<?php
print_r("Hello World");
?>
#!/usr/bin/env perl
print "Hello, world!\n";
require.config({
baseUrl: baseUrl+ "/js/",
path:{
'jquery' :'jquery-1.11.2.min',
},
shim: {
'jquery-1.11.2.min':{
exports: '$'
},
'underscore':{
exports: '_'
},
'backbone': {
deps: ['underscore'],
exports: 'Backbone'
}
}
});
require.config({
baseUrl: baseUrl+ "/js/",
path:{
'jquery' :'jquery-1.11.2.min',
},
shim: {
'jquery-1.11.2.min':{
exports: '$'
},
'underscore':{
exports: '_'
},
'backbone': {
deps: ['underscore'],
exports: 'Backbone'
}
}
});
textdomain( "gggolife" );
pgettext("gggolife", "Sign up");
pgettext("gggolife", "About");
pgettext("gggolife", "Privacy");
pgettext("gggolife", "Terms");
pgettext("gggolife", "Feedback");
pgettext("gggolife", "Copyright");
pgettext("gggolife", "GOYOURLIFE INC.");
pgettext("gggolife", "Sign in GoLife Account");
pgettext("gggolife", "Log in GoLife");
pgettext("gggolife", "Email");
pgettext("gggolife", "Password");
pgettext("gggolife", "Login");
pgettext("gggolife", "Login with Facebook");
pgettext("gggolife", "Login with QQ");
pgettext("gggolife", "Login with Weibo");
pgettext("gggolife", "Login with WeChat");
pgettext("gggolife", "Login with social network accounts");
pgettext("gggolife", " is now using GoLife");
pgettext("gggolife", "Stay healthy for those you love");
pgettext("gggolife", "GOLiFE - Smart wearables, healthy life");
pgettext("gggolife", "Keep me logged in");
pgettext("gggolife", "Forget Password?");
pgettext("gggolife", "Invalid account or password");
pgettext("gggolife", "Login with Facebook last time?");
pgettext("gggolife", "You attempt to login several times; Forget password?");
msgid ""
msgstr ""
"Project-Id-Version: anyway2fun\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-12-24 17:04+0800\n"
"PO-Revision-Date: 2014-12-24 17:04+0800\n"
"Last-Translator: \n"
"Language-Team: dev@anyway2fun.com\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: _;gettext;gettext_noop\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SourceCharset: iso-8859-1\n"
"X-Poedit-Bookmarks: 0,-1,-1,-1,-1,-1,-1,-1,-1,-1\n"
"X-Generator: Poedit 1.6.7\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../SourceMessages.c:2
msgctxt "gggolife"
msgid "Sign up"
msgstr "注册"
#: ../SourceMessages.c:3
msgctxt "gggolife"
msgid "About"
msgstr "关于 GOLiFE"
...
...
...
...
#: ../SourceMessages.c:66
msgctxt "gggolife"
msgid ""
"Verification succeeds.
You are ready to use all GOLiFE services now! "
"Enjoy and have fun.
The page will be redirected after 3 seconds."
msgstr ""
"认证成功。
你现在可以使用所有 GOLiFE 服务,快开始吧!
此页面"
"在 3 秒后会自动转址。"
msgid ""
msgstr ""
"Project-Id-Version: anyway2fun\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-12-24 17:04+0800\n"
"PO-Revision-Date: 2014-12-24 17:04+0800\n"
"Last-Translator: \n"
"Language-Team: dev@anyway2fun.com\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: _;gettext;gettext_noop\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SourceCharset: iso-8859-1\n"
"X-Poedit-Bookmarks: 0,-1,-1,-1,-1,-1,-1,-1,-1,-1\n"
"X-Generator: Poedit 1.6.7\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../SourceMessages.c:2
msgctxt "gggolife"
msgid "Sign up"
msgstr "注册"
#: ../SourceMessages.c:3
msgctxt "gggolife"
msgid "About"
msgstr "关于 GOLiFE"
...
...
...
...
#: ../SourceMessages.c:66
msgctxt "gggolife"
msgid ""
"Verification succeeds.
You are ready to use all GOLiFE services now! "
"Enjoy and have fun.
The page will be redirected after 3 seconds."
msgstr ""
"认证成功。
你现在可以使用所有 GOLiFE 服务,快开始吧!
此页面"
"在 3 秒后会自动转址。"
msgid ""
msgstr "Project-Id-Version: anyway2fun\nReport-Msgid-Bugs-To: \nPOT-Creation-Date: 2014-12-24 17:04+0800\nPO-Revision-Date: 2014-12-24 17:04+0800\nLast-Translator: \nLanguage-Team: dev@anyway2fun.com\nLanguage: zh_CN\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nX-Poedit-KeywordsList: _;gettext;gettext_noop\nX-Poedit-Basepath: .\nX-Poedit-SourceCharset: iso-8859-1\nX-Poedit-Bookmarks: 0,-1,-1,-1,-1,-1,-1,-1,-1,-1\nX-Generator: Poedit 1.6.7\nX-Poedit-SearchPath-0: ..\n"
#: ../SourceMessages.c:2
msgctxt "gggolife"
msgid "Sign up"
msgstr "注册"
#: ../SourceMessages.c:3
msgctxt "gggolife"
msgid "About"
msgstr "关于 GOLiFE"
...
...
...
...
#: ../SourceMessages.c:66
msgctxt "gggolife"
msgid "Verification succeeds.
You are ready to use all GOLiFE services now! Enjoy and have fun.
The page will be redirected after 3 seconds."
msgstr "认证成功。
你现在可以使用所有 GOLiFE 服务,快开始吧!
此页面在 3 秒后会自动转址。"
msgid ""
msgstr "Project-Id-Version: anyway2fun\nReport-Msgid-Bugs-To: \nPOT-Creation-Date: 2014-12-24 17:04+0800\nPO-Revision-Date: 2014-12-24 17:04+0800\nLast-Translator: \nLanguage-Team: dev@anyway2fun.com\nLanguage: zh_CN\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nX-Poedit-KeywordsList: _;gettext;gettext_noop\nX-Poedit-Basepath: .\nX-Poedit-SourceCharset: iso-8859-1\nX-Poedit-Bookmarks: 0,-1,-1,-1,-1,-1,-1,-1,-1,-1\nX-Generator: Poedit 1.6.7\nX-Poedit-SearchPath-0: ..\n"
#: ../SourceMessages.c:2
msgctxt "gggolife"
msgid "Sign up"
msgstr "注册"
#: ../SourceMessages.c:3
msgctxt "gggolife"
msgid "About"
msgstr "关于 GOLiFE"
...
...
...
...
#: ../SourceMessages.c:66
msgctxt "gggolife"
msgid "Verification succeeds.
You are ready to use all GOLiFE services now! Enjoy and have fun.
The page will be redirected after 3 seconds."
msgstr "认证成功。
你现在可以使用所有 GOLiFE 服务,快开始吧!
此页面在 3 秒后会自动转址。"
msgid ""
msgstr "Project-Id-Version: anyway2fun\nReport-Msgid-Bugs-To: \nPOT-Creation-Date: 2014-12-24 17:04+0800\nPO-Revision-Date: 2014-12-24 17:04+0800\nLast-Translator: \nLanguage-Team: dev@anyway2fun.com\nLanguage: zh_CN\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nX-Poedit-KeywordsList: _;gettext;gettext_noop\nX-Poedit-Basepath: .\nX-Poedit-SourceCharset: iso-8859-1\nX-Poedit-Bookmarks: 0,-1,-1,-1,-1,-1,-1,-1,-1,-1\nX-Generator: Poedit 1.6.7\nX-Poedit-SearchPath-0: ..\n"
#: ../SourceMessages.c:2
msgctxt "gggolife"
msgid "Sign up"
msgstr "注册"
#: ../SourceMessages.c:3
msgctxt "gggolife"
msgid "About"
msgstr "关于 GOLiFE"
...
...
...
...
#: ../SourceMessages.c:66
msgctxt "gggolife"
msgid "Verification succeeds.
You are ready to use all GOLiFE services now! Enjoy and have fun.
The page will be redirected after 3 seconds."
msgstr "认证成功。
你现在可以使用所有 GOLiFE 服务,快开始吧!
此页面在 3 秒后会自动转址。"
// default locale 'root': this is for en_us
define({
'root': {
'profileNameLengthError': 'Please set your name between ' + GOOSE_MIN_LEN_FULLNAME + ' and ' + GOOSE_MAX_LEN_FULLNAME + ' in length of characters',
'profileTagLengthError': 'Please set your tag information between ' + PROFILE_MIN_LEN_TAG + ' and ' + PROFILE_MAX_LEN_TAG + ' in length of characters',
'profileAddrLengthError': 'Please set your address between ' + PROFILE_MIN_LEN_ADDRESS + ' and ' + PROFILE_MAX_LEN_ADDRESS + ' in length of characters',
'profileSaveSuccess': 'Profile saved.',
'profileSaveError': 'Failed to save. Please try again.',
'passwordLengthError': 'Please set your new password between ' + GOOSE_MIN_LEN_PASSWORD + ' and ' + GOOSE_MAX_LEN_PASSWORD + ' in length of characters',
'passwordConfirmError': 'Your new password is different',
'passwordUnauthorizedError': 'Your old password is wrong',
'passwordSaveSuccess': 'Password updated',
'resendVerificationMailDone': function (email) {
return 'Verification email has been sent to '+ email +'. If you request to resend several times, please make sure that you get the latest one and click the link in it.'
},
'unknownError': 'Unknown error, please try again',
'settingsSaved': 'Settings saved',
'confirm': 'Confirm',
'addFriend': 'Add as friend',
'removeFriend': 'Remove friend',
'ignoreFriend': 'Reject',
'friendshipWaitingForSubject': 'Invitation sent',
'loginRequired': 'Please log in',
'addFriendLoginRequired': 'Please log in before adding friend.',
'Login': 'Login',
'uploadYourProfilePicture': 'Upload Your Profile Picture',
'selectYourOwnProfilePicture': 'Select your own profile picture',
'upload': 'Upload',
'save': 'Save',
'back': 'Back',
'avatarSupportFileType': 'Avatar only support the file type of jpg, png and gif'
},
'zh-tw': true,
'zh-cn': true,
'ja-jp': true,
});
define({
'profileNameLengthError': '全名欄位必須介於 ' + GOOSE_MIN_LEN_FULLNAME + ' 到 ' + GOOSE_MAX_LEN_FULLNAME + ' 字元之間',
'profileTagLengthError': '標籤欄位必須介於 ' + PROFILE_MIN_LEN_TAG + ' 到 ' + PROFILE_MAX_LEN_TAG + ' 字元之間',
'profileAddrLengthError': '地址欄位必須介於 ' + PROFILE_MIN_LEN_ADDRESS + ' 到 ' + PROFILE_MAX_LEN_ADDRESS + ' 字元之間',
'profileSaveSuccess': '個人資料儲存成功',
'profileSaveError': '儲存失敗,請再試一次',
'passwordLengthError': '密碼必須介於 ' + GOOSE_MIN_LEN_PASSWORD + ' 到 ' + GOOSE_MAX_LEN_PASSWORD + ' 字元之間',
'passwordConfirmError': '請確認輸入的新密碼正確',
'passwordUnauthorizedError': '舊密碼錯誤,請輸入正確的密碼',
'passwordSaveSuccess': '密碼更新完成',
'resendVerificationMailDone': function (email) {
return '認證信已發送至 '+ email +'。如果你重發認證信好幾次,請確定自己已經收到最新一封並點擊其中的連結。'
},
'unknownError': '未知錯誤,請再試一次',
'settingsSaved': '設定儲存成功',
'confirm': '確認',
'addFriend': '加為好友',
'removeFriend': '移除好友',
'ignoreFriend': '拒絕',
'friendshipWaitingForSubject': '交友邀請已送出',
'loginRequired': '請登入系統',
'addFriendLoginRequired': '要加好友請先登入',
'Login': '登入',
'uploadYourProfilePicture': '更新你的大頭貼',
'selectYourOwnProfilePicture': '選擇你的大頭貼檔案',
'upload': '上傳',
'save': '儲存',
'back': '上一步',
'avatarSupportFileType': '頭像只支援 jpg, png 和 gif 的格式'
});
define({
'profileNameLengthError': '全名欄位必須介於 ' + GOOSE_MIN_LEN_FULLNAME + ' 到 ' + GOOSE_MAX_LEN_FULLNAME + ' 字元之間',
'profileTagLengthError': '標籤欄位必須介於 ' + PROFILE_MIN_LEN_TAG + ' 到 ' + PROFILE_MAX_LEN_TAG + ' 字元之間',
'profileAddrLengthError': '地址欄位必須介於 ' + PROFILE_MIN_LEN_ADDRESS + ' 到 ' + PROFILE_MAX_LEN_ADDRESS + ' 字元之間',
'profileSaveSuccess': '個人資料儲存成功',
'profileSaveError': '儲存失敗,請再試一次',
'passwordLengthError': '密碼必須介於 ' + GOOSE_MIN_LEN_PASSWORD + ' 到 ' + GOOSE_MAX_LEN_PASSWORD + ' 字元之間',
'passwordConfirmError': '請確認輸入的新密碼正確',
'passwordUnauthorizedError': '舊密碼錯誤,請輸入正確的密碼',
'passwordSaveSuccess': '密碼更新完成',
'resendVerificationMailDone': function (email) {
return '認證信已發送至 '+ email +'。如果你重發認證信好幾次,請確定自己已經收到最新一封並點擊其中的連結。'
},
'unknownError': '未知錯誤,請再試一次',
'settingsSaved': '設定儲存成功',
'confirm': '確認',
'addFriend': '加為好友',
'removeFriend': '移除好友',
'ignoreFriend': '拒絕',
'friendshipWaitingForSubject': '交友邀請已送出',
'loginRequired': '請登入系統',
'addFriendLoginRequired': '要加好友請先登入',
'Login': '登入',
'uploadYourProfilePicture': '更新你的大頭貼',
'selectYourOwnProfilePicture': '選擇你的大頭貼檔案',
'upload': '上傳',
'save': '儲存',
'back': '上一步',
'avatarSupportFileType': '頭像只支援 jpg, png 和 gif 的格式'
});
define({
'profileNameLengthError': '全名欄位必須介於 ' + GOOSE_MIN_LEN_FULLNAME + ' 到 ' + GOOSE_MAX_LEN_FULLNAME + ' 字元之間',
'profileTagLengthError': '標籤欄位必須介於 ' + PROFILE_MIN_LEN_TAG + ' 到 ' + PROFILE_MAX_LEN_TAG + ' 字元之間',
'profileAddrLengthError': '地址欄位必須介於 ' + PROFILE_MIN_LEN_ADDRESS + ' 到 ' + PROFILE_MAX_LEN_ADDRESS + ' 字元之間',
'profileSaveSuccess': '個人資料儲存成功',
'profileSaveError': '儲存失敗,請再試一次',
'passwordLengthError': '密碼必須介於 ' + GOOSE_MIN_LEN_PASSWORD + ' 到 ' + GOOSE_MAX_LEN_PASSWORD + ' 字元之間',
'passwordConfirmError': '請確認輸入的新密碼正確',
'passwordUnauthorizedError': '舊密碼錯誤,請輸入正確的密碼',
'passwordSaveSuccess': '密碼更新完成',
'resendVerificationMailDone': function (email) {return '認證信已發送至 '+ email +'。如果你重發認證信好幾次,請確定自己已經收到最新一封並點擊其中的連結。'},
'unknownError': '未知錯誤,請再試一次',
'settingsSaved': '設定儲存成功',
'confirm': '確認',
'addFriend': '加為好友',
'removeFriend': '移除好友',
'ignoreFriend': '拒絕',
'friendshipWaitingForSubject': '交友邀請已送出',
'loginRequired': '請登入系統',
'addFriendLoginRequired': '要加好友請先登入',
'Login': '登入',
'uploadYourProfilePicture': '更新你的大頭貼',
'selectYourOwnProfilePicture': '選擇你的大頭貼檔案',
'upload': '上傳',
'save': '儲存',
'back': '上一步',
'avatarSupportFileType': '頭像只支援 jpg, png 和 gif 的格式'
});
public function accessRules(){
return array(
array('allow', // allow all users to perform 'index' and 'view' actions
'actions'=>array('Index','Export','ExportToFile','GetClassify','Import','ParserFile','CheckStingInfo','ImportStingInfo'),
'roles'=>array( Yii::app()->params["Role"]['admin'],
Yii::app()->params["Role"]['staff'] ),
),
array('allow', // allow all users to perform 'index' and 'view' actions
'actions'=>array('Error',),
'users'=>array('*'),
),
array('deny', // deny all users
'users'=>array('*'),
),
);
}