" name="smile_import" enctype="multipart/form-data"> <input type="hidden" name="Update" value="Y" /> <input type="hidden" name="lang" value="<?php echo LANG; ?> " /> <input type="hidden" name="ID" value="<?php echo $ID; ?> " /> <?php echo bitrix_sessid_post(); $aTabs = array(array("DIV" => "edit1", "TAB" => GetMessage("SMILE_TAB_SMILE"), "ICON" => "smile", "TITLE" => GetMessage("SMILE_TAB_SMILE_DESCR"))); $tabControl = new CAdminTabControl("tabControl", $aTabs); $tabControl->Begin(); $arSmileSet = CSmileSet::getFormList(); if (empty($arSmileSet)) { $arSmileSet = array('' => ' '); } $tabControl->BeginNextTab(); ?> <tr class="adm-detail-required-field"> <td width="40%"><?php echo GetMessage("SMILE_SET_ID"); ?> :</td> <td width="60%"> <select name="SET_ID"> <?php foreach ($arSmileSet as $key => $value) { ?>
{ $sec = new CRsaSecurity(); $arKeys = $sec->Keygen(); if($arKeys !== false) { $sec->SaveKeys($arKeys); CAdminMessage::ShowNote(GetMessage("MAIN_OPT_SECURE_KEY_SUCCESS")); } else { CAdminMessage::ShowMessage(GetMessage("MAIN_OPT_SECURE_KEY_ERROR")); } } $bEmailIndex = (COption::GetOptionString("main", "new_user_email_uniq_check", "N") !== "Y") && !$DB->IndexExists("b_user", array("EMAIL")); $arSmileSet = CSmileSet::getFormList(true); foreach ($arSmileSet as $key => $value) $arSmileSet[$key] = htmlspecialcharsback($value); $arAllOptions = array( "main" => Array( Array("site_name", GetMessage("MAIN_OPTION_SITENAME"), $SERVER_NAME, Array("text", 30)), Array("server_name", GetMessage("MAIN_OPTION_SERVERNAME"), $SERVER_NAME, Array("text", 30)), Array("cookie_name", GetMessage("MAIN_PREFIX"), "FREETRIX_SM", Array("text", 30)), Array("ALLOW_SPREAD_COOKIE", GetMessage("MAIN_OPTION_ALLOW_SPREAD_COOKIE"), "Y", Array("checkbox", "Y")), Array("header_200", GetMessage("HEADER_200"), "N", Array("checkbox", "Y")), Array("error_reporting", GetMessage("MAIN_ERROR_REPORTING"), E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR|E_PARSE, Array("selectbox", Array(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR|E_PARSE=>GetMessage("MAIN_OPTION_ERROR1"), E_ALL^E_NOTICE=>GetMessage("MAIN_OPTION_ERROR2"), 0=>GetMessage("MAIN_OPTION_ERROR3")))), Array("templates_visual_editor", GetMessage("main_options_use_editor"), "N", Array("checkbox", "Y")), Array("use_hot_keys", GetMessage("main_options_use_hot_keys"), "Y", Array("checkbox", "Y")), Array("smile_set_id", GetMessage("main_options_smile_set_id"), 0, Array("selectbox", $arSmileSet)),
><?php echo GetMessage("SMILE_TYPE_ICON"); ?> </option> </select> </td> </tr> <tr> <td><?php echo GetMessage("SMILE_SET_ID"); ?> :</td> <td> <select name="SET_ID"> <?php foreach (CSmileSet::getFormList() as $key => $value) { ?> <option value="<?php echo $key; ?> " <?php echo $arSmile["SET_ID"] == $key ? "selected" : ""; ?> ><?php echo $value; ?> </option> <?php } ?> </select>