Code

Fixed object lock output for comma attached dn's
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Apr 2006 10:48:20 +0000 (10:48 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Apr 2006 10:48:20 +0000 (10:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2975 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/applications/main.inc
plugins/admin/departments/main.inc
plugins/admin/fai/main.inc
plugins/admin/groups/main.inc
plugins/admin/ogroups/main.inc
plugins/admin/systems/main.inc
plugins/admin/users/main.inc
plugins/gofax/blocklists/main.inc
plugins/gofon/conference/main.inc
plugins/gofon/macro/main.inc

index 1688597f60c9219c643f5d3d3289f2de5145ab12..7a3823c92b5d77e6b0de2b13cad48176e4ce5215 100644 (file)
@@ -35,7 +35,7 @@ if ($remove_lock){
 
        /* Page header*/
        if (isset($_SESSION['objectinfo'])){
-               $display= print_header(get_template_path('images/application.png'), _("Application management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".$_SESSION['objectinfo']);
+               $display= print_header(get_template_path('images/application.png'), _("Application management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".@ldap::fix($_SESSION['objectinfo']));
        } else {
                $display= print_header(get_template_path('images/application.png'), _("Application management"));
        }
index dfe4471f48b87604250e78eb3553c41055d515ea..e0ec1e3a35b57acf70bcc6095e79a1bbaf4742af 100644 (file)
@@ -35,7 +35,7 @@ if ($remove_lock){
 
        /* Page header*/
        if (isset($_SESSION['objectinfo'])){
-               $display= print_header(get_template_path('images/department.png'), _("Department management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".$_SESSION['objectinfo']);
+               $display= print_header(get_template_path('images/department.png'), _("Department management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".@ldap::fix($_SESSION['objectinfo']));
        } else {
                $display= print_header(get_template_path('images/department.png'), _("Department management"));
        }
index 61a919e15ec4a1ca9be01e1df050b5bb1e120bef..1e71cbcf3bc7f0e358bd98b617871834e3a0c95f 100644 (file)
@@ -35,7 +35,7 @@ if ($remove_lock){
 
        /* Page header*/
        if (isset($_SESSION['objectinfo'])){
-               $display= print_header(get_template_path('images/fai.png'), _("Fully Automatic Installation"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".$_SESSION['objectinfo']);
+               $display= print_header(get_template_path('images/fai.png'), _("Fully Automatic Installation"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".@ldap::fix($_SESSION['objectinfo']));
        } else {
                $display= print_header(get_template_path('images/fai.png'), _("Fully Automatic Installation"));
        }
index c3f8c58ad6ab8317bd7e8a224134a15201c8996a..1cd235453171f62fcf38bfb636f36fefbc5dea1a 100644 (file)
@@ -38,7 +38,7 @@ if ($remove_lock){
     $display= print_header(get_template_path('images/group.png'),
                            _("Group administration"), "<img alt=\"\" align=\"middle\" src=\"".
                             get_template_path('images/closedlock.png')."\"> ".
-                            $_SESSION['objectinfo']);
+                            @ldap::fix($_SESSION['objectinfo']));
   } else {
     $display= print_header(get_template_path('images/group.png'), _("Group administration"));
   }
index ae6fdc353ce7e5ecb158c22fdc99497630d1046a..bbe03d5e903cadee1b17383cdadc5f18b54e1fcb 100644 (file)
@@ -34,7 +34,7 @@ if (!$remove_lock){
                           _("Object groups"),
                           "<img alt=\"\" align=\"middle\" src=\"".
                           get_template_path('images/closedlock.png').
-                          "\"> ".$_SESSION['objectinfo']);
+                          "\"> ".@ldap::fix($_SESSION['objectinfo']));
   } else {
     $display= print_header(get_template_path('images/ogroup.png'), _("Object groups"));
   }
index a0f26d1cc8dd7b890c305c2770b5e5a2d1a191c8..9061edceab3ba2d76fd21a5b137aa67b86606bdd 100644 (file)
@@ -42,7 +42,7 @@ if ($remove_lock){
 
        /* Page header*/
        if (isset($_SESSION['objectinfo'])){
-               $display= print_header(get_template_path('images/system.png'), _("System management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".$_SESSION['objectinfo']);
+               $display= print_header(get_template_path('images/system.png'), _("System management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".@ldap::fix($_SESSION['objectinfo']));
        } else {
                $display= print_header(get_template_path('images/system.png'), _("System management"));
        }
index 6c284053db3692cbc69cc0388ec44b480105f79d..db1e9e4a32690a36f86dfe20e015cbc80b34093e 100644 (file)
@@ -40,7 +40,7 @@ if ($remove_lock){
                            _("User administration"),
                            "<img alt=\"\" class=\"center\" src=\"".
                            get_template_path('images/closedlock.png').
-                           "\"> ".$_SESSION['objectinfo']);
+                           "\"> ".@ldap::fix($_SESSION['objectinfo']));
   } else {
     $display= print_header(get_template_path('images/user.png'),
                           _("User administration"));
index 6bedd267aad468661362ddd21efe17336f81223a..24d1b89999ff122ae8c67f37aad47249c5e584c2 100644 (file)
@@ -17,7 +17,7 @@ if ($remove_lock){
 
        /* Page header*/
        if (isset($_SESSION['objectinfo'])){
-               $display= print_header(get_template_path('images/blocklists.png'), _("Blocklist management"), "<img alt=\"\"align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".$_SESSION['objectinfo']);
+               $display= print_header(get_template_path('images/blocklists.png'), _("Blocklist management"), "<img alt=\"\"align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".@ldap::fix($_SESSION['objectinfo']));
        } else {
                $display= print_header(get_template_path('images/blocklists.png'), _("Blocklist management"));
        }
index e276d6f7e211c33b289323919b3a274fae6d1737..2fe8ade4f7a6793a0f29b305f9d46d7661b8f74a 100644 (file)
@@ -35,7 +35,7 @@ if ($remove_lock){
 
        /* Page header*/
        if (isset($_SESSION['objectinfo'])){
-               $display= print_header(get_template_path('images/conference.png'), _("Conference management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".$_SESSION['objectinfo']);
+               $display= print_header(get_template_path('images/conference.png'), _("Conference management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".@ldap::fix($_SESSION['objectinfo']));
        } else {
                $display= print_header(get_template_path('images/conference.png'), _("Conference management"));
        }
index aa55d15c802c07bc723d407dcfcd8f5de338b5be..ba3307e72806f8ab677a22a6765f875a27f5df33 100755 (executable)
@@ -35,7 +35,7 @@ if ($remove_lock){
 
   /* Page header*/
   if (isset($_SESSION['objectinfo'])){
-    $display= print_header(get_template_path('images/macros.png'), _("Phone macro management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".$_SESSION['objectinfo']);
+    $display= print_header(get_template_path('images/macros.png'), _("Phone macro management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".@ldap::fix($_SESSION['objectinfo']));
   } else {
     $display= print_header(get_template_path('images/macros.png'), _("Phone macro management"));
   }