[外掛]Split topic type (公告置頂分區)

Officially Approved MODs
由 phpBB Group 官方發展小組認證的 MOD!

版主: 版主管理群

版面規則
請注意!只有發表在 [2.0.x] MOD Database Releases 的外掛,才算是官方認證的外掛。
主題已鎖定
依夢兒
竹貓忠實會員
竹貓忠實會員
文章: 2013
註冊時間: 2002-11-20 00:07

[外掛]Split topic type (公告置頂分區)

文章 依夢兒 »

介紹:
本外掛的作用是將版面上公告、置頂、一般三種類型的主題分隔開來,讓版面看起來更有條理。
您可以進入系統管理控制台的基本組態設定分隔與否以及樣式。

如果不懂我說的意思,看一下 DEMO 就可以知道效果如何了:
http://rpgnet.clanmckeen.com/demo/viewforum.php?f=19

Split topic type 作者為 Ptirhiik 。
目前最新版本為 2.0.1 ,經測試相容於 phpBB 2.0.6 / 2.0.5 / 2.0.4 / 2.0.3 。


檔頭:

代碼: 選擇全部

##############################################################
## MOD Title: Split topic type
## MOD Author: Ptirhiik < admin@rpgnet-fr.com > (Pierre) http://rpgnet.clanmckeen.com
## MOD Description:
##		This mod splits the topic per type in the viewform display
##
## MOD Version: 2.0.1
##
## Installation Level: Moderate
## Installation Time: 10 Minutes
## Files To Edit:
##		viewforum.php
##		includes/functions.php
##		templates/subSilver/subSilver.cfg
##		templates/subSilver/viewforum_body.tpl
##
## Included Files:
##		mod_split_topic_type.php
##		lang_extend_split_topic_type.php
##
##		--- lang settings ---
##		mod-lang_settings/lang_extend_mac.php
##
##		--- mods settings ---
##		mod-mods_settings/admin_board_extend.php
##		mod-mods_settings/functions_mods_settings.php
##		mod-mods_settings/lang_extend_mods_settings.php
##		mod-mods_settings/board_config_extend_body.tpl
##
##		--- topics list ---
##		mod-topics_list/functions_topics_list.php
##		mod-topics_list/topics_list_box.tpl
##		mod-topics_list/graph.gif/folder_announce_own.gif
##		mod-topics_list/graph.gif/folder_announce_new_own.gif
##		mod-topics_list/graph.gif/folder_own.gif
##		mod-topics_list/graph.gif/folder_new_own.gif
##		mod-topics_list/graph.gif/folder_hot_own.gif
##		mod-topics_list/graph.gif/folder_new_hot_own.gif
##		mod-topics_list/graph.gif/folder_lock_own.gif
##		mod-topics_list/graph.gif/folder_lock_new_own.gif
##		mod-topics_list/graph.gif/folder_sticky_own.gif
##		mod-topics_list/graph.gif/folder_sticky_new_own.gif
##
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##	o users can choose their prefered setup (required full mods settings mod to be installed).
##		Admin can also choose to override the users choice for each setup parameter.
##
##############################################################
## MOD History:
##
##   2003-10-21 - Version 2.0.1
##	- add the lang_settings tool
##	- upgrade the mods_settings tool
##
##   2003-09-09 - Version 2.0.0
##      - use of the functions_topics_list
##	- use the mods_settings for user preferences
##
##   2003-07-13 - Version 1.0.5
##      - allow to split the topic in boxes
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
下載:
phpBB 官方發佈:http://www.phpbb.com/phpBB/viewtopic.php?t=121860
作者網站發佈,版本較新:http://rpgnet.clanmckeen.com/demo/viewtopic.php?t=41


安裝:
請參考 MOD-split_topic_type.txt 。
最後由 依夢兒 於 2003-11-21 15:28 編輯,總共編輯了 4 次。
有任何關於 phpBB 或是架站的問題,請在論壇上公開發表出來,大家一起討論。
請不要丟私人訊息問我,因為私訊是用來聊私事的。
這樣作對於解決您的問題一點幫助也沒有,也很沒有效率,小弟我一概謝絕。



搜尋是一種美德,在發問之前,請多加利用頂端的文章搜尋功能,搜尋可能的關鍵字。
確定您想問的問題找不到答案後,再發問。
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8510
註冊時間: 2004-04-30 01:54
來自: Taiwan

[建議] 安裝 1.0.5 版即可

文章 心靈捕手 »

依個人安裝經驗,
因為 2.0.1 版, 對其他外掛的相容性不高,
所以安裝 1.0.5 版即可.

檔頭說明:

代碼: 選擇全部

############################################################## 
## MOD Title: Split topic type
## MOD Author: Ptirhiik < admin@rpgnet-fr.com > (Pierre) http://www.rpgnet-fr.com
## MOD Description:
##		This mod splits the topic per type in the viewform display
## MOD Version: 1.0.5
## 
## Installation Level: Easy
## Installation Time: 10 Minutes
## Files To Edit:
##		viewforum.php
##		admin/admin_board.php
##		includes/page_header.php
##		language/lang_english/lang_admin.php
##		templates/subSilver/viewforum_body.tpl
##		templates/subSilver/admin/board_config_body.tpl
## Included Files: n/a
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: 
## 
############################################################## 
## MOD History: 
## 
##   2003-07-13 - Version 1.0.5
##      - allow to split the topic in boxes
## 
############################################################## 
官方網址:
http://www.phpbb.com/phpBB/viewtopic.php?t=121860

中文化參考:

代碼: 選擇全部

#
#-----[ OPEN ]------------------------------------------------
#
language/lang_chinese_traditional_taiwan/lang_admin.php

#
#-----[ FIND ]------------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : split topic type ----------------------------------
//-- add
$lang['Announce_settings'] = '版面分割設定';
$lang['split_global_announce'] = '分割全區公告';
$lang['split_announce'] = '分割公告';
$lang['split_sticky'] = '分割置頂';
$lang['split_topic_split'] = '分割成不同的區塊';
//-- fin mod : split topic type 
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8510
註冊時間: 2004-04-30 01:54
來自: Taiwan

Re: [外掛]Split topic type (公告置頂分區)

文章 心靈捕手 »

因為這支外掛已經被官方外掛資料庫移除, 所以不建議網友們安裝.

如果網友們真有需要的話, 那麼還是可以自 竹貓 下載.
但是, 由於風格樣板上的差異, 可能帶來安裝失敗;
安裝前, 請務必做好備份.


ps.
1. 目前, 竹貓新主機 '上傳檔案' 不順. 請稍候! :oops:
2. 因為 1.0.5 版不需要上傳任何附加檔案, 所以我直接將 '安裝說明' 轉貼上來.

代碼: 選擇全部

############################################################## 
## MOD Title: Split topic type
## MOD Author: Ptirhiik < admin@rpgnet-fr.com > (Pierre) http://www.rpgnet-fr.com
## MOD Description:
##		This mod splits the topic per type in the viewform display
## MOD Version: 1.0.5
## 
## Installation Level: Easy
## Installation Time: 10 Minutes
## Files To Edit:
##		viewforum.php
##		admin/admin_board.php
##		includes/page_header.php
##		language/lang_english/lang_admin.php
##		templates/subSilver/viewforum_body.tpl
##		templates/subSilver/admin/board_config_body.tpl
## Included Files: n/a
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: 
## 
############################################################## 
## MOD History: 
## 
##   2003-07-13 - Version 1.0.5
##      - allow to split the topic in boxes
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
viewforum.php
#
#-----[ FIND ]------------------------------------------------
#
if( $total_topics )
{
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : split topic type ------------------------------------------------------------------------
//-- add
	$prec_topic_real_type = -1;
//-- fin mod : split topic type --------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
		$template->assign_block_vars('topicrow', array(
#
#-----[ REPLACE WITH ]---------------------------------------- 
#
//-- mod : split topic type ------------------------------------------------------------------------
//-- delete
//		$template->assign_block_vars('topicrow', array(
//-- add
		$topic_real_type = $topic_rowset[$i]['topic_type'];

		// if no split between global and standard announcement, group them with standard announcement
		if ( (!$switch_split_global_announce) && ($topic_real_type == POST_GLOBAL_ANNOUNCE) ) $topic_real_type = POST_ANNOUNCE;

		// if no split between announce and sticky, group them with sticky
		if ( (!$switch_split_announce) && ($topic_real_type == POST_ANNOUNCE) ) $topic_real_type = POST_STICKY;

		// if no split between sticky and normal, group them with normal
		if ( (!$switch_split_sticky) && ($topic_real_type == POST_STICKY) ) $topic_real_type = POST_NORMAL;

		// send to screen
		$is_rupt = false;
		if ( $prec_topic_real_type != $topic_real_type || ($i == 0))
		{
			// prec rupture : close tables
			if ($i != 0)
			{
				if ($split_topic_split)
				{
					$template->assign_block_vars('row', array());
					$template->assign_block_vars('row.footer_table', array());
					$template->assign_block_vars('row.footer_table.space', array());
				}
			}

			$is_rupt = true;
			$title = '';
			switch ($topic_real_type)
			{
				case POST_GLOBAL_ANNOUNCE:
					$title = $lang['Post_global_announcement'];
					break;
				case POST_ANNOUNCE:
					$title = $lang['Post_Announcement'];
					break;

				case POST_STICKY:
					$title = $lang['Post_Sticky'];
					break;

				case POST_NORMAL:
					$title = $lang['Topics'];
					break;

				default:
					$title = '???';
					break;
			}

			// rupture
			if (($i == 0) || $split_topic_split)
			{
				$template->assign_block_vars('row', array());
				$template->assign_block_vars('row.header_table', array(
					'TITLE' => ($split_topic_split) ? $title : $lang['Topics'],
					)
				);
			}
			if (!$split_topic_split)
			{
				$template->assign_block_vars('row', array());
				$template->assign_block_vars('row.header_row', array(
					'TITLE' => $title,
					)
				);
			}
		}
		$prec_topic_real_type = $topic_real_type;

		$template->assign_block_vars('row', array());
		$template->assign_block_vars('row.topicrow', array(
//-- fin mod : split topic type --------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
			'U_VIEW_TOPIC' => $view_topic_url)
		);
	}
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : split topic type ------------------------------------------------------------------------
//-- add
	$template->assign_block_vars('row', array());
	$template->assign_block_vars('row.footer', array());

	$template->assign_block_vars('row', array());
	$template->assign_block_vars('row.footer_table', array());
//-- fin mod : split topic type --------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
	$no_topics_msg = ( $forum_row['forum_status'] == FORUM_LOCKED ) ? $lang['Forum_locked'] : $lang['No_topics_post_one'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : split topic type ------------------------------------------------------------------------
//-- add
	$template->assign_block_vars('row', array());
	$template->assign_block_vars('row.header_table', array(
		'TITLE' => $lang['Topics'],
		)
	);
	$template->assign_block_vars('row', array());
	$template->assign_block_vars('row.switch_no_topics', array());
	$template->assign_block_vars('row', array());
	$template->assign_block_vars('row.footer', array());
	$template->assign_block_vars('row', array());
	$template->assign_block_vars('row.footer_table', array());
//-- fin mod : split topic type --------------------------------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
admin/admin_board.php
#
#-----[ FIND ]------------------------------------------------
#
$smtp_no = ( !$new['smtp_delivery'] ) ? "checked=\"checked\"" : "";
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : split topic type ------------------------------------------------------------------------
//-- add
if ( isset($lang['Post_global_announcement']) )
{
	$split_global_announce_yes = ( $new['split_global_announce'] ) ? 'checked="checked"' : '';
	$split_global_announce_no  = (!$new['split_global_announce'] ) ? 'checked="checked"' : '';
}
$split_announce_yes		= ( $new['split_announce'] ) ? 'checked="checked"' : '';
$split_announce_no		= (!$new['split_announce'] ) ? 'checked="checked"' : '';
$split_sticky_yes		= ( $new['split_sticky'] )   ? 'checked="checked"' : '';
$split_sticky_no		= (!$new['split_sticky'] )   ? 'checked="checked"' : '';
$split_topic_split_yes	= ( $new['split_topic_split'] ) ? 'checked="checked"' : '';
$split_topic_split_no	= (!$new['split_topic_split'] ) ? 'checked="checked"' : '';
//-- fin mod : split topic type --------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
$template->assign_vars(array(
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : split topic type ------------------------------------------------------------------------
//-- add
	'L_ANNOUNCEMENT_SETTINGS'	=> $lang['Announce_settings'],
	'L_SPLIT_GLOBAL_ANNOUNCE'	=> $lang['split_global_announce'],
	'L_SPLIT_ANNOUNCE'			=> $lang['split_announce'],
	'L_SPLIT_STICKY'			=> $lang['split_sticky'],
	'L_SPLIT_TOPIC_SPLIT'		=> $lang['split_topic_split'],
	'SPLIT_GLOBAL_ANNOUNCE_YES'	=> $split_global_announce_yes,
	'SPLIT_GLOBAL_ANNOUNCE_NO'	=> $split_global_announce_no,
	'SPLIT_ANNOUNCE_YES'		=> $split_announce_yes,
	'SPLIT_ANNOUNCE_NO'			=> $split_announce_no,
	'SPLIT_STICKY_YES'			=> $split_sticky_yes,
	'SPLIT_STICKY_NO'			=> $split_sticky_no,
	'SPLIT_TOPIC_SPLIT_YES'		=> $split_topic_split_yes,
	'SPLIT_TOPIC_SPLIT_NO'		=> $split_topic_split_no,
//-- fin mod : split topic type --------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
$template->pparse("body");
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : split topic type ------------------------------------------------------------------------
//-- add
if ( isset($lang['Post_global_announcement']) ) $template->assign_block_vars('switch_global_announce', array());
//-- fin mod : split topic type --------------------------------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------------
#
$template->pparse('overall_header');
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : split topic type ------------------------------------------------------------------------
//-- add
// split global announce
$switch_split_global_announce = isset($lang['Post_global_announcement']);
if ( isset($lang['Post_global_announcement']) && !isset( $board_config['split_global_announce'] ) )
{
	$sqlw = "INSERT INTO ".CONFIG_TABLE." (config_name,config_value) VALUES('split_global_announce','" . $switch_split_global_announce . "')";
	if ( !($resultw = $db->sql_query($sqlw)) ) message_die(GENERAL_ERROR, 'Could not add key split_annonce in config table', '', __LINE__, __FILE__, $sql);
	$board_config['split_global_announce'] = $switch_split_global_announce;
}
if ( isset($lang['Post_global_announcement']) )
{
	$switch_split_global_announce = intval($board_config['split_global_announce']);
}

// split standard announce
$switch_split_announce = true;
if ( !isset( $board_config['split_announce'] ) )
{
	$sqlw = "INSERT INTO ".CONFIG_TABLE." (config_name,config_value) VALUES('split_announce','" . $switch_split_announce . "')";
	if ( !($resultw = $db->sql_query($sqlw)) ) message_die(GENERAL_ERROR, 'Could not add key split_annonce in config table', '', __LINE__, __FILE__, $sql);
	$board_config['split_announce'] = $switch_split_announce;
}
$switch_split_announce = intval($board_config['split_announce']);

// split sticky
$switch_split_sticky = true;
if ( !isset( $board_config['split_sticky'] ) )
{
	$sqlw = "INSERT INTO ".CONFIG_TABLE." (config_name,config_value) VALUES('split_sticky','" . $switch_split_sticky . "')";
	if ( !($resultw = $db->sql_query($sqlw)) ) message_die(GENERAL_ERROR, 'Could not add key split_sticky in config table', '', __LINE__, __FILE__, $sql);
	$board_config['split_sticky'] = $switch_split_sticky;
}
$switch_split_sticky = intval($board_config['split_sticky']);

// split in box
$split_topic_split = false;
if ( !isset($board_config['split_topic_split']) )
{
	$sqlw = "INSERT INTO ".CONFIG_TABLE." (config_name,config_value) VALUES('split_topic_split','" . $split_topic_split . "')";
	if ( !($resultw = $db->sql_query($sqlw)) ) message_die(GENERAL_ERROR, 'Could not add key split_topic_split in config table', '', __LINE__, __FILE__, $sql);
	$board_config['split_topic_split'] = $split_topic_split;
}
$split_topic_split = intval($board_config['split_topic_split']);
//-- fin mod : split topic type --------------------------------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
language/lang_english/lang_admin.php
#
#-----[ FIND ]------------------------------------------------
#
//
// That's all Folks!
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : split topic type ------------------------------------------------------------------------
//-- add
$lang['Announce_settings'] = 'Announcements Settings';
$lang['split_global_announce'] = 'Split global announcement';
$lang['split_announce'] = 'Split announcement';
$lang['split_sticky'] = 'Split sticky';
$lang['split_topic_split'] = 'Seperate topic types in different boxes';
//-- fin mod : split topic type --------------------------------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/viewforum_body.tpl
#
#-----[ FIND ]------------------------------------------------
# at top of the file
<form method="post" action="{S_POST_DAYS_ACTION}">
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
<!-- mod : split topic type -->
#
#-----[ FIND ]------------------------------------------------
#
  <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
	<!-- BEGIN row -->
	<!-- BEGIN header_table -->
#
#-----[ FIND ]------------------------------------------------
#
	  <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
#
#-----[ REPLACE WITH ]---------------------------------------- 
#
	  <th width="100%" colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{row.header_table.TITLE}&nbsp;</th>
#
#-----[ FIND ]------------------------------------------------
#
	  <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
#
#-----[ REPLACE WITH ]---------------------------------------- 
#
	  <th width="150" align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
	</tr>
	<!-- END header_table -->
	<!-- BEGIN header_row -->
	<tr>
	  <td colspan="6" align="left" class="catLeft"><span class="cattitle">{row.header_row.TITLE}</span></td>
	</tr>
	<!-- END header_row -->
#
#-----[ FIND ]------------------------------------------------
#
	  <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
	  <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
		{topicrow.GOTO_PAGE}</span></td>
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
	  <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
	  <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
#
#-----[ REPLACE WITH ]---------------------------------------- 
# add row. in front of each field, also set title width to 100%
	  <td class="row1" align="center" valign="middle" width="20"><img src="{row.topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{row.topicrow.L_TOPIC_FOLDER_ALT}" title="{row.topicrow.L_TOPIC_FOLDER_ALT}" /></td>
	  <td class="row1" width="100%"><span class="topictitle">{row.topicrow.NEWEST_POST_IMG}{row.topicrow.TOPIC_TYPE}<a href="{row.topicrow.U_VIEW_TOPIC}" class="topictitle">{row.topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
		{row.topicrow.GOTO_PAGE}</span></td>
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{row.topicrow.REPLIES}</span></td>
	  <td class="row3" align="center" valign="middle"><span class="name">{row.topicrow.TOPIC_AUTHOR}</span></td>
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{row.topicrow.VIEWS}</span></td>
	  <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{row.topicrow.LAST_POST_TIME}<br />{row.topicrow.LAST_POST_AUTHOR} {row.topicrow.LAST_POST_IMG}</span></td>
#
#-----[ FIND ]------------------------------------------------
#
	<!-- END switch_no_topics -->
#
#-----[ AFTER, ADD ]------------------------------------------
#
	<!-- BEGIN footer -->
#
#-----[ FIND ]------------------------------------------------
#
		</span></td>
	</tr>
  </table>
#
#-----[ REPLACE WITH ]---------------------------------------- 
#
		</span></td>
	</tr>
	<!-- END footer -->
	<!-- BEGIN footer_table -->
  </table>
	<!-- BEGIN space -->
  <br class="gensmall">
	<!-- END space -->
	<!-- END footer_table -->
	<!-- END row -->
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/admin/board_config_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<h1>{L_CONFIGURATION_TITLE}</h1>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
<!-- mod : split topic type -->
#
#-----[ FIND ]------------------------------------------------
#
	<tr>
	  <th class="thHead" colspan="2">{L_ABILITIES_SETTINGS}</th>
	</tr>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
	<tr>
		<th class="thHead" colspan="2">{L_ANNOUNCEMENT_SETTINGS}</th>
	</tr>
	<!-- BEGIN switch_global_announce -->
	<tr>
		<td class="row1">{L_SPLIT_GLOBAL_ANNOUNCE}</td>
		<td class="row2"><input type="radio" name="split_global_announce" value="1" {SPLIT_GLOBAL_ANNOUNCE_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="split_global_announce" value="0" {SPLIT_GLOBAL_ANNOUNCE_NO} /> {L_NO}</td>
	</tr>
	<!-- END switch_global_announce -->
	<tr>
		<td class="row1">{L_SPLIT_ANNOUNCE}</td>
		<td class="row2"><input type="radio" name="split_announce" value="1" {SPLIT_ANNOUNCE_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="split_announce" value="0" {SPLIT_ANNOUNCE_NO} /> {L_NO}</td>
	</tr>
	<tr>
		<td class="row1">{L_SPLIT_STICKY}</td>
		<td class="row2"><input type="radio" name="split_sticky" value="1" {SPLIT_STICKY_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="split_sticky" value="0" {SPLIT_STICKY_NO} /> {L_NO}</td>
	</tr>
	<tr>
		<td class="row1">{L_SPLIT_TOPIC_SPLIT}</td>
		<td class="row2"><input type="radio" name="split_topic_split" value="1" {SPLIT_TOPIC_SPLIT_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="split_topic_split" value="0" {SPLIT_TOPIC_SPLIT_NO} /> {L_NO}</td>
	</tr>
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
主題已鎖定

回到「官方認證外掛」