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


PHP frmElements函数代码示例

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


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

示例1: buildForm

 function buildForm()
 {
     $sender = $GLOBALS["usermail"];
     $recepient = $this->getContactMethods($this->receiverid);
     if (count($recepient) > 0 && count($recepient) > 0 && !empty($sender)) {
         $formName = "email_" . rand();
         $fsEmail = array(array(array("From", "fromEmail", "readonly='readonly'", 0, null, $sender), array("To", "toEmail", null, 1, $recepient, null), array(null, "from", null, 3, null, $this->sendername)), array(array("Subject", "subject", 'style="width:100% !important"', 0, null, null, null, null, null, null, null, 'style="width:100%"')), array(array("Message", "message", null, 6)), array(array(null, null, "onclick='clearPop()'", 2, null, 'Close'), array(null, null, 'onclick="prepSaveChanges(\'' . $formName . '\')"', 2, null, 'Send')));
         $form = '<style>.frmcol.text {clear:both;width:100%}</style>';
         $form .= '<form class="' . $this->className . '" method="post" id="' . $formName . '" name="' . $formName . '" action="javascript:submitFrmVals(\'emailDebug\',\'' . $this->path . '\',\'email_to\',null,\'' . $formName . '\')">';
         $form .= '<fieldset><legend>Email</legend>';
         $form .= frmElements($fsEmail);
         $form .= '</fieldset></form><div id="emailDebug">&nbsp</div>';
         $form .= '<script>CKEDITOR.replace( "message" ,{toolbarStartupExpanded : true});</script>';
         return $form;
     } else {
         $fsEmail = array(array(array(null, null, "onclick='clearPop()'", 2, null, 'Close')));
         $form = '<form action="#" method="post" class="' . $this->className . '">';
         $form .= '<fieldset><legend>Email</legend>';
         $form .= '<div class="clEmailError">Sorry. You have not defined an E-Mail address for either your account or the contact your are trying to reach.</div>';
         $form .= frmElements($fsEmail);
         $form .= '</fieldset></form>';
         return $form;
     }
 }
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:24,代码来源:ArcEmailForm.php

示例2: ArcDb

$listStatus = $gdbo->dbData;
# Filterable Objects
## Branches
$gdbo = new ArcDb();
$gdbo->dbConStr = $globalDBCON;
$gdbo->dbType = $globalDBTP;
$gdbo->dbSchema = $globalDB;
$gdbo->sql = "SELECT\nid_cust_branch,\ncust_branch\nFROM _cust_branch";
$gdbo->dbFilter = " WHERE id_cust_company=";
$gdbo->type = "list";
$gdbo->id = "id_cust_branch";
$gdbo->attributes = 'class="chBranch"';
$branchdboJSON = encrypt(json_encode((array) $gdbo));
# Fieldsets
$configData = array(array(array('Company', 'id_cust_company', 'onChange="filterRec(this,\'' . $branchdboJSON . '\',\'dBranch\')"', 1, $listCompanies), array('Branch', 'id_cust_branch', 'disabled=\\"disabled\\" class=\\"chBranch\\" onchange="cpSelToTxt(this,\'cfg\',16)"', 1, null, null, 'dBranch')), array(array('Catalog', 'cfg', null, 0), array('Category', 'id_cfg_grp', null, 1, $listConfigGroups), array('Status', 'id_sys_status', null, 1, $listStatus)), array(array('Description', 'cfg_descr', null, 6)));
?>
<script type="text/javascript">$(".icoadd").remove();</script>
<form name="frmConfig" id="frmConfig" method="post" action="javascript:submitFrmVals('content','/_mod/smod_18/sql.php','id_cust_company,id_cust_branch,id_cfg_grp,id_sys_status,cfg','&action=insert&form=frmConfig','frmConfig')">
<fieldset id="catalog">
<legend>
Catalog
</legend>
<?php 
echo frmElements($configData);
?>
</fieldset>
</form>
<script type="text/javascript">
CKEDITOR.replace("cfg_descr");
</script>
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:30,代码来源:add.php

示例3: frmElements

