From 2e471ecbe5e912da848a193e83cae132c90747ee Mon Sep 17 00:00:00 2001 From: Gregory Soutade Date: Thu, 5 Nov 2015 18:03:52 +0100 Subject: [PATCH 1/2] Add autofocus to index and update copyright --- www/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/index.php b/www/index.php index 54a77ca..5059dbd 100755 --- a/www/index.php +++ b/www/index.php @@ -55,7 +55,7 @@ if (!isset($_SESSION["user"])) $users = GetUsers(); echo "

KissCount



\n"; echo "
\n"; - echo "Login : \n"; foreach($users as $i => $name) echo "\n"; echo "

\n"; @@ -63,7 +63,7 @@ if (!isset($_SESSION["user"])) echo "\n"; echo "
\n"; echo "

\n"; - echo "
KissCount © 2010-2012 Grégory Soutadé
\n"; + echo "
KissCount © 2010-2015 Grégory Soutadé
\n"; die(); } else From eddea6e37d2c33e270af45458c963fd69a5ba07a Mon Sep 17 00:00:00 2001 From: Gregory Soutade Date: Tue, 1 May 2018 14:53:42 +0200 Subject: [PATCH 2/2] Web: take start and end date in account for displaying accounts --- www/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/index.php b/www/index.php index 5059dbd..aec39c2 100755 --- a/www/index.php +++ b/www/index.php @@ -63,7 +63,7 @@ if (!isset($_SESSION["user"])) echo "\n"; echo "\n"; echo "

\n"; - echo "
KissCount © 2010-2015 Grégory Soutadé
\n"; + echo "
KissCount © 2010-2018 Grégory Soutadé
\n"; die(); } else @@ -223,7 +223,7 @@ function toggleOperations(parent, operations) accounts as $i => $account) { - if ($account["hidden"] == "1") continue; + if ($account["hidden"] == "1" || $account["end"] < (date("Y-m") . "-01") || $account["start"] > (date("Y-m") . "-30")) continue; $val = GetAccountAmount($account["id"], $_SESSION["cur_month"], $_SESSION["cur_year"]); echo ""; if ($account["shared"] == "1") @@ -353,6 +353,6 @@ foreach($operations as $i => $operation)

-
KissCount © 2010-2014 Grégory Soutadé
+
KissCount © 2010-2018 Grégory Soutadé
\ No newline at end of file