Guest User

Untitled

a guest
May 8th, 2012
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.46 KB | None | 0 0
  1.         $this->getOutput()->addHTML('<form action="" method="post"><div id=mainTable> <div id=newGroup> ');    
  2.         $this->getOutput()->addHTML(
  3.                 Html::element(
  4.                     'legend',
  5.                     array()
  6.                 ) .
  7.                 Html::element(
  8.                     'span',
  9.                     array(),
  10.                     wfMsg( 'swl-group' )
  11.                 ) . '&nbsp;' .
  12.                 Html::rawElement(
  13.                     'input',
  14.                     array(
  15.                         'type' => 'text',
  16.                         'value' => '',
  17.                         'id' => 'swl-add-group-name',
  18.                         'name' => "group_name_$placeholder"
  19.                     )
  20.                 ) . '&nbsp;&nbsp;' .
  21.                 Html::element(
  22.                     'span',
  23.                     array(),
  24.                     wfMsg('swl-watches')
  25.                 ) . '&nbsp;' .
  26.                 Html::rawElement(
  27.                     'select',
  28.                     array(
  29.                         'class' => "chosenProperties",
  30.                         'multiple' => 'true',
  31.                         'style' => 'width:300px',
  32.                         'name' => "group_properties_$placeholder"
  33.                     ), $watchesProperties
  34.                 ) . '<br><br>' .
  35.                 Html::element(
  36.                     'span',
  37.                     array(),
  38.                     wfMsg('swl-in')
  39.                 ) . '&nbsp;' .
  40.                 Html::rawElement(
  41.                     'select',
  42.                     array(
  43.                         'class' => "chosenType",
  44.                         'style' => 'width:105px',
  45.                         'name' => "group_types_$placeholder"
  46.                     ), $types
  47.                 ) . '&nbsp;' .
  48.                 Html::element(
  49.                     'span',
  50.                         array(),
  51.                         wfMsg( 'swl-colon' )
  52.                 ) . '&nbsp;' .
  53.                 Html::rawElement(
  54.                     'select',
  55.                     array(
  56.                         'class' => "chosenInstance",
  57.                         'style' => 'width:100px',
  58.                         'name' => "group_instance_$placeholder"
  59.                     ), $categories
  60.                 )
  61.            
  62.             );
  63.  
  64.        
  65.         $this->getOutput()->addHTML('</div></div>');
Advertisement
Add Comment
Please, Sign In to add comment