[vhffs-dev] [svn] commit: r298 - /branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/ /branches/vhffs_4.1/vhffs-panel/templates/cvs/ /branches/vhffs_4.1/vhffs-panel/templates/svn/ /trunk/vhffs-api/src/Vhffs/Panel/ /trunk/vhffs-panel/templates/cvs/ /trunk/vhffs-panel/templates/svn/

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


Author: gradator
Date: Sun Nov 12 07:31:06 2006
New Revision: 298

Log:
Modified panel for viewvc :)


Modified:
    branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Cvs.pm
    branches/vhffs_4.1/vhffs-panel/templates/cvs/menu_sub.tmpl
    branches/vhffs_4.1/vhffs-panel/templates/svn/menu_sub.tmpl
    trunk/vhffs-api/src/Vhffs/Panel/Cvs.pm
    trunk/vhffs-panel/templates/cvs/menu_sub.tmpl
    trunk/vhffs-panel/templates/svn/menu_sub.tmpl

Modified: branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Cvs.pm
==============================================================================
--- branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Cvs.pm (original)
+++ branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Cvs.pm Sun Nov 12 07:31:06 2006
@@ -133,9 +133,10 @@
 		$subtemplate = new HTML::Template( filename => "$templatesdir/cvs/menu_sub.tmpl" );
 		$subtemplate->param( NAME => $cvs->get_cvsroot );
 		$subtemplate->param( HISTORY => gettext("History"));
+		$subtemplate->param( GROUPNAME => $cvs->get_group->get_groupname );
 		$subtemplate->param( OID => $cvs->get_oid );
 		$subtemplate->param( CVSWEB => gettext("CVSweb") );
-		$subtemplate->param( CVSWEBURL => $vhffs->get_config->get_cvsweburl . "/" . $group->get_groupname . "/".$cvs->get_cvsroot );
+		$subtemplate->param( CVSWEBURL => $vhffs->get_config->get_cvsweburl );
 		$output .= $subtemplate->output;
 	    }
 	    else

Modified: branches/vhffs_4.1/vhffs-panel/templates/cvs/menu_sub.tmpl
==============================================================================
--- branches/vhffs_4.1/vhffs-panel/templates/cvs/menu_sub.tmpl (original)
+++ branches/vhffs_4.1/vhffs-panel/templates/cvs/menu_sub.tmpl Sun Nov 12 07:31:06 2006
@@ -2,6 +2,7 @@
 		<a href="/cvs/prefs.pl?name=<tmpl_var name="NAME">" title="<tmpl_var name="NAME">">
 	<tmpl_var name="NAME"></a>
 		( <a href="/history.pl?OID=<tmpl_var name="OID">"><tmpl_var name="HISTORY"></a> )
- 	 - <a href="<tmpl_var name="CVSWEBURL">"><tmpl_var name="CVSWEB"></a>
+ 	 - <a href="<tmpl_var name="CVSWEBURL">/cvs_<tmpl_var name="GROUPNAME">_<tmpl_var name="NAME">/"><tmpl_var name="CVSWEB"></a>
 
 </li>
+

Modified: branches/vhffs_4.1/vhffs-panel/templates/svn/menu_sub.tmpl
==============================================================================
--- branches/vhffs_4.1/vhffs-panel/templates/svn/menu_sub.tmpl (original)
+++ branches/vhffs_4.1/vhffs-panel/templates/svn/menu_sub.tmpl Sun Nov 12 07:31:06 2006
@@ -2,6 +2,7 @@
  						<a href="/svn/prefs.pl?name=<tmpl_var name="NAME">" title="<tmpl_var name="NAME">">
 							<tmpl_var name="NAME">
 							( <a href="/history.pl?OID=<tmpl_var name="OID">"><tmpl_var name="HISTORY"></a> )
