From 85127824f6f1c0c6705553e2f942bb428a11e6b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Carlos=20Ra=C3=B1a?= Date: Fri, 8 May 2009 17:31:25 +0200 Subject: [PATCH] [svn r20409] fix several icon text --- main/work/work.lib.php | 10 +++++----- main/work/work.php | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/main/work/work.lib.php b/main/work/work.lib.php index 0f6126540b..5541ca91ec 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 20369 2009-05-06 16:12:55Z cfasanando $ +* @version $Id: work.lib.php 20409 2009-05-08 15:31:25Z herodoto $ */ /** * Displays action links (for admins, authorized groups members and authorized students) @@ -32,7 +32,7 @@ function display_action_links($cur_dir_path, $always_show_tool_options, $always_ if ($_GET['display_tool_options'] == 'true' OR $_GET['display_upload_form'] == 'true' ) { if ($origin!='learnpath') { - echo ''.Display::return_icon('back.png').' '.get_lang('BackToWorksList').''; + echo ''.Display::return_icon('back.png',get_lang('BackToWorksList')).' '.get_lang('BackToWorksList').''; } } if (! $always_show_tool_options && api_is_allowed_to_edit() && $origin != 'learnpath') { @@ -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('invisible.gif', get_lang('Invisible')).' '.get_lang('MakeInvisible'). + Display::return_icon('visible.gif', get_lang('Visible')).' '.get_lang('MakeInvisible'). "\n"; } else { $display_output .= "". - Display::return_icon('visible.gif', get_lang('Visible')).' '.get_lang('MakeVisible'). + Display::return_icon('invisible.gif', get_lang('Invisible')).' '.get_lang('MakeVisible'). "\n"; } } diff --git a/main/work/work.php b/main/work/work.php index 11800636df..464ebb74a1 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 20369 2009-05-06 16:12:55Z cfasanando $ +* @version $Id: work.php 20409 2009-05-08 15:31:25Z herodoto $ * * @todo refactor more code into functions, use quickforms, coding standards, ... */ @@ -1320,7 +1320,7 @@ function draw_date_picker($prefix,$default='') { $new_folder_text .= '
'.$addtext.'