2007-07-19 10:40:28 +00:00
|
|
|
<?php
|
2008-01-08 06:37:50 +00:00
|
|
|
|
|
|
|
/**
|
2008-01-09 04:18:36 +00:00
|
|
|
* @package forms
|
|
|
|
* @subpackage fieldeditor
|
2008-01-08 06:37:50 +00:00
|
|
|
*/
|
|
|
|
|
2008-01-09 04:18:36 +00:00
|
|
|
/**
|
|
|
|
* EditableButton
|
|
|
|
* Allows a user to modify the text on the button
|
2008-01-10 00:34:18 +00:00
|
|
|
* @package forms
|
|
|
|
* @subpackage fieldeditor
|
2008-01-09 04:18:36 +00:00
|
|
|
*/
|
2007-07-19 10:40:28 +00:00
|
|
|
class EditableButton extends FormField {
|
|
|
|
|
|
|
|
function Field() {
|
|
|
|
return '<span class="EditableButton"><img src="cms/images/button-left.gif" /><input name="'.$this->name.'" value="'.$this->attrValue().'" /><img src="cms/images/button-right.gif" /></span>';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|