mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-29 04:39:01 +02:00
API CHANGE Removed LeftAndMain->setLogo(), use CSS instead
This commit is contained in:
parent
cfaec05141
commit
a423bd4e04
@ -1070,8 +1070,6 @@ class LeftAndMain extends Controller {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param String $name
|
* @param String $name
|
||||||
* @param String $logoText
|
|
||||||
* @param String $link (Optional)
|
|
||||||
*/
|
*/
|
||||||
static function setApplicationName($name) {
|
static function setApplicationName($name) {
|
||||||
self::$application_name = $name;
|
self::$application_name = $name;
|
||||||
@ -1097,23 +1095,6 @@ class LeftAndMain extends Controller {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* The application logo path. Customisable by calling
|
|
||||||
* LeftAndMain::setLogo() - the first parameter.
|
|
||||||
*
|
|
||||||
* @var unknown_type
|
|
||||||
*/
|
|
||||||
static $application_logo = 'sapphire/admin/images/mainmenu/logo.gif';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the CMS application logo.
|
|
||||||
*
|
|
||||||
* @param String $logo Relative path to the logo
|
|
||||||
*/
|
|
||||||
static function setLogo($logo) {
|
|
||||||
self::$application_logo = $logo;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the base directory of the tiny_mce codebase
|
* Return the base directory of the tiny_mce codebase
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user