';
@@ -645,7 +641,6 @@ class="title"
function getTplFolderNodeNotChildren() {
return '
[+icon+][+lockedByUser+][+nodetitleDisplay+][+weblinkDisplay+] [+pageIdDisplay+] ';
diff --git a/manager/frames/nodes.php b/manager/frames/nodes.php
old mode 100644
new mode 100755
index 45ad492527..b1dd67a5e0
--- a/manager/frames/nodes.php
+++ b/manager/frames/nodes.php
@@ -4,52 +4,52 @@
* Build and return document tree view nodes
*
*/
-if(IN_MANAGER_MODE != 'true') {
- die('
INCLUDE_ORDERING_ERROR Please use the MODX Content Manager instead of accessing this file directly.');
+if (IN_MANAGER_MODE != 'true') {
+ die('
INCLUDE_ORDERING_ERROR Please use the MODX Content Manager instead of accessing this file directly.');
}
include_once('nodes.functions.inc.php');
// save folderstate
-if(isset($_GET['opened'])) {
- $_SESSION['openedArray'] = $_GET['opened'];
+if (isset($_REQUEST['opened'])) {
+ $_SESSION['openedArray'] = $_REQUEST['opened'];
}
-if(isset($_GET['savestateonly'])) {
- exit('send some data');
+if (isset($_REQUEST['savestateonly'])) {
+ exit('send some data');
} //??
-$indent = intval($_GET['indent']);
-$parent = intval($_GET['parent']);
-$expandAll = intval($_GET['expandAll']);
+$indent = intval($_REQUEST['indent']);
+$parent = intval($_REQUEST['parent']);
+$expandAll = intval($_REQUEST['expandAll']);
$output = '';
$theme = $manager_theme . "/";
-$hereid = isset($_GET['id']) ? $_GET['id'] : '';
+$hereid = isset($_REQUEST['id']) && is_numeric($_REQUEST['id']) ? $_REQUEST['id'] : '';
-if(isset($_GET['showonlyfolders'])) {
- $_SESSION['tree_show_only_folders'] = $_GET['showonlyfolders'];
+if (isset($_REQUEST['showonlyfolders'])) {
+ $_SESSION['tree_show_only_folders'] = $_REQUEST['showonlyfolders'];
}
// setup sorting
$sortParams = array(
- 'tree_sortby',
- 'tree_sortdir',
- 'tree_nodename'
+ 'tree_sortby',
+ 'tree_sortdir',
+ 'tree_nodename'
);
-foreach($sortParams as $param) {
- if(isset($_REQUEST[$param])) {
- $_SESSION[$param] = $_REQUEST[$param];
- $modx->manager->saveLastUserSetting($param, $_REQUEST[$param]);
- }
+foreach ($sortParams as $param) {
+ if (isset($_REQUEST[$param])) {
+ $_SESSION[$param] = $_REQUEST[$param];
+ $modx->manager->saveLastUserSetting($param, $_REQUEST[$param]);
+ }
}
// icons by content type
$icons = getIconInfo($_style);
$iconsPrivate = getPrivateIconInfo($_style);
-if(isset($_SESSION['openedArray'])) {
- $opened = array_filter(array_map('intval', explode('|', $_SESSION['openedArray'])));
+if (isset($_SESSION['openedArray'])) {
+ $opened = array_filter(array_map('intval', explode('|', $_SESSION['openedArray'])));
} else {
- $opened = array();
+ $opened = array();
}
$opened2 = array();
@@ -58,22 +58,10 @@
//makeHTML($indent, $parent, $expandAll, $theme, $hereid);
echo makeHTML($indent, $parent, $expandAll, $theme, $hereid);
-// store vars in Javascript
-//$scr = '';
-//if($expandAll == 1) {
-// $scr .= ' ';
-//}
-//echo $scr;
-
// check for deleted documents on reload
-if($expandAll == 2) {
- $rs = $modx->db->select('COUNT(*)', $modx->getFullTableName('site_content'), 'deleted=1');
- $count = $modx->db->getValue($rs);
- if($count > 0) {
- echo '
';
- } // add a special element to let system now that the bin is full
+if ($expandAll == 2) {
+ $rs = $modx->db->select('id', $modx->getFullTableName('site_content'), 'deleted=1 LIMIT 1');
+ if ($modx->db->getRecordCount($rs)) {
+ echo '
'; // add a special element to let system now that the bin is full
+ }
}
diff --git a/manager/frames/tree.php b/manager/frames/tree.php
old mode 100644
new mode 100755
index 8c2a1bb582..533bc598b1
--- a/manager/frames/tree.php
+++ b/manager/frames/tree.php
@@ -18,16 +18,16 @@
hasPermission('new_document')) { ?>
-
-
+
+
- hasPermission('edit_document')) { ?>
-
+ hasPermission('edit_document') && $modx->hasPermission('save_document')) { ?>
+
hasPermission('assets_images')) { ?>
diff --git a/manager/ht.access b/manager/ht.access
old mode 100644
new mode 100755
diff --git a/manager/includes/accesscontrol.inc.php b/manager/includes/accesscontrol.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/active_user_locks.inc.php b/manager/includes/active_user_locks.inc.php
old mode 100644
new mode 100755
index 821d7c063d..13db38f5d9
--- a/manager/includes/active_user_locks.inc.php
+++ b/manager/includes/active_user_locks.inc.php
@@ -1,73 +1,35 @@
INCLUDE_ORDERING_ERROR
Please use the MODX Content Manager instead of accessing this file directly.");
+if (IN_MANAGER_MODE != "true") {
+ die("
INCLUDE_ORDERING_ERROR Please use the MODX Content Manager instead of accessing this file directly.");
+}
$lockElementId = intval($lockElementId);
-if($lockElementId > 0) {
-?>
-
-
+
\ No newline at end of file
diff --git a/manager/includes/active_user_locks.php b/manager/includes/active_user_locks.php
old mode 100644
new mode 100755
diff --git a/manager/includes/categories.inc.php b/manager/includes/categories.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/charsets.php b/manager/includes/charsets.php
index 434f1b6dfc..9dd77bc935 100755
--- a/manager/includes/charsets.php
+++ b/manager/includes/charsets.php
@@ -1,82 +1,90 @@
-
>Arabic (ASMO 708) - ASMO-708
-
>Arabic (DOS) - DOS-720
-
>Arabic (ISO) - iso-8859-6
-
>Arabic (Mac) - x-mac-arabic
-
>Arabic (Windows) - windows-1256
-
>Baltic (DOS) - ibm775
-
>Baltic (ISO) - iso-8859-4
-
>Baltic (Windows) - windows-1257
-
>Central European (DOS) - ibm852
-
>Central European (ISO) - iso-8859-2
-
>Central European (Mac) - x-mac-ce
-
>Central European (Windows) - windows-1250
-
>Chinese Simplified (EUC) - EUC-CN
-
>Chinese Simplified (GB2312) - gb2312
-
>Chinese Simplified (HZ) - hz-gb-2312
-
>Chinese Simplified (Mac) - x-mac-chinesesimp
-
>Chinese Traditional (Big5) - big5
-
>Chinese Traditional (CNS) - x-Chinese-CNS
-
>Chinese Traditional (Eten) - x-Chinese-Eten
-
>Chinese Traditional (Mac) - x-mac-chinesetrad
-
>Cyrillic (DOS) - cp866
-
>Cyrillic (ISO) - iso-8859-5
-
>Cyrillic (KOI8-R) - koi8-r
-
>Cyrillic (KOI8-U) - koi8-u
-
>Cyrillic (Mac) - x-mac-cyrillic
-
>Cyrillic (Windows) - windows-1251
-
>Europa - x-Europa
-
>German (IA5) - x-IA5-German
-
>Greek (DOS) - ibm737
-
>Greek (ISO) - iso-8859-7
-
>Greek (Mac) - x-mac-greek
-
>Greek (Windows) - windows-1253
-
>Greek, Modern (DOS) - ibm869
-
>Hebrew (DOS) - DOS-862
-
>Hebrew (ISO-Logical) - iso-8859-8-i
-
>Hebrew (ISO-Visual) - iso-8859-8
-
>Hebrew (Mac) - x-mac-hebrew
-
>Hebrew (Windows) - windows-1255
-
>Icelandic (DOS) - ibm861
-
>Icelandic (Mac) - x-mac-icelandic
-
>ISCII Assamese - x-iscii-as
-
>ISCII Bengali - x-iscii-be
-
>ISCII Devanagari - x-iscii-de
-
>ISCII Gujarathi - x-iscii-gu
-
>ISCII Kannada - x-iscii-ka
-
>ISCII Malayalam - x-iscii-ma
-
>ISCII Oriya - x-iscii-or
-
>ISCII Panjabi - x-iscii-pa
-
>ISCII Tamil - x-iscii-ta
-
>ISCII Telugu - x-iscii-te
-
>Japanese (EUC) - euc-jp
-
>Japanese (JIS) - iso-2022-jp
-
>Japanese (JIS-Allow 1 byte Kana - SO/SI) - iso-2022-jp
-
>Japanese (JIS-Allow 1 byte Kana) - csISO2022JP
-
>Japanese (Mac) - x-mac-japanese
-
>Japanese (Shift-JIS) - shift_jis
-
>Korean - ks_c_5601-1987
-
>Korean (EUC) - euc-kr
-
>Korean (ISO) - iso-2022-kr
-
>Korean (Johab) - Johab
-
>Korean (Mac) - x-mac-korean
-
>Latin 3 (ISO) - iso-8859-3
-
>Latin 9 (ISO) - iso-8859-15
-
>Norwegian (IA5) - x-IA5-Norwegian
-
>OEM United States - IBM437
-
>Swedish (IA5) - x-IA5-Swedish
-
>Thai (Windows) - windows-874
-
>Turkish (DOS) - ibm857
-
>Turkish (ISO) - iso-8859-9
-
>Turkish (Mac) - x-mac-turkish
-
>Turkish (Windows) - windows-1254
-
>Unicode - unicode
-
>Unicode (Big-Endian) - unicodeFFFE
-
>Unicode (UTF-7) - utf-7
-
>Unicode (UTF-8) - utf-8
-
>US-ASCII - us-ascii
-
>Vietnamese (Windows) - windows-1258
-
>Western European (DOS) - ibm850
-
>Western European (IA5) - x-IA5
-
>Western European (ISO) - iso-8859-1
-
>Western European (Mac) - macintosh
-
>Western European (Windows) - Windows-1252
+%s';
+$options = array();
+foreach($_ as $value=>$label) {
+ $selected = $value===$modx_charset ? 'selected' : '';
+ $options[] = sprintf($tpl, $value, $selected, $label);
+}
+echo join("\n", $options);
diff --git a/manager/includes/config.inc.php.blank b/manager/includes/config.inc.php.blank
old mode 100644
new mode 100755
diff --git a/manager/includes/config_check.inc.php b/manager/includes/config_check.inc.php
index 5ec6ed216a..ea76608c42 100755
--- a/manager/includes/config_check.inc.php
+++ b/manager/includes/config_check.inc.php
@@ -140,9 +140,13 @@ function checkSiteCache() {
$warnings[] = array($_lang['configcheck_images']);
}
-if (count($_lang)!=$length_eng_lang) {
- //$warningspresent = 0;
- //$warnings[] = array($_lang['configcheck_lang_difference']);
+if(strpos($modx->config['rb_base_dir'],MODX_BASE_PATH)!==0) {
+ $warningspresent = 1;
+ $warnings[] = array($_lang['configcheck_rb_base_dir']);
+}
+if(strpos($modx->config['filemanager_path'],MODX_BASE_PATH)!==0) {
+ $warningspresent = 1;
+ $warnings[] = array($_lang['configcheck_filemanager_path']);
}
// clear file info cache
@@ -213,6 +217,12 @@ function checkSiteCache() {
$msg .= '
' . sprintf($_lang["configcheck_hide_warning"], 'templateswitcher_present');
$warnings[$i][1] = "
{$msg} \n";
break;
+ case $_lang['configcheck_rb_base_dir'] :
+ $warnings[$i][1] = $_lang['configcheck_rb_base_dir_msg'];
+ break;
+ case $_lang['configcheck_filemanager_path'] :
+ $warnings[$i][1] = $_lang['configcheck_filemanager_path_msg'];
+ break;
default :
$warnings[$i][1] = $_lang['configcheck_default_msg'];
}
diff --git a/manager/includes/controls/class.phpmailer.php b/manager/includes/controls/class.phpmailer.php
deleted file mode 100755
index 69d801736b..0000000000
--- a/manager/includes/controls/class.phpmailer.php
+++ /dev/null
@@ -1,2 +0,0 @@
-
+ * @author Jim Jagielski (jimjag)
+ * @author Andy Prevost (codeworxtech)
+ * @author Brent R. Matzelle (original founder)
+ * @copyright 2012 - 2017 Marcus Bointon
+ * @copyright 2010 - 2012 Jim Jagielski
+ * @copyright 2004 - 2009 Andy Prevost
+ * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
+ * @note This program is distributed in the hope that it will be useful - WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+namespace PHPMailer\PHPMailer;
+
+/**
+ * PHPMailer exception handler.
+ *
+ * @author Marcus Bointon
+ */
+class Exception extends \Exception
+{
+ /**
+ * Prettify error message output.
+ *
+ * @return string
+ */
+ public function errorMessage()
+ {
+ return '' . htmlspecialchars($this->getMessage()) . " \n";
+ }
+}
diff --git a/manager/includes/controls/phpmailer/OAuth.php b/manager/includes/controls/phpmailer/OAuth.php
new file mode 100755
index 0000000000..0bce7e3468
--- /dev/null
+++ b/manager/includes/controls/phpmailer/OAuth.php
@@ -0,0 +1,138 @@
+
+ * @author Jim Jagielski (jimjag)
+ * @author Andy Prevost (codeworxtech)
+ * @author Brent R. Matzelle (original founder)
+ * @copyright 2012 - 2015 Marcus Bointon
+ * @copyright 2010 - 2012 Jim Jagielski
+ * @copyright 2004 - 2009 Andy Prevost
+ * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
+ * @note This program is distributed in the hope that it will be useful - WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+namespace PHPMailer\PHPMailer;
+
+use League\OAuth2\Client\Grant\RefreshToken;
+use League\OAuth2\Client\Provider\AbstractProvider;
+use League\OAuth2\Client\Token\AccessToken;
+
+/**
+ * OAuth - OAuth2 authentication wrapper class.
+ * Uses the oauth2-client package from the League of Extraordinary Packages.
+ *
+ * @see http://oauth2-client.thephpleague.com
+ *
+ * @author Marcus Bointon (Synchro/coolbru)
+ */
+class OAuth
+{
+ /**
+ * An instance of the League OAuth Client Provider.
+ *
+ * @var AbstractProvider
+ */
+ protected $provider;
+
+ /**
+ * The current OAuth access token.
+ *
+ * @var AccessToken
+ */
+ protected $oauthToken;
+
+ /**
+ * The user's email address, usually used as the login ID
+ * and also the from address when sending email.
+ *
+ * @var string
+ */
+ protected $oauthUserEmail = '';
+
+ /**
+ * The client secret, generated in the app definition of the service you're connecting to.
+ *
+ * @var string
+ */
+ protected $oauthClientSecret = '';
+
+ /**
+ * The client ID, generated in the app definition of the service you're connecting to.
+ *
+ * @var string
+ */
+ protected $oauthClientId = '';
+
+ /**
+ * The refresh token, used to obtain new AccessTokens.
+ *
+ * @var string
+ */
+ protected $oauthRefreshToken = '';
+
+ /**
+ * OAuth constructor.
+ *
+ * @param array $options Associative array containing
+ * `provider`, `userName`, `clientSecret`, `clientId` and `refreshToken` elements
+ */
+ public function __construct($options)
+ {
+ $this->provider = $options['provider'];
+ $this->oauthUserEmail = $options['userName'];
+ $this->oauthClientSecret = $options['clientSecret'];
+ $this->oauthClientId = $options['clientId'];
+ $this->oauthRefreshToken = $options['refreshToken'];
+ }
+
+ /**
+ * Get a new RefreshToken.
+ *
+ * @return RefreshToken
+ */
+ protected function getGrant()
+ {
+ return new RefreshToken();
+ }
+
+ /**
+ * Get a new AccessToken.
+ *
+ * @return AccessToken
+ */
+ protected function getToken()
+ {
+ return $this->provider->getAccessToken(
+ $this->getGrant(),
+ ['refresh_token' => $this->oauthRefreshToken]
+ );
+ }
+
+ /**
+ * Generate a base64-encoded OAuth token.
+ *
+ * @return string
+ */
+ public function getOauth64()
+ {
+ // Get a new token if it's not available or has expired
+ if (null === $this->oauthToken or $this->oauthToken->hasExpired()) {
+ $this->oauthToken = $this->getToken();
+ }
+
+ return base64_encode(
+ 'user=' .
+ $this->oauthUserEmail .
+ "\001auth=Bearer " .
+ $this->oauthToken .
+ "\001\001"
+ );
+ }
+}
diff --git a/manager/includes/controls/phpmailer/class.phpmailer.php b/manager/includes/controls/phpmailer/PHPMailer.php
old mode 100644
new mode 100755
similarity index 64%
rename from manager/includes/controls/phpmailer/class.phpmailer.php
rename to manager/includes/controls/phpmailer/PHPMailer.php
index 446e9af35f..eb12b17120
--- a/manager/includes/controls/phpmailer/class.phpmailer.php
+++ b/manager/includes/controls/phpmailer/PHPMailer.php
@@ -1,56 +1,54 @@
- * @author Jim Jagielski (jimjag)
- * @author Andy Prevost (codeworxtech)
- * @author Brent R. Matzelle (original founder)
- * @copyright 2012 - 2014 Marcus Bointon
+ * PHP Version 5.5.
+ *
+ * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
+ *
+ * @author Marcus Bointon (Synchro/coolbru)
+ * @author Jim Jagielski (jimjag)
+ * @author Andy Prevost (codeworxtech)
+ * @author Brent R. Matzelle (original founder)
+ * @copyright 2012 - 2017 Marcus Bointon
* @copyright 2010 - 2012 Jim Jagielski
* @copyright 2004 - 2009 Andy Prevost
- * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
- * @note This program is distributed in the hope that it will be useful - WITHOUT
+ * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
+ * @note This program is distributed in the hope that it will be useful - WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*/
- include_once('class.smtp.php');
-
+namespace PHPMailer\PHPMailer;
+
/**
* PHPMailer - PHP email creation and transport class.
- * @package PHPMailer
- * @author Marcus Bointon (Synchro/coolbru)
- * @author Jim Jagielski (jimjag)
- * @author Andy Prevost (codeworxtech)
- * @author Brent R. Matzelle (original founder)
+ *
+ * @author Marcus Bointon (Synchro/coolbru)
+ * @author Jim Jagielski (jimjag)
+ * @author Andy Prevost (codeworxtech)
+ * @author Brent R. Matzelle (original founder)
*/
class PHPMailer
{
- /**
- * The PHPMailer Version number.
- * @var string
- */
- public $Version = '5.2.23';
-
/**
* Email priority.
* Options: null (default), 1 = High, 3 = Normal, 5 = low.
* When null, the header is not set at all.
- * @var integer
+ *
+ * @var int
*/
- public $Priority = null;
+ public $Priority;
/**
* The character set of the message.
+ *
* @var string
*/
public $CharSet = 'iso-8859-1';
/**
* The MIME Content-type of the message.
+ *
* @var string
*/
public $ContentType = 'text/plain';
@@ -58,47 +56,45 @@ class PHPMailer
/**
* The message encoding.
* Options: "8bit", "7bit", "binary", "base64", and "quoted-printable".
+ *
* @var string
*/
public $Encoding = '8bit';
/**
* Holds the most recent mailer error message.
+ *
* @var string
*/
public $ErrorInfo = '';
/**
* The From email address for the message.
+ *
* @var string
*/
public $From = 'root@localhost';
/**
* The From name of the message.
+ *
* @var string
*/
public $FromName = 'Root User';
/**
- * The Sender email (Return-Path) of the message.
- * If not empty, will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode.
+ * The envelope sender of the message.
+ * This will usually be turned into a Return-Path header by the receiver,
+ * and is the address that bounces will be sent to.
+ * If not empty, will be passed via `-f` to sendmail or as the 'MAIL FROM' value over SMTP.
+ *
* @var string
*/
public $Sender = '';
- /**
- * The Return-Path of the message.
- * If empty, it will be set to either From or Sender.
- * @var string
- * @deprecated Email senders should never set a return-path header;
- * it's the receiver's job (RFC5321 section 4.4), so this no longer does anything.
- * @link https://tools.ietf.org/html/rfc5321#section-4.4 RFC5321 reference
- */
- public $ReturnPath = '';
-
/**
* The Subject of the message.
+ *
* @var string
*/
public $Subject = '';
@@ -106,6 +102,7 @@ class PHPMailer
/**
* An HTML or plain text message body.
* If HTML then call isHTML(true).
+ *
* @var string
*/
public $Body = '';
@@ -115,6 +112,7 @@ class PHPMailer
* This body can be read by mail clients that do not have HTML email
* capability such as mutt & Eudora.
* Clients that can read HTML will view the normal Body.
+ *
* @var string
*/
public $AltBody = '';
@@ -122,50 +120,57 @@ class PHPMailer
/**
* An iCal message part body.
* Only supported in simple alt or alt_inline message types
- * To generate iCal events, use the bundled extras/EasyPeasyICS.php class or iCalcreator
- * @link http://sprain.ch/blog/downloads/php-class-easypeasyics-create-ical-files-with-php/
- * @link http://kigkonsult.se/iCalcreator/
+ * To generate iCal event structures, use classes like EasyPeasyICS or iCalcreator.
+ *
+ * @see http://sprain.ch/blog/downloads/php-class-easypeasyics-create-ical-files-with-php/
+ * @see http://kigkonsult.se/iCalcreator/
+ *
* @var string
*/
public $Ical = '';
/**
* The complete compiled MIME message body.
- * @access protected
+ *
* @var string
*/
protected $MIMEBody = '';
/**
* The complete compiled MIME message headers.
+ *
* @var string
- * @access protected
*/
protected $MIMEHeader = '';
/**
* Extra headers that createHeader() doesn't fold in.
+ *
* @var string
- * @access protected
*/
protected $mailHeader = '';
/**
* Word-wrap the message body to this number of chars.
* Set to 0 to not wrap. A useful value here is 78, for RFC2822 section 2.1.1 compliance.
- * @var integer
+ *
+ * @see static::STD_LINE_LENGTH
+ *
+ * @var int
*/
public $WordWrap = 0;
/**
* Which method to use to send mail.
* Options: "mail", "sendmail", or "smtp".
+ *
* @var string
*/
public $Mailer = 'mail';
/**
* The path to the sendmail program.
+ *
* @var string
*/
public $Sendmail = '/usr/sbin/sendmail';
@@ -173,20 +178,14 @@ class PHPMailer
/**
* Whether mail() uses a fully sendmail-compatible MTA.
* One which supports sendmail's "-oi -f" options.
- * @var boolean
+ *
+ * @var bool
*/
public $UseSendmailOptions = true;
- /**
- * Path to PHPMailer plugins.
- * Useful if the SMTP class is not in the PHP include path.
- * @var string
- * @deprecated Should not be needed now there is an autoloader.
- */
- public $PluginDir = '';
-
/**
* The email address that a reading confirmation should be sent to, also known as read receipt.
+ *
* @var string
*/
public $ConfirmReadingTo = '';
@@ -196,6 +195,7 @@ class PHPMailer
* If empty, PHPMailer attempts to find one with, in order,
* $_SERVER['SERVER_NAME'], gethostname(), php_uname('n'), or the value
* 'localhost.localdomain'.
+ *
* @var string
*/
public $Hostname = '';
@@ -205,7 +205,9 @@ class PHPMailer
* If empty, a unique id will be generated.
* You can set your own, but it must be in the format "",
* as defined in RFC5322 section 3.6.4 or it will be ignored.
+ *
* @see https://tools.ietf.org/html/rfc5322#section-3.6.4
+ *
* @var string
*/
public $MessageID = '';
@@ -213,6 +215,7 @@ class PHPMailer
/**
* The message Date to be used in the Date header.
* If empty, the current date will be added.
+ *
* @var string
*/
public $MessageDate = '';
@@ -226,14 +229,15 @@ class PHPMailer
* You can also specify encryption type, for example:
* (e.g. "tls://smtp1.example.com:587;ssl://smtp2.example.com:465").
* Hosts will be tried in order.
+ *
* @var string
*/
public $Host = 'localhost';
/**
* The default SMTP server port.
- * @var integer
- * @TODO Why is this needed when the SMTP class takes care of it?
+ *
+ * @var int
*/
public $Port = 25;
@@ -241,14 +245,17 @@ class PHPMailer
* The SMTP HELO of the message.
* Default is $Hostname. If $Hostname is empty, PHPMailer attempts to find
* one with the same method described above for $Hostname.
- * @var string
+ *
* @see PHPMailer::$Hostname
+ *
+ * @var string
*/
public $Helo = '';
/**
* What kind of encryption to use on the SMTP connection.
- * Options: '', 'ssl' or 'tls'
+ * Options: '', 'ssl' or 'tls'.
+ *
* @var string
*/
public $SMTPSecure = '';
@@ -257,62 +264,63 @@ class PHPMailer
* Whether to enable TLS encryption automatically if a server supports it,
* even if `SMTPSecure` is not set to 'tls'.
* Be aware that in PHP >= 5.6 this requires that the server's certificates are valid.
- * @var boolean
+ *
+ * @var bool
*/
public $SMTPAutoTLS = true;
/**
* Whether to use SMTP authentication.
* Uses the Username and Password properties.
- * @var boolean
+ *
* @see PHPMailer::$Username
* @see PHPMailer::$Password
+ *
+ * @var bool
*/
public $SMTPAuth = false;
/**
* Options array passed to stream_context_create when connecting via SMTP.
+ *
* @var array
*/
- public $SMTPOptions = array();
+ public $SMTPOptions = [];
/**
* SMTP username.
+ *
* @var string
*/
public $Username = '';
/**
* SMTP password.
+ *
* @var string
*/
public $Password = '';
/**
* SMTP auth type.
- * Options are CRAM-MD5, LOGIN, PLAIN, NTLM, XOAUTH2, attempted in that order if not specified
+ * Options are CRAM-MD5, LOGIN, PLAIN, XOAUTH2, attempted in that order if not specified.
+ *
* @var string
*/
public $AuthType = '';
/**
- * SMTP realm.
- * Used for NTLM auth
- * @var string
- */
- public $Realm = '';
-
- /**
- * SMTP workstation.
- * Used for NTLM auth
- * @var string
+ * An instance of the PHPMailer OAuth class.
+ *
+ * @var OAuth
*/
- public $Workstation = '';
+ protected $oauth;
/**
* The SMTP server timeout in seconds.
- * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2
- * @var integer
+ * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2.
+ *
+ * @var int
*/
public $Timeout = 300;
@@ -324,9 +332,11 @@ class PHPMailer
* * `1` Commands
* * `2` Data and commands
* * `3` As 2 plus connection status
- * * `4` Low-level data output
- * @var integer
+ * * `4` Low-level data output.
+ *
* @see SMTP::$do_debug
+ *
+ * @var int
*/
public $SMTPDebug = 0;
@@ -336,13 +346,23 @@ class PHPMailer
* * `echo` Output plain-text as-is, appropriate for CLI
* * `html` Output escaped, line breaks converted to ` `, appropriate for browser output
* * `error_log` Output to error log as configured in php.ini
- *
+ * By default PHPMailer will use `echo` if run from a `cli` or `cli-server` SAPI, `html` otherwise.
* Alternatively, you can provide a callable expecting two params: a message string and the debug level:
- *
+ *
+ * ```php
* $mail->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";};
- *
- * @var string|callable
+ * ```
+ *
+ * Alternatively, you can pass in an instance of a PSR-3 compatible logger, though only `debug`
+ * level output is used:
+ *
+ * ```php
+ * $mail->Debugoutput = new myPsr3Logger;
+ * ```
+ *
* @see SMTP::$Debugoutput
+ *
+ * @var string|callable|\Psr\Log\LoggerInterface
*/
public $Debugoutput = 'echo';
@@ -350,7 +370,8 @@ class PHPMailer
* Whether to keep SMTP connection open after each message.
* If this is set to true then to close the connection
* requires an explicit call to smtpClose().
- * @var boolean
+ *
+ * @var bool
*/
public $SMTPKeepAlive = false;
@@ -358,42 +379,39 @@ class PHPMailer
* Whether to split multiple to addresses into multiple messages
* or send them all in one message.
* Only supported in `mail` and `sendmail` transports, not in SMTP.
- * @var boolean
+ *
+ * @var bool
*/
public $SingleTo = false;
/**
* Storage for addresses when SingleTo is enabled.
+ *
* @var array
- * @TODO This should really not be public
*/
- public $SingleToArray = array();
+ protected $SingleToArray = [];
/**
* Whether to generate VERP addresses on send.
* Only applicable when sending via SMTP.
- * @link https://en.wikipedia.org/wiki/Variable_envelope_return_path
- * @link http://www.postfix.org/VERP_README.html Postfix VERP info
- * @var boolean
+ *
+ * @see https://en.wikipedia.org/wiki/Variable_envelope_return_path
+ * @see http://www.postfix.org/VERP_README.html Postfix VERP info
+ *
+ * @var bool
*/
public $do_verp = false;
/**
* Whether to allow sending messages with an empty body.
- * @var boolean
+ *
+ * @var bool
*/
public $AllowEmpty = false;
- /**
- * The default line ending.
- * @note The default remains "\n". We force CRLF where we know
- * it must be used via self::CRLF.
- * @var string
- */
- public $LE = "\n";
-
/**
* DKIM selector.
+ *
* @var string
*/
public $DKIM_selector = '';
@@ -401,6 +419,7 @@ class PHPMailer
/**
* DKIM Identity.
* Usually the email address used as the source of the email.
+ *
* @var string
*/
public $DKIM_identity = '';
@@ -408,26 +427,32 @@ class PHPMailer
/**
* DKIM passphrase.
* Used if your key is encrypted.
+ *
* @var string
*/
public $DKIM_passphrase = '';
/**
* DKIM signing domain name.
+ *
* @example 'example.com'
+ *
* @var string
*/
public $DKIM_domain = '';
/**
* DKIM private key file path.
+ *
* @var string
*/
public $DKIM_private = '';
/**
* DKIM private key string.
+ *
* If set, takes precedence over `$DKIM_private`.
+ *
* @var string
*/
public $DKIM_private_string = '';
@@ -441,20 +466,24 @@ class PHPMailer
* Value can be any php callable: http://www.php.net/is_callable
*
* Parameters:
- * boolean $result result of the send action
+ * bool $result result of the send action
* array $to email addresses of the recipients
* array $cc cc email addresses
* array $bcc bcc email addresses
* string $subject the subject
* string $body the email body
* string $from email address of sender
+ * string $extra extra information of possible use
+ * "smtp_transaction_id' => last smtp transaction id
+ *
* @var string
*/
public $action_function = '';
/**
* What to put in the X-Mailer header.
- * Options: An empty string for PHPMailer default, whitespace for none, or a string to use
+ * Options: An empty string for PHPMailer default, whitespace for none, or a string to use.
+ *
* @var string
*/
public $XMailer = '';
@@ -462,205 +491,243 @@ class PHPMailer
/**
* Which validator to use by default when validating email addresses.
* May be a callable to inject your own validator, but there are several built-in validators.
+ * The default validator uses PHP's FILTER_VALIDATE_EMAIL filter_var option.
+ *
* @see PHPMailer::validateAddress()
+ *
* @var string|callable
- * @static
*/
- public static $validator = 'auto';
+ public static $validator = 'php';
/**
* An instance of the SMTP sender class.
+ *
* @var SMTP
- * @access protected
*/
- protected $smtp = null;
+ protected $smtp;
/**
* The array of 'to' names and addresses.
+ *
* @var array
- * @access protected
*/
- protected $to = array();
+ protected $to = [];
/**
* The array of 'cc' names and addresses.
+ *
* @var array
- * @access protected
*/
- protected $cc = array();
+ protected $cc = [];
/**
* The array of 'bcc' names and addresses.
+ *
* @var array
- * @access protected
*/
- protected $bcc = array();
+ protected $bcc = [];
/**
* The array of reply-to names and addresses.
+ *
* @var array
- * @access protected
*/
- protected $ReplyTo = array();
+ protected $ReplyTo = [];
/**
* An array of all kinds of addresses.
- * Includes all of $to, $cc, $bcc
+ * Includes all of $to, $cc, $bcc.
+ *
+ * @see PHPMailer::$to
+ * @see PHPMailer::$cc
+ * @see PHPMailer::$bcc
+ *
* @var array
- * @access protected
- * @see PHPMailer::$to @see PHPMailer::$cc @see PHPMailer::$bcc
*/
- protected $all_recipients = array();
+ protected $all_recipients = [];
/**
* An array of names and addresses queued for validation.
* In send(), valid and non duplicate entries are moved to $all_recipients
* and one of $to, $cc, or $bcc.
* This array is used only for addresses with IDN.
- * @var array
- * @access protected
- * @see PHPMailer::$to @see PHPMailer::$cc @see PHPMailer::$bcc
+ *
+ * @see PHPMailer::$to
+ * @see PHPMailer::$cc
+ * @see PHPMailer::$bcc
* @see PHPMailer::$all_recipients
+ *
+ * @var array
*/
- protected $RecipientsQueue = array();
+ protected $RecipientsQueue = [];
/**
* An array of reply-to names and addresses queued for validation.
* In send(), valid and non duplicate entries are moved to $ReplyTo.
* This array is used only for addresses with IDN.
- * @var array
- * @access protected
+ *
* @see PHPMailer::$ReplyTo
+ *
+ * @var array
*/
- protected $ReplyToQueue = array();
+ protected $ReplyToQueue = [];
/**
* The array of attachments.
+ *
* @var array
- * @access protected
*/
- protected $attachment = array();
+ protected $attachment = [];
/**
* The array of custom headers.
+ *
* @var array
- * @access protected
*/
- protected $CustomHeader = array();
+ protected $CustomHeader = [];
/**
* The most recent Message-ID (including angular brackets).
+ *
* @var string
- * @access protected
*/
protected $lastMessageID = '';
/**
* The message's MIME type.
+ *
* @var string
- * @access protected
*/
protected $message_type = '';
/**
* The array of MIME boundary strings.
+ *
* @var array
- * @access protected
*/
- protected $boundary = array();
+ protected $boundary = [];
/**
* The array of available languages.
+ *
* @var array
- * @access protected
*/
- protected $language = array();
+ protected $language = [];
/**
* The number of errors encountered.
- * @var integer
- * @access protected
+ *
+ * @var int
*/
protected $error_count = 0;
/**
* The S/MIME certificate file path.
+ *
* @var string
- * @access protected
*/
protected $sign_cert_file = '';
/**
* The S/MIME key file path.
+ *
* @var string
- * @access protected
*/
protected $sign_key_file = '';
/**
* The optional S/MIME extra certificates ("CA Chain") file path.
+ *
* @var string
- * @access protected
*/
protected $sign_extracerts_file = '';
/**
* The S/MIME password for the key.
* Used only if the key is encrypted.
+ *
* @var string
- * @access protected
*/
protected $sign_key_pass = '';
/**
* Whether to throw exceptions for errors.
- * @var boolean
- * @access protected
+ *
+ * @var bool
*/
protected $exceptions = false;
/**
* Unique ID used for message ID and boundaries.
+ *
* @var string
- * @access protected
*/
protected $uniqueid = '';
+ /**
+ * The PHPMailer Version number.
+ *
+ * @var string
+ */
+ const VERSION = '6.0.3';
+
/**
* Error severity: message only, continue processing.
+ *
+ * @var int
*/
const STOP_MESSAGE = 0;
/**
* Error severity: message, likely ok to continue processing.
+ *
+ * @var int
*/
const STOP_CONTINUE = 1;
/**
* Error severity: message, plus full stop, critical error reached.
+ *
+ * @var int
*/
const STOP_CRITICAL = 2;
/**
* SMTP RFC standard line ending.
+ *
+ * @var string
*/
- const CRLF = "\r\n";
+ protected static $LE = "\r\n";
/**
- * The maximum line length allowed by RFC 2822 section 2.1.1
- * @var integer
+ * The maximum line length allowed by RFC 2822 section 2.1.1.
+ *
+ * @var int
*/
const MAX_LINE_LENGTH = 998;
+ /**
+ * The lower maximum line length allowed by RFC 2822 section 2.1.1.
+ * This length does NOT include the line break
+ * 76 means that lines will be 77 or 78 chars depending on whether
+ * the line break format is LF or CRLF; both are valid.
+ *
+ * @var int
+ */
+ const STD_LINE_LENGTH = 76;
+
/**
* Constructor.
- * @param boolean $exceptions Should we throw external exceptions?
+ *
+ * @param bool $exceptions Should we throw external exceptions?
*/
public function __construct($exceptions = null)
{
- if ($exceptions !== null) {
- $this->exceptions = (boolean)$exceptions;
+ if (null !== $exceptions) {
+ $this->exceptions = (bool) $exceptions;
}
+ //Pick an appropriate debug output format automatically
+ $this->Debugoutput = (strpos(PHP_SAPI, 'cli') !== false ? 'echo' : 'html');
}
/**
@@ -676,14 +743,15 @@ public function __destruct()
* Call mail() in a safe_mode-aware fashion.
* Also, unless sendmail_path points to sendmail (or something that
* claims to be sendmail), don't pass params (not a perfect fix,
- * but it will do)
- * @param string $to To
- * @param string $subject Subject
- * @param string $body Message Body
- * @param string $header Additional Header(s)
- * @param string $params Params
- * @access private
- * @return boolean
+ * but it will do).
+ *
+ * @param string $to To
+ * @param string $subject Subject
+ * @param string $body Message Body
+ * @param string $header Additional Header(s)
+ * @param string|null $params Params
+ *
+ * @return bool
*/
private function mailPassthru($to, $subject, $body, $header, $params)
{
@@ -693,21 +761,23 @@ private function mailPassthru($to, $subject, $body, $header, $params)
} else {
$subject = $this->encodeHeader($this->secureHeader($subject));
}
-
- //Can't use additional_parameters in safe_mode, calling mail() with null params breaks
- //@link http://php.net/manual/en/function.mail.php
- if (ini_get('safe_mode') or !$this->UseSendmailOptions or is_null($params)) {
+ //Calling mail() with null params breaks
+ if (!$this->UseSendmailOptions or null === $params) {
$result = @mail($to, $subject, $body, $header);
} else {
$result = @mail($to, $subject, $body, $header, $params);
}
+
return $result;
}
+
/**
* Output debugging info via user-defined method.
* Only generates output if SMTP debug output is enabled (@see SMTP::$do_debug).
+ *
* @see PHPMailer::$Debugoutput
* @see PHPMailer::$SMTPDebug
+ *
* @param string $str
*/
protected function edebug($str)
@@ -715,9 +785,16 @@ protected function edebug($str)
if ($this->SMTPDebug <= 0) {
return;
}
+ //Is this a PSR-3 logger?
+ if ($this->Debugoutput instanceof \Psr\Log\LoggerInterface) {
+ $this->Debugoutput->debug($str);
+
+ return;
+ }
//Avoid clash with built-in function names
- if (!in_array($this->Debugoutput, array('error_log', 'html', 'echo')) and is_callable($this->Debugoutput)) {
+ if (!in_array($this->Debugoutput, ['error_log', 'html', 'echo']) and is_callable($this->Debugoutput)) {
call_user_func($this->Debugoutput, $str, $this->SMTPDebug);
+
return;
}
switch ($this->Debugoutput) {
@@ -731,25 +808,31 @@ protected function edebug($str)
preg_replace('/[\r\n]+/', '', $str),
ENT_QUOTES,
'UTF-8'
- )
- . " \n";
+ ), " \n";
break;
case 'echo':
default:
//Normalize line breaks
- $str = preg_replace('/\r\n?/ms', "\n", $str);
- echo gmdate('Y-m-d H:i:s') . "\t" . str_replace(
- "\n",
- "\n \t ",
- trim($str)
- ) . "\n";
+ $str = preg_replace('/\r\n|\r/ms', "\n", $str);
+ echo gmdate('Y-m-d H:i:s'),
+ "\t",
+ //Trim trailing space
+ trim(
+ //Indent for readability, except for trailing break
+ str_replace(
+ "\n",
+ "\n \t ",
+ trim($str)
+ )
+ ),
+ "\n";
}
}
/**
* Sets message type to HTML or plain.
- * @param boolean $isHtml True for HTML mode.
- * @return void
+ *
+ * @param bool $isHtml True for HTML mode
*/
public function isHTML($isHtml = true)
{
@@ -762,7 +845,6 @@ public function isHTML($isHtml = true)
/**
* Send messages using SMTP.
- * @return void
*/
public function isSMTP()
{
@@ -771,7 +853,6 @@ public function isSMTP()
/**
* Send messages using PHP's mail() function.
- * @return void
*/
public function isMail()
{
@@ -780,13 +861,12 @@ public function isMail()
/**
* Send messages using $Sendmail.
- * @return void
*/
public function isSendmail()
{
$ini_sendmail_path = ini_get('sendmail_path');
- if (!stristr($ini_sendmail_path, 'sendmail')) {
+ if (false === stripos($ini_sendmail_path, 'sendmail')) {
$this->Sendmail = '/usr/sbin/sendmail';
} else {
$this->Sendmail = $ini_sendmail_path;
@@ -796,13 +876,12 @@ public function isSendmail()
/**
* Send messages using qmail.
- * @return void
*/
public function isQmail()
{
$ini_sendmail_path = ini_get('sendmail_path');
- if (!stristr($ini_sendmail_path, 'qmail')) {
+ if (false === stripos($ini_sendmail_path, 'qmail')) {
$this->Sendmail = '/var/qmail/bin/qmail-inject';
} else {
$this->Sendmail = $ini_sendmail_path;
@@ -812,9 +891,11 @@ public function isQmail()
/**
* Add a "To" address.
+ *
* @param string $address The email address to send to
* @param string $name
- * @return boolean true on success, false if address already used or invalid in some way
+ *
+ * @return bool true on success, false if address already used or invalid in some way
*/
public function addAddress($address, $name = '')
{
@@ -823,10 +904,11 @@ public function addAddress($address, $name = '')
/**
* Add a "CC" address.
- * @note: This function works with the SMTP mailer on win32, not with the "mail" mailer.
+ *
* @param string $address The email address to send to
* @param string $name
- * @return boolean true on success, false if address already used or invalid in some way
+ *
+ * @return bool true on success, false if address already used or invalid in some way
*/
public function addCC($address, $name = '')
{
@@ -835,10 +917,11 @@ public function addCC($address, $name = '')
/**
* Add a "BCC" address.
- * @note: This function works with the SMTP mailer on win32, not with the "mail" mailer.
+ *
* @param string $address The email address to send to
* @param string $name
- * @return boolean true on success, false if address already used or invalid in some way
+ *
+ * @return bool true on success, false if address already used or invalid in some way
*/
public function addBCC($address, $name = '')
{
@@ -847,9 +930,11 @@ public function addBCC($address, $name = '')
/**
* Add a "Reply-To" address.
+ *
* @param string $address The email address to reply to
* @param string $name
- * @return boolean true on success, false if address already used or invalid in some way
+ *
+ * @return bool true on success, false if address already used or invalid in some way
*/
public function addReplyTo($address, $name = '')
{
@@ -861,89 +946,112 @@ public function addReplyTo($address, $name = '')
* can't validate addresses with an IDN without knowing the PHPMailer::$CharSet (that can still
* be modified after calling this function), addition of such addresses is delayed until send().
* Addresses that have been added already return false, but do not throw exceptions.
- * @param string $kind One of 'to', 'cc', 'bcc', or 'ReplyTo'
+ *
+ * @param string $kind One of 'to', 'cc', 'bcc', or 'ReplyTo'
* @param string $address The email address to send, resp. to reply to
* @param string $name
- * @throws phpmailerException
- * @return boolean true on success, false if address already used or invalid in some way
- * @access protected
+ *
+ * @throws Exception
+ *
+ * @return bool true on success, false if address already used or invalid in some way
*/
protected function addOrEnqueueAnAddress($kind, $address, $name)
{
$address = trim($address);
$name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim
- if (($pos = strrpos($address, '@')) === false) {
- // At-sign is misssing.
- $error_message = $this->lang('invalid_address') . " (addAnAddress $kind): $address";
+ $pos = strrpos($address, '@');
+ if (false === $pos) {
+ // At-sign is missing.
+ $error_message = sprintf('%s (%s): %s',
+ $this->lang('invalid_address'),
+ $kind,
+ $address);
$this->setError($error_message);
$this->edebug($error_message);
if ($this->exceptions) {
- throw new phpmailerException($error_message);
+ throw new Exception($error_message);
}
+
return false;
}
- $params = array($kind, $address, $name);
+ $params = [$kind, $address, $name];
// Enqueue addresses with IDN until we know the PHPMailer::$CharSet.
- if ($this->has8bitChars(substr($address, ++$pos)) and $this->idnSupported()) {
- if ($kind != 'Reply-To') {
+ if ($this->has8bitChars(substr($address, ++$pos)) and static::idnSupported()) {
+ if ('Reply-To' != $kind) {
if (!array_key_exists($address, $this->RecipientsQueue)) {
$this->RecipientsQueue[$address] = $params;
+
return true;
}
} else {
if (!array_key_exists($address, $this->ReplyToQueue)) {
$this->ReplyToQueue[$address] = $params;
+
return true;
}
}
+
return false;
}
+
// Immediately add standard addresses without IDN.
- return call_user_func_array(array($this, 'addAnAddress'), $params);
+ return call_user_func_array([$this, 'addAnAddress'], $params);
}
/**
* Add an address to one of the recipient arrays or to the ReplyTo array.
* Addresses that have been added already return false, but do not throw exceptions.
- * @param string $kind One of 'to', 'cc', 'bcc', or 'ReplyTo'
+ *
+ * @param string $kind One of 'to', 'cc', 'bcc', or 'ReplyTo'
* @param string $address The email address to send, resp. to reply to
* @param string $name
- * @throws phpmailerException
- * @return boolean true on success, false if address already used or invalid in some way
- * @access protected
+ *
+ * @throws Exception
+ *
+ * @return bool true on success, false if address already used or invalid in some way
*/
protected function addAnAddress($kind, $address, $name = '')
{
- if (!in_array($kind, array('to', 'cc', 'bcc', 'Reply-To'))) {
- $error_message = $this->lang('Invalid recipient kind: ') . $kind;
+ if (!in_array($kind, ['to', 'cc', 'bcc', 'Reply-To'])) {
+ $error_message = sprintf('%s: %s',
+ $this->lang('Invalid recipient kind'),
+ $kind);
$this->setError($error_message);
$this->edebug($error_message);
if ($this->exceptions) {
- throw new phpmailerException($error_message);
+ throw new Exception($error_message);
}
+
return false;
}
- if (!$this->validateAddress($address)) {
- $error_message = $this->lang('invalid_address') . " (addAnAddress $kind): $address";
+ if (!static::validateAddress($address)) {
+ $error_message = sprintf('%s (%s): %s',
+ $this->lang('invalid_address'),
+ $kind,
+ $address);
$this->setError($error_message);
$this->edebug($error_message);
if ($this->exceptions) {
- throw new phpmailerException($error_message);
+ throw new Exception($error_message);
}
+
return false;
}
- if ($kind != 'Reply-To') {
+ if ('Reply-To' != $kind) {
if (!array_key_exists(strtolower($address), $this->all_recipients)) {
- array_push($this->$kind, array($address, $name));
+ $this->{$kind}[] = [$address, $name];
$this->all_recipients[strtolower($address)] = true;
+
return true;
}
} else {
if (!array_key_exists(strtolower($address), $this->ReplyTo)) {
- $this->ReplyTo[strtolower($address)] = array($address, $name);
+ $this->ReplyTo[strtolower($address)] = [$address, $name];
+
return true;
}
}
+
return false;
}
@@ -952,24 +1060,27 @@ protected function addAnAddress($kind, $address, $name = '')
* of the form "display name " into an array of name/address pairs.
* Uses the imap_rfc822_parse_adrlist function if the IMAP extension is available.
* Note that quotes in the name part are removed.
+ *
+ * @see http://www.andrew.cmu.edu/user/agreen1/testing/mrbs/web/Mail/RFC822.php A more careful implementation
+ *
* @param string $addrstr The address list string
- * @param bool $useimap Whether to use the IMAP extension to parse the list
+ * @param bool $useimap Whether to use the IMAP extension to parse the list
+ *
* @return array
- * @link http://www.andrew.cmu.edu/user/agreen1/testing/mrbs/web/Mail/RFC822.php A more careful implementation
*/
- public function parseAddresses($addrstr, $useimap = true)
+ public static function parseAddresses($addrstr, $useimap = true)
{
- $addresses = array();
+ $addresses = [];
if ($useimap and function_exists('imap_rfc822_parse_adrlist')) {
//Use this built-in parser if it's available
$list = imap_rfc822_parse_adrlist($addrstr, '');
foreach ($list as $address) {
- if ($address->host != '.SYNTAX-ERROR.') {
- if ($this->validateAddress($address->mailbox . '@' . $address->host)) {
- $addresses[] = array(
+ if ('.SYNTAX-ERROR.' != $address->host) {
+ if (static::validateAddress($address->mailbox . '@' . $address->host)) {
+ $addresses[] = [
'name' => (property_exists($address, 'personal') ? $address->personal : ''),
- 'address' => $address->mailbox . '@' . $address->host
- );
+ 'address' => $address->mailbox . '@' . $address->host,
+ ];
}
}
}
@@ -981,49 +1092,57 @@ public function parseAddresses($addrstr, $useimap = true)
//Is there a separate name part?
if (strpos($address, '<') === false) {
//No separate name, just use the whole thing
- if ($this->validateAddress($address)) {
- $addresses[] = array(
+ if (static::validateAddress($address)) {
+ $addresses[] = [
'name' => '',
- 'address' => $address
- );
+ 'address' => $address,
+ ];
}
} else {
list($name, $email) = explode('<', $address);
$email = trim(str_replace('>', '', $email));
- if ($this->validateAddress($email)) {
- $addresses[] = array(
- 'name' => trim(str_replace(array('"', "'"), '', $name)),
- 'address' => $email
- );
+ if (static::validateAddress($email)) {
+ $addresses[] = [
+ 'name' => trim(str_replace(['"', "'"], '', $name)),
+ 'address' => $email,
+ ];
}
}
}
}
+
return $addresses;
}
/**
* Set the From and FromName properties.
+ *
* @param string $address
* @param string $name
- * @param boolean $auto Whether to also set the Sender address, defaults to true
- * @throws phpmailerException
- * @return boolean
+ * @param bool $auto Whether to also set the Sender address, defaults to true
+ *
+ * @throws Exception
+ *
+ * @return bool
*/
public function setFrom($address, $name = '', $auto = true)
{
$address = trim($address);
$name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim
// Don't validate now addresses with IDN. Will be done in send().
- if (($pos = strrpos($address, '@')) === false or
- (!$this->has8bitChars(substr($address, ++$pos)) or !$this->idnSupported()) and
- !$this->validateAddress($address)) {
- $error_message = $this->lang('invalid_address') . " (setFrom) $address";
+ $pos = strrpos($address, '@');
+ if (false === $pos or
+ (!$this->has8bitChars(substr($address, ++$pos)) or !static::idnSupported()) and
+ !static::validateAddress($address)) {
+ $error_message = sprintf('%s (From): %s',
+ $this->lang('invalid_address'),
+ $address);
$this->setError($error_message);
$this->edebug($error_message);
if ($this->exceptions) {
- throw new phpmailerException($error_message);
+ throw new Exception($error_message);
}
+
return false;
}
$this->From = $address;
@@ -1033,6 +1152,7 @@ public function setFrom($address, $name = '', $auto = true)
$this->Sender = $address;
}
}
+
return true;
}
@@ -1041,6 +1161,7 @@ public function setFrom($address, $name = '', $auto = true)
* Technically this is the value from the last time the headers were created,
* but it's also the message ID of the last sent message except in
* pathological cases.
+ *
* @return string
*/
public function getLastMessageID()
@@ -1050,27 +1171,32 @@ public function getLastMessageID()
/**
* Check that a string looks like an email address.
- * @param string $address The email address to check
- * @param string|callable $patternselect A selector for the validation pattern to use :
+ * Validation patterns supported:
* * `auto` Pick best pattern automatically;
- * * `pcre8` Use the squiloople.com pattern, requires PCRE > 8.0, PHP >= 5.3.2, 5.2.14;
+ * * `pcre8` Use the squiloople.com pattern, requires PCRE > 8.0;
* * `pcre` Use old PCRE implementation;
* * `php` Use PHP built-in FILTER_VALIDATE_EMAIL;
* * `html5` Use the pattern given by the HTML5 spec for 'email' type form input elements.
* * `noregex` Don't use a regex: super fast, really dumb.
* Alternatively you may pass in a callable to inject your own validator, for example:
+ *
+ * ```php
* PHPMailer::validateAddress('user@example.com', function($address) {
* return (strpos($address, '@') !== false);
* });
+ * ```
+ *
* You can also set the PHPMailer::$validator static to a callable, allowing built-in methods to use your validator.
- * @return boolean
- * @static
- * @access public
+ *
+ * @param string $address The email address to check
+ * @param string|callable $patternselect Which pattern to use
+ *
+ * @return bool
*/
public static function validateAddress($address, $patternselect = null)
{
- if (is_null($patternselect)) {
- $patternselect = self::$validator;
+ if (null === $patternselect) {
+ $patternselect = static::$validator;
}
if (is_callable($patternselect)) {
return call_user_func($patternselect, $address);
@@ -1079,37 +1205,26 @@ public static function validateAddress($address, $patternselect = null)
if (strpos($address, "\n") !== false or strpos($address, "\r") !== false) {
return false;
}
- if (!$patternselect or $patternselect == 'auto') {
- //Check this constant first so it works when extension_loaded() is disabled by safe mode
- //Constant was added in PHP 5.2.4
- if (defined('PCRE_VERSION')) {
- //This pattern can get stuck in a recursive loop in PCRE <= 8.0.2
- if (version_compare(PCRE_VERSION, '8.0.3') >= 0) {
- $patternselect = 'pcre8';
- } else {
- $patternselect = 'pcre';
- }
- } elseif (function_exists('extension_loaded') and extension_loaded('pcre')) {
- //Fall back to older PCRE
- $patternselect = 'pcre';
- } else {
- //Filter_var appeared in PHP 5.2.0 and does not require the PCRE extension
- if (version_compare(PHP_VERSION, '5.2.0') >= 0) {
- $patternselect = 'php';
- } else {
- $patternselect = 'noregex';
- }
- }
- }
switch ($patternselect) {
+ case 'pcre': //Kept for BC
case 'pcre8':
- /**
- * Uses the same RFC5322 regex on which FILTER_VALIDATE_EMAIL is based, but allows dotless domains.
- * @link http://squiloople.com/2009/12/20/email-address-validation/
+ /*
+ * A more complex and more permissive version of the RFC5322 regex on which FILTER_VALIDATE_EMAIL
+ * is based.
+ * In addition to the addresses allowed by filter_var, also permits:
+ * * dotless domains: `a@b`
+ * * comments: `1234 @ local(blah) .machine .example`
+ * * quoted elements: `'"test blah"@example.org'`
+ * * numeric TLDs: `a@b.123`
+ * * unbracketed IPv4 literals: `a@192.168.0.1`
+ * * IPv6 literals: 'first.last@[IPv6:a1::]'
+ * Not all of these will necessarily work for sending!
+ *
+ * @see http://squiloople.com/2009/12/20/email-address-validation/
* @copyright 2009-2010 Michael Rushton
* Feel free to use and redistribute this code. But please keep this copyright notice.
*/
- return (boolean)preg_match(
+ return (bool) preg_match(
'/^(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){255,})(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){65,}@)' .
'((?>(?>(?>((?>(?>(?>\x0D\x0A)?[\t ])+|(?>[\t ]*\x0D\x0A)?[\t ]+)?)(\((?>(?2)' .
'(?>[\x01-\x08\x0B\x0C\x0E-\'*-\[\]-\x7F]|\\\[\x00-\x7F]|(?3)))*(?2)\)))+(?2))|(?2))?)' .
@@ -1121,51 +1236,31 @@ public static function validateAddress($address, $patternselect = null)
'|[1-9]?[0-9])(?>\.(?9)){3}))\])(?1)$/isD',
$address
);
- case 'pcre':
- //An older regex that doesn't need a recent PCRE
- return (boolean)preg_match(
- '/^(?!(?>"?(?>\\\[ -~]|[^"])"?){255,})(?!(?>"?(?>\\\[ -~]|[^"])"?){65,}@)(?>' .
- '[!#-\'*+\/-9=?^-~-]+|"(?>(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\xFF]))*")' .
- '(?>\.(?>[!#-\'*+\/-9=?^-~-]+|"(?>(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\xFF]))*"))*' .
- '@(?>(?![a-z0-9-]{64,})(?>[a-z0-9](?>[a-z0-9-]*[a-z0-9])?)(?>\.(?![a-z0-9-]{64,})' .
- '(?>[a-z0-9](?>[a-z0-9-]*[a-z0-9])?)){0,126}|\[(?:(?>IPv6:(?>(?>[a-f0-9]{1,4})(?>:' .
- '[a-f0-9]{1,4}){7}|(?!(?:.*[a-f0-9][:\]]){8,})(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,6})?' .
- '::(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,6})?))|(?>(?>IPv6:(?>[a-f0-9]{1,4}(?>:' .
- '[a-f0-9]{1,4}){5}:|(?!(?:.*[a-f0-9]:){6,})(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,4})?' .
- '::(?>(?:[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,4}):)?))?(?>25[0-5]|2[0-4][0-9]|1[0-9]{2}' .
- '|[1-9]?[0-9])(?>\.(?>25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}))\])$/isD',
- $address
- );
case 'html5':
- /**
+ /*
* This is the pattern used in the HTML5 spec for validation of 'email' type form input elements.
- * @link http://www.whatwg.org/specs/web-apps/current-work/#e-mail-state-(type=email)
+ *
+ * @see http://www.whatwg.org/specs/web-apps/current-work/#e-mail-state-(type=email)
*/
- return (boolean)preg_match(
+ return (bool) preg_match(
'/^[a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}' .
'[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/sD',
$address
);
- case 'noregex':
- //No PCRE! Do something _very_ approximate!
- //Check the address is 3 chars or longer and contains an @ that's not the first or last char
- return (strlen($address) >= 3
- and strpos($address, '@') >= 1
- and strpos($address, '@') != strlen($address) - 1);
case 'php':
default:
- return (boolean)filter_var($address, FILTER_VALIDATE_EMAIL);
+ return (bool) filter_var($address, FILTER_VALIDATE_EMAIL);
}
}
/**
* Tells whether IDNs (Internationalized Domain Names) are supported or not. This requires the
- * "intl" and "mbstring" PHP extensions.
- * @return bool "true" if required functions for IDN support are present
+ * `intl` and `mbstring` PHP extensions.
+ *
+ * @return bool `true` if required functions for IDN support are present
*/
- public function idnSupported()
+ public static function idnSupported()
{
- // @TODO: Write our own "idn_to_ascii" function for PHP <= 5.2.
return function_exists('idn_to_ascii') and function_exists('mb_convert_encoding');
}
@@ -1175,36 +1270,45 @@ public function idnSupported()
* This function silently returns unmodified address if:
* - No conversion is necessary (i.e. domain name is not an IDN, or is already in ASCII form)
* - Conversion to punycode is impossible (e.g. required PHP functions are not available)
- * or fails for any reason (e.g. domain has characters not allowed in an IDN)
- * @see PHPMailer::$CharSet
+ * or fails for any reason (e.g. domain contains characters not allowed in an IDN).
+ *
+ * @see PHPMailer::$CharSet
+ *
* @param string $address The email address to convert
+ *
* @return string The encoded address in ASCII form
*/
public function punyencodeAddress($address)
{
// Verify we have required functions, CharSet, and at-sign.
- if ($this->idnSupported() and
+ $pos = strrpos($address, '@');
+ if (static::idnSupported() and
!empty($this->CharSet) and
- ($pos = strrpos($address, '@')) !== false) {
+ false !== $pos
+ ) {
$domain = substr($address, ++$pos);
// Verify CharSet string is a valid one, and domain properly encoded in this CharSet.
if ($this->has8bitChars($domain) and @mb_check_encoding($domain, $this->CharSet)) {
$domain = mb_convert_encoding($domain, 'UTF-8', $this->CharSet);
- if (($punycode = defined('INTL_IDNA_VARIANT_UTS46') ?
- idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46) :
- idn_to_ascii($domain)) !== false) {
+ //Ignore IDE complaints about this line - method signature changed in PHP 5.4
+ $errorcode = 0;
+ $punycode = idn_to_ascii($domain, $errorcode, INTL_IDNA_VARIANT_UTS46);
+ if (false !== $punycode) {
return substr($address, 0, $pos) . $punycode;
}
}
}
+
return $address;
}
/**
* Create a message and send it.
* Uses the sending method specified by $Mailer.
- * @throws phpmailerException
- * @return boolean false on error - See the ErrorInfo property for details of the error.
+ *
+ * @throws Exception
+ *
+ * @return bool false on error - See the ErrorInfo property for details of the error
*/
public function send()
{
@@ -1212,24 +1316,55 @@ public function send()
if (!$this->preSend()) {
return false;
}
+
return $this->postSend();
- } catch (phpmailerException $exc) {
+ } catch (Exception $exc) {
$this->mailHeader = '';
$this->setError($exc->getMessage());
if ($this->exceptions) {
throw $exc;
}
+
return false;
}
}
/**
* Prepare a message for sending.
- * @throws phpmailerException
- * @return boolean
+ *
+ * @throws Exception
+ *
+ * @return bool
*/
public function preSend()
{
+ if ('smtp' == $this->Mailer or
+ ('mail' == $this->Mailer and stripos(PHP_OS, 'WIN') === 0)
+ ) {
+ //SMTP mandates RFC-compliant line endings
+ //and it's also used with mail() on Windows
+ static::setLE("\r\n");
+ } else {
+ //Maintain backward compatibility with legacy Linux command line mailers
+ static::setLE(PHP_EOL);
+ }
+ //Check for buggy PHP versions that add a header with an incorrect line break
+ if (ini_get('mail.add_x_header') == 1
+ and 'mail' == $this->Mailer
+ and stripos(PHP_OS, 'WIN') === 0
+ and ((version_compare(PHP_VERSION, '7.0.0', '>=')
+ and version_compare(PHP_VERSION, '7.0.17', '<'))
+ or (version_compare(PHP_VERSION, '7.1.0', '>=')
+ and version_compare(PHP_VERSION, '7.1.3', '<')))
+ ) {
+ trigger_error(
+ 'Your version of PHP is affected by a bug that may result in corrupted messages.' .
+ ' To fix it, switch to sending using SMTP, disable the mail.add_x_header option in' .
+ ' your php.ini, switch to MacOS or Linux, or upgrade your PHP to version 7.0.17+ or 7.1.3+.',
+ E_USER_WARNING
+ );
+ }
+
try {
$this->error_count = 0; // Reset errors
$this->mailHeader = '';
@@ -1237,26 +1372,30 @@ public function preSend()
// Dequeue recipient and Reply-To addresses with IDN
foreach (array_merge($this->RecipientsQueue, $this->ReplyToQueue) as $params) {
$params[1] = $this->punyencodeAddress($params[1]);
- call_user_func_array(array($this, 'addAnAddress'), $params);
+ call_user_func_array([$this, 'addAnAddress'], $params);
}
- if ((count($this->to) + count($this->cc) + count($this->bcc)) < 1) {
- throw new phpmailerException($this->lang('provide_address'), self::STOP_CRITICAL);
+ if (count($this->to) + count($this->cc) + count($this->bcc) < 1) {
+ throw new Exception($this->lang('provide_address'), self::STOP_CRITICAL);
}
// Validate From, Sender, and ConfirmReadingTo addresses
- foreach (array('From', 'Sender', 'ConfirmReadingTo') as $address_kind) {
+ foreach (['From', 'Sender', 'ConfirmReadingTo'] as $address_kind) {
$this->$address_kind = trim($this->$address_kind);
if (empty($this->$address_kind)) {
continue;
}
$this->$address_kind = $this->punyencodeAddress($this->$address_kind);
- if (!$this->validateAddress($this->$address_kind)) {
- $error_message = $this->lang('invalid_address') . ' (punyEncode) ' . $this->$address_kind;
+ if (!static::validateAddress($this->$address_kind)) {
+ $error_message = sprintf('%s (%s): %s',
+ $this->lang('invalid_address'),
+ $address_kind,
+ $this->$address_kind);
$this->setError($error_message);
$this->edebug($error_message);
if ($this->exceptions) {
- throw new phpmailerException($error_message);
+ throw new Exception($error_message);
}
+
return false;
}
}
@@ -1269,9 +1408,11 @@ public function preSend()
$this->setMessageType();
// Refuse to send an empty message unless we are specifically allowing it
if (!$this->AllowEmpty and empty($this->Body)) {
- throw new phpmailerException($this->lang('empty_message'), self::STOP_CRITICAL);
+ throw new Exception($this->lang('empty_message'), self::STOP_CRITICAL);
}
+ //Trim subject consistently
+ $this->Subject = trim($this->Subject);
// Create body before headers in case body makes changes to headers (e.g. altering transfer encoding)
$this->MIMEHeader = '';
$this->MIMEBody = $this->createBody();
@@ -1282,7 +1423,7 @@ public function preSend()
// To capture the complete message when using mail(), create
// an extra header list which createHeader() doesn't fold in
- if ($this->Mailer == 'mail') {
+ if ('mail' == $this->Mailer) {
if (count($this->to) > 0) {
$this->mailHeader .= $this->addrAppend('To', $this->to);
} else {
@@ -1290,15 +1431,15 @@ public function preSend()
}
$this->mailHeader .= $this->headerLine(
'Subject',
- $this->encodeHeader($this->secureHeader(trim($this->Subject)))
+ $this->encodeHeader($this->secureHeader($this->Subject))
);
}
// Sign with DKIM if enabled
if (!empty($this->DKIM_domain)
- && !empty($this->DKIM_selector)
- && (!empty($this->DKIM_private_string)
- || (!empty($this->DKIM_private) && file_exists($this->DKIM_private))
+ and !empty($this->DKIM_selector)
+ and (!empty($this->DKIM_private_string)
+ or (!empty($this->DKIM_private) and file_exists($this->DKIM_private))
)
) {
$header_dkim = $this->DKIM_Add(
@@ -1306,24 +1447,27 @@ public function preSend()
$this->encodeHeader($this->secureHeader($this->Subject)),
$this->MIMEBody
);
- $this->MIMEHeader = rtrim($this->MIMEHeader, "\r\n ") . self::CRLF .
- str_replace("\r\n", "\n", $header_dkim) . self::CRLF;
+ $this->MIMEHeader = rtrim($this->MIMEHeader, "\r\n ") . static::$LE .
+ static::normalizeBreaks($header_dkim) . static::$LE;
}
+
return true;
- } catch (phpmailerException $exc) {
+ } catch (Exception $exc) {
$this->setError($exc->getMessage());
if ($this->exceptions) {
throw $exc;
}
+
return false;
}
}
/**
- * Actually send a message.
- * Send the email via the selected mechanism
- * @throws phpmailerException
- * @return boolean
+ * Actually send a message via the selected mechanism.
+ *
+ * @throws Exception
+ *
+ * @return bool
*/
public function postSend()
{
@@ -1338,80 +1482,86 @@ public function postSend()
case 'mail':
return $this->mailSend($this->MIMEHeader, $this->MIMEBody);
default:
- $sendMethod = $this->Mailer.'Send';
+ $sendMethod = $this->Mailer . 'Send';
if (method_exists($this, $sendMethod)) {
return $this->$sendMethod($this->MIMEHeader, $this->MIMEBody);
}
return $this->mailSend($this->MIMEHeader, $this->MIMEBody);
}
- } catch (phpmailerException $exc) {
+ } catch (Exception $exc) {
$this->setError($exc->getMessage());
$this->edebug($exc->getMessage());
if ($this->exceptions) {
throw $exc;
}
}
+
return false;
}
/**
* Send mail using the $Sendmail program.
+ *
+ * @see PHPMailer::$Sendmail
+ *
* @param string $header The message headers
- * @param string $body The message body
- * @see PHPMailer::$Sendmail
- * @throws phpmailerException
- * @access protected
- * @return boolean
+ * @param string $body The message body
+ *
+ * @throws Exception
+ *
+ * @return bool
*/
protected function sendmailSend($header, $body)
{
// CVE-2016-10033, CVE-2016-10045: Don't pass -f if characters will be escaped.
if (!empty($this->Sender) and self::isShellSafe($this->Sender)) {
- if ($this->Mailer == 'qmail') {
+ if ('qmail' == $this->Mailer) {
$sendmailFmt = '%s -f%s';
} else {
$sendmailFmt = '%s -oi -f%s -t';
}
} else {
- if ($this->Mailer == 'qmail') {
+ if ('qmail' == $this->Mailer) {
$sendmailFmt = '%s';
} else {
$sendmailFmt = '%s -oi -t';
}
}
- // TODO: If possible, this should be changed to escapeshellarg. Needs thorough testing.
$sendmail = sprintf($sendmailFmt, escapeshellcmd($this->Sendmail), $this->Sender);
if ($this->SingleTo) {
foreach ($this->SingleToArray as $toAddr) {
- if (!@$mail = popen($sendmail, 'w')) {
- throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL);
+ $mail = @popen($sendmail, 'w');
+ if (!$mail) {
+ throw new Exception($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL);
}
- fputs($mail, 'To: ' . $toAddr . "\n");
- fputs($mail, $header);
- fputs($mail, $body);
+ fwrite($mail, 'To: ' . $toAddr . "\n");
+ fwrite($mail, $header);
+ fwrite($mail, $body);
$result = pclose($mail);
$this->doCallback(
($result == 0),
- array($toAddr),
+ [$toAddr],
$this->cc,
$this->bcc,
$this->Subject,
$body,
- $this->From
+ $this->From,
+ []
);
- if ($result != 0) {
- throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL);
+ if (0 !== $result) {
+ throw new Exception($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL);
}
}
} else {
- if (!@$mail = popen($sendmail, 'w')) {
- throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL);
+ $mail = @popen($sendmail, 'w');
+ if (!$mail) {
+ throw new Exception($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL);
}
- fputs($mail, $header);
- fputs($mail, $body);
+ fwrite($mail, $header);
+ fwrite($mail, $body);
$result = pclose($mail);
$this->doCallback(
($result == 0),
@@ -1420,36 +1570,39 @@ protected function sendmailSend($header, $body)
$this->bcc,
$this->Subject,
$body,
- $this->From
+ $this->From,
+ []
);
- if ($result != 0) {
- throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL);
+ if (0 !== $result) {
+ throw new Exception($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL);
}
}
+
return true;
}
/**
* Fix CVE-2016-10033 and CVE-2016-10045 by disallowing potentially unsafe shell characters.
- *
* Note that escapeshellarg and escapeshellcmd are inadequate for our purposes, especially on Windows.
- * @param string $string The string to be validated
+ *
* @see https://github.com/PHPMailer/PHPMailer/issues/924 CVE-2016-10045 bug report
- * @access protected
- * @return boolean
+ *
+ * @param string $string The string to be validated
+ *
+ * @return bool
*/
protected static function isShellSafe($string)
{
// Future-proof
if (escapeshellcmd($string) !== $string
- or !in_array(escapeshellarg($string), array("'$string'", "\"$string\""))
+ or !in_array(escapeshellarg($string), ["'$string'", "\"$string\""])
) {
return false;
}
$length = strlen($string);
- for ($i = 0; $i < $length; $i++) {
+ for ($i = 0; $i < $length; ++$i) {
$c = $string[$i];
// All other characters have a special meaning in at least one common shell, including = and +.
@@ -1465,16 +1618,19 @@ protected static function isShellSafe($string)
/**
* Send mail using the PHP mail() function.
+ *
+ * @see http://www.php.net/manual/en/book.mail.php
+ *
* @param string $header The message headers
- * @param string $body The message body
- * @link http://www.php.net/manual/en/book.mail.php
- * @throws phpmailerException
- * @access protected
- * @return boolean
+ * @param string $body The message body
+ *
+ * @throws Exception
+ *
+ * @return bool
*/
protected function mailSend($header, $body)
{
- $toArr = array();
+ $toArr = [];
foreach ($this->to as $toaddr) {
$toArr[] = $this->addrFormat($toaddr);
}
@@ -1482,13 +1638,19 @@ protected function mailSend($header, $body)
$params = null;
//This sets the SMTP envelope sender which gets turned into a return-path header by the receiver
- if (!empty($this->Sender) and $this->validateAddress($this->Sender)) {
+ if (!empty($this->Sender) and static::validateAddress($this->Sender)) {
+ //A space after `-f` is optional, but there is a long history of its presence
+ //causing problems, so we don't use one
+ //Exim docs: http://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_exim_command_line.html
+ //Sendmail docs: http://www.sendmail.org/~ca/email/man/sendmail.html
+ //Qmail docs: http://www.qmail.org/man/man8/qmail-inject.html
+ //Example problem: https://www.drupal.org/node/1057954
// CVE-2016-10033, CVE-2016-10045: Don't pass -f if characters will be escaped.
if (self::isShellSafe($this->Sender)) {
$params = sprintf('-f%s', $this->Sender);
}
}
- if (!empty($this->Sender) and !ini_get('safe_mode') and $this->validateAddress($this->Sender)) {
+ if (!empty($this->Sender) and static::validateAddress($this->Sender)) {
$old_from = ini_get('sendmail_from');
ini_set('sendmail_from', $this->Sender);
}
@@ -1496,117 +1658,162 @@ protected function mailSend($header, $body)
if ($this->SingleTo and count($toArr) > 1) {
foreach ($toArr as $toAddr) {
$result = $this->mailPassthru($toAddr, $this->Subject, $body, $header, $params);
- $this->doCallback($result, array($toAddr), $this->cc, $this->bcc, $this->Subject, $body, $this->From);
+ $this->doCallback($result, [$toAddr], $this->cc, $this->bcc, $this->Subject, $body, $this->From, []);
}
} else {
$result = $this->mailPassthru($to, $this->Subject, $body, $header, $params);
- $this->doCallback($result, $this->to, $this->cc, $this->bcc, $this->Subject, $body, $this->From);
+ $this->doCallback($result, $this->to, $this->cc, $this->bcc, $this->Subject, $body, $this->From, []);
}
if (isset($old_from)) {
ini_set('sendmail_from', $old_from);
}
if (!$result) {
- throw new phpmailerException($this->lang('instantiate'), self::STOP_CRITICAL);
+ throw new Exception($this->lang('instantiate'), self::STOP_CRITICAL);
}
+
return true;
}
/**
* Get an instance to use for SMTP operations.
- * Override this function to load your own SMTP implementation
+ * Override this function to load your own SMTP implementation,
+ * or set one with setSMTPInstance.
+ *
* @return SMTP
*/
public function getSMTPInstance()
{
if (!is_object($this->smtp)) {
- $this->smtp = new SMTP;
+ $this->smtp = new SMTP();
}
+
+ return $this->smtp;
+ }
+
+ /**
+ * Provide an instance to use for SMTP operations.
+ *
+ * @param SMTP $smtp
+ *
+ * @return SMTP
+ */
+ public function setSMTPInstance(SMTP $smtp)
+ {
+ $this->smtp = $smtp;
+
return $this->smtp;
}
/**
* Send mail via SMTP.
* Returns false if there is a bad MAIL FROM, RCPT, or DATA input.
- * Uses the PHPMailerSMTP class by default.
- * @see PHPMailer::getSMTPInstance() to use a different class.
+ *
+ * @see PHPMailer::setSMTPInstance() to use a different class.
+ *
+ * @uses \PHPMailer\PHPMailer\SMTP
+ *
* @param string $header The message headers
- * @param string $body The message body
- * @throws phpmailerException
- * @uses SMTP
- * @access protected
- * @return boolean
+ * @param string $body The message body
+ *
+ * @throws Exception
+ *
+ * @return bool
*/
protected function smtpSend($header, $body)
{
- $bad_rcpt = array();
+ $bad_rcpt = [];
if (!$this->smtpConnect($this->SMTPOptions)) {
- throw new phpmailerException($this->lang('smtp_connect_failed'), self::STOP_CRITICAL);
+ throw new Exception($this->lang('smtp_connect_failed'), self::STOP_CRITICAL);
}
- if (!empty($this->Sender) and $this->validateAddress($this->Sender)) {
- $smtp_from = $this->Sender;
- } else {
+ //Sender already validated in preSend()
+ if ('' == $this->Sender) {
$smtp_from = $this->From;
+ } else {
+ $smtp_from = $this->Sender;
}
if (!$this->smtp->mail($smtp_from)) {
$this->setError($this->lang('from_failed') . $smtp_from . ' : ' . implode(',', $this->smtp->getError()));
- throw new phpmailerException($this->ErrorInfo, self::STOP_CRITICAL);
+ throw new Exception($this->ErrorInfo, self::STOP_CRITICAL);
}
+ $callbacks = [];
// Attempt to send to all recipients
- foreach (array($this->to, $this->cc, $this->bcc) as $togroup) {
+ foreach ([$this->to, $this->cc, $this->bcc] as $togroup) {
foreach ($togroup as $to) {
if (!$this->smtp->recipient($to[0])) {
$error = $this->smtp->getError();
- $bad_rcpt[] = array('to' => $to[0], 'error' => $error['detail']);
+ $bad_rcpt[] = ['to' => $to[0], 'error' => $error['detail']];
$isSent = false;
} else {
$isSent = true;
}
- $this->doCallback($isSent, array($to[0]), array(), array(), $this->Subject, $body, $this->From);
+
+ $callbacks[] = ['issent'=>$isSent, 'to'=>$to[0]];
}
}
// Only send the DATA command if we have viable recipients
if ((count($this->all_recipients) > count($bad_rcpt)) and !$this->smtp->data($header . $body)) {
- throw new phpmailerException($this->lang('data_not_accepted'), self::STOP_CRITICAL);
+ throw new Exception($this->lang('data_not_accepted'), self::STOP_CRITICAL);
}
+
+ $smtp_transaction_id = $this->smtp->getLastTransactionID();
+
if ($this->SMTPKeepAlive) {
$this->smtp->reset();
} else {
$this->smtp->quit();
$this->smtp->close();
}
+
+ foreach ($callbacks as $cb) {
+ $this->doCallback(
+ $cb['issent'],
+ [$cb['to']],
+ [],
+ [],
+ $this->Subject,
+ $body,
+ $this->From,
+ ['smtp_transaction_id' => $smtp_transaction_id]
+ );
+ }
+
//Create error message for any bad addresses
if (count($bad_rcpt) > 0) {
$errstr = '';
foreach ($bad_rcpt as $bad) {
$errstr .= $bad['to'] . ': ' . $bad['error'];
}
- throw new phpmailerException(
+ throw new Exception(
$this->lang('recipients_failed') . $errstr,
self::STOP_CONTINUE
);
}
+
return true;
}
/**
* Initiate a connection to an SMTP server.
* Returns false if the operation failed.
+ *
* @param array $options An array of options compatible with stream_context_create()
- * @uses SMTP
- * @access public
- * @throws phpmailerException
- * @return boolean
+ *
+ * @throws Exception
+ *
+ * @uses \PHPMailer\PHPMailer\SMTP
+ *
+ * @return bool
*/
public function smtpConnect($options = null)
{
- if (is_null($this->smtp)) {
+ if (null === $this->smtp) {
$this->smtp = $this->getSMTPInstance();
}
//If no options are provided, use whatever is set in the instance
- if (is_null($options)) {
+ if (null === $options) {
$options = $this->SMTPOptions;
}
@@ -1623,8 +1830,13 @@ public function smtpConnect($options = null)
$lastexception = null;
foreach ($hosts as $hostentry) {
- $hostinfo = array();
- if (!preg_match('/^((ssl|tls):\/\/)*([a-zA-Z0-9:\[\]\.-]*):?([0-9]*)$/', trim($hostentry), $hostinfo)) {
+ $hostinfo = [];
+ if (!preg_match(
+ '/^((ssl|tls):\/\/)*([a-zA-Z0-9\.-]*|\[[a-fA-F0-9:]+\]):?([0-9]*)$/',
+ trim($hostentry),
+ $hostinfo
+ )) {
+ static::edebug($this->lang('connect_host') . ' ' . $hostentry);
// Not a valid host entry
continue;
}
@@ -1633,29 +1845,35 @@ public function smtpConnect($options = null)
// $hostinfo[4]: optional port number
// The host string prefix can temporarily override the current setting for SMTPSecure
// If it's not specified, the default value is used
+
+ //Check the host name is a valid name or IP address before trying to use it
+ if (!static::isValidHost($hostinfo[3])) {
+ static::edebug($this->lang('connect_host') . ' ' . $hostentry);
+ continue;
+ }
$prefix = '';
$secure = $this->SMTPSecure;
- $tls = ($this->SMTPSecure == 'tls');
+ $tls = ('tls' == $this->SMTPSecure);
if ('ssl' == $hostinfo[2] or ('' == $hostinfo[2] and 'ssl' == $this->SMTPSecure)) {
$prefix = 'ssl://';
$tls = false; // Can't have SSL and TLS at the same time
$secure = 'ssl';
- } elseif ($hostinfo[2] == 'tls') {
+ } elseif ('tls' == $hostinfo[2]) {
$tls = true;
// tls doesn't use a prefix
$secure = 'tls';
}
//Do we need the OpenSSL extension?
- $sslext = defined('OPENSSL_ALGO_SHA1');
+ $sslext = defined('OPENSSL_ALGO_SHA256');
if ('tls' === $secure or 'ssl' === $secure) {
//Check for an OpenSSL constant rather than using extension_loaded, which is sometimes disabled
if (!$sslext) {
- throw new phpmailerException($this->lang('extension_missing').'openssl', self::STOP_CRITICAL);
+ throw new Exception($this->lang('extension_missing') . 'openssl', self::STOP_CRITICAL);
}
}
$host = $hostinfo[3];
$port = $this->Port;
- $tport = (integer)$hostinfo[4];
+ $tport = (int) $hostinfo[4];
if ($tport > 0 and $tport < 65536) {
$port = $tport;
}
@@ -1672,12 +1890,12 @@ public function smtpConnect($options = null)
// * we have openssl extension
// * we are not already using SSL
// * the server offers STARTTLS
- if ($this->SMTPAutoTLS and $sslext and $secure != 'ssl' and $this->smtp->getServerExt('STARTTLS')) {
+ if ($this->SMTPAutoTLS and $sslext and 'ssl' != $secure and $this->smtp->getServerExt('STARTTLS')) {
$tls = true;
}
if ($tls) {
if (!$this->smtp->startTLS()) {
- throw new phpmailerException($this->lang('connect_host'));
+ throw new Exception($this->lang('connect_host'));
}
// We must resend EHLO after TLS negotiation
$this->smtp->hello($hello);
@@ -1687,15 +1905,15 @@ public function smtpConnect($options = null)
$this->Username,
$this->Password,
$this->AuthType,
- $this->Realm,
- $this->Workstation
+ $this->oauth
)
) {
- throw new phpmailerException($this->lang('authenticate'));
+ throw new Exception($this->lang('authenticate'));
}
}
+
return true;
- } catch (phpmailerException $exc) {
+ } catch (Exception $exc) {
$lastexception = $exc;
$this->edebug($exc->getMessage());
// We must have connected, but then failed TLS or Auth, so close connection nicely
@@ -1706,19 +1924,19 @@ public function smtpConnect($options = null)
// If we get here, all connection attempts have failed, so close connection hard
$this->smtp->close();
// As we've caught all exceptions, just report whatever the last one was
- if ($this->exceptions and !is_null($lastexception)) {
+ if ($this->exceptions and null !== $lastexception) {
throw $lastexception;
}
+
return false;
}
/**
* Close the active SMTP session if one exists.
- * @return void
*/
public function smtpClose()
{
- if (is_a($this->smtp, 'SMTP')) {
+ if (null !== $this->smtp) {
if ($this->smtp->connected()) {
$this->smtp->quit();
$this->smtp->close();
@@ -1730,28 +1948,30 @@ public function smtpClose()
* Set the language for error messages.
* Returns false if it cannot load the language file.
* The default language is English.
- * @param string $langcode ISO 639-1 2-character language code (e.g. French is "fr")
+ *
+ * @param string $langcode ISO 639-1 2-character language code (e.g. French is "fr")
* @param string $lang_path Path to the language file directory, with trailing separator (slash)
- * @return boolean
- * @access public
+ *
+ * @return bool
*/
public function setLanguage($langcode = 'en', $lang_path = '')
{
// Backwards compatibility for renamed language codes
- $renamed_langcodes = array(
+ $renamed_langcodes = [
'br' => 'pt_br',
'cz' => 'cs',
'dk' => 'da',
'no' => 'nb',
'se' => 'sv',
- );
+ 'sr' => 'rs',
+ ];
if (isset($renamed_langcodes[$langcode])) {
$langcode = $renamed_langcodes[$langcode];
}
// Define full set of translatable strings in English
- $PHPMAILER_LANG = array(
+ $PHPMAILER_LANG = [
'authenticate' => 'SMTP Error: Could not authenticate.',
'connect_host' => 'SMTP Error: Could not connect to SMTP host.',
'data_not_accepted' => 'SMTP Error: data not accepted.',
@@ -1770,11 +1990,11 @@ public function setLanguage($langcode = 'en', $lang_path = '')
'smtp_connect_failed' => 'SMTP connect() failed.',
'smtp_error' => 'SMTP server error: ',
'variable_set' => 'Cannot set or reset variable: ',
- 'extension_missing' => 'Extension missing: '
- );
+ 'extension_missing' => 'Extension missing: ',
+ ];
if (empty($lang_path)) {
// Calculate an absolute path so it can work if CWD is not here
- $lang_path = dirname(__FILE__). DIRECTORY_SEPARATOR . 'language'. DIRECTORY_SEPARATOR;
+ $lang_path = __DIR__ . DIRECTORY_SEPARATOR . 'language' . DIRECTORY_SEPARATOR;
}
//Validate $langcode
if (!preg_match('/^[a-z]{2}(?:_[a-zA-Z]{2})?$/', $langcode)) {
@@ -1783,9 +2003,9 @@ public function setLanguage($langcode = 'en', $lang_path = '')
$foundlang = true;
$lang_file = $lang_path . 'phpmailer.lang-' . $langcode . '.php';
// There is no English translation file
- if ($langcode != 'en') {
+ if ('en' != $langcode) {
// Make sure language file path is readable
- if (!is_readable($lang_file)) {
+ if (!file_exists($lang_file)) {
$foundlang = false;
} else {
// Overwrite language-specific strings.
@@ -1794,11 +2014,13 @@ public function setLanguage($langcode = 'en', $lang_path = '')
}
}
$this->language = $PHPMAILER_LANG;
- return (boolean)$foundlang; // Returns false if language not found
+
+ return (bool) $foundlang; // Returns false if language not found
}
/**
* Get the array of strings for the current language.
+ *
* @return array
*/
public function getTranslations()
@@ -1808,39 +2030,42 @@ public function getTranslations()
/**
* Create recipient headers.
- * @access public
+ *
* @param string $type
- * @param array $addr An array of recipient,
- * where each recipient is a 2-element indexed array with element 0 containing an address
- * and element 1 containing a name, like:
- * array(array('joe@example.com', 'Joe User'), array('zoe@example.com', 'Zoe User'))
+ * @param array $addr An array of recipients,
+ * where each recipient is a 2-element indexed array with element 0 containing an address
+ * and element 1 containing a name, like:
+ * [['joe@example.com', 'Joe User'], ['zoe@example.com', 'Zoe User']]
+ *
* @return string
*/
public function addrAppend($type, $addr)
{
- $addresses = array();
+ $addresses = [];
foreach ($addr as $address) {
$addresses[] = $this->addrFormat($address);
}
- return $type . ': ' . implode(', ', $addresses) . $this->LE;
+
+ return $type . ': ' . implode(', ', $addresses) . static::$LE;
}
/**
* Format an address for use in a message header.
- * @access public
- * @param array $addr A 2-element indexed array, element 0 containing an address, element 1 containing a name
- * like array('joe@example.com', 'Joe User')
+ *
+ * @param array $addr A 2-element indexed array, element 0 containing an address, element 1 containing a name like
+ * ['joe@example.com', 'Joe User']
+ *
* @return string
*/
public function addrFormat($addr)
{
if (empty($addr[1])) { // No name provided
return $this->secureHeader($addr[0]);
- } else {
- return $this->encodeHeader($this->secureHeader($addr[1]), 'phrase') . ' <' . $this->secureHeader(
+ }
+
+ return $this->encodeHeader($this->secureHeader($addr[1]), 'phrase') . ' <' . $this->secureHeader(
$addr[0]
) . '>';
- }
}
/**
@@ -1848,33 +2073,34 @@ public function addrFormat($addr)
* For use with mailers that do not automatically perform wrapping
* and for quoted-printable encoded messages.
* Original written by philippe.
+ *
* @param string $message The message to wrap
- * @param integer $length The line length to wrap to
- * @param boolean $qp_mode Whether to run in Quoted-Printable mode
- * @access public
+ * @param int $length The line length to wrap to
+ * @param bool $qp_mode Whether to run in Quoted-Printable mode
+ *
* @return string
*/
public function wrapText($message, $length, $qp_mode = false)
{
if ($qp_mode) {
- $soft_break = sprintf(' =%s', $this->LE);
+ $soft_break = sprintf(' =%s', static::$LE);
} else {
- $soft_break = $this->LE;
+ $soft_break = static::$LE;
}
// If utf-8 encoding is used, we will need to make sure we don't
// split multibyte characters when we wrap
- $is_utf8 = (strtolower($this->CharSet) == 'utf-8');
- $lelen = strlen($this->LE);
- $crlflen = strlen(self::CRLF);
+ $is_utf8 = 'utf-8' == strtolower($this->CharSet);
+ $lelen = strlen(static::$LE);
+ $crlflen = strlen(static::$LE);
- $message = $this->fixEOL($message);
+ $message = static::normalizeBreaks($message);
//Remove a trailing line break
- if (substr($message, -$lelen) == $this->LE) {
+ if (substr($message, -$lelen) == static::$LE) {
$message = substr($message, 0, -$lelen);
}
//Split message into lines
- $lines = explode($this->LE, $message);
+ $lines = explode(static::$LE, $message);
//Message will be rebuilt in here
$message = '';
foreach ($lines as $line) {
@@ -1889,15 +2115,15 @@ public function wrapText($message, $length, $qp_mode = false)
$len = $space_left;
if ($is_utf8) {
$len = $this->utf8CharBoundary($word, $len);
- } elseif (substr($word, $len - 1, 1) == '=') {
- $len--;
- } elseif (substr($word, $len - 2, 1) == '=') {
+ } elseif ('=' == substr($word, $len - 1, 1)) {
+ --$len;
+ } elseif ('=' == substr($word, $len - 2, 1)) {
$len -= 2;
}
$part = substr($word, 0, $len);
$word = substr($word, $len);
$buf .= ' ' . $part;
- $message .= $buf . sprintf('=%s', self::CRLF);
+ $message .= $buf . sprintf('=%s', static::$LE);
} else {
$message .= $buf . $soft_break;
}
@@ -1910,16 +2136,16 @@ public function wrapText($message, $length, $qp_mode = false)
$len = $length;
if ($is_utf8) {
$len = $this->utf8CharBoundary($word, $len);
- } elseif (substr($word, $len - 1, 1) == '=') {
- $len--;
- } elseif (substr($word, $len - 2, 1) == '=') {
+ } elseif ('=' == substr($word, $len - 1, 1)) {
+ --$len;
+ } elseif ('=' == substr($word, $len - 2, 1)) {
$len -= 2;
}
$part = substr($word, 0, $len);
$word = substr($word, $len);
if (strlen($word) > 0) {
- $message .= $part . sprintf('=%s', self::CRLF);
+ $message .= $part . sprintf('=%s', static::$LE);
} else {
$buf = $part;
}
@@ -1931,14 +2157,14 @@ public function wrapText($message, $length, $qp_mode = false)
}
$buf .= $word;
- if (strlen($buf) > $length and $buf_o != '') {
+ if (strlen($buf) > $length and '' != $buf_o) {
$message .= $buf_o . $soft_break;
$buf = $word;
}
}
$firstword = false;
}
- $message .= $buf . self::CRLF;
+ $message .= $buf . static::$LE;
}
return $message;
@@ -1948,10 +2174,11 @@ public function wrapText($message, $length, $qp_mode = false)
* Find the last character boundary prior to $maxLength in a utf-8
* quoted-printable encoded string.
* Original written by Colin Brown.
- * @access public
+ *
* @param string $encodedText utf-8 QP text
- * @param integer $maxLength Find the last character boundary prior to this length
- * @return integer
+ * @param int $maxLength Find the last character boundary prior to this length
+ *
+ * @return int
*/
public function utf8CharBoundary($encodedText, $maxLength)
{
@@ -1970,13 +2197,13 @@ public function utf8CharBoundary($encodedText, $maxLength)
// If the encoded char was found at pos 0, it will fit
// otherwise reduce maxLength to start of the encoded char
if ($encodedCharPos > 0) {
- $maxLength = $maxLength - ($lookBack - $encodedCharPos);
+ $maxLength -= $lookBack - $encodedCharPos;
}
$foundSplitPos = true;
} elseif ($dec >= 192) {
// First byte of a multi byte character
// Reduce maxLength to split at start of character
- $maxLength = $maxLength - ($lookBack - $encodedCharPos);
+ $maxLength -= $lookBack - $encodedCharPos;
$foundSplitPos = true;
} elseif ($dec < 192) {
// Middle byte of a multi byte character, look further back
@@ -1987,6 +2214,7 @@ public function utf8CharBoundary($encodedText, $maxLength)
$foundSplitPos = true;
}
}
+
return $maxLength;
}
@@ -1995,8 +2223,6 @@ public function utf8CharBoundary($encodedText, $maxLength)
* Wraps the message body to the number of chars set in the WordWrap property.
* You should only do this to plain-text bodies as wrapping HTML tags may break them.
* This is called automatically by createBody(), so you don't need to call it yourself.
- * @access public
- * @return void
*/
public function setWordWrap()
{
@@ -2019,25 +2245,25 @@ public function setWordWrap()
/**
* Assemble message headers.
- * @access public
+ *
* @return string The assembled headers
*/
public function createHeader()
{
$result = '';
- $result .= $this->headerLine('Date', $this->MessageDate == '' ? self::rfcDate() : $this->MessageDate);
+ $result .= $this->headerLine('Date', '' == $this->MessageDate ? self::rfcDate() : $this->MessageDate);
// To be created automatically by mail()
if ($this->SingleTo) {
- if ($this->Mailer != 'mail') {
+ if ('mail' != $this->Mailer) {
foreach ($this->to as $toaddr) {
$this->SingleToArray[] = $this->addrFormat($toaddr);
}
}
} else {
if (count($this->to) > 0) {
- if ($this->Mailer != 'mail') {
+ if ('mail' != $this->Mailer) {
$result .= $this->addrAppend('To', $this->to);
}
} elseif (count($this->cc) == 0) {
@@ -2045,7 +2271,7 @@ public function createHeader()
}
}
- $result .= $this->addrAppend('From', array(array(trim($this->From), $this->FromName)));
+ $result .= $this->addrAppend('From', [[trim($this->From), $this->FromName]]);
// sendmail and mail() extract Cc from the header before sending
if (count($this->cc) > 0) {
@@ -2054,7 +2280,7 @@ public function createHeader()
// sendmail and mail() extract Bcc from the header before sending
if ((
- $this->Mailer == 'sendmail' or $this->Mailer == 'qmail' or $this->Mailer == 'mail'
+ 'sendmail' == $this->Mailer or 'qmail' == $this->Mailer or 'mail' == $this->Mailer
)
and count($this->bcc) > 0
) {
@@ -2066,7 +2292,7 @@ public function createHeader()
}
// mail() sets the subject itself
- if ($this->Mailer != 'mail') {
+ if ('mail' != $this->Mailer) {
$result .= $this->headerLine('Subject', $this->encodeHeader($this->secureHeader($this->Subject)));
}
@@ -2078,13 +2304,13 @@ public function createHeader()
$this->lastMessageID = sprintf('<%s@%s>', $this->uniqueid, $this->serverHostname());
}
$result .= $this->headerLine('Message-ID', $this->lastMessageID);
- if (!is_null($this->Priority)) {
+ if (null !== $this->Priority) {
$result .= $this->headerLine('X-Priority', $this->Priority);
}
- if ($this->XMailer == '') {
+ if ('' == $this->XMailer) {
$result .= $this->headerLine(
'X-Mailer',
- 'PHPMailer ' . $this->Version . ' (https://github.com/PHPMailer/PHPMailer)'
+ 'PHPMailer ' . self::VERSION . ' (https://github.com/PHPMailer/PHPMailer)'
);
} else {
$myXmailer = trim($this->XMailer);
@@ -2093,7 +2319,7 @@ public function createHeader()
}
}
- if ($this->ConfirmReadingTo != '') {
+ if ('' != $this->ConfirmReadingTo) {
$result .= $this->headerLine('Disposition-Notification-To', '<' . $this->ConfirmReadingTo . '>');
}
@@ -2114,7 +2340,7 @@ public function createHeader()
/**
* Get the message MIME type headers.
- * @access public
+ *
* @return string
*/
public function getMailMIME()
@@ -2145,10 +2371,10 @@ public function getMailMIME()
break;
}
// RFC1341 part 5 says 7bit is assumed if not specified
- if ($this->Encoding != '7bit') {
+ if ('7bit' != $this->Encoding) {
// RFC 2045 section 6.4 says multipart MIME parts may only use 7bit, 8bit or binary CTE
if ($ismultipart) {
- if ($this->Encoding == '8bit') {
+ if ('8bit' == $this->Encoding) {
$result .= $this->headerLine('Content-Transfer-Encoding', '8bit');
}
// The only remaining alternatives are quoted-printable and base64, which are both 7bit compatible
@@ -2157,8 +2383,8 @@ public function getMailMIME()
}
}
- if ($this->Mailer != 'mail') {
- $result .= $this->LE;
+ if ('mail' != $this->Mailer) {
+ $result .= static::$LE;
}
return $result;
@@ -2168,28 +2394,43 @@ public function getMailMIME()
* Returns the whole MIME message.
* Includes complete headers and body.
* Only valid post preSend().
+ *
* @see PHPMailer::preSend()
- * @access public
+ *
* @return string
*/
public function getSentMIMEMessage()
{
- return rtrim($this->MIMEHeader . $this->mailHeader, "\n\r") . self::CRLF . self::CRLF . $this->MIMEBody;
+ return rtrim($this->MIMEHeader . $this->mailHeader, "\n\r") . static::$LE . static::$LE . $this->MIMEBody;
}
/**
- * Create unique ID
+ * Create a unique ID to use for boundaries.
+ *
* @return string
*/
- protected function generateId() {
- return md5(uniqid(time()));
+ protected function generateId()
+ {
+ $len = 32; //32 bytes = 256 bits
+ if (function_exists('random_bytes')) {
+ $bytes = random_bytes($len);
+ } elseif (function_exists('openssl_random_pseudo_bytes')) {
+ $bytes = openssl_random_pseudo_bytes($len);
+ } else {
+ //Use a hash to force the length to the same as the other methods
+ $bytes = hash('sha256', uniqid((string) mt_rand(), true), true);
+ }
+
+ //We don't care about messing up base64 format here, just want a random string
+ return str_replace(['=', '+', '/'], '', base64_encode(hash('sha256', $bytes, true)));
}
/**
* Assemble the message body.
* Returns an empty string on failure.
- * @access public
- * @throws phpmailerException
+ *
+ * @throws Exception
+ *
* @return string The assembled message body
*/
public function createBody()
@@ -2202,7 +2443,7 @@ public function createBody()
$this->boundary[3] = 'b3_' . $this->uniqueid;
if ($this->sign_key_file) {
- $body .= $this->getMailMIME() . $this->LE;
+ $body .= $this->getMailMIME() . static::$LE;
}
$this->setWordWrap();
@@ -2210,45 +2451,45 @@ public function createBody()
$bodyEncoding = $this->Encoding;
$bodyCharSet = $this->CharSet;
//Can we do a 7-bit downgrade?
- if ($bodyEncoding == '8bit' and !$this->has8bitChars($this->Body)) {
+ if ('8bit' == $bodyEncoding and !$this->has8bitChars($this->Body)) {
$bodyEncoding = '7bit';
//All ISO 8859, Windows codepage and UTF-8 charsets are ascii compatible up to 7-bit
$bodyCharSet = 'us-ascii';
}
//If lines are too long, and we're not already using an encoding that will shorten them,
//change to quoted-printable transfer encoding for the body part only
- if ('base64' != $this->Encoding and self::hasLineLongerThanMax($this->Body)) {
+ if ('base64' != $this->Encoding and static::hasLineLongerThanMax($this->Body)) {
$bodyEncoding = 'quoted-printable';
}
$altBodyEncoding = $this->Encoding;
$altBodyCharSet = $this->CharSet;
//Can we do a 7-bit downgrade?
- if ($altBodyEncoding == '8bit' and !$this->has8bitChars($this->AltBody)) {
+ if ('8bit' == $altBodyEncoding and !$this->has8bitChars($this->AltBody)) {
$altBodyEncoding = '7bit';
//All ISO 8859, Windows codepage and UTF-8 charsets are ascii compatible up to 7-bit
$altBodyCharSet = 'us-ascii';
}
//If lines are too long, and we're not already using an encoding that will shorten them,
//change to quoted-printable transfer encoding for the alt body part only
- if ('base64' != $altBodyEncoding and self::hasLineLongerThanMax($this->AltBody)) {
+ if ('base64' != $altBodyEncoding and static::hasLineLongerThanMax($this->AltBody)) {
$altBodyEncoding = 'quoted-printable';
}
//Use this as a preamble in all multipart message types
- $mimepre = "This is a multi-part message in MIME format." . $this->LE . $this->LE;
+ $mimepre = 'This is a multi-part message in MIME format.' . static::$LE;
switch ($this->message_type) {
case 'inline':
$body .= $mimepre;
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding);
$body .= $this->encodeString($this->Body, $bodyEncoding);
- $body .= $this->LE . $this->LE;
+ $body .= static::$LE;
$body .= $this->attachAll('inline', $this->boundary[1]);
break;
case 'attach':
$body .= $mimepre;
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding);
$body .= $this->encodeString($this->Body, $bodyEncoding);
- $body .= $this->LE . $this->LE;
+ $body .= static::$LE;
$body .= $this->attachAll('attachment', $this->boundary[1]);
break;
case 'inline_attach':
@@ -2256,26 +2497,26 @@ public function createBody()
$body .= $this->textLine('--' . $this->boundary[1]);
$body .= $this->headerLine('Content-Type', 'multipart/related;');
$body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"');
- $body .= $this->LE;
+ $body .= static::$LE;
$body .= $this->getBoundary($this->boundary[2], $bodyCharSet, '', $bodyEncoding);
$body .= $this->encodeString($this->Body, $bodyEncoding);
- $body .= $this->LE . $this->LE;
+ $body .= static::$LE;
$body .= $this->attachAll('inline', $this->boundary[2]);
- $body .= $this->LE;
+ $body .= static::$LE;
$body .= $this->attachAll('attachment', $this->boundary[1]);
break;
case 'alt':
$body .= $mimepre;
$body .= $this->getBoundary($this->boundary[1], $altBodyCharSet, 'text/plain', $altBodyEncoding);
$body .= $this->encodeString($this->AltBody, $altBodyEncoding);
- $body .= $this->LE . $this->LE;
+ $body .= static::$LE;
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, 'text/html', $bodyEncoding);
$body .= $this->encodeString($this->Body, $bodyEncoding);
- $body .= $this->LE . $this->LE;
+ $body .= static::$LE;
if (!empty($this->Ical)) {
$body .= $this->getBoundary($this->boundary[1], '', 'text/calendar; method=REQUEST', '');
$body .= $this->encodeString($this->Ical, $this->Encoding);
- $body .= $this->LE . $this->LE;
+ $body .= static::$LE;
}
$body .= $this->endBoundary($this->boundary[1]);
break;
@@ -2283,16 +2524,16 @@ public function createBody()
$body .= $mimepre;
$body .= $this->getBoundary($this->boundary[1], $altBodyCharSet, 'text/plain', $altBodyEncoding);
$body .= $this->encodeString($this->AltBody, $altBodyEncoding);
- $body .= $this->LE . $this->LE;
+ $body .= static::$LE;
$body .= $this->textLine('--' . $this->boundary[1]);
$body .= $this->headerLine('Content-Type', 'multipart/related;');
$body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"');
- $body .= $this->LE;
+ $body .= static::$LE;
$body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding);
$body .= $this->encodeString($this->Body, $bodyEncoding);
- $body .= $this->LE . $this->LE;
+ $body .= static::$LE;
$body .= $this->attachAll('inline', $this->boundary[2]);
- $body .= $this->LE;
+ $body .= static::$LE;
$body .= $this->endBoundary($this->boundary[1]);
break;
case 'alt_attach':
@@ -2300,15 +2541,19 @@ public function createBody()
$body .= $this->textLine('--' . $this->boundary[1]);
$body .= $this->headerLine('Content-Type', 'multipart/alternative;');
$body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"');
- $body .= $this->LE;
+ $body .= static::$LE;
$body .= $this->getBoundary($this->boundary[2], $altBodyCharSet, 'text/plain', $altBodyEncoding);
$body .= $this->encodeString($this->AltBody, $altBodyEncoding);
- $body .= $this->LE . $this->LE;
+ $body .= static::$LE;
$body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding);
$body .= $this->encodeString($this->Body, $bodyEncoding);
- $body .= $this->LE . $this->LE;
+ $body .= static::$LE;
+ if (!empty($this->Ical)) {
+ $body .= $this->getBoundary($this->boundary[2], '', 'text/calendar; method=REQUEST', '');
+ $body .= $this->encodeString($this->Ical, $this->Encoding);
+ }
$body .= $this->endBoundary($this->boundary[2]);
- $body .= $this->LE;
+ $body .= static::$LE;
$body .= $this->attachAll('attachment', $this->boundary[1]);
break;
case 'alt_inline_attach':
@@ -2316,21 +2561,21 @@ public function createBody()
$body .= $this->textLine('--' . $this->boundary[1]);
$body .= $this->headerLine('Content-Type', 'multipart/alternative;');
$body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"');
- $body .= $this->LE;
+ $body .= static::$LE;
$body .= $this->getBoundary($this->boundary[2], $altBodyCharSet, 'text/plain', $altBodyEncoding);
$body .= $this->encodeString($this->AltBody, $altBodyEncoding);
- $body .= $this->LE . $this->LE;
+ $body .= static::$LE;
$body .= $this->textLine('--' . $this->boundary[2]);
$body .= $this->headerLine('Content-Type', 'multipart/related;');
$body .= $this->textLine("\tboundary=\"" . $this->boundary[3] . '"');
- $body .= $this->LE;
+ $body .= static::$LE;
$body .= $this->getBoundary($this->boundary[3], $bodyCharSet, 'text/html', $bodyEncoding);
$body .= $this->encodeString($this->Body, $bodyEncoding);
- $body .= $this->LE . $this->LE;
+ $body .= static::$LE;
$body .= $this->attachAll('inline', $this->boundary[3]);
- $body .= $this->LE;
+ $body .= static::$LE;
$body .= $this->endBoundary($this->boundary[2]);
- $body .= $this->LE;
+ $body .= static::$LE;
$body .= $this->attachAll('attachment', $this->boundary[1]);
break;
default:
@@ -2343,15 +2588,18 @@ public function createBody()
if ($this->isError()) {
$body = '';
+ if ($this->exceptions) {
+ throw new Exception($this->lang('empty_message'), self::STOP_CRITICAL);
+ }
} elseif ($this->sign_key_file) {
try {
if (!defined('PKCS7_TEXT')) {
- throw new phpmailerException($this->lang('extension_missing') . 'openssl');
+ throw new Exception($this->lang('extension_missing') . 'openssl');
}
- // @TODO would be nice to use php://temp streams here, but need to wrap for PHP < 5.1
+ // @TODO would be nice to use php://temp streams here
$file = tempnam(sys_get_temp_dir(), 'mail');
if (false === file_put_contents($file, $body)) {
- throw new phpmailerException($this->lang('signing') . ' Could not write temp file');
+ throw new Exception($this->lang('signing') . ' Could not write temp file');
}
$signed = tempnam(sys_get_temp_dir(), 'signed');
//Workaround for PHP bug https://bugs.php.net/bug.php?id=69197
@@ -2360,96 +2608,96 @@ public function createBody()
$file,
$signed,
'file://' . realpath($this->sign_cert_file),
- array('file://' . realpath($this->sign_key_file), $this->sign_key_pass),
- null
+ ['file://' . realpath($this->sign_key_file), $this->sign_key_pass],
+ []
);
} else {
$sign = @openssl_pkcs7_sign(
$file,
$signed,
'file://' . realpath($this->sign_cert_file),
- array('file://' . realpath($this->sign_key_file), $this->sign_key_pass),
- null,
+ ['file://' . realpath($this->sign_key_file), $this->sign_key_pass],
+ [],
PKCS7_DETACHED,
$this->sign_extracerts_file
);
}
+ @unlink($file);
if ($sign) {
- @unlink($file);
$body = file_get_contents($signed);
@unlink($signed);
//The message returned by openssl contains both headers and body, so need to split them up
$parts = explode("\n\n", $body, 2);
- $this->MIMEHeader .= $parts[0] . $this->LE . $this->LE;
+ $this->MIMEHeader .= $parts[0] . static::$LE . static::$LE;
$body = $parts[1];
} else {
- @unlink($file);
@unlink($signed);
- throw new phpmailerException($this->lang('signing') . openssl_error_string());
+ throw new Exception($this->lang('signing') . openssl_error_string());
}
- } catch (phpmailerException $exc) {
+ } catch (Exception $exc) {
$body = '';
if ($this->exceptions) {
throw $exc;
}
}
}
+
return $body;
}
/**
* Return the start of a message boundary.
- * @access protected
+ *
* @param string $boundary
* @param string $charSet
* @param string $contentType
* @param string $encoding
+ *
* @return string
*/
protected function getBoundary($boundary, $charSet, $contentType, $encoding)
{
$result = '';
- if ($charSet == '') {
+ if ('' == $charSet) {
$charSet = $this->CharSet;
}
- if ($contentType == '') {
+ if ('' == $contentType) {
$contentType = $this->ContentType;
}
- if ($encoding == '') {
+ if ('' == $encoding) {
$encoding = $this->Encoding;
}
$result .= $this->textLine('--' . $boundary);
$result .= sprintf('Content-Type: %s; charset=%s', $contentType, $charSet);
- $result .= $this->LE;
+ $result .= static::$LE;
// RFC1341 part 5 says 7bit is assumed if not specified
- if ($encoding != '7bit') {
+ if ('7bit' != $encoding) {
$result .= $this->headerLine('Content-Transfer-Encoding', $encoding);
}
- $result .= $this->LE;
+ $result .= static::$LE;
return $result;
}
/**
* Return the end of a message boundary.
- * @access protected
+ *
* @param string $boundary
+ *
* @return string
*/
protected function endBoundary($boundary)
{
- return $this->LE . '--' . $boundary . '--' . $this->LE;
+ return static::$LE . '--' . $boundary . '--' . static::$LE;
}
/**
* Set the message type.
* PHPMailer only supports some preset message types, not arbitrary MIME structures.
- * @access protected
- * @return void
*/
protected function setMessageType()
{
- $type = array();
+ $type = [];
if ($this->alternativeExists()) {
$type[] = 'alt';
}
@@ -2460,7 +2708,7 @@ protected function setMessageType()
$type[] = 'attach';
}
$this->message_type = implode('_', $type);
- if ($this->message_type == '') {
+ if ('' == $this->message_type) {
//The 'plain' message_type refers to the message having a single body element, not that it is plain-text
$this->message_type = 'plain';
}
@@ -2468,57 +2716,62 @@ protected function setMessageType()
/**
* Format a header line.
- * @access public
- * @param string $name
- * @param string $value
+ *
+ * @param string $name
+ * @param string|int $value
+ *
* @return string
*/
public function headerLine($name, $value)
{
- return $name . ': ' . $value . $this->LE;
+ return $name . ': ' . $value . static::$LE;
}
/**
* Return a formatted mail line.
- * @access public
+ *
* @param string $value
+ *
* @return string
*/
public function textLine($value)
{
- return $value . $this->LE;
+ return $value . static::$LE;
}
/**
* Add an attachment from a path on the filesystem.
* Never use a user-supplied path to a file!
* Returns false if the file could not be found or read.
- * @param string $path Path to the attachment.
- * @param string $name Overrides the attachment name.
- * @param string $encoding File encoding (see $Encoding).
- * @param string $type File extension (MIME) type.
+ *
+ * @param string $path Path to the attachment
+ * @param string $name Overrides the attachment name
+ * @param string $encoding File encoding (see $Encoding)
+ * @param string $type File extension (MIME) type
* @param string $disposition Disposition to use
- * @throws phpmailerException
- * @return boolean
+ *
+ * @throws Exception
+ *
+ * @return bool
*/
public function addAttachment($path, $name = '', $encoding = 'base64', $type = '', $disposition = 'attachment')
{
try {
if (!@is_file($path)) {
- throw new phpmailerException($this->lang('file_access') . $path, self::STOP_CONTINUE);
+ throw new Exception($this->lang('file_access') . $path, self::STOP_CONTINUE);
}
// If a MIME type is not specified, try to work it out from the file name
- if ($type == '') {
- $type = self::filenameToType($path);
+ if ('' == $type) {
+ $type = static::filenameToType($path);
}
$filename = basename($path);
- if ($name == '') {
+ if ('' == $name) {
$name = $filename;
}
- $this->attachment[] = array(
+ $this->attachment[] = [
0 => $path,
1 => $filename,
2 => $name,
@@ -2526,22 +2779,24 @@ public function addAttachment($path, $name = '', $encoding = 'base64', $type = '
4 => $type,
5 => false, // isStringAttachment
6 => $disposition,
- 7 => 0
- );
-
- } catch (phpmailerException $exc) {
+ 7 => $name,
+ ];
+ } catch (Exception $exc) {
$this->setError($exc->getMessage());
$this->edebug($exc->getMessage());
if ($this->exceptions) {
throw $exc;
}
+
return false;
}
+
return true;
}
/**
* Return the array of attachments.
+ *
* @return array
*/
public function getAttachments()
@@ -2552,17 +2807,18 @@ public function getAttachments()
/**
* Attach all file, string, and binary attachments to the message.
* Returns an empty string on failure.
- * @access protected
+ *
* @param string $disposition_type
* @param string $boundary
+ *
* @return string
*/
protected function attachAll($disposition_type, $boundary)
{
// Return text of body
- $mime = array();
- $cidUniq = array();
- $incl = array();
+ $mime = [];
+ $cidUniq = [];
+ $incl = [];
// Add all attachments
foreach ($this->attachment as $attachment) {
@@ -2578,7 +2834,7 @@ protected function attachAll($disposition_type, $boundary)
$path = $attachment[0];
}
- $inclhash = md5(serialize($attachment));
+ $inclhash = hash('sha256', serialize($attachment));
if (in_array($inclhash, $incl)) {
continue;
}
@@ -2588,34 +2844,34 @@ protected function attachAll($disposition_type, $boundary)
$type = $attachment[4];
$disposition = $attachment[6];
$cid = $attachment[7];
- if ($disposition == 'inline' && array_key_exists($cid, $cidUniq)) {
+ if ('inline' == $disposition and array_key_exists($cid, $cidUniq)) {
continue;
}
$cidUniq[$cid] = true;
- $mime[] = sprintf('--%s%s', $boundary, $this->LE);
+ $mime[] = sprintf('--%s%s', $boundary, static::$LE);
//Only include a filename property if we have one
if (!empty($name)) {
$mime[] = sprintf(
'Content-Type: %s; name="%s"%s',
$type,
$this->encodeHeader($this->secureHeader($name)),
- $this->LE
+ static::$LE
);
} else {
$mime[] = sprintf(
'Content-Type: %s%s',
$type,
- $this->LE
+ static::$LE
);
}
// RFC1341 part 5 says 7bit is assumed if not specified
- if ($encoding != '7bit') {
- $mime[] = sprintf('Content-Transfer-Encoding: %s%s', $encoding, $this->LE);
+ if ('7bit' != $encoding) {
+ $mime[] = sprintf('Content-Transfer-Encoding: %s%s', $encoding, static::$LE);
}
- if ($disposition == 'inline') {
- $mime[] = sprintf('Content-ID: <%s>%s', $cid, $this->LE);
+ if (!empty($cid)) {
+ $mime[] = sprintf('Content-ID: <%s>%s', $cid, static::$LE);
}
// If a filename contains any of these chars, it should be quoted,
@@ -2629,7 +2885,7 @@ protected function attachAll($disposition_type, $boundary)
'Content-Disposition: %s; filename="%s"%s',
$disposition,
$encoded_name,
- $this->LE . $this->LE
+ static::$LE . static::$LE
);
} else {
if (!empty($encoded_name)) {
@@ -2637,38 +2893,34 @@ protected function attachAll($disposition_type, $boundary)
'Content-Disposition: %s; filename=%s%s',
$disposition,
$encoded_name,
- $this->LE . $this->LE
+ static::$LE . static::$LE
);
} else {
$mime[] = sprintf(
'Content-Disposition: %s%s',
$disposition,
- $this->LE . $this->LE
+ static::$LE . static::$LE
);
}
}
} else {
- $mime[] = $this->LE;
+ $mime[] = static::$LE;
}
// Encode as string attachment
if ($bString) {
$mime[] = $this->encodeString($string, $encoding);
- if ($this->isError()) {
- return '';
- }
- $mime[] = $this->LE . $this->LE;
} else {
$mime[] = $this->encodeFile($path, $encoding);
- if ($this->isError()) {
- return '';
- }
- $mime[] = $this->LE . $this->LE;
}
+ if ($this->isError()) {
+ return '';
+ }
+ $mime[] = static::$LE;
}
}
- $mime[] = sprintf('--%s--%s', $boundary, $this->LE);
+ $mime[] = sprintf('--%s--%s', $boundary, static::$LE);
return implode('', $mime);
}
@@ -2676,41 +2928,30 @@ protected function attachAll($disposition_type, $boundary)
/**
* Encode a file attachment in requested format.
* Returns an empty string on failure.
- * @param string $path The full path to the file
+ *
+ * @param string $path The full path to the file
* @param string $encoding The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable'
- * @throws phpmailerException
- * @access protected
+ *
+ * @throws Exception
+ *
* @return string
*/
protected function encodeFile($path, $encoding = 'base64')
{
try {
- if (!is_readable($path)) {
- throw new phpmailerException($this->lang('file_open') . $path, self::STOP_CONTINUE);
- }
- $magic_quotes = get_magic_quotes_runtime();
- if ($magic_quotes) {
- if (version_compare(PHP_VERSION, '5.3.0', '<')) {
- set_magic_quotes_runtime(false);
- } else {
- //Doesn't exist in PHP 5.4, but we don't need to check because
- //get_magic_quotes_runtime always returns false in 5.4+
- //so it will never get here
- ini_set('magic_quotes_runtime', false);
- }
+ if (!file_exists($path)) {
+ throw new Exception($this->lang('file_open') . $path, self::STOP_CONTINUE);
}
$file_buffer = file_get_contents($path);
- $file_buffer = $this->encodeString($file_buffer, $encoding);
- if ($magic_quotes) {
- if (version_compare(PHP_VERSION, '5.3.0', '<')) {
- set_magic_quotes_runtime($magic_quotes);
- } else {
- ini_set('magic_quotes_runtime', $magic_quotes);
- }
+ if (false === $file_buffer) {
+ throw new Exception($this->lang('file_open') . $path, self::STOP_CONTINUE);
}
+ $file_buffer = $this->encodeString($file_buffer, $encoding);
+
return $file_buffer;
} catch (Exception $exc) {
$this->setError($exc->getMessage());
+
return '';
}
}
@@ -2718,9 +2959,10 @@ protected function encodeFile($path, $encoding = 'base64')
/**
* Encode a string in requested format.
* Returns an empty string on failure.
- * @param string $str The text to encode
- * @param string $encoding The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable'
- * @access public
+ *
+ * @param string $str The text to encode
+ * @param string $encoding The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable
+ *
* @return string
*/
public function encodeString($str, $encoding = 'base64')
@@ -2728,14 +2970,18 @@ public function encodeString($str, $encoding = 'base64')
$encoded = '';
switch (strtolower($encoding)) {
case 'base64':
- $encoded = chunk_split(base64_encode($str), 76, $this->LE);
+ $encoded = chunk_split(
+ base64_encode($str),
+ static::STD_LINE_LENGTH,
+ static::$LE
+ );
break;
case '7bit':
case '8bit':
- $encoded = $this->fixEOL($str);
+ $encoded = static::normalizeBreaks($str);
// Make sure it ends with a line break
- if (substr($encoded, -(strlen($this->LE))) != $this->LE) {
- $encoded .= $this->LE;
+ if (substr($encoded, -(strlen(static::$LE))) != static::$LE) {
+ $encoded .= static::$LE;
}
break;
case 'binary':
@@ -2748,15 +2994,18 @@ public function encodeString($str, $encoding = 'base64')
$this->setError($this->lang('encoding') . $encoding);
break;
}
+
return $encoded;
}
/**
- * Encode a header string optimally.
- * Picks shortest of Q, B, quoted-printable or none.
- * @access public
- * @param string $str
- * @param string $position
+ * Encode a header value (not including its label) optimally.
+ * Picks shortest of Q, B, or none. Result includes folding if needed.
+ * See RFC822 definitions for phrase, comment and text positions.
+ *
+ * @param string $str The header value to encode
+ * @param string $position What context the string will be used in
+ *
* @return string
*/
public function encodeHeader($str, $position = 'text')
@@ -2767,35 +3016,39 @@ public function encodeHeader($str, $position = 'text')
if (!preg_match('/[\200-\377]/', $str)) {
// Can't use addslashes as we don't know the value of magic_quotes_sybase
$encoded = addcslashes($str, "\0..\37\177\\\"");
- if (($str == $encoded) && !preg_match('/[^A-Za-z0-9!#$%&\'*+\/=?^_`{|}~ -]/', $str)) {
- return ($encoded);
- } else {
- return ("\"$encoded\"");
+ if (($str == $encoded) and !preg_match('/[^A-Za-z0-9!#$%&\'*+\/=?^_`{|}~ -]/', $str)) {
+ return $encoded;
}
+
+ return "\"$encoded\"";
}
$matchcount = preg_match_all('/[^\040\041\043-\133\135-\176]/', $str, $matches);
break;
- /** @noinspection PhpMissingBreakStatementInspection */
+ /* @noinspection PhpMissingBreakStatementInspection */
case 'comment':
$matchcount = preg_match_all('/[()"]/', $str, $matches);
- // Intentional fall-through
+ //fallthrough
case 'text':
default:
$matchcount += preg_match_all('/[\000-\010\013\014\016-\037\177-\377]/', $str, $matches);
break;
}
- //There are no chars that need encoding
- if ($matchcount == 0) {
- return ($str);
- }
-
- $maxlen = 75 - 7 - strlen($this->CharSet);
+ //RFCs specify a maximum line length of 78 chars, however mail() will sometimes
+ //corrupt messages with headers longer than 65 chars. See #818
+ $lengthsub = 'mail' == $this->Mailer ? 13 : 0;
+ $maxlen = static::STD_LINE_LENGTH - $lengthsub;
// Try to select the encoding which should produce the shortest output
if ($matchcount > strlen($str) / 3) {
// More than a third of the content will need encoding, so B encoding will be most efficient
$encoding = 'B';
- if (function_exists('mb_strlen') && $this->hasMultiBytes($str)) {
+ //This calculation is:
+ // max line length
+ // - shorten to avoid mail() corruption
+ // - Q/B encoding char overhead ("` =??[QB]??=`")
+ // - charset name length
+ $maxlen = static::STD_LINE_LENGTH - $lengthsub - 8 - strlen($this->CharSet);
+ if ($this->hasMultiBytes($str)) {
// Use a custom function which correctly encodes and wraps long
// multibyte strings without breaking lines within a character
$encoded = $this->base64EncodeWrapMB($str, "\n");
@@ -2804,52 +3057,72 @@ public function encodeHeader($str, $position = 'text')
$maxlen -= $maxlen % 4;
$encoded = trim(chunk_split($encoded, $maxlen, "\n"));
}
- } else {
+ $encoded = preg_replace('/^(.*)$/m', ' =?' . $this->CharSet . "?$encoding?\\1?=", $encoded);
+ } elseif ($matchcount > 0) {
+ //1 or more chars need encoding, use Q-encode
$encoding = 'Q';
+ //Recalc max line length for Q encoding - see comments on B encode
+ $maxlen = static::STD_LINE_LENGTH - $lengthsub - 8 - strlen($this->CharSet);
$encoded = $this->encodeQ($str, $position);
$encoded = $this->wrapText($encoded, $maxlen, true);
- $encoded = str_replace('=' . self::CRLF, "\n", trim($encoded));
+ $encoded = str_replace('=' . static::$LE, "\n", trim($encoded));
+ $encoded = preg_replace('/^(.*)$/m', ' =?' . $this->CharSet . "?$encoding?\\1?=", $encoded);
+ } elseif (strlen($str) > $maxlen) {
+ //No chars need encoding, but line is too long, so fold it
+ $encoded = trim($this->wrapText($str, $maxlen, false));
+ if ($str == $encoded) {
+ //Wrapping nicely didn't work, wrap hard instead
+ $encoded = trim(chunk_split($str, static::STD_LINE_LENGTH, static::$LE));
+ }
+ $encoded = str_replace(static::$LE, "\n", trim($encoded));
+ $encoded = preg_replace('/^(.*)$/m', ' \\1', $encoded);
+ } else {
+ //No reformatting needed
+ return $str;
}
- $encoded = preg_replace('/^(.*)$/m', ' =?' . $this->CharSet . "?$encoding?\\1?=", $encoded);
- $encoded = trim(str_replace("\n", $this->LE, $encoded));
-
- return $encoded;
+ return trim(static::normalizeBreaks($encoded));
}
/**
* Check if a string contains multi-byte characters.
- * @access public
+ *
* @param string $str multi-byte text to wrap encode
- * @return boolean
+ *
+ * @return bool
*/
public function hasMultiBytes($str)
{
if (function_exists('mb_strlen')) {
- return (strlen($str) > mb_strlen($str, $this->CharSet));
- } else { // Assume no multibytes (we can't handle without mbstring functions anyway)
- return false;
+ return strlen($str) > mb_strlen($str, $this->CharSet);
}
+
+ // Assume no multibytes (we can't handle without mbstring functions anyway)
+ return false;
}
/**
* Does a string contain any 8-bit chars (in any charset)?
+ *
* @param string $text
- * @return boolean
+ *
+ * @return bool
*/
public function has8bitChars($text)
{
- return (boolean)preg_match('/[\x80-\xFF]/', $text);
+ return (bool) preg_match('/[\x80-\xFF]/', $text);
}
/**
* Encode and wrap long multibyte strings for mail headers
* without breaking lines within a character.
- * Adapted from a function by paravoid
- * @link http://www.php.net/manual/en/function.mb-encode-mimeheader.php#60283
- * @access public
- * @param string $str multi-byte text to wrap encode
+ * Adapted from a function by paravoid.
+ *
+ * @see http://www.php.net/manual/en/function.mb-encode-mimeheader.php#60283
+ *
+ * @param string $str multi-byte text to wrap encode
* @param string $linebreak string to use as linefeed/end-of-line
+ *
* @return string
*/
public function base64EncodeWrapMB($str, $linebreak = null)
@@ -2857,8 +3130,8 @@ public function base64EncodeWrapMB($str, $linebreak = null)
$start = '=?' . $this->CharSet . '?B?';
$end = '?=';
$encoded = '';
- if ($linebreak === null) {
- $linebreak = $this->LE;
+ if (null === $linebreak) {
+ $linebreak = static::$LE;
}
$mb_length = mb_strlen($str, $this->CharSet);
@@ -2875,90 +3148,65 @@ public function base64EncodeWrapMB($str, $linebreak = null)
$offset = $avgLength - $lookBack;
$chunk = mb_substr($str, $i, $offset, $this->CharSet);
$chunk = base64_encode($chunk);
- $lookBack++;
+ ++$lookBack;
} while (strlen($chunk) > $length);
$encoded .= $chunk . $linebreak;
}
// Chomp the last linefeed
- $encoded = substr($encoded, 0, -strlen($linebreak));
- return $encoded;
+ return substr($encoded, 0, -strlen($linebreak));
}
/**
* Encode a string in quoted-printable format.
* According to RFC2045 section 6.7.
- * @access public
+ *
* @param string $string The text to encode
- * @param integer $line_max Number of chars allowed on a line before wrapping
+ *
* @return string
- * @link http://www.php.net/manual/en/function.quoted-printable-decode.php#89417 Adapted from this comment
*/
- public function encodeQP($string, $line_max = 76)
+ public function encodeQP($string)
{
- // Use native function if it's available (>= PHP5.3)
- if (function_exists('quoted_printable_encode')) {
- return quoted_printable_encode($string);
- }
- // Fall back to a pure PHP implementation
- $string = str_replace(
- array('%20', '%0D%0A.', '%0D%0A', '%'),
- array(' ', "\r\n=2E", "\r\n", '='),
- rawurlencode($string)
- );
- return preg_replace('/[^\r\n]{' . ($line_max - 3) . '}[^=\r\n]{2}/', "$0=\r\n", $string);
- }
-
- /**
- * Backward compatibility wrapper for an old QP encoding function that was removed.
- * @see PHPMailer::encodeQP()
- * @access public
- * @param string $string
- * @param integer $line_max
- * @param boolean $space_conv
- * @return string
- * @deprecated Use encodeQP instead.
- */
- public function encodeQPphp(
- $string,
- $line_max = 76,
- /** @noinspection PhpUnusedParameterInspection */ $space_conv = false
- ) {
- return $this->encodeQP($string, $line_max);
+ return static::normalizeBreaks(quoted_printable_encode($string));
}
/**
* Encode a string using Q encoding.
- * @link http://tools.ietf.org/html/rfc2047
- * @param string $str the text to encode
+ *
+ * @see http://tools.ietf.org/html/rfc2047#section-4.2
+ *
+ * @param string $str the text to encode
* @param string $position Where the text is going to be used, see the RFC for what that means
- * @access public
+ *
* @return string
*/
public function encodeQ($str, $position = 'text')
{
// There should not be any EOL in the string
$pattern = '';
- $encoded = str_replace(array("\r", "\n"), '', $str);
+ $encoded = str_replace(["\r", "\n"], '', $str);
switch (strtolower($position)) {
case 'phrase':
// RFC 2047 section 5.3
$pattern = '^A-Za-z0-9!*+\/ -';
break;
- /** @noinspection PhpMissingBreakStatementInspection */
+ /*
+ * RFC 2047 section 5.2.
+ * Build $pattern without including delimiters and []
+ */
+ /* @noinspection PhpMissingBreakStatementInspection */
case 'comment':
- // RFC 2047 section 5.2
$pattern = '\(\)"';
- // intentional fall-through
- // for this reason we build the $pattern without including delimiters and []
+ /* Intentional fall through */
case 'text':
default:
// RFC 2047 section 5.1
// Replace every high ascii, control, =, ? and _ characters
+ /** @noinspection SuspiciousAssignmentsInspection */
$pattern = '\000-\011\013\014\016-\037\075\077\137\177-\377' . $pattern;
break;
}
- $matches = array();
+ $matches = [];
if (preg_match_all("/[{$pattern}]/", $encoded, $matches)) {
// If the string contains an '=', make sure it's the first thing we replace
// so as to avoid double-encoding
@@ -2971,7 +3219,8 @@ public function encodeQ($str, $position = 'text')
$encoded = str_replace($char, '=' . sprintf('%02X', ord($char)), $encoded);
}
}
- // Replace every spaces to _ (more readable than =20)
+ // Replace spaces with _ (more readable than =20)
+ // RFC 2047 section 4.2(2)
return str_replace(' ', '_', $encoded);
}
@@ -2979,12 +3228,12 @@ public function encodeQ($str, $position = 'text')
* Add a string or binary attachment (non-filesystem).
* This method can be used to attach ascii or binary data,
* such as a BLOB record from a database.
- * @param string $string String attachment data.
- * @param string $filename Name of the attachment.
- * @param string $encoding File encoding (see $Encoding).
- * @param string $type File extension (MIME) type.
+ *
+ * @param string $string String attachment data
+ * @param string $filename Name of the attachment
+ * @param string $encoding File encoding (see $Encoding)
+ * @param string $type File extension (MIME) type
* @param string $disposition Disposition to use
- * @return void
*/
public function addStringAttachment(
$string,
@@ -2994,11 +3243,11 @@ public function addStringAttachment(
$disposition = 'attachment'
) {
// If a MIME type is not specified, try to work it out from the file name
- if ($type == '') {
- $type = self::filenameToType($filename);
+ if ('' == $type) {
+ $type = static::filenameToType($filename);
}
// Append to $attachment array
- $this->attachment[] = array(
+ $this->attachment[] = [
0 => $string,
1 => $filename,
2 => basename($filename),
@@ -3006,8 +3255,8 @@ public function addStringAttachment(
4 => $type,
5 => true, // isStringAttachment
6 => $disposition,
- 7 => 0
- );
+ 7 => 0,
+ ];
}
/**
@@ -3018,34 +3267,37 @@ public function addStringAttachment(
* This is used in HTML messages that embed the images
* the HTML refers to using the $cid value.
* Never use a user-supplied path to a file!
- * @param string $path Path to the attachment.
- * @param string $cid Content ID of the attachment; Use this to reference
- * the content when using an embedded image in HTML.
- * @param string $name Overrides the attachment name.
- * @param string $encoding File encoding (see $Encoding).
- * @param string $type File MIME type.
+ *
+ * @param string $path Path to the attachment
+ * @param string $cid Content ID of the attachment; Use this to reference
+ * the content when using an embedded image in HTML
+ * @param string $name Overrides the attachment name
+ * @param string $encoding File encoding (see $Encoding)
+ * @param string $type File MIME type
* @param string $disposition Disposition to use
- * @return boolean True on successfully adding an attachment
+ *
+ * @return bool True on successfully adding an attachment
*/
public function addEmbeddedImage($path, $cid, $name = '', $encoding = 'base64', $type = '', $disposition = 'inline')
{
if (!@is_file($path)) {
$this->setError($this->lang('file_access') . $path);
+
return false;
}
// If a MIME type is not specified, try to work it out from the file name
- if ($type == '') {
- $type = self::filenameToType($path);
+ if ('' == $type) {
+ $type = static::filenameToType($path);
}
$filename = basename($path);
- if ($name == '') {
+ if ('' == $name) {
$name = $filename;
}
// Append to $attachment array
- $this->attachment[] = array(
+ $this->attachment[] = [
0 => $path,
1 => $filename,
2 => $name,
@@ -3053,24 +3305,28 @@ public function addEmbeddedImage($path, $cid, $name = '', $encoding = 'base64',
4 => $type,
5 => false, // isStringAttachment
6 => $disposition,
- 7 => $cid
- );
+ 7 => $cid,
+ ];
+
return true;
}
/**
* Add an embedded stringified attachment.
* This can include images, sounds, and just about any other document type.
- * Be sure to set the $type to an image type for images:
- * JPEG images use 'image/jpeg', GIF uses 'image/gif', PNG uses 'image/png'.
- * @param string $string The attachment binary data.
- * @param string $cid Content ID of the attachment; Use this to reference
- * the content when using an embedded image in HTML.
- * @param string $name
- * @param string $encoding File encoding (see $Encoding).
- * @param string $type MIME type.
+ * If your filename doesn't contain an extension, be sure to set the $type to an appropriate MIME type.
+ *
+ * @param string $string The attachment binary data
+ * @param string $cid Content ID of the attachment; Use this to reference
+ * the content when using an embedded image in HTML
+ * @param string $name A filename for the attachment. If this contains an extension,
+ * PHPMailer will attempt to set a MIME type for the attachment.
+ * For example 'file.jpg' would get an 'image/jpeg' MIME type.
+ * @param string $encoding File encoding (see $Encoding), defaults to 'base64'
+ * @param string $type MIME type - will be used in preference to any automatically derived type
* @param string $disposition Disposition to use
- * @return boolean True on successfully adding an attachment
+ *
+ * @return bool True on successfully adding an attachment
*/
public function addStringEmbeddedImage(
$string,
@@ -3081,12 +3337,12 @@ public function addStringEmbeddedImage(
$disposition = 'inline'
) {
// If a MIME type is not specified, try to work it out from the name
- if ($type == '' and !empty($name)) {
- $type = self::filenameToType($name);
+ if ('' == $type and !empty($name)) {
+ $type = static::filenameToType($name);
}
// Append to $attachment array
- $this->attachment[] = array(
+ $this->attachment[] = [
0 => $string,
1 => $name,
2 => $name,
@@ -3094,43 +3350,66 @@ public function addStringEmbeddedImage(
4 => $type,
5 => true, // isStringAttachment
6 => $disposition,
- 7 => $cid
- );
+ 7 => $cid,
+ ];
+
return true;
}
+ /**
+ * Check if an embedded attachment is present with this cid.
+ *
+ * @param string $cid
+ *
+ * @return bool
+ */
+ protected function cidExists($cid)
+ {
+ foreach ($this->attachment as $attachment) {
+ if ('inline' == $attachment[6] and $cid == $attachment[7]) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
/**
* Check if an inline attachment is present.
- * @access public
- * @return boolean
+ *
+ * @return bool
*/
public function inlineImageExists()
{
foreach ($this->attachment as $attachment) {
- if ($attachment[6] == 'inline') {
+ if ('inline' == $attachment[6]) {
return true;
}
}
+
return false;
}
/**
* Check if an attachment (non-inline) is present.
- * @return boolean
+ *
+ * @return bool
*/
public function attachmentExists()
{
foreach ($this->attachment as $attachment) {
- if ($attachment[6] == 'attachment') {
+ if ('attachment' == $attachment[6]) {
return true;
}
}
+
return false;
}
/**
* Check if this message has an alternative body set.
- * @return boolean
+ *
+ * @return bool
*/
public function alternativeExists()
{
@@ -3139,115 +3418,106 @@ public function alternativeExists()
/**
* Clear queued addresses of given kind.
- * @access protected
+ *
* @param string $kind 'to', 'cc', or 'bcc'
- * @return void
*/
public function clearQueuedAddresses($kind)
{
- $RecipientsQueue = $this->RecipientsQueue;
- foreach ($RecipientsQueue as $address => $params) {
- if ($params[0] == $kind) {
- unset($this->RecipientsQueue[$address]);
+ $this->RecipientsQueue = array_filter(
+ $this->RecipientsQueue,
+ function ($params) use ($kind) {
+ return $params[0] != $kind;
}
- }
+ );
}
/**
* Clear all To recipients.
- * @return void
*/
public function clearAddresses()
{
foreach ($this->to as $to) {
unset($this->all_recipients[strtolower($to[0])]);
}
- $this->to = array();
+ $this->to = [];
$this->clearQueuedAddresses('to');
}
/**
* Clear all CC recipients.
- * @return void
*/
public function clearCCs()
{
foreach ($this->cc as $cc) {
unset($this->all_recipients[strtolower($cc[0])]);
}
- $this->cc = array();
+ $this->cc = [];
$this->clearQueuedAddresses('cc');
}
/**
* Clear all BCC recipients.
- * @return void
*/
public function clearBCCs()
{
foreach ($this->bcc as $bcc) {
unset($this->all_recipients[strtolower($bcc[0])]);
}
- $this->bcc = array();
+ $this->bcc = [];
$this->clearQueuedAddresses('bcc');
}
/**
* Clear all ReplyTo recipients.
- * @return void
*/
public function clearReplyTos()
{
- $this->ReplyTo = array();
- $this->ReplyToQueue = array();
+ $this->ReplyTo = [];
+ $this->ReplyToQueue = [];
}
/**
* Clear all recipient types.
- * @return void
*/
public function clearAllRecipients()
{
- $this->to = array();
- $this->cc = array();
- $this->bcc = array();
- $this->all_recipients = array();
- $this->RecipientsQueue = array();
+ $this->to = [];
+ $this->cc = [];
+ $this->bcc = [];
+ $this->all_recipients = [];
+ $this->RecipientsQueue = [];
}
/**
* Clear all filesystem, string, and binary attachments.
- * @return void
*/
public function clearAttachments()
{
- $this->attachment = array();
+ $this->attachment = [];
}
/**
* Clear all custom headers.
- * @return void
*/
public function clearCustomHeaders()
{
- $this->CustomHeader = array();
+ $this->CustomHeader = [];
}
/**
* Add an error message to the error container.
- * @access protected
+ *
* @param string $msg
- * @return void
*/
protected function setError($msg)
{
- $this->error_count++;
- if ($this->Mailer == 'smtp' and !is_null($this->smtp)) {
+ ++$this->error_count;
+ if ('smtp' == $this->Mailer and null !== $this->smtp) {
$lasterror = $this->smtp->getError();
if (!empty($lasterror['error'])) {
$msg .= $this->lang('smtp_error') . $lasterror['error'];
if (!empty($lasterror['detail'])) {
- $msg .= ' Detail: '. $lasterror['detail'];
+ $msg .= ' Detail: ' . $lasterror['detail'];
}
if (!empty($lasterror['smtp_code'])) {
$msg .= ' SMTP code: ' . $lasterror['smtp_code'];
@@ -3262,43 +3532,83 @@ protected function setError($msg)
/**
* Return an RFC 822 formatted date.
- * @access public
+ *
* @return string
- * @static
*/
public static function rfcDate()
{
// Set the time zone to whatever the default is to avoid 500 errors
// Will default to UTC if it's not set properly in php.ini
date_default_timezone_set(@date_default_timezone_get());
+
return date('D, j M Y H:i:s O');
}
/**
* Get the server hostname.
* Returns 'localhost.localdomain' if unknown.
- * @access protected
+ *
* @return string
*/
protected function serverHostname()
{
- $result = 'localhost.localdomain';
+ $result = '';
if (!empty($this->Hostname)) {
$result = $this->Hostname;
- } elseif (isset($_SERVER) and array_key_exists('SERVER_NAME', $_SERVER) and !empty($_SERVER['SERVER_NAME'])) {
+ } elseif (isset($_SERVER) and array_key_exists('SERVER_NAME', $_SERVER)) {
$result = $_SERVER['SERVER_NAME'];
- } elseif (function_exists('gethostname') && gethostname() !== false) {
+ } elseif (function_exists('gethostname') and gethostname() !== false) {
$result = gethostname();
} elseif (php_uname('n') !== false) {
$result = php_uname('n');
}
+ if (!static::isValidHost($result)) {
+ return 'localhost.localdomain';
+ }
+
return $result;
}
+ /**
+ * Validate whether a string contains a valid value to use as a hostname or IP address.
+ * IPv6 addresses must include [], e.g. `[::1]`, not just `::1`.
+ *
+ * @param string $host The host name or IP address to check
+ *
+ * @return bool
+ */
+ public static function isValidHost($host)
+ {
+ //Simple syntax limits
+ if (empty($host)
+ or !is_string($host)
+ or strlen($host) > 256
+ ) {
+ return false;
+ }
+ //Looks like a bracketed IPv6 address
+ if (trim($host, '[]') != $host) {
+ return (bool) filter_var(trim($host, '[]'), FILTER_VALIDATE_IP, FILTER_FLAG_IPV6);
+ }
+ //If removing all the dots results in a numeric string, it must be an IPv4 address.
+ //Need to check this first because otherwise things like `999.0.0.0` are considered valid host names
+ if (is_numeric(str_replace('.', '', $host))) {
+ //Is it a valid IPv4 address?
+ return (bool) filter_var($host, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4);
+ }
+ if (filter_var('http://' . $host, FILTER_VALIDATE_URL, FILTER_FLAG_HOST_REQUIRED)) {
+ //Is it a syntactically valid hostname?
+ return true;
+ }
+
+ return false;
+ }
+
/**
* Get an error message in the current language.
- * @access protected
+ *
* @param string $key
+ *
* @return string
*/
protected function lang($key)
@@ -3308,68 +3618,51 @@ protected function lang($key)
}
if (array_key_exists($key, $this->language)) {
- if ($key == 'smtp_connect_failed') {
+ if ('smtp_connect_failed' == $key) {
//Include a link to troubleshooting docs on SMTP connection failure
//this is by far the biggest cause of support questions
//but it's usually not PHPMailer's fault.
return $this->language[$key] . ' https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting';
}
+
return $this->language[$key];
- } else {
- //Return the key as a fallback
- return $key;
}
+
+ //Return the key as a fallback
+ return $key;
}
/**
* Check if an error occurred.
- * @access public
- * @return boolean True if an error did occur.
+ *
+ * @return bool True if an error did occur
*/
public function isError()
{
- return ($this->error_count > 0);
- }
-
- /**
- * Ensure consistent line endings in a string.
- * Changes every end of line from CRLF, CR or LF to $this->LE.
- * @access public
- * @param string $str String to fixEOL
- * @return string
- */
- public function fixEOL($str)
- {
- // Normalise to \n
- $nstr = str_replace(array("\r\n", "\r"), "\n", $str);
- // Now convert LE as needed
- if ($this->LE !== "\n") {
- $nstr = str_replace("\n", $this->LE, $nstr);
- }
- return $nstr;
+ return $this->error_count > 0;
}
/**
* Add a custom header.
* $name value can be overloaded to contain
- * both header name and value (name:value)
- * @access public
- * @param string $name Custom header name
- * @param string $value Header value
- * @return void
+ * both header name and value (name:value).
+ *
+ * @param string $name Custom header name
+ * @param string|null $value Header value
*/
public function addCustomHeader($name, $value = null)
{
- if ($value === null) {
+ if (null === $value) {
// Value passed in as name:value
$this->CustomHeader[] = explode(':', $name, 2);
} else {
- $this->CustomHeader[] = array($name, $value);
+ $this->CustomHeader[] = [$name, $value];
}
}
/**
* Returns all custom headers.
+ *
* @return array
*/
public function getCustomHeaders()
@@ -3385,58 +3678,69 @@ public function getCustomHeaders()
* $basedir is prepended when handling relative URLs, e.g. and must not be empty
* will look for an image file in $basedir/images/a.png and convert it to inline.
* If you don't provide a $basedir, relative paths will be left untouched (and thus probably break in email)
+ * Converts data-uri images into embedded attachments.
* If you don't want to apply these transformations to your HTML, just set Body and AltBody directly.
- * @access public
- * @param string $message HTML message string
- * @param string $basedir Absolute path to a base directory to prepend to relative paths to images
- * @param boolean|callable $advanced Whether to use the internal HTML to text converter
- * or your own custom converter @see PHPMailer::html2text()
+ *
+ * @param string $message HTML message string
+ * @param string $basedir Absolute path to a base directory to prepend to relative paths to images
+ * @param bool|callable $advanced Whether to use the internal HTML to text converter
+ * or your own custom converter @see PHPMailer::html2text()
+ *
* @return string $message The transformed message Body
*/
public function msgHTML($message, $basedir = '', $advanced = false)
{
preg_match_all('/(src|background)=["\'](.*)["\']/Ui', $message, $images);
if (array_key_exists(2, $images)) {
- if (strlen($basedir) > 1 && substr($basedir, -1) != '/') {
+ if (strlen($basedir) > 1 && '/' != substr($basedir, -1)) {
// Ensure $basedir has a trailing /
$basedir .= '/';
}
foreach ($images[2] as $imgindex => $url) {
// Convert data URIs into embedded images
- if (preg_match('#^data:(image[^;,]*)(;base64)?,#', $url, $match)) {
- $data = substr($url, strpos($url, ','));
- if ($match[2]) {
- $data = base64_decode($data);
+ //e.g. "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
+ if (preg_match('#^data:(image/(?:jpe?g|gif|png));?(base64)?,(.+)#', $url, $match)) {
+ if (count($match) == 4 and 'base64' == $match[2]) {
+ $data = base64_decode($match[3]);
+ } elseif ('' == $match[2]) {
+ $data = rawurldecode($match[3]);
} else {
- $data = rawurldecode($data);
+ //Not recognised so leave it alone
+ continue;
}
- $cid = md5($url) . '@phpmailer.0'; // RFC2392 S 2
- if ($this->addStringEmbeddedImage($data, $cid, 'embed' . $imgindex, 'base64', $match[1])) {
- $message = str_replace(
- $images[0][$imgindex],
- $images[1][$imgindex] . '="cid:' . $cid . '"',
- $message
- );
+ //Hash the decoded data, not the URL so that the same data-URI image used in multiple places
+ //will only be embedded once, even if it used a different encoding
+ $cid = hash('sha256', $data) . '@phpmailer.0'; // RFC2392 S 2
+
+ if (!$this->cidExists($cid)) {
+ $this->addStringEmbeddedImage($data, $cid, 'embed' . $imgindex, 'base64', $match[1]);
}
+ $message = str_replace(
+ $images[0][$imgindex],
+ $images[1][$imgindex] . '="cid:' . $cid . '"',
+ $message
+ );
continue;
}
- if (
- // Only process relative URLs if a basedir is provided (i.e. no absolute local paths)
+ if (// Only process relative URLs if a basedir is provided (i.e. no absolute local paths)
!empty($basedir)
// Ignore URLs containing parent dir traversal (..)
- && (strpos($url, '..') === false)
+ and (strpos($url, '..') === false)
// Do not change urls that are already inline images
- && substr($url, 0, 4) !== 'cid:'
+ and 0 !== strpos($url, 'cid:')
// Do not change absolute URLs, including anonymous protocol
- && !preg_match('#^[a-z][a-z0-9+.-]*:?//#i', $url)
+ and !preg_match('#^[a-z][a-z0-9+.-]*:?//#i', $url)
) {
$filename = basename($url);
$directory = dirname($url);
- if ($directory == '.') {
+ if ('.' == $directory) {
$directory = '';
}
- $cid = md5($url) . '@phpmailer.0'; // RFC2392 S 2
- if (strlen($directory) > 1 && substr($directory, -1) != '/') {
+ $cid = hash('sha256', $url) . '@phpmailer.0'; // RFC2392 S 2
+ if (strlen($basedir) > 1 and '/' != substr($basedir, -1)) {
+ $basedir .= '/';
+ }
+ if (strlen($directory) > 1 and '/' != substr($directory, -1)) {
$directory .= '/';
}
if ($this->addEmbeddedImage(
@@ -3444,7 +3748,7 @@ public function msgHTML($message, $basedir = '', $advanced = false)
$cid,
$filename,
'base64',
- self::_mime_types((string)self::mb_pathinfo($filename, PATHINFO_EXTENSION))
+ static::_mime_types((string) static::mb_pathinfo($filename, PATHINFO_EXTENSION))
)
) {
$message = preg_replace(
@@ -3457,13 +3761,14 @@ public function msgHTML($message, $basedir = '', $advanced = false)
}
}
$this->isHTML(true);
- // Convert all message body line breaks to CRLF, makes quoted-printable encoding work much better
- $this->Body = $this->normalizeBreaks($message);
- $this->AltBody = $this->normalizeBreaks($this->html2text($message, $advanced));
+ // Convert all message body line breaks to LE, makes quoted-printable encoding work much better
+ $this->Body = static::normalizeBreaks($message);
+ $this->AltBody = static::normalizeBreaks($this->html2text($message, $advanced));
if (!$this->alternativeExists()) {
- $this->AltBody = 'To view this email message, open it in a program that understands HTML!' .
- self::CRLF . self::CRLF;
+ $this->AltBody = 'This is an HTML-only message. To view it, activate HTML in your email application.'
+ . static::$LE;
}
+
return $this->Body;
}
@@ -3471,9 +3776,10 @@ public function msgHTML($message, $basedir = '', $advanced = false)
* Convert an HTML string into plain text.
* This is used by msgHTML().
* Note - older versions of this function used a bundled advanced converter
- * which was been removed for license reasons in #232.
+ * which was removed for license reasons in #232.
* Example usage:
- *
+ *
+ * ```php
* // Use default conversion
* $plain = $mail->html2text($html);
* // Use your own custom converter
@@ -3481,10 +3787,12 @@ public function msgHTML($message, $basedir = '', $advanced = false)
* $converter = new MyHtml2text($html);
* return $converter->get_text();
* });
- *
- * @param string $html The HTML text to convert
- * @param boolean|callable $advanced Any boolean value to use the internal converter,
- * or provide your own callable for custom conversion.
+ * ```
+ *
+ * @param string $html The HTML text to convert
+ * @param bool|callable $advanced Any boolean value to use the internal converter,
+ * or provide your own callable for custom conversion
+ *
* @return string
*/
public function html2text($html, $advanced = false)
@@ -3492,6 +3800,7 @@ public function html2text($html, $advanced = false)
if (is_callable($advanced)) {
return call_user_func($advanced, $html);
}
+
return html_entity_decode(
trim(strip_tags(preg_replace('/<(head|title|style|script)[^>]*>.*?<\/\\1>/si', '', $html))),
ENT_QUOTES,
@@ -3501,125 +3810,141 @@ public function html2text($html, $advanced = false)
/**
* Get the MIME type for a file extension.
+ *
* @param string $ext File extension
- * @access public
- * @return string MIME type of file.
- * @static
+ *
+ * @return string MIME type of file
*/
public static function _mime_types($ext = '')
{
- $mimes = array(
- 'xl' => 'application/excel',
- 'js' => 'application/javascript',
- 'hqx' => 'application/mac-binhex40',
- 'cpt' => 'application/mac-compactpro',
- 'bin' => 'application/macbinary',
- 'doc' => 'application/msword',
- 'word' => 'application/msword',
- 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
- 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
- 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
- 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
- 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
- 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide',
- 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
- 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
- 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12',
- 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
+ $mimes = [
+ 'xl' => 'application/excel',
+ 'js' => 'application/javascript',
+ 'hqx' => 'application/mac-binhex40',
+ 'cpt' => 'application/mac-compactpro',
+ 'bin' => 'application/macbinary',
+ 'doc' => 'application/msword',
+ 'word' => 'application/msword',
+ 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
+ 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
+ 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
+ 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
+ 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
+ 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide',
+ 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
+ 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
+ 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12',
+ 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
'class' => 'application/octet-stream',
- 'dll' => 'application/octet-stream',
- 'dms' => 'application/octet-stream',
- 'exe' => 'application/octet-stream',
- 'lha' => 'application/octet-stream',
- 'lzh' => 'application/octet-stream',
- 'psd' => 'application/octet-stream',
- 'sea' => 'application/octet-stream',
- 'so' => 'application/octet-stream',
- 'oda' => 'application/oda',
- 'pdf' => 'application/pdf',
- 'ai' => 'application/postscript',
- 'eps' => 'application/postscript',
- 'ps' => 'application/postscript',
- 'smi' => 'application/smil',
- 'smil' => 'application/smil',
- 'mif' => 'application/vnd.mif',
- 'xls' => 'application/vnd.ms-excel',
- 'ppt' => 'application/vnd.ms-powerpoint',
+ 'dll' => 'application/octet-stream',
+ 'dms' => 'application/octet-stream',
+ 'exe' => 'application/octet-stream',
+ 'lha' => 'application/octet-stream',
+ 'lzh' => 'application/octet-stream',
+ 'psd' => 'application/octet-stream',
+ 'sea' => 'application/octet-stream',
+ 'so' => 'application/octet-stream',
+ 'oda' => 'application/oda',
+ 'pdf' => 'application/pdf',
+ 'ai' => 'application/postscript',
+ 'eps' => 'application/postscript',
+ 'ps' => 'application/postscript',
+ 'smi' => 'application/smil',
+ 'smil' => 'application/smil',
+ 'mif' => 'application/vnd.mif',
+ 'xls' => 'application/vnd.ms-excel',
+ 'ppt' => 'application/vnd.ms-powerpoint',
'wbxml' => 'application/vnd.wap.wbxml',
- 'wmlc' => 'application/vnd.wap.wmlc',
- 'dcr' => 'application/x-director',
- 'dir' => 'application/x-director',
- 'dxr' => 'application/x-director',
- 'dvi' => 'application/x-dvi',
- 'gtar' => 'application/x-gtar',
- 'php3' => 'application/x-httpd-php',
- 'php4' => 'application/x-httpd-php',
- 'php' => 'application/x-httpd-php',
+ 'wmlc' => 'application/vnd.wap.wmlc',
+ 'dcr' => 'application/x-director',
+ 'dir' => 'application/x-director',
+ 'dxr' => 'application/x-director',
+ 'dvi' => 'application/x-dvi',
+ 'gtar' => 'application/x-gtar',
+ 'php3' => 'application/x-httpd-php',
+ 'php4' => 'application/x-httpd-php',
+ 'php' => 'application/x-httpd-php',
'phtml' => 'application/x-httpd-php',
- 'phps' => 'application/x-httpd-php-source',
- 'swf' => 'application/x-shockwave-flash',
- 'sit' => 'application/x-stuffit',
- 'tar' => 'application/x-tar',
- 'tgz' => 'application/x-tar',
- 'xht' => 'application/xhtml+xml',
+ 'phps' => 'application/x-httpd-php-source',
+ 'swf' => 'application/x-shockwave-flash',
+ 'sit' => 'application/x-stuffit',
+ 'tar' => 'application/x-tar',
+ 'tgz' => 'application/x-tar',
+ 'xht' => 'application/xhtml+xml',
'xhtml' => 'application/xhtml+xml',
- 'zip' => 'application/zip',
- 'mid' => 'audio/midi',
- 'midi' => 'audio/midi',
- 'mp2' => 'audio/mpeg',
- 'mp3' => 'audio/mpeg',
- 'mpga' => 'audio/mpeg',
- 'aif' => 'audio/x-aiff',
- 'aifc' => 'audio/x-aiff',
- 'aiff' => 'audio/x-aiff',
- 'ram' => 'audio/x-pn-realaudio',
- 'rm' => 'audio/x-pn-realaudio',
- 'rpm' => 'audio/x-pn-realaudio-plugin',
- 'ra' => 'audio/x-realaudio',
- 'wav' => 'audio/x-wav',
- 'bmp' => 'image/bmp',
- 'gif' => 'image/gif',
- 'jpeg' => 'image/jpeg',
- 'jpe' => 'image/jpeg',
- 'jpg' => 'image/jpeg',
- 'png' => 'image/png',
- 'tiff' => 'image/tiff',
- 'tif' => 'image/tiff',
- 'eml' => 'message/rfc822',
- 'css' => 'text/css',
- 'html' => 'text/html',
- 'htm' => 'text/html',
+ 'zip' => 'application/zip',
+ 'mid' => 'audio/midi',
+ 'midi' => 'audio/midi',
+ 'mp2' => 'audio/mpeg',
+ 'mp3' => 'audio/mpeg',
+ 'm4a' => 'audio/mp4',
+ 'mpga' => 'audio/mpeg',
+ 'aif' => 'audio/x-aiff',
+ 'aifc' => 'audio/x-aiff',
+ 'aiff' => 'audio/x-aiff',
+ 'ram' => 'audio/x-pn-realaudio',
+ 'rm' => 'audio/x-pn-realaudio',
+ 'rpm' => 'audio/x-pn-realaudio-plugin',
+ 'ra' => 'audio/x-realaudio',
+ 'wav' => 'audio/x-wav',
+ 'mka' => 'audio/x-matroska',
+ 'bmp' => 'image/bmp',
+ 'gif' => 'image/gif',
+ 'jpeg' => 'image/jpeg',
+ 'jpe' => 'image/jpeg',
+ 'jpg' => 'image/jpeg',
+ 'png' => 'image/png',
+ 'tiff' => 'image/tiff',
+ 'tif' => 'image/tiff',
+ 'webp' => 'image/webp',
+ 'heif' => 'image/heif',
+ 'heifs' => 'image/heif-sequence',
+ 'heic' => 'image/heic',
+ 'heics' => 'image/heic-sequence',
+ 'eml' => 'message/rfc822',
+ 'css' => 'text/css',
+ 'html' => 'text/html',
+ 'htm' => 'text/html',
'shtml' => 'text/html',
- 'log' => 'text/plain',
- 'text' => 'text/plain',
- 'txt' => 'text/plain',
- 'rtx' => 'text/richtext',
- 'rtf' => 'text/rtf',
- 'vcf' => 'text/vcard',
+ 'log' => 'text/plain',
+ 'text' => 'text/plain',
+ 'txt' => 'text/plain',
+ 'rtx' => 'text/richtext',
+ 'rtf' => 'text/rtf',
+ 'vcf' => 'text/vcard',
'vcard' => 'text/vcard',
- 'xml' => 'text/xml',
- 'xsl' => 'text/xml',
- 'mpeg' => 'video/mpeg',
- 'mpe' => 'video/mpeg',
- 'mpg' => 'video/mpeg',
- 'mov' => 'video/quicktime',
- 'qt' => 'video/quicktime',
- 'rv' => 'video/vnd.rn-realvideo',
- 'avi' => 'video/x-msvideo',
- 'movie' => 'video/x-sgi-movie'
- );
- if (array_key_exists(strtolower($ext), $mimes)) {
- return $mimes[strtolower($ext)];
+ 'ics' => 'text/calendar',
+ 'xml' => 'text/xml',
+ 'xsl' => 'text/xml',
+ 'wmv' => 'video/x-ms-wmv',
+ 'mpeg' => 'video/mpeg',
+ 'mpe' => 'video/mpeg',
+ 'mpg' => 'video/mpeg',
+ 'mp4' => 'video/mp4',
+ 'm4v' => 'video/mp4',
+ 'mov' => 'video/quicktime',
+ 'qt' => 'video/quicktime',
+ 'rv' => 'video/vnd.rn-realvideo',
+ 'avi' => 'video/x-msvideo',
+ 'movie' => 'video/x-sgi-movie',
+ 'webm' => 'video/webm',
+ 'mkv' => 'video/x-matroska',
+ ];
+ $ext = strtolower($ext);
+ if (array_key_exists($ext, $mimes)) {
+ return $mimes[$ext];
}
+
return 'application/octet-stream';
}
/**
* Map a file name to a MIME type.
* Defaults to 'application/octet-stream', i.e.. arbitrary binary data.
+ *
* @param string $filename A file name or full path, does not need to exist as a file
+ *
* @return string
- * @static
*/
public static function filenameToType($filename)
{
@@ -3628,26 +3953,28 @@ public static function filenameToType($filename)
if (false !== $qpos) {
$filename = substr($filename, 0, $qpos);
}
- $pathinfo = self::mb_pathinfo($filename);
- return self::_mime_types($pathinfo['extension']);
+ $ext = static::mb_pathinfo($filename, PATHINFO_EXTENSION);
+
+ return static::_mime_types($ext);
}
/**
* Multi-byte-safe pathinfo replacement.
- * Drop-in replacement for pathinfo(), but multibyte-safe, cross-platform-safe, old-version-safe.
- * Works similarly to the one in PHP >= 5.2.0
- * @link http://www.php.net/manual/en/function.pathinfo.php#107461
- * @param string $path A filename or path, does not need to exist as a file
- * @param integer|string $options Either a PATHINFO_* constant,
- * or a string name to return only the specified piece, allows 'filename' to work on PHP < 5.2
+ * Drop-in replacement for pathinfo(), but multibyte- and cross-platform-safe.
+ *
+ * @see http://www.php.net/manual/en/function.pathinfo.php#107461
+ *
+ * @param string $path A filename or path, does not need to exist as a file
+ * @param int|string $options Either a PATHINFO_* constant,
+ * or a string name to return only the specified piece
+ *
* @return string|array
- * @static
*/
public static function mb_pathinfo($path, $options = null)
{
- $ret = array('dirname' => '', 'basename' => '', 'extension' => '', 'filename' => '');
- $pathinfo = array();
- if (preg_match('%^(.*?)[\\\\/]*(([^/\\\\]*?)(\.([^\.\\\\/]+?)|))[\\\\/\.]*$%im', $path, $pathinfo)) {
+ $ret = ['dirname' => '', 'basename' => '', 'extension' => '', 'filename' => ''];
+ $pathinfo = [];
+ if (preg_match('#^(.*?)[\\\\/]*(([^/\\\\]*?)(\.([^\.\\\\/]+?)|))[\\\\/\.]*$#im', $path, $pathinfo)) {
if (array_key_exists(1, $pathinfo)) {
$ret['dirname'] = $pathinfo[1];
}
@@ -3686,56 +4013,88 @@ public static function mb_pathinfo($path, $options = null)
* Usage Example:
* `$mail->set('SMTPSecure', 'tls');`
* is the same as:
- * `$mail->SMTPSecure = 'tls';`
- * @access public
- * @param string $name The property name to set
- * @param mixed $value The value to set the property to
- * @return boolean
- * @TODO Should this not be using the __set() magic function?
+ * `$mail->SMTPSecure = 'tls';`.
+ *
+ * @param string $name The property name to set
+ * @param mixed $value The value to set the property to
+ *
+ * @return bool
*/
public function set($name, $value = '')
{
if (property_exists($this, $name)) {
$this->$name = $value;
+
return true;
- } else {
- $this->setError($this->lang('variable_set') . $name);
- return false;
}
+ $this->setError($this->lang('variable_set') . $name);
+
+ return false;
}
/**
* Strip newlines to prevent header injection.
- * @access public
+ *
* @param string $str
+ *
* @return string
*/
public function secureHeader($str)
{
- return trim(str_replace(array("\r", "\n"), '', $str));
+ return trim(str_replace(["\r", "\n"], '', $str));
}
/**
* Normalize line breaks in a string.
* Converts UNIX LF, Mac CR and Windows CRLF line breaks into a single line break format.
* Defaults to CRLF (for message bodies) and preserves consecutive breaks.
+ *
* @param string $text
- * @param string $breaktype What kind of line break to use, defaults to CRLF
+ * @param string $breaktype What kind of line break to use; defaults to static::$LE
+ *
+ * @return string
+ */
+ public static function normalizeBreaks($text, $breaktype = null)
+ {
+ if (null === $breaktype) {
+ $breaktype = static::$LE;
+ }
+ // Normalise to \n
+ $text = str_replace(["\r\n", "\r"], "\n", $text);
+ // Now convert LE as needed
+ if ("\n" !== $breaktype) {
+ $text = str_replace("\n", $breaktype, $text);
+ }
+
+ return $text;
+ }
+
+ /**
+ * Return the current line break format string.
+ *
* @return string
- * @access public
- * @static
*/
- public static function normalizeBreaks($text, $breaktype = "\r\n")
+ public static function getLE()
+ {
+ return static::$LE;
+ }
+
+ /**
+ * Set the line break format string, e.g. "\r\n".
+ *
+ * @param string $le
+ */
+ protected static function setLE($le)
{
- return preg_replace('/(\r\n|\r|\n)/ms', $breaktype, $text);
+ static::$LE = $le;
}
/**
* Set the public and private key files and password for S/MIME signing.
- * @access public
+ *
* @param string $cert_filename
* @param string $key_filename
- * @param string $key_pass Password for private key
+ * @param string $key_pass Password for private key
* @param string $extracerts_filename Optional path to chain certificate
*/
public function sign($cert_filename, $key_filename, $key_pass, $extracerts_filename = '')
@@ -3748,118 +4107,135 @@ public function sign($cert_filename, $key_filename, $key_pass, $extracerts_filen
/**
* Quoted-Printable-encode a DKIM header.
- * @access public
+ *
* @param string $txt
+ *
* @return string
*/
public function DKIM_QP($txt)
{
$line = '';
- for ($i = 0; $i < strlen($txt); $i++) {
+ $len = strlen($txt);
+ for ($i = 0; $i < $len; ++$i) {
$ord = ord($txt[$i]);
- if (((0x21 <= $ord) && ($ord <= 0x3A)) || $ord == 0x3C || ((0x3E <= $ord) && ($ord <= 0x7E))) {
+ if (((0x21 <= $ord) and ($ord <= 0x3A)) or $ord == 0x3C or ((0x3E <= $ord) and ($ord <= 0x7E))) {
$line .= $txt[$i];
} else {
$line .= '=' . sprintf('%02X', $ord);
}
}
+
return $line;
}
/**
* Generate a DKIM signature.
- * @access public
+ *
* @param string $signHeader
- * @throws phpmailerException
+ *
+ * @throws Exception
+ *
* @return string The DKIM signature value
*/
public function DKIM_Sign($signHeader)
{
if (!defined('PKCS7_TEXT')) {
if ($this->exceptions) {
- throw new phpmailerException($this->lang('extension_missing') . 'openssl');
+ throw new Exception($this->lang('extension_missing') . 'openssl');
}
+
return '';
}
- $privKeyStr = !empty($this->DKIM_private_string) ? $this->DKIM_private_string : file_get_contents($this->DKIM_private);
+ $privKeyStr = !empty($this->DKIM_private_string) ?
+ $this->DKIM_private_string :
+ file_get_contents($this->DKIM_private);
if ('' != $this->DKIM_passphrase) {
$privKey = openssl_pkey_get_private($privKeyStr, $this->DKIM_passphrase);
} else {
$privKey = openssl_pkey_get_private($privKeyStr);
}
- //Workaround for missing digest algorithms in old PHP & OpenSSL versions
- //@link http://stackoverflow.com/a/11117338/333340
- if (version_compare(PHP_VERSION, '5.3.0') >= 0 and
- in_array('sha256WithRSAEncryption', openssl_get_md_methods(true))) {
- if (openssl_sign($signHeader, $signature, $privKey, 'sha256WithRSAEncryption')) {
- openssl_pkey_free($privKey);
- return base64_encode($signature);
- }
- } else {
- $pinfo = openssl_pkey_get_details($privKey);
- $hash = hash('sha256', $signHeader);
- //'Magic' constant for SHA256 from RFC3447
- //@link https://tools.ietf.org/html/rfc3447#page-43
- $t = '3031300d060960864801650304020105000420' . $hash;
- $pslen = $pinfo['bits'] / 8 - (strlen($t) / 2 + 3);
- $eb = pack('H*', '0001' . str_repeat('FF', $pslen) . '00' . $t);
+ if (openssl_sign($signHeader, $signature, $privKey, 'sha256WithRSAEncryption')) {
+ openssl_pkey_free($privKey);
- if (openssl_private_encrypt($eb, $signature, $privKey, OPENSSL_NO_PADDING)) {
- openssl_pkey_free($privKey);
- return base64_encode($signature);
- }
+ return base64_encode($signature);
}
openssl_pkey_free($privKey);
+
return '';
}
/**
* Generate a DKIM canonicalization header.
- * @access public
+ * Uses the 'relaxed' algorithm from RFC6376 section 3.4.2.
+ * Canonicalized headers should *always* use CRLF, regardless of mailer setting.
+ *
+ * @see https://tools.ietf.org/html/rfc6376#section-3.4.2
+ *
* @param string $signHeader Header
+ *
* @return string
*/
public function DKIM_HeaderC($signHeader)
{
- $signHeader = preg_replace('/\r\n\s+/', ' ', $signHeader);
+ //Unfold all header continuation lines
+ //Also collapses folded whitespace.
+ //Note PCRE \s is too broad a definition of whitespace; RFC5322 defines it as `[ \t]`
+ //@see https://tools.ietf.org/html/rfc5322#section-2.2
+ //That means this may break if you do something daft like put vertical tabs in your headers.
+ $signHeader = preg_replace('/\r\n[ \t]+/', ' ', $signHeader);
$lines = explode("\r\n", $signHeader);
foreach ($lines as $key => $line) {
+ //If the header is missing a :, skip it as it's invalid
+ //This is likely to happen because the explode() above will also split
+ //on the trailing LE, leaving an empty line
+ if (strpos($line, ':') === false) {
+ continue;
+ }
list($heading, $value) = explode(':', $line, 2);
+ //Lower-case header name
$heading = strtolower($heading);
- $value = preg_replace('/\s{2,}/', ' ', $value); // Compress useless spaces
- $lines[$key] = $heading . ':' . trim($value); // Don't forget to remove WSP around the value
+ //Collapse white space within the value
+ $value = preg_replace('/[ \t]{2,}/', ' ', $value);
+ //RFC6376 is slightly unclear here - it says to delete space at the *end* of each value
+ //But then says to delete space before and after the colon.
+ //Net result is the same as trimming both ends of the value.
+ //by elimination, the same applies to the field name
+ $lines[$key] = trim($heading, " \t") . ':' . trim($value, " \t");
}
- $signHeader = implode("\r\n", $lines);
- return $signHeader;
+
+ return implode("\r\n", $lines);
}
/**
* Generate a DKIM canonicalization body.
- * @access public
+ * Uses the 'simple' algorithm from RFC6376 section 3.4.3.
+ * Canonicalized bodies should *always* use CRLF, regardless of mailer setting.
+ *
+ * @see https://tools.ietf.org/html/rfc6376#section-3.4.3
+ *
* @param string $body Message Body
+ *
* @return string
*/
public function DKIM_BodyC($body)
{
- if ($body == '') {
+ if (empty($body)) {
return "\r\n";
}
- // stabilize line endings
- $body = str_replace("\r\n", "\n", $body);
- $body = str_replace("\n", "\r\n", $body);
- // END stabilize line endings
- while (substr($body, strlen($body) - 4, 4) == "\r\n\r\n") {
- $body = substr($body, 0, strlen($body) - 2);
- }
- return $body;
+ // Normalize line endings to CRLF
+ $body = static::normalizeBreaks($body, "\r\n");
+
+ //Reduce multiple trailing line breaks to a single one
+ return rtrim($body, "\r\n") . "\r\n";
}
/**
* Create the DKIM header and body in a new message header.
- * @access public
+ *
* @param string $headers_line Header lines
- * @param string $subject Subject
- * @param string $body Body
+ * @param string $subject Subject
+ * @param string $body Body
+ *
* @return string
*/
public function DKIM_Add($headers_line, $subject, $body)
@@ -3869,7 +4245,7 @@ public function DKIM_Add($headers_line, $subject, $body)
$DKIMquery = 'dns/txt'; // Query method
$DKIMtime = time(); // Signature Timestamp = seconds since 00:00:00 - Jan 1, 1970 (UTC time zone)
$subject_header = "Subject: $subject";
- $headers = explode($this->LE, $headers_line);
+ $headers = explode(static::$LE, $headers_line);
$from_header = '';
$to_header = '';
$date_header = '';
@@ -3885,7 +4261,7 @@ public function DKIM_Add($headers_line, $subject, $body)
$date_header = $header;
$current = 'date_header';
} else {
- if (!empty($$current) && strpos($header, ' =?') === 0) {
+ if (!empty($$current) and strpos($header, ' =?') === 0) {
$$current .= $header;
} else {
$current = '';
@@ -3931,25 +4307,27 @@ public function DKIM_Add($headers_line, $subject, $body)
$dkimhdrs
);
$signed = $this->DKIM_Sign($toSign);
- return $dkimhdrs . $signed . "\r\n";
+
+ return static::normalizeBreaks($dkimhdrs . $signed) . static::$LE;
}
/**
- * Detect if a string contains a line longer than the maximum line length allowed.
+ * Detect if a string contains a line longer than the maximum line length
+ * allowed by RFC 2822 section 2.1.1.
+ *
* @param string $str
- * @return boolean
- * @static
+ *
+ * @return bool
*/
public static function hasLineLongerThanMax($str)
{
- //+2 to include CRLF line break for a 1000 total
- return (boolean)preg_match('/^(.{'.(self::MAX_LINE_LENGTH + 2).',})/m', $str);
+ return (bool) preg_match('/^(.{' . (self::MAX_LINE_LENGTH + strlen(static::$LE)) . ',})/m', $str);
}
/**
* Allows for public read access to 'to' property.
- * @note: Before the send() call, queued addresses (i.e. with IDN) are not yet included.
- * @access public
+ * Before the send() call, queued addresses (i.e. with IDN) are not yet included.
+ *
* @return array
*/
public function getToAddresses()
@@ -3959,8 +4337,8 @@ public function getToAddresses()
/**
* Allows for public read access to 'cc' property.
- * @note: Before the send() call, queued addresses (i.e. with IDN) are not yet included.
- * @access public
+ * Before the send() call, queued addresses (i.e. with IDN) are not yet included.
+ *
* @return array
*/
public function getCcAddresses()
@@ -3970,8 +4348,8 @@ public function getCcAddresses()
/**
* Allows for public read access to 'bcc' property.
- * @note: Before the send() call, queued addresses (i.e. with IDN) are not yet included.
- * @access public
+ * Before the send() call, queued addresses (i.e. with IDN) are not yet included.
+ *
* @return array
*/
public function getBccAddresses()
@@ -3981,8 +4359,8 @@ public function getBccAddresses()
/**
* Allows for public read access to 'ReplyTo' property.
- * @note: Before the send() call, queued addresses (i.e. with IDN) are not yet included.
- * @access public
+ * Before the send() call, queued addresses (i.e. with IDN) are not yet included.
+ *
* @return array
*/
public function getReplyToAddresses()
@@ -3992,8 +4370,8 @@ public function getReplyToAddresses()
/**
* Allows for public read access to 'all_recipients' property.
- * @note: Before the send() call, queued addresses (i.e. with IDN) are not yet included.
- * @access public
+ * Before the send() call, queued addresses (i.e. with IDN) are not yet included.
+ *
* @return array
*/
public function getAllRecipientAddresses()
@@ -4003,36 +4381,40 @@ public function getAllRecipientAddresses()
/**
* Perform a callback.
- * @param boolean $isSent
- * @param array $to
- * @param array $cc
- * @param array $bcc
+ *
+ * @param bool $isSent
+ * @param array $to
+ * @param array $cc
+ * @param array $bcc
* @param string $subject
* @param string $body
* @param string $from
+ * @param array $extra
*/
- protected function doCallback($isSent, $to, $cc, $bcc, $subject, $body, $from)
+ protected function doCallback($isSent, $to, $cc, $bcc, $subject, $body, $from, $extra)
{
- if (!empty($this->action_function) && is_callable($this->action_function)) {
- $params = array($isSent, $to, $cc, $bcc, $subject, $body, $from);
- call_user_func_array($this->action_function, $params);
+ if (!empty($this->action_function) and is_callable($this->action_function)) {
+ call_user_func($this->action_function, $isSent, $to, $cc, $bcc, $subject, $body, $from, $extra);
}
}
-}
-/**
- * PHPMailer exception handler
- * @package PHPMailer
- */
-class phpmailerException extends Exception
-{
/**
- * Prettify error message output
- * @return string
+ * Get the OAuth instance.
+ *
+ * @return OAuth
+ */
+ public function getOAuth()
+ {
+ return $this->oauth;
+ }
+
+ /**
+ * Set an OAuth instance.
+ *
+ * @param OAuth $oauth
*/
- public function errorMessage()
+ public function setOAuth(OAuth $oauth)
{
- $errorMsg = '' . $this->getMessage() . " \n";
- return $errorMsg;
+ $this->oauth = $oauth;
}
}
diff --git a/manager/includes/controls/phpmailer/class.pop3.php b/manager/includes/controls/phpmailer/POP3.php
old mode 100644
new mode 100755
similarity index 62%
rename from manager/includes/controls/phpmailer/class.pop3.php
rename to manager/includes/controls/phpmailer/POP3.php
index c464f90c65..47aa394909
--- a/manager/includes/controls/phpmailer/class.pop3.php
+++ b/manager/includes/controls/phpmailer/POP3.php
@@ -1,141 +1,146 @@
- * @author Jim Jagielski (jimjag)
- * @author Andy Prevost (codeworxtech)
- * @author Brent R. Matzelle (original founder)
- * @copyright 2012 - 2014 Marcus Bointon
+ * PHP Version 5.5.
+ *
+ * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
+ *
+ * @author Marcus Bointon (Synchro/coolbru)
+ * @author Jim Jagielski (jimjag)
+ * @author Andy Prevost (codeworxtech)
+ * @author Brent R. Matzelle (original founder)
+ * @copyright 2012 - 2017 Marcus Bointon
* @copyright 2010 - 2012 Jim Jagielski
* @copyright 2004 - 2009 Andy Prevost
- * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
- * @note This program is distributed in the hope that it will be useful - WITHOUT
+ * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
+ * @note This program is distributed in the hope that it will be useful - WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*/
+namespace PHPMailer\PHPMailer;
+
/**
* PHPMailer POP-Before-SMTP Authentication Class.
* Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication.
- * Does not support APOP.
- * @package PHPMailer
- * @author Richard Davey (original author)
- * @author Marcus Bointon (Synchro/coolbru)
- * @author Jim Jagielski (jimjag)
- * @author Andy Prevost (codeworxtech)
+ * 1) This class does not support APOP authentication.
+ * 2) Opening and closing lots of POP3 connections can be quite slow. If you need
+ * to send a batch of emails then just perform the authentication once at the start,
+ * and then loop through your mail sending script. Providing this process doesn't
+ * take longer than the verification period lasts on your POP3 server, you should be fine.
+ * 3) This is really ancient technology; you should only need to use it to talk to very old systems.
+ * 4) This POP3 class is deliberately lightweight and incomplete, and implements just
+ * enough to do authentication.
+ * If you want a more complete class there are other POP3 classes for PHP available.
+ *
+ * @author Richard Davey (original author)
+ * @author Marcus Bointon (Synchro/coolbru)
+ * @author Jim Jagielski (jimjag)
+ * @author Andy Prevost (codeworxtech)
*/
class POP3
{
/**
* The POP3 PHPMailer Version number.
+ *
* @var string
- * @access public
*/
- public $Version = '5.2.23';
+ const VERSION = '6.0.3';
/**
* Default POP3 port number.
- * @var integer
- * @access public
+ *
+ * @var int
*/
- public $POP3_PORT = 110;
+ const DEFAULT_PORT = 110;
/**
* Default timeout in seconds.
- * @var integer
- * @access public
- */
- public $POP3_TIMEOUT = 30;
-
- /**
- * POP3 Carriage Return + Line Feed.
- * @var string
- * @access public
- * @deprecated Use the constant instead
+ *
+ * @var int
*/
- public $CRLF = "\r\n";
+ const DEFAULT_TIMEOUT = 30;
/**
* Debug display level.
- * Options: 0 = no, 1+ = yes
- * @var integer
- * @access public
+ * Options: 0 = no, 1+ = yes.
+ *
+ * @var int
*/
public $do_debug = 0;
/**
* POP3 mail server hostname.
+ *
* @var string
- * @access public
*/
public $host;
/**
* POP3 port number.
- * @var integer
- * @access public
+ *
+ * @var int
*/
public $port;
/**
* POP3 Timeout Value in seconds.
- * @var integer
- * @access public
+ *
+ * @var int
*/
public $tval;
/**
- * POP3 username
+ * POP3 username.
+ *
* @var string
- * @access public
*/
public $username;
/**
* POP3 password.
+ *
* @var string
- * @access public
*/
public $password;
/**
* Resource handle for the POP3 connection socket.
+ *
* @var resource
- * @access protected
*/
protected $pop_conn;
/**
* Are we connected?
- * @var boolean
- * @access protected
+ *
+ * @var bool
*/
protected $connected = false;
/**
* Error container.
+ *
* @var array
- * @access protected
*/
- protected $errors = array();
+ protected $errors = [];
/**
- * Line break constant
+ * Line break constant.
*/
- const CRLF = "\r\n";
+ const LE = "\r\n";
/**
- * Simple static wrapper for all-in-one POP before SMTP
- * @param $host
- * @param integer|boolean $port The port number to connect to
- * @param integer|boolean $timeout The timeout value
- * @param string $username
- * @param string $password
- * @param integer $debug_level
- * @return boolean
+ * Simple static wrapper for all-in-one POP before SMTP.
+ *
+ * @param string $host The hostname to connect to
+ * @param int|bool $port The port number to connect to
+ * @param int|bool $timeout The timeout value
+ * @param string $username
+ * @param string $password
+ * @param int $debug_level
+ *
+ * @return bool
*/
public static function popBeforeSmtp(
$host,
@@ -145,7 +150,8 @@ public static function popBeforeSmtp(
$password = '',
$debug_level = 0
) {
- $pop = new POP3;
+ $pop = new self();
+
return $pop->authorise($host, $port, $timeout, $username, $password, $debug_level);
}
@@ -153,56 +159,60 @@ public static function popBeforeSmtp(
* Authenticate with a POP3 server.
* A connect, login, disconnect sequence
* appropriate for POP-before SMTP authorisation.
- * @access public
- * @param string $host The hostname to connect to
- * @param integer|boolean $port The port number to connect to
- * @param integer|boolean $timeout The timeout value
- * @param string $username
- * @param string $password
- * @param integer $debug_level
- * @return boolean
+ *
+ * @param string $host The hostname to connect to
+ * @param int|bool $port The port number to connect to
+ * @param int|bool $timeout The timeout value
+ * @param string $username
+ * @param string $password
+ * @param int $debug_level
+ *
+ * @return bool
*/
public function authorise($host, $port = false, $timeout = false, $username = '', $password = '', $debug_level = 0)
{
$this->host = $host;
// If no port value provided, use default
if (false === $port) {
- $this->port = $this->POP3_PORT;
+ $this->port = static::DEFAULT_PORT;
} else {
- $this->port = (integer)$port;
+ $this->port = (int) $port;
}
// If no timeout value provided, use default
if (false === $timeout) {
- $this->tval = $this->POP3_TIMEOUT;
+ $this->tval = static::DEFAULT_TIMEOUT;
} else {
- $this->tval = (integer)$timeout;
+ $this->tval = (int) $timeout;
}
$this->do_debug = $debug_level;
$this->username = $username;
$this->password = $password;
// Reset the error log
- $this->errors = array();
+ $this->errors = [];
// connect
$result = $this->connect($this->host, $this->port, $this->tval);
if ($result) {
$login_result = $this->login($this->username, $this->password);
if ($login_result) {
$this->disconnect();
+
return true;
}
}
// We need to disconnect regardless of whether the login succeeded
$this->disconnect();
+
return false;
}
/**
* Connect to a POP3 server.
- * @access public
- * @param string $host
- * @param integer|boolean $port
- * @param integer $tval
- * @return boolean
+ *
+ * @param string $host
+ * @param int|bool $port
+ * @param int $tval
+ *
+ * @return bool
*/
public function connect($host, $port = false, $tval = 30)
{
@@ -213,10 +223,10 @@ public function connect($host, $port = false, $tval = 30)
//On Windows this will raise a PHP Warning error if the hostname doesn't exist.
//Rather than suppress it with @fsockopen, capture it cleanly instead
- set_error_handler(array($this, 'catchWarning'));
+ set_error_handler([$this, 'catchWarning']);
if (false === $port) {
- $port = $this->POP3_PORT;
+ $port = static::DEFAULT_PORT;
}
// connect to the POP3 server
@@ -233,11 +243,10 @@ public function connect($host, $port = false, $tval = 30)
// Did we connect?
if (false === $this->pop_conn) {
// It would appear not...
- $this->setError(array(
- 'error' => "Failed to connect to server $host on port $port",
- 'errno' => $errno,
- 'errstr' => $errstr
- ));
+ $this->setError(
+ "Failed to connect to server $host on port $port. errno: $errno; errstr: $errstr"
+ );
+
return false;
}
@@ -250,18 +259,21 @@ public function connect($host, $port = false, $tval = 30)
if ($this->checkResponse($pop3_response)) {
// The connection is established and the POP3 server is talking
$this->connected = true;
+
return true;
}
+
return false;
}
/**
* Log in to the POP3 server.
* Does not support APOP (RFC 2828, 4949).
- * @access public
+ *
* @param string $username
* @param string $password
- * @return boolean
+ *
+ * @return bool
*/
public function login($username = '', $password = '')
{
@@ -276,22 +288,22 @@ public function login($username = '', $password = '')
}
// Send the Username
- $this->sendString("USER $username" . self::CRLF);
+ $this->sendString("USER $username" . static::LE);
$pop3_response = $this->getResponse();
if ($this->checkResponse($pop3_response)) {
// Send the Password
- $this->sendString("PASS $password" . self::CRLF);
+ $this->sendString("PASS $password" . static::LE);
$pop3_response = $this->getResponse();
if ($this->checkResponse($pop3_response)) {
return true;
}
}
+
return false;
}
/**
* Disconnect from the POP3 server.
- * @access public
*/
public function disconnect()
{
@@ -302,76 +314,78 @@ public function disconnect()
@fclose($this->pop_conn);
} catch (Exception $e) {
//Do nothing
- };
+ }
}
/**
* Get a response from the POP3 server.
- * $size is the maximum number of bytes to retrieve
- * @param integer $size
+ *
+ * @param int $size The maximum number of bytes to retrieve
+ *
* @return string
- * @access protected
*/
protected function getResponse($size = 128)
{
$response = fgets($this->pop_conn, $size);
if ($this->do_debug >= 1) {
- echo "Server -> Client: $response";
+ echo 'Server -> Client: ', $response;
}
+
return $response;
}
/**
* Send raw data to the POP3 server.
+ *
* @param string $string
- * @return integer
- * @access protected
+ *
+ * @return int
*/
protected function sendString($string)
{
if ($this->pop_conn) {
if ($this->do_debug >= 2) { //Show client messages when debug >= 2
- echo "Client -> Server: $string";
+ echo 'Client -> Server: ', $string;
}
+
return fwrite($this->pop_conn, $string, strlen($string));
}
+
return 0;
}
/**
* Checks the POP3 server response.
* Looks for for +OK or -ERR.
+ *
* @param string $string
- * @return boolean
- * @access protected
+ *
+ * @return bool
*/
protected function checkResponse($string)
{
if (substr($string, 0, 3) !== '+OK') {
- $this->setError(array(
- 'error' => "Server reported an error: $string",
- 'errno' => 0,
- 'errstr' => ''
- ));
+ $this->setError("Server reported an error: $string");
+
return false;
- } else {
- return true;
}
+
+ return true;
}
/**
* Add an error to the internal error store.
* Also display debug output if it's enabled.
- * @param $error
- * @access protected
+ *
+ * @param string $error
*/
protected function setError($error)
{
$this->errors[] = $error;
if ($this->do_debug >= 1) {
echo '';
- foreach ($this->errors as $error) {
- print_r($error);
+ foreach ($this->errors as $e) {
+ print_r($e);
}
echo ' ';
}
@@ -379,6 +393,7 @@ protected function setError($error)
/**
* Get an array of error messages, if any.
+ *
* @return array
*/
public function getErrors()
@@ -388,20 +403,17 @@ public function getErrors()
/**
* POP3 connection error handler.
- * @param integer $errno
+ *
+ * @param int $errno
* @param string $errstr
* @param string $errfile
- * @param integer $errline
- * @access protected
+ * @param int $errline
*/
protected function catchWarning($errno, $errstr, $errfile, $errline)
{
- $this->setError(array(
- 'error' => "Connecting to the POP3 server raised a PHP warning: ",
- 'errno' => $errno,
- 'errstr' => $errstr,
- 'errfile' => $errfile,
- 'errline' => $errline
- ));
+ $this->setError(
+ 'Connecting to the POP3 server raised a PHP warning:' .
+ "errno: $errno errstr: $errstr; errfile: $errfile; errline: $errline"
+ );
}
}
diff --git a/manager/includes/controls/phpmailer/class.smtp.php b/manager/includes/controls/phpmailer/SMTP.php
old mode 100644
new mode 100755
similarity index 70%
rename from manager/includes/controls/phpmailer/class.smtp.php
rename to manager/includes/controls/phpmailer/SMTP.php
index 0ab69ede03..27b752ec30
--- a/manager/includes/controls/phpmailer/class.smtp.php
+++ b/manager/includes/controls/phpmailer/SMTP.php
@@ -1,104 +1,87 @@
- * @author Jim Jagielski (jimjag)
- * @author Andy Prevost (codeworxtech)
- * @author Brent R. Matzelle (original founder)
- * @copyright 2014 Marcus Bointon
+ * PHP Version 5.5.
+ *
+ * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
+ *
+ * @author Marcus Bointon (Synchro/coolbru)
+ * @author Jim Jagielski (jimjag)
+ * @author Andy Prevost (codeworxtech)
+ * @author Brent R. Matzelle (original founder)
+ * @copyright 2012 - 2017 Marcus Bointon
* @copyright 2010 - 2012 Jim Jagielski
* @copyright 2004 - 2009 Andy Prevost
- * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
- * @note This program is distributed in the hope that it will be useful - WITHOUT
+ * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
+ * @note This program is distributed in the hope that it will be useful - WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*/
+namespace PHPMailer\PHPMailer;
+
/**
* PHPMailer RFC821 SMTP email transport class.
* Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server.
- * @package PHPMailer
- * @author Chris Ryan
- * @author Marcus Bointon
+ *
+ * @author Chris Ryan
+ * @author Marcus Bointon
*/
class SMTP
{
/**
* The PHPMailer SMTP version number.
+ *
* @var string
*/
- const VERSION = '5.2.23';
+ const VERSION = '6.0.3';
/**
* SMTP line break constant.
+ *
* @var string
*/
- const CRLF = "\r\n";
+ const LE = "\r\n";
/**
* The SMTP port to use if one is not specified.
- * @var integer
+ *
+ * @var int
*/
- const DEFAULT_SMTP_PORT = 25;
+ const DEFAULT_PORT = 25;
/**
- * The maximum line length allowed by RFC 2822 section 2.1.1
- * @var integer
+ * The maximum line length allowed by RFC 2822 section 2.1.1.
+ *
+ * @var int
*/
const MAX_LINE_LENGTH = 998;
/**
- * Debug level for no output
+ * Debug level for no output.
*/
const DEBUG_OFF = 0;
/**
- * Debug level to show client -> server messages
+ * Debug level to show client -> server messages.
*/
const DEBUG_CLIENT = 1;
/**
- * Debug level to show client -> server and server -> client messages
+ * Debug level to show client -> server and server -> client messages.
*/
const DEBUG_SERVER = 2;
/**
- * Debug level to show connection status, client -> server and server -> client messages
+ * Debug level to show connection status, client -> server and server -> client messages.
*/
const DEBUG_CONNECTION = 3;
/**
- * Debug level to show all messages
+ * Debug level to show all messages.
*/
const DEBUG_LOWLEVEL = 4;
- /**
- * The PHPMailer SMTP Version number.
- * @var string
- * @deprecated Use the `VERSION` constant instead
- * @see SMTP::VERSION
- */
- public $Version = '5.2.23';
-
- /**
- * SMTP server port number.
- * @var integer
- * @deprecated This is only ever used as a default value, so use the `DEFAULT_SMTP_PORT` constant instead
- * @see SMTP::DEFAULT_SMTP_PORT
- */
- public $SMTP_PORT = 25;
-
- /**
- * SMTP reply line ending.
- * @var string
- * @deprecated Use the `CRLF` constant instead
- * @see SMTP::CRLF
- */
- public $CRLF = "\r\n";
-
/**
* Debug output level.
* Options:
@@ -106,8 +89,9 @@ class SMTP
* * self::DEBUG_CLIENT (`1`) Client commands
* * self::DEBUG_SERVER (`2`) Client commands and server responses
* * self::DEBUG_CONNECTION (`3`) As DEBUG_SERVER plus connection status
- * * self::DEBUG_LOWLEVEL (`4`) Low-level data output, all messages
- * @var integer
+ * * self::DEBUG_LOWLEVEL (`4`) Low-level data output, all messages.
+ *
+ * @var int
*/
public $do_debug = self::DEBUG_OFF;
@@ -117,70 +101,99 @@ class SMTP
* * `echo` Output plain-text as-is, appropriate for CLI
* * `html` Output escaped, line breaks converted to ` `, appropriate for browser output
* * `error_log` Output to error log as configured in php.ini
- *
* Alternatively, you can provide a callable expecting two params: a message string and the debug level:
- *
+ *
+ * ```php
* $smtp->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";};
- *
- * @var string|callable
+ * ```
+ *
+ * Alternatively, you can pass in an instance of a PSR-3 compatible logger, though only `debug`
+ * level output is used:
+ *
+ * ```php
+ * $mail->Debugoutput = new myPsr3Logger;
+ * ```
+ *
+ * @var string|callable|\Psr\Log\LoggerInterface
*/
public $Debugoutput = 'echo';
/**
* Whether to use VERP.
- * @link http://en.wikipedia.org/wiki/Variable_envelope_return_path
- * @link http://www.postfix.org/VERP_README.html Info on VERP
- * @var boolean
+ *
+ * @see http://en.wikipedia.org/wiki/Variable_envelope_return_path
+ * @see http://www.postfix.org/VERP_README.html Info on VERP
+ *
+ * @var bool
*/
public $do_verp = false;
/**
* The timeout value for connection, in seconds.
- * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2
+ * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2.
* This needs to be quite high to function correctly with hosts using greetdelay as an anti-spam measure.
- * @link http://tools.ietf.org/html/rfc2821#section-4.5.3.2
- * @var integer
+ *
+ * @see http://tools.ietf.org/html/rfc2821#section-4.5.3.2
+ *
+ * @var int
*/
public $Timeout = 300;
/**
* How long to wait for commands to complete, in seconds.
- * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2
- * @var integer
+ * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2.
+ *
+ * @var int
*/
public $Timelimit = 300;
/**
- * @var array patterns to extract smtp transaction id from smtp reply
- * Only first capture group will be use, use non-capturing group to deal with it
- * Extend this class to override this property to fulfil your needs.
+ * Patterns to extract an SMTP transaction id from reply to a DATA command.
+ * The first capture group in each regex will be used as the ID.
+ * MS ESMTP returns the message ID, which may not be correct for internal tracking.
+ *
+ * @var string[]
*/
- protected $smtp_transaction_id_patterns = array(
+ protected $smtp_transaction_id_patterns = [
'exim' => '/[0-9]{3} OK id=(.*)/',
'sendmail' => '/[0-9]{3} 2.0.0 (.*) Message/',
- 'postfix' => '/[0-9]{3} 2.0.0 Ok: queued as (.*)/'
- );
+ 'postfix' => '/[0-9]{3} 2.0.0 Ok: queued as (.*)/',
+ 'Microsoft_ESMTP' => '/[0-9]{3} 2.[0-9].0 (.*)@(?:.*) Queued mail for delivery/',
+ 'Amazon_SES' => '/[0-9]{3} Ok (.*)/',
+ 'SendGrid' => '/[0-9]{3} Ok: queued as (.*)/',
+ ];
+
+ /**
+ * The last transaction ID issued in response to a DATA command,
+ * if one was detected.
+ *
+ * @var string|bool|null
+ */
+ protected $last_smtp_transaction_id;
/**
* The socket for the server connection.
- * @var resource
+ *
+ * @var ?resource
*/
protected $smtp_conn;
/**
* Error information, if any, for the last SMTP command.
+ *
* @var array
*/
- protected $error = array(
+ protected $error = [
'error' => '',
'detail' => '',
'smtp_code' => '',
- 'smtp_code_ex' => ''
- );
+ 'smtp_code_ex' => '',
+ ];
/**
* The reply the server sent to us for HELO.
* If null, no HELO string has yet been received.
+ *
* @var string|null
*/
protected $helo_rply = null;
@@ -192,32 +205,42 @@ class SMTP
* represents the server name. In case of HELO it is the only element of the array.
* Other values can be boolean TRUE or an array containing extension options.
* If null, no HELO/EHLO string has yet been received.
+ *
* @var array|null
*/
protected $server_caps = null;
/**
* The most recent reply received from the server.
+ *
* @var string
*/
protected $last_reply = '';
/**
* Output debugging info via a user-selected method.
+ *
+ * @param string $str Debug string to output
+ * @param int $level The debug level of this message; see DEBUG_* constants
+ *
* @see SMTP::$Debugoutput
* @see SMTP::$do_debug
- * @param string $str Debug string to output
- * @param integer $level The debug level of this message; see DEBUG_* constants
- * @return void
*/
protected function edebug($str, $level = 0)
{
if ($level > $this->do_debug) {
return;
}
+ //Is this a PSR-3 logger?
+ if ($this->Debugoutput instanceof \Psr\Log\LoggerInterface) {
+ $this->Debugoutput->debug($str);
+
+ return;
+ }
//Avoid clash with built-in function names
- if (!in_array($this->Debugoutput, array('error_log', 'html', 'echo')) and is_callable($this->Debugoutput)) {
+ if (!in_array($this->Debugoutput, ['error_log', 'html', 'echo']) and is_callable($this->Debugoutput)) {
call_user_func($this->Debugoutput, $str, $level);
+
return;
}
switch ($this->Debugoutput) {
@@ -227,39 +250,47 @@ protected function edebug($str, $level = 0)
break;
case 'html':
//Cleans up output a bit for a better looking, HTML-safe output
- echo gmdate('Y-m-d H:i:s') . ' ' . htmlentities(
+ echo gmdate('Y-m-d H:i:s'), ' ', htmlentities(
preg_replace('/[\r\n]+/', '', $str),
ENT_QUOTES,
'UTF-8'
- ) . " \n";
+ ), " \n";
break;
case 'echo':
default:
//Normalize line breaks
- $str = preg_replace('/(\r\n|\r|\n)/ms', "\n", $str);
- echo gmdate('Y-m-d H:i:s') . "\t" . str_replace(
- "\n",
- "\n \t ",
- trim($str)
- ) . "\n";
+ $str = preg_replace('/\r\n|\r/ms', "\n", $str);
+ echo gmdate('Y-m-d H:i:s'),
+ "\t",
+ //Trim trailing space
+ trim(
+ //Indent for readability, except for trailing break
+ str_replace(
+ "\n",
+ "\n \t ",
+ trim($str)
+ )
+ ),
+ "\n";
}
}
/**
* Connect to an SMTP server.
- * @param string $host SMTP server IP or host name
- * @param integer $port The port number to connect to
- * @param integer $timeout How long to wait for the connection to open
- * @param array $options An array of options for stream_context_create()
- * @access public
- * @return boolean
+ *
+ * @param string $host SMTP server IP or host name
+ * @param int $port The port number to connect to
+ * @param int $timeout How long to wait for the connection to open
+ * @param array $options An array of options for stream_context_create()
+ *
+ * @return bool
*/
- public function connect($host, $port = null, $timeout = 30, $options = array())
+ public function connect($host, $port = null, $timeout = 30, $options = [])
{
static $streamok;
//This is enabled by default since 5.0.0 but some providers disable it
//Check this once and cache the result
- if (is_null($streamok)) {
+ if (null === $streamok) {
$streamok = function_exists('stream_socket_client');
}
// Clear errors to avoid confusion
@@ -268,24 +299,25 @@ public function connect($host, $port = null, $timeout = 30, $options = array())
if ($this->connected()) {
// Already connected, generate error
$this->setError('Already connected to a server');
+
return false;
}
if (empty($port)) {
- $port = self::DEFAULT_SMTP_PORT;
+ $port = self::DEFAULT_PORT;
}
// Connect to the SMTP server
$this->edebug(
"Connection: opening to $host:$port, timeout=$timeout, options=" .
- var_export($options, true),
+ (count($options) > 0 ? var_export($options, true) : 'array()'),
self::DEBUG_CONNECTION
);
$errno = 0;
$errstr = '';
if ($streamok) {
$socket_context = stream_context_create($options);
- set_error_handler(array($this, 'errorHandler'));
+ set_error_handler([$this, 'errorHandler']);
$this->smtp_conn = stream_socket_client(
- $host . ":" . $port,
+ $host . ':' . $port,
$errno,
$errstr,
$timeout,
@@ -296,10 +328,10 @@ public function connect($host, $port = null, $timeout = 30, $options = array())
} else {
//Fall back to fsockopen which should work in more places, but is missing some features
$this->edebug(
- "Connection: stream_socket_client not available, falling back to fsockopen",
+ 'Connection: stream_socket_client not available, falling back to fsockopen',
self::DEBUG_CONNECTION
);
- set_error_handler(array($this, 'errorHandler'));
+ set_error_handler([$this, 'errorHandler']);
$this->smtp_conn = fsockopen(
$host,
$port,
@@ -313,14 +345,16 @@ public function connect($host, $port = null, $timeout = 30, $options = array())
if (!is_resource($this->smtp_conn)) {
$this->setError(
'Failed to connect to server',
- $errno,
- $errstr
+ '',
+ (string) $errno,
+ (string) $errstr
);
$this->edebug(
'SMTP ERROR: ' . $this->error['error']
. ": $errstr ($errno)",
self::DEBUG_CLIENT
);
+
return false;
}
$this->edebug('Connection: opened', self::DEBUG_CONNECTION);
@@ -329,7 +363,7 @@ public function connect($host, $port = null, $timeout = 30, $options = array())
if (substr(PHP_OS, 0, 3) != 'WIN') {
$max = ini_get('max_execution_time');
// Don't bother if unlimited
- if ($max != 0 && $timeout > $max) {
+ if (0 != $max and $timeout > $max) {
@set_time_limit($timeout);
}
stream_set_timeout($this->smtp_conn, $timeout, 0);
@@ -337,13 +371,14 @@ public function connect($host, $port = null, $timeout = 30, $options = array())
// Get any announcement
$announce = $this->get_lines();
$this->edebug('SERVER -> CLIENT: ' . $announce, self::DEBUG_SERVER);
+
return true;
}
/**
* Initiate a TLS (encrypted) session.
- * @access public
- * @return boolean
+ *
+ * @return bool
*/
public function startTLS()
{
@@ -362,38 +397,39 @@ public function startTLS()
}
// Begin encrypted connection
- set_error_handler(array($this, 'errorHandler'));
+ set_error_handler([$this, 'errorHandler']);
$crypto_ok = stream_socket_enable_crypto(
$this->smtp_conn,
true,
$crypto_method
);
restore_error_handler();
- return $crypto_ok;
+
+ return (bool) $crypto_ok;
}
/**
* Perform SMTP authentication.
* Must be run after hello().
- * @see hello()
+ *
+ * @see hello()
+ *
* @param string $username The user name
* @param string $password The password
- * @param string $authtype The auth type (PLAIN, LOGIN, NTLM, CRAM-MD5, XOAUTH2)
- * @param string $realm The auth realm for NTLM
- * @param string $workstation The auth workstation for NTLM
- * @param null|OAuth $OAuth An optional OAuth instance (@see PHPMailerOAuth)
- * @return bool True if successfully authenticated.* @access public
+ * @param string $authtype The auth type (CRAM-MD5, PLAIN, LOGIN, XOAUTH2)
+ * @param OAuth $OAuth An optional OAuth instance for XOAUTH2 authentication
+ *
+ * @return bool True if successfully authenticated
*/
public function authenticate(
$username,
$password,
$authtype = null,
- $realm = '',
- $workstation = '',
$OAuth = null
) {
if (!$this->server_caps) {
$this->setError('Authentication is not allowed before HELO/EHLO');
+
return false;
}
@@ -403,17 +439,26 @@ public function authenticate(
$this->setError('Authentication is not allowed at this stage');
// 'at this stage' means that auth may be allowed after the stage changes
// e.g. after STARTTLS
+
return false;
}
- self::edebug('Auth method requested: ' . ($authtype ? $authtype : 'UNKNOWN'), self::DEBUG_LOWLEVEL);
- self::edebug(
+ $this->edebug('Auth method requested: ' . ($authtype ? $authtype : 'UNKNOWN'), self::DEBUG_LOWLEVEL);
+ $this->edebug(
'Auth methods available on the server: ' . implode(',', $this->server_caps['AUTH']),
self::DEBUG_LOWLEVEL
);
+ //If we have requested a specific auth type, check the server supports it before trying others
+ if (!in_array($authtype, $this->server_caps['AUTH'])) {
+ $this->edebug('Requested auth method not available: ' . $authtype, self::DEBUG_LOWLEVEL);
+ $authtype = null;
+ }
+
if (empty($authtype)) {
- foreach (array('CRAM-MD5', 'LOGIN', 'PLAIN', 'NTLM', 'XOAUTH2') as $method) {
+ //If no auth mechanism is specified, attempt to use these, in this order
+ //Try CRAM-MD5 first as it's more secure than the others
+ foreach (['CRAM-MD5', 'LOGIN', 'PLAIN', 'XOAUTH2'] as $method) {
if (in_array($method, $this->server_caps['AUTH'])) {
$authtype = $method;
break;
@@ -421,6 +466,7 @@ public function authenticate(
}
if (empty($authtype)) {
$this->setError('No supported authentication methods found');
+
return false;
}
self::edebug('Auth method selected: ' . $authtype, self::DEBUG_LOWLEVEL);
@@ -428,6 +474,7 @@ public function authenticate(
if (!in_array($authtype, $this->server_caps['AUTH'])) {
$this->setError("The requested authentication method \"$authtype\" is not supported by the server");
+
return false;
}
} elseif (empty($authtype)) {
@@ -454,76 +501,13 @@ public function authenticate(
if (!$this->sendCommand('AUTH', 'AUTH LOGIN', 334)) {
return false;
}
- if (!$this->sendCommand("Username", base64_encode($username), 334)) {
- return false;
- }
- if (!$this->sendCommand("Password", base64_encode($password), 235)) {
- return false;
- }
- break;
- case 'XOAUTH2':
- //If the OAuth Instance is not set. Can be a case when PHPMailer is used
- //instead of PHPMailerOAuth
- if (is_null($OAuth)) {
+ if (!$this->sendCommand('Username', base64_encode($username), 334)) {
return false;
}
- $oauth = $OAuth->getOauth64();
-
- // Start authentication
- if (!$this->sendCommand('AUTH', 'AUTH XOAUTH2 ' . $oauth, 235)) {
+ if (!$this->sendCommand('Password', base64_encode($password), 235)) {
return false;
}
break;
- case 'NTLM':
- /*
- * ntlm_sasl_client.php
- * Bundled with Permission
- *
- * How to telnet in windows:
- * http://technet.microsoft.com/en-us/library/aa995718%28EXCHG.65%29.aspx
- * PROTOCOL Docs http://curl.haxx.se/rfc/ntlm.html#ntlmSmtpAuthentication
- */
- require_once 'extras/ntlm_sasl_client.php';
- $temp = new stdClass;
- $ntlm_client = new ntlm_sasl_client_class;
- //Check that functions are available
- if (!$ntlm_client->initialize($temp)) {
- $this->setError($temp->error);
- $this->edebug(
- 'You need to enable some modules in your php.ini file: '
- . $this->error['error'],
- self::DEBUG_CLIENT
- );
- return false;
- }
- //msg1
- $msg1 = $ntlm_client->typeMsg1($realm, $workstation); //msg1
-
- if (!$this->sendCommand(
- 'AUTH NTLM',
- 'AUTH NTLM ' . base64_encode($msg1),
- 334
- )
- ) {
- return false;
- }
- //Though 0 based, there is a white space after the 3 digit number
- //msg2
- $challenge = substr($this->last_reply, 3);
- $challenge = base64_decode($challenge);
- $ntlm_res = $ntlm_client->NTLMResponse(
- substr($challenge, 24, 8),
- $password
- );
- //msg3
- $msg3 = $ntlm_client->typeMsg3(
- $ntlm_res,
- $username,
- $realm,
- $workstation
- );
- // send encoded username
- return $this->sendCommand('Username', base64_encode($msg3), 235);
case 'CRAM-MD5':
// Start authentication
if (!$this->sendCommand('AUTH CRAM-MD5', 'AUTH CRAM-MD5', 334)) {
@@ -537,20 +521,35 @@ public function authenticate(
// send encoded credentials
return $this->sendCommand('Username', base64_encode($response), 235);
+ case 'XOAUTH2':
+ //The OAuth instance must be set up prior to requesting auth.
+ if (null === $OAuth) {
+ return false;
+ }
+ $oauth = $OAuth->getOauth64();
+
+ // Start authentication
+ if (!$this->sendCommand('AUTH', 'AUTH XOAUTH2 ' . $oauth, 235)) {
+ return false;
+ }
+ break;
default:
$this->setError("Authentication method \"$authtype\" is not supported");
+
return false;
}
+
return true;
}
/**
* Calculate an MD5 HMAC hash.
* Works like hash_hmac('md5', $data, $key)
- * in case that function is not available
+ * in case that function is not available.
+ *
* @param string $data The data to hash
- * @param string $key The key to hash with
- * @access protected
+ * @param string $key The key to hash with
+ *
* @return string
*/
protected function hmac($data, $key)
@@ -582,8 +581,8 @@ protected function hmac($data, $key)
/**
* Check connection state.
- * @access public
- * @return boolean True if connected.
+ *
+ * @return bool True if connected
*/
public function connected()
{
@@ -596,19 +595,21 @@ public function connected()
self::DEBUG_CLIENT
);
$this->close();
+
return false;
}
+
return true; // everything looks good
}
+
return false;
}
/**
* Close the socket and clean up the state of the class.
* Don't use this function without first trying to use QUIT.
+ *
* @see quit()
- * @access public
- * @return void
*/
public function close()
{
@@ -629,11 +630,12 @@ public function close()
* finializing the mail transaction. $msg_data is the message
* that is to be send with the headers. Each header needs to be
* on a single line followed by a with the message headers
- * and the message body being separated by and additional .
- * Implements rfc 821: DATA
+ * and the message body being separated by an additional .
+ * Implements RFC 821: DATA .
+ *
* @param string $msg_data Message data to send
- * @access public
- * @return boolean
+ *
+ * @return bool
*/
public function data($msg_data)
{
@@ -643,7 +645,7 @@ public function data($msg_data)
}
/* The server is ready to accept data!
- * According to rfc821 we should not send more than 1000 characters on a single line (including the CRLF)
+ * According to rfc821 we should not send more than 1000 characters on a single line (including the LE)
* so we will break the data up into lines by \r and/or \n then if needed we will break each of those into
* smaller lines to fit within the limit.
* We will also look for lines that start with a '.' and prepend an additional '.'.
@@ -651,7 +653,7 @@ public function data($msg_data)
*/
// Normalize line breaks before exploding
- $lines = explode("\n", str_replace(array("\r\n", "\r"), "\n", $msg_data));
+ $lines = explode("\n", str_replace(["\r\n", "\r"], "\n", $msg_data));
/* To distinguish between a complete RFC822 message and a plain message body, we check if the first field
* of the first line (':' separated) does not contain a space then it _should_ be a header and we will
@@ -660,12 +662,12 @@ public function data($msg_data)
$field = substr($lines[0], 0, strpos($lines[0], ':'));
$in_headers = false;
- if (!empty($field) && strpos($field, ' ') === false) {
+ if (!empty($field) and strpos($field, ' ') === false) {
$in_headers = true;
}
foreach ($lines as $line) {
- $lines_out = array();
+ $lines_out = [];
if ($in_headers and $line == '') {
$in_headers = false;
}
@@ -700,7 +702,7 @@ public function data($msg_data)
if (!empty($line_out) and $line_out[0] == '.') {
$line_out = '.' . $line_out;
}
- $this->client_send($line_out . self::CRLF);
+ $this->client_send($line_out . static::LE, 'DATA');
}
}
@@ -709,8 +711,10 @@ public function data($msg_data)
$savetimelimit = $this->Timelimit;
$this->Timelimit = $this->Timelimit * 2;
$result = $this->sendCommand('DATA END', '.', 250);
+ $this->recordLastTransactionID();
//Restore timelimit
$this->Timelimit = $savetimelimit;
+
return $result;
}
@@ -720,24 +724,27 @@ public function data($msg_data)
* This makes sure that client and server are in a known state.
* Implements RFC 821: HELO
* and RFC 2821 EHLO.
+ *
* @param string $host The host name or IP to connect to
- * @access public
- * @return boolean
+ *
+ * @return bool
*/
public function hello($host = '')
{
//Try extended hello first (RFC 2821)
- return (boolean)($this->sendHello('EHLO', $host) or $this->sendHello('HELO', $host));
+ return (bool) ($this->sendHello('EHLO', $host) or $this->sendHello('HELO', $host));
}
/**
* Send an SMTP HELO or EHLO command.
- * Low-level implementation used by hello()
- * @see hello()
+ * Low-level implementation used by hello().
+ *
* @param string $hello The HELO string
- * @param string $host The hostname to say we are
- * @access protected
- * @return boolean
+ * @param string $host The hostname to say we are
+ *
+ * @return bool
+ *
+ * @see hello()
*/
protected function sendHello($hello, $host)
{
@@ -748,18 +755,19 @@ protected function sendHello($hello, $host)
} else {
$this->server_caps = null;
}
+
return $noerror;
}
/**
* Parse a reply to HELO/EHLO command to discover server extensions.
* In case of HELO, the only parameter that can be discovered is a server name.
- * @access protected
- * @param string $type - 'HELO' or 'EHLO'
+ *
+ * @param string $type `HELO` or `EHLO`
*/
protected function parseHelloFields($type)
{
- $this->server_caps = array();
+ $this->server_caps = [];
$lines = explode("\n", $this->helo_rply);
foreach ($lines as $n => $s) {
@@ -781,7 +789,7 @@ protected function parseHelloFields($type)
break;
case 'AUTH':
if (!is_array($fields)) {
- $fields = array();
+ $fields = [];
}
break;
default:
@@ -799,14 +807,16 @@ protected function parseHelloFields($type)
* $from. Returns true if successful or false otherwise. If True
* the mail transaction is started and then one or more recipient
* commands may be called followed by a data command.
- * Implements rfc 821: MAIL FROM:
+ * Implements RFC 821: MAIL FROM: .
+ *
* @param string $from Source address of this message
- * @access public
- * @return boolean
+ *
+ * @return bool
*/
public function mail($from)
{
$useVerp = ($this->do_verp ? ' XVERP' : '');
+
return $this->sendCommand(
'MAIL FROM',
'MAIL FROM:<' . $from . '>' . $useVerp,
@@ -817,10 +827,11 @@ public function mail($from)
/**
* Send an SMTP QUIT command.
* Closes the socket if there is no error or the $close_on_error argument is true.
- * Implements from rfc 821: QUIT
- * @param boolean $close_on_error Should the connection close if an error occurs?
- * @access public
- * @return boolean
+ * Implements from RFC 821: QUIT .
+ *
+ * @param bool $close_on_error Should the connection close if an error occurs?
+ *
+ * @return bool
*/
public function quit($close_on_error = true)
{
@@ -830,6 +841,7 @@ public function quit($close_on_error = true)
$this->close();
$this->error = $err; //Restore any error from the quit command
}
+
return $noerror;
}
@@ -837,26 +849,27 @@ public function quit($close_on_error = true)
* Send an SMTP RCPT command.
* Sets the TO argument to $toaddr.
* Returns true if the recipient was accepted false if it was rejected.
- * Implements from rfc 821: RCPT TO:
+ * Implements from RFC 821: RCPT TO: .
+ *
* @param string $address The address the message is being sent to
- * @access public
- * @return boolean
+ *
+ * @return bool
*/
public function recipient($address)
{
return $this->sendCommand(
'RCPT TO',
'RCPT TO:<' . $address . '>',
- array(250, 251)
+ [250, 251]
);
}
/**
* Send an SMTP RSET command.
* Abort any transaction that is currently in progress.
- * Implements rfc 821: RSET
- * @access public
- * @return boolean True on success.
+ * Implements RFC 821: RSET .
+ *
+ * @return bool True on success
*/
public function reset()
{
@@ -865,35 +878,38 @@ public function reset()
/**
* Send a command to an SMTP server and check its return code.
- * @param string $command The command name - not sent to the server
- * @param string $commandstring The actual command to send
- * @param integer|array $expect One or more expected integer success codes
- * @access protected
- * @return boolean True on success.
+ *
+ * @param string $command The command name - not sent to the server
+ * @param string $commandstring The actual command to send
+ * @param int|array $expect One or more expected integer success codes
+ *
+ * @return bool True on success
*/
protected function sendCommand($command, $commandstring, $expect)
{
if (!$this->connected()) {
$this->setError("Called $command without being connected");
+
return false;
}
//Reject line breaks in all commands
if (strpos($commandstring, "\n") !== false or strpos($commandstring, "\r") !== false) {
$this->setError("Command '$command' contained line breaks");
+
return false;
}
- $this->client_send($commandstring . self::CRLF);
+ $this->client_send($commandstring . static::LE, $command);
$this->last_reply = $this->get_lines();
// Fetch SMTP code and possible error code explanation
- $matches = array();
- if (preg_match("/^([0-9]{3})[ -](?:([0-9]\\.[0-9]\\.[0-9]) )?/", $this->last_reply, $matches)) {
+ $matches = [];
+ if (preg_match('/^([0-9]{3})[ -](?:([0-9]\\.[0-9]\\.[0-9]) )?/', $this->last_reply, $matches)) {
$code = $matches[1];
$code_ex = (count($matches) > 2 ? $matches[2] : null);
// Cut off error code from each response line
$detail = preg_replace(
"/{$code}[ -]" .
- ($code_ex ? str_replace('.', '\\.', $code_ex) . ' ' : '') . "/m",
+ ($code_ex ? str_replace('.', '\\.', $code_ex) . ' ' : '') . '/m',
'',
$this->last_reply
);
@@ -906,7 +922,7 @@ protected function sendCommand($command, $commandstring, $expect)
$this->edebug('SERVER -> CLIENT: ' . $this->last_reply, self::DEBUG_SERVER);
- if (!in_array($code, (array)$expect)) {
+ if (!in_array($code, (array) $expect)) {
$this->setError(
"$command command failed",
$detail,
@@ -917,10 +933,12 @@ protected function sendCommand($command, $commandstring, $expect)
'SMTP ERROR: ' . $this->error['error'] . ': ' . $this->last_reply,
self::DEBUG_CLIENT
);
+
return false;
}
$this->setError('');
+
return true;
}
@@ -932,10 +950,11 @@ protected function sendCommand($command, $commandstring, $expect)
* commands may be called followed by a data command. This command
* will send the message to the users terminal if they are logged
* in and send them an email.
- * Implements rfc 821: SAML FROM:
+ * Implements RFC 821: SAML FROM: .
+ *
* @param string $from The address the message is from
- * @access public
- * @return boolean
+ *
+ * @return bool
*/
public function sendAndMail($from)
{
@@ -944,20 +963,21 @@ public function sendAndMail($from)
/**
* Send an SMTP VRFY command.
+ *
* @param string $name The name to verify
- * @access public
- * @return boolean
+ *
+ * @return bool
*/
public function verify($name)
{
- return $this->sendCommand('VRFY', "VRFY $name", array(250, 251));
+ return $this->sendCommand('VRFY', "VRFY $name", [250, 251]);
}
/**
* Send an SMTP NOOP command.
- * Used to keep keep-alives alive, doesn't actually do anything
- * @access public
- * @return boolean
+ * Used to keep keep-alives alive, doesn't actually do anything.
+ *
+ * @return bool
*/
public function noop()
{
@@ -968,36 +988,47 @@ public function noop()
* Send an SMTP TURN command.
* This is an optional command for SMTP that this class does not support.
* This method is here to make the RFC821 Definition complete for this class
- * and _may_ be implemented in future
- * Implements from rfc 821: TURN
- * @access public
- * @return boolean
+ * and _may_ be implemented in future.
+ * Implements from RFC 821: TURN .
+ *
+ * @return bool
*/
public function turn()
{
$this->setError('The SMTP TURN command is not implemented');
$this->edebug('SMTP NOTICE: ' . $this->error['error'], self::DEBUG_CLIENT);
+
return false;
}
/**
* Send raw data to the server.
- * @param string $data The data to send
- * @access public
- * @return integer|boolean The number of bytes sent to the server or false on error
+ *
+ * @param string $data The data to send
+ * @param string $command Optionally, the command this is part of, used only for controlling debug output
+ *
+ * @return int|bool The number of bytes sent to the server or false on error
*/
- public function client_send($data)
+ public function client_send($data, $command = '')
{
- $this->edebug("CLIENT -> SERVER: $data", self::DEBUG_CLIENT);
- set_error_handler(array($this, 'errorHandler'));
+ //If SMTP transcripts are left enabled, or debug output is posted online
+ //it can leak credentials, so hide credentials in all but lowest level
+ if (self::DEBUG_LOWLEVEL > $this->do_debug and
+ in_array($command, ['User & Password', 'Username', 'Password'], true)) {
+ $this->edebug('CLIENT -> SERVER: ', self::DEBUG_CLIENT);
+ } else {
+ $this->edebug('CLIENT -> SERVER: ' . $data, self::DEBUG_CLIENT);
+ }
+ set_error_handler([$this, 'errorHandler']);
$result = fwrite($this->smtp_conn, $data);
restore_error_handler();
+
return $result;
}
/**
* Get the latest error.
- * @access public
+ *
* @return array
*/
public function getError()
@@ -1006,8 +1037,8 @@ public function getError()
}
/**
- * Get SMTP extensions available on the server
- * @access public
+ * Get SMTP extensions available on the server.
+ *
* @return array|null
*/
public function getServerExtList()
@@ -1016,41 +1047,40 @@ public function getServerExtList()
}
/**
- * A multipurpose method
- * The method works in three ways, dependent on argument value and current state
- * 1. HELO/EHLO was not sent - returns null and set up $this->error
- * 2. HELO was sent
- * $name = 'HELO': returns server name
- * $name = 'EHLO': returns boolean false
- * $name = any string: returns null and set up $this->error
- * 3. EHLO was sent
- * $name = 'HELO'|'EHLO': returns server name
- * $name = any string: if extension $name exists, returns boolean True
- * or its options. Otherwise returns boolean False
- * In other words, one can use this method to detect 3 conditions:
- * - null returned: handshake was not or we don't know about ext (refer to $this->error)
- * - false returned: the requested feature exactly not exists
- * - positive value returned: the requested feature exists
+ * Get metadata about the SMTP server from its HELO/EHLO response.
+ * The method works in three ways, dependent on argument value and current state:
+ * 1. HELO/EHLO has not been sent - returns null and populates $this->error.
+ * 2. HELO has been sent -
+ * $name == 'HELO': returns server name
+ * $name == 'EHLO': returns boolean false
+ * $name == any other string: returns null and populates $this->error
+ * 3. EHLO has been sent -
+ * $name == 'HELO'|'EHLO': returns the server name
+ * $name == any other string: if extension $name exists, returns True
+ * or its options (e.g. AUTH mechanisms supported). Otherwise returns False.
+ *
* @param string $name Name of SMTP extension or 'HELO'|'EHLO'
+ *
* @return mixed
*/
public function getServerExt($name)
{
if (!$this->server_caps) {
$this->setError('No HELO/EHLO was sent');
- return null;
+
+ return;
}
- // the tight logic knot ;)
if (!array_key_exists($name, $this->server_caps)) {
- if ($name == 'HELO') {
+ if ('HELO' == $name) {
return $this->server_caps['EHLO'];
}
- if ($name == 'EHLO' || array_key_exists('EHLO', $this->server_caps)) {
+ if ('EHLO' == $name || array_key_exists('EHLO', $this->server_caps)) {
return false;
}
- $this->setError('HELO handshake was used. Client knows nothing about server extensions');
- return null;
+ $this->setError('HELO handshake was used; No information about server extensions available');
+
+ return;
}
return $this->server_caps[$name];
@@ -1058,7 +1088,7 @@ public function getServerExt($name)
/**
* Get the last reply from the server.
- * @access public
+ *
* @return string
*/
public function getLastReply()
@@ -1072,7 +1102,7 @@ public function getLastReply()
* With SMTP we can tell if we have more lines to read if the
* 4th character is '-' symbol. If it is a space then we don't
* need to read anything else.
- * @access protected
+ *
* @return string
*/
protected function get_lines()
@@ -1087,10 +1117,20 @@ protected function get_lines()
if ($this->Timelimit > 0) {
$endtime = time() + $this->Timelimit;
}
- while (is_resource($this->smtp_conn) && !feof($this->smtp_conn)) {
+ $selR = [$this->smtp_conn];
+ $selW = null;
+ while (is_resource($this->smtp_conn) and !feof($this->smtp_conn)) {
+ //Must pass vars in here as params are by reference
+ if (!stream_select($selR, $selW, $selW, $this->Timelimit)) {
+ $this->edebug(
+ 'SMTP -> get_lines(): timed-out (' . $this->Timeout . ' sec)',
+ self::DEBUG_LOWLEVEL
+ );
+ break;
+ }
+ //Deliberate noise suppression - errors are handled afterwards
$str = @fgets($this->smtp_conn, 515);
- $this->edebug("SMTP -> get_lines(): \$data is \"$data\"", self::DEBUG_LOWLEVEL);
- $this->edebug("SMTP -> get_lines(): \$str is \"$str\"", self::DEBUG_LOWLEVEL);
+ $this->edebug('SMTP INBOUND: "' . trim($str) . '"', self::DEBUG_LOWLEVEL);
$data .= $str;
// If response is only 3 chars (not valid, but RFC5321 S4.2 says it must be handled),
// or 4th character is a space, we are done reading, break the loop,
@@ -1117,12 +1157,14 @@ protected function get_lines()
break;
}
}
+
return $data;
}
/**
* Enable or disable VERP address generation.
- * @param boolean $enabled
+ *
+ * @param bool $enabled
*/
public function setVerp($enabled = false)
{
@@ -1131,7 +1173,8 @@ public function setVerp($enabled = false)
/**
* Get VERP address generation mode.
- * @return boolean
+ *
+ * @return bool
*/
public function getVerp()
{
@@ -1140,24 +1183,26 @@ public function getVerp()
/**
* Set error messages and codes.
- * @param string $message The error message
- * @param string $detail Further detail on the error
- * @param string $smtp_code An associated SMTP error code
+ *
+ * @param string $message The error message
+ * @param string $detail Further detail on the error
+ * @param string $smtp_code An associated SMTP error code
* @param string $smtp_code_ex Extended SMTP code
*/
protected function setError($message, $detail = '', $smtp_code = '', $smtp_code_ex = '')
{
- $this->error = array(
+ $this->error = [
'error' => $message,
'detail' => $detail,
'smtp_code' => $smtp_code,
- 'smtp_code_ex' => $smtp_code_ex
- );
+ 'smtp_code_ex' => $smtp_code_ex,
+ ];
}
/**
* Set debug output method.
- * @param string|callable $method The name of the mechanism to use for debugging output, or a callable to handle it.
+ *
+ * @param string|callable $method The name of the mechanism to use for debugging output, or a callable to handle it
*/
public function setDebugOutput($method = 'echo')
{
@@ -1166,6 +1211,7 @@ public function setDebugOutput($method = 'echo')
/**
* Get debug output method.
+ *
* @return string
*/
public function getDebugOutput()
@@ -1175,7 +1221,8 @@ public function getDebugOutput()
/**
* Set debug output level.
- * @param integer $level
+ *
+ * @param int $level
*/
public function setDebugLevel($level = 0)
{
@@ -1184,7 +1231,8 @@ public function setDebugLevel($level = 0)
/**
* Get debug output level.
- * @return integer
+ *
+ * @return int
*/
public function getDebugLevel()
{
@@ -1193,7 +1241,8 @@ public function getDebugLevel()
/**
* Set SMTP timeout.
- * @param integer $timeout
+ *
+ * @param int $timeout The timeout duration in seconds
*/
public function setTimeout($timeout = 0)
{
@@ -1202,7 +1251,8 @@ public function setTimeout($timeout = 0)
/**
* Get SMTP timeout.
- * @return integer
+ *
+ * @return int
*/
public function getTimeout()
{
@@ -1211,46 +1261,65 @@ public function getTimeout()
/**
* Reports an error number and string.
- * @param integer $errno The error number returned by PHP.
- * @param string $errmsg The error message returned by PHP.
+ *
+ * @param int $errno The error number returned by PHP
+ * @param string $errmsg The error message returned by PHP
* @param string $errfile The file the error occurred in
- * @param integer $errline The line number the error occurred on
+ * @param int $errline The line number the error occurred on
*/
protected function errorHandler($errno, $errmsg, $errfile = '', $errline = 0)
{
$notice = 'Connection failed.';
$this->setError(
$notice,
- $errno,
- $errmsg
+ $errmsg,
+ (string) $errno
);
$this->edebug(
- $notice . ' Error #' . $errno . ': ' . $errmsg . " [$errfile line $errline]",
+ "$notice Error #$errno: $errmsg [$errfile line $errline]",
self::DEBUG_CONNECTION
);
}
/**
- * Will return the ID of the last smtp transaction based on a list of patterns provided
- * in SMTP::$smtp_transaction_id_patterns.
+ * Extract and return the ID of the last SMTP transaction based on
+ * a list of patterns provided in SMTP::$smtp_transaction_id_patterns.
+ * Relies on the host providing the ID in response to a DATA command.
* If no reply has been received yet, it will return null.
- * If no pattern has been matched, it will return false.
+ * If no pattern was matched, it will return false.
+ *
* @return bool|null|string
*/
- public function getLastTransactionID()
+ protected function recordLastTransactionID()
{
$reply = $this->getLastReply();
if (empty($reply)) {
- return null;
- }
-
- foreach ($this->smtp_transaction_id_patterns as $smtp_transaction_id_pattern) {
- if (preg_match($smtp_transaction_id_pattern, $reply, $matches)) {
- return $matches[1];
+ $this->last_smtp_transaction_id = null;
+ } else {
+ $this->last_smtp_transaction_id = false;
+ foreach ($this->smtp_transaction_id_patterns as $smtp_transaction_id_pattern) {
+ if (preg_match($smtp_transaction_id_pattern, $reply, $matches)) {
+ $this->last_smtp_transaction_id = trim($matches[1]);
+ break;
+ }
}
}
- return false;
+ return $this->last_smtp_transaction_id;
+ }
+
+ /**
+ * Get the queue/transaction ID of the last SMTP transaction
+ * If no reply has been received yet, it will return null.
+ * If no pattern was matched, it will return false.
+ *
+ * @return bool|null|string
+ *
+ * @see recordLastTransactionID()
+ */
+ public function getLastTransactionID()
+ {
+ return $this->last_smtp_transaction_id;
}
}
diff --git a/manager/includes/controls/phpmailer/extras/EasyPeasyICS.php b/manager/includes/controls/phpmailer/extras/EasyPeasyICS.php
deleted file mode 100755
index d8bfcfae65..0000000000
--- a/manager/includes/controls/phpmailer/extras/EasyPeasyICS.php
+++ /dev/null
@@ -1,148 +0,0 @@
-
- * @author Manuel Reinhard
- *
- * Built with inspiration from
- * http://stackoverflow.com/questions/1463480/how-can-i-use-php-to-dynamically-publish-an-ical-file-to-be-read-by-google-calend/1464355#1464355
- * History:
- * 2010/12/17 - Manuel Reinhard - when it all started
- * 2014 PHPMailer project becomes maintainer
- */
-
-/**
- * Class EasyPeasyICS.
- * Simple ICS data generator
- * @package phpmailer
- * @subpackage easypeasyics
- */
-class EasyPeasyICS
-{
- /**
- * The name of the calendar
- * @var string
- */
- protected $calendarName;
- /**
- * The array of events to add to this calendar
- * @var array
- */
- protected $events = array();
-
- /**
- * Constructor
- * @param string $calendarName
- */
- public function __construct($calendarName = "")
- {
- $this->calendarName = $calendarName;
- }
-
- /**
- * Add an event to this calendar.
- * @param string $start The start date and time as a unix timestamp
- * @param string $end The end date and time as a unix timestamp
- * @param string $summary A summary or title for the event
- * @param string $description A description of the event
- * @param string $url A URL for the event
- * @param string $uid A unique identifier for the event - generated automatically if not provided
- * @return array An array of event details, including any generated UID
- */
- public function addEvent($start, $end, $summary = '', $description = '', $url = '', $uid = '')
- {
- if (empty($uid)) {
- $uid = md5(uniqid(mt_rand(), true)) . '@EasyPeasyICS';
- }
- $event = array(
- 'start' => gmdate('Ymd', $start) . 'T' . gmdate('His', $start) . 'Z',
- 'end' => gmdate('Ymd', $end) . 'T' . gmdate('His', $end) . 'Z',
- 'summary' => $summary,
- 'description' => $description,
- 'url' => $url,
- 'uid' => $uid
- );
- $this->events[] = $event;
- return $event;
- }
-
- /**
- * @return array Get the array of events.
- */
- public function getEvents()
- {
- return $this->events;
- }
-
- /**
- * Clear all events.
- */
- public function clearEvents()
- {
- $this->events = array();
- }
-
- /**
- * Get the name of the calendar.
- * @return string
- */
- public function getName()
- {
- return $this->calendarName;
- }
-
- /**
- * Set the name of the calendar.
- * @param $name
- */
- public function setName($name)
- {
- $this->calendarName = $name;
- }
-
- /**
- * Render and optionally output a vcal string.
- * @param bool $output Whether to output the calendar data directly (the default).
- * @return string The complete rendered vlal
- */
- public function render($output = true)
- {
- //Add header
- $ics = 'BEGIN:VCALENDAR
-METHOD:PUBLISH
-VERSION:2.0
-X-WR-CALNAME:' . $this->calendarName . '
-PRODID:-//hacksw/handcal//NONSGML v1.0//EN';
-
- //Add events
- foreach ($this->events as $event) {
- $ics .= '
-BEGIN:VEVENT
-UID:' . $event['uid'] . '
-DTSTAMP:' . gmdate('Ymd') . 'T' . gmdate('His') . 'Z
-DTSTART:' . $event['start'] . '
-DTEND:' . $event['end'] . '
-SUMMARY:' . str_replace("\n", "\\n", $event['summary']) . '
-DESCRIPTION:' . str_replace("\n", "\\n", $event['description']) . '
-URL;VALUE=URI:' . $event['url'] . '
-END:VEVENT';
- }
-
- //Add footer
- $ics .= '
-END:VCALENDAR';
-
- if ($output) {
- //Output
- $filename = $this->calendarName;
- //Filename needs quoting if it contains spaces
- if (strpos($filename, ' ') !== false) {
- $filename = '"'.$filename.'"';
- }
- header('Content-type: text/calendar; charset=utf-8');
- header('Content-Disposition: inline; filename=' . $filename . '.ics');
- echo $ics;
- }
- return $ics;
- }
-}
diff --git a/manager/includes/controls/phpmailer/extras/README.md b/manager/includes/controls/phpmailer/extras/README.md
deleted file mode 100644
index df8ca0925d..0000000000
--- a/manager/includes/controls/phpmailer/extras/README.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# PHPMailer Extras
-
-These classes provide optional additional functions to PHPMailer.
-
-These are not loaded by the PHPMailer autoloader, so in some cases you may need to `require` them yourself before using them.
-
-## EasyPeasyICS
-
-This class was originally written by Manuel Reinhard and provides a simple means of generating ICS/vCal files that are used in sending calendar events. PHPMailer does not use it directly, but you can use it to generate content appropriate for placing in the `Ical` property of PHPMailer. The PHPMailer project is now its official home as Manuel has given permission for that and is no longer maintaining it himself.
-
-## htmlfilter
-
-This class by Konstantin Riabitsev and Jim Jagielski implements HTML filtering to remove potentially malicious tags, such as `';
+ if ($useThisVer && $plaintext != true && (strpos(strtolower($src), "';
+ }
if ($startup) {
- $pos= isset($overwritepos) ? $overwritepos : max(array_merge(array(0),array_keys($this->sjscripts)))+1;
- $this->sjscripts[$pos]= $src;
+ $pos = isset($overwritepos) ? $overwritepos : max(array_merge(array(0), array_keys($this->sjscripts))) + 1;
+ $this->sjscripts[$pos] = $src;
} else {
- $pos= isset($overwritepos) ? $overwritepos : max(array_merge(array(0),array_keys($this->jscripts)))+1;
- $this->jscripts[$pos]= $src;
+ $pos = isset($overwritepos) ? $overwritepos : max(array_merge(array(0), array_keys($this->jscripts))) + 1;
+ $this->jscripts[$pos] = $src;
}
- $this->loadedjscripts[$key]['version']= $version;
- $this->loadedjscripts[$key]['startup']= $startup;
- $this->loadedjscripts[$key]['pos']= $pos;
+ $this->loadedjscripts[$key]['version'] = $version;
+ $this->loadedjscripts[$key]['startup'] = $startup;
+ $this->loadedjscripts[$key]['pos'] = $pos;
}
/**
@@ -4440,7 +5200,8 @@ function regClientScript($src, $options= array('name'=>'', 'version'=>'0', 'plai
*
* @return string
*/
- function regClientStartupHTMLBlock($html) {
+ function regClientStartupHTMLBlock($html)
+ {
$this->regClientScript($html, true, true);
}
@@ -4449,40 +5210,45 @@ function regClientStartupHTMLBlock($html) {
*
* @return string
*/
- function regClientHTMLBlock($html) {
+ function regClientHTMLBlock($html)
+ {
$this->regClientScript($html, true);
}
- /**
+ /**
* Remove unwanted html tags and snippet, settings and tags
*
* @param string $html
* @param string $allowed Default: Empty string
* @return string
*/
- function stripTags($html, $allowed= "") {
- $t= strip_tags($html, $allowed);
- $t= preg_replace('~\[\*(.*?)\*\]~', "", $t); //tv
- $t= preg_replace('~\[\[(.*?)\]\]~', "", $t); //snippet
- $t= preg_replace('~\[\!(.*?)\!\]~', "", $t); //snippet
- $t= preg_replace('~\[\((.*?)\)\]~', "", $t); //settings
- $t= preg_replace('~\[\+(.*?)\+\]~', "", $t); //placeholders
- $t= preg_replace('~{{(.*?)}}~', "", $t); //chunks
+ function stripTags($html, $allowed = "")
+ {
+ $t = strip_tags($html, $allowed);
+ $t = preg_replace('~\[\*(.*?)\*\]~', "", $t); //tv
+ $t = preg_replace('~\[\[(.*?)\]\]~', "", $t); //snippet
+ $t = preg_replace('~\[\!(.*?)\!\]~', "", $t); //snippet
+ $t = preg_replace('~\[\((.*?)\)\]~', "", $t); //settings
+ $t = preg_replace('~\[\+(.*?)\+\]~', "", $t); //placeholders
+ $t = preg_replace('~{{(.*?)}}~', "", $t); //chunks
return $t;
}
- /**
+ /**
* Add an event listener to a plugin - only for use within the current execution cycle
*
* @param string $evtName
* @param string $pluginName
* @return boolean|int
*/
- function addEventListener($evtName, $pluginName) {
- if (!$evtName || !$pluginName)
+ function addEventListener($evtName, $pluginName)
+ {
+ if (!$evtName || !$pluginName) {
return false;
- if (!array_key_exists($evtName,$this->pluginEvent))
+ }
+ if (!array_key_exists($evtName, $this->pluginEvent)) {
$this->pluginEvent[$evtName] = array();
+ }
return array_push($this->pluginEvent[$evtName], $pluginName); // return array count
}
@@ -4492,18 +5258,21 @@ function addEventListener($evtName, $pluginName) {
* @param string $evtName
* @return boolean
*/
- function removeEventListener($evtName) {
- if (!$evtName)
+ function removeEventListener($evtName)
+ {
+ if (!$evtName) {
return false;
+ }
unset ($this->pluginEvent[$evtName]);
}
/**
* Remove all event listeners - only for use within the current execution cycle
*/
- function removeAllEventListener() {
+ function removeAllEventListener()
+ {
unset ($this->pluginEvent);
- $this->pluginEvent= array ();
+ $this->pluginEvent = array();
}
/**
@@ -4513,46 +5282,65 @@ function removeAllEventListener() {
* @param array $extParams Parameters available to plugins. Each array key will be the PHP variable name, and the array value will be the variable value.
* @return boolean|array
*/
- function invokeEvent($evtName, $extParams= array ()) {
- if (!$evtName) return false;
- if (!isset ($this->pluginEvent[$evtName])) return false;
-
- $results= array ();
- foreach($this->pluginEvent[$evtName] as $pluginName) { // start for loop
- if ($this->dumpPlugins) $eventtime = $this->getMicroTime();
+ function invokeEvent($evtName, $extParams = array())
+ {
+ if (!$evtName) {
+ return false;
+ }
+ if (!isset ($this->pluginEvent[$evtName])) {
+ return false;
+ }
+
+ $results = null;
+ foreach ($this->pluginEvent[$evtName] as $pluginName) { // start for loop
+ if ($this->dumpPlugins) {
+ $eventtime = $this->getMicroTime();
+ }
// reset event object
- $e= & $this->event;
+ $e = &$this->event;
$e->_resetEventObject();
- $e->name = $evtName;
+ $e->name = $evtName;
$e->activePlugin = $pluginName;
// get plugin code
$_ = $this->getPluginCode($pluginName);
- $pluginCode = $_['code'];
+ $pluginCode = $_['code'];
$pluginProperties = $_['props'];
// load default params/properties
- $parameter= $this->parseProperties($pluginProperties);
- if(!is_array($parameter)) $parameter = array();
- if(!empty($extParams)) $parameter = array_merge($parameter, $extParams);
+ $parameter = $this->parseProperties($pluginProperties);
+ if (!is_array($parameter)) {
+ $parameter = array();
+ }
+ if (!empty($extParams)) {
+ $parameter = array_merge($parameter, $extParams);
+ }
// eval plugin
$this->evalPlugin($pluginCode, $parameter);
- if(class_exists('PHxParser')) $this->config['enable_filter'] = 0;
+ if (class_exists('PHxParser')) {
+ $this->config['enable_filter'] = 0;
+ }
if ($this->dumpPlugins) {
$eventtime = $this->getMicroTime() - $eventtime;
- $this->pluginsCode .= sprintf('%s / %s (%2.2f ms) ', $evtName, $pluginName, $eventtime*1000);
- foreach ($parameter as $k=>$v) $this->pluginsCode .= "{$k} => " . print_r($v, true) . ' ';
+ $this->pluginsCode .= sprintf('%s / %s (%2.2f ms) ', $evtName, $pluginName, $eventtime * 1000);
+ foreach ($parameter as $k => $v) {
+ $this->pluginsCode .= "{$k} => " . print_r($v, true) . ' ';
+ }
$this->pluginsCode .= ' ';
$this->pluginsTime["{$evtName} / {$pluginName}"] += $eventtime;
}
- if ($e->_output != '') $results[]= $e->_output;
- if ($e->_propagate != true) break;
+ if ($e->_output != '') {
+ $results[] = $e->_output;
+ }
+ if ($e->_propagate != true) {
+ break;
+ }
}
-
- $e->activePlugin= '';
+
+ $e->activePlugin = '';
return $results;
}
@@ -4572,10 +5360,10 @@ public function getPluginCode($pluginName)
$pluginName = $this->db->escape($pluginName);
$result = $this->db->select('name, plugincode, properties', $this->getFullTableName("site_plugins"), "name='{$pluginName}' AND disabled=0");
if ($row = $this->db->getRow($result)) {
- $pluginCode = $this->pluginCache[$row['name']]= $row['plugincode'];
- $pluginProperties = $this->pluginCache[$row['name'] . "Props"]= $row['properties'];
+ $pluginCode = $this->pluginCache[$row['name']] = $row['plugincode'];
+ $pluginProperties = $this->pluginCache[$row['name'] . "Props"] = $row['properties'];
} else {
- $pluginCode = $this->pluginCache[$pluginName]= "return false;";
+ $pluginCode = $this->pluginCache[$pluginName] = "return false;";
$pluginProperties = '';
}
}
@@ -4593,23 +5381,29 @@ public function getPluginCode($pluginName)
* @param string|null $elementType
* @return array Associative array in the form property name => property value
*/
- function parseProperties($propertyString, $elementName = null, $elementType = null) {
+ function parseProperties($propertyString, $elementName = null, $elementType = null)
+ {
$propertyString = trim($propertyString);
- $propertyString = str_replace('{}', '', $propertyString );
- $propertyString = str_replace('} {', ',', $propertyString );
- if(empty($propertyString)) return array();
- if($propertyString=='{}') return array();
-
+ $propertyString = str_replace('{}', '', $propertyString);
+ $propertyString = str_replace('} {', ',', $propertyString);
+ if (empty($propertyString)) {
+ return array();
+ }
+ if ($propertyString == '{}') {
+ return array();
+ }
+
$jsonFormat = $this->isJson($propertyString, true);
$property = array();
// old format
- if ( $jsonFormat === false) {
- $props= explode('&', $propertyString);
+ if ($jsonFormat === false) {
+ $props = explode('&', $propertyString);
foreach ($props as $prop) {
- if(empty($prop)) continue;
- elseif(strpos($prop, '=')===false) {
- $property[trim($prop)]='';
+ if (empty($prop)) {
+ continue;
+ } elseif (strpos($prop, '=') === false) {
+ $property[trim($prop)] = '';
continue;
}
@@ -4626,29 +5420,39 @@ function parseProperties($propertyString, $elementName = null, $elementType = nu
default:
$value = !isset($p[2]) ? '' : $p[2];
}
- if (!empty($key)) $property[$key] = $value;
+ if (!empty($key)) {
+ $property[$key] = $value;
+ }
}
- // new json-format
- } else if(!empty($jsonFormat)){
- foreach( $jsonFormat as $key=>$row ) {
+ // new json-format
+ } else if (!empty($jsonFormat)) {
+ foreach ($jsonFormat as $key => $row) {
if (!empty($key)) {
if (is_array($row)) {
- if (isset($row[0]['value'])) $value = $row[0]['value'];
+ if (isset($row[0]['value'])) {
+ $value = $row[0]['value'];
+ }
} else {
$value = $row;
}
- if (isset($value) && $value !== "") $property[$key] = $value;
+ if (isset($value) && $value !== '') {
+ $property[$key] = $value;
+ }
}
}
}
- if(!empty($elementName) && !empty($elementType)){
+ if (!empty($elementName) && !empty($elementType)) {
$out = $this->invokeEvent('OnParseProperties', array(
'element' => $elementName,
- 'type' => $elementType,
- 'args' => $property
+ 'type' => $elementType,
+ 'args' => $property
));
- if(is_array($out)) $out = array_pop($out);
- if(is_array($out)) $property = $out;
+ if (is_array($out)) {
+ $out = array_pop($out);
+ }
+ if (is_array($out)) {
+ $property = $out;
+ }
}
return $property;
}
@@ -4661,20 +5465,21 @@ function parseProperties($propertyString, $elementName = null, $elementType = nu
* @param boolean $escapeValues
* @return array Associative array in the form property name => property value
*/
- function parseDocBlockFromFile($element_dir, $filename, $escapeValues=false) {
+ function parseDocBlockFromFile($element_dir, $filename, $escapeValues = false)
+ {
$params = array();
$fullpath = $element_dir . '/' . $filename;
- if(is_readable($fullpath)) {
+ if (is_readable($fullpath)) {
$tpl = @fopen($fullpath, "r");
- if($tpl) {
+ if ($tpl) {
$params['filename'] = $filename;
$docblock_start_found = false;
$name_found = false;
$description_found = false;
$docblock_end_found = false;
- $arrayParams = array('author','documentation','reportissues','link');
-
- while(!feof($tpl)) {
+ $arrayParams = array('author', 'documentation', 'reportissues', 'link');
+
+ while (!feof($tpl)) {
$line = fgets($tpl);
$r = $this->parseDocBlockLine($line, $docblock_start_found, $name_found, $description_found, $docblock_end_found);
$docblock_start_found = $r['docblock_start_found'];
@@ -4683,11 +5488,17 @@ function parseDocBlockFromFile($element_dir, $filename, $escapeValues=false) {
$docblock_end_found = $r['docblock_end_found'];
$param = $r['param'];
$val = $r['val'];
- if(!$docblock_end_found) break;
- if(!$docblock_start_found || !$name_found || !$description_found || empty($param)) continue;
- if(!empty($param)) {
- if(in_array($param, $arrayParams)) {
- if(!isset($params[$param])) $params[$param] = array();
+ if (!$docblock_end_found) {
+ break;
+ }
+ if (!$docblock_start_found || !$name_found || !$description_found || empty($param)) {
+ continue;
+ }
+ if (!empty($param)) {
+ if (in_array($param, $arrayParams)) {
+ if (!isset($params[$param])) {
+ $params[$param] = array();
+ }
$params[$param][] = $escapeValues ? $this->db->escape($val) : $val;
} else {
$params[$param] = $escapeValues ? $this->db->escape($val) : $val;
@@ -4707,18 +5518,19 @@ function parseDocBlockFromFile($element_dir, $filename, $escapeValues=false) {
* @param boolean $escapeValues
* @return array Associative array in the form property name => property value
*/
- function parseDocBlockFromString($string, $escapeValues=false) {
+ function parseDocBlockFromString($string, $escapeValues = false)
+ {
$params = array();
- if(!empty($string)) {
+ if (!empty($string)) {
$string = str_replace('\r\n', '\n', $string);
$exp = explode('\n', $string);
$docblock_start_found = false;
$name_found = false;
$description_found = false;
$docblock_end_found = false;
- $arrayParams = array('author','documentation','reportissues','link');
-
- foreach($exp as $line) {
+ $arrayParams = array('author', 'documentation', 'reportissues', 'link');
+
+ foreach ($exp as $line) {
$r = $this->parseDocBlockLine($line, $docblock_start_found, $name_found, $description_found, $docblock_end_found);
$docblock_start_found = $r['docblock_start_found'];
$name_found = $r['name_found'];
@@ -4726,252 +5538,337 @@ function parseDocBlockFromString($string, $escapeValues=false) {
$docblock_end_found = $r['docblock_end_found'];
$param = $r['param'];
$val = $r['val'];
- if(!$docblock_start_found) continue;
- if($docblock_end_found) break;
- if(!empty($param)) {
- if(in_array($param, $arrayParams)) {
- if(!isset($params[$param])) $params[$param] = array();
+ if (!$docblock_start_found) {
+ continue;
+ }
+ if ($docblock_end_found) {
+ break;
+ }
+ if (!empty($param)) {
+ if (in_array($param, $arrayParams)) {
+ if (!isset($params[$param])) {
+ $params[$param] = array();
+ }
$params[$param][] = $escapeValues ? $this->db->escape($val) : $val;
} else {
$params[$param] = $escapeValues ? $this->db->escape($val) : $val;
}
}
- }
+ }
}
return $params;
}
-
+
/**
* Parses docBlock of a component´s source-code and returns the result as an array
* (modified parseDocBlock() from modules/stores/setup.info.php by Bumkaka & Dmi3yy)
*
- * @param string $line
+ * @param string $line
* @param boolean $docblock_start_found
* @param boolean $name_found
* @param boolean $description_found
* @param boolean $docblock_end_found
* @return array Associative array in the form property name => property value
*/
- function parseDocBlockLine($line, $docblock_start_found, $name_found, $description_found, $docblock_end_found) {
+ function parseDocBlockLine($line, $docblock_start_found, $name_found, $description_found, $docblock_end_found)
+ {
$param = '';
$val = '';
$ma = null;
- if(!$docblock_start_found) {
+ if (!$docblock_start_found) {
// find docblock start
- if(strpos($line, '/**') !== false) {
+ if (strpos($line, '/**') !== false) {
$docblock_start_found = true;
}
- } elseif(!$name_found) {
+ } elseif (!$name_found) {
// find name
- if(preg_match("/^\s+\*\s+(.+)/", $line, $ma)) {
+ if (preg_match("/^\s+\*\s+(.+)/", $line, $ma)) {
$param = 'name';
$val = trim($ma[1]);
$name_found = !empty($val);
}
- } elseif(!$description_found) {
+ } elseif (!$description_found) {
// find description
- if(preg_match("/^\s+\*\s+(.+)/", $line, $ma)) {
+ if (preg_match("/^\s+\*\s+(.+)/", $line, $ma)) {
$param = 'description';
$val = trim($ma[1]);
$description_found = !empty($val);
}
} else {
- if(preg_match("/^\s+\*\s+\@([^\s]+)\s+(.+)/", $line, $ma)) {
+ if (preg_match("/^\s+\*\s+\@([^\s]+)\s+(.+)/", $line, $ma)) {
$param = trim($ma[1]);
$val = trim($ma[2]);
- if(!empty($param) && !empty($val)) {
- if($param == 'internal') {
+ if (!empty($param) && !empty($val)) {
+ if ($param == 'internal') {
$ma = null;
- if(preg_match("/\@([^\s]+)\s+(.+)/", $val, $ma)) {
+ if (preg_match("/\@([^\s]+)\s+(.+)/", $val, $ma)) {
$param = trim($ma[1]);
$val = trim($ma[2]);
}
}
}
- } elseif(preg_match("/^\s*\*\/\s*$/", $line)) {
+ } elseif (preg_match("/^\s*\*\/\s*$/", $line)) {
$docblock_end_found = true;
}
}
return array(
- 'docblock_start_found'=>$docblock_start_found,
- 'name_found'=>$name_found,
- 'description_found'=>$description_found,
- 'docblock_end_found'=>$docblock_end_found,
- 'param'=>$param,
- 'val'=>$val
+ 'docblock_start_found' => $docblock_start_found,
+ 'name_found' => $name_found,
+ 'description_found' => $description_found,
+ 'docblock_end_found' => $docblock_end_found,
+ 'param' => $param,
+ 'val' => $val
);
}
/**
* Renders docBlock-parameters into human readable list
*
- * @param array $parsed
+ * @param array $parsed
* @return string List in HTML-format
*/
- function convertDocBlockIntoList($parsed) {
+ function convertDocBlockIntoList($parsed)
+ {
global $_lang;
-
+
// Replace special placeholders & make URLs + Emails clickable
- $ph = array('site_url'=>MODX_SITE_URL);
+ $ph = array('site_url' => MODX_SITE_URL);
$regexUrl = "/((http|https|ftp|ftps)\:\/\/[^\/]+(\/[^\s]+[^,.?!:;\s])?)/";
$regexEmail = '#([0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-wyz][a-z](fo|g|l|m|mes|o|op|pa|ro|seum|t|u|v|z)?)#i';
- $emailSubject = isset($parsed['name']) ? '?subject='.$parsed['name'] : '';
- $emailSubject .= isset($parsed['version']) ? ' v'.$parsed['version'] : '';
- foreach($parsed as $key=>$val) {
- if(is_array($val)) {
- foreach($val as $key2=>$val2) {
+ $emailSubject = isset($parsed['name']) ? '?subject=' . $parsed['name'] : '';
+ $emailSubject .= isset($parsed['version']) ? ' v' . $parsed['version'] : '';
+ foreach ($parsed as $key => $val) {
+ if (is_array($val)) {
+ foreach ($val as $key2 => $val2) {
$val2 = $this->parseText($val2, $ph);
- if(preg_match($regexUrl, $val2, $url)) $val2 = preg_replace($regexUrl, "{$url[0]} ", $val2);
- if(preg_match($regexEmail, $val2, $url)) $val2 = preg_replace($regexEmail, '\\1 ', $val2);
+ if (preg_match($regexUrl, $val2, $url)) {
+ $val2 = preg_replace($regexUrl, "{$url[0]} ", $val2);
+ }
+ if (preg_match($regexEmail, $val2, $url)) {
+ $val2 = preg_replace($regexEmail, '\\1 ', $val2);
+ }
$parsed[$key][$key2] = $val2;
}
} else {
$val = $this->parseText($val, $ph);
- if(preg_match($regexUrl, $val, $url)) $val = preg_replace($regexUrl, "{$url[0]} ", $val);
- if(preg_match($regexEmail, $val, $url)) $val = preg_replace($regexEmail, '\\1 ', $val);
+ if (preg_match($regexUrl, $val, $url)) {
+ $val = preg_replace($regexUrl, "{$url[0]} ", $val);
+ }
+ if (preg_match($regexEmail, $val, $url)) {
+ $val = preg_replace($regexEmail, '\\1 ', $val);
+ }
$parsed[$key] = $val;
}
}
$arrayParams = array(
- 'documentation'=>$_lang['documentation'],
- 'reportissues'=>$_lang['report_issues'],
- 'link'=>$_lang['further_info'],
- 'author'=>$_lang['author_infos']
+ 'documentation' => $_lang['documentation'],
+ 'reportissues' => $_lang['report_issues'],
+ 'link' => $_lang['further_info'],
+ 'author' => $_lang['author_infos']
);
-
+
$nl = "\n";
- $list = isset($parsed['logo']) ? ' '.$nl : '';
- $list .= ''.$nl;
- $list .= isset($parsed['name']) ? ''.$parsed['name'].' '.$nl : '';
- $list .= isset($parsed['description']) ? $parsed['description'].$nl : '';
- $list .= '
'.$nl;
- $list .= isset($parsed['version']) ? ''.$_lang['version'].': '.$parsed['version'].'
'.$nl : '';
- $list .= isset($parsed['license']) ? ''.$_lang['license'].': '.$parsed['license'].'
'.$nl : '';
- $list .= isset($parsed['lastupdate']) ? ''.$_lang['last_update'].': '.$parsed['lastupdate'].'
'.$nl : '';
- $list .= ' '.$nl;
+ $list = isset($parsed['logo']) ? ' ' . $nl : '';
+ $list .= '' . $nl;
+ $list .= isset($parsed['name']) ? '' . $parsed['name'] . ' ' . $nl : '';
+ $list .= isset($parsed['description']) ? $parsed['description'] . $nl : '';
+ $list .= '
' . $nl;
+ $list .= isset($parsed['version']) ? '' . $_lang['version'] . ': ' . $parsed['version'] . '
' . $nl : '';
+ $list .= isset($parsed['license']) ? '' . $_lang['license'] . ': ' . $parsed['license'] . '
' . $nl : '';
+ $list .= isset($parsed['lastupdate']) ? '' . $_lang['last_update'] . ': ' . $parsed['lastupdate'] . '
' . $nl : '';
+ $list .= ' ' . $nl;
$first = true;
- foreach($arrayParams as $param=>$label) {
+ foreach ($arrayParams as $param => $label) {
if (isset($parsed[$param])) {
- if($first) {
- $list .= ''.$_lang['references'].'
'.$nl;
- $list .= '' . $nl : '';
+
return $list;
}
- function removeSanitizeSeed ($string=''){
+ /**
+ * @param string $string
+ * @return mixed|string
+ */
+ function removeSanitizeSeed($string = '')
+ {
global $sanitize_seed;
-
- if(!$string || strpos($string,$sanitize_seed)===false) return $string;
-
+
+ if (!$string || strpos($string, $sanitize_seed) === false) {
+ return $string;
+ }
+
return str_replace($sanitize_seed, '', $string);
}
-
- function cleanUpMODXTags($content='') {
- if ($this->minParserPasses < 1) return $content;
-
- $content = $this->removeSanitizeSeed($content);
-
+
+ /**
+ * @param string $content
+ * @return mixed|string
+ */
+ function cleanUpMODXTags($content = '')
+ {
+ if ($this->minParserPasses < 1) {
+ return $content;
+ }
+
$enable_filter = $this->config['enable_filter'];
$this->config['enable_filter'] = 1;
- $_ = array('[* *]','[( )]','{{ }}','[[ ]]','[+ +]');
- foreach($_ as $brackets) {
- list($left,$right) = explode(' ', $brackets);
- if(strpos($content,$left)!==false) {
- if ($left==='[*') $content = $this->mergeDocumentContent($content);
- elseif($left==='[(') $content = $this->mergeSettingsContent($content);
- elseif($left==='{{') $content = $this->mergeChunkContent($content);
- elseif($left==='[[') $content = $this->evalSnippets($content);
+ $_ = array('[* *]', '[( )]', '{{ }}', '[[ ]]', '[+ +]');
+ foreach ($_ as $brackets) {
+ list($left, $right) = explode(' ', $brackets);
+ if (strpos($content, $left) !== false) {
+ if ($left === '[*') {
+ $content = $this->mergeDocumentContent($content);
+ } elseif ($left === '[(') {
+ $content = $this->mergeSettingsContent($content);
+ } elseif ($left === '{{') {
+ $content = $this->mergeChunkContent($content);
+ } elseif ($left === '[[') {
+ $content = $this->evalSnippets($content);
+ }
}
}
- foreach($_ as $brackets) {
- list($left,$right) = explode(' ', $brackets);
- if(strpos($content,$left)!==false) {
- $matches = $this->getTagsFromContent($content,$left,$right);
- $content= str_replace($matches[0], '', $content);
+ foreach ($_ as $brackets) {
+ list($left, $right) = explode(' ', $brackets);
+ if (strpos($content, $left) !== false) {
+ $matches = $this->getTagsFromContent($content, $left, $right);
+ $content = str_replace($matches[0], '', $content);
}
}
$this->config['enable_filter'] = $enable_filter;
return $content;
}
-
- function strip_tags($str='', $allowable_tags='') {
+
+ /**
+ * @param string $str
+ * @param string $allowable_tags
+ * @return string
+ */
+ function strip_tags($str = '', $allowable_tags = '')
+ {
$str = strip_tags($str, $allowable_tags);
modx_sanitize_gpc($str);
return $str;
}
-
- function addSnippet($name, $phpCode) {
- $this->snippetCache['#'.$name] = $phpCode;
+
+ /**
+ * @param $name
+ * @param $phpCode
+ */
+ function addSnippet($name, $phpCode)
+ {
+ $this->snippetCache['#' . $name] = $phpCode;
}
-
- function addChunk($name, $text) {
- $this->chunkCache['#'.$name] = $text;
+
+ /**
+ * @param $name
+ * @param $text
+ */
+ function addChunk($name, $text)
+ {
+ $this->chunkCache['#' . $name] = $text;
}
-
- function safeEval($phpcode='',$evalmode='',$safe_functions='') {
- if($evalmode=='') $evalmode = $this->config['allow_eval'];
- if($safe_functions=='') $safe_functions = $this->config['safe_functions_at_eval'];
-
+
+ /**
+ * @param string $phpcode
+ * @param string $evalmode
+ * @param string $safe_functions
+ * @return string|void
+ */
+ function safeEval($phpcode = '', $evalmode = '', $safe_functions = '')
+ {
+ if ($evalmode == '') {
+ $evalmode = $this->config['allow_eval'];
+ }
+ if ($safe_functions == '') {
+ $safe_functions = $this->config['safe_functions_at_eval'];
+ }
+
modx_sanitize_gpc($phpcode);
-
- switch($evalmode) {
- case 'with_scan' : $isSafe = $this->isSafeCode($phpcode,$safe_functions); break;
- case 'with_scan_at_post' : $isSafe = $_POST ? $this->isSafeCode($phpcode,$safe_functions) : true; break;
- case 'everytime_eval' : $isSafe = true; break; // Should debug only
- case 'dont_eval' :
- default : return $phpcode;
- }
-
- if(!$isSafe) {
- $msg = $phpcode . "\n" . $this->currentSnippet . "\n" . print_r($_SERVER,true);
- $title = sprintf('Unknown eval was executed (%s)', $this->htmlspecialchars(substr(trim($phpcode),0,50)));
+
+ switch ($evalmode) {
+ case 'with_scan' :
+ $isSafe = $this->isSafeCode($phpcode, $safe_functions);
+ break;
+ case 'with_scan_at_post' :
+ $isSafe = $_POST ? $this->isSafeCode($phpcode, $safe_functions) : true;
+ break;
+ case 'everytime_eval' :
+ $isSafe = true;
+ break; // Should debug only
+ case 'dont_eval' :
+ default :
+ return $phpcode;
+ }
+
+ if (!$isSafe) {
+ $msg = $phpcode . "\n" . $this->currentSnippet . "\n" . print_r($_SERVER, true);
+ $title = sprintf('Unknown eval was executed (%s)', $this->htmlspecialchars(substr(trim($phpcode), 0, 50)));
$this->messageQuit($title, '', true, '', '', 'Parser', $msg);
return;
}
-
+
ob_start();
$return = eval($phpcode);
$echo = ob_get_clean();
-
- if(is_array($return)) return 'array()';
-
- $output = $echo.$return;
+
+ if (is_array($return)) {
+ return 'array()';
+ }
+
+ $output = $echo . $return;
modx_sanitize_gpc($output);
return $this->htmlspecialchars($output); // Maybe, all html tags are dangerous
}
-
- function isSafeCode($phpcode='',$safe_functions='') { // return true or false
- if($safe_functions=='') return false;
-
+
+ /**
+ * @param string $phpcode
+ * @param string $safe_functions
+ * @return bool
+ */
+ function isSafeCode($phpcode = '', $safe_functions = '')
+ { // return true or false
+ if ($safe_functions == '') {
+ return false;
+ }
+
$safe = explode(',', $safe_functions);
-
- $phpcode = rtrim($phpcode,';') . ';';
+
+ $phpcode = rtrim($phpcode, ';') . ';';
$tokens = token_get_all('$token) {
- if(!is_array($token)) continue;
+ foreach ($tokens as $i => $token) {
+ if (!is_array($token)) {
+ continue;
+ }
$tokens[$i]['token_name'] = token_name($token[0]);
}
- foreach($tokens as $token) {
- if(!is_array($token)) continue;
- switch($token['token_name']) {
+ foreach ($tokens as $token) {
+ if (!is_array($token)) {
+ continue;
+ }
+ switch ($token['token_name']) {
case 'T_STRING':
- if(!in_array($token[1],$safe)) return false;
+ if (!in_array($token[1], $safe)) {
+ return false;
+ }
break;
case 'T_VARIABLE':
- if($token[1]=='$GLOBALS') return false;
+ if ($token[1] == '$GLOBALS') {
+ return false;
+ }
break;
case 'T_EVAL':
return false;
@@ -4979,43 +5876,72 @@ function isSafeCode($phpcode='',$safe_functions='') { // return true or false
}
return true;
}
-
- function atBindFileContent($str='') {
-
- $search_path = array('assets/tvs/', 'assets/chunks/', 'assets/templates/', $this->config['rb_base_url'].'files/', '');
-
- if(stripos($str,'@FILE')!==0) return $str;
- if(strpos($str,"\n")!==false) $str = substr($str,0,strpos("\n",$str));
-
- if($this->getExtFromFilename($str)==='.php') return 'Could not retrieve PHP file.';
-
- $str = substr($str,6);
+
+ /**
+ * @param string $str
+ * @return bool|mixed|string
+ */
+ function atBindFileContent($str = '')
+ {
+
+ $search_path = array('assets/tvs/', 'assets/chunks/', 'assets/templates/', $this->config['rb_base_url'] . 'files/', '');
+
+ if (stripos($str, '@FILE') !== 0) {
+ return $str;
+ }
+ if (strpos($str, "\n") !== false) {
+ $str = substr($str, 0, strpos("\n", $str));
+ }
+
+ if ($this->getExtFromFilename($str) === '.php') {
+ return 'Could not retrieve PHP file.';
+ }
+
+ $str = substr($str, 6);
$str = trim($str);
- if(strpos($str,'\\')!==false) $str = str_replace('\\','/',$str);
- $str = ltrim($str,'/');
-
+ if (strpos($str, '\\') !== false) {
+ $str = str_replace('\\', '/', $str);
+ }
+ $str = ltrim($str, '/');
+
$errorMsg = sprintf("Could not retrieve string '%s'.", $str);
-
- foreach($search_path as $path) {
- $file_path = MODX_BASE_PATH.$path.$str;
- if(strpos($file_path,MODX_MANAGER_PATH)===0) return $errorMsg;
- elseif(is_file($file_path)) break;
- else $file_path = false;
- }
-
- if(!$file_path) return $errorMsg;
-
- $content = (string) file_get_contents($file_path);
- if($content===false) return $errorMsg;
-
+
+ foreach ($search_path as $path) {
+ $file_path = MODX_BASE_PATH . $path . $str;
+ if (strpos($file_path, MODX_MANAGER_PATH) === 0) {
+ return $errorMsg;
+ } elseif (is_file($file_path)) {
+ break;
+ } else {
+ $file_path = false;
+ }
+ }
+
+ if (!$file_path) {
+ return $errorMsg;
+ }
+
+ $content = (string)file_get_contents($file_path);
+ if ($content === false) {
+ return $errorMsg;
+ }
+
return $content;
}
-
- function getExtFromFilename($str) {
+
+ /**
+ * @param $str
+ * @return bool|string
+ */
+ function getExtFromFilename($str)
+ {
$str = strtolower(trim($str));
- $pos = strrpos($str,'.');
- if($pos===false) return false;
- else return substr($str,$pos);
+ $pos = strrpos($str, '.');
+ if ($pos === false) {
+ return false;
+ } else {
+ return substr($str, $pos);
+ }
}
/***************************************************************************************/
/* End of API functions */
@@ -5035,40 +5961,69 @@ function getExtFromFilename($str) {
* @param string $line Line number within $file
* @return boolean
*/
- function phpError($nr, $text, $file, $line) {
+ function phpError($nr, $text, $file, $line)
+ {
if (error_reporting() == 0 || $nr == 0) {
return true;
}
- if($this->stopOnNotice == false)
- {
- switch($nr)
- {
+ if ($this->stopOnNotice == false) {
+ switch ($nr) {
case E_NOTICE:
- if($this->error_reporting <= 2) return true;
+ if ($this->error_reporting <= 2) {
+ return true;
+ }
+ $isError = false;
+ $msg = 'PHP Minor Problem (this message show logged in only)';
break;
case E_STRICT:
case E_DEPRECATED:
- if($this->error_reporting <= 1) return true;
+ if ($this->error_reporting <= 1) {
+ return true;
+ }
+ $isError = true;
+ $msg = 'PHP Strict Standards Problem';
break;
default:
- if($this->error_reporting === 0) return true;
+ if ($this->error_reporting === 0) {
+ return true;
+ }
+ $isError = true;
+ $msg = 'PHP Parse Error';
}
}
if (is_readable($file)) {
- $source= file($file);
- $source= $this->htmlspecialchars($source[$line -1]);
+ $source = file($file);
+ $source = $this->htmlspecialchars($source[$line - 1]);
} else {
- $source= "";
+ $source = "";
} //Error $nr in $file at $line: $source
- $this->messageQuit("PHP Parse Error", '', true, $nr, $file, $source, $text, $line);
+
+ $this->messageQuit($msg, '', $isError, $nr, $file, $source, $text, $line);
}
- function messageQuit($msg= 'unspecified error', $query= '', $is_error= true, $nr= '', $file= '', $source= '', $text= '', $line= '', $output='') {
-
- if(0<$this->messageQuitCount) return;
+ /**
+ * @param string $msg
+ * @param string $query
+ * @param bool $is_error
+ * @param string $nr
+ * @param string $file
+ * @param string $source
+ * @param string $text
+ * @param string $line
+ * @param string $output
+ * @return bool
+ */
+ function messageQuit($msg = 'unspecified error', $query = '', $is_error = true, $nr = '', $file = '', $source = '', $text = '', $line = '', $output = '')
+ {
+
+ if (0 < $this->messageQuitCount) {
+ return;
+ }
$this->messageQuitCount++;
-
- if (!class_exists('makeTable')) include_once('extenders/maketable.class.php');
+
+ if (!class_exists('makeTable')) {
+ include_once('extenders/maketable.class.php');
+ }
$MakeTable = new MakeTable();
$MakeTable->setTableClass('grid');
$MakeTable->setRowRegularClass('gridItem');
@@ -5077,99 +6032,99 @@ function messageQuit($msg= 'unspecified error', $query= '', $is_error= true, $nr
$table = array();
- $version= isset ($GLOBALS['modx_version']) ? $GLOBALS['modx_version'] : '';
- $release_date= isset ($GLOBALS['release_date']) ? $GLOBALS['release_date'] : '';
- $request_uri = "http://".$_SERVER['HTTP_HOST'].($_SERVER["SERVER_PORT"]==80?"":(":".$_SERVER["SERVER_PORT"])).$_SERVER['REQUEST_URI'];
+ $version = isset ($GLOBALS['modx_version']) ? $GLOBALS['modx_version'] : '';
+ $release_date = isset ($GLOBALS['release_date']) ? $GLOBALS['release_date'] : '';
+ $request_uri = "http://" . $_SERVER['HTTP_HOST'] . ($_SERVER["SERVER_PORT"] == 80 ? "" : (":" . $_SERVER["SERVER_PORT"])) . $_SERVER['REQUEST_URI'];
$request_uri = $this->htmlspecialchars($request_uri, ENT_QUOTES, $this->config['modx_charset']);
- $ua = $this->htmlspecialchars($_SERVER['HTTP_USER_AGENT'], ENT_QUOTES, $this->config['modx_charset']);
- $referer = $this->htmlspecialchars($_SERVER['HTTP_REFERER'], ENT_QUOTES, $this->config['modx_charset']);
+ $ua = $this->htmlspecialchars($_SERVER['HTTP_USER_AGENT'], ENT_QUOTES, $this->config['modx_charset']);
+ $referer = $this->htmlspecialchars($_SERVER['HTTP_REFERER'], ENT_QUOTES, $this->config['modx_charset']);
if ($is_error) {
- $str = '« MODX Parse Error » ';
- if($msg != 'PHP Parse Error') {
+ $str = '« Evo Parse Error » ';
+ if ($msg != 'PHP Parse Error') {
$str .= '' . $msg . ' ';
}
} else {
- $str = '« MODX Debug/ stop message » ';
- $str .= ''.$msg.' ';
+ $str = '« Evo Debug/ stop message » ';
+ $str .= '' . $msg . ' ';
}
if (!empty ($query)) {
$str .= 'SQL > ' . $query . '
';
}
- $errortype= array (
- E_ERROR => "ERROR",
- E_WARNING => "WARNING",
- E_PARSE => "PARSING ERROR",
- E_NOTICE => "NOTICE",
- E_CORE_ERROR => "CORE ERROR",
- E_CORE_WARNING => "CORE WARNING",
- E_COMPILE_ERROR => "COMPILE ERROR",
- E_COMPILE_WARNING => "COMPILE WARNING",
- E_USER_ERROR => "USER ERROR",
- E_USER_WARNING => "USER WARNING",
- E_USER_NOTICE => "USER NOTICE",
- E_STRICT => "STRICT NOTICE",
+ $errortype = array(
+ E_ERROR => "ERROR",
+ E_WARNING => "WARNING",
+ E_PARSE => "PARSING ERROR",
+ E_NOTICE => "NOTICE",
+ E_CORE_ERROR => "CORE ERROR",
+ E_CORE_WARNING => "CORE WARNING",
+ E_COMPILE_ERROR => "COMPILE ERROR",
+ E_COMPILE_WARNING => "COMPILE WARNING",
+ E_USER_ERROR => "USER ERROR",
+ E_USER_WARNING => "USER WARNING",
+ E_USER_NOTICE => "USER NOTICE",
+ E_STRICT => "STRICT NOTICE",
E_RECOVERABLE_ERROR => "RECOVERABLE ERROR",
- E_DEPRECATED => "DEPRECATED",
- E_USER_DEPRECATED => "USER DEPRECATED"
+ E_DEPRECATED => "DEPRECATED",
+ E_USER_DEPRECATED => "USER DEPRECATED"
);
- if(!empty($nr) || !empty($file))
- {
- if ($text != '')
- {
+ if (!empty($nr) || !empty($file)) {
+ if ($text != '') {
$str .= 'Error : ' . $text . '
';
}
- if($output!='')
- {
+ if ($output != '') {
$str .= '' . $output . '
';
}
- if($nr!=='') $table[] = array('ErrorType[num]' , $errortype [$nr] ."[".$nr."]");
- if($file) $table[] = array('File', $file);
- if($line) $table[] = array('Line', $line);
+ if ($nr !== '') {
+ $table[] = array('ErrorType[num]', $errortype [$nr] . "[" . $nr . "]");
+ }
+ if ($file) {
+ $table[] = array('File', $file);
+ }
+ if ($line) {
+ $table[] = array('Line', $line);
+ }
}
- if ($source != '')
- {
+ if ($source != '') {
$table[] = array("Source", $source);
}
- if(!empty($this->currentSnippet)) {
- $table[] = array('Current Snippet' , $this->currentSnippet);
+ if (!empty($this->currentSnippet)) {
+ $table[] = array('Current Snippet', $this->currentSnippet);
}
- if(!empty($this->event->activePlugin)) {
- $table[] = array('Current Plugin' , $this->event->activePlugin . '(' . $this->event->name . ')');
+ if (!empty($this->event->activePlugin)) {
+ $table[] = array('Current Plugin', $this->event->activePlugin . '(' . $this->event->name . ')');
}
- $str .= $MakeTable->create($table, array('Error information',''));
+ $str .= $MakeTable->create($table, array('Error information', ''));
$str .= " ";
$table = array();
- $table[] = array('REQUEST_URI' , $request_uri);
+ $table[] = array('REQUEST_URI', $request_uri);
- if($this->manager->action)
- {
+ if ($this->manager->action) {
include_once(MODX_MANAGER_PATH . 'includes/actionlist.inc.php');
global $action_list;
- $actionName =(isset($action_list[$this->manager->action])) ? " - {$action_list[$this->manager->action]}" : '';
+ $actionName = (isset($action_list[$this->manager->action])) ? " - {$action_list[$this->manager->action]}" : '';
- $table[] = array('Manager action' , $this->manager->action.$actionName);
+ $table[] = array('Manager action', $this->manager->action . $actionName);
}
- if(preg_match('@^[0-9]+@',$this->documentIdentifier))
- {
- $resource = $this->getDocumentObject('id',$this->documentIdentifier);
- $url = $this->makeUrl($this->documentIdentifier,'','','full');
- $table[] = array('Resource', '['.$this->documentIdentifier.'] '.$resource['pagetitle'].' ');
+ if (preg_match('@^[0-9]+@', $this->documentIdentifier)) {
+ $resource = $this->getDocumentObject('id', $this->documentIdentifier);
+ $url = $this->makeUrl($this->documentIdentifier, '', '', 'full');
+ $table[] = array('Resource', '[' . $this->documentIdentifier . '] ' . $resource['pagetitle'] . ' ');
}
- $table[] = array('Referer' , $referer);
- $table[] = array('User Agent' , $ua);
- $table[] = array('IP' , $_SERVER['REMOTE_ADDR']);
- $table[] = array('Current time' , date("Y-m-d H:i:s", $_SERVER['REQUEST_TIME'] + $this->config['server_offset_time']));
- $str .= $MakeTable->create($table, array('Basic info',''));
+ $table[] = array('Referer', $referer);
+ $table[] = array('User Agent', $ua);
+ $table[] = array('IP', $_SERVER['REMOTE_ADDR']);
+ $table[] = array('Current time', date("Y-m-d H:i:s", $_SERVER['REQUEST_TIME'] + $this->config['server_offset_time']));
+ $str .= $MakeTable->create($table, array('Basic info', ''));
$str .= " ";
$table = array();
@@ -5177,40 +6132,51 @@ function messageQuit($msg= 'unspecified error', $query= '', $is_error= true, $nr
$table[] = array('PHP', '[^p^]');
$table[] = array('Total', '[^t^]');
$table[] = array('Memory', '[^m^]');
- $str .= $MakeTable->create($table, array('Benchmarks',''));
+ $str .= $MakeTable->create($table, array('Benchmarks', ''));
$str .= " ";
- $totalTime= ($this->getMicroTime() - $this->tstart);
+ $totalTime = ($this->getMicroTime() - $this->tstart);
$mem = memory_get_peak_usage(true);
$total_mem = $mem - $this->mstart;
$total_mem = ($total_mem / 1024 / 1024) . ' mb';
- $queryTime= $this->queryTime;
- $phpTime= $totalTime - $queryTime;
- $queries= isset ($this->executedQueries) ? $this->executedQueries : 0;
- $queryTime= sprintf("%2.4f s", $queryTime);
- $totalTime= sprintf("%2.4f s", $totalTime);
- $phpTime= sprintf("%2.4f s", $phpTime);
+ $queryTime = $this->queryTime;
+ $phpTime = $totalTime - $queryTime;
+ $queries = isset ($this->executedQueries) ? $this->executedQueries : 0;
+ $queryTime = sprintf("%2.4f s", $queryTime);
+ $totalTime = sprintf("%2.4f s", $totalTime);
+ $phpTime = sprintf("%2.4f s", $phpTime);
- $str= str_replace('[^q^]', $queries, $str);
- $str= str_replace('[^qt^]',$queryTime, $str);
- $str= str_replace('[^p^]', $phpTime, $str);
- $str= str_replace('[^t^]', $totalTime, $str);
- $str= str_replace('[^m^]', $total_mem, $str);
+ $str = str_replace('[^q^]', $queries, $str);
+ $str = str_replace('[^qt^]', $queryTime, $str);
+ $str = str_replace('[^p^]', $phpTime, $str);
+ $str = str_replace('[^t^]', $totalTime, $str);
+ $str = str_replace('[^m^]', $total_mem, $str);
- if(isset($php_errormsg) && !empty($php_errormsg)) $str = "{$php_errormsg} \n{$str}";
+ if (isset($php_errormsg) && !empty($php_errormsg)) {
+ $str = "{$php_errormsg} \n{$str}";
+ }
$str .= $this->get_backtrace(debug_backtrace());
// Log error
- if(!empty($this->currentSnippet)) $source = 'Snippet - ' . $this->currentSnippet;
- elseif(!empty($this->event->activePlugin)) $source = 'Plugin - ' . $this->event->activePlugin;
- elseif($source!=='') $source = 'Parser - ' . $source;
- elseif($query!=='') $source = 'SQL Query';
- else $source = 'Parser';
- if($msg) $source .= ' / ' . $msg;
- if(isset($actionName) && !empty($actionName)) $source .= $actionName;
- switch($nr)
- {
+ if (!empty($this->currentSnippet)) {
+ $source = 'Snippet - ' . $this->currentSnippet;
+ } elseif (!empty($this->event->activePlugin)) {
+ $source = 'Plugin - ' . $this->event->activePlugin;
+ } elseif ($source !== '') {
+ $source = 'Parser - ' . $source;
+ } elseif ($query !== '') {
+ $source = 'SQL Query';
+ } else {
+ $source = 'Parser';
+ }
+ if ($msg) {
+ $source .= ' / ' . $msg;
+ }
+ if (isset($actionName) && !empty($actionName)) {
+ $source .= $actionName;
+ }
+ switch ($nr) {
case E_DEPRECATED :
case E_USER_DEPRECATED :
case E_STRICT :
@@ -5221,47 +6187,63 @@ function messageQuit($msg= 'unspecified error', $query= '', $is_error= true, $nr
default:
$error_level = 3;
}
- $this->logEvent(0, $error_level, $str,$source);
+ $this->logEvent(0, $error_level, $str, $source);
- if($error_level === 2 && $this->error_reporting!=='99') return true;
- if($this->error_reporting==='99' && !isset($_SESSION['mgrValidated'])) return true;
+ if ($error_level === 2 && $this->error_reporting !== '99') {
+ return true;
+ }
+ if ($this->error_reporting === '99' && !isset($_SESSION['mgrValidated'])) {
+ return true;
+ }
// Set 500 response header
- if($error_level !== 2) header('HTTP/1.1 500 Internal Server Error');
+ if ($error_level !== 2) {
+ header('HTTP/1.1 500 Internal Server Error');
+ }
// Display error
- if (isset($_SESSION['mgrValidated']))
- {
- echo 'MODX Content Manager ' . $version . ' » ' . $release_date . '
+ if (isset($_SESSION['mgrValidated'])) {
+ echo 'MODX Content Manager ' . $version . ' » ' . $release_date . '
' . $str . '';
+ } else {
+ echo 'Error';
}
- else echo 'Error';
ob_end_flush();
exit;
}
- function get_backtrace($backtrace) {
- if (!class_exists('makeTable')) include_once('extenders/maketable.class.php');
+ /**
+ * @param $backtrace
+ * @return string
+ */
+ function get_backtrace($backtrace)
+ {
+ if (!class_exists('makeTable')) {
+ include_once('extenders/maketable.class.php');
+ }
$MakeTable = new MakeTable();
$MakeTable->setTableClass('grid');
$MakeTable->setRowRegularClass('gridItem');
$MakeTable->setRowAlternateClass('gridAltItem');
$table = array();
$backtrace = array_reverse($backtrace);
- foreach ($backtrace as $key => $val)
- {
+ foreach ($backtrace as $key => $val) {
$key++;
- if(substr($val['function'],0,11)==='messageQuit') break;
- elseif(substr($val['function'],0,8)==='phpError') break;
- $path = str_replace('\\','/',$val['file']);
- if(strpos($path,MODX_BASE_PATH)===0) $path = substr($path,strlen(MODX_BASE_PATH));
- switch($val['type'])
- {
+ if (substr($val['function'], 0, 11) === 'messageQuit') {
+ break;
+ } elseif (substr($val['function'], 0, 8) === 'phpError') {
+ break;
+ }
+ $path = str_replace('\\', '/', $val['file']);
+ if (strpos($path, MODX_BASE_PATH) === 0) {
+ $path = substr($path, strlen(MODX_BASE_PATH));
+ }
+ switch ($val['type']) {
case '->':
case '::':
$functionName = $val['function'] = $val['class'] . $val['type'] . $val['function'];
@@ -5270,69 +6252,79 @@ function get_backtrace($backtrace) {
$functionName = $val['function'];
}
$tmp = 1;
- $args = array_pad(array(), count($val['args']), '$var');
+ $_ = (!empty($val['args'])) ? count($val['args']) : 0;
+ $args = array_pad(array(), $_, '$var');
$args = implode(", ", $args);
- $modx = & $this;
- $args = preg_replace_callback('/\$var/', function() use($modx, &$tmp, $val){
+ $modx = &$this;
+ $args = preg_replace_callback('/\$var/', function () use ($modx, &$tmp, $val) {
$arg = $val['args'][$tmp - 1];
- switch(true){
- case is_null($arg):{
+ switch (true) {
+ case is_null($arg): {
$out = 'NULL';
break;
}
- case is_numeric($arg):{
+ case is_numeric($arg): {
$out = $arg;
break;
}
- case is_scalar($arg):{
- $out = strlen($arg) > 20 ? 'string $var'.$tmp : ("'" . $this->htmlspecialchars(str_replace("'", "\\'", $arg)) . "'");
+ case is_scalar($arg): {
+ $out = strlen($arg) > 20 ? 'string $var' . $tmp : ("'" . $this->htmlspecialchars(str_replace("'", "\\'", $arg)) . "'");
break;
}
- case is_bool($arg):{
+ case is_bool($arg): {
$out = $arg ? 'TRUE' : 'FALSE';
break;
}
- case is_array($arg):{
- $out = 'array $var'.$tmp;
+ case is_array($arg): {
+ $out = 'array $var' . $tmp;
break;
}
- case is_object($arg):{
- $out = get_class($arg).' $var'.$tmp;
+ case is_object($arg): {
+ $out = get_class($arg) . ' $var' . $tmp;
break;
}
- default:{
- $out = '$var'.$tmp;
+ default: {
+ $out = '$var' . $tmp;
}
}
$tmp++;
return $out;
}, $args);
$line = array(
- "".$functionName." (".$args.")",
- $path." on line ".$val['line']
+ "" . $functionName . " (" . $args . ")",
+ $path . " on line " . $val['line']
);
$table[] = array(implode(" ", $line));
}
return $MakeTable->create($table, array('Backtrace'));
}
- function getRegisteredClientScripts() {
+ /**
+ * @return string
+ */
+ function getRegisteredClientScripts()
+ {
return implode("\n", $this->jscripts);
}
- function getRegisteredClientStartupScripts() {
+ /**
+ * @return string
+ */
+ function getRegisteredClientStartupScripts()
+ {
return implode("\n", $this->sjscripts);
}
-
+
/**
* Format alias to be URL-safe. Strip invalid characters.
*
* @param string $alias Alias to be formatted
* @return string Safe alias
*/
- function stripAlias($alias) {
+ function stripAlias($alias)
+ {
// let add-ons overwrite the default behavior
- $results = $this->invokeEvent('OnStripAlias', array ('alias'=>$alias));
+ $results = $this->invokeEvent('OnStripAlias', array('alias' => $alias));
if (!empty($results)) {
// if multiple plugins are registered, only the last one is used
return end($results);
@@ -5346,35 +6338,46 @@ function stripAlias($alias) {
return $alias;
}
}
-
- function nicesize($size) {
- $sizes = array('Tb'=>1099511627776, 'Gb'=>1073741824, 'Mb'=>1048576, 'Kb'=>1024, 'b'=>1);
- $precisions = count($sizes)-1;
- foreach ($sizes as $unit=>$bytes) {
- if ($size>=$bytes)
- return number_format($size/$bytes, $precisions).' '.$unit;
+
+ /**
+ * @param $size
+ * @return string
+ */
+ function nicesize($size)
+ {
+ $sizes = array('Tb' => 1099511627776, 'Gb' => 1073741824, 'Mb' => 1048576, 'Kb' => 1024, 'b' => 1);
+ $precisions = count($sizes) - 1;
+ foreach ($sizes as $unit => $bytes) {
+ if ($size >= $bytes) {
+ return number_format($size / $bytes, $precisions) . ' ' . $unit;
+ }
$precisions--;
}
return '0 b';
}
- function getHiddenIdFromAlias( $parentid, $alias ) {
- $table = $this->getFullTableName( 'site_content' );
- $query = $this->db->query( "SELECT sc.id, children.id AS child_id, children.alias, COUNT(children2.id) AS children_count
+ /**
+ * @param $parentid
+ * @param $alias
+ * @return bool
+ */
+ function getHiddenIdFromAlias($parentid, $alias)
+ {
+ $table = $this->getFullTableName('site_content');
+ $query = $this->db->query("SELECT sc.id, children.id AS child_id, children.alias, COUNT(children2.id) AS children_count
FROM {$table} sc
JOIN {$table} children ON children.parent = sc.id
LEFT JOIN {$table} children2 ON children2.parent = children.id
- WHERE sc.parent = {$parentid} AND sc.alias_visible = '0' GROUP BY children.id;"
- );
+ WHERE sc.parent = {$parentid} AND sc.alias_visible = '0' GROUP BY children.id;");
- while ( $child = $this->db->getRow( $query ) ) {
- if ( $child['alias'] == $alias || $child['child_id'] == $alias ) {
+ while ($child = $this->db->getRow($query)) {
+ if ($child['alias'] == $alias || $child['child_id'] == $alias) {
return $child['child_id'];
}
- if ( $child['children_count'] > 0 ) {
- $id = $this->getHiddenIdFromAlias( $child['id'], $alias );
- if ( $id ) {
+ if ($child['children_count'] > 0) {
+ $id = $this->getHiddenIdFromAlias($child['id'], $alias);
+ if ($id) {
return $id;
}
}
@@ -5383,101 +6386,162 @@ function getHiddenIdFromAlias( $parentid, $alias ) {
return false;
}
+ /**
+ * @param $alias
+ * @return bool|int
+ */
function getIdFromAlias($alias)
{
$children = array();
- if (isset($this->documentListing[$alias])) {return $this->documentListing[$alias];}
+ if (isset($this->documentListing[$alias])) {
+ return $this->documentListing[$alias];
+ }
$tbl_site_content = $this->getFullTableName('site_content');
- if($this->config['use_alias_path']==1)
- {
- if ( $alias == '.' ) {
+ if ($this->config['use_alias_path'] == 1) {
+ if ($alias == '.') {
return 0;
}
- if(strpos($alias,'/')!==false) $_a = explode('/', $alias);
- else $_a[] = $alias;
- $id= 0;
-
- foreach($_a as $alias)
- {
- if($id===false) break;
+ if (strpos($alias, '/') !== false) {
+ $_a = explode('/', $alias);
+ } else {
+ $_a[] = $alias;
+ }
+ $id = 0;
+
+ foreach ($_a as $alias) {
+ if ($id === false) {
+ break;
+ }
$alias = $this->db->escape($alias);
- $rs = $this->db->select('id', $tbl_site_content, "deleted=0 and parent='{$id}' and alias='{$alias}'");
- if($this->db->getRecordCount($rs)==0) $rs = $this->db->select('id', $tbl_site_content, "deleted=0 and parent='{$id}' and id='{$alias}'");
+ $rs = $this->db->select('id', $tbl_site_content, "deleted=0 and parent='{$id}' and alias='{$alias}'");
+ if ($this->db->getRecordCount($rs) == 0) {
+ $rs = $this->db->select('id', $tbl_site_content, "deleted=0 and parent='{$id}' and id='{$alias}'");
+ }
$next = $this->db->getValue($rs);
- $id = !$next ? $this->getHiddenIdFromAlias( $id, $alias ) : $next;
+ $id = !$next ? $this->getHiddenIdFromAlias($id, $alias) : $next;
}
- }
- else
- {
+ } else {
$rs = $this->db->select('id', $tbl_site_content, "deleted=0 and alias='{$alias}'", 'parent, menuindex');
$id = $this->db->getValue($rs);
- if (!$id) $id = false;
+ if (!$id) {
+ $id = false;
+ }
}
return $id;
}
- function atBindInclude($str='')
+ /**
+ * @param string $str
+ * @return bool|mixed|string
+ */
+ function atBindInclude($str = '')
{
- if(strpos($str,'@INCLUDE')!==0) return $str;
- if(strpos($str,"\n")!==false) $str = substr($str,0,strpos("\n",$str));
-
- $str = substr($str,9);
+ if (strpos($str, '@INCLUDE') !== 0) {
+ return $str;
+ }
+ if (strpos($str, "\n") !== false) {
+ $str = substr($str, 0, strpos("\n", $str));
+ }
+
+ $str = substr($str, 9);
$str = trim($str);
- $str = str_replace('\\','/',$str);
- $str = ltrim($str,'/');
-
+ $str = str_replace('\\', '/', $str);
+ $str = ltrim($str, '/');
+
$tpl_dir = 'assets/templates/';
-
- if(strpos($str,MODX_MANAGER_PATH)===0) return false;
- elseif(is_file(MODX_BASE_PATH . $str)) $file_path = MODX_BASE_PATH.$str;
- elseif(is_file(MODX_BASE_PATH . "{$tpl_dir}{$str}")) $file_path = MODX_BASE_PATH.$tpl_dir.$str;
- else return false;
-
- if(!$file_path || !is_file($file_path)) return false;
-
+
+ if (strpos($str, MODX_MANAGER_PATH) === 0) {
+ return false;
+ } elseif (is_file(MODX_BASE_PATH . $str)) {
+ $file_path = MODX_BASE_PATH . $str;
+ } elseif (is_file(MODX_BASE_PATH . "{$tpl_dir}{$str}")) {
+ $file_path = MODX_BASE_PATH . $tpl_dir . $str;
+ } else {
+ return false;
+ }
+
+ if (!$file_path || !is_file($file_path)) {
+ return false;
+ }
+
ob_start();
- $modx = & $this;
+ $modx = &$this;
$result = include($file_path);
- if($result===1) $result = '';
+ if ($result === 1) {
+ $result = '';
+ }
$content = ob_get_clean();
- if(!$content && $result) $content = $result;
+ if (!$content && $result) {
+ $content = $result;
+ }
return $content;
}
-
+
// php compat
+
+ /**
+ * @param $str
+ * @param int $flags
+ * @return mixed
+ */
function htmlspecialchars($str, $flags = ENT_COMPAT)
{
$this->loadExtension('PHPCOMPAT');
return $this->phpcompat->htmlspecialchars($str, $flags);
}
- function isJson($string, $returnData=false) {
+ /**
+ * @param $string
+ * @param bool $returnData
+ * @return bool|mixed
+ */
+ function isJson($string, $returnData = false)
+ {
$data = json_decode($string, true);
return (json_last_error() == JSON_ERROR_NONE) ? ($returnData ? $data : true) : false;
}
-
- function splitKeyAndFilter($key) {
- if($this->config['enable_filter']==1 && strpos($key,':')!==false && stripos($key,'@FILE')!==0)
- list($key,$modifiers) = explode(':', $key, 2);
- else
+
+ /**
+ * @param $key
+ * @return array
+ */
+ function splitKeyAndFilter($key)
+ {
+ if ($this->config['enable_filter'] == 1 && strpos($key, ':') !== false && stripos($key, '@FILE') !== 0) {
+ list($key, $modifiers) = explode(':', $key, 2);
+ } else {
$modifiers = false;
-
+ }
+
$key = trim($key);
- if($modifiers!==false) $modifiers = trim($modifiers);
-
- return array($key,$modifiers);
- }
-
- function applyFilter($value='', $modifiers=false, $key='') {
- if($modifiers===false || $modifiers=='raw') return $value;
- if($modifiers!==false) $modifiers = trim($modifiers);
-
+ if ($modifiers !== false) {
+ $modifiers = trim($modifiers);
+ }
+
+ return array($key, $modifiers);
+ }
+
+ /**
+ * @param string $value
+ * @param bool $modifiers
+ * @param string $key
+ * @return string
+ */
+ function applyFilter($value = '', $modifiers = false, $key = '')
+ {
+ if ($modifiers === false || $modifiers == 'raw') {
+ return $value;
+ }
+ if ($modifiers !== false) {
+ $modifiers = trim($modifiers);
+ }
+
$this->loadExtension('MODIFIERS');
- return $this->filter->phxFilter($key,$value,$modifiers);
+ return $this->filter->phxFilter($key, $value, $modifiers);
}
-
+
// End of class.
@@ -5487,42 +6551,64 @@ function applyFilter($value='', $modifiers=false, $key='') {
* Fixes the issue where passing an array into the q get variable causes errors
*
*/
- private static function _getCleanQueryString() {
+ private static function _getCleanQueryString()
+ {
$q = $_GET['q'];
//Return null if the query doesn't exist
- if(empty($q)) {
+ if (empty($q)) {
return null;
}
//If we have a string, return it
- if(is_string($q)) {
+ if (is_string($q)) {
return $q;
}
//If we have an array, return the first element
- if(is_array($q)) {
+ if (is_array($q)) {
return $q[0];
}
}
+
+ /**
+ * @param string $title
+ * @param string $msg
+ * @param int $type
+ */
+ public function addLog($title = 'no title', $msg = '', $type = 1)
+ {
+ if ($title === '') {
+ $title = 'no title';
+ }
+ if (is_array($msg)) {
+ $msg = '' . print_r($msg, true) . ' ';
+ } elseif ($msg === '') {
+ $msg = $_SERVER['REQUEST_URI'];
+ }
+ $this->logEvent(0, $type, $msg, $title);
+ }
+
}
/**
* System Event Class
*/
-class SystemEvent {
- var $name;
- var $_propagate;
- var $_output;
- var $activated;
- var $activePlugin;
+class SystemEvent
+{
+ public $name;
+ public $_propagate;
+ public $_output;
+ public $activated;
+ public $activePlugin;
/**
* @param string $name Name of the event
*/
- function __construct($name= "") {
+ function __construct($name = "")
+ {
$this->_resetEventObject();
- $this->name= $name;
+ $this->name = $name;
}
/**
@@ -5531,40 +6617,45 @@ function __construct($name= "") {
* @global array $SystemAlertMsgQueque
* @param string $msg The message
*/
- function alert($msg) {
+ function alert($msg)
+ {
global $SystemAlertMsgQueque;
- if ($msg == "")
+ if ($msg == "") {
return;
+ }
if (is_array($SystemAlertMsgQueque)) {
$title = '';
if ($this->name && $this->activePlugin) {
- $title= "" . $this->activePlugin . " - " . $this->name . "
";
+ $title = "" . $this->activePlugin . " - " . $this->name . "
";
}
- $SystemAlertMsgQueque[]= "$title$msg
";
+ $SystemAlertMsgQueque[] = "$title$msg
";
}
}
/**
* Output
- *
- * @param string $msg
+ *
+ * @param string $msg
*/
- function output($msg) {
+ function output($msg)
+ {
$this->_output .= $msg;
}
- /**
+ /**
* Stop event propogation
*/
- function stopPropagation() {
- $this->_propagate= false;
+ function stopPropagation()
+ {
+ $this->_propagate = false;
}
- function _resetEventObject() {
+ function _resetEventObject()
+ {
unset ($this->returnedValues);
- $this->name= "";
- $this->_output= "";
- $this->_propagate= true;
- $this->activated= false;
+ $this->name = "";
+ $this->_output = "";
+ $this->_propagate = true;
+ $this->activated = false;
}
}
diff --git a/manager/includes/error.class.inc.php b/manager/includes/error.class.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/dbapi.mysql.class.inc.php b/manager/includes/extenders/dbapi.mysql.class.inc.php
old mode 100644
new mode 100755
index 4197c5f778..fe1c4ded29
--- a/manager/includes/extenders/dbapi.mysql.class.inc.php
+++ b/manager/includes/extenders/dbapi.mysql.class.inc.php
@@ -335,6 +335,17 @@ function insert($fields, $intotable, $fromfields = "*", $fromtable = "", $where
return $lid;
}
}
+
+ function save($fields, $table, $where='') {
+
+ if($where === '') $mode = 'insert';
+ elseif($this->getRecordCount($this->select('*',$table,$where))==0) $mode = 'insert';
+ else $mode = 'update';
+
+ if($mode==='insert') return $this->insert($fields, $table);
+ else return $this->update($fields, $table, $where);
+ }
+
/**
* @name: isResult
*
diff --git a/manager/includes/extenders/dbapi.mysqli.class.inc.php b/manager/includes/extenders/dbapi.mysqli.class.inc.php
old mode 100644
new mode 100755
index 66709ac2fd..f1101227a5
--- a/manager/includes/extenders/dbapi.mysqli.class.inc.php
+++ b/manager/includes/extenders/dbapi.mysqli.class.inc.php
@@ -223,6 +223,16 @@ function insert($fields, $intotable, $fromfields = "*", $fromtable = "", $where
}
}
+ function save($fields, $table, $where='') { // This is similar to "replace into table".
+
+ if($where === '') $mode = 'insert';
+ elseif($this->getRecordCount($this->select('*',$table,$where))==0) $mode = 'insert';
+ else $mode = 'update';
+
+ if($mode==='insert') return $this->insert($fields, $table);
+ else return $this->update($fields, $table, $where);
+ }
+
function isResult($rs) {
return is_object($rs);
}
diff --git a/manager/includes/extenders/deprecated.functions.inc.php b/manager/includes/extenders/deprecated.functions.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/ex_dbapi.inc.php b/manager/includes/extenders/ex_dbapi.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/ex_export_site.inc.php b/manager/includes/extenders/ex_export_site.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/ex_getUserData.php b/manager/includes/extenders/ex_getUserData.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/ex_maketable.inc.php b/manager/includes/extenders/ex_maketable.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/ex_managerapi.inc.php b/manager/includes/extenders/ex_managerapi.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/ex_modifiers.inc.php b/manager/includes/extenders/ex_modifiers.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/ex_modxmailer.inc.php b/manager/includes/extenders/ex_modxmailer.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/ex_phpass.inc.php b/manager/includes/extenders/ex_phpass.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/ex_phpcompat.inc.php b/manager/includes/extenders/ex_phpcompat.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/export.class.inc.php b/manager/includes/extenders/export.class.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/manager.api.class.inc.php b/manager/includes/extenders/manager.api.class.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/message.quit.inc.php b/manager/includes/extenders/message.quit.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/modifiers.class.inc.php b/manager/includes/extenders/modifiers.class.inc.php
old mode 100644
new mode 100755
index d4947a67a6..fa701df2b0
--- a/manager/includes/extenders/modifiers.class.inc.php
+++ b/manager/includes/extenders/modifiers.class.inc.php
@@ -189,9 +189,7 @@ function parsePhx($key,$value,$modifiers)
foreach($modifiers as $i=>$a)
{
- if ($modx->debug) $fstart = $modx->getMicroTime();
$value = $this->Filter($key,$value, $a['cmd'], $a['opt']);
- if ($modx->debug) $modx->addLogEntry('$modx->filter->'.__FUNCTION__."(:{$a['cmd']})",$fstart);
}
$this->tmpCache[$cacheKey] = $value;
return $value;
@@ -340,19 +338,17 @@ function getValueFromPreset($key, $value, $cmd, $opt)
$this->condition[] = '&&';break;
case 'show':
case 'this':
- $conditional = join('*',$this->condition);
+ $conditional = join(' ',$this->condition);
$isvalid = intval(eval("return ({$conditional});"));
if ($isvalid) return $this->srcValue;
- else return NULL;
- break;
+ return NULL;
case 'then':
- $conditional = join('*',$this->condition);
+ $conditional = join(' ',$this->condition);
$isvalid = intval(eval("return ({$conditional});"));
if ($isvalid) return $opt;
- else return NULL;
- break;
+ return null;
case 'else':
- $conditional = join('*',$this->condition);
+ $conditional = join(' ',$this->condition);
$isvalid = intval(eval("return ({$conditional});"));
if (!$isvalid) return $opt;
break;
@@ -362,10 +358,11 @@ function getValueFromPreset($key, $value, $cmd, $opt)
$map = array();
$c = count($raw);
for($m=0; $m<$c; $m++) {
- $mi = explode('=',$raw[$m]);
+ $mi = explode('=',$raw[$m],2);
$map[$mi[0]] = $mi[1];
}
- return $map[$value];
+ if(isset($map[$value])) return $map[$value];
+ else return '';
##### End of Conditional Modifiers
##### Encode / Decode / Hash / Escape
@@ -374,6 +371,7 @@ function getValueFromPreset($key, $value, $cmd, $opt)
return htmlentities($value,ENT_QUOTES,$modx->config['modx_charset']);
case 'html_entity_decode':
case 'decode_html':
+ case 'html_decode':
return html_entity_decode($value,ENT_QUOTES,$modx->config['modx_charset']);
case 'esc':
case 'escape':
@@ -385,6 +383,7 @@ function getValueFromPreset($key, $value, $cmd, $opt)
case 'htmlspecialchars':
case 'hsc':
case 'encode_html':
+ case 'html_encode':
return preg_replace('/&(#[0-9]+|[a-z]+);/i', '&$1;', htmlspecialchars($value, ENT_QUOTES, $modx->config['modx_charset']));
case 'spam_protect':
return str_replace(array('@','.'),array('@','.'),$value);
@@ -411,8 +410,9 @@ function getValueFromPreset($key, $value, $cmd, $opt)
$value = preg_replace('@( )\n@','$1',$value);
$value = preg_replace('@ @',"\n",$value);
}
- return strip_tags($value,$params);
+ return $this->strip_tags($value,$params);
case 'urlencode':
+ case 'url_encode':
case 'encode_url':
return urlencode($value);
case 'base64_decode':
@@ -422,6 +422,7 @@ function getValueFromPreset($key, $value, $cmd, $opt)
case 'encode_sha1': $cmd = 'sha1';
case 'addslashes':
case 'urldecode':
+ case 'url_decode':
case 'rawurlencode':
case 'rawurldecode':
case 'base64_encode':
@@ -542,7 +543,7 @@ function getValueFromPreset($key, $value, $cmd, $opt)
break;
case 'replace_to':
case 'tpl':
- if($value!=='') return str_replace(array('[+value+]','[+output+]','{value}'),$value,$opt);
+ if($value!=='') return str_replace(array('[+value+]','[+output+]','{value}','%s'),$value,$opt);
break;
case 'eachtpl':
$value = explode('||',$value);
@@ -551,7 +552,11 @@ function getValueFromPreset($key, $value, $cmd, $opt)
$_[] = str_replace(array('[+value+]','[+output+]','{value}','%s'),$v,$opt);
}
return join("\n", $_);
- break;
+ case 'array_pop':
+ case 'array_shift':
+ if(strpos($value,'||')!==false) $delim = '||';
+ else $delim = ',';
+ return $cmd(explode($delim,$value));
case 'preg_replace':
case 'regex_replace':
if(empty($opt) || strpos($opt,',')===false) break;
@@ -643,7 +648,7 @@ function getValueFromPreset($key, $value, $cmd, $opt)
case 'calc':
$value = (int)$value;
if(empty($value)) $value = '0';
- $filter = str_replace(array('[+value+]','%s'),'?',$opt);
+ $filter = str_replace(array('[+value+]','[+output+]','{value}','%s'),'?',$opt);
$filter = preg_replace('@([a-zA-Z\n\r\t\s])@','',$filter);
if(strpos($filter,'?')===false) $filter = "?{$filter}";
$filter = str_replace('?',$value,$filter);
@@ -800,12 +805,11 @@ function getValueFromPreset($key, $value, $cmd, $opt)
$filename = MODX_BASE_PATH.$opt.$filename;
if(is_file($filename)){
- $size = filesize($filename);
clearstatcache();
+ $size = filesize($filename);
return $size;
}
else return '';
- break;
##### User info
case 'username':
case 'fullname':
@@ -912,7 +916,6 @@ function getValueFromPreset($key, $value, $cmd, $opt)
// If we haven't yet found the modifier, let's look elsewhere
default:
$value = $this->getValueFromElement($key, $value, $cmd, $opt);
- break;
}
return $value;
}
@@ -1133,4 +1136,16 @@ function str_shuffle($str) {
function str_word_count($str) {
return count(preg_split('~[^\p{L}\p{N}\']+~u',$str));
}
+ function strip_tags($value,$params='') {
+ global $modx;
+
+ if(stripos($params,'style')===false && stripos($value,'')!==false) {
+ $value = preg_replace('@.*?@is', '', $value);
+ }
+ if(stripos($params,'script')===false && stripos($value,'')!==false) {
+ $value = preg_replace('@.*?@is', '', $value);
+ }
+
+ return trim(strip_tags($value,$params));
+ }
}
diff --git a/manager/includes/extenders/modifiers/mdf_addbreak.inc.php b/manager/includes/extenders/modifiers/mdf_addbreak.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/modifiers/mdf_getimage.inc.php b/manager/includes/extenders/modifiers/mdf_getimage.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/modifiers/mdf_memberof.inc.php b/manager/includes/extenders/modifiers/mdf_memberof.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/modifiers/mdf_moduser.inc.php b/manager/includes/extenders/modifiers/mdf_moduser.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/modifiers/mdf_summary.inc.php b/manager/includes/extenders/modifiers/mdf_summary.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/modifiers/mdf_wordwrap.inc.php b/manager/includes/extenders/modifiers/mdf_wordwrap.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/modxmailer.class.inc.php b/manager/includes/extenders/modxmailer.class.inc.php
old mode 100644
new mode 100755
index 75c70390cf..c6d4cfb70f
--- a/manager/includes/extenders/modxmailer.class.inc.php
+++ b/manager/includes/extenders/modxmailer.class.inc.php
@@ -8,7 +8,12 @@
*******************************************************
*/
-include_once MODX_MANAGER_PATH . 'includes/controls/phpmailer/class.phpmailer.php';
+use PHPMailer\PHPMailer\PHPMailer;
+use PHPMailer\PHPMailer\Exception;
+
+require MODX_MANAGER_PATH . 'includes/controls/phpmailer/Exception.php';
+require MODX_MANAGER_PATH . 'includes/controls/phpmailer/PHPMailer.php';
+require MODX_MANAGER_PATH . 'includes/controls/phpmailer/SMTP.php';
/**
* Class MODxMailer
@@ -30,7 +35,7 @@ public function init(\DocumentParser $modx)
switch ($modx->config['email_method']) {
case 'smtp':
- $this->IsSMTP();
+ $this->isSMTP();
$this->SMTPSecure = $modx->config['smtp_secure'] === 'none' ? '' : $modx->config['smtp_secure'];
$this->Port = $modx->config['smtp_port'];
$this->Host = $modx->config['smtp_host'];
@@ -45,13 +50,13 @@ public function init(\DocumentParser $modx)
break;
case 'mail':
default:
- $this->IsMail();
+ $this->isMail();
}
$this->From = $modx->config['emailsender'];
$this->Sender = $modx->config['emailsender'];
$this->FromName = $modx->config['site_name'];
- $this->IsHTML(true);
+ $this->isHTML(true);
if (isset($modx->config['mail_charset']) && !empty($modx->config['mail_charset'])) {
$mail_charset = $modx->config['mail_charset'];
@@ -74,7 +79,7 @@ public function init(\DocumentParser $modx)
$this->Encoding = '7bit';
$this->mb_language = 'Japanese';
$this->encode_header_method = 'mb_encode_mimeheader';
- $this->IsHTML(false);
+ $this->isHTML(false);
break;
case 'windows-1251':
$this->CharSet = 'cp1251';
@@ -97,11 +102,13 @@ public function init(\DocumentParser $modx)
}
/**
- * Encode a header string optimally.
- * Picks shortest of Q, B, quoted-printable or none.
- * @access public
- * @param string $str
- * @param string $position
+ * Encode a header value (not including its label) optimally.
+ * Picks shortest of Q, B, or none. Result includes folding if needed.
+ * See RFC822 definitions for phrase, comment and text positions.
+ *
+ * @param string $str The header value to encode
+ * @param string $position What context the string will be used in
+ *
* @return string
*/
public function EncodeHeader($str, $position = 'text')
@@ -118,34 +125,23 @@ public function EncodeHeader($str, $position = 'text')
/**
* Create a message and send it.
* Uses the sending method specified by $Mailer.
- * @throws phpmailerException
- * @return boolean false on error - See the ErrorInfo property for details of the error.
+ *
+ * @throws Exception
+ *
+ * @return bool false on error - See the ErrorInfo property for details of the error
*/
public function Send()
{
$this->Body = $this->modx->removeSanitizeSeed($this->Body);
$this->Subject = $this->modx->removeSanitizeSeed($this->Subject);
- try {
- if (!$this->PreSend()) {
- return false;
- }
-
- return $this->PostSend();
- } catch (phpmailerException $e) {
- $this->setMailHeader();
- $this->SetError($e->getMessage());
- if ($this->exceptions) {
- throw $e;
- }
-
- return false;
- }
+ return parent::send();
}
/**
- * @param string $header
- * @param string $body
+ * @param string $header The message headers
+ * @param string $body The message body
+ *
* @return bool
*/
public function MailSend($header, $body)
@@ -180,7 +176,7 @@ public function MailSend($header, $body)
}
switch ($mode) {
case 'normal':
- return parent::MailSend($header, $body);
+ return parent::mailSend($header, $body);
break;
case 'mb':
return $this->mbMailSend($header, $body);
@@ -189,8 +185,9 @@ public function MailSend($header, $body)
}
/**
- * @param $header
- * @param $body
+ * @param string $header The message headers
+ * @param string $body The message body
+ *
* @return bool
*/
public function mbMailSend($header, $body)
@@ -245,9 +242,8 @@ public function mbMailSend($header, $body)
/**
* Add an error message to the error container.
- * @access protected
+ *
* @param string $msg
- * @return void
*/
public function SetError($msg)
{
@@ -260,6 +256,7 @@ public function SetError($msg)
/**
* @param $address
+ *
* @return array
*/
public function address_split($address)
@@ -292,6 +289,7 @@ public function getMIMEBody() {
/**
* @param string $header
+ *
* @return $this
*/
public function setMIMEHeader($header = '') {
@@ -302,6 +300,7 @@ public function setMIMEHeader($header = '') {
/**
* @param string $body
+ *
* @return $this
*/
public function setMIMEBody($body = '') {
@@ -312,6 +311,7 @@ public function setMIMEBody($body = '') {
/**
* @param string $header
+ *
* @return $this
*/
public function setMailHeader($header = '') {
@@ -326,4 +326,4 @@ public function setMailHeader($header = '') {
public function getMessageID() {
return trim($this->lastMessageID,'<>');
}
-}
+}
\ No newline at end of file
diff --git a/manager/includes/extenders/phpass.class.inc.php b/manager/includes/extenders/phpass.class.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/extenders/phpcompat.class.inc.php b/manager/includes/extenders/phpcompat.class.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/footer.inc.php b/manager/includes/footer.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/header.inc.php b/manager/includes/header.inc.php
old mode 100644
new mode 100755
index d453bd8841..a595cfcef3
--- a/manager/includes/header.inc.php
+++ b/manager/includes/header.inc.php
@@ -1,480 +1,571 @@
-INCLUDE_ORDERING_ERROR Please use the MODX Content Manager instead of accessing this file directly.");
-}
-$mxla = $modx_lang_attribute ? $modx_lang_attribute : 'en';
-
-// invoke OnManagerRegClientStartupHTMLBlock event
-$evtOut = $modx->invokeEvent('OnManagerMainFrameHeaderHTMLBlock');
-$modx_textdir = isset($modx_textdir) ? $modx_textdir : null;
-$onManagerMainFrameHeaderHTMLBlock = is_array($evtOut) ? implode("\n", $evtOut) : '';
-$textdir = $modx_textdir === 'rtl' ? 'rtl' : 'ltr';
-if (!isset($modx->config['mgr_jquery_path'])) {
- $modx->config['mgr_jquery_path'] = 'media/script/jquery/jquery.min.js';
-}
-if (!isset($modx->config['mgr_date_picker_path'])) {
- $modx->config['mgr_date_picker_path'] = 'media/script/air-datepicker/datepicker.inc.php';
-}
-
-if (!empty($_COOKIE['MODX_themeColor'])) {
- $body_class .= ' ' . $_COOKIE['MODX_themeColor'];
-}
-
-?>
-
-
-
- Evolution CMS
-
-
-
-
-
- = sprintf('' . "\n", $modx->config['mgr_jquery_path']) ?>
-
-
-
-
-
-
-
- = $onManagerMainFrameHeaderHTMLBlock . "\n" ?>
-
-
-
- class="= $body_class ?>">
+INCLUDE_ORDERING_ERROR Please use the MODX Content Manager instead of accessing this file directly.");
+}
+$mxla = $modx_lang_attribute ? $modx_lang_attribute : 'en';
+
+// invoke OnManagerRegClientStartupHTMLBlock event
+$evtOut = $modx->invokeEvent('OnManagerMainFrameHeaderHTMLBlock');
+$modx_textdir = isset($modx_textdir) ? $modx_textdir : null;
+$onManagerMainFrameHeaderHTMLBlock = is_array($evtOut) ? implode("\n", $evtOut) : '';
+$textdir = $modx_textdir === 'rtl' ? 'rtl' : 'ltr';
+if (!isset($modx->config['mgr_jquery_path'])) {
+ $modx->config['mgr_jquery_path'] = 'media/script/jquery/jquery.min.js';
+}
+if (!isset($modx->config['mgr_date_picker_path'])) {
+ $modx->config['mgr_date_picker_path'] = 'media/script/air-datepicker/datepicker.inc.php';
+}
+
+if (!empty($_COOKIE['MODX_themeColor'])) {
+ $body_class .= ' ' . $_COOKIE['MODX_themeColor'];
+}
+
+$css = 'media/style/' . $modx->config['manager_theme'] . '/style.css?v=' . $lastInstallTime;
+
+if ($modx->config['manager_theme'] == 'default') {
+ if (!file_exists(MODX_MANAGER_PATH . 'media/style/' . $modx->config['manager_theme'] . '/css/styles.min.css') && is_writable(MODX_MANAGER_PATH . 'media/style/' . $modx->config['manager_theme'] . '/css')) {
+ require_once MODX_BASE_PATH . 'assets/lib/Formatter/CSSMinify.php';
+ $minifier = new Formatter\CSSMinify();
+ $minifier->addFile(MODX_MANAGER_PATH . 'media/style/common/bootstrap/css/bootstrap.min.css');
+ $minifier->addFile(MODX_MANAGER_PATH . 'media/style/common/font-awesome/css/font-awesome.min.css');
+ $minifier->addFile(MODX_MANAGER_PATH . 'media/style/' . $modx->config['manager_theme'] . '/css/fonts.css');
+ $minifier->addFile(MODX_MANAGER_PATH . 'media/style/' . $modx->config['manager_theme'] . '/css/forms.css');
+ $minifier->addFile(MODX_MANAGER_PATH . 'media/style/' . $modx->config['manager_theme'] . '/css/mainmenu.css');
+ $minifier->addFile(MODX_MANAGER_PATH . 'media/style/' . $modx->config['manager_theme'] . '/css/tree.css');
+ $minifier->addFile(MODX_MANAGER_PATH . 'media/style/' . $modx->config['manager_theme'] . '/css/custom.css');
+ $minifier->addFile(MODX_MANAGER_PATH . 'media/style/' . $modx->config['manager_theme'] . '/css/tabpane.css');
+ $minifier->addFile(MODX_MANAGER_PATH . 'media/style/' . $modx->config['manager_theme'] . '/css/contextmenu.css');
+ $minifier->addFile(MODX_MANAGER_PATH . 'media/style/' . $modx->config['manager_theme'] . '/css/index.css');
+ $minifier->addFile(MODX_MANAGER_PATH . 'media/style/' . $modx->config['manager_theme'] . '/css/main.css');
+ $css = $minifier->minify();
+ file_put_contents(MODX_MANAGER_PATH . 'media/style/' . $modx->config['manager_theme'] . '/css/styles.min.css', $css);
+ }
+ if (file_exists(MODX_MANAGER_PATH . 'media/style/' . $modx->config['manager_theme'] . '/css/styles.min.css')) {
+ $css = 'media/style/' . $modx->config['manager_theme'] . '/css/styles.min.css?v=' . $lastInstallTime;
+ }
+}
+
+?>
+
+
+
+ Evolution CMS
+
+
+
+
+
+
+ = sprintf('' . "\n", $modx->config['mgr_jquery_path']) ?>
+ config['show_picker'] != "0") { ?>
+
+
+
+
+
+
+
+
+ = $onManagerMainFrameHeaderHTMLBlock . "\n" ?>
+
+
+
+ class="= $body_class ?>" data-evocp="color">
diff --git a/manager/includes/lang/bulgarian.inc.php b/manager/includes/lang/bulgarian.inc.php
old mode 100644
new mode 100755
index c653ff37a7..478777d14f
--- a/manager/includes/lang/bulgarian.inc.php
+++ b/manager/includes/lang/bulgarian.inc.php
@@ -839,10 +839,10 @@
$_lang["role_view_unpublished"] = 'Преглед на непубликувани документи';
$_lang["role_web_access_persmissions"] = 'Права за уеб достъп';
$_lang["role_web_user_management"] = 'Управление на уеб потребителите';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Въвеждане на URL адрес за MODX Новините.';
$_lang["rss_url_news_title"] = 'RSS на Новините';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Въвеждане на URL адрес за MODX Сигурността.';
$_lang["rss_url_security_title"] = 'RSS на Сигурността';
$_lang["run_module"] = 'Стартиране на модул';
diff --git a/manager/includes/lang/chinese.inc.php b/manager/includes/lang/chinese.inc.php
old mode 100644
new mode 100755
index 83d5b99422..04af77eff3
--- a/manager/includes/lang/chinese.inc.php
+++ b/manager/includes/lang/chinese.inc.php
@@ -840,10 +840,10 @@
$_lang["role_view_unpublished"] = '查看未发布文档';
$_lang["role_web_access_persmissions"] = '网站访问许可';
$_lang["role_web_user_management"] = '网站用户管理';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Enter the URL for the MODX News Feed.';
$_lang["rss_url_news_title"] = 'RSS News Feed';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Enter the URL for the MODX Security Feed.';
$_lang["rss_url_security_title"] = 'RSS Security Feed';
$_lang["run_module"] = '运行模块';
diff --git a/manager/includes/lang/country/bulgarian_country.inc.php b/manager/includes/lang/country/bulgarian_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/country/danish_country.inc.php b/manager/includes/lang/country/danish_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/country/english_country.inc.php b/manager/includes/lang/country/english_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/country/finnish_country.inc.php b/manager/includes/lang/country/finnish_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/country/francais-utf8_country.inc.php b/manager/includes/lang/country/francais-utf8_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/country/francais_country.inc.php b/manager/includes/lang/country/francais_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/country/german_country.inc.php b/manager/includes/lang/country/german_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/country/italian_country.inc.php b/manager/includes/lang/country/italian_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/country/nederlands-utf8_country.inc.php b/manager/includes/lang/country/nederlands-utf8_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/country/nederlands_country.inc.php b/manager/includes/lang/country/nederlands_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/country/polish-utf8_country.inc.php b/manager/includes/lang/country/polish-utf8_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/country/portuguese-br-utf8_country.inc.php b/manager/includes/lang/country/portuguese-br-utf8_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/country/portuguese_country.inc.php b/manager/includes/lang/country/portuguese_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/country/spanish-utf8_country.inc.php b/manager/includes/lang/country/spanish-utf8_country.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/czech.inc.php b/manager/includes/lang/czech.inc.php
old mode 100644
new mode 100755
index 492900098f..0db1d12095
--- a/manager/includes/lang/czech.inc.php
+++ b/manager/includes/lang/czech.inc.php
@@ -843,10 +843,10 @@
$_lang["role_view_unpublished"] = 'Zobrazit nepublikované dokumenty';
$_lang["role_web_access_persmissions"] = 'Webová přístupová práva';
$_lang["role_web_user_management"] = 'Správa návštěvníků';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Zadejte URL adresu pro načítání MODX RSS novinek.';
$_lang["rss_url_news_title"] = 'RSS novinky';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Zadejte URL adresu pro načítání MODX bezpečnostních zpráv.';
$_lang["rss_url_security_title"] = 'RSS bezpečnostní zprávy';
$_lang["run_module"] = 'Spustit modul';
diff --git a/manager/includes/lang/danish.inc.php b/manager/includes/lang/danish.inc.php
old mode 100644
new mode 100755
index 4d44cd5ae1..d6401f0ef0
--- a/manager/includes/lang/danish.inc.php
+++ b/manager/includes/lang/danish.inc.php
@@ -840,10 +840,10 @@
$_lang["role_view_unpublished"] = 'Se ikke-publicerede ressourcer';
$_lang["role_web_access_persmissions"] = 'Webbruger rettigheder';
$_lang["role_web_user_management"] = 'Webbruger administration';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Indtast URL\'en til MODX nyheds feed.';
$_lang["rss_url_news_title"] = 'RSS nyheds Feed';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Indtast URL\'en til MODX feed om sikkerhed.';
$_lang["rss_url_security_title"] = 'RSS feed om sikkerhed';
$_lang["run_module"] = 'Kør modulet';
diff --git a/manager/includes/lang/english.inc.php b/manager/includes/lang/english.inc.php
old mode 100644
new mode 100755
index 1d69bdfd8e..395a5afbc0
--- a/manager/includes/lang/english.inc.php
+++ b/manager/includes/lang/english.inc.php
@@ -1,1461 +1,1480 @@
-PHP Application Framework and Content Management System licensed under the GNU GPL .';
-$_lang["about_title"] = 'About Evolution';
-$_lang["access_permission_denied"] = 'You do not have the correct permissions for this Resource.';
-$_lang["access_permission_parent_denied"] = 'You do not have permission to create or move a Resource here! Please choose another location.';
-$_lang["access_permissions"] = 'Access permissions';
-$_lang["access_permissions_add_resource_group"] = 'Create a new Resource Group';
-$_lang["access_permissions_add_user_group"] = 'Create a new User Group';
-$_lang["access_permissions_docs_collision"] = 'Because the Web User Groups and Manager User Groups conflict for your Role, this Resource will be public. Contact a site administrator for further help.';
-$_lang["access_permissions_docs_message"] = 'Select which Resource Groups this Resource belongs to';
-$_lang["access_permissions_group_link"] = 'Create a new group link';
-$_lang["access_permissions_introtext"] = 'Manage the User Groups and Resource Groups used for access permissions. To add a user to a User Group, edit the user and select the groups (s)he should be a member of. To add a Resource to a User Group, edit the Resource and select the groups it should belong to.';
-$_lang["access_permissions_link_to_group"] = 'to Resource Group';
-$_lang["access_permissions_link_user_group"] = 'Link User Group';
-$_lang["access_permissions_links"] = 'User/Resource Group links';
-$_lang["access_permissions_links_tab"] = 'Specify which User Groups are given access (i.e. can edit or create children) to the Resource Groups. To link a Resource Group to a User Group, select the appropriate groups from the drop down menus, and click on \'Submit\'. To remove the link for a certain group, press \'Remove\'. This will immediately remove the link.';
-$_lang["access_permissions_no_resources_in_group"] = 'None.';
-$_lang["access_permissions_no_users_in_group"] = 'None.';
-$_lang["access_permissions_off"] = 'Access Permissions are not activated. This means any changes made here will not have any effect until Access Permissions are activated in your Configuration.';
-$_lang["access_permissions_resource_groups"] = 'Resource Groups';
-$_lang["access_permissions_resources_in_group"] = 'Resources in group: ';
-$_lang["access_permissions_resources_tab"] = 'See which Resource Groups have been created. Also create new groups, rename groups, delete groups and see which Resources are in the different groups (hover over the id of the Resource to see it\'s name). To add a Resource to a group or remove a Resource from a group, edit the Resource directly.';
-$_lang["access_permissions_user_groups"] = 'User groups';
-$_lang["access_permissions_user_message"] = 'Select which User Groups this user belongs to:';
-$_lang["access_permissions_users_in_group"] = 'Users in group:';
-$_lang["access_permissions_users_tab"] = 'View the User Groups that have been created. You can also create new groups, rename groups, delete groups and see which users are members of the different groups. To add a new user to a group or to remove a user from a group, edit the user directly. Administrators (users who have been assigned the role with ID 1) always have access to all Resources, so they don\'t need to be added to any groups.';
-$_lang["account_email"] = 'Account email';
-$_lang["actioncomplete"] = 'Action was completed successfully! - Please wait while EVO cleans up.';
-$_lang["activity_message"] = 'This list shows the last Resources you created or edited:';
-$_lang["activity_title"] = 'Recently edited/created Resources';
-$_lang["add"] = 'Add';
-$_lang["add_chunk"] = 'Add Chunk';
-$_lang["add_doc"] = 'Add Resource';
-$_lang["add_folder"] = 'New Directory';
-$_lang["add_plugin"] = 'Add Plugin';
-$_lang["add_resource"] = 'New Resource';
-$_lang["add_snippet"] = 'Add Snippet';
-$_lang["add_tag"] = 'Add tag';
-$_lang["add_template"] = 'Add Template';
-$_lang["add_tv"] = 'Add TV';
-$_lang["add_weblink"] = 'New Weblink';
-$_lang["administrator_role_message"] = 'This role cannot be edited or deleted.';
-$_lang["administrators"] = 'Administrators';
-$_lang["after_saving"] = 'After saving';
-$_lang["alert_delete_self"] = 'You can\'t delete yourself!';
-$_lang["alias"] = 'URL alias';
-$_lang["all_doc_groups"] = 'All Resource Groups (Public)';
-$_lang["all_events"] = 'All Events';
-$_lang["all_usr_groups"] = 'All User Groups (Public)';
-$_lang["allow_mgr_access"] = 'Manager Interface Access';
-$_lang["allow_mgr_access_message"] = 'Select this option to enable or disable access to the manager interface. NOTE: If this option is set to no then the user will be redirected to the Manager Login Startup or Site Start web page. ';
-$_lang["already_deleted"] = 'has already been deleted.';
-$_lang["attachment"] = 'Attachment';
-$_lang["author_infos"] = 'Author information';
-$_lang["automatic_alias_message"] = 'Select \'yes\' to have the system automatically generate a URL alias based on the Resource\'s page title when saving.';
-$_lang["automatic_alias_title"] = 'Automatically generate URL alias';
-$_lang["backup"] = 'Backup';
-$_lang["bk_manager"] = 'Backup';
-$_lang["block_message"] = 'This user will be blocked after saving the user\'s data!';
-$_lang["blocked_minutes_message"] = 'Enter the number of minutes that a user will be blocked for if they reach their maximum number of allowed failed login attempts. Please enter this value as numbers only (no commas, spaces etc.)';
-$_lang["blocked_minutes_title"] = 'Blocked Minutes';
-$_lang["cache_files_deleted"] = 'The following files were deleted:';
-$_lang["cancel"] = 'Cancel';
-$_lang["captcha_code"] = 'Security code';
-$_lang["captcha_message"] = 'Enable this to strengthen security by requiring users to enter a code which is unreadable by machines (and script-kiddy hacking scripts).';
-$_lang["captcha_title"] = 'Use CAPTCHA codes';
-$_lang["captcha_words_default"] = 'EVO,Access,Better,BitCode,Chunk,Cache,Desc,Design,Excell,Enjoy,URLs,TechView,Gerald,Griff,Humphrey,Holiday,Intel,Integration,Joystick,Join(),Oscope,Genetic,Light,Likeness,Marit,Maaike,Niche,Netherlands,Ordinance,Oscillo,Parser,Phusion,Query,Question,Regalia,Righteous,Snippet,Sentinel,Template,Thespian,Unity,Enterprise,Verily,Tattoo,Veri,Website,WideWeb,Yap,Yellow,Zebra,Zygote';
-$_lang["captcha_words_message"] = 'Enter a list of CAPTCHA words to use if CAPTCHA is enabled. Separate the words with commas. This input field is limited to 255 characters.';
-$_lang["captcha_words_title"] = 'CAPTCHA Words';
-$_lang["category_heading"] = 'Category';
-$_lang["category_manager"] = 'Category Manager';
-$_lang["category_management"] = 'Category management';
-$_lang["manage_categories"] = 'Manage Categories';
-$_lang["category_msg"] = 'View and edit all Elements grouped by category.';
-$_lang["cfg_base_path"] = 'MODX_BASE_PATH';
-$_lang["cfg_base_url"] = 'MODX_BASE_URL';
-$_lang["cfg_manager_path"] = 'MODX_MANAGER_PATH';
-$_lang["cfg_manager_url"] = 'MODX_MANAGER_URL';
-$_lang["cfg_site_url"] = 'MODX_SITE_URL';
-$_lang["change_name"] = 'Change name';
-$_lang["change_password"] = 'Change Password';
-$_lang["change_password_confirm"] = 'Confirm password';
-$_lang["change_password_message"] = 'Please enter your new password, and then enter it again to confirm. Your password needs to be between 6 and 15 characters long.';
-$_lang["change_password_new"] = 'New password';
-$_lang["charset_message"] = 'Select the default character encoding for the [(modx_charset)] system variable. This does not affect the Manager.';
-$_lang["charset_title"] = 'Character encoding';
-$_lang["chunk"] = 'Chunk';
-$_lang["chunk_code"] = 'Chunk code (html)';
-$_lang["chunk_multiple_id"] = 'Error: Multiple Chunks share the same unique ID.';
-$_lang["chunk_no_exist"] = 'Chunk does not exist.';
-$_lang["cleaningup"] = 'Cleaning up';
-$_lang["clean_uploaded_filename"] = 'Use Transliteration for File Uploads';
-$_lang["clean_uploaded_filename_message"] = 'Use the default or transalias settings for the file name to clean special characters from uploaded file names, preserving dot-characters (periods)';
-$_lang["clear_log"] = 'Clear log';
-$_lang["click_to_context"] = 'Click to access context menu';
-$_lang["click_to_edit_title"] = 'Click here to edit this record';
-$_lang["click_to_view_details"] = 'Click here to view details';
-$_lang["close"] = 'Close';
-$_lang["code"] = 'Code';
-$_lang["collapse_tree"] = 'Collapse Site Tree';
-$_lang["comment"] = 'Comment';
-$_lang["configcheck_admin"] = 'Please contact a systems administrator and warn them about this message!';
-$_lang["configcheck_cache"] = 'cache directory not writable';
-$_lang["configcheck_cache_msg"] = 'EVO cannot write to the cache directory. EVO will still function as expected, but no caching will take place. To solve this, make the /_cache/ directory writable.';
-$_lang["configcheck_configinc"] = 'Config file still writable';
-$_lang["configcheck_configinc_msg"] = 'Very naughty people could potentially wreak some havoc on your site and everything associated with it. Really. Please make your config file (/[+MGR_DIR+]/includes/config.inc.php) read only!';
-$_lang["configcheck_default_msg"] = 'An unspecified warning was found. Which is strange.';
-$_lang["configcheck_errorpage_unavailable"] = 'Your site\'s Error page is not available.';
-$_lang["configcheck_errorpage_unavailable_msg"] = 'This means that your Error page is not accessible to normal web surfers or does not exist. This can lead to a recursive looping condition and many errors in your site logs. Make sure there are no Webuser Groups assigned to the page.';
-$_lang["configcheck_errorpage_unpublished"] = 'Your site\'s Error page is not published or does not exist.';
-$_lang["configcheck_errorpage_unpublished_msg"] = 'This means that your Error page is inaccessible to the general public. Publish the page or make sure it is assigned to an existing Resource in your Site Tree in the Tools > Configuration menu.';
-$_lang["configcheck_hide_warning"] = 'Don\'t show this again. ';
-$_lang["configcheck_images"] = 'Images directory not writable';
-$_lang["configcheck_images_msg"] = 'The images directory isn\'t writable, or doesn\'t exist. This means the Image Manager functions in the editor will not work!';
-$_lang["configcheck_installer"] = 'Installer still present';
-$_lang["configcheck_installer_msg"] = 'The /install directory contains the installer for EVO. Just imagine what might happen if an evil person finds this directory and runs the installer! They\'d probably not get too far, because they need to enter some user information for the database, but it is still best to remove this directory from your server.';
-$_lang["configcheck_lang_difference"] = 'Incorrect number of entries in language file';
-$_lang["configcheck_lang_difference_msg"] = 'The currently selected language has a different number of entries than the default language. While not necessarily a problem, this may mean the language file needs to be updated.';
-$_lang["configcheck_notok"] = 'One or more configuration details didn\'t check out OK:';
-$_lang["configcheck_ok"] = 'Check passed OK - no warnings to report.';
-$_lang["configcheck_php_gdzip"] = 'GD and/or Zip PHP extensions not found';
-$_lang["configcheck_php_gdzip_msg"] = 'EVO needs the GD and Zip extension enabled for PHP. While EVO will work without them, you will not be able to take full advantage of the built-in File Manager, Image Editor or Captcha for logins.';
-$_lang["configcheck_register_globals"] = 'register_globals is set to ON in your php.ini configuration file';
-$_lang["configcheck_register_globals_msg"] = 'This configuration makes your site much more susceptible to Cross Site Scripting (XSS) attacks. You should speak to your host about what you can do to disable this setting.';
-$_lang["configcheck_title"] = 'Configuration check';
-$_lang["configcheck_templateswitcher_present"] = 'TemplateSwitcher Plugin detected';
-$_lang["configcheck_templateswitcher_present_delete"] = 'Delete TemplateSwitcher ';
-$_lang["configcheck_templateswitcher_present_disable"] = 'Disable TemplateSwitcher ';
-$_lang["configcheck_templateswitcher_present_msg"] = 'The TemplateSwitcher plugin has been found to cause caching and performance problems, and should be used only the functionality is required in your site.';
-$_lang["configcheck_unauthorizedpage_unavailable"] = 'Your site\'s Unauthorized page is not published or does not exist.';
-$_lang["configcheck_unauthorizedpage_unavailable_msg"] = 'This means that your Unauthorized page is not accessible to normal web surfers or does not exist. This can lead to a recursive looping condition and many errors in your site logs. Make sure there are no Webuser Groups assigned to the page.';
-$_lang["configcheck_unauthorizedpage_unpublished"] = 'The Unauthorized page defined in the site configuration settings is not published.';
-$_lang["configcheck_unauthorizedpage_unpublished_msg"] = 'This means that your Unauthorized page is inaccessible to the general public. Publish the page or make sure it is assigned to an existing Resource in your Site Tree in the Tools > Configuration menu.';
-$_lang["configcheck_validate_referer"] = 'Security Warning: HTTP Header Validation';
-$_lang["configcheck_validate_referer_msg"] = 'The configuration setting Validate HTTP_REFERER headers? is Off. We recommend turning it On. Go to Configuration options ';
-$_lang["configcheck_warning"] = 'Configuration warning: ';
-$_lang["configcheck_what"] = 'What does this mean?';
-$_lang["confirm_block"] = 'Are you sure you want to block this user?';
-$_lang["confirm_delete_category"] = 'Are you sure you want to delete this category?';
-$_lang["confirm_delete_eventlog"] = 'Are you sure you want to delete this event log?';
-$_lang["confirm_delete_file"] = 'Are you sure you want to delete the file?\n\nThis may stop your site from working properly! Only delete this file if you know for certain what you are doing will not break anything.';
-$_lang["confirm_delete_group"] = 'Are you sure you want to delete this group?';
-$_lang["confirm_delete_htmlsnippet"] = 'Are you sure you want to delete this Chunk?';
-$_lang["confirm_delete_keywords"] = 'Are you sure you want to delete these keywords?';
-$_lang["confirm_delete_module"] = 'Are you sure you want to delete this Module?';
-$_lang["confirm_delete_plugin"] = 'Are you sure you want to delete this Plugin?';
-$_lang["confirm_delete_record"] = 'Are you sure you want to delete the selected record(s)?';
-$_lang["confirm_delete_resource"] = 'Are you sure you want to delete this Resource?\nAny children Resources will also be deleted.';
-$_lang["confirm_delete_role"] = 'Are you sure you want to delete this role?';
-$_lang["confirm_delete_snippet"] = 'Are you sure you want to delete this Snippet?';
-$_lang["confirm_delete_tags"] = 'Are you sure you want to delete the selected META tags?';
-$_lang["confirm_delete_template"] = 'Are you sure you want to delete this Template?';
-$_lang["confirm_delete_tmplvars"] = 'Are you sure you want to remove this Template Variable and all stored values?';
-$_lang["confirm_delete_user"] = 'Are you sure you want to delete this User?';
-$_lang["confirm_duplicate_record"] = 'Are you sure you want to duplicate this record?';
-$_lang["confirm_empty_trash"] = 'This will permanently remove ALL deleted Resources?\n\nProceed?';
-$_lang["confirm_load_depends"] = 'Are you sure you want to load the Manage Dependencies screen without saving your modifications?';
-$_lang["confirm_name_change"] = 'Changing the user name can affect other applications that are linked to the Content Manager.\n\nAre you sure you want to change this user name?';
-$_lang["confirm_publish"] = '\n\nPublishing this Resource now will remove any (un)publishing dates that may have been set. If you wish to set or keep publish or unpublish dates, please choose to \'edit\' the Resource instead.\n\nProceed?';
-$_lang["confirm_remove_locks"] = 'Users sometimes close their browser while editing Resources, Templates, Snippets or parsers, possibly leaving the item they were editing in locked state. By pressing OK you can remove ALL locks currently in place.\n\nProceed?';
-$_lang["confirm_reset_sort_order"] = 'Are you sure you want to reset the \"sort order/index\" of all listed elements to 0 ?';
-$_lang["confirm_resource_duplicate"] = 'Are you sure you want to duplicate this Resource? Any item(s) it contains will also be duplicated.';
-$_lang["confirm_setting_language_change"] = 'You have modified the default value and will lose the changes. Proceed?';
-$_lang["confirm_unblock"] = 'Are you sure you want to unblock this user?';
-$_lang["confirm_undelete"] = '\n\nAny children Resources deleted at the same time as this Resource will also be undeleted, but children Resources deleted at an earlier time will still be deleted.';
-$_lang["confirm_unpublish"] = '\n\nUn-publishing this Resource now will remove any (un)publishing dates that may have been set. If you wish to set or keep publish or unpublish dates, please choose to \'edit\' the Resource instead.\n\nProceed?';
-$_lang["confirm_unzip_file"] = 'Are you sure you want to unzip this file?\n\nExisting files will be overwritten.';
-$_lang["could_not_find_user"] = 'Could not find user';
-$_lang["create_folder_here"] = 'Create Container here';
-$_lang["create_resource_here"] = 'Create Resource here';
-$_lang["create_resource_title"] = 'Create Resource';
-$_lang["create_weblink_here"] = 'Create Weblink here';
-$_lang["createdon"] = 'Creation date';
-$_lang["create_new"] = 'Create new';
-$_lang["credits"] = 'Credits';
-$_lang["credits_shouts_msg"] = 'EVO is managed and maintained at evo.im .
';
-$_lang["custom_contenttype_message"] = 'Add custom content types for Resources. To add a new entry, enter the content type in the text box then click the \'Add\' button.';
-$_lang["custom_contenttype_title"] = 'Custom content types';
-$_lang["database_charset"] = 'Database Charset';
-$_lang["database_collation"] = 'Database Collation Charset';
-$_lang["database_name"] = 'Database name';
-$_lang["database_overhead"] = 'Note: Overhead is unused space reserved by MySQL. To free up this space, click on the table\'s overhead figure.';
-$_lang["database_server"] = 'Database server';
-$_lang["database_table_clickbackup"] = 'Backup & download the selected tables';
-$_lang["database_table_clickhere"] = 'Click here';
-$_lang["database_table_datasize"] = 'Data size';
-$_lang["database_table_droptablestatements"] = 'Generate DROP TABLE statements.';
-$_lang["database_table_effectivesize"] = 'Effective size';
-$_lang["database_table_indexsize"] = 'Index size';
-$_lang["database_table_overhead"] = 'Overhead';
-$_lang["database_table_records"] = 'Records';
-$_lang["database_table_tablename"] = 'Table name';
-$_lang["database_table_totals"] = 'Totals';
-$_lang["database_table_totalsize"] = 'Total size';
-$_lang["database_tables"] = 'Database tables';
-$_lang["database_version"] = 'Database Version';
-$_lang["date"] = 'Date';
-$_lang["datechanged"] = 'Date changed';
-$_lang["datepicker_offset"] = 'Datepicker offset';
-$_lang["datepicker_offset_message"] = 'The number of years to show in the past on the datepicker.';
-$_lang["datetime_format"] = 'Date format';
-$_lang["datetime_format_message"] = 'The format for dates in the Manager.';
-$_lang["default"] = 'Default:';
-$_lang["defaultcache_message"] = 'Select \'Yes\' to make all new Resources cacheable by default.';
-$_lang["defaultcache_title"] = 'Cacheable default';
-$_lang["defaultmenuindex_message"] = 'Select \'Yes\' to turn on automatic menu index incrementing by default.';
-$_lang["defaultmenuindex_title"] = 'Menu indexing default';
-$_lang["defaultpublish_message"] = 'Select \'Yes\' to make all new Resources published by default.';
-$_lang["defaultpublish_title"] = 'Published default';
-$_lang["defaultsearch_message"] = 'Select \'Yes\' to make all new Resources searchable by default.';
-$_lang["defaultsearch_title"] = 'Searchable default';
-$_lang["defaulttemplate_message"] = 'Select the Template you wish to use as a system default for new Resources. You can still select a different Template in the Resource editor, this setting just pre-selects one of your Templates for you.';
-$_lang["defaulttemplate_title"] = 'System Default Template';
-$_lang["defaulttemplate_logic_title"] = 'Automatic Template Assignment';
-$_lang["defaulttemplate_logic_general_message"] = 'New Resources will have the following templates, falling back to higher levels if not found:';
-$_lang["defaulttemplate_logic_system_message"] = 'System : the System Default Template.';
-$_lang["defaulttemplate_logic_parent_message"] = 'Parent : the same Template as the parent container.';
-$_lang["defaulttemplate_logic_sibling_message"] = 'Sibling : the same Template as other Resources in the same container.';
-$_lang["delete"] = 'Delete';
-$_lang["delete_resource"] = 'Delete Resource';
-$_lang["delete_tags"] = 'Delete tags';
-$_lang["deleting_file"] = 'Deleting file `%s`: ';
-$_lang["description"] = 'Description';
-$_lang["deselect_keywords"] = 'Clear keywords';
-$_lang["deselect_metatags"] = 'Clear META tags';
-$_lang["disabled"] = 'Disabled';
-$_lang["doc_data_title"] = 'View Resource data';
-$_lang["documentation"] = 'Documentation';
-$_lang["duplicate"] = 'Duplicate';
-$_lang["duplicate_alias_found"] = 'Resource \'%s\' is already using the URL alias \'%s\'. Please enter a unique URL alias.';
-$_lang["duplicate_alias_message"] = 'Select \'yes\' to allow duplicate URL aliases to be saved. NOTE: This option should be used with \'Friendly URL alias path\' option set to \'Yes\' in order to avoid problems when referencing a Resource. ';
-$_lang["duplicate_alias_title"] = 'Allow duplicate URL aliases';
-$_lang["duplicate_name_found_general"] = 'There is already a %s named \'%s\'. Please enter a unique name.';
-$_lang["duplicate_name_found_module"] = 'There is already a Module named \'%s\'. Please enter a unique name.';
-$_lang["duplicated_el_suffix"] = 'Duplicate';
-$_lang["edit"] = 'Edit';
-$_lang["edit_resource"] = 'Edit Resource';
-$_lang["edit_resource_title"] = 'Edit Resource';
-$_lang["edit_settings"] = 'Configuration';
-$_lang["editedon"] = 'Edit date';
-$_lang["editing_file"] = 'Editing file: ';
-$_lang["editor_css_path_message"] = 'Enter the path to your CSS file that you wish to use within the editor. The best way to enter the path is to enter the path from the root of your server, for example: /assets/site/style.css. If you do not wish to load a style sheet into the editor, leave this field blank.';
-$_lang["editor_css_path_title"] = 'Path to CSS file';
-$_lang["element"] = 'Element';
-$_lang["element_categories"] = 'Combined View';
-$_lang["element_filter_msg"] = 'Type here to filter list';
-$_lang["element_management"] = 'Manage Elements';
-$_lang["element_name"] = 'Element name';
-$_lang["element_selector_msg"] = 'Select the Elements(s) from the list below and click the \'Insert\' button.';
-$_lang["element_selector_title"] = 'Element Selector';
-$_lang["elements"] = 'Elements';
-$_lang["email"] = 'Email';
-$_lang["email_sent"] = 'Email sent';
-$_lang["emailsender_message"] = 'The email address of the site administrator. For example, this email address will be used as the destination of system notification e-mail etc.';
-$_lang["emailsender_title"] = 'E-mail address';
-$_lang["emailsubject_default"] = 'Your login details';
-$_lang["emailsubject_message"] = 'Specify the value of the subject of the signup e-mail.';
-$_lang["emailsubject_title"] = 'E-mail subject';
-$_lang["empty_folder"] = 'This Container is empty';
-$_lang["empty_recycle_bin"] = 'Purge deleted Resources';
-$_lang["empty_recycle_bin_empty"] = 'There are no deleted Resources to purge.';
-$_lang["enable_resource"] = 'Enable Element file.';
-$_lang["enable_sharedparams"] = 'Enable parameter sharing';
-$_lang["enable_sharedparams_msg"] = 'NOTE: The above globally unique id (GUID) will be used to uniquely identify this Module and it\'s shared parameters. The GUID is also used to form a link between the Module and the Plugins or Snippets accessing the it\'s shared parameters. ';
-$_lang["enabled"] = 'Enabled';
-$_lang["error"] = 'Error';
-$_lang["error_sending_email"] = 'Error sending email';
-$_lang["errorpage_message"] = 'Enter a published and publicly accessible Resource ID to redirect users to when requesting a non-existing Resource.';
-$_lang["errorpage_title"] = 'Error page';
-$_lang["event_id"] = 'Event Id';
-$_lang["eventlog"] = 'Event log';
-$_lang["eventlog_msg"] = 'The event log is used to display information, warning and error messages generated by the content manager. The \'source\' column shows the section of the content manager where the message occurred.';
-$_lang["eventlog_viewer"] = 'System Events';
-$_lang["everybody"] = 'Everybody';
-$_lang["existing_category"] = 'Existing Category';
-$_lang["expand_tree"] = 'Expand Site Tree';
-$_lang["export_site"] = 'Export Static HTML';
-$_lang["export_site_cacheable"] = 'Include non-cacheable files:';
-$_lang["export_site_exporting_document"] = '[+status+] [+url+] - [+pagetitle+] ([+id+]) ';
-$_lang["export_site_failed"] = 'Failed!';
-$_lang["export_site_failed_no_open"] = 'Cannot open file: ';
-$_lang["export_site_failed_no_retrieve"] = 'Cannot retrieve document.';
-$_lang["export_site_failed_no_write"] = 'Cannot write file.';
-$_lang["export_site_html"] = 'Export site to HTML';
-$_lang["export_site_maxtime"] = 'Max export time:';
-$_lang["export_site_maxtime_message"] = 'Specify the number of seconds EVO can take to export the site (overriding PHP settings). Enter 0 for unlimited time. Please note, setting 0 or a really high number can do weird things to your server and is not recommended.';
-$_lang["export_site_message"] = 'Use this to export the entire site to static HTML files. Please note, however, that you will lose a lot of the EVO functionality should you do so:
Page reads on the exported files will not be recorded. Interactive Snippets will NOT work in exported files Only regular Resources will be exported, Weblinks will not be exported. The export process may fail if your Resources contain Snippets which send redirection headers. Depending on how you\'ve written your Resources, style sheets and images, the design of your site may be broken. To fix this, save/move your exported files to the same directory where the main EVO index.php file is located. Please fill out the form and press \'Export\' to start the export process. The files created will be saved in the /assets/export directory, using the Resources\' URL aliases as filenames when possible. While exporting your site, it\'s best to have the EVO configuration item \'Friendly URL aliases\' set to \'yes\'. Depending on the size of your site, the export may take a while.
Any existing files will be overwritten by the new files if their names are identical!
';
-$_lang["export_site_numberdocs"] = 'Found %s Resources to export...
';
-$_lang["export_site_prefix"] = 'File prefix:';
-$_lang["export_site_start"] = 'Start export';
-$_lang["export_site_success"] = 'Success!';
-$_lang["export_site_success_skip_dir"] = 'Skip this directory.';
-$_lang["export_site_success_skip_doc"] = 'Skip this document.';
-$_lang["export_site_suffix"] = 'File suffix:';
-$_lang["export_site_target_unwritable"] = 'Target directory isn\'t writable. Please ensure the directory is writable, and try again.';
-$_lang["export_site_time"] = 'Export finished. Export took %s seconds to complete.';
-$_lang["failed_login_message"] = 'Enter the number of failed login attempts allowed before blocking a user.';
-$_lang["failed_login_title"] = 'Failed Login Attempts';
-$_lang["fe_editor_lang_message"] = 'Choose a language for the editor to use when used as a front-end editor.';
-$_lang["fe_editor_lang_title"] = 'Front-end Editor Language';
-$_lang["file_delete_file"] = 'Delete file';
-$_lang["file_delete_folder"] = 'Delete directory';
-$_lang["file_deleted"] = 'Success!';
-$_lang["file_download_file"] = 'Download File';
-$_lang["file_download_unzip"] = 'Unzip File';
-$_lang["file_folder_chmod_error"] = 'Unable to change permissions, you will need to change permissions outside of EVO.';
-$_lang["file_folder_created"] = 'Directory created successfully!';
-$_lang["file_folder_deleted"] = 'Directory was successfully deleted!';
-$_lang["file_folder_not_created"] = 'Unable to create directory';
-$_lang["file_folder_not_deleted"] = 'Unable to delete directory. Make sure it is empty before deleting.';
-$_lang["file_not_deleted"] = 'Failed!';
-$_lang["file_not_saved"] = 'Cannot save file, please ensure target directory is writable!';
-$_lang["file_saved"] = 'File updated successfully!';
-$_lang["file_unzip"] = 'Unzip was successful!';
-$_lang["file_unzip_fail"] = 'Unzip Failed!';
-$_lang["filemanager_path_message"] = 'IIS often does not populate the document_root setting properly, which is used by the file manager to determine what you can see. If you are having problems using the file manager, make sure this path points to the root of your EVO installation.';
-$_lang["filemanager_path_title"] = 'File Manager path';
-$_lang["files_access_denied"] = 'Access denied!';
-$_lang["files_data"] = 'Data';
-$_lang["files_dir_listing"] = 'Directory listing for:';
-$_lang["files_directories"] = 'Directories';
-$_lang["files_directory_is_empty"] = 'This directory is empty.';
-$_lang["files_dirwritable"] = 'Directory writable?';
-$_lang["files_editfile"] = 'Edit file';
-$_lang["files_file_type"] = 'File type: ';
-$_lang["files_filename"] = 'Filename';
-$_lang["files_fileoptions"] = 'Options';
-$_lang["files_files"] = 'Files';
-$_lang["files_filesize"] = 'File size';
-$_lang["files_filetype_notok"] = 'Uploading of this kind of file is not allowed!';
-$_lang["files_management"] = 'Manage Files';
-$_lang["files_management_no_permission"] = 'You do not have enough permissions to view or edit these files. Ask the administrator to grant you access to %s .';
-$_lang["files_modified"] = 'Modified';
-$_lang["files_top_level"] = 'To top level';
-$_lang["files_up_level"] = 'Up one level';
-$_lang["files_upload_copyfailed"] = 'Failed to copy file to destination directory - upload failed!';
-$_lang["files_upload_error"] = 'Error';
-$_lang["files_upload_error0"] = 'There was a problem with your upload.';
-$_lang["files_upload_error1"] = 'The file you are trying to upload is too big.';
-$_lang["files_upload_error2"] = 'The file you are trying to upload is too big.';
-$_lang["files_upload_error3"] = 'The file you are trying upload was only partially uploaded.';
-$_lang["files_upload_error4"] = 'You must select a file for upload.';
-$_lang["files_upload_error5"] = 'There was a problem with your upload.';
-$_lang["files_upload_inhibited_msg"] = 'Upload feature inhibited - make sure uploads are supported and the directory is writable for PHP.';
-$_lang["files_upload_ok"] = 'File uploaded successfully!';
-$_lang["files_upload_permissions_error"] = 'Possible permission problems - the directory you want to upload to needs to be writable by your webserver.';
-$_lang["files_uploadfile"] = 'Upload file';
-$_lang["files_uploadfile_msg"] = 'Select a file to upload:';
-$_lang["files_uploading"] = 'Uploading %s to %s/ ';
-$_lang["files_viewfile"] = 'View file';
-$_lang["folder"] = 'Folder';
-$_lang["forgot_password_email_fine_print"] = '* The URL above will expire once you change your password or after today.';
-$_lang["forgot_password_email_instructions"] = 'From there you will be able to change your password from the My Account menu.';
-$_lang["forgot_password_email_intro"] = 'A request has been made to change the password on your account.';
-$_lang["forgot_password_email_link"] = 'Click here to complete the process.';
-$_lang["forgot_your_password"] = 'Forgot your password?';
-$_lang["friday"] = 'Friday';
-$_lang["friendly_alias_message"] = 'With Friendly URLs enabled, a Resource URL alias will be used when present instead of the Resource ID. E.g., if a Resource with ID 1 has an URL alias of "introduction", no prefix set (empty) and a suffix of ".html", enabling this option would generate an URL alias of "introduction.html". If there is no URL alias set, EVO generates "1.html".';
-$_lang["friendly_alias_title"] = 'Use Friendly URL aliases';
-$_lang["friendlyurls_message"] = 'Use Search Engine Friendly URLs on Apache webservers with mod_rewrite or IIS with third-party plugins. See the .htaccess file in the site root of the distribution for more info.';
-$_lang["friendlyurls_title"] = 'Use FriendlyURLs';
-$_lang["friendlyurlsprefix_message"] = 'A prefix setting of "page" will turn the URL /index.php?id=2 to the URL alias "page2.html" (assuming the suffix is set to .html).';
-$_lang["friendlyurlsprefix_title"] = 'Friendly URL Prefix';
-$_lang["friendlyurlsuffix_message"] = 'Any suffix you choose will work, including no suffix at all. E.g., ".aspx" will append .aspx to all URL aliases.';
-$_lang["friendlyurlsuffix_title"] = 'Friendly URL Suffix';
-$_lang["functionnotimpl"] = 'Sorry!';
-$_lang["functionnotimpl_message"] = 'This function has not been implemented yet.';
-$_lang["further_info"] = 'Further information';
-$_lang["go"] = 'Go';
-$_lang["group_access_permissions"] = 'User group access';
-$_lang['group_tvs'] = 'Group TV';
-$_lang["guid"] = 'GUID';
-$_lang["help"] = 'Help';
-$_lang["help_msg"] = 'You can obtain free community support by visiting the EVO Forums . There is also a growing body of EVO Documentation and Guides that touch on virtually every aspect of EVO.
We are planning to offer commercial support services for EVO as well. Please email us if you\'re interested .
';
-$_lang["help_title"] = 'Help';
-$_lang["hide_tree"] = 'Hide Site Tree';
-$_lang["home"] = 'Home';
-$_lang["htmlsnippet"] = 'Chunk';
-$_lang["htmlsnippets"] = 'Chunks';
-$_lang["htmlsnippet_desc"] = 'Description';
-$_lang["htmlsnippet_management_msg"] = 'Select the Chunk you wish to edit.';
-$_lang["htmlsnippet_msg"] = 'Add and edit Chunks. Remember, Chunks are \'raw\' HTML code, so any PHP code won\'t be processed.';
-$_lang["htmlsnippet_name"] = 'Chunk name';
-$_lang["htmlsnippet_title"] = 'Create/edit Chunk';
-$_lang["icon"] = 'Icon';
-$_lang["id"] = 'ID';
-$_lang["illegal_parent_child"] = 'Parent Assignment:\n\nResource is a child of the selected Resource.';
-$_lang["illegal_parent_self"] = 'Parent Assignment:\n\nThe selected Resource cannot be assigned to itself.';
-$_lang["images_management"] = 'Manage Images';
-$_lang["import_files_found"] = 'Found %s Resources for import... ';
-$_lang["import_params"] = 'Import Module shared parameters';
-$_lang["import_params_msg"] = 'You can import the parameters or settings of a Module by selecting the name of the Module from the above drop down menu. NOTE: In order for Modules to appear inside the menu, this Plugin/Snippet must be a part of the Module\'s dependency listing and the Module must have parameter sharing enabled. ';
-$_lang["import_parent_resource"] = 'Parent Resource:';
-$_lang["import_site"] = 'Import HTML';
-$_lang["import_site_failed"] = 'Failed!';
-$_lang["import_site_failed_db_error"] = 'A database error occured while trying to clone Resource: ';
-$_lang["import_site_failed_no_open_dir"] = 'Could not open directory: ';
-$_lang["import_site_failed_no_retrieve_file"] = 'Could not retrieve file: ';
-$_lang["import_site_html"] = 'Import site from HTML';
-$_lang["import_site_importing_document"] = 'Importing file %s ';
-$_lang["import_site_maxtime"] = 'Max import time:';
-$_lang["import_site_maxtime_message"] = 'Specify the number of seconds allowed for the Content Manager to import the site (overriding PHP settings). Enter 0 for unlimited time. Please note, setting 0 or a really high number can do weird things to your server and is not recommended.';
-$_lang["import_site_message"] = 'Import an entire HTML site into your site database. Please note that you will need to copy your html files and/or directories into the /assets/import directory.
Please fill out the form and press \'Import\' to start the import process. The files imported will be saved into the selected location, using the files name as the Resource\'s URL aliases where possible, and the Resource title tag as the pagetitle.';
-$_lang["import_site_skip"] = 'Skipped!';
-$_lang["import_site_start"] = 'Start Import';
-$_lang["import_site_success"] = 'Success!';
-$_lang["import_site_time"] = 'Import finished. Import took %s seconds to complete.';
-$_lang["inbox"] = 'Inbox';
-$_lang["info"] = 'Info';
-$_lang["information"] = 'Information';
-$_lang["inline"] = 'Inline';
-$_lang["insert"] = 'Insert';
-$_lang["maxImageWidth"] = 'Maximum image width';
-$_lang["maxImageHeight"] = 'Maximum image height';
-$_lang["thumbWidth"] = 'Maximum thumbnail width';
-$_lang["thumbHeight"] = 'Maximum thumbnail height';
-$_lang["thumbsDir"] = 'Thumbnails directory location';
-$_lang["jpegQuality"] = 'JPEG compression';
-$_lang["denyZipDownload"] = 'Disable zip-archives downloading';
-$_lang["denyExtensionRename"] = 'Disable renaming of file extensions';
-$_lang["maxImageWidth_message"] = 'If uploaded image resolution exceeds this setting it will be automatically resized. Set 0 to avoid.';
-$_lang["maxImageHeight_message"] = 'If uploaded image resolution exceeds this setting it will be automatically resized. Set 0 to avoid.';
-$_lang["thumbWidth_message"] = 'Maximum thumbnail width.';
-$_lang["thumbHeight_message"] = 'Maximum thumbnail height.';
-$_lang["thumbsDir_message"] = 'The name of thumbnail directory.';
-$_lang["jpegQuality_message"] = 'JPEG compression quality of thumbnails and resized images';
-$_lang["showHiddenFiles"] = 'Show hidden files in file browser';
-$_lang["keyword"] = 'Keyword';
-$_lang["keywords"] = 'Keywords';
-$_lang["keywords_intro"] = 'To edit a keyword, simply type in the new keyword in the text field next to the keyword you wish to change. To delete a keyword, check the \'delete\' box for that keyword. If you check the keyword\'s delete box, and also change it\'s name, it will be deleted, and the renaming of the keyword will not take place!';
-$_lang["language_message"] = 'Select the language for the EVO Content Manager.';
-$_lang["language_title"] = 'Manager language';
-$_lang["last_update"] = 'Last update';
-$_lang["launch_site"] = 'View Site';
-$_lang["license"] = 'License';
-$_lang["link_attributes"] = 'Link Attributes';
-$_lang["link_attributes_help"] = 'Enter optional attributes for a link for this page, such as target="_blank" or rel="external".';
-$_lang["list_mode"] = 'Turn on/off list mode - used to list all records in the grid.';
-$_lang["loading_doc_tree"] = 'Loading Site Tree...';
-$_lang["loading_menu"] = 'Loading menu...';
-$_lang["loading_page"] = 'Please wait while EVO loads the page...';
-$_lang["localtime"] = 'Local Time';
-$_lang["lock_htmlsnippet"] = 'Lock Chunk for editing';
-$_lang["lock_htmlsnippet_msg"] = 'Only Administrators (Role ID 1) can edit this Chunk.';
-$_lang["lock_module"] = 'Lock Module for editing';
-$_lang["lock_module_msg"] = 'Only Administrators (Role ID 1) can edit this Module.';
-$_lang["lock_msg"] = '%s is currently editing this %s. Please wait until the other user has finished and try again.';
-$_lang["lock_plugin"] = 'Lock Plugin for editing';
-$_lang["lock_plugin_msg"] = 'Only Administrators (Role ID 1) can edit this Plugin.';
-$_lang["lock_settings_msg"] = '%s is currently editing these settings. Please wait until the other user has finished and try again.';
-$_lang["lock_snippet"] = 'Lock Snippet for editing';
-$_lang["lock_snippet_msg"] = 'Only Administrators (Role ID 1) can edit this Snippet.';
-$_lang["lock_template"] = 'Lock Template for editing';
-$_lang["lock_template_msg"] = 'Only Administrators (Role ID 1) can edit this Template.';
-$_lang["lock_tmplvars"] = 'Lock Template Variable for editing';
-$_lang["lock_tmplvars_msg"] = 'Only Administrators (Role ID 1) can edit this Template Variable.';
-$_lang["locked"] = 'Locked';
-$_lang["login_allowed_days"] = 'Allowed Days';
-$_lang["login_allowed_days_message"] = 'Select the days that this user is allowed to login.';
-$_lang["login_allowed_ip"] = 'Allowed IP Address';
-$_lang["login_allowed_ip_message"] = 'Enter the IP addresses that this user is allowed to login from. NOTE: Separate multiple IP addresses with a comma (,) ';
-$_lang["login_button"] = 'Login';
-$_lang["login_cancelled_install_in_progress"] = 'Install/update of this site is currently in progress. Please retry in a couple of minutes!';
-$_lang["login_cancelled_site_was_updated"] = 'Install/update on this site was executed, please login again!';
-$_lang["login_captcha_message"] = 'Please enter the security code shown in the graphic. If you can\'t read the code, click the image to generate a new one or contact your site admin.';
-$_lang["login_homepage"] = 'Login Home Page';
-$_lang["login_homepage_message"] = 'Enter the ID of the Resource you want to send user to after he/she has logged in. NOTE: make sure the ID you enter belongs to an existing Resource, and that it has been published and is accessible by this user! ';
-$_lang["login_message"] = 'Please enter your login credentials to start your Manager session. Your username and password are case-sensitive, so please enter them carefully!';
-$_lang["logo_slogan"] = 'EVO Content Manager - \nCreate and do more with less';
-$_lang["logout"] = 'Logout';
-$_lang["long_title"] = 'Long title';
-$_lang["mail_check_timeperiod_message"] = 'How often to check for new mail messages in the Manager, in seconds.';
-$_lang["mail_check_timeperiod_title"] = 'Mail Check Time Period';
-$_lang["manage_depends"] = 'Manage Dependencies';
-$_lang["manage_files"] = 'Manage Files';
-$_lang["manage_htmlsnippets"] = 'Chunks';
-$_lang["manage_metatags"] = 'Manage META tags and Keywords';
-$_lang["manage_modules"] = 'Manage Modules';
-$_lang["manage_plugins"] = 'Plugins';
-$_lang["manage_snippets"] = 'Snippets';
-$_lang["manage_templates"] = 'Templates';
-$_lang["manage_documents"] = 'Documents';
-$_lang["manager"] = 'Manager';
-$_lang["manager_lockout_message"] = 'You are currently logged into the Content Manager. If you would like to close your login session please click the "Logout" button.
To go to your startup or home page click the "Home" button.';
-$_lang["manager_permissions"] = 'Manager Permissions';
-$_lang["manager_theme"] = 'Manager Theme';
-$_lang["manager_theme_message"] = 'Select the Theme for the Content Manager.';
-$_lang["messages"] = 'Messages';
-$_lang["messages_all"] = 'Everyone';
-$_lang["messages_compose"] = 'Compose a message';
-$_lang["messages_forward"] = 'Forward';
-$_lang["messages_from"] = 'From';
-$_lang["messages_group"] = 'A group';
-$_lang["messages_inbox"] = 'Inbox';
-$_lang["messages_message"] = 'Message';
-$_lang["messages_no_messages"] = 'No messages in Inbox.';
-$_lang["messages_not_allowed_to_read"] = 'You\'re not allowed to read this message!';
-$_lang["messages_private"] = 'Private';
-$_lang["messages_read_message"] = 'Read message';
-$_lang["messages_reply"] = 'Reply';
-$_lang["messages_select_group"] = 'Select a group';
-$_lang["messages_select_user"] = 'Select a user';
-$_lang["messages_send"] = 'Send';
-$_lang["messages_send_to"] = 'Send to';
-$_lang["messages_sent"] = 'Sent on';
-$_lang["messages_subject"] = 'Subject';
-$_lang["messages_system_user"] = '[System]';
-$_lang["messages_title"] = 'Messages';
-$_lang["messages_user"] = 'A user';
-$_lang["meta_keywords"] = 'META Keywords';
-$_lang["metatag_intro"] = 'On this page you can delete, create or edit META tags. To link META tags to Resources, click on the META Keywords tab when editing the Resource, and select the desired META tags and keywords. To add a new tag enter the name and value and click the \'Add tag\' button. To edit the tag click on the name of the tag from within the data grid.';
-$_lang["metatag_notice"] = 'You may wish to reference the HTML Reference Guide site for more information. This is not a complete list of possible Meta Tags.';
-$_lang["metatags"] = 'META tags';
-$_lang["mgr_access_permissions"] = 'Manager access permissions';
-$_lang["mgr_login_start"] = 'Manager Login Startup';
-$_lang["mgr_login_start_message"] = 'Enter the ID of the Resource you want to send the user to after he/she has logged into the manager. NOTE: make sure the ID you\'ve enter belongs to an existing Resource, and that it has been published and is accessible by this user! ';
-$_lang["mgrlog_action"] = 'Action';
-$_lang["mgrlog_actionid"] = 'Action ID';
-$_lang["mgrlog_anyall"] = 'Any/All';
-$_lang["mgrlog_datecheckfalse"] = 'checkdate() returned false.';
-$_lang["mgrlog_datefr"] = 'Date from';
-$_lang["mgrlog_dateinvalid"] = 'Invalid date format.';
-$_lang["mgrlog_dateto"] = 'Date to';
-$_lang["mgrlog_emptysrch"] = 'Your search query returned an empty result set (i.e. not matching logs found).';
-$_lang["mgrlog_field"] = 'Field';
-$_lang["mgrlog_itemid"] = 'Item ID';
-$_lang["mgrlog_itemname"] = 'Item name';
-$_lang["mgrlog_msg"] = 'Message';
-$_lang["mgrlog_noquery"] = 'No search query entered yet.';
-$_lang["mgrlog_qresults"] = 'Query results';
-$_lang["mgrlog_query"] = 'Query logging';
-$_lang["mgrlog_query_msg"] = 'Please make a selection for viewing the logs. You can select log entries by date, but be aware that the dates you enter are not inclusive - to select every log entry for 01-01-2004, set \'date from\' to 01-01-2004 and \'date to\' to 02-01-2004. Message and action are usually the same. If you\'re searching for a specific message, it\'s best to set action to \'Any/All\'.';
-$_lang["mgrlog_results"] = 'No. of results';
-$_lang["mgrlog_searchlogs"] = 'Search logs';
-$_lang["mgrlog_sortinst"] = 'Sort the table by clicking on the column headers. If the logs are too large, empty the log file to remove all log entries up to now. This cannot be undone!';
-$_lang["mgrlog_time"] = 'Time';
-$_lang["mgrlog_user"] = 'User';
-$_lang["mgrlog_username"] = 'Username';
-$_lang["mgrlog_value"] = 'Value';
-$_lang["mgrlog_view"] = 'View manager logs';
-$_lang["module_code"] = 'Module code (php)';
-$_lang["module_config"] = 'Module configuration';
-$_lang["module_desc"] = 'Description';
-$_lang["module_disabled"] = 'Module disabled';
-$_lang["module_edit_click_title"] = 'Click here to edit this Module';
-$_lang["module_group_access_msg"] = 'Select the User Groups that are allowed to execute this Module from within the Content Manager.';
-$_lang["module_management"] = 'Manage Modules';
-$_lang["module_management_msg"] = 'Choose the Module you would like to execute or modify. To run the Module click on the icon in the grid. To modify the Module click on the name of the Module.';
-$_lang["module_msg"] = 'Add/edit Modules. A Module is a collection of Elements (e.g. Plugins, Snippets, etc).';
-$_lang["module_name"] = 'Module name';
-$_lang["module_resource_msg"] = 'Add or remove Elements upon which this Module depends. To add a new Element click on the one of the add buttons below.';
-$_lang["module_resource_title"] = 'Module Dependencies';
-$_lang["module_title"] = 'Create/edit Module';
-$_lang["module_viewdepend_msg"] = 'View the assigned Elements on which this Module depends. Click on the "Manager Dependencies" button to modify the dependencies';
-$_lang["modules"] = 'Modules';
-$_lang["modx_news"] = 'EVO News Notices';
-$_lang["modx_news_tab"] = 'EVO News';
-$_lang["modx_news_title"] = 'EVO News';
-$_lang["modx_security_notices"] = 'EVO Security Notices';
-$_lang["modx_version"] = 'EVO version';
-$_lang["monday"] = 'Monday';
-$_lang["move"] = 'Move';
-$_lang["move_resource"] = 'Move Resource';
-$_lang["move_resource_message"] = 'Move a Resource and all its children by selecting a new parent in the Site Tree. If you select a Resource that is not already a Container, it will be changed into one. Please click on the new parent in the Site Tree.';
-$_lang["move_resource_new_parent"] = 'Please select a new parent in the Site Tree.';
-$_lang["move_resource_title"] = 'Move Resource';
-$_lang["name"] = 'Name';
-$_lang["new_category"] = 'New Category';
-$_lang["new_file_permissions_message"] = 'When uploading a new file in the File Manager, the File Manager will attempt to change the file permissions to those entered in this setting. This may not work on some setups, such as IIS, in which case you will need to manually change the permissions.';
-$_lang["new_file_permissions_title"] = 'New File Permissions';
-$_lang["new_folder_permissions_message"] = 'When creating a new directory in the File Manager, the File Manager will attempt to change the directory permissions to those entered in this setting. This may not work on some setups, such as IIS, in which case you will need to manually change the permissions.';
-$_lang["new_folder_permissions_title"] = 'New Directory Permissions';
-$_lang["new_htmlsnippet"] = 'New Chunk';
-$_lang["new_keyword"] = 'Add new keyword:';
-$_lang["new_module"] = 'New Module';
-$_lang["new_parent"] = 'New parent';
-$_lang["new_plugin"] = 'New Plugin';
-$_lang["new_role"] = 'New Role';
-$_lang["new_snippet"] = 'New Snippet';
-$_lang["new_template"] = 'New Template';
-$_lang["new_tmplvars"] = 'New Template Variable';
-$_lang["new_user"] = 'New User';
-$_lang["new_web_user"] = 'New Web User';
-$_lang["new_resource"] = 'New Resource';
-$_lang["no"] = 'No';
-$_lang["no_active_users_found"] = 'No active users found.';
-$_lang["no_activity_message"] = 'You have not yet created or edited any Resources.';
-$_lang["no_category"] = 'uncategorized';
-$_lang["no_docs_pending_publishing"] = 'No Resources pending publishing.';
-$_lang["no_docs_pending_pubunpub"] = 'No Events Found';
-$_lang["no_docs_pending_unpublishing"] = 'No Resources pending unpublishing.';
-$_lang["no_edits_creates"] = 'No edits or creates found.';
-$_lang["no_groups_found"] = 'No groups found.';
-$_lang["no_keywords_found"] = 'There are currently no keywords.';
-$_lang["no_records_found"] = 'No records found.';
-$_lang["no_results"] = 'No results found';
-$_lang["nologentries_message"] = 'Enter the number of log entries shown per page when you browse the Audit trail.';
-$_lang["nologentries_title"] = 'Number of log entries';
-$_lang["nomessages_message"] = 'Enter the number of messages to show in inbox when viewing messages.';
-$_lang["nomessages_title"] = 'Number of messages';
-$_lang["none"] = 'None';
-$_lang["noresults_message"] = 'Enter the number of results to show in the data grid when viewing listings and search results.';
-$_lang["noresults_title"] = 'Number of Results';
-$_lang["not_deleted"] = 'has not been deleted.';
-$_lang["not_set"] = 'Not set';
-$_lang["offline"] = 'Offline';
-$_lang["online"] = 'Online';
-$_lang["onlineusers_action"] = 'Action';
-$_lang["onlineusers_actionid"] = 'Action-ID';
-$_lang["onlineusers_ipaddress"] = 'User\'s IP address';
-$_lang["onlineusers_lasthit"] = 'Last hit';
-$_lang["onlineusers_message"] = 'This list shows all users active within the last 20 minutes (current time is ';
-$_lang["onlineusers_title"] = 'Online users';
-$_lang["onlineusers_user"] = 'User';
-$_lang["onlineusers_userid"] = 'User\'s ID';
-$_lang["optimize_table"] = 'Click here to optimize this table';
-$_lang["page_data_cacheable"] = 'Cacheable';
-$_lang["page_data_cacheable_help"] = 'This allows the Resource to be saved to the site cache, and affects all Snippets on the page.';
-$_lang["page_data_cached"] = 'Source retrieved from cache: ';
-$_lang["page_data_changes"] = 'Changes';
-$_lang["page_data_contentType"] = 'Internet Media Type';
-$_lang["page_data_contentType_help"] = 'Select the content type for this Resource. If you\'re not sure which content type the Resource should have, just leave it as text/html.';
-$_lang["page_data_created"] = 'Created';
-$_lang["page_data_edited"] = 'Edited';
-$_lang["page_data_editor"] = 'Edit using rich text editor';
-$_lang["page_data_folder"] = 'Resource is Container';
-$_lang["page_data_general"] = 'General';
-$_lang["page_data_markup"] = 'Markup/structure';
-$_lang["page_data_mgr_access"] = 'Manager access';
-$_lang["page_data_notcached"] = 'This Resource has not yet been cached.';
-$_lang["page_data_publishdate"] = 'Publish date';
-$_lang["page_data_publishdate_help"] = 'If you set a publish date, the Resource will be published as soon as the publish date is reached. Click on the calender icon to select a date, or on the icon next to it to remove the publish date. This will then mean the Resource is never automatically published.';
-$_lang["page_data_published"] = 'Published';
-$_lang["page_data_searchable"] = 'Searchable';
-$_lang["page_data_searchable_help"] = 'Checking this field will allow the Resource to be searched. You can also use this field for other purposes in your Snippets.';
-$_lang["page_data_source"] = 'Source';
-$_lang["page_data_status"] = 'Status';
-$_lang["page_data_template"] = 'Uses Template';
-$_lang["page_data_template_help"] = 'Select the Template for this Resource.';
-$_lang["page_data_title"] = 'Page data';
-$_lang["page_data_unpublishdate"] = 'Un-publish date';
-$_lang["page_data_unpublishdate_help"] = 'If you set an unpublish date, the Resource will be unpublished as soon as the unpublish date is reached. Click on the calender icon to select a date, or on the icon next to it to remove the unpublish date. This will then mean the Resource is never automatically unpublished.';
-$_lang["page_data_unpublished"] = 'Un-published';
-$_lang["page_data_web_access"] = 'Web access';
-$_lang["pagetitle"] = 'Resource\'s title';
-$_lang["pagination_table_first"] = 'First';
-$_lang["pagination_table_gotopage"] = 'Go to page';
-$_lang["pagination_table_last"] = 'Last';
-$_lang["paging_first"] = 'first';
-$_lang["paging_last"] = 'last';
-$_lang["paging_next"] = 'next';
-$_lang["paging_prev"] = 'prev';
-$_lang["paging_showing"] = 'Showing';
-$_lang["paging_to"] = 'to';
-$_lang["paging_total"] = 'total';
-$_lang["parameter"] = 'Parameter';
-$_lang["parse_docblock"] = 'Parse DocBlock';
-$_lang["parse_docblock_msg"] = 'Attention (!): Resets actual name, configuration, description and category to install-defaults by parsing the source code.';
-$_lang["password"] = 'Password';
-$_lang["password_change_request"] = 'Password change request';
-$_lang["password_gen_gen"] = 'Let EVO generate a password.';
-$_lang["password_gen_length"] = 'The password you specify needs to be at least 6 characters long.';
-$_lang["password_gen_method"] = 'New password method';
-$_lang["password_gen_specify"] = 'Let me specify the password:';
-$_lang["password_method"] = 'Password notification method';
-$_lang["password_method_email"] = 'Send the new password by e-mail.';
-$_lang["password_method_screen"] = 'Show the new password on screen.';
-$_lang["password_msg"] = 'The new password for %s is %s .';
-$_lang["php_version_check"] = 'EVO Evolution is compatible with PHP version 5.0.0 and higher. This server is using version %s%. Please upgrade your PHP installation!';
-$_lang["plugin"] = 'Plugin';
-$_lang["plugins"] = 'Plugins';
-$_lang["plugin_code"] = 'Plugin code (php)';
-$_lang["plugin_config"] = 'Plugin configuration';
-$_lang["plugin_desc"] = 'Description';
-$_lang["plugin_disabled"] = 'Plugin Disabled';
-$_lang["plugin_event_msg"] = 'Select the events that you would like this Plugin to listen to.';
-$_lang["plugin_management_msg"] = 'Choose which Plugin you wish to edit.';
-$_lang["plugin_msg"] = 'Add/edit Plugins. Plugins use PHP code that is invoked whenever specific System Events trigger.';
-$_lang["plugin_name"] = 'Plugin name';
-$_lang["plugin_priority"] = 'Edit Plugin Execution Order by Event';
-$_lang["plugin_priority_instructions"] = 'Drag to reorder the Plugins under each Event header. The first plugin to execute should go at the top.';
-$_lang["plugin_priority_title"] = 'Plugin Execution Order';
-$_lang["purge_plugin"] = 'Purge obsolete plugins';
-$_lang["plugin_title"] = 'Create/edit Plugin';
-$_lang["preview"] = 'Preview';
-$_lang["preview_msg"] = 'This is a preview of your last saved changes. Click here to Save and Refresh your current changes';
-$_lang["preview_resource"] = 'Preview Resource';
-$_lang["private"] = 'Private';
-$_lang["public"] = 'Public';
-$_lang["publish_date"] = 'Publish Date';
-$_lang["publish_events"] = 'Publish Events';
-$_lang["publish_resource"] = 'Publish Resource';
-$_lang["rb_base_dir_message"] = 'Enter the physical path to the File Browser directory. This setting is usually automatically generated. If you\'re using IIS, however, EVO may not be able to work the path out on its own, causing the File Browser to show an error. In that case, you can enter the path to the images directory here (the path as you\'d see it in Windows Explorer). NOTE: The File Browser directory must contain the subdirectories images, files, flash and media in order for the file browser to function correctly.';
-$_lang["rb_base_dir_title"] = 'File base path';
-$_lang["rb_base_url_message"] = 'Enter the virtual path to files directory. This setting is usually automatically generated. If you\'re using IIS, however, EVO may not be able to work the URL out on it\'s own, causing the File Browser to show an error. In that case, you can enter the URL to the images directory here (the URL as you\'d enter it on Internet Explorer).';
-$_lang["rb_base_url_title"] = 'File Browser URL';
-$_lang["rb_message"] = 'Select yes to enable the File Browser. This will allow your users to browse and upload files such as images, flash and media files on the server.';
-$_lang["rb_title"] = 'Enable File Browser';
-$_lang["rb_webuser_message"] = 'Do you want to allow a web user the ability to use the file browser? WARNING: Allowing web users the use of the file browser exposes the files available to manager users. Only use this option for trusted web users.';
-$_lang["rb_webuser_title"] = 'Web Users?';
-$_lang["recent_docs"] = 'Recent Resources';
-$_lang["recommend_setting_change_title"] = 'Recommended Setting Change';
-$_lang["recommend_setting_change_description"] = 'Your site is not configured to validate the HTTP_REFERER of incoming requests to the Manager. We strongly recommend enabling this setting to reduce the risk of a CSRF (Cross Site Request Forgery) attack.';
-$_lang["references"] = 'References';
-$_lang["refresh_cache"] = 'Cache: Found %s files in cache directory and deleted %d cache files.New cache files will be created when pages are requested.';
-$_lang["refresh_published"] = '%s Resources were published.';
-$_lang["refresh_site"] = 'Clear Cache';
-$_lang["refresh_title"] = 'Refresh site';
-$_lang["refresh_tree"] = 'Refresh Site Tree';
-$_lang["refresh_unpublished"] = '%s Resources were unpublished.';
-$_lang["release_date"] = 'Release date';
-$_lang["remember_last_tab"] = 'Remember tabs';
-$_lang["remember_last_tab_message"] = 'Tabbed Manager pages load with the last tab viewed instead of defaulting to the first tab';
-$_lang["remember_username"] = 'Remember me';
-$_lang["remove"] = 'Remove';
-$_lang["remove_date"] = 'Remove date';
-$_lang["remove_locks"] = 'Remove Locks';
-$_lang["rename"] = 'Rename';
-$_lang["reports"] = 'Reports';
-$_lang["report_issues"] = 'Report issues';
-$_lang["require_tagname"] = 'A tag name is required';
-$_lang["require_tagvalue"] = 'A tag value is required';
-$_lang["reserved_name_warning"] = 'You have used a reserved name.';
-$_lang["reset"] = 'Reset';
-$_lang["reset_failedlogins"] = 'reset';
-$_lang["reset_sort_order"] = 'Reset sort order';
-$_lang["resource"] = 'Resource';
-$_lang["resource_alias"] = 'URL alias';
-$_lang["resource_alias_help"] = 'Set the URL alias to make the Resource accessible as http://example.com/weburl. This only works Friendly URLs are enabled in the site configuration.';
-$_lang["resource_content"] = 'Resource content';
-$_lang["resource_description"] = 'Description';
-$_lang["resource_description_help"] = 'Enter an optional description of this Resource.';
-$_lang["resource_duplicate"] = 'Duplicate Resource';
-$_lang["resource_long_title_help"] = 'Enter an optional longer title for your Resource. This can be used for automatic Resource header tags for search engines, and might be more descriptive for your Resource.';
-$_lang["resource_metatag_help"] = 'Select the META tags or keywords you wish to assign to this Resource. Hold down the CTRL key to select multiple keywords or meta tags.';
-$_lang["resource_opt_contentdispo"] = 'Content-Disposition';
-$_lang["resource_opt_contentdispo_help"] = 'Use the content disposition field to specify how this Resource will be handled by the web browser. For file downloads select the Attachment option.';
-$_lang["resource_opt_emptycache"] = 'Empty cache';
-$_lang["resource_opt_emptycache_help"] = 'Leaving this field checked will make EVO empty the cache after you save the Resource. This way your visitors will not see an older version of the Resource.';
-$_lang["resource_opt_folder"] = 'Container';
-$_lang["resource_opt_folder_help"] = 'Check this to make the Resource also act as a Container for other Resources. A \'Container\' is like a folder, only it can also have content.';
-$_lang["resource_opt_menu_index"] = 'Menu index';
-$_lang["resource_opt_menu_index_help"] = 'Menu Index is a field that can control sorting Resources, particularly in menu Snippet(s). You can also use it for any other purpose in your Snippets.';
-$_lang["resource_opt_menu_title"] = 'Menu title';
-$_lang["resource_opt_menu_title_help"] = 'Menu title is an optional field used to display a short title in menu Snippet(s) or Modules.';
-$_lang["resource_opt_published"] = 'Published';
-$_lang["resource_opt_published_help"] = 'Check this field to have the Resource published immediately after saving it.';
-$_lang["resource_opt_richtext"] = 'Rich text';
-$_lang["resource_opt_richtext_help"] = 'Leave this checked to use the rich text editor for editing Resources. If your Resources contain JavaScript and forms, uncheck this to edit in HTML mode to prevent the editor from incorrectly changing your Resources.';
-$_lang["resource_opt_show_menu"] = 'Show in menu';
-$_lang["resource_opt_show_menu_help"] = 'Select this option to show Resource inside a web menu. Please note that some Menu Builders might choose to ignore this option.';
-$_lang["resource_opt_trackvisit_help"] = 'Log each visitor\'s visit to this page';
-$_lang["resource_overview"] = 'Resource overview';
-$_lang["resource_parent"] = 'Resource parent';
-$_lang["resource_parent_help"] = 'Click the icon to enable setting a Resource parent, then click a Resource in the Site Tree to set a new parent.';
-$_lang["resource_permissions_error"] = 'Assign this Resource to at least one Resource Group to which you have access.';
-$_lang["resource_setting"] = 'Resource setting';
-$_lang["resource_summary"] = 'Summary (introtext)';
-$_lang["resource_summary_help"] = 'Type a brief summary of the Resource';
-$_lang["resource_title"] = 'Title';
-$_lang["resource_title_help"] = 'Enter the name/title of the Resource. Avoid using backslashes in the name.';
-$_lang["resource_to_be_moved"] = 'Resource to be moved';
-$_lang["resource_type"] = 'Resource Type';
-$_lang["resource_type_message"] = 'Weblinks reference Resources on the Internet including another EVO Resource, an external page, or an image or other file on the Internet. Weblinks should have a text/html Internet Media Type and Inline Content-Disposition.';
-$_lang["resource_type_weblink"] = 'Weblink';
-$_lang["resource_type_webpage"] = 'Web page';
-$_lang["resource_weblink_help"] = 'Type the address of the object you wish to reference with this Weblink here. Alternatively insert from the File Browser or use the link selection icon and select a resource from the Site Tree.';
-$_lang["resources_in_container"] = 'Resources in this Container';
-$_lang["resources_in_container_no"] = 'This Container does not have child-Resources.';
-$_lang["role"] = 'Role';
-$_lang["role_about"] = 'View the about page';
-$_lang["role_access_persmissions"] = 'Access permissions';
-$_lang["role_actionok"] = 'View action completed screen';
-$_lang["role_assets_images"] = 'Manage assets/images';
-$_lang["role_assets_files"] = 'Manage assets/files';
-$_lang["role_bk_manager"] = 'Use the Backup Manager';
-$_lang["role_cache_refresh"] = 'Empty the site\'s cache';
-$_lang["role_category_manager"] = 'Use the Category Manager';
-$_lang["role_change_password"] = 'Change password';
-$_lang["role_change_resourcetype"] = 'Change Resource-Type';
-$_lang["role_chunk_management"] = 'Chunk management';
-$_lang["role_config_management"] = 'Configuration management';
-$_lang["role_content_management"] = 'Content management';
-$_lang["role_create_chunk"] = 'Create new Chunks';
-$_lang["role_create_doc"] = 'Create new Resources';
-$_lang["role_create_plugin"] = 'Create new Plugins';
-$_lang["role_create_snippet"] = 'Create new Snippets';
-$_lang["role_create_template"] = 'Create new site Templates';
-$_lang["role_credits"] = 'View credits';
-$_lang["role_delete_chunk"] = 'Delete Chunks';
-$_lang["role_delete_doc"] = 'Delete Resources';
-$_lang["role_delete_eventlog"] = 'Delete event log';
-$_lang["role_delete_module"] = 'Delete Module';
-$_lang["role_delete_plugin"] = 'Delete Plugins';
-$_lang["role_delete_role"] = 'Delete roles';
-$_lang["role_delete_snippet"] = 'Delete Snippets';
-$_lang["role_delete_template"] = 'Delete Templates';
-$_lang["role_delete_user"] = 'Delete users';
-$_lang["role_delete_web_user"] = 'Delete web users';
-$_lang["role_edit_chunk"] = 'Edit Chunks';
-$_lang["role_edit_doc"] = 'Edit a Resource';
-$_lang["role_edit_doc_metatags"] = 'Edit Resource META tags and keywords';
-$_lang["role_edit_module"] = 'Edit Module';
-$_lang["role_edit_plugin"] = 'Edit Plugins';
-$_lang["role_edit_role"] = 'Edit roles';
-$_lang["role_edit_settings"] = 'Change site settings';
-$_lang["role_edit_snippet"] = 'Edit Snippets';
-$_lang["role_edit_template"] = 'Edit site Templates';
-$_lang["role_edit_user"] = 'Edit users';
-$_lang["role_edit_web_user"] = 'Edit web users';
-$_lang["role_empty_trash"] = 'Permanently purge deleted Resources';
-$_lang["role_errors"] = 'View error dialog';
-$_lang["role_eventlog_management"] = 'Event log management';
-$_lang["role_export_static"] = 'Export Static HTML';
-$_lang["role_file_management"] = 'File Management';
-$_lang["role_file_manager"] = 'Use the file manager (full root access)';
-$_lang["role_frames"] = 'Request manager frames';
-$_lang["role_help"] = 'View help pages';
-$_lang["role_home"] = 'Request manager intro page';
-$_lang["role_import_static"] = 'Import HTML';
-$_lang["role_logout"] = 'Log out of the manager';
-$_lang["role_manage_metatags"] = 'Manage site META tags and keywords';
-$_lang["role_management_msg"] = 'Choose the role you wish to edit.';
-$_lang["role_management_title"] = 'Roles';
-$_lang["role_messages"] = 'View and send messages';
-$_lang["role_module_management"] = 'Module management';
-$_lang["role_name"] = 'Role name';
-$_lang["role_new_module"] = 'Create new Module';
-$_lang["role_new_role"] = 'Create new roles';
-$_lang["role_new_user"] = 'Create new users';
-$_lang["role_new_web_user"] = 'Create new web users';
-$_lang["role_plugin_management"] = 'Plugin management';
-$_lang["role_publish_doc"] = 'Publish Resources';
-$_lang["role_remove_locks"] = 'Remove Locks';
-$_lang["role_role_management"] = 'Roles';
-$_lang["role_run_module"] = 'Run Module';
-$_lang["role_save_chunk"] = 'Save Chunks';
-$_lang["role_save_doc"] = 'Save Resources';
-$_lang["role_save_module"] = 'Save Module';
-$_lang["role_save_password"] = 'Save password';
-$_lang["role_save_plugin"] = 'Save Plugins';
-$_lang["role_save_role"] = 'Save roles';
-$_lang["role_save_snippet"] = 'Save Snippets';
-$_lang["role_save_template"] = 'Save Templates';
-$_lang["role_save_user"] = 'Save users';
-$_lang["role_save_web_user"] = 'Save web users';
-$_lang["role_snippet_management"] = 'Snippet management';
-$_lang["role_template_management"] = 'Template management';
-$_lang["role_title"] = 'Create/edit role';
-$_lang["role_udperms"] = 'Permissions management';
-$_lang["role_user_management"] = 'User management';
-$_lang["role_view_docdata"] = 'View a Resource\'s data';
-$_lang["role_view_eventlog"] = 'View event log';
-$_lang["role_view_logs"] = 'View system logs';
-$_lang["role_view_unpublished"] = 'View Unpublished Resources';
-$_lang["role_web_access_persmissions"] = 'Web access permissions';
-$_lang["role_web_user_management"] = 'Web user management';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
-$_lang["rss_url_news_message"] = 'Enter the URL for the EVO News Feed.';
-$_lang["rss_url_news_title"] = 'RSS News Feed';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
-$_lang["rss_url_security_message"] = 'Enter the URL for the EVO Security Feed.';
-$_lang["rss_url_security_title"] = 'RSS Security Feed';
-$_lang["run_module"] = 'Run Module';
-$_lang["saturday"] = 'Saturday';
-$_lang["save"] = 'Save';
-$_lang["save_all_changes"] = 'Save all changes';
-$_lang["save_tag"] = 'Save tag';
-$_lang["saving"] = 'Saving, please wait...';
-$_lang["search"] = 'Search';
-$_lang["search_criteria"] = 'Search criteria';
-$_lang["search_criteria_content"] = 'Search by content';
-$_lang["search_criteria_content_msg"] = 'Find all Resources with the entered text in their content.';
-$_lang["search_criteria_id"] = 'Search by ID';
-$_lang["search_criteria_id_msg"] = 'Enter a Resource\'s ID to quickly locate that Resource.';
-$_lang["search_criteria_top"] = 'Search in main fields';
-$_lang["search_criteria_top_msg"] = 'Pagetitle, Longtitle, Alias, ID';
-$_lang["search_criteria_template_id"] = 'Search by template ID';
-$_lang["search_criteria_template_id_msg"] = 'Find all Resources using the specified template.';
-$_lang["search_criteria_url_msg"] = 'Find Resource by exact URL.';
-$_lang["search_criteria_longtitle"] = 'Search by long title';
-$_lang["search_criteria_longtitle_msg"] = 'Find all Resources with the entered text in their long title.';
-$_lang["search_criteria_title"] = 'Search by title';
-$_lang["search_criteria_title_msg"] = 'Find all Resources with the entered text in their title.';
-$_lang["search_empty"] = 'Your search returned no results. Please broaden your search criteria and try again.';
-$_lang["search_item_deleted"] = 'This item has been deleted';
-$_lang["search_results"] = 'Search results';
-$_lang["search_results_returned_desc"] = 'Description';
-$_lang["search_results_returned_id"] = 'ID';
-$_lang["search_results_returned_msg"] = 'Your search criteria returned %s Resources. If a lot of results are being returned, try to enter a more specific search. The two left-most columns will allow you to find the Resource in the Site Tree or view the Resource. The two right most columns show, respectively, if a Resource has been deleted and what it\'s published status is.
';
-$_lang["search_results_returned_title"] = 'Title';
-$_lang["search_view_docdata"] = 'View this item';
-$_lang["security"] = 'Security';
-$_lang["security_notices_tab"] = 'Security Notices';
-$_lang["security_notices_title"] = 'Security Notices';
-$_lang["select_date"] = 'Select a date';
-$_lang["send"] = 'Send';
-$_lang["server_protocol_http"] = 'http';
-$_lang["server_protocol_https"] = 'https';
-$_lang["server_protocol_message"] = 'If your site is on a https connection, please specify so here.';
-$_lang["server_protocol_title"] = 'Server type';
-$_lang["serveroffset"] = 'Server offset';
-$_lang["serveroffset_message"] = 'Select the number of hours time difference between where you are and where the server is. Current time on server is [%s] , current time on server using the currently saved offset is [%s] .';
-$_lang["serveroffset_title"] = 'Server offset time';
-$_lang["servertime"] = 'Server Time';
-$_lang["set_automatic"] = 'Set automatic';
-$_lang["set_default"] = 'Set default';
-$_lang["set_default_all"] = 'Set defaults';
-$_lang["settings_after_install"] = 'As this is a new install, you are required to control these settings, and change any that you may wish to. After you\'ve controlled the settings, press \'Save\' to update the settings database.';
-$_lang["settings_config"] = 'Configuration';
-$_lang["settings_dependencies"] = 'Dependencies';
-$_lang["settings_events"] = 'System Events';
-$_lang["settings_furls"] = 'Friendly URLs';
-$_lang["settings_general"] = 'General';
-$_lang["settings_group_tv_message"] = 'Choose if Template Variables should be grouped in sections or tabs (named by TV category) when editing a Resource';
-$_lang["settings_group_tv_options"] = 'No,Sections in General tab,Tabs in General tab,Sections in new tab,Tabs in new tab,New tabs';
-$_lang["settings_misc"] = 'File Manager';
-$_lang["settings_security"] = 'Security';
-$_lang["settings_KC"] = 'File Browser';
-$_lang["settings_page_settings"] = 'Settings';
-$_lang["settings_photo"] = 'Photo';
-$_lang["settings_properties"] = 'Properties';
-$_lang["settings_site"] = 'Site';
-$_lang["settings_strip_image_paths_message"] = 'If this is set to \'No\', EVO will write file browser src\'s (images, files, flash, etc.) as absolute URLs. Relative URLs are helpful should you wish to move your EVO install, e.g., from a staging site to a production site. If you have no idea what this means, it\'s best just to leave it set to \'Yes\'.';
-$_lang["settings_strip_image_paths_title"] = 'Rewrite browser paths?';
-$_lang["settings_templvars"] = 'Template Variables';
-$_lang["settings_title"] = 'System configuration';
-$_lang["settings_ui"] = 'Interface & Features';
-$_lang["settings_users"] = 'User';
-$_lang["show_meta"] = 'Show META Keywords tab';
-$_lang["show_meta_message"] = 'Show the deprecated META Keywords tab when editing Resources in the Manager.';
-$_lang["show_tree"] = 'Show Site Tree';
-$_lang["showing"] = 'Showing';
-$_lang["signupemail_message"] = 'Set the email message sent to users when creating accounts including their username and password.Note: The following Placeholders are replaced by the Content Manager when the message is sent: [+sname+] - Name of your web site, [+saddr+] - Your web site email address, [+surl+] - Your site url, [+uid+] - User\'s Login name or id, [+pwd+] - User\'s password, [+ufn+] - User\'s full name. Leave the [+uid+] and [+pwd+] in the e-mail, or else the username and password won\'t be sent in the mail and your users won\'t know their username or password! ';
-$_lang["signupemail_title"] = 'Signup e-mail';
-$_lang["site"] = 'Site';
-$_lang["site_schedule"] = 'Schedule';
-$_lang["sitename_message"] = 'Enter the name of your site here.';
-$_lang["sitename_title"] = 'Site name';
-$_lang["sitestart_message"] = 'Enter the ID of the Resource you want to use as homepage here. NOTE: make sure this ID you enter belongs to an existing Resource, and that it has been published! ';
-$_lang["sitestart_title"] = 'Site start';
-$_lang["sitestatus_message"] = 'Select \'Online\' to publish your site on the web. If you select \'Offline\', your visitors will see the \'Site unavailable message\', and won\'t be able to browse the site.';
-$_lang["sitestatus_title"] = 'Site status';
-$_lang["siteunavailable_message"] = 'Message to show when the site is offline or if an error occurs. Note: This message will only be displayed if the Site unavailable page option is not set. ';
-$_lang["siteunavailable_message_default"] = 'The site is currently unavailable.';
-$_lang["siteunavailable_page_message"] = 'Enter the ID of the Resource you want to use as an offline page here. NOTE: make sure this ID you enter belongs to an existing Resource, and that it has been published! ';
-$_lang["siteunavailable_page_title"] = 'Site unavailable page';
-$_lang["siteunavailable_title"] = 'Site unavailable message';
-$_lang["snippet"] = 'Snippet';
-$_lang["snippets"] = 'Snippets';
-$_lang["snippet_code"] = 'Snippet code (php)';
-$_lang["snippet_desc"] = 'Description';
-$_lang["snippet_execonsave"] = 'Execute Snippet after saving.';
-$_lang["snippet_management_msg"] = 'Choose the Snippet you wish to edit.';
-$_lang["snippet_msg"] = 'Add/edit Snippets. Remember, Snippets are \'raw\' PHP code, and if you expect the output of the Snippet to be shown at a certain point within the Template, you need to return a value from within the Snippet.';
-$_lang["snippet_name"] = 'Snippet name';
-$_lang["snippet_properties"] = 'Default Properties';
-$_lang["snippet_title"] = 'Create/edit Snippet';
-$_lang["sort_alphabetically"] = 'Sort alphabetically';
-$_lang["sort_asc"] = 'Ascending';
-$_lang["sort_desc"] = 'Descending';
-$_lang["sort_menuindex"] = 'Sort menu index';
-$_lang["sort_tree"] = 'Sort the Site Tree';
-$_lang['sort_updating'] = 'Updating ...';
-$_lang['sort_updated'] = 'Updated!';
-$_lang['sort_nochildren'] = 'Parent does not have any children';
-$_lang["sort_elements_msg"] = 'Drag to reorder the listed elements.';
-$_lang["source"] = 'Source';
-$_lang["stay"] = 'Continue editing';
-$_lang["stay_new"] = 'Add another';
-$_lang["submit"] = 'Submit';
-$_lang["sunday"] = 'Sunday';
-$_lang["sys_alert"] = 'System Alert';
-$_lang["sysinfo_activity_message"] = 'This list show which Resources have been recently edited by your users.';
-$_lang["sysinfo_userid"] = 'User';
-$_lang["system_email_signup"] = '
-
-Hello [+uid+]
-
-Here are your login details for [+sname+] Content Manager:
-
-Username: [+uid+]
-Password: [+pwd+]
-
-Once you log into the Content Manager ([+surl+]), you can change your password.
-
-Regards,
-Site Administrator
-';
-$_lang["system_email_webreminder"] = 'Hello [+uid+]
-
-To activate your new password click the following link:
-
-[+surl+]
-
-If successful you can use the following password to login:
-
-Password:[+pwd+]
-
-If you did not request this email then please ignore it.
-
-Regards,
-Site Administrator';
-$_lang["system_email_websignup"] = 'Hello [+uid+]
-
-Here are your login details for [+sname+]:
-
-Username: [+uid+]
-Password: [+pwd+]
-
-Once you log into [+sname+] ([+surl+]), you can change your password.
-
-Regards,
-Site Administrator';
-$_lang["table_hoverinfo"] = 'Hover the mouse cursor over a table\'s name to see a short description of the table\'s function (not all tables have comments set).';
-$_lang["table_prefix"] = 'Table prefix';
-$_lang["tag"] = 'Tag';
-$_lang["template"] = 'Template';
-$_lang["templates"] = 'Templates';
-$_lang["template_assignedtv_tab"] = 'Assigned Template Variables';
-$_lang["template_code"] = 'Template code (html)';
-$_lang["template_desc"] = 'Description';
-$_lang["template_edit_tab"] = 'Edit Template';
-$_lang["template_management_msg"] = 'Choose which Template you wish to edit.';
-$_lang["template_msg"] = 'Create and edit Templates. Changed or new Templates won\'t be visible in your site\'s cached pages until the cache is emptied, however, you can use the preview function on a page to see the Template in action.';
-$_lang["template_name"] = 'Template name';
-$_lang["template_no_tv"] = 'No Template Variables have been assigned to this Template yet.';
-$_lang["template_notassigned_tv"] = 'These Template Variables are available for assigning.';
-$_lang["template_reset_all"] = 'Reset all pages to use Default Template';
-$_lang["template_reset_specific"] = 'Reset only \'%s\' pages';
-$_lang["template_selectable"] = 'Template selectable when creating or editing ressources.';
-$_lang["template_title"] = 'Create/edit Template';
-$_lang["template_tv_edit"] = 'Edit the TV sort order';
-$_lang["template_tv_edit_message"] = 'Drag to reorder the Template Variables for this template.';
-$_lang["template_tv_edit_title"] = 'Template Variable Sort Order';
-$_lang["template_tv_msg"] = 'The Template Variables assigned to this Template are listed below.';
-$_lang["thursday"] = 'Thursday';
-$_lang["tmplvar_access_msg"] = 'Select the Resource Groups that are allowed to modify the content or value of this Template Variable';
-$_lang["tmplvar_change_template_msg"] = 'Changing this Template will cause the page to reload the Template Variables, losing any unsaved changes.\n\n Are you sure you want to change this Template?';
-$_lang["tmplvar_inuse"] = 'The following Resource(s) are currently using this Template Variable. To continue with the delete operation click the Delete button otherwise click the Cancel button.';
-$_lang["tmplvar_tmpl_access"] = 'Template Access';
-$_lang["tmplvar_tmpl_access_msg"] = 'Select the Templates that are allowed to access/process this Template Variable';
-$_lang["tmplvar"] = 'Template Variable';
-$_lang["tmplvars"] = 'Template Variables';
-$_lang["tmplvars_binding_msg"] = 'This field supports data source bindings using the @ commands';
-$_lang["tmplvars_caption"] = 'Caption';
-$_lang["tmplvars_default"] = 'Default Value';
-$_lang["tmplvars_description"] = 'Description';
-$_lang["tmplvars_elements"] = 'Input Option Values';
-$_lang["tmplvars_inherited"] = 'Value inherited';
-$_lang["tmplvars_management_msg"] = 'Manage additional Template Variables for your Resources.';
-$_lang["tmplvars_msg"] = 'Add or edit Template Variables here. Template Variables must be assigned to Templates in order to access them from Snippets and Resources.';
-$_lang["tmplvars_name"] = 'Template Variable Name';
-$_lang["tmplvars_novars"] = 'No Template Variables found';
-$_lang["tmplvars_rank"] = 'Sort Order';
-$_lang["tmplvars_rank_edit_message"] = 'Drag to reorder the Template Variables.';
-$_lang["tmplvars_reset_params"] = 'Reset parameters';
-$_lang["tmplvars_title"] = 'Create/edit Template Variable';
-$_lang["tmplvars_type"] = 'Input Type';
-$_lang["tmplvars_widget"] = 'Widget';
-$_lang["tmplvars_widget_prop"] = 'Widget Properties';
-$_lang["to"] = 'to';
-$_lang["tools"] = 'Tools';
-$_lang["top_howmany_message"] = 'When viewing reports, how large should the \'Top ...\' lists be?';
-$_lang["top_howmany_title"] = 'Top how many';
-$_lang["total"] = 'total';
-$_lang["track_visitors_message"] = 'Check to show the child resources in the document tree';
-$_lang["track_visitors_title"] = 'Show child resources';
-$_lang["tree_page_click"] = 'Page Click Behavior';
-$_lang["tree_page_click_message"] = 'The default behavior when clicking on a page in the site tree.';
-$_lang["use_breadcrumbs"] = 'Show navigation';
-$_lang["use_breadcrumbs_message"] = 'Show the navigation when creating or editing Resource in the Manager';
-$_lang["tree_show_protected"] = 'Show protected pages';
-$_lang["tree_show_protected_message"] = 'When set to "No", Protected Resources (and all their child-Resources) do not appear in the Site Tree menu. "No" is the legacy setting for EVO.';
-$_lang["truncate_table"] = 'Click here to truncate this table';
-$_lang["tuesday"] = 'Tuesday';
-$_lang["tv"] = 'TV';
-$_lang["type"] = 'Type';
-$_lang["udperms_allowroot_message"] = 'Allow Users to create new Resources in the site root. ';
-$_lang["udperms_allowroot_title"] = 'Allow root';
-$_lang["udperms_message"] = 'Control access to Resources via User Groups and Resource Groups.';
-$_lang["udperms_title"] = 'Use access permissions';
-$_lang["unable_set_link"] = 'Unable to set the link!';
-$_lang["unable_set_parent"] = 'Unable to set new parent!';
-$_lang["unauthorizedpage_message"] = 'Enter a published and publicly accessible Resource ID to redirect Users to when requesting a secured/unauthorized Resource.';
-$_lang["unauthorizedpage_title"] = 'Unauthorized page';
-$_lang["unblock_message"] = 'This User will not be blocked after saving the User\'s data.';
-$_lang["undelete_resource"] = 'Undelete Resource';
-$_lang["unpublish_date"] = 'Unpublish Date';
-$_lang["unpublish_events"] = 'Un-publish Events';
-$_lang["unpublish_resource"] = 'Un-publish Resource';
-$_lang["untitled_resource"] = 'Untitled Resource';
-$_lang["untitled_weblink"] = 'Untitled Weblink';
-$_lang["update_params"] = 'Update parameter display';
-$_lang["update_settings_from_language"] = 'Replace current with:';
-$_lang["upload_maxsize_message"] = 'Enter the maximum file size that can be uploaded via the file manager. Upload file size must be entered in bytes. NOTE: Large files can take a very long time to upload! ';
-$_lang["upload_maxsize_title"] = 'Maximum upload size';
-$_lang["uploadable_files_message"] = 'Enter a list of files that can be uploaded into \'assets/files/\' using the File Browser. Please enter the extensions for the filetypes, separated by commas.';
-$_lang["uploadable_files_title"] = 'Uploadable File Types';
-$_lang["uploadable_flash_message"] = 'Enter a list of files that can be uploaded into \'assets/flash/\' using the File Browser. Please enter the extensions for the flash types, separated by commas.';
-$_lang["uploadable_flash_title"] = 'Uploadable Flash Types';
-$_lang["uploadable_images_message"] = 'Enter a list of files that can be uploaded into \'assets/images/\' using the File Browser. Please enter the extensions for the image types, separated by commas.';
-$_lang["uploadable_images_title"] = 'Uploadable Image Types';
-$_lang["uploadable_media_message"] = 'Enter a list of files that can be uploaded into \'assets/media/\' using the File Browser. Please enter the extensions for the media types, separated by commas.';
-$_lang["uploadable_media_title"] = 'Uploadable Media Types';
-$_lang["use_alias_path_message"] = 'Enabling this option generates a virtual path to the Resource. E.g., if a Resource "child.html" is located in a Container Resource "parent", then the full URL alias path URL will be "/parent/child.html".';
-$_lang["use_alias_path_title"] = 'Use Friendly URL alias path';
-$_lang["use_editor_message"] = 'Enable editing with a Rich Text Editor (RTE). This setting applies to all Resources, but can be overridden in the User settings.';
-$_lang["use_editor_title"] = 'Enable editor';
-$_lang["user"] = 'User';
-$_lang["user_block"] = 'Blocked';
-$_lang["user_blockedafter"] = 'Blocked After';
-$_lang["user_blockeduntil"] = 'Blocked Until';
-$_lang["user_changeddata"] = 'Your data has been changed. Please log in again.';
-$_lang["user_country"] = 'Country';
-$_lang["user_dob"] = 'Date of birth';
-$_lang["user_doesnt_exist"] = 'User does not exist';
-$_lang["user_edit_self_msg"] = 'You may need to log out and log in again after saving to fully update your information. New passwords will be sent to your e-mail address or shown onscreen.';
-$_lang["user_email"] = 'E-mail address';
-$_lang["user_failedlogincount"] = 'Failed logins';
-$_lang["user_fax"] = 'Fax';
-$_lang["user_female"] = 'Female';
-$_lang["user_full_name"] = 'Full name';
-$_lang["user_gender"] = 'Gender';
-$_lang["user_is_blocked"] = 'This User is blocked!';
-$_lang["user_logincount"] = 'Number of logins';
-$_lang["user_male"] = 'Male';
-$_lang["user_management_msg"] = 'Choose the Content Manager to edit. Content Manager Users are those Users who are allowed to log into the Content Manager';
-$_lang["user_management_title"] = 'Manager Users';
-$_lang["user_mobile"] = 'Mobile phone number';
-$_lang["user_phone"] = 'Phone number';
-$_lang["user_photo"] = 'User Photo';
-$_lang["user_photo_message"] = 'Enter the image url for the this User or use the insert button to selected or upload an image file on the server.';
-$_lang["user_prevlogin"] = 'Last login';
-$_lang["user_role"] = 'User\'s role';
-$_lang["user_state"] = 'State';
-$_lang["user_title"] = 'Create/Edit User';
-$_lang["user_upload_message"] = ' If you wish to stop this User uploading any filetypes in this category, make sure that the \'Use Main Configuration Setting\' checkbox is not ticked and leave the field blank.';
-$_lang["user_use_config"] = 'Use System Configuration Setting';
-$_lang["user_zip"] = 'Zip';
-$_lang["username"] = 'Username';
-$_lang["users"] = 'Security';
-$_lang["valid_hostnames_message"] = 'Help prevent XSS exploits misusing the site_url system setting by providing a comma separated list of valid hostnames for this installation. This is important for some types of shared hosts or hosts direct accessible via an IP address. First hostname in the list is used if the HTTP_HOST does not match any valid hostname.';
-$_lang["valid_hostnames_title"] = 'Valid hostnames';
-$_lang["validate_referer_message"] = 'Validate the HTTP_REFERER headers to reduce the risk of your content editors being tricked into performing unintended actions in the manager as victims of a CSRF (Cross Site Request Forgery) attack. Some configurations may not be able to use this option if the server is not sending HTTP_REFERER headers.';
-$_lang["validate_referer_title"] = 'Validate HTTP_REFERER headers?';
-$_lang["value"] = 'Value';
-$_lang["version"] = 'Version';
-$_lang["view"] = 'View';
-$_lang["view_child_resources_in_container"] = 'View children';
-$_lang["view_log"] = 'View log';
-$_lang["view_logging"] = 'Manager Actions';
-$_lang["view_sysinfo"] = 'System Info';
-$_lang["warning"] = 'Warning!';
-$_lang["warning_not_saved"] = 'The changes you have made have not been saved yet. You can choose to stay on the current page in order to save the changes (\'Cancel\'), or you can leave this page, losing any changes you have made (\'OK\').';
-$_lang["warning_visibility"] = 'Configuration Warnings visible to';
-$_lang["warning_visibility_message"] = 'Control the visibility of the configuration warnings shown on the Manager welcome page';
-$_lang["web_access_permissions"] = 'Web access permissions';
-$_lang["web_access_permissions_user_groups"] = 'Web User groups';
-$_lang["web_permissions"] = 'Web Permissions';
-$_lang["web_user_management_msg"] = 'Choose the web User you wish to edit. Web Users are those Users who are only allowed to log into the web site';
-$_lang["web_user_management_title"] = 'Web Users';
-$_lang["web_user_title"] = 'Create/edit Web User';
-$_lang["web_users"] = 'Web Users';
-$_lang["weblink"] = 'Weblink';
-$_lang["webpwdreminder_message"] = 'Enter a message to be sent to your Web Users whenever they request a new password via email. The Content Manager will send an e-mail containing their new password and activation information. Note: The following Placeholders are replaced by the Content Manager when the message is sent: [+sname+] - Name of your web site, [+saddr+] - Your web site email address, [+surl+] - Your site url, [+uid+] - User\'s Login name or id, [+pwd+] - User\'s password, [+ufn+] - User\'s full name. Leave the [+uid+] and [+pwd+] in the e-mail, or else the username and password won\'t be sent in the mail and your Users won\'t know their username or password! ';
-$_lang["webpwdreminder_title"] = 'Web Reminder Email';
-$_lang["websignupemail_message"] = 'Set the email message sent to Users when creating accounts including their username and passwordNote: The following Placeholders are replaced by the Content Manager when the message is sent: [+sname+] - Name of your web site, [+saddr+] - Your web site email address, [+surl+] - Your site url, [+uid+] - User\'s Login name or id, [+pwd+] - User\'s password, [+ufn+] - User\'s full name. Leave the [+uid+] and [+pwd+] in the e-mail, or else the username and password won\'t be sent in the mail and your Users won\'t know their username or password! ';
-$_lang["websignupemail_title"] = 'Web Signup e-mail';
-$_lang["wednesday"] = 'Wednesday';
-$_lang["welcome_messages"] = 'Your Inbox contains %d message(s), of which %s are unread.';
-$_lang["welcome_title"] = 'Welcome to your EVO Content Manager';
-$_lang["which_editor_message"] = 'Select the rich text editor (RTE). You can download and install additional RTEs from the EVO download page.';
-$_lang["which_editor_title"] = 'Editor to use';
-$_lang["working"] = 'Working...';
-$_lang["wrap_lines"] = 'Wrap lines';
-$_lang["xhtml_urls_message"] = 'Replaces ampersand (&) characters in urls that are generated by EVO with the validating & htmlentity';
-$_lang["xhtml_urls_title"] = 'XHTML URLs';
-$_lang["yes"] = 'Yes';
-$_lang["you_got_mail"] = 'You got mail';
-$_lang["yourinfo_message"] = 'This section shows some information about you:';
-$_lang["yourinfo_previous_login"] = 'Your last login:';
-$_lang["yourinfo_role"] = 'Your role is:';
-$_lang["yourinfo_title"] = 'Your info';
-$_lang["yourinfo_total_logins"] = 'Total number of logins:';
-$_lang["yourinfo_username"] = 'You are logged in as:';
-
-$_lang["a17_error_reporting_title"] = 'Detection level of PHP errors';
-$_lang["a17_error_reporting_msg"] = 'Set the detection level of the PHP errors.';
-$_lang["a17_error_reporting_opt0"] = 'Ignore all';
-$_lang["a17_error_reporting_opt1"] = 'Ignore warnings of a slight notice level (E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT )';
-$_lang["a17_error_reporting_opt2"] = 'Detect all errors except E_NOTICE';
-$_lang["a17_error_reporting_opt99"] = 'Detect all';
-
-$_lang["pwd_hash_algo_title"] = 'Hash algorithm';
-$_lang["pwd_hash_algo_message"] = 'Password hash algorithm.';
-
-$_lang["enable_bindings_title"] = 'Enable @Bindings commands';
-$_lang["enable_bindings_message"] = 'Prevents the execution of PHP functions through TV @Bindings. Useful if you have Manager users who should not be able to create PHP code but need to be able to create or edit TVs. The output of any TV with an @Binding will be "@Bindings disabled".';
-$_lang["enable_filter_title"] = 'Enable filters';
-$_lang["enable_filter_message"] = 'Filters allow you to manipulate the way data is presented or parsed in a tag. They allow you to modify values from inside your templates. This is analogous to PHx. More info '; // todo: change link to documentation
-$_lang["enable_filter_phx_warning"] = 'When PHx plugin enabled, built-in filters are disabled by default';
-
-$_lang["enable_filter_phx_warning"] = 'When PHx plugin enabled, built-in filters are disabled by default';
-
-$_lang["bkmgr_alert_mkdir"] = 'A file cannot be created in a directory. Please check the permission of [+snapshot_path+]';
-$_lang["bkmgr_restore_msg"] = 'Database tables could be restored by SQL:
';
-$_lang["bkmgr_restore_title"] = 'Restore';
-$_lang["bkmgr_import_ok"] = 'SQL recovery was performed normally.';
-$_lang["bkmgr_snapshot_ok"] = 'The snapshot was saved normally.';
-$_lang["bkmgr_run_sql_file_label"] = 'Execute by SQL file';
-$_lang["bkmgr_run_sql_direct_label"] = 'Direct execute SQL commands';
-$_lang["bkmgr_run_sql_submit"] = 'Execute restore';
-$_lang["bkmgr_run_sql_result"] = 'Result';
-$_lang["bkmgr_snapshot_title"] = 'Snapshot save and recovery';
-$_lang["bkmgr_snapshot_msg"] = 'The contents of the database are saved in and restored from a server directory. Location: [+snapshot_path+] ($modx->config[\'snapshot_path\'])
';
-$_lang["bkmgr_snapshot_submit"] = 'Add Snapshot';
-$_lang["bkmgr_snapshot_list_title"] = 'List of snapshots';
-$_lang["bkmgr_restore_submit"] = 'Revert this data';
-$_lang["bkmgr_restore_confirm"] = 'Are you sure you want to revert backup\n[+filename+] ?';
-$_lang["bkmgr_snapshot_nothing"] = 'No snapshots available';
-
-$_lang["files.dynamic.php1"] = 'New Text File';
-$_lang["files.dynamic.php2"] = 'This directory cannot be displayed.';
-$_lang["files.dynamic.php3"] = 'There is a problem in a file name.';
-$_lang["files.dynamic.php4"] = 'The text file was created.';
-$_lang["files.dynamic.php5"] = 'File could not be duplicated.';
-$_lang["files.dynamic.php6"] = 'File or directory could not be renamed.';
-$_lang["files_dynamic_new_folder_name"] = 'Enter new directory name:';
-$_lang["files_dynamic_new_file_name"] = 'Enter new file name:';
-$_lang["not_readable_dir"] = 'Can not read this directory.';
-$_lang["confirm_delete_dir"] = 'Are you sure you want to delete the directory?';
-$_lang["confirm_delete_dir_recursive"] = 'Are you sure you want to delete this directory?\n\nAll files inside this directory will also be deleted.';
-
-$_lang["make_folders_title"] = 'End Container URL with Slash';
-$_lang["make_folders_message"] = 'Append trailing slash to Resources that are set as containers when using Friendly URLs.';
-
-$_lang["check_files_onlogin_title"] = 'Check core files on login';
-$_lang["check_files_onlogin_message"] = 'By enabling this option, important system files will be checked for modification typical of scripted website attacks. While not a foolproof guarantee, it may alert you to a compromised EVO system file and website.';
-
-$_lang["configcheck_sysfiles_mod"] = 'Important System Files have been modified.';
-$_lang["configcheck_sysfiles_mod_msg"] = 'You have configured EVO to check important system files for possible website script attacks. This warning does not necessarily mean your site has been compromised, however, you should review the watched files in your installation (set in System configuration -> User -> Check core files on login). If you find your files unaltered or changes were made by site administrators, go to System Configuration and click to re-save settings to dismiss this message. Changes in the following files have been found:';
-
-$_lang['email_method_title'] = 'Sendmail method';
-$_lang['email_method_mail'] = 'PHP mail() function';
-$_lang['email_method_smtp'] = 'SMTP Server';
-$_lang['smtp_auth_title'] = 'SMTP-AUTH';
-$_lang['smtp_host_title'] = 'SMTP host';
-$_lang['smtp_secure_title'] = 'Encrypted SMTP';
-$_lang['smtp_username_title'] = 'SMTP user name';
-$_lang['smtp_password_title'] = 'SMTP password';
-$_lang['smtp_port_title'] = 'SMTP port';
-
-$_lang["setting_resource_tree_node_name"] = 'Display Name in Resource Tree';
-$_lang["setting_resource_tree_node_name_desc"] = 'Select the Resource field to show as the Resource name in the Resource Tree. The default setting is pagetitle.';
-$_lang["setting_resource_tree_node_name_desc_add"] = 'Note: Since EVO 1.1 you can change this Display Name within Resource-Tree´s sorting option. This setting is used when Display Name in Resource Tree is set to "Default".';
-
-$_lang["resource_opt_alvisibled"] = 'Use current alias in alias path';
-$_lang["resource_opt_alvisibled_help"] = 'The alias of this Resource is inserted in Friendly URL alias path';
-$_lang['resource_opt_is_published'] = 'Published';
-$_lang["docid_incrmnt_method_title"] = 'Increment Resource ID method';
-$_lang["docid_incrmnt_method_0"] = 'DB auto increment';
-$_lang["docid_incrmnt_method_1"] = 'Minimum missed ID';
-$_lang["docid_incrmnt_method_2"] = 'Maximal ID + 1';
-
-$_lang["enable_cache_title"] = 'Document caching';
-$_lang["disabled_at_login"] = 'Disabled at login';
-
-$_lang["cache_type_title"] = 'Document caching type';
-$_lang["cache_type_1"] = 'Cache is based only on Resource ID (standard)';
-$_lang["cache_type_2"] = 'Cache is based on Resource ID and $_GET parameters';
-$_lang["seostrict_title"] = 'Use SEO Strict URLs';
-$_lang["seostrict_message"] = 'Enforces the use of strict URLs to prevent duplicate content (if needed)';
-$_lang["aliaslistingfolder_title"] = 'Use AliasListing only for Folders';
-$_lang["aliaslistingfolder_message"] = 'Reduces memory consumption when a large number of resources';
-
-$_lang["settings_friendlyurls_alert"] = 'It is necessary to rename the ht.access file in the EVO installation directory at .htaccess to use the Friendly URL function.';
-$_lang["settings_friendlyurls_alert2"] = 'Since EVO was installed in a subdirectory, it is necessary to change the content of .htaccess.';
-
-$_lang["user_street"] = 'Street';
-$_lang["user_city"] = 'City';
-$_lang["user_other"] = 'Other';
-
-$_lang["import_site.static.php1"] = 'Reset resource tree';
-$_lang["import_site.static.php2"] = 'Reset resource tree and initialize all Resource IDs.';
-$_lang["import_site.static.php3"] = 'Target';
-$_lang["import_site.static.php4"] = 'Only <body></body> part';
-$_lang["import_site.static.php5"] = 'Whole file content';
-
-$_lang["a83_ignore_ids_title"] = 'Ignore IDs (comma separated)';
-$_lang["export_site.static.php1"] = 'Target';
-$_lang["export_site.static.php2"] = 'Only edited Resources';
-$_lang["export_site.static.php3"] = 'All Resources';
-$_lang["export_site.static.php4"] = 'Search for';
-$_lang["export_site.static.php5"] = 'Replace with';
-$_lang["export_site.static.php6"] = 'Target';
-$_lang["export_site.static.php7"] = 'Files could not be saved to [+rb_base_url+]';
-
-$_lang["mutate_settings.dynamic.php6"] = 'Send mail on EVO errors';
-$_lang["mutate_settings.dynamic.php7"] = 'not notify';
-$_lang["mutate_settings.dynamic.php8"] = 'A mail with the error source will be sent to [(emailsender)] ([+emailsender+]) if a EVO error occurs. The details of the error could be seen in the EVO system events log.';
-
-$_lang["error_no_privileges"] = "You don't have enough privileges for this action!";
-$_lang["error_no_optimise_tablename"] = "Table to optimise not found in request!";
-$_lang["error_no_truncate_tablename"] = "Table to truncate not found in request!";
-$_lang["error_double_action"] = "Double action (GET & POST) posted!";
-$_lang["error_no_id"] = "ID not passed in request!";
-$_lang["error_id_nan"] = "ID passed in request is NaN!";
-$_lang["error_no_parent"] = "Couldn't find parent document's name!";
-$_lang["error_many_results"] = "Too many results returned from database!";
-$_lang["error_no_results"] = "Not enough/ no results returned from database!";
-$_lang["error_no_user_selected"] = "No user selected as recipient of this message!";
-$_lang["error_no_group_selected"] = "No group selected as recipient of this message!";
-$_lang["error_movedocument1"] = "Document cannot be it's own parent!";
-$_lang["error_movedocument2"] = "Document's ID not passed in request!";
-$_lang["error_movedocument3"] = "New parent not set in request!";
-$_lang["error_internet_connection"] = "Server isn't available. Check your internet connection!";
-
-$_lang["login_processor_unknown_user"] = "Incorrect username or password entered!";
-$_lang["login_processor_wrong_password"] = "Incorrect username or password entered!";
-$_lang["login_processor_many_failed_logins"] = "Due to too many failed logins, you have been blocked!";
-$_lang["login_processor_blocked1"] = "You are blocked and cannot log in!";
-$_lang["login_processor_blocked2"] = "You are blocked and cannot log in! Please try again later.";
-$_lang["login_processor_blocked3"] = "You are blocked automatic after a specified date and you cannot log in anymore!";
-$_lang["login_processor_bad_code"] = "The security code you entered didn't validate! Please try to login again!";
-$_lang["login_processor_remotehost_ip"] = "Your hostname doesn't point back to your IP!";
-$_lang["login_processor_remote_ip"] = "You are not allowed to login from this location.";
-$_lang["login_processor_date"] = "You are not allowed to login at this time. Please try again later.";
-$_lang["login_processor_captcha_config"] = "Captcha is not configured properly.";
-
-$_lang["dp_dayNames"] = "['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']";
-$_lang["dp_monthNames"] = "['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']";
-$_lang["dp_startDay"] = "1";
-
-$_lang["check_all"] = "Select all";
-$_lang["check_none"] = "Select none";
-$_lang["check_toggle"] = "Toggle selection";
-
-$_lang["version_notices"] = "Version Notices";
-
-$_lang["em_button_shift"] = " (Shift-Mouseclick to open multiple windows)";
-
-$_lang["reset_sysfiles_checksum_button"] = "Rebuild Checksums";
-$_lang["reset_sysfiles_checksum_alert"] = "Are you sure you want to reset the system files checksums?";
-
-$_lang["file_browser_disabled_msg"] = "The File Browser Feature is not enabled.";
-$_lang["which_browser_default_title"]= "Default File Browser";
-$_lang["which_browser_default_msg"]= "Choose the File Browser you prefer as default. In User-Settings you can choose a Custom Browser per User, or leave it on "default".";
-$_lang["which_browser_title"]= "File Browser";
-$_lang["which_browser_msg"]= "You can choose a custom File Browser for this user. To use the System´s default Browser, leave it on "Default".";
-$_lang["option_default"] = "Default";
-$_lang["position"] = "Position";
-$_lang["are_you_sure"] = "Are you sure?";
-
-$_lang['evo_downloads_title'] = "Evolution Downloads";
-$_lang['help_translating_title'] = "Help translating Evolution";
-$_lang['download'] = "Download";
-$_lang['downloads'] = "Downloads";
-$_lang["previous_releases"] = "Previous Releases";
-$_lang["extras"] = "Extras";
-
-$_lang["display_locks"] = "Display Locks";
-$_lang["role_display_locks"] = "Display Locks";
-$_lang["session_timeout"] = "Session Timeout";
-$_lang["session_timeout_msg"] = "EVO will ping the server as per setting "Mail Check Time Period". If the last ping exceeds this setting, the associated session will be considered invalid and all related locks will be removed automatically. Set value in minutes (>2min, default 15min).";
-$_lang["unlock_element_id_warning"] = "Are you sure you want to unlock this [+element_type+] (ID [+id+])?";
-$_lang["lock_element_type_1"] = "Template";
-$_lang["lock_element_type_2"] = "Template-Variable";
-$_lang["lock_element_type_3"] = "Chunk";
-$_lang["lock_element_type_4"] = "Snippet";
-$_lang["lock_element_type_5"] = "Plugin";
-$_lang["lock_element_type_6"] = "Module";
-$_lang["lock_element_type_7"] = "Resource";
-$_lang["lock_element_type_8"] = "Role";
-$_lang["lock_element_editing"] = "You are editing this [+element_type+] since\n[+lasthit_df+]";
-$_lang["lock_element_locked_by"] = "This [+element_type+] is locked by user\n[+username+] since [+lasthit_df+]";
-
-$_lang["minifyphp_incache_title"] = 'Minify php code in site cache';
-$_lang["minifyphp_incache_message"] = 'Minify php code (snippets and plugins) and store in the site cache file, ref:#938 ';
-
-$_lang["logout_reminder_msg"] = "Reminder: It seems on [+date+] you forgot to logout. Please pay attention in future to do so after your work is finished.";
-
-$_lang["allow_eval_title"] = "Eval php code in snippet call";
-$_lang["allow_eval_msg"] = "For developer : Please use \$modx->safeEval().";
-$_lang["allow_eval_with_scan"] = "Execute only permitted functions";
-$_lang["allow_eval_with_scan_at_post"] = "Execute all. However, at POST, only permitted functions";
-$_lang["allow_eval_everytime_eval"] = "Unlimited (Use only for debugging)";
-$_lang["allow_eval_dont_eval"] = "Do not allow all functions";
-
-$_lang["safe_functions_at_eval_title"] = "Functions to allow eval";
-$_lang["safe_functions_at_eval_msg"] = "Comma separated list";
-
-$_lang["multiple_sessions_msg"] = "Information: Multiple active user sessions (total [+total+]) found for user [+username+] .";
-$_lang["iconv_not_available"] = "It is important to install/enable extension iconv. Please speak to your host if you don´t know how to enable it.";
-
-$_lang["cm_create_new_category"] = "Create the new category";
-$_lang["cm_category_name"] = "Category name";
-$_lang["cm_category_position"] = "Category position";
-$_lang["cm_no_x_assigned"] = "No %s assigned";
-$_lang["cm_save_categorization"] = "Save categorization";
-$_lang["cm_update_categories"] = "Update categories";
-$_lang["cm_assigned_elements"] = "Assigned elements";
-$_lang["cm_edit_name"] = "Edit name";
-$_lang["cm_mark_for_deletion"] = "Mark for deletion";
-$_lang["cm_delete_now"] = "Delete immediately";
-$_lang["cm_delete_element_x_now"] = "Delete "%s" immediately";
-$_lang["cm_select_element_group"] = "Select an element group";
-$_lang["cm_global_messages"] = "Global Messages";
-$_lang["cm_add_new_category"] = "Add a new category";
-$_lang["cm_edit_categories"] = "Edit categories";
-$_lang["cm_sort_categories"] = "Sort categories";
-$_lang["cm_categorize_elements"] = "Categorize elements";
-$_lang["cm_translation"] = "Translation";
-$_lang["cm_translations"] = "Translations";
-$_lang["cm_categorize_x"] = "Categorize %s ";
-$_lang["cm_unknown_error"] = "Something went wrong.";
-$_lang["cm_x_assigned_to_category_y"] = "%s(%s) has been assigned to category %s(%s) ";
-$_lang["cm_no_categorization"] = "No categorization made.";
-$_lang["cm_no_changes"] = "Nothing to change, so no changes made.";
-$_lang["cm_x_changes_made"] = "%s changes made";
-$_lang["cm_enter_name_for_category"] = "Please enter a name for the new category.";
-$_lang["cm_category_x_exists"] = "Category %s already exists.";
-$_lang["cm_category_x_saved_at_position_y"] = "The new category %s was saved at position %s .";
-$_lang["cm_category_x_moved_to_position_y"] = "Category %s was moved to position %s ";
-$_lang["cm_category_x_deleted"] = "Category %s has been deleted";
-$_lang["cm_category_x_renamed_to_y"] = "Category %s was renamed to %s ";
-$_lang["cm_translation_for_x_empty"] = "Translation for %s was empty";
-$_lang["cm_translation_for_x_to_y_success"] = "Translation for %s to %s successfully saved";
-$_lang["cm_save_new_sorting"] = "Save new sorting";
-$_lang["cm_translate_phrases"] = "Translate phrases";
-$_lang["cm_translate_module_phrases"] = "Translate module-phrases";
-$_lang["cm_native_phrase"] = "Native phrase";
-
-$_lang["btn_view_options"] = 'View Options';
-$_lang["view_options_msg"] = 'The display & listing of elements can be customized via "View Options"-button. Settings are saved and restored per Browser using HTML5´s localStorage.';
-$_lang["viewopts_title"] = 'View Options';
-$_lang["viewopts_cb_buttons"] = 'Buttons';
-$_lang["viewopts_cb_descriptions"] = 'Descriptions';
-$_lang["viewopts_cb_icons"] = 'Icons';
-$_lang["viewopts_radio_list"] = 'List';
-$_lang["viewopts_radio_inline"] = 'Inline';
-$_lang["viewopts_radio_flex"] = 'Flex';
-$_lang["viewopts_fontsize"] = 'Font-Size';
-$_lang["viewopts_cb_alltabs"] = 'All Tabs';
+PHP Application Framework and Content Management System licensed under the GNU GPL .';
+$_lang["about_title"] = 'About Evolution';
+$_lang["access_permission_denied"] = 'You do not have the correct permissions for this Resource.';
+$_lang["access_permission_parent_denied"] = 'You do not have permission to create or move a Resource here! Please choose another location.';
+$_lang["access_permissions"] = 'Access permissions';
+$_lang["access_permissions_add_resource_group"] = 'Create a new Resource Group';
+$_lang["access_permissions_add_user_group"] = 'Create a new User Group';
+$_lang["access_permissions_docs_collision"] = 'Because the Web User Groups and Manager User Groups conflict for your Role, this Resource will be public. Contact a site administrator for further help.';
+$_lang["access_permissions_docs_message"] = 'Select which Resource Groups this Resource belongs to';
+$_lang["access_permissions_group_link"] = 'Create a new group link';
+$_lang["access_permissions_introtext"] = 'Manage the User Groups and Resource Groups used for access permissions. To add a user to a User Group, edit the user and select the groups (s)he should be a member of. To add a Resource to a User Group, edit the Resource and select the groups it should belong to.';
+$_lang["access_permissions_link_to_group"] = 'to Resource Group';
+$_lang["access_permissions_link_user_group"] = 'Link User Group';
+$_lang["access_permissions_links"] = 'User/Resource Group links';
+$_lang["access_permissions_links_tab"] = 'Specify which User Groups are given access (i.e. can edit or create children) to the Resource Groups. To link a Resource Group to a User Group, select the appropriate groups from the drop down menus, and click on \'Submit\'. To remove the link for a certain group, press \'Remove\'. This will immediately remove the link.';
+$_lang["access_permissions_no_resources_in_group"] = 'None.';
+$_lang["access_permissions_no_users_in_group"] = 'None.';
+$_lang["access_permissions_off"] = 'Access Permissions are not activated. This means any changes made here will not have any effect until Access Permissions are activated in your Configuration.';
+$_lang["access_permissions_resource_groups"] = 'Resource Groups';
+$_lang["access_permissions_resources_in_group"] = 'Resources in group: ';
+$_lang["access_permissions_resources_tab"] = 'See which Resource Groups have been created. Also create new groups, rename groups, delete groups and see which Resources are in the different groups (hover over the id of the Resource to see it\'s name). To add a Resource to a group or remove a Resource from a group, edit the Resource directly.';
+$_lang["access_permissions_user_groups"] = 'User groups';
+$_lang["access_permissions_user_message"] = 'Select which User Groups this user belongs to:';
+$_lang["access_permissions_users_in_group"] = 'Users in group:';
+$_lang["access_permissions_users_tab"] = 'View the User Groups that have been created. You can also create new groups, rename groups, delete groups and see which users are members of the different groups. To add a new user to a group or to remove a user from a group, edit the user directly. Administrators (users who have been assigned the role with ID 1) always have access to all Resources, so they don\'t need to be added to any groups.';
+$_lang["account_email"] = 'Account email';
+$_lang["actioncomplete"] = 'Action was completed successfully! - Please wait while EVO cleans up.';
+$_lang["activity_message"] = 'This list shows the last Resources you created or edited:';
+$_lang["activity_title"] = 'Recently edited/created Resources';
+$_lang["add"] = 'Add';
+$_lang["add_chunk"] = 'Add Chunk';
+$_lang["add_doc"] = 'Add Resource';
+$_lang["add_folder"] = 'New Directory';
+$_lang["add_plugin"] = 'Add Plugin';
+$_lang["add_resource"] = 'New Resource';
+$_lang["add_snippet"] = 'Add Snippet';
+$_lang["add_tag"] = 'Add tag';
+$_lang["add_template"] = 'Add Template';
+$_lang["add_tv"] = 'Add TV';
+$_lang["add_weblink"] = 'New Weblink';
+$_lang["administrator_role_message"] = 'This role cannot be edited or deleted.';
+$_lang["administrators"] = 'Administrators';
+$_lang["after_saving"] = 'After saving';
+$_lang["alert_delete_self"] = 'You can\'t delete yourself!';
+$_lang["alias"] = 'URL alias';
+$_lang["all_doc_groups"] = 'All Resource Groups (Public)';
+$_lang["all_events"] = 'All Events';
+$_lang["all_usr_groups"] = 'All User Groups (Public)';
+$_lang["allow_mgr_access"] = 'Manager Interface Access';
+$_lang["allow_mgr_access_message"] = 'Select this option to enable or disable access to the manager interface. NOTE: If this option is set to no then the user will be redirected to the Manager Login Startup or Site Start web page. ';
+$_lang["already_deleted"] = 'has already been deleted.';
+$_lang["attachment"] = 'Attachment';
+$_lang["author_infos"] = 'Author information';
+$_lang["automatic_alias_message"] = 'Select \'yes\' to have the system automatically generate a URL alias based on the Resource\'s page title when saving.';
+$_lang["automatic_alias_title"] = 'Automatically generate URL alias';
+$_lang["backup"] = 'Backup';
+$_lang["bk_manager"] = 'Backup';
+$_lang["block_message"] = 'This user will be blocked after saving the user\'s data!';
+$_lang["blocked_minutes_message"] = 'Enter the number of minutes that a user will be blocked for if they reach their maximum number of allowed failed login attempts. Please enter this value as numbers only (no commas, spaces etc.)';
+$_lang["blocked_minutes_title"] = 'Blocked Minutes';
+$_lang["cache_files_deleted"] = 'The following files were deleted:';
+$_lang["cancel"] = 'Cancel';
+$_lang["captcha_code"] = 'Security code';
+$_lang["captcha_message"] = 'Enable this to strengthen security by requiring users to enter a code which is unreadable by machines (and script-kiddy hacking scripts).';
+$_lang["captcha_title"] = 'Use CAPTCHA codes';
+$_lang["captcha_words_default"] = 'EVO,Access,Better,BitCode,Chunk,Cache,Desc,Design,Excell,Enjoy,URLs,TechView,Gerald,Griff,Humphrey,Holiday,Intel,Integration,Joystick,Join(),Oscope,Genetic,Light,Likeness,Marit,Maaike,Niche,Netherlands,Ordinance,Oscillo,Parser,Phusion,Query,Question,Regalia,Righteous,Snippet,Sentinel,Template,Thespian,Unity,Enterprise,Verily,Tattoo,Veri,Website,WideWeb,Yap,Yellow,Zebra,Zygote';
+$_lang["captcha_words_message"] = 'Enter a list of CAPTCHA words to use if CAPTCHA is enabled. Separate the words with commas. This input field is limited to 255 characters.';
+$_lang["captcha_words_title"] = 'CAPTCHA Words';
+$_lang["category_heading"] = 'Category';
+$_lang["category_manager"] = 'Category Manager';
+$_lang["category_management"] = 'Category management';
+$_lang["manage_categories"] = 'Manage Categories';
+$_lang["category_msg"] = 'View and edit all Elements grouped by category.';
+$_lang["cfg_base_path"] = 'MODX_BASE_PATH';
+$_lang["cfg_base_url"] = 'MODX_BASE_URL';
+$_lang["cfg_manager_path"] = 'MODX_MANAGER_PATH';
+$_lang["cfg_manager_url"] = 'MODX_MANAGER_URL';
+$_lang["cfg_site_url"] = 'MODX_SITE_URL';
+$_lang["change_name"] = 'Change name';
+$_lang["change_password"] = 'Change Password';
+$_lang["change_password_confirm"] = 'Confirm password';
+$_lang["change_password_message"] = 'Please enter your new password, and then enter it again to confirm. Your password needs to be at least 6 characters long.';
+$_lang["change_password_new"] = 'New password';
+$_lang["charset_message"] = 'Select the default character encoding for the [(modx_charset)] system variable. This does not affect the Manager.';
+$_lang["charset_title"] = 'Character encoding';
+$_lang["chunk"] = 'Chunk';
+$_lang["chunk_code"] = 'Chunk code (html)';
+$_lang["chunk_multiple_id"] = 'Error: Multiple Chunks share the same unique ID.';
+$_lang["chunk_no_exist"] = 'Chunk does not exist.';
+$_lang["cleaningup"] = 'Cleaning up';
+$_lang["clean_uploaded_filename"] = 'Use Transliteration for File Uploads';
+$_lang["clean_uploaded_filename_message"] = 'Use the default or transalias settings for the file name to clean special characters from uploaded file names, preserving dot-characters (periods)';
+$_lang["clear_log"] = 'Clear log';
+$_lang["click_to_context"] = 'Click to access context menu';
+$_lang["click_to_edit_title"] = 'Click here to edit this record';
+$_lang["click_to_view_details"] = 'Click here to view details';
+$_lang["close"] = 'Close';
+$_lang["code"] = 'Code';
+$_lang["collapse_tree"] = 'Collapse Site Tree';
+$_lang["comment"] = 'Comment';
+$_lang["configcheck_admin"] = 'Please contact a systems administrator and warn them about this message!';
+$_lang["configcheck_cache"] = 'cache directory not writable';
+$_lang["configcheck_cache_msg"] = 'EVO cannot write to the cache directory. EVO will still function as expected, but no caching will take place. To solve this, make the /_cache/ directory writable.';
+$_lang["configcheck_configinc"] = 'Config file still writable';
+$_lang["configcheck_configinc_msg"] = 'Very naughty people could potentially wreak some havoc on your site and everything associated with it. Really. Please make your config file (/[+MGR_DIR+]/includes/config.inc.php) read only!';
+$_lang["configcheck_default_msg"] = 'An unspecified warning was found. Which is strange.';
+$_lang["configcheck_errorpage_unavailable"] = 'Your site\'s Error page is not available.';
+$_lang["configcheck_errorpage_unavailable_msg"] = 'This means that your Error page is not accessible to normal web surfers or does not exist. This can lead to a recursive looping condition and many errors in your site logs. Make sure there are no Webuser Groups assigned to the page.';
+$_lang["configcheck_errorpage_unpublished"] = 'Your site\'s Error page is not published or does not exist.';
+$_lang["configcheck_errorpage_unpublished_msg"] = 'This means that your Error page is inaccessible to the general public. Publish the page or make sure it is assigned to an existing Resource in your Site Tree in the Tools > Configuration menu.';
+$_lang["configcheck_filemanager_path"] = 'The currently set File Manager path seems incorrect.';
+$_lang["configcheck_filemanager_path_msg"] = 'This can happen for example by moving your installation to a different directory or server. Please check and update your Evo system configuration.';
+$_lang["configcheck_hide_warning"] = 'Don\'t show this again. ';
+$_lang["configcheck_images"] = 'Images directory not writable';
+$_lang["configcheck_images_msg"] = 'The images directory isn\'t writable, or doesn\'t exist. This means the Image Manager functions in the editor will not work!';
+$_lang["configcheck_installer"] = 'Installer still present';
+$_lang["configcheck_installer_msg"] = 'The /install directory contains the installer for EVO. Just imagine what might happen if an evil person finds this directory and runs the installer! They\'d probably not get too far, because they need to enter some user information for the database, but it is still best to remove this directory from your server.';
+$_lang["configcheck_lang_difference"] = 'Incorrect number of entries in language file';
+$_lang["configcheck_lang_difference_msg"] = 'The currently selected language has a different number of entries than the default language. While not necessarily a problem, this may mean the language file needs to be updated.';
+$_lang["configcheck_notok"] = 'One or more configuration details didn\'t check out OK:';
+$_lang["configcheck_ok"] = 'Check passed OK - no warnings to report.';
+$_lang["configcheck_php_gdzip"] = 'GD and/or Zip PHP extensions not found';
+$_lang["configcheck_php_gdzip_msg"] = 'EVO needs the GD and Zip extension enabled for PHP. While EVO will work without them, you will not be able to take full advantage of the built-in File Manager, Image Editor or Captcha for logins.';
+$_lang["configcheck_rb_base_dir"] = 'The currently set File base path seems incorrect.';
+$_lang["configcheck_rb_base_dir_msg"] = 'This can happen for example by moving your installation to a different directory or server. Please check and update your Evo system configuration.';
+$_lang["configcheck_register_globals"] = 'register_globals is set to ON in your php.ini configuration file';
+$_lang["configcheck_register_globals_msg"] = 'This configuration makes your site much more susceptible to Cross Site Scripting (XSS) attacks. You should speak to your host about what you can do to disable this setting.';
+$_lang["configcheck_title"] = 'Configuration check';
+$_lang["configcheck_templateswitcher_present"] = 'TemplateSwitcher Plugin detected';
+$_lang["configcheck_templateswitcher_present_delete"] = 'Delete TemplateSwitcher ';
+$_lang["configcheck_templateswitcher_present_disable"] = 'Disable TemplateSwitcher ';
+$_lang["configcheck_templateswitcher_present_msg"] = 'The TemplateSwitcher plugin has been found to cause caching and performance problems, and should be used only the functionality is required in your site.';
+$_lang["configcheck_unauthorizedpage_unavailable"] = 'Your site\'s Unauthorized page is not published or does not exist.';
+$_lang["configcheck_unauthorizedpage_unavailable_msg"] = 'This means that your Unauthorized page is not accessible to normal web surfers or does not exist. This can lead to a recursive looping condition and many errors in your site logs. Make sure there are no Webuser Groups assigned to the page.';
+$_lang["configcheck_unauthorizedpage_unpublished"] = 'The Unauthorized page defined in the site configuration settings is not published.';
+$_lang["configcheck_unauthorizedpage_unpublished_msg"] = 'This means that your Unauthorized page is inaccessible to the general public. Publish the page or make sure it is assigned to an existing Resource in your Site Tree in the Tools > Configuration menu.';
+$_lang["configcheck_validate_referer"] = 'Security Warning: HTTP Header Validation';
+$_lang["configcheck_validate_referer_msg"] = 'The configuration setting Validate HTTP_REFERER headers? is Off. We recommend turning it On. Go to Configuration options ';
+$_lang["configcheck_warning"] = 'Configuration warning: ';
+$_lang["configcheck_what"] = 'What does this mean?';
+$_lang["confirm_block"] = 'Are you sure you want to block this user?';
+$_lang["confirm_delete_category"] = 'Are you sure you want to delete this category?';
+$_lang["confirm_delete_eventlog"] = 'Are you sure you want to delete this event log?';
+$_lang["confirm_delete_file"] = 'Are you sure you want to delete the file?\n\nThis may stop your site from working properly! Only delete this file if you know for certain what you are doing will not break anything.';
+$_lang["confirm_delete_group"] = 'Are you sure you want to delete this group?';
+$_lang["confirm_delete_htmlsnippet"] = 'Are you sure you want to delete this Chunk?';
+$_lang["confirm_delete_keywords"] = 'Are you sure you want to delete these keywords?';
+$_lang["confirm_delete_module"] = 'Are you sure you want to delete this Module?';
+$_lang["confirm_delete_plugin"] = 'Are you sure you want to delete this Plugin?';
+$_lang["confirm_delete_record"] = 'Are you sure you want to delete the selected record(s)?';
+$_lang["confirm_delete_resource"] = 'Are you sure you want to delete this Resource?\nAny children Resources will also be deleted.';
+$_lang["confirm_delete_role"] = 'Are you sure you want to delete this role?';
+$_lang["confirm_delete_snippet"] = 'Are you sure you want to delete this Snippet?';
+$_lang["confirm_delete_tags"] = 'Are you sure you want to delete the selected META tags?';
+$_lang["confirm_delete_template"] = 'Are you sure you want to delete this Template?';
+$_lang["confirm_delete_tmplvars"] = 'Are you sure you want to remove this Template Variable and all stored values?';
+$_lang["confirm_delete_user"] = 'Are you sure you want to delete this User?';
+$_lang["confirm_duplicate_record"] = 'Are you sure you want to duplicate this record?';
+$_lang["confirm_empty_trash"] = 'This will permanently remove ALL deleted Resources?\n\nProceed?';
+$_lang["confirm_load_depends"] = 'Are you sure you want to load the Manage Dependencies screen without saving your modifications?';
+$_lang["confirm_name_change"] = 'Changing the user name can affect other applications that are linked to the Content Manager.\n\nAre you sure you want to change this user name?';
+$_lang["confirm_publish"] = '\n\nPublishing this Resource now will remove any (un)publishing dates that may have been set. If you wish to set or keep publish or unpublish dates, please choose to \'edit\' the Resource instead.\n\nProceed?';
+$_lang["confirm_remove_locks"] = 'Users sometimes close their browser while editing Resources, Templates, Snippets or parsers, possibly leaving the item they were editing in locked state. By pressing OK you can remove ALL locks currently in place.\n\nProceed?';
+$_lang["confirm_reset_sort_order"] = 'Are you sure you want to reset the \"sort order/index\" of all listed elements to 0 ?';
+$_lang["confirm_resource_duplicate"] = 'Are you sure you want to duplicate this Resource? Any item(s) it contains will also be duplicated.';
+$_lang["confirm_setting_language_change"] = 'You have modified the default value and will lose the changes. Proceed?';
+$_lang["confirm_unblock"] = 'Are you sure you want to unblock this user?';
+$_lang["confirm_undelete"] = '\n\nAny children Resources deleted at the same time as this Resource will also be undeleted, but children Resources deleted at an earlier time will still be deleted.';
+$_lang["confirm_unpublish"] = '\n\nUn-publishing this Resource now will remove any (un)publishing dates that may have been set. If you wish to set or keep publish or unpublish dates, please choose to \'edit\' the Resource instead.\n\nProceed?';
+$_lang["confirm_unzip_file"] = 'Are you sure you want to unzip this file?\n\nExisting files will be overwritten.';
+$_lang["could_not_find_user"] = 'Could not find user';
+$_lang["create_folder_here"] = 'Create Container here';
+$_lang["create_resource_here"] = 'Create Resource here';
+$_lang["create_resource_title"] = 'Create Resource';
+$_lang["create_weblink_here"] = 'Create Weblink here';
+$_lang["createdon"] = 'Creation date';
+$_lang["create_new"] = 'Create new';
+$_lang["credits"] = 'Credits';
+$_lang["credits_shouts_msg"] = 'EVO is managed and maintained at evo.im .
';
+$_lang["custom_contenttype_message"] = 'Add custom content types for Resources. To add a new entry, enter the content type in the text box then click the \'Add\' button.';
+$_lang["custom_contenttype_title"] = 'Custom content types';
+$_lang["database_charset"] = 'Database Charset';
+$_lang["database_collation"] = 'Database Collation Charset';
+$_lang["database_name"] = 'Database name';
+$_lang["database_overhead"] = 'Note: Overhead is unused space reserved by MySQL. To free up this space, click on the table\'s overhead figure.';
+$_lang["database_server"] = 'Database server';
+$_lang["database_table_clickbackup"] = 'Backup & download the selected tables';
+$_lang["database_table_clickhere"] = 'Click here';
+$_lang["database_table_datasize"] = 'Data size';
+$_lang["database_table_droptablestatements"] = 'Generate DROP TABLE statements.';
+$_lang["database_table_effectivesize"] = 'Effective size';
+$_lang["database_table_indexsize"] = 'Index size';
+$_lang["database_table_overhead"] = 'Overhead';
+$_lang["database_table_records"] = 'Records';
+$_lang["database_table_tablename"] = 'Table name';
+$_lang["database_table_totals"] = 'Totals';
+$_lang["database_table_totalsize"] = 'Total size';
+$_lang["database_tables"] = 'Database tables';
+$_lang["database_version"] = 'Database Version';
+$_lang["date"] = 'Date';
+$_lang["datechanged"] = 'Date changed';
+$_lang["datepicker_offset"] = 'Datepicker offset';
+$_lang["datepicker_offset_message"] = 'The number of years to show in the past on the datepicker.';
+$_lang["datetime_format"] = 'Date format';
+$_lang["datetime_format_message"] = 'The format for dates in the Manager.';
+$_lang["default"] = 'Default:';
+$_lang["defaultcache_message"] = 'Select \'Yes\' to make all new Resources cacheable by default.';
+$_lang["defaultcache_title"] = 'Cacheable default';
+$_lang["defaultmenuindex_message"] = 'Select \'Yes\' to turn on automatic menu index incrementing by default.';
+$_lang["defaultmenuindex_title"] = 'Menu indexing default';
+$_lang["defaultpublish_message"] = 'Select \'Yes\' to make all new Resources published by default.';
+$_lang["defaultpublish_title"] = 'Published default';
+$_lang["defaultsearch_message"] = 'Select \'Yes\' to make all new Resources searchable by default.';
+$_lang["defaultsearch_title"] = 'Searchable default';
+$_lang["defaulttemplate_message"] = 'Select the Template you wish to use as a system default for new Resources. You can still select a different Template in the Resource editor, this setting just pre-selects one of your Templates for you.';
+$_lang["defaulttemplate_title"] = 'System Default Template';
+$_lang["defaulttemplate_logic_title"] = 'Automatic Template Assignment';
+$_lang["defaulttemplate_logic_general_message"] = 'New Resources will have the following templates, falling back to higher levels if not found:';
+$_lang["defaulttemplate_logic_system_message"] = 'System : the System Default Template.';
+$_lang["defaulttemplate_logic_parent_message"] = 'Parent : the same Template as the parent container.';
+$_lang["defaulttemplate_logic_sibling_message"] = 'Sibling : the same Template as other Resources in the same container.';
+$_lang["delete"] = 'Delete';
+$_lang["delete_resource"] = 'Delete Resource';
+$_lang["delete_tags"] = 'Delete tags';
+$_lang["deleting_file"] = 'Deleting file `%s`: ';
+$_lang["description"] = 'Description';
+$_lang["deselect_keywords"] = 'Clear keywords';
+$_lang["deselect_metatags"] = 'Clear META tags';
+$_lang["disabled"] = 'Disabled';
+$_lang["doc_data_title"] = 'View Resource data';
+$_lang["documentation"] = 'Documentation';
+$_lang["duplicate"] = 'Duplicate';
+$_lang["duplicate_alias_found"] = 'Resource \'%s\' is already using the URL alias \'%s\'. Please enter a unique URL alias.';
+$_lang["duplicate_alias_message"] = 'Select \'yes\' to allow duplicate URL aliases to be saved. NOTE: This option should be used with \'Friendly URL alias path\' option set to \'Yes\' in order to avoid problems when referencing a Resource. ';
+$_lang["duplicate_alias_title"] = 'Allow duplicate URL aliases';
+$_lang["duplicate_name_found_general"] = 'There is already a %s named \'%s\'. Please enter a unique name.';
+$_lang["duplicate_name_found_module"] = 'There is already a Module named \'%s\'. Please enter a unique name.';
+$_lang["duplicated_el_suffix"] = 'Duplicate';
+$_lang["edit"] = 'Edit';
+$_lang["edit_resource"] = 'Edit Resource';
+$_lang["edit_resource_title"] = 'Edit Resource';
+$_lang["edit_settings"] = 'Configuration';
+$_lang["editedon"] = 'Edit date';
+$_lang["editing_file"] = 'Editing file: ';
+$_lang["editor_css_path_message"] = 'Enter the path to your CSS file that you wish to use within the editor. The best way to enter the path is to enter the path from the root of your server, for example: /assets/site/style.css. If you do not wish to load a style sheet into the editor, leave this field blank.';
+$_lang["editor_css_path_title"] = 'Path to CSS file';
+$_lang["element"] = 'Element';
+$_lang["element_categories"] = 'Combined View';
+$_lang["element_filter_msg"] = 'Type here to filter list';
+$_lang["element_management"] = 'Manage Elements';
+$_lang["element_name"] = 'Element name';
+$_lang["element_selector_msg"] = 'Select the Elements(s) from the list below and click the \'Insert\' button.';
+$_lang["element_selector_title"] = 'Element Selector';
+$_lang["elements"] = 'Elements';
+$_lang["email"] = 'Email';
+$_lang["email_sent"] = 'Email sent';
+$_lang["emailsender_message"] = 'The email address of the site administrator. For example, this email address will be used as the destination of system notification e-mail etc.';
+$_lang["emailsender_title"] = 'E-mail address';
+$_lang["emailsubject_default"] = 'Your login details';
+$_lang["emailsubject_message"] = 'Specify the value of the subject of the signup e-mail.';
+$_lang["emailsubject_title"] = 'E-mail subject';
+$_lang["empty_folder"] = 'This Container is empty';
+$_lang["empty_recycle_bin"] = 'Purge deleted Resources';
+$_lang["empty_recycle_bin_empty"] = 'There are no deleted Resources to purge.';
+$_lang["enable_resource"] = 'Enable Element file.';
+$_lang["enable_sharedparams"] = 'Enable parameter sharing';
+$_lang["enable_sharedparams_msg"] = 'NOTE: The above globally unique id (GUID) will be used to uniquely identify this Module and it\'s shared parameters. The GUID is also used to form a link between the Module and the Plugins or Snippets accessing the it\'s shared parameters. ';
+$_lang["enabled"] = 'Enabled';
+$_lang["error"] = 'Error';
+$_lang["error_sending_email"] = 'Error sending email';
+$_lang["errorpage_message"] = 'Enter a published and publicly accessible Resource ID to redirect users to when requesting a non-existing Resource.';
+$_lang["errorpage_title"] = 'Error page';
+$_lang["event_id"] = 'Event Id';
+$_lang["eventlog"] = 'Event log';
+$_lang["eventlog_msg"] = 'The event log is used to display information, warning and error messages generated by the content manager. The \'source\' column shows the section of the content manager where the message occurred.';
+$_lang["eventlog_viewer"] = 'System Events';
+$_lang["everybody"] = 'Everybody';
+$_lang["existing_category"] = 'Existing Category';
+$_lang["expand_tree"] = 'Expand Site Tree';
+$_lang["export_site"] = 'Export Static HTML';
+$_lang["export_site_cacheable"] = 'Include non-cacheable files:';
+$_lang["export_site_exporting_document"] = '[+status+] [+url+] - [+pagetitle+] ([+id+]) ';
+$_lang["export_site_failed"] = 'Failed!';
+$_lang["export_site_failed_no_open"] = 'Cannot open file: ';
+$_lang["export_site_failed_no_retrieve"] = 'Cannot retrieve document.';
+$_lang["export_site_failed_no_write"] = 'Cannot write file.';
+$_lang["export_site_html"] = 'Export site to HTML';
+$_lang["export_site_maxtime"] = 'Max export time:';
+$_lang["export_site_maxtime_message"] = 'Specify the number of seconds EVO can take to export the site (overriding PHP settings). Enter 0 for unlimited time. Please note, setting 0 or a really high number can do weird things to your server and is not recommended.';
+$_lang["export_site_message"] = 'Use this to export the entire site to static HTML files. Please note, however, that you will lose a lot of the EVO functionality should you do so:
Page reads on the exported files will not be recorded. Interactive Snippets will NOT work in exported files Only regular Resources will be exported, Weblinks will not be exported. The export process may fail if your Resources contain Snippets which send redirection headers. Depending on how you\'ve written your Resources, style sheets and images, the design of your site may be broken. To fix this, save/move your exported files to the same directory where the main EVO index.php file is located. Please fill out the form and press \'Export\' to start the export process. The files created will be saved in the /assets/export directory, using the Resources\' URL aliases as filenames when possible. While exporting your site, it\'s best to have the EVO configuration item \'Friendly URL aliases\' set to \'yes\'. Depending on the size of your site, the export may take a while.
Any existing files will be overwritten by the new files if their names are identical!
';
+$_lang["export_site_numberdocs"] = 'Found %s Resources to export...
';
+$_lang["export_site_prefix"] = 'File prefix:';
+$_lang["export_site_start"] = 'Start export';
+$_lang["export_site_success"] = 'Success!';
+$_lang["export_site_success_skip_dir"] = 'Skip this directory.';
+$_lang["export_site_success_skip_doc"] = 'Skip this document.';
+$_lang["export_site_suffix"] = 'File suffix:';
+$_lang["export_site_target_unwritable"] = 'Target directory isn\'t writable. Please ensure the directory is writable, and try again.';
+$_lang["export_site_time"] = 'Export finished. Export took %s seconds to complete.';
+$_lang["failed_login_message"] = 'Enter the number of failed login attempts allowed before blocking a user.';
+$_lang["failed_login_title"] = 'Failed Login Attempts';
+$_lang["fe_editor_lang_message"] = 'Choose a language for the editor to use when used as a front-end editor.';
+$_lang["fe_editor_lang_title"] = 'Front-end Editor Language';
+$_lang["file_delete_file"] = 'Delete file';
+$_lang["file_delete_folder"] = 'Delete directory';
+$_lang["file_deleted"] = 'Success!';
+$_lang["file_download_file"] = 'Download File';
+$_lang["file_download_unzip"] = 'Unzip File';
+$_lang["file_folder_chmod_error"] = 'Unable to change permissions, you will need to change permissions outside of EVO.';
+$_lang["file_folder_created"] = 'Directory created successfully!';
+$_lang["file_folder_deleted"] = 'Directory was successfully deleted!';
+$_lang["file_folder_not_created"] = 'Unable to create directory';
+$_lang["file_folder_not_deleted"] = 'Unable to delete directory. Make sure it is empty before deleting.';
+$_lang["file_not_deleted"] = 'Failed!';
+$_lang["file_not_saved"] = 'Cannot save file, please ensure target directory is writable!';
+$_lang["file_saved"] = 'File updated successfully!';
+$_lang["file_unzip"] = 'Unzip was successful!';
+$_lang["file_unzip_fail"] = 'Unzip Failed!';
+$_lang["filemanager_path_message"] = 'IIS often does not populate the document_root setting properly, which is used by the file manager to determine what you can see. If you are having problems using the file manager, make sure this path points to the root of your EVO installation.';
+$_lang["filemanager_path_title"] = 'File Manager path';
+$_lang["files_access_denied"] = 'Access denied!';
+$_lang["files_data"] = 'Data';
+$_lang["files_dir_listing"] = 'Directory listing for:';
+$_lang["files_directories"] = 'Directories';
+$_lang["files_directory_is_empty"] = 'This directory is empty.';
+$_lang["files_dirwritable"] = 'Directory writable?';
+$_lang["files_editfile"] = 'Edit file';
+$_lang["files_file_type"] = 'File type: ';
+$_lang["files_filename"] = 'Filename';
+$_lang["files_fileoptions"] = 'Options';
+$_lang["files_files"] = 'Files';
+$_lang["files_filesize"] = 'File size';
+$_lang["files_filetype_notok"] = 'Uploading of this kind of file is not allowed!';
+$_lang["files_management"] = 'Manage Files';
+$_lang["files_management_no_permission"] = 'You do not have enough permissions to view or edit these files. Ask the administrator to grant you access to %s .';
+$_lang["files_modified"] = 'Modified';
+$_lang["files_top_level"] = 'To top level';
+$_lang["files_up_level"] = 'Up one level';
+$_lang["files_upload_copyfailed"] = 'Failed to copy file to destination directory - upload failed!';
+$_lang["files_upload_error"] = 'Error';
+$_lang["files_upload_error0"] = 'There was a problem with your upload.';
+$_lang["files_upload_error1"] = 'The file you are trying to upload is too big.';
+$_lang["files_upload_error2"] = 'The file you are trying to upload is too big.';
+$_lang["files_upload_error3"] = 'The file you are trying upload was only partially uploaded.';
+$_lang["files_upload_error4"] = 'You must select a file for upload.';
+$_lang["files_upload_error5"] = 'There was a problem with your upload.';
+$_lang["files_upload_inhibited_msg"] = 'Upload feature inhibited - make sure uploads are supported and the directory is writable for PHP.';
+$_lang["files_upload_ok"] = 'File uploaded successfully!';
+$_lang["files_upload_permissions_error"] = 'Possible permission problems - the directory you want to upload to needs to be writable by your webserver.';
+$_lang["files_uploadfile"] = 'Upload file';
+$_lang["files_uploadfile_msg"] = 'Select a file to upload:';
+$_lang["files_uploading"] = 'Uploading %s to %s/ ';
+$_lang["files_viewfile"] = 'View file';
+$_lang["folder"] = 'Folder';
+$_lang["forgot_password_email_fine_print"] = '* The URL above will expire once you change your password or after today.';
+$_lang["forgot_password_email_instructions"] = 'From there you will be able to change your password from the My Account menu.';
+$_lang["forgot_password_email_intro"] = 'A request has been made to change the password on your account.';
+$_lang["forgot_password_email_link"] = 'Click here to complete the process.';
+$_lang["forgot_your_password"] = 'Forgot your password?';
+$_lang["friday"] = 'Friday';
+$_lang["friendly_alias_message"] = 'With Friendly URLs enabled, a Resource URL alias will be used when present instead of the Resource ID. E.g., if a Resource with ID 1 has an URL alias of "introduction", no prefix set (empty) and a suffix of ".html", enabling this option would generate an URL alias of "introduction.html". If there is no URL alias set, EVO generates "1.html".';
+$_lang["friendly_alias_title"] = 'Use Friendly URL aliases';
+$_lang["friendlyurls_message"] = 'Use Search Engine Friendly URLs on Apache webservers with mod_rewrite or IIS with third-party plugins. See the .htaccess file in the site root of the distribution for more info.';
+$_lang["friendlyurls_title"] = 'Use FriendlyURLs';
+$_lang["friendlyurlsprefix_message"] = 'A prefix setting of "page" will turn the URL /index.php?id=2 to the URL alias "page2.html" (assuming the suffix is set to .html).';
+$_lang["friendlyurlsprefix_title"] = 'Friendly URL Prefix';
+$_lang["friendlyurlsuffix_message"] = 'Any suffix you choose will work, including no suffix at all. E.g., ".aspx" will append .aspx to all URL aliases.';
+$_lang["friendlyurlsuffix_title"] = 'Friendly URL Suffix';
+$_lang["functionnotimpl"] = 'Sorry!';
+$_lang["functionnotimpl_message"] = 'This function has not been implemented yet.';
+$_lang["further_info"] = 'Further information';
+$_lang["global_tabs"] = 'Global Tabs';
+$_lang["go"] = 'Go';
+$_lang["group_access_permissions"] = 'User group access';
+$_lang['group_tvs'] = 'Group TV';
+$_lang["guid"] = 'GUID';
+$_lang["help"] = 'Help';
+$_lang["help_msg"] = 'You can obtain free community support by visiting the EVO Forums . There is also a growing body of EVO Documentation and Guides that touch on virtually every aspect of EVO.
We are planning to offer commercial support services for EVO as well. Please email us if you\'re interested .
';
+$_lang["help_title"] = 'Help';
+$_lang["hide_tree"] = 'Hide Site Tree';
+$_lang["home"] = 'Home';
+$_lang["htmlsnippet"] = 'Chunk';
+$_lang["htmlsnippets"] = 'Chunks';
+$_lang["htmlsnippet_desc"] = 'Description';
+$_lang["htmlsnippet_management_msg"] = 'Select the Chunk you wish to edit.';
+$_lang["htmlsnippet_msg"] = 'Add and edit Chunks. Remember, Chunks are \'raw\' HTML code, so any PHP code won\'t be processed.';
+$_lang["htmlsnippet_name"] = 'Chunk name';
+$_lang["htmlsnippet_title"] = 'Create/edit Chunk';
+$_lang["icon"] = 'Icon';
+$_lang["icon_description"] = 'CSS class value. e.g. fa fa-star';
+$_lang["id"] = 'ID';
+$_lang["illegal_parent_child"] = 'Parent Assignment:\n\nResource is a child of the selected Resource.';
+$_lang["illegal_parent_self"] = 'Parent Assignment:\n\nThe selected Resource cannot be assigned to itself.';
+$_lang["images_management"] = 'Manage Images';
+$_lang["import_files_found"] = 'Found %s Resources for import... ';
+$_lang["import_params"] = 'Import Module shared parameters';
+$_lang["import_params_msg"] = 'You can import the parameters or settings of a Module by selecting the name of the Module from the above drop down menu. NOTE: In order for Modules to appear inside the menu, this Plugin/Snippet must be a part of the Module\'s dependency listing and the Module must have parameter sharing enabled. ';
+$_lang["import_parent_resource"] = 'Parent Resource:';
+$_lang["import_site"] = 'Import HTML';
+$_lang["import_site_failed"] = 'Failed!';
+$_lang["import_site_failed_db_error"] = 'A database error occured while trying to clone Resource: ';
+$_lang["import_site_failed_no_open_dir"] = 'Could not open directory: ';
+$_lang["import_site_failed_no_retrieve_file"] = 'Could not retrieve file: ';
+$_lang["import_site_html"] = 'Import site from HTML';
+$_lang["import_site_importing_document"] = 'Importing file %s ';
+$_lang["import_site_maxtime"] = 'Max import time:';
+$_lang["import_site_maxtime_message"] = 'Specify the number of seconds allowed for the Content Manager to import the site (overriding PHP settings). Enter 0 for unlimited time. Please note, setting 0 or a really high number can do weird things to your server and is not recommended.';
+$_lang["import_site_message"] = 'Import an entire HTML site into your site database. Please note that you will need to copy your html files and/or directories into the /assets/import directory.
Please fill out the form and press \'Import\' to start the import process. The files imported will be saved into the selected location, using the files name as the Resource\'s URL aliases where possible, and the Resource title tag as the pagetitle.';
+$_lang["import_site_skip"] = 'Skipped!';
+$_lang["import_site_start"] = 'Start Import';
+$_lang["import_site_success"] = 'Success!';
+$_lang["import_site_time"] = 'Import finished. Import took %s seconds to complete.';
+$_lang["inbox"] = 'Inbox';
+$_lang["info"] = 'Info';
+$_lang["information"] = 'Information';
+$_lang["inline"] = 'Inline';
+$_lang["insert"] = 'Insert';
+$_lang["maxImageWidth"] = 'Maximum image width';
+$_lang["maxImageHeight"] = 'Maximum image height';
+$_lang["thumbWidth"] = 'Maximum thumbnail width';
+$_lang["thumbHeight"] = 'Maximum thumbnail height';
+$_lang["thumbsDir"] = 'Thumbnails directory location';
+$_lang["jpegQuality"] = 'JPEG compression';
+$_lang["denyZipDownload"] = 'Disable zip-archives downloading';
+$_lang["denyExtensionRename"] = 'Disable renaming of file extensions';
+$_lang["maxImageWidth_message"] = 'If uploaded image resolution exceeds this setting it will be automatically resized. Set 0 to avoid.';
+$_lang["maxImageHeight_message"] = 'If uploaded image resolution exceeds this setting it will be automatically resized. Set 0 to avoid.';
+$_lang["thumbWidth_message"] = 'Maximum thumbnail width.';
+$_lang["thumbHeight_message"] = 'Maximum thumbnail height.';
+$_lang["thumbsDir_message"] = 'The name of thumbnail directory.';
+$_lang["jpegQuality_message"] = 'JPEG compression quality of thumbnails and resized images';
+$_lang["showHiddenFiles"] = 'Show hidden files in file browser';
+$_lang["keyword"] = 'Keyword';
+$_lang["keywords"] = 'Keywords';
+$_lang["keywords_intro"] = 'To edit a keyword, simply type in the new keyword in the text field next to the keyword you wish to change. To delete a keyword, check the \'delete\' box for that keyword. If you check the keyword\'s delete box, and also change it\'s name, it will be deleted, and the renaming of the keyword will not take place!';
+$_lang["language_message"] = 'Select the language for the EVO Content Manager.';
+$_lang["language_title"] = 'Manager language';
+$_lang["last_update"] = 'Last update';
+$_lang["launch_site"] = 'View Site';
+$_lang["license"] = 'License';
+$_lang["link_attributes"] = 'Link Attributes';
+$_lang["link_attributes_help"] = 'Enter optional attributes for a link for this page, such as target="_blank" or rel="external".';
+$_lang["list_mode"] = 'Turn on/off list mode - used to list all records in the grid.';
+$_lang["loading_doc_tree"] = 'Loading Site Tree...';
+$_lang["loading_menu"] = 'Loading menu...';
+$_lang["loading_page"] = 'Please wait while EVO loads the page...';
+$_lang["localtime"] = 'Local Time';
+$_lang["lock_htmlsnippet"] = 'Lock Chunk for editing';
+$_lang["lock_htmlsnippet_msg"] = 'Only Administrators (Role ID 1) can edit this Chunk.';
+$_lang["lock_module"] = 'Lock Module for editing';
+$_lang["lock_module_msg"] = 'Only Administrators (Role ID 1) can edit this Module.';
+$_lang["lock_msg"] = '%s is currently editing this %s. Please wait until the other user has finished and try again.';
+$_lang["lock_plugin"] = 'Lock Plugin for editing';
+$_lang["lock_plugin_msg"] = 'Only Administrators (Role ID 1) can edit this Plugin.';
+$_lang["lock_settings_msg"] = '%s is currently editing these settings. Please wait until the other user has finished and try again.';
+$_lang["lock_snippet"] = 'Lock Snippet for editing';
+$_lang["lock_snippet_msg"] = 'Only Administrators (Role ID 1) can edit this Snippet.';
+$_lang["lock_template"] = 'Lock Template for editing';
+$_lang["lock_template_msg"] = 'Only Administrators (Role ID 1) can edit this Template.';
+$_lang["lock_tmplvars"] = 'Lock Template Variable for editing';
+$_lang["lock_tmplvars_msg"] = 'Only Administrators (Role ID 1) can edit this Template Variable.';
+$_lang["locked"] = 'Locked';
+$_lang["login_allowed_days"] = 'Allowed Days';
+$_lang["login_allowed_days_message"] = 'Select the days that this user is allowed to login.';
+$_lang["login_allowed_ip"] = 'Allowed IP Address';
+$_lang["login_allowed_ip_message"] = 'Enter the IP addresses that this user is allowed to login from. NOTE: Separate multiple IP addresses with a comma (,) ';
+$_lang["login_button"] = 'Login';
+$_lang["login_cancelled_install_in_progress"] = 'Install/update of this site is currently in progress. Please retry in a couple of minutes!';
+$_lang["login_cancelled_site_was_updated"] = 'Install/update on this site was executed, please login again!';
+$_lang["login_captcha_message"] = 'Please enter the security code shown in the graphic. If you can\'t read the code, click the image to generate a new one or contact your site admin.';
+$_lang["login_homepage"] = 'Login Home Page';
+$_lang["login_homepage_message"] = 'Enter the ID of the Resource you want to send user to after he/she has logged in. NOTE: make sure the ID you enter belongs to an existing Resource, and that it has been published and is accessible by this user! ';
+$_lang["login_message"] = 'Please enter your login credentials to start your Manager session. Your username and password are case-sensitive, so please enter them carefully!';
+$_lang["logo_slogan"] = 'EVO Content Manager - \nCreate and do more with less';
+$_lang["logout"] = 'Logout';
+$_lang["long_title"] = 'Long title';
+$_lang["mail_check_timeperiod_message"] = 'How often to check for new mail messages in the Manager, in seconds.';
+$_lang["mail_check_timeperiod_title"] = 'Mail Check Time Period';
+$_lang["manage_depends"] = 'Manage Dependencies';
+$_lang["manage_files"] = 'Manage Files';
+$_lang["manage_htmlsnippets"] = 'Chunks';
+$_lang["manage_metatags"] = 'Manage META tags and Keywords';
+$_lang["manage_modules"] = 'Manage Modules';
+$_lang["manage_plugins"] = 'Plugins';
+$_lang["manage_snippets"] = 'Snippets';
+$_lang["manage_templates"] = 'Templates';
+$_lang["manage_documents"] = 'Documents';
+$_lang["manager"] = 'Manager';
+$_lang["manager_lockout_message"] = 'You are currently logged into the Content Manager. If you would like to close your login session please click the "Logout" button.
To go to your startup or home page click the "Home" button.';
+$_lang["manager_permissions"] = 'Manager Permissions';
+$_lang["manager_theme"] = 'Manager Theme';
+$_lang["manager_theme_message"] = 'Select the Theme for the Content Manager.';
+$_lang["messages"] = 'Messages';
+$_lang["messages_all"] = 'Everyone';
+$_lang["messages_compose"] = 'Compose a message';
+$_lang["messages_forward"] = 'Forward';
+$_lang["messages_from"] = 'From';
+$_lang["messages_group"] = 'A group';
+$_lang["messages_inbox"] = 'Inbox';
+$_lang["messages_message"] = 'Message';
+$_lang["messages_no_messages"] = 'No messages in Inbox.';
+$_lang["messages_not_allowed_to_read"] = 'You\'re not allowed to read this message!';
+$_lang["messages_private"] = 'Private';
+$_lang["messages_read_message"] = 'Read message';
+$_lang["messages_reply"] = 'Reply';
+$_lang["messages_select_group"] = 'Select a group';
+$_lang["messages_select_user"] = 'Select a user';
+$_lang["messages_send"] = 'Send';
+$_lang["messages_send_to"] = 'Send to';
+$_lang["messages_sent"] = 'Sent on';
+$_lang["messages_subject"] = 'Subject';
+$_lang["messages_system_user"] = '[System]';
+$_lang["messages_title"] = 'Messages';
+$_lang["messages_user"] = 'A user';
+$_lang["meta_keywords"] = 'META Keywords';
+$_lang["metatag_intro"] = 'On this page you can delete, create or edit META tags. To link META tags to Resources, click on the META Keywords tab when editing the Resource, and select the desired META tags and keywords. To add a new tag enter the name and value and click the \'Add tag\' button. To edit the tag click on the name of the tag from within the data grid.';
+$_lang["metatag_notice"] = 'You may wish to reference the HTML Reference Guide site for more information. This is not a complete list of possible Meta Tags.';
+$_lang["metatags"] = 'META tags';
+$_lang["mgr_access_permissions"] = 'Manager access permissions';
+$_lang["mgr_login_start"] = 'Manager Login Startup';
+$_lang["mgr_login_start_message"] = 'Enter the ID of the Resource you want to send the user to after he/she has logged into the manager. NOTE: make sure the ID you\'ve enter belongs to an existing Resource, and that it has been published and is accessible by this user! ';
+$_lang["mgrlog_action"] = 'Action';
+$_lang["mgrlog_actionid"] = 'Action ID';
+$_lang["mgrlog_anyall"] = 'Any/All';
+$_lang["mgrlog_datecheckfalse"] = 'checkdate() returned false.';
+$_lang["mgrlog_datefr"] = 'Date from';
+$_lang["mgrlog_dateinvalid"] = 'Invalid date format.';
+$_lang["mgrlog_dateto"] = 'Date to';
+$_lang["mgrlog_emptysrch"] = 'Your search query returned an empty result set (i.e. not matching logs found).';
+$_lang["mgrlog_field"] = 'Field';
+$_lang["mgrlog_itemid"] = 'Item ID';
+$_lang["mgrlog_itemname"] = 'Item name';
+$_lang["mgrlog_msg"] = 'Message';
+$_lang["mgrlog_noquery"] = 'No search query entered yet.';
+$_lang["mgrlog_qresults"] = 'Query results';
+$_lang["mgrlog_query"] = 'Query logging';
+$_lang["mgrlog_query_msg"] = 'Please make a selection for viewing the logs. You can select log entries by date, but be aware that the dates you enter are not inclusive - to select every log entry for 01-01-2004, set \'date from\' to 01-01-2004 and \'date to\' to 02-01-2004. Message and action are usually the same. If you\'re searching for a specific message, it\'s best to set action to \'Any/All\'.';
+$_lang["mgrlog_results"] = 'No. of results';
+$_lang["mgrlog_searchlogs"] = 'Search logs';
+$_lang["mgrlog_sortinst"] = 'Sort the table by clicking on the column headers. If the logs are too large, empty the log file to remove all log entries up to now. This cannot be undone!';
+$_lang["mgrlog_time"] = 'Time';
+$_lang["mgrlog_user"] = 'User';
+$_lang["mgrlog_username"] = 'Username';
+$_lang["mgrlog_value"] = 'Value';
+$_lang["mgrlog_view"] = 'View manager logs';
+$_lang["module_code"] = 'Module code (php)';
+$_lang["module_config"] = 'Module configuration';
+$_lang["module_desc"] = 'Description';
+$_lang["module_disabled"] = 'Module disabled';
+$_lang["module_edit_click_title"] = 'Click here to edit this Module';
+$_lang["module_group_access_msg"] = 'Select the User Groups that are allowed to execute this Module from within the Content Manager.';
+$_lang["module_management"] = 'Manage Modules';
+$_lang["module_management_msg"] = 'Choose the Module you would like to execute or modify. To run the Module click on the icon in the grid. To modify the Module click on the name of the Module.';
+$_lang["module_msg"] = 'Add/edit Modules. A Module is a collection of Elements (e.g. Plugins, Snippets, etc).';
+$_lang["module_name"] = 'Module name';
+$_lang["module_resource_msg"] = 'Add or remove Elements upon which this Module depends. To add a new Element click on the one of the add buttons below.';
+$_lang["module_resource_title"] = 'Module Dependencies';
+$_lang["module_title"] = 'Create/edit Module';
+$_lang["module_viewdepend_msg"] = 'View the assigned Elements on which this Module depends. Click on the "Manager Dependencies" button to modify the dependencies';
+$_lang["modules"] = 'Modules';
+$_lang["modx_news"] = 'EVO News Notices';
+$_lang["modx_news_tab"] = 'EVO News';
+$_lang["modx_news_title"] = 'EVO News';
+$_lang["modx_security_notices"] = 'EVO Security Notices';
+$_lang["modx_version"] = 'EVO version';
+$_lang["monday"] = 'Monday';
+$_lang["move"] = 'Move';
+$_lang["move_resource"] = 'Move Resource';
+$_lang["move_resource_message"] = 'Move a Resource and all its children by selecting a new parent in the Site Tree. If you select a Resource that is not already a Container, it will be changed into one. Please click on the new parent in the Site Tree.';
+$_lang["move_resource_new_parent"] = 'Please select a new parent in the Site Tree.';
+$_lang["move_resource_title"] = 'Move Resource';
+$_lang["name"] = 'Name';
+$_lang["new_category"] = 'New Category';
+$_lang["new_file_permissions_message"] = 'When uploading a new file in the File Manager, the File Manager will attempt to change the file permissions to those entered in this setting. This may not work on some setups, such as IIS, in which case you will need to manually change the permissions.';
+$_lang["new_file_permissions_title"] = 'New File Permissions';
+$_lang["new_folder_permissions_message"] = 'When creating a new directory in the File Manager, the File Manager will attempt to change the directory permissions to those entered in this setting. This may not work on some setups, such as IIS, in which case you will need to manually change the permissions.';
+$_lang["new_folder_permissions_title"] = 'New Directory Permissions';
+$_lang["new_htmlsnippet"] = 'New Chunk';
+$_lang["new_keyword"] = 'Add new keyword:';
+$_lang["new_module"] = 'New Module';
+$_lang["new_parent"] = 'New parent';
+$_lang["new_plugin"] = 'New Plugin';
+$_lang["new_role"] = 'New Role';
+$_lang["new_snippet"] = 'New Snippet';
+$_lang["new_template"] = 'New Template';
+$_lang["new_tmplvars"] = 'New Template Variable';
+$_lang["new_user"] = 'New Manager User';
+$_lang["new_web_user"] = 'New Web User';
+$_lang["new_resource"] = 'New Resource';
+$_lang["no"] = 'No';
+$_lang["no_active_users_found"] = 'No active users found.';
+$_lang["no_activity_message"] = 'You have not yet created or edited any Resources.';
+$_lang["no_category"] = 'uncategorized';
+$_lang["no_docs_pending_publishing"] = 'No Resources pending publishing.';
+$_lang["no_docs_pending_pubunpub"] = 'No Events Found';
+$_lang["no_docs_pending_unpublishing"] = 'No Resources pending unpublishing.';
+$_lang["no_edits_creates"] = 'No edits or creates found.';
+$_lang["no_groups_found"] = 'No groups found.';
+$_lang["no_keywords_found"] = 'There are currently no keywords.';
+$_lang["no_records_found"] = 'No records found.';
+$_lang["no_results"] = 'No results found';
+$_lang["nologentries_message"] = 'Enter the number of log entries shown per page when you browse the Audit trail.';
+$_lang["nologentries_title"] = 'Number of log entries';
+$_lang["nomessages_message"] = 'Enter the number of messages to show in inbox when viewing messages.';
+$_lang["nomessages_title"] = 'Number of messages';
+$_lang["none"] = 'None';
+$_lang["noresults_message"] = 'Enter the number of results to show in the data grid when viewing listings and search results.';
+$_lang["noresults_title"] = 'Number of Results';
+$_lang["not_deleted"] = 'has not been deleted.';
+$_lang["not_set"] = 'Not set';
+$_lang["offline"] = 'Offline';
+$_lang["online"] = 'Online';
+$_lang["onlineusers_action"] = 'Action';
+$_lang["onlineusers_actionid"] = 'Action-ID';
+$_lang["onlineusers_ipaddress"] = 'User\'s IP address';
+$_lang["onlineusers_lasthit"] = 'Last hit';
+$_lang["onlineusers_message"] = 'This list shows all users active within the last 20 minutes (current time is ';
+$_lang["onlineusers_title"] = 'Online users';
+$_lang["onlineusers_user"] = 'User';
+$_lang["onlineusers_userid"] = 'User\'s ID';
+$_lang["optimize_table"] = 'Click here to optimize this table';
+$_lang["page_data_alias"] = 'Alias';
+$_lang["page_data_cacheable"] = 'Cacheable';
+$_lang["page_data_cacheable_help"] = 'This allows the Resource to be saved to the site cache, and affects all Snippets on the page.';
+$_lang["page_data_cached"] = 'Source retrieved from cache: ';
+$_lang["page_data_changes"] = 'Changes';
+$_lang["page_data_contentType"] = 'Internet Media Type';
+$_lang["page_data_contentType_help"] = 'Select the content type for this Resource. If you\'re not sure which content type the Resource should have, just leave it as text/html.';
+$_lang["page_data_created"] = 'Created';
+$_lang["page_data_edited"] = 'Edited';
+$_lang["page_data_editor"] = 'Edit using rich text editor';
+$_lang["page_data_folder"] = 'Resource is Container';
+$_lang["page_data_general"] = 'General';
+$_lang["page_data_markup"] = 'Markup/structure';
+$_lang["page_data_mgr_access"] = 'Manager access';
+$_lang["page_data_notcached"] = 'This Resource has not yet been cached.';
+$_lang["page_data_publishdate"] = 'Publish date';
+$_lang["page_data_publishdate_help"] = 'If you set a publish date, the Resource will be published as soon as the publish date is reached. Click on the calender icon to select a date, or on the icon next to it to remove the publish date. This will then mean the Resource is never automatically published.';
+$_lang["page_data_published"] = 'Published';
+$_lang["page_data_searchable"] = 'Searchable';
+$_lang["page_data_searchable_help"] = 'Checking this field will allow the Resource to be searched. You can also use this field for other purposes in your Snippets.';
+$_lang["page_data_source"] = 'Source';
+$_lang["page_data_status"] = 'Status';
+$_lang["page_data_template"] = 'Uses Template';
+$_lang["page_data_template_help"] = 'Select the Template for this Resource.';
+$_lang["page_data_title"] = 'Page data';
+$_lang["page_data_unpublishdate"] = 'Un-publish date';
+$_lang["page_data_unpublishdate_help"] = 'If you set an unpublish date, the Resource will be unpublished as soon as the unpublish date is reached. Click on the calender icon to select a date, or on the icon next to it to remove the unpublish date. This will then mean the Resource is never automatically unpublished.';
+$_lang["page_data_unpublished"] = 'Un-published';
+$_lang["page_data_web_access"] = 'Web access';
+$_lang["pagetitle"] = 'Resource\'s title';
+$_lang["pagination_table_first"] = 'First';
+$_lang["pagination_table_gotopage"] = 'Go to page';
+$_lang["pagination_table_last"] = 'Last';
+$_lang["paging_first"] = 'first';
+$_lang["paging_last"] = 'last';
+$_lang["paging_next"] = 'next';
+$_lang["paging_prev"] = 'prev';
+$_lang["paging_showing"] = 'Showing';
+$_lang["paging_to"] = 'to';
+$_lang["paging_total"] = 'total';
+$_lang["parameter"] = 'Parameter';
+$_lang["parse_docblock"] = 'Parse DocBlock';
+$_lang["parse_docblock_msg"] = 'Attention (!): Resets actual name, configuration, description and category to install-defaults by parsing the source code.';
+$_lang["password"] = 'Password';
+$_lang["password_change_request"] = 'Password change request';
+$_lang["password_gen_gen"] = 'Let EVO generate a password.';
+$_lang["password_gen_length"] = 'The password you specify needs to be at least 6 characters long.';
+$_lang["password_gen_method"] = 'New password method';
+$_lang["password_gen_specify"] = 'Let me specify the password:';
+$_lang["password_method"] = 'Password notification method';
+$_lang["password_method_email"] = 'Send the new password by e-mail.';
+$_lang["password_method_screen"] = 'Show the new password on screen.';
+$_lang["password_msg"] = 'The new password for %s is %s .';
+$_lang["php_version_check"] = 'EVO Evolution is compatible with PHP version 5.0.0 and higher. This server is using version %s%. Please upgrade your PHP installation!';
+$_lang["plugin"] = 'Plugin';
+$_lang["plugins"] = 'Plugins';
+$_lang["plugin_code"] = 'Plugin code (php)';
+$_lang["plugin_config"] = 'Plugin configuration';
+$_lang["plugin_desc"] = 'Description';
+$_lang["plugin_disabled"] = 'Plugin Disabled';
+$_lang["plugin_event_msg"] = 'Select the events that you would like this Plugin to listen to.';
+$_lang["plugin_management_msg"] = 'Choose which Plugin you wish to edit.';
+$_lang["plugin_msg"] = 'Add/edit Plugins. Plugins use PHP code that is invoked whenever specific System Events trigger.';
+$_lang["plugin_name"] = 'Plugin name';
+$_lang["plugin_priority"] = 'Edit Plugin Execution Order by Event';
+$_lang["plugin_priority_instructions"] = 'Drag to reorder the Plugins under each Event header. The first plugin to execute should go at the top.';
+$_lang["plugin_priority_title"] = 'Plugin Execution Order';
+$_lang["purge_plugin"] = 'Purge obsolete plugins';
+$_lang["plugin_title"] = 'Create/edit Plugin';
+$_lang["preview"] = 'Preview';
+$_lang["preview_msg"] = 'This is a preview of your last saved changes. Click here to Save and Refresh your current changes';
+$_lang["preview_resource"] = 'Preview Resource';
+$_lang["private"] = 'Private';
+$_lang["public"] = 'Public';
+$_lang["publish_date"] = 'Publish Date';
+$_lang["publish_events"] = 'Publish Events';
+$_lang["publish_resource"] = 'Publish Resource';
+$_lang["rb_base_dir_message"] = 'Enter the physical path to the File Browser directory. This setting is usually automatically generated. If you\'re using IIS, however, EVO may not be able to work the path out on its own, causing the File Browser to show an error. In that case, you can enter the path to the images directory here (the path as you\'d see it in Windows Explorer). NOTE: The File Browser directory must contain the subdirectories images, files, flash and media in order for the file browser to function correctly.';
+$_lang["rb_base_dir_title"] = 'File base path';
+$_lang["rb_base_url_message"] = 'Enter the virtual path to files directory. This setting is usually automatically generated. If you\'re using IIS, however, EVO may not be able to work the URL out on it\'s own, causing the File Browser to show an error. In that case, you can enter the URL to the images directory here (the URL as you\'d enter it on Internet Explorer).';
+$_lang["rb_base_url_title"] = 'File Browser URL';
+$_lang["rb_message"] = 'Select yes to enable the File Browser. This will allow your users to browse and upload files such as images, flash and media files on the server.';
+$_lang["rb_title"] = 'Enable File Browser';
+$_lang["rb_webuser_message"] = 'Do you want to allow a web user the ability to use the file browser? WARNING: Allowing web users the use of the file browser exposes the files available to manager users. Only use this option for trusted web users.';
+$_lang["rb_webuser_title"] = 'Web Users?';
+$_lang["recent_docs"] = 'Recent Resources';
+$_lang["recommend_setting_change_title"] = 'Recommended Setting Change';
+$_lang["recommend_setting_change_description"] = 'Your site is not configured to validate the HTTP_REFERER of incoming requests to the Manager. We strongly recommend enabling this setting to reduce the risk of a CSRF (Cross Site Request Forgery) attack.';
+$_lang["references"] = 'References';
+$_lang["refresh_cache"] = 'Cache: Found %s files in cache directory and deleted %d cache files.New cache files will be created when pages are requested.';
+$_lang["refresh_published"] = '%s Resources were published.';
+$_lang["refresh_site"] = 'Clear Cache';
+$_lang["refresh_title"] = 'Refresh site';
+$_lang["refresh_tree"] = 'Refresh Site Tree';
+$_lang["refresh_unpublished"] = '%s Resources were unpublished.';
+$_lang["release_date"] = 'Release date';
+$_lang["remember_last_tab"] = 'Remember tabs';
+$_lang["remember_last_tab_message"] = 'Tabbed Manager pages load with the last tab viewed instead of defaulting to the first tab';
+$_lang["remember_username"] = 'Remember me';
+$_lang["remove"] = 'Remove';
+$_lang["remove_date"] = 'Remove date';
+$_lang["remove_locks"] = 'Remove Locks';
+$_lang["rename"] = 'Rename';
+$_lang["reports"] = 'Reports';
+$_lang["report_issues"] = 'Report issues';
+$_lang["require_tagname"] = 'A tag name is required';
+$_lang["require_tagvalue"] = 'A tag value is required';
+$_lang["reserved_name_warning"] = 'You have used a reserved name.';
+$_lang["reset"] = 'Reset';
+$_lang["reset_failedlogins"] = 'reset';
+$_lang["reset_sort_order"] = 'Reset sort order';
+$_lang["resource"] = 'Resource';
+$_lang["resource_alias"] = 'URL alias';
+$_lang["resource_alias_help"] = 'Set the URL alias to make the Resource accessible as http://example.com/weburl. This only works Friendly URLs are enabled in the site configuration.';
+$_lang["resource_content"] = 'Resource content';
+$_lang["resource_description"] = 'Description';
+$_lang["resource_description_help"] = 'Enter an optional description of this Resource.';
+$_lang["resource_duplicate"] = 'Duplicate Resource';
+$_lang["resource_long_title_help"] = 'Enter an optional longer title for your Resource. This can be used for automatic Resource header tags for search engines, and might be more descriptive for your Resource.';
+$_lang["resource_metatag_help"] = 'Select the META tags or keywords you wish to assign to this Resource. Hold down the CTRL key to select multiple keywords or meta tags.';
+$_lang["resource_opt_contentdispo"] = 'Content-Disposition';
+$_lang["resource_opt_contentdispo_help"] = 'Use the content disposition field to specify how this Resource will be handled by the web browser. For file downloads select the Attachment option.';
+$_lang["resource_opt_emptycache"] = 'Empty cache';
+$_lang["resource_opt_emptycache_help"] = 'Leaving this field checked will make EVO empty the cache after you save the Resource. This way your visitors will not see an older version of the Resource.';
+$_lang["resource_opt_folder"] = 'Container';
+$_lang["resource_opt_folder_help"] = 'Check this to make the Resource also act as a Container for other Resources. A \'Container\' is like a folder, only it can also have content.';
+$_lang["resource_opt_menu_index"] = 'Menu index';
+$_lang["resource_opt_menu_index_help"] = 'Menu Index is a field that can control sorting Resources, particularly in menu Snippet(s). You can also use it for any other purpose in your Snippets.';
+$_lang["resource_opt_menu_title"] = 'Menu title';
+$_lang["resource_opt_menu_title_help"] = 'Menu title is an optional field used to display a short title in menu Snippet(s) or Modules.';
+$_lang["resource_opt_published"] = 'Published';
+$_lang["resource_opt_published_help"] = 'Check this field to have the Resource published immediately after saving it.';
+$_lang["resource_opt_richtext"] = 'Rich text';
+$_lang["resource_opt_richtext_help"] = 'Leave this checked to use the rich text editor for editing Resources. If your Resources contain JavaScript and forms, uncheck this to edit in HTML mode to prevent the editor from incorrectly changing your Resources.';
+$_lang["resource_opt_show_menu"] = 'Show in menu';
+$_lang["resource_opt_show_menu_help"] = 'Select this option to show Resource inside a web menu. Please note that some Menu Builders might choose to ignore this option.';
+$_lang["resource_opt_trackvisit_help"] = 'Log each visitor\'s visit to this page';
+$_lang["resource_overview"] = 'Resource overview';
+$_lang["resource_parent"] = 'Resource parent';
+$_lang["resource_parent_help"] = 'Click the icon to enable setting a Resource parent, then click a Resource in the Site Tree to set a new parent.';
+$_lang["resource_permissions_error"] = 'Assign this Resource to at least one Resource Group to which you have access.';
+$_lang["resource_setting"] = 'Resource setting';
+$_lang["resource_summary"] = 'Summary (introtext)';
+$_lang["resource_summary_help"] = 'Type a brief summary of the Resource';
+$_lang["resource_title"] = 'Title';
+$_lang["resource_title_help"] = 'Enter the name/title of the Resource. Avoid using backslashes in the name.';
+$_lang["resource_to_be_moved"] = 'Resource to be moved';
+$_lang["resource_type"] = 'Resource Type';
+$_lang["resource_type_message"] = 'Weblinks reference Resources on the Internet including another EVO Resource, an external page, or an image or other file on the Internet. Weblinks should have a text/html Internet Media Type and Inline Content-Disposition.';
+$_lang["resource_type_weblink"] = 'Weblink';
+$_lang["resource_type_webpage"] = 'Web page';
+$_lang["resource_weblink_help"] = 'Type the address of the object you wish to reference with this Weblink here. Alternatively insert from the File Browser or use the link selection icon and select a resource from the Site Tree.';
+$_lang["resources_in_container"] = 'Resources in this Container';
+$_lang["resources_in_container_no"] = 'This Container does not have child-Resources.';
+$_lang["role"] = 'Role';
+$_lang["role_about"] = 'View the about page';
+$_lang["role_access_persmissions"] = 'Access permissions';
+$_lang["role_actionok"] = 'View action completed screen';
+$_lang["role_assets_images"] = 'Manage assets/images';
+$_lang["role_assets_files"] = 'Manage assets/files';
+$_lang["role_bk_manager"] = 'Use the Backup Manager';
+$_lang["role_cache_refresh"] = 'Empty the site\'s cache';
+$_lang["role_category_manager"] = 'Use the Category Manager';
+$_lang["role_change_password"] = 'Change password';
+$_lang["role_change_resourcetype"] = 'Change Resource-Type';
+$_lang["role_chunk_management"] = 'Chunk management';
+$_lang["role_config_management"] = 'Configuration management';
+$_lang["role_content_management"] = 'Content management';
+$_lang["role_create_chunk"] = 'Create new Chunks';
+$_lang["role_create_doc"] = 'Create new Resources';
+$_lang["role_create_plugin"] = 'Create new Plugins';
+$_lang["role_create_snippet"] = 'Create new Snippets';
+$_lang["role_create_template"] = 'Create new site Templates';
+$_lang["role_credits"] = 'View credits';
+$_lang["role_delete_chunk"] = 'Delete Chunks';
+$_lang["role_delete_doc"] = 'Delete Resources';
+$_lang["role_delete_eventlog"] = 'Delete event log';
+$_lang["role_delete_module"] = 'Delete Module';
+$_lang["role_delete_plugin"] = 'Delete Plugins';
+$_lang["role_delete_role"] = 'Delete roles';
+$_lang["role_delete_snippet"] = 'Delete Snippets';
+$_lang["role_delete_template"] = 'Delete Templates';
+$_lang["role_delete_user"] = 'Delete manager users';
+$_lang["role_delete_web_user"] = 'Delete web users';
+$_lang["role_edit_chunk"] = 'Edit Chunks';
+$_lang["role_edit_doc"] = 'Edit a Resource';
+$_lang["role_edit_doc_metatags"] = 'Edit Resource META tags and keywords';
+$_lang["role_edit_module"] = 'Edit Module';
+$_lang["role_edit_plugin"] = 'Edit Plugins';
+$_lang["role_edit_role"] = 'Edit roles';
+$_lang["role_edit_settings"] = 'Change site settings';
+$_lang["role_edit_snippet"] = 'Edit Snippets';
+$_lang["role_edit_template"] = 'Edit site Templates';
+$_lang["role_edit_user"] = 'Edit manager users';
+$_lang["role_edit_web_user"] = 'Edit web users';
+$_lang["role_empty_trash"] = 'Permanently purge deleted Resources';
+$_lang["role_errors"] = 'View error dialog';
+$_lang["role_eventlog_management"] = 'Event log management';
+$_lang["role_export_static"] = 'Export Static HTML';
+$_lang["role_file_management"] = 'File Management';
+$_lang["role_file_manager"] = 'Use the file manager (full root access)';
+$_lang["role_frames"] = 'Request manager frames';
+$_lang["role_help"] = 'View help pages';
+$_lang["role_home"] = 'Request manager intro page';
+$_lang["role_import_static"] = 'Import HTML';
+$_lang["role_logout"] = 'Log out of the manager';
+$_lang["role_manage_metatags"] = 'Manage site META tags and keywords';
+$_lang["role_management_msg"] = 'Choose the role you wish to edit.';
+$_lang["role_management_title"] = 'Roles';
+$_lang["role_messages"] = 'View and send messages';
+$_lang["role_module_management"] = 'Module management';
+$_lang["role_name"] = 'Role name';
+$_lang["role_new_module"] = 'Create new Module';
+$_lang["role_new_role"] = 'Create new roles';
+$_lang["role_new_user"] = 'Create new manager users';
+$_lang["role_new_web_user"] = 'Create new web users';
+$_lang["role_plugin_management"] = 'Plugin management';
+$_lang["role_publish_doc"] = 'Publish Resources';
+$_lang["role_remove_locks"] = 'Remove Locks';
+$_lang["role_role_management"] = 'Roles';
+$_lang["role_run_module"] = 'Run Module';
+$_lang["role_save_chunk"] = 'Save Chunks';
+$_lang["role_save_doc"] = 'Save Resources';
+$_lang["role_save_module"] = 'Save Module';
+$_lang["role_save_password"] = 'Save password';
+$_lang["role_save_plugin"] = 'Save Plugins';
+$_lang["role_save_role"] = 'Save roles';
+$_lang["role_save_snippet"] = 'Save Snippets';
+$_lang["role_save_template"] = 'Save Templates';
+$_lang["role_save_user"] = 'Save manager users';
+$_lang["role_save_web_user"] = 'Save web users';
+$_lang["role_snippet_management"] = 'Snippet management';
+$_lang["role_template_management"] = 'Template management';
+$_lang["role_title"] = 'Create/edit role';
+$_lang["role_udperms"] = 'Permissions management';
+$_lang["role_user_management"] = 'Manager user management';
+$_lang["role_view_docdata"] = 'View a Resource\'s data';
+$_lang["role_view_eventlog"] = 'View event log';
+$_lang["role_view_logs"] = 'View system logs';
+$_lang["role_view_unpublished"] = 'View Unpublished Resources';
+$_lang["role_web_access_persmissions"] = 'Web access permissions';
+$_lang["role_web_user_management"] = 'Web user management';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
+$_lang["rss_url_news_message"] = 'Enter the URL for the EVO News Feed.';
+$_lang["rss_url_news_title"] = 'RSS News Feed';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
+$_lang["rss_url_security_message"] = 'Enter the URL for the EVO Security Feed.';
+$_lang["rss_url_security_title"] = 'RSS Security Feed';
+$_lang["run_module"] = 'Run Module';
+$_lang["saturday"] = 'Saturday';
+$_lang["save"] = 'Save';
+$_lang["save_all_changes"] = 'Save all changes';
+$_lang["save_tag"] = 'Save tag';
+$_lang["saving"] = 'Saving, please wait...';
+$_lang["search"] = 'Search';
+$_lang["search_criteria"] = 'Search criteria';
+$_lang["search_criteria_content"] = 'Search by content';
+$_lang["search_criteria_content_msg"] = 'Find all Resources with the entered text in their content.';
+$_lang["search_criteria_id"] = 'Search by ID';
+$_lang["search_criteria_id_msg"] = 'Enter a Resource\'s ID to quickly locate that Resource.';
+$_lang["search_criteria_top"] = 'Search in main fields';
+$_lang["search_criteria_top_msg"] = 'Pagetitle, Longtitle, Alias, ID';
+$_lang["search_criteria_template_id"] = 'Search by template ID';
+$_lang["search_criteria_template_id_msg"] = 'Find all Resources using the specified template.';
+$_lang["search_criteria_url_msg"] = 'Find Resource by exact URL.';
+$_lang["search_criteria_longtitle"] = 'Search by long title';
+$_lang["search_criteria_longtitle_msg"] = 'Find all Resources with the entered text in their long title.';
+$_lang["search_criteria_title"] = 'Search by title';
+$_lang["search_criteria_title_msg"] = 'Find all Resources with the entered text in their title.';
+$_lang["search_empty"] = 'Your search returned no results. Please broaden your search criteria and try again.';
+$_lang["search_item_deleted"] = 'This item has been deleted';
+$_lang["search_results"] = 'Search results';
+$_lang["search_results_returned_desc"] = 'Description';
+$_lang["search_results_returned_id"] = 'ID';
+$_lang["search_results_returned_msg"] = 'Your search criteria returned %s Resources. If a lot of results are being returned, try to enter a more specific search. The two left-most columns will allow you to find the Resource in the Site Tree or view the Resource. The two right most columns show, respectively, if a Resource has been deleted and what it\'s published status is.
';
+$_lang["search_results_returned_title"] = 'Title';
+$_lang["search_view_docdata"] = 'View this item';
+$_lang["security"] = 'Users';
+$_lang["security_notices_tab"] = 'Security Notices';
+$_lang["security_notices_title"] = 'Security Notices';
+$_lang["select_date"] = 'Select a date';
+$_lang["send"] = 'Send';
+$_lang["server_protocol_http"] = 'http';
+$_lang["server_protocol_https"] = 'https';
+$_lang["server_protocol_message"] = 'If your site is on a https connection, please specify so here.';
+$_lang["server_protocol_title"] = 'Server type';
+$_lang["serveroffset"] = 'Server offset';
+$_lang["serveroffset_message"] = 'Select the number of hours time difference between where you are and where the server is. Current time on server is [%s] , current time on server using the currently saved offset is [%s] .';
+$_lang["serveroffset_title"] = 'Server offset time';
+$_lang["servertime"] = 'Server Time';
+$_lang["set_automatic"] = 'Set automatic';
+$_lang["set_default"] = 'Set default';
+$_lang["set_default_all"] = 'Set defaults';
+$_lang["settings_after_install"] = 'As this is a new install, you are required to review these settings and change any that you wish to. After you have reviewed the settings, press \'Save\' to update the settings database.';
+$_lang["settings_config"] = 'Configuration';
+$_lang["settings_dependencies"] = 'Dependencies';
+$_lang["settings_events"] = 'System Events';
+$_lang["settings_furls"] = 'Friendly URLs';
+$_lang["settings_general"] = 'General';
+$_lang["settings_group_tv_message"] = 'Choose if Template Variables should be grouped in sections or tabs (named by TV category) when editing a Resource';
+$_lang["settings_group_tv_options"] = 'No,Sections in General tab,Tabs in General tab,Sections in new tab,Tabs in new tab,New tabs';
+$_lang["settings_misc"] = 'File Manager';
+$_lang["settings_security"] = 'Security';
+$_lang["settings_KC"] = 'File Browser';
+$_lang["settings_page_settings"] = 'Settings';
+$_lang["settings_photo"] = 'Photo';
+$_lang["settings_properties"] = 'Properties';
+$_lang["show_fullscreen_btn_message"] = 'Show Menu toggle Fullscreen button';
+$_lang["show_newresource_btn_message"] = 'Show Menu New Resource button';
+$_lang["settings_show_picker_message"] = 'Customize manager theme and save to localstorage';
+$_lang["show_fullscreen_btn"] = 'Toggle Fullscreen button';
+$_lang["show_newresource_btn"] = 'New Resource button';
+$_lang["settings_site"] = 'Site';
+$_lang["settings_strip_image_paths_message"] = 'If this is set to \'No\', EVO will write file browser src\'s (images, files, flash, etc.) as absolute URLs. Relative URLs are helpful should you wish to move your EVO install, e.g., from a staging site to a production site. If you have no idea what this means, it\'s best just to leave it set to \'Yes\'.';
+$_lang["settings_strip_image_paths_title"] = 'Rewrite browser paths?';
+$_lang["settings_templvars"] = 'Template Variables';
+$_lang["settings_title"] = 'System configuration';
+$_lang["settings_ui"] = 'Interface & Features';
+$_lang["settings_users"] = 'User';
+$_lang["show_meta"] = 'Show META Keywords tab';
+$_lang["show_meta_message"] = 'Show the deprecated META Keywords tab when editing Resources in the Manager.';
+$_lang["show_tree"] = 'Show Site Tree';
+$_lang["show_picker"] = 'Show Color Switcher';
+$_lang["showing"] = 'Showing';
+$_lang["signupemail_message"] = 'Set the email message sent to users when creating accounts including their username and password.Note: The following Placeholders are replaced by the Content Manager when the message is sent: [+sname+] - Name of your web site, [+saddr+] - Your web site email address, [+surl+] - Your site url, [+uid+] - User\'s Login name or id, [+pwd+] - User\'s password, [+ufn+] - User\'s full name. Leave the [+uid+] and [+pwd+] in the e-mail, or else the username and password won\'t be sent in the mail and your users won\'t know their username or password! ';
+$_lang["signupemail_title"] = 'Signup e-mail';
+$_lang["site"] = 'Site';
+$_lang["site_schedule"] = 'Schedule';
+$_lang["sitename_message"] = 'Enter the name of your site here.';
+$_lang["sitename_title"] = 'Site name';
+$_lang["sitestart_message"] = 'Enter the ID of the Resource you want to use as homepage here. NOTE: make sure this ID you enter belongs to an existing Resource, and that it has been published! ';
+$_lang["sitestart_title"] = 'Site start';
+$_lang["sitestatus_message"] = 'Select \'Online\' to publish your site on the web. If you select \'Offline\', your visitors will see the \'Site unavailable message\', and won\'t be able to browse the site.';
+$_lang["sitestatus_title"] = 'Site status';
+$_lang["siteunavailable_message"] = 'Message to show when the site is offline or if an error occurs. Note: This message will only be displayed if the Site unavailable page option is not set. ';
+$_lang["siteunavailable_message_default"] = 'The site is currently unavailable.';
+$_lang["siteunavailable_page_message"] = 'Enter the ID of the Resource you want to use as an offline page here. NOTE: make sure this ID you enter belongs to an existing Resource, and that it has been published! ';
+$_lang["siteunavailable_page_title"] = 'Site unavailable page';
+$_lang["siteunavailable_title"] = 'Site unavailable message';
+$_lang["snippet"] = 'Snippet';
+$_lang["snippets"] = 'Snippets';
+$_lang["snippet_code"] = 'Snippet code (php)';
+$_lang["snippet_desc"] = 'Description';
+$_lang["snippet_execonsave"] = 'Execute Snippet after saving.';
+$_lang["snippet_management_msg"] = 'Choose the Snippet you wish to edit.';
+$_lang["snippet_msg"] = 'Add/edit Snippets. Remember, Snippets are \'raw\' PHP code, and if you expect the output of the Snippet to be shown at a certain point within the Template, you need to return a value from within the Snippet.';
+$_lang["snippet_name"] = 'Snippet name';
+$_lang["snippet_properties"] = 'Default Properties';
+$_lang["snippet_title"] = 'Create/edit Snippet';
+$_lang["sort_alphabetically"] = 'Sort alphabetically';
+$_lang["sort_asc"] = 'Ascending';
+$_lang["sort_desc"] = 'Descending';
+$_lang["sort_menuindex"] = 'Sort menu index';
+$_lang["sort_tree"] = 'Sort the Site Tree';
+$_lang['sort_updating'] = 'Updating ...';
+$_lang['sort_updated'] = 'Updated!';
+$_lang['sort_nochildren'] = 'Parent does not have any children';
+$_lang["sort_elements_msg"] = 'Drag to reorder the listed elements.';
+$_lang["source"] = 'Source';
+$_lang["stay"] = 'Continue editing';
+$_lang["stay_new"] = 'Add another';
+$_lang["submit"] = 'Submit';
+$_lang["sunday"] = 'Sunday';
+$_lang["sys_alert"] = 'System Alert';
+$_lang["sysinfo_activity_message"] = 'This list show which Resources have been recently edited by your users.';
+$_lang["sysinfo_userid"] = 'User';
+$_lang["system"] = 'System';
+$_lang["system_email_signup"] = '
+
+Hello [+uid+]
+
+Here are your login details for [+sname+] Content Manager:
+
+Username: [+uid+]
+Password: [+pwd+]
+
+Once you log into the Content Manager ([+surl+]), you can change your password.
+
+Regards,
+Site Administrator
+';
+$_lang["system_email_webreminder"] = 'Hello [+uid+]
+
+To activate your new password click the following link:
+
+[+surl+]
+
+If successful you can use the following password to login:
+
+Password:[+pwd+]
+
+If you did not request this email then please ignore it.
+
+Regards,
+Site Administrator';
+$_lang["system_email_websignup"] = 'Hello [+uid+]
+
+Here are your login details for [+sname+]:
+
+Username: [+uid+]
+Password: [+pwd+]
+
+Once you log into [+sname+] ([+surl+]), you can change your password.
+
+Regards,
+Site Administrator';
+$_lang["table_hoverinfo"] = 'Hover the mouse cursor over a table\'s name to see a short description of the table\'s function (not all tables have comments set).';
+$_lang["table_prefix"] = 'Table prefix';
+$_lang["tag"] = 'Tag';
+$_lang["template"] = 'Template';
+$_lang["templates"] = 'Templates';
+$_lang["template_assignedtv_tab"] = 'Assigned Template Variables';
+$_lang["template_code"] = 'Template code (html)';
+$_lang["template_desc"] = 'Description';
+$_lang["template_edit_tab"] = 'Edit Template';
+$_lang["template_management_msg"] = 'Choose which Template you wish to edit.';
+$_lang["template_msg"] = 'Create and edit Templates. Changed or new Templates won\'t be visible in your site\'s cached pages until the cache is emptied, however, you can use the preview function on a page to see the Template in action.';
+$_lang["template_name"] = 'Template name';
+$_lang["template_no_tv"] = 'No Template Variables have been assigned to this Template yet.';
+$_lang["template_notassigned_tv"] = 'These Template Variables are available for assigning.';
+$_lang["template_reset_all"] = 'Reset all pages to use Default Template';
+$_lang["template_reset_specific"] = 'Reset only \'%s\' pages';
+$_lang["template_selectable"] = 'Template selectable when creating or editing ressources.';
+$_lang["template_title"] = 'Create/edit Template';
+$_lang["template_tv_edit"] = 'Edit the TV sort order';
+$_lang["template_tv_edit_message"] = 'Drag to reorder the Template Variables for this template.';
+$_lang["template_tv_edit_title"] = 'Template Variable Sort Order';
+$_lang["template_tv_msg"] = 'The Template Variables assigned to this Template are listed below.';
+$_lang["thursday"] = 'Thursday';
+$_lang["tmplvar_access_msg"] = 'Select the Resource Groups that are allowed to modify the content or value of this Template Variable';
+$_lang["tmplvar_change_template_msg"] = 'Changing this Template will cause the page to reload the Template Variables, losing any unsaved changes.\n\n Are you sure you want to change this Template?';
+$_lang["tmplvar_inuse"] = 'The following Resource(s) are currently using this Template Variable. To continue with the delete operation click the Delete button otherwise click the Cancel button.';
+$_lang["tmplvar_tmpl_access"] = 'Template Access';
+$_lang["tmplvar_tmpl_access_msg"] = 'Select the Templates that are allowed to access/process this Template Variable';
+$_lang["tmplvar"] = 'Template Variable';
+$_lang["tmplvars"] = 'Template Variables';
+$_lang["tmplvars_binding_msg"] = 'This field supports data source bindings using the @ commands';
+$_lang["tmplvars_caption"] = 'Caption';
+$_lang["tmplvars_default"] = 'Default Value';
+$_lang["tmplvars_description"] = 'Description';
+$_lang["tmplvars_elements"] = 'Input Option Values';
+$_lang["tmplvars_inherited"] = 'Value inherited';
+$_lang["tmplvars_management_msg"] = 'Manage additional Template Variables for your Resources.';
+$_lang["tmplvars_msg"] = 'Add or edit Template Variables here. Template Variables must be assigned to Templates in order to access them from Snippets and Resources.';
+$_lang["tmplvars_name"] = 'Template Variable Name';
+$_lang["tmplvars_novars"] = 'No Template Variables found';
+$_lang["tmplvars_rank"] = 'Sort Order';
+$_lang["tmplvars_rank_edit_message"] = 'Drag to reorder the Template Variables.';
+$_lang["tmplvars_reset_params"] = 'Reset parameters';
+$_lang["tmplvars_title"] = 'Create/edit Template Variable';
+$_lang["tmplvars_type"] = 'Input Type';
+$_lang["tmplvars_widget"] = 'Widget';
+$_lang["tmplvars_widget_prop"] = 'Widget Properties';
+$_lang["to"] = 'to';
+$_lang["toggle_fullscreen"] = 'Toggle Fullscreen';
+$_lang["tools"] = 'Tools';
+$_lang["top_howmany_message"] = 'When viewing reports, how large should the \'Top ...\' lists be?';
+$_lang["top_howmany_title"] = 'Top how many';
+$_lang["total"] = 'total';
+$_lang["track_visitors_message"] = 'Check to show the child resources in the document tree';
+$_lang["track_visitors_title"] = 'Show child resources';
+$_lang["tree_page_click"] = 'Page Click Behavior';
+$_lang["tree_page_click_message"] = 'The default behavior when clicking on a page in the site tree.';
+$_lang["use_breadcrumbs"] = 'Show navigation';
+$_lang["use_breadcrumbs_message"] = 'Show the navigation when creating or editing Resource in the Manager';
+$_lang["tree_show_protected"] = 'Show protected pages';
+$_lang["tree_show_protected_message"] = 'When set to "No", Protected Resources (and all their child-Resources) do not appear in the Site Tree menu. "No" is the legacy setting for EVO.';
+$_lang["truncate_table"] = 'Click here to truncate this table';
+$_lang["tuesday"] = 'Tuesday';
+$_lang["tv"] = 'TV';
+$_lang["type"] = 'Type';
+$_lang["udperms_allowroot_message"] = 'Allow Users to create new Resources in the site root. ';
+$_lang["udperms_allowroot_title"] = 'Allow root';
+$_lang["udperms_message"] = 'Control access to Resources via User Groups and Resource Groups.';
+$_lang["udperms_title"] = 'Use access permissions';
+$_lang["unable_set_link"] = 'Unable to set the link!';
+$_lang["unable_set_parent"] = 'Unable to set new parent!';
+$_lang["unauthorizedpage_message"] = 'Enter a published and publicly accessible Resource ID to redirect Users to when requesting a secured/unauthorized Resource.';
+$_lang["unauthorizedpage_title"] = 'Unauthorized page';
+$_lang["unblock_message"] = 'This User will not be blocked after saving the User\'s data.';
+$_lang["undelete_resource"] = 'Undelete Resource';
+$_lang["unpublish_date"] = 'Unpublish Date';
+$_lang["unpublish_events"] = 'Un-publish Events';
+$_lang["unpublish_resource"] = 'Un-publish Resource';
+$_lang["untitled_resource"] = 'Untitled Resource';
+$_lang["untitled_weblink"] = 'Untitled Weblink';
+$_lang["update_params"] = 'Update parameter display';
+$_lang["update_settings_from_language"] = 'Replace current with:';
+$_lang["upload_maxsize_message"] = 'Enter the maximum file size that can be uploaded via the file manager. Upload file size must be entered in bytes. NOTE: Large files can take a very long time to upload! ';
+$_lang["upload_maxsize_title"] = 'Maximum upload size';
+$_lang["uploadable_files_message"] = 'Enter a list of files that can be uploaded into \'assets/files/\' using the File Browser. Please enter the extensions for the filetypes, separated by commas.';
+$_lang["uploadable_files_title"] = 'Uploadable File Types';
+$_lang["uploadable_flash_message"] = 'Enter a list of files that can be uploaded into \'assets/flash/\' using the File Browser. Please enter the extensions for the flash types, separated by commas.';
+$_lang["uploadable_flash_title"] = 'Uploadable Flash Types';
+$_lang["uploadable_images_message"] = 'Enter a list of files that can be uploaded into \'assets/images/\' using the File Browser. Please enter the extensions for the image types, separated by commas.';
+$_lang["uploadable_images_title"] = 'Uploadable Image Types';
+$_lang["uploadable_media_message"] = 'Enter a list of files that can be uploaded into \'assets/media/\' using the File Browser. Please enter the extensions for the media types, separated by commas.';
+$_lang["uploadable_media_title"] = 'Uploadable Media Types';
+$_lang["use_alias_path_message"] = 'Enabling this option generates a virtual path to the Resource. E.g., if a Resource "child.html" is located in a Container Resource "parent", then the full URL alias path URL will be "/parent/child.html".';
+$_lang["use_alias_path_title"] = 'Use Friendly URL alias path';
+$_lang["use_editor_message"] = 'Enable editing with a Rich Text Editor (RTE). This setting applies to all Resources, but can be overridden in the User settings.';
+$_lang["use_editor_title"] = 'Enable editor';
+$_lang["use_global_tabs"] = 'Use global Tabs';
+$_lang["user"] = 'User';
+$_lang["user_block"] = 'Blocked';
+$_lang["user_blockedafter"] = 'Blocked After';
+$_lang["user_blockeduntil"] = 'Blocked Until';
+$_lang["user_changeddata"] = 'Your data has been changed. Please log in again.';
+$_lang["user_country"] = 'Country';
+$_lang["user_dob"] = 'Date of birth';
+$_lang["user_doesnt_exist"] = 'User does not exist';
+$_lang["user_edit_self_msg"] = 'You may need to log out and log in again after saving to fully update your information. New passwords will be sent to your e-mail address or shown onscreen.';
+$_lang["user_email"] = 'E-mail address';
+$_lang["user_failedlogincount"] = 'Failed logins';
+$_lang["user_fax"] = 'Fax';
+$_lang["user_female"] = 'Female';
+$_lang["user_full_name"] = 'Full name';
+$_lang["user_gender"] = 'Gender';
+$_lang["user_is_blocked"] = 'This User is blocked!';
+$_lang["user_logincount"] = 'Number of logins';
+$_lang["user_male"] = 'Male';
+$_lang["user_management_msg"] = 'Choose the Content Manager to edit. Content Manager Users are those Users who are allowed to log into the Content Manager';
+$_lang["user_management_title"] = 'Manager Users';
+$_lang["user_mobile"] = 'Mobile phone number';
+$_lang["user_phone"] = 'Phone number';
+$_lang["user_photo"] = 'User Photo';
+$_lang["user_photo_message"] = 'Enter the image url for the this User or use the insert button to selected or upload an image file on the server.';
+$_lang["user_prevlogin"] = 'Last login';
+$_lang["user_role"] = 'User\'s role';
+$_lang["user_state"] = 'State';
+$_lang["user_title"] = 'Create/Edit Manager User';
+$_lang["user_upload_message"] = ' If you wish to stop this User uploading any filetypes in this category, make sure that the \'Use Main Configuration Setting\' checkbox is not ticked and leave the field blank.';
+$_lang["user_use_config"] = 'Use System Configuration Setting';
+$_lang["user_zip"] = 'Zip';
+$_lang["username"] = 'Username';
+$_lang["users"] = 'Users';
+$_lang["valid_hostnames_message"] = 'Help prevent XSS exploits misusing the site_url system setting by providing a comma separated list of valid hostnames for this installation. This is important for some types of shared hosts or hosts direct accessible via an IP address. First hostname in the list is used if the HTTP_HOST does not match any valid hostname.';
+$_lang["valid_hostnames_title"] = 'Valid hostnames';
+$_lang["validate_referer_message"] = 'Validate the HTTP_REFERER headers to reduce the risk of your content editors being tricked into performing unintended actions in the manager as victims of a CSRF (Cross Site Request Forgery) attack. Some configurations may not be able to use this option if the server is not sending HTTP_REFERER headers.';
+$_lang["validate_referer_title"] = 'Validate HTTP_REFERER headers?';
+$_lang["value"] = 'Value';
+$_lang["version"] = 'Version';
+$_lang["view"] = 'View';
+$_lang["view_child_resources_in_container"] = 'View children';
+$_lang["view_log"] = 'View log';
+$_lang["view_logging"] = 'Manager Actions';
+$_lang["view_sysinfo"] = 'System Info';
+$_lang["warning"] = 'Warning!';
+$_lang["warning_not_saved"] = 'The changes you have made have not been saved yet. You can choose to stay on the current page in order to save the changes (\'Cancel\'), or you can leave this page, losing any changes you have made (\'OK\').';
+$_lang["warning_visibility"] = 'Configuration Warnings visible to';
+$_lang["warning_visibility_message"] = 'Control the visibility of the configuration warnings shown on the Manager welcome page';
+$_lang["web_access_permissions"] = 'Web access permissions';
+$_lang["web_access_permissions_user_groups"] = 'Web User groups';
+$_lang["web_permissions"] = 'Web Permissions';
+$_lang["web_user_management_msg"] = 'Choose the web User you wish to edit. Web Users are those Users who are only allowed to log into the web site';
+$_lang["web_user_management_title"] = 'Web Users';
+$_lang["web_user_title"] = 'Create/edit Web User';
+$_lang["web_users"] = 'Web Users';
+$_lang["weblink"] = 'Weblink';
+$_lang["webpwdreminder_message"] = 'Enter a message to be sent to your Web Users whenever they request a new password via email. The Content Manager will send an e-mail containing their new password and activation information. Note: The following Placeholders are replaced by the Content Manager when the message is sent: [+sname+] - Name of your web site, [+saddr+] - Your web site email address, [+surl+] - Your site url, [+uid+] - User\'s Login name or id, [+pwd+] - User\'s password, [+ufn+] - User\'s full name. Leave the [+uid+] and [+pwd+] in the e-mail, or else the username and password won\'t be sent in the mail and your Users won\'t know their username or password! ';
+$_lang["webpwdreminder_title"] = 'Web Reminder Email';
+$_lang["websignupemail_message"] = 'Set the email message sent to Users when creating accounts including their username and passwordNote: The following Placeholders are replaced by the Content Manager when the message is sent: [+sname+] - Name of your web site, [+saddr+] - Your web site email address, [+surl+] - Your site url, [+uid+] - User\'s Login name or id, [+pwd+] - User\'s password, [+ufn+] - User\'s full name. Leave the [+uid+] and [+pwd+] in the e-mail, or else the username and password won\'t be sent in the mail and your Users won\'t know their username or password! ';
+$_lang["websignupemail_title"] = 'Web Signup e-mail';
+$_lang["wednesday"] = 'Wednesday';
+$_lang["welcome_messages"] = 'Your Inbox contains %d message(s), of which %s are unread.';
+$_lang["welcome_title"] = 'Welcome to your EVO Content Manager';
+$_lang["which_editor_message"] = 'Select the rich text editor (RTE). You can download and install additional RTEs from the EVO download page.';
+$_lang["which_editor_title"] = 'Editor to use';
+$_lang["working"] = 'Working...';
+$_lang["wrap_lines"] = 'Wrap lines';
+$_lang["xhtml_urls_message"] = 'Replaces ampersand (&) characters in urls that are generated by EVO with the validating & htmlentity';
+$_lang["xhtml_urls_title"] = 'XHTML URLs';
+$_lang["yes"] = 'Yes';
+$_lang["you_got_mail"] = 'You got mail';
+$_lang["yourinfo_message"] = 'This section shows some information about you:';
+$_lang["yourinfo_previous_login"] = 'Your last login:';
+$_lang["yourinfo_role"] = 'Your role is:';
+$_lang["yourinfo_title"] = 'Your info';
+$_lang["yourinfo_total_logins"] = 'Total number of logins:';
+$_lang["yourinfo_username"] = 'You are logged in as:';
+
+$_lang["a17_error_reporting_title"] = 'Detection level of PHP errors';
+$_lang["a17_error_reporting_msg"] = 'Set the detection level of the PHP errors.';
+$_lang["a17_error_reporting_opt0"] = 'Ignore all';
+$_lang["a17_error_reporting_opt1"] = 'Ignore warnings of a slight notice level (E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT )';
+$_lang["a17_error_reporting_opt2"] = 'Detect all errors except E_NOTICE';
+$_lang["a17_error_reporting_opt99"] = 'Detect all';
+
+$_lang["pwd_hash_algo_title"] = 'Hash algorithm';
+$_lang["pwd_hash_algo_message"] = 'Password hash algorithm.';
+
+$_lang["enable_bindings_title"] = 'Enable @Bindings commands';
+$_lang["enable_bindings_message"] = 'Prevents the execution of PHP functions through TV @Bindings. Useful if you have Manager users who should not be able to create PHP code but need to be able to create or edit TVs. The output of any TV with an @Binding will be "@Bindings disabled".';
+$_lang["enable_filter_title"] = 'Enable filters';
+$_lang["enable_filter_message"] = 'Filters allow you to manipulate the way data is presented or parsed in a tag. They allow you to modify values from inside your templates. This is analogous to PHx. More info '; // todo: change link to documentation
+$_lang["enable_filter_phx_warning"] = 'When PHx plugin enabled, built-in filters are disabled by default';
+
+$_lang["enable_filter_phx_warning"] = 'When PHx plugin enabled, built-in filters are disabled by default';
+
+$_lang["enable_at_syntax_title"] = 'Enable <@SYNTAX>';
+$_lang["enable_at_syntax_message"] = '<@SYNTAX>(atmark syntax) is simple and lightweight template syntax. This is designed to consider coexistence with HTML tags and content strings.';
+
+$_lang["bkmgr_alert_mkdir"] = 'A file cannot be created in a directory. Please check the permission of [+snapshot_path+]';
+$_lang["bkmgr_restore_msg"] = 'Database tables could be restored by SQL:
';
+$_lang["bkmgr_restore_title"] = 'Restore';
+$_lang["bkmgr_import_ok"] = 'SQL recovery was performed normally.';
+$_lang["bkmgr_snapshot_ok"] = 'The snapshot was saved normally.';
+$_lang["bkmgr_run_sql_file_label"] = 'Execute by SQL file';
+$_lang["bkmgr_run_sql_direct_label"] = 'Direct execute SQL commands';
+$_lang["bkmgr_run_sql_submit"] = 'Execute restore';
+$_lang["bkmgr_run_sql_result"] = 'Result';
+$_lang["bkmgr_snapshot_title"] = 'Snapshot save and recovery';
+$_lang["bkmgr_snapshot_msg"] = 'The contents of the database are saved in and restored from a server directory. Location: [+snapshot_path+] ($modx->config[\'snapshot_path\'])
';
+$_lang["bkmgr_snapshot_submit"] = 'Add Snapshot';
+$_lang["bkmgr_snapshot_list_title"] = 'List of snapshots';
+$_lang["bkmgr_restore_submit"] = 'Revert this data';
+$_lang["bkmgr_restore_confirm"] = 'Are you sure you want to revert backup\n[+filename+] ?';
+$_lang["bkmgr_snapshot_nothing"] = 'No snapshots available';
+
+$_lang["files.dynamic.php1"] = 'New Text File';
+$_lang["files.dynamic.php2"] = 'This directory cannot be displayed.';
+$_lang["files.dynamic.php3"] = 'There is a problem in a file name.';
+$_lang["files.dynamic.php4"] = 'The text file was created.';
+$_lang["files.dynamic.php5"] = 'File could not be duplicated.';
+$_lang["files.dynamic.php6"] = 'File or directory could not be renamed.';
+$_lang["files_dynamic_new_folder_name"] = 'Enter new directory name:';
+$_lang["files_dynamic_new_file_name"] = 'Enter new file name:';
+$_lang["not_readable_dir"] = 'Can not read this directory.';
+$_lang["confirm_delete_dir"] = 'Are you sure you want to delete the directory?';
+$_lang["confirm_delete_dir_recursive"] = 'Are you sure you want to delete this directory?\n\nAll files inside this directory will also be deleted.';
+
+$_lang["make_folders_title"] = 'End Container URL with Slash';
+$_lang["make_folders_message"] = 'Append trailing slash to Resources that are set as containers when using Friendly URLs.';
+
+$_lang["check_files_onlogin_title"] = 'Check core files on login';
+$_lang["check_files_onlogin_message"] = 'By enabling this option, important system files will be checked for modification typical of scripted website attacks. While not a foolproof guarantee, it may alert you to a compromised EVO system file and website.';
+
+$_lang["configcheck_sysfiles_mod"] = 'Important System Files have been modified.';
+$_lang["configcheck_sysfiles_mod_msg"] = 'You have configured EVO to check important system files for possible website script attacks. This warning does not necessarily mean your site has been compromised, however, you should review the watched files in your installation (set in System configuration -> User -> Check core files on login). If you find your files unaltered or changes were made by site administrators, go to System Configuration and click to re-save settings to dismiss this message. Changes in the following files have been found:';
+
+$_lang['email_method_title'] = 'Sendmail method';
+$_lang['email_method_mail'] = 'PHP mail() function';
+$_lang['email_method_smtp'] = 'SMTP Server';
+$_lang['smtp_auth_title'] = 'SMTP-AUTH';
+$_lang['smtp_host_title'] = 'SMTP host';
+$_lang['smtp_secure_title'] = 'Encrypted SMTP';
+$_lang['smtp_username_title'] = 'SMTP user name';
+$_lang['smtp_password_title'] = 'SMTP password';
+$_lang['smtp_port_title'] = 'SMTP port';
+
+$_lang["setting_resource_tree_node_name"] = 'Display Name in Resource Tree';
+$_lang["setting_resource_tree_node_name_desc"] = 'Select the Resource field to show as the Resource name in the Resource Tree. The default setting is pagetitle.';
+$_lang["setting_resource_tree_node_name_desc_add"] = 'Note: Since EVO 1.1 you can change this Display Name within Resource-Tree´s sorting option. This setting is used when Display Name in Resource Tree is set to "Default".';
+
+$_lang["resource_opt_alvisibled"] = 'Use current alias in alias path';
+$_lang["resource_opt_alvisibled_help"] = 'The alias of this Resource is inserted in Friendly URL alias path';
+$_lang['resource_opt_is_published'] = 'Published';
+$_lang["docid_incrmnt_method_title"] = 'Increment Resource ID method';
+$_lang["docid_incrmnt_method_0"] = 'DB auto increment';
+$_lang["docid_incrmnt_method_1"] = 'Minimum missed ID';
+$_lang["docid_incrmnt_method_2"] = 'Maximal ID + 1';
+
+$_lang["enable_cache_title"] = 'Document caching';
+$_lang["disabled_at_login"] = 'Disabled at login';
+
+$_lang["cache_type_title"] = 'Document caching type';
+$_lang["cache_type_1"] = 'Cache is based only on Resource ID (standard)';
+$_lang["cache_type_2"] = 'Cache is based on Resource ID and $_GET parameters';
+$_lang["seostrict_title"] = 'Use SEO Strict URLs';
+$_lang["seostrict_message"] = 'Enforces the use of strict URLs to prevent duplicate content (if needed)';
+$_lang["aliaslistingfolder_title"] = 'Use AliasListing only for Folders';
+$_lang["aliaslistingfolder_message"] = 'Reduces memory consumption when a large number of resources';
+
+$_lang["settings_friendlyurls_alert"] = 'It is necessary to rename the ht.access file in the EVO installation directory at .htaccess to use the Friendly URL function.';
+$_lang["settings_friendlyurls_alert2"] = 'Since EVO was installed in a subdirectory, it is necessary to change the content of .htaccess.';
+
+$_lang["user_street"] = 'Street';
+$_lang["user_city"] = 'City';
+$_lang["user_other"] = 'Other';
+
+$_lang["import_site.static.php1"] = 'Reset resource tree';
+$_lang["import_site.static.php2"] = 'Reset resource tree and initialize all Resource IDs.';
+$_lang["import_site.static.php3"] = 'Target';
+$_lang["import_site.static.php4"] = 'Only <body></body> part';
+$_lang["import_site.static.php5"] = 'Whole file content';
+
+$_lang["a83_ignore_ids_title"] = 'Ignore IDs (comma separated)';
+$_lang["export_site.static.php1"] = 'Target';
+$_lang["export_site.static.php2"] = 'Only edited Resources';
+$_lang["export_site.static.php3"] = 'All Resources';
+$_lang["export_site.static.php4"] = 'Search for';
+$_lang["export_site.static.php5"] = 'Replace with';
+$_lang["export_site.static.php6"] = 'Target';
+$_lang["export_site.static.php7"] = 'Files could not be saved to [+rb_base_url+]';
+
+$_lang["mutate_settings.dynamic.php6"] = 'Send mail on EVO errors';
+$_lang["mutate_settings.dynamic.php7"] = 'not notify';
+$_lang["mutate_settings.dynamic.php8"] = 'A mail with the error source will be sent to [(emailsender)] ([+emailsender+]) if a EVO error occurs. The details of the error could be seen in the EVO system events log.';
+
+$_lang["error_no_privileges"] = "You don't have enough privileges for this action!";
+$_lang["error_no_optimise_tablename"] = "Table to optimise not found in request!";
+$_lang["error_no_truncate_tablename"] = "Table to truncate not found in request!";
+$_lang["error_double_action"] = "Double action (GET & POST) posted!";
+$_lang["error_no_id"] = "ID not passed in request!";
+$_lang["error_id_nan"] = "ID passed in request is NaN!";
+$_lang["error_no_parent"] = "Couldn't find parent document's name!";
+$_lang["error_many_results"] = "Too many results returned from database!";
+$_lang["error_no_results"] = "Not enough/ no results returned from database!";
+$_lang["error_no_user_selected"] = "No user selected as recipient of this message!";
+$_lang["error_no_group_selected"] = "No group selected as recipient of this message!";
+$_lang["error_movedocument1"] = "Document cannot be it's own parent!";
+$_lang["error_movedocument2"] = "Document's ID not passed in request!";
+$_lang["error_movedocument3"] = "New parent not set in request!";
+$_lang["error_internet_connection"] = "Server isn't available. Check your internet connection!";
+
+$_lang["login_processor_unknown_user"] = "Incorrect username or password entered!";
+$_lang["login_processor_wrong_password"] = "Incorrect username or password entered!";
+$_lang["login_processor_many_failed_logins"] = "Due to too many failed logins, you have been blocked!";
+$_lang["login_processor_blocked1"] = "You are blocked and cannot log in!";
+$_lang["login_processor_blocked2"] = "You are blocked and cannot log in! Please try again later.";
+$_lang["login_processor_blocked3"] = "You are blocked automatic after a specified date and you cannot log in anymore!";
+$_lang["login_processor_bad_code"] = "The security code you entered didn't validate! Please try to login again!";
+$_lang["login_processor_remotehost_ip"] = "Your hostname doesn't point back to your IP!";
+$_lang["login_processor_remote_ip"] = "You are not allowed to login from this location.";
+$_lang["login_processor_date"] = "You are not allowed to login at this time. Please try again later.";
+$_lang["login_processor_captcha_config"] = "Captcha is not configured properly.";
+
+$_lang["dp_dayNames"] = "['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']";
+$_lang["dp_monthNames"] = "['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']";
+$_lang["dp_startDay"] = "1";
+
+$_lang["check_all"] = "Select all";
+$_lang["check_none"] = "Select none";
+$_lang["check_toggle"] = "Toggle selection";
+
+$_lang["version_notices"] = "Version Notices";
+
+$_lang["em_button_shift"] = " (Shift-Mouseclick to open multiple windows)";
+
+$_lang["reset_sysfiles_checksum_button"] = "Rebuild Checksums";
+$_lang["reset_sysfiles_checksum_alert"] = "Are you sure you want to reset the system files checksums?";
+
+$_lang["file_browser_disabled_msg"] = "The File Browser Feature is not enabled.";
+$_lang["which_browser_default_title"]= "Default File Browser";
+$_lang["which_browser_default_msg"]= "Choose the File Browser you prefer as default. In User-Settings you can choose a Custom Browser per User, or leave it on "default".";
+$_lang["which_browser_title"]= "File Browser";
+$_lang["which_browser_msg"]= "You can choose a custom File Browser for this user. To use the System´s default Browser, leave it on "Default".";
+$_lang["option_default"] = "Default";
+$_lang["position"] = "Position";
+$_lang["are_you_sure"] = "Are you sure?";
+
+$_lang['evo_downloads_title'] = "Evolution Downloads";
+$_lang['help_translating_title'] = "Help translating Evolution";
+$_lang['download'] = "Download";
+$_lang['downloads'] = "Downloads";
+$_lang["previous_releases"] = "Previous Releases";
+$_lang["extras"] = "Extras";
+
+$_lang["display_locks"] = "Display Locks";
+$_lang["role_display_locks"] = "Display Locks";
+$_lang["session_timeout"] = "Session Timeout";
+$_lang["session_timeout_msg"] = "EVO will ping the server as per setting "Mail Check Time Period". If the last ping exceeds this setting, the associated session will be considered invalid and all related locks will be removed automatically. Set value in minutes (>2min, default 15min).";
+$_lang["unlock_element_id_warning"] = "Are you sure you want to unlock this [+element_type+] (ID [+id+])?";
+$_lang["lock_element_type_1"] = "Template";
+$_lang["lock_element_type_2"] = "Template-Variable";
+$_lang["lock_element_type_3"] = "Chunk";
+$_lang["lock_element_type_4"] = "Snippet";
+$_lang["lock_element_type_5"] = "Plugin";
+$_lang["lock_element_type_6"] = "Module";
+$_lang["lock_element_type_7"] = "Resource";
+$_lang["lock_element_type_8"] = "Role";
+$_lang["lock_element_editing"] = "You are editing this [+element_type+] since\n[+lasthit_df+]";
+$_lang["lock_element_locked_by"] = "This [+element_type+] is locked by user\n[+username+] since [+lasthit_df+]";
+
+$_lang["minifyphp_incache_title"] = 'Minify php code in site cache';
+$_lang["minifyphp_incache_message"] = 'Minify php code (snippets and plugins) and store in the site cache file, ref:#938 ';
+
+$_lang["logout_reminder_msg"] = "Reminder: It seems on [+date+] you forgot to logout. Please pay attention in future to do so after your work is finished.";
+
+$_lang["allow_eval_title"] = "Eval php code in snippet call";
+$_lang["allow_eval_msg"] = "For developer : Please use \$modx->safeEval().";
+$_lang["allow_eval_with_scan"] = "Execute only permitted functions";
+$_lang["allow_eval_with_scan_at_post"] = "Execute all. However, at POST, only permitted functions";
+$_lang["allow_eval_everytime_eval"] = "Unlimited (Use only for debugging)";
+$_lang["allow_eval_dont_eval"] = "Do not allow all functions";
+
+$_lang["safe_functions_at_eval_title"] = "Functions to allow eval";
+$_lang["safe_functions_at_eval_msg"] = "Comma separated list";
+
+$_lang["multiple_sessions_msg"] = "Information: Multiple active user sessions (total [+total+]) found for user [+username+] .";
+$_lang["iconv_not_available"] = "It is important to install/enable extension iconv. Please speak to your host if you don´t know how to enable it.";
+
+$_lang["cm_create_new_category"] = "Create the new category";
+$_lang["cm_category_name"] = "Category name";
+$_lang["cm_category_position"] = "Category position";
+$_lang["cm_no_x_assigned"] = "No %s assigned";
+$_lang["cm_save_categorization"] = "Save categorization";
+$_lang["cm_update_categories"] = "Update categories";
+$_lang["cm_assigned_elements"] = "Assigned elements";
+$_lang["cm_edit_name"] = "Edit name";
+$_lang["cm_mark_for_deletion"] = "Mark for deletion";
+$_lang["cm_delete_now"] = "Delete immediately";
+$_lang["cm_delete_element_x_now"] = "Delete "%s" immediately";
+$_lang["cm_select_element_group"] = "Select an element group";
+$_lang["cm_global_messages"] = "Global Messages";
+$_lang["cm_add_new_category"] = "Add a new category";
+$_lang["cm_edit_categories"] = "Edit categories";
+$_lang["cm_sort_categories"] = "Sort categories";
+$_lang["cm_categorize_elements"] = "Categorize elements";
+$_lang["cm_translation"] = "Translation";
+$_lang["cm_translations"] = "Translations";
+$_lang["cm_categorize_x"] = "Categorize %s ";
+$_lang["cm_unknown_error"] = "Something went wrong.";
+$_lang["cm_x_assigned_to_category_y"] = "%s(%s) has been assigned to category %s(%s) ";
+$_lang["cm_no_categorization"] = "No categorization made.";
+$_lang["cm_no_changes"] = "Nothing to change, so no changes made.";
+$_lang["cm_x_changes_made"] = "%s changes made";
+$_lang["cm_enter_name_for_category"] = "Please enter a name for the new category.";
+$_lang["cm_category_x_exists"] = "Category %s already exists.";
+$_lang["cm_category_x_saved_at_position_y"] = "The new category %s was saved at position %s .";
+$_lang["cm_category_x_moved_to_position_y"] = "Category %s was moved to position %s ";
+$_lang["cm_category_x_deleted"] = "Category %s has been deleted";
+$_lang["cm_category_x_renamed_to_y"] = "Category %s was renamed to %s ";
+$_lang["cm_translation_for_x_empty"] = "Translation for %s was empty";
+$_lang["cm_translation_for_x_to_y_success"] = "Translation for %s to %s successfully saved";
+$_lang["cm_save_new_sorting"] = "Save new sorting";
+$_lang["cm_translate_phrases"] = "Translate phrases";
+$_lang["cm_translate_module_phrases"] = "Translate module-phrases";
+$_lang["cm_native_phrase"] = "Native phrase";
+
+$_lang["btn_view_options"] = 'View Options';
+$_lang["view_options_msg"] = 'The display & listing of elements can be customized via "View Options"-button. Settings are saved and restored per Browser using HTML5´s localStorage.';
+$_lang["viewopts_title"] = 'View Options';
+$_lang["viewopts_cb_buttons"] = 'Buttons';
+$_lang["viewopts_cb_descriptions"] = 'Descriptions';
+$_lang["viewopts_cb_icons"] = 'Icons';
+$_lang["viewopts_radio_list"] = 'List';
+$_lang["viewopts_radio_inline"] = 'Inline';
+$_lang["viewopts_radio_flex"] = 'Flex';
+$_lang["viewopts_fontsize"] = 'Font-Size';
+$_lang["viewopts_cb_alltabs"] = 'All Tabs';
diff --git a/manager/includes/lang/finnish.inc.php b/manager/includes/lang/finnish.inc.php
old mode 100644
new mode 100755
index 1c86e9985d..204dae6b97
--- a/manager/includes/lang/finnish.inc.php
+++ b/manager/includes/lang/finnish.inc.php
@@ -839,10 +839,10 @@
$_lang["role_view_unpublished"] = 'Näytä julkaisemattomat / piilotetut sivut';
$_lang["role_web_access_persmissions"] = 'Web-käyttöoikeudet';
$_lang["role_web_user_management"] = 'Web-käyttäjän hallinta';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Anna MODX-uutisten osoite (RSS-syöte).';
$_lang["rss_url_news_title"] = 'RSS / Uutiset';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Anna MODX-tietoturvatiedotteiden osoite (RSS-syöte).';
$_lang["rss_url_security_title"] = 'RSS / Tietoturvatiedotteet';
$_lang["run_module"] = 'Suorita moduuli';
diff --git a/manager/includes/lang/francais-utf8.inc.php b/manager/includes/lang/francais-utf8.inc.php
old mode 100644
new mode 100755
index b55a0c7313..1f81d7c71c
--- a/manager/includes/lang/francais-utf8.inc.php
+++ b/manager/includes/lang/francais-utf8.inc.php
@@ -842,10 +842,10 @@
$_lang["role_view_unpublished"] = 'Visualiser les Ressources non publiées';
$_lang["role_web_access_persmissions"] = 'Autorisations d\'accès web';
$_lang["role_web_user_management"] = 'Gestion des Utilisateurs Web';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Entrez l\'URL du flux pour les actualités MODX.';
$_lang["rss_url_news_title"] = 'Flux RSS des actualités';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Entrez l\'URL du flux pour les bulletins de sécurité MODX.';
$_lang["rss_url_security_title"] = 'Flux RSS des bulletins de sécurité';
$_lang["run_module"] = 'Lancer le Module';
diff --git a/manager/includes/lang/francais.inc.php b/manager/includes/lang/francais.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/german.inc.php b/manager/includes/lang/german.inc.php
old mode 100644
new mode 100755
index 6646b214ce..b7acfc77e4
--- a/manager/includes/lang/german.inc.php
+++ b/manager/includes/lang/german.inc.php
@@ -864,10 +864,10 @@
$_lang["role_view_unpublished"] = 'Zeige unveröffentlichte Ressourcen';
$_lang["role_web_access_persmissions"] = 'Web-Benutzer-Zugriffskontrolle';
$_lang["role_web_user_management"] = 'Web-Benutzerverwaltung';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'URL des MODX-News-Feeds eintragen.';
$_lang["rss_url_news_title"] = 'RSS-News-Feed';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'URL des MODX-Security-Feeds eintragen.';
$_lang["rss_url_security_title"] = 'RSS-Security-Feed';
$_lang["run_module"] = 'Modul starten';
diff --git a/manager/includes/lang/hebrew.inc.php b/manager/includes/lang/hebrew.inc.php
old mode 100644
new mode 100755
index 2993169fc7..e3434d2e8d
--- a/manager/includes/lang/hebrew.inc.php
+++ b/manager/includes/lang/hebrew.inc.php
@@ -839,10 +839,10 @@
$_lang["role_view_unpublished"] = 'הצג מסמכים שלא פורסמו';
$_lang["role_web_access_persmissions"] = 'הרשאות גישה';
$_lang["role_web_user_management"] = 'ניהול חברים';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Enter the URL for the MODX News Feed.';
$_lang["rss_url_news_title"] = 'RSS News Feed';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Enter the URL for the MODX Security Feed.';
$_lang["rss_url_security_title"] = 'RSS Security Feed';
$_lang["run_module"] = 'הרץ מודול';
diff --git a/manager/includes/lang/italian.inc.php b/manager/includes/lang/italian.inc.php
old mode 100644
new mode 100755
index 61f9343688..a25b88323f
--- a/manager/includes/lang/italian.inc.php
+++ b/manager/includes/lang/italian.inc.php
@@ -1,1426 +1,1489 @@
-framework PHP e un sistema di gestione dei contenuti (CMS) su licenza GNU GPL .';
-$_lang["about_title"] = 'Cos\'è EVO';
-$_lang["access_permission_denied"] = 'Non avete i permessi per accedere alla Risorsa.';
-$_lang["access_permission_parent_denied"] = 'Non avete il permesso di creare o spostare qui una Risorsa! Scegliete un\'altra destinazione.';
-$_lang["access_permissions"] = 'Permessi di accesso';
-$_lang["access_permissions_add_resource_group"] = 'Crea un nuovo Gruppo di Risorse';
-$_lang["access_permissions_add_user_group"] = 'Crea un nuovo Gruppo di Utenti';
-$_lang["access_permissions_docs_collision"] = 'A causa di un conflitto fra il Web User Groups e il Manager User Groups del vostro Ruolo, questa Risorsa sarà pubblica. Contattare un amministratore di sistema per maggiori chiarimenti.';
-$_lang["access_permissions_docs_message"] = 'Qui potete selezionare a quali gruppi appartiene la Risorsa';
-$_lang["access_permissions_group_link"] = 'Crea un nuovo gruppo';
-$_lang["access_permissions_introtext"] = 'Qui potete gestire i Gruppi di Utenti e i Gruppi di Risorse. Per aggiungere un utente a un gruppo, modificate l\'utente e selezionate il gruppo di cui deve fare parte. Per assegnare una Risorsa ad un Gruppo di Utenti, modificate la Risorsa e selezionate i gruppi a cui deve appartenere.';
-$_lang["access_permissions_link_to_group"] = 'al Gruppo Risorse';
-$_lang["access_permissions_link_user_group"] = 'Link a Gruppo Utenti';
-$_lang["access_permissions_links"] = 'Collegamenti Gruppi di Utenti/Risorse';
-$_lang["access_permissions_links_tab"] = 'Qui potete specificare a quali Gruppi di Utenti è permesso l\'accesso ai Gruppi di Risorse (ad es.: possono modificare o creare Risorse). Per collegare un Gruppo di Risorse a un Gruppo di Utenti, selezionatelo dalla lista a tendina, e fate clic su \'Aggiungi gruppo\'. Per rimuovere il collegamento ad un certo gruppo premete \'Rimuovi ->\'. Il collegamento sarà immediatamente eliminato.';
-$_lang["access_permissions_no_resources_in_group"] = 'Nessuno.';
-$_lang["access_permissions_no_users_in_group"] = 'Nessuno.';
-$_lang["access_permissions_off"] = 'I permessi di accesso non sono stati attivati. Questo significa che qualsiasi modifica qui eseguita non avrà alcun effetto finchè i permessi di accesso non saranno attivati.';
-$_lang["access_permissions_resource_groups"] = 'Gruppi di Risorse';
-$_lang["access_permissions_resources_in_group"] = 'Risorse nel gruppo: ';
-$_lang["access_permissions_resources_tab"] = 'Qui potete vedere i Gruppi di Risorse che sono stati impostati. Potete anche crearne di nuovi, rinominarli, eliminarli e vedere quali Risorse sono presenti nei differenti gruppi (posizionate il mouse sull\'ID della Risorsa per vederne il nome). Per aggiungere una Risorsa ad un gruppo o per rimuoverla da un gruppo, modificate direttamente la Risorsa.';
-$_lang["access_permissions_user_groups"] = 'Gruppi di Utenti';
-$_lang["access_permissions_user_message"] = 'Qui potete selezionare a quali Gruppi di Utenti appartiene l\'utente:';
-$_lang["access_permissions_users_in_group"] = 'Utenti del gruppo: ';
-$_lang["access_permissions_users_tab"] = 'Qui potete vedere i Gruppi di Utenti che sono stati impostati. Potete anche crearne di nuovi, rinominarli, eliminarli e vedere quali utenti fanno parte dei differenti gruppi. Per aggiungere un nuovo utente a un gruppo o per rimuoverlo da un gruppo, modificate direttamente l\'utente. Gli amministratori (utenti a cui è assegnato il Ruolo con ID 1) hanno sempre accesso a tutte le Risorse, quindi non hanno necessità di essere aggiunti ad alcun gruppo.';
-$_lang["account_email"] = 'Indirizzo email';
-$_lang["actioncomplete"] = 'Azione completata con successo! Vi preghiamo di attendere che EVO ripulisca.';
-$_lang["activity_message"] = 'Questa lista mostra le ultime Risorse che avete creato o modificato:';
-$_lang["activity_title"] = 'Risorse modificate o create di recente';
-$_lang["add"] = 'Aggiungi';
-$_lang["add_chunk"] = 'Aggiungi Chunk';
-$_lang["add_doc"] = 'Aggiungi Risorsa';
-$_lang["add_folder"] = 'Nuova cartella';
-$_lang["add_plugin"] = 'Aggiungi Plugin';
-$_lang["add_resource"] = 'Nuova Risorsa';
-$_lang["add_snippet"] = 'Aggiungi Snippet';
-$_lang["add_tag"] = 'Aggiungi tag';
-$_lang["add_template"] = 'Aggiungi Template';
-$_lang["add_tv"] = 'Aggiungi Variabile di Template';
-$_lang["add_weblink"] = 'Nuovo Link Web';
-$_lang["administrator_role_message"] = 'Questo Ruolo non può essere modificato o eliminato.';
-$_lang["administrators"] = 'Amministratori';
-$_lang["after_saving"] = 'Dopo il salvataggio';
-$_lang["alert_delete_self"] = 'Non potete eliminare voi stessi!';
-$_lang["alias"] = 'Alias';
-$_lang["all_doc_groups"] = 'Tutti i Gruppi di Risorse (Pubblico)';
-$_lang["all_events"] = 'Tutti gli eventi';
-$_lang["all_usr_groups"] = 'Tutti i Gruppi di Utenti (Pubblico)';
-$_lang["allow_mgr_access"] = 'Accesso all\'interfaccia di amministrazione';
-$_lang["allow_mgr_access_message"] = 'Selezionate questa opzione per abilitare o disabilitare l\'accesso dell\'utente al Manager. NOTA: Se selezionate \'No\' l\'utente verrà ridiretto alla Pagina di accesso del Manager o alla Home Page del sito. ';
-$_lang["already_deleted"] = 'è già stato eliminato.';
-$_lang["attachment"] = 'Allegato';
-$_lang["author_infos"] = 'Info sull\'autore';
-$_lang["automatic_alias_message"] = 'Selezionate \'Si\' affinchè il sistema, al momento del salvataggio, generi automaticamente un alias basato sul titolo della Risorsa.';
-$_lang["automatic_alias_title"] = 'Genera automaticamente l\'alias:';
-$_lang["backup"] = 'Backup';
-$_lang["bk_manager"] = 'Backup';
-$_lang["block_message"] = 'L\'utente sarà bloccato dopo aver salvato i suoi dati!';
-$_lang["blocked_minutes_message"] = 'Qui potete inserire per quanti minuti un utente sarà bloccato dopo aver superato il numero consentito di login errati. Inserite solo numeri, senza punti o virgole.';
-$_lang["blocked_minutes_title"] = 'Minuti di blocco:';
-$_lang["cache_files_deleted"] = 'Sono stati eliminati i seguenti files:';
-$_lang["cancel"] = 'Annulla';
-$_lang["captcha_code"] = 'Codice di sicurezza';
-$_lang["captcha_message"] = 'Abilitatelo per aumentare la sicurezza richiedendo agli utenti di inserire un codice illeggibile dalle macchine (e dagli script degli hackers).';
-$_lang["captcha_title"] = 'Usa codici CAPTCHA:';
-$_lang["captcha_words_default"] = 'EVO,Access,Better,BitCode,Chunk,Cache,Desc,Design,Excell,Enjoy,URLs,TechView,Gerald,Griff,Humphrey,Holiday,Intel,Integration,Joystick,Join(),Oscope,Genetic,Light,Likeness,Marit,Maaike,Niche,Netherlands,Ordinance,Oscillo,Parser,Phusion,Query,Question,Regalia,Righteous,Snippet,Sentinel,Template,Thespian,Unity,Enterprise,Verily,Tattoo,Veri,Website,WideWeb,Yap,Yellow,Zebra,Zygote';
-$_lang["captcha_words_message"] = 'Qui potete inserire una lista di parole CAPTCHA da usare quando CAPTCHA è abilitato. Separate le parole con virgole. Questo campo è limitato a 255 caratteri.';
-$_lang["captcha_words_title"] = 'Parole CAPTCHA:';
-$_lang["category_heading"] = 'Categoria';
-$_lang["category_manager"] = 'Gestione Categorie';
-$_lang["category_management"] = 'Gestione Categorie';
-$_lang["manage_categories"] = 'Gestione Categorie';
-$_lang["category_msg"] = 'Qui potete vedere tutte le Risorse per categoria.';
-$_lang["cfg_base_path"] = 'MODX_BASE_PATH';
-$_lang["cfg_base_url"] = 'MODX_BASE_URL';
-$_lang["cfg_manager_path"] = 'MODX_MANAGER_PATH';
-$_lang["cfg_manager_url"] = 'MODX_MANAGER_URL';
-$_lang["cfg_site_url"] = 'MODX_SITE_URL';
-$_lang["change_name"] = 'Cambia nome';
-$_lang["change_password"] = 'Cambia password';
-$_lang["change_password_confirm"] = 'Conferma password';
-$_lang["change_password_message"] = 'Inserite la nuova password e successivamente riscrivetela per conferma. La password deve essere lunga da 6 a 15 caratteri.';
-$_lang["change_password_new"] = 'Nuova password';
-$_lang["charset_message"] = 'Selezionate la codifica caratteri per la variabile di sistema [(modx_charset)]. Questa impostazione non ha impatto sul Manager.';
-$_lang["charset_title"] = 'Codifica caratteri:';
-$_lang["chunk"] = 'Chunk';
-$_lang["chunk_code"] = 'Codice del Chunk (HTML)';
-$_lang["chunk_multiple_id"] = 'Errore: Diversi Chunks hanno lo stesso ID.';
-$_lang["chunk_no_exist"] = 'Il Chunk non esiste.';
-$_lang["cleaningup"] = 'Sto ripulendo';
-$_lang["clean_uploaded_filename"] = 'Normalizzare automaticamente i nomi dei files caricati';
-$_lang["clean_uploaded_filename_message"] = 'Usa la configurazione di default o quella di transalias per eliminare dal nome dei files caricati i caratteri speciali, mantenendo i punti (.)';
-$_lang["clear_log"] = 'Pulisci log';
-$_lang["click_to_context"] = 'Cliccate per accedere al menu contestuale';
-$_lang["click_to_edit_title"] = 'Cliccate qui per modificare questo record';
-$_lang["click_to_view_details"] = 'Cliccate qui per vedere i dettagli';
-$_lang["close"] = 'Chiudi';
-$_lang["code"] = 'Codice';
-$_lang["collapse_tree"] = 'Comprimi struttura ad albero';
-$_lang["comment"] = 'Commenti';
-$_lang["configcheck_admin"] = 'Vi preghiamo di contattare l\'amministratore di sistema e avvisarlo di questo messaggio!';
-$_lang["configcheck_cache"] = 'impossibile scrivere nella directory della cache';
-$_lang["configcheck_cache_msg"] = 'EVO non può scrivere nella cartella cache. EVO continuerà a funzionare come previsto, ma non sarà possibile fare caching. Per risolvere, rendete la cartella /_cache/ scrivibile.';
-$_lang["configcheck_configinc"] = 'Il file di configurazione (/[+MGR_DIR+]/includes/config.inc.php) è ancora scrivibile';
-$_lang["configcheck_configinc_msg"] = 'Qualche malintenzionato potrebbe combinare guai sul vostro sito e tutto ciò che è collegato ad esso. Sul serio. Impostate il file di configurazione (/[+MGR_DIR+]/includes/config.inc.php) in sola lettura!';
-$_lang["configcheck_default_msg"] = 'E\' stato trovato un avviso non specificato. Questo è strano.';
-$_lang["configcheck_errorpage_unavailable"] = 'La pagina di Errore del vostro sito non è disponibile.';
-$_lang["configcheck_errorpage_unavailable_msg"] = 'Ciò significa che la pagina di Errore non esiste o non è accessibile da parte dei normali visitatori web. Questo può generare un loop ricorsivo e scrivere numerosi errori nel log del vostro sito. Verificate che non ci siano Gruppi di Utenti Web assegnati a questa pagina.';
-$_lang["configcheck_errorpage_unpublished"] = 'La pagina di Errore del vostro sito non esiste o non è stata pubblicata.';
-$_lang["configcheck_errorpage_unpublished_msg"] = 'Ciò significa che la pagina di Errore non è accessibile da parte del pubblico. Pubblicate la pagina o selezionate una Risorsa esistente nella struttura ad albero del vostro sito dal menu Strumenti -> Configurazione.';
-$_lang["configcheck_hide_warning"] = 'Non mostrare più questo messaggio. ';
-$_lang["configcheck_images"] = 'Impossibile scrivere nella directory delle immagini';
-$_lang["configcheck_images_msg"] = 'La cartella immagini non è scrivibile o non esiste. Questo significa che il sistema di gestione immagini dell\'editor non funzionerà!';
-$_lang["configcheck_installer"] = 'L\'Installer è ancora presente';
-$_lang["configcheck_installer_msg"] = 'La directory /install contiene il programma di installazione di EVO. Immaginate cosa potrebbe succedere se un malintenzionato trovasse questa directory ed eseguisse l\'installazione. Forse non riuscirebbe a fare molto visto che gli servirebbe anche la password per la connessione al database, ma è decisamente meglio cancellare questa directory dal server.';
-$_lang["configcheck_lang_difference"] = 'Numero errato di voci nel file di lingua';
-$_lang["configcheck_lang_difference_msg"] = 'La lingua correntemente selezionata ha un differente numero di voci rispetto alla lingua di default. Pur non essendo necessariamente un problema, questo significa che il file di lingua richiede un aggiornamento.';
-$_lang["configcheck_notok"] = 'Verificare alcuni dettagli della configurazione: ';
-$_lang["configcheck_ok"] = 'Controllo OK - Nessun avviso da segnalare.';
-$_lang["configcheck_php_gdzip"] = 'Le estensioni PHP GD e/o Zip non sono state trovate';
-$_lang["configcheck_php_gdzip_msg"] = 'EVO richiede le estensioni PHP GD e Zip. EVO funziona anche senza, ma non potrete utilizzare File Manager, Image Editor e Captcha.';
-$_lang["configcheck_register_globals"] = 'Nel vostro file di configurazione php.ini, il valore register_globals è impostato su ON';
-$_lang["configcheck_register_globals_msg"] = 'Questa configurazione rende il vostro sito molto più suscettibile agli attacchi di Cross Site Scripting (XSS). Contattate il vostro fornitore di hosting per capire cosa si può fare per disabilitare questa impostazione.';
-$_lang["configcheck_title"] = 'Controllo della configurazione';
-$_lang["configcheck_templateswitcher_present"] = 'Rilevato il Plugin TemplateSwitcher';
-$_lang["configcheck_templateswitcher_present_delete"] = 'Elimina TemplateSwitcher ';
-$_lang["configcheck_templateswitcher_present_disable"] = 'Disabilita TemplateSwitcher ';
-$_lang["configcheck_templateswitcher_present_msg"] = 'Il Plugin TemplateSwitcher puo\' creare problemi di prestazioni e caching, vi consigliamo di utilizzarlo solo se necessario.';
-$_lang["configcheck_unauthorizedpage_unavailable"] = 'La pagina Non Autorizzato del vostro sito non esiste o non è stata pubblicata.';
-$_lang["configcheck_unauthorizedpage_unavailable_msg"] = 'Ciò significa che la pagina di Non Autorizzato non esiste o non è accessibile da parte dei normali visitatori web. Questo fatto generare un loop ricorsivo e scrivere numerosi errori nel log del vostro sito. Verificate che non ci siano Gruppi di Utenti Web assegnati a questa pagina.';
-$_lang["configcheck_unauthorizedpage_unpublished"] = 'La pagina Non Autorizzato del vostro sito non è stata pubblicata.';
-$_lang["configcheck_unauthorizedpage_unpublished_msg"] = 'Ciò significa che la pagina di Non Autorizzato non è accessibile ai visitatori. Pubblicate la pagina o selezionate una Risorsa esistente nella struttura ad albero del vostro sito dal menu Strumenti -> Configurazione.';
-$_lang["configcheck_validate_referer"] = 'Avviso di Sicurezza: Validazione headers HTTP';
-$_lang["configcheck_validate_referer_msg"] = 'L\'opzione di Validazione degli headers HTTP_REFERER? non è attivata. Raccomandiamo di attivarla. Vai alle Opzioni di Configurazione ';
-$_lang["configcheck_warning"] = 'Avviso di configurazione:';
-$_lang["configcheck_what"] = 'Che cosa significa?';
-$_lang["confirm_block"] = 'Siete sicuri di voler bloccare l\'utente?';
-$_lang["confirm_delete_category"] = 'Sei sicuro di voler cancellare questa categoria?';
-$_lang["confirm_delete_eventlog"] = 'Siete sicuri di voler cancellare questo log?';
-$_lang["confirm_delete_file"] = 'Siete sicuri di voler eliminare il file?\n\nQuesto potrebbe impedire al sito di funzionare regolarmente! Eliminatelo solo se avete la certezza che quello che state facendo non pregiudica nulla.';
-$_lang["confirm_delete_group"] = 'Sei sicuro di voler eliminare questo gruppo?';
-$_lang["confirm_delete_htmlsnippet"] = 'Siete sicuri di voler eliminare il Chunk?';
-$_lang["confirm_delete_keywords"] = 'Siete sicuri di voler eliminare le parole chiave?';
-$_lang["confirm_delete_module"] = 'Siete sicuri di voler cancellare questo Modulo?';
-$_lang["confirm_delete_plugin"] = 'Siete sicuri di voler eliminare questo Plugin?';
-$_lang["confirm_delete_record"] = 'Siete sicuri di voler eliminare i records selezionati?';
-$_lang["confirm_delete_resource"] = 'Siete sicuri di voler eliminare questa Risorsa?\nSaranno eliminate anche tutte le Risorse in essa contenute.';
-$_lang["confirm_delete_role"] = 'Siete sicuri di voler eliminare questo Ruolo?';
-$_lang["confirm_delete_snippet"] = 'Siete sicuri di voler eliminare lo Snippet?';
-$_lang["confirm_delete_tags"] = 'Siete sicuri di voler cancellare questo META tag?';
-$_lang["confirm_delete_template"] = 'Siete sicuri di voler eliminare il Template?';
-$_lang["confirm_delete_tmplvars"] = 'Siete sicuri di voler rimuovere la Variabile di Template e tutti i suoi valori memorizzati?';
-$_lang["confirm_delete_user"] = 'Siete sicuri di voler eliminare l\'utente?';
-$_lang["confirm_duplicate_record"] = 'Siete sicuri di voler duplicare questo record?';
-$_lang["confirm_empty_trash"] = 'Volete rimuovere permanentemente tutte le Risorse eliminate?\n\nProcedere?';
-$_lang["confirm_load_depends"] = 'Siete sicuri di voler caricare la finestra di Impostazione Dipendenze senza salvare le modifiche?';
-$_lang["confirm_name_change"] = 'Cambiare nome utente può avere effetto su altre applicazioni collegate al Sistema di Gestione dei Contenuti. \n\n Siete sicuri di voler cambiare il nome utente?';
-$_lang["confirm_publish"] = '\n\nPubblicando ora la Risorsa rimuoverete ogni data di pubblicazione o ritiro che potreste aver impostato. Se invece volete cambiare o mantenere le date di pubblicazione/ritiro, allora scegliete la \'modifica\' della Risorsa.\n\nProcedere?';
-$_lang["confirm_remove_locks"] = 'Gli utenti a volte chiudono il browser mentre stanno modificando Risorse, Templates o Snippets lasciando con ogni probabilità questi oggetti in stato di blocco.\nPremendo OK rimuoverete TUTTI i blocchi attualmente presenti.\n\nProcedere?';
-$_lang["confirm_reset_sort_order"] = 'Sei sicuro di voler azzerare l\'\"ordinamento / indice\" di tutti gli elementi elencati a 0?';
-$_lang["confirm_resource_duplicate"] = 'Siete sicuri di voler duplicare questa Risorsa/Cartella? Saranno anche duplicate tutte le Risorse/Catelle che contiene.';
-$_lang["confirm_setting_language_change"] = 'Avete modificato il valore di default e si perderanno le modifiche. Procedere?';
-$_lang["confirm_unblock"] = 'Siete sicuri di voler sbloccare l\'utente?';
-$_lang["confirm_undelete"] = '\n\nTutte le Risorse eliminate insieme alla Risorsa genitore potranno essere recuperate, ma non quelle eliminate in precedenza.';
-$_lang["confirm_unpublish"] = '\n\nRitirando ora la Risorsa rimuoverete ogni data di pubblicazione o ritiro che potreste aver impostato. Se invece volete cambiare o mantenere le date di pubblicazione e ritiro scegliete la \'modifica\' della Risorsa.\n\nProcedere?';
-$_lang["confirm_unzip_file"] = 'Siete sicuri di voler decomprimere il file?\n\nI file esistenti potrebbero essere sovrascritti.';
-$_lang["could_not_find_user"] = 'Utente non trovato';
-$_lang["create_folder_here"] = 'Crea una cartella';
-$_lang["create_resource_here"] = 'Crea una Risorsa';
-$_lang["create_resource_title"] = 'Crea Risorsa';
-$_lang["create_weblink_here"] = 'Crea un Link Web';
-$_lang["createdon"] = 'Data di creazione';
-$_lang["create_new"] = 'Crea nuovo';
-$_lang["credits"] = 'Crediti';
-$_lang["credits_shouts_msg"] = 'EVO è gestito e mantenuto su evo.im .';
-$_lang["custom_contenttype_message"] = 'Qui potete impostare il \'content type\' delle Risorse pubblicate. Per aggiungere un nuovo \'content type\' inseritelo nel campo e fate clic sul pulsante \'Aggiungi\'.';
-$_lang["custom_contenttype_title"] = 'Tipo di Contenuto personalizzato:';
-$_lang["database_charset"] = 'Set di Caratteri del Database';
-$_lang["database_collation"] = 'Collation del Database';
-$_lang["database_name"] = 'Nome del Database';
-$_lang["database_overhead"] = 'Nota: L\'Overhead è lo spazio inutilizzato riservato da MySQL. Per liberare questo spazio, cliccate sulla cifra overhead della tabella.';
-$_lang["database_server"] = 'Server del Database';
-$_lang["database_table_clickbackup"] = 'Effettua il backup e scarica le tabelle selezionate';
-$_lang["database_table_clickhere"] = 'Cliccate qui';
-$_lang["database_table_datasize"] = 'Dimensione dei dati';
-$_lang["database_table_droptablestatements"] = 'Genera dichiarazioni DROP TABLE.';
-$_lang["database_table_effectivesize"] = 'Dimensioni effettive';
-$_lang["database_table_indexsize"] = 'Dimensioni dell\'indice';
-$_lang["database_table_overhead"] = 'Overhead';
-$_lang["database_table_records"] = 'Numero di records';
-$_lang["database_table_tablename"] = 'Nome della tabella';
-$_lang["database_table_totals"] = 'Totali:';
-$_lang["database_table_totalsize"] = 'Dimensione totale';
-$_lang["database_tables"] = 'Tabelle del Database';
-$_lang["database_version"] = 'Versione Database:';
-$_lang["date"] = 'Data';
-$_lang["datechanged"] = 'Data ultima modifica';
-$_lang["datepicker_offset"] = 'Offset del Datepicker: ';
-$_lang["datepicker_offset_message"] = 'Il numero di anni nel passato da mostrare nel datepicker.';
-$_lang["datetime_format"] = 'Formato Data:';
-$_lang["datetime_format_message"] = 'Il formato delle date nel Manager.';
-$_lang["default"] = 'Default:';
-$_lang["defaultcache_message"] = 'Selezionate \'Si\' se volete che di default tutte le nuove Risorse possano essere salvate nella cache.';
-$_lang["defaultcache_title"] = 'Inserisci in cache di default:';
-$_lang["defaultmenuindex_message"] = 'Selezionate \'Si\' per attivare di default l\'incremento automatico dell\'indice dei menu.';
-$_lang["defaultmenuindex_title"] = 'Incremento automatico indice dei Menu:';
-$_lang["defaultpublish_message"] = 'Selezionate \'Si\' se volete che tutte le nuove Risorse siano pubblicate di default.';
-$_lang["defaultpublish_title"] = 'Pubblicato di default:';
-$_lang["defaultsearch_message"] = 'Selezionate \'Si\' se volete che di default tutte le nuove Risorse siano ricercabili.';
-$_lang["defaultsearch_title"] = 'Ricercabile di default:';
-$_lang["defaulttemplate_message"] = 'Selezionate il Template di default che desiderate usare per le nuove Risorse. Potete sempre selezionarne di volta in volta uno diverso nell\'editor di Risorse, questa impostazione semplicemente ne preseleziona uno.';
-$_lang["defaulttemplate_title"] = 'Template di default:';
-$_lang["defaulttemplate_logic_title"] = 'Assegnazione Automatica del Template:';
-$_lang["defaulttemplate_logic_general_message"] = 'Le nuove Risorse avranno i seguenti Templates, verranno utilizzati i livelli piu\' alti se non trovati:';
-$_lang["defaulttemplate_logic_system_message"] = 'System : il Template di default del Sistema.';
-$_lang["defaulttemplate_logic_parent_message"] = 'Parent : lo stesso Template della cartella.';
-$_lang["defaulttemplate_logic_sibling_message"] = 'Sibling : lo stesso Template delle Risorse nella stessa cartella.';
-$_lang["delete"] = 'Elimina';
-$_lang["delete_resource"] = 'Elimina Risorsa';
-$_lang["delete_tags"] = 'Cancella tag';
-$_lang["deleting_file"] = 'Eliminazione file `%s`: ';
-$_lang["description"] = 'Descrizione';
-$_lang["deselect_keywords"] = 'Cancella parole chiave';
-$_lang["deselect_metatags"] = 'Cancella META tag';
-$_lang["disabled"] = 'Disabilitati';
-$_lang["doc_data_title"] = 'Visualizza dati della Risorsa';
-$_lang["documentation"] = 'Documentazione';
-$_lang["duplicate"] = 'Duplica';
-$_lang["duplicate_alias_found"] = 'La Risorsa \'%s\' utilizza già l\'alias \'%s\'. Inserire un altro alias.';
-$_lang["duplicate_alias_message"] = 'Qui potete selezionare \'Si\' per permettere gli alias duplicati. NOTA: Questa opzione deve essere usata con l\'opzione \'Percorso URL Semplici\' attiva per evitare problemi di riferimenti alle Risorse. ';
-$_lang["duplicate_alias_title"] = 'Permetti alias duplicati:';
-$_lang["duplicate_name_found_general"] = 'E\' già presente un %s chiamato \'%s\'. Inserite un nome univoco.';
-$_lang["duplicate_name_found_module"] = 'E\' già presente un Modulo chiamato \'%s\'. Inserite un nome univoco.';
-$_lang["duplicated_el_suffix"] = 'Duplica';
-$_lang["edit"] = 'Modifica';
-$_lang["edit_resource"] = 'Modifica Risorsa';
-$_lang["edit_resource_title"] = 'Crea/modifica Risorsa';
-$_lang["edit_settings"] = 'Configurazione';
-$_lang["editedon"] = 'Data modifica';
-$_lang["editing_file"] = 'Modifica file: ';
-$_lang["editor_css_path_message"] = 'Inserite il percorso del file CSS che volete usare con l\'editor. Vi consigliamo di inserire il percorso dalla root del vostro server, ad esempio: /assets/site/style.css. Se non volete caricare lo stile nell\'editor, lasciate vuoto questo campo.';
-$_lang["editor_css_path_title"] = 'Percorso del file CSS:';
-$_lang["element"] = 'Elemento';
-$_lang["element_categories"] = 'Vista Combinata';
-$_lang["element_filter_msg"] = 'Scrivi qui per filtrare la lista';
-$_lang["element_management"] = 'Gestione Elementi';
-$_lang["element_name"] = 'Nome Elemento';
-$_lang["element_selector_msg"] = 'Selezionate l\'Elemento e cliccate sul pulsante \'Aggiungi\'.';
-$_lang["element_selector_title"] = 'Selettore Elementi';
-$_lang["elements"] = 'Elementi';
-$_lang["email"] = 'Email';
-$_lang["email_sent"] = 'Email inviata';
-$_lang["emailsender_message"] = 'L\'indirizzo e-mail dell\'amministratore del sito. Ad esempio, questo indirizzo e-mail verrà utilizzato come destinazione di notifica del sistema di e-mail, ecc';
-$_lang["emailsender_title"] = 'Indirizzo e-mail:';
-$_lang["emailsubject_default"] = 'Le vostre credenziali per il login';
-$_lang["emailsubject_message"] = 'Qui potete specificare l\'oggetto della e-mail di iscrizione.';
-$_lang["emailsubject_title"] = 'Oggetto e-mail:';
-$_lang["empty_folder"] = 'Questa cartella è vuota';
-$_lang["empty_recycle_bin"] = 'Rimuovi le Risorse eliminate';
-$_lang["empty_recycle_bin_empty"] = 'Non sono presenti Risorse eliminate da cancellare.';
-$_lang["enable_resource"] = 'Abilita Risorsa.';
-$_lang["enable_sharedparams"] = 'Abilita condivisione parametri';
-$_lang["enable_sharedparams_msg"] = 'NOTA: L\'id unico globale (GUID) sarà usato per identificare in maniera univoca questo Modulo e i suoi parametri condivisi. Il GUID è anche utilizzato per creare un collegamento tra il Modulo ed i Plugins o Snippets che accedono ai suoi parametri condivisi. ';
-$_lang["enabled"] = 'Abilitati';
-$_lang["error"] = 'Errore';
-$_lang["error_sending_email"] = 'Errore invio mail';
-$_lang["errorpage_message"] = 'Inserite l\'ID della Risorsa da mostrare agli utenti che hanno richiesto una Risorsa che non esiste. NOTA: assicuratevi che l\'ID inserito appartenga a una Risorsa esistente e che sia stata pubblicata! ';
-$_lang["errorpage_title"] = 'Pagina di errore:';
-$_lang["event_id"] = 'ID Evento';
-$_lang["eventlog"] = 'Log degli Eventi';
-$_lang["eventlog_msg"] = 'Il Log degli Eventi mostra gli avvisi ed i messaggi di errore generati dal sistema di gestione dei contenuti. La colonna \'Sorgente\' mostra la sezione del sistema di gestione dei contenuti in cui il messaggio è stato mostrato.';
-$_lang["eventlog_viewer"] = 'Log degli Eventi';
-$_lang["everybody"] = 'Tutti';
-$_lang["existing_category"] = 'Categoria attuale';
-$_lang["expand_tree"] = 'Espandi struttura ad albero';
-$_lang["export_site"] = 'Esporta sito in HTML (statico)';
-$_lang["export_site_cacheable"] = 'Includi file non inseribili in cache:';
-$_lang["export_site_exporting_document"] = '[+status+] [+url+] - [+pagetitle+] ([+id+]) ';
-$_lang["export_site_failed"] = 'Fallita! ';
-$_lang["export_site_failed_no_open"] = 'Impossibile aprire il file: ';
-$_lang["export_site_failed_no_retrieve"] = 'Impossibile trovare la Risorsa.';
-$_lang["export_site_failed_no_write"] = 'Impossibile scrivere il file.';
-$_lang["export_site_html"] = 'Esporta sito in HTML';
-$_lang["export_site_maxtime"] = 'Tempo massimo di esportazione:';
-$_lang["export_site_maxtime_message"] = 'Qui potete specificare il numero massimo di secondi che EVO può impiegare per esportare il sito (escludendo le impostazioni PHP). Inserite 0 per un tempo illimitato. Da notare che non è consigliabile impostare 0 o un numero troppo alto di secondi in quanto ciò potrebbe causare effetti indesiderati sul server.';
-$_lang["export_site_message"] = 'Usando questa funzione potete esportare l\'intero sito in HTML. Considerate che così facendo perderete molte funzionalità di EVO:
Gli accessi alle pagine dei files esportati non saranno registrati. Gli Snippets interattivi NON funzionano nei file esportati. Solo le normali Risorse saranno esportate, i Link Web non lo saranno. Il processo di esportazione potrebbe fallire se le Risorse contengono Snippets che inviano headers HTTP di redirezione. A seconda di come avete scritto i documenti, i fogli di stile e le immagini, il layout del sito potrebbe rompersi. Per sistemarlo, potete provare a salvare/spostare i file esportati nella stessa cartella dove risiede il file index.php di EVO. Compilate il form e premete \'Avvia esportazione\' per avviare il processo. I file creati saranno salvati nel punto specificato usando, ove possibile, gli alias dei documenti come nomi dei file. Nell\'esportare il sito, sarebbe meglio aver attivato gli \'URL Semplici\' nella configurazione di EVO. In base alla dimensione del sito, l\'esportazione potrebbe impiegare un po\' di tempo.
Ogni file già esistente sarà sovrascritto dai nuovi file se hanno gli stessi nomi!
';
-$_lang["export_site_numberdocs"] = 'Trovate %s Risorse da esportare...
';
-$_lang["export_site_prefix"] = 'Prefisso file:';
-$_lang["export_site_start"] = 'Avvia esportazione';
-$_lang["export_site_success"] = 'Riuscita! ';
-$_lang["export_site_success_skip_dir"] = 'Saltare questa directory.';
-$_lang["export_site_success_skip_doc"] = 'Saltare questa Risorsa.';
-$_lang["export_site_suffix"] = 'Suffisso file:';
-$_lang["export_site_target_unwritable"] = 'La cartella target non è scrivibile. Vi preghiamo di assicurarvi che la cartella sia scrivibile e di riprovare.';
-$_lang["export_site_time"] = 'Esportazione terminata. L\'operazione è stata completata in %s secondi.';
-$_lang["failed_login_message"] = 'Qui potete inserire il numero delle volte che è consentito sbagliare l\'autenticazione prima che l\'account venga bloccato.';
-$_lang["failed_login_title"] = 'Autenticazioni errate consentite:';
-$_lang["fe_editor_lang_message"] = 'Selezionare il linguaggio dell\'editor quando usato nel front-end.';
-$_lang["fe_editor_lang_title"] = 'Lingua dell\'editor del Front-end:';
-$_lang["file_delete_file"] = 'Elimina File';
-$_lang["file_delete_folder"] = 'Elimina Cartella';
-$_lang["file_deleted"] = 'Riuscita!';
-$_lang["file_download_file"] = 'Scarica File';
-$_lang["file_download_unzip"] = 'Decomprimi File zip';
-$_lang["file_folder_chmod_error"] = 'Impossibile modificare i permessi: dovete effettuare la modifica dei permessi con un programma esterno a EVO.';
-$_lang["file_folder_created"] = 'Cartella creata con successo!';
-$_lang["file_folder_deleted"] = 'Cartella eliminata con successo!';
-$_lang["file_folder_not_created"] = 'Impossibile trovare la cartella';
-$_lang["file_folder_not_deleted"] = 'Impossibile eliminare la cartella. Verificare che sia vuota prima di eliminarla!';
-$_lang["file_not_deleted"] = 'Fallita!';
-$_lang["file_not_saved"] = 'Impossibile salvare il file, assicuratevi che la cartella di destinazione sia scrivibile!';
-$_lang["file_saved"] = 'File aggiornato con successo!';
-$_lang["file_unzip"] = 'Decompressione cartella effettuata con successo!';
-$_lang["file_unzip_fail"] = 'Decompressione cartella fallita!';
-$_lang["filemanager_path_message"] = 'IIS spesso non riesce a determinare correttamente la cartella principale usata dal File Manager per determinare ciò che potete vedere. Se avete problemi nell\'uso del File Manager, assicuratevi che il percorso punti alla root dell\'installazione di EVO.';
-$_lang["filemanager_path_title"] = 'Percorso del File Manager:';
-$_lang["files_access_denied"] = 'Accesso negato!';
-$_lang["files_data"] = 'Dati';
-$_lang["files_dir_listing"] = 'Elenco cartelle per:';
-$_lang["files_directories"] = 'Cartelle';
-$_lang["files_directory_is_empty"] = 'La cartella è vuota';
-$_lang["files_dirwritable"] = 'Cartella scrivibile?';
-$_lang["files_editfile"] = 'Modifica file';
-$_lang["files_file_type"] = 'Tipo file: ';
-$_lang["files_filename"] = 'Nome file';
-$_lang["files_fileoptions"] = 'Opzioni';
-$_lang["files_files"] = 'File';
-$_lang["files_filesize"] = 'Dimensione file';
-$_lang["files_filetype_notok"] = 'Non è consentito il caricamento di questo tipo di file!';
-$_lang["files_management"] = 'Gestisci documenti';
-$_lang["files_management_no_permission"] = 'Non si dispone di autorizzazioni sufficienti per visualizzare o modificare tali file. Chiedere all\'amministratore l\'accesso a %s .';
-$_lang["files_modified"] = 'Modificato';
-$_lang["files_top_level"] = 'Al livello superiore';
-$_lang["files_up_level"] = 'Su di un livello';
-$_lang["files_upload_copyfailed"] = 'La copia del file nella cartella di destinazione non è riuscita - caricamento fallito!';
-$_lang["files_upload_error"] = 'Errore';
-$_lang["files_upload_error0"] = 'Si è verificato un problema durante il caricamento.';
-$_lang["files_upload_error1"] = 'Il file che state provando a caricare è troppo grande.';
-$_lang["files_upload_error2"] = 'Il file che state provando a caricare è troppo grande.';
-$_lang["files_upload_error3"] = 'Il file che state provando a caricare è stato copiato solo in parte.';
-$_lang["files_upload_error4"] = 'Dovete selezionare un file da caricare.';
-$_lang["files_upload_error5"] = 'Si è verificato un problema durante il caricamento.';
-$_lang["files_upload_inhibited_msg"] = 'Il caricamento file è inibito - assicuratevi che il caricamento sia supportato e che la cartella sia scrivibile da PHP. ';
-$_lang["files_upload_ok"] = 'File caricato con successo!';
-$_lang["files_upload_permissions_error"] = 'Possibile errore nei permessi di scrittura - la directory deve poter essere scrivibile dal webserver.';
-$_lang["files_uploadfile"] = 'Carica file';
-$_lang["files_uploadfile_msg"] = 'Selezionate un file da caricare:';
-$_lang["files_uploading"] = 'Sto caricando %s in %s/ ';
-$_lang["files_viewfile"] = 'Visualizza file';
-$_lang["folder"] = 'Cartella';
-$_lang["forgot_password_email_fine_print"] = '* L\'indirizzo precedente non sarà più valido una volta che avrete cambiato la password o da domani.';
-$_lang["forgot_password_email_instructions"] = 'Da lì potrete cambiare la vostra password dal menu Il Mio Account.';
-$_lang["forgot_password_email_intro"] = 'E\' stata fatta una richiesta per cambiare la password del vostro account.';
-$_lang["forgot_password_email_link"] = 'Fate clic qui per completare il processo.';
-$_lang["forgot_your_password"] = 'Hai dimenticato la Password?';
-$_lang["friday"] = 'Venerdì';
-$_lang["friendly_alias_message"] = 'Se state usando gli URL Semplici, e la Risorsa ha un alias, quest\'ultimo avrà sempre precedenza sull\'URL Semplice. Impostando questa opzione su \'Si\', il prefisso e il suffisso dell\'URL Semplice saranno anche applicati all\'alias. Per esempio, se la Risorsa con l\'ID 1 ha per alias `introduction` e voi avete impostato un prefisso come `` e un suffisso come `.html`, settando questa opzione su `Si` sarà generato `introduction.html`. Se non ci sono alias, EVO genererà `1.html` come link.';
-$_lang["friendly_alias_title"] = 'Usa URL Semplici:';
-$_lang["friendlyurls_message"] = 'L\'opzione permette di usare gli URL Semplici per i motori di ricerca con EVO. Notate che l\'opzione ha effetto solo per le installazioni di EVO su Apache e che avrete anche bisogno di scrivere un file .htaccess perchè possa funzionare. Per maggiori informazioni, guardate il file .htaccess incluso nella distribuzione.';
-$_lang["friendlyurls_title"] = 'Usa URL Semplici:';
-$_lang["friendlyurlsprefix_message"] = 'Qui potete specificare il prefisso da usare con gli URL semplici. Ad esempio, un prefisso impostato su \'pagina\' trasformerà l\'URL /index.php?id=2 nell\'URL semplice /pagina2.html (assumendo che il suffisso sia impostato su .html). In questo modo potete specificare cosa gli utenti (e i motori di ricerca) vedranno per i links nel sito.';
-$_lang["friendlyurlsprefix_title"] = 'Prefisso per gli URL Semplici:';
-$_lang["friendlyurlsuffix_message"] = 'Qui potete specificare il suffisso degli URL semplici. Specificando \'.html\' sarà aggiunto .html a tutti gli URL semplici.';
-$_lang["friendlyurlsuffix_title"] = 'Suffisso per gli URL Semplici:';
-$_lang["functionnotimpl"] = 'Spiacente!';
-$_lang["functionnotimpl_message"] = 'Questa funzione non è ancora stata implementata.';
-$_lang["further_info"] = 'Ulteriori informazioni';
-$_lang["go"] = 'Vai';
-$_lang["group_access_permissions"] = 'Gruppi di accesso';
-$_lang["guid"] = 'GUID';
-$_lang["help"] = 'Aiuto';
-$_lang["help_msg"] = 'Se avete bisogno di aiuto nell\'utilizzo di EVO, vi consigliamo di visitare i Forum EVO . Inoltre, il sito EVO contiene tutta la documentazione riguardo l\'uso di EVO o su come configurarlo, la risposta che state cercando potrebbe essere qui.
Prevediamo anche di offrire servizi di supporto di tipo commerciale per EVO. Se siete interessati, inviateci un messaggio email .';
-$_lang["help_title"] = 'Aiuto';
-$_lang["hide_tree"] = 'Nascondi struttura ad albero';
-$_lang["home"] = 'Home';
-$_lang["htmlsnippet"] = 'Chunk';
-$_lang["htmlsnippets"] = 'Chunks';
-$_lang["htmlsnippet_desc"] = 'Descrizione';
-$_lang["htmlsnippet_management_msg"] = 'Qui potete scegliere i Chunks da modificare o crearne di nuovi.';
-$_lang["htmlsnippet_msg"] = 'Qui potete aggiungere/modificare i Chunks. Ricordate, i Chunks sono codice HTML \'raw\' (grezzo), quindi qualsiasi codice PHP al loro interno non verrà processato.';
-$_lang["htmlsnippet_name"] = 'Nome Chunk';
-$_lang["htmlsnippet_title"] = 'Crea/Modifica Chunk';
-$_lang["icon"] = 'Icona';
-$_lang["id"] = 'ID';
-$_lang["illegal_parent_child"] = 'Assegnazione parentela:\n\nLa Risorsa è un sottodocumento della Risorsa selezionata.';
-$_lang["illegal_parent_self"] = 'Assegnazione parentela:\n\nLa Risorsa selezionata non può essere assegnata a se stessa.';
-$_lang["images_management"] = 'Gestisci immagini';
-$_lang["import_files_found"] = 'Trovate %s Risorse da importare... ';
-$_lang["import_params"] = 'Importa i parametri condivisi del Modulo';
-$_lang["import_params_msg"] = 'Potete importare i parametri e le impostazioni di un Modulo selezionando il nome del Modulo dalla lista sottostante. NOTA: Affinchè un Modulo appaia nel menu questo Plugin/Snippet deve essere incluso nell\'elenco di dipendenza del Modulo ed il Modulo deve avere la attiva la condivisione dei parametri. ';
-$_lang["import_parent_resource"] = 'Risorsa genitore:';
-$_lang["import_site"] = 'Importa Sito';
-$_lang["import_site_failed"] = 'Fallito! ';
-$_lang["import_site_failed_db_error"] = 'Si è verificato un errore del database cercando di duplicare la Risorsa: ';
-$_lang["import_site_failed_no_open_dir"] = 'Impossibile aprire la directory: ';
-$_lang["import_site_failed_no_retrieve_file"] = 'Impossibile trovare il file: ';
-$_lang["import_site_html"] = 'Importa sito da HTML';
-$_lang["import_site_importing_document"] = 'Importazione in corso %s ';
-$_lang["import_site_maxtime"] = 'Tempo massimo importazione:';
-$_lang["import_site_maxtime_message"] = 'Qui potete specificare il numero di secondi che il sistema può impiegare per importare il sito (ignorando le impostazioni PHP). Inserite 0 per un tempo illimitato. Attenzione, un\'impostazione 0 o molto alta può causare un timeout del server, quindi non è raccomandata.';
-$_lang["import_site_message"] = '
Usando questa funzione potete importare nel database un intero sito HTML. Da notare che ci sarà poi bisogno di copiare i vostri file html nella cartella assets/import.
Compilate il form per avviare il processo di importazione. I files importati saranno salvati nella posizione selezionata, usando dove possibile i nomi dei files come alias delle Risorse, il titolo della Risorsa come titolo della pagina.
';
-$_lang["import_site_skip"] = 'Saltato! ';
-$_lang["import_site_start"] = 'Avvia importazione';
-$_lang["import_site_success"] = 'Effettuato! ';
-$_lang["import_site_time"] = 'Importazione completata in %s secondi.';
-$_lang["inbox"] = 'Inbox';
-$_lang["info"] = 'Info';
-$_lang["information"] = 'Informazioni';
-$_lang["inline"] = 'In linea';
-$_lang["insert"] = 'Inserisci';
-$_lang["maxImageWidth"] = 'Larghezza massima immagine:';
-$_lang["maxImageHeight"] = 'Altezza massima immagine:';
-$_lang["thumbWidth"] = 'Larghezza massima della miniatura:';
-$_lang["thumbHeight"] = 'Altezza massima della miniatura:';
-$_lang["thumbsDir"] = 'Percorso della cartella delle miniature:';
-$_lang["jpegQuality"] = 'Compressione JPEG:';
-$_lang["denyZipDownload"] = 'Disabilita il download degli archivi zip:';
-$_lang["denyExtensionRename"] = 'Disabilita la modifica delle estensioni dei file:';
-$_lang["maxImageWidth_message"] = 'Se la risoluzione dell\'immagine caricata supera questa impostazione verrà automaticamente ridimensionata. Impostare 0 per disabilitare.';
-$_lang["maxImageHeight_message"] = 'Se la risoluzione dell\'immagine caricata supera questa impostazione verrà automaticamente ridimensionata. Impostare 0 per disabilitare.';
-$_lang["thumbWidth_message"] = 'Larghezza massima della miniatura.';
-$_lang["thumbHeight_message"] = 'Altezza massima della miniatura.';
-$_lang["thumbsDir_message"] = 'Il nome della directory delle miniature';
-$_lang["jpegQuality_message"] = 'Qualità della compressione JPEG delle miniature ridimensionate.';
-$_lang["showHiddenFiles"] = 'Mostra i file nascosti nel File Browser:';
-$_lang["keyword"] = 'Parola chiave';
-$_lang["keywords"] = 'Parole chiave';
-$_lang["keywords_intro"] = 'Per modificare una parola chiave, digitate semplicemente la nuova parola nel campo di testo a fianco di quella che volete cambiare. Per eliminare una parola chiave, spuntate il box \'Elimina\' per quella parola. Se impostate l\'eliminazione di una parola chiave e allo stesso tempo ne modificate il nome, essa verrà eliminata vanificando l\'operazione di rinomina!';
-$_lang["language_message"] = 'Selezionate la lingua da usare nel Manager EVO.';
-$_lang["language_title"] = 'Lingua del Manager';
-$_lang["last_update"] = 'Ultimo aggiornamento';
-$_lang["launch_site"] = 'Mostra sito';
-$_lang["license"] = 'Licenza';
-$_lang["link_attributes"] = 'Attributi del link';
-$_lang["link_attributes_help"] = 'Qui potete inserire gli attributi per i link a questa pagina, come target= o rel=.';
-$_lang["list_mode"] = 'Abilita/disabilita modalità lista - elencare tutti i record nella griglia.';
-$_lang["loading_doc_tree"] = 'Sto caricando la struttura ad albero delle Risorse...';
-$_lang["loading_menu"] = 'Sto caricando il menu...';
-$_lang["loading_page"] = 'Vi preghiamo di attendere che EVO carichi la pagina...';
-$_lang["localtime"] = 'Orario locale';
-$_lang["lock_htmlsnippet"] = 'Impedisci la modifica del Chunk';
-$_lang["lock_htmlsnippet_msg"] = 'Solo gli amministratori (Ruolo ID 1) possono modificare il Chunk.';
-$_lang["lock_module"] = 'Impedisci la modifica del Modulo';
-$_lang["lock_module_msg"] = 'Solo gli amministratori (Ruolo ID 1) possono modificare questo Modulo.';
-$_lang["lock_msg"] = '%s sta attualmente modificando %s. Attendete che l\'altro utente finisca e poi riprova.';
-$_lang["lock_plugin"] = 'Impedisci la modifica del Plugin';
-$_lang["lock_plugin_msg"] = 'Solo gli amministratori (Ruolo ID 1) possono modificare questo Plugin.';
-$_lang["lock_settings_msg"] = '%s sta attualmente modificando queste impostazioni. Attendete che l\'altro utente finisca e poi riprovate.';
-$_lang["lock_snippet"] = 'Impedisci la modifica dello Snippet';
-$_lang["lock_snippet_msg"] = 'Solo gli amministratori (Ruolo ID 1) possono modificare lo Snippet.';
-$_lang["lock_template"] = 'Impedisci la modifica del Template';
-$_lang["lock_template_msg"] = 'Solo gli amministratori (Ruolo ID 1) possono modificare il Template.';
-$_lang["lock_tmplvars"] = 'Impedisci la modifica della Variabile di Template';
-$_lang["lock_tmplvars_msg"] = 'Solo gli amministratori (Ruolo ID 1) possono modificare questa variabile';
-$_lang["locked"] = 'Bloccato';
-$_lang["login_allowed_days"] = 'Giorni consentiti';
-$_lang["login_allowed_days_message"] = 'Selezionate i giorni della settimana nei quali questo utente sarà autorizzato a collegarsi.';
-$_lang["login_allowed_ip"] = 'Indirizzo IP autorizzato';
-$_lang["login_allowed_ip_message"] = 'Inserite l\'indirizzo IP dal quale questo utente si può collegare. NOTA: Se volete inserire più indirizzi IP separateli con una virgola (,) ';
-$_lang["login_button"] = 'Accedi';
-$_lang["login_cancelled_install_in_progress"] = 'Installazione o aggiornamento di questo sito in corso. Riprova tra qualche minuto ';
-$_lang["login_cancelled_site_was_updated"] = 'Installazione o aggiornamento completata su questo sito, effettuare nuovamente il login! ';
-$_lang["login_captcha_message"] = 'Inserite il codice di sicurezza mostrato all\'interno dell\'immagine grafica. Se avete difficoltà nel leggere il codice, cliccateci sopra per generarne un altro a caso, oppure contattate l\'amministratore del sito.';
-$_lang["login_homepage"] = 'Autenticazione Pagina d\'inizio';
-$_lang["login_homepage_message"] = 'Inserite l\'ID della Risorsa da mostrare all\'utente dopo che ha eseguito l\'autenticazione. NOTA: assicuratevi che la Risorsa indicata esista, sia pubblicata e accessibile all\'utente! ';
-$_lang["login_message"] = 'Inserisci le tue credenziali per effettuare l\'accesso. Il sistema fa distinzione fra le maiuscole/minuscole del nome utente e della password.';
-$_lang["logo_slogan"] = 'Sistema di gestione dei contenuti EVO - \nCreate e fate di più con meno';
-$_lang["logout"] = 'Uscita';
-$_lang["long_title"] = 'Titolo esteso';
-$_lang["mail_check_timeperiod_message"] = 'Intervallo di tempo dopo il quale controllare se ci sono nuovi messaggi nel Manager, in secondi.';
-$_lang["mail_check_timeperiod_title"] = 'Frequenza di controllo messaggi:';
-$_lang["manage_depends"] = 'Configurazione Dipendenze';
-$_lang["manage_files"] = 'Gestione File';
-$_lang["manage_htmlsnippets"] = 'Chunks';
-$_lang["manage_metatags"] = 'Gestione META tag e parole chiave';
-$_lang["manage_modules"] = 'Gestione moduli';
-$_lang["manage_plugins"] = 'Plugins';
-$_lang["manage_snippets"] = 'Snippets';
-$_lang["manage_templates"] = 'Templates';
-$_lang["manage_documents"] = 'Documenti';
-$_lang["manager"] = 'Manager';
-$_lang["manager_lockout_message"] = 'Siete entrati nel Manager EVO. Se desiderate uscire dalla sessione, fate clic sul pulsante "Uscita".
Per andare alla pagina inziale fate clic sul pulsante "Home".';
-$_lang["manager_permissions"] = 'Gestione Permessi';
-$_lang["manager_theme"] = 'Tema del Manager EVO:';
-$_lang["manager_theme_message"] = 'Selezionate un tema per il Manager EVO.';
-$_lang["messages"] = 'Messaggi';
-$_lang["messages_all"] = 'Tutti';
-$_lang["messages_compose"] = 'Componi messaggio';
-$_lang["messages_forward"] = 'Inoltra';
-$_lang["messages_from"] = 'Da';
-$_lang["messages_group"] = 'Un gruppo';
-$_lang["messages_inbox"] = 'Inbox';
-$_lang["messages_message"] = 'Messaggio';
-$_lang["messages_no_messages"] = 'Nessun messaggio nella Inbox.';
-$_lang["messages_not_allowed_to_read"] = 'Non siete autorizzati a leggere questo messaggio!';
-$_lang["messages_private"] = 'Privato';
-$_lang["messages_read_message"] = 'Leggi messaggio';
-$_lang["messages_reply"] = 'Rispondi';
-$_lang["messages_select_group"] = 'Seleziona un gruppo';
-$_lang["messages_select_user"] = 'Seleziona un Utente';
-$_lang["messages_send"] = 'Invia';
-$_lang["messages_send_to"] = 'Invia a';
-$_lang["messages_sent"] = 'Inviato il';
-$_lang["messages_subject"] = 'Oggetto';
-$_lang["messages_system_user"] = '[System]';
-$_lang["messages_title"] = 'Messaggi';
-$_lang["messages_user"] = 'Un Utente';
-$_lang["meta_keywords"] = 'META e parole chiave';
-$_lang["metatag_intro"] = 'In questa pagina potete eliminare, creare o modificare i META tag e le parole chiave. Per collegare le parole chiave alle Risorse, modificate la Risorsa in questione e selezionate le parole chiave desiderate dalla lista. Per aggiungere una parola chiave digitate la nuova parola e poi cliccate \'Aggiungi tag\'.';
-$_lang["metatag_notice"] = 'Per ulteriori informazioni, consultate la Guida di Riferimento HTML. Questa non è una lista completa di tutti i possibili META tag.';
-$_lang["metatags"] = 'META tag';
-$_lang["mgr_access_permissions"] = 'Gestione permessi di accesso';
-$_lang["mgr_login_start"] = 'Pagina di accesso del Manager';
-$_lang["mgr_login_start_message"] = 'Inserite l\'ID della Risorsa che volete mostrare agli utenti dopo l\'accesso al Manager. NOTA: assicuratevi che l\'ID appartenga ad una Risorsa esistente e che sia stata pubblicata! ';
-$_lang["mgrlog_action"] = 'Azione';
-$_lang["mgrlog_actionid"] = 'ID Azione';
-$_lang["mgrlog_anyall"] = 'Qualunque/Tutti';
-$_lang["mgrlog_datecheckfalse"] = 'checkdate() ha restituito false.';
-$_lang["mgrlog_datefr"] = 'Data iniziale';
-$_lang["mgrlog_dateinvalid"] = 'Formato data errato.';
-$_lang["mgrlog_dateto"] = 'Data finale';
-$_lang["mgrlog_emptysrch"] = 'La vostra ricerca non ha prodotto risultati.';
-$_lang["mgrlog_field"] = 'Campo';
-$_lang["mgrlog_itemid"] = 'ID oggetto';
-$_lang["mgrlog_itemname"] = 'Nome oggetto';
-$_lang["mgrlog_msg"] = 'Messaggio';
-$_lang["mgrlog_noquery"] = 'Non è ancora stata effettuata una ricerca.';
-$_lang["mgrlog_qresults"] = 'Risultati della ricerca';
-$_lang["mgrlog_query"] = 'Selezione dei log di sistema';
-$_lang["mgrlog_query_msg"] = 'Selezionate quali informazioni volete vedere. Potete selezionare un intervallo di date, ma ricordate che le date che immettete non sono entrambe incluse. Ad esempio per selezionare tutti i dati di log del giorno 1 gennaio 2014, impostate \'Data iniziale\' su 01-01-2014 e \'Data finale\' su 02-01-2014. Messaggio ed azione sono in genere coincidenti. Se state cercando un messaggio specifico, è meglio impostare l\'azione su \'Qualunque/Tutti\'.';
-$_lang["mgrlog_results"] = 'Numero di risultati';
-$_lang["mgrlog_searchlogs"] = 'Ricerca log';
-$_lang["mgrlog_sortinst"] = 'Potete ordinare la tabella facendo clic sulle intestazioni delle colonne. Se i logs dovessero diventare troppo grandi, potete cancellare tutti i logs . Con la cancellazione vengono rimossi tutti i dati dei logs raccolti fino ad oggi e questa azione una volta avviata non può essere annullata!';
-$_lang["mgrlog_time"] = 'Ora';
-$_lang["mgrlog_user"] = 'Utente';
-$_lang["mgrlog_username"] = 'Nome utente';
-$_lang["mgrlog_value"] = 'Valore';
-$_lang["mgrlog_view"] = 'Mostra i logs del Manager';
-$_lang["module_code"] = 'Codice del Modulo (PHP)';
-$_lang["module_config"] = 'Configurazione del Modulo';
-$_lang["module_desc"] = 'Descrizione';
-$_lang["module_disabled"] = 'Modulo disabilitato';
-$_lang["module_edit_click_title"] = 'Cliccate qui per modificare il Modulo';
-$_lang["module_group_access_msg"] = 'Selezionate i gruppi autorizzati ad eseguire il Modulo.';
-$_lang["module_management"] = 'Gestione Moduli';
-$_lang["module_management_msg"] = 'Qui potete scegliere il Modulo che desiderate eseguire o modificare. Per eseguire un Modulo, fate clic sull\'icona del Modulo a sinistra sulla griglia. Per modificare un Modulo, fate clic sul suo nome.';
-$_lang["module_msg"] = 'Qui potete creare o modificare i Moduli. Un Modulo è un insieme di Elementi che interagiscono fra loro (ad es. Plugins, Snippets, ecc.).';
-$_lang["module_name"] = 'Nome del Modulo';
-$_lang["module_resource_msg"] = 'Qui potete aggiungere o rimuovere Risorse dalle quali dipende questo Modulo. Cliccate sul pulsante Aggiungi per aggiungere una Risorsa.';
-$_lang["module_resource_title"] = 'Dipendenze Moduli';
-$_lang["module_title"] = 'Crea/modifica Moduli';
-$_lang["module_viewdepend_msg"] = 'Qui potete vedere gli Elementi dai quali dipende il Modulo. Cliccate sul pulsante \'Configurazione Dipendenze\' per modificare le dipendenze';
-$_lang["modules"] = 'Moduli';
-$_lang["modx_news"] = 'Ultime Notizie EVO';
-$_lang["modx_news_tab"] = 'Novità EVO';
-$_lang["modx_news_title"] = 'Novità MODX';
-$_lang["modx_security_notices"] = 'Avvisi di Protezione EVO';
-$_lang["modx_version"] = 'Versione EVO';
-$_lang["monday"] = 'Lunedì';
-$_lang["move"] = 'Sposta';
-$_lang["move_resource"] = 'Sposta Risorsa';
-$_lang["move_resource_message"] = 'Potete spostare una Risorsa e tutti i suoi sottodocumenti selezionando un nuovo genitore nella struttura ad albero. Se selezionate una Risorsa che non è una cartella, essa sarà trasformata in cartella. Fate clic sulla nuova Risorsa genitore nella struttura ad albero delle Risorse.';
-$_lang["move_resource_new_parent"] = 'Vi preghiamo di selezionare una nuova Risorsa genitore nella struttura ad albero delle Risorse.';
-$_lang["move_resource_title"] = 'Sposta Risorsa';
-$_lang["name"] = 'Nome';
-$_lang["new_category"] = 'Nuova Categoria';
-$_lang["new_file_permissions_message"] = 'Durante il caricamento di un nuovo file nel sistema di gestione file, il sistema cercherà di cambiare i permessi del file secondo questa impostazione. Questo però potrebbe non funzionare in alcune configurazioni, come ad esempio IIS, nel qual caso dovrete procedere ad una modifica manuale dei permessi.';
-$_lang["new_file_permissions_title"] = 'Permessi dei nuovi files:';
-$_lang["new_folder_permissions_message"] = 'Durante la creazione di una nuova cartella nel sistema di gestione file, il sistema cercherà di cambiare i permessi della cartella secondo questa impostazione. Questo però potrebbe non funzionare in alcune configurazioni, come ad esempio IIS, nel qual caso dovrete procedere ad una modifica manuale dei permessi.';
-$_lang["new_folder_permissions_title"] = 'Permessi nuova cartella:';
-$_lang["new_htmlsnippet"] = 'Nuovo Chunk';
-$_lang["new_keyword"] = 'Aggiungi nuova parola chiave:';
-$_lang["new_module"] = 'Nuovo Modulo';
-$_lang["new_parent"] = 'Nuova Risorsa genitore';
-$_lang["new_plugin"] = 'Nuovo Plugin';
-$_lang["new_role"] = 'Nuovo Ruolo';
-$_lang["new_snippet"] = 'Nuovo Snippet';
-$_lang["new_template"] = 'Nuovo Template';
-$_lang["new_tmplvars"] = 'Nuova Variabile di Template';
-$_lang["new_user"] = 'Nuovo utente';
-$_lang["new_web_user"] = 'Nuovo utente Web';
-$_lang["new_resource"] = 'Nuova Risorsa';
-$_lang["no"] = 'No';
-$_lang["no_active_users_found"] = 'Non sono stati trovati utenti attivi.';
-$_lang["no_activity_message"] = 'Non avete ancora creato o modificato alcuna Risorsa.';
-$_lang["no_category"] = 'senza Categoria';
-$_lang["no_docs_pending_publishing"] = 'Nessuna Risorsa in attesa di pubblicazione.';
-$_lang["no_docs_pending_pubunpub"] = 'Nessun evento programmato trovato';
-$_lang["no_docs_pending_unpublishing"] = 'Nessuna Risorsa in attesa del ritiro dalla pubblicazione.';
-$_lang["no_edits_creates"] = 'No edits or creates found.';
-$_lang["no_groups_found"] = 'Nessun gruppo trovato.';
-$_lang["no_keywords_found"] = 'Non ci sono parole chiave';
-$_lang["no_records_found"] = 'Nessun record.';
-$_lang["no_results"] = 'Nessun risultato trovato';
-$_lang["nologentries_message"] = 'Inserite il numero di righe da visualizzare per pagina quando visualizzate i logs.';
-$_lang["nologentries_title"] = 'Numero di voci di log:';
-$_lang["nomessages_message"] = 'Inserite il numero di messaggi da visualizzare nella inbox quando leggete i messaggi.';
-$_lang["nomessages_title"] = 'Numero di messaggi:';
-$_lang["none"] = 'Nessuno';
-$_lang["noresults_message"] = 'Inserite il numero di risultati da mostrare negli elenchi ed i risultati di ricerca .';
-$_lang["noresults_title"] = 'Numero di risultati:';
-$_lang["not_deleted"] = 'non è stato eliminato.';
-$_lang["not_set"] = 'Non impostato';
-$_lang["offline"] = 'Offline';
-$_lang["online"] = 'Online';
-$_lang["onlineusers_action"] = 'Azione';
-$_lang["onlineusers_actionid"] = 'ID dell\'azione';
-$_lang["onlineusers_ipaddress"] = 'Indirizzo IP dell\'utente';
-$_lang["onlineusers_lasthit"] = 'Ultimo contatto';
-$_lang["onlineusers_message"] = 'Questa lista mostra tutti gli utenti attivi negli ultimi 20 minuti (adesso sono le ';
-$_lang["onlineusers_title"] = 'Utenti online';
-$_lang["onlineusers_user"] = 'Utente';
-$_lang["onlineusers_userid"] = 'ID dell\'utente';
-$_lang["optimize_table"] = 'Cliccate qui per ottimizzare questa tabella';
-$_lang["page_data_cacheable"] = 'Situabile in cache';
-$_lang["page_data_cacheable_help"] = 'Selezionando questo campo permetterete alla Risorsa di essere salvata nella cache. Se la Risorsa contiene Snippets, assicuratevi che il campo non sia selezionato.';
-$_lang["page_data_cached"] = 'Sorgente recuperata dalla cache: ';
-$_lang["page_data_changes"] = 'Modifiche';
-$_lang["page_data_contentType"] = 'Tipo contenuto';
-$_lang["page_data_contentType_help"] = 'Selezionate il tipo di contenuto della Risorsa. Se non avete idea del tipo di contenuto che la Risorsa deve avere, lasciatelo semplicemente come text/html.';
-$_lang["page_data_created"] = 'Creato';
-$_lang["page_data_edited"] = 'Modificato';
-$_lang["page_data_editor"] = 'Modifica con l\'editor rich text';
-$_lang["page_data_folder"] = 'La Risorsa è una cartella';
-$_lang["page_data_general"] = 'Generale';
-$_lang["page_data_markup"] = 'Markup/ struttura';
-$_lang["page_data_mgr_access"] = 'Accesso al Manager EVO';
-$_lang["page_data_notcached"] = 'Questa Risorsa non è stata (ancora) inserita nella cache.';
-$_lang["page_data_publishdate"] = 'Data di pubblicazione';
-$_lang["page_data_publishdate_help"] = 'Se impostate una data di pubblicazione, la Risorsa sarà pubblicata automaticamente alla data prescelta. Cliccate sull\'icona del calendario per selezionare una data di pubblicazione o sull\'icona a fianco per rimuoverla. Se non è inserita una data di pubblicazione la Risorsa non sarà pubblicata automaticamente e occorrerà pubblicarla manualmente.';
-$_lang["page_data_published"] = 'Pubblicata';
-$_lang["page_data_searchable"] = 'Ricercabile';
-$_lang["page_data_searchable_help"] = 'Spuntando questa casella permettete alla Risorsa di essere ricercabile. Potete anche usare la casella per altri scopi nei vostri Snippets.';
-$_lang["page_data_source"] = 'Sorgente';
-$_lang["page_data_status"] = 'Stato';
-$_lang["page_data_template"] = 'Template';
-$_lang["page_data_template_help"] = 'Qui potete selezionare il Template da usare per la Risorsa.';
-$_lang["page_data_title"] = 'Dati pagina';
-$_lang["page_data_unpublishdate"] = 'Data di ritiro';
-$_lang["page_data_unpublishdate_help"] = 'Se impostate una data di ritiro, la Risorsa sarà ritirata alla data prescelta. Cliccate sull\'icona del calendario per selezionare una data di ritiro o sull\'icona a fianco per rimuoverla. Se non è prevista una data di ritiro la Risorsa non verrà mai ritirata automaticamente.';
-$_lang["page_data_unpublished"] = 'Ritirato';
-$_lang["page_data_web_access"] = 'Accesso dal web';
-$_lang["pagetitle"] = 'Titolo della Risorsa';
-$_lang["pagination_table_first"] = 'Primo';
-$_lang["pagination_table_gotopage"] = 'Vai alla pagina';
-$_lang["pagination_table_last"] = 'Ultimo';
-$_lang["paging_first"] = 'primo';
-$_lang["paging_last"] = 'ultimo';
-$_lang["paging_next"] = 'successivo';
-$_lang["paging_prev"] = 'precedente';
-$_lang["paging_showing"] = 'Mostra';
-$_lang["paging_to"] = 'a';
-$_lang["paging_total"] = 'totale';
-$_lang["parameter"] = 'Parametro';
-$_lang["parse_docblock"] = 'Analizza DocBlock';
-$_lang["parse_docblock_msg"] = 'Attenzione (!): Ripristina b> Il nome, la configurazione, la descrizione e la categoria di default analizzando il codice sorgente.';
-$_lang["password"] = 'Password';
-$_lang["password_change_request"] = 'Richiesta di cambio password';
-$_lang["password_gen_gen"] = 'Lascia che EVO generi una password.';
-$_lang["password_gen_length"] = 'La password dev\'essere lunga almeno 6 caratteri.';
-$_lang["password_gen_method"] = 'Come volete creare la password dell\'utente?';
-$_lang["password_gen_specify"] = 'Lasciami specificare la password:';
-$_lang["password_method"] = 'Come volete notificare la nuova password all\'utente?';
-$_lang["password_method_email"] = 'Invia la nuova password per e-mail.';
-$_lang["password_method_screen"] = 'Mostra la nuova password sullo schermo.';
-$_lang["password_msg"] = 'La nuova password per %s è %s .';
-$_lang["php_version_check"] = 'EVO è compatibile con PHP versione 5.4.0 o superiore. Il vostro server usa la versione %s%. Si prega di aggiornare l\'installazione di PHP!';
-$_lang["plugin"] = 'Plugin';
-$_lang["plugins"] = 'Plugins';
-$_lang["plugin_code"] = 'Codice del Plugin (PHP)';
-$_lang["plugin_config"] = 'Configura Plugin';
-$_lang["plugin_desc"] = 'Descrizione';
-$_lang["plugin_disabled"] = 'Plugin Disabilitato';
-$_lang["plugin_event_msg"] = 'Selezionate gli Eventi di Sistema che intendete gestire con questo Plugin.';
-$_lang["plugin_management_msg"] = 'Qui potete selezionare i Plugins da modificare o crearne di nuovi.';
-$_lang["plugin_msg"] = 'Qui potete aggiungere/modificare i Plugins. I Plugins sono \'puro\' codice PHP che viene eseguito quando si verificano alcuni eventi di sistema.';
-$_lang["plugin_name"] = 'Nome Plugin';
-$_lang["plugin_priority"] = 'Modifica l\'ordine di esecuzione dei Plugins in base all\'evento';
-$_lang["plugin_priority_instructions"] = 'Spostate e ordinate i Plugins per ogni Evento di Sistema. Per ogni lista i Plugins più in alto verranno eseguiti prima.';
-$_lang["plugin_priority_title"] = 'Ordine di esecuzione del Plugin';
-$_lang["purge_plugin"] = 'Elimina i plugin obsoleti';
-$_lang["plugin_title"] = 'Crea/Modifica Plugin';
-$_lang["preview"] = 'Anteprima';
-$_lang["preview_msg"] = 'Questa è solo l\'anteprima delle modifiche. Clicca su Salva e Aggiorna per salvare le modifiche';
-$_lang["preview_resource"] = 'Anteprima Risorsa';
-$_lang["private"] = 'Privato';
-$_lang["public"] = 'Pubblico';
-$_lang["publish_date"] = 'Data di pubblicazione';
-$_lang["publish_events"] = 'Eventi di pubblicazione';
-$_lang["publish_resource"] = 'Pubblica Risorsa';
-$_lang["rb_base_dir_message"] = 'Inserite il percorso fisico alla directory del File Browser. Questa impostazione di solito è generata automaticamente. Se state usando IIS, tuttavia, EVO potrebbe non riuscire ad impostare il percorso corretto e il File Browser mostrerà un errore. In questo caso potete correggere il percorso alla cartella delle immagini (il percorso come lo vedreste in Windows Explorer). NOTA: La directory del File Browser, per funzionare correttamente, deve contenere le sottocartelle images, files, flash e media.';
-$_lang["rb_base_dir_title"] = 'Percorso delle Risorse:';
-$_lang["rb_base_url_message"] = 'Inserite il percorso virtuale alla directory del File Browser. Questo percorso in genere è generato automaticamente. Se state usando IIS, tuttavia, EVO potrebbe non riuscire ad impostare il percorso corretto e il File Browser potrebbe mostrare un errore. In questo caso potete inserire qui il percorso corretto alla cartella delle immagini (l\'URL che inserireste in Internet Explorer).';
-$_lang["rb_base_url_title"] = 'URL del File Browser:';
-$_lang["rb_message"] = 'Selezionate Si se volete abilitare il File Browser. Questo permetterà agli utenti di cercare e caricare sul server immagini, file flash e media.';
-$_lang["rb_title"] = 'Abilita File Browser:';
-$_lang["rb_webuser_message"] = 'Volete consentire ad un Utente Web di usare il File Browser? ATTENZIONE: Consentire agli Utenti Web di usare il File Browser rende visibili i files di gestione degli utenti. Usare questa opzione solo per utenti affidabili.';
-$_lang["rb_webuser_title"] = 'Gli Utenti Web usano il File Browser:';
-$_lang["recent_docs"] = 'Risorse recenti';
-$_lang["recommend_setting_change_title"] = 'Modifiche consigliate';
-$_lang["recommend_setting_change_description"] = 'Il vostro sito non è configurato per validare gli headers HTTP_REFERER per l\'accesso al Manager. Vi raccomandiamo di abilitare questa impostazione per ridurre i rischi di un attacco CSRF (Cross Site Request Forgery).';
-$_lang["references"] = 'Riferimenti';
-$_lang["refresh_cache"] = 'Cache: Sono stati trovati %s file nella cartella cache e sono stati eliminati %d file di cache. I nuovi file di cache saranno creati non appena le pagine saranno richieste.';
-$_lang["refresh_published"] = '%s Risorse sono state pubblicate.';
-$_lang["refresh_site"] = 'Svuota cache';
-$_lang["refresh_title"] = 'Aggiorna sito';
-$_lang["refresh_tree"] = 'Aggiorna struttura ad albero';
-$_lang["refresh_unpublished"] = '%s Risorse sono state ritirate.';
-$_lang["release_date"] = 'Data di rilascio';
-$_lang["remember_last_tab"] = 'Ricorda i tabs:';
-$_lang["remember_last_tab_message"] = 'Le pagine del Manager con tabs mostreranno l\'ultimo tab utilizzato anzichè il primo tab';
-$_lang["remember_username"] = 'Ricordami';
-$_lang["remove"] = 'Rimuovi ->';
-$_lang["remove_date"] = 'Rimuovi data';
-$_lang["remove_locks"] = 'Rimuovi Blocchi';
-$_lang["rename"] = 'Rinomina';
-$_lang["reports"] = 'Resoconti';
-$_lang["report_issues"] = 'Segnala un problema';
-$_lang["require_tagname"] = 'E\' necessario immettere un nome per il tag';
-$_lang["require_tagvalue"] = 'E\' necessario immettere un valore per il tag';
-$_lang["reserved_name_warning"] = 'Avete utilizzato un nome riservato.';
-$_lang["reset"] = 'Resetta';
-$_lang["reset_failedlogins"] = 'reset';
-$_lang["reset_sort_order"] = 'Resetta ordine';
-$_lang["resource"] = 'Risorsa';
-$_lang["resource_alias"] = 'Alias Risorsa';
-$_lang["resource_alias_help"] = 'Qui potete inserire un alias per la Risorsa. Questo renderà la Risorsa accessibile come http://vostrosito.it/alias. Funziona solo se state usando gli URL Semplici.';
-$_lang["resource_content"] = 'Contenuto della Risorsa';
-$_lang["resource_description"] = 'Descrizione';
-$_lang["resource_description_help"] = 'Qui potete inserire una descrizione opzionale della Risorsa.';
-$_lang["resource_duplicate"] = 'Duplica Risorsa';
-$_lang["resource_long_title_help"] = 'Qui potete inserire un titolo esteso per la Risorsa. Questo è utile per i motori di ricerca e potrebbe descrivere meglio la Risorsa.';
-$_lang["resource_metatag_help"] = 'Selezionate i META tag e le parole chiave che volete assegnare alla Risorsa. Tenete premuto il tasto control per selezionare più tag o parole.';
-$_lang["resource_opt_contentdispo"] = 'Pubblicazione del contenuto';
-$_lang["resource_opt_contentdispo_help"] = 'Utilizzate il campo Pubblicazione del Contenuto per stabilire come questa Risorsa verrà inviata al browser. Per files da scaricare selezionare l\'opzione Allegato.';
-$_lang["resource_opt_emptycache"] = 'Svuota cache';
-$_lang["resource_opt_emptycache_help"] = 'Lasciando questo campo selezionato permetterete a EVO di svuotare la cache dopo che avrete salvato la Risorsa. Così i visitatori non vedranno più la vecchia versione della Risorsa.';
-$_lang["resource_opt_folder"] = 'Cartella';
-$_lang["resource_opt_folder_help"] = 'Spuntate la casella se volete che la Risorsa faccia anche da cartella per altre Risorse. Non avete bisogno di preoccuparvi troppo di questo, EVO generalmente si occupa automaticamente delle impostazioni delle cartelle.';
-$_lang["resource_opt_menu_index"] = 'Indice menu';
-$_lang["resource_opt_menu_index_help"] = 'Indice menu è un campo che potete usare per ordinare le Risorse nei menu. Potete anche usare il campo per altri scopi nei vostri Snippet.';
-$_lang["resource_opt_menu_title"] = 'Titolo nel menu';
-$_lang["resource_opt_menu_title_help"] = 'Il titolo nel menu è un campo che potete usare per visualizzare un titolo abbreviato per la Risorsa all\'interno di menu o moduli.';
-$_lang["resource_opt_published"] = 'Pubblicata';
-$_lang["resource_opt_published_help"] = 'Spuntate questa casella per pubblicare immediatamente la Risorsa dopo averla salvata.';
-$_lang["resource_opt_richtext"] = 'Rich text';
-$_lang["resource_opt_richtext_help"] = 'Lasciate selezionata questa casella se volete usare l\'editor rich text per modificare le Risorse. Se le Risorse contengono JavaScript o forms HTML deselezionatela e modificateli in modalità HTML evitando così che l\'editor ne danneggi il contenuto.';
-$_lang["resource_opt_show_menu"] = 'Mostra nel menu';
-$_lang["resource_opt_show_menu_help"] = 'Selezionate questa opzione per mostrare la Risorsa nel menu. Attenzione, alcuni script per menu potrebbero ignorare questa opzione.';
-$_lang["resource_opt_trackvisit_help"] = 'Registra ogni utente che visita questa pagina';
-$_lang["resource_overview"] = 'Dettagli Risorsa';
-$_lang["resource_parent"] = 'Risorsa genitore';
-$_lang["resource_parent_help"] = 'Selezionate una Risorsa nella struttura ad albero per impostarla come genitore di questa Risorsa.';
-$_lang["resource_permissions_error"] = 'Assegnate questa Risorsa ad almeno un Gruppo Risorse al quale avete accesso.';
-$_lang["resource_setting"] = 'Impostazioni Risorsa';
-$_lang["resource_summary"] = 'Sommario';
-$_lang["resource_summary_help"] = 'Inserire un breve sommario della Risorsa';
-$_lang["resource_title"] = 'Titolo';
-$_lang["resource_title_help"] = 'Digitate qui il nome/titolo della Risorsa. Evitate l\'uso del backslash (\) !';
-$_lang["resource_to_be_moved"] = 'Risorsa da spostare';
-$_lang["resource_type"] = 'Tipo di Risorsa';
-$_lang["resource_type_message"] = 'Un Link Web è un collegamento ad una Risorsa su Internet. Questa Risorsa può essere interna a EVO, una pagina su un altro sito, un\'immagine o un altro file su Internet. I Link Web dovrebbero avere Media Type text/html e Inline Content-Disposition.';
-$_lang["resource_type_weblink"] = 'Link Web';
-$_lang["resource_type_webpage"] = 'Pagina Web';
-$_lang["resource_weblink_help"] = 'Digitate qui l\'indirizzo dell\'oggetto a cui volete collegare questo Link Web. In alternativa inserire dal Browser File o utilizzare l\'icona di selezione collegamento e selezionare una risorsa dalla struttura del sito.';
-$_lang["resources_in_container"] = 'Risorse in questo contenitore';
-$_lang["resources_in_container_no"] = 'Questo contenitore non contiene alcuna Risorsa.';
-$_lang["role"] = 'Ruolo';
-$_lang["role_about"] = 'Visualizza la pagina About';
-$_lang["role_access_persmissions"] = 'Permessi di accesso';
-$_lang["role_actionok"] = 'Visualizza la schermata di azione completata';
-$_lang["role_assets_images"] = 'Accesso a assets/images';
-$_lang["role_assets_files"] = 'Accesso a assets/files';
-$_lang["role_bk_manager"] = 'Usa il sistema di gestione delle copie di sicurezza';
-$_lang["role_cache_refresh"] = 'Svuota la cache del sito';
-$_lang["role_category_manager"] = 'Usa in Gestore Categorie';
-$_lang["role_change_password"] = 'Cambia password';
-$_lang["role_change_resourcetype"] = 'Cambia tipo di risorsa';
-$_lang["role_chunk_management"] = 'Gestione Chunk';
-$_lang["role_config_management"] = 'Gestione configurazione';
-$_lang["role_content_management"] = 'Gestione contenuto';
-$_lang["role_create_chunk"] = 'Crea un nuovo Chunk';
-$_lang["role_create_doc"] = 'Crea nuove Risorse';
-$_lang["role_create_plugin"] = 'Crea un nuovo Plugin';
-$_lang["role_create_snippet"] = 'Crea nuovi Snippets';
-$_lang["role_create_template"] = 'Crea nuovi Templates del sito';
-$_lang["role_credits"] = 'Visualizza i crediti';
-$_lang["role_delete_chunk"] = 'Cancella Chunk';
-$_lang["role_delete_doc"] = 'Elimina Risorse';
-$_lang["role_delete_eventlog"] = 'Cancella Log degli Eventi';
-$_lang["role_delete_module"] = 'Cancella Modulo';
-$_lang["role_delete_plugin"] = 'Cancella Plugin';
-$_lang["role_delete_role"] = 'Elimina ruoli';
-$_lang["role_delete_snippet"] = 'Elimina Snippet';
-$_lang["role_delete_template"] = 'Elimina Template';
-$_lang["role_delete_user"] = 'Elimina utenti';
-$_lang["role_delete_web_user"] = 'Cancella utente web';
-$_lang["role_edit_chunk"] = 'Modifica Chunk';
-$_lang["role_edit_doc"] = 'Modifica una Risorsa';
-$_lang["role_edit_doc_metatags"] = 'Modifica META tag e parole chiave della Risorsa';
-$_lang["role_edit_module"] = 'Modifica Modulo';
-$_lang["role_edit_plugin"] = 'Modifica Plugin';
-$_lang["role_edit_role"] = 'Modifica ruoli';
-$_lang["role_edit_settings"] = 'Cambia le impostazioni del sito';
-$_lang["role_edit_snippet"] = 'Modifica Snippet';
-$_lang["role_edit_template"] = 'Modifica Template del sito';
-$_lang["role_edit_user"] = 'Modifica utenti';
-$_lang["role_edit_web_user"] = 'Modifica utente web';
-$_lang["role_empty_trash"] = 'Elimina in modo permanente le Risorse cancellate';
-$_lang["role_errors"] = 'Visualizza i messaggi di errore';
-$_lang["role_eventlog_management"] = 'Gestione Log degli Eventi';
-$_lang["role_export_static"] = 'Esporta in HTML statico';
-$_lang["role_file_management"] = 'Gestione File';
-$_lang["role_file_manager"] = 'Usa il file manager (accesso root completo)';
-$_lang["role_frames"] = 'Visualizza i frames del Manager EVO';
-$_lang["role_help"] = 'Visualizza le pagine di aiuto';
-$_lang["role_home"] = 'Visualizza la pagina introduttiva del Manager EVO';
-$_lang["role_import_static"] = 'Importa HTML';
-$_lang["role_logout"] = 'Esci dal Manager EVO';
-$_lang["role_manage_metatags"] = 'Gestione META tag e parole chiave';
-$_lang["role_management_msg"] = 'Qui potete scegliere il Ruolo da modificare o creare un nuovo Ruolo.';
-$_lang["role_management_title"] = 'Gestione Ruoli';
-$_lang["role_messages"] = 'Visualizza ed invia messaggi';
-$_lang["role_module_management"] = 'Gestione Moduli';
-$_lang["role_name"] = 'Nome Ruolo';
-$_lang["role_new_module"] = 'Crea nuovo Modulo';
-$_lang["role_new_role"] = 'Crea nuovi ruoli';
-$_lang["role_new_user"] = 'Crea nuovi utenti';
-$_lang["role_new_web_user"] = 'Crea nuovo utete web';
-$_lang["role_plugin_management"] = 'Gestione Plugin';
-$_lang["role_publish_doc"] = 'Pubblica Risorse';
-$_lang["role_remove_locks"] = 'Togli i blocchi';
-$_lang["role_role_management"] = 'Gestione Ruolo';
-$_lang["role_run_module"] = 'Esegui Modulo';
-$_lang["role_save_chunk"] = 'Salva Chunk';
-$_lang["role_save_doc"] = 'Salva Risorse';
-$_lang["role_save_module"] = 'Salva Modulo';
-$_lang["role_save_password"] = 'Salva password';
-$_lang["role_save_plugin"] = 'Salva Plugin';
-$_lang["role_save_role"] = 'Salva ruoli';
-$_lang["role_save_snippet"] = 'Salva Snippet';
-$_lang["role_save_template"] = 'Salva Template';
-$_lang["role_save_user"] = 'Salva utenti';
-$_lang["role_save_web_user"] = 'Salva utente web';
-$_lang["role_snippet_management"] = 'Gestione Snippet';
-$_lang["role_template_management"] = 'Gestione Template';
-$_lang["role_title"] = 'Crea/Modifica Ruolo';
-$_lang["role_udperms"] = 'Gestione permessi';
-$_lang["role_user_management"] = 'Gestione utente';
-$_lang["role_view_docdata"] = 'Visualizza i dati di una Risorsa';
-$_lang["role_view_eventlog"] = 'Vedi Log degli Eventi';
-$_lang["role_view_logs"] = 'Visualizza i log di sistema';
-$_lang["role_view_unpublished"] = 'Vedi le Risorse non pubblicate';
-$_lang["role_web_access_persmissions"] = 'Permessi di accesso Web';
-$_lang["role_web_user_management"] = 'Gestione utente web';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
-$_lang["rss_url_news_message"] = 'Inserire l\'URL per il Feed RSS Novità EVO. ';
-$_lang["rss_url_news_title"] = 'Feed RSS Novità EVO:';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
-$_lang["rss_url_security_message"] = 'Inserire l\'URL per il Feed RSS Avvisi di Protezione EVO.';
-$_lang["rss_url_security_title"] = 'Feed RSS Avvisi di Protezione EVO:';
-$_lang["run_module"] = 'Esegui Modulo';
-$_lang["saturday"] = 'Sabato';
-$_lang["save"] = 'Salva';
-$_lang["save_all_changes"] = 'Salva tutte le modifiche';
-$_lang["save_tag"] = 'Salva tag';
-$_lang["saving"] = 'Salvataggio in corso, vi preghiamo di attendere...';
-$_lang["search"] = 'Ricerca';
-$_lang["search_criteria"] = 'Criteri di ricerca';
-$_lang["search_criteria_content"] = 'Cerca per contenuto';
-$_lang["search_criteria_content_msg"] = 'Trovate tutte le Risorse che hanno questo testo nel loro contenuto.';
-$_lang["search_criteria_id"] = 'Cerca per ID';
-$_lang["search_criteria_id_msg"] = 'Inserite l\'ID di una Risorsa per individuarla rapidamente.';
-$_lang["search_criteria_top"] = 'Cerca nei campi principali';
-$_lang["search_criteria_top_msg"] = 'Pagetitle, Longtitle, Alias, ID';
-$_lang["search_criteria_template_id"] = 'Cerca per ID del template';
-$_lang["search_criteria_template_id_msg"] = 'Trova tutte le Risorse che utilizzano il template specificato';
-$_lang["search_criteria_url_msg"] = 'Cerca una risorsa per url esatta';
-$_lang["search_criteria_longtitle"] = 'Cerca per titolo esteso';
-$_lang["search_criteria_longtitle_msg"] = 'Trovate tutte le Risorse che nel titolo esteso contengono questo testo.';
-$_lang["search_criteria_title"] = 'Cerca per titolo';
-$_lang["search_criteria_title_msg"] = 'Trovate tutte le Risorse che nel titolo contengono questo testo.';
-$_lang["search_empty"] = 'La ricerca non ha prodotto risultati. Estendete i criteri di ricerca e provate nuovamente.';
-$_lang["search_item_deleted"] = 'Questo elemento è stato eliminato';
-$_lang["search_results"] = 'Risultati della ricerca';
-$_lang["search_results_returned_desc"] = 'Descrizione';
-$_lang["search_results_returned_id"] = 'ID';
-$_lang["search_results_returned_msg"] = 'I criteri di ricerca hanno restituito %s Risorse. Se i risultati sono troppi, provate con una ricerca più specifica. Le due colonne più a sinistra permettono di trovare la Risorsa nella struttura ad albero o di visualizzarla. Le due colonne più a destra mostrano, rispettivamente, se una Risorsa è stata eliminata e qual\'è il suo stato di pubblicazione.';
-$_lang["search_results_returned_title"] = 'Titolo';
-$_lang["search_view_docdata"] = 'Visualizza questo elemento';
-$_lang["security"] = 'Sicurezza';
-$_lang["security_notices_tab"] = 'Avvisi di Protezione';
-$_lang["security_notices_title"] = 'Avvisi di Protezione';
-$_lang["select_date"] = 'Seleziona data';
-$_lang["send"] = 'Invia';
-$_lang["server_protocol_http"] = 'http';
-$_lang["server_protocol_https"] = 'https';
-$_lang["server_protocol_message"] = 'Specificate qui se il sito è su una connessione https.';
-$_lang["server_protocol_title"] = 'Tipo server:';
-$_lang["serveroffset"] = 'Scostamento orario del server';
-$_lang["serveroffset_message"] = 'Selezionate il numero di ore di differenza tra il vostro fuso orario e quello del server. L\'ora attuale sul server è [%s] , mentre con lo scostamento che avete impostato l\'ora è [%s] .';
-$_lang["serveroffset_title"] = 'Scostamento orario del server:';
-$_lang["servertime"] = 'Orario del Server';
-$_lang["set_automatic"] = 'Impostazione automatica';
-$_lang["set_default"] = 'Imposta default';
-$_lang["set_default_all"] = 'Imposta defaults';
-$_lang["settings_after_install"] = 'Dato che questa è una nuova installazione, vi preghiamo di controllare queste impostazioni e di cambiare quelle che desiderate. Dopo aver controllato le impostazioni, premete \'Salva\' per aggiornare la configurazione di sistema. ';
-$_lang["settings_config"] = 'Configurazione';
-$_lang["settings_dependencies"] = 'Dipendenze';
-$_lang["settings_events"] = 'Eventi di Sistema';
-$_lang["settings_furls"] = 'Impostazioni URL Semplici';
-$_lang["settings_general"] = 'Informazioni Generali';
-$_lang["settings_misc"] = 'Impostazioni varie';
-$_lang["settings_security"] = 'Sicurezza';
-$_lang["settings_KC"] = 'File Browser';
-$_lang["settings_page_settings"] = 'Impostazioni Pagina';
-$_lang["settings_photo"] = 'Foto';
-$_lang["settings_properties"] = 'Proprietà';
-$_lang["settings_site"] = 'Impostazioni sito';
-$_lang["settings_strip_image_paths_message"] = 'Se questo valore è impostato su \'No\', EVO imposterà come assoluti gli URL di quello che caricate col File Browser (immagini, file, flash, ecc.). Impostando su \'Si\' si avranno degli URL relativi (non assoluti), utili se dovete spostare l\'installazione di EVO (ad esempio da un sito di test ad uno di produzione). Se non avete idea di cosa significa, lasciate impostato su \'Si\'.';
-$_lang["settings_strip_image_paths_title"] = 'Riscrivere gli URL del Browser:';
-$_lang["settings_templvars"] = 'Variabili di Template';
-$_lang["settings_title"] = 'Impostazioni EVO';
-$_lang["settings_ui"] = 'Impostazioni editor e interfaccia';
-$_lang["settings_users"] = 'Impostazioni utente';
-$_lang["show_meta"] = 'Mostra le META Keywords:';
-$_lang["show_meta_message"] = 'Mostra META Keywords (deprecato) quando si modificano le Risorse nel Manager.';
-$_lang["show_tree"] = 'Mostra struttura ad albero';
-$_lang["showing"] = 'Visualizzo';
-$_lang["signupemail_message"] = 'Qui potete impostare il messaggio con il quale inviare la userid e la password agli utenti a cui create un account.
-Nota: I seguenti Placeholders sono valorizzati da EVO all\'invio del messaggio:
-[+sname+] - Nome del vostro sito web
-[+surl+] - URL del vostro sito web
-[+saddr+] - Email del vostro sito web
-[+uid+] - Userid dell\'utente
-[+pwd+] - Password dell\'utente
-[+ufn+] - Nome completo dell\'utente
-Vi consigliamo di lasciare i due Placeholders [+uid+] e [+pwd+] nel corpo della e-mail altrimenti il nome utente e password non saranno inviati e l\'utente non potrà collegarsi! ';
-$_lang["signupemail_title"] = 'E-mail per l\'iscrizione:';
-$_lang["site"] = 'Sito';
-$_lang["site_schedule"] = 'Pianificazione Sito';
-$_lang["sitename_message"] = 'Inserite qui il nome del vostro sito web.';
-$_lang["sitename_title"] = 'Nome del sito:';
-$_lang["sitestart_message"] = 'Inserite l\'ID della Risorsa che volete usare come Home Page. NOTA: assicuratevi che l\'ID inserito appartenga a una Risorsa esistente e che sia stata pubblicata! ';
-$_lang["sitestart_title"] = 'Il sito inizia da:';
-$_lang["sitestatus_message"] = 'Selezionate \'Online\' per pubblicare il sito sul web. Se selezionate \'Offline\', i visitatori vedranno il \'Messaggio Sito non disponibile\' e non potranno consultarlo.';
-$_lang["sitestatus_title"] = 'Stato del sito:';
-$_lang["siteunavailable_message"] = 'Messaggio da visualizzare quando il sito è offline o si è verificato un errore.';
-$_lang["siteunavailable_message_default"] = 'Questo sito non è al momento disponibile.';
-$_lang["siteunavailable_page_message"] = 'Inserite l\'ID che volete mostrare quando il sito è offline. NOTA: assicuratevi che l\'ID appartenga ad una Risorsa esistente e che sia stata pubblicata! ';
-$_lang["siteunavailable_page_title"] = 'Pagina sito non disponibile:';
-$_lang["siteunavailable_title"] = 'Messaggio sito non disponibile:';
-$_lang["snippet"] = 'Snippet';
-$_lang["snippets"] = 'Snippets';
-$_lang["snippet_code"] = 'Codice dello Snippet (PHP)';
-$_lang["snippet_desc"] = 'Descrizione Snippet';
-$_lang["snippet_execonsave"] = 'Esegui lo Snippet dopo il salvataggio.';
-$_lang["snippet_management_msg"] = 'Qui potete scegliere gli Snippets da modificare o crearne di nuovi.';
-$_lang["snippet_msg"] = 'Qui potete aggiungere/modificare gli Snippets. Ricordate che gli Snippets sono codice PHP \'raw\' (grezzo) e se prevedete che l\'output venga mostrato in un punto preciso del Template dovete avere una variabile nello snippet che abbia il nome dello snippet stesso - in pratica, l\'output dello Snippet dev\'essere salvato in una variabile che porta il nome dello Snippet stesso.';
-$_lang["snippet_name"] = 'Nome Snippet';
-$_lang["snippet_properties"] = 'Proprietà di default';
-$_lang["snippet_title"] = 'Crea/modifica Snippet';
-$_lang["sort_alphabetically"] = 'Ordine alfabetico';
-$_lang["sort_asc"] = 'Ascendente';
-$_lang["sort_desc"] = 'Discendente';
-$_lang["sort_menuindex"] = 'Ordina per indice di menu';
-$_lang["sort_tree"] = 'Ordina la struttura ad albero';
-$_lang['sort_updating'] = 'Aggiornamento ...';
-$_lang['sort_updated'] = 'Aggiornato';
-$_lang['sort_nochildren'] = 'La cartella superiore non contiene documenti';
-$_lang["sort_elements_msg"] = 'Trascinare per riordinare gli elementi della lista.';
-$_lang["source"] = 'Sorgente';
-$_lang["stay"] = 'Continua la modifica dopo il salvataggio';
-$_lang["stay_new"] = 'Aggiungi un altro';
-$_lang["submit"] = 'Invia';
-$_lang["sunday"] = 'Domenica';
-$_lang["sys_alert"] = 'Avviso di sistema';
-$_lang["sysinfo_activity_message"] = 'Questa lista mostra le Risorse modificate di recente dagli utenti.';
-$_lang["sysinfo_userid"] = 'Utente';
-$_lang["system_email_signup"] = 'Salve [+uid+] \n\nqui ci sono le credenziali di autenticazione per il sistema di gestione dei contenuti di [+sname+]:\n\nNome utente: [+uid+]\nPassword: [+pwd+]\n\nQuando ti sarai autenticato nel sistema di gestione ([+surl+]), potrai cambiare la tua password.\n\nCordiali Saluti, l\'amministratore del Sito';
-$_lang["system_email_webreminder"] = 'Salve [+uid+]\n\nPer attivare la tua password clicca sul link sottostante:\n\n[+surl+]\n\nIn seguito potrai usare la seguente password per accedere:\n\nPassword:[+pwd+]\n\nSe non hai richiesto questa mail, ignorala.\n\nCordiali Saluti, l\'amministratore del Sito';
-$_lang["system_email_websignup"] = 'Salve [+uid+] \n\nqui ci sono le credenziali di autenticazione per [+sname+]:\n\nNome utente: [+uid+]\nPassword: [+pwd+]\n\nQuando ti sarai autenticato in [+sname+] ([+surl+]), potrai cambiare la tua password.\n\nCordiali Saluti, l\'amministratore del Sito';
-$_lang["table_hoverinfo"] = 'Portate il cursore sopra il nome di una tabella per vedere una breve descrizione della funzione della tabella (non tutte le tabelle hanno dei commenti impostati o tradotti).';
-$_lang["table_prefix"] = 'Prefisso Tabella';
-$_lang["tag"] = 'Tag';
-$_lang["template"] = 'Template';
-$_lang["templates"] = 'Templates';
-$_lang["template_assignedtv_tab"] = 'Variabili di Template Assegnate';
-$_lang["template_code"] = 'Codice del Template (HTML)';
-$_lang["template_desc"] = 'Descrizione';
-$_lang["template_edit_tab"] = 'Modifica Template';
-$_lang["template_management_msg"] = 'Qui potete scegliere il Template da modificare o creare un nuovo Template.';
-$_lang["template_msg"] = 'Qui potete creare/modificare i Templates. I Template modificati o nuovi non saranno visibili nelle pagine in cache finchè la cache stessa non verrà svuotata. Ad ogni modo, potete usare la funzione di anteprima su una pagina per vedere il Template in azione.';
-$_lang["template_name"] = 'Nome del Template';
-$_lang["template_no_tv"] = 'A questo Template non sono ancora state assegnate delle Variabili di Template.';
-$_lang["template_notassigned_tv"] = 'Queste variabili di template sono disponibili per l\'assegnazione.';
-$_lang["template_reset_all"] = 'Impostate il nuovo Template di default su tutte le pagine';
-$_lang["template_reset_specific"] = 'Impostate il nuovo Template di default solo sulle pagine con \'%s\'';
-$_lang["template_selectable"] = 'Template selezionabile durante la creazione o la modifica di risorse.';
-$_lang["template_title"] = 'Crea/Modifica Template';
-$_lang["template_tv_edit"] = 'Modifica l\'ordine delle Variabili di Template';
-$_lang["template_tv_edit_message"] = 'Trascinare per riordinare le Variabili di Template di questo Template.';
-$_lang["template_tv_edit_title"] = 'Ordine delle Variabili di Template';
-$_lang["template_tv_msg"] = 'Le variabili di template assegnate a questo Template sono elencate qui in basso.';
-$_lang["thursday"] = 'Giovedì';
-$_lang["tmplvar_access_msg"] = 'Selezionate i Gruppi di Risorse autorizzati a modificare il contenuto o il valore di questa Variabile di Template';
-$_lang["tmplvar_change_template_msg"] = 'Cambiando questo Template verranno ricaricate le Variabili di Template. Tutte le modifiche non salvate verranno perse.\n\n Siete sicuri di voler modificare il Template?';
-$_lang["tmplvar_inuse"] = 'Le seguenti Risorse utilizzano questa Variabile di Template. Per confermare la cancellazione, cliccare su elimina. Altrimenti cliccare su cancella.';
-$_lang["tmplvar_tmpl_access"] = 'Accesso Template';
-$_lang["tmplvar_tmpl_access_msg"] = 'Selezionate quali Templates possono utilizzare questa Variabile di Template';
-$_lang["tmplvar"] = 'Variabile di Template';
-$_lang["tmplvars"] = 'Variabili di Template';
-$_lang["tmplvars_binding_msg"] = 'Questo campo supporta connessioni a sorgenti dati che usano il comando @ ';
-$_lang["tmplvars_caption"] = 'Didascalia';
-$_lang["tmplvars_default"] = 'Valore di default';
-$_lang["tmplvars_description"] = 'Descrizione';
-$_lang["tmplvars_elements"] = 'Opzioni valori di input';
-$_lang["tmplvars_inherited"] = 'Value inherited';
-$_lang["tmplvars_management_msg"] = 'Qui potete gestire e creare le Variabili di Template per le vostre Risorse.';
-$_lang["tmplvars_msg"] = 'Qui potete creare o modificare le Variabili di Template. Le Variabili di Template devono essere assegnate ad un Template per poter essere utilizzate da Snippets e Risorse.';
-$_lang["tmplvars_name"] = 'Nome variabile';
-$_lang["tmplvars_novars"] = 'Nessuna Variabile di Template trovata';
-$_lang["tmplvars_rank"] = 'Ordinamento';
-$_lang["tmplvars_rank_edit_message"] = 'Trascina per riordinare le variabili di template';
-$_lang["tmplvars_reset_params"] = 'Resetta parametri';
-$_lang["tmplvars_title"] = 'Crea/Modifica Variable di Template';
-$_lang["tmplvars_type"] = 'Tipo di input';
-$_lang["tmplvars_widget"] = 'Widget';
-$_lang["tmplvars_widget_prop"] = 'Proprietà Widget';
-$_lang["to"] = 'a';
-$_lang["tools"] = 'Strumenti';
-$_lang["top_howmany_message"] = 'Nel visualizzare i resoconti, quanto deve essere grande la lista \'I primi ...\'?';
-$_lang["top_howmany_title"] = 'Quanti \'I primi\':';
-$_lang["total"] = 'totale';
-$_lang["track_visitors_message"] = 'Predispone un connettore per eventuali Plugins di monitoraggio degli accessi, ad esempio per il fare il log degli accessi a determinate Risorse. Se non si utilizza la funzionalità lasciare disattivato.';
-$_lang["track_visitors_title"] = 'Registra visite (statistiche):';
-$_lang["tree_page_click"] = 'Azione del click su una pagina:';
-$_lang["tree_page_click_message"] = 'Cosa succede facendo click su una pagina nell\'albero del sito.';
-$_lang["use_breadcrumbs"] = 'Mostra navigazione';
-$_lang["use_breadcrumbs_message"] = 'Mostra la navigazione quando crei o modifichi una risorsa';
-$_lang["tree_show_protected"] = 'Mostra pagine protette:';
-$_lang["tree_show_protected_message"] = 'Se è selezionato \'No\' le pagine protette (e tutte le pagine figlie) non appariranno nell\'albero delle Risorse. \'No\' è l\'impostazione di default di EVO.';
-$_lang["truncate_table"] = 'Cliccate qui per troncare questa tabella';
-$_lang["tuesday"] = 'Martedì';
-$_lang["tv"] = 'TV';
-$_lang["type"] = 'Tipo';
-$_lang["udperms_allowroot_message"] = 'Volete permettere agli utenti di creare nuove Risorse e cartelle nella root del sito? ';
-$_lang["udperms_allowroot_title"] = 'Permetti creazione nella root:';
-$_lang["udperms_message"] = 'I permessi di accesso vi consentono di specificare quali pagine possono essere modificate dagli utenti. Avete bisogno di assegnare gli utenti ai Gruppi di Utenti, le Risorse ai Gruppi di Risorse, ed infine dovrete specificare quali Gruppi di Utenti hanno accesso a quali Gruppi di Risorse. Appena saranno attivati i permessi, solo gli amministratori potranno modificare qualsiasi Risorsa.';
-$_lang["udperms_title"] = 'Usa i permessi di accesso:';
-$_lang["unable_set_link"] = 'Impossibile impostare il collegamento!';
-$_lang["unable_set_parent"] = 'Impossibile impostare una nuova Risorsa genitore!';
-$_lang["unauthorizedpage_message"] = 'Digitate l\'ID della Risorsa che volete mostrare agli utenti che hanno richiesto una Risorsa protetta o non autorizzata. NOTA: assicuratevi che la Risorsa indicata esista, sia pubblicata e accessibile all\'utente! ';
-$_lang["unauthorizedpage_title"] = 'Pagina non autorizzata:';
-$_lang["unblock_message"] = 'L\'utente non sarà più bloccato dopo aver salvato i suoi dati.';
-$_lang["undelete_resource"] = 'Ripristina Risorsa';
-$_lang["unpublish_date"] = 'Data di ritiro dalla pubblicazione';
-$_lang["unpublish_events"] = 'Eventi di ritiro dalla pubblicazione';
-$_lang["unpublish_resource"] = 'Ritira Risorsa';
-$_lang["untitled_resource"] = 'Risorsa senza titolo';
-$_lang["untitled_weblink"] = 'Link Web senza titolo';
-$_lang["update_params"] = 'Aggiorna parametri di visualizzazione';
-$_lang["update_settings_from_language"] = 'Sostituire con:';
-$_lang["upload_maxsize_message"] = 'Qui potete inserire le dimensioni massime dei file che si possono caricare tramite il sistema di gestione file. Le dimensioni devo essere impostate in bytes. NOTA: File troppo grandi impiegano molto tempo a caricare! ';
-$_lang["upload_maxsize_title"] = 'Massima dimensione caricamento:';
-$_lang["uploadable_files_message"] = 'Qui potete inserire la lista dei tipi di file che si possono caricare nella cartella assets/files con il File Browser. Inserite le estensioni per i vari tipi di file separate da virgole.';
-$_lang["uploadable_files_title"] = 'Tipi di file caricabili:';
-$_lang["uploadable_flash_message"] = 'Qui potete inserire la lista dei tipi di file che si possono caricare con il File Browser nella cartella \'assets/flash/\'. Inserite le estensioni per i tipi di file Flash separate da virgole.';
-$_lang["uploadable_flash_title"] = 'Tipi di Flash caricabili:';
-$_lang["uploadable_images_message"] = 'Qui potete inserire la lista dei tipi di file che si possono caricare con il File browser nella cartella \'assets/images/\'. Inserite le estensioni per i tipi di immagine separate da virgole.';
-$_lang["uploadable_images_title"] = 'Tipi di immagini caricabili:';
-$_lang["uploadable_media_message"] = 'Qui potete inserire una lista dei tipi di file che si possono caricare con il File Manager nella cartella \'assets/media/\'. Inserite le estensioni per i tipi di media separate da virgole.';
-$_lang["uploadable_media_title"] = 'Tipi di media caricabili:';
-$_lang["use_alias_path_message"] = 'Abilitando questa opzione verrà generato un percorso virtuale per la Risorsa. Ad esempio, se la Risorsa "figlio.html" sta dentro la Risorsa Cartella "genitore" il percorso completo sarà "/genitore/figlio.html".';
-$_lang["use_alias_path_title"] = 'Usa percorso completo per l\'alias:';
-$_lang["use_editor_message"] = 'Volete abilitare l\'editor rich text? Se ritenete più comodo scrivere direttamente in HTML, con questa impostazione potete disabilitarlo. Da notare che le impostazioni si applicano a tutte le Risorse e a tutti gli utenti!';
-$_lang["use_editor_title"] = 'Abilita editor rich text:';
-$_lang["user"] = 'Utente';
-$_lang["user_block"] = 'Bloccato';
-$_lang["user_blockedafter"] = 'Bloccato dopo';
-$_lang["user_blockeduntil"] = 'Bloccato fino';
-$_lang["user_changeddata"] = 'I vostri dati sono stati modificati. Vi preghiamo di effettuare nuovamente l\'accesso.';
-$_lang["user_country"] = 'Nazione';
-$_lang["user_dob"] = 'Data di nascita';
-$_lang["user_doesnt_exist"] = 'L\'utente non esiste';
-$_lang["user_edit_self_msg"] = 'Se cambiate lo vostre informazioni utente dopo il salvataggio potreste aver bisogno di scollegarvi e di ricollegarvi nuovamente. Se avete scelto di generare automaticamente una nuova password vi verrà inviata per e-mail, verificate l\'indirizzo e-mail che avete inserito.';
-$_lang["user_email"] = 'Indirizzo e-mail';
-$_lang["user_failedlogincount"] = 'Login falliti';
-$_lang["user_fax"] = 'Numero di fax';
-$_lang["user_female"] = 'Femmina';
-$_lang["user_full_name"] = 'Nome completo';
-$_lang["user_gender"] = 'Sesso';
-$_lang["user_is_blocked"] = 'L\'utente è bloccato!';
-$_lang["user_logincount"] = 'Numero di autenticazioni';
-$_lang["user_male"] = 'Maschio';
-$_lang["user_management_msg"] = 'Qui potete scegliere l\'utente da modificare o creare un nuovo utente. Questi utenti sono quelli che possono accedere al sistema di gestione dei contenuti.';
-$_lang["user_management_title"] = 'Gestione Utenti';
-$_lang["user_mobile"] = 'Numero di cellulare';
-$_lang["user_phone"] = 'Numero di telefono';
-$_lang["user_photo"] = 'Foto dell\'Utente';
-$_lang["user_photo_message"] = 'Inserite l\'url dell\'immagine o caricate l\'immagine sul server.';
-$_lang["user_prevlogin"] = 'Ultima autenticazione';
-$_lang["user_role"] = 'Ruolo dell\'utente';
-$_lang["user_state"] = 'Regione';
-$_lang["user_title"] = 'Crea/modifica utente';
-$_lang["user_upload_message"] = 'Se volete impedire che questo utente possa caricare files di questo tipo, assicuratevi che la casella \'Use Main Configuration Setting\' non sia selezionata e lasciate vuoto il campo.';
-$_lang["user_use_config"] = 'Usare le Impostazioni di Sistema';
-$_lang["user_zip"] = 'CAP';
-$_lang["username"] = 'Nome utente';
-$_lang["users"] = 'Sicurezza';
-$_lang["valid_hostnames_message"] = 'Inserendo una lista di nomi di host consentiti per questa installazione di EVO è possibile prevenire che con un attacco XSS si possa falsificare l\'impostazione di sistema site_url. Può essere importante farlo per alcuni tipi di server condivisi o altri server direttamente accessibili da un indirizzo IP. Il primo nome di host della lista verà usato quando HTTP_HOST non corrisponde ad alcun nome di host valido.';
-$_lang["valid_hostnames_title"] = 'Nomi di host consentiti:';
-$_lang["validate_referer_message"] = 'Validare gli headers HTTP_REFERER per ridurre il rischio di essere vittime di un attacco CSRF (Cross Site Request Forgery). Alcune configurazioni possono non essere in grado di gestire questa opzione se il server non invia gli headers HTTP_REFERER.';
-$_lang["validate_referer_title"] = 'Validazione degli headers HTTP_REFERER:';
-$_lang["value"] = 'Valore';
-$_lang["version"] = 'Versione';
-$_lang["view"] = 'Mostra';
-$_lang["view_child_resources_in_container"] = 'Vedi le Risorse contenute';
-$_lang["view_log"] = 'Vedi log';
-$_lang["view_logging"] = 'Log del Manager';
-$_lang["view_sysinfo"] = 'Informazioni di Sistema';
-$_lang["warning"] = 'Attenzione!';
-$_lang["warning_not_saved"] = 'Le modifiche che avete effettuato non sono state ancora salvate. Potete scegliere di rimanere sulla pagina corrente per salvarle (\'Annulla\'), oppure potete abbandonarla perdendo ogni modifica che avete fatto (\'OK\').';
-$_lang["warning_visibility"] = 'Avvisi di configurazione visibili a:';
-$_lang["warning_visibility_message"] = 'Controlla la visualizzazione degli avvisi mostrati nella pagina iniziale del Manager';
-$_lang["web_access_permissions"] = 'Permessi di accesso Web';
-$_lang["web_access_permissions_user_groups"] = 'Gruppi di Utenti Web';
-$_lang["web_permissions"] = 'Permessi Web';
-$_lang["web_user_management_msg"] = 'Qui potete selezionare l\'utente web da modificare. Gli utenti web sono gli utenti autorizzati ad accedere al sito.';
-$_lang["web_user_management_title"] = 'Gestione Utenti Web';
-$_lang["web_user_title"] = 'Crea/modifica Utenti Web';
-$_lang["web_users"] = 'Utenti web';
-$_lang["weblink"] = 'Link Web';
-$_lang["webpwdreminder_message"] = 'Inserite il messaggio da inviare in mail, quando gli utenti chiedono una nuova password via email. IL sistema di gestione dei contenuti invierà loro una e-mail contenente la nuova password e le informazioni di attivazione. Nota: I seguenti segnaposto saranno sostituiti dal sistema di gestione del contenuto quando invierà il messaggio: [+sname+] - Nome del sito, [+saddr+] - Indirizzo email del sito, [+surl+] - Url del sito, [+uid+] - Login o id dell\'utente, [+pwd+] - Password utente, [+ufn+] - Nome completo dell\'utente. Lasciate [+uid+] e [+pwd+] nella e-mail, altrimenti il nome utente e la password non verranno inviati! ';
-$_lang["webpwdreminder_title"] = 'Email recupero dati autenticazione:';
-$_lang["websignupemail_message"] = 'Qui potete impostare il messaggio e-mail contenente nome utente e password inviato agli utenti quando gli create un nuovo account. Nota: I seguenti Placeholders saranno sostituiti dal sistema di gestione dei contenuti quando invierà il messaggio: [+sname+] - Nome del sito, [+saddr+] - Indirizzo email del sito, [+surl+] - Url del sito, [+uid+] - Login o id dell\'utente, [+pwd+] - Password utente, [+ufn+] - Nome completo dell\'utente. Lasciate [+uid+] e [+pwd+] nella e-mail, altrimenti il nome utente e la password non verranno inviati! ';
-$_lang["websignupemail_title"] = 'Indirizzo E-mail di registrazione:';
-$_lang["wednesday"] = 'Mercoledì';
-$_lang["welcome_messages"] = 'La vostra inbox contiene %d messaggi(o), di cui %s non letto/i.';
-$_lang["welcome_title"] = 'Benvenuto nel sistema di gestione dei contenuti EVO';
-$_lang["which_editor_message"] = 'Qui potete selezionare quale editor rich text preferite usare. Potete scaricare ed installare altri editor dalla sezione downloads del sito EVO ';
-$_lang["which_editor_title"] = 'Editor da usare:';
-$_lang["working"] = 'Sto elaborando...';
-$_lang["wrap_lines"] = 'Manda le linee a capo automaticamente';
-$_lang["xhtml_urls_message"] = 'Sostituisce la e commerciale (ampersand (&)) negli indirizzi generati da EVO con l\' entità HTML &';
-$_lang["xhtml_urls_title"] = 'URL XHTML:';
-$_lang["yes"] = 'Si';
-$_lang["you_got_mail"] = 'Avete una mail';
-$_lang["yourinfo_message"] = 'Questa sezione mostra alcune vostre informazioni:';
-$_lang["yourinfo_previous_login"] = 'La vostra ultima connessione al sistema:';
-$_lang["yourinfo_role"] = 'Il vostro Ruolo è:';
-$_lang["yourinfo_title"] = 'Le vostre informazioni';
-$_lang["yourinfo_total_logins"] = 'Numero totale di connessioni:';
-$_lang["yourinfo_username"] = 'Siete autenticati come:';
-
-$_lang["a17_error_reporting_title"] = 'Livello di dettaglio degli errori PHP:';
-$_lang["a17_error_reporting_msg"] = 'Imposta il livello di rilevamento degli errori PHP.';
-$_lang["a17_error_reporting_opt0"] = 'Ignora tutti gli errori';
-$_lang["a17_error_reporting_opt1"] = 'Ignora gli errori di basso livello (E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT )';
-$_lang["a17_error_reporting_opt2"] = 'Rileva tutti gli errori eccetto E_NOTICE';
-$_lang["a17_error_reporting_opt99"] = 'Rileva tutti gli errori';
-
-$_lang["pwd_hash_algo_title"] = 'Algoritmo di hash:';
-$_lang["pwd_hash_algo_message"] = 'Password algoritmo di hash.';
-
-$_lang["enable_bindings_title"] = 'Abilita comandi @Bindings:';
-$_lang["enable_bindings_message"] = 'Impedisce l\'esecuzione di funzioni PHP attraverso Variabili di Template di tipo @Bindings. Utile se avete utenti del manager che non devono poter creare codice PHP, ma che possono creare o modificare le Variabili di Template. L\'output di qualsiasi Variabile di Template @Bindings risulta "@Bindings disabled".';
-$_lang["enable_filter_title"] = 'Abilita filtri';
-$_lang["enable_filter_message"] = 'I filtri consentono di manipolare il modo in cui viene mostrato un tag. Inoltre, consentono di modificare i valori dall\'interno template. Funzionalità analoghe a PHx. Maggiori info '; // todo: change link to documentation
-$_lang["enable_filter_phx_warning"] = 'Quando PHx è abilitato, i filtri sono disabilitati.';
-
-$_lang["enable_filter_phx_warning"] = 'Quando PHx è abilitato, i filtri sono disabilitati.';
-
-$_lang["bkmgr_alert_mkdir"] = 'Non è possibile creare un file nella cartella. Controlla i permessi di scrittura di [+snapshot_path+]';
-$_lang["bkmgr_restore_msg"] = '
Tabelle del database che potrebbero essere recuperate dall\'SQL:
';
-$_lang["bkmgr_restore_title"] = 'Ripristina';
-$_lang["bkmgr_import_ok"] = 'Riristino SQL eseguito correttamente.';
-$_lang["bkmgr_snapshot_ok"] = 'Lo snapshot è stato salvato con successo.';
-$_lang["bkmgr_run_sql_file_label"] = 'Eseguire da file SQL';
-$_lang["bkmgr_run_sql_direct_label"] = 'Eseguire direttamente le stringhe SQL';
-$_lang["bkmgr_run_sql_submit"] = 'Eseguire ripristino';
-$_lang["bkmgr_run_sql_result"] = 'Risultati';
-$_lang["bkmgr_snapshot_title"] = 'Salvataggio e recupero snapshots';
-$_lang["bkmgr_snapshot_msg"] = 'I contenuti del database vengono salvati e ripristinati da una directory del server. Percorso del salvataggio : [+snapshot_path+] ($modx->config[\'snapshot_path\'])
';
-$_lang["bkmgr_snapshot_submit"] = 'Aggiungi uno snapshot';
-$_lang["bkmgr_snapshot_list_title"] = 'Lista degli snapshots';
-$_lang["bkmgr_restore_submit"] = 'Ripristina questi dati';
-$_lang["bkmgr_restore_confirm"] = 'Sei sicuro di voler ripristinare il backup\n[+filename+] ? ';
-$_lang["bkmgr_snapshot_nothing"] = 'Nessuno snapshot disponibile';
-
-$_lang["files.dynamic.php1"] = 'Nuovo file di testo';
-$_lang["files.dynamic.php2"] = 'Questa cartella non può essere mostrata.';
-$_lang["files.dynamic.php3"] = 'C\'è un problema con il nome del file';
-$_lang["files.dynamic.php4"] = 'File di testo creato.';
-$_lang["files.dynamic.php5"] = 'Il file non può essere duplicato.';
-$_lang["files.dynamic.php6"] = 'il file o la directory non possono essere rinominati.';
-$_lang["files_dynamic_new_folder_name"] = 'Inserire il nome della nuova directory:';
-$_lang["files_dynamic_new_file_name"] = 'Inserire il nome del nuovo file:';
-$_lang["not_readable_dir"] = 'Non posso accedere a questa cartella.';
-$_lang["confirm_delete_dir"] = 'Sei sicuro di voler cancellare questa cartella?';
-$_lang["confirm_delete_dir_recursive"] = 'Siete sicuri di voler cancellare questa directory?\n\nAnche tutti i file che contiene saranno cancellati.';
-
-$_lang["make_folders_title"] = 'Terminare l\'URL del Container con slash (/)';
-$_lang["make_folders_message"] = 'Aggiunge uno slash (/) all\'URL delle Risorse che sono impostate come cartelle quando si usano gli Url Semplici.';
-
-$_lang["check_files_onlogin_title"] = 'Controllo dei files di sistema:';
-$_lang["check_files_onlogin_message"] = 'Attivando questa opzione, i files di sistema più importanti saranno controllati e sarete avvisati nel caso siano stati modificati (ad es. in caso attacchi via script al sito web). Pur non essendo una garanzia infallibile, può essere utile per capire quando è stato compromesso un file di sistema EVO e/o tutto il sito web.';
-
-$_lang["configcheck_sysfiles_mod"] = 'Sono stati modificati alcuni importanti file di sistema.';
-$_lang["configcheck_sysfiles_mod_msg"] = 'È stato configurato EVO per controllare i file più importanti del sistema da possibili attacchi al sito web. Questo avviso non significa necessariamente che il tuo sito è stato compromesso, tuttavia, è necessario esaminare i file controllati nell\'installazione (impostazione in Impostazioni di sistema -> Utente -> Controlla i file del sistema al login). Se i file sono inalterati o modificati dagli amministratori del sito. Ri-salvare le impostazioni per eliminare questo messaggio. Sono state trovate modifiche nei seguenti file ';
-
-$_lang['email_method_title'] = 'Metodo di invio mail:';
-$_lang['email_method_mail'] = 'Funzione mail() di PHP';
-$_lang['email_method_smtp'] = 'Server SMTP';
-$_lang['smtp_auth_title'] = 'SMTP-AUTH:';
-$_lang['smtp_host_title'] = 'Host SMTP:';
-$_lang['smtp_secure_title'] = 'SMTP criptato';
-$_lang['smtp_username_title'] = 'Utente SMTP:';
-$_lang['smtp_password_title'] = 'Password SMTP:';
-$_lang['smtp_port_title'] = 'Porta SMTP:';
-
-$_lang["setting_resource_tree_node_name"] = 'Nome utilizzato nell\'albero delle Risorse:';
-$_lang["setting_resource_tree_node_name_desc"] = 'Selezionare quale proprietà della Risorsa sarà mostrata nell\'albero come nome della Risorsa. Di default è pagetitle.';
-$_lang["setting_resource_tree_node_name_desc_add"] = 'Nota: Dalla versione EVO 1.1 è possibile modificare il nome mostrato nell\'albero delle risorse. Questa impostazione viene utilizzata quando il nome visualizzato nell\'albero delle risorse è impostato a "Default".';
-
-$_lang["resource_opt_alvisibled"] = 'Usa l\'alias attuale nel percorso';
-$_lang["resource_opt_alvisibled_help"] = 'L\'alias di questa risora è inserito nel percorso degli Url Semplici';
-$_lang['resource_opt_is_published'] = 'Published';
-$_lang["docid_incrmnt_method_title"] = 'Metodo di incremento per l\'ID della Risorsa:';
-$_lang["docid_incrmnt_method_0"] = 'Incremento automatico DB';
-$_lang["docid_incrmnt_method_1"] = 'ID libero più basso';
-$_lang["docid_incrmnt_method_2"] = 'ID più grande + 1';
-
-$_lang["cache_type_title"] = 'Tipologia della cache dei documenti:';
-$_lang["cache_type_1"] = 'La cache si basa solo sull\'ID della Risorsa (standard)';
-$_lang["cache_type_2"] = 'La cache si basa sull\'ID della risorsa e sui parametri $_GET';
-$_lang["seostrict_title"] = 'Usa URL univoci:';
-$_lang["seostrict_message"] = 'Forza l\'uso di URL SEO univoche per prevenire contenuti duplicati (se necessario)';
-$_lang["aliaslistingfolder_title"] = 'Usa AliasListing solo per le cartelle';
-$_lang["aliaslistingfolder_message"] = 'Riduce il consumo di memoria quando si ha un gran numero di risorse';
-
-$_lang["settings_friendlyurls_alert"] = 'E\' necessario rinominare il file ht.access presente nella root dell\'installazione di EVO in .htaccess per poter utilizzare gli URL Semplici.';
-$_lang["settings_friendlyurls_alert2"] = 'Dasto che EVO è installato in una sottodirectory è necessario modificare di conseguenza il file .htaccess.';
-
-$_lang["user_street"] = 'Strada';
-$_lang["user_city"] = 'Città';
-$_lang["user_other"] = 'Altro';
-
-$_lang["import_site.static.php1"] = 'Resetta l\'albero delle Risorse';
-$_lang["import_site.static.php2"] = 'Resetta l\'albero e inizializza tutti gli ID delle Risorse.';
-$_lang["import_site.static.php3"] = 'Target';
-$_lang["import_site.static.php4"] = 'Soltanto la parte <body></body>';
-$_lang["import_site.static.php5"] = 'Tutto il contenuto del file';
-
-$_lang["a83_ignore_ids_title"] = 'Ignora questi ID (separati da virgola)';
-$_lang["export_site.static.php1"] = 'Target';
-$_lang["export_site.static.php2"] = 'Soltanto le Risorse modificate';
-$_lang["export_site.static.php3"] = 'Tutte le Risorse';
-$_lang["export_site.static.php4"] = 'Cerca ';
-$_lang["export_site.static.php5"] = 'Sostituisci con';
-$_lang["export_site.static.php6"] = 'Target';
-$_lang["export_site.static.php7"] = 'Impossibile salvare i files su [+rb_base_url+]';
-
-$_lang["mutate_settings.dynamic.php6"] = 'Invia una mail per gli errori EVO:';
-$_lang["mutate_settings.dynamic.php7"] = 'Non notificare';
-$_lang["mutate_settings.dynamic.php8"] = 'Verrà inviata una mail con la descrizione dell\'errore EVO a [(emailsender)] ([+emailsender+]). Si potranno vedere i dettagli dell\'errore dal Log Eventi.';
-
-$_lang["error_no_privileges"] = "Non avete i diritti necessari per effettuare questa operazione!";
-$_lang["error_no_optimise_tablename"] = "Impossibile trovare la tabella da ottimizzare!";
-$_lang["error_no_truncate_tablename"] = "Impossibile trovare la tabella da troncare!";
-$_lang["error_double_action"] = "E' stata inviata una doppia azione (GET e POST)!";
-$_lang["error_no_id"] = "Nella richiesta manca l'ID del documento!";
-$_lang["error_id_nan"] = "L'ID passato nella richiesta è NaN!";
-$_lang["error_no_parent"] = "Impossibile trovare il nome del documento genitore!";
-$_lang["error_many_results"] = "Sono stati trovati troppi risultati nel database!";
-$_lang["error_no_results"] = "Sono stati trovati pochi risultati (o nessuno) nel database!";
-$_lang["error_no_user_selected"] = "Non è stato selezionato l'utente a cui inviare questo messaggio!";
-$_lang["error_no_group_selected"] = "Non è stato selezionato il gruppo a cui inviare questo messaggio!";
-$_lang["error_movedocument1"] = "Il documento non può essere genitore di se stesso!";
-$_lang["error_movedocument2"] = "Nella richiesta manca l'ID del documento!";
-$_lang["error_movedocument3"] = "Nella richiesta non è stato indicato il nuovo genitore!";
-
-$_lang["login_processor_unknown_user"] = "Username o password errati!";
-$_lang["login_processor_wrong_password"] = "Username o password errati!";
-$_lang["login_processor_many_failed_logins"] = "Accesso bloccato a causa di troppi tentativi falliti!";
-$_lang["login_processor_blocked1"] = "Impossibile accedere, l'accesso è stato bloccato!";
-$_lang["login_processor_blocked2"] = "L'accesso è stato bloccato! Riprovare più tardi.";
-$_lang["login_processor_blocked3"] = "Dopo una certa data sarai bloccato e non potrai più accedere!";
-$_lang["login_processor_bad_code"] = "Codice di sicurezza errato! Riprovare!";
-$_lang["login_processor_remotehost_ip"] = "In nome del tuo host non corrisponde al tuo indirizzo IP!";
-$_lang["login_processor_remote_ip"] = "Non ti puoi collegare da questa località!";
-$_lang["login_processor_date"] = "Non puoi accedere adesso. Prova in un altro momento.";
-$_lang["login_processor_captcha_config"] = "Captcha non è configurato correttamente.";
-
-$_lang["dp_dayNames"] = "['Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'] ";
-$_lang["dp_monthNames"] = "['Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giusgno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre']";
-$_lang["dp_startDay"] = "1";
-
-$_lang["check_all"] = "Seleziona tutto";
-$_lang["check_none"] = "Annulla selezione";
-$_lang["check_toggle"] = "Inverti selezione";
-
-$_lang["version_notices"] = "Novità in questa versione";
-
-$_lang["em_button_shift"] = "(Shift-click del mouse per aprire più finestre)";
-
-$_lang["reset_sysfiles_checksum_button"] = "Resetta Controllo";
-$_lang["reset_sysfiles_checksum_alert"] = "Sei sicuro di voler resettare il controllo dei file di sistema?";
-
-$_lang["file_browser_disabled_msg"] = "Il File Browser non è abilitato";
-$_lang["which_browser_default_title"]= "Default File Browser";
-$_lang["which_browser_default_msg"]= "Scegli il browser di file come default. Nelle Impostazioni utente è possibile scegliere un browser personalizzato per ogni utente, o lasciarlo impostato al "default".";
-$_lang["which_browser_title"]= "File Browser";
-$_lang["which_browser_msg"]= "È possibile scegliere un browser di file personalizzato per ogni utente. Per utilizzare l'impostazione predefinita, lasciarlo su "Default".";
-$_lang["option_default"] = "Default";
-$_lang["position"] = "Posizione";
-$_lang["are_you_sure"] = "Sei sicuro?";
-
-$_lang['evo_downloads_title'] = "Evolution Downloads";
-$_lang['help_translating_title'] = "Contribuisci alla traduzione di EVO Evolution";
-$_lang['download'] = "Download";
-$_lang['downloads'] = "Downloads";
-$_lang["previous_releases"] = "Precedente Release ";
-$_lang["extras"] = "Extras";
-
-$_lang["display_locks"] = "Mostra Blocchi";
-$_lang["role_display_locks"] = "Mostra Blocchi";
-$_lang["session_timeout"] = "Timeout Sessione";
-$_lang["session_timeout_msg"] = "EVO effettua il ping al server una volta ogni minuto per aggiornare il controllo di posta. Se l'ultimo ping supera questa impostazione, la sessione associata sarà considerata non valida e tutti i blocchi relativi saranno rimossi automaticamente. Inserisci il valore in minuti (> 2 minuti, di default 15 minuti).";
-$_lang["unlock_element_id_warning"] = "Sei sicuro di voler sbloccare questo [+element_type+] (ID [+id+])?";
-$_lang["lock_element_type_1"] = "Template";
-$_lang["lock_element_type_2"] = "Template-Variable";
-$_lang["lock_element_type_3"] = "Chunk";
-$_lang["lock_element_type_4"] = "Snippet";
-$_lang["lock_element_type_5"] = "Plugin";
-$_lang["lock_element_type_6"] = "Modulo";
-$_lang["lock_element_type_7"] = "Risorsa";
-$_lang["lock_element_type_8"] = "Ruolo";
-$_lang["lock_element_editing"] = "Stai modificando questo [+element_type+] da\n[+lasthit_df+]";
-$_lang["lock_element_locked_by"] = "Questo [+element_type+] è bloccato dall'\n[+username+] da [+lasthit_df+]";
-
-$_lang["minifyphp_incache_title"] = 'Minimizza il codice php nella cache';
-$_lang["minifyphp_incache_message"] = 'Minimizza il codice php(snippets e plugins) e salva nel file di chache, ref:#938 ';
-
-$_lang["logout_reminder_msg"] = "Promemoria: Sembra che il [+date+] ti sei dimenticato di effettuare il logout. Si prega di prestare attenzione in futuro nel fare logout quando si ha finito di lavorare.";
-
-$_lang["allow_eval_title"] = "Utilizza Eval per eseguire il codice PHP nelle chiamate snippet";
-$_lang["allow_eval_msg"] = "Per gli sviluppatori : Si prega di utilizzare \$modx->safeEval().";
-$_lang["allow_eval_with_scan"] = "Esegui solo funzioni consentite";
-$_lang["allow_eval_with_scan_at_post"] = "Esegui tutto, eccetto in caso di POST, dove esegui solo funzioni consentite";
-$_lang["allow_eval_everytime_eval"] = "Illimitato (utilizzare solo per il debug)";
-$_lang["allow_eval_dont_eval"] = "Non consentire tutte le funzioni";
-
-$_lang["safe_functions_at_eval_title"] = "Funzioni in cui consentire eval";
-$_lang["safe_functions_at_eval_msg"] = "Elenco separato da virgole";
-
-$_lang["multiple_sessions_msg"] = "Informazione: Rilevate contemporaneamente sessioni multiple attive (totale [+total+]) per l'utente [+username+] b>.";
-$_lang["iconv_not_available"] = "È importante installare / abilitare l'estensione iconv.. Contatta il tuo fornitore di l'host, se non sai come abilitarlo.";
-
-$_lang["cm_create_new_category"] = "Crea una nuova categoria";
-$_lang["cm_category_name"] = "Nome categoria";
-$_lang["cm_category_position"] = "Posizione categoria";
-$_lang["cm_no_x_assigned"] = "No %s assegnati";
-$_lang["cm_save_categorization"] = "Salva categorizzazione";
-$_lang["cm_update_categories"] = "Aggiorna categorie";
-$_lang["cm_assigned_elements"] = "Assegna elementi";
-$_lang["cm_edit_name"] = "Modifica nome";
-$_lang["cm_mark_for_deletion"] = "Segna per l'eliminazione";
-$_lang["cm_delete_now"] = "Elimina immediatamente";
-$_lang["cm_delete_element_x_now"] = "Elimina "%s" immediatamente";
-$_lang["cm_select_element_group"] = "Seleziona un gruppo di elementi";
-$_lang["cm_global_messages"] = "Messaggi globali";
-$_lang["cm_add_new_category"] = "Aggiungi categoria";
-$_lang["cm_edit_categories"] = "Modifica categoria";
-$_lang["cm_sort_categories"] = "Ordina categorie";
-$_lang["cm_categorize_elements"] = "Categorizza elementi";
-$_lang["cm_translation"] = "Traduzione";
-$_lang["cm_translations"] = "Traduzioni";
-$_lang["cm_categorize_x"] = "Categorizza %s ";
-$_lang["cm_unknown_error"] = "Qualcosa è andato storto.";
-$_lang["cm_x_assigned_to_category_y"] = "%s(%s) è stato assegnato alla categoria %s(%s) ";
-$_lang["cm_no_categorization"] = "Nessuna categorizzazione effettuata";
-$_lang["cm_no_changes"] = "Nessuna modifica effettuata.";
-$_lang["cm_x_changes_made"] = "%s modifiche effettuate";
-$_lang["cm_enter_name_for_category"] = "Inserisci un nome per la categoria";
-$_lang["cm_category_x_exists"] = "La categoria %s già esiste .";
-$_lang["cm_category_x_saved_at_position_y"] = "La nuova categoria %s è stata salvata nella posizione %s .";
-$_lang["cm_category_x_moved_to_position_y"] = "Categoria %s spostata alla posizione %s ";
-$_lang["cm_category_x_deleted"] = "La categoria %s è stata cancellata";
-$_lang["cm_category_x_renamed_to_y"] = "La categoria %s è stata rinominata %s ";
-$_lang["cm_translation_for_x_empty"] = "La traduzione per %s è assente";
-$_lang["cm_translation_for_x_to_y_success"] = "La traduzione di %s a%s è stata salvata";
-$_lang["cm_save_new_sorting"] = "Salva nuovo ordine";
-$_lang["cm_translate_phrases"] = "Traduci frase";
-$_lang["cm_translate_module_phrases"] = "Traduci frasi del modulo";
-$_lang["cm_native_phrase"] = "Frase nativa";
-
-$_lang["btn_view_options"] = 'Opzioni di visualizzazione';
-$_lang["view_options_msg"] = 'La visualizzazione e l\'elenco degli elementi possono essere personalizzati tramite il pulsante "Opzioni di visualizzazione". Le impostazioni vengono salvate e ripristinate per Browser usando localStorage di HTML5.';
-$_lang["viewopts_title"] = 'Opzioni di visualizzazione';
-$_lang["viewopts_cb_buttons"] = 'Bottoni';
-$_lang["viewopts_cb_descriptions"] = 'Descrizioni';
-$_lang["viewopts_cb_icons"] = 'Icone';
-$_lang["viewopts_radio_list"] = 'Lista';
-$_lang["viewopts_radio_inline"] = 'Inline';
-$_lang["viewopts_radio_flex"] = 'Flex';
-$_lang["viewopts_fontsize"] = 'Dimensione font';
-$_lang["viewopts_cb_alltabs"] = 'Tutti i Tab';
\ No newline at end of file
+PHP Application Framework e Content Management System distribuito sotto licenza GNU GPL .';
+$_lang["about_title"] = 'Cos\'è EVO';
+$_lang["access_permission_denied"] = 'Non avete i permessi per accedere alla Risorsa.';
+$_lang["access_permission_parent_denied"] = 'Non avete il permesso di creare o spostare qui una Risorsa! Scegliete un\'altra destinazione.';
+$_lang["access_permissions"] = 'Permessi di accesso';
+$_lang["access_permissions_add_resource_group"] = 'Crea un nuovo Gruppo di Risorse';
+$_lang["access_permissions_add_user_group"] = 'Crea un nuovo Gruppo di Utenti';
+$_lang["access_permissions_docs_collision"] = 'A causa di un conflitto fra il Web User Groups e il Manager User Groups del vostro Ruolo, questa Risorsa sarà pubblica. Contattare un amministratore di sistema per maggiori chiarimenti.';
+$_lang["access_permissions_docs_message"] = 'Qui potete selezionare a quali gruppi appartiene la Risorsa';
+$_lang["access_permissions_group_link"] = 'Crea un nuovo gruppo';
+$_lang["access_permissions_introtext"] = 'Qui potete gestire i Gruppi di Utenti e i Gruppi di Risorse. Per aggiungere un utente a un gruppo, modificate l\'utente e selezionate il gruppo di cui deve fare parte. Per assegnare una Risorsa ad un Gruppo di Utenti, modificate la Risorsa e selezionate i gruppi a cui deve appartenere.';
+$_lang["access_permissions_link_to_group"] = 'al Gruppo Risorse';
+$_lang["access_permissions_link_user_group"] = 'Link a Gruppo Utenti';
+$_lang["access_permissions_links"] = 'Collegamenti Gruppi di Utenti/Risorse';
+$_lang["access_permissions_links_tab"] = 'Qui potete specificare a quali Gruppi di Utenti è permesso l\'accesso ai Gruppi di Risorse (ad es.: possono modificare o creare Risorse). Per collegare un Gruppo di Risorse a un Gruppo di Utenti, selezionatelo dalla lista a tendina, e fate clic su \'Aggiungi gruppo\'. Per rimuovere il collegamento ad un certo gruppo premete \'Rimuovi ->\'. Il collegamento sarà immediatamente eliminato.';
+$_lang["access_permissions_no_resources_in_group"] = 'Nessuno.';
+$_lang["access_permissions_no_users_in_group"] = 'Nessuno.';
+$_lang["access_permissions_off"] = 'I permessi di accesso non sono stati attivati. Questo significa che qualsiasi modifica qui eseguita non avrà alcun effetto finchè i permessi di accesso non saranno attivati.';
+$_lang["access_permissions_resource_groups"] = 'Gruppi di Risorse';
+$_lang["access_permissions_resources_in_group"] = 'Risorse nel gruppo: ';
+$_lang["access_permissions_resources_tab"] = 'Qui potete vedere i Gruppi di Risorse che sono stati impostati. Potete anche crearne di nuovi, rinominarli, eliminarli e vedere quali Risorse sono presenti nei differenti gruppi (posizionate il mouse sull\'ID della Risorsa per vederne il nome). Per aggiungere una Risorsa ad un gruppo o per rimuoverla da un gruppo, modificate direttamente la Risorsa.';
+$_lang["access_permissions_user_groups"] = 'Gruppi di Utenti';
+$_lang["access_permissions_user_message"] = 'Qui potete selezionare a quali Gruppi di Utenti appartiene l\'utente:';
+$_lang["access_permissions_users_in_group"] = 'Utenti del gruppo: ';
+$_lang["access_permissions_users_tab"] = 'Qui potete vedere i Gruppi di Utenti che sono stati impostati. Potete anche crearne di nuovi, rinominarli, eliminarli e vedere quali utenti fanno parte dei differenti gruppi. Per aggiungere un nuovo utente a un gruppo o per rimuoverlo da un gruppo, modificate direttamente l\'utente. Gli amministratori (utenti a cui è assegnato il Ruolo con ID 1) hanno sempre accesso a tutte le Risorse, quindi non hanno necessità di essere aggiunti ad alcun gruppo.';
+$_lang["account_email"] = 'Indirizzo email';
+$_lang["actioncomplete"] = 'Azione completata con successo! Vi preghiamo di attendere che EVO ripulisca.';
+$_lang["activity_message"] = 'Questa lista mostra le ultime Risorse che avete creato o modificato:';
+$_lang["activity_title"] = 'Risorse modificate o create di recente';
+$_lang["add"] = 'Aggiungi';
+$_lang["add_chunk"] = 'Aggiungi Chunk';
+$_lang["add_doc"] = 'Aggiungi Risorsa';
+$_lang["add_folder"] = 'Nuova cartella';
+$_lang["add_plugin"] = 'Aggiungi Plugin';
+$_lang["add_resource"] = 'Nuova Risorsa';
+$_lang["add_snippet"] = 'Aggiungi Snippet';
+$_lang["add_tag"] = 'Aggiungi tag';
+$_lang["add_template"] = 'Aggiungi Template';
+$_lang["add_tv"] = 'Aggiungi Variabile di Template';
+$_lang["add_weblink"] = 'Nuovo Link Web';
+$_lang["administrator_role_message"] = 'Questo Ruolo non può essere modificato o eliminato.';
+$_lang["administrators"] = 'Amministratori';
+$_lang["after_saving"] = 'Dopo il salvataggio';
+$_lang["alert_delete_self"] = 'Non potete eliminare voi stessi!';
+$_lang["alias"] = 'Alias';
+$_lang["all_doc_groups"] = 'Tutti i Gruppi di Risorse (Pubblico)';
+$_lang["all_events"] = 'Tutti gli eventi';
+$_lang["all_usr_groups"] = 'Tutti i Gruppi di Utenti (Pubblico)';
+$_lang["allow_mgr_access"] = 'Accesso all\'interfaccia di amministrazione';
+$_lang["allow_mgr_access_message"] = 'Selezionate questa opzione per abilitare o disabilitare l\'accesso dell\'utente al Manager. NOTA: Se selezionate \'No\' l\'utente verrà ridiretto alla Pagina di accesso del Manager o alla Home Page del sito. ';
+$_lang["already_deleted"] = 'è già stato eliminato.';
+$_lang["attachment"] = 'Allegato';
+$_lang["author_infos"] = 'Info sull\'autore';
+$_lang["automatic_alias_message"] = 'Selezionate \'Si\' affinchè il sistema, al momento del salvataggio, generi automaticamente un alias basato sul titolo della Risorsa.';
+$_lang["automatic_alias_title"] = 'Genera automaticamente l\'alias:';
+$_lang["backup"] = 'Backup';
+$_lang["bk_manager"] = 'Backup';
+$_lang["block_message"] = 'L\'utente sarà bloccato dopo aver salvato i suoi dati!';
+$_lang["blocked_minutes_message"] = 'Qui potete inserire per quanti minuti un utente sarà bloccato dopo aver superato il numero consentito di login errati. Inserite solo numeri, senza punti o virgole.';
+$_lang["blocked_minutes_title"] = 'Minuti di blocco:';
+$_lang["cache_files_deleted"] = 'Sono stati eliminati i seguenti files:';
+$_lang["cancel"] = 'Annulla';
+$_lang["captcha_code"] = 'Codice di sicurezza';
+$_lang["captcha_message"] = 'Abilitatelo per aumentare la sicurezza richiedendo agli utenti di inserire un codice illeggibile dalle macchine (e dagli script degli hackers).';
+$_lang["captcha_title"] = 'Usa codici CAPTCHA:';
+$_lang["captcha_words_default"] = 'EVO,Access,Better,BitCode,Chunk,Cache,Desc,Design,Excell,Enjoy,URLs,TechView,Gerald,Griff,Humphrey,Holiday,Intel,Integration,Joystick,Join(),Oscope,Genetic,Light,Likeness,Marit,Maaike,Niche,Netherlands,Ordinance,Oscillo,Parser,Phusion,Query,Question,Regalia,Righteous,Snippet,Sentinel,Template,Thespian,Unity,Enterprise,Verily,Tattoo,Veri,Website,WideWeb,Yap,Yellow,Zebra,Zygote';
+$_lang["captcha_words_message"] = 'Qui potete inserire una lista di parole CAPTCHA da usare quando CAPTCHA è abilitato. Separate le parole con virgole. Questo campo è limitato a 255 caratteri.';
+$_lang["captcha_words_title"] = 'Parole CAPTCHA:';
+$_lang["category_heading"] = 'Categoria';
+$_lang["category_manager"] = 'Gestione Categorie';
+$_lang["category_management"] = 'Gestione Categorie';
+$_lang["manage_categories"] = 'Gestione Categorie';
+$_lang["category_msg"] = 'Qui potete vedere tutte le Risorse per categoria.';
+$_lang["cfg_base_path"] = 'MODX_BASE_PATH';
+$_lang["cfg_base_url"] = 'MODX_BASE_URL';
+$_lang["cfg_manager_path"] = 'MODX_MANAGER_PATH';
+$_lang["cfg_manager_url"] = 'MODX_MANAGER_URL';
+$_lang["cfg_site_url"] = 'MODX_SITE_URL';
+$_lang["change_name"] = 'Cambia nome';
+$_lang["change_password"] = 'Cambia password';
+$_lang["change_password_confirm"] = 'Conferma password';
+$_lang["change_password_message"] = 'Inserite la nuova password e successivamente riscrivetela per conferma. La password deve essere lunga da 6 a 15 caratteri.';
+$_lang["change_password_new"] = 'Nuova password';
+$_lang["charset_message"] = 'Selezionate la codifica caratteri per la variabile di sistema [(modx_charset)]. Questa impostazione non ha impatto sul Manager.';
+$_lang["charset_title"] = 'Codifica caratteri:';
+$_lang["chunk"] = 'Chunk';
+$_lang["chunk_code"] = 'Codice del Chunk (HTML)';
+$_lang["chunk_multiple_id"] = 'Errore: Diversi Chunks hanno lo stesso ID.';
+$_lang["chunk_no_exist"] = 'Il Chunk non esiste.';
+$_lang["cleaningup"] = 'Sto ripulendo';
+$_lang["clean_uploaded_filename"] = 'Normalizzare automaticamente i nomi dei files caricati';
+$_lang["clean_uploaded_filename_message"] = 'Usa la configurazione di default o quella di transalias per eliminare dal nome dei files caricati i caratteri speciali, mantenendo i punti (.)';
+$_lang["clear_log"] = 'Pulisci log';
+$_lang["click_to_context"] = 'Cliccate per accedere al menu contestuale';
+$_lang["click_to_edit_title"] = 'Cliccate qui per modificare questo record';
+$_lang["click_to_view_details"] = 'Cliccate qui per vedere i dettagli';
+$_lang["close"] = 'Chiudi';
+$_lang["code"] = 'Codice';
+$_lang["collapse_tree"] = 'Comprimi struttura ad albero';
+$_lang["comment"] = 'Commenti';
+$_lang["configcheck_admin"] = 'Vi preghiamo di contattare l\'amministratore di sistema e avvisarlo di questo messaggio!';
+$_lang["configcheck_cache"] = 'impossibile scrivere nella directory della cache';
+$_lang["configcheck_cache_msg"] = 'EVO non può scrivere nella cartella cache. EVO continuerà a funzionare come previsto, ma non sarà possibile fare caching. Per risolvere, rendete la cartella /_cache/ scrivibile.';
+$_lang["configcheck_configinc"] = 'Il file di configurazione (/[+MGR_DIR+]/includes/config.inc.php) è ancora scrivibile';
+$_lang["configcheck_configinc_msg"] = 'Qualche malintenzionato potrebbe combinare guai sul vostro sito e tutto ciò che è collegato ad esso. Sul serio. Impostate il file di configurazione (/[+MGR_DIR+]/includes/config.inc.php) in sola lettura!';
+$_lang["configcheck_default_msg"] = 'E\' stato trovato un avviso non specificato. Questo è strano.';
+$_lang["configcheck_errorpage_unavailable"] = 'La pagina di Errore del vostro sito non è disponibile.';
+$_lang["configcheck_errorpage_unavailable_msg"] = 'Ciò significa che la pagina di Errore non esiste o non è accessibile da parte dei normali visitatori web. Questo può generare un loop ricorsivo e scrivere numerosi errori nel log del vostro sito. Verificate che non ci siano Gruppi di Utenti Web assegnati a questa pagina.';
+$_lang["configcheck_errorpage_unpublished"] = 'La pagina di Errore del vostro sito non esiste o non è stata pubblicata.';
+$_lang["configcheck_errorpage_unpublished_msg"] = 'Ciò significa che la pagina di Errore non è accessibile da parte del pubblico. Pubblicate la pagina o selezionate una Risorsa esistente nella struttura ad albero del vostro sito dal menu Strumenti -> Configurazione.';
+$_lang["configcheck_filemanager_path"] = 'La configurazione del percorso del File Manager sembra errata.';
+$_lang["configcheck_filemanager_path_msg"] = 'Questo può accadere, per esempio, quando si sposta l\'installazione di EVO in una differente cartella o server. Per favore, controlla e aggiorna la configurazione di sistema di EVO.';
+$_lang["configcheck_hide_warning"] = 'Non mostrare più questo messaggio. ';
+$_lang["configcheck_images"] = 'Impossibile scrivere nella directory delle immagini';
+$_lang["configcheck_images_msg"] = 'La cartella immagini non è scrivibile o non esiste. Questo significa che il sistema di gestione immagini dell\'editor non funzionerà!';
+$_lang["configcheck_installer"] = 'L\'Installer è ancora presente';
+$_lang["configcheck_installer_msg"] = 'La directory /install contiene il programma di installazione di EVO. Immaginate cosa potrebbe succedere se un malintenzionato trovasse questa directory ed eseguisse l\'installazione. Forse non riuscirebbe a fare molto visto che gli servirebbe anche la password per la connessione al database, ma è decisamente meglio cancellare questa directory dal server.';
+$_lang["configcheck_lang_difference"] = 'Numero errato di voci nel file di lingua';
+$_lang["configcheck_lang_difference_msg"] = 'La lingua correntemente selezionata ha un differente numero di voci rispetto alla lingua di default. Pur non essendo necessariamente un problema, questo significa che il file di lingua richiede un aggiornamento.';
+$_lang["configcheck_notok"] = 'Verificare alcuni dettagli della configurazione: ';
+$_lang["configcheck_ok"] = 'Controllo OK - Nessun avviso da segnalare.';
+$_lang["configcheck_php_gdzip"] = 'Le estensioni PHP GD e/o Zip non sono state trovate';
+$_lang["configcheck_php_gdzip_msg"] = 'EVO richiede le estensioni PHP GD e Zip. EVO funziona anche senza, ma non potrete utilizzare File Manager, Image Editor e Captcha.';
+$_lang["configcheck_rb_base_dir"] = 'La configurazione del File base path sembra errata.';
+$_lang["configcheck_rb_base_dir_msg"] = 'Questo può accadere, per esempio, quando si sposta l\'installazione di EVO in una differente cartella o server. Per favore, controlla e aggiorna la configurazione di sistema di EVO.';
+$_lang["configcheck_register_globals"] = 'Nel vostro file di configurazione php.ini, il valore register_globals è impostato su ON';
+$_lang["configcheck_register_globals_msg"] = 'Questa configurazione rende il vostro sito molto più suscettibile agli attacchi di Cross Site Scripting (XSS). Contattate il vostro fornitore di hosting per capire cosa si può fare per disabilitare questa impostazione.';
+$_lang["configcheck_title"] = 'Controllo della configurazione';
+$_lang["configcheck_templateswitcher_present"] = 'Rilevato il Plugin TemplateSwitcher';
+$_lang["configcheck_templateswitcher_present_delete"] = 'Elimina TemplateSwitcher ';
+$_lang["configcheck_templateswitcher_present_disable"] = 'Disabilita TemplateSwitcher ';
+$_lang["configcheck_templateswitcher_present_msg"] = 'Il Plugin TemplateSwitcher puo\' creare problemi di prestazioni e caching, vi consigliamo di utilizzarlo solo se necessario.';
+$_lang["configcheck_unauthorizedpage_unavailable"] = 'La pagina Non Autorizzato del vostro sito non esiste o non è stata pubblicata.';
+$_lang["configcheck_unauthorizedpage_unavailable_msg"] = 'Ciò significa che la pagina di Non Autorizzato non esiste o non è accessibile da parte dei normali visitatori web. Questo fatto generare un loop ricorsivo e scrivere numerosi errori nel log del vostro sito. Verificate che non ci siano Gruppi di Utenti Web assegnati a questa pagina.';
+$_lang["configcheck_unauthorizedpage_unpublished"] = 'La pagina Non Autorizzato del vostro sito non è stata pubblicata.';
+$_lang["configcheck_unauthorizedpage_unpublished_msg"] = 'Ciò significa che la pagina di Non Autorizzato non è accessibile ai visitatori. Pubblicate la pagina o selezionate una Risorsa esistente nella struttura ad albero del vostro sito dal menu Strumenti -> Configurazione.';
+$_lang["configcheck_validate_referer"] = 'Avviso di Sicurezza: Validazione headers HTTP';
+$_lang["configcheck_validate_referer_msg"] = 'L\'opzione di Validazione degli headers HTTP_REFERER? non è attivata. Raccomandiamo di attivarla. Vai alle Opzioni di Configurazione ';
+$_lang["configcheck_warning"] = 'Avviso di configurazione:';
+$_lang["configcheck_what"] = 'Che cosa significa?';
+$_lang["confirm_block"] = 'Siete sicuri di voler bloccare l\'utente?';
+$_lang["confirm_delete_category"] = 'Sei sicuro di voler cancellare questa categoria?';
+$_lang["confirm_delete_eventlog"] = 'Siete sicuri di voler cancellare questo log?';
+$_lang["confirm_delete_file"] = 'Siete sicuri di voler eliminare il file?\n\nQuesto potrebbe impedire al sito di funzionare regolarmente! Eliminatelo solo se avete la certezza che quello che state facendo non pregiudica nulla.';
+$_lang["confirm_delete_group"] = 'Sei sicuro di voler eliminare questo gruppo?';
+$_lang["confirm_delete_htmlsnippet"] = 'Siete sicuri di voler eliminare il Chunk?';
+$_lang["confirm_delete_keywords"] = 'Siete sicuri di voler eliminare le parole chiave?';
+$_lang["confirm_delete_module"] = 'Siete sicuri di voler cancellare questo Modulo?';
+$_lang["confirm_delete_plugin"] = 'Siete sicuri di voler eliminare questo Plugin?';
+$_lang["confirm_delete_record"] = 'Siete sicuri di voler eliminare i records selezionati?';
+$_lang["confirm_delete_resource"] = 'Siete sicuri di voler eliminare questa Risorsa?\nSaranno eliminate anche tutte le Risorse in essa contenute.';
+$_lang["confirm_delete_role"] = 'Siete sicuri di voler eliminare questo Ruolo?';
+$_lang["confirm_delete_snippet"] = 'Siete sicuri di voler eliminare lo Snippet?';
+$_lang["confirm_delete_tags"] = 'Siete sicuri di voler cancellare questo META tag?';
+$_lang["confirm_delete_template"] = 'Siete sicuri di voler eliminare il Template?';
+$_lang["confirm_delete_tmplvars"] = 'Siete sicuri di voler rimuovere la Variabile di Template e tutti i suoi valori memorizzati?';
+$_lang["confirm_delete_user"] = 'Siete sicuri di voler eliminare l\'utente?';
+$_lang["confirm_duplicate_record"] = 'Siete sicuri di voler duplicare questo record?';
+$_lang["confirm_empty_trash"] = 'Volete rimuovere permanentemente tutte le Risorse eliminate?\n\nProcedere?';
+$_lang["confirm_load_depends"] = 'Siete sicuri di voler caricare la finestra di Impostazione Dipendenze senza salvare le modifiche?';
+$_lang["confirm_name_change"] = 'Cambiare nome utente può avere effetto su altre applicazioni collegate al Sistema di Gestione dei Contenuti. \n\n Siete sicuri di voler cambiare il nome utente?';
+$_lang["confirm_publish"] = '\n\nPubblicando ora la Risorsa rimuoverete ogni data di pubblicazione o ritiro che potreste aver impostato. Se invece volete cambiare o mantenere le date di pubblicazione/ritiro, allora scegliete la \'modifica\' della Risorsa.\n\nProcedere?';
+$_lang["confirm_remove_locks"] = 'Gli utenti a volte chiudono il browser mentre stanno modificando Risorse, Templates o Snippets lasciando con ogni probabilità questi oggetti in stato di blocco.\nPremendo OK rimuoverete TUTTI i blocchi attualmente presenti.\n\nProcedere?';
+$_lang["confirm_reset_sort_order"] = 'Sei sicuro di voler azzerare l\'\"ordinamento / indice\" di tutti gli elementi elencati a 0?';
+$_lang["confirm_resource_duplicate"] = 'Siete sicuri di voler duplicare questa Risorsa/Cartella? Saranno anche duplicate tutte le Risorse/Catelle che contiene.';
+$_lang["confirm_setting_language_change"] = 'Avete modificato il valore di default e si perderanno le modifiche. Procedere?';
+$_lang["confirm_unblock"] = 'Siete sicuri di voler sbloccare l\'utente?';
+$_lang["confirm_undelete"] = '\n\nTutte le Risorse eliminate insieme alla Risorsa genitore potranno essere recuperate, ma non quelle eliminate in precedenza.';
+$_lang["confirm_unpublish"] = '\n\nRitirando ora la Risorsa rimuoverete ogni data di pubblicazione o ritiro che potreste aver impostato. Se invece volete cambiare o mantenere le date di pubblicazione e ritiro scegliete la \'modifica\' della Risorsa.\n\nProcedere?';
+$_lang["confirm_unzip_file"] = 'Siete sicuri di voler decomprimere il file?\n\nI file esistenti potrebbero essere sovrascritti.';
+$_lang["could_not_find_user"] = 'Utente non trovato';
+$_lang["create_folder_here"] = 'Crea una cartella';
+$_lang["create_resource_here"] = 'Crea una Risorsa';
+$_lang["create_resource_title"] = 'Crea Risorsa';
+$_lang["create_weblink_here"] = 'Crea un Link Web';
+$_lang["createdon"] = 'Data di creazione';
+$_lang["create_new"] = 'Crea nuovo';
+$_lang["credits"] = 'Crediti';
+$_lang["credits_shouts_msg"] = ' EVO è gestito e mantenuto da evo.im .
';
+$_lang["custom_contenttype_message"] = 'Qui potete impostare il \'content type\' delle Risorse pubblicate. Per aggiungere un nuovo \'content type\' inseritelo nel campo e fate clic sul pulsante \'Aggiungi\'.';
+$_lang["custom_contenttype_title"] = 'Tipo di Contenuto personalizzato:';
+$_lang["database_charset"] = 'Set di Caratteri del Database';
+$_lang["database_collation"] = 'Collation del Database';
+$_lang["database_name"] = 'Nome del Database';
+$_lang["database_overhead"] = 'Nota: L\'Overhead è lo spazio inutilizzato riservato da MySQL. Per liberare questo spazio, cliccate sulla cifra overhead della tabella.';
+$_lang["database_server"] = 'Server del Database';
+$_lang["database_table_clickbackup"] = 'Effettua il backup e scarica le tabelle selezionate';
+$_lang["database_table_clickhere"] = 'Cliccate qui';
+$_lang["database_table_datasize"] = 'Dimensione dei dati';
+$_lang["database_table_droptablestatements"] = 'Genera dichiarazioni DROP TABLE.';
+$_lang["database_table_effectivesize"] = 'Dimensioni effettive';
+$_lang["database_table_indexsize"] = 'Dimensioni dell\'indice';
+$_lang["database_table_overhead"] = 'Overhead';
+$_lang["database_table_records"] = 'Numero di records';
+$_lang["database_table_tablename"] = 'Nome della tabella';
+$_lang["database_table_totals"] = 'Totali:';
+$_lang["database_table_totalsize"] = 'Dimensione totale';
+$_lang["database_tables"] = 'Tabelle del Database';
+$_lang["database_version"] = 'Versione Database:';
+$_lang["date"] = 'Data';
+$_lang["datechanged"] = 'Data ultima modifica';
+$_lang["datepicker_offset"] = 'Offset del Datepicker: ';
+$_lang["datepicker_offset_message"] = 'Il numero di anni nel passato da mostrare nel datepicker.';
+$_lang["datetime_format"] = 'Formato Data:';
+$_lang["datetime_format_message"] = 'Il formato delle date nel Manager.';
+$_lang["default"] = 'Default:';
+$_lang["defaultcache_message"] = 'Selezionate \'Si\' se volete che di default tutte le nuove Risorse possano essere salvate nella cache.';
+$_lang["defaultcache_title"] = 'Inserisci in cache di default:';
+$_lang["defaultmenuindex_message"] = 'Selezionate \'Si\' per attivare di default l\'incremento automatico dell\'indice dei menu.';
+$_lang["defaultmenuindex_title"] = 'Incremento automatico indice dei Menu:';
+$_lang["defaultpublish_message"] = 'Selezionate \'Si\' se volete che tutte le nuove Risorse siano pubblicate di default.';
+$_lang["defaultpublish_title"] = 'Pubblicato di default:';
+$_lang["defaultsearch_message"] = 'Selezionate \'Si\' se volete che di default tutte le nuove Risorse siano ricercabili.';
+$_lang["defaultsearch_title"] = 'Ricercabile di default:';
+$_lang["defaulttemplate_message"] = 'Selezionate il Template di default che desiderate usare per le nuove Risorse. Potete sempre selezionarne di volta in volta uno diverso nell\'editor di Risorse, questa impostazione semplicemente ne preseleziona uno.';
+$_lang["defaulttemplate_title"] = 'Template di default:';
+$_lang["defaulttemplate_logic_title"] = 'Assegnazione Automatica del Template:';
+$_lang["defaulttemplate_logic_general_message"] = 'Le nuove Risorse avranno i seguenti Templates, verranno utilizzati i livelli piu\' alti se non trovati:';
+$_lang["defaulttemplate_logic_system_message"] = 'System : il Template di default del Sistema.';
+$_lang["defaulttemplate_logic_parent_message"] = 'Parent : lo stesso Template della cartella.';
+$_lang["defaulttemplate_logic_sibling_message"] = 'Sibling : lo stesso Template delle Risorse nella stessa cartella.';
+$_lang["delete"] = 'Elimina';
+$_lang["delete_resource"] = 'Elimina Risorsa';
+$_lang["delete_tags"] = 'Cancella tag';
+$_lang["deleting_file"] = 'Eliminazione file `%s`: ';
+$_lang["description"] = 'Descrizione';
+$_lang["deselect_keywords"] = 'Cancella parole chiave';
+$_lang["deselect_metatags"] = 'Cancella META tag';
+$_lang["disabled"] = 'Disabilitati';
+$_lang["doc_data_title"] = 'Visualizza dati della Risorsa';
+$_lang["documentation"] = 'Documentazione';
+$_lang["duplicate"] = 'Duplica';
+$_lang["duplicate_alias_found"] = 'La Risorsa \'%s\' utilizza già l\'alias \'%s\'. Inserire un altro alias.';
+$_lang["duplicate_alias_message"] = 'Qui potete selezionare \'Si\' per permettere gli alias duplicati. NOTA: Questa opzione deve essere usata con l\'opzione \'Percorso URL Semplici\' attiva per evitare problemi di riferimenti alle Risorse. ';
+$_lang["duplicate_alias_title"] = 'Permetti alias duplicati:';
+$_lang["duplicate_name_found_general"] = 'E\' già presente un %s chiamato \'%s\'. Inserite un nome univoco.';
+$_lang["duplicate_name_found_module"] = 'E\' già presente un Modulo chiamato \'%s\'. Inserite un nome univoco.';
+$_lang["duplicated_el_suffix"] = 'Duplica';
+$_lang["edit"] = 'Modifica';
+$_lang["edit_resource"] = 'Modifica Risorsa';
+$_lang["edit_resource_title"] = 'Crea/modifica Risorsa';
+$_lang["edit_settings"] = 'Configurazione';
+$_lang["editedon"] = 'Data modifica';
+$_lang["editing_file"] = 'Modifica file: ';
+$_lang["editor_css_path_message"] = 'Inserite il percorso del file CSS che volete usare con l\'editor. Vi consigliamo di inserire il percorso dalla root del vostro server, ad esempio: /assets/site/style.css. Se non volete caricare lo stile nell\'editor, lasciate vuoto questo campo.';
+$_lang["editor_css_path_title"] = 'Percorso del file CSS:';
+$_lang["element"] = 'Elemento';
+$_lang["element_categories"] = 'Vista Combinata';
+$_lang["element_filter_msg"] = 'Scrivi qui per filtrare la lista';
+$_lang["element_management"] = 'Gestione Elementi';
+$_lang["element_name"] = 'Nome Elemento';
+$_lang["element_selector_msg"] = 'Selezionate l\'Elemento e cliccate sul pulsante \'Aggiungi\'.';
+$_lang["element_selector_title"] = 'Selettore Elementi';
+$_lang["elements"] = 'Elementi';
+$_lang["email"] = 'Email';
+$_lang["email_sent"] = 'Email inviata';
+$_lang["emailsender_message"] = 'L\'indirizzo e-mail dell\'amministratore del sito. Ad esempio, questo indirizzo e-mail verrà utilizzato come destinazione di notifica del sistema di e-mail, ecc';
+$_lang["emailsender_title"] = 'Indirizzo e-mail:';
+$_lang["emailsubject_default"] = 'Le vostre credenziali per il login';
+$_lang["emailsubject_message"] = 'Qui potete specificare l\'oggetto della e-mail di iscrizione.';
+$_lang["emailsubject_title"] = 'Oggetto e-mail:';
+$_lang["empty_folder"] = 'Questa cartella è vuota';
+$_lang["empty_recycle_bin"] = 'Rimuovi le Risorse eliminate';
+$_lang["empty_recycle_bin_empty"] = 'Non sono presenti Risorse eliminate da cancellare.';
+$_lang["enable_resource"] = 'Abilita Risorsa.';
+$_lang["enable_sharedparams"] = 'Abilita condivisione parametri';
+$_lang["enable_sharedparams_msg"] = 'NOTA: L\'id unico globale (GUID) sarà usato per identificare in maniera univoca questo Modulo e i suoi parametri condivisi. Il GUID è anche utilizzato per creare un collegamento tra il Modulo ed i Plugins o Snippets che accedono ai suoi parametri condivisi. ';
+$_lang["enabled"] = 'Abilitati';
+$_lang["error"] = 'Errore';
+$_lang["error_sending_email"] = 'Errore invio mail';
+$_lang["errorpage_message"] = 'Inserite l\'ID della Risorsa da mostrare agli utenti che hanno richiesto una Risorsa che non esiste. NOTA: assicuratevi che l\'ID inserito appartenga a una Risorsa esistente e che sia stata pubblicata! ';
+$_lang["errorpage_title"] = 'Pagina di errore:';
+$_lang["event_id"] = 'ID Evento';
+$_lang["eventlog"] = 'Log degli Eventi';
+$_lang["eventlog_msg"] = 'Il Log degli Eventi mostra gli avvisi ed i messaggi di errore generati dal sistema di gestione dei contenuti. La colonna \'Sorgente\' mostra la sezione del sistema di gestione dei contenuti in cui il messaggio è stato mostrato.';
+$_lang["eventlog_viewer"] = 'Log degli Eventi';
+$_lang["everybody"] = 'Tutti';
+$_lang["existing_category"] = 'Categoria attuale';
+$_lang["expand_tree"] = 'Espandi struttura ad albero';
+$_lang["export_site"] = 'Esporta sito in HTML (statico)';
+$_lang["export_site_cacheable"] = 'Includi file non inseribili in cache:';
+$_lang["export_site_exporting_document"] = '[+status+] [+url+] - [+pagetitle+] ([+id+]) ';
+$_lang["export_site_failed"] = 'Fallita! ';
+$_lang["export_site_failed_no_open"] = 'Impossibile aprire il file: ';
+$_lang["export_site_failed_no_retrieve"] = 'Impossibile trovare la Risorsa.';
+$_lang["export_site_failed_no_write"] = 'Impossibile scrivere il file.';
+$_lang["export_site_html"] = 'Esporta sito in HTML';
+$_lang["export_site_maxtime"] = 'Tempo massimo di esportazione:';
+$_lang["export_site_maxtime_message"] = 'Qui potete specificare il numero di secondi che il sistema può impiegare per importare il sito (ignorando le impostazioni PHP). Inserite 0 per un tempo illimitato. Attenzione, un\'impostazione 0 o molto alta può causare un timeout del server, quindi non è raccomandata.';
+$_lang["export_site_message"] = 'Usando questa funzione potete esportare l\'intero sito in HTML. Considerate che così facendo perderete molte funzionalità di EVO:
Gli accessi alle pagine dei files esportati non saranno registrati. Gli Snippets interattivi NON funzionano nei file esportati. Solo le normali Risorse saranno esportate, i Link Web non lo saranno. Il processo di esportazione potrebbe fallire se le Risorse contengono Snippets che inviano headers HTTP di redirezione. A seconda di come avete scritto i documenti, i fogli di stile e le immagini, il layout del sito potrebbe rompersi. Per sistemarlo, potete provare a salvare/spostare i file esportati nella stessa cartella dove risiede il file index.php di EVO. Compilate il form e premete \'Avvia esportazione\' per avviare il processo. I file creati saranno salvati nel punto specificato usando, ove possibile, gli alias dei documenti come nomi dei file. Nell\'esportare il sito, sarebbe meglio aver attivato gli \'URL Semplici\' nella configurazione di EVO. In base alla dimensione del sito, l\'esportazione potrebbe impiegare un po\' di tempo.
Ogni file già esistente sarà sovrascritto dai nuovi file se hanno gli stessi nomi!
';
+$_lang["export_site_numberdocs"] = 'Trovate %s Risorse da esportare...
';
+$_lang["export_site_prefix"] = 'Prefisso file:';
+$_lang["export_site_start"] = 'Avvia esportazione';
+$_lang["export_site_success"] = 'Riuscita! ';
+$_lang["export_site_success_skip_dir"] = 'Saltare questa directory.';
+$_lang["export_site_success_skip_doc"] = 'Saltare questa Risorsa.';
+$_lang["export_site_suffix"] = 'Suffisso file:';
+$_lang["export_site_target_unwritable"] = 'La cartella target non è scrivibile. Vi preghiamo di assicurarvi che la cartella sia scrivibile e di riprovare.';
+$_lang["export_site_time"] = 'Esportazione terminata. L\'operazione è stata completata in %s secondi.';
+$_lang["failed_login_message"] = 'Qui potete inserire il numero delle volte che è consentito sbagliare l\'autenticazione prima che l\'account venga bloccato.';
+$_lang["failed_login_title"] = 'Autenticazioni errate consentite:';
+$_lang["fe_editor_lang_message"] = 'Selezionare il linguaggio dell\'editor quando usato nel front-end.';
+$_lang["fe_editor_lang_title"] = 'Lingua dell\'editor del Front-end:';
+$_lang["file_delete_file"] = 'Elimina File';
+$_lang["file_delete_folder"] = 'Elimina Cartella';
+$_lang["file_deleted"] = 'Riuscita!';
+$_lang["file_download_file"] = 'Scarica File';
+$_lang["file_download_unzip"] = 'Decomprimi File zip';
+$_lang["file_folder_chmod_error"] = 'Impossibile modificare i permessi: dovete effettuare la modifica dei permessi con un programma esterno a EVO.';
+$_lang["file_folder_created"] = 'Cartella creata con successo!';
+$_lang["file_folder_deleted"] = 'Cartella eliminata con successo!';
+$_lang["file_folder_not_created"] = 'Impossibile trovare la cartella';
+$_lang["file_folder_not_deleted"] = 'Impossibile eliminare la cartella. Verificare che sia vuota prima di eliminarla!';
+$_lang["file_not_deleted"] = 'Fallita!';
+$_lang["file_not_saved"] = 'Impossibile salvare il file, assicuratevi che la cartella di destinazione sia scrivibile!';
+$_lang["file_saved"] = 'File aggiornato con successo!';
+$_lang["file_unzip"] = 'Decompressione cartella effettuata con successo!';
+$_lang["file_unzip_fail"] = 'Decompressione cartella fallita!';
+$_lang["filemanager_path_message"] = 'IIS spesso non riesce a determinare correttamente la cartella principale usata dal File Manager per determinare ciò che potete vedere. Se avete problemi nell\'uso del File Manager, assicuratevi che il percorso punti alla root dell\'installazione di EVO.';
+$_lang["filemanager_path_title"] = 'Percorso del File Manager:';
+$_lang["files_access_denied"] = 'Accesso negato!';
+$_lang["files_data"] = 'Dati';
+$_lang["files_dir_listing"] = 'Elenco cartelle per:';
+$_lang["files_directories"] = 'Cartelle';
+$_lang["files_directory_is_empty"] = 'La cartella è vuota';
+$_lang["files_dirwritable"] = 'Cartella scrivibile?';
+$_lang["files_editfile"] = 'Modifica file';
+$_lang["files_file_type"] = 'Tipo file: ';
+$_lang["files_filename"] = 'Nome file';
+$_lang["files_fileoptions"] = 'Opzioni';
+$_lang["files_files"] = 'File';
+$_lang["files_filesize"] = 'Dimensione file';
+$_lang["files_filetype_notok"] = 'Non è consentito il caricamento di questo tipo di file!';
+$_lang["files_management"] = 'Gestisci documenti';
+$_lang["files_management_no_permission"] = 'Non si dispone di autorizzazioni sufficienti per visualizzare o modificare tali file. Chiedere all\'amministratore l\'accesso a %s .';
+$_lang["files_modified"] = 'Modificato';
+$_lang["files_top_level"] = 'Al livello superiore';
+$_lang["files_up_level"] = 'Su di un livello';
+$_lang["files_upload_copyfailed"] = 'La copia del file nella cartella di destinazione non è riuscita - caricamento fallito!';
+$_lang["files_upload_error"] = 'Errore';
+$_lang["files_upload_error0"] = 'Si è verificato un problema durante il caricamento.';
+$_lang["files_upload_error1"] = 'Il file che state provando a caricare è troppo grande.';
+$_lang["files_upload_error2"] = 'Il file che state provando a caricare è troppo grande.';
+$_lang["files_upload_error3"] = 'Il file che state provando a caricare è stato copiato solo in parte.';
+$_lang["files_upload_error4"] = 'Dovete selezionare un file da caricare.';
+$_lang["files_upload_error5"] = 'Si è verificato un problema durante il caricamento.';
+$_lang["files_upload_inhibited_msg"] = 'Il caricamento file è inibito - assicuratevi che il caricamento sia supportato e che la cartella sia scrivibile da PHP. ';
+$_lang["files_upload_ok"] = 'File caricato con successo!';
+$_lang["files_upload_permissions_error"] = 'Possibile errore nei permessi di scrittura - la directory deve poter essere scrivibile dal webserver.';
+$_lang["files_uploadfile"] = 'Carica file';
+$_lang["files_uploadfile_msg"] = 'Selezionate un file da caricare:';
+$_lang["files_uploading"] = 'Sto caricando %s in %s/ ';
+$_lang["files_viewfile"] = 'Visualizza file';
+$_lang["folder"] = 'Cartella';
+$_lang["forgot_password_email_fine_print"] = '* L\'indirizzo precedente non sarà più valido una volta che avrete cambiato la password o da domani.';
+$_lang["forgot_password_email_instructions"] = 'Da lì potrete cambiare la vostra password dal menu Il Mio Account.';
+$_lang["forgot_password_email_intro"] = 'E\' stata fatta una richiesta per cambiare la password del vostro account.';
+$_lang["forgot_password_email_link"] = 'Fate clic qui per completare il processo.';
+$_lang["forgot_your_password"] = 'Hai dimenticato la Password?';
+$_lang["friday"] = 'Venerdì';
+$_lang["friendly_alias_message"] = 'Se state usando gli URL Semplici, e la Risorsa ha un alias, quest\'ultimo avrà sempre precedenza sull\'URL Semplice. Impostando questa opzione su \'Si\', il prefisso e il suffisso dell\'URL Semplice saranno anche applicati all\'alias. Per esempio, se la Risorsa con l\'ID 1 ha per alias `introduction` e voi avete impostato un prefisso come `` e un suffisso come `.html`, settando questa opzione su `Si` sarà generato `introduction.html`. Se non ci sono alias, EVO genererà `1.html` come link.';
+$_lang["friendly_alias_title"] = 'Usa URL Semplici:';
+$_lang["friendlyurls_message"] = 'L\'opzione permette di usare gli URL Semplici per i motori di ricerca con EVO. Notate che l\'opzione ha effetto solo per le installazioni di EVO su Apache e che avrete anche bisogno di scrivere un file .htaccess perchè possa funzionare. Per maggiori informazioni, guardate il file .htaccess incluso nella distribuzione.';
+$_lang["friendlyurls_title"] = 'Usa URL Semplici:';
+$_lang["friendlyurlsprefix_message"] = 'Qui potete specificare il prefisso da usare con gli URL semplici. Ad esempio, un prefisso impostato su \'pagina\' trasformerà l\'URL /index.php?id=2 nell\'URL semplice /pagina2.html (assumendo che il suffisso sia impostato su .html). In questo modo potete specificare cosa gli utenti (e i motori di ricerca) vedranno per i links nel sito.';
+$_lang["friendlyurlsprefix_title"] = 'Prefisso per gli URL Semplici:';
+$_lang["friendlyurlsuffix_message"] = 'Qui potete specificare il suffisso degli URL semplici. Specificando \'.html\' sarà aggiunto .html a tutti gli URL semplici.';
+$_lang["friendlyurlsuffix_title"] = 'Suffisso per gli URL Semplici:';
+$_lang["functionnotimpl"] = 'Spiacente!';
+$_lang["functionnotimpl_message"] = 'Questa funzione non è ancora stata implementata.';
+$_lang["further_info"] = 'Ulteriori informazioni';
+$_lang["global_tabs"] = 'Global Tabs';
+$_lang["go"] = 'Vai';
+$_lang["group_access_permissions"] = 'Gruppi di accesso';
+$_lang['group_tvs'] = 'Raggruppa TV';
+$_lang["guid"] = 'GUID';
+$_lang["help"] = 'Aiuto';
+$_lang["help_msg"] = 'Se avete bisogno di aiuto nell\'utilizzo di EVO, vi consigliamo di visitare i Forum EVO . Inoltre, il sito EVO contiene tutta la documentazione riguardo l\'uso di EVO o su come configurarlo, la risposta che state cercando potrebbe essere qui.
Prevediamo anche di offrire servizi di supporto di tipo commerciale per EVO. Se siete interessati, inviateci un messaggio email .';
+$_lang["help_title"] = 'Aiuto';
+$_lang["hide_tree"] = 'Nascondi struttura ad albero';
+$_lang["home"] = 'Home';
+$_lang["htmlsnippet"] = 'Chunk';
+$_lang["htmlsnippets"] = 'Chunks';
+$_lang["htmlsnippet_desc"] = 'Descrizione';
+$_lang["htmlsnippet_management_msg"] = 'Qui potete scegliere i Chunks da modificare o crearne di nuovi.';
+$_lang["htmlsnippet_msg"] = 'Qui potete aggiungere/modificare i Chunks. Ricordate, i Chunks sono codice HTML \'raw\' (grezzo), quindi qualsiasi codice PHP al loro interno non verrà processato.';
+$_lang["htmlsnippet_name"] = 'Nome Chunk';
+$_lang["htmlsnippet_title"] = 'Crea/Modifica Chunk';
+$_lang["icon"] = 'Icona';
+$_lang["icon_description"] = 'classe CSS. i.e. fa fa-star';
+$_lang["id"] = 'ID';
+$_lang["illegal_parent_child"] = 'Assegnazione parentela:\n\nLa Risorsa è un sottodocumento della Risorsa selezionata.';
+$_lang["illegal_parent_self"] = 'Assegnazione parentela:\n\nLa Risorsa selezionata non può essere assegnata a se stessa.';
+$_lang["images_management"] = 'Gestisci immagini';
+$_lang["import_files_found"] = 'Trovate %s Risorse da importare... ';
+$_lang["import_params"] = 'Importa i parametri condivisi del Modulo';
+$_lang["import_params_msg"] = 'Potete importare i parametri e le impostazioni di un Modulo selezionando il nome del Modulo dalla lista sottostante. NOTA: Affinchè un Modulo appaia nel menu questo Plugin/Snippet deve essere incluso nell\'elenco di dipendenza del Modulo ed il Modulo deve avere la attiva la condivisione dei parametri. ';
+$_lang["import_parent_resource"] = 'Risorsa genitore:';
+$_lang["import_site"] = 'Importa Sito';
+$_lang["import_site_failed"] = 'Fallito! ';
+$_lang["import_site_failed_db_error"] = 'Si è verificato un errore del database cercando di duplicare la Risorsa: ';
+$_lang["import_site_failed_no_open_dir"] = 'Impossibile aprire la directory: ';
+$_lang["import_site_failed_no_retrieve_file"] = 'Impossibile trovare il file: ';
+$_lang["import_site_html"] = 'Importa sito da HTML';
+$_lang["import_site_importing_document"] = 'Importazione in corso %s ';
+$_lang["import_site_maxtime"] = 'Tempo massimo importazione:';
+$_lang["import_site_maxtime_message"] = 'Qui potete specificare il numero di secondi che il sistema può impiegare per importare il sito (ignorando le impostazioni PHP). Inserite 0 per un tempo illimitato. Attenzione, un\'impostazione 0 o molto alta può causare un timeout del server, quindi non è raccomandata.';
+$_lang["import_site_message"] = '
Usando questa funzione potete importare nel database un intero sito HTML. Da notare che ci sarà poi bisogno di copiare i vostri file html nella cartella assets/import.
Compilate il form per avviare il processo di importazione. I files importati saranno salvati nella posizione selezionata, usando dove possibile i nomi dei files come alias delle Risorse, il titolo della Risorsa come titolo della pagina.
';
+$_lang["import_site_skip"] = 'Saltato! ';
+$_lang["import_site_start"] = 'Avvia importazione';
+$_lang["import_site_success"] = 'Effettuato! ';
+$_lang["import_site_time"] = 'Importazione completata in %s secondi.';
+$_lang["inbox"] = 'Inbox';
+$_lang["info"] = 'Info';
+$_lang["information"] = 'Informazioni';
+$_lang["inline"] = 'In linea';
+$_lang["insert"] = 'Inserisci';
+$_lang["maxImageWidth"] = 'Larghezza massima immagine:';
+$_lang["maxImageHeight"] = 'Altezza massima immagine:';
+$_lang["thumbWidth"] = 'Larghezza massima della miniatura:';
+$_lang["thumbHeight"] = 'Altezza massima della miniatura:';
+$_lang["thumbsDir"] = 'Percorso della cartella delle miniature:';
+$_lang["jpegQuality"] = 'Compressione JPEG:';
+$_lang["denyZipDownload"] = 'Disabilita il download degli archivi zip:';
+$_lang["denyExtensionRename"] = 'Disabilita la modifica delle estensioni dei file:';
+$_lang["maxImageWidth_message"] = 'Se la risoluzione dell\'immagine caricata supera questa impostazione verrà automaticamente ridimensionata. Impostare 0 per disabilitare.';
+$_lang["maxImageHeight_message"] = 'Se la risoluzione dell\'immagine caricata supera questa impostazione verrà automaticamente ridimensionata. Impostare 0 per disabilitare.';
+$_lang["thumbWidth_message"] = 'Larghezza massima della miniatura.';
+$_lang["thumbHeight_message"] = 'Altezza massima della miniatura.';
+$_lang["thumbsDir_message"] = 'Il nome della directory delle miniature';
+$_lang["jpegQuality_message"] = 'Qualità della compressione JPEG delle miniature ridimensionate.';
+$_lang["showHiddenFiles"] = 'Mostra i file nascosti nel File Browser:';
+$_lang["keyword"] = 'Parola chiave';
+$_lang["keywords"] = 'Parole chiave';
+$_lang["keywords_intro"] = 'Per modificare una parola chiave, digitate semplicemente la nuova parola nel campo di testo a fianco di quella che volete cambiare. Per eliminare una parola chiave, spuntate il box \'Elimina\' per quella parola. Se impostate l\'eliminazione di una parola chiave e allo stesso tempo ne modificate il nome, essa verrà eliminata vanificando l\'operazione di rinomina!';
+$_lang["language_message"] = 'Selezionate la lingua da usare nel Manager EVO.';
+$_lang["language_title"] = 'Lingua del Manager';
+$_lang["last_update"] = 'Ultimo aggiornamento';
+$_lang["launch_site"] = 'Mostra sito';
+$_lang["license"] = 'Licenza';
+$_lang["link_attributes"] = 'Attributi del link';
+$_lang["link_attributes_help"] = 'Qui potete inserire gli attributi per i link a questa pagina, come target= o rel=.';
+$_lang["list_mode"] = 'Abilita/disabilita modalità lista - elencare tutti i record nella griglia.';
+$_lang["loading_doc_tree"] = 'Sto caricando la struttura ad albero delle Risorse...';
+$_lang["loading_menu"] = 'Sto caricando il menu...';
+$_lang["loading_page"] = 'Vi preghiamo di attendere che EVO carichi la pagina...';
+$_lang["localtime"] = 'Orario locale';
+$_lang["lock_htmlsnippet"] = 'Impedisci la modifica del Chunk';
+$_lang["lock_htmlsnippet_msg"] = 'Solo gli amministratori (Ruolo ID 1) possono modificare il Chunk.';
+$_lang["lock_module"] = 'Impedisci la modifica del Modulo';
+$_lang["lock_module_msg"] = 'Solo gli amministratori (Ruolo ID 1) possono modificare questo Modulo.';
+$_lang["lock_msg"] = '%s sta attualmente modificando %s. Attendete che l\'altro utente finisca e poi riprova.';
+$_lang["lock_plugin"] = 'Impedisci la modifica del Plugin';
+$_lang["lock_plugin_msg"] = 'Solo gli amministratori (Ruolo ID 1) possono modificare questo Plugin.';
+$_lang["lock_settings_msg"] = '%s sta attualmente modificando queste impostazioni. Attendete che l\'altro utente finisca e poi riprovate.';
+$_lang["lock_snippet"] = 'Impedisci la modifica dello Snippet';
+$_lang["lock_snippet_msg"] = 'Solo gli amministratori (Ruolo ID 1) possono modificare lo Snippet.';
+$_lang["lock_template"] = 'Impedisci la modifica del Template';
+$_lang["lock_template_msg"] = 'Solo gli amministratori (Ruolo ID 1) possono modificare il Template.';
+$_lang["lock_tmplvars"] = 'Impedisci la modifica della Variabile di Template';
+$_lang["lock_tmplvars_msg"] = 'Solo gli amministratori (Ruolo ID 1) possono modificare questa variabile';
+$_lang["locked"] = 'Bloccato';
+$_lang["login_allowed_days"] = 'Giorni consentiti';
+$_lang["login_allowed_days_message"] = 'Selezionate i giorni della settimana nei quali questo utente sarà autorizzato a collegarsi.';
+$_lang["login_allowed_ip"] = 'Indirizzo IP autorizzato';
+$_lang["login_allowed_ip_message"] = 'Inserite l\'indirizzo IP dal quale questo utente si può collegare. NOTA: Se volete inserire più indirizzi IP separateli con una virgola (,) ';
+$_lang["login_button"] = 'Accedi';
+$_lang["login_cancelled_install_in_progress"] = 'Installazione o aggiornamento di questo sito in corso. Riprova tra qualche minuto ';
+$_lang["login_cancelled_site_was_updated"] = 'Installazione o aggiornamento completata su questo sito, effettuare nuovamente il login! ';
+$_lang["login_captcha_message"] = 'Inserite il codice di sicurezza mostrato all\'interno dell\'immagine grafica. Se avete difficoltà nel leggere il codice, cliccateci sopra per generarne un altro a caso, oppure contattate l\'amministratore del sito.';
+$_lang["login_homepage"] = 'Autenticazione Pagina d\'inizio';
+$_lang["login_homepage_message"] = 'Inserite l\'ID della Risorsa da mostrare all\'utente dopo che ha eseguito l\'autenticazione. NOTA: assicuratevi che la Risorsa indicata esista, sia pubblicata e accessibile all\'utente! ';
+$_lang["login_message"] = 'Inserisci le tue credenziali per effettuare l\'accesso. Il sistema fa distinzione fra le maiuscole/minuscole del nome utente e della password.';
+$_lang["logo_slogan"] = 'Sistema di gestione dei contenuti EVO - \nCreate e fate di più con meno';
+$_lang["logout"] = 'Uscita';
+$_lang["long_title"] = 'Titolo esteso';
+$_lang["mail_check_timeperiod_message"] = 'Intervallo di tempo dopo il quale controllare se ci sono nuovi messaggi nel Manager, in secondi.';
+$_lang["mail_check_timeperiod_title"] = 'Frequenza di controllo messaggi:';
+$_lang["manage_depends"] = 'Configurazione Dipendenze';
+$_lang["manage_files"] = 'Gestione File';
+$_lang["manage_htmlsnippets"] = 'Chunks';
+$_lang["manage_metatags"] = 'Gestione META tag e parole chiave';
+$_lang["manage_modules"] = 'Gestione moduli';
+$_lang["manage_plugins"] = 'Plugins';
+$_lang["manage_snippets"] = 'Snippets';
+$_lang["manage_templates"] = 'Templates';
+$_lang["manage_documents"] = 'Documenti';
+$_lang["manager"] = 'Manager';
+$_lang["manager_lockout_message"] = 'Siete entrati nel Manager EVO. Se desiderate uscire dalla sessione, fate clic sul pulsante "Uscita".
Per andare alla pagina inziale fate clic sul pulsante "Home".';
+$_lang["manager_permissions"] = 'Gestione Permessi';
+$_lang["manager_theme"] = 'Tema del Manager EVO:';
+$_lang["manager_theme_message"] = 'Selezionate un tema per il Manager EVO.';
+$_lang["messages"] = 'Messaggi';
+$_lang["messages_all"] = 'Tutti';
+$_lang["messages_compose"] = 'Componi messaggio';
+$_lang["messages_forward"] = 'Inoltra';
+$_lang["messages_from"] = 'Da';
+$_lang["messages_group"] = 'Un gruppo';
+$_lang["messages_inbox"] = 'Inbox';
+$_lang["messages_message"] = 'Messaggio';
+$_lang["messages_no_messages"] = 'Nessun messaggio nella Inbox.';
+$_lang["messages_not_allowed_to_read"] = 'Non siete autorizzati a leggere questo messaggio!';
+$_lang["messages_private"] = 'Privato';
+$_lang["messages_read_message"] = 'Leggi messaggio';
+$_lang["messages_reply"] = 'Rispondi';
+$_lang["messages_select_group"] = 'Seleziona un gruppo';
+$_lang["messages_select_user"] = 'Seleziona un Utente';
+$_lang["messages_send"] = 'Invia';
+$_lang["messages_send_to"] = 'Invia a';
+$_lang["messages_sent"] = 'Inviato il';
+$_lang["messages_subject"] = 'Oggetto';
+$_lang["messages_system_user"] = '[System]';
+$_lang["messages_title"] = 'Messaggi';
+$_lang["messages_user"] = 'Un Utente';
+$_lang["meta_keywords"] = 'META e parole chiave';
+$_lang["metatag_intro"] = 'In questa pagina potete eliminare, creare o modificare i META tag e le parole chiave. Per collegare le parole chiave alle Risorse, modificate la Risorsa in questione e selezionate le parole chiave desiderate dalla lista. Per aggiungere una parola chiave digitate la nuova parola e poi cliccate \'Aggiungi tag\'.';
+$_lang["metatag_notice"] = 'Per ulteriori informazioni, consultate la Guida di Riferimento HTML. Questa non è una lista completa di tutti i possibili META tag.';
+$_lang["metatags"] = 'META tag';
+$_lang["mgr_access_permissions"] = 'Gestione permessi di accesso';
+$_lang["mgr_login_start"] = 'Pagina di accesso del Manager';
+$_lang["mgr_login_start_message"] = 'Inserite l\'ID della Risorsa che volete mostrare agli utenti dopo l\'accesso al Manager. NOTA: assicuratevi che l\'ID appartenga ad una Risorsa esistente e che sia stata pubblicata! ';
+$_lang["mgrlog_action"] = 'Azione';
+$_lang["mgrlog_actionid"] = 'ID Azione';
+$_lang["mgrlog_anyall"] = 'Qualunque/Tutti';
+$_lang["mgrlog_datecheckfalse"] = 'checkdate() ha restituito false.';
+$_lang["mgrlog_datefr"] = 'Data iniziale';
+$_lang["mgrlog_dateinvalid"] = 'Formato data errato.';
+$_lang["mgrlog_dateto"] = 'Data finale';
+$_lang["mgrlog_emptysrch"] = 'La vostra ricerca non ha prodotto risultati.';
+$_lang["mgrlog_field"] = 'Campo';
+$_lang["mgrlog_itemid"] = 'ID oggetto';
+$_lang["mgrlog_itemname"] = 'Nome oggetto';
+$_lang["mgrlog_msg"] = 'Messaggio';
+$_lang["mgrlog_noquery"] = 'Non è ancora stata effettuata una ricerca.';
+$_lang["mgrlog_qresults"] = 'Risultati della ricerca';
+$_lang["mgrlog_query"] = 'Selezione dei log di sistema';
+$_lang["mgrlog_query_msg"] = 'Selezionate quali informazioni volete vedere. Potete selezionare un intervallo di date, ma ricordate che le date che immettete non sono entrambe incluse. Ad esempio per selezionare tutti i dati di log del giorno 1 gennaio 2014, impostate \'Data iniziale\' su 01-01-2014 e \'Data finale\' su 02-01-2014. Messaggio ed azione sono in genere coincidenti. Se state cercando un messaggio specifico, è meglio impostare l\'azione su \'Qualunque/Tutti\'.';
+$_lang["mgrlog_results"] = 'Numero di risultati';
+$_lang["mgrlog_searchlogs"] = 'Ricerca log';
+$_lang["mgrlog_sortinst"] = 'Potete ordinare la tabella facendo clic sulle intestazioni delle colonne. Se i logs dovessero diventare troppo grandi, potete cancellare tutti i logs . Con la cancellazione vengono rimossi tutti i dati dei logs raccolti fino ad oggi e questa azione una volta avviata non può essere annullata!';
+$_lang["mgrlog_time"] = 'Ora';
+$_lang["mgrlog_user"] = 'Utente';
+$_lang["mgrlog_username"] = 'Nome utente';
+$_lang["mgrlog_value"] = 'Valore';
+$_lang["mgrlog_view"] = 'Mostra i logs del Manager';
+$_lang["module_code"] = 'Codice del Modulo (PHP)';
+$_lang["module_config"] = 'Configurazione del Modulo';
+$_lang["module_desc"] = 'Descrizione';
+$_lang["module_disabled"] = 'Modulo disabilitato';
+$_lang["module_edit_click_title"] = 'Cliccate qui per modificare il Modulo';
+$_lang["module_group_access_msg"] = 'Selezionate i gruppi autorizzati ad eseguire il Modulo.';
+$_lang["module_management"] = 'Gestione Moduli';
+$_lang["module_management_msg"] = 'Qui potete scegliere il Modulo che desiderate eseguire o modificare. Per eseguire un Modulo, fate clic sull\'icona del Modulo a sinistra sulla griglia. Per modificare un Modulo, fate clic sul suo nome.';
+$_lang["module_msg"] = 'Qui potete creare o modificare i Moduli. Un Modulo è un insieme di Elementi che interagiscono fra loro (ad es. Plugins, Snippets, ecc.).';
+$_lang["module_name"] = 'Nome del Modulo';
+$_lang["module_resource_msg"] = 'Qui potete aggiungere o rimuovere Risorse dalle quali dipende questo Modulo. Cliccate sul pulsante Aggiungi per aggiungere una Risorsa.';
+$_lang["module_resource_title"] = 'Dipendenze Moduli';
+$_lang["module_title"] = 'Crea/modifica Moduli';
+$_lang["module_viewdepend_msg"] = 'Qui potete vedere gli Elementi dai quali dipende il Modulo. Cliccate sul pulsante \'Configurazione Dipendenze\' per modificare le dipendenze';
+$_lang["modules"] = 'Moduli';
+$_lang["modx_news"] = 'Ultime Notizie EVO';
+$_lang["modx_news_tab"] = 'Novità EVO';
+$_lang["modx_news_title"] = 'Novità EVO';
+$_lang["modx_security_notices"] = 'Avvisi di Protezione EVO';
+$_lang["modx_version"] = 'Versione EVO';
+$_lang["monday"] = 'Lunedì';
+$_lang["move"] = 'Sposta';
+$_lang["move_resource"] = 'Sposta Risorsa';
+$_lang["move_resource_message"] = 'Potete spostare una Risorsa e tutti i suoi sottodocumenti selezionando un nuovo genitore nella struttura ad albero. Se selezionate una Risorsa che non è una cartella, essa sarà trasformata in cartella. Fate clic sulla nuova Risorsa genitore nella struttura ad albero delle Risorse.';
+$_lang["move_resource_new_parent"] = 'Vi preghiamo di selezionare una nuova Risorsa genitore nella struttura ad albero delle Risorse.';
+$_lang["move_resource_title"] = 'Sposta Risorsa';
+$_lang["name"] = 'Nome';
+$_lang["new_category"] = 'Nuova Categoria';
+$_lang["new_file_permissions_message"] = 'Durante il caricamento di un nuovo file nel sistema di gestione file, il sistema cercherà di cambiare i permessi del file secondo questa impostazione. Questo però potrebbe non funzionare in alcune configurazioni, come ad esempio IIS, nel qual caso dovrete procedere ad una modifica manuale dei permessi.';
+$_lang["new_file_permissions_title"] = 'Permessi dei nuovi files:';
+$_lang["new_folder_permissions_message"] = 'Durante la creazione di una nuova cartella nel sistema di gestione file, il sistema cercherà di cambiare i permessi della cartella secondo questa impostazione. Questo però potrebbe non funzionare in alcune configurazioni, come ad esempio IIS, nel qual caso dovrete procedere ad una modifica manuale dei permessi.';
+$_lang["new_folder_permissions_title"] = 'Permessi nuova cartella:';
+$_lang["new_htmlsnippet"] = 'Nuovo Chunk';
+$_lang["new_keyword"] = 'Aggiungi nuova parola chiave:';
+$_lang["new_module"] = 'Nuovo Modulo';
+$_lang["new_parent"] = 'Nuova Risorsa genitore';
+$_lang["new_plugin"] = 'Nuovo Plugin';
+$_lang["new_role"] = 'Nuovo Ruolo';
+$_lang["new_snippet"] = 'Nuovo Snippet';
+$_lang["new_template"] = 'Nuovo Template';
+$_lang["new_tmplvars"] = 'Nuova Variabile di Template';
+$_lang["new_user"] = 'Nuovo utente';
+$_lang["new_web_user"] = 'Nuovo utente Web';
+$_lang["new_resource"] = 'Nuova Risorsa';
+$_lang["no"] = 'No';
+$_lang["no_active_users_found"] = 'Non sono stati trovati utenti attivi.';
+$_lang["no_activity_message"] = 'Non avete ancora creato o modificato alcuna Risorsa.';
+$_lang["no_category"] = 'senza Categoria';
+$_lang["no_docs_pending_publishing"] = 'Nessuna Risorsa in attesa di pubblicazione.';
+$_lang["no_docs_pending_pubunpub"] = 'Nessun evento programmato trovato';
+$_lang["no_docs_pending_unpublishing"] = 'Nessuna Risorsa in attesa del ritiro dalla pubblicazione.';
+$_lang["no_edits_creates"] = 'No edits or creates found.';
+$_lang["no_groups_found"] = 'Nessun gruppo trovato.';
+$_lang["no_keywords_found"] = 'Non ci sono parole chiave';
+$_lang["no_records_found"] = 'Nessun record.';
+$_lang["no_results"] = 'Nessun risultato trovato';
+$_lang["nologentries_message"] = 'Inserite il numero di righe da visualizzare per pagina quando visualizzate i logs.';
+$_lang["nologentries_title"] = 'Numero di voci di log:';
+$_lang["nomessages_message"] = 'Inserite il numero di messaggi da visualizzare nella inbox quando leggete i messaggi.';
+$_lang["nomessages_title"] = 'Numero di messaggi:';
+$_lang["none"] = 'Nessuno';
+$_lang["noresults_message"] = 'Inserite il numero di risultati da mostrare negli elenchi ed i risultati di ricerca .';
+$_lang["noresults_title"] = 'Numero di risultati:';
+$_lang["not_deleted"] = 'non è stato eliminato.';
+$_lang["not_set"] = 'Non impostato';
+$_lang["offline"] = 'Offline';
+$_lang["online"] = 'Online';
+$_lang["onlineusers_action"] = 'Azione';
+$_lang["onlineusers_actionid"] = 'ID dell\'azione';
+$_lang["onlineusers_ipaddress"] = 'Indirizzo IP dell\'utente';
+$_lang["onlineusers_lasthit"] = 'Ultimo contatto';
+$_lang["onlineusers_message"] = 'Questa lista mostra tutti gli utenti attivi negli ultimi 20 minuti (adesso sono le ';
+$_lang["onlineusers_title"] = 'Utenti online';
+$_lang["onlineusers_user"] = 'Utente';
+$_lang["onlineusers_userid"] = 'ID dell\'utente';
+$_lang["optimize_table"] = 'Cliccate qui per ottimizzare questa tabella';
+$_lang["page_data_alias"] = 'Alias';
+$_lang["page_data_cacheable"] = 'Situabile in cache';
+$_lang["page_data_cacheable_help"] = 'Selezionando questo campo permetterete alla Risorsa di essere salvata nella cache. Se la Risorsa contiene Snippets, assicuratevi che il campo non sia selezionato.';
+$_lang["page_data_cached"] = 'Sorgente recuperata dalla cache: ';
+$_lang["page_data_changes"] = 'Modifiche';
+$_lang["page_data_contentType"] = 'Tipo contenuto';
+$_lang["page_data_contentType_help"] = 'Selezionate il tipo di contenuto della Risorsa. Se non avete idea del tipo di contenuto che la Risorsa deve avere, lasciatelo semplicemente come text/html.';
+$_lang["page_data_created"] = 'Creato';
+$_lang["page_data_edited"] = 'Modificato';
+$_lang["page_data_editor"] = 'Modifica con l\'editor rich text';
+$_lang["page_data_folder"] = 'La Risorsa è una cartella';
+$_lang["page_data_general"] = 'Generale';
+$_lang["page_data_markup"] = 'Markup/ struttura';
+$_lang["page_data_mgr_access"] = 'Accesso al Manager EVO';
+$_lang["page_data_notcached"] = 'Questa Risorsa non è stata (ancora) inserita nella cache.';
+$_lang["page_data_publishdate"] = 'Data di pubblicazione';
+$_lang["page_data_publishdate_help"] = 'Se impostate una data di pubblicazione, la Risorsa sarà pubblicata automaticamente alla data prescelta. Cliccate sull\'icona del calendario per selezionare una data di pubblicazione o sull\'icona a fianco per rimuoverla. Se non è inserita una data di pubblicazione la Risorsa non sarà pubblicata automaticamente e occorrerà pubblicarla manualmente.';
+$_lang["page_data_published"] = 'Pubblicata';
+$_lang["page_data_searchable"] = 'Ricercabile';
+$_lang["page_data_searchable_help"] = 'Spuntando questa casella permettete alla Risorsa di essere ricercabile. Potete anche usare la casella per altri scopi nei vostri Snippets.';
+$_lang["page_data_source"] = 'Sorgente';
+$_lang["page_data_status"] = 'Stato';
+$_lang["page_data_template"] = 'Template';
+$_lang["page_data_template_help"] = 'Qui potete selezionare il Template da usare per la Risorsa.';
+$_lang["page_data_title"] = 'Dati pagina';
+$_lang["page_data_unpublishdate"] = 'Data di ritiro';
+$_lang["page_data_unpublishdate_help"] = 'Se impostate una data di ritiro, la Risorsa sarà ritirata alla data prescelta. Cliccate sull\'icona del calendario per selezionare una data di ritiro o sull\'icona a fianco per rimuoverla. Se non è prevista una data di ritiro la Risorsa non verrà mai ritirata automaticamente.';
+$_lang["page_data_unpublished"] = 'Ritirato';
+$_lang["page_data_web_access"] = 'Accesso dal web';
+$_lang["pagetitle"] = 'Titolo della Risorsa';
+$_lang["pagination_table_first"] = 'Primo';
+$_lang["pagination_table_gotopage"] = 'Vai alla pagina';
+$_lang["pagination_table_last"] = 'Ultimo';
+$_lang["paging_first"] = 'primo';
+$_lang["paging_last"] = 'ultimo';
+$_lang["paging_next"] = 'successivo';
+$_lang["paging_prev"] = 'precedente';
+$_lang["paging_showing"] = 'Mostra';
+$_lang["paging_to"] = 'a';
+$_lang["paging_total"] = 'totale';
+$_lang["parameter"] = 'Parametro';
+$_lang["parse_docblock"] = 'Analizza DocBlock';
+$_lang["parse_docblock_msg"] = 'Attenzione (!): Ripristina b> Il nome, la configurazione, la descrizione e la categoria di default analizzando il codice sorgente.';
+$_lang["password"] = 'Password';
+$_lang["password_change_request"] = 'Richiesta di cambio password';
+$_lang["password_gen_gen"] = 'Lascia che EVO generi una password.';
+$_lang["password_gen_length"] = 'La password dev\'essere lunga almeno 6 caratteri.';
+$_lang["password_gen_method"] = 'Come volete creare la password dell\'utente?';
+$_lang["password_gen_specify"] = 'Lasciami specificare la password:';
+$_lang["password_method"] = 'Come volete notificare la nuova password all\'utente?';
+$_lang["password_method_email"] = 'Invia la nuova password per e-mail.';
+$_lang["password_method_screen"] = 'Mostra la nuova password sullo schermo.';
+$_lang["password_msg"] = 'La nuova password per %s è %s .';
+$_lang["php_version_check"] = 'EVO è compatibile con PHP versione 5.0.0 o superiore. Il vostro server usa la versione %s%. Si prega di aggiornare l\'installazione di PHP!';
+$_lang["plugin"] = 'Plugin';
+$_lang["plugins"] = 'Plugins';
+$_lang["plugin_code"] = 'Codice del Plugin (PHP)';
+$_lang["plugin_config"] = 'Configura Plugin';
+$_lang["plugin_desc"] = 'Descrizione';
+$_lang["plugin_disabled"] = 'Plugin Disabilitato';
+$_lang["plugin_event_msg"] = 'Selezionate gli Eventi di Sistema che intendete gestire con questo Plugin.';
+$_lang["plugin_management_msg"] = 'Qui potete selezionare i Plugins da modificare o crearne di nuovi.';
+$_lang["plugin_msg"] = 'Qui potete aggiungere/modificare i Plugins. I Plugins sono \'puro\' codice PHP che viene eseguito quando si verificano alcuni eventi di sistema.';
+$_lang["plugin_name"] = 'Nome Plugin';
+$_lang["plugin_priority"] = 'Modifica l\'ordine di esecuzione dei Plugins in base all\'evento';
+$_lang["plugin_priority_instructions"] = 'Spostate e ordinate i Plugins per ogni Evento di Sistema. Per ogni lista i Plugins più in alto verranno eseguiti prima.';
+$_lang["plugin_priority_title"] = 'Ordine di esecuzione del Plugin';
+$_lang["purge_plugin"] = 'Elimina i plugin obsoleti';
+$_lang["plugin_title"] = 'Crea/Modifica Plugin';
+$_lang["preview"] = 'Anteprima';
+$_lang["preview_msg"] = 'Questa è solo l\'anteprima delle modifiche. Clicca su Salva e Aggiorna per salvare le modifiche';
+$_lang["preview_resource"] = 'Anteprima Risorsa';
+$_lang["private"] = 'Privato';
+$_lang["public"] = 'Pubblico';
+$_lang["publish_date"] = 'Data di pubblicazione';
+$_lang["publish_events"] = 'Eventi di pubblicazione';
+$_lang["publish_resource"] = 'Pubblica Risorsa';
+$_lang["rb_base_dir_message"] = 'Inserite il percorso fisico alla directory del File Browser. Questa impostazione di solito è generata automaticamente. Se state usando IIS, tuttavia, EVO potrebbe non riuscire ad impostare il percorso corretto e il File Browser mostrerà un errore. In questo caso potete correggere il percorso alla cartella delle immagini (il percorso come lo vedreste in Windows Explorer). NOTA: La directory del File Browser, per funzionare correttamente, deve contenere le sottocartelle images, files, flash e media.';
+$_lang["rb_base_dir_title"] = 'Percorso delle Risorse:';
+$_lang["rb_base_url_message"] = 'Inserite il percorso virtuale alla directory del File Browser. Questo percorso in genere è generato automaticamente. Se state usando IIS, tuttavia, EVO potrebbe non riuscire ad impostare il percorso corretto e il File Browser potrebbe mostrare un errore. In questo caso potete inserire qui il percorso corretto alla cartella delle immagini (l\'URL che inserireste in Internet Explorer).';
+$_lang["rb_base_url_title"] = 'URL del File Browser:';
+$_lang["rb_message"] = 'Selezionate Si se volete abilitare il File Browser. Questo permetterà agli utenti di cercare e caricare sul server immagini, file flash e media.';
+$_lang["rb_title"] = 'Abilita File Browser:';
+$_lang["rb_webuser_message"] = 'Volete consentire ad un Utente Web di usare il File Browser? ATTENZIONE: Consentire agli Utenti Web di usare il File Browser rende visibili i files di gestione degli utenti. Usare questa opzione solo per utenti affidabili.';
+$_lang["rb_webuser_title"] = 'Gli Utenti Web usano il File Browser:';
+$_lang["recent_docs"] = 'Risorse recenti';
+$_lang["recommend_setting_change_title"] = 'Modifiche consigliate';
+$_lang["recommend_setting_change_description"] = 'Il vostro sito non è configurato per validare gli headers HTTP_REFERER per l\'accesso al Manager. Vi raccomandiamo di abilitare questa impostazione per ridurre i rischi di un attacco CSRF (Cross Site Request Forgery).';
+$_lang["references"] = 'Riferimenti';
+$_lang["refresh_cache"] = 'Cache: Sono stati trovati %s file nella cartella cache e sono stati eliminati %d file di cache. I nuovi file di cache saranno creati non appena le pagine saranno richieste.';
+$_lang["refresh_published"] = '%s Risorse sono state pubblicate.';
+$_lang["refresh_site"] = 'Svuota cache';
+$_lang["refresh_title"] = 'Aggiorna sito';
+$_lang["refresh_tree"] = 'Aggiorna struttura ad albero';
+$_lang["refresh_unpublished"] = '%s Risorse sono state ritirate.';
+$_lang["release_date"] = 'Data di rilascio';
+$_lang["remember_last_tab"] = 'Ricorda i tabs:';
+$_lang["remember_last_tab_message"] = 'Le pagine del Manager con tabs mostreranno l\'ultimo tab utilizzato anzichè il primo tab';
+$_lang["remember_username"] = 'Ricordami';
+$_lang["remove"] = 'Rimuovi ->';
+$_lang["remove_date"] = 'Rimuovi data';
+$_lang["remove_locks"] = 'Rimuovi Blocchi';
+$_lang["rename"] = 'Rinomina';
+$_lang["reports"] = 'Resoconti';
+$_lang["report_issues"] = 'Segnala un problema';
+$_lang["require_tagname"] = 'E\' necessario immettere un nome per il tag';
+$_lang["require_tagvalue"] = 'E\' necessario immettere un valore per il tag';
+$_lang["reserved_name_warning"] = 'Avete utilizzato un nome riservato.';
+$_lang["reset"] = 'Resetta';
+$_lang["reset_failedlogins"] = 'reset';
+$_lang["reset_sort_order"] = 'Resetta ordine';
+$_lang["resource"] = 'Risorsa';
+$_lang["resource_alias"] = 'Alias Risorsa';
+$_lang["resource_alias_help"] = 'Qui potete inserire un alias per la Risorsa. Questo renderà la Risorsa accessibile come http://vostrosito.it/alias. Funziona solo se state usando gli URL Semplici.';
+$_lang["resource_content"] = 'Contenuto della Risorsa';
+$_lang["resource_description"] = 'Descrizione';
+$_lang["resource_description_help"] = 'Qui potete inserire una descrizione opzionale della Risorsa.';
+$_lang["resource_duplicate"] = 'Duplica Risorsa';
+$_lang["resource_long_title_help"] = 'Qui potete inserire un titolo esteso per la Risorsa. Questo è utile per i motori di ricerca e potrebbe descrivere meglio la Risorsa.';
+$_lang["resource_metatag_help"] = 'Selezionate i META tag e le parole chiave che volete assegnare alla Risorsa. Tenete premuto il tasto control per selezionare più tag o parole.';
+$_lang["resource_opt_contentdispo"] = 'Pubblicazione del contenuto';
+$_lang["resource_opt_contentdispo_help"] = 'Utilizzate il campo Pubblicazione del Contenuto per stabilire come questa Risorsa verrà inviata al browser. Per files da scaricare selezionare l\'opzione Allegato.';
+$_lang["resource_opt_emptycache"] = 'Svuota cache';
+$_lang["resource_opt_emptycache_help"] = 'Lasciando questo campo selezionato permetterete a EVO di svuotare la cache dopo che avrete salvato la Risorsa. Così i visitatori non vedranno più la vecchia versione della Risorsa.';
+$_lang["resource_opt_folder"] = 'Cartella';
+$_lang["resource_opt_folder_help"] = 'Spuntate la casella se volete che la Risorsa faccia anche da cartella per altre Risorse. Non avete bisogno di preoccuparvi troppo di questo, EVO generalmente si occupa automaticamente delle impostazioni delle cartelle.';
+$_lang["resource_opt_menu_index"] = 'Indice menu';
+$_lang["resource_opt_menu_index_help"] = 'Indice menu è un campo che potete usare per ordinare le Risorse nei menu. Potete anche usare il campo per altri scopi nei vostri Snippet.';
+$_lang["resource_opt_menu_title"] = 'Titolo nel menu';
+$_lang["resource_opt_menu_title_help"] = 'Il titolo nel menu è un campo che potete usare per visualizzare un titolo abbreviato per la Risorsa all\'interno di menu o moduli.';
+$_lang["resource_opt_published"] = 'Pubblicata';
+$_lang["resource_opt_published_help"] = 'Spuntate questa casella per pubblicare immediatamente la Risorsa dopo averla salvata.';
+$_lang["resource_opt_richtext"] = 'Rich text';
+$_lang["resource_opt_richtext_help"] = 'Lasciate selezionata questa casella se volete usare l\'editor rich text per modificare le Risorse. Se le Risorse contengono JavaScript o forms HTML deselezionatela e modificateli in modalità HTML evitando così che l\'editor ne danneggi il contenuto.';
+$_lang["resource_opt_show_menu"] = 'Mostra nel menu';
+$_lang["resource_opt_show_menu_help"] = 'Selezionate questa opzione per mostrare la Risorsa nel menu. Attenzione, alcuni script per menu potrebbero ignorare questa opzione.';
+$_lang["resource_opt_trackvisit_help"] = 'Registra ogni utente che visita questa pagina';
+$_lang["resource_overview"] = 'Dettagli Risorsa';
+$_lang["resource_parent"] = 'Risorsa genitore';
+$_lang["resource_parent_help"] = 'Selezionate una Risorsa nella struttura ad albero per impostarla come genitore di questa Risorsa.';
+$_lang["resource_permissions_error"] = 'Assegnate questa Risorsa ad almeno un Gruppo Risorse al quale avete accesso.';
+$_lang["resource_setting"] = 'Impostazioni Risorsa';
+$_lang["resource_summary"] = 'Sommario';
+$_lang["resource_summary_help"] = 'Inserire un breve sommario della Risorsa';
+$_lang["resource_title"] = 'Titolo';
+$_lang["resource_title_help"] = 'Digitate qui il nome/titolo della Risorsa. Evitate l\'uso del backslash (\) !';
+$_lang["resource_to_be_moved"] = 'Risorsa da spostare';
+$_lang["resource_type"] = 'Tipo di Risorsa';
+$_lang["resource_type_message"] = 'Un Link Web è un collegamento ad una Risorsa su Internet. Questa Risorsa può essere interna a EVO, una pagina su un altro sito, un\'immagine o un altro file su Internet. I Link Web dovrebbero avere Media Type text/html e Inline Content-Disposition.';
+$_lang["resource_type_weblink"] = 'Link Web';
+$_lang["resource_type_webpage"] = 'Pagina Web';
+$_lang["resource_weblink_help"] = 'Digitate qui l\'indirizzo dell\'oggetto a cui volete collegare questo Link Web. In alternativa inserire dal Browser File o utilizzare l\'icona di selezione collegamento e selezionare una risorsa dalla struttura del sito.';
+$_lang["resources_in_container"] = 'Risorse in questo contenitore';
+$_lang["resources_in_container_no"] = 'Questo contenitore non contiene alcuna Risorsa.';
+$_lang["role"] = 'Ruolo';
+$_lang["role_about"] = 'Visualizza la pagina About';
+$_lang["role_access_persmissions"] = 'Permessi di accesso';
+$_lang["role_actionok"] = 'Visualizza la schermata di azione completata';
+$_lang["role_assets_images"] = 'Accesso a assets/images';
+$_lang["role_assets_files"] = 'Accesso a assets/files';
+$_lang["role_bk_manager"] = 'Usa il sistema di gestione delle copie di sicurezza';
+$_lang["role_cache_refresh"] = 'Svuota la cache del sito';
+$_lang["role_category_manager"] = 'Usa in Gestore Categorie';
+$_lang["role_change_password"] = 'Cambia password';
+$_lang["role_change_resourcetype"] = 'Cambia tipo di risorsa';
+$_lang["role_chunk_management"] = 'Gestione Chunk';
+$_lang["role_config_management"] = 'Gestione configurazione';
+$_lang["role_content_management"] = 'Gestione contenuto';
+$_lang["role_create_chunk"] = 'Crea un nuovo Chunk';
+$_lang["role_create_doc"] = 'Crea nuove Risorse';
+$_lang["role_create_plugin"] = 'Crea un nuovo Plugin';
+$_lang["role_create_snippet"] = 'Crea nuovi Snippets';
+$_lang["role_create_template"] = 'Crea nuovi Templates del sito';
+$_lang["role_credits"] = 'Visualizza i crediti';
+$_lang["role_delete_chunk"] = 'Cancella Chunk';
+$_lang["role_delete_doc"] = 'Elimina Risorse';
+$_lang["role_delete_eventlog"] = 'Cancella Log degli Eventi';
+$_lang["role_delete_module"] = 'Cancella Modulo';
+$_lang["role_delete_plugin"] = 'Cancella Plugin';
+$_lang["role_delete_role"] = 'Elimina ruoli';
+$_lang["role_delete_snippet"] = 'Elimina Snippet';
+$_lang["role_delete_template"] = 'Elimina Template';
+$_lang["role_delete_user"] = 'Elimina utenti';
+$_lang["role_delete_web_user"] = 'Cancella utente web';
+$_lang["role_edit_chunk"] = 'Modifica Chunk';
+$_lang["role_edit_doc"] = 'Modifica una Risorsa';
+$_lang["role_edit_doc_metatags"] = 'Modifica META tag e parole chiave della Risorsa';
+$_lang["role_edit_module"] = 'Modifica Modulo';
+$_lang["role_edit_plugin"] = 'Modifica Plugin';
+$_lang["role_edit_role"] = 'Modifica ruoli';
+$_lang["role_edit_settings"] = 'Cambia le impostazioni del sito';
+$_lang["role_edit_snippet"] = 'Modifica Snippet';
+$_lang["role_edit_template"] = 'Modifica Template del sito';
+$_lang["role_edit_user"] = 'Modifica utenti';
+$_lang["role_edit_web_user"] = 'Modifica utente web';
+$_lang["role_empty_trash"] = 'Elimina in modo permanente le Risorse cancellate';
+$_lang["role_errors"] = 'Visualizza i messaggi di errore';
+$_lang["role_eventlog_management"] = 'Gestione Log degli Eventi';
+$_lang["role_export_static"] = 'Esporta in HTML statico';
+$_lang["role_file_management"] = 'Gestione File';
+$_lang["role_file_manager"] = 'Usa il file manager (accesso root completo)';
+$_lang["role_frames"] = 'Visualizza i frames del Manager EVO';
+$_lang["role_help"] = 'Visualizza le pagine di aiuto';
+$_lang["role_home"] = 'Visualizza la pagina introduttiva del Manager EVO';
+$_lang["role_import_static"] = 'Importa HTML';
+$_lang["role_logout"] = 'Esci dal Manager EVO';
+$_lang["role_manage_metatags"] = 'Gestione META tag e parole chiave';
+$_lang["role_management_msg"] = 'Qui potete scegliere il Ruolo da modificare o creare un nuovo Ruolo.';
+$_lang["role_management_title"] = 'Gestione Ruoli';
+$_lang["role_messages"] = 'Visualizza ed invia messaggi';
+$_lang["role_module_management"] = 'Gestione Moduli';
+$_lang["role_name"] = 'Nome Ruolo';
+$_lang["role_new_module"] = 'Crea nuovo Modulo';
+$_lang["role_new_role"] = 'Crea nuovi ruoli';
+$_lang["role_new_user"] = 'Crea nuovi utenti';
+$_lang["role_new_web_user"] = 'Crea nuovo utete web';
+$_lang["role_plugin_management"] = 'Gestione Plugin';
+$_lang["role_publish_doc"] = 'Pubblica Risorse';
+$_lang["role_remove_locks"] = 'Togli i blocchi';
+$_lang["role_role_management"] = 'Gestione Ruolo';
+$_lang["role_run_module"] = 'Esegui Modulo';
+$_lang["role_save_chunk"] = 'Salva Chunk';
+$_lang["role_save_doc"] = 'Salva Risorse';
+$_lang["role_save_module"] = 'Salva Modulo';
+$_lang["role_save_password"] = 'Salva password';
+$_lang["role_save_plugin"] = 'Salva Plugin';
+$_lang["role_save_role"] = 'Salva ruoli';
+$_lang["role_save_snippet"] = 'Salva Snippet';
+$_lang["role_save_template"] = 'Salva Template';
+$_lang["role_save_user"] = 'Salva utenti';
+$_lang["role_save_web_user"] = 'Salva utente web';
+$_lang["role_snippet_management"] = 'Gestione Snippet';
+$_lang["role_template_management"] = 'Gestione Template';
+$_lang["role_title"] = 'Crea/Modifica Ruolo';
+$_lang["role_udperms"] = 'Gestione permessi';
+$_lang["role_user_management"] = 'Gestione utente';
+$_lang["role_view_docdata"] = 'Visualizza i dati di una Risorsa';
+$_lang["role_view_eventlog"] = 'Vedi Log degli Eventi';
+$_lang["role_view_logs"] = 'Visualizza i log di sistema';
+$_lang["role_view_unpublished"] = 'Vedi le Risorse non pubblicate';
+$_lang["role_web_access_persmissions"] = 'Permessi di accesso Web';
+$_lang["role_web_user_management"] = 'Gestione utente web';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
+$_lang["rss_url_news_message"] = 'Inserire l\'URL per il Feed RSS Novità EVO. ';
+$_lang["rss_url_news_title"] = 'Feed RSS Novità EVO:';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
+$_lang["rss_url_security_message"] = 'Inserire l\'URL per il Feed RSS Avvisi di Protezione EVO.';
+$_lang["rss_url_security_title"] = 'Feed RSS Avvisi di Protezione EVO:';
+$_lang["run_module"] = 'Esegui Modulo';
+$_lang["saturday"] = 'Sabato';
+$_lang["save"] = 'Salva';
+$_lang["save_all_changes"] = 'Salva tutte le modifiche';
+$_lang["save_tag"] = 'Salva tag';
+$_lang["saving"] = 'Salvataggio in corso, vi preghiamo di attendere...';
+$_lang["search"] = 'Ricerca';
+$_lang["search_criteria"] = 'Criteri di ricerca';
+$_lang["search_criteria_content"] = 'Cerca per contenuto';
+$_lang["search_criteria_content_msg"] = 'Trovate tutte le Risorse che hanno questo testo nel loro contenuto.';
+$_lang["search_criteria_id"] = 'Cerca per ID';
+$_lang["search_criteria_id_msg"] = 'Inserite l\'ID di una Risorsa per individuarla rapidamente.';
+$_lang["search_criteria_top"] = 'Cerca nei campi principali';
+$_lang["search_criteria_top_msg"] = 'Pagetitle, Longtitle, Alias, ID';
+$_lang["search_criteria_template_id"] = 'Cerca per ID del template';
+$_lang["search_criteria_template_id_msg"] = 'Trova tutte le Risorse che utilizzano il template specificato';
+$_lang["search_criteria_url_msg"] = 'Cerca una risorsa per url esatta';
+$_lang["search_criteria_longtitle"] = 'Cerca per titolo esteso';
+$_lang["search_criteria_longtitle_msg"] = 'Trovate tutte le Risorse che nel titolo esteso contengono questo testo.';
+$_lang["search_criteria_title"] = 'Cerca per titolo';
+$_lang["search_criteria_title_msg"] = 'Trovate tutte le Risorse che nel titolo contengono questo testo.';
+$_lang["search_empty"] = 'La ricerca non ha prodotto risultati. Estendete i criteri di ricerca e provate nuovamente.';
+$_lang["search_item_deleted"] = 'Questo elemento è stato eliminato';
+$_lang["search_results"] = 'Risultati della ricerca';
+$_lang["search_results_returned_desc"] = 'Descrizione';
+$_lang["search_results_returned_id"] = 'ID';
+$_lang["search_results_returned_msg"] = 'I criteri di ricerca hanno restituito %s Risorse. Se i risultati sono troppi, provate con una ricerca più specifica. Le due colonne più a sinistra permettono di trovare la Risorsa nella struttura ad albero o di visualizzarla. Le due colonne più a destra mostrano, rispettivamente, se una Risorsa è stata eliminata e qual\'è il suo stato di pubblicazione.';
+$_lang["search_results_returned_title"] = 'Titolo';
+$_lang["search_view_docdata"] = 'Visualizza questo elemento';
+$_lang["security"] = 'Utenti';
+$_lang["security_notices_tab"] = 'Avvisi di Protezione';
+$_lang["security_notices_title"] = 'Avvisi di Protezione';
+$_lang["select_date"] = 'Seleziona data';
+$_lang["send"] = 'Invia';
+$_lang["server_protocol_http"] = 'http';
+$_lang["server_protocol_https"] = 'https';
+$_lang["server_protocol_message"] = 'Specificate qui se il sito è su una connessione https.';
+$_lang["server_protocol_title"] = 'Tipo server:';
+$_lang["serveroffset"] = 'Scostamento orario del server';
+$_lang["serveroffset_message"] = 'Selezionate il numero di ore di differenza tra il vostro fuso orario e quello del server. L\'ora attuale sul server è [%s] , mentre con lo scostamento che avete impostato l\'ora è [%s] .';
+$_lang["serveroffset_title"] = 'Scostamento orario del server:';
+$_lang["servertime"] = 'Orario del Server';
+$_lang["set_automatic"] = 'Impostazione automatica';
+$_lang["set_default"] = 'Imposta default';
+$_lang["set_default_all"] = 'Imposta defaults';
+$_lang["settings_after_install"] = 'Dato che questa è una nuova installazione, vi preghiamo di controllare queste impostazioni e di cambiare quelle che desiderate. Dopo aver controllato le impostazioni, premete \'Salva\' per aggiornare la configurazione di sistema. ';
+$_lang["settings_config"] = 'Configurazione';
+$_lang["settings_dependencies"] = 'Dipendenze';
+$_lang["settings_events"] = 'Eventi di Sistema';
+$_lang["settings_furls"] = 'Impostazioni URL Semplici';
+$_lang["settings_general"] = 'Informazioni Generali';
+$_lang["settings_group_tv_message"] = 'Scegli se le Template Variabili devono essere raggruppate in sezioni o schede (nominate dalla categoria TV) quando si modifica una risorsa';
+$_lang["settings_group_tv_options"] = 'No, Sezioni in General tab, Tabs in General tab, Sezioni in nuove tab, Tabs in nuove tab, Nuove tabs';
+$_lang["settings_misc"] = 'Impostazioni varie';
+$_lang["settings_security"] = 'Sicurezza';
+$_lang["settings_KC"] = 'File Browser';
+$_lang["settings_page_settings"] = 'Impostazioni Pagina';
+$_lang["settings_photo"] = 'Foto';
+$_lang["settings_properties"] = 'Proprietà';
+$_lang["show_fullscreen_btn_message"] = 'Mostra nel menu il bottone Attiva / disattiva schermo intero';
+$_lang["show_newresource_btn_message"] = 'Mostra il menu Nuova Risorsa';
+$_lang["settings_show_picker_message"] = 'Personalizza il tema del manager e salva in localstorage';
+$_lang["show_fullscreen_btn"] = 'Attiva / disattiva schermo intero';
+$_lang["show_newresource_btn"] = 'Menu Nuova Risorsa';
+$_lang["settings_site"] = 'Impostazioni sito';
+$_lang["settings_strip_image_paths_message"] = 'Se questo valore è impostato su \'No\', EVO imposterà come assoluti gli URL di quello che caricate col File Browser (immagini, file, flash, ecc.). Impostando su \'Si\' si avranno degli URL relativi, utili se dovete spostare l\'installazione di EVO, ad esempio da un sito di test ad uno di produzione. Se non avete idea di cosa significa, lasciate impostato su \'Si\'.';
+$_lang["settings_strip_image_paths_title"] = 'Riscrivere gli URL del Browser:';
+$_lang["settings_templvars"] = 'Variabili di Template';
+$_lang["settings_title"] = 'Impostazioni EVO';
+$_lang["settings_ui"] = 'Impostazioni editor e interfaccia';
+$_lang["settings_users"] = 'Impostazioni utente';
+$_lang["show_meta"] = 'Mostra le META Keywords:';
+$_lang["show_meta_message"] = 'Mostra META Keywords (deprecato) quando si modificano le Risorse nel Manager.';
+$_lang["show_tree"] = 'Mostra struttura ad albero';
+$_lang["show_picker"] = 'Mostra Color Switcher';
+$_lang["showing"] = 'Visualizzo';
+$_lang["signupemail_message"] = 'Qui potete impostare il messaggio con il quale inviare la userid e la password agli utenti a cui create un account.
+Nota: I seguenti Placeholders sono valorizzati da EVO all\'invio del messaggio:
+[+sname+] - Nome del vostro sito web
+[+surl+] - URL del vostro sito web
+[+saddr+] - Email del vostro sito web
+[+uid+] - Userid dell\'utente
+[+pwd+] - Password dell\'utente
+[+ufn+] - Nome completo dell\'utente
+Vi consigliamo di lasciare i due Placeholders [+uid+] e [+pwd+] nel corpo della e-mail altrimenti il nome utente e password non saranno inviati e l\'utente non potrà collegarsi! ';
+$_lang["signupemail_title"] = 'E-mail per l\'iscrizione:';
+$_lang["site"] = 'Sito';
+$_lang["site_schedule"] = 'Pianificazione Sito';
+$_lang["sitename_message"] = 'Inserite qui il nome del vostro sito web.';
+$_lang["sitename_title"] = 'Nome del sito:';
+$_lang["sitestart_message"] = 'Inserite l\'ID della Risorsa che volete usare come Home Page. NOTA: assicuratevi che l\'ID inserito appartenga a una Risorsa esistente e che sia stata pubblicata! ';
+$_lang["sitestart_title"] = 'Il sito inizia da:';
+$_lang["sitestatus_message"] = 'Selezionate \'Online\' per pubblicare il sito sul web. Se selezionate \'Offline\', i visitatori vedranno il \'Messaggio Sito non disponibile\' e non potranno consultarlo.';
+$_lang["sitestatus_title"] = 'Stato del sito:';
+$_lang["siteunavailable_message"] = 'Messaggio da visualizzare quando il sito è offline o si è verificato un errore.';
+$_lang["siteunavailable_message_default"] = 'Questo sito non è al momento disponibile.';
+$_lang["siteunavailable_page_message"] = 'Inserite l\'ID che volete mostrare quando il sito è offline. NOTA: assicuratevi che l\'ID appartenga ad una Risorsa esistente e che sia stata pubblicata! ';
+$_lang["siteunavailable_page_title"] = 'Pagina sito non disponibile:';
+$_lang["siteunavailable_title"] = 'Messaggio sito non disponibile:';
+$_lang["snippet"] = 'Snippet';
+$_lang["snippets"] = 'Snippets';
+$_lang["snippet_code"] = 'Codice dello Snippet (PHP)';
+$_lang["snippet_desc"] = 'Descrizione Snippet';
+$_lang["snippet_execonsave"] = 'Esegui lo Snippet dopo il salvataggio.';
+$_lang["snippet_management_msg"] = 'Qui potete scegliere gli Snippets da modificare o crearne di nuovi.';
+$_lang["snippet_msg"] = 'Qui potete aggiungere/modificare gli Snippets. Ricordate che gli Snippets sono codice PHP \'raw\' (grezzo) e se prevedete che l\'output venga mostrato in un punto preciso del Template dovete avere una variabile nello snippet che abbia il nome dello snippet stesso - in pratica, l\'output dello Snippet dev\'essere salvato in una variabile che porta il nome dello Snippet stesso.';
+$_lang["snippet_name"] = 'Nome Snippet';
+$_lang["snippet_properties"] = 'Proprietà di default';
+$_lang["snippet_title"] = 'Crea/modifica Snippet';
+$_lang["sort_alphabetically"] = 'Ordine alfabetico';
+$_lang["sort_asc"] = 'Ascendente';
+$_lang["sort_desc"] = 'Discendente';
+$_lang["sort_menuindex"] = 'Ordina per indice di menu';
+$_lang["sort_tree"] = 'Ordina la struttura ad albero';
+$_lang['sort_updating'] = 'Aggiornamento ...';
+$_lang['sort_updated'] = 'Aggiornato';
+$_lang['sort_nochildren'] = 'La cartella superiore non contiene documenti';
+$_lang["sort_elements_msg"] = 'Trascinare per riordinare gli elementi della lista.';
+$_lang["source"] = 'Sorgente';
+$_lang["stay"] = 'Continua la modifica dopo il salvataggio';
+$_lang["stay_new"] = 'Aggiungi un altro';
+$_lang["submit"] = 'Invia';
+$_lang["sunday"] = 'Domenica';
+$_lang["sys_alert"] = 'Avviso di sistema';
+$_lang["sysinfo_activity_message"] = 'Questa lista mostra le Risorse modificate di recente dagli utenti.';
+$_lang["sysinfo_userid"] = 'Utente';
+$_lang["system"] = 'Sistema';
+$_lang["system_email_signup"] = '
+
+Salve [+uid+]
+
+qui ci sono le credenziali di autenticazione per il sistema di gestione dei contenuti di [+sname+] :
+
+Username: [+uid+]
+Password: [+pwd+]
+
+Quando ti sarai autenticato nel sistema di gestione ([+surl+]), potrai cambiare la tua password.
+
+Cordiali Saluti,
+
+ l\'amministratore del Sito
+';
+$_lang["system_email_webreminder"] = 'Salve [+uid+]
+
+Per attivare la tua password clicca sul link sottostante:
+
+[+surl+]
+
+In seguito potrai usare la seguente password per accedere:
+
+Password:[+pwd+]
+
+e non hai richiesto questa mail, ignorala.
+
+Cordiali Saluti,
+l\'amministratore del Sito';
+$_lang["system_email_websignup"] = 'Salve [+uid+]
+
+qui ci sono le credenziali di autenticazione per [+sname+]:
+
+Nome utente: [+uid+]
+Password: [+pwd+]
+
+Quando ti sarai autenticato in [+sname+] ([+surl+]), potrai cambiare la tua password.
+
+Cordiali Saluti,
+ l\'amministratore del Sito';
+$_lang["table_hoverinfo"] = 'Portate il cursore sopra il nome di una tabella per vedere una breve descrizione della funzione della tabella (non tutte le tabelle hanno dei commenti impostati o tradotti).';
+$_lang["table_prefix"] = 'Prefisso Tabella';
+$_lang["tag"] = 'Tag';
+$_lang["template"] = 'Template';
+$_lang["templates"] = 'Templates';
+$_lang["template_assignedtv_tab"] = 'Variabili di Template Assegnate';
+$_lang["template_code"] = 'Codice del Template (HTML)';
+$_lang["template_desc"] = 'Descrizione';
+$_lang["template_edit_tab"] = 'Modifica Template';
+$_lang["template_management_msg"] = 'Qui potete scegliere il Template da modificare o creare un nuovo Template.';
+$_lang["template_msg"] = 'Qui potete creare/modificare i Templates. I Template modificati o nuovi non saranno visibili nelle pagine in cache finchè la cache stessa non verrà svuotata. Ad ogni modo, potete usare la funzione di anteprima su una pagina per vedere il Template in azione.';
+$_lang["template_name"] = 'Nome del Template';
+$_lang["template_no_tv"] = 'A questo Template non sono ancora state assegnate delle Variabili di Template.';
+$_lang["template_notassigned_tv"] = 'Queste variabili di template sono disponibili per l\'assegnazione.';
+$_lang["template_reset_all"] = 'Impostate il nuovo Template di default su tutte le pagine';
+$_lang["template_reset_specific"] = 'Impostate il nuovo Template di default solo sulle pagine con \'%s\'';
+$_lang["template_selectable"] = 'Template selezionabile durante la creazione o la modifica di risorse.';
+$_lang["template_title"] = 'Crea/Modifica Template';
+$_lang["template_tv_edit"] = 'Modifica l\'ordine delle Variabili di Template';
+$_lang["template_tv_edit_message"] = 'Trascinare per riordinare le Variabili di Template di questo Template.';
+$_lang["template_tv_edit_title"] = 'Ordine delle Variabili di Template';
+$_lang["template_tv_msg"] = 'Le variabili di template assegnate a questo Template sono elencate qui in basso.';
+$_lang["thursday"] = 'Giovedì';
+$_lang["tmplvar_access_msg"] = 'Selezionate i Gruppi di Risorse autorizzati a modificare il contenuto o il valore di questa Variabile di Template';
+$_lang["tmplvar_change_template_msg"] = 'Cambiando questo Template verranno ricaricate le Variabili di Template. Tutte le modifiche non salvate verranno perse.\n\n Siete sicuri di voler modificare il Template?';
+$_lang["tmplvar_inuse"] = 'Le seguenti Risorse utilizzano questa Variabile di Template. Per confermare la cancellazione, cliccare su elimina. Altrimenti cliccare su cancella.';
+$_lang["tmplvar_tmpl_access"] = 'Accesso Template';
+$_lang["tmplvar_tmpl_access_msg"] = 'Selezionate quali Templates possono utilizzare questa Variabile di Template';
+$_lang["tmplvar"] = 'Variabile di Template';
+$_lang["tmplvars"] = 'Variabili di Template';
+$_lang["tmplvars_binding_msg"] = 'Questo campo supporta connessioni a sorgenti dati che usano il comando @ ';
+$_lang["tmplvars_caption"] = 'Didascalia';
+$_lang["tmplvars_default"] = 'Valore di default';
+$_lang["tmplvars_description"] = 'Descrizione';
+$_lang["tmplvars_elements"] = 'Opzioni valori di input';
+$_lang["tmplvars_inherited"] = 'Value inherited';
+$_lang["tmplvars_management_msg"] = 'Qui potete gestire e creare le Variabili di Template per le vostre Risorse.';
+$_lang["tmplvars_msg"] = 'Qui potete creare o modificare le Variabili di Template. Le Variabili di Template devono essere assegnate ad un Template per poter essere utilizzate da Snippets e Risorse.';
+$_lang["tmplvars_name"] = 'Nome variabile';
+$_lang["tmplvars_novars"] = 'Nessuna Variabile di Template trovata';
+$_lang["tmplvars_rank"] = 'Ordinamento';
+$_lang["tmplvars_rank_edit_message"] = 'Trascina per riordinare le variabili di template';
+$_lang["tmplvars_reset_params"] = 'Resetta parametri';
+$_lang["tmplvars_title"] = 'Crea/Modifica Variable di Template';
+$_lang["tmplvars_type"] = 'Tipo di input';
+$_lang["tmplvars_widget"] = 'Widget';
+$_lang["tmplvars_widget_prop"] = 'Proprietà Widget';
+$_lang["to"] = 'a';
+$_lang["toggle_fullscreen"] = 'Attiva/Disattiva schermo intero';
+$_lang["tools"] = 'Strumenti';
+$_lang["top_howmany_message"] = 'Nel visualizzare i resoconti, quanto deve essere grande la lista \'I primi ...\'?';
+$_lang["top_howmany_title"] = 'Quanti \'I primi\':';
+$_lang["total"] = 'totale';
+$_lang["track_visitors_message"] = 'Seleziona per mostrare le risorse secondarie nell\'albero del documento';
+$_lang["track_visitors_title"] = 'Mostra le risorse secondarie';
+$_lang["tree_page_click"] = 'Azione del click su una pagina:';
+$_lang["tree_page_click_message"] = 'Cosa succede facendo click su una pagina nell\'albero del sito.';
+$_lang["use_breadcrumbs"] = 'Mostra navigazione';
+$_lang["use_breadcrumbs_message"] = 'Mostra la navigazione quando crei o modifichi una risorsa';
+$_lang["tree_show_protected"] = 'Mostra pagine protette:';
+$_lang["tree_show_protected_message"] = 'Se è selezionato \'No\' le pagine protette (e tutte le pagine figlie) non appariranno nell\'albero delle Risorse. \'No\' è l\'impostazione di default di EVO.';
+$_lang["truncate_table"] = 'Cliccate qui per troncare questa tabella';
+$_lang["tuesday"] = 'Martedì';
+$_lang["tv"] = 'TV';
+$_lang["type"] = 'Tipo';
+$_lang["udperms_allowroot_message"] = 'Volete permettere agli utenti di creare nuove Risorse e cartelle nella root del sito? ';
+$_lang["udperms_allowroot_title"] = 'Permetti creazione nella root:';
+$_lang["udperms_message"] = 'I permessi di accesso vi consentono di specificare quali pagine possono essere modificate dagli utenti. Avete bisogno di assegnare gli utenti ai Gruppi di Utenti, le Risorse ai Gruppi di Risorse, ed infine dovrete specificare quali Gruppi di Utenti hanno accesso a quali Gruppi di Risorse. Appena saranno attivati i permessi, solo gli amministratori potranno modificare qualsiasi Risorsa.';
+$_lang["udperms_title"] = 'Usa i permessi di accesso:';
+$_lang["unable_set_link"] = 'Impossibile impostare il collegamento!';
+$_lang["unable_set_parent"] = 'Impossibile impostare una nuova Risorsa genitore!';
+$_lang["unauthorizedpage_message"] = 'Digitate l\'ID della Risorsa che volete mostrare agli utenti che hanno richiesto una Risorsa protetta o non autorizzata. NOTA: assicuratevi che la Risorsa indicata esista, sia pubblicata e accessibile all\'utente! ';
+$_lang["unauthorizedpage_title"] = 'Pagina non autorizzata:';
+$_lang["unblock_message"] = 'L\'utente non sarà più bloccato dopo aver salvato i suoi dati.';
+$_lang["undelete_resource"] = 'Ripristina Risorsa';
+$_lang["unpublish_date"] = 'Data di ritiro dalla pubblicazione';
+$_lang["unpublish_events"] = 'Eventi di ritiro dalla pubblicazione';
+$_lang["unpublish_resource"] = 'Ritira Risorsa';
+$_lang["untitled_resource"] = 'Risorsa senza titolo';
+$_lang["untitled_weblink"] = 'Link Web senza titolo';
+$_lang["update_params"] = 'Aggiorna parametri di visualizzazione';
+$_lang["update_settings_from_language"] = 'Sostituire con:';
+$_lang["upload_maxsize_message"] = 'Qui potete inserire le dimensioni massime dei file che si possono caricare tramite il sistema di gestione file. Le dimensioni devo essere impostate in bytes. NOTA: File troppo grandi impiegano molto tempo a caricare! ';
+$_lang["upload_maxsize_title"] = 'Massima dimensione caricamento:';
+$_lang["uploadable_files_message"] = 'Qui potete inserire la lista dei tipi di file che si possono caricare nella cartella assets/files con il File Browser. Inserite le estensioni per i vari tipi di file separate da virgole.';
+$_lang["uploadable_files_title"] = 'Tipi di file caricabili:';
+$_lang["uploadable_flash_message"] = 'Qui potete inserire la lista dei tipi di file che si possono caricare con il File Browser nella cartella \'assets/flash/\'. Inserite le estensioni per i tipi di file Flash separate da virgole.';
+$_lang["uploadable_flash_title"] = 'Tipi di Flash caricabili:';
+$_lang["uploadable_images_message"] = 'Qui potete inserire la lista dei tipi di file che si possono caricare con il File browser nella cartella \'assets/images/\'. Inserite le estensioni per i tipi di immagine separate da virgole.';
+$_lang["uploadable_images_title"] = 'Tipi di immagini caricabili:';
+$_lang["uploadable_media_message"] = 'Qui potete inserire una lista dei tipi di file che si possono caricare con il File Manager nella cartella \'assets/media/\'. Inserite le estensioni per i tipi di media separate da virgole.';
+$_lang["uploadable_media_title"] = 'Tipi di media caricabili:';
+$_lang["use_alias_path_message"] = 'Abilitando questa opzione verrà generato un percorso virtuale per la Risorsa. Ad esempio, se la Risorsa "figlio.html" sta dentro la Risorsa Cartella "genitore" il percorso completo sarà "/genitore/figlio.html".';
+$_lang["use_alias_path_title"] = 'Usa percorso completo per l\'alias:';
+$_lang["use_editor_message"] = 'Volete abilitare l\'editor rich text? Se ritenete più comodo scrivere direttamente in HTML, con questa impostazione potete disabilitarlo. Da notare che le impostazioni si applicano a tutte le Risorse e a tutti gli utenti!';
+$_lang["use_editor_title"] = 'Abilita editor rich text:';
+$_lang["use_global_tabs"] = 'Usa Global Tabs';
+$_lang["user"] = 'Utente';
+$_lang["user_block"] = 'Bloccato';
+$_lang["user_blockedafter"] = 'Bloccato dopo';
+$_lang["user_blockeduntil"] = 'Bloccato fino';
+$_lang["user_changeddata"] = 'I vostri dati sono stati modificati. Vi preghiamo di effettuare nuovamente l\'accesso.';
+$_lang["user_country"] = 'Nazione';
+$_lang["user_dob"] = 'Data di nascita';
+$_lang["user_doesnt_exist"] = 'L\'utente non esiste';
+$_lang["user_edit_self_msg"] = 'Se cambiate lo vostre informazioni utente dopo il salvataggio potreste aver bisogno di scollegarvi e di ricollegarvi nuovamente. Se avete scelto di generare automaticamente una nuova password vi verrà inviata per e-mail, verificate l\'indirizzo e-mail che avete inserito.';
+$_lang["user_email"] = 'Indirizzo e-mail';
+$_lang["user_failedlogincount"] = 'Login falliti';
+$_lang["user_fax"] = 'Numero di fax';
+$_lang["user_female"] = 'Femmina';
+$_lang["user_full_name"] = 'Nome completo';
+$_lang["user_gender"] = 'Sesso';
+$_lang["user_is_blocked"] = 'L\'utente è bloccato!';
+$_lang["user_logincount"] = 'Numero di autenticazioni';
+$_lang["user_male"] = 'Maschio';
+$_lang["user_management_msg"] = 'Qui potete scegliere l\'utente da modificare o creare un nuovo utente. Questi utenti sono quelli che possono accedere al sistema di gestione dei contenuti.';
+$_lang["user_management_title"] = 'Gestione Utenti';
+$_lang["user_mobile"] = 'Numero di cellulare';
+$_lang["user_phone"] = 'Numero di telefono';
+$_lang["user_photo"] = 'Foto dell\'Utente';
+$_lang["user_photo_message"] = 'Inserite l\'url dell\'immagine o caricate l\'immagine sul server.';
+$_lang["user_prevlogin"] = 'Ultima autenticazione';
+$_lang["user_role"] = 'Ruolo dell\'utente';
+$_lang["user_state"] = 'Regione';
+$_lang["user_title"] = 'Crea/modifica utente';
+$_lang["user_upload_message"] = 'Se volete impedire che questo utente possa caricare files di questo tipo, assicuratevi che la casella \'Use Main Configuration Setting\' non sia selezionata e lasciate vuoto il campo.';
+$_lang["user_use_config"] = 'Usare le Impostazioni di Sistema';
+$_lang["user_zip"] = 'CAP';
+$_lang["username"] = 'Nome utente';
+$_lang["users"] = 'Utenti';
+$_lang["valid_hostnames_message"] = 'Inserendo una lista di nomi di host consentiti per questa installazione di EVO è possibile prevenire che con un attacco XSS si possa falsificare l\'impostazione di sistema site_url. Può essere importante farlo per alcuni tipi di server condivisi o altri server direttamente accessibili da un indirizzo IP. Il primo nome di host della lista verà usato quando HTTP_HOST non corrisponde ad alcun nome di host valido.';
+$_lang["valid_hostnames_title"] = 'Nomi di host consentiti:';
+$_lang["validate_referer_message"] = 'Validare gli headers HTTP_REFERER per ridurre il rischio di essere vittime di un attacco CSRF (Cross Site Request Forgery). Alcune configurazioni possono non essere in grado di gestire questa opzione se il server non invia gli headers HTTP_REFERER.';
+$_lang["validate_referer_title"] = 'Validazione degli headers HTTP_REFERER:';
+$_lang["value"] = 'Valore';
+$_lang["version"] = 'Versione';
+$_lang["view"] = 'Mostra';
+$_lang["view_child_resources_in_container"] = 'Vedi le Risorse contenute';
+$_lang["view_log"] = 'Vedi log';
+$_lang["view_logging"] = 'Log del Manager';
+$_lang["view_sysinfo"] = 'Informazioni di Sistema';
+$_lang["warning"] = 'Attenzione!';
+$_lang["warning_not_saved"] = 'Le modifiche che avete effettuato non sono state ancora salvate. Potete scegliere di rimanere sulla pagina corrente per salvarle (\'Annulla\'), oppure potete abbandonarla perdendo ogni modifica che avete fatto (\'OK\').';
+$_lang["warning_visibility"] = 'Avvisi di configurazione visibili a:';
+$_lang["warning_visibility_message"] = 'Controlla la visualizzazione degli avvisi mostrati nella pagina iniziale del Manager';
+$_lang["web_access_permissions"] = 'Permessi di accesso Web';
+$_lang["web_access_permissions_user_groups"] = 'Gruppi di Utenti Web';
+$_lang["web_permissions"] = 'Permessi Web';
+$_lang["web_user_management_msg"] = 'Qui potete selezionare l\'utente web da modificare. Gli utenti web sono gli utenti autorizzati ad accedere al sito.';
+$_lang["web_user_management_title"] = 'Gestione Utenti Web';
+$_lang["web_user_title"] = 'Crea/modifica Utenti Web';
+$_lang["web_users"] = 'Utenti web';
+$_lang["weblink"] = 'Link Web';
+$_lang["webpwdreminder_message"] = 'Inserite il messaggio da inviare in mail, quando gli utenti chiedono una nuova password via email. IL sistema di gestione dei contenuti invierà loro una e-mail contenente la nuova password e le informazioni di attivazione. Nota: I seguenti segnaposto saranno sostituiti dal sistema di gestione del contenuto quando invierà il messaggio: [+sname+] - Nome del sito, [+saddr+] - Indirizzo email del sito, [+surl+] - Url del sito, [+uid+] - Login o id dell\'utente, [+pwd+] - Password utente, [+ufn+] - Nome completo dell\'utente. Lasciate [+uid+] e [+pwd+] nella e-mail, altrimenti il nome utente e la password non verranno inviati! ';
+$_lang["webpwdreminder_title"] = 'Email recupero dati autenticazione:';
+$_lang["websignupemail_message"] = 'Qui potete impostare il messaggio e-mail contenente nome utente e password inviato agli utenti quando gli create un nuovo account. Nota: I seguenti Placeholders saranno sostituiti dal sistema di gestione dei contenuti quando invierà il messaggio: [+sname+] - Nome del sito, [+saddr+] - Indirizzo email del sito, [+surl+] - Url del sito, [+uid+] - Login o id dell\'utente, [+pwd+] - Password utente, [+ufn+] - Nome completo dell\'utente. Lasciate [+uid+] e [+pwd+] nella e-mail, altrimenti il nome utente e la password non verranno inviati! ';
+$_lang["websignupemail_title"] = 'Indirizzo E-mail di registrazione:';
+$_lang["wednesday"] = 'Mercoledì';
+$_lang["welcome_messages"] = 'La vostra inbox contiene %d messaggi(o), di cui %s non letto/i.';
+$_lang["welcome_title"] = 'Benvenuto nel sistema di gestione dei contenuti EVO';
+$_lang["which_editor_message"] = 'Qui potete selezionare quale editor rich text preferite usare. Potete scaricare ed installare altri editor dalla sezione downloads del sito EVO ';
+$_lang["which_editor_title"] = 'Editor da usare:';
+$_lang["working"] = 'Sto elaborando...';
+$_lang["wrap_lines"] = 'Manda le linee a capo automaticamente';
+$_lang["xhtml_urls_message"] = 'Sostituisce la e commerciale (ampersand (&)) negli indirizzi generati da EVO con l\' entità HTML &';
+$_lang["xhtml_urls_title"] = 'URL XHTML:';
+$_lang["yes"] = 'Si';
+$_lang["you_got_mail"] = 'Avete una mail';
+$_lang["yourinfo_message"] = 'Questa sezione mostra alcune vostre informazioni:';
+$_lang["yourinfo_previous_login"] = 'La vostra ultima connessione al sistema:';
+$_lang["yourinfo_role"] = 'Il vostro Ruolo è:';
+$_lang["yourinfo_title"] = 'Le vostre informazioni';
+$_lang["yourinfo_total_logins"] = 'Numero totale di connessioni:';
+$_lang["yourinfo_username"] = 'Siete autenticati come:';
+
+$_lang["a17_error_reporting_title"] = 'Livello di dettaglio degli errori PHP:';
+$_lang["a17_error_reporting_msg"] = 'Imposta il livello di rilevamento degli errori PHP.';
+$_lang["a17_error_reporting_opt0"] = 'Ignora tutti gli errori';
+$_lang["a17_error_reporting_opt1"] = 'Ignora gli errori di basso livello (E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT )';
+$_lang["a17_error_reporting_opt2"] = 'Rileva tutti gli errori eccetto E_NOTICE';
+$_lang["a17_error_reporting_opt99"] = 'Rileva tutti gli errori';
+
+$_lang["pwd_hash_algo_title"] = 'Algoritmo di hash:';
+$_lang["pwd_hash_algo_message"] = 'Password algoritmo di hash.';
+
+$_lang["enable_bindings_title"] = 'Abilita comandi @Bindings:';
+$_lang["enable_bindings_message"] = 'Impedisce l\'esecuzione di funzioni PHP attraverso Variabili di Template di tipo @Bindings. Utile se avete utenti del manager che non devono poter creare codice PHP, ma che possono creare o modificare le Variabili di Template. L\'output di qualsiasi Variabile di Template @Bindings risulta "@Bindings disabled".';
+$_lang["enable_filter_title"] = 'Abilita filtri';
+$_lang["enable_filter_message"] = 'I filtri consentono di manipolare il modo in cui viene mostrato un tag. Inoltre, consentono di modificare i valori dall\'interno template. Funzionalità analoghe a PHx. Maggiori info '; // todo: change link to documentation
+$_lang["enable_filter_phx_warning"] = 'Quando PHx è abilitato, i filtri sono disabilitati.';
+
+$_lang["enable_filter_phx_warning"] = 'Quando PHx è abilitato, i filtri sono disabilitati.';
+
+$_lang["enable_at_syntax_title"] = 'Abilita <@SYNTAX>';
+$_lang["enable_at_syntax_message"] = '<@SYNTAX>(atmark syntax) è una sintassi di template semplice e leggera. Questo è progettato per considerare la coesistenza con tag HTML e stringhe di contenuto.';
+
+$_lang["bkmgr_alert_mkdir"] = 'Non è possibile creare un file nella cartella. Controlla i permessi di scrittura di [+snapshot_path+]';
+$_lang["bkmgr_restore_msg"] = '
Tabelle del database che potrebbero essere recuperate dall\'SQL:
';
+$_lang["bkmgr_restore_title"] = 'Ripristina';
+$_lang["bkmgr_import_ok"] = 'Riristino SQL eseguito correttamente.';
+$_lang["bkmgr_snapshot_ok"] = 'Lo snapshot è stato salvato con successo.';
+$_lang["bkmgr_run_sql_file_label"] = 'Eseguire da file SQL';
+$_lang["bkmgr_run_sql_direct_label"] = 'Eseguire direttamente le stringhe SQL';
+$_lang["bkmgr_run_sql_submit"] = 'Eseguire ripristino';
+$_lang["bkmgr_run_sql_result"] = 'Risultati';
+$_lang["bkmgr_snapshot_title"] = 'Salvataggio e recupero snapshots';
+$_lang["bkmgr_snapshot_msg"] = 'I contenuti del database vengono salvati e ripristinati da una directory del server. Percorso del salvataggio : [+snapshot_path+] ($modx->config[\'snapshot_path\'])
';
+$_lang["bkmgr_snapshot_submit"] = 'Aggiungi uno snapshot';
+$_lang["bkmgr_snapshot_list_title"] = 'Lista degli snapshots';
+$_lang["bkmgr_restore_submit"] = 'Ripristina questi dati';
+$_lang["bkmgr_restore_confirm"] = 'Sei sicuro di voler ripristinare il backup\n[+filename+] ? ';
+$_lang["bkmgr_snapshot_nothing"] = 'Nessuno snapshot disponibile';
+
+$_lang["files.dynamic.php1"] = 'Nuovo file di testo';
+$_lang["files.dynamic.php2"] = 'Questa cartella non può essere mostrata.';
+$_lang["files.dynamic.php3"] = 'C\'è un problema con il nome del file';
+$_lang["files.dynamic.php4"] = 'File di testo creato.';
+$_lang["files.dynamic.php5"] = 'Il file non può essere duplicato.';
+$_lang["files.dynamic.php6"] = 'il file o la directory non possono essere rinominati.';
+$_lang["files_dynamic_new_folder_name"] = 'Inserire il nome della nuova directory:';
+$_lang["files_dynamic_new_file_name"] = 'Inserire il nome del nuovo file:';
+$_lang["not_readable_dir"] = 'Non posso accedere a questa cartella.';
+$_lang["confirm_delete_dir"] = 'Sei sicuro di voler cancellare questa cartella?';
+$_lang["confirm_delete_dir_recursive"] = 'Siete sicuri di voler cancellare questa directory?\n\nAnche tutti i file che contiene saranno cancellati.';
+
+$_lang["make_folders_title"] = 'Terminare l\'URL del Container con slash (/)';
+$_lang["make_folders_message"] = 'Aggiunge uno slash (/) all\'URL delle Risorse che sono impostate come cartelle quando si usano gli Url Semplici.';
+
+$_lang["check_files_onlogin_title"] = 'Controllo dei files di sistema:';
+$_lang["check_files_onlogin_message"] = 'Attivando questa opzione, i files di sistema più importanti saranno controllati e sarete avvisati nel caso siano stati modificati (ad es. in caso attacchi via script al sito web). Pur non essendo una garanzia infallibile, può essere utile per capire quando è stato compromesso un file di sistema EVO e/o tutto il sito web.';
+
+$_lang["configcheck_sysfiles_mod"] = 'Sono stati modificati alcuni importanti file di sistema.';
+$_lang["configcheck_sysfiles_mod_msg"] = 'È stato configurato EVO per controllare i file più importanti del sistema da possibili attacchi al sito web. Questo avviso non significa necessariamente che il tuo sito è stato compromesso, tuttavia, è necessario esaminare i file controllati nell\'installazione (impostazione in Impostazioni di sistema -> Utente -> Controlla i file del sistema al login). Se i file sono inalterati o modificati dagli amministratori del sito. Ri-salvare le impostazioni per eliminare questo messaggio. Sono state trovate modifiche nei seguenti file ';
+
+$_lang['email_method_title'] = 'Metodo di invio mail:';
+$_lang['email_method_mail'] = 'Funzione mail() di PHP';
+$_lang['email_method_smtp'] = 'Server SMTP';
+$_lang['smtp_auth_title'] = 'SMTP-AUTH:';
+$_lang['smtp_host_title'] = 'Host SMTP:';
+$_lang['smtp_secure_title'] = 'SMTP criptato';
+$_lang['smtp_username_title'] = 'Utente SMTP:';
+$_lang['smtp_password_title'] = 'Password SMTP:';
+$_lang['smtp_port_title'] = 'Porta SMTP:';
+
+$_lang["setting_resource_tree_node_name"] = 'Nome utilizzato nell\'albero delle Risorse:';
+$_lang["setting_resource_tree_node_name_desc"] = 'Selezionare quale proprietà della Risorsa sarà mostrata nell\'albero come nome della Risorsa. Di default è pagetitle.';
+$_lang["setting_resource_tree_node_name_desc_add"] = 'Nota: Dalla versione EVO 1.1 è possibile modificare il nome mostrato nell\'albero delle risorse. Questa impostazione viene utilizzata quando il nome visualizzato nell\'albero delle risorse è impostato a "Default".';
+
+$_lang["resource_opt_alvisibled"] = 'Usa l\'alias attuale nel percorso';
+$_lang["resource_opt_alvisibled_help"] = 'L\'alias di questa risora è inserito nel percorso degli Url Semplici';
+$_lang['resource_opt_is_published'] = 'Published';
+$_lang["docid_incrmnt_method_title"] = 'Metodo di incremento per l\'ID della Risorsa:';
+$_lang["docid_incrmnt_method_0"] = 'Incremento automatico DB';
+$_lang["docid_incrmnt_method_1"] = 'ID libero più basso';
+$_lang["docid_incrmnt_method_2"] = 'ID più grande + 1';
+
+$_lang["enable_cache_title"] = 'Cache delle risorse';
+$_lang["disabled_at_login"] = 'Disabilitato all\'accesso';
+
+$_lang["cache_type_title"] = 'Tipologia della cache dei documenti:';
+$_lang["cache_type_1"] = 'La cache si basa solo sull\'ID della Risorsa (standard)';
+$_lang["cache_type_2"] = 'La cache si basa sull\'ID della risorsa e sui parametri $_GET';
+$_lang["seostrict_title"] = 'Usa URL univoci:';
+$_lang["seostrict_message"] = 'Forza l\'uso di URL SEO univoche per prevenire contenuti duplicati (se necessario)';
+$_lang["aliaslistingfolder_title"] = 'Usa AliasListing solo per le cartelle';
+$_lang["aliaslistingfolder_message"] = 'Riduce il consumo di memoria quando si ha un gran numero di risorse';
+
+$_lang["settings_friendlyurls_alert"] = 'E\' necessario rinominare il file ht.access presente nella root dell\'installazione di EVO in .htaccess per poter utilizzare gli URL Semplici.';
+$_lang["settings_friendlyurls_alert2"] = 'Dasto che EVO è installato in una sottodirectory è necessario modificare di conseguenza il file .htaccess.';
+
+$_lang["user_street"] = 'Strada';
+$_lang["user_city"] = 'Città';
+$_lang["user_other"] = 'Altro';
+
+$_lang["import_site.static.php1"] = 'Resetta l\'albero delle Risorse';
+$_lang["import_site.static.php2"] = 'Resetta l\'albero e inizializza tutti gli ID delle Risorse.';
+$_lang["import_site.static.php3"] = 'Target';
+$_lang["import_site.static.php4"] = 'Soltanto la parte <body></body>';
+$_lang["import_site.static.php5"] = 'Tutto il contenuto del file';
+
+$_lang["a83_ignore_ids_title"] = 'Ignora questi ID (separati da virgola)';
+$_lang["export_site.static.php1"] = 'Target';
+$_lang["export_site.static.php2"] = 'Soltanto le Risorse modificate';
+$_lang["export_site.static.php3"] = 'Tutte le Risorse';
+$_lang["export_site.static.php4"] = 'Cerca ';
+$_lang["export_site.static.php5"] = 'Sostituisci con';
+$_lang["export_site.static.php6"] = 'Target';
+$_lang["export_site.static.php7"] = 'Impossibile salvare i files su [+rb_base_url+]';
+
+$_lang["mutate_settings.dynamic.php6"] = 'Invia una mail per gli errori EVO:';
+$_lang["mutate_settings.dynamic.php7"] = 'Non notificare';
+$_lang["mutate_settings.dynamic.php8"] = 'Verrà inviata una mail con la descrizione dell\'errore EVO a [(emailsender)] ([+emailsender+]). Si potranno vedere i dettagli dell\'errore dal Log Eventi.';
+
+$_lang["error_no_privileges"] = "Non avete i diritti necessari per effettuare questa operazione!";
+$_lang["error_no_optimise_tablename"] = "Impossibile trovare la tabella da ottimizzare!";
+$_lang["error_no_truncate_tablename"] = "Impossibile trovare la tabella da troncare!";
+$_lang["error_double_action"] = "E' stata inviata una doppia azione (GET e POST)!";
+$_lang["error_no_id"] = "Nella richiesta manca l'ID del documento!";
+$_lang["error_id_nan"] = "L'ID passato nella richiesta è NaN!";
+$_lang["error_no_parent"] = "Impossibile trovare il nome del documento genitore!";
+$_lang["error_many_results"] = "Sono stati trovati troppi risultati nel database!";
+$_lang["error_no_results"] = "Sono stati trovati pochi risultati (o nessuno) nel database!";
+$_lang["error_no_user_selected"] = "Non è stato selezionato l'utente a cui inviare questo messaggio!";
+$_lang["error_no_group_selected"] = "Non è stato selezionato il gruppo a cui inviare questo messaggio!";
+$_lang["error_movedocument1"] = "Il documento non può essere genitore di se stesso!";
+$_lang["error_movedocument2"] = "Nella richiesta manca l'ID del documento!";
+$_lang["error_movedocument3"] = "Nella richiesta non è stato indicato il nuovo genitore!";
+$_lang["error_internet_connection"] = "Il server non è disponibile. Controlla la tua connessione Internet!";
+
+$_lang["login_processor_unknown_user"] = "Username o password errati!";
+$_lang["login_processor_wrong_password"] = "Username o password errati!";
+$_lang["login_processor_many_failed_logins"] = "Accesso bloccato a causa di troppi tentativi falliti!";
+$_lang["login_processor_blocked1"] = "Impossibile accedere, l'accesso è stato bloccato!";
+$_lang["login_processor_blocked2"] = "L'accesso è stato bloccato! Riprovare più tardi.";
+$_lang["login_processor_blocked3"] = "Dopo una certa data sarai bloccato e non potrai più accedere!";
+$_lang["login_processor_bad_code"] = "Codice di sicurezza errato! Riprovare!";
+$_lang["login_processor_remotehost_ip"] = "In nome del tuo host non corrisponde al tuo indirizzo IP!";
+$_lang["login_processor_remote_ip"] = "Non ti puoi collegare da questa località!";
+$_lang["login_processor_date"] = "Non puoi accedere adesso. Prova in un altro momento.";
+$_lang["login_processor_captcha_config"] = "Captcha non è configurato correttamente.";
+
+$_lang["dp_dayNames"] = "['Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'] ";
+$_lang["dp_monthNames"] = "['Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giusgno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre']";
+$_lang["dp_startDay"] = "1";
+
+$_lang["check_all"] = "Seleziona tutto";
+$_lang["check_none"] = "Annulla selezione";
+$_lang["check_toggle"] = "Inverti selezione";
+
+$_lang["version_notices"] = "Novità in questa versione";
+
+$_lang["em_button_shift"] = "(Shift-click del mouse per aprire più finestre)";
+
+$_lang["reset_sysfiles_checksum_button"] = "Resetta Controllo";
+$_lang["reset_sysfiles_checksum_alert"] = "Sei sicuro di voler resettare il controllo dei file di sistema?";
+
+$_lang["file_browser_disabled_msg"] = "Il File Browser non è abilitato";
+$_lang["which_browser_default_title"]= "Default File Browser";
+$_lang["which_browser_default_msg"]= "Scegli il browser di file come default. Nelle Impostazioni utente è possibile scegliere un browser personalizzato per ogni utente, o lasciarlo impostato al "default".";
+$_lang["which_browser_title"]= "File Browser";
+$_lang["which_browser_msg"]= "È possibile scegliere un browser di file personalizzato per ogni utente. Per utilizzare l'impostazione predefinita, lasciarlo su "Default".";
+$_lang["option_default"] = "Default";
+$_lang["position"] = "Posizione";
+$_lang["are_you_sure"] = "Sei sicuro?";
+
+$_lang['evo_downloads_title'] = "Evolution Downloads";
+$_lang['help_translating_title'] = "Contribuisci alla traduzione di EVO Evolution";
+$_lang['download'] = "Download";
+$_lang['downloads'] = "Downloads";
+$_lang["previous_releases"] = "Precedente Release ";
+$_lang["extras"] = "Extras";
+
+$_lang["display_locks"] = "Mostra Blocchi";
+$_lang["role_display_locks"] = "Mostra Blocchi";
+$_lang["session_timeout"] = "Timeout Sessione";
+$_lang["session_timeout_msg"] = "EVO effettua il ping al server una volta ogni minuto per aggiornare il controllo di posta. Se l'ultimo ping supera questa impostazione, la sessione associata sarà considerata non valida e tutti i blocchi relativi saranno rimossi automaticamente. Inserisci il valore in minuti (> 2 minuti, di default 15 minuti).";
+$_lang["unlock_element_id_warning"] = "Sei sicuro di voler sbloccare questo [+element_type+] (ID [+id+])?";
+$_lang["lock_element_type_1"] = "Template";
+$_lang["lock_element_type_2"] = "Template-Variable";
+$_lang["lock_element_type_3"] = "Chunk";
+$_lang["lock_element_type_4"] = "Snippet";
+$_lang["lock_element_type_5"] = "Plugin";
+$_lang["lock_element_type_6"] = "Modulo";
+$_lang["lock_element_type_7"] = "Risorsa";
+$_lang["lock_element_type_8"] = "Ruolo";
+$_lang["lock_element_editing"] = "Stai modificando questo [+element_type+] da\n[+lasthit_df+]";
+$_lang["lock_element_locked_by"] = "Questo [+element_type+] è bloccato dall'\n[+username+] da [+lasthit_df+]";
+
+$_lang["minifyphp_incache_title"] = 'Minimizza il codice php nella cache';
+$_lang["minifyphp_incache_message"] = 'Minimizza il codice php(snippets e plugins) e salva nel file di chache, ref:#938 ';
+
+$_lang["logout_reminder_msg"] = "Promemoria: Sembra che il [+date+] ti sei dimenticato di effettuare il logout. Si prega di prestare attenzione in futuro nel fare logout quando si ha finito di lavorare.";
+
+$_lang["allow_eval_title"] = "Utilizza Eval per eseguire il codice PHP nelle chiamate snippet";
+$_lang["allow_eval_msg"] = "Per gli sviluppatori : Si prega di utilizzare \$modx->safeEval().";
+$_lang["allow_eval_with_scan"] = "Esegui solo funzioni consentite";
+$_lang["allow_eval_with_scan_at_post"] = "Esegui tutto, eccetto in caso di POST, dove esegui solo funzioni consentite";
+$_lang["allow_eval_everytime_eval"] = "Illimitato (utilizzare solo per il debug)";
+$_lang["allow_eval_dont_eval"] = "Non consentire tutte le funzioni";
+
+$_lang["safe_functions_at_eval_title"] = "Funzioni in cui consentire eval";
+$_lang["safe_functions_at_eval_msg"] = "Elenco separato da virgole";
+
+$_lang["multiple_sessions_msg"] = "Informazione: Rilevate contemporaneamente sessioni multiple attive (totale [+total+]) per l'utente [+username+] .";
+$_lang["iconv_not_available"] = "È importante installare / abilitare l'estensione iconv.. Contatta il tuo fornitore di l'host, se non sai come abilitarlo.";
+
+$_lang["cm_create_new_category"] = "Crea una nuova categoria";
+$_lang["cm_category_name"] = "Nome categoria";
+$_lang["cm_category_position"] = "Posizione categoria";
+$_lang["cm_no_x_assigned"] = "No %s assegnati";
+$_lang["cm_save_categorization"] = "Salva categorizzazione";
+$_lang["cm_update_categories"] = "Aggiorna categorie";
+$_lang["cm_assigned_elements"] = "Assegna elementi";
+$_lang["cm_edit_name"] = "Modifica nome";
+$_lang["cm_mark_for_deletion"] = "Segna per l'eliminazione";
+$_lang["cm_delete_now"] = "Elimina immediatamente";
+$_lang["cm_delete_element_x_now"] = "Elimina "%s" immediatamente";
+$_lang["cm_select_element_group"] = "Seleziona un gruppo di elementi";
+$_lang["cm_global_messages"] = "Messaggi globali";
+$_lang["cm_add_new_category"] = "Aggiungi categoria";
+$_lang["cm_edit_categories"] = "Modifica categoria";
+$_lang["cm_sort_categories"] = "Ordina categorie";
+$_lang["cm_categorize_elements"] = "Categorizza elementi";
+$_lang["cm_translation"] = "Traduzione";
+$_lang["cm_translations"] = "Traduzioni";
+$_lang["cm_categorize_x"] = "Categorizza %s ";
+$_lang["cm_unknown_error"] = "Qualcosa è andato storto.";
+$_lang["cm_x_assigned_to_category_y"] = "%s(%s) è stato assegnato alla categoria %s(%s) ";
+$_lang["cm_no_categorization"] = "Nessuna categorizzazione effettuata";
+$_lang["cm_no_changes"] = "Nessuna modifica effettuata.";
+$_lang["cm_x_changes_made"] = "%s modifiche effettuate";
+$_lang["cm_enter_name_for_category"] = "Inserisci un nome per la categoria";
+$_lang["cm_category_x_exists"] = "La categoria %s già esiste .";
+$_lang["cm_category_x_saved_at_position_y"] = "La nuova categoria %s è stata salvata nella posizione %s .";
+$_lang["cm_category_x_moved_to_position_y"] = "Categoria %s spostata alla posizione %s ";
+$_lang["cm_category_x_deleted"] = "La categoria %s è stata cancellata";
+$_lang["cm_category_x_renamed_to_y"] = "La categoria %s è stata rinominata %s ";
+$_lang["cm_translation_for_x_empty"] = "La traduzione per %s è assente";
+$_lang["cm_translation_for_x_to_y_success"] = "La traduzione di %s a%s è stata salvata";
+$_lang["cm_save_new_sorting"] = "Salva nuovo ordine";
+$_lang["cm_translate_phrases"] = "Traduci frase";
+$_lang["cm_translate_module_phrases"] = "Traduci frasi del modulo";
+$_lang["cm_native_phrase"] = "Frase nativa";
+
+$_lang["btn_view_options"] = 'Opzioni di visualizzazione';
+$_lang["view_options_msg"] = 'La visualizzazione e l\'elenco degli elementi possono essere personalizzati tramite il pulsante "Opzioni di visualizzazione". Le impostazioni vengono salvate e ripristinate per Browser usando localStorage di HTML5.';
+$_lang["viewopts_title"] = 'Opzioni di visualizzazione';
+$_lang["viewopts_cb_buttons"] = 'Bottoni';
+$_lang["viewopts_cb_descriptions"] = 'Descrizioni';
+$_lang["viewopts_cb_icons"] = 'Icone';
+$_lang["viewopts_radio_list"] = 'Lista';
+$_lang["viewopts_radio_inline"] = 'Inline';
+$_lang["viewopts_radio_flex"] = 'Flex';
+$_lang["viewopts_fontsize"] = 'Dimensione font';
+$_lang["viewopts_cb_alltabs"] = 'Tutti i Tab';
diff --git a/manager/includes/lang/japanese-utf8.inc.php b/manager/includes/lang/japanese-utf8.inc.php
old mode 100644
new mode 100755
index 356dd9bffa..cd879bfcd2
--- a/manager/includes/lang/japanese-utf8.inc.php
+++ b/manager/includes/lang/japanese-utf8.inc.php
@@ -853,7 +853,7 @@
$_lang["rss_url_news_default"] = 'http://feeds2.feedburner.com/modxjp';
$_lang["rss_url_news_message"] = '管理画面トップの「MODX News」のフィードURL';
$_lang["rss_url_news_title"] = 'RSS ニュースフィード';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = '管理画面トップの「MODX Security」のフィードURL';
$_lang["rss_url_security_title"] = 'RSS セキュリティ情報フィード';
$_lang["run_module"] = 'モジュールの実行';
diff --git a/manager/includes/lang/nederlands-utf8.inc.php b/manager/includes/lang/nederlands-utf8.inc.php
old mode 100644
new mode 100755
index 6e1ba73d1a..8262c6ae83
--- a/manager/includes/lang/nederlands-utf8.inc.php
+++ b/manager/includes/lang/nederlands-utf8.inc.php
@@ -1,1387 +1,1480 @@
-PHP Applicatie Framework en Content Management Systeem gelicentieerd onder de GNU GPL .';
-$_lang["about_title"] = 'Over MODX';
-$_lang["access_permission_denied"] = 'U heeft niet de juiste toegangsrechten voor deze Pagina.';
-$_lang["access_permission_parent_denied"] = 'U heeft niet genoeg toegangsrechten om hier een Pagina aan te maken of te verplaatsen! Kies a.u.b. een andere locatie.';
-$_lang["access_permissions"] = 'Toegangsrechten';
-$_lang["access_permissions_add_resource_group"] = 'Maak een nieuwe Paginagroep';
-$_lang["access_permissions_add_user_group"] = 'Maak een nieuwe Gebruikersgroep';
-$_lang["access_permissions_docs_collision"] = 'Omdat de Webgebruikersgroepen en Gebruikersgroepen conflicteren voor uw Rol, zal deze Pagina onbeveiligd zijn. Neem contact op met uw website beheerder voor meer hulp.';
-$_lang["access_permissions_docs_message"] = 'Geef aan tot welke Paginagroepen deze Pagina behoort';
-$_lang["access_permissions_group_link"] = 'Maak een nieuwe groep koppeling';
-$_lang["access_permissions_introtext"] = 'Dit is de beheermodule van Gebruikers- en Paginagroepen die worden gebruikt in het toegangsbeheer. Om een Gebruiker toe te voegen aan een groep, volstaat het deze te bewerken en de groepen te kiezen waartoe deze moet behoren. Om een Pagina toe te wijzen aan een Gebruikersgroep, kiest u tijdens het bewerken van de Pagina voor de groepen waartoe de Pagina moet behoren.';
-$_lang["access_permissions_link_to_group"] = 'aan Paginagroep';
-$_lang["access_permissions_link_user_group"] = 'Koppel Gebruikersgroep';
-$_lang["access_permissions_links"] = 'Gebruikersgroep of Paginagroep koppelingen';
-$_lang["access_permissions_links_tab"] = 'Geef aan welke Gebruikersgroepen toegang hebben tot bepaalde Paginagroepen (m.a.w. welke groepen Subpagina\'s kunnen maken of bewerken). Om een Pagina toe te wijzen aan een groep kiest u de Pagina uit de lijst en klikt u daarna op \'Verzenden\'. Om een Pagina uit een groep te halen klikt u op \'Verwijder\'.';
-$_lang["access_permissions_no_resources_in_group"] = 'Geen.';
-$_lang["access_permissions_no_users_in_group"] = 'Geen.';
-$_lang["access_permissions_off"] = 'Toegangsbeheer is niet geactiveerd. Dit betekent dat wijzigingen die hier worden gemaakt geen effect hebben zolang toegangsbeheer niet is geactiveerd in uw Configuratie.';
-$_lang["access_permissions_resource_groups"] = 'Paginagroepen';
-$_lang["access_permissions_resources_in_group"] = 'Pagina\'s in deze groep: ';
-$_lang["access_permissions_resources_tab"] = 'Bekijk hier de Paginagroepen. U kunt ook nieuwe groepen maken, bestaande bewerken of verwijderen of nagaan welke Pagina deel uitmaakt van een groep. Door met de muis over de ID van de Pagina te bewegen, ziet u de naam ervan. Door de Pagina te bewerken kunt u de groepsrechten wijzigen.';
-$_lang["access_permissions_user_groups"] = 'Gebruikersgroepen';
-$_lang["access_permissions_user_message"] = 'Geef aan tot welke groepen deze Gebruiker behoort:';
-$_lang["access_permissions_users_in_group"] = 'Gebruikers in deze groep:';
-$_lang["access_permissions_users_tab"] = 'Bekijk de Gebruikersgroepen. U kunt ook nieuwe groepen maken, bestaande bewerken of verwijderen, of nagaan wie deel uitmaakt van een groep. Om een Gebruiker uit een groep te halen of aan een groep toe te wijzen, wijzigt u de gegevens van de Gebruiker. Beheerders (dit zijn Gebruikers met profiel ID 1) hebben altijd toegang tot alle Pagina\'s dus hoeft u hen niet toe te voegen aan een groep.';
-$_lang["account_email"] = 'E-mail account';
-$_lang["actioncomplete"] = 'De bewerking is succesvol uitgevoerd! - Een moment geduld a.u.b. MODX is bezig met opschonen.';
-$_lang["activity_message"] = 'Deze lijst toont de laatst bewerkte/gemaakte pagina\'s:';
-$_lang["activity_title"] = 'Recent gemaakte/bewerkte Pagina\'s';
-$_lang["add"] = 'Toevoegen';
-$_lang["add_chunk"] = 'Chunk toevoegen';
-$_lang["add_doc"] = 'Pagina toevoegen';
-$_lang["add_folder"] = 'Nieuwe Map';
-$_lang["add_plugin"] = 'Plug-in toevoegen';
-$_lang["add_resource"] = 'Nieuwe Pagina';
-$_lang["add_snippet"] = 'Snippet toevoegen';
-$_lang["add_tag"] = 'Tag toevoegen';
-$_lang["add_template"] = 'Template toevoegen';
-$_lang["add_tv"] = 'TV toevoegen';
-$_lang["add_weblink"] = 'Nieuwe Weblink';
-$_lang["administrator_role_message"] = 'Dit profiel kan niet worden bewerkt of verwijderd.';
-$_lang["administrators"] = 'Administrators';
-$_lang["after_saving"] = 'Na opslaan';
-$_lang["alert_delete_self"] = 'U kunt uzelf niet verwijderen!';
-$_lang["alias"] = 'Alias';
-$_lang["all_doc_groups"] = 'Alle Paginagroepen (onbeveiligd)';
-$_lang["all_events"] = 'Alle gebeurtenissen';
-$_lang["all_usr_groups"] = 'Alle Gebruikersgroepen (onbeveiligd)';
-$_lang["allow_mgr_access"] = 'Toegang tot het Content Management Systeem';
-$_lang["allow_mgr_access_message"] = 'Deze optie geeft de gebruiker toegang tot het Content Management Systeem. NB: \'Nee\' betekent dat de gebruiker wordt doorverwezen naar de login pagina of de eerste pagina van de website. ';
-$_lang["already_deleted"] = 'is reeds verwijderd.';
-$_lang["attachment"] = 'Bijlage';
-$_lang["author_infos"] = 'Auteur informatie';
-$_lang["automatic_alias_message"] = 'Kies \'Ja\' om het systeem automatisch een alias op basis van de titel van de Pagina te laten genereren wanneer de Pagina wordt opgeslagen.';
-$_lang["automatic_alias_title"] = 'Genereer automatisch een alias';
-$_lang["backup"] = 'Backup';
-$_lang["bk_manager"] = 'Backup';
-$_lang["block_message"] = 'Deze Gebruiker zal geblokkeerd worden na het opslaan van zijn Gebruikersgegevens!';
-$_lang["blocked_minutes_message"] = 'Geef hier het aantal minuten op dat een Gebruiker geblokkeerd zal worden als hij zijn maximaal aantal toegestane aanmeldpogingen heeft bereikt. A.u.b. alleen getallen gebruiken (geen komma\'s, spaties etc.)';
-$_lang["blocked_minutes_title"] = 'Minuten geblokkeerd';
-$_lang["cache_files_deleted"] = 'Deze bestanden werden verwijderd:';
-$_lang["cancel"] = 'Annuleren';
-$_lang["captcha_code"] = 'Beveiligingscode';
-$_lang["captcha_message"] = 'Door CAPTCHA aan te zetten, worden Gebruikers verplicht een beveiligingscode over te typen. Deze code is in een Afbeelding verwerkt en is daardoor onleesbaar voor machines en automatische programma\'s die erop uit zijn in te breken op uw website.';
-$_lang["captcha_title"] = 'CAPTCHA codes gebruiken';
-$_lang["captcha_words_default"] = 'MODX,Access,Better,BitCode,Chunk,Cache,Desc,Design,Excell,Enjoy,URLs,TechView,Gerald,Griff,Humphrey,Holiday,Intel,Integration,Joystick,Join(),Oscope,Genetic,Light,Likeness,Marit,Maaike,Niche,Netherlands,Ordinance,Oscillo,Parser,Phusion,Query,Question,Regalia,Righteous,Snippet,Sentinel,Template,Thespian,Unity,Enterprise,Verily,Tattoo,Veri,Website,WideWeb,Yap,Yellow,Zebra,Zygote';
-$_lang["captcha_words_message"] = 'Vul hier een lijst van woorden in, van elkaar gescheiden door komma\'s, die gebruikt zal worden indien CAPTCHA is ingeschakeld. Het veld kan maximaal 255 tekens bevatten.';
-$_lang["captcha_words_title"] = 'CAPTCHA woorden';
-$_lang["category_heading"] = 'Categorie';
-$_lang["category_msg"] = 'Bekijk en wijzig hier alle Elementen gegroepeerd per categorie.';
-$_lang["cfg_base_path"] = 'MODX_BASE_PATH';
-$_lang["cfg_base_url"] = 'MODX_BASE_URL';
-$_lang["cfg_manager_path"] = 'MODX_MANAGER_PATH';
-$_lang["cfg_manager_url"] = 'MODX_MANAGER_URL';
-$_lang["cfg_site_url"] = 'MODX_SITE_URL';
-$_lang["change_name"] = 'Naam wijzigen';
-$_lang["change_password"] = 'Wachtwoord wijzigen';
-$_lang["change_password_confirm"] = 'Wachtwoord bevestigen';
-$_lang["change_password_message"] = 'Voer a.u.b. uw nieuwe wachtwoord in en voer het dan ter bevestiging nogmaals in. Uw wachtwoord moet tussen de 6 en 15 tekens lang zijn.';
-$_lang["change_password_new"] = 'Nieuw wachtwoord';
-$_lang["charset_message"] = 'Kies de standaard karakterset codering voor de [(modx_charset)] systeem variabele. Dit beïnvloed niet het Content Management Systeem.';
-$_lang["charset_title"] = 'Karakterset codering';
-$_lang["chunk"] = 'Chunk';
-$_lang["chunk_code"] = 'Chunk code (html)';
-$_lang["chunk_multiple_id"] = 'Fout: Meerdere Chunks delen deze unieke ID.';
-$_lang["chunk_no_exist"] = 'Chunk bestaat niet.';
-$_lang["cleaningup"] = 'Opschonen';
-$_lang["clean_uploaded_filename"] = 'Gebruik Transliteratie voor Bestanden Uploaden';
-$_lang["clean_uploaded_filename_message"] = 'Gebruik de standaard of transalias instelling voor de bestandsnaam om speciale karakters op te schonen';
-$_lang["clear_log"] = 'Logboek leegmaken';
-$_lang["click_to_context"] = 'Klik om het context menu te openen';
-$_lang["click_to_edit_title"] = 'Klik hier om deze regel te bewerken';
-$_lang["click_to_view_details"] = 'Klik hier voor details';
-$_lang["close"] = 'Sluiten';
-$_lang["code"] = 'Code';
-$_lang["collapse_tree"] = 'Website boomstructuur inschuiven';
-$_lang["comment"] = 'Opmerking';
-$_lang["configcheck_admin"] = 'Neem a.u.b. contact op met een systeembeheerder en geef deze melding door!';
-$_lang["configcheck_cache"] = 'Kan niet schrijven in de cache Map';
-$_lang["configcheck_cache_msg"] = 'MODX kan niet naar de cache Map schrijven. MODX blijft normaal functioneren, maar er zal geen caching plaatsvinden. Om dit probleem op te lossen dient u de /_cache/ Map schrijfrechten te geven.';
-$_lang["configcheck_configinc"] = 'Configuratiebestand heeft nog schrijfrechten';
-$_lang["configcheck_configinc_msg"] = 'Kwaadwillenden zouden mogelijk schade aan uw website kunnen toebrengen met alle gevolgen van dien. Zet uw configuratiebestand (/[+MGR_DIR+]/includes/config.inc.php) op alleen-lezen!';
-$_lang["configcheck_default_msg"] = 'Er is een ongedefinieerde waarschuwing gevonden. Dit is zeer vreemd.';
-$_lang["configcheck_errorpage_unavailable"] = 'Er is geen \'Fout\'-pagina voor uw website beschikbaar.';
-$_lang["configcheck_errorpage_unavailable_msg"] = 'Dit houdt in dat uw \'Fout\'-pagina niet toegankelijk is voor normale Webgebruikers of niet bestaat. Dit kan leiden tot een oneindige lus en veel foutmeldingen in uw logbestand. Zorg ervoor dat de Pagina niet aan een Webgebruikersgroep is toegewezen.';
-$_lang["configcheck_errorpage_unpublished"] = 'De \'Fout\'-pagina voor uw website is niet gepubliceerd of bestaat niet.';
-$_lang["configcheck_errorpage_unpublished_msg"] = 'Dit houdt in dat uw \'Fout\'-pagina niet toegankelijk is voor bezoekers. Publiceer de Pagina of zorg ervoor dat het is toegewezen aan een bestaande Pagina in de inhoudsopgave van uw website met het Beheer > Configuratie menu.';
-$_lang["configcheck_hide_warning"] = 'Niet meer tonen. ';
-$_lang["configcheck_images"] = 'De Map images is niet schrijfbaar';
-$_lang["configcheck_images_msg"] = 'De Map images is niet schrijfbaar of bestaat niet. Dit betekent dat de Afbeeldingen beheer opties in de teksteditor niet werken!';
-$_lang["configcheck_installer"] = 'Het installatiebestand is nog niet verwijderd';
-$_lang["configcheck_installer_msg"] = 'De \'/install\'-Map bevat de installer voor MODX. Probeert u eens in te denken wat een vervelend persoon zou kunnen doen als hij de installer zou vinden! We raden u aan om de \'install\'-Map van uw server te verwijderen, om zo uw website veilig te houden.';
-$_lang["configcheck_lang_difference"] = 'Ongeldig aantal regels in het vertaalbestand';
-$_lang["configcheck_lang_difference_msg"] = 'De taal die u heeft geselecteerd (Nederlands) heeft een verschillend aantal eenheden ten opzichte van de standaardtaal. Dit hoeft niet tot problemen te leiden, maar het is wel aan te raden om het huidige vertaalbestand te updaten.';
-$_lang["configcheck_notok"] = 'Één of meer configuratie opties zijn onjuist gebleken: ';
-$_lang["configcheck_ok"] = 'Controle is geslaagd - er zijn geen onjuistheden gevonden.';
-$_lang["configcheck_php_gdzip"] = 'GD en/of Zip PHP extensies niet gevonden';
-$_lang["configcheck_php_gdzip_msg"] = 'MODX heeft de GD en Zip extensie aanstaan voor PHP. MODX werkt zonder hen maar je zal niet optimaal gebruik kunnen maken van de ingebouwde File Manager, Image Editor of Captcha voor inlog.';
-$_lang["configcheck_register_globals"] = 'register_globals staat op AAN in uw php.ini configuratiebestand';
-$_lang["configcheck_register_globals_msg"] = 'Deze instelling maakt uw website veel gevoeliger voor Cross Site Scripting (XSS) aanvallen. Neem contact op met uw host over hoe u deze instelling kunt uitzetten.';
-$_lang["configcheck_title"] = 'Configuratietest';
-$_lang["configcheck_templateswitcher_present"] = 'TemplateSwitcher Plugin gevonden';
-$_lang["configcheck_templateswitcher_present_delete"] = 'Verwijder TemplateSwitcher ';
-$_lang["configcheck_templateswitcher_present_disable"] = 'TemplateSwitcher uitschakelen ';
-$_lang["configcheck_templateswitcher_present_msg"] = 'De TemplateSwitcher plugin geeft cache en prestatie problemen en er zou alleen gebruik van gemaakt moeten worden wanneer deze functie echt nodig is voor uw website.';
-$_lang["configcheck_unauthorizedpage_unavailable"] = 'Uw \'Niet Gemachtigd\'-pagina is niet gepubliceerd of bestaat niet.';
-$_lang["configcheck_unauthorizedpage_unavailable_msg"] = 'Dit houdt in dat uw \'Niet Gemachtigd\'-pagina niet toegankelijk is voor normale Webgebruikers of niet bestaat. Dit kan leiden tot een oneindige lus en veel foutmeldingen in uw logbestand. Zorg ervoor dat de Pagina niet aan een Webgebruikersgroep is toegewezen.';
-$_lang["configcheck_unauthorizedpage_unpublished"] = 'De \'Niet Gemachtigd\'-pagina die in de configuratie instellingen is aangegeven is niet gepubliceerd.';
-$_lang["configcheck_unauthorizedpage_unpublished_msg"] = 'Dit houdt in dat uw \'Niet Gemachtigd\'-pagina niet toegankelijk is voor bezoekers. Publiceer de Pagina of zorg ervoor dat het is toegewezen aan een bestaande Pagina in de inhoudsopgave van uw website met het Beheer > Configuratie menu.';
-$_lang["configcheck_validate_referer"] = 'Beveiliging Waarschuwing: HTTP Header Validatie';
-$_lang["configcheck_validate_referer_msg"] = 'De configuratie instelling Validate HTTP_REFERER headers? staat UIT. We raden aan deze AAN te zetten. Ga naar de Configuratie opties ';
-$_lang["configcheck_warning"] = 'Configuratie waarschuwing:';
-$_lang["configcheck_what"] = 'Wat betekent dit?';
-$_lang["confirm_block"] = 'Weet u zeker dat u deze Gebruiker wilt blokkeren?';
-$_lang["confirm_delete_eventlog"] = 'Weet u zeker dat u het logboek (events) wilt leegmaken?';
-$_lang["confirm_delete_file"] = 'Weet u zeker dat u dit bestand wilt verwijderen?\n\nHet zou kunnen dat hierdoor uw website niet meer werkt! Verwijder dit bestand uitsluitend indien u zeker bent dat u hiermee niks stuk maakt.';
-$_lang["confirm_delete_group"] = 'Weet u zeker dat u deze Groep wilt verwijderen?';
-$_lang["confirm_delete_htmlsnippet"] = 'Weet u zeker dat u deze Chunk wilt verwijderen?';
-$_lang["confirm_delete_keywords"] = 'Weet u zeker dat u deze keywords wilt verwijderen?';
-$_lang["confirm_delete_module"] = 'Weet u zeker dat u deze Module wilt verwijderen?';
-$_lang["confirm_delete_plugin"] = 'Weet u zeker dat u deze Plug-in wilt verwijderen?';
-$_lang["confirm_delete_record"] = 'Weet u zeker dat u de geselecteerde regels wilt verwijderen?';
-$_lang["confirm_delete_resource"] = 'Weet u zeker dat u deze Pagina wilt verwijderen?\nDan worden tevens alle Subpagina\'s verwijderd.';
-$_lang["confirm_delete_role"] = 'Weet u zeker dat u deze Rol wilt verwijderen?';
-$_lang["confirm_delete_snippet"] = 'Weet u zeker dat u deze Snippet wilt verwijderen?';
-$_lang["confirm_delete_tags"] = 'Weet u zeker dat u de geselecteerde \'META tags\' wilt verwijderen?';
-$_lang["confirm_delete_template"] = 'Weet u zeker dat u deze Template wilt verwijderen?';
-$_lang["confirm_delete_tmplvars"] = 'Weet u zeker dat u deze Template Variabele en alle opgeslagen waarden wilt verwijderen?';
-$_lang["confirm_delete_user"] = 'Weet u zeker dat u deze Gebruiker wilt verwijderen?';
-$_lang["confirm_duplicate_record"] = 'Weet u zeker dat u deze regel wilt dupliceren?';
-$_lang["confirm_empty_trash"] = 'Als u de prullenbak leegmaakt worden alle gemarkeerde Pagina\'s permanent verwijderd!\n\nDoorgaan?';
-$_lang["confirm_load_depends"] = 'Weet u zeker dat u dit scherm wilt verlaten? De afhankelijkheden van deze Module gaan daarbij verloren!';
-$_lang["confirm_name_change"] = 'Het veranderen van de Gebruikersnaam kan invloed hebben op gekoppelde applicaties.\n\n Weet u zeker dat u de Gebruikersnaam wilt veranderen?';
-$_lang["confirm_publish"] = '\n\nAls u deze Pagina nu publiceert, dan zal eventuele data van deze publicatie verloren gaan. Als u data t.a.v. (geen) publicatie wilt instellen of behouden, bewerk dan het bestand via de optie \'bewerken\'.\n\nDoorgaan?';
-$_lang["confirm_remove_locks"] = 'Soms sluiten Gebruikers hun browservenster gedurende het bewerken van Pagina\'s, Templates, Snippets of parsers. Het gevolg hiervan is dat het item waaraan ze aan het werken waren, geblokkeerd worden voor andere gebruikers. Door op OK te drukken worden alle blokkeringen opgeheven.\n\nDoorgaan?';
-$_lang["confirm_reset_sort_order"] = 'Weet u zeker dat u de \"sorteervolgorde/index\" van alle vermelde elementen naar 0 wilt resetten?';
-$_lang["confirm_resource_duplicate"] = 'Weet u zeker dat u deze Pagina wilt dupliceren?\nSubmappen en Pagina\'s zullen ook gedupliceerd worden.\n\n NB: Externe gegevens (bijv. keywords, aangepaste Template Variabelen, enz...) worden niet gedupliceerd.';
-$_lang["confirm_setting_language_change"] = 'U heeft de standaard waarde gewijzigd en zal de wijzigingen verliezen. Doorgaan?';
-$_lang["confirm_unblock"] = 'Weet u zeker dat u voor deze Gebruiker de blokkering wilt opheffen?';
-$_lang["confirm_undelete"] = '\n\nVan alle Subpagina\'s die gelijktijdig met deze Pagina verwijderd zijn, zal de verwijdering ongedaan worden gemaakt! Alle Subpagina\'s die eerder verwijderd zijn zullen verwijderd blijven.';
-$_lang["confirm_unpublish"] = '\n\nAls u de publicatie van deze Pagina ongedaan wilt maken, dan zal eventuele data van deze publicatie verloren gaan. Als u data van deze publicatie wilt behouden, bewerk dan het bestand met de optie \'bewerken\'.\n\nDoorgaan?';
-$_lang["confirm_unzip_file"] = 'Weet u zeker dat dit bestand uitgepakt moet worden?\n\nBestaande bestanden zullen overschreven worden.';
-$_lang["could_not_find_user"] = 'Gebruiker niet gevonden';
-$_lang["create_folder_here"] = 'Nieuwe Map hier aanmaken';
-$_lang["create_resource_here"] = 'Nieuwe Pagina';
-$_lang["create_resource_title"] = 'Nieuw Element';
-$_lang["create_weblink_here"] = 'Nieuwe Weblink';
-$_lang["createdon"] = 'Datum aangemaakt';
-$_lang["create_new"] = 'Nieuwe aanmaken';
-$_lang["credits"] = 'Dankwoord';
-$_lang["credits_shouts_msg"] = 'MODX wordt beheerd en onderhouden via modx.com a>. p>';
-$_lang["custom_contenttype_message"] = 'Voeg eigen \'content types\' toe. Vul een nieuw type in en klik op de knop \'Toevoegen\' om een nieuw type toe te voegen';
-$_lang["custom_contenttype_title"] = 'Toegevoegde content types';
-$_lang["database_charset"] = 'Database Karakterset';
-$_lang["database_collation"] = 'Database Collatie Karakterset';
-$_lang["database_name"] = 'Database naam';
-$_lang["database_overhead"] = 'Opmerking: Overhead is ongebruikte ruimte gereserveerd door MySQL. Om deze ruimte vrij te maken klikt u op de link in de kolom Overhead van de tabel.';
-$_lang["database_server"] = 'Database server';
-$_lang["database_table_clickbackup"] = 'Backup & download';
-$_lang["database_table_clickhere"] = 'Klik hier';
-$_lang["database_table_datasize"] = 'Bestandsgrootte';
-$_lang["database_table_droptablestatements"] = 'Genereer DROP TABLE commando\'s.';
-$_lang["database_table_effectivesize"] = 'Effectieve grootte';
-$_lang["database_table_indexsize"] = 'Index grootte';
-$_lang["database_table_overhead"] = 'Overhead';
-$_lang["database_table_records"] = 'Rijen';
-$_lang["database_table_tablename"] = 'Tabel naam';
-$_lang["database_table_totals"] = 'Totaal';
-$_lang["database_table_totalsize"] = 'Totale grootte';
-$_lang["database_tables"] = 'Database tabellen';
-$_lang["database_version"] = 'Database versie';
-$_lang["date"] = 'Datum';
-$_lang["datechanged"] = 'Wijzigingsdatum';
-$_lang["datepicker_offset"] = 'Kalender verschil';
-$_lang["datepicker_offset_message"] = 'Het aantal jaar in het verleden dat getoond dient te worden in de kalender.';
-$_lang["datetime_format"] = 'Datum formaat';
-$_lang["datetime_format_message"] = 'Het formaat van de datums in het Content Management Systeem.';
-$_lang["default"] = 'Standaard:';
-$_lang["defaultcache_message"] = 'Kies \'Ja\' om alle nieuwe Pagina\'s standaard cachebaar te maken.';
-$_lang["defaultcache_title"] = 'Standaard cachebaar';
-$_lang["defaultmenuindex_message"] = 'Kies \'Ja\' om automatisch verhogen van de menu-index standaard te maken.';
-$_lang["defaultmenuindex_title"] = 'Standaard menu indexering';
-$_lang["defaultpublish_message"] = 'Kies \'Ja\' om alle nieuwe Pagina\'s standaard te publiceren.';
-$_lang["defaultpublish_title"] = 'Standaard gepubliceerd';
-$_lang["defaultsearch_message"] = 'Kies \'Ja\' om alle nieuwe Pagina\'s standaard doorzoekbaar te maken.';
-$_lang["defaultsearch_title"] = 'Standaard doorzoekbaar';
-$_lang["defaulttemplate_message"] = 'Kies hier de standaard Template voor nieuwe Pagina\'s. In de Pagina-editor kunt u eventueel een andere Template kiezen; de keuze die u hier maakt bepaalt louter welke template standaard ingesteld staat.';
-$_lang["defaulttemplate_title"] = 'Standaard template';
-$_lang["defaulttemplate_logic_title"] = 'Automatisch Template toewijzen';
-$_lang["defaulttemplate_logic_general_message"] = 'Nieuwe pagina\'s zullen de volgende template hebben, en terugvallen op hogere niveau\'s:';
-$_lang["defaulttemplate_logic_system_message"] = 'Systeem : Systeem Standaard Template.';
-$_lang["defaulttemplate_logic_parent_message"] = 'Onderliggend : dezelfde template als de onderliggende map.';
-$_lang["defaulttemplate_logic_sibling_message"] = 'Zelfde niveau : dezelfde template als andere pagina\'s in de zelfde map.';
-$_lang["delete"] = 'Verwijderen';
-$_lang["delete_resource"] = 'Verwijder Pagina';
-$_lang["delete_tags"] = 'Tags verwijderen';
-$_lang["deleting_file"] = 'Verwijderen bestand `%s`: ';
-$_lang["description"] = 'Beschrijving';
-$_lang["deselect_keywords"] = 'Zoekwoorden opschonen';
-$_lang["deselect_metatags"] = 'Verwijder \'META tags\'';
-$_lang["disabled"] = 'Uitgeschakeld';
-$_lang["doc_data_title"] = 'Paginadata weergeven';
-$_lang["documentation"] = 'Documentatie';
-$_lang["duplicate"] = 'Dupliceren';
-$_lang["duplicate_alias_found"] = 'Pagina \'%s\' heeft de alias \'%s\' al in gebruik. Kies een unieke alias voor deze Pagina.';
-$_lang["duplicate_alias_message"] = 'Kies \'Ja\' om dubbele aliassen toe te staan wanneer een Pagina wordt opgeslagen. NB: Deze optie kan niet worden gebruikt in combinatie met \'Zoekmachine vriendelijke URL\'s\'. ';
-$_lang["duplicate_alias_title"] = 'Dubbele aliassen toestaan';
-$_lang["duplicate_name_found_general"] = 'Er is al een %s genaamd \'%s\'. Geef a.u.b. een unieke naam op.';
-$_lang["duplicate_name_found_module"] = 'Er is al een Module genaamd \'%s\'. Geef a.u.b. een unieke naam op.';
-$_lang["duplicated_el_suffix"] = 'Dupliceer';
-$_lang["edit"] = 'Bewerk';
-$_lang["edit_resource"] = 'Bewerk Pagina';
-$_lang["edit_resource_title"] = 'Maak/wijzig Pagina';
-$_lang["edit_settings"] = 'Configuratie';
-$_lang["editedon"] = 'Datum wijziging';
-$_lang["editing_file"] = 'Bewerkt bestand: ';
-$_lang["editor_css_path_message"] = 'Geef het pad op naar het CSS-bestand dat u wilt gebruiken binnen de teksteditor. De beste manier om dit pad op te geven is vanaf de \'root\' (basismap) van de server, bijvoorbeeld: /assets/site/style.css. Laat dit veld leeg indien u geen CSS-bestand wilt gebruiken in de teksteditor.';
-$_lang["editor_css_path_title"] = 'Pad naar CSS-bestand';
-$_lang["element"] = 'Element';
-$_lang["element_categories"] = 'Gecombineerde weergave';
-$_lang["element_filter_msg"] = 'Zoek in lijst';
-$_lang["element_management"] = 'Elementen beheren';
-$_lang["element_name"] = 'Element naam';
-$_lang["element_selector_msg"] = 'Selecteer de Element(en) uit onderstaande lijst en klik op de knop \'Toevoegen\'.';
-$_lang["element_selector_title"] = 'Selecteer een Element';
-$_lang["elements"] = 'Elementen';
-$_lang["email"] = 'E-mail adres';
-$_lang["email_sent"] = 'E-mail verzonden';
-$_lang["emailsender_message"] = 'Het e-mailadres van de beheerder van deze site. Dit e-mailadres zal worden gebruikt voor systeem notificaties ed.';
-$_lang["emailsender_title"] = 'E-mail adres';
-$_lang["emailsubject_default"] = 'Uw inloggegevens';
-$_lang["emailsubject_message"] = 'Specificeer het onderwerp van de aanmeldings e-mail.';
-$_lang["emailsubject_title"] = 'Onderwerp e-mail';
-$_lang["empty_folder"] = 'Deze Map is leeg';
-$_lang["empty_recycle_bin"] = 'Prullenbak leegmaken';
-$_lang["empty_recycle_bin_empty"] = 'Er zijn geen verwijderde Pagina\'s om permanent te verwijderen.';
-$_lang["enable_resource"] = 'Elementen inschakelen';
-$_lang["enable_sharedparams"] = 'Delen van parameters inschakelen';
-$_lang["enable_sharedparams_msg"] = 'NB: Bovenstaande \'Globally Unique ID (GUID)\' wordt gebruikt om deze Module en de gedeelde parameters uniek te identificeren. De GUID wordt ook gebruikt om een link te creëeren tussen de Module en Plug-ins of Snippets die de gedeelde parameters gebruiken. ';
-$_lang["enabled"] = 'Ingeschakeld';
-$_lang["error"] = 'Fout';
-$_lang["error_sending_email"] = 'Fout bij verzenden e-mail';
-$_lang["errorpage_message"] = 'Vul hier een gepubliceerde en publiek toegankelijke Pagina ID in waar u Gebruikers naar wilt doorsturen als ze een niet-bestaande Pagina willen bekijken.';
-$_lang["errorpage_title"] = 'Fout pagina';
-$_lang["event_id"] = 'Gebeurtenis (event) Id';
-$_lang["eventlog"] = 'Logboek (gebeurtenissen)';
-$_lang["eventlog_msg"] = 'In het logboek voor gebeurtenissen worden informatie, waarschuwingen en foutmeldingen opgeslagen van het \'Content Management Systeem\'. De kolom \'bron\' geeft het onderdeel van het \'Content Management Systeem\' waarop het bericht betrekking heeft.';
-$_lang["eventlog_viewer"] = 'Systeem gebeurtenissen';
-$_lang["everybody"] = 'Iedereen';
-$_lang["existing_category"] = 'Bestaande categorie';
-$_lang["expand_tree"] = 'Website boomstructuur uitklappen';
-$_lang["export_site"] = 'Exporteer Website';
-$_lang["export_site_cacheable"] = 'Ook niet-cachebare bestanden:';
-$_lang["export_site_exporting_document"] = '[+status+] [+url+] - [+pagetitle+] ([+id+]) ';
-$_lang["export_site_failed"] = 'Mislukt!';
-$_lang["export_site_failed_no_open"] = 'Kan bestand niet openen: ';
-$_lang["export_site_failed_no_retrieve"] = 'Kan Pagina niet ophalen.';
-$_lang["export_site_failed_no_write"] = 'Kan niet naar bestand schrijven.';
-$_lang["export_site_html"] = 'Exporteer website naar HTML';
-$_lang["export_site_maxtime"] = 'Maximale export tijd:';
-$_lang["export_site_maxtime_message"] = 'Specificeer hoeveel seconden MODX mag spenderen aan het exporteren van de website, onafhankelijk van de PHP instelling. Geef 0 in voor een onbeperkt aantal seconden. Let op dat 0 of een erg hoog nummer rare dingen kan veroorzaken op uw webserver en dat dit daarom niet aanbevolen is.';
-$_lang["export_site_message"] = 'Gebruik dit om de volledige website te exporteren naar HTML bestanden. Daardoor verliest u dan wel een heel aantal voordelen van MODX:
Bezoekersstatistieken worden NIET meer bijgehouden. Interactieve Snippets werken niet meer. Enkel gewone Pagina\'s worden geëxporteerd, gelinkte Pagina\'s niet. Het exporteren kan mislukken indien uw Pagina\'s Snippets bevatten die \'redirection headers\' sturen. Afhankelijk van hoe uw Pagina\'s, style sheets en Afbeeldingen werden gemaakt, kan de layout van uw website wijzigen. Om dit op te lossen kunt u de geëxporteerde bestanden verhuizen naar de Map waar de basis MODX index.php staat. Vul het formulier in en klik op \'Start export\'. De bestanden zullen bewaard worden op de plaats die u opgeeft. Waar mogelijk zal het bestand als naam de alias van de Pagina krijgen. Daarom is het beter om in de MODX configuratie de optie \'zoekmachine vriendelijke URL\'s\' aan te zetten. De export kan een tijdje duren, afhankelijk van de grootte van uw website.
Bestaande bestanden met dezelfde naam worden overschreven!
';
-$_lang["export_site_numberdocs"] = '%s Pagina\'s gevonden om te exporteren ...
';
-$_lang["export_site_prefix"] = 'Bestand voorvoegsel:';
-$_lang["export_site_start"] = 'Start exporteren';
-$_lang["export_site_success"] = 'Gelukt!';
-$_lang["export_site_success_skip_dir"] = 'Sla deze Map over.';
-$_lang["export_site_success_skip_doc"] = 'Sla deze Pagina over.';
-$_lang["export_site_suffix"] = 'Bestand achtervoegsel:';
-$_lang["export_site_target_unwritable"] = 'De Map waarnaar u wilt exporteren is niet toegankelijk. Verzeker uzelf ervan dat u schrijfrechten in deze Map heeft, en probeer het daarna opnieuw.';
-$_lang["export_site_time"] = 'Exporteren gereed. Het exporteren duurde %s seconden.';
-$_lang["failed_login_message"] = 'Geef het maximum aantal aanmeldpogingen op voordat een Gebruiker geblokkeerd wordt.';
-$_lang["failed_login_title"] = 'Mislukte aanmeldpogingen';
-$_lang["fe_editor_lang_message"] = 'Kies een taal die de editor gebruikt als front-end editor taal.';
-$_lang["fe_editor_lang_title"] = 'Front-end editor taal';
-$_lang["file_delete_file"] = 'Verwijder bestand';
-$_lang["file_delete_folder"] = 'Verwijder Map';
-$_lang["file_deleted"] = 'Gelukt!';
-$_lang["file_download_file"] = 'Bestand downloaden';
-$_lang["file_download_unzip"] = 'Bestand uitpakken';
-$_lang["file_folder_chmod_error"] = 'Wijzigen toegangsrechten mislukt. U dient de toegangsrechten buiten MODX om aan te passen.';
-$_lang["file_folder_created"] = 'Map is aangemaakt!';
-$_lang["file_folder_deleted"] = 'Map is verwijderd!';
-$_lang["file_folder_not_created"] = 'Kan Map niet aanmaken';
-$_lang["file_folder_not_deleted"] = 'Map kan niet verwijderd worden. Zorg ervoor dat de Map leeg is alvorens deze te verwijderen!';
-$_lang["file_not_deleted"] = 'Mislukt!';
-$_lang["file_not_saved"] = 'Het bestand kan niet worden bewaard. Verzeker uzelf ervan dat u schijfrechten in deze Map heeft!';
-$_lang["file_saved"] = 'Bestand succesvol bewaard!';
-$_lang["file_unzip"] = 'Uitpakken is gelukt!';
-$_lang["file_unzip_fail"] = 'Uitpakken is mislukt!';
-$_lang["filemanager_path_message"] = 'IIS kan het pad naar de MODX installatie niet vinden. Dit pad wordt gebruikt door het bestandsbeheer om te bepalen wat u te zien krijgt. Indien u problemen ondervindt met het bestandsbeheer, controleer dan of dit pad juist staat.';
-$_lang["filemanager_path_title"] = 'Pad naar de MODX installatie';
-$_lang["files_access_denied"] = 'Toegang geweigerd!';
-$_lang["files_data"] = 'Gegevens';
-$_lang["files_dir_listing"] = 'Bestandenlijst voor:';
-$_lang["files_directories"] = 'Mappen';
-$_lang["files_directory_is_empty"] = 'Deze map is leeg';
-$_lang["files_dirwritable"] = 'Map schrijfbaar?';
-$_lang["files_editfile"] = 'Bestand bewerken';
-$_lang["files_file_type"] = 'Bestandstype: ';
-$_lang["files_filename"] = 'Bestandsnaam';
-$_lang["files_fileoptions"] = 'Opties';
-$_lang["files_files"] = 'Bestanden';
-$_lang["files_filesize"] = 'Bestandsgrootte';
-$_lang["files_filetype_notok"] = 'Het uploaden van dergelijke bestanden is niet toegestaan!';
-$_lang["files_management"] = 'Bestandsbeheer';
-$_lang["files_management_no_permission"] = 'Je hebt niet genoeg rechten om deze bestanden te bekijken of te bewerken. Vraag de beheerder toegang voor %s .';
-$_lang["files_modified"] = 'Gewijzigd';
-$_lang["files_top_level"] = 'Naar het hoogste niveau';
-$_lang["files_up_level"] = 'Een niveau omhoog';
-$_lang["files_upload_copyfailed"] = 'Het bestand kon niet naar de gewenste Map gekopieerd worden - uploaden mislukt!';
-$_lang["files_upload_error"] = 'Fout';
-$_lang["files_upload_error0"] = 'Er was een probleem bij het uploaden.';
-$_lang["files_upload_error1"] = 'Het bestand dat u probeert te uploaden is te groot.';
-$_lang["files_upload_error2"] = 'Het bestand dat u probeert te uploaden is te groot.';
-$_lang["files_upload_error3"] = 'Het bestand dat u probeert te uploaden is slechts gedeeltelijk geupload.';
-$_lang["files_upload_error4"] = 'Selecteer een bestand om te uploaden.';
-$_lang["files_upload_error5"] = 'Er was een probleem bij het uploaden.';
-$_lang["files_upload_inhibited_msg"] = 'Upload optie niet toegelaten - controleer of uploaden ondersteund wordt en of de Map voor PHP schrijfbaar is.';
-$_lang["files_upload_ok"] = 'Het uploaden van het bestand is succesvol verlopen!';
-$_lang["files_upload_permissions_error"] = 'Mogelijk rechten probleem - de Map waar u naartoe wilt uploaden heeft schrijfrechten nodig van uw webserver.';
-$_lang["files_uploadfile"] = 'Bestand uploaden';
-$_lang["files_uploadfile_msg"] = 'Selecteer een bestand om te uploaden:';
-$_lang["files_uploading"] = '%s naar %s/ uploaden.';
-$_lang["files_viewfile"] = 'Bestand weergeven';
-$_lang["folder"] = 'Map';
-$_lang["forgot_password_email_fine_print"] = '* De URL hierboven verloopt als u uw wachtwoord verandert of na vandaag.';
-$_lang["forgot_password_email_instructions"] = 'Daar kunt u uw wachtwoord wijzigen via de menu-optie Mijn Profiel.';
-$_lang["forgot_password_email_intro"] = 'Er is een verzoek gedaan om het wachtwoord van uw account te wijzigen.';
-$_lang["forgot_password_email_link"] = 'Klik hier om het proces af te ronden.';
-$_lang["forgot_your_password"] = 'Wachtwoord vergeten?';
-$_lang["friday"] = 'Vrijdag';
-$_lang["friendly_alias_message"] = 'Indien u zoekmachine vriendelijke URL\'s gebruikt en de Pagina heeft een alias, dan zal deze alias gebruikt worden in plaats van de zoekmachine vriendelijke URL. Door deze optie aan te zetten wordt het voor- en achtervoegsel ook toegepast op de alias. Bijvoorbeeld, een Pagina met ID 1 en als alias \'introductie\', zal met voorvoegsel \'\' en achtervoegsel \'.html\' vertaald worden naar \'introdcutie.html\'. Indien de Pagina geen alias heeft zal MODX de link vertalen naar \'1.html\'.';
-$_lang["friendly_alias_title"] = 'Gebruik zoekmachine vriendelijke URL\'s';
-$_lang["friendlyurls_message"] = 'Gebruik zoekmachine vriendelijke URL\'s op Apache webservers met mod_rewrite of IIS met externe Plug-ins. Zie voor meer informatie het bij de distributie toegevoegde .htaccess bestand.';
-$_lang["friendlyurls_title"] = 'Zoekmachine vriendelijke URL\'s';
-$_lang["friendlyurlsprefix_message"] = 'Een voorvoegsel van \'pagina\' zorgt ervoor dat de normale URL /index.php?id=2 naar de zoekmachine vriendelijke URL /pagina2.html wordt omgezet (ervan uitgaande dat het achtervoegsel op .html staat ingesteld!).';
-$_lang["friendlyurlsprefix_title"] = 'Voorvoegsel zoekmachine vriendelijke URL\'s';
-$_lang["friendlyurlsuffix_message"] = 'Elk achtervoegsel die u invoert zal werken, inclusief een leeg achtervoegsel. Bijvoorbeeld \'.html\' zorgt ervoor dat er achter alle zoekmachine vriendelijke URL\'s \'.html\' wordt toegevoegd.';
-$_lang["friendlyurlsuffix_title"] = 'Achtervoegsel zoekmachine vriendelijke URL\'s';
-$_lang["functionnotimpl"] = 'Sorry!';
-$_lang["functionnotimpl_message"] = 'Deze functie is nog niet ontwikkeld.';
-$_lang["further_info"] = 'Meer informatie';
-$_lang["go"] = 'Start';
-$_lang["group_access_permissions"] = 'Groepstoegang';
-$_lang["guid"] = 'GUID';
-$_lang["help"] = 'Help';
-$_lang["help_msg"] = 'Voor ondersteuning door de MODX gemeenschap kunt u terecht op de MODX Forums . Op de MODX website kunt u ook documentatie vinden over MODX.
In de toekomst zal er commerciële ondersteuning mogelijk zijn voor MODX. Stuur een e-mail als u interesse heeft.
';
-$_lang["help_title"] = 'Help';
-$_lang["hide_tree"] = 'Website boomstructuur verbergen';
-$_lang["home"] = 'Start';
-$_lang["htmlsnippet_desc"] = 'Beschrijving';
-$_lang["htmlsnippet_management_msg"] = 'Hier kunt u Chunks toevoegen en bewerken.';
-$_lang["htmlsnippet_msg"] = 'Chunk toevoegen of bewerken. Denk eraan, Chunks zijn stukjes HTML code en kunnen geen PHP code bevatten.';
-$_lang["htmlsnippet_name"] = 'Naam Chunk';
-$_lang["htmlsnippet_title"] = 'Maak/wijzig Chunk';
-$_lang["icon"] = 'Icoon';
-$_lang["id"] = 'ID';
-$_lang["illegal_parent_child"] = 'Hoofdpagina toekenning:\n\nPagina is een kind van de geselecteerde Pagina.';
-$_lang["illegal_parent_self"] = 'Hoofdpagina toekenning::\n\nDe geselecteerde Pagina kan niet zijn eigen Hoofdpagina zijn.';
-$_lang["images_management"] = 'Beheer afbeeldingen';
-$_lang["import_files_found"] = '%s Pagina\'s gevonden om te importeren... ';
-$_lang["import_params"] = 'Gedeelde Module parameters importeren';
-$_lang["import_params_msg"] = 'De parameters en instellingen van een Module kunnen worden geïmporteerd door de naam van de Module te selecteren uit het bovenstaande menu. NB: Modules verschijnen in het menu wanneer de Module is ingesteld voor het \'delen van parameters\' en wanneer bij de Module is opgegeven dat de Module afhankelijk is van deze Snippet/Plug-in.';
-$_lang["import_parent_resource"] = 'Hoofdpagina:';
-$_lang["import_site"] = 'Importeer Website';
-$_lang["import_site_failed"] = 'Fout!';
-$_lang["import_site_failed_db_error"] = 'Een database fout trad op tijdens het klonen van de Pagina: ';
-$_lang["import_site_failed_no_open_dir"] = 'Kon de Map niet openen: ';
-$_lang["import_site_failed_no_retrieve_file"] = 'Kon bestand niet ophalen: ';
-$_lang["import_site_html"] = 'Importeer website vanuit HTML';
-$_lang["import_site_importing_document"] = 'Bestand importeren %s ';
-$_lang["import_site_maxtime"] = 'Maximum tijd voor importeren:';
-$_lang["import_site_maxtime_message"] = 'Hier kunt u de maximale tijd specificeren die het Content Management Systeem mag gebruiken om de website te importeren (dit heeft voorrang op de PHP instellingen). Gebruik 0 voor \'oneindige\' tijd. Let op: door 0 of een erg lange tijd in te stellen kunnen er vreemde dingen gebeuren met uw server en wordt derhalve niet aanbevolen.';
-$_lang["import_site_message"] = 'Importeer een volledige HTML website naar uw database. Let op: De bestanden die geïmporteerd moeten worden moeten in de \'assets/import\' Map geplaatst worden.
Vul het formulier in en kies \'Importeer\' om het process te starten. De geïmporteerde bestanden worden in de geselecteerde locatie opgeslagen waarbij (indien mogelijk) gebruik gemaakt wordt van de bestandsnamen voor Pagina aliassen waar mogelijk en de Paginatitel tag voor de Paginatitel.';
-$_lang["import_site_skip"] = 'Overgeslagen!';
-$_lang["import_site_start"] = 'Start importeren';
-$_lang["import_site_success"] = 'OK!';
-$_lang["import_site_time"] = 'Importeren gereed. Het importeren duurde %s seconden.';
-$_lang["inbox"] = 'Inbox';
-$_lang["info"] = 'Info';
-$_lang["information"] = 'Informatie';
-$_lang["inline"] = 'Geïntegreerd';
-$_lang["insert"] = 'Invoegen';
-$_lang["maxImageWidth"] = 'Maximum afbeelding breedte';
-$_lang["maxImageHeight"] = 'Maximum afbeelding hoogte';
-$_lang["thumbWidth"] = 'Maximum thumbnail breedte';
-$_lang["thumbHeight"] = 'Maximum thumbnail hoogte';
-$_lang["thumbsDir"] = 'Thumbnail locatie';
-$_lang["jpegQuality"] = 'JPEG compressie';
-$_lang["denyZipDownload"] = 'Zip bestanden downloaden uitschakelen';
-$_lang["denyExtensionRename"] = 'Uitschakelen hernoemen van bestandsextenties';
-$_lang["maxImageWidth_message"] = 'Bij het uploaden van een afbeelding met een te grootte resolutie wordt deze automatisch verkleind. Stel 0 in om dit te vermijden.';
-$_lang["maxImageHeight_message"] = 'Bij het uploaden van een afbeelding met een te grootte resolutie wordt deze automatisch verkleind. Stel 0 in om dit te vermijden.';
-$_lang["thumbWidth_message"] = 'Maximum thumbnail breedte.';
-$_lang["thumbHeight_message"] = 'Maximum thumbnail hoogte.';
-$_lang["thumbsDir_message"] = 'De naam van de map (preview).';
-$_lang["jpegQuality_message"] = 'JPEG compressie kwaliteit van thumbnails en verschaalde afbeeldingen';
-$_lang["showHiddenFiles"] = 'Toon verborgen bestanden in de Bestandsbrowser';
-$_lang["keyword"] = 'Keyword';
-$_lang["keywords"] = 'Keywords (sleutelwoorden)';
-$_lang["keywords_intro"] = 'Een keyword kan worden veranderd door in het invulveld naast het keyword de nieuwe waarde op te geven. Vink \'verwijder keyword\' aan om een keyword te verwijderen. Let erop dat verwijderen voorrang heeft op bewerken.';
-$_lang["language_message"] = 'U kunt hier de taal voor het MODX Content Management Systeem selecteren.';
-$_lang["language_title"] = 'Manager taalkeuze';
-$_lang["last_update"] = 'Laatste update';
-$_lang["launch_site"] = 'Website bekijken';
-$_lang["license"] = 'Licentie';
-$_lang["link_attributes"] = 'Link attributen';
-$_lang["link_attributes_help"] = 'Hier kunt u attributen opgeven voor de link naar deze Pagina, zoals target="_blank" of rel="external".';
-$_lang["list_mode"] = 'Lijst weergave aan/uit - geeft alle rijen in de tabel weer.';
-$_lang["loading_doc_tree"] = 'Website boomstructuur wordt geladen...';
-$_lang["loading_menu"] = 'Menu wordt geladen...';
-$_lang["loading_page"] = 'Een moment geduld a.u.b., MODX is de Pagina aan het laden...';
-$_lang["localtime"] = 'Lokale tijd';
-$_lang["lock_htmlsnippet"] = 'Blokkeer Chunk wijzigingen.';
-$_lang["lock_htmlsnippet_msg"] = 'Alleen beheerders (profiel ID 1) kunnen deze Chunk wijzigen.';
-$_lang["lock_module"] = 'Blokkeer Module wijzigingen.';
-$_lang["lock_module_msg"] = 'Alleen beheerders (profiel ID 1) kunnen deze Module bewerken.';
-$_lang["lock_msg"] = '%s bewerkt nu %s. Bewerking is niet mogelijk totdat deze Gebruiker klaar is.';
-$_lang["lock_plugin"] = 'Blokkeer Plug-in wijzigingen.';
-$_lang["lock_plugin_msg"] = 'Alleen beheerders (profiel ID 1) kunnen deze Plug-in wijzigen.';
-$_lang["lock_settings_msg"] = '%s is deze instellingen aan het bewerken. Bewerking is niet mogelijk totdat deze Gebruiker klaar is.';
-$_lang["lock_snippet"] = 'Blokkeer Snippet wijzigingen.';
-$_lang["lock_snippet_msg"] = 'Alleen beheerders (profiel ID 1) kunnen deze Snippet wijzigen.';
-$_lang["lock_template"] = 'Blokkeer Template wijzigingen.';
-$_lang["lock_template_msg"] = 'Alleen beheerders (profiel ID 1) kunnen deze Template wijzigen.';
-$_lang["lock_tmplvars"] = 'Blokkeer Template Variabele wijzigingen.';
-$_lang["lock_tmplvars_msg"] = 'Alleen beheerders (profiel ID 1) kunnen deze Template Variabele wijzigen.';
-$_lang["locked"] = 'Geblokkeerd';
-$_lang["login_allowed_days"] = 'Toegestane dagen';
-$_lang["login_allowed_days_message"] = 'Selecteer de dagen dat deze Gebruiker mag inloggen.';
-$_lang["login_allowed_ip"] = 'Toegestane IP Adressen';
-$_lang["login_allowed_ip_message"] = 'Voer de IP adressen in waarop deze Gebruiker zich mag aanmelden. NB: Meerdere IP adressen worden gescheiden met een komma (,) ';
-$_lang["login_button"] = 'Aanmelden';
-$_lang["login_cancelled_install_in_progress"] = 'Installatie / update van deze website is momenteel in gang gezet. Probeer het a.u.b. nogmaals over een paar minuten!';
-$_lang["login_cancelled_site_was_updated"] = 'Installatie / update op deze website is uitgevoerd, meld u a.u.b. nogmaals aan!';
-$_lang["login_captcha_message"] = ' De beheerder heeft de Captcha validatie ingeschakeld. Dit betekent dat u deze beveiligingscode hier moet ingeven.\n\nIndien de code slecht leesbaar is, kan u op de code zelf klikken om een nieuwe code te laten aanmaken.';
-$_lang["login_homepage"] = 'Login Startpagina';
-$_lang["login_homepage_message"] = 'Voer de ID in van de Pagina waarnaar Gebruikers worden verwezen als ze aangemeld zijn. NB: Zorg ervoor dat de ID dat u invoert een bestaand, gepubliceerd en voor deze Gebruiker toegankelijke Pagina is! ';
-$_lang["login_message"] = 'Om MODX te gebruiken dient u zich eerst aan te melden. Let op: hierbij wordt onderscheid gemaakt tussen hoofd- en kleine letters!';
-$_lang["logo_slogan"] = 'MODX Content Management Systeem - \nCreëer en doe meer met minder';
-$_lang["logout"] = 'Afmelden';
-$_lang["long_title"] = 'Uitgebreide titel';
-$_lang["mail_check_timeperiod_message"] = 'Hoe vaak in het Content Management Systeem gecontroleerd wordt op nieuwe berichten, in seconden.';
-$_lang["mail_check_timeperiod_title"] = 'Controleer e-mail tijdsinterval';
-$_lang["manage_depends"] = 'Beheer afhankelijkheden';
-$_lang["manage_files"] = 'Bestandsbeheer';
-$_lang["manage_htmlsnippets"] = 'Chunks';
-$_lang["manage_metatags"] = 'Beheer META tags en keywords';
-$_lang["manage_modules"] = 'Modulebeheer';
-$_lang["manage_plugins"] = 'Plug-ins';
-$_lang["manage_snippets"] = 'Snippets';
-$_lang["manage_templates"] = 'Templates';
-$_lang["manager"] = 'Content Management Systeem';
-$_lang["manager_lockout_message"] = 'U bent momenteel aangemeld bij het Content Management Systeem. Als u uw sessie wilt sluiten, klik dan a.u.b. op de knop "Afmelden".
Wilt u naar uw start- of homepage klik dan op de knop "Start".';
-$_lang["manager_permissions"] = 'Toegangsbeheer';
-$_lang["manager_theme"] = 'Manager thema';
-$_lang["manager_theme_message"] = 'Selecteer een thema voor het Content Management Systeem.';
-$_lang["messages"] = 'Berichten';
-$_lang["messages_all"] = 'Iedereen';
-$_lang["messages_compose"] = 'Bericht opstellen';
-$_lang["messages_forward"] = 'Doorsturen';
-$_lang["messages_from"] = 'Van';
-$_lang["messages_group"] = 'Een groep';
-$_lang["messages_inbox"] = 'Inbox';
-$_lang["messages_message"] = 'Bericht';
-$_lang["messages_no_messages"] = 'Er zijn geen berichten in de Inbox.';
-$_lang["messages_not_allowed_to_read"] = 'U bent niet bevoegd om dit bericht te lezen!';
-$_lang["messages_private"] = 'Privé';
-$_lang["messages_read_message"] = 'Bericht lezen';
-$_lang["messages_reply"] = 'Beantwoord';
-$_lang["messages_select_group"] = 'Selecteer een groep';
-$_lang["messages_select_user"] = 'Selecteer een Gebruiker';
-$_lang["messages_send"] = 'Verzenden';
-$_lang["messages_send_to"] = 'Verzend aan';
-$_lang["messages_sent"] = 'Verstuurd op';
-$_lang["messages_subject"] = 'Onderwerp';
-$_lang["messages_system_user"] = '[Systeem]';
-$_lang["messages_title"] = 'Berichten';
-$_lang["messages_user"] = 'Een Gebruiker';
-$_lang["meta_keywords"] = 'META keywords';
-$_lang["metatag_intro"] = 'Op deze Pagina kunt u \'META tags\' toevoegen, verwijderen en bewerken. De \'META tags\' kunt u aan Pagina\'s toevoegen op de META keywords tab bij het bewerken van een Pagina. Vul een naam en een waarde in voor een nieuwe tag en klik op de \'Tag toevoegen\' knop om een nieuwe \'tag\' toe te voegen. Klik op de naam van een \'tag\' om deze te bewerken.';
-$_lang["metatag_notice"] = 'Misschien wilt u een HTML Reference Guide raadplegen voor meer informatie. Dit is geen complete lijst van mogelijke Meta Tags.';
-$_lang["metatags"] = 'META tags';
-$_lang["mgr_access_permissions"] = 'Content Management Systeem toegangsbeheer';
-$_lang["mgr_login_start"] = 'Content Management Systeem Login Startpagina';
-$_lang["mgr_login_start_message"] = 'Geef de ID van de Pagina dat wordt getoond nadat een Gebruiker is ingelogd. NB: Let erop dat de ID bestaat, dat de Pagina gepubliceerd is en dat de Pagina toegankelijk is voor de Gebruiker! ';
-$_lang["mgrlog_action"] = 'Handeling';
-$_lang["mgrlog_actionid"] = 'Handeling ID';
-$_lang["mgrlog_anyall"] = 'Enkele/Alles';
-$_lang["mgrlog_datecheckfalse"] = 'checkdate() retourneerde \'false\'.';
-$_lang["mgrlog_datefr"] = 'Datum van';
-$_lang["mgrlog_dateinvalid"] = 'Onjuiste datumindeling.';
-$_lang["mgrlog_dateto"] = 'Datum tot';
-$_lang["mgrlog_emptysrch"] = 'Uw zoekopdracht gaf geen resultaten (d.w.z. geen overeenkomstige loggegevens gevonden).';
-$_lang["mgrlog_field"] = 'Veld';
-$_lang["mgrlog_itemid"] = 'Item ID';
-$_lang["mgrlog_itemname"] = 'Item naam';
-$_lang["mgrlog_msg"] = 'Bericht';
-$_lang["mgrlog_noquery"] = 'Nog geen zoekopdracht opgegeven.';
-$_lang["mgrlog_qresults"] = 'Zoekresultaten';
-$_lang["mgrlog_query"] = 'Zoek loggegevens';
-$_lang["mgrlog_query_msg"] = 'Maak a.u.b. een selectie om de logboeken te bekijken. U kunt log regels op datum selecteren, maar let erop dat de ingegeven einddatums niet inbegrepen zijn - om elke log regel te selecteren van 01-01-2004, vul bij \'datum van\' 01-01-2004 in en bij \'datum tot\' 02-01-2004. Melding en aktie zijn meestal hetzelfde. Als u een specifieke melding zoekt, kunt u het beste de aktie op \'Enkele/Alles\' zetten.';
-$_lang["mgrlog_results"] = 'Aantal gevonden';
-$_lang["mgrlog_searchlogs"] = 'Logboeken doorzoeken';
-$_lang["mgrlog_sortinst"] = 'Sorteer de tabel door op de kolom-kop te klikken. Als de logboeken te groot worden, leeg de logfile om alle huidige loggegevens te wissen. Dit kan niet ongedaan gemaakt worden!';
-$_lang["mgrlog_time"] = 'Tijd';
-$_lang["mgrlog_user"] = 'Gebruiker';
-$_lang["mgrlog_username"] = 'Gebruikersnaam';
-$_lang["mgrlog_value"] = 'waarde';
-$_lang["mgrlog_view"] = 'Bekijk Content Management Systeem logboeken';
-$_lang["module_code"] = 'Module code (php)';
-$_lang["module_config"] = 'Module configuratie';
-$_lang["module_desc"] = 'Beschrijving';
-$_lang["module_disabled"] = 'Module uitgeschakeld';
-$_lang["module_edit_click_title"] = 'Klik hier om de Module te bewerken';
-$_lang["module_group_access_msg"] = 'Selecteer de Gebruikersgroepen die deze Module binnen het Content Management Systeem mogen uitvoeren.';
-$_lang["module_management"] = 'Modulebeheer';
-$_lang["module_management_msg"] = 'Hier kunt u Modules toevoegen, bewerken en uitvoeren. Klik op het icoon van de Module om de Module uit te voeren. Klik op de naam van de Module om de Module te bewerken.';
-$_lang["module_msg"] = 'Module toevoegen of bewerken. Een Module is een verzameling van Elementen zoals Plug-ins, Snippets, etc.';
-$_lang["module_name"] = 'Modulenaam';
-$_lang["module_resource_msg"] = 'Elementen waarvan deze Module afhankelijk is kunnen hier worden aangepast. Kies de knop \'toevoegen\' hieronder om een Element toe te voegen.';
-$_lang["module_resource_title"] = 'Module afhankelijkheden';
-$_lang["module_title"] = 'Modules bewerken/toevoegen';
-$_lang["module_viewdepend_msg"] = 'Een Module is afhankelijk van bepaalde Elementen. Klik op de knop \'Beheer afhankelijkheden\' om deze te bewerken.';
-$_lang["modules"] = 'Modules';
-$_lang["modx_news"] = 'MODX nieuws waarschuwingen';
-$_lang["modx_news_tab"] = 'MODX nieuws';
-$_lang["modx_news_title"] = 'MODX nieuws';
-$_lang["modx_security_notices"] = 'MODX beveiligingswaarschuwingen';
-$_lang["modx_version"] = 'MODX versie';
-$_lang["monday"] = 'Maandag';
-$_lang["move"] = 'Verplaatsen';
-$_lang["move_resource"] = 'Verplaats Pagina';
-$_lang["move_resource_message"] = 'Verplaats een Pagina inclusief Subpagina\'s door een nieuw Hoofdpagina in de Website boomstructuur te selecteren. Als de geselecteerde Pagina geen Map is, wordt er een Map van gemaakt. Selecteer een nieuw Hoofdpagina in de Website boomstructuur.';
-$_lang["move_resource_new_parent"] = 'Selecteer een nieuwe Hoofdpagina in de Website boomstructuur.';
-$_lang["move_resource_title"] = 'Pagina verplaatsen';
-$_lang["name"] = 'Naam';
-$_lang["new_category"] = 'Nieuwe categorie';
-$_lang["new_file_permissions_message"] = 'Bij het uploaden van een nieuw bestand in het Bestandsbeheer, zal het Bestandsbeheer proberen de bestandsrechten aan te passen volgens de instellingen die hier zijn opgegeven. Het kan zijn dat dit niet met alle installaties werkt, zoals met IIS, in welk geval u de rechten handmatig moet instellen.';
-$_lang["new_file_permissions_title"] = 'Nieuwe bestandsrechten';
-$_lang["new_folder_permissions_message"] = 'Als u een nieuwe Map aanmaakt in het Bestandsbeheer, zal het Bestandsbeheer proberen de Maprechten aan te passen volgens de instellingen die hier zijn opgegeven. Het kan zijn dat dit niet met alle installaties werkt, zoals met IIS, in welk geval u de rechten handmatig moet instellen.';
-$_lang["new_folder_permissions_title"] = 'Nieuwe map rechten';
-$_lang["new_htmlsnippet"] = 'Nieuwe Chunk toevoegen';
-$_lang["new_keyword"] = 'Voeg een keyword toe:';
-$_lang["new_module"] = 'Nieuwe Module toevoegen';
-$_lang["new_parent"] = 'Nieuwe Hoofdpagina toevoegen';
-$_lang["new_plugin"] = 'Nieuwe Plug-in toevoegen';
-$_lang["new_role"] = 'Nieuwe Rol';
-$_lang["new_snippet"] = 'Nieuwe Snippet toevoegen';
-$_lang["new_template"] = 'Nieuwe Template toevoegen';
-$_lang["new_tmplvars"] = 'Nieuwe Template Variabele toevoegen';
-$_lang["new_user"] = 'Nieuwe Gebruiker toevoegen';
-$_lang["new_web_user"] = 'Nieuwe Webgebruiker toevoegen';
-$_lang["new_resource"] = 'Nieuwe pagina';
-$_lang["no"] = 'Nee';
-$_lang["no_active_users_found"] = 'Geen actieve Gebruikers gevonden.';
-$_lang["no_activity_message"] = 'U heeft nog geen Pagina\'s gemaakt/gewijzigd.';
-$_lang["no_category"] = 'Niet gecategoriseerd';
-$_lang["no_docs_pending_publishing"] = 'Geen Pagina\'s om te publiceren.';
-$_lang["no_docs_pending_pubunpub"] = 'Geen gebeurtenissen gevonden.';
-$_lang["no_docs_pending_unpublishing"] = 'Geen Pagina\'s om publicatie te beëindigen.';
-$_lang["no_edits_creates"] = 'Geen wijzigingen of toevoegingen gevonden.';
-$_lang["no_groups_found"] = 'Geen groepen gevonden.';
-$_lang["no_keywords_found"] = 'Er zijn momenteel geen keywords.';
-$_lang["no_records_found"] = 'Geen resultaten gevonden.';
-$_lang["no_results"] = 'Geen resultaten gevonden.';
-$_lang["nologentries_message"] = 'Voer hier het aantal logresultaten in dat per Pagina in het logboek moet worden weergegeven.';
-$_lang["nologentries_title"] = 'Aantal log resultaten';
-$_lang["nomessages_message"] = 'U kunt hier het aantal berichten instellen dat bij het bekijken van berichten in de inbox moet worden weergegeven.';
-$_lang["nomessages_title"] = 'Aantal berichten';
-$_lang["none"] = 'Geen';
-$_lang["noresults_message"] = 'Het aantal regels dat wordt weergegeven in lijsten met bijvoorbeeld zoekresultaten';
-$_lang["noresults_title"] = 'Aantal regels';
-$_lang["not_deleted"] = 'is niet verwijderd!';
-$_lang["not_set"] = 'Niet ingesteld';
-$_lang["offline"] = 'Offline';
-$_lang["online"] = 'Online';
-$_lang["onlineusers_action"] = 'Handeling';
-$_lang["onlineusers_actionid"] = 'Handeling ID';
-$_lang["onlineusers_ipaddress"] = 'IP adres Gebruiker';
-$_lang["onlineusers_lasthit"] = 'Laatste bezoek';
-$_lang["onlineusers_message"] = 'In deze lijst vindt u de actieve Gebruikers van de laatste 20 minuten (De huidige tijd is ';
-$_lang["onlineusers_title"] = 'Gebruikers online';
-$_lang["onlineusers_user"] = 'Gebruiker';
-$_lang["onlineusers_userid"] = 'Gebruikers ID';
-$_lang["optimize_table"] = 'Klik hier om deze tabel te optimaliseren';
-$_lang["page_data_cacheable"] = 'Cache-baar';
-$_lang["page_data_cacheable_help"] = 'Dit zorgt ervoor dat deze Pagina in de cache opgeslagen kan worden. Zorg dat deze optie niet aangevinkt is als uw Pagina Snippets bevat!';
-$_lang["page_data_cached"] = 'Bron uit cache gehaald: ';
-$_lang["page_data_changes"] = 'Veranderingen';
-$_lang["page_data_contentType"] = 'Soort inhoud';
-$_lang["page_data_contentType_help"] = 'Kies de soort van inhoud voor deze Pagina. Bent u hierover onzeker, laat dan de keuze op text/html.';
-$_lang["page_data_created"] = 'Gemaakt';
-$_lang["page_data_edited"] = 'Gewijzigd';
-$_lang["page_data_editor"] = 'Bewerk met de geavanceerde teksteditor';
-$_lang["page_data_folder"] = 'Pagina is een Map';
-$_lang["page_data_general"] = 'Algemeen';
-$_lang["page_data_markup"] = 'Opmaak/structuur';
-$_lang["page_data_mgr_access"] = 'Content Management Systeem toegang';
-$_lang["page_data_notcached"] = 'Deze Pagina is (nog) niet gecached.';
-$_lang["page_data_publishdate"] = 'Publicatiedatum';
-$_lang["page_data_publishdate_help"] = 'Wanneer u een publicatiedatum instelt, wordt de Pagina vanaf deze datum gepubliceerd. Klik op het kalenderpictogram om een datum te selecteren, of op het pictogram ernaast om de publicatiedatum te verwijderen. Dit houdt in dat de Pagina niet automatisch wordt gepubliceerd.';
-$_lang["page_data_published"] = 'Gepubliceerd';
-$_lang["page_data_searchable"] = 'Doorzoekbaar';
-$_lang["page_data_searchable_help"] = 'U kunt deze optie aanvinken om het doorzoeken van de Pagina toe te staan. U kunt het ook voor andere doeleinden gebruiken in uw Snippets.';
-$_lang["page_data_source"] = 'Bron';
-$_lang["page_data_status"] = 'Status';
-$_lang["page_data_template"] = 'Template';
-$_lang["page_data_template_help"] = 'Hier kunt u de Template voor de Pagina selecteren.';
-$_lang["page_data_title"] = 'Pagina gegevens';
-$_lang["page_data_unpublishdate"] = 'Datum einde publicatie';
-$_lang["page_data_unpublishdate_help"] = 'Wanneer u een datum einde publicatie instelt, wordt vanaf deze datum de publicatie beëindigd. Klik op het kalenderpictogram om een datum te selecteren, of op het pictogram ernaast om de datum waarop de publicatie beëindigd wordt, te verwijderen. Dit houdt in dat de publicatie van de Pagina niet automatisch beëindigd wordt.';
-$_lang["page_data_unpublished"] = 'Niet-gepubliceerd';
-$_lang["page_data_web_access"] = 'Webtoegang';
-$_lang["pagetitle"] = 'Titel van de Pagina';
-$_lang["pagination_table_first"] = 'Eerste';
-$_lang["pagination_table_gotopage"] = 'Ga naar Pagina';
-$_lang["pagination_table_last"] = 'Laatste';
-$_lang["paging_first"] = 'eerste';
-$_lang["paging_last"] = 'laatste';
-$_lang["paging_next"] = 'volgende';
-$_lang["paging_prev"] = 'vorige';
-$_lang["paging_showing"] = 'Toon';
-$_lang["paging_to"] = 'tot';
-$_lang["paging_total"] = 'totaal';
-$_lang["parameter"] = 'Parameter';
-$_lang["parse_docblock"] = 'Parse DocBlock';
-$_lang["parse_docblock_msg"] = 'Let op (!): Hersteld de oorspronkelijke naam, configuratie, beschrijving en categorie naar standaard instellingen door het parsen van de broncode.';
-$_lang["password"] = 'Wachtwoord';
-$_lang["password_change_request"] = 'Verzoek wachtwoord wijzigen';
-$_lang["password_gen_gen"] = 'Laat MODX het wachtwoord genereren.';
-$_lang["password_gen_length"] = 'Het wachtwoord moet minstens 6 karakters lang zijn.';
-$_lang["password_gen_method"] = 'Hoe wilt u het wachtwoord voor deze Gebruiker aanmaken?';
-$_lang["password_gen_specify"] = 'Laat mij het wachtwoord specificeren:';
-$_lang["password_method"] = 'Hoe wilt u deze Gebruiker op de hoogte stellen van het nieuwe wachtwoord?';
-$_lang["password_method_email"] = 'Verstuur het nieuwe wachtwoord via e-mail.';
-$_lang["password_method_screen"] = 'Geef het nieuwe wachtwoord op het beeldscherm weer.';
-$_lang["password_msg"] = 'Het nieuwe wachtwoord voor %s is %s .';
-$_lang["php_version_check"] = 'MODX is geschikt voor PHP versie 5.0.0 en hoger. U dient uw PHP distributie te upgraden!';
-$_lang["plugin"] = 'Plug-in';
-$_lang["plugin_code"] = 'Plug-in code (php)';
-$_lang["plugin_config"] = 'Plug-in configuratie';
-$_lang["plugin_desc"] = 'Beschrijving';
-$_lang["plugin_disabled"] = 'Plug-in uitgeschakeld';
-$_lang["plugin_event_msg"] = 'Selecteer de gebeurtenissen (events) waar deze Plug-in op moet reageren.';
-$_lang["plugin_management_msg"] = 'Hier kunt u Plug-ins toevoegen of bewerken.';
-$_lang["plugin_msg"] = 'Hier kunt u Plug-ins toevoegen of bewerken. Plug-ins zijn \'ruwe\' PHP instructies die uitgevoerd worden als de geselecteerde systeemgebeurtenissen (events) optreden.';
-$_lang["plugin_name"] = 'Naam Plug-in';
-$_lang["plugin_priority"] = 'Wijzig Plug-in event volgorde';
-$_lang["plugin_priority_instructions"] = 'Om de volgorde van de Plug-ins te veranderen versleep onder elke gebeurtenis (event) de titel. De eerste Plug-in die uitgevoerd dient te worden dient bovenaan te staan.';
-$_lang["plugin_priority_title"] = 'Plug-in uitvoer volgorde';
-$_lang["purge_plugin"] = 'Verwijder verouderde Plug-ins';
-$_lang["plugin_title"] = 'Aanmaken/bewerken Plug-in';
-$_lang["preview"] = 'Voorbeeld';
-$_lang["preview_msg"] = 'Dit is een voorbeeld van de laatst opgeslagen veranderingen. Klik op de link om veranderingen op te slaan en het voorbeeld te vernieuwen. Opslaan en vernieuwen ';
-$_lang["preview_resource"] = 'Pagina voorbeeld';
-$_lang["private"] = 'Gesloten';
-$_lang["public"] = 'Open';
-$_lang["publish_date"] = 'Publicatiedatum';
-$_lang["publish_events"] = 'Publiceer gebeurtenissen';
-$_lang["publish_resource"] = 'Publiceer Pagina';
-$_lang["rb_base_dir_message"] = 'Het fysieke pad naar de Map met bestanden. Normaal gesproken wordt dit automatisch gegenereerd. Helaas komt het bij het gebruik van IIS voor dat MODX niet in staat is om het pad automatisch te genereren. In dat geval kan hier het pad naar de Map worden opgegeven (dit is het pad dat u ziet in Windows Verkenner). NB: Voor een juiste werking van het bestandsbeheer moet de hier opgegeven Map de volgende submappen bevatten: images, files, flash en media.';
-$_lang["rb_base_dir_title"] = 'Pad naar de bestanden';
-$_lang["rb_base_url_message"] = 'Het virtuele pad naar de bestanden. Normaal gesproken wordt dit automatisch gegenereerd. Helaas komt het bij het gebruik van IIS voor dat MODX niet in staat is om het pad automatisch te genereren. In dat geval kan hier het pad naar de Map worden opgegeven (dit is het pad dat u ziet in uw web browser)';
-$_lang["rb_base_url_title"] = 'URL naar de bestanden';
-$_lang["rb_message"] = 'Kies \'ja\' om de bestandsbeheer in te schakelen. Met bestandsbeheer is het voor Gebruikers eenvoudig mogelijk om bestanden zoals afbeeldingen, flash en media op de server te plaatsen.';
-$_lang["rb_title"] = 'Bestandsbeheer inschakelen';
-$_lang["rb_webuser_message"] = 'Wilt u de Webgebruikers toestaan de bestanden op de server te beheren? WAARSCHUWING: Door dit toe te staan kunnen Webgebruikers dezelfde bestanden beheren als de website beheerder(s). Gebruik dit alleen voor Webgebruikers die u vertrouwd.';
-$_lang["rb_webuser_title"] = 'Webgebruikers';
-$_lang["recent_docs"] = 'Recente Pagina\'s';
-$_lang["recommend_setting_change_title"] = 'Aan te raden aangepaste instelling ';
-$_lang["recommend_setting_change_description"] = 'Uw website is niet geconfigureerd om de HTTP_REFERER te valideren voor inkomende Manager aanvragen. We raden aan deze instelling aan te zetten om CSRF (Cross Site Request Forgery) aanvallen te minimaliseren.';
-$_lang["references"] = 'Referenties';
-$_lang["refresh_cache"] = 'Cache: %s bestanden in cache-map gevonden en %d bestanden verwijderd.Nieuwe cache-bestanden worden aangemaakt wanneer Pagina\'s worden opgevraagd.';
-$_lang["refresh_published"] = '%s Pagina\'s zijn gepubliceerd.';
-$_lang["refresh_site"] = 'Cache legen';
-$_lang["refresh_title"] = 'Website vernieuwen';
-$_lang["refresh_tree"] = 'Website boomstructuur vernieuwen';
-$_lang["refresh_unpublished"] = '%s Pagina\'s zijn niet gepubliceerd.';
-$_lang["release_date"] = 'Publicatie datum';
-$_lang["remember_last_tab"] = 'Tabs onthouden';
-$_lang["remember_last_tab_message"] = 'Manager pagina\'s met Tabs laden met de laatst bekeken tab in plaats van standaard de eerst bekeken tab';
-$_lang["remember_username"] = 'Onthoud mij';
-$_lang["remove"] = 'Verwijderen';
-$_lang["remove_date"] = 'Verwijder datum';
-$_lang["remove_locks"] = 'Blokkeringen opheffen';
-$_lang["rename"] = 'Hernoem';
-$_lang["reports"] = 'Rapportage';
-$_lang["report_issues"] = 'Problemen rapporteren';
-$_lang["require_tagname"] = 'Een naam voor de \'tag\' is vereist.';
-$_lang["require_tagvalue"] = 'Een waarde voor de \'tag\' is vereist.';
-$_lang["reserved_name_warning"] = 'U heeft een gereserveerde naam gebruikt.';
-$_lang["reset"] = 'Reset';
-$_lang["reset_failedlogins"] = 'reset';
-$_lang["reset_sort_order"] = 'Herstel sorteer instellingen';
-$_lang["resource"] = 'Pagina';
-$_lang["resource_alias"] = 'Pagina alias';
-$_lang["resource_alias_help"] = 'Hier kunt u voor deze Pagina een alias invoeren. Dit zal de Pagina toegangelijk maken als u gebruik maakt van http://uwsite.nl/alias. Dit werkt alleen als u gebruik maakt van zoekmachine vriendelijke URL\'s.';
-$_lang["resource_content"] = 'Paginainhoud';
-$_lang["resource_description"] = 'Beschrijving';
-$_lang["resource_description_help"] = 'Geef een eventuele beschrijving op van deze Pagina.';
-$_lang["resource_duplicate"] = 'Dupliceer Pagina';
-$_lang["resource_long_title_help"] = 'Geef een langere titel op van deze Pagina. Dit kan handig zijn voor zoekmachines en is misschien ook een betere beschrijving van uw Pagina.';
-$_lang["resource_metatag_help"] = 'Selecteer de \'META tags\' of keywords die u aan de Pagina wilt toekennen. Met de CTRL-toets (cmd in Mac OS) kunnen meerdere META tags worden geselecteerd';
-$_lang["resource_opt_contentdispo"] = 'Content-Disposition';
-$_lang["resource_opt_contentdispo_help"] = 'Gebruik \'Content-Disposition\' om aan te geven hoe de Pagina wordt behandeld door de webbrowser. Gebruik \'Bijlage\' voor separate bestanden.';
-$_lang["resource_opt_emptycache"] = 'Cache leegmaken?';
-$_lang["resource_opt_emptycache_help"] = 'Laat dit aangevinkt zodat MODX de cache leegmaakt na het opslaan van de Pagina. Dit zorgt ervoor dat uw bezoekers geen oude versie van de Pagina te zien krijgen.';
-$_lang["resource_opt_folder"] = 'Map?';
-$_lang["resource_opt_folder_help"] = 'U kunt deze optie aanvinken om deze Pagina als een Map voor andere Pagina\'s te gebruiken. U hoeft hier niet te veel aandacht aan te besteden, aangezien MODX Mapinstellingen over het algemeen automatisch verzorgt.';
-$_lang["resource_opt_menu_index"] = 'Menu index';
-$_lang["resource_opt_menu_index_help"] = 'De menu-index is een veld waarmee u het sorteren van Pagina\'s kunt beïnvloeden, voornamelijk in menu\'s en opsommingen. U kunt het ook voor andere doeleinden gebruiken in uw Snippets.';
-$_lang["resource_opt_menu_title"] = 'Menu titel';
-$_lang["resource_opt_menu_title_help"] = 'De menu titel is een optioneel veld dat gebruikt wordt om een korte titel te tonen in menu Snippet(s) of Modules.';
-$_lang["resource_opt_published"] = 'Gepubliceerd';
-$_lang["resource_opt_published_help"] = 'Vink deze optie aan zodat uw Pagina automatisch gepubliceerd wordt na het opslaan.';
-$_lang["resource_opt_richtext"] = 'Teksteditor gebruiken?';
-$_lang["resource_opt_richtext_help"] = 'Laat dit aangevinkt staan om de teksteditor voor geavanceerde tekstopmaak bij het bewerken Pagina\'s te gebruiken. Als uw Pagina Javascript code of formulieren bevat is het verstandig om deze optie uit te zetten, zodat u in HTML-modus kunt werken. Dit zorgt ervoor dat uw Pagina correct wordt weergegeven.';
-$_lang["resource_opt_show_menu"] = 'Zichtbaar in menu';
-$_lang["resource_opt_show_menu_help"] = 'Gebruikt door een aantal Plug-ins/Modules om deze Pagina niet te tonen in een menu.';
-$_lang["resource_opt_trackvisit_help"] = 'Sla elke bezoeker op deze Pagina op in het logboek.';
-$_lang["resource_overview"] = 'Pagina overzicht';
-$_lang["resource_parent"] = 'Hoofdpagina';
-$_lang["resource_parent_help"] = 'Selecteer een Pagina in de Website boomstructuur om het als Hoofdpagina van deze Pagina in te stellen.';
-$_lang["resource_permissions_error"] = 'Koppel deze Pagina aan tenminste 1 Paginagroep waar u toegang tot heeft.';
-$_lang["resource_setting"] = 'Pagina instellingen';
-$_lang["resource_summary"] = 'Samenvatting (introductietekst)';
-$_lang["resource_summary_help"] = 'Typ een korte beschrijving van de Pagina.';
-$_lang["resource_title"] = 'Titel';
-$_lang["resource_title_help"] = 'U kunt hier de titel van de Pagina opgeven. Vermijdt het gebruik van backslashes in de naam!';
-$_lang["resource_to_be_moved"] = 'De te verplaatsen Pagina';
-$_lang["resource_type"] = 'Resource Type';
-$_lang["resource_type_message"] = 'Weblinks verwijzen Pagina\'s op Internet, waaronder een andere MODX Pagina, een externe pagina, of een afbeelding of een ander bestand op internet. Weblinks moeten een text / html Internet Media Type hebben en Inline Content-Disposition';
-$_lang["resource_type_weblink"] = 'Weblink';
-$_lang["resource_type_webpage"] = 'Webpagina';
-$_lang["resource_weblink_help"] = 'Typ het adres van het object dat u wilt verwijzen met deze weblink. Als alternatief kunt u deze invoegen via de bestand browser of gebruik het selectie icoon en kies een bron van de site van de paginaboom aan de linker kant.';
-$_lang["resources_in_container"] = 'Pagina\'s in deze Map';
-$_lang["resources_in_container_no"] = 'Deze Map bevat geen Subpagina\'s.';
-$_lang["role"] = 'Rol';
-$_lang["role_about"] = 'Infopagina weergeven';
-$_lang["role_access_persmissions"] = 'Toegangsrechten';
-$_lang["role_actionok"] = '\'Bewerking is voltooid\'-scherm weergeven';
-$_lang["role_assets_images"] = 'Beheer afbeeldingen';
-$_lang["role_assets_files"] = 'Beheer bestanden';
-$_lang["role_bk_manager"] = 'Backupbeheer gebruiken';
-$_lang["role_cache_refresh"] = 'De cache van de website leegmaken';
-$_lang["role_change_password"] = 'Wachtwoord wijzigen';
-$_lang["role_change_resourcetype"] = 'Pagina type aanpassen';
-$_lang["role_chunk_management"] = 'Chunk beheer';
-$_lang["role_config_management"] = 'Configuratiebeheer';
-$_lang["role_content_management"] = 'Inhoud beheer';
-$_lang["role_create_chunk"] = 'Nieuwe Chunks maken';
-$_lang["role_create_doc"] = 'Nieuwe Pagina\'s maken';
-$_lang["role_create_plugin"] = 'Nieuwe Plug-ins maken';
-$_lang["role_create_snippet"] = 'Nieuwe Snippets maken';
-$_lang["role_create_template"] = 'Nieuwe website Templates maken';
-$_lang["role_credits"] = 'Dankwoord weergeven';
-$_lang["role_delete_chunk"] = 'Chunks verwijderen';
-$_lang["role_delete_doc"] = 'Pagina\'s verwijderen';
-$_lang["role_delete_eventlog"] = 'Verwijder logboek (events)';
-$_lang["role_delete_module"] = 'Module verwijderen';
-$_lang["role_delete_plugin"] = 'Plug-ins verwijderen';
-$_lang["role_delete_role"] = 'Rollen verwijderen';
-$_lang["role_delete_snippet"] = 'Snippets verwijderen';
-$_lang["role_delete_template"] = 'Templates verwijderen';
-$_lang["role_delete_user"] = 'Gebruikers verwijderen';
-$_lang["role_delete_web_user"] = 'Webgebruikers verwijderen';
-$_lang["role_edit_chunk"] = 'Chunks bewerken';
-$_lang["role_edit_doc"] = 'Een Pagina bewerken';
-$_lang["role_edit_doc_metatags"] = '\'META tags\' en keywords van Pagina bewerken';
-$_lang["role_edit_module"] = 'Module bewerken';
-$_lang["role_edit_plugin"] = 'Plug-ins bewerken';
-$_lang["role_edit_role"] = 'Rollen bewerken';
-$_lang["role_edit_settings"] = 'Website instellingen veranderen';
-$_lang["role_edit_snippet"] = 'Snippets bewerken';
-$_lang["role_edit_template"] = 'Website Templates bewerken';
-$_lang["role_edit_user"] = 'Gebruikers bewerken';
-$_lang["role_edit_web_user"] = 'Webgebruikers bewerken';
-$_lang["role_empty_trash"] = 'Verwijderde Pagina\'s permanent verwijderen';
-$_lang["role_errors"] = 'Waarschuwingsvenster weergeven';
-$_lang["role_eventlog_management"] = 'Logboek beheer (events)';
-$_lang["role_export_static"] = 'Exporteer statische HTML';
-$_lang["role_file_management"] = 'Bestandsbeheer';
-$_lang["role_file_manager"] = 'Gebruik bestandsbeheer (volledige toegang)';
-$_lang["role_frames"] = 'Verzoek om Content Management Systeem venster';
-$_lang["role_help"] = 'Help Pagina\'s weergeven';
-$_lang["role_home"] = 'Verzoek om Content Management Systeem Intropagina';
-$_lang["role_import_static"] = 'Importeer HTML';
-$_lang["role_logout"] = 'Afmelden uit de beheerder';
-$_lang["role_manage_metatags"] = 'Beheer \'META tags\' en keywords';
-$_lang["role_management_msg"] = 'Hier kunt u kiezen welke Rol u wenst te wijzigen.';
-$_lang["role_management_title"] = 'Rollen';
-$_lang["role_messages"] = 'Berichten weergeven/versturen';
-$_lang["role_module_management"] = 'Modulebeheer';
-$_lang["role_name"] = 'Naam Rol';
-$_lang["role_new_module"] = 'Nieuwe Module maken';
-$_lang["role_new_role"] = 'Nieuwe Rollen maken';
-$_lang["role_new_user"] = 'Nieuwe Gebruikers toevoegen';
-$_lang["role_new_web_user"] = 'Webgebruikers toevoegen';
-$_lang["role_plugin_management"] = 'Plug-inbeheer';
-$_lang["role_publish_doc"] = 'Pagina\'s publiceren';
-$_lang["role_remove_locks"] = 'Blokkeringen opheffen';
-$_lang["role_role_management"] = 'Rollen';
-$_lang["role_run_module"] = 'Module uitvoeren';
-$_lang["role_save_chunk"] = 'Chunks opslaan';
-$_lang["role_save_doc"] = 'Pagina\'s opslaan';
-$_lang["role_save_module"] = 'Module opslaan';
-$_lang["role_save_password"] = 'Wachtwoord opslaan';
-$_lang["role_save_plugin"] = 'Plug-ins opslaan';
-$_lang["role_save_role"] = 'Rollen opslaan';
-$_lang["role_save_snippet"] = 'Snippets opslaan';
-$_lang["role_save_template"] = 'Templates opslaan';
-$_lang["role_save_user"] = 'Gebruikers opslaan';
-$_lang["role_save_web_user"] = 'Webgebruikers opslaan';
-$_lang["role_snippet_management"] = 'Snippetbeheer';
-$_lang["role_template_management"] = 'Templatebeheer';
-$_lang["role_title"] = 'Rol aanmaken/bewerken';
-$_lang["role_udperms"] = 'Toegangsrechtenbeheer';
-$_lang["role_user_management"] = 'Gebruikersbeheer';
-$_lang["role_view_docdata"] = 'Paginagegevens weergeven';
-$_lang["role_view_eventlog"] = 'Bekijk logboek (events)';
-$_lang["role_view_logs"] = 'Systeemlogboek weergeven';
-$_lang["role_view_unpublished"] = 'Bekijk niet gepubliceerde Pagina\'s';
-$_lang["role_web_access_persmissions"] = 'Webtoegangsbeheer';
-$_lang["role_web_user_management"] = 'Webgebruikersbeheer';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
-$_lang["rss_url_news_message"] = 'Geef hier de URL voor de MODX Nieuws Feed.';
-$_lang["rss_url_news_title"] = 'RSS nieuws feed';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
-$_lang["rss_url_security_message"] = 'Geef hier de URL voor de MODX Beveiligings Feed.';
-$_lang["rss_url_security_title"] = 'RSS Beveiliging Feed';
-$_lang["run_module"] = 'Module uitvoeren';
-$_lang["saturday"] = 'Zaterdag';
-$_lang["save"] = 'Opslaan';
-$_lang["save_all_changes"] = 'Bewaar alle wijzigingen';
-$_lang["save_tag"] = 'Tag opslaan';
-$_lang["saving"] = 'Bezig met opslaan, een moment geduld a.u.b...';
-$_lang["search"] = 'Zoeken';
-$_lang["search_criteria"] = 'Zoekcriteria';
-$_lang["search_criteria_content"] = 'Op inhoud zoeken';
-$_lang["search_criteria_content_msg"] = 'Zoek alle Pagina\'s met de ingevoerde tekst in de inhoud.';
-$_lang["search_criteria_id"] = 'Op ID zoeken';
-$_lang["search_criteria_id_msg"] = 'Voer de ID van de Pagina in om de Pagina snel te vinden.';
-$_lang["search_criteria_top"] = 'Zoeken in belangrijkste velden';
-$_lang["search_criteria_top_msg"] = 'Pagetitel, Uitgebreide titel, URL, ID';
-$_lang["search_criteria_template_id"] = 'Op template ID zoeken';
-$_lang["search_criteria_template_id_msg"] = 'Zoek alle pagina\'s die de gekozen template gebruikt.';
-$_lang["search_criteria_url_msg"] = 'Zoek pagina met exacte URL.';
-$_lang["search_criteria_longtitle"] = 'Zoek op uitgebreide titel';
-$_lang["search_criteria_longtitle_msg"] = 'Zoek alle Pagina\'s met de ingevoerde tekst in hun uitgebreide titel.';
-$_lang["search_criteria_title"] = 'Op titel zoeken';
-$_lang["search_criteria_title_msg"] = 'Zoek alle Pagina\'s met de ingevoerde tekst in hun titel.';
-$_lang["search_empty"] = 'Uw zoekopdracht heeft geen resultaten opgeleverd. Verruim uw zoekcriteria en probeer het nogmaals.';
-$_lang["search_item_deleted"] = 'Dit item is verwijderd';
-$_lang["search_results"] = 'Zoekresultaten';
-$_lang["search_results_returned_desc"] = 'Beschrijving';
-$_lang["search_results_returned_id"] = 'ID';
-$_lang["search_results_returned_msg"] = 'Uw zoekcriteria hebben %s Pagina\'s opgeleverd. Als het teveel resultaten heeft opgeleverd, probeer dan een specifiekere zoekopdracht. Met de twee linker kolommen kunt u het bestand in de Website boomstructuur vinden of de Pagina bekijken. De twee meest rechtse kolommen geven aan of een Pagina verwijderd is en wat de publicatiestatus is.
';
-$_lang["search_results_returned_title"] = 'Titel';
-$_lang["search_view_docdata"] = 'Geef dit item weer';
-$_lang["security"] = 'Beveiliging';
-$_lang["security_notices_tab"] = 'Beveiligingswaarschuwingen';
-$_lang["security_notices_title"] = 'Beveiligingswaarschuwingen';
-$_lang["select_date"] = 'Selecteer een datum';
-$_lang["send"] = 'Verzenden';
-$_lang["server_protocol_http"] = 'http';
-$_lang["server_protocol_https"] = 'https';
-$_lang["server_protocol_message"] = 'Geef hier aan of uw website gebruik maakt van een https verbinding.';
-$_lang["server_protocol_title"] = 'Server type';
-$_lang["serveroffset"] = 'Server verschil';
-$_lang["serveroffset_message"] = 'Selecteer hier het aantal uren tijdsverschil tussen uw huidige locatie en de servertijd. De huidige tijd op de server is [%s] , de huidige tijd op de server rekening houdend met het op dit moment opgeslagen tijdsverschil is [%s] .';
-$_lang["serveroffset_title"] = 'Server tijdsverschil';
-$_lang["servertime"] = 'Server tijd';
-$_lang["set_automatic"] = 'Stel in als automatisch';
-$_lang["set_default"] = 'Stel in als standaard';
-$_lang["set_default_all"] = 'Stel standaarden in';
-$_lang["settings_after_install"] = 'Indien dit een nieuwe installatie betreft, moet u deze instellingen controleren en wijzigen waar nodig. Na controle klikt u op \'Opslaan\' om de wijzigingen in het bestand op te slaan.';
-$_lang["settings_config"] = 'Configuratie';
-$_lang["settings_dependencies"] = 'Afhankelijkheden';
-$_lang["settings_events"] = 'Systeemgebeurtenissen';
-$_lang["settings_furls"] = 'Zoekmachine vriendelijke URL\'s';
-$_lang["settings_general"] = 'Algemeen';
-$_lang["settings_misc"] = 'Overige';
-$_lang["settings_security"] = 'Beveiliging';
-$_lang["settings_KC"] = 'Bestandsbrowser';
-$_lang["settings_page_settings"] = 'Pagina instellingen';
-$_lang["settings_photo"] = 'Foto';
-$_lang["settings_properties"] = 'Instellingen';
-$_lang["settings_site"] = 'Website';
-$_lang["settings_strip_image_paths_message"] = 'Als dit op \'Nee\' is gezet zal MODX de locaties van Afbeeldingen / Bestanden / Flash e.d. uit de bestandsbeheer browser omzetten naar absolute paden. Relatieve URL\'s zijn handig als u uw MODX installatie wilt verhuizen van bijvoorbeeld een test naar productie website. Als u geen idee heeft wat dit betekend laat u deze optie het beste op \'Ja\' staan.';
-$_lang["settings_strip_image_paths_title"] = 'Browserpaden herschrijven?';
-$_lang["settings_templvars"] = 'Template Variabelen';
-$_lang["settings_title"] = 'Systeem configuratie';
-$_lang["settings_ui"] = 'Interface & mogelijkheden';
-$_lang["settings_users"] = 'Gebruiker';
-$_lang["show_meta"] = 'Toon META Keywords tab';
-$_lang["show_meta_message"] = 'Toon de verouderde META Keywords tab wanneer Pagina\'s worden aangepast in the Manager.';
-$_lang["show_tree"] = 'Website boomstructuur weergeven';
-$_lang["showing"] = 'Weergeven';
-$_lang["signupemail_message"] = 'Hier kunt u het bericht instellen die naar uw Gebruikers verstuurd wordt wanneer u voor hun een account heeft aangemaakt en MODX een e-mail laat sturen met hun Gebruikersnaam en wachtwoord. NB: De volgende codes worden door MODX vervangen als het bericht verstuurd wordt: [+sname+] - Naam van uw website, [+saddr+] - E-mail adres van uw website, [+surl+] - Adres van de website, [+uid+] - Gebruikersnaam of id, [+pwd+] - Wachtwoord, [+ufn+] - Volledige naam. Laat de [+uid+] en [+pwd+] codes in de e-mail staan, omdat de Gebruikersnaam en het wachtwoord anders niet in de e-mail komen te staan en uw Gebruikers daardoor hun aanmeldgegevens niet ontvangen! ';
-$_lang["signupemail_title"] = 'Registratie e-mail';
-$_lang["site"] = 'Website';
-$_lang["site_schedule"] = 'Website planning';
-$_lang["sitename_message"] = 'Vul hier de naam van uw website in.';
-$_lang["sitename_title"] = 'Naam website';
-$_lang["sitestart_message"] = 'Vul hier de ID van de Pagina in dat u als startpagina wilt gebruiken. NB: Let op dat dit de ID van een bestaande Pagina is en het tevens gepubliceerd is! ';
-$_lang["sitestart_title"] = 'Startpagina website';
-$_lang["sitestatus_message"] = 'Kies \'Online\' om uw website op het web te publiceren. Als u de optie \'Offline\' selecteerd, dan zullen uw bezoekers de \'Website niet beschikbaar\' bericht te zien krijgen. Ze kunnen uw website dan niet bekijken!';
-$_lang["sitestatus_title"] = 'Website status';
-$_lang["siteunavailable_message"] = 'Dit bericht krijgen Gebruikers te zien als de website offline is of als er een fout mocht optreden. NB: Dit bericht wordt enkel getoond indien de \'Website niet beschikbaar\'-pagina niet is ingesteld .';
-$_lang["siteunavailable_message_default"] = 'Deze website is momenteel niet beschikbaar.';
-$_lang["siteunavailable_page_message"] = 'Geef de ID van de Pagina dat wordt weergegeven wanneer de website niet beschikbaar (offline) is. NB: Let erop dat de ID bestaat en dat de Pagina gepubliceerd is! ';
-$_lang["siteunavailable_page_title"] = 'Website niet beschikbaar pagina';
-$_lang["siteunavailable_title"] = 'Website niet beschikbaar bericht';
-$_lang["snippet"] = 'Snippet';
-$_lang["snippet_code"] = 'Snippet code (php)';
-$_lang["snippet_desc"] = 'Beschrijving';
-$_lang["snippet_execonsave"] = 'Snippet uitvoeren na opslaan.';
-$_lang["snippet_management_msg"] = 'Hier kunt u Snippets toevoegen en bewerken.';
-$_lang["snippet_msg"] = 'Snippet toevoegen of bewerken. LET OP, Snippets zijn \'ruwe\' PHP code, en als u verwacht dat de output van de Snippet op een specifiek punt binnen uw Template wordt getoond, dient u een waarde te retourneren binnen deze Snippet.';
-$_lang["snippet_name"] = 'Naam Snippet';
-$_lang["snippet_properties"] = 'Standaard instellingen';
-$_lang["snippet_title"] = 'Maak/wijzig Snippet';
-$_lang["sort_alphabetically"] = 'Sorteer alfabetisch';
-$_lang["sort_asc"] = 'Oplopend';
-$_lang["sort_desc"] = 'Aflopend';
-$_lang["sort_menuindex"] = 'Sorteer menu index';
-$_lang["sort_tree"] = 'Sorteer de Website boomstructuur';
-$_lang['sort_updating'] = 'Bijwerken ...';
-$_lang['sort_updated'] = 'Bijgewerkt!';
-$_lang['sort_nochildren'] = 'Deze map bevat geen subpagina\'s.';
-$_lang["sort_elements_msg"] = 'Versleep om de volgorde van de getoonde elementen te veranderen.';
-$_lang["source"] = 'Bron';
-$_lang["stay"] = 'Doorgaan met bewerken';
-$_lang["stay_new"] = 'Nog één toevoegen';
-$_lang["submit"] = 'Verzenden';
-$_lang["sunday"] = 'Zondag';
-$_lang["sys_alert"] = 'Systeem waarschuwing';
-$_lang["sysinfo_activity_message"] = 'Deze lijst toont de Pagina\'s die recent door uw Gebruikers werden gewijzigd.';
-$_lang["sysinfo_userid"] = 'Gebruiker';
-$_lang["system_email_signup"] = 'Hallo [+uid+]
-
-Hier zijn uw inloggegevens voor [+sname+] Content Management Systeem ([+surl+]):
-
-Gebruikersnaam: [+uid+]
-Wachtwoord: [+pwd+]
-
-Nadat u ingelogd bent in het Content Management Systeem, kunt u uw wachtwoord wijzigen.
-
-Met vriendelijke groet,
-Uw Website Beheerder';
-$_lang["system_email_webreminder"] = 'Hallo [+uid+]
-
-Om uw wachtwoord te activeren klikt u op de volgende link:
-
-[+surl+]
-
-Wanneer dit succesvol is kunt u met het volgende wachtwoord inloggen:
-
-Wachtwoord:[+pwd+]
-
-Wanneer u niet om deze mail gevraagd heeft kunt u deze e-mail verwijderen zonder aktie te ondernemen.
-
-Met vriendelijke groet,
-Uw Website Beheerder';
-$_lang["system_email_websignup"] = 'Hallo [+uid+]
-
-Hier zijn uw inloggegevens voor [+sname+] ([+surl+]):
-
-Gebruikersnaam: [+uid+]
-Wachtwoord: [+pwd+]
-
-Na dat u ingelogd bent in [+sname+], kunt u uw wachtwoord wijzigen.
-Met vriendelijke groet,
-Uw Website Beheerder';
-$_lang["table_hoverinfo"] = 'Beweeg de muiscursor over een tabelnaam om een korte beschrijving te zien van de funktie van de tabel (niet voor alle tabellen is informatie beschikbaar).';
-$_lang["table_prefix"] = 'Tabel voorvoegsel (prefix)';
-$_lang["tag"] = 'Tag';
-$_lang["template"] = 'Template';
-$_lang["template_assignedtv_tab"] = 'Toegekende Template Variabelen';
-$_lang["template_code"] = 'Template code (html)';
-$_lang["template_desc"] = 'Beschrijving';
-$_lang["template_edit_tab"] = 'Wijzig Template';
-$_lang["template_management_msg"] = 'Hier kunt u Templates toevoegen en bewerken.';
-$_lang["template_msg"] = 'Template toevoegen of bewerken. Gewijzigde/nieuwe Templates zullen niet zichtbaar zijn in de gecachte Pagina\'s van uw website totdat de cache is leeggemaakt. U kunt echter de voorbeeldfunctie op een Pagina gebruiken om de Template te bekijken.';
-$_lang["template_name"] = 'Naam Template';
-$_lang["template_no_tv"] = 'Er zijn nog geen Template Variabelen aan deze Template toegewezen.';
-$_lang["template_notassigned_tv"] = 'Deze Template variabelen zijn beschikbaar voor het toewijzen.';
-$_lang["template_reset_all"] = 'Geef alle Pagina\'s het standaard Template';
-$_lang["template_reset_specific"] = 'Geef alleen \'%s\' Pagina\'s het standaard Template:';
-$_lang["template_selectable"] = 'Template selecteerbaar bij aanmaken of aanpassen van pagina\'s';
-$_lang["template_title"] = 'Maak/wijzig Template';
-$_lang["template_tv_edit"] = 'Wijzig TV sorteer volgorde';
-$_lang["template_tv_edit_message"] = 'Versleep om de volgorde van de Template Variabelen van deze Template te veranderen.';
-$_lang["template_tv_edit_title"] = 'Template Variabele volgorde';
-$_lang["template_tv_msg"] = 'De aan deze Template toegewezen Template Variabelen staan hieronder vermeld.';
-$_lang["thursday"] = 'Donderdag';
-$_lang["tmplvar_access_msg"] = 'Selecteer de Paginagroepen die de inhoud van deze Template Variabele mogen aanpassen';
-$_lang["tmplvar_change_template_msg"] = 'Door het aanpassen van deze Template zal deze Pagina de Template Variabelen opnieuw moeten inlezen. Alle niet opgeslagen veranderingen zullen verloren gaan.\n\n Weet u zeker dat u deze Template aan wilt passen?';
-$_lang["tmplvar_inuse"] = 'De volgende Pagina\'s gebruiken deze Template Variabele. Om door te gaan met het verwijderen van de Template Variabele klik op de knop Verwijderen, anders klik op Annuleren.';
-$_lang["tmplvar_tmpl_access"] = 'Template toegang';
-$_lang["tmplvar_tmpl_access_msg"] = 'Selecteer de Templates die deze Template Variabele mogen gebruiken';
-$_lang["tmplvar"] = 'Template Variabele';
-$_lang["tmplvars"] = 'Template Variabelen';
-$_lang["tmplvars_binding_msg"] = 'Dit veld ondersteund data bron verbindingen met behulp van @ commando\'s';
-$_lang["tmplvars_caption"] = 'Titel';
-$_lang["tmplvars_default"] = 'Standaard waarde';
-$_lang["tmplvars_description"] = 'Beschrijving';
-$_lang["tmplvars_elements"] = 'Invoer optie waarden';
-$_lang["tmplvars_inherited"] = 'Geërfde waarde';
-$_lang["tmplvars_management_msg"] = 'Beheer extra eigen content velden (Template Variabelen) voor uw Pagina\'s.';
-$_lang["tmplvars_msg"] = 'Template Variabelen toevoegen of bewerken. De Template Variabelen moeten aan een Template toegekend worden om ze vanuit Snippets en Pagina\'s te kunnen benaderen net als andere content Variabelen.';
-$_lang["tmplvars_name"] = 'Template Variabele naam';
-$_lang["tmplvars_novars"] = 'Geen Template Variabelen gevonden.';
-$_lang["tmplvars_rank"] = 'Sorteer volgorde';
-$_lang["tmplvars_rank_edit_message"] = 'Versleep om volgorde van de Template variabelen aan te passen.';
-$_lang["tmplvars_reset_params"] = 'Herstel parameters';
-$_lang["tmplvars_title"] = 'Template Variable aanmaken/aanpassen';
-$_lang["tmplvars_type"] = 'Invoer type';
-$_lang["tmplvars_widget"] = 'Widget';
-$_lang["tmplvars_widget_prop"] = 'Widget instellingen';
-$_lang["to"] = 'naar';
-$_lang["tools"] = 'Beheer';
-$_lang["top_howmany_message"] = 'Wanneer u de statistieken bekijkt, hoe lang wilt u de \'Top ...\' lijst hebben?';
-$_lang["top_howmany_title"] = 'Toon aantal statistieken';
-$_lang["total"] = 'totaal';
-$_lang["track_visitors_message"] = 'Deze optie zorgt voor een aanhechtingspunt voor analytische Plug-ins (bezoekersstatistieken). Het kan worden gebruikt om te beïnvloeden of website bezoeken worden gelogd.';
-$_lang["track_visitors_title"] = 'Bezoeken loggen';
-$_lang["tree_page_click"] = 'Pagina klik gedrag';
-$_lang["tree_page_click_message"] = 'Het standaard gedrag bij het klikken op een pagina in de boomstructuur.';
-$_lang["use_breadcrumbs"] = 'Toon navigatie';
-$_lang["use_breadcrumbs_message"] = 'Toon de navigatie bij het maken of bewerken van pagina\'s in de Manager';
-$_lang["tree_show_protected"] = 'Toon beschermde pagina\'s';
-$_lang["tree_show_protected_message"] = 'Als dit op "Nee" staat, worden beschermde Pagina\'s en al hun afstammelingen niet getoond in de Website boomstructuur. "Nee" is de legacy (erfenis) instelling van MODX.';
-$_lang["truncate_table"] = 'Klik hier om deze tabel in te korten';
-$_lang["tuesday"] = 'Dinsdag';
-$_lang["tv"] = 'TV';
-$_lang["type"] = 'Soort';
-$_lang["udperms_allowroot_message"] = 'Sta Gebruikers toe om nieuwe Pagina\'s en Mappen in de \'root\' (basismap) van de website te maken.';
-$_lang["udperms_allowroot_title"] = 'Rootmap toestaan';
-$_lang["udperms_message"] = 'Beïnvloed toegangsrechten tot Pagina\'s via Gebruikersgroepen en Paginagroepen.';
-$_lang["udperms_title"] = 'Toegangsrechten gebruiken';
-$_lang["unable_set_link"] = 'Niet mogelijk de link te maken!';
-$_lang["unable_set_parent"] = 'Het Hoofdpagina kon niet worden aangemaakt!';
-$_lang["unauthorizedpage_message"] = 'Voer een gepubliceerde en publiek toegankelijke Pagina ID in waarnaar Gebruikers worden doorgestuurd wanneer ze een beveiligde/ongeautoriseerde Pagina opvragen.';
-$_lang["unauthorizedpage_title"] = 'Geen toegang pagina';
-$_lang["unblock_message"] = 'Deze Gebruiker zal niet geblokkeerd zijn na het opslaan van zijn Gebruikersgegevens.';
-$_lang["undelete_resource"] = 'Herstel Pagina';
-$_lang["unpublish_date"] = 'Niet-publiceren datum';
-$_lang["unpublish_events"] = 'Niet-publiceren gebeurtenissen';
-$_lang["unpublish_resource"] = 'Publicatie ongedaan maken';
-$_lang["untitled_resource"] = 'Naamloze Pagina';
-$_lang["untitled_weblink"] = 'Naamloze Weblink';
-$_lang["update_params"] = 'Parameter weergave bijwerken';
-$_lang["update_settings_from_language"] = 'Vervangen met';
-$_lang["upload_maxsize_message"] = 'Voer de maximale bestandsgrootte in voor bestanden die via Bestandsbeheer geupload kunnen worden. De bestandsgrootte wordt opgegeven in bytes. NB: Het kan enige tijd duren om grote bestanden te uploaden! ';
-$_lang["upload_maxsize_title"] = 'Maximale upload bestandsgrootte';
-$_lang["uploadable_files_message"] = 'Hier kunt u een lijst van bestanden opgeven die geupload kunnen worden naar \'assets/files/\' vanuit Bestandsbeheer. Voer de bestandsextensies in, gescheiden door een komma. ';
-$_lang["uploadable_files_title"] = 'Uploadbare bestandstypes';
-$_lang["uploadable_flash_message"] = 'Hier kunt u een lijst van bestanden opgeven die geupload kunnen worden naar \'assets/flash/\' vanuit Bestandsbeheer. Voer de bestandsextensies in voor de Flash types, van elkaar gescheiden door een komma. ';
-$_lang["uploadable_flash_title"] = 'Uploadbare Flash bestandstypes';
-$_lang["uploadable_images_message"] = 'Hier kunt u een lijst van bestanden opgeven die ge-upload kunnen worden naar \'assets/images/\' vanuit Bestandsbeheer. Voer de bestandsextensies in voor de Afbeelding types, van elkaar gescheiden door een komma. ';
-$_lang["uploadable_images_title"] = 'Uploadbare afbeelding bestandstypes';
-$_lang["uploadable_media_message"] = 'Hier kunt u een lijst van bestanden opgeven die ge-upload kunnen worden naar \'assets/media/\' vanuit Bestandsbeheer. Voer de bestandsextensies in voor de media types, van elkaar gescheiden door een komma. ';
-$_lang["uploadable_media_title"] = 'Uploadbare Media bestandstypes';
-$_lang["use_alias_path_message"] = 'Door \'Ja\' te selecteren wordt er een virtueel pad gegenereerd naar de Pagina. Bijvoorbeeld, als een Pagina "kind.html" in de Container "ouder" staat, dan wordt de volledige zoekmachine vriendelijke URL "/ouder/kind.html".';
-$_lang["use_alias_path_title"] = 'Gebruik gebruiksvriendelijke alias paden';
-$_lang["use_editor_message"] = 'Bewerken met de geavanceerde teksteditor aanzetten. Deze setting geld voor alle Pagina\'s, maar kan worden overschreven in de instellingen van de Gebruiker.';
-$_lang["use_editor_title"] = 'Teksteditor aan/uitzetten';
-$_lang["user"] = 'Gebruiker';
-$_lang["user_block"] = 'Geblokkeerd';
-$_lang["user_blockedafter"] = 'Geblokkeerd na';
-$_lang["user_blockeduntil"] = 'Geblokkeerd tot';
-$_lang["user_changeddata"] = 'Uw gegevens zijn gewijzigd. A.u.b. opnieuw aanmelden.';
-$_lang["user_country"] = 'Land';
-$_lang["user_dob"] = 'Geboortedatum';
-$_lang["user_doesnt_exist"] = 'Gebruiker bestaat niet';
-$_lang["user_edit_self_msg"] = 'Wellicht dient u na het opslaan eerst af te melden en dan weer aan te melden om uw gegevens volledig te actualiseren. Nieuwe wachtwoorden worden via e-mail toegezonden of op het scherm getoond.';
-$_lang["user_email"] = 'E-mail adres';
-$_lang["user_failedlogincount"] = 'Aantal mislukte aanmeldpogingen';
-$_lang["user_fax"] = 'Fax';
-$_lang["user_female"] = 'Vrouw';
-$_lang["user_full_name"] = 'Volledige naam';
-$_lang["user_gender"] = 'Geslacht';
-$_lang["user_is_blocked"] = 'Deze Gebruiker is geblokkeerd!';
-$_lang["user_logincount"] = 'Aantal keren aangemeld';
-$_lang["user_male"] = 'Man';
-$_lang["user_management_msg"] = 'Hier kunt u Gebruikers toevoegen en bewerken.';
-$_lang["user_management_title"] = 'Gebruikers beheren';
-$_lang["user_mobile"] = 'Mobiel telefoonnummer';
-$_lang["user_phone"] = 'Telefoonnummer';
-$_lang["user_photo"] = 'Pasfoto';
-$_lang["user_photo_message"] = 'Voer een url voor de foto van deze Gebruiker in of gebruik de \'Invoegen\' knop om een foto te selecteren of te uploaden.';
-$_lang["user_prevlogin"] = 'Laatste keer aangemeld';
-$_lang["user_role"] = 'Rol';
-$_lang["user_state"] = 'Provincie';
-$_lang["user_title"] = 'Gebruiker toevoegen of bewerken';
-$_lang["user_upload_message"] = 'Als u wilt voorkomen dat deze Gebruiker bestanden in deze categorie kan uploaden, Zorg dan dat \'Gebruik Systeem Configuratie Instellingen\' niet is aangevinkt en laat het veld leeg.';
-$_lang["user_use_config"] = 'Gebruik Systeem Configuratie Instellingen';
-$_lang["user_zip"] = 'Postcode';
-$_lang["username"] = 'Gebruikersnaam';
-$_lang["users"] = 'Beveiliging';
-$_lang["valid_hostnames_message"] = 'Help XSS exploits misbruik te voorkomen met de systeem instelling site_url door een komma gescheiden lijst van geldige hostnamen voor deze installatie te gebruiken. Dit is belangrijk voor bepaalde typen gedeelde hosts of hosts rechtstreeks via een IP-adres te benaderen. De eerste hostnaam in de lijst wordt gebruikt als de HTTP_HOST wanneer deze niet overeenkomt met een geldige hostnaam.';
-$_lang["valid_hostnames_title"] = 'Geldige hostnamen';
-$_lang["validate_referer_message"] = 'Valideer de HTTP_REFERER headers om het risico te verkleinen dat uw website beheerders bedonderd worden door een CSRF (Cross Site Request Forgery) aanval. Soms is dit echter niet mogelijk als uw server geen HTTP_REFERER headers verzend.';
-$_lang["validate_referer_title"] = 'Valideer HTTP_REFERER headers';
-$_lang["value"] = 'Waarde';
-$_lang["version"] = 'Versie';
-$_lang["view"] = 'Bekijken';
-$_lang["view_child_resources_in_container"] = 'Bekijk Subpagina\'s in Map';
-$_lang["view_log"] = 'Bekijk logboek';
-$_lang["view_logging"] = 'CMS logboek';
-$_lang["view_sysinfo"] = 'Systeem Info';
-$_lang["warning"] = 'Waarschuwing!';
-$_lang["warning_not_saved"] = 'U heeft de wijzigingen nog niet opgeslagen! U kunt op deze Pagina blijven om de wijzigingen op te slaan (\'Annuleren\'), of u kunt deze Pagina verlaten, waardoor eventuele wijzigingen verloren gaan (\'OK\').';
-$_lang["warning_visibility"] = 'Configuratie meldingen zichtbaar voor';
-$_lang["warning_visibility_message"] = 'Bepaal de zichtbaarheid van de waarschuwingen op de Manager welkoms pagina';
-$_lang["web_access_permissions"] = 'Webgebruiker toegangsrechten';
-$_lang["web_access_permissions_user_groups"] = 'Webgebruikers groepen';
-$_lang["web_permissions"] = 'Toegangsbeheer (web)';
-$_lang["web_user_management_msg"] = 'Hier kunt u kiezen welke Webgebruiker u wilt bewerken. Webgebruikers zijn Gebruikers die alleen op de website kunnen aanmelden (en dus niet op het Content Management Systeem)';
-$_lang["web_user_management_title"] = 'Webgebruikers';
-$_lang["web_user_title"] = 'Aanmaken/bewerken Webgebruiker';
-$_lang["web_users"] = 'Webgebruikers';
-$_lang["weblink"] = 'Weblink';
-$_lang["webpwdreminder_message"] = 'Hier kunt u de boodschap instellen die naar uw Gebruikers verstuurd wordt als zij een nieuw wachtwoord aanvragen per e-mail. MODX zal een e-mail sturen met het nieuwe wachtwoord en activerings informatie.NB: De volgende codes worden door MODX vervangen als het bericht verstuurd wordt: [+sname+] - Naam van uw website, [+saddr+] - E-mail adres van uw website, [+surl+] - Adres van de website, [+uid+] - Aanmeld naam of id, [+pwd+] - Wachtwoord, [+ufn+] - Volledige naam. Laat de [+uid+] en [+pwd+] codes in de e-mail staan, omdat de Gebruikersnaam en het wachtwoord anders niet in de e-mail komen te staan en uw Gebruikers daardoor hun aanmeldgevens niet ontvangen! ';
-$_lang["webpwdreminder_title"] = 'Herinnering e-mailadres';
-$_lang["websignupemail_message"] = 'Hier kunt u de boodschap instellen die naar uw Gebruikers verstuurd wordt wanneer u voor hen een webaccount heeft aangemaakt en MODX een e-mail laat sturen met hun Gebruikersnaam en wachtwoord. NB: De volgende codes worden door MODX vervangen als het bericht verstuurd wordt: [+sname+] - Naam van uw website, [+saddr+] - E-mail adres van uw website, [+surl+] - Adres van de website, [+uid+] - Aanmeld naam of id, [+pwd+] - Wachtwoord, [+ufn+] - Volledige naam. Laat de [+uid+] en [+pwd+] codes in de e-mail staan, omdat de Gebruikersnaam en het wachtwoord anders niet in de e-mail komen te staan en uw Gebruikers daardoor hun aanmeldgegevens niet ontvangen! ';
-$_lang["websignupemail_title"] = 'Bevestiging e-mail bij aanmelding: (Webgebruiker)';
-$_lang["wednesday"] = 'Woensdag';
-$_lang["welcome_messages"] = 'In uw inbox staan %d bericht(en), waarvan %s ongelezen.';
-$_lang["welcome_title"] = 'Welkom bij uw MODX Content Management Systeem';
-$_lang["which_editor_message"] = 'Hier kiest u welke teksteditor u wenst te gebruiken. TinyMCE en FCKeditor werken goed maar zijn nog niet uitgebreid getest met MODX. Xihna (gabaseerd op HTMLArea) is minder geschikt voor strikte, op CCS gebaseerde ontwerpen, maar heeft meer functies.';
-$_lang["which_editor_title"] = 'Kies uw teksteditor';
-$_lang["working"] = 'Wordt verwerkt...';
-$_lang["wrap_lines"] = 'Regels afbreken';
-$_lang["xhtml_urls_message"] = 'Vervangt ampersand (&) tekens in urls die zijn gegenereerd door MODX met de validerende & html entiteit';
-$_lang["xhtml_urls_title"] = 'XHTML URL\'s';
-$_lang["yes"] = 'Ja';
-$_lang["you_got_mail"] = 'U heeft een nieuw bericht';
-$_lang["yourinfo_message"] = 'In deze sectie wordt uw persoonlijke informatie weergegeven:';
-$_lang["yourinfo_previous_login"] = 'De laatste keer dat u zich heeft aangemeld:';
-$_lang["yourinfo_role"] = 'Uw rol is:';
-$_lang["yourinfo_title"] = 'Uw info';
-$_lang["yourinfo_total_logins"] = 'Aantal keer aangemeld:';
-$_lang["yourinfo_username"] = 'U bent aangemeld als:';
-
-$_lang["a17_error_reporting_title"] = 'Detectie level van de PHP foutmelding';
-$_lang["a17_error_reporting_msg"] = 'Bepaal het level van de PHP foutmelding.';
-$_lang["a17_error_reporting_opt0"] = 'Negeer alle';
-$_lang["a17_error_reporting_opt1"] = 'Negeer de waarschuwing van een melding met laag niveau (deprecated )';
-$_lang["a17_error_reporting_opt2"] = 'Detecteer alle foutmeldingen behalve E_NOTICE';
-$_lang["a17_error_reporting_opt99"] = 'Detecteer alle';
-
-$_lang["pwd_hash_algo_title"] = 'Hash algoritme';
-$_lang["pwd_hash_algo_message"] = 'Wachtwoord hash algoritme.';
-
-$_lang["enable_bindings_title"] = '@Bindings commando\'s aanzetten';
-$_lang["enable_bindings_message"] = 'Voorkom het uitvoeren van PHP-functies via TV @Bindings. Handig wanneer u Manager gebruikers heeft die niet PHP-code kunnen creëren, maar wel in staat zijn om TV\'s te maken of te bewerken. Het tonen van een TV met een @Binding zal worden uitgeschakeld.';
-$_lang["enable_filter_title"] = 'Filters aanzetten';
-$_lang["enable_filter_message"] = 'Filters kunt u manipuleren van de manier waarop gegevens worden gepresenteerd of geparsed in een tag. Ze laten u waarden wijzigen vanuit uw Template. Dit is gelijk aan PHx. Meer info '; // todo: change link to documentation
-$_lang["enable_filter_phx_warning"] = 'Wanneer de PHx plugin is ingeschakeld staan de ingebouwde filters standaard uitgeschakeld';
-
-$_lang["enable_filter_phx_warning"] = 'Wanneer de PHx plugin is ingeschakeld staan de ingebouwde filters standaard uitgeschakeld';
-
-$_lang["bkmgr_alert_mkdir"] = 'Een bestand kan niet worden gemaakt in een directory. Kijk wat de toestemming (permission) is van [+snapshot_path+]';
-$_lang["bkmgr_restore_msg"] = 'Een website kan worden hersteld door het gebruik van een SQL bestand.
';
-$_lang["bkmgr_restore_title"] = 'Herstellen';
-$_lang["bkmgr_import_ok"] = 'SQL herstel is op de Standaard manier uitgevoerd.';
-$_lang["bkmgr_snapshot_ok"] = 'De snapshot is als Standaard opgeslagen.';
-$_lang["bkmgr_run_sql_file_label"] = 'Uitvoeren door SQL bestand';
-$_lang["bkmgr_run_sql_direct_label"] = 'Direct uitvoeren van SQL commando strings';
-$_lang["bkmgr_run_sql_submit"] = 'Herstellen uitvoeren';
-$_lang["bkmgr_run_sql_result"] = 'Resultaat';
-$_lang["bkmgr_snapshot_title"] = 'Snapshot opgeslagen en hersteld';
-$_lang["bkmgr_snapshot_msg"] = 'De inhoud van de database is opgeslagen en hersteld op de server. Opgeslagen locatie: [+snapshot_path+] ($modx->config[\'snapshot_path\'])
';
-$_lang["bkmgr_snapshot_submit"] = 'Snapshot toevoegen';
-$_lang["bkmgr_snapshot_list_title"] = 'Lijst van Snapshots';
-$_lang["bkmgr_restore_submit"] = 'Deze gegevens (data) terugzetten';
-$_lang["bkmgr_restore_confirm"] = 'Weet je zeker dat je backup\n[+filename+] wilt terugzetten?';
-$_lang["bkmgr_snapshot_nothing"] = 'Geen Snapshot';
-
-$_lang["files.dynamic.php1"] = 'Maak tekstbestand aan';
-$_lang["files.dynamic.php2"] = 'Deze locatie kan niet worden getoond.';
-$_lang["files.dynamic.php3"] = 'Er is een probleem in een bestandsnaam.';
-$_lang["files.dynamic.php4"] = 'Het tekstbestand is gemaakt.';
-$_lang["files.dynamic.php5"] = 'Bestand kan niet worden gedupliceerd.';
-$_lang["files.dynamic.php6"] = 'Bestand of map kan niet worden hernoemd.';
-$_lang["files_dynamic_new_folder_name"] = 'Voeg een nieuwe map naam toe:';
-$_lang["files_dynamic_new_file_name"] = 'Voeg een nieuwe bestandsnaam toe:';
-$_lang["not_readable_dir"] = 'Deze locatie kan niet gelezen worden.';
-$_lang["confirm_delete_dir"] = 'Weet u zeker dat u deze locatie wilt verwijderen?';
-$_lang["confirm_delete_dir_recursive"] = 'Weet u zeker dat u de locatie wilt verwijderen? \ N \ nAlle onderliggende bestanden worden ook verwijderd.';
-
-$_lang["make_folders_title"] = 'Voeg eind slash toe aan de URL';
-$_lang["make_folders_message"] = 'Een slash toevoegen aan Pagina\'s die als mappen worden gebruikt wanneer u gebruik maakt van FURLs.';
-
-$_lang["check_files_onlogin_title"] = 'Bekijk Core bestanden bij inloggen';
-$_lang["check_files_onlogin_message"] = 'Wanneer u deze optie inschakelt, zullen belangrijke systeembestanden worden gecontroleerd of deze zijn aangepast of gescript en uw website aanvallen. Hoewel dit geen waterdichte garantie kan het u helpen te waarschuwen.';
-
-$_lang["configcheck_sysfiles_mod"] = 'Belangrijke Systeem bestanden zijn aangepast!';
-$_lang["configcheck_sysfiles_mod_msg"] = 'MODX is geconfigureerd om belangrijke systeembestanden te controleren op mogelijke script aanvallen. Deze waarschuwing betekent niet noodzakelijk dat uw site in gevaar is gebracht. Je kunt de beveiligde bestanden in uw installatie (ingesteld in systeemconfiguratie -> Gebruikers -> Controleer core bestanden bij inloggen) aanpassen. Ga naar Systeem Configuratie en klik op opnieuw op slaan om deze boodschap te verbergen. Veranderingen in de volgende bestanden zijn gevonden in:';
-
-$_lang['email_method_title'] = 'Sendmail methode';
-$_lang['email_method_mail'] = 'mail() PHP functie';
-$_lang['email_method_smtp'] = 'SMTP Server';
-$_lang['smtp_auth_title'] = 'SMTP-AUTH';
-$_lang['smtp_host_title'] = 'SMTP host';
-$_lang['smtp_secure_title'] = 'Gecodeerde SMTP';
-$_lang['smtp_username_title'] = 'SMTP gebruikersnaam';
-$_lang['smtp_password_title'] = 'SMTP wachtwoord';
-$_lang['smtp_port_title'] = 'SMTP poort';
-
-$_lang["setting_resource_tree_node_name"] = 'De hoofdnaam van de boomstructuur';
-$_lang["setting_resource_tree_node_name_desc"] = 'Specificeer het paginaveld om gebruik te maken van de hoofdnaam in de boomstructuur bij het renderen. Standaard staat deze op Pagina Titel, hoewel elk Pagina veld kan worden gebruikt, zoals menutitel en alias.';
-$_lang["setting_resource_tree_node_name_desc_add"] = 'Let op: Sinds versie MODX 1.1 kunt u de weergave van getoonde namen veranderen bij de sorteeropties in de boomstructuur. Deze instelling wordt gebruikt wanneer de weergave naam in de boomstructuur is ingesteld op "Standaard".';
-
-$_lang["resource_opt_alvisibled"] = 'Gebruik huidige alias als alias pad';
-$_lang["resource_opt_alvisibled_help"] = 'The alias of this Resource is inserted in Friendly URL alias path';
-$_lang['resource_opt_is_published'] = 'Gepubliceerd';
-$_lang["docid_incrmnt_method_title"] = 'Optel methode pagina ID';
-$_lang["docid_incrmnt_method_0"] = 'DB auto increment';
-$_lang["docid_incrmnt_method_1"] = 'Minimaal aantal gemiste ID';
-$_lang["docid_incrmnt_method_2"] = 'Maximaal ID+1';
-
-$_lang["cache_type_title"] = 'Document cache type';
-$_lang["cache_type_1"] = 'Cache is gebaseerd op document id (standaard)';
-$_lang["cache_type_2"] = 'Cache is gebaseerd op document id en $_GET parameters';
-$_lang["seostrict_title"] = 'Gebruik SEO Strict URLs';
-$_lang["seostrict_message"] = 'Gebruik van strikte URL\'s om dubbele inhoud te voorkomen (wanneer dit plaatsvindt)';
-$_lang["aliaslistingfolder_title"] = 'Gebruik AliasListing alleen bij mappen';
-$_lang["aliaslistingfolder_message"] = 'Vermindert het geheugengebruik wanneer de site veel pagina\'s heeft';
-
-$_lang["settings_friendlyurls_alert"] = 'Het is noodzakelijk om het ht.access bestand van een MODX installatie te hernoemen naar .htaccess om de Friendly URL-functie te gebruiken.';
-$_lang["settings_friendlyurls_alert2"] = 'Aangezien MODX in een subdirectory is geïnstalleerd, moet de inhoud van .htaccess gewijzigd worden.';
-
-$_lang["user_street"] = 'Adres';
-$_lang["user_city"] = 'Stad';
-$_lang["user_other"] = 'Anders';
-
-$_lang["import_site.static.php1"] = 'Herstel boomstructuur';
-$_lang["import_site.static.php2"] = 'Herstel de boomstructuur, alle ID\'s zijn geïnitialiseerd.';
-$_lang["import_site.static.php3"] = 'Doel';
-$_lang["import_site.static.php4"] = 'alleen <body></body> ';
-$_lang["import_site.static.php5"] = 'Bestand bevat alle';
-
-$_lang["a83_ignore_ids_title"] = 'Negeer ID\'s (komma gescheiden)';
-$_lang["export_site.static.php1"] = 'Doel';
-$_lang["export_site.static.php2"] = 'Alleen aangepaste/bewerkte pagina\'s';
-$_lang["export_site.static.php3"] = 'Alle pagina\'s';
-$_lang["export_site.static.php4"] = 'Vervang string (voor)';
-$_lang["export_site.static.php5"] = 'Vervang string (na)';
-$_lang["export_site.static.php6"] = 'Doel';
-$_lang["export_site.static.php7"] = 'Bestanden kunnen niet worden aangepast naar [+rb_base_url+]';
-
-$_lang["mutate_settings.dynamic.php6"] = 'Verstuur een e-mail bij MODX foutmeldingen';
-$_lang["mutate_settings.dynamic.php7"] = 'Geen notificatie';
-$_lang["mutate_settings.dynamic.php8"] = 'Een e-mail met de foutmelding wordt verzonden naar [(emailsender)] ([+emailsender+]) wanneer er een systeem probleem in MODX voorkomt. De details kunt u bekijken in het systeem error log bestand.';
-
-$_lang["error_no_privileges"] = "Je hebt niet genoeg rechten hebt voor deze actie!";
-$_lang["error_no_optimise_tablename"] = "Tabel optimaliseren niet gevonden in aanvraag!";
-$_lang["error_no_truncate_tablename"] = "Tabel voor truncate niet gevonden!";
-$_lang["error_double_action"] = "Dubbele actie (GET & POST) geplaatst!";
-$_lang["error_no_id"] = "Document ID niet doorgegeven in aanvraag!";
-$_lang["error_id_nan"] = "Doorgegeven ID is NaN!";
-$_lang["error_no_parent"] = "Kon naam bovenliggende document niet vinden!";
-$_lang["error_many_results"] = "Te veel resultaten uit de database!";
-$_lang["error_no_results"] = "Te weinig / geen resultaten terug van database!";
-$_lang["error_no_user_selected"] = "Geen gebruiker geselecteerd als ontvanger van dit bericht!";
-$_lang["error_no_group_selected"] = "Geen groep geselecteerd als ontvanger van dit bericht!";
-$_lang["error_movedocument1"] = "Document kan niet zijn eigen onderliggende document zijn!";
-$_lang["error_movedocument2"] = "Document ID niet doorgegeven in aanvraag!";
-$_lang["error_movedocument3"] = "Nieuwe onderliggende document niet in aanvraag!";
-
-$_lang["login_processor_unknown_user"] = "Onjuiste gebruikersnaam of wachtwoord ingevoerd!";
-$_lang["login_processor_wrong_password"] = "Onjuiste gebruikersnaam of wachtwoord ingevoerd!";
-$_lang["login_processor_many_failed_logins"] = "Wegens te veel mislukte aanmeldingen ben je geblokkeerd!";
-$_lang["login_processor_blocked1"] = "U bent geblokkeerd en kan niet inloggen!";
-$_lang["login_processor_blocked2"] = "U bent geblokkeerd en kan niet inloggen! Probeer het later opnieuw.";
-$_lang["login_processor_blocked3"] = "U wordt automatisch geblokkeerd na een bepaalde datum en kunt niet meer inloggen!";
-$_lang["login_processor_bad_code"] = "De veiligheidscode klopt niet! Probeer het opnieuw!";
-$_lang["login_processor_remotehost_ip"] = "Uw hostnaam verwijst niet terug naar uw IP!";
-$_lang["login_processor_remote_ip"] = "Het is niet toegestaan om in te loggen vanaf deze locatie.";
-$_lang["login_processor_date"] = "Het is niet toegestaan om in te loggen op dit moment. Probeer het later opnieuw.";
-$_lang["login_processor_captcha_config"] = "Captcha is niet correct geconfigureerd.";
-
-$_lang["dp_dayNames"] = "['Zondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag']";
-$_lang["dp_monthNames"] = "['Januari', 'Februari', 'Maart', 'April', 'Mei', 'Juni', 'Juli', 'Augustus', 'September', 'Oktober', 'November', 'December']";
-$_lang["dp_startDay"] = "1";
-
-$_lang["check_all"] = "Selecteer alle";
-$_lang["check_none"] = "Deselecteer alle";
-$_lang["check_toggle"] = "Selectie aan/uit";
-
-$_lang["version_notices"] = "Meldingen over versies";
-
-$_lang["em_button_shift"] = "(Shift+muisklik om meerdere vensters te openen)";
-
-$_lang["reset_sysfiles_checksum_button"] = "Heropbouw Checksums";
-$_lang["reset_sysfiles_checksum_alert"] = "Weet u zeker dat u de systeembestanden checksums wil resetten?";
-
-$_lang["file_browser_disabled_msg"] = "De Bestandsbrowser custom optie staat niet aangeschakeld.";
-$_lang["which_browser_default_title"]= "Standaard bestandsbrowser";
-$_lang["which_browser_default_msg"]= "Kies de Bestandsbrowser welke u liever als standaard gebruikt. Bij de gebruikers instellingen kunt u kiezen voor een custom Bestandsbrowser per gebruiker.";
-$_lang["which_browser_title"]= "Bestandsbrowser";
-$_lang["which_browser_msg"]= "U kunt kiezen om een aangepaste bestandsbrowser te gebruiken voor deze gebruiker.";
-$_lang["option_default"] = "Standaard";
-
-$_lang['evo_downloads_title'] = "Evolution downloads";
-$_lang['help_translating_title'] = "Help MODX Evolution vertalen";
-$_lang['download'] = "Download";
-$_lang['downloads'] = "Downloads";
-$_lang["previous_releases"] = "Vorige versies";
-$_lang["extras"] = "Extra's";
-
-$_lang["display_locks"] = "Toon geblokkeerde";
-$_lang["role_display_locks"] = "Toon geblokkeerde";
-$_lang["session_timeout"] = "Sessie timeout";
-$_lang["session_timeout_msg"] = "MODX zal de server pingen volgens de instelling "Mail Check Time Period". Als de laatste ping deze instelling overschrijdt, wordt de bijbehorende sessie ongeldig beschouwd en alle gerelateerde sloten worden automatisch verwijderd. Stel waarde in minuten (> 2 min, standaard 15 min).";
-$_lang["unlock_element_id_warning"] = "Weet u zeker dat je [+element_type+] (ID [+id+]) wilt vrijgeven voor bewerken?";
-$_lang["lock_element_type_1"] = "Template";
-$_lang["lock_element_type_2"] = "Template Variabele";
-$_lang["lock_element_type_3"] = "Chunk";
-$_lang["lock_element_type_4"] = "Snippet";
-$_lang["lock_element_type_5"] = "Plug-in";
-$_lang["lock_element_type_6"] = "Module";
-$_lang["lock_element_type_7"] = "Pagina";
-$_lang["lock_element_type_8"] = "Rol";
-$_lang["lock_element_editing"] = "U past element [+element_type+] aan sinds\n[+lasthit_df+]";
-$_lang["lock_element_locked_by"] = "[+element_type+] is geblokkeerd door gebruiker\n[+username+] sinds [+lasthit_df+]";
-
-$_lang["minifyphp_incache_title"] = 'Minify php codes in de site cache';
-$_lang["minifyphp_incache_message"] = 'Minify php codes (snippets en plugins) en sla op in de site cache file, zie ook: #938 ';
-
-$_lang["logout_reminder_msg"] = "Ter herinnering: Het lijkt er op dat op [+datum+] je vergeten bent om uit te loggen. In de toekomst kun je dit beter wel doen na je werk!";
-
-$_lang["allow_eval_title"] = "Eval php code in je snippet";
-$_lang["allow_eval_msg"] = "Voor ontwikkelaars: Gebruik \$modx->safeEval().";
-$_lang["allow_eval_with_scan"] = "Alleen functies uitvoeren die worden toegestaan";
-$_lang["allow_eval_with_scan_at_post"] = "Alles uitvoeren. Echter met POST alleen toegestaande functies uitvoeren";
-$_lang["allow_eval_everytime_eval"] = "Ongelimiteerd (gebruik alleen bij debugging)";
-$_lang["allow_eval_dont_eval"] = "Niet alle functies toelaten";
-
-$_lang["safe_functions_at_eval_title"] = "Functies die eval mogen toestaan";
-$_lang["safe_functions_at_eval_msg"] = "Met komma's gescheiden lijst";
-
-
-$_lang["multiple_sessions_msg"] = "Ter informatie: Meerdere actieve gebruiker sessies (in totaal [+totaal+]) gevonden voor de gebruiker [+gebruikersnaam+] .";
+PHP Applicatie Framework en Content Management Systeem met de licentie GNU GPL .';
+$_lang["about_title"] = 'Over Evolution';
+$_lang["access_permission_denied"] = 'U heeft niet de juiste toegangsrechten voor deze Pagina.';
+$_lang["access_permission_parent_denied"] = 'U heeft niet genoeg toegangsrechten om hier een Pagina aan te maken of te verplaatsen! Kies a.u.b. een andere locatie.';
+$_lang["access_permissions"] = 'Toegangsrechten';
+$_lang["access_permissions_add_resource_group"] = 'Maak een nieuwe Paginagroep';
+$_lang["access_permissions_add_user_group"] = 'Maak een nieuwe Gebruikersgroep';
+$_lang["access_permissions_docs_collision"] = 'Omdat de Webgebruikersgroepen en Gebruikersgroepen conflicteren voor uw Rol, zal deze Pagina onbeveiligd zijn. Neem contact op met uw website beheerder voor meer hulp.';
+$_lang["access_permissions_docs_message"] = 'Geef aan tot welke Paginagroepen deze Pagina behoort';
+$_lang["access_permissions_group_link"] = 'Maak een nieuwe groep koppeling';
+$_lang["access_permissions_introtext"] = 'Dit is de beheermodule van Gebruikers- en Paginagroepen die worden gebruikt in het toegangsbeheer. Om een Gebruiker toe te voegen aan een groep, volstaat het deze te bewerken en de groepen te kiezen waartoe deze moet behoren. Om een Pagina toe te wijzen aan een Gebruikersgroep, kiest u tijdens het bewerken van de Pagina voor de groepen waartoe de Pagina moet behoren.';
+$_lang["access_permissions_link_to_group"] = 'aan Paginagroep';
+$_lang["access_permissions_link_user_group"] = 'Koppel Gebruikersgroep';
+$_lang["access_permissions_links"] = 'Gebruikersgroep of Paginagroep koppelingen';
+$_lang["access_permissions_links_tab"] = 'Geef aan welke Gebruikersgroepen toegang hebben tot bepaalde Paginagroepen (m.a.w. welke groepen Subpagina\'s kunnen maken of bewerken). Om een Pagina toe te wijzen aan een groep kiest u de Pagina uit de lijst en klikt u daarna op \'Verzenden\'. Om een Pagina uit een groep te halen klikt u op \'Verwijder\'.';
+$_lang["access_permissions_no_resources_in_group"] = 'Geen.';
+$_lang["access_permissions_no_users_in_group"] = 'Geen.';
+$_lang["access_permissions_off"] = 'Toegangsbeheer is niet geactiveerd. Dit betekent dat wijzigingen die hier worden gemaakt geen effect hebben zolang toegangsbeheer niet is geactiveerd in uw Configuratie.';
+$_lang["access_permissions_resource_groups"] = 'Paginagroepen';
+$_lang["access_permissions_resources_in_group"] = 'Pagina\'s in deze groep: ';
+$_lang["access_permissions_resources_tab"] = 'Bekijk hier de Paginagroepen. U kunt ook nieuwe groepen maken, bestaande bewerken of verwijderen of nagaan welke Pagina deel uitmaakt van een groep. Door met de muis over de ID van de Pagina te bewegen, ziet u de naam ervan. Door de Pagina te bewerken kunt u de groepsrechten wijzigen.';
+$_lang["access_permissions_user_groups"] = 'Gebruikersgroepen';
+$_lang["access_permissions_user_message"] = 'Geef aan tot welke groepen deze Gebruiker behoort:';
+$_lang["access_permissions_users_in_group"] = 'Gebruikers in deze groep:';
+$_lang["access_permissions_users_tab"] = 'Bekijk de Gebruikersgroepen. U kunt ook nieuwe groepen maken, bestaande bewerken of verwijderen, of nagaan wie deel uitmaakt van een groep. Om een Gebruiker uit een groep te halen of aan een groep toe te wijzen, wijzigt u de gegevens van de Gebruiker. Beheerders (dit zijn Gebruikers met profiel ID 1) hebben altijd toegang tot alle Pagina\'s dus hoeft u hen niet toe te voegen aan een groep.';
+$_lang["account_email"] = 'E-mail account';
+$_lang["actioncomplete"] = 'Actie is succesvol afgerond! - Moment geduld. EVO wordt opgeschoond.';
+$_lang["activity_message"] = 'Deze lijst toont de laatst bewerkte/gemaakte pagina\'s:';
+$_lang["activity_title"] = 'Recent gemaakte/bewerkte Pagina\'s';
+$_lang["add"] = 'Toevoegen';
+$_lang["add_chunk"] = 'Chunk toevoegen';
+$_lang["add_doc"] = 'Pagina toevoegen';
+$_lang["add_folder"] = 'Nieuwe Map';
+$_lang["add_plugin"] = 'Plug-in toevoegen';
+$_lang["add_resource"] = 'Nieuwe Pagina';
+$_lang["add_snippet"] = 'Snippet toevoegen';
+$_lang["add_tag"] = 'Tag toevoegen';
+$_lang["add_template"] = 'Template toevoegen';
+$_lang["add_tv"] = 'TV toevoegen';
+$_lang["add_weblink"] = 'Nieuwe Weblink';
+$_lang["administrator_role_message"] = 'Dit profiel kan niet worden bewerkt of verwijderd.';
+$_lang["administrators"] = 'Administrators';
+$_lang["after_saving"] = 'Na opslaan';
+$_lang["alert_delete_self"] = 'U kunt uzelf niet verwijderen!';
+$_lang["alias"] = 'Alias';
+$_lang["all_doc_groups"] = 'Alle Paginagroepen (onbeveiligd)';
+$_lang["all_events"] = 'Alle gebeurtenissen';
+$_lang["all_usr_groups"] = 'Alle Gebruikersgroepen (onbeveiligd)';
+$_lang["allow_mgr_access"] = 'Toegang tot het Content Management Systeem';
+$_lang["allow_mgr_access_message"] = 'Deze optie geeft de gebruiker toegang tot het Content Management Systeem. NB: \'Nee\' betekent dat de gebruiker wordt doorverwezen naar de login pagina of de eerste pagina van de website. ';
+$_lang["already_deleted"] = 'is reeds verwijderd.';
+$_lang["attachment"] = 'Bijlage';
+$_lang["author_infos"] = 'Auteur informatie';
+$_lang["automatic_alias_message"] = 'Kies \'Ja\' om het systeem automatisch een alias op basis van de titel van de Pagina te laten genereren wanneer de Pagina wordt opgeslagen.';
+$_lang["automatic_alias_title"] = 'Genereer automatisch een alias';
+$_lang["backup"] = 'Backup';
+$_lang["bk_manager"] = 'Backup';
+$_lang["block_message"] = 'Deze Gebruiker zal geblokkeerd worden na het opslaan van zijn Gebruikersgegevens!';
+$_lang["blocked_minutes_message"] = 'Geef hier het aantal minuten op dat een Gebruiker geblokkeerd zal worden als hij zijn maximaal aantal toegestane aanmeldpogingen heeft bereikt. A.u.b. alleen getallen gebruiken (geen komma\'s, spaties etc.)';
+$_lang["blocked_minutes_title"] = 'Minuten geblokkeerd';
+$_lang["cache_files_deleted"] = 'Deze bestanden werden verwijderd:';
+$_lang["cancel"] = 'Annuleren';
+$_lang["captcha_code"] = 'Beveiligingscode';
+$_lang["captcha_message"] = 'Door CAPTCHA aan te zetten, worden Gebruikers verplicht een beveiligingscode over te typen. Deze code is in een Afbeelding verwerkt en is daardoor onleesbaar voor machines en automatische programma\'s die erop uit zijn in te breken op uw website.';
+$_lang["captcha_title"] = 'CAPTCHA codes gebruiken';
+$_lang["captcha_words_default"] = 'EVO,Access,Better,BitCode,Chunk,Cache,Desc,Design,Excell,Enjoy,URLs,TechView,Gerald,Griff,Humphrey,Holiday,Intel,Integration,Joystick,Join,Oscope,Genetic,Light,Likeness,Marit,Maaike,Niche,Netherlands,Ordinance,Oscillo,Parser,Phusion,Query,Question,Regalia,Righteous,Snippet,Sentinel,Template,Thespian,Unity,Enterprise,Verily,Tattoo,Veri,Website,WideWeb,Yap,Yellow,Zebra,Zygote';
+$_lang["captcha_words_message"] = 'Vul hier een lijst van woorden in, van elkaar gescheiden door komma\'s, die gebruikt zal worden indien CAPTCHA is ingeschakeld. Het veld kan maximaal 255 tekens bevatten.';
+$_lang["captcha_words_title"] = 'CAPTCHA woorden';
+$_lang["category_heading"] = 'Categorie';
+$_lang["category_manager"] = 'Categorie Manager';
+$_lang["category_management"] = 'Categorie beheren';
+$_lang["manage_categories"] = 'Beheer categorieën';
+$_lang["category_msg"] = 'Bekijk en wijzig hier alle Elementen gegroepeerd per categorie.';
+$_lang["cfg_base_path"] = 'MODX_BASE_PATH';
+$_lang["cfg_base_url"] = 'MODX_BASE_URL';
+$_lang["cfg_manager_path"] = 'MODX_MANAGER_PATH';
+$_lang["cfg_manager_url"] = 'MODX_MANAGER_URL';
+$_lang["cfg_site_url"] = 'MODX_SITE_URL';
+$_lang["change_name"] = 'Naam wijzigen';
+$_lang["change_password"] = 'Wachtwoord wijzigen';
+$_lang["change_password_confirm"] = 'Wachtwoord bevestigen';
+$_lang["change_password_message"] = 'Voer uw nieuwe wachtwoord in en voer het nogmaals in om te bevestigen. Uw wachtwoord moet minimaal 6 tekens lang zijn.';
+$_lang["change_password_new"] = 'Nieuw wachtwoord';
+$_lang["charset_message"] = 'Kies de standaard karakterset codering voor de [(modx_charset)] systeem variabele. Dit beïnvloed niet het Content Management Systeem.';
+$_lang["charset_title"] = 'Karakterset codering';
+$_lang["chunk"] = 'Chunk';
+$_lang["chunk_code"] = 'Chunk code (html)';
+$_lang["chunk_multiple_id"] = 'Fout: Meerdere Chunks delen deze unieke ID.';
+$_lang["chunk_no_exist"] = 'Chunk bestaat niet.';
+$_lang["cleaningup"] = 'Opschonen';
+$_lang["clean_uploaded_filename"] = 'Gebruik Transliteratie voor Bestanden Uploaden';
+$_lang["clean_uploaded_filename_message"] = 'Gebruik de standaard of transalias instelling voor de bestandsnaam om speciale karakters op te schonen';
+$_lang["clear_log"] = 'Logboek leegmaken';
+$_lang["click_to_context"] = 'Klik om het context menu te openen';
+$_lang["click_to_edit_title"] = 'Klik hier om deze regel te bewerken';
+$_lang["click_to_view_details"] = 'Klik hier voor details';
+$_lang["close"] = 'Sluiten';
+$_lang["code"] = 'Code';
+$_lang["collapse_tree"] = 'Website boomstructuur inschuiven';
+$_lang["comment"] = 'Opmerking';
+$_lang["configcheck_admin"] = 'Neem a.u.b. contact op met een systeembeheerder en geef deze melding door!';
+$_lang["configcheck_cache"] = 'Kan niet schrijven in de cache Map';
+$_lang["configcheck_cache_msg"] = 'EVO kan niet naar de cache map schrijven. EVO functioneert nog steeds zoals verwacht, maar er vindt geen caching plaats. Om dit op te lossen, maak de /cache/ map schrijfbaar.';
+$_lang["configcheck_configinc"] = 'Configuratiebestand heeft nog schrijfrechten';
+$_lang["configcheck_configinc_msg"] = 'Kwaadwillenden zouden mogelijk schade aan uw website kunnen toebrengen met alle gevolgen van dien. Zet uw configuratiebestand (/[+MGR_DIR+]/includes/config.inc.php) op alleen-lezen!';
+$_lang["configcheck_default_msg"] = 'Er is een ongedefinieerde waarschuwing gevonden. Dit is zeer vreemd.';
+$_lang["configcheck_errorpage_unavailable"] = 'Er is geen \'Fout\'-pagina voor uw website beschikbaar.';
+$_lang["configcheck_errorpage_unavailable_msg"] = 'Dit houdt in dat uw \'Fout\'-pagina niet toegankelijk is voor normale Webgebruikers of niet bestaat. Dit kan leiden tot een oneindige lus en veel foutmeldingen in uw logbestand. Zorg ervoor dat de Pagina niet aan een Webgebruikersgroep is toegewezen.';
+$_lang["configcheck_errorpage_unpublished"] = 'De \'Fout\'-pagina voor uw website is niet gepubliceerd of bestaat niet.';
+$_lang["configcheck_errorpage_unpublished_msg"] = 'Dit houdt in dat uw \'Fout\'-pagina niet toegankelijk is voor bezoekers. Publiceer de Pagina of zorg ervoor dat het is toegewezen aan een bestaande Pagina in de inhoudsopgave van uw website met het Beheer > Configuratie menu.';
+$_lang["configcheck_filemanager_path"] = 'Het momenteel ingestelde Bestandsbeheer pad lijkt onjuist te zijn.';
+$_lang["configcheck_filemanager_path_msg"] = 'Dit kan bijvoorbeeld gebeuren door uw installatie naar een andere directory of server te verhuizen. Controleer en update uw Evo systeemconfiguratie.';
+$_lang["configcheck_hide_warning"] = 'Niet meer tonen. ';
+$_lang["configcheck_images"] = 'De Map images is niet schrijfbaar';
+$_lang["configcheck_images_msg"] = 'De Map images is niet schrijfbaar of bestaat niet. Dit betekent dat de Afbeeldingen beheer opties in de teksteditor niet werken!';
+$_lang["configcheck_installer"] = 'Het installatiebestand is nog niet verwijderd';
+$_lang["configcheck_installer_msg"] = 'De map /install bevat het installatieprogramma voor EVO. Stelt u zich eens voor wat er zou kunnen gebeuren als een boosaardig persoon deze map vindt en het installatieprogramma uitvoert! Ze komen waarschijnlijk niet te ver, omdat ze wat gebruikersinformatie voor de database moeten invoeren, maar het is nog steeds het beste om deze map van je server te verwijderen.';
+$_lang["configcheck_lang_difference"] = 'Ongeldig aantal regels in het vertaalbestand';
+$_lang["configcheck_lang_difference_msg"] = 'De taal die u heeft geselecteerd (Nederlands) heeft een verschillend aantal eenheden ten opzichte van de standaardtaal. Dit hoeft niet tot problemen te leiden, maar het is wel aan te raden om het huidige vertaalbestand te updaten.';
+$_lang["configcheck_notok"] = 'Één of meer configuratie opties zijn onjuist gebleken: ';
+$_lang["configcheck_ok"] = 'Controle is geslaagd - er zijn geen onjuistheden gevonden.';
+$_lang["configcheck_php_gdzip"] = 'GD en/of Zip PHP extensies niet gevonden';
+$_lang["configcheck_php_gdzip_msg"] = 'EVO heeft de GD- en Zip-extensie ingeschakeld voor PHP. Hoewel EVO zonder deze functies werkt, kunt u niet volledig profiteren van de ingebouwde bestandsbeheerder, afbeeldingseditor of Captcha voor aanmeldingen.';
+$_lang["configcheck_rb_base_dir"] = 'Het momenteel ingestelde basis Bestandsbeheer pad lijkt onjuist te zijn.';
+$_lang["configcheck_rb_base_dir_msg"] = 'Dit kan bijvoorbeeld gebeuren door uw installatie naar een andere directory of server te verplaatsen. Controleer en update uw Evo systeemconfiguratie.';
+$_lang["configcheck_register_globals"] = 'register_globals staat op AAN in uw php.ini configuratiebestand';
+$_lang["configcheck_register_globals_msg"] = 'Deze instelling maakt uw website veel gevoeliger voor Cross Site Scripting (XSS) aanvallen. Neem contact op met uw host over hoe u deze instelling kunt uitzetten.';
+$_lang["configcheck_title"] = 'Configuratietest';
+$_lang["configcheck_templateswitcher_present"] = 'TemplateSwitcher Plugin gevonden';
+$_lang["configcheck_templateswitcher_present_delete"] = 'Verwijder TemplateSwitcher ';
+$_lang["configcheck_templateswitcher_present_disable"] = 'TemplateSwitcher uitschakelen ';
+$_lang["configcheck_templateswitcher_present_msg"] = 'De TemplateSwitcher plugin geeft cache en prestatie problemen en er zou alleen gebruik van gemaakt moeten worden wanneer deze functie echt nodig is voor uw website.';
+$_lang["configcheck_unauthorizedpage_unavailable"] = 'Uw \'Niet Gemachtigd\'-pagina is niet gepubliceerd of bestaat niet.';
+$_lang["configcheck_unauthorizedpage_unavailable_msg"] = 'Dit houdt in dat uw \'Niet Gemachtigd\'-pagina niet toegankelijk is voor normale Webgebruikers of niet bestaat. Dit kan leiden tot een oneindige lus en veel foutmeldingen in uw logbestand. Zorg ervoor dat de Pagina niet aan een Webgebruikersgroep is toegewezen.';
+$_lang["configcheck_unauthorizedpage_unpublished"] = 'De \'Niet Gemachtigd\'-pagina die in de configuratie instellingen is aangegeven is niet gepubliceerd.';
+$_lang["configcheck_unauthorizedpage_unpublished_msg"] = 'Dit houdt in dat uw \'Niet Gemachtigd\'-pagina niet toegankelijk is voor bezoekers. Publiceer de Pagina of zorg ervoor dat het is toegewezen aan een bestaande Pagina in de inhoudsopgave van uw website met het Beheer > Configuratie menu.';
+$_lang["configcheck_validate_referer"] = 'Beveiliging Waarschuwing: HTTP Header Validatie';
+$_lang["configcheck_validate_referer_msg"] = 'De configuratie instelling Validate HTTP_REFERER headers? staat UIT. We raden aan deze AAN te zetten. Ga naar de Configuratie opties ';
+$_lang["configcheck_warning"] = 'Configuratie waarschuwing:';
+$_lang["configcheck_what"] = 'Wat betekent dit?';
+$_lang["confirm_block"] = 'Weet u zeker dat u deze Gebruiker wilt blokkeren?';
+$_lang["confirm_delete_category"] = 'Weet u zeker dat u deze categorie wilt verwijderen?';
+$_lang["confirm_delete_eventlog"] = 'Weet u zeker dat u het logboek (events) wilt leegmaken?';
+$_lang["confirm_delete_file"] = 'Weet u zeker dat u dit bestand wilt verwijderen?\n\nHet zou kunnen dat hierdoor uw website niet meer werkt! Verwijder dit bestand uitsluitend indien u zeker bent dat u hiermee niks stuk maakt.';
+$_lang["confirm_delete_group"] = 'Weet u zeker dat u deze Groep wilt verwijderen?';
+$_lang["confirm_delete_htmlsnippet"] = 'Weet u zeker dat u deze Chunk wilt verwijderen?';
+$_lang["confirm_delete_keywords"] = 'Weet u zeker dat u deze keywords wilt verwijderen?';
+$_lang["confirm_delete_module"] = 'Weet u zeker dat u deze Module wilt verwijderen?';
+$_lang["confirm_delete_plugin"] = 'Weet u zeker dat u deze Plug-in wilt verwijderen?';
+$_lang["confirm_delete_record"] = 'Weet u zeker dat u de geselecteerde regels wilt verwijderen?';
+$_lang["confirm_delete_resource"] = 'Weet u zeker dat u deze Pagina wilt verwijderen?\nDan worden tevens alle Subpagina\'s verwijderd.';
+$_lang["confirm_delete_role"] = 'Weet u zeker dat u deze Rol wilt verwijderen?';
+$_lang["confirm_delete_snippet"] = 'Weet u zeker dat u deze Snippet wilt verwijderen?';
+$_lang["confirm_delete_tags"] = 'Weet u zeker dat u de geselecteerde \'META tags\' wilt verwijderen?';
+$_lang["confirm_delete_template"] = 'Weet u zeker dat u deze Template wilt verwijderen?';
+$_lang["confirm_delete_tmplvars"] = 'Weet u zeker dat u deze Template Variabele en alle opgeslagen waarden wilt verwijderen?';
+$_lang["confirm_delete_user"] = 'Weet u zeker dat u deze Gebruiker wilt verwijderen?';
+$_lang["confirm_duplicate_record"] = 'Weet u zeker dat u deze regel wilt dupliceren?';
+$_lang["confirm_empty_trash"] = 'Als u de prullenbak leegmaakt worden alle gemarkeerde Pagina\'s permanent verwijderd!\n\nDoorgaan?';
+$_lang["confirm_load_depends"] = 'Weet u zeker dat u dit scherm wilt verlaten? De afhankelijkheden van deze Module gaan daarbij verloren!';
+$_lang["confirm_name_change"] = 'Het veranderen van de Gebruikersnaam kan invloed hebben op gekoppelde applicaties.\n\n Weet u zeker dat u de Gebruikersnaam wilt veranderen?';
+$_lang["confirm_publish"] = '\n\nAls u deze Pagina nu publiceert, dan zal eventuele data van deze publicatie verloren gaan. Als u data t.a.v. (geen) publicatie wilt instellen of behouden, bewerk dan het bestand via de optie \'bewerken\'.\n\nDoorgaan?';
+$_lang["confirm_remove_locks"] = 'Soms sluiten Gebruikers hun browservenster gedurende het bewerken van Pagina\'s, Templates, Snippets of parsers. Het gevolg hiervan is dat het item waaraan ze aan het werken waren, geblokkeerd worden voor andere gebruikers. Door op OK te drukken worden alle blokkeringen opgeheven.\n\nDoorgaan?';
+$_lang["confirm_reset_sort_order"] = 'Weet u zeker dat u de \"sorteervolgorde/index\" van alle vermelde elementen naar 0 wilt resetten?';
+$_lang["confirm_resource_duplicate"] = 'Weet u zeker dat u deze Pagina wilt dupliceren?\nSubmappen en Pagina\'s zullen ook gedupliceerd worden.\n\n NB: Externe gegevens (bijv. keywords, aangepaste Template Variabelen, enz...) worden niet gedupliceerd.';
+$_lang["confirm_setting_language_change"] = 'U heeft de standaard waarde gewijzigd en zal de wijzigingen verliezen. Doorgaan?';
+$_lang["confirm_unblock"] = 'Weet u zeker dat u voor deze Gebruiker de blokkering wilt opheffen?';
+$_lang["confirm_undelete"] = '\n\nVan alle Subpagina\'s die gelijktijdig met deze Pagina verwijderd zijn, zal de verwijdering ongedaan worden gemaakt! Alle Subpagina\'s die eerder verwijderd zijn zullen verwijderd blijven.';
+$_lang["confirm_unpublish"] = '\n\nAls u de publicatie van deze Pagina ongedaan wilt maken, dan zal eventuele data van deze publicatie verloren gaan. Als u data van deze publicatie wilt behouden, bewerk dan het bestand met de optie \'bewerken\'.\n\nDoorgaan?';
+$_lang["confirm_unzip_file"] = 'Weet u zeker dat dit bestand uitgepakt moet worden?\n\nBestaande bestanden zullen overschreven worden.';
+$_lang["could_not_find_user"] = 'Gebruiker niet gevonden';
+$_lang["create_folder_here"] = 'Nieuwe Map hier aanmaken';
+$_lang["create_resource_here"] = 'Nieuwe Pagina';
+$_lang["create_resource_title"] = 'Nieuw Element';
+$_lang["create_weblink_here"] = 'Nieuwe Weblink';
+$_lang["createdon"] = 'Datum aangemaakt';
+$_lang["create_new"] = 'Nieuwe aanmaken';
+$_lang["credits"] = 'Dankwoord';
+$_lang["credits_shouts_msg"] = 'EVO wordt beheerd en bijgehouden op evo.im .
';
+$_lang["custom_contenttype_message"] = 'Voeg eigen \'content types\' toe. Vul een nieuw type in en klik op de knop \'Toevoegen\' om een nieuw type toe te voegen';
+$_lang["custom_contenttype_title"] = 'Toegevoegde content types';
+$_lang["database_charset"] = 'Database Karakterset';
+$_lang["database_collation"] = 'Database Collatie Karakterset';
+$_lang["database_name"] = 'Database naam';
+$_lang["database_overhead"] = 'Opmerking: Overhead is ongebruikte ruimte gereserveerd door MySQL. Om deze ruimte vrij te maken klikt u op de link in de kolom Overhead van de tabel.';
+$_lang["database_server"] = 'Database server';
+$_lang["database_table_clickbackup"] = 'Backup & download';
+$_lang["database_table_clickhere"] = 'Klik hier';
+$_lang["database_table_datasize"] = 'Bestandsgrootte';
+$_lang["database_table_droptablestatements"] = 'Genereer DROP TABLE commando\'s.';
+$_lang["database_table_effectivesize"] = 'Effectieve grootte';
+$_lang["database_table_indexsize"] = 'Index grootte';
+$_lang["database_table_overhead"] = 'Overhead';
+$_lang["database_table_records"] = 'Rijen';
+$_lang["database_table_tablename"] = 'Tabel naam';
+$_lang["database_table_totals"] = 'Totaal';
+$_lang["database_table_totalsize"] = 'Totale grootte';
+$_lang["database_tables"] = 'Database tabellen';
+$_lang["database_version"] = 'Database versie';
+$_lang["date"] = 'Datum';
+$_lang["datechanged"] = 'Wijzigingsdatum';
+$_lang["datepicker_offset"] = 'Kalender verschil';
+$_lang["datepicker_offset_message"] = 'Het aantal jaar in het verleden dat getoond dient te worden in de kalender.';
+$_lang["datetime_format"] = 'Datum formaat';
+$_lang["datetime_format_message"] = 'Het formaat van de datums in het Content Management Systeem.';
+$_lang["default"] = 'Standaard:';
+$_lang["defaultcache_message"] = 'Kies \'Ja\' om alle nieuwe Pagina\'s standaard cachebaar te maken.';
+$_lang["defaultcache_title"] = 'Standaard cachebaar';
+$_lang["defaultmenuindex_message"] = 'Kies \'Ja\' om automatisch verhogen van de menu-index standaard te maken.';
+$_lang["defaultmenuindex_title"] = 'Standaard menu indexering';
+$_lang["defaultpublish_message"] = 'Kies \'Ja\' om alle nieuwe Pagina\'s standaard te publiceren.';
+$_lang["defaultpublish_title"] = 'Standaard gepubliceerd';
+$_lang["defaultsearch_message"] = 'Kies \'Ja\' om alle nieuwe Pagina\'s standaard doorzoekbaar te maken.';
+$_lang["defaultsearch_title"] = 'Standaard doorzoekbaar';
+$_lang["defaulttemplate_message"] = 'Kies hier de standaard Template voor nieuwe Pagina\'s. In de Pagina-editor kunt u eventueel een andere Template kiezen; de keuze die u hier maakt bepaalt louter welke template standaard ingesteld staat.';
+$_lang["defaulttemplate_title"] = 'Standaard template';
+$_lang["defaulttemplate_logic_title"] = 'Automatisch Template toewijzen';
+$_lang["defaulttemplate_logic_general_message"] = 'Nieuwe pagina\'s zullen de volgende template hebben, en terugvallen op hogere niveau\'s:';
+$_lang["defaulttemplate_logic_system_message"] = 'Systeem : Systeem Standaard Template.';
+$_lang["defaulttemplate_logic_parent_message"] = 'Onderliggend : dezelfde template als de onderliggende map.';
+$_lang["defaulttemplate_logic_sibling_message"] = 'Zelfde niveau : dezelfde template als andere pagina\'s in de zelfde map.';
+$_lang["delete"] = 'Verwijderen';
+$_lang["delete_resource"] = 'Verwijder Pagina';
+$_lang["delete_tags"] = 'Tags verwijderen';
+$_lang["deleting_file"] = 'Verwijderen bestand `%s`: ';
+$_lang["description"] = 'Beschrijving';
+$_lang["deselect_keywords"] = 'Zoekwoorden opschonen';
+$_lang["deselect_metatags"] = 'Verwijder \'META tags\'';
+$_lang["disabled"] = 'Uitgeschakeld';
+$_lang["doc_data_title"] = 'Paginadata weergeven';
+$_lang["documentation"] = 'Documentatie';
+$_lang["duplicate"] = 'Dupliceren';
+$_lang["duplicate_alias_found"] = 'Pagina \'%s\' heeft de alias \'%s\' al in gebruik. Kies een unieke alias voor deze Pagina.';
+$_lang["duplicate_alias_message"] = 'Kies \'Ja\' om dubbele aliassen toe te staan wanneer een Pagina wordt opgeslagen. NB: Deze optie kan niet worden gebruikt in combinatie met \'Zoekmachine vriendelijke URL\'s\'. ';
+$_lang["duplicate_alias_title"] = 'Dubbele aliassen toestaan';
+$_lang["duplicate_name_found_general"] = 'Er is al een %s genaamd \'%s\'. Geef a.u.b. een unieke naam op.';
+$_lang["duplicate_name_found_module"] = 'Er is al een Module genaamd \'%s\'. Geef a.u.b. een unieke naam op.';
+$_lang["duplicated_el_suffix"] = 'Dupliceer';
+$_lang["edit"] = 'Bewerk';
+$_lang["edit_resource"] = 'Bewerk Pagina';
+$_lang["edit_resource_title"] = 'Maak/wijzig Pagina';
+$_lang["edit_settings"] = 'Configuratie';
+$_lang["editedon"] = 'Datum wijziging';
+$_lang["editing_file"] = 'Bewerkt bestand: ';
+$_lang["editor_css_path_message"] = 'Geef het pad op naar het CSS-bestand dat u wilt gebruiken binnen de teksteditor. De beste manier om dit pad op te geven is vanaf de \'root\' (basismap) van de server, bijvoorbeeld: /assets/site/style.css. Laat dit veld leeg indien u geen CSS-bestand wilt gebruiken in de teksteditor.';
+$_lang["editor_css_path_title"] = 'Pad naar CSS-bestand';
+$_lang["element"] = 'Element';
+$_lang["element_categories"] = 'Gecombineerde weergave';
+$_lang["element_filter_msg"] = 'Zoek in lijst';
+$_lang["element_management"] = 'Elementen beheren';
+$_lang["element_name"] = 'Element naam';
+$_lang["element_selector_msg"] = 'Selecteer de Element(en) uit onderstaande lijst en klik op de knop \'Toevoegen\'.';
+$_lang["element_selector_title"] = 'Selecteer een Element';
+$_lang["elements"] = 'Elementen';
+$_lang["email"] = 'E-mail adres';
+$_lang["email_sent"] = 'E-mail verzonden';
+$_lang["emailsender_message"] = 'Het e-mailadres van de beheerder van deze site. Dit e-mailadres zal worden gebruikt voor systeem notificaties ed.';
+$_lang["emailsender_title"] = 'E-mail adres';
+$_lang["emailsubject_default"] = 'Uw inloggegevens';
+$_lang["emailsubject_message"] = 'Specificeer het onderwerp van de aanmeldings e-mail.';
+$_lang["emailsubject_title"] = 'Onderwerp e-mail';
+$_lang["empty_folder"] = 'Deze Map is leeg';
+$_lang["empty_recycle_bin"] = 'Prullenbak leegmaken';
+$_lang["empty_recycle_bin_empty"] = 'Er zijn geen verwijderde Pagina\'s om permanent te verwijderen.';
+$_lang["enable_resource"] = 'Elementen inschakelen';
+$_lang["enable_sharedparams"] = 'Delen van parameters inschakelen';
+$_lang["enable_sharedparams_msg"] = 'NB: Bovenstaande \'Globally Unique ID (GUID)\' wordt gebruikt om deze Module en de gedeelde parameters uniek te identificeren. De GUID wordt ook gebruikt om een link te creëeren tussen de Module en Plug-ins of Snippets die de gedeelde parameters gebruiken. ';
+$_lang["enabled"] = 'Ingeschakeld';
+$_lang["error"] = 'Fout';
+$_lang["error_sending_email"] = 'Fout bij verzenden e-mail';
+$_lang["errorpage_message"] = 'Vul hier een gepubliceerde en publiek toegankelijke Pagina ID in waar u Gebruikers naar wilt doorsturen als ze een niet-bestaande Pagina willen bekijken.';
+$_lang["errorpage_title"] = 'Fout pagina';
+$_lang["event_id"] = 'Gebeurtenis (event) Id';
+$_lang["eventlog"] = 'Logboek (gebeurtenissen)';
+$_lang["eventlog_msg"] = 'In het logboek voor gebeurtenissen worden informatie, waarschuwingen en foutmeldingen opgeslagen van het \'Content Management Systeem\'. De kolom \'bron\' geeft het onderdeel van het \'Content Management Systeem\' waarop het bericht betrekking heeft.';
+$_lang["eventlog_viewer"] = 'Systeem gebeurtenissen';
+$_lang["everybody"] = 'Iedereen';
+$_lang["existing_category"] = 'Bestaande categorie';
+$_lang["expand_tree"] = 'Website boomstructuur uitklappen';
+$_lang["export_site"] = 'Exporteer Website';
+$_lang["export_site_cacheable"] = 'Ook niet-cachebare bestanden:';
+$_lang["export_site_exporting_document"] = '[+status+] [+url+] - [+pagetitle+] ([+id+]) ';
+$_lang["export_site_failed"] = 'Mislukt!';
+$_lang["export_site_failed_no_open"] = 'Kan bestand niet openen: ';
+$_lang["export_site_failed_no_retrieve"] = 'Kan Pagina niet ophalen.';
+$_lang["export_site_failed_no_write"] = 'Kan niet naar bestand schrijven.';
+$_lang["export_site_html"] = 'Exporteer website naar HTML';
+$_lang["export_site_maxtime"] = 'Maximale export tijd:';
+$_lang["export_site_maxtime_message"] = 'Specificeer het aantal seconden dat EVO mag gebruiken om de site te exporteren (overschrijven van PHP-instellingen). Voer 0 in voor onbeperkte tijd. Let op, het instellen van 0 of een heel hoog aantal kan vreemde dingen doen op uw server en wordt niet aanbevolen.';
+$_lang["export_site_message"] = 'Gebruik dit om de hele site te exporteren naar statische HTML-bestanden. Houd er echter rekening mee dat u in dat geval veel van de EVO functionaliteit verliest:
Het lezen van pagina\'s op de geëxporteerde bestanden wordt niet opgenomen. Interactieve fragmenten werkt NIET in geëxporteerde bestanden Alleen gewone resources worden geëxporteerd, webkoppelingen worden niet geëxporteerd. Het exportproces kan mislukken als uw bronnen fragmenten bevatten die doorsturingen bevatten. li>Afhankelijk van hoe u uw bronnen, stylesheets en afbeeldingen hebt geschreven, is het ontwerp van uw site mogelijk beschadigd. Om dit op te lossen, bewaart/verplaats je de geëxporteerde bestanden naar dezelfde map waar het hoofdindexbestand EVO index.php zich bevindt. Vul het formulier in en druk op \'Exporteren\' om het exporteren te starten werkwijze. De gecreëerde bestanden worden opgeslagen in de map/assets/export, waarbij de URL-aliassen van Resources worden gebruikt als bestandsnamen, indien mogelijk. Tijdens het exporteren van uw site is het het beste om het EVO configuratie tem \'Friendly URL aliases\' in te stellen op \'yes\'. Afhankelijk van de grootte van uw site kan het exporteren even duren.
Bestaande bestanden worden overschreven door de nieuwe bestanden als hun namen identiek zijn!
';
+$_lang["export_site_numberdocs"] = '%s Pagina\'s gevonden om te exporteren ...
';
+$_lang["export_site_prefix"] = 'Bestand voorvoegsel:';
+$_lang["export_site_start"] = 'Start exporteren';
+$_lang["export_site_success"] = 'Gelukt!';
+$_lang["export_site_success_skip_dir"] = 'Sla deze Map over.';
+$_lang["export_site_success_skip_doc"] = 'Sla deze Pagina over.';
+$_lang["export_site_suffix"] = 'Bestand achtervoegsel:';
+$_lang["export_site_target_unwritable"] = 'De Map waarnaar u wilt exporteren is niet toegankelijk. Verzeker uzelf ervan dat u schrijfrechten in deze Map heeft, en probeer het daarna opnieuw.';
+$_lang["export_site_time"] = 'Exporteren gereed. Het exporteren duurde %s seconden.';
+$_lang["failed_login_message"] = 'Geef het maximum aantal aanmeldpogingen op voordat een Gebruiker geblokkeerd wordt.';
+$_lang["failed_login_title"] = 'Mislukte aanmeldpogingen';
+$_lang["fe_editor_lang_message"] = 'Kies een taal die de editor gebruikt als front-end editor taal.';
+$_lang["fe_editor_lang_title"] = 'Front-end editor taal';
+$_lang["file_delete_file"] = 'Verwijder bestand';
+$_lang["file_delete_folder"] = 'Verwijder Map';
+$_lang["file_deleted"] = 'Gelukt!';
+$_lang["file_download_file"] = 'Bestand downloaden';
+$_lang["file_download_unzip"] = 'Bestand uitpakken';
+$_lang["file_folder_chmod_error"] = 'Geen rechten om machtigingen te wijzigen.';
+$_lang["file_folder_created"] = 'Map is aangemaakt!';
+$_lang["file_folder_deleted"] = 'Map is verwijderd!';
+$_lang["file_folder_not_created"] = 'Kan Map niet aanmaken';
+$_lang["file_folder_not_deleted"] = 'Map kan niet verwijderd worden. Zorg ervoor dat de Map leeg is alvorens deze te verwijderen!';
+$_lang["file_not_deleted"] = 'Mislukt!';
+$_lang["file_not_saved"] = 'Het bestand kan niet worden bewaard. Verzeker uzelf ervan dat u schijfrechten in deze Map heeft!';
+$_lang["file_saved"] = 'Bestand succesvol bewaard!';
+$_lang["file_unzip"] = 'Uitpakken is gelukt!';
+$_lang["file_unzip_fail"] = 'Uitpakken is mislukt!';
+$_lang["filemanager_path_message"] = 'In IIS wordt de instelling document root vaak niet correct ingevuld. Deze wordt door de bestandsbeheerder gebruikt om te bepalen wat u kunt zien. Als u problemen ondervindt bij het gebruik van Bestandsbeheer, zorg er dan voor dat dit pad naar de hoofdmap van uw EVO installatie wijst.';
+$_lang["filemanager_path_title"] = 'Pad naar de bestanden';
+$_lang["files_access_denied"] = 'Toegang geweigerd!';
+$_lang["files_data"] = 'Gegevens';
+$_lang["files_dir_listing"] = 'Bestandenlijst voor:';
+$_lang["files_directories"] = 'Mappen';
+$_lang["files_directory_is_empty"] = 'Deze map is leeg';
+$_lang["files_dirwritable"] = 'Map schrijfbaar?';
+$_lang["files_editfile"] = 'Bestand bewerken';
+$_lang["files_file_type"] = 'Bestandstype: ';
+$_lang["files_filename"] = 'Bestandsnaam';
+$_lang["files_fileoptions"] = 'Opties';
+$_lang["files_files"] = 'Bestanden';
+$_lang["files_filesize"] = 'Bestandsgrootte';
+$_lang["files_filetype_notok"] = 'Het uploaden van dergelijke bestanden is niet toegestaan!';
+$_lang["files_management"] = 'Bestandsbeheer';
+$_lang["files_management_no_permission"] = 'Je hebt niet genoeg rechten om deze bestanden te bekijken of te bewerken. Vraag de beheerder toegang voor %s .';
+$_lang["files_modified"] = 'Gewijzigd';
+$_lang["files_top_level"] = 'Naar het hoogste niveau';
+$_lang["files_up_level"] = 'Een niveau omhoog';
+$_lang["files_upload_copyfailed"] = 'Het bestand kon niet naar de gewenste Map gekopieerd worden - uploaden mislukt!';
+$_lang["files_upload_error"] = 'Fout';
+$_lang["files_upload_error0"] = 'Er was een probleem bij het uploaden.';
+$_lang["files_upload_error1"] = 'Het bestand dat u probeert te uploaden is te groot.';
+$_lang["files_upload_error2"] = 'Het bestand dat u probeert te uploaden is te groot.';
+$_lang["files_upload_error3"] = 'Het bestand dat u probeert te uploaden is slechts gedeeltelijk geupload.';
+$_lang["files_upload_error4"] = 'Selecteer een bestand om te uploaden.';
+$_lang["files_upload_error5"] = 'Er was een probleem bij het uploaden.';
+$_lang["files_upload_inhibited_msg"] = 'Upload optie niet toegelaten - controleer of uploaden ondersteund wordt en of de Map voor PHP schrijfbaar is.';
+$_lang["files_upload_ok"] = 'Het uploaden van het bestand is succesvol verlopen!';
+$_lang["files_upload_permissions_error"] = 'Mogelijk rechten probleem - de Map waar u naartoe wilt uploaden heeft schrijfrechten nodig van uw webserver.';
+$_lang["files_uploadfile"] = 'Bestand uploaden';
+$_lang["files_uploadfile_msg"] = 'Selecteer een bestand om te uploaden:';
+$_lang["files_uploading"] = '%s naar %s/ uploaden.';
+$_lang["files_viewfile"] = 'Bestand weergeven';
+$_lang["folder"] = 'Map';
+$_lang["forgot_password_email_fine_print"] = '* De URL hierboven verloopt als u uw wachtwoord verandert of na vandaag.';
+$_lang["forgot_password_email_instructions"] = 'Daar kunt u uw wachtwoord wijzigen via de menu-optie Mijn Profiel.';
+$_lang["forgot_password_email_intro"] = 'Er is een verzoek gedaan om het wachtwoord van uw account te wijzigen.';
+$_lang["forgot_password_email_link"] = 'Klik hier om het proces af te ronden.';
+$_lang["forgot_your_password"] = 'Wachtwoord vergeten?';
+$_lang["friday"] = 'Vrijdag';
+$_lang["friendly_alias_message"] = 'Wanneer \'Friendly URLs\' is ingeschakeld wordt er een pagina URL gebruikt in plaats van het pagina ID. Dit wordt voor zoekoptimalisatie aangeraden.';
+$_lang["friendly_alias_title"] = 'Gebruik zoekmachine vriendelijke URL\'s';
+$_lang["friendlyurls_message"] = 'Gebruik zoekmachine vriendelijke URL\'s op Apache webservers met mod_rewrite of IIS met externe Plug-ins. Zie voor meer informatie het bij de distributie toegevoegde .htaccess bestand.';
+$_lang["friendlyurls_title"] = 'Zoekmachine vriendelijke URL\'s';
+$_lang["friendlyurlsprefix_message"] = 'Een voorvoegsel van \'pagina\' zorgt ervoor dat de normale URL /index.php?id=2 naar de zoekmachine vriendelijke URL /pagina2.html wordt omgezet (ervan uitgaande dat het achtervoegsel op .html staat ingesteld!).';
+$_lang["friendlyurlsprefix_title"] = 'Voorvoegsel zoekmachine vriendelijke URL\'s';
+$_lang["friendlyurlsuffix_message"] = 'Elk achtervoegsel die u invoert zal werken, inclusief een leeg achtervoegsel. Bijvoorbeeld \'.html\' zorgt ervoor dat er achter alle zoekmachine vriendelijke URL\'s \'.html\' wordt toegevoegd.';
+$_lang["friendlyurlsuffix_title"] = 'Achtervoegsel zoekmachine vriendelijke URL\'s';
+$_lang["functionnotimpl"] = 'Sorry!';
+$_lang["functionnotimpl_message"] = 'Deze functie is nog niet ontwikkeld.';
+$_lang["further_info"] = 'Meer informatie';
+$_lang["global_tabs"] = 'Algemene tabbladen';
+$_lang["go"] = 'Start';
+$_lang["group_access_permissions"] = 'Groepstoegang';
+$_lang['group_tvs'] = 'TV groep';
+$_lang["guid"] = 'GUID';
+$_lang["help"] = 'Help';
+$_lang["help_msg"] = 'U kunt ondersteuning verkrijgen door de EVO-forums te bezoeken of bekijk de EVO documentatie site.
';
+$_lang["help_title"] = 'Help';
+$_lang["hide_tree"] = 'Website boomstructuur verbergen';
+$_lang["home"] = 'Start';
+$_lang["htmlsnippet"] = 'Chunk';
+$_lang["htmlsnippets"] = 'Chunks';
+$_lang["htmlsnippet_desc"] = 'Beschrijving';
+$_lang["htmlsnippet_management_msg"] = 'Hier kunt u Chunks toevoegen en bewerken.';
+$_lang["htmlsnippet_msg"] = 'Chunk toevoegen of bewerken. Denk eraan, Chunks zijn stukjes HTML code en kunnen geen PHP code bevatten.';
+$_lang["htmlsnippet_name"] = 'Naam Chunk';
+$_lang["htmlsnippet_title"] = 'Maak/wijzig Chunk';
+$_lang["icon"] = 'Icoon';
+$_lang["icon_description"] = 'CSS class b.v. \'fa fa-star\'';
+$_lang["id"] = 'ID';
+$_lang["illegal_parent_child"] = 'Hoofdpagina toekenning:\n\nPagina is een kind van de geselecteerde Pagina.';
+$_lang["illegal_parent_self"] = 'Hoofdpagina toekenning::\n\nDe geselecteerde Pagina kan niet zijn eigen Hoofdpagina zijn.';
+$_lang["images_management"] = 'Beheer afbeeldingen';
+$_lang["import_files_found"] = '%s Pagina\'s gevonden om te importeren... ';
+$_lang["import_params"] = 'Gedeelde Module parameters importeren';
+$_lang["import_params_msg"] = 'De parameters en instellingen van een Module kunnen worden geïmporteerd door de naam van de Module te selecteren uit het bovenstaande menu. NB: Modules verschijnen in het menu wanneer de Module is ingesteld voor het \'delen van parameters\' en wanneer bij de Module is opgegeven dat de Module afhankelijk is van deze Snippet/Plug-in.';
+$_lang["import_parent_resource"] = 'Hoofdpagina:';
+$_lang["import_site"] = 'Importeer Website';
+$_lang["import_site_failed"] = 'Fout!';
+$_lang["import_site_failed_db_error"] = 'Een database fout trad op tijdens het klonen van de Pagina: ';
+$_lang["import_site_failed_no_open_dir"] = 'Kon de Map niet openen: ';
+$_lang["import_site_failed_no_retrieve_file"] = 'Kon bestand niet ophalen: ';
+$_lang["import_site_html"] = 'Importeer website vanuit HTML';
+$_lang["import_site_importing_document"] = 'Bestand importeren %s ';
+$_lang["import_site_maxtime"] = 'Maximum tijd voor importeren:';
+$_lang["import_site_maxtime_message"] = 'Hier kunt u de maximale tijd specificeren die het Content Management Systeem mag gebruiken om de website te importeren (dit heeft voorrang op de PHP instellingen). Gebruik 0 voor \'oneindige\' tijd. Let op: door 0 of een erg lange tijd in te stellen kunnen er vreemde dingen gebeuren met uw server en wordt derhalve niet aanbevolen.';
+$_lang["import_site_message"] = 'Importeer een volledige HTML website naar uw database. Let op: De bestanden die geïmporteerd moeten worden moeten in de \'assets/import\' Map geplaatst worden.Vul het formulier in en kies \'Importeer\' om het process te starten. De geïmporteerde bestanden worden in de geselecteerde locatie opgeslagen waarbij (indien mogelijk) gebruik gemaakt wordt van de bestandsnamen voor Pagina aliassen waar mogelijk en de Paginatitel tag voor de Paginatitel.';
+$_lang["import_site_skip"] = 'Overgeslagen!';
+$_lang["import_site_start"] = 'Start importeren';
+$_lang["import_site_success"] = 'OK!';
+$_lang["import_site_time"] = 'Importeren gereed. Het importeren duurde %s seconden.';
+$_lang["inbox"] = 'Inbox';
+$_lang["info"] = 'Info';
+$_lang["information"] = 'Informatie';
+$_lang["inline"] = 'Geïntegreerd';
+$_lang["insert"] = 'Invoegen';
+$_lang["maxImageWidth"] = 'Maximum afbeelding breedte';
+$_lang["maxImageHeight"] = 'Maximum afbeelding hoogte';
+$_lang["thumbWidth"] = 'Maximum thumbnail breedte';
+$_lang["thumbHeight"] = 'Maximum thumbnail hoogte';
+$_lang["thumbsDir"] = 'Thumbnail locatie';
+$_lang["jpegQuality"] = 'JPEG compressie';
+$_lang["denyZipDownload"] = 'Zip bestanden downloaden uitschakelen';
+$_lang["denyExtensionRename"] = 'Uitschakelen hernoemen van bestandsextenties';
+$_lang["maxImageWidth_message"] = 'Bij het uploaden van een afbeelding met een te grootte resolutie wordt deze automatisch verkleind. Stel 0 in om dit te vermijden.';
+$_lang["maxImageHeight_message"] = 'Bij het uploaden van een afbeelding met een te grootte resolutie wordt deze automatisch verkleind. Stel 0 in om dit te vermijden.';
+$_lang["thumbWidth_message"] = 'Maximum thumbnail breedte.';
+$_lang["thumbHeight_message"] = 'Maximum thumbnail hoogte.';
+$_lang["thumbsDir_message"] = 'De naam van de map (preview).';
+$_lang["jpegQuality_message"] = 'JPEG compressie kwaliteit van thumbnails en verschaalde afbeeldingen';
+$_lang["showHiddenFiles"] = 'Toon verborgen bestanden in de Bestandsbrowser';
+$_lang["keyword"] = 'Keyword';
+$_lang["keywords"] = 'Keywords (sleutelwoorden)';
+$_lang["keywords_intro"] = 'Een keyword kan worden veranderd door in het invulveld naast het keyword de nieuwe waarde op te geven. Vink \'verwijder keyword\' aan om een keyword te verwijderen. Let erop dat verwijderen voorrang heeft op bewerken.';
+$_lang["language_message"] = 'Selecteer de taal voor de Manager.';
+$_lang["language_title"] = 'Manager taalkeuze';
+$_lang["last_update"] = 'Laatste update';
+$_lang["launch_site"] = 'Website bekijken';
+$_lang["license"] = 'Licentie';
+$_lang["link_attributes"] = 'Link attributen';
+$_lang["link_attributes_help"] = 'Hier kunt u attributen opgeven voor de link naar deze Pagina, zoals target="_blank" of rel="external".';
+$_lang["list_mode"] = 'Lijst weergave aan/uit - geeft alle rijen in de tabel weer.';
+$_lang["loading_doc_tree"] = 'Website boomstructuur wordt geladen...';
+$_lang["loading_menu"] = 'Menu wordt geladen...';
+$_lang["loading_page"] = 'Even geduld, de pagina wordt geladen..';
+$_lang["localtime"] = 'Lokale tijd';
+$_lang["lock_htmlsnippet"] = 'Blokkeer Chunk wijzigingen.';
+$_lang["lock_htmlsnippet_msg"] = 'Alleen beheerders (profiel ID 1) kunnen deze Chunk wijzigen.';
+$_lang["lock_module"] = 'Blokkeer Module wijzigingen.';
+$_lang["lock_module_msg"] = 'Alleen beheerders (profiel ID 1) kunnen deze Module bewerken.';
+$_lang["lock_msg"] = '%s bewerkt nu %s. Bewerking is niet mogelijk totdat deze Gebruiker klaar is.';
+$_lang["lock_plugin"] = 'Blokkeer Plug-in wijzigingen.';
+$_lang["lock_plugin_msg"] = 'Alleen beheerders (profiel ID 1) kunnen deze Plug-in wijzigen.';
+$_lang["lock_settings_msg"] = '%s is deze instellingen aan het bewerken. Bewerking is niet mogelijk totdat deze Gebruiker klaar is.';
+$_lang["lock_snippet"] = 'Blokkeer Snippet wijzigingen.';
+$_lang["lock_snippet_msg"] = 'Alleen beheerders (profiel ID 1) kunnen deze Snippet wijzigen.';
+$_lang["lock_template"] = 'Blokkeer Template wijzigingen.';
+$_lang["lock_template_msg"] = 'Alleen beheerders (profiel ID 1) kunnen deze Template wijzigen.';
+$_lang["lock_tmplvars"] = 'Blokkeer Template Variabele wijzigingen.';
+$_lang["lock_tmplvars_msg"] = 'Alleen beheerders (profiel ID 1) kunnen deze Template Variabele wijzigen.';
+$_lang["locked"] = 'Geblokkeerd';
+$_lang["login_allowed_days"] = 'Toegestane dagen';
+$_lang["login_allowed_days_message"] = 'Selecteer de dagen dat deze Gebruiker mag inloggen.';
+$_lang["login_allowed_ip"] = 'Toegestane IP Adressen';
+$_lang["login_allowed_ip_message"] = 'Voer de IP adressen in waarop deze Gebruiker zich mag aanmelden. NB: Meerdere IP adressen worden gescheiden met een komma (,) ';
+$_lang["login_button"] = 'Aanmelden';
+$_lang["login_cancelled_install_in_progress"] = 'Installatie / update van deze website is momenteel in gang gezet. Probeer het a.u.b. nogmaals over een paar minuten!';
+$_lang["login_cancelled_site_was_updated"] = 'Installatie / update op deze website is uitgevoerd, meld u a.u.b. nogmaals aan!';
+$_lang["login_captcha_message"] = ' De beheerder heeft de Captcha validatie ingeschakeld. Dit betekent dat u deze beveiligingscode hier moet ingeven.\n\nIndien de code slecht leesbaar is, kan u op de code zelf klikken om een nieuwe code te laten aanmaken.';
+$_lang["login_homepage"] = 'Login Startpagina';
+$_lang["login_homepage_message"] = 'Voer de ID in van de Pagina waarnaar Gebruikers worden verwezen als ze aangemeld zijn. NB: Zorg ervoor dat de ID dat u invoert een bestaand, gepubliceerd en voor deze Gebruiker toegankelijke Pagina is! ';
+$_lang["login_message"] = 'Om Evolution te gebruiken dient u zich eerst aan te melden. Let op: hierbij wordt onderscheid gemaakt tussen hoofd- en kleine letters!';
+$_lang["logo_slogan"] = 'EVO Content Manager - \nCreate and do more with less';
+$_lang["logout"] = 'Afmelden';
+$_lang["long_title"] = 'Uitgebreide titel';
+$_lang["mail_check_timeperiod_message"] = 'Hoe vaak in het Content Management Systeem gecontroleerd wordt op nieuwe berichten, in seconden.';
+$_lang["mail_check_timeperiod_title"] = 'Controleer e-mail tijdsinterval';
+$_lang["manage_depends"] = 'Beheer afhankelijkheden';
+$_lang["manage_files"] = 'Bestandsbeheer';
+$_lang["manage_htmlsnippets"] = 'Chunks';
+$_lang["manage_metatags"] = 'Beheer META tags en keywords';
+$_lang["manage_modules"] = 'Modulebeheer';
+$_lang["manage_plugins"] = 'Plug-ins';
+$_lang["manage_snippets"] = 'Snippets';
+$_lang["manage_templates"] = 'Templates';
+$_lang["manage_documents"] = 'Documenten';
+$_lang["manager"] = 'Content Management Systeem';
+$_lang["manager_lockout_message"] = 'U bent momenteel aangemeld bij het Content Management Systeem. Als u uw sessie wilt sluiten, klik dan a.u.b. op de knop "Afmelden".
Wilt u naar uw start- of homepage klik dan op de knop "Start".';
+$_lang["manager_permissions"] = 'Toegangsbeheer';
+$_lang["manager_theme"] = 'Manager thema';
+$_lang["manager_theme_message"] = 'Selecteer een thema voor het Content Management Systeem.';
+$_lang["messages"] = 'Berichten';
+$_lang["messages_all"] = 'Iedereen';
+$_lang["messages_compose"] = 'Bericht opstellen';
+$_lang["messages_forward"] = 'Doorsturen';
+$_lang["messages_from"] = 'Van';
+$_lang["messages_group"] = 'Een groep';
+$_lang["messages_inbox"] = 'Inbox';
+$_lang["messages_message"] = 'Bericht';
+$_lang["messages_no_messages"] = 'Er zijn geen berichten in de Inbox.';
+$_lang["messages_not_allowed_to_read"] = 'U bent niet bevoegd om dit bericht te lezen!';
+$_lang["messages_private"] = 'Privé';
+$_lang["messages_read_message"] = 'Bericht lezen';
+$_lang["messages_reply"] = 'Beantwoord';
+$_lang["messages_select_group"] = 'Selecteer een groep';
+$_lang["messages_select_user"] = 'Selecteer een Gebruiker';
+$_lang["messages_send"] = 'Verzenden';
+$_lang["messages_send_to"] = 'Verzend aan';
+$_lang["messages_sent"] = 'Verstuurd op';
+$_lang["messages_subject"] = 'Onderwerp';
+$_lang["messages_system_user"] = '[Systeem]';
+$_lang["messages_title"] = 'Berichten';
+$_lang["messages_user"] = 'Een Gebruiker';
+$_lang["meta_keywords"] = 'META keywords';
+$_lang["metatag_intro"] = 'Op deze Pagina kunt u \'META tags\' toevoegen, verwijderen en bewerken. De \'META tags\' kunt u aan Pagina\'s toevoegen op de META keywords tab bij het bewerken van een Pagina. Vul een naam en een waarde in voor een nieuwe tag en klik op de \'Tag toevoegen\' knop om een nieuwe \'tag\' toe te voegen. Klik op de naam van een \'tag\' om deze te bewerken.';
+$_lang["metatag_notice"] = 'Misschien wilt u een HTML Reference Guide raadplegen voor meer informatie. Dit is geen complete lijst van mogelijke Meta Tags.';
+$_lang["metatags"] = 'META tags';
+$_lang["mgr_access_permissions"] = 'Content Management Systeem toegangsbeheer';
+$_lang["mgr_login_start"] = 'Content Management Systeem Login Startpagina';
+$_lang["mgr_login_start_message"] = 'Geef de ID van de Pagina dat wordt getoond nadat een Gebruiker is ingelogd. NB: Let erop dat de ID bestaat, dat de Pagina gepubliceerd is en dat de Pagina toegankelijk is voor de Gebruiker! ';
+$_lang["mgrlog_action"] = 'Handeling';
+$_lang["mgrlog_actionid"] = 'Handeling ID';
+$_lang["mgrlog_anyall"] = 'Enkele/Alles';
+$_lang["mgrlog_datecheckfalse"] = 'checkdate() retourneerde \'false\'.';
+$_lang["mgrlog_datefr"] = 'Datum van';
+$_lang["mgrlog_dateinvalid"] = 'Onjuiste datumindeling.';
+$_lang["mgrlog_dateto"] = 'Datum tot';
+$_lang["mgrlog_emptysrch"] = 'Uw zoekopdracht gaf geen resultaten (d.w.z. geen overeenkomstige loggegevens gevonden).';
+$_lang["mgrlog_field"] = 'Veld';
+$_lang["mgrlog_itemid"] = 'Item ID';
+$_lang["mgrlog_itemname"] = 'Item naam';
+$_lang["mgrlog_msg"] = 'Bericht';
+$_lang["mgrlog_noquery"] = 'Nog geen zoekopdracht opgegeven.';
+$_lang["mgrlog_qresults"] = 'Zoekresultaten';
+$_lang["mgrlog_query"] = 'Zoek loggegevens';
+$_lang["mgrlog_query_msg"] = 'Maak a.u.b. een selectie om de logboeken te bekijken. U kunt log regels op datum selecteren, maar let erop dat de ingegeven einddatums niet inbegrepen zijn - om elke log regel te selecteren van 01-01-2004, vul bij \'datum van\' 01-01-2004 in en bij \'datum tot\' 02-01-2004. Melding en aktie zijn meestal hetzelfde. Als u een specifieke melding zoekt, kunt u het beste de aktie op \'Enkele/Alles\' zetten.';
+$_lang["mgrlog_results"] = 'Aantal gevonden';
+$_lang["mgrlog_searchlogs"] = 'Logboeken doorzoeken';
+$_lang["mgrlog_sortinst"] = 'Sorteer de tabel door op de kolom-kop te klikken. Als de logboeken te groot worden, leeg de logfile om alle huidige loggegevens te wissen. Dit kan niet ongedaan gemaakt worden!';
+$_lang["mgrlog_time"] = 'Tijd';
+$_lang["mgrlog_user"] = 'Gebruiker';
+$_lang["mgrlog_username"] = 'Gebruikersnaam';
+$_lang["mgrlog_value"] = 'waarde';
+$_lang["mgrlog_view"] = 'Bekijk Content Management Systeem logboeken';
+$_lang["module_code"] = 'Module code (php)';
+$_lang["module_config"] = 'Module configuratie';
+$_lang["module_desc"] = 'Beschrijving';
+$_lang["module_disabled"] = 'Module uitgeschakeld';
+$_lang["module_edit_click_title"] = 'Klik hier om de Module te bewerken';
+$_lang["module_group_access_msg"] = 'Selecteer de Gebruikersgroepen die deze Module binnen het Content Management Systeem mogen uitvoeren.';
+$_lang["module_management"] = 'Modulebeheer';
+$_lang["module_management_msg"] = 'Hier kunt u Modules toevoegen, bewerken en uitvoeren. Klik op het icoon van de Module om de Module uit te voeren. Klik op de naam van de Module om de Module te bewerken.';
+$_lang["module_msg"] = 'Module toevoegen of bewerken. Een Module is een verzameling van Elementen zoals Plug-ins, Snippets, etc.';
+$_lang["module_name"] = 'Modulenaam';
+$_lang["module_resource_msg"] = 'Elementen waarvan deze Module afhankelijk is kunnen hier worden aangepast. Kies de knop \'toevoegen\' hieronder om een Element toe te voegen.';
+$_lang["module_resource_title"] = 'Module afhankelijkheden';
+$_lang["module_title"] = 'Modules bewerken/toevoegen';
+$_lang["module_viewdepend_msg"] = 'Een Module is afhankelijk van bepaalde Elementen. Klik op de knop \'Beheer afhankelijkheden\' om deze te bewerken.';
+$_lang["modules"] = 'Modules';
+$_lang["modx_news"] = 'Nieuwsmeldingen';
+$_lang["modx_news_tab"] = 'EVO Nieuws';
+$_lang["modx_news_title"] = 'EVO Nieuws';
+$_lang["modx_security_notices"] = 'Beveiligingswaarschuwingen';
+$_lang["modx_version"] = 'EVO versie';
+$_lang["monday"] = 'Maandag';
+$_lang["move"] = 'Verplaatsen';
+$_lang["move_resource"] = 'Verplaats Pagina';
+$_lang["move_resource_message"] = 'Verplaats een Pagina inclusief Subpagina\'s door een nieuw Hoofdpagina in de Website boomstructuur te selecteren. Als de geselecteerde Pagina geen Map is, wordt er een Map van gemaakt. Selecteer een nieuw Hoofdpagina in de Website boomstructuur.';
+$_lang["move_resource_new_parent"] = 'Selecteer een nieuwe Hoofdpagina in de Website boomstructuur.';
+$_lang["move_resource_title"] = 'Pagina verplaatsen';
+$_lang["name"] = 'Naam';
+$_lang["new_category"] = 'Nieuwe categorie';
+$_lang["new_file_permissions_message"] = 'Bij het uploaden van een nieuw bestand in het Bestandsbeheer, zal het Bestandsbeheer proberen de bestandsrechten aan te passen volgens de instellingen die hier zijn opgegeven. Het kan zijn dat dit niet met alle installaties werkt, zoals met IIS, in welk geval u de rechten handmatig moet instellen.';
+$_lang["new_file_permissions_title"] = 'Nieuwe bestandsrechten';
+$_lang["new_folder_permissions_message"] = 'Als u een nieuwe Map aanmaakt in het Bestandsbeheer, zal het Bestandsbeheer proberen de Maprechten aan te passen volgens de instellingen die hier zijn opgegeven. Het kan zijn dat dit niet met alle installaties werkt, zoals met IIS, in welk geval u de rechten handmatig moet instellen.';
+$_lang["new_folder_permissions_title"] = 'Nieuwe map rechten';
+$_lang["new_htmlsnippet"] = 'Nieuwe Chunk toevoegen';
+$_lang["new_keyword"] = 'Voeg een keyword toe:';
+$_lang["new_module"] = 'Nieuwe Module toevoegen';
+$_lang["new_parent"] = 'Nieuwe Hoofdpagina toevoegen';
+$_lang["new_plugin"] = 'Nieuwe Plug-in toevoegen';
+$_lang["new_role"] = 'Nieuwe Rol';
+$_lang["new_snippet"] = 'Nieuwe Snippet toevoegen';
+$_lang["new_template"] = 'Nieuwe Template toevoegen';
+$_lang["new_tmplvars"] = 'Nieuwe Template Variabele toevoegen';
+$_lang["new_user"] = 'Nieuwe Manager gebruiker';
+$_lang["new_web_user"] = 'Nieuwe Webgebruiker toevoegen';
+$_lang["new_resource"] = 'Nieuwe pagina';
+$_lang["no"] = 'Nee';
+$_lang["no_active_users_found"] = 'Geen actieve Gebruikers gevonden.';
+$_lang["no_activity_message"] = 'U heeft nog geen Pagina\'s gemaakt/gewijzigd.';
+$_lang["no_category"] = 'Niet gecategoriseerd';
+$_lang["no_docs_pending_publishing"] = 'Geen Pagina\'s om te publiceren.';
+$_lang["no_docs_pending_pubunpub"] = 'Geen gebeurtenissen gevonden.';
+$_lang["no_docs_pending_unpublishing"] = 'Geen Pagina\'s om publicatie te beëindigen.';
+$_lang["no_edits_creates"] = 'Geen wijzigingen of toevoegingen gevonden.';
+$_lang["no_groups_found"] = 'Geen groepen gevonden.';
+$_lang["no_keywords_found"] = 'Er zijn momenteel geen keywords.';
+$_lang["no_records_found"] = 'Geen resultaten gevonden.';
+$_lang["no_results"] = 'Geen resultaten gevonden.';
+$_lang["nologentries_message"] = 'Voer hier het aantal logresultaten in dat per Pagina in het logboek moet worden weergegeven.';
+$_lang["nologentries_title"] = 'Aantal log resultaten';
+$_lang["nomessages_message"] = 'U kunt hier het aantal berichten instellen dat bij het bekijken van berichten in de inbox moet worden weergegeven.';
+$_lang["nomessages_title"] = 'Aantal berichten';
+$_lang["none"] = 'Geen';
+$_lang["noresults_message"] = 'Het aantal regels dat wordt weergegeven in lijsten met bijvoorbeeld zoekresultaten';
+$_lang["noresults_title"] = 'Aantal regels';
+$_lang["not_deleted"] = 'is niet verwijderd!';
+$_lang["not_set"] = 'Niet ingesteld';
+$_lang["offline"] = 'Offline';
+$_lang["online"] = 'Online';
+$_lang["onlineusers_action"] = 'Handeling';
+$_lang["onlineusers_actionid"] = 'Handeling ID';
+$_lang["onlineusers_ipaddress"] = 'IP adres Gebruiker';
+$_lang["onlineusers_lasthit"] = 'Laatste bezoek';
+$_lang["onlineusers_message"] = 'In deze lijst vindt u de actieve Gebruikers van de laatste 20 minuten (De huidige tijd is ';
+$_lang["onlineusers_title"] = 'Gebruikers online';
+$_lang["onlineusers_user"] = 'Gebruiker';
+$_lang["onlineusers_userid"] = 'Gebruikers ID';
+$_lang["optimize_table"] = 'Klik hier om deze tabel te optimaliseren';
+$_lang["page_data_alias"] = 'Alias';
+$_lang["page_data_cacheable"] = 'Cache-baar';
+$_lang["page_data_cacheable_help"] = 'Dit zorgt ervoor dat deze Pagina in de cache opgeslagen kan worden. Zorg dat deze optie niet aangevinkt is als uw Pagina Snippets bevat!';
+$_lang["page_data_cached"] = 'Bron uit cache gehaald: ';
+$_lang["page_data_changes"] = 'Veranderingen';
+$_lang["page_data_contentType"] = 'Soort inhoud';
+$_lang["page_data_contentType_help"] = 'Kies de soort van inhoud voor deze Pagina. Bent u hierover onzeker, laat dan de keuze op text/html.';
+$_lang["page_data_created"] = 'Gemaakt';
+$_lang["page_data_edited"] = 'Gewijzigd';
+$_lang["page_data_editor"] = 'Bewerk met de geavanceerde teksteditor';
+$_lang["page_data_folder"] = 'Pagina is een Map';
+$_lang["page_data_general"] = 'Algemeen';
+$_lang["page_data_markup"] = 'Opmaak/structuur';
+$_lang["page_data_mgr_access"] = 'Content Management Systeem toegang';
+$_lang["page_data_notcached"] = 'Deze Pagina is (nog) niet gecached.';
+$_lang["page_data_publishdate"] = 'Publicatiedatum';
+$_lang["page_data_publishdate_help"] = 'Wanneer u een publicatiedatum instelt, wordt de Pagina vanaf deze datum gepubliceerd. Klik op het kalenderpictogram om een datum te selecteren, of op het pictogram ernaast om de publicatiedatum te verwijderen. Dit houdt in dat de Pagina niet automatisch wordt gepubliceerd.';
+$_lang["page_data_published"] = 'Gepubliceerd';
+$_lang["page_data_searchable"] = 'Doorzoekbaar';
+$_lang["page_data_searchable_help"] = 'U kunt deze optie aanvinken om het doorzoeken van de Pagina toe te staan. U kunt het ook voor andere doeleinden gebruiken in uw Snippets.';
+$_lang["page_data_source"] = 'Bron';
+$_lang["page_data_status"] = 'Status';
+$_lang["page_data_template"] = 'Template';
+$_lang["page_data_template_help"] = 'Hier kunt u de Template voor de Pagina selecteren.';
+$_lang["page_data_title"] = 'Pagina gegevens';
+$_lang["page_data_unpublishdate"] = 'Datum einde publicatie';
+$_lang["page_data_unpublishdate_help"] = 'Wanneer u een datum einde publicatie instelt, wordt vanaf deze datum de publicatie beëindigd. Klik op het kalenderpictogram om een datum te selecteren, of op het pictogram ernaast om de datum waarop de publicatie beëindigd wordt, te verwijderen. Dit houdt in dat de publicatie van de Pagina niet automatisch beëindigd wordt.';
+$_lang["page_data_unpublished"] = 'Niet-gepubliceerd';
+$_lang["page_data_web_access"] = 'Webtoegang';
+$_lang["pagetitle"] = 'Titel van de Pagina';
+$_lang["pagination_table_first"] = 'Eerste';
+$_lang["pagination_table_gotopage"] = 'Ga naar Pagina';
+$_lang["pagination_table_last"] = 'Laatste';
+$_lang["paging_first"] = 'eerste';
+$_lang["paging_last"] = 'laatste';
+$_lang["paging_next"] = 'volgende';
+$_lang["paging_prev"] = 'vorige';
+$_lang["paging_showing"] = 'Toon';
+$_lang["paging_to"] = 'tot';
+$_lang["paging_total"] = 'totaal';
+$_lang["parameter"] = 'Parameter';
+$_lang["parse_docblock"] = 'Parse DocBlock';
+$_lang["parse_docblock_msg"] = 'Let op (!): Hersteld de oorspronkelijke naam, configuratie, beschrijving en categorie naar standaard instellingen door het parsen van de broncode.';
+$_lang["password"] = 'Wachtwoord';
+$_lang["password_change_request"] = 'Verzoek wachtwoord wijzigen';
+$_lang["password_gen_gen"] = 'Wachtwoord laten genereren';
+$_lang["password_gen_length"] = 'Het wachtwoord moet minstens 6 karakters lang zijn.';
+$_lang["password_gen_method"] = 'Hoe wilt u het wachtwoord voor deze Gebruiker aanmaken?';
+$_lang["password_gen_specify"] = 'Laat mij het wachtwoord specificeren:';
+$_lang["password_method"] = 'Hoe wilt u deze Gebruiker op de hoogte stellen van het nieuwe wachtwoord?';
+$_lang["password_method_email"] = 'Verstuur het nieuwe wachtwoord via e-mail.';
+$_lang["password_method_screen"] = 'Geef het nieuwe wachtwoord op het beeldscherm weer.';
+$_lang["password_msg"] = 'Het nieuwe wachtwoord voor %s is %s .';
+$_lang["php_version_check"] = 'Je gebruikt PHP versie %s%. Voer een upgrade van uw PHP-installatie uit!';
+$_lang["plugin"] = 'Plug-in';
+$_lang["plugins"] = 'Plugins';
+$_lang["plugin_code"] = 'Plug-in code (php)';
+$_lang["plugin_config"] = 'Plug-in configuratie';
+$_lang["plugin_desc"] = 'Beschrijving';
+$_lang["plugin_disabled"] = 'Plug-in uitgeschakeld';
+$_lang["plugin_event_msg"] = 'Selecteer de gebeurtenissen (events) waar deze Plug-in op moet reageren.';
+$_lang["plugin_management_msg"] = 'Hier kunt u Plug-ins toevoegen of bewerken.';
+$_lang["plugin_msg"] = 'Hier kunt u Plug-ins toevoegen of bewerken. Plug-ins zijn \'ruwe\' PHP instructies die uitgevoerd worden als de geselecteerde systeemgebeurtenissen (events) optreden.';
+$_lang["plugin_name"] = 'Naam Plug-in';
+$_lang["plugin_priority"] = 'Wijzig Plug-in event volgorde';
+$_lang["plugin_priority_instructions"] = 'Om de volgorde van de Plug-ins te veranderen versleep onder elke gebeurtenis (event) de titel. De eerste Plug-in die uitgevoerd dient te worden dient bovenaan te staan.';
+$_lang["plugin_priority_title"] = 'Plug-in uitvoer volgorde';
+$_lang["purge_plugin"] = 'Verwijder verouderde Plug-ins';
+$_lang["plugin_title"] = 'Aanmaken/bewerken Plug-in';
+$_lang["preview"] = 'Voorbeeld';
+$_lang["preview_msg"] = 'Dit is een voorbeeld van uw laatst opgeslagen wijzigingen. Klik hier om uw huidige wijzigingen op te slaan en te vernieuwen .';
+$_lang["preview_resource"] = 'Pagina voorbeeld';
+$_lang["private"] = 'Gesloten';
+$_lang["public"] = 'Open';
+$_lang["publish_date"] = 'Publicatiedatum';
+$_lang["publish_events"] = 'Publiceer gebeurtenissen';
+$_lang["publish_resource"] = 'Publiceer Pagina';
+$_lang["rb_base_dir_message"] = 'Voer het fysieke pad naar de map Bestandsbrowser in. Deze instelling wordt meestal automatisch gegenereerd. Als u IIS echter gebruikt, is het mogelijk dat EVO het pad niet zelfstandig kan bewerken, waardoor de bestandsbrowser een foutmelding geeft.';
+$_lang["rb_base_dir_title"] = 'Pad naar de bestanden';
+$_lang["rb_base_url_message"] = 'Voer de virtuele pad naar de bestanden map in. Deze instelling wordt meestal automatisch gegenereerd. Als u IIS echter gebruikt, is het mogelijk dat EVO de URL niet zelf kan bewerken, waardoor de bestandsbrowser een foutmelding vertoont. In dat geval kunt u hier de URL van de afbeeldingenlijst invoeren.';
+$_lang["rb_base_url_title"] = 'URL naar de bestanden';
+$_lang["rb_message"] = 'Kies \'ja\' om de bestandsbeheer in te schakelen. Met bestandsbeheer is het voor Gebruikers eenvoudig mogelijk om bestanden zoals afbeeldingen, flash en media op de server te plaatsen.';
+$_lang["rb_title"] = 'Bestandsbeheer inschakelen';
+$_lang["rb_webuser_message"] = 'Wilt u de Webgebruikers toestaan de bestanden op de server te beheren? WAARSCHUWING: Door dit toe te staan kunnen Webgebruikers dezelfde bestanden beheren als de website beheerder(s). Gebruik dit alleen voor Webgebruikers die u vertrouwd.';
+$_lang["rb_webuser_title"] = 'Webgebruikers';
+$_lang["recent_docs"] = 'Recente Pagina\'s';
+$_lang["recommend_setting_change_title"] = 'Aan te raden aangepaste instelling ';
+$_lang["recommend_setting_change_description"] = 'Uw website is niet geconfigureerd om de HTTP_REFERER te valideren voor inkomende Manager aanvragen. We raden aan deze instelling aan te zetten om CSRF (Cross Site Request Forgery) aanvallen te minimaliseren.';
+$_lang["references"] = 'Referenties';
+$_lang["refresh_cache"] = 'Cache: %s bestanden in cache-map gevonden en %d bestanden verwijderd.Nieuwe cache-bestanden worden aangemaakt wanneer Pagina\'s worden opgevraagd.';
+$_lang["refresh_published"] = '%s Pagina\'s zijn gepubliceerd.';
+$_lang["refresh_site"] = 'Cache legen';
+$_lang["refresh_title"] = 'Website vernieuwen';
+$_lang["refresh_tree"] = 'Website boomstructuur vernieuwen';
+$_lang["refresh_unpublished"] = '%s Pagina\'s zijn niet gepubliceerd.';
+$_lang["release_date"] = 'Publicatie datum';
+$_lang["remember_last_tab"] = 'Tabs onthouden';
+$_lang["remember_last_tab_message"] = 'Manager pagina\'s met Tabs laden met de laatst bekeken tab in plaats van standaard de eerst bekeken tab';
+$_lang["remember_username"] = 'Onthoud mij';
+$_lang["remove"] = 'Verwijderen';
+$_lang["remove_date"] = 'Verwijder datum';
+$_lang["remove_locks"] = 'Blokkeringen opheffen';
+$_lang["rename"] = 'Hernoem';
+$_lang["reports"] = 'Rapportage';
+$_lang["report_issues"] = 'Problemen rapporteren';
+$_lang["require_tagname"] = 'Een naam voor de \'tag\' is vereist.';
+$_lang["require_tagvalue"] = 'Een waarde voor de \'tag\' is vereist.';
+$_lang["reserved_name_warning"] = 'U heeft een gereserveerde naam gebruikt.';
+$_lang["reset"] = 'Reset';
+$_lang["reset_failedlogins"] = 'reset';
+$_lang["reset_sort_order"] = 'Herstel sorteer instellingen';
+$_lang["resource"] = 'Pagina';
+$_lang["resource_alias"] = 'Pagina alias';
+$_lang["resource_alias_help"] = 'Hier kunt u voor deze Pagina een alias invoeren. Dit zal de Pagina toegangelijk maken als u gebruik maakt van http://uwsite.nl/alias. Dit werkt alleen als u gebruik maakt van zoekmachine vriendelijke URL\'s.';
+$_lang["resource_content"] = 'Paginainhoud';
+$_lang["resource_description"] = 'Beschrijving';
+$_lang["resource_description_help"] = 'Geef een eventuele beschrijving op van deze Pagina.';
+$_lang["resource_duplicate"] = 'Dupliceer Pagina';
+$_lang["resource_long_title_help"] = 'Geef een langere titel op van deze Pagina. Dit kan handig zijn voor zoekmachines en is misschien ook een betere beschrijving van uw Pagina.';
+$_lang["resource_metatag_help"] = 'Selecteer de \'META tags\' of keywords die u aan de Pagina wilt toekennen. Met de CTRL-toets (cmd in Mac OS) kunnen meerdere META tags worden geselecteerd';
+$_lang["resource_opt_contentdispo"] = 'Content-Disposition';
+$_lang["resource_opt_contentdispo_help"] = 'Gebruik \'Content-Disposition\' om aan te geven hoe de Pagina wordt behandeld door de webbrowser. Gebruik \'Bijlage\' voor separate bestanden.';
+$_lang["resource_opt_emptycache"] = 'Cache leegmaken?';
+$_lang["resource_opt_emptycache_help"] = 'Als dit veld wordt aangevinkt, wordt de cache leeggemaakt nadat u de pagina hebt opgeslagen. Op deze manier zien uw bezoekers geen oudere versie van de pagina.';
+$_lang["resource_opt_folder"] = 'Map?';
+$_lang["resource_opt_folder_help"] = 'U kunt deze optie aanvinken om deze pagina als een map voor andere pagina\'s te gebruiken. U hoeft hier niet te veel aandacht aan te besteden, aangezien Evolution map instellingen over het algemeen automatisch verzorgt.';
+$_lang["resource_opt_menu_index"] = 'Menu index';
+$_lang["resource_opt_menu_index_help"] = 'De menu-index is een veld waarmee u het sorteren van Pagina\'s kunt beïnvloeden, voornamelijk in menu\'s en opsommingen. U kunt het ook voor andere doeleinden gebruiken in uw Snippets.';
+$_lang["resource_opt_menu_title"] = 'Menu titel';
+$_lang["resource_opt_menu_title_help"] = 'De menu titel is een optioneel veld dat gebruikt wordt om een korte titel te tonen in menu Snippet(s) of Modules.';
+$_lang["resource_opt_published"] = 'Gepubliceerd';
+$_lang["resource_opt_published_help"] = 'Vink deze optie aan zodat uw Pagina automatisch gepubliceerd wordt na het opslaan.';
+$_lang["resource_opt_richtext"] = 'Teksteditor gebruiken?';
+$_lang["resource_opt_richtext_help"] = 'Laat dit aangevinkt staan om de teksteditor voor geavanceerde tekstopmaak bij het bewerken Pagina\'s te gebruiken. Als uw Pagina Javascript code of formulieren bevat is het verstandig om deze optie uit te zetten, zodat u in HTML-modus kunt werken. Dit zorgt ervoor dat uw Pagina correct wordt weergegeven.';
+$_lang["resource_opt_show_menu"] = 'Zichtbaar in menu';
+$_lang["resource_opt_show_menu_help"] = 'Gebruikt door een aantal Plug-ins/Modules om deze Pagina niet te tonen in een menu.';
+$_lang["resource_opt_trackvisit_help"] = 'Sla elke bezoeker op deze Pagina op in het logboek.';
+$_lang["resource_overview"] = 'Pagina overzicht';
+$_lang["resource_parent"] = 'Hoofdpagina';
+$_lang["resource_parent_help"] = 'Selecteer een Pagina in de Website boomstructuur om het als Hoofdpagina van deze Pagina in te stellen.';
+$_lang["resource_permissions_error"] = 'Koppel deze Pagina aan tenminste 1 Paginagroep waar u toegang tot heeft.';
+$_lang["resource_setting"] = 'Pagina instellingen';
+$_lang["resource_summary"] = 'Samenvatting (introductietekst)';
+$_lang["resource_summary_help"] = 'Typ een korte beschrijving van de Pagina.';
+$_lang["resource_title"] = 'Titel';
+$_lang["resource_title_help"] = 'U kunt hier de titel van de Pagina opgeven. Vermijdt het gebruik van backslashes in de naam!';
+$_lang["resource_to_be_moved"] = 'De te verplaatsen Pagina';
+$_lang["resource_type"] = 'Resource Type';
+$_lang["resource_type_message"] = 'Verwijzingen naar weblinks Bronnen op internet, inclusief een andere interne bron, een externe pagina of een afbeelding of ander bestand op internet. Webkoppelingen moeten een tekst/html internetmediatype en inline content afhandeling hebben.';
+$_lang["resource_type_weblink"] = 'Weblink';
+$_lang["resource_type_webpage"] = 'Webpagina';
+$_lang["resource_weblink_help"] = 'Typ het adres van het object dat u wilt verwijzen met deze weblink. Als alternatief kunt u deze invoegen via de bestand browser of gebruik het selectie icoon en kies een bron van de site van de paginaboom aan de linker kant.';
+$_lang["resources_in_container"] = 'Pagina\'s in deze Map';
+$_lang["resources_in_container_no"] = 'Deze Map bevat geen Subpagina\'s.';
+$_lang["role"] = 'Rol';
+$_lang["role_about"] = 'Infopagina weergeven';
+$_lang["role_access_persmissions"] = 'Toegangsrechten';
+$_lang["role_actionok"] = '\'Bewerking is voltooid\'-scherm weergeven';
+$_lang["role_assets_images"] = 'Beheer afbeeldingen';
+$_lang["role_assets_files"] = 'Beheer bestanden';
+$_lang["role_bk_manager"] = 'Backupbeheer gebruiken';
+$_lang["role_cache_refresh"] = 'De cache van de website leegmaken';
+$_lang["role_category_manager"] = 'Gebruik de Categorie Manager';
+$_lang["role_change_password"] = 'Wachtwoord wijzigen';
+$_lang["role_change_resourcetype"] = 'Pagina type aanpassen';
+$_lang["role_chunk_management"] = 'Chunk beheer';
+$_lang["role_config_management"] = 'Configuratiebeheer';
+$_lang["role_content_management"] = 'Inhoud beheer';
+$_lang["role_create_chunk"] = 'Nieuwe Chunks maken';
+$_lang["role_create_doc"] = 'Nieuwe Pagina\'s maken';
+$_lang["role_create_plugin"] = 'Nieuwe Plug-ins maken';
+$_lang["role_create_snippet"] = 'Nieuwe Snippets maken';
+$_lang["role_create_template"] = 'Nieuwe website Templates maken';
+$_lang["role_credits"] = 'Dankwoord weergeven';
+$_lang["role_delete_chunk"] = 'Chunks verwijderen';
+$_lang["role_delete_doc"] = 'Pagina\'s verwijderen';
+$_lang["role_delete_eventlog"] = 'Verwijder logboek (events)';
+$_lang["role_delete_module"] = 'Module verwijderen';
+$_lang["role_delete_plugin"] = 'Plug-ins verwijderen';
+$_lang["role_delete_role"] = 'Rollen verwijderen';
+$_lang["role_delete_snippet"] = 'Snippets verwijderen';
+$_lang["role_delete_template"] = 'Templates verwijderen';
+$_lang["role_delete_user"] = 'Verwijder manager gebruikers';
+$_lang["role_delete_web_user"] = 'Webgebruikers verwijderen';
+$_lang["role_edit_chunk"] = 'Chunks bewerken';
+$_lang["role_edit_doc"] = 'Een Pagina bewerken';
+$_lang["role_edit_doc_metatags"] = '\'META tags\' en keywords van Pagina bewerken';
+$_lang["role_edit_module"] = 'Module bewerken';
+$_lang["role_edit_plugin"] = 'Plug-ins bewerken';
+$_lang["role_edit_role"] = 'Rollen bewerken';
+$_lang["role_edit_settings"] = 'Website instellingen veranderen';
+$_lang["role_edit_snippet"] = 'Snippets bewerken';
+$_lang["role_edit_template"] = 'Website Templates bewerken';
+$_lang["role_edit_user"] = 'Bewerk manager gebruikers';
+$_lang["role_edit_web_user"] = 'Webgebruikers bewerken';
+$_lang["role_empty_trash"] = 'Verwijderde Pagina\'s permanent verwijderen';
+$_lang["role_errors"] = 'Waarschuwingsvenster weergeven';
+$_lang["role_eventlog_management"] = 'Logboek beheer (events)';
+$_lang["role_export_static"] = 'Exporteer statische HTML';
+$_lang["role_file_management"] = 'Bestandsbeheer';
+$_lang["role_file_manager"] = 'Gebruik bestandsbeheer (volledige toegang)';
+$_lang["role_frames"] = 'Verzoek om Content Management Systeem venster';
+$_lang["role_help"] = 'Help Pagina\'s weergeven';
+$_lang["role_home"] = 'Verzoek om Content Management Systeem Intropagina';
+$_lang["role_import_static"] = 'Importeer HTML';
+$_lang["role_logout"] = 'Afmelden uit de beheerder';
+$_lang["role_manage_metatags"] = 'Beheer \'META tags\' en keywords';
+$_lang["role_management_msg"] = 'Hier kunt u kiezen welke Rol u wenst te wijzigen.';
+$_lang["role_management_title"] = 'Rollen';
+$_lang["role_messages"] = 'Berichten weergeven/versturen';
+$_lang["role_module_management"] = 'Modulebeheer';
+$_lang["role_name"] = 'Naam Rol';
+$_lang["role_new_module"] = 'Nieuwe Module maken';
+$_lang["role_new_role"] = 'Nieuwe Rollen maken';
+$_lang["role_new_user"] = 'Maak nieuwe manager gebruikers aan';
+$_lang["role_new_web_user"] = 'Webgebruikers toevoegen';
+$_lang["role_plugin_management"] = 'Plug-inbeheer';
+$_lang["role_publish_doc"] = 'Pagina\'s publiceren';
+$_lang["role_remove_locks"] = 'Blokkeringen opheffen';
+$_lang["role_role_management"] = 'Rollen';
+$_lang["role_run_module"] = 'Module uitvoeren';
+$_lang["role_save_chunk"] = 'Chunks opslaan';
+$_lang["role_save_doc"] = 'Pagina\'s opslaan';
+$_lang["role_save_module"] = 'Module opslaan';
+$_lang["role_save_password"] = 'Wachtwoord opslaan';
+$_lang["role_save_plugin"] = 'Plug-ins opslaan';
+$_lang["role_save_role"] = 'Rollen opslaan';
+$_lang["role_save_snippet"] = 'Snippets opslaan';
+$_lang["role_save_template"] = 'Templates opslaan';
+$_lang["role_save_user"] = 'Manager gebruikers opslaan';
+$_lang["role_save_web_user"] = 'Webgebruikers opslaan';
+$_lang["role_snippet_management"] = 'Snippetbeheer';
+$_lang["role_template_management"] = 'Templatebeheer';
+$_lang["role_title"] = 'Rol aanmaken/bewerken';
+$_lang["role_udperms"] = 'Toegangsrechtenbeheer';
+$_lang["role_user_management"] = 'Manager gebruikersbeheer';
+$_lang["role_view_docdata"] = 'Paginagegevens weergeven';
+$_lang["role_view_eventlog"] = 'Bekijk logboek (events)';
+$_lang["role_view_logs"] = 'Systeemlogboek weergeven';
+$_lang["role_view_unpublished"] = 'Bekijk niet gepubliceerde Pagina\'s';
+$_lang["role_web_access_persmissions"] = 'Webtoegangsbeheer';
+$_lang["role_web_user_management"] = 'Webgebruikersbeheer';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
+$_lang["rss_url_news_message"] = 'Voer de URL in voor de Nieuws Feed.';
+$_lang["rss_url_news_title"] = 'RSS nieuws feed';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
+$_lang["rss_url_security_message"] = 'Voer de URL in voor de beveiligingsfeed.';
+$_lang["rss_url_security_title"] = 'RSS Beveiliging Feed';
+$_lang["run_module"] = 'Module uitvoeren';
+$_lang["saturday"] = 'Zaterdag';
+$_lang["save"] = 'Opslaan';
+$_lang["save_all_changes"] = 'Bewaar alle wijzigingen';
+$_lang["save_tag"] = 'Tag opslaan';
+$_lang["saving"] = 'Bezig met opslaan, een moment geduld a.u.b...';
+$_lang["search"] = 'Zoeken';
+$_lang["search_criteria"] = 'Zoekcriteria';
+$_lang["search_criteria_content"] = 'Op inhoud zoeken';
+$_lang["search_criteria_content_msg"] = 'Zoek alle Pagina\'s met de ingevoerde tekst in de inhoud.';
+$_lang["search_criteria_id"] = 'Op ID zoeken';
+$_lang["search_criteria_id_msg"] = 'Voer de ID van de Pagina in om de Pagina snel te vinden.';
+$_lang["search_criteria_top"] = 'Zoeken in belangrijkste velden';
+$_lang["search_criteria_top_msg"] = 'Pagetitel, Uitgebreide titel, URL, ID';
+$_lang["search_criteria_template_id"] = 'Op template ID zoeken';
+$_lang["search_criteria_template_id_msg"] = 'Zoek alle pagina\'s die de gekozen template gebruikt.';
+$_lang["search_criteria_url_msg"] = 'Zoek pagina met exacte URL.';
+$_lang["search_criteria_longtitle"] = 'Zoek op uitgebreide titel';
+$_lang["search_criteria_longtitle_msg"] = 'Zoek alle Pagina\'s met de ingevoerde tekst in hun uitgebreide titel.';
+$_lang["search_criteria_title"] = 'Op titel zoeken';
+$_lang["search_criteria_title_msg"] = 'Zoek alle Pagina\'s met de ingevoerde tekst in hun titel.';
+$_lang["search_empty"] = 'Uw zoekopdracht heeft geen resultaten opgeleverd. Verruim uw zoekcriteria en probeer het nogmaals.';
+$_lang["search_item_deleted"] = 'Dit item is verwijderd';
+$_lang["search_results"] = 'Zoekresultaten';
+$_lang["search_results_returned_desc"] = 'Beschrijving';
+$_lang["search_results_returned_id"] = 'ID';
+$_lang["search_results_returned_msg"] = 'Uw zoekcriteria hebben %s Pagina\'s opgeleverd. Als het teveel resultaten heeft opgeleverd, probeer dan een specifiekere zoekopdracht. Met de twee linker kolommen kunt u het bestand in de Website boomstructuur vinden of de Pagina bekijken. De twee meest rechtse kolommen geven aan of een Pagina verwijderd is en wat de publicatiestatus is.
';
+$_lang["search_results_returned_title"] = 'Titel';
+$_lang["search_view_docdata"] = 'Geef dit item weer';
+$_lang["security"] = 'Gebruikers';
+$_lang["security_notices_tab"] = 'Beveiligingswaarschuwingen';
+$_lang["security_notices_title"] = 'Beveiligingswaarschuwingen';
+$_lang["select_date"] = 'Selecteer een datum';
+$_lang["send"] = 'Verzenden';
+$_lang["server_protocol_http"] = 'http';
+$_lang["server_protocol_https"] = 'https';
+$_lang["server_protocol_message"] = 'Geef hier aan of uw website gebruik maakt van een https verbinding.';
+$_lang["server_protocol_title"] = 'Server type';
+$_lang["serveroffset"] = 'Server verschil';
+$_lang["serveroffset_message"] = 'Selecteer hier het aantal uren tijdsverschil tussen uw huidige locatie en de servertijd. De huidige tijd op de server is [%s] , de huidige tijd op de server rekening houdend met het op dit moment opgeslagen tijdsverschil is [%s] .';
+$_lang["serveroffset_title"] = 'Server tijdsverschil';
+$_lang["servertime"] = 'Server tijd';
+$_lang["set_automatic"] = 'Stel in als automatisch';
+$_lang["set_default"] = 'Stel in als standaard';
+$_lang["set_default_all"] = 'Stel standaarden in';
+$_lang["settings_after_install"] = 'Omdat dit een nieuwe installatie is, moet u deze instellingen bekijken en wijzigen waar nodig. Nadat u de instellingen hebt bekeken, drukt u op \'Opslaan\' om de instellingen bij te werken.';
+$_lang["settings_config"] = 'Configuratie';
+$_lang["settings_dependencies"] = 'Afhankelijkheden';
+$_lang["settings_events"] = 'Systeemgebeurtenissen';
+$_lang["settings_furls"] = 'Zoekmachine vriendelijke URL\'s';
+$_lang["settings_general"] = 'Algemeen';
+$_lang["settings_group_tv_message"] = 'Kies of Template Variabelen moeten worden gegroepeerd in secties of tabbladen (benoemd door tv-categorie) bij het bewerken van een pagina';
+$_lang["settings_group_tv_options"] = 'Nee, secties op het tabblad Algemeen, tabbladen op het tabblad Algemeen, secties op nieuw tabblad, tabbladen op nieuw tabblad, nieuwe tabbladen';
+$_lang["settings_misc"] = 'Overige';
+$_lang["settings_security"] = 'Beveiliging';
+$_lang["settings_KC"] = 'Bestandsbrowser';
+$_lang["settings_page_settings"] = 'Pagina instellingen';
+$_lang["settings_photo"] = 'Foto';
+$_lang["settings_properties"] = 'Instellingen';
+$_lang["show_fullscreen_btn_message"] = 'Toon Volledig scherm knop';
+$_lang["show_newresource_btn_message"] = 'Toon Nieuwe pagina knop';
+$_lang["settings_show_picker_message"] = 'Pas het thema van de manager aan en sla op in de lokale opslag';
+$_lang["show_fullscreen_btn"] = 'Volledig scherm switchen';
+$_lang["show_newresource_btn"] = 'Nieuwe pagina knop';
+$_lang["settings_site"] = 'Website';
+$_lang["settings_strip_image_paths_message"] = 'Als dit op \'Nee\' staat zal de bestandsbrowser src\'s (afbeeldingen, bestanden, enz.) als absolute URL\'s worden geplaatst. Relatieve URL\'s zijn handig als u uw installatie wilt verplaatsen, bijvoorbeeld van een demosite naar een productiesite. Als je geen idee hebt wat dit betekent, kun je het het beste gewoon laten staan op \'Ja\'.';
+$_lang["settings_strip_image_paths_title"] = 'Browserpaden herschrijven?';
+$_lang["settings_templvars"] = 'Template Variabelen';
+$_lang["settings_title"] = 'Systeem configuratie';
+$_lang["settings_ui"] = 'Interface & mogelijkheden';
+$_lang["settings_users"] = 'Gebruiker';
+$_lang["show_meta"] = 'Toon META Keywords tab';
+$_lang["show_meta_message"] = 'Toon de verouderde META Keywords tab wanneer Pagina\'s worden aangepast in the Manager.';
+$_lang["show_tree"] = 'Website boomstructuur weergeven';
+$_lang["show_picker"] = 'Toon manager kleurenpalet';
+$_lang["showing"] = 'Weergeven';
+$_lang["signupemail_message"] = 'Hier kunt u het bericht instellen die naar uw gebruikers verstuurd wordt wanneer u voor hun een account heeft aangemaakt en Evolution een e-mail laat sturen met hun gebruikersnaam en wachtwoord. De volgende codes worden door Evolution vervangen als het bericht verstuurd wordt: [+sname+] - naam van uw website, [+saddr+] - e-mail adres van uw website, [+surl+] - adres van de website, [+uid+] - gebruikersnaam of id, [+pwd+] - wachtwoord, [+ufn+] - volledige naam. Laat de [+uid+] en [+pwd+] codes in de e-mail staan, omdat de gebruikersnaam en het wachtwoord anders niet in de e-mail komen te staan en uw gebruikers daardoor hun aanmeldgegevens niet ontvangen! ';
+$_lang["signupemail_title"] = 'Registratie e-mail';
+$_lang["site"] = 'Website';
+$_lang["site_schedule"] = 'Website planning';
+$_lang["sitename_message"] = 'Vul hier de naam van uw website in.';
+$_lang["sitename_title"] = 'Naam website';
+$_lang["sitestart_message"] = 'Vul hier de ID van de Pagina in dat u als startpagina wilt gebruiken. NB: Let op dat dit de ID van een bestaande Pagina is en het tevens gepubliceerd is! ';
+$_lang["sitestart_title"] = 'Startpagina website';
+$_lang["sitestatus_message"] = 'Kies \'Online\' om uw website op het web te publiceren. Als u de optie \'Offline\' selecteerd, dan zullen uw bezoekers de \'Website niet beschikbaar\' bericht te zien krijgen. Ze kunnen uw website dan niet bekijken!';
+$_lang["sitestatus_title"] = 'Website status';
+$_lang["siteunavailable_message"] = 'Dit bericht krijgen Gebruikers te zien als de website offline is of als er een fout mocht optreden. NB: Dit bericht wordt enkel getoond indien de \'Website niet beschikbaar\'-pagina niet is ingesteld .';
+$_lang["siteunavailable_message_default"] = 'Deze website is momenteel niet beschikbaar.';
+$_lang["siteunavailable_page_message"] = 'Geef de ID van de Pagina dat wordt weergegeven wanneer de website niet beschikbaar (offline) is. NB: Let erop dat de ID bestaat en dat de Pagina gepubliceerd is! ';
+$_lang["siteunavailable_page_title"] = 'Website niet beschikbaar pagina';
+$_lang["siteunavailable_title"] = 'Website niet beschikbaar bericht';
+$_lang["snippet"] = 'Snippet';
+$_lang["snippets"] = 'Snippets';
+$_lang["snippet_code"] = 'Snippet code (php)';
+$_lang["snippet_desc"] = 'Beschrijving';
+$_lang["snippet_execonsave"] = 'Snippet uitvoeren na opslaan.';
+$_lang["snippet_management_msg"] = 'Hier kunt u Snippets toevoegen en bewerken.';
+$_lang["snippet_msg"] = 'Snippet toevoegen of bewerken. LET OP, Snippets zijn \'ruwe\' PHP code, en als u verwacht dat de output van de Snippet op een specifiek punt binnen uw Template wordt getoond, dient u een waarde te retourneren binnen deze Snippet.';
+$_lang["snippet_name"] = 'Naam Snippet';
+$_lang["snippet_properties"] = 'Standaard instellingen';
+$_lang["snippet_title"] = 'Maak/wijzig Snippet';
+$_lang["sort_alphabetically"] = 'Sorteer alfabetisch';
+$_lang["sort_asc"] = 'Oplopend';
+$_lang["sort_desc"] = 'Aflopend';
+$_lang["sort_menuindex"] = 'Sorteer menu index';
+$_lang["sort_tree"] = 'Sorteer de Website boomstructuur';
+$_lang['sort_updating'] = 'Bijwerken ...';
+$_lang['sort_updated'] = 'Bijgewerkt!';
+$_lang['sort_nochildren'] = 'Deze map bevat geen subpagina\'s.';
+$_lang["sort_elements_msg"] = 'Versleep om de volgorde van de getoonde elementen te veranderen.';
+$_lang["source"] = 'Bron';
+$_lang["stay"] = 'Doorgaan met bewerken';
+$_lang["stay_new"] = 'Nog één toevoegen';
+$_lang["submit"] = 'Verzenden';
+$_lang["sunday"] = 'Zondag';
+$_lang["sys_alert"] = 'Systeem waarschuwing';
+$_lang["sysinfo_activity_message"] = 'Deze lijst toont de Pagina\'s die recent door uw Gebruikers werden gewijzigd.';
+$_lang["sysinfo_userid"] = 'Gebruiker';
+$_lang["system"] = 'Systeem';
+$_lang["system_email_signup"] = '
+
+Hallo [+uid+]
+
+Hier zijn uw inloggegevens voor [+sname+] Content Manager:
+
+Gebruikersnaam: [+uid+]
+Wachtwoord: [+pwd+]
+
+Zodra u zich aanmeldt bij Content Manager ([+surl+]), kunt u uw wachtwoord wijzigen.
+
+Met vriendelijke groet,
+Website Admin
+';
+$_lang["system_email_webreminder"] = 'Hallo [+uid+]
+
+Klik op de volgende link om uw nieuwe wachtwoord te activeren:
+
+[+surl+]
+
+Als dit lukt, kunt u het volgende wachtwoord gebruiken om in te loggen:
+
+Wachtwoord:[+pwd+]
+
+Als u deze e-mail niet heeft aangevraagd, negeert u deze.
+
+Met vriendelijke groet,
+Website Admin';
+$_lang["system_email_websignup"] = 'Hallo [+uid+]
+
+Hier zijn uw inloggegevens voor [+sname+]:
+
+Gebruikersnaam: [+uid+]
+Wachtwoord: [+pwd+]
+
+Nadat u zich hebt aangemeld bij [+sname+] ([+surl+]), kunt u uw wachtwoord wijzigen.
+
+Met vriendelijke groet,
+Website Admin';
+$_lang["table_hoverinfo"] = 'Beweeg de muiscursor over een tabelnaam om een korte beschrijving te zien van de funktie van de tabel (niet voor alle tabellen is informatie beschikbaar).';
+$_lang["table_prefix"] = 'Tabel voorvoegsel (prefix)';
+$_lang["tag"] = 'Tag';
+$_lang["template"] = 'Template';
+$_lang["templates"] = 'Templates';
+$_lang["template_assignedtv_tab"] = 'Toegekende Template Variabelen';
+$_lang["template_code"] = 'Template code (html)';
+$_lang["template_desc"] = 'Beschrijving';
+$_lang["template_edit_tab"] = 'Wijzig Template';
+$_lang["template_management_msg"] = 'Hier kunt u Templates toevoegen en bewerken.';
+$_lang["template_msg"] = 'Template toevoegen of bewerken. Gewijzigde/nieuwe Templates zullen niet zichtbaar zijn in de gecachte Pagina\'s van uw website totdat de cache is leeggemaakt. U kunt echter de voorbeeldfunctie op een Pagina gebruiken om de Template te bekijken.';
+$_lang["template_name"] = 'Naam Template';
+$_lang["template_no_tv"] = 'Er zijn nog geen Template Variabelen aan deze Template toegewezen.';
+$_lang["template_notassigned_tv"] = 'Deze Template variabelen zijn beschikbaar voor het toewijzen.';
+$_lang["template_reset_all"] = 'Geef alle Pagina\'s het standaard Template';
+$_lang["template_reset_specific"] = 'Geef alleen \'%s\' Pagina\'s het standaard Template:';
+$_lang["template_selectable"] = 'Template selecteerbaar bij aanmaken of aanpassen van pagina\'s';
+$_lang["template_title"] = 'Maak/wijzig Template';
+$_lang["template_tv_edit"] = 'Wijzig TV sorteer volgorde';
+$_lang["template_tv_edit_message"] = 'Versleep om de volgorde van de Template Variabelen van deze Template te veranderen.';
+$_lang["template_tv_edit_title"] = 'Template Variabele volgorde';
+$_lang["template_tv_msg"] = 'De aan deze Template toegewezen Template Variabelen staan hieronder vermeld.';
+$_lang["thursday"] = 'Donderdag';
+$_lang["tmplvar_access_msg"] = 'Selecteer de Paginagroepen die de inhoud van deze Template Variabele mogen aanpassen';
+$_lang["tmplvar_change_template_msg"] = 'Door het aanpassen van deze Template zal deze Pagina de Template Variabelen opnieuw moeten inlezen. Alle niet opgeslagen veranderingen zullen verloren gaan.\n\n Weet u zeker dat u deze Template aan wilt passen?';
+$_lang["tmplvar_inuse"] = 'De volgende Pagina\'s gebruiken deze Template Variabele. Om door te gaan met het verwijderen van de Template Variabele klik op de knop Verwijderen, anders klik op Annuleren.';
+$_lang["tmplvar_tmpl_access"] = 'Template toegang';
+$_lang["tmplvar_tmpl_access_msg"] = 'Selecteer de Templates die deze Template Variabele mogen gebruiken';
+$_lang["tmplvar"] = 'Template Variabele';
+$_lang["tmplvars"] = 'Template Variabelen';
+$_lang["tmplvars_binding_msg"] = 'Dit veld ondersteund data bron verbindingen met behulp van @ commando\'s';
+$_lang["tmplvars_caption"] = 'Titel';
+$_lang["tmplvars_default"] = 'Standaard waarde';
+$_lang["tmplvars_description"] = 'Beschrijving';
+$_lang["tmplvars_elements"] = 'Invoer optie waarden';
+$_lang["tmplvars_inherited"] = 'Geërfde waarde';
+$_lang["tmplvars_management_msg"] = 'Beheer extra eigen content velden (Template Variabelen) voor uw Pagina\'s.';
+$_lang["tmplvars_msg"] = 'Template Variabelen toevoegen of bewerken. De Template Variabelen moeten aan een Template toegekend worden om ze vanuit Snippets en Pagina\'s te kunnen benaderen net als andere content Variabelen.';
+$_lang["tmplvars_name"] = 'Template Variabele naam';
+$_lang["tmplvars_novars"] = 'Geen Template Variabelen gevonden.';
+$_lang["tmplvars_rank"] = 'Sorteer volgorde';
+$_lang["tmplvars_rank_edit_message"] = 'Versleep om volgorde van de Template variabelen aan te passen.';
+$_lang["tmplvars_reset_params"] = 'Herstel parameters';
+$_lang["tmplvars_title"] = 'Template Variable aanmaken/aanpassen';
+$_lang["tmplvars_type"] = 'Invoer type';
+$_lang["tmplvars_widget"] = 'Widget';
+$_lang["tmplvars_widget_prop"] = 'Widget instellingen';
+$_lang["to"] = 'naar';
+$_lang["toggle_fullscreen"] = 'Volledig scherm switchen';
+$_lang["tools"] = 'Beheer';
+$_lang["top_howmany_message"] = 'Wanneer u de statistieken bekijkt, hoe lang wilt u de \'Top ...\' lijst hebben?';
+$_lang["top_howmany_title"] = 'Toon aantal statistieken';
+$_lang["total"] = 'totaal';
+$_lang["track_visitors_message"] = 'Vink aan om de onderliggende bronnen in de documentenstructuur weer te geven';
+$_lang["track_visitors_title"] = 'Toon onderliggende pagina\'s';
+$_lang["tree_page_click"] = 'Pagina klik gedrag';
+$_lang["tree_page_click_message"] = 'Het standaard gedrag bij het klikken op een pagina in de boomstructuur.';
+$_lang["use_breadcrumbs"] = 'Toon navigatie';
+$_lang["use_breadcrumbs_message"] = 'Toon de navigatie bij het maken of bewerken van pagina\'s in de Manager';
+$_lang["tree_show_protected"] = 'Toon beschermde pagina\'s';
+$_lang["tree_show_protected_message"] = 'Wanneer ingesteld op "Nee", worden beschermde bronnen (en al hun onderliggende bronnen) niet weergegeven in de boomstructuur.';
+$_lang["truncate_table"] = 'Klik hier om deze tabel in te korten';
+$_lang["tuesday"] = 'Dinsdag';
+$_lang["tv"] = 'TV';
+$_lang["type"] = 'Soort';
+$_lang["udperms_allowroot_message"] = 'Sta Gebruikers toe om nieuwe Pagina\'s en Mappen in de \'root\' (basismap) van de website te maken.';
+$_lang["udperms_allowroot_title"] = 'Rootmap toestaan';
+$_lang["udperms_message"] = 'Beïnvloed toegangsrechten tot Pagina\'s via Gebruikersgroepen en Paginagroepen.';
+$_lang["udperms_title"] = 'Toegangsrechten gebruiken';
+$_lang["unable_set_link"] = 'Niet mogelijk de link te maken!';
+$_lang["unable_set_parent"] = 'Het Hoofdpagina kon niet worden aangemaakt!';
+$_lang["unauthorizedpage_message"] = 'Voer een gepubliceerde en publiek toegankelijke Pagina ID in waarnaar Gebruikers worden doorgestuurd wanneer ze een beveiligde/ongeautoriseerde Pagina opvragen.';
+$_lang["unauthorizedpage_title"] = 'Geen toegang pagina';
+$_lang["unblock_message"] = 'Deze Gebruiker zal niet geblokkeerd zijn na het opslaan van zijn Gebruikersgegevens.';
+$_lang["undelete_resource"] = 'Herstel Pagina';
+$_lang["unpublish_date"] = 'Niet-publiceren datum';
+$_lang["unpublish_events"] = 'Niet-publiceren gebeurtenissen';
+$_lang["unpublish_resource"] = 'Publicatie ongedaan maken';
+$_lang["untitled_resource"] = 'Naamloze Pagina';
+$_lang["untitled_weblink"] = 'Naamloze Weblink';
+$_lang["update_params"] = 'Parameter weergave bijwerken';
+$_lang["update_settings_from_language"] = 'Vervangen met';
+$_lang["upload_maxsize_message"] = 'Voer de maximale bestandsgrootte in voor bestanden die via Bestandsbeheer geupload kunnen worden. De bestandsgrootte wordt opgegeven in bytes. NB: Het kan enige tijd duren om grote bestanden te uploaden! ';
+$_lang["upload_maxsize_title"] = 'Maximale upload bestandsgrootte';
+$_lang["uploadable_files_message"] = 'Hier kunt u een lijst van bestanden opgeven die geupload kunnen worden naar \'assets/files/\' vanuit Bestandsbeheer. Voer de bestandsextensies in, gescheiden door een komma. ';
+$_lang["uploadable_files_title"] = 'Uploadbare bestandstypes';
+$_lang["uploadable_flash_message"] = 'Hier kunt u een lijst van bestanden opgeven die geupload kunnen worden naar \'assets/flash/\' vanuit Bestandsbeheer. Voer de bestandsextensies in voor de Flash types, van elkaar gescheiden door een komma. ';
+$_lang["uploadable_flash_title"] = 'Uploadbare Flash bestandstypes';
+$_lang["uploadable_images_message"] = 'Hier kunt u een lijst van bestanden opgeven die ge-upload kunnen worden naar \'assets/images/\' vanuit Bestandsbeheer. Voer de bestandsextensies in voor de Afbeelding types, van elkaar gescheiden door een komma. ';
+$_lang["uploadable_images_title"] = 'Uploadbare afbeelding bestandstypes';
+$_lang["uploadable_media_message"] = 'Hier kunt u een lijst van bestanden opgeven die ge-upload kunnen worden naar \'assets/media/\' vanuit Bestandsbeheer. Voer de bestandsextensies in voor de media types, van elkaar gescheiden door een komma. ';
+$_lang["uploadable_media_title"] = 'Uploadbare Media bestandstypes';
+$_lang["use_alias_path_message"] = 'Door \'Ja\' te selecteren wordt er een virtueel pad gegenereerd naar de Pagina. Bijvoorbeeld, als een Pagina "kind.html" in de Container "ouder" staat, dan wordt de volledige zoekmachine vriendelijke URL "/ouder/kind.html".';
+$_lang["use_alias_path_title"] = 'Gebruik gebruiksvriendelijke alias paden';
+$_lang["use_editor_message"] = 'Bewerken met de geavanceerde teksteditor aanzetten. Deze setting geld voor alle Pagina\'s, maar kan worden overschreven in de instellingen van de Gebruiker.';
+$_lang["use_editor_title"] = 'Teksteditor aan/uitzetten';
+$_lang["use_global_tabs"] = 'Gebruik de algemene tabbladen';
+$_lang["user"] = 'Gebruiker';
+$_lang["user_block"] = 'Geblokkeerd';
+$_lang["user_blockedafter"] = 'Geblokkeerd na';
+$_lang["user_blockeduntil"] = 'Geblokkeerd tot';
+$_lang["user_changeddata"] = 'Uw gegevens zijn gewijzigd. A.u.b. opnieuw aanmelden.';
+$_lang["user_country"] = 'Land';
+$_lang["user_dob"] = 'Geboortedatum';
+$_lang["user_doesnt_exist"] = 'Gebruiker bestaat niet';
+$_lang["user_edit_self_msg"] = 'Wellicht dient u na het opslaan eerst af te melden en dan weer aan te melden om uw gegevens volledig te actualiseren. Nieuwe wachtwoorden worden via e-mail toegezonden of op het scherm getoond.';
+$_lang["user_email"] = 'E-mail adres';
+$_lang["user_failedlogincount"] = 'Aantal mislukte aanmeldpogingen';
+$_lang["user_fax"] = 'Fax';
+$_lang["user_female"] = 'Vrouw';
+$_lang["user_full_name"] = 'Volledige naam';
+$_lang["user_gender"] = 'Geslacht';
+$_lang["user_is_blocked"] = 'Deze Gebruiker is geblokkeerd!';
+$_lang["user_logincount"] = 'Aantal keren aangemeld';
+$_lang["user_male"] = 'Man';
+$_lang["user_management_msg"] = 'Hier kunt u Gebruikers toevoegen en bewerken.';
+$_lang["user_management_title"] = 'Gebruikers beheren';
+$_lang["user_mobile"] = 'Mobiel telefoonnummer';
+$_lang["user_phone"] = 'Telefoonnummer';
+$_lang["user_photo"] = 'Pasfoto';
+$_lang["user_photo_message"] = 'Voer een url voor de foto van deze Gebruiker in of gebruik de \'Invoegen\' knop om een foto te selecteren of te uploaden.';
+$_lang["user_prevlogin"] = 'Laatste keer aangemeld';
+$_lang["user_role"] = 'Rol';
+$_lang["user_state"] = 'Provincie';
+$_lang["user_title"] = 'Manager gebruiker creëren/bewerken';
+$_lang["user_upload_message"] = 'Als u wilt voorkomen dat deze Gebruiker bestanden in deze categorie kan uploaden, Zorg dan dat \'Gebruik Systeem Configuratie Instellingen\' niet is aangevinkt en laat het veld leeg.';
+$_lang["user_use_config"] = 'Gebruik Systeem Configuratie Instellingen';
+$_lang["user_zip"] = 'Postcode';
+$_lang["username"] = 'Gebruikersnaam';
+$_lang["users"] = 'Gebruikers';
+$_lang["valid_hostnames_message"] = 'Help XSS exploits misbruik te voorkomen met de systeem instelling site_url door een komma gescheiden lijst van geldige hostnamen voor deze installatie te gebruiken. Dit is belangrijk voor bepaalde typen gedeelde hosts of hosts rechtstreeks via een IP-adres te benaderen. De eerste hostnaam in de lijst wordt gebruikt als de HTTP_HOST wanneer deze niet overeenkomt met een geldige hostnaam.';
+$_lang["valid_hostnames_title"] = 'Geldige hostnamen';
+$_lang["validate_referer_message"] = 'Valideer de HTTP_REFERER headers om het risico te verkleinen dat uw website beheerders bedonderd worden door een CSRF (Cross Site Request Forgery) aanval. Soms is dit echter niet mogelijk als uw server geen HTTP_REFERER headers verzend.';
+$_lang["validate_referer_title"] = 'Valideer HTTP_REFERER headers';
+$_lang["value"] = 'Waarde';
+$_lang["version"] = 'Versie';
+$_lang["view"] = 'Bekijken';
+$_lang["view_child_resources_in_container"] = 'Bekijk Subpagina\'s in Map';
+$_lang["view_log"] = 'Bekijk logboek';
+$_lang["view_logging"] = 'CMS logboek';
+$_lang["view_sysinfo"] = 'Systeem Info';
+$_lang["warning"] = 'Waarschuwing!';
+$_lang["warning_not_saved"] = 'U heeft de wijzigingen nog niet opgeslagen! U kunt op deze Pagina blijven om de wijzigingen op te slaan (\'Annuleren\'), of u kunt deze Pagina verlaten, waardoor eventuele wijzigingen verloren gaan (\'OK\').';
+$_lang["warning_visibility"] = 'Configuratie meldingen zichtbaar voor';
+$_lang["warning_visibility_message"] = 'Bepaal de zichtbaarheid van de waarschuwingen op de Manager welkoms pagina';
+$_lang["web_access_permissions"] = 'Webgebruiker toegangsrechten';
+$_lang["web_access_permissions_user_groups"] = 'Webgebruikers groepen';
+$_lang["web_permissions"] = 'Toegangsbeheer (web)';
+$_lang["web_user_management_msg"] = 'Hier kunt u kiezen welke Webgebruiker u wilt bewerken. Webgebruikers zijn Gebruikers die alleen op de website kunnen aanmelden (en dus niet op het Content Management Systeem)';
+$_lang["web_user_management_title"] = 'Webgebruikers';
+$_lang["web_user_title"] = 'Aanmaken/bewerken Webgebruiker';
+$_lang["web_users"] = 'Webgebruikers';
+$_lang["weblink"] = 'Weblink';
+$_lang["webpwdreminder_message"] = 'Hier kunt u de boodschap instellen die naar uw gebruikers verstuurd wordt als zij een nieuw wachtwoord aanvragen per e-mail. Evolution zal een e-mail sturen met het nieuwe wachtwoord en activeringsinformatie. De volgende codes worden door Evolution vervangen als het bericht verstuurd wordt: [+sname+] - naam van uw website, [+saddr+] - e-mail adres van uw website, [+surl+] - adres van de website, [+uid+] - aanmeld naam of id, [+pwd+] - wachtwoord, [+ufn+] - volledige naam. Laat de [+uid+] en [+pwd+] codes in de e-mail staan, omdat de gebruikersnaam en het wachtwoord anders niet in de e-mail komen te staan en uw gebruikers daardoor hun aanmeld gegevens niet ontvangen! ';
+$_lang["webpwdreminder_title"] = 'Herinnering e-mailadres';
+$_lang["websignupemail_message"] = 'Hier kunt u de boodschap instellen die naar uw gebruikers verstuurd wordt wanneer u voor hen een web account heeft aangemaakt en Evolution een e-mail laat sturen met hun gebruikersnaam en wachtwoord. De volgende codes worden door Evolution vervangen als het bericht verstuurd wordt: [+sname+] - naam van uw website, [+saddr+] - e-mail adres van uw website, [+surl+] - adres van de website, [+uid+] - aanmeld naam of id, [+pwd+] - wachtwoord, [+ufn+] - volledige naam. Laat de [+uid+] en [+pwd+] codes in de e-mail staan, omdat de gebruikersnaam en het wachtwoord anders niet in de e-mail komen te staan en uw gebruikers daardoor hun aanmeld gegevens niet ontvangen! ';
+$_lang["websignupemail_title"] = 'Bevestiging e-mail bij aanmelding: (Webgebruiker)';
+$_lang["wednesday"] = 'Woensdag';
+$_lang["welcome_messages"] = 'In uw inbox staan %d bericht(en), waarvan %s ongelezen.';
+$_lang["welcome_title"] = 'Welkom bij uw Evolution CMS Content Manager';
+$_lang["which_editor_message"] = 'Selecteer uw Texteditor (RTE). U kunt extra RTE\'s downloaden en installeren vanaf de downloadpagina.';
+$_lang["which_editor_title"] = 'Kies uw teksteditor';
+$_lang["working"] = 'Wordt verwerkt...';
+$_lang["wrap_lines"] = 'Regels afbreken';
+$_lang["xhtml_urls_message"] = 'Vervangt ampersand (&) tekens in urls die worden gegenereerd door EVO met de validatie & htmlentity';
+$_lang["xhtml_urls_title"] = 'XHTML URL\'s';
+$_lang["yes"] = 'Ja';
+$_lang["you_got_mail"] = 'U heeft een nieuw bericht';
+$_lang["yourinfo_message"] = 'In deze sectie wordt uw persoonlijke informatie weergegeven:';
+$_lang["yourinfo_previous_login"] = 'De laatste keer dat u zich heeft aangemeld:';
+$_lang["yourinfo_role"] = 'Uw rol is:';
+$_lang["yourinfo_title"] = 'Uw info';
+$_lang["yourinfo_total_logins"] = 'Aantal keer aangemeld:';
+$_lang["yourinfo_username"] = 'U bent aangemeld als:';
+
+$_lang["a17_error_reporting_title"] = 'Detectie level van de PHP foutmelding';
+$_lang["a17_error_reporting_msg"] = 'Bepaal het level van de PHP foutmelding.';
+$_lang["a17_error_reporting_opt0"] = 'Negeer alle';
+$_lang["a17_error_reporting_opt1"] = 'Negeer de waarschuwing van een melding met laag niveau (deprecated )';
+$_lang["a17_error_reporting_opt2"] = 'Detecteer alle foutmeldingen behalve E_NOTICE';
+$_lang["a17_error_reporting_opt99"] = 'Detecteer alle';
+
+$_lang["pwd_hash_algo_title"] = 'Hash algoritme';
+$_lang["pwd_hash_algo_message"] = 'Wachtwoord hash algoritme.';
+
+$_lang["enable_bindings_title"] = '@Bindings commando\'s aanzetten';
+$_lang["enable_bindings_message"] = 'Voorkom het uitvoeren van PHP-functies via TV @Bindings. Handig wanneer u Manager gebruikers heeft die niet PHP-code kunnen creëren, maar wel in staat zijn om TV\'s te maken of te bewerken. Het tonen van een TV met een @Binding zal worden uitgeschakeld.';
+$_lang["enable_filter_title"] = 'Filters aanzetten';
+$_lang["enable_filter_message"] = 'Filters kunt u manipuleren van de manier waarop gegevens worden gepresenteerd of geparsed in een tag. Ze laten u waarden wijzigen vanuit uw Template. Dit is gelijk aan PHx. Meer info '; // todo: change link to documentation
+$_lang["enable_filter_phx_warning"] = 'Wanneer de PHx plugin is ingeschakeld staan de ingebouwde filters standaard uitgeschakeld';
+
+$_lang["enable_filter_phx_warning"] = 'Wanneer de PHx plugin is ingeschakeld staan de ingebouwde filters standaard uitgeschakeld';
+
+$_lang["enable_at_syntax_title"] = '<@SYNTAX> aanzetten';
+$_lang["enable_at_syntax_message"] = '<@SYNTAX> is een eenvoudig en lichtgewicht. Dit is ontworpen om mede-existentie met HTML-tags en inhoudstrings te overwegen.';
+
+$_lang["bkmgr_alert_mkdir"] = 'Een bestand kan niet worden gemaakt in een directory. Kijk wat de toestemming (permission) is van [+snapshot_path+]';
+$_lang["bkmgr_restore_msg"] = 'Een website kan worden hersteld door het gebruik van een SQL bestand.
';
+$_lang["bkmgr_restore_title"] = 'Herstellen';
+$_lang["bkmgr_import_ok"] = 'SQL herstel is op de Standaard manier uitgevoerd.';
+$_lang["bkmgr_snapshot_ok"] = 'De snapshot is als Standaard opgeslagen.';
+$_lang["bkmgr_run_sql_file_label"] = 'Uitvoeren door SQL bestand';
+$_lang["bkmgr_run_sql_direct_label"] = 'Direct uitvoeren van SQL commando strings';
+$_lang["bkmgr_run_sql_submit"] = 'Herstellen uitvoeren';
+$_lang["bkmgr_run_sql_result"] = 'Resultaat';
+$_lang["bkmgr_snapshot_title"] = 'Snapshot opgeslagen en hersteld';
+$_lang["bkmgr_snapshot_msg"] = 'De inhoud van de database is opgeslagen en hersteld op de server. Opgeslagen locatie: [+snapshot_path+] ($modx->config[\'snapshot_path\'])
';
+$_lang["bkmgr_snapshot_submit"] = 'Snapshot toevoegen';
+$_lang["bkmgr_snapshot_list_title"] = 'Lijst van Snapshots';
+$_lang["bkmgr_restore_submit"] = 'Deze gegevens (data) terugzetten';
+$_lang["bkmgr_restore_confirm"] = 'Weet je zeker dat je backup\n[+filename+] wilt terugzetten?';
+$_lang["bkmgr_snapshot_nothing"] = 'Geen Snapshot';
+
+$_lang["files.dynamic.php1"] = 'Maak tekstbestand aan';
+$_lang["files.dynamic.php2"] = 'Deze locatie kan niet worden getoond.';
+$_lang["files.dynamic.php3"] = 'Er is een probleem in een bestandsnaam.';
+$_lang["files.dynamic.php4"] = 'Het tekstbestand is gemaakt.';
+$_lang["files.dynamic.php5"] = 'Bestand kan niet worden gedupliceerd.';
+$_lang["files.dynamic.php6"] = 'Bestand of map kan niet worden hernoemd.';
+$_lang["files_dynamic_new_folder_name"] = 'Voeg een nieuwe map naam toe:';
+$_lang["files_dynamic_new_file_name"] = 'Voeg een nieuwe bestandsnaam toe:';
+$_lang["not_readable_dir"] = 'Deze locatie kan niet gelezen worden.';
+$_lang["confirm_delete_dir"] = 'Weet u zeker dat u deze locatie wilt verwijderen?';
+$_lang["confirm_delete_dir_recursive"] = 'Weet u zeker dat u de locatie wilt verwijderen? \ N \ nAlle onderliggende bestanden worden ook verwijderd.';
+
+$_lang["make_folders_title"] = 'Voeg eind slash toe aan de URL';
+$_lang["make_folders_message"] = 'Een slash toevoegen aan Pagina\'s die als mappen worden gebruikt wanneer u gebruik maakt van FURLs.';
+
+$_lang["check_files_onlogin_title"] = 'Bekijk Core bestanden bij inloggen';
+$_lang["check_files_onlogin_message"] = 'Door deze optie in te schakelen, worden belangrijke systeembestanden gecontroleerd op aanpassingen die kenmerkend zijn voor gescripte website-aanvallen. Hoewel het geen garantie is, kan het u waarschuwen voor een aangetast systeembestand en website.';
+
+$_lang["configcheck_sysfiles_mod"] = 'Belangrijke Systeem bestanden zijn aangepast!';
+$_lang["configcheck_sysfiles_mod_msg"] = 'U hebt EVO geconfigureerd om belangrijke systeembestanden te controleren op mogelijke website-scriptaanvallen. Deze waarschuwing betekent niet noodzakelijk dat uw site is gehackt, maar u moet de gecontroleerde bestanden in uw installatie bekijken (ingesteld in Systeemconfiguratie -> Gebruiker -> Controleer kernbestanden bij inloggen). Als u merkt dat uw bestanden ongewijzigd blijven of wijzigingen zijn aangebracht door sitebeheerders, gaat u naar Systeemconfiguratie en klikt u op om instellingen opnieuw op te slaan om dit bericht te sluiten. Wijzigingen in de volgende bestanden zijn gevonden:';
+
+$_lang['email_method_title'] = 'Sendmail methode';
+$_lang['email_method_mail'] = 'mail() PHP functie';
+$_lang['email_method_smtp'] = 'SMTP Server';
+$_lang['smtp_auth_title'] = 'SMTP-AUTH';
+$_lang['smtp_host_title'] = 'SMTP host';
+$_lang['smtp_secure_title'] = 'Gecodeerde SMTP';
+$_lang['smtp_username_title'] = 'SMTP gebruikersnaam';
+$_lang['smtp_password_title'] = 'SMTP wachtwoord';
+$_lang['smtp_port_title'] = 'SMTP poort';
+
+$_lang["setting_resource_tree_node_name"] = 'De hoofdnaam van de boomstructuur';
+$_lang["setting_resource_tree_node_name_desc"] = 'Specificeer het paginaveld om gebruik te maken van de hoofdnaam in de boomstructuur bij het renderen. Standaard staat deze op Pagina Titel, hoewel elk Pagina veld kan worden gebruikt, zoals menutitel en alias.';
+$_lang["setting_resource_tree_node_name_desc_add"] = 'Opmerking: U kunt deze weergavenaam wijzigen in de sorteeroptie van de boomstructuur. Deze instelling wordt gebruikt wanneer Display Name in boomstructuur is ingesteld op Standaard.';
+
+$_lang["resource_opt_alvisibled"] = 'Gebruik huidige alias als alias pad';
+$_lang["resource_opt_alvisibled_help"] = 'The alias of this Resource is inserted in Friendly URL alias path';
+$_lang['resource_opt_is_published'] = 'Gepubliceerd';
+$_lang["docid_incrmnt_method_title"] = 'Optel methode pagina ID';
+$_lang["docid_incrmnt_method_0"] = 'DB auto increment';
+$_lang["docid_incrmnt_method_1"] = 'Minimaal aantal gemiste ID';
+$_lang["docid_incrmnt_method_2"] = 'Maximaal ID+1';
+
+$_lang["enable_cache_title"] = 'Document caching';
+$_lang["disabled_at_login"] = 'Uitgeschakeld bij inloggen';
+
+$_lang["cache_type_title"] = 'Document cache type';
+$_lang["cache_type_1"] = 'Cache is gebaseerd op document id (standaard)';
+$_lang["cache_type_2"] = 'Cache is gebaseerd op document id en $_GET parameters';
+$_lang["seostrict_title"] = 'Gebruik SEO Strict URLs';
+$_lang["seostrict_message"] = 'Gebruik van strikte URL\'s om dubbele inhoud te voorkomen (wanneer dit plaatsvindt)';
+$_lang["aliaslistingfolder_title"] = 'Gebruik AliasListing alleen bij mappen';
+$_lang["aliaslistingfolder_message"] = 'Vermindert het geheugengebruik wanneer de site veel pagina\'s heeft';
+
+$_lang["settings_friendlyurls_alert"] = 'Het is noodzakelijk om het ht.access bestand in de EVO-installatiemap naar .htaccess te hernoemen voor het gebruik van de Friendly URL-functie.';
+$_lang["settings_friendlyurls_alert2"] = 'Omdat EVO in een submap is geïnstalleerd, is het noodzakelijk om de inhoud van .htaccess te wijzigen.';
+
+$_lang["user_street"] = 'Adres';
+$_lang["user_city"] = 'Stad';
+$_lang["user_other"] = 'Anders';
+
+$_lang["import_site.static.php1"] = 'Herstel boomstructuur';
+$_lang["import_site.static.php2"] = 'Herstel de boomstructuur, alle ID\'s zijn geïnitialiseerd.';
+$_lang["import_site.static.php3"] = 'Doel';
+$_lang["import_site.static.php4"] = 'alleen <body></body> ';
+$_lang["import_site.static.php5"] = 'Bestand bevat alle';
+
+$_lang["a83_ignore_ids_title"] = 'Negeer ID\'s (komma gescheiden)';
+$_lang["export_site.static.php1"] = 'Doel';
+$_lang["export_site.static.php2"] = 'Alleen aangepaste/bewerkte pagina\'s';
+$_lang["export_site.static.php3"] = 'Alle pagina\'s';
+$_lang["export_site.static.php4"] = 'Vervang string (voor)';
+$_lang["export_site.static.php5"] = 'Vervang string (na)';
+$_lang["export_site.static.php6"] = 'Doel';
+$_lang["export_site.static.php7"] = 'Bestanden kunnen niet worden aangepast naar [+rb_base_url+]';
+
+$_lang["mutate_settings.dynamic.php6"] = 'Verzend e-mail bij fouten';
+$_lang["mutate_settings.dynamic.php7"] = 'not notify';
+$_lang["mutate_settings.dynamic.php8"] = 'Een e-mail met de foutbron wordt verzonden naar [(emailsender)] ([+emailsender+]) als er een fout optreedt. De details van de fout zijn te zien in het gebeurtenissenlogboek van de manager.';
+
+$_lang["error_no_privileges"] = "Je hebt niet genoeg rechten hebt voor deze actie!";
+$_lang["error_no_optimise_tablename"] = "Tabel optimaliseren niet gevonden in aanvraag!";
+$_lang["error_no_truncate_tablename"] = "Tabel voor truncate niet gevonden!";
+$_lang["error_double_action"] = "Dubbele actie (GET & POST) geplaatst!";
+$_lang["error_no_id"] = "Document ID niet doorgegeven in aanvraag!";
+$_lang["error_id_nan"] = "Doorgegeven ID is NaN!";
+$_lang["error_no_parent"] = "Kon naam bovenliggende document niet vinden!";
+$_lang["error_many_results"] = "Te veel resultaten uit de database!";
+$_lang["error_no_results"] = "Te weinig / geen resultaten terug van database!";
+$_lang["error_no_user_selected"] = "Geen gebruiker geselecteerd als ontvanger van dit bericht!";
+$_lang["error_no_group_selected"] = "Geen groep geselecteerd als ontvanger van dit bericht!";
+$_lang["error_movedocument1"] = "Document kan niet zijn eigen onderliggende document zijn!";
+$_lang["error_movedocument2"] = "Document ID niet doorgegeven in aanvraag!";
+$_lang["error_movedocument3"] = "Nieuwe onderliggende document niet in aanvraag!";
+$_lang["error_internet_connection"] = "Server is niet beschikbaar. Controleer je internetverbinding!";
+
+$_lang["login_processor_unknown_user"] = "Onjuiste gebruikersnaam of wachtwoord ingevoerd!";
+$_lang["login_processor_wrong_password"] = "Onjuiste gebruikersnaam of wachtwoord ingevoerd!";
+$_lang["login_processor_many_failed_logins"] = "Wegens te veel mislukte aanmeldingen ben je geblokkeerd!";
+$_lang["login_processor_blocked1"] = "U bent geblokkeerd en kan niet inloggen!";
+$_lang["login_processor_blocked2"] = "U bent geblokkeerd en kan niet inloggen! Probeer het later opnieuw.";
+$_lang["login_processor_blocked3"] = "U wordt automatisch geblokkeerd na een bepaalde datum en kunt niet meer inloggen!";
+$_lang["login_processor_bad_code"] = "De veiligheidscode klopt niet! Probeer het opnieuw!";
+$_lang["login_processor_remotehost_ip"] = "Uw hostnaam verwijst niet terug naar uw IP!";
+$_lang["login_processor_remote_ip"] = "Het is niet toegestaan om in te loggen vanaf deze locatie.";
+$_lang["login_processor_date"] = "Het is niet toegestaan om in te loggen op dit moment. Probeer het later opnieuw.";
+$_lang["login_processor_captcha_config"] = "Captcha is niet correct geconfigureerd.";
+
+$_lang["dp_dayNames"] = "['Zondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag']";
+$_lang["dp_monthNames"] = "['Januari', 'Februari', 'Maart', 'April', 'Mei', 'Juni', 'Juli', 'Augustus', 'September', 'Oktober', 'November', 'December']";
+$_lang["dp_startDay"] = "1";
+
+$_lang["check_all"] = "Selecteer alle";
+$_lang["check_none"] = "Deselecteer alle";
+$_lang["check_toggle"] = "Selectie aan/uit";
+
+$_lang["version_notices"] = "Meldingen over versies";
+
+$_lang["em_button_shift"] = "(Shift+muiseklik om meerdere vensters te openen)";
+
+$_lang["reset_sysfiles_checksum_button"] = "Heropbouw Checksums";
+$_lang["reset_sysfiles_checksum_alert"] = "Weet u zeker dat u de systeembestanden checksums wil resetten?";
+
+$_lang["file_browser_disabled_msg"] = "De Bestandsbrowser custom optie staat niet aangeschakeld.";
+$_lang["which_browser_default_title"]= "Standaard bestandsbrowser";
+$_lang["which_browser_default_msg"]= "Kies de Bestandsbrowser welke u liever als standaard gebruikt. Bij de gebruikers instellingen kunt u kiezen voor een custom Bestandsbrowser per gebruiker.";
+$_lang["which_browser_title"]= "Bestandsbrowser";
+$_lang["which_browser_msg"]= "U kunt kiezen om een aangepaste Bestandsbrowser te gebruiken voor deze gebruiker.";
+$_lang["option_default"] = "Standaard";
+$_lang["position"] = "Positie";
+$_lang["are_you_sure"] = "Weet u het zeker?";
+
+$_lang['evo_downloads_title'] = "Evolution Downloads";
+$_lang['help_translating_title'] = "Help Evolution vertalen";
+$_lang['download'] = "Download";
+$_lang['downloads'] = "Downloads";
+$_lang["previous_releases"] = "Vorige versies";
+$_lang["extras"] = "Extra's";
+
+$_lang["display_locks"] = "Toon geblokkeerde";
+$_lang["role_display_locks"] = "Toon geblokkeerde";
+$_lang["session_timeout"] = "Sessie timeout";
+$_lang["session_timeout_msg"] = "EVO pingt de server volgens de instelling "Mail Check Time Period". Als de laatste ping deze instelling overschrijdt, wordt de bijbehorende sessie als ongeldig beschouwd en worden alle gerelateerde vergrendelingen automatisch verwijderd. Stel de waarde in minuten in (> 2min, standaard 15min).";
+$_lang["unlock_element_id_warning"] = "Weet u zeker dat je [+element_type+] (ID [+id+]) wilt vrijgeven voor bewerken?";
+$_lang["lock_element_type_1"] = "Template";
+$_lang["lock_element_type_2"] = "Template Variabele";
+$_lang["lock_element_type_3"] = "Chunk";
+$_lang["lock_element_type_4"] = "Snippet";
+$_lang["lock_element_type_5"] = "Plug-in";
+$_lang["lock_element_type_6"] = "Module";
+$_lang["lock_element_type_7"] = "Pagina";
+$_lang["lock_element_type_8"] = "Rol";
+$_lang["lock_element_editing"] = "U past element [+element_type+] aan sinds\n[+lasthit_df+]";
+$_lang["lock_element_locked_by"] = "[+element_type+] is geblokkeerd door gebruiker\n[+username+] sinds [+lasthit_df+]";
+
+$_lang["minifyphp_incache_title"] = 'Minify php code in de site cache';
+$_lang["minifyphp_incache_message"] = 'Minify php code (snippets en plugins) en sla op in het site cache bestand. Zie: #938 ';
+
+$_lang["logout_reminder_msg"] = "Ter herinnering: Het lijkt er op dat op [+datum+] je vergeten bent om uit te loggen. In de toekomst kun je dit beter wel doen na je werk!";
+
+$_lang["allow_eval_title"] = "Eval php code in je snippet";
+$_lang["allow_eval_msg"] = "Voor ontwikkelaars: Gebruik \$modx->safeEval().";
+$_lang["allow_eval_with_scan"] = "Alleen functies uitvoeren die worden toegestaan";
+$_lang["allow_eval_with_scan_at_post"] = "Alles uitvoeren. Echter met POST alleen toegestaande functies uitvoeren";
+$_lang["allow_eval_everytime_eval"] = "Ongelimiteerd (gebruik alleen bij debugging)";
+$_lang["allow_eval_dont_eval"] = "Niet alle functies toelaten";
+
+$_lang["safe_functions_at_eval_title"] = "Functies die eval mogen toestaan";
+$_lang["safe_functions_at_eval_msg"] = "Met komma's gescheiden lijst";
+
+$_lang["multiple_sessions_msg"] = "Ter informatie: Meerdere actieve gebruiker sessies (in totaal [+totaal+]) gevonden voor de gebruiker [+gebruikersnaam+] .";
+$_lang["iconv_not_available"] = "Heb is belangrijk om de extentie iconv te installeren of aan te zetten. Ga na bij uw hostingpartij om deze aan te zetten mocht u hier geen kaas van hebben gegeten.";
+
+$_lang["cm_create_new_category"] = "Creëer een nieuwe categorie";
+$_lang["cm_category_name"] = "Categorie naam";
+$_lang["cm_category_position"] = "Categorie positie";
+$_lang["cm_no_x_assigned"] = "Geen %s toegewezen";
+$_lang["cm_save_categorization"] = "Sla categorisering op";
+$_lang["cm_update_categories"] = "Categorieën updaten";
+$_lang["cm_assigned_elements"] = "Toegekende elementen";
+$_lang["cm_edit_name"] = "Naam aanpassen";
+$_lang["cm_mark_for_deletion"] = "Aanvinken voor verwijdering";
+$_lang["cm_delete_now"] = "Verwijder direct";
+$_lang["cm_delete_element_x_now"] = "Verwijder "%s" direct";
+$_lang["cm_select_element_group"] = "Selecteer een elementengroep";
+$_lang["cm_global_messages"] = "Globale meldingen";
+$_lang["cm_add_new_category"] = "Nieuwe categorie toevoegen";
+$_lang["cm_edit_categories"] = "Categorieën wijzigen";
+$_lang["cm_sort_categories"] = "Sorteer categorieën";
+$_lang["cm_categorize_elements"] = "Elementen categoriseren ";
+$_lang["cm_translation"] = "Vertaling";
+$_lang["cm_translations"] = "Vertalingen";
+$_lang["cm_categorize_x"] = "Categoriseer %s ";
+$_lang["cm_unknown_error"] = "Er is iets niet goed gegaan.";
+$_lang["cm_x_assigned_to_category_y"] = "%s(%s) is toegewezen aan categorie %s(%s) ";
+$_lang["cm_no_categorization"] = "Geen indeling gemaakt.";
+$_lang["cm_no_changes"] = "Niets te veranderen, dus geen wijzigingen.";
+$_lang["cm_x_changes_made"] = "%s aanpassingen gemaakt";
+$_lang["cm_enter_name_for_category"] = "Geef een naam voor de nieuwe categorie.";
+$_lang["cm_category_x_exists"] = "Categorie %s bestaat al.";
+$_lang["cm_category_x_saved_at_position_y"] = "De nieuwe caterogie %s is opgeslagen op positie %s .";
+$_lang["cm_category_x_moved_to_position_y"] = "Categorie %s is verplaatst naar positie %s ";
+$_lang["cm_category_x_deleted"] = "Categorie %s is verwijderd";
+$_lang["cm_category_x_renamed_to_y"] = "Categorie %s is hernoemd naar %s ";
+$_lang["cm_translation_for_x_empty"] = "Vertaling voor %s is leeg";
+$_lang["cm_translation_for_x_to_y_success"] = "Vertaling van %s naar %s is succesvol opgeslagen";
+$_lang["cm_save_new_sorting"] = "Bewaar nieuwe volgorde";
+$_lang["cm_translate_phrases"] = "Vertaal zinnen";
+$_lang["cm_translate_module_phrases"] = "Vertaal module-zinnen";
+$_lang["cm_native_phrase"] = "Inheemse zin";
+
+$_lang["btn_view_options"] = 'Toon opties';
+$_lang["view_options_msg"] = 'Tonen van elementen kan worden aangepast via "Toon opties" knop. Instellingen worden opgeslagen en bijgewerkt per browser door gebruik van HTML5 localStorage.';
+$_lang["viewopts_title"] = 'Toon opties';
+$_lang["viewopts_cb_buttons"] = 'Knoppen';
+$_lang["viewopts_cb_descriptions"] = 'Omschrijvingen';
+$_lang["viewopts_cb_icons"] = 'Iconen';
+$_lang["viewopts_radio_list"] = 'Lijst';
+$_lang["viewopts_radio_inline"] = 'Inline';
+$_lang["viewopts_radio_flex"] = 'Flex';
+$_lang["viewopts_fontsize"] = 'Fontgrootte';
+$_lang["viewopts_cb_alltabs"] = 'Alle tabs';
diff --git a/manager/includes/lang/nederlands.inc.php b/manager/includes/lang/nederlands.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/norsk.inc.php b/manager/includes/lang/norsk.inc.php
old mode 100644
new mode 100755
index c84c502e45..ab4f4f1e05
--- a/manager/includes/lang/norsk.inc.php
+++ b/manager/includes/lang/norsk.inc.php
@@ -839,10 +839,10 @@
$_lang["role_view_unpublished"] = 'Vis upubliserte dokumenter';
$_lang["role_web_access_persmissions"] = 'Rettigheter for webtilgang';
$_lang["role_web_user_management"] = 'Håndtere webbrukere';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Enter the URL for the MODX News Feed.';
$_lang["rss_url_news_title"] = 'RSS News Feed';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Enter the URL for the MODX Security Feed.';
$_lang["rss_url_security_title"] = 'RSS Security Feed';
$_lang["run_module"] = 'Kjør modul';
diff --git a/manager/includes/lang/override/example.english.inc.php b/manager/includes/lang/override/example.english.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/persian.inc.php b/manager/includes/lang/persian.inc.php
index e5cd2177ef..b790b30897 100755
--- a/manager/includes/lang/persian.inc.php
+++ b/manager/includes/lang/persian.inc.php
@@ -839,10 +839,10 @@
$_lang["role_view_unpublished"] = 'مرور پرونده های منتشر نشده';
$_lang["role_web_access_persmissions"] = 'سطوح دسترسی وب';
$_lang["role_web_user_management"] = 'مدیریت کاربر وب';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'URL منبع آخرین اخبار مادایکس.';
$_lang["rss_url_news_title"] = 'RSS اخبار';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'URL منبع اخبار امنیتی.';
$_lang["rss_url_security_title"] = 'RSS امنیتی';
$_lang["run_module"] = 'اجرای ماژول';
diff --git a/manager/includes/lang/polish-utf8.inc.php b/manager/includes/lang/polish-utf8.inc.php
old mode 100644
new mode 100755
index c51b5672bb..b4cf00c898
--- a/manager/includes/lang/polish-utf8.inc.php
+++ b/manager/includes/lang/polish-utf8.inc.php
@@ -872,10 +872,10 @@
$_lang["role_view_unpublished"] = 'Pokaż nieopublikowane dokumenty';
$_lang["role_web_access_persmissions"] = 'Uprawnienia dostępu web';
$_lang["role_web_user_management"] = 'Zarządzanie użytkownikami web';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Wprowadź URL źródła wiadomości MODX';
$_lang["rss_url_news_title"] = 'Żródło RSS wiadomości';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Wprowadź URL powiadomień bezpieczeństwa.';
$_lang["rss_url_security_title"] = 'Źródło RSS bezpieczeństwa';
$_lang["run_module"] = 'Uruchom moduł';
diff --git a/manager/includes/lang/polish.inc.php b/manager/includes/lang/polish.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/lang/portuguese-br-utf8.inc.php b/manager/includes/lang/portuguese-br-utf8.inc.php
old mode 100644
new mode 100755
index c483e79f9a..c0889d803a
--- a/manager/includes/lang/portuguese-br-utf8.inc.php
+++ b/manager/includes/lang/portuguese-br-utf8.inc.php
@@ -840,10 +840,10 @@
$_lang["role_view_unpublished"] = 'Ver documentos não publicados';
$_lang["role_web_access_persmissions"] = 'Permissões de acesso Web';
$_lang["role_web_user_management"] = 'Gestão de usuários web (externos)';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Digite o URL para o Feed de notícias MODX.';
$_lang["rss_url_news_title"] = 'Feed de Notícias RSS';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Digite o URL para o Feed de segurança MODX.';
$_lang["rss_url_security_title"] = 'Feed de Segurança RSS';
$_lang["run_module"] = 'Executar Módulo';
diff --git a/manager/includes/lang/portuguese.inc.php b/manager/includes/lang/portuguese.inc.php
old mode 100644
new mode 100755
index 7c4489165e..bbd8c2aaf3
--- a/manager/includes/lang/portuguese.inc.php
+++ b/manager/includes/lang/portuguese.inc.php
@@ -839,10 +839,10 @@
$_lang["role_view_unpublished"] = 'Ver documentos não publicados';
$_lang["role_web_access_persmissions"] = 'Permissões de acesso Web';
$_lang["role_web_user_management"] = 'Gestão de utilizadores web (externos)';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Enter the URL for the MODX News Feed.';
$_lang["rss_url_news_title"] = 'RSS News Feed';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Enter the URL for the MODX Security Feed.';
$_lang["rss_url_security_title"] = 'RSS Security Feed';
$_lang["run_module"] = 'Executar Módulo';
diff --git a/manager/includes/lang/russian-UTF8.inc.php b/manager/includes/lang/russian-UTF8.inc.php
old mode 100644
new mode 100755
index 63a981ab3d..afc2cc0791
--- a/manager/includes/lang/russian-UTF8.inc.php
+++ b/manager/includes/lang/russian-UTF8.inc.php
@@ -383,6 +383,7 @@
$_lang["functionnotimpl"] = 'Увы';
$_lang["functionnotimpl_message"] = 'Эта функция еще не используется данной версией EVO.';
$_lang["further_info"] = 'Подробная информация';
+$_lang["global_tabs"] = 'Глобальные вкладки';
$_lang["go"] = 'Перейти';
$_lang["group_access_permissions"] = 'Доступ групп пользователей';
$_lang['group_tvs'] = 'Группировать ТВ параметры';
@@ -872,10 +873,10 @@
$_lang["role_view_unpublished"] = 'Просмотр неопубликованных ресурсов';
$_lang["role_web_access_persmissions"] = 'Права веб-доступа';
$_lang["role_web_user_management"] = 'Управление веб-пользователями';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Введите адрес (URL) RSS-ленты новостей EVO.';
$_lang["rss_url_news_title"] = 'Лента RSS новостей';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Введите адрес (URL) RSS-ленты безопасности EVO.';
$_lang["rss_url_security_title"] = 'Лента RSS безопасности';
$_lang["run_module"] = 'Запуск модуля';
@@ -1116,6 +1117,7 @@
$_lang["use_alias_path_title"] = 'Использовать вложенные URL:';
$_lang["use_editor_message"] = 'Хотите использовать HTML-редактор? Если вы привыкли писать HTML-теги вручную, отключите данную функцию. Имейте в виду, что эта настройка применяется ко всем ресурсам для всех менеджеров';
$_lang["use_editor_title"] = 'Использовать HTML-редактор:';
+$_lang["use_global_tabs"] = 'Использовать глобальные вкладки';
$_lang["user"] = 'Пользователь';
$_lang["user_block"] = 'Заблокирован';
$_lang["user_blockedafter"] = 'Заблокирован после';
diff --git a/manager/includes/lang/spanish-utf8.inc.php b/manager/includes/lang/spanish-utf8.inc.php
old mode 100644
new mode 100755
index 5d046fa3da..8ef3c7e260
--- a/manager/includes/lang/spanish-utf8.inc.php
+++ b/manager/includes/lang/spanish-utf8.inc.php
@@ -839,10 +839,10 @@
$_lang["role_view_unpublished"] = 'Ver Documentos No Publicados';
$_lang["role_web_access_persmissions"] = 'Permisos de acceso web';
$_lang["role_web_user_management"] = 'Administración de usuarios web';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Ingresa el URL del Feed de Noticias de MODX.';
$_lang["rss_url_news_title"] = 'Feed RSS de Noticias';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Ingresa el URL para el Feed de Seguridad MODX.';
$_lang["rss_url_security_title"] = 'Feed RSS de Seguridad';
$_lang["run_module"] = 'Correr módulo';
diff --git a/manager/includes/lang/svenska-utf8.inc.php b/manager/includes/lang/svenska-utf8.inc.php
old mode 100644
new mode 100755
index 88cd7fa42e..92bc3935e1
--- a/manager/includes/lang/svenska-utf8.inc.php
+++ b/manager/includes/lang/svenska-utf8.inc.php
@@ -840,10 +840,10 @@
$_lang["role_view_unpublished"] = 'Visa opublicerade resurser';
$_lang["role_web_access_persmissions"] = 'Rättigheter för webbåtkomst';
$_lang["role_web_user_management"] = 'Hantera webbanvändare';
-$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/modx-announce';
+$_lang["rss_url_news_default"] = 'http://feeds.feedburner.com/evocms-release-news';
$_lang["rss_url_news_message"] = 'Ange URL:en för MODX nyhetsflöde.';
$_lang["rss_url_news_title"] = 'RSS nyhetsflöde';
-$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/modxsecurity';
+$_lang["rss_url_security_default"] = 'http://feeds.feedburner.com/evocms-security-news';
$_lang["rss_url_security_message"] = 'Ange URL:en för MODX säkerhetsflöde.';
$_lang["rss_url_security_title"] = 'RSS säkerhetsflöde';
$_lang["run_module"] = 'Kör modul';
diff --git a/manager/includes/lang/ukrainian.inc.php b/manager/includes/lang/ukrainian.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/manager.lockout.inc.php b/manager/includes/manager.lockout.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/menu.class.inc.php b/manager/includes/menu.class.inc.php
old mode 100644
new mode 100755
index 63316ff224..fedaf9fced
--- a/manager/includes/menu.class.inc.php
+++ b/manager/includes/menu.class.inc.php
@@ -69,7 +69,7 @@ function DrawSub($parentid, $level)
$ph['href'] = $value[3];
$ph['alt'] = $value[4];
$ph['target'] = $value[7];
- $ph['onclick'] = 'setLastClickedElement(0,0);' . $value[5];
+ $ph['onclick'] = $value[5];
$ph['a_class'] = $this->get_a_class($id);
$ph['LinkAttr'] = $this->getLinkAttr($id);
$ph['itemName'] = $value[2] . $this->getItemName($id);
diff --git a/manager/includes/messageCount.inc.php b/manager/includes/messageCount.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/mutate_settings.ajax.php b/manager/includes/mutate_settings.ajax.php
old mode 100644
new mode 100755
diff --git a/manager/includes/preload.functions.inc.php b/manager/includes/preload.functions.inc.php
new file mode 100755
index 0000000000..ab5834fdb6
--- /dev/null
+++ b/manager/includes/preload.functions.inc.php
@@ -0,0 +1,53 @@
+items, 0, $itemsNumber);
foreach ($items as $item) {
- $href = $item['link'];
+ $href = rel2abs($item['link'],'https://github.com');
$title = $item['title'];
$pubdate = $item['pubdate'];
$pubdate = $modx->toDateFormat(strtotime($pubdate));
@@ -58,4 +86,4 @@
$output .= '';
$feedData[$section] = $output;
}
-?>
\ No newline at end of file
+?>
diff --git a/manager/includes/secure_mgr_documents.inc.php b/manager/includes/secure_mgr_documents.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/secure_web_documents.inc.php b/manager/includes/secure_web_documents.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/session_keepalive.php b/manager/includes/session_keepalive.php
old mode 100644
new mode 100755
diff --git a/manager/includes/template.parser.class.inc.php b/manager/includes/template.parser.class.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/tmplvars.inc.php b/manager/includes/tmplvars.inc.php
old mode 100644
new mode 100755
diff --git a/manager/includes/version.inc.php b/manager/includes/version.inc.php
index f3f678117e..cda2da31a1 100755
--- a/manager/includes/version.inc.php
+++ b/manager/includes/version.inc.php
@@ -1,5 +1,5 @@
Unable to load configuration settings";
- echo "Please run the MODX install utility ";
+ echo "Please run the EVO install utility ";
exit;
}
diff --git a/manager/media/browser/mcpuk/browse.php b/manager/media/browser/mcpuk/browse.php
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/browser.html b/manager/media/browser/mcpuk/browser.html
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/browser.php b/manager/media/browser/mcpuk/browser.php
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/config.php b/manager/media/browser/mcpuk/config.php
old mode 100644
new mode 100755
index 31a1af773d..8cd6149022
--- a/manager/media/browser/mcpuk/config.php
+++ b/manager/media/browser/mcpuk/config.php
@@ -24,7 +24,7 @@
'denyExtensionRename' => $modx->config['denyExtensionRename'],
'showHiddenFiles' => $modx->config['showHiddenFiles'],
- 'theme' => "oxygen",
+ 'theme' => "evo",
'uploadURL' => rtrim($modx->config['rb_base_url'],'/'),
'uploadDir' => rtrim($modx->config['rb_base_dir'],'/'),
diff --git a/manager/media/browser/mcpuk/core/.htaccess b/manager/media/browser/mcpuk/core/.htaccess
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/core/autoload.php b/manager/media/browser/mcpuk/core/autoload.php
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/core/browser.php b/manager/media/browser/mcpuk/core/browser.php
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/core/types/type_img.php b/manager/media/browser/mcpuk/core/types/type_img.php
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/core/types/type_mime.php b/manager/media/browser/mcpuk/core/types/type_mime.php
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/core/uploader.php b/manager/media/browser/mcpuk/core/uploader.php
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/css.php b/manager/media/browser/mcpuk/css.php
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/doc/.htaccess b/manager/media/browser/mcpuk/doc/.htaccess
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/doc/Changelog b/manager/media/browser/mcpuk/doc/Changelog
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/doc/LICENSE.GPL b/manager/media/browser/mcpuk/doc/LICENSE.GPL
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/doc/LICENSE.LGPL b/manager/media/browser/mcpuk/doc/LICENSE.LGPL
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/doc/README b/manager/media/browser/mcpuk/doc/README
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/browser/0bject.js b/manager/media/browser/mcpuk/js/browser/0bject.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/browser/clipboard.js b/manager/media/browser/mcpuk/js/browser/clipboard.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/browser/dropUpload.js b/manager/media/browser/mcpuk/js/browser/dropUpload.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/browser/files.js b/manager/media/browser/mcpuk/js/browser/files.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/browser/folders.js b/manager/media/browser/mcpuk/js/browser/folders.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/browser/init.js b/manager/media/browser/mcpuk/js/browser/init.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/browser/joiner.php b/manager/media/browser/mcpuk/js/browser/joiner.php
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/browser/misc.js b/manager/media/browser/mcpuk/js/browser/misc.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/browser/settings.js b/manager/media/browser/mcpuk/js/browser/settings.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/browser/toolbar.js b/manager/media/browser/mcpuk/js/browser/toolbar.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/helper.js b/manager/media/browser/mcpuk/js/helper.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/jquery.drag.js b/manager/media/browser/mcpuk/js/jquery.drag.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/jquery.js b/manager/media/browser/mcpuk/js/jquery.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js/jquery.rightClick.js b/manager/media/browser/mcpuk/js/jquery.rightClick.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/js_localize.php b/manager/media/browser/mcpuk/js_localize.php
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/lang/.htaccess b/manager/media/browser/mcpuk/lang/.htaccess
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/lib/.htaccess b/manager/media/browser/mcpuk/lib/.htaccess
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/lib/class_gd.php b/manager/media/browser/mcpuk/lib/class_gd.php
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/evo/about.txt b/manager/media/browser/mcpuk/themes/evo/about.txt
new file mode 100755
index 0000000000..4725fe5e79
--- /dev/null
+++ b/manager/media/browser/mcpuk/themes/evo/about.txt
@@ -0,0 +1,10 @@
+This folder contains files for designing EVO visual theme for KCFinder customized for evolution cms
+
+
+Theme Details:
+
+Project: KCFinder - http://kcfinder.sunhater.com
+Version: 2.54
+Author: Evo team evo.im
+Licenses: GPLv2 - http://www.opensource.org/licenses/gpl-2.0.php
+ LGPLv2 - http://www.opensource.org/licenses/lgpl-2.1.php
diff --git a/manager/media/browser/mcpuk/themes/evo/img/alert.png b/manager/media/browser/mcpuk/themes/evo/img/alert.png
new file mode 100755
index 0000000000..b2e019da70
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/alert.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/bg_transparent.png b/manager/media/browser/mcpuk/themes/evo/img/bg_transparent.png
new file mode 100755
index 0000000000..320063208b
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/bg_transparent.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/confirm.png b/manager/media/browser/mcpuk/themes/evo/img/confirm.png
new file mode 100755
index 0000000000..1e9a1cd2a5
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/confirm.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/..png b/manager/media/browser/mcpuk/themes/evo/img/files/big/..png
new file mode 100755
index 0000000000..3ce6fb0f1a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/..png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/.image.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/.image.png
new file mode 100755
index 0000000000..785cd39fcc
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/.image.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/avi.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/avi.png
new file mode 100755
index 0000000000..28f8a62403
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/avi.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/bat.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/bat.png
new file mode 100755
index 0000000000..8c9e717dea
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/bat.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/bmp.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/bmp.png
new file mode 100755
index 0000000000..785cd39fcc
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/bmp.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/bz2.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/bz2.png
new file mode 100755
index 0000000000..8d5447927d
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/bz2.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/ccd.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/ccd.png
new file mode 100755
index 0000000000..4eaafeeaec
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/ccd.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/cgi.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/cgi.png
new file mode 100755
index 0000000000..8c9e717dea
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/cgi.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/com.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/com.png
new file mode 100755
index 0000000000..d4ec17bae4
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/com.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/csh.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/csh.png
new file mode 100755
index 0000000000..8c9e717dea
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/csh.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/cue.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/cue.png
new file mode 100755
index 0000000000..4eaafeeaec
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/cue.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/deb.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/deb.png
new file mode 100755
index 0000000000..6b20addca4
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/deb.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/dll.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/dll.png
new file mode 100755
index 0000000000..de365e73ca
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/dll.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/doc.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/doc.png
new file mode 100755
index 0000000000..ee6439a65f
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/doc.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/docx.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/docx.png
new file mode 100755
index 0000000000..ee6439a65f
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/docx.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/exe.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/exe.png
new file mode 100755
index 0000000000..d4ec17bae4
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/exe.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/fla.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/fla.png
new file mode 100755
index 0000000000..fea31d1608
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/fla.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/flv.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/flv.png
new file mode 100755
index 0000000000..28f8a62403
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/flv.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/fon.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/fon.png
new file mode 100755
index 0000000000..0d02efc021
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/fon.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/gif.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/gif.png
new file mode 100755
index 0000000000..785cd39fcc
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/gif.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/gz.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/gz.png
new file mode 100755
index 0000000000..8d5447927d
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/gz.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/htm.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/htm.png
new file mode 100755
index 0000000000..b5a88b5576
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/htm.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/html.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/html.png
new file mode 100755
index 0000000000..b5a88b5576
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/html.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/image.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/image.png
new file mode 100755
index 0000000000..5ca1333d0e
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/image.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/ini.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/ini.png
new file mode 100755
index 0000000000..8b9c0b1471
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/ini.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/iso.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/iso.png
new file mode 100755
index 0000000000..4eaafeeaec
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/iso.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/jar.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/jar.png
new file mode 100755
index 0000000000..3c5ed76c25
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/jar.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/java.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/java.png
new file mode 100755
index 0000000000..fc5e85fde6
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/java.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/jpeg.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/jpeg.png
new file mode 100755
index 0000000000..785cd39fcc
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/jpeg.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/jpg.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/jpg.png
new file mode 100755
index 0000000000..785cd39fcc
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/jpg.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/js.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/js.png
new file mode 100755
index 0000000000..fb160a1ae3
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/js.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/mds.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/mds.png
new file mode 100755
index 0000000000..4eaafeeaec
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/mds.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/mdx.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/mdx.png
new file mode 100755
index 0000000000..4eaafeeaec
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/mdx.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/mid.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/mid.png
new file mode 100755
index 0000000000..10d2a69af7
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/mid.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/midi.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/midi.png
new file mode 100755
index 0000000000..10d2a69af7
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/midi.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/mkv.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/mkv.png
new file mode 100755
index 0000000000..28f8a62403
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/mkv.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/mov.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/mov.png
new file mode 100755
index 0000000000..28f8a62403
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/mov.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/mp3.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/mp3.png
new file mode 100755
index 0000000000..dacc8eb8d8
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/mp3.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/mpeg.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/mpeg.png
new file mode 100755
index 0000000000..28f8a62403
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/mpeg.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/mpg.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/mpg.png
new file mode 100755
index 0000000000..28f8a62403
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/mpg.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/nfo.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/nfo.png
new file mode 100755
index 0000000000..8b9c0b1471
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/nfo.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/nrg.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/nrg.png
new file mode 100755
index 0000000000..4eaafeeaec
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/nrg.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/ogg.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/ogg.png
new file mode 100755
index 0000000000..dacc8eb8d8
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/ogg.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/pdf.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/pdf.png
new file mode 100755
index 0000000000..3e46e74a6f
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/pdf.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/php.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/php.png
new file mode 100755
index 0000000000..544cd2bbb7
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/php.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/phps.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/phps.png
new file mode 100755
index 0000000000..544cd2bbb7
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/phps.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/pl.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/pl.png
new file mode 100755
index 0000000000..89b9960fe3
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/pl.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/pm.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/pm.png
new file mode 100755
index 0000000000..89b9960fe3
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/pm.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/png.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/png.png
new file mode 100755
index 0000000000..785cd39fcc
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/png.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/ppt.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/ppt.png
new file mode 100755
index 0000000000..6fc3affde0
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/ppt.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/pptx.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/pptx.png
new file mode 100755
index 0000000000..6fc3affde0
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/pptx.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/psd.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/psd.png
new file mode 100755
index 0000000000..785cd39fcc
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/psd.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/qt.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/qt.png
new file mode 100755
index 0000000000..28f8a62403
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/qt.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/rar.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/rar.png
new file mode 100755
index 0000000000..8d5447927d
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/rar.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/rpm.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/rpm.png
new file mode 100755
index 0000000000..f647b1968c
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/rpm.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/rtf.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/rtf.png
new file mode 100755
index 0000000000..8b9c0b1471
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/rtf.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/sh.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/sh.png
new file mode 100755
index 0000000000..8c9e717dea
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/sh.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/srt.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/srt.png
new file mode 100755
index 0000000000..8b9c0b1471
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/srt.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/sub.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/sub.png
new file mode 100755
index 0000000000..8b9c0b1471
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/sub.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/swf.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/swf.png
new file mode 100755
index 0000000000..679b7a884b
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/swf.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/tgz.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/tgz.png
new file mode 100755
index 0000000000..15340cf32e
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/tgz.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/tif.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/tif.png
new file mode 100755
index 0000000000..785cd39fcc
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/tif.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/tiff.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/tiff.png
new file mode 100755
index 0000000000..785cd39fcc
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/tiff.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/torrent.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/torrent.png
new file mode 100755
index 0000000000..87afd11b44
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/torrent.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/ttf.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/ttf.png
new file mode 100755
index 0000000000..cb99d03853
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/ttf.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/txt.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/txt.png
new file mode 100755
index 0000000000..8b9c0b1471
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/txt.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/wav.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/wav.png
new file mode 100755
index 0000000000..dacc8eb8d8
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/wav.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/wma.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/wma.png
new file mode 100755
index 0000000000..dacc8eb8d8
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/wma.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/xls.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/xls.png
new file mode 100755
index 0000000000..bdecb30eb9
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/xls.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/xlsx.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/xlsx.png
new file mode 100755
index 0000000000..bdecb30eb9
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/xlsx.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/big/zip.png b/manager/media/browser/mcpuk/themes/evo/img/files/big/zip.png
new file mode 100755
index 0000000000..8d5447927d
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/big/zip.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/..png b/manager/media/browser/mcpuk/themes/evo/img/files/small/..png
new file mode 100755
index 0000000000..67f4c5f4bb
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/..png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/.image.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/.image.png
new file mode 100755
index 0000000000..638dee693a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/.image.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/avi.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/avi.png
new file mode 100755
index 0000000000..bbff051d90
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/avi.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/bat.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/bat.png
new file mode 100755
index 0000000000..7b87884f9e
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/bat.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/bmp.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/bmp.png
new file mode 100755
index 0000000000..638dee693a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/bmp.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/bz2.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/bz2.png
new file mode 100755
index 0000000000..305f01b43a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/bz2.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/ccd.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/ccd.png
new file mode 100755
index 0000000000..4e8d91d6d8
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/ccd.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/cgi.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/cgi.png
new file mode 100755
index 0000000000..7b87884f9e
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/cgi.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/com.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/com.png
new file mode 100755
index 0000000000..2246f30854
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/com.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/csh.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/csh.png
new file mode 100755
index 0000000000..7b87884f9e
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/csh.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/cue.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/cue.png
new file mode 100755
index 0000000000..4e8d91d6d8
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/cue.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/deb.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/deb.png
new file mode 100755
index 0000000000..305f01b43a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/deb.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/dll.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/dll.png
new file mode 100755
index 0000000000..b1a2f1c45c
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/dll.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/doc.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/doc.png
new file mode 100755
index 0000000000..069059db95
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/doc.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/docx.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/docx.png
new file mode 100755
index 0000000000..069059db95
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/docx.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/exe.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/exe.png
new file mode 100755
index 0000000000..2246f30854
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/exe.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/fla.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/fla.png
new file mode 100755
index 0000000000..c50ec52109
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/fla.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/flv.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/flv.png
new file mode 100755
index 0000000000..bbff051d90
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/flv.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/fon.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/fon.png
new file mode 100755
index 0000000000..2303efed9c
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/fon.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/gif.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/gif.png
new file mode 100755
index 0000000000..638dee693a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/gif.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/gz.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/gz.png
new file mode 100755
index 0000000000..305f01b43a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/gz.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/htm.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/htm.png
new file mode 100755
index 0000000000..cc2f1bf9f9
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/htm.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/html.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/html.png
new file mode 100755
index 0000000000..cc2f1bf9f9
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/html.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/ini.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/ini.png
new file mode 100755
index 0000000000..d904593ca5
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/ini.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/iso.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/iso.png
new file mode 100755
index 0000000000..4e8d91d6d8
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/iso.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/jar.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/jar.png
new file mode 100755
index 0000000000..305f01b43a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/jar.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/java.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/java.png
new file mode 100755
index 0000000000..58fa8d0d61
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/java.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/jpeg.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/jpeg.png
new file mode 100755
index 0000000000..638dee693a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/jpeg.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/jpg.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/jpg.png
new file mode 100755
index 0000000000..638dee693a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/jpg.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/js.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/js.png
new file mode 100755
index 0000000000..db79975b3c
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/js.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/mds.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/mds.png
new file mode 100755
index 0000000000..4e8d91d6d8
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/mds.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/mdx.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/mdx.png
new file mode 100755
index 0000000000..4e8d91d6d8
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/mdx.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/mid.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/mid.png
new file mode 100755
index 0000000000..e1ed4bd2d5
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/mid.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/midi.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/midi.png
new file mode 100755
index 0000000000..e1ed4bd2d5
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/midi.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/mkv.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/mkv.png
new file mode 100755
index 0000000000..bbff051d90
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/mkv.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/mov.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/mov.png
new file mode 100755
index 0000000000..bbff051d90
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/mov.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/mp3.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/mp3.png
new file mode 100755
index 0000000000..017b00da90
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/mp3.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/mpeg.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/mpeg.png
new file mode 100755
index 0000000000..bbff051d90
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/mpeg.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/mpg.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/mpg.png
new file mode 100755
index 0000000000..bbff051d90
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/mpg.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/nfo.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/nfo.png
new file mode 100755
index 0000000000..d904593ca5
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/nfo.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/nrg.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/nrg.png
new file mode 100755
index 0000000000..4e8d91d6d8
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/nrg.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/ogg.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/ogg.png
new file mode 100755
index 0000000000..017b00da90
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/ogg.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/pdf.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/pdf.png
new file mode 100755
index 0000000000..9498f0ffdb
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/pdf.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/php.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/php.png
new file mode 100755
index 0000000000..d73934befd
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/php.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/phps.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/phps.png
new file mode 100755
index 0000000000..d73934befd
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/phps.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/pl.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/pl.png
new file mode 100755
index 0000000000..d904593ca5
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/pl.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/pm.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/pm.png
new file mode 100755
index 0000000000..d904593ca5
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/pm.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/png.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/png.png
new file mode 100755
index 0000000000..638dee693a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/png.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/ppt.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/ppt.png
new file mode 100755
index 0000000000..bdccbb63e2
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/ppt.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/pptx.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/pptx.png
new file mode 100755
index 0000000000..bdccbb63e2
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/pptx.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/psd.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/psd.png
new file mode 100755
index 0000000000..638dee693a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/psd.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/qt.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/qt.png
new file mode 100755
index 0000000000..bbff051d90
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/qt.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/rar.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/rar.png
new file mode 100755
index 0000000000..305f01b43a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/rar.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/rpm.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/rpm.png
new file mode 100755
index 0000000000..305f01b43a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/rpm.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/rtf.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/rtf.png
new file mode 100755
index 0000000000..d904593ca5
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/rtf.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/sh.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/sh.png
new file mode 100755
index 0000000000..7b87884f9e
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/sh.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/srt.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/srt.png
new file mode 100755
index 0000000000..d904593ca5
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/srt.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/sub.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/sub.png
new file mode 100755
index 0000000000..d904593ca5
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/sub.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/swf.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/swf.png
new file mode 100755
index 0000000000..80e05a3dbd
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/swf.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/tgz.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/tgz.png
new file mode 100755
index 0000000000..305f01b43a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/tgz.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/tif.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/tif.png
new file mode 100755
index 0000000000..638dee693a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/tif.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/tiff.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/tiff.png
new file mode 100755
index 0000000000..638dee693a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/tiff.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/torrent.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/torrent.png
new file mode 100755
index 0000000000..55c04aa98f
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/torrent.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/ttf.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/ttf.png
new file mode 100755
index 0000000000..ed3e0f6419
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/ttf.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/txt.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/txt.png
new file mode 100755
index 0000000000..d904593ca5
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/txt.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/wav.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/wav.png
new file mode 100755
index 0000000000..017b00da90
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/wav.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/wma.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/wma.png
new file mode 100755
index 0000000000..017b00da90
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/wma.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/xls.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/xls.png
new file mode 100755
index 0000000000..573d141430
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/xls.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/xlsx.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/xlsx.png
new file mode 100755
index 0000000000..573d141430
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/xlsx.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/files/small/zip.png b/manager/media/browser/mcpuk/themes/evo/img/files/small/zip.png
new file mode 100755
index 0000000000..305f01b43a
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/files/small/zip.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/icons/close.png b/manager/media/browser/mcpuk/themes/evo/img/icons/close.png
new file mode 100755
index 0000000000..44197a49d1
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/icons/close.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/kcf_logo.png b/manager/media/browser/mcpuk/themes/evo/img/kcf_logo.png
new file mode 100755
index 0000000000..e829043caf
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/kcf_logo.png differ
diff --git a/manager/media/browser/mcpuk/themes/evo/img/loading.gif b/manager/media/browser/mcpuk/themes/evo/img/loading.gif
new file mode 100755
index 0000000000..5f5cedca13
Binary files /dev/null and b/manager/media/browser/mcpuk/themes/evo/img/loading.gif differ
diff --git a/manager/media/browser/mcpuk/themes/evo/init.js b/manager/media/browser/mcpuk/themes/evo/init.js
new file mode 100755
index 0000000000..a5072312e4
--- /dev/null
+++ b/manager/media/browser/mcpuk/themes/evo/init.js
@@ -0,0 +1,4 @@
+// If this file exists in theme directory, it will be loaded in section
+
+var imgLoading = new Image();
+imgLoading.src = 'themes/oxygen/img/loading.gif';
diff --git a/manager/media/browser/mcpuk/themes/evo/style.css b/manager/media/browser/mcpuk/themes/evo/style.css
new file mode 100755
index 0000000000..bb7cc233cc
--- /dev/null
+++ b/manager/media/browser/mcpuk/themes/evo/style.css
@@ -0,0 +1,135 @@
+@import "../../../../style/common/font-awesome/css/font-awesome.min.css?v=4.7.0";
+body { background: #fff; }
+input { margin: 0; }
+input[type="radio"], input[type="checkbox"], label { cursor: pointer; }
+input[name="newName"] { width: 98% !important; }
+input[type="text"] { border: 1px solid #d3d3d3; background: #fff; padding: 2px; font-size: 1.5rem; margin: 0; outline-width: 0; }
+input[type="text"]:hover { box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); }
+input[type="text"]:focus { border-color: #3687e2; box-shadow: 0 0 3px rgba(54, 135, 226, 1); -moz-box-shadow: 0 0 3px rgba(54, 135, 226, 1); -webkit-box-shadow: 0 0 3px rgba(54, 135, 226, 1); }
+input[type="button"], input[type="submit"], input[type="reset"], button { font-size: 1.1rem; line-height: 2rem; color: #292b2c; background-color: #fff; border: 1px solid #d4d4d4; padding: 0.3rem 0.6rem; margin-left: 2px; display: inline-block; cursor: pointer; }
+input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover, button:hover { color: #292b2c; background-color: #e6e6e6; border-color: #adadad }
+input[type="button"]:focus, input[type="submit"]:focus, input[type="reset"]:focus, button:focus { color: #292b2c; background-color: #e6e6e6; border-color: #adadad }
+fieldset { margin: 0 5px 5px 0px; padding: 5px; border: 1px solid #dedede; cursor: default; }
+fieldset td { white-space: nowrap; }
+legend { margin: 0; padding: 0 3px; font-weight: bold; }
+#folders { margin: 0; padding: 1rem 1rem 1rem .5rem; background: #fafafa; border: 0; border-right: 1px solid #dedede; border-bottom: 1px solid #dedede; }
+#files { float: left; margin: 0 4px 0 0; background: #fafafa; border: 1px solid #dedede; border-left: 0; }
+#files.drag { background: #ddebf8; }
+#topic { padding-left: 12px; }
+div.folders { margin-left: 1.7rem }
+div.folder { white-space: nowrap; }
+div.folder a { display: inline-block; text-decoration: none; cursor: default; outline: none; color: #000; }
+span.folder { display: inline-block; font-size: 1.1rem; line-height: 1.2rem; padding: 2px 3px 2px 3px; outline: none; background: no-repeat 3px center; cursor: pointer; border: 1px solid transparent; }
+span.brace { float: left; width: 1.6rem; height: 1.6rem; padding-left: 0; line-height: 1.9rem; font-size: 0; text-align: center; outline: none; }
+span.current { background-color: #e4f0fa; border-color: #e4f0fa; color: #0e80cb; }
+span.current:before { display: inline-block; font-family: FontAwesome; content: "\f07c"; width: 1.3em; font-size: 1.3rem; line-height: .8em; vertical-align: middle; color: #565656; }
+span.regular { background-color: #f8f7f6; }
+span.regular:before { display: inline-block; font-family: FontAwesome; content: "\f07b"; width: 1.3em; font-size: 1.3rem; line-height: .8em; vertical-align: middle; color: #565656; }
+span.regular:hover, span.context { background-color: #ddebf8; border-color: #cee0f4; color: #000; }
+span.opened:before { display: inline-block; font-family: FontAwesome; content: "\f107"; width: 1.3em; font-size: 1.3rem; line-height: .8em; vertical-align: middle; color: #565656; }
+span.closed:before { display: inline-block; font-family: FontAwesome; content: "\f105"; width: 1.3em; font-size: 1.3rem; line-height: .8em; vertical-align: middle; color: #565656; }
+span.denied:before { display: inline-block; font-family: FontAwesome; content: "\f05e"; width: 1.3em; font-size: 1.3rem; line-height: .8em; vertical-align: middle; color: #565656; }
+div.file { padding: 4px; margin: 3px; border: 1px solid #aaa; background: #fff; }
+div.file:hover { background: #ddebf8; border-color: #a7bed7; }
+div.file .name { margin-top: 4px; font-weight: bold; height: 16px; overflow: hidden; }
+tr.file td { font-size: 12px; }
+/*
+div.file .time { font-size: 10px; }
+div.file .size { font-size: 10px; }
+*/
+#files div.selected, #files div.selected:hover { background-color: #5b9bda; border-color: #2973bd; color: #fff; }
+tr.file > td { padding: 3px 4px; background-color: #f8f7f6 }
+tr.file:hover > td { background-color: #ddebf8; }
+tr.selected > td, tr.selected:hover > td { background-color: #5b9bda; color: #fff; }
+#collapseSide { padding: 5px 0; display: inline-block; float: left; margin: 0 0 0 5px; }
+#hide-side { display: inline-block; width: 20px; text-align: center; font-size: 1.3rem; color: #5a5a5a; background-color: transparent; border: none; padding: 0.7rem 0.6rem 0.4rem 0.6rem; margin: 0px; }
+#hide-side i.fa:hover { color: #292b2c; }
+#toolbar { min-width: 500px; padding: 5px 0 5px 0; display: inline-block; float: left; margin-top: 2px; }
+#toolbar a { font-size: 1.1rem; line-height: 2rem; color: #292b2c; background-color: #fff; border: 1px solid #d4d4d4; padding: 0.3rem 0.6rem; margin-left: 5px; display: block; float: left; }
+#toolbar a:before { font-family: FontAwesome; font-size: 1.3rem; display: inline-block; padding-right: 3px; margin-top: 0px; vertical-align: top; color: #404040; }
+#toolbar a:hover, #toolbar a.hover { color: #292b2c; background-color: #e6e6e6; border-color: #adadad }
+#toolbar a.selected, #toolbar a.selected:before { background-color: #3687e2; border-color: #3687e2; color: #fff; }
+#toolbar a[href="kcact:upload"] { color: #fff; background-color: #5cb85c; border-color: #56ac56 }
+#toolbar a[href="kcact:upload"]:hover { color: #fff; background-color: #449d44; border-color: #419641 }
+#toolbar a[href="kcact:upload"]:before { content: "\f093"; color: #fff; }
+#toolbar a[href="kcact:refresh"]:before { content: "\f021"; }
+#toolbar a[href="kcact:settings"]:before { content: "\f0ad"; }
+#toolbar a[href="kcact:about"], #toolbar a:hover[href="kcact:about"] { border: none; padding: 0; background: transparent; }
+#toolbar a[href="kcact:about"]:before { content: "\f05a"; }
+#toolbar a[href="kcact:maximize"]:before { content: "\f2d0"; }
+/*try to hide Maximize button except in popup*/
+@media screen and (min-width: 840px) {
+#toolbar a[href="kcact:maximize"], #toolbar a[href="kcact:maximize"]:before { display: none; }
+}
+@media screen and (max-width: 780px) {
+#toolbar a[href="kcact:maximize"], #toolbar a[href="kcact:maximize"]:before { display: none; }
+}
+/*fake btn*/
+#viewThumbs, #viewList { display: none; float: left; margin: 0 0px 0 -30px; }
+label.radio-thumbs:before { display: block; float: left; font-family: FontAwesome; font-size: 1.4rem; line-height: 1.6rem; vertical-align: middle; content: "\f00a"; color: #292b2c; background-color: #fff; border: 1px solid #d4d4d4; padding: 0.5rem 0.6rem; margin-left: 5px; }
+label.radio-list:hover:before, label.radio-thumbs:hover:before { color: #292b2c; background-color: #e6e6e6; border-color: #adadad }
+label.radio-list.labelchecked:before, label.radio-thumbs.labelchecked:before { background-color: #3687e2; border-color: #3687e2; color: #fff; }
+label.radio-list:before { display: block; float: left; font-family: FontAwesome; font-size: 1.4rem; line-height: 1.6rem; vertical-align: middle; content: "\f03a"; color: #292b2c; background-color: #fff; border: 1px solid #d4d4d4; padding: 0.5rem 0.6rem; margin-left: 5px; }
+input[type=checkbox] + label { color: #ccc; font-style: italic; }
+input[type=checkbox]:checked + label { color: #f00; font-style: normal; }
+#settings { background: #fff; padding: 5px; }
+.box { width: 500px; }
+.box, #loading, #alert { padding: 5px; border: 1px solid #3687e2; background: #fff; }
+.box, #alert { padding: 8px; border-color: #fff; -moz-box-shadow: 0 0 4px rgba(255, 255, 255, 1); -webkit-box-shadow: 0 0 4px rgba(255, 255, 255, 1); box-shadow: 0 0 4px rgba(255, 255, 255, 1); }
+#loading { background-image: url(img/loading.gif); font-weight: bold; margin-right: 4px; box-shadow: 0 0 3px rgba(54, 135, 226, 1); -moz-box-shadow: 0 0 3px rgba(54, 135, 226, 1); -webkit-box-shadow: 0 0 3px rgba(54, 135, 226, 1); }
+#alert div.message, #dialog div.question { padding: 0 0 0 40px; }
+#alert { background: #ff6347 url(img/alert.png) no-repeat 8px 29px; }
+#dialog div.question { background: transparent url(img/confirm.png) no-repeat 0 0; }
+#alert div.ok, #dialog div.buttons { padding-top: 5px; text-align: right; }
+.menu { min-width: 180px; padding: 3px; border: 1px solid #dedede; background: #fff; opacity: 0.95; }
+.menu a { font-size: 1.2rem; text-decoration: none; padding: 4px 4px 4px 4px; color: #000; margin: 0; outline: none; border: 1px solid transparent; }
+.menu a:before { font-family: FontAwesome; font-size: 1.4rem; display: inline-block; width: 1.3rem; padding-right: 4px; margin-top: 0px; text-align: center; vertical-align: top; color: #404040; }
+.menu .delimiter { border-top: 1px solid #acaaa7; padding-bottom: 3px; margin: 3px 2px 0 2px; }
+.menu a:hover { background-color: #0e80cb; color: #fff; }
+.menu a:hover:before { color: #fff; }
+.menu a[href="kcact:refresh"]:before { content: "\f021"; }
+.menu a[href="kcact:mkdir"]:before { content: "\f114"; }
+.menu a[href="kcact:mvdir"]:before, .menu a[href="kcact:mv"]:before { content: "\f246"; }
+.menu a[href="kcact:rmdir"]:before, .menu a[href="kcact:rm"]:before, .menu a[href="kcact:rmcbd"]:before { content: "\f1f8"; }
+.menu a[href="kcact:clpbrdadd"]:before { content: "\f0ea"; }
+.menu a[href="kcact:pick"]:before, .menu a[href="kcact:pick_thumb"]:before { content: "\f00c"; }
+.menu a[href="kcact:download"]:before { content: "\f019"; }
+.menu a[href="kcact:view"]:before { content: "\f06e"; }
+.menu a[href="kcact:cpcbd"]:before { content: "\f24d"; }
+.menu a[href="kcact:mvcbd"]:before { content: "\f047"; }
+.menu a[href="kcact:clrcbd"]:before { content: "\f12d"; }
+a.denied { color: #666; opacity: 0.5; filter: alpha(opacity:50);
+cursor: default; }
+a.denied:hover { background-color: #e4e3e2; border-color: transparent; box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; }
+#dialog { -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); }
+#dialog input[type="text"] { margin: 5px 0; width: 200px; }
+#dialog div.slideshow { border: 1px solid #000; padding: 5px 5px 3px 5px; background: #000; -moz-box-shadow: 0 0 8px rgba(255, 255, 255, 1); -webkit-box-shadow: 0 0 8px rgba(255, 255, 255, 1); box-shadow: 0 0 8px rgba(255, 255, 255, 1); }
+#dialog img { padding: 0; margin: 0; background: url(img/bg_transparent.png); }
+#loadingDirs { padding: 5px 0 1px 24px; }
+.about { text-align: center; }
+.about div.head { font-weight: bold; font-size: 12px; padding: 3px 0 8px 0; }
+.about div.head a { background: url(img/kcf_logo.png) no-repeat left center; padding: 0 0 0 27px; font-size: 17px; }
+.about a { text-decoration: none; color: #05f; }
+.about a:hover { text-decoration: underline; }
+.about button { margin-top: 8px; }
+#clipboard { padding: 0 4px 1px 0; }
+#clipboard div { background: url(img/icons/clipboard.png) no-repeat center center; border: 1px solid transparent; padding: 1px; cursor: pointer; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; }
+#clipboard div:hover { background-color: #bfbdbb; border-color: #a9a59f; }
+#clipboard.selected div, #clipboard.selected div:hover { background-color: #c9c7c4; border-color: #3687e2; }
+#checkver { padding-bottom: 8px; }
+#checkver > span { padding: 2px; border: 1px solid transparent; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
+#checkver > span.loading { background: url(img/loading.gif); border: 1px solid #3687e2; box-shadow: 0 0 3px rgba(54, 135, 226, 1); -moz-box-shadow: 0 0 3px rgba(54, 135, 226, 1); -webkit-box-shadow: 0 0 3px rgba(54, 135, 226, 1); }
+#checkver span { padding: 3px; }
+#checkver a { font-weight: normal; padding: 3px 3px 3px 20px; background: url(img/icons/download.png) no-repeat left center; }
+div.title { overflow: auto; text-align: center; margin: -3px -5px 5px -5px; padding-left: 19px; padding-bottom: 2px; border-bottom: 1px solid #bbb; font-size: 2rem; cursor: move; }
+.about div.title { cursor: default; }
+span.close, span.clicked { float: right; width: 19px; height: 19px; background: url(img/icons/close.png) no-repeat; margin-top: 0px; cursor: pointer; }
+.selectThis { padding: 6px 0; border-radius: 2px; background: #eee; color: #4ea94e; cursor: pointer; text-transform: uppercase; }
+.selectThis:hover { background-color: #fff; }
+.pull-right { position: absolute; }
+.pull-right a { color: #bbb !important; }
+div.file .thumb { background-size: cover; }
+.rangeTextContainer, .rangeThumbContainer { display: inline-block; padding: 0.4rem 0.4rem 0.2rem 0.4rem; margin-left: 2px; }
+.hiddenrange { display: none }
+.thumbsize, .textsize { display: inline-block; margin-left: 10px; }
+input[type=range]::-moz-range-track { margin-top: 2px; }
diff --git a/manager/media/browser/mcpuk/themes/oxygen/about.txt b/manager/media/browser/mcpuk/themes/oxygen/about.txt
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/alert.png b/manager/media/browser/mcpuk/themes/oxygen/img/alert.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/bg_transparent.png b/manager/media/browser/mcpuk/themes/oxygen/img/bg_transparent.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/confirm.png b/manager/media/browser/mcpuk/themes/oxygen/img/confirm.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/..png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/..png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/.image.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/.image.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/avi.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/avi.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/bat.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/bat.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/bmp.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/bmp.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/bz2.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/bz2.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/ccd.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/ccd.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/cgi.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/cgi.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/com.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/com.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/csh.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/csh.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/cue.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/cue.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/deb.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/deb.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/dll.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/dll.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/doc.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/doc.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/docx.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/docx.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/exe.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/exe.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/fla.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/fla.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/flv.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/flv.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/fon.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/fon.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/gif.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/gif.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/gz.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/gz.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/htm.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/htm.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/html.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/html.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/image.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/image.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/ini.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/ini.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/iso.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/iso.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/jar.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/jar.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/java.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/java.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/jpeg.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/jpeg.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/jpg.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/jpg.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/js.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/js.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mds.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mds.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mdx.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mdx.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mid.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mid.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/midi.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/midi.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mkv.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mkv.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mov.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mov.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mp3.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mp3.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mpeg.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mpeg.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mpg.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/mpg.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/nfo.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/nfo.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/nrg.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/nrg.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/ogg.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/ogg.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/pdf.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/pdf.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/php.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/php.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/phps.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/phps.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/pl.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/pl.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/pm.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/pm.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/png.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/png.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/ppt.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/ppt.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/pptx.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/pptx.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/psd.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/psd.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/qt.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/qt.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/rar.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/rar.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/rpm.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/rpm.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/rtf.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/rtf.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/sh.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/sh.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/srt.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/srt.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/sub.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/sub.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/swf.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/swf.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/tgz.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/tgz.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/tif.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/tif.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/tiff.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/tiff.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/torrent.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/torrent.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/ttf.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/ttf.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/txt.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/txt.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/wav.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/wav.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/wma.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/wma.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/xls.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/xls.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/xlsx.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/xlsx.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/big/zip.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/big/zip.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/..png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/..png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/.image.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/.image.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/avi.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/avi.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/bat.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/bat.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/bmp.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/bmp.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/bz2.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/bz2.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/ccd.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/ccd.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/cgi.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/cgi.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/com.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/com.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/csh.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/csh.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/cue.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/cue.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/deb.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/deb.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/dll.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/dll.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/doc.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/doc.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/docx.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/docx.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/exe.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/exe.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/fla.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/fla.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/flv.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/flv.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/fon.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/fon.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/gif.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/gif.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/gz.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/gz.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/htm.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/htm.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/html.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/html.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/ini.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/ini.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/iso.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/iso.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/jar.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/jar.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/java.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/java.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/jpeg.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/jpeg.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/jpg.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/jpg.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/js.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/js.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mds.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mds.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mdx.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mdx.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mid.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mid.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/midi.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/midi.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mkv.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mkv.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mov.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mov.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mp3.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mp3.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mpeg.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mpeg.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mpg.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/mpg.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/nfo.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/nfo.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/nrg.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/nrg.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/ogg.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/ogg.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/pdf.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/pdf.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/php.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/php.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/phps.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/phps.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/pl.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/pl.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/pm.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/pm.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/png.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/png.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/ppt.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/ppt.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/pptx.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/pptx.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/psd.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/psd.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/qt.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/qt.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/rar.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/rar.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/rpm.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/rpm.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/rtf.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/rtf.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/sh.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/sh.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/srt.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/srt.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/sub.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/sub.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/swf.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/swf.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/tgz.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/tgz.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/tif.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/tif.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/tiff.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/tiff.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/torrent.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/torrent.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/ttf.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/ttf.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/txt.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/txt.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/wav.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/wav.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/wma.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/wma.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/xls.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/xls.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/xlsx.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/xlsx.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/files/small/zip.png b/manager/media/browser/mcpuk/themes/oxygen/img/files/small/zip.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/about.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/about.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/clipboard-add.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/clipboard-add.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/clipboard-clear.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/clipboard-clear.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/clipboard.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/clipboard.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/close-clicked.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/close-clicked.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/close-hover.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/close-hover.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/close.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/close.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/copy.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/copy.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/delete.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/delete.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/download.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/download.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/folder-new.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/folder-new.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/maximize.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/maximize.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/move.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/move.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/refresh.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/refresh.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/rename.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/rename.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/select.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/select.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/settings.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/settings.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/upload.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/upload.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/icons/view.png b/manager/media/browser/mcpuk/themes/oxygen/img/icons/view.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/kcf_logo.png b/manager/media/browser/mcpuk/themes/oxygen/img/kcf_logo.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/loading.gif b/manager/media/browser/mcpuk/themes/oxygen/img/loading.gif
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/tree/denied.png b/manager/media/browser/mcpuk/themes/oxygen/img/tree/denied.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/tree/folder.png b/manager/media/browser/mcpuk/themes/oxygen/img/tree/folder.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/tree/folder_current.png b/manager/media/browser/mcpuk/themes/oxygen/img/tree/folder_current.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/tree/minus.png b/manager/media/browser/mcpuk/themes/oxygen/img/tree/minus.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/img/tree/plus.png b/manager/media/browser/mcpuk/themes/oxygen/img/tree/plus.png
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/init.js b/manager/media/browser/mcpuk/themes/oxygen/init.js
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/themes/oxygen/style.css b/manager/media/browser/mcpuk/themes/oxygen/style.css
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/tpl/.htaccess b/manager/media/browser/mcpuk/tpl/.htaccess
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/tpl/tpl_browser.php b/manager/media/browser/mcpuk/tpl/tpl_browser.php
old mode 100644
new mode 100755
index 2838e4e480..e16bcfb396
--- a/manager/media/browser/mcpuk/tpl/tpl_browser.php
+++ b/manager/media/browser/mcpuk/tpl/tpl_browser.php
@@ -1,86 +1,190 @@
-
-
-
-KCFinder: /session['dir'] ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- label("View:") ?>
-
-
-
-
-
-
- label("Show:") ?>
-
-
-
-
-
-
- label("Order by:") ?>
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ KCFinder: /
+ session['dir'] ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ label("Show:") ?>
+
+
+
+
+
+
+
+
+ label("Order by:") ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/manager/media/browser/mcpuk/tpl/tpl_css.php b/manager/media/browser/mcpuk/tpl/tpl_css.php
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/tpl/tpl_javascript.php b/manager/media/browser/mcpuk/tpl/tpl_javascript.php
old mode 100644
new mode 100755
diff --git a/manager/media/browser/mcpuk/upload.php b/manager/media/browser/mcpuk/upload.php
old mode 100644
new mode 100755
diff --git a/manager/media/calendar/datepicker.inc.php b/manager/media/calendar/datepicker.inc.php
old mode 100644
new mode 100755
diff --git a/manager/media/calendar/datepicker.js b/manager/media/calendar/datepicker.js
old mode 100644
new mode 100755
diff --git a/manager/media/calendar/datepicker.tpl b/manager/media/calendar/datepicker.tpl
old mode 100644
new mode 100755
index b71f0ae9c4..34a2ba45d7
--- a/manager/media/calendar/datepicker.tpl
+++ b/manager/media/calendar/datepicker.tpl
@@ -8,9 +8,10 @@
var DatePickers = document.querySelectorAll('input.DatePicker');
if(DatePickers) {
for(var i = 0; i < DatePickers.length; i++) {
+ let format = DatePickers[i].getAttribute("data-format");
new DatePicker(DatePickers[i], {
yearOffset: dpOffset,
- format: dpformat,
+ format: format !== null ? format : dpformat,
dayNames: dpdayNames,
monthNames: dpmonthNames,
startDay: dpstartDay
diff --git a/manager/media/debug/arrow.gif b/manager/media/debug/arrow.gif
old mode 100644
new mode 100755
diff --git a/manager/media/debug/bug.gif b/manager/media/debug/bug.gif
old mode 100644
new mode 100755
diff --git a/manager/media/debug/tag_green.gif b/manager/media/debug/tag_green.gif
old mode 100644
new mode 100755
diff --git a/manager/media/debug/tag_orange.gif b/manager/media/debug/tag_orange.gif
old mode 100644
new mode 100755
diff --git a/manager/media/rss/extlib/Snoopy.class.inc b/manager/media/rss/extlib/Snoopy.class.inc
old mode 100644
new mode 100755
index ff34b11482..bb91e6d3ec
--- a/manager/media/rss/extlib/Snoopy.class.inc
+++ b/manager/media/rss/extlib/Snoopy.class.inc
@@ -1,12 +1,11 @@
-Copyright (c): 1999-2008 New Digital Group, all rights reserved
-Version: 1.2.4
-
+ *
+ * Snoopy - the PHP net client
+ * Author: Monte Ohrt
+ * Copyright (c): 1999-2014, all rights reserved
+ * Version: 2.0.0
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
@@ -20,1231 +19,983 @@ Version: 1.2.4
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-You may contact the author of Snoopy by e-mail at:
-monte@ohrt.com
-
-The latest version of Snoopy can be obtained from:
-http://snoopy.sourceforge.net/
-
-*************************************************/
-
+ *
+ * You may contact the author of Snoopy by e-mail at:
+ * monte@ohrt.com
+ *
+ * The latest version of Snoopy can be obtained from:
+ * http://snoopy.sourceforge.net/
+ *************************************************/
class Snoopy
{
- /**** Public variables ****/
-
- /* user definable vars */
-
- var $host = "www.php.net"; // host name we are connecting to
- var $port = 80; // port we are connecting to
- var $proxy_host = ""; // proxy host to use
- var $proxy_port = ""; // proxy port to use
- var $proxy_user = ""; // proxy user to use
- var $proxy_pass = ""; // proxy password to use
-
- var $agent = "Snoopy v1.2.4"; // agent we masquerade as
- var $referer = ""; // referer info to pass
- var $cookies = array(); // array of cookies to pass
- // $cookies["username"]="joe";
- var $rawheaders = array(); // array of raw headers to send
- // $rawheaders["Content-type"]="text/html";
-
- var $maxredirs = 5; // http redirection depth maximum. 0 = disallow
- var $lastredirectaddr = ""; // contains address of last redirected address
- var $offsiteok = true; // allows redirection off-site
- var $maxframes = 0; // frame content depth maximum. 0 = disallow
- var $expandlinks = true; // expand links to fully qualified URLs.
- // this only applies to fetchlinks()
- // submitlinks(), and submittext()
- var $passcookies = true; // pass set cookies back through redirects
- // NOTE: this currently does not respect
- // dates, domains or paths.
-
- var $user = ""; // user for http authentication
- var $pass = ""; // password for http authentication
-
- // http accept types
- var $accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*";
-
- var $results = ""; // where the content is put
-
- var $error = ""; // error messages sent here
- var $response_code = ""; // response code returned from server
- var $headers = array(); // headers returned from server sent here
- var $maxlength = 500000; // max return data length (body)
- var $read_timeout = 0; // timeout on read operations, in seconds
- // supported only since PHP 4 Beta 4
- // set to 0 to disallow timeouts
- var $timed_out = false; // if a read operation timed out
- var $status = 0; // http request status
-
- var $temp_dir = "/tmp"; // temporary directory that the webserver
- // has permission to write to.
- // under Windows, this should be C:\temp
-
- var $curl_path = "/usr/local/bin/curl";
- // Snoopy will use cURL for fetching
- // SSL content if a full system path to
- // the cURL binary is supplied here.
- // set to false if you do not have
- // cURL installed. See http://curl.haxx.se
- // for details on installing cURL.
- // Snoopy does *not* use the cURL
- // library functions built into php,
- // as these functions are not stable
- // as of this Snoopy release.
-
- /**** Private variables ****/
-
- var $_maxlinelen = 4096; // max line length (headers)
-
- var $_httpmethod = "GET"; // default http request method
- var $_httpversion = "HTTP/1.0"; // default http request version
- var $_submit_method = "POST"; // default submit method
- var $_submit_type = "application/x-www-form-urlencoded"; // default submit type
- var $_mime_boundary = ""; // MIME boundary for multipart/form-data submit type
- var $_redirectaddr = false; // will be set if page fetched is a redirect
- var $_redirectdepth = 0; // increments on an http redirect
- var $_frameurls = array(); // frame src urls
- var $_framedepth = 0; // increments on frame depth
-
- var $_isproxy = false; // set if using a proxy server
- var $_fp_timeout = 30; // timeout for socket connection
-
-/*======================================================================*\
- Function: fetch
- Purpose: fetch the contents of a web page
- (and possibly other protocols in the
- future like ftp, nntp, gopher, etc.)
- Input: $URI the location of the page to fetch
- Output: $this->results the output text from the fetch
-\*======================================================================*/
-
- function fetch($URI)
- {
-
- //preg_match("|^([^:]+)://([^:/]+)(:[\d]+)*(.*)|",$URI,$URI_PARTS);
- $URI_PARTS = parse_url($URI);
- if (!empty($URI_PARTS["user"]))
- $this->user = $URI_PARTS["user"];
- if (!empty($URI_PARTS["pass"]))
- $this->pass = $URI_PARTS["pass"];
- if (empty($URI_PARTS["query"]))
- $URI_PARTS["query"] = '';
- if (empty($URI_PARTS["path"]))
- $URI_PARTS["path"] = '';
-
- switch(strtolower($URI_PARTS["scheme"]))
- {
- case "http":
- $this->host = $URI_PARTS["host"];
- if(!empty($URI_PARTS["port"]))
- $this->port = $URI_PARTS["port"];
- if($this->_connect($fp))
- {
- if($this->_isproxy)
- {
- // using proxy, send entire URI
- $this->_httprequest($URI,$fp,$URI,$this->_httpmethod);
- }
- else
- {
- $path = $URI_PARTS["path"].($URI_PARTS["query"] ? "?".$URI_PARTS["query"] : "");
- // no proxy, send only the path
- $this->_httprequest($path, $fp, $URI, $this->_httpmethod);
- }
-
- $this->_disconnect($fp);
-
- if($this->_redirectaddr)
- {
- /* url was redirected, check if we've hit the max depth */
- if($this->maxredirs > $this->_redirectdepth)
- {
- // only follow redirect if it's on this site, or offsiteok is true
- if(preg_match("|^http://".preg_quote($this->host)."|i",$this->_redirectaddr) || $this->offsiteok)
- {
- /* follow the redirect */
- $this->_redirectdepth++;
- $this->lastredirectaddr=$this->_redirectaddr;
- $this->fetch($this->_redirectaddr);
- }
- }
- }
-
- if($this->_framedepth < $this->maxframes && count($this->_frameurls) > 0)
- {
- $frameurls = $this->_frameurls;
- $this->_frameurls = array();
-
- while(list(,$frameurl) = each($frameurls))
- {
- if($this->_framedepth < $this->maxframes)
- {
- $this->fetch($frameurl);
- $this->_framedepth++;
- }
- else
- break;
- }
- }
- }
- else
- {
- return false;
- }
- return true;
- break;
- case "https":
- if(!$this->curl_path)
- return false;
- if(function_exists("is_executable"))
- if (!is_executable($this->curl_path))
- return false;
- $this->host = $URI_PARTS["host"];
- if(!empty($URI_PARTS["port"]))
- $this->port = $URI_PARTS["port"];
- if($this->_isproxy)
- {
- // using proxy, send entire URI
- $this->_httpsrequest($URI,$URI,$this->_httpmethod);
- }
- else
- {
- $path = $URI_PARTS["path"].($URI_PARTS["query"] ? "?".$URI_PARTS["query"] : "");
- // no proxy, send only the path
- $this->_httpsrequest($path, $URI, $this->_httpmethod);
- }
-
- if($this->_redirectaddr)
- {
- /* url was redirected, check if we've hit the max depth */
- if($this->maxredirs > $this->_redirectdepth)
- {
- // only follow redirect if it's on this site, or offsiteok is true
- if(preg_match("|^http://".preg_quote($this->host)."|i",$this->_redirectaddr) || $this->offsiteok)
- {
- /* follow the redirect */
- $this->_redirectdepth++;
- $this->lastredirectaddr=$this->_redirectaddr;
- $this->fetch($this->_redirectaddr);
- }
- }
- }
-
- if($this->_framedepth < $this->maxframes && count($this->_frameurls) > 0)
- {
- $frameurls = $this->_frameurls;
- $this->_frameurls = array();
-
- while(list(,$frameurl) = each($frameurls))
- {
- if($this->_framedepth < $this->maxframes)
- {
- $this->fetch($frameurl);
- $this->_framedepth++;
- }
- else
- break;
- }
- }
- return true;
- break;
- default:
- // not a valid protocol
- $this->error = 'Invalid protocol "'.$URI_PARTS["scheme"].'"\n';
- return false;
- break;
- }
- return true;
- }
-
-/*======================================================================*\
- Function: submit
- Purpose: submit an http form
- Input: $URI the location to post the data
- $formvars the formvars to use.
- format: $formvars["var"] = "val";
- $formfiles an array of files to submit
- format: $formfiles["var"] = "/dir/filename.ext";
- Output: $this->results the text output from the post
-\*======================================================================*/
-
- function submit($URI, $formvars="", $formfiles="")
- {
- unset($postdata);
-
- $postdata = $this->_prepare_post_body($formvars, $formfiles);
-
- $URI_PARTS = parse_url($URI);
- if (!empty($URI_PARTS["user"]))
- $this->user = $URI_PARTS["user"];
- if (!empty($URI_PARTS["pass"]))
- $this->pass = $URI_PARTS["pass"];
- if (empty($URI_PARTS["query"]))
- $URI_PARTS["query"] = '';
- if (empty($URI_PARTS["path"]))
- $URI_PARTS["path"] = '';
-
- switch(strtolower($URI_PARTS["scheme"]))
- {
- case "http":
- $this->host = $URI_PARTS["host"];
- if(!empty($URI_PARTS["port"]))
- $this->port = $URI_PARTS["port"];
- if($this->_connect($fp))
- {
- if($this->_isproxy)
- {
- // using proxy, send entire URI
- $this->_httprequest($URI,$fp,$URI,$this->_submit_method,$this->_submit_type,$postdata);
- }
- else
- {
- $path = $URI_PARTS["path"].($URI_PARTS["query"] ? "?".$URI_PARTS["query"] : "");
- // no proxy, send only the path
- $this->_httprequest($path, $fp, $URI, $this->_submit_method, $this->_submit_type, $postdata);
- }
-
- $this->_disconnect($fp);
-
- if($this->_redirectaddr)
- {
- /* url was redirected, check if we've hit the max depth */
- if($this->maxredirs > $this->_redirectdepth)
- {
- if(!preg_match("|^".$URI_PARTS["scheme"]."://|", $this->_redirectaddr))
- $this->_redirectaddr = $this->_expandlinks($this->_redirectaddr,$URI_PARTS["scheme"]."://".$URI_PARTS["host"]);
-
- // only follow redirect if it's on this site, or offsiteok is true
- if(preg_match("|^http://".preg_quote($this->host)."|i",$this->_redirectaddr) || $this->offsiteok)
- {
- /* follow the redirect */
- $this->_redirectdepth++;
- $this->lastredirectaddr=$this->_redirectaddr;
- if( strpos( $this->_redirectaddr, "?" ) > 0 )
- $this->fetch($this->_redirectaddr); // the redirect has changed the request method from post to get
- else
- $this->submit($this->_redirectaddr,$formvars, $formfiles);
- }
- }
- }
-
- if($this->_framedepth < $this->maxframes && count($this->_frameurls) > 0)
- {
- $frameurls = $this->_frameurls;
- $this->_frameurls = array();
-
- while(list(,$frameurl) = each($frameurls))
- {
- if($this->_framedepth < $this->maxframes)
- {
- $this->fetch($frameurl);
- $this->_framedepth++;
- }
- else
- break;
- }
- }
-
- }
- else
- {
- return false;
- }
- return true;
- break;
- case "https":
- if(!$this->curl_path)
- return false;
- if(function_exists("is_executable"))
- if (!is_executable($this->curl_path))
- return false;
- $this->host = $URI_PARTS["host"];
- if(!empty($URI_PARTS["port"]))
- $this->port = $URI_PARTS["port"];
- if($this->_isproxy)
- {
- // using proxy, send entire URI
- $this->_httpsrequest($URI, $URI, $this->_submit_method, $this->_submit_type, $postdata);
- }
- else
- {
- $path = $URI_PARTS["path"].($URI_PARTS["query"] ? "?".$URI_PARTS["query"] : "");
- // no proxy, send only the path
- $this->_httpsrequest($path, $URI, $this->_submit_method, $this->_submit_type, $postdata);
- }
-
- if($this->_redirectaddr)
- {
- /* url was redirected, check if we've hit the max depth */
- if($this->maxredirs > $this->_redirectdepth)
- {
- if(!preg_match("|^".$URI_PARTS["scheme"]."://|", $this->_redirectaddr))
- $this->_redirectaddr = $this->_expandlinks($this->_redirectaddr,$URI_PARTS["scheme"]."://".$URI_PARTS["host"]);
-
- // only follow redirect if it's on this site, or offsiteok is true
- if(preg_match("|^http://".preg_quote($this->host)."|i",$this->_redirectaddr) || $this->offsiteok)
- {
- /* follow the redirect */
- $this->_redirectdepth++;
- $this->lastredirectaddr=$this->_redirectaddr;
- if( strpos( $this->_redirectaddr, "?" ) > 0 )
- $this->fetch($this->_redirectaddr); // the redirect has changed the request method from post to get
- else
- $this->submit($this->_redirectaddr,$formvars, $formfiles);
- }
- }
- }
-
- if($this->_framedepth < $this->maxframes && count($this->_frameurls) > 0)
- {
- $frameurls = $this->_frameurls;
- $this->_frameurls = array();
-
- while(list(,$frameurl) = each($frameurls))
- {
- if($this->_framedepth < $this->maxframes)
- {
- $this->fetch($frameurl);
- $this->_framedepth++;
- }
- else
- break;
- }
- }
- return true;
- break;
-
- default:
- // not a valid protocol
- $this->error = 'Invalid protocol "'.$URI_PARTS["scheme"].'"\n';
- return false;
- break;
- }
- return true;
- }
-
-/*======================================================================*\
- Function: fetchlinks
- Purpose: fetch the links from a web page
- Input: $URI where you are fetching from
- Output: $this->results an array of the URLs
-\*======================================================================*/
-
- function fetchlinks($URI)
- {
- if ($this->fetch($URI))
- {
- if($this->lastredirectaddr)
- $URI = $this->lastredirectaddr;
- if(is_array($this->results))
- {
- for($x=0;$xresults);$x++)
- $this->results[$x] = $this->_striplinks($this->results[$x]);
- }
- else
- $this->results = $this->_striplinks($this->results);
-
- if($this->expandlinks)
- $this->results = $this->_expandlinks($this->results, $URI);
- return true;
- }
- else
- return false;
- }
-
-/*======================================================================*\
- Function: fetchform
- Purpose: fetch the form elements from a web page
- Input: $URI where you are fetching from
- Output: $this->results the resulting html form
-\*======================================================================*/
-
- function fetchform($URI)
- {
-
- if ($this->fetch($URI))
- {
-
- if(is_array($this->results))
- {
- for($x=0;$xresults);$x++)
- $this->results[$x] = $this->_stripform($this->results[$x]);
- }
- else
- $this->results = $this->_stripform($this->results);
-
- return true;
- }
- else
- return false;
- }
-
-
-/*======================================================================*\
- Function: fetchtext
- Purpose: fetch the text from a web page, stripping the links
- Input: $URI where you are fetching from
- Output: $this->results the text from the web page
-\*======================================================================*/
-
- function fetchtext($URI)
- {
- if($this->fetch($URI))
- {
- if(is_array($this->results))
- {
- for($x=0;$xresults);$x++)
- $this->results[$x] = $this->_striptext($this->results[$x]);
- }
- else
- $this->results = $this->_striptext($this->results);
- return true;
- }
- else
- return false;
- }
-
-/*======================================================================*\
- Function: submitlinks
- Purpose: grab links from a form submission
- Input: $URI where you are submitting from
- Output: $this->results an array of the links from the post
-\*======================================================================*/
-
- function submitlinks($URI, $formvars="", $formfiles="")
- {
- if($this->submit($URI,$formvars, $formfiles))
- {
- if($this->lastredirectaddr)
- $URI = $this->lastredirectaddr;
- if(is_array($this->results))
- {
- for($x=0;$xresults);$x++)
- {
- $this->results[$x] = $this->_striplinks($this->results[$x]);
- if($this->expandlinks)
- $this->results[$x] = $this->_expandlinks($this->results[$x],$URI);
- }
- }
- else
- {
- $this->results = $this->_striplinks($this->results);
- if($this->expandlinks)
- $this->results = $this->_expandlinks($this->results,$URI);
- }
- return true;
- }
- else
- return false;
- }
-
-/*======================================================================*\
- Function: submittext
- Purpose: grab text from a form submission
- Input: $URI where you are submitting from
- Output: $this->results the text from the web page
-\*======================================================================*/
-
- function submittext($URI, $formvars = "", $formfiles = "")
- {
- if($this->submit($URI,$formvars, $formfiles))
- {
- if($this->lastredirectaddr)
- $URI = $this->lastredirectaddr;
- if(is_array($this->results))
- {
- for($x=0;$xresults);$x++)
- {
- $this->results[$x] = $this->_striptext($this->results[$x]);
- if($this->expandlinks)
- $this->results[$x] = $this->_expandlinks($this->results[$x],$URI);
- }
- }
- else
- {
- $this->results = $this->_striptext($this->results);
- if($this->expandlinks)
- $this->results = $this->_expandlinks($this->results,$URI);
- }
- return true;
- }
- else
- return false;
- }
-
-
-
-/*======================================================================*\
- Function: set_submit_multipart
- Purpose: Set the form submission content type to
- multipart/form-data
-\*======================================================================*/
- function set_submit_multipart()
- {
- $this->_submit_type = "multipart/form-data";
- }
-
-
-/*======================================================================*\
- Function: set_submit_normal
- Purpose: Set the form submission content type to
- application/x-www-form-urlencoded
-\*======================================================================*/
- function set_submit_normal()
- {
- $this->_submit_type = "application/x-www-form-urlencoded";
- }
-
-
-
-
-/*======================================================================*\
- Private functions
-\*======================================================================*/
-
-
-/*======================================================================*\
- Function: _striplinks
- Purpose: strip the hyperlinks from an html document
- Input: $document document to strip.
- Output: $match an array of the links
-\*======================================================================*/
-
- function _striplinks($document)
- {
- preg_match_all("'<\s*a\s.*?href\s*=\s* # find results the output text from the fetch
+ \*======================================================================*/
+
+ function fetch($URI)
+ {
+
+ $URI_PARTS = parse_url($URI);
+ if (!empty($URI_PARTS["user"]))
+ $this->user = $URI_PARTS["user"];
+ if (!empty($URI_PARTS["pass"]))
+ $this->pass = $URI_PARTS["pass"];
+ if (empty($URI_PARTS["query"]))
+ $URI_PARTS["query"] = '';
+ if (empty($URI_PARTS["path"]))
+ $URI_PARTS["path"] = '';
+
+ $fp = null;
+
+ switch (strtolower($URI_PARTS["scheme"])) {
+ case "https":
+ if (!extension_loaded('openssl')) {
+ trigger_error("openssl extension required for HTTPS", E_USER_ERROR);
+ exit;
+ }
+ $this->port = 443;
+ case "http":
+ $this->scheme = strtolower($URI_PARTS["scheme"]);
+ $this->host = $URI_PARTS["host"];
+ if (!empty($URI_PARTS["port"]))
+ $this->port = $URI_PARTS["port"];
+ if ($this->_connect($fp)) {
+ if ($this->_isproxy) {
+ // using proxy, send entire URI
+ $this->_httprequest($URI, $fp, $URI, $this->_httpmethod);
+ } else {
+ $path = $URI_PARTS["path"] . ($URI_PARTS["query"] ? "?" . $URI_PARTS["query"] : "");
+ // no proxy, send only the path
+ $this->_httprequest($path, $fp, $URI, $this->_httpmethod);
+ }
+
+ $this->_disconnect($fp);
+
+ if ($this->_redirectaddr) {
+ /* url was redirected, check if we've hit the max depth */
+ if ($this->maxredirs > $this->_redirectdepth) {
+ // only follow redirect if it's on this site, or offsiteok is true
+ if (preg_match("|^https?://" . preg_quote($this->host) . "|i", $this->_redirectaddr) || $this->offsiteok) {
+ /* follow the redirect */
+ $this->_redirectdepth++;
+ $this->lastredirectaddr = $this->_redirectaddr;
+ $this->fetch($this->_redirectaddr);
+ }
+ }
+ }
+
+ if ($this->_framedepth < $this->maxframes && count($this->_frameurls) > 0) {
+ $frameurls = $this->_frameurls;
+ $this->_frameurls = array();
+
+ while (list(, $frameurl) = each($frameurls)) {
+ if ($this->_framedepth < $this->maxframes) {
+ $this->fetch($frameurl);
+ $this->_framedepth++;
+ } else
+ break;
+ }
+ }
+ } else {
+ return false;
+ }
+ return $this;
+ break;
+ default:
+ // not a valid protocol
+ $this->error = 'Invalid protocol "' . $URI_PARTS["scheme"] . '"\n';
+ return false;
+ break;
+ }
+ return $this;
+ }
+
+ /*======================================================================*\
+ Function: submit
+ Purpose: submit an http(s) form
+ Input: $URI the location to post the data
+ $formvars the formvars to use.
+ format: $formvars["var"] = "val";
+ $formfiles an array of files to submit
+ format: $formfiles["var"] = "/dir/filename.ext";
+ Output: $this->results the text output from the post
+ \*======================================================================*/
+
+ function submit($URI, $formvars = "", $formfiles = "")
+ {
+ unset($postdata);
+
+ $postdata = $this->_prepare_post_body($formvars, $formfiles);
+
+ $URI_PARTS = parse_url($URI);
+ if (!empty($URI_PARTS["user"]))
+ $this->user = $URI_PARTS["user"];
+ if (!empty($URI_PARTS["pass"]))
+ $this->pass = $URI_PARTS["pass"];
+ if (empty($URI_PARTS["query"]))
+ $URI_PARTS["query"] = '';
+ if (empty($URI_PARTS["path"]))
+ $URI_PARTS["path"] = '';
+
+ switch (strtolower($URI_PARTS["scheme"])) {
+ case "https":
+ if (!extension_loaded('openssl')) {
+ trigger_error("openssl extension required for HTTPS", E_USER_ERROR);
+ exit;
+ }
+ $this->port = 443;
+ case "http":
+ $this->scheme = strtolower($URI_PARTS["scheme"]);
+ $this->host = $URI_PARTS["host"];
+ if (!empty($URI_PARTS["port"]))
+ $this->port = $URI_PARTS["port"];
+ if ($this->_connect($fp)) {
+ if ($this->_isproxy) {
+ // using proxy, send entire URI
+ $this->_httprequest($URI, $fp, $URI, $this->_submit_method, $this->_submit_type, $postdata);
+ } else {
+ $path = $URI_PARTS["path"] . ($URI_PARTS["query"] ? "?" . $URI_PARTS["query"] : "");
+ // no proxy, send only the path
+ $this->_httprequest($path, $fp, $URI, $this->_submit_method, $this->_submit_type, $postdata);
+ }
+
+ $this->_disconnect($fp);
+
+ if ($this->_redirectaddr) {
+ /* url was redirected, check if we've hit the max depth */
+ if ($this->maxredirs > $this->_redirectdepth) {
+ if (!preg_match("|^" . $URI_PARTS["scheme"] . "://|", $this->_redirectaddr))
+ $this->_redirectaddr = $this->_expandlinks($this->_redirectaddr, $URI_PARTS["scheme"] . "://" . $URI_PARTS["host"]);
+
+ // only follow redirect if it's on this site, or offsiteok is true
+ if (preg_match("|^https?://" . preg_quote($this->host) . "|i", $this->_redirectaddr) || $this->offsiteok) {
+ /* follow the redirect */
+ $this->_redirectdepth++;
+ $this->lastredirectaddr = $this->_redirectaddr;
+ if (strpos($this->_redirectaddr, "?") > 0)
+ $this->fetch($this->_redirectaddr); // the redirect has changed the request method from post to get
+ else
+ $this->submit($this->_redirectaddr, $formvars, $formfiles);
+ }
+ }
+ }
+
+ if ($this->_framedepth < $this->maxframes && count($this->_frameurls) > 0) {
+ $frameurls = $this->_frameurls;
+ $this->_frameurls = array();
+
+ while (list(, $frameurl) = each($frameurls)) {
+ if ($this->_framedepth < $this->maxframes) {
+ $this->fetch($frameurl);
+ $this->_framedepth++;
+ } else
+ break;
+ }
+ }
+
+ } else {
+ return false;
+ }
+ return $this;
+ break;
+ default:
+ // not a valid protocol
+ $this->error = 'Invalid protocol "' . $URI_PARTS["scheme"] . '"\n';
+ return false;
+ break;
+ }
+ return $this;
+ }
+
+ /*======================================================================*\
+ Function: fetchlinks
+ Purpose: fetch the links from a web page
+ Input: $URI where you are fetching from
+ Output: $this->results an array of the URLs
+ \*======================================================================*/
+
+ function fetchlinks($URI)
+ {
+ if ($this->fetch($URI) !== false) {
+ if ($this->lastredirectaddr)
+ $URI = $this->lastredirectaddr;
+ if (is_array($this->results)) {
+ for ($x = 0; $x < count($this->results); $x++)
+ $this->results[$x] = $this->_striplinks($this->results[$x]);
+ } else
+ $this->results = $this->_striplinks($this->results);
+
+ if ($this->expandlinks)
+ $this->results = $this->_expandlinks($this->results, $URI);
+ return $this;
+ } else
+ return false;
+ }
+
+ /*======================================================================*\
+ Function: fetchform
+ Purpose: fetch the form elements from a web page
+ Input: $URI where you are fetching from
+ Output: $this->results the resulting html form
+ \*======================================================================*/
+
+ function fetchform($URI)
+ {
+
+ if ($this->fetch($URI) !== false) {
+
+ if (is_array($this->results)) {
+ for ($x = 0; $x < count($this->results); $x++)
+ $this->results[$x] = $this->_stripform($this->results[$x]);
+ } else
+ $this->results = $this->_stripform($this->results);
+
+ return $this;
+ } else
+ return false;
+ }
+
+
+ /*======================================================================*\
+ Function: fetchtext
+ Purpose: fetch the text from a web page, stripping the links
+ Input: $URI where you are fetching from
+ Output: $this->results the text from the web page
+ \*======================================================================*/
+
+ function fetchtext($URI)
+ {
+ if ($this->fetch($URI) !== false) {
+ if (is_array($this->results)) {
+ for ($x = 0; $x < count($this->results); $x++)
+ $this->results[$x] = $this->_striptext($this->results[$x]);
+ } else
+ $this->results = $this->_striptext($this->results);
+ return $this;
+ } else
+ return false;
+ }
+
+ /*======================================================================*\
+ Function: submitlinks
+ Purpose: grab links from a form submission
+ Input: $URI where you are submitting from
+ Output: $this->results an array of the links from the post
+ \*======================================================================*/
+
+ function submitlinks($URI, $formvars = "", $formfiles = "")
+ {
+ if ($this->submit($URI, $formvars, $formfiles) !== false) {
+ if ($this->lastredirectaddr)
+ $URI = $this->lastredirectaddr;
+ if (is_array($this->results)) {
+ for ($x = 0; $x < count($this->results); $x++) {
+ $this->results[$x] = $this->_striplinks($this->results[$x]);
+ if ($this->expandlinks)
+ $this->results[$x] = $this->_expandlinks($this->results[$x], $URI);
+ }
+ } else {
+ $this->results = $this->_striplinks($this->results);
+ if ($this->expandlinks)
+ $this->results = $this->_expandlinks($this->results, $URI);
+ }
+ return $this;
+ } else
+ return false;
+ }
+
+ /*======================================================================*\
+ Function: submittext
+ Purpose: grab text from a form submission
+ Input: $URI where you are submitting from
+ Output: $this->results the text from the web page
+ \*======================================================================*/
+
+ function submittext($URI, $formvars = "", $formfiles = "")
+ {
+ if ($this->submit($URI, $formvars, $formfiles) !== false) {
+ if ($this->lastredirectaddr)
+ $URI = $this->lastredirectaddr;
+ if (is_array($this->results)) {
+ for ($x = 0; $x < count($this->results); $x++) {
+ $this->results[$x] = $this->_striptext($this->results[$x]);
+ if ($this->expandlinks)
+ $this->results[$x] = $this->_expandlinks($this->results[$x], $URI);
+ }
+ } else {
+ $this->results = $this->_striptext($this->results);
+ if ($this->expandlinks)
+ $this->results = $this->_expandlinks($this->results, $URI);
+ }
+ return $this;
+ } else
+ return false;
+ }
+
+
+ /*======================================================================*\
+ Function: set_submit_multipart
+ Purpose: Set the form submission content type to
+ multipart/form-data
+ \*======================================================================*/
+ function set_submit_multipart()
+ {
+ $this->_submit_type = "multipart/form-data";
+ return $this;
+ }
+
+
+ /*======================================================================*\
+ Function: set_submit_normal
+ Purpose: Set the form submission content type to
+ application/x-www-form-urlencoded
+ \*======================================================================*/
+ function set_submit_normal()
+ {
+ $this->_submit_type = "application/x-www-form-urlencoded";
+ return $this;
+ }
+
+
+
+
+ /*======================================================================*\
+ Private functions
+ \*======================================================================*/
+
+
+ /*======================================================================*\
+ Function: _striplinks
+ Purpose: strip the hyperlinks from an html document
+ Input: $document document to strip.
+ Output: $match an array of the links
+ \*======================================================================*/
+
+ function _striplinks($document)
+ {
+ preg_match_all("'<\s*a\s.*?href\s*=\s* # find ]+)) # if quote found, match up to next matching
# quote, otherwise match up to next space
- 'isx",$document,$links);
-
-
- // catenate the non-empty matches from the conditional subpattern
-
- while(list($key,$val) = each($links[2]))
- {
- if(!empty($val))
- $match[] = $val;
- }
-
- while(list($key,$val) = each($links[3]))
- {
- if(!empty($val))
- $match[] = $val;
- }
-
- // return the links
- return $match;
- }
-
-/*======================================================================*\
- Function: _stripform
- Purpose: strip the form elements from an html document
- Input: $document document to strip.
- Output: $match an array of the links
-\*======================================================================*/
-
- function _stripform($document)
- {
- preg_match_all("'<\/?(FORM|INPUT|SELECT|TEXTAREA|(OPTION))[^<>]*>(?(2)(.*(?=<\/?(option|select)[^<>]*>[\r\n]*)|(?=[\r\n]*))|(?=[\r\n]*))'Usi",$document,$elements);
-
- // catenate the matches
- $match = implode("\r\n",$elements[0]);
-
- // return the links
- return $match;
- }
-
-
-
-/*======================================================================*\
- Function: _striptext
- Purpose: strip the text from an html document
- Input: $document document to strip.
- Output: $text the resulting text
-\*======================================================================*/
-
- function _striptext($document)
- {
-
- // I didn't use preg eval (//e) since that is only available in PHP 4.0.
- // so, list your entities one by one here. I included some of the
- // more common ones.
-
- $search = array("''si", // strip out javascript
- "'<[\/\!]*?[^<>]*?>'si", // strip out html tags
- "'([\r\n])[\s]+'", // strip out white space
- "'&(quot|#34|#034|#x22);'i", // replace html entities
- "'&(amp|#38|#038|#x26);'i", // added hexadecimal values
- "'&(lt|#60|#060|#x3c);'i",
- "'&(gt|#62|#062|#x3e);'i",
- "'&(nbsp|#160|#xa0);'i",
- "'&(iexcl|#161);'i",
- "'&(cent|#162);'i",
- "'&(pound|#163);'i",
- "'&(copy|#169);'i",
- "'&(reg|#174);'i",
- "'&(deg|#176);'i",
- "'&(#39|#039|#x27);'",
- "'&(euro|#8364);'i", // europe
- "'&a(uml|UML);'", // german
- "'&o(uml|UML);'",
- "'&u(uml|UML);'",
- "'&A(uml|UML);'",
- "'&O(uml|UML);'",
- "'&U(uml|UML);'",
- "'ß'i",
- );
- $replace = array( "",
- "",
- "\\1",
- "\"",
- "&",
- "<",
- ">",
- " ",
- chr(161),
- chr(162),
- chr(163),
- chr(169),
- chr(174),
- chr(176),
- chr(39),
- chr(128),
- "ä",
- "ö",
- "ü",
- "Ä",
- "Ö",
- "Ü",
- "ß",
- );
-
- $text = preg_replace($search,$replace,$document);
-
- return $text;
- }
-
-/*======================================================================*\
- Function: _expandlinks
- Purpose: expand each link into a fully qualified URL
- Input: $links the links to qualify
- $URI the full URI to get the base from
- Output: $expandedLinks the expanded links
-\*======================================================================*/
-
- function _expandlinks($links,$URI)
- {
-
- preg_match("/^[^\?]+/",$URI,$match);
-
- $match = preg_replace("|/[^\/\.]+\.[^\/\.]+$|","",$match[0]);
- $match = preg_replace("|/$|","",$match);
- $match_part = parse_url($match);
- $match_root =
- $match_part["scheme"]."://".$match_part["host"];
-
- $search = array( "|^http://".preg_quote($this->host)."|i",
- "|^(\/)|i",
- "|^(?!http://)(?!mailto:)|i",
- "|/\./|",
- "|/[^\/]+/\.\./|"
- );
-
- $replace = array( "",
- $match_root."/",
- $match."/",
- "/",
- "/"
- );
-
- $expandedLinks = preg_replace($search,$replace,$links);
-
- return $expandedLinks;
- }
-
-/*======================================================================*\
- Function: _httprequest
- Purpose: go get the http data from the server
- Input: $url the url to fetch
- $fp the current open file pointer
- $URI the full URI
- $body body contents to send if any (POST)
- Output:
-\*======================================================================*/
-
- function _httprequest($url,$fp,$URI,$http_method,$content_type="",$body="")
- {
- $cookie_headers = '';
- if($this->passcookies && $this->_redirectaddr)
- $this->setcookies();
-
- $URI_PARTS = parse_url($URI);
- if(empty($url))
- $url = "/";
- $headers = $http_method." ".$url." ".$this->_httpversion."\r\n";
- if(!empty($this->agent))
- $headers .= "User-Agent: ".$this->agent."\r\n";
- if(!empty($this->host) && !isset($this->rawheaders['Host'])) {
- $headers .= "Host: ".$this->host;
- if(!empty($this->port))
- $headers .= ":".$this->port;
- $headers .= "\r\n";
- }
- if(!empty($this->accept))
- $headers .= "Accept: ".$this->accept."\r\n";
- if(!empty($this->referer))
- $headers .= "Referer: ".$this->referer."\r\n";
- if(!empty($this->cookies))
- {
- if(!is_array($this->cookies))
- $this->cookies = (array)$this->cookies;
-
- reset($this->cookies);
- if ( count($this->cookies) > 0 ) {
- $cookie_headers .= 'Cookie: ';
- foreach ( $this->cookies as $cookieKey => $cookieVal ) {
- $cookie_headers .= $cookieKey."=".urlencode($cookieVal)."; ";
- }
- $headers .= substr($cookie_headers,0,-2) . "\r\n";
- }
- }
- if(!empty($this->rawheaders))
- {
- if(!is_array($this->rawheaders))
- $this->rawheaders = (array)$this->rawheaders;
- while(list($headerKey,$headerVal) = each($this->rawheaders))
- $headers .= $headerKey.": ".$headerVal."\r\n";
- }
- if(!empty($content_type)) {
- $headers .= "Content-type: $content_type";
- if ($content_type == "multipart/form-data")
- $headers .= "; boundary=".$this->_mime_boundary;
- $headers .= "\r\n";
- }
- if(!empty($body))
- $headers .= "Content-length: ".strlen($body)."\r\n";
- if(!empty($this->user) || !empty($this->pass))
- $headers .= "Authorization: Basic ".base64_encode($this->user.":".$this->pass)."\r\n";
-
- //add proxy auth headers
- if(!empty($this->proxy_user))
- $headers .= 'Proxy-Authorization: ' . 'Basic ' . base64_encode($this->proxy_user . ':' . $this->proxy_pass)."\r\n";
-
-
- $headers .= "\r\n";
-
- // set the read timeout if needed
- if ($this->read_timeout > 0)
- socket_set_timeout($fp, $this->read_timeout);
- $this->timed_out = false;
-
- fwrite($fp,$headers.$body,strlen($headers.$body));
-
- $this->_redirectaddr = false;
- unset($this->headers);
-
- while($currentHeader = fgets($fp,$this->_maxlinelen))
- {
- if ($this->read_timeout > 0 && $this->_check_timeout($fp))
- {
- $this->status=-100;
- return false;
- }
-
- if($currentHeader == "\r\n")
- break;
-
- // if a header begins with Location: or URI:, set the redirect
- if(preg_match("/^(Location:|URI:)/i",$currentHeader))
- {
- // get URL portion of the redirect
- preg_match("/^(Location:|URI:)[ ]+(.*)/i",chop($currentHeader),$matches);
- // look for :// in the Location header to see if hostname is included
- if(!preg_match("|\:\/\/|",$matches[2]))
- {
- // no host in the path, so prepend
- $this->_redirectaddr = $URI_PARTS["scheme"]."://".$this->host.":".$this->port;
- // eliminate double slash
- if(!preg_match("|^/|",$matches[2]))
- $this->_redirectaddr .= "/".$matches[2];
- else
- $this->_redirectaddr .= $matches[2];
- }
- else
- $this->_redirectaddr = $matches[2];
- }
-
- if(preg_match("|^HTTP/|",$currentHeader))
- {
- if(preg_match("|^HTTP/[^\s]*\s(.*?)\s|",$currentHeader, $status))
- {
- $this->status= $status[1];
- }
- $this->response_code = $currentHeader;
- }
-
- $this->headers[] = $currentHeader;
- }
-
- $results = '';
- do {
- $_data = fread($fp, $this->maxlength);
- if (strlen($_data) == 0) {
- break;
- }
- $results .= $_data;
- } while(true);
-
- if ($this->read_timeout > 0 && $this->_check_timeout($fp))
- {
- $this->status=-100;
- return false;
- }
-
- // check if there is a a redirect meta tag
-
- if(preg_match("' ]*?content[\s]*=[\s]*[\"\']?\d+;[\s]*URL[\s]*=[\s]*([^\"\']*?)[\"\']?>'i",$results,$match))
-
- {
- $this->_redirectaddr = $this->_expandlinks($match[1],$URI);
- }
-
- // have we hit our frame depth and is there frame src to fetch?
- if(($this->_framedepth < $this->maxframes) && preg_match_all("' ]+)'i",$results,$match))
- {
- $this->results[] = $results;
- for($x=0; $x_frameurls[] = $this->_expandlinks($match[1][$x],$URI_PARTS["scheme"]."://".$this->host);
- }
- // have we already fetched framed content?
- elseif(is_array($this->results))
- $this->results[] = $results;
- // no framed content
- else
- $this->results = $results;
-
- return true;
- }
-
-/*======================================================================*\
- Function: _httpsrequest
- Purpose: go get the https data from the server using curl
- Input: $url the url to fetch
- $URI the full URI
- $body body contents to send if any (POST)
- Output:
-\*======================================================================*/
-
- function _httpsrequest($url,$URI,$http_method,$content_type="",$body="")
- {
- if($this->passcookies && $this->_redirectaddr)
- $this->setcookies();
-
- $headers = array();
-
- $URI_PARTS = parse_url($URI);
- if(empty($url))
- $url = "/";
- // GET ... header not needed for curl
- //$headers[] = $http_method." ".$url." ".$this->_httpversion;
- if(!empty($this->agent))
- $headers[] = "User-Agent: ".$this->agent;
- if(!empty($this->host))
- if(!empty($this->port))
- $headers[] = "Host: ".$this->host.":".$this->port;
- else
- $headers[] = "Host: ".$this->host;
- if(!empty($this->accept))
- $headers[] = "Accept: ".$this->accept;
- if(!empty($this->referer))
- $headers[] = "Referer: ".$this->referer;
- if(!empty($this->cookies))
- {
- if(!is_array($this->cookies))
- $this->cookies = (array)$this->cookies;
-
- reset($this->cookies);
- if ( count($this->cookies) > 0 ) {
- $cookie_str = 'Cookie: ';
- foreach ( $this->cookies as $cookieKey => $cookieVal ) {
- $cookie_str .= $cookieKey."=".urlencode($cookieVal)."; ";
- }
- $headers[] = substr($cookie_str,0,-2);
- }
- }
- if(!empty($this->rawheaders))
- {
- if(!is_array($this->rawheaders))
- $this->rawheaders = (array)$this->rawheaders;
- while(list($headerKey,$headerVal) = each($this->rawheaders))
- $headers[] = $headerKey.": ".$headerVal;
- }
- if(!empty($content_type)) {
- if ($content_type == "multipart/form-data")
- $headers[] = "Content-type: $content_type; boundary=".$this->_mime_boundary;
- else
- $headers[] = "Content-type: $content_type";
- }
- if(!empty($body))
- $headers[] = "Content-length: ".strlen($body);
- if(!empty($this->user) || !empty($this->pass))
- $headers[] = "Authorization: BASIC ".base64_encode($this->user.":".$this->pass);
-
- for($curr_header = 0; $curr_header < count($headers); $curr_header++) {
- $safer_header = strtr( $headers[$curr_header], "\"", " " );
- $cmdline_params .= " -H \"".$safer_header."\"";
- }
-
- if(!empty($body))
- $cmdline_params .= " -d \"$body\"";
-
- if($this->read_timeout > 0)
- $cmdline_params .= " -m ".$this->read_timeout;
-
- $headerfile = tempnam($temp_dir, "sno");
-
- exec($this->curl_path." -k -D \"$headerfile\"".$cmdline_params." \"".escapeshellcmd($URI)."\"",$results,$return);
-
- if($return)
- {
- $this->error = "Error: cURL could not retrieve the document, error $return.";
- return false;
- }
-
-
- $results = implode("\r\n",$results);
-
- $result_headers = file("$headerfile");
-
- $this->_redirectaddr = false;
- unset($this->headers);
-
- for($currentHeader = 0; $currentHeader < count($result_headers); $currentHeader++)
- {
-
- // if a header begins with Location: or URI:, set the redirect
- if(preg_match("/^(Location: |URI: )/i",$result_headers[$currentHeader]))
- {
- // get URL portion of the redirect
- preg_match("/^(Location: |URI:)\s+(.*)/",chop($result_headers[$currentHeader]),$matches);
- // look for :// in the Location header to see if hostname is included
- if(!preg_match("|\:\/\/|",$matches[2]))
- {
- // no host in the path, so prepend
- $this->_redirectaddr = $URI_PARTS["scheme"]."://".$this->host.":".$this->port;
- // eliminate double slash
- if(!preg_match("|^/|",$matches[2]))
- $this->_redirectaddr .= "/".$matches[2];
- else
- $this->_redirectaddr .= $matches[2];
- }
- else
- $this->_redirectaddr = $matches[2];
- }
-
- if(preg_match("|^HTTP/|",$result_headers[$currentHeader]))
- $this->response_code = $result_headers[$currentHeader];
-
- $this->headers[] = $result_headers[$currentHeader];
- }
-
- // check if there is a a redirect meta tag
-
- if(preg_match("' ]*?content[\s]*=[\s]*[\"\']?\d+;[\s]*URL[\s]*=[\s]*([^\"\']*?)[\"\']?>'i",$results,$match))
- {
- $this->_redirectaddr = $this->_expandlinks($match[1],$URI);
- }
-
- // have we hit our frame depth and is there frame src to fetch?
- if(($this->_framedepth < $this->maxframes) && preg_match_all("' ]+)'i",$results,$match))
- {
- $this->results[] = $results;
- for($x=0; $x_frameurls[] = $this->_expandlinks($match[1][$x],$URI_PARTS["scheme"]."://".$this->host);
- }
- // have we already fetched framed content?
- elseif(is_array($this->results))
- $this->results[] = $results;
- // no framed content
- else
- $this->results = $results;
-
- unlink("$headerfile");
-
- return true;
- }
-
-/*======================================================================*\
- Function: setcookies()
- Purpose: set cookies for a redirection
-\*======================================================================*/
-
- function setcookies()
- {
- for($x=0; $xheaders); $x++)
- {
- if(preg_match('/^set-cookie:[\s]+([^=]+)=([^;]+)/i', $this->headers[$x],$match))
- $this->cookies[$match[1]] = urldecode($match[2]);
- }
- }
-
-
-/*======================================================================*\
- Function: _check_timeout
- Purpose: checks whether timeout has occurred
- Input: $fp file pointer
-\*======================================================================*/
-
- function _check_timeout($fp)
- {
- if ($this->read_timeout > 0) {
- $fp_status = socket_get_status($fp);
- if ($fp_status["timed_out"]) {
- $this->timed_out = true;
- return true;
- }
- }
- return false;
- }
-
-/*======================================================================*\
- Function: _connect
- Purpose: make a socket connection
- Input: $fp file pointer
-\*======================================================================*/
-
- function _connect(&$fp)
- {
- if(!empty($this->proxy_host) && !empty($this->proxy_port))
- {
- $this->_isproxy = true;
-
- $host = $this->proxy_host;
- $port = $this->proxy_port;
- }
- else
- {
- $host = $this->host;
- $port = $this->port;
- }
-
- $this->status = 0;
-
- if($fp = fsockopen(
- $host,
- $port,
- $errno,
- $errstr,
- $this->_fp_timeout
- ))
- {
- // socket connection succeeded
-
- return true;
- }
- else
- {
- // socket connection failed
- $this->status = $errno;
- switch($errno)
- {
- case -3:
- $this->error="socket creation failed (-3)";
- case -4:
- $this->error="dns lookup failure (-4)";
- case -5:
- $this->error="connection refused or timed out (-5)";
- default:
- $this->error="connection failed (".$errno.")";
- }
- return false;
- }
- }
-/*======================================================================*\
- Function: _disconnect
- Purpose: disconnect a socket connection
- Input: $fp file pointer
-\*======================================================================*/
-
- function _disconnect($fp)
- {
- return(fclose($fp));
- }
-
-
-/*======================================================================*\
- Function: _prepare_post_body
- Purpose: Prepare post body according to encoding type
- Input: $formvars - form variables
- $formfiles - form upload files
- Output: post body
-\*======================================================================*/
-
- function _prepare_post_body($formvars, $formfiles)
- {
- settype($formvars, "array");
- settype($formfiles, "array");
- $postdata = '';
-
- if (count($formvars) == 0 && count($formfiles) == 0)
- return;
-
- switch ($this->_submit_type) {
- case "application/x-www-form-urlencoded":
- reset($formvars);
- while(list($key,$val) = each($formvars)) {
- if (is_array($val) || is_object($val)) {
- while (list($cur_key, $cur_val) = each($val)) {
- $postdata .= urlencode($key)."[]=".urlencode($cur_val)."&";
- }
- } else
- $postdata .= urlencode($key)."=".urlencode($val)."&";
- }
- break;
-
- case "multipart/form-data":
- $this->_mime_boundary = "Snoopy".md5(uniqid(microtime()));
-
- reset($formvars);
- while(list($key,$val) = each($formvars)) {
- if (is_array($val) || is_object($val)) {
- while (list($cur_key, $cur_val) = each($val)) {
- $postdata .= "--".$this->_mime_boundary."\r\n";
- $postdata .= "Content-Disposition: form-data; name=\"$key\[\]\"\r\n\r\n";
- $postdata .= "$cur_val\r\n";
- }
- } else {
- $postdata .= "--".$this->_mime_boundary."\r\n";
- $postdata .= "Content-Disposition: form-data; name=\"$key\"\r\n\r\n";
- $postdata .= "$val\r\n";
- }
- }
-
- reset($formfiles);
- while (list($field_name, $file_names) = each($formfiles)) {
- settype($file_names, "array");
- while (list(, $file_name) = each($file_names)) {
- if (!is_readable($file_name)) continue;
-
- $fp = fopen($file_name, "r");
- $file_content = fread($fp, filesize($file_name));
- fclose($fp);
- $base_name = basename($file_name);
-
- $postdata .= "--".$this->_mime_boundary."\r\n";
- $postdata .= "Content-Disposition: form-data; name=\"$field_name\"; filename=\"$base_name\"\r\n\r\n";
- $postdata .= "$file_content\r\n";
- }
- }
- $postdata .= "--".$this->_mime_boundary."--\r\n";
- break;
- }
-
- return $postdata;
- }
+ 'isx", $document, $links);
+
+
+ // catenate the non-empty matches from the conditional subpattern
+
+ while (list($key, $val) = each($links[2])) {
+ if (!empty($val))
+ $match[] = $val;
+ }
+
+ while (list($key, $val) = each($links[3])) {
+ if (!empty($val))
+ $match[] = $val;
+ }
+
+ // return the links
+ return $match;
+ }
+
+ /*======================================================================*\
+ Function: _stripform
+ Purpose: strip the form elements from an html document
+ Input: $document document to strip.
+ Output: $match an array of the links
+ \*======================================================================*/
+
+ function _stripform($document)
+ {
+ preg_match_all("'<\/?(FORM|INPUT|SELECT|TEXTAREA|(OPTION))[^<>]*>(?(2)(.*(?=<\/?(option|select)[^<>]*>[\r\n]*)|(?=[\r\n]*))|(?=[\r\n]*))'Usi", $document, $elements);
+
+ // catenate the matches
+ $match = implode("\r\n", $elements[0]);
+
+ // return the links
+ return $match;
+ }
+
+
+ /*======================================================================*\
+ Function: _striptext
+ Purpose: strip the text from an html document
+ Input: $document document to strip.
+ Output: $text the resulting text
+ \*======================================================================*/
+
+ function _striptext($document)
+ {
+
+ // I didn't use preg eval (//e) since that is only available in PHP 4.0.
+ // so, list your entities one by one here. I included some of the
+ // more common ones.
+
+ $search = array("''si", // strip out javascript
+ "'<[\/\!]*?[^<>]*?>'si", // strip out html tags
+ "'([\r\n])[\s]+'", // strip out white space
+ "'&(quot|#34|#034|#x22);'i", // replace html entities
+ "'&(amp|#38|#038|#x26);'i", // added hexadecimal values
+ "'&(lt|#60|#060|#x3c);'i",
+ "'&(gt|#62|#062|#x3e);'i",
+ "'&(nbsp|#160|#xa0);'i",
+ "'&(iexcl|#161);'i",
+ "'&(cent|#162);'i",
+ "'&(pound|#163);'i",
+ "'&(copy|#169);'i",
+ "'&(reg|#174);'i",
+ "'&(deg|#176);'i",
+ "'&(#39|#039|#x27);'",
+ "'&(euro|#8364);'i", // europe
+ "'&a(uml|UML);'", // german
+ "'&o(uml|UML);'",
+ "'&u(uml|UML);'",
+ "'&A(uml|UML);'",
+ "'&O(uml|UML);'",
+ "'&U(uml|UML);'",
+ "'ß'i",
+ );
+ $replace = array("",
+ "",
+ "\\1",
+ "\"",
+ "&",
+ "<",
+ ">",
+ " ",
+ chr(161),
+ chr(162),
+ chr(163),
+ chr(169),
+ chr(174),
+ chr(176),
+ chr(39),
+ chr(128),
+ "ä",
+ "ö",
+ "ü",
+ "Ä",
+ "Ö",
+ "Ü",
+ "ß",
+ );
+
+ $text = preg_replace($search, $replace, $document);
+
+ return $text;
+ }
+
+ /*======================================================================*\
+ Function: _expandlinks
+ Purpose: expand each link into a fully qualified URL
+ Input: $links the links to qualify
+ $URI the full URI to get the base from
+ Output: $expandedLinks the expanded links
+ \*======================================================================*/
+
+ function _expandlinks($links, $URI)
+ {
+
+ preg_match("/^[^\?]+/", $URI, $match);
+
+ $match = preg_replace("|/[^\/\.]+\.[^\/\.]+$|", "", $match[0]);
+ $match = preg_replace("|/$|", "", $match);
+ $match_part = parse_url($match);
+ $match_root =
+ $match_part["scheme"] . "://" . $match_part["host"];
+
+ $search = array("|^http://" . preg_quote($this->host) . "|i",
+ "|^(\/)|i",
+ "|^(?!http://)(?!mailto:)|i",
+ "|/\./|",
+ "|/[^\/]+/\.\./|"
+ );
+
+ $replace = array("",
+ $match_root . "/",
+ $match . "/",
+ "/",
+ "/"
+ );
+
+ $expandedLinks = preg_replace($search, $replace, $links);
+
+ return $expandedLinks;
+ }
+
+ /*======================================================================*\
+ Function: _httprequest
+ Purpose: go get the http(s) data from the server
+ Input: $url the url to fetch
+ $fp the current open file pointer
+ $URI the full URI
+ $body body contents to send if any (POST)
+ Output:
+ \*======================================================================*/
+
+ function _httprequest($url, $fp, $URI, $http_method, $content_type = "", $body = "")
+ {
+ $cookie_headers = '';
+ if ($this->passcookies && $this->_redirectaddr)
+ $this->setcookies();
+
+ $URI_PARTS = parse_url($URI);
+ if (empty($url))
+ $url = "/";
+ $headers = $http_method . " " . $url . " " . $this->_httpversion . "\r\n";
+ if (!empty($this->host) && !isset($this->rawheaders['Host'])) {
+ $headers .= "Host: " . $this->host;
+ if (!empty($this->port) && $this->port != '80')
+ $headers .= ":" . $this->port;
+ $headers .= "\r\n";
+ }
+ if (!empty($this->agent))
+ $headers .= "User-Agent: " . $this->agent . "\r\n";
+ if (!empty($this->accept))
+ $headers .= "Accept: " . $this->accept . "\r\n";
+ if ($this->use_gzip) {
+ // make sure PHP was built with --with-zlib
+ // and we can handle gzipp'ed data
+ if (function_exists('gzinflate')) {
+ $headers .= "Accept-encoding: gzip\r\n";
+ } else {
+ trigger_error(
+ "use_gzip is on, but PHP was built without zlib support." .
+ " Requesting file(s) without gzip encoding.",
+ E_USER_NOTICE);
+ }
+ }
+ if (!empty($this->referer))
+ $headers .= "Referer: " . $this->referer . "\r\n";
+ if (!empty($this->cookies)) {
+ if (!is_array($this->cookies))
+ $this->cookies = (array)$this->cookies;
+
+ reset($this->cookies);
+ if (count($this->cookies) > 0) {
+ $cookie_headers .= 'Cookie: ';
+ foreach ($this->cookies as $cookieKey => $cookieVal) {
+ $cookie_headers .= $cookieKey . "=" . urlencode($cookieVal) . "; ";
+ }
+ $headers .= substr($cookie_headers, 0, -2) . "\r\n";
+ }
+ }
+ if (!empty($this->rawheaders)) {
+ if (!is_array($this->rawheaders))
+ $this->rawheaders = (array)$this->rawheaders;
+ while (list($headerKey, $headerVal) = each($this->rawheaders))
+ $headers .= $headerKey . ": " . $headerVal . "\r\n";
+ }
+ if (!empty($content_type)) {
+ $headers .= "Content-type: $content_type";
+ if ($content_type == "multipart/form-data")
+ $headers .= "; boundary=" . $this->_mime_boundary;
+ $headers .= "\r\n";
+ }
+ if (!empty($body))
+ $headers .= "Content-length: " . strlen($body) . "\r\n";
+ if (!empty($this->user) || !empty($this->pass))
+ $headers .= "Authorization: Basic " . base64_encode($this->user . ":" . $this->pass) . "\r\n";
+
+ //add proxy auth headers
+ if (!empty($this->proxy_user))
+ $headers .= 'Proxy-Authorization: ' . 'Basic ' . base64_encode($this->proxy_user . ':' . $this->proxy_pass) . "\r\n";
+
+
+ $headers .= "\r\n";
+
+ // set the read timeout if needed
+ if ($this->read_timeout > 0)
+ socket_set_timeout($fp, $this->read_timeout);
+ $this->timed_out = false;
+
+ fwrite($fp, $headers . $body, strlen($headers . $body));
+
+ $this->_redirectaddr = false;
+ unset($this->headers);
+
+ // content was returned gzip encoded?
+ $is_gzipped = false;
+
+ while ($currentHeader = fgets($fp, $this->_maxlinelen)) {
+ if ($this->read_timeout > 0 && $this->_check_timeout($fp)) {
+ $this->status = -100;
+ return false;
+ }
+
+ if ($currentHeader == "\r\n")
+ break;
+
+ // if a header begins with Location: or URI:, set the redirect
+ if (preg_match("/^(Location:|URI:)/i", $currentHeader)) {
+ // get URL portion of the redirect
+ preg_match("/^(Location:|URI:)[ ]+(.*)/i", chop($currentHeader), $matches);
+ // look for :// in the Location header to see if hostname is included
+ if (!preg_match("|\:\/\/|", $matches[2])) {
+ // no host in the path, so prepend
+ $this->_redirectaddr = $URI_PARTS["scheme"] . "://" . $this->host . ":" . $this->port;
+ // eliminate double slash
+ if (!preg_match("|^/|", $matches[2]))
+ $this->_redirectaddr .= "/" . $matches[2];
+ else
+ $this->_redirectaddr .= $matches[2];
+ } else
+ $this->_redirectaddr = $matches[2];
+ }
+
+ if (preg_match("|^HTTP/|", $currentHeader)) {
+ if (preg_match("|^HTTP/[^\s]*\s(.*?)\s|", $currentHeader, $status)) {
+ $this->status = $status[1];
+ }
+ $this->response_code = $currentHeader;
+ }
+
+ if (preg_match("/Content-Encoding: gzip/", $currentHeader)) {
+ $is_gzipped = true;
+ }
+
+ $this->headers[] = $currentHeader;
+ }
+
+ $results = '';
+ do {
+ $_data = fread($fp, $this->maxlength);
+ if (strlen($_data) == 0) {
+ break;
+ }
+ $results .= $_data;
+ } while (true);
+
+ // gunzip
+ if ($is_gzipped) {
+ // per http://www.php.net/manual/en/function.gzencode.php
+ $results = substr($results, 10);
+ $results = gzinflate($results);
+ }
+
+ if ($this->read_timeout > 0 && $this->_check_timeout($fp)) {
+ $this->status = -100;
+ return false;
+ }
+
+ // check if there is a a redirect meta tag
+
+ if (preg_match("' ]*?content[\s]*=[\s]*[\"\']?\d+;[\s]*URL[\s]*=[\s]*([^\"\']*?)[\"\']?>'i", $results, $match)) {
+ $this->_redirectaddr = $this->_expandlinks($match[1], $URI);
+ }
+
+ // have we hit our frame depth and is there frame src to fetch?
+ if (($this->_framedepth < $this->maxframes) && preg_match_all("' ]+)'i", $results, $match)) {
+ $this->results[] = $results;
+ for ($x = 0; $x < count($match[1]); $x++)
+ $this->_frameurls[] = $this->_expandlinks($match[1][$x], $URI_PARTS["scheme"] . "://" . $this->host);
+ } // have we already fetched framed content?
+ elseif (is_array($this->results))
+ $this->results[] = $results;
+ // no framed content
+ else
+ $this->results = $results;
+
+ return $this;
+ }
+
+ /*======================================================================*\
+ Function: setcookies()
+ Purpose: set cookies for a redirection
+ \*======================================================================*/
+
+ function setcookies()
+ {
+ for ($x = 0; $x < count($this->headers); $x++) {
+ if (preg_match('/^set-cookie:[\s]+([^=]+)=([^;]+)/i', $this->headers[$x], $match))
+ $this->cookies[$match[1]] = urldecode($match[2]);
+ }
+ return $this;
+ }
+
+
+ /*======================================================================*\
+ Function: _check_timeout
+ Purpose: checks whether timeout has occurred
+ Input: $fp file pointer
+ \*======================================================================*/
+
+ function _check_timeout($fp)
+ {
+ if ($this->read_timeout > 0) {
+ $fp_status = socket_get_status($fp);
+ if ($fp_status["timed_out"]) {
+ $this->timed_out = true;
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /*======================================================================*\
+ Function: _connect
+ Purpose: make a socket connection
+ Input: $fp file pointer
+ \*======================================================================*/
+
+ function _connect(&$fp)
+ {
+ if (!empty($this->proxy_host) && !empty($this->proxy_port)) {
+ $this->_isproxy = true;
+
+ $host = $this->proxy_host;
+ $port = $this->proxy_port;
+
+ if ($this->scheme == 'https') {
+ trigger_error("HTTPS connections over proxy are currently not supported", E_USER_ERROR);
+ exit;
+ }
+ } else {
+ $host = $this->host;
+ $port = $this->port;
+ }
+
+ $this->status = 0;
+
+ $context_opts = array();
+
+ if ($this->scheme == 'https') {
+ // if cafile or capath is specified, enable certificate
+ // verification (including name checks)
+ if (isset($this->cafile) || isset($this->capath)) {
+ $context_opts['ssl'] = array(
+ 'verify_peer' => true,
+ 'CN_match' => $this->host,
+ 'disable_compression' => true,
+ );
+
+ if (isset($this->cafile))
+ $context_opts['ssl']['cafile'] = $this->cafile;
+ if (isset($this->capath))
+ $context_opts['ssl']['capath'] = $this->capath;
+ }
+
+ $host = 'ssl://' . $host;
+ }
+
+ $context = stream_context_create($context_opts);
+
+ if (version_compare(PHP_VERSION, '5.0.0', '>')) {
+ if($this->scheme == 'http')
+ $host = "tcp://" . $host;
+ $fp = stream_socket_client(
+ "$host:$port",
+ $errno,
+ $errmsg,
+ $this->_fp_timeout,
+ STREAM_CLIENT_CONNECT,
+ $context);
+ } else {
+ $fp = fsockopen(
+ $host,
+ $port,
+ $errno,
+ $errstr,
+ $this->_fp_timeout,
+ $context);
+ }
+
+ if ($fp) {
+ // socket connection succeeded
+ return true;
+ } else {
+ // socket connection failed
+ $this->status = $errno;
+ switch ($errno) {
+ case -3:
+ $this->error = "socket creation failed (-3)";
+ case -4:
+ $this->error = "dns lookup failure (-4)";
+ case -5:
+ $this->error = "connection refused or timed out (-5)";
+ default:
+ $this->error = "connection failed (" . $errno . ")";
+ }
+ return false;
+ }
+ }
+
+ /*======================================================================*\
+ Function: _disconnect
+ Purpose: disconnect a socket connection
+ Input: $fp file pointer
+ \*======================================================================*/
+
+ function _disconnect($fp)
+ {
+ return (fclose($fp));
+ }
+
+
+ /*======================================================================*\
+ Function: _prepare_post_body
+ Purpose: Prepare post body according to encoding type
+ Input: $formvars - form variables
+ $formfiles - form upload files
+ Output: post body
+ \*======================================================================*/
+
+ function _prepare_post_body($formvars, $formfiles)
+ {
+ settype($formvars, "array");
+ settype($formfiles, "array");
+ $postdata = '';
+
+ if (count($formvars) == 0 && count($formfiles) == 0)
+ return;
+
+ switch ($this->_submit_type) {
+ case "application/x-www-form-urlencoded":
+ reset($formvars);
+ while (list($key, $val) = each($formvars)) {
+ if (is_array($val) || is_object($val)) {
+ while (list($cur_key, $cur_val) = each($val)) {
+ $postdata .= urlencode($key) . "[]=" . urlencode($cur_val) . "&";
+ }
+ } else
+ $postdata .= urlencode($key) . "=" . urlencode($val) . "&";
+ }
+ break;
+
+ case "multipart/form-data":
+ $this->_mime_boundary = "Snoopy" . md5(uniqid(microtime()));
+
+ reset($formvars);
+ while (list($key, $val) = each($formvars)) {
+ if (is_array($val) || is_object($val)) {
+ while (list($cur_key, $cur_val) = each($val)) {
+ $postdata .= "--" . $this->_mime_boundary . "\r\n";
+ $postdata .= "Content-Disposition: form-data; name=\"$key\[\]\"\r\n\r\n";
+ $postdata .= "$cur_val\r\n";
+ }
+ } else {
+ $postdata .= "--" . $this->_mime_boundary . "\r\n";
+ $postdata .= "Content-Disposition: form-data; name=\"$key\"\r\n\r\n";
+ $postdata .= "$val\r\n";
+ }
+ }
+
+ reset($formfiles);
+ while (list($field_name, $file_names) = each($formfiles)) {
+ settype($file_names, "array");
+ while (list(, $file_name) = each($file_names)) {
+ if (!is_readable($file_name)) continue;
+
+ $fp = fopen($file_name, "r");
+ $file_content = fread($fp, filesize($file_name));
+ fclose($fp);
+ $base_name = basename($file_name);
+
+ $postdata .= "--" . $this->_mime_boundary . "\r\n";
+ $postdata .= "Content-Disposition: form-data; name=\"$field_name\"; filename=\"$base_name\"\r\n\r\n";
+ $postdata .= "$file_content\r\n";
+ }
+ }
+ $postdata .= "--" . $this->_mime_boundary . "--\r\n";
+ break;
+ }
+
+ return $postdata;
+ }
+
+ /*======================================================================*\
+ Function: getResults
+ Purpose: return the results of a request
+ Output: string results
+ \*======================================================================*/
+
+ function getResults()
+ {
+ return $this->results;
+ }
}
-?>
\ No newline at end of file
+?>
diff --git a/manager/media/rss/rss_cache.inc b/manager/media/rss/rss_cache.inc
old mode 100644
new mode 100755
diff --git a/manager/media/rss/rss_fetch.inc b/manager/media/rss/rss_fetch.inc
old mode 100644
new mode 100755
diff --git a/manager/media/rss/rss_parse.inc b/manager/media/rss/rss_parse.inc
old mode 100644
new mode 100755
diff --git a/manager/media/rss/rss_utils.inc b/manager/media/rss/rss_utils.inc
old mode 100644
new mode 100755
diff --git a/manager/media/script/_session.gif b/manager/media/script/_session.gif
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/css/datepicker.min.css b/manager/media/script/air-datepicker/css/datepicker.min.css
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/datepicker.inc.php b/manager/media/script/air-datepicker/datepicker.inc.php
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/datepicker.min.js b/manager/media/script/air-datepicker/datepicker.min.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/datepicker.tpl b/manager/media/script/air-datepicker/datepicker.tpl
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.cs.js b/manager/media/script/air-datepicker/i18n/datepicker.cs.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.da.js b/manager/media/script/air-datepicker/i18n/datepicker.da.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.de.js b/manager/media/script/air-datepicker/i18n/datepicker.de.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.en.js b/manager/media/script/air-datepicker/i18n/datepicker.en.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.es.js b/manager/media/script/air-datepicker/i18n/datepicker.es.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.fi.js b/manager/media/script/air-datepicker/i18n/datepicker.fi.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.fr.js b/manager/media/script/air-datepicker/i18n/datepicker.fr.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.hu.js b/manager/media/script/air-datepicker/i18n/datepicker.hu.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.ja.js b/manager/media/script/air-datepicker/i18n/datepicker.ja.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.nl.js b/manager/media/script/air-datepicker/i18n/datepicker.nl.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.pl.js b/manager/media/script/air-datepicker/i18n/datepicker.pl.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.pt-BR.js b/manager/media/script/air-datepicker/i18n/datepicker.pt-BR.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.pt.js b/manager/media/script/air-datepicker/i18n/datepicker.pt.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.ro.js b/manager/media/script/air-datepicker/i18n/datepicker.ro.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/air-datepicker/i18n/datepicker.zh.js b/manager/media/script/air-datepicker/i18n/datepicker.zh.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/bin/viewport.js b/manager/media/script/bin/viewport.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/bootstrap/js/bootstrap.min.js b/manager/media/script/bootstrap/js/bootstrap.min.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/gridster/jquery.gridster.css b/manager/media/script/gridster/jquery.gridster.css
old mode 100644
new mode 100755
diff --git a/manager/media/script/gridster/jquery.gridster.min.js b/manager/media/script/gridster/jquery.gridster.min.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/jquery.nucontextmenu.js b/manager/media/script/jquery.nucontextmenu.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/jquery.quicksearch.js b/manager/media/script/jquery.quicksearch.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/jquery/jquery.min.js b/manager/media/script/jquery/jquery.min.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/mootools/moodx.js b/manager/media/script/mootools/moodx.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/mootools/mootools-info.txt b/manager/media/script/mootools/mootools-info.txt
old mode 100644
new mode 100755
diff --git a/manager/media/script/mootools/mootools.js b/manager/media/script/mootools/mootools.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/multifile.js b/manager/media/script/multifile.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/session.js b/manager/media/script/session.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/spectrum/spectrum.evo.min.js b/manager/media/script/spectrum/spectrum.evo.min.js
new file mode 100755
index 0000000000..de5f7499f5
--- /dev/null
+++ b/manager/media/script/spectrum/spectrum.evo.min.js
@@ -0,0 +1 @@
+!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports&&"object"==typeof module?module.exports=t(require("jquery")):t(jQuery)}(function(t,e){"use strict";function r(e,r,n,a){for(var i=[],s=0;s ')}else{i.push(t("
").append(t(' ').attr("title",a.noColorSelectedText)).html())}}return""+i.join("")+"
"}function n(){for(var t=0;t1&&(delete window.localStorage[V],t.each(e,function(t,e){y(e)}))}catch(t){}try{ut=window.localStorage[V].split(";")}catch(t){}}}function y(e){if(K){var r=tinycolor(e).toRgbString();if(!ft[r]&&-1===t.inArray(r,ut))for(ut.push(r);ut.length>ht;)ut.shift();if(V&&window.localStorage)try{window.localStorage[V]=ut.join(";")}catch(t){}}}function w(){var t=[];if(B.showPalette)for(var e=0;eMath.abs(e-a);pt=i?"x":"y"}}else pt=null;var s=!pt||"x"===pt,o=!pt||"y"===pt;s&&(it=parseFloat(t/Q)),o&&(st=parseFloat((J-e)/J)),Vt=!1,B.showAlpha||(ot=1),N()},k,S),zt?(T(zt),j(),Lt=B.preferredFormat||tinycolor(zt).format,y(zt)):j(),L&&A();var n=g?"mousedown.spectrum":"click.spectrum touchstart.spectrum";Mt.delegate(".sp-thumb-el",n,e),Rt.delegate(".sp-thumb-el:nth-child(1)",n,{ignore:!0},e)}();var Wt={show:A,hide:H,toggle:P,reflow:I,option:function(r,n){return r===e?t.extend({},B):n===e?B[r]:(B[r]=n,"preferredFormat"===r&&(Lt=B.preferredFormat),void c())},enable:function(){vt=!1,bt.attr("disabled",!1),Dt.removeClass("sp-disabled")},disable:z,offset:function(t){B.offset=t,I()},set:function(t){T(t),D()},get:O,destroy:function(){bt.show(),Dt.unbind("click.spectrum touchstart.spectrum"),mt.remove(),Et.remove(),p[Wt.id]=null},container:mt};return Wt.id=p.push(Wt)-1,Wt}function s(e,r){var n=e.outerWidth(),a=e.outerHeight(),i=r.outerHeight(),s=e[0].ownerDocument,o=s.documentElement,l=o.clientWidth+t(s).scrollLeft(),c=o.clientHeight+t(s).scrollTop(),f=r.offset();return f.top+=i,f.left-=Math.min(f.left,f.left+n>l&&l>n?Math.abs(f.left+n-l):0),f.top-=Math.min(f.top,f.top+a>c&&c>a?Math.abs(a+i-0):0),f}function o(){}function l(t){t.stopPropagation()}function c(t,e){var r=Array.prototype.slice,n=r.call(arguments,2);return function(){return t.apply(e,n.concat(r.call(arguments)))}}function f(e,r,n,a){function i(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),t.returnValue=!1}function s(t){if(c){if(g&&l.documentMode<9&&!t.button)return o();var n=t.originalEvent&&t.originalEvent.touches&&t.originalEvent.touches[0],a=n&&n.pageX||t.pageX,s=n&&n.pageY||t.pageY,p=Math.max(0,Math.min(a-f.left,h)),b=Math.max(0,Math.min(s-f.top,u));d&&i(t),r.apply(e,[p,b,t])}}function o(){c&&(t(l).unbind(p),t(l.body).removeClass("sp-dragging"),setTimeout(function(){a.apply(e,arguments)},0)),c=!1}r=r||function(){},n=n||function(){},a=a||function(){};var l=document,c=!1,f={},u=0,h=0,d="ontouchstart"in window,p={};p.selectstart=i,p.dragstart=i,p["touchmove mousemove"]=s,p["touchend mouseup"]=o,t(e).bind("touchstart mousedown",function(r){(r.which?3==r.which:2==r.button)||c||!1!==n.apply(e,arguments)&&(c=!0,u=t(e).height(),h=t(e).width(),f=t(e).offset(),t(l).bind(p),t(l.body).addClass("sp-dragging"),s(r),i(r))})}function u(t,e,r){var n;return function(){var a=this,i=arguments;r&&clearTimeout(n),!r&&n||(n=setTimeout(function(){n=null,t.apply(a,i)},e))}}function h(){return t.fn.spectrum.inputTypeColorSupport()}var d={beforeShow:o,move:o,change:o,show:o,hide:o,color:!1,flat:!1,showInput:!1,allowEmpty:!1,showButtons:!0,clickoutFiresChange:!0,showInitial:!1,showPalette:!1,showPaletteOnly:!1,hideAfterPaletteSelect:!1,togglePaletteOnly:!1,showSelectionPalette:!0,localStorageKey:!1,appendTo:"body",maxSelectionSize:7,cancelText:"cancel",chooseText:"choose",togglePaletteMoreText:"more",togglePaletteLessText:"less",clearText:"Clear Color Selection",noColorSelectedText:"No Color Selected",preferredFormat:!1,className:"",containerClassName:"",replacerClassName:"",showAlpha:!1,theme:"sp-light",palette:[["#ffffff","#000000","#ff0000","#ff8000","#ffff00","#008000","#0000ff","#4b0082","#9400d3"]],selectionPalette:[],disabled:!1,offset:null},p=[],g=!!/msie/i.exec(window.navigator.userAgent),b=function(){function t(t,e){return!!~(""+t).indexOf(e)}var e=document.createElement("div").style;return e.cssText="background-color:rgba(0,0,0,.5)",t(e.backgroundColor,"rgba")||t(e.backgroundColor,"hsla")}(),v=[""].join(""),m=function(){var t="";if(g)for(var e=1;e<=6;e++)t+="
";return[""].join("")}();t.fn.spectrum=function(e,r){if("string"==typeof e){var n=this,a=Array.prototype.slice.call(arguments,1);return this.each(function(){var r=p[t(this).data("spectrum.id")];if(r){var i=r[e];if(!i)throw new Error("Spectrum: no such method: '"+e+"'");"get"==e?n=r.get():"container"==e?n=r.container:"option"==e?n=r.option.apply(r,a):"destroy"==e?(r.destroy(),t(this).removeData("spectrum.id")):i.apply(r,a)}}),n}return this.spectrum("destroy").each(function(){var r=i(this,t.extend({},e,t(this).data()));t(this).data("spectrum.id",r.id)})},t.fn.spectrum.load=!0,t.fn.spectrum.loadOpts={},t.fn.spectrum.draggable=f,t.fn.spectrum.defaults=d,t.fn.spectrum.inputTypeColorSupport=function e(){if(void 0===e._cachedResult){var r=t(" ")[0];e._cachedResult="color"===r.type&&""!==r.value}return e._cachedResult},t.spectrum={},t.spectrum.localization={},t.spectrum.palettes={},t.fn.spectrum.processNativeColorInputs=function(){var e=t("input[type=color]");e.length&&!h()&&e.spectrum({preferredFormat:"hex6"})},function(){function t(t){var r={r:0,g:0,b:0},a=1,s=!1,o=!1;return"string"==typeof t&&(t=F(t)),"object"==typeof t&&(t.hasOwnProperty("r")&&t.hasOwnProperty("g")&&t.hasOwnProperty("b")?(r=e(t.r,t.g,t.b),s=!0,o="%"===String(t.r).substr(-1)?"prgb":"rgb"):t.hasOwnProperty("h")&&t.hasOwnProperty("s")&&t.hasOwnProperty("v")?(t.s=M(t.s),t.v=M(t.v),r=i(t.h,t.s,t.v),s=!0,o="hsv"):t.hasOwnProperty("h")&&t.hasOwnProperty("s")&&t.hasOwnProperty("l")&&(t.s=M(t.s),t.l=M(t.l),r=n(t.h,t.s,t.l),s=!0,o="hsl"),t.hasOwnProperty("a")&&(a=t.a)),a=_(a),{ok:s,format:t.format||o,r:E(255,D(r.r,0)),g:E(255,D(r.g,0)),b:E(255,D(r.b,0)),a:a}}function e(t,e,r){return{r:255*x(t,255),g:255*x(e,255),b:255*x(r,255)}}function r(t,e,r){t=x(t,255),e=x(e,255),r=x(r,255);var n,a,i=D(t,e,r),s=E(t,e,r),o=(i+s)/2;if(i==s)n=a=0;else{var l=i-s;switch(a=o>.5?l/(2-i-s):l/(i+s),i){case t:n=(e-r)/l+(e1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var a,i,s;if(t=x(t,360),e=x(e,100),r=x(r,100),0===e)a=i=s=r;else{var o=r<.5?r*(1+e):r+e-r*e,l=2*r-o;a=n(l,o,t+1/3),i=n(l,o,t),s=n(l,o,t-1/3)}return{r:255*a,g:255*i,b:255*s}}function a(t,e,r){t=x(t,255),e=x(e,255),r=x(r,255);var n,a,i=D(t,e,r),s=E(t,e,r),o=i,l=i-s;if(a=0===i?0:l/i,i==s)n=0;else{switch(i){case t:n=(e-r)/l+(e>1)+720)%360;--e;)n.h=(n.h+a)%360,i.push(z(n));return i}function w(t,e){e=e||6;for(var r=z(t).toHsv(),n=r.h,a=r.s,i=r.v,s=[],o=1/e;e--;)s.push(z({h:n,s:a,v:i})),i=(i+o)%1;return s}function _(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function x(t,e){C(t)&&(t="100%");var r=P(t);return t=E(e,D(0,parseFloat(t))),r&&(t=parseInt(t*e,10)/100),N.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function k(t){return E(1,D(0,t))}function S(t){return parseInt(t,16)}function C(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)}function P(t){return"string"==typeof t&&-1!=t.indexOf("%")}function A(t){return 1==t.length?"0"+t:""+t}function M(t){return t<=1&&(t=100*t+"%"),t}function R(t){return Math.round(255*parseFloat(t)).toString(16)}function H(t){return S(t)/255}function F(t){t=t.replace(T,"").replace(O,"").toLowerCase();var e=!1;if(B[t])t=B[t],e=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};var r;return(r=K.rgb.exec(t))?{r:r[1],g:r[2],b:r[3]}:(r=K.rgba.exec(t))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=K.hsl.exec(t))?{h:r[1],s:r[2],l:r[3]}:(r=K.hsla.exec(t))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=K.hsv.exec(t))?{h:r[1],s:r[2],v:r[3]}:(r=K.hsva.exec(t))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=K.hex8.exec(t))?{a:H(r[1]),r:S(r[2]),g:S(r[3]),b:S(r[4]),format:e?"name":"hex8"}:(r=K.hex6.exec(t))?{r:S(r[1]),g:S(r[2]),b:S(r[3]),format:e?"name":"hex"}:!!(r=K.hex3.exec(t))&&{r:S(r[1]+""+r[1]),g:S(r[2]+""+r[2]),b:S(r[3]+""+r[3]),format:e?"name":"hex"}}var T=/^[\s,#]+/,O=/\s+$/,q=0,N=Math,j=N.round,E=N.min,D=N.max,I=N.random,z=function(e,r){if(e=e||"",r=r||{},e instanceof z)return e;if(!(this instanceof z))return new z(e,r);var n=t(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=j(100*this._a)/100,this._format=r.format||n.format,this._gradientType=r.gradientType,this._r<1&&(this._r=j(this._r)),this._g<1&&(this._g=j(this._g)),this._b<1&&(this._b=j(this._b)),this._ok=n.ok,this._tc_id=q++};z.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},setAlpha:function(t){return this._a=_(t),this._roundA=j(100*this._a)/100,this},toHsv:function(){var t=a(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=a(this._r,this._g,this._b),e=j(360*t.h),r=j(100*t.s),n=j(100*t.v);return 1==this._a?"hsv("+e+", "+r+"%, "+n+"%)":"hsva("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var t=r(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=r(this._r,this._g,this._b),e=j(360*t.h),n=j(100*t.s),a=j(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+a+"%)":"hsla("+e+", "+n+"%, "+a+"%, "+this._roundA+")"},toHex:function(t){return s(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(){return o(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:j(this._r),g:j(this._g),b:j(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+j(this._r)+", "+j(this._g)+", "+j(this._b)+")":"rgba("+j(this._r)+", "+j(this._g)+", "+j(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:j(100*x(this._r,255))+"%",g:j(100*x(this._g,255))+"%",b:j(100*x(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+j(100*x(this._r,255))+"%, "+j(100*x(this._g,255))+"%, "+j(100*x(this._b,255))+"%)":"rgba("+j(100*x(this._r,255))+"%, "+j(100*x(this._g,255))+"%, "+j(100*x(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(L[s(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+o(this._r,this._g,this._b,this._a),r=e,n=this._gradientType?"GradientType = 1, ":"";return t&&(r=z(t).toHex8String()),"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+e+",endColorstr="+r+")"},toString:function(t){var e=!!t;t=t||this._format;var r=!1,n=this._a<1&&this._a>=0;return e||!n||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"name"!==t?("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},_applyModification:function(t,e){var r=t.apply(null,[this].concat([].slice.call(e)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(u,arguments)},brighten:function(){return this._applyModification(h,arguments)},darken:function(){return this._applyModification(d,arguments)},desaturate:function(){return this._applyModification(l,arguments)},saturate:function(){return this._applyModification(c,arguments)},greyscale:function(){return this._applyModification(f,arguments)},spin:function(){return this._applyModification(p,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(y,arguments)},complement:function(){return this._applyCombination(g,arguments)},monochromatic:function(){return this._applyCombination(w,arguments)},splitcomplement:function(){return this._applyCombination(m,arguments)},triad:function(){return this._applyCombination(b,arguments)},tetrad:function(){return this._applyCombination(v,arguments)}},z.fromRatio=function(t,e){if("object"==typeof t){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]="a"===n?t[n]:M(t[n]));t=r}return z(t,e)},z.equals=function(t,e){return!(!t||!e)&&z(t).toRgbString()==z(e).toRgbString()},z.random=function(){return z.fromRatio({r:I(),g:I(),b:I()})},z.mix=function(t,e,r){r=0===r?0:r||50;var n,a=z(t).toRgb(),i=z(e).toRgb(),s=r/100,o=2*s-1,l=i.a-a.a,c=1-(n=((n=o*l==-1?o:(o+l)/(1+o*l))+1)/2),f={r:i.r*n+a.r*c,g:i.g*n+a.g*c,b:i.b*n+a.b*c,a:i.a*s+a.a*(1-s)};return z(f)},z.readability=function(t,e){var r=z(t),n=z(e),a=r.toRgb(),i=n.toRgb(),s=r.getBrightness(),o=n.getBrightness(),l=Math.max(a.r,i.r)-Math.min(a.r,i.r)+Math.max(a.g,i.g)-Math.min(a.g,i.g)+Math.max(a.b,i.b)-Math.min(a.b,i.b);return{brightness:Math.abs(s-o),color:l}},z.isReadable=function(t,e){var r=z.readability(t,e);return r.brightness>125&&r.color>500},z.mostReadable=function(t,e){for(var r=null,n=0,a=!1,i=0;i125&&s.color>500,l=s.brightness/125*3+s.color/500;(o&&!a||o&&a&&l>n||!o&&!a&&l>n)&&(a=o,n=l,r=z(e[i]))}return r};var B=z.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},L=z.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(B),K=function(){var t="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",e="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",r="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?";return{rgb:new RegExp("rgb"+e),rgba:new RegExp("rgba"+r),hsl:new RegExp("hsl"+e),hsla:new RegExp("hsla"+r),hsv:new RegExp("hsv"+e),hsva:new RegExp("hsva"+r),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();window.tinycolor=z}(),t(function(){t.fn.spectrum.load&&t.fn.spectrum.processNativeColorInputs()})});
diff --git a/manager/media/script/tablesort.js b/manager/media/script/tablesort.js
old mode 100644
new mode 100755
diff --git a/manager/media/script/tabpane.js b/manager/media/script/tabpane.js
index df8b33b518..bef24dbbab 100755
--- a/manager/media/script/tabpane.js
+++ b/manager/media/script/tabpane.js
@@ -46,15 +46,14 @@
// This function is used to define if the browser supports the needed
// features
-function hasSupport() {
-
- if (typeof hasSupport.support != "undefined")
- return hasSupport.support;
-
- hasSupport.support = ( typeof document.implementation != "undefined" &&
- document.implementation.hasFeature( "html", "1.0" ) )
-
- return hasSupport.support;
+function hasSupport()
+{
+ if (typeof hasSupport.support !== 'undefined') {
+ return hasSupport.support;
+ }
+ hasSupport.support = (typeof document.implementation !== 'undefined' && document.implementation.hasFeature('html', '1.0'));
+
+ return hasSupport.support;
}
///////////////////////////////////////////////////////////////////////////////////
@@ -64,122 +63,114 @@ function hasSupport() {
// bUseCookie : Boolean Optional. Default is true. Used to determine whether to us
// persistance using cookies or not
//
-function WebFXTabPane( el, bUseCookie ) {
- if ( !hasSupport() || el == null ) return;
-
- this.element = el;
- this.element.tabPane = this;
- this.pages = [];
- this.selectedIndex = null;
- this.useCookie = bUseCookie != null ? bUseCookie : true;
-
- // add class name tag to class name
- this.element.className = this.classNameTag + " " + this.element.className;
-
- // add tab row
- this.tabRow = document.createElement( "div" );
- this.tabRow.className = "tab-row";
- el.insertBefore( this.tabRow, el.firstChild );
-
- var tabIndex = 0;
- if ( this.useCookie ) {
- tabIndex = Number( WebFXTabPane.getCookie( "webfxtab_" + this.element.id ) );
- if ( isNaN( tabIndex ) )
- tabIndex = 0;
- }
- this.selectedIndex = tabIndex;
-
- // loop through child nodes and add them
- var cs = el.childNodes;
- var n;
- for (var i = 0; i < cs.length; i++) {
- if (cs[i].nodeType == 1 && cs[i].className == "tab-page") {
- this.addTabPage( cs[i] );
- }
- }
+function WebFXTabPane(el, bUseCookie)
+{
+ if (!hasSupport() || el == null) return;
+
+ this.element = el;
+ this.element.tabPane = this;
+ this.pages = [];
+ this.selectedIndex = null;
+ this.useCookie = bUseCookie != null ? bUseCookie : true;
+
+ // add class name tag to class name
+ this.element.className = this.classNameTag + ' ' + this.element.className;
+
+ // add tab row
+ this.tabRow = document.createElement('div');
+ this.tabRow.className = 'tab-row';
+ el.insertBefore(this.tabRow, el.firstChild);
+
+ var tabIndex = 0;
+ if (this.useCookie) {
+ tabIndex = Number(this.getCookie('webfxtab_' + this.element.id));
+ if (isNaN(tabIndex)) {
+ tabIndex = 0;
+ }
+ }
+ this.selectedIndex = tabIndex;
+
+ // loop through child nodes and add them
+ var cs = el.childNodes;
+ var n;
+ for (var i = 0; i < cs.length; i++) {
+ if (cs[i].nodeType === 1 && cs[i].className === 'tab-page') {
+ this.addTabPage(cs[i]);
+ }
+ }
}
-WebFXTabPane.prototype.classNameTag = "dynamic-tab-pane-control";
-
-WebFXTabPane.prototype.setSelectedIndex = function ( n ) {
- if (this.selectedIndex != n) {
- if (this.selectedIndex != null && this.pages[ this.selectedIndex ] != null )
- this.pages[ this.selectedIndex ].hide();
- this.selectedIndex = n;
- this.pages[ this.selectedIndex ].show();
-
- if ( this.useCookie )
- WebFXTabPane.setCookie( "webfxtab_" + this.element.id, n ); // session cookie
- }
+WebFXTabPane.prototype = {
+ classNameTag: 'dynamic-tab-pane-control',
+ setSelectedIndex: function(n) {
+ if (this.selectedIndex !== n) {
+ if (this.selectedIndex != null && this.pages[this.selectedIndex] != null) {
+ this.pages[this.selectedIndex].hide();
+ }
+ this.selectedIndex = n;
+ this.pages[this.selectedIndex].show();
+
+ if (this.useCookie) {
+ this.setCookie('webfxtab_' + this.element.id, n);
+ } // session cookie
+ }
+ },
+ getSelectedIndex: function() {
+ return this.selectedIndex;
+ },
+ addTabPage: function(oElement, callBackFnc) { // modifed by Raymond
+ if (!hasSupport()) return;
+
+ if (typeof oElement.tabPage === this) // already added
+ {
+ return oElement.tabPage;
+ }
+
+ var n = this.pages.length;
+ var tp = this.pages[n] = new WebFXTabPage(oElement, this, n, callBackFnc); // modified by Raymond
+ tp.tabPane = this;
+
+ // move the tab out of the box
+ this.tabRow.appendChild(tp.tab);
+
+ if (n === this.selectedIndex) {
+ tp.show();
+ } else {
+ tp.hide();
+ }
+
+ return tp;
+ },
+ dispose: function() {
+ this.element.tabPane = null;
+ this.element = null;
+ this.tabRow = null;
+
+ for (var i = 0; i < this.pages.length; i++) {
+ this.pages[i].dispose();
+ this.pages[i] = null;
+ }
+ this.pages = null;
+ },
+ setCookie: function(sName, sValue, nDays) {
+ var expires = '';
+ if (nDays) {
+ var d = new Date();
+ d.setTime(d.getTime() + nDays * 24 * 60 * 60 * 1000);
+ expires = '; expires=' + d.toUTCString();
+ }
+
+ document.cookie = sName + '=' + sValue + expires + '; path=/';
+ },
+ getCookie: function(sName) {
+ var re = new RegExp('(\;|^)[^;]*(' + sName + ')\=([^;]*)(;|$)');
+ var res = re.exec(document.cookie);
+ return res != null ? res[3] : null;
+ },
+ removeCookie: function(name) {
+ this.setCookie(name, '', -1);
+ }
};
-
-WebFXTabPane.prototype.getSelectedIndex = function () {
- return this.selectedIndex;
-};
-
-WebFXTabPane.prototype.addTabPage = function ( oElement, callBackFnc) { // modifed by Raymond
- if ( !hasSupport() ) return;
-
- if ( typeof oElement.tabPage === this ) // already added
- return oElement.tabPage;
-
- var n = this.pages.length;
- var tp = this.pages[n] = new WebFXTabPage( oElement, this, n, callBackFnc ); // modified by Raymond
- tp.tabPane = this;
-
- // move the tab out of the box
- this.tabRow.appendChild( tp.tab );
-
- if ( n == this.selectedIndex )
- tp.show();
- else
- tp.hide();
-
- return tp;
-};
-
-WebFXTabPane.prototype.dispose = function () {
- this.element.tabPane = null;
- this.element = null;
- this.tabRow = null;
-
- for (var i = 0; i < this.pages.length; i++) {
- this.pages[i].dispose();
- this.pages[i] = null;
- }
- this.pages = null;
-};
-
-
-
-// Cookie handling
-WebFXTabPane.setCookie = function ( sName, sValue, nDays ) {
- var expires = "";
- if ( nDays ) {
- var d = new Date();
- d.setTime( d.getTime() + nDays * 24 * 60 * 60 * 1000 );
- expires = "; expires=" + d.toGMTString();
- }
-
- document.cookie = sName + "=" + sValue + expires + "; path=/";
-};
-
-WebFXTabPane.getCookie = function (sName) {
- var re = new RegExp( "(\;|^)[^;]*(" + sName + ")\=([^;]*)(;|$)" );
- var res = re.exec( document.cookie );
- return res != null ? res[3] : null;
-};
-
-WebFXTabPane.removeCookie = function ( name ) {
- setCookie( name, "", -1 );
-};
-
-
-
-
-
-
-
///////////////////////////////////////////////////////////////////////////////////
// The constructor for tab pages. This one should not be used.
@@ -189,170 +180,167 @@ WebFXTabPane.removeCookie = function ( name ) {
// tabPane : WebFXTabPane The parent tab pane
// nindex : Number The index of the page in the parent pane page array
//
-function WebFXTabPage( el, tabPane, nIndex, callBackFnc ) {
- if ( !hasSupport() || el == null ) return;
-
- this.element = el;
- this.element.tabPage = this;
- this.callBack = callBackFnc;
- this.index = nIndex;
-
- var cs = el.childNodes;
- for (var i = 0; i < cs.length; i++) {
- if (cs[i].nodeType == 1 && cs[i].className == "tab") {
- this.tab = cs[i];
- break;
- }
- }
-
- // insert a tag around content to support keyboard navigation
-
-
- var a = document.createElement( "SPAN" );
- this.aElement = a;
- a.href = "#";
- a.onclick = function () { return false; };
- while ( this.tab.hasChildNodes() )
- a.appendChild( this.tab.firstChild );
- this.tab.appendChild( a );
-
-
- // hook up events, using DOM0
- var oThis = this;
- this.tab.onclick = function () { return oThis.select(); };
- this.tab.onmouseover = function () { WebFXTabPage.tabOver( oThis ); };
- this.tab.onmouseout = function () { WebFXTabPage.tabOut( oThis ); };
+function WebFXTabPage(el, tabPane, nIndex, callBackFnc)
+{
+ if (!hasSupport() || el == null) return;
+
+ this.element = el;
+ this.element.tabPage = this;
+ this.callBack = callBackFnc;
+ this.index = nIndex;
+
+ var cs = el.childNodes;
+ for (var i = 0; i < cs.length; i++) {
+ if (cs[i].nodeType === 1 && cs[i].className === 'tab') {
+ this.tab = cs[i];
+ break;
+ }
+ }
+
+ // insert a tag around content to support keyboard navigation
+
+ var a = document.createElement('SPAN');
+ this.aElement = a;
+ a.href = '#';
+ a.onclick = function() { return false; };
+ while (this.tab.hasChildNodes()) {
+ a.appendChild(this.tab.firstChild);
+ }
+ this.tab.dataset.target = '#' + this.element.id;
+ this.tab.appendChild(a);
+
+ // hook up events, using DOM0
+ var oThis = this;
+ this.tab.onclick = function() { return oThis.select(); };
+ this.tab.onmouseover = function() { oThis.tabOver(oThis); };
+ this.tab.onmouseout = function() { oThis.tabOut(oThis); };
}
-WebFXTabPage.prototype.show = function () {
- var el = this.tab;
- var s = el.className + " selected";
- s = s.replace(/ +/g, " ");
- el.className = s;
-
- this.element.style.display = "block";
-};
-
-WebFXTabPage.prototype.hide = function () {
- var el = this.tab;
- var s = el.className;
- s = s.replace(/ selected/g, "");
- el.className = s;
-
- this.element.style.display = "none";
-};
-
-WebFXTabPage.prototype.select = function () {
- this.tabPane.setSelectedIndex( this.index );
- if (this.callBack) this.callBack();
- return false;
-};
-
-WebFXTabPage.prototype.dispose = function () {
- this.aElement.onclick = null;
- this.aElement = null;
- this.element.tabPage = null;
- this.tab.onclick = null;
- this.tab.onmouseover = null;
- this.tab.onmouseout = null;
- this.tab = null;
- this.tabPane = null;
- this.element = null;
+WebFXTabPage.prototype = {
+ show: function() {
+ var el = this.tab;
+ var s = el.className + ' selected';
+ s = s.replace(/ +/g, ' ');
+ el.className = s;
+
+ this.element.style.display = 'block';
+ },
+ hide: function() {
+ var el = this.tab;
+ var s = el.className;
+ s = s.replace(/ selected/g, '');
+ el.className = s;
+
+ this.element.style.display = 'none';
+ },
+ dispose: function() {
+ this.aElement.onclick = null;
+ this.aElement = null;
+ this.element.tabPage = null;
+ this.tab.onclick = null;
+ this.tab.onmouseover = null;
+ this.tab.onmouseout = null;
+ this.tab = null;
+ this.tabPane = null;
+ this.element = null;
+ },
+ select: function() {
+ this.tabPane.setSelectedIndex(this.index);
+ if (this.callBack) this.callBack();
+ return false;
+ },
+ tabOver: function(tabpage) {
+ var el = tabpage.tab;
+ var s = el.className + ' hover';
+ s = s.replace(/ +/g, ' ');
+ el.className = s;
+ },
+ tabOut: function(tabpage) {
+ var el = tabpage.tab;
+ var s = el.className;
+ s = s.replace(/ hover/g, '');
+ el.className = s;
+ }
};
-WebFXTabPage.tabOver = function ( tabpage ) {
- var el = tabpage.tab;
- var s = el.className + " hover";
- s = s.replace(/ +/g, " ");
- el.className = s;
-};
-
-WebFXTabPage.tabOut = function ( tabpage ) {
- var el = tabpage.tab;
- var s = el.className;
- s = s.replace(/ hover/g, "");
- el.className = s;
-};
-
-
// This function initializes all uninitialized tab panes and tab pages
-function setupAllTabs() {
- if ( !hasSupport() ) return;
-
- var all = document.getElementsByTagName( "*" );
- var l = all.length;
- var tabPaneRe = /tab\-pane/;
- var tabPageRe = /tab\-page/;
- var cn, el;
- var parentTabPane;
-
- for ( var i = 0; i < l; i++ ) {
- el = all[i]
- cn = el.className;
-
- // no className
- if ( cn == "" ) continue;
-
- // uninitiated tab pane
- if ( tabPaneRe.test( cn ) && !el.tabPane )
- new WebFXTabPane( el );
-
- // unitiated tab page wit a valid tab pane parent
- else if ( tabPageRe.test( cn ) && !el.tabPage &&
- tabPaneRe.test( el.parentNode.className ) ) {
- el.parentNode.tabPane.addTabPage( el );
- }
- }
+function setupAllTabs()
+{
+ if (!hasSupport()) return;
+
+ var all = document.getElementsByTagName('*');
+ var l = all.length;
+ var tabPaneRe = /tab\-pane/;
+ var tabPageRe = /tab\-page/;
+ var cn, el;
+ var parentTabPane;
+
+ for (var i = 0; i < l; i++) {
+ el = all[i];
+ cn = el.className;
+
+ // no className
+ if (cn === '') continue;
+
+ // uninitiated tab pane
+ if (tabPaneRe.test(cn) && !el.tabPane) {
+ new WebFXTabPane(el);
+ }// unitiated tab page wit a valid tab pane parent
+ else if (tabPageRe.test(cn) && !el.tabPage &&
+ tabPaneRe.test(el.parentNode.className)) {
+ el.parentNode.tabPane.addTabPage(el);
+ }
+ }
}
-function disposeAllTabs() {
- if ( !hasSupport() ) return;
-
- var all = document.getElementsByTagName( "*" );
- var l = all.length;
- var tabPaneRe = /tab\-pane/;
- var cn, el;
- var tabPanes = [];
-
- for ( var i = 0; i < l; i++ ) {
- el = all[i]
- cn = el.className;
-
- // no className
- if ( cn == "" ) continue;
-
- // tab pane
- if ( tabPaneRe.test( cn ) && el.tabPane )
- tabPanes[tabPanes.length] = el.tabPane;
- }
-
- for (var i = tabPanes.length - 1; i >= 0; i--) {
- tabPanes[i].dispose();
- tabPanes[i] = null;
- }
+function disposeAllTabs()
+{
+ if (!hasSupport()) return;
+
+ var all = document.getElementsByTagName('*');
+ var l = all.length;
+ var tabPaneRe = /tab\-pane/;
+ var cn, el;
+ var tabPanes = [];
+
+ for (var i = 0; i < l; i++) {
+ el = all[i];
+ cn = el.className;
+
+ // no className
+ if (cn === '') continue;
+
+ // tab pane
+ if (tabPaneRe.test(cn) && el.tabPane) {
+ tabPanes[tabPanes.length] = el.tabPane;
+ }
+ }
+
+ for (var i = tabPanes.length - 1; i >= 0; i--) {
+ tabPanes[i].dispose();
+ tabPanes[i] = null;
+ }
}
-
// initialization hook up
// DOM2
-if ( typeof window.addEventListener != "undefined" )
- window.addEventListener( "load", setupAllTabs, false );
-
-// IE
-else if ( typeof window.attachEvent != "undefined" ) {
- window.attachEvent( "onload", setupAllTabs );
- window.attachEvent( "onunload", disposeAllTabs );
+if (typeof window.addEventListener !== 'undefined') {
+ window.addEventListener('load', setupAllTabs, false);
+}// IE
+else if (typeof window.attachEvent !== 'undefined') {
+ window.attachEvent('onload', setupAllTabs);
+ window.attachEvent('onunload', disposeAllTabs);
}
else {
- if ( window.onload != null ) {
- var oldOnload = window.onload;
- window.onload = function ( e ) {
- oldOnload( e );
- setupAllTabs();
- };
- }
- else
- window.onload = setupAllTabs;
+ if (window.onload != null) {
+ var oldOnload = window.onload;
+ window.onload = function(e) {
+ oldOnload(e);
+ setupAllTabs();
+ };
+ } else {
+ window.onload = setupAllTabs;
+ }
}
\ No newline at end of file
diff --git a/manager/media/style/common/bootstrap/css/bootstrap.min.css b/manager/media/style/common/bootstrap/css/bootstrap.min.css
old mode 100644
new mode 100755
diff --git a/manager/media/style/common/bootstrap/css/bootstrap.min.css.map b/manager/media/style/common/bootstrap/css/bootstrap.min.css.map
old mode 100644
new mode 100755
diff --git a/manager/media/style/common/font-awesome/css/font-awesome.min.css b/manager/media/style/common/font-awesome/css/font-awesome.min.css
old mode 100644
new mode 100755
diff --git a/manager/media/style/common/font-awesome/fonts/FontAwesome.otf b/manager/media/style/common/font-awesome/fonts/FontAwesome.otf
old mode 100644
new mode 100755
diff --git a/manager/media/style/common/font-awesome/fonts/fontawesome-webfont.eot b/manager/media/style/common/font-awesome/fonts/fontawesome-webfont.eot
old mode 100644
new mode 100755
diff --git a/manager/media/style/common/font-awesome/fonts/fontawesome-webfont.svg b/manager/media/style/common/font-awesome/fonts/fontawesome-webfont.svg
old mode 100644
new mode 100755
diff --git a/manager/media/style/common/font-awesome/fonts/fontawesome-webfont.ttf b/manager/media/style/common/font-awesome/fonts/fontawesome-webfont.ttf
old mode 100644
new mode 100755
diff --git a/manager/media/style/common/font-awesome/fonts/fontawesome-webfont.woff b/manager/media/style/common/font-awesome/fonts/fontawesome-webfont.woff
old mode 100644
new mode 100755
diff --git a/manager/media/style/common/font-awesome/fonts/fontawesome-webfont.woff2 b/manager/media/style/common/font-awesome/fonts/fontawesome-webfont.woff2
old mode 100644
new mode 100755
diff --git a/manager/media/style/common/images/icons/error.png b/manager/media/style/common/images/icons/error.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/common/images/misc/fade.gif b/manager/media/style/common/images/misc/fade.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/common/images/misc/login-logo.png b/manager/media/style/common/images/misc/login-logo.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/common/images/misc/logo.png b/manager/media/style/common/images/misc/logo.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/common/login.tpl b/manager/media/style/common/login.tpl
old mode 100644
new mode 100755
index abcd2a8c67..840f32d53b
--- a/manager/media/style/common/login.tpl
+++ b/manager/media/style/common/login.tpl
@@ -82,7 +82,7 @@
-
© 2005-2017 by the
EVO .
EVO ™ is licensed under the GPL.
+
© 2005-2018 by the
EVO .
EVO ™ is licensed under the GPL.
diff --git a/manager/media/style/default/css/color.switcher.css b/manager/media/style/default/css/color.switcher.css
new file mode 100755
index 0000000000..14cd460b96
--- /dev/null
+++ b/manager/media/style/default/css/color.switcher.css
@@ -0,0 +1,299 @@
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+.evocp-box {
+ position: fixed;
+ width: 300px;
+ min-height: 100%;
+ top: 35px;
+ right: -300px;
+ color: #444;
+ z-index: 10;
+ transition: 0.5s cubic-bezier(1, 1.48, 0.76, 0.95) right, box-shadow .5s;
+}
+.evocp-icon {
+ position: absolute;
+ width: 34px;
+ height: 29px;
+ vertical-align: middle;
+ line-height: 28px;
+ left: -34px;
+ background: #fafafa;
+ box-shadow: -3px 0 2px 1px rgba(0, 0, 0, 0.1);
+ border-radius: 50% 0 0 50%;
+ text-align: center;
+ font-size: 17px;
+ cursor: pointer;
+ z-index: 10;
+ -webkit-animation: colorchange 15s infinite alternate;
+}
+.dark .evocp-icon {
+ background: #2f323a;
+ border: 1px solid #2f323a;
+ border-right: 0;
+ -webkit-animation: colorchange 15s infinite alternate;
+}
+i.evocpicon:hover {
+ -webkit-transform: rotate(30deg);
+ -moz-transform: rotate(30deg);
+ -ms-transform: rotate(30deg);
+ -o-transform: rotate(30deg);
+ transform: rotate(30deg);
+
+}
+@keyframes colorchange {
+ 0% {
+ color: #b45f06;
+ }
+ 10% {
+ color: #38761d;
+ }
+ 20% {
+ color: #134f5c;
+ }
+ 30% {
+ color: #0b5394;
+ }
+ 40% {
+ color: #351c75;
+ }
+ 50% {
+ color: #741b47;
+ }
+ 60% {
+ color: blue;
+ }
+ 70% {
+ color: #2980b9;
+ }
+ 80% {
+ color: #f1c40f;
+ }
+ 90% {
+ color: #2980b9;
+ }
+ 100% {
+ color: #900;
+ }
+}
+@-webkit-keyframes colorchange
+/* Safari and Chrome - necessary duplicate */
+
+{
+ 0% {
+ color: #b45f06;
+ }
+ 10% {
+ color: #38761d;
+ }
+ 20% {
+ color: #134f5c;
+ }
+ 30% {
+ color: #0b5394;
+ }
+ 40% {
+ color: #351c75;
+ }
+ 50% {
+ color: #741b47;
+ }
+ 60% {
+ color: blue;
+ }
+ 70% {
+ color: #2980b9;
+ }
+ 80% {
+ color: #f1c40f;
+ }
+ 90% {
+ color: #2980b9;
+ }
+ 100% {
+ color: #900;
+ }
+}
+.evocp-box .evocp-frame {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ top: 0;
+ right: 0;
+ background: #fafafa;
+ text-align: center;
+ font-weight: 700;
+ color: #444;
+ padding: 0 0 20px 0;
+}
+.dark .evocp-box .evocp-frame {
+ color: #dedede;
+ background: #202329;
+ border-top: 1px solid #2f323a;
+}
+.evocp-box .evocp-menuHColors,
+.evocp-box .evocp-menuColors,
+.evocp-box .evocp-bgmcolors,
+.evocp-box .evocp-colors,
+.evocp-box .evocp-alinkcolors {
+ margin: 10px;
+ overflow: hidden;
+}
+.evocp-box .evocp-menuHColor,
+.evocp-box .evocp-menuColor,
+.evocp-box .evocp-bgmcolor,
+.evocp-box .evocp-color,
+.evocp-box .evocp-alinkcolor {
+ position: relative;
+ float: left;
+ margin: 2px;
+ height: 31px;
+ width: 31px;
+ max-height: 31px;
+ max-width: 31px;
+ background: #2f323a;
+ color: transparent;
+ overflow: hidden;
+ cursor: pointer;
+ border: 1px solid #646b7b;
+ border-radius: 50%;
+}
+.evocp-box .evocp-custom-colors,
+.evocp-box .evocp-custom-colors {
+ clear: both;
+ padding-top: 20px;
+}
+.evocp-box input[name="evocpCustomalinkcolor"],
+.evocp-box input[name="evocpCustommenuColor"],
+.evocp-box input[name="evocpCustommenuHColor"],
+.evocp-box input[name="evocpCustombgmColor"],
+.evocp-box input[name="evocpCustomTXColor"] {
+ margin: 10px 0 0 -4px;
+ cursor: pointer;
+ height: 30px;
+ width: 30px;
+ border-radius: 50%;
+ border: none;
+ outline: none;
+ background: transparent;
+ padding: 0;
+}
+.appear-it {
+ right: 0;
+ box-shadow: -3px 0 4px 1px rgba(0, 0, 0, 0.1);
+}
+
+.evocp-frame h2 {
+ font-size: 1.0rem;
+ line-height: 1.6rem;
+ border-bottom: 1px solid #dedede;
+ padding-top: 4px;
+ /* -webkit-animation: colorchange 20s infinite alternate;*/
+}
+.dark .evocp-frame h2 {
+ background-color: #2f323a;
+ border-bottom: 1px solid #dedede;
+}
+.evocp-frame .panel-heading h3 {
+ cursor: pointer;
+ display: inline-block;
+ font-size: 0.8rem;
+ line-height: 1.1rem;
+ margin-top: 9px;
+}
+.evocp-frame .panel-heading h3:hover {
+ color: #000;
+}
+.dark .evocp-frame h3:hover {
+ color: #fff;
+}
+.evocp-frame .panel {
+ margin-bottom: 2px;
+}
+.evocp-frame .panel-heading {
+ text-align: left;
+ border-top: 1px solid #dedede;
+ border-bottom: 1px solid #dedede;
+ background-color: #f2f2f2;
+ padding: 0 0 0 8px;
+ text-transform: uppercase;
+}
+.dark .evocp-frame .panel-heading {
+ background-color: #2f323a;
+ border-color: #3e4144;
+}
+.evocp-frame .panel-heading .btn {
+ margin-top: 2px
+}
+.dark .evocp-frame .panel-heading .btn {
+ background-color: #2f323a;
+ border-color: #3e4144;
+ color: #fafafa;
+}
+.dark .evocp-frame .panel-heading .btn:hover {
+ background-color: #1a1c21;
+}
+.dark .evocp-frame h2 {
+ border-color: #3e4144;
+}
+.evocp-frame .panel-heading .togglearrow {
+ width: 10px;
+ font-size: 10px;
+ color: #bbb;
+ margin-right: 2px;
+ margin-top:-5px;
+}
+.evocp-box .evocp-menuHColor.colorSelected:before,
+.evocp-box .evocp-menuColor.colorSelected:before,
+.evocp-box .evocp-bgmcolor.colorSelected:before,
+.evocp-box .evocp-color.colorSelected:before,
+.evocp-box .evocp-alinkcolor.colorSelected:before {
+ font-family: FontAwesome;
+ content: "\f1fc";
+ display: inline-block;
+ padding-top: 3px;
+ vertical-align: middle;
+ color: #FFF;
+}
+.evocp-box .evocp-menuHColor.evocp_light.colorSelected:before,
+.evocp-box .evocp-menuColor.evocp_light.colorSelected:before,
+.evocp-box .evocp-bgmcolor.evocp_light.colorSelected:before,
+.evocp-box .evocp-color.evocp_light.colorSelected:before,
+.evocp-box .evocp-alinkcolor.evocp_light.colorSelected:before {
+ color: #444!important;
+}
+
+.dark .evocp-box .btn-secondary{
+ background-color: #2f323a;
+ border-color: #3e4144;
+ color: #fafafa;
+}
+/*fix for mainmenu*/
+/*
+#mainMenu.show .nav > li.dropdown.hover > a {
+ background-color: #fff;
+ color: #666!important;
+}
+/* color picker*/
+.sp-picker-container {
+ width:200px;
+ border-left:0!important;
+}
+.sp-container {width:300px; background: #f2f2f2; border: 1px solid #dedede;}
+.dark .sp-container {background: #2f323a; border: 1px solid #3e4144;}
+.evo-cp-replacer, .sp-replacer.sp-light {padding:2px; background: #f2f2f2; border-color: #dedede; margin:3px auto;}
+.dark .evo-cp-replacer, .dark .sp-replacer.sp-light {background: #2f323a; border-color: #3e4144;}
+.sp-dd {margin-top:4px;color:#666;}
+.dark .sp-dd {color:#bcbec0;}
+.sp-preview {
+ height: 25px;
+ width: 25px;
+ max-height: 25px;
+ max-width: 25px;
+ overflow: hidden;
+ cursor: pointer;
+ border-radius: 50%;
+ border: 0px solid #2f323a;
+}
diff --git a/manager/media/style/default/css/contextmenu.css b/manager/media/style/default/css/contextmenu.css
old mode 100644
new mode 100755
index 9136cb721c..2447ea6a23
--- a/manager/media/style/default/css/contextmenu.css
+++ b/manager/media/style/default/css/contextmenu.css
@@ -1,11 +1,11 @@
/* contextmenu */
-#mx_contextmenu, #contextmenu, .nu-context-menu, .contextMenu { display: block !important; position: absolute; overflow: hidden; top: 0; max-width: 25rem; width: auto !important; height: auto; padding: 0.25rem 0; visibility: hidden; opacity: 0; z-index: 10000; background: #fff; font-size: 0.9em; border: none; border-radius: 0.25rem; -webkit-box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3); box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3); transition-duration: 0.15s; transform: translateZ(0) }
+#mx_contextmenu, #contextmenu, .nu-context-menu, .contextMenu { display: block !important; position: absolute; overflow: hidden; top: 0; max-width: 25rem; width: auto !important; height: auto; padding: 0.25rem 0; visibility: hidden; opacity: 0; z-index: 10000; background: #fff; font-size: 0.9em; border: none; border-radius: 0.25rem; -webkit-box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3); box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3); transition: opacity 0s, visibility 0s; transform: translateZ(0) }
#mx_contextmenu .fa, #contextmenu .fa, .nu-context-menu .fa, .contextMenu .fa { width: 1.3em; font-size: 0.9rem; text-align: center; }
-#mx_contextmenu.show, #contextmenu.show, .nu-context-menu.active, .contextMenu { visibility: visible; opacity: 1; }
+#mx_contextmenu.show, #contextmenu.show, .nu-context-menu.active, .contextMenu { visibility: visible; opacity: 1; transition: opacity 0.1s, visibility 0.1s; }
#mx_contextmenu > div, #contextmenu > div, .nu-context-menu ul li, .contextMenu > div { padding: 0.5em 2em 0.5em 1em; }
#mx_contextmenu #nameHolder, #contextmenu .menuHeader, .nu-context-menu-title { color: #1377c5; padding: 0.75em 1em; }
#mx_contextmenu .menuLink, #contextmenu .menuLink, .nu-context-menu ul li, .contextMenu > div { cursor: pointer; }
-#mx_contextmenu .menuLink:hover, #contextmenu .menuLink:hover, .nu-context-menu ul li:hover, .contextMenu > div:hover { background-color: #1976D2; color: #fff; }
+#mx_contextmenu .menuLink:hover, #contextmenu .menuLink:hover, .nu-context-menu ul li:hover, .contextMenu > div:hover { background-color: #1976d2; color: #fff; }
#mx_contextmenu .seperator, #contextmenu .seperator, .nu-context-menu ul hr, .contextMenu .cntxMnuSeparator { height: 1px; background-color: rgba(0, 0, 0, 0.07) !important; margin: 0.25em 0; padding: 0; cursor: default; }
.nu-context-menu ul { margin: 0; padding: 0; }
.contextMenu .cntxMnuItem { white-space: nowrap }
diff --git a/manager/media/style/default/css/custom.css b/manager/media/style/default/css/custom.css
old mode 100644
new mode 100755
index 6d7107cb92..f926f45dd1
--- a/manager/media/style/default/css/custom.css
+++ b/manager/media/style/default/css/custom.css
@@ -1,311 +1,336 @@
-/* [ COLS ] */
-.row { margin-left: -1.25rem; margin-right: -1.25rem }
-.container { padding-left: 1.25rem; padding-right: 1.25rem; width: 100% }
-/* :TODO .container-body need remove and replace .tab-content */
-.container-body { padding: 1.25rem }
-/* [ FORMS ] */
-.form-row { margin-bottom: 0.25rem; }
-.form-row.row { margin-left: 0; margin-right: -1rem }
-.form-row label { margin-bottom: 0.15rem }
-.form-row .col, .form-row .col-1, .form-row .col-10, .form-row .col-11, .form-row .col-12, .form-row .col-2, .form-row .col-3, .form-row .col-4, .form-row .col-5, .form-row .col-6, .form-row .col-7, .form-row .col-8, .form-row .col-9, .form-row .col-lg, .form-row .col-lg-1, .form-row .col-lg-10, .form-row .col-lg-11, .form-row .col-lg-12, .form-row .col-lg-2, .form-row .col-lg-3, .form-row .col-lg-4, .form-row .col-lg-5, .form-row .col-lg-6, .form-row .col-lg-7, .form-row .col-lg-8, .form-row .col-lg-9, .form-row .col-md, .form-row .col-md-1, .form-row .col-md-10, .form-row .col-md-11, .form-row .col-md-12, .form-row .col-md-2, .form-row .col-md-3, .form-row .col-md-4, .form-row .col-md-5, .form-row .col-md-6, .form-row .col-md-7, .form-row .col-md-8, .form-row .col-md-9, .form-row .col-sm, .form-row .col-sm-1, .form-row .col-sm-10, .form-row .col-sm-11, .form-row .col-sm-12, .form-row .col-sm-2, .form-row .col-sm-3, .form-row .col-sm-4, .form-row .col-sm-5, .form-row .col-sm-6, .form-row .col-sm-7, .form-row .col-sm-8, .form-row .col-sm-9, .form-row .col-xl, .form-row .col-xl-1, .form-row .col-xl-10, .form-row .col-xl-11, .form-row .col-xl-12, .form-row .col-xl-2, .form-row .col-xl-3, .form-row .col-xl-4, .form-row .col-xl-5, .form-row .col-xl-6, .form-row .col-xl-7, .form-row .col-xl-8, .form-row .col-xl-9, .form-row .col-xs, .form-row .col-xs-1, .form-row .col-xs-10, .form-row .col-xs-11, .form-row .col-xs-12, .form-row .col-xs-2, .form-row .col-xs-3, .form-row .col-xs-4, .form-row .col-xs-5, .form-row .col-xs-6, .form-row .col-xs-7, .form-row .col-xs-8, .form-row .col-xs-9 { padding-left: 0 }
-.form-row .form-control { float: left; }
-.form-inline .form-row .form-control { float: none; }
-.container-body > .form-group:last-child, .container-body > .form-row:last-child, .container-body > p:last-child, .container-body > .form-group:last-child > p:last-child { margin-bottom: 0 }
-.form-control-name { position: relative; }
-.form-control-name .form-control { padding-right: 2em }
-.form-control-name .custom-control { display: block; overflow: hidden; position: absolute; z-index: 3; top: 0; right: 0; width: 2em; height: 100%; margin: 0; padding: 0; cursor: pointer }
-.form-control-name .custom-control input { position: absolute; left: -100% }
-.form-control-name .custom-control .fa-lock { margin-top: 0.6em; font-size: 1.5em }
-.form-control-name .custom-control .fa-lock::before { content: "\f09c"; color: #ddd }
-.form-control-name .custom-control input:checked ~ .fa-lock::before { content: "\f023"; color: #d9534f }
-input[type=date]:not(.unstyled), input[name*=date]:not(.unstyled):not([type=checkbox]):not([type=radio]), input[name=createdon], input[name=editedon], input[size="1"], select[size="1"]:not(.unstyled), select[name=usergroup]:not(.unstyled), select[name=docgroup]:not(.unstyled) { width: auto !important; vertical-align: middle }
-input[name*=date]:not(.unstyled) + .input-group-addon { float: left; width: auto; }
-input[size="50"], select[size="50"] { width: 10rem !important }
-select[name=usergroup], select[name=docgroup] { margin: 0 0.5em; }
-select[name=docgroup] + input[type=submit] { float: none; margin: 0; }
-#settingsPane #filemanager_path, #settingsPane #rb_base_dir, #settingsPane input[name=txt_custom_contenttype] { border-top-right-radius: 0; border-bottom-right-radius: 0 }
-#settingsPane #filemanager_path + input[name=reset_filemanager_path], #settingsPane #rb_base_dir + input[name=reset_rb_base_dir], #settingsPane input[name=txt_custom_contenttype] + input[type=button], input[name=photo] + input[type=button], #range input#pids + input[name=fsubmit], input[name="ta"].inputBox + input[type=button], input[name="ta"].inputBox + .CodeMirror + input[type=button], #documentPane input[name^=tv]:not([class*=mtv]) + input[type=button] { z-index: 5; float: right; margin-top: -2.30769em; width: auto !important; border-top-left-radius: 0; border-bottom-left-radius: 0 }
-#settingsPane [name=site_name], #settingsPane [name=txt_custom_contenttype], #settingsPane [name=filemanager_path], #settingsPane [name=rb_base_dir], input[name=photo], #range input#pids, input[maxlength="350"], textarea.mce, #editorRow_TinyMCE { width: 100% !important }
-#range::after { content: ""; display: table; width: 100% }
-/* [ Editor ] */
-.navbar.navbar-editor { padding: .5rem 1.25rem; border-radius: 0 }
-.navbar-editor > label { margin-bottom: 0 }
-.section-editor textarea { float: left; border-left: none; border-right: none; font-family: 'Inconsolata', 'Monaco', 'Consolas', 'Courier New', 'Courier', monospace; font-weight: 300; font-size: 0.875rem; }
-/* [ Action Buttons ] */
-/* new style */
-#actions { background: rgba(199, 199, 199, 0.25); padding: 0.5rem; position: fixed; top: 0; right: 1rem; text-align: right; z-index: 1001; border-radius: 0 0 0.3rem 0.3rem; }
-#actions .btn-group { margin: 0 }
-#actions .btn-group > .btn-group { display: block }
-#actions .btn-group .btn, #actions .btn-group .form-control { font-size: .6772rem; height: 2.4em; line-height: 1.4 }
-#actions .btn-group .btn .fa, #_actions .btn-group .btn .fa { display: none; width: 1em; font-size: 1em; text-align: center }
-#actions .btn-group .btn-group #Button1 { min-width: 100%; text-align: left; }
-#actions .btn-group .btn-success { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .07); }
-#actions .btn-group .btn-success:hover { box-shadow: none }
-#actions .btn-group .plus { z-index: 2; float: right; margin: -2.4em 0 0 0; width: 2rem; padding-left: 0; padding-right: 0; text-align: center }
-#actions .btn-group select#stay { display: block; position: relative; z-index: -1; clear: both; width: auto; height: 0; margin: -100% 0 -2rem 0; font-size: 0.675rem; opacity: 0; visibility: hidden; }
-#actions .btn-group .dropdown-menu { display: none; position: absolute; z-index: -1; left: auto; right: 0; top: 100%; width: 100%; min-width: 2rem; margin: 0; padding: 0; text-align: left; font-size: .6772rem; border-top: none; border-radius: 0 0 0.1em 0.1em; overflow: hidden; }
-#actions .btn-group .show > .dropdown-menu { display: block }
-#actions .btn-group .dropdown-menu > span { display: block; margin: 0; text-align: left; border: none; border-top: 1px solid rgba(0, 0, 0, 0.1) }
-#actions .btn-group .dropdown-menu > span:first-child { border-color: transparent }
-#actions .btn-group .dropdown-menu > span:hover { background-color: #e6e6e6; }
-#actions .btn-group .dropdown-toggle::after { margin: 0; border-width: 0.4em; transition-duration: 0.25s }
-#actions .btn-group .show .dropdown-toggle::after { transform: rotate(180deg) }
-#_actions .btn-group .input-group-btn .btn { margin-left: .1875rem }
-#_actions .btn-group .form-control, #_actions .btn-group .btn { border-radius: .1rem }
-@media (max-width: 840px) {
-#actions { right: 0 }
-#actions .btn-group .btn span, #actions .btn-group select#stay, #_actions .btn-group .btn span { display: none }
-#actions .btn-group .btn .fa, #_actions .btn-group .btn .fa { display: inline-block }
-#actions .btn-group .dropdown-menu { width: 2rem }
-#actions .btn-group .dropdown-menu span { padding-left: 0; padding-right: 0; text-align: center }
-#_actions .btn-group .input-group-btn .btn { margin-left: -1px }
-#_actions .btn-group .form-control, #_actions .btn-group .btn { border-radius: 0 }
-#_actions .btn-group .form-control:first-child { border-top-left-radius: .1rem; border-bottom-left-radius: .1rem; }
-#_actions .btn-group .btn:last-child { border-top-right-radius: .1rem; border-bottom-right-radius: .1rem; }
-}
-/* old style */
-#actions .actionButtons { float: left; min-height: 32px }
-#actions .actionButtons li { position: relative; float: left; margin-right: 3px; border: none }
-#actions .actionButtons li a, #actions .actionButtons .plus { float: left; padding: 0 10px !important; height: 32px; line-height: 30px; -webkit-user-select: none; user-select: none; }
-#actions .actionButtons li:last-child { margin: 0 }
-#actions .actionButtons #Button1 a { width: 100%; text-align: left; }
-#actions .actionButtons .plus { overflow: hidden; float: right; margin: -32px 0 0 0; width: 35px; border-radius: 0 3px 3px 0 !important; text-align: center; cursor: default; font: normal normal normal 0/30px FontAwesome }
-#actions .actionButtons .plus::before { content: "\f107"; font-size: 14px }
-#actions .actionButtons .show .plus::before { content: "\f106"; }
-#actions .actionButtons .dropdown-menu { display: none; position: absolute; z-index: -1; left: auto; right: 0; top: 100%; width: 100%; min-width: 35px; margin: -2px 0 0; padding: 2px 0 0; text-align: left; font-size: 1em; background-color: #fff; border: 1px solid #32ab9a; border-top: none; border-radius: 0 0 3px 3px; overflow: hidden; }
-#actions .actionButtons .show > .dropdown-menu { display: block }
-#actions .actionButtons .dropdown-menu > span { display: block; padding: 0 10px; height: 32px; line-height: 30px; border: none; border-top: 1px solid #f2f2f2; cursor: pointer; }
-#actions .actionButtons .dropdown-menu > span:hover { background-color: #fbfbfb; }
-#actions .actionButtons select#stay { display: block; position: relative; z-index: -1; clear: both; width: auto; height: 0; padding: 0 10px; margin: -100% 0 -32px 0; font-size: 1em; opacity: 0; visibility: hidden; }
-#actions .actionButtons #Button1 a, #actions .actionButtons .plus { color: #fff; border-color: #32ab9a; background: #32ab9a linear-gradient(#32ab9a, #00948e); }
-#actions .actionButtons #Button1 a:hover, #actions .actionButtons .plus:hover { background: #2b9385 linear-gradient(#2b9385, #007571); border-color: #2b9385; }
-#actions .actionButtons #Button1 a:active, #actions .actionButtons .plus:active { background: #32ab9a; border-color: #32ab9a; }
-@media (max-width: 900px) {
-#actions .actionButtons li a, #actions .actionButtons .dropdown-menu span { font-size: 0 }
-#actions .actionButtons li a .fa, #actions .actionButtons .dropdown-menu span .fa { display: inline-block; font-size: 14px; line-height: 30px }
-#actions .actionButtons .dropdown-menu { width: 35px }
-#actions .actionButtons #Button1 a { margin: 0; width: auto }
-#actions .actionButtons .plus { margin: 0 0 0 -2px }
-#actions .actionButtons select#stay { display: none }
-}
-/* actionButtons in content ( old style ) */
-.actionButtons { margin: 0; padding: 0; background: none; width: auto; white-space: nowrap; }
-.actionButtons li { float: left; margin: 0; padding: 0; list-style: none; }
-.actionButtons li:before, .mmTagList li:before, .rTable li:before, .tab-pane ul li ul li:before, .dashboard li:before, div#idShowHideSocialBox.sectionBody > div.btn-group.ope > ul.dropdown-menu > li:before, .sectionBody .multitv .list li:before { display: none; content: ''; }
-.actionButtons img { vertical-align: top; margin-top: 1px; filter: alpha(opacity=30); -moz-opacity: 0.3; opacity: 0.3; }
-.actionButtons:hover img { filter: alpha(opacity=100); -moz-opacity: 1; opacity: 1; }
-.actionButtons a:hover { border-color: #999; -moz-box-shadow: 1px 1px 2px #aaa; -webkit-box-shadow: 1px 1px 2px #aaa; box-shadow: 1px 1px 2px #aaa; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -o-transition: all .3s ease; transition: .3s ease; background: -moz-linear-gradient(#fff, #f5f5f5); background: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#f5f5f5)); background: -o-linear-gradient(#fff, #f5f5f5); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#fff, endColorstr=#f5f5f5);
-zoom: 1; text-decoration: none !important; }
-.actionButtons a:active { background: #92aac4 bottom left; -webkit-box-shadow: 0 0 10px #b8c7d6; -moz-box-shadow: 0 0 10px #b8c7d6; box-shadow: 0 0 10px #b8c7d6; }
-.actionButtons a { float: left; padding: 5px 10px; height: 32px; font-size: 13px; font-weight: 500; }
-.actionButtons a, .actionButtons li.primary a, .actionButtons a.primary, .actionButtons a.default { text-shadow: none; background: #fff; color: #555; border: 1px solid #e4e4e4; border-radius: 3px; /*box-shadow: 0 0 0 1px #E4E4E4;*/ box-shadow: none; transition: none; }
-.actionButtons a:hover { background: #1377c5; box-shadow: none; border-color: #1377c5; color: #fff !important; transition: none; }
-.actionButtons a:active { background-color: #3189ba; border-color: #3189ba; }
-.actionButtons li.primary a, .actionButtons a.primary { color: #fff; border-color: #32ab9a; background: #32ab9a linear-gradient(#32ab9a, #00948e); }
-.actionButtons li.primary a:hover, .actionButtons a.primary:hover { background: #2b9385 linear-gradient(#2b9385, #007571); border-color: #2b9385; }
-.actionButtons li.primary a:active, .actionButtons a.primary:active { background: #32ab9a; border-color: #32ab9a; }
-.actionButtons img { display: none; }
-#treePane .actionButtons img { display: inline; }
-.actionButtons--tableheader .fa { font-size: 14px; }
-.sectionBody .actionButtons { padding-top: 0; min-height: 40px; }
-.sectionBody .actionButtons li { margin-right: 10px; }
-.sectionBody .actionButtons a { display: inline-block; padding: 9px 10px; line-height: 1; }
-table.actionButtons { margin-top: 1rem; margin-bottom: 10px; }
-table.actionButtons img { display: inline-block; }
-table.actionButtons .searchtext { padding: 5px; height: 24px; width: 150px; }
-.actionButtons .fa { display: none; text-align: center; font-size: 1em; line-height: 1em; width: 1.1em; vertical-align: initial }
-.actionButtons .fa, .actionButtons--eit .fa { display: inline-block; }
-.optionsTitle .fa { display: inline-block; }
-@media (max-width: 900px) {
-.actionButtons a { display: inline-block; padding: 6px 10px }
-.tab-page .actionButtons a { margin-top: 0 !important }
-.actionButtons a span { display: none; }
-.actionButtons a .fa { display: inline-block; }
-}
-/* [ TABLES ] */
-/* table */
-.table th, .table td { padding: 0.15rem 0.25rem; }
-/* table-data */
-.table.data { width: 100%; max-width: 100%; margin-bottom: 0; border-bottom: 1px solid #eceeef }
-.table.data th, .table.data thead td { padding: 0.75rem; text-transform: uppercase; white-space: nowrap; font-size: 0.675rem; color: #777; border-bottom: 2px solid #eceeef }
-.table.data td { padding: 0.55rem 0.75rem; }
-.table.data td, .table.data th, .table.data thead td { vertical-align: top; border-top: 1px solid #eceeef }
-.table.data td:first-child, .table.data th:first-child, .table.data.table-sm td:first-child, .table.data.table-sm th:first-child { padding-left: 1.25rem }
-.table.data td:last-child, .table.data th:last-child, .table.data.table-sm td:last-child, .table.data.table-sm th:last-child { padding-right: 1.25rem }
-.table.data thead { background-color: #fff; }
-.table.data > tbody > tr { background-color: #f9f9f9; transition-duration: .5s }
-.table.data > tbody > tr:nth-child(2n) { background-color: #fff }
-.table.data > tbody > tr:hover { cursor: default; background-color: rgba(93, 109, 202, 0.16); transition-duration: .05s }
-.table.data tr.unstyled:hover { background-color: inherit }
-.table.data .actions { white-space: nowrap }
-.table.data .actions a { color: #555 }
-.table.data .actions a .fa, .table.data .actions span .fa { position: relative; margin: 0 0.375rem; font-size: 0.9rem; color: #555 }
-.table.data .actions a:hover .fa { color: #000; }
-.table.data .actions a:hover .fa.fa-trash { color: #d80030 }
-.table.data .actions a .fa::before { position: relative; z-index: 2; }
-.table.data .actions a .fa::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 1.5rem; height: 1.5rem; margin: -0.75rem 0 0 -0.75rem; border-radius: 50%; -webkit-transition: 0.15s; transition: 0.15s; }
-.table.data .actions a:hover .fa::after { background-color: #fff }
-.table.data .actions .disabled { visibility: hidden }
-/* table-data-nowrap */
-.table.data.nowrap th, .table.data.nowrap td { white-space: nowrap }
-/* table-data-sortable */
-.table.data thead .sortable a, .table.data thead .sortable-text a { color: #777; text-decoration: none !important; }
-.table.data thead .sortable a:hover, .table.data thead .sortable-text a:hover { color: #222 }
-.table.data thead .sortable a::after, .table.data thead .sortable-text a::after { content: "\f107"; font-family: FontAwesome; opacity: .3; margin-left: .5em; }
-.table.data thead .sortable.forwardSort a::after, .table.data thead .sortable-text.forwardSort a::after { opacity: 1; content: "\f106"; color: #d9534f }
-.table.data thead .sortable.reverseSort a::after, .table.data thead .sortable-text.reverseSort a::after { opacity: 1; content: "\f107"; color: #d9534f }
-.table.data thead .sortable:hover a::after, .table.data thead .sortable-text:hover a::after, .table.data thead .sortable-numeric:hover a::after, .table.data thead .sortable-date:hover a::after { opacity: 1 }
-.table.data thead .sortable, .table.data thead .sortable-text, .table.data thead .sortable-numeric, .table.data thead .sortable-date { cursor: pointer }
-.table.data thead .sortable-text span, .table.data thead .sortable-numeric span, .table.data thead .sortable-date span { display: none }
-.table.data.table-sortable > tbody > tr { cursor: move; transition-duration: .5s }
-.table.data.table-sortable > tbody > tr.ghost { background-color: rgba(93, 109, 202, 0.16); color: #d9534f !important; transition: background-color .5s, color .5s, transform 0s }
-/* table-data-sm */
-.table.data.table-sm td, .table.data.table-sm th { padding: .25rem .5rem; }
-.table.data.table-sm th, .table.data.table-sm thead td { font-size: 0.75rem; text-transform: none; }
-/* table-data-even */
-.table.data.table-even > tbody > tr:not(:hover) { background-color: #fff }
-.table.data.table-even > tbody > tr:nth-child(4n+1):not(:hover) { background-color: #f6f8f8 }
-.table.data.table-even > tbody > tr:nth-child(2n) { background-color: #fff }
-/* table-data-docs */
-.table.data .doc-item .fa { width: 1.2em; font-size: 0.9rem; text-align: center; margin-right: 0.25rem }
-.table.data .doc-item { text-decoration: none }
-.table.data .doc-item:hover span { text-decoration: underline }
-.table.data .doc-item.private .fa::after { position: relative; float: left; margin: .5em -1em 0 0; content: "\f023"; font-size: 0.75em; color: #d9534f; }
-/* [ BREADCRUMBS ] */
-ul.breadcrumbs { margin: 0 1rem .5rem; padding: 0 0 .5rem; line-height: normal; font-size: .675rem; color: #888; border-bottom: 1px dotted #cecaca; }
-ul.breadcrumbs li { list-style: none; display: inline-block; padding: 0; margin: 0; }
-ul.breadcrumbs a { text-decoration: none; }
-ul.breadcrumbs span { display: inline-block; width: 1.25em; vertical-align: top; text-indent: -2.25em; overflow: hidden; }
-ul.breadcrumbs span::after { margin-left: 2em; font-family: FontAwesome; content: "\f105" }
-/* [ PAGINATION ] */
-#pagination { padding: 0 1.25rem; margin: .5rem 0 0; }
-#pagination ul { margin: 0 0 0 .5rem; display: inline-block; }
-#pagination li { list-style: none; display: inline-block; margin: 0 0 0 1px; }
-#pagination li a { display: inline-block; padding: 0 .5rem; line-height: 1.7; border: 1px solid #ddd; text-decoration: none; color: #333; }
-#pagination li.currentPage a, #pagination li a:hover { color: #555; border: 1px solid #555; }
-/* [ SEARCHBAR ] */
-.searchbar input[type=text] { max-width: 10rem }
-/* [ WIDGETS ] */
-.widgets .card { margin-bottom: .75rem; border: none; border-radius: 0.15rem; background-color: #fff; box-shadow: 0 0 0.1rem 0 rgba(0, 0, 0, 0.1), 0 0.1rem 0.3rem rgba(0, 0, 0, 0.05) }
-.widgets .card-header { padding: .75rem 1rem; font-size: .675rem; color: #616a73; text-transform: uppercase; font-weight: 900; border: none; background-color: #f2f2f2; }
-.widgets .card-header .fa { font-size: .9rem }
-.widgets .card-block { padding: 0; }
-.widgets .card-block .card-block p { padding: 0 1rem }
-.widgets .card-block .card-body { padding: 1rem; }
-.widgets .card-block .card-body + .card-body { padding-top: 0 }
-.widgets .table { margin-bottom: 1rem }
-.widgets .table:not(.data) tr th, .widgets .table:not(.data) tr td { padding: .15rem; }
-.widgets .table tr th:first-child, .widgets .table tr td:first-child { padding-left: 1rem !important }
-.widgets .table tr th:last-child, .widgets .table tr td:last-child { padding-right: 1rem !important }
-.widgets .table .actions a .fa { margin: 0 .05rem; }
-/* widgets custom */
-.widgets #welcome .wm_buttons { text-align: center }
-.widgets #welcome .wm_button { display: inline-block; margin: 0 .15rem .5rem; }
-.widgets #welcome .wm_button a { display: inline-block; text-decoration: none; color: #646b7b; padding: .25rem; /*min-width: 6rem; background-color: #f9f9f9;*/ border-radius: 0.25rem; box-shadow: none; transition-duration: .5s }
-.widgets #welcome .wm_button a:hover { color: #373b46; }
-.widgets #welcome .wm_button a .fa { display: inline-block; }
-.widgets #welcome .wm_button a .fa + span { display: block; font-size: .7rem; }
-.widgets #modxrecent_widget .table.data tbody tr:not(:hover) { background-color: #fff }
-.widgets #modxrecent_widget .table.data tbody tr:nth-child(4n+1):not(:hover) { background-color: #f6f8f8 }
-.widgets #modxrecent_widget .table.data tbody tr:nth-child(2n) { background-color: #fff }
-/* [ DATEPICKER ] */
-.dp_container { position: absolute; z-index: 500; }
-.dp_cal { overflow: hidden; width: 220px; margin: 0.25rem 0; background-color: #fff; -webkit-box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.3); box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.3); }
-.dp_cal p { position: relative; margin: 10px; }
-.dp_cal select { font-size: 1em; margin: 2px 3px; width: auto !important }
-.dp_cal select option { padding: 1px 3px }
-.dp_cal table { border-collapse: collapse; border-spacing: 0; width: 100% }
-.dp_cal td.dp_roll { background-color: rgba(0, 0, 0, 0.1); color: #333 !important }
-.dp_cal th, .dp_cal td { font-size: 1em; padding: 0.5em 0 !important; text-align: center !important; width: 14.2857%; cursor: default }
-.dp_cal tbody th { background-color: #656d79; color: #fff; }
-.dp_cal tbody td:nth-child(6), .dp_cal tbody td:nth-child(7) { color: indianred }
-.dp_cal .dp_empty { background-color: #f9f9f9 }
-.dp_cal .dp_hide { visibility: hidden }
-.dp_cal .dp_today { background-color: #4caf50; color: #fff !important }
-.dp_cal .dp_selected { background-color: #3189ba; color: #fff !important }
-.dp_cal input { width: 68% !important }
-.dp_cal button { position: absolute; top: 0; right: 0; margin: 0 !important; width: 30% !important }
-/* datepicker icon clear */
-.clearDate { position: relative; margin: 0.5rem 0 0 -1.5rem; }
-/* [ GRID STYLE ] */
-.grid { width: 100%; background-color: #fff !important; border: 1px solid rgba(0, 0, 0, 0.1); border-collapse: collapse; }
-.grid thead, .grid tfoot { background-color: #e9e9e9 }
-.grid th, .grid td { padding: 0.375rem !important; border: 1px solid #ddd }
-.gridHeader, .grid th { color: #333; font-weight: 500; white-space: nowrap; background-color: #e9e9e9; text-align: left; }
-.grid > tbody > tr:nth-child(2n) > td { background-color: rgba(0, 0, 0, 0.03) }
-.gridItem { background-color: #fff; padding: 3px; }
-.gridAltItem { background-color: #f7f7f7; padding: 3px; }
-.grid tbody tr:hover td { background: #e9edf3; }
-.grid a { text-decoration: none; }
-.grid img { vertical-align: middle; padding-right: 4px; }
-/* SORTABLELIST */
-ul.sortableList { margin: 0; }
-ul.sortableList li { position: relative; z-index: 1; float: left; clear: both; max-width: 100%; width: 30rem; list-style: none; font-weight: bold; cursor: move; padding: 0.46153846em 1em; margin: .0625rem 0; border: 1px solid #ccc; line-height: 1.23076923; background-color: #fff; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); box-shadow: none; transition: color .3s, box-shadow .3s, transform .3s, z-index .3s step-end; }
-ul.sortableList li.ghost { z-index: 2; box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.15); transition: color .3s, box-shadow .3s, transform 0s, z-index 0s; }
-/* [ TOOLTIPS ] */
-.evo-tooltip, .custom-tip { position: fixed; z-index: 13000; width: 13rem; margin: 1rem; padding: 0.9rem 1rem; font-size: 0.75rem; line-height: 1.5; font-family: sans-serif; text-align: left; color: #333; background-color: #fff; visibility: hidden; transition-duration: .3s; transform: translate3d(1rem, 0, 0); -webkit-box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15); box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15); }
-.evo-tooltip { opacity: 0; content: attr(data-tooltip); }
-.evo-tooltip.show { opacity: 1; visibility: visible; transform: translate3d(0, 0, 0); }
-[data-tooltip] { cursor: help }
-[data-tooltip].fa-question-circle { opacity: 0.15; }
-[data-tooltip].fa-question-circle:hover { opacity: 1; }
-/* [ FILES MANAGER ] */
-#ManageFiles { padding-bottom: 1rem; }
-#ManageFiles .breadcrumbs { }
-#ManageFiles .breadcrumbs a, #ManageFiles .breadcrumbs span { display: inline-block; padding: 0 0.25em; }
-#ManageFiles #imageviewer { text-align: center; }
-#ManageFiles #imageviewer img { display: inline-block; max-width: 100%; margin-top: 1rem }
-#FilesTable { margin-bottom: 1rem; border-bottom: 1px solid #ddd; }
-#file_editfile.section .sectionHeader { margin: 0; padding: 0.5rem 1rem; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; background-color: #f9f9f9 }
-#file_editfile.section .sectionBody { margin: 0 !important; padding: 0 0 1rem; border: none; border-bottom: 1px solid #ddd; background-color: #f9f9f9 }
-#file_editfile td { padding: 0 !important; }
-#file_editfile #content { float: left; width: 100%; min-height: 25rem; border: none; border-bottom: 1px solid rgba(0, 0, 0, .15) }
-/* STYLES FOR PAGE HELP */
-#helpPane h1 { margin-bottom: 1em; padding: .5rem; font-size: .8rem; border-bottom: 1px solid #e0e0e0; }
-#helpPane li:not(:first-child) > strong { margin-top: 1.4em; }
-#helpPane li > strong { display: block; font-size: 14px; }
-#helpPane pre { border: 1px solid rgba(0, 0, 0, 0.1); padding: 1em; }
-/* [ DARK THEME ] */
-.dark .section-editor textarea { background-color: #282c34; color: #abb2bf }
-.dark .tab-page, .dark .sectionBody .tab-page, .dark .tab-row .tab.selected, .dark .tab-row .tab.selected.hover, .dark .tab-row .tab.selected:before, .dark .tab-row .tab.selected span { background-color: #f9f9f9; }
-.dark, .dark .resourceTable .panel-heading { background: #ecf0f1 !important; }
-.dark .resourceTable .panel-heading:hover { background: #ecf0f1 !important; }
-.dark .multitv .list li.element a.copy, .multitv .list li.element a.remove { background: #f9f9f9 !important; }
-.dark .multitv .list li.element { background: #fefefe !important; }
-.dark .split { border-color: rgba(0, 0, 0, .05) }
-.dark hr { background: transparent; }
-.dark .content-blocks .block { background: #fefefe; border: 1px solid #e3e3e3; }
-.dark .content-blocks .block .fields-group { border: 1px dashed #e2e2e2; }
-.dark .content-blocks input[type="text"], .dark .content-blocks input[type="password"], .dark .content-blocks input[type="number"], .dark .content-blocks textarea { background-color: #fbfbfb !important; border-color: #dbdbdb !important; }
-.dark .content-blocks .controls { background: transparent !important; }
-/*
- [ OTHERS COMPONENTS ] - this components need fix css
-*/
-/* extras */
-.catalog_item select[name=link] { width: auto !important; margin-left: 0.5rem }
-/* ManagerManager */
-.sectionHeader.minimizable { position: relative; z-index: 1; background-color: #fafafa; padding: 0.5rem; border: 1px solid rgba(0, 0, 0, 0.15); }
-.dark .sectionHeader.minimizable { background-color: #f2f2f2 }
-.imageField { min-width: 100% !important; width: 100% !important }
-ul.mmTagList { float: left; margin-top: .25rem !important }
-/* MCE */
-.mce-container, .mce-container-body { box-sizing: border-box !important }
-.mce-container button { border: none; border-radius: 0; background-color: transparent; }
-.mce-window-head .mce-close { padding: 0; }
-#editorRow_TinyMCE { background-color: #fff; }
-#editorRow_TinyMCE tr { border: 1px dotted rgba(0, 0, 0, .05); }
-#editorRow_TinyMCE th { white-space: nowrap }
-#editorRow_TinyMCE th, #editorRow_TinyMCE td { padding: 0.5em; border: none !important }
-/* codeMirror */
-.CodeMirror { width: 100%; margin: 0 !important; }
-.CodeMirror pre { word-break: break-all !important; }
-.CodeMirror > div:first-child > textarea { /*opacity: 0;*/ z-index: -1; left: -9999rem; }
-div.CodeMirror-cursors { pointer-events: none; }
-/* docFinder */
-form#docfinder div.tab-page { height: auto !important }
-/* SimpleGallery */
-#SimpleGallery .pagination { display: block }
-#SimpleGallery .sg_image { width: auto }
-/* multiTV */
-.multitv .list li.element a.copy, .multitv .list li.element a.remove { width: 25px !important; text-align: center; background: #fff !important; top: -10px !important; }
-.multitv .list li.element { border-radius: .25rem; border: 1px solid rgba(0, 0, 0, .125); background: #fefefe !important; margin-bottom: 10px !important; }
+/* [ COLS ] */
+.row { margin-left: -1.25rem; margin-right: -1.25rem }
+.container { padding-left: 1.25rem; padding-right: 1.25rem; width: 100% }
+/* :TODO .container-body need remove and replace .tab-content */
+.container-body { padding: 1.25rem }
+/* [ FORMS ] */
+.form-row { margin-bottom: 0.25rem; }
+.form-row.row { margin-left: 0; margin-right: -1rem }
+.form-row label { margin-bottom: 0.15rem }
+.form-row .col, .form-row .col-1, .form-row .col-10, .form-row .col-11, .form-row .col-12, .form-row .col-2, .form-row .col-3, .form-row .col-4, .form-row .col-5, .form-row .col-6, .form-row .col-7, .form-row .col-8, .form-row .col-9, .form-row .col-lg, .form-row .col-lg-1, .form-row .col-lg-10, .form-row .col-lg-11, .form-row .col-lg-12, .form-row .col-lg-2, .form-row .col-lg-3, .form-row .col-lg-4, .form-row .col-lg-5, .form-row .col-lg-6, .form-row .col-lg-7, .form-row .col-lg-8, .form-row .col-lg-9, .form-row .col-md, .form-row .col-md-1, .form-row .col-md-10, .form-row .col-md-11, .form-row .col-md-12, .form-row .col-md-2, .form-row .col-md-3, .form-row .col-md-4, .form-row .col-md-5, .form-row .col-md-6, .form-row .col-md-7, .form-row .col-md-8, .form-row .col-md-9, .form-row .col-sm, .form-row .col-sm-1, .form-row .col-sm-10, .form-row .col-sm-11, .form-row .col-sm-12, .form-row .col-sm-2, .form-row .col-sm-3, .form-row .col-sm-4, .form-row .col-sm-5, .form-row .col-sm-6, .form-row .col-sm-7, .form-row .col-sm-8, .form-row .col-sm-9, .form-row .col-xl, .form-row .col-xl-1, .form-row .col-xl-10, .form-row .col-xl-11, .form-row .col-xl-12, .form-row .col-xl-2, .form-row .col-xl-3, .form-row .col-xl-4, .form-row .col-xl-5, .form-row .col-xl-6, .form-row .col-xl-7, .form-row .col-xl-8, .form-row .col-xl-9, .form-row .col-xs, .form-row .col-xs-1, .form-row .col-xs-10, .form-row .col-xs-11, .form-row .col-xs-12, .form-row .col-xs-2, .form-row .col-xs-3, .form-row .col-xs-4, .form-row .col-xs-5, .form-row .col-xs-6, .form-row .col-xs-7, .form-row .col-xs-8, .form-row .col-xs-9 { padding-left: 0 }
+.form-row .form-control { float: left; }
+.form-inline .form-row .form-control { float: none; }
+.container-body > .form-group:last-child, .container-body > .form-row:last-child, .container-body > p:last-child, .container-body > .form-group:last-child > p:last-child { margin-bottom: 0 }
+.form-control-name { position: relative; }
+.form-control-name .form-control { padding-right: 2em }
+.form-control-name .custom-control { display: block; overflow: hidden; position: absolute; z-index: 3; top: 0; right: 0; width: 2em; height: 100%; margin: 0; padding: 0; cursor: pointer }
+.form-control-name .custom-control input { position: absolute; left: -100% }
+.form-control-name .custom-control .fa-lock { margin-top: 0.6em; font-size: 1.5em }
+.form-control-name .custom-control .fa-lock::before { content: "\f09c"; color: #ddd }
+.form-control-name .custom-control input:checked ~ .fa-lock::before { content: "\f023"; color: #d9534f }
+input[type=date]:not(.unstyled), input[name*=date]:not(.unstyled):not([type=checkbox]):not([type=radio]), input[name=createdon], input[name=editedon], input[size="1"], select[size="1"]:not(.unstyled), select[name=usergroup]:not(.unstyled), select[name=docgroup]:not(.unstyled) { width: auto !important; vertical-align: middle }
+input[name*=date]:not(.unstyled) + .input-group-addon { float: left; width: auto; }
+input[size="50"], select[size="50"] { width: 10rem !important }
+select[name=usergroup], select[name=docgroup] { margin: 0 0.5em; }
+select[name=docgroup] + input[type=submit] { float: none; margin: 0; }
+#settingsPane #filemanager_path, #settingsPane #rb_base_dir, #settingsPane input[name=txt_custom_contenttype] { border-top-right-radius: 0; border-bottom-right-radius: 0 }
+#settingsPane #filemanager_path + input[name=reset_filemanager_path], #settingsPane #rb_base_dir + input[name=reset_rb_base_dir], #settingsPane input[name=txt_custom_contenttype] + input[type=button], input[name=photo] + input[type=button], #range input#pids + input[name=fsubmit], input[name="ta"].inputBox + input[type=button], input[name="ta"].inputBox + .CodeMirror + input[type=button], #documentPane input[name^=tv]:not([class*=mtv]) + input[type=button] { z-index: 5; float: right; margin-top: -2.30769em; width: auto !important; border-top-left-radius: 0; border-bottom-left-radius: 0 }
+#settingsPane [name=site_name], #settingsPane [name=txt_custom_contenttype], #settingsPane [name=filemanager_path], #settingsPane [name=rb_base_dir], input[name=photo], #range input#pids, input[maxlength="350"], textarea.mce, #editorRow_TinyMCE { width: 100% !important }
+#range::after { content: ""; display: table; width: 100% }
+/* [ Editor ] */
+.navbar.navbar-editor { padding: .5rem 1.25rem; border-radius: 0 }
+.navbar-editor > label { margin-bottom: 0 }
+.section-editor textarea { float: left; border-left: none; border-right: none; font-family: 'Inconsolata', 'Monaco', 'Consolas', 'Courier New', 'Courier', monospace; font-weight: 300; font-size: 0.875rem; }
+/* [ Action Buttons ] */
+/* new style */
+#actions { background: rgba(199, 199, 199, 0.25); padding: 0.5rem; position: fixed; top: 0; right: 1rem; text-align: right; z-index: 1001; border-radius: 0 0 0.3rem 0.3rem; }
+#actions .btn-group { margin: 0 }
+#actions .btn-group > .btn-group { display: block }
+#actions .btn-group .btn, #actions .btn-group .form-control { font-size: .6772rem; height: 2.4em; line-height: 1.4 }
+#actions .btn-group .btn .fa, #_actions .btn-group .btn .fa { display: none; width: 1em; font-size: 1em; text-align: center }
+#actions .btn-group .btn-group #Button1 { min-width: 100%; text-align: left; float: right; }
+#actions .btn-group .btn-success { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .07); }
+#actions .btn-group .btn-success:hover { box-shadow: none }
+#actions .btn-group .plus { z-index: 2; float: right; margin: -2.4em 0 0 0; width: 2rem; padding-left: 0; padding-right: 0; text-align: center; cursor: default; }
+#actions .btn-group .plus::before { content: "\f107"; font-family: FontAwesome }
+#actions .btn-group .show .plus::before { content: "\f106"; }
+#actions .btn-group select#stay { display: block; position: relative; z-index: -1; clear: both; width: auto; height: 0; margin: -100% 0 -2rem 0; font-size: 0.675rem; opacity: 0; visibility: hidden; }
+#actions .btn-group .dropdown-menu { display: none; position: absolute; z-index: -1; left: auto; right: 0; top: 100%; width: 100%; min-width: 2rem; margin: 0; padding: 0; text-align: left; font-size: .6772rem; border-top: none; border-radius: 0 0 0.1em 0.1em; overflow: hidden; }
+#actions .btn-group .show > .dropdown-menu { display: block }
+#actions .btn-group .dropdown-menu > span { display: block; margin: 0; text-align: left; border: none; border-top: 1px solid rgba(0, 0, 0, 0.1) }
+#actions .btn-group .dropdown-menu > span:first-child { border-color: transparent }
+#actions .btn-group .dropdown-menu > span:hover { background-color: #e6e6e6; }
+#actions .btn-group .dropdown-toggle::after { margin: 0; border-width: 0.4em; transition-duration: 0.25s }
+#actions .btn-group .show .dropdown-toggle::after { transform: rotate(180deg) }
+#_actions .btn-group .input-group-btn .btn { margin-left: .1875rem }
+#_actions .btn-group .form-control, #_actions .btn-group .btn { border-radius: .1em }
+@media (max-width: 840px) {
+#actions { right: 0 }
+#actions .btn-group .btn span, #actions .btn-group select#stay, #_actions .btn-group .btn span { display: none }
+#actions .btn-group .btn .fa, #_actions .btn-group .btn .fa { display: inline-block }
+#actions .btn-group .dropdown-menu { width: 2rem }
+#actions .btn-group .dropdown-menu span { padding-left: 0; padding-right: 0; text-align: center }
+#_actions .btn-group .input-group-btn .btn { margin-left: -1px }
+#_actions .btn-group .form-control, #_actions .btn-group .btn { border-radius: 0 }
+#_actions .btn-group .form-control:first-child { border-top-left-radius: .1em; border-bottom-left-radius: .1em; }
+#_actions .btn-group .btn:last-child { border-top-right-radius: .1em; border-bottom-right-radius: .1em; }
+}
+/* old style */
+#actions .actionButtons { float: left; min-height: 32px }
+#actions .actionButtons li { position: relative; float: left; margin-right: 3px; border: none }
+#actions .actionButtons li a, #actions .actionButtons .plus { float: left; padding: 0 10px !important; height: 32px; line-height: 30px; -webkit-user-select: none; user-select: none; }
+#actions .actionButtons li:last-child { margin: 0 }
+#actions .actionButtons #Button1 a { width: 100%; text-align: left; }
+#actions .actionButtons .plus { overflow: hidden; float: right; margin: -32px 0 0 0; width: 35px; border-radius: 0 3px 3px 0 !important; text-align: center; cursor: default; font: normal normal normal 0/30px FontAwesome }
+#actions .actionButtons .plus::before { content: "\f107"; font-size: 14px }
+#actions .actionButtons .show .plus::before { content: "\f106"; }
+#actions .actionButtons .dropdown-menu { display: none; position: absolute; z-index: -1; left: auto; right: 0; top: 100%; width: 100%; min-width: 35px; margin: -2px 0 0; padding: 2px 0 0; text-align: left; font-size: 1em; background-color: #fff; border: 1px solid #32ab9a; border-top: none; border-radius: 0 0 3px 3px; overflow: hidden; }
+#actions .actionButtons .show > .dropdown-menu { display: block }
+#actions .actionButtons .dropdown-menu > span { display: block; padding: 0 10px; height: 32px; line-height: 30px; border: none; border-top: 1px solid #f2f2f2; cursor: pointer; }
+#actions .actionButtons .dropdown-menu > span:hover { background-color: #fbfbfb; }
+#actions .actionButtons select#stay { display: block; position: relative; z-index: -1; clear: both; width: auto; height: 0; padding: 0 10px; margin: -100% 0 -32px 0; font-size: 1em; opacity: 0; visibility: hidden; }
+#actions .actionButtons #Button1 a, #actions .actionButtons .plus { color: #fff; border-color: #32ab9a; background: #32ab9a linear-gradient(#32ab9a, #00948e); }
+#actions .actionButtons #Button1 a:hover, #actions .actionButtons .plus:hover { background: #2b9385 linear-gradient(#2b9385, #007571); border-color: #2b9385; }
+#actions .actionButtons #Button1 a:active, #actions .actionButtons .plus:active { background: #32ab9a; border-color: #32ab9a; }
+@media (max-width: 900px) {
+#actions .actionButtons li a, #actions .actionButtons .dropdown-menu span { font-size: 0 }
+#actions .actionButtons li a .fa, #actions .actionButtons .dropdown-menu span .fa { display: inline-block; font-size: 14px; line-height: 30px }
+#actions .actionButtons .dropdown-menu { width: 35px }
+#actions .actionButtons #Button1 a { margin: 0; width: auto }
+#actions .actionButtons .plus { margin: 0 0 0 -2px }
+#actions .actionButtons select#stay { display: none }
+}
+/* actionButtons in content ( old style ) */
+.actionButtons { margin: 0; padding: 0; background: none; width: auto; white-space: nowrap; }
+.actionButtons li { float: left; margin: 0; padding: 0; list-style: none; }
+.actionButtons li:before, .mmTagList li:before, .rTable li:before, .tab-pane ul li ul li:before, .dashboard li:before, div#idShowHideSocialBox.sectionBody > div.btn-group.ope > ul.dropdown-menu > li:before, .sectionBody .multitv .list li:before { display: none; content: ''; }
+.actionButtons img { vertical-align: top; margin-top: 1px; opacity: 0.3; }
+.actionButtons:hover img { opacity: 1; }
+.actionButtons a:hover { border-color: #999; -webkit-box-shadow: 1px 1px 2px #aaa; box-shadow: 1px 1px 2px #aaa; -webkit-transition: .3s ease; transition: .3s ease; background: -moz-linear-gradient(#fff, #f5f5f5); background: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#f5f5f5)); background: -o-linear-gradient(#fff, #f5f5f5); text-decoration: none !important; }
+.actionButtons a:active { background: #92aac4 bottom left; -webkit-box-shadow: 0 0 10px #b8c7d6; box-shadow: 0 0 10px #b8c7d6; }
+.actionButtons a { float: left; padding: 5px 10px; height: 32px; font-size: 13px; font-weight: 500; }
+.actionButtons a, .actionButtons li.primary a, .actionButtons a.primary, .actionButtons a.default { text-shadow: none; background: #fff; color: #555; border: 1px solid #e4e4e4; border-radius: 3px; /*box-shadow: 0 0 0 1px #E4E4E4;*/ box-shadow: none; transition: none; }
+.actionButtons a:hover { background: #1377c5; box-shadow: none; border-color: #1377c5; color: #fff !important; transition: none; }
+.actionButtons a:active { background-color: #3189ba; border-color: #3189ba; }
+.actionButtons li.primary a, .actionButtons a.primary { color: #fff; border-color: #32ab9a; background: #32ab9a linear-gradient(#32ab9a, #00948e); }
+.actionButtons li.primary a:hover, .actionButtons a.primary:hover { background: #2b9385 linear-gradient(#2b9385, #007571); border-color: #2b9385; }
+.actionButtons li.primary a:active, .actionButtons a.primary:active { background: #32ab9a; border-color: #32ab9a; }
+.actionButtons img { display: none; }
+#treePane .actionButtons img { display: inline; }
+.actionButtons--tableheader .fa { font-size: 14px; }
+.sectionBody .actionButtons { padding-top: 0; min-height: 40px; }
+.sectionBody .actionButtons li { margin-right: 10px; }
+.sectionBody .actionButtons a { display: inline-block; padding: 9px 10px; line-height: 1; }
+table.actionButtons { margin-top: 1rem; margin-bottom: 10px; }
+table.actionButtons img { display: inline-block; }
+table.actionButtons .searchtext { padding: 5px; height: 24px; width: 150px; }
+.actionButtons .fa { display: none; text-align: center; font-size: 1em; line-height: 1em; width: 1.1em; vertical-align: initial }
+.actionButtons .fa, .actionButtons--eit .fa { display: inline-block; }
+.optionsTitle .fa { display: inline-block; }
+@media (max-width: 900px) {
+.actionButtons a { display: inline-block; padding: 6px 10px }
+.tab-page .actionButtons a { margin-top: 0 !important }
+.actionButtons a span { display: none; }
+.actionButtons a .fa { display: inline-block; }
+}
+/* [ TABLES ] */
+/* table */
+.table th, .table td { padding: 0.15rem 0.25rem; }
+/* table-data */
+.table.data { width: 100%; max-width: 100%; margin-bottom: 0; border-bottom: 1px solid #eceeef }
+.table.data th, .table.data thead td { padding: 0.75rem; text-transform: uppercase; white-space: nowrap; font-size: 0.675rem; color: #777; border-bottom: 2px solid #eceeef }
+.table.data td { padding: 0.55rem 0.75rem; }
+.table.data td, .table.data th, .table.data thead td { vertical-align: top; border-top: 1px solid #eceeef }
+.table.data td:first-child, .table.data th:first-child, .table.data.table-sm td:first-child, .table.data.table-sm th:first-child { padding-left: 1.25rem }
+.table.data td:last-child, .table.data th:last-child, .table.data.table-sm td:last-child, .table.data.table-sm th:last-child { padding-right: 1.25rem }
+.table.data thead { background-color: #fff; }
+.table.data > tbody > tr { background-color: #f9f9f9; transition-duration: .5s }
+.table.data > tbody > tr:nth-child(2n) { background-color: #fff }
+.table.data > tbody > tr:hover { cursor: default; background-color: rgba(93, 109, 202, 0.16); transition-duration: .05s }
+.table.data tr.unstyled:hover { background-color: inherit }
+.table.data .actions { white-space: nowrap }
+.table.data .actions a { color: #555 }
+.table.data .actions a .fa, .table.data .actions span .fa { position: relative; margin: 0 0.375rem; font-size: 0.9rem; color: #555 }
+.table.data .actions a:hover .fa { color: #000; }
+.table.data .actions a:hover .fa.fa-trash { color: #d80030 }
+.table.data .actions a .fa::before { position: relative; z-index: 2; }
+.table.data .actions a .fa::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 1.5rem; height: 1.5rem; margin: -0.75rem 0 0 -0.75rem; border-radius: 50%; -webkit-transition: 0.15s; transition: 0.15s; }
+.table.data .actions a:hover .fa::after { background-color: #fff }
+.table.data .actions .disabled { visibility: hidden }
+/* table-data-nowrap */
+.table.data.nowrap th, .table.data.nowrap td { white-space: nowrap }
+/* table-data-sortable */
+.table.data thead .sortable a, .table.data thead .sortable-text a { color: #777; text-decoration: none !important; }
+.table.data thead .sortable a:hover, .table.data thead .sortable-text a:hover { color: #222 }
+.table.data thead .sortable a::after, .table.data thead .sortable-text a::after { content: "\f107"; font-family: FontAwesome; opacity: .3; margin-left: .5em; }
+.table.data thead .sortable.forwardSort a::after, .table.data thead .sortable-text.forwardSort a::after { opacity: 1; content: "\f106"; color: #d9534f }
+.table.data thead .sortable.reverseSort a::after, .table.data thead .sortable-text.reverseSort a::after { opacity: 1; content: "\f107"; color: #d9534f }
+.table.data thead .sortable:hover a::after, .table.data thead .sortable-text:hover a::after, .table.data thead .sortable-numeric:hover a::after, .table.data thead .sortable-date:hover a::after { opacity: 1 }
+.table.data thead .sortable, .table.data thead .sortable-text, .table.data thead .sortable-numeric, .table.data thead .sortable-date { cursor: pointer }
+.table.data thead .sortable-text span, .table.data thead .sortable-numeric span, .table.data thead .sortable-date span { display: none }
+.table.data.table-sortable > tbody > tr { cursor: move; transition-duration: .5s }
+.table.data.table-sortable > tbody > tr.ghost { background-color: rgba(93, 109, 202, 0.16); color: #d9534f !important; transition: background-color .5s, color .5s, transform 0s }
+/* table-data-sm */
+.table.data.table-sm td, .table.data.table-sm th { padding: .25rem .5rem; }
+.table.data.table-sm th, .table.data.table-sm thead td { font-size: 0.75rem; text-transform: none; }
+/* table-data-even */
+.table.data.table-even > tbody > tr:not(:hover) { background-color: #fff }
+.table.data.table-even > tbody > tr:nth-child(4n+1):not(:hover) { background-color: #f6f8f8 }
+.table.data.table-even > tbody > tr:nth-child(2n) { background-color: #fff }
+/* table-data-docs */
+.table.data .doc-item .fa { width: 1.2em; font-size: 0.9rem; text-align: center; margin-right: 0.25rem }
+.table.data .doc-item { text-decoration: none }
+.table.data .doc-item:hover span { text-decoration: underline }
+.table.data .doc-item.private .fa::after { position: relative; float: left; margin: .5em -1em 0 0; content: "\f023"; font-size: 0.75em; color: #d9534f; }
+/* [ BREADCRUMBS ] */
+ul.breadcrumbs { margin: 0 1rem .5rem; padding: 0 0 .5rem; line-height: normal; font-size: .675rem; color: #888; border-bottom: 1px dotted #cecaca; }
+ul.breadcrumbs li { list-style: none; display: inline-block; padding: 0; margin: 0; }
+ul.breadcrumbs a { text-decoration: none; }
+ul.breadcrumbs span { display: inline-block; width: 1.25em; vertical-align: top; text-indent: -2.25em; overflow: hidden; }
+ul.breadcrumbs span::after { margin-left: 2em; font-family: FontAwesome; content: "\f105" }
+/* [ PAGINATION ] */
+#pagination { padding: 0 1.25rem; margin: .5rem 0 0; }
+#pagination ul { margin: 0 0 0 .5rem; display: inline-block; }
+#pagination li { list-style: none; display: inline-block; margin: 0 0 0 1px; }
+#pagination li a { display: inline-block; padding: 0 .5rem; line-height: 1.7; border: 1px solid #ddd; text-decoration: none; color: #333; }
+#pagination li.currentPage a, #pagination li a:hover { color: #555; border: 1px solid #555; }
+/* [ SEARCHBAR ] */
+.searchbar input[type=text] { max-width: 10rem }
+/* [ WIDGETS ] */
+.widgets .card { margin-bottom: .75rem; border: 1px solid rgba(0, 0, 0, .1); border-radius: 3px; background-color: #fff; /*box-shadow: 0 0 0.1rem 0 rgba(0, 0, 0, 0.1), 0 0.1rem 0.3rem rgba(0, 0, 0, 0.05);*/ }
+.widgets .card-header { padding: .5rem 1rem; font-size: .9rem; color: #616a73; font-weight: 700; border: none; border-bottom: 1px solid rgba(0, 0, 0, .05); background-color: #fff; }
+.widgets .card-header .fa { font-size: .9rem }
+.widgets .card-block { padding: 0; }
+.widgets .card-block .card-block p { padding: 0 1rem }
+.widgets .card-block .card-body { padding: 1rem; }
+.widgets .card-block .card-body + .card-body { padding-top: 0 }
+.widgets .table { margin-bottom: 1rem }
+.widgets .table:not(.data) tr th, .widgets .table:not(.data) tr td { padding: .15rem; }
+.widgets .table tr th:first-child, .widgets .table tr td:first-child { padding-left: 1rem !important }
+.widgets .table tr th:last-child, .widgets .table tr td:last-child { padding-right: 1rem !important }
+.widgets .table .actions a .fa { margin: 0 .05rem; }
+/* widgets custom */
+.widgets #welcome .wm_buttons { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-bottom: 1rem; padding: 0; text-align: center; border-bottom: 1px solid rgba(0, 0, 0, .05); }
+.widgets #welcome .wm_button { max-width: 16.666667%; flex: 0 0 16.666667%; }
+.widgets #welcome .wm_button a { display: block; height: 100%; padding: 1rem 1rem .5rem; text-decoration: none; color: #646b7b; box-shadow: none; transition-duration: .5s }
+.widgets #welcome .wm_button a:hover { color: #373b46; background-color: rgba(93, 109, 202, 0.16) }
+.widgets #welcome .wm_button a .fa { display: inline-block; }
+.widgets #welcome .wm_button a .fa + span { display: block; padding: .5em 0; line-height: 1em; font-size: .7rem; }
+.widgets #modxrecent_widget .table.data tbody tr:not(:hover) { background-color: #fff }
+.widgets #modxrecent_widget .table.data tbody tr:nth-child(4n+1):not(:hover) { background-color: #f6f8f8 }
+.widgets #modxrecent_widget .table.data tbody tr:nth-child(2n) { background-color: #fff }
+@media (max-width: 1399px) {
+.widgets #welcome .wm_button { max-width: 20%; flex: 0 0 20%; }
+}
+@media (max-width: 1199px) {
+.widgets #welcome .wm_button { max-width: 25%; flex: 0 0 25%; }
+}
+@media (max-width: 991px) {
+.widgets #welcome .wm_button { max-width: 33.3333%; flex: 0 0 33.3333%; }
+}
+@media (max-width: 767px) {
+.widgets #welcome .wm_button { max-width: 50%; flex: 0 0 50%; }
+}
+/* [ DATEPICKER ] */
+.dp_container { position: absolute; z-index: 500; }
+.dp_cal { overflow: hidden; width: 220px; margin: 0.25rem 0; background-color: #fff; -webkit-box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.3); box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.3); }
+.dp_cal p { position: relative; margin: 10px; }
+.dp_cal select { font-size: 1em; margin: 2px 3px; width: auto !important }
+.dp_cal select option { padding: 1px 3px }
+.dp_cal table { border-collapse: collapse; border-spacing: 0; width: 100% }
+.dp_cal td.dp_roll { background-color: rgba(0, 0, 0, 0.1); color: #333 !important }
+.dp_cal th, .dp_cal td { font-size: 1em; padding: 0.5em 0 !important; text-align: center !important; width: 14.2857%; cursor: default }
+.dp_cal tbody th { background-color: #656d79; color: #fff; }
+.dp_cal tbody td:nth-child(6), .dp_cal tbody td:nth-child(7) { color: indianred }
+.dp_cal .dp_empty { background-color: #f9f9f9 }
+.dp_cal .dp_hide { visibility: hidden }
+.dp_cal .dp_today { background-color: #4caf50; color: #fff !important }
+.dp_cal .dp_selected { background-color: #3189ba; color: #fff !important }
+.dp_cal input { width: 68% !important }
+.dp_cal button { position: absolute; top: 0; right: 0; margin: 0 !important; width: 30% !important }
+/* datepicker icon clear */
+.clearDate { position: relative; margin: 0.5rem 0 0 -1.5rem; z-index: 10; }
+/* [ GRID STYLE ] */
+.grid { width: 100%; background-color: #fff !important; border: 1px solid rgba(0, 0, 0, 0.1); border-collapse: collapse; }
+.grid thead, .grid tfoot { background-color: #e9e9e9 }
+.grid th, .grid td { padding: 0.375rem !important; border: 1px solid #ddd }
+.gridHeader, .grid th { color: #333; font-weight: 500; white-space: nowrap; background-color: #e9e9e9; text-align: left; }
+.grid > tbody > tr:nth-child(2n) > td { background-color: rgba(0, 0, 0, 0.03) }
+.gridItem { background-color: #fff; padding: 3px; }
+.gridAltItem { background-color: #f7f7f7; padding: 3px; }
+.grid tbody tr:hover td { background: #e9edf3; }
+.grid a { text-decoration: none; }
+.grid img { vertical-align: middle; padding-right: 4px; }
+/* SORTABLELIST */
+ul.sortableList { margin: 0; }
+ul.sortableList li { position: relative; z-index: 1; float: left; clear: both; max-width: 100%; width: 30rem; list-style: none; font-weight: bold; cursor: move; padding: 0.46153846em 1em; margin: .0625rem 0; border: 1px solid #ccc; line-height: 1.23076923; background-color: #fff; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); box-shadow: none; transition: color .3s, box-shadow .3s, transform .3s, z-index .3s step-end; }
+ul.sortableList li.ghost { z-index: 2; box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.15); transition: color .3s, box-shadow .3s, transform 0s, z-index 0s; }
+/* [ TOOLTIPS ] */
+.evo-tooltip, .custom-tip { position: fixed; z-index: 13000; width: 13rem; margin: 1rem; padding: 0.9rem 1rem; font-size: 0.75rem; line-height: 1.5; font-family: sans-serif; text-align: left; color: #333; background-color: #fff; visibility: hidden; transition-duration: .3s; transform: translate3d(1rem, 0, 0); -webkit-box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15); box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15); }
+.evo-tooltip { opacity: 0; content: attr(data-tooltip); }
+.evo-tooltip.show { opacity: 1; visibility: visible; transform: translate3d(0, 0, 0); }
+[data-tooltip] { cursor: help }
+[data-tooltip].fa-question-circle { opacity: 0.15; }
+[data-tooltip].fa-question-circle:hover { opacity: 1; }
+/* [ FILES MANAGER ] */
+#ManageFiles { padding-bottom: 1rem; }
+#ManageFiles .breadcrumbs { }
+#ManageFiles .breadcrumbs a, #ManageFiles .breadcrumbs span { display: inline-block; padding: 0 0.25em; }
+#ManageFiles #imageviewer { text-align: center; }
+#ManageFiles #imageviewer img { display: inline-block; max-width: 100%; margin-top: 1rem }
+#FilesTable { margin-bottom: 1rem; border-bottom: 1px solid #ddd; }
+#file_editfile.section .sectionHeader { margin: 0; padding: 0.5rem 1rem; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; background-color: #f9f9f9 }
+#file_editfile.section .sectionBody { margin: 0 !important; padding: 0 0 1rem; border: none; border-bottom: 1px solid #ddd; background-color: #f9f9f9 }
+#file_editfile td { padding: 0 !important; }
+#file_editfile #content { float: left; width: 100%; min-height: 25rem; border: none; border-bottom: 1px solid rgba(0, 0, 0, .15) }
+/* STYLES FOR PAGE HELP */
+#helpPane h1 { margin-bottom: 1em; padding: .5rem; font-size: .8rem; border-bottom: 1px solid #e0e0e0; }
+#helpPane li:not(:first-child) > strong { margin-top: 1.4em; }
+#helpPane li > strong { display: block; font-size: 14px; }
+#helpPane pre { border: 1px solid rgba(0, 0, 0, 0.1); padding: 1em; }
+/* [ DARK THEME ] */
+.dark .section-editor textarea { background-color: #282c34; color: #abb2bf }
+.dark .tab-page, .dark .sectionBody .tab-page, .dark .tab-row .tab.selected, .dark .tab-row .tab.selected.hover, .dark .tab-row .tab.selected:before, .dark .tab-row .tab.selected span { background-color: #f9f9f9; }
+.dark, .dark .resourceTable .panel-heading { background: #ecf0f1 !important; }
+.dark .resourceTable .panel-heading:hover { background: #ecf0f1 !important; }
+.dark .multitv .list li.element a.copy, .multitv .list li.element a.remove { background: transparent !important; }
+.dark .multitv .list li.element { background: #fefefe !important; }
+.dark .split { border-color: rgba(0, 0, 0, .05) }
+.dark hr { background: transparent; }
+/*.dark .content-blocks .block { background: #fefefe; border: 1px solid #e3e3e3; }
+.dark .content-blocks .block .fields-group { border: 1px dashed #e2e2e2; }*/
+.dark .content-blocks input[type="text"], .dark .content-blocks input[type="password"], .dark .content-blocks input[type="number"], .dark .content-blocks textarea { background-color: #fbfbfb !important; border-color: #dbdbdb !important; }
+.dark .content-blocks .controls { background: #f9f9f9 !important; }
+.dark .widgets .card-header { color: #616a73; background-color: #fff; }
+/*
+ [ OTHERS COMPONENTS ] - this components need fix css
+*/
+/* extras */
+.catalog_item select[name=link] { width: auto !important; margin-left: 0.5rem }
+/* ManagerManager */
+.sectionHeader.minimizable { position: relative; z-index: 1; background-color: #fafafa; padding: 0.5rem; border: 1px solid rgba(0, 0, 0, 0.15); }
+.dark .sectionHeader.minimizable { background-color: #f2f2f2 }
+.imageField { min-width: 100% !important; width: 100% !important }
+ul.mmTagList { float: left; margin-top: .25rem !important }
+/* MCE */
+.mce-container, .mce-container-body { box-sizing: border-box !important }
+.mce-container button { border: none; border-radius: 0; background-color: transparent; }
+.mce-window-head .mce-close { padding: 0; }
+#editorRow_TinyMCE { background-color: #fff; }
+#editorRow_TinyMCE tr { border: 1px dotted rgba(0, 0, 0, .05); }
+#editorRow_TinyMCE th { white-space: nowrap }
+#editorRow_TinyMCE th, #editorRow_TinyMCE td { padding: 0.5em; border: none !important }
+/* codeMirror */
+.CodeMirror { width: 100%; margin: 0 !important; }
+.CodeMirror pre { word-break: break-all !important; }
+.CodeMirror > div:first-child > textarea { /*opacity: 0;*/ z-index: -1; left: -9999rem; }
+div.CodeMirror-cursors { pointer-events: none; }
+/* docFinder */
+form#docfinder div.tab-page { height: auto !important }
+/* SimpleGallery */
+#SimpleGallery .pagination { display: block }
+#SimpleGallery .sg_image { width: auto }
+/* multiTV */
+.multitv .list li.element a.copy, .multitv .list li.element a.remove { width: 25px !important; text-align: center; background: transparent !important; top: -10px !important; }
+.multitv .list li.element { border-radius: .25rem; border: 1px solid rgba(0, 0, 0, .125); background: #fefefe !important; margin-bottom: 10px !important; }
+/* loginbox animation */
+@keyframes anim-loginbox {
+from { opacity: 0; transform: translateY(30px); }
+to { opacity: 1; transform: translateY(0); }
+}
+@-webkit-keyframes anim-loginbox {
+from { opacity: 0; transform: translateY(30px); }
+to { opacity: 1; transform: translateY(0); }
+}
+.loginbox { -webkit-animation-name: anim-loginbox; -webkit-animation-duration: .5s; -webkit-animation-iteration-count: 1; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: forwards; -moz-animation-name: anim-loginbox; -moz-animation-duration: .5s; -moz-animation-iteration-count: 1; -moz-animation-timing-function: ease; -moz-animation-fill-mode: forwards; animation-name: anim-loginbox; animation-duration: .5s; animation-iteration-count: 1; animation-timing-function: ease; animation-fill-mode: forwards; }
+/* end loginbox animation */
diff --git a/manager/media/style/default/css/fonts.css b/manager/media/style/default/css/fonts.css
old mode 100644
new mode 100755
index f355c4b8da..16a53d0df8
--- a/manager/media/style/default/css/fonts.css
+++ b/manager/media/style/default/css/fonts.css
@@ -85,6 +85,7 @@ a.text-gray-dark:focus, a.text-gray-dark:hover { color: #101112 !important }
.invisible { visibility: hidden !important; }
.clear { clear: both; }
/* custom */
+#loadingmask { display: none !important; }
.fa > .fa-lock { position: relative; float: left; width: auto !important; margin-top: -1em; font-size: 0.7em !important; color: #FFC107 !important; -webkit-text-stroke: 1px rgba(0, 0, 0, 0.39); text-stroke: 1px rgba(0, 0, 0, 0.39); }
.rotate180 { -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); }
.disabledPlugin, .disabledPlugin a { color: #B68282; font-style: italic; }
diff --git a/manager/media/style/default/css/forms.css b/manager/media/style/default/css/forms.css
old mode 100644
new mode 100755
index 4aa91a8733..d886d63ee6
--- a/manager/media/style/default/css/forms.css
+++ b/manager/media/style/default/css/forms.css
@@ -3,14 +3,14 @@ legend { font-size: 1em; }
label { cursor: pointer; display: inline-block; margin-bottom: .5em }
label:not([for]) { cursor: default }
button, input { margin: 0; padding: 0; border: none; font: inherit; line-height: normal; }
-input[type=checkbox], input[type=radio] { width: 0.8125rem !important; height: 0.8125rem !important; margin-right: 0.25em; vertical-align: -0.15em; border-radius: .1rem; border: 1px solid #d4d4d4; background: #fff no-repeat center -1em; outline: none; transition: border-color .2s, background-position .1s; }
-input[type=checkbox] { background: #fff url('data:image/svg+xml;utf8,%3Csvg width=".675em" height=".675em" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z" fill="%23444"/%3E%3C/svg%3E') no-repeat center -1em; }
-input[type=radio] { background: #fff url('data:image/svg+xml;utf8,%3Csvg width="0.538461em" height="0.538461em" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1664 896q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z" fill="%23444"/%3E%3C/svg%3E') no-repeat center -1em; border-radius: 50% }
+input[type=checkbox], input[type=radio] { width: 0.8125rem !important; height: 0.8125rem !important; margin-right: 0.25em; vertical-align: -0.15em; border-radius: .1rem; border: 1px solid #d4d4d4; background: #fff no-repeat 50% -1em; outline: none; transition: border-color .2s, background-position .1s; }
+input[type=checkbox] { background-image: url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D%270%200%201792%201792%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M1671%20566q0%2040-28%2068l-724%20724-136%20136q-28%2028-68%2028t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28%2068-28t68%2028l294%20295%20656-657q28-28%2068-28t68%2028l136%20136q28%2028%2028%2068z%27%20fill%3D%27%23444%27/%3E%3C/svg%3E"); background-size: .875em; }
+input[type=radio] { background-image: url("data:image/svg+xml;utf-8,%3Csvg%20viewBox%3D%270%200%201792%201792%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M1664%20896q0%20209-103%20385.5t-279.5%20279.5-385.5%20103-385.5-103-279.5-279.5-103-385.5%20103-385.5%20279.5-279.5%20385.5-103%20385.5%20103%20279.5%20279.5%20103%20385.5z%27%20fill%3D%27%23444%27/%3E%3C/svg%3E"); background-size: .6em; border-radius: 50% }
input[type=checkbox]:hover, input[type=radio]:hover { border-color: #bcbcbc }
input[type=checkbox]:active, input[type=radio]:active { background-color: #fafafa; }
input[type=checkbox]:focus, input[type=radio]:focus { border-color: #4d8ef9 !important; box-shadow: 0 0 0 1px rgba(77, 142, 249, 0.5) }
-input[type=checkbox]:checked { background-position: center 0 }
-input[type=radio]:checked { background-position: center 0.06850975em }
+input[type=checkbox]:checked, input[type=radio]:checked { background-position: 50% 50% }
+input[type=checkbox]:disabled { background-image: url("data:image/svg+xml;utf8,%3Csvg%20viewBox%3D%270%200%201792%201792%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M1671%20566q0%2040-28%2068l-724%20724-136%20136q-28%2028-68%2028t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28%2068-28t68%2028l294%20295%20656-657q28-28%2068-28t68%2028l136%20136q28%2028%2028%2068z%27%20fill%3D%27%23bbb%27/%3E%3C/svg%3E"); background-size: .875em; }
button, input, optgroup, select, textarea { position: relative; font-family: sans-serif; font-size: 0.8125rem; line-height: 1.23076923; margin: 0; -webkit-appearance: none; -moz-appearance: none; }
.form-control, input[type=text]:not(.form-control), input[type=password], input[type=number], input[type=email], input[type=date], input[type=url], input[type=search], select, textarea { display: inline-block; width: 100%; max-width: 100%; padding: 0.46153846em .5em; line-height: 1.23076923; vertical-align: inherit; font-size: 0.8125rem; color: #464a4c; background-color: #fff; -webkit-background-clip: padding-box; background-clip: padding-box; border: 1px solid #d4d4d4; border-radius: .1em; -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; }
.form-control:focus, input:not([type=radio]):not([type=checkbox]):focus, select:focus, textarea:focus, .btn.focus, .btn:focus { z-index: 3; outline-offset: -1px; outline: rgba(77, 142, 249, 0.5) solid 2px; border-color: #66afe9; }
@@ -35,7 +35,7 @@ select:not([size]):not([multiple]), select.form-control:not([size]):not([multipl
.btn-default { color: #bbb; background-color: #202329; border-color: #202329 }
.btn-default:hover { color: #fff; background-color: #1a1c21; border-color: #1a1c21 }
textarea, textarea.form-control { width: 100%; line-height: 1.5; overflow: auto; resize: vertical }
-select:not([size]):not([multiple]), select[size="1"] { padding-right: 2em !important; background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMS41ZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xMzk1IDczNnEwIDEzLTEwIDIzbC00NjYgNDY2cS0xMCAxMC0yMyAxMHQtMjMtMTBsLTQ2Ni00NjZxLTEwLTEwLTEwLTIzdDEwLTIzbDUwLTUwcTEwLTEwIDIzLTEwdDIzIDEwbDM5MyAzOTMgMzkzLTM5M3ExMC0xMCAyMy0xMHQyMyAxMGw1MCA1MHExMCAxMCAxMCAyM3oiLz48L3N2Zz4=') !important; background-repeat: no-repeat; background-position: right center; }
+select:not([size]):not([multiple]), select[size="1"] { padding-right: 2em !important; background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTc5MiAxNzkyJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPjxwYXRoIGQ9J00xMzk1IDczNnEwIDEzLTEwIDIzbC00NjYgNDY2cS0xMCAxMC0yMyAxMHQtMjMtMTBsLTQ2Ni00NjZxLTEwLTEwLTEwLTIzdDEwLTIzbDUwLTUwcTEwLTEwIDIzLTEwdDIzIDEwbDM5MyAzOTMgMzkzLTM5M3ExMC0xMCAyMy0xMHQyMyAxMGw1MCA1MHExMCAxMCAxMCAyM3onIGZpbGw9JyUyMzQ0NCcvPjwvc3ZnPg==") !important; background-repeat: no-repeat; background-position: right center; background-size: 2em 1.3em }
optgroup { font-style: normal; font-weight: 500; background-color: #ddd; }
optgroup option { font-weight: normal; background-color: #fff; }
input[type=color] { width: 2.308em; height: 2.308em; -webkit-appearance: menulist; -moz-appearance: menupopup }
diff --git a/manager/media/style/default/css/index.css b/manager/media/style/default/css/index.css
new file mode 100755
index 0000000000..ab35d03764
--- /dev/null
+++ b/manager/media/style/default/css/index.css
@@ -0,0 +1,38 @@
+#frameset { position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; }
+#mainMenu, #tree, #main { position: absolute; }
+#mainMenu { top: 0; left: 0; width: 100%; height: 2.2rem; z-index: 100; }
+#tree { left: 0; top: 2.2rem; bottom: 0; width: 25rem; max-width: 100%; overflow: hidden; z-index: 2; }
+#main { left: 25rem; top: 2.2rem; right: 0; bottom: 0; z-index: 1; }
+#main #mainframe { display: block; position: absolute; width: 100%; height: 100%; overflow: auto; }
+/* floater */
+#floater { position: fixed; z-index: 1000; opacity: 0; visibility: hidden; max-width: 20rem; padding: 1.5rem; top: 4rem; left: 2rem; border-radius: 0.25rem; background-color: #fff; -webkit-box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3); box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3); transition-duration: 0.15s }
+#floater.show { opacity: 1; visibility: visible; }
+/*resizer*/
+#resizer { position: absolute; z-index: 99; top: 2.2rem; bottom: 0; left: 25rem; width: 5px; margin-left: -1px; cursor: col-resize; background-color: transparent; transition: background-color .3s }
+#resizer:hover { background-color: rgba(0, 0, 0, 0.1); }
+#mask_resizer { position: absolute; width: 100%; height: 100%; }
+/* mainloader */
+#mainloader { position: absolute; z-index: 50000; top: 0; left: 0; width: 100%; height: 100%; text-align: center; vertical-align: middle; padding: 15% 0 0 0; background-color: rgba(255, 255, 255, 0.64); opacity: 0; visibility: hidden; -webkit-transition-duration: 0.3s; transition-duration: 0.3s }
+#mainloader.show { opacity: 0.75; visibility: visible; -webkit-transition-duration: 0.1s; transition-duration: 0.1s }
+#mainloader::before { content: ""; display: block; position: absolute; z-index: 1; left: 50%; top: 30%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; animation: rotate 2s linear infinite; box-shadow: 5px 5px 0 0 rgb(234, 132, 82), 14px -7px 0 0 rgba(111, 163, 219, 0.7), -7px 11px 0 0 rgba(112, 193, 92, 0.74), -11px -7px 0 0 rgba(147, 205, 99, 0.78); }
+.sidebar-closed #tree { width: 0 !important; }
+.sidebar-closed #main, .sidebar-closed #resizer { left: 0 !important; }
+@media (max-width: 840px) {
+#floater { left: 0; right: 0; margin: 0 auto; }
+#resizer { display: none }
+#frameset #mask_resizer { z-index: 3 !important; opacity: 0.5; visibility: visible; background-color: #000; -webkit-transition: 0.2s; transition: 0.2s }
+.sidebar-closed #frameset #mask_resizer { opacity: 0; visibility: hidden; }
+#tree { z-index: 5; width: 100% !important; max-width: 20rem; box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25); -webkit-transition: 0.25s; transition: 0.25s }
+.sidebar-closed #tree { width: auto !important; box-shadow: none; -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); }
+#tree .treeframebody { box-shadow: none }
+.sidebar-closed #main::after { content: ""; position: absolute; z-index: 1; left: 0; top: 6rem; bottom: 0; width: 1rem; }
+#main { left: 0 !important; }
+#main::before { content: ""; position: absolute; z-index: 9999; left: 0; top: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0); }
+.sidebar-closed #mainMenu:not(.show) + #tree + #main::before { display: none }
+}
+@keyframes rotate {
+to { transform: rotate(360deg) }
+}
+/* dark */
+.dark #main { background-color: #ecf0f1 }
+.dark #mainloader { background-color: rgba(0, 0, 0, 0.1); }
diff --git a/manager/media/style/default/css/layout.css b/manager/media/style/default/css/layout.css
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/css/main.css b/manager/media/style/default/css/main.css
new file mode 100755
index 0000000000..a3807f7e73
--- /dev/null
+++ b/manager/media/style/default/css/main.css
@@ -0,0 +1,193 @@
+/* -------------------------[ Misc stuff ]--- */
+.comment { font-size: 11px; color: #999; padding: 4px 0; }
+.screen { border: 1px solid #ddd; text-align: center; }
+.even { background: #d9e7c2; }
+.odd { background: #fff; }
+/* -------------------------[ end sortable table ]--- */
+.disabledImage { width: 20px; opacity: 0.3; filter: alpha(opacity=30); }
+.disabledImage img { border: 0; }
+.editorCell { border-top: 1px solid #808080; text-align: left; vertical-align: baseline; }
+/* */
+.unpublished a, .unpublish { color: #b68282; font-style: italic; }
+.notInMenuNode { color: #39515d; text-decoration: none; }
+#treeSplitter { width: 10px; height: 100%; position: absolute; right: -10px; }
+.deleted { color: #a52a2a; text-decoration: line-through; }
+label.disabled { color: #aaa; }
+/* -------------------------[ home page main links ]--- */
+/*a.hometblink, a.hometblink:active, .hometblink { text-decoration: underline; color: #333; font-weight: 500; font-size: 12px; }
+a.hometblink:hover { text-decoration: underline; color: Gray; }*/
+.notice { width: 100%; padding: 5px; border: 1px solid #eee; background-color: #f5f5f5; color: #707070; }
+/* -------------------------[ Settings Table ]--- */
+.filelist td { border-bottom: 1px solid #c2c3cf; }
+/* -------------------------[ Welcome Page ]--- */
+/*#mainActionPages { background: #f5f5f5; }*/
+/* -------------------------[ New sortable table class ]--- */
+.sortabletable { width: 100%; border-collapse: collapse; }
+.sortabletable thead tr { color: #333; font-weight: 500; white-space: nowrap; background-color: #d2d2d2; text-align: left; }
+.sortabletable tr { background: #fff; }
+.sortabletable tr.even { background: #f7f7f7; }
+.sortabletable tbody tr:hover { background: #e9f0f3; }
+.sortabletable td, .sortabletable th { padding: 5px !important; border: 1px solid #ccc; }
+.sortabletable th { text-align: left; cursor: pointer; color: #333; }
+.sortabletable th a { text-decoration: none; color: #333; }
+.sortabletable th:active { background: #ccc; padding: 3px 4px 1px 6px; }
+/* -------------------------[ Pagination table ]--- */
+#max-display-records { margin: 10px 0; }
+fieldset.tab-page { border: 1px solid #e4e4e4 !important; }
+h2#edit_document_title { font-size: 0.9rem; color: #f5f5f5; width: 100%; border-bottom: none; padding: 5px 10px; }
+fieldset#preview h2.tab { float: right; }
+/*
+* Generic styles for all form elements
+ */
+form#mutate dt, form#mutate dd { margin-bottom: 10px; }
+form#mutate dt label, form#mutate dt h3.label { font-size: 1em; display: inline; float: left; width: 200px; color: #821517 !important; font-weight: 500; }
+form#mutate dd { margin-left: 210px; }
+form#mutate input.disabled { background-color: #f5f5f5 !important; }
+/*form#mutate select.inputBox { margin-right: 5px; }*/
+form#mutate .multitv input[type="text"] { width: 300px; }
+form#mutate .imageField { width: 50%; min-width: 300px; }
+form#mutate input[name="menuindex"] { text-align: center; width: 80px; padding-left: 0; padding-right: 0; }
+form#mutate input[name="ta"].inputBox { padding-left: 30px }
+form#mutate input[name="ta"].inputBox:focus + input[type=button], form#mutate input[name="ta"].inputBox:focus + .CodeMirror + input[type=button] { border-color: #1377c5 #1377c5 #1377c5 #bbb; }
+input[name^=tv].DatePicker, input[name*=date].DatePicker, input[name=createdon].DatePicker, input[name=editedon].DatePicker { float: left; width: auto; padding-right: 2em }
+input[name^=tv].DatePicker + a, input[name*=date].DatePicker + a { position: relative; z-index: 5; margin-top: 0.5em; margin-left: -1.5em; float: left; }
+form#mutate textarea.tv_textareamini { height: 100px; width: 300px; overflow-y: scroll; }
+form#mutate textarea.tv_textarea { height: 100px; width: 100%; overflow-y: scroll; }
+form#mutate #llock { position: relative; z-index: 5; float: left; width: 1.9rem; height: 1.9rem; margin: 0 -2rem 0 0; line-height: 2rem; cursor: pointer; text-align: center; }
+form#mutate #llock + #ta { display: block !important; padding-left: 2rem }
+form#mutate #llock + #ta + .CodeMirror { display: none !important; }
+form#mutate #plock { width: 1.4em; cursor: pointer; font-size: 14px }
+/*
+* Individual Styles for fieldset#preview
+*/
+fieldset#preview iframe { width: 100%; margin: 0 auto; border: 1px solid #f5f5f5; }
+/*
+* Individual Styles for fieldset#access_permissions
+*/
+fieldset#access_permissions dt label { width: 200px; }
+fieldset#access_permissions dd { margin-left: 210px; }
+fieldset#access_permissions dl dd ul li { list-style-type: none; }
+/* ppb:
+* Some styling for legacy mode fieldsets
+*/
+fieldset.legacy { background: #fff; padding: 10px; margin: 10px 10px 35px; border: 1px solid #e4e4e4 !important; position: relative; }
+fieldset.legacy h2 { width: 100%; background: #f5f5f5; margin: -10px -10px 1rem -10px; padding: 0 10px; border-bottom: 1px solid #e4e4e4 !important; }
+/* System Alert Box ---------------------------------------------------------- */
+.cbOverlay { background-color: #000; z-index: 50000; }
+.cbContainer { padding: 5px; background-color: white; z-index: 50000; }
+.cbBox h3 { color: #000; background: #bee860 repeat-x top; padding: 5px; font-weight: 500; }
+.cbBox p { margin: 3px; }
+.cbBox .cbButtons { text-align: center; }
+.sysAlert { width: 500px; height: 330px; white-space: nowrap; overflow: auto; }
+.phptextarea { font-family: Consolas, 'Courier New', 'Courier', monospace; }
+/* Custom */
+/* normalize some td paddings */
+#displayparams table { background: #fff; }
+#displayparams table tbody td { border-bottom: 1px dotted #d3d3d3; }
+.permissiongroups { margin: 0; }
+.permissiongroups ul { clear: both; margin: 0; padding: 0.5rem 0; }
+.permissiongroup input[type=submit], .permissiongroup input[type=button], .permissiongroups input[type=submit], .permissiongroups input[type=button] { float: left; margin: 0.3em 0.3em 0 0; }
+td#displayparams > table.displayparams { border: none; }
+/* replace warning red color in tabs */
+strong[style*='color:#EF1D1D'] { color: yellow !important; }
+.selected strong[style*='color:#ffeb00'] { color: red !important; }
+code { font-size: inherit; font-family: Consolas, 'Courier New', 'Courier', monospace; background-color: #eee; border: 1px solid #ccc; padding: 1px 2px; }
+#resourcesPane .disabledPlugin a:hover { color: #aaa; }
+/* table styles*/
+.table, #documentPane #tv_body table, #documentPane .tmplvars table, #documentPane [id*="table-"], #documentPane [id*="table-tv"] { width: 100%; }
+#documentPane .tab-page > table > tr > td:first-child, #documentPane .tab-page > table > tbody > tr > td:first-child, #documentPane .tab-page .tmplvars > table > tbody > tr > td:first-child, #tmplvarsPane .tab-page > table > tbody > tr > td:first-child, #tmplvarsPane .tab-page > table > tbody > tr > th:first-child, #chunkPane .tab-page > table > tbody > tr > td:first-child, #chunkPane .tab-page > table > tbody > tr > th:first-child, #snipetPane .tab-page > table > tbody > tr > td:first-child, #snipetPane .tab-page > table > tbody > tr > th:first-child, #pluginPane .tab-page > table > tbody > tr > td:first-child, #pluginPane .tab-page > table > tbody > tr > th:first-child, #modulePane .tab-page > table > tbody > tr > td:first-child, #modulePane .tab-page > table > tbody > tr > th:first-child, #docManagerPane .tab-page #dates > table > tbody > tr > td:first-child { width: 200px }
+#documentPane .tab-page > table > tr > td:last-child, #documentPane .tab-page .tmplvars > table > tbody > tr > td:last-child { width: inherit !important }
+#documentPane .tab-page > table > tbody > tr > td:first-child > .warning { display: inline-block; width: calc(100% - 1rem); }
+#documentPane .tab-page > table > tbody > tr > td:first-child > [data-tooltip] { margin-top: 0.3rem; vertical-align: top }
+.table--edit { margin-bottom: 1rem; }
+.table th, .table td { text-align: left; vertical-align: middle; }
+table th { font-weight: 500; }
+.table--edit th { width: 200px; color: #555; font-size: inherit; }
+.table--edit input[type="text"], .table--edit input[type="password"], .table--edit input[type="number"], .table--edit textarea, .table--edit select, .settings input[type="text"], .settings input[type="password"], .settings input[type="number"], .settings textarea, .settings select { width: 300px; }
+/*
+ * MODxRE2 styles
+ * css above is original MODxRE
+ * css below is basicaly MODxRE overrides to get MODxRE2 look
+ */
+/* nav */
+.no-events { pointer-events: none; }
+/* Required for Bootstrap3 Collapse */
+.panel-title > a::before { content: "\f107"; /* fa-angle-down */ font-family: "FontAwesome"; }
+.panel-title > a.collapsed::before { content: "\f105"; /* fa-angle-right */ padding: 0 1px 0 3px; }
+.panel-title > a { font-size: 1.1em; color: #657587; display: block; padding: 3px 0; }
+.panel-title > a:hover { text-decoration: none; color: #1377c5; background: rgba(255, 255, 255, 0.27); }
+/* category icons in manage elements */
+#site_templates, #site_tmplvars, #site_htmlsnippets, #site_snippets, #site_plugins { padding-left: 0; }
+#site_templates li, #site_tmplvars li, #site_htmlsnippets li, #site_snippets li, #site_snippets li, #site_plugins li, #categories_list li { list-style: none; margin-left: -21px; }
+#site_templates li strong:before, #site_tmplvars li strong:before, #site_htmlsnippets li strong:before, #site_snippets li strong:before, #site_snippets li strong:before, #site_plugins li strong:before, #categories_list li strong:before { font-family: "FontAwesome"; font-style: normal; font-weight: normal; color: #5b6f7a; padding: 0 5px 0 5px; content: '\f105'; }
+.tab-pane ul li ul li strong:before { content: ''; }
+/* elements icons in manage elements */
+a.man_el_name:before { font-family: "FontAwesome"; font-style: normal; font-weight: normal; font-size: 0.875rem; color: #5b6f7a; }
+a.man_el_name.site_templates:before { content: '\f1ea'; }
+a.man_el_name.site_tmplvars:before { content: '\f022'; }
+a.man_el_name.site_htmlsnippets:before { content: '\f009'; }
+a.man_el_name.site_snippets:before { content: '\f121'; }
+a.man_el_name.site_plugins:before { content: '\f1e6'; }
+a.man_el_name.site_modules:before { content: '\f085'; }
+div#tabCategory.tab-page ul li ul li { padding-top: 7px; padding-bottom: 7px; }
+/*Fake tables for providing dynamic amount of cells per row*/
+.rTable { display: table; width: 100%; padding: 0; }
+.rTableRow { display: table-row; padding: 0; }
+.rTableHeading { display: table-header-group; }
+.rTableBody { display: table-row-group; }
+.rTableFoot { display: table-footer-group; }
+.lockCell, .mainCell, .btnCell, .rTableHead { display: table-cell; padding: 0; }
+.lockCell { width: 2.5em; padding-left: 10px; }
+.mainCell { width: auto; }
+.btnCell { width: 6em; text-align: right; padding-right: 1rem; }
+.mainCell > span { display: block }
+/* Manage elements general styles */
+a.man_el_name { display: block; padding: .1em 0 .1em 1.25rem; }
+a.man_el_name:hover { text-decoration: none; }
+.lockCell + .mainCell a.man_el_name { padding-left: 0 !important; }
+.lockCell + .mainCell a.man_el_name:before { display: none; }
+.elements_descr { color: #222; margin-left: 1em; font-size: 0.88em; }
+.resourceTable .panel-heading { margin: 0 -1.25rem !important; background-color: #f5f5f5; border-top: 1px dotted #dedede; border-bottom: 1px dotted #dedede; }
+.resourceTable .panel-title > a { padding: 5px 1.25rem; text-decoration: none }
+.resourceTable ul.elements { margin: 0 -1.25rem; padding: 0 0 10px 0; }
+.resourceTable ul.elements > li { padding: 0 !important; border-bottom: 1px dotted #dedede; border-left: 3px solid #fff; transition: all 0.1s ease; margin: 0 !important; }
+.resourceTable ul.elements > li:hover { background: #f9f9f9; border-left: 3px solid #1377c5; }
+.resourceTable ul.elements > li::before { display: none }
+#resourcesPane .panel-group ul { }
+ul.resourceTable .category_name { float: none; display: block; clear: both; margin-top: 20px; }
+/* Manager Elements Buttons bar*/
+ul.elements_buttonbar { list-style: none; margin: 0; padding: 0; display: table; table-layout: fixed; }
+ul.elements_buttonbar li { display: table-cell; padding: 0 !important; width: 2em; }
+ul.elements_buttonbar li a { display: block; width: 2em; padding: 4px 2px 2px 2px; margin: 1px; min-width: 22px; }
+ul.elements_buttonbar .fa { font-size: 0.875rem; padding: 1px 1px 0; }
+/* Checkbox "Icons" */
+.noicons.tab-page ul li ul li a:before, .noicons .elements_description a:before { display: none !important; }
+/* View-dependent styles */
+/* List-view */
+.resourceTable.list li { }
+.sortableList > li::before { display: none }
+/* Inline-view */
+.resourceTable.inline ul.elements { margin: 0 !important; }
+.resourceTable.inline ul.elements > li { float: left; margin: 10px 10px 0 0 !important; padding: 0 !important; border: 1px dotted #dedede; }
+.resourceTable.inline ul.elements_buttonbar { margin: 0 5px 0 0 !important; }
+.resourceTable.inline a.man_el_name { padding: 5px 10px; }
+.resourceTable.inline ul.elements > li:hover { border: 1px solid #aaa }
+/* Flex-view */
+.resourceTable.flex ul.elements { -webkit-column-gap: 10px; -moz-column-gap: 10px; -o-column-gap: 10px; column-gap: 10px; }
+.resourceTable.flex ul.elements { }
+.resourceTable.flex ul.elements > li { overflow: hidden; /* fix for Firefox */ break-inside: avoid-column; -webkit-column-break-inside: avoid; -moz-column-break-inside: avoid; -o-column-break-inside: avoid; -ms-column-break-inside: avoid; column-break-inside: avoid; page-break-inside: avoid }
+.resourceTable.flex .elements_descr { display: block; margin-left: 1.5em; }
+#content_body #which_editor { margin-top: 12px; }
+/* resource children list */
+#tabChildren .grid th, #tabChildren .grid tr > td:nth-child(5), #tabChildren .grid tr > td:nth-child(6) { text-align: center; white-space: nowrap }
+#tabChildren .grid td { text-align: right; white-space: nowrap }
+#tabChildren .grid tr > th:nth-child(2), #tabChildren .grid tr > td:nth-child(2) { text-align: left; white-space: normal }
+#tabChildren .grid tr > td:nth-child(6) a { padding: 0 .2em; font-size: 0.9rem; color: #444; }
+/* element-edit-message */
+.msg-container { padding-bottom: 10px; border-bottom: 1px solid #ededed; margin-bottom: 1rem; color: #777; }
+.btn-small { padding: 2px 4px !important; font-size: 11px !important; }
+.relative { position: relative; }
+.modx-alert { display: block; margin: 60px 10px 10px 10px; padding: 1em; }
+.modx-alert.alert-error { background-color: #ffd0d0; border: 1px solid #f00; color: #000; }
+tr.userIdle td { color: #aaa; }
+tr.userIdle td strong:before { font-family: "FontAwesome"; font-style: normal; font-weight: normal; color: #aaa; padding: 0 5px 0 0; content: '\f017'; }
diff --git a/manager/media/style/default/css/mainmenu.css b/manager/media/style/default/css/mainmenu.css
old mode 100644
new mode 100755
index 26a752b0d2..ed610eb9e5
--- a/manager/media/style/default/css/mainmenu.css
+++ b/manager/media/style/default/css/mainmenu.css
@@ -1,7 +1,7 @@
/* #mainMenu */
-#mainMenu { background-color: #1d2023; color: #8b9298; -webkit-box-shadow: 0 0.15rem 0.15rem rgba(0, 0, 0, 0.25); -moz-box-shadow: 0 0.15rem 0.15rem rgba(0, 0, 0, 0.25); box-shadow: 0 0.15rem 0.15rem rgba(0, 0, 0, 0.25); }
+#mainMenu { background-color: #1d2023; color: #8b9298; -webkit-box-shadow: 0 0.15rem 0.15rem rgba(0, 0, 0, 0.25); box-shadow: 0 0.15rem 0.15rem rgba(0, 0, 0, 0.25); }
#mainMenu.show { overflow: visible }
-#mainMenu.show + #tree::before, #mainMenu.show + #tree + #main::before { content: ""; position: absolute; z-index: 9999; left: 0; top: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, .1); }
+#mainMenu.show + #tree::before, #mainMenu.show + #tree + #main::before { content: ""; position: fixed; z-index: 9999; left: 0; top: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, .1); }
#mainMenu > .container { display: table; width: 100%; border-collapse: collapse }
#mainMenu > .container > .row { display: table-row }
#mainMenu > .container > .row > .cell { display: table-cell; vertical-align: top; }
@@ -10,19 +10,20 @@
#mainMenu .nav { margin: 0; white-space: nowrap; font-size: 0 }
#mainMenu .nav > li { position: relative; display: inline-block; font-size: 0.8rem; vertical-align: top }
#mainMenu .nav > li.active > a { color: #fff; background-color: rgba(255, 255, 255, 0.07) }
-#mainMenu .nav > li > a, #mainMenu .nav .label_searchid { display: block; position: relative; z-index: 1; padding: 0 1rem; height: 2.2rem; line-height: 2.4rem; text-decoration: none; color: #bbb; transition-duration: 0.15s }
+#mainMenu .nav > li > a, #mainMenu .nav .label_searchid { display: block; position: relative; z-index: 1; padding: 0 1rem; height: 2.2rem; line-height: 2.3rem; text-decoration: none; color: #bbb; transition-duration: 0.15s }
#mainMenu .nav > li > a:hover, #mainMenu .nav .label_searchid:hover { color: #f3f3f3; }
/*#mainMenu.show .nav > li.dropdown:hover > a, */
#mainMenu.show .nav > li.dropdown.hover > a { background-color: #fff; color: #444; }
#mainMenu .nav > li > a .icon { display: inline-block; overflow: hidden; width: auto; height: 2rem; line-height: 2rem; font-size: 1.5em; text-align: center; margin: 0.05rem 0 0 0.5rem; vertical-align: top; border-radius: 50%; background: no-repeat 50% 50%; background-size: cover; }
#mainMenu .nav > li > a .icon.photo { width: 2rem }
#mainMenu .nav > li > a .icon .fa { font-size: 1.2rem; line-height: 2.1rem }
-#mainMenu .nav > li .fa { line-height: 2.2rem; font-size: 1rem; vertical-align: top }
+#mainMenu .nav > li .fa { min-width: 1em; line-height: 2.2rem; font-size: .9rem; vertical-align: top }
#mainMenu #nav > li > a > .fa { margin-right: 0.5rem; }
+#mainMenu #nav #bars { width: 3.5rem; text-align: center }
#mainMenu #nav #bars .fa { display: inline-block; width: 1.5rem; margin: 0; text-align: center; overflow: hidden; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
-.sidebar-closed #mainMenu #nav #bars .fa { width: 0.25rem; margin: 0 0.625rem; }
+.sidebar-closed #mainMenu #nav #bars .fa { width: 0.25rem; }
#mainMenu .nav .caret, #mainMenu .nav .divider, .dropdown-toggle::after { display: none }
-#mainMenu .nav > li > ul { display: block; position: absolute; z-index: 0; overflow: auto; top: 100%; left: 0; margin: 0; padding: 0 0 0.25rem; min-width: 15rem; max-height: -webkit-calc(100vh - 2.2rem); max-height: calc(100vh - 2.2rem); font-size: 1em; border: none; border-radius: 0 0 0.25rem 0.25rem; background-color: #fff; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); opacity: 0; visibility: hidden; -webkit-transition-duration: 0.1s; transition-duration: 0.1s; }
+#mainMenu .nav > li > ul { display: block; position: absolute; z-index: 0; overflow: auto; overflow-x: hidden; top: 100%; left: 0; margin: 0; padding: 0 0 0.25rem; min-width: 15rem; max-height: -webkit-calc(100vh - 2.2rem); max-height: calc(100vh - 2.2rem); font-size: 1em; border: none; border-radius: 0 0 0.25rem 0.25rem; background-color: #fff; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); opacity: 0; visibility: hidden; -webkit-transition-duration: 0.1s; transition-duration: 0.1s; }
/*#mainMenu.show .nav > li:hover > a + ul, */
#mainMenu.show .nav > li.hover > a + ul, #mainMenu.show .nav > li.hover > ul.sub-menu.show { opacity: 1; visibility: visible }
#mainMenu.show .nav > li > ul.sub-menu { left: 15rem; opacity: 0; visibility: hidden; }
@@ -31,13 +32,15 @@
#mainMenu #settings.nav > li > ul { left: auto; right: 0 }
#mainMenu .nav > li > ul > li { border-bottom: 1px solid rgba(0, 0, 0, 0.05); margin-bottom: -1px; }
#mainMenu .nav > li > ul > li:last-child { border: none; margin-bottom: 0 }
-#mainMenu .nav > li > ul > li.item-input { padding: 0.35em 0.5em; }
+#mainMenu .nav > li > ul > li.item-input { padding: 0.375em 0.5em; }
#mainMenu .nav > li > ul > li > a:first-child, #mainMenu .nav > li > ul > li > span { display: block; position: relative; padding: 0 2rem 0 1rem; line-height: 2.2rem; color: #444; text-decoration: none }
#mainMenu .nav > li > ul > li.hover > a:first-child { color: #fff; background-color: #1976d2; }
-#mainMenu .nav > li > ul > li > span:first-child { padding: 0 1em; text-align: center; font-size: 0.875em; color: #aaa; }
-#mainMenu .nav > li > ul > li .fa { width: 1.3em; margin-right: 0.5em; font-size: .8rem; line-height: .8rem; text-align: center; vertical-align: baseline }
-#mainMenu .nav > li > ul > li.selected a:first-child::before { content: ''; position: absolute; right: 0.25em; top: 0.25em; width: 0.5em; height: 0.5em; background-color: #ffc107; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
-#mainMenu .nav > li > ul > li.toggle-dropdown > a::after { content: "\f105"; position: absolute; top: 0.6em; right: 0.6em; font: normal normal normal 1.2em/1 FontAwesome; }
+#mainMenu .nav > li > ul > li > span:first-child { padding: 0 1rem; text-align: center; font-size: 0.875em; color: #aaa; }
+#mainMenu .nav > li > ul > li.dropdown-back > span { text-align: left; font-size: inherit; color: inherit }
+#mainMenu .nav > li > ul > li.dropdown-back > span * { pointer-events: none }
+#mainMenu .nav > li > ul > li .fa { width: 1.3em; margin-right: 0.5em; font-size: .9rem; line-height: .8rem; text-align: center; vertical-align: baseline }
+#mainMenu .nav > li > ul > li.selected a:first-child::before, #main .evo-tab-row .tab.changed::before { content: ''; position: absolute; right: 0.25em; top: 0.25em; width: 0.5em; height: 0.5em; background-color: #ffc107; -webkit-border-radius: 50%; border-radius: 50%; pointer-events: none }
+#mainMenu .nav > li > ul > li.dropdown-toggle > a > .toggle { position: absolute; top: 0; right: 0; height: 100%; width: 2rem; margin: 0; line-height: 2rem; text-align: center; }
#mainMenu .nav > li > ul > li.disabled > a { opacity: 0.5; color: #7d2a24; }
#mainMenu .nav > li > ul > li.locked > a { font-style: italic }
#mainMenu .nav > li > ul > li > a small { line-height: 1em }
@@ -69,12 +72,16 @@
#searchresult .ajaxSearchResults ul, #searchresult .ajaxSearchResults li { margin: 0; padding: 0; list-style: none }
#searchresult .ajaxSearchResults b, #searchresult .ajaxSearchResults strong, #searchresult .ajaxSearchResults a { position: relative; z-index: 0; display: block; color: #333; padding: 0.25rem 1rem; margin-top: -1px; border-top: 1px solid rgba(0, 0, 0, 0.03); border-bottom: 1px solid rgba(0, 0, 0, 0.03); box-sizing: border-box }
#searchresult .ajaxSearchResults b { z-index: 1; background-color: #ddd }
-#searchresult .ajaxSearchResults a { color: #1377c5; padding: 0.25rem 2rem 0.25rem 1rem; text-decoration: none; }
+#searchresult .ajaxSearchResults a { padding: 0.25rem 2rem 0.25rem 1rem; text-decoration: none; }
#searchresult .ajaxSearchResults a:hover { color: #333; background-color: #f2f2f2; }
-#searchresult .ajaxSearchResults a > i { position: absolute; right: 0; top: 50%; width: 2rem; height: 2rem; margin-top: -1rem; line-height: 2rem; text-align: center; }
+#searchresult .ajaxSearchResults a > i { position: absolute; right: 0; top: 50%; width: 2rem; height: 2rem; margin-top: -1rem; line-height: 2rem; text-align: center; color: #1976d2; }
+#searchresult .ajaxSearchResults a.selected > i { color: #fff }
#searchresult .ajaxSearchResults a.selected { z-index: 1; background-color: #1976d2; color: #fff; font-weight: 700; }
#searchresult .ajaxSearchResults a .text-danger { color: #333; font-weight: 700 }
#searchresult .ajaxSearchResults a.selected .text-danger { color: #ffc107; text-shadow: 0 0 1px rgba(0, 0, 0, 0.5); }
+#searchresult .ajaxSearchResults .locked a { font-style: italic; color: #646464; }
+#searchresult .ajaxSearchResults .disabled a { opacity: .5; color: #7d2a24; }
+#searchresult .ajaxSearchResults .deleted a { color: #a52a2a; text-decoration: line-through }
@media (min-width: 1020px) {
/*#mainMenu #nav > li > a > .fa { font-size: 1.2rem }*/
}
@@ -82,12 +89,18 @@
#mainMenu .nav > li > a, #mainMenu .nav > li > ul > li > a, #mainMenu .nav > li > ul > li > span, #mainMenu .nav .label_searchid { padding: 0 0.75rem; }
}
@media (max-width: 840px) {
+#statusbar { display: none }
+#mainMenu #nav #bars { width: 2.5rem }
#mainMenu .nav > li { position: static; }
-#mainMenu #nav > li > a { font-size: 0; }
+#mainMenu .nav > li > a { font-size: 0; }
#mainMenu .nav > li > a, #mainMenu .nav .label_searchid { padding: 0 0.5rem; }
-#mainMenu #nav > li > a > .fa { display: inline-block; margin-right: 0; }
-#mainMenu .nav > li > ul { left: 0; width: 100% }
-#statusbar { display: none }
+#mainMenu .nav > li > a > .username { font-size: .75rem; }
+#mainMenu .nav > li > a > .fa { display: inline-block; width: 1.3em; margin-right: 0 !important; text-align: center; }
+#mainMenu .nav > li > ul { left: 0 !important; width: 100%; }
+#mainMenu .nav > li > ul.sub-menu { transform: translate3d(-100%, 0, 0) }
+#mainMenu.show .nav > li.active > ul.selected, #mainMenu.show .nav > li.hover > ul.selected + ul.sub-menu { opacity: 1; visibility: visible; }
+#mainMenu.show .nav > li.active > ul.selected { transform: translate3d(-100%, 0, 0); }
+#mainMenu.show .nav > li.hover > ul.selected + ul.sub-menu { transform: translate3d(0, 0, 0); }
}
@media (max-width: 480px) {
#mainMenu .nav > li > a .username, #searchresult .ajaxSearchResults a > i { display: none }
diff --git a/manager/media/style/default/css/page.css b/manager/media/style/default/css/page.css
old mode 100644
new mode 100755
index b96b002964..8c16bb220c
--- a/manager/media/style/default/css/page.css
+++ b/manager/media/style/default/css/page.css
@@ -1,46 +1,9 @@
@import "../../common/bootstrap/css/bootstrap.min.css?v=4.0.0-alpha.5";
@import "../../common/font-awesome/css/font-awesome.min.css?v=4.7.0";
-@import 'fonts.css?v=1.3.3';
-@import "forms.css?v=1.3.3";
-@import "mainmenu.css?v=1.3.3";
+@import 'fonts.css?v=1.3.5';
+@import "forms.css?v=1.3.5";
+@import "mainmenu.css?v=1.3.5";
@import "tree.css";
@import "tabpane.css";
@import "contextmenu.css";
-#frameset { position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; }
-#mainMenu, #tree, #main { position: absolute; }
-#mainMenu { top: 0; left: 0; width: 100%; height: 2.2rem; z-index: 100; }
-#tree { left: 0; top: 2.2rem; bottom: 0; width: 25rem; max-width: 100%; overflow: hidden; z-index: 1; }
-#main { left: 25rem; top: 2.2rem; right: 0; bottom: 0; z-index: 2; }
-#main #mainframe { display: block; position: absolute; width: 100%; height: 100%; overflow: auto; }
-/* floater */
-#floater { position: fixed; z-index: 1000; opacity: 0; visibility: hidden; max-width: 20rem; padding: 1.5rem; top: 4rem; left: 2rem; border-radius: 0.25rem; background-color: #fff; -webkit-box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3); box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3); transition-duration: 0.15s }
-#floater.show { opacity: 1; visibility: visible; }
-/*resizer*/
-#resizer { position: absolute; z-index: 99; top: 2.2rem; bottom: 0; left: 25rem; width: 5px; margin-left: -1px; cursor: col-resize; background-color: transparent; transition: background-color .3s }
-#resizer:hover { background-color: rgba(0, 0, 0, 0.1); }
-#mask_resizer { position: absolute; width: 100%; height: 100%; }
-/* mainloader */
-#mainloader { position: absolute; z-index: 50000; top: 0; left: 0; width: 100%; height: 100%; text-align: center; vertical-align: middle; padding: 15% 0 0 0; background-color: rgba(255, 255, 255, 0.64); opacity: 0; visibility: hidden; -webkit-transition-duration: 0.3s; transition-duration: 0.3s }
-#mainloader.show { opacity: 0.75; visibility: visible; -webkit-transition-duration: 0.1s; transition-duration: 0.1s }
-#mainloader::before { content: ""; display: block; position: absolute; z-index: 1; left: 50%; top: 30%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; animation: rotate 2s linear infinite; box-shadow: 5px 5px 0 0 rgb(234, 132, 82), 14px -7px 0 0 rgba(111, 163, 219, 0.7), -7px 11px 0 0 rgba(112, 193, 92, 0.74), -11px -7px 0 0 rgba(147, 205, 99, 0.78); }
-.sidebar-closed #tree { width: 0 !important; }
-.sidebar-closed #main, .sidebar-closed #resizer { left: 0 !important; }
-@media (max-width: 840px) {
-#floater { left: 0; right: 0; margin: 0 auto; }
-#resizer { display: none }
-#frameset #mask_resizer { z-index: 3 !important; opacity: 0.5; visibility: visible; background-color: #000; -webkit-transition: 0.2s; transition: 0.2s }
-.sidebar-closed #frameset #mask_resizer { opacity: 0; visibility: hidden; }
-#tree { z-index: 5; width: auto !important; box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25); -webkit-transition: 0.25s; transition: 0.25s }
-.sidebar-closed #tree { width: auto !important; box-shadow: none; -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); }
-#tree .treeframebody { box-shadow: none }
-.sidebar-closed #main::after { content: ""; position: absolute; z-index: 1; left: 0; top: 6rem; bottom: 0; width: 1rem; }
-#main { left: 0 !important; }
-#main::before { content: ""; position: absolute; z-index: 9999; left: 0; top: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0); }
-.sidebar-closed #mainMenu:not(.show) + #tree + #main::before { display: none }
-}
-@keyframes rotate {
-to { transform: rotate(360deg) }
-}
-/* dark */
-.dark #main { background-color: #ecf0f1 }
-.dark #mainloader { background-color: rgba(236, 240, 241, 0.64); }
\ No newline at end of file
+@import "index.css";
diff --git a/manager/media/style/default/css/tabpane.css b/manager/media/style/default/css/tabpane.css
old mode 100644
new mode 100755
index 0e3c3f254a..eb31a88a3b
--- a/manager/media/style/default/css/tabpane.css
+++ b/manager/media/style/default/css/tabpane.css
@@ -1,59 +1,132 @@
-/* [ Tabs ] */
-.tab-row { position: relative; z-index: 1; white-space: nowrap; padding: 0 1.5rem }
-.tab-row::after, .tab-row-container::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 1px; background-color: #ddd }
-.tab-row .tab { position: relative; display: inline-block; margin: 0; padding: 0 0.875rem; line-height: 2.7rem; height: 2.5rem; text-transform: uppercase; border: 1px solid rgba(0, 0, 0, 0); border-bottom: none; cursor: pointer; -webkit-user-select: none; user-select: none; }
-.tab-row .tab, .tab-row .tab a { color: rgba(0, 0, 0, 0.6); font-size: 0.75rem }
-.tab-row .tab.selected { z-index: 2; border-color: #ddd; background-color: #fff; color: #444; font-weight: 700 }
-.tab-row .tab .fa { margin-right: 0.1em; font-size: 0.875rem }
-/* tabs-container */
-.tab-row-container { height: 2.5rem; left: 0; overflow-y: hidden; padding: 0 1.5rem; position: relative; }
-.tab-row-container .tab-row { z-index: 2; -webkit-overflow-scrolling: touch; overflow-x: auto; padding: 0 0 2rem; white-space: nowrap }
-.tab-row-container .tab-row::after { display: none }
-.tab-row-container > i { position: absolute; top: 0; height: 100%; text-align: center; font: normal normal normal 1.2rem/2.7rem FontAwesome; cursor: pointer; transition-duration: 0.2s; width: 1.5rem; }
-.tab-row-container > i.prev { left: 0; }
-.tab-row-container > i.next { right: 0; }
-.tab-row-container > i.disable { font-size: 0.8rem; color: rgba(0, 0, 0, 0.2); pointer-events: none }
-/* tab-page */
-.tab-page { clear: both; width: 100%; background-color: #fff; padding: 0; border: 0; border-radius: 0; box-shadow: 0 0 0.3rem 0 rgba(0, 0, 0, .1) }
-.tab-page .tab-header, .sectionHeader { margin-top: 1em; padding: .5rem 1.25rem; letter-spacing: .03rem }
-.tab-page .tab-header + .tab-header, .tab-page .sectionHeader + .sectionHeader { margin-top: 0; border-top: 1px solid #ccc; }
-.tab-page > .tab-body .tab-header { padding-left: 0; padding-right: 0 }
-.tab-page > .tab-header:first-child, .tab-page > .tab-body > .tab-header:first-child, .tab-page .sectionHeader:first-child, .tab-page > script + .sectionHeader, .sectionBody .tab-page > script + .tab-section { margin-top: 0 }
-.tab-page > .tab-body { width: 100%; padding: 1.25rem; }
-.tab-page > .tab-body > .tab-body, .tab-page .sectionBody { padding: 1rem 0; }
-.tab-page > .tab-header + .tab-body, .tab-page > .tab-body .tab-header + .tab-body, .tab-page .sectionHeader + .sectionBody { padding-top: 1em; border-top: 1px solid rgba(0, 0, 0, 0.1); }
-.tab-page > .tab-body::after { display: table; width: 100%; content: '' }
-.tab-page .tab-body > .form-group:last-child, .tab-page .tab-body > .form-row:last-child, .tab-page .tab-body > p:last-child, .tab-page .tab-body > .form-group:last-child > p:last-child, .tab-page .sectionBody:last-child { margin-bottom: 0 }
-.tab-page .tab-section, .tab-page .sectionHeader + .sectionBody { margin-top: 1.25rem; background-color: #fafafa; border: 1px solid #e0e0e0; border-radius: .1rem; }
-.tab-page .tab-section:first-child, .tab-page .sectionHeader + .sectionBody, .tab-page .sectionBody ~ .sectionHeader { margin-top: 0 }
-.tab-page .tab-section .tab-header, .tab-page .sectionHeader { margin-left: -1px; margin-right: -1px; padding-left: .5rem; padding-right: .5rem; background-color: #efeff6; border: 1px solid #e0e0e0; border-bottom: 2px solid #e0e0ec; }
-.tab-page .tab-section .tab-header:first-child, .tab-page .sectionHeader { margin-top: 0; border-top: none }
-.tab-page .tab-section .tab-header + .tab-header, .tab-page .tab-section .tab-body + .tab-header, .tab-page .sectionHeader { border-top: 1px solid #e0e0e0; }
-.tab-page .tab-section .tab-body, .tab-page .sectionBody { padding: 1rem; }
-.tab-page > .sectionHeader, .sectionBody .tab-page > .tab-section { margin-top: 1rem; margin-left: .25rem; margin-right: .25rem }
-.tab-page .sectionBody { margin: 1rem .25rem; }
-.tab-page .sectionHeader + .sectionBody { border-top-color: transparent; border-radius: 0 }
-.tab-page > .tab-section .tab-pane { padding-top: 1.25rem }
-.tab-page > .tab-pane { margin-left: -1.25rem; margin-right: -1.25rem }
-.tab-page > .tab-pane > .tab-page { box-shadow: none; }
-.tab-page > .tab-pane > .tab-page > .tab-body { padding-bottom: 0 }
-/* tab-page-header collapse */
-.tab-page .tab-header[data-toggle="collapse"]::after { float: right; content: "\f107"; font-family: FontAwesome; font-size: 1rem; line-height: 1em; color: #777; cursor: pointer; transition-duration: .3s }
-.tab-page .tab-header[data-toggle="collapse"].collapsed::after { transform: rotate(180deg) }
-.tab-page .tab-header[data-toggle="collapse"]:hover::after { color: #333 }
-/* old style */
-.sectionBody .tab-page { clear: both; width: 100%; background-color: #fff; padding: 0; border: 0; border-radius: 0; box-shadow: 0 0 0.3rem 0 rgba(0, 0, 0, .1) }
-.sectionBody > .tab-pane > .tab-page { padding: 1.25rem; }
-.tab-page > table { width: 100%; border-collapse: collapse }
-.sectionBody .displayparams, .sectionBody .permissiongroup { margin-bottom: 0.15rem; background-color: #eee; border-collapse: separate; border-spacing: 1px; }
-.sectionBody .displayparams th, .sectionBody .displayparams td { padding: 4px 4px; }
-.sectionBody .displayparams thead td, .sectionBody .permissiongroup thead td { border-top: none; }
-.sectionBody fieldset { background: none repeat scroll 0 0 #fdfdfd; border: 1px solid #ccc; padding: 1rem !important; }
-.sectionBody legend { font-weight: 500; padding: 5px 1rem; background: #fff; border: 1px solid #ccc; -moz-box-shadow: 1px 1px 3px #ccc; -webkit-box-shadow: 1px 1px 3px #ccc; box-shadow: 1px 1px 3px #ccc; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
-.sectionBody fieldset h3 { font-size: 14px; color: #789; font-weight: 500; padding-bottom: 0; margin-bottom: 0; }
-.showHideVisible { color: #333; margin: 0 1rem; padding: 5px 3px 5px; zoom: 1; font-weight: 500; text-shadow: 0 1px 0 #fff; }
-.showHideVisible + .sectionBody { margin-top: -1px !important }
-.sectionBody, .layerVisible { position: relative; }
-.sectionBody > p:first-child { margin-left: 1rem; margin-right: 1rem }
-.showHideVisible, .layerVisible { margin: 0 10px 4px; }
-.sectionBody td, .sectionBody th { padding: 0.15rem 0.25rem; vertical-align: top; }
+/* [ Tabs ] */
+.tab-row { position: relative; z-index: 1; white-space: nowrap; padding: 0 1.5rem }
+.tab-row::after, .tab-row-container::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 1px; background-color: #ddd }
+.tab-row .tab, .tab-pane > .tab-page > .tab { position: relative; display: inline-block; margin: 0; padding: 0 0.875rem; line-height: 2.7rem; height: 2.5rem; text-transform: uppercase; border: 1px solid rgba(0, 0, 0, 0); border-bottom: none; cursor: pointer; -webkit-user-select: none; user-select: none; }
+.tab-row .tab, .tab-row .tab a, .tab-pane > .tab-page > .tab { color: rgba(0, 0, 0, 0.6); font-size: 0.75rem }
+.tab-row .tab.selected { z-index: 2; border-color: #ddd; background-color: #fff; color: #444; font-weight: 700 }
+.tab-row .tab .fa { margin-right: 0.1em; font-size: 0.875rem }
+/* tabs-container */
+.tab-row-container { height: 2.5rem; left: 0; overflow-y: hidden; padding: 0 1.5rem; position: relative; z-index: 0 }
+.tab-row-container .tab-row { z-index: 2; -webkit-overflow-scrolling: touch; overflow-x: auto; padding: 0 0 2rem; white-space: nowrap }
+.tab-row-container .tab-row::after { display: none }
+.tab-row-container > i { position: absolute; top: 0; height: 100%; text-align: center; font: normal normal normal 1.2rem/2.7rem FontAwesome; cursor: pointer; transition-duration: 0.2s; width: 1.5rem; }
+.tab-row-container > i.prev { left: 0; }
+.tab-row-container > i.next { right: 0; }
+.tab-row-container > i.disable { font-size: 0.8rem; color: rgba(0, 0, 0, 0.2); pointer-events: none }
+/* tab-page */
+.tab-pane > .tab-page { display: block }
+.tab-pane > .tab-page ~ .tab-page { display: none }
+.tab-pane > .tab-page:first-of-type { display: block; margin-top: 2.5rem; }
+.tab-pane > .tab-page > .tab { top: -2.5rem; left: 1.5rem; background-color: #f9f9f9; border-color: #ddd; }
+.sectionBody > .tab-pane > .tab-page > .tab { top: -3.7rem; left: 0.3rem; }
+.tab-pane > .tab-page > div:first-of-type, .tab-pane > .tab-page > table { margin-top: -2.5rem }
+.dynamic-tab-pane-control.tab-pane > .tab-page > div:first-of-type, .dynamic-tab-pane-control.tab-pane > .tab-page > table { margin-top: 0 }
+.tab-page { clear: both; width: 100%; background-color: #fff; padding: 0; border: 0; border-radius: 0; box-shadow: 0 0 0.3rem 0 rgba(0, 0, 0, .1) }
+.tab-page .tab-header, .sectionHeader { margin-top: 1em; padding: .5rem 1.25rem; letter-spacing: .03rem }
+.tab-page .tab-header + .tab-header, .tab-page .sectionHeader + .sectionHeader { margin-top: 0; border-top: 1px solid #ccc; }
+.tab-page > .tab-body .tab-header { padding-left: 0; padding-right: 0 }
+.tab-page > .tab-header:first-child, .tab-page > .tab-body > .tab-header:first-child, .tab-page .sectionHeader:first-child, .tab-page > script + .sectionHeader, .sectionBody .tab-page > script + .tab-section { margin-top: 0 }
+.tab-page > .tab-body { width: 100%; padding: 1.25rem; }
+.tab-page > .tab-body > .tab-body, .tab-page .sectionBody { padding: 1rem 0; }
+.tab-page > .tab-header + .tab-body, .tab-page > .tab-body .tab-header + .tab-body, .tab-page .sectionHeader + .sectionBody { padding-top: 1em; border-top: 1px solid rgba(0, 0, 0, 0.1); }
+.tab-page > .tab-body::after { display: table; width: 100%; content: '' }
+.tab-page .tab-body > .form-group:last-child, .tab-page .tab-body > .form-row:last-child, .tab-page .tab-body > p:last-child, .tab-page .tab-body > .form-group:last-child > p:last-child, .tab-page .sectionBody:last-child { margin-bottom: 0 }
+.tab-page .tab-section, .tab-page .sectionHeader + .sectionBody { margin-top: 1.25rem; background-color: #fafafa; border: 1px solid #e0e0e0; border-radius: .1rem; }
+.tab-page .tab-section:first-child, .tab-page .sectionHeader + .sectionBody, .tab-page .sectionBody ~ .sectionHeader { margin-top: 0 }
+.tab-page .tab-section .tab-header, .tab-page .sectionHeader { margin-left: -1px; margin-right: -1px; padding-left: .5rem; padding-right: .5rem; background-color: #efeff6; border: 1px solid #e0e0e0; border-bottom: 2px solid #e0e0ec; }
+.tab-page .tab-section .tab-header:first-child, .tab-page .sectionHeader { margin-top: 0; border-top: none }
+.tab-page .tab-section .tab-header + .tab-header, .tab-page .tab-section .tab-body + .tab-header, .tab-page .sectionHeader { border-top: 1px solid #e0e0e0; }
+.tab-page .tab-section .tab-body, .tab-page .sectionBody { padding: 1rem; }
+.tab-page > .sectionHeader, .sectionBody .tab-page > .tab-section { margin-top: 1rem; margin-left: .25rem; margin-right: .25rem }
+.tab-page .sectionBody { margin: 1rem .25rem; }
+.tab-page .sectionHeader + .sectionBody { border-top-color: transparent; border-radius: 0 }
+.tab-page > .tab-section .tab-pane { padding-top: 1.25rem }
+.tab-page > .tab-pane { margin-left: -1.25rem; margin-right: -1.25rem }
+.tab-page > .tab-pane > .tab-page { box-shadow: none; }
+.tab-page > .tab-pane > .tab-page > .tab-body { padding-bottom: 0 }
+/* tab-page-header collapse */
+.tab-page .tab-header[data-toggle="collapse"]::after { float: right; content: "\f107"; font-family: FontAwesome; font-size: 1rem; line-height: 1em; color: #777; cursor: pointer; transition-duration: .3s }
+.tab-page .tab-header[data-toggle="collapse"].collapsed::after { transform: rotate(180deg) }
+.tab-page .tab-header[data-toggle="collapse"]:hover::after { color: #333 }
+/* old style */
+.sectionBody .tab-page { clear: both; width: 100%; background-color: #fff; padding: 0; border: 0; border-radius: 0; box-shadow: 0 0 0.3rem 0 rgba(0, 0, 0, .1) }
+.sectionBody > .tab-pane > .tab-page { padding: 1.25rem; }
+.tab-page > table { width: 100%; border-collapse: collapse }
+.sectionBody .displayparams, .sectionBody .permissiongroup { margin-bottom: 0.15rem; background-color: #eee; border-collapse: separate; border-spacing: 1px; }
+.sectionBody .displayparams th, .sectionBody .displayparams td { padding: 4px 4px; }
+.sectionBody .displayparams thead td, .sectionBody .permissiongroup thead td { border-top: none; }
+.sectionBody fieldset { background: none repeat scroll 0 0 #fdfdfd; border: 1px solid #ccc; padding: 1rem !important; }
+.sectionBody legend { font-weight: 500; padding: 5px 1rem; background: #fff; border: 1px solid #ccc; -webkit-box-shadow: 1px 1px 3px #ccc; box-shadow: 1px 1px 3px #ccc; -webkit-border-radius: 3px; border-radius: 3px; }
+.sectionBody fieldset h3 { font-size: 14px; color: #789; font-weight: 500; padding-bottom: 0; margin-bottom: 0; }
+.showHideVisible { color: #333; margin: 0 1rem; padding: 5px 3px 5px; font-weight: 500; text-shadow: 0 1px 0 #fff; }
+.showHideVisible + .sectionBody { margin-top: -1px !important }
+.sectionBody, .layerVisible { position: relative; }
+.sectionBody > p:first-child { margin-left: 1rem; margin-right: 1rem }
+.showHideVisible, .layerVisible { margin: 0 10px 4px; }
+.sectionBody td, .sectionBody th { padding: 0.15rem 0.25rem; vertical-align: top; }
+/* [ POPUPS ] */
+.evo-popup { display: none; position: absolute; z-index: 10500; box-shadow: 0 0.2rem 2rem rgba(0, 0, 0, 0.1); }
+.evo-popup.animation { -webkit-transition: .25s; transition: .25s }
+.evo-popup:hover { box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3); }
+.evo-popup.alert { margin: 0; height: 100%; border-color: rgba(0, 0, 0, 0.1); background-color: #fff; color: #444; border-radius: .15rem; }
+.evo-popup.alert-dark { background-color: #202329; color: #ccc; }
+.evo-popup.alert-dark hr { border-color: rgba(255, 255, 255, 0.5); }
+.evo-popup.alert-dark .close { color: #fff; text-shadow: 0 0 #000; }
+.evo-popup.alert-success { border-color: rgba(0, 0, 0, 0.1); background-color: #5cb85c; color: #fff; }
+.evo-popup.alert-success hr { border-color: rgba(255, 255, 255, 0.5); }
+.evo-popup.alert-info { border-color: rgba(0, 0, 0, 0.1); background-color: #1976d2; color: #fff; }
+.evo-popup.alert-info hr { border-color: rgba(255, 255, 255, 0.5); }
+.evo-popup.alert-warning { border-color: rgba(0, 0, 0, 0.1); background-color: #ffe082; color: #795548; }
+.evo-popup.alert-warning hr { border-color: rgba(0, 0, 0, 0.1); }
+.evo-popup.alert-danger { border-color: rgba(0, 0, 0, 0.1); background-color: #d9534f; color: #fff; }
+.evo-popup.alert-danger hr { border-color: rgba(255, 255, 255, 0.5); }
+.evo-popup.alert.evo-popup-iframe { padding: 0; border: none; background-color: #fafafa; overflow: hidden; }
+.evo-popup.alert .evo-popup-header { padding-bottom: .5rem; margin-bottom: .5rem; border-bottom: 1px solid }
+.evo-popup .close { position: absolute; top: .3em; right: .3em; }
+.evo-popup.evo-popup-iframe .close { position: absolute; z-index: 9; opacity: 1; top: 0; right: 0; width: 1.5rem; height: 1.5rem; line-height: 1.4rem; color: #fff; background-color: #e5a2a0; text-align: center; font-weight: 100; }
+.evo-popup.evo-popup-iframe .close:hover { opacity: 1; background-color: #d9534f; }
+.evo-popup.evo-popup-iframe .evo-popup-header { position: relative; height: 1.5rem; margin: 0; padding: 0 1.5rem 0 .5rem; line-height: 1.5rem; font-size: .9rem; border-bottom: 1px solid #dedede; }
+.evo-popup.evo-popup-iframe .evo-popup-header i { line-height: 1.5rem !important; }
+.evo-popup.evo-popup-iframe .evo-popup-body { position: absolute; z-index: 1; left: 0; top: 0; right: 0; bottom: 0; }
+.evo-popup.evo-popup-iframe .evo-popup-header + .evo-popup-body { top: 1.5rem }
+.evo-popup.evo-popup-iframe.changed { box-shadow: 0 0.2rem 2rem rgba(0, 0, 0, 0.1), 0 0 .2rem .2rem #ffc107 }
+.evo-popup-overlay { position: fixed; z-index: 10499; left: 0; top: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.3); }
+.evo-popup-overlay::before { position: absolute; left: 20%; top: 20%; width: 45%; height: 45%; opacity: 0; background-color: rgba(0, 0, 0, 0.3); transition: all 0.25s ease-in-out; }
+.evo-popup.is-drag::before, .evo-popup.is-resize::before { content: ""; position: absolute; z-index: 9; left: 0; top: 0; right: 0; bottom: 0; background-color: transparent; }
+.evo-popup.resize .border-outline { display: none; }
+.evo-popup.resize:hover .border-outline, .evo-popup.is-resize .border-outline, .evo-popup.resize:hover .border-outline i, .evo-popup.is-resize .border-outline i { display: block !important }
+.evo-popup.resize .border-outline i { position: absolute; z-index: 99; display: none; background-color: transparent }
+.evo-popup.resize .border-outline .bo-left, .evo-popup.resize .border-outline .bo-right { width: .25rem; height: 100%; }
+.evo-popup.resize .border-outline .bo-left { left: 0; }
+.evo-popup.resize .border-outline .bo-right { right: 0; }
+.evo-popup.resize .border-outline .bo-top, .evo-popup.resize .border-outline .bo-bottom { height: .25rem; width: 100%; }
+.evo-popup.resize .border-outline .bo-top { top: 0; }
+.evo-popup.resize .border-outline .bo-bottom { bottom: 0; }
+.dark .evo-popup.alert.evo-popup-iframe { background-color: #ecf0f1 }
+/* [ EVO-TABS ] */
+.evo-tab-row { height: 1.875rem; padding: 0; background-color: #dfdfdf; }
+.evo-tab-row:after { background-color: #cfd2d6 }
+.evo-tab-row .tab-row .tab { height: 1.875rem; line-height: 2rem; font-size: .8125rem; text-transform: none; border: none; border-right: 1px solid #cfd2d6; border-left: 1px solid #cfd2d6; margin-left: -1px; }
+.evo-tab-row .tab-row .tab:hover { background-color: rgba(255, 255, 255, 0.5) }
+.evo-tab-row .tab-row .tab.changed { color: #0275d8; }
+.evo-tab-row .tab-row .tab.selected { font-weight: normal; color: #444; background-color: #fafafa; }
+.evo-tab-row .tab-row .tab i, .evo-popup.evo-popup-iframe .evo-popup-header i { float: left; margin: 0; line-height: 2.2em; }
+.evo-tab-row .tab-row .tab small, .evo-popup.evo-popup-iframe .evo-popup-header small { margin-left: .25em }
+.evo-tab-row .tab-row .tab:not(#evo-tab-home) i.help, .evo-popup.evo-popup-iframe .evo-popup-header i.help { display: none }
+.evo-tab-row .tab-row .tab:not(#evo-tab-home) i, .evo-popup.evo-popup-iframe .evo-popup-header i { margin-right: .25em }
+.evo-tab-row .tab-row .tab span { background: none !important }
+.evo-tab-row .tab-row .tab .tab-title { float: left; width: 5rem; line-height: 2rem; text-overflow: ellipsis; overflow: hidden; }
+.evo-tab-row .tab-row .tab .tab-close { float: right; margin: 0 -.75rem 0 .5rem; padding: .25em; line-height: 1.3em; font-size: 1.3em; font-weight: 700; color: #9e9e9e }
+.evo-tab-row .tab-row .tab .tab-close:hover { color: #d9534f }
+.evo-tab-page { position: absolute; overflow: hidden; z-index: -1; display: block; left: 0; top: 2.3em; right: 0; bottom: 0; height: auto; box-shadow: none; background-color: #fafafa; }
+.evo-tab-page.show { z-index: 1; }
+.evo-tab-page iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: #fafafa; overflow: hidden; }
+/* dark */
+.dark .evo-popup-overlay { background-color: rgba(0, 0, 0, 0.3); }
+.dark .evo-tab-row { background-color: #1a1c21; border-bottom: none; }
+.dark .evo-tab-row:after { background-color: #1a1c21; }
+.dark .evo-tab-row .tab-row .tab { color: #aaa; border-color: #2a2d33 }
+.dark .evo-tab-row .tab-row .tab:hover { background-color: #2d3033 }
+.dark .evo-tab-row .tab-row .tab.changed { color: #7cb2dc; }
+.dark .evo-tab-row .tab-row .tab.selected { background-color: #414550; color: #eee; border-bottom: 3px solid #1976d2; }
+.dark .evo-tab-page, .dark .evo-tab-page iframe { background-color: #ecf0f1 }
diff --git a/manager/media/style/default/css/tree.css b/manager/media/style/default/css/tree.css
old mode 100644
new mode 100755
index 9b37143f40..8e3362266f
--- a/manager/media/style/default/css/tree.css
+++ b/manager/media/style/default/css/tree.css
@@ -1,65 +1,67 @@
-/* tree */
-#treeloader { position: absolute; display: block; overflow: hidden; right: 0.3em; top: 0.3em; opacity: 0; visibility: hidden; -webkit-transition-duration: 0.5s; transition-duration: 0.5s }
-#treeloader .fa { font-size: 1em; }
-#treeloader.visible { opacity: 0.7; visibility: visible; -webkit-transition-duration: 0s; transition-duration: 0s }
-.treeframebody { height: 100%; background-color: #fafafa; box-shadow: inset -0.15rem 0.15rem 0.45rem 0 rgba(0, 0, 0, 0.1); }
-#treeMenu { overflow: hidden; padding: 0 0.1em; height: 2.3em; background-color: #dfdfdf; border-bottom: 1px solid #cfd2d6 }
-#treeMenu .treeButton { display: inline-block; cursor: pointer; padding: 0 0.2em; height: 2.3em; line-height: 2.5em; white-space: nowrap; text-align: center; vertical-align: middle; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
-#treeMenu .treeButton:hover:not(.disabled) { background-color: rgba(255, 255, 255, .5); cursor: pointer; -webkit-transition-duration: 0s; transition-duration: 0s }
-#treeMenu .treeButton:not(.disabled):active { background-color: #d5d5d5 }
-#treeMenu .treeButton .fa { width: 1.2em; height: 1.2em; line-height: 1.2em; font-size: 1.1em; }
-#treeMenu .treeButton.disabled { color: #777; opacity: 0.5 }
-#treeHolder { position: relative; z-index: 1; cursor: default; overflow: auto; height: 100%; max-height: calc(100% - 30px); white-space: nowrap }
-#treeHolder .rootNode a { display: block; padding: 0.25em 0.5em; color: #333; cursor: pointer; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
-#treeHolder .rootNode a .fa { margin-right: 0.5em }
-#treeRoot { float: left; width: 100%; color: #333; }
-#treeRoot a { display: block; clear: both; text-decoration: none; padding: 0.1em 0 0.1em 2.2em; font-size: 1em; color: #333; cursor: default; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
-#treeRoot a:hover:not(.empty), #treeRoot a.current { background-color: rgba(33, 150, 243, 0.1) }
-#treeRoot a small { margin: 0 0.8em 0 0.2em }
-#treeRoot a.selected, #treeRoot .dragenter > a { background-color: rgba(0, 0, 0, 0.1); }
-#treeRoot .dragafter > a .indent::after, #treeRoot .dragbefore > a .indent::before { content: "\f0da"; display: block; position: absolute; right: 0.1em; bottom: -0.5em; height: 1em; font: normal normal normal 1em/1em FontAwesome; }
-#treeRoot .dragbefore > a .indent::before { bottom: auto; top: -0.5em; }
-#treeRoot a .title { padding: 0 0.2em; color: #0275d8; cursor: pointer; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
-#treeRoot a.deleted .title { color: #A52A2A; text-decoration: line-through; }
-#treeRoot a.unpublished .title { color: #B68282; font-style: italic; }
-#treeRoot a.hidemenu .title { color: #404040; }
-#treeRoot a.protected { position: relative; opacity: .5; background-color: transparent !important; }
-#treeRoot a .lockedResource { cursor: pointer; }
-#treeRoot a .editResource { margin-left: 0.2em }
-#treeRoot .indent { position: relative; z-index: -1; float: left; height: 1.5em; }
-#treeRoot .indent i { float: left; height: 1.2em; width: 1.5em }
-#treeRoot .empty { color: #aaa; cursor: default; }
-#treeRoot .icon { cursor: pointer; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
-#treeRoot .icon:hover > .fa { color: #000 }
-#treeRoot .toggle { float: left; margin: 1px 0.2em 1px -1.5em; width: 1.3em; height: 1.3em; line-height: 1.4em; text-align: center; vertical-align: top; cursor: pointer; border-radius: 50%; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
-#treeRoot .toggle:hover { background-color: rgba(255, 255, 255, 0.5); }
-#treeRoot .toggle .fa { margin: 0; width: auto; }
-#treeRoot .fa, #treeHolder .rootNode .fa { margin-right: 1px; width: 1em; font-size: 1.1em; text-align: center; color: #565656; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
-#treeRoot a[data-private="1"] .icon::after { position: relative; float: left; margin: .5em -1em 0 0; content: "\f023"; font-family: FontAwesome; font-size: 0.75em; color: #d9534f; }
-#treeRoot .fa-file, #treeRoot .fa-file-o, #treeRoot .fa-file-code, #treeRoot .fa-file-code-o { }
-#treeRoot .fa-folder, #treeRoot .fa-folder-open, #treeRoot .fa-folder-o, #treeRoot .fa-folder-open-o, #treeRoot .fa-exclamation-triangle { margin-top: 0.1em; text-align: left }
-#treeRoot .fa-link { margin-right: 0; font-size: 0.8em }
-#treeRoot #binFull { display: none }
-/* treeRoot dark */
-.dark #treeMenu { background-color: rgba(0, 0, 0, 0.2); border-bottom: none; }
-.dark #treeMenu .treeButton { color: #a9a9a9; }
-.dark #treeMenu .treeButton:hover:not(.disabled) { background-color: #2d3033; color: #fff }
-.dark #tree .treeframebody { background-color: #202329 }
-.dark #treeHolder .rootNode a { color: #C5C5C5; }
-.dark #treeHolder .rootNode a:hover { color: #eee }
-.dark #treeRoot { color: #b3b3b3; }
-.dark #treeRoot a { color: #b3b3b3; }
-.dark #treeRoot a:hover:not(.empty), .dark #treeRoot a.current { background-color: rgba(255, 255, 255, 0.15); }
-.dark #treeRoot a.selected, #treeRoot .dragenter > a { background-color: rgba(0, 142, 255, 0.19); }
-.dark #treeRoot .dragafter > a::after, .dark #treeRoot .dragbefore > a::before { background-color: rgba(255, 255, 255, 0.25); }
-.dark #treeRoot a .title { color: #7cb2dc; }
-.dark #treeRoot a.hidemenu .title { color: #C5C5C5; }
-.dark #treeRoot a.deleted .title { color: #A52A2A; }
-.dark #treeRoot a.unpublished .title { color: #d0726b }
-.dark #treeRoot .icon:hover > .fa { color: #fff }
-.dark #treeRoot a .title:hover { color: #a2d4fb; }
-.dark #treeRoot a.hidemenu .title:hover { color: #eee }
-.dark #treeRoot a.unpublished .title:hover { color: #f38e86 }
-.dark #treeRoot a.deleted .title:hover { color: #e23d3d }
-.dark #treeRoot .toggle:hover { background-color: rgba(255, 255, 255, 0.19); }
-.dark #treeRoot .fa, .dark #treeHolder .rootNode .fa { color: #bcbec0; }
+/* tree */
+#treeloader { position: absolute; display: block; overflow: hidden; right: 0.3em; top: 0.15em; opacity: 0; visibility: hidden; -webkit-transition-duration: 0.5s; transition-duration: 0.5s }
+#treeloader .fa { font-size: 1em; }
+#treeloader.visible { opacity: 0.7; visibility: visible; -webkit-transition-duration: 0s; transition-duration: 0s }
+.treeframebody { height: 100%; min-height: calc(100% + 1px); background-color: #fafafa; border-right: 1px solid #cfd2d6; }
+#treeMenu { display: table; width: 100%; height: 1.875rem; table-layout: fixed; margin-top: -1px; background-color: #dfdfdf; border-bottom: 1px solid #cfd2d6 }
+#treeMenu .treeButton { display: table-cell; cursor: pointer; height: 1.875rem; line-height: 2rem; white-space: nowrap; text-align: center; vertical-align: middle; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
+#treeMenu .treeButton:hover:not(.disabled) { background-color: rgba(255, 255, 255, .5); cursor: pointer; -webkit-transition-duration: 0s; transition-duration: 0s }
+#treeMenu .treeButton:not(.disabled):active { background-color: #d5d5d5 }
+#treeMenu .treeButton .fa { display: block; width: 1.2em; height: 1.2em; margin: auto; line-height: 1.3em; font-size: 1.1em; }
+#treeMenu .treeButton.disabled { color: #777; opacity: 0.5 }
+#treeHolder { position: relative; z-index: 1; cursor: default; overflow: auto; height: 100%; max-height: calc(100% - 30px); white-space: nowrap }
+#treeHolder .rootNode { position: relative; }
+#treeHolder .rootNode a { display: block; overflow: hidden; padding: 0.25em 0.5em; text-overflow: ellipsis; color: #333; cursor: pointer; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
+#treeHolder .rootNode a .fa { margin-right: 0.5em }
+#treeRoot { float: left; width: 100%; color: #333; }
+#treeRoot a { display: block; clear: both; overflow: hidden; text-decoration: none; padding: 0.1em 0 0.1em 2.2em; font-size: 1em; text-overflow: ellipsis; color: #333; cursor: default; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
+#treeRoot a:hover:not(.empty), #treeRoot a.current { background-color: rgba(33, 150, 243, 0.1) }
+#treeRoot a small { margin: 0 0.8em 0 0.2em }
+#treeRoot a.selected, #treeRoot .dragenter > a { background-color: rgba(0, 0, 0, 0.1); }
+#treeRoot a .title { padding: 0 0.2em; color: #0275d8; cursor: pointer; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
+#treeRoot a.deleted .title { color: #a52a2a; text-decoration: line-through; }
+#treeRoot a.unpublished .title { color: #b68282; font-style: italic; }
+#treeRoot a.hidemenu .title { color: #404040; }
+#treeRoot a.protected { position: relative; opacity: .5; background-color: transparent !important; }
+#treeRoot a .lockedResource { cursor: pointer; }
+#treeRoot a .editResource { margin-left: 0.2em }
+#treeRoot .indent { position: relative; z-index: -1; float: left; height: 1.5em; }
+#treeRoot .indent i { float: left; height: 1.2em; width: 1.5em }
+#treeRoot .dragafter > a .indent, #treeRoot .dragbefore > a .indent { z-index: 1; }
+#treeRoot .dragafter > a .indent::after, #treeRoot .dragbefore > a .indent::before { content: "\f0da"; display: block; position: absolute; right: 0.1em; bottom: -0.5em; height: 1em; font: normal normal normal 1em/1em FontAwesome; color: #f04 }
+#treeRoot .dragbefore > a .indent::before { bottom: auto; top: -0.5em; }
+#treeRoot .empty { color: #aaa; cursor: default; }
+#treeRoot .icon { cursor: pointer; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
+#treeRoot .icon:hover > .fa { color: #000 }
+#treeRoot .toggle { float: left; margin: 1px 0.2em 1px -1.5em; width: 1.3em; height: 1.3em; line-height: 1.4em; text-align: center; vertical-align: top; cursor: pointer; border-radius: 50%; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
+#treeRoot .toggle:hover { background-color: rgba(255, 255, 255, 0.5); }
+#treeRoot .toggle .fa { margin: 0; width: auto; }
+#treeRoot .fa, #treeHolder .rootNode .fa { margin-right: 1px; width: 1em; font-size: 1.1em; text-align: center; color: #565656; -webkit-transition-duration: 0.15s; transition-duration: 0.15s }
+#treeRoot a[data-private="1"] .icon::after { position: relative; float: left; margin: .5em -1em 0 0; content: "\f023"; font-family: FontAwesome; font-size: 0.75em; color: #d9534f; }
+#treeRoot .fa-file, #treeRoot .fa-file-o, #treeRoot .fa-file-code, #treeRoot .fa-file-code-o { }
+#treeRoot .fa-folder, #treeRoot .fa-folder-open, #treeRoot .fa-folder-o, #treeRoot .fa-folder-open-o, #treeRoot .fa-exclamation-triangle { margin-top: 0.1em; text-align: left }
+#treeRoot .fa-link { margin-right: 0; font-size: 0.8em }
+#treeRoot #binFull { display: none }
+/* treeRoot dark */
+.dark #treeMenu { background-color: rgba(0, 0, 0, 0.2); border-bottom-color: rgba(0, 0, 0, 0.2); border-right-color: #2a2d33 }
+.dark #treeMenu .treeButton { color: #a9a9a9; }
+.dark #treeMenu .treeButton:hover:not(.disabled) { background-color: #2d3033; color: #fff }
+.dark #tree .treeframebody { background-color: #202329; border-color: #2a2d33 }
+.dark #treeHolder .rootNode a { color: #c5c5c5; }
+.dark #treeHolder .rootNode a:hover { color: #eee }
+.dark #treeRoot { color: #b3b3b3; }
+.dark #treeRoot a { color: #b3b3b3; }
+.dark #treeRoot a:hover:not(.empty), .dark #treeRoot a.current { background-color: rgba(255, 255, 255, 0.15); }
+.dark #treeRoot a.selected, #treeRoot .dragenter > a { background-color: rgba(0, 142, 255, 0.19); }
+.dark #treeRoot .dragafter > a::after, .dark #treeRoot .dragbefore > a::before { background-color: rgba(255, 255, 255, 0.25); }
+.dark #treeRoot a .title { color: #7cb2dc; }
+.dark #treeRoot a.hidemenu .title { color: #c5c5c5; }
+.dark #treeRoot a.deleted .title { color: #a52a2a; }
+.dark #treeRoot a.unpublished .title { color: #d0726b }
+.dark #treeRoot .icon:hover > .fa { color: #fff }
+.dark #treeRoot a .title:hover { color: #a2d4fb; }
+.dark #treeRoot a.hidemenu .title:hover { color: #eee }
+.dark #treeRoot a.unpublished .title:hover { color: #f38e86 }
+.dark #treeRoot a.deleted .title:hover { color: #e23d3d }
+.dark #treeRoot .toggle:hover { background-color: rgba(255, 255, 255, 0.19); }
+.dark #treeRoot .fa, .dark #treeHolder .rootNode .fa { color: #bcbec0; }
diff --git a/manager/media/style/default/fonts/FontAwesome.otf b/manager/media/style/default/fonts/FontAwesome.otf
new file mode 100755
index 0000000000..401ec0f36e
Binary files /dev/null and b/manager/media/style/default/fonts/FontAwesome.otf differ
diff --git a/manager/media/style/default/fonts/fontawesome-webfont.eot b/manager/media/style/default/fonts/fontawesome-webfont.eot
new file mode 100755
index 0000000000..e9f60ca953
Binary files /dev/null and b/manager/media/style/default/fonts/fontawesome-webfont.eot differ
diff --git a/manager/media/style/default/fonts/fontawesome-webfont.svg b/manager/media/style/default/fonts/fontawesome-webfont.svg
new file mode 100755
index 0000000000..855c845e53
--- /dev/null
+++ b/manager/media/style/default/fonts/fontawesome-webfont.svg
@@ -0,0 +1,2671 @@
+
+
+
+
+Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016
+ By ,,,
+Copyright Dave Gandy 2016. All rights reserved.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/manager/media/style/default/fonts/fontawesome-webfont.ttf b/manager/media/style/default/fonts/fontawesome-webfont.ttf
new file mode 100755
index 0000000000..35acda2fa1
Binary files /dev/null and b/manager/media/style/default/fonts/fontawesome-webfont.ttf differ
diff --git a/manager/media/style/default/fonts/fontawesome-webfont.woff b/manager/media/style/default/fonts/fontawesome-webfont.woff
new file mode 100755
index 0000000000..400014a4b0
Binary files /dev/null and b/manager/media/style/default/fonts/fontawesome-webfont.woff differ
diff --git a/manager/media/style/default/fonts/fontawesome-webfont.woff2 b/manager/media/style/default/fonts/fontawesome-webfont.woff2
new file mode 100755
index 0000000000..4d13fc6040
Binary files /dev/null and b/manager/media/style/default/fonts/fontawesome-webfont.woff2 differ
diff --git a/manager/media/style/default/images/_session.gif b/manager/media/style/default/images/_session.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/body.jpg b/manager/media/style/default/images/body.jpg
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/credits/dtree.gif b/manager/media/style/default/images/credits/dtree.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/credits/mysql.gif b/manager/media/style/default/images/credits/mysql.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/credits/penguin.gif b/manager/media/style/default/images/credits/penguin.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/credits/php.gif b/manager/media/style/default/images/credits/php.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/favicon.ico b/manager/media/style/default/images/favicon.ico
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/add.png b/manager/media/style/default/images/icons/add.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/application_get.png b/manager/media/style/default/images/icons/application_get.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/application_side_contract.png b/manager/media/style/default/images/icons/application_side_contract.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/application_side_expand.png b/manager/media/style/default/images/icons/application_side_expand.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/arrow-down.png b/manager/media/style/default/images/icons/arrow-down.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/arrow-right.png b/manager/media/style/default/images/icons/arrow-right.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/arrow-up.png b/manager/media/style/default/images/icons/arrow-up.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/arrow_down.png b/manager/media/style/default/images/icons/arrow_down.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/arrow_up.png b/manager/media/style/default/images/icons/arrow_up.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/b02.gif b/manager/media/style/default/images/icons/b02.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/b02_trans.gif b/manager/media/style/default/images/icons/b02_trans.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/b06.gif b/manager/media/style/default/images/icons/b06.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/b092.gif b/manager/media/style/default/images/icons/b092.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/backup.gif b/manager/media/style/default/images/icons/backup.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/bkmanager.gif b/manager/media/style/default/images/icons/bkmanager.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/brick.png b/manager/media/style/default/images/icons/brick.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/cal.gif b/manager/media/style/default/images/icons/cal.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/cal_nodate.gif b/manager/media/style/default/images/icons/cal_nodate.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/calendar-empty.png b/manager/media/style/default/images/icons/calendar-empty.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/calendar.png b/manager/media/style/default/images/icons/calendar.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/camera.png b/manager/media/style/default/images/icons/camera.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/cancel.png b/manager/media/style/default/images/icons/cancel.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/circlerightarrow.gif b/manager/media/style/default/images/icons/circlerightarrow.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/clock_play.png b/manager/media/style/default/images/icons/clock_play.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/clock_stop.png b/manager/media/style/default/images/icons/clock_stop.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/clone.png b/manager/media/style/default/images/icons/clone.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/comment.gif b/manager/media/style/default/images/icons/comment.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/context_view.gif b/manager/media/style/default/images/icons/context_view.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/copy.gif b/manager/media/style/default/images/icons/copy.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/date.gif b/manager/media/style/default/images/icons/date.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/datefocus.gif b/manager/media/style/default/images/icons/datefocus.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/datenofocus.gif b/manager/media/style/default/images/icons/datenofocus.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/delete.gif b/manager/media/style/default/images/icons/delete.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/delete.png b/manager/media/style/default/images/icons/delete.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/down.gif b/manager/media/style/default/images/icons/down.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/download-alt.png b/manager/media/style/default/images/icons/download-alt.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/ed_save.gif b/manager/media/style/default/images/icons/ed_save.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/email.png b/manager/media/style/default/images/icons/email.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/error.png b/manager/media/style/default/images/icons/error.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/event1.png b/manager/media/style/default/images/icons/event1.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/event2.png b/manager/media/style/default/images/icons/event2.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/event3.png b/manager/media/style/default/images/icons/event3.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/exclamation.png b/manager/media/style/default/images/icons/exclamation.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/eye.png b/manager/media/style/default/images/icons/eye.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/files.png b/manager/media/style/default/images/icons/files.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/folder-open.png b/manager/media/style/default/images/icons/folder-open.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/folder.gif b/manager/media/style/default/images/icons/folder.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/folder.png b/manager/media/style/default/images/icons/folder.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/folder_add.png b/manager/media/style/default/images/icons/folder_add.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/folder_page_add.png b/manager/media/style/default/images/icons/folder_page_add.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/forward.gif b/manager/media/style/default/images/icons/forward.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/forward.png b/manager/media/style/default/images/icons/forward.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/globe.gif b/manager/media/style/default/images/icons/globe.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/help.png b/manager/media/style/default/images/icons/help.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/home.gif b/manager/media/style/default/images/icons/home.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/home.png b/manager/media/style/default/images/icons/home.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/info-sign.png b/manager/media/style/default/images/icons/info-sign.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/information.png b/manager/media/style/default/images/icons/information.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/layout_go.png b/manager/media/style/default/images/icons/layout_go.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/link.png b/manager/media/style/default/images/icons/link.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/link_add.png b/manager/media/style/default/images/icons/link_add.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/lock.png b/manager/media/style/default/images/icons/lock.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/logging.gif b/manager/media/style/default/images/icons/logging.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/mail_generic.gif b/manager/media/style/default/images/icons/mail_generic.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/module.gif b/manager/media/style/default/images/icons/module.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/modules.gif b/manager/media/style/default/images/icons/modules.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/modules.png b/manager/media/style/default/images/icons/modules.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/move.png b/manager/media/style/default/images/icons/move.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/new1-09.gif b/manager/media/style/default/images/icons/new1-09.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/newdoc.gif b/manager/media/style/default/images/icons/newdoc.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/next.gif b/manager/media/style/default/images/icons/next.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/page_white_add.png b/manager/media/style/default/images/icons/page_white_add.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/page_white_copy.png b/manager/media/style/default/images/icons/page_white_copy.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/page_white_go.png b/manager/media/style/default/images/icons/page_white_go.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/page_white_magnify.png b/manager/media/style/default/images/icons/page_white_magnify.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/play.png b/manager/media/style/default/images/icons/play.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/prev.gif b/manager/media/style/default/images/icons/prev.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/preview.png b/manager/media/style/default/images/icons/preview.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/question-sign-trans.png b/manager/media/style/default/images/icons/question-sign-trans.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/question-sign.png b/manager/media/style/default/images/icons/question-sign.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/refresh.gif b/manager/media/style/default/images/icons/refresh.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/refresh.png b/manager/media/style/default/images/icons/refresh.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/reply.gif b/manager/media/style/default/images/icons/reply.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/reply.png b/manager/media/style/default/images/icons/reply.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/resources.gif b/manager/media/style/default/images/icons/resources.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/run.png b/manager/media/style/default/images/icons/run.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/save.png b/manager/media/style/default/images/icons/save.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/secured.gif b/manager/media/style/default/images/icons/secured.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/security.gif b/manager/media/style/default/images/icons/security.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/sort.png b/manager/media/style/default/images/icons/sort.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/sort_index.png b/manager/media/style/default/images/icons/sort_index.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/stop.png b/manager/media/style/default/images/icons/stop.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/table.gif b/manager/media/style/default/images/icons/table.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/table.png b/manager/media/style/default/images/icons/table.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/table_refresh.png b/manager/media/style/default/images/icons/table_refresh.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/trash.png b/manager/media/style/default/images/icons/trash.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/trash_full.png b/manager/media/style/default/images/icons/trash_full.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/undelete.png b/manager/media/style/default/images/icons/undelete.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/unzip.gif b/manager/media/style/default/images/icons/unzip.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/user.gif b/manager/media/style/default/images/icons/user.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/user.png b/manager/media/style/default/images/icons/user.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/web_users.gif b/manager/media/style/default/images/icons/web_users.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/icons/world_link.png b/manager/media/style/default/images/icons/world_link.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/input-bg.gif b/manager/media/style/default/images/input-bg.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/logo-black.png b/manager/media/style/default/images/logo-black.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/_tx_.gif b/manager/media/style/default/images/misc/_tx_.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/ajax-loader.gif b/manager/media/style/default/images/misc/ajax-loader.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/button-gradient.png b/manager/media/style/default/images/misc/button-gradient.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/ed_save.gif b/manager/media/style/default/images/misc/ed_save.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/enter.png b/manager/media/style/default/images/misc/enter.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/fade.gif b/manager/media/style/default/images/misc/fade.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/headers.jpg b/manager/media/style/default/images/misc/headers.jpg
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/input-bg.gif b/manager/media/style/default/images/misc/input-bg.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/li.gif b/manager/media/style/default/images/misc/li.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/li.png b/manager/media/style/default/images/misc/li.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/line.gif b/manager/media/style/default/images/misc/line.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/lock.gif b/manager/media/style/default/images/misc/lock.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/locked.gif b/manager/media/style/default/images/misc/locked.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/login-logo.png b/manager/media/style/default/images/misc/login-logo.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/logo-dashboard.png b/manager/media/style/default/images/misc/logo-dashboard.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/logo.png b/manager/media/style/default/images/misc/logo.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/longbarbg.png b/manager/media/style/default/images/misc/longbarbg.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/mainbg.gif b/manager/media/style/default/images/misc/mainbg.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/menubg.png b/manager/media/style/default/images/misc/menubg.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/minus.gif b/manager/media/style/default/images/misc/minus.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/modx-logo-4.png b/manager/media/style/default/images/misc/modx-logo-4.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/plus.gif b/manager/media/style/default/images/misc/plus.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/submit.png b/manager/media/style/default/images/misc/submit.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/tab.gif b/manager/media/style/default/images/misc/tab.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/misc/tabareabg.gif b/manager/media/style/default/images/misc/tabareabg.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/subnav.jpg b/manager/media/style/default/images/subnav.jpg
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/angle-down.png b/manager/media/style/default/images/tree/angle-down.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/angle-left.png b/manager/media/style/default/images/tree/angle-left.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/angle-right.png b/manager/media/style/default/images/tree/angle-right.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/angle-up.png b/manager/media/style/default/images/tree/angle-up.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/deletedfolder.gif b/manager/media/style/default/images/tree/deletedfolder.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/deletedfolder.png b/manager/media/style/default/images/tree/deletedfolder.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/expand.png b/manager/media/style/default/images/tree/expand.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-alt-deleted.png b/manager/media/style/default/images/tree/file-alt-deleted.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-alt-secure.png b/manager/media/style/default/images/tree/file-alt-secure.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-alt.png b/manager/media/style/default/images/tree/file-alt.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-code-secure.png b/manager/media/style/default/images/tree/file-code-secure.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-code.png b/manager/media/style/default/images/tree/file-code.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-deleted.png b/manager/media/style/default/images/tree/file-deleted.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-excel-secure.png b/manager/media/style/default/images/tree/file-excel-secure.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-excel.png b/manager/media/style/default/images/tree/file-excel.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-pdf-secure.png b/manager/media/style/default/images/tree/file-pdf-secure.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-pdf.png b/manager/media/style/default/images/tree/file-pdf.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-rss-secure.png b/manager/media/style/default/images/tree/file-rss-secure.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-rss.png b/manager/media/style/default/images/tree/file-rss.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-secure.png b/manager/media/style/default/images/tree/file-secure.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-text-alt.png b/manager/media/style/default/images/tree/file-text-alt.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-text.png b/manager/media/style/default/images/tree/file-text.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-word-secure.png b/manager/media/style/default/images/tree/file-word-secure.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file-word.png b/manager/media/style/default/images/tree/file-word.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/file.png b/manager/media/style/default/images/tree/file.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/folder-close-alt-secure.png b/manager/media/style/default/images/tree/folder-close-alt-secure.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/folder-close-alt.png b/manager/media/style/default/images/tree/folder-close-alt.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/folder-close-secure.png b/manager/media/style/default/images/tree/folder-close-secure.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/folder-close.png b/manager/media/style/default/images/tree/folder-close.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/folder-open-alt-secure.png b/manager/media/style/default/images/tree/folder-open-alt-secure.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/folder-open-alt.png b/manager/media/style/default/images/tree/folder-open-alt.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/folder-open-secure.png b/manager/media/style/default/images/tree/folder-open-secure.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/folder-open.png b/manager/media/style/default/images/tree/folder-open.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/folder.gif b/manager/media/style/default/images/tree/folder.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/globe.png b/manager/media/style/default/images/tree/globe.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/home.png b/manager/media/style/default/images/tree/home.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/info.png b/manager/media/style/default/images/tree/info.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/link.png b/manager/media/style/default/images/tree/link.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/page-html.gif b/manager/media/style/default/images/tree/page-html.gif
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/sitemap.png b/manager/media/style/default/images/tree/sitemap.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/time.png b/manager/media/style/default/images/tree/time.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/images/tree/warning-sign.png b/manager/media/style/default/images/tree/warning-sign.png
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/index.html b/manager/media/style/default/index.html
old mode 100644
new mode 100755
diff --git a/manager/media/style/default/js/color.switcher.js b/manager/media/style/default/js/color.switcher.js
new file mode 100755
index 0000000000..65b250c4d9
--- /dev/null
+++ b/manager/media/style/default/js/color.switcher.js
@@ -0,0 +1,281 @@
+//Evolution color switcher
+jQuery(document).ready(function($) {
+ //appear the evo colors switcher sidebar
+ $('.evocp-box .evocp-icon').on('click', function() {
+ $('.evocp-box').toggleClass('appear-it');
+ });
+ $('.evocp-box').attr('unselectable', 'on')
+ .css('user-select', 'none')
+ .on('selectstart', false);
+
+ //vars//
+ var bgmcolor;
+ var color;
+ var menuColor;
+ var menuHColor;
+ var alinkcolor;
+
+ // Get text color
+ var my_evo_color = localStorage.getItem('my_evo_color');
+ if (my_evo_color) {
+ color = my_evo_color;
+ setColor(color);
+ }
+ // Get alink color
+ var my_evo_alinkcolor = localStorage.getItem('my_evo_alinkcolor');
+ if (my_evo_alinkcolor) {
+ alinkcolor = my_evo_alinkcolor;
+ setalinkColor(alinkcolor);
+ }
+ // Get background menu color
+ var my_evo_bgmcolor = localStorage.getItem('my_evo_bgmcolor');
+ if (my_evo_bgmcolor) {
+ bgmcolor = my_evo_bgmcolor;
+ setBgmColor(bgmcolor);
+ }
+ // Get menu link color
+ var my_evo_menuColor = localStorage.getItem('my_evo_menuColor');
+ if (my_evo_menuColor) {
+ menuColor = my_evo_menuColor;
+ setMenuColor(menuColor);
+ }
+ // Get menu link hover color
+ var my_evo_menuHColor = localStorage.getItem('my_evo_menuHColor');
+ if (my_evo_menuHColor) {
+ menuHColor = my_evo_menuHColor;
+ setMenuHColor(menuHColor);
+ }
+
+ //Menu background part
+
+ //change elements colors
+ function setBgmColor(bgmcolor) {
+ $('[data-evocp="bgmColor"]').css('backgroundColor', bgmcolor);
+ $('#mainMenu li.item > a').mouseover(function() {
+ $(this).css('backgroundColor', bgmcolor);
+ $(this).css('color', '#fff');
+ }).mouseout(function() {
+ $(this).css('backgroundColor', '#FFF');
+ $(this).css('color', '#444');
+ });
+ }
+ //store the color value in a variable
+ $('.evocp-bgmcolor').each(function(i) {
+ $('.evocp-bgmcolor').eq(i).css('backgroundColor', $(this).text());
+ $('.evocp-bgmcolor').eq(i).on('click', function() {
+ bgmcolor = $(this).css('backgroundColor');
+ // Save the color in local storage
+ localStorage.setItem('my_evo_bgmcolor', bgmcolor);
+ $(this).addClass('colorSelected').siblings().removeClass('colorSelected');
+ });
+ });
+ //Color Picker colors
+ $('.bgmPicker .sp-top-inner').on('click', function() {
+ bgmcolor = $('.bgmcolors .sp-preview-inner').css("background-color");
+ // Save the color in local storage
+ localStorage.setItem('my_evo_bgmcolor', bgmcolor);
+ setBgmColor(bgmcolor);
+ });
+ $('.bgmPicker .sp-input').on('keydown', function() {
+ bgmcolor = $('.bgmcolors .sp-preview-inner').css("background-color");
+ // Save the color in local storage
+ localStorage.setItem('my_evo_bgmcolor', bgmcolor);
+ setBgmColor(bgmcolor);
+ });
+ //apply colors
+ $('*').on('click', function() {
+ setBgmColor(bgmcolor);
+ });
+
+ /////menu link Color part
+
+ //change elements colors
+ function setMenuColor(menucolor) {
+ $('[data-evocp="menuColor"]').css('color', menuColor);
+ $("#mainMenu:not(.show) .nav > li > a").css('color', menuColor);
+ $("#mainMenu .nav .label_searchid").css('color', menuColor);
+ $("#mainMenu.show .nav > li > a").css('color', '#444!important');
+ }
+ //store the color value in a variable
+ $('.evocp-menuColor').each(function(i) {
+ $('.evocp-menuColor').eq(i).css('backgroundColor', $(this).text());
+ $('.evocp-menuColor').eq(i).on('click', function() {
+ menuColor = $(this).css('backgroundColor');
+ // Save the color in local storage
+ localStorage.setItem('my_evo_menuColor', menuColor);
+ $(this).addClass('colorSelected').siblings().removeClass('colorSelected');
+ });
+ });
+
+ //Color Picker colors
+ $('.menucolorPicker .sp-top-inner').on('click', function() {
+ menuColor = $('.menuColors .sp-preview-inner').css("background-color");
+ // Save the color in local storage
+ localStorage.setItem('my_evo_menuColor', menuColor);
+ setMenuColor(menuColor);
+ });
+ $('.menucolorPicker .sp-input').on('keydown', function() {
+ menuColor = $('.menuColors .sp-preview-inner').css("background-color");
+ // Save the color in local storage
+ localStorage.setItem('my_evo_menuColor', menuColor);
+ setMenuColor(menuColor);
+ });
+ //apply colors
+ $('*').on('click', function() {
+ setMenuColor(menuColor);
+ });
+
+ /////menu link Hover Color
+
+ //change elements colors
+ function setMenuHColor(menuHcolor) {
+ $('[data-evocp="menuHColor"]').css('color', menuHColor);
+ $('#mainMenu .nav > li:not(.active) > a.hover').css('color', menuHColor);
+ $('[data-evocp="menuColor"].hover').css('color', menuHColor);
+
+ //$('#evo-tab-home.tab.selected').css('backgroundColor', bgcolor);
+
+ $('#mainMenu .nav > li:not(.active) > a').mouseover(function() {
+ $(this).css('color', menuHColor);
+ }).mouseout(function() {
+ $(this).css('color', menuColor);
+ });
+ $('#mainMenu .nav .label_searchid').mouseover(function() {
+ $(this).css('color', menuHColor);
+ }).mouseout(function() {
+ $(this).css('color', menuColor);
+ });
+ $('#mainMenu .nav > li.active > a').css('color', menuHColor);
+ //#mainMenu.show .nav > li.dropdown.hover > a
+ //$('#bgPicker').val('bgcolor');
+ }
+ //store the color value in a variable
+ $('.evocp-menuHColor').each(function(i) {
+ $('.evocp-menuHColor').eq(i).css('backgroundColor', $(this).text());
+ $('.evocp-menuHColor').eq(i).on('click', function() {
+ menuHColor = $(this).css('backgroundColor');
+ // Save the color in local storage
+ localStorage.setItem('my_evo_menuHColor', menuHColor);
+ $(this).addClass('colorSelected').siblings().removeClass('colorSelected');
+ });
+ });
+
+ //Color Picker colors
+ $('.menuHcolorPicker .sp-top-inner').on('click', function() {
+ menuHColor = $('.menuHColors .sp-preview-inner').css("background-color");
+ // Save the color in local storage
+ localStorage.setItem('my_evo_menuHColor', menuHColor);
+ setMenuHColor(menuHColor);
+ });
+ $('.menuHcolorPicker .sp-input').on('keydown', function() {
+ menuHColor = $('.menuHColors .sp-preview-inner').css("background-color");
+ // Save the color in local storage
+ localStorage.setItem('my_evo_menuHColor', menuHColor);
+ setMenuHColor(menuHColor);
+ });
+ //apply colors
+ $('*').on('click', function() {
+ setMenuHColor(menuHColor);
+ });
+
+ ///// Body Links color
+ //change elements colors
+ function setalinkColor(alinkcolor) {
+ $('[data-evocp="alinkcolor"]').css('color', alinkcolor);
+ //need fix and move to dedicated tree panel
+ // $('body:not(.dark) #treeRoot a:not(.deleted):not(.unpublished):not(.hidemenu) .title').css('color', alinkcolor);
+ // $('body #treeRoot a:not(.deleted):not(.unpublished):not(.hidemenu) .title').css('color', alinkcolor);
+ $('.container-body a:not(.btn)').css('color', alinkcolor);
+ }
+ //store the color value in a variable
+ $('.evocp-alinkcolor').each(function(i) {
+ $('.evocp-alinkcolor').eq(i).css('backgroundColor', $(this).text());
+ $('.evocp-alinkcolor').eq(i).on('click', function() {
+ alinkcolor = $(this).css('backgroundColor');
+ window.main.location.reload();
+ // Save the color in local storage
+ localStorage.setItem('my_evo_alinkcolor', alinkcolor);
+ $(this).addClass('colorSelected').siblings().removeClass('colorSelected');
+ });
+ });
+ //Color Picker colors
+ $('.linkcolorPicker .sp-top-inner').on('click', function() {
+ alinkcolor = $('.alinkcolors .sp-preview-inner').css("background-color");
+ // Save the color in local storage
+ localStorage.setItem('my_evo_alinkcolor', alinkcolor);
+ setalinkColor(alinkcolor);
+ window.main.location.reload();
+ });
+ $('.linkcolorPicker .sp-input').on('keydown', function() {
+ alinkcolor = $('.alinkcolors .sp-preview-inner').css("background-color");
+ // Save the color in local storage
+ localStorage.setItem('my_evo_alinkcolor', alinkcolor);
+ setalinkColor(alinkcolor);
+ window.main.location.reload();
+ });
+ //apply colors
+ $('*').on('click', function() {
+ setalinkColor(alinkcolor);
+ });
+
+ /////Body text color
+ //change elements colors
+ function setColor(color) {
+ $('[data-evocp="color"]').css('color', color);
+ $('[data-evocp="borderColor"]').css('border-color', color);
+ $('h1 .fa:not(.help)').css('color', color);
+ }
+ //store the color value in a variable
+ $('.evocp-color').each(function(i) {
+ $('.evocp-color').eq(i).css('backgroundColor', $(this).text());
+ $('.evocp-color').eq(i).on('click', function() {
+ color = $(this).css('backgroundColor');
+ window.main.location.reload();
+ // Save the color in local storage
+ localStorage.setItem('my_evo_color', color);
+ $(this).addClass('colorSelected').siblings().removeClass('colorSelected');
+ //alert("Text color is " + color);
+
+ });
+ });
+
+ //custom colors
+ $('.textcolorPicker .sp-top-inner').on('click', function() {
+ color = $('.cpcolors .sp-preview-inner').css("background-color");
+ // Save the color in local storage
+ localStorage.setItem('my_evo_color', color);
+ setColor(color);
+ window.main.location.reload();
+ });
+
+ //apply colors
+ $('*').on('click', function() {
+ setColor(color);
+ });
+
+
+////close document ready
+});
+//clear Local Storage and reload only main frame
+function cleanLocalStorageReloadMain(keys) {
+ keys = keys.split(',');
+ for (var i = 0; i < keys.length; i++) {
+ delete localStorage[keys[i]];
+ }
+ window.main.location.reload();
+}
+//clear Local Storage and reload all frames
+function cleanLocalStorageReloadAll(keys) {
+ keys = keys.split(',');
+ for (var i = 0; i < keys.length; i++) {
+ delete localStorage[keys[i]];
+ }
+ location.reload();
+}
+//toggle chevron icon
+jQuery(document).on('click', '.panel-heading h3', function(e) {
+ var $this = $(this);
+ icon = $(this).find("i.togglearrow");
+ icon.toggleClass("fa-chevron-right fa-chevron-down")
+
+})
diff --git a/manager/media/style/default/js/modx.js b/manager/media/style/default/js/modx.js
old mode 100644
new mode 100755
index f38072d480..89741f056d
--- a/manager/media/style/default/js/modx.js
+++ b/manager/media/style/default/js/modx.js
@@ -1,1583 +1,2498 @@
-(function($, w, d, u) {
- 'use strict';
- modx.extended({
- frameset: 'frameset',
- minWidth: 840,
- isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),
- init: function() {
- if(!localStorage.getItem('MODX_widthSideBar')) {
- localStorage.setItem('MODX_widthSideBar', this.config.tree_width)
- }
- this.tree.init();
- this.mainMenu.init();
- if(w.location.hash) {
- w.main.frameElement.contentWindow.location = 'index.php' + w.location.hash.substring(1)
- }
- this.resizer.init();
- this.search.init();
- this.setLastClickedElement(0, 0);
- if(this.config.session_timeout > 0) {
- w.setInterval(this.keepMeAlive, 1000 * 60 * this.config.session_timeout);
- }
- if(modx.config.mail_check_timeperiod > 0 && modx.permission.messages) {
- setTimeout('modx.updateMail(true)', 1000)
- }
- d.onclick = this.hideDropDown
- },
- mainMenu: {
- id: 'mainMenu',
- init: function() {
- //console.log('modx.mainMenu.init()');
- var $mm = $('#mainMenu'), timer;
- $mm.on('click', 'a', function(e) {
- if($(this).hasClass('dropdown-toggle')) {
- if($mm.hasClass('show') && ($(this).hasClass('selected') || (!modx.isMobile && $(this).parent().hasClass('hover')))) {
- $(this).removeClass('selected');
- $mm.removeClass('show')
- } else {
- $('.nav > li > a:not(:hover)').removeClass('selected');
- $(this).addClass('selected');
- $mm.addClass('show')
- }
- e.target.dataset.toggle = '#mainMenu'
- }
- if($(this).closest('ul').hasClass('dropdown-menu')) {
- $('.nav > .active').removeClass('active');
- $('.nav li.selected').removeClass('selected');
- $(this).closest('.nav > li').addClass('active');
- $(this).parent().addClass('selected');
- if(this.offsetParent.id) {
- $('#' + this.offsetParent.id.substr(7)).addClass('selected')
- }
- }
- }).on('mouseenter', '.nav > li', function(e) {
- $('.nav > li.hover:not(:hover)').removeClass('hover');
- $(this).addClass('hover')
- }).on('mouseenter', '.nav > li li', function(e) {
- var self = this, ul;
- $('.nav > li li.hover:not(:hover)').removeClass('hover');
- $(this).addClass('hover');
- clearTimeout(timer);
- if($(this).closest('.nav > li').find('.sub-menu').length) {
- ul = $(this).closest('.nav > li').find('.sub-menu').get(0)
- } else {
- ul = $('').get(0);
- $(this).closest('.nav > li').append(ul)
- }
- timer = setTimeout(function() {
- $('.nav .sub-menu.show').removeClass('show');
- if($(self).hasClass('toggle-dropdown')) {
- if(ul.id === 'parent_' + self.id) {
- $(ul).addClass('show')
- } else {
- $(ul).removeClass('show');
- timer = setTimeout(function() {
- var href = $('a', self).attr('href') && $('a', self).attr('target') === 'main' ? $('a', self).attr('href').split('?')[1] + '&elements=' + self.id : '';
- $.post(modx.MODX_SITE_URL + modx.MGR_DIR + '/media/style/' + modx.config.theme + '/ajax.php', href, function(data) {
- if(data) {
- $(ul).attr('id', 'parent_' + self.id).html(data);
- var id = w.location.hash.substr(2).replace(/=/g, '_').replace(/&/g, '__');
- if(w.location.hash) {
- var el = d.getElementById(id);
- if(el) {
- el.parentNode.classList.add('selected');
- d.getElementById(el.parentNode.parentNode.id.substr(7)).classList.add('selected')
- }
- $('li', ul).on('mouseenter', function(e) {
- clearTimeout(timer);
- $('.nav > li li.hover:not(:hover)').removeClass('hover');
- $(this).addClass('hover');
- $(self).addClass('hover');
- e.preventDefault();
- e.stopPropagation()
- });
- $(ul).addClass('show');
- setTimeout(function() {
- modx.mainMenu.search(href, ul)
- }, 200)
- }
- }
- }, 'html')
- }, 85)
- }
- } else {
- if($(ul).hasClass('open')) {
- $(ul).removeClass('open');
- setTimeout(function() {
- $(ul).remove()
- }, 100)
- }
- }
- }, 85);
- e.preventDefault()
- })
- },
- search: function(href, ul) {
- var items,
- input = ul.querySelector('input[name=filter]'),
- index = -1;
- if(input) {
- input.focus();
- input.onkeyup = function(e) {
- if(e.keyCode === 13 && ul.querySelector('.item.hover')) {
- d.body.click();
- w.main.location.href = ul.querySelector('.item.hover').firstChild.href;
- } else if(e.keyCode == 38 || e.keyCode == 40) {
- input.selectionStart = input.value.length;
- items = ul.querySelectorAll('.item');
- if(items.length) {
- if(e.keyCode == 40) index++;
- else index--;
- if(index < 0) {
- index = -1;
- var el = ul.querySelector('.hover');
- if(el) el.classList.remove('hover');
- } else if(index > items.length - 1) {
- index = items.length - 1
- }
- if(index >= 0 && index < items.length) {
- el = ul.querySelector('.hover');
- if(el) el.classList.remove('hover');
- items[index].classList.add('hover');
- }
- }
- } else {
- $.post(modx.MODX_SITE_URL + modx.MGR_DIR + '/media/style/' + modx.config.theme + '/ajax.php', href + '&filter=' + input.value, function(data) {
- index = -1;
- $('.item', ul).remove();
- $(ul).append(data).on('mouseenter', '.item', function(e) {
- $(this).addClass('hover').closest('ul').find('li:not(:hover)').removeClass('hover');
- e.stopPropagation()
- })
- }, 'html')
- }
- }
- }
- }
- },
- search: {
- id: 'searchform',
- idResult: 'searchresult',
- idInput: 'searchid',
- classResult: 'ajaxSearchResults',
- classMask: 'mask',
- timer: 0,
- init: function() {
- this.result = d.getElementById(this.idResult);
- var t = this,
- el = d.getElementById(this.idInput),
- r = d.createElement('i');
- r.className = 'fa fa-refresh fa-spin fa-fw';
- el.parentNode.appendChild(r);
- el.onkeyup = function(e) {
- e.preventDefault();
- clearTimeout(t.timer);
- if(el.value.length !== '' && el.value.length > 2) {
- t.timer = setTimeout(function() {
- var xhr = modx.XHR();
- xhr.open('GET', 'index.php?a=71&ajax=1&submitok=Search&searchid=' + el.value, true);
- xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
- xhr.onload = function() {
- if(this.status === 200) {
- r.style.display = 'none';
- var div = d.createElement('div');
- div.innerHTML = this.responseText;
- var o = div.getElementsByClassName(t.classResult)[0];
- if(o) {
- if(o.innerHTML !== '') {
- t.result.innerHTML = o.outerHTML;
- t.open();
- t.result.onclick = function(e) {
- if(e.target.tagName === 'I') {
- modx.openWindow({
- title: e.target.parentNode.innerText,
- id: e.target.parentNode.id,
- url: e.target.parentNode.href
- });
- return false
- }
- var p = (e.target.tagName === 'A' && e.target) || e.target.parentNode;
- if(p.tagName === 'A') {
- var el = t.result.querySelector('.selected');
- if(el) el.className = '';
- p.className = 'selected';
- if(modx.isMobile) t.close()
- }
- }
- } else {
- t.empty()
- }
- } else {
- t.empty()
- }
- }
- };
- xhr.onloadstart = function() {
- r.style.display = 'block'
- };
- xhr.onerror = function() {
- console.warn(this.status)
- };
- xhr.send()
- }, 300)
- } else {
- t.empty()
- }
- };
- if(modx.isMobile) {
- el.onblur = function() {
- t.close()
- }
- }
- el.onfocus = function() {
- t.open()
- };
- el.onclick = function() {
- t.open()
- };
- el.onmouseenter = function() {
- t.open()
- };
- this.result.onmouseover = function() {
- t.open()
- };
- this.result.onmouseout = function() {
- t.close()
- };
- d.getElementById(this.id).getElementsByClassName(this.classMask)[0].onmouseenter = function() {
- t.open()
- };
- d.getElementById(this.id).getElementsByClassName(this.classMask)[0].onmouseout = function() {
- t.close()
- }
- },
- open: function() {
- if(this.result.getElementsByClassName(this.classResult)[0]) {
- this.result.classList.add('open')
- }
- },
- close: function() {
- this.result.classList.remove('open')
- },
- empty: function() {
- this.result.classList.remove('open');
- this.result.innerHTML = ''
- }
- },
- main: {
- id: 'main',
- idFrame: 'mainframe',
- as: null,
- onbeforeonload: function() {
- },
- onload: function() {
- w.onerror = function() {
- if(confirm(modx.lang.cm_unknown_error) === true) {
- d.getElementById('mainloader').classList.remove('show')
- }
- };
- this.tabRow.init();
- this.stopWork();
- this.scrollWork();
- w.main.onclick = modx.hideDropDown;
- w.main.oncontextmenu = this.oncontextmenu;
- w.history.replaceState(null, null, '#' + w.main.frameElement.contentWindow.location.search)
- //w.location.hash = w.main.frameElement.contentWindow.location.search;
- },
- oncontextmenu: function(e) {
- if(e.ctrlKey) return;
- var el = e.target;
- if(/modxtv|modxplaceholder|modxattributevalue|modxchunk|modxsnippet|modxsnippetnocache/i.test(el.className)) {
- var id = Date.now(),
- name = el.innerText.replace(/[\[|\]|{|}|\*||\#|\+|?|\!|&|=|`]/g, ''),
- type = el.className.replace(/cm-modx/, ''),
- n = !!name.replace(/^\d+$/, '');
- if(name && n) {
- e.preventDefault();
- modx.post(modx.MODX_SITE_URL + modx.MGR_DIR + '/media/style/' + modx.config.theme + '/ajax.php', {
- a: 'modxTagHelper',
- name: name,
- type: type
- }, function(r) {
- if(r) {
- el.id = 'node' + id;
- el.dataset.contextmenu = r;
- modx.tree.showPopup(e, id, name)
- }
- })
- }
- e.preventDefault()
- }
- },
- tabRow: {
- init: function() {
- var row = w.main.document.querySelector('.tab-pane > .tab-row');
- if(row) this.build(row);
- },
- build: function(row) {
- var rowContainer = d.createElement('div'),
- sel = row.querySelector('.selected');
- rowContainer.className = 'tab-row-container';
- row.parentNode.insertBefore(rowContainer, row);
- rowContainer.appendChild(row);
- var p = d.createElement('i');
- p.className = 'fa fa-angle-left prev disable';
- p.onclick = function(e) {
- e.stopPropagation();
- e.preventDefault();
- var sel = row.querySelector('.selected');
- if(sel.previousSibling) {
- sel.previousSibling.click();
- modx.main.tabRow.scroll(row)
- }
- };
- rowContainer.appendChild(p);
- var n = d.createElement('i');
- n.className = 'fa fa-angle-right next disable';
- n.onclick = function(e) {
- e.stopPropagation();
- e.preventDefault();
- var sel = row.querySelector('.selected');
- if(sel.nextSibling) {
- sel.nextSibling.click();
- modx.main.tabRow.scroll(row)
- }
- };
- rowContainer.appendChild(n);
- setTimeout(function() {
- sel = row.querySelector('.selected');
- modx.main.tabRow.scroll(row, sel);
- w.main.onresize = function() {
- modx.main.tabRow.scroll(row);
- };
- if(sel) {
- if(sel.previousSibling) p.classList.remove('disable');
- if(sel.nextSibling) n.classList.remove('disable');
- }
- }, 100);
- row.onclick = function(e) {
- var sel = e.target.tagName === 'H2' ? e.target : (e.target.tagName === 'SPAN' ? e.target.parentNode : null);
- if(sel) {
- if(sel.previousSibling) this.parentNode.querySelector('i.prev').classList.remove('disable');
- else this.parentNode.querySelector('i.prev').classList.add('disable');
- if(sel.nextSibling) this.parentNode.querySelector('i.next').classList.remove('disable');
- else this.parentNode.querySelector('i.next').classList.add('disable');
- modx.main.tabRow.scroll(this, sel)
- }
- }
- },
- scroll: function(row, sel) {
- sel = sel || row.querySelector('.selected') || row.firstChild
- var c = 0,
- elms = row.childNodes,
- p = row.offsetParent.querySelector('.prev'),
- n = row.offsetParent.querySelector('.next');
- for(var i = 0; i < elms.length; i++) c += elms[i].offsetWidth;
- if(row.scrollLeft > sel.offsetLeft) {
- $(row).animate({
- scrollLeft: sel.offsetLeft - (sel.previousSibling ? 30 : 1)
- }, 100)
- }
- if(sel.offsetLeft + sel.offsetWidth > row.offsetWidth + row.scrollLeft) {
- $(row).animate({
- scrollLeft: (sel.offsetLeft - row.offsetWidth + sel.offsetWidth) + (sel.nextSibling ? 30 : 0)
- }, 100)
- }
- if(c > row.offsetWidth) {
- this.drag(row)
- }
- },
- drag: function(row) {
- row.onmousedown = function(e) {
- if(e.button === 0) {
- e.preventDefault();
- var x = e.clientX,
- f = row.scrollLeft;
- w.main.document.body.focus();
- this.onmousemove = w.main.document.onmousemove = function(e) {
- if(Math.abs(e.clientX - x) > 5) {
- e.stopPropagation();
- row.scrollLeft = f - (e.clientX - x);
- w.main.document.body.classList.add('drag')
- }
- };
- this.onmouseup = w.main.document.onmouseup = function(e) {
- e.stopPropagation();
- row.onmousemove = null;
- w.main.document.onmousemove = null;
- w.main.document.body.classList.remove('drag')
- }
- }
- }
- }
- },
- work: function() {
- d.getElementById('mainloader').classList.add('show')
- },
- stopWork: function() {
- d.getElementById('mainloader').classList.remove('show')
- },
- scrollWork: function() {
- var a = w.main.frameElement.contentWindow,
- b = localStorage.getItem('page_y'),
- c = localStorage.getItem('page_url');
- if(b === u) {
- localStorage.setItem('page_y', 0)
- }
- if(c === null) {
- c = a.location.search.substring(1)
- }
- if((modx.main.getQueryVariable('a', c) === modx.main.getQueryVariable('a', a.location.search.substring(1))) && (modx.main.getQueryVariable('id', c) === modx.main.getQueryVariable('id', a.location.search.substring(1)))) {
- a.scrollTo(0, b)
- }
- a.onscroll = function() {
- if(a.pageYOffset > 0) {
- localStorage.setItem('page_y', a.pageYOffset);
- localStorage.setItem('page_url', a.location.search.substring(1))
- }
- }
- },
- getQueryVariable: function(v, q) {
- var vars = q.split('&');
- for(var i = 0; i < vars.length; i++) {
- var p = vars[i].split('=');
- if(decodeURIComponent(p[0]) === v) {
- return decodeURIComponent(p[1])
- }
- }
- }
- },
- resizer: {
- dragElement: null,
- oldZIndex: 99,
- newZIndex: 999,
- left: modx.config.tree_width,
- id: 'resizer',
- switcher: 'hideMenu',
- background: 'rgba(0, 0, 0, 0.1)',
- mask: null,
- init: function() {
- modx.resizer.mask = d.createElement('div');
- modx.resizer.mask.id = 'mask_resizer';
- modx.resizer.mask.style.zIndex = modx.resizer.oldZIndex;
- d.getElementById(modx.resizer.id).onmousedown = modx.resizer.onMouseDown;
- d.getElementById(modx.resizer.id).onmouseup = modx.resizer.mask.onmouseup = modx.resizer.onMouseUp;
- if(modx.isMobile) {
- var x, y, tree = d.getElementById('tree'), h = tree.offsetWidth;
- d.getElementById('frameset').appendChild(modx.resizer.mask);
- w.addEventListener('touchstart', function(e) {
- x = e.changedTouches[0].clientX;
- y = e.changedTouches[0].clientY;
- this.swipe = '';
- this.sidebar = !d.body.classList.contains('sidebar-closed');
- }, false);
- w.addEventListener('touchmove', function(e) {
- var touch = e.changedTouches[0];
- tree.style.transition = 'none';
- tree.style.WebkitTransition = 'none';
- modx.resizer.mask.style.transition = 'none';
- modx.resizer.mask.style.WebkitTransition = 'none';
- modx.resizer.mask.style.visibility = 'visible';
- var ax = touch.clientX - x;
- var ay = touch.clientY - y;
- if(Math.abs(ax) > Math.abs(ay)) {
- if(ax < 0 && this.sidebar) {
- if(Math.abs(ax) > h) ax = -h;
- tree.style.transform = 'translate3d(' + ax + 'px, 0, 0)';
- tree.style.WebkitTransform = 'translate3d(' + ax + 'px, 0, 0)';
- modx.resizer.mask.style.opacity = (0.5 - (0.5 / -h) * ax).toFixed(2);
- if(Math.abs(ax) > h / 3) this.swipe = 'left'
- else this.swipe = 'right'
- } else if(ax > 0 && !this.sidebar) {
- if(Math.abs(ax) > h) ax = h;
- tree.style.transform = 'translate3d(' + -(h - ax) + 'px, 0, 0)';
- tree.style.WebkitTransform = 'translate3d(' + -(h - ax) + 'px, 0, 0)';
- modx.resizer.mask.style.opacity = ((0.5 / h) * ax).toFixed(2);
- if(Math.abs(ax) > h / 3) this.swipe = 'right'
- else this.swipe = 'left'
- }
- }
- }, false);
- w.addEventListener('touchend', function(e) {
- if(this.swipe === 'left') {
- d.body.classList.add('sidebar-closed');
- modx.resizer.setWidth(0)
- }
- if(this.swipe === 'right') {
- d.body.classList.remove('sidebar-closed');
- modx.resizer.setWidth(h)
- }
- tree.style.cssText = '';
- modx.resizer.mask.style.cssText = '';
- }, false)
- }
- },
- onMouseDown: function(e) {
- e = e || w.event;
- modx.resizer.dragElement = e.target !== null ? e.target : e.srcElement;
- if((e.buttons === 1 || e.button === 0) && modx.resizer.dragElement.id === modx.resizer.id) {
- modx.resizer.oldZIndex = modx.resizer.dragElement.style.zIndex;
- modx.resizer.dragElement.style.zIndex = modx.resizer.newZIndex;
- modx.resizer.dragElement.style.background = modx.resizer.background;
- localStorage.setItem('MODX_widthSideBar', (modx.resizer.dragElement.offsetLeft > 0 ? modx.resizer.dragElement.offsetLeft : 0));
- d.body.appendChild(modx.resizer.mask);
- d.onmousemove = modx.resizer.onMouseMove;
- d.body.focus();
- d.body.classList.add('resizer_move');
- d.onselectstart = function() {
- return false
- };
- modx.resizer.dragElement.ondragstart = function() {
- return false
- };
- return false
- }
- },
- onMouseMove: function(e) {
- e = e || w.event;
- if(e.clientX > 0) {
- modx.resizer.left = e.clientX
- } else {
- modx.resizer.left = 0
- }
- modx.resizer.dragElement.style.left = modx.pxToRem(modx.resizer.left) + 'rem';
- d.getElementById('tree').style.width = modx.pxToRem(modx.resizer.left) + 'rem';
- d.getElementById('main').style.left = modx.pxToRem(modx.resizer.left) + 'rem';
- if(e.clientX < -2 || e.clientY < -2) {
- modx.resizer.onMouseUp(e)
- }
- },
- onMouseUp: function(e) {
- if(modx.resizer.dragElement !== null && e.button === 0 && modx.resizer.dragElement.id === modx.resizer.id) {
- if(e.clientX > 0) {
- d.body.classList.remove('sidebar-closed');
- modx.resizer.left = e.clientX
- } else {
- d.body.classList.add('sidebar-closed');
- modx.resizer.left = 0
- }
- d.cookie = 'MODX_widthSideBar=' + modx.pxToRem(modx.resizer.left);
- modx.resizer.dragElement.style.zIndex = modx.resizer.oldZIndex;
- modx.resizer.dragElement.style.background = '';
- modx.resizer.dragElement.ondragstart = null;
- modx.resizer.dragElement = null;
- d.body.classList.remove('resizer_move');
- d.body.removeChild(modx.resizer.mask);
- d.onmousemove = null;
- d.onselectstart = null
- }
- },
- toggle: function() {
- if(modx.isMobile || w.innerWidth <= modx.minWidth) {
- if(d.body.classList.contains('sidebar-closed')) {
- d.body.classList.remove('sidebar-closed');
- localStorage.setItem('MODX_widthSideBar', 0);
- d.cookie = 'MODX_widthSideBar=' + modx.pxToRem(parseInt(d.getElementById('tree').offsetWidth))
- } else {
- localStorage.setItem('MODX_widthSideBar', parseInt(d.getElementById('tree').offsetWidth));
- d.body.classList.add('sidebar-closed');
- d.cookie = 'MODX_widthSideBar=0'
- }
- } else {
- var p = d.getElementById('tree').offsetWidth !== 0 ? 0 : (parseInt(localStorage.getItem('MODX_widthSideBar')) ? parseInt(localStorage.getItem('MODX_widthSideBar')) : modx.config.tree_width);
- modx.resizer.setWidth(p)
- }
- },
- setWidth: function(a) {
- if(a > 0) {
- localStorage.setItem('MODX_widthSideBar', 0);
- d.body.classList.remove('sidebar-closed')
- } else {
- localStorage.setItem('MODX_widthSideBar', parseInt(d.getElementById('tree').offsetWidth));
- d.body.classList.add('sidebar-closed')
- }
- d.cookie = 'MODX_widthSideBar=' + modx.pxToRem(a);
- d.getElementById('tree').style.width = modx.pxToRem(a) + 'rem';
- d.getElementById('resizer').style.left = modx.pxToRem(a) + 'rem';
- d.getElementById('main').style.left = modx.pxToRem(a) + 'rem'
- },
- setDefaultWidth: function() {
- modx.resizer.setWidth(modx.remToPx(modx.config.tree_width))
- }
- },
- tree: {
- ctx: null,
- rpcNode: null,
- itemToChange: null,
- selectedObjectName: null,
- selectedObject: 0,
- selectedObjectDeleted: 0,
- selectedObjectUrl: '',
- drag: false,
- init: function() {
- this.restoreTree()
- },
- draggable: function() {
- if(modx.permission.dragndropdocintree) {
- var els = d.querySelectorAll('#treeRoot a:not(.empty)');
- for(var i = 0; i < els.length; i++) {
- els[i].onmousedown = this.onmousedown;
- els[i].ondragstart = this.ondragstart;
- els[i].ondragenter = this.ondragenter;
- els[i].ondragover = this.ondragover;
- els[i].ondragleave = this.ondragleave;
- els[i].ondrop = this.ondrop;
- }
- }
- },
- onmousedown: function(e) {
- if(e.ctrlKey) {
- this.parentNode.removeAttribute('draggable');
- return;
- } else {
- var roles = this.dataset.roles + (this.parentNode.parentNode.id !== 'treeRoot' ? this.parentNode.parentNode.previousSibling.dataset.roles : '');
- var draggable = (roles && modx.user.role !== 1 ? (roles.split(",").map(Number).indexOf(modx.user.role) > -1) : true);
- if(draggable) {
- this.parentNode.draggable = true;
- modx.tree.itemToChange = this.parentNode.id;
- this.parentNode.ondragstart = modx.tree.ondragstart
- } else {
- this.parentNode.draggable = false;
- this.parentNode.ondragstart = function() {
- return false
- }
- }
- }
- },
- ondragstart: function(e) {
- e.dataTransfer.effectAllowed = "all";
- e.dataTransfer.dropEffect = "all";
- e.dataTransfer.setData("text", this.id.substr(4));
- },
- ondragenter: function(e) {
- if(d.getElementById(modx.tree.itemToChange) === (this.parentNode.closest('#' + modx.tree.itemToChange) || this.parentNode)) {
- this.parentNode.className = '';
- e.dataTransfer.effectAllowed = "none";
- e.dataTransfer.dropEffect = "none";
- modx.tree.drag = false;
- } else {
- this.parentNode.className = 'dragenter';
- e.dataTransfer.effectAllowed = "copy";
- e.dataTransfer.dropEffect = "copy";
- modx.tree.drag = true;
- }
- e.preventDefault();
- },
- ondragover: function(e) {
- if(modx.tree.drag) {
- var a = e.clientY;
- var b = parseInt(this.getBoundingClientRect().top);
- var c = (a - b);
- if(c > this.offsetHeight / 1.51) {
- //this.parentNode.className = 'dragafter';
- this.parentNode.classList.add('dragafter');
- this.parentNode.classList.remove('dragbefore');
- this.parentNode.classList.remove('dragenter');
- e.dataTransfer.effectAllowed = "link";
- e.dataTransfer.dropEffect = "link";
- } else if(c < this.offsetHeight / 3) {
- //this.parentNode.className = 'dragbefore';
- this.parentNode.classList.add('dragbefore');
- this.parentNode.classList.remove('dragafter');
- this.parentNode.classList.remove('dragenter');
- e.dataTransfer.effectAllowed = "link";
- e.dataTransfer.dropEffect = "link";
- } else {
- //this.parentNode.className = 'dragenter';
- this.parentNode.classList.add('dragenter');
- this.parentNode.classList.remove('dragafter');
- this.parentNode.classList.remove('dragbefore');
- e.dataTransfer.effectAllowed = "copy";
- e.dataTransfer.dropEffect = "copy";
- }
- } else {
- e.dataTransfer.effectAllowed = "none";
- e.dataTransfer.dropEffect = "none";
- modx.tree.drag = false;
- }
- e.preventDefault()
- },
- ondragleave: function(e) {
- this.parentNode.className = '';
- this.parentNode.removeAttribute('draggable');
- e.preventDefault()
- },
- ondrop: function(e) {
- var el = d.getElementById(modx.tree.itemToChange),
- els = null,
- id = modx.tree.itemToChange.substr(4),
- parent = 0,
- menuindex = [],
- level = 0,
- indent = el.firstChild.querySelector('.indent'),
- i = 0;
- indent.innerHTML = '';
- el.removeAttribute('draggable');
- if(this.parentNode.classList.contains('dragenter')) {
- parent = parseInt(this.parentNode.id.substr(4));
- level = parseInt(this.dataset.level) + 1;
- for(i = 0; i < level; i++) indent.innerHTML += '
';
- if(this.nextSibling) {
- if(this.nextSibling.innerHTML) {
- this.nextSibling.appendChild(el)
- } else {
- el.parentNode.removeChild(el)
- }
- els = this.parentNode.lastChild.children;
- for(i = 0; i < els.length; i++) menuindex[i] = els[i].id.substr(4);
- } else {
- el.parentNode.removeChild(el);
- d.querySelector('#node' + parent + ' .icon').innerHTML = (parseInt(this.dataset.private) ? modx.style.tree_folder_secure : modx.style.tree_folder)
- }
- modx.tree.ondragupdate(this, id, parent, menuindex)
- }
- if(this.parentNode.classList.contains('dragafter')) {
- parent = /node/.test(this.parentNode.parentNode.parentNode.id) ? parseInt(this.parentNode.parentNode.parentNode.id.substr(4)) : 0;
- level = parseInt(this.dataset.level);
- for(i = 0; i < level; i++) indent.innerHTML += '
';
- this.parentNode.parentNode.insertBefore(el, this.parentNode.nextSibling);
- els = this.parentNode.parentNode.children;
- for(i = 0; i < els.length; i++) menuindex[i] = els[i].id.substr(4);
- modx.tree.ondragupdate(this, id, parent, menuindex)
- }
- if(this.parentNode.classList.contains('dragbefore')) {
- parent = /node/.test(this.parentNode.parentNode.parentNode.id) ? parseInt(this.parentNode.parentNode.parentNode.id.substr(4)) : 0;
- level = parseInt(this.dataset.level);
- for(i = 0; i < level; i++) indent.innerHTML += '
';
- this.parentNode.parentNode.insertBefore(el, this.parentNode);
- els = this.parentNode.parentNode.children;
- for(i = 0; i < els.length; i++) menuindex[i] = els[i].id.substr(4);
- modx.tree.ondragupdate(this, id, parent, menuindex)
- }
- this.parentNode.removeAttribute('class');
- this.parentNode.removeAttribute('draggable');
- e.preventDefault();
- },
- ondragupdate: function(a, id, parent, menuindex) {
- var roles = a.dataset.roles + (a.parentNode.parentNode.id !== 'treeRoot' ? a.parentNode.parentNode.previousSibling.dataset.roles : '');
- if(!(roles && modx.user.role !== 1 ? (roles.split(",").map(Number).indexOf(modx.user.role) > -1) : true)) {
- alert(modx.lang.error_no_privileges);
- modx.tree.restoreTree();
- return;
- }
- modx.post(modx.MODX_SITE_URL + modx.MGR_DIR + '/media/style/' + modx.config.theme + '/ajax.php', {
- a: 'movedocument',
- id: id,
- parent: parent,
- menuindex: menuindex
- }, function(r) {
- if(r.errors) alert(r.errors);
- modx.tree.restoreTree();
- }, 'json');
- var b = w.main.frameElement.contentWindow.location.search.substr(1);
- if(parseInt(modx.main.getQueryVariable('a', b)) === 27 && parseInt(modx.main.getQueryVariable('id', b)) === parseInt(id)) {
- var index = menuindex.indexOf(id),
- elMenuIndex = w.main.document.querySelector('#documentPane input[name=menuindex]'),
- elParent = w.main.document.querySelector('#documentPane input[name=parent]'),
- elParentName = w.main.document.querySelector('#documentPane #parentName');
- if(elMenuIndex && index >= 0) elMenuIndex.value = index;
- if(elParent && elParentName) {
- elParent.value = parent;
- elParentName.innerHTML = parent + ' (' + d.querySelector('#node' + parent + ' > a').dataset.titleEsc + ')'
- }
- }
- },
- toggleTheme: function(e) {
- var myCodeMirrors = w.main.myCodeMirrors, key;
- if(d.body.classList.contains('dark')) {
- d.body.classList.remove('dark');
- w.main.document.body.classList.remove('dark');
- d.cookie = 'MODX_themeColor=';
- if(myCodeMirrors) {
- for(key in myCodeMirrors) {
- if(myCodeMirrors.hasOwnProperty(key)) {
- w.main.document.getElementsByName(key)[0].nextElementSibling.classList.remove('cm-s-' + myCodeMirrors[key].options.darktheme)
- w.main.document.getElementsByName(key)[0].nextElementSibling.classList.add('cm-s-' + myCodeMirrors[key].options.defaulttheme)
- }
- }
- }
- } else {
- d.body.classList.add('dark');
- w.main.document.body.classList.add('dark');
- d.cookie = 'MODX_themeColor=dark';
- if(myCodeMirrors) {
- for(key in myCodeMirrors) {
- if(myCodeMirrors.hasOwnProperty(key)) {
- w.main.document.getElementsByName(key)[0].nextElementSibling.classList.add('cm-s-' + myCodeMirrors[key].options.darktheme)
- w.main.document.getElementsByName(key)[0].nextElementSibling.classList.remove('cm-s-' + myCodeMirrors[key].options.defaulttheme)
- }
- }
- }
- }
- },
- toggleNode: function(e, id) {
- e = e || w.event;
- if(e.ctrlKey) return;
- e.stopPropagation();
- var el = d.getElementById('node' + id).firstChild;
- this.rpcNode = el.nextSibling;
- var toggle = el.querySelector('.toggle'),
- icon = el.querySelector('.icon');
- if(this.rpcNode.innerHTML === '') {
- if(toggle) toggle.innerHTML = el.dataset.iconCollapsed;
- icon.innerHTML = el.dataset.iconFolderOpen;
- var rpcNodeText = this.rpcNode.innerHTML,
- loadText = modx.lang.loading_doc_tree;
- modx.openedArray[id] = 1;
- if(rpcNodeText === "" || rpcNodeText.indexOf(loadText) > 0) {
- var folderState = this.getFolderState();
- d.getElementById('treeloader').classList.add('visible');
- modx.get('index.php?a=1&f=nodes&indent=' + el.dataset.indent + '&parent=' + id + '&expandAll=' + el.dataset.expandall + folderState, function(r) {
- modx.tree.rpcLoadData(r);
- modx.tree.draggable()
- })
- }
- this.saveFolderState()
- } else {
- if(toggle) toggle.innerHTML = el.dataset.iconExpanded;
- icon.innerHTML = el.dataset.iconFolderClose;
- delete modx.openedArray[id];
- this.rpcNode.style.overflow = 'hidden';
- $(this.rpcNode.firstChild).animate({
- marginTop: -this.rpcNode.offsetHeight + 'px'
- }, 100, function() {
- this.parentNode.innerHTML = '';
- });
- this.saveFolderState()
- }
- e.preventDefault()
- },
- rpcLoadData: function(a) {
- if(this.rpcNode !== null) {
- this.rpcNode.innerHTML = typeof a === 'object' ? a.responseText : a;
- this.rpcNode.loaded = true;
- if(this.rpcNode.id !== 'treeRoot') {
- this.rpcNode.style.overflow = 'hidden';
- this.rpcNode.firstChild.style.marginTop = -this.rpcNode.offsetHeight + 'px'
- $(this.rpcNode.firstChild).animate({
- marginTop: 0
- }, 100);
- }
- var el;
- d.getElementById('treeloader').classList.remove('visible');
- if(this.rpcNode.id === 'treeRoot') {
- el = d.getElementById('binFull');
- if(el) this.showBin(true);
- else this.showBin(false)
- }
- el = d.getElementById('mx_loginbox');
- if(el) {
- this.rpcNode.style.overflow = 'hidden';
- $(this.rpcNode.firstChild).animate({
- marginTop: -this.rpcNode.offsetHeight + 'px'
- }, 100, function() {
- this.parentNode.innerHTML = '';
- });
- w.location = 'index.php'
- }
- }
- },
- treeAction: function(e, id, title) {
- if(e.ctrlKey) return;
- var el = d.getElementById('node' + id).firstChild,
- treepageclick = el.dataset.treepageclick,
- showchildren = parseInt(el.dataset.showchildren),
- openfolder = parseInt(el.dataset.openfolder);
- title = title || (el.dataset && el.dataset.titleEsc);
- if(tree.ca === "move") {
- try {
- this.setSelectedByContext(id);
- w.main.setMoveValue(id, title)
- } catch(oException) {
- alert(modx.lang.unable_set_parent)
- }
- }
- if(tree.ca === "open" || tree.ca === "") {
- if(id === 0) {
- w.main.location.href = "index.php?a=2"
- } else {
- var href = '';
- modx.setLastClickedElement(7, id);
- if(!isNaN(treepageclick) && isFinite(treepageclick)) {
- href = "index.php?a=" + treepageclick + "&r=1&id=" + id + (openfolder === 0 ? this.getFolderState() : '')
- } else {
- href = treepageclick;
- }
- if(openfolder === 2) {
- if(showchildren !== 1) {
- href = '';
- }
- this.toggleNode(e, id)
- }
- if(href) {
- if(e.shiftKey) {
- w.getSelection().removeAllRanges();
- modx.openWindow(href);
- this.restoreTree()
- } else {
- w.main.location.href = href;
- if(modx.isMobile) modx.resizer.toggle()
- }
- }
- }
- var el = d.querySelector('#node' + id + '>.node');
- modx.tree.setSelected(el)
- }
- if(tree.ca === "parent") {
- try {
- this.setSelectedByContext(id);
- w.main.setParent(id, title)
- } catch(oException) {
- alert(modx.lang.unable_set_parent)
- }
- }
- if(tree.ca === "link") {
- try {
- this.setSelectedByContext(id);
- w.main.setLink(id)
- } catch(oException) {
- alert(modx.lang.unable_set_link)
- }
- }
- e.preventDefault();
- },
- showPopup: function(e, id, title) {
- if(e.ctrlKey) return;
- e.preventDefault();
- var tree = d.getElementById('tree'),
- el = d.getElementById('node' + id) || e.target;
- if(el.firstChild && el.firstChild.dataset && el.firstChild.dataset.contextmenu) {
- el = el.firstChild;
- }
- if(el) {
- if(el.dataset.contextmenu) {
- e.target.dataset.toggle = '#contextmenu';
- modx.hideDropDown(e);
- this.ctx = d.createElement('div');
- this.ctx.id = 'contextmenu';
- this.ctx.className = 'dropdown-menu';
- d.getElementById(modx.frameset).appendChild(this.ctx);
- this.setSelectedByContext(id);
- var dataJson = JSON.parse(el.dataset.contextmenu);
- for(var key in dataJson) {
- if(dataJson.hasOwnProperty(key)) {
- var item = d.createElement('div');
- for(var k in dataJson[key]) {
- if(dataJson[key].hasOwnProperty(k)) {
- if(k.substring(0, 2) === 'on') {
- var onEvent = dataJson[key][k];
- item[k] = function(onEvent) {
- return function() {
- eval(onEvent)
- }
- }(onEvent)
- } else {
- item[k] = dataJson[key][k]
- }
- }
- }
- if(key.indexOf('header') === 0) item.className += ' menuHeader';
- if(key.indexOf('item') === 0) item.className += ' menuLink';
- if(key.indexOf('seperator') === 0 || key.indexOf('separator') === 0) item.className += ' seperator separator';
- this.ctx.appendChild(item)
- }
- }
- var bodyHeight = tree.offsetHeight - modx.config.menu_height;
- var x = e.clientX > 0 ? e.clientX : e.pageX;
- var y = e.clientY > 0 ? e.clientY : e.pageY;
- if(e.view.name === "main") {
- x += tree.offsetWidth
- } else {
- if(e.target.parentNode.parentNode.classList.contains('node')) {
- x += 50;
- }
- }
- if(x > e.view.innerWidth) {
- x = e.view.innerWidth - this.ctx.offsetWidth;
- }
- if(y + this.ctx.offsetHeight / 2 > bodyHeight) {
- y = bodyHeight - this.ctx.offsetHeight - 5
- } else if(y - this.ctx.offsetHeight / 2 < tree.offsetTop) {
- y = tree.offsetTop + 5
- } else {
- y = y - this.ctx.offsetHeight / 2
- }
- this.itemToChange = id;
- this.selectedObjectName = title;
- this.dopopup(this.ctx, x + 10, y)
- } else {
- el = el.firstChild;
- var ctx = d.getElementById('mx_contextmenu');
- e.target.dataset.toggle = '#mx_contextmenu';
- modx.hideDropDown(e);
- this.setSelectedByContext(id);
- var i4 = d.getElementById('item4'),
- i5 = d.getElementById('item5'),
- i8 = d.getElementById('item8'),
- i9 = d.getElementById('item9'),
- i10 = d.getElementById('item10'),
- i11 = d.getElementById('item11');
- if(modx.permission.publish_document === 1) {
- i9.style.display = 'block';
- i10.style.display = 'block';
- if(parseInt(el.dataset.published) === 1) i9.style.display = 'none';
- else i10.style.display = 'none'
- } else {
- i5.style.display = 'none'
- }
- if(modx.permission.delete_document === 1) {
- i4.style.display = 'block';
- i8.style.display = 'block';
- if(parseInt(el.dataset.deleted) === 1) {
- i4.style.display = 'none';
- i9.style.display = 'none';
- i10.style.display = 'none'
- } else {
- i8.style.display = 'none'
- }
- }
- if(parseInt(el.dataset.isfolder) === 1) i11.style.display = 'block';
- else i11.style.display = 'none';
- var bodyHeight = tree.offsetHeight + tree.offsetTop;
- var x = e.clientX > 0 ? e.clientX : e.pageX;
- var y = e.clientY > 0 ? e.clientY : e.pageY;
- if(y + ctx.offsetHeight / 2 > bodyHeight) {
- y = bodyHeight - ctx.offsetHeight - 5
- } else if(y - ctx.offsetHeight / 2 < tree.offsetTop) {
- y = tree.offsetTop + 5
- } else {
- y = y - ctx.offsetHeight / 2
- }
- if(e.target.parentNode.parentNode.classList.contains('node')) x += 50;
- this.itemToChange = id;
- this.selectedObjectName = title;
- this.dopopup(ctx, x + 10, y)
- }
- e.stopPropagation()
- }
- },
- dopopup: function(el, a, b) {
- if(this.selectedObjectName.length > 30) {
- this.selectedObjectName = this.selectedObjectName.substr(0, 30) + "..."
- }
- var f = d.getElementById("nameHolder");
- f.innerHTML = this.selectedObjectName;
- el.style.left = a + (modx.config.textdir ? '-190' : '') + "px";
- el.style.top = b + "px";
- setTimeout(function() {
- el.classList.add('show')
- }, 150)
- },
- menuHandler: function(a) {
- switch(a) {
- case 1:
- this.setActiveFromContextMenu(this.itemToChange);
- w.main.location.href = "index.php?a=3&id=" + this.itemToChange;
- break;
- case 2:
- this.setActiveFromContextMenu(this.itemToChange);
- w.main.location.href = "index.php?a=27&r=1&id=" + this.itemToChange;
- break;
- case 3:
- w.main.location.href = "index.php?a=4&pid=" + this.itemToChange;
- break;
- case 4:
- if(this.selectedObjectDeleted) {
- alert("'" + this.selectedObjectName + "' " + modx.lang.already_deleted)
- } else if(confirm("'" + this.selectedObjectName + "'\n\n" + modx.lang.confirm_delete_resource) === true) {
- w.main.location.href = "index.php?a=6&id=" + this.itemToChange
- }
- break;
- case 5:
- this.setActiveFromContextMenu(this.itemToChange);
- w.main.location.href = "index.php?a=51&id=" + this.itemToChange;
- break;
- case 6:
- w.main.location.href = "index.php?a=72&pid=" + this.itemToChange;
- break;
- case 7:
- if(confirm(modx.lang.confirm_resource_duplicate) === true) {
- w.main.location.href = "index.php?a=94&id=" + this.itemToChange
- }
- break;
- case 8:
- if(d.getElementById('node' + this.itemToChange).firstChild.dataset.deleted) {
- if(confirm("'" + this.selectedObjectName + "' " + modx.lang.confirm_undelete) === true) {
- w.main.location.href = "index.php?a=63&id=" + this.itemToChange
- }
- } else {
- alert("'" + this.selectedObjectName + "'" + modx.lang.not_deleted)
- }
- break;
- case 9:
- if(confirm("'" + this.selectedObjectName + "' " + modx.lang.confirm_publish) === true) {
- w.main.location.href = "index.php?a=61&id=" + this.itemToChange
- }
- break;
- case 10:
- if(this.itemToChange !== modx.config.site_start) {
- if(confirm("'" + this.selectedObjectName + "' " + modx.lang.confirm_unpublish) === true) {
- w.main.location.href = "index.php?a=62&id=" + this.itemToChange
- }
- } else {
- alert('Document is linked to site_start variable and cannot be unpublished!')
- }
- break;
- case 11:
- w.main.location.href = "index.php?a=56&id=" + this.itemToChange;
- break;
- case 12:
- w.open(d.getElementById('node' + this.itemToChange).firstChild.dataset.href, 'previeWin');
- break;
- default:
- alert('Unknown operation command.')
- }
- },
- setSelected: function(a) {
- var el = d.querySelector('#treeRoot .current');
- if(el) el.classList.remove('current');
- if(a) a.classList.add('current')
- },
- setActiveFromContextMenu: function(a) {
- var el = d.querySelector('#node' + a + '>.node');
- if(el) this.setSelected(el)
- },
- setSelectedByContext: function(a) {
- var el = d.querySelector('#treeRoot .selected');
- if(el) el.classList.remove('selected');
- el = d.querySelector('#node' + a + '>.node');
- if(el) el.classList.add('selected');
- },
- setItemToChange: function() {
- var a = w.main.frameElement.contentWindow,
- b = a.location.search.substring(1);
- if((parseInt(modx.main.getQueryVariable('a', b)) === 27 || parseInt(modx.main.getQueryVariable('a', b)) === 3) && modx.main.getQueryVariable('id', b)) {
- this.itemToChange = parseInt(modx.main.getQueryVariable('id', b))
- } else {
- this.itemToChange = null
- }
- },
- restoreTree: function() {
- //console.log('modx.tree.restoreTree()');
- d.getElementById('treeloader').classList.add('visible');
- this.setItemToChange();
- this.rpcNode = d.getElementById('treeRoot');
- modx.get('index.php?a=1&f=nodes&indent=1&parent=0&expandAll=2&id=' + this.itemToChange, function(r) {
- modx.tree.rpcLoadData(r);
- modx.tree.draggable()
- })
- },
- expandTree: function() {
- this.rpcNode = d.getElementById('treeRoot');
- d.getElementById('treeloader').classList.add('visible');
- modx.get('index.php?a=1&f=nodes&indent=1&parent=0&expandAll=1&id=' + this.itemToChange, function(r) {
- modx.tree.rpcLoadData(r);
- modx.tree.saveFolderState();
- modx.tree.draggable()
- })
- },
- collapseTree: function() {
- this.rpcNode = d.getElementById('treeRoot');
- d.getElementById('treeloader').classList.add('visible');
- modx.get('index.php?a=1&f=nodes&indent=1&parent=0&expandAll=0&id=' + this.itemToChange, function(r) {
- modx.openedArray = [];
- modx.tree.saveFolderState();
- modx.tree.rpcLoadData(r);
- modx.tree.draggable()
- })
- },
- updateTree: function() {
- this.rpcNode = d.getElementById('treeRoot');
- d.getElementById('treeloader').classList.add('visible');
- var a = d.sortFrm;
- var b = 'a=1&f=nodes&indent=1&parent=0&expandAll=2&dt=' + a.dt.value + '&tree_sortby=' + a.sortby.value + '&tree_sortdir=' + a.sortdir.value + '&tree_nodename=' + a.nodename.value + '&id=' + this.itemToChange + '&showonlyfolders=' + a.showonlyfolders.value;
- modx.get('index.php?' + b, function(r) {
- modx.tree.rpcLoadData(r);
- modx.tree.draggable()
- })
- },
- getFolderState: function() {
- var a;
- if(modx.openedArray !== [0]) {
- a = "&opened=";
- for(var key in modx.openedArray) {
- if(modx.openedArray[key]) {
- a += key + "|"
- }
- }
- } else {
- a = "&opened="
- }
- return a
- },
- saveFolderState: function() {
- modx.get('index.php?a=1&f=nodes&savestateonly=1' + this.getFolderState())
- },
- showSorter: function(e) {
- e = e || w.event;
- var el = d.getElementById('floater');
- e.target.dataset.toggle = '#floater';
- el.classList.toggle('show');
- el.onclick = function(e) {
- e.stopPropagation()
- }
- },
- emptyTrash: function() {
- if(confirm(modx.lang.confirm_empty_trash) === true) {
- w.main.location.href = "index.php?a=64"
- }
- },
- showBin: function(a) {
- var el = d.getElementById('treeMenu_emptytrash');
- if(el) {
- if(a) {
- el.title = modx.lang.empty_recycle_bin;
- el.classList.remove('disabled');
- el.innerHTML = modx.style.empty_recycle_bin;
- el.onclick = function() {
- modx.tree.emptyTrash()
- }
- } else {
- el.title = modx.lang.empty_recycle_bin_empty;
- el.classList.add('disabled');
- el.innerHTML = modx.style.empty_recycle_bin_empty;
- el.onclick = null
- }
- }
- },
- unlockElement: function(a, b, c) {
- var m = modx.lockedElementsTranslation.msg.replace('[+id+]', b).replace('[+element_type+]', modx.lockedElementsTranslation['type' + a]);
- if(confirm(m) === true) {
- modx.get('index.php?a=67&type=' + a + '&id=' + b, function(r) {
- if(parseInt(r) === 1) c.parentNode.removeChild(c);
- else alert(r)
- })
- }
- },
- resizeTree: function() {
- },
- reloadElementsInTree: function() {
- modx.get('index.php?a=1&f=tree', function(r) {
- savePositions();
- var div = d.createElement('div');
- div.innerHTML = r;
- var tabs = div.getElementsByClassName('tab-page');
- var el, p;
- for(var i = 0; i < tabs.length; i++) {
- if(tabs[i].id !== 'tabDoc') {
- el = tabs[i].getElementsByClassName('panel-group')[0];
- el.style.display = 'none';
- el.classList.add('clone');
- p = d.getElementById(tabs[i].id);
- r = p.getElementsByClassName('panel-group')[0];
- p.insertBefore(el, r)
- }
- }
- setRememberCollapsedCategories();
- for(var i = 0; i < tabs.length; i++) {
- if(tabs[i].id !== 'tabDoc') {
- el = d.getElementById(tabs[i].id).getElementsByClassName('panel-group')[1];
- el.remove();
- el = d.getElementById(tabs[i].id).getElementsByClassName('panel-group')[0];
- el.classList.remove('clone');
- el.style.display = 'block'
- }
- }
- loadPositions();
- for(var i = 0; i < tabIds.length; i++) {
- initQuicksearch(tabIds[i] + '_search', tabIds[i]);
- }
- var at = d.querySelectorAll('#tree .accordion-toggle');
- for(var i = 0; i < at.length; i++) {
- at[i].onclick = function(e) {
- e.preventDefault();
- var thisItemCollapsed = $(this).hasClass("collapsed");
- if(e.shiftKey) {
- var toggleItems = $(this).closest(".panel-group").find("> .panel .accordion-toggle");
- var collapseItems = $(this).closest(".panel-group").find("> .panel > .panel-collapse");
- if(thisItemCollapsed) {
- toggleItems.removeClass("collapsed");
- collapseItems.collapse("show")
- } else {
- toggleItems.addClass("collapsed");
- collapseItems.collapse("hide")
- }
- toggleItems.each(function() {
- var state = $(this).hasClass("collapsed") ? 1 : 0;
- setLastCollapsedCategory($(this).data("cattype"), $(this).data("catid"), state)
- });
- writeElementsInTreeParamsToStorage()
- } else {
- $(this).toggleClass("collapsed");
- $($(this).attr("href")).collapse("toggle");
- var state = thisItemCollapsed ? 0 : 1;
- setLastCollapsedCategory($(this).data("cattype"), $(this).data("catid"), state);
- writeElementsInTreeParamsToStorage()
- }
- }
- }
- })
- }
- },
- setLastClickedElement: function(a, b) {
- localStorage.setItem('MODX_lastClickedElement', '[' + parseInt(a) + ',' + parseInt(b) + ']')
- },
- removeLocks: function() {
- if(confirm(modx.lang.confirm_remove_locks) === true) {
- w.main.location.href = "index.php?a=67"
- }
- },
- openCredits: function() {
- w.main.location.href = "index.php?a=18";
- setTimeout('modx.main.stopWork()', 2000)
- },
- keepMeAlive: function() {
- modx.get('includes/session_keepalive.php?tok=' + d.getElementById('sessTokenInput').value + '&o=' + Math.random(), function(r) {
- r = JSON.parse(r);
- if(r.status !== 'ok') w.location.href = 'index.php?a=8'
- })
- },
- updateMail: function(a) {
- try {
- if(a) {
- this.post('index.php', {
- updateMsgCount: true
- }, function(r) {
- var c = r.split(','),
- el = d.getElementById('msgCounter');
- if(c[0] > 0) {
- if(el) {
- el.innerHTML = c[0];
- el.style.display = 'block'
- }
- } else {
- if(el) el.style.display = 'none'
- }
- if(c[1] > 0) {
- el = d.getElementById('newMail');
- if(el) {
- el.innerHTML = '
' + modx.style.email + modx.lang.inbox + ' (' + c[0] + ' / ' + c[1] + ') ';
- el.style.display = 'block'
- }
- }
- if(modx.config.mail_check_timeperiod > 0) setTimeout('modx.updateMail(true)', 1000 * modx.config.mail_check_timeperiod)
- })
- }
- } catch(oException) {
- setTimeout('modx.updateMail(true)', 1000 * modx.config.mail_check_timeperiod)
- }
- },
- openWindow: function(a) {
- if(typeof a !== 'object') {
- a = {
- "url": a
- }
- }
- if(!a.width) a.width = parseInt(w.innerWidth * 0.9) + 'px';
- if(!a.height) a.height = parseInt(w.innerHeight * 0.8) + 'px';
- if(!a.left) a.left = parseInt(w.innerWidth * 0.05) + 'px';
- if(!a.top) a.top = parseInt(w.innerHeight * 0.1) + 'px';
- if(!a.title) a.title = Math.floor((Math.random() * 999999) + 1);
- if(a.url) {
- if(this.plugins.EVOmodal === 1) {
- top.EVO.modal.show(a)
- } else {
- w.open(a.url, a.title, 'width=' + a.width + ',height=' + a.height + ',top=' + a.top + ',left=' + a.left + ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no')
- }
- }
- },
- getWindowDimension: function() {
- var a = 0,
- b = 0,
- c = d.documentElement,
- e = d.body;
- if(typeof(w.innerWidth) === 'number') {
- a = w.innerWidth;
- b = w.innerHeight
- } else if(c && (c.clientWidth || c.clientHeight)) {
- a = c.clientWidth;
- b = c.clientHeight
- } else if(e && (e.clientWidth || e.clientHeight)) {
- a = e.clientWidth;
- b = e.clientHeight
- }
- return {
- 'width': a,
- 'height': b
- }
- },
- hideDropDown: function(e) {
- e = e || w.event || w.main.event;
- if(tree.ca === "open" || tree.ca === "") {
- modx.tree.setSelectedByContext();
- }
- if(modx.tree.ctx !== null) {
- d.getElementById(modx.frameset).removeChild(modx.tree.ctx);
- modx.tree.ctx = null
- }
- if(!(/dropdown\-item/.test(e.target.className))
- //&& !(e && ("click" === e.type && /form|label|input|textarea|select/i.test(e.target.tagName)))
- ) {
- var els = d.querySelectorAll('.dropdown'),
- n = null,
- t = e.target || e.target.parentNode;
- if(t.dataset.toggle) n = d.querySelector(t.dataset.toggle);
- else if(t.classList.contains('dropdown-toggle')) n = t.offsetParent;
- for(var i = 0; i < els.length; i++) {
- if(n !== els[i])
- els[i].classList.remove('show')
- }
- els = w.main.document.querySelectorAll('.dropdown');
- for(var i = 0; i < els.length; i++) {
- if(n !== els[i])
- els[i].classList.remove('show')
- }
- }
- },
- XHR: function() {
- return ('XMLHttpRequest' in w) ? new XMLHttpRequest : new ActiveXObject('Microsoft.XMLHTTP');
- },
- get: function(a, b, c) {
- var x = this.XHR();
- x.open('GET', a, true);
- x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
- if(c) x.responseType = c;
- x.onload = function() {
- if(this.status === 200 && typeof b === 'function') {
- return b(this.response)
- }
- };
- x.send()
- },
- post: function(a, b, c, t) {
- var x = this.XHR(),
- f = '';
- if(typeof b === 'function') {
- t = c;
- c = b;
- } else if(typeof b === 'object') {
- var e = [],
- i = 0,
- k;
- for(k in b) {
- if(b.hasOwnProperty(k)) e[i++] = k + '=' + b[k];
- }
- f = e.join('&')
- } else if(typeof b === 'string') {
- f = b;
- }
- x.open('POST', a, true);
- x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
- x.setRequestHeader('X-REQUESTED-WITH', 'XMLHttpRequest');
- if(t) x.responseType = t;
- x.onload = function() {
- if(this.readyState === 4 && c !== u) {
- return c(this.response)
- }
- };
- x.send(f)
- },
- pxToRem: function(a) {
- return a / parseInt(w.getComputedStyle(d.documentElement).fontSize)
- },
- remToPx: function(a) {
- return a * parseInt(w.getComputedStyle(d.documentElement).fontSize)
- }
- });
- w.mainMenu = {};
- w.mainMenu.stopWork = function() {
- modx.main.stopWork()
- };
- w.mainMenu.work = function() {
- modx.main.work()
- };
- w.mainMenu.reloadtree = function() {
- //console.log('mainMenu.reloadtree()');
- setTimeout('modx.tree.restoreTree()', 50)
- };
- w.mainMenu.startrefresh = function(a) {
- //console.log('mainMenu.startrefresh(' + a + ')');
- if(a === 1) {
- modx.tree.restoreTree()
- }
- if(a === 2) {
- modx.tree.restoreTree()
- }
- if(a === 9) {
- modx.tree.restoreTree()
- }
- if(a === 10) {
- w.location.href = "../" + modx.MGR_DIR
- }
- };
- w.mainMenu.startmsgcount = function(a, b, c) {
- modx.updateMail(c)
- };
- w.mainMenu.hideTreeFrame = function() {
- modx.resizer.setWidth(0)
- };
- w.mainMenu.defaultTreeFrame = function() {
- modx.resizer.setDefaultWidth()
- };
- w.tree = {};
- w.tree.ca = 'open';
- w.tree.document = document;
- w.tree.saveFolderState = function() {
- };
- w.tree.updateTree = function() {
- //console.log('tree.updateTree()');
- modx.tree.updateTree()
- };
- w.tree.restoreTree = function() {
- //console.log('tree.restoreTree()');
- modx.tree.restoreTree()
- };
- w.tree.reloadElementsInTree = function() {
- //console.log('tree.reloadElementsInTree()');
- modx.tree.reloadElementsInTree()
- };
- w.tree.resizeTree = function() {
- //console.log('tree.resizeTree() off')
- };
- w.onbeforeunload = function() {
- var a = w.main.frameElement.contentWindow;
- if(parseInt(modx.main.getQueryVariable('a', a.location.search.substring(1))) === 27) {
- modx.get('index.php?a=67&type=7&id=' + modx.main.getQueryVariable('id', a.location.search.substring(1)));
- }
- };
- d.addEventListener('DOMContentLoaded', function() {
- modx.init()
- })
-})
-(typeof jQuery !== 'undefined' ? jQuery : '', window, document, undefined);
-
-function setLastClickedElement(a, b) {
- modx.setLastClickedElement(a, b)
-}
-
-function reloadElementsInTree() {
- modx.tree.reloadElementsInTree()
-}
-
-(function() {
- if(!Element.prototype.closest) {
- Element.prototype.closest = function(a) {
- var b = this,
- c, d;
- ['matches', 'webkitMatchesSelector', 'mozMatchesSelector', 'msMatchesSelector', 'oMatchesSelector'].some(function(fn) {
- if(typeof document.body[fn] === 'function') {
- c = fn;
- return true
- }
- return false
- });
- if(b && b[c](a)) return b;
- while(b) {
- d = b.parentElement;
- if(d && d[c](a)) return d;
- b = d
- }
- return null;
- }
- }
-})();
+(function($, w, d, u) {
+ 'use strict';
+ modx.extended({
+ frameset: 'frameset',
+ minWidth: 840,
+ isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),
+ typesactions: {'16': 1, '301': 2, '78': 3, '22': 4, '102': 5, '108': 6, '3': 7, '4': 7, '6': 7, '27': 7, '61': 7, '62': 7, '63': 7, '72': 7},
+ tabsTimer: 0,
+ popupTimer: 0,
+ init: function() {
+ if (!localStorage.getItem('MODX_widthSideBar')) {
+ localStorage.setItem('MODX_widthSideBar', this.config.tree_width);
+ }
+ //this.tree.init();
+ this.mainmenu.init();
+ if (w.location.hash) {
+ if (modx.getActionFromUrl(w.location.hash, 2)) {
+ w.history.replaceState(null, d.title, modx.MODX_MANAGER_URL);
+ } else if (modx.getActionFromUrl(w.location.hash) || modx.main.getQueryVariable('filemanager', w.location.hash)) {
+ var url = modx.main.getQueryVariable('filemanager', w.location.hash) ? modx.MODX_MANAGER_URL + modx.main.getQueryVariable('filemanager', w.location.hash) + w.location.hash.replace('#?', '?') : w.location.href.replace('#?', '?');
+ if (modx.config.global_tabs) {
+ modx.tabs({url: url, title: 'blank'});
+ } else if (w.main) {
+ w.main.frameElement.src = url;
+ } else {
+ modx.openWindow(url);
+ }
+ }
+ }
+ this.resizer.init();
+ this.search.init();
+ if (this.config.session_timeout > 0) {
+ w.setInterval(this.keepMeAlive, 1000 * 60 * this.config.session_timeout);
+ }
+ if (modx.config.mail_check_timeperiod > 0 && modx.permission.messages) {
+ setTimeout('modx.updateMail(true)', 1000);
+ }
+ d.addEventListener('click', this.hideDropDown, false);
+ if (modx.config.global_tabs) {
+ d.addEventListener('click', this.tabs, false);
+ this.tabs({url: '?a=2', reload: 0});
+ }
+ },
+ mainmenu: {
+ id: 'mainMenu',
+ init: function() {
+ //console.log('modx.mainMenu.init()');
+ var $mm = $('#mainMenu'), mm = d.getElementById('mainMenu'), timer;
+ $mm.on('click', 'a', function(e) {
+ if ($(this).hasClass('dropdown-toggle')) {
+ if ($mm.hasClass('show') && ($(this).hasClass('selected') || !modx.isMobile && $(this).parent().hasClass('hover'))) {
+ $(this).removeClass('selected');
+ $mm.removeClass('show');
+ } else {
+ $('.nav > li > a:not(:hover)').removeClass('selected');
+ $(this).addClass('selected');
+ $mm.addClass('show');
+ }
+ e.stopPropagation();
+ e.target.dataset.toggle = '#mainMenu';
+ modx.hideDropDown(e);
+ }
+ if ($(this).closest('ul').hasClass('dropdown-menu') && !$(this).parent('li').hasClass('dropdown-back')) {
+ $('.nav > .active').removeClass('active');
+ $('.nav li.selected').removeClass('selected');
+ $(this).closest('.nav > li').addClass('active');
+ if (this.offsetParent.id) {
+ d.getElementById(this.offsetParent.id.substr(7)).classList.add('selected');
+ }
+ if ((modx.isMobile || w.innerWidth < modx.minWidth) && $(e.target).hasClass('toggle')) {
+ this.parentNode.classList.add('selected');
+ e.stopPropagation();
+ e.preventDefault();
+ }
+ }
+ }).on('mouseenter', '.nav > li', function() {
+ var els = mm.querySelectorAll('.nav > li.hover:not(:hover)');
+ for (var i = 0; i < els.length; i++) {
+ els[i].classList.remove('hover');
+ }
+ this.classList.add('hover');
+ }).on('click', '.nav li', function(e) {
+ if ((modx.isMobile || w.innerWidth < modx.minWidth)) {
+ $('.nav ul.selected', $mm).removeClass('selected');
+ }
+ }).on('mouseenter', '.nav > li li', function(e) {
+ var self = this, ul;
+ var els = mm.querySelectorAll('.nav > li li.hover:not(:hover)');
+ for (var i = 0; i < els.length; i++) {
+ els[i].classList.remove('hover');
+ }
+ this.classList.add('hover');
+ clearTimeout(timer);
+ if (this.offsetParent.nextElementSibling && this.offsetParent.nextElementSibling.classList.contains('sub-menu')) {
+ ul = this.offsetParent.nextElementSibling;
+ } else if (this.offsetParent && this.offsetParent.classList.contains('sub-menu')) {
+ ul = this.offsetParent;
+ } else {
+ ul = d.createElement('ul');
+ ul.className = 'sub-menu dropdown-menu';
+ this.parentNode.parentNode.appendChild(ul);
+ }
+ timer = setTimeout(function() {
+ if (d.querySelector('.nav .sub-menu.show')) {
+ d.querySelector('.nav .sub-menu.show').classList.remove('show');
+ }
+ ul.style.left = self.offsetWidth + 'px';
+ if (self.classList.contains('dropdown-toggle')) {
+ if (ul.id === 'parent_' + self.id) {
+ if (modx.isMobile) {
+ self.parentNode.classList.add('selected');
+ } else {
+ self.onclick = function(e) {
+ if (e.target.classList.contains('toggle')) {
+ self.parentNode.classList.add('selected');
+ }
+ };
+ }
+ ul.classList.add('show');
+ } else {
+ ul.classList.remove('show');
+ $('.nav ul.selected', $mm).removeClass('selected');
+ timer = setTimeout(function() {
+ var href = self.firstElementChild.href && self.firstElementChild.target === 'main' ? self.firstElementChild.href.split('?')[1] + '&elements=' + self.id : '';
+ modx.post(modx.MODX_MANAGER_URL + 'media/style/' + modx.config.theme + '/ajax.php', href, function(data) {
+ if (data) {
+ if (modx.isMobile || w.innerWidth < modx.minWidth) {
+ data = '
' + modx.lang.paging_prev + '' + data;
+ }
+ ul.id = 'parent_' + self.id;
+ ul.innerHTML = data;
+ var id = w.location.hash.substr(2).replace(/=/g, '_').replace(/&/g, '__');
+ var el = d.getElementById(id);
+ if (el) {
+ el.parentNode.classList.add('selected');
+ d.getElementById(el.parentNode.parentNode.id.substr(7)).classList.add('selected');
+ }
+ for (var i = 0; i < ul.children.length; i++) {
+ el = ul.children[i];
+ if (el.classList.contains('dropdown-back')) {
+ el.onclick = function(e) {
+ e.target.offsetParent.previousElementSibling.classList.remove('selected');
+ e.target.offsetParent.classList.remove('show');
+ e.preventDefault();
+ e.stopPropagation();
+ };
+ }
+ el.onmouseenter = function(e) {
+ clearTimeout(timer);
+ var el = e.target.offsetParent.querySelector('li.hover');
+ if (el) el.classList.remove('hover');
+ e.target.classList.add('hover');
+ self.classList.add('hover');
+ e.preventDefault();
+ e.stopPropagation();
+ };
+ }
+ ul.classList.add('show');
+ if (modx.isMobile) {
+ if (e.target.classList.contains('toggle')) {
+ self.parentNode.classList.add('selected');
+ }
+ } else {
+ self.onclick = function(e) {
+ if (e.target.classList.contains('toggle')) {
+ self.parentNode.classList.add('selected');
+ }
+ };
+ }
+ setTimeout(function() {
+ modx.mainmenu.search(href, ul);
+ }, 200);
+ }
+ });
+ }, 85);
+ }
+ } else {
+ if (ul.classList.contains('open')) {
+ ul.classList.remove('open');
+ setTimeout(function() {
+ ul.parentNode.removeChild(ul);
+ }, 100);
+ }
+ }
+ }, 85);
+ e.preventDefault();
+ });
+ },
+ search: function(href, ul) {
+ var items,
+ input = ul.querySelector('input[name=filter]'),
+ index = -1,
+ el = null;
+ if (input) {
+ if (!modx.isMobile) {
+ input.focus();
+ }
+ input.onkeyup = function(e) {
+ if (e.keyCode === 13 && ul.querySelector('.item.hover')) {
+ d.body.click();
+ //w.main.location.href = ul.querySelector('.item.hover').firstChild.href;
+ el = ul.querySelector('.item.hover').firstChild;
+ modx.tabs({url: el.href, title: el.innerHTML});
+ } else if (e.keyCode === 38 || e.keyCode === 40) {
+ input.selectionStart = input.value.length;
+ items = ul.querySelectorAll('.item');
+ if (items.length) {
+ if (e.keyCode === 40) {
+ index++;
+ } else {
+ index--;
+ }
+ if (index < 0) {
+ index = -1;
+ el = ul.querySelector('.hover');
+ if (el) el.classList.remove('hover');
+ } else if (index > items.length - 1) {
+ index = items.length - 1;
+ }
+ if (index >= 0 && index < items.length) {
+ el = ul.querySelector('.hover');
+ if (el) el.classList.remove('hover');
+ items[index].classList.add('hover');
+ }
+ }
+ } else {
+ modx.post(modx.MODX_MANAGER_URL + 'media/style/' + modx.config.theme + '/ajax.php', href + '&filter=' + input.value, function(data) {
+ index = -1;
+ $('.item', ul).remove();
+ $(ul).append(data).on('mouseenter', '.item', function(e) {
+ $(this).addClass('hover').closest('ul').find('li:not(:hover)').removeClass('hover');
+ e.stopPropagation();
+ });
+ }, 'html');
+ }
+ };
+ }
+ }
+ },
+ search: {
+ result: null,
+ results: null,
+ input: null,
+ mask: null,
+ loader: null,
+ timer: 0,
+ init: function() {
+ this.result = d.getElementById('searchresult');
+ this.input = d.getElementById('searchid');
+ this.mask = d.querySelector('#searchform .mask');
+ if (!this.result) {
+ this.result = d.createElement('div');
+ this.result.id = 'searchresult';
+ d.body.appendChild(this.result);
+ }
+ this.loader = d.createElement('i');
+ this.loader.className = 'fa fa-refresh fa-spin fa-fw';
+ this.input.parentNode.appendChild(this.loader);
+ if (modx.config.global_tabs) {
+ this.input.parentNode.onsubmit = function(e) {
+ e.preventDefault();
+ this.target = 'mainsearch';
+ modx.tabs({url: this.action, title: 'Search', name: 'mainsearch'});
+ this.submit();
+ };
+ }
+ var s = this;
+ this.input.onkeyup = function(e) {
+ e.preventDefault();
+ clearTimeout(s.timer);
+ if (s.input.value.length !== '' && s.input.value.length > 2) {
+ s.timer = setTimeout(function() {
+ s.loader.style.display = 'block';
+ modx.get(modx.MODX_MANAGER_URL + '?a=71&ajax=1&submitok=Search&searchid=' + s.input.value, function(data) {
+ s.loader.style.display = 'none';
+ s.results = data.querySelector('.ajaxSearchResults');
+ if (s.results && s.results.innerHTML !== '') {
+ s.result.innerHTML = s.results.outerHTML;
+ s.open();
+ s.result.onclick = function(e) {
+ var t = e.target,
+ p = t.parentNode;
+ if (t.tagName === 'I') {
+ modx.openWindow({
+ title: p.innerText,
+ id: p.id,
+ url: p.href
+ });
+ e.preventDefault();
+ e.stopPropagation();
+ } else {
+ var a = t.tagName === 'A' && t || p.tagName === 'A' && p;
+ if (a) {
+ var el = s.result.querySelector('.selected');
+ if (el) el.className = '';
+ a.className = 'selected';
+ if (modx.isMobile) s.close();
+ }
+ }
+ };
+ } else {
+ s.empty();
+ }
+ }, 'document');
+ }, 300);
+ } else {
+ s.empty();
+ }
+ };
+ if (modx.isMobile) {
+ this.input.onblur = this.close;
+ }
+ this.input.onfocus = this.open;
+ this.input.onclick = this.open;
+ this.input.onmouseenter = this.open;
+ this.result.onmouseenter = this.open;
+ this.result.onmouseleave = this.close;
+ this.mask.onmouseenter = this.open;
+ this.mask.onmouseleave = this.close;
+ },
+ open: function() {
+ if (modx.search.results) {
+ modx.search.result.classList.add('open');
+ }
+ },
+ close: function() {
+ modx.search.result.classList.remove('open');
+ },
+ empty: function() {
+ modx.search.result.classList.remove('open');
+ modx.search.result.innerHTML = '';
+ }
+ },
+ main: {
+ id: 'main',
+ idFrame: 'mainframe',
+ as: null,
+ onload: function(e) {
+ w.main = e.target.contentWindow || e.target.defaultView;
+ modx.main.tabRow.init();
+ modx.main.stopWork();
+ modx.main.scrollWork();
+ w.main.document.addEventListener('click', modx.hideDropDown, false);
+ w.main.document.addEventListener('contextmenu', modx.main.oncontextmenu, false);
+ if (modx.config.global_tabs) {
+ w.main.document.addEventListener('click', modx.tabs, false);
+ }
+ w.history.replaceState(null, d.title, modx.getActionFromUrl(w.main.location.search, 2) ? modx.MODX_MANAGER_URL : '#' + w.main.location.search);
+ setTimeout('modx.tree.restoreTree()', 100);
+ },
+ oncontextmenu: function(e) {
+ if (e.ctrlKey) return;
+ var el = e.target;
+ if (modx.user.role === 1 && /modxtv|modxplaceholder|modxattributevalue|modxchunk|modxsnippet|modxsnippetnocache/i.test(el.className)) {
+ var id = Date.now(),
+ name = el.innerText.replace(/[\[|\]|{|}|\*||\#|\+|?|\!|&|=|`|:]/g, ''),
+ type = el.className.replace(/cm-modx/, ''),
+ n = !!name.replace(/^\d+$/, '');
+ if (name && n) {
+ e.preventDefault();
+ modx.post(modx.MODX_MANAGER_URL + 'media/style/' + modx.config.theme + '/ajax.php', {
+ a: 'modxTagHelper',
+ name: name,
+ type: type
+ }, function(r) {
+ if (r) {
+ r = JSON.parse(r);
+ for (var k in r) {
+ if (r.hasOwnProperty(k) && r[k].url) {
+ r[k]['onclick'] = 'if(event.shiftKey){modx.openWindow({url:\'' + r[k].url + '\'})}else{modx.popup({url:\'' + r[k].url + '\',title:\'' + r.header.innerHTML + '\',width:\'95%\',height:\'95%\',margin:0,hide:0,hover:0,overlay:1,overlayclose:0,position:\'center elements\',animation:0,icon:\'none\'})}';
+ }
+ }
+ r = JSON.stringify(r);
+ el.id = 'node' + id;
+ el.dataset.contextmenu = r;
+ modx.tree.showPopup(e, id, name);
+ }
+ });
+ }
+ e.preventDefault();
+ }
+ },
+ tabRow: {
+ init: function() {
+ var row = w.main.document.querySelector('.tab-pane > .tab-row');
+ if (row) this.build(row);
+ },
+ build: function(row) {
+ var rowContainer = d.createElement('div'),
+ sel = row.querySelector('.selected');
+ rowContainer.className = 'tab-row-container';
+ row.parentNode.insertBefore(rowContainer, row);
+ rowContainer.appendChild(row);
+ var p = d.createElement('i');
+ p.className = 'fa fa-angle-left prev disable';
+ p.onclick = function(e) {
+ e.stopPropagation();
+ e.preventDefault();
+ var sel = row.querySelector('.selected');
+ if (sel.previousSibling) {
+ sel.previousSibling.click();
+ modx.main.tabRow.scroll(row);
+ }
+ };
+ rowContainer.appendChild(p);
+ var n = d.createElement('i');
+ n.className = 'fa fa-angle-right next disable';
+ n.onclick = function(e) {
+ e.stopPropagation();
+ e.preventDefault();
+ var sel = row.querySelector('.selected');
+ if (sel.nextSibling) {
+ sel.nextSibling.click();
+ modx.main.tabRow.scroll(row);
+ }
+ };
+ rowContainer.appendChild(n);
+ setTimeout(function() {
+ sel = row.querySelector('.selected');
+ modx.main.tabRow.scroll(row, sel);
+ w.main.addEventListener('resize', function() {
+ modx.main.tabRow.scroll(row);
+ }, false);
+ if (sel) {
+ if (sel.previousSibling) p.classList.remove('disable');
+ if (sel.nextSibling) n.classList.remove('disable');
+ }
+ }, 100);
+ row.onclick = function(e) {
+ var sel = e.target.tagName === 'H2' ? e.target : e.target.tagName === 'SPAN' ? e.target.parentNode : null;
+ if (sel) {
+ if (sel.previousSibling) {
+ this.parentNode.querySelector('i.prev').classList.remove('disable');
+ } else {
+ this.parentNode.querySelector('i.prev').classList.add('disable');
+ }
+ if (sel.nextSibling) {
+ this.parentNode.querySelector('i.next').classList.remove('disable');
+ } else {
+ this.parentNode.querySelector('i.next').classList.add('disable');
+ }
+ modx.main.tabRow.scroll(this, sel);
+ }
+ };
+ },
+ scroll: function(row, sel, a) {
+ sel = sel || row.querySelector('.selected') || row.firstChild;
+ a = a || 100;
+ var c = 0,
+ elms = row.childNodes;
+ for (var i = 0; i < elms.length; i++) {
+ c += elms[i].offsetWidth;
+ }
+ if (row.scrollLeft > sel.offsetLeft) {
+ $(row).animate({
+ scrollLeft: sel.offsetLeft - (sel.previousSibling ? 30 : 1)
+ }, a);
+ }
+ if (sel.offsetLeft + sel.offsetWidth > row.offsetWidth + row.scrollLeft) {
+ $(row).animate({
+ scrollLeft: sel.offsetLeft - row.offsetWidth + sel.offsetWidth + (sel.nextSibling ? 30 : 0)
+ }, a);
+ }
+ if (c > row.offsetWidth) {
+ this.drag(row);
+ }
+ },
+ drag: function(row) {
+ row.onmousedown = function(e) {
+ if (e.button === 0) {
+ e.preventDefault();
+ var x = e.clientX,
+ f = row.scrollLeft;
+ row.ownerDocument.body.focus();
+ row.onmousemove = row.ownerDocument.onmousemove = function(e) {
+ if (Math.abs(e.clientX - x) > 5) {
+ e.stopPropagation();
+ row.scrollLeft = f - (e.clientX - x);
+ row.ownerDocument.body.classList.add('drag');
+ }
+ };
+ row.onmouseup = row.ownerDocument.onmouseup = function(e) {
+ e.stopPropagation();
+ row.onmousemove = null;
+ row.ownerDocument.onmousemove = null;
+ row.ownerDocument.body.classList.remove('drag');
+ };
+ }
+ };
+ }
+ },
+ work: function() {
+ d.getElementById('mainloader').classList.add('show');
+ },
+ stopWork: function() {
+ d.getElementById('mainloader').classList.remove('show');
+ },
+ scrollWork: function() {
+ var a = w.main.frameElement.contentWindow,
+ b = a.location.search.substring(1) || a.location.hash.substring(2),
+ c = localStorage.getItem('page_y') || 0,
+ f = localStorage.getItem('page_url') || b;
+ if (((modx.getActionFromUrl(f) === modx.getActionFromUrl(b)) && (modx.main.getQueryVariable('id', f) && modx.main.getQueryVariable('id', f) === modx.main.getQueryVariable('id', b))) || (f === b)) {
+ a.scrollTo(0, c);
+ }
+ a.addEventListener('scroll', function() {
+ if (this.pageYOffset >= 0) {
+ localStorage.setItem('page_y', this.pageYOffset.toString());
+ localStorage.setItem('page_url', b);
+ }
+ }, false);
+ },
+ getQueryVariable: function(a, b) {
+ var f = '';
+ if (b || typeof b === 'string') {
+ b = b.split('?');
+ b = b[1] || b[0];
+ b = b.split('&');
+ for (var i = 0; i < b.length; i++) {
+ var c = b[i].split('=');
+ if (c[0] === a) {
+ f = decodeURIComponent(c[1]);
+ }
+ }
+ }
+ return f;
+ }
+ },
+ resizer: {
+ dragElement: null,
+ oldZIndex: 99,
+ newZIndex: 999,
+ left: modx.config.tree_width,
+ id: 'resizer',
+ switcher: 'hideMenu',
+ background: 'rgba(0, 0, 0, 0.1)',
+ mask: null,
+ init: function() {
+ if (!d.getElementById(modx.resizer.id)) {
+ return;
+ }
+ modx.resizer.mask = d.createElement('div');
+ modx.resizer.mask.id = 'mask_resizer';
+ modx.resizer.mask.style.zIndex = modx.resizer.oldZIndex;
+ d.getElementById(modx.resizer.id).onmousedown = modx.resizer.onMouseDown;
+ d.getElementById(modx.resizer.id).onmouseup = modx.resizer.mask.onmouseup = modx.resizer.onMouseUp;
+ if (modx.isMobile) {
+ var x, y, tree = d.getElementById('tree'), h = tree.offsetWidth;
+ d.getElementById('frameset').appendChild(modx.resizer.mask);
+ w.addEventListener('touchstart', function(e) {
+ if (!/tab|tab\-row|tab\-row\-container/.test(e.target.className || e.target.offsetParent.className)) {
+ x = e.changedTouches[0].clientX;
+ y = e.changedTouches[0].clientY;
+ this.swipe = true;
+ this.sidebar = !d.body.classList.contains('sidebar-closed');
+ } else {
+ this.swipe = false;
+ }
+ }, false);
+ w.addEventListener('touchmove', function(e) {
+ var touch = e.changedTouches[0];
+ tree.style.transition = 'none';
+ tree.style.WebkitTransition = 'none';
+ modx.resizer.mask.style.transition = 'none';
+ modx.resizer.mask.style.WebkitTransition = 'none';
+ modx.resizer.mask.style.visibility = 'visible';
+ var ax = touch.clientX - x;
+ var ay = touch.clientY - y;
+ if (Math.abs(ax) > Math.abs(ay) && this.swipe) {
+ if (ax < 0 && this.sidebar) {
+ if (Math.abs(ax) > h) ax = -h;
+ tree.style.transform = 'translate3d(' + ax + 'px, 0, 0)';
+ tree.style.WebkitTransform = 'translate3d(' + ax + 'px, 0, 0)';
+ modx.resizer.mask.style.opacity = (0.5 - 0.5 / -h * ax).toFixed(2);
+ if (Math.abs(ax) > h / 3) {
+ this.swipe = 'left';
+ } else {
+ this.swipe = 'right';
+ }
+ } else if (ax > 0 && !this.sidebar) {
+ if (Math.abs(ax) > h) ax = h;
+ tree.style.transform = 'translate3d(' + -(h - ax) + 'px, 0, 0)';
+ tree.style.WebkitTransform = 'translate3d(' + -(h - ax) + 'px, 0, 0)';
+ modx.resizer.mask.style.opacity = (0.5 / h * ax).toFixed(2);
+ if (Math.abs(ax) > h / 3) {
+ this.swipe = 'right';
+ } else {
+ this.swipe = 'left';
+ }
+ }
+ }
+ }, false);
+ w.addEventListener('touchend', function() {
+ if (this.swipe === 'left') {
+ d.body.classList.add('sidebar-closed');
+ modx.resizer.setWidth(0);
+ }
+ if (this.swipe === 'right') {
+ d.body.classList.remove('sidebar-closed');
+ modx.resizer.setWidth(h);
+ }
+ tree.style.cssText = '';
+ modx.resizer.mask.style.cssText = '';
+ }, false);
+ }
+ },
+ onMouseDown: function(e) {
+ e = e || w.event;
+ modx.resizer.dragElement = e.target !== null ? e.target : e.srcElement;
+ if ((e.buttons === 1 || e.button === 0) && modx.resizer.dragElement.id === modx.resizer.id) {
+ modx.resizer.oldZIndex = modx.resizer.dragElement.style.zIndex;
+ modx.resizer.dragElement.style.zIndex = modx.resizer.newZIndex;
+ modx.resizer.dragElement.style.background = modx.resizer.background;
+ localStorage.setItem('MODX_widthSideBar', modx.resizer.dragElement.offsetLeft > 0 ? modx.resizer.dragElement.offsetLeft : 0);
+ d.body.appendChild(modx.resizer.mask);
+ d.onmousemove = modx.resizer.onMouseMove;
+ d.body.focus();
+ d.body.classList.add('resizer_move');
+ d.onselectstart = function() {
+ return false;
+ };
+ modx.resizer.dragElement.ondragstart = function() {
+ return false;
+ };
+ return false;
+ }
+ },
+ onMouseMove: function(e) {
+ e = e || w.event;
+ if (e.clientX > 0) {
+ modx.resizer.left = e.clientX;
+ } else {
+ modx.resizer.left = 0;
+ }
+ modx.resizer.dragElement.style.left = modx.pxToRem(modx.resizer.left) + 'rem';
+ d.getElementById('tree').style.width = modx.pxToRem(modx.resizer.left) + 'rem';
+ d.getElementById('main').style.left = modx.pxToRem(modx.resizer.left) + 'rem';
+ if (e.clientX < -2 || e.clientY < -2) {
+ modx.resizer.onMouseUp(e);
+ }
+ },
+ onMouseUp: function(e) {
+ if (modx.resizer.dragElement !== null && e.button === 0 && modx.resizer.dragElement.id === modx.resizer.id) {
+ if (e.clientX > 0) {
+ d.body.classList.remove('sidebar-closed');
+ modx.resizer.left = e.clientX;
+ } else {
+ d.body.classList.add('sidebar-closed');
+ modx.resizer.left = 0;
+ }
+ d.cookie = 'MODX_widthSideBar=' + modx.pxToRem(modx.resizer.left);
+ modx.resizer.dragElement.style.zIndex = modx.resizer.oldZIndex;
+ modx.resizer.dragElement.style.background = '';
+ modx.resizer.dragElement.ondragstart = null;
+ modx.resizer.dragElement = null;
+ d.body.classList.remove('resizer_move');
+ d.body.removeChild(modx.resizer.mask);
+ d.onmousemove = null;
+ d.onselectstart = null;
+ }
+ },
+ toggle: function() {
+ if (modx.isMobile || w.innerWidth <= modx.minWidth) {
+ if (d.body.classList.contains('sidebar-closed')) {
+ d.body.classList.remove('sidebar-closed');
+ localStorage.setItem('MODX_widthSideBar', 0);
+ d.cookie = 'MODX_widthSideBar=' + modx.pxToRem(parseInt(d.getElementById('tree').offsetWidth));
+ } else {
+ localStorage.setItem('MODX_widthSideBar', parseInt(d.getElementById('tree').offsetWidth));
+ d.body.classList.add('sidebar-closed');
+ d.cookie = 'MODX_widthSideBar=0';
+ }
+ } else {
+ var p = d.getElementById('tree').offsetWidth !== 0 ? 0 : parseInt(localStorage.getItem('MODX_widthSideBar')) ? parseInt(localStorage.getItem('MODX_widthSideBar')) : modx.config.tree_width;
+ modx.resizer.setWidth(p);
+ }
+ },
+ setWidth: function(a) {
+ if (a > 0) {
+ localStorage.setItem('MODX_widthSideBar', 0);
+ d.body.classList.remove('sidebar-closed');
+ } else {
+ localStorage.setItem('MODX_widthSideBar', parseInt(d.getElementById('tree').offsetWidth));
+ d.body.classList.add('sidebar-closed');
+ }
+ d.cookie = 'MODX_widthSideBar=' + modx.pxToRem(a);
+ d.getElementById('tree').style.width = modx.pxToRem(a) + 'rem';
+ d.getElementById('resizer').style.left = modx.pxToRem(a) + 'rem';
+ d.getElementById('main').style.left = modx.pxToRem(a) + 'rem';
+ },
+ setDefaultWidth: function() {
+ modx.resizer.setWidth(modx.remToPx(modx.config.tree_width));
+ }
+ },
+ tree: {
+ ctx: null,
+ rpcNode: null,
+ itemToChange: '',
+ selectedObjectName: null,
+ selectedObject: 0,
+ selectedObjectDeleted: 0,
+ selectedObjectUrl: '',
+ drag: false,
+ deleted: [],
+ init: function() {
+ this.restoreTree();
+ },
+ draggable: function() {
+ if (modx.permission.dragndropdocintree) {
+ var els = d.querySelectorAll('#treeRoot a:not(.empty)');
+ for (var i = 0; i < els.length; i++) {
+ var el = els[i];
+ el.onmousedown = this.onmousedown;
+ el.ondragstart = this.ondragstart;
+ el.ondragenter = this.ondragenter;
+ el.ondragover = this.ondragover;
+ el.ondragleave = this.ondragleave;
+ el.ondrop = this.ondrop;
+ }
+ }
+ },
+ onmousedown: function(e) {
+ if (e.ctrlKey) {
+ this.parentNode.removeAttribute('draggable');
+ return true;
+ } else {
+ var roles = this.dataset.roles + (this.parentNode.parentNode.id !== 'treeRoot' ? this.parentNode.parentNode.previousSibling.dataset.roles : '');
+ var draggable = roles && modx.user.role !== 1 ? roles.split(',').map(Number).indexOf(modx.user.role) > -1 : true;
+ modx.tree.itemToChange = this.dataset.id || this.parentNode.id.replace('node', '');
+ modx.tree.selectedObjectName = this.dataset.titleEsc;
+ if (draggable) {
+ this.parentNode.draggable = true;
+ this.parentNode.ondragstart = modx.tree.ondragstart;
+ } else {
+ this.parentNode.draggable = false;
+ this.parentNode.ondragstart = function() {
+ return false;
+ };
+ }
+ }
+ },
+ ondragstart: function(e) {
+ e.dataTransfer.effectAllowed = 'all';
+ e.dataTransfer.dropEffect = 'all';
+ e.dataTransfer.setData('text', this.id.substr(4));
+ },
+ ondragenter: function(e) {
+ if (d.getElementById('node' + modx.tree.itemToChange) === (this.parentNode.closest('#node' + modx.tree.itemToChange) || this.parentNode)) {
+ this.parentNode.className = '';
+ e.dataTransfer.effectAllowed = 'none';
+ e.dataTransfer.dropEffect = 'none';
+ modx.tree.drag = false;
+ } else {
+ this.parentNode.className = 'dragenter';
+ e.dataTransfer.effectAllowed = 'copy';
+ e.dataTransfer.dropEffect = 'copy';
+ modx.tree.drag = true;
+ }
+ e.preventDefault();
+ },
+ ondragover: function(e) {
+ if (modx.tree.drag) {
+ var a = e.clientY;
+ var b = parseInt(this.getBoundingClientRect().top);
+ var c = a - b;
+ if (c > this.offsetHeight / 1.51) {
+ //this.parentNode.className = 'dragafter';
+ this.parentNode.classList.add('dragafter');
+ this.parentNode.classList.remove('dragbefore');
+ this.parentNode.classList.remove('dragenter');
+ e.dataTransfer.effectAllowed = 'link';
+ e.dataTransfer.dropEffect = 'link';
+ } else if (c < this.offsetHeight / 3) {
+ //this.parentNode.className = 'dragbefore';
+ this.parentNode.classList.add('dragbefore');
+ this.parentNode.classList.remove('dragafter');
+ this.parentNode.classList.remove('dragenter');
+ e.dataTransfer.effectAllowed = 'link';
+ e.dataTransfer.dropEffect = 'link';
+ } else {
+ //this.parentNode.className = 'dragenter';
+ this.parentNode.classList.add('dragenter');
+ this.parentNode.classList.remove('dragafter');
+ this.parentNode.classList.remove('dragbefore');
+ e.dataTransfer.effectAllowed = 'copy';
+ e.dataTransfer.dropEffect = 'copy';
+ }
+ } else {
+ e.dataTransfer.effectAllowed = 'none';
+ e.dataTransfer.dropEffect = 'none';
+ modx.tree.drag = false;
+ }
+ e.preventDefault();
+ },
+ ondragleave: function(e) {
+ this.parentNode.className = '';
+ this.parentNode.removeAttribute('draggable');
+ e.preventDefault();
+ },
+ ondrop: function(e) {
+ var el = d.getElementById('node' + modx.tree.itemToChange),
+ els = null,
+ id = modx.tree.itemToChange,
+ parent = 0,
+ menuindex = [],
+ level = 0,
+ indent = el.firstChild.querySelector('.indent'),
+ i = 0;
+ indent.innerHTML = '';
+ el.removeAttribute('draggable');
+ if (this.parentNode.classList.contains('dragenter')) {
+ parent = parseInt(this.parentNode.id.substr(4));
+ level = parseInt(this.dataset.level) + 1;
+ for (i = 0; i < level; i++) {
+ indent.innerHTML += '
';
+ }
+ if (this.nextSibling) {
+ if (this.nextSibling.innerHTML) {
+ this.nextSibling.appendChild(el);
+ } else {
+ el.parentNode.removeChild(el);
+ }
+ els = this.parentNode.lastChild.children;
+ for (i = 0; i < els.length; i++) {
+ menuindex[i] = els[i].id.substr(4);
+ }
+ } else {
+ el.parentNode.removeChild(el);
+ d.querySelector('#node' + parent + ' .icon').innerHTML = parseInt(this.dataset.private) ? modx.style.tree_folder_secure : modx.style.tree_folder;
+ }
+ modx.tree.ondragupdate(this, id, parent, menuindex);
+ }
+ if (this.parentNode.classList.contains('dragafter')) {
+ parent = /node/.test(this.parentNode.parentNode.parentNode.id) ? parseInt(this.parentNode.parentNode.parentNode.id.substr(4)) : 0;
+ level = parseInt(this.dataset.level);
+ for (i = 0; i < level; i++) {
+ indent.innerHTML += '
';
+ }
+ this.parentNode.parentNode.insertBefore(el, this.parentNode.nextSibling);
+ els = this.parentNode.parentNode.children;
+ for (i = 0; i < els.length; i++) {
+ menuindex[i] = els[i].id.substr(4);
+ }
+ modx.tree.ondragupdate(this, id, parent, menuindex);
+ }
+ if (this.parentNode.classList.contains('dragbefore')) {
+ parent = /node/.test(this.parentNode.parentNode.parentNode.id) ? parseInt(this.parentNode.parentNode.parentNode.id.substr(4)) : 0;
+ level = parseInt(this.dataset.level);
+ for (i = 0; i < level; i++) {
+ indent.innerHTML += '
';
+ }
+ this.parentNode.parentNode.insertBefore(el, this.parentNode);
+ els = this.parentNode.parentNode.children;
+ for (i = 0; i < els.length; i++) {
+ menuindex[i] = els[i].id.substr(4);
+ }
+ modx.tree.ondragupdate(this, id, parent, menuindex);
+ }
+ this.parentNode.removeAttribute('class');
+ this.parentNode.removeAttribute('draggable');
+ e.preventDefault();
+ },
+ ondragupdate: function(a, id, parent, menuindex) {
+ var roles = a.dataset.roles + (a.parentNode.parentNode.id !== 'treeRoot' ? a.parentNode.parentNode.previousSibling.dataset.roles : '');
+ if (!(roles && modx.user.role !== 1 ? roles.split(',').map(Number).indexOf(modx.user.role) > -1 : true)) {
+ alert(modx.lang.error_no_privileges);
+ modx.tree.restoreTree();
+ return;
+ }
+ modx.post(modx.MODX_MANAGER_URL + 'media/style/' + modx.config.theme + '/ajax.php', {
+ a: 'movedocument',
+ id: id,
+ parent: parent,
+ menuindex: menuindex
+ }, function(r) {
+ if (r.errors) alert(r.errors);
+ modx.tree.restoreTree();
+ }, 'json');
+ var b = w.main.frameElement.contentWindow.location.search.substr(1);
+ if (modx.getActionFromUrl(b, 27) && parseInt(modx.main.getQueryVariable('id', b)) === parseInt(id)) {
+ var index = menuindex.indexOf(id),
+ elMenuIndex = w.main.document.querySelector('#documentPane input[name=menuindex]'),
+ elParent = w.main.document.querySelector('#documentPane input[name=parent]'),
+ elParentName = w.main.document.querySelector('#documentPane #parentName');
+ if (elMenuIndex && index >= 0) elMenuIndex.value = index;
+ if (elParent && elParentName) {
+ elParent.value = parent;
+ elParentName.innerHTML = parent + ' (' + d.querySelector('#node' + parent + ' > a').dataset.titleEsc + ')';
+ }
+ }
+ },
+ toggleTheme: function() {
+ var myCodeMirrors = w.main.myCodeMirrors, key;
+ if (d.body.classList.contains('dark')) {
+ d.body.classList.remove('dark');
+ w.main.document.body.classList.remove('dark');
+ d.cookie = 'MODX_themeColor=';
+ if (myCodeMirrors) {
+ for (key in myCodeMirrors) {
+ if (myCodeMirrors.hasOwnProperty(key)) {
+ w.main.document.getElementsByName(key)[0].nextElementSibling.classList.remove('cm-s-' + myCodeMirrors[key].options.darktheme);
+ w.main.document.getElementsByName(key)[0].nextElementSibling.classList.add('cm-s-' + myCodeMirrors[key].options.defaulttheme);
+ }
+ }
+ }
+ } else {
+ d.body.classList.add('dark');
+ w.main.document.body.classList.add('dark');
+ d.cookie = 'MODX_themeColor=dark';
+ if (myCodeMirrors) {
+ for (key in myCodeMirrors) {
+ if (myCodeMirrors.hasOwnProperty(key)) {
+ w.main.document.getElementsByName(key)[0].nextElementSibling.classList.add('cm-s-' + myCodeMirrors[key].options.darktheme);
+ w.main.document.getElementsByName(key)[0].nextElementSibling.classList.remove('cm-s-' + myCodeMirrors[key].options.defaulttheme);
+ }
+ }
+ }
+ }
+ },
+ toggleNode: function(e, id) {
+ e = e || w.event;
+ if (e.ctrlKey) return;
+ e.stopPropagation();
+ var el = d.getElementById('node' + id).firstChild;
+ this.rpcNode = el.nextSibling;
+ var toggle = el.querySelector('.toggle'),
+ icon = el.querySelector('.icon');
+ if (this.rpcNode.innerHTML === '') {
+ if (toggle) toggle.innerHTML = el.dataset.iconCollapsed;
+ icon.innerHTML = el.dataset.iconFolderOpen;
+ var rpcNodeText = this.rpcNode.innerHTML,
+ loadText = modx.lang.loading_doc_tree;
+ modx.openedArray[id] = 1;
+ if (rpcNodeText === '' || rpcNodeText.indexOf(loadText) > 0) {
+ var folderState = this.getFolderState();
+ d.getElementById('treeloader').classList.add('visible');
+ modx.post(modx.MODX_MANAGER_URL + 'media/style/' + modx.config.theme + '/ajax.php', 'a=1&f=nodes&indent=' + el.dataset.indent + '&parent=' + id + '&expandAll=' + el.dataset.expandall + folderState, function(r) {
+ modx.tree.rpcLoadData(r);
+ modx.tree.draggable();
+ });
+ }
+ this.saveFolderState();
+ } else {
+ if (toggle) toggle.innerHTML = el.dataset.iconExpanded;
+ icon.innerHTML = el.dataset.iconFolderClose;
+ delete modx.openedArray[id];
+ this.rpcNode.style.overflow = 'hidden';
+ $(this.rpcNode.firstChild).animate({
+ marginTop: -this.rpcNode.offsetHeight + 'px'
+ }, 100, function() {
+ this.parentNode.innerHTML = '';
+ });
+ this.saveFolderState();
+ }
+ e.preventDefault();
+ },
+ rpcLoadData: function(a) {
+ if (this.rpcNode !== null) {
+ var el;
+ this.rpcNode.innerHTML = typeof a === 'object' ? a.responseText : a;
+ this.rpcNode.loaded = true;
+ if (this.rpcNode.firstChild.tagName === 'DIV') {
+ if (this.rpcNode.id === 'treeRoot') {
+ el = d.getElementById('binFull');
+ if (el) {
+ this.showBin(true);
+ } else {
+ this.showBin(false);
+ }
+ } else {
+ this.rpcNode.style.overflow = 'hidden';
+ this.rpcNode.firstElementChild.style.marginTop = -this.rpcNode.offsetHeight + 'px';
+ $(this.rpcNode.firstChild).animate({
+ marginTop: 0
+ }, 100);
+ }
+ d.getElementById('treeloader').classList.remove('visible');
+ } else {
+ el = d.getElementById('loginfrm');
+ if (el) {
+ this.rpcNode.parentNode.removeChild(this.rpcNode);
+ w.location.href = modx.MODX_MANAGER_URL;
+ }
+ }
+ }
+ },
+ treeAction: function(e, id, title) {
+ if (e.ctrlKey) return;
+ var el = d.getElementById('node' + id).firstChild,
+ treepageclick = el.dataset.treepageclick,
+ showchildren = parseInt(el.dataset.showchildren),
+ openfolder = parseInt(el.dataset.openfolder);
+ title = title || el.dataset && el.dataset.titleEsc;
+ if (tree.ca === 'move') {
+ try {
+ this.setSelectedByContext(id);
+ w.main.setMoveValue(id, title);
+ } catch (oException) {
+ alert(modx.lang.unable_set_parent);
+ }
+ }
+ if (tree.ca === 'open' || tree.ca === '') {
+ if (id === 0) {
+ href = '?a=2';
+ } else {
+ var href = '';
+ if (!isNaN(treepageclick) && isFinite(treepageclick)) {
+ href = '?a=' + treepageclick + '&r=1&id=' + id + (openfolder === 0 ? this.getFolderState() : '');
+ } else {
+ href = treepageclick;
+ }
+ if (openfolder === 2) {
+ if (showchildren !== 1) {
+ href = '';
+ }
+ this.toggleNode(e, id);
+ }
+ }
+ if (href) {
+ if (e.shiftKey) {
+ w.getSelection().removeAllRanges();
+ modx.openWindow(href);
+ this.restoreTree();
+ } else {
+ modx.tabs({url: modx.MODX_MANAGER_URL + href, title: title + '
(' + id + ') '});
+ if (modx.isMobile) modx.resizer.toggle();
+ }
+ }
+ this.itemToChange = id;
+ this.setSelected(id);
+ }
+ if (tree.ca === 'parent') {
+ try {
+ this.setSelectedByContext(id);
+ w.main.setParent(id, title);
+ } catch (oException) {
+ alert(modx.lang.unable_set_parent);
+ }
+ }
+ if (tree.ca === 'link') {
+ try {
+ this.setSelectedByContext(id);
+ w.main.setLink(id);
+ } catch (oException) {
+ alert(modx.lang.unable_set_link);
+ }
+ }
+ e.preventDefault();
+ },
+ showPopup: function(e, id, title) {
+ if (e.ctrlKey) return;
+ e.preventDefault();
+ var tree = d.getElementById('tree'),
+ el = d.getElementById('node' + id) || e.target,
+ x = 0,
+ y = 0;
+ if (el.firstChild && el.firstChild.dataset && el.firstChild.dataset.contextmenu) {
+ el = el.firstChild;
+ }
+ if (el) {
+ if (el.dataset.contextmenu) {
+ e.target.dataset.toggle = '#contextmenu';
+ modx.hideDropDown(e);
+ this.ctx = d.createElement('div');
+ this.ctx.id = 'contextmenu';
+ this.ctx.className = 'dropdown-menu';
+ d.getElementById(modx.frameset).appendChild(this.ctx);
+ this.setSelectedByContext(id);
+ var dataJson = JSON.parse(el.dataset.contextmenu);
+ for (var key in dataJson) {
+ if (dataJson.hasOwnProperty(key)) {
+ var item = d.createElement('div');
+ for (var k in dataJson[key]) {
+ if (dataJson[key].hasOwnProperty(k)) {
+ if (k.substring(0, 2) === 'on') {
+ var onEvent = dataJson[key][k];
+ item[k] = function(onEvent) {
+ return function(event) {
+ eval(onEvent);
+ };
+ }(onEvent);
+ } else {
+ item[k] = dataJson[key][k];
+ }
+ }
+ }
+ if (key.indexOf('header') === 0) item.className += ' menuHeader';
+ if (key.indexOf('item') === 0) item.className += ' menuLink';
+ if (key.indexOf('seperator') === 0 || key.indexOf('separator') === 0) item.className += ' seperator separator';
+ this.ctx.appendChild(item);
+ }
+ }
+ x = e.clientX > 0 ? e.clientX : e.pageX;
+ y = e.clientY > 0 ? e.clientY : e.pageY;
+ e.view.position = e.view.frameElement ? e.view.frameElement.getBoundingClientRect() : e.target.offsetParent.getBoundingClientRect();
+ if (e.view.frameElement) {
+ x += e.view.position.left;
+ y += e.view.frameElement.offsetParent.offsetTop;
+ } else {
+ if (e.target.parentNode.parentNode.classList.contains('node')) {
+ x += 50;
+ }
+ }
+ if (x > e.view.position.width) {
+ x = e.view.position.width - this.ctx.offsetWidth;
+ }
+ if (y + this.ctx.offsetHeight / 2 > e.view.position.height) {
+ y = e.view.position.height - this.ctx.offsetHeight - 5;
+ } else if (y - this.ctx.offsetHeight / 2 < e.view.position.top) {
+ y = e.view.position.top + 5;
+ } else {
+ y = y - this.ctx.offsetHeight / 2;
+ }
+ this.itemToChange = id;
+ this.selectedObjectName = title;
+ this.dopopup(this.ctx, x + 10, y);
+ } else {
+ el = el.firstChild;
+ var ctx = d.getElementById('mx_contextmenu');
+ e.target.dataset.toggle = '#mx_contextmenu';
+ modx.hideDropDown(e);
+ this.setSelectedByContext(id);
+ var i4 = d.getElementById('item4'),
+ i5 = d.getElementById('item5'),
+ i8 = d.getElementById('item8'),
+ i9 = d.getElementById('item9'),
+ i10 = d.getElementById('item10'),
+ i11 = d.getElementById('item11');
+ if (modx.permission.publish_document === 1) {
+ i9.style.display = 'block';
+ i10.style.display = 'block';
+ if (parseInt(el.dataset.published) === 1) {
+ i9.style.display = 'none';
+ } else {
+ i10.style.display = 'none';
+ }
+ } else if (i5) {
+ i5.style.display = 'none';
+ }
+ if (modx.permission.delete_document === 1) {
+ i4.style.display = 'block';
+ i8.style.display = 'block';
+ if (parseInt(el.dataset.deleted) === 1) {
+ i4.style.display = 'none';
+ i9.style.display = 'none';
+ i10.style.display = 'none';
+ } else {
+ i8.style.display = 'none';
+ }
+ }
+ if (i11) {
+ if (parseInt(el.dataset.isfolder) === 1) {
+ i11.style.display = 'block';
+ } else {
+ i11.style.display = 'none';
+ }
+ }
+ var bodyHeight = tree.offsetHeight + tree.offsetTop;
+ x = e.clientX > 0 ? e.clientX : e.pageX;
+ y = e.clientY > 0 ? e.clientY : e.pageY;
+ if (y + ctx.offsetHeight / 2 > bodyHeight) {
+ y = bodyHeight - ctx.offsetHeight - 5;
+ } else if (y - ctx.offsetHeight / 2 < tree.offsetTop) {
+ y = tree.offsetTop + 5;
+ } else {
+ y = y - ctx.offsetHeight / 2;
+ }
+ if (e.target.parentNode.parentNode.classList.contains('node')) x += 50;
+ this.itemToChange = id;
+ this.selectedObjectName = title;
+ if (ctx.classList.contains('show')) {
+ ctx.classList.remove('show');
+ setTimeout(function() {
+ modx.tree.dopopup(ctx, x + 10, y);
+ }, 100);
+ } else {
+ this.dopopup(ctx, x + 10, y);
+ }
+ }
+ e.stopPropagation();
+ }
+ },
+ dopopup: function(el, a, b) {
+ if (this.selectedObjectName.length > 30) {
+ this.selectedObjectName = this.selectedObjectName.substr(0, 30) + '...';
+ }
+ var f = d.getElementById('nameHolder');
+ f.innerHTML = this.selectedObjectName;
+ el.style.left = a + (modx.config.textdir ? '-190' : '') + 'px';
+ el.style.top = b + 'px';
+ el.classList.add('show');
+ },
+ menuHandler: function(a) {
+ switch (a) {
+ case 1:
+ this.setActiveFromContextMenu(this.itemToChange);
+ modx.tabs({url: modx.MODX_MANAGER_URL + '?a=3&id=' + this.itemToChange, title: this.selectedObjectName + '
(' + this.itemToChange + ') '});
+ break;
+ case 2:
+ this.setActiveFromContextMenu(this.itemToChange);
+ modx.tabs({url: modx.MODX_MANAGER_URL + '?a=27&r=1&id=' + this.itemToChange, title: this.selectedObjectName + '
(' + this.itemToChange + ') '});
+ break;
+ case 3:
+ modx.tabs({url: modx.MODX_MANAGER_URL + '?a=4&pid=' + this.itemToChange, title: this.selectedObjectName + '
(' + this.itemToChange + ') '});
+ break;
+ case 4:
+ if (this.selectedObjectDeleted) {
+ alert('"' + this.selectedObjectName + '" ' + modx.lang.already_deleted);
+ } else if (confirm('"' + this.selectedObjectName + '"\n\n' + modx.lang.confirm_delete_resource) === true) {
+ modx.tabs({url: modx.MODX_MANAGER_URL + '?a=6&id=' + this.itemToChange, title: this.selectedObjectName + '
(' + this.itemToChange + ') '});
+ }
+ break;
+ case 5:
+ this.setActiveFromContextMenu(this.itemToChange);
+ modx.tabs({url: modx.MODX_MANAGER_URL + '?a=51&id=' + this.itemToChange, title: this.selectedObjectName + '
(' + this.itemToChange + ') '});
+ break;
+ case 6:
+ modx.tabs({url: modx.MODX_MANAGER_URL + '?a=72&pid=' + this.itemToChange, title: this.selectedObjectName + '
(' + this.itemToChange + ') '});
+ break;
+ case 7:
+ if (confirm(modx.lang.confirm_resource_duplicate) === true) {
+ modx.tabs({url: modx.MODX_MANAGER_URL + '?a=94&id=' + this.itemToChange, title: this.selectedObjectName + '
(' + this.itemToChange + ') '});
+ }
+ break;
+ case 8:
+ if (d.getElementById('node' + this.itemToChange).firstChild.dataset.deleted) {
+ if (confirm('"' + this.selectedObjectName + '" ' + modx.lang.confirm_undelete) === true) {
+ modx.tabs({url: modx.MODX_MANAGER_URL + '?a=63&id=' + this.itemToChange, title: this.selectedObjectName + '
(' + this.itemToChange + ') '});
+ }
+ } else {
+ alert('"' + this.selectedObjectName + '"' + modx.lang.not_deleted);
+ }
+ break;
+ case 9:
+ if (confirm('"' + this.selectedObjectName + '" ' + modx.lang.confirm_publish) === true) {
+ modx.tabs({url: modx.MODX_MANAGER_URL + '?a=61&id=' + this.itemToChange, title: this.selectedObjectName + '
(' + this.itemToChange + ') '});
+ }
+ break;
+ case 10:
+ if (this.itemToChange !== modx.config.site_start) {
+ if (confirm('"' + this.selectedObjectName + '" ' + modx.lang.confirm_unpublish) === true) {
+ modx.tabs({url: modx.MODX_MANAGER_URL + '?a=62&id=' + this.itemToChange, title: this.selectedObjectName + '
(' + this.itemToChange + ') '});
+ }
+ } else {
+ alert('Document is linked to site_start variable and cannot be unpublished!');
+ }
+ break;
+ case 11:
+ modx.tabs({url: modx.MODX_MANAGER_URL + '?a=56&id=' + this.itemToChange, title: this.selectedObjectName + '
(' + this.itemToChange + ') '});
+ break;
+ case 12:
+ w.open(d.getElementById('node' + this.itemToChange).firstChild.dataset.href, 'previeWin');
+ break;
+ default:
+ alert('Unknown operation command.');
+ }
+ },
+ setSelected: function(a) {
+ var el = d.querySelector('#tree .current');
+ if (el) el.classList.remove('current');
+ if (a) {
+ if (typeof a === 'object') {
+ a.classList.add('current');
+ } else {
+ el = d.querySelector('#node' + a + '>.node') || d.getElementById('node' + a);
+ if (el) el.classList.add('current');
+ }
+ }
+ },
+ setActiveFromContextMenu: function(a) {
+ var el = d.querySelector('#node' + a + '>.node');
+ if (el) this.setSelected(el);
+ },
+ setSelectedByContext: function(a) {
+ var el = d.querySelector('#treeRoot .selected');
+ if (el) el.classList.remove('selected');
+ el = d.querySelector('#node' + a + '>.node');
+ if (el) el.classList.add('selected');
+ },
+ setItemToChange: function() {
+ var a = w.main.document && (w.main.document.URL || w.main.document.location.search),
+ b = modx.getActionFromUrl(a);
+ if (a && modx.typesactions[b]) {
+ this.itemToChange = (modx.typesactions[b] === 7 ? '' : modx.typesactions[b] + '_') + parseInt(modx.main.getQueryVariable('id', a));
+ } else {
+ this.itemToChange = '';
+ }
+ this.setSelected(this.itemToChange);
+ },
+ restoreTree: function() {
+ //console.log('modx.tree.restoreTree()');
+ if (d.getElementById('treeRoot')) {
+ d.getElementById('treeloader').classList.add('visible');
+ this.setItemToChange();
+ this.rpcNode = d.getElementById('treeRoot');
+ modx.post(modx.MODX_MANAGER_URL + 'media/style/' + modx.config.theme + '/ajax.php', 'a=1&f=nodes&indent=1&parent=0&expandAll=2&id=' + this.itemToChange, function(r) {
+ modx.tree.rpcLoadData(r);
+ modx.tree.draggable();
+ });
+ }
+ },
+ expandTree: function() {
+ this.rpcNode = d.getElementById('treeRoot');
+ d.getElementById('treeloader').classList.add('visible');
+ modx.post(modx.MODX_MANAGER_URL + 'media/style/' + modx.config.theme + '/ajax.php', 'a=1&f=nodes&indent=1&parent=0&expandAll=1&id=' + this.itemToChange, function(r) {
+ modx.tree.rpcLoadData(r);
+ modx.tree.saveFolderState();
+ modx.tree.draggable();
+ });
+ },
+ collapseTree: function() {
+ this.rpcNode = d.getElementById('treeRoot');
+ d.getElementById('treeloader').classList.add('visible');
+ modx.post(modx.MODX_MANAGER_URL + 'media/style/' + modx.config.theme + '/ajax.php', 'a=1&f=nodes&indent=1&parent=0&expandAll=0&id=' + this.itemToChange, function(r) {
+ modx.openedArray = [];
+ modx.tree.saveFolderState();
+ modx.tree.rpcLoadData(r);
+ modx.tree.draggable();
+ });
+ },
+ updateTree: function() {
+ this.rpcNode = d.getElementById('treeRoot');
+ d.getElementById('treeloader').classList.add('visible');
+ var a = d.sortFrm;
+ var b = 'a=1&f=nodes&indent=1&parent=0&expandAll=2&dt=' + a.dt.value + '&tree_sortby=' + a.sortby.value + '&tree_sortdir=' + a.sortdir.value + '&tree_nodename=' + a.nodename.value + '&id=' + this.itemToChange + '&showonlyfolders=' + a.showonlyfolders.value;
+ modx.post(modx.MODX_MANAGER_URL + 'media/style/' + modx.config.theme + '/ajax.php', b, function(r) {
+ modx.tree.rpcLoadData(r);
+ modx.tree.draggable();
+ });
+ },
+ getFolderState: function() {
+ var a;
+ if (modx.openedArray !== [0]) {
+ a = '&opened=';
+ for (var key in modx.openedArray) {
+ if (modx.openedArray[key]) {
+ a += key + '|';
+ }
+ }
+ } else {
+ a = '&opened=';
+ }
+ return a;
+ },
+ saveFolderState: function() {
+ modx.post(modx.MODX_MANAGER_URL + 'media/style/' + modx.config.theme + '/ajax.php', 'a=1&f=nodes&savestateonly=1' + this.getFolderState());
+ },
+ showSorter: function(e) {
+ e = e || w.event;
+ var el = d.getElementById('floater');
+ e.target.dataset.toggle = '#floater';
+ el.classList.toggle('show');
+ el.onclick = function(e) {
+ e.stopPropagation();
+ };
+ },
+ emptyTrash: function() {
+ if (confirm(modx.lang.confirm_empty_trash) === true) {
+ modx.get(modx.MODX_MANAGER_URL + '?a=64', function() {
+ modx.tabsClose(modx.tree.deleted);
+ modx.tree.deleted = [];
+ modx.tree.restoreTree();
+ });
+ }
+ },
+ showBin: function(a) {
+ var el = d.getElementById('treeMenu_emptytrash');
+ if (el) {
+ if (a) {
+ el.title = modx.lang.empty_recycle_bin;
+ el.classList.remove('disabled');
+ el.innerHTML = modx.style.empty_recycle_bin;
+ el.onclick = function() {
+ modx.tree.emptyTrash();
+ };
+ var els = d.getElementById('tree').querySelectorAll('.deleted');
+ for (var i = 0; i < els.length; i++) {
+ this.deleted[els[i].dataset.id] = 'evo-tab-page-' + modx.urlToUid('a=27&id=' + els[i].dataset.id);
+ }
+ } else {
+ el.title = modx.lang.empty_recycle_bin_empty;
+ el.classList.add('disabled');
+ el.innerHTML = modx.style.empty_recycle_bin_empty;
+ el.onclick = null;
+ }
+ }
+ },
+ unlockElement: function(a, b, c) {
+ var m = modx.lockedElementsTranslation.msg.replace('[+id+]', b).replace('[+element_type+]', modx.lockedElementsTranslation['type' + a]);
+ if (confirm(m) === true) {
+ modx.get(modx.MODX_MANAGER_URL + '?a=67&type=' + a + '&id=' + b, function(r) {
+ if (parseInt(r) === 1) {
+ c.parentNode.removeChild(c);
+ } else {
+ alert(r);
+ }
+ });
+ }
+ },
+ resizeTree: function() {}
+ },
+ removeLocks: function() {
+ if (confirm(modx.lang.confirm_remove_locks) === true) {
+ //w.main.location.href = modx.MODX_MANAGER_URL + '?a=67'
+ modx.get(modx.MODX_MANAGER_URL + '?a=67', function() {
+ modx.tree.restoreTree();
+ });
+ }
+ },
+ keepMeAlive: function() {
+ modx.get('includes/session_keepalive.php?tok=' + d.getElementById('sessTokenInput').value + '&o=' + Math.random(), function(r) {
+ r = JSON.parse(r);
+ if (r.status !== 'ok') w.location.href = modx.MODX_MANAGER_URL + '?a=8';
+ });
+ },
+ updateMail: function(a) {
+ try {
+ if (a) {
+ this.post(modx.MODX_MANAGER_URL, {
+ updateMsgCount: true
+ }, function(r) {
+ var c = r.split(','),
+ el = d.getElementById('msgCounter');
+ if (c[0] > 0) {
+ if (el) {
+ el.innerHTML = c[0];
+ el.style.display = 'block';
+ }
+ } else {
+ if (el) el.style.display = 'none';
+ }
+ if (c[1] > 0) {
+ el = d.getElementById('newMail');
+ if (el) {
+ el.innerHTML = '
' + modx.style.email + modx.lang.inbox + ' (' + c[0] + ' / ' + c[1] + ') ';
+ el.style.display = 'block';
+ }
+ }
+ if (modx.config.mail_check_timeperiod > 0) setTimeout('modx.updateMail(true)', 1000 * modx.config.mail_check_timeperiod);
+ });
+ }
+ } catch (oException) {
+ setTimeout('modx.updateMail(true)', 1000 * modx.config.mail_check_timeperiod);
+ }
+ },
+ openWindow: function(a) {
+ if (typeof a !== 'object') {
+ a = {
+ 'url': a
+ };
+ }
+ if (!a.width) a.width = parseInt(w.innerWidth * 0.9) + 'px';
+ if (!a.height) a.height = parseInt(w.innerHeight * 0.8) + 'px';
+ if (!a.left) a.left = parseInt(w.innerWidth * 0.05) + 'px';
+ if (!a.top) a.top = parseInt(w.innerHeight * 0.1) + 'px';
+ if (!a.title) a.title = Math.floor((Math.random() * 999999) + 1);
+ if (a.url) {
+ if (this.plugins.EVOmodal === 1) {
+ top.EVO.modal.show(a);
+ } else {
+ w.open(a.url, a.title, 'width=' + a.width + ',height=' + a.height + ',top=' + a.top + ',left=' + a.left + ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no');
+ }
+ }
+ },
+ tabsClose: function(a) {
+ if (modx.config.global_tabs && a) {
+ for (var k in a) {
+ if (a.hasOwnProperty(k)) {
+ var el = d.getElementById(a[k]);
+ if (el) {
+ el.firstElementChild.contentWindow.documentDirty = false;
+ el.close();
+ }
+ }
+ }
+ }
+ },
+ tabs: function(a) {
+ function Tabs(a)
+ {
+ var s = this;
+ this.url = a.url;
+ this.title = a.title || '';
+ this.name = a.name || '';
+ this.timer = null;
+ this.olduid = '';
+ this.closeactions = [6, 61, 62, 63, 94];
+ this.reload = typeof a.reload !== 'undefined' ? a.reload : 1;
+ this.action = modx.getActionFromUrl(a.url);
+ this.uid = modx.getActionFromUrl(a.url, 2) ? 'home' : modx.urlToUid(a.url);
+ this.page = d.getElementById('evo-tab-page-' + this.uid);
+ this.row = d.getElementsByClassName('evo-tab-row')[0].firstElementChild;
+ this.tab = d.getElementById('evo-tab-' + this.uid);
+ if (this.page) {
+ if (this.uid === 'home') {
+ if (this.reload) {
+ this.page.firstElementChild.src = this.url;
+ this.show();
+ } else {
+ this.reload = 1;
+ if (this.tab.onclick === null) {
+ this.tab.onclick = function(e) {
+ s.select.call(s, e, this);
+ };
+ }
+ this.tab.show = function(e) {
+ s.show.call(s, e);
+ };
+ modx.tabs.selected = this.tab;
+ }
+ } else {
+ this.show();
+ if (~this.closeactions.indexOf(this.action)) {
+ this.setDocPublished();
+ modx.get(this.url, function() {
+ modx.tree.restoreTree();
+ });
+ }
+ }
+ } else if (~this.closeactions.indexOf(this.action)) {
+ modx.get(this.url, function() {
+ modx.tree.restoreTree();
+ });
+ } else {
+ this.create();
+ }
+ }
+
+ Tabs.prototype = {
+ create: function() {
+ var s = this;
+ modx.main.work();
+ modx.tabs.selected = this.row.querySelector('.selected');
+ if (modx.tabs.selected) {
+ d.getElementById(modx.tabs.selected.id.replace('tab', 'tab-page')).classList.remove('show');
+ modx.tabs.selected.classList.remove('selected');
+ }
+ this.page = d.createElement('div');
+ this.page.id = 'evo-tab-page-' + this.uid;
+ this.page.className = 'evo-tab-page show';
+ this.page.innerHTML = '
';
+ d.getElementById('main').appendChild(this.page);
+ console.time('load-tab');
+ this.page.firstElementChild.onload = function(e) {
+ s.onload.call(s, e);
+ console.timeEnd('load-tab');
+ };
+ this.tab = d.createElement('h2');
+ this.tab.id = 'evo-tab-' + this.uid;
+ this.tab.className = 'tab selected';
+ this.icon = '';
+ if (!/
';
+ }
+ this.tab.innerHTML = '
' + this.icon + this.title + ' × ';
+ this.row.appendChild(this.tab);
+ this.tab.onclick = function(e) {
+ s.select.call(s, e, this);
+ };
+ this.tab.close = function(e) {
+ s.close.call(s, e);
+ };
+ this.tab.show = function(e) {
+ s.show.call(s, e);
+ };
+ this.page.close = function(e) {
+ s.close.call(s, e);
+ };
+ },
+ onload: function(e) {
+ var s = this;
+ w.main = e.target.contentWindow || e.target.defaultView;
+ this.url = w.main.location.search || w.location.hash.substring(1);
+ this.olduid = this.uid;
+ this.uid = modx.urlToUid(this.url);
+ if (!!w.main.__alertQuit) {
+ w.main.alert = function(a) { };
+ var message = w.main.document.body.innerHTML;
+ w.main.document.body.innerHTML = '';
+ history.pushState(null, d.title, modx.getActionFromUrl(w.location.search, 2) ? modx.MODX_MANAGER_URL : '#' + w.location.search);
+ w.onpopstate = function() {
+ history.go(1);
+ };
+ modx.popup({
+ type: 'warning',
+ title: 'MODX :: Alert',
+ position: 'top center alertQuit',
+ content: message,
+ wrap: 'body'
+ });
+ modx.getLockedElements(modx.getActionFromUrl(this.url), modx.main.getQueryVariable('id', this.url), function(data) {
+ if (!!data) {
+ s.page.close();
+ modx.tree.restoreTree();
+ } else {
+ w.main.location.href = modx.MODX_MANAGER_URL + s.url;
+ w.history.replaceState(null, d.title, modx.getActionFromUrl(s.url, 2) ? modx.MODX_MANAGER_URL : '#' + s.url);
+ }
+ });
+ } else {
+ if (modx.getActionFromUrl(this.url, 2)) {
+ this.close(e);
+ } else if (this.olduid !== this.uid && d.getElementById('evo-tab-' + this.uid)) {
+ this.close(e);
+ d.getElementById('evo-tab-' + this.uid).show();
+ } else {
+ this.title = w.main.document.body.querySelectorAll('h1')[0] && w.main.document.body.querySelectorAll('h1')[0].innerHTML || this.title;
+ if (this.title && this.uid !== 'home') {
+ this.tab.innerHTML = '
' + this.title + ' × ';
+ }
+ this.page.id = 'evo-tab-page-' + this.uid;
+ this.tab.id = 'evo-tab-' + this.uid;
+ this.tab.classList.remove('changed');
+ this.show();
+ modx.main.onload(e);
+ w.main.document.addEventListener('click', function a(e) {
+ if (typeof e.view.documentDirty !== 'undefined' && e.view.documentDirty && !s.tab.classList.contains('changed')) {
+ s.tab.classList.add('changed');
+ this.removeEventListener(e.type, a, false);
+ }
+ }, false);
+ w.main.document.addEventListener('keyup', function a(e) {
+ if (typeof e.view.documentDirty !== 'undefined' && e.view.documentDirty && !s.tab.classList.contains('changed')) {
+ s.tab.classList.add('changed');
+ this.removeEventListener(e.type, a, false);
+ }
+ }, false);
+ }
+ }
+ },
+ show: function() {
+ var s = this;
+ modx.tabs.selected = this.row.querySelector('.selected');
+ if (modx.tabs.selected && modx.tabs.selected !== this.tab) {
+ d.getElementById(modx.tabs.selected.id.replace('tab', 'tab-page')).classList.remove('show');
+ modx.tabs.selected.classList.remove('selected');
+ }
+ this.page.classList.add('show');
+ this.tab.classList.add('selected');
+ modx.tabs.selected = this.tab;
+ w.main = this.page.firstElementChild.contentWindow;
+ w.history.replaceState(null, w.main.document.title, modx.getActionFromUrl(w.main.location.search, 2) ? modx.MODX_MANAGER_URL : '#' + w.main.location.search);
+ modx.tree.setItemToChange();
+ modx.main.tabRow.scroll(this.row, this.tab, 350);
+ },
+ close: function(e) {
+ var documentDirty = this.page.firstElementChild.contentWindow.documentDirty;
+ var checkDirt = !!this.page.firstElementChild.contentWindow.checkDirt;
+ if (documentDirty && checkDirt && confirm(this.page.firstElementChild.contentWindow.checkDirt(e)) || !documentDirty) {
+ modx.tabs.selected = this.tab.classList.contains('selected') ? this.tab.previousElementSibling : this.row.querySelector('.selected');
+ this.page.parentNode.removeChild(this.page);
+ this.row.removeChild(this.tab);
+ modx.tabs.selected.show();
+ }
+ },
+ select: function(e) {
+ if (e.target.className === 'tab-close') {
+ this.close(e);
+ } else if (modx.tabs.selected === this.tab) {
+ var s = this;
+ if (this.timer) {
+ clearTimeout(this.timer);
+ this.timer = null;
+ w.main.location.reload();
+ } else {
+ this.timer = setTimeout(function() {
+ s.timer = null;
+ }, 250);
+ }
+ } else {
+ this.show();
+ }
+ },
+ setDocPublished: function() {
+ var el = w.main.document.getElementsByName('publishedcheck')[0];
+ if (el) {
+ el.checked = this.action === 61;
+ w.main.document.getElementsByName('published')[0].value = +el.checked;
+ }
+ if (modx.getActionFromUrl(w.main.location.search, 3)) {
+ w.main.location.reload();
+ }
+ }
+ };
+ if (modx.config.global_tabs) {
+ if (typeof a.currentTarget !== 'undefined') {
+ var e = a;
+ if (e.button === 0 && e.target && (e.target.tagName === 'A' && e.target.target === 'main' || (e.target.parentNode && e.target.parentNode.tagName === 'A' && e.target.parentNode.target === 'main'))) {
+ a = e.target.tagName === 'A' && e.target || e.target.parentNode.tagName === 'A' && e.target.parentNode;
+ if (e.shiftKey) {
+ modx.openWindow({url: a.href});
+ } else {
+ modx.tabs({url: a.href, title: a.innerHTML});
+ }
+ e.preventDefault();
+ }
+ } else {
+ return new Tabs(a);
+ }
+ } else if (a.url) {
+ if (w.main) {
+ w.main.frameElement.src = a.url;
+ } else {
+ modx.openWindow(a.url);
+ }
+ }
+ },
+ popup: function(a) {
+ if (typeof a === 'object' && (a.url || a.content || a.text)) {
+ var o = {
+ addclass: '',
+ animation: 'fade', // fade
+ content: a.content || a.text || '',
+ clickclose: 0,
+ closeall: 0,
+ data: '', // for ajax send data
+ dataType: 'document', // for ajax
+ delay: 5000,
+ draggable: !1, // false | true
+ event: null,
+ height: 'auto', // auto | 100 | 100rem | 100px | 100%
+ hide: 1, // close after delay
+ hover: 1, // close after hover
+ icon: '', // empty | fa class | none
+ iframe: 'iframe', // iframe | ajax
+ margin: '.5rem',
+ maxheight: '',
+ method: 'GET', // POST | GET
+ overlay: 0, // add overlay
+ overlayclose: 0, // click overlay to close
+ position: 'center', // center | left top | left bottom | right top | right bottom
+ resize: !1, // false | true
+ selector: '', // dataType: document, selector: 'body'
+ showclose: 1, // show close button
+ target: 'main', // ! not used
+ uid: '',
+ type: 'default', // default | info | danger | success | dark | warning
+ title: '',
+ url: '',
+ width: '20rem',
+ wrap: w.main.document.body, // parentNode
+ zIndex: 10500,
+ w: null,
+ show: function() {
+ if (~o.position.indexOf('center')) {
+ if (o.event) {
+ o.el.style.left = o.event.clientX + o.mt + 'px';
+ o.el.style.bottom = o.w.innerHeight - o.el.offsetHeight - o.event.clientY + o.mt + 'px';
+ } else {
+ o.el.style.left = /(%)/.test(o.width) ? (100 - parseInt(o.width)) / 2 - o.mt / (o.w.innerWidth / 100) + '%' : (o.w.innerWidth - o.el.offsetWidth) / 2 - o.mt + 'px';
+ o.el.style.bottom = /(%)/.test(o.height) ? (100 - parseInt(o.height)) / 2 - o.mt / (o.w.innerHeight / 100) + '%' : (o.w.innerHeight - o.el.offsetHeight - o.wrap.offsetTop) / 2 - o.mt + 'px';
+ }
+ }
+ if (~o.position.indexOf('left')) {
+ o.el.style.left = 0;
+ }
+ if (~o.position.indexOf('right')) {
+ o.el.style.right = 0;
+ } else {
+ o.el.style.right = 'auto';
+ }
+ if (~o.position.indexOf('top')) {
+ o.el.style.top = 0;
+ o.el.style.bottom = '';
+ } else {
+ o.el.style.top = 'auto';
+ }
+ if (~o.position.indexOf('bottom')) {
+ o.el.style.bottom = 0;
+ }
+ o.calc();
+ o.el.className += ' in';
+ if (o.showclose) {
+ o.el.querySelector('.close').onclick = o.close;
+ }
+ if (o.hide) {
+ o.el.timer = setTimeout(function() {
+ clearTimeout(o.el.timer);
+ o.close();
+ }, o.delay);
+ }
+ if (o.hover) {
+ o.el.onmouseenter = function() {
+ clearTimeout(o.el.timer);
+ };
+ o.el.onmouseleave = o.close;
+ }
+ if (o.overlayclose && o.o) {
+ o.o.onclick = o.close;
+ }
+ if (o.clickclose) {
+ o.el.onclick = o.close;
+ }
+ if (o.draggable) {
+ modx.dragging(o.el, {wrap: o.wrap, resize: o.resize});
+ }
+ },
+ close: function(e) {
+ o.event = e || o.event || w.event;
+ if (o.url && o.iframe === 'iframe') {
+ var els = o.wrap.ownerDocument.querySelectorAll('.' + o.className + '.in');
+ if (els) {
+ var documentDirty = o.el.lastElementChild.firstElementChild.contentWindow.documentDirty;
+ if (documentDirty && confirm(o.el.lastElementChild.firstElementChild.contentWindow.checkDirt(o.event)) || !documentDirty) {
+ o.el.classList.remove('in');
+ if (!o.animation) {
+ o.el.classList.remove('show');
+ }
+ o.calc(1);
+ if (o.o && o.o.parentNode) {
+ o.o.parentNode.removeChild(o.o);
+ o.wrap.style.overflow = '';
+ }
+ o.el.timer = setTimeout(function() {
+ clearTimeout(o.el.timer);
+ if (o.el.parentNode) {
+ o.el.parentNode.removeChild(o.el);
+ }
+ }, 200);
+ }
+ }
+ } else {
+ o.el.classList.remove('in');
+ if (!o.animation) {
+ o.el.classList.remove('show');
+ }
+ o.calc(1);
+ if (o.o && o.o.parentNode) {
+ o.o.parentNode.removeChild(o.o);
+ o.wrap.style.overflow = '';
+ }
+ o.el.timer = setTimeout(function() {
+ clearTimeout(o.el.timer);
+ if (o.el.parentNode) {
+ o.el.parentNode.removeChild(o.el);
+ }
+ }, 200);
+ }
+ if (typeof o.onclose === 'function') {
+ o.onclose(e, o.el);
+ }
+ },
+ calc: function(f) {
+ var els = o.wrap.ownerDocument.querySelectorAll('.' + o.className + '.in[data-position="' + o.el.dataset.position + '"]');
+ if (els && els.length) {
+ o.els = [];
+ for (var i = 0; i < els.length; i++) {
+ o.els.push(els[i]);
+ }
+ o.els.sort(function(a, b) {
+ return a.index - b.index;
+ });
+ o.t = 0;
+ if (o.position.indexOf('center') === 0) {
+ o.t = !f ? (o.w.innerHeight + o.el.offsetHeight) / 2 : (o.w.innerHeight - o.els[o.els.length - 1].offsetHeight) / 2 - o.mt;
+ } else {
+ o.t = !f ? o.el.offsetHeight + o.mt : 0;
+ }
+ i = o.els.length;
+ while (i--) {
+ o.wrap.ownerDocument.getElementById(o.els[i].id).index = i - o.els.length;
+ if (~o.position.indexOf('top')) {
+ o.wrap.ownerDocument.getElementById(o.els[i].id).style.top = o.t + 'px';
+ } else {
+ o.wrap.ownerDocument.getElementById(o.els[i].id).style.bottom = o.t + 'px';
+ }
+ o.t += o.els[i].offsetHeight + o.mt;
+ if (o.closeall && o.el !== els[i]) {
+ o.els[i].close();
+ }
+ }
+ }
+ },
+ onclose: function(e, obj) { }
+ };
+ for (var k in a) {
+ if (a.hasOwnProperty(k) && typeof o[k] !== 'undefined') {
+ o[k] = a[k];
+ }
+ }
+ o.timer = 0;
+ o.position = o.position.split(' ');
+ if (modx.popupLastIndex) {
+ o.zIndex = modx.popupLastIndex++;
+ } else {
+ modx.popupLastIndex = o.zIndex;
+ }
+ o.uid = a.url ? modx.urlToUid(a.url) : modx.toHash(a);
+ o.className = 'evo-popup';
+ if (typeof o.wrap === 'string') {
+ o.wrap = d.querySelector(o.wrap);
+ }
+ o.w = o.wrap.ownerDocument.defaultView || o.wrap.ownerDocument.parentWindow;
+ if (o.overlay) {
+ if (o.wrap.querySelector('.evo-popup-overlay')) {
+ o.o = o.wrap.querySelector('.evo-popup-overlay');
+ o.o.style.zIndex = o.zIndex - 1;
+ } else {
+ o.o = d.createElement('div');
+ o.o.className = 'evo-popup-overlay';
+ o.o.style.zIndex = o.zIndex - 1;
+ o.wrap.appendChild(o.o);
+ o.wrap.style.overflow = 'hidden';
+ }
+ }
+ o.el = o.wrap.ownerDocument.getElementById('evo-popup-' + o.uid);
+ if (o.el) {
+ clearTimeout(o.el.timer);
+ o.el.index = 0;
+ o.el.classList.remove('in');
+ o.el.classList.add('show');
+ o.el.style.zIndex = o.zIndex;
+ o.el.dataset.position = o.position.join(':');
+ o.mt = parseFloat(getComputedStyle(o.el).marginTop);
+ o.el.close = o.close;
+ o.show();
+ } else {
+ o.el = d.createElement('div');
+ o.el.id = 'evo-popup-' + o.uid;
+ o.el.close = o.close;
+ o.el.index = 0;
+ o.el.style.position = 'fixed';
+ o.el.style.width = !/[^[0-9]/.test(o.width) ? o.width + 'px' : o.width;
+ o.el.style.height = !/[^[0-9]/.test(o.height) ? o.height + 'px' : o.height;
+ o.el.style.zIndex = o.zIndex;
+ o.el.style.margin = o.margin;
+ o.el.className = o.className + ' show alert alert-' + o.type + ' ' + o.addclass + (o.animation ? ' animation ' + o.animation : '');
+ o.el.dataset.position = o.position.join(':');
+ if (o.showclose) {
+ o.el.innerHTML += '';
+ }
+ if (o.title) {
+ o.header = document.createElement('div');
+ if (o.icon !== 'none') {
+ o.header.innerHTML += '
';
+ }
+ o.header.innerHTML += o.title;
+ o.header.className = 'evo-popup-header';
+ o.el.appendChild(o.header);
+ }
+ o.el.innerHTML += '
';
+ o.wrap.appendChild(o.el);
+ o.mt = parseFloat(getComputedStyle(o.el).marginTop);
+ if (o.maxheight) {
+ o.maxheight = /(%)/.test(o.maxheight) ? (o.w.innerHeight - o.el.offsetHeight - o.mt) / 100 * parseInt(o.maxheight) : o.maxheight;
+ o.el.lastChild.style.overflowY = 'auto';
+ o.el.lastChild.style.maxHeight = o.maxheight + 'px';
+ }
+ if (o.url) {
+ o.draggable = 1;
+ if (o.iframe === 'iframe') {
+ o.resize = 1;
+ o.uid = modx.urlToUid(a.url);
+ o.el.className += ' ' + o.addclass + ' ' + o.className + '-iframe';
+ o.el.id = 'evo-popup-' + o.uid;
+ d.getElementById('mainloader').className = 'show';
+ o.frame = d.createElement('iframe');
+ o.frame.width = '100%';
+ o.frame.height = '100%';
+ o.frame.frameBorder = '0';
+ o.frame.src = o.url;
+ o.frame.onload = function(e) {
+ e.target.contentWindow.opener = o.w;
+ a.url = e.target.contentWindow.location.href;
+ o.uid = modx.urlToUid(a.url);
+ o.event = e;
+ if (!!e.target.contentWindow.__alertQuit) {
+ modx.popup({
+ type: 'warning',
+ title: 'MODX :: Alert',
+ position: 'top center alertQuit',
+ content: e.target.contentWindow.document.body.querySelector('p').innerHTML
+ });
+ e.target.contentWindow.document.body.innerHTML = '';
+ e.target.contentWindow.alert = function() {};
+ } else {
+ if (modx.getActionFromUrl(a.url, 2) || o.wrap.querySelectorAll('#evo-popup-' + o.uid).length > 1) {
+ o.el.close();
+ } else {
+ if (e.target.contentDocument.querySelectorAll('h1')[0]) {
+ a.title = e.target.contentDocument.querySelectorAll('h1')[0].innerHTML;
+ } else if (e.target.contentDocument.title) {
+ a.title = e.target.contentDocument.title;
+ }
+ if (o.header) {
+ e.target.offsetParent.offsetParent.getElementsByClassName(o.header.className)[0].innerHTML = a.title;
+ }
+ e.target.offsetParent.offsetParent.id = 'evo-popup-' + o.uid;
+ e.target.offsetParent.offsetParent.classList.remove('changed');
+ //modx.main.onload(e);
+ }
+ }
+ e.target.contentWindow.close = o.close;
+ modx.main.stopWork();
+ };
+ o.el.lastChild.appendChild(o.frame);
+ o.show();
+ } else {
+ var xhr = new XMLHttpRequest();
+ xhr.open(o.method, o.url, true);
+ xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded;');
+ xhr.setRequestHeader('X-REQUESTED-WITH', 'XMLHttpRequest');
+ if (o.dataType) {
+ xhr.responseType = o.dataType;
+ }
+ xhr.onload = function() {
+ if (this.readyState === 4) {
+ o.el.className += ' ' + o.className + '-ajax';
+ if (o.dataType === 'document') {
+ if (o.selector) {
+ var r = this.response.documentElement.querySelector(o.selector);
+ if (r) {
+ o.el.lastChild.innerHTML += r.innerHTML;
+ }
+ } else {
+ o.el.lastChild.innerHTML += this.response.body.innerHTML;
+ }
+ } else {
+ o.el.lastChild.innerHTML += this.response;
+ }
+ o.show();
+ }
+ };
+ xhr.send(o.data);
+ }
+ } else {
+ o.el.lastChild.innerHTML += o.content;
+ o.show();
+ }
+ }
+ return o;
+ }
+ },
+ getWindowDimension: function() {
+ var a = 0,
+ b = 0,
+ c = d.documentElement,
+ e = d.body;
+ if (typeof(w.innerWidth) === 'number') {
+ a = w.innerWidth;
+ b = w.innerHeight;
+ } else if (c && (c.clientWidth || c.clientHeight)) {
+ a = c.clientWidth;
+ b = c.clientHeight;
+ } else if (e && (e.clientWidth || e.clientHeight)) {
+ a = e.clientWidth;
+ b = e.clientHeight;
+ }
+ return {
+ 'width': a,
+ 'height': b
+ };
+ },
+ hideDropDown: function(e) {
+ e = e || w.event || w.main.event;
+ if (tree.ca === 'open' || tree.ca === '') {
+ modx.tree.setSelectedByContext();
+ }
+ if (modx.tree.ctx !== null) {
+ d.getElementById(modx.frameset).removeChild(modx.tree.ctx);
+ modx.tree.ctx = null;
+ }
+ if (!/dropdown\-item/.test(e.target.className)
+ //&& !(e && ("click" === e.type && /form|label|input|textarea|select/i.test(e.target.tagName)))
+ ) {
+ var els = d.querySelectorAll('.dropdown.show'),
+ n = null,
+ t = e.target || e.target.parentNode,
+ i;
+ if (typeof t.dataset.toggle !== 'undefined') {
+ n = d.querySelector(t.dataset.toggle);
+ } else if (t.classList.contains('dropdown-toggle')) {
+ n = t.offsetParent;
+ }
+ for (i = 0; i < els.length; i++) {
+ if (n !== els[i]) {
+ els[i].classList.remove('show');
+ }
+ }
+ els = w.main && w.main.document.querySelectorAll('.dropdown.show') || [];
+ for (i = 0; i < els.length; i++) {
+ if (n !== els[i]) {
+ els[i].classList.remove('show');
+ }
+ }
+ }
+ },
+ XHR: function() {
+ return 'XMLHttpRequest' in w ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP');
+ },
+ get: function(a, b, c) {
+ var x = this.XHR();
+ x.open('GET', a, true);
+ x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
+ if (c) x.responseType = c;
+ x.onload = function() {
+ if (this.status === 200 && typeof b === 'function') {
+ return b(this.response);
+ }
+ };
+ x.send();
+ },
+ post: function(a, b, c, t) {
+ var x = this.XHR(),
+ f = '';
+ if (typeof b === 'function') {
+ t = c;
+ c = b;
+ } else if (typeof b === 'object') {
+ var e = [],
+ i = 0,
+ k;
+ for (k in b) {
+ if (b.hasOwnProperty(k)) e[i++] = k + '=' + b[k];
+ }
+ f = e.join('&');
+ } else if (typeof b === 'string') {
+ f = b;
+ }
+ x.open('POST', a, true);
+ x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
+ x.setRequestHeader('X-REQUESTED-WITH', 'XMLHttpRequest');
+ if (t) x.responseType = t;
+ x.onload = function() {
+ if (this.readyState === 4 && c !== u) {
+ return c(this.response);
+ }
+ };
+ x.send(f);
+ },
+ pxToRem: function(a) {
+ return a / parseInt(w.getComputedStyle(d.documentElement).fontSize);
+ },
+ remToPx: function(a) {
+ return a * parseInt(w.getComputedStyle(d.documentElement).fontSize);
+ },
+ toHash: function(a) {
+ a = String(JSON.stringify(a));
+ var b = 0, c, i;
+ if (a.length === 0) return b;
+ for (i = 0; i < a.length; i++) {
+ c = a.charCodeAt(i);
+ b = (b << 5) - b + c;
+ b = b & b;
+ }
+ return Math.abs(b).toString();
+ },
+ urlToUid: function(a) {
+ var b = '',
+ c;
+ a = a.split('?');
+ a = a[1] || a[0];
+ if (a) {
+ c = modx.getActionFromUrl(a);
+ if (c) {
+ if (modx.typesactions[c]) {
+ b += '&type=' + modx.typesactions[c];
+ } else {
+ b += '&a=' + c;
+ }
+ }
+ if (modx.main.getQueryVariable('id', a)) {
+ b += '&id=' + modx.main.getQueryVariable('id', a);
+ }
+ if (modx.main.getQueryVariable('type', a)) {
+ b += '&type=' + modx.main.getQueryVariable('type', a);
+ }
+ b = modx.toHash(b);
+ }
+ return b;
+ },
+ getActionFromUrl: function(a, b) {
+ if (typeof b !== 'undefined') {
+ return parseInt(modx.main.getQueryVariable('a', a)) === parseInt(b);
+ } else {
+ return parseInt(modx.main.getQueryVariable('a', a));
+ }
+ },
+ getLockedElements: function(a, b, c) {
+ if (modx.typesactions[a] && b) {
+ modx.post(modx.MODX_MANAGER_URL + 'media/style/' + modx.config.theme + '/ajax.php', {
+ a: 'getLockedElements',
+ id: modx.main.getQueryVariable('id', w.main.location.search),
+ type: modx.typesactions[modx.getActionFromUrl(w.main.location.search)]
+ }, c);
+ }
+ },
+ dragging: function(a, b) {
+ this.dragging.init = function(a, b) {
+ var c = {
+ resize: !1,
+ minWidth: 50,
+ minHeight: 50,
+ wrap: document,
+ opacity: '0.65',
+ classDrag: 'drag',
+ classResize: 'resize',
+ handler: '',
+ onstart: function(e, obj) { },
+ onstop: function(e, obj) { },
+ ondrag: function(e, obj) { },
+ onresize: function(e, obj) { }
+ },
+ f = {
+ x: 0,
+ y: 0,
+ elmX: 0,
+ elmY: 0,
+ border: 5,
+ isdrag: !1,
+ isresize: !1,
+ onTop: 0,
+ onLeft: 0,
+ onRight: 0,
+ onBottom: 0,
+ handlerHeight: a.offsetHeight,
+ borders: document.createElement('div')
+ },
+ s = modx.extend(this, c, b, f);
+ this.el = a;
+ this.borders.className = 'border-outline';
+ this.borders.innerHTML = '
';
+ if (this.classDrag) this.el.classList.add(this.classDrag);
+ if (this.classResize) this.el.classList.add(this.classResize);
+ this.el.insertBefore(this.borders, this.el.firstChild);
+ if (this.handler && this.el.getElementsByClassName(this.handler)[0]) {
+ this.handler = this.el.getElementsByClassName(this.handler)[0];
+ this.handlerHeight = this.handler.offsetHeight;
+ }
+ this.el.onmousedown = function(e) {
+ s.mousedown(e);
+ };
+ this.el.ontouchstart = function(e) {
+ s.mousedown(e.changedTouches[0]);
+ };
+ this.wrap.addEventListener('mousemove', function(e) {
+ s.calc(e);
+ }, false);
+ this.wrap.addEventListener('touchmove', function(e) {
+ s.calc(e.changedTouches[0]);
+ }, false);
+ };
+ this.dragging.init.prototype = {
+ mousedown: function(e) {
+ if (e.target.classList.contains('close')) {
+ return;
+ }
+ e = document.all ? window.event : e;
+ var s = this,
+ x = document.all ? window.event.clientX : e.clientX,
+ y = document.all ? window.event.clientY : e.clientY,
+ style = w.getComputedStyle(this.el);
+ this.elmX = (x - this.el.offsetLeft + parseInt(style.marginLeft));
+ this.elmY = (y - this.el.offsetTop + parseInt(style.marginTop));
+ this.el.position = this.el.getBoundingClientRect();
+ this.el.style.position = 'fixed';
+ this.el.style.transitionDuration = '0s';
+ this.el.style.webkitTransitionDuration = '0s';
+ this.el.style.left = this.el.offsetLeft - parseInt(style.marginLeft) + 'px';
+ this.el.style.top = this.el.offsetTop - parseInt(style.marginTop) + 'px';
+ this.el.style.right = 'auto';
+ this.el.style.bottom = 'auto';
+ this.el.style.width = this.el.position.width + 'px';
+ this.el.style.height = this.el.position.height + 'px';
+ if (e.target.parentNode === this.borders) {
+ this.isresize = this.resize;
+ this.el.classList.add('is-resize');
+ } else {
+ if (!this.handler || (this.handler && e.target === this.handler)) {
+ this.isdrag = true;
+ this.el.classList.add('is-drag');
+ }
+ }
+ if (typeof this.start === 'function') {
+ this.onstart(e, this.el);
+ }
+ if (e.preventDefault) {
+ e.preventDefault();
+ } else {
+ document.onselectstart = function() {
+ return false;
+ };
+ }
+ this.wrap.onmousemove = function(e) {
+ s.mousemove(e);
+ };
+ this.wrap.ontouchmove = function(e) {
+ s.mousemove(e.changedTouches[0]);
+ e.stopPropagation();
+ };
+ this.wrap.onmouseup = function(e) {
+ s.mouseup(e);
+ };
+ this.wrap.ontouchend = function(e) {
+ s.mouseup(e.changedTouches[0]);
+ e.stopPropagation();
+ };
+ },
+ mousemove: function(e) {
+ var x = document.all ? window.event.clientX : e.clientX,
+ y = document.all ? window.event.clientY : e.clientY;
+ if (this.isresize) {
+ if (this.onRight) this.el.style.width = Math.max(x - this.el.position.left + (this.el.position.width - this.x), this.minWidth) + 'px';
+ if (this.onBottom) this.el.style.height = Math.max(y - this.el.position.top + (this.el.position.height - this.y), this.minHeight) + 'px';
+ if (this.onLeft) {
+ this.width = Math.max(this.el.position.left - x + this.el.position.width + this.x, this.minWidth);
+ if (this.width > this.minWidth) {
+ this.el.style.width = this.width + 'px';
+ this.el.style.left = x - this.elmX + 'px';
+ }
+ }
+ if (this.onTop) {
+ var currentHeight = Math.max(this.el.position.top - y + this.el.position.height + this.y, this.minHeight);
+ if (currentHeight > this.minHeight) {
+ this.el.style.height = currentHeight + 'px';
+ this.el.style.top = y - this.elmY + 'px';
+ }
+ }
+ if (typeof this.onresize === 'function') {
+ this.onresize(e, this.el);
+ }
+ } else if (this.isdrag) {
+ this.el.style.opacity = this.opacity;
+ this.el.style.left = x - this.elmX + 'px';
+ this.el.style.top = y - this.elmY + 'px';
+ if (typeof this.drag === 'function') {
+ this.ondrag(e, this.el);
+ }
+ }
+ },
+ mouseup: function(e) {
+ if (this.isdrag || this.isresize) {
+ this.el.classList.remove('is-resize');
+ this.el.classList.remove('is-drag');
+ this.el.style.opacity = '';
+ this.el.style.transitionDuration = '';
+ this.el.style.webkitTransitionDuration = '';
+ this.el.position = this.el.getBoundingClientRect();
+ this.isdrag = false;
+ this.isresize = false;
+ this.wrap.onmousemove = null;
+ this.wrap.onselectstart = null;
+ if (typeof this.stop === 'function') {
+ this.onstop(e, this.el);
+ }
+ }
+ },
+ calc: function(e) {
+ if (this.isresize || this.isdrag) {
+ return;
+ }
+ this.x = e.clientX - this.el.offsetLeft;
+ this.y = e.clientY - this.el.offsetTop;
+ if (this.resize) {
+ this.onTop = this.y < this.border;
+ this.onLeft = this.x < this.border;
+ this.onRight = this.x >= this.el.offsetWidth - this.border;
+ this.onBottom = this.y >= this.el.offsetHeight - this.border;
+ if (this.onRight && this.onBottom || this.onLeft && this.onTop) {
+ this.el.style.cursor = 'nwse-resize';
+ } else if (this.onRight && this.onTop || this.onBottom && this.onLeft) {
+ this.el.style.cursor = 'nesw-resize';
+ } else if (this.onRight || this.onLeft) {
+ this.el.style.cursor = 'ew-resize';
+ } else if (this.onBottom || this.onTop) {
+ this.el.style.cursor = 'ns-resize';
+ } else if (this.x > 0 && this.y > 0 && (this.x < this.el.offsetWidth && this.y <= this.handlerHeight && this.y >= this.border)) {
+ this.el.style.cursor = 'move';
+ } else {
+ this.el.style.cursor = 'default';
+ }
+ } else {
+ if (this.x > 0 && this.y > 0 && (this.x < this.el.offsetWidth && this.y <= this.handlerHeight && this.y >= this.border)) {
+ this.el.style.cursor = 'move';
+ }
+ }
+ }
+ };
+ return new this.dragging.init(a, b);
+ },
+ setTypeIcon: function(a) {
+ var b = '';
+ switch (this.typesactions[a]) {
+ case 1:
+ b = 'fa fa-newspaper-o';
+ break;
+ case 2:
+ b = 'fa fa-list-alt';
+ break;
+ case 3:
+ b = 'fa fa-th-large';
+ break;
+ case 4:
+ b = 'fa fa-code';
+ break;
+ case 5:
+ b = 'fa fa-plug';
+ break;
+ case 6:
+ b = 'fa fa-cube';
+ break;
+ case 7:
+ b = 'fa fa-pencil-square-o';
+ break;
+ default:
+ b = 'fa fa-circle';
+ }
+ return b;
+ }
+ });
+ w.mainMenu = {};
+ w.mainMenu.stopWork = function() {
+ modx.main.stopWork();
+ };
+ w.mainMenu.work = function() {
+ modx.main.work();
+ };
+ w.mainMenu.reloadtree = function() {
+ //console.log('mainMenu.reloadtree()');
+ if (modx.plugins.ElementsInTree) {
+ setTimeout('reloadElementsInTree()', 50);
+ }
+ if (modx.config.global_tabs) {
+ setTimeout('modx.tree.restoreTree()', 100);
+ }
+ };
+ w.mainMenu.startrefresh = function(a) {
+ //console.log('mainMenu.startrefresh(' + a + ')');////
+ if (a === 1) {
+ //setTimeout('modx.tree.restoreTree()', 50)
+ }
+ if (a === 2) {
+ //modx.tree.restoreTree();
+ }
+ if (a === 9) {
+ modx.tree.restoreTree();
+ }
+ if (a === 10) {
+ w.location.href = modx.MODX_MANAGER_URL;
+ }
+ };
+ w.mainMenu.startmsgcount = function(a, b, c) {
+ modx.updateMail(c);
+ };
+ w.mainMenu.hideTreeFrame = function() {
+ modx.resizer.setWidth(0);
+ };
+ w.mainMenu.defaultTreeFrame = function() {
+ modx.resizer.setDefaultWidth();
+ };
+ w.tree = {};
+ w.tree.ca = 'open';
+ w.tree.document = document;
+ w.tree.saveFolderState = function() {};
+ w.tree.updateTree = function() {
+ //console.log('tree.updateTree()');
+ modx.tree.updateTree();
+ };
+ w.tree.restoreTree = function() {
+ //console.log('tree.restoreTree()');
+ modx.tree.restoreTree();
+ };
+ w.tree.resizeTree = function() {
+ //console.log('tree.resizeTree() off')
+ };
+ w.onbeforeunload = function() {
+ var a = w.main.frameElement.contentWindow;
+ if (modx.getActionFromUrl(a.location.search, 27)) {
+ modx.get(modx.MODX_MANAGER_URL + '?a=67&type=7&id=' + modx.main.getQueryVariable('id', a.location.search.substring(1)));
+ }
+ };
+ d.addEventListener('DOMContentLoaded', function() {
+ modx.init();
+ });
+})(typeof jQuery !== 'undefined' ? jQuery : '', window, document, undefined);
+
+(function() {
+ if (!Element.prototype.closest) {
+ Element.prototype.closest = function(a) {
+ var b = this,
+ c, d;
+ ['matches', 'webkitMatchesSelector', 'mozMatchesSelector', 'msMatchesSelector', 'oMatchesSelector'].some(function(fn) {
+ if (typeof document.body[fn] === 'function') {
+ c = fn;
+ return true;
+ }
+ return false;
+ });
+ if (b && c && b[c](a)) return b;
+ while (b) {
+ d = b.parentElement;
+ if (d && c && d[c](a)) return d;
+ b = d;
+ }
+ return null;
+ };
+ }
+})();
diff --git a/manager/media/style/default/js/modx.min.js b/manager/media/style/default/js/modx.min.js
new file mode 100755
index 0000000000..960096ca1e
--- /dev/null
+++ b/manager/media/style/default/js/modx.min.js
@@ -0,0 +1 @@
+(function($,w,d,u){'use strict';modx.extended({frameset:'frameset',minWidth:840,isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),typesactions:{'16':1,'301':2,'78':3,'22':4,'102':5,'108':6,'3':7,'4':7,'6':7,'27':7,'61':7,'62':7,'63':7,'72':7},tabsTimer:0,popupTimer:0,init:function(){if(!localStorage.getItem('MODX_widthSideBar')){localStorage.setItem('MODX_widthSideBar',this.config.tree_width)}this.mainmenu.init();if(w.location.hash){if(modx.getActionFromUrl(w.location.hash,2)){w.history.replaceState(null,d.title,modx.MODX_MANAGER_URL)}else if(modx.getActionFromUrl(w.location.hash)||modx.main.getQueryVariable('filemanager',w.location.hash)){var url=modx.main.getQueryVariable('filemanager',w.location.hash)?modx.MODX_MANAGER_URL+modx.main.getQueryVariable('filemanager',w.location.hash)+w.location.hash.replace('#?','?'):w.location.href.replace('#?','?');if(modx.config.global_tabs){modx.tabs({url:url,title:'blank'})}else if(w.main){w.main.frameElement.src=url}else{modx.openWindow(url)}}}this.resizer.init();this.search.init();if(this.config.session_timeout>0){w.setInterval(this.keepMeAlive,1000*60*this.config.session_timeout)}if(modx.config.mail_check_timeperiod>0&&modx.permission.messages){setTimeout('modx.updateMail(true)',1000)}d.addEventListener('click',this.hideDropDown,false);if(modx.config.global_tabs){d.addEventListener('click',this.tabs,false);this.tabs({url:'?a=2',reload:0})}},mainmenu:{id:'mainMenu',init:function(){var $mm=$('#mainMenu'),mm=d.getElementById('mainMenu'),timer;$mm.on('click','a',function(e){if($(this).hasClass('dropdown-toggle')){if($mm.hasClass('show')&&($(this).hasClass('selected')||!modx.isMobile&&$(this).parent().hasClass('hover'))){$(this).removeClass('selected');$mm.removeClass('show')}else{$('.nav > li > a:not(:hover)').removeClass('selected');$(this).addClass('selected');$mm.addClass('show')}e.stopPropagation();e.target.dataset.toggle='#mainMenu';modx.hideDropDown(e)}if($(this).closest('ul').hasClass('dropdown-menu')&&!$(this).parent('li').hasClass('dropdown-back')){$('.nav > .active').removeClass('active');$('.nav li.selected').removeClass('selected');$(this).closest('.nav > li').addClass('active');if(this.offsetParent.id){d.getElementById(this.offsetParent.id.substr(7)).classList.add('selected')}if((modx.isMobile||w.innerWidth
li',function(){var els=mm.querySelectorAll('.nav > li.hover:not(:hover)');for(var i=0;i li li',function(e){var self=this,ul;var els=mm.querySelectorAll('.nav > li li.hover:not(:hover)');for(var i=0;i '+modx.lang.paging_prev+' '+data}ul.id='parent_'+self.id;ul.innerHTML=data;var id=w.location.hash.substr(2).replace(/=/g,'_').replace(/&/g,'__');var el=d.getElementById(id);if(el){el.parentNode.classList.add('selected');d.getElementById(el.parentNode.parentNode.id.substr(7)).classList.add('selected')}for(var i=0;iitems.length-1){index=items.length-1}if(index>=0&&index2){s.timer=setTimeout(function(){s.loader.style.display='block';modx.get(modx.MODX_MANAGER_URL+'?a=71&ajax=1&submitok=Search&searchid='+s.input.value,function(data){s.loader.style.display='none';s.results=data.querySelector('.ajaxSearchResults');if(s.results&&s.results.innerHTML!==''){s.result.innerHTML=s.results.outerHTML;s.open();s.result.onclick=function(e){var t=e.target,p=t.parentNode;if(t.tagName==='I'){modx.openWindow({title:p.innerText,id:p.id,url:p.href});e.preventDefault();e.stopPropagation()}else{var a=t.tagName==='A'&&t||p.tagName==='A'&&p;if(a){var el=s.result.querySelector('.selected');if(el)el.className='';a.className='selected';if(modx.isMobile)s.close()}}}}else{s.empty()}},'document')},300)}else{s.empty()}};if(modx.isMobile){this.input.onblur=this.close}this.input.onfocus=this.open;this.input.onclick=this.open;this.input.onmouseenter=this.open;this.result.onmouseenter=this.open;this.result.onmouseleave=this.close;this.mask.onmouseenter=this.open;this.mask.onmouseleave=this.close},open:function(){if(modx.search.results){modx.search.result.classList.add('open')}},close:function(){modx.search.result.classList.remove('open')},empty:function(){modx.search.result.classList.remove('open');modx.search.result.innerHTML=''}},main:{id:'main',idFrame:'mainframe',as:null,onload:function(e){w.main=e.target.contentWindow||e.target.defaultView;modx.main.tabRow.init();modx.main.stopWork();modx.main.scrollWork();w.main.document.addEventListener('click',modx.hideDropDown,false);w.main.document.addEventListener('contextmenu',modx.main.oncontextmenu,false);if(modx.config.global_tabs){w.main.document.addEventListener('click',modx.tabs,false)}w.history.replaceState(null,d.title,modx.getActionFromUrl(w.main.location.search,2)?modx.MODX_MANAGER_URL:'#'+w.main.location.search);setTimeout('modx.tree.restoreTree()',100)},oncontextmenu:function(e){if(e.ctrlKey)return;var el=e.target;if(modx.user.role===1&&/modxtv|modxplaceholder|modxattributevalue|modxchunk|modxsnippet|modxsnippetnocache/i.test(el.className)){var id=Date.now(),name=el.innerText.replace(/[\[|\]|{|}|\*||\#|\+|?|\!|&|=|`|:]/g,''),type=el.className.replace(/cm-modx/,''),n=!!name.replace(/^\d+$/,'');if(name&&n){e.preventDefault();modx.post(modx.MODX_MANAGER_URL+'media/style/'+modx.config.theme+'/ajax.php',{a:'modxTagHelper',name:name,type:type},function(r){if(r){r=JSON.parse(r);for(var k in r){if(r.hasOwnProperty(k)&&r[k].url){r[k]['onclick']='if(event.shiftKey){modx.openWindow({url:\''+r[k].url+'\'})}else{modx.popup({url:\''+r[k].url+'\',title:\''+r.header.innerHTML+'\',width:\'95%\',height:\'95%\',margin:0,hide:0,hover:0,overlay:1,overlayclose:0,position:\'center elements\',animation:0,icon:\'none\'})}'}}r=JSON.stringify(r);el.id='node'+id;el.dataset.contextmenu=r;modx.tree.showPopup(e,id,name)}})}e.preventDefault()}},tabRow:{init:function(){var row=w.main.document.querySelector('.tab-pane > .tab-row');if(row)this.build(row)},build:function(row){var rowContainer=d.createElement('div'),sel=row.querySelector('.selected');rowContainer.className='tab-row-container';row.parentNode.insertBefore(rowContainer,row);rowContainer.appendChild(row);var p=d.createElement('i');p.className='fa fa-angle-left prev disable';p.onclick=function(e){e.stopPropagation();e.preventDefault();var sel=row.querySelector('.selected');if(sel.previousSibling){sel.previousSibling.click();modx.main.tabRow.scroll(row)}};rowContainer.appendChild(p);var n=d.createElement('i');n.className='fa fa-angle-right next disable';n.onclick=function(e){e.stopPropagation();e.preventDefault();var sel=row.querySelector('.selected');if(sel.nextSibling){sel.nextSibling.click();modx.main.tabRow.scroll(row)}};rowContainer.appendChild(n);setTimeout(function(){sel=row.querySelector('.selected');modx.main.tabRow.scroll(row,sel);w.main.addEventListener('resize',function(){modx.main.tabRow.scroll(row)},false);if(sel){if(sel.previousSibling)p.classList.remove('disable');if(sel.nextSibling)n.classList.remove('disable')}},100);row.onclick=function(e){var sel=e.target.tagName==='H2'?e.target:e.target.tagName==='SPAN'?e.target.parentNode:null;if(sel){if(sel.previousSibling){this.parentNode.querySelector('i.prev').classList.remove('disable')}else{this.parentNode.querySelector('i.prev').classList.add('disable')}if(sel.nextSibling){this.parentNode.querySelector('i.next').classList.remove('disable')}else{this.parentNode.querySelector('i.next').classList.add('disable')}modx.main.tabRow.scroll(this,sel)}}},scroll:function(row,sel,a){sel=sel||row.querySelector('.selected')||row.firstChild;a=a||100;var c=0,elms=row.childNodes;for(var i=0;isel.offsetLeft){$(row).animate({scrollLeft:sel.offsetLeft-(sel.previousSibling?30:1)},a)}if(sel.offsetLeft+sel.offsetWidth>row.offsetWidth+row.scrollLeft){$(row).animate({scrollLeft:sel.offsetLeft-row.offsetWidth+sel.offsetWidth+(sel.nextSibling?30:0)},a)}if(c>row.offsetWidth){this.drag(row)}},drag:function(row){row.onmousedown=function(e){if(e.button===0){e.preventDefault();var x=e.clientX,f=row.scrollLeft;row.ownerDocument.body.focus();row.onmousemove=row.ownerDocument.onmousemove=function(e){if(Math.abs(e.clientX-x)>5){e.stopPropagation();row.scrollLeft=f-(e.clientX-x);row.ownerDocument.body.classList.add('drag')}};row.onmouseup=row.ownerDocument.onmouseup=function(e){e.stopPropagation();row.onmousemove=null;row.ownerDocument.onmousemove=null;row.ownerDocument.body.classList.remove('drag')}}}}},work:function(){d.getElementById('mainloader').classList.add('show')},stopWork:function(){d.getElementById('mainloader').classList.remove('show')},scrollWork:function(){var a=w.main.frameElement.contentWindow,b=a.location.search.substring(1)||a.location.hash.substring(2),c=localStorage.getItem('page_y')||0,f=localStorage.getItem('page_url')||b;if(((modx.getActionFromUrl(f)===modx.getActionFromUrl(b))&&(modx.main.getQueryVariable('id',f)&&modx.main.getQueryVariable('id',f)===modx.main.getQueryVariable('id',b)))||(f===b)){a.scrollTo(0,c)}a.addEventListener('scroll',function(){if(this.pageYOffset>=0){localStorage.setItem('page_y',this.pageYOffset.toString());localStorage.setItem('page_url',b)}},false)},getQueryVariable:function(a,b){var f='';if(b||typeof b==='string'){b=b.split('?');b=b[1]||b[0];b=b.split('&');for(var i=0;iMath.abs(ay)&&this.swipe){if(ax<0&&this.sidebar){if(Math.abs(ax)>h)ax=-h;tree.style.transform='translate3d('+ax+'px, 0, 0)';tree.style.WebkitTransform='translate3d('+ax+'px, 0, 0)';modx.resizer.mask.style.opacity=(0.5-0.5/-h*ax).toFixed(2);if(Math.abs(ax)>h/3){this.swipe='left'}else{this.swipe='right'}}else if(ax>0&&!this.sidebar){if(Math.abs(ax)>h)ax=h;tree.style.transform='translate3d('+ -(h-ax)+'px, 0, 0)';tree.style.WebkitTransform='translate3d('+ -(h-ax)+'px, 0, 0)';modx.resizer.mask.style.opacity=(0.5/h*ax).toFixed(2);if(Math.abs(ax)>h/3){this.swipe='right'}else{this.swipe='left'}}}},false);w.addEventListener('touchend',function(){if(this.swipe==='left'){d.body.classList.add('sidebar-closed');modx.resizer.setWidth(0)}if(this.swipe==='right'){d.body.classList.remove('sidebar-closed');modx.resizer.setWidth(h)}tree.style.cssText='';modx.resizer.mask.style.cssText=''},false)}},onMouseDown:function(e){e=e||w.event;modx.resizer.dragElement=e.target!==null?e.target:e.srcElement;if((e.buttons===1||e.button===0)&&modx.resizer.dragElement.id===modx.resizer.id){modx.resizer.oldZIndex=modx.resizer.dragElement.style.zIndex;modx.resizer.dragElement.style.zIndex=modx.resizer.newZIndex;modx.resizer.dragElement.style.background=modx.resizer.background;localStorage.setItem('MODX_widthSideBar',modx.resizer.dragElement.offsetLeft>0?modx.resizer.dragElement.offsetLeft:0);d.body.appendChild(modx.resizer.mask);d.onmousemove=modx.resizer.onMouseMove;d.body.focus();d.body.classList.add('resizer_move');d.onselectstart=function(){return false};modx.resizer.dragElement.ondragstart=function(){return false};return false}},onMouseMove:function(e){e=e||w.event;if(e.clientX>0){modx.resizer.left=e.clientX}else{modx.resizer.left=0}modx.resizer.dragElement.style.left=modx.pxToRem(modx.resizer.left)+'rem';d.getElementById('tree').style.width=modx.pxToRem(modx.resizer.left)+'rem';d.getElementById('main').style.left=modx.pxToRem(modx.resizer.left)+'rem';if(e.clientX<-2||e.clientY<-2){modx.resizer.onMouseUp(e)}},onMouseUp:function(e){if(modx.resizer.dragElement!==null&&e.button===0&&modx.resizer.dragElement.id===modx.resizer.id){if(e.clientX>0){d.body.classList.remove('sidebar-closed');modx.resizer.left=e.clientX}else{d.body.classList.add('sidebar-closed');modx.resizer.left=0}d.cookie='MODX_widthSideBar='+modx.pxToRem(modx.resizer.left);modx.resizer.dragElement.style.zIndex=modx.resizer.oldZIndex;modx.resizer.dragElement.style.background='';modx.resizer.dragElement.ondragstart=null;modx.resizer.dragElement=null;d.body.classList.remove('resizer_move');d.body.removeChild(modx.resizer.mask);d.onmousemove=null;d.onselectstart=null}},toggle:function(){if(modx.isMobile||w.innerWidth<=modx.minWidth){if(d.body.classList.contains('sidebar-closed')){d.body.classList.remove('sidebar-closed');localStorage.setItem('MODX_widthSideBar',0);d.cookie='MODX_widthSideBar='+modx.pxToRem(parseInt(d.getElementById('tree').offsetWidth))}else{localStorage.setItem('MODX_widthSideBar',parseInt(d.getElementById('tree').offsetWidth));d.body.classList.add('sidebar-closed');d.cookie='MODX_widthSideBar=0'}}else{var p=d.getElementById('tree').offsetWidth!==0?0:parseInt(localStorage.getItem('MODX_widthSideBar'))?parseInt(localStorage.getItem('MODX_widthSideBar')):modx.config.tree_width;modx.resizer.setWidth(p)}},setWidth:function(a){if(a>0){localStorage.setItem('MODX_widthSideBar',0);d.body.classList.remove('sidebar-closed')}else{localStorage.setItem('MODX_widthSideBar',parseInt(d.getElementById('tree').offsetWidth));d.body.classList.add('sidebar-closed')}d.cookie='MODX_widthSideBar='+modx.pxToRem(a);d.getElementById('tree').style.width=modx.pxToRem(a)+'rem';d.getElementById('resizer').style.left=modx.pxToRem(a)+'rem';d.getElementById('main').style.left=modx.pxToRem(a)+'rem'},setDefaultWidth:function(){modx.resizer.setWidth(modx.remToPx(modx.config.tree_width))}},tree:{ctx:null,rpcNode:null,itemToChange:'',selectedObjectName:null,selectedObject:0,selectedObjectDeleted:0,selectedObjectUrl:'',drag:false,deleted:[],init:function(){this.restoreTree()},draggable:function(){if(modx.permission.dragndropdocintree){var els=d.querySelectorAll('#treeRoot a:not(.empty)');for(var i=0;i-1:true;modx.tree.itemToChange=this.dataset.id||this.parentNode.id.replace('node','');modx.tree.selectedObjectName=this.dataset.titleEsc;if(draggable){this.parentNode.draggable=true;this.parentNode.ondragstart=modx.tree.ondragstart}else{this.parentNode.draggable=false;this.parentNode.ondragstart=function(){return false}}}},ondragstart:function(e){e.dataTransfer.effectAllowed='all';e.dataTransfer.dropEffect='all';e.dataTransfer.setData('text',this.id.substr(4))},ondragenter:function(e){if(d.getElementById('node'+modx.tree.itemToChange)===(this.parentNode.closest('#node'+modx.tree.itemToChange)||this.parentNode)){this.parentNode.className='';e.dataTransfer.effectAllowed='none';e.dataTransfer.dropEffect='none';modx.tree.drag=false}else{this.parentNode.className='dragenter';e.dataTransfer.effectAllowed='copy';e.dataTransfer.dropEffect='copy';modx.tree.drag=true}e.preventDefault()},ondragover:function(e){if(modx.tree.drag){var a=e.clientY;var b=parseInt(this.getBoundingClientRect().top);var c=a-b;if(c>this.offsetHeight/1.51){this.parentNode.classList.add('dragafter');this.parentNode.classList.remove('dragbefore');this.parentNode.classList.remove('dragenter');e.dataTransfer.effectAllowed='link';e.dataTransfer.dropEffect='link'}else if(c'}if(this.nextSibling){if(this.nextSibling.innerHTML){this.nextSibling.appendChild(el)}else{el.parentNode.removeChild(el)}els=this.parentNode.lastChild.children;for(i=0;i'}this.parentNode.parentNode.insertBefore(el,this.parentNode.nextSibling);els=this.parentNode.parentNode.children;for(i=0;i'}this.parentNode.parentNode.insertBefore(el,this.parentNode);els=this.parentNode.parentNode.children;for(i=0;i-1:true)){alert(modx.lang.error_no_privileges);modx.tree.restoreTree();return}modx.post(modx.MODX_MANAGER_URL+'media/style/'+modx.config.theme+'/ajax.php',{a:'movedocument',id:id,parent:parent,menuindex:menuindex},function(r){if(r.errors)alert(r.errors);modx.tree.restoreTree()},'json');var b=w.main.frameElement.contentWindow.location.search.substr(1);if(modx.getActionFromUrl(b,27)&&parseInt(modx.main.getQueryVariable('id',b))===parseInt(id)){var index=menuindex.indexOf(id),elMenuIndex=w.main.document.querySelector('#documentPane input[name=menuindex]'),elParent=w.main.document.querySelector('#documentPane input[name=parent]'),elParentName=w.main.document.querySelector('#documentPane #parentName');if(elMenuIndex&&index>=0)elMenuIndex.value=index;if(elParent&&elParentName){elParent.value=parent;elParentName.innerHTML=parent+' ('+d.querySelector('#node'+parent+' > a').dataset.titleEsc+')'}}},toggleTheme:function(){var myCodeMirrors=w.main.myCodeMirrors,key;if(d.body.classList.contains('dark')){d.body.classList.remove('dark');w.main.document.body.classList.remove('dark');d.cookie='MODX_themeColor=';if(myCodeMirrors){for(key in myCodeMirrors){if(myCodeMirrors.hasOwnProperty(key)){w.main.document.getElementsByName(key)[0].nextElementSibling.classList.remove('cm-s-'+myCodeMirrors[key].options.darktheme);w.main.document.getElementsByName(key)[0].nextElementSibling.classList.add('cm-s-'+myCodeMirrors[key].options.defaulttheme)}}}}else{d.body.classList.add('dark');w.main.document.body.classList.add('dark');d.cookie='MODX_themeColor=dark';if(myCodeMirrors){for(key in myCodeMirrors){if(myCodeMirrors.hasOwnProperty(key)){w.main.document.getElementsByName(key)[0].nextElementSibling.classList.add('cm-s-'+myCodeMirrors[key].options.darktheme);w.main.document.getElementsByName(key)[0].nextElementSibling.classList.remove('cm-s-'+myCodeMirrors[key].options.defaulttheme)}}}}},toggleNode:function(e,id){e=e||w.event;if(e.ctrlKey)return;e.stopPropagation();var el=d.getElementById('node'+id).firstChild;this.rpcNode=el.nextSibling;var toggle=el.querySelector('.toggle'),icon=el.querySelector('.icon');if(this.rpcNode.innerHTML===''){if(toggle)toggle.innerHTML=el.dataset.iconCollapsed;icon.innerHTML=el.dataset.iconFolderOpen;var rpcNodeText=this.rpcNode.innerHTML,loadText=modx.lang.loading_doc_tree;modx.openedArray[id]=1;if(rpcNodeText===''||rpcNodeText.indexOf(loadText)>0){var folderState=this.getFolderState();d.getElementById('treeloader').classList.add('visible');modx.post(modx.MODX_MANAGER_URL+'media/style/'+modx.config.theme+'/ajax.php','a=1&f=nodes&indent='+el.dataset.indent+'&parent='+id+'&expandAll='+el.dataset.expandall+folderState,function(r){modx.tree.rpcLoadData(r);modx.tree.draggable()})}this.saveFolderState()}else{if(toggle)toggle.innerHTML=el.dataset.iconExpanded;icon.innerHTML=el.dataset.iconFolderClose;delete modx.openedArray[id];this.rpcNode.style.overflow='hidden';$(this.rpcNode.firstChild).animate({marginTop:-this.rpcNode.offsetHeight+'px'},100,function(){this.parentNode.innerHTML=''});this.saveFolderState()}e.preventDefault()},rpcLoadData:function(a){if(this.rpcNode!==null){var el;this.rpcNode.innerHTML=typeof a==='object'?a.responseText:a;this.rpcNode.loaded=true;if(this.rpcNode.firstChild.tagName==='DIV'){if(this.rpcNode.id==='treeRoot'){el=d.getElementById('binFull');if(el){this.showBin(true)}else{this.showBin(false)}}else{this.rpcNode.style.overflow='hidden';this.rpcNode.firstElementChild.style.marginTop=-this.rpcNode.offsetHeight+'px';$(this.rpcNode.firstChild).animate({marginTop:0},100)}d.getElementById('treeloader').classList.remove('visible')}else{el=d.getElementById('loginfrm');if(el){this.rpcNode.parentNode.removeChild(this.rpcNode);w.location.href=modx.MODX_MANAGER_URL}}}},treeAction:function(e,id,title){if(e.ctrlKey)return;var el=d.getElementById('node'+id).firstChild,treepageclick=el.dataset.treepageclick,showchildren=parseInt(el.dataset.showchildren),openfolder=parseInt(el.dataset.openfolder);title=title||el.dataset&&el.dataset.titleEsc;if(tree.ca==='move'){try{this.setSelectedByContext(id);w.main.setMoveValue(id,title)}catch(oException){alert(modx.lang.unable_set_parent)}}if(tree.ca==='open'||tree.ca===''){if(id===0){href='?a=2'}else{var href='';if(!isNaN(treepageclick)&&isFinite(treepageclick)){href='?a='+treepageclick+'&r=1&id='+id+(openfolder===0?this.getFolderState():'')}else{href=treepageclick}if(openfolder===2){if(showchildren!==1){href=''}this.toggleNode(e,id)}}if(href){if(e.shiftKey){w.getSelection().removeAllRanges();modx.openWindow(href);this.restoreTree()}else{modx.tabs({url:modx.MODX_MANAGER_URL+href,title:title+'('+id+') '});if(modx.isMobile)modx.resizer.toggle()}}this.itemToChange=id;this.setSelected(id)}if(tree.ca==='parent'){try{this.setSelectedByContext(id);w.main.setParent(id,title)}catch(oException){alert(modx.lang.unable_set_parent)}}if(tree.ca==='link'){try{this.setSelectedByContext(id);w.main.setLink(id)}catch(oException){alert(modx.lang.unable_set_link)}}e.preventDefault()},showPopup:function(e,id,title){if(e.ctrlKey)return;e.preventDefault();var tree=d.getElementById('tree'),el=d.getElementById('node'+id)||e.target,x=0,y=0;if(el.firstChild&&el.firstChild.dataset&&el.firstChild.dataset.contextmenu){el=el.firstChild}if(el){if(el.dataset.contextmenu){e.target.dataset.toggle='#contextmenu';modx.hideDropDown(e);this.ctx=d.createElement('div');this.ctx.id='contextmenu';this.ctx.className='dropdown-menu';d.getElementById(modx.frameset).appendChild(this.ctx);this.setSelectedByContext(id);var dataJson=JSON.parse(el.dataset.contextmenu);for(var key in dataJson){if(dataJson.hasOwnProperty(key)){var item=d.createElement('div');for(var k in dataJson[key]){if(dataJson[key].hasOwnProperty(k)){if(k.substring(0,2)==='on'){var onEvent=dataJson[key][k];item[k]=function(onEvent){return function(event){eval(onEvent)}}(onEvent)}else{item[k]=dataJson[key][k]}}}if(key.indexOf('header')===0)item.className+=' menuHeader';if(key.indexOf('item')===0)item.className+=' menuLink';if(key.indexOf('seperator')===0||key.indexOf('separator')===0)item.className+=' seperator separator';this.ctx.appendChild(item)}}x=e.clientX>0?e.clientX:e.pageX;y=e.clientY>0?e.clientY:e.pageY;e.view.position=e.view.frameElement?e.view.frameElement.getBoundingClientRect():e.target.offsetParent.getBoundingClientRect();if(e.view.frameElement){x+=e.view.position.left;y+=e.view.frameElement.offsetParent.offsetTop}else{if(e.target.parentNode.parentNode.classList.contains('node')){x+=50}}if(x>e.view.position.width){x=e.view.position.width-this.ctx.offsetWidth}if(y+this.ctx.offsetHeight/2>e.view.position.height){y=e.view.position.height-this.ctx.offsetHeight-5}else if(y-this.ctx.offsetHeight/20?e.clientX:e.pageX;y=e.clientY>0?e.clientY:e.pageY;if(y+ctx.offsetHeight/2>bodyHeight){y=bodyHeight-ctx.offsetHeight-5}else if(y-ctx.offsetHeight/230){this.selectedObjectName=this.selectedObjectName.substr(0,30)+'...'}var f=d.getElementById('nameHolder');f.innerHTML=this.selectedObjectName;el.style.left=a+(modx.config.textdir?'-190':'')+'px';el.style.top=b+'px';el.classList.add('show')},menuHandler:function(a){switch(a){case 1:this.setActiveFromContextMenu(this.itemToChange);modx.tabs({url:modx.MODX_MANAGER_URL+'?a=3&id='+this.itemToChange,title:this.selectedObjectName+'('+this.itemToChange+') '});break;case 2:this.setActiveFromContextMenu(this.itemToChange);modx.tabs({url:modx.MODX_MANAGER_URL+'?a=27&r=1&id='+this.itemToChange,title:this.selectedObjectName+'('+this.itemToChange+') '});break;case 3:modx.tabs({url:modx.MODX_MANAGER_URL+'?a=4&pid='+this.itemToChange,title:this.selectedObjectName+'('+this.itemToChange+') '});break;case 4:if(this.selectedObjectDeleted){alert('"'+this.selectedObjectName+'" '+modx.lang.already_deleted)}else if(confirm('"'+this.selectedObjectName+'"\n\n'+modx.lang.confirm_delete_resource)===true){modx.tabs({url:modx.MODX_MANAGER_URL+'?a=6&id='+this.itemToChange,title:this.selectedObjectName+'('+this.itemToChange+') '})}break;case 5:this.setActiveFromContextMenu(this.itemToChange);modx.tabs({url:modx.MODX_MANAGER_URL+'?a=51&id='+this.itemToChange,title:this.selectedObjectName+'('+this.itemToChange+') '});break;case 6:modx.tabs({url:modx.MODX_MANAGER_URL+'?a=72&pid='+this.itemToChange,title:this.selectedObjectName+'('+this.itemToChange+') '});break;case 7:if(confirm(modx.lang.confirm_resource_duplicate)===true){modx.tabs({url:modx.MODX_MANAGER_URL+'?a=94&id='+this.itemToChange,title:this.selectedObjectName+'('+this.itemToChange+') '})}break;case 8:if(d.getElementById('node'+this.itemToChange).firstChild.dataset.deleted){if(confirm('"'+this.selectedObjectName+'" '+modx.lang.confirm_undelete)===true){modx.tabs({url:modx.MODX_MANAGER_URL+'?a=63&id='+this.itemToChange,title:this.selectedObjectName+'('+this.itemToChange+') '})}}else{alert('"'+this.selectedObjectName+'"'+modx.lang.not_deleted)}break;case 9:if(confirm('"'+this.selectedObjectName+'" '+modx.lang.confirm_publish)===true){modx.tabs({url:modx.MODX_MANAGER_URL+'?a=61&id='+this.itemToChange,title:this.selectedObjectName+'('+this.itemToChange+') '})}break;case 10:if(this.itemToChange!==modx.config.site_start){if(confirm('"'+this.selectedObjectName+'" '+modx.lang.confirm_unpublish)===true){modx.tabs({url:modx.MODX_MANAGER_URL+'?a=62&id='+this.itemToChange,title:this.selectedObjectName+'('+this.itemToChange+') '})}}else{alert('Document is linked to site_start variable and cannot be unpublished!')}break;case 11:modx.tabs({url:modx.MODX_MANAGER_URL+'?a=56&id='+this.itemToChange,title:this.selectedObjectName+'('+this.itemToChange+') '});break;case 12:w.open(d.getElementById('node'+this.itemToChange).firstChild.dataset.href,'previeWin');break;default:alert('Unknown operation command.')}},setSelected:function(a){var el=d.querySelector('#tree .current');if(el)el.classList.remove('current');if(a){if(typeof a==='object'){a.classList.add('current')}else{el=d.querySelector('#node'+a+'>.node')||d.getElementById('node'+a);if(el)el.classList.add('current')}}},setActiveFromContextMenu:function(a){var el=d.querySelector('#node'+a+'>.node');if(el)this.setSelected(el)},setSelectedByContext:function(a){var el=d.querySelector('#treeRoot .selected');if(el)el.classList.remove('selected');el=d.querySelector('#node'+a+'>.node');if(el)el.classList.add('selected')},setItemToChange:function(){var a=w.main.document&&(w.main.document.URL||w.main.document.location.search),b=modx.getActionFromUrl(a);if(a&&modx.typesactions[b]){this.itemToChange=(modx.typesactions[b]===7?'':modx.typesactions[b]+'_')+parseInt(modx.main.getQueryVariable('id',a))}else{this.itemToChange=''}this.setSelected(this.itemToChange)},restoreTree:function(){if(d.getElementById('treeRoot')){d.getElementById('treeloader').classList.add('visible');this.setItemToChange();this.rpcNode=d.getElementById('treeRoot');modx.post(modx.MODX_MANAGER_URL+'media/style/'+modx.config.theme+'/ajax.php','a=1&f=nodes&indent=1&parent=0&expandAll=2&id='+this.itemToChange,function(r){modx.tree.rpcLoadData(r);modx.tree.draggable()})}},expandTree:function(){this.rpcNode=d.getElementById('treeRoot');d.getElementById('treeloader').classList.add('visible');modx.post(modx.MODX_MANAGER_URL+'media/style/'+modx.config.theme+'/ajax.php','a=1&f=nodes&indent=1&parent=0&expandAll=1&id='+this.itemToChange,function(r){modx.tree.rpcLoadData(r);modx.tree.saveFolderState();modx.tree.draggable()})},collapseTree:function(){this.rpcNode=d.getElementById('treeRoot');d.getElementById('treeloader').classList.add('visible');modx.post(modx.MODX_MANAGER_URL+'media/style/'+modx.config.theme+'/ajax.php','a=1&f=nodes&indent=1&parent=0&expandAll=0&id='+this.itemToChange,function(r){modx.openedArray=[];modx.tree.saveFolderState();modx.tree.rpcLoadData(r);modx.tree.draggable()})},updateTree:function(){this.rpcNode=d.getElementById('treeRoot');d.getElementById('treeloader').classList.add('visible');var a=d.sortFrm;var b='a=1&f=nodes&indent=1&parent=0&expandAll=2&dt='+a.dt.value+'&tree_sortby='+a.sortby.value+'&tree_sortdir='+a.sortdir.value+'&tree_nodename='+a.nodename.value+'&id='+this.itemToChange+'&showonlyfolders='+a.showonlyfolders.value;modx.post(modx.MODX_MANAGER_URL+'media/style/'+modx.config.theme+'/ajax.php',b,function(r){modx.tree.rpcLoadData(r);modx.tree.draggable()})},getFolderState:function(){var a;if(modx.openedArray!==[0]){a='&opened=';for(var key in modx.openedArray){if(modx.openedArray[key]){a+=key+'|'}}}else{a='&opened='}return a},saveFolderState:function(){modx.post(modx.MODX_MANAGER_URL+'media/style/'+modx.config.theme+'/ajax.php','a=1&f=nodes&savestateonly=1'+this.getFolderState())},showSorter:function(e){e=e||w.event;var el=d.getElementById('floater');e.target.dataset.toggle='#floater';el.classList.toggle('show');el.onclick=function(e){e.stopPropagation()}},emptyTrash:function(){if(confirm(modx.lang.confirm_empty_trash)===true){modx.get(modx.MODX_MANAGER_URL+'?a=64',function(){modx.tabsClose(modx.tree.deleted);modx.tree.deleted=[];modx.tree.restoreTree()})}},showBin:function(a){var el=d.getElementById('treeMenu_emptytrash');if(el){if(a){el.title=modx.lang.empty_recycle_bin;el.classList.remove('disabled');el.innerHTML=modx.style.empty_recycle_bin;el.onclick=function(){modx.tree.emptyTrash()};var els=d.getElementById('tree').querySelectorAll('.deleted');for(var i=0;i0){if(el){el.innerHTML=c[0];el.style.display='block'}}else{if(el)el.style.display='none'}if(c[1]>0){el=d.getElementById('newMail');if(el){el.innerHTML=''+modx.style.email+modx.lang.inbox+' ('+c[0]+' / '+c[1]+') ';el.style.display='block'}}if(modx.config.mail_check_timeperiod>0)setTimeout('modx.updateMail(true)',1000*modx.config.mail_check_timeperiod)})}}catch(oException){setTimeout('modx.updateMail(true)',1000*modx.config.mail_check_timeperiod)}},openWindow:function(a){if(typeof a!=='object'){a={'url':a}}if(!a.width)a.width=parseInt(w.innerWidth*0.9)+'px';if(!a.height)a.height=parseInt(w.innerHeight*0.8)+'px';if(!a.left)a.left=parseInt(w.innerWidth*0.05)+'px';if(!a.top)a.top=parseInt(w.innerHeight*0.1)+'px';if(!a.title)a.title=Math.floor((Math.random()*999999)+1);if(a.url){if(this.plugins.EVOmodal===1){top.EVO.modal.show(a)}else{w.open(a.url,a.title,'width='+a.width+',height='+a.height+',top='+a.top+',left='+a.left+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no')}}},tabsClose:function(a){if(modx.config.global_tabs&&a){for(var k in a){if(a.hasOwnProperty(k)){var el=d.getElementById(a[k]);if(el){el.firstElementChild.contentWindow.documentDirty=false;el.close()}}}}},tabs:function(a){function Tabs(a){var s=this;this.url=a.url;this.title=a.title||'';this.name=a.name||'';this.timer=null;this.olduid='';this.closeactions=[6,61,62,63,94];this.reload=typeof a.reload!=='undefined'?a.reload:1;this.action=modx.getActionFromUrl(a.url);this.uid=modx.getActionFromUrl(a.url,2)?'home':modx.urlToUid(a.url);this.page=d.getElementById('evo-tab-page-'+this.uid);this.row=d.getElementsByClassName('evo-tab-row')[0].firstElementChild;this.tab=d.getElementById('evo-tab-'+this.uid);if(this.page){if(this.uid==='home'){if(this.reload){this.page.firstElementChild.src=this.url;this.show()}else{this.reload=1;if(this.tab.onclick===null){this.tab.onclick=function(e){s.select.call(s,e,this)}}this.tab.show=function(e){s.show.call(s,e)};modx.tabs.selected=this.tab}}else{this.show();if(~this.closeactions.indexOf(this.action)){this.setDocPublished();modx.get(this.url,function(){modx.tree.restoreTree()})}}}else if(~this.closeactions.indexOf(this.action)){modx.get(this.url,function(){modx.tree.restoreTree()})}else{this.create()}}Tabs.prototype={create:function(){var s=this;modx.main.work();modx.tabs.selected=this.row.querySelector('.selected');if(modx.tabs.selected){d.getElementById(modx.tabs.selected.id.replace('tab','tab-page')).classList.remove('show');modx.tabs.selected.classList.remove('selected')}this.page=d.createElement('div');this.page.id='evo-tab-page-'+this.uid;this.page.className='evo-tab-page show';this.page.innerHTML='';d.getElementById('main').appendChild(this.page);console.time('load-tab');this.page.firstElementChild.onload=function(e){s.onload.call(s,e);console.timeEnd('load-tab')};this.tab=d.createElement('h2');this.tab.id='evo-tab-'+this.uid;this.tab.className='tab selected';this.icon='';if(!/ '}this.tab.innerHTML=''+this.icon+this.title+' × ';this.row.appendChild(this.tab);this.tab.onclick=function(e){s.select.call(s,e,this)};this.tab.close=function(e){s.close.call(s,e)};this.tab.show=function(e){s.show.call(s,e)};this.page.close=function(e){s.close.call(s,e)}},onload:function(e){var s=this;w.main=e.target.contentWindow||e.target.defaultView;this.url=w.main.location.search||w.location.hash.substring(1);this.olduid=this.uid;this.uid=modx.urlToUid(this.url);if(!!w.main.__alertQuit){w.main.alert=function(a){};var message=w.main.document.body.innerHTML;w.main.document.body.innerHTML='';history.pushState(null,d.title,modx.getActionFromUrl(w.location.search,2)?modx.MODX_MANAGER_URL:'#'+w.location.search);w.onpopstate=function(){history.go(1)};modx.popup({type:'warning',title:'MODX :: Alert',position:'top center alertQuit',content:message,wrap:'body'});modx.getLockedElements(modx.getActionFromUrl(this.url),modx.main.getQueryVariable('id',this.url),function(data){if(!!data){s.page.close();modx.tree.restoreTree()}else{w.main.location.href=modx.MODX_MANAGER_URL+s.url;w.history.replaceState(null,d.title,modx.getActionFromUrl(s.url,2)?modx.MODX_MANAGER_URL:'#'+s.url)}})}else{if(modx.getActionFromUrl(this.url,2)){this.close(e)}else if(this.olduid!==this.uid&&d.getElementById('evo-tab-'+this.uid)){this.close(e);d.getElementById('evo-tab-'+this.uid).show()}else{this.title=w.main.document.body.querySelectorAll('h1')[0]&&w.main.document.body.querySelectorAll('h1')[0].innerHTML||this.title;if(this.title&&this.uid!=='home'){this.tab.innerHTML=''+this.title+' × '}this.page.id='evo-tab-page-'+this.uid;this.tab.id='evo-tab-'+this.uid;this.tab.classList.remove('changed');this.show();modx.main.onload(e);w.main.document.addEventListener('click',function a(e){if(typeof e.view.documentDirty!=='undefined'&&e.view.documentDirty&&!s.tab.classList.contains('changed')){s.tab.classList.add('changed');this.removeEventListener(e.type,a,false)}},false);w.main.document.addEventListener('keyup',function a(e){if(typeof e.view.documentDirty!=='undefined'&&e.view.documentDirty&&!s.tab.classList.contains('changed')){s.tab.classList.add('changed');this.removeEventListener(e.type,a,false)}},false)}}},show:function(){var s=this;modx.tabs.selected=this.row.querySelector('.selected');if(modx.tabs.selected&&modx.tabs.selected!==this.tab){d.getElementById(modx.tabs.selected.id.replace('tab','tab-page')).classList.remove('show');modx.tabs.selected.classList.remove('selected')}this.page.classList.add('show');this.tab.classList.add('selected');modx.tabs.selected=this.tab;w.main=this.page.firstElementChild.contentWindow;w.history.replaceState(null,w.main.document.title,modx.getActionFromUrl(w.main.location.search,2)?modx.MODX_MANAGER_URL:'#'+w.main.location.search);modx.tree.setItemToChange();modx.main.tabRow.scroll(this.row,this.tab,350)},close:function(e){var documentDirty=this.page.firstElementChild.contentWindow.documentDirty;var checkDirt=!!this.page.firstElementChild.contentWindow.checkDirt;if(documentDirty&&checkDirt&&confirm(this.page.firstElementChild.contentWindow.checkDirt(e))||!documentDirty){modx.tabs.selected=this.tab.classList.contains('selected')?this.tab.previousElementSibling:this.row.querySelector('.selected');this.page.parentNode.removeChild(this.page);this.row.removeChild(this.tab);modx.tabs.selected.show()}},select:function(e){if(e.target.className==='tab-close'){this.close(e)}else if(modx.tabs.selected===this.tab){var s=this;if(this.timer){clearTimeout(this.timer);this.timer=null;w.main.location.reload()}else{this.timer=setTimeout(function(){s.timer=null},250)}}else{this.show()}},setDocPublished:function(){var el=w.main.document.getElementsByName('publishedcheck')[0];if(el){el.checked=this.action===61;w.main.document.getElementsByName('published')[0].value=+el.checked}if(modx.getActionFromUrl(w.main.location.search,3)){w.main.location.reload()}}};if(modx.config.global_tabs){if(typeof a.currentTarget!=='undefined'){var e=a;if(e.button===0&&e.target&&(e.target.tagName==='A'&&e.target.target==='main'||(e.target.parentNode&&e.target.parentNode.tagName==='A'&&e.target.parentNode.target==='main'))){a=e.target.tagName==='A'&&e.target||e.target.parentNode.tagName==='A'&&e.target.parentNode;if(e.shiftKey){modx.openWindow({url:a.href})}else{modx.tabs({url:a.href,title:a.innerHTML})}e.preventDefault()}}else{return new Tabs(a)}}else if(a.url){if(w.main){w.main.frameElement.src=a.url}else{modx.openWindow(a.url)}}},popup:function(a){if(typeof a==='object'&&(a.url||a.content||a.text)){var o={addclass:'',animation:'fade',content:a.content||a.text||'',clickclose:0,closeall:0,data:'',dataType:'document',delay:5000,draggable:!1,event:null,height:'auto',hide:1,hover:1,icon:'',iframe:'iframe',margin:'.5rem',maxheight:'',method:'GET',overlay:0,overlayclose:0,position:'center',resize:!1,selector:'',showclose:1,target:'main',uid:'',type:'default',title:'',url:'',width:'20rem',wrap:w.main.document.body,zIndex:10500,w:null,show:function(){if(~o.position.indexOf('center')){if(o.event){o.el.style.left=o.event.clientX+o.mt+'px';o.el.style.bottom=o.w.innerHeight-o.el.offsetHeight-o.event.clientY+o.mt+'px'}else{o.el.style.left=/(%)/.test(o.width)?(100-parseInt(o.width))/2-o.mt/(o.w.innerWidth/100)+'%':(o.w.innerWidth-o.el.offsetWidth)/2-o.mt+'px';o.el.style.bottom=/(%)/.test(o.height)?(100-parseInt(o.height))/2-o.mt/(o.w.innerHeight/100)+'%':(o.w.innerHeight-o.el.offsetHeight-o.wrap.offsetTop)/2-o.mt+'px'}}if(~o.position.indexOf('left')){o.el.style.left=0}if(~o.position.indexOf('right')){o.el.style.right=0}else{o.el.style.right='auto'}if(~o.position.indexOf('top')){o.el.style.top=0;o.el.style.bottom=''}else{o.el.style.top='auto'}if(~o.position.indexOf('bottom')){o.el.style.bottom=0}o.calc();o.el.className+=' in';if(o.showclose){o.el.querySelector('.close').onclick=o.close}if(o.hide){o.el.timer=setTimeout(function(){clearTimeout(o.el.timer);o.close()},o.delay)}if(o.hover){o.el.onmouseenter=function(){clearTimeout(o.el.timer)};o.el.onmouseleave=o.close}if(o.overlayclose&&o.o){o.o.onclick=o.close}if(o.clickclose){o.el.onclick=o.close}if(o.draggable){modx.dragging(o.el,{wrap:o.wrap,resize:o.resize})}},close:function(e){o.event=e||o.event||w.event;if(o.url&&o.iframe==='iframe'){var els=o.wrap.ownerDocument.querySelectorAll('.'+o.className+'.in');if(els){var documentDirty=o.el.lastElementChild.firstElementChild.contentWindow.documentDirty;if(documentDirty&&confirm(o.el.lastElementChild.firstElementChild.contentWindow.checkDirt(o.event))||!documentDirty){o.el.classList.remove('in');if(!o.animation){o.el.classList.remove('show')}o.calc(1);if(o.o&&o.o.parentNode){o.o.parentNode.removeChild(o.o);o.wrap.style.overflow=''}o.el.timer=setTimeout(function(){clearTimeout(o.el.timer);if(o.el.parentNode){o.el.parentNode.removeChild(o.el)}},200)}}}else{o.el.classList.remove('in');if(!o.animation){o.el.classList.remove('show')}o.calc(1);if(o.o&&o.o.parentNode){o.o.parentNode.removeChild(o.o);o.wrap.style.overflow=''}o.el.timer=setTimeout(function(){clearTimeout(o.el.timer);if(o.el.parentNode){o.el.parentNode.removeChild(o.el)}},200)}if(typeof o.onclose==='function'){o.onclose(e,o.el)}},calc:function(f){var els=o.wrap.ownerDocument.querySelectorAll('.'+o.className+'.in[data-position="'+o.el.dataset.position+'"]');if(els&&els.length){o.els=[];for(var i=0;i '}if(o.title){o.header=document.createElement('div');if(o.icon!=='none'){o.header.innerHTML+='
'}o.header.innerHTML+=o.title;o.header.className='evo-popup-header';o.el.appendChild(o.header)}o.el.innerHTML+='
';o.wrap.appendChild(o.el);o.mt=parseFloat(getComputedStyle(o.el).marginTop);if(o.maxheight){o.maxheight=/(%)/.test(o.maxheight)?(o.w.innerHeight-o.el.offsetHeight-o.mt)/100*parseInt(o.maxheight):o.maxheight;o.el.lastChild.style.overflowY='auto';o.el.lastChild.style.maxHeight=o.maxheight+'px'}if(o.url){o.draggable=1;if(o.iframe==='iframe'){o.resize=1;o.uid=modx.urlToUid(a.url);o.el.className+=' '+o.addclass+' '+o.className+'-iframe';o.el.id='evo-popup-'+o.uid;d.getElementById('mainloader').className='show';o.frame=d.createElement('iframe');o.frame.width='100%';o.frame.height='100%';o.frame.frameBorder='0';o.frame.src=o.url;o.frame.onload=function(e){e.target.contentWindow.opener=o.w;a.url=e.target.contentWindow.location.href;o.uid=modx.urlToUid(a.url);o.event=e;if(!!e.target.contentWindow.__alertQuit){modx.popup({type:'warning',title:'MODX :: Alert',position:'top center alertQuit',content:e.target.contentWindow.document.body.querySelector('p').innerHTML});e.target.contentWindow.document.body.innerHTML='';e.target.contentWindow.alert=function(){}}else{if(modx.getActionFromUrl(a.url,2)||o.wrap.querySelectorAll('#evo-popup-'+o.uid).length>1){o.el.close()}else{if(e.target.contentDocument.querySelectorAll('h1')[0]){a.title=e.target.contentDocument.querySelectorAll('h1')[0].innerHTML}else if(e.target.contentDocument.title){a.title=e.target.contentDocument.title}if(o.header){e.target.offsetParent.offsetParent.getElementsByClassName(o.header.className)[0].innerHTML=a.title}e.target.offsetParent.offsetParent.id='evo-popup-'+o.uid;e.target.offsetParent.offsetParent.classList.remove('changed')}}e.target.contentWindow.close=o.close;modx.main.stopWork()};o.el.lastChild.appendChild(o.frame);o.show()}else{var xhr=new XMLHttpRequest();xhr.open(o.method,o.url,true);xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded;');xhr.setRequestHeader('X-REQUESTED-WITH','XMLHttpRequest');if(o.dataType){xhr.responseType=o.dataType}xhr.onload=function(){if(this.readyState===4){o.el.className+=' '+o.className+'-ajax';if(o.dataType==='document'){if(o.selector){var r=this.response.documentElement.querySelector(o.selector);if(r){o.el.lastChild.innerHTML+=r.innerHTML}}else{o.el.lastChild.innerHTML+=this.response.body.innerHTML}}else{o.el.lastChild.innerHTML+=this.response}o.show()}};xhr.send(o.data)}}else{o.el.lastChild.innerHTML+=o.content;o.show()}}return o}},getWindowDimension:function(){var a=0,b=0,c=d.documentElement,e=d.body;if(typeof(w.innerWidth)==='number'){a=w.innerWidth;b=w.innerHeight}else if(c&&(c.clientWidth||c.clientHeight)){a=c.clientWidth;b=c.clientHeight}else if(e&&(e.clientWidth||e.clientHeight)){a=e.clientWidth;b=e.clientHeight}return{'width':a,'height':b}},hideDropDown:function(e){e=e||w.event||w.main.event;if(tree.ca==='open'||tree.ca===''){modx.tree.setSelectedByContext()}if(modx.tree.ctx!==null){d.getElementById(modx.frameset).removeChild(modx.tree.ctx);modx.tree.ctx=null}if(!/dropdown\-item/.test(e.target.className)){var els=d.querySelectorAll('.dropdown.show'),n=null,t=e.target||e.target.parentNode,i;if(typeof t.dataset.toggle!=='undefined'){n=d.querySelector(t.dataset.toggle)}else if(t.classList.contains('dropdown-toggle')){n=t.offsetParent}for(i=0;i