?>
<script type="text/javascript">$(".icoadd").remove();</script>
<form method="post" id="frmpurchaseorder" name="frmpurchaseorder" action="javascript:submitFrmVals('content','/_mod/smod_29/sql.php','<?php 
echo $requiredFields;
?>
','&action=insert&form=frmpurchaseorder','frmpurchaseorder')">
<fieldset id="customer">
<legend>Vendor</legend>
<?php 
echo frmElements($fsCustomer);
?>
</fieldset>
<fieldset id="vendor">
<legend>Summary</legend>
<?php 
echo frmElements($fspurchaseorder);
?>
</fieldset>
<?php 
$lineItem = new POLineItem();
$lineItem->build();
$payment = new POPayment();
$payment->build();
?>
 
</form>
<script type="text/javascript">
<?php 
echo $icoCollapse;
?>
$("#oOptions").append(icoCollapse);
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:31,代码来源:add.php

示例4: getFooter

 function getFooter()
 {
     $elements = array(array(array(null, 'payment_mText', null, 6, null, null, null, null, ' style="display:none" ')));
     $footerElements = frmElements($elements);
     return $footerElements;
 }
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:6,代码来源:ArcPayment.php

示例5: encrypt

$gdbo->id = "id_device";
$gdbo->attributes = 'class="chDevice"';
$devicedboJSON = encrypt(json_encode((array) $gdbo));
# Actions
$deviceAction = array(array(array(null, 'deviceSubmit', 'onclick="prepSaveChanges(\'frmDevice\')"', 2, null, 'Save Changes'), array(null, 'deviceClose', 'onclick="clearPop()"', 2, null, 'Close')));
# Fieldsets
$deviceForm = array(array(array('Parent Configuration', 'id_cfg', null, 1, $listConfiguration, $rec[0]["id_cfg"]), array('Key Enabled', 'cfg_device_keyenabled', null, 8, null, $rec[0]["cfg_device_keyenabled"]), array(null, 'id_cfg_device', null, 3, null, $_POST["id_cfg_device"])), array(array('Device Label', 'cfg_device', null, 0, null, $rec[0]["cfg_device"]), array('Operating System', 'cfg_device_os', null, 0, null, $rec[0]["cfg_device_os"]), array('Administrator', 'id_hr_emp', null, 1, $listUsers, $rec[0]["id_hr_emp"])), array(array('Type', 'id_device_grp', 'onchange="filterRec(this,\'' . $devicedboJSON . '\',\'dDevice\')"', 1, $listDeviceGroup, $rec[0]["id_device_grp"]), array('Device', 'id_device', 'class="chDevice"', 1, $listDevice, $rec[0]["id_device"], 'dDevice')), array(array('Serial Number', 'cfg_device_serialnumber', null, 0, null, $rec[0]["cfg_device_serialnumber"]), array('Status', 'id_sys_status', null, 1, $listStatus, $rec[0]["id_sys_status"])), array(array('Date Created', null, 'disabled=\\"disabled\\"', 0, null, $rec[0]["cfg_device_dc"]), array('Date Updated', null, 'disabled=\\"disabled\\"', 0, null, $rec[0]["cfg_device_du"])), array(array('Notes', 'cfg_device_notes', 'onkeydown="detectTab(this,event)"', 6, null, $rec[0]["cfg_device_notes"])), array(array('Management Key', 'cfg_device_key', null, 6, null, $rec[0]["cfg_device_key"])));
?>
<div id="popBox">
<form name="frmDevice" id="frmDevice" method="post" action="javascript:submitFrmVals('popWindow','/_mod/smod_18/sql.php','id_sys_status,id_device_grp,id_device','&action=edit&form=frmDevice','frmDevice')">
<fieldset id="Edit Device">
<legend>
Edit Device
</legend>
<?php 
echo frmElements($deviceAction);
echo frmElements($deviceForm);
?>
<h3>Configured Interfaces</h3>
<div id="tblinterface" class="fieldsettable">
<?php 
include "list_interface.php";
?>
</div>
</fieldset>
</form>
</div>
<script type="text/javascript">
CKEDITOR.replace("cfg_device_notes");
</script>
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:30,代码来源:edit_cfgdevice.php

示例6: array

