1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Forum template minor styling fixes.

This commit is contained in:
Cameron
2013-03-10 19:44:54 -07:00
parent 859dcdb360
commit 34083bf7ad
15 changed files with 121 additions and 122 deletions

View File

@@ -128,7 +128,7 @@ $fVars->SEARCH = "
<input class='tbox' type='text' name='q' size='20' value='' maxlength='50' />
<input type='hidden' name='r' value='0' />
<input type='hidden' name='ref' value='forum' />
<input class='button' type='submit' name='s' value='".LAN_180."' />
<input class='btn button' type='submit' name='s' value='".LAN_180."' />
</p>
</form>\n";

View File

@@ -123,8 +123,8 @@ if ($action == "delete_poll")
".FORCONF_13."
<br /><br />
<form method='post' action='".e_SELF."?".e_QUERY."'>
<input class='button' type='submit' name='deletecancel' value='".FORCONF_14."' />
<input class='button' type='submit' name='deletepollconfirm' value='".FORCONF_15."' />
<input class='btn button' type='submit' name='deletecancel' value='".FORCONF_14."' />
<input class='btn button' type='submit' name='deletepollconfirm' value='".FORCONF_15."' />
</form>
</div>";
$ns->tablerender(FORCONF_16, $text);
@@ -179,8 +179,8 @@ if ($action == 'move')
</tr>
<tr style='vertical-align: top;'>
<td colspan='2' style='text-align:center'><br />
<input class='button' type='submit' name='move' value='".FORCONF_25."' />
<input class='button' type='submit' name='movecancel' value='".FORCONF_14."' />
<input class='btn button' type='submit' name='move' value='".FORCONF_25."' />
<input class='btn button' type='submit' name='movecancel' value='".FORCONF_14."' />
</td>
</tr>
</table>

View File

@@ -537,7 +537,7 @@ function forumjump()
{
$text .= "\n<option value='".$key."'>".$val."</option>";
}
$text .= "</select> <input class='button' type='submit' name='fjsubmit' value='".LAN_387."' /></p></form>";
$text .= "</select> <input class='btn button' type='submit' name='fjsubmit' value='".LAN_387."' /></p></form>";
return $text;
}

View File

