mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
Anpassungen an CIS-Redesign
This commit is contained in:
+7
-2
@@ -8,6 +8,9 @@
|
||||
else
|
||||
$path='../';
|
||||
require ($path.'config/cis.config.inc.php');
|
||||
|
||||
//die($_SERVER["HTTP_USER_AGENT"]);
|
||||
|
||||
//setcookie('stylesheet', DEFAULT_STYLE);
|
||||
//Name des Stylesheets darf nur buchstaben von A-Z enthalten (ohne umlaute)
|
||||
if (isset($_COOKIE['stylesheet']) && preg_match('/^[a-zA-Z]+$/', $_COOKIE['stylesheet']))
|
||||
@@ -23,6 +26,7 @@
|
||||
else
|
||||
$stylesheet=DEFAULT_STYLE;
|
||||
}
|
||||
//$stylesheet="mobile";
|
||||
//setcookie('stylesheet', DEFAULT_STYLE);
|
||||
header("Content-Type: text/css");
|
||||
//echo $_COOKIE['stylesheet'];
|
||||
@@ -37,8 +41,9 @@ function jahresplan_check_mobile() {
|
||||
'Portable', 'Smartphone', 'SDA',
|
||||
'PDA', 'Handheld', 'Symbian',
|
||||
'WAP', 'Palm', 'Avantgo',
|
||||
'cHTML', 'BlackBerry', 'Opera Mini',
|
||||
'Nokia'
|
||||
'cHTML', 'BlackBerry', 'Opera Mobi',
|
||||
'Nokia','iPhone','iPad','Android','BlackBerry',
|
||||
'PlayBook','Kindle','Kindle Fire', 'Windows Phone'
|
||||
);
|
||||
// Prüfen der Browserkennung
|
||||
for ($i=0; $i<count($agents); $i++) {
|
||||
|
||||
Reference in New Issue
Block a user