$gdbo->getRec();
$listContractStatus = $gdbo->dbData;
# Fieldset Variables
$buttonDate = '<div class="elementIconBox" onclick="openCalendar(this,\'interface\',null,\'dateFld\')"><i class="fa fa-calendar"></i></div>';
# Fieldsets
$fsContract = array(array(array("*Organization", "id_cust_company", null, 1, $listCompany, $rec[0]["id_cust_company"]), array("*Status", "id_sys_status", null, 1, $listContractStatus, $rec[0]["id_sys_status"]), array(null, "id_contract", null, 3, null, $rec[0]["id_contract"])), array(array("*Type", "id_contract_tp", null, 1, $listContractTp, $rec[0]["id_contract_tp"]), array("*Category", "id_contract_cat", null, 1, $listContractCat, $rec[0]["id_contract_cat"])), array(array("*Contract", "contract", null, 0, null, $rec[0]["contract"]), array("*Label", "contract_label", null, 0, null, $rec[0]["contract_label"])), array(array("*Value", "contract_value", 'onblur="validateElement(\'money\',this)"', 0, null, $rec[0]["contract_value"]), array("Paid to Date", "paid", 'disabled="disabled"', 0, null, $rec[0]["contract_paid"])), array(array('Award Date', 'contract_da', 'class="dateFld elementIcon" onblur="validateElement(\'date\',this)"', 0, null, $rec[0]["contract_da"], null, $buttonDate, null, 'YYYY-MM-DD'), array("Date Updated", "contract_du", 'disabled="disabled"', 0, null, $rec[0]["contract_du"])), array(array('Execution Date', 'contract_ds', 'class="dateFld elementIcon" onblur="validateElement(\'date\',this)"', 0, null, $rec[0]["contract_ds"], null, $buttonDate, null, 'YYYY-MM-DD'), array("Date Terminated", "contract_dr", 'disabled="disabled"', 0, null, $rec[0]["contract_dr"])), array(array('Expiration Date', 'contract_de', 'class="dateFld elementIcon" onblur="validateElement(\'date\',this)"', 0, null, $rec[0]["contract_ds"], null, $buttonDate, null, 'YYYY-MM-DD')), array(array('General Notes', 'contract_notes', 'onkeydown="detectTab(this,event)"', 6, null, hex2str($rec[0]["contract_notes"]))), array(array('Billing Notes', 'contract_billingNotes', 'onkeydown="detectTab(this,event)"', 6, null, hex2str($rec[0]["contract_billingNotes"]))));
$requiredFields = "contract_value,id_cust_company,id_sys_status,contract_label,contract,id_contract_cat,id_contract_tp";
?>
<form method="post" id="frmContract" name="frmContract" action="javascript:submitFrmVals('content','/_mod/smod_08/sql.php','<?php 
echo $requiredFields;
?>
','&form=frmContract&action=update','frmContract')">
<fieldset id="contract_detail">
<legend>Contract Detail</legend>
<?php 
echo frmElements($fsContract);
?>
</fieldset>
</form>
<form action="#">
<fieldset id="Files">
<legend>Files</legend>
<div id="listFiles">
<?php 
require "listFiles.php";
?>
</div></fieldset></form>
<script type="text/javascript">
oREC = '{"oRec":[{"module":"08","filter":"id_contract","recid":"<?php 
echo $_POST["id_contract"];
?>
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:31,代码来源:edit.php

示例7: shell_exec

$gdbo->getRec();
$fsoRec = $gdbo->dbData;
if (isset($fsoRec[0][0]) && $fsoRec[0][0]) {
    $base64 = shell_exec("base64 " . $avatarWritePath . $fsoRec[0][0]);
    $avatar = "data:image/png;base64," . $base64;
} else {
    $avatar = "/_img/device.png";
}
?>
<div style="float:right;text-align:center;"><?php 
include "add_avatar.php";
?>
</div>
</div>
<?php 
echo frmElements($fsDescription);
?>
</fieldset>
</form>
<form action="#">
<fieldset id="Files">
<legend>Files</legend>
<div id="listFiles">
<?php 
require "listFiles.php";
?>
</div></fieldset></form>
<script type="text/javascript">
oREC = '{"oRec":[{"module":"26","filter":"id_device","recid":"<?php 
echo $_POST["id_device"];
?>
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:31,代码来源:edit.php

示例8: array

