当前位置: 首页>>代码示例>>PHP>>正文


PHP boostrap_form::SearchFormGen方法代码示例

本文整理汇总了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);
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:26,代码来源:miniadmin.proxy.reverse.directory.replace.php

示例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);
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:7,代码来源:miniadm.network.virtips.php

示例3: section_websites

function section_websites()
{
    $boot = new boostrap_form();
    $tpl = new templates();
    $page = CurrentPageName();
    echo $boot->SearchFormGen("familysite", "sites-search", null, $EXPLAIN);
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:7,代码来源:miniadm.webstats.bywebsites.php

示例4: section_start

function section_start()
{
    $boot = new boostrap_form();
    $tpl = new templates();
    $page = CurrentPageName();
    echo $boot->SearchFormGen("searchstring", "session-search", null, null);
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:7,代码来源:miniadmin.proxy.monitor.sessions.php

示例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);
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:8,代码来源:miniadm.system.syslog-query.php

示例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);
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:8,代码来源:miniadm.network.etchosts.php

示例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);
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:8,代码来源:miniadmin.postfix.events.php

示例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"]}");
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:8,代码来源:miniadm.system.artica-events.php

示例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);
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:8,代码来源:miniadm.network.bridges.iptables.php

示例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>";
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:9,代码来源:miniadm.squid.macbrowser.php

示例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}");
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:9,代码来源:miniadm.members.browse.php

示例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);
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:9,代码来源:miniadm.network.bridges.php

示例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;
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:9,代码来源:miniadm.webstats.notcategorized.php

示例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"]}");
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:9,代码来源:miniadm.system.schedules-engine.php

示例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;
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:10,代码来源:miniadm.ajax.squid.schedules.php


注:本文中的boostrap_form::SearchFormGen方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。