@@ -36,8 +36,8 @@ $bar = (file_exists(THEME.'images/bar.png') ? THEME.'images/bar.png' : e_PLUGIN.
require_once(HEADERF);
$total_posts = $sql->db_Count('forum_post');
$total_topics = $sql->db_Count('forum_thread');
$total_posts = $sql->count('forum_post');
$total_topics = $sql->count('forum_thread');
$total_replies = $total_posts - $total_topics;
$total_views = 0;
$query = 'SELECT sum(thread_views) AS total FROM `#forum_thread` ';
@@ -58,7 +58,7 @@ $postsperday = ($open_days < 1 ? $total_posts : round($total_posts / $open_days)
$query = "SHOW TABLE STATUS FROM `{$mySQLdefaultdb}`";
$sql -> db_Select_gen($query);
$sql->gen($query);
$array = $sql -> db_getList();
foreach($array as $table)
{
@@ -77,7 +77,7 @@ LEFT JOIN #forum AS f ON f.forum_id = ft.thread_forum_id
WHERE ft.thread_active > 0
AND f.forum_class IN (".USERCLASS_LIST.")
ORDER BY ft.thread_total_replies DESC LIMIT 0,10";
$sql -> db_Select_gen($query);
$sql->gen($query);
$most_activeArray = $sql -> db_getList();
$query = "
@@ -87,7 +87,7 @@ LEFT JOIN #forum AS f ON f.forum_id = ft.thread_forum_id
WHERE f.forum_class IN (".USERCLASS_LIST.")
ORDER BY ft.thread_views DESC LIMIT 0,10";
$sql -> db_Select_gen($query);
$sql->gen($query);
$most_viewedArray = $sql -> db_getList();
/*$sql->db_Select("user", "user_id, user_name, user_forums", "ORDER BY user_forums DESC LIMIT 0, 10", "no_where");
@@ -105,7 +105,7 @@ SELECT COUNT(fp.post_id) AS post_count, u.user_name, u.user_id, fp.post_thread F
LEFT JOIN #user AS u ON fp.post_user = u.user_id
GROUP BY fp.post_user
ORDER BY post_count DESC LIMIT 0,10";
$sql -> db_Select_gen($query);
$sql->gen($query);
$top_repliers_data = $sql -> db_getList('ALL', false, false, 'user_id');
// build top posters meanwhile
@@ -125,7 +125,7 @@ SELECT COUNT(ft.thread_id) AS thread_count, u.user_id FROM #forum_thread as ft
LEFT JOIN #user AS u ON ft.thread_user = u.user_id
WHERE u.user_id IN ({$ids})
GROUP BY ft.thread_user";
$sql -> db_Select_gen($query);
$sql->gen($query);
$top_repliers_data_c = $sql -> db_getList('ALL', false, false, 'user_id');
$top_repliers = array();
@@ -153,7 +153,7 @@ SELECT COUNT(ft.thread_id) AS thread_count, u.user_name, u.user_id FROM #forum_t
LEFT JOIN #user AS u ON ft.thread_user = u.user_id
GROUP BY ft.thread_user
ORDER BY thread_count DESC LIMIT 0,10";
$sql -> db_Select_gen($query);
$sql->gen($query);
$top_topic_starters_data = $sql -> db_getList();
$top_topic_starters = array();
foreach($top_topic_starters_data as $poster)
@@ -199,16 +199,30 @@ foreach($posters as $poster)
*/
function showBar($perc)
{
return "<div class='progress'>
<div class='bar' style='width: ".intval($perc)."%;'></div>
</div>";
// <div style='background-image: url($barl); width: 5px; height: 14px; float: left;'></div>
// <div style='background-image: url($bar); width: ".intval($percentage)."%; height: 14px; float: left;'></div>
// <div style='background-image: url($barr); width: 5px; height: 14px; float: left;'></div>
}
$text = "
<div class='spacer'>
<table style='width: 100%;' class='fborder'>
<table style='width: 100%;' class='fborder table'>
<tr>
<td class='forumheader'>".FSLAN_1."</td>
<th class='forumheader' colspan='2'>".FSLAN_1."</th>
</tr>
<tr>
<td class='forumheader3'>
<table style='width: 100%;'>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_2.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$open_date}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_3.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$open_since}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_4.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$total_posts}</td></tr>
@@ -219,23 +233,22 @@ $text = "
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_8.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$db_size}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_9.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$avg_row_len}</td></tr>
</table>
</td>
</tr>
</table>
</div>
<div class='spacer'>
<table style='width: 100%;' class='fborder'>
<table style='width: 100%;' class='fborder table'>
<tr>
<td class='forumheader' colspan='5'>".FSLAN_10."</td>
</tr>
<tr>
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</td>
<td style='width: 40%;' class='fcaption'>".FSLAN_12."</td>
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_13."</td>
<td style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_14."</td>
<td style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_15."</td>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
<th style='width: 40%;' class='fcaption'>".FSLAN_12."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_13."</th>
<th style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_14."</th>
<th style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_15."</th>
</tr>
";
@@ -267,16 +280,16 @@ $text .= "</table>
</div>
<div class='spacer'>
<table style='width: 100%;' class='fborder'>
<table style='width: 100%;' class='fborder table'>
<tr>
<td class='forumheader' colspan='5'>".FSLAN_16."</td>
</tr>
<tr>
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</td>
<td style='width: 40%;' class='fcaption'>".FSLAN_12."</td>
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_17."</td>
<td style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_14."</td>
<td style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_15."</td>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
<th style='width: 40%;' class='fcaption'>".FSLAN_12."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_17."</th>
<th style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_14."</th>
<th style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_15."</th>
</tr>
";
@@ -308,17 +321,20 @@ $text .= "</table>
</div>
<div class='spacer'>
<table style='width: 100%;' class='fborder'>
<table style='width: 100%;' class='fborder table'>
<tr>
<td class='forumheader' colspan='5'>".FSLAN_18."</td>
</tr>
<thead>
<tr>
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</td>
<td style='width: 20%;' class='fcaption'>".FSLAN_19."</td>
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_20."</td>
<td style='width: 10%; text-align: center;' class='fcaption'>%</td>
<td style='width: 50%; text-align: center;' class='fcaption'>&nbsp;</td>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
<th style='width: 20%;' class='fcaption'>".FSLAN_19."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_20."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>%</th>
<th style='width: 50%; text-align: center;' class='fcaption'>&nbsp;</th>
</tr>
</thead>
<tbody>
";
$count=1;
@@ -330,32 +346,27 @@ foreach($top_posters as $ma)
<td style='width: 20%;' class='forumheader3'><a href='".e_BASE."user.php?id.$user_id'>$user_name</a></td>
<td style='width: 10%; text-align: center;' class='forumheader3'>$user_forums</td>
<td style='width: 10%; text-align: center;' class='forumheader3'>$percentage%</td>
<td style='width: 50%;' class='forumheader3'>
<div style='background-image: url($barl); width: 5px; height: 14px; float: left;'></div>
<div style='background-image: url($bar); width: ".intval($percentage)."%; height: 14px; float: left;'></div>
<div style='background-image: url($barr); width: 5px; height: 14px; float: left;'></div>
<td style='width: 50%;' class='forumheader3'>".showBar($percentage)."
</td>
</tr>
";
$count++;
}
$text .= "
$text .= "</tbody>
</table>
</div>
<div class='spacer'>
<table style='width: 100%;' class='fborder'>
<table style='width: 100%;' class='fborder table'>
<tr>
<td class='forumheader' colspan='5'>".FSLAN_21."</td>
</tr>
<tr>
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</td>
<td style='width: 20%;' class='fcaption'>".FSLAN_19."</td>
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_20."</td>
<td style='width: 10%; text-align: center;' class='fcaption'>%</td>
<td style='width: 50%; text-align: center;' class='fcaption'>&nbsp;</td>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
<th style='width: 20%;' class='fcaption'>".FSLAN_19."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_20."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>%</th>
<th style='width: 50%; text-align: center;' class='fcaption'>&nbsp;</th>
</tr>
";
@@ -368,13 +379,7 @@ foreach($top_topic_starters as $ma)
<td style='width: 20%;' class='forumheader3'><a href='".e_BASE."user.php?id.$user_id'>$user_name</a></td>
<td style='width: 10%; text-align: center;' class='forumheader3'>$user_forums</td>
<td style='width: 10%; text-align: center;' class='forumheader3'>$percentage%</td>
<td style='width: 50%; text-align: center;' class='forumheader3'>
<div style='background-image: url($barl); width: 5px; height: 14px; float: left;'></div>
<div style='background-image: url($bar); width: ".intval($percentage)."%; height: 14px; float: left;'></div>
<div style='background-image: url($barr); width: 5px; height: 14px; float: left;'></div>
</td>
<td style='width: 50%; text-align: center;' class='forumheader3'>".showBar($percentage)."</td>
</tr>
";
$count++;
@@ -384,16 +389,16 @@ $text .= "</table>
<div class='spacer'>
<table style='width: 100%;' class='fborder'>
<table style='width: 100%;' class='fborder table'>
<tr>
<td class='forumheader' colspan='5'>".FSLAN_22."</td>
</tr>
<tr>
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</td>
<td style='width: 20%;' class='fcaption'>".FSLAN_19."</td>
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_20."</td>
<td style='width: 10%; text-align: center;' class='fcaption'>%</td>
<td style='width: 50%; text-align: center;' class='fcaption'>&nbsp;</td>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
<th style='width: 20%;' class='fcaption'>".FSLAN_19."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_20."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>%</th>
<th style='width: 50%; text-align: center;' class='fcaption'>&nbsp;</th>
</tr>
";
@@ -406,13 +411,7 @@ foreach($top_repliers as $ma)
<td style='width: 20%;' class='forumheader3'><a href='".e_BASE."user.php?id.$user_id'>$user_name</a></td>
<td style='width: 10%; text-align: center;' class='forumheader3'>$user_forums</td>
<td style='width: 10%; text-align: center;' class='forumheader3'>$percentage%</td>
<td style='width: 50%; text-align: center;' class='forumheader3'>
<div style='background-image: url($barl); width: 5px; height: 14px; float: left;'></div>
<div style='background-image: url($bar); width: ".intval($percentage)."%; height: 14px; float: left;'></div>
<div style='background-image: url($barr); width: 5px; height: 14px; float: left;'></div>
</td>
<td style='width: 50%; text-align: center;' class='forumheader3'>".showBar($percentage)."</td>
</tr>
";
$count++;

