update admin handbook pages
authorGreg Gay <info@atutor.ca>
Fri, 18 Jun 2010 12:39:25 +0000 (12:39 -0000)
committerGreg Gay <info@atutor.ca>
Fri, 18 Jun 2010 12:39:25 +0000 (12:39 -0000)
docs/include/page_constants.inc.php

index 56ed724..83ed6db 100644 (file)
@@ -166,6 +166,36 @@ if (array_key_exists(TR_PRIV_HOME, $privs) && Utility::authenticate($privs[TR_PR
                $_pages['home/editor/import_export_content.php']['title_var']    = 'content_packaging';\r
                $_pages['home/editor/import_export_content.php']['parent']   = 'home/index.php';\r
                $_pages['home/editor/import_export_content.php']['guide']     = 'TR_HELP_IMPORT_EXPORT_CONTENT';\r
+\r
+               //Tests and Surveys \r
+               $_pages['tests/index.php']['title_var']    = 'manage_tests';\r
+               $_pages['tests/index.php']['parent']   = 'home/index.php';\r
+               $_pages['tests/index.php']['guide']     = 'TR_HELP_MANAGE_TESTS';\r
+\r
+               $_pages['tests/create_test.php']['title_var']    = 'create_test';\r
+               $_pages['tests/create_test.php']['parent']   = 'tests/index.php';\r
+               $_pages['tests/create_test.php']['guide']     = 'TR_HELP_CREATE_TESTS';\r
+\r
+               $_pages['tests/edit_test.php']['title_var']    = 'edit_test';\r
+               $_pages['tests/edit_test.php']['parent']   = 'tests/index.php';\r
+               $_pages['tests/edit_test.php']['guide']     = 'TR_HELP_EDIT_TESTS';\r
+\r
+               $_pages['tests/question_db.php']['title_var']    = 'question_database';\r
+               $_pages['tests/question_db.php']['parent']   = 'tests/index.php';\r
+               $_pages['tests/question_db.php']['guide']     = 'TR_HELP_QUESTION_BANK';\r
+\r
+               $_pages['tests/questions.php']['title_var']    = 'add_questions';\r
+               $_pages['tests/questions.php']['parent']   = 'tests/index.php';\r
+               $_pages['tests/questions.php']['guide']     = 'TR_HELP_QUESTIONS_ADD';\r
+\r
+               $_pages['tests/question_cats.php']['title_var']    = 'question_categories';\r
+               $_pages['tests/question_cats.php']['parent']   = 'tests/index.php';\r
+               $_pages['tests/question_cats.php']['guide']     = 'TR_HELP_QUESTION_CATEGORIES';\r
+\r
+               $_pages['file_manager/index.php']['title_var']    = 'file_manager';\r
+               $_pages['file_manager/index.php']['parent']   = 'home/index.php';\r
+               $_pages['file_manager/index.php']['guide']     = 'TR_HELP_FILE_MANAGER';\r
+\r
        }\r
 }\r
 \r