Commit 8281ca0d authored by Nigel McNie's avatar Nigel McNie

Added icons next to closed and subscribed topics. Will be up to G&D what icons end up being needed.

Also, added a key down the bottom of the view forum page, so that people can find out what the icons mean.
parent bf432427
......@@ -96,6 +96,7 @@ $string['sticky'] = 'Sticky';
$string['stickydescription'] = 'Sticky topics are at the top of every page';
$string['stickytopics'] = 'Sticky topics';
$string['subscribe'] = 'Subscribe';
$string['Subscribed'] = 'Subscribed';
$string['subscribetoforum'] = 'Subscribe to forum';
$string['subscribetotopic'] = 'Subscribe to topic';
$string['subject'] = 'Subject';
......@@ -5,8 +5,8 @@
<tr class="r0">
{if $topic->closed}C{else}O{/if}
{if $topic->subscribed}S{else}U{/if}
{if $topic->closed}<img src="{$closedicon|escape}" alt="{str tag="closed" section=""}">{/if}
{if $topic->subscribed}<img src="{$subscribedicon|escape}" alt="{str tag="subscribed" section=""}">{/if}
{if !$forum->subscribed || $moderator}
......@@ -72,6 +72,13 @@
<input type="submit" name="updatetopics2" value="{str tag="updatetopics" section=""}" class="submit">
<li><img src="{$closedicon|escape}" alt="{str tag="closed" section=""}"> {str tag="closed" section=""}</li>
<li><img src="{$subscribedicon|escape}" alt="{str tag="Subscribed" section=""}"> {str tag="Subscribed" section=""}</li>
{str tag="notopics" section=""}
......@@ -226,6 +226,8 @@ $smarty->assign('moderator', $moderator);
$smarty->assign('admin', $admin);
$smarty->assign('stickytopics', $stickytopics);
$smarty->assign('regulartopics', $regulartopics);
$smarty->assign('closedicon', theme_get_url('images/closed.gif', 'interaction/forum/'));
$smarty->assign('subscribedicon', theme_get_url('images/subscribed.gif', 'interaction/forum/'));
$smarty->assign('pagination', $pagination['html']);
$smarty->assign('INLINEJAVASCRIPT', $inlinejavascript);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment