diff --git a/main/admin/class_user_import.php b/main/admin/class_user_import.php index 3b155b9226..df1897a4ed 100644 --- a/main/admin/class_user_import.php +++ b/main/admin/class_user_import.php @@ -162,12 +162,12 @@ $errorMsg = ''; $tool_name = get_lang('AddUsersToAClass').' CSV'; -$interbredcrump[] = array ('url' => 'index.php', 'name' => get_lang('PlatformAdmin')); +$interbreadcrumb[] = array ('url' => 'index.php', 'name' => get_lang('PlatformAdmin')); set_time_limit(0); $form = new FormValidator('class_user_import'); $form->addElement('file', 'import_file', get_lang('ImportFileLocation')); -$form->addElement('checkbox', 'subscribe', get_lang('Action'), get_lang('SubscribeUserIfNotAllreaySubscribed')); +$form->addElement('checkbox', 'subscribe', get_lang('Action'), get_lang('SubscribeUserIfNotAllreadySubscribed')); $form->addElement('checkbox', 'unsubscribe', '', get_lang('UnsubscribeUserIfSubscriptionIsNotInFile')); $form->addElement('submit', 'submit', get_lang('Ok')); if ($form->validate()) diff --git a/main/admin/configure_extensions.php b/main/admin/configure_extensions.php index d854cb8a06..539af7be95 100644 --- a/main/admin/configure_extensions.php +++ b/main/admin/configure_extensions.php @@ -32,6 +32,8 @@ $this_section=SECTION_PLATFORM_ADMIN; api_protect_admin_script(); +$interbreadcrumb[] = array ('url' => 'index.php', 'name' => get_lang('PlatformAdmin')); + // Database Table Definitions $tbl_settings_current = Database::get_main_table(TABLE_MAIN_SETTINGS_CURRENT); diff --git a/main/work/work.php b/main/work/work.php index 950f9bd3d2..d65e80b456 100644 --- a/main/work/work.php +++ b/main/work/work.php @@ -23,7 +23,7 @@ * @author Patrick Cool , Ghent University - ability for course admins to specify wether uploaded documents are visible or invisible by default. * @author Roan Embrechts, code refactoring and virtual course support * @author Frederic Vauthier, directories management -* @version $Id: work.php 10809 2007-01-20 20:04:39Z pcool $ +* @version $Id: work.php 10814 2007-01-22 10:20:48Z elixir_julian $ * * @todo refactor more code into functions, use quickforms, coding standards, ... */ @@ -80,8 +80,7 @@ */ // name of the language file that needs to be included -$language_file[] = "work"; -$language_file[] = "document"; +$language_file = array('work','document','admin'); // Section (for the tabs) $this_section=SECTION_COURSES; @@ -120,7 +119,7 @@ $iprop_table = Database::get_course_table(TABLE_ITEM_PROPERTY); Constants and variables ----------------------------------------------------------- */ -$tool_name = get_lang('StudentPublication'); +$tool_name = get_lang('StudentPublications'); $user_id = api_get_user_id(); $course_code = $_course['sysCode']; $is_course_member = CourseManager::is_user_subscribed_in_real_or_linked_course($user_id, $course_code, $_SESSION['id_session']);