[Redizajn 1ka] Gumba prekliči / shrani v nastavitvah - v3
This commit is contained in:
parent
4acaf9fddd
commit
b57dd8d07e
@ -88,6 +88,9 @@ class SurveyAdminSettings {
|
||||
/* Globalne nastavitve ankete: veljajo za celoto anketo ne glede na uporabnika*/
|
||||
$row = SurveyInfo::getInstance()->getSurveyRow();
|
||||
|
||||
$preklici_url = ltrim(str_replace("&s=1","",$_SERVER['REQUEST_URI']),"/");
|
||||
$preklici_url = "'". $site_url . $preklici_url . "'";
|
||||
|
||||
echo '<form name="settingsanketa_' . $row['id'] . '" action="ajax.php?a=editanketasettings" method="post" autocomplete="off">' . "\n\r";
|
||||
echo ' <input type="hidden" name="anketa" value="' . $this->anketa . '" />' . "\n\r";
|
||||
echo ' <input type="hidden" name="grupa" value="' . $this->grupa . '" />' . "\n\r";
|
||||
@ -220,8 +223,8 @@ class SurveyAdminSettings {
|
||||
echo '</fieldset>';
|
||||
|
||||
// Gumb shrani - vmes
|
||||
echo '<div class="button_holder">';
|
||||
echo '<button class="medium white-blue" onClick="window.location.reload();">'.$lang['edit1338'].'</button>';
|
||||
echo '<div class="button_holder">';
|
||||
echo '<button class="medium white-blue" onClick="window.location='.$preklici_url.';return false;">'.$lang['edit1338'].'</button>';
|
||||
echo '<button class="medium blue" onclick="document.settingsanketa_' . $row['id'] . '.submit(); return false;">'.$lang['edit1337'].'</button>';
|
||||
echo '</div>';
|
||||
|
||||
@ -1890,8 +1893,8 @@ class SurveyAdminSettings {
|
||||
|
||||
if ($_GET['a'] != 'jezik' && $_GET['a'] != 'trajanje' && $_GET['a'] != A_GDPR && $_GET['a'] != 'dostop') {
|
||||
|
||||
echo '<div class="button_holder">';
|
||||
echo '<button class="medium white-blue" onClick="window.location.reload();">'.$lang['edit1338'].'</button>';
|
||||
echo '<div class="button_holder">';
|
||||
echo '<button class="medium white-blue" onClick="window.location='.$preklici_url.';return false;">'.$lang['edit1338'].'</button>';
|
||||
echo '<button class="medium blue" onclick="document.settingsanketa_' . $row['id'] . '.submit(); return false;">'.$lang['edit1337'].'</button>';
|
||||
echo '</div>';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user