mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Forum template minor styling fixes.
This commit is contained in:
@@ -128,7 +128,7 @@ $fVars->SEARCH = "
|
|||||||
<input class='tbox' type='text' name='q' size='20' value='' maxlength='50' />
|
<input class='tbox' type='text' name='q' size='20' value='' maxlength='50' />
|
||||||
<input type='hidden' name='r' value='0' />
|
<input type='hidden' name='r' value='0' />
|
||||||
<input type='hidden' name='ref' value='forum' />
|
<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>
|
</p>
|
||||||
</form>\n";
|
</form>\n";
|
||||||
|
|
||||||
|
@@ -123,8 +123,8 @@ if ($action == "delete_poll")
|
|||||||
".FORCONF_13."
|
".FORCONF_13."
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post' action='".e_SELF."?".e_QUERY."'>
|
<form method='post' action='".e_SELF."?".e_QUERY."'>
|
||||||
<input class='button' type='submit' name='deletecancel' value='".FORCONF_14."' />
|
<input class='btn 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='deletepollconfirm' value='".FORCONF_15."' />
|
||||||
</form>
|
</form>
|
||||||
</div>";
|
</div>";
|
||||||
$ns->tablerender(FORCONF_16, $text);
|
$ns->tablerender(FORCONF_16, $text);
|
||||||
@@ -179,8 +179,8 @@ if ($action == 'move')
|
|||||||
</tr>
|
</tr>
|
||||||
<tr style='vertical-align: top;'>
|
<tr style='vertical-align: top;'>
|
||||||
<td colspan='2' style='text-align:center'><br />
|
<td colspan='2' style='text-align:center'><br />
|
||||||
<input class='button' type='submit' name='move' value='".FORCONF_25."' />
|
<input class='btn 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='movecancel' value='".FORCONF_14."' />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@@ -537,7 +537,7 @@ function forumjump()
|
|||||||
{
|
{
|
||||||
$text .= "\n<option value='".$key."'>".$val."</option>";
|
$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;
|
return $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -36,8 +36,8 @@ $bar = (file_exists(THEME.'images/bar.png') ? THEME.'images/bar.png' : e_PLUGIN.
|
|||||||
|
|
||||||
require_once(HEADERF);
|
require_once(HEADERF);
|
||||||
|
|
||||||
$total_posts = $sql->db_Count('forum_post');
|
$total_posts = $sql->count('forum_post');
|
||||||
$total_topics = $sql->db_Count('forum_thread');
|
$total_topics = $sql->count('forum_thread');
|
||||||
$total_replies = $total_posts - $total_topics;
|
$total_replies = $total_posts - $total_topics;
|
||||||
$total_views = 0;
|
$total_views = 0;
|
||||||
$query = 'SELECT sum(thread_views) AS total FROM `#forum_thread` ';
|
$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}`";
|
$query = "SHOW TABLE STATUS FROM `{$mySQLdefaultdb}`";
|
||||||
$sql -> db_Select_gen($query);
|
$sql->gen($query);
|
||||||
$array = $sql -> db_getList();
|
$array = $sql -> db_getList();
|
||||||
foreach($array as $table)
|
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
|
WHERE ft.thread_active > 0
|
||||||
AND f.forum_class IN (".USERCLASS_LIST.")
|
AND f.forum_class IN (".USERCLASS_LIST.")
|
||||||
ORDER BY ft.thread_total_replies DESC LIMIT 0,10";
|
ORDER BY ft.thread_total_replies DESC LIMIT 0,10";
|
||||||
$sql -> db_Select_gen($query);
|
$sql->gen($query);
|
||||||
$most_activeArray = $sql -> db_getList();
|
$most_activeArray = $sql -> db_getList();
|
||||||
|
|
||||||
$query = "
|
$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.")
|
WHERE f.forum_class IN (".USERCLASS_LIST.")
|
||||||
ORDER BY ft.thread_views DESC LIMIT 0,10";
|
ORDER BY ft.thread_views DESC LIMIT 0,10";
|
||||||
|
|
||||||
$sql -> db_Select_gen($query);
|
$sql->gen($query);
|
||||||
$most_viewedArray = $sql -> db_getList();
|
$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");
|
/*$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
|
LEFT JOIN #user AS u ON fp.post_user = u.user_id
|
||||||
GROUP BY fp.post_user
|
GROUP BY fp.post_user
|
||||||
ORDER BY post_count DESC LIMIT 0,10";
|
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');
|
$top_repliers_data = $sql -> db_getList('ALL', false, false, 'user_id');
|
||||||
|
|
||||||
// build top posters meanwhile
|
// 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
|
LEFT JOIN #user AS u ON ft.thread_user = u.user_id
|
||||||
WHERE u.user_id IN ({$ids})
|
WHERE u.user_id IN ({$ids})
|
||||||
GROUP BY ft.thread_user";
|
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_data_c = $sql -> db_getList('ALL', false, false, 'user_id');
|
||||||
|
|
||||||
$top_repliers = array();
|
$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
|
LEFT JOIN #user AS u ON ft.thread_user = u.user_id
|
||||||
GROUP BY ft.thread_user
|
GROUP BY ft.thread_user
|
||||||
ORDER BY thread_count DESC LIMIT 0,10";
|
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_data = $sql -> db_getList();
|
||||||
$top_topic_starters = array();
|
$top_topic_starters = array();
|
||||||
foreach($top_topic_starters_data as $poster)
|
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 = "
|
$text = "
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
<table style='width: 100%;' class='fborder'>
|
<table style='width: 100%;' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='forumheader'>".FSLAN_1."</td>
|
<th class='forumheader' colspan='2'>".FSLAN_1."</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class='forumheader3'>
|
|
||||||
<table style='width: 100%;'>
|
|
||||||
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_2.":</b> </td><td style='width: 50%;'>{$open_date}</td></tr>
|
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_2.":</b> </td><td style='width: 50%;'>{$open_date}</td></tr>
|
||||||
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_3.":</b> </td><td style='width: 50%;'>{$open_since}</td></tr>
|
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_3.":</b> </td><td style='width: 50%;'>{$open_since}</td></tr>
|
||||||
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_4.":</b> </td><td style='width: 50%;'>{$total_posts}</td></tr>
|
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_4.":</b> </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> </td><td style='width: 50%;'>{$db_size}</td></tr>
|
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_8.":</b> </td><td style='width: 50%;'>{$db_size}</td></tr>
|
||||||
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_9.":</b> </td><td style='width: 50%;'>{$avg_row_len}</td></tr>
|
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_9.":</b> </td><td style='width: 50%;'>{$avg_row_len}</td></tr>
|
||||||
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
<table style='width: 100%;' class='fborder'>
|
<table style='width: 100%;' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='forumheader' colspan='5'>".FSLAN_10."</td>
|
<td class='forumheader' colspan='5'>".FSLAN_10."</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</td>
|
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
|
||||||
<td style='width: 40%;' class='fcaption'>".FSLAN_12."</td>
|
<th style='width: 40%;' class='fcaption'>".FSLAN_12."</th>
|
||||||
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_13."</td>
|
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_13."</th>
|
||||||
<td style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_14."</td>
|
<th style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_14."</th>
|
||||||
<td style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_15."</td>
|
<th style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_15."</th>
|
||||||
</tr>
|
</tr>
|
||||||
";
|
";
|
||||||
|
|
||||||
@@ -267,16 +280,16 @@ $text .= "</table>
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
<table style='width: 100%;' class='fborder'>
|
<table style='width: 100%;' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='forumheader' colspan='5'>".FSLAN_16."</td>
|
<td class='forumheader' colspan='5'>".FSLAN_16."</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</td>
|
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
|
||||||
<td style='width: 40%;' class='fcaption'>".FSLAN_12."</td>
|
<th style='width: 40%;' class='fcaption'>".FSLAN_12."</th>
|
||||||
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_17."</td>
|
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_17."</th>
|
||||||
<td style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_14."</td>
|
<th style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_14."</th>
|
||||||
<td style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_15."</td>
|
<th style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_15."</th>
|
||||||
</tr>
|
</tr>
|
||||||
";
|
";
|
||||||
|
|
||||||
@@ -308,17 +321,20 @@ $text .= "</table>
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
<table style='width: 100%;' class='fborder'>
|
<table style='width: 100%;' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='forumheader' colspan='5'>".FSLAN_18."</td>
|
<td class='forumheader' colspan='5'>".FSLAN_18."</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</td>
|
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
|
||||||
<td style='width: 20%;' class='fcaption'>".FSLAN_19."</td>
|
<th style='width: 20%;' class='fcaption'>".FSLAN_19."</th>
|
||||||
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_20."</td>
|
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_20."</th>
|
||||||
<td style='width: 10%; text-align: center;' class='fcaption'>%</td>
|
<th style='width: 10%; text-align: center;' class='fcaption'>%</th>
|
||||||
<td style='width: 50%; text-align: center;' class='fcaption'> </td>
|
<th style='width: 50%; text-align: center;' class='fcaption'> </th>
|
||||||
</tr>
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
";
|
";
|
||||||
|
|
||||||
$count=1;
|
$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: 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'>$user_forums</td>
|
||||||
<td style='width: 10%; text-align: center;' class='forumheader3'>$percentage%</td>
|
<td style='width: 10%; text-align: center;' class='forumheader3'>$percentage%</td>
|
||||||
<td style='width: 50%;' class='forumheader3'>
|
<td style='width: 50%;' class='forumheader3'>".showBar($percentage)."
|
||||||
|
|
||||||
<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>
|
||||||
</tr>
|
</tr>
|
||||||
";
|
";
|
||||||
$count++;
|
$count++;
|
||||||
}
|
}
|
||||||
$text .= "
|
$text .= "</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
<table style='width: 100%;' class='fborder'>
|
<table style='width: 100%;' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='forumheader' colspan='5'>".FSLAN_21."</td>
|
<td class='forumheader' colspan='5'>".FSLAN_21."</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</td>
|
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
|
||||||
<td style='width: 20%;' class='fcaption'>".FSLAN_19."</td>
|
<th style='width: 20%;' class='fcaption'>".FSLAN_19."</th>
|
||||||
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_20."</td>
|
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_20."</th>
|
||||||
<td style='width: 10%; text-align: center;' class='fcaption'>%</td>
|
<th style='width: 10%; text-align: center;' class='fcaption'>%</th>
|
||||||
<td style='width: 50%; text-align: center;' class='fcaption'> </td>
|
<th style='width: 50%; text-align: center;' class='fcaption'> </th>
|
||||||
</tr>
|
</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: 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'>$user_forums</td>
|
||||||
<td style='width: 10%; text-align: center;' class='forumheader3'>$percentage%</td>
|
<td style='width: 10%; text-align: center;' class='forumheader3'>$percentage%</td>
|
||||||
<td style='width: 50%; text-align: center;' class='forumheader3'>
|
<td style='width: 50%; text-align: center;' class='forumheader3'>".showBar($percentage)."</td>
|
||||||
|
|
||||||
<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>
|
|
||||||
</tr>
|
</tr>
|
||||||
";
|
";
|
||||||
$count++;
|
$count++;
|
||||||
@@ -384,16 +389,16 @@ $text .= "</table>
|
|||||||
|
|
||||||
|
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
<table style='width: 100%;' class='fborder'>
|
<table style='width: 100%;' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='forumheader' colspan='5'>".FSLAN_22."</td>
|
<td class='forumheader' colspan='5'>".FSLAN_22."</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</td>
|
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
|
||||||
<td style='width: 20%;' class='fcaption'>".FSLAN_19."</td>
|
<th style='width: 20%;' class='fcaption'>".FSLAN_19."</th>
|
||||||
<td style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_20."</td>
|
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_20."</th>
|
||||||
<td style='width: 10%; text-align: center;' class='fcaption'>%</td>
|
<th style='width: 10%; text-align: center;' class='fcaption'>%</th>
|
||||||
<td style='width: 50%; text-align: center;' class='fcaption'> </td>
|
<th style='width: 50%; text-align: center;' class='fcaption'> </th>
|
||||||
</tr>
|
</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: 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'>$user_forums</td>
|
||||||
<td style='width: 10%; text-align: center;' class='forumheader3'>$percentage%</td>
|
<td style='width: 10%; text-align: center;' class='forumheader3'>$percentage%</td>
|
||||||
<td style='width: 50%; text-align: center;' class='forumheader3'>
|
<td style='width: 50%; text-align: center;' class='forumheader3'>".showBar($percentage)."</td>
|
||||||
|
|
||||||
<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>
|
|
||||||
</tr>
|
</tr>
|
||||||
";
|
";
|
||||||
$count++;
|
$count++;
|
||||||
|
@@ -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.
|
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 />
|
<br /><br />
|
||||||
<form method='post'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$ns->tablerender('Step 2: Forum table creation', $text);
|
$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 />
|
* user_plugin_forum_viewed (to track threads viewed by each user<br />
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$e107->ns->tablerender($stepCaption, $text);
|
$e107->ns->tablerender($stepCaption, $text);
|
||||||
@@ -227,7 +227,7 @@ function step3()
|
|||||||
$text .= "
|
$text .= "
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
@@ -252,7 +252,7 @@ function step4()
|
|||||||
Depending on the size of your user table, this step could take a while.
|
Depending on the size of your user table, this step could take a while.
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$ns->tablerender($stepCaption, $text);
|
$ns->tablerender($stepCaption, $text);
|
||||||
@@ -355,7 +355,7 @@ function step4()
|
|||||||
");
|
");
|
||||||
|
|
||||||
$text = "<form method='post' action='".e_SELF."?step=5'>
|
$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>";
|
</form>";
|
||||||
|
|
||||||
$ns->tablerender($stepCaption, $mes->render().$text);
|
$ns->tablerender($stepCaption, $mes->render().$text);
|
||||||
@@ -378,7 +378,7 @@ function step5()
|
|||||||
");
|
");
|
||||||
$text = "
|
$text = "
|
||||||
<form method='post'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$ns->tablerender($stepCaption, $mes->render().$text);
|
$ns->tablerender($stepCaption, $mes->render().$text);
|
||||||
@@ -430,7 +430,7 @@ function step5()
|
|||||||
|
|
||||||
$text = "
|
$text = "
|
||||||
<form method='post' action='".e_SELF."?step=6'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
|
|
||||||
@@ -468,7 +468,7 @@ function step6()
|
|||||||
<br /><br />
|
<br /><br />
|
||||||
There are {$count} forum threads to convert, we will be doing it in steps of: {$limitDropdown}
|
There are {$count} forum threads to convert, we will be doing it in steps of: {$limitDropdown}
|
||||||
<br /><br />
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$ns->tablerender($stepCaption, $mes->render(). $text);
|
$ns->tablerender($stepCaption, $mes->render(). $text);
|
||||||
@@ -541,7 +541,7 @@ function step6()
|
|||||||
{
|
{
|
||||||
$mes->addSuccess("Thread migration is complete!!");
|
$mes->addSuccess("Thread migration is complete!!");
|
||||||
$text = "<form method='post' action='".e_SELF."?step=7'>
|
$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>";
|
</form>";
|
||||||
|
|
||||||
$ns->tablerender($stepCaption, $mes->render(). $text);
|
$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.
|
This step will calculate post count information for all users, as well as recount all for thread and reply counts.
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$e107->ns->tablerender($stepCaption, $text);
|
$e107->ns->tablerender($stepCaption, $text);
|
||||||
@@ -585,7 +585,7 @@ function step7()
|
|||||||
Successfully recalculated forum posts for ".count($counts)." users.
|
Successfully recalculated forum posts for ".count($counts)." users.
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post' action='".e_SELF."?step=8'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$e107->ns->tablerender($stepCaption, $text);
|
$e107->ns->tablerender($stepCaption, $text);
|
||||||
@@ -601,7 +601,7 @@ function step8()
|
|||||||
This step will recalculate all thread and forum lastpost information
|
This step will recalculate all thread and forum lastpost information
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$e107->ns->tablerender($stepCaption, $text);
|
$e107->ns->tablerender($stepCaption, $text);
|
||||||
@@ -620,7 +620,7 @@ function step8()
|
|||||||
Successfully recalculated lastpost information for all forums and threads.
|
Successfully recalculated lastpost information for all forums and threads.
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post' action='".e_SELF."?step=9'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$e107->ns->tablerender($stepCaption, $text);
|
$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.
|
This step will recalculate all poll information that has been entered in the forums.
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$e107->ns->tablerender($stepCaption, $text);
|
$e107->ns->tablerender($stepCaption, $text);
|
||||||
@@ -685,7 +685,7 @@ function step9()
|
|||||||
Successfully migrated forum poll information for ".count($threadList)." thread poll(s).
|
Successfully migrated forum poll information for ".count($threadList)." thread poll(s).
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post' action='".e_SELF."?step=10'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$e107->ns->tablerender($stepCaption, $text);
|
$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.
|
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 />
|
<br /><br />
|
||||||
<form method='post'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$ns->tablerender($stepCaption, $text);
|
$ns->tablerender($stepCaption, $text);
|
||||||
@@ -915,7 +915,7 @@ function step10()
|
|||||||
Successfully migrated forum attachment information for ".count($postList)." post(s).
|
Successfully migrated forum attachment information for ".count($postList)." post(s).
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post' action='".e_SELF."?step=11'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$e107->ns->tablerender($stepCaption, $text);
|
$e107->ns->tablerender($stepCaption, $text);
|
||||||
@@ -934,7 +934,7 @@ function step11()
|
|||||||
we will try to identify these files and delete them.
|
we will try to identify these files and delete them.
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$e107->ns->tablerender($stepCaption, $text);
|
$e107->ns->tablerender($stepCaption, $text);
|
||||||
@@ -976,7 +976,7 @@ function step11()
|
|||||||
{$failText}
|
{$failText}
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post' action='".e_SELF."?step=12'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$e107->ns->tablerender($stepCaption, $text);
|
$e107->ns->tablerender($stepCaption, $text);
|
||||||
@@ -994,13 +994,13 @@ function step11()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$extra = "<input class='button' type='submit' name='delete_orphans' value='Show files' /> ";
|
$extra = "<input class='btn button' type='submit' name='delete_orphans' value='Show files' /> ";
|
||||||
}
|
}
|
||||||
$text .= "
|
$text .= "
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post'>
|
<form method='post'>
|
||||||
{$extra}
|
{$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>
|
</form>
|
||||||
";
|
";
|
||||||
$e107->ns->tablerender($stepCaption, $text);
|
$e107->ns->tablerender($stepCaption, $text);
|
||||||
@@ -1012,7 +1012,7 @@ function step11()
|
|||||||
There were no orphaned files found <br />
|
There were no orphaned files found <br />
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post' action='".e_SELF."?step=12'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$e107->ns->tablerender($stepCaption, $text);
|
$e107->ns->tablerender($stepCaption, $text);
|
||||||
@@ -1039,7 +1039,7 @@ function step12()
|
|||||||
<br /><br />
|
<br /><br />
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<form method='post'>
|
<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>
|
</form>
|
||||||
";
|
";
|
||||||
$ns->tablerender($stepCaption, $text);
|
$ns->tablerender($stepCaption, $text);
|
||||||
|
@@ -104,7 +104,7 @@ if(is_array($fileList))
|
|||||||
}
|
}
|
||||||
else
|
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>";
|
$txt .= "</tr>";
|
||||||
}
|
}
|
||||||
|
@@ -214,7 +214,7 @@ $fVars->SEARCH = "
|
|||||||
<input class='tbox' type='text' name='q' size='20' value='' maxlength='50' />
|
<input class='tbox' type='text' name='q' size='20' value='' maxlength='50' />
|
||||||
<input type='hidden' name='r' value='0' />
|
<input type='hidden' name='r' value='0' />
|
||||||
<input type='hidden' name='ref' value='forum' />
|
<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>
|
</p>
|
||||||
</form>";
|
</form>";
|
||||||
|
|
||||||
@@ -575,7 +575,7 @@ function forumjump()
|
|||||||
{
|
{
|
||||||
$text .= "\n<option value='".$key."'>".$val."</option>";
|
$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;
|
return $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -376,7 +376,7 @@ function forumjump()
|
|||||||
{
|
{
|
||||||
$text .= "\n<option value='" . $key . "'>" . $val . "</option>";
|
$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;
|
return $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -642,7 +642,7 @@ class e107ForumThread
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan='2' style='text-align:center;'><br />
|
<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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>";
|
</table>";
|
||||||
|
@@ -88,14 +88,14 @@ class plugin_forum_post_shortcodes extends e_shortcode
|
|||||||
function sc_buttons()
|
function sc_buttons()
|
||||||
{
|
{
|
||||||
global $action, $eaction;
|
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')
|
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
|
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;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
@@ -62,7 +62,7 @@ $fileattach = "
|
|||||||
<input class='tbox' name='file_userfile[]' type='file' size='47' />
|
<input class='tbox' name='file_userfile[]' type='file' size='47' />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
";
|
";
|
||||||
@@ -88,7 +88,7 @@ $FORUMPOST = "
|
|||||||
<div style='text-align:center'>
|
<div style='text-align:center'>
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
{FORMSTART}
|
{FORMSTART}
|
||||||
<table style='".USER_WIDTH."' class='fborder'>
|
<table style='".USER_WIDTH."' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan='2' class='fcaption'>{BACKLINK}
|
<td colspan='2' class='fcaption'>{BACKLINK}
|
||||||
</td>
|
</td>
|
||||||
@@ -132,7 +132,7 @@ $FORUMPOST_REPLY = "
|
|||||||
<div style='text-align:center'>
|
<div style='text-align:center'>
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
{FORMSTART}
|
{FORMSTART}
|
||||||
<table style='".USER_WIDTH."' class='fborder'>
|
<table style='".USER_WIDTH."' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan='2' class='fcaption'>{BACKLINK}
|
<td colspan='2' class='fcaption'>{BACKLINK}
|
||||||
</td>
|
</td>
|
||||||
@@ -179,7 +179,7 @@ $FORUMPOST_REPLY = "
|
|||||||
if(!vartrue($LATESTPOSTS_START))
|
if(!vartrue($LATESTPOSTS_START))
|
||||||
{
|
{
|
||||||
$LATESTPOSTS_START = "
|
$LATESTPOSTS_START = "
|
||||||
<table style='".USER_WIDTH."' class='fborder'>
|
<table style='".USER_WIDTH."' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan='2' class='fcaption' style='vertical-align:top'>".
|
<td colspan='2' class='fcaption' style='vertical-align:top'>".
|
||||||
LAN_101."{LATESTPOSTSCOUNT}".LAN_102."
|
LAN_101."{LATESTPOSTSCOUNT}".LAN_102."
|
||||||
@@ -210,7 +210,7 @@ $LATESTPOSTS_END = "
|
|||||||
if(!vartrue($THREADTOPIC_REPLY))
|
if(!vartrue($THREADTOPIC_REPLY))
|
||||||
{
|
{
|
||||||
$THREADTOPIC_REPLY = "
|
$THREADTOPIC_REPLY = "
|
||||||
<table style='".USER_WIDTH."' class='fborder'>
|
<table style='".USER_WIDTH."' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan='2' class='fcaption' style='vertical-align:top'>".LAN_100."</td>
|
<td colspan='2' class='fcaption' style='vertical-align:top'>".LAN_100."</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@@ -15,7 +15,7 @@ if (!defined('e107_INIT')) { exit; }
|
|||||||
if(!defined('USER_WIDTH')) { define('USER_WIDTH','width:95%'); }
|
if(!defined('USER_WIDTH')) { define('USER_WIDTH','width:95%'); }
|
||||||
|
|
||||||
$FORUMPOLLPOSTED =
|
$FORUMPOLLPOSTED =
|
||||||
"<table style='".USER_WIDTH."' class='fborder'>
|
"<table style='".USER_WIDTH."' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='fcaption' colspan='2'>".LAN_133."</td>
|
<td class='fcaption' colspan='2'>".LAN_133."</td>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
@@ -27,7 +27,7 @@ $FORUMPOLLPOSTED =
|
|||||||
</td></tr></table>";
|
</td></tr></table>";
|
||||||
|
|
||||||
$FORUMTHREADPOSTED = "
|
$FORUMTHREADPOSTED = "
|
||||||
<table style='".USER_WIDTH."' class='fborder'>
|
<table style='".USER_WIDTH."' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='fcaption' colspan='2'>".LAN_133."</td>
|
<td class='fcaption' colspan='2'>".LAN_133."</td>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
@@ -41,7 +41,7 @@ $FORUMTHREADPOSTED = "
|
|||||||
|
|
||||||
|
|
||||||
$FORUMREPLYPOSTED = "
|
$FORUMREPLYPOSTED = "
|
||||||
<table style='".USER_WIDTH."' class='fborder'>
|
<table style='".USER_WIDTH."' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='fcaption' colspan='2'>".LAN_133."</td>
|
<td class='fcaption' colspan='2'>".LAN_133."</td>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
|
@@ -15,7 +15,7 @@ if (!defined('e107_INIT')) { exit; }
|
|||||||
if(!defined("USER_WIDTH")){ define("USER_WIDTH","width:95%;margin-left:auto;margin-right:auto"); }
|
if(!defined("USER_WIDTH")){ define("USER_WIDTH","width:95%;margin-left:auto;margin-right:auto"); }
|
||||||
|
|
||||||
$FORUM_PREVIEW = "<div style='text-align:center'>
|
$FORUM_PREVIEW = "<div style='text-align:center'>
|
||||||
<table style='".USER_WIDTH."' class='fborder'>
|
<table style='".USER_WIDTH."' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan='2' class='fcaption' style='vertical-align:top'>".LAN_323.
|
<td colspan='2' class='fcaption' style='vertical-align:top'>".LAN_323.
|
||||||
($action != "nt" ? "</td>" : " ( ".LAN_62.$tsubject." )</td>")."
|
($action != "nt" ? "</td>" : " ( ".LAN_62.$tsubject." )</td>")."
|
||||||
|
@@ -16,7 +16,7 @@ if(!defined("USER_WIDTH")){ define("USER_WIDTH","width:95%"); }
|
|||||||
|
|
||||||
if (!isset($FORUM_MAIN_START))
|
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))
|
if (!isset($FORUM_MAIN_PARENT))
|
||||||
{
|
{
|
||||||
@@ -28,12 +28,12 @@ if (!isset($FORUM_MAIN_FORUM))
|
|||||||
}
|
}
|
||||||
if (!isset($FORUM_MAIN_END))
|
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))
|
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'> </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'> </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))
|
if (!isset($FORUM_NEWPOSTS_MAIN))
|
||||||
@@ -48,7 +48,7 @@ if (!isset($FORUM_NEWPOSTS_END))
|
|||||||
|
|
||||||
if (!isset($FORUM_TRACK_START))
|
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))
|
if (!isset($FORUM_TRACK_MAIN))
|
||||||
{
|
{
|
||||||
|
@@ -20,7 +20,7 @@ $FORUM_VIEW_START = "
|
|||||||
|
|
||||||
<div style='text-align:center'>
|
<div style='text-align:center'>
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
<table style='".USER_WIDTH."' class='fborder' >
|
<table style='".USER_WIDTH."' class='fborder table' >
|
||||||
<tr>
|
<tr>
|
||||||
<td class='fcaption'>{BREADCRUMB}</td>
|
<td class='fcaption'>{BREADCRUMB}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -45,7 +45,7 @@ $FORUM_VIEW_START = "
|
|||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
{MESSAGE}
|
{MESSAGE}
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
<table style='".USER_WIDTH."' class='fborder'>
|
<table style='".USER_WIDTH."' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td style='width:3%' class='fcaption'> </td>
|
<td style='width:3%' class='fcaption'> </td>
|
||||||
<td style='width:47%' class='fcaption'>{THREADTITLE}</td>
|
<td style='width:47%' class='fcaption'>{THREADTITLE}</td>
|
||||||
@@ -61,7 +61,7 @@ if(!$FORUM_VIEW_START_CONTAINER)
|
|||||||
$FORUM_VIEW_START_CONTAINER = "
|
$FORUM_VIEW_START_CONTAINER = "
|
||||||
<div style='text-align:center'>
|
<div style='text-align:center'>
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
<table style='".USER_WIDTH."' class='fborder' >
|
<table style='".USER_WIDTH."' class='fborder table' >
|
||||||
<tr>
|
<tr>
|
||||||
<td class='fcaption'>{BREADCRUMB}</td>
|
<td class='fcaption'>{BREADCRUMB}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -159,7 +159,7 @@ if (!$FORUM_VIEW_END) {
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
<table class='fborder' style='".USER_WIDTH."'>
|
<table class='fborder table' style='".USER_WIDTH."'>
|
||||||
<tr>
|
<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'>{MODERATORS}</span></td>
|
||||||
<td style='vertical-align:middle; width:50%' class='forumheader3'><span class='smalltext'>{BROWSERS}</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>
|
||||||
|
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
<table class='fborder' style='".USER_WIDTH."'>
|
<table class='fborder table' style='".USER_WIDTH."'>
|
||||||
<tr>
|
<tr>
|
||||||
<td style='vertical-align:middle; width:50%' class='forumheader3'>{ICONKEY}</td>
|
<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}
|
<td style='vertical-align:middle; text-align:center; width:50%' class='forumheader3'><span class='smallblacktext'>{PERMS}</span><br /><br />{SEARCH}
|
||||||
|
@@ -33,7 +33,7 @@ $sc_style['USER_EXTENDED']['location.text_value']['post'] = "<br />";
|
|||||||
|
|
||||||
$FORUMSTART = "<a id='top'></a><div style='text-align:center'>
|
$FORUMSTART = "<a id='top'></a><div style='text-align:center'>
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
<table style='".USER_WIDTH."' class='fborder'>
|
<table style='".USER_WIDTH."' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='fcaption'>
|
<td class='fcaption'>
|
||||||
{BACKLINK}
|
{BACKLINK}
|
||||||
@@ -81,7 +81,7 @@ $FORUMSTART = "<a id='top'></a><div style='text-align:center'>
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div class='spacer'>
|
<div class='spacer'>
|
||||||
<table style='".USER_WIDTH."' class='fborder'>
|
<table style='".USER_WIDTH."' class='fborder table'>
|
||||||
<tr>
|
<tr>
|
||||||
<td style='width:20%; text-align:center' class='fcaption'>
|
<td style='width:20%; text-align:center' class='fcaption'>
|
||||||
".LAN_402."
|
".LAN_402."
|
||||||
|
Reference in New Issue
Block a user