Index: branches/RC/core/units/fck/fck_eh.php =================================================================== diff -u -N -r11265 -r11407 --- branches/RC/core/units/fck/fck_eh.php (.../fck_eh.php) (revision 11265) +++ branches/RC/core/units/fck/fck_eh.php (.../fck_eh.php) (revision 11407) @@ -13,13 +13,26 @@ 'OnDeleteFiles' => array('self' => true), 'OnGetFoldersFilesList' => array('self' => true), 'OnCreateFolder' => array('self' => true), - 'OnUploadFile' => array('self' => true), + 'OnUploadFile' => array('self' => true), ); $this->permMapping = array_merge($this->permMapping, $permissions); } - + /** + * Checks permissions of user + * + * @param kEvent $event + */ + function CheckPermission(&$event) + { + if ($this->Application->LoggedIn() && $this->Application->IsAdmin()) { + return true; + } + + return parent::CheckPermission($event); + } + function CreateXmlHeader() { ob_end_clean() ; Index: branches/RC/core/kernel/db/db_tag_processor.php =================================================================== diff -u -N -r11395 -r11407 --- branches/RC/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 11395) +++ branches/RC/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 11407) @@ -2164,6 +2164,7 @@ 'PreviewUrl' => $url, 'BaseUrl' => BASE_PATH . '/', 'DefaultLanguage' => $this->SetFCKDefaultLanguage(), + 'EditorAreaStyles' => 'body { background-color: '.$bgcolor.' }', ); return $oFCKeditor->CreateHtml();