First commit
This commit is contained in:
17
uc_server/view/default/admin.lang.php
Normal file
17
uc_server/view/default/admin.lang.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
$lang = array(
|
||||
'user_search' => '搜索用户',
|
||||
'user_name' => '用户名',
|
||||
'user_regdate' => '注册日期',
|
||||
'user_regip' => '注册IP',
|
||||
'user_before' => '之前',
|
||||
'user_after' => '之后',
|
||||
'user_search' => '搜 索',
|
||||
'user_add' => '添加用户',
|
||||
'user_password' => '密码',
|
||||
'user_addsubmit' => '添 加',
|
||||
'delete' => '删除',
|
||||
'email' => 'Email',
|
||||
'user_list' => '用户列表',
|
||||
);
|
229
uc_server/view/default/admin_admin.htm
Normal file
229
uc_server/view/default/admin_admin.htm
Normal file
@@ -0,0 +1,229 @@
|
||||
{template header}
|
||||
|
||||
<!--{if $a == 'ls'}-->
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
<script src="js/calendar.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
function switchbtn(btn) {
|
||||
$('addadmindiv').className = btn == 'addadmin' ? 'tabcontentcur' : '' ;
|
||||
$('editpwdiv').className = btn == 'addadmin' ? '' : 'tabcontentcur';
|
||||
|
||||
$('addadmin').className = btn == 'addadmin' ? 'tabcurrent' : '';
|
||||
$('editpw').className = btn == 'addadmin' ? '' : 'tabcurrent';
|
||||
|
||||
$('addadmindiv').style.display = btn == 'addadmin' ? '' : 'none';
|
||||
$('editpwdiv').style.display = btn == 'addadmin' ? 'none' : '';
|
||||
}
|
||||
function chkeditpw(theform) {
|
||||
if(theform.oldpw.value == '') {
|
||||
alert('{lang admin_pw_oldpw}');
|
||||
theform.oldpw.focus();
|
||||
return false;
|
||||
}
|
||||
if(theform.newpw.value == '') {
|
||||
alert('{lang admin_pw_newpw}');
|
||||
theform.newpw.focus();
|
||||
return false;
|
||||
}
|
||||
if(theform.newpw2.value == '') {
|
||||
alert('{lang admin_pw_newpw2}');
|
||||
theform.newpw2.focus();
|
||||
return false;
|
||||
}
|
||||
if(theform.newpw.value != theform.newpw2.value) {
|
||||
alert('{lang admin_pw_incorrect}');
|
||||
theform.newpw2.focus();
|
||||
return false;
|
||||
}
|
||||
if(theform.newpw.value.length < 6 && !confirm('{lang admin_pw_too_short}')) {
|
||||
theform.newpw.focus();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="container">
|
||||
<!--{if $status}-->
|
||||
<div class="{if $status > 0}correctmsg{else}errormsg{/if}">
|
||||
<p>
|
||||
{if $status == 1} {lang admin_add_succeed}
|
||||
{elseif $status == -1} {lang admin_add_succeed}
|
||||
{elseif $status == -2} {lang admin_failed}
|
||||
{elseif $status == -3}{lang admin_user_nonexistance}
|
||||
{elseif $status == -4} {lang admin_config_unwritable}
|
||||
{elseif $status == -5} {lang admin_founder_pw_incorrect}
|
||||
{elseif $status == -6} {lang admin_pw_incorrect}
|
||||
{elseif $status == 2} {lang admin_founder_pw_modified}
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<div class="hastabmenu" style="height:218px;">
|
||||
<ul class="tabmenu">
|
||||
<li id="addadmin" class="tabcurrent"><a href="#" onclick="switchbtn('addadmin');">{lang admin_add_admin}</a></li>
|
||||
<!--{if $user['isfounder']}--><li id="editpw"><a href="#" onclick="switchbtn('editpw');">{lang admin_modify_founder_pw}</a></li><!--{/if}-->
|
||||
</ul>
|
||||
<div id="addadmindiv" class="tabcontentcur">
|
||||
<form action="{UC_ADMINSCRIPT}?m=admin&a=ls" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="dbtb">
|
||||
<tr>
|
||||
<td class="tbtitle">{lang user_name}:</td>
|
||||
<td><input type="text" name="addname" class="txt" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" class="tbtitle">{lang admin_privilege}:</td>
|
||||
<td>
|
||||
<ul class="dblist">
|
||||
<li><input type="checkbox" name="allowadminsetting" value="1" class="checkbox" checked="checked" />{lang admin_allow_setting}</li>
|
||||
<li><input type="checkbox" name="allowadminapp" value="1" class="checkbox" />{lang admin_allow_app}</li>
|
||||
<li><input type="checkbox" name="allowadminuser" value="1" class="checkbox" />{lang admin_allow_user}</li>
|
||||
<li><input type="checkbox" name="allowadminbadword" value="1" class="checkbox" checked="checked" />{lang admin_allow_badwords}</li>
|
||||
<li><input type="checkbox" name="allowadmintag" value="1" class="checkbox" checked="checked" />{lang admin_allow_tag}</li>
|
||||
<li><input type="checkbox" name="allowadminpm" value="1" class="checkbox" checked="checked" />{lang admin_allow_pm}</li>
|
||||
<li><input type="checkbox" name="allowadmincredits" value="1" class="checkbox" checked="checked" />{lang admin_allow_credits}</li>
|
||||
<li><input type="checkbox" name="allowadmindomain" value="1" class="checkbox" checked="checked" />{lang admin_allow_hosts}</li>
|
||||
<li><input type="checkbox" name="allowadmindb" value="1" class="checkbox" />{lang admin_allow_database}</li>
|
||||
<li><input type="checkbox" name="allowadminnote" value="1" class="checkbox" checked="checked" />{lang admin_allow_note}</li>
|
||||
<li><input type="checkbox" name="allowadmincache" value="1" class="checkbox" checked="checked" />{lang admin_allow_cache}</li>
|
||||
<li><input type="checkbox" name="allowadminlog" value="1" class="checkbox" checked="checked" />{lang admin_allow_log}</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" name="addadmin" value="{lang submit}" class="btn" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<!--{if $user['isfounder']}-->
|
||||
<div id="editpwdiv" class="tabcontent" style="display:none;">
|
||||
<p class="i">{lang admin_editfoundertips}</p>
|
||||
<form action="{UC_ADMINSCRIPT}?m=admin&a=ls" onsubmit="return chkeditpw(this)" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="dbtb" style="height:123px;">
|
||||
<tr>
|
||||
<td class="tbtitle">{lang oldpw}:</td>
|
||||
<td><input type="password" name="oldpw" class="txt" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbtitle">{lang newpw}:</td>
|
||||
<td><input type="password" name="newpw" class="txt" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbtitle">{lang repeatpw}:</td>
|
||||
<td><input type="password" name="newpw2" class="txt" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbtitle">{lang reconfkey}:</td>
|
||||
<td><input type="checkbox" name="reconfkey" id="reconfkey" checked="checked" class="checkbox" /><label for="reconfkey">{lang reconfkey}</label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" name="editpwsubmit" value="{lang submit}" class="btn" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<h3>{lang admin_list}</h3>
|
||||
<div class="mainbox">
|
||||
<!--{if $userlist}-->
|
||||
<form action="{UC_ADMINSCRIPT}?m=admin&a=ls" onsubmit="return confirm('{lang confirm_delete}');" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="datalist fixwidth" onmouseover="addMouseEvent(this);">
|
||||
<tr>
|
||||
<th><input type="checkbox" name="chkall" id="chkall" onclick="checkall('delete[]')" value="1" class="checkbox" /><label for="chkall">{lang delete}</label></th>
|
||||
<th>{lang user_name}</th>
|
||||
<th>{lang email}</th>
|
||||
<th>{lang user_regdate}</th>
|
||||
<th>{lang user_regip}</th>
|
||||
<th>{lang profile}</th>
|
||||
<th>{lang privilege}</th>
|
||||
</tr>
|
||||
<!--{loop $userlist $user}-->
|
||||
<tr>
|
||||
<td class="option"><input type="checkbox" name="delete[]" value="$user[uid]" value="1" class="checkbox" /></td>
|
||||
<td class="username">$user[username]</td>
|
||||
<td>$user[email]</td>
|
||||
<td class="date">$user[regdate]</td>
|
||||
<td class="ip">$user[regip]</td>
|
||||
<td class="ip"><a href="{UC_ADMINSCRIPT}?m=user&a=edit&uid=$user[uid]&fromadmin=yes">{lang profile}</a></td>
|
||||
<td class="ip"><a href="{UC_ADMINSCRIPT}?m=admin&a=edit&uid=$user[uid]">{lang privilege}</a></td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
<td class="tdpage" colspan="4">$multipage</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--{else}-->
|
||||
<div class="note">
|
||||
<p class="i">{lang list_empty}</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
<!--{if !empty($_POST['editpwsubmit'])}-->
|
||||
<script type="text/javascript">
|
||||
switchbtn('editpw');
|
||||
</script>
|
||||
<!--{else}-->
|
||||
<script type="text/javascript">
|
||||
switchbtn('addadmin');
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{else}-->
|
||||
<div class="container">
|
||||
<h3 class="marginbot">{lang admin_edit_priv}<a href="{UC_ADMINSCRIPT}?m=admin&a=ls" class="sgbtn">{lang admin_return_admin_ls}</a></h3>
|
||||
<!--{if $status == 1}-->
|
||||
<div class="correctmsg"><p>{lang admin_priv_modified_successfully}</p></div>
|
||||
<!--{elseif $status == -1}-->
|
||||
<div class="correctmsg"><p>{lang admin_priv_modified_failed}</p></div>
|
||||
<!--{else}-->
|
||||
<div class="note">{lang admin_modification_notice}</div>
|
||||
<!--{/if}-->
|
||||
<div class="mainbox">
|
||||
<form action="{UC_ADMINSCRIPT}?m=admin&a=edit&uid=$uid" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="opt">
|
||||
<tr>
|
||||
<th>{lang admin_admin} $admin[username]:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<ul>
|
||||
<li><input type="checkbox" name="allowadminsetting" value="1" class="checkbox" {if $admin[allowadminsetting]} checked="checked" {/if}/>{lang admin_allow_setting}</li>
|
||||
<li><input type="checkbox" name="allowadminapp" value="1" class="checkbox" {if $admin[allowadminapp]} checked="checked" {/if}/>{lang admin_allow_app}</li>
|
||||
<li><input type="checkbox" name="allowadminuser" value="1" class="checkbox" {if $admin[allowadminuser]} checked="checked" {/if}/>{lang admin_allow_user}</li>
|
||||
<li><input type="checkbox" name="allowadminbadword" value="1" class="checkbox" {if $admin[allowadminbadword]} checked="checked" {/if}/>{lang admin_allow_badwords}</li>
|
||||
<li><input type="checkbox" name="allowadmintag" value="1" class="checkbox" {if $admin[allowadmintag]} checked="checked" {/if}/>{lang admin_allow_tag}</li>
|
||||
<li><input type="checkbox" name="allowadminpm" value="1" class="checkbox" {if $admin[allowadminpm]} checked="checked" {/if}/>{lang admin_allow_pm}</li>
|
||||
<li><input type="checkbox" name="allowadmincredits" value="1" class="checkbox" {if $admin[allowadmincredits]} checked="checked" {/if}/>{lang admin_allow_credits}</li>
|
||||
<li><input type="checkbox" name="allowadmindomain" value="1" class="checkbox" {if $admin[allowadmindomain]} checked="checked" {/if}/>{lang admin_allow_hosts}</li>
|
||||
<li><input type="checkbox" name="allowadmindb" value="1" class="checkbox" {if $admin[allowadmindb]} checked="checked" {/if}/>{lang admin_allow_database}</li>
|
||||
<li><input type="checkbox" name="allowadminnote" value="1" class="checkbox" {if $admin[allowadminnote]} checked="checked" {/if}/>{lang admin_allow_note}</li>
|
||||
<li><input type="checkbox" name="allowadmincache" value="1" class="checkbox" {if $admin[allowadmincache]} checked="checked" {/if}/>{lang admin_allow_cache}</li>
|
||||
<li><input type="checkbox" name="allowadminlog" value="1" class="checkbox" {if $admin[allowadminlog]} checked="checked" {/if}/>{lang admin_allow_log}</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="opt"><input type="submit" name="submit" value=" {lang submit} " class="btn" /></div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{/if}-->
|
||||
|
||||
{template footer}
|
519
uc_server/view/default/admin_app.htm
Normal file
519
uc_server/view/default/admin_app.htm
Normal file
@@ -0,0 +1,519 @@
|
||||
{template header}
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
var apps = new Array();
|
||||
var run = 0;
|
||||
function testlink() {
|
||||
if(apps[run]) {
|
||||
$('status_' + apps[run]).innerHTML = '{lang app_link}';
|
||||
$('link_' + apps[run]).src = $('link_' + apps[run]).getAttribute('testlink') + '&sid=$sid';
|
||||
}
|
||||
run++;
|
||||
}
|
||||
function generatekey() {
|
||||
var scriptNode = document.createElement('script');
|
||||
scriptNode.type = 'text/javascript';
|
||||
scriptNode.src = '{UC_ADMINSCRIPT}?m=app&a=generatekey&inajax=1&sid=$sid';
|
||||
document.getElementsByTagName('head')[0].appendChild(scriptNode);
|
||||
}
|
||||
window.onload = testlink;
|
||||
</script>
|
||||
<div class="container">
|
||||
<!--{if $a == 'ls'}-->
|
||||
<h3 class="marginbot">{lang app_list}<a href="{UC_ADMINSCRIPT}?m=app&a=add" class="sgbtn">{lang app_add}</a></h3>
|
||||
<!--{if !$status}-->
|
||||
<div class="note fixwidthdec">
|
||||
<p class="i">{lang app_list_tips}</p>
|
||||
</div>
|
||||
<!--{elseif $status == '2'}-->
|
||||
<div class="correctmsg"><p>{lang app_list_updated}</p></div>
|
||||
<!--{/if}-->
|
||||
<div class="mainbox">
|
||||
<!--{if $applist}-->
|
||||
<form action="{UC_ADMINSCRIPT}?m=app&a=ls" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="datalist fixwidth" onmouseover="addMouseEvent(this);">
|
||||
<tr>
|
||||
<th nowrap="nowrap"><input type="checkbox" name="chkall" id="chkall" onclick="checkall('delete[]')" class="checkbox" /><label for="chkall">{lang app_delete}</label></th>
|
||||
<th nowrap="nowrap">{lang app_id}</th>
|
||||
<th nowrap="nowrap">{lang app_name}</th>
|
||||
<th nowrap="nowrap">{lang app_url}</th>
|
||||
<th nowrap="nowrap">{lang app_linkstatus}</th>
|
||||
<th nowrap="nowrap">{lang app_detail}</th>
|
||||
</tr>
|
||||
<!--{eval $i = 0;}-->
|
||||
<!--{loop $applist $app}-->
|
||||
<tr>
|
||||
<td width="50"><input type="checkbox" name="delete[]" value="$app[appid]" class="checkbox" /></td>
|
||||
<td width="35">$app[appid]</td>
|
||||
<td><a href="{UC_ADMINSCRIPT}?m=app&a=detail&appid=$app[appid]"><strong>$app[name]</strong></a></td>
|
||||
<td><a href="$app[url]" target="_blank">$app[url]</a></td>
|
||||
<td width="90"><div id="status_$app[appid]"></div><script id="link_$app[appid]" testlink="{UC_ADMINSCRIPT}?m=app&a=ping&inajax=1&url={eval echo urlencode($app['url']);}&ip={eval echo urlencode($app['ip']);}&appid=$app[appid]&random={eval echo rand()}"></script><script>apps[$i] = '$app[appid]';</script></td>
|
||||
<td width="40"><a href="{UC_ADMINSCRIPT}?m=app&a=detail&appid=$app[appid]">{lang app_edit}</a></td>
|
||||
</tr>
|
||||
<!--{eval $i++}-->
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td colspan="9"><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="margintop"></div>
|
||||
</form>
|
||||
<!--{else}-->
|
||||
<div class="note">
|
||||
<p class="i">{lang list_empty}</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{elseif $a == 'add'}-->
|
||||
<h3 class="marginbot">{lang app_add}<a href="{UC_ADMINSCRIPT}?m=app&a=ls" class="sgbtn">{lang app_list_return}</a></h3>
|
||||
<div class="note"><p>{lang app_not_add_tips}</p></div>
|
||||
<div class="mainbox">
|
||||
<table class="opt">
|
||||
<tr>
|
||||
<th>{lang app_install_type}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" name="installtype" class="radio" checked="checked" onclick="$('url').style.display='none';$('custom').style.display='';" />{lang app_install_by_custom}
|
||||
<input type="radio" name="installtype" class="radio" onclick="$('url').style.display='';$('custom').style.display='none';" />{lang app_install_by_url}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="url" style="display:none;">
|
||||
<form method="post" action="" target="_blank" onsubmit="document.appform.action=document.appform.appurl.value;" name="appform">
|
||||
<table class="opt">
|
||||
<tr>
|
||||
<th>{lang app_install_url}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="appurl" size="50" value="http://domainname/install/index.php" style="width:300px;" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="opt">
|
||||
<input type="hidden" name="ucapi" value="{UC_API}" />
|
||||
<input type="hidden" name="ucfounderpw" value="$md5ucfounderpw" />
|
||||
<input type="submit" name="installsubmit" value="{lang app_install_submit}" class="btn" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div id="custom">
|
||||
<form action="{UC_ADMINSCRIPT}?m=app&a=add" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="opt">
|
||||
<tr>
|
||||
<th colspan="2">{lang app_type}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<select name="type">
|
||||
<!--{loop $typelist $typeid $typename}-->
|
||||
<option value="$typeid"> $typename </option>
|
||||
<!--{/loop}-->
|
||||
</select>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_name}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="name" value="" /></td>
|
||||
<td>{lang app_name_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_url}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="url" value="" /></td>
|
||||
<td>{lang app_url_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_ip}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="ip" value="" /></td>
|
||||
<td>{lang app_ip_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_key}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="authkey" value="" /></td>
|
||||
<td>{lang app_key_comment} <a href="#" onclick="generatekey();return false;" class="green">{lang app_key_generate}</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<th colspan="2">{lang app_path}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" class="txt" name="apppath" value="" />
|
||||
</td>
|
||||
<td>{lang app_path_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_viewpro_url}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" class="txt" name="viewprourl" value="" />
|
||||
</td>
|
||||
<td>{lang app_viewpro_url_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_api_filename}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" class="txt" name="apifilename" value="uc.php" />
|
||||
</td>
|
||||
<td>{lang app_api_filename_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_tagtemplates}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><textarea class="area" name="tagtemplates"></textarea></td>
|
||||
<td valign="top">{lang app_tagtemplates_comment}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th colspan="2">{lang app_tagfields}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><textarea class="area" name="tagfields">$tagtemplates[fields]</textarea></td>
|
||||
<td valign="top">{lang app_tagfields_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_login}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="synlogin_yes" name="synlogin" value="1" /><label for="synlogin_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="synlogin_no" name="synlogin" value="0" checked="checked" /><label for="synlogin_no">{lang no}</label>
|
||||
</td>
|
||||
<td>{lang app_login_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_recvnote}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="recvnote_yes" name="recvnote" value="1"/><label for="recvnote_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="recvnote_no" name="recvnote" value="0" checked="checked" /><label for="recvnote_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="opt"><input type="submit" name="submit" value=" {lang submit} " class="btn" /></div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!--{else}-->
|
||||
<h3 class="marginbot">{lang app_setting}<a href="{UC_ADMINSCRIPT}?m=app&a=ls" class="sgbtn">{lang app_list_return}</a></h3>
|
||||
<!--{if $updated}-->
|
||||
<div class="correctmsg"><p>{lang update_succeed}</p></div>
|
||||
<!--{elseif $addapp}-->
|
||||
<div class="correctmsg"><p>{lang app_add_succeed}</p></div>
|
||||
<!--{/if}-->
|
||||
<div class="mainbox">
|
||||
<form action="{UC_ADMINSCRIPT}?m=app&a=detail&appid=$appid" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="opt">
|
||||
<tr>
|
||||
<th colspan="2">{lang app_id}: $appid</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_type}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<select name="type">
|
||||
<!--{loop $typelist $typeid $typename}-->
|
||||
<option value="$typeid" {if $typeid == $type}selected="selected"{/if}> $typename </option>
|
||||
<!--{/loop}-->
|
||||
</select>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th colspan="2">{lang app_name}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="name" value="$name" /></td>
|
||||
<td>{lang app_name_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_url}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="url" value="$url" /></td>
|
||||
<td>{lang app_url_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_extra_url}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><textarea name="extraurl" class="area">$extraurl</textarea></td>
|
||||
<td>{lang app_extra_url_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_ip}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="ip" value="$ip" /></td>
|
||||
<td>{lang app_ip_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_key}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="authkey" value="$authkey" /></td>
|
||||
<td>{lang app_key_comment} <a href="#" onclick="generatekey();return false;" class="green">{lang app_key_generate}</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th colspan="2">{lang app_path}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" class="txt" name="apppath" value="$apppath" />
|
||||
</td>
|
||||
<td>{lang app_path_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_viewpro_url}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" class="txt" name="viewprourl" value="$viewprourl" />
|
||||
</td>
|
||||
<td>{lang app_viewpro_url_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_api_filename}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" class="txt" name="apifilename" value="$apifilename" />
|
||||
</td>
|
||||
<td>{lang app_api_filename_comment}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th colspan="2">{lang app_tagtemplates}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><textarea class="area" name="tagtemplates">$tagtemplates[template]</textarea></td>
|
||||
<td valign="top">{lang app_tagtemplates_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_tagfields}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><textarea class="area" name="tagfields">$tagtemplates[fields]</textarea></td>
|
||||
<td valign="top">{lang app_tagfields_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_login}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="synlogin_yes" name="synlogin" value="1" $synlogin[1] /><label for="synlogin_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="synlogin_no" name="synlogin" value="0" $synlogin[0] /><label for="synlogin_no">{lang no}</label>
|
||||
</td>
|
||||
<td>{lang app_login_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_recvnote}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="recvnote_yes" name="recvnote" value="1" $recvnotechecked[1] /><label for="recvnote_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="recvnote_no" name="recvnote" value="0" $recvnotechecked[0] /><label for="recvnote_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_recvnotediy}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="recvnotediy_yes" name="recvnotediy" value="1" /><label for="recvnotediy_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="recvnotediy_no" name="recvnotediy" value="0" /><label for="recvnotediy_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_disablenote_deleteuser}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="disablenote_deleteuser_yes" name="disablenote_deleteuser" value="1" /><label for="disablenote_deleteuser_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="disablenote_deleteuser_no" name="disablenote_deleteuser" value="0" /><label for="disablenote_deleteuser_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_disablenote_renameuser}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="disablenote_renameuser_yes" name="disablenote_renameuser" value="1" /><label for="disablenote_renameuser_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="disablenote_renameuser_no" name="disablenote_renameuser" value="0" /><label for="disablenote_renameuser_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_disablenote_gettag}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="disablenote_gettag_yes" name="disablenote_gettag" value="1" /><label for="disablenote_gettag_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="disablenote_gettag_no" name="disablenote_gettag" value="0" /><label for="disablenote_gettag_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_disablenote_updatepw}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="disablenote_updatepw_yes" name="disablenote_updatepw" value="1" /><label for="disablenote_updatepw_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="disablenote_updatepw_no" name="disablenote_updatepw" value="0" /><label for="disablenote_updatepw_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_disablenote_updatebadwords}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="disablenote_updatebadwords_yes" name="disablenote_updatebadwords" value="1" /><label for="disablenote_updatebadwords_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="disablenote_updatebadwords_no" name="disablenote_updatebadwords" value="0" /><label for="disablenote_updatebadwords_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_disablenote_updatehosts}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="disablenote_updatehosts_yes" name="disablenote_updatehosts" value="1" /><label for="disablenote_updatehosts_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="disablenote_updatehosts_no" name="disablenote_updatehosts" value="0" /><label for="disablenote_updatehosts_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_disablenote_updateapps}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="disablenote_updateapps_yes" name="disablenote_updateapps" value="1" /><label for="disablenote_updateapps_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="disablenote_updateapps_no" name="disablenote_updateapps" value="0" /><label for="disablenote_updateapps_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_disablenote_updateclient}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="disablenote_updateclient_yes" name="disablenote_updateclient" value="1" /><label for="disablenote_updateclient_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="disablenote_updateclient_no" name="disablenote_updateclient" value="0" /><label for="disablenote_updateclient_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_disablenote_updatecredit}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="disablenote_updatecredit_yes" name="disablenote_updatecredit" value="1" /><label for="disablenote_updatecredit_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="disablenote_updatecredit_no" name="disablenote_updatecredit" value="0" /><label for="disablenote_updatecredit_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_disablenote_getcredit}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="disablenote_getcredit_yes" name="disablenote_getcredit" value="1" /><label for="disablenote_getcredit_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="disablenote_getcredit_no" name="disablenote_getcredit" value="0" /><label for="disablenote_getcredit_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_disablenote_getcreditsettings}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="disablenote_getcreditsettings_yes" name="disablenote_getcreditsettings" value="1" /><label for="disablenote_getcreditsettings_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="disablenote_getcreditsettings_no" name="disablenote_getcreditsettings" value="0" /><label for="disablenote_getcreditsettings_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_disablenote_updatecreditsettings}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="disablenote_updatecreditsettings_yes" name="disablenote_updatecreditsettings" value="1" /><label for="disablenote_updatecreditsettings_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="disablenote_updatecreditsettings_no" name="disablenote_updatecreditsettings" value="0" /><label for="disablenote_updatecreditsettings_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang app_disablenote_addfeed}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" class="radio" id="disablenote_addfeed_yes" name="disablenote_addfeed" value="1" /><label for="disablenote_addfeed_yes">{lang yes}</label>
|
||||
<input type="radio" class="radio" id="disablenote_addfeed_no" name="disablenote_addfeed" value="0" /><label for="disablenote_addfeed_no">{lang no}</label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="opt"><input type="submit" name="submit" value=" {lang submit} " class="btn" /></div>
|
||||
<!--{if $isfounder}-->
|
||||
<table class="opt">
|
||||
<tr>
|
||||
<th colspan="2">{lang app_code}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<textarea class="area" onFocus="this.select()">
|
||||
define('UC_CONNECT', 'mysql');
|
||||
define('UC_STANDALONE', 0);
|
||||
define('UC_DBHOST', '{UC_DBHOST}');
|
||||
define('UC_DBUSER', '{UC_DBUSER}');
|
||||
define('UC_DBPW', '{UC_DBPW}');
|
||||
define('UC_DBNAME', '{UC_DBNAME}');
|
||||
define('UC_DBCHARSET', '{UC_DBCHARSET}');
|
||||
define('UC_DBTABLEPRE', '`{UC_DBNAME}`.{UC_DBTABLEPRE}');
|
||||
define('UC_DBCONNECT', '0');
|
||||
define('UC_AVTURL', '');
|
||||
define('UC_AVTPATH', '');
|
||||
define('UC_KEY', '$authkey');
|
||||
define('UC_API', '{UC_API}');
|
||||
define('UC_CHARSET', '{UC_CHARSET}');
|
||||
define('UC_IP', '');
|
||||
define('UC_APPID', '$appid');
|
||||
define('UC_PPP', '20');
|
||||
</textarea>
|
||||
</th>
|
||||
<td>{lang app_code_comment}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--{/if}-->
|
||||
</form>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
{template footer}
|
90
uc_server/view/default/admin_badword.htm
Normal file
90
uc_server/view/default/admin_badword.htm
Normal file
@@ -0,0 +1,90 @@
|
||||
{template header}
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
function switchbtn(btn) {
|
||||
$('srchuserdiv').style.display = btn == 'srch' ? '' : 'none';
|
||||
$('srchuserdiv').className = btn == 'srch' ? 'tabcontentcur' : '' ;
|
||||
$('srchuserbtn').className = btn == 'srch' ? 'tabcurrent' : '';
|
||||
$('adduserdiv').style.display = btn == 'srch' ? 'none' : '';
|
||||
$('adduserdiv').className = btn == 'srch' ? '' : 'tabcontentcur';
|
||||
$('adduserbtn').className = btn == 'srch' ? '' : 'tabcurrent';
|
||||
$('tmenu').style.height = btn == 'srch' ? '80'+'px' : '280'+'px';
|
||||
}
|
||||
</script>
|
||||
<div class="container">
|
||||
<!--{if $status}-->
|
||||
<div class="correctmsg"><p>{if $status == 2}{lang badword_list_updated}{elseif $status == 1}{lang badword_add_succeed}{/if}</p></div>
|
||||
<!--{/if}-->
|
||||
<div id="tmenu" class="hastabmenu">
|
||||
<ul class="tabmenu">
|
||||
<li id="srchuserbtn" class="tabcurrent"><a href="#" onclick="switchbtn('srch');">{lang badword_add}</a></li>
|
||||
<li id="adduserbtn"><a href="#" onclick="switchbtn('add');">{lang badword_multi_add}</a></li>
|
||||
</ul>
|
||||
<div id="adduserdiv" class="tabcontent" style="display:none;">
|
||||
<form action="{UC_ADMINSCRIPT}?m=badword&a=ls" method="post">
|
||||
<ul class="tiplist">
|
||||
{lang badword_multi_add_comment}
|
||||
</ul>
|
||||
<textarea name="badwords" class="bigarea"></textarea>
|
||||
<ul class="optlist">
|
||||
<li><input type="radio" name="type" value="2" id="badwordsopt2" class="radio" checked="checked" /><label for="badwordsopt2">{lang badword_skip}</label></li>
|
||||
<li><input type="radio" name="type" value="1" id="badwordsopt1" class="radio" /><label for="badwordsopt1">{lang badword_overwrite}</label></li>
|
||||
<li><input type="radio" name="type" value="0" id="badwordsopt0" class="radio" /><label for="badwordsopt0">{lang badword_truncate}</label></li>
|
||||
</ul>
|
||||
<input type="submit" name="multisubmit" value="{lang submit}" class="btn" />
|
||||
</form>
|
||||
|
||||
</div>
|
||||
<div id="srchuserdiv" class="tabcontentcur">
|
||||
<form action="{UC_ADMINSCRIPT}?m=badword&a=ls" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table>
|
||||
<tr>
|
||||
<td>{lang badword_keyword}:</td>
|
||||
<td><input type="text" name="findnew" class="txt" /></td>
|
||||
<td>{lang badword_replace}:</td>
|
||||
<td><input type="text" name="replacementnew" class="txt" /></td>
|
||||
<td><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<h3>{lang badword_list}</h3>
|
||||
<div class="mainbox">
|
||||
<!--{if $badwordlist}-->
|
||||
<form action="{UC_ADMINSCRIPT}?m=badword&a=ls" method="post">
|
||||
<table class="datalist fixwidth">
|
||||
<tr>
|
||||
<th><input type="checkbox" name="chkall" id="chkall" onclick="checkall('delete[]')" class="checkbox" /><label for="chkall">{lang badword_delete}</label></th>
|
||||
<th style="text-align:right;padding-right:11px;">{lang badword_keyword}</th>
|
||||
<th></th>
|
||||
<th>{lang badword_replace}</th>
|
||||
<th>{lang badword_admin}</th>
|
||||
</tr>
|
||||
<!--{loop $badwordlist $badword}-->
|
||||
<tr>
|
||||
<td class="option"><input type="checkbox" name="delete[]" value="$badword[id]" class="checkbox" /></td>
|
||||
<td class="tdinput"><input type="text" name="find[{$badword[id]}]" value="$badword[find]" title="{lang shortcut_tips}" class="txtnobd" onblur="this.className='txtnobd'" onfocus="this.className='txt'" /></td>
|
||||
<td class="tdarrow">></td>
|
||||
<td class="tdinput"><input type="text" name="replacement[{$badword[id]}]" value="$badword[replacement]" title="{lang shortcut_tips}" class="txtnobd" onblur="this.className='txtnobd'" onfocus="this.className='txt'" style="text-align:left;" /></td>
|
||||
<td>$badword[admin]</td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
<td class="tdpage" colspan="4">$multipage</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--{else}-->
|
||||
<div class="note">
|
||||
<p class="i">{lang list_empty}</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{template footer}
|
30
uc_server/view/default/admin_cache.htm
Normal file
30
uc_server/view/default/admin_cache.htm
Normal file
@@ -0,0 +1,30 @@
|
||||
{template header}
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
|
||||
<div class="container">
|
||||
<h3>{lang cache_update}</h3>
|
||||
<!--{if $updated}-->
|
||||
<div class="correctmsg"><p>{lang update_succeed}</p></div>
|
||||
<!--{/if}-->
|
||||
<div class="mainbox">
|
||||
<form action="{UC_ADMINSCRIPT}?m=cache&a=update" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="datalist fixwidth" onmouseover="addMouseEvent(this);">
|
||||
<tr>
|
||||
<td class="option"><input type="checkbox" name="type[]" value="data" class="checkbox" checked="checked" /></td>
|
||||
<td>{lang cache_update_data}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="option"><input type="checkbox" name="type[]" value="tpl" class="checkbox" /></td>
|
||||
<td>{lang cache_update_tpl}</td>
|
||||
</tr>
|
||||
<tr class="nobg">
|
||||
<td colspan="2"><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{template footer}
|
105
uc_server/view/default/admin_credit.htm
Normal file
105
uc_server/view/default/admin_credit.htm
Normal file
@@ -0,0 +1,105 @@
|
||||
{template header}
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
<div class="container">
|
||||
|
||||
<div class="note">
|
||||
<p class="i">{lang creditexchange_tips}</p>
|
||||
</div>
|
||||
|
||||
<!--{if $status}-->
|
||||
<div class="{if $status > 0}correctmsg{else}errormsg{/if}"><p>{if $status == 1}{lang creditexchange_updated}{elseif $status == -1}{lang creditexchange_invalid}{/if}</p></div>
|
||||
<!--{/if}-->
|
||||
<div class="hastabmenu">
|
||||
<ul class="tabmenu">
|
||||
<li class="tabcurrent"><a href="#" class="tabcurrent">{lang creditexchange_update}</a></li>
|
||||
</ul>
|
||||
<div class="tabcontentcur">
|
||||
<form id="creditform" action="{UC_ADMINSCRIPT}?m=credit&a=ls&addexchange=yes" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="dbtb">
|
||||
<tr>
|
||||
<td class="tbtitle">{lang creditexchange_fromto}:</td>
|
||||
<td>
|
||||
<select onchange="switchcredit('src', this.value)" name="appsrc">
|
||||
<option>{lang creditexchange_select}</option>$appselect
|
||||
</select><span id="src"></span>
|
||||
>
|
||||
<select onchange="switchcredit('desc', this.value)" name="appdesc">
|
||||
<option>{lang creditexchange_select}</option>$appselect
|
||||
</select><span id="desc"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbtitle">{lang creditexchange_ratio}:</td>
|
||||
<td>
|
||||
<input name="ratiosrc" size="3" value="$ratiosrc" class="txt" style="margin-right:0" />
|
||||
:
|
||||
<input name="ratiodesc" size="3" value="$ratiodesc" class="txt" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="{lang submit}" class="btn" />
|
||||
<input type="button" value="{lang creditexchange_syncappcredits}" class="btn" onclick="location.href='{UC_ADMINSCRIPT}?m=credit&a=sync&sid=$sid'" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="display: none">
|
||||
<script type="text/javascript">
|
||||
var credit = new Array();
|
||||
<!--{loop $creditselect $select}-->$select<!--{/loop}-->
|
||||
<!--{if $appsrc}-->
|
||||
setselect($('creditform').appsrc, $appsrc);
|
||||
switchcredit('src', $appsrc);
|
||||
<!--{/if}-->
|
||||
<!--{if $appdesc}-->
|
||||
setselect($('creditform').appdesc, $appdesc);
|
||||
switchcredit('desc', $appdesc);
|
||||
<!--{/if}-->
|
||||
<!--{if $creditsrc}-->
|
||||
setselect($('creditform').creditsrc, $creditsrc);
|
||||
<!--{/if}-->
|
||||
<!--{if $creditdesc}-->
|
||||
setselect($('creditform').creditdesc, $creditdesc);
|
||||
<!--{/if}-->
|
||||
</script>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<h3>{lang creditexchange}</h3>
|
||||
<div class="mainbox">
|
||||
<!--{if $creditexchange}-->
|
||||
<form action="{UC_ADMINSCRIPT}?m=credit&a=ls&delexchange=yes" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="datalist fixwidth" onmouseover="addMouseEvent(this);">
|
||||
<tr>
|
||||
<th><input type="checkbox" name="chkall" id="chkall" onclick="checkall('delete[]')" class="checkbox" /><label for="chkall">{lang badword_delete}</label></th>
|
||||
<th style="padding-right: 11px; text-align: right">{lang creditexchange_fromto}</th>
|
||||
<th></th>
|
||||
<th style="text-align: center">{lang creditexchange_ratio}</th>
|
||||
</tr>
|
||||
<!--{loop $creditexchange $key $exchange}-->
|
||||
<tr>
|
||||
<td class="option"><input type="checkbox" name="delete[]" value="$key" class="checkbox" /></td>
|
||||
<td align="right">$exchange[appsrc] $exchange[creditsrc]</td>
|
||||
<td> > $exchange[appdesc] $exchange[creditdesc]</td>
|
||||
<td align="center">$exchange[ratiosrc] : $exchange[ratiodesc]</td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--{else}-->
|
||||
<div class="note">
|
||||
<p class="i">{lang list_empty}</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
{template footer}
|
184
uc_server/view/default/admin_db.htm
Normal file
184
uc_server/view/default/admin_db.htm
Normal file
@@ -0,0 +1,184 @@
|
||||
{template header}
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
|
||||
<div class="container">
|
||||
<!--{if $operate == 'list'}-->
|
||||
<h3 class="marginbot">
|
||||
<a href="{UC_ADMINSCRIPT}?m=db&a=ls&o=export" class="sgbtn">{lang db_export}</a>
|
||||
{lang db_list}
|
||||
</h3>
|
||||
<div class="note fixwidthdec">
|
||||
<p class="i">{lang db_list_tips}</p>
|
||||
</div>
|
||||
<div class="note fixwidthdec">
|
||||
<p class="i">{lang db_security_tips}</p>
|
||||
</div>
|
||||
<div class="mainbox">
|
||||
<form id="theform">
|
||||
<table class="datalist" onmouseover="addMouseEvent(this);">
|
||||
<tr>
|
||||
<th nowrap="nowrap"><input type="checkbox" name="chkall" id="chkall" onclick="checkall('operate[]')" class="checkbox" /><label for="chkall">{lang delete}</label></th>
|
||||
<th nowrap="nowrap">{lang db_backup_dir}</th>
|
||||
<th nowrap="nowrap">{lang db_backup_date}</th>
|
||||
<th nowrap="nowrap">{lang db_operation}</th>
|
||||
<th nowrap="nowrap"> </th>
|
||||
<th nowrap="nowrap"> </th>
|
||||
</tr>
|
||||
<!--{loop $baklist $bak}-->
|
||||
<tr>
|
||||
<td width="50"><input type="checkbox" name="operate[]" value="{$bak[name]}" class="checkbox" /></td>
|
||||
<td width="200"><a href="{UC_ADMINSCRIPT}?m=db&a=ls&o=view&dir={$bak[name]}">$bak[name]</a></td>
|
||||
<td width="120">$bak[date]</td>
|
||||
<td><a href="{UC_ADMINSCRIPT}?m=db&a=ls&o=view&dir={$bak[name]}">{lang db_detail}</a></td>
|
||||
<td id="db_operate_{$bak[name]}"></td>
|
||||
<td><iframe id="operate_iframe_{$bak[name]}" style="display:none" width="0" height="0"></iframe></td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td colspan="6"><input type="button" value="{lang submit}" onclick="db_delete($('theform'))" class="btn" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<!--{elseif $operate == 'view'}-->
|
||||
<h3 class="marginbot">
|
||||
<a href="{UC_ADMINSCRIPT}?m=db&a=ls&o=export" class="sgbtn">{lang db_export}</a>
|
||||
{lang db_list}
|
||||
</h3>
|
||||
<div class="note fixwidthdec">
|
||||
<p class="i">{lang db_import_tips}</p>
|
||||
</div>
|
||||
<div class="mainbox">
|
||||
<form id="theform">
|
||||
<table class="datalist" onmouseover="addMouseEvent(this);">
|
||||
<tr>
|
||||
<th nowrap="nowrap"><input type="checkbox" name="chkall" id="chkall" onclick="checkall('operate[]')" class="checkbox" /><label for="chkall">{lang db_import}</label></th>
|
||||
<th nowrap="nowrap">{lang app_id}</th>
|
||||
<th nowrap="nowrap">{lang app_name}</th>
|
||||
<th nowrap="nowrap">{lang app_url}</th>
|
||||
<th nowrap="nowrap"> </th>
|
||||
<th nowrap="nowrap"> </th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"><input type="checkbox" name="operate_uc" class="checkbox" /></td>
|
||||
<td width="35"></td>
|
||||
<td><strong>UCenter</strong></td>
|
||||
<td></td>
|
||||
<td id="db_operate_0"><img src="images/correct.gif" border="0" class="statimg" /><span class="green">{lang dumpfile_exists}</span></td>
|
||||
<td><iframe id="operate_iframe_0" style="display:none" width="0" height="0"></iframe></td>
|
||||
</tr>
|
||||
<!--{loop $applist $app}-->
|
||||
<tr>
|
||||
<td width="50"><input type="checkbox" name="operate[]" value="$app[appid]" class="checkbox" /></td>
|
||||
<td width="35">$app[appid]</td>
|
||||
<td width="160"><a href="{UC_ADMINSCRIPT}?m=app&a=detail&appid=$app[appid]"><strong>$app[name]</strong></a></td>
|
||||
<td><a href="$app[url]" target="_blank">$app[url]</a></td>
|
||||
<td id="db_operate_{$app[appid]}"></td>
|
||||
<td><iframe id="operate_iframe_{$app[appid]}" src="{UC_ADMINSCRIPT}?m=db&a=ls&o=ping&appid={$app[appid]}&dir={$dir}" style="display:none" width="0" height="0"></iframe></td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td colspan="6"><input type="button" value="{lang submit}" onclick="db_operate($('theform'), 'import')" class="btn" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<!--{else}-->
|
||||
<h3 class="marginbot">
|
||||
{lang db_export}
|
||||
<a href="{UC_ADMINSCRIPT}?m=db&a=ls&o=list" class="sgbtn">{lang db_list}</a>
|
||||
</h3>
|
||||
<div class="note fixwidthdec">
|
||||
<p class="i">{lang db_security_tips}</p>
|
||||
</div>
|
||||
<div class="mainbox">
|
||||
<form id="theform">
|
||||
<table class="datalist" onmouseover="addMouseEvent(this);">
|
||||
<tr>
|
||||
<th nowrap="nowrap"><input type="checkbox" name="chkall" id="chkall" checked="checked" onclick="checkall('operate[]')" class="checkbox" /><label for="chkall">{lang db_export}</label></th>
|
||||
<th nowrap="nowrap">{lang app_id}</th>
|
||||
<th nowrap="nowrap">{lang app_name}</th>
|
||||
<th nowrap="nowrap">{lang app_url}</th>
|
||||
<th nowrap="nowrap"> </th>
|
||||
<th nowrap="nowrap"> </th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"><input type="checkbox" name="operate_uc" disabled="disabled" checked="checked" class="checkbox" /></td>
|
||||
<td width="35"></td>
|
||||
<td><strong>UCenter</strong></td>
|
||||
<td></td>
|
||||
<td id="db_operate_0"></td>
|
||||
<td><iframe id="operate_iframe_0" style="display:none" width="0" height="0"></iframe></td>
|
||||
</tr>
|
||||
<!--{loop $applist $app}-->
|
||||
<tr>
|
||||
<td width="50"><input type="checkbox" name="operate[]" value="$app[appid]" checked="checked" class="checkbox" /></td>
|
||||
<td width="35">$app[appid]</td>
|
||||
<td width="160"><a href="{UC_ADMINSCRIPT}?m=app&a=detail&appid=$app[appid]"><strong>$app[name]</strong></a></td>
|
||||
<td><a href="$app[url]" target="_blank">$app[url]</a></td>
|
||||
<td id="db_operate_{$app[appid]}"></td>
|
||||
<td><iframe id="operate_iframe_{$app[appid]}" style="display:none" width="0" height="0"></iframe></td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td colspan="6"><input type="button" value="{lang submit}" onclick="db_operate($('theform'), 'export')" class="btn" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var import_status = new Array();
|
||||
function db_delete(theform) {
|
||||
var lang_tips = '{lang db_start_delete_dumpfile}';
|
||||
if(!confirm('{lang db_delete_dumpfile_confirm}')) {
|
||||
return;
|
||||
}
|
||||
for(i = 0; theform[i] != null; i++) {
|
||||
ele = theform[i];
|
||||
if(/^operate\[/.test(ele.name) && ele.type == "checkbox" && ele.checked) {
|
||||
show_status(ele.value, lang_tips);
|
||||
$('operate_iframe_'+ele.value).src = '{UC_ADMINSCRIPT}?m=db&a=delete&backupdir='+ele.value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function db_operate(theform, operate) {
|
||||
operate = operate == 'import' ? 'import' : 'export';
|
||||
if(operate == 'export') {
|
||||
var lang_tips = '{lang db_start_export_dumpfile}';
|
||||
} else {
|
||||
if(!confirm('{lang db_import_dumpfile_confirm}')) {
|
||||
return;
|
||||
}
|
||||
if(theform.operate_uc.checked && !confirm('{lang db_import_uc_dumpfile_confirm}')) {
|
||||
return;
|
||||
}
|
||||
var lang_tips = '{lang db_start_import_dumpfile}';
|
||||
}
|
||||
|
||||
if(theform.operate_uc.checked) {
|
||||
show_status(0, lang_tips);
|
||||
$('operate_iframe_0').src = '{UC_ADMINSCRIPT}?m=db&a=operate&t='+operate+'&appid=0&backupdir={$dir}&sid={$sid}';
|
||||
}
|
||||
for(i = 0; theform[i] != null; i++) {
|
||||
ele = theform[i];
|
||||
if(/^operate\[\]$/.test(ele.name) && ele.type == "checkbox" && ele.checked) {
|
||||
if(operate != 'import' || import_status[ele.value] != false) {
|
||||
show_status(ele.value, lang_tips);
|
||||
$('operate_iframe_'+ele.value).src = '{UC_ADMINSCRIPT}?m=db&a=operate&t='+operate+'&appid='+ele.value+'&backupdir={$dir}&sid={$sid}';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function show_status(extid, msg) {
|
||||
var o = $('db_operate_'+extid);
|
||||
o.innerHTML = msg;
|
||||
}
|
||||
</script>
|
||||
|
||||
{template footer}
|
59
uc_server/view/default/admin_domain.htm
Normal file
59
uc_server/view/default/admin_domain.htm
Normal file
@@ -0,0 +1,59 @@
|
||||
{template header}
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
<div class="container">
|
||||
<!--{if $status}-->
|
||||
<div class="{if $status > 0}correctmsg{else}errormsg{/if}"><p>{if $status == 2}{lang domain_list_updated}{elseif $status == 1}{lang domain_add_succeed}{/if}</p></div>
|
||||
<!--{/if}-->
|
||||
<div class="hastabmenu">
|
||||
<ul class="tabmenu">
|
||||
<li class="tabcurrent"><a href="#" class="tabcurrent">{lang domain_add}</a></li>
|
||||
</ul>
|
||||
<div class="tabcontentcur">
|
||||
<form action="{UC_ADMINSCRIPT}?m=domain&a=ls" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table>
|
||||
<tr>
|
||||
<td>{lang domain}:</td>
|
||||
<td><input type="text" name="domainnew" class="txt" /></td>
|
||||
<td>{lang ip}:</td>
|
||||
<td><input type="text" name="ipnew" class="txt" /></td>
|
||||
<td><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<h3>{lang domain_list}</h3>
|
||||
<div class="mainbox">
|
||||
<!--{if $domainlist}-->
|
||||
<form action="{UC_ADMINSCRIPT}?m=domain&a=ls" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="datalist fixwidth">
|
||||
<tr>
|
||||
<th width="10%"><input type="checkbox" name="chkall" id="chkall" onclick="checkall('delete[]')" class="checkbox" /><label for="chkall">{lang delete}</label></th>
|
||||
<th width="60%">{lang domain}</th>
|
||||
<th width="30%">{lang ip}</th>
|
||||
</tr>
|
||||
<!--{loop $domainlist $domain}-->
|
||||
<tr>
|
||||
<td><input type="checkbox" name="delete[]" value="$domain[id]" class="checkbox" /></td>
|
||||
<td><input type="text" name="domain[{$domain[id]}]" value="$domain[domain]" title="{lang shortcut_tips}" class="txtnobd" onblur="this.className='txtnobd'" onfocus="this.className='txt'" style="text-align:left;" /></td>
|
||||
<td><input type="text" name="ip[{$domain[id]}]" value="$domain[ip]" title="{lang shortcut_tips}" class="txtnobd" onblur="this.className='txtnobd'" onfocus="this.className='txt'" style="text-align:left;" /></td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
<td class="tdpage" colspan="2">$multipage</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--{else}-->
|
||||
<div class="note">
|
||||
<p class="i">{lang list_empty}</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{template footer}
|
40
uc_server/view/default/admin_feed.htm
Normal file
40
uc_server/view/default/admin_feed.htm
Normal file
@@ -0,0 +1,40 @@
|
||||
{template header}
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
<div class="container">
|
||||
<h3 class="marginbot">
|
||||
{lang feed_list}
|
||||
<!--{if $user['isfounder'] || $user['allowadminnote']}--><a href="{UC_ADMINSCRIPT}?m=note&a=ls" class="sgbtn">{lang note_list}</a><!--{/if}-->
|
||||
<!--{if $user['isfounder'] || $user['allowadminlog']}--><a href="{UC_ADMINSCRIPT}?m=log&a=ls" class="sgbtn">{lang menu_log}</a><!--{/if}-->
|
||||
<a href="{UC_ADMINSCRIPT}?m=mail&a=ls" class="sgbtn">{lang mail_queue}</a>
|
||||
</h3>
|
||||
<div class="mainbox">
|
||||
<!--{if $feedlist}-->
|
||||
<form action="{UC_ADMINSCRIPT}?m=note&a=ls" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="datalist" style="table-layout:fixed">
|
||||
<tr>
|
||||
<th width="100">{lang dateline}</th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
<!--{loop $feedlist $feed}-->
|
||||
<tr>
|
||||
<td>$feed[dateline]</td>
|
||||
<td>$feed[title_template]</td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td></td>
|
||||
<td class="tdpage">$multipage</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--{else}-->
|
||||
<div class="note">
|
||||
<p class="i">{lang list_empty}</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{template footer}
|
45
uc_server/view/default/admin_frame_header.htm
Normal file
45
uc_server/view/default/admin_frame_header.htm
Normal file
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={UC_CHARSET}" />
|
||||
<title>UCenter Administrator's Control Panel</title>
|
||||
<link rel="stylesheet" href="images/admincp.css" type="text/css" media="all" />
|
||||
<meta content="Comsenz Inc." name="Copyright" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="mainhd">
|
||||
<div class="logo">UCenter Administrator's Control Panel</div>
|
||||
<div class="uinfo">
|
||||
<p>{lang welcome}, <em>$username</em> [ <a href="{UC_ADMINSCRIPT}?m=user&a=logout" target="_top">{lang menu_logout}</a> ]</p>
|
||||
<!--{if $admincp}-->
|
||||
<p id="others"><a href="#" class="othersoff" onclick="showmenu(this);">{lang menu_otheradmincp}</a></p>
|
||||
<script type="text/javascript">
|
||||
function showmenu(ctrl) {
|
||||
ctrl.className = ctrl.className == 'otherson' ? 'othersoff' : 'otherson';
|
||||
var menu = parent.document.getElementById('toggle');
|
||||
if(!menu) {
|
||||
menu = parent.document.createElement('div');
|
||||
menu.id = 'toggle';
|
||||
menu.innerHTML = '<ul>$admincp</ul>';
|
||||
var obj = ctrl;
|
||||
var x = ctrl.offsetLeft;
|
||||
var y = ctrl.offsetTop;
|
||||
while((obj = obj.offsetParent) != null) {
|
||||
x += obj.offsetLeft;
|
||||
y += obj.offsetTop;
|
||||
}
|
||||
menu.style.left = x + 'px';
|
||||
menu.style.top = y + ctrl.offsetHeight + 'px';
|
||||
menu.className = 'togglemenu';
|
||||
menu.style.display = '';
|
||||
parent.document.body.appendChild(menu);
|
||||
} else {
|
||||
menu.style.display = menu.style.display == 'none' ? '' : 'none';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
20
uc_server/view/default/admin_frame_index.htm
Normal file
20
uc_server/view/default/admin_frame_index.htm
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset={UC_CHARSET}" />
|
||||
<title>UCenter Administrator's Control Panel</title>
|
||||
<link rel="stylesheet" href="images/admincp.css" type="text/css" media="all" />
|
||||
<meta content="Comsenz Inc." name="Copyright" />
|
||||
</head>
|
||||
<body scroll="no">
|
||||
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
|
||||
<tr>
|
||||
<td colspan="2" height="69"><iframe src="{UC_ADMINSCRIPT}?m=frame&a=header&sid=$sid" name="header" width="100%" height="69" scrolling="no" frameborder="0"></iframe></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="160"><iframe src="{UC_ADMINSCRIPT}?m=frame&a=menu&sid=$sid" name="menu" target="main" width="160" height="100%" scrolling="no" frameborder="0"></iframe></td>
|
||||
<td valign="top"><iframe src="$mainurl" name="main" width="100%" height="100%" frameborder="0" scrolling="yes" style="overflow:visible;"></iframe></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
114
uc_server/view/default/admin_frame_main.htm
Normal file
114
uc_server/view/default/admin_frame_main.htm
Normal file
@@ -0,0 +1,114 @@
|
||||
{template header}
|
||||
{if $iframe}
|
||||
<script type="text/javascript">
|
||||
var uc_menu_data = new Array();
|
||||
o = document.getElementById('header_menu_menu');
|
||||
elems = o.getElementsByTagName('A');
|
||||
for(i = 0; i<elems.length; i++) {
|
||||
uc_menu_data.push(elems[i].innerHTML);
|
||||
uc_menu_data.push(elems[i].href);
|
||||
}
|
||||
try {
|
||||
parent.uc_left_menu(uc_menu_data);
|
||||
parent.uc_modify_sid('{$sid}');
|
||||
} catch(e) {}
|
||||
</script>
|
||||
{/if}
|
||||
<div class="container">
|
||||
<h3>{lang home_stats}</h3>
|
||||
<ul class="memlist fixwidth">
|
||||
<li><em><!--{if $user['isfounder'] || $user['allowadminapp']}--><a href="{UC_ADMINSCRIPT}?m=app&a=ls">{lang home_app_count}</a><!--{else}-->{lang home_app_count}<!--{/if}-->:</em>$apps</li>
|
||||
<li><em><!--{if $user['isfounder'] || $user['allowadminuser']}--><a href="{UC_ADMINSCRIPT}?m=user&a=ls">{lang home_member_count}</a><!--{else}-->{lang home_member_count}<!--{/if}-->:</em>$members</li>
|
||||
<li><em><!--{if $user['isfounder'] || $user['allowadminpm']}--><a href="{UC_ADMINSCRIPT}?m=pm&a=ls">{lang home_pm_count}</a><!--{else}-->{lang home_pm_count}<!--{/if}-->:</em>$pms</li>
|
||||
<li><em>{lang home_friend_count}:</em>$friends</li>
|
||||
</ul>
|
||||
|
||||
<h3>{lang note_status}</h3>
|
||||
<ul class="memlist fixwidth">
|
||||
<li><em><!--{if $user['isfounder'] || $user['allowadminnote']}--><a href="{UC_ADMINSCRIPT}?m=note&a=ls">{lang home_note_count}</a><!--{else}-->{lang home_note_count}<!--{/if}-->:</em>$notes</li>
|
||||
<!--{if $errornotes}-->
|
||||
<li><em><!--{if $user['isfounder'] || $user['allowadminnote']}--><a href="{UC_ADMINSCRIPT}?m=note&a=ls">{lang note_fail_apps}</a><!--{else}-->{lang note_fail_apps}<!--{/if}-->:</em>
|
||||
<!--{loop $errornotes $appid $error}-->
|
||||
$applist[$appid][name]
|
||||
<!--{/loop}--></li>
|
||||
<!--{/if}-->
|
||||
</ul>
|
||||
|
||||
<h3>{lang home_envstatus}</h3>
|
||||
<ul class="memlist fixwidth">
|
||||
<!--{if $envstatus['status']}-->
|
||||
<li class="green"><em>{lang envstatus_result}:</em>{lang envstatus_ok}</li>
|
||||
<!--{else}-->
|
||||
<li class="red"><em>{lang envstatus_result}:</em>
|
||||
<!--{if $envstatus['now_ver']}-->
|
||||
{lang envstatus_ver_too_low}
|
||||
<!--{else}-->
|
||||
{lang envstatus_not_found}
|
||||
<!--{/if}-->
|
||||
</li>
|
||||
<!--{/if}-->
|
||||
</ul>
|
||||
<h3>{lang home_env}</h3>
|
||||
<ul class="memlist fixwidth">
|
||||
<li><em>{lang home_version}:</em>UCenter {UC_SERVER_VERSION} Release {UC_SERVER_RELEASE} <a href="https://discuz.dismall.com/forum-151-1.html" target="_blank">{lang view_new_version}</a></li>
|
||||
<li><em>{lang home_environment}:</em>$serverinfo</li>
|
||||
<li><em>{lang home_server_software}:</em>$_SERVER[SERVER_SOFTWARE]</li>
|
||||
<li><em>{lang home_database}:</em>$dbversion</li>
|
||||
<li><em>{lang home_upload_perm}:</em>$fileupload</li>
|
||||
<li><em>{lang home_database_size}:</em>$dbsize</li>
|
||||
<li><em>{lang home_server_ip}:</em>$servername</li>
|
||||
<li><em>allow_url_fopen:</em>$allow_url_fopen</li>
|
||||
</ul>
|
||||
<h3>{lang home_team}</h3>
|
||||
<ul class="memlist fixwidth">
|
||||
<li>
|
||||
<em>{lang home_dev_copyright}:</em>
|
||||
<em class="memcont">腾讯云计算(北京)有限责任公司</em>
|
||||
</li>
|
||||
<li>
|
||||
<em>{lang home_dev_manager}:</em>
|
||||
<em class="memcont"><a href="https://discuz.dismall.com/home.php?mod=space&uid=1" target="_blank">戴志康 (Kevin 'Crossday' Day)</a></em>
|
||||
</li>
|
||||
<li>
|
||||
<em>{lang home_dev_team}:</em>
|
||||
<em class="memcont">
|
||||
<a href="https://discuz.dismall.com/home.php?mod=space&uid=859" target="_blank">Hypo 'cnteacher' Wang</a>,
|
||||
<a href="https://discuz.dismall.com/home.php?mod=space&uid=80629" target="_blank">Ning 'Monkey' Hou</a>,
|
||||
<a href="https://discuz.dismall.com/home.php?mod=space&uid=875919" target="_blank">Jie 'tom115701' Zhang</a>
|
||||
</em>
|
||||
</li>
|
||||
<li>
|
||||
<em>{lang home_safe_team}:</em>
|
||||
<em class="memcont">
|
||||
<a href="https://discuz.dismall.com/home.php?mod=space&uid=859" target="_blank">Hypo 'cnteacher' Wang</a>,
|
||||
<a href="https://discuz.dismall.com/home.php?mod=space&uid=492114" target="_blank">Liang 'Metthew' Xu</a>,
|
||||
<a href="https://discuz.dismall.com/home.php?mod=space&uid=285706" target="_blank">Wei (Sniffer) Yu</a>
|
||||
</em>
|
||||
</li>
|
||||
<li>
|
||||
<em>{lang home_supported_ui}:</em>
|
||||
<em class="memcont">
|
||||
<a href="https://discuz.dismall.com/home.php?mod=space&uid=294092" target="_blank">Fangming 'Lushnis' Li</a>,
|
||||
<a href="https://discuz.dismall.com/home.php?mod=space&uid=717854" target="_blank">Ruitao 'Pony.M' Ma</a>
|
||||
</em>
|
||||
</li>
|
||||
<li>
|
||||
<em>{lang home_supported_thanks}:</em>
|
||||
<em class="memcont">
|
||||
<a href="https://discuz.dismall.com/home.php?mod=space&uid=122246" target="_blank">Heyond</a>
|
||||
</em>
|
||||
</li>
|
||||
<li>
|
||||
<em>{lang home_dev_project_site}:</em>
|
||||
<em class="memcont"><a href="https://www.discuz.vip/" target="_blank">https://www.discuz.vip</a></em>
|
||||
</li>
|
||||
<li>
|
||||
<em>{lang home_dev_community}:</em>
|
||||
<em class="memcont"><a href="https://www.dismall.com/" target="_blank">https://www.dismall.com</a></em>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
$ucinfo
|
||||
|
||||
{template footer}
|
70
uc_server/view/default/admin_frame_menu.htm
Normal file
70
uc_server/view/default/admin_frame_menu.htm
Normal file
@@ -0,0 +1,70 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={UC_CHARSET}" />
|
||||
<title>UCenter Administrator's Control Panel</title>
|
||||
<style type="text/css">
|
||||
/* common */
|
||||
*{ word-wrap:break-word; outline:none; }
|
||||
body{ width:159px; background:#F2F9FD url(images/bg_repx_h.gif) right top no-repeat; color:#666; font:12px "Lucida Grande", Verdana, Lucida, Helvetica, Arial, "宋体" ,sans-serif; }
|
||||
body, ul{ margin:0; padding:0; }
|
||||
a{ color:#2366A8; text-decoration:none; }
|
||||
a:hover { text-decoration:underline; }
|
||||
.menu{ position:relative; z-index:20; }
|
||||
.menu ul{ position:absolute; top:10px; right:-1px !important; right:-2px; list-style:none; width:150px; background:#F2F9FD url(images/bg_repx_h.gif) right -20px no-repeat; }
|
||||
.menu li{ margin:3px 0; *margin:1px 0; height:auto !important; height:24px; overflow:hidden; font-size:14px; font-weight:700; }
|
||||
.menu li a{ display:block; margin-right:2px; padding:3px 0 2px 30px; *padding:4px 0 2px 30px; border:1px solid #F2F9FD; background:url(images/bg_repno.gif) no-repeat 10px -40px; color:#666; }
|
||||
.menu li a:hover{ text-decoration:none; margin-right:0; border:1px solid #B5CFD9; border-right:1px solid #FFF; background:#FFF; }
|
||||
.menu li a.tabon{ text-decoration:none; margin-right:0; border:1px solid #B5CFD9; border-right:1px solid #FFF; background:#FFF url(images/bg_repy.gif) repeat-y; color:#2366A8; }
|
||||
.footer{ position:absolute; z-index:10; right:13px; bottom:0; padding:5px 0; line-height:150%; background:url(images/bg_repx.gif) 0 -199px repeat-x; font-family:Arial, sans-serif; font-size:10px; -webkit-text-size-adjust: none; }
|
||||
</style>
|
||||
<meta content="Comsenz Inc." name="Copyright" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="menu">
|
||||
<ul id="leftmenu">
|
||||
<li><a href="{UC_ADMINSCRIPT}?m=frame&a=main" target="main" class="tabon">{lang menu_index}</a></li>
|
||||
<!--{if $user['isfounder'] || $user['allowadminsetting']}--><li><a href="{UC_ADMINSCRIPT}?m=setting&a=ls" target="main">{lang menu_basic_setting}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder'] || $user['allowadminsetting']}--><li><a href="{UC_ADMINSCRIPT}?m=setting&a=register" target="main">{lang menu_register_setting}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder'] || $user['allowadminsetting']}--><li><a href="{UC_ADMINSCRIPT}?m=setting&a=mail" target="main">{lang menu_mail_setting}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder'] || $user['allowadminapp']}--><li><a href="{UC_ADMINSCRIPT}?m=app&a=ls" target="main">{lang menu_application}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder'] || $user['allowadminuser']}--><li><a href="{UC_ADMINSCRIPT}?m=user&a=ls" target="main">{lang menu_manager_user}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=admin&a=ls" target="main">{lang menu_admin_user}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder'] || $user['allowadminpm']}--><li><a href="{UC_ADMINSCRIPT}?m=pm&a=ls" target="main">{lang menu_pm}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder'] || $user['allowadmincredits']}--><li><a href="{UC_ADMINSCRIPT}?m=credit&a=ls" target="main">{lang menu_credit_exchange}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder'] || $user['allowadminbadword']}--><li><a href="{UC_ADMINSCRIPT}?m=badword&a=ls" target="main">{lang menu_censor_word}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder'] || $user['allowadmindomain']}--><li><a href="{UC_ADMINSCRIPT}?m=domain&a=ls" target="main">{lang menu_domain_list}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder'] || $user['allowadmindb']}--><li><a href="{UC_ADMINSCRIPT}?m=db&a=ls" target="main">{lang menu_db}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=feed&a=ls" target="main">{lang menu_data_list}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder'] || $user['allowadmincache']}--><li><a href="{UC_ADMINSCRIPT}?m=cache&a=update" target="main">{lang menu_update_cache}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=plugin&a=filecheck" target="main">{lang plugin}</a></li><!--{/if}-->
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer">Powered by UCenter {UC_SERVER_VERSION}<br />{lang copyright}</div>
|
||||
<script type="text/javascript">
|
||||
function cleartabon() {
|
||||
if(lastmenu) {
|
||||
lastmenu.className = '';
|
||||
}
|
||||
for(var i = 0; i < menus.length; i++) {
|
||||
var menu = menus[i];
|
||||
if(menu.className == 'tabon') {
|
||||
lastmenu = menu;
|
||||
}
|
||||
}
|
||||
}
|
||||
var menus = document.getElementById('leftmenu').getElementsByTagName('a');
|
||||
var lastmenu = '';
|
||||
for(var i = 0; i < menus.length; i++) {
|
||||
var menu = menus[i];
|
||||
menu.onclick = function() {
|
||||
setTimeout('cleartabon()', 1);
|
||||
this.className = 'tabon';
|
||||
this.blur();
|
||||
}
|
||||
}
|
||||
|
||||
cleartabon();
|
||||
</script>
|
||||
|
||||
{template footer}
|
41
uc_server/view/default/admin_log.htm
Normal file
41
uc_server/view/default/admin_log.htm
Normal file
@@ -0,0 +1,41 @@
|
||||
{template header}
|
||||
|
||||
<div class="container">
|
||||
<h3 class="marginbot">
|
||||
<a href="{UC_ADMINSCRIPT}?m=feed&a=ls" class="sgbtn">{lang feed_list}</a>
|
||||
<!--{if $user['isfounder'] || $user['allowadminnote']}--><a href="{UC_ADMINSCRIPT}?m=note&a=ls" class="sgbtn">{lang note_list}</a><!--{/if}-->
|
||||
{lang menu_log}
|
||||
<a href="{UC_ADMINSCRIPT}?m=mail&a=ls" class="sgbtn">{lang mail_queue}</a>
|
||||
</h3>
|
||||
<div class="mainbox">
|
||||
<!--{if $loglist}-->
|
||||
<table class="datalist">
|
||||
<tr>
|
||||
<th>{lang log_operator}</th>
|
||||
<th>{lang log_ip}</th>
|
||||
<th>{lang log_time}</th>
|
||||
<th>{lang log_operation}</th>
|
||||
<th>{lang log_extra}</th>
|
||||
</tr>
|
||||
<!--{loop $loglist $log}-->
|
||||
<tr>
|
||||
<td><strong>$log[1]</strong></td>
|
||||
<td>$log[2]</td>
|
||||
<td>$log[3]</td>
|
||||
<td>$log[4]</td>
|
||||
<td>$log[5]</td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td class="tdpage" colspan="5">$multipage</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--{else}-->
|
||||
<div class="note">
|
||||
<p class="i">{lang list_empty}</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{template footer}
|
66
uc_server/view/default/admin_login.htm
Normal file
66
uc_server/view/default/admin_login.htm
Normal file
@@ -0,0 +1,66 @@
|
||||
{template header}
|
||||
<script type="text/javascript">
|
||||
function $(id) {
|
||||
return document.getElementById(id);
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="container">
|
||||
<form action="{UC_ADMINSCRIPT}?m=user&a=login" method="post" id="loginform" {if $iframe}target="_self"{else}target="_top"{/if}>
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<input type="hidden" name="seccodehidden" value="$seccodeinit" />
|
||||
<input type="hidden" name="iframe" value="{$iframe}" />
|
||||
<table class="mainbox">
|
||||
<tr>
|
||||
<td class="loginbox">
|
||||
<h1>UCenter</h1>
|
||||
<p>{lang login_tips}</p>
|
||||
</td>
|
||||
<td class="login">
|
||||
<!--{if $errorcode == UC_LOGIN_ERROR_FOUNDER_PW}--><div class="errormsg loginmsg"><p>{lang login_founder_incorrect}</p></div>
|
||||
<!--{elseif $errorcode == UC_LOGIN_ERROR_ADMIN_PW}--><div class="errormsg loginmsg"><p>{lang login_incorrect}</p></div>
|
||||
<!--{elseif $errorcode == UC_LOGIN_ERROR_ADMIN_NOT_EXISTS}--><div class="errormsg loginmsg"><p>{lang login_admin_noexists}</p></div>
|
||||
<!--{elseif $errorcode == UC_LOGIN_ERROR_SECCODE}--><div class="errormsg loginmsg"><p>{lang login_seccode_error}</p></div>
|
||||
<!--{elseif $errorcode == UC_LOGIN_ERROR_FAILEDLOGIN}--><div class="errormsg loginmsg"><p>{lang login_failedlogin}</p></div>
|
||||
<!--{/if}-->
|
||||
<p>
|
||||
<input type="radio" name="isfounder" value="1" class="radio" {if (isset($_POST['isfounder']) && $isfounder) || !isset($_POST['isfounder'])}checked="checked"{/if} onclick="changeuser('founder')" id="founder" /><label for="founder">{lang founder}</label>
|
||||
<input type="radio" name="isfounder" value="0" class="radio" {if (isset($_POST['isfounder']) && !$isfounder)}checked="checked"{/if} onclick="changeuser('manager')" id="admin" /><label for="admin">{lang admin_admin}</label>
|
||||
</p>
|
||||
<p id="usernamediv">{lang login_username}: <input type="text" name="username" class="txt" id="username" value="$username" /></p>
|
||||
<p>{lang login_password}: <input type="password" name="password" class="txt" id="password" value="$password" /></p>
|
||||
<p>{lang login_seccode}: <input type="text" name="seccode" class="txt seccode" id="seccode" value="" /><img width="70" height="21" src="{UC_ADMINSCRIPT}?m=seccode&seccodeauth=$seccodeinit&{eval echo rand();}" class="checkcode" /></p>
|
||||
<p class="loginbtn"><input type="submit" name="submit" value="{lang login_submit}" class="btn" /></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
{if (isset($_POST['isfounder']) && $isfounder) || !isset($_POST['isfounder'])}
|
||||
$('username').value='UCenter Administrator';
|
||||
$('username').disabled = true;
|
||||
$('username').readOnly = true;
|
||||
$('password').focus();
|
||||
{else}
|
||||
$('username').disabled = false;
|
||||
$('username').readOnly = false;
|
||||
$('username').focus();
|
||||
{/if}
|
||||
|
||||
function changeuser(user) {
|
||||
if(user == 'founder') {
|
||||
$('username').value='UCenter Administrator';
|
||||
$('username').readOnly = true;
|
||||
$('username').disabled = true;
|
||||
$('password').focus();
|
||||
} else if(user == 'manager') {
|
||||
$('username').value='';
|
||||
$('username').readOnly = false;
|
||||
$('username').disabled = false;
|
||||
$('username').focus();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<div class="footer">Powered by UCenter {UC_SERVER_VERSION} {lang copyright}</div>
|
||||
{template footer}
|
53
uc_server/view/default/admin_mail.htm
Normal file
53
uc_server/view/default/admin_mail.htm
Normal file
@@ -0,0 +1,53 @@
|
||||
{template header}
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
<div class="container">
|
||||
<h3 class="marginbot">
|
||||
<a href="{UC_ADMINSCRIPT}?m=feed&a=ls" class="sgbtn">{lang feed_list}</a>
|
||||
<!--{if $user['isfounder'] || $user['allowadminnote']}--><a href="{UC_ADMINSCRIPT}?m=note&a=ls" class="sgbtn">{lang note_list}</a><!--{/if}-->
|
||||
<!--{if $user['isfounder'] || $user['allowadminlog']}--><a href="{UC_ADMINSCRIPT}?m=log&a=ls" class="sgbtn">{lang menu_log}</a><!--{/if}-->
|
||||
{lang mail_queue}
|
||||
</h3>
|
||||
<!--{if $status == 2}-->
|
||||
<div class="correctmsg"><p>{lang mail_list_updated}</p></div>
|
||||
<!--{/if}-->
|
||||
<div class="mainbox">
|
||||
<!--{if $maillist}-->
|
||||
<form action="{UC_ADMINSCRIPT}?m=mail&a=ls" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="datalist" onmouseover="addMouseEvent(this);" style="table-layout:fixed">
|
||||
<tr>
|
||||
<th width="60"><input type="checkbox" name="chkall" id="chkall" onclick="checkall('delete[]')" class="checkbox" /><label for="chkall">{lang mail_delete}</label></th>
|
||||
<th width="130">{lang mail_subject}</th>
|
||||
<th width="60">{lang mail_to_username}</th>
|
||||
<th width="80">{lang mail_add_time}</th>
|
||||
<th width="140">{lang mail_failures}</th>
|
||||
<th width="100">{lang mail_from_app}</th>
|
||||
<th width="60">{lang mail_operate}</th>
|
||||
</tr>
|
||||
<!--{loop $maillist $mail}-->
|
||||
<tr>
|
||||
<td><input type="checkbox" name="delete[]" value="$mail[mailid]" class="checkbox" /></td>
|
||||
<td>{$mail[subject]}</td>
|
||||
<td><a href="mailto:{$mail[email]}">{if $mail[username]}{$mail[username]}{else}{lang anonymity}{/if}</td>
|
||||
<td>{$mail[dateline]}</td>
|
||||
<td>{$mail[failures]}</td>
|
||||
<td>{$mail[appname]}</td>
|
||||
<td><a href="{UC_ADMINSCRIPT}?m=mail&a=send&mailid={$mail[mailid]}">{lang mail_send}</a></td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
<td class="tdpage" colspan="{eval echo count($applist) + 4;}">$multipage</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--{else}-->
|
||||
<div class="mail">
|
||||
<p class="i">{lang list_empty}</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{template footer}
|
60
uc_server/view/default/admin_note.htm
Normal file
60
uc_server/view/default/admin_note.htm
Normal file
@@ -0,0 +1,60 @@
|
||||
{template header}
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
<div class="container">
|
||||
<h3 class="marginbot">
|
||||
<a href="{UC_ADMINSCRIPT}?m=feed&a=ls" class="sgbtn">{lang feed_list}</a>
|
||||
{lang note_list}
|
||||
<!--{if $user['isfounder'] || $user['allowadminlog']}--><a href="{UC_ADMINSCRIPT}?m=log&a=ls" class="sgbtn">{lang menu_log}</a><!--{/if}-->
|
||||
<a href="{UC_ADMINSCRIPT}?m=mail&a=ls" class="sgbtn">{lang mail_queue}</a>
|
||||
</h3>
|
||||
<!--{if $status == 2}-->
|
||||
<div class="correctmsg"><p>{lang note_list_updated}</p></div>
|
||||
<!--{/if}-->
|
||||
<div class="mainbox">
|
||||
<!--{if $notelist}-->
|
||||
<form action="{UC_ADMINSCRIPT}?m=note&a=ls" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="datalist" onmouseover="addMouseEvent(this);" style="table-layout:fixed">
|
||||
<tr>
|
||||
<th width="60"><input type="checkbox" name="chkall" id="chkall" onclick="checkall('delete[]')" class="checkbox" /><label for="chkall">{lang note_delete}</label></th>
|
||||
<th width="130">{lang note_operation}</th>
|
||||
<th width="60">{lang note_times}</th>
|
||||
<th width="50">{lang note_param}</th>
|
||||
<th width="140">{lang note_last_note_time}</th>
|
||||
<!--{loop $applist $app}-->
|
||||
<!--{if $app['recvnote']}-->
|
||||
<th width="100">$app[name]</th>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
</tr>
|
||||
<!--{loop $notelist $note}-->
|
||||
{eval $debuginfo = dhtmlspecialchars(str_replace(array("\n", "\r", "'"), array('', '', "\'"), $note['getdata'].$note['postdata2'])); }
|
||||
<tr>
|
||||
<td><input type="checkbox" name="delete[]" value="$note[noteid]" class="checkbox" /></td>
|
||||
<td><strong>$note[operation]</strong></td>
|
||||
<td>$note[totalnum]</td>
|
||||
<td><a href="###" onclick="alert('$debuginfo');">{lang note_view}</a></td>
|
||||
<td>$note[dateline]</td>
|
||||
<!--{loop $applist $appid $app}-->
|
||||
<!--{if $app['recvnote']}-->
|
||||
<td>$note[status][$appid]</td>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
<td class="tdpage" colspan="{eval echo count($applist) + 4;}">$multipage</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--{else}-->
|
||||
<div class="note">
|
||||
<p class="i">{lang list_empty}</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{template footer}
|
31
uc_server/view/default/admin_pm_clear.htm
Normal file
31
uc_server/view/default/admin_pm_clear.htm
Normal file
@@ -0,0 +1,31 @@
|
||||
{template header}
|
||||
|
||||
<div class="container">
|
||||
<!--{if $status}-->
|
||||
<div class="correctmsg"><p>{lang clearpm_deleted}: $delnum</p></div>
|
||||
<!--{/if}-->
|
||||
<div class="hastabmenu" style="height: 180px;">
|
||||
<ul class="tabmenu">
|
||||
<li><a href="{UC_ADMINSCRIPT}?m=pm&a=ls">{lang pm_search}</a></li>
|
||||
<li class="tabcurrent"><a href="javascript:;" class="tabcurrent">{lang pm_clear}</a></li>
|
||||
</ul>
|
||||
<div class="tabcontentcur">
|
||||
<form action="{UC_ADMINSCRIPT}?m=pm&a=clear" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="opt">
|
||||
<tr>
|
||||
<th>{lang clearpm_usernames}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{lang clearpm_usernames_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="usernames"> <input type="submit" name="submit" value=" {lang submit} " class="btn" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{template footer}
|
94
uc_server/view/default/admin_pm_search.htm
Normal file
94
uc_server/view/default/admin_pm_search.htm
Normal file
@@ -0,0 +1,94 @@
|
||||
{template header}
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
<script src="js/calendar.js" type="text/javascript"></script>
|
||||
|
||||
<div class="container">
|
||||
<div class="hastabmenu" style="height: 200px;">
|
||||
<ul class="tabmenu">
|
||||
<li class="tabcurrent"><a href="javascript:;" class="tabcurrent">{lang pm_search}</a></li>
|
||||
<li><a href="{UC_ADMINSCRIPT}?m=pm&a=clear">{lang pm_clear}</a></li>
|
||||
</ul>
|
||||
<div id="searchpmdiv" class="tabcontentcur">
|
||||
<form action="{UC_ADMINSCRIPT}?m=pm&a=ls" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="dbtb">
|
||||
<tr>
|
||||
<th class="tbtitle">{lang pm_auhtor}:</th>
|
||||
<td><input type="text" name="srchauthor" class="txt" value="$srchauthor" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="tbtitle">{lang pm_message}:</th>
|
||||
<td><input type="text" name="srchmessage" class="txt" value="$srchmessage" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="tbtitle">{lang pm_dateline}:</th>
|
||||
<td><input type="text" name="srchstarttime" class="txt" style="margin-right: 0;" value="$srchstarttime" onclick="showcalendar();" /> - <input type="text" name="srchendtime" class="txt" value="$srchendtime" onclick="showcalendar();" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="tbtitle">{lang pm_whichtable}:</th>
|
||||
<td>
|
||||
<select name="srchtablename">
|
||||
<option value="0"{if $srchtablename === 0} selected="selected"{/if}>pm_messages_0</option>
|
||||
<option value="1"{if $srchtablename == 1} selected="selected"{/if}>pm_messages_1</option>
|
||||
<option value="2"{if $srchtablename == 2} selected="selected"{/if}>pm_messages_2</option>
|
||||
<option value="3"{if $srchtablename == 3} selected="selected"{/if}>pm_messages_3</option>
|
||||
<option value="4"{if $srchtablename == 4} selected="selected"{/if}>pm_messages_4</option>
|
||||
<option value="5"{if $srchtablename == 5} selected="selected"{/if}>pm_messages_5</option>
|
||||
<option value="6"{if $srchtablename == 6} selected="selected"{/if}>pm_messages_6</option>
|
||||
<option value="7"{if $srchtablename == 7} selected="selected"{/if}>pm_messages_7</option>
|
||||
<option value="8"{if $srchtablename == 8} selected="selected"{/if}>pm_messages_8</option>
|
||||
<option value="9"{if $srchtablename == 9} selected="selected"{/if}>pm_messages_9</option>
|
||||
</select>
|
||||
{lang clearpm_totalnum}: $pmnum
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td><input type="submit" value="{lang submit}" class="btn" name="searchpmsubmit" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>{lang pm_list}</h3>
|
||||
<div class="mainbox">
|
||||
<!--{if $pmlist}-->
|
||||
<form action="{UC_ADMINSCRIPT}?m=pm&a=delete" onsubmit="return confirm('{lang pm_delete_confirm}');" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<input type="hidden" name="srchtablename" value="$srchtablename">
|
||||
<input type="hidden" name="srchauthor" value="$srchauthor">
|
||||
<input type="hidden" name="srchstarttime" value="$srchstarttime">
|
||||
<input type="hidden" name="srchendtime" value="$srchendtime">
|
||||
<input type="hidden" name="srchmessage" value="$srchmessage">
|
||||
<table class="datalist fixwidth" onmouseover="addMouseEvent(this);">
|
||||
<tr>
|
||||
<th width="60"><input type="checkbox" name="chkall" id="chkall" onclick="checkall('deletepmid[]')" class="checkbox" /><label for="chkall">{lang delete}</label></th>
|
||||
<th width="150">{lang pm_author}</th>
|
||||
<th width="120">{lang dateline}</th>
|
||||
<th>{lang pm_message}</th>
|
||||
</tr>
|
||||
<!--{loop $pmlist $pm}-->
|
||||
<tr>
|
||||
<td><input type="checkbox" name="deletepmid[]" value="$pm[pmid]" class="checkbox" /></td>
|
||||
<td><img src="avatar.php?uid=$pm[authorid]&size=small" align="absmiddle" width="20" /> <strong>$pm[author]</strong></td>
|
||||
<td>$pm[dateline]</td>
|
||||
<td>$pm[message]</td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
<td class="tdpage" colspan="3">$multipage</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--{else}-->
|
||||
<div class="note">
|
||||
<p class="i">{lang list_empty}</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{template footer}
|
345
uc_server/view/default/admin_setting.htm
Normal file
345
uc_server/view/default/admin_setting.htm
Normal file
@@ -0,0 +1,345 @@
|
||||
{template header}
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
|
||||
<div class="container">
|
||||
<!--{if $updated}-->
|
||||
<div class="correctmsg"><p>{lang update_succeed}</p></div>
|
||||
<!--{elseif $a == 'register'}-->
|
||||
<div class="note fixwidthdec"><p class="i">{lang setting_register_tips}</p></div>
|
||||
<!--{/if}-->
|
||||
<!--{if $a == 'ls'}-->
|
||||
<div class="mainbox nomargin">
|
||||
<form action="{UC_ADMINSCRIPT}?m=setting&a=ls" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="opt">
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_dateformat}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="dateformat" value="$dateformat" /></td>
|
||||
<td>{lang setting_dateformat_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_timeformat}:</th>
|
||||
</tr>
|
||||
<td>
|
||||
<input type="radio" id="hr24" class="radio" name="timeformat" value="1" $timeformat[1] /><label for="hr24">{lang setting_timeformat_hr24}</label>
|
||||
<input type="radio" id="hr12" class="radio" name="timeformat" value="0" $timeformat[0] /><label for="hr12">{lang setting_timeformat_hr12}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_timeoffset}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<select name="timeoffset">
|
||||
<option value="-12" $checkarray['012']>(GMT -12:00) Eniwetok, Kwajalein</option>
|
||||
<option value="-11" $checkarray['011']>(GMT -11:00) Midway Island, Samoa</option>
|
||||
<option value="-10" $checkarray['010']>(GMT -10:00) Hawaii</option>
|
||||
<option value="-9" $checkarray['09']>(GMT -09:00) Alaska</option>
|
||||
<option value="-8" $checkarray['08']>(GMT -08:00) Pacific Time (US & Canada), Tijuana</option>
|
||||
<option value="-7" $checkarray['07']>(GMT -07:00) Mountain Time (US & Canada), Arizona</option>
|
||||
<option value="-6" $checkarray['06']>(GMT -06:00) Central Time (US & Canada), Mexico City</option>
|
||||
<option value="-5" $checkarray['05']>(GMT -05:00) Eastern Time (US & Canada), Bogota, Lima, Quito</option>
|
||||
<option value="-4" $checkarray['04']>(GMT -04:00) Atlantic Time (Canada), Caracas, La Paz</option>
|
||||
<option value="-3.5" $checkarray['03.5']>(GMT -03:30) Newfoundland</option>
|
||||
<option value="-3" $checkarray['03']>(GMT -03:00) Brassila, Buenos Aires, Georgetown, Falkland Is</option>
|
||||
<option value="-2" $checkarray['02']>(GMT -02:00) Mid-Atlantic, Ascension Is., St. Helena</option>
|
||||
<option value="-1" $checkarray['01']>(GMT -01:00) Azores, Cape Verde Islands</option>
|
||||
<option value="0" $checkarray['0']>(GMT) Casablanca, Dublin, Edinburgh, London, Lisbon, Monrovia</option>
|
||||
<option value="1" $checkarray['1']>(GMT +01:00) Amsterdam, Berlin, Brussels, Madrid, Paris, Rome</option>
|
||||
<option value="2" $checkarray['2']>(GMT +02:00) Cairo, Helsinki, Kaliningrad, South Africa</option>
|
||||
<option value="3" $checkarray['3']>(GMT +03:00) Baghdad, Riyadh, Moscow, Nairobi</option>
|
||||
<option value="3.5" $checkarray['3.5']>(GMT +03:30) Tehran</option>
|
||||
<option value="4" $checkarray['4']>(GMT +04:00) Abu Dhabi, Baku, Muscat, Tbilisi</option>
|
||||
<option value="4.5" $checkarray['4.5']>(GMT +04:30) Kabul</option>
|
||||
<option value="5" $checkarray['5']>(GMT +05:00) Ekaterinburg, Islamabad, Karachi, Tashkent</option>
|
||||
<option value="5.5" $checkarray['5.5']>(GMT +05:30) Bombay, Calcutta, Madras, New Delhi</option>
|
||||
<option value="5.75" $checkarray['5.75']>(GMT +05:45) Katmandu</option>
|
||||
<option value="6" $checkarray['6']>(GMT +06:00) Almaty, Colombo, Dhaka, Novosibirsk</option>
|
||||
<option value="6.5" $checkarray['6.5']>(GMT +06:30) Rangoon</option>
|
||||
<option value="7" $checkarray['7']>(GMT +07:00) Bangkok, Hanoi, Jakarta</option>
|
||||
<option value="8" $checkarray['8']>(GMT +08:00) 北京(Beijing), Hong Kong, Perth, Singapore, Taipei</option>
|
||||
<option value="9" $checkarray['9']>(GMT +09:00) Osaka, Sapporo, Seoul, Tokyo, Yakutsk</option>
|
||||
<option value="9.5" $checkarray['9.5']>(GMT +09:30) Adelaide, Darwin</option>
|
||||
<option value="10" $checkarray['10']>(GMT +10:00) Canberra, Guam, Melbourne, Sydney, Vladivostok</option>
|
||||
<option value="11" $checkarray['11']>(GMT +11:00) Magadan, New Caledonia, Solomon Islands</option>
|
||||
<option value="12" $checkarray['12']>(GMT +12:00) Auckland, Wellington, Fiji, Marshall Island</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>{lang setting_timeoffset_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_user_failedtime}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="login_failedtime" value="$login_failedtime" /></td>
|
||||
<td>{lang setting_user_failedtime_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_pmsendregdays}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="pmsendregdays" value="$pmsendregdays" /></td>
|
||||
<td>{lang setting_pmsendregdays_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_privatepmthreadlimit}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="privatepmthreadlimit" value="$privatepmthreadlimit" /></td>
|
||||
<td>{lang setting_privatepmthreadlimit_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_chatpmthreadlimit}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="chatpmthreadlimit" value="$chatpmthreadlimit" /></td>
|
||||
<td>{lang setting_chatpmthreadlimit_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_chatpmmemberlimit}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="chatpmmemberlimit" value="$chatpmmemberlimit" /></td>
|
||||
<td>{lang setting_chatpmmemberlimit_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_pmfloodctrl}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="pmfloodctrl" value="$pmfloodctrl" /></td>
|
||||
<td>{lang setting_pmfloodctrl_comment}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_pmcenter}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" id="pmcenteryes" class="radio" name="pmcenter" value="1" $pmcenter[1] onclick="$('hidden1').style.display=''" /><label for="pmcenteryes">{lang yes}</label>
|
||||
<input type="radio" id="pmcenterno" class="radio" name="pmcenter" value="0" $pmcenter[0] onclick="$('hidden1').style.display='none'" /><label for="pmcenterno">{lang no}</label>
|
||||
</td>
|
||||
<td>{lang setting_pmcenter_comment}</td>
|
||||
</tr>
|
||||
<tbody id="hidden1" $pmcenter[display]>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_sendpmseccode}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" id="sendpmseccodeyes" class="radio" name="sendpmseccode" value="1" $sendpmseccode[1] /><label for="sendpmseccodeyes">{lang yes}</label>
|
||||
<input type="radio" id="sendpmseccodeno" class="radio" name="sendpmseccode" value="0" $sendpmseccode[0] /><label for="sendpmseccodeno">{lang no}</label>
|
||||
</td>
|
||||
<td>{lang setting_sendpmseccode_comment}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_addappbyurl}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" id="addappbyurlyes" class="radio" name="addappbyurl" value="1" $addappbyurl[1] /><label for="addappbyurlyes">{lang yes}</label>
|
||||
<input type="radio" id="addappbyurlno" class="radio" name="addappbyurl" value="0" $addappbyurl[0] /><label for="addappbyurlno">{lang no}</label>
|
||||
</td>
|
||||
<td>{lang setting_addappbyurl_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_insecureoperation}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" id="insecureoperationyes" class="radio" name="insecureoperation" value="1" $insecureoperation[1] /><label for="insecureoperationyes">{lang yes}</label>
|
||||
<input type="radio" id="insecureoperationno" class="radio" name="insecureoperation" value="0" $insecureoperation[0] /><label for="insecureoperationno">{lang no}</label>
|
||||
</td>
|
||||
<td>{lang setting_insecureoperation_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_passwordalgo}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="passwordalgo" value="$passwordalgo" /></td>
|
||||
<td>{lang setting_passwordalgo_comment}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_passwordoptions}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" class="txt" name="passwordoptions" value="$passwordoptions" /></td>
|
||||
<td>{lang setting_passwordoptions_comment}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="opt"><input type="submit" name="submit" value=" {lang submit} " class="btn" /></div>
|
||||
</form>
|
||||
</div>
|
||||
<!--{elseif $a == 'register'}-->
|
||||
<div class="mainbox nomargin">
|
||||
<form action="{UC_ADMINSCRIPT}?m=setting&a=register" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="opt">
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_register_doublee}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" id="yes" class="radio" name="doublee" value="1" $doublee[1] /><label for="yes">{lang yes}</label>
|
||||
<input type="radio" id="no" class="radio" name="doublee" value="0" $doublee[0] /><label for="no">{lang no}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_register_accessemail}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><textarea class="area" name="accessemail">$accessemail</textarea></td>
|
||||
<td valign="top">{lang setting_register_accessemail_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_register_censoremail}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><textarea class="area" name="censoremail">$censoremail</textarea></td>
|
||||
<td valign="top">{lang setting_register_censoremail_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang setting_forbidden_username}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><textarea class="area" name="censorusername">$censorusername</textarea></td>
|
||||
<td valign="top">{lang setting_ceonsor_comment}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="opt"><input type="submit" name="submit" value=" {lang submit} " class="btn" /></div>
|
||||
</form>
|
||||
</div>
|
||||
<!--{else}-->
|
||||
<div class="mainbox nomargin">
|
||||
<form action="{UC_ADMINSCRIPT}?m=setting&a=mail" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="opt">
|
||||
<tr>
|
||||
<th colspan="2">{lang settings_mail_settings_emailfrom}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input name="maildefault" value="{$maildefault}" type="text"></td>
|
||||
<td>{lang settings_mail_settings_emailfrom_comment}</td>
|
||||
<tr>
|
||||
<th colspan="2">{lang settings_mail_settings_send}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<label><input class="radio" name="mailsend" value="1"{if $mailsend == 1} checked="checked"{/if} onclick="$('hidden1').style.display = 'none';$('hidden2').style.display = 'none';" type="radio"> {lang settings_mail_settings_send_1}</label><br />
|
||||
<label><input class="radio" name="mailsend" value="2"{if $mailsend == 2} checked="checked"{/if} onclick="$('hidden1').style.display = '';$('hidden2').style.display = '';" type="radio"> {lang settings_mail_settings_send_2}</label><br />
|
||||
<label><input class="radio" name="mailsend" value="3"{if $mailsend == 3} checked="checked"{/if} onclick="$('hidden1').style.display = '';$('hidden2').style.display = 'none';" type="radio"> {lang settings_mail_settings_send_3}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tbody id="hidden1"{if $mailsend == 1} style="display:none"{/if}>
|
||||
<tr>
|
||||
<td colspan="2">{lang settings_mail_settings_server}:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input name="mailserver" value="{$mailserver}" class="txt" type="text">
|
||||
</td>
|
||||
<td valign="top">{lang settings_mail_settings_server_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">{lang settings_mail_settings_port}:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input name="mailport" value="{$mailport}" type="text">
|
||||
</td>
|
||||
<td valign="top">{lang settings_mail_settings_port_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">{lang settings_mail_settings_timeout}:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input name="mailtimeout" value="{$mailtimeout}" type="text">
|
||||
</td>
|
||||
<td valign="top">{lang settings_mail_settings_timeout_comment}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="hidden2"{if $mailsend == 1 || $mailsend == 3} style="display:none"{/if}>
|
||||
<tr>
|
||||
<td colspan="2">{lang settings_mail_settings_auth}:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label><input type="radio" class="radio" name="mailauth"{if $mailauth == 1} checked="checked"{/if} value="1" />{lang yes}</label>
|
||||
<label><input type="radio" class="radio" name="mailauth"{if $mailauth == 0} checked="checked"{/if} value="0" />{lang no}</label>
|
||||
</td>
|
||||
<td valign="top">{lang settings_mail_settings_auth_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">{lang settings_mail_settings_from}:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input name="mailfrom" value="{$mailfrom}" class="txt" type="text">
|
||||
</td>
|
||||
<td valign="top">{lang settings_mail_settings_from_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">{lang settings_mail_settings_username}:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input name="mailauth_username" value="{$mailauth_username}" type="text">
|
||||
</td>
|
||||
<td valign="top"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">{lang settings_mail_settings_password}:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input name="mailauth_password" value="{$mailauth_password}" type="text">
|
||||
</td>
|
||||
<td valign="top"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tr>
|
||||
<th colspan="2">{lang settings_mail_settings_delimiter}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label><input class="radio" name="maildelimiter"{if $maildelimiter == 1} checked="checked"{/if} value="1" type="radio"> {lang settings_mail_settings_delimiter_crlf}</label><br />
|
||||
<label><input class="radio" name="maildelimiter"{if $maildelimiter == 0} checked="checked"{/if} value="0" type="radio"> {lang settings_mail_settings_delimiter_lf}</label><br />
|
||||
<label><input class="radio" name="maildelimiter"{if $maildelimiter == 2} checked="checked"{/if} value="2" type="radio"> {lang settings_mail_settings_delimiter_cr}</label>
|
||||
</td>
|
||||
<td>
|
||||
{lang settings_mail_settings_delimiter_comment}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang settings_mail_settings_includeuser}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label><input type="radio" class="radio" name="mailusername"{if $mailusername == 1} checked="checked"{/if} value="1" />{lang yes}</label>
|
||||
<label><input type="radio" class="radio" name="mailusername"{if $mailusername == 0} checked="checked"{/if} value="0" />{lang no}</label>
|
||||
</td>
|
||||
<td valign="top">{lang settings_mail_settings_includeuser_comment}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{lang settings_mail_settings_silent}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label><input type="radio" class="radio" name="mailsilent"{if $mailsilent == 1} checked="checked"{/if} value="1" />{lang yes}</label>
|
||||
<label><input type="radio" class="radio" name="mailsilent"{if $mailsilent == 0} checked="checked"{/if} value="0" />{lang no}</label>
|
||||
</td>
|
||||
<td valign="top"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="opt"><input type="submit" name="submit" value=" {lang submit} " class="btn" /></div>
|
||||
</form>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
{template footer}
|
61
uc_server/view/default/admin_tag.htm
Normal file
61
uc_server/view/default/admin_tag.htm
Normal file
@@ -0,0 +1,61 @@
|
||||
{template header}
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
<div class="container">
|
||||
<!--{if $a == 'ls'}-->
|
||||
<h3 class="marginbot">{lang menu_tag_templates}</h3>
|
||||
<div class="mainbox">
|
||||
<!--{if $applist}-->
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="datalist fixwidth">
|
||||
<tr>
|
||||
<th nowrap>{lang app_id}</th>
|
||||
<th nowrap>{lang app_name}</th>
|
||||
</tr>
|
||||
<!--{loop $applist $app}-->
|
||||
<tr>
|
||||
<td width="35">$app[appid]</td>
|
||||
<td><a href="{UC_ADMINSCRIPT}?m=tag&a=detail&appid=$app[appid]"><strong>$app[name]</strong></a></td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
</table>
|
||||
<div class="margintop"></div>
|
||||
<!--{else}-->
|
||||
<div class="note">
|
||||
<p class="i">{lang list_empty}</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<!--{elseif $a == 'detail'}-->
|
||||
<h3 class="marginbot">{lang menu_tag_templates}<a href="{UC_ADMINSCRIPT}?m=tag&a=ls" class="sgbtn">{lang app_list_return}</a></h3>
|
||||
<div class="note fixwidthdec">
|
||||
<p>{lang tag_tips}</p></div>
|
||||
|
||||
<div class="mainbox">
|
||||
<form action="{UC_ADMINSCRIPT}?m=tag&a=detail&appid=$appid" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="opt">
|
||||
<tr>
|
||||
<th colspan="2">{lang app_name}: $appname</th>
|
||||
</th>
|
||||
<tr>
|
||||
<th colspan="2">{lang tag_global_template}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><textarea class="bigarea" style="float:left;width:400px;height:200px" name="templatenew">$template</textarea></td>
|
||||
<td valign="top">
|
||||
<!--{loop $fields $field $memo}-->
|
||||
<b>{$field}</b> $memo<br />
|
||||
<!--{/loop}-->
|
||||
<b>[node]...[/node]</b> {lang tag_template_comment}<br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="nobg">
|
||||
<td colspan="2"><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
|
||||
{template footer}
|
197
uc_server/view/default/admin_user.htm
Normal file
197
uc_server/view/default/admin_user.htm
Normal file
@@ -0,0 +1,197 @@
|
||||
{template header}
|
||||
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
<script src="js/calendar.js" type="text/javascript"></script>
|
||||
|
||||
<!--{if $a == 'ls'}-->
|
||||
|
||||
<script type="text/javascript">
|
||||
function switchbtn(btn) {
|
||||
$('srchuserdiv').style.display = btn == 'srch' ? '' : 'none';
|
||||
$('srchuserdiv').className = btn == 'srch' ? 'tabcontentcur' : '' ;
|
||||
$('srchuserbtn').className = btn == 'srch' ? 'tabcurrent' : '';
|
||||
$('adduserdiv').style.display = btn == 'srch' ? 'none' : '';
|
||||
$('adduserdiv').className = btn == 'srch' ? '' : 'tabcontentcur';
|
||||
$('adduserbtn').className = btn == 'srch' ? '' : 'tabcurrent';
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="container">
|
||||
<!--{if $status}-->
|
||||
<div class="{if $status > 0}correctmsg{else}errormsg{/if}"><p>{if $status < 0}<em>{lang user_add_failed}:</em> {/if}{if $status == 2}{lang user_delete_succeed}{elseif $status == 1}{lang user_add_succeed}{elseif $status == -1}{lang user_add_username_ignore}{elseif $status == -2}{lang user_add_username_badwords}{elseif $status == -3}{lang user_add_username_exists}{elseif $status == -4}{lang user_add_email_formatinvalid}{elseif $status == -5}{lang user_add_email_ignore}{elseif $status == -6}{lang user_add_email_exists}{/if}</p></div>
|
||||
<!--{/if}-->
|
||||
<div class="hastabmenu">
|
||||
<ul class="tabmenu">
|
||||
<li id="srchuserbtn" class="tabcurrent"><a href="#" onclick="switchbtn('srch')">{lang user_search}</a></li>
|
||||
<li id="adduserbtn"><a href="#" onclick="switchbtn('add')">{lang user_add}</a></li>
|
||||
</ul>
|
||||
<div id="adduserdiv" class="tabcontent" style="display:none;">
|
||||
<form action="{UC_ADMINSCRIPT}?m=user&a=ls&adduser=yes" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td>{lang user_name}:</td>
|
||||
<td><input type="text" name="addname" class="txt" /></td>
|
||||
<td>{lang user_password}:</td>
|
||||
<td><input type="text" name="addpassword" class="txt" /></td>
|
||||
<td>{lang email}:</td>
|
||||
<td><input type="text" name="addemail" class="txt" /></td>
|
||||
<td><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div id="srchuserdiv" class="tabcontentcur">
|
||||
<form action="{UC_ADMINSCRIPT}?m=user&a=ls" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td>{lang user_name}:</td>
|
||||
<td><input type="text" name="srchname" value="$srchname" class="txt" /></td>
|
||||
<td>UID:</td>
|
||||
<td><input type="text" name="srchuid" value="$srchuid" class="txt" /></td>
|
||||
<td>{lang email}:</td>
|
||||
<td><input type="text" name="srchemail" value="$srchemail" class="txt" /></td>
|
||||
<td rowspan="2"><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{lang user_regdate}:</td>
|
||||
<td colspan="3"><input type="text" name="srchregdatestart" onclick="showcalendar();" value="$srchregdatestart" class="txt" /> {lang to} <input type="text" name="srchregdateend" onclick="showcalendar();" value="$srchregdateend" class="txt" /></td>
|
||||
<td>{lang user_regip}:</td>
|
||||
<td><input type="text" name="srchregip" value="$srchregip" class="txt" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{if $adduser}--><script type="text/javascript">switchbtn('add');</script><!--{/if}-->
|
||||
<br />
|
||||
<h3 class="marginbot">
|
||||
{lang user_list}
|
||||
<a class="sgbtn" href="{UC_ADMINSCRIPT}?m=user&a=logls">{lang menu_log}</a>
|
||||
</h3>
|
||||
<div class="mainbox">
|
||||
<!--{if $userlist}-->
|
||||
<form action="{UC_ADMINSCRIPT}?m=user&a=ls&srchname=$srchname" onsubmit="return confirm('{lang user_delete_confirm}');" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="datalist fixwidth" onmouseover="addMouseEvent(this);">
|
||||
<tr>
|
||||
<th><input type="checkbox" name="chkall" id="chkall" onclick="checkall('delete[]')" class="checkbox" /><label for="chkall">{lang delete}</label></th>
|
||||
<th>{lang user_name}</th>
|
||||
<th>{lang email}</th>
|
||||
<th>{lang user_regdate}</th>
|
||||
<th>{lang user_regip}</th>
|
||||
<th>{lang edit}</th>
|
||||
</tr>
|
||||
<!--{loop $userlist $user}-->
|
||||
<tr>
|
||||
<td class="option"><input type="checkbox" name="delete[]" value="$user[uid]" class="checkbox" /> $user[smallavatar]</td>
|
||||
<td><strong>$user[username]</strong></td>
|
||||
<td>$user[email]</td>
|
||||
<td>$user[regdate]</td>
|
||||
<td>$user[regip]</td>
|
||||
<td><a href="{UC_ADMINSCRIPT}?m=user&a=edit&uid=$user[uid]">{lang edit}</a></td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td><input type="submit" value="{lang submit}" class="btn" /></td>
|
||||
<td class="tdpage" colspan="6">$multipage</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--{else}-->
|
||||
<div class="note">
|
||||
<p class="i">{lang list_empty}</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--{else}-->
|
||||
|
||||
<div class="container">
|
||||
<h3 class="marginbot">{lang user_edit_profile}
|
||||
{if getgpc('fromadmin')}
|
||||
<a href="{UC_ADMINSCRIPT}?m=admin&a=ls" class="sgbtn">{lang admin_return_admin_ls}</a>
|
||||
{else}
|
||||
<a href="{UC_ADMINSCRIPT}?m=user&a=ls" class="sgbtn">{lang admin_return_user_ls}</a>
|
||||
{/if}
|
||||
</h3>
|
||||
<!--{if $status == 1}-->
|
||||
<div class="correctmsg"><p>{lang user_edit_profile_sucessfully}</p></div>
|
||||
<!--{elseif $status == -1}-->
|
||||
<div class="correctmsg"><p>{lang user_edit_profile_failed}</p></div>
|
||||
<!--{else}-->
|
||||
<div class="note"><p class="i">{lang user_keep_blank}</p></div>
|
||||
<!--{/if}-->
|
||||
<div class="mainbox">
|
||||
<form action="{UC_ADMINSCRIPT}?m=user&a=edit&uid=$uid" method="post">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<table class="opt">
|
||||
<tr>
|
||||
<th>{lang user_avatar}: <input name="delavatar" class="checkbox" type="checkbox" value="1" /> {lang delete_avatar}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{lang user_avatar_virtual}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>$user[bigavatar]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{lang user_avatar_real}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>$user[bigavatarreal]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{lang login_username}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="newusername" value="$user[username]" class="txt" />
|
||||
<input type="hidden" name="username" value="$user[username]" class="txt" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{lang login_password}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="password" value="" class="txt" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{lang login_secques}: <input type="checkbox" class="checkbox" name="rmrecques" value="1" /> {lang login_remove_secques}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Email:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="email" value="$user[email]" class="txt" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{lang secmobicc}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="secmobicc" value="$user[secmobicc]" class="txt" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{lang secmobile}:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="secmobile" value="$user[secmobile]" class="txt" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="opt"><input type="submit" name="submit" value=" {lang submit} " class="btn" /></div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
{template footer}
|
37
uc_server/view/default/admin_user_log.htm
Normal file
37
uc_server/view/default/admin_user_log.htm
Normal file
@@ -0,0 +1,37 @@
|
||||
{template header}
|
||||
|
||||
<div class="container">
|
||||
<h3 class="marginbot">
|
||||
<a class="sgbtn" href="{UC_ADMINSCRIPT}?m=user&a=ls">{lang user_list}</a>
|
||||
{lang menu_log}
|
||||
</h3>
|
||||
<div class="mainbox">
|
||||
<!--{if $userlog}-->
|
||||
<table class="datalist">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>UID</th>
|
||||
<th>{lang log_operation}</th>
|
||||
<th>{lang log_extra}</th>
|
||||
</tr>
|
||||
<!--{loop $userlog $log}-->
|
||||
<tr>
|
||||
<td>$log['lid']</td>
|
||||
<td>$log['uid']</td>
|
||||
<td>$log['action']</td>
|
||||
<td>$log['extra']</td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
<tr class="nobg">
|
||||
<td class="tdpage" colspan="5">$multipage</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--{else}-->
|
||||
<div class="note">
|
||||
<p class="i">{lang list_empty}</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{template footer}
|
53
uc_server/view/default/camera.htm
Normal file
53
uc_server/view/default/camera.htm
Normal file
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="{UC_CHARSET}" />
|
||||
<meta name="renderer" content="webkit" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<title>UCenter</title>
|
||||
<meta name="keywords" content="">
|
||||
<meta name="description" content="">
|
||||
<meta name="MSSmartTagsPreventParsing" content="TRUE">
|
||||
<meta http-equiv="MSThemeCompatible" content="Yes">
|
||||
<link rel="stylesheet" type="text/css" href="{UC_API}/images/avatar/avatar.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form id="avatarform" enctype="multipart/form-data" method="post" autocomplete="off">
|
||||
<div id="avatardesigner">
|
||||
<div id="avatarfileselector">
|
||||
<input type="file" name="Filedata" id="avatarfile" accept="image/*" />
|
||||
</div>
|
||||
<div id="avataradjuster">
|
||||
<img id="avatarimage" style="visibility: hidden;" onload="forceSelectorInsideAvatar();" />
|
||||
<canvas id="avatarcanvas" style="position: absolute; top: 0px; left: 0px;"></canvas>
|
||||
<div id="widgetparent" style="position: absolute; left: 0px; top: 0px;">
|
||||
<div id="selector" class="ui-widget-content" style="position: absolute; width: 120px; height: 120px; overflow:hidden; cursor: move; border: 1px solid lightgrey; background-color: transparent; background-image: none;">
|
||||
</div>
|
||||
</div>
|
||||
<div class="backfileselectiondiv">
|
||||
<input type="button" name="backfileselection" class="backfileselection" value="Select File" onclick="showAvatarFileSelector();" />
|
||||
</div>
|
||||
<div id="slider" style="height: 0px; position: absolute; right: 9px; top: 105px; width: 100px;"></div>
|
||||
<div class="saveAvatardiv">
|
||||
<input type="submit" name="confirm" value="{lang confirms}" class="saveAvatar" onclick="saveAvatar();" />
|
||||
</div>
|
||||
<input type="hidden" id="avatar1" name="avatar1" />
|
||||
<input type="hidden" id="avatar2" name="avatar2" />
|
||||
<input type="hidden" id="avatar3" name="avatar3" />
|
||||
</div>
|
||||
<div id="avatardisplayer">
|
||||
<canvas id="avatardisplaycanvas"></canvas>
|
||||
<div class="finishbuttondiv">
|
||||
<input type="button" value="{lang finished}" class="finishbutton" onclick="parent.window.location.reload();" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="js/avatar/jquery.min.js"></script>
|
||||
<script src="js/avatar/jquery-ui.min.js"></script>
|
||||
<script src="js/avatar/avatar.js"></script>
|
||||
<iframe name="uploadframe" id="uploadframe" style="display: none;"></iframe>
|
||||
<iframe name="rectframe" id="rectframe" style="display: none;"></iframe>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
34
uc_server/view/default/footer.htm
Normal file
34
uc_server/view/default/footer.htm
Normal file
@@ -0,0 +1,34 @@
|
||||
<!--{if UC_DEBUG}-->
|
||||
<style type="text/css">
|
||||
#debuginfo {width: 60%;margin-left: 2em;}
|
||||
fieldset {margin-top: 2em; display: block;}
|
||||
</style>
|
||||
<div style="text-align: left;" id="debuginfo">
|
||||
Processed in <span id="debug_time"></span> s
|
||||
<fieldset>
|
||||
<legend><b>GET:</b></legend>
|
||||
<!--{eval echo '<pre>'.print_r($_GET, TRUE).'</pre>';}-->
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend><b>POST:</b></legend>
|
||||
<!--{eval echo '<pre>'.print_r($_POST, TRUE).'</pre>';}-->
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend><b>COOKIE:</b></legend>
|
||||
<!--{eval echo '<pre>'.print_r($_COOKIE, TRUE).'</pre>';}-->
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend><b>SQL:</b> $dbquerynum</legend>
|
||||
<!--{loop $dbhistories $dbhistory}-->
|
||||
<li>$dbhistory</li>
|
||||
<!--{/loop}-->
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend><b>Include:</b> {eval echo count(get_included_files());}</legend>
|
||||
<!--{eval echo '<pre>'.print_r(get_included_files(), TRUE).'</pre>';}-->
|
||||
</fieldset>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
</body>
|
||||
</html>
|
5
uc_server/view/default/footer_ajax.htm
Normal file
5
uc_server/view/default/footer_ajax.htm
Normal file
@@ -0,0 +1,5 @@
|
||||
{eval $s = ob_get_contents();}
|
||||
{eval ob_end_clean();}
|
||||
{{eval $s = preg_replace("/([\\x00-\\x09\\x0b-\\x0c\\x0e-\\x1f])+/", ' ', $s);}}
|
||||
$s
|
||||
]]></root>{eval exit;}
|
3
uc_server/view/default/footer_client.htm
Normal file
3
uc_server/view/default/footer_client.htm
Normal file
@@ -0,0 +1,3 @@
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
55
uc_server/view/default/header.htm
Normal file
55
uc_server/view/default/header.htm
Normal file
@@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={UC_CHARSET}" />
|
||||
<title>UCenter Administrator's Control Panel</title>
|
||||
<link rel="stylesheet" href="images/admincp.css" type="text/css" media="all" />
|
||||
<meta content="Comsenz Inc." name="Copyright" />
|
||||
</head>
|
||||
<body><div id="append"></div>
|
||||
<!--{if !empty($iframe) && !empty($user)}-->
|
||||
<a class="othersoff" style="float:right;text-align:center" id="header_menu" onclick="headermenu(this)">{lang menu}</a>
|
||||
<ul id="header_menu_menu" style="display: none">
|
||||
<li><a href="{UC_ADMINSCRIPT}?m=frame&a=main&iframe=1" target="main" class="tabon">{lang menu_index}</a></li>
|
||||
<!--{if $user['allowadminsetting'] || $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=setting&a=ls&iframe=1" target="main">{lang menu_basic_setting}</a></li><!--{/if}-->
|
||||
<!--{if $user['allowadminsetting'] || $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=setting&a=register&iframe=1" target="main">{lang menu_register_setting}</a></li><!--{/if}-->
|
||||
<!--{if $user['allowadminsetting'] || $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=setting&a=mail&iframe=1" target="main">{lang menu_mail_setting}</a></li><!--{/if}-->
|
||||
<!--{if $user['allowadminapp'] || $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=app&a=ls&iframe=1" target="main">{lang menu_application}</a></li><!--{/if}-->
|
||||
<!--{if $user['allowadminuser'] || $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=user&a=ls&iframe=1" target="main">{lang menu_manager_user}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=admin&a=ls&iframe=1" target="main">{lang menu_admin_user}</a></li><!--{/if}-->
|
||||
<!--{if $user['allowadminpm'] || $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=pm&a=ls&iframe=1" target="main">{lang menu_pm}</a></li><!--{/if}-->
|
||||
<!--{if $user['allowadmincredits'] || $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=credit&a=ls&iframe=1" target="main">{lang menu_credit_exchange}</a></li><!--{/if}-->
|
||||
<!--{if $user['allowadminbadword'] || $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=badword&a=ls&iframe=1" target="main">{lang menu_censor_word}</a></li><!--{/if}-->
|
||||
<!--{if $user['allowadmindomain'] || $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=domain&a=ls&iframe=1" target="main">{lang menu_domain_list}</a></li><!--{/if}-->
|
||||
<!--{if $user['allowadmindb'] || $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=db&a=ls&iframe=1" target="main">{lang menu_db}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=feed&a=ls&iframe=1" target="main">{lang menu_data_list}</a></li><!--{/if}-->
|
||||
<!--{if $user['allowadmincache'] || $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=cache&a=update&iframe=1" target="main">{lang menu_update_cache}</a></li><!--{/if}-->
|
||||
<!--{if $user['isfounder']}--><li><a href="{UC_ADMINSCRIPT}?m=plugin&a=filecheck&iframe=1" target="main">{lang plugin}</a></li><!--{/if}-->
|
||||
<a href="{UC_ADMINSCRIPT}?m=user&a=logout" target="main">{lang menu_logout}</a>
|
||||
</ul>
|
||||
<!--{/if}-->
|
||||
<script type="text/javascript">
|
||||
function headermenu(ctrl) {
|
||||
ctrl.className = ctrl.className == 'otherson' ? 'othersoff' : 'otherson';
|
||||
var menu = document.getElementById('header_menu_body');
|
||||
if(!menu) {
|
||||
menu = document.createElement('div');
|
||||
menu.id = 'header_menu_body';
|
||||
menu.innerHTML = '<ul>' + document.getElementById('header_menu_menu').innerHTML + '</ul>';
|
||||
var obj = ctrl;
|
||||
var x = ctrl.offsetLeft;
|
||||
var y = ctrl.offsetTop;
|
||||
while((obj = obj.offsetParent) != null) {
|
||||
x += obj.offsetLeft;
|
||||
y += obj.offsetTop;
|
||||
}
|
||||
menu.style.left = x + 'px';
|
||||
menu.style.top = y + ctrl.offsetHeight + 'px';
|
||||
menu.className = 'togglemenu';
|
||||
menu.style.display = '';
|
||||
document.body.appendChild(menu);
|
||||
} else {
|
||||
menu.style.display = menu.style.display == 'none' ? '' : 'none';
|
||||
}
|
||||
}
|
||||
</script>
|
8
uc_server/view/default/header_ajax.htm
Normal file
8
uc_server/view/default/header_ajax.htm
Normal file
@@ -0,0 +1,8 @@
|
||||
{eval @ob_end_clean();}
|
||||
{eval ob_start();}
|
||||
{eval @header("Expires: -1");}
|
||||
{eval @header("Cache-Control: no-store, private, post-check=0, pre-check=0, max-age=0", FALSE);}
|
||||
{eval @header("Pragma: no-cache");}
|
||||
{eval @header("Content-type: application/xml; charset=$charset");}
|
||||
{eval echo "<?xml version=\"1.0\" encoding=\"$charset\"?>";}
|
||||
<root><![CDATA[
|
17
uc_server/view/default/header_client.htm
Normal file
17
uc_server/view/default/header_client.htm
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="{UC_CHARSET}" />
|
||||
<meta name="renderer" content="webkit" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<title>UCenter</title>
|
||||
<meta name="keywords" content="">
|
||||
<meta name="description" content="">
|
||||
<meta name="MSSmartTagsPreventParsing" content="TRUE">
|
||||
<meta http-equiv="MSThemeCompatible" content="Yes">
|
||||
<link rel="stylesheet" type="text/css" href="{UC_API}/images/default/style.css" />
|
||||
</head>
|
||||
|
||||
<body><div id="append"></div>
|
||||
<div class="ucbody">
|
||||
<h1>{lang pm_central}</h1>
|
1
uc_server/view/default/index.htm
Normal file
1
uc_server/view/default/index.htm
Normal file
@@ -0,0 +1 @@
|
||||
|
69
uc_server/view/default/main.lang.php
Normal file
69
uc_server/view/default/main.lang.php
Normal file
@@ -0,0 +1,69 @@
|
||||
<?php
|
||||
|
||||
$lang = array(
|
||||
|
||||
'other' => '其他',
|
||||
'app_connect_ok' => '通信成功 ',
|
||||
'app_connect_false' => '通信失败',
|
||||
|
||||
'note_deleteuser' => '删除用户',
|
||||
'note_renameuser' => '重命名用户',
|
||||
'note_deletefriend' => '删除好友',
|
||||
'note_gettag' => '获取TAG',
|
||||
'note_getcreditsettings' => '获取应用积分设置',
|
||||
'note_updatecreditsettings' => '更新应用积分设置',
|
||||
'note_updateclient' => '更新应用缓存',
|
||||
'note_updatepw' => '更新用户密码',
|
||||
'note_updatebadwords' => '更新词语过滤列表',
|
||||
'note_updatehosts' => '更新域名解析列表',
|
||||
'note_updateapps' => '更新应用列表',
|
||||
'note_updatetagtemplate' => '更新标签模板设置',
|
||||
'note_list' => '通知列表',
|
||||
'note_test' => '测试',
|
||||
'note_delete' => '删除',
|
||||
'note_succeed' => '通知成功 ',
|
||||
'note_na' => '未通知',
|
||||
'note_false' => '通知失败',
|
||||
'note_times' => '次',
|
||||
|
||||
'pm_from' => '来自',
|
||||
'pm_to' => '发送到',
|
||||
'pm_system' => '系统消息',
|
||||
'pm_date' => '时间',
|
||||
'pm_daterange_1' => '今天',
|
||||
'pm_daterange_2' => '昨天',
|
||||
'pm_daterange_3' => '前天',
|
||||
'pm_daterange_4' => '上周',
|
||||
'pm_daterange_5' => '更早',
|
||||
'pm_notitle' => '[无标题]',
|
||||
|
||||
'user_add' => '添加用户',
|
||||
'user_delete' => '删除用户',
|
||||
'login' => '登录',
|
||||
'logout' => '退出',
|
||||
'app_add' => '添加新应用',
|
||||
'app_delete' => '删除应用',
|
||||
'app_edit' => '编辑应用',
|
||||
'setting_update' => '更新基本设置',
|
||||
'setting_register_update' => '更新注册设置',
|
||||
'pm_send' => '发送公共消息',
|
||||
'pm_delete' => '删除公共消息',
|
||||
'pm_clear' => '清理短消息',
|
||||
'badword_add' => '添加词语过滤',
|
||||
'badword_delete' => '删除词语过滤',
|
||||
'admin_add' => '添加管理员',
|
||||
'admin_pw_edit' => '修改创始人密码',
|
||||
'admin_priv_edit' => '修改管理员权限',
|
||||
'domain_add' => '添加域名解析',
|
||||
'domain_delete' => '删除域名解析',
|
||||
'credit_addexchange' => '更新积分兑换方案',
|
||||
'credit_deleteexchange' => '删除积分兑换方案',
|
||||
'credit_sync' => '同步应用的积分设置',
|
||||
'db_export' => '备份数据',
|
||||
'db_import' => '恢复数据',
|
||||
'db_delete' => '删除数据',
|
||||
'note_delete' => '删除通知',
|
||||
'note_send' => '补发通知',
|
||||
'dumpfile_exists' => '备份存在',
|
||||
'dumpfile_not_exists' => '备份不存在',
|
||||
);
|
25
uc_server/view/default/message.htm
Normal file
25
uc_server/view/default/message.htm
Normal file
@@ -0,0 +1,25 @@
|
||||
{template header}
|
||||
<!--{if empty($_REQUEST['inajax'])}-->
|
||||
<div class="container">
|
||||
<div class="ajax rtninfo">
|
||||
<div class="ajaxbg">
|
||||
<h4>{lang message_title}:</h4>
|
||||
<p>$message</p>
|
||||
<!--{if $redirect == 'BACK'}-->
|
||||
<p><a href="###" onclick="history.back();">{lang message_back}</a></p>
|
||||
<!--{elseif $redirect}-->
|
||||
<p><a href="$redirect">{lang message_redirect}</a></p>
|
||||
<script type="text/javascript">
|
||||
function redirect(url, time) {
|
||||
setTimeout("window.location='" + url + "'", time * 1000);
|
||||
}
|
||||
redirect('$redirect', 3);
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--{else}-->
|
||||
$message
|
||||
<!--{/if}-->
|
||||
{template footer}
|
29
uc_server/view/default/message_client.htm
Normal file
29
uc_server/view/default/message_client.htm
Normal file
@@ -0,0 +1,29 @@
|
||||
{template header_client}
|
||||
<br />
|
||||
<table cellpadding="0" cellspacing="0" class="msg" style="width: 65%" align="center">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{lang message_title}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>$message<br />
|
||||
<!--{if $redirect == 'BACK'}-->
|
||||
<a href="###" onclick="history.back();"> {lang message_back} </a>
|
||||
<!--{elseif $redirect}-->
|
||||
<a href="$redirect"> {lang message_redirect} </a>
|
||||
<script type="text/javascript">
|
||||
function redirect(url, time) {
|
||||
setTimeout("window.location='" + url + "'", time * 1000);
|
||||
}
|
||||
redirect('$redirect', 3);
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{template footer_client}
|
78
uc_server/view/default/messages.lang.php
Normal file
78
uc_server/view/default/messages.lang.php
Normal file
@@ -0,0 +1,78 @@
|
||||
<?php
|
||||
|
||||
$lang = array(
|
||||
'please_login' => '请重新登录',
|
||||
'receiver_no_exists' => '收件人不存在,请重新填写',
|
||||
'pm_save_succeed' => '短消息已保存到草稿箱',
|
||||
'pm_send_succeed' => '短消息成功发送',
|
||||
'pm_send_announce_succeed' => '公共消息成功发送',
|
||||
'pm_send_ignore' => '短消息发送失败',
|
||||
'pm_delete_succeed' => '短消息成功删除',
|
||||
'pm_delete_invalid' => '短消息无法删除',
|
||||
'pm_unread' => '当前短消息标记为未读状态',
|
||||
'blackls_updated' => '忽略列表已更新',
|
||||
'pm_kickmember_succeed' => '踢出群聊成员成功 ',
|
||||
'pm_appendmember_succeed' => '群聊加入新成员成功 ',
|
||||
'pm_appendmember_invalid' => '加入新成员失败',
|
||||
'pm_send_chatpmmemberlimit_error' => '超出了群聊的最大成员数目',
|
||||
'pm_send_pmfloodctrl_error' => '两次发送短消息间隔过短,请稍后发',
|
||||
'pm_send_privatepmthreadlimit_error' => '超过24小时内两人会话的最大数量',
|
||||
'pm_send_chatpmthreadlimit_error' => '超过24小时内群聊会话的最大数量',
|
||||
'pm_clear_processing' => '正在处理 从 current 到 next',
|
||||
'pm_clear_succeed' => '操作成功 ',
|
||||
'pm_delete_noselect' => '请选中短消息进行处理',
|
||||
|
||||
'db_export_filename_invalid' => '您没有输入备份文件名或文件名中使用了敏感的扩展名,请返回修改。',
|
||||
'db_export_file_invalid' => '数据文件无法保存到服务器,请检查目录属性。',
|
||||
'db_export_multivol_redirect' => '分卷备份: 数据文件 #$volume 成功创建,程序将自动继续。',
|
||||
'db_export_multivol_succeed' => '恭喜您,全部备份文件成功创建,备份完成。',
|
||||
'db_import_multivol_succeed' => '分卷数据成功导入数据库。',
|
||||
'db_import_file_illegal' => '数据文件不存在: 可能服务器不允许上传文件或尺寸超过限制。',
|
||||
'db_import_multivol_redirect' => '分卷数据 #$volume 成功导入数据库,程序将自动导入本次备份的其他分卷。',
|
||||
'db_back_api_url_invalid' => '无法访问到该应用的备份接口,请拷贝 UCenter 根目录下api/dbbak.php 到该应用的api目录下',
|
||||
'db_back_dos8p3_failed' => '服务器开启了 DOS 8.3 文件名支持,为避免可能发生的数据库爆破风险,不允许在线备份数据库',
|
||||
'delete_dumpfile_success' => '删除数据备份文件成功 ',
|
||||
'delete_dumpfile_redirect' => '#$appname 下同名备份文件删除成功,程序将自动删除其他应用下的。',
|
||||
'dbback_error_code_1' => '无法创建目录',
|
||||
'dbback_error_code_2' => '备份文件写入失败',
|
||||
'dbback_error_code_3' => 'sql执行错误',
|
||||
'dbback_error_code_4' => '目录为空或者目录不存在',
|
||||
'dbback_error_code_5' => '指定目录没有找到合法的备份文件',
|
||||
'dbback_error_code_6' => '备份文件缺失',
|
||||
'dbback_error_code_7' => '指定备份目录不存在',
|
||||
'dbback_error_code_8' => '删除指定的数据库备份文件错误',
|
||||
'dbback_error_code_9' => '备份接口程序暂不支持此种应用的备份',
|
||||
'undefine_error' => '未知错误',
|
||||
|
||||
'app_add_url_invalid' => '接口 URL 地址不合法',
|
||||
'app_add_ip_invalid' => 'IP 地址不合法',
|
||||
'app_add_name_invalid' => '应用名称不合法或者与其他应用重复, 请返回更换',
|
||||
'read_plugin_invalid' => '读取插件失败',
|
||||
|
||||
'syncappcredits_updated' => '成功同步应用的积分设置',
|
||||
|
||||
'note_succeed' => '通知成功 ',
|
||||
'note_false' => '通知失败',
|
||||
'no_permission_for_this_module' => '没有权限管理改模块',
|
||||
'admin_user_exists' => '该用户名已经存在,请返回尝试使用其他用户名。',
|
||||
'admin_mobile_exists' => '该安全手机号已经存在,请返回尝试使用其他安全手机号。',
|
||||
|
||||
'mail_succeed' => '邮件发送成功 ',
|
||||
'mail_false' => '邮件发送失败',
|
||||
|
||||
'user_edit_noperm' => '您没权限编辑此用户',
|
||||
|
||||
'appid_invalid' => '应用id不合法',
|
||||
'app_apifile_not_exists' => '文件 #$apifile 不存在,请返回检查应用的路径是否正确。',
|
||||
'app_apifile_too_low' => '接口文件 #$apifile 版本太低',
|
||||
'app_path_not_exists' => '该路径不存在,请返回检查',
|
||||
'pm_send_seccode_error' => '验证码输入错误',
|
||||
'pm_send_regdays_error' => '注册 #$pmsendregdays 天之内不能发送短消息',
|
||||
'pm_send_limit1day_error' => '对不起,超出了您24小时最大发送短消息数,请返回。',
|
||||
'pm_send_floodctrl_error' => '对不起,您两次发送短消息间隔太短,请返回。',
|
||||
|
||||
'file_check_failed' => '校验文件不存在,无法校验',
|
||||
'replacemykey_succeed' => '密钥更新成功,请更新缓存并检查每个下级应用的状态',
|
||||
'replacemykey_false' => '密钥更新失败,请检查文件是否可写或数据库是否正常,如有必要请重新配置每个下级应用的 UC_KEY 以保证正常工作',
|
||||
'replacemykey_no_confirm' => '请您确认风险提示后再继续操作',
|
||||
);
|
4
uc_server/view/default/plugin_footer.htm
Normal file
4
uc_server/view/default/plugin_footer.htm
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{template footer}
|
21
uc_server/view/default/plugin_header.htm
Normal file
21
uc_server/view/default/plugin_header.htm
Normal file
@@ -0,0 +1,21 @@
|
||||
{template header}
|
||||
<style>
|
||||
|
||||
.tabhead {width: 100%; clear: both; background: url(images/bg_tab_line.gif) repeat-x bottom;}
|
||||
.tabhead li{line-height: 1.2em; display:block; padding:5px 7px 2px 7px; border:1px solid #CCC; border-bottom:0px solid #B5CFD9; color:#666; float:left; margin-right:5px;}
|
||||
.tabhead li.checked{background:#F2F9FD; font-weight: 800}
|
||||
.tabbody {padding: 1em; clear: both; border:1px solid #B5CFD9; border-top: 0px; background:#F2F9FD; }
|
||||
|
||||
</style>
|
||||
<script src="js/common.js" type="text/javascript"></script>
|
||||
<div class="container">
|
||||
<!--{if $plugin[tips]}-->
|
||||
<div class="note fixwidthdec"><p class="i">$plugin[tips]</p></div>
|
||||
<!--{/if}-->
|
||||
<ul class="tabhead">
|
||||
<!--{loop $plugins $v}-->
|
||||
<li id="nav_action_$v[dir]"><a href="{UC_ADMINSCRIPT}?m=plugin&a=$v[dir]">$v[name]</a></li>
|
||||
<!--{/loop}-->
|
||||
<script type="text/javascript">document.getElementById('nav_action_$_GET[a]').className = 'checked';</script>
|
||||
</ul>
|
||||
<div class="tabbody">
|
26
uc_server/view/default/pm_blackls.htm
Normal file
26
uc_server/view/default/pm_blackls.htm
Normal file
@@ -0,0 +1,26 @@
|
||||
{template header_client}
|
||||
{template pm_nav}
|
||||
|
||||
<div class="ucinfo">
|
||||
<form method="post" action="index.php?m=pm_client&a=blackls">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<table cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<textarea class="listarea" id="pm_blackls" rows="6" cols="10" name="blackls">$blackls</textarea><br />
|
||||
<div class="ucnote">{lang pm_ignore_list_comment}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="pages_btns">
|
||||
<span class="postbtn">
|
||||
<button name="pmsubmit" class="pmsubmit" type="submit">{lang save}</button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{template footer_client}
|
33
uc_server/view/default/pm_editorbar.htm
Normal file
33
uc_server/view/default/pm_editorbar.htm
Normal file
@@ -0,0 +1,33 @@
|
||||
<script src="js/pm_editor.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
lang['pm_prompt_list'] = '{lang pm_prompt_list}';
|
||||
lang['pm_prompt_img'] = '{lang pm_prompt_img}';
|
||||
lang['pm_prompt_url'] = '{lang pm_prompt_url}';
|
||||
lang['pm_prompt_email'] = '{lang pm_prompt_email}';
|
||||
</script>
|
||||
|
||||
<div class="editor">
|
||||
<a id="editor_b" href="###" onclick="insertunit('[b]', '[/b]')" title="{lang editor_b}"></a>
|
||||
<a id="editor_i" href="###" onclick="insertunit('[i]', '[/i]')" title="{lang editor_i}"></a>
|
||||
<a id="editor_u" href="###" onclick="insertunit('[u]', '[/u]')" title="{lang editor_u}"></a>
|
||||
<a id="editor_color" href="###" onmouseover="showmenu(event, this.id)" title="{lang editor_color}"></a>
|
||||
<a id="editor_alignleft" href="###" onclick="insertunit('[align=left]', '[/align]')" title="{lang editor_alignleft}"></a>
|
||||
<a id="editor_aligncenter" href="###" onclick="insertunit('[align=center]', '[/align]')" title="{lang editor_aligncenter}"></a>
|
||||
<a id="editor_alignright" href="###" onclick="insertunit('[align=right]', '[/align]')" title="{lang editor_alignright}"></a>
|
||||
<a id="editor_url" href="###" onclick="inserttag('url', 1)" title="{lang editor_url}"></a>
|
||||
<a id="editor_email" href="###" onclick="inserttag('email', 1)" title="{lang editor_email}"></a>
|
||||
<a id="editor_img" href="###" onclick="inserttag('img')" title="{lang editor_img}"></a>
|
||||
<a id="editor_list1" href="###" onclick="insertlist('1')" title="{lang editor_list1}"></a>
|
||||
<a id="editor_lista" href="###" onclick="insertlist()" title="{lang editor_lista}"></a>
|
||||
<a id="editor_indent" href="###" onclick="insertunit('[indent]', '[/indent]')" title="{lang editor_indent}"></a>
|
||||
<a id="editor_floatleft" href="###" onclick="insertunit('[float=left]', '[/float]')" title="{lang editor_floatleft}"></a>
|
||||
<a id="editor_floatright" href="###" onclick="insertunit('[float=right]', '[/float]')" title="{lang editor_floatright}"></a>
|
||||
<a id="editor_quote" href="###" onclick="insertunit('[quote]', '[/quote]')" title="{lang editor_quote}"></a>
|
||||
<a id="editor_code" href="###" onclick="insertunit('[code]', '[/code]')" title="{lang editor_code}"></a>
|
||||
</div>
|
||||
<!--{eval $coloroptions = array('Black', 'Sienna', 'DarkOliveGreen', 'DarkGreen', 'DarkSlateBlue', 'Navy', 'Indigo', 'DarkSlateGray', 'DarkRed', 'DarkOrange', 'Olive', 'Green', 'Teal', 'Blue', 'SlateGray', 'DimGray', 'Red', 'SandyBrown', 'YellowGreen','SeaGreen', 'MediumTurquoise', 'RoyalBlue', 'Purple', 'Gray', 'Magenta', 'Orange', 'Yellow', 'Lime', 'Cyan', 'DeepSkyBlue', 'DarkOrchid', 'Silver', 'Pink', 'Wheat', 'LemonChiffon', 'PaleGreen', 'PaleTurquoise', 'LightBlue', 'Plum', 'White')}-->
|
||||
<div id="editor_color_menu" style="display: none;">
|
||||
<!--{loop $coloroptions $key $colorname}-->
|
||||
<input type="button" style="background-color: $colorname" onclick="insertunit('[color=$colorname]', '[/color]')" />
|
||||
<!--{/loop}-->
|
||||
</div>
|
81
uc_server/view/default/pm_ls.htm
Normal file
81
uc_server/view/default/pm_ls.htm
Normal file
@@ -0,0 +1,81 @@
|
||||
{template header_client}
|
||||
{template pm_nav}
|
||||
|
||||
<div class="ucinfo">
|
||||
<form method="post" action="index.php?m=pm_client&a=delete&filter=$filter&$extra">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="pmlist">
|
||||
{eval $pmrange = 0;}
|
||||
<!--{if $pmlist}-->
|
||||
<tr class="ctrlbar">
|
||||
<td class="sel"><input type="checkbox" name="chkall" onclick="checkall(this.form, 'delete')" /></td>
|
||||
<td class="ava"><button name="pmsend" type="submit">{lang delete}</button></td>
|
||||
<td class="pef"></td>
|
||||
<td class="">
|
||||
<!--{if $multipage}-->$multipage<!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--{loop $pmlist $pm}-->
|
||||
<tr<!--{if $pm[isnew] == 1}--> class="onset"<!--{/if}-->>
|
||||
<td class="sel">
|
||||
<!--{if $pm['pmtype'] == 1}-->
|
||||
<input type="checkbox" name="deleteuid[]" value="$pm[touid]" />
|
||||
<!--{elseif $pm['pmtype'] == 2 && $pm[authorid] == $user['uid']}-->
|
||||
<input type="checkbox" name="deleteplid[]" value="$pm[plid]" />
|
||||
<!--{elseif $pm['pmtype'] == 2 && $pm[authorid] != $user['uid']}-->
|
||||
<input type="checkbox" name="deletequitplid[]" value="$pm[plid]" />
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
<td class="ava">
|
||||
<!--{if $pm[lastauthorid]}--><img src="avatar.php?uid=$pm[lastauthorid]&size=small" /><!--{/if}-->
|
||||
</td>
|
||||
<td class="per">
|
||||
<!--{if $pm['pmtype'] == 1}-->
|
||||
<!--{if $pm['lastauthorid'] == $user['uid']}-->
|
||||
{lang pm_author}$pm[tousername]
|
||||
<!--{else}-->
|
||||
{lang fromto}$pm[lastauthor]
|
||||
<!--{/if}-->
|
||||
<!--{elseif $pm['pmtype'] == 2}-->
|
||||
<!--{if $pm['lastauthorid'] == $user['uid']}-->
|
||||
{lang sendeveryone}
|
||||
<!--{else}-->
|
||||
{lang fromto}$pm[lastauthor]
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<p>$pm[lastdateline]</p>
|
||||
</td>
|
||||
<td class="title">
|
||||
<h2>
|
||||
<!--{if $pm['pmtype'] == 1}-->
|
||||
<a href="index.php?m=pm_client&a=view&touid=$pm[touid]&daterange=$pm[daterange]&filter=$pm[filter]&scroll=bottom&$extra" id="pm_view_$pm[pmid]">{lang privatewithwho}</a>
|
||||
<!--{else}-->
|
||||
<a href="index.php?m=pm_client&a=view&plid=$pm[plid]&daterange=$pm[daterange]&filter=$pm[filter]&scroll=bottom&$extra" id="pm_view_$pm[pmid]">$pm[subject]</a>({lang chatpmmembernum}$pm[members])
|
||||
<!--{/if}-->
|
||||
</h2>
|
||||
<p <!--{if $pm[isnew]}-->class="boldtext" <!--{/if}-->>$pm[message]</p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--{/loop}-->
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr class="ctrlbar">
|
||||
<td class="sel"><input type="checkbox" onclick="this.form.chkall.click()" /></td>
|
||||
<td class="ava"><button onclick="this.form.pmsend.click()" type="button">{lang delete}</button></td>
|
||||
<td class="pef"></td>
|
||||
<td class="">
|
||||
<!--{if $multipage}-->$multipage<!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<!--{else}-->
|
||||
<tr>
|
||||
<td colspan="4">{lang pm_none_record}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--{/if}-->
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{template footer_client}
|
67
uc_server/view/default/pm_member.htm
Normal file
67
uc_server/view/default/pm_member.htm
Normal file
@@ -0,0 +1,67 @@
|
||||
{template header_client}
|
||||
{template pm_nav}
|
||||
|
||||
<div class="ucinfo">
|
||||
<h1>
|
||||
</h1>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="newpm">
|
||||
<tbody>
|
||||
<tr>
|
||||
<!--{eval $i = 0;}-->
|
||||
<!--{loop $members $key $member}-->
|
||||
<td class="ava">
|
||||
<img src="avatar.php?uid=$member&size=small" />
|
||||
$member<!--{if $authorid == $key}-->({lang pm_author})<!--{/if}-->
|
||||
<!--{if $authorid == $user['uid'] && $authorid != $key}-->
|
||||
<p><a href="javascript:;" id="a_kickmmeber_$key" title="{lang tipkickmember}" onclick="if(confirm('{lang pm_confirm_kickmember}')) location.href='index.php?m=pm_client&a=member&filter=chatpm&do=kickmember&memberuid=$key&plid=$plid';">{lang kickmember}</a></p>
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
<!--{if $i % 2}-->
|
||||
<tr/>
|
||||
<tr>
|
||||
<!--{/if}-->
|
||||
<!--{eval $i++;}-->
|
||||
<!--{/loop}-->
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!--{if $authorid == $user['uid']}-->
|
||||
<form action="index.php?m=pm_client&a=member&filter=chatpm&do=appendmember&plid=$plid" method="post">
|
||||
{lang appendchatpmmember}<input type="text" id="appendmember" name="appendmember" value="" />
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<input type="submit" value="{lang appendmember}" />
|
||||
</form>
|
||||
<!--{/if}-->
|
||||
<br />
|
||||
<div style="float:right">
|
||||
<button onclick="location.href='index.php?m=pm_client&a=ls&filter=chatpm'">{lang return}</button>
|
||||
</div>
|
||||
{lang pm_history}:
|
||||
<a href="index.php?m=pm_client&a=view&plid=$plid&filter=$filter&$extra">{lang pm_daterange_1}</a>
|
||||
<a href="index.php?m=pm_client&a=view&plid=$plid&daterange=2&filter=$filter&$extra">{lang pm_daterange_2}</a>
|
||||
<a href="index.php?m=pm_client&a=view&plid=$plid&daterange=3&filter=$filter&$extra">{lang pm_daterange_3}</a>
|
||||
<a href="index.php?m=pm_client&a=view&plid=$plid&daterange=4&filter=$filter&$extra">{lang pm_daterange_4}</a>
|
||||
<a href="index.php?m=pm_client&a=view&plid=$plid&daterange=5&filter=$filter&$extra">{lang pm_daterange_5}</a>
|
||||
<a href="index.php?m=pm_client&a=member&plid=$plid&filter=$filter&$extra" class="bold">{lang pm_member}</a>
|
||||
|
||||
<!--{if $authorid == $user['uid']}-->
|
||||
<button onclick="if(confirm('{lang pm_confirm_deletechatpm}')) location.href='index.php?m=pm_client&a=delete&deleteplid[]=$plid&filter=$filter&$extra'">{lang pm_delete_chatpm}</button>
|
||||
<!--{else}-->
|
||||
<button onclick="if(confirm('{lang pm_confirm_quitchatpm}')) location.href='index.php?m=pm_client&a=delete&quitchapm[]=$plid&filter=$filter&$extra'">{lang pm_quit_chatpm}</button>
|
||||
<!--{/if}-->
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
<!--{if $scroll == 'bottom'}-->
|
||||
<script type="text/javascript">
|
||||
window.onload = function() {
|
||||
if(!document.postpmform) {
|
||||
return;
|
||||
}
|
||||
window.scroll(0, document.body.scrollHeight);
|
||||
document.postpmform.message.focus();
|
||||
}
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
|
||||
{template footer_client}
|
43
uc_server/view/default/pm_nav.htm
Normal file
43
uc_server/view/default/pm_nav.htm
Normal file
@@ -0,0 +1,43 @@
|
||||
<script type="text/javascript">
|
||||
function checkall(form, prefix, checkall) {
|
||||
var checkall = checkall ? checkall : 'chkall';
|
||||
for(var i = 0; i < form.elements.length; i++) {
|
||||
var e = form.elements[i];
|
||||
if(e.name && e.name != checkall && (!prefix || (prefix && e.name.match(prefix)))) {
|
||||
e.checked = form.elements[checkall].checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function toggle_collapse(objname, ctrlobj) {
|
||||
var obj = document.getElementById(objname);
|
||||
if(obj.style.display == '') {
|
||||
obj.style.display = 'none';
|
||||
ctrlobj.innerHTML = '<img src="images/default/spread.gif" />';
|
||||
} else {
|
||||
obj.style.display = '';
|
||||
ctrlobj.innerHTML = '<img src="images/default/shrink.gif" />';
|
||||
}
|
||||
}
|
||||
|
||||
function ctlent(event) {
|
||||
if((event.ctrlKey && event.keyCode == 13) || (event.altKey && event.keyCode == 83)) {
|
||||
document.getElementById('postpmform').saveoutbox.value = 0;
|
||||
document.getElementById('postpmform').submit();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="ucnav">
|
||||
<a <!--{if $filter == 'newpm'}-->class="ucontype" <!--{/if}-->href="index.php?m=pm_client&a=ls&filter=newpm">{lang new_pm}<!--{if $unreadpmnum}--><strong>[{$unreadpmnum}]</strong><!--{/if}--></a>
|
||||
<a <!--{if $filter == 'privatepm'}-->class="ucontype" <!--{/if}-->href="index.php?m=pm_client&a=ls&filter=privatepm">{lang private_pm}<!--{if $pmnum_private}--><strong>[{$pmnum_private}]</strong><!--{/if}--></a>
|
||||
<a <!--{if $folder == 'blackls'}-->class="ucontype" <!--{/if}-->href="index.php?m=pm_client&a=ls&folder=blackls">{lang pm_ignorelist}</a>
|
||||
<a <!--{if $folder == 'send'}-->class="ucontype sendpmontype" <!--{else}--> class="sendpm" <!--{/if}-->href="index.php?m=pm_client&a=send&folder=send">{lang pm_send}</a>
|
||||
|
||||
<!--{if $unreadpmnum}-->
|
||||
<span class="navinfo">
|
||||
<img src="images/default/newpm.gif" />
|
||||
<!--{if $unreadpmnum}--><strong>$unreadpmnum</strong> <a <!--{if $filter == 'newpm'}-->class="ontype" <!--{/if}-->href="index.php?m=pm_client&a=ls&filter=newpm">{lang pm_unread}</a><!--{/if}-->
|
||||
</span>
|
||||
<!--{/if}-->
|
||||
</div>
|
78
uc_server/view/default/pm_send.htm
Normal file
78
uc_server/view/default/pm_send.htm
Normal file
@@ -0,0 +1,78 @@
|
||||
{template header_client}
|
||||
{template pm_nav}
|
||||
|
||||
<script type="text/javascript">
|
||||
function switchfirendls() {
|
||||
if(document.getElementById('friendls').style.display == '') {
|
||||
document.getElementById('friendls').style.display = 'none';
|
||||
document.getElementById('pmcontent').className = 'pmcontent noside';
|
||||
} else {
|
||||
document.getElementById('friendls').style.display = '';
|
||||
document.getElementById('pmcontent').className = 'pmcontent';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="ucinfo">
|
||||
<!--{if $pmid && $do == 'forward'}-->
|
||||
<h1><span><button onclick="location.href='index.php?m=pm_client&a=view&touid=$touid&plid=$plid&$extra'">{lang back}</button></span></h1>
|
||||
<!--{/if}-->
|
||||
|
||||
<form method="post" id="postpmform" name="postpmform" action="index.php?m=pm_client&a=send&$extra">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<!--{if $sendpmseccode}--><input type="hidden" name="seccodehidden" value="$seccodeinit" /><!--{/if}-->
|
||||
<div class="pmcontent{if !$friends} noside{/if}" id="pmcontent">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="newpm">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="sel"></td>
|
||||
<th>{lang pm_to}:</th>
|
||||
<td>
|
||||
<input class="ucinput" type="text" name="msgto" size="65" value="$touser" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sel"></td>
|
||||
<th>{lang pm_message}:</th>
|
||||
<td>
|
||||
{template pm_editorbar}
|
||||
<textarea class="listarea" id="pm_textarea" rows="15" cols="10" style="height: 210px" name="message" onKeyDown="ctlent(event)">$message</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<!--{if $sendpmseccode}-->
|
||||
<tr>
|
||||
<td class="sel"></td>
|
||||
<th>{lang login_seccode}:</th>
|
||||
<td>
|
||||
<label><input type="text" name="seccode" value="" size="5" /> <img width="70" height="21" src="index.php?m=seccode&seccodeauth=$seccodeinit&{eval echo rand();}" /></label>
|
||||
</td>
|
||||
</tr>
|
||||
<!--{/if}-->
|
||||
</tbody>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td class="sel"></td>
|
||||
<th></th>
|
||||
<td>
|
||||
<button name="pmsubmit" type="submit" class="pmsubmit">{lang pm_sendpm}</button>
|
||||
<input type="checkbox" name="type" value="1" checked="checked" />{lang chatpm}
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
<!--{if $friends}-->
|
||||
<div class="pmside" id="friendls">
|
||||
<h3><input type="checkbox" name="chkall" onclick="checkall(this.form, 'friend')" value="$pm[pmid]" /> {lang pm_tofriends}</h3>
|
||||
<ul>
|
||||
<!--{loop $friends $friend}-->
|
||||
<li><input type="checkbox" name="friend[]" value="$friend[friendid]"> $friend[username]</li>
|
||||
<!--{/loop}-->
|
||||
</ul>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{template footer_client}
|
91
uc_server/view/default/pm_view.htm
Normal file
91
uc_server/view/default/pm_view.htm
Normal file
@@ -0,0 +1,91 @@
|
||||
{template header_client}
|
||||
{template pm_nav}
|
||||
|
||||
<div class="ucinfo">
|
||||
<h1>
|
||||
</h1>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="newpm">
|
||||
<!--{loop $pms $pm}-->
|
||||
<tbody>
|
||||
<tr class="{if $pm[authorid] != $user[uid]}ontouser {/if}">
|
||||
<td class="sel"><!--{if $pm[isnew]}--><em class="new"></em><!--{/if}--></td>
|
||||
<td class="ava">
|
||||
<!--{if $pm[authorid] != $user[uid]}--><img src="avatar.php?uid=$pm[authorid]&size=small" /><!--{/if}-->
|
||||
</td>
|
||||
<td class="title">
|
||||
<p>$pm[dateline]</p>
|
||||
$pm[message]</td>
|
||||
<td class="ava">
|
||||
<!--{if $pm[authorid] == $user[uid]}-->
|
||||
<img src="avatar.php?uid=$pm[authorid]&size=small" />
|
||||
<!--{else}-->
|
||||
<a href="index.php?m=pm_client&a=send&pmid=$pm[pmid]&touid=$touid&plid=$plid&daterange=$daterange&do=forward&folder=send&$extra">{lang pm_transmit}</a>
|
||||
<!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<!--{/loop}-->
|
||||
</table>
|
||||
<div style="float:right">
|
||||
<!--{if $touid}-->
|
||||
<button onclick="location.href='index.php?m=pm_client&a=ls&filter=privatepm'">{lang return}</button>
|
||||
<!--{elseif $plid}-->
|
||||
<button onclick="location.href='index.php?m=pm_client&a=ls&filter=chatpm'">{lang return}</button>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
{lang pm_history}:
|
||||
<!--{if $touid}-->
|
||||
<a href="index.php?m=pm_client&a=view&touid=$touid&filter=$filter&$extra"{if $daterange == 1} class="bold"{/if}>{lang pm_daterange_1}</a>
|
||||
<a href="index.php?m=pm_client&a=view&touid=$touid&daterange=2&filter=$filter&$extra"{if $daterange == 2} class="bold"{/if}>{lang pm_daterange_2}</a>
|
||||
<a href="index.php?m=pm_client&a=view&touid=$touid&daterange=3&filter=$filter&$extra"{if $daterange == 3} class="bold"{/if}>{lang pm_daterange_3}</a>
|
||||
<a href="index.php?m=pm_client&a=view&touid=$touid&daterange=4&filter=$filter&$extra"{if $daterange == 4} class="bold"{/if}>{lang pm_daterange_4}</a>
|
||||
<a href="index.php?m=pm_client&a=view&touid=$touid&daterange=5&filter=$filter&$extra"{if $daterange == 5} class="bold"{/if}>{lang pm_daterange_5}</a>
|
||||
<!--{elseif $plid}-->
|
||||
<a href="index.php?m=pm_client&a=view&plid=$plid&filter=$filter&$extra"{if $daterange == 1} class="bold"{/if}>{lang pm_daterange_1}</a>
|
||||
<a href="index.php?m=pm_client&a=view&plid=$plid&daterange=2&filter=$filter&$extra"{if $daterange == 2} class="bold"{/if}>{lang pm_daterange_2}</a>
|
||||
<a href="index.php?m=pm_client&a=view&plid=$plid&daterange=3&filter=$filter&$extra"{if $daterange == 3} class="bold"{/if}>{lang pm_daterange_3}</a>
|
||||
<a href="index.php?m=pm_client&a=view&plid=$plid&daterange=4&filter=$filter&$extra"{if $daterange == 4} class="bold"{/if}>{lang pm_daterange_4}</a>
|
||||
<a href="index.php?m=pm_client&a=view&plid=$plid&daterange=5&filter=$filter&$extra"{if $daterange == 5} class="bold"{/if}>{lang pm_daterange_5}</a>
|
||||
<a href="index.php?m=pm_client&a=member&plid=$plid&filter=$filter&$extra">{lang pm_member}</a>
|
||||
<!--{/if}-->
|
||||
<!--{if $touid}-->
|
||||
<button onclick="if(confirm('{lang pm_confirm_delete}')) location.href='index.php?m=pm_client&a=delete&deleteuid[]=$touid&filter=$filter&$extra'">{lang pm_delete_all}</button>
|
||||
<!--{elseif $plid}-->
|
||||
<!--{if $founderuid == $user['uid']}-->
|
||||
<button onclick="if(confirm('{lang pm_confirm_deletechatpm}')) location.href='index.php?m=pm_client&a=delete&deleteplid[]=$plid&filter=$filter&$extra'">{lang pm_delete_chatpm}</button>
|
||||
<!--{else}-->
|
||||
<button onclick="if(confirm('{lang pm_confirm_quitchatpm}')) location.href='index.php?m=pm_client&a=delete&quitchapm[]=$plid&filter=$filter&$extra'">{lang pm_quit_chatpm}</button>
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
<br style="clear: both" />
|
||||
|
||||
<!--{if $replypmid}-->
|
||||
<form method="post" id="postpmform" name="postpmform" action="index.php?m=pm_client&a=send&replypmid=$replypmid&$extra">
|
||||
<!--{if $sendpmseccode}--><input type="hidden" name="seccodehidden" value="$seccodeinit" /><!--{/if}-->
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<input type="hidden" name="touid" value="$touid">
|
||||
<input type="hidden" name="daterange" value="$daterange">
|
||||
{template pm_editorbar}
|
||||
<textarea class="listarea" id="pm_textarea" rows="6" cols="10" name="message" onKeyDown="ctlent(event)"></textarea>
|
||||
<!--{if $sendpmseccode}-->
|
||||
<p><label><input type="text" name="seccode" value="" size="5" /> <img width="70" height="21" src="index.php?m=seccode&seccodeauth=$seccodeinit&{eval echo rand();}" /></label></p>
|
||||
<!--{/if}-->
|
||||
<p class="pages_btns"><button name="pmsubmit" class="pmsubmit" type="submit">{lang pm_sendpm}</button></p>
|
||||
</form>
|
||||
<!--{/if}-->
|
||||
|
||||
</div>
|
||||
|
||||
<!--{if $scroll == 'bottom'}-->
|
||||
<script type="text/javascript">
|
||||
window.onload = function() {
|
||||
if(!document.postpmform) {
|
||||
return;
|
||||
}
|
||||
window.scroll(0, document.body.scrollHeight);
|
||||
document.postpmform.message.focus();
|
||||
}
|
||||
</script>
|
||||
<!--{/if}-->
|
||||
|
||||
{template footer_client}
|
538
uc_server/view/default/templates.lang.php
Normal file
538
uc_server/view/default/templates.lang.php
Normal file
@@ -0,0 +1,538 @@
|
||||
<?php
|
||||
|
||||
$languages = array(
|
||||
'title'=>'标题',
|
||||
'return'=>'返回',
|
||||
'dateline'=>'时间',
|
||||
'delete'=>'删除',
|
||||
'checkall'=>'全选',
|
||||
'submit' => '提 交',
|
||||
'confirms' => '确定',
|
||||
'finished' => '完成',
|
||||
'yes' => '是',
|
||||
'no' => '否',
|
||||
'tips' => '提示',
|
||||
'list_empty' => '目前没有相关记录!',
|
||||
'shortcut_tips' => '点击编辑,提交后保存',
|
||||
'welcome' => '您好',
|
||||
'edit' => '编辑',
|
||||
'plugin' => '插件中心',
|
||||
'to' => '到',
|
||||
'menu' => '菜单',
|
||||
|
||||
'copyright' => '© 2001-'.date('Y').' <a href="https://code.dismall.com/" target="_blank">Discuz! Team</a>.',
|
||||
|
||||
'founder'=>'UCenter创始人',
|
||||
'login_username'=>'用户名',
|
||||
'login_password'=>'密 码',
|
||||
'login_submit'=>'登 录',
|
||||
'login_seccode'=>'验证码',
|
||||
'login_incorrect' => '<em>登录失败!</em><br />用户名无效,或密码错误。',
|
||||
'login_founder_incorrect' => 'UCenter创始人密码错误',
|
||||
'login_admin_noexists' => '该管理员不存在',
|
||||
'login_seccode_error' => '验证码输入错误',
|
||||
'login_failedlogin' => '密码重试次数过多,请稍后尝试',
|
||||
'login_tips' => 'UCenter 是一个能沟通多个应用的桥梁,使各应用共享一个用户数据库,实现统一登录,注册,用户管理。',
|
||||
'login_seccode_tips' => '如果您无法识别验证码,请点图片更换',
|
||||
'login_secques' => '安全提问',
|
||||
'login_remove_secques' => '清除安全提问',
|
||||
'login_getpw' => '找回密码',
|
||||
|
||||
'menu_index'=>'首页',
|
||||
'menu_basic_setting'=>'基本设置',
|
||||
'menu_register_setting'=>'注册设置',
|
||||
'menu_mail_setting' => '邮件设置',
|
||||
'menu_manager_user'=>'用户管理',
|
||||
'menu_pm'=>'短消息',
|
||||
'menu_credit_exchange'=>'积分兑换',
|
||||
'menu_censor_word'=>'词语过滤',
|
||||
'menu_application'=>'应用管理',
|
||||
'menu_data_list'=>'数据列表',
|
||||
'menu_domain_list' =>'域名解析',
|
||||
'menu_db' => '数据备份',
|
||||
'menu_update_cache'=>'更新缓存',
|
||||
'menu_log' => '日志列表',
|
||||
'menu_logout'=>'退出',
|
||||
'menu_otheradmincp' => '其他管理平台',
|
||||
'menu_admin_user' => '管理员',
|
||||
|
||||
'pm_from'=>'发件人',
|
||||
'pm_to'=>'收件人',
|
||||
'pm_none_record'=>'没有短消息',
|
||||
'pm_total_pm'=>'共 $pmnum[$pmnumindex] 条消息',
|
||||
'pm_system_pm'=>'系统消息',
|
||||
'pm_ignore_list'=>'忽略列表',
|
||||
'pm_ignore_list_comment'=>'添加到该列表中的用户给您发送短消息时将不予接收<br />添加多个忽略人员名单时用逗号 "," 隔开,如“张三,李四,王五”<br />如需禁止所有用户发来的短消息,请设置为 "{ALL}"',
|
||||
'save'=>'保存',
|
||||
'pm_central'=>'短消息中心',
|
||||
'pm_send'=>'发送短消息',
|
||||
'pm_send_announce'=>'发送公共消息',
|
||||
'pm_unread'=>'条未读消息',
|
||||
'pm_history'=>'历史短消息',
|
||||
'pm_sysbox'=>'条系统消息',
|
||||
'pm_annbox'=>'公共消息',
|
||||
'pm_savebox'=>'草稿箱',
|
||||
'pm_outbox'=>'发件箱',
|
||||
'pm_ignorelist'=>'忽略列表',
|
||||
'pm_preview'=>'短消息预览',
|
||||
'back'=>'返回',
|
||||
'pm_tofriends'=>'好友',
|
||||
'pm_subject'=>'消息标题',
|
||||
'pm_notitle'=>'[无标题]',
|
||||
'pm_message'=>'消息内容',
|
||||
'pm_replymessage' => '回复内容',
|
||||
'pm_sendpm'=>'发送',
|
||||
'pm_recv'=>'收信人',
|
||||
'pm_transmit'=>'转发',
|
||||
'pm_mark_unread'=>'标记未读',
|
||||
'pm_swith_friendls'=>'打开/关闭 好友列表',
|
||||
'reply'=>'回复',
|
||||
'upload'=>'上传',
|
||||
'pm_inbox'=>'短消息',
|
||||
'pm_inboxnew'=>'收件箱有',
|
||||
'pm_current'=>'当前短消息',
|
||||
'pm_system' => '系统消息',
|
||||
'pm_preview' => '预览短消息',
|
||||
'pm_date' => '时间',
|
||||
'pm_daterange_1' => '今天',
|
||||
'pm_daterange_2' => '昨天',
|
||||
'pm_daterange_3' => '前天',
|
||||
'pm_daterange_4' => '上周',
|
||||
'pm_daterange_5' => '更早',
|
||||
'pm_prompt_list' => '输入一个列表项目.\r\n留空或者点击取消完成此列表.',
|
||||
'pm_prompt_img' => '请输入图片链接地址:',
|
||||
'pm_prompt_url' => '请输入链接的地址:',
|
||||
'pm_prompt_email' => '请输入此链接的邮箱地址:',
|
||||
'pm_confirm_delete' => '您确定要删除所有短消息吗?',
|
||||
'pm_delete_all' => '删除全部',
|
||||
'pm_delete_chatpm' => '删除群聊',
|
||||
'pm_quit_chatpm' => '退出群聊',
|
||||
'pm_confirm_deletechatpm' => '您确定要删除该群聊的消息吗?',
|
||||
'pm_confirm_quitchatpm' => '您确定要退出该群聊吗?',
|
||||
'new_pm' => '未读消息',
|
||||
'private_pm' => '私人消息',
|
||||
'chat_pm' => '群聊消息',
|
||||
'pm_member' => '参与成员',
|
||||
'pm_confirm_kickmember' => '您确定要踢出该人吗?',
|
||||
'kickmember' => '踢出',
|
||||
'appendchatpmmember' => '加入新成员',
|
||||
'appendmember' => '加入',
|
||||
'tipkickmember' => '将{$member}从该群聊中踢出',
|
||||
'pm_author' => '发起者',
|
||||
'sendto' => '发送给: ',
|
||||
'fromto' => '来自: ',
|
||||
'sendeveryone' => '发送给大家',
|
||||
'privatewithwho' => '与 {$pm[\'tousername\']} 的对话',
|
||||
'chatpmmembernum' => '参与人数: ',
|
||||
'chatpm' => '群聊',
|
||||
|
||||
'editor_b' => '粗体',
|
||||
'editor_i' => '斜体',
|
||||
'editor_u' => '下划线',
|
||||
'editor_list1' => '排序的列表',
|
||||
'editor_lista' => '未排序列表',
|
||||
'editor_indent' => '增加缩进',
|
||||
'editor_color' => '颜色',
|
||||
'editor_alignleft' => '居左',
|
||||
'editor_aligncenter' => '居中',
|
||||
'editor_alignright' => '居右',
|
||||
'editor_floatleft' => '左浮动',
|
||||
'editor_floatright' => '右浮动',
|
||||
'editor_code' => '插入代码',
|
||||
'editor_quote' => '插入引用',
|
||||
'editor_img' => '插入图片',
|
||||
'editor_url' => '插入链接',
|
||||
'editor_email' => '插入邮箱链接',
|
||||
|
||||
'app_list' => '应用列表',
|
||||
'app_list_updated' => '应用列表成功更新。',
|
||||
'app_list_return' => '返回应用列表',
|
||||
'app_list_tips' => '如果出现“通信失败”,请点击“编辑”尝试设置应用域名对应的 IP。',
|
||||
'app_add' => '添加新应用',
|
||||
'app_add_succeed' => '成功添加应用。',
|
||||
'app_delete' => '删除',
|
||||
'app_id' => 'ID',
|
||||
'app_name' => '应用名称',
|
||||
'app_name_comment' => '限 20 字节。',
|
||||
'app_url' => '应用的主 URL',
|
||||
'app_url_comment' => '该应用与 UCenter 通信的接口 URL,结尾请不要加“/” ,应用的通知只发送给主 URL',
|
||||
'app_extra_url' => '应用的其他 URL',
|
||||
'app_extra_url_comment' => '该应用可以访问的其他 URL,结尾请不要加“/” ,每行一个,只有在同步登录时请求该 URL',
|
||||
'app_ip' => '应用 IP',
|
||||
'app_ip_comment' => '正常情况下留空即可。如果由于域名解析问题导致 UCenter 与该应用通信失败,请尝试设置为该应用所在服务器的 IP 地址。',
|
||||
'app_key' => '通信密钥',
|
||||
'app_key_comment' => '只允许使用英文字母及数字,限 64 字节。应用端的通信密钥必须与此设置保持一致,否则该应用将无法与 UCenter 正常通信。',
|
||||
'app_key_generate' => '生成安全通信密钥',
|
||||
'app_login' => '是否开启同步登录',
|
||||
'app_login_comment' => '开启同步登录后,当用户在登录其他应用时,同时也会登录该应用。',
|
||||
'app_charset' => '字符集',
|
||||
'app_dbcharset' => '数据库字符集',
|
||||
'app_detail' => '详情',
|
||||
'app_detail_tips' => '如果出现 <img src="images/error.gif" /> <font color="red">通信失败</font>,请点击“编辑”尝试设置应用域名对应的 IP。',
|
||||
'app_edit' => '编辑',
|
||||
'app_setting' => '编辑应用',
|
||||
'app_type' => '应用类型',
|
||||
'app_linkstatus' => '通信情况',
|
||||
'app_link' => '正在连接...',
|
||||
'app_recvnote' => '是否接受通知',
|
||||
'app_tagtemplates' => '标签单条显示模板',
|
||||
'app_tagtemplates_comment' => '当前应用的标签数据显示在其它应用时的单条数据模板。',
|
||||
'app_tagfields' => '标签模板标记说明',
|
||||
'app_tagfields_comment' => '一行一个标记说明条目,用逗号分割标记和说明文字。如:<br />subject,主题标题<br />url,主题地址',
|
||||
'app_install_type' => '选择安装方式',
|
||||
'app_install_url' => '应用程序安装地址',
|
||||
'app_install_by_url' => 'URL 安装 (推荐)',
|
||||
'app_install_by_custom' => '自定义安装',
|
||||
'app_install_submit' => ' 安 装 ',
|
||||
'app_path' => '应用的物理路径',
|
||||
'app_path_comment' => '默认请留空,如果填写的为相对路径(相对于UC),程序会自动转换为绝对路径,如 ../',
|
||||
'app_viewpro_url' => '查看个人资料页面地址',
|
||||
'app_viewpro_url_comment' => 'URL中域名后面的部分,如:/space.php?uid=%s 这里的 %s 代表uid',
|
||||
'app_api_filename' => '应用接口文件名称',
|
||||
'app_api_filename_comment' => '应用接口文件名称,不含路径,默认为uc.php',
|
||||
'app_code' => '应用的 UCenter 配置信息',
|
||||
'app_code_comment' => '当应用的 UCenter 配置信息丢失时可复制左侧的代码到应用的配置文件中',
|
||||
'app_not_add_tips' => '不能通过 URL 添加应用的可能原因:1. 通过 URL 添加应用开关被关闭;2. 连续多次错误输入 UCenter 创始人密码',
|
||||
'app_recvnotediy' => '是否需要自定义通知类别',
|
||||
'app_disablenote_deleteuser' => '是否接受用户删除通知',
|
||||
'app_disablenote_renameuser' => '是否接受用户改名通知',
|
||||
'app_disablenote_gettag' => '是否接受获取标签通知',
|
||||
'app_disablenote_updatepw' => '是否接受更改用户密码通知',
|
||||
'app_disablenote_updatebadwords' => '是否接受更新关键字列表通知',
|
||||
'app_disablenote_updatehosts' => '是否接受更新域名解析缓存通知',
|
||||
'app_disablenote_updateapps' => '是否接受更新应用列表通知',
|
||||
'app_disablenote_updateclient' => '是否接受更新客户端缓存通知',
|
||||
'app_disablenote_updatecredit' => '是否接受更新用户积分通知',
|
||||
'app_disablenote_getcredit' => '是否接受获取用户的某项积分通知',
|
||||
'app_disablenote_getcreditsettings' => '是否接受向 UCenter 提供积分设置通知',
|
||||
'app_disablenote_updatecreditsettings' => '是否接受更新应用积分设置通知',
|
||||
'app_disablenote_addfeed' => '是否接受添加事件通知',
|
||||
|
||||
'tag_tips' => '设置当前应用获取其他应用标签数据的比例以及扩展数据模板。模板中“{xxx}”表示标签数据的索引,代表相应的数据。',
|
||||
'tag_global_template' => '全局模板',
|
||||
'tag_percent' => '比例',
|
||||
'tag_template' => '模板',
|
||||
'tag_edit' => '编辑',
|
||||
'tag_template_comment' => '包含单条数据的模板',
|
||||
|
||||
'badword_list' => '词语过滤',
|
||||
'badword_list_updated' => '词语过滤成功更新。',
|
||||
'badword_add' => '添加词语过滤',
|
||||
'badword_add_succeed' => '词语过滤添加成功。',
|
||||
'badword_delete' => '删除',
|
||||
'badword_keyword' => '敏感词',
|
||||
'badword_replace' => '替换为',
|
||||
'badword_admin' => '操作人',
|
||||
'badword_multi_add' => '批量添加',
|
||||
'badword_multi_add_comment' => '<li>每行一组,敏感词和替换词之间使用“=”进行分割。</li>
|
||||
<li>如果想将某个词语直接替换成 **,只输入词语即可。</li>
|
||||
<li><strong>例如:</strong></li>
|
||||
<li>toobad</li>
|
||||
<li>badword=good</li>',
|
||||
'badword_skip' => '当冲突时,跳过原来的词表',
|
||||
'badword_overwrite' => '当冲突时,覆盖原来的词表',
|
||||
'badword_truncate' => '清空当前词表,后导入新词语(此操作不可恢复,建议首先 <a href="{$adminscript}?m=badword&a=export" target="_blank">导出词表</a>,做好备份)',
|
||||
|
||||
'announcepm' => '公共消息管理',
|
||||
'announcepm_deleted' => '成功删除公共消息',
|
||||
'clear_pm' => '清理短消息',
|
||||
'clearpm_deleted' => '成功清理的短消息数',
|
||||
'clearpm_totalnum' => '短消息中心消息总数',
|
||||
'clearpm_delunread' => '不删除未读信息',
|
||||
'clearpm_cleardays' => '删除多少天以前的短消息',
|
||||
'clearpm_cleardays_comment' => '不限制时间请输入 0',
|
||||
'clearpm_usernames' => '清理某用户的短消息',
|
||||
'clearpm_usernames_comment' => '输入用户名,多个用户名用半角逗号“,”分隔<br />此功能清空与该用户产生的所有私人消息,由该用户发起的所有群聊消息,以及参与的群聊消息',
|
||||
'announcepm_send_succeed'=>'公共消息成功发送',
|
||||
'pm_clear' => '清空短消息',
|
||||
'pm_search' => '短消息搜索',
|
||||
'pm_whichtable' => '选择分表',
|
||||
'pm_auhtor' => '发件人',
|
||||
'pm_dateline' => '时间范围',
|
||||
'pm_list' => '短消息列表',
|
||||
'pm_delete_confirm' => '该操作不可恢复,您确认要删除这些短消息吗?',
|
||||
|
||||
'creditexchange_updated' => '成功更新积分兑换方案。',
|
||||
'creditexchange_invalid' => '兑换前后应用相同,请重新设置。',
|
||||
'creditexchange_update' => '更新积分兑换方案',
|
||||
'creditexchange_fromto' => '兑换方向',
|
||||
'creditexchange_select' => '请选择',
|
||||
'creditexchange_ratio' => '兑换比率',
|
||||
'creditexchange' => '积分兑换',
|
||||
'creditexchange_syncappcredits' => '同步应用的积分设置',
|
||||
'creditexchange_tips' => '点击“同步应用的积分设置”可以获取应用的积分设置,并且把当前设置结果通知给应用',
|
||||
|
||||
'note_deleteuser' => '删除用户',
|
||||
'note_deletefriend' => '删除好友',
|
||||
'note_gettag' => '获取TAG',
|
||||
'note_updateclient' => '更新应用缓存',
|
||||
'note_list' => '通知列表',
|
||||
'note_list_updated' => '通知列表成功更新。',
|
||||
'note_test' => '测试',
|
||||
'note_delete' => '删除',
|
||||
'note_operation' => '操作',
|
||||
'note_times' => '通知次数',
|
||||
'note_param' => '参数',
|
||||
'note_last_note_time' => '最后通知时间',
|
||||
'note_view' => '查看',
|
||||
'setting_forbidden_username' => '禁止的用户名',
|
||||
'setting_ceonsor_comment' => '可以设置通配符,每个关键字一行,可使用通配符 "*" 如 "*版主*"(不含引号)。',
|
||||
'note_view' => '查看',
|
||||
'note_status' => '通知状态',
|
||||
'note_fail_apps' => '通知失败的应用',
|
||||
|
||||
'feed_list'=>'事件列表',
|
||||
'tag_list'=>'标签列表',
|
||||
'mail_queue' => '邮件队列',
|
||||
'mail_delete' => '删除',
|
||||
'mail_subject' => '邮件标题',
|
||||
'mail_to_username' => '接收者',
|
||||
'mail_add_time' => '加入时间',
|
||||
'mail_failures' => '失败次数',
|
||||
'mail_from_app' => '来源',
|
||||
'mail_operate' => '操作',
|
||||
'anonymity' => '匿名',
|
||||
'mail_send' => '发送邮件',
|
||||
'mail_list_updated' => '邮件列表成功更新。',
|
||||
'mail_send' => '邮件发送',
|
||||
|
||||
'setting' => '设置',
|
||||
'setting_tips' => '',
|
||||
'setting_dateformat' => '日期格式',
|
||||
'setting_dateformat_comment' => '使用 yyyy(yy) 表示年,mm 表示月,dd 表示天。如 yyyy-mm-dd 表示 2000-1-1',
|
||||
'setting_timeformat' => '时间格式',
|
||||
'setting_timeformat_hr24' => '24 小时制',
|
||||
'setting_timeformat_hr12' => '12 小时制',
|
||||
'setting_timeoffset' => '时区',
|
||||
'setting_timeoffset_comment' => '默认为: GMT +08:00',
|
||||
'setting_pmsendregdays' => '发短消息最少注册天数',
|
||||
'setting_pmsendregdays_comment' => '注册天数少于此设置的,不允许发送短消息,0为不限制,此举为了限制机器人发广告',
|
||||
'setting_pmcenter' => '启用短消息中心',
|
||||
'setting_pmcenter_comment' => '是否启用短消息中心功能,不影响使用短消息接口应用程序的使用',
|
||||
'setting_sendpmseccode' => '开启发送短消息验证码',
|
||||
'setting_sendpmseccode_comment' => '是否开启短消息中心发送短消息验证码,可以防止使用机器狂发短消息',
|
||||
'setting_privatepmthreadlimit' => '同一用户在 24 小时内允许发起两人会话的最大数',
|
||||
'setting_privatepmthreadlimit_comment' => '同一用户在 24 小时内可以发起的两人会话数的最大值,建议在 30 - 100 范围内取值,0 为不限制,此举为了限制通过机器批量发广告',
|
||||
'setting_chatpmthreadlimit' => '同一用户在 24 小时内允许发起群聊会话的最大数',
|
||||
'setting_chatpmthreadlimit_comment' => '同一用户在 24 小时内可以发起的群聊会话的最大值,建议在 30 - 100 范围内取值,0 为不限制,此举为了限制通过机器批量发广告',
|
||||
'setting_chatpmmemberlimit' => '参与同一群聊会话的最大用户数',
|
||||
'setting_chatpmmemberlimit_comment' => '同一会话最多能有多少用户参与设置,建议在 30 - 100 范围内取值,0为不限制',
|
||||
'setting_pmfloodctrl' => '发短消息灌水预防',
|
||||
'setting_pmfloodctrl_comment' => '两次发短消息间隔小于此时间,单位秒,0 为不限制,此举为了限制通过机器批量发广告',
|
||||
'setting_addappbyurl' => '启用通过 URL 添加应用功能',
|
||||
'setting_addappbyurl_comment' => '是否启用通过 URL 添加应用功能,建议只在需要通过 URL 添加应用时开启',
|
||||
'setting_insecureoperation' => '启用不安全的操作校验',
|
||||
'setting_insecureoperation_comment' => '是否启用启用不安全的操作校验,建议只有应用必须请求 UCenter API 且无法改造应用时开启',
|
||||
'setting_passwordalgo' => 'UCenter 密码算法',
|
||||
'setting_passwordalgo_comment' => '取值为您当前 PHP 版本支持密码散列算法的常量名。请注意使用高版本 PHP 独有的算法后不能降级到更低的 PHP 版本,否则用户无法验证密码。默认值为空。',
|
||||
'setting_passwordoptions' => 'UCenter 密码算法配置',
|
||||
'setting_passwordoptions_comment' => '取值为密码散列算法的配置信息,以一行 JSON 数组的形式存储,请自行确认相关配置是否正确。当配置本项时, UCenter 密码算法不能为空。默认值为空。',
|
||||
|
||||
'setting_user_failedtime' => '允许用户登录失败次数',
|
||||
'setting_user_failedtime_comment' => '用户登录失败超过设置的次数,将在 15 分钟内无法登录,0 为使用默认设置,负数为不限制次数(不安全)',
|
||||
|
||||
'setting_register' => '注册设置',
|
||||
'setting_register_tips' => '允许/禁止的 Email 地址只需填写 Email 的域名部分,每行一个域名,例如 @hotmail.com',
|
||||
'setting_register_doublee' => '是否允许同一 Email 地址注册多个用户',
|
||||
'setting_register_accessemail' => '允许的 Email 地址',
|
||||
'setting_register_accessemail_comment' => '只允许使用这些域名结尾的 Email 地址注册。',
|
||||
'setting_register_censoremail' => '禁止的 Email 地址',
|
||||
'setting_register_censoremail_comment' => '禁止使用这些域名结尾的 Email 地址注册。',
|
||||
|
||||
'settings_mail_settings_emailfrom' => '邮件来源地址',
|
||||
'settings_mail_settings_emailfrom_comment' => '当发送邮件不指定邮件来源时,默认使用此地址作为邮件来源',
|
||||
'settings_mail_settings_silent' => '屏蔽邮件发送中的全部错误提示',
|
||||
'settings_mail_settings_send' => '邮件发送方式',
|
||||
'settings_mail_settings_send_1' => '通过 PHP 函数的 sendmail 发送(推荐此方式)',
|
||||
'settings_mail_settings_send_2' => '通过 SOCKET 连接 SMTP 服务器发送(支持 ESMTP 验证)',
|
||||
'settings_mail_settings_send_3' => '通过 PHP 函数 SMTP 发送 Email(仅 Windows 主机下有效, 不支持 ESMTP 验证)',
|
||||
'settings_mail_settings_server' => 'SMTP 服务器',
|
||||
'settings_mail_settings_server_comment' => '设置 SMTP 服务器的地址',
|
||||
'settings_mail_settings_port' => 'SMTP 端口',
|
||||
'settings_mail_settings_port_comment' => '设置 SMTP 服务器的端口,默认为 25',
|
||||
'settings_mail_settings_timeout' => 'SMTP 超时',
|
||||
'settings_mail_settings_timeout_comment' => '设置 SMTP 服务器的超时时间(秒),默认为 30',
|
||||
'settings_mail_settings_auth' => 'SMTP 服务器要求身份验证',
|
||||
'settings_mail_settings_auth_comment' => '如果 SMTP 服务器要求身份验证才可以发信,请选择“是”',
|
||||
'settings_mail_settings_from' => '发信人邮件地址',
|
||||
'settings_mail_settings_from_comment' => '如果需要验证, 必须为本服务器的邮件地址。邮件地址中如果要包含用户名,格式为“username <user@domain.com>”',
|
||||
'settings_mail_settings_username' => 'SMTP 身份验证用户名',
|
||||
'settings_mail_settings_password' => 'SMTP 身份验证密码',
|
||||
'settings_mail_settings_delimiter' => '邮件头的分隔符',
|
||||
'settings_mail_settings_delimiter_comment' => '请根据您邮件服务器的设置调整此参数',
|
||||
'settings_mail_settings_delimiter_crlf' => '使用 CRLF 作为分隔符',
|
||||
'settings_mail_settings_delimiter_lf' => '使用 LF 作为分隔符',
|
||||
'settings_mail_settings_delimiter_cr' => '使用 CR 作为分隔符',
|
||||
'settings_mail_settings_includeuser' => '收件人地址中包含用户名',
|
||||
'settings_mail_settings_includeuser_comment' => '选择“是”将在收件人的邮件地址中包含论坛用户名',
|
||||
|
||||
'domain_list' => '域名解析列表',
|
||||
'domain_list_updated' => '域名解析列表成功更新。',
|
||||
'domain_add' => '添加域名解析',
|
||||
'domain_add_succeed' => '域名解析添加成功。',
|
||||
'delete' => '删除',
|
||||
'domain' => '域名',
|
||||
'ip' => 'IP',
|
||||
|
||||
'user_search' => '搜索用户',
|
||||
'user_name' => '用户名',
|
||||
'user_regdate' => '注册日期',
|
||||
'user_regip' => '注册IP',
|
||||
'user_before' => '之前',
|
||||
'user_after' => '之后',
|
||||
'user_add' => '添加用户',
|
||||
'user_password' => '密码',
|
||||
'user_addsubmit' => '添 加',
|
||||
'user_avatar' => '头像',
|
||||
'user_avatar_virtual' => '虚拟头像',
|
||||
'user_avatar_real' => '真实头像',
|
||||
'delete_avatar' => '删除头像',
|
||||
|
||||
'delete' => '删除',
|
||||
'email' => 'Email',
|
||||
'secmobicc' => '安全手机国际电话区号',
|
||||
'secmobile' => '安全手机号',
|
||||
'user_list' => '用户列表',
|
||||
'user_add_succeed' => '成功添加用户。',
|
||||
'user_delete_confirm' => '该操作不可恢复,您确认要删除这些用户吗?',
|
||||
'user_delete_succeed' => '成功删除用户',
|
||||
'user_add_failed' => '添加用户失败',
|
||||
'user_add_username_ignore' => '用户名不合法',
|
||||
'user_add_username_badwords' => '用户名包含敏感字符',
|
||||
'user_add_username_exists' => '该用户名已经被注册',
|
||||
'user_add_email_formatinvalid' => 'Email 地址不合法',
|
||||
'user_add_email_ignore' => 'Email 包含不可使用的邮箱域名',
|
||||
'user_add_email_exists' => '该 Email 地址已经被注册',
|
||||
'user_edit_profile' => '编辑用户资料',
|
||||
'user_edit_profile_sucessfully' => '编辑用户资料成功',
|
||||
'user_edit_profile_failed' => '编辑用户资料失败',
|
||||
'user_keep_blank' => '密码留空,保持不变。',
|
||||
|
||||
'cache_update' => '更新缓存',
|
||||
'cache_update_data' => '更新数据缓存',
|
||||
'cache_update_tpl' => '更新模板缓存',
|
||||
|
||||
'db_export' => '数据备份',
|
||||
'db_export_filename' => '备份文件名',
|
||||
'db_export_volumesize' => '分卷长度(kb)',
|
||||
'db_import' => '导入',
|
||||
'db_list' => '数据恢复',
|
||||
'db_filename' => '文件名',
|
||||
'db_version' => '版本',
|
||||
'db_dateline' => '时间',
|
||||
'db_size' => '尺寸',
|
||||
'db_volume' => '卷号',
|
||||
'db_operation' => '操作',
|
||||
'db_delete_succeed' => '指定备份文件成功删除。',
|
||||
'db_backup_dir' => '备份所在目录',
|
||||
'db_backup_date' => '备份日期',
|
||||
'db_detail' => '详情',
|
||||
'db_start_delete_dumpfile' => '开始删除备份数据,请等待,请勿关闭浏览器',
|
||||
'db_delete_dumpfile_confirm' => '删除数据库备份会同时删除UCenter 下所有应用的同目录下的备份,您确定要删除吗?',
|
||||
'db_start_import_dumpfile' => '开始恢复数据,请等待,请勿关闭浏览器',
|
||||
'db_import_uc_dumpfile_confirm' => '导入备份数据将会覆盖现有用户中心的数据,您确定导入吗?',
|
||||
'db_import_dumpfile_confirm' => '导入备份数据会覆盖现有的数据,您确定导入吗?',
|
||||
'db_start_export_dumpfile' => '开始备份数据,请等待,请勿关闭浏览器',
|
||||
'db_list_tips' => '根据备份日期选择要恢复的备份,点击“详情”进入之后选择要恢复的应用备份',
|
||||
'db_import_tips' => '在需要恢复的应用前面勾选,之后点击“提交”按钮即可恢复备份数据',
|
||||
'db_security_tips' => '出于安全考虑,我们强烈建议您下载或恢复数据库备份文件后删除文件或设置文件不可通过 URL 访问。',
|
||||
'dumpfile_exists' => '备份存在',
|
||||
|
||||
'message_title'=>'提示信息',
|
||||
'message_back'=>'点击这里返回',
|
||||
'message_redirect'=>'页面将在 3 秒后自动跳转到下一页,点击这里直接跳转...',
|
||||
'update_succeed' => '更新成功。',
|
||||
|
||||
'log_list' => '日志列表',
|
||||
'log_operator' => '操作者',
|
||||
'log_ip' => 'IP',
|
||||
'log_time' => '时间',
|
||||
'log_operation' => '操作',
|
||||
'log_extra' => '其他 ',
|
||||
|
||||
'home_version' => 'UCenter 程序版本',
|
||||
'home_environment' => '操作系统及 PHP',
|
||||
'home_server_software' => '服务器软件',
|
||||
'home_server_ip' => '主机名',
|
||||
'home_database' => 'MySQL 版本',
|
||||
'home_note_count' => '未发送的通知数',
|
||||
'home_pm_count' => '短消息数',
|
||||
'home_friend_count' => '好友记录数',
|
||||
'home_upload_perm' => '上传许可',
|
||||
'home_database_size' => '当前数据库尺寸',
|
||||
'home_attach_size' => '当前附件尺寸',
|
||||
'home_dev' => 'Discuz! 开发团队',
|
||||
'home_dev_copyright' => '版权所有',
|
||||
'home_dev_manager' => '总策划兼项目经理',
|
||||
'home_dev_team' => '开发团队',
|
||||
'home_safe_team' => '安全团队',
|
||||
'home_supported_team' => '支持团队',
|
||||
'home_supported_ui' => '界面与用户体验团队',
|
||||
'home_supported_thanks' => '感谢贡献者',
|
||||
'home_dev_addons' => 'Hack 与插件设计',
|
||||
'home_dev_skins' => '界面美工设计',
|
||||
'home_dev_enterprise_site' => '公司网站',
|
||||
'home_dev_project_site' => '产品官方网站',
|
||||
'home_dev_community' => '产品官方论坛',
|
||||
'home_stats' => 'UCenter 统计信息',
|
||||
'home_member_count' => '用户总数',
|
||||
'home_app_count' => '应用总数',
|
||||
'home_env' => '系统信息',
|
||||
'home_envstatus' => '运行环境检测',
|
||||
'home_team' => 'UCenter 开发团队',
|
||||
|
||||
'admin_add_succeed' => '添加 $addname 为管理员成功',
|
||||
'admin_already_is_administrator' => '$addname 已经是管理员了',
|
||||
'admin_failed' => '添加 $addname 为管理员失败',
|
||||
'admin_user_nonexistance' => '无此用户: $addname',
|
||||
'admin_config_unwritable' => '/data/config.inc.php 文件不可写',
|
||||
'admin_founder_pw_incorrect' => '创始人账号密码输入错误',
|
||||
'admin_pw_incorrect' => '两次输入的密码不一致',
|
||||
'admin_pw_oldpw' => '请输入原创始人密码',
|
||||
'admin_pw_newpw' => '请输入新密码',
|
||||
'admin_pw_newpw2' => '请重复输入新密码',
|
||||
'admin_pw_too_short' => '您的密码太短,可能会不安全,您确定设定此密码吗?',
|
||||
'admin_founder_pw_modified' => '创始人账号密码修改成功',
|
||||
'admin_add_admin' => '添加UCenter管理员',
|
||||
'admin_modify_founder_pw' => '修改UCenter创始人密码',
|
||||
'admin_editfoundertips' => '此处密码仅为UCenter后台创始人登陆密码,与各应用管理员密码无关更不会自动同步更改,请务必妥善保存此密码',
|
||||
'admin_privilege' => '权 限',
|
||||
'admin_allow_setting' => '允许改变设置',
|
||||
'admin_allow_app' => '允许管理应用',
|
||||
'admin_allow_user' => '允许管理用户',
|
||||
'admin_allow_badwords' => '允许管理词语过滤',
|
||||
'admin_allow_tag' => '允许管理TAG',
|
||||
'admin_allow_pm' => '允许管理短消息',
|
||||
'admin_allow_credits' => '允许管理积分',
|
||||
'admin_allow_hosts' => '允许管理域名解析',
|
||||
'admin_allow_database' => '允许管理数据',
|
||||
'admin_allow_cache' => '允许管理缓存',
|
||||
'admin_allow_log' => '允许查看日志',
|
||||
'admin_allow_note' => '允许管理数据列表',
|
||||
'oldpw' => '旧密码',
|
||||
'newpw' => '新密码',
|
||||
'repeatpw' => '重复新密码',
|
||||
'reconfkey' => '重置 KEY',
|
||||
'admin_list' => '管理员列表',
|
||||
'confirm_delete' => '您确定删除吗?',
|
||||
'profile' => '资料',
|
||||
'privilege' => '权限',
|
||||
'admin_edit_priv' => '编辑管理员权限',
|
||||
'admin_priv_modified_successfully' => '编辑管理员权限成功',
|
||||
'admin_priv_modified_failed' => '编辑管理员权限失败',
|
||||
'admin_modification_notice' => '请谨慎开放“管理应用”,“管理用户”、“管理数据”权限',
|
||||
'admin_allow_pm' => '允许管理短消息',
|
||||
'admin_admin' => '管理员',
|
||||
'admin_return_admin_ls' => '返回管理员列表',
|
||||
'admin_return_user_ls' => '返回用户列表',
|
||||
'view_new_version' => '查看最新版本',
|
||||
|
||||
'app_allowips' => '允许的IP',
|
||||
'app_allowips_comment' => '限定终端访问的IP, 设置哪些IP可以访问Ucenter 的数据接口',
|
||||
|
||||
'envstatus_result' => '检测结果',
|
||||
'envstatus_ver_too_low' => '您当前系统环境内的 {$envstatus[\'req\']} 版本 ({$envstatus[\'now_ver\']}) 过低,程序无法按预期正常运行。我们强烈建议您升级到 {$envstatus[\'sug_ver\']} 版本,程序正常运行最低要求为 {$envstatus[\'req_ver\']} 版本。',
|
||||
'envstatus_not_found' => '您当前系统环境内未安装或开启 {$envstatus[\'req\']} 模块,程序无法按预期正常运行。我们强烈建议您安装或开启此模块,以满足程序正常运行的最低要求。',
|
||||
'envstatus_ok' => '您当前系统环境适合当前版本的 UCenter {$envstatus[\'version\']} 。',
|
||||
|
||||
);
|
8
uc_server/view/default/user_avatar.htm
Normal file
8
uc_server/view/default/user_avatar.htm
Normal file
@@ -0,0 +1,8 @@
|
||||
{template header_client}
|
||||
<img src="avatar.php?uid=$uid&key=$key&random=$random">
|
||||
<form method="post" action="index.php?m=user&a=avatar&appid=$appid&key=$key&random=$random" enctype="multipart/form-data">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||||
<input type="file" name="attach[]" />
|
||||
<input type="submit" name="submit" class="submit" value=" {lang upload} " />
|
||||
</form>
|
||||
{template footer_client}
|
Reference in New Issue
Block a user