本文整理汇总了PHP中form::open_section方法的典型用法代码示例。如果您正苦于以下问题:PHP form::open_section方法的具体用法?PHP form::open_section怎么用?PHP form::open_section使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类form
的用法示例。
在下文中一共展示了form::open_section方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<?php
echo html::anchor('http://wiki.2600hz.org/display/bluebox/Modifying+the+max+file+size', 'link');
?>
.
</div>
<?php
echo form::close_section();
?>
<?php
} else {
?>
<?php
echo form::open_section('Media Information');
?>
<div class="field">
<label class="label">Path: </label>
<span><?php
echo $mediafile->filepath(TRUE, FALSE);
?>
</span>
</div>
<div class="field">
<?php
echo form::label(array('for' => 'sample_rates', 'hint' => 'Click to Download'), 'Sample Rates:');
?>
<span>
示例2:
<h2><?php
echo $title;
?>
</h2>
</div>
<div id="locationmanager_update_form" class="update locationmanager">
<?php
echo form::open();
?>
<?php
echo form::open_section('Location Information');
?>
<div class="field">
<?php
echo form::label('location[name]', 'Location Name:');
echo form::input('location[name]');
?>
</div>
<div class="field">
<?php
echo form::label('location[domain]', 'Domain Name/Realm:');
echo form::input('location[domain]');
?>
</div>
示例3: __
<?php
echo form::open_section('Options');
?>
<div class="field">
<label for="number{{number_id}}_registry_ringtype" class="label" id="label_number{{number_id}}_registry_ringtype">
<?php
echo __('Ring Type');
?>
:
</label>
<select class="dropdown" name="number{{number_id}}[registry][ringtype]" id="number{{number_id}}_registry_ringtype">
<option value="ringing" {{#ringtype_ringing}}selected="selected"{{/ringtype_ringing}}><?php
echo __('Ringing');
?>
</option>
<option value="moh" {{#ringtype_moh}}selected="selected"{{/ringtype_moh}}><?php
echo __('Hold Music');
?>
</option>
</select>
</div>
<div class="field">
示例4: __
</div>
<div class="field">
<?php
echo form::label('samples', 'Install Sample Data');
echo form::checkbox('samples');
?>
</div>
<?php
echo form::close_section();
?>
<?php
echo form::open_section('Anonymous Usage Statistics');
?>
<p>
<?php
echo __('This option enables reporting on which modules you use. The data is sent to the Bluebox team via the Internet. We DO NOT transmit any configuration options or personally identifiable information. This feature ensures our focus remains on the modules people use most. Thank you for your support!');
?>
</p>
<div class="field">
<?php
echo form::label('collectStatistics', 'Allow Anonymous Statistic Collection');
echo form::checkbox('collectStatistics');
?>
</div>
示例5: array
<?php
echo form::open_section('Active Feature Code');
?>
<div class="field">
<?php
echo form::label('activefeaturecode[type]', 'Type:');
echo form::dropdown('activefeaturecode[type]', array('0' => 'None', 'transfer' => 'Transfer'));
?>
</div>
<div id="active_feature_code_options">
<div class="field">
<?php
echo form::label('activefeaturecode[number]', 'Feature Code:');
echo form::input('activefeaturecode[number]');
?>
</div>
<div class="field">
<?php
echo form::label('activefeaturecode[exten]', 'Destination: ');
?>
<?php
if (isset($activefeaturecode['exten'])) {
$selectedClass = numbering::getAssignedPoolByNumber($activefeaturecode['exten']);
} else {
$selectedClass = NULL;
}
echo numbering::poolsDropdown(array('name' => 'activefeaturecode_class_type', 'forDependent' => TRUE), $selectedClass);
示例6: function
index.php/callcenter_tiers/updatequeuedropdownbylocation/'+locid, function(data) {$('#callcenter_tier_cct_ccq_id').html(data);});
}
</script>
<div id="callcenter_update_header" class="txt-center update callcenter module_header">
<h2><?php
echo $mode == 'create' ? 'Create' : 'Edit';
?>
Tier</h2>
</div>
<div id="callcenter_update_form" class="update callcenter">
<?php
echo form::open();
?>
<?php
echo form::open_section('');
?>
<div class="field">
<?php
echo form::label(array('for' => 'location'), 'Location:');
echo form::dropdown(array('name' => 'location', 'onChange' => 'updateAgentsQueues(this.value)'), $locations, null, isset(Router::$arguments[0]) && Router::$arguments[0] != 'null' ? 'disabled' : '');
?>
</div>
<div class="field">
<?php
echo form::label(array('for' => 'callcenter_tier[cct_cca_id]'), 'Agent:');
echo form::dropdown(array('name' => 'callcenter_tier[cct_cca_id]'), $agentlist, null, isset(Router::$arguments[1]) && Router::$arguments[1] != 'null' ? 'onFocus="this.blur()"' : '');
?>
</div>
示例7: __
<style>
.no_answer_accordion {width:55em; margin: 0 auto;}
</style>
<?php
echo form::open_section('No Answer');
?>
<div id="number{{number_id}}_no_answer_accordion" class="no_answer_accordion">
<h3>
<a href="#" rel="hangup"><?php
echo __('Hangup');
?>
</a>
</h3>
<div style="text-align: center;">
<?php
echo __('If this call is not answered hangup.');
?>
</div>
<?php
foreach ($terminators as $terminator) {
echo new View($terminator, array('terminate' => $terminate, 'mustache_template' => FALSE));
}
示例8:
<?php
echo form::open_section('Master Administration Account');
?>
<div class="field">
<?php
echo form::label('adminEmailAddress', 'Email Address:');
echo form::input('adminEmailAddress');
?>
</div>
<div class="field">
<?php
echo form::label('adminPassword', 'Password:');
echo form::password('adminPassword');
?>
</div>
<div class="field">
<?php
echo form::label('adminConfirmPassword', 'Confirm Password:');
echo form::password('adminConfirmPassword');
?>
</div>
<?php
echo form::close_section();
示例9:
<div class="field">
<?php
echo form::label(array(
'for' => 'callerid[external_number]',
'hint' => 'Used for outside calls',
'help' => 'Caller ID information used when calling phones outside this network.'
),
'External CID Number:'
);
echo form::input('callerid[external_number]');
?>
</div>
<?php echo form::close_section(); ?>
<?php echo form::open_section('Call Routing'); ?>
<div class="field">
<?php
echo form::label('number[location_id]', 'Location:');
echo locations::dropdown('number[location_id]');
?>
</div>
<div class="field">
<?php
echo form::label(array(
'for' => 'device[context_id]',
'hint' => 'Default outbound call context',
'help' => 'This field determines the phone numbers a user can call. All phone numbers and SIP trunks associated with the selected context can be dialed by this user.<BR><BR>Note that, in most cases, the user\'s device must authenticate in order for this to work. Note that if this is not set, the context for the default interface a call is received on is used instead.'
),
示例10: empty
echo $title;
?>
</h2>
</div>
<div id="callcenter_settings_update_form" class="update callcenter">
<div class="sub_menu"><a class="qtipAjaxForm" href="/bluebox/index.php/callcenter_core/syncRunningConfig">Synchronize Configuration</a></div>
<div class="sub_menu"><a class="qtipAjaxForm" href="/bluebox/index.php/callcenter_core/reload">Load/Reload Callcenter</a></div>
<?php
echo form::open();
?>
<?php
echo form::open_section('Core Settings');
?>
<?php
if (class_exists('OdbcManager')) {
?>
<div class="field">
<?php
echo form::label(array('for' => 'callcenter_settings[cc_odbc_dsn]', 'hint' => 'DSN to use for Call Center Data', 'help' => 'Select an ODBC DSN to save the Call Center Data to an external database for clustering, reporting, external application integration, etc.'), 'DSN:');
echo OdbcManager::dsnSelector('callcenter_settings[cc_odbc_dsn]', empty($cc_odbc_dsn) ? NULL : $cc_odbc_dsn);
?>
</div>
<?php
}
?>
<div class="field">
示例11: unchecked
<?php
echo form::open_section('Media Handling Option');
?>
<div class="field">
<?php
echo form::label(array('for' => 'mediaoption[bypass_media]', 'hint' => 'Try to connect the endpoint media directly', 'help' => 'When checked the switching system will attempt to connect the RTP/media path directly, without participating in the stream. This takes the server out of the audio stream, preventing touch tone detection, and also requires endpoint A and B to be able to reach each other directly. Endpoint A and B will see each other\'s IP addresses during SIP audio setup.<br><br>When unchecked (default), the switching system will stay in the RTP/media path for the duration of the call. This adds an extra hop for the audio to take, adding a delay, but can fix DTMF and Codec issues by allowing transcoding to occur on the switch side. In addition, you can also monitor the audio on the call for events such as touch-tones. <br><br>When enabled provides best call quality, reduces bandwidth consumption and processing overhead on the switching server. However, it is more complicated to get to work correctly.'), 'Enable RTP/Media Bypass Mode:');
echo form::checkbox('mediaoption[bypass_media]');
?>
</div>
<?php
echo form::close_section();
示例12: function
<?php
echo form::open_section('Softswitch Selection');
?>
<div class="field">
<?php
echo form::label('tel_driver', 'Telephony Driver:');
echo form::dropdown('tel_driver', $drivers, $driver);
?>
</div>
<?php
echo form::close_section();
?>
<?php
// If the jquery exists use it to make it more interactive
if (class_exists('jquery')) {
jquery::addPlugin('blockUI');
jquery::addQuery('')->ajaxStop('$.unblockUI');
jquery::addQuery('#tel_driver')->change('
function () {
$.blockUI({ message: \'<h2>' . __('Please Wait...') . '</h2>\' });
$(\'#installWizard\').submit();
return true;
}
');
}
示例13:
echo form::label('autoattendant[extension_digits]', 'Maximum Extension Length:');
?>
<?php
echo form::input('autoattendant[extension_digits]');
?>
<?php
//javascript::codeBlock('$("#autoattendant_extension_digits").spinner({max: 9, min: 3});');
?>
</div>
<?php
echo form::close_section();
?>
<?php
echo form::open_section('Key Mapping');
?>
<div id="auto_attendant_keymap"> </div>
<div class="new_option_container">
<?php
echo '<a href="' . url::current() . '" id="new_option" class="nxt_aval_link"><span>New Attendant Option</span></a>';
?>
</div>
<?php
echo form::close_section();
?>
<?php
示例14: __
<?php
echo form::open_section('Number Pools');
?>
<p>
<?php
echo __('Used to signify what this number can be used for. Number pools allow you to keep similar types of numbers grouped together.
For example, you can block out 2XXX for Devices, 30XX for Auto-Attendants, 31XX for Ring Groups, etc.
Check the boxes below to specify what types of features can be assigned to this number.');
?>
</p>
<ul>
<?php
foreach ($numberTypes['numberTypes'] as $numberType) {
?>
<li>
<div class="field">
<?php
echo form::label('numberType_' . $numberType['number_type_id'], inflector::humanizeModelName(str_replace('Number', '', $numberType['class'])));
?>
<?php
echo form::checkbox(array('name' => 'number[NumberPool][][number_type_id]', 'id' => 'numberType_' . $numberType['number_type_id']), $numberType['number_type_id']);
?>
示例15: __
</div>
<div id="<?php
echo $baseModel;
?>
_delete_form" class="delete <?php
echo $baseModel;
?>
">
<?php
echo form::open();
?>
<?php
echo form::open_section('Confirm');
?>
<div class="delete_warning">
<?php
echo __('Are you sure you want to delete the ' . $baseModel . ' ' . $name . '?');
?>
</div>
<?php
echo form::close_section();
?>
<?php