remove obsolete type attributes and xhtml tags
Hanno Böck

Hanno Böck commited on 2024-02-02 13:27:54
Zeige 5 geänderte Dateien mit 11 Einfügungen und 11 Löschungen.

... ...
@@ -344,7 +344,7 @@ function use_module($modname)
344 344
     ini_set('include_path', ini_get('include_path') . ':./modules/' . $modname . '/include:');
345 345
     $style = 'modules/' . $modname . '/style.css';
346 346
     if (file_exists($style)) {
347
-        html_header('<link rel="stylesheet" href="' . $prefix . $style . '" type="text/css">' . "\n");
347
+        html_header('<link rel="stylesheet" href="' . $prefix . $style . '">' . "\n");
348 348
     }
349 349
 }
350 350
 
... ...
@@ -20,7 +20,7 @@ function show_page($path = null)
20 20
         $styles[] = "modules/{$module}/style.css";
21 21
     }
22 22
     foreach ($styles as $style) {
23
-        html_header('<link rel="stylesheet" href="' . $prefix . $style . '" type="text/css" />' . "\n");
23
+        html_header('<link rel="stylesheet" href="' . $prefix . $style . '">' . "\n");
24 24
     }
25 25
     if ($path) {
26 26
         $module = $path;
... ...
@@ -23,8 +23,8 @@ if ($title) {
23 23
     echo "<title>Administration</title>";
24 24
 }
25 25
 ?>
26
-<link rel="stylesheet" href="<?php echo $THEME_PATH; ?>style.css" type="text/css" media="screen" title="Normal">
27
-<link rel="shortcut icon" href="<?php echo $THEME_PATH; ?>favicon.ico" type="image/x-icon">
26
+<link rel="stylesheet" href="<?php echo $THEME_PATH; ?>style.css" media="screen" title="Normal">
27
+<link rel="icon" href="<?php echo $THEME_PATH; ?>favicon.ico">
28 28
 <?php echo $html_header; ?>
29 29
 <script src="<?php echo $THEME_PATH; ?>script.js"></script>
30 30
 </head>
... ...
@@ -23,8 +23,8 @@ if ($title) {
23 23
     echo "<title>Administration</title>";
24 24
 }
25 25
 ?>
26
-<link rel="stylesheet" href="<?php echo $THEME_PATH; ?>style.css" type="text/css" media="screen" title="Normal" />
27
-<link rel="shortcut icon" href="<?php echo $THEME_PATH; ?>favicon.ico" type="image/x-icon" />
26
+<link rel="stylesheet" href="<?php echo $THEME_PATH; ?>style.css" media="screen" title="Normal">
27
+<link rel="icon" href="<?php echo $THEME_PATH; ?>favicon.ico">
28 28
 <?php echo $html_header; ?>
29 29
 </head>
30 30
 
... ...
@@ -32,7 +32,7 @@ if ($title) {
32 32
 <div><a href="#content" style="display: none;">Zum Inhalt</a></div>
33 33
 
34 34
 <a href="javascript:void(0);" class="menuicon" id="showmenu" onclick="showMenu()"><img src="<?php echo $THEME_PATH; ?>images/bars.svg" alt=""><span id="showmenutext">Menü</span></a>
35
-<a href="<?php echo $BASE_PATH; ?>" class="logo"><img src="<?php echo $THEME_PATH; ?>images/schokokeks.png" width="190" height="141" alt="schokokeks.org Hosting" /></a>
35
+<a href="<?php echo $BASE_PATH; ?>" class="logo"><img src="<?php echo $THEME_PATH; ?>images/schokokeks.png" width="190" height="141" alt="schokokeks.org Hosting"></a>
36 36
 <div class="sidebar" id="sidebar">
37 37
 
38 38
 <div class="menu">
... ...
@@ -55,8 +55,8 @@ if ($messages) {
55 55
 <h3 class="headline">Sicherheits-Code</h3>
56 56
 <p>Ihr Zugang ist mit Zwei-Faktor-Anmeldung geschützt. Sie müssen daher jetzt noch den aktuellsten Code Ihres TOTP-Geräts eingeben.</p>
57 57
 <form method="post">
58
-<p><label for="code" class="login_label">TOTP-Authenticator-Code:</label> <input type="text" id="code" name="webinterface_totpcode" size="20" /></p>
59
-<p><span class="login_label">&#160;</span> <input type="submit" value="Prüfen" /></p>
58
+<p><label for="code" class="login_label">TOTP-Authenticator-Code:</label> <input type="text" id="code" name="webinterface_totpcode" size="20"></p>
59
+<p><span class="login_label">&#160;</span> <input type="submit" value="Prüfen"></p>
60 60
 </form>
61 61
 
62 62
 </div>
... ...
@@ -23,9 +23,9 @@ if ($title) {
23 23
     echo "<title>Administration</title>";
24 24
 }
25 25
 ?>
26
-<link rel="shortcut icon" href="<?php echo $THEME_PATH; ?>favicon.ico" type="image/x-icon">
26
+<link rel="icon" href="<?php echo $THEME_PATH; ?>favicon.ico">
27 27
 <?php echo $html_header; ?>
28
-<link rel="stylesheet" href="<?php echo $THEME_PATH; ?>style.css" type="text/css" media="screen" title="Normal">
28
+<link rel="stylesheet" href="<?php echo $THEME_PATH; ?>style.css" media="screen" title="Normal">
29 29
 <script src="<?php echo $THEME_PATH; ?>script.js"></script>
30 30
 </head>
31 31
 
32 32