Index: trunk/extensions/InputBox/InputBox.classes.php |
— | — | @@ -22,6 +22,7 @@ |
23 | 23 | private $mPage = ''; |
24 | 24 | private $mBR = 'yes'; |
25 | 25 | private $mDefaultText = ''; |
| 26 | + private $mPlaceholderText = ''; |
26 | 27 | private $mBGColor = 'transparent'; |
27 | 28 | private $mButtonLabel = ''; |
28 | 29 | private $mSearchButtonLabel = ''; |
— | — | @@ -103,6 +104,7 @@ |
104 | 105 | 'name' => 'search', |
105 | 106 | 'type' => $this->mHidden ? 'hidden' : 'text', |
106 | 107 | 'value' => $this->mDefaultText, |
| 108 | + 'placeholder' => $this->mPlaceholderText, |
107 | 109 | 'size' => $this->mWidth, |
108 | 110 | ) |
109 | 111 | ); |
— | — | @@ -391,6 +393,7 @@ |
392 | 394 | 'name' => 'title', |
393 | 395 | 'class' => 'createboxInput', |
394 | 396 | 'value' => $this->mDefaultText, |
| 397 | + 'placeholder' => $this->mPlaceholderText, |
395 | 398 | 'size' => $this->mWidth |
396 | 399 | ) |
397 | 400 | ); |
— | — | @@ -463,6 +466,7 @@ |
464 | 467 | 'name' => 'preloadtitle', |
465 | 468 | 'class' => 'commentboxInput', |
466 | 469 | 'value' => $this->mDefaultText, |
| 470 | + 'placeholder' => $this->mPlaceholderText, |
467 | 471 | 'size' => $this->mWidth |
468 | 472 | ) |
469 | 473 | ); |
— | — | @@ -525,6 +529,7 @@ |
526 | 530 | 'minor' => 'mMinor', |
527 | 531 | 'break' => 'mBR', |
528 | 532 | 'default' => 'mDefaultText', |
| 533 | + 'placeholder' => 'mPlaceholderText', |
529 | 534 | 'bgcolor' => 'mBGColor', |
530 | 535 | 'buttonlabel' => 'mButtonLabel', |
531 | 536 | 'searchbuttonlabel' => 'mSearchButtonLabel', |