View File

@@ -127,7 +127,7 @@ function step2()
This step will create the new forum_thread, forum_post, and forum_attach tables. It will also create a forum_new table that will become the 'real' forum table once the data from the current table is migrated.
<br /><br />
<form method='post'>
<input class='button' type='submit' name='create_tables' value='Proceed with table creation' />
<input class='btn button' type='submit' name='create_tables' value='Proceed with table creation' />
</form>
";
$ns->tablerender('Step 2: Forum table creation', $text);
@@ -188,7 +188,7 @@ function step3()
* user_plugin_forum_viewed (to track threads viewed by each user<br />
<br /><br />
<form method='post'>
<input class='button' type='submit' name='create_extended' value='Proceed with field creation' />
<input class='btn button' type='submit' name='create_extended' value='Proceed with field creation' />
</form>
";
$e107->ns->tablerender($stepCaption, $text);
@@ -227,7 +227,7 @@ function step3()
$text .= "
<br /><br />
<form method='post'>
<input class='button' type='submit' name='nextStep[4]' value='Proceed to step 4' />
<input class='btn button' type='submit' name='nextStep[4]' value='Proceed to step 4' />
</form>
";
}
@@ -252,7 +252,7 @@ function step4()
Depending on the size of your user table, this step could take a while.
<br /><br />
<form method='post'>
<input class='button' type='submit' name='move_user_data' value='Proceed with user data move' />
<input class='btn button' type='submit' name='move_user_data' value='Proceed with user data move' />
</form>
";
$ns->tablerender($stepCaption, $text);
@@ -355,7 +355,7 @@ function step4()
");
$text = "<form method='post' action='".e_SELF."?step=5'>
<input class='button' type='submit' name='nextStep[5]' value='Proceed to step 5' />
<input class='btn button' type='submit' name='nextStep[5]' value='Proceed to step 5' />
</form>";
$ns->tablerender($stepCaption, $mes->render().$text);
@@ -378,7 +378,7 @@ function step5()
");
$text = "
<form method='post'>
<input class='button' type='submit' name='move_forum_data' value='Proceed with forum data move' />
<input class='btn button' type='submit' name='move_forum_data' value='Proceed with forum data move' />
</form>
";
$ns->tablerender($stepCaption, $mes->render().$text);
@@ -430,7 +430,7 @@ function step5()
$text = "
<form method='post' action='".e_SELF."?step=6'>
<input class='button' type='submit' name='nextStep[6]' value='Proceed to step 6' />
<input class='btn button' type='submit' name='nextStep[6]' value='Proceed to step 6' />
</form>
";
@@ -468,7 +468,7 @@ function step6()
<br /><br />
There are {$count} forum threads to convert, we will be doing it in steps of: {$limitDropdown}
<br /><br />
<input class='button' type='submit' name='move_thread_data' value='Begin thread data move' />
<input class='btn button' type='submit' name='move_thread_data' value='Begin thread data move' />
</form>
";
$ns->tablerender($stepCaption, $mes->render(). $text);
@@ -541,7 +541,7 @@ function step6()
{
$mes->addSuccess("Thread migration is complete!!");
$text = "<form method='post' action='".e_SELF."?step=7'>
<input class='button' type='submit' name='nextStep[7]' value='Proceed to step 7' />
<input class='btn button' type='submit' name='nextStep[7]' value='Proceed to step 7' />
</form>";
$ns->tablerender($stepCaption, $mes->render(). $text);
@@ -560,7 +560,7 @@ function step7()
This step will calculate post count information for all users, as well as recount all for thread and reply counts.
<br /><br />
<form method='post'>
<input class='button' type='submit' name='calculate_usercounts' value='Proceed with post count calculation' />
<input class='btn button' type='submit' name='calculate_usercounts' value='Proceed with post count calculation' />
</form>
";
$e107->ns->tablerender($stepCaption, $text);
@@ -585,7 +585,7 @@ function step7()
Successfully recalculated forum posts for ".count($counts)." users.
<br /><br />
<form method='post' action='".e_SELF."?step=8'>
<input class='button' type='submit' name='nextStep[8]' value='Proceed to step 8' />
<input class='btn button' type='submit' name='nextStep[8]' value='Proceed to step 8' />
</form>
";
$e107->ns->tablerender($stepCaption, $text);
@@ -601,7 +601,7 @@ function step8()
This step will recalculate all thread and forum lastpost information
<br /><br />
<form method='post'>
<input class='button' type='submit' name='calculate_lastpost' value='Proceed with lastpost calculation' />
<input class='btn button' type='submit' name='calculate_lastpost' value='Proceed with lastpost calculation' />
</form>
";
$e107->ns->tablerender($stepCaption, $text);
@@ -620,7 +620,7 @@ function step8()
Successfully recalculated lastpost information for all forums and threads.
<br /><br />
<form method='post' action='".e_SELF."?step=9'>
<input class='button' type='submit' name='nextStep[9]' value='Proceed to step 9' />
<input class='btn button' type='submit' name='nextStep[9]' value='Proceed to step 9' />
</form>
";
$e107->ns->tablerender($stepCaption, $text);
@@ -636,7 +636,7 @@ function step9()
This step will recalculate all poll information that has been entered in the forums.
<br /><br />
<form method='post'>
<input class='button' type='submit' name='migrate_polls' value='Proceed with poll migration' />
<input class='btn button' type='submit' name='migrate_polls' value='Proceed with poll migration' />
</form>
";
$e107->ns->tablerender($stepCaption, $text);
@@ -685,7 +685,7 @@ function step9()
Successfully migrated forum poll information for ".count($threadList)." thread poll(s).
<br /><br />
<form method='post' action='".e_SELF."?step=10'>
<input class='button' type='submit' name='nextStep[10]' value='Proceed to step 10' />
<input class='btn button' type='submit' name='nextStep[10]' value='Proceed to step 10' />
</form>
";
$e107->ns->tablerender($stepCaption, $text);
@@ -708,7 +708,7 @@ function step10()
All files will be moved from the e107_files/public directory into the e107_plugins/forum/attachment directory and related posts will be updated accordingly.
<br /><br />
<form method='post'>
<input class='button' type='submit' name='migrate_attachments' value='Proceed with attachment migration' />
<input class='btn button' type='submit' name='migrate_attachments' value='Proceed with attachment migration' />
</form>
";
$ns->tablerender($stepCaption, $text);
@@ -915,7 +915,7 @@ function step10()
Successfully migrated forum attachment information for ".count($postList)." post(s).
<br /><br />
<form method='post' action='".e_SELF."?step=11'>
<input class='button' type='submit' name='nextStep[11]' value='Proceed to step 11' />
<input class='btn button' type='submit' name='nextStep[11]' value='Proceed to step 11' />
</form>
";
$e107->ns->tablerender($stepCaption, $text);
@@ -934,7 +934,7 @@ function step11()
we will try to identify these files and delete them.
<br /><br />
<form method='post'>
<input class='button' type='submit' name='delete_orphans' value='Proceed with attachment deletion' />
<input class='btn button' type='submit' name='delete_orphans' value='Proceed with attachment deletion' />
</form>
";
$e107->ns->tablerender($stepCaption, $text);
@@ -976,7 +976,7 @@ function step11()
{$failText}
<br /><br />
<form method='post' action='".e_SELF."?step=12'>
<input class='button' type='submit' name='nextStep[12]' value='Proceed to step 12' />
<input class='btn button' type='submit' name='nextStep[12]' value='Proceed to step 12' />
</form>
";
$e107->ns->tablerender($stepCaption, $text);
@@ -994,13 +994,13 @@ function step11()
}
else
{
$extra = "<input class='button' type='submit' name='delete_orphans' value='Show files' />&nbsp; &nbsp; &nbsp; &nbsp;";
$extra = "<input class='btn button' type='submit' name='delete_orphans' value='Show files' />&nbsp; &nbsp; &nbsp; &nbsp;";
}
$text .= "
<br /><br />
<form method='post'>
{$extra}
<input class='button' type='submit' name='delete_orphans' value='Delete files' />
<input class='btn button' type='submit' name='delete_orphans' value='Delete files' />
</form>
";
$e107->ns->tablerender($stepCaption, $text);
@@ -1012,7 +1012,7 @@ function step11()
There were no orphaned files found <br />
<br /><br />
<form method='post' action='".e_SELF."?step=12'>
<input class='button' type='submit' name='nextStep[12]' value='Proceed to step 12' />
<input class='btn button' type='submit' name='nextStep[12]' value='Proceed to step 12' />
</form>
";
$e107->ns->tablerender($stepCaption, $text);
@@ -1039,7 +1039,7 @@ function step12()
<br /><br />
<br /><br />
<form method='post'>
<input class='button' type='submit' name='delete_old' value='Remove old forum tables' />
<input class='btn button' type='submit' name='delete_old' value='Remove old forum tables' />
</form>
";
$ns->tablerender($stepCaption, $text);

