本文整理汇总了PHP中CAdminTabControl::ShowWarnings方法的典型用法代码示例。如果您正苦于以下问题:PHP CAdminTabControl::ShowWarnings方法的具体用法?PHP CAdminTabControl::ShowWarnings怎么用?PHP CAdminTabControl::ShowWarnings使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CAdminTabControl
的用法示例。
在下文中一共展示了CAdminTabControl::ShowWarnings方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: bitrix_sessid_post
echo GetMessage("PERFMON_IDETAIL_GAIN");
?>
:</td>
<td><font class="notetext"><?php
echo str_replace(" ", " ", number_format($ratio * 100, 2, ".", " ")), "%";
?>
</font></td>
</tr>
<?php
}
?>
<?php
}
echo bitrix_sessid_post();
?>
<input type="hidden" name="lang" value="<?php
echo LANGUAGE_ID;
?>
">
<input type="hidden" name="ID" value="<?php
echo $ID;
?>
">
<?php
$tabControl->End();
?>
</form>
<?php
$tabControl->ShowWarnings("editform", $message);
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
示例2: DisableControls
</table>
<script language="JavaScript">
function DisableControls(bDisable)
{
document.impform.LIST_NAME_NEW.disabled=bDisable;
if(document.impform.LIST_NAME_EXISTS)
document.impform.LIST_NAME_EXISTS.disabled=!bDisable;
}
DisableControls(<?php
echo $LIST_TYPE == "E" ? "true" : "false";
?>
);
</script>
</td>
</tr>
<?
$tabControl->Buttons();
?>
<input<?if($POST_RIGHT<"W") echo " disabled";?> type="submit" name="Import" value="<?echo GetMessage("sender_imp_butt")?>" class="adm-btn-save">
<input type="hidden" name="lang" value="<?echo LANG?>">
<?echo bitrix_sessid_post();?>
<?
$tabControl->End();
?>
</form>
<?
$tabControl->ShowWarnings("impform", $message);
?>
<? require ($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");?>
示例3: GetMessage
<tr>
<td><?php
echo GetMessage("HK_URL");
?>
:</td>
<td><input type="text" name="URL" size="45" maxlength="255" value="<?php
echo $str_URL;
?>
" <?php
echo $str_IS_CUSTOM ? '' : 'disabled';
?>
></td>
</tr>
<?
$tabControl->Buttons(array(
"disabled"=>$str_IS_CUSTOM ? false : true,
"back_url"=>($_REQUEST["addhk"]<>""? $_REQUEST["addhk"]:"hot_keys_list.php?lang=".LANG),
));
$tabControl->End();
?>
</form>
<?
$tabControl->ShowWarnings("hkform", $errMess);
?>
<?
require_once($_SERVER["DOCUMENT_ROOT"].FX_ROOT."/modules/main/include/epilog_admin.php");
?>
示例4: GetMessage
</tr>
<tr>
<td><?php
echo GetMessage("FORUM_PPE_PPM");
?>
:</td>
<td>
<input type="text" name="POINTS_PER_POST" value="<?php
echo htmlspecialcharsEx($str_POINTS_PER_POST);
?>
" size="20" maxlength="19">
</td>
</tr>
<?php
$tabControl->EndTab();
$tabControl->Buttons(array("disabled" => $forumPermissions < "W", "back_url" => "/bitrix/admin/forum_points2post.php?lang=" . LANG . "&" . GetFilterParams("filter_", false)));
$tabControl->End();
?>
</form>
<?php
$tabControl->ShowWarnings("forum_edit", $message, array("POINTS2POST[MIN_NUM_POSTS]" => "MIN_NUM_POSTS"));
echo BeginNote();
?>
<?php
echo GetMessage("FORUM_PPE_NOTES");
echo EndNote();
?>
<?php
require $DOCUMENT_ROOT . "/bitrix/modules/main/include/epilog_admin.php";
示例5: ShowWarnings
function ShowWarnings($form, $messages, $aFields=false)
{
parent::ShowWarnings($this->name.'_form', $messages, $aFields);
}
示例6: bitrix_sessid_post
?>
</div>
</td>
</tr>
<?php
$tabControl->Buttons(array("disabled" => $POST_RIGHT < "W", "back_url" => "subscr_admin.php?lang=" . LANG));
echo bitrix_sessid_post();
?>
<input type="hidden" name="lang" value="<?php
echo LANG;
?>
">
<?php
if ($ID > 0) {
?>
<input type="hidden" name="ID" value="<?php
echo $ID;
?>
">
<?php
}
$tabControl->End();
?>
</form>
<?php
$tabControl->ShowWarnings("subscrform", $message);
?>
<?php
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
示例7: GetMessage
<tr>
<td><?php
echo GetMessage("SUP_TASK_TIME");
?>
</td>
<td><input type="text" name="TASK_TIME" id="TASK_TIME" size="7" maxlength="10" value="<?php
echo $str_TASK_TIME;
?>
"></td>
</tr>
<tr valign="top">
<td><?php
echo GetMessage("SUP_EXTERNAL_FIELD_1");
?>
</td>
<td><textarea name="EXTERNAL_FIELD_1" style="width:100%;height:150px;" wrap="virtual"><?php
echo $str_EXTERNAL_FIELD_1;
?>
</textarea></td>
</tr>
<?php
$tabControl->Buttons(array("back_url" => $TICKET_EDIT_URL . "?lang=" . LANGUAGE_ID . "&ID=" . $TICKET_ID));
$tabControl->End();
?>
</form>
<?php
$tabControl->ShowWarnings("form1", $strError);
?>
<?php
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
示例8: GetMessage
</td>
</tr>
<tr>
<td><?php
echo GetMessage("MURL_RULE");
?>
:</td>
<td>
<input type="text" name="RULE" size="50" maxlength="250" value="<?php
echo $str_RULE;
?>
">
</td>
</tr>
<?php
$tabControl->EndTab();
?>
<?php
$tabControl->Buttons(array("disabled" => !$isAdmin, "back_url" => "/bitrix/admin/urlrewrite_list.php?lang=" . LANG . "&filter_site_id=" . UrlEncode($site_id) . "&" . GetFilterParams("filter_", false)));
$tabControl->End();
?>
</form>
<?php
$tabControl->ShowWarnings("form1", $message);
?>
<?php
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
示例9: GetMessage
<input type="hidden" name="IS_PERIOD" value="N">
<input type="checkbox" name="IS_PERIOD" value="Y"<?php
if ($a_IS_PERIOD == "Y") {
echo " checked";
}
?>
>
</td>
</tr>
<tr>
<td><?php
echo GetMessage("MAIN_AGENT_INTERVAL");
?>
</td>
<td><input type="text" name="AGENT_INTERVAL" size="40" value="<?php
echo $a_AGENT_INTERVAL;
?>
"></td>
</tr>
<?php
$editTab->Buttons(array("disabled" => !$isAdmin, "back_url" => "agent_list.php?lang=" . LANGUAGE_ID));
$editTab->End();
?>
</form>
<?php
$editTab->ShowWarnings("f_agent", $message);
?>
<?php
require $_SERVER["DOCUMENT_ROOT"] . BX_ROOT . "/modules/main/include/epilog_admin.php";
示例10: GetMessage
"><?php
echo GetMessage('SMILE_SMILE_EXAMPLE_LINK');
?>
</a>
</td>
</tr>
<?php
}
?>
<?php
} else {
?>
<tr>
<td width="40%"><?php
echo GetMessage("SMILE_IMPORT");
?>
:</td>
<td width="60%">
<input type="checkbox" name="IMPORT" value="Y" />
</td>
</tr>
<?php
}
$tabControl->EndTab();
$tabControl->Buttons(array("back_url" => "/bitrix/admin/smile_set.php?lang=" . LANG . "&" . GetFilterParams("filter_", false)));
?>
</form>
<?php
$tabControl->End();
$tabControl->ShowWarnings("smile_set_edit", $message);
require $DOCUMENT_ROOT . "/bitrix/modules/main/include/epilog_admin.php";
示例11: GetMessage
name="crc_verify" value="<?php
echo GetMessage("MFCW_INT_DO_CHECK");
?>
"> <?php
}
?>
<input type="submit"<?php
if (!$isAdmin) {
echo " disabled";
}
?>
name="crc_collect" value="<?php
echo GetMessage("MFCW_INT_DO_SET");
?>
">
</td>
</tr>
<?php
$tabControl->EndTab();
?>
</form>
<?php
$tabControl->End();
$tabControl->ShowWarnings("ffile_checker", $message);
$tabControl->ShowWarnings("ffile_integrity", $message);
$legend = GetMessage("MFCW_LEGEND");
if (strlen($legend) > 0) {
echo BeginNote() . $legend . EndNote();
}
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
示例12: htmlspecialcharsbx
</td>
<td>
<input type="text" name="NAME_<?php
echo $arSysLangs[$i];
?>
" value="<?php
echo htmlspecialcharsbx($str_NAME);
?>
" size="40" />
</td>
</tr>
<?php
}
?>
<?php
$tabControl->EndTab();
?>
<?php
$tabControl->Buttons(array("disabled" => $forumPermissions < "W", "back_url" => "/bitrix/admin/forum_points.php?lang=" . LANG . "&" . GetFilterParams("filter_", false)));
$tabControl->End();
?>
</form>
<?php
$messageParams = array("POINTS[MIN_POINTS]" => "MIN_POINTS");
for ($i = 0; $i < count($arSysLangs); $i++) {
$messageParams["POINTS[NAME][LID][" . $arSysLangs[$i] . "]"] = "NAME_" . $arSysLangs[$i];
}
$tabControl->ShowWarnings("forum_edit", $message, $messageParams);
require $DOCUMENT_ROOT . "/bitrix/modules/main/include/epilog_admin.php";
示例13:
<?endif?>
<?
$tabControl->Buttons(
array(
"disabled"=>!$isAdmin,
"back_url"=>"short_uri_admin.php?lang=".LANG,
)
);
?>
<?echo freetrix_sessid_post();?>
<input type="hidden" name="lang" value="<?echo LANG?>">
<?if($ID>0):?>
<input type="hidden" name="ID" value="<?php
echo $ID;
?>
">
<?endif;?>
<?
$tabControl->End();
?>
</form>
<?
$tabControl->ShowWarnings("short_uri_form", $message);
?>
<?
require($_SERVER["DOCUMENT_ROOT"]."/freetrix/modules/main/include/epilog_admin.php");
?>
示例14: BeginNote
<?php
$arLID = array();
$db_LID = CEventMessage::GetLang($v["ID"]);
while ($arrLID = $db_LID->Fetch()) {
$arLID[] = $arrLID["LID"];
}
if (!empty($arLID)) {
echo " (" . implode(", ", $arLID) . ")";
}
?>
</td>
</tr><?php
}
}
}
$tabControl->Buttons(array("disabled" => !$isAdmin, "back_url" => "type_admin.php?lang=" . LANGUAGE_ID));
$tabControl->End();
?>
</form>
<?php
$tabControl->ShowWarnings("form1", $message, array("EVENT_NAME_EMPTY" => "EVENT_NAME", "LID_EMPTY" => "LID", "EVENT_NAME_EXIST" => "EVENT_NAME", "EVENT_ID_EMPTY" => "EVENT_NAME"));
?>
<?php
echo BeginNote();
echo GetMessage("LANG_FIELDS");
echo EndNote();
?>
<?php
require $_SERVER["DOCUMENT_ROOT"] . BX_ROOT . "/modules/main/include/epilog_admin.php";
示例15: foreach
<?php
foreach ($arSmiles as $smile) {
?>
<img src="<?php
echo ($smile['TYPE'] == CSmile::TYPE_ICON ? CSmile::PATH_TO_ICON : CSmile::PATH_TO_SMILE) . $smile['SET_ID'] . "/" . $smile['IMAGE'];
?>
" border="0" width="<?php
echo $smile['IMAGE_WIDTH'];
?>
" height="<?php
echo $smile['IMAGE_HEIGHT'];
?>
" title="<?php
echo $smile['NAME'];
?>
" style="vertical-align: text-top">
<?php
}
?>
</td>
</tr>
<?php
}
$tabControl->EndTab();
$tabControl->Buttons(array("back_url" => "/bitrix/admin/smile_gallery.php?lang=" . LANG . "&" . GetFilterParams("filter_", false)));
?>
</form>
<?php
$tabControl->End();
$tabControl->ShowWarnings("smile_gallery_edit", $message);
require $DOCUMENT_ROOT . "/bitrix/modules/main/include/epilog_admin.php";