[Svn] r3729 - trunk/roundcubemail/program/include

trac at roundcube.net trac at roundcube.net
Tue Jun 8 23:13:20 CEST 2010


Author: thomasb
Date: 2010-06-08 16:13:20 -0500 (Tue, 08 Jun 2010)
New Revision: 3729

Modified:
   trunk/roundcubemail/program/include/rcube_template.php
Log:
Bring back some previously removed lines

Modified: trunk/roundcubemail/program/include/rcube_template.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_template.php	2010-06-08 20:50:15 UTC (rev 3728)
+++ trunk/roundcubemail/program/include/rcube_template.php	2010-06-08 21:13:20 UTC (rev 3729)
@@ -791,6 +791,10 @@
 
         if ($attrib['task'])
           $command = $attrib['task'] . '.' . $command;
+          
+        if (!$attrib['image']) {
+            $attrib['image'] = $attrib['imagepas'] ? $attrib['imagepas'] : $attrib['imageact'];
+        }
 
         if (!$attrib['id']) {
             $attrib['id'] =  sprintf('rcmbtn%d', $s_button_count++);

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list