applied Pavel's patch (2971792)

This commit is contained in:
Roland Gruber 2010-03-17 17:29:10 +00:00
parent 5aae58a928
commit 93ae34868a
1 changed files with 6 additions and 6 deletions

View File

@ -212,27 +212,27 @@ class asteriskExtension extends baseModule {
$return[] = array( $return[] = array(
array('kind' => 'text', 'text' => _("Common name") . '*'), array('kind' => 'text', 'text' => _("Common name") . '*'),
array('kind' => 'input', 'name' => 'cn', 'type' => 'text', 'size' => '30', 'maxlength' => '20', 'value' => $this->attributes['cn'][0]), array('kind' => 'input', 'name' => 'cn', 'type' => 'text', 'size' => '30', 'maxlength' => '255', 'value' => $this->attributes['cn'][0]),
array('kind' => 'help', 'value' => 'cn')); array('kind' => 'help', 'value' => 'cn'));
$return[] = array( $return[] = array(
array('kind' => 'text', 'text' => _("Account context") . '*'), array('kind' => 'text', 'text' => _("Account context") . '*'),
array('kind' => 'input', 'name' => 'AstContext', 'type' => 'text', 'size' => '30', 'maxlength' => '20', 'value' => $this->attributes['AstContext'][0]), array('kind' => 'input', 'name' => 'AstContext', 'type' => 'text', 'size' => '30', 'maxlength' => '255', 'value' => $this->attributes['AstContext'][0]),
array('kind' => 'help', 'value' => 'AstContext')); array('kind' => 'help', 'value' => 'AstContext'));
$return[] = array( $return[] = array(
array('kind' => 'text', 'text' => _("Extension name") . '*'), array('kind' => 'text', 'text' => _("Extension name") . '*'),
array('kind' => 'input', 'name' => 'AstExtension', 'type' => 'text', 'size' => '30', 'maxlength' => '20', 'value' => $this->attributes['AstExtension'][0]), array('kind' => 'input', 'name' => 'AstExtension', 'type' => 'text', 'size' => '30', 'maxlength' => '255', 'value' => $this->attributes['AstExtension'][0]),
array('kind' => 'help', 'value' => 'AstExtension')); array('kind' => 'help', 'value' => 'AstExtension'));
$return[] = array( $return[] = array(
array('kind' => 'text', 'text' => _("Priority") . '*'), array('kind' => 'text', 'text' => _("Priority") . '*'),
array('kind' => 'input', 'name' => 'AstPriority', 'type' => 'text', 'size' => '30', 'maxlength' => '20', 'value' => $this->attributes['AstPriority'][0]), array('kind' => 'input', 'name' => 'AstPriority', 'type' => 'text', 'size' => '30', 'maxlength' => '255', 'value' => $this->attributes['AstPriority'][0]),
array('kind' => 'help', 'value' => 'AstPriority')); array('kind' => 'help', 'value' => 'AstPriority'));
$return[] = array( $return[] = array(
array('kind' => 'text', 'text' => _("Application") . '*'), array('kind' => 'text', 'text' => _("Application") . '*'),
array('kind' => 'input', 'name' => 'AstApplication', 'type' => 'text', 'size' => '30', 'maxlength' => '20', 'value' => $this->attributes['AstApplication'][0]), array('kind' => 'input', 'name' => 'AstApplication', 'type' => 'text', 'size' => '30', 'maxlength' => '255', 'value' => $this->attributes['AstApplication'][0]),
array('kind' => 'help', 'value' => 'AstApplication')); array('kind' => 'help', 'value' => 'AstApplication'));
$return[] = array( $return[] = array(
array('kind' => 'text', 'text' => _("Application data")), array('kind' => 'text', 'text' => _("Application data")),
array('kind' => 'input', 'name' => 'AstApplicationData', 'type' => 'text', 'size' => '30', 'maxlength' => '20', 'value' => $this->attributes['AstApplicationData'][0]), array('kind' => 'input', 'name' => 'AstApplicationData', 'type' => 'text', 'size' => '30', 'maxlength' => '255', 'value' => $this->attributes['AstApplicationData'][0]),
array('kind' => 'help', 'value' => 'AstApplicationData')); array('kind' => 'help', 'value' => 'AstApplicationData'));
$return[] = array( $return[] = array(