fixed spelling errors

This commit is contained in:
dex 2017-10-12 00:34:00 -04:00
parent 8a8dd33e0d
commit d96967715c
4 changed files with 7 additions and 8 deletions

View file

@ -1942,7 +1942,6 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
if (!empty($value[0])) {
if (!in_array($value[0], array('0.0.0.0', '127.0.0.1'), true)) {
$xnode_obj = clone $xnode->member;
$xnode_obj['priority'] = $ifc;
//$xnode_obj = &$xnode -> member -> callManager;
$xnode_obj->callManager->name = $this->sccpvalues['servername']['data'];

View file

@ -396,7 +396,7 @@ $(document).ready(function () {
// $("#add_new_model").modal('hide');
}
if ($(this).data('id') === 'model_applay') {
if ($(this).data('id') === 'model_apply') {
var dev_cmd = 'model_update';
var dev_fld = ["model", "loadimage", "nametemplate"];
datas = '';
@ -609,7 +609,7 @@ function load_oncliсk(e, data) {
opts_idx = j;
}
}
if (opts_idx => 0) {
if (opts_idx >= 0) {
$('#destination_' + dev_fld[i]).append($(opts[opts_idx]).clone());
$(opts[opts_idx]).remove();
}

View file

@ -36,7 +36,7 @@
<thead>
<tr>
<th data-checkbox="true"></th>
<th data-sortable="false" data-formatter="StatusIconFormatter" data-field="enabled"><?php echo _('Eabled');?></th>
<th data-sortable="false" data-formatter="StatusIconFormatter" data-field="enabled"><?php echo _('Enabled');?></th>
<th data-sortable="true" data-field="model"><?php echo _('Device Model');?></th>
<th data-sortable="true" data-field="vendor"><?php echo _('Vendor');?></th>
<th data-sortable="false" data-formatter="DisplayDnsFormatter" data-field="dns"><?php echo _('Expansion Module');?></th>
@ -194,7 +194,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo _('Close');?></button>
<button type="button" class="btn btn-primary sccp_update" data-id="model_applay" data-dismiss="modal"><?php echo _('Applay');?></button>
<button type="button" class="btn btn-primary sccp_update" data-id="model_apply" data-dismiss="modal"><?php echo _('apply');?></button>
</div>
</div>
</div>

View file

@ -64,8 +64,8 @@ if (!empty($_REQUEST['new_id'])) {
<ul>
<li>empty: Empty button (no options)</li>
<li>line: Registers the line with identifier specified as [name]</li>
<li>silent: butons equal 'Line' with out ring</li>
<li>monitor: butons mode speeddial + show status</li>
<li>silent: buttons equal 'Line' with out ring</li>
<li>monitor: buttons mode speeddial + show status</li>
<li>speeddial: Adds a speeddial with label [name] and [option1] as number Optionally, [option2] can be used to specify a hint by extension@context as usual.</li>
<li>service (not implemented): Adds a service url Feature buttons have an on/off status represented on the device with a tick-box and can be used to set the device in a particular state. Currently Possible [option1],[option2] combinations:</li>
<ul>