// +----------------------------------------------------------------------+
class ActionErrors {
- var $errors = array();
+ var $errors = array();
- function __construct() {
- }
+ function __construct() {
+ }
- function no() {
- return (count($this->errors)>0 ? false : true);
- }
+ function no() {
+ return (count($this->errors) > 0 ? false : true);
+ }
- function yes() {
- return (count($this->errors)>0 ? true : false);
- }
+ function yes() {
+ return (count($this->errors) > 0 ? true : false);
+ }
- function add($message, $arg0 = '', $arg1 = '') {
- $patterns = array ("/\{0\}/","/\{1\}/");
- $replace = array ($arg0, $arg1);
- $message = preg_replace ($patterns, $replace, $message);
- $this->errors[]["message"] = $message;
- }
-
- function get($key) {
- return $this->errors["$key"]["message"];
- }
-
- function dump() {
- print_r($this->errors);
- }
-
- function getErrors() {
- return $this->errors;
- }
+ function add($message, $arg0 = '', $arg1 = '') {
+ $patterns = array ('/\{0\}/','/\{1\}/');
+ $replace = array($arg0, $arg1);
+ $message = preg_replace ($patterns, $replace, $message);
+ $this->errors[]['message'] = $message;
+ }
+
+ function dump() {
+ print_r($this->errors);
+ }
+
+ function getErrors() {
+ return $this->errors;
+ }
}
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.9.36.3561 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.9.36.3562 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>