2013-05-28 02:17:16 +02:00
|
|
|
<?php
|
2015-11-23 04:53:45 +01:00
|
|
|
class CMSPageAddControllerExtension extends Extension
|
|
|
|
{
|
|
|
|
public function updatePageOptions(&$fields)
|
|
|
|
{
|
|
|
|
$fields->push(new HiddenField('SubsiteID', 'SubsiteID', Subsite::currentSubsiteID()));
|
|
|
|
}
|
2013-05-28 02:17:16 +02:00
|
|
|
}
|