From 7e71457a2e9b369427b5584fce6fd4ba0061f0ff Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 8 Jan 2013 22:16:29 +0200 Subject: [PATCH] Core Improvements: Next Round #79 #80 --- admin/index.php | 24 +++--- admin/themes/default/index.template.php | 2 +- admin/themes/default/login.template.php | 2 +- engine/Alert.php | 18 +++-- engine/{Core.php => Monstra.php} | 81 +++++++++---------- engine/Option.php | 25 +++--- engine/Plugin/Action.php | 17 +++- engine/Plugin/Backend.php | 19 ++++- engine/Plugin/Filter.php | 17 +++- engine/Plugin/Frontend.php | 18 ++++- engine/Plugin/I18n.php | 17 +++- engine/Plugin/Javascript.php | 23 ++++-- engine/Plugin/Navigation.php | 20 +++-- engine/Plugin/Plugin.php | 17 +++- engine/Plugin/Stylesheet.php | 26 +++--- engine/Plugin/View.php | 16 +++- engine/Security.php | 25 +++--- engine/Shortcode.php | 34 ++------ engine/Site.php | 27 +++---- engine/Uri.php | 25 +++--- engine/Xmldb/DB.php | 18 ++++- engine/Xmldb/Table.php | 17 +++- engine/Xmldb/XML.php | 16 +++- engine/_init.php | 20 ++--- engine/boot/actions.php | 4 +- engine/boot/filters.php | 2 +- engine/boot/shortcodes.php | 2 +- index.php | 28 +++---- libraries/Gelato/Agent/Agent.php | 10 ++- libraries/Gelato/Arr/Arr.php | 8 +- libraries/Gelato/Cache/Cache.php | 8 +- libraries/Gelato/ClassLoader/ClassLoader.php | 8 +- libraries/Gelato/Cookie/Cookie.php | 8 +- libraries/Gelato/Curl/Curl.php | 8 +- libraries/Gelato/Date/Date.php | 8 +- libraries/Gelato/Debug/Debug.php | 8 +- .../Gelato/ErrorHandler/ErrorHandler.php | 8 +- libraries/Gelato/FileSystem/Dir.php | 8 +- libraries/Gelato/FileSystem/File.php | 8 +- libraries/Gelato/Form/Form.php | 8 +- libraries/Gelato/Gelato.php | 67 ++++++++------- libraries/Gelato/Html/Html.php | 9 ++- libraries/Gelato/Http/Request.php | 8 +- libraries/Gelato/Http/Response.php | 8 +- libraries/Gelato/Image/Image.php | 8 +- libraries/Gelato/Inflector/Inflector.php | 8 +- libraries/Gelato/Minify/Minify.php | 8 +- .../Gelato/Notification/Notification.php | 8 +- libraries/Gelato/Number/Number.php | 8 +- libraries/Gelato/Registry/Registry.php | 8 +- libraries/Gelato/Security/Token.php | 8 +- libraries/Gelato/Session/Session.php | 8 +- libraries/Gelato/Text/Text.php | 8 +- libraries/Gelato/Url/Url.php | 8 +- libraries/Gelato/Validation/Valid.php | 9 ++- libraries/Gelato/Zip/Zip.php | 8 +- plugins/box/information/languages/de.lang.php | 5 +- plugins/box/information/languages/en.lang.php | 4 +- plugins/box/information/languages/it.lang.php | 4 +- plugins/box/information/languages/lt.lang.php | 4 +- .../box/information/languages/pt-br.lang.php | 4 +- plugins/box/information/languages/ru.lang.php | 4 +- plugins/box/information/languages/uk.lang.php | 4 +- .../information/views/backend/index.view.php | 8 +- plugins/box/system/languages/de.lang.php | 1 - plugins/box/system/languages/en.lang.php | 1 - plugins/box/system/languages/it.lang.php | 1 - plugins/box/system/languages/lt.lang.php | 1 - plugins/box/system/languages/pt-br.lang.php | 1 - plugins/box/system/languages/ru.lang.php | 1 - plugins/box/system/languages/uk.lang.php | 1 - plugins/box/system/system.admin.php | 2 +- 72 files changed, 524 insertions(+), 369 deletions(-) rename engine/{Core.php => Monstra.php} (82%) diff --git a/admin/index.php b/admin/index.php index fdde369..6083842 100644 --- a/admin/index.php +++ b/admin/index.php @@ -1,21 +1,21 @@ + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + // Main engine defines define('DS', DIRECTORY_SEPARATOR); define('ROOT', rtrim(str_replace(array('admin'), array(''), dirname(__FILE__)), '\\/')); diff --git a/admin/themes/default/index.template.php b/admin/themes/default/index.template.php index 738cb7b..0dd0530 100644 --- a/admin/themes/default/index.template.php +++ b/admin/themes/default/index.template.php @@ -100,7 +100,7 @@ / / - © 2012 Monstra + © 2012 Monstra

