• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP wf_Submit函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中wf_Submit函数的典型用法代码示例。如果您正苦于以下问题:PHP wf_Submit函数的具体用法?PHP wf_Submit怎么用?PHP wf_Submit使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了wf_Submit函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: web_MikbillMigrationNetnumForm

 public function web_MikbillMigrationNetnumForm()
 {
     $inputs = wf_TextInput('netnum', __('networks number'), '', true, 20);
     $inputs .= wf_Submit(__('Save'));
     $form = wf_Form("", 'POST', $inputs, 'glamour');
     return $form;
 }
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:7,代码来源:api.migration.php


示例2: web_CardShowDateForm

 function web_CardShowDateForm()
 {
     $curmonth = date("m");
     $inputs = wf_YearSelector('yearsel');
     $inputs .= wf_MonthSelector('monthsel', 'Month', $curmonth, false);
     $inputs .= wf_Submit('Show');
     $form = wf_Form("", 'POST', $inputs, 'glamour');
     show_window(__('Date'), $form);
 }
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:9,代码来源:index.php


示例3: web_IPChangeFormService

 /**
  * Returns new user service select form
  * 
  * @return string
  */
 function web_IPChangeFormService()
 {
     global $current_ip;
     $inputs = multinet_service_selector() . ' ' . __('New IP service');
     $inputs .= wf_delimiter();
     $inputs .= wf_Submit(__('Save'));
     $result = wf_Form("", 'POST', $inputs, 'floatpanels');
     return $result;
 }
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:14,代码来源:index.php


示例4: web_CardShowDateForm

 /**
  * Renders year-month search interface
  * 
  * @return void
  */
 function web_CardShowDateForm()
 {
     $curmonth = wf_CheckPost(array('monthsel')) ? vf($_POST['monthsel'], 3) : date("m");
     $curyear = wf_CheckPost(array('yearsel')) ? vf($_POST['yearsel'], 3) : date("Y");
     $inputs = wf_YearSelectorPreset('yearsel', __('Year'), false, $curyear) . ' ';
     $inputs .= wf_MonthSelector('monthsel', 'Month', $curmonth, false);
     $inputs .= wf_Submit('Show');
     $form = wf_Form("", 'POST', $inputs, 'glamour');
     show_window(__('Date'), $form);
 }
开发者ID:nightflyza,项目名称:Ubilling,代码行数:15,代码来源:index.php


示例5: web_PhpConsoleTemplateEditForm

 function web_PhpConsoleTemplateEditForm($templatekey)
 {
     $rawtemplate = zb_PhpConsoleGetTemplate($templatekey);
     $templatename = $rawtemplate['name'];
     $templatebody = $rawtemplate['body'];
     $inputs = wf_TextInput('edittemplatename', __('Template name'), $templatename, true, "30");
     $inputs .= wf_TextArea('edittemplatebody', '', $templatebody, true, '80x10');
     $inputs .= wf_Submit('Edit');
     $result = wf_Form("", 'POST', $inputs, 'glamour');
     $result .= wf_Link("?module=sqlconsole&devconsole=true", 'Back', true, 'ubButton');
     return $result;
 }
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:12,代码来源:index.php


示例6: ms_ShowForm

 function ms_ShowForm()
 {
     $inputs = __('Message') . '<br>';
     $inputs .= wf_TextArea('message', '', '', true, '60x6');
     $inputs .= wf_TextInput('exactuserlogins', 'Exact users, comma delimiter', '', true, '30');
     $inputs .= wf_RadioInput('sendtype', 'Exact users', 'exactusers', true, true);
     $inputs .= wf_RadioInput('sendtype', 'Debtors', 'debtors', true);
     $inputs .= wf_RadioInput('sendtype', 'All users', 'allusers', true);
     $inputs .= wf_Submit('Send');
     $form = wf_Form('', 'POST', $inputs, 'glamour');
     show_window(__('Masssender'), $form);
 }
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:12,代码来源:index.php


示例7: web_CashCashtypeDefaultForm

 function web_CashCashtypeDefaultForm()
 {
     $defCashType = zb_StorageGet('DEF_CT');
     if (empty($defCashType)) {
         $defCashType = 'NOP';
     }
     $allCashTypes = zb_CashGetAllCashTypes();
     $inputs = wf_Selector('setdefaultcashtype', $allCashTypes, __('Current default cashtype for manual input'), $defCashType, true);
     $inputs .= wf_Submit(__('Set as default cash type'));
     $result = wf_Form('', 'POST', $inputs, 'glamour');
     return $result;
 }
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:12,代码来源:index.php


