2007-07-19 12:40:05 +02:00
|
|
|
<?php
|
|
|
|
|
2008-02-25 03:10:37 +01:00
|
|
|
/**
|
|
|
|
* @package cms
|
|
|
|
* @subpackage core
|
|
|
|
*/
|
|
|
|
|
2007-07-19 12:40:05 +02:00
|
|
|
/**
|
|
|
|
* A special kind of form used to make the action dialogs that appear just underneath the top-right
|
|
|
|
* buttons in the CMS
|
2008-02-25 03:10:37 +01:00
|
|
|
* @package cms
|
|
|
|
* @subpackage core
|
2007-07-19 12:40:05 +02:00
|
|
|
*/
|
|
|
|
class CMSActionOptionsForm extends Form {
|
|
|
|
function FormAttributes() {
|
|
|
|
return "class=\"actionparams\" style=\"display:none\" " . parent::FormAttributes();
|
|
|
|
}
|
|
|
|
function FormName() {
|
|
|
|
$action = $this->actions->First()->Name();
|
|
|
|
return "{$action}_options";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|