Redesign - tabela s podatki - fullscreen 2
This commit is contained in:
parent
fb03e770d1
commit
ebda15afac
@ -1037,6 +1037,9 @@ class SurveyDataSettingProfiles {
|
|||||||
case 'changeDataIconsSettings':
|
case 'changeDataIconsSettings':
|
||||||
self::changeDataIconsSettings();
|
self::changeDataIconsSettings();
|
||||||
break;
|
break;
|
||||||
|
case 'changeDataFullscreen':
|
||||||
|
self::changeDataFullscreen();
|
||||||
|
break;
|
||||||
case 'changeUsabilityIconsSettings':
|
case 'changeUsabilityIconsSettings':
|
||||||
self::changeUsabilityIconsSettings();
|
self::changeUsabilityIconsSettings();
|
||||||
break;
|
break;
|
||||||
@ -1254,6 +1257,19 @@ class SurveyDataSettingProfiles {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static function changeDataFullscreen(){
|
||||||
|
session_start();
|
||||||
|
|
||||||
|
if (isset($_POST['data_fullscreen'])){
|
||||||
|
if($_POST['data_fullscreen'] == '1') {
|
||||||
|
$_SESSION['sid_'.self::$surveyId]['data_fullscreen'] = true;
|
||||||
|
} else {
|
||||||
|
$_SESSION['sid_'.self::$surveyId]['data_fullscreen'] = false;
|
||||||
|
}
|
||||||
|
session_commit();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static function changeUsabilityIconsSettings(){
|
static function changeUsabilityIconsSettings(){
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
|
@ -186,7 +186,14 @@
|
|||||||
// Class za jezik
|
// Class za jezik
|
||||||
$langBodyClass = ($lang['id'] != "1") ? 'eng' : 'slo';
|
$langBodyClass = ($lang['id'] != "1") ? 'eng' : 'slo';
|
||||||
|
|
||||||
echo '<body class="mainBody '.$cssBodyClass.' '.$langBodyClass.'">'."\n";
|
// Class za fullscreen tabelo s podatki
|
||||||
|
session_start();
|
||||||
|
$dataFullscreen = '';
|
||||||
|
if($anketa > 0){
|
||||||
|
$dataFullscreen = (isset($_SESSION['sid_'.$anketa]['data_fullscreen']) && $_SESSION['sid_'.$anketa]['data_fullscreen'] == true) ? 'data_fullscreen' : '';
|
||||||
|
}
|
||||||
|
|
||||||
|
echo '<body class="mainBody '.$cssBodyClass.' '.$langBodyClass.' '.$dataFullscreen.'">'."\n";
|
||||||
|
|
||||||
// Google analytics
|
// Google analytics
|
||||||
if($site_domain == 'www.1ka.si'){
|
if($site_domain == 'www.1ka.si'){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user