[vhffs-dev] [svn] commit: r116 - in /trunk: vhffs-api/src/Vhffs/Panel/Menu.pm vhffs-panel/templates/menu/main.tmpl

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


Author: soda
Date: Thu Dec 15 22:55:32 2005
New Revision: 116

Log:
fix image in menu


Modified:
    trunk/vhffs-api/src/Vhffs/Panel/Menu.pm
    trunk/vhffs-panel/templates/menu/main.tmpl

Modified: trunk/vhffs-api/src/Vhffs/Panel/Menu.pm
==============================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Menu.pm (original)
+++ trunk/vhffs-api/src/Vhffs/Panel/Menu.pm Thu Dec 15 22:55:32 2005
@@ -33,6 +33,7 @@
     my $templatedir = $vhffs->get_config->get_templatedir;
 
 	my $menutemplate = new HTML::Template( filename => $templatedir."/menu/main.tmpl" );
+	$menutemplate->param( THEME		     => Vhffs::Panel::User::get_theme( $user ) );
 
 	# add the User account
 	my $usertemplate = new HTML::Template( filename => $templatedir."/menu/user.tmpl" );

Modified: trunk/vhffs-panel/templates/menu/main.tmpl
==============================================================================
--- trunk/vhffs-panel/templates/menu/main.tmpl (original)
+++ trunk/vhffs-panel/templates/menu/main.tmpl Thu Dec 15 22:55:32 2005
@@ -1,5 +1,6 @@
-
-		<a class="logo" href="/panel.pl?project=none"></a>
+<a class="logomenu" href="/panel.pl?project=none">
+<img src="/themes/<tmpl_var name="THEME">/images/logo.png"/>
+</a>
 <tmpl_var name="USER_MENU">
 <tmpl_var name="ADMIN_MENU">
 <tmpl_var name="PROJECT_MENU">




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