4if(CModule::IncludeModule(
"support")):?>
6 <td
align=
"right"><font
class=
"tablefieldtext"><?echo
GetMessage(
"SUPPORT_MAIL_DEF_REGISTERED")?></font></td>
7 <td valign=
"top"><font
class=
"tablebodytext">
8 <input type=
"radio" name=
"W_SUPPORT_USER_FIND" value=
"Y"<?
if($W_SUPPORT_USER_FIND!=
"N")echo
" checked"?>
id=
"W_SUPPORT_USER_FIND_1"><label
for=
"W_SUPPORT_USER_FIND_1"><?echo
GetMessage(
"SUPPORT_MAIL_DEF_REGISTERED_Y")?></label><br>
9 <input type=
"radio" name=
"W_SUPPORT_USER_FIND" value=
"N"<?
if($W_SUPPORT_USER_FIND==
"N")echo
" checked"?>
id=
"W_SUPPORT_USER_FIND_2"><label
for=
"W_SUPPORT_USER_FIND_2"><?echo
GetMessage(
"SUPPORT_MAIL_DEF_REGISTERED_N")?></label><br>
14 <td
align=
"right" valign=
"top"><font
class=
"tablefieldtext"><?echo
GetMessage(
"SUPPORT_MAIL_ADD_TO_OPENED_TICKET")?></font></td>
15 <td valign=
"top" nowrap><font
class=
"tablebodytext">
16 <input type=
"radio" name=
"W_SUPPORT_SEC" value=
"email"<?
if($W_SUPPORT_SEC!=
"all" && $W_SUPPORT_SEC!=
"domain")echo
" checked"?>
id=
"w_support_sec_1"><label
for=
"w_support_sec_1"><?echo
GetMessage(
"SUPPORT_MAIL_ADD_TO_OPENED_T_EMAIL")?></label><br>
17 <input type=
"radio" name=
"W_SUPPORT_SEC" value=
"domain"<?
if($W_SUPPORT_SEC==
"domain")echo
" checked"?>
id=
"w_support_sec_2"><label
for=
"w_support_sec_2"><?echo
GetMessage(
"SUPPORT_MAIL_ADD_TO_OPENED_T_DOMAIN")?></label><br>
18 <input type=
"radio" name=
"W_SUPPORT_SEC" value=
"all"<?
if($W_SUPPORT_SEC==
"all")echo
" checked"?>
id=
"w_support_sec_3"><label
for=
"w_support_sec_3"><?echo
GetMessage(
"SUPPORT_MAIL_ADD_TO_OPENED_T_ANY")?></label><br>
23 <td
align=
"right"><font
class=
"tablefieldtext"><?echo
GetMessage(
"SUPPORT_MAIL_SUBJECT_TEMPLATE")?><br>
24 <?echo
GetMessage(
"SUPPORT_MAIL_SUBJECT_TEMPLATE_NOTES")?></font></td>
25 <td valign=
"top"><font
class=
"tablebodytext">
27 if(!isset($W_SUPPORT_SUBJECT))
34 $ar_res[
"SUBJECT"] = str_replace(
"#ID#",
"([0-9]+)",
$ar_res[
"SUBJECT"]);
35 $ar_res[
"SUBJECT"] = preg_replace(
"/#[-A-Z_0-9]+#/i",
".*?",
$ar_res[
"SUBJECT"]);
36 $w_subject .=
$ar_res[
"SUBJECT"].
"\r\n";
38 $W_SUPPORT_SUBJECT = $w_subject;
41 <textarea name=
"W_SUPPORT_SUBJECT" cols=
"45" rows=
"3" class=
"typearea" wrap=
"off"><?=htmlspecialchars($W_SUPPORT_SUBJECT)?></textarea></font></td>
45 <td
align=
"right"><font
class=
"tablefieldtext"><?echo
GetMessage(
"SUPPORT_MAIL_ADD_TO_CATEORY")?></font></td>
46 <td valign=
"top"><font
class=
"tablebodytext">
static GetList($by='id', $order='desc', $arFilter=[])
static GetRefBookValues($type, $site_id=false)
$_SERVER["DOCUMENT_ROOT"]
SelectBox($strBoxName, $a, $strDetText="", $strSelectedVal="", $field1="class=\"typeselect\"")
GetMessage($name, $aReplace=null)
GetLangFileName($before, $after, $lang=false)