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

Keep removing direct references to LIME (email needs more work)

This commit is contained in:
Adam Zammit
2017-02-03 11:22:29 +11:00
parent 87391f25a6
commit 1a4b41fd04
3 changed files with 23 additions and 168 deletions

View File

@@ -491,10 +491,11 @@ if ($case_id != false)
//Modify the case in Limesurvey
$sid = get_lime_sid($case_id);
$id = get_lime_id($case_id);
$id = get_lime_id($case_id);
$url = get_lime_url($case_id);
print "<div class='panel-body'>";
if ($id)
print "<h4><a href='" . LIME_URL . "admin/admin.php?action=dataentry&amp;sid=$sid&amp;subaction=edit&amp;id=$id' class='btn btn-default btn-lime'><i class='fa fa-lemon-o fa-lg'></i>&emsp;" . T_("Modify responses for this case") . "</a></h4>";
print "<h4><a href='" . $url . "admin/dataentry?sa=editdata&amp;subaction=edit&amp;surveyid=$sid&amp;id=$id' class='btn btn-default btn-lime'><i class='fa fa-lemon-o fa-lg'></i>&emsp;" . T_("Modify responses for this case") . "</a></h4>";
else
print "<div class='alert text-danger' role='alert'>" . T_("Case not yet started in Limesurvey") . "</div>";
print "</div></div>";