Compare commits
3 Commits
29c3fb4482
...
747a6834c9
Author | SHA1 | Date | |
---|---|---|---|
747a6834c9 | |||
85a896fecb | |||
0ff2e2f614 |
@ -1,5 +1,9 @@
|
||||
# SPREMEMBE, DOPOLNITVE
|
||||
|
||||
## Bugi
|
||||
- odprabljen bug, ko je odgovor na "missing" blokiral spremembo nazaj na vsebinski odgovor
|
||||
|
||||
|
||||
## Nujne security zadeve
|
||||
- vklopil TLS v vseh CURLih
|
||||
- vklopil TLS pri pošiljanju emailov
|
||||
|
@ -197,13 +197,21 @@ class CheckController extends Controller
|
||||
$sql4b = sisplet_query("SELECT * FROM srv_data_vrednost" . get('db_table') . " WHERE spr_id='$row[spr_id]' AND usr_id='" . get('usr_id') . "'");
|
||||
|
||||
if ($row['operator'] == 0 && mysqli_num_rows($sql3) == 0 && mysqli_num_rows($sql3b) == 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
elseif ($row['operator'] == 0 && mysqli_num_rows($sql3) == 0 && mysqli_num_rows($sql3b) > 0 && mysqli_num_rows($sql4b) > 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
elseif ($row['operator'] == 1 && mysqli_num_rows($sql3) > 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
elseif ($row['operator'] == 1 && mysqli_num_rows($sql3b) > 0 && mysqli_num_rows($sql4b) == 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// multigrid
|
||||
} elseif ($row2['tip'] == 6 || $row2['tip'] == 16) {
|
||||
@ -683,9 +691,11 @@ class CheckController extends Controller
|
||||
*/
|
||||
public function check_captcha()
|
||||
{
|
||||
// s tem preverimo, ali gre za F2F terminal
|
||||
global $data_export_ajax_access;
|
||||
|
||||
// Ce urejamo podatke v admin vmesniku ne preverjamo nicesar
|
||||
if(isset($_GET['t']) && $_GET['t'] == 'postprocess' || get('grupa') == '0' || get('grupa') == ''){
|
||||
if(isset($_GET['t']) && $_GET['t'] == 'postprocess' || get('grupa') == '0' || get('grupa') == '' || count($data_export_ajax_access) == 0){
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -351,7 +351,7 @@ class MultigridController extends Controller
|
||||
echo '<td class="category '.$tabelaSmeski. $_checked.' ' . $cssAlign . '">';
|
||||
# ni missing vrednost
|
||||
echo '<label for="vrednost_' . $row1['id'] . '_grid_' . $value . '">';
|
||||
echo '<input type="radio" ' . (!$hideName ? ' name="vrednost_' . $row1['id'] . '"' : '') . ' id="vrednost_' . $row1['id'] . '_grid_' . $value . '" value="' . $value . '"' . $_checked . ($is_missing ? ' disabled' : '') . ' data-calculation="' . $srv_grids[$i]['variable'] . '" vre_id = '.$row1['id'].' onclick="checkChecked(this); checkBranching(); setCheckedClass(this, null, ' . $row1['id'] . '); customRadioTableSelect(' . $row1['id'] . ', ' . $value. ');">';
|
||||
echo '<input type="radio" ' . (!$hideName ? ' name="vrednost_' . $row1['id'] . '"' : '') . ' id="vrednost_' . $row1['id'] . '_grid_' . $value . '" value="' . $value . '"' . $_checked . ' data-calculation="' . $srv_grids[$i]['variable'] . '" vre_id = '.$row1['id'].' onclick="checkChecked(this); checkBranching(); setCheckedClass(this, null, ' . $row1['id'] . '); customRadioTableSelect(' . $row1['id'] . ', ' . $value. ');">';
|
||||
|
||||
if($row['enota'] == 11){
|
||||
echo '<span class="enka-vizualna-skala siv-'.$row['grids'].$value.'"></span>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user