Aggiunto redirect da interfaccia mobile a standard quando necessario
Signed-off-by: Riccardo Di Dato <r.didato@asdynamics.it>
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user