2007-07-19 12:40:05 +02:00
|
|
|
<?php
|
|
|
|
|
2008-01-08 07:41:55 +01:00
|
|
|
/**
|
|
|
|
* @package cms
|
2008-01-10 01:33:49 +01:00
|
|
|
* @subpackage core
|
2008-01-08 07:41:55 +01:00
|
|
|
*/
|
|
|
|
|
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-01-10 01:33:49 +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";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|