From: hickert Date: Thu, 9 Nov 2006 04:12:46 +0000 (+0000) Subject: Copy & Paste dialog. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3d1efc399f00d13908245eb0791de3502128e1e3;p=gosa.git Copy & Paste dialog. Added seperator after each plugin that needs attribute modifications. Fixed & in translated string. Applied user copy & paste template modifications from r5328 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5047 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/ihtml/themes/default/copyPasteDialog.tpl b/ihtml/themes/default/copyPasteDialog.tpl index e72431d33..075d52ed2 100644 --- a/ihtml/themes/default/copyPasteDialog.tpl +++ b/ihtml/themes/default/copyPasteDialog.tpl @@ -1,4 +1,4 @@ -

{t}Copy & paste wizard{/t}

+{t}Copy & paste wizard{/t} {if $Complete == false} {t}Some values need to be unique in the complete directory while some combinations make no sense. GOsa shows the relevant attributes. Please maintain the values below to fullfill the policies.{/t} @@ -6,7 +6,6 @@

 


{$AttributesToFix} -

 

{if $SubDialog == false}
diff --git a/include/class_tabs.inc b/include/class_tabs.inc index 701631f4a..8e2d42ca4 100644 --- a/include/class_tabs.inc +++ b/include/class_tabs.inc @@ -278,20 +278,23 @@ class tabs */ function getCopyDialog() { - $ret = ""; - $this->SubDialog = false; - foreach ($this->by_object as $key => $obj){ - if($obj->is_account){ - $tmp = $this->by_object[$key]->getCopyDialog(); - if($tmp['status'] == "SubDialog"){ - $this->SubDialog = true; - return($tmp['string']); - }else{ - $ret .= $tmp['string']; - } - } - } - return($ret); + $ret = ""; + $this->SubDialog = false; + foreach ($this->by_object as $key => $obj){ + if($obj->is_account){ + $tmp = $this->by_object[$key]->getCopyDialog(); + if($tmp['status'] == "SubDialog"){ + $this->SubDialog = true; + return($tmp['string']); + }else{ + if(!empty($tmp['string'])){ + $ret .= $tmp['string']; + $ret .= "

 

"; + } + } + } + } + return($ret); } @@ -322,5 +325,5 @@ class tabs } } - +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> diff --git a/plugins/personal/generic/paste_generic.tpl b/plugins/personal/generic/paste_generic.tpl index 6f35f708d..0fc160888 100644 --- a/plugins/personal/generic/paste_generic.tpl +++ b/plugins/personal/generic/paste_generic.tpl @@ -1,7 +1,7 @@ - +

{t}User settings{/t}

+
-
-

{t}User settings{/t}

+
@@ -15,18 +15,6 @@ - - - - -
- - {t}User picture{/t} - - -   - -
{t}Password{/t} @@ -42,20 +30,30 @@ - + + + + +
+
- {t}Personal picture{/t} + {t}Personal picture{/t}
+ + {t}User picture{/t} + + +   + +

-