diff --git a/TODO b/TODO index 8ff3bfb..14a5cb8 100755 --- a/TODO +++ b/TODO @@ -18,6 +18,7 @@ TODO : * Add / Edit a bill * JSON output * Arrow to toggle visible password +* Change tpl easily To test : ========= diff --git a/index.php b/index.php index 1397179..af4d643 100644 --- a/index.php +++ b/index.php @@ -10,6 +10,7 @@ require_once('inc/CSRF.inc.php'); raintpl::$tpl_dir = 'tpl/'; raintpl::$cache_dir = 'tmp/'; + raintpl::configure('base_url', htmlspecialchars(BASE_URL)); // Define raintpl instance $tpl = new raintpl(); @@ -20,6 +21,9 @@ $tpl->assign('base_url', htmlspecialchars(BASE_URL)); $tpl->assign('currency', htmlspecialchars(CURRENCY)); $tpl->assign('email_webmaster', htmlspecialchars(EMAIL_WEBMASTER)); + + // TODO : Avoid a bug in rainTPL with img near input + $tpl->configure('path_replace_list', array('a', 'img', 'link', 'script')); // Set sessions parameters ini_set('session.use_cookies', 1); diff --git a/install.php b/install.php index 7826415..6207175 100644 --- a/install.php +++ b/install.php @@ -139,7 +139,7 @@
- +
Note : You must create this database first.
@@ -165,7 +165,7 @@
/>
/>
- +type="submit" value="Install">
diff --git a/tpl/connection.html b/tpl/connection.html index f206ce4..f1e722a 100644 --- a/tpl/connection.html +++ b/tpl/connection.html @@ -4,7 +4,7 @@ {/if} diff --git a/tpl/img/toggleVisible.png b/tpl/img/toggleVisible.png new file mode 100644 index 0000000..4fad9d2 Binary files /dev/null and b/tpl/img/toggleVisible.png differ diff --git a/tpl/settings.html b/tpl/settings.html index 471f42c..a5b25ee 100644 --- a/tpl/settings.html +++ b/tpl/settings.html @@ -26,7 +26,7 @@
-
+
Note : Leave the above field blank if you don't want to change your password.