diff --git a/admin/assignsample.php b/admin/assignsample.php index 53115af4..49e0460f 100644 --- a/admin/assignsample.php +++ b/admin/assignsample.php @@ -327,7 +327,7 @@ if ($questionnaire_id != false) CASE WHEN q.answering_machine_messages = 0 THEN '". TQ_("Never") . "' ELSE q.answering_machine_messages END as answering_machine_messages, CASE WHEN q.allow_new = 0 THEN '". TQ_("No") ."' ELSE '".TQ_("Yes")."' END as allow_new, CONCAT('') as edit, - CONCAT('') as unassign + CONCAT('') as unassign FROM questionnaire_sample as q, sample_import as si WHERE q.sample_import_id = si.sample_import_id AND q.questionnaire_id = '$questionnaire_id' diff --git a/admin/displayappointments.php b/admin/displayappointments.php index b3796149..7b4fa21c 100644 --- a/admin/displayappointments.php +++ b/admin/displayappointments.php @@ -294,7 +294,7 @@ else { $sql = "SELECT q.description, si.description as smpl, CONVERT_TZ(a.start,'UTC',@@session.time_zone) as start, CONVERT_TZ(a.end,'UTC',@@session.time_zone) as end,CONCAT(r.firstName, ' ', r.lastName) as resp, IFNULL(ou.description,'" . TQ_("Not yet called") . "') as outcome, oo.firstName as makerName, ooo.firstName as callerName, CONCAT('', c.case_id, '') as case_id, - CONCAT('  ') as link, + CONCAT('  ') as link, CONCAT('  ') as edit,IFNULL(ao.firstName,'" . TQ_("Any operator") . "') as witho FROM appointment as a JOIN (`case` as c, respondent as r, questionnaire as q, operator as oo, call_attempt as cc, `sample` as s, sample_import as si) on (c.sample_id = s.sample_id and a.case_id = c.case_id and a.respondent_id = r.respondent_id and q.questionnaire_id = c.questionnaire_id and a.call_attempt_id = cc.call_attempt_id and cc.operator_id = oo.operator_id and si.sample_import_id = s.import_id) @@ -318,7 +318,7 @@ else { $sql = "SELECT q.description, si.description as smpl, CONVERT_TZ(a.start,'UTC',@@session.time_zone) as start, CONVERT_TZ(a.end,'UTC',@@session.time_zone) as end, CONCAT(r.firstName, ' ', r.lastName) as resp, CONCAT('', c.case_id, '') as case_id, - CONCAT('  ') as link, + CONCAT('  ') as link, CONCAT('  ') as edit FROM appointment as a JOIN (`case` as c, respondent as r, questionnaire as q, `sample` as s, sample_import as si) on (a.case_id = c.case_id and a.respondent_id = r.respondent_id and q.questionnaire_id = c.questionnaire_id and s.sample_id = c.sample_id and s.import_id= si.sample_import_id) diff --git a/admin/extensionstatus.php b/admin/extensionstatus.php index 4c9e32bf..161fc1f9 100644 --- a/admin/extensionstatus.php +++ b/admin/extensionstatus.php @@ -215,7 +215,7 @@ if (isset($_GET['edit']) || isset($_GET['addext'])) - " /> + " />
" . T_("Unassign the operator from this extension to be able to delete it") . ""; diff --git a/admin/questionnairelist.php b/admin/questionnairelist.php index a869ea5d..7b88e8cf 100644 --- a/admin/questionnairelist.php +++ b/admin/questionnairelist.php @@ -566,7 +566,7 @@ else CASE WHEN enabled = 0 THEN CONCAT('  ') ELSE - CONCAT('  ') + CONCAT('  ') END as enabledisable, CONCAT('') as modify, CONCAT('') as inlime, diff --git a/admin/set_outcomes.php b/admin/set_outcomes.php index cbbc847d..0ebc5ace 100644 --- a/admin/set_outcomes.php +++ b/admin/set_outcomes.php @@ -41,7 +41,6 @@ $js_head = array( ); $js_foot = array( "../js/window.js", -"../js/bootstrap-confirmation.js", "../js/custom.js" ); diff --git a/admin/sortsample.php b/admin/sortsample.php index 0c3b1625..6d12e03a 100644 --- a/admin/sortsample.php +++ b/admin/sortsample.php @@ -64,7 +64,6 @@ $js_head = array( "../js/window.js" ); $js_foot = array( -"../js/bootstrap-confirmation.js", "../js/custom.js" ); global $db; @@ -145,9 +144,6 @@ if (!empty($qs)) print""; - xhtml_foot($js_foot); + ?> - diff --git a/admin/supervisor.php b/admin/supervisor.php index ab1905a7..910257a2 100644 --- a/admin/supervisor.php +++ b/admin/supervisor.php @@ -370,7 +370,7 @@ if ($case_id != false) CONCAT (oo.firstName,' ', oo.lastName) as makerName, CONCAT (ooo.firstName,' ', ooo.lastName) as callerName, CONCAT('', c.case_id, '') as case_id, - CONCAT('  ') as link, + CONCAT('  ') as link, CONCAT('  ') as edit FROM appointment as a JOIN (`case` as c, respondent as r, questionnaire as q, operator as oo, call_attempt as cc) on (a.case_id = c.case_id and a.respondent_id = r.respondent_id and q.questionnaire_id = c.questionnaire_id and a.call_attempt_id = cc.call_attempt_id and cc.operator_id = oo.operator_id) @@ -416,7 +416,7 @@ if ($case_id != false) print ""; //view notes - $sql = "SELECT DATE_FORMAT(CONVERT_TZ(c.datetime,'UTC',op.Time_zone_name),'".DATE_TIME_FORMAT."') as time, CONCAT(op.firstName,' ',op.lastName) as firstName, c.note as note, CONCAT('') as link + $sql = "SELECT DATE_FORMAT(CONVERT_TZ(c.datetime,'UTC',op.Time_zone_name),'".DATE_TIME_FORMAT."') as time, CONCAT(op.firstName,' ',op.lastName) as firstName, c.note as note, CONCAT('') as link FROM `case_note` as c JOIN (operator as op) on (c.operator_id = op.operator_id) WHERE c.case_id = '$case_id'