Modul volitve so omogocene za vse na testu
This commit is contained in:
parent
4be6dea5d4
commit
d72dd13caa
@ -3344,7 +3344,8 @@ class SurveyAdmin
|
|||||||
echo '<a href="index.php?anketa=' . $this->anketa . '&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> ';
|
echo '<a href="index.php?anketa=' . $this->anketa . '&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
|
# 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 '<li ' . ($get == A_VOTING ? ' class="highlightLineTab"' : ' class="nonhighlight"') . '>';
|
||||||
echo '<a href="index.php?anketa=' . $this->anketa . '&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> ';
|
echo '<a href="index.php?anketa=' . $this->anketa . '&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> ';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user