Quote:
Originally Posted by Zachery
I'd suggest moving the bit of code to below the regular options, as $threadinfo[open] is not avaible in the showthread_quickreply template
find in the showthread template.
Code:
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
</div>
Add after
Code:
<if condition="is_member_of($bbuserinfo, 5,6,7)"><fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px"><legend>Moderatory Options</legend> <div>
<label for="cb_hidepost" style="float:$stylevar[left]"><input type="checkbox" name="hidepost" value="1" id="cb_hidepost" />Hide Post?</label>
<div style="float:$stylevar[right]">
<label for="cb_openclose"><input type="checkbox" name="openclose" value="1" id="cb_openclose" /><if condition="$threadinfo['open']">Close<else />Open</if> Thread</label>$threadinfo[open]
</div>
</div></fieldset></if>
|
Thank you, sir.
Can we use:
HTML Code:
<if condition="can_moderate()">
instead of:
HTML Code:
<if condition="is_member_of($bbuserinfo, 5,6,7)">
Which is better?
And can we get this to work in the editpost like it is?