From 4cb3af73135911ebae7b0f2c3eb17f89dc66cc8e Mon Sep 17 00:00:00 2001 From: hahn <hahn@AAE49.campus.unibe.ch> Date: Fri, 28 Mar 2014 17:10:17 +0100 Subject: [PATCH] - added: comparison of lang texts - project class: removed a hardcoded variable - project overview: no tabs (was not handy) - added: logging project actions - added .htkeep in database directory; excluded log.db - added class actionlog to class documentation --- public_html/deployment/classes/actionlog.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public_html/deployment/classes/actionlog.class.php b/public_html/deployment/classes/actionlog.class.php index 99669451..6f218e9e 100644 --- a/public_html/deployment/classes/actionlog.class.php +++ b/public_html/deployment/classes/actionlog.class.php @@ -185,7 +185,7 @@ class Actionlog { $sReturn= '<h3>' . '<button onclick="setLogVisibility(\'block\');" id="btnShowLogs" class="btnLogs"><b class="icon-chevron-right"></b> </button>' - . '<button onclick="setLogVisibility(\'none\');" id="btnHideLogs" class="btnLogs"><b class="icon-chevron-down"></b> </button>' + . '<button onclick="setLogVisibility(\'none\');" id="btnHideLogs" class="btnLogs"><b class="icon-chevron-down"></b> </button>' . ' '.t("class-actionlog-title").'</h3>' . '<div id="divActionlogs">' . '<p>'.t("class-actionlog-filter").': '.print_r($aFilter, true).')</p>' @@ -194,7 +194,9 @@ class Actionlog { <script> function getLogVisibility(){ - return localStorage.getItem("bActionlogsVisible"); + var sReturn=localStorage.getItem("bActionlogsVisible"); + sReturn=(sReturn=="block")?"block":"none"; + return sReturn; } function setLogVisibility(sVisibility){ -- GitLab