From eaff46aa623a20b28b90c8482eb0a4f1b26f399f Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 13 Jul 2006 06:41:09 +0000 Subject: [PATCH] Added comments and translation tags to connectivity plinfo functions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4135 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../connectivity/class_intranetAccount.inc | 13 ++++++++----- .../connectivity/class_kolabAccount.inc | 8 +++++--- .../connectivity/class_opengwAccount.inc | 7 +++++-- .../connectivity/class_oxchangeAccount.inc | 19 +++++++++++-------- .../connectivity/class_phpgwAccount.inc | 4 +++- .../class_phpscheduleitAccount.inc | 5 ++++- .../connectivity/class_pptpAccount.inc | 12 ++++++++---- .../connectivity/class_proxyAccount.inc | 5 +++-- .../connectivity/class_pureftpdAccount.inc | 9 +++++---- .../connectivity/class_webdavAccount.inc | 7 +++++-- 10 files changed, 57 insertions(+), 32 deletions(-) diff --git a/plugins/personal/connectivity/class_intranetAccount.inc b/plugins/personal/connectivity/class_intranetAccount.inc index ca01a66bf..0c596bfa0 100644 --- a/plugins/personal/connectivity/class_intranetAccount.inc +++ b/plugins/personal/connectivity/class_intranetAccount.inc @@ -154,13 +154,16 @@ class intranetAccount extends plugin } } - + + /* Return pluign informations for acl handling + #FIXME This is only an enable/disable checkbox for this account, there is possibly a better solution available later */ function plInfo() { - return (array( "plDescription" => _("Intranet account settings"), - "plSelfModify" => TRUE, - "plDepends" => array("objectClass" => "gosaAccount"), - "gosaIntranetAccount" => "GOsa intranet account")); + return (array( + "plDescription" => _("Intranet account settings"), + "plSelfModify" => TRUE, + "plDepends" => array("objectClass" => "gosaAccount"), + "gosaIntranetAccount" => "!!! FIME "._("GOsa intranet account"))); } } diff --git a/plugins/personal/connectivity/class_kolabAccount.inc b/plugins/personal/connectivity/class_kolabAccount.inc index a889eb0a4..e2d7c641c 100644 --- a/plugins/personal/connectivity/class_kolabAccount.inc +++ b/plugins/personal/connectivity/class_kolabAccount.inc @@ -402,11 +402,13 @@ class kolabAccount extends plugin } + /* Return pluign informations for acl handling */ function plInfo() { - return (array( "plDescription" => _("Koalb account settings"), - "plSelfModify" => TRUE, - "plDepends" => array("objectClass" => "gosaAccount"), + return (array( + "plDescription" => _("Koalb account settings"), + "plSelfModify" => TRUE, + "plDepends" => array("objectClass" => "gosaAccount"), "kolabFreeBusyFuture" => _("Free busy future"), "unrestrictedMailSize" => _("Mail size restriction"), "calFBURL" => _("Free busy information"), diff --git a/plugins/personal/connectivity/class_opengwAccount.inc b/plugins/personal/connectivity/class_opengwAccount.inc index a2b2091a1..1585fe4b1 100644 --- a/plugins/personal/connectivity/class_opengwAccount.inc +++ b/plugins/personal/connectivity/class_opengwAccount.inc @@ -327,12 +327,15 @@ class opengwAccount extends plugin } + /* Return pluign informations for acl handling + #FIXME This is only an enable/disable checkbox for this account, there is possibly a better solution available later */ function plInfo() { - return (array( "plDescription" => _("Open groupware account settings"), + return (array( + "plDescription" => _("Open groupware account settings"), "plSelfModify" => TRUE, "plDepends" => array("objectClass" => "gosaAccount"), - "opengwAccount" => "Open groupware account")); + "opengwAccount" => "!!! FIXME "._("Open groupware account"))); } } diff --git a/plugins/personal/connectivity/class_oxchangeAccount.inc b/plugins/personal/connectivity/class_oxchangeAccount.inc index 6b2342b61..a702cb4c6 100644 --- a/plugins/personal/connectivity/class_oxchangeAccount.inc +++ b/plugins/personal/connectivity/class_oxchangeAccount.inc @@ -872,16 +872,19 @@ class oxchangeAccount extends plugin } + /* Return pluign informations for acl handling + #FIXME ACL attributes aren't translated yet. */ function plInfo() { - return (array("plDescription" => _("Open xchange account settings"), - "plSelfModify" => TRUE, - "plDepends" => array("objectClass" => _("gosaAccount")), - "OXAppointmentDays" => "#FIXEME attributes arn't translated"._("OXAppointmentDays"), - "OXTaskDays" => _("OXTaskDays"), - "mailEnabled" => _("mailEnabled"), - "OXTimeZone" => _("OXTimeZone"))); + return ( + array("plDescription" => _("Open xchange account settings"), + "plSelfModify" => TRUE, + "plDepends" => array("objectClass" => _("gosaAccount")), + "OXAppointmentDays" => "!!! FIXME "._("OXAppointmentDays"), + "OXTaskDays" => _("OXTaskDays"), + "mailEnabled" => _("mailEnabled"), + "OXTimeZone" => _("OXTimeZone"))); } } - +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> diff --git a/plugins/personal/connectivity/class_phpgwAccount.inc b/plugins/personal/connectivity/class_phpgwAccount.inc index 4e75efbb0..1941301c3 100644 --- a/plugins/personal/connectivity/class_phpgwAccount.inc +++ b/plugins/personal/connectivity/class_phpgwAccount.inc @@ -121,12 +121,14 @@ class phpgwAccount extends plugin } + /* Return pluign informations for acl handling + #FIME ACL attributes arn't translated yet */ function plInfo() { return (array( "plDescription" => _("Intranet account settings"), "plSelfModify" => TRUE, "plDepends" => array("objectClass" => "gosaAccount"), - "phpgwAccountExpires" =>"#FIXME not translated"._("phpgwAccountExpires"), + "phpgwAccountExpires" =>"!!! FIXME "._("phpgwAccountExpires"), "phpgwAccountStatus" =>_("phpgwAccountStatus"), "phpgwAccountType" =>_("phpgwAccountType"))); } diff --git a/plugins/personal/connectivity/class_phpscheduleitAccount.inc b/plugins/personal/connectivity/class_phpscheduleitAccount.inc index 4e1f48e44..23f7f2a77 100644 --- a/plugins/personal/connectivity/class_phpscheduleitAccount.inc +++ b/plugins/personal/connectivity/class_phpscheduleitAccount.inc @@ -129,12 +129,15 @@ class phpscheduleitAccount extends plugin } + + /* Return pluign informations for acl handling + #FIXME This is only an enable/disable checkbox for this account, there is possibly a better solution available later */ function plInfo() { return (array( "plDescription" => _("PHPscheduleit account"), "plSelfModify" => TRUE, "plDepends" => array("objectClass" => "gosaAccount"), - "phpscheduleitAccount" => "PHPscheduleit account")); + "phpscheduleitAccount" => "!!! FIXME "._("PHPscheduleit account"))); } diff --git a/plugins/personal/connectivity/class_pptpAccount.inc b/plugins/personal/connectivity/class_pptpAccount.inc index cb8964898..c772d322b 100644 --- a/plugins/personal/connectivity/class_pptpAccount.inc +++ b/plugins/personal/connectivity/class_pptpAccount.inc @@ -132,12 +132,16 @@ class pptpAccount extends plugin } } + + /* Return pluign informations for acl handling + #FIXME This is only an enable/disable checkbox for this account, there is possibly a better solution available later */ function plInfo() { - return (array( "plDescription" => _("PPTP account"), - "plSelfModify" => TRUE, - "plDepends" => array("objectClass" => "gosaAccount"), - "pptpServerAccount" => "PPTP account")); + return (array( + "plDescription" => _("PPTP account"), + "plSelfModify" => TRUE, + "plDepends" => array("objectClass" => "gosaAccount"), + "pptpServerAccount" => "!!! FIXME "._("PPTP account"))); } diff --git a/plugins/personal/connectivity/class_proxyAccount.inc b/plugins/personal/connectivity/class_proxyAccount.inc index 76e28e1a7..42bf2b0f8 100644 --- a/plugins/personal/connectivity/class_proxyAccount.inc +++ b/plugins/personal/connectivity/class_proxyAccount.inc @@ -267,14 +267,15 @@ class proxyAccount extends plugin } - + /* Return pluign informations for acl handling + #FIME There possibly some attributes that can be combined to one acl. */ function plInfo() { return (array( "plDescription" => _("Intranet account settings"), "plSelfModify" => TRUE, "plDepends" => array("objectClass" => "gosaAccount"), - "gosaProxyID" => _("gosaProxyID"), + "gosaProxyID" => "!!! FIXME "._("gosaProxyID"), "gosaProxyFlag_F" => _("Filter unwanted content"), "gosaProxyFlag_T" => _("Limit proxy access"), diff --git a/plugins/personal/connectivity/class_pureftpdAccount.inc b/plugins/personal/connectivity/class_pureftpdAccount.inc index 130037bf0..c2aae1240 100644 --- a/plugins/personal/connectivity/class_pureftpdAccount.inc +++ b/plugins/personal/connectivity/class_pureftpdAccount.inc @@ -181,15 +181,16 @@ class pureftpdAccount extends plugin } + /* Return pluign informations for acl handling + #FIME There possibly some attributes that can be combined to one acl. */ function plInfo() { - - # FIXME We should combine some of the attributes liste below.. - return (array( "plDescription" => _("Intranet account settings"), + return (array( + "plDescription" => _("Intranet account settings"), "plSelfModify" => TRUE, "plDepends" => array("objectClass" => "gosaAccount"), - "FTPQuotaFiles" => _("Quota files"), + "FTPQuotaFiles" => "!!! FIXME "._("Quota files"), "FTPUploadRatio" => _("Upload ratio"), "FTPQuotaMBytes" => _("Quota MBytes"), "FTPDownloadRatio" => _("Download ratio"), diff --git a/plugins/personal/connectivity/class_webdavAccount.inc b/plugins/personal/connectivity/class_webdavAccount.inc index 4c449d8e0..7ed382c7d 100644 --- a/plugins/personal/connectivity/class_webdavAccount.inc +++ b/plugins/personal/connectivity/class_webdavAccount.inc @@ -116,12 +116,15 @@ class webdavAccount extends plugin } } + /* Return pluign informations for acl handling + #FIXME This is only an enable/disable checkbox for this account, there is possibly a better solution available later */ function plInfo() { - return (array( "plDescription" => _("Intranet account settings"), + return (array( + "plDescription" => _("Intranet account settings"), "plSelfModify" => TRUE, "plDepends" => array("objectClass" => "gosaAccount"), - "gosaWebdavAccount" => "WebDAV account")); + "gosaWebdavAccount" => "!!! FIXME "._("WebDAV account"))); } } -- 2.30.2