diff --git a/.gitignore b/.gitignore
index 0fd30f6a6c..9173642252 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,5 +7,10 @@
# and the config file
/manager/includes/config.inc.php
+# Windows and Mac
+Thumbs.db
+Desktop.ini
+.DS_Store
+
# except do not ignore .gitignore
!.gitignore
diff --git a/README.md b/README.md
index 88d1036b7d..fe19bb5334 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,36 @@
# Evolution CMS
-**What is EVO**
+ [](https://github.com/evolution-cms/evolution/)
-EVO is an open source Content Management System and Application Framework. Initially inspired by Etomite 0.6, then it been MODX Evolution 0.7 - 1.0.8 is an ongoing project written by Raymond Irving and a core team of contributors MODX, and now its Evolution CMS maintained by Dmytro Lukianenko and a core team of contributors at the EVO Project. EVO is distributed under the GPL license and is now run by a professional team of developers from all over the world. Visit the Forums for more information.
+Evolution CMS requires **PHP >= 5.4**, but snippet FormLister need **PHP >=5.6**
-EVO provides a fast, lightweight and powerful framework on which to deploy and secure your website and web applications. For example, it gives you a true system for registered web users and groups that is separate from administration users. You can grant some web users access to one page and others access to another page. For content management, you can easily duplicate documents, folders (and all their children!), chunks and snippets. Most significant, though, is EVO's ability to empower you to quickly and easily create and maintain a rich and dynamic website like never before.
-Evolution CMS requires **PHP version 5.4 and higher**.
+## What is EVO
+
+**EVO** is an open source Content Management System and Application Framework.
+
+## History
+
+Initially inspired by **Etomite 0.6**, then it been **MODX Evolution 0.7 - 1.0.8** is an ongoing project written by *Raymond Irving* and a core team of contributors **MODX**, and now its **Evolution CMS** maintained by *Dmytro Lukianenko* and a core team of contributors at the **EVO Project**.
+
+## License
+
+**EVO** is distributed under the **GPL license** and is now run by a professional team of developers from all over the world. Visit the Forums for more information.
+
+## Features
+
+**EVO** provides a fast, lightweight and powerful framework on which to deploy and secure your website and web applications.
+
+For example, it gives you a true system for registered web users and groups that is separate from administration users. You can grant some web users access to one page and others access to another page.
+
+For content management, you can easily duplicate documents, folders (and all their children!), chunks and snippets.
+
+Most significant, though, is **EVO's** ability to empower you to quickly and easily create and maintain a rich and dynamic website like never before.
+
+
+## Install
+Just use [Evo Installer](https://github.com/evolution-cms/installer)
+
### Screenshots
@@ -31,4 +55,4 @@ Extras:
https://extras.evolution-cms.com
Documentation:
-https://evolution-docs.com
\ No newline at end of file
+https://evolution-docs.com
diff --git a/assets/docs/changelog.txt b/assets/docs/changelog.txt
index 68242bcf83..92f019f78f 100644
--- a/assets/docs/changelog.txt
+++ b/assets/docs/changelog.txt
@@ -1,7 +1,329 @@
-This file shows the changes in recent releases of MODX. The most current release is usually the
+This file shows the changes in recent releases of Evolution CMS. The most current release is usually the
development release, and is only shown to give an idea of what's currently in the pipeline.
-Evolution CMS 1.3.0(Jul 10, 2017)
+Evolution CMS 1.3.5 (Sep 01, 2017)
+* [GitHub:#be94d6de] - fix php notice in Ditto (dmi3yy)
+* [GitHub:#16fe3481] - ElementsInTree clean up (Piotr Matysiak)
+* [GitHub:#f171c523] - ElementsInTree restyled for new theme (Piotr Matysiak)
+* [GitHub:#6726580c] - ElementsInTree 1.5.8 (Piotr Matysiak)
+* [GitHub:#4b6c3946] - Fix - <@IF><@ELSEIF><@ELSE><@ENDIF> (yamamoto)
+* [GitHub:#43fc85b3] - Code cleanup (yamamoto)
+* [GitHub:#3a941181] - #188 Ditto in dashboard widget permission issue (yamamoto)
+* [GitHub:#a7c1eb8e] - Fix - $ditto_base directory separator char (yamamoto)
+* [GitHub:#bd785cf9] - Fix - $modx->parseDocumentSource() (yamamoto)
+* [GitHub:#623be60e] - Code cleanup (yamamoto)
+* [GitHub:#2c0ad143] - fix Ditto TV output (dmi3yy)
+* [GitHub:#003c0be9] - Update document.parser.class.inc.php (Dreamer0x01)
+* [GitHub:#6cc75b5e] - Fix Ditto when dateSource emply use createdon #190 (dmi3yy)
+* [GitHub:#cd35be24] - fix tinymce params underfined bug on frontend (dmi3yy)
+* [GitHub:#c0702676] - fix 65 Plugin parameters are lost after update to the new version (dmi3yy)
+* [GitHub:#12c5c36f] - delete deprecated code (dmi3yy)
+* [GitHub:#ac4c1d37] - Refactor (yamamoto)
+* [GitHub:#82c8a6d8] - Remove - $ditto->renderQELinks() (yamamoto)
+* [GitHub:#19cfd326] - #188 Ditto in dashboard widget permission issue (yamamoto)
+* [GitHub:#1bac7219] - #190 Ditto does not recognize &dateSource parameter any more (yamamoto)
+* [GitHub:#d3760b2f] - no need update.php in extras module (dmi3yy)
+* [GitHub:#b8b75b24] - fix #192 (64j)
+* [GitHub:#83535377] - fix variable documentDirty (64j)
+* [GitHub:#3b70064c] - Update to Make sortable list more condensed (Piotr Matysiak)
+* [GitHub:#ffe64306] - Make sortable list more condensed (Piotr Matysiak)
+* [GitHub:#2c2fe39b] - #187 Ditto is missing placeholders when built-in filters are enabled (yamamoto)
+* [GitHub:#7374ccf6] - fix eng translate (dmi3yy)
+* [GitHub:#4903a8bd] - fix saved roles users #130 (Serg)
+
+
+Evolution CMS 1.3.4 (Aug 24, 2017)
+* [GitHub:#30e0efc9] - fix version (dmi3yy)
+* [GitHub:#d03412a7] - Updater one more check for use from manager only (dmi3yy)
+* [GitHub:#ec2c7f23] - update FormLister to 1.7.8 (dmi3yy)
+* [GitHub:#60619960] - update DocLister (dmi3yy)
+* [GitHub:#e3c58c40] - fix Ditto sorting by pub_date leads to no results #179 (dmi3yy)
+* [GitHub:#46074033] - correct #184 (Serg)
+* [GitHub:#ee3128ac] - update style buttons in manage elements add margin (64j)
+* [GitHub:#2c3785ca] - [E] Quick Manager : New "Load Font Awesome css in front-end" plugin setting (Nicola)
+* [GitHub:#139d0cc0] - update forms.css add style buttons (64j)
+* [GitHub:#c3e02422] - Update README.md (Anton Kolesnikov)
+* [GitHub:#7ee2ef4d] - Update README.md (Anton Kolesnikov)
+* [GitHub:#0fc55da6] - Update README.md (Anton Kolesnikov)
+* [GitHub:#afb7b0d7] - refactor datePicker javascript es2015 standard for job in IE11 (64j)
+* [GitHub:#0dc8d416] - update forms.css change color radio and checkbox (64j)
+* [GitHub:#2e8a052d] - Fix - mm_widget_showimagetvs by https url (yamamoto)
+* [GitHub:#6b015400] - fix DocManager which_browser for tvars add DatePicker format code (64j)
+* [GitHub:#15346ef7] - update css default theme (64j)
+* [GitHub:#9832bbd3] - fix quickly filter elements disabled press enter (64j)
+* [GitHub:#f30fd5aa] - refactor css default theme (64j)
+* [GitHub:#54b89c95] - refactor Document Manager remove mootools (64j)
+* [GitHub:#ac62798a] - remove unused DBAPI methods (Pathologic)
+* [GitHub:#05a7b383] - fix #24 (Pathologic)
+* [GitHub:#2139dcb5] - fix #23 (Pathologic)
+* [GitHub:#74fc4606] - refactor Manage Gategories deleted mootools (64j)
+* [GitHub:#51993f44] - update header.php add evo.draggable (64j)
+* [GitHub:#84cfb156] - fix (Pathologic)
+* [GitHub:#eb7956c8] - fix warning tabPage in FF (64j)
+* [GitHub:#d9f95baf] - fix #38 (Pathologic)
+* [GitHub:#d541bcc7] - fix inputs and buttons padding, width (64j)
+* [GitHub:#c59efff4] - fix (Pathologic)
+* [GitHub:#f52a6e96] - Remove Japanese comment (yamamoto)
+* [GitHub:#8370c6b4] - New - [*value:makeUrl*] modifier (yamamoto)
+* [GitHub:#616cfb17] - New - Core modifier math (yamamoto)
+* [GitHub:#b00cd21b] - Refactor (yamamoto)
+* [GitHub:#6573becd] - Code cleanup (yamamoto)
+* [GitHub:#e8bb914b] - Code cleanup (yamamoto)
+* [GitHub:#25117c60] - Fix - :id modifier (yamamoto)
+* [GitHub:#ec6168a3] - Fix - typo (yamamoto)
+* [GitHub:#f3c5a4b8] - Code cleanup (yamamoto)
+* [GitHub:#cfcff99d] - [F] #173 Wayfinder [+wf.level+] no output any more (yamamoto)
+* [GitHub:#4889cf8f] - Ditto - Code clean up (yamamoto)
+* [GitHub:#abc194e2] - refactor MODxMailer (Pathologic)
+* [GitHub:#48c5e2fa] - [F] #143 Fix sorting of items in element-listings (Deesen)
+* [GitHub:#11318883] - Fix #168 Ditto sees single Resources as Folders (yamamoto)
+* [GitHub:#a376de86] - Minor fix (yamamoto)
+* [GitHub:#ea15209e] - [DocListre] $modx->config['enable_filter'] (yamamoto)
+* [GitHub:#a4f60166] - Fix #127 (yamamoto)
+* [GitHub:#72f160f0] - fix bug tree sorting (Serg)
+* [GitHub:#243d0cbd] - DocLister 2.3.10 (Pathologic)
+* [GitHub:#ad493fc5] - DocLister 2.3.10 (Pathologic)
+* [GitHub:#eca89655] - update transition inputs radio and checkbox (64j)
+* [GitHub:#47ddae9b] - Refactor (yamamoto)
+* [GitHub:#7028c2d3] - Code cleanup - DBAPI (yamamoto)
+* [GitHub:#241ba661] - Fix DBAPI (yamamoto)
+* [GitHub:#5026cbd4] - Fix - Related @d723915 (yamamoto)
+* [GitHub:#14ea7e3f] - update style checkboxes and radio buttons (64j)
+* [GitHub:#d7239159] - fix #167 (Pathologic)
+* [GitHub:#9e576658] - fix #149 (Pathologic)
+* [GitHub:#3c80664d] - remove transition blur text when hovering (Serg)
+* [GitHub:#e618355b] - fix padding input-group-addon class (Serg)
+* [GitHub:#e99a030d] - normalize style inputs, buttons, list select (64j)
+* [GitHub:#3ab388c6] - normalize style inputs, buttons, list select in FF (64j)
+* [GitHub:#1ac70c76] - fix #158 (64j)
+* [GitHub:#ec8f7ee0] - normalize style inputs, buttons, list select added cross browser style for check boxes, radio buttons, list select (64j)
+* [GitHub:#16403889] - Refactor (yamamoto)
+* [GitHub:#b58b87a7] - Refactor cache_sync (yamamoto)
+* [GitHub:#36e2ab81] - Refactor $modx->checkPublishStatus() (yamamoto)
+* [GitHub:#35625fa3] - Update english.inc.php (Mr B)
+* [GitHub:#360678b0] - Refactor - Remove $modx->getDocumentMethod() (yamamoto)
+* [GitHub:#2c190f2d] - Refactor - $modx->_IIS_furl_fix() (yamamoto)
+* [GitHub:#2d4571cf] - Refactor - $modx->postProcess() (yamamoto)
+* [GitHub:#5ebcada9] - Refactor - $modx->checkPublishStatus() (yamamoto)
+* [GitHub:#a06aecd6] - Remove $modx->setRequestQ() (yamamoto)
+* [GitHub:#7b38336d] - Update changelog.txt (Mr B)
+* [GitHub:#26ac6b39] - Update 01About_EVO.php (Mr B)
+* [GitHub:#10d5ce61] - fix css line-height for textarea (64j)
+* [GitHub:#4520b3f9] - fix index name (Pathologic)
+* [GitHub:#6d20167f] - Update 02Documentation.php (Mr B)
+* [GitHub:#a247e118] - fix #155 (Pathologic)
+* [GitHub:#2c40a6d0] - add unique index to document_groups and site_tmplvar_contentvalues (Pathologic)
+* [GitHub:#6b99aab8] - normalize vertical inputs and buttons (64j)
+* [GitHub:#ed0c10c4] - resolve #148 (64j)
+* [GitHub:#8b441bcb] - update css class sectionBody, sectionHeader (64j)
+* [GitHub:#9072e966] - Change class styles and new layout of sections (64j)
+* [GitHub:#0de44795] - Update 02Documentation.php (Mr B)
+* [GitHub:#5d8b5ad9] - [I] #147 $modx->sendForward() (yamamoto)
+* [GitHub:#d1d74e85] - resolve issue #151 (64j)
+* [GitHub:#dbd67dce] - [F] #151 Errors saving system configuration (yamamoto)
+* [GitHub:#413f6bd6] - add evo.collapse (64j)
+* [GitHub:#0d7a7319] - Fix (yamamoto)
+* [GitHub:#f5092ab1] - Refactor - $modx->db->select() (yamamoto)
+* [GitHub:#87df7125] - removing deprecated css classes (64j)
+* [GitHub:#c88ac9b1] - fix codemirror border in one-dark theme (64j)
+* [GitHub:#3368e8fc] - fix min-height input search in top menu (64j)
+* [GitHub:#21e57787] - fix css image height (64j)
+* [GitHub:#1ef08655] - [I] array data into $modx->db->query() (yamamoto)
+* [GitHub:#d2feee38] - Translate ru to english (yamamoto)
+* [GitHub:#92fc062a] - [I] #116 For vue.js (yamamoto)
+* [GitHub:#8f23175e] - Fix (yamamoto)
+* [GitHub:#02943e4a] - DIRECTORY_SEPARATOR (yamamoto)
+* [GitHub:#640dd225] - [R] $ditto->fetch() (yamamoto)
+* [GitHub:#3f108c9b] - [I] DocLister - Using Core modifiers (yamamoto)
+* [GitHub:#1c6ac02e] - fix btn-sm padding (64j)
+* [GitHub:#cc091b53] - update check mail ajax (64j)
+* [GitHub:#f4514b99] - update check conection to server (64j)
+* [GitHub:#c181c71a] - no message (64j)
+* [GitHub:#eade0468] - added lang error_internet_connection english russian (64j)
+* [GitHub:#b37ed9e8] - remove style button format code (64j)
+* [GitHub:#23b37c09] - update style buttons, inputs (64j)
+* [GitHub:#6367c0c5] - fix show help description format code (64j)
+* [GitHub:#b934ab46] - add check conection to server refactor code (64j)
+* [GitHub:#9a081655] - fix favicon form login (64j)
+* [GitHub:#f5728a10] - refactor getSettings (Pathologic)
+* [GitHub:#10cb5dd8] - [F] fix for check version in update with version_compare (dmi3yy)
+* [GitHub:#c3d1109c] - fix file names (dmi3yy)
+* [GitHub:#d8aabd61] - fix my local (dmi3yy)
+* [GitHub:#eaba6e8e] - fix trouble with my local git (dmi3yy)
+* [GitHub:#b7a8e801] - refactor evoTooltips in header.php (Serg)
+* [GitHub:#3c862c21] - no message (dmi3yy)
+* [GitHub:#c7fef5a3] - no message (dmi3yy)
+* [GitHub:#8c123fc5] - refactor evoTooltips in header.php (Serg)
+* [GitHub:#4edf578d] - update evoTooltips in header.php (Serg)
+* [GitHub:#805667dc] - refactor evoSortable in header.php (Serg)
+* [GitHub:#389480ed] - Update categories.js (Serg)
+* [GitHub:#58d75d20] - Update .gitignore (yamamoto)
+* [GitHub:#f7ea5e48] - update evoSortable in header.php (64j)
+* [GitHub:#3cc61fad] - update evoSortable in header.php (64j)
+* [GitHub:#053269be] - update manager categories remove mootools sortable, replace evoSortable (64j)
+* [GitHub:#452d879b] - add evoSortable in header.php refactor code (64j)
+* [GitHub:#01d63014] - Fix @396814f#commitcomment-23456321 (yamamoto)
+* [GitHub:#8219b64f] - 1.3x version noticies draft (Nicola)
+* [GitHub:#581cd64b] - modx evo version noticies (Nicola)
+* [GitHub:#8745f307] - added support for both (modx and evo) cms name in version noticies (Nicola)
+* [GitHub:#7ab5558c] - updated help logs tab for evo (Nicola)
+* [GitHub:#9d64b02f] - updated help documentation tab for evo (Nicola)
+* [GitHub:#f7505a33] - updated about tab for Evo (Nicola)
+* [GitHub:#36e4bc09] - updated help templates path (Nicola)
+* [GitHub:#f8e41287] - moved help templates to manager/actions (Nicola)
+* [GitHub:#2fb69eab] - update default style refactor (64j)
+* [GitHub:#35070b9e] - remove unused css files (64j)
+* [GitHub:#48767ee7] - update manager categories refactor code, replace jQuery, Mootools (64j)
+* [GitHub:#7df8acaf] - update evo tooltip (64j)
+* [GitHub:#9906b5a9] - update document.static (64j)
+* [GitHub:#72fa4754] - update evo tooltip (64j)
+* [GitHub:#65dfe495] - update messages.static (64j)
+* [GitHub:#0b747ac6] - update style move_document.php (64j)
+* [GitHub:#4bc440a1] - update style table data base add tooltips (64j)
+* [GitHub:#f4d30ca7] - resolve #135 (64j)
+* [GitHub:#fcd6b4ee] - Refactor - Use $_SERVER['REQUEST_TIME'] (yamamoto)
+* [GitHub:#7f986c70] - [I] New - $modx->config['enable_cache'] (yamamoto)
+* [GitHub:#40514b5c] - Code cleanup (readable flow) (yamamoto)
+* [GitHub:#2e81ff4b] - [Fix] Missing parse modifier (yamamoto)
+* [GitHub:#b45cc3a7] - [F] Cross References bug [*pagetitle@parent*] (yamamoto)
+* [GitHub:#396814fe] - [F] #134 Fix bug Cross References (yamamoto)
+* [GitHub:#26a9c185] - Fix @7f3a73f (yamamoto)
+* [GitHub:#0fbb8c6b] - Fix @LITERAL (yamamoto)
+* [GitHub:#7f3a73f3] - remove etomite "compatibility" (Pathologic)
+* [GitHub:#d6b4f634] - add css class tab-content (64j)
+* [GitHub:#b3ecfd0f] - refactor bkmanager (64j)
+* [GitHub:#387dd53b] - add tooltips in header.php (64j)
+* [GitHub:#0cbe8999] - [I] #116 Display EVO tags on page (yamamoto)
+* [GitHub:#4d984082] - Refactor (yamamoto)
+* [GitHub:#7d7b44d6] - fix #130 (Serg)
+* [GitHub:#a6d99c4c] - fix #130 (Serg)
+* [GitHub:#d36bf3f9] - https://github.com/evolution-cms/evolution/issues/135 reverted the css fix and changed class in the module (Nicola)
+* [GitHub:#c5ec13ed] - revert https://github.com/Nicola1971/evolution/commit/0a6889f553e1ea59406a29638fc311b59f22f37a (Nicola)
+* [GitHub:#9b2b89f4] - update DLMenu (Pathologic)
+* [GitHub:#60e644c6] - fix redundant tag (Pathologic)
+* [GitHub:#268da0f6] - update install (Pathologic)
+* [GitHub:#3de4fda4] - fix #127 (Pathologic)
+* [GitHub:#456b6e20] - update demo content (Pathologic)
+* [GitHub:#eba6019b] - solve #130 (Pathologic)
+* [GitHub:#9fa434b2] - [I] #116 Display EVO tags on page (yamamoto)
+* [GitHub:#0a6889f5] - [f] for Manage Categories Help Toggle Not Work https://github.com/evolution-cms/evolution/issues/135 (Nicola)
+* [GitHub:#594e693a] - [F] Replace "\" by "/" to fit MODX_BASE_PATH (Deesen)
+* [GitHub:#3b3f6a8e] - [I] $modx->db->lastQuery (yamamoto)
+* [GitHub:#74fbdbf9] - [C]: Code clean-up (yamamoto)
+* [GitHub:#90391b27] - fix contextmenu (64j)
+* [GitHub:#71f2aa95] - fix #127 (Pathologic)
+* [GitHub:#3315496d] - remove mootools (64j)
+* [GitHub:#ff34df05] - remove mootools addEvent (64j)
+* [GitHub:#e6729fae] - remove mootools in datepicker.js (64j)
+* [GitHub:#96b11bf3] - add quotes install/config.tpl (64j)
+* [GitHub:#80def3ae] - fix #132 (64j)
+* [GitHub:#73af528e] - add newline at end of file #126 (64j)
+* [GitHub:#3884e3ed] - added createdon, editedon (64j)
+* [GitHub:#63741625] - update DocLister and FormLister (Pathologic)
+* [GitHub:#9ea9881d] - fix #127 (Pathologic)
+* [GitHub:#a6a2abd6] - update #126 add cache name and props disable snippets and chunks (64j)
+* [GitHub:#4787482d] - revert https://github.com/evolution-cms/evolution/commit/fb9f8cc4f864c4ef8db7e9e6d744e66d602835c9 (Pathologic)
+* [GitHub:#27df9335] - fix #127 (Pathologic)
+* [GitHub:#fb9f8cc4] - fix #127 (Pathologic)
+* [GitHub:#a039d981] - fix #129 (64j)
+* [GitHub:#f9dab1a3] - add check role #126 (64j)
+* [GitHub:#3d24e2a4] - added disable/enable snippets and chuncks #126 (64j)
+* [GitHub:#7a7428a6] - fix errors PHP7 undefined variables (64j)
+* [GitHub:#696d96e7] - add createdon, editedon to tv-parameters (#126 related) (Pathologic)
+* [GitHub:#39f7f8f3] - resolve #126 (Pathologic)
+* [GitHub:#b3717c22] - add newline at end of file (64j)
+* [GitHub:#ce25057f] - fix #128 (64j)
+* [GitHub:#87e768f0] - fix #83 format code (64j)
+* [GitHub:#6ab7fce9] - fix issue #83 (64j)
+* [GitHub:#ae1112b1] - format code modules.static (64j)
+* [GitHub:#47cb461c] - fix issue #105 (64j)
+* [GitHub:#e5ec1383] - update issue #105 (64j)
+* [GitHub:#c941e22a] - resolve issue #105 (64j)
+* [GitHub:#e902a162] - solved #124 (Pathologic)
+* [GitHub:#d2e38987] - updated manager italian language for evo1.3.3 (Nicola)
+* [GitHub:#8d387fed] - updated italian language for evo1.3.3 (Nicola)
+* [GitHub:#f3136b07] - fix form-check in bkmanager (64j)
+* [GitHub:#29781a47] - update viewport (64j)
+* [GitHub:#d4230da8] - update style table nowrap format code (64j)
+* [GitHub:#91a53c45] - update searchbar refactor code (64j)
+* [GitHub:#94ddd2fd] - Refactor (yamamoto)
+* [GitHub:#9927da82] - update width columns (64j)
+* [GitHub:#87bf03d2] - format code (64j)
+* [GitHub:#33414537] - resolve #90 (64j)
+* [GitHub:#58da6fe7] - fix #121 (64j)
+* [GitHub:#48e9dfff] - [F] #99 Use config['docid_incrmnt_method'] when duplicating resources (Deesen)
+* [GitHub:#6dce1e32] - Delete 090_Восстановление паролей пользователями.md (Anton Kolesnikov)
+* [GitHub:#268d46aa] - Delete 075_Активация учетных записей.md (Anton Kolesnikov)
+* [GitHub:#11b1366f] - Delete 070_Регистрация пользователей.md (Anton Kolesnikov)
+* [GitHub:#129a0a4c] - Delete 060_Авторизация пользователей.md (Anton Kolesnikov)
+* [GitHub:#07a6e604] - [I] #55 @FILE for chunks - {{@FILE:assets/chunks/header.html}} (Deesen)
+* [GitHub:#d62b4f9b] - update data sortable (64j)
+* [GitHub:#aa951d9c] - update style system info (64j)
+* [GitHub:#7d6d1305] - remove extra character (64j)
+* [GitHub:#1d7082c8] - format code PSR2 (64j)
+* [GitHub:#33a7d473] - format code (64j)
+* [GitHub:#aa04a374] - update sort columns (64j)
+* [GitHub:#4d62717c] - fix #112 (64j)
+* [GitHub:#4ed6f32e] - foram code (64j)
+* [GitHub:#76a38432] - update for porblem OnManagerTopPrerender (64j)
+* [GitHub:#be8031ff] - fix z-index action buttons for codeMirror full screen (64j)
+* [GitHub:#e26b2bee] - Update style.css (Serg)
+* [GitHub:#2759f4f6] - fix mce buttons (Serg)
+* [GitHub:#d37f6323] - fix #110 (Serg)
+* [GitHub:#58b89e16] - fix #110 (Serg)
+* [GitHub:#2b899254] - update style buttons actions (64j)
+* [GitHub:#dcaca322] - fix codemirror remove mootools fix hotkeys (64j)
+* [GitHub:#48aa4b44] - [R] update style tvars image / file (64j)
+* [GitHub:#e4a1360f] - [R] update style mutate password (64j)
+* [GitHub:#ddd98de5] - [R] update style logging static (64j)
+* [GitHub:#893f83fc] - [R] update style search page (64j)
+* [GitHub:#9ef5b101] - [R] update style page clear cache (64j)
+* [GitHub:#cde514e7] - [R] update style managment roles (64j)
+* [GitHub:#38e267c9] - [R] update style managment users / roles (64j)
+* [GitHub:#db46e561] - [F] fix #107 (64j)
+* [GitHub:#71ad7bd6] - [F] fix #106 (64j)
+* [GitHub:#d84c5433] - [R] update style elements (64j)
+* [GitHub:#873bf1fa] - [R] update style page webusers permissions (64j)
+* [GitHub:#14096b71] - [R] update style page managers permissions (64j)
+* [GitHub:#b3cdd621] - [F] fix #63 (64j)
+* [GitHub:#4b0a4fc3] - [F] fix #103 (Pathologic)
+* [GitHub:#c90042e4] - [F] fix #83 (64j)
+* [GitHub:#45a8aa77] - [C]remove deprecated libs (Pathologic)
+* [GitHub:#a7243bb3] - [F] #92 (Pathologic)
+* [GitHub:#a3bac9d8] - [F] #71 (64j)
+* [GitHub:#7b60d2cc] - [F] #71 fix permissions (64j)
+* [GitHub:#2b2a2a62] - [C]remove redundant code - tags are cleaned in cleanUpMODXTags (Pathologic)
+* [GitHub:#8fd7d31f] - [F] Avoid "Fatal error: Call to undefined function curl_init()" (Deesen)
+* [GitHub:#60a77940] - [F] fix #94 Hide rss widgets if rss_url_news and rss_url_security settings are empty (dmi3yy)
+* [GitHub:#bd649a9f] - [F] #93 (Pathologic)
+* [GitHub:#12007dec] - [F] #87 missing OnManagerTopPrerender (Nicola)
+
+
+Evolution CMS 1.3.3 (Jul 20, 2017)
+* [GitHub:#f83719a0] - [F] fix for multiTV<10.0.12 (need branch name Evolution) (dmi3yy)
+* [GitHub:#3ac1ef3f] - [F] fix issues #73 update login form (64j)
+* [GitHub:#c469b0ed] - [I] Update README.md add version informer (Dmytro Lukianenko)
+* [GitHub:#aa00f6c8] - [F] fix issues #71 (64j)
+* [GitHub:#2c71ff6a] - [F] update Readme add php informer (Anton Kolesnikov)
+* [GitHub:#900854ba] - [F] fix issues #66 format code (64j)
+* [GitHub:#ee27d087] - [C] remove unused files DLUsers (dmi3yy)
+* [GitHub:#d4c67e6a] - [I] FormLister need PHP >= 5.6 (Anton Kolesnikov)
+* [GitHub:#8e4594f8] - [F] fix issues #72 forma code (64j)
+
+
+Evolution CMS 1.3.2 (Jul 19, 2017)
+* [GitHub:#a8fc2fdf] - [F] updater plugin (dmi3yy)
+* [GitHub:#ad14254c] - [F] fix #75 (Pathologic)
+* [GitHub:#d29faf9a] - [R] refactor sortableList (64j)
+* [GitHub:#ffa63034] - [F] fix #68 (for hide widget better use $widgets['welcome']['hide'] = 1;) (dmi3yy)
+
+
+Evolution CMS 1.3.1 (Jul 19, 2017)
+* [GitHub:#c2348530] - [F] DocLister 2.3.5 fix paginate (dmi3yy)
+* [GitHub:#6daadd0f] - [F] version in top menu (dmi3yy)
+
+
+Evolution CMS 1.3.0 (Jul 19, 2017)
* [GitHub:#3dda520a] - [R] update sortables list delete mootools sortables (64j)
* [GitHub:#9cafe6db] - [F] fix toggle menu (64j)
* [GitHub:#6c316c18] - [I] Update DocLister add DLmenu (dmi3yy)
@@ -3084,4 +3406,4 @@ Additional Improvements & Updates:
- Updated RSS feeds to more manageable number of entries for welcome page.
- Updated snoopy class to latest version 1.2.4 (used by magpierss).
-For earlier changelog entries, please see the /install/changelog.txt file included with the MODX 0.9.6.3 distribution
\ No newline at end of file
+For earlier changelog entries, please see the /install/changelog.txt file included with the MODX 0.9.6.3 distribution
diff --git a/assets/images/noimage.jpg b/assets/images/noimage.jpg
deleted file mode 100755
index e0de171897..0000000000
Binary files a/assets/images/noimage.jpg and /dev/null differ
diff --git a/assets/js/.htaccess b/assets/js/.htaccess
new file mode 100644
index 0000000000..6c1cc6e2da
--- /dev/null
+++ b/assets/js/.htaccess
@@ -0,0 +1,5 @@
+IndexIgnore */*
+
".print_r($this->field[$key],true).""); - }catch(Exception $e){ die($e->getMessage()); } - } - return $this; - } - - private function invokeEvent($name,$data=array(),$flag=false){ - $flag = (isset($flag) && $flag!='') ? (bool)$flag : false; - if($flag){ - $this->modx->invokeEvent($name,$data); - } - return $this; - } - - public function clearCache($fire_events = null){ - $this->modx->clearCache('full'); - $this->invokeEvent('OnSiteRefresh',array(),$fire_events); - } - - public function list_log($flush = false){ - echo '
'.print_r($this->log,true).''; - if($flush) $this->clearLog(); - return $this; - } - - public function clearLog(){ - $this->log = array(); - return $this; - } - - public function set($key,$value){ - $value = str_replace("'", "\'", $value ); - if(is_scalar($value) && is_scalar($key) && !empty($key)){ - switch($key){ - case 'template': { - $value = trim($value); - $value = $this->setTemplate($value); - break; - } - } - $this->field[$key] = $value; - } - return $this; - } - - private function setTemplate($tpl) { - if(!is_numeric($tpl) || $tpl != (int) $tpl) { - try{ - if(is_scalar($tpl)){ - $rs = $this->modx->db->select('id', $this->_table['site_templates'], "templatename = '{$tpl}'"); - if($this->modx->db->getRecordCount($rs) <= 0) throw new Exception("Template {$tpl} is not exists"); - $tpl = $this->modx->db->getValue($rs); - } else throw new Exception("Invalid template name: ".print_r($tpl,1)); - }catch(Exception $e){ - $tpl = 0; - die($e->getMessage()); - } - } - return (int)$tpl; - } - - public function get($key){ - return isset($this->field[$key]) ? $this->field[$key] : null; - } - - private function getAlias(){ - if ($this->modx->config['friendly_urls'] && $this->modx->config['automatic_alias'] && $this->get('alias') == ''){ - $alias = mb_strtolower(strtr($this->get('pagetitle'), $this->table)); - }else{ - if($this->get('alias')!=''){ - $alias = $this->get('alias'); - }else{ - $alias = ''; - } - } - return $this->checkAlias($alias); - } - - public function get_TV(){ - $result = $this->modx->db->select('id,name', $this->_table['site_tmplvars']); - while($row = $this->modx->db->getRow($result)) { - $this->tv[$row['name']] = $row['id']; - $this->tvid[$row['id']] = $row['name']; - } - } - - public function fromArray($data){ - foreach($data as $key=>$value) $this->set($key,$value); - return $this; - } - - public function edit($id){ - if(!$this->flag) $this->document($id); - - $result = $this->modx->db->select('*', $this->_table['site_content'], "id=".(int)$id); - $this->fromArray($this->modx->db->getRow($result)); - - $result = $this->modx->db->select('*', $this->_table['site_tmplvar_contentvalues'], "contentid=".(int)$id); - while ($row = $this->modx->db->getRow($result)){ - $this->set($this->tvid[$row['tmplvarid']], $row['value']); - } - unset($this->field['id']); - return $this; - } - - private function systemID(){ - $ignore = array( - 0, //empty document - (int)$this->modx->config['site_start'], - (int)$this->modx->config['error_page'], - (int)$this->modx->config['unauthorized_page'], - (int)$this->modx->config['site_unavailable_page'] - ); - $data = $this->modx->db->select('DISTINCT setting_value', $this->_table['web_user_settings'], "setting_name='login_home' AND setting_value!=''"); - $data = $this->modx->db->makeArray($data); - foreach($data as $item){ - $ignore[]=(int)$item['setting_value']; - } - return array_unique($ignore); - - } - - public function delete($ids,$fire_events = null){ - //@TODO: delete with SET deleted=1 - $ignore = $this->systemID(); - $_ids = $this->cleanIDs($ids, ',', $ignore); - try{ - if(is_array($_ids) && $_ids!=array()){ - $this->invokeEvent('OnBeforeEmptyTrash',array( - "ids"=>$_ids - ),$fire_events); - - $id = $this->sanitarIn($_ids); - $this->modx->db->delete($this->_table['site_content'], "id IN ({$id})"); - $this->modx->db->delete($this->_table['site_tmplvar_contentvalues'], "contentid IN ({$id})"); - - $this->invokeEvent('OnEmptyTrash',array( - "ids"=>$_ids - ),$fire_events); - } else throw new Exception('Invalid IDs list for delete:
'.print_r($ids,1).'please, check ignore list:
'.print_r($ignore,1).''); - }catch(Exception $e){ die($e->getMessage()); } - - return $this; - } - - final private function cleanIDs($IDs,$sep=',',$ignore = array()) { - $out=array(); - if(!is_array($IDs)){ - try{ - if(is_scalar($IDs)){ - $IDs=explode($sep, $IDs); - } else { - $IDs = array(); - throw new Exception('Invalid IDs list
'.print_r($IDs,1).''); - } - } catch(Exception $e){ die($e->getMessage()); } - } - foreach($IDs as $item){ - $item = trim($item); - if(is_numeric($item) && (int)$item>=0){ //Fix 0xfffffffff - if(!empty($ignore) && in_array((int)$item, $ignore, true)){ - $this->log[] = 'Ignore id '.(int)$item; - }else{ - $out[]=(int)$item; - } - } - } - print_r($ignore); - $out = array_unique($out); - return $out; - } - - final protected function check($id){ - return (is_array($id) && $id!=array()) ? true : false; - } - - final protected function sanitarIn($data,$sep=','){ - if(!is_array($data)){ - $data=explode($sep,$data); - } - $out = $this->modx->db->escape($data); - $out="'".implode("','",$out)."'"; - return $out; - } - - public function fromJson($data,$callback=null){ - try{ - if(is_scalar($data) && !empty($data)){ - $json = json_decode($data); - }else throw new Exception("json is not string with json data"); - if ($this->jsonError($json)) { - if(isset($callback) && is_callable($callback)){ - call_user_func_array($callback,array($json)); - }else{ - if(isset($callback)) throw new Exception("Can't call callback JSON unpack
".print_r($callback,1).""); - foreach($json as $key=>$val){ - $this->set($key,$val); - } - } - } else throw new Exception('Error from JSON decode:
'.print_r($data,1).''); - }catch(Exception $e){ die($e->getMessage()); } - return $this; - } - - public function toJson($callback=null){ - try{ - $data = $this->toArray(); - $json = json_encode($data); - if(!$this->jsonError($data,$json)) { - $json = false; - throw new Exception('Error from JSON decode:
'.print_r($data,1).''); - } - }catch(Exception $e){ die($e->getMessage()); } - return $json; - } - - private function jsonError($data){ - $flag = false; - if(!function_exists('json_last_error')){ - function json_last_error(){ - return JSON_ERROR_NONE; - } - } - if(json_last_error() === JSON_ERROR_NONE && is_object($data) && $data instanceof stdClass){ - $flag = true; - } - return $flag; - } - - public function toArray(){ - return $this->field; - } - - private function checkAlias($alias, $i=1){ - if($this->modx->config['friendly_urls']){ - $flag = false; - $_alias = $this->modx->db->escape($alias); - if(!$this->modx->config['allow_duplicate_alias'] || ($this->modx->config['allow_duplicate_alias'] && $this->modx->conifg['use_alias_path'])){ - $flag = $this->modx->db->getValue($this->modx->db->select('id', $this->_table['site_content'], "alias='{$_alias}' AND parent={$this->get('parent')}", '', 1)); - } else { - $flag = $this->modx->db->getValue($this->modx->db->select('id', $this->_table['site_content'], "alias='{$_alias}'", '', 1)); - } - if(($flag && $this->newDoc) || (!$this->newDoc && $flag && $this->id != $flag)){ - /*$suffix = substr($alias, -2); - if(preg_match('/-(\d+)/',$suffix,$tmp) && isset($tmp[1]) && (int)$tmp[1]>1){ - $suffix = (int)$tmp[1] + 1; - $alias = substr($alias, 0, -2) . '-'. $suffix; - }else{ - $alias .= '-2'; - }*/ - $alias = $this->checkAlias($alias.'-'.$i,$i+1); - } - } - return $alias; - } - - public function save($fire_events = null,$clearCache = false){ - try{ - if(!$this->flag){ - throw new Exception('You need flush document field before set and save resource'); - } - }catch(Exception $e){ die($e->getMessage()); } - - if ($this->field['pagetitle'] == '') { - $this->log[] = 'Pagetitle is empty in
'.print_r($this->field,true).''; - return false; - } - $this->set('alias',$this->getAlias()); - - $this->invokeEvent('OnBeforeDocFormSave',array ( - "mode" => $this->newDoc ? "new" : "upd", - "id" => $this->id ? $this->id : '' - ),$fire_events); - - $fld = $this->toArray(); - foreach($this->default_field as $key=>$value){ - if ($this->newDoc && $this->get($key) == '' && $this->get($key)!==$value){ - $this->set($key,$value); - } - $this->Uset($key,$value); - unset($fld[$key]); - } - if (!empty($this->set)){ - if($this->newDoc){ - $this->modx->db->insert($this->set, $this->_table['site_content']); - }else{ - $this->modx->db->update($this->set, $this->_table['site_content'], "id = '{$this->id}'"); - } - } - - if($this->newDoc) $this->id = $this->modx->db->getInsertId(); - - foreach($fld as $key=>$value){ - #if ($value=='') continue; - if ($this->tv[$key]!=''){ - $fields = array( - 'tmplvarid' => $this->tv[$key], - 'contentid' => $this->id, - 'value' => $this->modx->db->escape($value), - ); - - $rs = $this->modx->db->select('value', $this->_table['site_tmplvar_contentvalues'], "contentid = '{$fields['contentid']}' AND tmplvarid = '{$fields['tmplvarid']}'"); - - if ( $this->modx->db->getRecordCount($rs) > 0 ) { - $row = $this->modx->db->getRow($rs); - if ($row['value'] != $value) { - $this->modx->db->update($fields, $this->_table['site_tmplvar_contentvalues'], "contentid = '{$fields['contentid']}' AND tmplvarid = '{$fields['tmplvarid']}'"); - } - }else{ - $this->modx->db->insert($fields, $this->_table['site_tmplvar_contentvalues']); - } - - } - } - $this->invokeEvent('OnDocFormSave',array ( - "mode" => $this->newDoc ? "new" : "upd", - "id" => $this->id - ),$fire_events); - - if($clearCache){ - $this->clearCache($fire_events); - } - $this->flag = false; - return $this->id; - } -} \ No newline at end of file diff --git a/assets/modules/docmanager/classes/dm_frontend.class.php b/assets/modules/docmanager/classes/dm_frontend.class.php index f676917b01..88a619e83d 100644 --- a/assets/modules/docmanager/classes/dm_frontend.class.php +++ b/assets/modules/docmanager/classes/dm_frontend.class.php @@ -81,7 +81,6 @@ function renderDocumentSelect() { function renderMisc() { $this->dm->ph['view.misc'] = $this->dm->parseTemplate('misc.tpl', $this->dm->ph); $this->dm->ph['view.tab'] = (is_numeric($_GET['tab'])) ? '' : ''; - } function renderChangeAuthors() { diff --git a/assets/modules/docmanager/js/docmanager.js b/assets/modules/docmanager/js/docmanager.js index fb866c3c46..bbfbc1f6cc 100644 --- a/assets/modules/docmanager/js/docmanager.js +++ b/assets/modules/docmanager/js/docmanager.js @@ -1,130 +1,138 @@ -function getCookie(name) { - var dc = document.cookie; - var prefix = name + "="; - var begin = dc.indexOf("; " + prefix); - if (begin == -1) { - begin = dc.indexOf(prefix); - if (begin != 0) return null; - } else { - begin += 2; - } - var end = document.cookie.indexOf(";", begin); - if (end == -1) { - end = dc.length; +function getCookie(name) +{ + var dc = document.cookie; + var prefix = name + '='; + var begin = dc.indexOf('; ' + prefix); + if (begin == -1) { + begin = dc.indexOf(prefix); + if (begin != 0) { + return null; } - return unescape(dc.substring(begin + prefix.length, end)); + } else { + begin += 2; + } + var end = document.cookie.indexOf(';', begin); + if (end == -1) { + end = dc.length; + } + return decodeURIComponent(dc.substring(begin + prefix.length, end)); } -function getSelectedRadio(buttonGroup) { - if (buttonGroup[0]) { - for (var i=0; i
[+lang.DM_adjust_authors_desc+]
[+lang.DM_adjust_authors_desc+]
\ No newline at end of file diff --git a/assets/modules/docmanager/templates/documentgroups.tpl b/assets/modules/docmanager/templates/documentgroups.tpl index e58851b129..105a343e09 100644 --- a/assets/modules/docmanager/templates/documentgroups.tpl +++ b/assets/modules/docmanager/templates/documentgroups.tpl @@ -1,8 +1,8 @@[+lang.DM_doc_desc+]
[+lang.DM_adjust_dates_desc+]
[+lang.DM_adjust_dates_desc+]
-[+lang.DM_misc_desc+]
[+lang.DM_misc_desc+]
\ No newline at end of file diff --git a/assets/modules/docmanager/templates/templates.tpl b/assets/modules/docmanager/templates/templates.tpl index 7511b332cd..9026b84379 100644 --- a/assets/modules/docmanager/templates/templates.tpl +++ b/assets/modules/docmanager/templates/templates.tpl @@ -1,13 +1,16 @@ -[+lang.DM_tpl_desc+]
[+lang.DM_tpl_desc+]
+[+update.message+]
- -[+update.message+]
+ +
- '.$row['caption'].' '.$row['description'].' + ' . $row['caption'] . ' ' . $row['description'] . ' |
'; - $base_url = str_replace("assets/modules/docmanager/", "", MODX_BASE_URL); - $output.= renderFormElement($row['type'], $row['id'], $row['default_text'], $row['elements'], $row['value'], ' style="width:300px;"'); - $output.= ' |
'; - $field_html .= ' |
'; + $field_html .= ' |
' . $row["title"] . ' | -' . $links . ' | -
" . $_lang['checking_registerglobals']; -$register_globals = (int) ini_get('register_globals'); -if ($register_globals == '1'){ - echo "" . $_lang['failed']. "
".$_lang['checking_registerglobals_note']."
"; - // $errors += 1; // comment out for now so we still allow installs if folks are simply stubborn -} else { - echo "" . $_lang['ok'] . ""; -} // check if iconv is available echo "" . $_lang['checking_iconv']; $iconv = (int) function_exists('iconv'); diff --git a/install/assets/plugins/ElementsInTree.tpl b/install/assets/plugins/ElementsInTree.tpl index 1f3f3ca223..0088ad8fe8 100644 --- a/install/assets/plugins/ElementsInTree.tpl +++ b/install/assets/plugins/ElementsInTree.tpl @@ -5,9 +5,9 @@ * Get access to all Elements and Modules inside Manager sidebar * * @category plugin - * @version 1.5.7 + * @version 1.5.8 * @license http://creativecommons.org/licenses/GPL/2.0/ GNU Public License (GPL v2) - * @internal @properties &tabTreeTitle=Tree Tab Title;text;Docs;;Custom title of Site Tree tab. &useIcons=Use icons in tabs;list;yes,no;yes;;Icons available in EVO version 1.2 or newer. &treeButtonsInTab=Tree Buttons in tab;list;yes,no;yes;;Move Tree Buttons into Site Tree tab. &unifyFrames=Unify Frames;list;yes,no;yes;;Unify Tree and Main frame style. + * @internal @properties &adminRoleOnly=Administrators only;list;yes,no;yes;;Show tabs only for users with administrator role. &treeButtonsInTab=Tree buttons in tab;list;yes,no;yes;;Move Tree buttons into Site Tree tab. &useIcons=Tab icons;list;yes,no;yes;;Use icons in tabs. &unifyFrames=Unify frames;list;yes,no;yes;;Unify style of Tree and Main frame style. &tabTreeTitle=Tree tab title;text;Site;;Custom title of Site Tree tab. * @internal @events OnManagerTreePrerender,OnManagerTreeRender,OnManagerMainFrameHeaderHTMLBlock,OnTempFormSave,OnTVFormSave,OnChunkFormSave,OnSnipFormSave,OnPluginFormSave,OnModFormSave,OnTempFormDelete,OnTVFormDelete,OnChunkFormDelete,OnSnipFormDelete,OnPluginFormDelete,OnModFormDelete * @internal @modx_category Manager and Admin * @internal @installset base @@ -20,7 +20,7 @@ * @author Nicola1971 https://github.com/Nicola1971 * @author Deesen https://github.com/Deesen * @author yama https://github.com/yama - * @lastupdate 27/12/2016 + * @lastupdate 31/08/2017 */ require MODX_BASE_PATH.'assets/plugins/elementsintree/plugin.elementsintree.php'; diff --git a/install/assets/plugins/qm.tpl b/install/assets/plugins/qm.tpl index 2ec520d45c..546e08963d 100644 --- a/install/assets/plugins/qm.tpl +++ b/install/assets/plugins/qm.tpl @@ -5,9 +5,9 @@ * Enables QuickManager+ front end content editing support * * @category plugin - * @version 1.5.7 + * @version 1.5.8 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL v3) - * @internal @properties &jqpath=Path to jQuery;text;assets/js/jquery.min.js &loadmanagerjq=Load jQuery in manager;list;true,false;false &loadfrontendjq=Load jQuery in front-end;list;true,false;true &noconflictjq=jQuery noConflict mode in front-end;list;true,false;true &loadtb=Load modal box in front-end;list;true,false;true &tbwidth=Modal box window width;text;80% &tbheight=Modal box window height;text;90% &hidefields=Hide document fields from front-end editors;text;parent &hidetabs=Hide document tabs from front-end editors;text; &hidesections=Hide document sections from front-end editors;text; &addbutton=Show add document here button;list;true,false;true &tpltype=New document template type;list;parent,id,selected;parent &tplid=New document template id;int;3 &custombutton=Custom buttons;textarea; &managerbutton=Show go to manager button;list;true,false;true &logout=Logout to;list;manager,front-end;manager &disabled=Plugin disabled on documents;text; &autohide=Autohide toolbar;list;true,false;true &position= Toolbar position;list;top,right,bottom,left,before;top &editbuttons=Inline edit buttons;list;true,false;false &editbclass=Edit button CSS class;text;qm-edit &newbuttons=Inline new resource buttons;list;true,false;false &newbclass=New resource button CSS class;text;qm-new &tvbuttons=Inline template variable buttons;list;true,false;false &tvbclass=Template variable button CSS class;text;qm-tv &removeBg=Remove toolbar background;list;yes,no;no &buttonStyle=QuickManager buttons CSS stylesheet;list;actionButtons,navButtons;actionButtons + * @internal @properties &jqpath=Path to jQuery;text;assets/js/jquery.min.js &loadmanagerjq=Load jQuery in manager;list;true,false;false &loadfrontendjq=Load jQuery in front-end;list;true,false;true &noconflictjq=jQuery noConflict mode in front-end;list;true,false;true &loadfa=Load Font Awesome css in front-end;list;true,false;true &loadtb=Load modal box in front-end;list;true,false;true &tbwidth=Modal box window width;text;80% &tbheight=Modal box window height;text;90% &hidefields=Hide document fields from front-end editors;text;parent &hidetabs=Hide document tabs from front-end editors;text; &hidesections=Hide document sections from front-end editors;text; &addbutton=Show add document here button;list;true,false;true &tpltype=New document template type;list;parent,id,selected;parent &tplid=New document template id;int;3 &custombutton=Custom buttons;textarea; &managerbutton=Show go to manager button;list;true,false;true &logout=Logout to;list;manager,front-end;manager &disabled=Plugin disabled on documents;text; &autohide=Autohide toolbar;list;true,false;true &position= Toolbar position;list;top,right,bottom,left,before;top &editbuttons=Inline edit buttons;list;true,false;false &editbclass=Edit button CSS class;text;qm-edit &newbuttons=Inline new resource buttons;list;true,false;false &newbclass=New resource button CSS class;text;qm-new &tvbuttons=Inline template variable buttons;list;true,false;false &tvbclass=Template variable button CSS class;text;qm-tv &removeBg=Remove toolbar background;list;yes,no;no &buttonStyle=QuickManager buttons CSS stylesheet;list;actionButtons,navButtons;actionButtons * @internal @events OnParseDocument,OnWebPagePrerender,OnDocFormPrerender,OnDocFormSave,OnManagerLogout * @internal @modx_category Manager and Admin * @internal @legacy_names QM+,QuickEdit @@ -18,7 +18,7 @@ * @link http://www.maagit.fi/modx/quickmanager-plus * @author Mikko Lammi * @author Since 2011: yama, dmi3yy, segr, Nicola1971. - * @lastupdate 23/01/2017 + * @lastupdate 21/08/2017 */ // In manager @@ -43,5 +43,5 @@ if ($show) { } } include_once($modx->config['base_path'].'assets/plugins/qm/qm.inc.php'); - $qm = new Qm($modx, $jqpath, $loadmanagerjq, $loadfrontendjq, $noconflictjq, $loadtb, $tbwidth, $tbheight, $hidefields, $hidetabs, $hidesections, $addbutton, $tpltype, $tplid, $custombutton, $managerbutton, $logout, $autohide, $position, $editbuttons, $editbclass, $newbuttons, $newbclass, $tvbuttons, $tvbclass, $buttonStyle, $removeBg); + $qm = new Qm($modx, $jqpath, $loadmanagerjq, $loadfrontendjq, $noconflictjq, $loadfa, $loadtb, $tbwidth, $tbheight, $hidefields, $hidetabs, $hidesections, $addbutton, $tpltype, $tplid, $custombutton, $managerbutton, $logout, $autohide, $position, $editbuttons, $editbclass, $newbuttons, $newbclass, $tvbuttons, $tvbclass, $buttonStyle, $removeBg); } diff --git a/install/assets/plugins/searchhighlight.tpl b/install/assets/plugins/searchhighlight.tpl index 932062c411..5099f73a60 100644 --- a/install/assets/plugins/searchhighlight.tpl +++ b/install/assets/plugins/searchhighlight.tpl @@ -83,17 +83,10 @@ if (isset($_REQUEST['searched']) && isset($_REQUEST['highlight'])) { $dbCharset = $database_connection_charset; $pgCharset = array_key_exists($dbCharset,$pageCharset) ? $pageCharset[$dbCharset] : $dbCharset; - // magic quotes check - if (get_magic_quotes_gpc()){ - $searched = strip_tags(stripslashes($_REQUEST['searched'])); - $highlight = strip_tags(stripslashes($_REQUEST['highlight'])); - if (isset($_REQUEST['advsearch'])) $advsearch = strip_tags(stripslashes($_REQUEST['advsearch'])); - } - else { - $searched = strip_tags($_REQUEST['searched']); - $highlight = strip_tags($_REQUEST['highlight']); - if (isset($_REQUEST['advsearch'])) $advsearch = strip_tags($_REQUEST['advsearch']); - } + $searched = strip_tags($_REQUEST['searched']); + $highlight = strip_tags($_REQUEST['highlight']); + if (isset($_REQUEST['advsearch'])) $advsearch = strip_tags($_REQUEST['advsearch']); + if ($advsearch != 'nowords') { diff --git a/install/assets/plugins/userHelper.tpl b/install/assets/plugins/userHelper.tpl index ffc96893a7..527dbcd9a1 100644 --- a/install/assets/plugins/userHelper.tpl +++ b/install/assets/plugins/userHelper.tpl @@ -5,7 +5,7 @@ * addition to FormLister * * @category plugin - * @version 1.7.3 + * @version 1.7.8 * @internal @properties &logoutKey=Request key;text;logout &cookieName=Cookie Name;text;WebLoginPE &cookieLifetime=Cookie Lifetime, seconds;text;157680000 &maxFails=Max failed logins;text;3 &blockTime=Block for, seconds;text;3600 * @internal @events OnWebPageInit,OnPageNotFound,OnWebLogin * @internal @disabled 1 diff --git a/install/assets/snippets/DLMenu.tpl b/install/assets/snippets/DLMenu.tpl index 511c8132ce..0cd138feb9 100644 --- a/install/assets/snippets/DLMenu.tpl +++ b/install/assets/snippets/DLMenu.tpl @@ -5,7 +5,7 @@ * Snippet to build menu with DocLister * * @category snippet - * @version 1.1.1 + * @version 1.2.0 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) * @internal @properties * @internal @modx_category Content diff --git a/install/assets/snippets/DLBuildMenu.tpl b/install/assets/snippets/DLSitemap.tpl similarity index 77% rename from install/assets/snippets/DLBuildMenu.tpl rename to install/assets/snippets/DLSitemap.tpl index 333f13606d..469142e56d 100644 --- a/install/assets/snippets/DLBuildMenu.tpl +++ b/install/assets/snippets/DLSitemap.tpl @@ -1,15 +1,15 @@ //=')) { - return session_status() === PHP_SESSION_ACTIVE ? TRUE : FALSE; - } else { - return session_id() === '' ? FALSE : TRUE; - } - } - return FALSE; - } function startCMSSession(){ - - if ( is_session_started() !== FALSE ) return; global $site_sessionname, $https_port; diff --git a/install/connection.collation.php b/install/connection.collation.php index 4d80000ddd..a91eac19df 100644 --- a/install/connection.collation.php +++ b/install/connection.collation.php @@ -14,41 +14,46 @@ } require_once('lang.php'); -if ($conn = mysqli_connect($host, $uid, $pwd)) { - // get collation - $rs = mysqli_query($conn, "SHOW COLLATION"); - if (mysqli_num_rows($rs) > 0) { - $output = ''; +$conn = mysqli_connect($host, $uid, $pwd); +if(!$conn) exit('can not connect'); + +// get collation +$rs = mysqli_query($conn, "SHOW COLLATION"); +if (mysqli_num_rows($rs) > 0) { + $output = ''; } + echo $output; +exit; + + function sortItem($array=array(),$order='utf8mb4,utf8') { $rs = array('recommend'=>''); diff --git a/install/connection.databasetest.php b/install/connection.databasetest.php index e5403a700e..f11b1d0fca 100644 --- a/install/connection.databasetest.php +++ b/install/connection.databasetest.php @@ -20,14 +20,6 @@ $output .= ''.$_lang['status_failed'].''; } else { - if (version_compare(phpversion(), "5.3") < 0) { - if(get_magic_quotes_gpc()) { - $_POST['database_name'] = stripslashes($_POST['database_name']); - $_POST['tableprefix'] = stripslashes($_POST['tableprefix']); - $_POST['database_collation'] = stripslashes($_POST['database_collation']); - $_POST['database_connection_method'] = stripslashes($_POST['database_connection_method']); - } - } $database_name = mysqli_real_escape_string($conn, $_POST['database_name']); $database_name = str_replace("`", "", $database_name); $tableprefix = mysqli_real_escape_string($conn, $_POST['tableprefix']); diff --git a/install/functions.php b/install/functions.php index 47fb063253..1f39dc99d3 100644 --- a/install/functions.php +++ b/install/functions.php @@ -52,7 +52,7 @@ function ph() $ph['pagetitle'] = $_lang['modx_install']; $ph['textdir'] = $modx_textdir ? ' id="rtl"':''; $ph['help_link'] = $installmode == 0 ? $_lang['help_link_new'] : $_lang['help_link_upd']; - $ph['version'] = $moduleName.' '.$moduleVersion; + $ph['version'] = $moduleVersion; $ph['release_date'] = ($modx_textdir ? '':'') . $modx_release_date; $ph['footer1'] = $_lang['modx_footer1']; $ph['footer2'] = $_lang['modx_footer2']; diff --git a/install/index.php b/install/index.php index 4f4f4cdf18..dbdb283f0f 100644 --- a/install/index.php +++ b/install/index.php @@ -1,12 +1,7 @@ ". $_lang['setup_database_create_connection']; if (!$conn = mysqli_connect($database_server, $database_user, $database_password)) { - echo "".$_lang["setup_database_create_connection_failed"]."
".$_lang['setup_database_create_connection_failed_note']."
"; + echo ''.$_lang["setup_database_create_connection_failed"]."".$_lang['setup_database_create_connection_failed_note']."
"; return; } else { - echo "".$_lang['ok'].""; + echo ''.$_lang['ok'].""; } // select database @@ -87,7 +87,7 @@ } else { if (function_exists('mysqli_set_charset')) mysqli_set_charset($conn, $database_charset); mysqli_query($conn, "{$database_connection_method} {$database_connection_charset}"); - echo "".$_lang['ok'].""; + echo ''.$_lang['ok'].""; } // try to create the database @@ -95,7 +95,7 @@ echo "".$_lang['setup_database_creation']. str_replace("`", "", $dbase) . "`: "; // if(!@mysqli_create_db(str_replace("`","",$dbase), $conn)) { if (! mysqli_query($conn, "CREATE DATABASE $dbase DEFAULT CHARACTER SET $database_charset COLLATE $database_collation")) { - echo "".$_lang['setup_database_creation_failed']."".$_lang['setup_database_creation_failed_note']."
"; + echo ''.$_lang['setup_database_creation_failed']."".$_lang['setup_database_creation_failed_note'].""; $errors += 1; ?>@@ -107,7 +107,7 @@ return; } else { - echo "".$_lang['ok'].""; + echo ''.$_lang['ok'].""; } } @@ -115,12 +115,12 @@ if ($installMode == 0) { echo "" . $_lang['checking_table_prefix'] . $table_prefix . "`: "; if (@ $rs = mysqli_query($conn, "SELECT COUNT(*) FROM $dbase.`" . $table_prefix . "site_content`")) { - echo "" . $_lang['failed'] . "" . $_lang['table_prefix_already_inuse'] . "
"; + echo '' . $_lang['failed'] . "" . $_lang['table_prefix_already_inuse'] . ""; $errors += 1; echo "" . $_lang['table_prefix_already_inuse_note'] . "
"; return; } else { - echo "" . $_lang['ok'] . ""; + echo ''.$_lang['ok'].""; } } @@ -203,7 +203,7 @@ function parseProperties($propertyString) { echo "" . $_lang['some_tables_not_updated'] . "
"; return; } else { - echo "".$_lang['ok'].""; + echo ''.$_lang['ok'].""; } } @@ -247,7 +247,7 @@ function parseProperties($propertyString) { $chmodSuccess = @chmod($filename, 0404); if ($configFileFailed == true) { - echo "" . $_lang['failed'] . ""; + echo '' . $_lang['failed'] . ""; $errors += 1; ?>/includes/config.inc.php
@@ -258,7 +258,7 @@ function parseProperties($propertyString) { " . $_lang['ok'] . ""; + echo ''.$_lang['ok'].""; } // generate new site_id and set manager theme to default @@ -295,7 +295,7 @@ function parseProperties($propertyString) { echo "" . $_lang['some_tables_not_updated'] . "
"; return; } else { - echo "".$_lang['ok'].""; + echo ''.$_lang['ok'].""; } } @@ -581,7 +581,7 @@ function parseProperties($propertyString) { } } if($insert === true) { - $properties = mysqli_real_escape_string($conn, parseProperties($properties, true)); + $properties = mysqli_real_escape_string($conn, propUpdate($properties,$row['properties'])); if(!mysqli_query($sqlParser->conn, "INSERT INTO $dbase.`".$table_prefix."site_plugins` (name,description,plugincode,properties,moduleguid,disabled,category) VALUES('$name','$desc','$plugin','$properties','$guid','0',$category);")) { echo "".mysqli_error($sqlParser->conn)."
"; return; @@ -681,7 +681,7 @@ function parseProperties($propertyString) { $sql = sprintf('UPDATE `%ssite_content` SET template=%s WHERE template=4', $sqlParser->prefix, $row['id']); mysqli_query($sqlParser->conn, $sql); } - echo "".$_lang['ok'].""; + echo ''.$_lang['ok'].""; } } diff --git a/install/lang/italian.inc.php b/install/lang/italian.inc.php index 72d51a91c9..5ebe19acb8 100644 --- a/install/lang/italian.inc.php +++ b/install/lang/italian.inc.php @@ -31,10 +31,12 @@ $_lang["btnback_value"] = 'Indietro'; $_lang["btnclose_value"] = 'Chiudi'; $_lang["btnnext_value"] = 'Avanti'; -$_lang["cant_write_config_file"] = 'MODX non è riuscito a salvare il file di configurazione. Vi preghiamo di copiare il seguente testo nel file '; -$_lang["cant_write_config_file_note"] = 'Una volta completata l\'operazione potrete accedere a MODX inserendo nel browser l\'indirizzo vostrosito.it/[+MGR_DIR+]/.'; +$_lang["cant_write_config_file"] = 'EVO non é riuscito a salvare il file di configurazione. Vi preghiamo di copiare il seguente testo nel file '; +$_lang["cant_write_config_file_note"] = 'Una volta completata l\'operazione potrete accedere a EVO inserendo nel browser l\'indirizzo vostrosito.it/[+MGR_DIR+]/.'; $_lang["checkbox_select_options"] = 'Opzioni Checkbox:'; $_lang["checking_if_cache_exist"] = 'Verifico se esistono le directories /assets/cache e /assets/cache/rss : '; +$_lang["checking_iconv"] = 'Controllo se l\'estensione iconv é disponibile: '; +$_lang["checking_iconv_note"] = 'E\' importante installare/abilitare l\'estensione iconv. Contattate il vostro hosting provider se non sapete come fare.'; $_lang["checking_if_cache_file_writable"] = 'Controllo i permessi di scrittura sul file /assets/cache/siteCache.idx.php : '; $_lang["checking_if_cache_file2_writable"] = 'Controllo i permessi di scrittura sul file /assets/cache/sitePublishing.idx.php : '; $_lang["checking_if_cache_writable"] = 'Controllo i permessi di scrittura sulle directories /assets/cache e /assets/cache/rss : '; @@ -43,11 +45,11 @@ $_lang["checking_if_export_writable"] = 'Controllo i permessi di scrittura della directory /assets/export : '; $_lang["checking_if_images_exist"] = 'Controllo se esistono le directories /assets/images, /assets/files, /assets/flash, /assets/media, /assets/backup e /assets/.thumbs : '; $_lang["checking_if_images_writable"] = 'Controllo i permessi di scrittura delle directories /assets/images, /assets/files, /assets/flash, /assets/media, /assets/backup e /assets/.thumbs : '; -$_lang["checking_mysql_strict_mode"] = 'Controllo la modalità strict sql_mode di MySQL: '; +$_lang["checking_mysql_strict_mode"] = 'Controllo la modalità strict sql_mode di MySQL: '; $_lang["checking_mysql_version"] = 'Controllo la versione di MySQL: '; $_lang["checking_php_version"] = 'Controllo la versione di PHP: '; -$_lang["checking_registerglobals"] = 'Controllo se Register_Globals è disattivato: '; -$_lang["checking_registerglobals_note"] = 'Con questa configurazione il vostro sito potrebbe essere vittima di attacchi Cross Site Scripting (XSS). Per disabilitare Register_Globals ci sono diverse alternative: modificare il file php.ini globale, modificare il file .htaccess nella root della vostra installazione MODX, oppure aggiungere dei files php.ini in ogni directory della vostra installazione MODX (ma ci sono molte directories). Potete continuare con l\'installazione, ma non dite che non vi abbiamo avvertito.'; +$_lang["checking_registerglobals"] = 'Controllo se Register_Globals é disattivato: '; +$_lang["checking_registerglobals_note"] = 'Con questa configurazione il vostro sito potrebbe essere vittima di attacchi Cross Site Scripting (XSS). Per disabilitare Register_Globals ci sono diverse alternative: modificare il file php.ini globale, modificare il file .htaccess nella root della vostra installazione EVO, oppure aggiungere dei files php.ini in ogni directory della vostra installazione EVO (ma ci sono molte directories). Potete continuare con l\'installazione, ma non dite che non vi abbiamo avvertito.'; $_lang["checking_sessions"] = 'Controllo se le sessioni sono configurate correttamente: '; $_lang["checking_table_prefix"] = 'Controllo il prefisso per le tabelle `'; $_lang["choose_language"] = 'Scegli la lingua'; @@ -56,7 +58,7 @@ $_lang["connection_screen_collation"] = 'Collation:'; $_lang["connection_screen_connection_method"] = 'Tipo di connessione:'; $_lang["connection_screen_database_connection_information"] = 'Informazioni sul Database'; -$_lang["connection_screen_database_connection_note"] = 'Inserite il nome del database da usare o che volete creare per questa installazione MODX. Se il database non esiste, il programma di installazione proverà a crearlo. Questa operazione potrebbe non riuscire in funzione della vostra configurazione di MySQL.'; +$_lang["connection_screen_database_connection_note"] = 'Inserite il nome del database da usare o che volete creare per questa installazione EVO. Se il database non esiste, il programma di installazione proverà a crearlo. Questa operazione potrebbe non riuscire in funzione della vostra configurazione di MySQL.'; $_lang["connection_screen_database_host"] = 'Server del Database:'; $_lang["connection_screen_database_info"] = 'Informazioni sul Database'; $_lang["connection_screen_database_login"] = 'Nome utente del Database:'; @@ -76,12 +78,12 @@ $_lang["connection_screen_table_prefix"] = 'Prefisso per la Tabella:'; $_lang["creating_database_connection"] = 'Creo la connessione al database: '; $_lang["database_alerts"] = 'Avvisi e Errori del Database!'; -$_lang["database_connection_failed"] = 'La connessione al Database è fallita!'; +$_lang["database_connection_failed"] = 'La connessione al Database é fallita!'; $_lang["database_connection_failed_note"] = 'Vi preghiamo di controllare i dettagli della connessione al database e riprovare.'; $_lang["database_use_failed"] = 'Impossibile selezionare il Database!'; $_lang["database_use_failed_note"] = 'Vi preghiamo di controllare i permessi dell\'utente specificato e riprovare.'; $_lang["default_language"] = 'Lingua di default per il Manager'; -$_lang["default_language_description"] = 'Questa è la lingua che verrà usata nel Manager di MODX.'; +$_lang["default_language_description"] = 'Questa é la lingua che verrà usata nel Manager di EVO.'; $_lang["depedency_create"] = 'Dipendenza creata'; $_lang["depedency_update"] = 'Dipendenza aggiornata'; $_lang["during_execution_of_sql"] = ' durante l\'esecuzione del comando SQL '; @@ -92,8 +94,8 @@ $_lang["guid_set"] = 'GUID impostata'; $_lang["help"] = 'Aiuto!'; $_lang["help_link"] = 'http://forums.modx.com/'; -$_lang["help_title"] = 'Assistenza per l\'installazione nei forums MODX'; -$_lang["iagree_box"] = 'Accetto i termini della licenza MODX. Per una traduzione della licenza GPL versione 2, vi preghiamo di visitare il sito GNU.'; +$_lang["help_title"] = 'Assistenza per l\'installazione nei forums EVO'; +$_lang["iagree_box"] = 'Accetto i termini della licenza EVO. Per una traduzione della licenza GPL versione 2, vi preghiamo di visitare il sito GNU.'; $_lang["install"] = 'Installazione'; $_lang["install_overwrite"] = 'Installazione/Ripristino'; $_lang["install_results"] = 'Risultato dell\'Installazione'; @@ -101,12 +103,12 @@ $_lang["installation_error_occured"] = 'Si sono verificati i seguenti errori durante l\'installazione'; $_lang["installation_install_new_copy"] = 'Installare una nuova copia di '; $_lang["installation_install_new_note"] = 'Vi preghiamo di notare che questa opzione può sovrascrivere i dati preesistenti nel vostro database.'; -$_lang["installation_mode"] = 'Modalità di Installazione'; +$_lang["installation_mode"] = 'Modalità di Installazione'; $_lang["installation_new_installation"] = 'Nuova Installazione'; -$_lang["installation_note"] = 'Nota: Dopo l\'accesso al Manager dovete modificare e salvare la Configurazione di Sistema selezionando Strumenti -> Configurazione di Sistema nel Manager MODX.'; -$_lang["installation_successful"] = 'L\'Installazione è terminata con successo!'; +$_lang["installation_note"] = 'Nota: Dopo l\'accesso al Manager dovete modificare e salvare la Configurazione di Sistema selezionando Strumenti -> Configurazione di Sistema nel Manager EVO.'; +$_lang["installation_successful"] = 'L\'Installazione é terminata con successo!'; $_lang["installation_upgrade_advanced"] = 'Aggiornamento Avanzato'; -$_lang["installation_upgrade_advanced_note"] = 'Per amministratori di database esperti oppure quando è necessario migrare a database con un diverso set di caratteri.
Vi occorre conoscere il nome del database, utente, password e i dettagli della connessione e collation utilizzate.'; +$_lang["installation_upgrade_advanced_note"] = 'Per amministratori di database esperti oppure quando é necessario migrare a database con un diverso set di caratteri.
Vi occorre conoscere il nome del database, utente, password e i dettagli della connessione e collation utilizzate.'; $_lang["installation_upgrade_existing"] = 'Aggiornamento di una installazione esistente'; $_lang["installation_upgrade_existing_note"] = 'Aggiornamento dei files esistenti e del database.'; $_lang["installed"] = 'Installato'; @@ -114,20 +116,20 @@ $_lang["language_code"] = 'en'; $_lang["loading"] = 'Sto caricando...'; $_lang["modules"] = 'Moduli'; -$_lang["modx_footer1"] = '© 2005-[+current_year+] MODX Content Management Framework (CMF) project. Tutti i diritti riservati. MODX è sotto la licenza GNU GPL.'; -$_lang["modx_footer2"] = 'MODX è un software libero. Vi incoraggiamo ad essere creativi e usare MODX come vi pare. Se fate delle modifiche al codice e decidete di ridistribuire il vostro MODX modificato, dovrete distribuire gratuitamente il codice sorgente!'; -$_lang["modx_install"] = 'MODX » Installazione'; -$_lang["modx_requires_php"] = ', e MODx richiede PHP [+min_version+] o successivo'; -$_lang["mysql_5051"] = ' la versione di MySQL è 5.0.51!'; +$_lang["modx_footer1"] = '© 2005-[+current_year+] EVO Content Management Framework (CMF) project. Tutti i diritti riservati. EVO é sotto la licenza GNU GPL.'; +$_lang["modx_footer2"] = 'EVO é un software libero. Vi incoraggiamo ad essere creativi e usare EVO come vi pare. Se fate delle modifiche al codice e decidete di ridistribuire il vostro EVO modificato, dovrete distribuire gratuitamente il codice sorgente!'; +$_lang["modx_install"] = 'EVO » Installazione'; +$_lang["modx_requires_php"] = ', e EVO richiede PHP [+min_version+] o successivo'; +$_lang["mysql_5051"] = ' la versione di MySQL é 5.0.51!'; $_lang["mysql_5051_warning"] = 'Ci sono dei problemi noti con MySQL 5.0.51. Vi consigliamo di aggiornarlo prima di continuare.'; -$_lang["mysql_version_is"] = ' La vostra versione di MySQL è: '; +$_lang["mysql_version_is"] = ' La vostra versione di MySQL é: '; $_lang["no"] = 'No'; $_lang["none"] = 'Nessuno'; $_lang["not_found"] = 'non trovato'; $_lang["ok"] = 'OK!'; $_lang["optional_items"] = 'Componenti Opzionali'; $_lang["optional_items_note"] = 'Vi preghiamo di scegliere le opzioni di installazione e fare click su Installazione:'; -$_lang["php_security_notice"] = 'Anche se MODX funziona con la vostra versione di PHP, vi suggeriamo di non farlo. La vostra versione di PHP ha numerosi problemi di sicurezza. Un aggiornamento a PHP versione 4.3.8 o successiva correggerà questi problemi. Vi raccomandiamo di farlo per garantire la sicurezza del vostro sito web.
'; +$_lang["php_security_notice"] = 'Anche se EVO funziona con la vostra versione di EVO, vi suggeriamo di non farlo. La vostra versione di EVO ha numerosi problemi di sicurezza. Un aggiornamento a PHP versione 4.3.8 o successiva correggerà questi problemi. Vi raccomandiamo di farlo per garantire la sicurezza del vostro sito web.
'; $_lang["please_correct_error"] = '. Vi preghiamo di correggere l\'errore'; $_lang["please_correct_errors"] = '. Vi preghiamo di correggere gli errori'; $_lang["plugins"] = 'Plugins'; @@ -136,30 +138,30 @@ $_lang["recommend_collations_order"] = 'utf8mb4_unicode_ci,utf8mb4_general_ci,utf8_unicode_ci,utf8_general_ci,utf8mb4_bin,utf8_bin,utf8mb4_unicode_520_ci,utf8_unicode_520_ci,utf8_general_mysql500_ci'; $_lang["recommend_setting_change_title"] = 'Modifiche consigliate alla Configurazione'; $_lang["recommend_setting_change_validate_referer_confirmation"] = 'Modifica: Validazione degli headers HTTP_REFERER?'; -$_lang["recommend_setting_change_validate_referer_description"] = 'Il vostro sito non è stato configurato per validare gli headers HTTP_REFERER degli accessi al Manager. Vi raccomandiamo di abilitare questa impostazione per ridurre il rischio di attacchi CSRF (Cross Site Request Forgery).'; +$_lang["recommend_setting_change_validate_referer_description"] = 'Il vostro sito non é stato configurato per validare gli headers HTTP_REFERER degli accessi al Manager. Vi raccomandiamo di abilitare questa impostazione per ridurre il rischio di attacchi CSRF (Cross Site Request Forgery).'; $_lang["remove_install_folder_auto"] = 'Rimuovere la cartella install e i files in essa contenuti
(Questa operazione richiede i permessi di scrittura nella cartella di installazione).'; -$_lang["remove_install_folder_manual"] = 'Ricordatevi di cancellare la cartella "install" prima di accedere a MODX.'; +$_lang["remove_install_folder_manual"] = 'Ricordatevi di cancellare la cartella "install" prima di accedere a EVO.'; $_lang["resetting_database"] = 'Reset del database per il sito-demo:'; $_lang["retry"] = 'Riprova'; $_lang["running_database_updates"] = 'Esecuzione degli aggiornamenti del database: '; $_lang["sample_web_site"] = 'Sito Web di Esempio'; -$_lang["sample_web_site_note"] = 'Vi preghiamo di notare che questo cancellerà i documenti e le risorse esistenti.'; +$_lang["sample_web_site_note"] = 'Vi preghiamo di notare che questo cancellerà i documenti e le risorse esistenti.'; $_lang["session_problem"] = 'E\' stato riscontrato un problema cone le sessioni del vostro server. Contattare un amministratore di sistema per risolvere il problema.'; $_lang["session_problem_try_again"] = 'Riprovare?'; -$_lang["setup_cannot_continue"] = 'Sfortunatamente il programma di Installazione non può continuare, perchè; '; -$_lang["setup_couldnt_install"] = 'MODX non è riuscito ad installare/modificare alcune tabelle del database selezionato.'; -$_lang["setup_database"] = 'MODX tenterà ora di configurare il database:
'; +$_lang["setup_cannot_continue"] = 'Sfortunatamente il programma di Installazione non può continuare, perché; '; +$_lang["setup_couldnt_install"] = 'EVO non é riuscito ad installare/modificare alcune tabelle del database selezionato.'; +$_lang["setup_database"] = 'EVO tenterà ora di configurare il database:
'; $_lang["setup_database_create_connection"] = 'Creazione della connessione con il database: '; $_lang["setup_database_create_connection_failed"] = 'Impossibile connettersi con il Database!'; $_lang["setup_database_create_connection_failed_note"] = 'Vi preghiamo di controllare i dettagli della connessione al database e riprovare.'; $_lang["setup_database_creating_tables"] = 'Creazione delle tabelle del database: '; $_lang["setup_database_creation"] = 'Creazione del database `'; $_lang["setup_database_creation_failed"] = 'Impossibile creare il Database!'; -$_lang["setup_database_creation_failed_note"] = ' - MODX non è riuscito a creare il database!'; -$_lang["setup_database_creation_failed_note2"] = 'MODX non è riuscito a creare il database e non è stato trovato un database con il nome specificato. Probabilmente il vostro hosting provider non consente a degli script esterni di creare un database. Vi preghiamo di creare manualmente un database ed eseguire nuovamente il programma di installazione.'; +$_lang["setup_database_creation_failed_note"] = ' - EVO non é riuscito a creare il database!'; +$_lang["setup_database_creation_failed_note2"] = 'EVO non é riuscito a creare il database e non é stato trovato un database con il nome specificato. Probabilmente il vostro hosting provider non consente a degli script esterni di creare un database. Vi preghiamo di creare manualmente un database ed eseguire nuovamente il programma di installazione.'; $_lang["setup_database_selection"] = 'Selezione del database `'; $_lang["setup_database_selection_failed"] = 'Impossibile selezionare il Database...'; -$_lang["setup_database_selection_failed_note"] = 'Il database specificato non esiste. MODX proverà a crearlo.'; +$_lang["setup_database_selection_failed_note"] = 'Il database specificato non esiste. EVO proverà a crearlo.'; $_lang["snippets"] = 'Snippets'; $_lang["some_tables_not_updated"] = 'Alcune tabelle non sono state aggiornate, probabilmente a causa di precedenti modifiche.'; $_lang["status_checking_database"] = 'Verifica del database: '; @@ -167,19 +169,19 @@ $_lang["status_failed"] = 'fallita!'; $_lang["status_failed_could_not_create_database"] = 'fallita - impossibile creare il database'; $_lang["status_failed_database_collation_does_not_match"] = 'fallita - problemi con la collation del database; usate SET NAMES o scegliete %s'; -$_lang["status_failed_table_prefix_already_in_use"] = 'fallita - il prefisso scelto per le tabelle è già in uso!'; -$_lang["status_passed"] = 'successo - il database è stato selezionato'; -$_lang["status_passed_database_created"] = 'successo - il database è stato creato'; -$_lang["status_passed_server"] = 'successo - la collation del database è disponibile'; +$_lang["status_failed_table_prefix_already_in_use"] = 'fallita - il prefisso scelto per le tabelle é già in uso!'; +$_lang["status_passed"] = 'successo - il database é stato selezionato'; +$_lang["status_passed_database_created"] = 'successo - il database é stato creato'; +$_lang["status_passed_server"] = 'successo - la collation del database é disponibile'; $_lang["strict_mode"] = ' Il server MySQL ha lo strict sql_mode abilitato!'; -$_lang["strict_mode_error"] = 'Alcune funzionalità di MODX potrebbero non funzionare se STRICT_TRANS_TABLES sql_mode è abilitato. Potete configurare MySQL dal file my.cnf o contattando un amministratore di sistema.'; -$_lang["summary_setup_check"] = 'MODX ha effettuato dei controlli per verificare che tutto sia pronto per l\'installazione.'; +$_lang["strict_mode_error"] = 'Alcune funzionalità di EVO potrebbero non funzionare se STRICT_TRANS_TABLES sql_mode é abilitato. Potete configurare MySQL dal file my.cnf o contattando un amministratore di sistema.'; +$_lang["summary_setup_check"] = 'EVO ha effettuato dei controlli per verificare che tutto sia pronto per l\'installazione.'; $_lang["system_configuration"] = 'Configurazione di Sistema'; -$_lang["system_configuration_validate_referer_description"] = 'L\'opzione di Validazione degli headers HTTP_REFERER è consigliata e vi può proteggere da attacchi CSRF, ma in qualche caso può impedire l\'accesso al Manager.'; -$_lang["table_prefix_already_inuse"] = ' - Il prefisso selezionato per le Tabelle è già in uso in questo database!'; -$_lang["table_prefix_already_inuse_note"] = 'MODX non ha potuto proseguire con l\'installazione nel database selezionato poichè contiene già delle tabelle con il prefisso indicato. Vi preghiamo di scegliere un nuovo prefisso per le tabelle ed eseguire nuovamente il programma di installazione.'; +$_lang["system_configuration_validate_referer_description"] = 'L\'opzione di Validazione degli headers HTTP_REFERER é consigliata e vi può proteggere da attacchi CSRF, ma in qualche caso può impedire l\'accesso al Manager.'; +$_lang["table_prefix_already_inuse"] = ' - Il prefisso selezionato per le Tabelle é già in uso in questo database!'; +$_lang["table_prefix_already_inuse_note"] = 'EVO non ha potuto proseguire con l\'installazione nel database selezionato poiché contiene già delle tabelle con il prefisso indicato. Vi preghiamo di scegliere un nuovo prefisso per le tabelle ed eseguire nuovamente il programma di installazione.'; $_lang["table_prefix_not_exist"] = ' - Il prefisso selezionato per le tabelle non esiste in questo database!'; -$_lang["table_prefix_not_exist_note"] = 'MODX non ha potuto proseguire con l\'installazione nel database selezionato poichè non contiene tabelle da aggiornare con il prefisso indicato. Vi preghiamo di scegliere un prefisso già esistente per le tabelle ed eseguire nuovamente il programma di installazione.'; +$_lang["table_prefix_not_exist_note"] = 'EVO non ha potuto proseguire con l\'installazione nel database selezionato poiché non contiene tabelle da aggiornare con il prefisso indicato. Vi preghiamo di scegliere un prefisso già esistente per le tabelle ed eseguire nuovamente il programma di installazione.'; $_lang["templates"] = 'Templates'; $_lang["to_log_into_content_manager"] = 'Per accedere al Manager ([+MGR_DIR+]/index.php) fate click sul bottone `Chiudi`.'; $_lang["toggle"] = 'Inverti'; @@ -192,11 +194,11 @@ $_lang["upgrade_note"] = 'Nota: Vi preghiamo di accedere al Manager come Amministratore e verificare la Configurazione di Sistema.'; $_lang["upgraded"] = 'Aggiornato'; $_lang["validate_referer_title"] = 'Validazione degli headers HTTP_REFERER?'; -$_lang["visit_forum"] = ', consultate i Forums MODX.'; +$_lang["visit_forum"] = ', consultate i Forums EVO.'; $_lang["warning"] = 'ATTENZIONE!'; -$_lang["welcome_message_start"] = 'Selezionate la modalità di installazione:'; -$_lang["welcome_message_text"] = 'Questo programma vi guiderà attraverso il processo di Installazione.'; -$_lang["welcome_message_welcome"] = 'Benvenuti nel programma di Installazione di MODX.'; +$_lang["welcome_message_start"] = 'Selezionate la modalità di installazione:'; +$_lang["welcome_message_text"] = 'Questo programma vi guiderà attraverso il processo di Installazione.'; +$_lang["welcome_message_welcome"] = 'Benvenuti nel programma di Installazione di EVO.'; $_lang["writing_config_file"] = 'Scrittura del file di configurazione: '; $_lang["yes"] = 'Si'; $_lang["you_running_php"] = ' - State eseguendo PHP '; diff --git a/install/setup.data.reset.sql b/install/setup.data.reset.sql index a52556d71d..7916371d73 100644 --- a/install/setup.data.reset.sql +++ b/install/setup.data.reset.sql @@ -7,19 +7,12 @@ # Empty tables first # - -TRUNCATE TABLE `{PREFIX}site_keywords`; - -TRUNCATE TABLE `{PREFIX}keyword_xref`; - TRUNCATE TABLE `{PREFIX}documentgroup_names`; TRUNCATE TABLE `{PREFIX}site_content`; TRUNCATE TABLE `{PREFIX}site_htmlsnippets`; -TRUNCATE TABLE `{PREFIX}site_keywords`; - TRUNCATE TABLE `{PREFIX}site_plugins`; TRUNCATE TABLE `{PREFIX}site_snippets`; diff --git a/install/setup.data.sql b/install/setup.data.sql index eaac800fff..74f7a25edd 100644 --- a/install/setup.data.sql +++ b/install/setup.data.sql @@ -2,18 +2,6 @@ # # Each sql command is separated by double lines - -# -# Dumping data for table `keyword_xref` -# - - -REPLACE INTO `{PREFIX}keyword_xref` VALUES ('3','1'); - - -REPLACE INTO `{PREFIX}keyword_xref` VALUES ('4','1'); - - # # Dumping data for table `documentgroup_names` # @@ -29,43 +17,43 @@ REPLACE INTO `{PREFIX}documentgroup_names` VALUES ('1','Site Admin Pages','0','0 # Dumping data for table `site_content` # -REPLACE INTO `{PREFIX}site_content` VALUES ('1','document','text/html','Home','Welcome to MODX','Introduction to MODX','index','','1','0','0','0','0','Create and do amazing things with MODX','Install successful!
\nYou have successfully installed and configured MODX. We hope you find this site an adequate starting configuration for many small business, organization or personal websites; just change the template and content, and you\'ll be good to go! This site is preconfigured with a variety of options we hope are helpful, relevant and just plain cool for many marketing or personal sites:
\n
Full documentation can be found on the official documentation site.
\nTo log into the MODX Control Panel and start customizing this site, point your browser to /manager/.
','1','{BOOTSTRAP_SQL_ID}','0','1','1','1','1144904400','1','1378084284','0','0','0','0','0','Home','0','0','0','0','0','0','0','1'); +REPLACE INTO `{PREFIX}site_content` VALUES ('1','document','text/html','Home','Welcome to MODX','Introduction to MODX','index','','1','0','0','0','0','Create and do amazing things with MODX','You have successfully installed and configured MODX. We hope you find this site an adequate starting configuration for many small business, organization or personal websites; just change the template and content, and you\'ll be good to go! This site is preconfigured with a variety of options we hope are helpful, relevant and just plain cool for many marketing or personal sites:
\nFull documentation can be found on the official documentation site.
\nTo log into the MODX Control Panel and start customizing this site, point your browser to /manager/.
','1','{BOOTSTRAP_SQL_ID}','0','1','1','1','1144904400','1','1378084284','0','0','0','0','0','Home','0','0','0','0','0','1'); -REPLACE INTO `{PREFIX}site_content` VALUES ('2','document','text/html','Blog','My Blog','','blog','','1','0','0','0','1','','[[Ditto? &parents=`2` &display=`2` &removeChunk=`Comments` &tpl=`ditto_blog` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags`]]\n\nShowing [+start+] - [+stop+] of [+total+] Articles
\n\nShowing [+start+] - [+stop+] of [+total+] Articles
\n\nIn order to comment on blog entries, you must be a registered user of [(site_name)]. If you haven\'t already registered, you can request an account.
\nIn order to comment on blog entries, you must be a registered user of [(site_name)]. If you haven\'t already registered, you can request an account.
\nLooks like you tried to go somewhere that does not exist... perhaps you need to login or you\'d like one of the following pages instead:
\n\n[[Wayfinder? &startId=`0` &showDescription=`1`]]\n\nLooks like you tried to go somewhere that does not exist... perhaps you need to login or you\'d like one of the following pages instead:
\n\n[[Wayfinder? &startId=`0` &showDescription=`1`]]\n\nSetting up a mini-blog is relatively simple. Here\'s what you need to do to get started with making new posts:
\nSetting up a mini-blog is relatively simple. Here\'s what you need to do to get started with making new posts:
\nThe Manager is a skinnable feature-packed tool for admin users. You can add extra users and limit what functions they can access. MODX\'s Manager makes creating content and managing templates and reusable elements easy. Modules can be added to work with other datasets or make management tasks easier.
\nThe QuickEdit bar lets manager users edit content whilst browsing the site. Most content fields and template variables can be edited quickly and easily.
\nCustom data entry is easy to code using the MODX API - so you can design forms and collect whatever information you need.
','1','{BOOTSTRAP_SQL_ID}','3','1','1','1','1144904400','1','1378086298','0','0','0','1378086298','1','Manage Content','0','0','0','0','0','0','0','1'); +REPLACE INTO `{PREFIX}site_content` VALUES ('14','document','text/html','Content Management','Ways to manage content','','cms','','1','0','0','15','0','','The Manager is a skinnable feature-packed tool for admin users. You can add extra users and limit what functions they can access. MODX\'s Manager makes creating content and managing templates and reusable elements easy. Modules can be added to work with other datasets or make management tasks easier.
\nThe QuickEdit bar lets manager users edit content whilst browsing the site. Most content fields and template variables can be edited quickly and easily.
\nCustom data entry is easy to code using the MODX API - so you can design forms and collect whatever information you need.
','1','{BOOTSTRAP_SQL_ID}','3','1','1','1','1144904400','1','1378086298','0','0','0','1378086298','1','Manage Content','0','0','0','0','0','1'); -REPLACE INTO `{PREFIX}site_content` VALUES ('15','document','text/html','MODX Features','MODX Features','','features','','1','0','0','0','1','','[[Wayfinder?startId=`[*id*]` &outerClass=`topnav`]]','1','{BOOTSTRAP_SQL_ID}','2','1','1','1','1144904400','1','1158452722','0','0','0','1144777367','1','Features','0','0','0','0','0','0','0','1'); +REPLACE INTO `{PREFIX}site_content` VALUES ('15','document','text/html','MODX Features','MODX Features','','features','','1','0','0','0','1','','[[Wayfinder?startId=`[*id*]` &outerClass=`topnav`]]','1','{BOOTSTRAP_SQL_ID}','2','1','1','1','1144904400','1','1158452722','0','0','0','1144777367','1','Features','0','0','0','0','0','1'); -REPLACE INTO `{PREFIX}site_content` VALUES ('16','document','text/html','Ajax','Ajax and Web 2.0 ready','','ajax','','1','1159264800','0','15','0','','Ajax ready out-of-the-box\nMODX empowers users to build engaging sites today, with its pre-integrated Mootools javascript library.
\n\nCheck out the Ajax-powered search in this example site. The libraries are also used with QuickEdit, our front-end editing tool.
\n\nSmart integration means the scripts are only included in the document head when needed - no unnecessary bloat on simple pages!
\n\nWeb 2.0 today\nMODX makes child\'s play of building content managed sites with validating, accessible CSS layouts - so web standards compliance is easy. (You can create a site with excessively nested tables too, if you really want to).
\n','1','{BOOTSTRAP_SQL_ID}','1','1','1','1','1144904400','1','1159307504','0','0','0','0','0','Ajax','0','0','0','0','0','0','0','1'); +REPLACE INTO `{PREFIX}site_content` VALUES ('16','document','text/html','Ajax','Ajax and Web 2.0 ready','','ajax','','1','1159264800','0','15','0','','Ajax ready out-of-the-box\nMODX empowers users to build engaging sites today, with its pre-integrated Mootools javascript library.
\n\nCheck out the Ajax-powered search in this example site. The libraries are also used with QuickEdit, our front-end editing tool.
\n\nSmart integration means the scripts are only included in the document head when needed - no unnecessary bloat on simple pages!
\n\nWeb 2.0 today\nMODX makes child\'s play of building content managed sites with validating, accessible CSS layouts - so web standards compliance is easy. (You can create a site with excessively nested tables too, if you really want to).
\n','1','{BOOTSTRAP_SQL_ID}','1','1','1','1','1144904400','1','1159307504','0','0','0','0','0','Ajax','0','0','0','0','0','1'); -REPLACE INTO `{PREFIX}site_content` VALUES ('18','document','text/html','Just a pretend, older post','This post should in fact be archived','','article-1128398162','','1','0','0','2','0','','Not so exciting, after all, eh?
Not so exciting, after all, eh?
MODX\'s document data structure has been designed to allow many different routines to redisplay the information in ways that suit your needs, such as a dynamic menu in your template.
\nSince the last release of MODX, the community has produced many great snippets - reusable functions that you can call in your content or template. Two of the most widely useful are Ditto and Wayfinder.
\nAllows you to template every part of the menu. On this site, Wayfinder is being used to generate the drop-down menus, but many types of menus and sitemaps are possible.
\nUses include listing the most recent blog posts, producing a site map, listing related documents (using a TV filter) and generating an RSS feed. You could even write a menu with it. On this site, Ditto is being used for the blog posts list on the Blog page, and the list on the right of some templates.
\nIf you can\'t quite get your desired effect using templating and the many options of Ditto and Wayfinder, you can write your own routine, or look for other snippets in the MODX repository. MODX\'s fields for Menu Title, summaries, menu position etc can be used via the API to produce anything you can imagine.
','1','{BOOTSTRAP_SQL_ID}','2','1','1','1','1144904400','1','1160148522','0','0','0','0','0','Menus and Lists','0','0','0','0','0','0','0','1'); +REPLACE INTO `{PREFIX}site_content` VALUES ('22','document','text/html','Menus and Lists','Flexible Menus and Lists','','menus','','1','1159178400','0','15','0','','MODX\'s document data structure has been designed to allow many different routines to redisplay the information in ways that suit your needs, such as a dynamic menu in your template.
\nSince the last release of MODX, the community has produced many great snippets - reusable functions that you can call in your content or template. Two of the most widely useful are Ditto and Wayfinder.
\nAllows you to template every part of the menu. On this site, Wayfinder is being used to generate the drop-down menus, but many types of menus and sitemaps are possible.
\nUses include listing the most recent blog posts, producing a site map, listing related documents (using a TV filter) and generating an RSS feed. You could even write a menu with it. On this site, Ditto is being used for the blog posts list on the Blog page, and the list on the right of some templates.
\nIf you can\'t quite get your desired effect using templating and the many options of Ditto and Wayfinder, you can write your own routine, or look for other snippets in the MODX repository. MODX\'s fields for Menu Title, summaries, menu position etc can be used via the API to produce anything you can imagine.
','1','{BOOTSTRAP_SQL_ID}','2','1','1','1','1144904400','1','1160148522','0','0','0','0','0','Menus and Lists','0','0','0','0','0','1'); -REPLACE INTO `{PREFIX}site_content` VALUES ('24','document','text/html','Extendable by design','Extendable by design','','extendable','','1','1159092732','0','15','0','','The MODX community has created many add-ons which can be found in the Repository, from image galleries and e-commerce to smaller utilities.
\nTVs - Template Variables - are powerful extra fields that you can use with your documents. As an example of an advanced template element that returns a different thing dependent on code or data, we created an @BINDING for the name of the Login menu item. This changes the menu name from Login to Logout based on your logged in state. The @BINDING as follows was placed in the default value as: @EVAL if ($modx->getLoginUserID()) return \'Logout\'; else return \'Login\';
We used some simple effects to highlight various things on the front/home page to demonstrate how easy it is to create a useful way to draw attention to things. To see them in action on the home page, click the Integrated Site Search, Related Links or Newest Documents headers.
\nTo demonstrate how to link to custom forms, we customized the calls to the Webuser Registration system and the Login system.
\nRich Text Editor for blog entries. To make it easier to format blog posts with simple text formatting, we modified the blog to use a custom RTE-enabled Template Variable (TV).
\nSmart-Summary logic. When splitting the full blog/news posts you simply insert a \"<!-- splitter -->\" where you want the break to occur. In addition, if that leaves any important tags open, it will try to match them and close them so it doesn\'t mess up your site layout with unclosed OL, UL or DIV tags.
','1','{BOOTSTRAP_SQL_ID}','4','1','1','2','1144904400','1','1159309971','0','0','0','0','0','Extendability','0','0','0','0','0','0','0','1'); +REPLACE INTO `{PREFIX}site_content` VALUES ('24','document','text/html','Extendable by design','Extendable by design','','extendable','','1','1159092732','0','15','0','','The MODX community has created many add-ons which can be found in the Repository, from image galleries and e-commerce to smaller utilities.
\nTVs - Template Variables - are powerful extra fields that you can use with your documents. As an example of an advanced template element that returns a different thing dependent on code or data, we created an @BINDING for the name of the Login menu item. This changes the menu name from Login to Logout based on your logged in state. The @BINDING as follows was placed in the default value as: @EVAL if ($modx->getLoginUserID()) return \'Logout\'; else return \'Login\';
We used some simple effects to highlight various things on the front/home page to demonstrate how easy it is to create a useful way to draw attention to things. To see them in action on the home page, click the Integrated Site Search, Related Links or Newest Documents headers.
\nTo demonstrate how to link to custom forms, we customized the calls to the Webuser Registration system and the Login system.
\nRich Text Editor for blog entries. To make it easier to format blog posts with simple text formatting, we modified the blog to use a custom RTE-enabled Template Variable (TV).
\nSmart-Summary logic. When splitting the full blog/news posts you simply insert a \"<!-- splitter -->\" where you want the break to occur. In addition, if that leaves any important tags open, it will try to match them and close them so it doesn\'t mess up your site layout with unclosed OL, UL or DIV tags.
','1','{BOOTSTRAP_SQL_ID}','4','1','1','2','1144904400','1','1159309971','0','0','0','0','0','Extendability','0','0','0','0','0','1'); -REPLACE INTO `{PREFIX}site_content` VALUES ('32','document','text/html','Design','Site Design','','design','','1','0','0','0','0','','The MODX Starter-theme is based on Bootstrap 3.3.6 and made by graffx.nl and fuseit.de.
','1','{BOOTSTRAP_SQL_ID}','4','1','1','2','1144904400','1','1160112322','0','0','0','1144912754','1','Design','0','0','0','0','0','0','0','1'); +REPLACE INTO `{PREFIX}site_content` VALUES ('32','document','text/html','Design','Site Design','','design','','1','0','0','0','0','','The MODX Starter-theme is based on Bootstrap 3.3.6 and made by graffx.nl and fuseit.de.
','1','{BOOTSTRAP_SQL_ID}','4','1','1','2','1144904400','1','1160112322','0','0','0','1144912754','1','Design','0','0','0','0','0','1'); -REPLACE INTO `{PREFIX}site_content` VALUES ('33','document','text/html','Getting Help','Getting Help with MODX','','getting-help','','1','0','0','0','0','','The team behind MODX strives to constantly add to and refine the documentation to help you get up to speed with MODX:
\nAnd don\'t forget, you can always learn and ask questions at the MODX forums. \n','1','{BOOTSTRAP_SQL_ID}','3','1','1','2','1144904400','2','1144904400','0','0','0','0','0','Getting Help','0','0','0','0','0','0','0','1'); +REPLACE INTO `{PREFIX}site_content` VALUES ('33','document','text/html','Getting Help','Getting Help with MODX','','getting-help','','1','0','0','0','0','','
The team behind MODX strives to constantly add to and refine the documentation to help you get up to speed with MODX:
\nAnd don\'t forget, you can always learn and ask questions at the MODX forums. \n','1','{BOOTSTRAP_SQL_ID}','3','1','1','2','1144904400','2','1144904400','0','0','0','0','0','Getting Help','0','0','0','0','0','1'); -REPLACE INTO `{PREFIX}site_content` VALUES ('37','document','text/html','[*loginName*]','The page you\'re trying to reach requires a login','','blog-login','','1','0','0','0','0','','
In order to add a blog entry, you must be logged in as a Site Admin webuser. Also, commenting on posts requires a login. Contact the site owner for permissions to create new post, or create a web user account to automatically receive commenting privileges. If you already have an account, please login below.
\n\n[!WebLogin? &tpl=`WebLogin_tplForm` &loginhomeid=`3`!]','1','{BOOTSTRAP_SQL_ID}','8','0','0','1','1144904400','1','1158599931','0','0','0','0','0','','0','0','0','0','0','0','1','1'); +REPLACE INTO `{PREFIX}site_content` VALUES ('37','document','text/html','[*loginName*]','The page you\'re trying to reach requires a login','','blog-login','','1','0','0','0','0','','In order to add a blog entry, you must be logged in as a Site Admin webuser. Also, commenting on posts requires a login. Contact the site owner for permissions to create new post, or create a web user account to automatically receive commenting privileges. If you already have an account, please login below.
\n\n[!WebLogin? &tpl=`WebLogin_tplForm` &loginhomeid=`3`!]','1','{BOOTSTRAP_SQL_ID}','8','0','0','1','1144904400','1','1158599931','0','0','0','0','0','','0','0','0','0','1','1'); -REPLACE INTO `{PREFIX}site_content` VALUES ('46','document','text/html','Thank You','','','thank-you','','1','0','0','0','0','','We do appreciate your feedback. Your comments have been submitted to our office and hopefully someone will bother to actually read it. You should also receive a copy of the message in your inbox.
\nPlease be assured that we will do our best not to ignore you, but if today is a Monday please try again in a few days.
\n','1','{BOOTSTRAP_SQL_ID}','6','1','1','1','1159302141','1','1159302892','0','0','0','1159302182','1','','0','0','0','0','0','0','1','1'); +REPLACE INTO `{PREFIX}site_content` VALUES ('46','document','text/html','Thank You','','','thank-you','','1','0','0','0','0','','We do appreciate your feedback. Your comments have been submitted to our office and hopefully someone will bother to actually read it. You should also receive a copy of the message in your inbox.
\nPlease be assured that we will do our best not to ignore you, but if today is a Monday please try again in a few days.
\n','1','{BOOTSTRAP_SQL_ID}','6','1','1','1','1159302141','1','1159302892','0','0','0','1159302182','1','','0','0','0','0','1','1'); # @@ -73,47 +61,28 @@ REPLACE INTO `{PREFIX}site_content` VALUES ('46','document','text/html','Thank Y # -INSERT INTO `{PREFIX}site_htmlsnippets` VALUES (NULL, 'FormSignup', 'For the weblogin signup', 0, 'none', 2, 0, ' \n\n\n\n\n[+link+]
\n[+link+]
\nThis is a response sent by [+name+] using the feedback form on the website. The details of the message follow below:
\r\n\r\n\r\nName: [+name+]
\r\nEmail: [+email+]
\r\nRegarding: [+subject+]
\r\ncomments:
[+message+]
You can use this link to reply: [+email+]
\r\n', 0); - - -INSERT INTO `{PREFIX}site_htmlsnippets` VALUES (NULL, 'reflect_month_tpl', 'For the yearly archive. Use with Ditto.', 0, 'none', 1, 0, '[+month+] [+year+]', 0); - - -INSERT INTO `{PREFIX}site_htmlsnippets` VALUES (NULL, 'ContactStyles', 'Styles for form validation', 0, 'none', 1, 0, '', 0); - - - -# -# Dumping data for table `site_keywords` -# +INSERT INTO `{PREFIX}site_htmlsnippets` VALUES (NULL, 'Comments', 'Comments (Jot) showing beneath a blog entry.', 0, 'none', 1, 0, 'This is a response sent by [+name+] using the feedback form on the website. The details of the message follow below:
\r\n\r\n\r\nName: [+name+]
\r\nEmail: [+email+]
\r\nRegarding: [+subject+]
\r\ncomments:
[+message+]
You can use this link to reply: [+email+]
\r\n', 0, UNIX_TIMESTAMP(), 0, 0); -REPLACE INTO `{PREFIX}site_keywords` VALUES ('3','Front End Editing'); +INSERT INTO `{PREFIX}site_htmlsnippets` VALUES (NULL, 'reflect_month_tpl', 'For the yearly archive. Use with Ditto.', 0, 'none', 1, 0, '[+month+] [+year+]', 0, UNIX_TIMESTAMP(), 0, 0); -REPLACE INTO `{PREFIX}site_keywords` VALUES ('4','login'); +INSERT INTO `{PREFIX}site_htmlsnippets` VALUES (NULL, 'ContactStyles', 'Styles for form validation', 0, 'none', 1, 0, '', 0, UNIX_TIMESTAMP(), 0, 0); # # Dumping data for table `site_tmplvar_contentvalues` @@ -150,7 +119,7 @@ REPLACE INTO `{PREFIX}web_groups` VALUES ('1','1','1'); # -REPLACE INTO `{PREFIX}web_user_attributes` VALUES ('1','1','Site Admin','0','you@example.com','','','0','0','0','25','1129049624','1129063123','0','f426f3209310abfddf2ee00e929774b4','0','0','','','','','','','',''); +REPLACE INTO `{PREFIX}web_user_attributes` VALUES ('1','1','Site Admin','0','you@example.com','','','0','0','0','25','1129049624','1129063123','0','f426f3209310abfddf2ee00e929774b4','0','0','','','','','','','','', UNIX_TIMESTAMP(), 0); # diff --git a/install/setup.sql b/install/setup.sql index 7ab59d7645..2616ef5074 100755 --- a/install/setup.sql +++ b/install/setup.sql @@ -52,7 +52,8 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}document_groups` ( `document` int(10) NOT NULL default '0', PRIMARY KEY (`id`), KEY `document` (`document`), - KEY `document_group` (`document_group`) + KEY `document_group` (`document_group`), + UNIQUE INDEX `ix_dg_id` (`document_group`,`document`) ) ENGINE=MyISAM COMMENT='Contains data used for access permissions.'; CREATE TABLE IF NOT EXISTS `{PREFIX}documentgroup_names` ( @@ -77,15 +78,6 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}event_log` ( KEY `user`(`user`) ) ENGINE=MyISAM COMMENT='Stores event and error logs'; - -CREATE TABLE IF NOT EXISTS `{PREFIX}keyword_xref` ( - `content_id` int(11) NOT NULL default '0', - `keyword_id` int(11) NOT NULL default '0', - KEY `content_id` (`content_id`), - KEY `keyword_id` (`keyword_id`) -) ENGINE=MyISAM COMMENT='Cross reference bewteen keywords and content'; - - CREATE TABLE IF NOT EXISTS `{PREFIX}manager_log` ( `id` int(10) NOT NULL auto_increment, `timestamp` int(20) NOT NULL default '0', @@ -160,8 +152,6 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}site_content` ( `publishedby` int(10) NOT NULL default '0' COMMENT 'ID of user who published the document', `menutitle` varchar(255) NOT NULL DEFAULT '' COMMENT 'Menu title', `donthit` tinyint(1) NOT NULL default '0' COMMENT 'Disable page hit count', - `haskeywords` tinyint(1) NOT NULL default '0' COMMENT 'has links to keywords', - `hasmetatags` tinyint(1) NOT NULL default '0' COMMENT 'has links to meta tags', `privateweb` tinyint(1) NOT NULL default '0' COMMENT 'Private web document', `privatemgr` tinyint(1) NOT NULL default '0' COMMENT 'Private manager document', `content_dispo` tinyint(1) NOT NULL default '0' COMMENT '0-inline, 1-attachment', @@ -176,14 +166,6 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}site_content` ( ) ENGINE=MyISAM COMMENT='Contains the site document tree.'; -CREATE TABLE IF NOT EXISTS `{PREFIX}site_content_metatags` ( - `content_id` int(11) NOT NULL default '0', - `metatag_id` int(11) NOT NULL default '0', - KEY `content_id` (`content_id`), - KEY `metatag_id` (`metatag_id`) -) ENGINE=MyISAM COMMENT='Reference table between meta tags and content'; - - CREATE TABLE IF NOT EXISTS `{PREFIX}site_htmlsnippets` ( `id` int(10) NOT NULL auto_increment, `name` varchar(100) NOT NULL default '', @@ -194,28 +176,12 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}site_htmlsnippets` ( `cache_type` tinyint(1) NOT NULL default '0' COMMENT 'Cache option', `snippet` mediumtext, `locked` tinyint(4) NOT NULL default '0', + `createdon` integer NOT NULL DEFAULT '0', + `editedon` integer NOT NULL DEFAULT '0', + `disabled` tinyint NOT NULL DEFAULT '0' COMMENT 'Disables the snippet', PRIMARY KEY (`id`) ) ENGINE=MyISAM COMMENT='Contains the site chunks.'; - -CREATE TABLE IF NOT EXISTS `{PREFIX}site_keywords` ( - `id` int(11) NOT NULL auto_increment, - `keyword` varchar(40) NOT NULL default '', - PRIMARY KEY (`id`), - UNIQUE KEY `keyword` (`keyword`) -) ENGINE=MyISAM COMMENT='Site keyword list'; - - -CREATE TABLE IF NOT EXISTS `{PREFIX}site_metatags` ( - `id` integer NOT NULL AUTO_INCREMENT, - `name` varchar(50) NOT NULL DEFAULT '', - `tag` varchar(50) NOT NULL DEFAULT '' COMMENT 'tag name', - `tagvalue` varchar(255) NOT NULL DEFAULT '', - `http_equiv` tinyint NOT NULL DEFAULT 0 COMMENT '1 - use http_equiv tag style, 0 - use name', - PRIMARY KEY(`id`) -) ENGINE=MyISAM COMMENT='Site meta tags'; - - CREATE TABLE IF NOT EXISTS `{PREFIX}site_modules` ( `id` integer NOT NULL AUTO_INCREMENT, `name` varchar(50) NOT NULL DEFAULT '', @@ -264,6 +230,8 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}site_plugins` ( `properties` text COMMENT 'Default Properties', `disabled` tinyint NOT NULL DEFAULT '0' COMMENT 'Disables the plugin', `moduleguid` varchar(32) NOT NULL default '' COMMENT 'GUID of module from which to import shared parameters', + `createdon` integer NOT NULL DEFAULT '0', + `editedon` integer NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM COMMENT='Contains the site plugins.'; @@ -285,6 +253,9 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}site_snippets` ( `locked` tinyint(4) NOT NULL default '0', `properties` text COMMENT 'Default Properties', `moduleguid` varchar(32) NOT NULL default '' COMMENT 'GUID of module from which to import shared parameters', + `createdon` integer NOT NULL DEFAULT '0', + `editedon` integer NOT NULL DEFAULT '0', + `disabled` tinyint NOT NULL DEFAULT '0' COMMENT 'Disables the snippet', PRIMARY KEY (`id`) ) ENGINE=MyISAM COMMENT='Contains the site snippets.'; @@ -299,6 +270,8 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}site_templates` ( `content` mediumtext, `locked` tinyint(4) NOT NULL default '0', `selectable` tinyint(4) NOT NULL default '1', + `createdon` integer NOT NULL DEFAULT '0', + `editedon` integer NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM COMMENT='Contains the site templates.'; @@ -331,7 +304,8 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}site_tmplvar_contentvalues` ( PRIMARY KEY (id), KEY idx_tmplvarid (tmplvarid), KEY idx_id (contentid), - FULLTEXT KEY `value_ft_idx` (`value`) + FULLTEXT KEY `value_ft_idx` (`value`), + UNIQUE INDEX `ix_tvid_contentid` (`tmplvarid`,`contentid`) ) ENGINE=MyISAM COMMENT='Site Template Variables Content Values Link Table'; CREATE TABLE IF NOT EXISTS `{PREFIX}site_tmplvar_templates` ( @@ -355,6 +329,8 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}site_tmplvars` ( `display` varchar(20) NOT NULL default '' COMMENT 'Display Control', `display_params` text COMMENT 'Display Control Properties', `default_text` text, + `createdon` integer NOT NULL DEFAULT '0', + `editedon` integer NOT NULL DEFAULT '0', PRIMARY KEY (id), KEY `indx_rank`(`rank`) ) ENGINE=MyISAM COMMENT='Site Template Variables'; @@ -384,7 +360,9 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}user_attributes` ( `zip` varchar(25) NOT NULL default '', `fax` varchar(100) NOT NULL default '', `photo` varchar(255) NOT NULL default '' COMMENT 'link to photo', - `comment` text, + `comment` text, + `createdon` integer NOT NULL DEFAULT '0', + `editedon` integer NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `userid` (`internalKey`) ) ENGINE=MyISAM COMMENT='Contains information about the backend users.'; @@ -466,8 +444,6 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}user_roles` ( `exec_module` int(1) NOT NULL DEFAULT 0, `view_eventlog` int(1) NOT NULL DEFAULT 0, `delete_eventlog` int(1) NOT NULL DEFAULT 0, - `manage_metatags` int(1) NOT NULL DEFAULT 0 COMMENT 'manage site meta tags and keywords', - `edit_doc_metatags` int(1) NOT NULL DEFAULT 0 COMMENT 'edit document meta tags and keywords' , `new_web_user` int(1) NOT NULL default '0', `edit_web_user` int(1) NOT NULL default '0', `save_web_user` int(1) NOT NULL default '0', @@ -538,7 +514,9 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}web_user_attributes` ( `zip` varchar(25) NOT NULL default '', `fax` varchar(100) NOT NULL default '', `photo` varchar(255) NOT NULL default '' COMMENT 'link to photo', - `comment` text, + `comment` text, + `createdon` integer NOT NULL DEFAULT '0', + `editedon` integer NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `userid` (`internalKey`) ) ENGINE=MyISAM COMMENT='Contains information for web users.'; @@ -582,21 +560,48 @@ ALTER TABLE `{PREFIX}site_content` ALTER TABLE `{PREFIX}site_htmlsnippets` ADD COLUMN `editor_name` VARCHAR(50) NOT NULL DEFAULT 'none' AFTER `editor_type`; +ALTER TABLE `{PREFIX}site_htmlsnippets` + ADD COLUMN `createdon` integer NOT NULL DEFAULT '0'; + +ALTER TABLE `{PREFIX}site_htmlsnippets` + ADD COLUMN `editedon` integer NOT NULL DEFAULT '0'; + +ALTER TABLE `{PREFIX}site_htmlsnippets` + ADD COLUMN `disabled` tinyint NOT NULL DEFAULT '0'; + ALTER TABLE `{PREFIX}site_plugin_events` ADD COLUMN `priority` INT(10) NOT NULL default '0' COMMENT 'determines the run order of the plugin' AFTER `evtid`; ALTER TABLE `{PREFIX}site_templates` ADD COLUMN `selectable` TINYINT(4) NOT NULL DEFAULT '1' AFTER `locked`; +ALTER TABLE `{PREFIX}site_templates` + ADD COLUMN `editedon` integer NOT NULL DEFAULT '0'; + +ALTER TABLE `{PREFIX}site_templates` + ADD COLUMN `createdon` integer NOT NULL DEFAULT '0'; + ALTER TABLE `{PREFIX}site_tmplvar_templates` ADD COLUMN `rank` integer(11) NOT NULL DEFAULT '0' AFTER `templateid`; +ALTER TABLE `{PREFIX}site_tmplvars` + ADD COLUMN `editedon` integer NOT NULL DEFAULT '0'; + +ALTER TABLE `{PREFIX}site_tmplvars` + ADD COLUMN `createdon` integer NOT NULL DEFAULT '0'; + ALTER TABLE `{PREFIX}user_attributes` ADD COLUMN `street` varchar(255) NOT NULL DEFAULT '' AFTER `country`; ALTER TABLE `{PREFIX}user_attributes` ADD COLUMN `city` varchar(255) NOT NULL DEFAULT '' AFTER `street`; +ALTER TABLE `{PREFIX}user_attributes` + ADD COLUMN `editedon` integer NOT NULL DEFAULT '0'; + +ALTER TABLE `{PREFIX}user_attributes` + ADD COLUMN `createdon` integer NOT NULL DEFAULT '0'; + ALTER TABLE `{PREFIX}user_roles` ADD COLUMN `edit_chunk` INT(1) NOT NULL DEFAULT '0' AFTER `delete_snippet`; @@ -651,6 +656,33 @@ ALTER TABLE `{PREFIX}web_user_attributes` ALTER TABLE `{PREFIX}web_user_attributes` ADD COLUMN `city` varchar(255) NOT NULL DEFAULT '' AFTER `street`; +ALTER TABLE `{PREFIX}web_user_attributes` + ADD COLUMN `editedon` integer NOT NULL DEFAULT '0'; + +ALTER TABLE `{PREFIX}web_user_attributes` + ADD COLUMN `createdon` integer NOT NULL DEFAULT '0'; + +ALTER TABLE `{PREFIX}site_snippets` + ADD COLUMN `createdon` integer NOT NULL DEFAULT '0'; + +ALTER TABLE `{PREFIX}site_snippets` + ADD COLUMN `editedon` integer NOT NULL DEFAULT '0'; + +ALTER TABLE `{PREFIX}site_snippets` + ADD COLUMN `disabled` tinyint NOT NULL DEFAULT '0'; + +ALTER TABLE `{PREFIX}site_plugins` + ADD COLUMN `createdon` integer NOT NULL DEFAULT '0'; + +ALTER TABLE `{PREFIX}site_plugins` + ADD COLUMN `editedon` integer NOT NULL DEFAULT '0'; + +ALTER TABLE `{PREFIX}site_templates` + ADD COLUMN `createdon` integer NOT NULL DEFAULT '0'; + +ALTER TABLE `{PREFIX}site_templates` + ADD COLUMN `editedon` integer NOT NULL DEFAULT '0'; + # Set the private manager group flag UPDATE {PREFIX}documentgroup_names AS dgn @@ -826,6 +858,8 @@ ALTER TABLE `{PREFIX}member_groups` ADD UNIQUE INDEX `ix_group_member` (`user_gr ALTER TABLE `{PREFIX}web_groups` ADD UNIQUE INDEX `ix_group_user` (`webgroup`,`webuser`); +ALTER TABLE `{PREFIX}document_groups` ADD UNIQUE INDEX `ix_dg_id` (`document_group`,`document`); + # ]]upgrade-able @@ -846,7 +880,7 @@ REPLACE INTO `{PREFIX}site_templates` # Default Site Documents -REPLACE INTO `{PREFIX}site_content` VALUES (1,'document','text/html','Evolution CMS Install Success','Welcome to the EVO Content Management System','','minimal-base','',1,0,0,0,0,'','You have successfully installed Evolution CMS.
\r\n\r\nThe EVO Community provides a great starting point to learn all things Evolution CMS, or you can also see some great learning resources (books, tutorials, blogs and screencasts).
\r\nWelcome to EVO!
\r\n',1,3,0,1,1,1,1130304721,1,1130304927,0,0,0,1130304721,1,'Base Install',0,0,0,0,0,0,0,1); +REPLACE INTO `{PREFIX}site_content` VALUES (1,'document','text/html','Evolution CMS Install Success','Welcome to the EVO Content Management System','','minimal-base','',1,0,0,0,0,'','You have successfully installed Evolution CMS.
\r\n\r\nThe EVO Community provides a great starting point to learn all things Evolution CMS, or you can also see some great learning resources (books, tutorials, blogs and screencasts).
\r\nWelcome to EVO!
\r\n',1,3,0,1,1,1,1130304721,1,1130304927,0,0,0,1130304721,1,'Base Install',0,0,0,0,0,1); REPLACE INTO `{PREFIX}manager_users` @@ -859,9 +893,9 @@ REPLACE INTO `{PREFIX}user_attributes` REPLACE INTO `{PREFIX}user_roles` -(id,name,description,frames,home,view_document,new_document,save_document,publish_document,delete_document,empty_trash,action_ok,logout,help,messages,new_user,edit_user,logs,edit_parser,save_parser,edit_template,settings,credits,new_template,save_template,delete_template,edit_snippet,new_snippet,save_snippet,delete_snippet,edit_chunk,new_chunk,save_chunk,delete_chunk,empty_cache,edit_document,change_password,error_dialog,about,file_manager,save_user,delete_user,save_password,edit_role,save_role,delete_role,new_role,access_permissions,bk_manager,new_plugin,edit_plugin,save_plugin,delete_plugin,new_module,edit_module,save_module,exec_module,delete_module,view_eventlog,delete_eventlog,manage_metatags,edit_doc_metatags,new_web_user,edit_web_user,save_web_user,delete_web_user,web_access_permissions,view_unpublished,import_static,export_static,remove_locks,assets_images,assets_files,change_resourcetype,display_locks,category_manager) VALUES -(2,'Editor','Limited to managing content',1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,0), -(3,'Publisher','Editor with expanded permissions including manage users\, update Elements and site settings',1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,1,0,0,1,1,1,1,1,0); +(id,name,description,frames,home,view_document,new_document,save_document,publish_document,delete_document,empty_trash,action_ok,logout,help,messages,new_user,edit_user,logs,edit_parser,save_parser,edit_template,settings,credits,new_template,save_template,delete_template,edit_snippet,new_snippet,save_snippet,delete_snippet,edit_chunk,new_chunk,save_chunk,delete_chunk,empty_cache,edit_document,change_password,error_dialog,about,file_manager,save_user,delete_user,save_password,edit_role,save_role,delete_role,new_role,access_permissions,bk_manager,new_plugin,edit_plugin,save_plugin,delete_plugin,new_module,edit_module,save_module,exec_module,delete_module,view_eventlog,delete_eventlog,new_web_user,edit_web_user,save_web_user,delete_web_user,web_access_permissions,view_unpublished,import_static,export_static,remove_locks,assets_images,assets_files,change_resourcetype,display_locks,category_manager) VALUES +(2,'Editor','Limited to managing content',1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,0), +(3,'Publisher','Editor with expanded permissions including manage users\, update Elements and site settings',1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,1,1,1,0,1,0,0,1,1,1,1,1,0); # ]]non-upgrade-able @@ -918,8 +952,8 @@ INSERT IGNORE INTO `{PREFIX}system_settings` ('theme_refresher',''); REPLACE INTO `{PREFIX}user_roles` -(id,name,description,frames,home,view_document,new_document,save_document,publish_document,delete_document,empty_trash,action_ok,logout,help,messages,new_user,edit_user,logs,edit_parser,save_parser,edit_template,settings,credits,new_template,save_template,delete_template,edit_snippet,new_snippet,save_snippet,delete_snippet,edit_chunk,new_chunk,save_chunk,delete_chunk,empty_cache,edit_document,change_password,error_dialog,about,file_manager,save_user,delete_user,save_password,edit_role,save_role,delete_role,new_role,access_permissions,bk_manager,new_plugin,edit_plugin,save_plugin,delete_plugin,new_module,edit_module,save_module,exec_module,delete_module,view_eventlog,delete_eventlog,manage_metatags,edit_doc_metatags,new_web_user,edit_web_user,save_web_user,delete_web_user,web_access_permissions,view_unpublished,import_static,export_static,remove_locks,assets_images,assets_files,change_resourcetype,display_locks,category_manager) VALUES -(1, 'Administrator', 'Site administrators have full access to all functions',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1); +(id,name,description,frames,home,view_document,new_document,save_document,publish_document,delete_document,empty_trash,action_ok,logout,help,messages,new_user,edit_user,logs,edit_parser,save_parser,edit_template,settings,credits,new_template,save_template,delete_template,edit_snippet,new_snippet,save_snippet,delete_snippet,edit_chunk,new_chunk,save_chunk,delete_chunk,empty_cache,edit_document,change_password,error_dialog,about,file_manager,save_user,delete_user,save_password,edit_role,save_role,delete_role,new_role,access_permissions,bk_manager,new_plugin,edit_plugin,save_plugin,delete_plugin,new_module,edit_module,save_module,exec_module,delete_module,view_eventlog,delete_eventlog,new_web_user,edit_web_user,save_web_user,delete_web_user,web_access_permissions,view_unpublished,import_static,export_static,remove_locks,assets_images,assets_files,change_resourcetype,display_locks,category_manager) VALUES +(1, 'Administrator', 'Site administrators have full access to all functions',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1); # 1 - "Parser Service Events", 2 - "Manager Access Events", 3 - "Web Access Service Events", 4 - "Cache Service Events", 5 - "Template Service Events", 6 - Custom Events @@ -1080,8 +1114,6 @@ UPDATE `{PREFIX}user_roles` SET exec_module=1, view_eventlog = 1, delete_eventlog = 1, - manage_metatags = 1, - edit_doc_metatags = 1, new_web_user = 1, edit_web_user = 1, save_web_user = 1, diff --git a/manager/actions/access_permissions.dynamic.php b/manager/actions/access_permissions.dynamic.php index bb3d717022..14908782ad 100644 --- a/manager/actions/access_permissions.dynamic.php +++ b/manager/actions/access_permissions.dynamic.php @@ -39,226 +39,250 @@ } ?> +- |
- - | -
- |
- - | -
- |
- - | -
' . $_lang["bkmgr_run_sql_result"] . '
' . $result . '= $data['description'] ?>
+ +txt( $element ); ?> | +txt( $element ); ?> | ||||||||||||||||
txt( 'none' ); ?> |
+ txt( 'none' ); ?> |
- + |
+
+
diff --git a/manager/actions/category_mgr/skin/js/categories.js b/manager/actions/category_mgr/skin/js/categories.js
index 6c4010ce84..b433546973 100644
--- a/manager/actions/category_mgr/skin/js/categories.js
+++ b/manager/actions/category_mgr/skin/js/categories.js
@@ -1,157 +1,109 @@
-
-//window.addEvent('domready',function(){
-
/**
- * Tips
+ *
+ * Select Categories
*/
-new Tips($$('.mootooltip'),{className:'custom'} );
-new MooTips($$('.mootooltip_dom'), {
- className :'assigned',
- showOnClick: true,
- showOnMouseEnter: true,
- showDelay: 200,
- hideDelay: 200,
- offsets: {'x': 20, 'y': 20},
- fixed: true
-});
+let ajax_url = 'index.php?a=121';
+let categorizeWorkbench = document.getElementById('categorize-workbench');
+document.getElementById('elements-select').onchange = function(e) {
+ categorizeWorkbench.innerHTML = '';
+ categorizeWorkbench.classList.add('ajax_loading');
+ document.getElementById('categorize-elements').classList.remove('hidden');
+ document.getElementById('categorize-formfields').innerHTML = '';
+ let xhr = new XMLHttpRequest();
+ xhr.open('POST', ajax_url, true);
+ xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded;');
+ xhr.onload = function() {
+ if (this.readyState === 4) {
+ categorizeWorkbench.classList.remove('ajax_loading');
+ categorizeWorkbench.innerHTML = this.responseText;
+ evo.tooltips('#categorize-elements [data-tooltip]');
+ evo.draggable('.drag', {
+ handle: {
+ start: function() {
+ this.style.opacity = '.5';
+ this.style.zIndex = 10000;
+ }, end: function() {
+ this.style.opacity = 1;
+ this.style.zIndex = 1000;
+ },
+ }, container: {
+ className: 'drop', classOver: 'over', over: function() {
+ this.classList.add('over');
+ }, leave: function() {
+ this.classList.remove('over');
+ }, drop: function(drag) {
+ this.classList.remove('over');
+ drag.classList.add('ok');
+ },
+ },
+ });
+ }
+ };
+ xhr.send(request_key + '[ajax]=1&' + request_key + '[task]=categorize_load_elements&' + request_key + '[elements]=' + e.target.value);
+};
/**
* Sort Categories
*/
-new Sortables($('categories-sort'), {
- //handles:'span.handle',
- onStart: function(element){
- element.toggleClass('move');
- },
- onComplete: function(element){
- element.toggleClass('move');
- // reorder the indexes
- this.list.getChildren().each(function(element, i){
- element.getElement('input.sort').setProperty( 'value', (i+1) );
- element.getElement('span.sort').setHTML( (i+1) );
- element.getElements('td').each(function(td){
- td.removeClass('gridItem').removeClass('gridAltItem');
- td.addClass( ( i%2===0 ) ? 'gridItem' : 'gridAltItem' );
- });
- });
+evo.sortable('.table-sortable tbody > tr', {
+ complete: function() {
+ let els = document.querySelectorAll('.table-sortable tbody > tr');
+ for (let i = 0; i < els.length; i++) {
+ els[i].querySelector('input.sort').value = i + 1;
+ els[i].querySelector('span.sort').innerHTML = i + 1;
}
+ },
});
-/**
- * Categorization
- */
-var reset_position = function( drag ) {
- drag.setStyles({ left:0+"px", top:0+"px" });
-}
-
-var optDrop = {
- over: function(drag) {
- this.addClass('over');
- drag.addClass('ok');
- },
- leave: function(drag) {
- this.removeClass('over');
- drag.removeClass('ok');
- },
- drop: function(drag) {
- this.removeClass('over');
- drag.injectInside(this);
- reset_position(drag);
- }
-}
-
-var optDrag = {
- onStart: function(drag) {
- drag.setOpacity(.5).setStyle('z-index', 10000);
- },
- onComplete: function(drag) {
- drag.setOpacity(1).setStyle('z-index', 1000);
- reset_position(drag);
- }
-}
-
-var init_drag = function() {
-
- optDrag.droppables = $$('div.drop').addEvents( optDrop );
- $$('div#categorize-workbench div.drag').makeDraggable( optDrag );
- $$('div#categorize-workbench div.drag').each(function(element){ reset_position(element) });
-
- /**
- * Make container uncategorized elements movable.... but for what
-
- if( $('categorize-category-0') !== null ){
- var first_click = true;
- var container_uncategorized = $('categorize-category-0');
- container_uncategorized.getElement('h2').addEvent('click',function(){
- if( first_click === true ) {
- this.getParent().setStyles({
- 'top' : '-50px',
- 'left': '0'
- });
- new Drag.Move(container_uncategorized, {
- handle: container_uncategorized.getElement('h2')
- });
- first_click = false;
- }
- });
- }
-
- */
-}
-
/**
* collect the categorization in formfields
- *
+ *
* @TODO collect them within a object and send by jason-request.
- */
-$('categorize-submit').addEvent('mouseenter',function() {
-
- this.setProperty('disabled','disabled');
- this.setProperty('value','wait...');
-
- $('categorize-formfields').empty();
-
- $$('div.categorize_category').each(function(drop) {
-
- category_id = drop.getProperty('id').split('-')[2];
- category_name = drop.getElement('h2').getText().trim();
- elements = drop.getElements('div.drag');
-
- if( elements.length > 0 ) {
- elements.each(function(element,index) {
- var element_id = element.getProperty('id').split('-')[2];
- var element_name = element.getElement('h4').getText();
- var id_input_element = 'input-element-'+element_id;
- var id_input_element_name = 'input-element-name-'+element_id;
- var id_input_category_name = 'input-category-name-'+element_id;
-
- new Element( 'input', {
- 'type' : 'text',
- 'id' : id_input_element_name,
- 'name' : request_key + '[categorize][elements]['+element_id+'][element_name]',
- 'value': element_name.trim()
- }).injectInside( $('categorize-formfields') );
-
- new Element( 'input', {
- 'type' : 'text',
- 'id' : id_input_element,
- 'name' : request_key + '[categorize][elements]['+element_id+'][category_id]',
- 'value': category_id
- }).injectInside( $('categorize-formfields') );
-
- new Element( 'input', {
- 'type' : 'text',
- 'id' : id_input_category_name,
- 'name' : request_key + '[categorize][elements]['+element_id+'][category_name]',
- 'value': category_name.trim()
- }).injectInside( $('categorize-formfields') );
+ */
+document.getElementById('categorize-submit').addEventListener('mouseenter', function() {
+ this.disabled = 'disabled';
+ this.value = 'wait...';
+ let categorizeFormfields = document.getElementById('categorize-formfields');
+ categorizeFormfields.innerHTML = '';
+
+ [].slice.call(document.querySelectorAll('div.categorize_category')).forEach(function(a) {
+ let category_id = a.id.split('-')[2];
+ let category_name = a.querySelector('h2').innerText.replace(/^\s+|\s+$/g, '');
+ let elements = a.querySelectorAll('div.drag');
+
+ if (elements.length > 0) {
+ elements.forEach(function(element) {
+ let element_id = element.id.split('-')[2];
+ let element_name = element.querySelector('h4').innerText.replace(/^\s+|\s+$/g, '');
+ let id_input_element = 'input-element-' + element_id;
+ let id_input_element_name = 'input-element-name-' + element_id;
+ let id_input_category_name = 'input-category-name-' + element_id;
+
+ let input = document.createElement('input');
+ input.type = 'text';
+ input.id = id_input_element_name;
+ input.name = request_key + '[categorize][elements][' + element_id + '][element_name]';
+ input.value = element_name;
+ categorizeFormfields.appendChild(input);
+
+ input = document.createElement('input');
+ input.type = 'text';
+ input.id = id_input_element;
+ input.name = request_key + '[categorize][elements][' + element_id + '][category_id]';
+ input.value = category_id;
+ categorizeFormfields.appendChild(input);
+
+ input = document.createElement('input');
+ input.type = 'text';
+ input.id = id_input_category_name;
+ input.name = request_key + '[categorize][elements][' + element_id + '][category_name]';
+ input.value = category_name;
+ categorizeFormfields.appendChild(input);
+ });
+ }
+ });
- });
- }
- });
+ this.disabled = '';
+ this.value = 'Save categorization';
- this.removeProperty('disabled');
- this.setProperty('value','Save categorization');
});
-
-//});
diff --git a/manager/actions/category_mgr/skin/main.tpl.phtml b/manager/actions/category_mgr/skin/main.tpl.phtml
index f89f2e7e14..28fb9a8fb5 100644
--- a/manager/actions/category_mgr/skin/main.tpl.phtml
+++ b/manager/actions/category_mgr/skin/main.tpl.phtml
@@ -1,102 +1,89 @@
-
-
-js_output)) : ?>
-
-
+
+js_output)) : ?>
+
+
+
+
- get('name') ?> + = $view->get('name') ?>-
-
-
- renderView('chunks/db_setup'); ?>
-
-
- renderView('chunks/messages', $view->getMessages('global')); ?>
-
-
+
+ renderView('chunks/db_setup') ?>
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- txt('cm_add_new_category'); ?>- - renderView('chunks/messages', $view->getMessages('add')); ?> - renderView('add'); ?> -
-
-
- txt('cm_edit_categories'); ?>- - renderView('chunks/messages', $view->getMessages('edit')); ?> - renderView('edit', $data); ?> -
-
-
- txt('cm_sort_categories'); ?>- - renderView('chunks/messages', $view->getMessages('sort')); ?> - renderView('sort', $data); ?> -
-
-
-
-
- new_translations[$view->get('manager_language')] && !empty($view->new_translations[$view->get('manager_language')])) : ?>
-
- txt('cm_categorize_elements'); ?>- - renderView('chunks/messages', $view->getMessages('categorize')); ?> - renderView('categorize', $data); ?> -
-
-
-
-
- txt('Translations'); ?>- - renderView('chunks/messages', $view->getMessages('translate')); ?> - renderView('translate', $view->new_translations[$view->get('manager_language')]); ?> -
+
+
+
+
-
\ No newline at end of file
+
diff --git a/manager/actions/category_mgr/skin/sort.tpl.phtml b/manager/actions/category_mgr/skin/sort.tpl.phtml
index be4fd6bffa..0552acf2cb 100644
--- a/manager/actions/category_mgr/skin/sort.tpl.phtml
+++ b/manager/actions/category_mgr/skin/sort.tpl.phtml
@@ -1,41 +1,39 @@
-
diff --git a/manager/actions/document_data.static.php b/manager/actions/document_data.static.php
index 7173f44f66..130c968dd8 100644
--- a/manager/actions/document_data.static.php
+++ b/manager/actions/document_data.static.php
@@ -96,7 +96,7 @@
// $rowHeaderClass = 'gridHeader';
// $rowRegularClass = 'gridItem';
// $rowAlternateClass = 'gridAltItem';
- $tableClass = 'table data';
+ $tableClass = 'table data nowrap';
$columnHeaderClass = array(
'text-center',
'text-left',
@@ -170,16 +170,9 @@
break;
default:
if($children['isfolder']) {
- $isPrivate = ($children['privateweb'] || $children['privatemgr']) ? '1' : '0';
- $icon = $isPrivate ? $_style['tree_folder_secure'] : $_style['tree_folder_new'];
+ $icon = $_style['tree_folder_new'];
} else {
- if($children['privateweb'] || $children['privatemgr']) {
- if(isset($icons[$children['contentType']])) {
- $icon = $icons[$children['contentType']];
- } else {
- $icon = $_style['tree_page_secure'];
- }
- } elseif(isset($icons[$children['contentType']])) {
+ if(isset($icons[$children['contentType']])) {
$icon = $icons[$children['contentType']];
} else {
$icon = $_style['tree_page'];
@@ -187,15 +180,17 @@
}
}
+ $private = ($children['privateweb'] || $children['privatemgr'] ? ' private' : '');
+
// дописываем в заголовок класс для неопубликованных плюс по всем ссылкам обратный путь
// для сохранения сортировки
$class = ($children['deleted'] ? 'text-danger text-decoration-through' : (!$children['published'] ? ' font-italic text-muted' : ' publish'));
//$class .= ($children['hidemenu'] ? ' text-muted' : ' text-primary');
//$class .= ($children['isfolder'] ? ' font-weight-bold' : '');
if($modx->hasPermission('edit_document')) {
- $title = '' . $icon . '' . $children['pagetitle'] . '';
+ $title = '' . $icon . '' . '' . $children['pagetitle'] . '';
} else {
- $title = '' . $icon . '' . $children['pagetitle'] . '';
+ $title = '' . $icon . '' . $children['pagetitle'] . '';
}
$icon_pub_unpub = (!$children['published']) ? '' : '';
@@ -308,47 +303,6 @@ class="' . $_style["icons_move_document"] . '">' . $icon_pub_unpub : '')
renderView('chunks/messages', $view->getMessages('global')) ?>
+
+
+
+
+
+
+
+
+
+
+
+ = $view->txt('cm_add_new_category') ?>+ +
+ renderView('chunks/messages', $view->getMessages('add')) ?>
+ renderView('add') ?>
+
+
+
+
+ = $view->txt('cm_edit_categories') ?>+ +
+ renderView('chunks/messages', $view->getMessages('edit')) ?>
+ renderView('edit', $data) ?>
+
+
+
+
+ = $view->txt('cm_sort_categories') ?>+ +
+ renderView('chunks/messages', $view->getMessages('sort')) ?>
+ renderView('sort', $data) ?>
+
+
+
+
+
+
+ new_translations[$view->get('manager_language')] && !empty($view->new_translations[$view->get('manager_language')])) : ?>
+
+ = $view->txt('cm_categorize_elements') ?>+ +
+ renderView('chunks/messages', $view->getMessages('categorize')) ?>
+ renderView('categorize', $data) ?>
+
+
+
+
+
+
+ = $view->txt('Translations') ?>+ +
+ renderView('chunks/messages', $view->getMessages('translate')) ?>
+ renderView('translate', $view->new_translations[$view->get('manager_language')]) ?>
+
+ | = $_lang['resource_alias'] ?>: | = $content['alias'] != '' ? $content['alias'] : "(" . $_lang['not_set'] . ")" ?> | ||||||||||||
= $_lang['keywords'] ?>: | -" . $_lang['not_set'] . ")"; - } - ?> | -||||||||||||||||
= $_lang['metatags'] ?>: | -', $metatags_selected); - } else { - echo "(" . $_lang['not_set'] . ")"; - } - ?> | -||||||||||||||||
= $_lang['files_filename'] ?> | -= $_lang['files_modified'] ?> | -= $_lang['files_filesize'] ?> | -= $_lang['files_fileoptions'] ?> | -' . $_lang['files_directory_is_empty'] . ' | '; - } - ?> -
---|
- ' . $folders . ' '; - echo $_lang['files_files'] . ': ' . $files . ' '; - echo $_lang['files_data'] . ': ' . $modx->nicesize($filesizes) . ' '; - echo $_lang['files_dirwritable'] . ' ' . (is_writable($startpath) == 1 ? $_lang['yes'] . '.' : $_lang['no']) . '.' - ?> -
- - - - - " . $_lang['files_upload_inhibited_msg'] . ""; - } - ?> - -= $_lang['files_filename'] ?> | += $_lang['files_modified'] ?> | += $_lang['files_filesize'] ?> | += $_lang['files_fileoptions'] ?> | +' . $_lang['files_directory_is_empty'] . ' | '; + } + ?> +
---|
+ ' . $folders . ' '; + echo $_lang['files_files'] . ': ' . $files . ' '; + echo $_lang['files_data'] . ': ' . $modx->nicesize($filesizes) . ' '; + echo $_lang['files_dirwritable'] . ' ' . (is_writable($startpath) == 1 ? $_lang['yes'] . '.' : $_lang['no']) . '.' + ?> +
+ + + + + " . $_lang['files_upload_inhibited_msg'] . ""; + } + ?> + +" . $_lang['files_file_type'] . $userfile['type'] . ", " . $modx->nicesize(filesize($userfile['tmp_name'])) . $img . '
'; - } - - $userfilename = $userfile['tmp_name']; - - if(is_uploaded_file($userfilename)) { - // file is uploaded file, process it! - if(!checkExtension($userfile['name'])) { - $msg .= '' . $_lang['files_filetype_notok'] . '
'; - } else { - if(@move_uploaded_file($userfile['tmp_name'], $_POST['path'] . '/' . $userfile['name'])) { - // Ryan: Repair broken permissions issue with file manager - if(strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') { - @chmod($_POST['path'] . "/" . $userfile['name'], $new_file_permissions); - } - // Ryan: End - $msg .= '' . $_lang['files_upload_ok'] . '
' . $_lang['files_upload_copyfailed'] . ' ' . $_lang["files_upload_permissions_error"] . '
'; - } - } - } else { - $msg .= '" . $_lang['files_file_type'] . $userfile['type'] . ", " . $modx->nicesize(filesize($userfile['tmp_name'])) . $img . '
'; + } + + $userfilename = $userfile['tmp_name']; + + if (is_uploaded_file($userfilename)) { + // file is uploaded file, process it! + if (!checkExtension($userfile['name'])) { + $msg .= '' . $_lang['files_filetype_notok'] . '
'; + } else { + if (@move_uploaded_file($userfile['tmp_name'], $_POST['path'] . '/' . $userfile['name'])) { + // Ryan: Repair broken permissions issue with file manager + if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') { + @chmod($_POST['path'] . "/" . $userfile['name'], $new_file_permissions); + } + // Ryan: End + $msg .= '' . $_lang['files_upload_ok'] . '
' . $_lang['files_upload_copyfailed'] . ' ' . $_lang["files_upload_permissions_error"] . '
'; + } + } + } else { + $msg .= '' . $row["title"] . ' | +' . $links . ' | +
What is MODX? | Official 1.0 documentation | |
MODX.com | Home of MODX | |
MODX Forums | General support & discussions | |
What is EVO? | Official EVO documentation | |
evo.im | Home of EVO | |
EVO Forums | General support & discussions | |
docs.evolution-cms.com | Google Translate | Further documentation |
API Reference | Google Translate | Further documentation |
MODX.im | Google Translate | MODX by community |
MODX.com.ua | Google Translate | Further documentation |
MODX.im | Google Translate | Russian community |
Sort Resources in Root: Click Button "Sort menu index" on top of resource-tree
+ Sort Resources of Parent Resource: Right mouse-click on parent, then choose "Sort menu index"
+
You can quick-access elements, files and images now directly from ressource-tree. Use Shift-Mouseclick to open multiple windows/elements.
+The ressource-tree stores now the last set sort-options per user to database (Sort by, Asc/Desc, Display-Name). At manager log-in, last settings of each user get restored.
+Can be disabled in MODX-configuration. More infos at #623
+[[snippetName?param1¶m2]] will automatically be handled as [[snippetName?param1=`1`¶m2=`1`]] while param=`` will still be handled as empty value.
+Can be enabled/disabled via Configuration -> "Enable Filters". More examples at #622 and #623. Example:
+[*longtitle:ifempty=[*pagetitle*]*]+
<!--@IF:[*id:is('[(site_start)]')*]> +Top page +<@ELSE> +Sub page +<@ENDIF-->+
Comment-Tags will be completely removed from output. More infos at #680. Example:
+<!--@- This is a comment -@-->+
<!--@- Or HTML-Code / Snippets etc you want to disable temporarily -@-->+
It is possible to pass properties/values to a chunk. More infos at #625. Example:
+ Chunk: ++<h1>[+title+]</h1> +<p>[+body+]</p>+ Call: +
{{chunkName? &title='First post' &body='Hello World!'}}+
Templates can be included via @INCLUDE using external PHP- & HTML-files. More infos at #627. Example:
+MODX-Template:
+@INCLUDE:assets/templates/mydesign/template.inc.php+
template.inc.php :
+switch($modx->documentIdentifier) { + case $modx->config['site_start']: + return file_get_contents('assets/templates/mydesign/top.html'); + default: + return file_get_contents('assets/templates/mydesign/page.html'); +}+
A user with this permission can change resource-type (webpage/weblink). More infos at #531
+Controls the display of 2 new buttons in resource-tree and grants/blocks access to KCFinder. More infos at #681
+[*tv_name*] will be replaced by its value taken from actual resource. Beware of SQL-Errors in case no or wrong value is given (set a reasonable default-value to avoid errors). More infos at #699. Example:
+@SELECT name,value FROM xxx WHERE yyy = [*tv_name*]+
Now updates will be released more often. About once a month there will be a fresh release instead of 1 release at half a year..
+' . $_lang["mgrlog_emptysrch"] . '
'; +if ($limit < 1) { + echo '' . $_lang["mgrlog_emptysrch"] . '
'; } else { - echo '' . $_lang["mgrlog_sortinst"] . '
'; + echo '' . $_lang["mgrlog_sortinst"] . '
'; + + include_once "paginate.inc.php"; + // New instance of the Paging class, you can modify the color and the width of the html table + $p = new Paging($num_rows, $int_cur_position, $int_num_result, $extargv); + + // Load up the 2 array in order to display result + $array_paging = $p->getPagingArray(); + $array_row_paging = $p->getPagingRowArray(); + $current_row = $int_cur_position / $int_num_result; + + // Display the result as you like... + print "" . $_lang["paging_showing"] . " " . $array_paging['lower'];
+ print " " . $_lang["paging_to"] . " " . $array_paging['upper'];
+ print " (" . $array_paging['total'] . " " . $_lang["paging_total"] . ")
";
+ $paging = $array_paging['first_link'] . $_lang["paging_first"] . (isset($array_paging['first_link']) ? " " : " ");
+ $paging .= $array_paging['previous_link'] . $_lang["paging_prev"] . (isset($array_paging['previous_link']) ? " " : " ");
+ $pagesfound = sizeof($array_row_paging);
+ if ($pagesfound > 6) {
+ $paging .= $array_row_paging[$current_row - 2]; // ." ";
+ $paging .= $array_row_paging[$current_row - 1]; // ." ";
+ $paging .= $array_row_paging[$current_row]; // ." ";
+ $paging .= $array_row_paging[$current_row + 1]; // ." ";
+ $paging .= $array_row_paging[$current_row + 2]; // ." ";
+ } else {
+ for ($i = 0; $i < $pagesfound; $i++) {
+ $paging .= $array_row_paging[$i] . " ";
+ }
+ }
+ $paging .= $array_paging['next_link'] . $_lang["paging_next"] . (isset($array_paging['next_link']) ? " " : " ") . " ";
+ $paging .= $array_paging['last_link'] . $_lang["paging_last"] . (isset($array_paging['last_link']) ? " " : " ") . " ";
+ // The above exemple print somethings like:
+ // Results 1 to 20 of 597 <<< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 >>>
+ // Of course you can now play with array_row_paging in order to print
+ // only the results you would like...
+ ?>
+
+
- include_once "paginate.inc.php";
- // New instance of the Paging class, you can modify the color and the width of the html table
- $p = new Paging($num_rows, $int_cur_position, $int_num_result, $extargv);
+
= $_lang["mgrlog_username"] ?> | += $_lang["mgrlog_action"] ?> | += $_lang["mgrlog_itemid"] ?> | += $_lang["mgrlog_itemname"] ?> | += $_lang["mgrlog_time"] ?> | +
---|---|---|---|---|
= '' . $logentry['username'] . '' ?> | += '[' . $logentry['action'] . '] ' . $logentry['message'] ?> | += $logentry['itemid'] ?> | += $item ?> | += $modx->toDateFormat($logentry['timestamp'] + $server_offset_time) ?> | +
" . $_lang["paging_showing"] . " " . $array_paging['lower'];
- print " " . $_lang["paging_to"] . " " . $array_paging['upper'];
- print " (" . $array_paging['total'] . " " . $_lang["paging_total"] . ")
";
- $paging = $array_paging['first_link'] . $_lang["paging_first"] . (isset($array_paging['first_link']) ? " " : " ");
- $paging .= $array_paging['previous_link'] . $_lang["paging_prev"] . (isset($array_paging['previous_link']) ? " " : " ");
- $pagesfound = sizeof($array_row_paging);
- if($pagesfound > 6) {
- $paging .= $array_row_paging[$current_row - 2]; // ." ";
- $paging .= $array_row_paging[$current_row - 1]; // ." ";
- $paging .= $array_row_paging[$current_row]; // ." ";
- $paging .= $array_row_paging[$current_row + 1]; // ." ";
- $paging .= $array_row_paging[$current_row + 2]; // ." ";
- } else {
- for($i = 0; $i < $pagesfound; $i++) {
- $paging .= $array_row_paging[$i] . " ";
- }
- }
- $paging .= $array_paging['next_link'] . $_lang["paging_next"] . (isset($array_paging['next_link']) ? " " : " ") . " ";
- $paging .= $array_paging['last_link'] . $_lang["paging_last"] . (isset($array_paging['last_link']) ? " " : " ") . "
- | - | - | - |
---|---|---|---|
' . $logentry['username'] . ''; ?> | -- | - | toDateFormat($logentry['timestamp'] + $server_offset_time); ?> | -
- - | -|
- | |
: | -- |
: | -toDateFormat($message['postdate'] + $server_offset_time); ?> | -
: | -- |
- | |
- ", $message['message']); - $dashcount = substr_count($message, "-----"); - $message = str_replace("-----", "", $message); - for($i = 0; $i < $dashcount; $i++) { - $message .= ""; - } - - echo $message; - ?> - - | -
= $_lang['messages_from'] ?>: | ++ | = $sendername ?> | +
= $_lang['messages_sent'] ?>: | ++ | = $modx->toDateFormat($message['postdate'] + $server_offset_time) ?> | +
= $_lang['messages_subject'] ?>: | ++ | = $message['subject'] ?> | +
= $_lang['messages_inbox'] ?>
+ db->select('count(id)', $modx->getFullTableName('user_messages'), "recipient=" . $modx->getLoginUserID() . ""); + $num_rows = $modx->db->getValue($rs); - // Number of result to display on the page, will be in the LIMIT of the sql query also - $int_num_result = $number_of_messages; + // ============================================================== + // Exemple Usage + // Note: I make 2 query to the database for this exemple, it + // could (and should) be made with only one query... + // ============================================================== + // If current position is not set, set it to zero + if (!isset($_REQUEST['int_cur_position']) || $_REQUEST['int_cur_position'] == 0) { + $int_cur_position = 0; + } else { + $int_cur_position = (int)$_REQUEST['int_cur_position']; + } - $extargv = "&a=10"; // extra argv here (could be anything depending on your page) + // Number of result to display on the page, will be in the LIMIT of the sql query also + $int_num_result = $number_of_messages; - include_once "paginate.inc.php"; - // New instance of the Paging class, you can modify the color and the width of the html table - $p = new Paging($num_rows, $int_cur_position, $int_num_result, $extargv); + $extargv = "&a=10"; // extra argv here (could be anything depending on your page) - // Load up the 2 array in order to display result - $array_paging = $p->getPagingArray(); - $array_row_paging = $p->getPagingRowArray(); + include_once "paginate.inc.php"; + // New instance of the Paging class, you can modify the color and the width of the html table + $p = new Paging($num_rows, $int_cur_position, $int_num_result, $extargv); - // Display the result as you like... - $pager .= $_lang['showing'] . " " . $array_paging['lower']; - $pager .= " " . $_lang['to'] . " " . $array_paging['upper']; - $pager .= " (" . $array_paging['total'] . " " . $_lang['total'] . ")"; - $pager .= "- | - | - | - | - |
---|---|---|---|---|
" : ""; ?> | - -- | - | toDateFormat($message['postdate'] + $server_offset_time); ?> | -
+ | = $_lang['messages_subject'] ?> | += $_lang['messages_from'] ?> | += $_lang['messages_private'] ?> | += $_lang['messages_sent'] ?> | +
---|---|---|---|---|
= $message['messageread'] == 0 ? '' : "" ?> | + += $sendername ?> | += $message['private'] == 0 ? $_lang['no'] : $_lang['yes'] ?> | += $modx->toDateFormat($message['postdate'] + $server_offset_time) ?> | +
= $_lang['move_resource_message'] ?>
+= $_lang['resource_to_be_moved'] ?>: = $id ?>
+ = $_lang['move_resource_new_parent'] ?> + +', $row['caption'] . $tvName, "\n", "\t\t\t", $tvDescription, $tvInherited, " | \n", "\t\t\t", '' . "\n", "\t\t\t" . renderFormElement($row['type'], $row['id'], $row['default_text'], $row['elements'], $tvPBV, '', $row, $tvsArray) . "\n" . "\t\t |
' . $row['caption'] . $tvName . '' . $tvDescription . $tvInherited . ' | +' . renderFormElement($row['type'], $row['id'], $row['default_text'], $row['elements'], $tvPBV, '', $row, $tvsArray) . ' |
+
" . $_lang['tmplvars_novars'] . "
\n"; + } + } + + // Template Variables + if ($modx->config['group_tvs'] < 3) { + echo $templateVariables; + } + ?> @@ -1222,82 +1334,14 @@ function SetUrl(url, width, height, alt) { - - - hasPermission('edit_doc_metatags') && $modx->config['show_meta']) { - // get list of site keywords - $keywords = array(); - $ds = $modx->db->select('id, keyword', $tbl_site_keywords, '', 'keyword ASC'); - while($row = $modx->db->getRow($ds)) { - $keywords[$row['id']] = $row['keyword']; - } - // get selected keywords using document's id - if(isset ($content['id']) && count($keywords) > 0) { - $keywords_selected = array(); - $ds = $modx->db->select('keyword_id', $tbl_keyword_xref, "content_id='{$content['id']}'"); - while($row = $modx->db->getRow($ds)) { - $keywords_selected[$row['keyword_id']] = ' selected="selected"'; - } - } - - // get list of site META tags - $metatags = array(); - $ds = $modx->db->select('id, name', $tbl_site_metatags); - while($row = $modx->db->getRow($ds)) { - $metatags[$row['id']] = $row['name']; - } - // get selected META tags using document's id - if(isset ($content['id']) && count($metatags) > 0) { - $metatags_selected = array(); - $ds = $modx->db->select('metatag_id', $tbl_site_content_metatags, "content_id='{$content['id']}'"); - while($row = $modx->db->getRow($ds)) { - $metatags_selected[$row['metatag_id']] = ' selected="selected"'; - } - } - ?> - -= $_lang['resource_metatag_help'] ?> -
|
-
' . $_lang['sort_nochildren'] . '
'; + } } $pagetitle = $id == 0 ? $site_name : $pagetitle; ?> - -= $_lang["sort_elements_msg"] ?>
-- = $_lang['sort_alphabetically'] ?> - = $_lang['reset_sort_order'] ?> -
- = $updateMsg ?> - -= $_lang["sort_elements_msg"] ?>
++ = $_lang['sort_alphabetically'] ?> + = $_lang['reset_sort_order'] ?> +
+ = $updateMsg ?> + + = $ressourcelist ?> + + } else { + echo $updateMsg; + } + ?> +: | -- | - |
: | -- | - |
= $_lang['plugin_event_msg'] ?>
- 0) { - $rs = $modx->db->select('evtid', $tbl_site_plugin_events, "pluginid='{$id}'"); - $evts = $modx->db->getColumn('evtid', $rs); - } else { - if(isset($content['sysevents']) && is_array($content['sysevents'])) { - $evts = $content['sysevents']; - } else { - $evts = array(); - } - } - - // display system events - $evtnames = array(); - $services = array( - "Parser Service Events", - "Manager Access Events", - "Web Access Service Events", - "Cache Service Events", - "Template Service Events", - "User Defined Events" - ); - $rs = $modx->db->select('*', $tbl_system_eventnames, '', 'service DESC, groupname, name'); - $limit = $modx->db->getRecordCount($rs); - if($limit == 0) { - echo ""; - } else { - while($row = $modx->db->getRow($rs)) { - // display records - if($srv != $row['service']) { - $srv = $row['service']; - if(count($evtnames) > 0) { - echoEventRows($evtnames); - } - echo '= $_lang['plugin_event_msg'] ?>
+ 0) { + $rs = $modx->db->select('evtid', $tbl_site_plugin_events, "pluginid='{$id}'"); + $evts = $modx->db->getColumn('evtid', $rs); + } else { + if (isset($content['sysevents']) && is_array($content['sysevents'])) { + $evts = $content['sysevents']; + } else { + $evts = array(); + } + } + + // display system events + $evtnames = array(); + $services = array( + "Parser Service Events", + "Manager Access Events", + "Web Access Service Events", + "Cache Service Events", + "Template Service Events", + "User Defined Events" + ); + $rs = $modx->db->select('*', $tbl_system_eventnames, '', 'service DESC, groupname, name'); + $limit = $modx->db->getRecordCount($rs); + if ($limit == 0) { + echo ""; + } else { + while ($row = $modx->db->getRow($rs)) { + // display records + if ($srv != $row['service']) { + $srv = $row['service']; + if (count($evtnames) > 0) { + echoEventRows($evtnames); + } + echo '= $_lang['plugin_priority_instructions'] ?>
- - = $updateMsg ?> - - = $evtLists ?> - -= $_lang['plugin_priority_instructions'] ?>
+ + = $updateMsg ?> + + + + = $sortableList ?> ++ | [(site_status)] |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
htmlspecialchars($_lang['sitename_title']) ?> | +htmlspecialchars($_lang['sitename_title']) ?> [(site_name)] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(emailsender)] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(site_start)] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(error_page)] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(unauthorized_page)] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(site_unavailable_page)] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(site_unavailable_message)] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(default_template)] |
db->select( @@ -121,7 +121,7 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(auto_template_logic)] |
@@ -130,7 +130,7 @@ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(enable_filter)] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(publish_default)] |
@@ -159,7 +159,7 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(cache_default)] |
@@ -167,7 +167,7 @@ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(search_default)] |
@@ -175,7 +175,7 @@ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(auto_menuindex)] |
@@ -200,7 +200,7 @@ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(docid_incrmnt_method)] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(enable_cache)] |
+
+ + + + |
+|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[(cache_type)] |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(minifyphp_incache)] |
@@ -232,7 +241,7 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(server_offset_time)] |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(server_protocol)] |
@@ -256,13 +265,13 @@ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(rss_url_news)] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(track_visitors)] |
@@ -270,7 +279,7 @@ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(top_howmany)] |
diff --git a/manager/actions/mutate_settings/tab2_furl_settings.inc.php b/manager/actions/mutate_settings/tab2_furl_settings.inc.php index 5a8ac2cf10..2269244e37 100644 --- a/manager/actions/mutate_settings/tab2_furl_settings.inc.php +++ b/manager/actions/mutate_settings/tab2_furl_settings.inc.php @@ -4,7 +4,7 @@ |
+ | [(friendly_urls)] |
@@ -18,7 +18,7 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(xhtml_urls)] |
@@ -32,7 +32,7 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(friendly_url_prefix)] |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(friendly_url_suffix)] |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(make_folders)] |
@@ -69,7 +69,7 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+ | [(seostrict)] |
@@ -84,7 +84,7 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(aliaslistingfolder)] |
@@ -99,7 +99,7 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(friendly_alias_urls)] |
@@ -113,7 +113,7 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(use_alias_path)] |
@@ -127,7 +127,7 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(allow_duplicate_alias)] |
@@ -141,7 +141,7 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | [(automatic_alias)] |
diff --git a/manager/actions/mutate_settings/tab3_user_settings.inc.php b/manager/actions/mutate_settings/tab3_user_settings.inc.php index 83e5b93135..31320489eb 100644 --- a/manager/actions/mutate_settings/tab3_user_settings.inc.php +++ b/manager/actions/mutate_settings/tab3_user_settings.inc.php @@ -4,7 +4,7 @@
|