|
|
@ -22,8 +22,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
$RecipeInfo['Exercises']['Version'] = '2011-12-08'; |
|
|
|
$RecipeInfo['Exercises']['Version'] = '2011-12-08'; |
|
|
|
|
|
|
|
|
|
|
|
$HandleActions['Exercises'] = 'Exercises'; # if url contains action=myaction call HandleMyAction timely |
|
|
|
$HandleActions['Exercises'] = 'Exercises'; |
|
|
|
$HandleAuth['Exercises'] = 'read'; # authorization level $auth for HandleMyAction |
|
|
|
$HandleAuth['Exercises'] = 'read'; |
|
|
|
|
|
|
|
|
|
|
|
function Exercises($pagename, $auth){ |
|
|
|
function Exercises($pagename, $auth){ |
|
|
|
|
|
|
|
|
|
|
@ -88,8 +88,8 @@ function Exercises($pagename, $auth){ |
|
|
|
//print $content; |
|
|
|
//print $content; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$HandleActions['ExercisesCheck'] = 'ExercisesCheck'; # if url contains action=myaction call HandleMyAction timely |
|
|
|
$HandleActions['ExercisesCheck'] = 'ExercisesCheck'; |
|
|
|
$HandleAuth['ExercisesCheck'] = 'read'; # authorization level $auth for HandleMyAction |
|
|
|
$HandleAuth['ExercisesCheck'] = 'read'; |
|
|
|
|
|
|
|
|
|
|
|
function ExercisesCheck($pagename, $auth){ |
|
|
|
function ExercisesCheck($pagename, $auth){ |
|
|
|
$type = $_GET["type"]; |
|
|
|
$type = $_GET["type"]; |
|
|
|