summaryrefslogtreecommitdiff
path: root/plugins/managesieve/managesieve.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-10-12 09:47:15 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-10-12 09:47:15 +0000
commita6f38ae792776f3593d7dc7345707ac7c358ccb5 (patch)
tree9f7e93df0df1179b4209ca12cb1f1fa57134b751 /plugins/managesieve/managesieve.php
parent25ae3cb0bbf8a35b129d57f004b1d9ad68cfa981 (diff)
- Use smaller action/rule buttons, create separate dir for images
git-svn-id: https://svn.roundcube.net/trunk@5334 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/managesieve/managesieve.php')
-rw-r--r--plugins/managesieve/managesieve.php18
1 files changed, 8 insertions, 10 deletions
diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php
index ff27486d9..e7977dd85 100644
--- a/plugins/managesieve/managesieve.php
+++ b/plugins/managesieve/managesieve.php
@@ -1171,11 +1171,10 @@ class managesieve extends rcube_plugin
// add/del buttons
$out .= '<td class="rowbuttons">';
- $out .= '<input type="button" id="ruleadd' . $id .'" value="'. Q($this->gettext('add')). '"
- onclick="rcmail.managesieve_ruleadd(' . $id .')" class="button" /> ';
- $out .= '<input type="button" id="ruledel' . $id .'" value="'. Q($this->gettext('del')). '"
- onclick="rcmail.managesieve_ruledel(' . $id .')" class="button' . ($rows_num<2 ? ' disabled' : '') .'"'
- . ($rows_num<2 ? ' disabled="disabled"' : '') .' />';
+ $out .= '<a href="#" id="ruleadd' . $id .'" title="'. Q($this->gettext('add')). '"
+ onclick="rcmail.managesieve_ruleadd(' . $id .')" class="button add"></a>';
+ $out .= '<a href="#" id="ruledel' . $id .'" title="'. Q($this->gettext('del')). '"
+ onclick="rcmail.managesieve_ruledel(' . $id .')" class="button del' . ($rows_num<2 ? ' disabled' : '') .'"></a>';
$out .= '</td></tr></table>';
$out .= $div ? "</div>\n" : '';
@@ -1296,11 +1295,10 @@ class managesieve extends rcube_plugin
// add/del buttons
$out .= '<td class="rowbuttons">';
- $out .= '<input type="button" id="actionadd' . $id .'" value="'. Q($this->gettext('add')). '"
- onclick="rcmail.managesieve_actionadd(' . $id .')" class="button" /> ';
- $out .= '<input type="button" id="actiondel' . $id .'" value="'. Q($this->gettext('del')). '"
- onclick="rcmail.managesieve_actiondel(' . $id .')" class="button' . ($rows_num<2 ? ' disabled' : '') .'"'
- . ($rows_num<2 ? ' disabled="disabled"' : '') .' />';
+ $out .= '<a href="#" id="actionadd' . $id .'" title="'. Q($this->gettext('add')). '"
+ onclick="rcmail.managesieve_actionadd(' . $id .')" class="button add"></a>';
+ $out .= '<a href="#" id="actiondel' . $id .'" title="'. Q($this->gettext('del')). '"
+ onclick="rcmail.managesieve_actiondel(' . $id .')" class="button del' . ($rows_num<2 ? ' disabled' : '') .'"></a>';
$out .= '</td>';
$out .= '</tr></table>';