优化 后台搜索索引更新,同时恢复索引记录标记(索引生成器见wiki)
This commit is contained in:
parent
532e2125c1
commit
bd52e4756f
|
@ -228,6 +228,7 @@ if(!$operation) {
|
||||||
$_GET['id'] = $gid = $group['groupid'];
|
$_GET['id'] = $gid = $group['groupid'];
|
||||||
$mgids[] = $gid;
|
$mgids[] = $gid;
|
||||||
|
|
||||||
|
/*search={"admingroup":"action=admingroup","admingroup_edit_threadperm":"action=admingroup&operation=edit&anchor=threadperm"}*/
|
||||||
showmultititle();
|
showmultititle();
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtagheader('tbody', 'threadperm', $_GET['anchor'] == 'threadperm');
|
showtagheader('tbody', 'threadperm', $_GET['anchor'] == 'threadperm');
|
||||||
|
@ -264,7 +265,9 @@ if(!$operation) {
|
||||||
showsetting('admingroup_edit_edit_trade', 'allowedittradenew', $group['allowedittrade'], 'radio');
|
showsetting('admingroup_edit_edit_trade', 'allowedittradenew', $group['allowedittrade'], 'radio');
|
||||||
showsetting('admingroup_edit_usertag', 'alloweditusertagnew', $group['alloweditusertag'], 'radio');
|
showsetting('admingroup_edit_usertag', 'alloweditusertagnew', $group['alloweditusertag'], 'radio');
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"admingroup":"action=admingroup","admingroup_edit_postperm":"action=admingroup&operation=edit&anchor=postperm"}*/
|
||||||
showtagheader('tbody', 'postperm', $_GET['anchor'] == 'postperm');
|
showtagheader('tbody', 'postperm', $_GET['anchor'] == 'postperm');
|
||||||
showtitle('admingroup_edit_postperm');
|
showtitle('admingroup_edit_postperm');
|
||||||
showsetting('admingroup_edit_edit_post', 'alloweditpostnew', $group['alloweditpost'], 'radio');
|
showsetting('admingroup_edit_edit_post', 'alloweditpostnew', $group['alloweditpost'], 'radio');
|
||||||
|
@ -274,7 +277,9 @@ if(!$operation) {
|
||||||
showsetting('admingroup_edit_stick_post', 'allowstickreplynew', $group['allowstickreply'], 'radio');
|
showsetting('admingroup_edit_stick_post', 'allowstickreplynew', $group['allowstickreply'], 'radio');
|
||||||
showsetting('admingroup_edit_manage_tag', 'allowmanagetagnew', $group['allowmanagetag'], 'radio');
|
showsetting('admingroup_edit_manage_tag', 'allowmanagetagnew', $group['allowmanagetag'], 'radio');
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"admingroup":"action=admingroup","admingroup_edit_modcpperm":"action=admingroup&operation=edit&anchor=modcpperm"}*/
|
||||||
showtagheader('tbody', 'modcpperm', $_GET['anchor'] == 'modcpperm');
|
showtagheader('tbody', 'modcpperm', $_GET['anchor'] == 'modcpperm');
|
||||||
showtitle('admingroup_edit_modcpperm');
|
showtitle('admingroup_edit_modcpperm');
|
||||||
showsetting('admingroup_edit_mod_post', 'allowmodpostnew', $group['allowmodpost'], 'radio');
|
showsetting('admingroup_edit_mod_post', 'allowmodpostnew', $group['allowmodpost'], 'radio');
|
||||||
|
@ -289,7 +294,9 @@ if(!$operation) {
|
||||||
showsetting('admingroup_edit_clear_recycle', 'allowclearrecyclenew', $group['allowclearrecycle'], 'radio');
|
showsetting('admingroup_edit_clear_recycle', 'allowclearrecyclenew', $group['allowclearrecycle'], 'radio');
|
||||||
showsetting('admingroup_edit_view_log', 'allowviewlognew', $group['allowviewlog'], 'radio');
|
showsetting('admingroup_edit_view_log', 'allowviewlognew', $group['allowviewlog'], 'radio');
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"admingroup":"action=admingroup","admingroup_edit_spaceperm":"action=admingroup&operation=edit&anchor=spaceperm"}*/
|
||||||
showtagheader('tbody', 'spaceperm', $_GET['anchor'] == 'spaceperm');
|
showtagheader('tbody', 'spaceperm', $_GET['anchor'] == 'spaceperm');
|
||||||
showtitle('admingroup_edit_spaceperm');
|
showtitle('admingroup_edit_spaceperm');
|
||||||
showsetting('admingroup_edit_manage_feed', 'managefeednew', $group['managefeed'], 'radio');
|
showsetting('admingroup_edit_manage_feed', 'managefeednew', $group['managefeed'], 'radio');
|
||||||
|
@ -306,7 +313,9 @@ if(!$operation) {
|
||||||
showsetting('admingroup_edit_manage_magic', 'managemagicnew', $group['managemagic'], 'radio');
|
showsetting('admingroup_edit_manage_magic', 'managemagicnew', $group['managemagic'], 'radio');
|
||||||
showsetting('admingroup_edit_manage_click', 'manageclicknew', $group['manageclick'], 'radio');
|
showsetting('admingroup_edit_manage_click', 'manageclicknew', $group['manageclick'], 'radio');
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"admingroup":"action=admingroup","admingroup_edit_otherperm":"action=admingroup&operation=edit&anchor=otherperm"}*/
|
||||||
showtagheader('tbody', 'otherperm', $_GET['anchor'] == 'otherperm');
|
showtagheader('tbody', 'otherperm', $_GET['anchor'] == 'otherperm');
|
||||||
showtitle('admingroup_edit_otherperm');
|
showtitle('admingroup_edit_otherperm');
|
||||||
showsetting('admingroup_edit_view_ip', 'allowviewipnew', $group['allowviewip'], 'radio');
|
showsetting('admingroup_edit_view_ip', 'allowviewipnew', $group['allowviewip'], 'radio');
|
||||||
|
@ -314,7 +323,9 @@ if(!$operation) {
|
||||||
showsetting('admingroup_edit_allow_make_html', 'allowmakehtmlnew', $group['allowmakehtml'], 'radio');
|
showsetting('admingroup_edit_allow_make_html', 'allowmakehtmlnew', $group['allowmakehtml'], 'radio');
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"admingroup":"action=admingroup","admingroup_edit_portalperm":"action=admingroup&operation=edit&anchor=portalperm"}*/
|
||||||
showtagheader('div', 'portalperm', $_GET['anchor'] == 'portalperm');
|
showtagheader('div', 'portalperm', $_GET['anchor'] == 'portalperm');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtagheader('tbody', '', true);
|
showtagheader('tbody', '', true);
|
||||||
|
@ -328,6 +339,7 @@ if(!$operation) {
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showsubmit('groupsubmit');
|
showsubmit('groupsubmit');
|
||||||
|
|
||||||
|
|
|
@ -530,7 +530,9 @@ if($operation == 'ad') {
|
||||||
array('adv_admin_list', 'adv&operation=list', 1),
|
array('adv_admin_list', 'adv&operation=list', 1),
|
||||||
array('adv_admin_listall', 'adv&operation=ad', 0),
|
array('adv_admin_listall', 'adv&operation=ad', 0),
|
||||||
));
|
));
|
||||||
|
/*search={"adv_admin":"action=adv","adv_admin_list":"action=adv&operation=list"}*/
|
||||||
showtips('adv_list_tip');
|
showtips('adv_list_tip');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
$advs = getadvs();
|
$advs = getadvs();
|
||||||
showtableheader('', 'fixpadding');
|
showtableheader('', 'fixpadding');
|
||||||
|
|
|
@ -67,9 +67,11 @@ if(!submitcheck('albumsubmit')) {
|
||||||
array('album_search', !$searchsubmit),
|
array('album_search', !$searchsubmit),
|
||||||
array('nav_album', $searchsubmit)
|
array('nav_album', $searchsubmit)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_album":"action=album","newlist":"action=album"}*/
|
||||||
if($muticondition) {
|
if($muticondition) {
|
||||||
showtips('album_tips');
|
showtips('album_tips');
|
||||||
}
|
}
|
||||||
|
/*search*/
|
||||||
echo <<<EOT
|
echo <<<EOT
|
||||||
<script type="text/javascript" src="static/js/calendar.js"></script>
|
<script type="text/javascript" src="static/js/calendar.js"></script>
|
||||||
<script type="text/JavaScript">
|
<script type="text/JavaScript">
|
||||||
|
@ -80,6 +82,7 @@ function page(number) {
|
||||||
</script>
|
</script>
|
||||||
EOT;
|
EOT;
|
||||||
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
||||||
|
/*search={"nav_album":"action=album","search":"action=album&search=true"}*/
|
||||||
showformheader("album".(!empty($_GET['search']) ? '&search=true' : ''), '', 'albumforum');
|
showformheader("album".(!empty($_GET['search']) ? '&search=true' : ''), '', 'albumforum');
|
||||||
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -98,6 +101,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if($_GET['albumids']) {
|
if($_GET['albumids']) {
|
||||||
|
|
|
@ -26,6 +26,7 @@ if($operation == 'list') {
|
||||||
array('list', 'albumcategory', 1)
|
array('list', 'albumcategory', 1)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
/*search={"albumcategory":"action=albumcategory"}*/
|
||||||
showformheader('albumcategory');
|
showformheader('albumcategory');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showsetting('system_category_stat', 'settingnew[albumcategorystat]', $_G['setting']['albumcategorystat'], 'radio', '', 1);
|
showsetting('system_category_stat', 'settingnew[albumcategorystat]', $_G['setting']['albumcategorystat'], 'radio', '', 1);
|
||||||
|
@ -41,6 +42,7 @@ if($operation == 'list') {
|
||||||
echo '<tr><td class="td25"> </td><td colspan="3"><div><a class="addtr" onclick="addrow(this, 0, 0)" href="###">'.cplang('albumcategory_addcategory').'</a></div></td></tr>';
|
echo '<tr><td class="td25"> </td><td colspan="3"><div><a class="addtr" onclick="addrow(this, 0, 0)" href="###">'.cplang('albumcategory_addcategory').'</a></div></td></tr>';
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
echo '</td></tr>';
|
echo '</td></tr>';
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showtableheader('', 'notop');
|
showtableheader('', 'notop');
|
||||||
showsubmit('editsubmit');
|
showsubmit('editsubmit');
|
||||||
|
|
|
@ -156,6 +156,7 @@ if(empty($operation)) {
|
||||||
));
|
));
|
||||||
showformheader("announce&operation=edit&announceid={$_GET['announceid']}");
|
showformheader("announce&operation=edit&announceid={$_GET['announceid']}");
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
/*search={"announce":"action=announce"}*/
|
||||||
showtitle('announce_edit');
|
showtitle('announce_edit');
|
||||||
showsetting($lang['subject'], 'newsubject', $announce[subject], 'htmltext');
|
showsetting($lang['subject'], 'newsubject', $announce[subject], 'htmltext');
|
||||||
showsetting('start_time', 'starttimenew', $announce['starttime'], 'calendar', '', 0, '', 1);
|
showsetting('start_time', 'starttimenew', $announce['starttime'], 'calendar', '', 0, '', 1);
|
||||||
|
@ -167,6 +168,7 @@ if(empty($operation)) {
|
||||||
showsetting('announce_message', 'messagenew', $announce['message'], 'textarea');
|
showsetting('announce_message', 'messagenew', $announce['message'], 'textarea');
|
||||||
showsubmit('editsubmit');
|
showsubmit('editsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -30,6 +30,7 @@ if($operation == 'add') {
|
||||||
array('add', 'blockxml&operation=add', 1)
|
array('add', 'blockxml&operation=add', 1)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
/*search={"blockxml":"action=blockxml","search":"action=blockxml&operation=add"}*/
|
||||||
showtips('blockxml_tips');
|
showtips('blockxml_tips');
|
||||||
showformheader('blockxml&operation=add');
|
showformheader('blockxml&operation=add');
|
||||||
showtableheader('blockxml_add');
|
showtableheader('blockxml_add');
|
||||||
|
@ -41,6 +42,7 @@ if($operation == 'add') {
|
||||||
showsubmit('addsubmit');
|
showsubmit('addsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
}
|
}
|
||||||
|
|
||||||
} elseif($operation == 'edit' && !empty($_GET['id'])) {
|
} elseif($operation == 'edit' && !empty($_GET['id'])) {
|
||||||
|
|
|
@ -83,9 +83,11 @@ if(!submitcheck('blogsubmit')) {
|
||||||
array('blog_search', !$searchsubmit),
|
array('blog_search', !$searchsubmit),
|
||||||
array('nav_blog', $searchsubmit)
|
array('nav_blog', $searchsubmit)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_blog":"action=blog","newlist":"action=blog"}*/
|
||||||
if($muticondition) {
|
if($muticondition) {
|
||||||
showtips('blog_tips');
|
showtips('blog_tips');
|
||||||
}
|
}
|
||||||
|
/*search*/
|
||||||
echo <<<EOT
|
echo <<<EOT
|
||||||
<script type="text/javascript" src="static/js/calendar.js"></script>
|
<script type="text/javascript" src="static/js/calendar.js"></script>
|
||||||
<script type="text/JavaScript">
|
<script type="text/JavaScript">
|
||||||
|
@ -96,6 +98,7 @@ function page(number) {
|
||||||
</script>
|
</script>
|
||||||
EOT;
|
EOT;
|
||||||
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
||||||
|
/*search={"nav_blog":"action=blog","search":"action=blog&search=true"}*/
|
||||||
showformheader("blog".(!empty($_GET['search']) ? '&search=true' : ''), '', 'blogforum');
|
showformheader("blog".(!empty($_GET['search']) ? '&search=true' : ''), '', 'blogforum');
|
||||||
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -119,6 +122,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if($_GET['blogids']) {
|
if($_GET['blogids']) {
|
||||||
|
|
|
@ -26,6 +26,7 @@ if($operation == 'list') {
|
||||||
array('list', 'blogcategory', 1)
|
array('list', 'blogcategory', 1)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
/*search={"blogcategory":"action=blogcategory"}*/
|
||||||
showformheader('blogcategory');
|
showformheader('blogcategory');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showsetting('system_category_stat', 'settingnew[blogcategorystat]', $_G['setting']['blogcategorystat'], 'radio', '', 1);
|
showsetting('system_category_stat', 'settingnew[blogcategorystat]', $_G['setting']['blogcategorystat'], 'radio', '', 1);
|
||||||
|
@ -41,6 +42,7 @@ if($operation == 'list') {
|
||||||
echo '<tr><td class="td25"> </td><td colspan="3"><div><a class="addtr" onclick="addrow(this, 0, 0)" href="###">'.cplang('blogcategory_addcategory').'</a></div></td></tr>';
|
echo '<tr><td class="td25"> </td><td colspan="3"><div><a class="addtr" onclick="addrow(this, 0, 0)" href="###">'.cplang('blogcategory_addcategory').'</a></div></td></tr>';
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
echo '</td></tr>';
|
echo '</td></tr>';
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showtableheader('', 'notop');
|
showtableheader('', 'notop');
|
||||||
showsubmit('editsubmit');
|
showsubmit('editsubmit');
|
||||||
|
|
|
@ -83,9 +83,11 @@ if(!submitcheck('blogsubmit')) {
|
||||||
array('blog_search', !$searchsubmit),
|
array('blog_search', !$searchsubmit),
|
||||||
array('nav_blog_recycle_bin', $searchsubmit)
|
array('nav_blog_recycle_bin', $searchsubmit)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_blog_recycle_bin":"action=blogrecyclebin","bloglist":"action=blogrecyclebin"}*/
|
||||||
if($muticondition) {
|
if($muticondition) {
|
||||||
showtips('blog_tips');
|
showtips('blog_tips');
|
||||||
}
|
}
|
||||||
|
/*search*/
|
||||||
echo <<<EOT
|
echo <<<EOT
|
||||||
<script type="text/javascript" src="static/js/calendar.js"></script>
|
<script type="text/javascript" src="static/js/calendar.js"></script>
|
||||||
<script type="text/JavaScript">
|
<script type="text/JavaScript">
|
||||||
|
@ -96,6 +98,7 @@ function page(number) {
|
||||||
</script>
|
</script>
|
||||||
EOT;
|
EOT;
|
||||||
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
||||||
|
/*search={"nav_blog":"action=blog","search":"action=blog&search=true"}*/
|
||||||
showformheader("blogrecyclebin".(!empty($_GET['search']) ? '&search=true' : ''), '', 'blogforum');
|
showformheader("blogrecyclebin".(!empty($_GET['search']) ? '&search=true' : ''), '', 'blogforum');
|
||||||
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -119,6 +122,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if($_GET['blogids']) {
|
if($_GET['blogids']) {
|
||||||
|
|
|
@ -54,7 +54,9 @@ if($operation == 'set') {
|
||||||
if(!submitcheck('cardsubmit')) {
|
if(!submitcheck('cardsubmit')) {
|
||||||
showformheader('card&operation=set&');
|
showformheader('card&operation=set&');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
/*search={"card_config_open":"action=card"}*/
|
||||||
showsetting('card_config_open', 'card_config_open', ($card_setting['open'] ? $card_setting['open'] : 0), 'radio');
|
showsetting('card_config_open', 'card_config_open', ($card_setting['open'] ? $card_setting['open'] : 0), 'radio');
|
||||||
|
/*search*/
|
||||||
showsubmit('cardsubmit');
|
showsubmit('cardsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
@ -92,7 +94,9 @@ if($operation == 'set') {
|
||||||
$perpage = max(20, empty($_GET['perpage']) ? 20 : intval($_GET['perpage']));
|
$perpage = max(20, empty($_GET['perpage']) ? 20 : intval($_GET['perpage']));
|
||||||
echo '<script type="text/javascript" src="static/js/calendar.js"></script>';
|
echo '<script type="text/javascript" src="static/js/calendar.js"></script>';
|
||||||
|
|
||||||
|
/*search={"card_manage_tips":"action=card&operation=manage"}*/
|
||||||
showtips('card_manage_tips');
|
showtips('card_manage_tips');
|
||||||
|
/*search*/
|
||||||
$card_type_option = '';
|
$card_type_option = '';
|
||||||
foreach(C::t('common_card_type')->range(0, 0, 'ASC') as $result) {
|
foreach(C::t('common_card_type')->range(0, 0, 'ASC') as $result) {
|
||||||
$card_type[$result['id']] = $result;
|
$card_type[$result['id']] = $result;
|
||||||
|
@ -207,7 +211,9 @@ if($operation == 'set') {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*search={"card_type_tips":"action=card&operation=type"}*/
|
||||||
showtips('card_type_tips');
|
showtips('card_type_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('card&operation=type&');
|
showformheader('card&operation=type&');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtablerow('class="header"', array('', ''), array(
|
showtablerow('class="header"', array('', ''), array(
|
||||||
|
@ -248,6 +254,7 @@ EOT;
|
||||||
|
|
||||||
echo '<script type="text/javascript" src="static/js/calendar.js"></script>';
|
echo '<script type="text/javascript" src="static/js/calendar.js"></script>';
|
||||||
showformheader('card&operation=make&');
|
showformheader('card&operation=make&');
|
||||||
|
/*search={"card_make_tips":"admin.php?action=card&operation=make"}*/
|
||||||
showtips('card_make_tips');
|
showtips('card_make_tips');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
|
||||||
|
@ -274,6 +281,7 @@ EOT;
|
||||||
showsetting('card_make_cleardateline', 'cleardateline', date("Y-m-d", $_G['timestamp']+31536000), 'calendar', '', 0, '');
|
showsetting('card_make_cleardateline', 'cleardateline', date("Y-m-d", $_G['timestamp']+31536000), 'calendar', '', 0, '');
|
||||||
|
|
||||||
showsetting('card_make_description', 'description', $card_log['description'] , 'text');
|
showsetting('card_make_description', 'description', $card_log['description'] , 'text');
|
||||||
|
/*search*/
|
||||||
showsubmit('cardsubmit');
|
showsubmit('cardsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
|
|
@ -24,7 +24,9 @@ if(empty($operation)) {
|
||||||
array('click_edit_picid', 'click&idtype=picid', $idtype == 'picid' ? 1 : 0),
|
array('click_edit_picid', 'click&idtype=picid', $idtype == 'picid' ? 1 : 0),
|
||||||
array('click_edit_aid', 'click&idtype=aid', $idtype == 'aid' ? 1 : 0),
|
array('click_edit_aid', 'click&idtype=aid', $idtype == 'aid' ? 1 : 0),
|
||||||
));
|
));
|
||||||
|
/*search={"nav_click":"action=click"}*/
|
||||||
showtips('click_edit_tips');
|
showtips('click_edit_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('click&idtype='.$idtype);
|
showformheader('click&idtype='.$idtype);
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtablerow('', array('class="td25"', 'class="td28"', 'class="td25"', 'class="td25"', '', '', '', 'class="td23"', 'class="td25"'), array(
|
showtablerow('', array('class="td25"', 'class="td28"', 'class="td25"', 'class="td25"', '', '', '', 'class="td23"', 'class="td25"'), array(
|
||||||
|
|
|
@ -19,6 +19,7 @@ showsubmenu('collection', array(
|
||||||
array('collection_comment', 'collection&operation=comment', $current['comment']),
|
array('collection_comment', 'collection&operation=comment', $current['comment']),
|
||||||
array('collection_recommend', 'collection&operation=recommend', $current['recommend'])
|
array('collection_recommend', 'collection&operation=recommend', $current['recommend'])
|
||||||
));
|
));
|
||||||
|
/*search={"collection":"action=collection"}*/
|
||||||
echo '<script src="static/js/calendar.js"></script>';
|
echo '<script src="static/js/calendar.js"></script>';
|
||||||
|
|
||||||
if($operation == 'comment') {
|
if($operation == 'comment') {
|
||||||
|
@ -257,4 +258,5 @@ function removeNonExistsCollection($collectionrecommend) {
|
||||||
}
|
}
|
||||||
return $collectionrecommend;
|
return $collectionrecommend;
|
||||||
}
|
}
|
||||||
|
/*search*/
|
||||||
?>
|
?>
|
|
@ -46,6 +46,7 @@ if(empty($operation)) {
|
||||||
array('comment_article_comment', 'comment&operation=article', 0),
|
array('comment_article_comment', 'comment&operation=article', 0),
|
||||||
array('comment_topic_comment', 'comment&operation=topic', 0)
|
array('comment_topic_comment', 'comment&operation=topic', 0)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_comment":"action=comment","comment_comment":"action=comment"}*/
|
||||||
showtips('comment_tips');
|
showtips('comment_tips');
|
||||||
echo <<<EOT
|
echo <<<EOT
|
||||||
<script type="text/javascript" src="static/js/calendar.js"></script>
|
<script type="text/javascript" src="static/js/calendar.js"></script>
|
||||||
|
@ -81,6 +82,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$cids = authcode($cids, 'DECODE');
|
$cids = authcode($cids, 'DECODE');
|
||||||
|
@ -229,6 +231,7 @@ if($operation == 'article' || $operation == 'topic') {
|
||||||
array('comment_article_comment', 'comment&operation=article', $operation == 'article' ? 1 : 0),
|
array('comment_article_comment', 'comment&operation=article', $operation == 'article' ? 1 : 0),
|
||||||
array('comment_topic_comment', 'comment&operation=topic', $operation == 'topic' ? 1 : 0)
|
array('comment_topic_comment', 'comment&operation=topic', $operation == 'topic' ? 1 : 0)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_comment":"action=comment","comment_article_comment":"action=comment&operation=article","comment_topic_comment":"action=comment&operation=topic"}*/
|
||||||
showtips('comment_'.$operation.'_tips');
|
showtips('comment_'.$operation.'_tips');
|
||||||
echo <<<EOT
|
echo <<<EOT
|
||||||
<script type="text/javascript" src="static/js/calendar.js"></script>
|
<script type="text/javascript" src="static/js/calendar.js"></script>
|
||||||
|
@ -254,6 +257,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
|
@ -462,7 +462,9 @@ if(submitcheck('forumsubmit', 1)) {
|
||||||
|
|
||||||
shownav('tools', 'nav_updatecounters');
|
shownav('tools', 'nav_updatecounters');
|
||||||
showsubmenu('nav_updatecounters');
|
showsubmenu('nav_updatecounters');
|
||||||
|
/*search={"nav_updatecounters":"action=counter"}*/
|
||||||
showtips('counter_tips');
|
showtips('counter_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('counter');
|
showformheader('counter');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showsubtitle(array('', 'counter_amount'));
|
showsubtitle(array('', 'counter_amount'));
|
||||||
|
|
|
@ -81,6 +81,7 @@ if($operation == 'export') {
|
||||||
array('nav_db_optimize', 'db&operation=optimize', 0),
|
array('nav_db_optimize', 'db&operation=optimize', 0),
|
||||||
array('nav_db_dbcheck', 'db&operation=dbcheck', 0)
|
array('nav_db_dbcheck', 'db&operation=dbcheck', 0)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_db":"action=db&operation=export","nav_db_export":"action=db&operation=export"}*/
|
||||||
showtips($db_export_tips);
|
showtips($db_export_tips);
|
||||||
showformheader('db&operation=export&setup=1');
|
showformheader('db&operation=export&setup=1');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -122,6 +123,7 @@ if($operation == 'export') {
|
||||||
showsubmit('exportsubmit', 'submit', '', 'more_options');
|
showsubmit('exportsubmit', 'submit', '', 'more_options');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search}*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
@ -412,9 +414,11 @@ if($operation == 'export') {
|
||||||
array('nav_db_optimize', 'db&operation=optimize', 0),
|
array('nav_db_optimize', 'db&operation=optimize', 0),
|
||||||
array('nav_db_dbcheck', 'db&operation=dbcheck', 0)
|
array('nav_db_dbcheck', 'db&operation=dbcheck', 0)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_db":"action=db&operation=export","nav_db_import":"action=db&operation=import"}*/
|
||||||
showtips('db_import_tips');
|
showtips('db_import_tips');
|
||||||
showtableheader('db_import');
|
showtableheader('db_import');
|
||||||
showtablerow('', array('colspan="9" class="tipsblock"'), array(cplang('do_import_option', array('restore_url' => $restore_url))));
|
showtablerow('', array('colspan="9" class="tipsblock"'), array(cplang('do_import_option', array('restore_url' => $restore_url))));
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showformheader('db&operation=import');
|
showformheader('db&operation=import');
|
||||||
showtitle('db_export_file');
|
showtitle('db_export_file');
|
||||||
|
@ -541,6 +545,7 @@ if($operation == 'export') {
|
||||||
array('nav_db_optimize', 'db&operation=optimize', 0),
|
array('nav_db_optimize', 'db&operation=optimize', 0),
|
||||||
array('nav_db_dbcheck', 'db&operation=dbcheck', 0)
|
array('nav_db_dbcheck', 'db&operation=dbcheck', 0)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_db":"action=db&operation=export","nav_db_runquery":"action=db&operation=runquery"}*/
|
||||||
showtips('db_runquery_tips');
|
showtips('db_runquery_tips');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showformheader('db&operation=runquery&option=simple');
|
showformheader('db&operation=runquery&option=simple');
|
||||||
|
@ -558,6 +563,7 @@ if($operation == 'export') {
|
||||||
}
|
}
|
||||||
|
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$queries = $_GET['queries'];
|
$queries = $_GET['queries'];
|
||||||
|
@ -600,7 +606,9 @@ if($operation == 'export') {
|
||||||
array('nav_db_optimize', 'db&operation=optimize', 1),
|
array('nav_db_optimize', 'db&operation=optimize', 1),
|
||||||
array('nav_db_dbcheck', 'db&operation=dbcheck', 0)
|
array('nav_db_dbcheck', 'db&operation=dbcheck', 0)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_db":"action=db&operation=export","nav_db_optimize":"action=db&operation=optimize"}*/
|
||||||
showtips('db_optimize_tips');
|
showtips('db_optimize_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('db&operation=optimize');
|
showformheader('db&operation=optimize');
|
||||||
showtableheader('db_optimize_tables');
|
showtableheader('db_optimize_tables');
|
||||||
showsubtitle(array('', 'db_optimize_table_name', 'type', 'db_optimize_rows', 'db_optimize_data', 'db_optimize_index', 'db_optimize_frag'));
|
showsubtitle(array('', 'db_optimize_table_name', 'type', 'db_optimize_rows', 'db_optimize_data', 'db_optimize_index', 'db_optimize_frag'));
|
||||||
|
|
|
@ -80,7 +80,9 @@ if(submitcheck('editsubmit')) {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
showsubmenu('district');
|
showsubmenu('district');
|
||||||
|
/*search={"district":"action=district"}*/
|
||||||
showtips('district_tips');
|
showtips('district_tips');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showformheader('district&pid='.$values[0].'&cid='.$values[1].'&did='.$values[2]);
|
showformheader('district&pid='.$values[0].'&cid='.$values[1].'&did='.$values[2]);
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
|
|
@ -48,10 +48,12 @@ if(!submitcheck('doingsubmit')) {
|
||||||
array('doing_search', !$searchsubmit),
|
array('doing_search', !$searchsubmit),
|
||||||
array('nav_doing', $searchsubmit)
|
array('nav_doing', $searchsubmit)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_doing":"action=doing"}*/
|
||||||
if(empty($newlist)) {
|
if(empty($newlist)) {
|
||||||
$search_tips = 1;
|
$search_tips = 1;
|
||||||
showtips('doing_tips');
|
showtips('doing_tips');
|
||||||
}
|
}
|
||||||
|
/*search*/
|
||||||
echo <<<EOT
|
echo <<<EOT
|
||||||
<script type="text/javascript" src="static/js/calendar.js"></script>
|
<script type="text/javascript" src="static/js/calendar.js"></script>
|
||||||
<script type="text/JavaScript">
|
<script type="text/JavaScript">
|
||||||
|
@ -62,6 +64,7 @@ function page(number) {
|
||||||
</script>
|
</script>
|
||||||
EOT;
|
EOT;
|
||||||
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
||||||
|
/*search={"nav_doing":"action=doing","search":"action=doing&search=true"}*/
|
||||||
showformheader("doing".(!empty($_GET['search']) ? '&search=true' : ''), '', 'doingforum');
|
showformheader("doing".(!empty($_GET['search']) ? '&search=true' : ''), '', 'doingforum');
|
||||||
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -77,6 +80,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,9 @@ if($operation == 'app') {
|
||||||
'mobile' => $lang['mobile'],
|
'mobile' => $lang['mobile'],
|
||||||
'default' => $lang['default']
|
'default' => $lang['default']
|
||||||
);
|
);
|
||||||
|
/*search={"setting_domain":"action=domain","setting_domain_app":"domain&operation=app"}*/
|
||||||
showtips('setting_domain_app_tips');
|
showtips('setting_domain_app_tips');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showformheader('domain&operation=app');
|
showformheader('domain&operation=app');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -91,7 +93,9 @@ if($operation == 'app') {
|
||||||
'channel' => $lang['channel'],
|
'channel' => $lang['channel'],
|
||||||
);
|
);
|
||||||
if(!submitcheck('submit')) {
|
if(!submitcheck('submit')) {
|
||||||
|
/*search={"setting_domain":"action=domain","setting_domain_root":"domain&operation=root"}*/
|
||||||
showtips('setting_domain_root_tips');
|
showtips('setting_domain_root_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('domain&operation=root');
|
showformheader('domain&operation=root');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showsubtitle(array('name', 'setting_domain_app_domain'));
|
showsubtitle(array('name', 'setting_domain_app_domain'));
|
||||||
|
@ -132,6 +136,7 @@ if($operation == 'app') {
|
||||||
} else {
|
} else {
|
||||||
if(!submitcheck('domainsubmit')) {
|
if(!submitcheck('domainsubmit')) {
|
||||||
|
|
||||||
|
/*search={"setting_domain":"action=domain","setting_domain_base":"domain&operation=base"}*/
|
||||||
showtips('setting_domain_base_tips');
|
showtips('setting_domain_base_tips');
|
||||||
showformheader("domain");
|
showformheader("domain");
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -149,6 +154,7 @@ if($operation == 'app') {
|
||||||
showsubmit('domainsubmit');
|
showsubmit('domainsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$settings = $_GET['settingnew'];
|
$settings = $_GET['settingnew'];
|
||||||
|
|
|
@ -78,6 +78,7 @@ if($operation == 'alipay') {
|
||||||
array('nav_ec_inviteorders', 'ec&operation=inviteorders', 0)
|
array('nav_ec_inviteorders', 'ec&operation=inviteorders', 0)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
/*search={"nav_ec":"action=setting&operation=ec","nav_ec_alipay":"action=ec&operation=alipay"}*/
|
||||||
showtips('ec_alipay_tips');
|
showtips('ec_alipay_tips');
|
||||||
showformheader('ec&operation=alipay');
|
showformheader('ec&operation=alipay');
|
||||||
|
|
||||||
|
@ -92,6 +93,7 @@ if($operation == 'alipay') {
|
||||||
showsetting('ec_alipay_partner', 'settingsnew[ec_partner]', $ec_partner, 'text');
|
showsetting('ec_alipay_partner', 'settingsnew[ec_partner]', $ec_partner, 'text');
|
||||||
showsetting('ec_alipay_securitycode', 'settingsnew[ec_securitycode]', $ec_securitycodemask, 'text');
|
showsetting('ec_alipay_securitycode', 'settingsnew[ec_securitycode]', $ec_securitycodemask, 'text');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showtableheader('', 'notop');
|
showtableheader('', 'notop');
|
||||||
showsubmit('alipaysubmit');
|
showsubmit('alipaysubmit');
|
||||||
|
@ -191,6 +193,7 @@ EOT;
|
||||||
array('nav_ec_inviteorders', 'ec&operation=inviteorders', 0)
|
array('nav_ec_inviteorders', 'ec&operation=inviteorders', 0)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
/*search={"nav_ec":"action=setting&operation=ec","nav_ec_tenpay":"action=ec&operation=tenpay"}*/
|
||||||
showtips('ec_tenpay_tips');
|
showtips('ec_tenpay_tips');
|
||||||
showformheader('ec&operation=tenpay');
|
showformheader('ec&operation=tenpay');
|
||||||
|
|
||||||
|
@ -213,6 +216,7 @@ EOT;
|
||||||
'<a href="'.ADMINSCRIPT.'?action=ec&operation=tenpay&checktype=goods" target="_blank">'.$lang['ec_alipay_checklink_goods'].'</a><br />'
|
'<a href="'.ADMINSCRIPT.'?action=ec&operation=tenpay&checktype=goods" target="_blank">'.$lang['ec_alipay_checklink_goods'].'</a><br />'
|
||||||
);
|
);
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showtableheader('', 'notop');
|
showtableheader('', 'notop');
|
||||||
showsubmit('tenpaysubmit');
|
showsubmit('tenpaysubmit');
|
||||||
|
@ -271,6 +275,7 @@ EOT;
|
||||||
array('nav_ec_tradelog', 'tradelog', 0),
|
array('nav_ec_tradelog', 'tradelog', 0),
|
||||||
array('nav_ec_inviteorders', 'ec&operation=inviteorders', 0)
|
array('nav_ec_inviteorders', 'ec&operation=inviteorders', 0)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_ec":"action=setting&operation=ec","nav_ec_orders":"action=ec&operation=orders"}*/
|
||||||
showtips('ec_orders_tips');
|
showtips('ec_orders_tips');
|
||||||
showtagheader('div', 'ordersearch', !submitcheck('searchsubmit', 1));
|
showtagheader('div', 'ordersearch', !submitcheck('searchsubmit', 1));
|
||||||
showformheader('ec&operation=orders');
|
showformheader('ec&operation=orders');
|
||||||
|
@ -291,6 +296,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
if(submitcheck('searchsubmit', 1)) {
|
if(submitcheck('searchsubmit', 1)) {
|
||||||
|
|
||||||
|
@ -404,11 +410,13 @@ EOT;
|
||||||
array('nav_ec_inviteorders', 'ec&operation=inviteorders', 0)
|
array('nav_ec_inviteorders', 'ec&operation=inviteorders', 0)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
/*search={"nav_ec":"action=setting&operation=ec","nav_ec_credit":"action=ec&operation=credit"}*/
|
||||||
showtips('ec_credit_tips');
|
showtips('ec_credit_tips');
|
||||||
showformheader('ec&operation=credit');
|
showformheader('ec&operation=credit');
|
||||||
showtableheader('ec_credit', 'nobottom');
|
showtableheader('ec_credit', 'nobottom');
|
||||||
showsetting('ec_credit_maxcreditspermonth', 'ec_creditnew[maxcreditspermonth]', $ec_credit['maxcreditspermonth'], 'text');
|
showsetting('ec_credit_maxcreditspermonth', 'ec_creditnew[maxcreditspermonth]', $ec_credit['maxcreditspermonth'], 'text');
|
||||||
showtablefooter('</tbody>');
|
showtablefooter('</tbody>');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showtableheader('ec_credit_rank', 'notop fixpadding');
|
showtableheader('ec_credit_rank', 'notop fixpadding');
|
||||||
showsubtitle(array('ec_credit_rank', 'ec_credit_between', 'ec_credit_sellericon', 'ec_credit_buyericon'));
|
showsubtitle(array('ec_credit_rank', 'ec_credit_between', 'ec_credit_sellericon', 'ec_credit_buyericon'));
|
||||||
|
|
|
@ -43,6 +43,7 @@ if($operation == 'global') {
|
||||||
if(empty($feed['dateline'])) {
|
if(empty($feed['dateline'])) {
|
||||||
$feed['dateline'] = dgmdate($_G['timestamp'], 'Y-m-d H:i');
|
$feed['dateline'] = dgmdate($_G['timestamp'], 'Y-m-d H:i');
|
||||||
}
|
}
|
||||||
|
/*search={"nav_feed":"action=feed"}*/
|
||||||
showformheader('feed&operation=global', $feed['uid'] ? '' : 'onsubmit="edit_save();"');
|
showformheader('feed&operation=global', $feed['uid'] ? '' : 'onsubmit="edit_save();"');
|
||||||
echo '<script type="text/javascript" src="'.STATICURL.'image/editor/editor_function.js"></script>';
|
echo '<script type="text/javascript" src="'.STATICURL.'image/editor/editor_function.js"></script>';
|
||||||
echo "<input type=\"hidden\" name=\"feednew[feedid]\" value=\"$feed[feedid]\" /><input type=\"hidden\" name=\"feednew[feeduid]\" value=\"$feed[uid]\" />";
|
echo "<input type=\"hidden\" name=\"feednew[feedid]\" value=\"$feed[feedid]\" /><input type=\"hidden\" name=\"feednew[feeduid]\" value=\"$feed[uid]\" />";
|
||||||
|
@ -89,6 +90,7 @@ EOF;
|
||||||
showsubmit('globalsubmit');
|
showsubmit('globalsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
} else {
|
} else {
|
||||||
$feednew = getgpc('feednew');
|
$feednew = getgpc('feednew');
|
||||||
$feedid = intval($feednew['feedid']);
|
$feedid = intval($feednew['feedid']);
|
||||||
|
|
|
@ -618,6 +618,7 @@ var rowtypedata = [
|
||||||
|
|
||||||
if(count($mforum) == 1 && $mforum[0]['type'] == 'group') {
|
if(count($mforum) == 1 && $mforum[0]['type'] == 'group') {
|
||||||
$mforum[0]['extra'] = dunserialize($mforum[0]['extra']);
|
$mforum[0]['extra'] = dunserialize($mforum[0]['extra']);
|
||||||
|
/*search={"forums_admin":"action=forums","forums_edit":"action=forums&operation=edit"}*/
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showsetting('forums_edit_basic_cat_name', 'namenew', $mforum[0]['name'], 'text');
|
showsetting('forums_edit_basic_cat_name', 'namenew', $mforum[0]['name'], 'text');
|
||||||
showsetting('forums_edit_basic_cat_name_color', 'extranew[namecolor]', $mforum[0]['extra']['namecolor'], 'color');
|
showsetting('forums_edit_basic_cat_name_color', 'extranew[namecolor]', $mforum[0]['extra']['namecolor'], 'color');
|
||||||
|
@ -639,6 +640,7 @@ var rowtypedata = [
|
||||||
showsetting('forums_edit_basic_seodescription', 'seodescriptionnew', dhtmlspecialchars($mforum[0]['seodescription']), 'textarea');
|
showsetting('forums_edit_basic_seodescription', 'seodescriptionnew', dhtmlspecialchars($mforum[0]['seodescription']), 'textarea');
|
||||||
showsubmit('detailsubmit');
|
showsubmit('detailsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
@ -756,6 +758,7 @@ var rowtypedata = [
|
||||||
|
|
||||||
$_G['multisetting'] = $multiset ? 1 : 0;
|
$_G['multisetting'] = $multiset ? 1 : 0;
|
||||||
showmultititle();
|
showmultititle();
|
||||||
|
/*search={"forums_admin":"action=forums","forums_edit_basic":"action=forums&operation=edit&anchor=basic"}*/
|
||||||
showtagheader('div', 'basic', $anchor == 'basic');
|
showtagheader('div', 'basic', $anchor == 'basic');
|
||||||
if(!$multiset) {
|
if(!$multiset) {
|
||||||
showtips('forums_edit_tips');
|
showtips('forums_edit_tips');
|
||||||
|
@ -811,7 +814,9 @@ var rowtypedata = [
|
||||||
showsetting('forums_edit_basic_seodescription', 'seodescriptionnew', dhtmlspecialchars($forum['seodescription']), 'textarea');
|
showsetting('forums_edit_basic_seodescription', 'seodescriptionnew', dhtmlspecialchars($forum['seodescription']), 'textarea');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"forums_admin":"action=forums","forums_edit_extend":"action=forums&operation=edit&anchor=extend"}*/
|
||||||
showtagheader('div', 'extend', $anchor == 'extend');
|
showtagheader('div', 'extend', $anchor == 'extend');
|
||||||
if(!$multiset) {
|
if(!$multiset) {
|
||||||
showtips('forums_edit_tips');
|
showtips('forums_edit_tips');
|
||||||
|
@ -887,7 +892,9 @@ var rowtypedata = [
|
||||||
showsetting('forums_edit_extend_recommend_dateline', 'modrecommendnew[dateline]', $forum['modrecommend']['dateline'], 'text');
|
showsetting('forums_edit_extend_recommend_dateline', 'modrecommendnew[dateline]', $forum['modrecommend']['dateline'], 'text');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"forums_admin":"action=forums","forums_edit_posts":"action=forums&operation=edit&anchor=posts"}*/
|
||||||
showtagheader('div', 'posts', $anchor == 'posts');
|
showtagheader('div', 'posts', $anchor == 'posts');
|
||||||
if(!$multiset) {
|
if(!$multiset) {
|
||||||
showtips('forums_edit_tips');
|
showtips('forums_edit_tips');
|
||||||
|
@ -942,8 +949,10 @@ var rowtypedata = [
|
||||||
|
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
if(!$multiset) {
|
if(!$multiset) {
|
||||||
|
/*search={"forums_admin":"action=forums","forums_edit_attachtype":"action=forums&operation=edit&anchor=attachtype"}*/
|
||||||
showtagheader('div', 'attachtype', $anchor == 'attachtype');
|
showtagheader('div', 'attachtype', $anchor == 'attachtype');
|
||||||
showtips('forums_edit_attachtype_tips');
|
showtips('forums_edit_attachtype_tips');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -952,7 +961,9 @@ var rowtypedata = [
|
||||||
echo '<tr><td></td><td colspan="2"><div><a href="###" onclick="addrow(this, 1)" class="addtr">'.$lang['misc_attachtype_add'].'</a></div></tr>';
|
echo '<tr><td></td><td colspan="2"><div><a href="###" onclick="addrow(this, 1)" class="addtr">'.$lang['misc_attachtype_add'].'</a></div></tr>';
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"forums_admin":"action=forums","forums_edit_credits_policy":"action=forums&operation=edit&anchor=credits"}*/
|
||||||
showtagheader('div', 'credits', $anchor == 'credits');
|
showtagheader('div', 'credits', $anchor == 'credits');
|
||||||
if(!$multiset) {
|
if(!$multiset) {
|
||||||
showtips('forums_edit_tips');
|
showtips('forums_edit_tips');
|
||||||
|
@ -1011,6 +1022,7 @@ var rowtypedata = [
|
||||||
</script>
|
</script>
|
||||||
EOF;
|
EOF;
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
}
|
}
|
||||||
|
|
||||||
if($allowthreadtypes && !$multiset) {
|
if($allowthreadtypes && !$multiset) {
|
||||||
|
@ -1036,6 +1048,7 @@ EOF;
|
||||||
];
|
];
|
||||||
</script>
|
</script>
|
||||||
EOT;
|
EOT;
|
||||||
|
/*search={"forums_admin":"action=forums","forums_edit_threadtypes_config":"action=forums&operation=edit&anchor=threadtypes"}*/
|
||||||
showtagheader('div', 'threadtypes', $anchor == 'threadtypes');
|
showtagheader('div', 'threadtypes', $anchor == 'threadtypes');
|
||||||
if(!$multiset) {
|
if(!$multiset) {
|
||||||
showtips('forums_edit_tips');
|
showtips('forums_edit_tips');
|
||||||
|
@ -1070,7 +1083,9 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"forums_admin":"action=forums","forums_edit_threadsorts":"action=forums&operation=edit&anchor=threadsorts"}*/
|
||||||
showtagheader('div', 'threadsorts', $anchor == 'threadsorts');
|
showtagheader('div', 'threadsorts', $anchor == 'threadsorts');
|
||||||
if(!$multiset) {
|
if(!$multiset) {
|
||||||
showtips('forums_edit_tips');
|
showtips('forums_edit_tips');
|
||||||
|
@ -1094,8 +1109,10 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*search={"forums_admin":"action=forums","forums_edit_perm_forum":"action=forums&operation=edit&anchor=perm"}*/
|
||||||
showtagheader('div', 'perm', $anchor == 'perm');
|
showtagheader('div', 'perm', $anchor == 'perm');
|
||||||
if(!$multiset) {
|
if(!$multiset) {
|
||||||
showtips('forums_edit_tips');
|
showtips('forums_edit_tips');
|
||||||
|
@ -1252,6 +1269,7 @@ EOT;
|
||||||
showsetting('forums_edit_perm_spview', array('spviewpermnew', $spviewgroup), $forum['spviewperm'], 'mcheckbox');
|
showsetting('forums_edit_perm_spview', array('spviewpermnew', $spviewgroup), $forum['spviewperm'], 'mcheckbox');
|
||||||
showsetting('forums_edit_perm_formulapermmessage', 'formulapermmessagenew', $forum['formulapermmessage'], 'textarea');
|
showsetting('forums_edit_perm_formulapermmessage', 'formulapermmessagenew', $forum['formulapermmessage'], 'textarea');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
}
|
}
|
||||||
if($pluginsetting) {
|
if($pluginsetting) {
|
||||||
|
|
|
@ -199,11 +199,13 @@ if($operation == 'perm') {
|
||||||
$members[$member['uid']] = $member;
|
$members[$member['uid']] = $member;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*search={"menu_founder_perm":"action=founder"}*/
|
||||||
if(!$founderexists) {
|
if(!$founderexists) {
|
||||||
showtips(cplang('home_security_nofounder').cplang('home_security_founder'));
|
showtips(cplang('home_security_nofounder').cplang('home_security_founder'));
|
||||||
} else {
|
} else {
|
||||||
showtips('home_security_founder');
|
showtips('home_security_founder');
|
||||||
}
|
}
|
||||||
|
/*search*/
|
||||||
showformheader('founder&operation=perm&do=member');
|
showformheader('founder&operation=perm&do=member');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showsubtitle(array('', 'founder_username', 'founder_usergname', ''));
|
showsubtitle(array('', 'founder_username', 'founder_usergname', ''));
|
||||||
|
|
|
@ -35,6 +35,7 @@ if($operation == 'setting') {
|
||||||
if(!submitcheck('updategroupsetting')) {
|
if(!submitcheck('updategroupsetting')) {
|
||||||
shownav('group', 'nav_group_setting');
|
shownav('group', 'nav_group_setting');
|
||||||
showsubmenu('nav_group_setting');
|
showsubmenu('nav_group_setting');
|
||||||
|
/*search={"nav_group_setting":"action=group&operation=setting"}*/
|
||||||
showformheader('group&operation=setting');
|
showformheader('group&operation=setting');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtitle('groups_setting_basic');
|
showtitle('groups_setting_basic');
|
||||||
|
@ -54,6 +55,7 @@ if($operation == 'setting') {
|
||||||
showsubmit('updategroupsetting');
|
showsubmit('updategroupsetting');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
require_once libfile('function/group');
|
require_once libfile('function/group');
|
||||||
|
@ -641,6 +643,7 @@ var rowtypedata = [
|
||||||
shownav('group', 'nav_group_userperm');
|
shownav('group', 'nav_group_userperm');
|
||||||
$varname = array('newgroup_userperm', array(), 'isfloat');
|
$varname = array('newgroup_userperm', array(), 'isfloat');
|
||||||
showsubmenu(cplang('nav_group_userperm').' - '.cplang('group_userperm_moderator'));
|
showsubmenu(cplang('nav_group_userperm').' - '.cplang('group_userperm_moderator'));
|
||||||
|
/*search={"newgroup_userperm":"action=group&operation=userperm"}*/
|
||||||
showformheader("group&operation=userperm&id=$id");
|
showformheader("group&operation=userperm&id=$id");
|
||||||
showtableheader();
|
showtableheader();
|
||||||
$varname[1] = array(
|
$varname[1] = array(
|
||||||
|
@ -694,6 +697,7 @@ var rowtypedata = [
|
||||||
showsubmit('permsubmit', 'submit');
|
showsubmit('permsubmit', 'submit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
} else {
|
} else {
|
||||||
$default_perm = array('allowstickthread' => 0, 'allowbumpthread' => 0, 'allowhighlightthread' => 0, 'allowlivethread' => 0, 'allowstampthread' => 0, 'allowclosethread' => 0, 'allowmergethread' => 0, 'allowsplitthread' => 0, 'allowrepairthread' => 0, 'allowrefund' => 0, 'alloweditpoll' => 0, 'allowremovereward' => 0, 'alloweditactivity' => 0, 'allowedittrade' => 0, 'allowdigestthread' => 0, 'alloweditpost' => 0, 'allowwarnpost' => 0, 'allowbanpost' => 0, 'allowdelpost' => 0, 'allowupbanner' => 0, 'disablepostctrl' => 0, 'allowviewip' => 0);
|
$default_perm = array('allowstickthread' => 0, 'allowbumpthread' => 0, 'allowhighlightthread' => 0, 'allowlivethread' => 0, 'allowstampthread' => 0, 'allowclosethread' => 0, 'allowmergethread' => 0, 'allowsplitthread' => 0, 'allowrepairthread' => 0, 'allowrefund' => 0, 'alloweditpoll' => 0, 'allowremovereward' => 0, 'alloweditactivity' => 0, 'allowedittrade' => 0, 'allowdigestthread' => 0, 'alloweditpost' => 0, 'allowwarnpost' => 0, 'allowbanpost' => 0, 'allowdelpost' => 0, 'allowupbanner' => 0, 'disablepostctrl' => 0, 'allowviewip' => 0);
|
||||||
$_GET['newgroup_userperm'] = array_merge($default_perm, $_GET['newgroup_userperm']);
|
$_GET['newgroup_userperm'] = array_merge($default_perm, $_GET['newgroup_userperm']);
|
||||||
|
@ -737,7 +741,9 @@ var rowtypedata = [
|
||||||
EOT;
|
EOT;
|
||||||
shownav('group', 'nav_group_level');
|
shownav('group', 'nav_group_level');
|
||||||
showsubmenu('nav_group_level');
|
showsubmenu('nav_group_level');
|
||||||
|
/*search={"nav_group_level":"action=group&operation=level"}*/
|
||||||
showtips('group_level_tips');
|
showtips('group_level_tips');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showformheader('group&operation=level');
|
showformheader('group&operation=level');
|
||||||
showtableheader('group_level', 'fixpadding', 'id="grouplevel"');
|
showtableheader('group_level', 'fixpadding', 'id="grouplevel"');
|
||||||
|
@ -1092,6 +1098,7 @@ function searchgroups($submit) {
|
||||||
$dayselect .= "<option value=\"$d\" ".($birthday == $d ? 'selected' : '').">$d</option>\n";
|
$dayselect .= "<option value=\"$d\" ".($birthday == $d ? 'selected' : '').">$d</option>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*search={"nav_group_manage":"action=group&operation=manage"}*/
|
||||||
showtagheader('div', 'searchgroups', !$submit);
|
showtagheader('div', 'searchgroups', !$submit);
|
||||||
echo '<script src="static/js/calendar.js" type="text/javascript"></script>';
|
echo '<script src="static/js/calendar.js" type="text/javascript"></script>';
|
||||||
showformheader("group&operation=manage");
|
showformheader("group&operation=manage");
|
||||||
|
@ -1112,6 +1119,7 @@ function searchgroups($submit) {
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
}
|
}
|
||||||
|
|
||||||
function countgroups() {
|
function countgroups() {
|
||||||
|
|
|
@ -23,6 +23,7 @@ if($operation == 'admin') {
|
||||||
array('admin', 'magics&operation=admin', 1),
|
array('admin', 'magics&operation=admin', 1),
|
||||||
array('nav_magics_confer', 'members&operation=confermagic', 0)
|
array('nav_magics_confer', 'members&operation=confermagic', 0)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_magics":"action=magics"}*/
|
||||||
showtips('magics_tips');
|
showtips('magics_tips');
|
||||||
|
|
||||||
$settings = C::t('common_setting')->fetch_all(array('magicstatus', 'magicdiscount'));
|
$settings = C::t('common_setting')->fetch_all(array('magicstatus', 'magicdiscount'));
|
||||||
|
@ -31,6 +32,7 @@ if($operation == 'admin') {
|
||||||
showsetting('magics_config_open', 'settingsnew[magicstatus]', $settings['magicstatus'], 'radio');
|
showsetting('magics_config_open', 'settingsnew[magicstatus]', $settings['magicstatus'], 'radio');
|
||||||
showsetting('magics_config_discount', 'settingsnew[magicdiscount]', $settings['magicdiscount'], 'text');
|
showsetting('magics_config_discount', 'settingsnew[magicdiscount]', $settings['magicdiscount'], 'text');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showtableheader('magics_list', 'fixpadding');
|
showtableheader('magics_list', 'fixpadding');
|
||||||
$newmagics = getmagics();
|
$newmagics = getmagics();
|
||||||
|
|
|
@ -49,6 +49,7 @@ if(!in_array($operation, array('aids', 'catids', 'topicids'))) {
|
||||||
showsubmenu('html', $_nav, '');
|
showsubmenu('html', $_nav, '');
|
||||||
}
|
}
|
||||||
if($operation == 'all') {
|
if($operation == 'all') {
|
||||||
|
/*search={"¨¦¨²3¨¦¨¨?2?":"action=makehtml&operation=all"}*/
|
||||||
showtips('makehtml_tips_all');
|
showtips('makehtml_tips_all');
|
||||||
|
|
||||||
showformheader('makehtml&operation=all');
|
showformheader('makehtml&operation=all');
|
||||||
|
@ -136,6 +137,7 @@ function make_html_article(starttime) {
|
||||||
EOT;
|
EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
} elseif($operation == 'index') {
|
} elseif($operation == 'index') {
|
||||||
|
|
||||||
showtips('makehtml_tips_index');
|
showtips('makehtml_tips_index');
|
||||||
|
@ -414,6 +416,7 @@ EOT;
|
||||||
} elseif ($operation == 'makehtmlsetting') {
|
} elseif ($operation == 'makehtmlsetting') {
|
||||||
|
|
||||||
if(!submitcheck('makehtmlsetting')) {
|
if(!submitcheck('makehtmlsetting')) {
|
||||||
|
/*search={"html":"action=makehtml&operation=makehtmlsetting","setting_functions_makehtml":"action=makehtml&operation=makehtmlsetting"}*/
|
||||||
$setting = $_G['setting'];
|
$setting = $_G['setting'];
|
||||||
showformheader("makehtml&operation=makehtmlsetting");
|
showformheader("makehtml&operation=makehtmlsetting");
|
||||||
showtableheader('', 'nobottom', 'id="makehtml"'.($_GET['operation'] != 'makehtmlsetting' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="makehtml"'.($_GET['operation'] != 'makehtmlsetting' ? ' style="display: none"' : ''));
|
||||||
|
@ -433,6 +436,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showsubmit('makehtmlsetting', 'submit');
|
showsubmit('makehtmlsetting', 'submit');
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
} else {
|
} else {
|
||||||
$settingnew = $_GET['settingnew'];
|
$settingnew = $_GET['settingnew'];
|
||||||
if(isset($settingnew['makehtml'])) {
|
if(isset($settingnew['makehtml'])) {
|
||||||
|
@ -490,6 +494,7 @@ EOT;
|
||||||
cpmsg('admincp_makehtml_cleanhtml_error', 'action=makehtml&operation=makehtmlsetting', 'error');
|
cpmsg('admincp_makehtml_cleanhtml_error', 'action=makehtml&operation=makehtmlsetting', 'error');
|
||||||
} else {
|
} else {
|
||||||
if(!submitcheck('cleanhtml')) {
|
if(!submitcheck('cleanhtml')) {
|
||||||
|
/*search={"??¨¤¨ªHTML":"action=makehtml&operation=htmlclean"}*/
|
||||||
|
|
||||||
showformheader("makehtml&operation=cleanhtml");
|
showformheader("makehtml&operation=cleanhtml");
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -498,6 +503,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showsubmit('cleanhtml', 'submit');
|
showsubmit('cleanhtml', 'submit');
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
} else {
|
} else {
|
||||||
if(isset($_GET['cleandata'])) {
|
if(isset($_GET['cleandata'])) {
|
||||||
$cleandata = $_GET['cleandata'];
|
$cleandata = $_GET['cleandata'];
|
||||||
|
|
|
@ -22,7 +22,9 @@ if(!$operation) {
|
||||||
array('nav_medals_confer', 'members&operation=confermedal', 0),
|
array('nav_medals_confer', 'members&operation=confermedal', 0),
|
||||||
array('nav_medals_mod', 'medals&operation=mod', 0)
|
array('nav_medals_mod', 'medals&operation=mod', 0)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_medals":"action=medals"}*/
|
||||||
showtips('medals_tips');
|
showtips('medals_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('medals');
|
showformheader('medals');
|
||||||
showtableheader('medals_list', 'fixpadding');
|
showtableheader('medals_list', 'fixpadding');
|
||||||
showsubtitle(array('', 'display_order', 'available', 'name', 'description', 'medals_image', 'medals_type', ''));
|
showsubtitle(array('', 'display_order', 'available', 'name', 'description', 'medals_image', 'medals_type', ''));
|
||||||
|
|
|
@ -205,6 +205,7 @@ EOF;
|
||||||
|
|
||||||
if(empty($_GET['uid']) && empty($_GET['username']) && empty($_GET['ip'])) {
|
if(empty($_GET['uid']) && empty($_GET['username']) && empty($_GET['ip'])) {
|
||||||
|
|
||||||
|
/*search={"nav_repeat":"action=members&operation=repeat"}*/
|
||||||
shownav('user', 'nav_members');
|
shownav('user', 'nav_members');
|
||||||
showsubmenu('nav_members', array(
|
showsubmenu('nav_members', array(
|
||||||
array('search', 'members&operation=search', 0),
|
array('search', 'members&operation=search', 0),
|
||||||
|
@ -220,6 +221,7 @@ EOF;
|
||||||
showsubmit('submit', 'submit');
|
showsubmit('submit', 'submit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
@ -919,6 +921,7 @@ EOF;
|
||||||
($groupselect['special'] ? '<optgroup label="'.$lang['usergroups_special'].'">'.$groupselect['special'].'</optgroup>' : '').
|
($groupselect['special'] ? '<optgroup label="'.$lang['usergroups_special'].'">'.$groupselect['special'].'</optgroup>' : '').
|
||||||
($groupselect['specialadmin'] ? '<optgroup label="'.$lang['usergroups_specialadmin'].'">'.$groupselect['specialadmin'].'</optgroup>' : '').
|
($groupselect['specialadmin'] ? '<optgroup label="'.$lang['usergroups_specialadmin'].'">'.$groupselect['specialadmin'].'</optgroup>' : '').
|
||||||
'<optgroup label="'.$lang['usergroups_system'].'">'.$groupselect['system'].'</optgroup>';
|
'<optgroup label="'.$lang['usergroups_system'].'">'.$groupselect['system'].'</optgroup>';
|
||||||
|
/*search={"nav_members_add":"action=members&operation=add"}*/
|
||||||
shownav('user', 'nav_members_add');
|
shownav('user', 'nav_members_add');
|
||||||
showsubmenu('members_add');
|
showsubmenu('members_add');
|
||||||
showformheader('members&operation=add');
|
showformheader('members&operation=add');
|
||||||
|
@ -931,6 +934,7 @@ EOF;
|
||||||
showsubmit('addsubmit');
|
showsubmit('addsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
@ -1061,6 +1065,7 @@ EOF;
|
||||||
$groups['member'] = '<option value="'.$group['groupid'].'" gtype="member">'.$group['grouptitle'].'</option>';
|
$groups['member'] = '<option value="'.$group['groupid'].'" gtype="member">'.$group['grouptitle'].'</option>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*search={"members_group":"action=members&operation=group"}*/
|
||||||
shownav('user', 'members_group');
|
shownav('user', 'members_group');
|
||||||
showsubmenu('members_group_member', array(), '', array('username' => $member['username']));
|
showsubmenu('members_group_member', array(), '', array('username' => $member['username']));
|
||||||
echo '<script src="static/js/calendar.js" type="text/javascript"></script>';
|
echo '<script src="static/js/calendar.js" type="text/javascript"></script>';
|
||||||
|
@ -1087,6 +1092,7 @@ EOF;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
@ -1229,6 +1235,7 @@ EOF;
|
||||||
EOT;
|
EOT;
|
||||||
shownav('user', 'members_credit');
|
shownav('user', 'members_credit');
|
||||||
showsubmenu('members_credit');
|
showsubmenu('members_credit');
|
||||||
|
/*search={"members_credit":"action=members&operation=credit"}*/
|
||||||
showtips('members_credit_tips');
|
showtips('members_credit_tips');
|
||||||
showformheader("members&operation=credit&uid={$_GET['uid']}");
|
showformheader("members&operation=credit&uid={$_GET['uid']}");
|
||||||
showtableheader('<em class="right"><a href="'.ADMINSCRIPT.'?action=logs&operation=credit&srch_uid='.$_GET['uid'].'&frame=yes" target="_blank">'.cplang('members_credit_logs').'</a></em>'.cplang('members_credit').' - '.$member['username'].'('.$member['grouptitle'].')', 'nobottom');
|
showtableheader('<em class="right"><a href="'.ADMINSCRIPT.'?action=logs&operation=credit&srch_uid='.$_GET['uid'].'&frame=yes" target="_blank">'.cplang('members_credit_logs').'</a></em>'.cplang('members_credit').' - '.$member['username'].'('.$member['grouptitle'].')', 'nobottom');
|
||||||
|
@ -1241,6 +1248,7 @@ EOT;
|
||||||
showsubmit('creditsubmit');
|
showsubmit('creditsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
@ -1754,6 +1762,7 @@ EOF;
|
||||||
|
|
||||||
shownav('user', 'members_access_edit');
|
shownav('user', 'members_access_edit');
|
||||||
showsubmenu('members_access_edit');
|
showsubmenu('members_access_edit');
|
||||||
|
/*search={"members_access_edit":"action=members&operation=access"}*/
|
||||||
showtips('members_access_tips');
|
showtips('members_access_tips');
|
||||||
showtableheader(cplang('members_access_now').' - '.$member['username'], 'nobottom fixpadding');
|
showtableheader(cplang('members_access_now').' - '.$member['username'], 'nobottom fixpadding');
|
||||||
showsubtitle(array('forum', 'members_access_view', 'members_access_post', 'members_access_reply', 'members_access_getattach', 'members_access_getimage', 'members_access_postattach', 'members_access_postimage', 'members_access_adminuser', 'members_access_dateline'));
|
showsubtitle(array('forum', 'members_access_view', 'members_access_post', 'members_access_reply', 'members_access_getattach', 'members_access_getimage', 'members_access_postattach', 'members_access_postimage', 'members_access_adminuser', 'members_access_dateline'));
|
||||||
|
@ -1807,6 +1816,7 @@ EOF;
|
||||||
showsubmit('accesssubmit', 'submit');
|
showsubmit('accesssubmit', 'submit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
@ -1926,6 +1936,7 @@ EOF;
|
||||||
$member['signature'] = html2bbcode($member['sightml']);
|
$member['signature'] = html2bbcode($member['sightml']);
|
||||||
|
|
||||||
shownav('user', 'members_edit');
|
shownav('user', 'members_edit');
|
||||||
|
/*search={"members_edit":"action=members&operation=edit"}*/
|
||||||
showsubmenu("$lang[members_edit] - $member[username]", array(
|
showsubmenu("$lang[members_edit] - $member[username]", array(
|
||||||
array('connect_member_info', 'members&operation=edit&uid='.$uid, 1),
|
array('connect_member_info', 'members&operation=edit&uid='.$uid, 1),
|
||||||
!empty($_G['setting']['connect']['allow']) ? array('connect_member_bindlog', 'members&operation=edit&do=bindlog&uid='.$uid, 0) : array(),
|
!empty($_G['setting']['connect']['allow']) ? array('connect_member_bindlog', 'members&operation=edit&do=bindlog&uid='.$uid, 0) : array(),
|
||||||
|
@ -1982,6 +1993,7 @@ EOF;
|
||||||
showsubmit('editsubmit');
|
showsubmit('editsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
@ -2755,6 +2767,7 @@ function showsearchform($operation = '') {
|
||||||
$usertagselect .= "<option value=\"$row[tagid]\" ".(in_array($row['tagid'], $tagid) ? 'selected' : '').">$row[tagname]</option>\n";
|
$usertagselect .= "<option value=\"$row[tagid]\" ".(in_array($row['tagid'], $tagid) ? 'selected' : '').">$row[tagname]</option>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*search={"nav_members":"action=members&operation=search"}*/
|
||||||
showtagheader('div', 'searchmembers', !$_GET['submit']);
|
showtagheader('div', 'searchmembers', !$_GET['submit']);
|
||||||
echo '<script src="static/js/calendar.js" type="text/javascript"></script>';
|
echo '<script src="static/js/calendar.js" type="text/javascript"></script>';
|
||||||
echo '<style type="text/css">#residedistrictbox select, #birthdistrictbox select{width: auto;}</style>';
|
echo '<style type="text/css">#residedistrictbox select, #birthdistrictbox select{width: auto;}</style>';
|
||||||
|
@ -2909,6 +2922,7 @@ function showsearchform($operation = '') {
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
}
|
}
|
||||||
|
|
||||||
function searchcondition($condition) {
|
function searchcondition($condition) {
|
||||||
|
|
|
@ -25,7 +25,9 @@ if(!empty($_G['cache']['membersplitstep'])) {
|
||||||
if($operation == 'check') {
|
if($operation == 'check') {
|
||||||
shownav('founder', 'nav_membersplit');
|
shownav('founder', 'nav_membersplit');
|
||||||
showsubmenu('membersplit');
|
showsubmenu('membersplit');
|
||||||
|
/*search={"nav_membersplit":"action=membersplit","nav_membersplit":"action=membersplit&operation=check"}*/
|
||||||
showtips('membersplit_check_tips');
|
showtips('membersplit_check_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('membersplit&operation=manage');
|
showformheader('membersplit&operation=manage');
|
||||||
showtableheader('membersplit_table_orig');
|
showtableheader('membersplit_table_orig');
|
||||||
$membercount = $_G['cache']['userstats']['totalmembers'];
|
$membercount = $_G['cache']['userstats']['totalmembers'];
|
||||||
|
@ -53,7 +55,9 @@ if($operation == 'check') {
|
||||||
shownav('founder', 'nav_membersplit');
|
shownav('founder', 'nav_membersplit');
|
||||||
if(!submitcheck('membersplit_split_submit', 1)) {
|
if(!submitcheck('membersplit_split_submit', 1)) {
|
||||||
showsubmenu('membersplit');
|
showsubmenu('membersplit');
|
||||||
|
/*search={"nav_membersplit":"action=membersplit","nav_membersplit":"action=membersplit&operation=check"}*/
|
||||||
showtips('membersplit_tips');
|
showtips('membersplit_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('membersplit&operation=manage');
|
showformheader('membersplit&operation=manage');
|
||||||
showtableheader('membersplit_table_orig');
|
showtableheader('membersplit_table_orig');
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,9 @@ var rowtypedata = [
|
||||||
|
|
||||||
shownav('extended', 'misc_link');
|
shownav('extended', 'misc_link');
|
||||||
showsubmenu('nav_misc_links');
|
showsubmenu('nav_misc_links');
|
||||||
|
/*search={"misc_link":"action=misc&operation=link"}*/
|
||||||
showtips('misc_link_tips');
|
showtips('misc_link_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('misc&operation=link');
|
showformheader('misc&operation=link');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showsubtitle(array('', 'display_order', 'misc_link_edit_name', 'misc_link_edit_url', 'misc_link_edit_description', 'misc_link_edit_logo', 'misc_link_group1', 'misc_link_group2', 'misc_link_group3','misc_link_group4'));
|
showsubtitle(array('', 'display_order', 'misc_link_edit_name', 'misc_link_edit_url', 'misc_link_edit_description', 'misc_link_edit_logo', 'misc_link_group1', 'misc_link_group2', 'misc_link_group3','misc_link_group4'));
|
||||||
|
@ -192,7 +194,9 @@ var rowtypedata = [
|
||||||
|
|
||||||
shownav('extended', 'misc_relatedlink');
|
shownav('extended', 'misc_relatedlink');
|
||||||
showsubmenu('nav_misc_relatedlink');
|
showsubmenu('nav_misc_relatedlink');
|
||||||
|
/*search={"misc_relatedlink":"action=misc&operation=relatedlink"}*/
|
||||||
showtips('misc_relatedlink_tips');
|
showtips('misc_relatedlink_tips');
|
||||||
|
/*search*/
|
||||||
$tdstyle = array('width="50"', 'width="120"', 'width="330"', 'width="50"', 'width="80"', 'width="80"', '');
|
$tdstyle = array('width="50"', 'width="120"', 'width="330"', 'width="50"', 'width="80"', 'width="80"', '');
|
||||||
showformheader('misc&operation=relatedlink');
|
showformheader('misc&operation=relatedlink');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -272,6 +276,7 @@ var rowtypedata = [
|
||||||
array('setting_editor_code', 'misc&operation=bbcode', 1),
|
array('setting_editor_code', 'misc&operation=bbcode', 1),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
/*search={"setting_editor":"action=setting&operation=editor","setting_editor_code":"action=setting&operation=bbcode"}*/
|
||||||
showtips('misc_bbcode_edit_tips');
|
showtips('misc_bbcode_edit_tips');
|
||||||
showformheader('misc&operation=bbcode');
|
showformheader('misc&operation=bbcode');
|
||||||
showtableheader('', 'fixpadding');
|
showtableheader('', 'fixpadding');
|
||||||
|
@ -301,6 +306,7 @@ var rowtypedata = [
|
||||||
showsubmit('bbcodessubmit', 'submit', 'del');
|
showsubmit('bbcodessubmit', 'submit', 'del');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} elseif(submitcheck('bbcodessubmit')) {
|
} elseif(submitcheck('bbcodessubmit')) {
|
||||||
|
|
||||||
|
@ -573,9 +579,11 @@ var rowtypedata = [
|
||||||
array('misc_censor_batch_add', 'import', $anchor == 'import'),
|
array('misc_censor_batch_add', 'import', $anchor == 'import'),
|
||||||
array('misc_censor_wordtype_edit', 'wordtype', $anchor == 'wordtype'),
|
array('misc_censor_wordtype_edit', 'wordtype', $anchor == 'wordtype'),
|
||||||
));
|
));
|
||||||
|
/*search={"nav_posting_censor":"action=misc&operation=censor"}*/
|
||||||
showtips('misc_censor_tips', 'list_tips', $anchor == 'list');
|
showtips('misc_censor_tips', 'list_tips', $anchor == 'list');
|
||||||
showtips('misc_censor_batch_add_tips', 'import_tips', $anchor == 'import');
|
showtips('misc_censor_batch_add_tips', 'import_tips', $anchor == 'import');
|
||||||
showtips('misc_censor_wordtype_tips', 'wordtype_tips', $anchor == 'wordtype');
|
showtips('misc_censor_wordtype_tips', 'wordtype_tips', $anchor == 'wordtype');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showtagheader('div', 'list', $anchor == 'list');
|
showtagheader('div', 'list', $anchor == 'list');
|
||||||
showformheader("misc&operation=censor&page=$page", '', 'keywordsearch');
|
showformheader("misc&operation=censor&page=$page", '', 'keywordsearch');
|
||||||
|
@ -774,7 +782,9 @@ EOT;
|
||||||
));
|
));
|
||||||
|
|
||||||
showtagheader('div', 'list', $anchor == 'list');
|
showtagheader('div', 'list', $anchor == 'list');
|
||||||
|
/*search={"nav_thread_stamp":"action=misc&operation=stamp","misc_stamp_thread":"action=misc&operation=stamp&anchor=list"}*/
|
||||||
showtips('misc_stamp_listtips');
|
showtips('misc_stamp_listtips');
|
||||||
|
/*search*/
|
||||||
showformheader('misc&operation=stamp');
|
showformheader('misc&operation=stamp');
|
||||||
showhiddenfields(array('anchor' => 'list'));
|
showhiddenfields(array('anchor' => 'list'));
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -821,7 +831,9 @@ EOT;
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
|
||||||
showtagheader('div', 'llist', $anchor == 'llist');
|
showtagheader('div', 'llist', $anchor == 'llist');
|
||||||
|
/*search={"nav_thread_stamp":"action=misc&operation=stamp","misc_stamp_list":"action=misc&operation=stamp&anchor=llist"}*/
|
||||||
showtips('misc_stamp_listtips');
|
showtips('misc_stamp_listtips');
|
||||||
|
/*search*/
|
||||||
showformheader('misc&operation=stamp&type=list');
|
showformheader('misc&operation=stamp&type=list');
|
||||||
showhiddenfields(array('anchor' => 'llist'));
|
showhiddenfields(array('anchor' => 'llist'));
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -845,6 +857,7 @@ EOT;
|
||||||
|
|
||||||
showtagheader('div', 'add', $anchor == 'add');
|
showtagheader('div', 'add', $anchor == 'add');
|
||||||
showformheader('misc&operation=stamp');
|
showformheader('misc&operation=stamp');
|
||||||
|
/*search={"nav_thread_stamp":"action=misc&operation=stamp","add":"action=misc&operation=stamp&anchor=add"}*/
|
||||||
showtips('misc_stamp_addtips');
|
showtips('misc_stamp_addtips');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showsubtitle(array('add', 'misc_stamp_type', 'misc_stamp_id', 'misc_stamp_imagename', 'smilies_edit_image', 'smilies_edit_filename'));
|
showsubtitle(array('add', 'misc_stamp_type', 'misc_stamp_id', 'misc_stamp_imagename', 'smilies_edit_image', 'smilies_edit_filename'));
|
||||||
|
@ -972,7 +985,9 @@ var rowtypedata = [
|
||||||
|
|
||||||
shownav('global', 'nav_posting_attachtype');
|
shownav('global', 'nav_posting_attachtype');
|
||||||
showsubmenu('nav_posting_attachtype');
|
showsubmenu('nav_posting_attachtype');
|
||||||
|
/*search={"nav_posting_attachtype":"action=misc&operation=attachtype"}*/
|
||||||
showtips('misc_attachtype_tips');
|
showtips('misc_attachtype_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('misc&operation=attachtype');
|
showformheader('misc&operation=attachtype');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtablerow('class="partition"', array('class="td25"', 'class="td24"'), array('', cplang('misc_attachtype_ext'), cplang('misc_attachtype_maxsize')));
|
showtablerow('class="partition"', array('class="td25"', 'class="td24"'), array('', cplang('misc_attachtype_ext'), cplang('misc_attachtype_maxsize')));
|
||||||
|
@ -1025,7 +1040,9 @@ var rowtypedata = [
|
||||||
|
|
||||||
shownav('tools', 'misc_cron');
|
shownav('tools', 'misc_cron');
|
||||||
showsubmenu('nav_misc_cron');
|
showsubmenu('nav_misc_cron');
|
||||||
|
/*search={"misc_cron":"action=misc&operation=cron"}*/
|
||||||
showtips('misc_cron_tips');
|
showtips('misc_cron_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('misc&operation=cron');
|
showformheader('misc&operation=cron');
|
||||||
showtableheader('', 'fixpadding');
|
showtableheader('', 'fixpadding');
|
||||||
showsubtitle(array('', 'name', 'available', 'type', 'time', 'misc_cron_last_run', 'misc_cron_next_run', ''));
|
showsubtitle(array('', 'name', 'available', 'type', 'time', 'misc_cron_last_run', 'misc_cron_next_run', ''));
|
||||||
|
@ -1296,6 +1313,7 @@ var rowtypedata = [
|
||||||
array('admin', 'misc&operation=focus', 1),
|
array('admin', 'misc&operation=focus', 1),
|
||||||
array('add', 'misc&operation=focus&do=add')
|
array('add', 'misc&operation=focus&do=add')
|
||||||
));
|
));
|
||||||
|
/*search={"misc_focus":"action=misc&operation=focus","admin":"action=misc&operation=focus"}*/
|
||||||
showtips('misc_focus_tips');
|
showtips('misc_focus_tips');
|
||||||
showformheader('misc&operation=focus');
|
showformheader('misc&operation=focus');
|
||||||
showtableheader('admin', 'fixpadding');
|
showtableheader('admin', 'fixpadding');
|
||||||
|
@ -1314,6 +1332,7 @@ var rowtypedata = [
|
||||||
showsubmit('focussubmit', 'submit', 'del');
|
showsubmit('focussubmit', 'submit', 'del');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
@ -1350,6 +1369,7 @@ var rowtypedata = [
|
||||||
array('admin', 'misc&operation=focus', 0),
|
array('admin', 'misc&operation=focus', 0),
|
||||||
array('add', 'misc&operation=focus&do=add', 1)
|
array('add', 'misc&operation=focus&do=add', 1)
|
||||||
));
|
));
|
||||||
|
/*search={"misc_focus":"action=misc&operation=focus","add":"action=misc&operation=focus&do=add"}*/
|
||||||
showformheader('misc&operation=focus&do=add');
|
showformheader('misc&operation=focus&do=add');
|
||||||
showtableheader('misc_focus_handadd', 'fixpadding');
|
showtableheader('misc_focus_handadd', 'fixpadding');
|
||||||
showsetting('misc_focus_handurl', 'focus_url', '', 'text');
|
showsetting('misc_focus_handurl', 'focus_url', '', 'text');
|
||||||
|
@ -1361,6 +1381,7 @@ var rowtypedata = [
|
||||||
showsubmit('addsubmit', 'submit', '', '');
|
showsubmit('addsubmit', 'submit', '', '');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
@ -1457,6 +1478,7 @@ var rowtypedata = [
|
||||||
array('admin', 'misc&operation=focus', 0),
|
array('admin', 'misc&operation=focus', 0),
|
||||||
array('add', 'misc&operation=focus&do=add', 0)
|
array('add', 'misc&operation=focus&do=add', 0)
|
||||||
));
|
));
|
||||||
|
/*search={"misc_focus":"action=misc&operation=focus","config":"action=misc&operation=focus&do=config"}*/
|
||||||
showformheader('misc&operation=focus&do=config');
|
showformheader('misc&operation=focus&do=config');
|
||||||
showtableheader('config', 'fixpadding');
|
showtableheader('config', 'fixpadding');
|
||||||
showsetting('misc_focus_area_title', 'focus_title', empty($focus['title']) ? cplang('misc_focus') : $focus['title'], 'text');
|
showsetting('misc_focus_area_title', 'focus_title', empty($focus['title']) ? cplang('misc_focus') : $focus['title'], 'text');
|
||||||
|
@ -1464,6 +1486,7 @@ var rowtypedata = [
|
||||||
showsubmit('confsubmit', 'submit');
|
showsubmit('confsubmit', 'submit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
|
@ -70,9 +70,11 @@ if(!submitcheck('picsubmit')) {
|
||||||
array('pic_search', !$searchsubmit),
|
array('pic_search', !$searchsubmit),
|
||||||
array('nav_pic', $searchsubmit)
|
array('nav_pic', $searchsubmit)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_pic":"action=pic"}*/
|
||||||
if($muticondition) {
|
if($muticondition) {
|
||||||
showtips('pic_tips');
|
showtips('pic_tips');
|
||||||
}
|
}
|
||||||
|
/*search*/
|
||||||
echo <<<EOT
|
echo <<<EOT
|
||||||
<script type="text/javascript" src="static/js/calendar.js"></script>
|
<script type="text/javascript" src="static/js/calendar.js"></script>
|
||||||
<script type="text/JavaScript">
|
<script type="text/JavaScript">
|
||||||
|
@ -83,6 +85,7 @@ function page(number) {
|
||||||
</script>
|
</script>
|
||||||
EOT;
|
EOT;
|
||||||
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
||||||
|
/*search={"nav_pic":"action=pic","search":"action=pic&search=true"}*/
|
||||||
showformheader("pic".(!empty($_GET['search']) ? '&search=true' : ''), '', 'picforum');
|
showformheader("pic".(!empty($_GET['search']) ? '&search=true' : ''), '', 'picforum');
|
||||||
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -102,6 +105,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$picids = authcode($picids, 'DECODE');
|
$picids = authcode($picids, 'DECODE');
|
||||||
|
|
|
@ -50,10 +50,12 @@ if(!submitcheck('postcommentsubmit')) {
|
||||||
array('postcomment_search', !$searchsubmit),
|
array('postcomment_search', !$searchsubmit),
|
||||||
array('nav_postcomment', $searchsubmit)
|
array('nav_postcomment', $searchsubmit)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_postcomment":"action=postcomment"}*/
|
||||||
if(empty($newlist)) {
|
if(empty($newlist)) {
|
||||||
$search_tips = 1;
|
$search_tips = 1;
|
||||||
showtips('postcomment_tips');
|
showtips('postcomment_tips');
|
||||||
}
|
}
|
||||||
|
/*search*/
|
||||||
echo <<<EOT
|
echo <<<EOT
|
||||||
<script type="text/javascript" src="static/js/calendar.js"></script>
|
<script type="text/javascript" src="static/js/calendar.js"></script>
|
||||||
<script type="text/JavaScript">
|
<script type="text/JavaScript">
|
||||||
|
@ -64,6 +66,7 @@ function page(number) {
|
||||||
</script>
|
</script>
|
||||||
EOT;
|
EOT;
|
||||||
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
||||||
|
/*search={"nav_postcomment":"action=postcomment","search":"action=postcomment&search=true"}*/
|
||||||
showformheader("postcomment".(!empty($_GET['search']) ? '&search=true' : ''), '', 'postcommentforum');
|
showformheader("postcomment".(!empty($_GET['search']) ? '&search=true' : ''), '', 'postcommentforum');
|
||||||
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -80,6 +83,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$cids = authcode($cids, 'DECODE');
|
$cids = authcode($cids, 'DECODE');
|
||||||
|
|
|
@ -36,7 +36,9 @@ if($operation == 'manage') {
|
||||||
if(!submitcheck('postsplit_manage')) {
|
if(!submitcheck('postsplit_manage')) {
|
||||||
|
|
||||||
showsubmenu('nav_postsplit_manage');
|
showsubmenu('nav_postsplit_manage');
|
||||||
|
/*search={"nav_postsplit":"action=postsplit&operation=manage","nav_postsplit_manage":"action=postsplit&operation=manage"}*/
|
||||||
showtips('postsplit_manage_tips');
|
showtips('postsplit_manage_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('postsplit&operation=manage');
|
showformheader('postsplit&operation=manage');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
|
||||||
|
@ -99,7 +101,9 @@ if($operation == 'manage') {
|
||||||
|
|
||||||
if(!submitcheck('splitsubmit')) {
|
if(!submitcheck('splitsubmit')) {
|
||||||
showsubmenu('nav_postsplit_manage');
|
showsubmenu('nav_postsplit_manage');
|
||||||
|
/*search={"nav_postsplit":"action=postsplit&operation=manage","nav_postsplit_manage":"action=postsplit&operation=manage"}*/
|
||||||
showtips('postsplit_manage_tips');
|
showtips('postsplit_manage_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('postsplit&operation=split&tableid='.$tableid);
|
showformheader('postsplit&operation=split&tableid='.$tableid);
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showsetting('postsplit_from', '', '', getposttable($tableid, true).(!empty($posttable_info[$tableid]['memo']) ? '('.$posttable_info[$tableid]['memo'].')' : ''));
|
showsetting('postsplit_from', '', '', getposttable($tableid, true).(!empty($posttable_info[$tableid]['memo']) ? '('.$posttable_info[$tableid]['memo'].')' : ''));
|
||||||
|
|
|
@ -57,6 +57,7 @@ if(!submitcheck('prunesubmit')) {
|
||||||
array('prune_search', !$searchsubmit),
|
array('prune_search', !$searchsubmit),
|
||||||
array('nav_prune', $searchsubmit)
|
array('nav_prune', $searchsubmit)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_prune":"action=prune"}*/
|
||||||
showtips('prune_tips');
|
showtips('prune_tips');
|
||||||
echo <<<EOT
|
echo <<<EOT
|
||||||
<script type="text/javascript" src="static/js/calendar.js"></script>
|
<script type="text/javascript" src="static/js/calendar.js"></script>
|
||||||
|
@ -94,6 +95,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
|
@ -132,6 +132,7 @@ if(!$operation) {
|
||||||
array('search', 'recyclebin&operation=search', 1),
|
array('search', 'recyclebin&operation=search', 1),
|
||||||
array('clean', 'recyclebin&operation=clean', 0)
|
array('clean', 'recyclebin&operation=clean', 0)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_recyclebin":"action=recyclebin","search":"action=recyclebin&operation=search"}*/
|
||||||
echo <<<EOT
|
echo <<<EOT
|
||||||
<script type="text/javascript" src="static/js/calendar.js"></script>
|
<script type="text/javascript" src="static/js/calendar.js"></script>
|
||||||
<script type="text/JavaScript">
|
<script type="text/JavaScript">
|
||||||
|
@ -160,6 +161,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
if(submitcheck('searchsubmit')) {
|
if(submitcheck('searchsubmit')) {
|
||||||
|
|
||||||
|
@ -279,12 +281,14 @@ EOT;
|
||||||
array('search', 'recyclebin&operation=search', 0),
|
array('search', 'recyclebin&operation=search', 0),
|
||||||
array('clean', 'recyclebin&operation=clean', 1)
|
array('clean', 'recyclebin&operation=clean', 1)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_recyclebin":"action=recyclebin","clean":"action=recyclebin&operation=clean"}*/
|
||||||
showformheader('recyclebin&operation=clean');
|
showformheader('recyclebin&operation=clean');
|
||||||
showtableheader('recyclebin_clean');
|
showtableheader('recyclebin_clean');
|
||||||
showsetting('recyclebin_clean_days', 'days', '30', 'text');
|
showsetting('recyclebin_clean_days', 'days', '30', 'text');
|
||||||
showsubmit('rbsubmit');
|
showsubmit('rbsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
|
@ -100,6 +100,7 @@ if(!$operation) {
|
||||||
array('search', 'recyclebinpost&operation=search', 1),
|
array('search', 'recyclebinpost&operation=search', 1),
|
||||||
array('clean', 'recyclebinpost&operation=clean', 0)
|
array('clean', 'recyclebinpost&operation=clean', 0)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_recyclebinpost":"action=recyclebinpost","search":"action=recyclebinpost&operation=search"}*/
|
||||||
echo <<<EOT
|
echo <<<EOT
|
||||||
<script type="text/javascript" src="static/js/calendar.js"></script>
|
<script type="text/javascript" src="static/js/calendar.js"></script>
|
||||||
<script type="text/JavaScript">
|
<script type="text/JavaScript">
|
||||||
|
@ -125,6 +126,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
if(submitcheck('searchsubmit')) {
|
if(submitcheck('searchsubmit')) {
|
||||||
|
|
||||||
|
@ -162,12 +164,14 @@ EOT;
|
||||||
array('search', 'recyclebinpost&operation=search', 0),
|
array('search', 'recyclebinpost&operation=search', 0),
|
||||||
array('clean', 'recyclebinpost&operation=clean', 1)
|
array('clean', 'recyclebinpost&operation=clean', 1)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_recyclebinpost":"action=recyclebinpost","clean":"action=recyclebinpost&operation=clean"}*/
|
||||||
showformheader('recyclebinpost&operation=clean');
|
showformheader('recyclebinpost&operation=clean');
|
||||||
showtableheader('recyclebinpost_clean');
|
showtableheader('recyclebinpost_clean');
|
||||||
showsetting('recyclebinpost_clean_days', 'days', '30', 'text');
|
showsetting('recyclebinpost_clean_days', 'days', '30', 'text');
|
||||||
showsubmit('cleanrbsubmit');
|
showsubmit('cleanrbsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,9 @@ if($operation == 'newreport') {
|
||||||
array('report_resolved', 'report&operation=resolved', 0),
|
array('report_resolved', 'report&operation=resolved', 0),
|
||||||
array('report_receiveuser', 'report&operation=receiveuser', 0)
|
array('report_receiveuser', 'report&operation=receiveuser', 0)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_report":"action=report"}*/
|
||||||
showtips('report_tips');
|
showtips('report_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('report&operation=newreport');
|
showformheader('report&operation=newreport');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
$curcredits = $_G['setting']['creditstransextra'][8] ? $_G['setting']['creditstransextra'][8] : $_G['setting']['creditstrans'];
|
$curcredits = $_G['setting']['creditstransextra'][8] ? $_G['setting']['creditstransextra'][8] : $_G['setting']['creditstrans'];
|
||||||
|
|
|
@ -197,6 +197,7 @@ if(!submitcheck('settingsubmit')) {
|
||||||
|
|
||||||
if($operation == 'basic') {
|
if($operation == 'basic') {
|
||||||
|
|
||||||
|
/*search={"setting_basic":"action=setting&operation=basic"}*/
|
||||||
showtableheader('');
|
showtableheader('');
|
||||||
showsetting('setting_basic_bbname', 'settingnew[bbname]', $setting['bbname'], 'text');
|
showsetting('setting_basic_bbname', 'settingnew[bbname]', $setting['bbname'], 'text');
|
||||||
showsetting('setting_basic_sitename', 'settingnew[sitename]', $setting['sitename'], 'text');
|
showsetting('setting_basic_sitename', 'settingnew[sitename]', $setting['sitename'], 'text');
|
||||||
|
@ -213,18 +214,22 @@ if(!submitcheck('settingsubmit')) {
|
||||||
showsetting('setting_basic_closedreason', 'settingnew[closedreason]', $setting['closedreason'], 'textarea');
|
showsetting('setting_basic_closedreason', 'settingnew[closedreason]', $setting['closedreason'], 'textarea');
|
||||||
showsetting('setting_basic_bbclosed_activation', 'settingnew[closedallowactivation]', $setting['closedallowactivation'], 'radio');
|
showsetting('setting_basic_bbclosed_activation', 'settingnew[closedallowactivation]', $setting['closedallowactivation'], 'radio');
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} elseif($operation == 'follow') {
|
} elseif($operation == 'follow') {
|
||||||
require_once libfile('function/forumlist');
|
require_once libfile('function/forumlist');
|
||||||
|
/*search={"setting_follow":"action=setting&operation=follow","setting_follow_base":"action=setting&operation=follow&anchor=base"}*/
|
||||||
showtableheader('', 'nobottom', 'id="base"'.($_GET['anchor'] != 'base' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="base"'.($_GET['anchor'] != 'base' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_follow_base_default_follow_retain_day', 'settingnew[followretainday]', $setting['followretainday'], 'text');
|
showsetting('setting_follow_base_default_follow_retain_day', 'settingnew[followretainday]', $setting['followretainday'], 'text');
|
||||||
showsetting('setting_follow_base_default_view_profile', 'settingnew[allowquickviewprofile]', $setting['allowquickviewprofile'], 'radio');
|
showsetting('setting_follow_base_default_view_profile', 'settingnew[allowquickviewprofile]', $setting['allowquickviewprofile'], 'radio');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} elseif($operation == 'home') {
|
} elseif($operation == 'home') {
|
||||||
|
|
||||||
require_once libfile('function/forumlist');
|
require_once libfile('function/forumlist');
|
||||||
|
|
||||||
|
/*search={"setting_home":"action=setting&operation=home","setting_home_base":"action=setting&operation=home&anchor=base"}*/
|
||||||
showtableheader('', 'nobottom', 'id="base"'.($_GET['anchor'] != 'base' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="base"'.($_GET['anchor'] != 'base' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_home_base_feedday', 'settingnew[feedday]', $setting['feedday'], 'text');
|
showsetting('setting_home_base_feedday', 'settingnew[feedday]', $setting['feedday'], 'text');
|
||||||
showsetting('setting_home_base_feedmaxnum', 'settingnew[feedmaxnum]', $setting['feedmaxnum'], 'text');
|
showsetting('setting_home_base_feedmaxnum', 'settingnew[feedmaxnum]', $setting['feedmaxnum'], 'text');
|
||||||
|
@ -259,10 +264,12 @@ if(!submitcheck('settingsubmit')) {
|
||||||
|
|
||||||
showsetting('setting_home_base_default_doing', 'settingnew[defaultdoing]', $setting['defaultdoing'], 'textarea');
|
showsetting('setting_home_base_default_doing', 'settingnew[defaultdoing]', $setting['defaultdoing'], 'textarea');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
if(isset($setting['privacy'])) {
|
if(isset($setting['privacy'])) {
|
||||||
$setting['privacy'] = dunserialize($setting['privacy']);
|
$setting['privacy'] = dunserialize($setting['privacy']);
|
||||||
}
|
}
|
||||||
|
/*search={"setting_home":"action=setting&operation=home","setting_home_privacy":"action=setting&operation=home&anchor=privacy"}*/
|
||||||
showtableheader('', 'nobottom', 'id="privacy"'.($_GET['anchor'] != 'privacy' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="privacy"'.($_GET['anchor'] != 'privacy' ? ' style="display: none"' : ''));
|
||||||
showtitle('setting_home_privacy_new_user');
|
showtitle('setting_home_privacy_new_user');
|
||||||
showsetting('setting_home_privacy_view_index', array('settingnew[privacy][view][index]', array(
|
showsetting('setting_home_privacy_view_index', array('settingnew[privacy][view][index]', array(
|
||||||
|
@ -329,6 +336,7 @@ if(!submitcheck('settingsubmit')) {
|
||||||
array('newreply', $lang['setting_home_privacy_default_feed_newreply'], '1'),
|
array('newreply', $lang['setting_home_privacy_default_feed_newreply'], '1'),
|
||||||
)), $setting['privacy']['feed'], 'omcheckbox');
|
)), $setting['privacy']['feed'], 'omcheckbox');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
|
||||||
} elseif($operation == 'profile') {
|
} elseif($operation == 'profile') {
|
||||||
|
@ -407,6 +415,7 @@ if(!submitcheck('settingsubmit')) {
|
||||||
$taskarray[] = array($task['taskid'], $task['name']);
|
$taskarray[] = array($task['taskid'], $task['name']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*search={"setting_access":"action=setting&operation=access","setting_access_register":"action=setting&operation=access&anchor=register"}*/
|
||||||
showtableheader('', 'nobottom', 'id="register"'.($_GET['anchor'] != 'register' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="register"'.($_GET['anchor'] != 'register' ? ' style="display: none"' : ''));
|
||||||
$regstatus = array();
|
$regstatus = array();
|
||||||
if($setting['regstatus'] == 1 || $setting['regstatus'] == 3) {
|
if($setting['regstatus'] == 1 || $setting['regstatus'] == 3) {
|
||||||
|
@ -492,13 +501,16 @@ if(!submitcheck('settingsubmit')) {
|
||||||
showsetting('setting_access_register_bbrulestxt', 'settingnew[bbrulestxt]', $setting['bbrulestxt'], 'textarea');
|
showsetting('setting_access_register_bbrulestxt', 'settingnew[bbrulestxt]', $setting['bbrulestxt'], 'textarea');
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_access":"action=setting&operation=access","setting_access_access":"action=setting&operation=access&anchor=access"}*/
|
||||||
showtableheader('', 'nobottom', 'id="access"'.($_GET['anchor'] != 'access' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="access"'.($_GET['anchor'] != 'access' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_access_access_newbiespan', 'settingnew[newbiespan]', $setting['newbiespan'], 'text');
|
showsetting('setting_access_access_newbiespan', 'settingnew[newbiespan]', $setting['newbiespan'], 'text');
|
||||||
showsetting('setting_access_access_ipaccess', 'settingnew[ipaccess]', $setting['ipaccess'], 'textarea');
|
showsetting('setting_access_access_ipaccess', 'settingnew[ipaccess]', $setting['ipaccess'], 'textarea');
|
||||||
showsetting('setting_access_access_adminipaccess', 'settingnew[adminipaccess]', $setting['adminipaccess'], 'textarea');
|
showsetting('setting_access_access_adminipaccess', 'settingnew[adminipaccess]', $setting['adminipaccess'], 'textarea');
|
||||||
showsetting('setting_access_access_domainwhitelist', 'settingnew[domainwhitelist]', '', '<textarea class="tarea" cols="50" id="settingnew[domainwhitelist]" name="settingnew[domainwhitelist]" onkeydown="textareakey(this, event)" onkeyup="textareasize(this, 0)" ondblclick="textareasize(this, 1)" rows="6">'.$setting['domainwhitelist'].'</textarea><br><input class="checkbox" type="checkbox" value="1" name="settingnew[domainwhitelist_affectimg]" '.($setting['domainwhitelist_affectimg'] ? 'checked' : '').'>'.cplang('setting_access_access_domainwhitelist_affectimg'));
|
showsetting('setting_access_access_domainwhitelist', 'settingnew[domainwhitelist]', '', '<textarea class="tarea" cols="50" id="settingnew[domainwhitelist]" name="settingnew[domainwhitelist]" onkeydown="textareakey(this, event)" onkeyup="textareasize(this, 0)" ondblclick="textareasize(this, 1)" rows="6">'.$setting['domainwhitelist'].'</textarea><br><input class="checkbox" type="checkbox" value="1" name="settingnew[domainwhitelist_affectimg]" '.($setting['domainwhitelist_affectimg'] ? 'checked' : '').'>'.cplang('setting_access_access_domainwhitelist_affectimg'));
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showtableheader('', 'notop');
|
showtableheader('', 'notop');
|
||||||
showsubmit('settingsubmit');
|
showsubmit('settingsubmit');
|
||||||
|
@ -525,6 +537,7 @@ if(!submitcheck('settingsubmit')) {
|
||||||
$setting['guestviewthumb'] = dunserialize($setting['guestviewthumb']);
|
$setting['guestviewthumb'] = dunserialize($setting['guestviewthumb']);
|
||||||
$setting['guesttipsinthread'] = dunserialize($setting['guesttipsinthread']);
|
$setting['guesttipsinthread'] = dunserialize($setting['guesttipsinthread']);
|
||||||
|
|
||||||
|
/*search={"setting_styles":"action=setting&operation=styles","setting_styles_global":"action=setting&operation=styles&anchor=global"}*/
|
||||||
showtips('setting_tips', 'global_tips', $_GET['anchor'] == 'global');
|
showtips('setting_tips', 'global_tips', $_GET['anchor'] == 'global');
|
||||||
showtableheader('setting_styles_global', 'nobottom', 'id="global"'.($_GET['anchor'] != 'global' ? ' style="display: none"' : ''));
|
showtableheader('setting_styles_global', 'nobottom', 'id="global"'.($_GET['anchor'] != 'global' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_styles_global_home_style', array('settingnew[homestyle]', array(
|
showsetting('setting_styles_global_home_style', array('settingnew[homestyle]', array(
|
||||||
|
@ -553,7 +566,9 @@ if(!submitcheck('settingsubmit')) {
|
||||||
showsetting('setting_styles_global_showusercard', 'settingnew[showusercard]', $setting['showusercard'], 'radio');
|
showsetting('setting_styles_global_showusercard', 'settingnew[showusercard]', $setting['showusercard'], 'radio');
|
||||||
showsetting('setting_styles_global_anonymoustext', 'settingnew[anonymoustext]', $setting['anonymoustext'], 'text');
|
showsetting('setting_styles_global_anonymoustext', 'settingnew[anonymoustext]', $setting['anonymoustext'], 'text');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_styles":"action=setting&operation=styles","setting_styles_index":"action=setting&operation=styles&anchor=index"}*/
|
||||||
showtableheader('setting_styles_index', 'nobottom', 'id="index"'.($_GET['anchor'] != 'index' ? ' style="display: none"' : ''));
|
showtableheader('setting_styles_index', 'nobottom', 'id="index"'.($_GET['anchor'] != 'index' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_styles_index_indexhot_status', 'settingnew[indexhot][status]', $setting['indexhot']['status'], 'radio', 0, 1);
|
showsetting('setting_styles_index_indexhot_status', 'settingnew[indexhot][status]', $setting['indexhot']['status'], 'radio', 0, 1);
|
||||||
showsetting('setting_styles_index_indexhot_limit', 'settingnew[indexhot][limit]', $setting['indexhot']['limit'], 'text');
|
showsetting('setting_styles_index_indexhot_limit', 'settingnew[indexhot][limit]', $setting['indexhot']['limit'], 'text');
|
||||||
|
@ -576,7 +591,9 @@ if(!submitcheck('settingsubmit')) {
|
||||||
showsetting('setting_styles_index_showfollowcollection', 'settingnew[showfollowcollection]', $setting['showfollowcollection'], 'text');
|
showsetting('setting_styles_index_showfollowcollection', 'settingnew[showfollowcollection]', $setting['showfollowcollection'], 'text');
|
||||||
showsetting('setting_styles_index_disfixednv', 'settingnew[disfixednv_forumindex]', !empty($setting['disfixednv_forumindex']), 'radio');
|
showsetting('setting_styles_index_disfixednv', 'settingnew[disfixednv_forumindex]', !empty($setting['disfixednv_forumindex']), 'radio');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_styles":"action=setting&operation=styles","setting_styles_forumdisplay":"action=setting&operation=styles&anchor=forumdisplay"}*/
|
||||||
showtips('setting_tips', 'forumdisplay_tips', $_GET['anchor'] == 'forumdisplay');
|
showtips('setting_tips', 'forumdisplay_tips', $_GET['anchor'] == 'forumdisplay');
|
||||||
showtableheader('setting_styles_forumdisplay', 'nobottom', 'id="forumdisplay"'.($_GET['anchor'] != 'forumdisplay' ? ' style="display: none"' : ''));
|
showtableheader('setting_styles_forumdisplay', 'nobottom', 'id="forumdisplay"'.($_GET['anchor'] != 'forumdisplay' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_styles_forumdisplay_tpp', 'settingnew[topicperpage]', $setting['topicperpage'], 'text');
|
showsetting('setting_styles_forumdisplay_tpp', 'settingnew[topicperpage]', $setting['topicperpage'], 'text');
|
||||||
|
@ -604,7 +621,9 @@ if(!submitcheck('settingsubmit')) {
|
||||||
showsetting('setting_styles_forumdisplay_disfixednv_forumdisplay', 'settingnew[disfixednv_forumdisplay]', !empty($setting['disfixednv_forumdisplay']), 'radio');
|
showsetting('setting_styles_forumdisplay_disfixednv_forumdisplay', 'settingnew[disfixednv_forumdisplay]', !empty($setting['disfixednv_forumdisplay']), 'radio');
|
||||||
showsetting('setting_styles_forumdisplay_threadpreview', 'settingnew[forumdisplaythreadpreview]', !empty($setting['forumdisplaythreadpreview']), 'radio');
|
showsetting('setting_styles_forumdisplay_threadpreview', 'settingnew[forumdisplaythreadpreview]', !empty($setting['forumdisplaythreadpreview']), 'radio');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_styles":"action=setting&operation=styles","setting_styles_viewthread":"action=setting&operation=styles&anchor=viewthread"}*/
|
||||||
showtagheader('div', 'viewthread', $_GET['anchor'] == 'viewthread');
|
showtagheader('div', 'viewthread', $_GET['anchor'] == 'viewthread');
|
||||||
showtableheader('nav_setting_viewthread', 'nobottom');
|
showtableheader('nav_setting_viewthread', 'nobottom');
|
||||||
showsetting('setting_styles_viewthread_ppp', 'settingnew[postperpage]', $setting['postperpage'], 'text');
|
showsetting('setting_styles_viewthread_ppp', 'settingnew[postperpage]', $setting['postperpage'], 'text');
|
||||||
|
@ -667,7 +686,9 @@ if(!submitcheck('settingsubmit')) {
|
||||||
$setting['msgforward'] = !empty($setting['msgforward']) ? dunserialize($setting['msgforward']) : array();
|
$setting['msgforward'] = !empty($setting['msgforward']) ? dunserialize($setting['msgforward']) : array();
|
||||||
$setting['msgforward']['messages'] = !empty($setting['msgforward']['messages']) ? implode("\n", $setting['msgforward']['messages']) : '';
|
$setting['msgforward']['messages'] = !empty($setting['msgforward']['messages']) ? implode("\n", $setting['msgforward']['messages']) : '';
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_styles":"action=setting&operation=styles","setting_styles_threadprofile":"action=setting&operation=styles&anchor=threadprofile"}*/
|
||||||
loadcache('usergroups');
|
loadcache('usergroups');
|
||||||
$threadprofiles = C::t('forum_threadprofile')->fetch_all();
|
$threadprofiles = C::t('forum_threadprofile')->fetch_all();
|
||||||
$threadprofile_group = C::t('forum_threadprofile_group')->fetch_all();
|
$threadprofile_group = C::t('forum_threadprofile_group')->fetch_all();
|
||||||
|
@ -718,6 +739,7 @@ if(!submitcheck('settingsubmit')) {
|
||||||
echo '</td></tr></table>';
|
echo '</td></tr></table>';
|
||||||
|
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showtips('members_profile_numbercard_tips', 'numbercard_tips', $_GET['anchor'] == 'numbercard');
|
showtips('members_profile_numbercard_tips', 'numbercard_tips', $_GET['anchor'] == 'numbercard');
|
||||||
showtableheader('members_profile_numbercard', 'nobottom', 'id="numbercard"'.($_GET['anchor'] != 'numbercard' ? ' style="display: none"' : ''));
|
showtableheader('members_profile_numbercard', 'nobottom', 'id="numbercard"'.($_GET['anchor'] != 'numbercard' ? ' style="display: none"' : ''));
|
||||||
|
@ -740,13 +762,16 @@ if(!submitcheck('settingsubmit')) {
|
||||||
}
|
}
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
|
||||||
|
/*search={"setting_styles":"action=setting&operation=styles","setting_styles_refresh":"action=setting&operation=styles&anchor=refresh"}*/
|
||||||
showtableheader('setting_styles_refresh', 'nobottom', 'id="refresh"'.($_GET['anchor'] != 'refresh' ? ' style="display: none"' : ''));
|
showtableheader('setting_styles_refresh', 'nobottom', 'id="refresh"'.($_GET['anchor'] != 'refresh' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_styles_refresh_refreshtime', 'settingnew[msgforward][refreshtime]', $setting['msgforward']['refreshtime'], 'text');
|
showsetting('setting_styles_refresh_refreshtime', 'settingnew[msgforward][refreshtime]', $setting['msgforward']['refreshtime'], 'text');
|
||||||
showsetting('setting_styles_refresh_quick', 'settingnew[msgforward][quick]', $setting['msgforward']['quick'], 'radio', '', 1);
|
showsetting('setting_styles_refresh_quick', 'settingnew[msgforward][quick]', $setting['msgforward']['quick'], 'radio', '', 1);
|
||||||
showsetting('setting_styles_refresh_messages', 'settingnew[msgforward][messages]', $setting['msgforward']['messages'], 'textarea');
|
showsetting('setting_styles_refresh_messages', 'settingnew[msgforward][messages]', $setting['msgforward']['messages'], 'textarea');
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_styles":"action=setting&operation=styles","setting_styles_sitemessage":"action=setting&operation=styles&anchor=sitemessage"}*/
|
||||||
showtableheader('setting_styles_sitemessage', 'nobottom', 'id="sitemessage"'.($_GET['anchor'] != 'sitemessage' ? ' style="display: none"' : ''));
|
showtableheader('setting_styles_sitemessage', 'nobottom', 'id="sitemessage"'.($_GET['anchor'] != 'sitemessage' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_styles_sitemessage_time', 'settingnew[sitemessage][time]', $setting['sitemessage']['time'], 'text');
|
showsetting('setting_styles_sitemessage_time', 'settingnew[sitemessage][time]', $setting['sitemessage']['time'], 'text');
|
||||||
showsetting('setting_styles_sitemessage_register', 'settingnew[sitemessage][register]', $setting['sitemessage']['register'], 'textarea');
|
showsetting('setting_styles_sitemessage_register', 'settingnew[sitemessage][register]', $setting['sitemessage']['register'], 'textarea');
|
||||||
|
@ -755,6 +780,7 @@ if(!submitcheck('settingsubmit')) {
|
||||||
showsetting('setting_styles_sitemessage_reply', 'settingnew[sitemessage][reply]', $setting['sitemessage']['reply'], 'textarea');
|
showsetting('setting_styles_sitemessage_reply', 'settingnew[sitemessage][reply]', $setting['sitemessage']['reply'], 'textarea');
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showtableheader('', 'notop');
|
showtableheader('', 'notop');
|
||||||
showsubmit('settingsubmit');
|
showsubmit('settingsubmit');
|
||||||
|
@ -823,6 +849,7 @@ if(!submitcheck('settingsubmit')) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if($_GET['do'] == 'add') {
|
if($_GET['do'] == 'add') {
|
||||||
|
/*search={"setting_styles":"action=setting&operation=threadprofile&do=add"}*/
|
||||||
showtips('setting_threadprofile_tpl_tpls');
|
showtips('setting_threadprofile_tpl_tpls');
|
||||||
showtableheader('');
|
showtableheader('');
|
||||||
showhiddenfields(array('do' => 'add'));
|
showhiddenfields(array('do' => 'add'));
|
||||||
|
@ -830,6 +857,7 @@ if(!submitcheck('settingsubmit')) {
|
||||||
showsetting_threadprfile($authorinfoitems);
|
showsetting_threadprfile($authorinfoitems);
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
} elseif($_GET['do'] == 'edit') {
|
} elseif($_GET['do'] == 'edit') {
|
||||||
$id = intval($_GET['id']);
|
$id = intval($_GET['id']);
|
||||||
$threadprofile = C::t('forum_threadprofile')->fetch($id);
|
$threadprofile = C::t('forum_threadprofile')->fetch($id);
|
||||||
|
@ -861,6 +889,7 @@ if(!submitcheck('settingsubmit')) {
|
||||||
$rewritedata = rewritedata();
|
$rewritedata = rewritedata();
|
||||||
$setting['rewritestatus'] = isset($setting['rewritestatus']) ? dunserialize($setting['rewritestatus']) : '';
|
$setting['rewritestatus'] = isset($setting['rewritestatus']) ? dunserialize($setting['rewritestatus']) : '';
|
||||||
$setting['rewriterule'] = isset($setting['rewriterule']) ? dunserialize($setting['rewriterule']) : '';
|
$setting['rewriterule'] = isset($setting['rewriterule']) ? dunserialize($setting['rewriterule']) : '';
|
||||||
|
/*search={"setting_optimize":"action=setting&operation=seo","setting_seo":"action=setting&operation=seo"}*/
|
||||||
echo '<div id="rewrite"'.($_GET['anchor'] != 'rewrite' ? ' style="display: none"' : '').'>';
|
echo '<div id="rewrite"'.($_GET['anchor'] != 'rewrite' ? ' style="display: none"' : '').'>';
|
||||||
showtips('setting_tips', 'tips_rewrite');
|
showtips('setting_tips', 'tips_rewrite');
|
||||||
showtableheader('', 'nobottom');
|
showtableheader('', 'nobottom');
|
||||||
|
@ -1043,10 +1072,12 @@ EOF;
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
|
/*search*/
|
||||||
} elseif($operation == 'cachethread') {
|
} elseif($operation == 'cachethread') {
|
||||||
|
|
||||||
include_once libfile('function/forumlist');
|
include_once libfile('function/forumlist');
|
||||||
$forumselect = '<select name="fids[]" multiple="multiple" size="10"><option value="all">'.$lang['all'].'</option><option value=""> </option>'.forumselect(FALSE, 0, 0, TRUE).'</select>';
|
$forumselect = '<select name="fids[]" multiple="multiple" size="10"><option value="all">'.$lang['all'].'</option><option value=""> </option>'.forumselect(FALSE, 0, 0, TRUE).'</select>';
|
||||||
|
/*search={"setting_optimize":"action=setting&operation=seo","setting_cachethread":"action=setting&operation=cachethread"}*/
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtitle('setting_cachethread');
|
showtitle('setting_cachethread');
|
||||||
showsetting('setting_cachethread_indexlife', 'settingnew[cacheindexlife]', $setting['cacheindexlife'], 'text');
|
showsetting('setting_cachethread_indexlife', 'settingnew[cacheindexlife]', $setting['cacheindexlife'], 'text');
|
||||||
|
@ -1056,6 +1087,7 @@ EOF;
|
||||||
showtitle('setting_cachethread_coefficient_set');
|
showtitle('setting_cachethread_coefficient_set');
|
||||||
showsetting('setting_cachethread_coefficient', 'settingnew[threadcaches]', '', "<input type=\"text\" class=\"txt\" size=\"30\" name=\"settingnew[threadcaches]\" value=\"$setting[threadcaches]\">");
|
showsetting('setting_cachethread_coefficient', 'settingnew[threadcaches]', '', "<input type=\"text\" class=\"txt\" size=\"30\" name=\"settingnew[threadcaches]\" value=\"$setting[threadcaches]\">");
|
||||||
showsetting('setting_cachethread_coefficient_forum', '', '', $forumselect);
|
showsetting('setting_cachethread_coefficient_forum', '', '', $forumselect);
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} elseif($operation == 'serveropti') {
|
} elseif($operation == 'serveropti') {
|
||||||
|
|
||||||
|
@ -1077,6 +1109,7 @@ EOF;
|
||||||
$tcsspath['custom'] = 'checked="checked"';
|
$tcsspath['custom'] = 'checked="checked"';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*search={"setting_optimize":"action=setting&operation=seo","setting_serveropti":"action=setting&operation=serveropti"}*/
|
||||||
showtips('setting_tips');
|
showtips('setting_tips');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtitle('setting_serveropti');
|
showtitle('setting_serveropti');
|
||||||
|
@ -1113,6 +1146,7 @@ EOF;
|
||||||
showsetting('setting_serveropti_sessionclose', 'settingnew[sessionclose]', $setting['sessionclose'], 'radio', '', 1);
|
showsetting('setting_serveropti_sessionclose', 'settingnew[sessionclose]', $setting['sessionclose'], 'radio', '', 1);
|
||||||
showsetting('setting_serveropti_onlineguestsmultiple', 'settingnew[onlineguestsmultiple]', $setting['onlineguestsmultiple'] ? $setting['onlineguestsmultiple'] : 10, 'text');
|
showsetting('setting_serveropti_onlineguestsmultiple', 'settingnew[onlineguestsmultiple]', $setting['onlineguestsmultiple'] ? $setting['onlineguestsmultiple'] : 10, 'text');
|
||||||
showtagheader('tbody', '', true);
|
showtagheader('tbody', '', true);
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} elseif($operation == 'editor') {
|
} elseif($operation == 'editor') {
|
||||||
|
|
||||||
|
@ -1121,6 +1155,7 @@ EOF;
|
||||||
$setting['allowswitcheditor'] = $_G['setting']['editoroptions']{1};
|
$setting['allowswitcheditor'] = $_G['setting']['editoroptions']{1};
|
||||||
$setting['simplemode'] = $_G['setting']['editoroptions']{2};
|
$setting['simplemode'] = $_G['setting']['editoroptions']{2};
|
||||||
|
|
||||||
|
/*search={"setting_editor":"action=setting&operation=editor","setting_editor_global":"action=setting&operation=editor"}*/
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showsetting('setting_editor_mode_default', array('settingnew[defaulteditormode]', array(
|
showsetting('setting_editor_mode_default', array('settingnew[defaulteditormode]', array(
|
||||||
array(0, $lang['setting_editor_mode_discuzcode']),
|
array(0, $lang['setting_editor_mode_discuzcode']),
|
||||||
|
@ -1133,12 +1168,14 @@ EOF;
|
||||||
showsetting('setting_editor_smcols', 'settingnew[smcols]', $setting['smcols'], 'text');
|
showsetting('setting_editor_smcols', 'settingnew[smcols]', $setting['smcols'], 'text');
|
||||||
showsetting('setting_editor_smrows', 'settingnew[smrows]', $setting['smrows'], 'text');
|
showsetting('setting_editor_smrows', 'settingnew[smrows]', $setting['smrows'], 'text');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} elseif($operation == 'functions') {
|
} elseif($operation == 'functions') {
|
||||||
$allowfuntype = array('portal', 'group', 'follow', 'collection', 'guide', 'feed', 'blog', 'doing', 'album', 'share', 'wall', 'homepage', 'ranklist');
|
$allowfuntype = array('portal', 'group', 'follow', 'collection', 'guide', 'feed', 'blog', 'doing', 'album', 'share', 'wall', 'homepage', 'ranklist');
|
||||||
$_GET['type'] = in_array($_GET['type'], $allowfuntype) ? trim($_GET['type']) : '';
|
$_GET['type'] = in_array($_GET['type'], $allowfuntype) ? trim($_GET['type']) : '';
|
||||||
echo "<script>disallowfloat = '{$_G[setting][disallowfloat]}';</script>";
|
echo "<script>disallowfloat = '{$_G[setting][disallowfloat]}';</script>";
|
||||||
|
|
||||||
|
/*search={"setting_functions":"action=setting&operation=functions","setting_functions_curscript":"action=setting&operation=functions&anchor=curscript"}*/
|
||||||
showtableheader('setting_functions_curscript_list', 'nobottom', 'id="curscript"'.($_GET['anchor'] != 'curscript' ? ' style="display: none"' : ''));
|
showtableheader('setting_functions_curscript_list', 'nobottom', 'id="curscript"'.($_GET['anchor'] != 'curscript' ? ' style="display: none"' : ''));
|
||||||
$modulehtml = array();
|
$modulehtml = array();
|
||||||
$modulehtml[] = '<td class="td25"><img src="'.STATICURL.'image/feed/portal_b.png"/></td><td class="td23">'.$lang['setting_functions_curscript_portal'].'</td><td width="370">'.$lang['setting_functions_curscript_portal_intro'].'</td><td class="td30"><img class="vm" src="'.$_G['style']['imgdir'].'/data_'.($setting['portalstatus'] ? 'valid':'invalid').'.gif"></td><td><a href="forum.php?mod=ajax&action=setnav&do='.($setting['portalstatus'] ? 'close':'open').'&type=portal" onclick="showWindow(\'setnav\', this.href, \'get\', 0);return false;">'.($setting['portalstatus'] ? $lang['setting_functions_curscript_close']:$lang['setting_functions_curscript_open']).'</a></td>';
|
$modulehtml[] = '<td class="td25"><img src="'.STATICURL.'image/feed/portal_b.png"/></td><td class="td23">'.$lang['setting_functions_curscript_portal'].'</td><td width="370">'.$lang['setting_functions_curscript_portal_intro'].'</td><td class="td30"><img class="vm" src="'.$_G['style']['imgdir'].'/data_'.($setting['portalstatus'] ? 'valid':'invalid').'.gif"></td><td><a href="forum.php?mod=ajax&action=setnav&do='.($setting['portalstatus'] ? 'close':'open').'&type=portal" onclick="showWindow(\'setnav\', this.href, \'get\', 0);return false;">'.($setting['portalstatus'] ? $lang['setting_functions_curscript_close']:$lang['setting_functions_curscript_open']).'</a></td>';
|
||||||
|
@ -1155,7 +1192,9 @@ EOF;
|
||||||
$modulehtml[] = '<td class="td25"><img src="'.STATICURL.'image/feed/ranklist_b.png"/></td><td class="td23">'.$lang['setting_functions_curscript_ranklist'].'</td><td width="370">'.$lang['setting_functions_curscript_ranklist_intro'].'</td><td class="td30"><img class="vm" src="'.$_G['style']['imgdir'].'/data_'.($setting['rankliststatus'] ? 'valid':'invalid').'.gif"></td><td><a href="forum.php?mod=ajax&action=setnav&do='.($setting['rankliststatus'] ? 'close':'open').'&type=ranklist" onclick="showWindow(\'setnav\', this.href, \'get\', 0);return false;">'.($setting['rankliststatus'] ? $lang['setting_functions_curscript_close']:$lang['setting_functions_curscript_open']).'</a></td>';
|
$modulehtml[] = '<td class="td25"><img src="'.STATICURL.'image/feed/ranklist_b.png"/></td><td class="td23">'.$lang['setting_functions_curscript_ranklist'].'</td><td width="370">'.$lang['setting_functions_curscript_ranklist_intro'].'</td><td class="td30"><img class="vm" src="'.$_G['style']['imgdir'].'/data_'.($setting['rankliststatus'] ? 'valid':'invalid').'.gif"></td><td><a href="forum.php?mod=ajax&action=setnav&do='.($setting['rankliststatus'] ? 'close':'open').'&type=ranklist" onclick="showWindow(\'setnav\', this.href, \'get\', 0);return false;">'.($setting['rankliststatus'] ? $lang['setting_functions_curscript_close']:$lang['setting_functions_curscript_open']).'</a></td>';
|
||||||
echo '<tr>'.implode('</tr><tr>', $modulehtml).'</tr>';
|
echo '<tr>'.implode('</tr><tr>', $modulehtml).'</tr>';
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_functions":"action=setting&operation=functions","setting_functions_mod":"action=setting&operation=functions&anchor=mod"}*/
|
||||||
showtips('setting_tips', 'mod_tips', $_GET['anchor'] == 'mod');
|
showtips('setting_tips', 'mod_tips', $_GET['anchor'] == 'mod');
|
||||||
showtableheader('', 'nobottom', 'id="mod"'.($_GET['anchor'] != 'mod' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="mod"'.($_GET['anchor'] != 'mod' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_functions_mod_updatestat', 'settingnew[updatestat]', $setting['updatestat'], 'radio');
|
showsetting('setting_functions_mod_updatestat', 'settingnew[updatestat]', $setting['updatestat'], 'radio');
|
||||||
|
@ -1176,6 +1215,7 @@ EOF;
|
||||||
showsetting('setting_functions_mod_rewardexpiration', 'settingnew[rewardexpiration]', $setting['rewardexpiration'], 'text');
|
showsetting('setting_functions_mod_rewardexpiration', 'settingnew[rewardexpiration]', $setting['rewardexpiration'], 'text');
|
||||||
showsetting('setting_functions_mod_moddetail', 'settingnew[moddetail]', $setting['moddetail'], 'radio');
|
showsetting('setting_functions_mod_moddetail', 'settingnew[moddetail]', $setting['moddetail'], 'radio');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
$setting['heatthread'] = dunserialize($setting['heatthread']);
|
$setting['heatthread'] = dunserialize($setting['heatthread']);
|
||||||
$setting['recommendthread'] = dunserialize($setting['recommendthread']);
|
$setting['recommendthread'] = dunserialize($setting['recommendthread']);
|
||||||
|
@ -1199,12 +1239,15 @@ EOF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*search={"setting_functions":"action=setting&operation=functions","setting_functions_heatthread":"action=setting&operation=functions&anchor=heatthread"}*/
|
||||||
showtips('setting_functions_heatthread_tips', 'heatthread_tips', $_GET['anchor'] == 'heatthread');
|
showtips('setting_functions_heatthread_tips', 'heatthread_tips', $_GET['anchor'] == 'heatthread');
|
||||||
showtableheader('', 'nobottom', 'id="heatthread"'.($_GET['anchor'] != 'heatthread' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="heatthread"'.($_GET['anchor'] != 'heatthread' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_functions_heatthread_period', 'settingnew[heatthread][period]', $setting['heatthread']['period'], 'text');
|
showsetting('setting_functions_heatthread_period', 'settingnew[heatthread][period]', $setting['heatthread']['period'], 'text');
|
||||||
showsetting('setting_functions_heatthread_iconlevels', '', '', '<input name="settingnew[heatthread][iconlevels]" class="txt" type="text" value="'.$setting['heatthread']['iconlevels'].'" /><br />'.$heatthreadicons);
|
showsetting('setting_functions_heatthread_iconlevels', '', '', '<input name="settingnew[heatthread][iconlevels]" class="txt" type="text" value="'.$setting['heatthread']['iconlevels'].'" /><br />'.$heatthreadicons);
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_functions":"action=setting&operation=functions","setting_functions_recommend":"action=setting&operation=functions&anchor=recommend"}*/
|
||||||
showtips('setting_functions_recommend_tips', 'recommend_tips', $_GET['anchor'] == 'recommend');
|
showtips('setting_functions_recommend_tips', 'recommend_tips', $_GET['anchor'] == 'recommend');
|
||||||
showtableheader('', 'nobottom', 'id="recommend"'.($_GET['anchor'] != 'recommend' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="recommend"'.($_GET['anchor'] != 'recommend' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_functions_recommend_status', 'settingnew[recommendthread][status]', $setting['recommendthread']['status'], 'radio', 0, 1);
|
showsetting('setting_functions_recommend_status', 'settingnew[recommendthread][status]', $setting['recommendthread']['status'], 'radio', 0, 1);
|
||||||
|
@ -1214,7 +1257,9 @@ EOF;
|
||||||
showsetting('setting_functions_recommend_ownthread', 'settingnew[recommendthread][ownthread]', $setting['recommendthread']['ownthread'], 'radio');
|
showsetting('setting_functions_recommend_ownthread', 'settingnew[recommendthread][ownthread]', $setting['recommendthread']['ownthread'], 'radio');
|
||||||
showsetting('setting_functions_recommend_iconlevels', '', '', '<input name="settingnew[recommendthread][iconlevels]" class="txt" type="text" value="'.$setting['recommendthread']['iconlevels'].'" /><br />'.$recommendicons);
|
showsetting('setting_functions_recommend_iconlevels', '', '', '<input name="settingnew[recommendthread][iconlevels]" class="txt" type="text" value="'.$setting['recommendthread']['iconlevels'].'" /><br />'.$recommendicons);
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_functions":"action=setting&operation=functions","setting_functions_comment":"action=setting&operation=functions&anchor=comment"}*/
|
||||||
showtableheader('', 'nobottom', 'id="comment"'.($_GET['anchor'] != 'comment' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="comment"'.($_GET['anchor'] != 'comment' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_functions_comment_allow', array('settingnew[allowpostcomment]', array(
|
showsetting('setting_functions_comment_allow', array('settingnew[allowpostcomment]', array(
|
||||||
array(1, $lang['setting_functions_comment_allow_1'], 'commentextra'),
|
array(1, $lang['setting_functions_comment_allow_1'], 'commentextra'),
|
||||||
|
@ -1234,7 +1279,9 @@ EOF;
|
||||||
showsetting($data['name'].cplang('setting_functions_comment_commentitem_threadplugin'), 'settingnew[commentitem]['.$tpid.']', $setting['commentitem'][$tpid], 'textarea', '', 0, cplang('setting_functions_comment_commentitem_threadplugin_comment'));
|
showsetting($data['name'].cplang('setting_functions_comment_commentitem_threadplugin'), 'settingnew[commentitem]['.$tpid.']', $setting['commentitem'][$tpid], 'textarea', '', 0, cplang('setting_functions_comment_commentitem_threadplugin_comment'));
|
||||||
}
|
}
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_functions":"action=setting&operation=functions","setting_functions_threadexp":"action=setting&operation=functions&anchor=threadexp"}*/
|
||||||
showtableheader('', 'nobottom', 'id="threadexp"'.($_GET['anchor'] != 'threadexp' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="threadexp"'.($_GET['anchor'] != 'threadexp' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_functions_threadexp_repliesrank', 'settingnew[repliesrank]', $setting['repliesrank'], 'radio');
|
showsetting('setting_functions_threadexp_repliesrank', 'settingnew[repliesrank]', $setting['repliesrank'], 'radio');
|
||||||
showsetting('setting_functions_threadexp_blacklist', 'settingnew[threadblacklist]', $setting['threadblacklist'], 'radio');
|
showsetting('setting_functions_threadexp_blacklist', 'settingnew[threadblacklist]', $setting['threadblacklist'], 'radio');
|
||||||
|
@ -1244,7 +1291,9 @@ EOF;
|
||||||
showsetting('setting_functions_threadexp_hidefilteredpost', 'settingnew[hidefilteredpost]', $setting['hidefilteredpost'], 'radio');
|
showsetting('setting_functions_threadexp_hidefilteredpost', 'settingnew[hidefilteredpost]', $setting['hidefilteredpost'], 'radio');
|
||||||
showsetting('setting_functions_threadexp_filterednovote', 'settingnew[filterednovote]', $setting['filterednovote'], 'radio');
|
showsetting('setting_functions_threadexp_filterednovote', 'settingnew[filterednovote]', $setting['filterednovote'], 'radio');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_functions":"action=setting&operation=functions","setting_functions_other":"action=setting&operation=functions&anchor=other"}*/
|
||||||
showtips('setting_tips', 'other_tips', $_GET['anchor'] == 'other');
|
showtips('setting_tips', 'other_tips', $_GET['anchor'] == 'other');
|
||||||
showtableheader('', 'nobottom', 'id="other"'.($_GET['anchor'] != 'other' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="other"'.($_GET['anchor'] != 'other' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_functions_other_pwdsafety', 'settingnew[pwdsafety]', $setting['pwdsafety'], 'radio');
|
showsetting('setting_functions_other_pwdsafety', 'settingnew[pwdsafety]', $setting['pwdsafety'], 'radio');
|
||||||
|
@ -1265,7 +1314,9 @@ EOF;
|
||||||
showsetting('setting_functions_other_darkroom', 'settingnew[darkroom]', $setting['darkroom'], 'radio');
|
showsetting('setting_functions_other_darkroom', 'settingnew[darkroom]', $setting['darkroom'], 'radio');
|
||||||
showsetting('setting_functions_other_global_sign', 'settingnew[globalsightml]', $setting['globalsightml'], 'textarea');
|
showsetting('setting_functions_other_global_sign', 'settingnew[globalsightml]', $setting['globalsightml'], 'textarea');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_functions":"action=setting&operation=functions","setting_functions_guide":"action=setting&operation=functions&anchor=guide"}*/
|
||||||
$setting['guide'] = unserialize($setting['guide']);
|
$setting['guide'] = unserialize($setting['guide']);
|
||||||
showtableheader('', 'nobottom', 'id="guide"'.($_GET['anchor'] != 'guide' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="guide"'.($_GET['anchor'] != 'guide' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_functions_heatthread_guidelimit', 'settingnew[heatthread][guidelimit]', $setting['heatthread']['guidelimit'], 'text');
|
showsetting('setting_functions_heatthread_guidelimit', 'settingnew[heatthread][guidelimit]', $setting['heatthread']['guidelimit'], 'text');
|
||||||
|
@ -1278,7 +1329,9 @@ EOF;
|
||||||
showsetting('setting_functions_guide_hotdt', array('settingnew[guide][hotdt]', $dtarray), $setting['guide']['hotdt'], 'select');
|
showsetting('setting_functions_guide_hotdt', array('settingnew[guide][hotdt]', $dtarray), $setting['guide']['hotdt'], 'select');
|
||||||
showsetting('setting_functions_guide_digestdt', array('settingnew[guide][digestdt]', $dtarray), $setting['guide']['digestdt'], 'select');
|
showsetting('setting_functions_guide_digestdt', array('settingnew[guide][digestdt]', $dtarray), $setting['guide']['digestdt'], 'select');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_functions":"action=setting&operation=functions","setting_functions_activity":"action=setting&operation=functions&anchor=activity"}*/
|
||||||
showtableheader('', 'nobottom', 'id="activity"'.($_GET['anchor'] != 'activity' ? ' style="display: none"' : ''));
|
showtableheader('', 'nobottom', 'id="activity"'.($_GET['anchor'] != 'activity' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_functions_activity_type', 'settingnew[activitytype]', $setting['activitytype'], 'textarea');
|
showsetting('setting_functions_activity_type', 'settingnew[activitytype]', $setting['activitytype'], 'textarea');
|
||||||
$varname = array('settingnew[activityfield]', array(), 'isfloat');
|
$varname = array('settingnew[activityfield]', array(), 'isfloat');
|
||||||
|
@ -1298,6 +1351,7 @@ EOF;
|
||||||
showsetting('setting_functions_activity_credit', '', '' ,'<select name="settingnew[activitycredit]">'.$_G['setting']['creditstrans'].'</select>');
|
showsetting('setting_functions_activity_credit', '', '' ,'<select name="settingnew[activitycredit]">'.$_G['setting']['creditstrans'].'</select>');
|
||||||
showsetting('setting_functions_activity_pp', 'settingnew[activitypp]', $setting['activitypp'], 'text');
|
showsetting('setting_functions_activity_pp', 'settingnew[activitypp]', $setting['activitypp'], 'text');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showtableheader('', 'notop');
|
showtableheader('', 'notop');
|
||||||
if($_GET['anchor'] != 'curscript') {
|
if($_GET['anchor'] != 'curscript') {
|
||||||
|
@ -1319,6 +1373,7 @@ EOF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*search={"setting_permissions":"action=setting&operation=permissions"}*/
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showsetting('setting_permissions_allowviewuserthread', 'settingnew[allowviewuserthread][allow]', $setting['allowviewuserthread']['allow'], 'radio', 0, 1);
|
showsetting('setting_permissions_allowviewuserthread', 'settingnew[allowviewuserthread][allow]', $setting['allowviewuserthread']['allow'], 'radio', 0, 1);
|
||||||
showsetting('setting_permissions_allowviewuserthread_fids', '', '', $forumselect);
|
showsetting('setting_permissions_allowviewuserthread_fids', '', '', $forumselect);
|
||||||
|
@ -1346,6 +1401,7 @@ EOF;
|
||||||
showsetting('setting_permissions_dupkarmarate', 'settingnew[dupkarmarate]', $setting['dupkarmarate'], 'radio');
|
showsetting('setting_permissions_dupkarmarate', 'settingnew[dupkarmarate]', $setting['dupkarmarate'], 'radio');
|
||||||
showsetting('setting_permissions_editperdel', 'settingnew[editperdel]', $setting['editperdel'], 'radio');
|
showsetting('setting_permissions_editperdel', 'settingnew[editperdel]', $setting['editperdel'], 'radio');
|
||||||
showsetting('setting_permissions_hideexpiration', 'settingnew[hideexpiration]', $setting['hideexpiration'], 'text');
|
showsetting('setting_permissions_hideexpiration', 'settingnew[hideexpiration]', $setting['hideexpiration'], 'text');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} elseif($operation == 'credits') {
|
} elseif($operation == 'credits') {
|
||||||
|
|
||||||
|
@ -1356,6 +1412,7 @@ EOF;
|
||||||
|
|
||||||
echo '<div id="base"'.($_GET['anchor'] != 'base' ? ' style="display: none"' : '').'>';
|
echo '<div id="base"'.($_GET['anchor'] != 'base' ? ' style="display: none"' : '').'>';
|
||||||
|
|
||||||
|
/*search={"setting_credits":"action=setting&operation=credits","setting_credits_base":"action=setting&operation=credits&anchor=base"}*/
|
||||||
$setting['extcredits'] = dunserialize($setting['extcredits']);
|
$setting['extcredits'] = dunserialize($setting['extcredits']);
|
||||||
$setting['initcredits'] = explode(',', $setting['initcredits']);
|
$setting['initcredits'] = explode(',', $setting['initcredits']);
|
||||||
$extcreditsbtn = '';
|
$extcreditsbtn = '';
|
||||||
|
@ -1490,12 +1547,14 @@ EOF;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} elseif($operation == 'mail' && $isfounder) {
|
} elseif($operation == 'mail' && $isfounder) {
|
||||||
|
|
||||||
$setting['mail'] = dunserialize($setting['mail']);
|
$setting['mail'] = dunserialize($setting['mail']);
|
||||||
$passwordmask = $setting['mail']['auth_password'] ? $setting['mail']['auth_password']{0}.'********'.substr($setting['mail']['auth_password'], -2) : '';
|
$passwordmask = $setting['mail']['auth_password'] ? $setting['mail']['auth_password']{0}.'********'.substr($setting['mail']['auth_password'], -2) : '';
|
||||||
|
|
||||||
|
/*search={"setting_mail":"action=setting&operation=mail","setting_mail_setting":"action=setting&operation=mail&anchor=setting"}*/
|
||||||
showtableheader('', '', 'id="mailsetting"'.($_GET['anchor'] != 'setting' ? ' style="display: none"' : ''));
|
showtableheader('', '', 'id="mailsetting"'.($_GET['anchor'] != 'setting' ? ' style="display: none"' : ''));
|
||||||
|
|
||||||
showsetting('setting_mail_setting_send', array('settingnew[mail][mailsend]', array(
|
showsetting('setting_mail_setting_send', array('settingnew[mail][mailsend]', array(
|
||||||
|
@ -1601,12 +1660,15 @@ EOF;
|
||||||
showsetting('setting_mail_setting_silent', 'settingnew[mail][sendmail_silent]', $setting['mail']['sendmail_silent'], 'radio');
|
showsetting('setting_mail_setting_silent', 'settingnew[mail][sendmail_silent]', $setting['mail']['sendmail_silent'], 'radio');
|
||||||
showsubmit('settingsubmit');
|
showsubmit('settingsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_mail":"action=setting&operation=mail","setting_mail_check":"action=setting&operation=mail&anchor=check"}*/
|
||||||
showtableheader('', '', 'id="mailcheck"'.($_GET['anchor'] != 'check' ? ' style="display: none"' : ''));
|
showtableheader('', '', 'id="mailcheck"'.($_GET['anchor'] != 'check' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_mail_check_test_from', 'test_from', '', 'text');
|
showsetting('setting_mail_check_test_from', 'test_from', '', 'text');
|
||||||
showsetting('setting_mail_check_test_to', 'test_to', '', 'textarea');
|
showsetting('setting_mail_check_test_to', 'test_to', '', 'textarea');
|
||||||
showsubmit('', '', '<input type="submit" class="btn" name="mailcheck" value="'.cplang('setting_mail_check_submit').'" onclick="this.form.operation.value=\'mailcheck\';this.form.action=\''.ADMINSCRIPT.'?action=checktools&operation=mailcheck&frame=no\';this.form.target=\'mailcheckiframe\';">', '<iframe name="mailcheckiframe" style="display: none"></iframe>');
|
showsubmit('', '', '<input type="submit" class="btn" name="mailcheck" value="'.cplang('setting_mail_check_submit').'" onclick="this.form.operation.value=\'mailcheck\';this.form.action=\''.ADMINSCRIPT.'?action=checktools&operation=mailcheck&frame=no\';this.form.target=\'mailcheckiframe\';">', '<iframe name="mailcheckiframe" style="display: none"></iframe>');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showformfooter();
|
showformfooter();
|
||||||
exit;
|
exit;
|
||||||
|
@ -1616,6 +1678,7 @@ EOF;
|
||||||
loadcache('usergroups');
|
loadcache('usergroups');
|
||||||
$setting['accountguard'] = dunserialize($setting['accountguard']);
|
$setting['accountguard'] = dunserialize($setting['accountguard']);
|
||||||
$usergroups = C::t('common_usergroup_field')->fetch_all(array_keys($_G['cache']['usergroups']));
|
$usergroups = C::t('common_usergroup_field')->fetch_all(array_keys($_G['cache']['usergroups']));
|
||||||
|
/*search={"setting_accountguard":"action=setting&operation=sec","setting_sec_reginput":"action=setting&operation=sec&anchor=accountguard"}*/
|
||||||
showtableheader('', 'nobottom');
|
showtableheader('', 'nobottom');
|
||||||
$forcelogin = '<tr class="header"><td></td><td>'.cplang('usergroups_edit_basic_forcelogin_none').'</td>'.($_G['setting']['connect']['allow'] ? '<td>'.cplang('usergroups_edit_basic_forcelogin_qq').'</td>' : '').'<td>'.cplang('usergroups_edit_basic_forcelogin_mail').'</td></tr>';
|
$forcelogin = '<tr class="header"><td></td><td>'.cplang('usergroups_edit_basic_forcelogin_none').'</td>'.($_G['setting']['connect']['allow'] ? '<td>'.cplang('usergroups_edit_basic_forcelogin_qq').'</td>' : '').'<td>'.cplang('usergroups_edit_basic_forcelogin_mail').'</td></tr>';
|
||||||
ksort($_G['cache']['usergroups']);
|
ksort($_G['cache']['usergroups']);
|
||||||
|
@ -1642,6 +1705,7 @@ EOF;
|
||||||
showtableheader('setting_sec_accountguard_forcelogin', 'nobottom');
|
showtableheader('setting_sec_accountguard_forcelogin', 'nobottom');
|
||||||
echo $forcelogin;
|
echo $forcelogin;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} elseif($operation == 'seccheck') {
|
} elseif($operation == 'seccheck') {
|
||||||
|
|
||||||
|
@ -1662,6 +1726,7 @@ EOF;
|
||||||
|
|
||||||
$seccodetypearray = array_merge($seccodetypearray, getseccodes($seccodesettings));
|
$seccodetypearray = array_merge($seccodetypearray, getseccodes($seccodesettings));
|
||||||
|
|
||||||
|
/*search={"setting_seccheck":"action=setting&operation=sec","setting_sec_seccode":"action=setting&operation=sec&anchor=seccode"}*/
|
||||||
showtips('setting_sec_code_tips', 'seccode_tips', $_GET['anchor'] == 'seccode');
|
showtips('setting_sec_code_tips', 'seccode_tips', $_GET['anchor'] == 'seccode');
|
||||||
|
|
||||||
showtableheader('', '', 'id="seccode"'.($_GET['anchor'] != 'seccode' ? ' style="display: none"' : ''));
|
showtableheader('', '', 'id="seccode"'.($_GET['anchor'] != 'seccode' ? ' style="display: none"' : ''));
|
||||||
|
@ -1749,6 +1814,7 @@ EOF;
|
||||||
|
|
||||||
showsubmit('settingsubmit');
|
showsubmit('settingsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
$setting['secqaa'] = dunserialize($setting['secqaa']);
|
$setting['secqaa'] = dunserialize($setting['secqaa']);
|
||||||
$start_limit = ($page - 1) * 10;
|
$start_limit = ($page - 1) * 10;
|
||||||
|
@ -1763,6 +1829,7 @@ EOF;
|
||||||
];
|
];
|
||||||
</script>
|
</script>
|
||||||
EOT;
|
EOT;
|
||||||
|
/*search={"setting_seccheck":"action=setting&operation=sec","setting_sec_secqaa":"action=setting&operation=sec&anchor=secqaa"}*/
|
||||||
showtips('setting_sec_qaa_tips', 'secqaa_tips', $_GET['anchor'] == 'secqaa');
|
showtips('setting_sec_qaa_tips', 'secqaa_tips', $_GET['anchor'] == 'secqaa');
|
||||||
showtagheader('div', 'secqaa', $_GET['anchor'] == 'secqaa');
|
showtagheader('div', 'secqaa', $_GET['anchor'] == 'secqaa');
|
||||||
showtableheader('setting_sec_secqaa', 'nobottom');
|
showtableheader('setting_sec_secqaa', 'nobottom');
|
||||||
|
@ -1796,19 +1863,23 @@ EOT;
|
||||||
showsubmit('settingsubmit', 'submit', 'del', '', $multipage);
|
showsubmit('settingsubmit', 'submit', 'del', '', $multipage);
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
} elseif($operation == 'sec') {
|
} elseif($operation == 'sec') {
|
||||||
|
|
||||||
$setting['reginput'] = dunserialize($setting['reginput']);
|
$setting['reginput'] = dunserialize($setting['reginput']);
|
||||||
|
|
||||||
|
/*search={"setting_sec":"action=setting&operation=sec","setting_sec_base":"action=setting&operation=sec&anchor=base"}*/
|
||||||
showtableheader('', '', 'id="base"'.($_GET['anchor'] != 'base' ? ' style="display: none"' : ''));
|
showtableheader('', '', 'id="base"'.($_GET['anchor'] != 'base' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_sec_floodctrl', 'settingnew[floodctrl]', $setting['floodctrl'], 'text');
|
showsetting('setting_sec_floodctrl', 'settingnew[floodctrl]', $setting['floodctrl'], 'text');
|
||||||
showsetting('setting_sec_base_need_email', 'settingnew[need_email]', $setting['need_email'], 'radio');
|
showsetting('setting_sec_base_need_email', 'settingnew[need_email]', $setting['need_email'], 'radio');
|
||||||
showsetting('setting_sec_base_need_avatar', 'settingnew[need_avatar]', $setting['need_avatar'], 'radio');
|
showsetting('setting_sec_base_need_avatar', 'settingnew[need_avatar]', $setting['need_avatar'], 'radio');
|
||||||
showsetting('setting_sec_base_need_friendnum', 'settingnew[need_friendnum]', $setting['need_friendnum'], 'text');
|
showsetting('setting_sec_base_need_friendnum', 'settingnew[need_friendnum]', $setting['need_friendnum'], 'text');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_sec":"action=setting&operation=sec","setting_sec_reginput":"action=setting&operation=sec&anchor=reginput"}*/
|
||||||
showtagheader('div', 'reginput', $_GET['anchor'] == 'reginput');
|
showtagheader('div', 'reginput', $_GET['anchor'] == 'reginput');
|
||||||
showtableheader('setting_sec_reginput', 'nobottom');
|
showtableheader('setting_sec_reginput', 'nobottom');
|
||||||
showsetting('setting_sec_reginput_username', 'settingnew[reginput][username]', $setting['reginput']['username'], 'text');
|
showsetting('setting_sec_reginput_username', 'settingnew[reginput][username]', $setting['reginput']['username'], 'text');
|
||||||
|
@ -1817,7 +1888,9 @@ EOT;
|
||||||
showsetting('setting_sec_reginput_email', 'settingnew[reginput][email]', $setting['reginput']['email'], 'text');
|
showsetting('setting_sec_reginput_email', 'settingnew[reginput][email]', $setting['reginput']['email'], 'text');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_sec":"action=setting&operation=sec","setting_sec_reginput":"action=setting&operation=sec&anchor=postperiodtime"}*/
|
||||||
showtagheader('div', 'postperiodtime', $_GET['anchor'] == 'postperiodtime');
|
showtagheader('div', 'postperiodtime', $_GET['anchor'] == 'postperiodtime');
|
||||||
showtableheader('setting_sec_postperiodtime', 'nobottom');
|
showtableheader('setting_sec_postperiodtime', 'nobottom');
|
||||||
showsetting('setting_datetime_postbanperiods', 'settingnew[postbanperiods]', $setting['postbanperiods'], 'textarea');
|
showsetting('setting_datetime_postbanperiods', 'settingnew[postbanperiods]', $setting['postbanperiods'], 'textarea');
|
||||||
|
@ -1826,6 +1899,7 @@ EOT;
|
||||||
showsetting('setting_datetime_postignoreip', 'settingnew[postignoreip]', $setting['postignoreip'], 'textarea');
|
showsetting('setting_datetime_postignoreip', 'settingnew[postignoreip]', $setting['postignoreip'], 'textarea');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} elseif($operation == 'datetime') {
|
} elseif($operation == 'datetime') {
|
||||||
|
|
||||||
|
@ -1834,6 +1908,7 @@ EOT;
|
||||||
$setting['userdateformat'] = dateformat($setting['userdateformat']);
|
$setting['userdateformat'] = dateformat($setting['userdateformat']);
|
||||||
$setting['dateformat'] = dateformat($setting['dateformat']);
|
$setting['dateformat'] = dateformat($setting['dateformat']);
|
||||||
|
|
||||||
|
/*search={"setting_datetime":"action=setting&operation=datetime"}*/
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtitle('setting_datetime_format');
|
showtitle('setting_datetime_format');
|
||||||
showsetting('setting_datetime_dateformat', 'settingnew[dateformat]', $setting['dateformat'], 'text');
|
showsetting('setting_datetime_dateformat', 'settingnew[dateformat]', $setting['dateformat'], 'text');
|
||||||
|
@ -1853,9 +1928,11 @@ EOT;
|
||||||
showsetting('setting_datetime_visitbanperiods', 'settingnew[visitbanperiods]', $setting['visitbanperiods'], 'textarea');
|
showsetting('setting_datetime_visitbanperiods', 'settingnew[visitbanperiods]', $setting['visitbanperiods'], 'textarea');
|
||||||
showsetting('setting_datetime_ban_downtime', 'settingnew[attachbanperiods]', $setting['attachbanperiods'], 'textarea');
|
showsetting('setting_datetime_ban_downtime', 'settingnew[attachbanperiods]', $setting['attachbanperiods'], 'textarea');
|
||||||
showsetting('setting_datetime_searchbanperiods', 'settingnew[searchbanperiods]', $setting['searchbanperiods'], 'textarea');
|
showsetting('setting_datetime_searchbanperiods', 'settingnew[searchbanperiods]', $setting['searchbanperiods'], 'textarea');
|
||||||
|
/*search}*/
|
||||||
|
|
||||||
} elseif($operation == 'attach') {
|
} elseif($operation == 'attach') {
|
||||||
|
|
||||||
|
/*search={"setting_attach":"action=setting&operation=attach","setting_attach_basic":"action=setting&operation=attach&anchor=basic"}*/
|
||||||
showtableheader('', '', 'id="basic"'.($_GET['anchor'] != 'basic' ? ' style="display: none"' : ''));
|
showtableheader('', '', 'id="basic"'.($_GET['anchor'] != 'basic' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_attach_basic_dir', 'settingnew[attachdir]', $setting['attachdir'], 'text');
|
showsetting('setting_attach_basic_dir', 'settingnew[attachdir]', $setting['attachdir'], 'text');
|
||||||
showsetting('setting_attach_basic_url', 'settingnew[attachurl]', $setting['attachurl'], 'text');
|
showsetting('setting_attach_basic_url', 'settingnew[attachurl]', $setting['attachurl'], 'text');
|
||||||
|
@ -1869,7 +1946,9 @@ EOT;
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
showsubmit('settingsubmit');
|
showsubmit('settingsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_attach":"action=setting&operation=attach","setting_attach_forumattach":"action=setting&operation=attach&anchor=forumattach"}*/
|
||||||
showtableheader('', '', 'id="forumattach"'.($_GET['anchor'] != 'forumattach' ? ' style="display: none"' : ''));
|
showtableheader('', '', 'id="forumattach"'.($_GET['anchor'] != 'forumattach' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_attach_basic_imgpost', 'settingnew[attachimgpost]', $setting['attachimgpost'], 'radio');
|
showsetting('setting_attach_basic_imgpost', 'settingnew[attachimgpost]', $setting['attachimgpost'], 'radio');
|
||||||
showsetting('setting_attach_basic_allowattachurl', 'settingnew[allowattachurl]', $setting['allowattachurl'], 'radio');
|
showsetting('setting_attach_basic_allowattachurl', 'settingnew[allowattachurl]', $setting['allowattachurl'], 'radio');
|
||||||
|
@ -1887,6 +1966,7 @@ EOT;
|
||||||
showsetting('setting_attach_antileech_expire', 'settingnew[attachexpire]', $setting['attachexpire'], 'text');
|
showsetting('setting_attach_antileech_expire', 'settingnew[attachexpire]', $setting['attachexpire'], 'text');
|
||||||
showsetting('setting_attach_antileech_refcheck', 'settingnew[attachrefcheck]', $setting['attachrefcheck'], 'radio');
|
showsetting('setting_attach_antileech_refcheck', 'settingnew[attachrefcheck]', $setting['attachrefcheck'], 'radio');
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showsubmit('settingsubmit');
|
showsubmit('settingsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
@ -1900,6 +1980,7 @@ EOT;
|
||||||
|
|
||||||
require_once libfile('function/cache');
|
require_once libfile('function/cache');
|
||||||
|
|
||||||
|
/*search={"setting_attach":"action=setting&operation=attach","setting_attach_remote":"action=setting&operation=attach&anchor=remote"}*/
|
||||||
showtableheader('', '', 'id="remote"'.($_GET['anchor'] != 'remote' ? ' style="display: none"' : ''));
|
showtableheader('', '', 'id="remote"'.($_GET['anchor'] != 'remote' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_attach_remote_enabled', array('settingnew[ftp][on]', array(
|
showsetting('setting_attach_remote_enabled', array('settingnew[ftp][on]', array(
|
||||||
array(1, $lang['yes'], array('ftpext' => '', 'ftpcheckbutton' => '')),
|
array(1, $lang['yes'], array('ftpext' => '', 'ftpcheckbutton' => '')),
|
||||||
|
@ -1924,18 +2005,23 @@ EOT;
|
||||||
|
|
||||||
showsubmit('settingsubmit');
|
showsubmit('settingsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*search={"setting_attach":"action=setting&operation=attach","setting_attach_album":"action=setting&operation=attach&anchor=albumattach"}*/
|
||||||
showtableheader('', '', 'id="albumattach"'.($_GET['anchor'] != 'albumattach' ? ' style="display: none"' : ''));
|
showtableheader('', '', 'id="albumattach"'.($_GET['anchor'] != 'albumattach' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_attach_album_maxtimage', array('settingnew[maxthumbwidth]', 'settingnew[maxthumbheight]'), array(intval($setting['maxthumbwidth']), intval($setting['maxthumbheight'])), 'multiply');
|
showsetting('setting_attach_album_maxtimage', array('settingnew[maxthumbwidth]', 'settingnew[maxthumbheight]'), array(intval($setting['maxthumbwidth']), intval($setting['maxthumbheight'])), 'multiply');
|
||||||
showsubmit('settingsubmit');
|
showsubmit('settingsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_attach":"action=setting&operation=attach","setting_attach_portal_article_attach":"action=setting&operation=attach&anchor=portalarticle"}*/
|
||||||
showtableheader('', '', 'id="portalarticle"'.($_GET['anchor'] != 'portalarticle' ? ' style="display: none"' : ''));
|
showtableheader('', '', 'id="portalarticle"'.($_GET['anchor'] != 'portalarticle' ? ' style="display: none"' : ''));
|
||||||
showsetting('setting_attach_portal_article_img_thumb_closed', 'settingnew[portalarticleimgthumbclosed]', !$setting['portalarticleimgthumbclosed'], 'radio');
|
showsetting('setting_attach_portal_article_img_thumb_closed', 'settingnew[portalarticleimgthumbclosed]', !$setting['portalarticleimgthumbclosed'], 'radio');
|
||||||
showsetting('setting_attach_portal_article_imgsize', array('settingnew[portalarticleimgthumbwidth]', 'settingnew[portalarticleimgthumbheight]'), array(intval($setting['portalarticleimgthumbwidth']), intval($setting['portalarticleimgthumbheight'])), 'multiply');
|
showsetting('setting_attach_portal_article_imgsize', array('settingnew[portalarticleimgthumbwidth]', 'settingnew[portalarticleimgthumbheight]'), array(intval($setting['portalarticleimgthumbwidth']), intval($setting['portalarticleimgthumbheight'])), 'multiply');
|
||||||
showsubmit('settingsubmit');
|
showsubmit('settingsubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showformfooter();
|
showformfooter();
|
||||||
exit;
|
exit;
|
||||||
|
@ -1973,6 +2059,7 @@ EOT;
|
||||||
$checkwm['portal'] = array($setting['watermarkstatus']['portal'] => 'checked');
|
$checkwm['portal'] = array($setting['watermarkstatus']['portal'] => 'checked');
|
||||||
$checkwm['forum'] = array($setting['watermarkstatus']['forum'] => 'checked');
|
$checkwm['forum'] = array($setting['watermarkstatus']['forum'] => 'checked');
|
||||||
$checkwm['album'] = array($setting['watermarkstatus']['album'] => 'checked');
|
$checkwm['album'] = array($setting['watermarkstatus']['album'] => 'checked');
|
||||||
|
/*search={"setting_imgwater":"action=setting&operation=imgwater","setting_imgwater_portal":"action=setting&operation=imgwater&anchor=portal"}*/
|
||||||
showtableheader('setting_imgwater_image_watermarks_portal', '', 'id="portal"'.($_GET['anchor'] != 'portal' ? ' style="display: none"' : ''));
|
showtableheader('setting_imgwater_image_watermarks_portal', '', 'id="portal"'.($_GET['anchor'] != 'portal' ? ' style="display: none"' : ''));
|
||||||
$fontlist['portal'] = '<select name="settingnew[watermarktext][fontpath][portal]">' . $fontlist['portal'];
|
$fontlist['portal'] = '<select name="settingnew[watermarktext][fontpath][portal]">' . $fontlist['portal'];
|
||||||
showhiddenfields(array('imagelib' => $_G['setting']['imagelib']));
|
showhiddenfields(array('imagelib' => $_G['setting']['imagelib']));
|
||||||
|
@ -2001,7 +2088,9 @@ EOT;
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
showsetting('setting_imgwater_preview', '', '', cplang('setting_imgwater_preview_portal'));
|
showsetting('setting_imgwater_preview', '', '', cplang('setting_imgwater_preview_portal'));
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_imgwater":"action=setting&operation=imgwater","setting_imgwater_forum":"action=setting&operation=imgwater&anchor=forum"}*/
|
||||||
showtableheader('setting_imgwater_image_watermarks_forum', '', 'id="forum"'.($_GET['anchor'] != 'forum' ? ' style="display: none"' : ''));
|
showtableheader('setting_imgwater_image_watermarks_forum', '', 'id="forum"'.($_GET['anchor'] != 'forum' ? ' style="display: none"' : ''));
|
||||||
$fontlist['forum'] = '<select name="settingnew[watermarktext][fontpath][forum]">' . $fontlist['forum'];
|
$fontlist['forum'] = '<select name="settingnew[watermarktext][fontpath][forum]">' . $fontlist['forum'];
|
||||||
showsetting('setting_imgwater_image_watermarkstatus', '', '', '<table style="margin-bottom: 3px; margin-top:3px;"><tr><td colspan="3"><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="0" '.$checkwm['forum'][0].'>'.$lang['setting_imgwater_image_watermarkstatus_none'].'</td></tr><tr><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="1" '.$checkwm['forum'][1].'> #1</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="2" '.$checkwm['forum'][2].'> #2</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="3" '.$checkwm['forum'][3].'> #3</td></tr><tr><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="4" '.$checkwm['forum'][4].'> #4</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="5" '.$checkwm['forum'][5].'> #5</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="6" '.$checkwm['forum'][6].'> #6</td></tr><tr><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="7" '.$checkwm['forum'][7].'> #7</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="8" '.$checkwm['forum'][8].'> #8</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="9" '.$checkwm['forum'][9].'> #9</td></tr></table>');
|
showsetting('setting_imgwater_image_watermarkstatus', '', '', '<table style="margin-bottom: 3px; margin-top:3px;"><tr><td colspan="3"><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="0" '.$checkwm['forum'][0].'>'.$lang['setting_imgwater_image_watermarkstatus_none'].'</td></tr><tr><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="1" '.$checkwm['forum'][1].'> #1</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="2" '.$checkwm['forum'][2].'> #2</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="3" '.$checkwm['forum'][3].'> #3</td></tr><tr><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="4" '.$checkwm['forum'][4].'> #4</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="5" '.$checkwm['forum'][5].'> #5</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="6" '.$checkwm['forum'][6].'> #6</td></tr><tr><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="7" '.$checkwm['forum'][7].'> #7</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="8" '.$checkwm['forum'][8].'> #8</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][forum]" value="9" '.$checkwm['forum'][9].'> #9</td></tr></table>');
|
||||||
|
@ -2029,7 +2118,9 @@ EOT;
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
showsetting('setting_imgwater_preview', '', '', cplang('setting_imgwater_preview_forum'));
|
showsetting('setting_imgwater_preview', '', '', cplang('setting_imgwater_preview_forum'));
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"setting_imgwater":"action=setting&operation=imgwater","setting_imgwater_album":"action=setting&operation=imgwater&anchor=album"}*/
|
||||||
showtableheader('setting_imgwater_image_watermarks_album', '', 'id="album"'.($_GET['anchor'] != 'album' ? ' style="display: none"' : ''));
|
showtableheader('setting_imgwater_image_watermarks_album', '', 'id="album"'.($_GET['anchor'] != 'album' ? ' style="display: none"' : ''));
|
||||||
$fontlist['album'] = '<select name="settingnew[watermarktext][fontpath][album]">' . $fontlist['album'];
|
$fontlist['album'] = '<select name="settingnew[watermarktext][fontpath][album]">' . $fontlist['album'];
|
||||||
showsetting('setting_imgwater_image_watermarkstatus', '', '', '<table style="margin-bottom: 3px; margin-top:3px;"><tr><td colspan="3"><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="0" '.$checkwm['album'][0].'>'.$lang['setting_imgwater_image_watermarkstatus_none'].'</td></tr><tr><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="1" '.$checkwm['album'][1].'> #1</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="2" '.$checkwm['album'][2].'> #2</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="3" '.$checkwm['album'][3].'> #3</td></tr><tr><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="4" '.$checkwm['album'][4].'> #4</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="5" '.$checkwm['album'][5].'> #5</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="6" '.$checkwm['album'][6].'> #6</td></tr><tr><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="7" '.$checkwm['album'][7].'> #7</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="8" '.$checkwm['album'][8].'> #8</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="9" '.$checkwm['album'][9].'> #9</td></tr></table>');
|
showsetting('setting_imgwater_image_watermarkstatus', '', '', '<table style="margin-bottom: 3px; margin-top:3px;"><tr><td colspan="3"><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="0" '.$checkwm['album'][0].'>'.$lang['setting_imgwater_image_watermarkstatus_none'].'</td></tr><tr><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="1" '.$checkwm['album'][1].'> #1</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="2" '.$checkwm['album'][2].'> #2</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="3" '.$checkwm['album'][3].'> #3</td></tr><tr><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="4" '.$checkwm['album'][4].'> #4</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="5" '.$checkwm['album'][5].'> #5</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="6" '.$checkwm['album'][6].'> #6</td></tr><tr><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="7" '.$checkwm['album'][7].'> #7</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="8" '.$checkwm['album'][8].'> #8</td><td><input class="radio" type="radio" name="settingnew[watermarkstatus][album]" value="9" '.$checkwm['album'][9].'> #9</td></tr></table>');
|
||||||
|
@ -2057,9 +2148,11 @@ EOT;
|
||||||
showtagfooter('tbody');
|
showtagfooter('tbody');
|
||||||
showsetting('setting_imgwater_preview', '', '', cplang('setting_imgwater_preview_album'));
|
showsetting('setting_imgwater_preview', '', '', cplang('setting_imgwater_preview_album'));
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
showtableheader();
|
showtableheader();
|
||||||
} elseif($operation == 'search') {
|
} elseif($operation == 'search') {
|
||||||
|
|
||||||
|
/*search={"setting_search":"action=setting&operation=search"}*/
|
||||||
$setting['search'] = dunserialize($setting['search']);
|
$setting['search'] = dunserialize($setting['search']);
|
||||||
showtableheader('setting_search_status', 'fixpadding');
|
showtableheader('setting_search_status', 'fixpadding');
|
||||||
showsubtitle(array('setting_search_onoff', 'search_item_name', 'setting_serveropti_searchctrl', 'setting_serveropti_maxspm', 'setting_serveropti_maxsearchresults'));
|
showsubtitle(array('setting_search_onoff', 'search_item_name', 'setting_serveropti_searchctrl', 'setting_serveropti_maxspm', 'setting_serveropti_maxsearchresults'));
|
||||||
|
@ -2146,6 +2239,7 @@ EOT;
|
||||||
$selectspxrank .='</select>';
|
$selectspxrank .='</select>';
|
||||||
showsetting('settings_sphinx_sphinxrank', '', '', $selectspxrank);
|
showsetting('settings_sphinx_sphinxrank', '', '', $selectspxrank);
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
|
||||||
} elseif($operation == 'uc' && $isfounder) {
|
} elseif($operation == 'uc' && $isfounder) {
|
||||||
|
@ -2153,6 +2247,7 @@ EOT;
|
||||||
$disable = !is_writeable(DISCUZ_ROOT . './config/config_ucenter.php');
|
$disable = !is_writeable(DISCUZ_ROOT . './config/config_ucenter.php');
|
||||||
include DISCUZ_ROOT.'./config/config_ucenter.php';
|
include DISCUZ_ROOT.'./config/config_ucenter.php';
|
||||||
|
|
||||||
|
/*search={"setting_uc":"action=setting&operation=uc"}*/
|
||||||
showtips('setting_uc_tips');
|
showtips('setting_uc_tips');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showsetting('setting_uc_appid', 'settingnew[uc][appid]', UC_APPID, 'text', $disable);
|
showsetting('setting_uc_appid', 'settingnew[uc][appid]', UC_APPID, 'text', $disable);
|
||||||
|
@ -2180,18 +2275,22 @@ EOT;
|
||||||
array(0, $lang['setting_uc_avatarmethod_0']),
|
array(0, $lang['setting_uc_avatarmethod_0']),
|
||||||
array(1, $lang['setting_uc_avatarmethod_1']),
|
array(1, $lang['setting_uc_avatarmethod_1']),
|
||||||
)), $setting['avatarmethod'], 'mradio');
|
)), $setting['avatarmethod'], 'mradio');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} elseif($operation == 'ec') {
|
} elseif($operation == 'ec') {
|
||||||
|
|
||||||
|
/*search={"nav_ec":"action=setting&operation=ec","nav_ec_config":"action=setting&operation=ec"}*/
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtitle('setting_ec_credittrade');
|
showtitle('setting_ec_credittrade');
|
||||||
showsetting('setting_ec_ratio', 'settingnew[ec_ratio]', $setting['ec_ratio'], 'text');
|
showsetting('setting_ec_ratio', 'settingnew[ec_ratio]', $setting['ec_ratio'], 'text');
|
||||||
showsetting('setting_ec_mincredits', 'settingnew[ec_mincredits]', $setting['ec_mincredits'], 'text');
|
showsetting('setting_ec_mincredits', 'settingnew[ec_mincredits]', $setting['ec_mincredits'], 'text');
|
||||||
showsetting('setting_ec_maxcredits', 'settingnew[ec_maxcredits]', $setting['ec_maxcredits'], 'text');
|
showsetting('setting_ec_maxcredits', 'settingnew[ec_maxcredits]', $setting['ec_maxcredits'], 'text');
|
||||||
showsetting('setting_ec_maxcreditspermonth', 'settingnew[ec_maxcreditspermonth]', $setting['ec_maxcreditspermonth'], 'text');
|
showsetting('setting_ec_maxcreditspermonth', 'settingnew[ec_maxcreditspermonth]', $setting['ec_maxcreditspermonth'], 'text');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} elseif($operation == 'memory') {
|
} elseif($operation == 'memory') {
|
||||||
|
|
||||||
|
/*search={"setting_optimize":"action=setting&operation=seo","setting_memory":"action=setting&operation=memory"}*/
|
||||||
showtips('setting_memory_tips');
|
showtips('setting_memory_tips');
|
||||||
showtableheader('setting_memory_status', 'fixpadding');
|
showtableheader('setting_memory_status', 'fixpadding');
|
||||||
showsubtitle(array('setting_memory_state_interface', 'setting_memory_state_extension', 'setting_memory_state_config', 'setting_memory_clear', ''));
|
showsubtitle(array('setting_memory_state_interface', 'setting_memory_state_extension', 'setting_memory_state_config', 'setting_memory_clear', ''));
|
||||||
|
@ -2247,9 +2346,11 @@ EOT;
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} elseif($operation == 'memorydata') {
|
} elseif($operation == 'memorydata') {
|
||||||
|
|
||||||
|
/*search={"setting_optimize":"action=setting&operation=seo","setting_memorydata":"action=setting&operation=memorydata"}*/
|
||||||
$cache_keys = getmemorycachekeys();
|
$cache_keys = getmemorycachekeys();
|
||||||
if(submitcheck('memorydatasubmit')) {
|
if(submitcheck('memorydatasubmit')) {
|
||||||
$flag = 0;
|
$flag = 0;
|
||||||
|
@ -2299,11 +2400,13 @@ EOT;
|
||||||
showsubmit('memorydatasubmit');
|
showsubmit('memorydatasubmit');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
showformfooter();
|
showformfooter();
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
} elseif($operation == 'ranklist') {
|
} elseif($operation == 'ranklist') {
|
||||||
|
|
||||||
|
/*search={"setting_ranklist":"action=setting&operation=ranklist"}*/
|
||||||
$setting['ranklist'] = dunserialize($setting['ranklist']);
|
$setting['ranklist'] = dunserialize($setting['ranklist']);
|
||||||
showtableheader('', 'nobottom', 'id="all"');
|
showtableheader('', 'nobottom', 'id="all"');
|
||||||
showsetting('setting_ranklist_status', 'settingnew[ranklist][status]', $setting['ranklist']['status'], 'radio');
|
showsetting('setting_ranklist_status', 'settingnew[ranklist][status]', $setting['ranklist']['status'], 'radio');
|
||||||
|
@ -2348,11 +2451,13 @@ EOT;
|
||||||
showhiddenfields(array('updateranklistcache' => 0));
|
showhiddenfields(array('updateranklistcache' => 0));
|
||||||
showsubmit('', '', '<input type="submit" class="btn" name="settingsubmit" value="'.cplang('setting_ranklist_update_cache').'" onclick="this.form.updateranklistcache.value=1">');
|
showsubmit('', '', '<input type="submit" class="btn" name="settingsubmit" value="'.cplang('setting_ranklist_update_cache').'" onclick="this.form.updateranklistcache.value=1">');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showformfooter();
|
showformfooter();
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
} elseif ($operation == 'mobile'){
|
} elseif ($operation == 'mobile'){
|
||||||
|
/*search={"setting_mobile":"action=setting&operation=mobile"}*/
|
||||||
$setting['mobile'] = dunserialize($setting['mobile']);
|
$setting['mobile'] = dunserialize($setting['mobile']);
|
||||||
showtips('setting_mobile_status_tips');
|
showtips('setting_mobile_status_tips');
|
||||||
showtableheader('setting_mobile_status', '', 'id="status"'.($_GET['anchor'] != 'status' ? ' style="display: none"' : ''));
|
showtableheader('setting_mobile_status', '', 'id="status"'.($_GET['anchor'] != 'status' ? ' style="display: none"' : ''));
|
||||||
|
@ -2380,6 +2485,7 @@ EOT;
|
||||||
showsubmit('settingsubmit');
|
showsubmit('settingsubmit');
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
|
/*search*/
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
} elseif ($operation == 'antitheft'){
|
} elseif ($operation == 'antitheft'){
|
||||||
|
|
|
@ -50,7 +50,9 @@ if(!submitcheck('sharesubmit')) {
|
||||||
array('share_search', !$searchsubmit),
|
array('share_search', !$searchsubmit),
|
||||||
array('nav_share', $searchsubmit)
|
array('nav_share', $searchsubmit)
|
||||||
));
|
));
|
||||||
|
/*search={"nav_share":"action=share"}*/
|
||||||
showtips('share_tips');
|
showtips('share_tips');
|
||||||
|
/*search*/
|
||||||
echo <<<EOT
|
echo <<<EOT
|
||||||
<script type="text/javascript" src="static/js/calendar.js"></script>
|
<script type="text/javascript" src="static/js/calendar.js"></script>
|
||||||
<script type="text/JavaScript">
|
<script type="text/JavaScript">
|
||||||
|
@ -61,6 +63,7 @@ function page(number) {
|
||||||
</script>
|
</script>
|
||||||
EOT;
|
EOT;
|
||||||
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
showtagheader('div', 'searchposts', !$searchsubmit && empty($newlist));
|
||||||
|
/*search={"nav_share":"action=share","search":"action=share&search=true"}*/
|
||||||
showformheader("share".(!empty($_GET['search']) ? '&search=true' : ''), '', 'shareforum');
|
showformheader("share".(!empty($_GET['search']) ? '&search=true' : ''), '', 'shareforum');
|
||||||
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -81,6 +84,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$sids = authcode($sids, 'DECODE');
|
$sids = authcode($sids, 'DECODE');
|
||||||
|
|
|
@ -40,7 +40,9 @@ if(!$operation) {
|
||||||
array('smilies_type', 'smilies', 1),
|
array('smilies_type', 'smilies', 1),
|
||||||
array('smilies_import', 'smilies&operation=import', 0),
|
array('smilies_import', 'smilies&operation=import', 0),
|
||||||
));
|
));
|
||||||
|
/*search={"nav_smilies":"action=smilies","smilies_type":"action=smilies"}*/
|
||||||
showtips('smilies_tips_smileytypes');
|
showtips('smilies_tips_smileytypes');
|
||||||
|
/*search*/
|
||||||
showformheader('smilies');
|
showformheader('smilies');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showsubtitle(array('', 'display_order', 'enable', 'smilies_type', 'dir', 'smilies_nums', ''));
|
showsubtitle(array('', 'display_order', 'enable', 'smilies_type', 'dir', 'smilies_nums', ''));
|
||||||
|
@ -387,7 +389,9 @@ EOT;
|
||||||
array('smilies_type', 'smilies', 0),
|
array('smilies_type', 'smilies', 0),
|
||||||
array('smilies_import', 'smilies&operation=import', 1),
|
array('smilies_import', 'smilies&operation=import', 1),
|
||||||
));
|
));
|
||||||
|
/*search={"nav_smilies":"action=smilies","smilies_import":"action=smilies&operation=import"}*/
|
||||||
showtips('smilies_tips');
|
showtips('smilies_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('smilies&operation=import', 'enctype');
|
showformheader('smilies&operation=import', 'enctype');
|
||||||
showtableheader('smilies_import');
|
showtableheader('smilies_import');
|
||||||
showimportdata();
|
showimportdata();
|
||||||
|
|
|
@ -221,7 +221,9 @@ if($operation == 'admin') {
|
||||||
array('import', 'styles&operation=import', '0'),
|
array('import', 'styles&operation=import', '0'),
|
||||||
array('cloudaddons_style_link', 'cloudaddons')
|
array('cloudaddons_style_link', 'cloudaddons')
|
||||||
), '<a href="'.ADMINSCRIPT.'?action=styles&operation=upgradecheck" class="bold" style="float:right;padding-right:40px;">'.$lang['plugins_validator'].'</a>');
|
), '<a href="'.ADMINSCRIPT.'?action=styles&operation=upgradecheck" class="bold" style="float:right;padding-right:40px;">'.$lang['plugins_validator'].'</a>');
|
||||||
|
/*search={"styles_admin":"action=styles"}*/
|
||||||
showtips('styles_admin_tips');
|
showtips('styles_admin_tips');
|
||||||
|
/*search*/
|
||||||
showformheader('styles');
|
showformheader('styles');
|
||||||
showhiddenfields(array('updatecsscache' => 0));
|
showhiddenfields(array('updatecsscache' => 0));
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
|
|
@ -16,6 +16,7 @@ shownav('global', 'tag');
|
||||||
showsubmenu('tag', array(
|
showsubmenu('tag', array(
|
||||||
array('search', 'tag&operation=admin', $current['admin']),
|
array('search', 'tag&operation=admin', $current['admin']),
|
||||||
));
|
));
|
||||||
|
/*search={"tag":"action=tag"}*/
|
||||||
if($operation == 'admin') {
|
if($operation == 'admin') {
|
||||||
$tagarray = array();
|
$tagarray = array();
|
||||||
if(submitcheck('submit') && !empty($_GET['tagidarray']) && is_array($_GET['tagidarray']) && !empty($_GET['operate_type'])) {
|
if(submitcheck('submit') && !empty($_GET['tagidarray']) && is_array($_GET['tagidarray']) && !empty($_GET['operate_type'])) {
|
||||||
|
@ -92,4 +93,5 @@ if($operation == 'admin') {
|
||||||
showformfooter();
|
showformfooter();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*search*/
|
||||||
?>
|
?>
|
|
@ -74,10 +74,13 @@ EOT;
|
||||||
array('threads_search', !$_GET['searchsubmit']),
|
array('threads_search', !$_GET['searchsubmit']),
|
||||||
array('nav_maint_threads', $_GET['searchsubmit'])
|
array('nav_maint_threads', $_GET['searchsubmit'])
|
||||||
));
|
));
|
||||||
|
/*search={"nav_maint_threads":"action=threads","newlist":"action=threads"}*/
|
||||||
if(empty($newlist)) {
|
if(empty($newlist)) {
|
||||||
$search_tips = 1;
|
$search_tips = 1;
|
||||||
showtips('threads_tips');
|
showtips('threads_tips');
|
||||||
}
|
}
|
||||||
|
/*search*/
|
||||||
|
/*search={"nav_maint_threads":"action=threads","search":"action=threads&search=true"}*/
|
||||||
showtagheader('div', 'threadsearch', !submitcheck('searchsubmit', 1) && empty($newlist));
|
showtagheader('div', 'threadsearch', !submitcheck('searchsubmit', 1) && empty($newlist));
|
||||||
showformheader('threads'.($operation ? '&operation='.$operation : ''), '', 'threadforum');
|
showformheader('threads'.($operation ? '&operation='.$operation : ''), '', 'threadforum');
|
||||||
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
showhiddenfields(array('page' => $page, 'pp' => $_GET['pp'] ? $_GET['pp'] : $_GET['perpage']));
|
||||||
|
@ -149,6 +152,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
if(submitcheck('searchsubmit', 1) || $newlist) {
|
if(submitcheck('searchsubmit', 1) || $newlist) {
|
||||||
$operation == 'group' && $_GET['inforum'] = 'isgroup';
|
$operation == 'group' && $_GET['inforum'] = 'isgroup';
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@ if($operation == 'manage') {
|
||||||
array('nav_threadsplit_manage', 'threadsplit&operation=manage', 1),
|
array('nav_threadsplit_manage', 'threadsplit&operation=manage', 1),
|
||||||
array('nav_threadsplit_move', 'threadsplit&operation=move', 0),
|
array('nav_threadsplit_move', 'threadsplit&operation=move', 0),
|
||||||
));
|
));
|
||||||
|
/*search={"nav_threadsplit":"action=threadsplit","nav_threadsplit_manage":"action=threadsplit&operation=manage"}*/
|
||||||
showtips('threadsplit_manage_tips');
|
showtips('threadsplit_manage_tips');
|
||||||
showformheader('threadsplit&operation=manage');
|
showformheader('threadsplit&operation=manage');
|
||||||
showtableheader('threadsplit_manage_table_orig');
|
showtableheader('threadsplit_manage_table_orig');
|
||||||
|
@ -52,6 +53,7 @@ if($operation == 'manage') {
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showsubmit('threadsplit_update_submit', 'threadsplit_manage_update', '', '<a href="?action=threadsplit&operation=addnewtable" style="border-style: solid; border-width: 1px;" class="btn">'.$lang['threadsplit_manage_table_add'].'</a> <a href="?action=threadsplit&operation=forumarchive" style="border-style: solid; border-width: 1px;" class="btn">'.$lang['threadsplit_manage_forum_update'].'</a>');
|
showsubmit('threadsplit_update_submit', 'threadsplit_manage_update', '', '<a href="?action=threadsplit&operation=addnewtable" style="border-style: solid; border-width: 1px;" class="btn">'.$lang['threadsplit_manage_table_add'].'</a> <a href="?action=threadsplit&operation=forumarchive" style="border-style: solid; border-width: 1px;" class="btn">'.$lang['threadsplit_manage_forum_update'].'</a>');
|
||||||
showformfooter();
|
showformfooter();
|
||||||
|
/*search*/
|
||||||
} else {
|
} else {
|
||||||
$threadtable_info = array();
|
$threadtable_info = array();
|
||||||
$_GET['memo'] = !empty($_GET['memo']) ? $_GET['memo'] : array();
|
$_GET['memo'] = !empty($_GET['memo']) ? $_GET['memo'] : array();
|
||||||
|
@ -151,6 +153,7 @@ EOT;
|
||||||
array('nav_threadsplit_manage', 'threadsplit&operation=manage', 0),
|
array('nav_threadsplit_manage', 'threadsplit&operation=manage', 0),
|
||||||
array('nav_threadsplit_move', 'threadsplit&operation=move', 1),
|
array('nav_threadsplit_move', 'threadsplit&operation=move', 1),
|
||||||
));
|
));
|
||||||
|
/*search={"nav_threadsplit":"action=threadsplit","nav_threadsplit_move":"action=threadsplit&operation=move"}*/
|
||||||
showtips('threadsplit_move_tips');
|
showtips('threadsplit_move_tips');
|
||||||
showtagheader('div', 'threadsearch', !submitcheck('threadsplit_move_search'));
|
showtagheader('div', 'threadsearch', !submitcheck('threadsplit_move_search'));
|
||||||
showformheader('threadsplit&operation=move', '', 'threadform');
|
showformheader('threadsplit&operation=move', '', 'threadform');
|
||||||
|
@ -323,6 +326,7 @@ EOT;
|
||||||
}
|
}
|
||||||
showformfooter();
|
showformfooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -23,7 +23,9 @@ if($operation == 'updatecache') {
|
||||||
array('nav_updatecache_completed', $step == 3)
|
array('nav_updatecache_completed', $step == 3)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
/*search={"nav_updatecache":"action=tools&operation=updatecache"}*/
|
||||||
showtips('tools_updatecache_tips');
|
showtips('tools_updatecache_tips');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
if($step == 1) {
|
if($step == 1) {
|
||||||
cpmsg("<input type=\"checkbox\" name=\"type[]\" value=\"data\" id=\"datacache\" class=\"checkbox\" checked /><label for=\"datacache\">".$lang[tools_updatecache_data]."</label><input type=\"checkbox\" name=\"type[]\" value=\"tpl\" id=\"tplcache\" class=\"checkbox\" checked /><label for=\"tplcache\">".$lang[tools_updatecache_tpl]."</label><input type=\"checkbox\" name=\"type[]\" value=\"blockclass\" id=\"blockclasscache\" class=\"checkbox\" /><label for=\"blockclasscache\">".$lang[tools_updatecache_blockclass].'</label>', 'action=tools&operation=updatecache&step=2', 'form', '', FALSE);
|
cpmsg("<input type=\"checkbox\" name=\"type[]\" value=\"data\" id=\"datacache\" class=\"checkbox\" checked /><label for=\"datacache\">".$lang[tools_updatecache_data]."</label><input type=\"checkbox\" name=\"type[]\" value=\"tpl\" id=\"tplcache\" class=\"checkbox\" checked /><label for=\"tplcache\">".$lang[tools_updatecache_tpl]."</label><input type=\"checkbox\" name=\"type[]\" value=\"blockclass\" id=\"blockclasscache\" class=\"checkbox\" /><label for=\"blockclasscache\">".$lang[tools_updatecache_blockclass].'</label>', 'action=tools&operation=updatecache&step=2', 'form', '', FALSE);
|
||||||
|
|
|
@ -115,7 +115,9 @@ EOT;
|
||||||
array('usergroups_special', 'specialgroups', $_GET['type'] == 'special'),
|
array('usergroups_special', 'specialgroups', $_GET['type'] == 'special'),
|
||||||
array('usergroups_system', 'systemgroups', $_GET['type'] == 'system')
|
array('usergroups_system', 'systemgroups', $_GET['type'] == 'system')
|
||||||
));
|
));
|
||||||
|
/*search={"nav_usergroups":"action=usergroups"}*/
|
||||||
showtips('usergroups_tips');
|
showtips('usergroups_tips');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
showformheader('usergroups&type=member');
|
showformheader('usergroups&type=member');
|
||||||
showtableheader('usergroups_member', 'fixpadding', 'id="membergroups"'.($_GET['type'] && $_GET['type'] != 'member' ? ' style="display: none"' : ''));
|
showtableheader('usergroups_member', 'fixpadding', 'id="membergroups"'.($_GET['type'] && $_GET['type'] != 'member' ? ' style="display: none"' : ''));
|
||||||
|
@ -526,6 +528,7 @@ EOT;
|
||||||
$mgids[] = $gid;
|
$mgids[] = $gid;
|
||||||
|
|
||||||
if(!$multiset && $group['type'] == 'special' && $group['radminid'] < 1) {
|
if(!$multiset && $group['type'] == 'special' && $group['radminid'] < 1) {
|
||||||
|
/*search={"nav_usergroups":"action=usergroups","usergroups_edit_basic":"action=usergroups&operation=edit&anchor=system"}*/
|
||||||
showtagheader('div', 'system', $anchor == 'system');
|
showtagheader('div', 'system', $anchor == 'system');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
if($group['system'] == 'private') {
|
if($group['system'] == 'private') {
|
||||||
|
@ -539,8 +542,10 @@ EOT;
|
||||||
showsetting('usergroups_edit_system_minspan', 'system_minspannew', $system['minspan'], 'text');
|
showsetting('usergroups_edit_system_minspan', 'system_minspannew', $system['minspan'], 'text');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*search={"nav_usergroups":"action=usergroups","usergroups_edit_basic":"action=usergroups&operation=edit&anchor=basic"}*/
|
||||||
showmultititle();
|
showmultititle();
|
||||||
showtagheader('div', 'basic', $anchor == 'basic');
|
showtagheader('div', 'basic', $anchor == 'basic');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
|
@ -623,7 +628,9 @@ EOT;
|
||||||
showsetting('usergroups_edit_basic_close_ad', 'closeadnew', $group['closead'], 'radio');
|
showsetting('usergroups_edit_basic_close_ad', 'closeadnew', $group['closead'], 'radio');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"nav_usergroups":"action=usergroups","usergroups_edit_special":"action=usergroups&operation=edit&anchor=special"}*/
|
||||||
showtagheader('div', 'special', $anchor == 'special');
|
showtagheader('div', 'special', $anchor == 'special');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtitle('usergroups_edit_special');
|
showtitle('usergroups_edit_special');
|
||||||
|
@ -648,7 +655,9 @@ EOT;
|
||||||
}
|
}
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"nav_usergroups":"action=usergroups","usergroups_edit_post":"action=usergroups&operation=edit&anchor=post"}*/
|
||||||
showtagheader('div', 'post', $anchor == 'post');
|
showtagheader('div', 'post', $anchor == 'post');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtitle('usergroups_edit_post');
|
showtitle('usergroups_edit_post');
|
||||||
|
@ -707,7 +716,9 @@ EOT;
|
||||||
showsetting('usergroups_edit_attach_ext', 'attachextensionsnew', $group['attachextensions'], 'text');
|
showsetting('usergroups_edit_attach_ext', 'attachextensionsnew', $group['attachextensions'], 'text');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"nav_usergroups":"action=usergroups","usergroups_edit_magic":"action=usergroups&operation=edit&anchor=magic"}*/
|
||||||
showtagheader('div', 'magic', $anchor == 'magic');
|
showtagheader('div', 'magic', $anchor == 'magic');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtitle('usergroups_edit_magic');
|
showtitle('usergroups_edit_magic');
|
||||||
|
@ -720,7 +731,9 @@ EOT;
|
||||||
showsetting('usergroups_edit_magic_max', 'maxmagicsweightnew', $group['maxmagicsweight'], 'text');
|
showsetting('usergroups_edit_magic_max', 'maxmagicsweightnew', $group['maxmagicsweight'], 'text');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"nav_usergroups":"action=usergroups","usergroups_edit_invite":"action=usergroups&operation=edit&anchor=invite"}*/
|
||||||
showtagheader('div', 'invite', $anchor == 'invite');
|
showtagheader('div', 'invite', $anchor == 'invite');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtitle('usergroups_edit_invite');
|
showtitle('usergroups_edit_invite');
|
||||||
|
@ -731,6 +744,7 @@ EOT;
|
||||||
showsetting('usergroups_edit_invite_maxinviteday', 'maxinvitedaynew', $group['maxinviteday'], 'text');
|
showsetting('usergroups_edit_invite_maxinviteday', 'maxinvitedaynew', $group['maxinviteday'], 'text');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
$raterangearray = array();
|
$raterangearray = array();
|
||||||
foreach(explode("\n", $group['raterange']) as $range) {
|
foreach(explode("\n", $group['raterange']) as $range) {
|
||||||
|
@ -765,6 +779,7 @@ EOT;
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
} else {
|
} else {
|
||||||
|
/*search={"nav_usergroups":"action=usergroups","usergroups_edit_credit":"action=usergroups&operation=edit&anchor=credit"}*/
|
||||||
showtagheader('div', 'credit', $anchor == 'credit');
|
showtagheader('div', 'credit', $anchor == 'credit');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtitle('usergroups_edit_credit');
|
showtitle('usergroups_edit_credit');
|
||||||
|
@ -822,8 +837,10 @@ EOT;
|
||||||
echo '<tr><td class="lineheight" colspan="9">'.$lang['usergroups_edit_credit_rate_tips'].'</td></tr>';
|
echo '<tr><td class="lineheight" colspan="9">'.$lang['usergroups_edit_credit_rate_tips'].'</td></tr>';
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*search={"nav_usergroups":"action=usergroups","usergroups_edit_home":"action=usergroups&operation=edit&anchor=home"}*/
|
||||||
showtagheader('div', 'home', $anchor == 'home');
|
showtagheader('div', 'home', $anchor == 'home');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtitle('usergroups_edit_home');
|
showtitle('usergroups_edit_home');
|
||||||
|
@ -853,7 +870,9 @@ EOT;
|
||||||
showsetting('usergroups_edit_home_allow_space_diy_imgcode', 'allowspacediyimgcodenew', $group['allowspacediyimgcode'], 'radio');
|
showsetting('usergroups_edit_home_allow_space_diy_imgcode', 'allowspacediyimgcodenew', $group['allowspacediyimgcode'], 'radio');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"nav_usergroups":"action=usergroups","usergroups_edit_group":"action=usergroups&operation=edit&anchor=group"}*/
|
||||||
showtagheader('div', 'group', $anchor == 'group');
|
showtagheader('div', 'group', $anchor == 'group');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtitle('usergroups_edit_group');
|
showtitle('usergroups_edit_group');
|
||||||
|
@ -873,7 +892,9 @@ EOT;
|
||||||
)), $group['allowgroupposturl'], 'mradio');
|
)), $group['allowgroupposturl'], 'mradio');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
|
/*search={"nav_usergroups":"action=usergroups","usergroups_edit_portal":"action=usergroups&operation=edit&anchor=portal"}*/
|
||||||
showtagheader('div', 'portal', $anchor == 'portal');
|
showtagheader('div', 'portal', $anchor == 'portal');
|
||||||
showtableheader();
|
showtableheader();
|
||||||
showtitle('usergroups_edit_portal');
|
showtitle('usergroups_edit_portal');
|
||||||
|
@ -883,6 +904,7 @@ EOT;
|
||||||
showsetting('usergroups_edit_portal_allow_post_article_moderate', 'allowpostarticlemodnew', $group['allowpostarticlemod'], 'radio');
|
showsetting('usergroups_edit_portal_allow_post_article_moderate', 'allowpostarticlemodnew', $group['allowpostarticlemod'], 'radio');
|
||||||
showtablefooter();
|
showtablefooter();
|
||||||
showtagfooter('div');
|
showtagfooter('div');
|
||||||
|
/*search*/
|
||||||
|
|
||||||
if($pluginsetting) {
|
if($pluginsetting) {
|
||||||
showtagheader('div', 'plugin', $anchor == 'plugin');
|
showtagheader('div', 'plugin', $anchor == 'plugin');
|
||||||
|
|
|
@ -13,6 +13,7 @@ cpheader();
|
||||||
shownav('user', 'usertag');
|
shownav('user', 'usertag');
|
||||||
$lpp = empty($_GET['lpp']) ? 20 : $_GET['lpp'];
|
$lpp = empty($_GET['lpp']) ? 20 : $_GET['lpp'];
|
||||||
$start = ($page - 1) * $lpp;
|
$start = ($page - 1) * $lpp;
|
||||||
|
/*search={"usertag":"action=usertag"}*/
|
||||||
if($operation == '') {
|
if($operation == '') {
|
||||||
if($_GET['srchname']) {
|
if($_GET['srchname']) {
|
||||||
$addurl = '&srchname='.$_GET['srchname'];
|
$addurl = '&srchname='.$_GET['srchname'];
|
||||||
|
@ -104,4 +105,5 @@ if($operation == '') {
|
||||||
showsubmit('submit', 'submit');
|
showsubmit('submit', 'submit');
|
||||||
showformfooter();
|
showformfooter();
|
||||||
}
|
}
|
||||||
|
/*search*/
|
||||||
?>
|
?>
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue