mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Topic review changes + updates
git-svn-id: file:///svn/phpbb/trunk@1220 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
83bc62fb2d
commit
d387e476bc
8 changed files with 552 additions and 30 deletions
|
@ -101,6 +101,7 @@ $userdata = Array();
|
||||||
$theme = Array();
|
$theme = Array();
|
||||||
$images = Array();
|
$images = Array();
|
||||||
$lang = Array();
|
$lang = Array();
|
||||||
|
$gen_simple_header = FALSE;
|
||||||
|
|
||||||
@include($phpbb_root_path . 'config.'.$phpEx);
|
@include($phpbb_root_path . 'config.'.$phpEx);
|
||||||
|
|
||||||
|
|
|
@ -56,9 +56,18 @@ if($board_config['gzip_compress'])
|
||||||
//
|
//
|
||||||
// Parse and show the overall header.
|
// Parse and show the overall header.
|
||||||
//
|
//
|
||||||
$template->set_filenames(array(
|
if( empty($gen_simple_header) )
|
||||||
"overall_header" => "overall_header.tpl")
|
{
|
||||||
);
|
$template->set_filenames(array(
|
||||||
|
"overall_header" => "overall_header.tpl")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$template->set_filenames(array(
|
||||||
|
"overall_header" => "simple_header.tpl")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generate logged in/logged out status
|
// Generate logged in/logged out status
|
||||||
|
|
|
@ -33,9 +33,18 @@ else
|
||||||
}
|
}
|
||||||
$current_time = time();
|
$current_time = time();
|
||||||
|
|
||||||
$template->set_filenames(array(
|
if( empty($gen_simple_header) )
|
||||||
"overall_footer" => "overall_footer.tpl")
|
{
|
||||||
);
|
$template->set_filenames(array(
|
||||||
|
"overall_footer" => "overall_footer.tpl")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$template->set_filenames(array(
|
||||||
|
"overall_footer" => "simple_footer.tpl")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
"PHPBB_VERSION" => "2.0 beta-1",
|
"PHPBB_VERSION" => "2.0 beta-1",
|
||||||
|
|
|
@ -26,6 +26,198 @@ include($phpbb_root_path . 'common.'.$phpEx);
|
||||||
include($phpbb_root_path . 'includes/post.'.$phpEx);
|
include($phpbb_root_path . 'includes/post.'.$phpEx);
|
||||||
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
|
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
|
||||||
|
|
||||||
|
// -----------------------
|
||||||
|
// Page specific functions
|
||||||
|
//
|
||||||
|
function topic_review($topic_id, $is_inline_review)
|
||||||
|
{
|
||||||
|
global $db, $board_config, $template, $lang, $images, $theme, $phpEx;
|
||||||
|
global $userdata, $session_length, $user_ip;
|
||||||
|
global $orig_word, $replacement_word;
|
||||||
|
global $starttime;
|
||||||
|
|
||||||
|
if( !$is_inline_review )
|
||||||
|
{
|
||||||
|
if( !isset($topic_id) )
|
||||||
|
{
|
||||||
|
message_die(GENERAL_MESSAGE, 'Topic_not_exist');
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Get topic info ...
|
||||||
|
//
|
||||||
|
$sql = "SELECT f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments
|
||||||
|
FROM " . TOPICS_TABLE . " t, " . FORUMS_TABLE . " f
|
||||||
|
WHERE t.topic_id = $topic_id
|
||||||
|
AND f.forum_id = t.forum_id";
|
||||||
|
if(!$result = $db->sql_query($sql))
|
||||||
|
{
|
||||||
|
message_die(GENERAL_ERROR, "Couldn't obtain topic information", "", __LINE__, __FILE__, $sql);
|
||||||
|
}
|
||||||
|
|
||||||
|
if( !$total_rows = $db->sql_numrows($result) )
|
||||||
|
{
|
||||||
|
message_die(GENERAL_MESSAGE, 'Topic_post_not_exist');
|
||||||
|
}
|
||||||
|
$forum_row = $db->sql_fetchrow($result);
|
||||||
|
|
||||||
|
$forum_id = $forum_row['forum_id'];
|
||||||
|
|
||||||
|
//
|
||||||
|
// Start session management
|
||||||
|
//
|
||||||
|
$userdata = session_pagestart($user_ip, $forum_id, $session_length);
|
||||||
|
init_userprefs($userdata);
|
||||||
|
//
|
||||||
|
// End session management
|
||||||
|
//
|
||||||
|
|
||||||
|
$is_auth = array();
|
||||||
|
$is_auth = auth(AUTH_ALL, $forum_id, $userdata, $forum_row);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Go ahead and pull all data for this topic
|
||||||
|
//
|
||||||
|
$sql = "SELECT u.username, u.user_id, p.*, pt.post_text, pt.post_subject
|
||||||
|
FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
|
||||||
|
WHERE p.topic_id = $topic_id
|
||||||
|
AND p.poster_id = u.user_id
|
||||||
|
AND p.post_id = pt.post_id
|
||||||
|
ORDER BY p.post_time DESC
|
||||||
|
LIMIT " . $board_config['posts_per_page'];
|
||||||
|
if(!$result = $db->sql_query($sql))
|
||||||
|
{
|
||||||
|
message_die(GENERAL_ERROR, "Couldn't obtain post/user information.", "", __LINE__, __FILE__, $sql);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!$total_posts = $db->sql_numrows($result))
|
||||||
|
{
|
||||||
|
message_die(GENERAL_ERROR, "There don't appear to be any posts for this topic.", "", __LINE__, __FILE__, $sql);
|
||||||
|
}
|
||||||
|
$postrow = $db->sql_fetchrowset($result);
|
||||||
|
|
||||||
|
//
|
||||||
|
// Define censored word matches
|
||||||
|
//
|
||||||
|
if( empty($orig_word) && empty($replacement_word) )
|
||||||
|
{
|
||||||
|
$orig_word = array();
|
||||||
|
$replacement_word = array();
|
||||||
|
obtain_word_list($orig_word, $replacement_word);
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Dump out the page header and load viewtopic body template
|
||||||
|
//
|
||||||
|
if( !$is_inline_review )
|
||||||
|
{
|
||||||
|
$gen_simple_header = TRUE;
|
||||||
|
|
||||||
|
$page_title = $lang['Review_topic'] ." - $topic_title";
|
||||||
|
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
|
||||||
|
|
||||||
|
$template->set_filenames(array(
|
||||||
|
"reviewbody" => "posting_topic_review.tpl")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Okay, let's do the loop, yeah come on baby let's do the loop
|
||||||
|
// and it goes like this ...
|
||||||
|
//
|
||||||
|
for($i = 0; $i < $total_posts; $i++)
|
||||||
|
{
|
||||||
|
$poster_id = $postrow[$i]['user_id'];
|
||||||
|
$poster = $postrow[$i]['username'];
|
||||||
|
|
||||||
|
$post_date = create_date($board_config['default_dateformat'], $postrow[$i]['post_time'], $board_config['board_timezone']);
|
||||||
|
|
||||||
|
$mini_post_img = '<img src="' . $images['icon_minipost'] . '" alt="' . $lang['Post'] . '" />';
|
||||||
|
|
||||||
|
//
|
||||||
|
// Handle anon users posting with usernames
|
||||||
|
//
|
||||||
|
if( $poster_id == ANONYMOUS && $postrow[$i]['post_username'] != '' )
|
||||||
|
{
|
||||||
|
$poster = $postrow[$i]['post_username'];
|
||||||
|
$poster_rank = $lang['Guest'];
|
||||||
|
}
|
||||||
|
|
||||||
|
$post_subject = ( $postrow[$i]['post_subject'] != "" ) ? $postrow[$i]['post_subject'] : "";
|
||||||
|
|
||||||
|
$message = $postrow[$i]['post_text'];
|
||||||
|
$bbcode_uid = $postrow[$i]['bbcode_uid'];
|
||||||
|
|
||||||
|
//
|
||||||
|
// If the board has HTML off but the post has HTML
|
||||||
|
// on then we process it, else leave it alone
|
||||||
|
//
|
||||||
|
if( !$board_config['allow_html'] )
|
||||||
|
{
|
||||||
|
if( $postrow[$i]['enable_html'] )
|
||||||
|
{
|
||||||
|
$message = preg_replace("#(<)([\/]?.*?)(>)#is", "<\\2>", $message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if( $bbcode_uid != "" )
|
||||||
|
{
|
||||||
|
$message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace("/\:[0-9a-z\:]+\]/si", "]", $message);
|
||||||
|
}
|
||||||
|
|
||||||
|
$message = make_clickable($message);
|
||||||
|
|
||||||
|
if( count($orig_word) )
|
||||||
|
{
|
||||||
|
$post_subject = preg_replace($orig_word, $replacement_word, $post_subject);
|
||||||
|
$message = preg_replace($orig_word, $replacement_word, $message);
|
||||||
|
}
|
||||||
|
|
||||||
|
if( $board_config['allow_smilies'] && $postrow[$i]['enable_smilies'] )
|
||||||
|
{
|
||||||
|
$message = smilies_pass($message);
|
||||||
|
}
|
||||||
|
|
||||||
|
$message = str_replace("\n", "<br />", $message);
|
||||||
|
|
||||||
|
//
|
||||||
|
// Again this will be handled by the templating
|
||||||
|
// code at some point
|
||||||
|
//
|
||||||
|
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
|
||||||
|
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
|
||||||
|
|
||||||
|
$template->assign_block_vars("postrow", array(
|
||||||
|
"ROW_COLOR" => "#" . $row_color,
|
||||||
|
"ROW_CLASS" => $row_class,
|
||||||
|
|
||||||
|
"MINI_POST_IMG" => $mini_post_img,
|
||||||
|
"POSTER_NAME" => $poster,
|
||||||
|
"POST_DATE" => $post_date,
|
||||||
|
"POST_SUBJECT" => $post_subject,
|
||||||
|
"MESSAGE" => $message)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
$template->assign_vars(array(
|
||||||
|
"L_POSTED" => $lang['Posted'],
|
||||||
|
"L_POST_SUBJECT" => $lang['Post_subject'],
|
||||||
|
"L_TOPIC_REVIEW" => $lang['Topic_review'])
|
||||||
|
);
|
||||||
|
|
||||||
|
if( !$is_inline_review )
|
||||||
|
{
|
||||||
|
$template->pparse("reviewbody");
|
||||||
|
|
||||||
|
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//
|
||||||
|
// End page specific functions
|
||||||
|
// ---------------------------
|
||||||
|
|
||||||
// -------------------------------------------
|
// -------------------------------------------
|
||||||
// Do some initial checks, set basic variables,
|
// Do some initial checks, set basic variables,
|
||||||
// etc.
|
// etc.
|
||||||
|
@ -128,26 +320,13 @@ init_userprefs($userdata);
|
||||||
//
|
//
|
||||||
|
|
||||||
//
|
//
|
||||||
// Set topic type
|
// If the mode is set to topic review then output
|
||||||
|
// that review ...
|
||||||
//
|
//
|
||||||
if( isset($HTTP_POST_VARS['topictype']) )
|
if( $mode == "topicreview" )
|
||||||
{
|
{
|
||||||
if($HTTP_POST_VARS['topictype'] == "announce")
|
topic_review($topic_id, false);
|
||||||
{
|
exit;
|
||||||
$topic_type = POST_ANNOUNCE;
|
|
||||||
}
|
|
||||||
else if($HTTP_POST_VARS['topictype'] == "sticky")
|
|
||||||
{
|
|
||||||
$topic_type = POST_STICKY;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$topic_type = POST_NORMAL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$topic_type = POST_NORMAL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -341,6 +520,29 @@ else if( $topic_status == TOPIC_LOCKED )
|
||||||
message_die(GENERAL_MESSAGE, $lang['Topic_locked']);
|
message_die(GENERAL_MESSAGE, $lang['Topic_locked']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Set topic type
|
||||||
|
//
|
||||||
|
if( isset($HTTP_POST_VARS['topictype']) )
|
||||||
|
{
|
||||||
|
if($HTTP_POST_VARS['topictype'] == "announce")
|
||||||
|
{
|
||||||
|
$topic_type = POST_ANNOUNCE;
|
||||||
|
}
|
||||||
|
else if($HTTP_POST_VARS['topictype'] == "sticky")
|
||||||
|
{
|
||||||
|
$topic_type = POST_STICKY;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$topic_type = POST_NORMAL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$topic_type = POST_NORMAL;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Auth checks
|
// Auth checks
|
||||||
//
|
//
|
||||||
|
@ -386,6 +588,11 @@ switch( $mode )
|
||||||
$auth_string = $lang['can_vote'];
|
$auth_string = $lang['can_vote'];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'topicreview':
|
||||||
|
$is_auth_type = "auth_read";
|
||||||
|
$auth_string = $lang['can_read'];
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
message_die(GENERAL_MESSAGE, $lang['No_post_mode']);
|
message_die(GENERAL_MESSAGE, $lang['No_post_mode']);
|
||||||
break;
|
break;
|
||||||
|
@ -410,6 +617,7 @@ if( !$is_auth[$is_auth_type] )
|
||||||
$redirect = "mode=newtopic&" . POST_FORUM_URL . "=$forum_id";
|
$redirect = "mode=newtopic&" . POST_FORUM_URL . "=$forum_id";
|
||||||
break;
|
break;
|
||||||
case 'reply':
|
case 'reply':
|
||||||
|
case 'topicreview':
|
||||||
$redirect = "mode=reply&" . POST_TOPIC_URL . "=$topic_id";
|
$redirect = "mode=reply&" . POST_TOPIC_URL . "=$topic_id";
|
||||||
break;
|
break;
|
||||||
case 'quote':
|
case 'quote':
|
||||||
|
@ -1831,7 +2039,8 @@ include($phpbb_root_path . 'includes/page_header.'.$phpEx);
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
"body" => "posting_body.tpl",
|
"body" => "posting_body.tpl",
|
||||||
"pollbody" => "posting_poll_body.tpl",
|
"pollbody" => "posting_poll_body.tpl",
|
||||||
"jumpbox" => "jumpbox.tpl")
|
"jumpbox" => "jumpbox.tpl",
|
||||||
|
"reviewbody" => "posting_topic_review.tpl")
|
||||||
);
|
);
|
||||||
|
|
||||||
$jumpbox = make_jumpbox();
|
$jumpbox = make_jumpbox();
|
||||||
|
@ -2112,7 +2321,8 @@ $template->assign_vars(array(
|
||||||
"L_NOTIFY_ON_REPLY" => $lang['Notify'],
|
"L_NOTIFY_ON_REPLY" => $lang['Notify'],
|
||||||
"L_DELETE_POST" => $lang['Delete_post'],
|
"L_DELETE_POST" => $lang['Delete_post'],
|
||||||
|
|
||||||
"U_TOPIC_REVIEW" => ( $mode == "reply" ) ? append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&postorder=desc") : "",
|
"U_VIEWTOPIC" => ( $mode == "reply" ) ? append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&postorder=desc") : "",
|
||||||
|
"U_REVIEW_TOPIC" => ( $mode == "reply" ) ? append_sid("posting.$phpEx?mode=topicreview&" . POST_TOPIC_URL . "=$topic_id") : "",
|
||||||
|
|
||||||
"S_HTML_CHECKED" => (!$html_on) ? "checked=\"checked\"" : "",
|
"S_HTML_CHECKED" => (!$html_on) ? "checked=\"checked\"" : "",
|
||||||
"S_BBCODE_CHECKED" => (!$bbcode_on) ? "checked=\"checked\"" : "",
|
"S_BBCODE_CHECKED" => (!$bbcode_on) ? "checked=\"checked\"" : "",
|
||||||
|
@ -2167,6 +2377,20 @@ if( $display_poll )
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Topic review
|
||||||
|
//
|
||||||
|
if( $mode == "reply" )
|
||||||
|
{
|
||||||
|
topic_review($topic_id, true);
|
||||||
|
|
||||||
|
//
|
||||||
|
// Enable inline mode ...
|
||||||
|
//
|
||||||
|
$template->assign_block_vars("switch_inline_mode", array());
|
||||||
|
$template->assign_var_from_handle("TOPIC_REVIEW_BOX", "reviewbody");
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Parse and print the body
|
// Parse and print the body
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
<!-- Spell checker option part 1: You must sign up for free at www.spellchecker.net to use this option -->
|
<!-- Spell checker option part 1: You must sign up for free at www.spellchecker.net to use this option -->
|
||||||
<!-- Change the path to point to the file you got once signed up at Spellchecker.net -->
|
<!-- Change the path to point to the file you got once signed up at Spellchecker.net -->
|
||||||
<!-- Remember to uncomment the spellchecker button near the end of this template -->
|
<!-- Remember to uncomment the spellchecker button near the end of this template -->
|
||||||
<!-- <script type="text/javascript" language="javascript" src=spellcheck/spch.js></script> -->
|
<!-- script type="text/javascript" language="javascript" src=spellcheck/spch.js></script -->
|
||||||
<!-- End spellchecker option -->
|
<!-- End spellchecker option -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script language="JavaScript" type="text/javascript">
|
<script language="JavaScript" type="text/javascript">
|
||||||
<!--
|
<!--
|
||||||
// bbCode control by
|
// bbCode control by
|
||||||
|
@ -421,7 +419,7 @@ function bbstyle(formObj, bbnumber) {
|
||||||
<!-- Spell checker option part 2: You must sign up for free at www.spellchecker.net to use this option -->
|
<!-- Spell checker option part 2: You must sign up for free at www.spellchecker.net to use this option -->
|
||||||
<!-- Change the path in the onclick function to point to your files you got once signed up at Spellchecker.net -->
|
<!-- Change the path in the onclick function to point to your files you got once signed up at Spellchecker.net -->
|
||||||
<!-- Remember to uncomment the link to the javascript file at the top of this template -->
|
<!-- Remember to uncomment the link to the javascript file at the top of this template -->
|
||||||
<!-- <input type="button" tabindex="4" class="liteoption" name="spellcheck" value="Spell Check" onClick= "doSpell ('uk', document.post.message, 'http://www.yourhost.com/path_to_phpbb2/spellcheck/sproxy.php', true);" /> -->
|
<!-- input type="button" tabindex="4" class="liteoption" name="spellcheck" value="Spell Check" onClick= "doSpell ('uk', document.post.message, document.location.protocol + '//' + document.location.host + '/phpBB/spellcheck/sproxy.php', true);" / -->
|
||||||
<!-- End spellchecker option -->
|
<!-- End spellchecker option -->
|
||||||
|
|
||||||
<input type="submit" tabindex="5" name="preview" class="mainoption" value="{L_PREVIEW}" />
|
<input type="submit" tabindex="5" name="preview" class="mainoption" value="{L_PREVIEW}" />
|
||||||
|
@ -441,3 +439,5 @@ function bbstyle(formObj, bbnumber) {
|
||||||
<td valign="top" align="right">{JUMPBOX}</td>
|
<td valign="top" align="right">{JUMPBOX}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
{TOPIC_REVIEW_BOX}
|
||||||
|
|
41
phpBB/templates/subSilver/posting_topic_review.tpl
Normal file
41
phpBB/templates/subSilver/posting_topic_review.tpl
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
|
||||||
|
<!-- BEGIN switch_inline_mode -->
|
||||||
|
<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
|
||||||
|
<tr>
|
||||||
|
<th class="thTop" height="25"><b>{L_TOPIC_REVIEW}</b></th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><iframe width="100%" height="300" src="{U_REVIEW_TOPIC}">
|
||||||
|
<!-- END switch_inline_mode -->
|
||||||
|
|
||||||
|
<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
|
||||||
|
<tr>
|
||||||
|
<th class="thLeft" width="22%" height="26">{L_AUTHOR}</th>
|
||||||
|
<th class="thRight">{L_MESSAGE}</th>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGIN postrow -->
|
||||||
|
<tr>
|
||||||
|
<td width="22%" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span></td>
|
||||||
|
<td class="{postrow.ROW_CLASS}" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td width="100%">{postrow.MINI_POST_IMG}<span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen"> </span> {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2"><hr /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2"><span class="postbody">{postrow.MESSAGE}</span></td>
|
||||||
|
</tr>
|
||||||
|
</table></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2" height="1" class="spaceRow"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
|
||||||
|
</tr>
|
||||||
|
<!-- END postrow -->
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<!-- BEGIN switch_inline_mode -->
|
||||||
|
</iframe></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<!-- END switch_inline_mode -->
|
25
phpBB/templates/subSilver/simple_footer.tpl
Normal file
25
phpBB/templates/subSilver/simple_footer.tpl
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
|
Please note that the following copyright notice
|
||||||
|
MUST be displayed on each and every page output
|
||||||
|
by phpBB. You may alter the font, colour etc. but
|
||||||
|
you CANNOT remove it, nor change it so that it be,
|
||||||
|
to all intents and purposes, invisible. You may ADD
|
||||||
|
your own notice to it should you have altered the
|
||||||
|
code but you may not replace it. The hyperlink must
|
||||||
|
also remain intact. These conditions are part of the
|
||||||
|
licence this software is released under. See the
|
||||||
|
LICENCE and README files for more information.
|
||||||
|
|
||||||
|
The phpBB Group : 2001
|
||||||
|
|
||||||
|
// -->
|
||||||
|
<div align="center"> <span class="copyright"><br />Powered by phpBB {PHPBB_VERSION} © 2001 <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB
|
||||||
|
Group</a></span></div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
213
phpBB/templates/subSilver/simple_header.tpl
Normal file
213
phpBB/templates/subSilver/simple_header.tpl
Normal file
|
@ -0,0 +1,213 @@
|
||||||
|
<!-- DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" -->
|
||||||
|
<!-- <html xmlns="http://www.w3.org/1999/xhtml"> -->
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
|
||||||
|
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||||
|
<style type="text/css">
|
||||||
|
<!--
|
||||||
|
-->
|
||||||
|
</style>
|
||||||
|
{META}
|
||||||
|
<title>{SITENAME} :: {PAGE_TITLE}</title>
|
||||||
|
<style type="text/css">
|
||||||
|
<!--
|
||||||
|
/* subSilver Theme for phpBB2
|
||||||
|
* Created by subBlue design
|
||||||
|
* http://www.subBlue.com
|
||||||
|
*/
|
||||||
|
|
||||||
|
body { background-color:{T_BODY_BGCOLOR};
|
||||||
|
scrollbar-face-color: #C8D1D7; scrollbar-highlight-color: #EAF0F7;
|
||||||
|
scrollbar-shadow-color: #95AFC4; scrollbar-3dlight-color: #D6DDE2;
|
||||||
|
scrollbar-arrow-color: #006699; scrollbar-track-color: #EFEFEF;
|
||||||
|
scrollbar-darkshadow-color: #7294AF;
|
||||||
|
}
|
||||||
|
|
||||||
|
font { font-family: Verdana, Arial, Helvetica, sans-serif }
|
||||||
|
td { font-family: Verdana, Arial, Helvetica, sans-serif }
|
||||||
|
th { font-family: Verdana, Arial, Helvetica, sans-serif }
|
||||||
|
P { font-family: Verdana, Arial, Helvetica, sans-serif }
|
||||||
|
hr { height: 1px; color:{T_TR_COLOR3} }
|
||||||
|
|
||||||
|
|
||||||
|
/* Forum colours */
|
||||||
|
.bodyline { background-color:#FFFFFF; border: {T_TD_COLOR1}; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px }
|
||||||
|
.forumline { background-color:#FFFFFF; border: 2px #006699 solid }
|
||||||
|
|
||||||
|
|
||||||
|
/* Main table cell colours and backgrounds */
|
||||||
|
TH { background-color: {T_TH_COLOR3}; height: 25px; font-size: 11px; line-height : 100%; font-weight: bold; color: #FFB163; background-image: url(templates/subSilver/images/cellpic3.gif) }
|
||||||
|
TD.tablebg { background-color: #000000 }
|
||||||
|
TD.cat { background-color: {T_TH_COLOR1}; height: 28px; background-image: url(templates/subSilver/images/cellpic1.gif) }
|
||||||
|
TD.row1 { background-color: {T_TR_COLOR1} }
|
||||||
|
TD.row2 { background-color: {T_TR_COLOR2} }
|
||||||
|
TD.row3 { background-color: {T_TR_COLOR3} }
|
||||||
|
TD.spaceRow { background-color: {T_TR_COLOR3}; border: #FFFFFF; border-style: solid; border-left-width: 1px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px }
|
||||||
|
TD.rowpic { background-color: #FFFFFF; background-image: url(templates/subSilver/images/cellpic2.jpg); background-repeat: repeat-y }
|
||||||
|
td.icqback { background-image: url(templates/subSilver/images/icon_icq_add.gif); background-repeat: no-repeat }
|
||||||
|
|
||||||
|
|
||||||
|
/* Setting additional nice borders for the main table cells */
|
||||||
|
TD.catHead,TD.catSides,TD.catLeft,TD.catRight,TD.catBottom { background-color:{T_TH_COLOR1}; height: 28px; background-image: url(templates/subSilver/images/cellpic1.gif); border: #FFFFFF; border-style: solid; }
|
||||||
|
|
||||||
|
TD.catHead { height: 29px; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 0px }
|
||||||
|
TD.catSides { border-left-width: 1px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px }
|
||||||
|
TD.catLeft { border-left-width: 1px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px }
|
||||||
|
TD.catRight { border-left-width: 0px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px }
|
||||||
|
TD.catBottom { height: 29px; border-left-width: 1px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 1px }
|
||||||
|
|
||||||
|
TH.thHead,TH.thSides,TH.thTop,TH.thLeft,TH.thRight,TH.thBottom,TH.thCornerL,TH.thCornerR { border: #FFFFFF; border-style: solid; }
|
||||||
|
|
||||||
|
TH.thHead { font-weight : bold; font-size: 12px; height: 25px; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 0px }
|
||||||
|
TH.thSides { border-left-width: 1px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px }
|
||||||
|
TH.thTop { border-left-width: 0px; border-top-width: 1px; border-right-width: 0px; border-bottom-width: 0px }
|
||||||
|
TH.thLeft { border-left-width: 1px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px }
|
||||||
|
TH.thRight { border-left-width: 0px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px }
|
||||||
|
TH.thBottom { border-left-width: 1px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 1px }
|
||||||
|
TH.thCornerL { border-left-width: 1px; border-top-width: 1px; border-right-width: 0px; border-bottom-width: 0px }
|
||||||
|
TH.thCornerR { border-left-width: 0px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 0px }
|
||||||
|
|
||||||
|
TD.row3Right { background-color: {T_TR_COLOR3}; border: #FFFFFF; border-style: solid; border-left-width: 0px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px }
|
||||||
|
|
||||||
|
/* The largest text used in the index page title and toptic title etc. */
|
||||||
|
.maintitle { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 22px; font-weight : bold; text-decoration : none; line-height : 120%; color : #000000;}
|
||||||
|
|
||||||
|
|
||||||
|
/* General normal text */
|
||||||
|
.gen { font-size : 12px; color : #000000; }
|
||||||
|
a.gen { color: #006699; text-decoration: none; }
|
||||||
|
a.gen:hover { color: #C23030; text-decoration: underline; }
|
||||||
|
|
||||||
|
/* General medium text */
|
||||||
|
.genmed { font-size : 11px; color : #000000; }
|
||||||
|
a.genmed { text-decoration: none; color : #006699; }
|
||||||
|
a.genmed:hover { text-decoration: underline; color : #C23030; }
|
||||||
|
|
||||||
|
|
||||||
|
/* General small */
|
||||||
|
.gensmall { font-size : 10px; color : #000000; }
|
||||||
|
a.gensmall { color: #006699; text-decoration: none; }
|
||||||
|
a.gensmall:hover { color: #C23030; text-decoration: underline; }
|
||||||
|
|
||||||
|
|
||||||
|
/* The register, login, search etc links at the top of the page */
|
||||||
|
.mainmenu { font-size : 11px; text-decoration : none; color : #000000 }
|
||||||
|
a.mainmenu { text-decoration: none; color : #006699; }
|
||||||
|
a.mainmenu:hover { text-decoration: underline; color : #C23030; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Forum categories */
|
||||||
|
.cattitle { font-size : 12px; line-height : 100%; letter-spacing: 1px; font-weight : bold; text-decoration : none; color : #004c75 }
|
||||||
|
a.cattitle { text-decoration: none; color : #004c75; }
|
||||||
|
a.cattitle:hover { text-decoration: underline; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Forum title: Text and link to the forums used in: index.php */
|
||||||
|
.forumlink { font-size : 12px; font-weight : bold; text-decoration : none; color : #136C99; }
|
||||||
|
a.forumlink { text-decoration: none; color : #136C99; }
|
||||||
|
a.forumlink:hover { text-decoration: underline; color : #D68000; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
|
||||||
|
.nav { font-size : 11px; font-weight : bold; text-decoration : none; color : #000000;}
|
||||||
|
a.nav { text-decoration: none; color : #006699; }
|
||||||
|
a.nav:hover { text-decoration: underline; }
|
||||||
|
|
||||||
|
|
||||||
|
/* titles for the topics: can specify viewed link colour too */
|
||||||
|
.topictitle { font-size : 11px; font-weight : bold; text-decoration : none; color : #000000; }
|
||||||
|
a.topictitle { text-decoration: none; color : #006699; }
|
||||||
|
a.topictitle:hover { text-decoration: underline; color : #D68000; }
|
||||||
|
a.topictitle:visited { text-decoration: none; color : #5584AA; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Name of poster in viewmsg.php and viewtopic.php and other places */
|
||||||
|
.name { font-size : 11px; text-decoration : none; color : #000000;}
|
||||||
|
a.name { color: #006699; text-decoration: none;}
|
||||||
|
a.name:hover { color: #C23030; text-decoration: underline;}
|
||||||
|
|
||||||
|
|
||||||
|
/* Location, number of posts, post date etc */
|
||||||
|
.postdetails { font-size : 10px; color : #000000; }
|
||||||
|
a.postdetails { color: #006699; text-decoration: none; }
|
||||||
|
a.postdetails:hover { color: #C23030; text-decoration: underline; }
|
||||||
|
|
||||||
|
|
||||||
|
/* The content of the posts (body of text) */
|
||||||
|
.postbody { font-size : 12px; line-height: 150%}
|
||||||
|
|
||||||
|
a.postlink { text-decoration: none; color : {T_BODY_LINK} }
|
||||||
|
a.postlink:hover { text-decoration: underline; color : #C23030 }
|
||||||
|
|
||||||
|
|
||||||
|
/* Quote Code (currently not used) */
|
||||||
|
.code { font-family: Courier, Courier New; font-size: 11px; color: #006600;
|
||||||
|
background-color: #FAFAFA; border: {T_TR_COLOR3}; border-style: solid;
|
||||||
|
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
|
||||||
|
}
|
||||||
|
.quote { font-family: Verdana, Arial; font-size: 11px; color: #444444; line-height: 125%;
|
||||||
|
background-color: #FAFAFA; border: {T_TR_COLOR3}; border-style: solid;
|
||||||
|
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
|
||||||
|
}
|
||||||
|
.signature { font-size : 11px; text-decoration : none; line-height : 150%; color : #333366; }
|
||||||
|
.editedby { font-size : 10px; line-height : 100%; color : #333333; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Form elements */
|
||||||
|
input,textarea, select {
|
||||||
|
color : #000000;
|
||||||
|
font-family : Verdana, Arial, Helvetica, sans-serif;
|
||||||
|
font-size : 11px;
|
||||||
|
font-weight : normal;
|
||||||
|
border-color : #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* The text input fields background colour */
|
||||||
|
input.post, textarea.post, select {
|
||||||
|
background-color : #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
input { text-indent : 2px; }
|
||||||
|
|
||||||
|
/* The buttons used for bbCode styling in message post */
|
||||||
|
input.button {
|
||||||
|
background-color : {T_TR_COLOR1};
|
||||||
|
color : #000000;
|
||||||
|
font-family : Verdana, Arial, Helvetica, sans-serif;
|
||||||
|
font-size : 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* The main submit button option */
|
||||||
|
input.mainoption {
|
||||||
|
background-color : #FAFAFA;
|
||||||
|
font-weight : bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* None bold submit button */
|
||||||
|
input.liteoption {
|
||||||
|
background-color : #FAFAFA;
|
||||||
|
font-weight : normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
|
||||||
|
@import url("templates/subSilver/formIE.css");
|
||||||
|
|
||||||
|
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Copyright and bottom info */
|
||||||
|
.copyright { font-family: Verdana, Arial, Helvetica, sans-serif; color: #555555; font-size: 10px; letter-spacing: -1px;}
|
||||||
|
a.copyright { color: #333333; text-decoration: none;}
|
||||||
|
a.copyright:hover { color: #000000; text-decoration: underline;}
|
||||||
|
-->
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
|
||||||
|
<span class="gen"><a name="top"></a></span><table width="100%" border="0" cellspacing="0" cellpadding="10" align="center">
|
||||||
|
<tr>
|
||||||
|
<td class="bodyline">
|
Loading…
Add table
Reference in a new issue