From 61c1d1e5015792dc2f6cb145bc47d3d0a5cab381 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 11 May 2006 11:24:40 +0000 Subject: [PATCH] * Changed text in device type selection * Added iframe output to handle_object_tagging git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3293 594d385d-05f5-0310-b6e9-bd551577e9d8 --- TODO | 4 +--- include/class_plugin.inc | 7 ++++--- plugins/admin/systems/SelectDeviceType.tpl | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/TODO b/TODO index 0ef0fcfb7..0f4f3978e 100644 --- a/TODO +++ b/TODO @@ -31,12 +31,10 @@ Target for 2.4.1: Now: -* Add iframe progress for departments when handling tagging * evaluate what effects a ldap->cat(..., $this->attributes) will have to other plugins in class_plugin.inc * Enhance show_ldap_error() with an additional programmer supplied message -* Changing LDAP-Servers -> start tab! -* Subsearches for user dialogs +* Changing LDAP-Servers -> start tab! Actions? Target for 2.5: diff --git a/include/class_plugin.inc b/include/class_plugin.inc index b2428de68..6a700502e 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -905,11 +905,12 @@ class plugin $ldap->cat($dn, array('gosaUnitTag', 'objectClass')); $attrs= $ldap->fetch(); if(isset($attrs['gosaUnitTag'][0]) && $attrs['gosaUnitTag'][0] == $tag){ - @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, "$dn is already tagged", "Tagging"); + echo sprintf(_("Processing: Object '%s' is already tagged"), $dn); + flush() return; } if (count($attrs)){ - @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, "Add tagging ($tag) to $dn", "Tagging"); + echo sprintf(_("Processing: Adding tag (%s) to object '%s'"), $dn); $nattrs= array("gosaUnitTag" => $this->gosaUnitTag); $nattrs['objectClass']= array(); for ($i= 0; $i<$attrs['objectClass']['count']; $i++){ @@ -935,7 +936,7 @@ class plugin return; } if (count($attrs)){ - @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, "Remove tagging from $dn", "Tagging"); + echo sprintf(_("Processing: Removing tag from object '%s'"), $dn); $nattrs= array("gosaUnitTag" => array()); $nattrs['objectClass']= array(); for ($i= 0; $i<$attrs['objectClass']['count']; $i++){ diff --git a/plugins/admin/systems/SelectDeviceType.tpl b/plugins/admin/systems/SelectDeviceType.tpl index a051fb2ea..a868541d2 100644 --- a/plugins/admin/systems/SelectDeviceType.tpl +++ b/plugins/admin/systems/SelectDeviceType.tpl @@ -29,7 +29,7 @@
- {t}Inherit settings from this object group{/t}  + {t}Choose a template group{/t}  -- 2.30.2