javascript updates
@ -13,6 +13,7 @@ RewriteRule ^settings.php /index.php?route=user/settings [L]
|
||||
RewriteRule ^login.php /index.php?route=login/login [L]
|
||||
RewriteRule ^logout.php /index.php?route=login/logout [L]
|
||||
RewriteRule ^google.php /index.php?route=login/google [QSA,L]
|
||||
RewriteRule ^view/javascript/piler.js /js.php [QSA,L]
|
||||
|
||||
<IfModule auth_ntlm_winbind_module>
|
||||
<FilesMatch "sso\.php$">
|
||||
|
19
webui/js.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
require_once("config.php");
|
||||
require(DIR_SYSTEM . "/language.php");
|
||||
|
||||
$language = new Language();
|
||||
|
||||
$javascript = DIR_BASE . '/view/javascript/piler-in.js';
|
||||
|
||||
openlog("piler-webui", LOG_PID, LOG_MAIL);
|
||||
|
||||
syslog(LOG_INFO, "lang:" . LANG);
|
||||
|
||||
|
||||
Header("Content-Type: text/javascript");
|
||||
|
||||
require_once($javascript);
|
||||
|
||||
?>
|
@ -8,8 +8,8 @@ var Piler =
|
||||
|
||||
// legacy variable(s)
|
||||
expsrc: 0,
|
||||
health_refresh: 60,
|
||||
piler_ui_lang: 'en-GB', // TODO: it should be 'LANG' from config.php
|
||||
health_refresh: <?php print HEALTH_REFRESH; ?>,
|
||||
piler_ui_lang: '<?php LANG == 'en' ? print 'en-GB' : print LANG; ?>',
|
||||
prev_message_id: 0,
|
||||
pos: -1,
|
||||
|
BIN
webui/view/theme/default/stylesheet/images/animated-overlay.gif
Normal file
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 470 B |
After Width: | Height: | Size: 455 B |
After Width: | Height: | Size: 274 B |
After Width: | Height: | Size: 371 B |
After Width: | Height: | Size: 400 B |
Before Width: | Height: | Size: 105 B After Width: | Height: | Size: 272 B |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 413 B |
After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 6.1 KiB |