View File

@@ -104,7 +104,7 @@ if(is_array($fileList))
}
else
{
$txt .= "<td class='forumheader3'>".FRMUP_8." <input class='button' type='submit' name='delete[{$finfo['fname']}]' value='".FRMUP_10."' /></td>";
$txt .= "<td class='forumheader3'>".FRMUP_8." <input class='btn button' type='submit' name='delete[{$finfo['fname']}]' value='".FRMUP_10."' /></td>";
}
$txt .= "</tr>";
}

View File

@@ -214,7 +214,7 @@ $fVars->SEARCH = "
<input class='tbox' type='text' name='q' size='20' value='' maxlength='50' />
<input type='hidden' name='r' value='0' />
<input type='hidden' name='ref' value='forum' />
<input class='button' type='submit' name='s' value='".LAN_180."' />
<input class='btn button' type='submit' name='s' value='".LAN_180."' />
</p>
</form>";
@@ -575,7 +575,7 @@ function forumjump()
{
$text .= "\n<option value='".$key."'>".$val."</option>";
}
$text .= "</select> <input class='button' type='submit' name='fjsubmit' value='".LAN_03."' /></form>";
$text .= "</select> <input class='btn button' type='submit' name='fjsubmit' value='".LAN_03."' /></form>";
return $text;
}

