MyBB Community Forums

Full Version: I need to find this in templates
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
O.K.
Well I found
<tr>
<td class="trow1" style="vertical-align: top"><strong>{$lang->post_icon}</strong><br /><span class="smalltext"><label class="label_radio"><input type="radio" class="radio" name="icon" value="-1"{$no_icons_checked} />{$lang->no_post_icon}</label></span></td>
<td class="trow1" valign="top">{$iconlist}</td>
</tr>
In the posticons but I need to edit something in
<td class="trow1" valign="top">{$iconlist}</td>
But I do not know where to find the code in {$iconlist} to edit it
What exactly are you trying to do?
(2012-12-27, 12:04 AM)pandaa Wrote: [ -> ]What exactly are you trying to do?
I want to add class="label_radio" to <label> </label>
so i get<label class="label_radio"><input type="radio" name="icon" value="6" /> <img src="images/icons/wink.gif" alt="Wink" /></label>
got to do the same to all icons
Unfortunately right now that code isn't in a template, it's hardcoded into inc/functions.php around line 1608. You'll have to edit that file in order to add the label. We aim on moving all hardcoded HTML into templates in MyBB 1.8.
(2012-12-27, 12:21 AM)Paul H. Wrote: [ -> ]Unfortunately right now that code isn't in a template, it's hardcoded into inc/functions.php around line 1608. You'll have to edit that file in order to add the label. We aim on moving all hardcoded HTML into templates in MyBB 1.8.
Thank you Paul H