From 378392352ca6362162085e596ad54fad3b6e8f86 Mon Sep 17 00:00:00 2001 From: Pepijn Over Date: Sun, 6 Apr 2014 17:26:17 +0200 Subject: [PATCH] adding version to footer; typos; --- CHANGELOG.md | 1 + INSTALL.md | 2 +- src/psm/Module/AbstractController.class.php | 1 + src/templates/main.tpl.html | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7299ca19..78717f0e 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ * When checking a website, the updater will now follow 302 Location headers. * String/pattern search on websites did not work for websites with compression turned on. * The monitor now uses a custom user agent so it can be identified in access logs (Mozilla/5.0 (compatible; phpservermon/version; +http://www.phpservermonitor.org)). + * Improved mobile compatibility. * Template directory restructured to correspond with module structure. * Switched from mysql_* to PDO. * Updated PHPMailer package to v5.2.6. diff --git a/INSTALL.md b/INSTALL.md index 4a46f841..ca7df822 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -52,7 +52,7 @@ The rest of the steps are identical to a regular upgrade (see above), except tha One of the new features introduced in 3.0 is a user authentication system. Because the users in previous versions do not have a password, after upgrading you would not be able to login. For that reason the upgrade script will ask you to create a new account during the upgrade, which you can then use to change the password for the existing accounts. -If, for whatever reason this does not work, the upgrade script automatically change the username of all existing users to their email addresses, which you could use for the forgot password screen. +If, for whatever reason this does not work, the upgrade script automatically changes the username of all existing users to their email addresses, which you could use for the forgot password screen. ## Setting up a cronjob diff --git a/src/psm/Module/AbstractController.class.php b/src/psm/Module/AbstractController.class.php index 337b2796..02c7864e 100644 --- a/src/psm/Module/AbstractController.class.php +++ b/src/psm/Module/AbstractController.class.php @@ -187,6 +187,7 @@ abstract class AbstractController implements ControllerInterface { if($this->add_footer) { $this->tpl->newTemplate('main_footer', 'main.tpl.html'); $tpl_data['html_footer'] = $this->tpl->getTemplate('main_footer'); + $tpl_data['version'] = 'v' . PSM_VERSION; } $tpl_id_content = $this->getTemplateId(); diff --git a/src/templates/main.tpl.html b/src/templates/main.tpl.html index d043a077..1fc063a0 100755 --- a/src/templates/main.tpl.html +++ b/src/templates/main.tpl.html @@ -102,6 +102,6 @@