Removed header frame, reduced timezone naming, added DB size for MySQL, no major technical changes

git-svn-id: file:///svn/phpbb/trunk@753 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-07-27 23:16:09 +00:00
parent ec851efb3b
commit 8b82f40009
24 changed files with 385 additions and 362 deletions

View file

@ -25,7 +25,7 @@
if($setmodules == 1) if($setmodules == 1)
{ {
$file = basename(__FILE__); $file = basename(__FILE__);
$module['General']['config'] = "$file?mode=config"; $module['General']['Configuration'] = "$file?mode=config";
return; return;
} }
@ -138,9 +138,12 @@ switch($mode)
$template->pparse("reg_header"); $template->pparse("reg_header");
} }
$template->set_filenames(array("body" => "admin/admin_config_body.tpl")); $template->set_filenames(array(
"body" => "admin/admin_config_body.tpl")
);
$template->assign_vars(array("S_CONFIG_ACTION" => append_sid("admin/admin_board.$phpEx"), $template->assign_vars(array(
"S_CONFIG_ACTION" => append_sid("admin/admin_board.$phpEx"),
"SITENAME" => $sitename, "SITENAME" => $sitename,
"ACTIVATION_YES" => $activation_yes, "ACTIVATION_YES" => $activation_yes,
"ACTIVATION_NO" => $activation_no, "ACTIVATION_NO" => $activation_no,
@ -180,12 +183,13 @@ switch($mode)
"EMAIL_SIG" => $email_sig, "EMAIL_SIG" => $email_sig,
"SMTP_YES" => $smtp_yes, "SMTP_YES" => $smtp_yes,
"SMTP_NO" => $smtp_no, "SMTP_NO" => $smtp_no,
"SMTP_SERVER" => $smtp_server)); "SMTP_SERVER" => $smtp_server)
);
$template->pparse("body"); $template->pparse("body");
break; break;
} }
include('page_footer_admin.'.$phpEx); include('page_footer_admin.'.$phpEx);
?> ?>

View file

@ -307,8 +307,7 @@ function get_table_def_postgres($table, $crlf)
if (!$result) if (!$result)
{ {
$error = $db->sql_error(); message_die(GENERAL_ERROR, "Failed in get_table_def (show fields)", "", __LINE__, __FILE__, $sql_checks);
message_die(GENERAL_ERROR, 'Failed in get_table_def (show fields) : ' . $error['message']);
} }
while ($row = $db->sql_fetchrow($result)) while ($row = $db->sql_fetchrow($result))

View file

@ -34,7 +34,7 @@
if( $setmodules == 1 ) if( $setmodules == 1 )
{ {
$filename = basename(__FILE__); $filename = basename(__FILE__);
$module['Forums']['prune'] = $filename; $module['Forums']['Prune'] = $filename;
return; return;
} }
@ -117,22 +117,29 @@ else
if($submit == "Prune") if($submit == "Prune")
{ {
$prunedays = $HTTP_POST_VARS['prunedays']; $prunedays = $HTTP_POST_VARS['prunedays'];
// Convert days to seconds for timestamp functions... // Convert days to seconds for timestamp functions...
$prunesecs = $prunedays * 1440 * 60; $prunesecs = $prunedays * 1440 * 60;
$prunedate = time() - $prunesecs; $prunedate = time() - $prunesecs;
include('page_header_admin.'.$phpEx);
$template->set_filenames(array( $template->set_filenames(array(
"body" => "admin/forum_prune_result_body.tpl") "body" => "admin/forum_prune_result_body.tpl")
); );
reset($forum_rows); reset($forum_rows);
while(list(, $forum_data) = each ($forum_rows)) while(list(, $forum_data) = each ($forum_rows))
{ {
$p_result = prune($forum_data['forum_id'], $prunedate); $p_result = prune($forum_data['forum_id'], $prunedate);
$template->assign_block_vars("prune_results", array( $template->assign_block_vars("prune_results", array(
"FORUM_NAME" => $forum_data['forum_name'], "FORUM_NAME" => $forum_data['forum_name'],
"FORUM_TOPICS" => $p_result['topics'], "FORUM_TOPICS" => $p_result['topics'],
"FORUM_POSTS" => $p_result['posts']) "FORUM_POSTS" => $p_result['posts'])
); );
} }
$template->assign_vars(array( $template->assign_vars(array(
"PRUNE_MSG" => "Pruning of forums was successful") "PRUNE_MSG" => "Pruning of forums was successful")
); );
@ -148,17 +155,21 @@ else
// //
// Output a selection table if no forum id has been specified. // Output a selection table if no forum id has been specified.
// //
include('page_header_admin.'.$phpEx);
$template->set_filenames(array( $template->set_filenames(array(
"body" => "admin/forum_prune_select_body.tpl") "body" => "admin/forum_prune_select_body.tpl")
); );
$select_list = "<select name=\"" . POST_FORUM_URL . "\">\n"; $select_list = "<select name=\"" . POST_FORUM_URL . "\">\n";
$select_list .= "<option value=\"\">Select a Forum</option>\n";
$select_list .= "<option value=\"ALL\">All Forums</option>\n"; $select_list .= "<option value=\"ALL\">All Forums</option>\n";
for($i = 0; $i < count($forum_rows); $i++) for($i = 0; $i < count($forum_rows); $i++)
{ {
$select_list .= "<option value=\"" . $forum_rows[$i]['forum_id'] . "\">" . $forum_rows[$i]['forum_name'] . "</option>\n"; $select_list .= "<option value=\"" . $forum_rows[$i]['forum_id'] . "\">" . $forum_rows[$i]['forum_name'] . "</option>\n";
} }
$select_list .= "</select>\n"; $select_list .= "</select>\n";
// //
// Assign the template variables. // Assign the template variables.
// //
@ -172,13 +183,17 @@ else
// //
// Output the form to retrieve Prune information. // Output the form to retrieve Prune information.
// //
include('page_header_admin.'.$phpEx);
$template->set_filenames(array( $template->set_filenames(array(
"body" => "admin/forum_prune_body.tpl") "body" => "admin/forum_prune_body.tpl")
); );
$forum_name = ($forum_id == "ALL") ? 'All Forums' : $forum_rows[0]['forum_name']; $forum_name = ($forum_id == "ALL") ? 'All Forums' : $forum_rows[0]['forum_name'];
$prune_data = "Prune Topics that haven't been posted to in the last "; $prune_data = "Prune Topics that haven't been posted to in the last ";
$prune_data .= "<input type=\"text\" name=\"prunedays\" size=\"4\"> Days."; $prune_data .= "<input type=\"text\" name=\"prunedays\" size=\"4\"> Days.";
$hidden_input = "<input type=\"hidden\" name=\"" . POST_FORUM_URL . "\" value=\"$forum_id\">"; $hidden_input = "<input type=\"hidden\" name=\"" . POST_FORUM_URL . "\" value=\"$forum_id\">";
// //

View file

@ -59,7 +59,7 @@ else if( $userdata['user_level'] != ADMIN )
// Start program - define vars // Start program - define vars
// //
$simple_auth_ary = array( $simple_auth_ary = array(
0 => array(0, 0, 0, 0, 1, 0, 3, 3), 0 => array(0, 0, 0, 0, 1, 1, 3, 3),
1 => array(0, 0, 0, 0, 3, 3, 3, 3), 1 => array(0, 0, 0, 0, 3, 3, 3, 3),
2 => array(0, 0, 1, 1, 1, 1, 3, 3), 2 => array(0, 0, 1, 1, 1, 1, 3, 3),
3 => array(1, 1, 1, 1, 1, 1, 3, 3), 3 => array(1, 1, 1, 1, 1, 1, 3, 3),
@ -67,8 +67,8 @@ $simple_auth_ary = array(
5 => array(2, 2, 2, 2, 2, 2, 2, 3), 5 => array(2, 2, 2, 2, 2, 2, 2, 3),
6 => array(0, 3, 3, 3, 3, 3, 3, 3), 6 => array(0, 3, 3, 3, 3, 3, 3, 3),
7 => array(3, 3, 3, 3, 3, 3, 3, 3), 7 => array(3, 3, 3, 3, 3, 3, 3, 3),
8 => array(0, 0, 3, 0, 0, 0, 3, 3), 8 => array(0, 0, 3, 0, 1, 1, 3, 3),
9 => array(0, 0, 3, 1, 0, 0, 3, 3) 9 => array(0, 0, 3, 1, 1, 1, 3, 3)
); );
$simple_auth_types = array("Public", "Test Restricted", "Registered", "Registered [Hidden]", "Private", "Private [Hidden]", "Moderators", "Moderators [Hidden]", "Moderator Post + All Reply", "Moderator Post + Reg Reply"); $simple_auth_types = array("Public", "Test Restricted", "Registered", "Registered [Hidden]", "Private", "Private [Hidden]", "Moderators", "Moderators [Hidden]", "Moderator Post + All Reply", "Moderator Post + Reg Reply");

View file

@ -583,7 +583,7 @@ if(isset($HTTP_POST_VARS['submit']) && !empty($HTTP_POST_VARS[POST_USERS_URL]))
} }
else else
{ {
header("Location: admin_userauth.$phpEx?" . POST_USERS_URL . "=$user_id"); header("Location: " . append_sid("admin_userauth.$phpEx?" . POST_USERS_URL . "=$user_id"));
} }
} }

