From 7fdd76e3162278a32e7d13d238ff1cd8c73f8566 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 17 Mar 2010 16:17:33 +0000 Subject: [PATCH] Updated address book -Still very broken git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16819 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../addons/addressbook/address_edit.tpl | 30 ++++++++---- .../addons/addressbook/address_info.tpl | 33 ++++++++----- .../addons/addressbook/contents.tpl | 46 ++++++++++++------- .../addressbook/addons/addressbook/dial.tpl | 6 ++- .../addressbook/addons/addressbook/remove.tpl | 3 +- 5 files changed, 78 insertions(+), 40 deletions(-) diff --git a/gosa-plugins/addressbook/addons/addressbook/address_edit.tpl b/gosa-plugins/addressbook/addons/addressbook/address_edit.tpl index c1460614e..6e922888e 100644 --- a/gosa-plugins/addressbook/addons/addressbook/address_edit.tpl +++ b/gosa-plugins/addressbook/addons/addressbook/address_edit.tpl @@ -1,4 +1,5 @@ - +
+
- -
+ +

- + {image path="{$personal_image}"} +  {t}Personal{/t}

@@ -68,9 +71,11 @@
+ +

- + {image path="{$home_image}"} +  {t}Private{/t}

@@ -82,7 +87,8 @@

- - -
+ + {render acl=$homePostalAddressACL} {/render} @@ -128,9 +134,11 @@
+ +

- + {image path="{$company_image}"} +  {t}Organizational{/t}

@@ -199,7 +207,8 @@
+ + - - -
@@ -209,7 +218,8 @@

+ + {render acl=$postalAddressACL} {/render} diff --git a/gosa-plugins/addressbook/addons/addressbook/address_info.tpl b/gosa-plugins/addressbook/addons/addressbook/address_info.tpl index 80e7bd460..1adb9afca 100644 --- a/gosa-plugins/addressbook/addons/addressbook/address_info.tpl +++ b/gosa-plugins/addressbook/addons/addressbook/address_info.tpl @@ -1,4 +1,5 @@ - +
+ @@ -12,9 +13,11 @@
{$storage_info}
-
+ +

- + {image path="{$personal_image}"} + {t}Personal{/t}

@@ -46,19 +49,23 @@
+ +

- + {image path="{$home_image}"} + {t}Private{/t}

- - @@ -92,10 +99,12 @@ -
+ + {t}Address{/t} + + {$info_homePostalAddress}
+ +

- + {image path="{$company_image}"} + {t}Organizational{/t}

@@ -147,14 +156,16 @@
+ + - diff --git a/gosa-plugins/addressbook/addons/addressbook/contents.tpl b/gosa-plugins/addressbook/addons/addressbook/contents.tpl index 004e3d2ae..2443059a8 100644 --- a/gosa-plugins/addressbook/addons/addressbook/contents.tpl +++ b/gosa-plugins/addressbook/addons/addressbook/contents.tpl @@ -1,7 +1,10 @@ -
{t}Address{/t} + + {$info_postalAddress}
+
+ -
- +
+ + + @@ -17,7 +20,8 @@ {$search_result}
- +
+ @@ -28,9 +32,11 @@ {/if} -
{$range_selector}
+ +
-

[i]{t}Information{/t}

+

{image path="{$infoimage}" align="right"}{t}Information{/t} +

@@ -39,22 +45,26 @@


-

[a]{t}Actions{/t}

+

{image path="{$actionimage}" align="right"}{t}Actions{/t} +

{if $internal_createable} -   + {image path="{$add_image}"}  + {t}Add entry{/t}
{/if} {if $internal eq 0} {if $internal_editable} -   + {image path="{$edit_image}"}  + {t}Edit entry{/t}
{/if} {if $internal_removeable} -   + {image path="{$delete_image}"}  + {t}Remove entry{/t}
{/if} {/if} @@ -62,7 +72,8 @@


-

[F]{t}Filters{/t}

+

{image path="{$launchimage}" align="right"}{t}Filters{/t} +

@@ -81,10 +92,11 @@
- + - {html_options options=$deplist selected=$depselect} @@ -94,10 +106,11 @@
- + - {html_options options=$objlist selected=$object_type} @@ -106,7 +119,8 @@
-
+ diff --git a/gosa-plugins/addressbook/addons/addressbook/dial.tpl b/gosa-plugins/addressbook/addons/addressbook/dial.tpl index 1bb21afd6..31e38a129 100644 --- a/gosa-plugins/addressbook/addons/addressbook/dial.tpl +++ b/gosa-plugins/addressbook/addons/addressbook/dial.tpl @@ -1,11 +1,13 @@ - +
+
 
- {$dial_info} + {image path="{$phone_image}"}{$dial_info} +
 
  diff --git a/gosa-plugins/addressbook/addons/addressbook/remove.tpl b/gosa-plugins/addressbook/addons/addressbook/remove.tpl index 9330e624a..72e841f7a 100644 --- a/gosa-plugins/addressbook/addons/addressbook/remove.tpl +++ b/gosa-plugins/addressbook/addons/addressbook/remove.tpl @@ -1,5 +1,6 @@
-  {t}Warning{/t} + {image path="images/warning.png" align="top"} {t}Warning{/t} +

{$info} -- 2.30.2