From 63421e8191dd25c04b74ebcecdcd4231625a9ea9 Mon Sep 17 00:00:00 2001 From: roundcube Date: Wed, 28 Sep 2005 22:28:05 +0000 Subject: Minor bugfixes and correction of confusing License notfications git-svn-id: https://svn.roundcube.net/trunk@8 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/settings/func.inc | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'roundcubemail/program/steps/settings/func.inc') diff --git a/roundcubemail/program/steps/settings/func.inc b/roundcubemail/program/steps/settings/func.inc index c48f41c90..60b1056dd 100644 --- a/roundcubemail/program/steps/settings/func.inc +++ b/roundcubemail/program/steps/settings/func.inc @@ -6,7 +6,7 @@ | | | This file is part of the RoundCube Webmail client | | Copyright (C) 2005, RoundCube Dev. - Switzerland | - | All rights reserved. | + | Licensed under the GNU GPL | | | | PURPOSE: | | Provide functionality for user's settings & preferences | @@ -44,9 +44,10 @@ function rcmail_user_prefs_form($attrib) // return the complete edit form as table $out = "$form_start\n\n"; - $a_show_cols = array('language' => array('type' => 'text'), - 'pagesize' => array('type' => 'text'), - 'timezone' => array('type' => 'text')); + $a_show_cols = array('language' => array('type' => 'text'), + 'pagesize' => array('type' => 'text'), + 'timezone' => array('type' => 'text'), + 'prettydate' => array('type' => 'text')); // show language selection $field_id = 'rcmfd_lang'; @@ -120,6 +121,15 @@ function rcmail_user_prefs_form($attrib) rcube_label('preferhtml'), $input_pagesize->show($CONFIG['prefer_html']?1:0)); + // MM: Show checkbox for toggling 'pretty dates' + $field_id = 'rcmfd_prettydate'; + $input_prettydate = new checkbox(array('name' => '_pretty_date', 'id' => $field_id, 'value' => 1)); + + $out .= sprintf("%s\n", + $field_id, + rcube_label('prettydate'), + $input_prettydate->show($CONFIG['prettydate']?1:0)); + $out .= "\n$form_end"; -- cgit v1.2.3