diff --git a/admin/survey/SurveyAdminSettings.php b/admin/survey/SurveyAdminSettings.php index 405e604b3..178020a09 100644 --- a/admin/survey/SurveyAdminSettings.php +++ b/admin/survey/SurveyAdminSettings.php @@ -2717,35 +2717,56 @@ class SurveyAdminSettings { echo '

'.$lang['srv_publication_survey_links_note'].'

'; - echo '
'; - echo '
'; - echo ''; - echo ''; - echo '
'; - echo ''; //Lep URL - dodajanje - // Preverimo, ce je funkcionalnost v paketu, ki ga ima uporabnik $userAccess = UserAccess::getInstance($global_user_id); if(!$userAccess->checkUserAccess($what='nice_url')){ - echo ''; - echo '
'; // div.button_holder + echo '
'; + + echo '
'; + echo '
'; + echo ' '; + echo ' '; + echo '
'; + echo ' '; + echo '
'; + + echo ' '; + + echo '
'; } else{ + + echo '
'; + + echo '
'; + echo '
'; + echo ' '; + echo ' '; + echo '
'; + echo ' '; + echo '
'; + // Gumb za dodajanje lepega linka - echo ''; + echo ' '; + + echo '
'; + + echo '
'; + echo $site_url; + echo ' '; + echo '
'; + + echo '
'; + echo ' '; + echo ' '; + echo '
'; + echo '
'; - echo '
'; - echo $site_url; - echo ''; - echo ''; - echo ''; echo '
'; - echo '
'; // div.button_holder - if (isset($_GET['error'])) { diff --git a/admin/survey/classes/class.SurveyStatistic.php b/admin/survey/classes/class.SurveyStatistic.php index 10e846046..00c3cb9a5 100644 --- a/admin/survey/classes/class.SurveyStatistic.php +++ b/admin/survey/classes/class.SurveyStatistic.php @@ -897,11 +897,12 @@ class SurveyStatistic { // Prikazemo filtre na vrhu dashboarda function DisplayTopFilters(){ global $lang; - - echo '
'; - echo $this->emailInvitationFilter($this->emailInvitation); - echo '
'; + if($this->emailInvitation == 1 || $this->emailInvitation == 2){ + echo '
'; + $this->emailInvitationFilter($this->emailInvitation); + echo '
'; + } # če imamo vabila - filter za emaile $row = SurveyInfo::getSurveyRow(); diff --git a/admin/survey/classes/class.Vprasanje.php b/admin/survey/classes/class.Vprasanje.php index 970568252..f1a8a2a08 100644 --- a/admin/survey/classes/class.Vprasanje.php +++ b/admin/survey/classes/class.Vprasanje.php @@ -4932,13 +4932,15 @@ class Vprasanje { $otherWidth = ($spremenljivkaParams->get('otherWidth') ? $spremenljivkaParams->get('otherWidth') : -1); $otherHeight = ($spremenljivkaParams->get('otherHeight') ? $spremenljivkaParams->get('otherHeight') : 1); - + - if(mysqli_num_rows($sql) > 0){ //ce je prisotna moznost Drugo, - echo '
'.$lang['srv_other_size'].''; //pokazi fieldset + // ce je prisotna moznost Drugo, + if(mysqli_num_rows($sql) > 0){ + echo '
'.$lang['srv_other_size'].''; } - else{ //drugace - echo '