Modul volitve so omogocene za vse na testu

This commit is contained in:
pero1203 2021-09-01 09:34:20 +02:00
parent 4be6dea5d4
commit d72dd13caa

View File

@ -3344,7 +3344,8 @@ class SurveyAdmin
echo '<a href="index.php?anketa=' . $this->anketa . '&amp;a='.A_KVIZ.'" title="' . $lang['srv_vrsta_survey_type_6'] . '" '.(!$userAccess->checkUserAccess($what='kviz') ? 'class="user_access_locked"' : '').'><span>' . $lang['srv_vrsta_survey_type_6'] . '</span></a></li> ';
# Volitve
if ($admin_type == 0) {
global $mysql_database_name;
if ($admin_type == 0 || $mysql_database_name == 'test1kasi') {
echo '<li ' . ($get == A_VOTING ? ' class="highlightLineTab"' : ' class="nonhighlight"') . '>';
echo '<a href="index.php?anketa=' . $this->anketa . '&amp;a='.A_VOTING.'" title="' . $lang['srv_vrsta_survey_type_18'] . '" '.(!$userAccess->checkUserAccess($what='voting') ? 'class="user_access_locked"' : '').'><span>' . $lang['srv_vrsta_survey_type_18'] . '</span></a></li> ';
}