More configurability through config.php

This commit is contained in:
sandbender
2010-11-13 23:15:03 +01:00
parent cd979d0bf6
commit 5098db94eb
8 changed files with 291 additions and 324 deletions

10
js/pamela-conf.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
require_once("../config.php");
header('Content-Type: application/javascript');
?>
config = new function() {
this.bgcolor = "<?php echo PAM_BGCOLOR; ?>";
this.image = "<?php echo PAM_IMAGE; ?>";
this.buttonColor = "<?php echo PAM_BUT_COLOR; ?>";
this.buttonShow = <?php echo PAM_BUT_SHOW=="TRUE"?"true":"false"; ?>;
}