From 758bc2ccee38455d46bede0a543437b618fe398a Mon Sep 17 00:00:00 2001 From: Cristian Fasanando Date: Wed, 31 Dec 2008 21:39:48 +0100 Subject: [PATCH] [svn r17493] minor - style changes - I added attribute alt to img tags in work see FS#3370 --- main/work/work.lib.php | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/main/work/work.lib.php b/main/work/work.lib.php index 226368b0b4..f4c481d2b0 100644 --- a/main/work/work.lib.php +++ b/main/work/work.lib.php @@ -57,7 +57,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 .= ' '.get_lang('CreateDir').'   '; + $display_output .= ''.get_lang('CreateDir').' '.get_lang('CreateDir').'   '; // Options $display_output .= "".Display::return_icon('acces_tool.gif').' ' . get_lang("EditToolOptions") . "  "; } @@ -95,7 +95,7 @@ function display_tool_options($uploadvisibledisabled, $origin,$base_work_dir,$cu get_lang('AllFiles')." : ", "", - "", + "\"".get_lang('Delete')."\"", "", " "; @@ -107,11 +107,11 @@ function display_tool_options($uploadvisibledisabled, $origin,$base_work_dir,$cu if ($columnStatus['Default'] == 1) { echo "", - "", + "\"".get_lang('Invisible')."\"", "\n"; } else { echo "", - "", + "\"".get_lang('Visible')."\"", "\n"; } } @@ -524,7 +524,7 @@ function display_student_publications_list($work_dir,$sub_course_dir,$currentCou $action = ''; $row = array(); $class = ''; - $row[] = ''; //image + $row[] = ''.get_lang('Folder').''; //image $a_count_directory=count_dir($work_dir.'/'.$dir,false); $cant_files=$a_count_directory[0]; $cant_dir=$a_count_directory[1]; @@ -562,7 +562,7 @@ function display_student_publications_list($work_dir,$sub_course_dir,$currentCou $show_as_icon = get_work_id($mydir); //true or false if ($show_as_icon && api_is_allowed_to_edit()) { - $row[] = ''.$dir.''.$add_to_name.'
'.$cant_files.' '.$text_file.$dirtext; + $row[] = ''.get_lang('Save').''.$dir.''.$add_to_name.'
'.$cant_files.' '.$text_file.$dirtext; } else { $row[] = ''.$dir.''.$add_to_name.'
'.$cant_files.' '.$text_file.$dirtext; } @@ -580,8 +580,8 @@ function display_student_publications_list($work_dir,$sub_course_dir,$currentCou if( $is_allowed_to_edit) { $action .= ''; - $action .= ''; + '&curdirpath='.$my_sub_dir.'&origin='.$origin.'&edit_dir='.$mydir.'">'.get_lang('Modify').''; + $action .= ''.get_lang('DirDelete').''; $row[] = $action; } else { $row[] = ""; @@ -628,27 +628,27 @@ function display_student_publications_list($work_dir,$sub_course_dir,$currentCou //$full_file_name = 'download.php?file='.$realname; $row[]= build_document_icon_tag('file',$work->url); - $row[]= ''.$work->title.'
'.$work->description; + $row[]= ''.get_lang('Save').''.$work->title.'
'.$work->description; $row[]= display_user_link($row2['insert_user_id'],$work->author).$qualification_string;// $work->author; $row[]= date_to_str_ago($work->sent_date).$add_string.'
'.$work->sent_date.''; if( $is_allowed_to_edit) { $action = ''; - $action .= ''; - $action .= ''; - $action .= ''; + $action .= ''.get_lang('Modify').''; + $action .= ''.get_lang('WorkDelete').''; + $action .= ''.get_lang('Move').''; if($work->accepted == '1') { - $action .= ''; + $action .= ''.get_lang('Invisible').''; } else { - $action .= ''; + $action .= ''.get_lang('Visible').''; } $row[] = $action; } elseif($is_author) { $action = ''; - $action .= ''; - $action .= ''; + $action .= ''.get_lang('Modify').''; + $action .= ''.get_lang('WorkDelete').''; $row[] = $action; } else {