From 7f092a234773f99c8efbfcbb276dd6a1ced2f100 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sun, 16 Mar 2008 02:26:40 +0100 Subject: [PATCH] [svn r14608] Reviewed triple ical export mode order with faded icons --- main/calendar/agenda.inc.php | 6 ++++-- main/calendar/myagenda.inc.php | 8 +++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/main/calendar/agenda.inc.php b/main/calendar/agenda.inc.php index effe025691..527c151e0f 100644 --- a/main/calendar/agenda.inc.php +++ b/main/calendar/agenda.inc.php @@ -1448,6 +1448,8 @@ function display_agenda_items() $event_list=""; $counter=0; $export_icon = api_get_path('WEB_IMG_PATH').'export.png'; + $export_icon_low = api_get_path('WEB_IMG_PATH').'export_low_fade.png'; + $export_icon_high = api_get_path('WEB_IMG_PATH').'export_high_fade.png'; while ($myrow=mysql_fetch_array($result)) { echo "\n"; @@ -1544,8 +1546,8 @@ function display_agenda_items() $content = text_filter($content); echo ""; echo ""; echo '\n\t"; echo ""; /*--------------------------------------------------
"; - echo ''.get_lang('ExportiCalConfidential').''; - echo ''.get_lang('ExportiCalPrivate').''; + echo ''.get_lang('ExportiCalConfidential').''; + echo ''.get_lang('ExportiCalPrivate').''; echo ''.get_lang('ExportiCalPublic').''; echo ''.Display::return_icon('print.gif', get_lang('Print')).' '; echo $content; diff --git a/main/calendar/myagenda.inc.php b/main/calendar/myagenda.inc.php index 4fe45f3d14..0e179a56fe 100644 --- a/main/calendar/myagenda.inc.php +++ b/main/calendar/myagenda.inc.php @@ -988,6 +988,8 @@ function show_personal_agenda() $day = $today['mday']; } $export_icon = api_get_path('WEB_IMG_PATH').'export.png'; + $export_icon_low = api_get_path('WEB_IMG_PATH').'export_low_fade.png'; + $export_icon_high = api_get_path('WEB_IMG_PATH').'export_high_fade.png'; if (Database::num_rows($result) > 0) { while ($myrow = Database::fetch_array($result)) @@ -1023,9 +1025,9 @@ function show_personal_agenda() echo ucfirst(strftime(get_lang("timeNoSecFormat"), strtotime($myrow["date"]))); echo "'; - echo ''.get_lang('ExportiCalConfidential').''; - echo ''.get_lang('ExportiCalPrivate').''; - echo ''.get_lang('ExportiCalPublic').''; + echo ''.get_lang('ExportiCalConfidential').''; + echo ''.get_lang('ExportiCalPrivate').''; + echo ''.get_lang('ExportiCalPublic').''; echo "\n\t\t