<form id="popBox">
<fieldset>
<legend>Invoice Series</legend>
<?php 
require_once "_lib/php/auth.php";
$buttonAdd = '<div class="elementIconBox" onclick="arc(\'listInvoiceSeries\',\'/_mod/smod_27/controls/sql_invoice_series.php\',\'invoice_series=\'+$(\'#invoice_series\').val()+\'&form=frminvoiceseries&action=insert\')"><i class="fa fa-plus"></i></div>';
$deviceAction = array(array(array(null, 'deviceClose', 'onclick="clearPop()"', 2, null, 'Close')));
$fs = array(array(array('Series Name', 'invoice_series', 'class="elementIcon"', 0, null, null, null, $buttonAdd)));
echo frmElements($fs);
?>
<div id="listInvoiceSeries">
<?php 
require "_mod/smod_27/models/list_invoice_series.php";
?>
</div>
<?php 
echo frmElements($deviceAction);
?>
</fieldset>
</form>
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:20,代码来源:view_invoice_series.php

示例9: array

$buttonAdd = '<a id="buttonAddNetwork" class="elementIconBox disableButton" title="Add Network"><i class="fa fa-plus"></i></a>';
$buttonValidate = '<a id="buttonValidateNetwork" class="elementIconBox" title="Validate Network" onclick="validateNetwork(\'cfg_device_ip4netaddress\',\'cfg_device_ip4netaddress_nmbits\',\'id_cfg_device_netgroup\',window.listNetwork,null,\'frmNetwork\');return false;"><i class="fa fa-check"></i></a>';
$mnunetwork = array(array(array('NetGroup', 'id_cfg_device_netgroup', 'class="clNetGroups"', 1, $listnetgroup), array('Netmask', 'cfg_device_ip4netaddress_nmbits', null, 1, $listnetmask), array('Network', 'cfg_device_ip4netaddress', 'class="elementIcon" style="width:140px!important" onblur="validateElement(\'ip\',this)"', 0, null, null, null, $buttonValidate . $buttonAdd, null, "IP Address")));
/**************************************************/
?>
<style type="text/css">
.disableButton,.disableButton:hover {
background-color:#fafafa !important;
color:#d5d3d1 !important;
border:1px solid #fff !important;
-moz-box-shadow:none !important;
-webkit-box-shadow:none !important;
box-shadow:v !important;
}
</style>
<legend>
Add Network
</legend>
<?php 
echo frmElements($mnunetwork);
?>
<h3>Configured Networks</h3>
<div id="tblnetwork" class="fieldsettable">
<?php 
include "list_network.php";
?>
</div>
<script type="text/javascript">
$("#buttonAddNetwork").unbind( "click" );
</script>
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:30,代码来源:inc_network.php

示例10: frmElements

<fieldset id="job_description">
<legend>Job Description</legend>
<?php 
echo frmElements($fsJobDescription);
?>
</fieldset>
<fieldset id="duties">
<legend>Duties</legend>
<?php 
echo frmElements($fsDuties);
?>
</fieldset>
<fieldset id="qualifications">
<legend>Qualifications</legend>
<?php 
echo frmElements($fsQualifications);
?>
</fieldset>
</form>
</div>
<script type="text/javascript">
<?php 
echo $icoCollapse;
?>
oREC = '{"oRec":[{"module":"06","filter":"id_hr_position","recid":"<?php 
echo $_POST["id_hr_position"];
?>
","formname":"frmPosition"}]}';
<?php 
echo $icoDelete;
echo $icoCollapse;
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:31,代码来源:edit.php

示例11: encrypt

