2017-12-14, 12:24 PM
@RocketFoot , this plugin uses global templates. no changes are required in the templates of individual themes.
@labrocca , you can easily add required collapse & expand code into advancedpmnotice template
eg. code [may not be the perfect]
@labrocca , you can easily add required collapse & expand code into advancedpmnotice template
eg. code [may not be the perfect]
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="5"><a href="{$mybb->settings['bburl']}/private.php"><strong>{$lang->advancedpmnotice_header}</strong></a><div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['indexapm']}.png" id="indexapm_img" class="expander" alt="{$expaltext}" title="{$expaltext}"></div></td>
</tr>
</thead>
<tbody style="{$collapsed['indexapm_e']}" id="indexapm_e">
<tr>
<td class="tcat" width="20%" align="left">{$lang->advancedpmnotice_subject}</td>
<td class="tcat" width="50%" align="left">{$lang->advancedpmnotice_message}</td>
<td class="tcat" width="10%" align="center">{$lang->advancedpmnotice_from}</td>
<td class="tcat" width="15%" align="center">{$lang->advancedpmnotice_date}</td>
<td class="tcat" width="5%" align="center">{$lang->advancedpmnotice_controls}</td>
</tr>
{$advancedpmnotice_unread_pms}
{$advancedpmnotice_footer}
</tbody>
</table>