manifest.php 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
  1. <?php return array (
  2. 'manifest-version' => '1.1',
  3. 'manifest-attributes' =>
  4. array (
  5. 'changelog' => '1.15.0-pl
  6. ==============
  7. - Added an unread messages indicator.
  8. - Fixed a bug with js files for backend users with restricted permissions (#19).
  9. - Moved the AdminTools service class from the model folder to the service folder.
  10. 1.14.1-pl
  11. ==============
  12. - Added a system setting to hide the lock menu item.
  13. - Updated the "tpl.lockScreen" chunk. Don\'t forget to update it.
  14. 1.14.0-pl
  15. ==============
  16. - Added ability to lock admin panel.
  17. 1.13.1-pl
  18. ==============
  19. - Fixed a bug with the last update.
  20. 1.13.0-pl
  21. ==============
  22. - Added a system setting to disable setting the authenticated user from "mgr" context for a guest user on a website.
  23. 1.12.2-pl
  24. ==============
  25. - Optimized for utf8mb4.
  26. - Fixed broken email authentication.
  27. - Fixed bug with creating a new admin notes.
  28. 1.12.1-pl
  29. ==============
  30. - Some bugfixes.
  31. 1.12.0-pl
  32. ==============
  33. - Added package action management which allows to prevent from installing, uninstalling, updating and removing packages.
  34. 1.11.2-pl
  35. ==============
  36. - Some code optimization (special thanks to Fi1osof).
  37. 1.11.1-pl
  38. ==============
  39. - Fixed error in the names of the two last added system settings.
  40. - Changed order of including css files.
  41. 1.11.0-pl
  42. ==============
  43. - Added 2 system settings - "admintools_custom_css" and "admintools_custom_js" which allow to add to the manager interface custom style and javascript files.
  44. - Tuned the purple theme.
  45. 1.10.1-beta
  46. ==============
  47. - Added the \'purple\' color theme.
  48. - Bugfixes.
  49. 1.10.0-beta
  50. ==============
  51. - Added color themes.
  52. - The resource tree can be moved to the right side.
  53. 1.9.0-pl
  54. ==============
  55. - Added plugin interface with bound events.
  56. 1.8.2-pl
  57. ==============
  58. - Added a checkbox "Create cache" to the resource form which allows to save the resource to the cache when you save it.
  59. - Admin notes can be imported and exported.
  60. 1.8.1-beta
  61. ==============
  62. - Fixed issue #8 with mbstring.
  63. 1.8.0-beta
  64. ==============
  65. - Added alternative permissions for resources.
  66. - Template link in the resource form is made as icon.
  67. - The "description" and "introtext" fields now are resizable.
  68. 1.7.0-pl
  69. ==============
  70. - Added animation for the main menu.
  71. - Added system setting to disable templates and resources relationship.
  72. 1.6.0-pl
  73. ==============
  74. - Added templates and resources relationship.
  75. 1.5.0-pl
  76. ==============
  77. - Added user notes functionality.
  78. 1.4.1-pl
  79. ==============
  80. - Made the alternate login interface in pure javascript. Remove the jQuery from the AdminLogin snippet.
  81. - Automatic logout inactive or blocked user if he is logged in.
  82. 1.4.1-beta
  83. ==============
  84. - Element names in the elements log are links now.
  85. - Fixed bug of the email authorization.
  86. 1.4.0-beta
  87. ==============
  88. - Backend users can authorize via email.
  89. - Some code optimization.
  90. 1.3.0-pl
  91. ==============
  92. - Added system setting for switching on/off the favorite elements function.
  93. - Added ability to clear only the saved resource cache (system setting "clear_only resource_cache").
  94. - Added system setting for hiding component description at menu "Extras".
  95. - The list of the edited elements is getting from the system \'manager_log\' table.
  96. - Added filter to the last edited elements grid.
  97. - The user settings of the favorite elements and the system settings save to the extended field of the user (special thanks to Lukas Zahnd).
  98. - Fixed some bugs (special thanks to Lukas Zahnd).
  99. 1.2.1-pl
  100. ==============
  101. - Fixed bug with favorites elements.
  102. 1.2.0-pl
  103. ==============
  104. - Added a log of recently edited elements to the tree toolbar.
  105. - Switch off check the elements permission for users with sudo while the tree is building.
  106. - Fixed some bugs.
  107. 1.1.1-pl
  108. ==============
  109. - Fixed session array for admintools.
  110. 1.1.0-pl
  111. ==============
  112. - Remember system settings state.
  113. - Added system setting allowing to switch off check the elements permission while the tree is building.
  114. - Show favorite elements without category folders.
  115. 1.0.2-pl
  116. ==============
  117. - Personal setting for each user.
  118. 1.0.1-pl
  119. ==============
  120. - Changed the cache path.
  121. 1.0.0-pl
  122. ==============
  123. - Initial release.',
  124. 'license' => 'GNU GENERAL PUBLIC LICENSE
  125. Version 2, June 1991
  126. --------------------------
  127. Copyright (C) 1989, 1991 Free Software Foundation, Inc.
  128. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  129. Everyone is permitted to copy and distribute verbatim copies
  130. of this license document, but changing it is not allowed.
  131. Preamble
  132. --------
  133. The licenses for most software are designed to take away your
  134. freedom to share and change it. By contrast, the GNU General Public
  135. License is intended to guarantee your freedom to share and change free
  136. software--to make sure the software is free for all its users. This
  137. General Public License applies to most of the Free Software
  138. Foundation\'s software and to any other program whose authors commit to
  139. using it. (Some other Free Software Foundation software is covered by
  140. the GNU Library General Public License instead.) You can apply it to
  141. your programs, too.
  142. When we speak of free software, we are referring to freedom, not
  143. price. Our General Public Licenses are designed to make sure that you
  144. have the freedom to distribute copies of free software (and charge for
  145. this service if you wish), that you receive source code or can get it
  146. if you want it, that you can change the software or use pieces of it
  147. in new free programs; and that you know you can do these things.
  148. To protect your rights, we need to make restrictions that forbid
  149. anyone to deny you these rights or to ask you to surrender the rights.
  150. These restrictions translate to certain responsibilities for you if you
  151. distribute copies of the software, or if you modify it.
  152. For example, if you distribute copies of such a program, whether
  153. gratis or for a fee, you must give the recipients all the rights that
  154. you have. You must make sure that they, too, receive or can get the
  155. source code. And you must show them these terms so they know their
  156. rights.
  157. We protect your rights with two steps: (1) copyright the software, and
  158. (2) offer you this license which gives you legal permission to copy,
  159. distribute and/or modify the software.
  160. Also, for each author\'s protection and ours, we want to make certain
  161. that everyone understands that there is no warranty for this free
  162. software. If the software is modified by someone else and passed on, we
  163. want its recipients to know that what they have is not the original, so
  164. that any problems introduced by others will not reflect on the original
  165. authors\' reputations.
  166. Finally, any free program is threatened constantly by software
  167. patents. We wish to avoid the danger that redistributors of a free
  168. program will individually obtain patent licenses, in effect making the
  169. program proprietary. To prevent this, we have made it clear that any
  170. patent must be licensed for everyone\'s free use or not licensed at all.
  171. The precise terms and conditions for copying, distribution and
  172. modification follow.
  173. GNU GENERAL PUBLIC LICENSE
  174. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  175. ---------------------------------------------------------------
  176. 0. This License applies to any program or other work which contains
  177. a notice placed by the copyright holder saying it may be distributed
  178. under the terms of this General Public License. The "Program", below,
  179. refers to any such program or work, and a "work based on the Program"
  180. means either the Program or any derivative work under copyright law:
  181. that is to say, a work containing the Program or a portion of it,
  182. either verbatim or with modifications and/or translated into another
  183. language. (Hereinafter, translation is included without limitation in
  184. the term "modification".) Each licensee is addressed as "you".
  185. Activities other than copying, distribution and modification are not
  186. covered by this License; they are outside its scope. The act of
  187. running the Program is not restricted, and the output from the Program
  188. is covered only if its contents constitute a work based on the
  189. Program (independent of having been made by running the Program).
  190. Whether that is true depends on what the Program does.
  191. 1. You may copy and distribute verbatim copies of the Program\'s
  192. source code as you receive it, in any medium, provided that you
  193. conspicuously and appropriately publish on each copy an appropriate
  194. copyright notice and disclaimer of warranty; keep intact all the
  195. notices that refer to this License and to the absence of any warranty;
  196. and give any other recipients of the Program a copy of this License
  197. along with the Program.
  198. You may charge a fee for the physical act of transferring a copy, and
  199. you may at your option offer warranty protection in exchange for a fee.
  200. 2. You may modify your copy or copies of the Program or any portion
  201. of it, thus forming a work based on the Program, and copy and
  202. distribute such modifications or work under the terms of Section 1
  203. above, provided that you also meet all of these conditions:
  204. a) You must cause the modified files to carry prominent notices
  205. stating that you changed the files and the date of any change.
  206. b) You must cause any work that you distribute or publish, that in
  207. whole or in part contains or is derived from the Program or any
  208. part thereof, to be licensed as a whole at no charge to all third
  209. parties under the terms of this License.
  210. c) If the modified program normally reads commands interactively
  211. when run, you must cause it, when started running for such
  212. interactive use in the most ordinary way, to print or display an
  213. announcement including an appropriate copyright notice and a
  214. notice that there is no warranty (or else, saying that you provide
  215. a warranty) and that users may redistribute the program under
  216. these conditions, and telling the user how to view a copy of this
  217. License. (Exception: if the Program itself is interactive but
  218. does not normally print such an announcement, your work based on
  219. the Program is not required to print an announcement.)
  220. These requirements apply to the modified work as a whole. If
  221. identifiable sections of that work are not derived from the Program,
  222. and can be reasonably considered independent and separate works in
  223. themselves, then this License, and its terms, do not apply to those
  224. sections when you distribute them as separate works. But when you
  225. distribute the same sections as part of a whole which is a work based
  226. on the Program, the distribution of the whole must be on the terms of
  227. this License, whose permissions for other licensees extend to the
  228. entire whole, and thus to each and every part regardless of who wrote it.
  229. Thus, it is not the intent of this section to claim rights or contest
  230. your rights to work written entirely by you; rather, the intent is to
  231. exercise the right to control the distribution of derivative or
  232. collective works based on the Program.
  233. In addition, mere aggregation of another work not based on the Program
  234. with the Program (or with a work based on the Program) on a volume of
  235. a storage or distribution medium does not bring the other work under
  236. the scope of this License.
  237. 3. You may copy and distribute the Program (or a work based on it,
  238. under Section 2) in object code or executable form under the terms of
  239. Sections 1 and 2 above provided that you also do one of the following:
  240. a) Accompany it with the complete corresponding machine-readable
  241. source code, which must be distributed under the terms of Sections
  242. 1 and 2 above on a medium customarily used for software interchange; or,
  243. b) Accompany it with a written offer, valid for at least three
  244. years, to give any third party, for a charge no more than your
  245. cost of physically performing source distribution, a complete
  246. machine-readable copy of the corresponding source code, to be
  247. distributed under the terms of Sections 1 and 2 above on a medium
  248. customarily used for software interchange; or,
  249. c) Accompany it with the information you received as to the offer
  250. to distribute corresponding source code. (This alternative is
  251. allowed only for noncommercial distribution and only if you
  252. received the program in object code or executable form with such
  253. an offer, in accord with Subsection b above.)
  254. The source code for a work means the preferred form of the work for
  255. making modifications to it. For an executable work, complete source
  256. code means all the source code for all modules it contains, plus any
  257. associated interface definition files, plus the scripts used to
  258. control compilation and installation of the executable. However, as a
  259. special exception, the source code distributed need not include
  260. anything that is normally distributed (in either source or binary
  261. form) with the major components (compiler, kernel, and so on) of the
  262. operating system on which the executable runs, unless that component
  263. itself accompanies the executable.
  264. If distribution of executable or object code is made by offering
  265. access to copy from a designated place, then offering equivalent
  266. access to copy the source code from the same place counts as
  267. distribution of the source code, even though third parties are not
  268. compelled to copy the source along with the object code.
  269. 4. You may not copy, modify, sublicense, or distribute the Program
  270. except as expressly provided under this License. Any attempt
  271. otherwise to copy, modify, sublicense or distribute the Program is
  272. void, and will automatically terminate your rights under this License.
  273. However, parties who have received copies, or rights, from you under
  274. this License will not have their licenses terminated so long as such
  275. parties remain in full compliance.
  276. 5. You are not required to accept this License, since you have not
  277. signed it. However, nothing else grants you permission to modify or
  278. distribute the Program or its derivative works. These actions are
  279. prohibited by law if you do not accept this License. Therefore, by
  280. modifying or distributing the Program (or any work based on the
  281. Program), you indicate your acceptance of this License to do so, and
  282. all its terms and conditions for copying, distributing or modifying
  283. the Program or works based on it.
  284. 6. Each time you redistribute the Program (or any work based on the
  285. Program), the recipient automatically receives a license from the
  286. original licensor to copy, distribute or modify the Program subject to
  287. these terms and conditions. You may not impose any further
  288. restrictions on the recipients\' exercise of the rights granted herein.
  289. You are not responsible for enforcing compliance by third parties to
  290. this License.
  291. 7. If, as a consequence of a court judgment or allegation of patent
  292. infringement or for any other reason (not limited to patent issues),
  293. conditions are imposed on you (whether by court order, agreement or
  294. otherwise) that contradict the conditions of this License, they do not
  295. excuse you from the conditions of this License. If you cannot
  296. distribute so as to satisfy simultaneously your obligations under this
  297. License and any other pertinent obligations, then as a consequence you
  298. may not distribute the Program at all. For example, if a patent
  299. license would not permit royalty-free redistribution of the Program by
  300. all those who receive copies directly or indirectly through you, then
  301. the only way you could satisfy both it and this License would be to
  302. refrain entirely from distribution of the Program.
  303. If any portion of this section is held invalid or unenforceable under
  304. any particular circumstance, the balance of the section is intended to
  305. apply and the section as a whole is intended to apply in other
  306. circumstances.
  307. It is not the purpose of this section to induce you to infringe any
  308. patents or other property right claims or to contest validity of any
  309. such claims; this section has the sole purpose of protecting the
  310. integrity of the free software distribution system, which is
  311. implemented by public license practices. Many people have made
  312. generous contributions to the wide range of software distributed
  313. through that system in reliance on consistent application of that
  314. system; it is up to the author/donor to decide if he or she is willing
  315. to distribute software through any other system and a licensee cannot
  316. impose that choice.
  317. This section is intended to make thoroughly clear what is believed to
  318. be a consequence of the rest of this License.
  319. 8. If the distribution and/or use of the Program is restricted in
  320. certain countries either by patents or by copyrighted interfaces, the
  321. original copyright holder who places the Program under this License
  322. may add an explicit geographical distribution limitation excluding
  323. those countries, so that distribution is permitted only in or among
  324. countries not thus excluded. In such case, this License incorporates
  325. the limitation as if written in the body of this License.
  326. 9. The Free Software Foundation may publish revised and/or new versions
  327. of the General Public License from time to time. Such new versions will
  328. be similar in spirit to the present version, but may differ in detail to
  329. address new problems or concerns.
  330. Each version is given a distinguishing version number. If the Program
  331. specifies a version number of this License which applies to it and "any
  332. later version", you have the option of following the terms and conditions
  333. either of that version or of any later version published by the Free
  334. Software Foundation. If the Program does not specify a version number of
  335. this License, you may choose any version ever published by the Free Software
  336. Foundation.
  337. 10. If you wish to incorporate parts of the Program into other free
  338. programs whose distribution conditions are different, write to the author
  339. to ask for permission. For software which is copyrighted by the Free
  340. Software Foundation, write to the Free Software Foundation; we sometimes
  341. make exceptions for this. Our decision will be guided by the two goals
  342. of preserving the free status of all derivatives of our free software and
  343. of promoting the sharing and reuse of software generally.
  344. NO WARRANTY
  345. -----------
  346. 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  347. FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
  348. OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  349. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  350. OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  351. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
  352. TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
  353. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  354. REPAIR OR CORRECTION.
  355. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  356. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  357. REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  358. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  359. OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  360. TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  361. YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  362. PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  363. POSSIBILITY OF SUCH DAMAGES.
  364. ---------------------------
  365. END OF TERMS AND CONDITIONS',
  366. 'readme' => '--------------------
  367. AdminTools
  368. --------------------
  369. Author: Sergey Shlokov <sergant210{at}bk.ru>
  370. --------------------
  371. A basic Extra for MODx Revolution Administrators.
  372. Feel free to suggest ideas/improvements/bugs on GitHub:
  373. http://github.com/sergant210/AdminTools/issues',
  374. 'chunks' =>
  375. array (
  376. 'tpl.login.form' => '<div id="container">
  377. <div id="modx-login-logo">
  378. <!--[if gte IE 9]><!--><img src="/manager/templates/default/images/modx-logo-color.svg" alt="MODX CMS/CMF"><!--<![endif]-->
  379. <!--[if lt IE 9]><img alt="MODX CMS/CMF" src="/manager/templates/default/images/modx-logo-color.png" /><![endif]-->
  380. </div>
  381. <div class="modx-form" id="modx-login-panel">
  382. <div class="panel-title">
  383. <h2>[[++site_name]]</h2>
  384. </div>
  385. <div id="errormsg">[[+errormsg]]</div>
  386. <div class="panel-body">
  387. <form method="post" action="" id="manager-login-form">
  388. <div class="login-form-item">
  389. <div class="login-form-element">
  390. <input type="text" placeholder="[[%admintools_username_email]]" class="form-text" name="userdata" id="userdata" autocomplete="on">
  391. </div>
  392. </div>
  393. <div class="form-action">
  394. <button id="send-email-btn" value="1" type="button" class="primary-button login-form-btn">[[%admintools_send_authorization_link]]</button>
  395. </div>
  396. </form>
  397. </div>
  398. </div>
  399. </div>',
  400. 'tpl.lockScreen' => '<!DOCTYPE html>
  401. <html lang="[[+lang]]">
  402. <head>
  403. <meta charset="UTF-8">
  404. <title>[[+title]]</title>
  405. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  406. <style>
  407. .lockscreen {
  408. background-image: url([[+assets_url]]components/admintools/images/lockscreen.jpg);
  409. }
  410. @media only screen and (max-width : 767px) {
  411. .lockscreen {
  412. background-image: url([[+assets_url]]components/admintools/images/lockscreen800.jpg);
  413. }
  414. }
  415. @media only screen and (min-width : 768px) and (max-width: 1223px) {
  416. .lockscreen {
  417. background-image: url([[+assets_url]]components/admintools/images/lockscreen1280.jpg);
  418. }
  419. }
  420. .lockscreen .container {
  421. background-color: rgba(255,255,255,0.1);
  422. margin: 5% auto 0;
  423. padding: 20px;
  424. text-align: center;
  425. width: 250px;
  426. }
  427. .lockscreen .form-element {
  428. box-sizing: border-box;
  429. font-size: 14px;
  430. margin: 5px 0;
  431. padding: 6px 12px;
  432. width: 220px;
  433. }
  434. .lockscreen .username {
  435. font-size: 20px;
  436. color: #fff;
  437. padding: 10px;
  438. }
  439. .lockscreen input {
  440. border: 1px solid transparent;
  441. }
  442. .lockscreen input:focus {
  443. border-color: #45a2ec;
  444. outline: 0;
  445. }
  446. .lockscreen .btn {
  447. display: inline-block;
  448. color: #fff;
  449. background-color: #3697CD;
  450. font-weight: bold;
  451. line-height: 1.6;
  452. text-align: center;
  453. vertical-align: middle;
  454. cursor: pointer;
  455. border: 1px solid #3CA4DE;
  456. }
  457. .btn:hover {
  458. color: #fff;
  459. background-color: #286090;
  460. border-color: #1e4c74;
  461. }
  462. </style>
  463. </head>
  464. <body class="lockscreen">
  465. <div class="container">
  466. <div class="photo"><img src="[[+photo]]" alt="avatar" onsubmit="return false;"></div>
  467. <div class="username">[[+username]]</div>
  468. <form name="unlockform" action="[[+form_action]]" method="POST">
  469. <div>
  470. <input id="unlock_code" class="form-element" type="password" name="unlock_code" placeholder="[[+input_placeholder]]" required>
  471. </div>
  472. <div>
  473. <button class="form-element btn submit-btn">[[%admintools_unlock]]</button>
  474. </div>
  475. </form>
  476. </div>
  477. <script>
  478. document.forms[0].addEventListener("submit", function(event) {
  479. event.preventDefault();
  480. let body = "admintools_action=unlock&action=mgr/system/unlock&unlock_code=" + encodeURIComponent(unlock_code.value) + "&HTTP_MODAUTH=[[+auth]]";
  481. let xhr = new XMLHttpRequest();
  482. xhr.open(this.getAttribute(\'method\'), this.getAttribute(\'action\'), true);
  483. xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
  484. xhr.setRequestHeader(\'Content-Type\', \'application/x-www-form-urlencoded\');
  485. xhr.onreadystatechange = function() {
  486. if (this.readyState == 4 && this.status == 200) {
  487. document.location.reload();
  488. }
  489. };
  490. xhr.send(body);
  491. });
  492. </script>
  493. </body>
  494. </html>',
  495. ),
  496. 'setup-options' => 'admintools-1.15.0-pl/setup-options.php',
  497. ),
  498. 'manifest-vehicles' =>
  499. array (
  500. 0 =>
  501. array (
  502. 'vehicle_package' => 'transport',
  503. 'vehicle_class' => 'xPDOObjectVehicle',
  504. 'class' => 'modNamespace',
  505. 'guid' => 'dda63cdbbed4cbff4695a74c47d557fb',
  506. 'native_key' => 'admintools',
  507. 'filename' => 'modNamespace/e6dc1e30ab57d4f7766f0071eea80f97.vehicle',
  508. 'namespace' => 'admintools',
  509. ),
  510. 1 =>
  511. array (
  512. 'vehicle_package' => 'transport',
  513. 'vehicle_class' => 'xPDOObjectVehicle',
  514. 'class' => 'modSystemSetting',
  515. 'guid' => 'a5f9a563ade2ec0293e5c2dd38f2868b',
  516. 'native_key' => 'admintools_favorites_icon',
  517. 'filename' => 'modSystemSetting/64f88b4819e8eb30e2fd0ed11fca07d9.vehicle',
  518. 'namespace' => 'admintools',
  519. ),
  520. 2 =>
  521. array (
  522. 'vehicle_package' => 'transport',
  523. 'vehicle_class' => 'xPDOObjectVehicle',
  524. 'class' => 'modSystemSetting',
  525. 'guid' => 'a618a6d934404345438cf7c8d01c2103',
  526. 'native_key' => 'admintools_check_elements_permissions',
  527. 'filename' => 'modSystemSetting/6b9ad7e784011cad564b462214090988.vehicle',
  528. 'namespace' => 'admintools',
  529. ),
  530. 3 =>
  531. array (
  532. 'vehicle_package' => 'transport',
  533. 'vehicle_class' => 'xPDOObjectVehicle',
  534. 'class' => 'modSystemSetting',
  535. 'guid' => 'bf1336ba9133b163654bf3073bb8fd24',
  536. 'native_key' => 'admintools_remember_system_settings',
  537. 'filename' => 'modSystemSetting/957fc52352f59130282f41dbd2ba2c26.vehicle',
  538. 'namespace' => 'admintools',
  539. ),
  540. 4 =>
  541. array (
  542. 'vehicle_package' => 'transport',
  543. 'vehicle_class' => 'xPDOObjectVehicle',
  544. 'class' => 'modSystemSetting',
  545. 'guid' => '58270fdf89d05073dff56c01f2cc05e6',
  546. 'native_key' => 'admintools_enable_elements_log',
  547. 'filename' => 'modSystemSetting/8a81b106acb90c7744f3e2e71b8faf13.vehicle',
  548. 'namespace' => 'admintools',
  549. ),
  550. 5 =>
  551. array (
  552. 'vehicle_package' => 'transport',
  553. 'vehicle_class' => 'xPDOObjectVehicle',
  554. 'class' => 'modSystemSetting',
  555. 'guid' => '572e1a7ff32834be4211c39078b0a125',
  556. 'native_key' => 'admintools_enable_favorite_elements',
  557. 'filename' => 'modSystemSetting/2176f9c16b552dabab7c8efdda86f456.vehicle',
  558. 'namespace' => 'admintools',
  559. ),
  560. 6 =>
  561. array (
  562. 'vehicle_package' => 'transport',
  563. 'vehicle_class' => 'xPDOObjectVehicle',
  564. 'class' => 'modSystemSetting',
  565. 'guid' => '4fa6f68463f7cbefafeaa2f870fa68d4',
  566. 'native_key' => 'admintools_clear_only_resource_cache',
  567. 'filename' => 'modSystemSetting/f08557a41fbec0d867d4cd2b0acf38f3.vehicle',
  568. 'namespace' => 'admintools',
  569. ),
  570. 7 =>
  571. array (
  572. 'vehicle_package' => 'transport',
  573. 'vehicle_class' => 'xPDOObjectVehicle',
  574. 'class' => 'modSystemSetting',
  575. 'guid' => 'dea2857433503340c5fc2b2e97efa3e4',
  576. 'native_key' => 'admintools_hide_component_description',
  577. 'filename' => 'modSystemSetting/63a49fa06625bf01f1ea14b2bd74e4d0.vehicle',
  578. 'namespace' => 'admintools',
  579. ),
  580. 8 =>
  581. array (
  582. 'vehicle_package' => 'transport',
  583. 'vehicle_class' => 'xPDOObjectVehicle',
  584. 'class' => 'modSystemSetting',
  585. 'guid' => 'fda695d4ef0a0ad1ce4f363a032dedb7',
  586. 'native_key' => 'admintools_email_authorization',
  587. 'filename' => 'modSystemSetting/0f15e18385893ae81cc2449a09ad909d.vehicle',
  588. 'namespace' => 'admintools',
  589. ),
  590. 9 =>
  591. array (
  592. 'vehicle_package' => 'transport',
  593. 'vehicle_class' => 'xPDOObjectVehicle',
  594. 'class' => 'modSystemSetting',
  595. 'guid' => '3ea4f846bf78a3f92fe54fb57ad4fa22',
  596. 'native_key' => 'admintools_authorization_ttl',
  597. 'filename' => 'modSystemSetting/932694542ebe0a75c7fa7a969abfa385.vehicle',
  598. 'namespace' => 'admintools',
  599. ),
  600. 10 =>
  601. array (
  602. 'vehicle_package' => 'transport',
  603. 'vehicle_class' => 'xPDOObjectVehicle',
  604. 'class' => 'modSystemSetting',
  605. 'guid' => 'b31dcad34bf881ca973c4136c63f17c1',
  606. 'native_key' => 'admintools_loginform_resource',
  607. 'filename' => 'modSystemSetting/806e736faefc5dcec36dec1187dcce89.vehicle',
  608. 'namespace' => 'admintools',
  609. ),
  610. 11 =>
  611. array (
  612. 'vehicle_package' => 'transport',
  613. 'vehicle_class' => 'xPDOObjectVehicle',
  614. 'class' => 'modSystemSetting',
  615. 'guid' => 'b792d6db788963ce004f2c800226f67d',
  616. 'native_key' => 'admintools_enable_notes',
  617. 'filename' => 'modSystemSetting/46ddaf35c29ea039ca92c4d139098e1d.vehicle',
  618. 'namespace' => 'admintools',
  619. ),
  620. 12 =>
  621. array (
  622. 'vehicle_package' => 'transport',
  623. 'vehicle_class' => 'xPDOObjectVehicle',
  624. 'class' => 'modSystemSetting',
  625. 'guid' => '29251a3a4b60312657ed42e259642ab2',
  626. 'native_key' => 'admintools_template_resource_relationship',
  627. 'filename' => 'modSystemSetting/4cd793368cb37af379df8ba113c19258.vehicle',
  628. 'namespace' => 'admintools',
  629. ),
  630. 13 =>
  631. array (
  632. 'vehicle_package' => 'transport',
  633. 'vehicle_class' => 'xPDOObjectVehicle',
  634. 'class' => 'modSystemSetting',
  635. 'guid' => '7144e0c59c2eb5d8f8de9a5a906431d2',
  636. 'native_key' => 'admintools_animate_menu',
  637. 'filename' => 'modSystemSetting/eece8aad8b3e7193e6559a6d0d435fed.vehicle',
  638. 'namespace' => 'admintools',
  639. ),
  640. 14 =>
  641. array (
  642. 'vehicle_package' => 'transport',
  643. 'vehicle_class' => 'xPDOObjectVehicle',
  644. 'class' => 'modSystemSetting',
  645. 'guid' => 'd63e9b30bc1667c504f596df3891e59b',
  646. 'native_key' => 'admintools_alternative_permissions',
  647. 'filename' => 'modSystemSetting/b28ddee5c1d99dd14f64d4b94f2fde5c.vehicle',
  648. 'namespace' => 'admintools',
  649. ),
  650. 15 =>
  651. array (
  652. 'vehicle_package' => 'transport',
  653. 'vehicle_class' => 'xPDOObjectVehicle',
  654. 'class' => 'modSystemSetting',
  655. 'guid' => '3a5c171bb6b8d85b0047347d302c2637',
  656. 'native_key' => 'admintools_plugins_events',
  657. 'filename' => 'modSystemSetting/a084e1e2889ddf32827d0bccf6980112.vehicle',
  658. 'namespace' => 'admintools',
  659. ),
  660. 16 =>
  661. array (
  662. 'vehicle_package' => 'transport',
  663. 'vehicle_class' => 'xPDOObjectVehicle',
  664. 'class' => 'modSystemSetting',
  665. 'guid' => '53a757ec696f09ee49ffcf0ca5c024e6',
  666. 'native_key' => 'admintools_theme',
  667. 'filename' => 'modSystemSetting/735cbed13ce0308025f1dbe062465d10.vehicle',
  668. 'namespace' => 'admintools',
  669. ),
  670. 17 =>
  671. array (
  672. 'vehicle_package' => 'transport',
  673. 'vehicle_class' => 'xPDOObjectVehicle',
  674. 'class' => 'modSystemSetting',
  675. 'guid' => 'e72da78048214c0377139c46d53c9583',
  676. 'native_key' => 'admintools_modx_tree_position',
  677. 'filename' => 'modSystemSetting/202f132f6e70b79ceacf8140bf4552f5.vehicle',
  678. 'namespace' => 'admintools',
  679. ),
  680. 18 =>
  681. array (
  682. 'vehicle_package' => 'transport',
  683. 'vehicle_class' => 'xPDOObjectVehicle',
  684. 'class' => 'modSystemSetting',
  685. 'guid' => 'e779eaefae6fbdd8660213d0ee43192c',
  686. 'native_key' => 'admintools_custom_css',
  687. 'filename' => 'modSystemSetting/8012bce996bc37cd461ab81bad26f2ea.vehicle',
  688. 'namespace' => 'admintools',
  689. ),
  690. 19 =>
  691. array (
  692. 'vehicle_package' => 'transport',
  693. 'vehicle_class' => 'xPDOObjectVehicle',
  694. 'class' => 'modSystemSetting',
  695. 'guid' => '2b24c06f7b0b5883553d3bb664a43aae',
  696. 'native_key' => 'admintools_custom_js',
  697. 'filename' => 'modSystemSetting/df32cdd2002957f50c922c08c24aef5c.vehicle',
  698. 'namespace' => 'admintools',
  699. ),
  700. 20 =>
  701. array (
  702. 'vehicle_package' => 'transport',
  703. 'vehicle_class' => 'xPDOObjectVehicle',
  704. 'class' => 'modSystemSetting',
  705. 'guid' => '093ff575f55da22a8fcdd5ae0f2d9d44',
  706. 'native_key' => 'admintools_package_actions',
  707. 'filename' => 'modSystemSetting/df2256b386c2e095db630aed5a218eb6.vehicle',
  708. 'namespace' => 'admintools',
  709. ),
  710. 21 =>
  711. array (
  712. 'vehicle_package' => 'transport',
  713. 'vehicle_class' => 'xPDOObjectVehicle',
  714. 'class' => 'modSystemSetting',
  715. 'guid' => 'ece54ce9ced8376a04ea182d8136ac03',
  716. 'native_key' => 'admintools_only_current_context_user',
  717. 'filename' => 'modSystemSetting/53c73c0913197348448d308f6619e30a.vehicle',
  718. 'namespace' => 'admintools',
  719. ),
  720. 22 =>
  721. array (
  722. 'vehicle_package' => 'transport',
  723. 'vehicle_class' => 'xPDOObjectVehicle',
  724. 'class' => 'modSystemSetting',
  725. 'guid' => '8a1b4e24031426cafd8c1525fbd007c0',
  726. 'native_key' => 'admintools_show_lockmenu',
  727. 'filename' => 'modSystemSetting/9a1624889640e6fb6502acf05b07b8fc.vehicle',
  728. 'namespace' => 'admintools',
  729. ),
  730. 23 =>
  731. array (
  732. 'vehicle_package' => 'transport',
  733. 'vehicle_class' => 'xPDOObjectVehicle',
  734. 'class' => 'modSystemSetting',
  735. 'guid' => '10e3075bb215a6a930e7d65f58b34a33',
  736. 'native_key' => 'admintools_lock_timeout',
  737. 'filename' => 'modSystemSetting/19f8104f62f3ec82427ea0e2dd2f701e.vehicle',
  738. 'namespace' => 'admintools',
  739. ),
  740. 24 =>
  741. array (
  742. 'vehicle_package' => 'transport',
  743. 'vehicle_class' => 'xPDOObjectVehicle',
  744. 'class' => 'modSystemSetting',
  745. 'guid' => 'c6649dc73ed4a6c4561ea20bc4d4ae32',
  746. 'native_key' => 'admintools_unlock_code',
  747. 'filename' => 'modSystemSetting/52c45dc112994d0151fe1519a579d43f.vehicle',
  748. 'namespace' => 'admintools',
  749. ),
  750. 25 =>
  751. array (
  752. 'vehicle_package' => 'transport',
  753. 'vehicle_class' => 'xPDOObjectVehicle',
  754. 'class' => 'modCategory',
  755. 'guid' => '8443df6f409f7ba15cd9ba00f5de02dc',
  756. 'native_key' => NULL,
  757. 'filename' => 'modCategory/fca90f1b6bc10bd8291a5311541b378b.vehicle',
  758. 'namespace' => 'admintools',
  759. ),
  760. ),
  761. );