View File

@@ -376,7 +376,7 @@ function forumjump()
{
$text .= "\n<option value='" . $key . "'>" . $val . "</option>";
}
$text .= "</select> <input class='button' type='submit' name='fjsubmit' value='" . LAN_03 . "' /></p></form>";
$text .= "</select> <input class='btn button' type='submit' name='fjsubmit' value='" . LAN_03 . "' /></p></form>";
return $text;
}
@@ -642,7 +642,7 @@ class e107ForumThread
</tr>
<tr>
<td colspan='2' style='text-align:center;'><br />
<input class='button' type='submit' name='report_thread' value='" . LAN_419 . "' />
<input class='btn button' type='submit' name='report_thread' value='" . LAN_419 . "' />
</td>
</tr>
</table>";

View File

@@ -88,14 +88,14 @@ class plugin_forum_post_shortcodes extends e_shortcode
function sc_buttons()
{
global $action, $eaction;
$ret = "<input class='button' type='submit' name='fpreview' value='".LAN_323."' /> ";
$ret = "<input class='btn button' type='submit' name='fpreview' value='".LAN_323."' /> ";
if ($action != 'nt')
{
$ret .= ($eaction ? "<input class='button' type='submit' name='update_reply' value='".LAN_78."' />" : "<input class='button' type='submit' name='reply' value='".LAN_74."' />");
$ret .= ($eaction ? "<input class='btn button' type='submit' name='update_reply' value='".LAN_78."' />" : "<input class='btn button' type='submit' name='reply' value='".LAN_74."' />");
}
else
{
$ret .= ($eaction ? "<input class='button' type='submit' name='update_thread' value='".LAN_77."' />" : "<input class='button' type='submit' name='newthread' value='".LAN_64."' />");
$ret .= ($eaction ? "<input class='btn button' type='submit' name='update_thread' value='".LAN_77."' />" : "<input class='btn button' type='submit' name='newthread' value='".LAN_64."' />");
}
return $ret;
}