示例8: web_AnnihilateFormShow

 function web_AnnihilateFormShow($login)
 {
     $alladdress = zb_AddressGetFulladdresslist();
     $inputs = __('Be careful, this module permanently deletes user and all data associated with it. Opportunities to raise from the dead no longer.');
     $inputs .= wf_tag('br');
     $inputs .= __('To ensure that we have seen the seriousness of your intentions to enter the word сonfirm the field below.');
     $inputs .= wf_tag('br');
     $inputs .= wf_tag('input', false, '', 'type="text" name="confirmation" autocomplete="off"');
     $inputs .= wf_HiddenInput('anihilation', 'true');
     $inputs .= wf_delimiter();
     $inputs .= wf_Submit(__('I really want to stop suffering User'));
     $form = wf_Form('', 'POST', $inputs, 'glamour');
     show_window(__('Deleting user') . ' ' . @$alladdress[$login] . ' (' . $login . ')', $form);
 }
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:14,代码来源:index.php


示例9: web_FDBTableFiltersForm

 /**
  * Returns FDB cache lister MAC filters setup form
  * 
  * @return string
  */
 function web_FDBTableFiltersForm()
 {
     $currentFilters = '';
     $oldFilters = zb_StorageGet('FDBCACHEMACFILTERS');
     if (!empty($oldFilters)) {
         $currentFilters = base64_decode($oldFilters);
     }
     $inputs = __('One MAC address per line') . wf_tag('br');
     $inputs .= wf_TextArea('newmacfilters', '', $currentFilters, true, '40x10');
     $inputs .= wf_HiddenInput('setmacfilters', 'true');
     $inputs .= wf_CheckInput('deletemacfilters', __('Cleanup'), true, false);
     $inputs .= wf_Submit(__('Save'));
     $result = wf_Form('', 'POST', $inputs, 'glamour');
     return $result;
 }
开发者ID:nightflyza,项目名称:Ubilling,代码行数:20,代码来源:index.php


示例10: mrst_FormShow

 function mrst_FormShow()
 {
     global $altcfg;
     $inputs = __('After clicking the button below for all users will perform the standard procedure reset. By default, this will reinitialize shapers and  MAC bindings.');
     if (!isset($altcfg['MASSRESET_NOCONFIRM'])) {
         $confirmKey = rand(1111, 9999);
         $inputs .= ' ' . __('If you are completely sure of what you wish, enter the following numbers into the next field.') . '<br>';
         $inputs .= wf_HiddenInput('confirmkey', $confirmKey);
         $inputs .= $confirmKey . ' ⇨ ' . wf_TextInput('confirmcheck', '', '', true, 5);
     }
     $inputs .= wf_HiddenInput('runmassreset', 'true') . '<br>';
     $inputs .= wf_Submit(__('I`m ready'));
     $form = wf_Form("", 'POST', $inputs, 'glamour');
     show_window(__('Mass user reset'), $form);
 }
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:15,代码来源:index.php


示例11: web_UserGenForm

 function web_UserGenForm()
 {
     $alltariffs_raw = zb_TariffsGetAll();
     $alltariffs = array();
     if (!empty($alltariffs_raw)) {
         foreach ($alltariffs_raw as $it => $eachtariff) {
             $alltariffs[$eachtariff['name']] = $eachtariff['name'];
         }
     }
     $inputs = wf_TextInput('gencount', __('Count of users to generate'), '', true);
     $inputs .= wf_Selector('gentariff', $alltariffs, __('Existing tariff for this users'), '', true);
     $inputs .= multinet_service_selector() . ' ' . __('Service for new users') . wf_tag('br');
     $inputs .= wf_CheckInput('fastsqlgen', __('Fast SQL Inserts - need to shutdown stargazer'), true, false);
     $inputs .= wf_Submit(__('Go!'));
     $result = wf_Form("", "POST", $inputs, 'glamour');
     show_window(__('Sample user generator'), $result);
 }
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:17,代码来源:index.php


示例12: web_NasTemplateEditForm

function web_NasTemplateEditForm($id)
{
    $id = vf($id, 3);
    $allradiusnas_q = "SELECT * from `nas` WHERE `nastype`='radius'";
    $allradiusnas = simple_queryall($allradiusnas_q);
    $template_q = "SELECT * from `nastemplates` WHERE `id`='" . $id . "'";
    $template_data = simple_query($template_q);
    $nasselector = array();
    if (!empty($allradiusnas)) {
        foreach ($allradiusnas as $io => $eachnas) {
            $nasselector[$eachnas['id']] = $eachnas['id'] . ':' . $eachnas['nasname'];
        }
        $addinputs = wf_Selector('editnasid', $nasselector, 'Network Access Servers', $template_data['nasid'], true);
        $addinputs .= wf_HiddenInput('edittemplateid', $template_data['id']);
        $addinputs .= wf_TextArea('editnastemplate', '', $template_data['template'], true, '60x10');
        $addinputs .= wf_Submit('Change');
        $addform = wf_Form('', 'POST', $addinputs, 'glamour');
        show_window(__('Edit template'), $addform);
    }
}
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:20,代码来源:api.radius.php


