Aggiunto redirect da interfaccia mobile a standard quando necessario

Signed-off-by: Riccardo Di Dato <r.didato@asdynamics.it>
This commit is contained in:
Riccardo Di Dato
2017-07-13 17:29:28 +02:00
parent 1bd7fb59b1
commit 10b2c4f446
2 changed files with 5 additions and 5 deletions
+1 -5
View File
@@ -63,10 +63,6 @@ class GUIHandler {
echo implode("\n", $data["additionalMetadata"]);
}
if ($admin){
}
foreach (self::$STYLESHEETS[self::STYLESHEET_GENERAL] as $file){
echo '<link type="text/css" rel="stylesheet" href="'.self::getStylesheetsUrl().$file.'"';
}
@@ -101,8 +97,8 @@ class GUIHandler {
if(!$admin){
echo "<script type=\"text/javascript\">if(screen.width <=699){window.location='".GUIHandlerMobile::getBaseUrl().$_SERVER["REQUEST_URI"]."';}</script>";
echo '</head>';
}
echo '</head>';
}
public static function redirect($url){