From e41d0e7e8ab076cadd8e8ae62cfa00bd1752849a Mon Sep 17 00:00:00 2001 From: Greg Date: Mon, 30 Jul 2007 19:28:18 +0000 Subject: [PATCH] Enhanced the way multipage alias and mailbox results are handled git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@13 a1433add-5e2c-0410-b055-b7f2511e0802 --- templates/admin_list-virtual.tpl | 32 +++++++++++++++++++++++++++++- templates/overview.tpl | 34 ++++++++++++++++++++++++++++++-- 2 files changed, 63 insertions(+), 3 deletions(-) diff --git a/templates/admin_list-virtual.tpl b/templates/admin_list-virtual.tpl index d8c66625..2e47110f 100644 --- a/templates/admin_list-virtual.tpl +++ b/templates/admin_list-virtual.tpl @@ -79,6 +79,21 @@ if (sizeof ($tAlias) > 0) } print "

" . $PALANG['pMenu_create_alias'] . "\n"; +print "

\n"; +if ($tDisplay_back_show == 1) +{ + print "\""\n"; +} +if ($tDisplay_up_show == 1) +{ + print "\""\n"; +} +if ($tDisplay_next_show == 1) +{ + print "\""\n"; +} +print "
\n"; + if (sizeof ($tMailbox) > 0) { print "\n"; @@ -145,7 +160,22 @@ if (sizeof ($tMailbox) > 0) } } print "
\n"; + print "
\n"; + if ($tDisplay_back_show == 1) + { + print "\""\n"; + } + if ($tDisplay_up_show == 1) + { + print "\""\n"; + } + if ($tDisplay_next_show == 1) + { + print "\""\n"; + } + print "
\n"; + + print "

" . $PALANG['pMenu_create_mailbox'] . "\n"; } - print "

" . $PALANG['pMenu_create_mailbox'] . "\n"; /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ ?> diff --git a/templates/overview.tpl b/templates/overview.tpl index 711188d4..556c5cbc 100644 --- a/templates/overview.tpl +++ b/templates/overview.tpl @@ -98,7 +98,22 @@ if (sizeof ($tAlias) > 0) print "\n"; } - print "

" . $PALANG['pMenu_create_alias'] . "\n"; + + print "

" . $PALANG['pMenu_create_alias'] . "\n"; + print "

\n"; + if ($tDisplay_back_show == 1) + { + print "\""\n"; + } + if ($tDisplay_up_show == 1) + { + print "\""\n"; + } + if ($tDisplay_next_show == 1) + { + print "\""\n"; + } + print "
\n"; if (sizeof ($tMailbox) > 0) { @@ -160,7 +175,22 @@ if (sizeof ($tMailbox) > 0) } } print "\n"; + print "
\n"; + if ($tDisplay_back_show == 1) + { + print "\""\n"; + } + if ($tDisplay_up_show == 1) + { + print "\""\n"; + } + if ($tDisplay_next_show == 1) + { + print "\""\n"; + } + print "
\n"; + + print "

" . $PALANG['pMenu_create_mailbox'] . "\n"; } - print "

" . $PALANG['pMenu_create_mailbox'] . "\n"; /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ ?>