Browse code

Menüpunkt umbenannt: Webserver -> Websites Optionen "kein SSL" und "nur SSL" kann man jetzt nicht mehr setzen, geht nur noch über die Datenbank

Bernd Wurst authored on18/03/2013 17:08:45
Showing2 changed files
... ...
@@ -224,9 +224,9 @@ $form .= "
224 224
     <h5>SSL-Verschlüsselung</h5>
225 225
     <div style=\"margin-left: 2em;\">
226 226
     <select name=\"ssl\" id=\"ssl\">
227
-      <option value=\"none\" ".($vhost['ssl'] == NULL ? 'selected="selected"' : '')." >SSL optional anbieten</option>
228
-      <option value=\"http\" ".($vhost['ssl'] == 'http' ? 'selected="selected"' : '')." >kein SSL</option>
229
-      <option value=\"https\" ".($vhost['ssl'] == 'https' ? 'selected="selected"' : '')." >nur SSL</option>
227
+      <option value=\"none\" ".($vhost['ssl'] == NULL ? 'selected="selected"' : '')." >Normal</option>
228
+      ".($vhost['ssl'] == 'http' ? "<option value=\"http\" selected=\"selected\">kein SSL</option>" : '')."
229
+      ".($vhost['ssl'] == 'https' ? "<option value=\"https\" selected=\"selected\">nur SSL</option>" : '')."
230 230
       <option value=\"forward\" ".($vhost['ssl'] == 'forward' ? 'selected="selected"' : '')." >Immer auf SSL umleiten</option>
231 231
     </select>
232 232
     </div>
... ...
@@ -18,7 +18,7 @@ $role = $_SESSION['role'];
18 18
 
19 19
 if ($role & ROLE_SYSTEMUSER)
20 20
 {
21
-    $menu["vhosts_vhosts"] = array("label" => "Webserver", "file" => "vhosts", "weight" => 2);
21
+    $menu["vhosts_vhosts"] = array("label" => "Websites", "file" => "vhosts", "weight" => 2);
22 22
     $menu["vhosts_certs"] = array("label" => "SSL-Zertifikate", "file" => "certs", "weight" => 10, "submenu" => "vhosts_vhosts");
23 23
     $menu["vhosts_stats"] = array("label" => "Zugriffs-Statistiken", "file" => "stats", "weight" => 12, "submenu" => "vhosts_vhosts");
24 24
 }