[vhffs-dev] [601] Fixed public area about links to svn&cvs web, and about links to listengine archives (for trunk this time) |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
- To: vhffs-dev@xxxxxxxxx
- Subject: [vhffs-dev] [601] Fixed public area about links to svn&cvs web, and about links to listengine archives (for trunk this time)
- From: subversion@xxxxxxxxx
- Date: Mon, 07 May 2007 14:58:04 +0200
Revision: 601
Author: gradator
Date: 2007-05-07 12:58:03 +0000 (Mon, 07 May 2007)
Log Message:
-----------
Fixed public area about links to svn&cvs web, and about links to listengine archives (for trunk this time)
Modified Paths:
--------------
trunk/vhffs-panel/public/group.pl
trunk/vhffs-panel/templates/public/misc/list-part.tmpl
Modified: trunk/vhffs-panel/public/group.pl
===================================================================
--- trunk/vhffs-panel/public/group.pl 2007-05-07 12:43:07 UTC (rev 600)
+++ trunk/vhffs-panel/public/group.pl 2007-05-07 12:58:03 UTC (rev 601)
@@ -152,7 +152,7 @@
{
$subtemplate = new HTML::Template( filename => $templatedir."/public/misc/cvs-part.tmpl" );
$subtemplate->param( CVSROOT => $_->get_cvsroot );
- $subtemplate->param( CVSURL => $vhffs->get_config->get_cvsweburl . "/" . $group->get_groupname . "/" . $_->get_cvsroot );
+ $subtemplate->param( CVSURL => $vhffs->get_config->get_cvsweburl . '/cvs_' . $group->get_groupname . '_' . $_->get_cvsroot . '/' );
$output .= $subtemplate->output;
}
@@ -177,18 +177,18 @@
foreach( @{$repos} )
{
$subtemplate = new HTML::Template( filename => $templatedir."/public/misc/svn-part.tmpl" );
- $subtemplate->param( SVNROOT => $_->get_reponame );
- $subtemplate->param( DESCRIPTION => $_->get_description );
- $subtemplate->param( SVNURL => $vhffs->get_config->get_svnweburl . "/listing.php?repname=".$_->get_reponame."+(".$group->get_groupname.")" );
- $output .= $subtemplate->output;
+ $subtemplate->param( SVNROOT => $_->get_reponame );
+ $subtemplate->param( DESCRIPTION => $_->get_description );
+ $subtemplate->param( SVNURL => $vhffs->get_config->get_svnweburl . '/svn_' . $group->get_groupname . '_' . $_->get_reponame . '/' );
+ $output .= $subtemplate->output;
}
$template->param( SVN_VALUE => $output );
}
- else
- {
+ else
+ {
$template->param( SVN_VALUE => gettext("No subversion repository available for this group") );
- }
+ }
}
@@ -198,16 +198,18 @@
use Vhffs::Services::Mailing;
$objs = Vhffs::Services::Mailing::getall_by_group( $vhffs , $group );
$output = "";
- $template->param( LISTS_TITLE => gettext("List(s) for this group") );
+ $template->param( LISTS_TITLE => gettext("List(s) for this group") );
if( defined $objs )
{
foreach( @{$objs} )
{
$subtemplate = new HTML::Template( filename => $templatedir."/public/misc/list-part.tmpl" );
- $subtemplate->param( LISTNAME => $_->get_title );
- $subtemplate->param( ARCHIVESURL => $vhffs->get_config->get_www_archives );
- $subtemplate->param( ARCHIVES_TEXT => gettext( "View archives" ) );
- $output .= $subtemplate->output;
+ $subtemplate->param( LISTNAME => $_->get_title );
+ $subtemplate->param( DOMAIN => $_->get_domain );
+ $subtemplate->param( LOCALPART => $_->get_localpart );
+ $subtemplate->param( ARCHIVESURL => $vhffs->get_config->get_www_archives );
+ $subtemplate->param( ARCHIVES_TEXT => gettext( "View archives" ) );
+ $output .= $subtemplate->output;
}
$template->param( LISTS_VALUE => $output );
}
Modified: trunk/vhffs-panel/templates/public/misc/list-part.tmpl
===================================================================
--- trunk/vhffs-panel/templates/public/misc/list-part.tmpl 2007-05-07 12:43:07 UTC (rev 600)
+++ trunk/vhffs-panel/templates/public/misc/list-part.tmpl 2007-05-07 12:58:03 UTC (rev 601)
@@ -1,3 +1,3 @@
<li>
-<tmpl_var name="LISTNAME"> <a href="<tmpl_var name="ARCHIVESURL">/archives.pl?list=<tmpl_var name="LISTNAME">"><tmpl_var name="ARCHIVES_TEXT"></a>
+<tmpl_var name="LISTNAME"> <a href="<tmpl_var name="ARCHIVESURL">/<tmpl_var name="DOMAIN">/<tmpl_var name="LOCALPART">"><tmpl_var name="ARCHIVES_TEXT"></a>
</li>