示例13: loadForm

 /**
  * Stores raw login form into private property
  * 
  * @param bool $br
  * @param bool $container
  * 
  * @return void
  */
 protected function loadForm($br, $container)
 {
     $this->breaks = $br;
     $this->container = $container;
     if (file_exists('DEMO_MODE')) {
         $this->loginPreset = 'admin';
         $this->passwordPreset = 'demo';
     }
     if ($this->container) {
         $this->form .= wf_tag('div', false, 'ubLoginContainer');
     }
     $inputs = wf_HiddenInput('login_form', '1');
     $inputs .= wf_TextInput('username', __('Login'), $this->loginPreset, $this->breaks, $this->inputSize);
     $inputs .= wf_PasswordInput('password', __('Password'), $this->passwordPreset, $this->breaks, $this->inputSize);
     $inputs .= wf_Submit(__('Log in'));
     $this->form .= wf_Form("", 'POST', $inputs, 'ubLoginForm');
     if ($this->container) {
         $this->form .= wf_tag('div', true);
     }
 }
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:28,代码来源:api.loginform.php


示例14: wf_PlPingerOptionsForm

 function wf_PlPingerOptionsForm()
 {
     //previous setting
     if (wf_CheckPost(array('packet'))) {
         $currentpack = vf($_POST['packet'], 3);
     } else {
         $currentpack = '';
     }
     if (wf_CheckPost(array('count'))) {
         $getCount = vf($_POST['count'], 3);
         if ($getCount <= 10000) {
             $currentcount = $getCount;
         } else {
             $currentcount = '';
         }
     } else {
         $currentcount = '';
     }
     $inputs = wf_TextInput('packet', __('Packet size'), $currentpack, false, 5);
     $inputs .= wf_TextInput('count', __('Count'), $currentcount, false, 5);
     $inputs .= wf_Submit(__('Save'));
     $result = wf_Form('', 'POST', $inputs, 'glamour');
     return $result;
 }
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:24,代码来源:index.php


示例15: renderSearchForm

 /**
  * Returns openpayz search form
  * 
  * @return string
  */
 public function renderSearchForm()
 {
     $inputs = wf_YearSelector('searchyear', __('Year'), false) . ' ';
     $inputs .= wf_MonthSelector('searchmonth', __('Month'), '', false) . ' ';
     $inputs .= wf_Selector('searchpaysys', $this->allPaySys, __('Payment system'), '', false) . ' ';
     $inputs .= wf_Submit(__('Search'));
     $result = wf_Form("", 'POST', $inputs, 'glamour');
     return $result;
 }
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:14,代码来源:api.opayz.php


示例16: wf_TableCell

             $tablecells = wf_TableCell($sigtariff);
             $tablecells .= wf_TableCell($eachcount);
             $tablecells .= wf_TableCell(web_bar($eachcount, sizeof($allsignups)), '', '', 'sorttable_customkey="' . $eachcount . '"');
             $tablerows .= wf_TableRow($tablecells, 'row3');
         }
     }
     $result = wf_TableBody($tablerows, '100%', '0', 'sortable');
     show_window(__('Tariffs report'), $result);
 }
 if (!isset($_POST['yearsel'])) {
     $year = curyear();
 } else {
     $year = $_POST['yearsel'];
 }
 $yearinputs = wf_YearSelector('yearsel');
 $yearinputs .= wf_Submit(__('Show'));
 $yearform = wf_Form('?module=report_signup', 'POST', $yearinputs, 'glamour');
 $yearform .= wf_CleanDiv();
 web_SignupsShowToday();
 show_window(__('Year'), $yearform);
 web_SignupsGraphYear($year);
 web_SignupGraph();
 if ($altercfg['CEMETERY_ENABLED']) {
     $cemetery = new Cemetery();
     show_window('', $cemetery->renderChart());
 }
 if (!wf_CheckGet(array('month'))) {
     web_SignupsShowCurrentMonth();
 } else {
     web_SignupsShowAnotherYearMonth($_GET['month']);
 }
