[vhffs-dev] [874] Added a "home" button in the button bar, changed the icon of user preferences

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 874
Author:   gradator
Date:     2007-09-08 00:43:52 +0000 (Sat, 08 Sep 2007)

Log Message:
-----------
Added a "home" button in the button bar, changed the icon of user preferences

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Panel/Main.pm
    trunk/vhffs-panel/templates/menu/main.tmpl
    trunk/vhffs-panel/themes/vhffs/images/prefs.png


Modified: trunk/vhffs-api/src/Vhffs/Panel/Main.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Main.pm	2007-09-08 00:26:51 UTC (rev 873)
+++ trunk/vhffs-api/src/Vhffs/Panel/Main.pm	2007-09-08 00:43:52 UTC (rev 874)
@@ -447,8 +447,9 @@
     } else {
         $menutemplate->param( TEXT_ACCOUNT    => gettext('User account') );
     }
+    $menutemplate->param( TEXT_HOME         => gettext('Home page') );
+    $menutemplate->param( TEXT_PREFS        => gettext("User Preferences") );
     $menutemplate->param( TEXT_PROJECTS     => gettext('My Projects') );
-    $menutemplate->param( TEXT_PREFS        => gettext("User Preferences") );
     $menutemplate->param( TEXT_HELP         => gettext("Help") );
     $menutemplate->param( TEXT_SUBMITBUG    => gettext("Submit a bug") );
     $menutemplate->param( TEXT_LOGOUT       => gettext("Logout") );

Modified: trunk/vhffs-panel/templates/menu/main.tmpl
===================================================================
--- trunk/vhffs-panel/templates/menu/main.tmpl	2007-09-08 00:26:51 UTC (rev 873)
+++ trunk/vhffs-panel/templates/menu/main.tmpl	2007-09-08 00:43:52 UTC (rev 874)
@@ -6,18 +6,21 @@
     </tmpl_if>
     <div id="username_menu">
         <div id="userToolBox">
+            <a  href="/panel.pl" title="<tmpl_var name="TEXT_HOME">">
+                <img src="/themes/<tmpl_var name="THEME">/images/home.png" title="<tmpl_var name="TEXT_HOME">" alt="<tmpl_var name="TEXT_HOME">" onmouseover="javascript:this.timer=helpTimeout('home_page');" onmouseout="javascript:window.clearTimeout(this.timer);"/>
+            </a>
+            <a  href="/user/prefs.pl" title="<tmpl_var name="TEXT_PREFS">">
+                <img src="/themes/<tmpl_var name="THEME">/images/prefs.png" title="<tmpl_var name="TEXT_PREFS">" alt="<tmpl_var name="TEXT_PREFS">" onmouseover="javascript:this.timer=helpTimeout('user_preferences');" onmouseout="javascript:window.clearTimeout(this.timer);"/>
+            </a>
+            <a href="/group/index.pl" title="<tmpl_var name="TEXT_PROJECTS">">
+                <img src="/themes/<tmpl_var name="THEME">/images/projects.png" title="<tmpl_var name="TEXT_PROJECTS">" alt="<tmpl_var name="TEXT_PROJECTS">" onmouseover="javascript:this.timer=helpTimeout('user_projects');" onmouseout="javascript:window.clearTimeout(this.timer);"/>
+            </a>
             <tmpl_if name="TEXT_ADMIN">
             <a href="/admin/index.pl" title="<tmpl_var name="TEXT_ADMIN">">
                 <img src="/themes/<tmpl_var name="THEME">/images/admin.png" title="<tmpl_var name="TEXT_ADMIN">" alt="<tmpl_var name="TEXT_ADMIN">
                 " onmouseover="javascript:this.timer=helpTimeout('user_admin');" onmouseout="javascript:window.clearTimeout(this.timer);"/>
             </a>
             </tmpl_if>
-            <a href="/group/index.pl" title="<tmpl_var name="TEXT_PROJECTS">">
-                <img src="/themes/<tmpl_var name="THEME">/images/projects.png" title="<tmpl_var name="TEXT_PROJECTS">" alt="<tmpl_var name="TEXT_PROJECTS">" onmouseover="javascript:this.timer=helpTimeout('user_projects');" onmouseout="javascript:window.clearTimeout(this.timer);"/>
-            </a>
-            <a  href="/user/prefs.pl" title="<tmpl_var name="TEXT_PREFS">">
-                <img src="/themes/<tmpl_var name="THEME">/images/prefs.png" title="<tmpl_var name="TEXT_PREFS">" alt="<tmpl_var name="TEXT_PREFS">" onmouseover="javascript:this.timer=helpTimeout('user_preferences');" onmouseout="javascript:window.clearTimeout(this.timer);"/>
-            </a>
             <a href="<tmpl_var name="HELP_URL">" title="<tmpl_var name="TEXT_HELP">">
                 <img src="/themes/<tmpl_var name="THEME">/images/help.png" title="<tmpl_var name="TEXT_HELP">" alt="<tmpl_var name="TEXT_HELP">" onmouseover="javascript:this.timer=helpTimeout('user_help');" onmouseout="javascript:window.clearTimeout(this.timer);"/>
             </a>

Modified: trunk/vhffs-panel/themes/vhffs/images/prefs.png
===================================================================
(Binary files differ)


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/