285.1.4
by Adam Zammit
Replaced short tags with long ones |
1 |
<?php
|
98
by azammitdcarf
Merged from McMasterReports branch |
2 |
/**
|
3 |
* Respondent selection - Project End due to full quota
|
|
4 |
*
|
|
5 |
*
|
|
6 |
* This file is part of queXS
|
|
7 |
*
|
|
8 |
* queXS is free software; you can redistribute it and/or modify
|
|
9 |
* it under the terms of the GNU General Public License as published by
|
|
10 |
* the Free Software Foundation; either version 2 of the License, or
|
|
11 |
* (at your option) any later version.
|
|
12 |
*
|
|
13 |
* queXS is distributed in the hope that it will be useful,
|
|
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16 |
* GNU General Public License for more details.
|
|
17 |
*
|
|
18 |
* You should have received a copy of the GNU General Public License
|
|
19 |
* along with queXS; if not, write to the Free Software
|
|
20 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21 |
*
|
|
22 |
*
|
|
23 |
* @author Adam Zammit <adam.zammit@acspri.org.au>
|
|
24 |
* @copyright Australian Consortium for Social and Political Research Incorporated (ACSPRI) 2009
|
|
25 |
* @package queXS
|
|
26 |
* @subpackage user
|
|
27 |
* @link http://www.acspri.org.au/ queXS was writen for ACSPRI
|
|
28 |
* @license http://opensource.org/licenses/gpl-2.0.php The GNU General Public License (GPL) Version 2
|
|
29 |
*
|
|
30 |
*/
|
|
31 |
||
32 |
/**
|
|
33 |
* Configuration file
|
|
34 |
*/
|
|
35 |
include ("config.inc.php"); |
|
36 |
||
37 |
/**
|
|
38 |
* Database file
|
|
39 |
*/
|
|
40 |
include ("db.inc.php"); |
|
41 |
||
42 |
/**
|
|
43 |
* XHTML functions
|
|
44 |
*/
|
|
45 |
include ("functions/functions.xhtml.php"); |
|
46 |
||
47 |
/**
|
|
48 |
* Operator functions
|
|
49 |
*/
|
|
50 |
include ("functions/functions.operator.php"); |
|
51 |
||
190
by ziminajus
Fixed issue. Missing semicolon. |
52 |
$js = array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js"); |
183
by azammitdcarf
Added AUTO_LOGOUT_MINUTES functionality to rs scripts |
53 |
|
54 |
if (AUTO_LOGOUT_MINUTES !== false) |
|
55 |
{
|
|
56 |
$js[] = "js/childnap.js"; |
|
57 |
}
|
|
58 |
||
59 |
||
60 |
||
61 |
xhtml_head(T_("Respondent Selection - Project Quota End"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), $js); |
|
98
by azammitdcarf
Merged from McMasterReports branch |
62 |
|
63 |
$operator_id = get_operator_id(); |
|
64 |
$case_id = get_case_id($operator_id); |
|
65 |
$questionnaire_id = get_questionnaire_id($operator_id); |
|
66 |
||
67 |
print "<p class='rstext'>" . template_replace($_GET['message'],$operator_id,$case_id) . "</p>"; |
|
68 |
||
243
by azammitdcarf
Added ALTERNATE_INTERFACE config directive (defaults to false) |
69 |
if (ALTERNATE_INTERFACE && !is_voip_enabled($operator_id)) |
70 |
{
|
|
71 |
?>
|
|
285.1.4
by Adam Zammit
Replaced short tags with long ones |
72 |
<p class='rsoption'><a href="javascript:parent.location.href = 'index_interface2.php?outcome=32&endcase=endcase'"><?php echo T_("End call with outcome: Quota filled"); ?></a></p> |
73 |
<?php
|
|
243
by azammitdcarf
Added ALTERNATE_INTERFACE config directive (defaults to false) |
74 |
}
|
75 |
else
|
|
76 |
{
|
|
98
by azammitdcarf
Merged from McMasterReports branch |
77 |
?>
|
285.1.4
by Adam Zammit
Replaced short tags with long ones |
78 |
<p class='rsoption'><a href="javascript:parent.poptastic('call.php?defaultoutcome=32');"><?php echo T_("End call with outcome: Quota filled"); ?></a></p> |
79 |
<?php
|
|
243
by azammitdcarf
Added ALTERNATE_INTERFACE config directive (defaults to false) |
80 |
}
|
98
by azammitdcarf
Merged from McMasterReports branch |
81 |
|
82 |
xhtml_foot(); |
|
83 |
||
84 |
?>
|