[svn r20124] Minor - Lang variables changed - see FS#4055 (by fcedillo)

skala
Julio Montoya 16 years ago
parent 80ead17a1f
commit 6f3d0cca95
  1. 6
      main/work/work.lib.php
  2. 10
      main/work/work.php

@ -1,4 +1,4 @@
<?php //$Id: work.lib.php 20101 2009-04-25 01:05:54Z yannoo $
<?php //$Id: work.lib.php 20124 2009-04-27 16:16:59Z juliomontoya $
/* For licensing terms, see /dokeos_license.txt */
/**
* @package dokeos.work
@ -6,7 +6,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.lib.php 20101 2009-04-25 01:05:54Z yannoo $
* @version $Id: work.lib.php 20124 2009-04-27 16:16:59Z juliomontoya $
*/
/**
* Displays action links (for admins, authorized groups members and authorized students)
@ -37,7 +37,7 @@ function display_action_links($cur_dir_path, $always_show_tool_options, $always_
if (! $always_show_tool_options && api_is_allowed_to_edit()) {
// Create dir
$display_output .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&amp;toolgroup='.$_GET['toolgroup'].'&amp;curdirpath='.$cur_dir_path.'&amp;createdir=1&origin='.$origin.'"><img src="../img/folder_new.gif" border="0" alt="'.get_lang('CreateDir').'" title ="'.get_lang('CreateDir').'" /> '.get_lang('CreateDir').' </a>';
$display_output .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&amp;toolgroup='.$_GET['toolgroup'].'&amp;curdirpath='.$cur_dir_path.'&amp;createdir=1&origin='.$origin.'"><img src="../img/folder_new.gif" border="0" alt="'.get_lang('CreateDir').'" title ="'.get_lang('CreateDir').'" /> '.get_lang('CreateAssignment').' </a>';
// Options
$display_output .= "<a href=\"".api_get_self()."?".api_get_cidreq()."&curdirpath=".$cur_dir_path."&amp;origin=".$origin."&amp;display_tool_options=true&amp;origin=".$origin."\">".Display::return_icon('acces_tool.gif', get_lang("EditToolOptions")).' ' . get_lang("EditToolOptions") . "</a>";
}

@ -1,4 +1,4 @@
<?php //$Id: work.php 20023 2009-04-23 15:52:15Z juliomontoya $
<?php //$Id: work.php 20124 2009-04-27 16:16:59Z juliomontoya $
/* For licensing terms, see /dokeos_license.txt */
/**
* @package dokeos.work
@ -6,7 +6,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 20023 2009-04-23 15:52:15Z juliomontoya $
* @version $Id: work.php 20124 2009-04-27 16:16:59Z juliomontoya $
*
* @todo refactor more code into functions, use quickforms, coding standards, ...
*/
@ -1254,13 +1254,13 @@ function draw_date_picker($prefix,$default='') {
if (isset ($_REQUEST['createdir']) && $is_allowed_to_edit) {
//create the form that asks for the directory name
$new_folder_text = '<form name="form1" method="POST">';
$new_folder_text .= '<div class="row"><div class="form_header">'.get_lang('CreateDir').'</div></div>';
$new_folder_text .= '<div class="row"><div class="form_header">'.get_lang('CreateAssignment').'</div></div>';
$new_folder_text .= '<input type="hidden" name="curdirpath" value="' . Security :: remove_XSS($cur_dir_path) . '"/>';
$new_folder_text .= '<input type="hidden" name="sec_token" value="'.$stok.'" />';
$new_folder_text .= '<div id="msg_error1" style="display:none;color:red"></div>';
$new_folder_text .= '<div class="row">
<div class="label">
<span class="form_required">*</span>'.get_lang('NewDir').'
<span class="form_required">*</span>'.get_lang('AssignmentName').'
</div>
<div class="formw">
<input type="text" name="new_dir" onfocus="document.getElementById(\'msg_error1\').style.display=\'none\';"/>
@ -1323,7 +1323,7 @@ function draw_date_picker($prefix,$default='') {
<div class="label">
</div>
<div class="formw">
<button type="button" class="add" name="create_dir" onClick="validate();" value="' . addslashes(get_lang('CreateDirectory')) . '"/>' . addslashes(get_lang('CreateDirectory')) . '</button>
<button type="button" class="add" name="create_dir" onClick="validate();" value="' . addslashes(get_lang('CreateDirectory')) . '"/>' . addslashes(get_lang('ButtonCreateAssignment')) . '</button>
</div>
</div>';

Loading…
Cancel
Save