$filterDBO->sql = "SELECT \nid_cust_contact, \nconcat(cust_contact_familyName,',',cust_contact_givenName) as cust_contact FROM _cust_contact";
$filterDBO->dbFilter = "WHERE id_cust_company=";
$filterDBO->type = "list";
$filterDBO->id = "id_cust_contact";
$filterDBO->attributes = "class='chContact'";
$contactJSON = encrypt(json_encode((array) $filterDBO));
# Fieldsets
$fsSystemUser = array(array(array("Username", "sys_user", null, 0, null, $rec[0]["sys_user"]), array("Status", "id_sys_status", null, 1, $listStatus, $rec[0]["id_sys_status"]), array(null, "id_sys_user", null, 3, null, $rec[0]["id_sys_user"])), array(array("Organization", "id_cust_company", 'onchange="filterRec(this,\'' . $contactJSON . '\',\'dContact\')"', 1, $listCompany, $rec[0]["id_cust_company"]), array("User Record", "id_cust_contact", 'class="chContact"', 1, $listContact, $rec[0]["id_cust_contact"], 'dContact')), array(array("E-Mail", "sys_user_recovery", 'onblur="validateElement(\'email\',this)"', 0, null, $rec[0]["sys_user_recovery"]), array("Time Approval E-Mail", "sys_user_tmEmail", 'onblur="validateElement(\'email\',this)"', 0, null, $rec[0]["sys_user_tmEmail"])));
?>
<form method="post" name="frmUser" id="frmuser" action="javascript:submitFrmVals('content','/_mod/smod_14/sql.php','sys_user,sys_user_pw,id_hr_emp','&form=frmUser&action=update','frmUser')">
<fieldset id="user_management">
<legend>
User Management
</legend>
<?php 
echo frmElements($fsSystemUser);
?>
</fieldset>
<fieldset id="permissions">
<legend>
Permissions
</legend>
<?php 
include "editPermissions.php";
?>
</fieldset>
</form>
<script type="text/javascript">
<?php 
echo $icoCollapse;
?>
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:31,代码来源:edit.php

示例12: getElements

 function getElements()
 {
     $records = $this->getRecords();
     if ($records !== false) {
         $dataElements = "";
         $regionFiltered = array();
         $listRegions = $this->listRegions;
         for ($i = 0; $i < count($listRegions); $i++) {
             if ($listRegions[$i][2] == $records[0]["id_loc_country"]) {
                 $regionFiltered[] = array($listRegions[$i][0], $listRegions[$i][1]);
             }
         }
         $elements = array(array(array('Country', 'id_loc_country', 'onchange="filterRec(this,\'' . $this->regionDBO . '\',\'dRegion\')"', 1, $this->listCountries, $records[0]["id_loc_country"]), array('State/Region', 'id_loc_region', 'class=\'chRegion\'', 1, $regionFiltered, $records[0]["id_loc_region"], "dRegion")), array(array('Address Line 1', 'addr_line1', null, 0, null, $records[0]["addr_line1"]), array(null, 'id_addr', null, 3, null, $records[0]['id_addr'])), array(array('Address Line 2', 'addr_line2', null, 0, null, $records[0]["addr_line2"])), array(array('City', 'loc_city', null, 0, null, $records[0]["loc_city"])), array(array('Postal Code', 'loc_postal_code', 'onblur="validateElement(\'zip\',this)"', 0, null, $records[0]["loc_postal_code"])));
         $dataElements = frmElements($elements);
     } else {
         $dataElements = null;
     }
     return $dataElements;
 }
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:19,代码来源:ArcAddress.php

示例13: ArcDb

