mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
load login.js incl. cache-buster via Framework
This commit is contained in:
parent
99c7299340
commit
928fa6212b
@ -50,6 +50,8 @@ class Login
|
||||
Api\Header\ContentSecurityPolicy::add('frame-src', 'none');
|
||||
Api\Header\ContentSecurityPolicy::add('media-src', 'none');
|
||||
|
||||
Api\Framework::includeJS('/api/js/login.js?'.filemtime(EGW_SERVER_ROOT.'/api/js/login.js'));
|
||||
|
||||
//error_log(__METHOD__."() this->template=$this->framework->template, this->template_dir=$this->framework->template_dir, get_class(this)=".get_class($this));
|
||||
try {
|
||||
$tmpl = new Template(EGW_SERVER_ROOT.$this->framework->template_dir);
|
||||
|
@ -1,4 +1,3 @@
|
||||
<script src="./api/js/login.js" type="text/javascript"></script>
|
||||
<div id="loginMainDiv">
|
||||
<div id="divAppIconBar" style="position:relative;">
|
||||
<div id="divLogo"><a href="{logo_url}" target="_blank"><img src="{logo_file}" border="0" alt="{logo_title}" title="{logo_title}" /></a></div>
|
||||
@ -94,4 +93,4 @@
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,6 +1,3 @@
|
||||
<script src="./api/js/login.js" type="module"></script>
|
||||
|
||||
|
||||
<div id="loginMainDiv" style="background-image:url({background_file})" class="{stock_background_class}">
|
||||
<div class="egw_message_wrapper">
|
||||
<div id="egw_message" class="{cd_class}">{cd}
|
||||
@ -122,4 +119,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
@ -1,6 +1,3 @@
|
||||
<script src="./api/js/login.js" type="text/javascript"></script>
|
||||
|
||||
|
||||
<div id="loginMainDiv" style="background-image:url({background_file})" class="{stock_background_class}">
|
||||
<div class="egw_message_wrapper">
|
||||
<div id="egw_message" class="{cd_class}">{cd}
|
||||
@ -121,4 +118,4 @@
|
||||
<div id="login_footer">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user