Prilagoditev tabel - postopno resevanje ukinjeno, popravki

This commit is contained in:
Peter Hrvatin 2022-08-29 11:27:39 +02:00
parent c35f242bcf
commit df3964aa24
4 changed files with 19 additions and 7 deletions

View File

@ -1811,6 +1811,11 @@ class SurveyAdminSettings {
echo '<div class="setting_holder">';
echo '<span class="setting_title" >'.$lang['srv_table_settings_pc_tables'].':</span>';
echo '<div class="setting_item">';
echo '<input type="radio" name="pc_tables" id="pc_tables_0" '.($pc_tables==='0'?' checked':'').' value="0">';
echo '<label for="pc_tables_0">'.$lang['no'].'</label> ';
echo '</div>';
echo '<div class="setting_item">';
echo '<input type="radio" name="pc_tables" id="pc_tables_1" '.($pc_tables==='1'?' checked':'').' value="1">';
echo '<label for="pc_tables_1">'.$lang['yes'].'</label> ';
@ -1819,11 +1824,11 @@ class SurveyAdminSettings {
echo '<input type="radio" name="pc_tables" id="pc_tables_2" '.($pc_tables==='2'?' checked':'').' value="2">';
echo '<label for="pc_tables_2">'.$lang['srv_settings_mobile_tables_slide'].'</label> ';
echo '</div>';
echo '<div class="setting_item">';
echo '<input type="radio" name="pc_tables" id="pc_tables_0" '.($pc_tables==='0'?' checked':'').' value="0">';
echo '<label for="pc_tables_0">'.$lang['no'].'</label> ';
echo '<div class="setting_item">';
echo '<input type="radio" name="pc_tables" id="pc_tables_3" '.($pc_tables==='3'?' checked':'').' value="3">';
echo '<label for="pc_tables_3">'.$lang['srv_settings_mobile_tables_hor'].'</label> ';
echo '</div>';
echo '</div>';
@ -1833,6 +1838,11 @@ class SurveyAdminSettings {
echo '<div class="setting_holder">';
echo '<span class="setting_title" >'.$lang['srv_table_settings_mobile_tables'].':</span>';
echo '<div class="setting_item">';
echo '<input type="radio" name="mobile_tables" id="mobile_tables_0" '.($mobile_tables==='0'?' checked':'').' value="0">';
echo '<label for="mobile_tables_0">'.$lang['no'].'</label> ';
echo '</div>';
echo '<div class="setting_item">';
echo '<input type="radio" name="mobile_tables" id="mobile_tables_1" '.($mobile_tables==='1'?' checked':'').' value="1">';
echo '<label for="mobile_tables_1">'.$lang['yes'].'</label> ';
@ -1842,8 +1852,8 @@ class SurveyAdminSettings {
echo '<label for="mobile_tables_2">'.$lang['srv_settings_mobile_tables_slide'].'</label> ';
echo '</div>';
echo '<div class="setting_item">';
echo '<input type="radio" name="mobile_tables" id="mobile_tables_0" '.($mobile_tables==='0'?' checked':'').' value="0">';
echo '<label for="mobile_tables_0">'.$lang['no'].'</label> ';
echo '<input type="radio" name="mobile_tables" id="mobile_tables_3" '.($mobile_tables==='3'?' checked':'').' value="3">';
echo '<label for="mobile_tables_3">'.$lang['srv_settings_mobile_tables_hor'].'</label> ';
echo '</div>';
echo '</div>';

View File

@ -7165,6 +7165,7 @@ $lang = array (
'srv_settings_mobile_img' => "Prikaz slik na mobilnih napravah",
'srv_settings_mobile_tables' => "Prilagoditev vprašanj tipa 'Tabela' na mobilnih napravah",
'srv_settings_mobile_tables_slide' => "Da, z razpiranjem",
'srv_settings_mobile_tables_hor' => "Da, s horizonalnim razpiranjem",
'srv_settings_mobile_friendly' => "Prilagojen prikaz ankete na mobilnih napravah",
'srv_settings_mobile_friendly_off' => "Prilagojen prikaz za mobilnike je izklopljen",
'srv_mySurvey_unallocated' => "Nerazporejene ankete",

View File

@ -7049,6 +7049,7 @@ $lang = array (
'srv_settings_mobile_img' => "Display images on mobile devices",
'srv_settings_mobile_tables' => "Optimization of 'Table' type questions on mobile devices",
'srv_settings_mobile_tables_slide' => "Yes, with expanding",
'srv_settings_mobile_tables_hor' => "Yes, with horizontal expanding",
'srv_settings_mobile_friendly' => "Optimized survey display on mobile devices",
'srv_settings_mobile_friendly_off' => "Mobile friendly survey is turned off",
'srv_mySurvey_unallocated' => "Unallocated survey",

View File

@ -9657,6 +9657,6 @@ CREATE TABLE IF NOT EXISTS srv_spremenljivka_deleted (
UPDATE misc SET value='22.08.05' WHERE what="version";
INSERT INTO srv_misc (what, value) VALUES ('pc_tables', '1');
INSERT INTO srv_misc (what, value) VALUES ('pc_tables', '0');
UPDATE misc SET value='22.08.25' WHERE what="version";