Skip to content

Commit 1155e90

Browse files
committed
i18n fix for bulk options
1 parent e23249a commit 1155e90

21 files changed

+67
-67
lines changed

web/templates/admin/list_cron.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
<form action="/bulk/cron/" method="post" id="objects">
1515
<a class="submenu-select-link" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
1616
<select class="submenu-select-dropdown" name="action">
17-
<option><?php print _('apply to selected');?></option>
18-
<option><?php print _('suspend');?></option>
19-
<option><?php print _('unsuspend');?></option>
20-
<option><?php print _('delete');?></option>
17+
<option value=""><?php print _('apply to selected');?></option>
18+
<option value="suspend"><?php print _('suspend');?></option>
19+
<option value="unsuspend"><?php print _('unsuspend');?></option>
20+
<option value="delete"><?php print _('delete');?></option>
2121
</select>
2222
<input type="submit" name="ok" value="" class="submenu-button" style="width: 36px;">
2323
</div>

web/templates/admin/list_db.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
<form action="/bulk/db/" method="post" id="objects">
1515
<a class="submenu-select-link" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
1616
<select class="submenu-select-dropdown" name="action">
17-
<option><?php print _('apply to selected');?></option>
18-
<option><?php print _('suspend');?></option>
19-
<option><?php print _('unsuspend');?></option>
20-
<option><?php print _('delete');?></option>
17+
<option value=""><?php print _('apply to selected');?></option>
18+
<option value="suspend"><?php print _('suspend');?></option>
19+
<option value="unsuspend"><?php print _('unsuspend');?></option>
20+
<option value="delete"><?php print _('delete');?></option>
2121
</select>
2222
<input type="submit" name="ok" value="" class="submenu-button" style="width: 36px;">
2323
</div>

web/templates/admin/list_dns.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
<form action="/bulk/dns/" method="post" id="objects">
1515
<a class="submenu-select-link" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
1616
<select class="submenu-select-dropdown" name="action">
17-
<option><?php print _('apply to selected');?></option>
18-
<option><?php print _('suspend');?></option>
19-
<option><?php print _('unsuspend');?></option>
20-
<option><?php print _('delete');?></option>
17+
<option value=""><?php print _('apply to selected');?></option>
18+
<option value="suspend"><?php print _('suspend');?></option>
19+
<option value="unsuspend"><?php print _('unsuspend');?></option>
20+
<option value="delete"><?php print _('delete');?></option>
2121
</select>
2222
<input type="submit" name="ok" value="" class="submenu-button" style="width: 36px;">
2323
</div>

web/templates/admin/list_dns_rec.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
<form action="/bulk/dns/" method="post" id="objects">
1515
<a class="submenu-select-link" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
1616
<select class="submenu-select-dropdown" name="action">
17-
<option><?php print _('apply to selected');?></option>
18-
<option><?php print _('suspend');?></option>
19-
<option><?php print _('unsuspend');?></option>
20-
<option><?php print _('delete');?></option>
17+
<option value=""><?php print _('apply to selected');?></option>
18+
<option value="suspend"><?php print _('suspend');?></option>
19+
<option value="unsuspend"><?php print _('unsuspend');?></option>
20+
<option value="delete"><?php print _('delete');?></option>
2121
</select>
2222
<input type="submit" name="ok" value="" class="submenu-button" style="width: 36px;">
2323
</div>

web/templates/admin/list_ip.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
<form action="/bulk/ip/" method="post" id="objects">
1515
<a class="submenu-select-link" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
1616
<select class="submenu-select-dropdown" name="action">
17-
<option><?php print _('apply to selected');?></option>
18-
<option><?php print _('reread IP');?></option>
19-
<option><?php print _('delete');?></option>
17+
<option value=""><?php print _('apply to selected');?></option>
18+
<option value="reread IP"><?php print _('reread IP');?></option>
19+
<option value="delete"><?php print _('delete');?></option>
2020
</select>
2121
<input type="submit" name="ok" value="" class="submenu-button" style="width: 36px;">
2222
</div>

web/templates/admin/list_mail.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
<form action="/bulk/mail/" method="post" id="objects">
1515
<a class="submenu-select-link" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
1616
<select class="submenu-select-dropdown" name="action">
17-
<option><?php print _('apply to selected');?></option>
18-
<option><?php print _('suspend');?></option>
19-
<option><?php print _('unsuspend');?></option>
20-
<option><?php print _('delete');?></option>
17+
<option value=""><?php print _('apply to selected');?></option>
18+
<option value="suspend"><?php print _('suspend');?></option>
19+
<option value="unsuspend"><?php print _('unsuspend');?></option>
20+
<option value="delete"><?php print _('delete');?></option>
2121
</select>
2222
<input type="submit" name="ok" value="" class="submenu-button" style="width: 36px;">
2323
</div>

web/templates/admin/list_mail_acc.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
<form action="/bulk/mail/" method="post" id="objects">
1515
<a class="submenu-select-link" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
1616
<select class="submenu-select-dropdown" name="action">
17-
<option><?php print _('apply to selected');?></option>
18-
<option><?php print _('suspend');?></option>
19-
<option><?php print _('unsuspend');?></option>
20-
<option><?php print _('delete');?></option>
17+
<option value=""><?php print _('apply to selected');?></option>
18+
<option value="suspend"><?php print _('suspend');?></option>
19+
<option value="unsuspend"><?php print _('unsuspend');?></option>
20+
<option value="delete"><?php print _('delete');?></option>
2121
</select>
2222
<input type="submit" name="ok" value="" class="submenu-button" style="width: 36px;">
2323
</div>

web/templates/admin/list_packages.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<form action="/bulk/package/" method="post" id="objects">
1515
<a class="submenu-select-link" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
1616
<select class="submenu-select-dropdown" name="action">
17-
<option><?php print _('apply to selected');?></option>
18-
<option><?php print _('delete');?></option>
17+
<option value=""><?php print _('apply to selected');?></option>
18+
<option value="delete"><?php print _('delete');?></option>
1919
</select>
2020
<input type="submit" name="ok" value="" class="submenu-button" style="width: 36px;">
2121
</div>

web/templates/admin/list_services.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
<form action="/bulk/service/" method="post" id="objects">
1212
<a class="submenu-select-link" href='javascript:checkedAll("objects");'> <?php print _('toggle all');?> </a>
1313
<select class="submenu-select-dropdown" name="action">
14-
<option><?php print _('apply to selected');?></option>
15-
<option<?php print _('stop');?>></option>
16-
<option><?php print _('start');?></option>
17-
<option><?php print _('restart');?></option>
14+
<option value=""><?php print _('apply to selected');?></option>
15+
<option value="stop"><?php print _('stop');?></option>
16+
<option value="start"><?php print _('start');?></option>
17+
<option value="restart"><?php print _('restart');?></option>
1818
</select>
1919
<input type="submit" name="ok" value="" class="submenu-button" style="width: 36px;">
2020
</div>

web/templates/admin/list_stats.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<a class="vst" <?php if (empty($_GET['user'])) echo "style='color: #174f82'"; ?> href='/list/stats/'><?php print _('Overall Statistics');?></a>
77
<div class="submenu-select-block">
88
<select class="submenu-select-dropdown" name="user">
9-
<option value=''><?php print _('show per user');?></option>
9+
<option value=""><?php print _('show per user');?></option>
1010
<?php
1111
foreach ($users as $key => $value) {
1212
echo "\t\t\t\t<option value=\"".$value."\"";

0 commit comments

Comments
 (0)