[vhffs-dev] [svn] commit: r117 - in /trunk: vhffs-api/src/Vhffs/Panel/Main.pm vhffs-panel/themes/tuxfamily/main.css

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


Author: soda
Date: Fri Dec 16 00:59:02 2005
New Revision: 117

Log:
fix group history


Modified:
    trunk/vhffs-api/src/Vhffs/Panel/Main.pm
    trunk/vhffs-panel/themes/tuxfamily/main.css

Modified: trunk/vhffs-api/src/Vhffs/Panel/Main.pm
==============================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Main.pm (original)
+++ trunk/vhffs-api/src/Vhffs/Panel/Main.pm Fri Dec 16 00:59:02 2005
@@ -254,7 +254,13 @@
 		{	
 			foreach $object ( @{$objects} )
 			{
-				$temp .= $object->get_dbname ."<br/>";
+				$subtemplate = new HTML::Template( filename => $templatedir."/misc/group_service.tmpl" );
+				$subtemplate->param( SERVICE  => "mysql" );
+				$subtemplate->param( VALUE  => $object->get_dbname );
+				$subtemplate->param( TEXT  => gettext("Go to admin") );
+				$subtemplate->param( HISTORY  => gettext("View history") );
+				$subtemplate->param( OID  => $object->get_oid );
+				$temp .= $subtemplate->output;
 			}
 		}
 		else
@@ -274,7 +280,13 @@
 		{	
 			foreach $object ( @{$objects} )
 			{
-				$temp .= $object->get_dbname ."<br/>";
+				$subtemplate = new HTML::Template( filename => $templatedir."/misc/group_service.tmpl" );
+				$subtemplate->param( SERVICE  => "pgsql" );
+				$subtemplate->param( VALUE  => $object->get_dbname );
+				$subtemplate->param( TEXT  => gettext("Go to admin") );
+				$subtemplate->param( HISTORY  => gettext("View history") );
+				$subtemplate->param( OID  => $object->get_oid );
+				$temp .= $subtemplate->output;
 			}
 		}
 		else

Modified: trunk/vhffs-panel/themes/tuxfamily/main.css
==============================================================================
--- trunk/vhffs-panel/themes/tuxfamily/main.css (original)
+++ trunk/vhffs-panel/themes/tuxfamily/main.css Fri Dec 16 00:59:02 2005
@@ -51,12 +51,6 @@
     text-decoration: none;
 }
 
-.menu
-{
-	margin-left: 5px;
-	background-color: #e76d00;
-	color: #630000;
-}
 
 #misc
 {
@@ -71,8 +65,12 @@
 .menu a:hover
 { background-color: #ffecce; }
 
-.menu a.logo:hover
-{ background-color: white; }
+.menu a.logo
+{ 
+	background-color: white; 
+    background-image:url("./images/logo.png");
+}
+
 
 a img
 { border-style:none; }




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