From fae8674359063881ab6d2a62eba6bf815de290db Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 29 Dec 2011 09:35:01 +0000 Subject: - Add separate pagesize setting for mail messages and contacts (#1488269) git-svn-id: https://svn.roundcube.net/trunk@5662 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/installer/config.php | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) (limited to 'roundcubemail/installer/config.php') diff --git a/roundcubemail/installer/config.php b/roundcubemail/installer/config.php index dabc478c9..b71e3d5d5 100644 --- a/roundcubemail/installer/config.php +++ b/roundcubemail/installer/config.php @@ -524,15 +524,34 @@ echo $input_skin->show($RCI->getprop('skin_logo'));

Enter a URL relative to the document root of this Roundcube installation.

-
pagesize *
+
mail_pagesize *
'_pagesize', 'size' => 6, 'id' => "cfgpagesize")); -echo $input_pagesize->show($RCI->getprop('pagesize')); +$pagesize = $RCI->getprop('mail_pagesize'); +if (!$pagesize) { + $pagesize = $RCI->getprop('pagesize'); +} +$input_pagesize = new html_inputfield(array('name' => '_mail_pagesize', 'size' => 6, 'id' => "cfgmailpagesize")); +echo $input_pagesize->show($pagesize); + +?> +
Show up to X items in the mail messages list view.
+
+ +
addressbook_pagesize *
+
+getprop('addressbook_pagesize'); +if (!$pagesize) { + $pagesize = $RCI->getprop('pagesize'); +} +$input_pagesize = new html_inputfield(array('name' => '_addressbook_pagesize', 'size' => 6, 'id' => "cfgabookpagesize")); +echo $input_pagesize->show($pagesize); ?> -
Show up to X items in list view.
+
Show up to X items in the contacts list view.
prefer_html *
-- cgit v1.2.3