diff --git a/README.md b/README.md index c619faa..07e1d99 100755 --- a/README.md +++ b/README.md @@ -47,6 +47,8 @@ a backup of your sqlite.db3 database before updating or data may lost. -TODO: Fix JSON GET/POST Check (Only add part works) +-Code fixes + ### Version 0.9.3 (Beta) -New JSON GET/POST Check diff --git a/assets/html/indexpage.twig b/assets/html/indexpage.twig index df7c187..1929de3 100755 --- a/assets/html/indexpage.twig +++ b/assets/html/indexpage.twig @@ -34,8 +34,9 @@ {% if check.uptime != -1 %}{#Only if records exists#} - {{check.statusText}} + {{check.statusText}} {# Use T_[Var] to merge var to array #} ({{ check.uptime}}%) + } {{check.dateLastChk}} - diff --git a/assets/translations/en.php b/assets/translations/en.php index f31c6fa..e184a11 100755 --- a/assets/translations/en.php +++ b/assets/translations/en.php @@ -1,6 +1,8 @@ text($incident['text']); $incs[$ID_N]['ID_N'] = $incident['ID_N']; } - renderPage('indexpage.twig',array('you' => $you,'checks' => $chks, 'news' => $incs)); //Render + renderPage('indexpage.twig',array('checks' => $chks, 'news' => $incs)); //Render ?> diff --git a/install.php b/install.php index 0d1490e..47fb772 100755 --- a/install.php +++ b/install.php @@ -1,5 +1,5 @@ $fail['ID_C'], 'name' => nameFromIDC($fail['ID_C']), 'groupName' => nameGroupFromIDG(IDGFromIDC($fail['ID_C'])), - 'typeCheck' => textTypeChk($T_,$fail['ID_TC']), + /* 'typeCheck' => textTypeChk($fail['ID_TC']), Doesnt work yet */ 'errorText' => $fail['errorText'], 'date' => date('j/n/Y',$fail['timestamp']), 'hour' => date('H:i',$fail['timestamp'])