script to manage recipes and fixed the older ones syntax accordingly

This commit is contained in:
Fabien Benetou
2011-07-20 11:52:37 +02:00
parent ee5dbdcfee
commit 0b4dbd7a4f
3 changed files with 48 additions and 3 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
## give a visual representation of pages and group
$RecipeInfo['GraphCSV']['Version'] = '2010-04-11';
SDV($HandleActions['graphcsv'],'GraphCSV');
SDV($HandleActions['graphcsv'], 'GraphCSV');
SDV($HandleAuth['graphcsv'],'view');
function GraphCSV($pagename, $auth){
@@ -72,7 +72,7 @@ function GraphCSV($pagename, $auth){
return ;
}
SDV($HandleActions['graphvan'],'GraphVAN');
SDV($HandleActions['graphvan'], 'GraphVAN');
SDV($HandleAuth['graphvan'],'view');
function GraphVAN($pagename, $auth){
+3 -1
View File
@@ -7,7 +7,9 @@
$RecipeInfo['GroupStats']['Version'] = '2011-08-06';
$HandleActions['GroupStats'] = 'GroupStats'; # if url contains action=myaction call HandleMyAction timely
SDV($HandleActions['GroupStats'], 'GroupStats');
# if url contains action=myaction call HandleMyAction timely
$HandleAuth['GroupStats'] = 'read'; # authorization level $auth for HandleMyAction
function GroupStats($pagename, $auth){