mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 08:34:09 +02:00
Minor UI fixes to forum
This commit is contained in:
@@ -466,7 +466,7 @@ class forumAdmin
|
|||||||
$text = "
|
$text = "
|
||||||
<form method='post' action='".e_SELF.'?'.e_QUERY."'>
|
<form method='post' action='".e_SELF.'?'.e_QUERY."'>
|
||||||
<table class='table adminform'>
|
<table class='table adminform'>
|
||||||
<colgroup span='2'>
|
<colgroup>
|
||||||
<col class='col-label' />
|
<col class='col-label' />
|
||||||
<col class='col-control' />
|
<col class='col-control' />
|
||||||
</colgroup>
|
</colgroup>
|
||||||
@@ -533,21 +533,24 @@ class forumAdmin
|
|||||||
$text = "
|
$text = "
|
||||||
<form method='post' action='".e_SELF.'?'.e_QUERY."'>\n
|
<form method='post' action='".e_SELF.'?'.e_QUERY."'>\n
|
||||||
<table class='table adminform'>
|
<table class='table adminform'>
|
||||||
|
<colgroup>
|
||||||
|
<col class='col-label' />
|
||||||
|
<col class='col-control' />
|
||||||
|
</colgroup>
|
||||||
<tr>
|
<tr>
|
||||||
<td>".FORLAN_22.":</td>
|
<td>".FORLAN_22.":</td>
|
||||||
<td>";
|
<td>";
|
||||||
|
|
||||||
$sql->select('forum', '*', 'forum_parent=0');
|
$sql->select('forum', '*', 'forum_parent=0');
|
||||||
$text .= "<select name='forum_parent' class='tbox'>\n";
|
$text .= "<select name='forum_parent' class='tbox'>\n";
|
||||||
while (list($fid, $fname) = $sql->fetch(MYSQL_NUM))
|
while (list($fid, $fname) = $sql->fetch(MYSQL_NUM))
|
||||||
{
|
{
|
||||||
$sel = ($fid == vartrue($fInfor['forum_parent']) ? "selected='selected'" : '');
|
$sel = ($fid == vartrue($fInfor['forum_parent']) ? "selected='selected'" : '');
|
||||||
$text .= "<option value='{$fid}' {$sel}>{$fname}</option>\n";
|
$text .= "<option value='{$fid}' {$sel}>{$fname}</option>\n";
|
||||||
}
|
}
|
||||||
$text .= "</select>
|
$text .= "</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>".LAN_NAME.":</td>
|
<td>".LAN_NAME.":</td>
|
||||||
<td><input class='tbox' type='text' name='forum_name' size='60' value='".$tp->toForm(vartrue($fInfo['forum_name']))."' maxlength='250' /><span class='field-help'>".FORLAN_179."</span></td>
|
<td><input class='tbox' type='text' name='forum_name' size='60' value='".$tp->toForm(vartrue($fInfo['forum_name']))."' maxlength='250' /><span class='field-help'>".FORLAN_179."</span></td>
|
||||||
|
@@ -111,8 +111,8 @@ $FORUM_TEMPLATE['main-parent'] = "<tr>
|
|||||||
$FORUM_TEMPLATE['main-forum'] = "<tr>
|
$FORUM_TEMPLATE['main-forum'] = "<tr>
|
||||||
<td>{NEWFLAG}</td>
|
<td>{NEWFLAG}</td>
|
||||||
<td>{FORUMNAME}<br /><small>{FORUMDESCRIPTION}</small>{FORUMSUBFORUMS}</td>
|
<td>{FORUMNAME}<br /><small>{FORUMDESCRIPTION}</small>{FORUMSUBFORUMS}</td>
|
||||||
<td>{THREADSX}</td>
|
|
||||||
<td>{REPLIESX}</td>
|
<td>{REPLIESX}</td>
|
||||||
|
<td>{THREADSX}</td>
|
||||||
<td><small>{LASTPOSTUSER} {LASTPOSTDATE}</small></td>
|
<td><small>{LASTPOSTUSER} {LASTPOSTDATE}</small></td>
|
||||||
</tr>";
|
</tr>";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user