2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Make sure interviewer flag is set for admin operators

This commit is contained in:
Adam Zammit
2017-07-05 10:00:54 +10:00
parent 4fe2c367c1
commit d50218988a
6 changed files with 12 additions and 12 deletions

View File

@@ -196,7 +196,7 @@ if (!empty($surveys)){?>
</div>
<div class='col-sm-4'>
<strong><?php echo T_("or") ;?>&emsp;</strong>
<a class="btn btn-lime" href="<?php echo LIME_URL ;?>admin/admin.php?action=newsurvey"><i class="fa fa-lemon-o text-danger"></i>&emsp;<?php echo T_("Create an instrument in Limesurvey") ;?></a>
<a class="btn btn-lime" href="<?php echo LIME_URL ;?>admin/admin.php?action=newsurvey&amp;interviewer=1"><i class="fa fa-lemon-o text-danger"></i>&emsp;<?php echo T_("Create an instrument in Limesurvey") ;?></a>
</div>
</div>
@@ -402,9 +402,9 @@ $ckeditorConfig = array("toolbar" => array(array("tokens","-","Source"),
else { ?>
<div class='col-sm-6 col-sm-offset-1'>
<h3 class="alert alert-warning"> <?php echo T_("NO active Lime surveys available");?> </h3>
<a class="btn btn-lime btn-lg btn-block" href="<?php echo LIME_URL ;?>admin/admin.php?action=newsurvey"><i class="fa fa-lemon-o text-danger"></i>&emsp;<?php echo T_("Create an instrument in Limesurvey");?> </a>
<a class="btn btn-lime btn-lg btn-block" href="<?php echo LIME_URL ;?>admin/admin.php?action=newsurvey&amp;interviewer=1"><i class="fa fa-lemon-o text-danger"></i>&emsp;<?php echo T_("Create an instrument in Limesurvey");?> </a>
<h4 class="text-center"><?php echo T_("or"); ?></h4>
<a class="btn btn-lime btn-lg btn-block" href="<?php echo LIME_URL ;?>admin/admin.php?action=listsurveys"><i class="fa fa-lemon-o text-danger"></i>&emsp;<?php echo T_("Administer instruments with Limesurvey");?> </a>
<a class="btn btn-lime btn-lg btn-block" href="<?php echo LIME_URL ;?>admin/admin.php?action=listsurveys&amp;interviewer=1"><i class="fa fa-lemon-o text-danger"></i>&emsp;<?php echo T_("Administer instruments with Limesurvey");?> </a>
</div>
<?php } ?>