
Untitled
By: a guest on
May 8th, 2012 | syntax:
PHP | size: 1.46 KB | hits: 11 | expires: Never
$this->getOutput()->addHTML('<form action="" method="post"><div id=mainTable> <div id=newGroup> ');
$this->getOutput()->addHTML(
Html::element(
'legend',
array()
) .
Html::element(
'span',
array(),
wfMsg( 'swl-group' )
) . ' ' .
Html::rawElement(
'input',
array(
'type' => 'text',
'value' => '',
'id' => 'swl-add-group-name',
'name' => "group_name_$placeholder"
)
) . ' ' .
Html::element(
'span',
array(),
wfMsg('swl-watches')
) . ' ' .
Html::rawElement(
'select',
array(
'class' => "chosenProperties",
'multiple' => 'true',
'style' => 'width:300px',
'name' => "group_properties_$placeholder"
), $watchesProperties
) . '<br><br>' .
Html::element(
'span',
array(),
wfMsg('swl-in')
) . ' ' .
Html::rawElement(
'select',
array(
'class' => "chosenType",
'style' => 'width:105px',
'name' => "group_types_$placeholder"
), $types
) . ' ' .
Html::element(
'span',
array(),
wfMsg( 'swl-colon' )
) . ' ' .
Html::rawElement(
'select',
array(
'class' => "chosenInstance",
'style' => 'width:100px',
'name' => "group_instance_$placeholder"
), $categories
)
);
$this->getOutput()->addHTML('</div></div>');