Popravek buga pri porusenem vmesniku za urejanje vprasanja ce se doda odgovor kot sliko
This commit is contained in:
parent
5b517b9330
commit
b428afd40b
@ -1130,8 +1130,6 @@ class Vprasanje {
|
||||
$this->edit_stolpci();
|
||||
|
||||
if($row['tip'] == 2) {
|
||||
//$this->edit_checkboxhide(); // TODO: a se to sploh kje uporablja? :)
|
||||
//$this->edit_checkbox_limit();
|
||||
$this->edit_checkbox_max_limit();
|
||||
$this->edit_checkbox_min_limit();
|
||||
}
|
||||
@ -1139,15 +1137,11 @@ class Vprasanje {
|
||||
if($row['tip'] <= 3)
|
||||
$this->edit_stat();
|
||||
|
||||
/*if ($row['tip'] == 1 || $row['tip'] == 2 || $row['tip'] == 3 || $row['tip'] == 6)
|
||||
$this->edit_skala();*/
|
||||
|
||||
if ($row['tip'] == 6)
|
||||
$this->edit_grid_dynamic();
|
||||
|
||||
if ($row['tip'] == 1 || $row['tip'] == 6) {
|
||||
$this->edit_onchange_submit();
|
||||
//$this->edit_hidden_default();
|
||||
}
|
||||
|
||||
if ($row['tip'] == 1 || $row['tip'] == 3)
|
||||
@ -1166,9 +1160,6 @@ class Vprasanje {
|
||||
if ($row['tip'] == 21)
|
||||
$this->edit_show_prevAnswers();
|
||||
|
||||
/*if (in_array($row['tip'], array(1,2,3,6,16,19,20,24)))
|
||||
$this->edit_other_field();*/
|
||||
|
||||
echo '</fieldset>';
|
||||
|
||||
// Posebni tipi text vprasanja (signature, captcha, upload, email)
|
||||
@ -4326,8 +4317,13 @@ class Vprasanje {
|
||||
echo '<span class="content"><select id="presetValue" name="presetValue" style="width:120px; text-overflow:ellipsis;">';
|
||||
echo ' <option value="0">'.$lang['no'].'</option>';
|
||||
while($rowV = mysqli_fetch_array($sqlV)){
|
||||
$naslov = (strlen($rowV['naslov']) > 20) ? substr($rowV['naslov'],0,20).'...' : $rowV['naslov'];
|
||||
echo ' <option value="'.$rowV['id'].'" '.($presetValue == $rowV['id'] ? ' selected="selected"' : '').'>'.$rowV['variable'].' ('.$naslov.')</option>';
|
||||
|
||||
$naslov = (strlen($rowV['naslov']) > 20) ? substr($rowV['naslov'], 0, 20).'...' : $rowV['naslov'];
|
||||
$naslov = strip_tags($naslov);
|
||||
$naslov = ($naslov == '') ? '' : '('.$naslov.')';
|
||||
|
||||
|
||||
echo ' <option value="'.$rowV['id'].'" '.($presetValue == $rowV['id'] ? ' selected="selected"' : '').'>'.$rowV['variable'].' '.$naslov.'</option>';
|
||||
}
|
||||
echo '</select></span>';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user