开发者ID:nightflyza,项目名称:Ubilling,代码行数:31,代码来源:index.php


示例17: ts_PrintDialogue

/**
 * Returns tasks by date printing dialogue
 * 
 * @return string
 */
function ts_PrintDialogue()
{
    $inputs = wf_DatePickerPreset('printdatefrom', curdate()) . ' ' . __('From');
    $inputs .= wf_DatePickerPreset('printdateto', curdate()) . ' ' . __('To');
    $inputs .= wf_Submit(__('Print'));
    $result = wf_Form("", 'POST', $inputs, 'glamour');
    return $result;
}
开发者ID:carriercomm,项目名称:Ubilling,代码行数:13,代码来源:api.teskman.php


示例18: cf_TypeGetSearchControl

/**
 * Returns search controller for CFs assigned to user
 * 
 * @param string $type Type of CF to return control
 * @param int    $typeid Type ID for change
 * 
 * @return string
 */
function cf_TypeGetSearchControl($type, $typeid)
{
    $type = vf($type);
    $typeid = vf($typeid);
    $result = '';
    if ($type == 'VARCHAR') {
        $inputs = wf_HiddenInput('cftypeid', $typeid);
        $inputs .= wf_TextInput('cfquery', '', '', false, 20);
        $inputs .= wf_Submit(__('Search'));
        $result = wf_Form("", 'POST', $inputs, '');
    }
    if ($type == 'TRIGGER') {
        $triggerOpts = array(1 => __('Yes'), 0 => __('No'));
        $inputs = wf_HiddenInput('cftypeid', $typeid);
        $inputs .= wf_Selector('cfquery', $triggerOpts, '', '', false);
        $inputs .= wf_Submit(__('Search'));
        $result = wf_Form("", 'POST', $inputs, '');
    }
    if ($type == 'TEXT') {
        $inputs = wf_HiddenInput('cftypeid', $typeid);
        $inputs .= wf_TextInput('cfquery', '', '', false, 20);
        $inputs .= wf_Submit(__('Search'));
        $result = wf_Form("", 'POST', $inputs, '');
    }
    return $result;
}
开发者ID:l1ght13aby,项目名称:Ubilling,代码行数:34,代码来源:api.cf.php


示例19: web_ReportMasterShowEditForm

 /**
  * Shows report editing form
  * 
  * @param string $reportfile
  */
 function web_ReportMasterShowEditForm($reportfile)
 {
     $reports_path = DATA_PATH . "reports/";
     $report_template = rcms_parse_ini_file($reports_path . $reportfile);
     $inputs = wf_TextInput('editreportname', __('Report name'), $report_template['REPORT_NAME'], true, 40);
     $inputs .= wf_TextInput('editsqlquery', __('SQL Query'), $report_template['REPORT_QUERY'], true, 40);
     $inputs .= wf_TextInput('editdatakeys', __('Data keys, separated by comma'), $report_template['REPORT_KEYS'], true, 40);
     $inputs .= wf_TextInput('editfieldnames', __('Field names, separated by comma'), $report_template['REPORT_FIELD_NAMES'], true, 40);
     $inputs .= web_RMTriggerSelector('editaddr', $report_template['REPORT_ADDR']) . ' ' . __('Show full address by login key') . wf_tag('br');
     $inputs .= web_RMTriggerSelector('editrnames', $report_template['REPORT_RNAMES']) . ' ' . __('Show Real Names by login key') . wf_tag('br');
     $inputs .= web_RMTriggerSelector('editrowcount', $report_template['REPORT_ROW_COUNT']) . ' ' . __('Show data query row count') . wf_tag('br');
     $inputs .= wf_Submit(__('Save'));
     $form = wf_Form('', 'POST', $inputs, 'glamour');
     show_window(__('Edit report'), $form);
 }
开发者ID:nightflyza,项目名称:Ubilling,代码行数:20,代码来源:index.php


示例20: dateControl

 /**
  * show calendar contol form
  * 
  * @return string
  */
 public function dateControl()
 {
     if (wf_CheckPost(array('showdate'))) {
         $curdate = $_POST['showdate'];
     } else {
         $curdate = curdate();
     }
     $inputs = wf_DatePickerPreset('showdate', $curdate);
     $inputs .= wf_Submit(__('Show'));
     $result = wf_Form('', 'POST', $inputs, 'glamour');
     return $result;
 }
开发者ID:carriercomm,项目名称:Ubilling,代码行数:17,代码来源:api.documents.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP wf_TableBody函数代码示例发布时间:2022-05-23
下一篇:
PHP wf_Selector函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap