[vhffs-dev] [627] Finished moderation part.

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


Revision: 627
Author:   beuss
Date:     2007-05-24 07:05:37 +0000 (Thu, 24 May 2007)

Log Message:
-----------
Finished moderation part.
All these index files should be merged...

Modified Paths:
--------------
    branches/vhffs-design/vhffs-api/src/Vhffs/Panel/Main.pm
    branches/vhffs-design/vhffs-panel/Makefile.am
    branches/vhffs-design/vhffs-panel/templates/Makefile.am
    branches/vhffs-design/vhffs-panel/themes/vhffs-ng/images/tab.png
    branches/vhffs-design/vhffs-panel/themes/vhffs-ng/main.css

Added Paths:
-----------
    branches/vhffs-design/vhffs-panel/admin/cvs/index.pl
    branches/vhffs-design/vhffs-panel/admin/dns/index.pl
    branches/vhffs-design/vhffs-panel/admin/group/index.pl
    branches/vhffs-design/vhffs-panel/admin/mail/index.pl
    branches/vhffs-design/vhffs-panel/admin/mailing/index.pl
    branches/vhffs-design/vhffs-panel/admin/mysql/index.pl
    branches/vhffs-design/vhffs-panel/admin/pgsql/index.pl
    branches/vhffs-design/vhffs-panel/admin/repository/index.pl
    branches/vhffs-design/vhffs-panel/admin/svn/index.pl
    branches/vhffs-design/vhffs-panel/admin/user/index.pl
    branches/vhffs-design/vhffs-panel/admin/web/index.pl
    branches/vhffs-design/vhffs-panel/templates/menu/context-modo.tmpl
    branches/vhffs-design/vhffs-panel/templates/menu/context.tmpl

Removed Paths:
-------------
    branches/vhffs-design/vhffs-panel/templates/menu/group.tmpl


Modified: branches/vhffs-design/vhffs-api/src/Vhffs/Panel/Main.pm
===================================================================
--- branches/vhffs-design/vhffs-api/src/Vhffs/Panel/Main.pm	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-api/src/Vhffs/Panel/Main.pm	2007-05-24 07:05:37 UTC (rev 627)
@@ -114,6 +114,26 @@
     }
 }
 
+=head2
+
+    $panel->check_admin
+
+Check that logged in user is an admin. If it is not
+the case, show a message and exits.
+
+=cut
+
+sub check_admin {
+    my $self = shift;
+    my $user = $self->{user};
+    unless($user->is_admin) {
+        $self->set_title( gettext('Access denied') );
+        $self->add_error( gettext('You are not granted to access this page') );
+        $self->display( '' );
+        exit( 0 );
+    }
+}
+
 sub list_themes
 {
 	my $vhffs = shift;
@@ -397,30 +417,97 @@
     }
 
     # Current project stuff (TODO stop handle it in session)
