Make this call a bit easier to read.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 1 Sep 2010 19:29:58 +0000 (13:29 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 1 Sep 2010 19:29:58 +0000 (13:29 -0600)
imp/lib/Dimp.php

index b7e592b..6d34002 100644 (file)
@@ -33,15 +33,20 @@ class IMP_Dimp
      */
     static public function actionButton($params = array())
     {
-        return Horde::link('', '',
-                           empty($params['class']) ? '' : $params['class'],
-                           '', '', '', Horde::getAccessKey($params['title']),
-                           empty($params['id']) ? array() : array('id' => $params['id']),
-                           true)
-            . (!empty($params['icon'])
-                  ? '<span class="iconImg dimpaction' . $params['icon'] . '"></span>'
-                  : '')
-            . $params['title'] . '</a>';
+        return Horde::link(
+            '',
+            '',
+            empty($params['class']) ? '' : $params['class'],
+            '',
+            '',
+            '',
+            Horde::getAccessKey($params['title']),
+           empty($params['id']) ? array() : array('id' => $params['id']),
+           true
+       ) . (empty($params['icon'])
+            ? ''
+            : '<span class="iconImg dimpaction' . $params['icon'] . '"></span>').
+           $params['title'] . '</a>';
     }
 
     /**