-							( <a href="<tmpl_var name="SVNWEBURL">/listing.php?repname=<tmpl_var name="NAME">+%28<tmpl_var name="GROUPNAME">%29&path=%2F"><tmpl_var name="SVNWEB_TEXT"></a> )
+						<!--	( <a href="<tmpl_var name="SVNWEBURL">/listing.php?repname=<tmpl_var name="NAME">+%28<tmpl_var name="GROUPNAME">%29&path=%2F"><tmpl_var name="SVNWEB_TEXT"></a> ) -->
+							( <a href="<tmpl_var name="SVNWEBURL">/svn_<tmpl_var name="GROUPNAME">_<tmpl_var name="NAME">/"><tmpl_var name="SVNWEB_TEXT"></a> )
 						</a>
 					</li>

Modified: trunk/vhffs-api/src/Vhffs/Panel/Cvs.pm
==============================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Cvs.pm (original)
+++ trunk/vhffs-api/src/Vhffs/Panel/Cvs.pm Sun Nov 12 07:31:06 2006
@@ -133,9 +133,10 @@
 		$subtemplate = new HTML::Template( filename => "$templatesdir/cvs/menu_sub.tmpl" );
 		$subtemplate->param( NAME => $cvs->get_cvsroot );
 		$subtemplate->param( HISTORY => gettext("History"));
+		$subtemplate->param( GROUPNAME => $cvs->get_group->get_groupname );
 		$subtemplate->param( OID => $cvs->get_oid );
 		$subtemplate->param( CVSWEB => gettext("CVSweb") );
-		$subtemplate->param( CVSWEBURL => $vhffs->get_config->get_cvsweburl . "/" . $group->get_groupname . "/".$cvs->get_cvsroot );
+		$subtemplate->param( CVSWEBURL => $vhffs->get_config->get_cvsweburl );
 		$output .= $subtemplate->output;
 	    }
 	    else

Modified: trunk/vhffs-panel/templates/cvs/menu_sub.tmpl
==============================================================================
--- trunk/vhffs-panel/templates/cvs/menu_sub.tmpl (original)
+++ trunk/vhffs-panel/templates/cvs/menu_sub.tmpl Sun Nov 12 07:31:06 2006
@@ -2,6 +2,7 @@
 		<a href="/cvs/prefs.pl?name=<tmpl_var name="NAME">" title="<tmpl_var name="NAME">">
 	<tmpl_var name="NAME"></a>
 		( <a href="/history.pl?OID=<tmpl_var name="OID">"><tmpl_var name="HISTORY"></a> )
- 	 - <a href="<tmpl_var name="CVSWEBURL">"><tmpl_var name="CVSWEB"></a>
+ 	 - <a href="<tmpl_var name="CVSWEBURL">/cvs_<tmpl_var name="GROUPNAME">_<tmpl_var name="NAME">/"><tmpl_var name="CVSWEB"></a>
 
 </li>
+

Modified: trunk/vhffs-panel/templates/svn/menu_sub.tmpl
==============================================================================
--- trunk/vhffs-panel/templates/svn/menu_sub.tmpl (original)
+++ trunk/vhffs-panel/templates/svn/menu_sub.tmpl Sun Nov 12 07:31:06 2006
@@ -2,6 +2,7 @@
  						<a href="/svn/prefs.pl?name=<tmpl_var name="NAME">" title="<tmpl_var name="NAME">">
 							<tmpl_var name="NAME">
 							( <a href="/history.pl?OID=<tmpl_var name="OID">"><tmpl_var name="HISTORY"></a> )
-							( <a href="<tmpl_var name="SVNWEBURL">/listing.php?repname=<tmpl_var name="NAME">+%28<tmpl_var name="GROUPNAME">%29&path=%2F"><tmpl_var name="SVNWEB_TEXT"></a> )
+						<!--	( <a href="<tmpl_var name="SVNWEBURL">/listing.php?repname=<tmpl_var name="NAME">+%28<tmpl_var name="GROUPNAME">%29&path=%2F"><tmpl_var name="SVNWEB_TEXT"></a> ) -->
+							( <a href="<tmpl_var name="SVNWEBURL">/svn_<tmpl_var name="GROUPNAME">_<tmpl_var name="NAME">/"><tmpl_var name="SVNWEB_TEXT"></a> )
 						</a>
 					</li>




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