diff --git a/main/work/work.lib.php b/main/work/work.lib.php index 96a7cea689..2d7e44a22b 100644 --- a/main/work/work.lib.php +++ b/main/work/work.lib.php @@ -1,4 +1,4 @@ -, 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 20975 2009-05-25 18:09:56Z cvargas1 $ +* @version $Id: work.lib.php 21043 2009-05-28 14:35:45Z pcool $ */ /** * 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() && $origin != 'learnpath') { // Create dir - $display_output .= ' '.get_lang('CreateAssignment').' '; + $display_output .= ''.Display::return_icon('folder_new.gif', get_lang('CreateAssignment')).' '.get_lang('CreateAssignment').' '; // Options $display_output .= "".Display::return_icon('acces_tool.gif', get_lang("EditToolOptions")).' ' . get_lang("EditToolOptions") . ""; } @@ -65,11 +65,11 @@ function display_action_links($cur_dir_path, $always_show_tool_options, $always_ if ($columnStatus['Default'] == 1) { $display_output .= "". - Display::return_icon('visible.gif', get_lang('Visible')).' '.get_lang('MakeInvisible'). + Display::return_icon('invisible.gif', get_lang('MakeAllPapersInvisible')).' '.get_lang('MakeAllPapersInvisible'). "\n"; } else { $display_output .= "". - Display::return_icon('invisible.gif', get_lang('Invisible')).' '.get_lang('MakeVisible'). + Display::return_icon('visible.gif', get_lang('MakeAllPapersVisible')).' '.get_lang('MakeAllPapersVisible'). "\n"; } } @@ -1181,10 +1181,10 @@ function to_javascript_work() { function plus() { if(document.getElementById(\'options\').style.display == \'none\') { document.getElementById(\'options\').style.display = \'block\'; - document.getElementById(\'plus\').innerHTML=\' '.addslashes(get_lang('AdvancedParameters')).'\'; + document.getElementById(\'plus\').innerHTML=\' '.Display::return_icon('div_hide.gif').' '.addslashes(get_lang('AdvancedParameters')).'\'; } else { document.getElementById(\'options\').style.display = \'none\'; - document.getElementById(\'plus\').innerHTML=\' '.addslashes(get_lang('AdvancedParameters')).'\'; + document.getElementById(\'plus\').innerHTML=\' '.Display::return_icon('div_show.gif').' '.addslashes(get_lang('AdvancedParameters')).'\'; } } diff --git a/main/work/work.php b/main/work/work.php index 05665c270b..de09945f95 100644 --- a/main/work/work.php +++ b/main/work/work.php @@ -1,4 +1,4 @@ -, 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 20975 2009-05-25 18:09:56Z cvargas1 $ +* @version $Id: work.php 21043 2009-05-28 14:35:45Z pcool $ * * @todo refactor more code into functions, use quickforms, coding standards, ... */ @@ -1271,12 +1271,12 @@ function draw_date_picker($prefix,$default='') { $new_folder_text .= '