本文整理汇总了PHP中boostrap_form::SearchFormGen方法的典型用法代码示例。如果您正苦于以下问题:PHP boostrap_form::SearchFormGen方法的具体用法?PHP boostrap_form::SearchFormGen怎么用?PHP boostrap_form::SearchFormGen使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类boostrap_form
的用法示例。
在下文中一共展示了boostrap_form::SearchFormGen方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: replace_section
function replace_section()
{
$boot = new boostrap_form();
$tpl = new templates();
$page = CurrentPageName();
$servername = $_GET["servername"];
$folderid = $_GET["folderid"];
$q = new mysql_squid_builder();
$sock = new sockets();
$ARRAY = unserialize(base64_decode($sock->getFrameWork("nginx.php?status-infos=yes")));
if (!is_array($ARRAY["MODULES"])) {
$ARRAY["MODULES"] = array();
}
$COMPAT = FALSE;
while (list($a, $b) = each($ARRAY["MODULES"])) {
if (preg_match("#http_substitutions_filter#", $a)) {
$COMPAT = true;
break;
}
}
if (!$COMPAT) {
$error = $tpl->_ENGINE_parse_body("<p class=text-error>{error_nginx_substitutions_filter}</p>");
}
$EXPLAIN["BUTTONS"][] = $tpl->_ENGINE_parse_body(button("{new_rule}", "Loadjs('{$page}?replace-js=yes&servername={$servername}&replaceid=0&folderid={$folderid}')"));
echo $error . $boot->SearchFormGen("rulename", "replace-search", "&servername={$servername}&folderid={$folderid}", $EXPLAIN);
}
示例2: vlan_section
function vlan_section()
{
$page = CurrentPageName();
$boot = new boostrap_form();
$OPTIONS["BUTTONS"][] = button("{new_virtual_ip}", "Loadjs('{$page}?virtid-js=0')", 16);
echo $boot->SearchFormGen(null, "search-virtip", null, $OPTIONS);
}
示例3: section_websites
function section_websites()
{
$boot = new boostrap_form();
$tpl = new templates();
$page = CurrentPageName();
echo $boot->SearchFormGen("familysite", "sites-search", null, $EXPLAIN);
}
示例4: section_start
function section_start()
{
$boot = new boostrap_form();
$tpl = new templates();
$page = CurrentPageName();
echo $boot->SearchFormGen("searchstring", "session-search", null, null);
}
示例5: syslog_section
function syslog_section()
{
$EXPLAIN = array();
$boot = new boostrap_form();
$tpl = new templates();
//$EXPLAIN["BUTTONS"][]=$tpl->_ENGINE_parse_body(button("{new_website}", "YahooWin5('690','freewebs.HTTrack.php?item-id=0&t=0','WebCopy::{new_website}');"));
echo $boot->SearchFormGen("service", "search", null);
}
示例6: etchostss_section
function etchostss_section()
{
$page = CurrentPageName();
$boot = new boostrap_form();
$tpl = new templates();
$OPTIONS["BUTTONS"][] = button("{add_new_entry}", "Loadjs('{$page}?etchosts-js=yes')", 16);
echo $tpl->_ENGINE_parse_body("<div class=text-info>{etc_hosts_explain}</div>") . $boot->SearchFormGen("ipaddr,hostname", "search-etchosts", null, $OPTIONS);
}
示例7: section
function section()
{
$page = CurrentPageName();
$boot = new boostrap_form();
$SearchQuery = $boot->SearchFormGen(null, "search", null);
$tpl = new templates();
echo $tpl->_ENGINE_parse_body($SearchQuery);
}
示例8: artica_section
function artica_section()
{
$EXPLAIN = array();
$boot = new boostrap_form();
$tpl = new templates();
//$EXPLAIN["BUTTONS"][]=$tpl->_ENGINE_parse_body(button("{new_website}", "YahooWin5('690','freewebs.HTTrack.php?item-id=0&t=0','WebCopy::{new_website}');"));
echo $boot->SearchFormGen("context,text,process,content", "search", "&context={$_GET["context"]}&category={$_GET["category"]}");
}
示例9: bridges_section
function bridges_section()
{
$page = CurrentPageName();
$boot = new boostrap_form();
$OPTIONS["BUTTONS"][] = button("{new_net_bridge}", "Loadjs('{$page}?bridge-js=0')", 16);
$expl = "<div class=text-info>{firewall_bridges_explain}</div>";
echo $expl . $boot->SearchFormGen("nic_inbound,nic_linked", "search-bridge", null, $OPTIONS);
}
示例10: popup
function popup()
{
$sock = new sockets();
$boot = new boostrap_form();
$tpl = new templates();
$page = CurrentPageName();
$t = time();
echo $boot->SearchFormGen("MAC", "search-records") . "<script>\n\tExecuteByClassName('SearchFunction');\n\t</script>";
}
示例11: section_search_ad
function section_search_ad()
{
$boot = new boostrap_form();
$tpl = new templates();
$page = CurrentPageName();
$ou = $_SESSION["ou"];
$callback = urlencode($_GET["CallBack"]);
echo $boot->SearchFormGen(null, "search-users-ad", "&CallBack={$callback}");
}
示例12: bridges_section
function bridges_section()
{
$page = CurrentPageName();
$boot = new boostrap_form();
$OPTIONS["BUTTONS"][] = button("{new_net_bridge}", "Loadjs('{$page}?bridge-js=0')", 16);
$tpl = new templates();
$expl = "<div class=text-info>{interface_bridges_explain}</div>";
echo $expl . $boot->SearchFormGen("ipaddr,name", "search-bridge", null, $OPTIONS);
}
示例13: master_content
function master_content()
{
$page = CurrentPageName();
$tpl = new templates();
$t = time();
$boot = new boostrap_form();
$SearchQuery = $boot->SearchFormGen("sitename,familysite,domain,country", "search-websites") . "\n\t<script>\n\t\tfunction RefreshNotCategorizedTitle(){\n\t\t\tLoadAjaxTiny('title-not-categorized','{$page}?title-not-categorized=yes');\n\t\t}\n\t\tRefreshNotCategorizedTitle();\n\t</script>\n\t\t\t";
echo $SearchQuery;
}
示例14: events_section
function events_section()
{
$boot = new boostrap_form();
$page = CurrentPageName();
$explain = null;
$tpl = new templates();
$suffix = suffix();
echo $boot->SearchFormGen("description,filename,function", "events-search", "&ID={$_GET["ID"]}");
}
示例15: page
function page()
{
$boot = new boostrap_form();
$q = new mysql_squid_builder();
$explain = $q->tasks_explain_array[$_GET["TaskID"]];
$tpl = new templates();
$explain = $tpl->_ENGINE_parse_body($explain);
$form = $boot->SearchFormGen("TimeDescription", "SearchTask", "&TaskID={$_GET["TaskID"]}", "<div class=text-info>{$explain}</div>");
echo $form;
}