[vhffs-dev] [620] Added missing links to project info page.

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


Revision: 620
Author:   beuss
Date:     2007-05-20 19:23:42 +0000 (Sun, 20 May 2007)

Log Message:
-----------
Added missing links to project info page.

Modified Paths:
--------------
    branches/vhffs-design/vhffs-api/src/Vhffs/Panel/Main.pm
    branches/vhffs-design/vhffs-panel/templates/group/info.tmpl
    branches/vhffs-design/vhffs-panel/themes/vhffs-ng/main.css


Modified: branches/vhffs-design/vhffs-api/src/Vhffs/Panel/Main.pm
===================================================================
--- branches/vhffs-design/vhffs-api/src/Vhffs/Panel/Main.pm	2007-05-20 17:48:53 UTC (rev 619)
+++ branches/vhffs-design/vhffs-api/src/Vhffs/Panel/Main.pm	2007-05-20 19:23:42 UTC (rev 620)
@@ -442,6 +442,8 @@
 	
 	$template->param( GROUPNAME => $group->get_groupname );
 	$template->param( QUOTA_VALUE => sprintf( gettext("Quota (used/total) : %s/%s") , $group->get_quota_used , $group->get_quota ) );
+    $template->param( NEW => gettext('New') );
+    $template->param( TEXT_PREFS => gettext('Preferences') );
 	
 	if( $vhffs->get_config->use_web == 1 )
 	{

Modified: branches/vhffs-design/vhffs-panel/templates/group/info.tmpl
===================================================================
--- branches/vhffs-design/vhffs-panel/templates/group/info.tmpl	2007-05-20 17:48:53 UTC (rev 619)
+++ branches/vhffs-design/vhffs-panel/templates/group/info.tmpl	2007-05-20 19:23:42 UTC (rev 620)
@@ -5,49 +5,99 @@
 		<tmpl_var name="QUOTA_VALUE">
 	</div>
 
+    <tmpl_if name="MESSAGE">
     <p class="info"><tmpl_var name="MESSAGE"></p>
-	<h2><tmpl_var name="WEBAREA"></h2>
+    </tmpl_if>
+
+    <p><a href="/group/prefs.pl"><tmpl_var name="TEXT_PREFS"></a></p>
+
+    <tmpl_if name="WEBAREA">
+    <fieldset>
+    <legend><tmpl_var name="WEBAREA"></legend>
 	<ul>
 		<tmpl_var name="WEBAREA_VALUES">
+        <li><a href="/web/create.pl"><tmpl_var name="NEW"></a></li>
 	</ul>
+    </fieldset>
+    </tmpl_if>
 
-	<h2><tmpl_var name="MYSQL"></h2>
+    <tmpl_if name="MYSQL">
+	<fieldset>
+    <legend><tmpl_var name="MYSQL"></legend>
 	<ul>
 		<tmpl_var name="MYSQL_VALUES">
+        <li><a href="/mysql/create.pl"><tmpl_var name="NEW"></a></li>
 	</ul>
+    </fieldset>
+    </tmpl_if>
 	
-	<h2><tmpl_var name="PGSQL"></h2>
+    <tmpl_if name="PGSQL">
+    <fieldset>
+    <legend><tmpl_var name="PGSQL"></legend>
 	<ul>
 		<tmpl_var name="PGSQL_VALUES">
+        <li><a href="/pgsql/create.pl"><tmpl_var name="NEW"></a></li>
 	</ul>
+    </fieldset>
+    </tmpl_if>
 
-	<h2><tmpl_var name="REPOSITORY"></h2>
+    <tmpl_if name="REPOSITORY">
+    <fieldset>
+	<legend><tmpl_var name="REPOSITORY"></legend>
 	<ul>
 		<tmpl_var name="REPOSITORY_VALUES">
+        <li><a href="/repository/create.pl"><tmpl_var name="NEW"></a></li>
 	</ul>
+    </fieldset>
+    </tmpl_if>
 
-	<h2><tmpl_var name="CVS"></h2>
+    <tmpl_if name="CVS">
+    <fieldset>
+	<legend><tmpl_var name="CVS"></legend>
 	<ul>
 		<tmpl_var name="CVS_VALUES">
+        <li><a href="/cvs/create.pl"><tmpl_var name="NEW"></a></li>
 	</ul>
+    </fieldset>
+    </tmpl_if>
 	
-	<h2><tmpl_var name="SVN"></h2>
+    <tmpl_if name="SVN">
+    <fieldset>
+    <legend><tmpl_var name="SVN"></legend>
 	<ul>
 		<tmpl_var name="SVN_VALUES">
+        <li><a href="/svn/create.pl"><tmpl_var name="NEW"></a></li>
 	</ul>
+    </fieldset>
+    </tmpl_if>
 
-	<h2><tmpl_var name="DNS"></h2>
+    <tmpl_if name="DNS">
+    <fieldset>
+    <legend><tmpl_var name="DNS"></legend>
 	<ul>
 		<tmpl_var name="DNS_VALUES">
+        <li><a href="/dns/create.pl"><tmpl_var name="NEW"></a></li>
 	</ul>
+    </fieldset>
+    </tmpl_if>
 	
-	<h2><tmpl_var name="MAILS"></h2>
+    <tmpl_if name="MAILS">
+	<fieldset>
+    <legend><tmpl_var name="MAILS"></legend>
 	<ul>
 		<tmpl_var name="MAILS_VALUES">
+        <li><a href="/mail/create.pl"><tmpl_var name="NEW"></a></li>
 	</ul>
+    </fieldset>
+    </tmpl_if>
 
-	<h2><tmpl_var name="MLS"></h2>
+    <tmpl_if name="MLS">
+    <fieldset>
+    <legend><tmpl_var name="MLS"></legend>
 	<ul>
 		<tmpl_var name="MLS_VALUES">
+        <li><a href="/mailinglist/create.pl"><tmpl_var name="NEW"></a></li>
 	</ul>
+    </fieldset>
+    </tmpl_if>
 

Modified: branches/vhffs-design/vhffs-panel/themes/vhffs-ng/main.css
===================================================================
--- branches/vhffs-design/vhffs-panel/themes/vhffs-ng/main.css	2007-05-20 17:48:53 UTC (rev 619)
+++ branches/vhffs-design/vhffs-panel/themes/vhffs-ng/main.css	2007-05-20 19:23:42 UTC (rev 620)
@@ -350,7 +350,6 @@
 
 fieldset
 {
-	border-color:transparent;
 	margin:0px;
 	padding:0px;
 	margin-top:20px;


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