Code

Updated buttons
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Mar 2010 15:27:20 +0000 (15:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Mar 2010 15:27:20 +0000 (15:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16940 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpClass.inc
gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpGroup.inc
gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpHost.inc
gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpPool.inc
gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpService.inc
gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpSharedNetwork.inc
gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpSubClass.inc
gosa-plugins/dhcp/admin/systems/services/dhcp/class_dhcpSubnet.inc

index f3671b1659629efee0404fa245347a5f3e9261a6..caa7533e4ca1e65fc02b0c4728ebba7395613e6c 100644 (file)
@@ -45,9 +45,9 @@ class dhcpClass extends dhcpPlugin
     /* Add footer */
     $display.= "<div style='width:100%;text-align:right;margin-top:5px;'>";
     if(preg_match("/w/",$this->parent->getacl(""))){
-      $display.=        "<input type=submit name='save_dhcp' value='".msgPool::saveButton()."'>&nbsp;";
+      $display.=        "<button type='submit' name='save_dhcp'>".msgPool::saveButton()."</button>&nbsp;";
     }
-    $display.=   "<input type=submit name='cancel_dhcp' value='".msgPool::cancelButton()."'>";
+    $display.=   "<button type='submit' name='cancel_dhcp'>".msgPool::cancelButton()."</button>";
     $display.= "</div>";
 
     return ($display);
index 809a1cba0d75179ef7b50f30aa48c4f4e21b373c..33ef7021b5a9b177b4976d09a2d48fd447b461dc 100644 (file)
@@ -45,9 +45,9 @@ class dhcpGroup extends dhcpPlugin
     /* Add footer */
     $display.= "<div style='width:100%;text-align:right;margin-top:5px;'>";
     if(preg_match("/w/",$this->parent->getacl(""))){
-      $display.=        "<input type=submit name='save_dhcp' value='".msgPool::saveButton()."'>&nbsp;";
+      $display.=        "<button type='submit' name='save_dhcp'>".msgPool::saveButton()."</button>&nbsp;";
     }
-    $display.=   "<input type=submit name='cancel_dhcp' value='".msgPool::cancelButton()."'>";
+    $display.=   "<button type='submit' name='cancel_dhcp'>".msgPool::cancelButton()."</button>";
     $display.= "</div>";
 
     return ($display);
index c3168ada75e8ba6cb99350a123fc02743c5abaf4..5c93fb1b627e24d0d27c17b89d704d4bddf4ccec 100644 (file)
@@ -70,9 +70,9 @@ class dhcpHost extends dhcpPlugin
     /* Add footer */
     $display.= "<div style='width:100%;text-align:right;margin-top:5px;'>";
 #    if(preg_match("/w/",$this->parent->getacl(""))){
-        $display.=   "<input type=submit name='save_dhcp' value='".msgPool::saveButton()."'>&nbsp;";
+        $display.=   "<button type='submit' name='save_dhcp'>".msgPool::saveButton()."</button>&nbsp;";
 #    }
-    $display.=   "<input type=submit name='cancel_dhcp' value='".msgPool::cancelButton()."'>";
+    $display.=   "<button type='submit' name='cancel_dhcp'>".msgPool::cancelButton()."</button>";
     $display.= "</div>";
 
     return ($display);
index 96870e7c583d3bb4c0e301c4590b7fb267813af1..d1037df5dcc172965bbcf4aa88d51a0597485aae 100644 (file)
@@ -60,9 +60,9 @@ class dhcpPool extends dhcpPlugin
     /* Add footer */
     $display.= "<div style='width:100%;text-align:right;margin-top:5px;'>";
     if(preg_match("/w/",$this->parent->getacl(""))){
-        $display.=   "<input type=submit name='save_dhcp' value='".msgPool::saveButton()."'>&nbsp;";
+        $display.=   "<button type='submit' name='save_dhcp'>".msgPool::saveButton()."</button>&nbsp;";
     }
-    $display.=   "<input type=submit name='cancel_dhcp' value='".msgPool::cancelButton()."'>";
+    $display.=   "<button type='submit' name='cancel_dhcp'>".msgPool::cancelButton()."</button>";
     $display.= "</div>";
 
     return ($display);
index d23821d5b3d8e3663074b47e82e35a09a2d4f7ba..5e19f0a6c48791ca10645a0d15c85390fe760afb 100644 (file)
@@ -77,9 +77,9 @@ class dhcpService extends dhcpPlugin
     /* Add footer */
     $display.= "<div style='width:100%;text-align:right;margin-top:5px;'>";
     if(preg_match("/w/",$this->parent->getacl(""))){
-        $display.=   "<input type=submit name='save_dhcp' value='".msgPool::saveButton()."'>&nbsp;";
+        $display.=   "<button type='submit' name='save_dhcp'>".msgPool::saveButton()."</button>&nbsp;";
     }
-    $display.=   "<input type=submit name='cancel_dhcp' value='".msgPool::cancelButton()."'>";
+    $display.=   "<button type='submit' name='cancel_dhcp'>".msgPool::cancelButton()."</button>";
     $display.= "</div>";
 
     return ($display);
index b57cd44f1f862e42fbb4d5d9236e56ad06c381ab..e7bf72033bbbcb33c317359c309c7a5cdaeb9037 100644 (file)
@@ -84,9 +84,9 @@ class dhcpSharedNetwork extends dhcpPlugin
     /* Add footer */
     $display.= "<div style='width:100%;text-align:right;margin-top:5px;'>";
     if(preg_match("/w/",$this->parent->getacl(""))){
-        $display.=   "<input type=submit name='save_dhcp' value='".msgPool::saveButton()."'>&nbsp;";
+        $display.=   "<button type='submit' name='save_dhcp'>".msgPool::saveButton()."</button>&nbsp;";
     }
-    $display.=   "<input type=submit name='cancel_dhcp' value='".msgPool::cancelButton()."'>";
+    $display.=   "<button type='submit' name='cancel_dhcp'>".msgPool::cancelButton()."</button>";
     $display.= "</div>";
 
     return ($display);
index a18213177af3147eaa476d510317a782c2772e2a..17ce449c4ce07228e26d1aeba5a74035e4495af6 100644 (file)
@@ -45,9 +45,9 @@ class dhcpSubClass extends dhcpPlugin
     /* Add footer */
     $display.= "<div style='width:100%;text-align:right;margin-top:5px;'>";
     if(preg_match("/w/",$this->parent->getacl(""))){
-      $display.=        "<input type=submit name='save_dhcp' value='".msgPool::saveButton()."'>&nbsp;";
+      $display.=        "<button type='submit' name='save_dhcp'>".msgPool::saveButton()."</button>&nbsp;";
     }
-    $display.=   "<input type=submit name='cancel_dhcp' value='".msgPool::cancelButton()."'>";
+    $display.=   "<button type='submit' name='cancel_dhcp'>".msgPool::cancelButton()."</button>";
     $display.= "</div>";
 
     return ($display);
index 8a8131c1542816b19aa2e04eeef465d2e4bd3a6a..da1a430efbe3acb1029bae6708eacb631f6c6a28 100644 (file)
@@ -79,9 +79,9 @@ class dhcpSubnet extends dhcpPlugin
     /* Add footer */
     $display.= "<div style='width:100%;text-align:right;margin-top:5px;'>";
     if(preg_match("/w/",$this->parent->getacl(""))){
-        $display.=   "<input type=submit name='save_dhcp' value='".msgPool::saveButton()."'>&nbsp;";
+        $display.=   "<button type='submit' name='save_dhcp'>".msgPool::saveButton()."</button>&nbsp;";
     }
-    $display.=   "<input type=submit name='cancel_dhcp' value='".msgPool::cancelButton()."'>";
+    $display.=   "<button type='submit' name='cancel_dhcp'>".msgPool::cancelButton()."</button>";
     $display.= "</div>";