Commit 84e75bcd authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan

added 'choose an item' as default to update topics select box

changed button text to update selected topics
parent 7ef3ca67
......@@ -42,6 +42,7 @@ $string['cantfindpost'] = 'Couldn\'t find post with id %s';
$string['cantfindtopic'] = 'Couldn\'t find topic with id %s';
$string['cantviewforums'] = 'You are not allowed to view forums in this group';
$string['cantviewtopic'] = 'You are not allowed to view topics in this forum';
$string['chooseanaction'] = 'Choose an action';
$string['clicksetsubject'] = 'Click to set a subject';
$string['closed'] = 'Closed';
$string['closeddescription'] = 'Closed topics can only be replied to by moderators and the group owner';
......@@ -116,6 +117,6 @@ $string['unsticky'] = 'Unsticky';
$string['unsubscribe'] = 'Unsubscribe';
$string['unsubscribefromforum'] = 'Unsubscribe from forum';
$string['unsubscribefromtopic'] = 'Unsubscribe from topic';
$string['updatetopics'] = 'Update topics';
$string['updateselectedtopics'] = 'Update selected topics';
?>
......@@ -22,6 +22,7 @@
<form action="" method="post">
{if !$forum->subscribed || $moderator}
<select name="type1">
<option value="default" selected="selected">{str tag="chooseanaction" section="interaction.forum"}</option>
{if !$forum->subscribed}
<option value="subscribe">{str tag="subscribe" section="interaction.forum"}</option>
<option value="unsubscribe">{str tag="unsubscribe" section="interaction.forum"}</option>
......@@ -33,7 +34,7 @@
<option value="open">{str tag="open" section="interaction.forum"}</option>
{/if}
</select>
<input type="submit" name="updatetopics1" value="{str tag="updatetopics" section="interaction.forum"}" class="submit">
<input type="submit" name="updatetopics1" value="{str tag="updateselectedtopics" section="interaction.forum"}" class="submit">
{/if}
<table>
<tr>
......@@ -58,6 +59,7 @@
{/if}
{if !$forum->subscribed || $moderator}
<select name="type2">
<option value="default" selected="selected">{str tag="chooseanaction" section="interaction.forum"}</option>
{if !$forum->subscribed}
<option value="subscribe">{str tag="subscribe" section="interaction.forum"}</option>
<option value="unsubscribe">{str tag="unsubscribe" section="interaction.forum"}</option>
......@@ -69,7 +71,7 @@
<option value="open">{str tag="open" section="interaction.forum"}</option>
{/if}
</select>
<input type="submit" name="updatetopics2" value="{str tag="updatetopics" section="interaction.forum"}" class="submit">
<input type="submit" name="updatetopics2" value="{str tag="updateselectedtopics" section="interaction.forum"}" class="submit">
{/if}
</form>
{else}
......
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