From df9cfb6a7db9077bc09b79d8916d041737064514 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 11 Aug 2006 10:43:05 +0000 Subject: [PATCH] Fixed some w3C probs git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4486 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_CopyPasteHandler.inc | 2 +- .../gofon/phoneaccount/class_phoneAccount.inc | 4 ++-- .../connectivity/class_kolabAccount.inc | 6 +++--- plugins/personal/connectivity/kolab.tpl | 19 +++++++++---------- plugins/personal/connectivity/proxy.tpl | 4 ++-- plugins/personal/generic/generic.tpl | 2 +- 6 files changed, 18 insertions(+), 19 deletions(-) diff --git a/include/class_CopyPasteHandler.inc b/include/class_CopyPasteHandler.inc index 4ec220be5..963e3df67 100644 --- a/include/class_CopyPasteHandler.inc +++ b/include/class_CopyPasteHandler.inc @@ -215,7 +215,7 @@ class CopyPasteHandler { $Copy_Paste.= " "; }else{ - $Copy_Paste.= ""._("Can "; + $Copy_Paste.= "\""._("Can't "; } return ($Copy_Paste); diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc index b38336fe9..d83831215 100644 --- a/plugins/gofon/phoneaccount/class_phoneAccount.inc +++ b/plugins/gofon/phoneaccount/class_phoneAccount.inc @@ -8,7 +8,7 @@ class phoneAccount extends plugin var $has_mailAccount= FALSE; /* Attributes */ - var $telephoneNumber = ""; + var $telephoneNumber = array(); var $goFonHardware = ""; var $goFonFormat = ""; var $goFonPIN = ""; @@ -794,7 +794,7 @@ class phoneAccount extends plugin /* Fill arrays */ $smarty->assign ("goFonHardware", $this->goFonHardware); if (!count($this->phoneNumbers)){ - $smarty->assign ("phoneNumbers", array("")); + $smarty->assign ("phoneNumbers", array()); } else { $smarty->assign ("phoneNumbers", $this->phoneNumbers); } diff --git a/plugins/personal/connectivity/class_kolabAccount.inc b/plugins/personal/connectivity/class_kolabAccount.inc index 6ef941200..318a118b9 100644 --- a/plugins/personal/connectivity/class_kolabAccount.inc +++ b/plugins/personal/connectivity/class_kolabAccount.inc @@ -194,7 +194,7 @@ class kolabAccount extends plugin changeState('add".$nr."'); \n changeState('remove".$nr."'); \n"; $invitation.= ""; - if($this->is_account){ + if(($this->is_account) && !preg_match("/disabled/",$acl)){ $dis = " "; }else{ $dis = " disabled "; @@ -209,12 +209,12 @@ class kolabAccount extends plugin } else { $name= preg_replace('/:.*$/', '', $entry); $mode= preg_replace('/^[^:]*: */', '', $entry); - $invitation.= ""; + $invitation.= ""; } $invitation.= ""; /* Add mode switch */ - $invitation.= ""; foreach($policies as $key => $value){ if ($key == $mode){ $invitation.= ""; diff --git a/plugins/personal/connectivity/kolab.tpl b/plugins/personal/connectivity/kolab.tpl index 56ef2bbc3..23107ccc7 100644 --- a/plugins/personal/connectivity/kolab.tpl +++ b/plugins/personal/connectivity/kolab.tpl @@ -28,16 +28,15 @@
- -   - + +   +

{t}Mail size{/t}
-   {t}No mail size restriction for this account{/t} +   {t}No mail size restriction for this account{/t}

@@ -49,11 +48,11 @@ - + - +
{t}days{/t} {t}days{/t}
diff --git a/plugins/personal/connectivity/proxy.tpl b/plugins/personal/connectivity/proxy.tpl index b8243cda6..911f173cc 100644 --- a/plugins/personal/connectivity/proxy.tpl +++ b/plugins/personal/connectivity/proxy.tpl @@ -14,12 +14,12 @@ -- 2.30.2
- + {t}Filter unwanted content (i.e. pornographic or violence related){/t}
-
diff --git a/plugins/personal/generic/generic.tpl b/plugins/personal/generic/generic.tpl index c3fdd6ebf..0f02daef4 100644 --- a/plugins/personal/generic/generic.tpl +++ b/plugins/personal/generic/generic.tpl @@ -134,7 +134,7 @@ {if $selectmode == ""} {else} - + {/if}