mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Replaced short tags with long ones
This commit is contained in:
124
index.php
124
index.php
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
/**
|
||||
* Display the main page including all panels and tabs
|
||||
*
|
||||
@@ -133,17 +133,17 @@ print $script;
|
||||
?>
|
||||
|
||||
<div id="casefunctions" class="header">
|
||||
<div class='box'><a href="javascript:poptastic('call.php?end=end');"><? echo T_("End"); ?></a></div>
|
||||
<div class='box'><a href="javascript:poptastic('appointment.php');"><? echo T_("Appointment"); ?></a></div>
|
||||
<div class='box important'><a href="javascript:poptastic('call.php');"><? echo T_("Call/Hangup"); ?></a></div>
|
||||
<div class='box'><a href="javascript:poptastic('supervisor.php');"><? echo T_("Supervisor"); ?></a></div>
|
||||
<div class='box' id='recbox'><a id='reclink' class='offline' href="javascript:poptastic('record.php?start=start');"><? echo T_("Start REC"); ?></a></div>
|
||||
<? if (HEADER_EXPANDER_MANUAL){ ?> <div class='headerexpand'><img id='headerexpandimage' src='./images/arrow-up-2.png' alt='<? echo T_('Arrow for expanding or contracting'); ?>'/></div> <? } ?>
|
||||
<div class='box'><a href='index.php?'><? echo T_("Restart"); ?></a></div>
|
||||
<div class='box'><a href="javascript:poptastic('call.php?end=end');"><?php echo T_("End"); ?></a></div>
|
||||
<div class='box'><a href="javascript:poptastic('appointment.php');"><?php echo T_("Appointment"); ?></a></div>
|
||||
<div class='box important'><a href="javascript:poptastic('call.php');"><?php echo T_("Call/Hangup"); ?></a></div>
|
||||
<div class='box'><a href="javascript:poptastic('supervisor.php');"><?php echo T_("Supervisor"); ?></a></div>
|
||||
<div class='box' id='recbox'><a id='reclink' class='offline' href="javascript:poptastic('record.php?start=start');"><?php echo T_("Start REC"); ?></a></div>
|
||||
<?php if (HEADER_EXPANDER_MANUAL){ ?> <div class='headerexpand'><img id='headerexpandimage' src='./images/arrow-up-2.png' alt='<?php echo T_('Arrow for expanding or contracting'); ?>'/></div> <?php } ?>
|
||||
<div class='box'><a href='index.php?'><?php echo T_("Restart"); ?></a></div>
|
||||
</div>
|
||||
|
||||
<div id="content" class="content">
|
||||
<?
|
||||
<?php
|
||||
|
||||
$case_id = get_case_id($operator_id,true);
|
||||
$ca = get_call_attempt($operator_id,true);
|
||||
@@ -168,11 +168,11 @@ xhtml_object($data,"main-content");
|
||||
</div>
|
||||
|
||||
<div id="respondent" class="header">
|
||||
<?xhtml_object("respondent.php","main-respondent");?>
|
||||
<?php xhtml_object("respondent.php","main-respondent");?>
|
||||
</div>
|
||||
|
||||
<div id="qstatus" class="header">
|
||||
<?xhtml_object("status.php","main-qstatus");?>
|
||||
<?php xhtml_object("status.php","main-qstatus");?>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -181,92 +181,92 @@ xhtml_object($data,"main-content");
|
||||
|
||||
<div class="tabber" id="tab-main">
|
||||
|
||||
<? if (TAB_CASENOTES) { ?>
|
||||
<div class="tabbertab <? if ((DEFAULT_TAB == 'casenotes' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'casenotes' && $appointment))
|
||||
<?php if (TAB_CASENOTES) { ?>
|
||||
<div class="tabbertab <?php if ((DEFAULT_TAB == 'casenotes' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'casenotes' && $appointment))
|
||||
print "tabbertabdefault"; ?>">
|
||||
<h2><? echo T_("Notes"); ?></h2>
|
||||
<div id="div-casenotes" class="tabberdiv"><?xhtml_object("casenote.php","main-casenotes");?></div>
|
||||
<h2><?php echo T_("Notes"); ?></h2>
|
||||
<div id="div-casenotes" class="tabberdiv"><?php xhtml_object("casenote.php","main-casenotes");?></div>
|
||||
</div>
|
||||
<? }?>
|
||||
<?php }?>
|
||||
|
||||
<? if ($availability) { ?>
|
||||
<div class="tabbertab <? if ((DEFAULT_TAB == 'availability' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'availability' && $appointment))
|
||||
<?php if ($availability) { ?>
|
||||
<div class="tabbertab <?php if ((DEFAULT_TAB == 'availability' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'availability' && $appointment))
|
||||
print "tabbertabdefault"; ?>">
|
||||
<h2><? echo T_("Availability"); ?></h2>
|
||||
<div id="div-casenotes" class="tabberdiv"><?xhtml_object("availability.php","main-casenotes");?></div>
|
||||
<h2><?php echo T_("Availability"); ?></h2>
|
||||
<div id="div-casenotes" class="tabberdiv"><?php xhtml_object("availability.php","main-casenotes");?></div>
|
||||
</div>
|
||||
<? }?>
|
||||
<?php }?>
|
||||
|
||||
|
||||
|
||||
<? if (TAB_CONTACTDETAILS) { ?>
|
||||
<div class="tabbertab <? if ((DEFAULT_TAB == 'contactdetails' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'contactdetails' && $appointment))
|
||||
<?php if (TAB_CONTACTDETAILS) { ?>
|
||||
<div class="tabbertab <?php if ((DEFAULT_TAB == 'contactdetails' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'contactdetails' && $appointment))
|
||||
print "tabbertabdefault"; ?>">
|
||||
<h2><? echo T_("Contact details"); ?></h2>
|
||||
<div id="div-contactdetails" class="tabberdiv"><?xhtml_object("contactdetails.php","main-contactdetails");?></div>
|
||||
<h2><?php echo T_("Contact details"); ?></h2>
|
||||
<div id="div-contactdetails" class="tabberdiv"><?php xhtml_object("contactdetails.php","main-contactdetails");?></div>
|
||||
</div>
|
||||
<? }?>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<? if (TAB_CALLLIST) { ?>
|
||||
<div class="tabbertab <? if ((DEFAULT_TAB == 'calllist' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'calllist' && $appointment))
|
||||
<?php if (TAB_CALLLIST) { ?>
|
||||
<div class="tabbertab <?php if ((DEFAULT_TAB == 'calllist' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'calllist' && $appointment))
|
||||
print "tabbertabdefault"; ?>">
|
||||
<h2><? echo T_("Call history"); ?></h2>
|
||||
<div id="div-calllist" class="tabberdiv"><?xhtml_object("calllist.php","main-calllist");?></div>
|
||||
<h2><?php echo T_("Call history"); ?></h2>
|
||||
<div id="div-calllist" class="tabberdiv"><?php xhtml_object("calllist.php","main-calllist");?></div>
|
||||
</div>
|
||||
<? }?>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<? if (TAB_SHIFTS) { ?>
|
||||
<div class="tabbertab <? if ((DEFAULT_TAB == 'shifts' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'shifts' && $appointment))
|
||||
<?php if (TAB_SHIFTS) { ?>
|
||||
<div class="tabbertab <?php if ((DEFAULT_TAB == 'shifts' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'shifts' && $appointment))
|
||||
print "tabbertabdefault"; ?>" id="tab-shifts">
|
||||
<h2><? echo T_("Shifts"); ?></h2>
|
||||
<div id="div-shifts" class="tabberdiv"><?xhtml_object("shifts.php","main-shifts");?></div>
|
||||
<h2><?php echo T_("Shifts"); ?></h2>
|
||||
<div id="div-shifts" class="tabberdiv"><?php xhtml_object("shifts.php","main-shifts");?></div>
|
||||
</div>
|
||||
<? }?>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<? if (TAB_APPOINTMENTLIST) { ?>
|
||||
<div class="tabbertab <? if ((DEFAULT_TAB == 'appointmentlist' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'appointmentlist' && $appointment))
|
||||
<?php if (TAB_APPOINTMENTLIST) { ?>
|
||||
<div class="tabbertab <?php if ((DEFAULT_TAB == 'appointmentlist' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'appointmentlist' && $appointment))
|
||||
print "tabbertabdefault"; ?>">
|
||||
<h2><? echo T_("Appointments"); ?></h2>
|
||||
<div id="div-appointmentlist" class="tabberdiv"><?xhtml_object("appointmentlist.php","main-appointmentlist");?></div>
|
||||
<h2><?php echo T_("Appointments"); ?></h2>
|
||||
<div id="div-appointmentlist" class="tabberdiv"><?php xhtml_object("appointmentlist.php","main-appointmentlist");?></div>
|
||||
</div>
|
||||
<? }?>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<? if (TAB_PERFORMANCE) { ?>
|
||||
<div class="tabbertab <? if ((DEFAULT_TAB == 'performance' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'performance' && $appointment))
|
||||
<?php if (TAB_PERFORMANCE) { ?>
|
||||
<div class="tabbertab <?php if ((DEFAULT_TAB == 'performance' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'performance' && $appointment))
|
||||
print "tabbertabdefault"; ?>">
|
||||
<h2><? echo T_("Performance"); ?></h2>
|
||||
<div id="div-performance" class="tabberdiv"><?xhtml_object("performance.php","main-performance");?></div>
|
||||
<h2><?php echo T_("Performance"); ?></h2>
|
||||
<div id="div-performance" class="tabberdiv"><?php xhtml_object("performance.php","main-performance");?></div>
|
||||
</div>
|
||||
<? }?>
|
||||
<?php }?>
|
||||
|
||||
<? if (TAB_CALLHISTORY) { ?>
|
||||
<div class="tabbertab <? if ((DEFAULT_TAB == 'callhistory' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'callhistory' && $appointment))
|
||||
<?php if (TAB_CALLHISTORY) { ?>
|
||||
<div class="tabbertab <?php if ((DEFAULT_TAB == 'callhistory' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'callhistory' && $appointment))
|
||||
print "tabbertabdefault"; ?>">
|
||||
<h2><? echo T_("Work history"); ?></h2>
|
||||
<div id="div-callhistory" class="tabberdiv"><?xhtml_object("callhistory.php","main-callhistory");?></div>
|
||||
<h2><?php echo T_("Work history"); ?></h2>
|
||||
<div id="div-callhistory" class="tabberdiv"><?php xhtml_object("callhistory.php","main-callhistory");?></div>
|
||||
</div>
|
||||
<? }?>
|
||||
<?php }?>
|
||||
|
||||
<? if (TAB_PROJECTINFO) { ?>
|
||||
<div class="tabbertab <? if ((DEFAULT_TAB == 'projectinfo' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'projectinfo' && $appointment))
|
||||
<?php if (TAB_PROJECTINFO) { ?>
|
||||
<div class="tabbertab <?php if ((DEFAULT_TAB == 'projectinfo' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'projectinfo' && $appointment))
|
||||
print "tabbertabdefault"; ?>">
|
||||
<h2><? echo T_("Project information"); ?></h2>
|
||||
<div id="div-projectinfo" class="tabberdiv"><?xhtml_object("project_info.php","main-projectinfo");?></div>
|
||||
<h2><?php echo T_("Project information"); ?></h2>
|
||||
<div id="div-projectinfo" class="tabberdiv"><?php xhtml_object("project_info.php","main-projectinfo");?></div>
|
||||
</div>
|
||||
<? }?>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<? if (TAB_INFO) { ?>
|
||||
<div class="tabbertab <? if ((DEFAULT_TAB == 'info' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'info' && $appointment))
|
||||
<?php if (TAB_INFO) { ?>
|
||||
<div class="tabbertab <?php if ((DEFAULT_TAB == 'info' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'info' && $appointment))
|
||||
print "tabbertabdefault"; ?>">
|
||||
<h2><? echo T_("Info"); ?></h2>
|
||||
<div id="div-info" class="tabberdiv"><?xhtml_object("info.php","main-info");?></div>
|
||||
<h2><?php echo T_("Info"); ?></h2>
|
||||
<div id="div-info" class="tabberdiv"><?php xhtml_object("info.php","main-info");?></div>
|
||||
</div>
|
||||
<? }?>
|
||||
<?php }?>
|
||||
|
||||
|
||||
</div>
|
||||
@@ -274,7 +274,7 @@ xhtml_object($data,"main-content");
|
||||
|
||||
</div>
|
||||
|
||||
<?
|
||||
<?php
|
||||
|
||||
xhtml_foot();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user