View file

@ -52,12 +52,8 @@ if($board_config['gzip_compress'])
} }
} }
if(empty($template_header))
{
$template_header = "admin/page_header.tpl";
}
$template->set_filenames(array( $template->set_filenames(array(
"header" => $template_header) "header" => "admin/page_header.tpl")
); );
// //
@ -129,12 +125,21 @@ $template->assign_vars(array(
"T_TR_COLOR1" => "#".$theme['tr_color1'], "T_TR_COLOR1" => "#".$theme['tr_color1'],
"T_TR_COLOR2" => "#".$theme['tr_color2'], "T_TR_COLOR2" => "#".$theme['tr_color2'],
"T_TR_COLOR3" => "#".$theme['tr_color3'], "T_TR_COLOR3" => "#".$theme['tr_color3'],
"T_TR_CLASS1" => $theme['tr_class1'],
"T_TR_CLASS2" => $theme['tr_class2'],
"T_TR_CLASS3" => $theme['tr_class3'],
"T_TH_COLOR1" => "#".$theme['th_color1'], "T_TH_COLOR1" => "#".$theme['th_color1'],
"T_TH_COLOR2" => "#".$theme['th_color2'], "T_TH_COLOR2" => "#".$theme['th_color2'],
"T_TH_COLOR3" => "#".$theme['th_color3'], "T_TH_COLOR3" => "#".$theme['th_color3'],
"T_TH_CLASS1" => $theme['th_class1'],
"T_TH_CLASS2" => $theme['th_class2'],
"T_TH_CLASS3" => $theme['th_class3'],
"T_TD_COLOR1" => "#".$theme['td_color1'], "T_TD_COLOR1" => "#".$theme['td_color1'],
"T_TD_COLOR2" => "#".$theme['td_color2'], "T_TD_COLOR2" => "#".$theme['td_color2'],
"T_TD_COLOR3" => "#".$theme['td_color3'], "T_TD_COLOR3" => "#".$theme['td_color3'],
"T_TD_CLASS1" => $theme['td_class1'],
"T_TD_CLASS2" => $theme['td_class2'],
"T_TD_CLASS3" => $theme['td_class3'],
"T_FONTFACE1" => $theme['fontface1'], "T_FONTFACE1" => $theme['fontface1'],
"T_FONTFACE2" => $theme['fontface2'], "T_FONTFACE2" => $theme['fontface2'],
"T_FONTFACE3" => $theme['fontface3'], "T_FONTFACE3" => $theme['fontface3'],
@ -144,10 +149,9 @@ $template->assign_vars(array(
"T_FONTCOLOR1" => "#".$theme['fontcolor1'], "T_FONTCOLOR1" => "#".$theme['fontcolor1'],
"T_FONTCOLOR2" => "#".$theme['fontcolor2'], "T_FONTCOLOR2" => "#".$theme['fontcolor2'],
"T_FONTCOLOR3" => "#".$theme['fontcolor3'], "T_FONTCOLOR3" => "#".$theme['fontcolor3'],
"T_IMG1" => $theme['img1'], "T_SPAN_CLASS1" => $theme['span_class1'],
"T_IMG2" => $theme['img2'], "T_SPAN_CLASS2" => $theme['span_class2'],
"T_IMG3" => $theme['img3'], "T_SPAN_CLASS3" => $theme['span_class3'])
"T_IMG4" => $theme['img4'])
); );
header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT"); header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");

View file

