@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * You should have received a copy of the GNU General Public License |
| 23 | 23 | * along with this program; if not, write to the Free Software |
| 24 | 24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 25 | - */ |
|
| 25 | + */ |
|
| 26 | 26 | |
| 27 | 27 | if(! function_exists('__')){ |
| 28 | 28 | /** |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * You should have received a copy of the GNU General Public License |
| 23 | 23 | * along with this program; if not, write to the Free Software |
| 24 | 24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 25 | - */ |
|
| 25 | + */ |
|
| 26 | 26 | |
| 27 | 27 | |
| 28 | 28 | /** |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * You should have received a copy of the GNU General Public License |
| 23 | 23 | * along with this program; if not, write to the Free Software |
| 24 | 24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 25 | - */ |
|
| 25 | + */ |
|
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * @file function_string.php |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | * You should have received a copy of the GNU General Public License |
| 23 | 23 | * along with this program; if not, write to the Free Software |
| 24 | 24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 25 | - */ |
|
| 25 | + */ |
|
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * @file common.php |
@@ -413,12 +413,12 @@ discard block |
||
| 413 | 413 | |
| 414 | 414 | |
| 415 | 415 | /** |
| 416 | - * Function to stringfy PHP variable, useful in debug situation |
|
| 417 | - * |
|
| 418 | - * @param mixed $var the variable to stringfy |
|
| 419 | - * |
|
| 420 | - * @return string the stringfy value |
|
| 421 | - */ |
|
| 416 | + * Function to stringfy PHP variable, useful in debug situation |
|
| 417 | + * |
|
| 418 | + * @param mixed $var the variable to stringfy |
|
| 419 | + * |
|
| 420 | + * @return string the stringfy value |
|
| 421 | + */ |
|
| 422 | 422 | function stringfy_vars($var){ |
| 423 | 423 | return print_r($var, true); |
| 424 | 424 | } |
@@ -556,13 +556,13 @@ discard block |
||
| 556 | 556 | } |
| 557 | 557 | |
| 558 | 558 | /** |
| 559 | - * This function is very useful, it allows to recover the instance of the global controller. |
|
| 560 | - * Note this function always returns the address of the super instance. |
|
| 561 | - * For example : |
|
| 562 | - * $obj = & get_instance(); |
|
| 563 | - * |
|
| 564 | - * @return object the instance of the "Controller" class |
|
| 565 | - */ |
|
| 559 | + * This function is very useful, it allows to recover the instance of the global controller. |
|
| 560 | + * Note this function always returns the address of the super instance. |
|
| 561 | + * For example : |
|
| 562 | + * $obj = & get_instance(); |
|
| 563 | + * |
|
| 564 | + * @return object the instance of the "Controller" class |
|
| 565 | + */ |
|
| 566 | 566 | function & get_instance(){ |
| 567 | 567 | return Controller::get_instance(); |
| 568 | 568 | } |
@@ -1,24 +1,24 @@ |
||
| 1 | 1 | <?php |
| 2 | - defined('ROOT_PATH') || exit('Access denied'); |
|
| 2 | + defined('ROOT_PATH') || exit('Access denied'); |
|
| 3 | 3 | /** |
| 4 | 4 | * Form validation language message (English) |
| 5 | 5 | */ |
| 6 | 6 | $lang['fv_required'] = 'Field %1 is required.'; |
| 7 | - $lang['fv_min_length'] = 'Field %1 must contain at least %2 characters.'; |
|
| 8 | - $lang['fv_max_length'] = 'Field %1 must contain at most %2 characters.'; |
|
| 9 | - $lang['fv_exact_length'] = 'Field %1 must contain exactly %2 characters.'; |
|
| 10 | - $lang['fv_less_than'] = 'Field %1 must less than %2.'; |
|
| 11 | - $lang['fv_greater_than'] = 'Field %1 must greater than %2.'; |
|
| 12 | - $lang['fv_matches'] = 'Field %1 must be identical to field %2.'; |
|
| 13 | - $lang['fv_valid_email'] = 'Field %1 must contain a valid E-mail address.'; |
|
| 14 | - $lang['fv_not_equal_post_key'] = 'Field %1 must not be the same as field %2.'; |
|
| 15 | - $lang['fv_not_equal_string'] = 'Field %1 must not contain the value %2.'; |
|
| 16 | - $lang['fv_depends'] = 'Field %1 depends on field %2 which is not valid.'; |
|
| 7 | + $lang['fv_min_length'] = 'Field %1 must contain at least %2 characters.'; |
|
| 8 | + $lang['fv_max_length'] = 'Field %1 must contain at most %2 characters.'; |
|
| 9 | + $lang['fv_exact_length'] = 'Field %1 must contain exactly %2 characters.'; |
|
| 10 | + $lang['fv_less_than'] = 'Field %1 must less than %2.'; |
|
| 11 | + $lang['fv_greater_than'] = 'Field %1 must greater than %2.'; |
|
| 12 | + $lang['fv_matches'] = 'Field %1 must be identical to field %2.'; |
|
| 13 | + $lang['fv_valid_email'] = 'Field %1 must contain a valid E-mail address.'; |
|
| 14 | + $lang['fv_not_equal_post_key'] = 'Field %1 must not be the same as field %2.'; |
|
| 15 | + $lang['fv_not_equal_string'] = 'Field %1 must not contain the value %2.'; |
|
| 16 | + $lang['fv_depends'] = 'Field %1 depends on field %2 which is not valid.'; |
|
| 17 | 17 | $lang['fv_is_unique'] = 'The value of field %1 already exists.'; |
| 18 | 18 | $lang['fv_is_unique_update'] = 'The value of field %1 already exists for another record.'; |
| 19 | - $lang['fv_exists'] = 'The value of the field %1 does not exist.'; |
|
| 20 | - $lang['fv_regex'] = 'The value of the field %1 does not use the correct format.'; |
|
| 21 | - $lang['fv_in_list'] = 'The value of field %1 must be one of the list (%2).'; |
|
| 22 | - $lang['fv_numeric'] = 'The value of field %1 must be a number.'; |
|
| 23 | - $lang['fv_callback'] = 'The value of field %1 is not valid.'; |
|
| 19 | + $lang['fv_exists'] = 'The value of the field %1 does not exist.'; |
|
| 20 | + $lang['fv_regex'] = 'The value of the field %1 does not use the correct format.'; |
|
| 21 | + $lang['fv_in_list'] = 'The value of field %1 must be one of the list (%2).'; |
|
| 22 | + $lang['fv_numeric'] = 'The value of field %1 must be a number.'; |
|
| 23 | + $lang['fv_callback'] = 'The value of field %1 is not valid.'; |
|
| 24 | 24 | |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | - defined('ROOT_PATH') || exit('Access denied'); |
|
| 2 | + defined('ROOT_PATH') || exit('Access denied'); |
|
| 3 | 3 | /** |
| 4 | 4 | * File upload language messages (English) |
| 5 | 5 | */ |
| 6 | 6 | $lang['fu_upload_err_ini_size'] = 'The uploaded file exceeds the upload_max_filesize directive in php.ini.'; |
| 7 | - $lang['fu_upload_err_form_size'] = 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.'; |
|
| 8 | - $lang['fu_upload_err_partial'] = 'The uploaded file was only partially uploaded.'; |
|
| 9 | - $lang['fu_upload_err_no_file'] = 'No file was choosed. Please select one.'; |
|
| 10 | - $lang['fu_upload_err_no_tmp_dir'] = 'Missing a temporary folder.'; |
|
| 11 | - $lang['fu_upload_err_cant_write'] = 'Failed to write file to disk.'; |
|
| 12 | - $lang['fu_upload_err_extension'] = 'A PHP extension stopped the file upload.'; |
|
| 13 | - $lang['fu_accept_file_types'] = 'Filetype not allowed'; |
|
| 14 | - $lang['fu_file_uploads_disabled'] = 'File uploading option is disabled in php.ini'; |
|
| 15 | - $lang['fu_max_file_size'] = 'The uploaded file size is too big max size is %s'; |
|
| 16 | - $lang['fu_overwritten_not_allowed'] = 'You don\'t allow overwriting existing file'; |
|
| 7 | + $lang['fu_upload_err_form_size'] = 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.'; |
|
| 8 | + $lang['fu_upload_err_partial'] = 'The uploaded file was only partially uploaded.'; |
|
| 9 | + $lang['fu_upload_err_no_file'] = 'No file was choosed. Please select one.'; |
|
| 10 | + $lang['fu_upload_err_no_tmp_dir'] = 'Missing a temporary folder.'; |
|
| 11 | + $lang['fu_upload_err_cant_write'] = 'Failed to write file to disk.'; |
|
| 12 | + $lang['fu_upload_err_extension'] = 'A PHP extension stopped the file upload.'; |
|
| 13 | + $lang['fu_accept_file_types'] = 'Filetype not allowed'; |
|
| 14 | + $lang['fu_file_uploads_disabled'] = 'File uploading option is disabled in php.ini'; |
|
| 15 | + $lang['fu_max_file_size'] = 'The uploaded file size is too big max size is %s'; |
|
| 16 | + $lang['fu_overwritten_not_allowed'] = 'You don\'t allow overwriting existing file'; |
|
| 17 | 17 | |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * You should have received a copy of the GNU General Public License |
| 23 | 23 | * along with this program; if not, write to the Free Software |
| 24 | 24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 25 | - */ |
|
| 25 | + */ |
|
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * @file constants.php |