2007-07-19 12:40:28 +02:00
|
|
|
<?php
|
2008-01-08 07:37:50 +01:00
|
|
|
|
|
|
|
/**
|
2008-01-09 05:18:36 +01:00
|
|
|
* @package forms
|
|
|
|
* @subpackage fieldeditor
|
2008-01-08 07:37:50 +01:00
|
|
|
*/
|
|
|
|
|
2008-01-09 05:18:36 +01:00
|
|
|
/**
|
|
|
|
* EditableButton
|
|
|
|
* Allows a user to modify the text on the button
|
2008-01-10 01:34:18 +01:00
|
|
|
* @package forms
|
|
|
|
* @subpackage fieldeditor
|
2008-01-09 05:18:36 +01:00
|
|
|
*/
|
2007-07-19 12:40:28 +02: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>';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|