From 88ffd62a527f94e2ef3f147d2464cb1580dd6cdc Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Mon, 10 May 2010 16:38:02 +0200 Subject: [PATCH] Improving the UI of the mini js calendar --- .../formvalidator/Element/calendar_popup.php | 29 +++++++++++++------ .../formvalidator/Element/tbl_change.js.php | 10 +++---- 2 files changed, 25 insertions(+), 14 deletions(-) diff --git a/main/inc/lib/formvalidator/Element/calendar_popup.php b/main/inc/lib/formvalidator/Element/calendar_popup.php index 6d92c8e4af..c3b453d2a9 100755 --- a/main/inc/lib/formvalidator/Element/calendar_popup.php +++ b/main/inc/lib/formvalidator/Element/calendar_popup.php @@ -52,10 +52,9 @@ header('Content-Type: text/html; charset='. api_get_system_encoding()); diff --git a/main/inc/lib/formvalidator/Element/tbl_change.js.php b/main/inc/lib/formvalidator/Element/tbl_change.js.php index 0a03f465fc..e999cfd9a7 100755 --- a/main/inc/lib/formvalidator/Element/tbl_change.js.php +++ b/main/inc/lib/formvalidator/Element/tbl_change.js.php @@ -108,13 +108,13 @@ function initCalendar() { //heading table str += '
'; - str += '« '; + str += ' '; str += month_names[month]; - str += ' »'; + str += ' '; str += ''; - str += '« '; + str += ' '; str += year; - str += ' »'; + str += ' '; str += '
'; str += ''; @@ -146,7 +146,7 @@ function initCalendar() { } else { style = ''; } - str += "" + i + "" + str += "
" + i + "
" dayInWeek++; } for (i = dayInWeek; i < 7; i++) {