MyBB Community Forums

Full Version: Small Fix (maybe)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dont know if it was meant to look like this or what, but the "Inline Thread Moderation" part of the view forum (for admins) was not aligned with the other threads (if you changed the content width)

To fix it, you can go Templates >> Modify/Delete >> Your Skin EXPAND >> Forum Display Templates EXPAND >> forumdisplay_inlinemoderation

Replace everything and add:

<form action="moderation.php" method="post">
<input type="hidden" name="fid" value="$fid">
<table cellspacing="0" cellpadding="0" border="0" align="right" class="tborder">
<tr><td class="tborder">
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" width="100%">
<tr>
<td class="trow1" align="right" nowrap="nowrap"><span class="smalltext"><strong>$lang->inline_thread_moderation</strong></span>
<select name="action">
<option value="multiclosethreads">$lang->close_threads</option>
<option value="multiopenthreads">$lang->open_threads</option>
<option value="multistickthreads">$lang->stick_threads</option>
<option value="multiunstickthreads">$lang->unstick_threads</option>
<option value="multideletethreads">$lang->delete_threads</option>
<option value="multimovethreads">$lang->move_threads</option>
<option value="multiapprovethreads">$lang->approve_threads</option>
<option value="multiunapprovethreads">$lang->unapprove_threads</option>
</select>
<input type="submit" name="go" value="$lang->inline_go ($inlinecount)" name="inline_go" id="inline_go" />&nbsp;
<input type="button" onclick="javascript:inlineunset();" value="$lang->clear" />
</td>
</tr>
</table>
</td></tr>
</table>
</form>
<script language="JavaScript" type="text/javascript">
var go_text = "$lang->inline_go";
begininline($fid, "forum");
</script>
<br /><br /><br />
And I think there is a error in the Line:
<input type="submit" name="go" value="$lang->inline_go ($inlinecount)" name="inline_go" id="inline_go" />&nbsp;
the NAME-Tag is doubled
name="go"
name="inline_go"

What NAME should get deleted?