mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merged revisions 52298 via svnmerge from
http://svn.silverstripe.com/open/modules/cms/branches/2.2.2 ........ r52298 | sminnee | 2008-04-08 12:35:20 +1200 (Tue, 08 Apr 2008) | 1 line Added LeftAndMain::set_loading_image() for replacing the image shown when the CMS is loading ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@53497 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e395446f66
commit
4ab91642b3
@ -822,6 +822,20 @@ JS;
|
|||||||
self::$application_logo_style = $logoStyle;
|
self::$application_logo_style = $logoStyle;
|
||||||
self::$application_logo_text = "";
|
self::$application_logo_text = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected static $loading_image = 'cms/images/loading.gif';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the image shown when the CMS is loading.
|
||||||
|
*/
|
||||||
|
static function set_loading_image($loadingImage) {
|
||||||
|
self::$loading_image = $loadingImage;
|
||||||
|
}
|
||||||
|
|
||||||
|
function LoadingImage() {
|
||||||
|
return self::$loading_image;
|
||||||
|
}
|
||||||
|
|
||||||
function LogoStyle() {
|
function LogoStyle() {
|
||||||
return "background: url(" . self::$application_logo . ") no-repeat; " . self::$application_logo_style;
|
return "background: url(" . self::$application_logo . ") no-repeat; " . self::$application_logo_style;
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="stillLoading">
|
<body class="stillLoading">
|
||||||
<div id="Loading" style="background: #FFF url(cms/images/loading.gif) 50% 50% no-repeat; position: absolute;z-index: 100000;height: 100%;width: 100%;margin: 0;padding: 0;z-index: 100000;position: absolute;"><% _t('LOADING','Loading...',PR_HIGH) %></div>
|
<div id="Loading" style="background: #FFF url($LoadingImage) 50% 50% no-repeat; position: absolute;z-index: 100000;height: 100%;width: 100%;margin: 0;padding: 0;z-index: 100000;position: absolute;"><% _t('LOADING','Loading...',PR_HIGH) %></div>
|
||||||
|
|
||||||
<div id="top">
|
<div id="top">
|
||||||
<% include CMSTopMenu %>
|
<% include CMSTopMenu %>
|
||||||
|
Loading…
Reference in New Issue
Block a user