Index: trunk/extensions/InputBox/InputBox.classes.php |
— | — | @@ -29,6 +29,7 @@ |
30 | 30 | private $mID = ''; |
31 | 31 | private $mInline = false; |
32 | 32 | private $mHideGo = false; |
| 33 | + private $mPrefix = ''; |
33 | 34 | |
34 | 35 | /* Functions */ |
35 | 36 | |
— | — | @@ -103,6 +104,17 @@ |
104 | 105 | 'size' => $this->mWidth, |
105 | 106 | ) |
106 | 107 | ); |
| 108 | + |
| 109 | + if( $this->mPrefix != '' ){ |
| 110 | + $htmlOut .= Xml::element( 'input', |
| 111 | + array( |
| 112 | + 'name' => 'prefix', |
| 113 | + 'type' => 'hidden', |
| 114 | + 'value' => $this->mPrefix, |
| 115 | + ) |
| 116 | + ); |
| 117 | + } |
| 118 | + |
107 | 119 | $htmlOut .= $this->mBR; |
108 | 120 | |
109 | 121 | // Determine namespace checkboxes |
— | — | @@ -450,6 +462,7 @@ |
451 | 463 | 'id' => 'mID', |
452 | 464 | 'inline' => 'mInline', |
453 | 465 | 'hidego' => 'mHideGo', |
| 466 | + 'prefix' => 'mPrefix', |
454 | 467 | ); |
455 | 468 | foreach ( $options as $name => $var ) { |
456 | 469 | if ( isset( $values[$name] ) ) { |