本文整理汇总了PHP中CAdminForm::HideField方法的典型用法代码示例。如果您正苦于以下问题:PHP CAdminForm::HideField方法的具体用法?PHP CAdminForm::HideField怎么用?PHP CAdminForm::HideField使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CAdminForm
的用法示例。
在下文中一共展示了CAdminForm::HideField方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: GetMessage
echo " checked";
}
?>
disabled>
<input type="hidden" name="ACTIVE" value="<?php
echo $str_ACTIVE;
?>
">
<?php
}
?>
</tr>
<?php
$tabControl->EndCustomField("ACTIVE", '<input type="hidden" name="ACTIVE" value="' . $str_ACTIVE . '">');
} else {
$tabControl->HideField('ACTIVE');
}
$emailRequired = COption::GetOptionString("main", "new_user_email_required", "Y") != "N";
$tabControl->AddEditField("TITLE", GetMessage("USER_EDIT_TITLE"), false, array("size" => 30), $str_TITLE);
$tabControl->AddEditField("NAME", GetMessage('NAME'), false, array("size" => 30), $str_NAME);
$tabControl->AddEditField("LAST_NAME", GetMessage('LAST_NAME'), false, array("size" => 30), $str_LAST_NAME);
$tabControl->AddEditField("SECOND_NAME", GetMessage('SECOND_NAME'), false, array("size" => 30), $str_SECOND_NAME);
$tabControl->AddEditField("EMAIL", GetMessage('EMAIL'), $emailRequired, array("size" => 30), $str_EMAIL);
$tabControl->AddEditField("LOGIN", GetMessage('LOGIN'), true, array("size" => 30), $str_LOGIN);
$tabControl->BeginCustomField("PASSWORD", GetMessage('NEW_PASSWORD_REQ'), true);
$bSecure = false;
if (!CMain::IsHTTPS() && COption::GetOptionString('main', 'use_encrypted_auth', 'N') == 'Y') {
$sec = new CRsaSecurity();
if ($arKeys = $sec->LoadKeys()) {
$sec->SetKeys($arKeys);
$sec->AddToForm('user_edit_form', array('NEW_PASSWORD', 'NEW_PASSWORD_CONFIRM'));