Exemplo n.º 1
0
 function GetResponsible()
 {
     return CTicket::GetSupportTeamList();
 }
Exemplo n.º 2
0
				</tr>
			</table>
			</div>
		</td>
	</tr>
	<tr>
		<td width="100%" colspan=2 align="center">
			<div id="tr_responsible">
			<table width="100%" cellspacing=0 cellpadding=0>
				<tr>
					<td align="right" width="40%"><?php 
echo GetMessage("SUP_RESPONSIBLE");
?>
</td>
					<td width="60%" align="left" style="padding-left: 10px;"><?php 
echo SelectBox("RESPONSIBLE_USER_ID", CTicket::GetSupportTeamList(), GetMessage("SUP_NO"), $str_RESPONSIBLE_USER_ID);
?>
</td>
				</tr>
			</table>
			</div>
		</td>
	</tr>
	<?php 
if ($bTab2) {
    $tabControl->BeginNextTab();
    ?>
	<tr>
		<td width="100%" colspan=2 align="center">
			<div id="events">
			<table width="100%" cellspacing="8" cellpadding="0">
Exemplo n.º 3
0
echo ShowFilterLogicHelp();
?>
</td>
</tr>
<?}?>

<?if ($bADS) {?>
<tr>
	<td valign="top"><?php 
echo GetMessage("SUP_F_RESPONSIBLE");
?>
:</td>
	<td><?
		$ref = $ref_id = array();
		$ref[] = GetMessage("SUP_NO"); $ref_id[] = "0";
		$z = CTicket::GetSupportTeamList();
		while ($zr = $z->Fetch())
		{
			$ref[] = $zr["REFERENCE"];
			$ref_id[] = $zr["REFERENCE_ID"];
		}
		$arr = array("REFERENCE" => $ref, "REFERENCE_ID" => $ref_id);
		echo SelectBoxFromArray("find_responsible_id", $arr, htmlspecialcharsbx($find_responsible_id), GetMessage("SUP_ALL"));
		?><br><input type="text" name="find_responsible" size="47" value="<?php 
echo htmlspecialcharsbx($find_responsible);
?>
"><?php 
echo InputType("checkbox", "find_responsible_exact_match", "Y", $find_responsible_exact_match, false, "", "title='" . GetMessage("SUP_EXACT_MATCH") . "'");
?>
&nbsp;<?php 
echo ShowFilterLogicHelp();
Exemplo n.º 4
0
		<td valign="top"><input type="text" size="5" value="<?echo htmlspecialcharsbx($SUPPORT_MAX_FILESIZE)?>" name="SUPPORT_MAX_FILESIZE"></td>
	</tr>
	<tr>
		<td valign="top"><label><?php 
echo GetMessage("SUP_DEFAULT_VALUE_HIDDEN");
?>
</label></td>
		<td valign="top"><?echo InputType("checkbox", "DEFAULT_VALUE_HIDDEN", "Y", $DEFAULT_VALUE_HIDDEN, false, "", 'id="DEFAULT_VALUE_HIDDEN"')?></td>
	</tr>
	<tr>
		<td valign="top"><?php 
echo GetMessage("SUP_DEFAULT_RESPONSIBLE");
?>
</td>
		<td valign="top"><?
			echo SelectBox("DEFAULT_RESPONSIBLE_ID", CTicket::GetSupportTeamList(), " ", $DEFAULT_RESPONSIBLE_ID);
			?></td>
	</tr>
	<tr>
		<td valign="top"><?php 
echo GetMessage("SUP_DEFAULT_AUTO_CLOSE_DAYS");
?>
</td>
		<td valign="top"><?
		$ref_id = array("-1", "0");
		$ref = array(GetMessage("SUP_NOT_CHANGE"), GetMessage("SUP_SET_NULL"));
		for ($i=1;$i<=90;$i++)
		{
			$ref[] = $i." ".GetMessage("SUP_DAY");
			$ref_id[] = $i;
		}