-    if($groupname) {
-        my $context_tmpl = new HTML::Template( filename => $templatedir.'/menu/group.tmpl' );
-
+    if( ( CGI::url( -absolute => 1) =~ /^\/admin\// ) ) {
+        if( $user->is_admin ) {
+            $menutemplate->param( CONTEXTUAL_MENU => generate_admin_ctxmenu($vhffs->get_config) );
+        } elsif( $user->is_moderator ) {
+            $menutemplate->param( CONTEXTUAL_MENU => generate_moderator_ctxmenu($vhffs->get_config) );
+        }
+    } elsif($groupname) {
         $menutemplate->param( CURRENT_GROUP_TEXT => gettext('Current group:') );
         $menutemplate->param( PROJECT_HOME_TEXT => gettext('Project home') );
         $menutemplate->param( GROUPNAME => $groupname );
-        my $config = $vhffs->get_config;
-        my $items = [];
-        push @$items, {service => 'web', label => gettext('Web') } if( $config->use_web );
-        push @$items, {service => 'mysql', label => gettext('MySQL') } if( $config->use_mysql );
-        push @$items, {service => 'pgsql', label => gettext('PgSQL') } if( $config->use_postgres );
-        push @$items, {service => 'cvs', label => gettext('CVS') } if( $config->use_cvs );
-        push @$items, {service => 'svn', label => gettext('SVN') } if( $config->use_svn );
-        push @$items, {service => 'dns', label => gettext('Domain names') } if( $config->use_dns );
-        push @$items, {service => 'repository', label => gettext('Dl repos') } if( $config->use_repository );
-        push @$items, {service => 'mail', label => gettext('Mail') } if( $config->use_mail );
-        push @$items, {service => 'mailinglist', label => gettext('ML') } if( $config->use_mailing );
-        $context_tmpl->param( MENU_ITEMS => $items );
-        $menutemplate->param( CONTEXTUAL_MENU => $context_tmpl->output());
+        $menutemplate->param( CONTEXTUAL_MENU => generate_project_ctxmenu($vhffs->get_config));
     }
 
     return $menutemplate->output();
 }
 
+=head2 generate_project_ctxmenu
+
+    print Vhffs::Panel::Main::generate_project_ctxmenu($vhffs->get_config);
+
+Generates and returns the contextual menu for a project.
+
+=cut
+
+sub generate_project_ctxmenu($) {
+    my $config = shift;
+    my $context_tmpl = new HTML::Template( filename => $config->get_templatedir.'/menu/context.tmpl' );
+
+    my $items = [];
+    push @$items, {path => 'web', label => gettext('Web') } if( $config->use_web );
+    push @$items, {path => 'mysql', label => gettext('MySQL') } if( $config->use_mysql );
+    push @$items, {path => 'pgsql', label => gettext('PgSQL') } if( $config->use_postgres );
+    push @$items, {path => 'cvs', label => gettext('CVS') } if( $config->use_cvs );
+    push @$items, {path => 'svn', label => gettext('SVN') } if( $config->use_svn );
+    push @$items, {path => 'dns', label => gettext('Domain names') } if( $config->use_dns );
+    push @$items, {path => 'repository', label => gettext('Dl repos') } if( $config->use_repository );
+    push @$items, {path => 'mail', label => gettext('Mail') } if( $config->use_mail );
+    push @$items, {path => 'mailinglist', label => gettext('ML') } if( $config->use_mailing );
+    $context_tmpl->param( MENU_ITEMS => $items );
+    return $context_tmpl->output();
+}
+
+=head2 generate_moderator_ctxmenu
+
+    print Vhffs::Panel::Main::generate_moderator_ctxmenu($vhffs->get_config);
+
+Generates and returns the contextual menu for moderation part.
+
+=cut
+
+sub generate_moderator_ctxmenu {
+    my $config = shift;
+    my $context_tmpl = new HTML::Template( filename => $config->get_templatedir.'/menu/context-modo.tmpl' );
+
+    my $items = [];
+    push @$items, {path => 'admin/stats.pl', label => gettext('Get Statistics') };
+    push @$items, {path => 'admin/moderation.pl', label => gettext('Moderation') };
+    $context_tmpl->param( MENU_ITEMS => $items );
+    return $context_tmpl->output();
+}
+
+=head2 generate_admin_ctxmenu
+
+    print Vhffs::Panel::Main::generate_admin_ctxmenu($vhffs->get_config);
+
+Generates and returns the contextual menu for platform administration.
+
+=cut
+
+sub generate_admin_ctxmenu($) {
+    my $config = shift;
+    my $context_tmpl = new HTML::Template( filename => $config->get_templatedir.'/menu/context.tmpl' );
+
+    my $items = [];
+    push @$items, {path => 'admin', label => gettext('General') };
+    push @$items, {path => 'admin/user', label => gettext('Users') };
+    push @$items, {path => 'admin/group', label => gettext('Groups') };
+    push @$items, {path => 'admin/web', label => gettext('Web') } if( $config->use_web );
+    push @$items, {path => 'admin/mysql', label => gettext('MySQL') } if( $config->use_mysql );
+    push @$items, {path => 'admin/pgsql', label => gettext('PgSQL') } if( $config->use_postgres );
+    push @$items, {path => 'admin/cvs', label => gettext('CVS') } if( $config->use_cvs );
+    push @$items, {path => 'admin/svn', label => gettext('SVN') } if( $config->use_svn );
+    push @$items, {path => 'admin/dns', label => gettext('Domain names') } if( $config->use_dns );
+    push @$items, {path => 'admin/repository', label => gettext('Dl repos') } if( $config->use_repository );
+    push @$items, {path => 'admin/mail', label => gettext('Mail') } if( $config->use_mail );
+    push @$items, {path => 'admin/mailing', label => gettext('ML') } if( $config->use_mailing );
+    $context_tmpl->param( MENU_ITEMS => $items );
+    return $context_tmpl->output();
+   
+}
+
 sub has_errors
 {
     my $self = shift;

Modified: branches/vhffs-design/vhffs-panel/Makefile.am
===================================================================
--- branches/vhffs-design/vhffs-panel/Makefile.am	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/Makefile.am	2007-05-24 07:05:37 UTC (rev 627)
@@ -19,13 +19,16 @@
 	admin/index.pl \
 	admin/cvs/edit_submit.pl \
 	admin/cvs/edit.pl \
+	admin/cvs/index.pl \
 	admin/cvs/list.pl \
 	admin/cvs/search.pl \
 	admin/cvs/show.pl \
+	admin/dns/index.pl \
 	admin/dns/list.pl \
 	admin/dns/search.pl \
 	admin/group/edit_submit.pl \
 	admin/group/edit.pl \
+	admin/group/index.pl \
 	admin/group/list.pl \
 	admin/group/search.pl \
 	admin/group/show.pl \
@@ -33,15 +36,18 @@
 	admin/mail/delete_box.pl \
 	admin/mail/delete_forward.pl \
 	admin/mail/edit.pl \
+	admin/mail/index.pl \
 	admin/mail/list.pl \
 	admin/mail/password_box.pl \
 	admin/mail/search.pl \
 	admin/mail/show.pl \
+	admin/mailing/index.pl \
 	admin/mailing/list.pl \
 	admin/mailing/mailing_submit.pl \
 	admin/mailing/search.pl \
 	admin/mysql/edit_submit.pl \
 	admin/mysql/edit.pl \
+	admin/mysql/index.pl \
 	admin/mysql/list.pl \
 	admin/mysql/search.pl \
 	admin/mysql/show.pl \
@@ -52,24 +58,29 @@
 	admin/object/search.pl \
 	admin/pgsql/edit_submit.pl \
 	admin/pgsql/edit.pl \
+	admin/pgsql/index.pl \
 	admin/pgsql/list.pl \
 	admin/pgsql/search.pl \
 	admin/pgsql/show.pl \
 	admin/repository/edit_submit.pl \
 	admin/repository/edit.pl \
+	admin/repository/index.pl \
 	admin/repository/list.pl \
 	admin/repository/search.pl \
 	admin/repository/show.pl \
+	admin/svn/index.pl \
 	admin/svn/list.pl \
 	admin/svn/search.pl \
 	admin/user/edit_note.pl \
 	admin/user/edit_submit.pl \
 	admin/user/edit.pl \
+	admin/user/index.pl \
 	admin/user/list.pl \
 	admin/user/search.pl \
 	admin/user/show.pl \
 	admin/web/edit_submit.pl \
 	admin/web/edit.pl \
+	admin/web/index.pl \
 	admin/web/list.pl \
 	admin/web/search.pl \
 	admin/web/show.pl \

Added: branches/vhffs-design/vhffs-panel/admin/cvs/index.pl
===================================================================
--- branches/vhffs-design/vhffs-panel/admin/cvs/index.pl	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/admin/cvs/index.pl	2007-05-24 07:05:37 UTC (rev 627)
@@ -0,0 +1,59 @@
+#!%PERL% -w 
+# Copyright (c) vhffs project and its contributors
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without 
+# modification, are permitted provided that the following conditions 
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright 
+#   notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in 
+#   the documentation and/or other materials provided with the 
+#   distribution.
+#3. Neither the name of vhffs nor the names of its contributors 
+#   may be used to endorse or promote products derived from this 
+#   software without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+#"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+#LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
+#FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
+#COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
+#INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+#LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+#CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+# POSSIBILITY OF SUCH DAMAGE.
+
+
+use POSIX qw(locale_h);
+use HTML::Template;
+use locale;
+use Locale::gettext;
+use strict;
+
+
+use lib '%VHFFS_LIB_DIR%';
+use Vhffs::Panel::Main;
+use Vhffs::Panel::Admin;
+
+my $panel = new Vhffs::Panel::Main();
+if(!$panel)  {
+        exit 0;
+}
+
+$panel->check_admin;
+
+my $templatedir = $panel->{templatedir};
+
+my $template = new HTML::Template(filename => $templatedir.'/admin/index.tmpl');
+
+$panel->set_title(gettext('CVS repositories\' administration'));
+
+$template->param( CATEGORIES => [ Vhffs::Panel::Admin::get_cvs_category ] );
+
+$panel->display($template->output);


Property changes on: branches/vhffs-design/vhffs-panel/admin/cvs/index.pl
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/vhffs-design/vhffs-panel/admin/dns/index.pl
===================================================================
--- branches/vhffs-design/vhffs-panel/admin/dns/index.pl	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/admin/dns/index.pl	2007-05-24 07:05:37 UTC (rev 627)
@@ -0,0 +1,59 @@
+#!%PERL% -w 
+# Copyright (c) vhffs project and its contributors
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without 
+# modification, are permitted provided that the following conditions 
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright 
+#   notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in 
+#   the documentation and/or other materials provided with the 
+#   distribution.
+#3. Neither the name of vhffs nor the names of its contributors 
+#   may be used to endorse or promote products derived from this 
+#   software without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+#"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+#LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
+#FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
+#COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
+#INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+#LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+#CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+# POSSIBILITY OF SUCH DAMAGE.
+
+
+use POSIX qw(locale_h);
+use HTML::Template;
+use locale;
+use Locale::gettext;
+use strict;
+
+
+use lib '%VHFFS_LIB_DIR%';
+use Vhffs::Panel::Main;
+use Vhffs::Panel::Admin;
+
+my $panel = new Vhffs::Panel::Main();
+if(!$panel)  {
+        exit 0;
+}
+
+$panel->check_admin;
+
+my $templatedir = $panel->{templatedir};
+
+my $template = new HTML::Template(filename => $templatedir.'/admin/index.tmpl');
+
+$panel->set_title(gettext('DNS\' administration'));
+
+$template->param( CATEGORIES => [ Vhffs::Panel::Admin::get_dns_category ] );
+
+$panel->display($template->output);


Property changes on: branches/vhffs-design/vhffs-panel/admin/dns/index.pl
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/vhffs-design/vhffs-panel/admin/group/index.pl
===================================================================
--- branches/vhffs-design/vhffs-panel/admin/group/index.pl	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/admin/group/index.pl	2007-05-24 07:05:37 UTC (rev 627)
@@ -0,0 +1,59 @@
+#!%PERL% -w 
+# Copyright (c) vhffs project and its contributors
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without 
+# modification, are permitted provided that the following conditions 
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright 
+#   notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in 
+#   the documentation and/or other materials provided with the 
+#   distribution.
+#3. Neither the name of vhffs nor the names of its contributors 
+#   may be used to endorse or promote products derived from this 
+#   software without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+#"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+#LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
+#FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
+#COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
+#INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+#LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+#CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+# POSSIBILITY OF SUCH DAMAGE.
+
+
+use POSIX qw(locale_h);
+use HTML::Template;
+use locale;
+use Locale::gettext;
+use strict;
+
+
+use lib '%VHFFS_LIB_DIR%';
+use Vhffs::Panel::Main;
+use Vhffs::Panel::Admin;
+
+my $panel = new Vhffs::Panel::Main();
+if(!$panel)  {
+        exit 0;
+}
+
+$panel->check_admin;
+
+my $templatedir = $panel->{templatedir};
+
+my $template = new HTML::Template(filename => $templatedir.'/admin/index.tmpl');
+
+$panel->set_title(gettext('Groups\' administration'));
+
+$template->param( CATEGORIES => [ Vhffs::Panel::Admin::get_group_category ] );
+
+$panel->display($template->output);


Property changes on: branches/vhffs-design/vhffs-panel/admin/group/index.pl
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/vhffs-design/vhffs-panel/admin/mail/index.pl
===================================================================
--- branches/vhffs-design/vhffs-panel/admin/mail/index.pl	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/admin/mail/index.pl	2007-05-24 07:05:37 UTC (rev 627)
@@ -0,0 +1,59 @@
+#!%PERL% -w 
+# Copyright (c) vhffs project and its contributors
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without 
+# modification, are permitted provided that the following conditions 
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright 
+#   notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in 
+#   the documentation and/or other materials provided with the 
+#   distribution.
+#3. Neither the name of vhffs nor the names of its contributors 
+#   may be used to endorse or promote products derived from this 
+#   software without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+#"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+#LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
+#FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
+#COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
+#INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+#LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+#CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+# POSSIBILITY OF SUCH DAMAGE.
+
+
+use POSIX qw(locale_h);
+use HTML::Template;
+use locale;
+use Locale::gettext;
+use strict;
+
+
+use lib '%VHFFS_LIB_DIR%';
+use Vhffs::Panel::Main;
+use Vhffs::Panel::Admin;
+
+my $panel = new Vhffs::Panel::Main();
+if(!$panel)  {
+        exit 0;
+}
+
+$panel->check_admin;
+
+my $templatedir = $panel->{templatedir};
+
+my $template = new HTML::Template(filename => $templatedir.'/admin/index.tmpl');
+
+$panel->set_title(gettext('Mail domains\' administration'));
+
+$template->param( CATEGORIES => [ Vhffs::Panel::Admin::get_mail_category ] );
+
+$panel->display($template->output);


Property changes on: branches/vhffs-design/vhffs-panel/admin/mail/index.pl
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/vhffs-design/vhffs-panel/admin/mailing/index.pl
===================================================================
--- branches/vhffs-design/vhffs-panel/admin/mailing/index.pl	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/admin/mailing/index.pl	2007-05-24 07:05:37 UTC (rev 627)
@@ -0,0 +1,59 @@
+#!%PERL% -w 
+# Copyright (c) vhffs project and its contributors
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without 
+# modification, are permitted provided that the following conditions 
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright 
+#   notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in 
+#   the documentation and/or other materials provided with the 
+#   distribution.
+#3. Neither the name of vhffs nor the names of its contributors 
+#   may be used to endorse or promote products derived from this 
+#   software without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+#"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+#LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
+#FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
+#COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
+#INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+#LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+#CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+# POSSIBILITY OF SUCH DAMAGE.
+
+
+use POSIX qw(locale_h);
+use HTML::Template;
+use locale;
+use Locale::gettext;
+use strict;
+
+
+use lib '%VHFFS_LIB_DIR%';
+use Vhffs::Panel::Main;
+use Vhffs::Panel::Admin;
+
+my $panel = new Vhffs::Panel::Main();
+if(!$panel)  {
+        exit 0;
+}
+
+$panel->check_admin;
+
+my $templatedir = $panel->{templatedir};
+
+my $template = new HTML::Template(filename => $templatedir.'/admin/index.tmpl');
+
+$panel->set_title(gettext('Mailing lists\' administration'));
+
+$template->param( CATEGORIES => [ Vhffs::Panel::Admin::get_mailing_category ] );
+
+$panel->display($template->output);


Property changes on: branches/vhffs-design/vhffs-panel/admin/mailing/index.pl
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/vhffs-design/vhffs-panel/admin/mysql/index.pl
===================================================================
--- branches/vhffs-design/vhffs-panel/admin/mysql/index.pl	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/admin/mysql/index.pl	2007-05-24 07:05:37 UTC (rev 627)
@@ -0,0 +1,59 @@
+#!%PERL% -w 
+# Copyright (c) vhffs project and its contributors
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without 
+# modification, are permitted provided that the following conditions 
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright 
+#   notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in 
+#   the documentation and/or other materials provided with the 
+#   distribution.
+#3. Neither the name of vhffs nor the names of its contributors 
+#   may be used to endorse or promote products derived from this 
+#   software without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+#"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+#LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
+#FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
+#COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
+#INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+#LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+#CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+# POSSIBILITY OF SUCH DAMAGE.
+
+
+use POSIX qw(locale_h);
+use HTML::Template;
+use locale;
+use Locale::gettext;
+use strict;
+
+
+use lib '%VHFFS_LIB_DIR%';
+use Vhffs::Panel::Main;
+use Vhffs::Panel::Admin;
+
+my $panel = new Vhffs::Panel::Main();
+if(!$panel)  {
+        exit 0;
+}
+
+$panel->check_admin;
+
+my $templatedir = $panel->{templatedir};
+
+my $template = new HTML::Template(filename => $templatedir.'/admin/index.tmpl');
+
+$panel->set_title(gettext('MySQL databases\' administration'));
+
+$template->param( CATEGORIES => [ Vhffs::Panel::Admin::get_mysql_category ] );
+
+$panel->display($template->output);


Property changes on: branches/vhffs-design/vhffs-panel/admin/mysql/index.pl
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/vhffs-design/vhffs-panel/admin/pgsql/index.pl
===================================================================
--- branches/vhffs-design/vhffs-panel/admin/pgsql/index.pl	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/admin/pgsql/index.pl	2007-05-24 07:05:37 UTC (rev 627)
@@ -0,0 +1,59 @@
+#!%PERL% -w 
+# Copyright (c) vhffs project and its contributors
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without 
+# modification, are permitted provided that the following conditions 
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright 
+#   notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in 
+#   the documentation and/or other materials provided with the 
+#   distribution.
+#3. Neither the name of vhffs nor the names of its contributors 
+#   may be used to endorse or promote products derived from this 
+#   software without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+#"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+#LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
+#FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
+#COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
+#INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+#LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+#CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+# POSSIBILITY OF SUCH DAMAGE.
+
+
+use POSIX qw(locale_h);
+use HTML::Template;
+use locale;
+use Locale::gettext;
+use strict;
+
+
+use lib '%VHFFS_LIB_DIR%';
+use Vhffs::Panel::Main;
+use Vhffs::Panel::Admin;
+
+my $panel = new Vhffs::Panel::Main();
+if(!$panel)  {
+        exit 0;
+}
+
+$panel->check_admin;
+
+my $templatedir = $panel->{templatedir};
+
+my $template = new HTML::Template(filename => $templatedir.'/admin/index.tmpl');
+
+$panel->set_title(gettext('PostgreSQL databases\' administration'));
+
+$template->param( CATEGORIES => [ Vhffs::Panel::Admin::get_pgsql_category ] );
+
+$panel->display($template->output);


Property changes on: branches/vhffs-design/vhffs-panel/admin/pgsql/index.pl
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/vhffs-design/vhffs-panel/admin/repository/index.pl
===================================================================
--- branches/vhffs-design/vhffs-panel/admin/repository/index.pl	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/admin/repository/index.pl	2007-05-24 07:05:37 UTC (rev 627)
@@ -0,0 +1,59 @@
+#!%PERL% -w 
+# Copyright (c) vhffs project and its contributors
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without 
+# modification, are permitted provided that the following conditions 
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright 
+#   notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in 
+#   the documentation and/or other materials provided with the 
+#   distribution.
+#3. Neither the name of vhffs nor the names of its contributors 
+#   may be used to endorse or promote products derived from this 
+#   software without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+#"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+#LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
+#FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
+#COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
+#INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+#LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+#CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+# POSSIBILITY OF SUCH DAMAGE.
+
+
+use POSIX qw(locale_h);
+use HTML::Template;
+use locale;
+use Locale::gettext;
+use strict;
+
+
+use lib '%VHFFS_LIB_DIR%';
+use Vhffs::Panel::Main;
+use Vhffs::Panel::Admin;
+
+my $panel = new Vhffs::Panel::Main();
+if(!$panel)  {
+        exit 0;
+}
+
+$panel->check_admin;
+
+my $templatedir = $panel->{templatedir};
+
+my $template = new HTML::Template(filename => $templatedir.'/admin/index.tmpl');
+
+$panel->set_title(gettext('Download repositories\' administration'));
+
+$template->param( CATEGORIES => [ Vhffs::Panel::Admin::get_repo_category ] );
+
+$panel->display($template->output);


Property changes on: branches/vhffs-design/vhffs-panel/admin/repository/index.pl
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/vhffs-design/vhffs-panel/admin/svn/index.pl
===================================================================
--- branches/vhffs-design/vhffs-panel/admin/svn/index.pl	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/admin/svn/index.pl	2007-05-24 07:05:37 UTC (rev 627)
@@ -0,0 +1,59 @@
+#!%PERL% -w 
+# Copyright (c) vhffs project and its contributors
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without 
+# modification, are permitted provided that the following conditions 
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright 
+#   notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in 
+#   the documentation and/or other materials provided with the 
+#   distribution.
+#3. Neither the name of vhffs nor the names of its contributors 
+#   may be used to endorse or promote products derived from this 
+#   software without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+#"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+#LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
+#FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
+#COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
+#INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+#LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+#CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+# POSSIBILITY OF SUCH DAMAGE.
+
+
+use POSIX qw(locale_h);
+use HTML::Template;
+use locale;
+use Locale::gettext;
+use strict;
+
+
+use lib '%VHFFS_LIB_DIR%';
+use Vhffs::Panel::Main;
+use Vhffs::Panel::Admin;
+
+my $panel = new Vhffs::Panel::Main();
+if(!$panel)  {
+        exit 0;
+}
+
+$panel->check_admin;
+
+my $templatedir = $panel->{templatedir};
+
+my $template = new HTML::Template(filename => $templatedir.'/admin/index.tmpl');
+
+$panel->set_title(gettext('SVN repositories\' administration'));
+
+$template->param( CATEGORIES => [ Vhffs::Panel::Admin::get_svn_category ] );
+
+$panel->display($template->output);


Property changes on: branches/vhffs-design/vhffs-panel/admin/svn/index.pl
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/vhffs-design/vhffs-panel/admin/user/index.pl
===================================================================
--- branches/vhffs-design/vhffs-panel/admin/user/index.pl	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/admin/user/index.pl	2007-05-24 07:05:37 UTC (rev 627)
@@ -0,0 +1,59 @@
+#!%PERL% -w 
+# Copyright (c) vhffs project and its contributors
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without 
+# modification, are permitted provided that the following conditions 
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright 
+#   notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in 
+#   the documentation and/or other materials provided with the 
+#   distribution.
+#3. Neither the name of vhffs nor the names of its contributors 
+#   may be used to endorse or promote products derived from this 
+#   software without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+#"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+#LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
+#FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
+#COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
+#INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+#LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+#CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+# POSSIBILITY OF SUCH DAMAGE.
+
+
+use POSIX qw(locale_h);
+use HTML::Template;
+use locale;
+use Locale::gettext;
+use strict;
+
+
+use lib '%VHFFS_LIB_DIR%';
+use Vhffs::Panel::Main;
+use Vhffs::Panel::Admin;
+
+my $panel = new Vhffs::Panel::Main();
+if(!$panel)  {
+        exit 0;
+}
+
+$panel->check_admin;
+
+my $templatedir = $panel->{templatedir};
+
+my $template = new HTML::Template(filename => $templatedir.'/admin/index.tmpl');
+
+$panel->set_title(gettext('Users\' administration'));
+
+$template->param( CATEGORIES => [ Vhffs::Panel::Admin::get_user_category ] );
+
+$panel->display($template->output);


Property changes on: branches/vhffs-design/vhffs-panel/admin/user/index.pl
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/vhffs-design/vhffs-panel/admin/web/index.pl
===================================================================
--- branches/vhffs-design/vhffs-panel/admin/web/index.pl	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/admin/web/index.pl	2007-05-24 07:05:37 UTC (rev 627)
@@ -0,0 +1,59 @@
+#!%PERL% -w 
+# Copyright (c) vhffs project and its contributors
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without 
+# modification, are permitted provided that the following conditions 
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright 
+#   notice, this list of conditions and the following disclaimer.
+#2. Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in 
+#   the documentation and/or other materials provided with the 
+#   distribution.
+#3. Neither the name of vhffs nor the names of its contributors 
+#   may be used to endorse or promote products derived from this 
+#   software without specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+#"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+#LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
+#FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
+#COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
+#INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+#LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+#CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+# POSSIBILITY OF SUCH DAMAGE.
+
+
+use POSIX qw(locale_h);
+use HTML::Template;
+use locale;
+use Locale::gettext;
+use strict;
+
+
+use lib '%VHFFS_LIB_DIR%';
+use Vhffs::Panel::Main;
+use Vhffs::Panel::Admin;
+
+my $panel = new Vhffs::Panel::Main();
+if(!$panel)  {
+        exit 0;
+}
+
+$panel->check_admin;
+
+my $templatedir = $panel->{templatedir};
+
+my $template = new HTML::Template(filename => $templatedir.'/admin/index.tmpl');
+
+$panel->set_title(gettext('Webareas\' administration'));
+
+$template->param( CATEGORIES => [ Vhffs::Panel::Admin::get_web_category ] );
+
+$panel->display($template->output);


Property changes on: branches/vhffs-design/vhffs-panel/admin/web/index.pl
___________________________________________________________________
Name: svn:executable
   + *

Modified: branches/vhffs-design/vhffs-panel/templates/Makefile.am
===================================================================
--- branches/vhffs-design/vhffs-panel/templates/Makefile.am	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/templates/Makefile.am	2007-05-24 07:05:37 UTC (rev 627)
@@ -130,6 +130,8 @@
 	main/auth.html \
 	main/auth.tmpl \
 	main/close.tmpl \
+	menu/context.tmpl \
+	menu/context-modo.tmpl \
 	main/login_failed.tmpl \
 	main/login_ok.tmpl \
 	main/logout.tmpl \
@@ -137,7 +139,6 @@
 	main/lost_ok.tmpl \
 	main/lost.tmpl \
 	main/panel.tmpl \
-	menu/group.tmpl \
 	menu/main.tmpl \
 	menu/user.tmpl \
 	misc/alert.tmpl \

Added: branches/vhffs-design/vhffs-panel/templates/menu/context-modo.tmpl
===================================================================
--- branches/vhffs-design/vhffs-panel/templates/menu/context-modo.tmpl	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/templates/menu/context-modo.tmpl	2007-05-24 07:05:37 UTC (rev 627)
@@ -0,0 +1,3 @@
+<tmpl_loop name="MENU_ITEMS">
+<a href="/<tmpl_var name="PATH">"><tmpl_var name="LABEL"></a>
+</tmpl_loop>

Copied: branches/vhffs-design/vhffs-panel/templates/menu/context.tmpl (from rev 622, branches/vhffs-design/vhffs-panel/templates/menu/group.tmpl)
===================================================================
--- branches/vhffs-design/vhffs-panel/templates/menu/group.tmpl	2007-05-22 11:38:50 UTC (rev 622)
+++ branches/vhffs-design/vhffs-panel/templates/menu/context.tmpl	2007-05-24 07:05:37 UTC (rev 627)
@@ -0,0 +1,3 @@
+<tmpl_loop name="MENU_ITEMS">
+<a href="/<tmpl_var name="PATH">/index.pl"><tmpl_var name="LABEL"></a>
+</tmpl_loop>

Deleted: branches/vhffs-design/vhffs-panel/templates/menu/group.tmpl
===================================================================
--- branches/vhffs-design/vhffs-panel/templates/menu/group.tmpl	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/templates/menu/group.tmpl	2007-05-24 07:05:37 UTC (rev 627)
@@ -1,3 +0,0 @@
-<tmpl_loop name="MENU_ITEMS">
-<a href="/<tmpl_var name="SERVICE">/index.pl"><tmpl_var name="LABEL"></a>
-</tmpl_loop>

Modified: branches/vhffs-design/vhffs-panel/themes/vhffs-ng/images/tab.png
===================================================================
(Binary files differ)

Modified: branches/vhffs-design/vhffs-panel/themes/vhffs-ng/main.css
===================================================================
--- branches/vhffs-design/vhffs-panel/themes/vhffs-ng/main.css	2007-05-23 14:13:20 UTC (rev 626)
+++ branches/vhffs-design/vhffs-panel/themes/vhffs-ng/main.css	2007-05-24 07:05:37 UTC (rev 627)
@@ -171,11 +171,11 @@
 
 #contextual_menu {
     position:fixed;
-    width:575px;
+    width:650px;
     height:2em;
     top:3em;
     left:50%;
-    margin-left:-287px;
+    margin-left:-325px;
     z-index:2;
     text-align:center;
     background:url('images/tab.png') no-repeat right bottom;


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