[svn r10814] add language vars / interbreadcrumbs

skala
Julian Prud'homme 19 years ago
parent 14edc0733b
commit 28d0a106ac
  1. 4
      main/admin/class_user_import.php
  2. 2
      main/admin/configure_extensions.php
  3. 7
      main/work/work.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())

@ -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);

@ -23,7 +23,7 @@
* @author Patrick Cool <patrick.cool@UGent.be>, 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']);

Loading…
Cancel
Save