This commit is contained in:
Jackson Dou 2023-06-24 23:13:01 +08:00
parent 723bb93b9a
commit 609f629c52
15 changed files with 38 additions and 27 deletions

View file

@ -4,7 +4,7 @@ require_once __DIR__ . '/application.php';
$action = get('action', 'view');
if (!in_array($action, array('edit', 'view'))) {
if (!in_array($action, array('edit', 'view', 'password'))) {
$action = 'view';
}

View file

@ -66,7 +66,9 @@
</table>
</div>
<div class="panel-footer">
<a href="clients.php?action=login&client_id=<?php echo $ClientInfo['client_id'] ?>" target="_blank" class="btn btn-primary btn-sm">Login as <?php echo $ClientInfo['client_fname'] ?></a>
<a href="clients.php?action=login&client_id=<?php echo $ClientInfo['client_id'] ?>" target="_blank" class="btn btn-primary btn-sm">
<i class="fa fa-sign-in-alt"></i> Login as <?php echo $ClientInfo['client_fname'] ?>
</a>
<?php if ($ClientInfo['client_status'] !== '1'): ?>
<a href="controllers/clients/activate.php?client_id=<?php echo $ClientInfo['client_id']; ?>" class="btn btn-success btn-sm">Mark as Active</a>
<?php else: ?>

View file

@ -45,10 +45,12 @@
<a href="<?php echo setURL('admin/clients', '', array('action' => 'edit', 'id' => $value['client_id'])); ?>" class="btn btn-success btn-xs">
<i class="fa fa-edit"></i> <?php echo $lang->I18N('edit'); ?>
</a>
<a href="clients.php?action=login&id=<?php echo $value['client_id'] ?>" target="_blank" class="btn btn-info btn-xs">
<i class="fa fa-sign-in-alt"></i> <?php echo $lang->I18N('login'); ?>
</a>
<a href="<?php echo setURL('admin/clients', '', array('action' => 'details', 'id' => $value['client_id'])); ?>" class="btn btn-primary btn-xs">
<i class="fa fa-info-circle"></i> <?php echo $lang->I18N('details'); ?>
</a>
<a href="clients.php?action=login&id=<?php echo $value['client_id'] ?>" target="_blank" class="btn btn-primary btn-xs"><?php echo $lang->I18N('login'); ?></a>
</td>
</tr>
<?php endforeach;?>

View file

@ -103,10 +103,10 @@
<div class="panel panel-danger">
<div class="list-group">
<div class="list-group-item">
<span class="fa fa-paper-plane fa-fw"></span> <b>快捷操作:</b>
<a href="settings.php" class="btn btn-danger">Settings</a>&nbsp;&nbsp;
<a href="javascript:cleanRecord(1)" class="btn btn-sm btn-danger">删除1天前的记录</a>&nbsp;&nbsp;
<a href="javascript:cleanRecord(30)" class="btn btn-sm btn-danger">删除30天前的发送记录</a>&nbsp;&nbsp;
<span class="fa fa-paper-plane fa-fw"></span> <b><?php echo $lang->I18N('Quick Link'); ?></b>&nbsp;
<a href="settings.php" class="btn btn-danger btn-xs">Settings</a>&nbsp;&nbsp;
<a href="javascript:cleanRecord(1)" class="btn btn-xs btn-danger">删除1天前的记录</a>&nbsp;&nbsp;
<a href="javascript:cleanRecord(30)" class="btn btn-xs btn-danger">删除30天前的发送记录</a>&nbsp;&nbsp;
</div>
</div>
</div>
@ -150,7 +150,7 @@
<li class="list-group-item">当前版本V<?php echo APP_VERSION; ?> (Build <?php echo APP_BUILD; ?>, DB <?php echo DB_VERSION; ?></li>
<li class="list-group-item">官网网站:<a href="https://uiisc.org/" target="_blank">https://uiisc.org</a></li>
<li class="list-group-item">Github<a href="https://github.com/uiisc/uiisc/" target="_blank">https://github.com/uiisc/uiisc</a></li>
<li class="list-group-item"><span class="fa fa-copyright fa-fw"></span> Powered by <a href="https://crogram.com/" target="_blank" rel="noopener noreferrer">CROGRAM</a></li>
<li class="list-group-item"><span class="fa fa-copyright fa-fw"></span> Powered by <a href="https://uiisc.org/" target="_blank">UIISC</a></li>
</ul>
<ul class="list-group text-dark" id="checkupdate"></ul>
</div>

View file

@ -5,7 +5,7 @@
<ul class="navbar-left list-inline text-center text-muted credit">
<li>
<span class="co">&copy;&nbsp;2013-<?php echo date("Y"); ?>&nbsp;<a href="<?php echo $site_url; ?>" target="_blank"><?php echo $SiteConfig['site_brand']; ?></a>&nbsp;</span>
<span class="co">&nbsp;Powered by <a href="https://crogram.org" target="_blank">Crogram</a>&nbsp;</span>
<span class="co">&nbsp;Powered by <a href="https://uiisc.org" target="_blank">UIISC</a>&nbsp;</span>
<span class="co hidden-xs">&nbsp;Partnered with <a href="https://ifastnet.com/" name="jump-ifastnet" target="_blank">iFastNet</a>&nbsp;</span>
<span class="hidden-xs">time: <?php echo get_execution_time();?>s</span>
</li>

View file

@ -5,7 +5,7 @@
<ul class="navbar-left list-inline text-center text-muted credit">
<li>
<span class="co">&copy;&nbsp;2013-<?php echo date("Y"); ?>&nbsp;<a href="<?php echo $site_url; ?>" target="_blank"><?php echo $SiteConfig['site_brand']; ?></a>&nbsp;</span>
<span class="co">&nbsp;Powered by <a href="https://crogram.org" target="_blank">Crogram</a>&nbsp;</span>
<span class="co">&nbsp;Powered by <a href="https://uiisc.org" target="_blank">UIISC</a>&nbsp;</span>
</li>
</ul>
<ul class="legal navbar-right list-inline text-center">

View file

@ -14,14 +14,14 @@
</div>
<div class="form-group">
<input type="checkbox" name="remember" value="1" id="remember-my-information">
<label for="remember-my-information"><?php echo $lang->I18N('Remember me'); ?></label>
<label for="remember-my-information"><?php echo $lang->I18N('Remember Me'); ?></label>
</div>
<div class="mb-10 d-grid">
<button class="btn btn-primary btn-block" name="login"><?php echo $lang->I18N('login'); ?></button>
</div>
</form>
<div class="nav-links">
<a href="forgetpassword.php"><?php echo $lang->I18N('password_lost'); ?></a>
<a href="forgetpassword.php"><?php echo $lang->I18N('Forgot Password ?'); ?></a>
</div>
</div>
</div>

View file

@ -54,6 +54,7 @@
</li>
<li role="separator" class="divider"></li>
<li><a href="profile.php"><i class="fa fa-user-alt fa-fw"></i> <?php echo $lang->I18N('Profile'); ?></a></li>
<li><a href="profile.php?action=password"><i class="fa fa-user-shield fa-fw"></i> <?php echo $lang->I18N('Change Password'); ?></a></li>
<li role="separator" class="divider"></li>
<li><a href="<?php echo $site_url; ?>" target="_blank"><i class="fa fa-external-link-alt fa-fw"></i> <?php echo $lang->I18N('home'); ?></a></li>
<li><a href="<?php echo $site_url; ?>/clientarea/" target="_blank"><i class="fa fa-house-user fa-fw"></i> <?php echo $lang->I18N('Client Area'); ?></a></li>

View file

@ -16,7 +16,7 @@
<div class="form-group">
<div class="custom-switch">
<input type="checkbox" name="remember" value="1" id="remember-my-information">
<label for="remember-my-information"><?php echo $lang->I18N('Remember me'); ?></label>
<label for="remember-my-information"><?php echo $lang->I18N('Remember Me'); ?></label>
</div>
</div>
<div class="mb-10 d-grid">
@ -24,7 +24,7 @@
</div>
</form>
<div class="nav-links">
<a href="signup.php"><?php echo $lang->I18N('register'); ?></a> or <a href="forgetpassword.php"><?php echo $lang->I18N('password_lost'); ?></a>
<a href="signup.php"><?php echo $lang->I18N('register'); ?></a> or <a href="forgetpassword.php"><?php echo $lang->I18N('Forgot Password ?'); ?></a>
</div>
</div>
</div>

View file

@ -13,7 +13,7 @@ return array(
'input_username' => 'Please Input Username',
'password' => 'Password',
'input_password' => 'Please Input Password',
'password_lost' => 'Lost your password?',
'Forgot Password ?' => 'Forgot Password ?',
'password_reset' => 'Reset Password',
'email' => 'Email',
'input_email' => 'Please Input Email Address',
@ -38,7 +38,7 @@ return array(
'cancellation_refund' => 'Cancellation & Refund',
'payment_methods' => 'Payment Methods & Information',
'signup_free_hosting' => 'Sign Up For Free Hosting',
'Remember me' => 'Remember me',
'Remember Me' => 'Remember Me',
'please_login' => 'Please sign in',
'address' => 'Address',
'host-plan' => 'Host Plan',

View file

@ -13,7 +13,7 @@ return array(
'input_username' => '사용자 이름을 입력하십시오.',
'password' => '암호',
'input_password' => '암호를 입력하십시오',
'password_lost' => 'Lost your password?',
'Forgot Password ?' => '암호를 잊었습니다 ?',
'password_reset' => '암호를 재설정',
'email' => '이메일',
'input_email' => '이메일 주소를 입력 해주세요',
@ -38,7 +38,7 @@ return array(
'cancellation_refund' => 'Cancellation & Refund',
'payment_methods' => 'Payment Methods & Information',
'signup_free_hosting' => 'Sign Up For Free Hosting',
'Remember me' => 'Remember me',
'Remember Me' => 'Remember Me',
'please_login' => '로그인 해주세요',
'address' => 'Address',
'host-plan' => 'Host Plan',

View file

@ -21,10 +21,15 @@ return array(
"input_username" => "请输入用户名",
"password" => "密码",
'Password' => "密码",
'Change Password' => "修改密码",
'Confirm Password' => "确认密码",
'Input Confirm Password' => "请输入确认密码",
'New Password' => "新密码",
'Old Password' => "旧密码",
'Input New Password' => "请输入新的密码",
'Input Confirm Password' => "请再次输入新密码",
'Input Old Password' => "请输入当前密码",
"input_password" => "请输入密码",
"password_lost" => "忘记密码了?",
'Forgot Password ?' => "忘记密码了 ",
"password_reset" => "重置密码",
"email" => "电子邮箱",
"input_email" => "请输入电子邮箱地址",
@ -49,7 +54,7 @@ return array(
"cancellation_refund" => "取消与退款",
"payment_methods" => "支付方式",
"signup_free_hosting" => "注册免费空间",
"Remember me" => "记住我",
"Remember Me" => "记住我",
"please_login" => "请登录",
"address" => "地址",
"host-plan" => "主机方案",
@ -84,6 +89,7 @@ return array(
'close' => '关闭',
'open' => '打开',
'Dashboard' => '仪表盘',
'Quick Link' => '快捷访问',
'managearea' => '管理中心',
'delete' => '删除',
'Deleted' => '已删除',
@ -144,7 +150,7 @@ return array(
'iFastNet Affiliate ID' => 'iFastNet 推广编号',
'Technical Support' => '技术支持',
'Main Menu' => '菜单',
'Logged in as' => '当前登陆账号',
'Logged in as' => '当前账号',
'Validate Account' => '验证帐户',
'Validate' => '验证',
'Validation Code' => '验证码',

View file

@ -15,7 +15,7 @@ return array(
'input_username' => '請輸入用戶名',
'password' => '密碼',
'input_password' => '請輸入密碼',
'password_lost' => '忘記密碼了?',
'Forgot Password ?' => '忘記密碼了?',
'password_reset' => '重置密碼',
'email' => '電子郵箱地址',
'input_email' => '請輸入電子郵箱地址',
@ -40,7 +40,7 @@ return array(
'cancellation_refund' => '取消與退款',
'payment_methods' => '支付方式',
'signup_free_hosting' => '註冊免費空間',
'Remember me' => '記住我',
'Remember Me' => '記住我',
'please_login' => '請登錄',
'address' => '地址',
'host-plan' => '主機方案',

View file

@ -10,7 +10,7 @@ if (!defined('IN_CRONLITE')) {
<ul class="navbar-left list-inline text-center text-muted credit">
<li>
<span class="co">&copy;&nbsp;2013 - <?php echo date("Y"); ?>&nbsp;<a href="<?php echo setRouter('index');?>"><?php echo $SiteConfig['site_brand']; ?></a>&nbsp;</span>
<span class="co">&nbsp;Powered by <a href="https://crogram.org" target="_blank">Crogram</a>&nbsp;</span>
<span class="co">&nbsp;Powered by <a href="https://uiisc.org" target="_blank">UIISC</a>&nbsp;</span>
<span class="co">&nbsp;Partnered with <a href="https://ifastnet.com/" name="jump-ifastnet" target="_blank">iFastNet</a>&nbsp;</span>
<span>time: <?php echo get_execution_time();?>s</span>
</li>

View file

@ -28,8 +28,8 @@ if (!defined('IN_CRONLITE')) {
<div class="form-group">
<div class="checkbox">
<label>
<input type="checkbox" value="remember-me"><span><?php echo $lang->I18N('Remember me'); ?></span>
<a href="//cpanel.<?php echo $site_domain; ?>/lostpassword.php"><?php echo $lang->I18N('password_lost'); ?></a>
<input type="checkbox" value="remember-me"><span><?php echo $lang->I18N('Remember Me'); ?></span>
<a href="//cpanel.<?php echo $site_domain; ?>/lostpassword.php"><?php echo $lang->I18N('Forgot Password ?'); ?></a>
</label>
</div>
</div>