[vhffs-dev] [1199] Allow modo to access tag features.

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


Revision: 1199
Author:   beuss
Date:     2008-05-21 23:53:43 +0200 (Wed, 21 May 2008)

Log Message:
-----------
Allow modo to access tag features.

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Panel/Admin.pm
    trunk/vhffs-panel/admin/tag/category/create.pl
    trunk/vhffs-panel/admin/tag/category/edit.pl
    trunk/vhffs-panel/admin/tag/category/list.pl
    trunk/vhffs-panel/admin/tag/create.pl
    trunk/vhffs-panel/admin/tag/edit.pl
    trunk/vhffs-panel/admin/tag/index.pl
    trunk/vhffs-panel/admin/tag/list.pl


Modified: trunk/vhffs-api/src/Vhffs/Panel/Admin.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Admin.pm	2008-05-21 21:46:32 UTC (rev 1198)
+++ trunk/vhffs-api/src/Vhffs/Panel/Admin.pm	2008-05-21 21:53:43 UTC (rev 1199)
@@ -410,6 +410,7 @@
     push @$categories, get_mailing_category if($config->get_service_availability('mailinglist'));
     push @$categories, get_repo_category    if($config->get_service_availability('repository'));
     push @$categories, get_cron_category    if($config->get_service_availability('cron'));
+    push @$categories, get_tag_category;
 
     return $categories;
 }

Modified: trunk/vhffs-panel/admin/tag/category/create.pl
===================================================================
--- trunk/vhffs-panel/admin/tag/category/create.pl	2008-05-21 21:46:32 UTC (rev 1198)
+++ trunk/vhffs-panel/admin/tag/category/create.pl	2008-05-21 21:53:43 UTC (rev 1199)
@@ -48,7 +48,7 @@
 my $session = $panel->get_session;
 exit 0 unless $session;
 
-$panel->check_admin;
+$panel->check_modo;
 
 my $cgi = $panel->{cgi};
 

Modified: trunk/vhffs-panel/admin/tag/category/edit.pl
===================================================================
--- trunk/vhffs-panel/admin/tag/category/edit.pl	2008-05-21 21:46:32 UTC (rev 1198)
+++ trunk/vhffs-panel/admin/tag/category/edit.pl	2008-05-21 21:53:43 UTC (rev 1199)
@@ -49,7 +49,7 @@
 my $session = $panel->get_session;
 exit 0 unless $session;
 
-$panel->check_admin;
+$panel->check_modo;
 
 my $cgi = $panel->{cgi};
 my $category;

Modified: trunk/vhffs-panel/admin/tag/category/list.pl
===================================================================
--- trunk/vhffs-panel/admin/tag/category/list.pl	2008-05-21 21:46:32 UTC (rev 1198)
+++ trunk/vhffs-panel/admin/tag/category/list.pl	2008-05-21 21:53:43 UTC (rev 1199)
@@ -50,7 +50,7 @@
 my $session = $panel->get_session;
 exit 0 unless $session;
 
-$panel->check_admin;
+$panel->check_modo;
 
 my $cgi = $panel->{cgi};
 

Modified: trunk/vhffs-panel/admin/tag/create.pl
===================================================================
--- trunk/vhffs-panel/admin/tag/create.pl	2008-05-21 21:46:32 UTC (rev 1198)
+++ trunk/vhffs-panel/admin/tag/create.pl	2008-05-21 21:53:43 UTC (rev 1199)
@@ -48,7 +48,7 @@
 my $session = $panel->get_session;
 exit 0 unless $session;
 
-$panel->check_admin;
+$panel->check_modo;
 
 my $cgi = $panel->{cgi};
 

Modified: trunk/vhffs-panel/admin/tag/edit.pl
===================================================================
--- trunk/vhffs-panel/admin/tag/edit.pl	2008-05-21 21:46:32 UTC (rev 1198)
+++ trunk/vhffs-panel/admin/tag/edit.pl	2008-05-21 21:53:43 UTC (rev 1199)
@@ -49,7 +49,7 @@
 my $session = $panel->get_session;
 exit 0 unless $session;
 
-$panel->check_admin;
+$panel->check_modo;
 
 my $cgi = $panel->{cgi};
 my $tag;

Modified: trunk/vhffs-panel/admin/tag/index.pl
===================================================================
--- trunk/vhffs-panel/admin/tag/index.pl	2008-05-21 21:46:32 UTC (rev 1198)
+++ trunk/vhffs-panel/admin/tag/index.pl	2008-05-21 21:53:43 UTC (rev 1199)
@@ -47,7 +47,7 @@
 my $session = $panel->get_session;
 exit 0 unless $session;
 
-$panel->check_admin;
+$panel->check_modo;
 
 my $templatedir = $panel->{templatedir};
 

Modified: trunk/vhffs-panel/admin/tag/list.pl
===================================================================
--- trunk/vhffs-panel/admin/tag/list.pl	2008-05-21 21:46:32 UTC (rev 1198)
+++ trunk/vhffs-panel/admin/tag/list.pl	2008-05-21 21:53:43 UTC (rev 1199)
@@ -50,7 +50,7 @@
 my $session = $panel->get_session;
 exit 0 unless $session;
 
-$panel->check_admin;
+$panel->check_modo;
 
 my $cgi = $panel->{cgi};
 


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