From fd8823b4495edcb6aebd6ec2a8a47bb85726536a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Carlos=20Ra=C3=B1a?= Date: Sun, 23 Nov 2008 00:22:02 +0100 Subject: [PATCH] [svn r16873] added alternative texts on the icons --- main/group/group.php | 10 +++++----- main/group/group_space.php | 28 ++++++++++++++-------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/main/group/group.php b/main/group/group.php index fddb9ecfd3..c959019587 100644 --- a/main/group/group.php +++ b/main/group/group.php @@ -1,4 +1,4 @@ -'; if (get_setting('allow_group_categories') == 'true') { - echo Display::return_icon('folder_new.gif') . ''.get_lang('AddCategory').' '; + echo Display::return_icon('folder_new.gif', get_lang('AddCategory')) . ''.get_lang('AddCategory').' '; } else { //echo ''.Display::return_icon('edit_group.gif').' '.get_lang('PropModify').' '; - echo Display::return_icon('settings.gif') . ''.get_lang('PropModify').' '; + echo Display::return_icon('settings.gif', get_lang('PropModify')) . ''.get_lang('PropModify').' '; } //echo ''.Display::return_icon('group_add_big.gif').' '.get_lang('NewGroupCreate').' '; - echo Display::return_icon('group_add.gif') . ''.get_lang('NewGroupCreate').' '; + echo Display::return_icon('group_add.gif', get_lang('NewGroupCreate')) . ''.get_lang('NewGroupCreate').' '; if( Database::count_rows(Database::get_course_table(TABLE_GROUP)) > 0) { //echo ''.Display::return_icon('group_view.gif').' '.get_lang('GroupOverview').' '; - echo Display::return_icon('group.gif') .''.get_lang('GroupOverview').' '; + echo Display::return_icon('group.gif', get_lang('GroupOverview')) .''.get_lang('GroupOverview').' '; } } $group_cats = GroupManager :: get_categories(); diff --git a/main/group/group_space.php b/main/group/group_space.php index c06db198c9..2efde313e0 100644 --- a/main/group/group_space.php +++ b/main/group/group_space.php @@ -1,4 +1,4 @@ - "group.php", "name" => get_lang("GroupManagement")); +$interbreadcrumb[] = array ("url" => "group.php", "name" => get_lang("Groups")); /* ----------------------------------------------------------- @@ -163,35 +163,35 @@ if (api_is_allowed_to_edit(false,true) OR GroupManager :: is_user_in_group($_SES { if($value['forum_group_public_private'] == 'public' || ($user_subscribe_to_current_group && $value['forum_group_public_private'] == 'private') || $user_is_tutor || api_is_allowed_to_edit(false,true)) { - $tools.= Display::return_icon('forum.gif') . ' '.$value['forum_title'].'
'; + $tools.= Display::return_icon('forum.gif', get_lang("GroupForum")) . ' '.$value['forum_title'].'
'; } } } if( $current_group['doc_state'] != TOOL_NOT_AVAILABLE ) { // link to the documents area of this group - $tools .= "
".Display::return_icon('folder_document.gif')." ".get_lang("GroupDocument")."
"; + $tools .= "
".Display::return_icon('folder_document.gif', get_lang("GroupDocument"))." ".get_lang("GroupDocument")."
"; } if ( $current_group['calendar_state'] != TOOL_NOT_AVAILABLE) { //link to a group-specific part of agenda - $tools .= "
".Display::return_icon('agenda.gif')." ".get_lang("GroupCalendar")."
"; + $tools .= "
".Display::return_icon('agenda.gif', get_lang("GroupCalendar"))." ".get_lang("GroupCalendar")."
"; } if ( $current_group['work_state'] != TOOL_NOT_AVAILABLE) { //link to the works area of this group - $tools .= "
".Display::return_icon('works.gif')." ".get_lang("GroupWork")."
"; + $tools .= "
".Display::return_icon('works.gif', get_lang("GroupWork"))." ".get_lang("GroupWork")."
"; } if ( $current_group['announcements_state'] != TOOL_NOT_AVAILABLE) { //link to a group-specific part of announcements - $tools .= "
".Display::return_icon('valves.gif')." ".get_lang("GroupAnnouncements")."
"; + $tools .= "
".Display::return_icon('valves.gif', get_lang("GroupAnnouncements"))." ".get_lang("GroupAnnouncements")."
"; } if ( $current_group['wiki_state'] != TOOL_NOT_AVAILABLE) { //link to the wiki area of this group - $tools .= "
".Display::return_icon('wiki.gif')." ".get_lang("GroupWiki")."
"; + $tools .= "
".Display::return_icon('wiki.gif', get_lang("GroupWiki"))." ".get_lang("GroupWiki")."
"; } echo ''.get_lang("Tools").':'; @@ -211,35 +211,35 @@ else { if($value['forum_group_public_private'] == 'public' ) { - $tools.= Display::return_icon('forum.gif') . ' '.$value['forum_title'].'
'; + $tools.= Display::return_icon('forum.gif', get_lang("GroupForum")) . ' '.$value['forum_title'].'
'; } } } if( $current_group['doc_state'] == TOOL_PUBLIC ) { // link to the documents area of this group - $tools .= "".Display::return_icon('folder_document.gif')." ".get_lang("GroupDocument")."
"; + $tools .= "".Display::return_icon('folder_document.gif', get_lang("GroupDocument"))." ".get_lang("GroupDocument")."
"; } if ( $current_group['calendar_state'] == TOOL_PUBLIC ) { //link to a group-specific part of agenda - $tools .= "".Display::return_icon('agenda.gif')." ".get_lang("GroupCalendar")."
"; + $tools .= "".Display::return_icon('agenda.gif', get_lang("GroupCalendar"))." ".get_lang("GroupCalendar")."
"; } if ( $current_group['work_state'] == TOOL_PUBLIC ) { //link to the works area of this group - $tools .= "".Display::return_icon('works.gif')." ".get_lang("GroupWork")."
"; + $tools .= "".Display::return_icon('works.gif', get_lang("GroupWork"))." ".get_lang("GroupWork")."
"; } if ( $current_group['announcements_state'] == TOOL_PUBLIC) { //link to a group-specific part of announcements - $tools .= "".Display::return_icon('valves.gif')." ".get_lang("GroupAnnouncements")."
"; + $tools .= "".Display::return_icon('valves.gif', get_lang("GroupAnnouncements"))." ".get_lang("GroupAnnouncements")."
"; } if ( $current_group['wiki_state'] == TOOL_PUBLIC ) { //link to the wiki area of this group - $tools .= "".Display::return_icon('wiki.gif')." ".get_lang('GroupWiki')."
"; + $tools .= "".Display::return_icon('wiki.gif', get_lang('GroupWiki'))." ".get_lang('GroupWiki')."
"; }