adding version to footer; typos;

This commit is contained in:
Pepijn Over 2014-04-06 17:26:17 +02:00
parent bf0a2a34de
commit 378392352c
4 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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

View File

@ -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();

View File

@ -102,6 +102,6 @@
<!--%tpl_main_footer-->
<footer class="footer">
<p class="pull-right"><a href="#">{label_back_to_top}</a></p>
<p><small>Powered by <a href="http://www.phpservermonitor.org/" target="_blank">PHP Server Monitor</a>.<br/>{update_available}</small></p>
<p><small>Powered by <a href="http://www.phpservermonitor.org/" target="_blank">PHP Server Monitor {version}</a>.<br/>{update_available}</small></p>
</footer>
<!--%%tpl_main_footer-->