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