diff --git a/admin/themes/default/login.template.php b/admin/themes/default/login.template.php index b34e634..5882597 100644 --- a/admin/themes/default/login.template.php +++ b/admin/themes/default/login.template.php @@ -109,7 +109,7 @@
- © 2012 Monstra + © 2012 Monstra
diff --git a/engine/Alert.php b/engine/Alert.php index 5d683c0..c56254d 100644 --- a/engine/Alert.php +++ b/engine/Alert.php @@ -1,16 +1,18 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Alert diff --git a/engine/Core.php b/engine/Monstra.php similarity index 82% rename from engine/Core.php rename to engine/Monstra.php index 259493d..ec4994f 100644 --- a/engine/Core.php +++ b/engine/Monstra.php @@ -1,29 +1,28 @@ * - * @package Monstra - * @author Romanenko Sergey / Awilum - * @copyright 2012 Romanenko Sergey / Awilum - * @version $Id$ - * @since 1.0.0 - * @license http://opensource.org/licenses/gpl-license.php GNU Public License - * Monstra is free software. This version may have been modified pursuant - * to the GNU General Public License, and as distributed it includes or - * is derivative of works licensed under the GNU General Public License or - * other free or open source software licenses. - * See COPYING.txt for copyright notices and details. + * This source file is part of the Monstra Engine. More information, + * documentation and tutorials can be found at http://monstra.org + * + * @package Monstra + * + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ -class Core +class Monstra { /** - * An instance of the Core class + * An instance of the Monstra class * * @var core */ @@ -47,7 +46,7 @@ class Core * * @var string */ - public static $environment = Core::PRODUCTION; + public static $environment = Monstra::PRODUCTION; /** * Monstra environment names @@ -55,10 +54,10 @@ class Core * @var array */ public static $environment_names = array( - Core::PRODUCTION => 'production', - Core::STAGING => 'staging', - Core::TESTING => 'testing', - Core::DEVELOPMENT => 'development', + Monstra::PRODUCTION => 'production', + Monstra::STAGING => 'staging', + Monstra::TESTING => 'testing', + Monstra::DEVELOPMENT => 'development', ); /** @@ -79,7 +78,7 @@ class Core /** * Load core defines */ - Core::loadDefines(); + Monstra::loadDefines(); /** * Compress HTML with gzip @@ -113,7 +112,7 @@ class Core /** * Set Gelato Display Errors to False for Production environment. */ - if (Core::$environment == Core::PRODUCTION) { + if (Monstra::$environment == Monstra::PRODUCTION) { define('GELATO_DISPLAY_ERRORS', false); } @@ -126,7 +125,7 @@ class Core * Map all Monstra Classes */ ClassLoader::mapClasses(array( - + // Site Modules 'Security' => ROOT . DS .'engine'. DS .'Security.php', 'Uri' => ROOT . DS .'engine'. DS .'Uri.php', @@ -139,16 +138,16 @@ class Core 'Table' => ROOT . DS .'engine'. DS .'Xmldb'. DS .'Table.php', // Plugin API - 'Plugin' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Plugin.php', - 'Frontend' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Frontend.php', - 'Backend' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Backend.php', - 'Action' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Action.php', - 'Filter' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Filter.php', - 'View' => ROOT . DS .'engine'. DS .'Plugin'. DS .'View.php', - 'I18n' => ROOT . DS .'engine'. DS .'Plugin'. DS .'I18n.php', - 'Stylesheet' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Stylesheet.php', - 'Javascript' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Javascript.php', - 'Navigation' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Navigation.php', + 'Plugin' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Plugin.php', + 'Frontend' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Frontend.php', + 'Backend' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Backend.php', + 'Action' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Action.php', + 'Filter' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Filter.php', + 'View' => ROOT . DS .'engine'. DS .'Plugin'. DS .'View.php', + 'I18n' => ROOT . DS .'engine'. DS .'Plugin'. DS .'I18n.php', + 'Stylesheet' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Stylesheet.php', + 'Javascript' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Javascript.php', + 'Navigation' => ROOT . DS .'engine'. DS .'Plugin'. DS .'Navigation.php', // Option API 'Option' => ROOT . DS .'engine'. DS .'Option.php', @@ -175,7 +174,7 @@ class Core /** * Auto cleanup if MONSTRA_DEBUG is TRUE */ - if (Core::$environment == Core::DEVELOPMENT) { + if (Monstra::$environment == Monstra::DEVELOPMENT) { // Cleanup minify if (count($files = File::scan(MINIFY, array('css', 'js', 'php'))) > 0) foreach ($files as $file) File::delete(MINIFY . DS . $file); @@ -208,7 +207,7 @@ class Core /** * Load default */ - Core::loadPluggable(); + Monstra::loadPluggable(); /** * Init I18n @@ -237,7 +236,7 @@ class Core protected static function loadDefines() { $root_defines = ROOT . DS . 'boot' . DS . 'defines.php'; - $environment_defines = ROOT . DS . 'boot' . DS . Core::$environment_names[Core::$environment] . DS . 'defines.php'; + $environment_defines = ROOT . DS . 'boot' . DS . Monstra::$environment_names[Monstra::$environment] . DS . 'defines.php'; $monstra_defines = ROOT . DS . 'engine' . DS . 'boot' . DS . 'defines.php'; if (file_exists($root_defines)) { @@ -257,7 +256,7 @@ class Core protected static function loadPluggable() { $root_pluggable = ROOT . DS . 'boot'; - $environment_pluggable = ROOT . DS . 'boot' . DS . Core::$environment_names[Core::$environment]; + $environment_pluggable = ROOT . DS . 'boot' . DS . Monstra::$environment_names[Monstra::$environment]; $monstra_pluggable = ROOT . DS . 'engine' . DS . 'boot'; if (file_exists($root_pluggable . DS . 'filters.php')) { @@ -295,11 +294,11 @@ class Core /** * Initialize Monstra Engine * - * @return Core + * @return Monstra */ public static function init() { - if ( ! isset(self::$instance)) self::$instance = new Core(); + if ( ! isset(self::$instance)) self::$instance = new Monstra(); return self::$instance; } diff --git a/engine/Option.php b/engine/Option.php index 4f5ad68..f0daa89 100644 --- a/engine/Option.php +++ b/engine/Option.php @@ -1,21 +1,18 @@ + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Option diff --git a/engine/Plugin/Action.php b/engine/Plugin/Action.php index 15e4a31..0e24b0e 100644 --- a/engine/Plugin/Action.php +++ b/engine/Plugin/Action.php @@ -1,9 +1,20 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + class Action { /** diff --git a/engine/Plugin/Backend.php b/engine/Plugin/Backend.php index 8eec4e8..cc0ccff 100644 --- a/engine/Plugin/Backend.php +++ b/engine/Plugin/Backend.php @@ -1,10 +1,21 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + class Backend { public static function main() { } -} \ No newline at end of file +} diff --git a/engine/Plugin/Filter.php b/engine/Plugin/Filter.php index cd63758..be4ffba 100644 --- a/engine/Plugin/Filter.php +++ b/engine/Plugin/Filter.php @@ -1,9 +1,20 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + class Filter { /** diff --git a/engine/Plugin/Frontend.php b/engine/Plugin/Frontend.php index 772eb89..bf1b6ef 100644 --- a/engine/Plugin/Frontend.php +++ b/engine/Plugin/Frontend.php @@ -1,8 +1,20 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + class Frontend { public static function main() { } @@ -12,4 +24,4 @@ class Frontend public static function template() { return 'index'; } public static function content() { return ''; } -} \ No newline at end of file +} diff --git a/engine/Plugin/I18n.php b/engine/Plugin/I18n.php index 5e99e16..658ae06 100644 --- a/engine/Plugin/I18n.php +++ b/engine/Plugin/I18n.php @@ -1,9 +1,20 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + class I18n { /** diff --git a/engine/Plugin/Javascript.php b/engine/Plugin/Javascript.php index 73fa804..14290eb 100644 --- a/engine/Plugin/Javascript.php +++ b/engine/Plugin/Javascript.php @@ -1,9 +1,20 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + class Javascript { /** @@ -23,7 +34,6 @@ class Javascript // Nothing here } - /** * Add javascript * @@ -46,7 +56,6 @@ class Javascript ); } - /** * Combine and load site javascript */ @@ -64,11 +73,9 @@ class Javascript $frontend_buffer = ''; $frontend_regenerate = false; - // Sort javascripts by priority $javascripts = Arr::subvalSort(Javascript::$javascripts, 'priority'); - if (BACKEND) { // Build backend site javascript @@ -126,4 +133,4 @@ class Javascript } } -} \ No newline at end of file +} diff --git a/engine/Plugin/Navigation.php b/engine/Plugin/Navigation.php index b40091b..af78b0a 100644 --- a/engine/Plugin/Navigation.php +++ b/engine/Plugin/Navigation.php @@ -1,9 +1,20 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + class Navigation { /** @@ -13,14 +24,12 @@ class Navigation */ public static $items = array(); - /** * Navigation types */ const LEFT = 1; const TOP = 2; - /** * Add new item * @@ -51,7 +60,6 @@ class Navigation ); } - /** * Draw items * diff --git a/engine/Plugin/Plugin.php b/engine/Plugin/Plugin.php index 42944d7..99f7029 100644 --- a/engine/Plugin/Plugin.php +++ b/engine/Plugin/Plugin.php @@ -1,9 +1,20 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + class Plugin { /** diff --git a/engine/Plugin/Stylesheet.php b/engine/Plugin/Stylesheet.php index c735593..af0242b 100644 --- a/engine/Plugin/Stylesheet.php +++ b/engine/Plugin/Stylesheet.php @@ -1,9 +1,20 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + class Stylesheet { /** @@ -13,7 +24,6 @@ class Stylesheet */ public static $stylesheets = array(); - /** * Protected constructor since this is a static class. * @@ -24,7 +34,6 @@ class Stylesheet // Nothing here } - /** * Add stylesheet * @@ -47,7 +56,6 @@ class Stylesheet ); } - /** * Minify, combine and load site stylesheet */ @@ -65,7 +73,6 @@ class Stylesheet $frontend_buffer = ''; $frontend_regenerate = false; - // Sort stylesheets by priority $stylesheets = Arr::subvalSort(Stylesheet::$stylesheets, 'priority'); @@ -93,7 +100,6 @@ class Stylesheet $backend_regenerate = false; } - } else { // Build frontend site stylesheets @@ -129,7 +135,6 @@ class Stylesheet } } - /** * CSS Parser */ @@ -144,5 +149,4 @@ class Stylesheet $frontend_buffer); } - -} \ No newline at end of file +} diff --git a/engine/Plugin/View.php b/engine/Plugin/View.php index c637ce6..ccab9bb 100644 --- a/engine/Plugin/View.php +++ b/engine/Plugin/View.php @@ -1,8 +1,20 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + class View { /** diff --git a/engine/Security.php b/engine/Security.php index c895f62..de0cfff 100644 --- a/engine/Security.php +++ b/engine/Security.php @@ -1,21 +1,18 @@ + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Security diff --git a/engine/Shortcode.php b/engine/Shortcode.php index f5580b1..01b26b1 100644 --- a/engine/Shortcode.php +++ b/engine/Shortcode.php @@ -1,36 +1,18 @@ + * @copyright 2012-2013 Romanenko Sergey / Awilum * - * - * Example of escaping shortcodes: - * - * {{shortcode}} - * - * - * @package Monstra - * @subpackage Engine - * @author Romanenko Sergey / Awilum - * @copyright 2012 Romanenko Sergey / Awilum - * @version $Id$ - * @since 1.0.0 - * @license http://opensource.org/licenses/gpl-license.php GNU Public License - * Monstra is free software. This version may have been modified pursuant - * to the GNU General Public License, and as distributed it includes or - * is derivative of works licensed under the GNU General Public License or - * other free or open source software licenses. - * See COPYING.txt for copyright notices and details. - * @filesource + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Shortcode diff --git a/engine/Site.php b/engine/Site.php index 9a75078..3991db2 100644 --- a/engine/Site.php +++ b/engine/Site.php @@ -1,21 +1,18 @@ + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Site @@ -221,7 +218,7 @@ class Site */ public static function powered() { - return __('Powered by', 'system').' Monstra ' . Core::VERSION; + return __('Powered by', 'system').' Monstra ' . Monstra::VERSION; } } diff --git a/engine/Uri.php b/engine/Uri.php index 96c691c..20478e7 100644 --- a/engine/Uri.php +++ b/engine/Uri.php @@ -1,21 +1,18 @@ + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Uri diff --git a/engine/Xmldb/DB.php b/engine/Xmldb/DB.php index 43ed9ec..113fb99 100644 --- a/engine/Xmldb/DB.php +++ b/engine/Xmldb/DB.php @@ -1,10 +1,20 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + class DB { /** diff --git a/engine/Xmldb/Table.php b/engine/Xmldb/Table.php index 074d3fd..1447337 100644 --- a/engine/Xmldb/Table.php +++ b/engine/Xmldb/Table.php @@ -1,9 +1,20 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + class Table { /** diff --git a/engine/Xmldb/XML.php b/engine/Xmldb/XML.php index 09f23ac..dd67001 100644 --- a/engine/Xmldb/XML.php +++ b/engine/Xmldb/XML.php @@ -1,8 +1,20 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ + class XML { /** diff --git a/engine/_init.php b/engine/_init.php index 00fb091..795d08c 100644 --- a/engine/_init.php +++ b/engine/_init.php @@ -17,22 +17,22 @@ if (version_compare(PHP_VERSION, "5.2.0", "<")) { } /** - * Include Monstra Engine Core + * Include Monstra Engine */ -include ROOT . DS .'engine'. DS .'Core.php'; +include ROOT . DS .'engine'. DS .'Monstra.php'; /** - * Set Monstra Core Environment + * Set Monstra Environment * * Monstra has four predefined environments: - * Core::DEVELOPMENT - The development environment. - * Core::TESTING - The test environment. - * Core::STAGING - The staging environment. - * Core::PRODUCTION - The production environment. + * Monstra::DEVELOPMENT - The development environment. + * Monstra::TESTING - The test environment. + * Monstra::STAGING - The staging environment. + * Monstra::PRODUCTION - The production environment. */ -Core::$environment = Core::DEVELOPMENT; +Monstra::$environment = Monstra::DEVELOPMENT; /** - * Initialize Core + * Initialize Monstra */ -Core::init(); +Monstra::init(); diff --git a/engine/boot/actions.php b/engine/boot/actions.php index 9b50bec..563ee9c 100644 --- a/engine/boot/actions.php +++ b/engine/boot/actions.php @@ -1,7 +1,7 @@ -'; } +function setMetaGenerator() { echo ''; } diff --git a/engine/boot/filters.php b/engine/boot/filters.php index 9bb1ce8..ae4f61f 100644 --- a/engine/boot/filters.php +++ b/engine/boot/filters.php @@ -1,4 +1,4 @@ - + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ - - // Main engine defines define('DS', DIRECTORY_SEPARATOR); define('ROOT', rtrim(dirname(__FILE__), '\\/')); @@ -28,6 +25,7 @@ define('MONSTRA_ACCESS', true); function byteFormat($size) { $unit = array('b', 'kb', 'mb', 'gb', 'tb', 'pb'); + return @round($size/pow(1024, ($i=floor(log($size, 1024)))), 2).' '.$unit[$i]; } $_start = memory_get_usage(); @@ -76,4 +74,4 @@ if (file_exists('install.php')) { /* TEMP CODE BEGIN */ echo byteFormat(memory_get_usage() - $_start); -/* TEMP CODE END */ \ No newline at end of file +/* TEMP CODE END */ diff --git a/libraries/Gelato/Agent/Agent.php b/libraries/Gelato/Agent/Agent.php index 790043d..9326ec6 100644 --- a/libraries/Gelato/Agent/Agent.php +++ b/libraries/Gelato/Agent/Agent.php @@ -6,11 +6,13 @@ * This source file is part of the Gelato Library. More information, * documentation and tutorials can be found at http://gelato.monstra.org * - * @package Gelato + * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Agent diff --git a/libraries/Gelato/Arr/Arr.php b/libraries/Gelato/Arr/Arr.php index 9152ce3..07ac3ea 100644 --- a/libraries/Gelato/Arr/Arr.php +++ b/libraries/Gelato/Arr/Arr.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Arr diff --git a/libraries/Gelato/Cache/Cache.php b/libraries/Gelato/Cache/Cache.php index 36fdc4d..4eb7df7 100644 --- a/libraries/Gelato/Cache/Cache.php +++ b/libraries/Gelato/Cache/Cache.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Cache diff --git a/libraries/Gelato/ClassLoader/ClassLoader.php b/libraries/Gelato/ClassLoader/ClassLoader.php index bbeae3f..1ddd9e6 100644 --- a/libraries/Gelato/ClassLoader/ClassLoader.php +++ b/libraries/Gelato/ClassLoader/ClassLoader.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class ClassLoader diff --git a/libraries/Gelato/Cookie/Cookie.php b/libraries/Gelato/Cookie/Cookie.php index 6070d6e..fe553bf 100644 --- a/libraries/Gelato/Cookie/Cookie.php +++ b/libraries/Gelato/Cookie/Cookie.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Cookie diff --git a/libraries/Gelato/Curl/Curl.php b/libraries/Gelato/Curl/Curl.php index 94c91c1..a5b5b73 100644 --- a/libraries/Gelato/Curl/Curl.php +++ b/libraries/Gelato/Curl/Curl.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Curl diff --git a/libraries/Gelato/Date/Date.php b/libraries/Gelato/Date/Date.php index 0e2039c..a83488a 100644 --- a/libraries/Gelato/Date/Date.php +++ b/libraries/Gelato/Date/Date.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Date diff --git a/libraries/Gelato/Debug/Debug.php b/libraries/Gelato/Debug/Debug.php index 1493002..9097a2b 100644 --- a/libraries/Gelato/Debug/Debug.php +++ b/libraries/Gelato/Debug/Debug.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Debug diff --git a/libraries/Gelato/ErrorHandler/ErrorHandler.php b/libraries/Gelato/ErrorHandler/ErrorHandler.php index 5f6e21b..86055ad 100644 --- a/libraries/Gelato/ErrorHandler/ErrorHandler.php +++ b/libraries/Gelato/ErrorHandler/ErrorHandler.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class ErrorHandler diff --git a/libraries/Gelato/FileSystem/Dir.php b/libraries/Gelato/FileSystem/Dir.php index 807725e..6b30fa8 100644 --- a/libraries/Gelato/FileSystem/Dir.php +++ b/libraries/Gelato/FileSystem/Dir.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Dir diff --git a/libraries/Gelato/FileSystem/File.php b/libraries/Gelato/FileSystem/File.php index c85d9a4..4938355 100644 --- a/libraries/Gelato/FileSystem/File.php +++ b/libraries/Gelato/FileSystem/File.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class File diff --git a/libraries/Gelato/Form/Form.php b/libraries/Gelato/Form/Form.php index b0d28b0..9214d89 100644 --- a/libraries/Gelato/Form/Form.php +++ b/libraries/Gelato/Form/Form.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Form diff --git a/libraries/Gelato/Gelato.php b/libraries/Gelato/Gelato.php index ef8d28c..c07419a 100644 --- a/libraries/Gelato/Gelato.php +++ b/libraries/Gelato/Gelato.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ /** @@ -25,6 +27,13 @@ if ( ! defined('GELATO_DISPLAY_ERRORS')) { define('GELATO_DISPLAY_ERRORS', true); } +/** + * Display Gelato Autoloader or not ? + */ +if ( ! defined('GELATO_AUTOLOADER')) { + define('GELATO_AUTOLOADER', true); +} + /** * Load Gelato Error Handler */ @@ -54,34 +63,36 @@ require_once __DIR__ . '/ClassLoader/ClassLoader.php'; * Map all Gelato Classes */ ClassLoader::mapClasses(array( - 'Agent' => __DIR__.'/Agent/Agent.php', - 'Arr' => __DIR__.'/Arr/Arr.php', - 'Cache' => __DIR__.'/Cache/Cache.php', - 'Cookie' => __DIR__.'/Cookie/Cookie.php', - 'Curl' => __DIR__.'/Curl/Curl.php', - 'Date' => __DIR__.'/Date/Date.php', - 'Debug' => __DIR__.'/Debug/Debug.php', - 'File' => __DIR__.'/FileSystem/File.php', - 'Dir' => __DIR__.'/FileSystem/Dir.php', - 'Form' => __DIR__.'/Form/Form.php', - 'Html' => __DIR__.'/Html/Html.php', - 'Image' => __DIR__.'/Image/Image.php', - 'Inflector' => __DIR__.'/Inflector/Inflector.php', - 'Minify' => __DIR__.'/Minify/Minify.php', + 'Agent' => __DIR__.'/Agent/Agent.php', + 'Arr' => __DIR__.'/Arr/Arr.php', + 'Cache' => __DIR__.'/Cache/Cache.php', + 'Cookie' => __DIR__.'/Cookie/Cookie.php', + 'Curl' => __DIR__.'/Curl/Curl.php', + 'Date' => __DIR__.'/Date/Date.php', + 'Debug' => __DIR__.'/Debug/Debug.php', + 'File' => __DIR__.'/FileSystem/File.php', + 'Dir' => __DIR__.'/FileSystem/Dir.php', + 'Form' => __DIR__.'/Form/Form.php', + 'Html' => __DIR__.'/Html/Html.php', + 'Image' => __DIR__.'/Image/Image.php', + 'Inflector' => __DIR__.'/Inflector/Inflector.php', + 'Minify' => __DIR__.'/Minify/Minify.php', 'Notification' => __DIR__.'/Notification/Notification.php', - 'Number' => __DIR__.'/Number/Number.php', - 'Registry' => __DIR__.'/Registry/Registry.php', - 'Request' => __DIR__.'/Http/Request.php', - 'Response' => __DIR__.'/Http/Response.php', - 'Token' => __DIR__.'/Security/Token.php', - 'Text' => __DIR__.'/Text/Text.php', - 'Session' => __DIR__.'/Session/Session.php', - 'Url' => __DIR__.'/Url/Url.php', - 'Valid' => __DIR__.'/Validation/Valid.php', - 'Zip' => __DIR__.'/Zip/Zip.php', + 'Number' => __DIR__.'/Number/Number.php', + 'Registry' => __DIR__.'/Registry/Registry.php', + 'Request' => __DIR__.'/Http/Request.php', + 'Response' => __DIR__.'/Http/Response.php', + 'Token' => __DIR__.'/Security/Token.php', + 'Text' => __DIR__.'/Text/Text.php', + 'Session' => __DIR__.'/Session/Session.php', + 'Url' => __DIR__.'/Url/Url.php', + 'Valid' => __DIR__.'/Validation/Valid.php', + 'Zip' => __DIR__.'/Zip/Zip.php', )); /** * Register Gelato Autoloader */ -spl_autoload_register('ClassLoader::load'); +if (GELATO_AUTOLOADER) { + spl_autoload_register('ClassLoader::load'); +} diff --git a/libraries/Gelato/Html/Html.php b/libraries/Gelato/Html/Html.php index d5c897a..351f76b 100644 --- a/libraries/Gelato/Html/Html.php +++ b/libraries/Gelato/Html/Html.php @@ -8,11 +8,12 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ - class Html { /** diff --git a/libraries/Gelato/Http/Request.php b/libraries/Gelato/Http/Request.php index 54ba69e..4b658bf 100644 --- a/libraries/Gelato/Http/Request.php +++ b/libraries/Gelato/Http/Request.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Request diff --git a/libraries/Gelato/Http/Response.php b/libraries/Gelato/Http/Response.php index 8bc0a77..b5eeec5 100644 --- a/libraries/Gelato/Http/Response.php +++ b/libraries/Gelato/Http/Response.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Response diff --git a/libraries/Gelato/Image/Image.php b/libraries/Gelato/Image/Image.php index 749137a..b4e5faf 100644 --- a/libraries/Gelato/Image/Image.php +++ b/libraries/Gelato/Image/Image.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Image diff --git a/libraries/Gelato/Inflector/Inflector.php b/libraries/Gelato/Inflector/Inflector.php index a5e9dd5..9662217 100644 --- a/libraries/Gelato/Inflector/Inflector.php +++ b/libraries/Gelato/Inflector/Inflector.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Inflector diff --git a/libraries/Gelato/Minify/Minify.php b/libraries/Gelato/Minify/Minify.php index 0047809..62c4342 100644 --- a/libraries/Gelato/Minify/Minify.php +++ b/libraries/Gelato/Minify/Minify.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Minify diff --git a/libraries/Gelato/Notification/Notification.php b/libraries/Gelato/Notification/Notification.php index d4539cc..8ed22d0 100644 --- a/libraries/Gelato/Notification/Notification.php +++ b/libraries/Gelato/Notification/Notification.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Notification diff --git a/libraries/Gelato/Number/Number.php b/libraries/Gelato/Number/Number.php index 5594113..d5ef111 100644 --- a/libraries/Gelato/Number/Number.php +++ b/libraries/Gelato/Number/Number.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Number diff --git a/libraries/Gelato/Registry/Registry.php b/libraries/Gelato/Registry/Registry.php index 7d38777..5b7be76 100644 --- a/libraries/Gelato/Registry/Registry.php +++ b/libraries/Gelato/Registry/Registry.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Registry diff --git a/libraries/Gelato/Security/Token.php b/libraries/Gelato/Security/Token.php index f7896ac..2954f6d 100644 --- a/libraries/Gelato/Security/Token.php +++ b/libraries/Gelato/Security/Token.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Token diff --git a/libraries/Gelato/Session/Session.php b/libraries/Gelato/Session/Session.php index f975a5a..75ec363 100644 --- a/libraries/Gelato/Session/Session.php +++ b/libraries/Gelato/Session/Session.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Session diff --git a/libraries/Gelato/Text/Text.php b/libraries/Gelato/Text/Text.php index 92cbfa3..560e51b 100644 --- a/libraries/Gelato/Text/Text.php +++ b/libraries/Gelato/Text/Text.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Text diff --git a/libraries/Gelato/Url/Url.php b/libraries/Gelato/Url/Url.php index 9d476c1..f624086 100644 --- a/libraries/Gelato/Url/Url.php +++ b/libraries/Gelato/Url/Url.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Url diff --git a/libraries/Gelato/Validation/Valid.php b/libraries/Gelato/Validation/Valid.php index 307f01c..d599321 100644 --- a/libraries/Gelato/Validation/Valid.php +++ b/libraries/Gelato/Validation/Valid.php @@ -8,11 +8,12 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ - class Valid { /** diff --git a/libraries/Gelato/Zip/Zip.php b/libraries/Gelato/Zip/Zip.php index f05dd37..83461c3 100644 --- a/libraries/Gelato/Zip/Zip.php +++ b/libraries/Gelato/Zip/Zip.php @@ -8,9 +8,11 @@ * * @package Gelato * - * @author Romanenko Sergey / Awilum - * @copyright (c) 2013 Romanenko Sergey / Awilum - * @since 1.0.0 + * @author Romanenko Sergey / Awilum + * @copyright 2012-2013 Romanenko Sergey / Awilum + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ class Zip diff --git a/plugins/box/information/languages/de.lang.php b/plugins/box/information/languages/de.lang.php index eb6316d..8015125 100644 --- a/plugins/box/information/languages/de.lang.php +++ b/plugins/box/information/languages/de.lang.php @@ -20,13 +20,12 @@ 'The configuration file has been found to be writable. We would advise you to remove all write permissions on defines.php on production systems.' => 'Die Konfigurationsdatei wurde als beschreibbar entdeckt. Wir empfehlen alle Schreibrechte für defines.php auf Produktionssystemen zu entfernen.', 'The Monstra core directory (":path") and/or files underneath it has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod -R a-w :path' => - 'Das Monstra-Core-Verzeichnis (":path") und/oder Dateien unterhalb des Verzeichnisses wurden als beschreibbar entdeckt. Wir empfehlen alle Schreibrechte zu entfernen.
Du kannst dies auf Unix-Systemen ganz einfach mit: chmod -R a-w :path erledigen.', 'The Monstra .htaccess file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path' => 'Die Monstra .htaccess Datei wurde als beschreibbar entdeckt. Wir empfehlen alle Schreibrechte zu entfernen.
Du kannst dies auf Unix-Systemen ganz einfach mit: chmod a-w :path erledigen.', 'The Monstra index.php file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path' => 'Die Monstra index.php Datei wurde als beschreibbar entdeckt. Wir empfehlen alle Schreibrechte zu entfernen.
Du kannst dies auf Unix-Systemen ganz einfach mit: chmod a-w :path erledigen.', - 'Due to the type and amount of information an error might give intruders when Core::$environment = Core::DEVELOPMENT, we strongly advise setting Core::PRODUCTION in production systems.' => - 'Aufgrund der Art und Menge der Informationen kann ein Fehler Eindringlinge ergeben wenn Core::$environment = Core::DEVELOPMENT, wir raten dringend dazu folgendermaßen Core::PRODUCTION in Produktionssystemen einzustellen.', + 'Due to the type and amount of information an error might give intruders when Monstra::$environment = Monstra::DEVELOPMENT, we strongly advise setting Monstra::PRODUCTION in production systems.' => + 'Aufgrund der Art und Menge der Informationen kann ein Fehler Eindringlinge ergeben wenn Monstra::$environment = Monstra::DEVELOPMENT, wir raten dringend dazu folgendermaßen Monstra::PRODUCTION in Produktionssystemen einzustellen.', 'Monstra version' => 'Monstra version', 'Directory Permissions' => 'Directory Berechtigungen', 'Directory' => 'Verzeichnis', diff --git a/plugins/box/information/languages/en.lang.php b/plugins/box/information/languages/en.lang.php index 32e91b4..d75a50e 100644 --- a/plugins/box/information/languages/en.lang.php +++ b/plugins/box/information/languages/en.lang.php @@ -25,8 +25,8 @@ 'The Monstra .htaccess file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path', 'The Monstra index.php file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path' => 'The Monstra index.php file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path', - 'Due to the type and amount of information an error might give intruders when Core::$environment = Core::DEVELOPMENT, we strongly advise setting Core::PRODUCTION in production systems.' => - 'Due to the type and amount of information an error might give intruders when Core::$environment = Core::DEVELOPMENT, we strongly advise setting Core::PRODUCTION in production systems.', + 'Due to the type and amount of information an error might give intruders when Monstra::$environment = Monstra::DEVELOPMENT, we strongly advise setting Monstra::PRODUCTION in production systems.' => + 'Due to the type and amount of information an error might give intruders when Monstra::$environment = Monstra::DEVELOPMENT, we strongly advise setting Monstra::PRODUCTION in production systems.', 'Monstra version' => 'Monstra version', 'Directory Permissions' => 'Directory Permissions', 'Directory' => 'Directory', diff --git a/plugins/box/information/languages/it.lang.php b/plugins/box/information/languages/it.lang.php index 5aff31e..7662732 100644 --- a/plugins/box/information/languages/it.lang.php +++ b/plugins/box/information/languages/it.lang.php @@ -25,8 +25,8 @@ 'Principale file .htaccess è scrivibile. Si consiglia di rimuovere le autorizzazioni di scrittura per il file principale .htaccess.
È possibile eseguire questa operazione su sistemi UNIX così: chmod -R a-w :path', 'The Monstra index.php file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path' => 'Principale file index.php è scrivibile. Si consiglia di rimuovere le autorizzazioni di scrittura per il file principale index.php.
È possibile eseguire questa operazione su sistemi UNIX così: chmod -R a-w :path', - 'Due to the type and amount of information an error might give intruders when Core::$environment = Core::DEVELOPMENT, we strongly advise setting Core::PRODUCTION in production systems.' => - 'Il sistema opera con lo stato Core::DEVELOPMENT Si consiglia di impostare lo stato Core::PRODUCTION sul sito funzionante.', + 'Due to the type and amount of information an error might give intruders when Monstra::$environment = Monstra::DEVELOPMENT, we strongly advise setting Monstra::PRODUCTION in production systems.' => + 'Il sistema opera con lo stato Monstra::DEVELOPMENT Si consiglia di impostare lo stato Monstra::PRODUCTION sul sito funzionante.', 'Monstra version' => 'Monstra versione', 'Directory Permissions' => 'Directory Autorizzazioni', 'Directory' => 'Directory', diff --git a/plugins/box/information/languages/lt.lang.php b/plugins/box/information/languages/lt.lang.php index a5a82b2..66f4fad 100644 --- a/plugins/box/information/languages/lt.lang.php +++ b/plugins/box/information/languages/lt.lang.php @@ -25,8 +25,8 @@ 'Monstra .htaccess bylą galima perrašyti. Siūlome pašalinti visus rašymo leidimus.
Tai galite padaryti Unix sistemoje su: chmod a-w :path', 'The Monstra index.php file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path' => 'Monstra index.php bylą galima perrašyti. Siūlome pašalinti visus rašymo leidimus.
Tai galite padaryti Unix sistemoje su: chmod a-w :path', - 'Due to the type and amount of information an error might give intruders when Core::$environment = Core::DEVELOPMENT, we strongly advise setting Core::PRODUCTION in production systems.' => - 'Dėl įsilaužimų grėsmės atvaiduojant klaidų pranešimus Core::$environment = Core::DEVELOPMENT veiksenoje, rekomenduojame naudoti Core::PRODUCTION nustatymą nuolatinėje tinklapio veiksenoje.', + 'Due to the type and amount of information an error might give intruders when Monstra::$environment = Monstra::DEVELOPMENT, we strongly advise setting Monstra::PRODUCTION in production systems.' => + 'Dėl įsilaužimų grėsmės atvaiduojant klaidų pranešimus Monstra::$environment = Monstra::DEVELOPMENT veiksenoje, rekomenduojame naudoti Monstra::PRODUCTION nustatymą nuolatinėje tinklapio veiksenoje.', 'Monstra version' => 'Monstra versija', 'Directory Permissions' => 'Katalogo teisės', 'Directory' => 'Katalogas', diff --git a/plugins/box/information/languages/pt-br.lang.php b/plugins/box/information/languages/pt-br.lang.php index 0b2c63f..9b3647b 100644 --- a/plugins/box/information/languages/pt-br.lang.php +++ b/plugins/box/information/languages/pt-br.lang.php @@ -25,8 +25,8 @@ 'O arquivo .htaccess da pasta de instalação do Monstra está com permissões de escrita. Para sua melhor segurança, você deve remover as permissões de escritas.
Você pode fazer isso em sistemas UNIX com: chmod a-w :path', 'The Monstra index.php file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path' => 'O arquivo index.php do diretório de instalação do Monstra está com permissões de escrita. Para sua melhor segurança, você deve remover as permissões de escritas.
Vocês pode fazer isso em sistemas UNIX com: chmod a-w :path', - 'Due to the type and amount of information an error might give intruders when Core::$environment = Core::DEVELOPMENT, we strongly advise setting Core::PRODUCTION in production systems.' => - 'Devide ao tipo e quantidade de informações, um erro pode trazer possíveis intrusos se a variável Core::$environment for igual à Core::DEVELOPMENT, para isso nós recomendamos fortemente que você sete a variável para o seguinte valor: Core::PRODUCTION em sistemas de produção.', + 'Due to the type and amount of information an error might give intruders when Monstra::$environment = Monstra::DEVELOPMENT, we strongly advise setting Monstra::PRODUCTION in production systems.' => + 'Devide ao tipo e quantidade de informações, um erro pode trazer possíveis intrusos se a variável Monstra::$environment for igual à Monstra::DEVELOPMENT, para isso nós recomendamos fortemente que você sete a variável para o seguinte valor: Monstra::PRODUCTION em sistemas de produção.', 'Monstra version' => 'Monstra versão', 'Directory Permissions' => 'Permissões de Diretório', 'Directory' => 'Diretório', diff --git a/plugins/box/information/languages/ru.lang.php b/plugins/box/information/languages/ru.lang.php index 2ac0df9..bc29390 100644 --- a/plugins/box/information/languages/ru.lang.php +++ b/plugins/box/information/languages/ru.lang.php @@ -25,8 +25,8 @@ 'Главный .htaccess доступен для записи. Мы рекомендуем вам удалить права записи на главный .htaccess файл.
Вы можете сделать это на UNIX системах так: chmod -R a-w :path', 'The Monstra index.php file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path' => 'Главный index.php файл доступен для записи. Мы рекомендуем вам удалить права записи на главный index.php файл.
Вы можете сделать это на UNIX системах так: chmod -R a-w :path', - 'Due to the type and amount of information an error might give intruders when Core::$environment = Core::DEVELOPMENT, we strongly advise setting Core::PRODUCTION in production systems.' => - 'Система работает в режиме Core::DEVELOPMENT Мы рекомендуем вам установить режим Core::PRODUCTION на живом сайте.', + 'Due to the type and amount of information an error might give intruders when Monstra::$environment = Monstra::DEVELOPMENT, we strongly advise setting Monstra::PRODUCTION in production systems.' => + 'Система работает в режиме Monstra::DEVELOPMENT Мы рекомендуем вам установить режим Monstra::PRODUCTION на живом сайте.', 'Monstra version' => 'Monstra Версия', 'Directory Permissions' => 'Права доступа', 'Directory' => 'Каталог', diff --git a/plugins/box/information/languages/uk.lang.php b/plugins/box/information/languages/uk.lang.php index daafc46..01331b0 100644 --- a/plugins/box/information/languages/uk.lang.php +++ b/plugins/box/information/languages/uk.lang.php @@ -25,8 +25,8 @@ 'Головный .htaccess доступен для запису. Ми рекомендуємо вам видалити права запису на головний .htaccess файл.
Ви можете зробити це на UNIX системах так: chmod -R a-w :path', 'The Monstra index.php file has been found to be writable. We would advise you to remove all write permissions.
You can do this on unix systems with: chmod a-w :path' => 'Головный index.php файл доступен для запису. Ми рекомендуємо вам видалити права запису на головний index.php файл.
Ви можете зробити це на UNIX системах так: chmod -R a-w :path', - 'Due to the type and amount of information an error might give intruders when Core::$environment = Core::DEVELOPMENT, we strongly advise setting Core::PRODUCTION in production systems.' => - 'Система працює в режимі Core::DEVELOPMENT Ми рекомендуємо вам встановити режим Core::PRODUCTION на живому сайті.', + 'Due to the type and amount of information an error might give intruders when Monstra::$environment = Monstra::DEVELOPMENT, we strongly advise setting Monstra::PRODUCTION in production systems.' => + 'Система працює в режимі Monstra::DEVELOPMENT Ми рекомендуємо вам встановити режим Monstra::PRODUCTION на живому сайті.', 'Monstra version' => 'Monstra Версія', 'Directory Permissions' => 'Права Доступу', 'Directory' => 'Каталог', diff --git a/plugins/box/information/views/backend/index.view.php b/plugins/box/information/views/backend/index.view.php index e68280f..56f6a41 100644 --- a/plugins/box/information/views/backend/index.view.php +++ b/plugins/box/information/views/backend/index.view.php @@ -23,7 +23,7 @@ - + @@ -31,7 +31,7 @@ - + @@ -151,10 +151,10 @@ You can do this on unix systems with: chmod a-w :path', 'information', array(':path' => ROOT . DS . 'index.php')); ?> - + ! - + diff --git a/plugins/box/system/languages/de.lang.php b/plugins/box/system/languages/de.lang.php index 25baf27..ee12af9 100644 --- a/plugins/box/system/languages/de.lang.php +++ b/plugins/box/system/languages/de.lang.php @@ -33,7 +33,6 @@ 'Filters registered' => 'Filter registriert', 'logout' => 'logout', 'site' => 'seite', - 'Core' => 'Core', 'Delete temporary files' => 'Temporäre Dateien löschen', 'Download the latest version' => 'Lade die letzte Version herunter', 'Powered by' => 'Powered by', diff --git a/plugins/box/system/languages/en.lang.php b/plugins/box/system/languages/en.lang.php index 60e7e7f..4b55c23 100644 --- a/plugins/box/system/languages/en.lang.php +++ b/plugins/box/system/languages/en.lang.php @@ -33,7 +33,6 @@ 'Filters registered' => 'Filters registered', 'logout' => 'logout', 'site' => 'site', - 'Core' => 'Core', 'Delete temporary files' => 'Delete temporary files', 'Download the latest version' => 'Download the latest version', 'Powered by' => 'Powered by', diff --git a/plugins/box/system/languages/it.lang.php b/plugins/box/system/languages/it.lang.php index 11159ab..fdca00d 100644 --- a/plugins/box/system/languages/it.lang.php +++ b/plugins/box/system/languages/it.lang.php @@ -33,7 +33,6 @@ 'Filters registered' => 'Filtri registrati', 'logout' => 'esci', 'site' => 'Sito', - 'Core' => 'Cuore', 'Delete temporary files' => 'Cancella i file temporanei', 'Download the latest version' => 'Scarica l’ultima versione', 'Powered by' => 'Powered by', diff --git a/plugins/box/system/languages/lt.lang.php b/plugins/box/system/languages/lt.lang.php index 5f06518..2d9d983 100644 --- a/plugins/box/system/languages/lt.lang.php +++ b/plugins/box/system/languages/lt.lang.php @@ -33,7 +33,6 @@ 'Filters registered' => 'Filtrai užregistruoti', 'logout' => 'atsijungti', 'site' => 'tinklapis', - 'Core' => 'Branduolys', 'Delete temporary files' => 'Trinti laikinas bylas', 'Download the latest version' => 'Atsisiųsti naujausią versiją', 'Powered by' => 'Veikia su', diff --git a/plugins/box/system/languages/pt-br.lang.php b/plugins/box/system/languages/pt-br.lang.php index 616ecde..9631c36 100644 --- a/plugins/box/system/languages/pt-br.lang.php +++ b/plugins/box/system/languages/pt-br.lang.php @@ -33,7 +33,6 @@ 'Filters registered' => 'Filtros registrados', 'logout' => 'Sair', 'site' => 'site', - 'Core' => 'Núcleo', 'Delete temporary files' => 'Deletar arquivo temporário', 'Download the latest version' => 'Baixar a última versão', 'Powered by' => 'Feito com', diff --git a/plugins/box/system/languages/ru.lang.php b/plugins/box/system/languages/ru.lang.php index 17afa9c..0432972 100644 --- a/plugins/box/system/languages/ru.lang.php +++ b/plugins/box/system/languages/ru.lang.php @@ -33,7 +33,6 @@ 'Filters registered' => 'Зарегистрированные фильтры', 'logout' => 'выход', 'site' => 'Сайт', - 'Core' => 'Ядро', 'Delete temporary files' => 'Удалить временные файлы', 'Download the latest version' => 'Скачать последнюю версию', 'Powered by' => 'Работает на', diff --git a/plugins/box/system/languages/uk.lang.php b/plugins/box/system/languages/uk.lang.php index fb396f1..6b5cf3b 100644 --- a/plugins/box/system/languages/uk.lang.php +++ b/plugins/box/system/languages/uk.lang.php @@ -33,7 +33,6 @@ 'Filters registered' => 'Зареєстровані фітри', 'logout' => 'вихід', 'site' => 'Сайт', - 'Core' => 'Ядро', 'Delete temporary files' => 'Видалити тимчасові файли', 'Download the latest version' => 'Завантажити останню версію', 'Powered by' => 'Працює на', diff --git a/plugins/box/system/system.admin.php b/plugins/box/system/system.admin.php index 588ccad..aec3d07 100755 --- a/plugins/box/system/system.admin.php +++ b/plugins/box/system/system.admin.php @@ -14,7 +14,7 @@ function checkMonstraVersion()