Predogled ankete - nastavitve - zamenajn vrstni red ikon za mobitel in tablico
This commit is contained in:
parent
e111aeb990
commit
d5dc5d1290
@ -2177,8 +2177,8 @@ class BodyController extends Controller
|
||||
// Ce imamo izklopljene mobilne prilagoditve ne pustimo preview-ja na mobile, ker itak ne prikaze scalano
|
||||
$mobile_friendly = SurveySetting::getInstance()->getSurveyMiscSetting('mobile_friendly');
|
||||
if($mobile_friendly != '0'){
|
||||
echo '<a href="#" title="' . self::$lang['srv_preview_tablet'] . '" onClick="$(\'#device_value\').val(\'2\'); document.change_diable.submit();"><div id="tablet" class="' . ($device_value == 2 ? ' active' : '') . ' ' . ($device_value == 1 ? ' mobile' : '') . ' ' . ($device_value == 0 ? ' monitor' : '') . '"><span class="faicon tablet"></span></div></a>';
|
||||
echo '<a href="#" title="' . self::$lang['srv_preview_mobile'] . '" onClick="$(\'#device_value\').val(\'1\'); document.change_diable.submit();"><div id="mobile" class="' . ($device_value == 1 ? ' active' : '') . '"><span class="faicon mobile"></span></div></a>';
|
||||
echo '<a href="#" title="' . self::$lang['srv_preview_tablet'] . '" onClick="$(\'#device_value\').val(\'2\'); document.change_diable.submit();"><div id="tablet" class="' . ($device_value == 2 ? ' active' : '') . ' ' . ($device_value == 1 ? ' mobile' : '') . ' ' . ($device_value == 0 ? ' monitor' : '') . '"><span class="faicon tablet"></span></div></a>';
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user