@ -44,20 +44,14 @@ INSERT INTO phpbb_posts (post_id, topic_id, forum_id, poster_id, post_time, post
INSERT INTO phpbb_posts_text (post_id, post_subject, post_text) VALUES (1, 'This is the subject', 'This is a demo post in the demo topic, what do you think of it?'); INSERT INTO phpbb_posts_text (post_id, post_subject, post_text) VALUES (1, 'This is the subject', 'This is a demo post in the demo topic, what do you think of it?');
# -- Themes # -- Themes
INSERT INTO phpbb_themes (themes_id, themes_name, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, th_color1, th_color2, th_color3, td_color1, td_color2, td_color3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, img1, img2, img3, img4) VALUES ( '1', 'Default-Default', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'CCCCCC', 'DDDDDD', '', '', '', '', '0', '0', '0', '', '', '', '', '', '', ''); INSERT INTO phpbb_themes (themes_id, themes_name, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, tr_class1, tr_class2, tr_class3, th_color1, th_color2, th_color3, th_class1, th_class2, th_class3, td_color1, td_color2, td_color3, td_class1, td_class2, td_class3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, span_class1, span_class2, span_class3) VALUES (1,'Default-Default','','','','','','','','','','','',NULL,NULL,NULL,'','','',NULL,NULL,NULL,'CCCCCC','DDDDDD','',NULL,NULL,NULL,'','','','','','','','','',NULL,NULL,NULL);
INSERT INTO phpbb_themes_name (themes_id, tr_color1_name, tr_color2_name, tr_color3_name, th_color1_name, th_color2_name, th_color3_name, td_color1_name, td_color2_name, td_color3_name, fontface1_name, fontface2_name, fontface3_name, fontsize1_name, fontsize2_name, fontsize3_name, fontcolor1_name, fontcolor2_name, fontcolor3_name, img1_name, img2_name, img3_name, img4_name) VALUES ( '1', '', '', '', '', '', '', '', 'Row Color 1', 'Row Color 2', '', '', '', '', '', '', '', '', '', '', '', '', '');
INSERT INTO phpbb_themes (themes_id, themes_name, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, th_color1, th_color2, th_color3, td_color1, td_color2, td_color3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, img1, img2, img3, img4) VALUES ( '2', 'PSO-Default', 'site_style_default.css', '', 'FFFFFF', '000000', '002266', '004411', '', '', '', '', '', '000000', 'D2D2D2', 'BCBCBC', 'EDEDED', 'DEDEDE', '', 'verdana,serif', 'arial,helvetica', 'courier', '1', '2', '3', '', '', '', '', '', '', ''); INSERT INTO phpbb_themes (themes_id, themes_name, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, tr_class1, tr_class2, tr_class3, th_color1, th_color2, th_color3, th_class1, th_class2, th_class3, td_color1, td_color2, td_color3, td_class1, td_class2, td_class3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, span_class1, span_class2, span_class3) VALUES (2,'PSO-Default','','','FFFFFF','000000','002266','004411','','','','','','','','','000000','D2D2D2','BCBCBC','','','','EDEDED','DEDEDE','','row1','row2','','verdana,serif','arial,helvetica','courier',1,2,3,'','','','','','');
INSERT INTO phpbb_themes_name (themes_id, tr_color1_name, tr_color2_name, tr_color3_name, th_color1_name, th_color2_name, th_color3_name, td_color1_name, td_color2_name, td_color3_name, fontface1_name, fontface2_name, fontface3_name, fontsize1_name, fontsize2_name, fontsize3_name, fontcolor1_name, fontcolor2_name, fontcolor3_name, img1_name, img2_name, img3_name, img4_name) VALUES ( '2', '', '', '', 'Table Background', 'Title Header', 'Category Header', 'Table background', 'Row Color 1', 'Row Color 2', 'Verdana,Serif', 'Arial,Sans-serif', 'Verdana,serif', 'Smallest', 'Typical', 'Largest', 'All text', '', '', '', '', '', '');
INSERT INTO phpbb_themes (themes_id, themes_name, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, th_color1, th_color2, th_color3, td_color1, td_color2, td_color3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, img1, img2, img3, img4) VALUES ( '3', 'PSO-Wheat', '', '', 'FFFFFF', '000000', '002266', '004411', '', '', '', '', '', '001100', 'E5CCA5', 'D4A294', 'EBE4D9', 'DAD1C4', '', 'verdana,serif', 'arial,helvetica', 'courier', '1', '2', '3', '000000', '', '', '', '', '', ''); INSERT INTO phpbb_themes (themes_id, themes_name, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, tr_class1, tr_class2, tr_class3, th_color1, th_color2, th_color3, th_class1, th_class2, th_class3, td_color1, td_color2, td_color3, td_class1, td_class2, td_class3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, span_class1, span_class2, span_class3) VALUES (3,'PSO-Wheat','','','FFFFFF','000000','002266','004411','','','','','',NULL,NULL,NULL,'001100','E5CCA5','D4A294',NULL,NULL,NULL,'EBE4D9','DAD1C4','','row1','row2',NULL,'verdana,serif','arial,helvetica','courier',1,2,3,'000000','','',NULL,NULL,NULL);
INSERT INTO phpbb_themes_name (themes_id, tr_color1_name, tr_color2_name, tr_color3_name, th_color1_name, th_color2_name, th_color3_name, td_color1_name, td_color2_name, td_color3_name, fontface1_name, fontface2_name, fontface3_name, fontsize1_name, fontsize2_name, fontsize3_name, fontcolor1_name, fontcolor2_name, fontcolor3_name, img1_name, img2_name, img3_name, img4_name) VALUES ( '3', '', '', '', 'Table Background', 'Title Header', 'Category Header', 'Table background', 'Row Color 1', 'Row Color 2', 'Verdana,Serif', 'Arial,Sans-serif', 'Verdana,serif', 'Smallest', 'Typical', 'Largest', 'All text', '', '', '', '', '', '');
INSERT INTO phpbb_themes (themes_id, themes_name, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, th_color1, th_color2, th_color3, td_color1, td_color2, td_color3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, img1, img2, img3, img4) VALUES ( '4', 'PSO-Ocean', '', '', 'DFF5FF', '000000', '011001', '2100cc', '', '', '', '', '', '000000', 'A7C1CB', '7897A8', '83D7CC', 'A0CCE0', '', 'verdana,serif', 'arial,helvetica', 'courier', '1', '2', '3', '', '', '', '', '', '', ''); INSERT INTO phpbb_themes (themes_id, themes_name, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, tr_class1, tr_class2, tr_class3, th_color1, th_color2, th_color3, th_class1, th_class2, th_class3, td_color1, td_color2, td_color3, td_class1, td_class2, td_class3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, span_class1, span_class2, span_class3) VALUES (4,'PSO-Ocean','','','DFF5FF','000000','011001','2100cc','','','','','',NULL,NULL,NULL,'000000','A7C1CB','7897A8',NULL,NULL,NULL,'83D7CC','A0CCE0','','row1','row2',NULL,'verdana,serif','arial,helvetica','courier',1,2,3,'','','',NULL,NULL,NULL);
INSERT INTO phpbb_themes_name (themes_id, tr_color1_name, tr_color2_name, tr_color3_name, th_color1_name, th_color2_name, th_color3_name, td_color1_name, td_color2_name, td_color3_name, fontface1_name, fontface2_name, fontface3_name, fontsize1_name, fontsize2_name, fontsize3_name, fontcolor1_name, fontcolor2_name, fontcolor3_name, img1_name, img2_name, img3_name, img4_name) VALUES ( '4', '', '', '', 'Table Background', 'Title Header', 'Category Header', 'Table background', 'Row Color 1', 'Row Color 2', 'Verdana,Serif', 'Arial,Sans-serif', 'Verdana,serif', 'Smallest', 'Typical', 'Largest', 'All text', '', '', '', '', '', '');
INSERT INTO phpbb_themes (themes_id, themes_name, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, th_color1, th_color2, th_color3, td_color1, td_color2, td_color3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, img1, img2, img3, img4) VALUES ( '6', 'PSO-Blue', '', '', 'FFFFFF', '000000', '417FB9', '4E6172', '0000AA', '', '', '', '', '000000', '90BAE2', '518EC7', 'cde3f2', 'daedFd', '', 'verdana,serif', 'arial,helvetica', 'courier', '1', '2', '3', '000000', '', '', '', '', '', ''); INSERT INTO phpbb_themes (themes_id, themes_name, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, tr_class1, tr_class2, tr_class3, th_color1, th_color2, th_color3, th_class1, th_class2, th_class3, td_color1, td_color2, td_color3, td_class1, td_class2, td_class3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, span_class1, span_class2, span_class3) VALUES (6,'PSO-Blue','','','FFFFFF','000000','417FB9','4E6172','0000AA','','','','','','','','000000','90BAE2','5195D4','','','','cde3f2','daedFd','','row1','row2','','verdana,serif','arial,helvetica','courier',1,2,3,'000000','','','','','');
INSERT INTO phpbb_themes_name (themes_id, tr_color1_name, tr_color2_name, tr_color3_name, th_color1_name, th_color2_name, th_color3_name, td_color1_name, td_color2_name, td_color3_name, fontface1_name, fontface2_name, fontface3_name, fontsize1_name, fontsize2_name, fontsize3_name, fontcolor1_name, fontcolor2_name, fontcolor3_name, img1_name, img2_name, img3_name, img4_name) VALUES ( '5', '', '', '', 'Table Background', 'Title Header', 'Category Header', 'Table background', 'Row Color 1', 'Row Color 2', 'Verdana,Serif', 'Arial,Sans-serif', 'Verdana,serif', 'Smallest', 'Typical', 'Largest', 'All text', '', '', '', '', '', '');
INSERT INTO phpbb_themes (themes_id, themes_name, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, th_color1, th_color2, th_color3, td_color1, td_color2, td_color3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, img1, img2, img3, img4) VALUES ( '7', 'PSO-Cool Midnight', '', '', '444444', 'ECECEC', 'EDF2F2', 'DDEDED', 'FFFFFF', 'EDF2F2', '', '', '', '000000', '80707F', '66555F', '60707D', '667A80', '', 'Verdana,serif', 'Arial,Helvetica,sans-serif', 'courier', '0', '0', '0', 'ECECEC', 'ECECEC', 'ECECEC', '', '', '', ''); INSERT INTO phpbb_themes (themes_id, themes_name, head_stylesheet, body_background, body_bgcolor, body_text, body_link, body_vlink, body_alink, body_hlink, tr_color1, tr_color2, tr_color3, tr_class1, tr_class2, tr_class3, th_color1, th_color2, th_color3, th_class1, th_class2, th_class3, td_color1, td_color2, td_color3, td_class1, td_class2, td_class3, fontface1, fontface2, fontface3, fontsize1, fontsize2, fontsize3, fontcolor1, fontcolor2, fontcolor3, span_class1, span_class2, span_class3) VALUES (7,'PSO-Cool Midnight','','','444444','ECECEC','EDF2F2','DDEDED','FFFFFF','EDF2F2','','','',NULL,NULL,NULL,'000000','80707F','66555F',NULL,NULL,NULL,'60707D','667A80','','row1','row2',NULL,'Verdana,serif','Arial,Helvetica,sans-serif','courier','','','','ECECEC','ECECEC','ECECEC',NULL,NULL,NULL);
INSERT INTO phpbb_themes_name (themes_id, tr_color1_name, tr_color2_name, tr_color3_name, th_color1_name, th_color2_name, th_color3_name, td_color1_name, td_color2_name, td_color3_name, fontface1_name, fontface2_name, fontface3_name, fontsize1_name, fontsize2_name, fontsize3_name, fontcolor1_name, fontcolor2_name, fontcolor3_name, img1_name, img2_name, img3_name, img4_name) VALUES ( '6', '', '', '', 'Table Background', 'Title Header', 'Category Header', 'Table background', 'Row Color 1', 'Row Color 2', 'Verdana,Serif', 'Arial,Sans-serif', 'Verdana,serif', 'Smallest', 'Typical', 'Largest', 'All text', '', '', '', '', '', '');

View file

@ -327,43 +327,50 @@ CREATE TABLE phpbb_smilies (
# Table structure for table 'phpbb_themes' # Table structure for table 'phpbb_themes'
# #
DROP TABLE IF EXISTS phpbb_themes; DROP TABLE IF EXISTS phpbb_themes;
CREATE TABLE `phpbb_themes` (
CREATE TABLE phpbb_themes ( `themes_id` int(11) NOT NULL auto_increment,
themes_id int(11) NOT NULL auto_increment, `themes_name` varchar(30) NOT NULL default '',
themes_name varchar(30) NOT NULL, `head_stylesheet` varchar(100) default NULL,
head_stylesheet varchar(100), `body_background` varchar(100) default NULL,
body_background varchar(100), `body_bgcolor` varchar(6) default NULL,
body_bgcolor char(6), `body_text` varchar(6) default NULL,
body_text char(6), `body_link` varchar(6) default NULL,
body_link char(6), `body_vlink` varchar(6) default NULL,
body_vlink char(6), `body_alink` varchar(6) default NULL,
body_alink char(6), `body_hlink` varchar(6) default NULL,
body_hlink char(6), `tr_color1` varchar(6) default NULL,
tr_color1 char(6), `tr_color2` varchar(6) default NULL,
tr_color2 char(6), `tr_color3` varchar(6) default NULL,
tr_color3 char(6), `tr_class1` varchar(20) default NULL,
th_color1 char(6), `tr_class2` varchar(20) default NULL,
th_color2 char(6), `tr_class3` varchar(25) default NULL,
th_color3 char(6), `th_color1` varchar(6) default NULL,
td_color1 char(6), `th_color2` varchar(6) default NULL,
td_color2 char(6), `th_color3` varchar(6) default NULL,
td_color3 char(6), `th_class1` varchar(25) default NULL,
fontface1 varchar(50), `th_class2` varchar(25) default NULL,
fontface2 varchar(50), `th_class3` varchar(6) default NULL,
fontface3 varchar(50), `td_color1` varchar(6) default NULL,
fontsize1 tinyint(4), `td_color2` varchar(6) default NULL,
fontsize2 tinyint(4), `td_color3` varchar(6) default NULL,
fontsize3 tinyint(4), `td_class1` varchar(25) default NULL,
fontcolor1 char(6), `td_class2` varchar(25) default NULL,
fontcolor2 char(6), `td_class3` varchar(25) default NULL,
fontcolor3 char(6), `fontface1` varchar(50) default NULL,
img1 varchar(100), `fontface2` varchar(50) default NULL,
img2 varchar(100), `fontface3` varchar(50) default NULL,
img3 varchar(100), `fontsize1` tinyint(4) default NULL,
img4 varchar(100), `fontsize2` tinyint(4) default NULL,
PRIMARY KEY (themes_id), `fontsize3` tinyint(4) default NULL,
KEY themes_name (themes_name) `fontcolor1` varchar(6) default NULL,
); `fontcolor2` varchar(6) default NULL,
`fontcolor3` varchar(6) default NULL,
`span_class1` varchar(25) default NULL,
`span_class2` varchar(25) default NULL,
`span_class3` varchar(25) default NULL,
PRIMARY KEY (`themes_id`),
KEY `themes_name` (`themes_name`)
)
# -------------------------------------------------------- # --------------------------------------------------------

View file

@ -752,12 +752,12 @@ function tz_select($default)
"+5.5" => "(GMT +5:30 hours) Bombay, Calcutta, Madras, New Delhi", "+5.5" => "(GMT +5:30 hours) Bombay, Calcutta, Madras, New Delhi",
"+6" => "(GMT +6:00 hours) Almaty, Colombo, Dhaka", "+6" => "(GMT +6:00 hours) Almaty, Colombo, Dhaka",
"+7" => "(GMT +7:00 hours) Bangkok, Hanoi, Jakarta", "+7" => "(GMT +7:00 hours) Bangkok, Hanoi, Jakarta",
"+8" => "(GMT +8:00 hours) Beijing, Chongqing, Hong Kong, Perth, Singapore, Taipei", "+8" => "(GMT +8:00 hours) Beijing, Hong Kong, Perth, Singapore, Taipei",
"+9" => "(GMT +9:00 hours) Osaka, Sapporo, Seoul, Tokyo, Yakutsk", "+9" => "(GMT +9:00 hours) Osaka, Sapporo, Seoul, Tokyo, Yakutsk",
"+9.5" => "(GMT +9:30 hours) Adelaide, Darwin", "+9.5" => "(GMT +9:30 hours) Adelaide, Darwin",
"+10" => "(GMT +10:00 hours) Guam, Melbourne, Papua New Guinea, Sydney, Vladivostok", "+10" => "(GMT +10:00 hours) Melbourne, Papua New Guinea, Sydney, Vladivostok",
"+11" => "(GMT +11:00 hours) Magadan, New Caledonia, Solomon Islands", "+11" => "(GMT +11:00 hours) Magadan, New Caledonia, Solomon Islands",
"+12" => "(GMT +12:00 hours) Auckland, Wellington, Fiji, Kamchatka, Marshall Island"); "+12" => "(GMT +12:00 hours) Auckland, Wellington, Fiji, Marshall Island");
while(list($offset, $zone) = each($tz_array)) while(list($offset, $zone) = each($tz_array))
{ {

View file

@ -1,41 +1,40 @@
<h1>Configuration</h1> <br clear="all" />
<h1>General Configuration</h1>
<p>The form below will allow you to customize all the general board options. For User and Forum configurations use the related links on the left hand side.</p>
<p>
The form below will allow you to customize all the general board options. For User and Forum configurations use the related links on the left hand side.
</p>
<form action="{S_CONFIG_ACTION}" method="POST"> <form action="{S_CONFIG_ACTION}" method="POST">
<table border="0" cellpadding="1" cellspacing="0" width="70%" align="center">
<table width="99%" cellpadding="1" cellspacing="0" border="0" align="center">
<tr> <tr>
<td class="tablebg"> <td class="tablebg" width="100%"><table width="100%" cellpadding="4" cellspacing="1" border="0">
<table width="100%" cellpadding="4" cellspacing="1" border="0">
<tr> <tr>
<th colspan="2">General Board Settings</th> <td class="cat" colspan="2"><span class="cattitle">General Board Settings</span></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Site Name:</td> <td class="row1">Site Name:</td>
<td class="row2"><input type="text" size="25" maxlength="100" name="sitename" value="{SITENAME}"></td> <td class="row2"><input type="text" size="25" maxlength="100" name="sitename" value="{SITENAME}"></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Require user account activation:</td> <td class="row1">Enable account activation:</td>
<td class="row2"><input type="radio" name="require_activation" value="1" {ACTIVATION_YES}>Yes&nbsp;&nbsp;<input type="radio" name="require_activation" value="0" {ACTIVATION_NO}>No</td> <td class="row2"><input type="radio" name="require_activation" value="1" {ACTIVATION_YES}>Yes&nbsp;&nbsp;<input type="radio" name="require_activation" value="0" {ACTIVATION_NO}>No</td>
</tr> </tr>
<tr> <tr>
<td class="row1">Flood Interval: <br /> <td class="row1">Flood Interval: <br /><span class="gensmall">Number of seconds a user must wait between posts</span></td>
<span class="gensmall">(number of seconds a user must wait between posts)</span> <td class="row2"><input type="text" size="3" maxlength="4" name="flood_interval" value="{FLOOD_INTERVAL}"></td>
</td>
<td class="row2"><input type="text" size="3" maxlengh="4" name="flood_interval" value="{FLOOD_INTERVAL}"></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Topics Per Page</td> <td class="row1">Topics Per Page</td>
<td class="row2"><input type="text" name="topics_per_page" size="3" maxlengh="4" value="{TOPICS_PER_PAGE}"></td> <td class="row2"><input type="text" name="topics_per_page" size="3" maxlength="4" value="{TOPICS_PER_PAGE}"></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Posts Per Page</td> <td class="row1">Posts Per Page</td>
<td class="row2"><input type="text" name="posts_per_page" size="3" maxlengh="4" value="{POSTS_PER_PAGE}"></td> <td class="row2"><input type="text" name="posts_per_page" size="3" maxlength="4" value="{POSTS_PER_PAGE}"></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Hot Threshold</td> <td class="row1">Hot Threshold</td>
<td class="row2"><input type="text" name="hot_topic" size="3" maxlengh="4" value="{HOT_TOPIC}"></td> <td class="row2"><input type="text" name="hot_topic" size="3" maxlength="4" value="{HOT_TOPIC}"></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Default Template:</td> <td class="row1">Default Template:</td>
@ -50,9 +49,7 @@
<td class="row2">{LANG_SELECT}</td> <td class="row2">{LANG_SELECT}</td>
</tr> </tr>
<tr> <tr>
<td class="row1">Date Format:<br /> <td class="row1">Date Format:<br /><span class="gensmall">{L_DATE_FORMAT_EXPLAIN}</span></td>
<span class="gensmall">{L_DATE_FORMAT_EXPLAIN}</span>
</td>
<td class="row2"><input type="text" maxlength="16" name="date_format" value="{DATE_FORMAT}"></td> <td class="row2"><input type="text" maxlength="16" name="date_format" value="{DATE_FORMAT}"></td>
</tr> </tr>
<tr> <tr>
@ -64,7 +61,7 @@
<td class="row2"><input type="radio" name="gzip" value="1" {GZIP_YES}> Yes&nbsp;&nbsp;<input type="radio" name="gzip" value="1" {GZIP_NO}> No</td> <td class="row2"><input type="radio" name="gzip" value="1" {GZIP_YES}> Yes&nbsp;&nbsp;<input type="radio" name="gzip" value="1" {GZIP_NO}> No</td>
</tr> </tr>
<tr> <tr>
<th colspan="2">User/Forum Ability Settings</th> <td class="cat" colspan="2"><span class="cattitle">User/Forum Ability Settings</span></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Allow HTML</td> <td class="row1">Allow HTML</td>
@ -87,16 +84,14 @@
<td class="row2"><input type="radio" name="allow_namechange" value="1" {NAMECHANGE_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_namechange" value="0" {NAMECHANGE_NO}> No</td> <td class="row2"><input type="radio" name="allow_namechange" value="1" {NAMECHANGE_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_namechange" value="0" {NAMECHANGE_NO}> No</td>
</tr> </tr>
<tr> <tr>
<th colspan="2">Avatar Settings</th> <td class="cat" colspan="2"><span class="cattitle">Avatar Settings</span></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Allow use of local avatar images</td> <td class="row1">Allow local gallery avatars</td>
<td class="row2"><input type="radio" name="allow_avatars_local" value="1" {AVATARS_LOCAL_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_avatars_local" value="0" {AVATARS_LOCAL_NO}> No</td> <td class="row2"><input type="radio" name="allow_avatars_local" value="1" {AVATARS_LOCAL_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_avatars_local" value="0" {AVATARS_LOCAL_NO}> No</td>
</tr> </tr>
<tr> <tr>
<td class="row1">Allow use of remote avatar images <br /> <td class="row1">Allow remote avatars <br /><span class="gensmall">Avatars linked from another website</span></td>
<span class="gensmall">(Avatars linked from another website)
</td>
<td class="row2"><input type="radio" name="allow_avatars_remote" value="1" {AVATARS_REMOTE_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_avatars_remote" value="0" {AVATARS_REMOTE_NO}> No</td> <td class="row2"><input type="radio" name="allow_avatars_remote" value="1" {AVATARS_REMOTE_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_avatars_remote" value="0" {AVATARS_REMOTE_NO}> No</td>
</tr> </tr>
<tr> <tr>
@ -104,9 +99,7 @@
<td class="row2"><input type="radio" name="allow_avatars_upload" value="1" {AVATARS_UPLOAD_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_avatars_upload" value="0" {AVATARS_UPLOAD_NO}> No</td> <td class="row2"><input type="radio" name="allow_avatars_upload" value="1" {AVATARS_UPLOAD_YES}> Yes&nbsp;&nbsp;<input type="radio" name="allow_avatars_upload" value="0" {AVATARS_UPLOAD_NO}> No</td>
</tr> </tr>
<tr> <tr>
<td class="row1">Max. Avatar File Size<br /> <td class="row1">Max. Avatar File Size<br /><span class="gensmall">For uploaded avatar files</span></td>
<span class="gensmall">(For uploaded avatar files)</span>
</td>
<td class="row2"><input type="text" size="4" maxlength="10" name="avatar_filesize" value="{AVATAR_FILESIZE}"> Bytes</td> <td class="row2"><input type="text" size="4" maxlength="10" name="avatar_filesize" value="{AVATAR_FILESIZE}"> Bytes</td>
</tr> </tr>
<tr> <tr>
@ -116,28 +109,22 @@
<td class="row2"><input type="text" size="3" maxlength="4" name="avatar_height" value="{AVATAR_HEIGHT}"> x <input type="text" size="3" maxlength="4" name="avatar_width" value="{AVATAR_WIDTH}"></td> <td class="row2"><input type="text" size="3" maxlength="4" name="avatar_height" value="{AVATAR_HEIGHT}"> x <input type="text" size="3" maxlength="4" name="avatar_width" value="{AVATAR_WIDTH}"></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Avatar Storage Path <br /> <td class="row1">Avatar Storage Path <br /><span class="gensmall">Path under your phpBB root dir, e.g. images/avatars</span></td>
<span class="gensmall">(Specify the path under your phpBB root dir. e.g.: images/avatars)</span>
</td>
<td class="row2"><input type="text" size="20" maxlength="255" name="avatar_path" value="{AVATAR_PATH}"></td> <td class="row2"><input type="text" size="20" maxlength="255" name="avatar_path" value="{AVATAR_PATH}"></td>
</tr> </tr>
<tr> <tr>
<th colspan="2">Email Settings</th> <td class="cat" colspan="2"><span class="cattitle">Email Settings</span></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Admin Email Address</td> <td class="row1">Admin Email Address</td>
<td class="row2"><input type="text" size="25" maxlength="100" name="admin_email" value="{ADMIN_EMAIL}"></td> <td class="row2"><input type="text" size="25" maxlength="100" name="admin_email" value="{ADMIN_EMAIL}"></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Email Signature<br /> <td class="row1">Email Signature<br /><span class="gensmall">This text will be attached to all emails the board sends</span></td>
<span class="gensmall">(This text will be attached to all emails the board sends)</span>
</td>
<td class="row2"><textarea name="email_sig" rows="5" cols="30">{EMAIL_SIG}</textarea></td> <td class="row2"><textarea name="email_sig" rows="5" cols="30">{EMAIL_SIG}</textarea></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Use SMTP for delivery<br /> <td class="row1">Use SMTP for delivery<br /><span class="gensmall">Say yes if you want or have to send email via a server instead of the local mail function</span></td>
<span class="gensmall">(This will tell phpBB to use a specified email server insted of the built in mail() function)</span>
</td>
<td class="row2"><input type="radio" name="use_smtp" value="1" {SMTP_YES}> Yes&nbsp;&nbsp;<input type="radio" name="use_smtp" value="0" {SMTP_NO}> No</td> <td class="row2"><input type="radio" name="use_smtp" value="1" {SMTP_YES}> Yes&nbsp;&nbsp;<input type="radio" name="use_smtp" value="0" {SMTP_NO}> No</td>
</tr> </tr>
<tr> <tr>
@ -145,15 +132,15 @@
<td class="row2"><input type="text" name="smtp_server" value="{SMTP_SERVER}" size="25" maxlength="50"></td> <td class="row2"><input type="text" name="smtp_server" value="{SMTP_SERVER}" size="25" maxlength="50"></td>
</tr> </tr>
<tr> <tr>
<td class="row1" align="center" colspan="2"> <td class="cat" colspan="2" align="center">
<input type="hidden" name="mode" value="config"> <input type="hidden" name="mode" value="config">
<input type="submit" name="submit" value="Save Settings"> <input type="submit" name="submit" value="Save Settings">
</td> </td>
</tr> </tr>
</table> </table></td>
</td>
</tr> </tr>
</table> </table>
</form> </form>
<br clear="all"> <br clear="all">

View file

@ -1,50 +1,49 @@
<br clear="all">
<h1>Welcome to phpBB</h1> <h1>Welcome to phpBB</h1>
<p> <p>Thank you for choosing phpBB as your forum solution. This screen will give you a quick overview of all the various statistics of your board. You can get back to this page by clicking on the <u>Admin Index</u> link in the left pane. To return to the index of your board, click the <u>Board Index</u> link also in the left pane. The other links on the left hand side of this screen will allow you to control every aspect of your forum experience, each screen will have instructions on how to use the tools.</p>
Thank you for choosing phpBB as your forum solution. This screen will give you a quick overview of all the various statistics of your board. You can get back to this page by clicking on the <i><u>overview</u></i> link in the left pane.<br />
The other links on the left hand side of this screen will allow you to control every aspect of your forum experiance, each screen will have instructions on how to use the tools.
</p>
<h2>Forum Statistics</h2> <h2>Forum Statistics</h2>
<table border="0" cellpadding="1" cellspacing="0" width="70%" align="center">
<table border="0" cellpadding="1" cellspacing="0" width="98%" align="center">
<tr> <tr>
<td class="tablebg"> <td class="tablebg">
<table width="100%" cellpadding="4" cellspacing="1" border="0"> <table width="100%" cellpadding="4" cellspacing="1" border="0">
<tr> <tr>
<th width="25%">Statistic</th> <th width="25%" nowrap>Statistic</th>
<th width="25%">Value</th> <th width="25%">Value</th>
<th width="25%">Statistic</th> <th width="25%" nowrap>Statistic</th>
<th width="25%">Value</th> <th width="25%">Value</th>
</tr> </tr>
<tr> <tr>
<td class="row1">Current number of posts:</td> <td class="row1" nowrap>Current number of posts:</td>
<td class="row2"><b>{NUMBER_OF_POSTS}</b></td> <td class="row2"><b>{NUMBER_OF_POSTS}</b></td>
<td class="row1">Current number of topics:</td> <td class="row1" nowrap>Posts per day:</td>
<td class="row2"><b>{NUMBER_OF_TOPICS}</b></td>
</tr>
<tr>
<td class="row1">Current number of users:</td>
<td class="row2"><b>{NUMBER_OF_USERS}</b></td>
<td class="row1">Board started on:</td>
<td class="row2"><b>{STARTDATE}</b></td>
</tr>
<tr>
<td class="row1">Posts per day:</td>
<td class="row2"><b>{POSTS_PER_DAY}</b></td> <td class="row2"><b>{POSTS_PER_DAY}</b></td>
<td class="row1">Topics per day:</td> </tr>
<tr>
<td class="row1" nowrap>Current number of topics:</td>
<td class="row2"><b>{NUMBER_OF_TOPICS}</b></td>
<td class="row1" nowrap>Topics per day:</td>
<td class="row2"><b>{TOPICS_PER_DAY}</b></td> <td class="row2"><b>{TOPICS_PER_DAY}</b></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Users per day:</td> <td class="row1" nowrap>Current number of users:</td>
<td class="row2"><b>{NUMBER_OF_USERS}</b></td>
<td class="row1" nowrap>Users per day:</td>
<td class="row2"><b>{USERS_PER_DAY}</b></td> <td class="row2"><b>{USERS_PER_DAY}</b></td>
<td class="row1">Avatar directory size:</td> </tr>
<tr>
<td class="row1" nowrap>Board started on:</td>
<td class="row2"><b>{START_DATE}</b></td>
<td class="row1" nowrap>Avatar directory size:</td>
<td class="row2"><b>{AVATAR_DIR_SIZE}</b></td> <td class="row2"><b>{AVATAR_DIR_SIZE}</b></td>
</tr> </tr>
<tr> <tr>
<td class="row1">Database size:</td> <td class="row1" nowrap>Database size:</td>
<td class="row2"><b>{DB_SIZE}</b></td> <td class="row2"><b>{DB_SIZE}</b></td>
<td class="row1">&nbsp;</td> <td class="row1" nowrap>&nbsp;</td>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
</tr> </tr>
</table> </table>

View file

@ -1,5 +1,5 @@
<br clear="all"><br> <br clear="all" /><br />
<table width="85%" cellpadding="1" cellspacing="0" border="0" align="center"> <table width="85%" cellpadding="1" cellspacing="0" border="0" align="center">
<tr> <tr>
@ -14,4 +14,4 @@
</tr> </tr>
</table> </table>
<br clear="all"> <br clear="all" />

View file

@ -1,7 +1,9 @@
<br clear="all" />
<h1>Database Utilities</h1> <h1>Database Utilities</h1>
<div align="center">{U_DB_MESSAGE} <div align="center">{U_DB_MESSAGE}
<br clear="all" />
{U_DB_LINKS}</div> {U_DB_LINKS}</div>
<br clear="all" />

View file

@ -1,11 +1,13 @@
<br clear="all" />
<h1>Forum Authorisation Control</h1> <h1>Forum Authorisation Control</h1>
<p>Here you can control individual authorisation levels for each forum. You can either choose a <i>simple</i> setting which has pre-defined levels for each discrete authorisation type, or you can set each type via the <i>advanced</i> settings.</p> <p>Here you can control individual authorisation levels for each forum. You can either choose a <i>simple</i> setting which has pre-defined levels for each discrete authorisation type, or you can set each type via the <i>advanced</i> settings.</p>
<h2>Forum: {FORUM_NAME}</h2> <h2>Forum: {FORUM_NAME}</h2>
<div align="center"><table cellspacing="1" cellpadding="4" border="0"> <table cellspacing="1" cellpadding="4" border="0" align="center">
<tr><form method="post" action="admin_forumauth.php"> <tr><form method="post" action="{S_FORUMAUTH_ACTION}">
<!-- BEGIN forum_auth_titles --> <!-- BEGIN forum_auth_titles -->
<th>{forum_auth_titles.CELL_TITLE}</th> <th>{forum_auth_titles.CELL_TITLE}</th>
<!-- END forum_auth_titles --> <!-- END forum_auth_titles -->
@ -18,13 +20,13 @@
<tr> <tr>
<td colspan="{S_COLUMN_SPAN}"><table width="100%" cellspacing="0" cellpadding="4" border="0"> <td colspan="{S_COLUMN_SPAN}"><table width="100%" cellspacing="0" cellpadding="4" border="0">
<tr> <tr>
<td align="center">{U_SWITCH_MODE}</td> <td align="center"><span class="gensmall">{U_SWITCH_MODE}</span></td>
</tr> </tr>
<tr> <tr>
<td align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="Submit Changes">&nbsp;&nbsp;<input type="reset" value="Reset to Initial"></td> <td align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="Submit Changes">&nbsp;&nbsp;<input type="reset" value="Reset to Initial"></td>
</tr> </tr>
</table></td> </table></td>
</form></tr> </form></tr>
</table></div> </table>
<br clear="all"> <br clear="all" />

View file

@ -1,7 +1,8 @@
<br clear="all" />
<div align="center"><h1>Forum Authorisation Control</h1> <h1>Forum Authorisation Control</h1>
<table cellspacing="1" cellpadding="4" border="0"> <table cellspacing="1" cellpadding="4" border="0" align="center">
<tr> <tr>
<th bgcolor="#CCCCCC">Select a Forum</th> <th bgcolor="#CCCCCC">Select a Forum</th>
</tr> </tr>
@ -10,4 +11,4 @@
</form></tr> </form></tr>
</table></div> </table></div>
<br clear="all"> <br clear="all" />

View file

@ -1,8 +1,11 @@
<br clear="all" />
<h1>Forum Pruning</h1> <h1>Forum Pruning</h1>
<h2>Forum: {FORUM_NAME}</h2> <h2>Forum: {FORUM_NAME}</h2>
<div align="center"><table cellspacing="1" cellpadding="4" border="0"> <table cellspacing="1" cellpadding="4" border="0" align="center">
<tr><form method="post" action="{S_FORUMPRUNE_ACTION}">{S_HIDDEN_VARS} <tr><form method="post" action="{S_FORUMPRUNE_ACTION}">{S_HIDDEN_VARS}
<td>{S_PRUNE_DATA}</td> <td>{S_PRUNE_DATA}</td>
</tr> </tr>
@ -10,8 +13,8 @@
<td align="center"><input type="submit" name="submit" value="Prune"></td> <td align="center"><input type="submit" name="submit" value="Prune"></td>
</tr> </tr>
<tr> <tr>
<td><i>Note: This will not prune announcements or sticky topics, these must be removed manually.</i></td> <td><span class="gensmall">Note: This will not prune announcements or sticky topics, these must be removed manually.</span></td>
</tr> </form></tr>
</form> </table>
</table></div>
<br clear="all"> <br clear="all" />

View file

@ -1,8 +1,11 @@
<br clear="all" />
<h1>Forum Pruning</h1> <h1>Forum Pruning</h1>
<p>Here are the results from your forum pruning:</p> <p>Here are the results from your forum pruning:</p>
<div align="center"><table cellspacing="1" cellpadding="4" border="0"> <table cellspacing="1" cellpadding="4" border="0" align="center">
<tr> <tr>
<th>FORUM NAME</th> <th>FORUM NAME</th>
<th>TOPICS PRUNED</th> <th>TOPICS PRUNED</th>
@ -15,5 +18,6 @@
<td class="row1" align="center">{prune_results.FORUM_POSTS}</td> <td class="row1" align="center">{prune_results.FORUM_POSTS}</td>
</tr> </tr>
<!-- END prune_results --> <!-- END prune_results -->
</table></div> </table>
<br clear="all">
<br clear="all" />

View file

@ -1,13 +1,15 @@
<div align="center"><h1>Forum Pruning</h1> <br clear="all" />
<table cellspacing="1" cellpadding="4" border="0"> <h1>Forum Pruning</h1>
<table cellspacing="1" cellpadding="4" border="0" align="center">
<tr> <tr>
<th bgcolor="#CCCCCC">Select a Forum</th> <th bgcolor="#CCCCCC">Select a Forum</th>
</tr> </tr>
<tr><form method="get" action="{S_FORUMPRUNE_ACTION}"> <tr><form method="get" action="{S_FORUMPRUNE_ACTION}">
<td class="row1" align="center">{S_FORUMS_SELECT}&nbsp;&nbsp;<input type="submit" value="Select">&nbsp;</td> <td class="row1" align="center">{S_FORUMS_SELECT}&nbsp;&nbsp;<input type="submit" value="Select">&nbsp;</td>
</form></tr> </form></tr>
</table></div> </table>
<br clear="all"> <br clear="all" />

View file

@ -1,18 +1,17 @@
<html> <html>
<head> <head>
<title>Admin</title> <title>phpBB Administration</title>
</head> </head>
<frameset rows="80,*" border="0" frameborder="0"> <frameset cols="140,*" scrolling="no" border="0">
<frame src="{S_FRAME_HEADER}" name="top" SCROLLING="NO">
<frameset cols="140,*" border="0" frameborder="0">
<frame src="{S_FRAME_NAV}" name="nav"> <frame src="{S_FRAME_NAV}" name="nav">
<frame src="{S_FRAME_MAIN}" name="main"> <frame src="{S_FRAME_MAIN}" name="main">
</frameset>
</frameset> </frameset>
<noframes> <noframes>
<body bgcolor="#FFFFFF"> <body bgcolor="#FFFFFF" text="#000000">
Sorry, your browser doesn't seem to support Frames.. <p>Sorry, your browser doesn't seem to support frames</p>
</body> </body>
</noframes> </noframes>
</html> </html>

View file

@ -1,21 +1,24 @@
<base target="main"> <table width="100%" cellpadding="4" cellspacing="1" border="0">
<table width="99%" cellpadding="1" cellspacing="0" border="0" align="center">
<tr> <tr>
<td class="tablebg"><table width="100%" cellpadding="3" cellspacing="1" border="0"> <th class="cat">phpBB Admin</th>
</tr>
<tr>
<td class="row1"><a href="{U_ADMIN_INDEX}" target="main">{L_ADMIN_INDEX}</a></td>
</tr>
<tr>
<td class="row2"><a href="{U_BOARD_INDEX}" target="_top">{L_BOARD_INDEX}</a></td>
</tr>
<!-- BEGIN catrow --> <!-- BEGIN catrow -->
<tr> <tr>
<td class="cat" colspan="6"><span class="cattitle"><b>{catrow.CATNAME}</b>&nbsp;</span></td> <td class="cat" align="center"><span class="cattitle"><b>{catrow.CATNAME}</b></span></td>
</tr> </tr>
<!-- BEGIN actionrow --> <!-- BEGIN actionrow -->
<tr> <tr>
<td class="row1" width="7%"><a href="{catrow.actionrow.FILE}">{catrow.actionrow.ACTIONNAME}</a></td> <td class="{catrow.actionrow.ROW_CLASS}"><a href="{catrow.actionrow.FILE}" target="main">{catrow.actionrow.ACTIONNAME}</a></td>
</tr> </tr>
<!-- END actionrow --> <!-- END actionrow -->
<!-- END catrow --> <!-- END catrow -->
</table></td>
</tr>
</table> </table>
</body> </body>

View file

@ -20,9 +20,7 @@ SPAN.gensmall {font-family:{T_FONTFACE1};font-size:8pt}
</head> </head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <table width="100%" height="100%" cellpadding="4" cellspacing="0" border="0" align="center">
<tr>
<td class="tablebg" width="100%" height="100%"><table width="100%" height="100%" cellspacing="1" cellpadding="4" border="0">
<tr> <tr>
<td class="cat" width="100%" height="100%"><table width="100%" height="100%" cellspacing="0" border="0"> <td class="cat" width="100%" height="100%"><table width="100%" height="100%" cellspacing="0" border="0">
<tr> <tr>
@ -31,9 +29,7 @@ SPAN.gensmall {font-family:{T_FONTFACE1};font-size:8pt}
</tr> </tr>
</table></td> </table></td>
</tr> </tr>
</table></td> </table></td>
</tr>
</table>
</body> </body>
</html> </html>

View file

@ -12,7 +12,7 @@ P {font-family:{T_FONTFACE1};font-size:10pt}
TH {background-color:{T_TH_COLOR3};font-family:{T_FONTFACE2};font-size:8pt;font-weight:normal} TH {background-color:{T_TH_COLOR3};font-family:{T_FONTFACE2};font-size:8pt;font-weight:normal}
TH.secondary {background-color:{T_TH_COLOR3};font-family:{T_FONTFACE1};font-size:10pt;font-weight:normal;text-align:left} TH.secondary {background-color:{T_TH_COLOR3};font-family:{T_FONTFACE1};font-size:10pt;font-weight:normal;text-align:left}
TD {font-family:Verdana,serif;font-size:8pt} TD {font-family:Verdana,serif;font-size:10pt}
TD.tablebg {background-color:{T_TH_COLOR1}} TD.tablebg {background-color:{T_TH_COLOR1}}
TD.cat {background-color:{T_TH_COLOR2}} TD.cat {background-color:{T_TH_COLOR2}}
TD.row1 {background-color:{T_TD_COLOR1}} TD.row1 {background-color:{T_TD_COLOR1}}
@ -34,4 +34,4 @@ INPUT.text {font-family:"Courier New",courier;font-size:8pt;}
//--> //-->
</style> </style>
</head> </head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}"> <body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

View file

@ -1,3 +1,4 @@
<br clear="all" />
<h1>{L_USER_OR_GROUP} Authorisation Control</h1> <h1>{L_USER_OR_GROUP} Authorisation Control</h1>
@ -31,7 +32,7 @@
<tr> <tr>
<td colspan="{S_COLUMN_SPAN}"><table width="100%" cellspacing="0" cellpadding="4" border="0"> <td colspan="{S_COLUMN_SPAN}"><table width="100%" cellspacing="0" cellpadding="4" border="0">
<tr> <tr>
<td align="center">{U_SWITCH_MODE}</td> <td align="center"><span class="gensmall">{U_SWITCH_MODE}</span></td>
</tr> </tr>
<tr> <tr>
<td align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="Request Update">&nbsp;&nbsp;&nbsp;<input type="reset" value="Reset Changes"></td> <td align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="Request Update">&nbsp;&nbsp;&nbsp;<input type="reset" value="Reset Changes"></td>

View file

@ -1,7 +1,8 @@
<br clear="all" />
<div align="center"><h1>{L_USER_OR_GROUP} Authorisation Control</h1> <h1>{L_USER_OR_GROUP} Authorisation Control</h1>
<table cellspacing="1" cellpadding="4" border="0"> <table cellspacing="1" cellpadding="4" border="0" align="center">
<tr> <tr>
<th>Select a {L_USER_OR_GROUP}</th> <th>Select a {L_USER_OR_GROUP}</th>
</tr> </tr>
@ -10,4 +11,4 @@
</form></tr> </form></tr>
</table></div> </table></div>
<br clear="all"> <br clear="all" />