# Filterable Objects
## Network
$gdbo = new ArcDb();
$gdbo->dbConStr = $globalDBCON;
$gdbo->dbType = $globalDBTP;
$gdbo->dbSchema = $globalDB;
$gdbo->sql = "SELECT\nid_cfg_device_ip4netaddress,\nCONCAT(CAST(inet_ntoa(cfg_device_ip4netaddress) as CHAR),'/',CAST(cfg_device_ip4netaddress_nmbits as CHAR)) as Network\nFROM _cfg_device_ip4netaddress";
$gdbo->dbFilter = " WHERE id_cfg_device_netgroup=";
$gdbo->type = "list";
$gdbo->id = "id_cfg_device_ip4netaddress";
$gdbo->attributes = 'class="chNetwork" onchange="IPInNetwork(document.getElementById(\'cfg_device_interface_ip4hostaddress\'),document.getElementById(\'id_cfg_device_ip4netaddress\'))"';
$networkdboJSON = encrypt(json_encode((array) $gdbo));
$buttonAdd = '<a id="addInterface" onclick="IPIsUnique(document.getElementById(\'cfg_device_interface_ip4hostaddress\'),\'id_cfg_device_ip4netaddress\',null,null,\'frminterfacesubmit\',\'frmInterface\')" class="elementIconBox" title="Add Interface"><i class="fa fa-plus"></i></a>';
# Fieldsets
$mnuinterface = array(array(array('Interface Label', 'id_device_interfacelabel', 'class="clInterfaceLabel"', 1, $listiflabel), array('Speed/Duplex', 'id_device_ifspeedduplex', '', 1, $listifspeedduplex), array("MAC Address", "cfg_device_interface_mac", 'onblur="validateElement(\'mac\',this)"', 0), array(null, 'id_device', null, 3, null, $_POST["id_device"]), array(null, 'id_cfg', null, 3, null, $_POST["id_cfg"]), array(null, 'id_device', null, 3, null, $_POST["id_cfg_device"])), array(array('NetGroup', 'id_cfg_device_netgroup', 'class="clNetGroups" onChange="filterRec(this,\'' . $networkdboJSON . '\',\'dNetwork\');IPInNetwork(document.getElementById(\'cfg_device_interface_ip4hostaddress\'),document.getElementById(\'id_cfg_device_ip4netaddress\'))"', 1, $listnetgroup), array('Network Assignment', 'id_cfg_device_ip4netaddress', 'class="chNetwork" disabled="disabled"', 1, null, null, 'dNetwork'), array('Address', 'cfg_device_interface_ip4hostaddress', 'onblur="validateElement(\'ip\',this)" disabled="disabled" class="elementIcon"', 0, null, null, null, $buttonAdd)));
/**************************************************/
?>
<legend>
Add Interface
</legend>
<?php 
echo frmElements($mnuinterface);
?>
<h3>Configured Interfaces</h3>
<div id="tblinterface" class="fieldsettable">
<?php 
include "list_interface.php";
?>
</div>
<div id="intfInsertError" style="display:none"></div>
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:30,代码来源:inc_interface.php

示例14: array

$gdbo->sql = "SELECT id_cust_branch_tp,cust_branch_tp FROM _cust_branch_tp ORDER BY cust_branch_tp";
$gdbo->getRec();
$listBranchTp = $gdbo->dbData;
# Fieldsets
$fsBranch = array(array(array('*Tag', 'id_cust_company_tp', 'onchange="childListFilter(this,\'list\',window.listcompany,2,\'0-1\',\'id_cust_company\',\'chCompany\')"', 1, $listCompanyTp), array('*Organization', 'id_cust_company', 'disabled=\'disabled\' class=\'chCompany\'', 1, $listCompany)), array(array('*Branch', 'cust_branch', null, 0), array('*Branch Type', 'id_cust_branch_tp', null, 1, $listBranchTp)));
$requiredFields = "id_cust_company,cust_branch,id_cust_company_tp,id_cust_branch_tp";
?>
<script type="text/javascript">$(".icoadd").remove();</script>
<form method="post" name="frmBranch" id="frmBranch" action="javascript:submitFrmVals('content','/_mod/smod_02/sql.php','<?php 
echo $requiredFields;
?>
','&form=frmBranch&action=insert','frmBranch')">
<fieldset id="branch_detail">
<legend>Branch Detail</legend>
<?php 
echo frmElements($fsBranch);
?>
</fieldset>
<?php 
$contacts = new ContactMethods();
$contacts->build();
$address = new ArcAddress();
$address->build();
?>
</form>
<script type="text/javascript">
<?php 
echo $icoCollapse;
?>
$("#oOptions").append(icoCollapse);
collapseTabs();
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:31,代码来源:add.php

示例15: Copyright

/*
Copyright (c) 2010-2016 Carlos Omar Villanueva

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
require_once "_lib/php/auth.php";
require_once "_includes/optionstoolbar.php";
# Fieldsets
$fsGroup = array(array(array('Group', 'sys_group', null, 0)));
?>
<script type="text/javascript">$(".icoadd").remove();</script>
<form method="post" name="frmGroup" id="frmGroup" action="javascript:submitFrmVals('content','/_mod/smod_24/sql.php',null,'&form=frmGroup&action=insert','frmGroup')">
<fieldset id="group">
<legend>Group</legend>
<?php 
echo frmElements($fsGroup);
?>
</fieldset>
</form>
开发者ID:CarlosOVillanueva,项目名称:BIFROST,代码行数:30,代码来源:add.php


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