summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fd47ac1)
raw | patch | inline | side by side (parent: fd47ac1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 May 2006 06:00:06 +0000 (06:00 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 May 2006 06:00:06 +0000 (06:00 +0000) |
added styles
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3304 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3304 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_plugin.inc | patch | blob | history | |
plugins/admin/departments/class_departmentGeneric.inc | patch | blob | history |
index 7a24d0e8c1c335a28372e2ffa002dc7a9a4c9bae..1a74a753832aabdceaf067953219c2b39c251628 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
$attrs= $ldap->fetch();
if(isset($attrs['gosaUnitTag'][0]) && $attrs['gosaUnitTag'][0] == $tag){
if ($show) {
- echo sprintf(_("Processing: Object '%s' is already tagged"), $dn);
+ echo sprintf(_("Processing: Object '%s' is already tagged"), $dn)."<br>";
flush();
}
return;
}
if (count($attrs)){
if ($show){
- echo sprintf(_("Processing: Adding tag (%s) to object '%s'"), $dn);
+ echo sprintf(_("Processing: Adding tag (%s) to object '%s'"), $tag,$dn)."<br>";
flush();
}
$nattrs= array("gosaUnitTag" => $this->gosaUnitTag);
}
if (count($attrs)){
if ($show){
- echo sprintf(_("Processing: Removing tag from object '%s'"), $dn);
+ echo sprintf(_("Processing: Removing tag from object '%s'"), $dn)."<br>";
flush();
}
$nattrs= array("gosaUnitTag" => array());
diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc
index 53afc78d764a2522553ad083b63b4cf79b46d4e5..1f788f1955839ed18b32d2e82350dd2fd0f6ac04 100644 (file)
/* Tag objects to have the gosaAdministrativeUnitTag */
function tag_objects($OnlySetTagFlag = false)
{
+ if(!$OnlySetTagFlag){
+ $smarty= get_smarty();
+ echo "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
+ echo "<body style='background-image:none;margin:3px;color:black'>";
+ echo "<h3>".sprintf(_("Tagging '%s'."),"<i>".$this->dn."</i>")."</h3>";
+ }
+
$add= $this->is_administrational_unit;
$len= strlen($this->dn);
$ldap= $this->config->get_ldap_link();