From c1ce39b14e14abe61f0bc3298124daaef4ecf950 Mon Sep 17 00:00:00 2001 From: stevetruckstuff Date: Tue, 15 Aug 2006 21:32:45 +0000 Subject: [PATCH] Add template for address book add/edit functions. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11604 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default/addrbook_addedit.tpl | 126 +++++++++++++++++++++++++ templates/default/stylesheet.tpl | 41 ++++++++ 2 files changed, 167 insertions(+) create mode 100644 templates/default/addrbook_addedit.tpl diff --git a/templates/default/addrbook_addedit.tpl b/templates/default/addrbook_addedit.tpl new file mode 100644 index 00000000..8164aa75 --- /dev/null +++ b/templates/default/addrbook_addedit.tpl @@ -0,0 +1,126 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + 1) { + ?> + + + + + '."\n"; + } + } + ?> + + + +
+ +
+ + + size="15" /> + +
+ + + '."\n"; + foreach ($values['Email'] as $email) { + echo ''."\n"; + } + echo ''."\n"; + } else { + echo ''."\n"; + } + ?> +
+ + + size="45" /> +
+ + + size="45" /> +
+ + + size="45" /> +
+ + + +
+ name="[SUBMIT]" /> +
+
\ No newline at end of file diff --git a/templates/default/stylesheet.tpl b/templates/default/stylesheet.tpl index f26d2552..b6481526 100644 --- a/templates/default/stylesheet.tpl +++ b/templates/default/stylesheet.tpl @@ -408,4 +408,45 @@ tr.odd { #addrBookSearch td.buttons { text-align: center; +} + +#addrAddEdit { + text-align: center; +} + +#addrAddEdit table { + border: 1px solid ; + margin-left: auto; + margin-right: auto; + margin-top: 6px; + margin-bottom: 6px; + width: 95% +} + +#addrAddEdit td.header { + background: ; + text-align: center; + font-weight: bold; +} + +#addrAddEdit td.fieldName { + text-align: right; + width: 30%; +} + +#addrAddEdit td.addButton { + text-align: center; +} + +#addrAddEdit td { + text-align: left; + padding: 2px; +} + +#addrAddEdit input { + font-size: 75%; +} + +#addrAddEdit select { + font-size: 75%; } \ No newline at end of file -- 2.25.1