javascript updates

This commit is contained in:
SJ 2013-02-17 10:35:51 +01:00
parent d09aee0eb4
commit 24bf7b2926
20 changed files with 34 additions and 9 deletions

View File

@ -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
View 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);
?>

File diff suppressed because one or more lines are too long

View File

@ -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,

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 413 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

File diff suppressed because one or more lines are too long