PageRenderTime 48ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 1ms

/AdminTools/config/plugin.config.xml

https://github.com/TitanKing/todoplugins
XML | 203 lines | 114 code | 12 blank | 77 comment | 0 complexity | dd86bb654f9f80226ee601092684bacd MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0, LGPL-2.1, LGPL-3.0
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2. <!--
  3. What changes to addapt in database.
  4. @TODO: Add option PHPDevShell_resize_adaptive_dimension
  5. @TODO: Add indexes in alias and multiple other fields.
  6. -->
  7. <!-- Please see http://phpdevshell.org for documentation on plugin config xml files. -->
  8. <!-- Download DummyPlugin from http://phpdevshell.org for a detailed example plugin. -->
  9. <!-- This plugin does not contain all the values needed for a normal plugin. -->
  10. <config type="plugin">
  11. <!-- Use a proper plugin name without using special characters. -->
  12. <name>PHPDevShell</name>
  13. <!-- Human readable version number of your plugin. -->
  14. <version>4.0.0-Stable</version>
  15. <!-- a Short description of your plugin. -->
  16. <description>PHPDevShell, allows you to administer core functions of PHPDevShell using a UI.</description>
  17. <!-- If the plugin/script is modification by you, place the original authors names here. -->
  18. <founder>Jason Schoeman</founder>
  19. <!-- Name of the developer for this plugin. -->
  20. <author>Jason Schoeman</author>
  21. <!-- Email address of the developer for this plugin. -->
  22. <email>titan@phpdevshell.org</email>
  23. <!-- Plugin developers web address. -->
  24. <homepage>http://www.phpdevshell.org</homepage>
  25. <!-- Date the plugin was developed, modified etc, this is up to you. -->
  26. <date>09 May 2012</date>
  27. <!-- Copyright notice you would like to amend to your plugin. -->
  28. <copyright>Copyright (c) 2010 PHPDevShell.org All rights reserved.</copyright>
  29. <!-- License this plugin is released under. -->
  30. <license>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html GNU/LGPL</license>
  31. <!-- Detailed information and help for this plugin. -->
  32. <info>
  33. <![CDATA[
  34. Thank you for using PHPDevShell for your application development.<br>
  35. Think of us when your ship comes sailing in :)<br>
  36. Visit http://www.phpdevshell.org to get information on using PHPDevShell.
  37. ]]>
  38. </info>
  39. <!-- Code Version XML URL check. -->
  40. <!-- Version (current) below is used to check for new releases and has little to do with database version. -->
  41. <versionurl current="314">http://version.phpdevshell.org/PHPDevShell.xml</versionurl>
  42. <!-- Version here represents the database version that should be install. -->
  43. <!-- If your database version needs no update, this number can stay the same. -->
  44. <!-- Upgrades further down will only be executed up to this number. -->
  45. <install version="3140">
  46. <nodes>
  47. <!--
  48. [contains][Node items can be contained in itself, this will create a node tree.]
  49. [param][nodeid][string/id][not-mandatory][The id to identify this node by, if none is provided, a dedicated id will be generated.]
  50. [param][name][string][not-mandatory][The name of the node item, if empty the node.lang.php will be used.]
  51. [param][type][int][not-mandatory][There are 8 node types, 1 is the default if left empty.]
  52. [1][Plugin script] normal plugin node item in your plugin folder.
  53. [2][Link existing node] item while staying in its own node group when clicked.
  54. [3][Link existing node] item while jumping to original scripts node group when clicked.
  55. [4][External file] Include external PHP web applications into PHPDevShell.
  56. [5][HTTP URL] Normal url to outside web.
  57. [6][Empty Place Holder] This item will only serve as a unclickable node place holder.
  58. [7][iFrame] Link url to both external url or onsite url.
  59. [8][Cronjob Node Type] The same as a plugin script but is set as cronjob.
  60. [9][HTML Ajax Widget] Use widgets to load module inside an existing page, it is usually called with a metod. a Calendar would be a widget.
  61. [10][HTML Ajax] When wanting to reuse ajax over multiple nodes, create an Ajax call with this node type.
  62. [11][HTML Ajax Lightbox] Floats overtop of web page like a fancy popup effect while darkening the background web page.
  63. [12][RAW Ajax] For raw ajax controller calls (json,xml,text etc), wont add any html or styling.
  64. [param][link][string][mandatory][The url, script location or symlink holder will be entered here depending on type.]
  65. [param][hide][int][not-mandatory][There are 4 hide types, 0 is the default if left empty.]
  66. [0] Do not hide node item.
  67. [1] Hide node item from both Node System and Control Panel.
  68. [2] Hide node item from Control Panel only.
  69. [3] Hide node item from Node System only.
  70. [4] Hide node item when inactive only.
  71. [param][rank][string][not-mandatory][If you want to ensure ranking positions, will auto rank if left empty.]
  72. [int] Can be ranked with integer.
  73. [last] Will be ranked last in a node group.
  74. [first] Will be ranked first in a node group.
  75. [param][newwindow][int][not-mandatory][To make item open in new window set to 1, will not open in new if left empty.]
  76. [param][plugin][string][not-mandatory][Plugin name, use to install node item to a different plugins node structure.]
  77. [param][alias][string][not-mandatory][When switching on friendly urls in the settings and renaming rename.htaccess in the root, sef url will use this alias.]
  78. [param][parentlink][string][not-mandatory][Use with [param][plugin] or without to install in different structure.]
  79. [param][symlink][string][not-mandatory][Url or location with [param][plugin] or without to link to another node item duplicating its use.]
  80. [note][Symlink is mandatory for node types 1,2,6]
  81. [param][template][string][not-mandatory][Set template to use with plugin, if template is unavailable it will be installed.]
  82. [param][height][string][not-mandatory][Set the height of an iframe node type.]
  83. [param][layout][string][not-mandatory][Set a custom template.tpl location for a certain script.]
  84. [note][Height is mandatory for node types 7]
  85. [param][noautopermission][int][not-mandatory][Set to 1 to not add the installer of the plugin to permit node item access.]
  86. [param][param][string][not-mandatory][Param field can be used to store additional data in the node for customization purposes.]
  87. -->
  88. <node name="Readme" link="user/readme.php" rank="1" />
  89. <node name="Register Account" link="user/register.php" noautopermission="1" rank="2" />
  90. <node name="Lost Password" link="user/lost-password.php" noautopermission="1" rank="3" />
  91. <node name="Log In|Out" link="user/login-page.php" rank="4" alias="login" />
  92. <node name="Contact Admin" link="user/email-admin.php" rank="5" />
  93. <node name="User Preferences" link="user/edit-preferences.php" rank="6">
  94. <node name="New Password" link="user/new-password.php" noautopermission="1" rank="1" />
  95. </node>
  96. <node name="Dashboard" link="user/control-panel.php" hide="1" rank="7" alias="cp" />
  97. <node name="Finish Registration" link="user/register-finalize.php" hide="1" noautopermission="1" rank="8" />
  98. <node name="System Management" link="user/control-panel.system-admin" type="2" symlink="user/control-panel.php" rank="10">
  99. <node name="System Status" link="system-admin/admin.php.link" type="2" hide="2" symlink="system-admin/admin.php" rank="1">
  100. <node name="System Info" link="system-admin/admin.php" rank="1" />
  101. <node name="System Logs" link="logs-admin/system-logs.php" rank="2" />
  102. <node name="Access Logs" link="logs-admin/node-access-logs.php" rank="3" />
  103. <node name="Upload Logs" link="logs-admin/fileupload-logs.php" rank="4" />
  104. <node name="File Log Viewer" link="logs-admin/file-log-viewer.php" rank="5" />
  105. </node>
  106. <node name="System Admin" link="system-admin/general-settings.php.link" type="2" hide="2" symlink="system-admin/general-settings.php" rank="2">
  107. <node name="System Settings" link="system-admin/general-settings.php" rank="1" />
  108. <node name="Config Manager" link="system-admin/config-manager.php" rank="2" />
  109. <node name="Plugins Admin" link="plugin-admin/plugin-activation.php" rank="3" />
  110. <node name="Class Registry" link="plugin-admin/class-registry.php" rank="4" />
  111. <node name="Theme Admin" link="template-admin/template-admin-list.php" rank="5" />
  112. </node>
  113. <node name="Cronjob Admin" link="cron-admin/cronjob-admin-list.php.link" type="2" hide="2" symlink="cron-admin/cronjob-admin-list.php" rank="3">
  114. <node name="Manage Cronjobs" link="cron-admin/cronjob-admin-list.php" rank="1" />
  115. <node name="Edit Cronjob" link="cron-admin/cronjob-admin.php" hide="4" rank="2" />
  116. <node name="System Cronjob" link="cron-admin/run-cron.php" hide="1" rank="3" />
  117. <node name="Trim Logs" link="cron/trim-logs.php" type="8" hide="1" rank="4" />
  118. <node name="Repair Database" link="cron/repair-database.php" type="8" hide="1" rank="5" />
  119. <node name="Optimize Database" link="cron/optimize-database.php" type="8" hide="1" rank="6" />
  120. </node>
  121. <node name="Node Admin" link="node-admin/node-item-admin-list.php.link" type="2" hide="2" symlink="node-admin/node-item-admin-list.php" rank="5">
  122. <node name="Manage Nodes" link="node-admin/node-item-admin-list.php" rank="1" />
  123. <node name="New Node" link="node-admin/node-item-admin.php" rank="2" />
  124. <node name="Edit Node" link="node-admin/node-item-admin.link" type="2" hide="4" symlink="node-admin/node-item-admin.php" rank="3" />
  125. <node name="Access Control" link="node-admin/node-item-admin-permissions.link" type="2" symlink="node-admin/node-item-admin-permissions.php" rank="4" />
  126. </node>
  127. <node name="Policy Admin" link="user/control-panel.user-control" type="2" symlink="user/control-panel.php" rank="6">
  128. <node name="Access Control" link="node-admin/node-item-admin-permissions.php" rank="1" />
  129. <node name="User Admin" link="user-admin/user-admin-list.php.link" type="2" hide="2" symlink="user-admin/user-admin-list.php" rank="2">
  130. <node name="Manage Users" link="user-admin/user-admin-list.php" rank="1" />
  131. <node name="New User" link="user-admin/user-admin.php" rank="2" />
  132. <node name="Edit User" link="user-admin/user-admin.link" type="2" hide="4" symlink="user-admin/user-admin.php" rank="3" />
  133. <node name="Pending Users" link="user-admin/user-admin-pending.php" rank="4" />
  134. <node name="Import Users" link="user-admin/user-admin-import.php" rank="5" />
  135. </node>
  136. <node name="Role Admin" link="user-admin/user-role-admin-list.php.link" type="2" hide="2" symlink="user-admin/user-role-admin-list.php" rank="3">
  137. <node name="Manage Roles" link="user-admin/user-role-admin-list.php" rank="1" />
  138. <node name="New Role" link="user-admin/user-role-admin.php" rank="2" />
  139. <node name="Edit Role" link="user-admin/user-role-admin.link" type="2" hide="4" symlink="user-admin/user-role-admin.php" rank="3" />
  140. </node>
  141. <node name="Group Admin" link="user-admin/user-group-admin-list.php.link" type="2" hide="2" symlink="user-admin/user-group-admin-list.php" rank="4">
  142. <node name="Manage Groups" link="user-admin/user-group-admin-list.php" rank="1" />
  143. <node name="New Group" link="user-admin/user-group-admin.php" rank="2" />
  144. <node name="Edit Group" link="user-admin/user-group-admin.link" type="2" hide="4" symlink="user-admin/user-group-admin.php" rank="3" />
  145. </node>
  146. <node name="Token Admin" link="registration-token-admin/registration-token-admin-list.php.link" type="2" hide="2" symlink="registration-token-admin/registration-token-admin-list.php" rank="5">
  147. <node name="Manage Tokens" link="registration-token-admin/registration-token-admin-list.php" rank="1" />
  148. <node name="New Token" link="registration-token-admin/registration-token-admin.php" rank="2" />
  149. <node name="Edit Token" link="registration-token-admin/registration-token-admin.link" type="2" hide="4" symlink="registration-token-admin/registration-token-admin.php" rank="3" />
  150. <node name="Email Token" link="registration-token-admin/email-token.php" hide="4" rank="4" />
  151. </node>
  152. <node name="Manage Tags" link="tagger-admin/tagger-admin.php" rank="6" />
  153. </node>
  154. </node>
  155. </nodes>
  156. <dependencies>
  157. <dependence class="controlPanel" plugin="ControlPanel" />
  158. <dependence class="views" plugin="Smarty" />
  159. <dependence class="fileManager" plugin="FileMan" />
  160. <dependence class="imaging" plugin="PHPThumbs" />
  161. <dependence class="mailer" plugin="PHPMailer" />
  162. <dependence class="wysiwygEditor" plugin="TinyMCE" />
  163. <dependence class="pagination" plugin="Pagination" />
  164. <dependence class="crud" plugin="CRUD" />
  165. <dependence class="botBlock" plugin="BotBlock" />
  166. <!-- <dependence class="someOtherCall" plugin="Smarty" /> -->
  167. </dependencies>
  168. <!--
  169. [contains][Register classes to be publicly available and shared. There can be multiple classes of the same name in different plugins, they can overwrite each other by rank.]
  170. [note][Class name must be the same as what the file is called, groupTree.class.php and must be containded within includes folder.]
  171. [param][name][string][mandatory][The name of the class to be called by factory('groupTree') and the filename that contains the class groupTree.class.php]
  172. [param][alias][string][mandatory][Alternative callname for factory('PHPDS_groupTree'), will call same class though.]
  173. [param][plugin][string][mandatory][The plugin name/folder where the class belongs to.]
  174. [param][rank][mixed][not-mandatory][The lower in integer the rank the higher the chance is that this class will overwrite classes of the same names.]
  175. [int] Can be ranked with integer.
  176. [last] Will be ranked last and any preceding class will overwrite it.
  177. [first] Will be ranked first and will be overwriting lower ranked classes.
  178. -->
  179. <classes>
  180. <class name="groupTree" alias="PHPDS_groupTree" plugin="PHPDevShell" rank="last" />
  181. <class name="iana" alias="PHPDS_iana" plugin="PHPDevShell" rank="last" />
  182. <class name="nodeArray" alias="PHPDS_nodeArray" plugin="PHPDevShell" rank="last" />
  183. <class name="nodeStructure" alias="PHPDS_nodeStructure" plugin="PHPDevShell" rank="last" />
  184. <class name="pluginManager" alias="PHPDS_pluginManager" plugin="PHPDevShell" rank="last" />
  185. <class name="timeZone" alias="PHPDS_timeZone" plugin="PHPDevShell" rank="last" />
  186. <class name="userPending" alias="PHPDS_user_pending" plugin="PHPDevShell" rank="last" />
  187. </classes>
  188. </install>
  189. <uninstall>
  190. </uninstall>
  191. </config>