View File

@@ -62,7 +62,7 @@ $fileattach = "
<input class='tbox' name='file_userfile[]' type='file' size='47' />
</span>
</div>
<input class='button' type='button' name='addoption' value='".LAN_417."' onclick=\"duplicateHTML('fiupopt','fiupsection')\" />
<input class='btn button' type='button' name='addoption' value='".LAN_417."' onclick=\"duplicateHTML('fiupopt','fiupsection')\" />
</td>
</tr>
";
@@ -88,7 +88,7 @@ $FORUMPOST = "
<div style='text-align:center'>
<div class='spacer'>
{FORMSTART}
<table style='".USER_WIDTH."' class='fborder'>
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
<td colspan='2' class='fcaption'>{BACKLINK}
</td>
@@ -132,7 +132,7 @@ $FORUMPOST_REPLY = "
<div style='text-align:center'>
<div class='spacer'>
{FORMSTART}
<table style='".USER_WIDTH."' class='fborder'>
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
<td colspan='2' class='fcaption'>{BACKLINK}
</td>
@@ -179,7 +179,7 @@ $FORUMPOST_REPLY = "
if(!vartrue($LATESTPOSTS_START))
{
$LATESTPOSTS_START = "
<table style='".USER_WIDTH."' class='fborder'>
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
<td colspan='2' class='fcaption' style='vertical-align:top'>".
LAN_101."{LATESTPOSTSCOUNT}".LAN_102."
@@ -210,7 +210,7 @@ $LATESTPOSTS_END = "
if(!vartrue($THREADTOPIC_REPLY))
{
$THREADTOPIC_REPLY = "
<table style='".USER_WIDTH."' class='fborder'>
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
<td colspan='2' class='fcaption' style='vertical-align:top'>".LAN_100."</td>
</tr>

View File

@@ -15,7 +15,7 @@ if (!defined('e107_INIT')) { exit; }
if(!defined('USER_WIDTH')) { define('USER_WIDTH','width:95%'); }
$FORUMPOLLPOSTED =
"<table style='".USER_WIDTH."' class='fborder'>
"<table style='".USER_WIDTH."' class='fborder table'>
<tr>
<td class='fcaption' colspan='2'>".LAN_133."</td>
</tr><tr>
@@ -27,7 +27,7 @@ $FORUMPOLLPOSTED =
</td></tr></table>";
$FORUMTHREADPOSTED = "
<table style='".USER_WIDTH."' class='fborder'>
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
<td class='fcaption' colspan='2'>".LAN_133."</td>
</tr><tr>
@@ -41,7 +41,7 @@ $FORUMTHREADPOSTED = "
$FORUMREPLYPOSTED = "
<table style='".USER_WIDTH."' class='fborder'>
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
<td class='fcaption' colspan='2'>".LAN_133."</td>
</tr><tr>

View File

@@ -15,7 +15,7 @@ if (!defined('e107_INIT')) { exit; }
if(!defined("USER_WIDTH")){ define("USER_WIDTH","width:95%;margin-left:auto;margin-right:auto"); }
$FORUM_PREVIEW = "<div style='text-align:center'>
<table style='".USER_WIDTH."' class='fborder'>
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
<td colspan='2' class='fcaption' style='vertical-align:top'>".LAN_323.
($action != "nt" ? "</td>" : " ( ".LAN_62.$tsubject." )</td>")."

View File

@@ -16,7 +16,7 @@ if(!defined("USER_WIDTH")){ define("USER_WIDTH","width:95%"); }
if (!isset($FORUM_MAIN_START))
{
$FORUM_MAIN_START = "<div style='text-align:center'>\n<div class='spacer'>\n<table style='".USER_WIDTH."' class='fborder'>\n<tr>\n<td colspan='2' style='width:60%; text-align:center' class='fcaption'>{FORUMTITLE}</td>\n<td style='width:10%; text-align:center' class='fcaption'>{THREADTITLE}</td>\n<td style='width:10%; text-align:center' class='fcaption'>{REPLYTITLE}</td>\n<td style='width:20%; text-align:center' class='fcaption'>{LASTPOSTITLE}</td>\n</tr>";
$FORUM_MAIN_START = "<div style='text-align:center'>\n<div class='spacer'>\n<table style='".USER_WIDTH."' class='fborder table'>\n<tr>\n<th colspan='2' style='width:60%; text-align:center' class='fcaption'>{FORUMTITLE}</th>\n<th style='width:10%; text-align:center' class='fcaption'>{THREADTITLE}</th>\n<th style='width:10%; text-align:center' class='fcaption'>{REPLYTITLE}</th>\n<th style='width:20%; text-align:center' class='fcaption'>{LASTPOSTITLE}</th>\n</tr>";
}
if (!isset($FORUM_MAIN_PARENT))
{
@@ -28,12 +28,12 @@ if (!isset($FORUM_MAIN_FORUM))
}
if (!isset($FORUM_MAIN_END))
{
$FORUM_MAIN_END = "</table></div>\n<div class='spacer'>\n<table style='".USER_WIDTH."' class='fborder'>\n<tr>\n<td colspan='2' style='width:60%' class='fcaption'>{INFOTITLE}</td>\n</tr>\n<tr>\n<td rowspan='4' style='width:5%; text-align:center' class='forumheader3'>{LOGO}</td>\n<td style='width:auto' class='forumheader3'>{USERINFO}</td>\n</tr>\n<tr>\n<td style='width:95%' class='forumheader3'>{INFO}</td>\n</tr><tr>\n<td style='width:95%' class='forumheader3'>{FORUMINFO}</td>\n</tr>\n<tr>\n<td style='width:95%' class='forumheader3'>{USERLIST}<br />{STATLINK}</td>\n</tr>\n</table>\n</div>\n<div class='spacer'>\n<table class='fborder' style='".USER_WIDTH."'>\n<tr>\n<td class='forumheader3' style='text-align:center; width:33%'>{ICONKEY}</td>\n<td style='text-align:center; width:33%' class='forumheader3'>{SEARCH}</td>\n<td style='width:33%; text-align:center; vertical-align:middle' class='forumheader3'><span class='smallblacktext'>{PERMS}</span>\n</td>\n</tr>\n</table>\n</div>\n</div>";
$FORUM_MAIN_END = "</table></div>\n<div class='spacer'>\n<table style='".USER_WIDTH."' class='fborder table'>\n<tr>\n<td colspan='2' style='width:60%' class='fcaption'>{INFOTITLE}</td>\n</tr>\n<tr>\n<td rowspan='4' style='width:5%; text-align:center' class='forumheader3'>{LOGO}</td>\n<td style='width:auto' class='forumheader3'>{USERINFO}</td>\n</tr>\n<tr>\n<td style='width:95%' class='forumheader3'>{INFO}</td>\n</tr><tr>\n<td style='width:95%' class='forumheader3'>{FORUMINFO}</td>\n</tr>\n<tr>\n<td style='width:95%' class='forumheader3'>{USERLIST}<br />{STATLINK}</td>\n</tr>\n</table>\n</div>\n<div class='spacer'>\n<table class='fborder table' style='".USER_WIDTH."'>\n<tr>\n<td class='forumheader3' style='text-align:center; width:33%'>{ICONKEY}</td>\n<td style='text-align:center; width:33%' class='forumheader3'>{SEARCH}</td>\n<td style='width:33%; text-align:center; vertical-align:middle' class='forumheader3'><span class='smallblacktext'>{PERMS}</span>\n</td>\n</tr>\n</table>\n</div>\n</div>";
}
if (!isset($FORUM_NEWPOSTS_START))
{
$FORUM_NEWPOSTS_START = "<div style='text-align:center'>\n<div class='spacer'>\n<table style='".USER_WIDTH."' class='fborder'>\n<tr>\n<td style='width:3%' class='fcaption'>&nbsp;</td>\n<td style='width:60%' class='fcaption'>{NEWTHREADTITLE}</td>\n<td style='width:27%; text-align:center' class='fcaption'>{POSTEDTITLE}</td>\n</tr>";
$FORUM_NEWPOSTS_START = "<div style='text-align:center'>\n<div class='spacer'>\n<table style='".USER_WIDTH."' class='fborder table'>\n<tr>\n<td style='width:3%' class='fcaption'>&nbsp;</td>\n<td style='width:60%' class='fcaption'>{NEWTHREADTITLE}</td>\n<td style='width:27%; text-align:center' class='fcaption'>{POSTEDTITLE}</td>\n</tr>";
}
if (!isset($FORUM_NEWPOSTS_MAIN))
@@ -48,7 +48,7 @@ if (!isset($FORUM_NEWPOSTS_END))
if (!isset($FORUM_TRACK_START))
{
$FORUM_TRACK_START = "<div style='text-align:center'>\n<div class='spacer'>\n<table style='".USER_WIDTH."' class='fborder'>\n<tr>\n<td colspan='3' style='width:60%' class='fcaption'>{TRACKTITLE}</td>\n</tr>\n";
$FORUM_TRACK_START = "<div style='text-align:center'>\n<div class='spacer'>\n<table style='".USER_WIDTH."' class='fborder table'>\n<tr>\n<td colspan='3' style='width:60%' class='fcaption'>{TRACKTITLE}</td>\n</tr>\n";
if (!isset($FORUM_TRACK_MAIN))
{

View File

@@ -20,7 +20,7 @@ $FORUM_VIEW_START = "
<div style='text-align:center'>
<div class='spacer'>
<table style='".USER_WIDTH."' class='fborder' >
<table style='".USER_WIDTH."' class='fborder table' >
<tr>
<td class='fcaption'>{BREADCRUMB}</td>
</tr>
@@ -45,7 +45,7 @@ $FORUM_VIEW_START = "
<div class='spacer'>
{MESSAGE}
<div class='spacer'>
<table style='".USER_WIDTH."' class='fborder'>
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
<td style='width:3%' class='fcaption'>&nbsp;</td>
<td style='width:47%' class='fcaption'>{THREADTITLE}</td>
@@ -61,7 +61,7 @@ if(!$FORUM_VIEW_START_CONTAINER)
$FORUM_VIEW_START_CONTAINER = "
<div style='text-align:center'>
<div class='spacer'>
<table style='".USER_WIDTH."' class='fborder' >
<table style='".USER_WIDTH."' class='fborder table' >
<tr>
<td class='fcaption'>{BREADCRUMB}</td>
</tr>
@@ -159,7 +159,7 @@ if (!$FORUM_VIEW_END) {
</table>
<div class='spacer'>
<table class='fborder' style='".USER_WIDTH."'>
<table class='fborder table' style='".USER_WIDTH."'>
<tr>
<td style='vertical-align:middle; width:50%' class='forumheader3'><span class='smalltext'>{MODERATORS}</span></td>
<td style='vertical-align:middle; width:50%' class='forumheader3'><span class='smalltext'>{BROWSERS}</span></td>
@@ -168,7 +168,7 @@ if (!$FORUM_VIEW_END) {
</div>
<div class='spacer'>
<table class='fborder' style='".USER_WIDTH."'>
<table class='fborder table' style='".USER_WIDTH."'>
<tr>
<td style='vertical-align:middle; width:50%' class='forumheader3'>{ICONKEY}</td>
<td style='vertical-align:middle; text-align:center; width:50%' class='forumheader3'><span class='smallblacktext'>{PERMS}</span><br /><br />{SEARCH}

View File

@@ -33,7 +33,7 @@ $sc_style['USER_EXTENDED']['location.text_value']['post'] = "<br />";
$FORUMSTART = "<a id='top'></a><div style='text-align:center'>
<div class='spacer'>
<table style='".USER_WIDTH."' class='fborder'>
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
<td class='fcaption'>
{BACKLINK}
@@ -81,7 +81,7 @@ $FORUMSTART = "<a id='top'></a><div style='text-align:center'>
</table>
<div class='spacer'>
<table style='".USER_WIDTH."' class='fborder'>
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
<td style='width:20%; text-align:center' class='fcaption'>
".LAN_402."