Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: contao/core
...
head fork: contao/core
Checking mergeability… Don't worry, you can still create the pull request.
  • 17 commits
  • 484 files changed
  • 0 commit comments
  • 1 contributor
Showing with 1,387 additions and 1,410 deletions.
  1. +3 −3 .htaccess.default
  2. +44 −0 CHANGELOG.md
  3. +4 −4 README.md
  4. +13 −13 contao/contao-uncompressed.js
  5. +1 −1  contao/contao.js
  6. +5 −5 contao/file.php
  7. +5 −5 contao/files.php
  8. +5 −5 contao/help.php
  9. +5 −5 contao/index.php
  10. +5 −5 contao/install.php
  11. +5 −5 contao/main.php
  12. +5 −5 contao/page.php
  13. +5 −5 contao/password.php
  14. +5 −5 contao/popup.php
  15. +5 −5 contao/preview.php
  16. +5 −5 contao/switch.php
  17. +5 −5 cron.php
  18. +5 −5 index.php
  19. +1 −1  plugins/stylect/css/stylect-uncompressed.css
  20. +1 −1  plugins/stylect/css/stylect.css
  21. +3 −3 plugins/stylect/js/stylect-uncompressed.js
  22. +1 −1  plugins/stylect/js/stylect.js
  23. +1 −1  plugins/tablesort/css/tablesort-uncompressed.css
  24. +1 −1  plugins/tablesort/css/tablesort.css
  25. +3 −3 plugins/tablesort/js/tablesort-uncompressed.js
  26. +1 −1  plugins/tablesort/js/tablesort.js
  27. +2 −2 plugins/tinyMCE/plugins/typolinks/editor_plugin.js
  28. +4 −4 plugins/tinyMCE/plugins/typolinks/editor_plugin_src.js
  29. +1 −1  plugins/tinyMCE/plugins/typolinks/js/typobox.js
  30. +3 −3 plugins/tinyMCE/plugins/typolinks/js/typobox_src.js
  31. +1 −1  plugins/tinyMCE/plugins/typolinks/js/typolinks.js
  32. +3 −3 plugins/tinyMCE/plugins/typolinks/js/typolinks_src.js
  33. +3 −3 plugins/tinyMCE/plugins/typolinks/typoimages.php
  34. +5 −5 plugins/tinyMCE/plugins/typolinks/typolib.php
  35. +3 −3 plugins/tinyMCE/plugins/typolinks/typolinks.php
  36. +3 −3 plugins/tinyMCE/plugins/typolinks/typotemplates.php
  37. +3 −3 share.php
  38. +3 −3 system/config/agents.php
  39. +3 −3 system/config/codeMirror.php
  40. +4 −4 system/config/config.php
  41. +3 −5 system/config/countries.php
  42. +3 −3 system/config/languages.php
  43. +3 −3 system/config/tcpdf.php
  44. +3 −3 system/config/timezones.php
  45. +3 −3 system/config/tinyFlash.php
  46. +3 −3 system/config/tinyMCE.php
  47. +3 −3 system/config/tinyNews.php
  48. +4 −4 system/constants.php
  49. +1 −1  system/contao.css
  50. +9 −9 system/drivers/DB_Mssql.php
  51. +9 −9 system/drivers/DB_Mysql.php
  52. +10 −10 system/drivers/DB_Mysqli.php
  53. +9 −9 system/drivers/DB_Oracle.php
  54. +9 −9 system/drivers/DB_Postgresql.php
  55. +9 −9 system/drivers/DB_Sybase.php
  56. +5 −5 system/drivers/DC_File.php
  57. +5 −5 system/drivers/DC_Folder.php
  58. +17 −17 system/drivers/DC_Table.php
  59. +3 −3 system/functions.php
  60. +3 −3 system/initialize.php
  61. +11 −11 system/interface.php
  62. +5 −5 system/libraries/Cache.php
  63. +5 −5 system/libraries/Combiner.php
  64. +5 −5 system/libraries/Config.php
  65. +5 −5 system/libraries/Controller.php
  66. +12 −12 system/libraries/Database.php
  67. +13 −7 system/libraries/Date.php
  68. +5 −5 system/libraries/Email.php
  69. +5 −5 system/libraries/Encryption.php
  70. +5 −5 system/libraries/Environment.php
  71. +5 −5 system/libraries/FTP.php
  72. +7 −7 system/libraries/Feed.php
  73. +5 −5 system/libraries/File.php
  74. +5 −5 system/libraries/FileCache.php
  75. +5 −5 system/libraries/Files.php
  76. +5 −5 system/libraries/Folder.php
  77. +5 −5 system/libraries/Input.php
  78. +5 −5 system/libraries/Model.php
  79. +6 −6 system/libraries/Request.php
  80. +5 −5 system/libraries/RequestToken.php
  81. +5 −5 system/libraries/Search.php
  82. +5 −5 system/libraries/Session.php
  83. +5 −5 system/libraries/String.php
  84. +7 −11 system/libraries/System.php
  85. +5 −5 system/libraries/Template.php
  86. +5 −5 system/libraries/User.php
  87. +25 −5 system/libraries/Widget.php
  88. +5 −5 system/libraries/ZipReader.php
  89. +5 −5 system/libraries/ZipWriter.php
  90. +3 −3 system/mbstring.php
  91. +5 −5 system/modules/backend/Ajax.php
  92. +5 −5 system/modules/backend/Automator.php
  93. +5 −5 system/modules/backend/Backend.php
  94. +5 −5 system/modules/backend/BackendModule.php
  95. +5 −5 system/modules/backend/BackendTemplate.php
  96. +5 −5 system/modules/backend/BackendUser.php
  97. +5 −5 system/modules/backend/CheckBox.php
  98. +5 −5 system/modules/backend/CheckBoxWizard.php
  99. +5 −5 system/modules/backend/ChmodTable.php
  100. +5 −5 system/modules/backend/DataContainer.php
  101. +5 −5 system/modules/backend/DbInstaller.php
  102. +5 −5 system/modules/backend/FileTree.php
  103. +14 −5 system/modules/backend/FileUpload.php
  104. +5 −5 system/modules/backend/ImageSize.php
  105. +5 −5 system/modules/backend/InputUnit.php
  106. +5 −5 system/modules/backend/KeyValueWizard.php
  107. +5 −5 system/modules/backend/ListWizard.php
  108. +5 −5 system/modules/backend/LiveUpdate.php
  109. +5 −5 system/modules/backend/Messages.php
  110. +5 −5 system/modules/backend/ModuleMaintenance.php
  111. +5 −5 system/modules/backend/ModuleUser.php
  112. +5 −5 system/modules/backend/ModuleWizard.php
  113. +5 −5 system/modules/backend/OptionWizard.php
  114. +5 −5 system/modules/backend/PageTree.php
  115. +5 −5 system/modules/backend/Password.php
  116. +5 −5 system/modules/backend/PurgeData.php
  117. +5 −5 system/modules/backend/RadioButton.php
  118. +5 −5 system/modules/backend/RadioTable.php
  119. +5 −5 system/modules/backend/RebuildIndex.php
  120. +5 −5 system/modules/backend/SelectMenu.php
  121. +26 −122 system/modules/backend/StyleSheets.php
  122. +5 −5 system/modules/backend/TableWizard.php
  123. +5 −5 system/modules/backend/TextArea.php
  124. +5 −5 system/modules/backend/TextField.php
  125. +5 −5 system/modules/backend/TextStore.php
  126. +5 −5 system/modules/backend/Theme.php
  127. +5 −5 system/modules/backend/TimePeriod.php
  128. +5 −5 system/modules/backend/TrblField.php
  129. +3 −3 system/modules/backend/config/config.php
  130. +5 −5 system/modules/backend/dca/tl_article.php
  131. +5 −5 system/modules/backend/dca/tl_content.php
  132. +5 −5 system/modules/backend/dca/tl_files.php
  133. +5 −5 system/modules/backend/dca/tl_form.php
  134. +5 −5 system/modules/backend/dca/tl_form_field.php
  135. +5 −5 system/modules/backend/dca/tl_layout.php
  136. +5 −5 system/modules/backend/dca/tl_log.php
  137. +5 −5 system/modules/backend/dca/tl_member.php
  138. +5 −5 system/modules/backend/dca/tl_member_group.php
  139. +5 −5 system/modules/backend/dca/tl_module.php
  140. +6 −5 system/modules/backend/dca/tl_page.php
  141. +5 −5 system/modules/backend/dca/tl_settings.php
  142. +5 −5 system/modules/backend/dca/tl_style.php
  143. +5 −5 system/modules/backend/dca/tl_style_sheet.php
  144. +5 −5 system/modules/backend/dca/tl_theme.php
  145. +5 −5 system/modules/backend/dca/tl_undo.php
  146. +5 −5 system/modules/backend/dca/tl_user.php
  147. +5 −5 system/modules/backend/dca/tl_user_group.php
  148. +3 −5 system/modules/backend/languages/de/countries.php
  149. +13 −12 system/modules/backend/languages/de/default.php
  150. +4 −4 system/modules/backend/languages/de/explain.php
  151. +3 −3 system/modules/backend/languages/de/languages.php
  152. +3 −3 system/modules/backend/languages/de/modules.php
  153. +3 −3 system/modules/backend/languages/de/tl_article.php
  154. +3 −3 system/modules/backend/languages/de/tl_content.php
  155. +3 −3 system/modules/backend/languages/de/tl_files.php
  156. +3 −3 system/modules/backend/languages/de/tl_form.php
  157. +3 −3 system/modules/backend/languages/de/tl_form_field.php
  158. +3 −3 system/modules/backend/languages/de/tl_install.php
  159. +3 −3 system/modules/backend/languages/de/tl_layout.php
  160. +3 −3 system/modules/backend/languages/de/tl_log.php
  161. +3 −3 system/modules/backend/languages/de/tl_maintenance.php
  162. +3 −3 system/modules/backend/languages/de/tl_member.php
  163. +3 −3 system/modules/backend/languages/de/tl_member_group.php
  164. +3 −3 system/modules/backend/languages/de/tl_module.php
  165. +3 −3 system/modules/backend/languages/de/tl_page.php
  166. +3 −3 system/modules/backend/languages/de/tl_settings.php
  167. +3 −3 system/modules/backend/languages/de/tl_style.php
  168. +3 −3 system/modules/backend/languages/de/tl_style_sheet.php
  169. +3 −3 system/modules/backend/languages/de/tl_theme.php
  170. +3 −3 system/modules/backend/languages/de/tl_undo.php
  171. +3 −3 system/modules/backend/languages/de/tl_user.php
  172. +3 −3 system/modules/backend/languages/de/tl_user_group.php
  173. +3 −5 system/modules/backend/languages/en/countries.php
  174. +13 −12 system/modules/backend/languages/en/default.php
  175. +4 −4 system/modules/backend/languages/en/explain.php
  176. +3 −3 system/modules/backend/languages/en/languages.php
  177. +3 −3 system/modules/backend/languages/en/modules.php
  178. +3 −3 system/modules/backend/languages/en/tl_article.php
  179. +3 −3 system/modules/backend/languages/en/tl_content.php
  180. +3 −3 system/modules/backend/languages/en/tl_files.php
  181. +3 −3 system/modules/backend/languages/en/tl_form.php
  182. +3 −3 system/modules/backend/languages/en/tl_form_field.php
  183. +3 −3 system/modules/backend/languages/en/tl_install.php
  184. +3 −3 system/modules/backend/languages/en/tl_layout.php
  185. +3 −3 system/modules/backend/languages/en/tl_log.php
  186. +3 −3 system/modules/backend/languages/en/tl_maintenance.php
  187. +3 −3 system/modules/backend/languages/en/tl_member.php
  188. +3 −3 system/modules/backend/languages/en/tl_member_group.php
  189. +3 −3 system/modules/backend/languages/en/tl_module.php
  190. +3 −3 system/modules/backend/languages/en/tl_page.php
  191. +3 −3 system/modules/backend/languages/en/tl_settings.php
  192. +3 −3 system/modules/backend/languages/en/tl_style.php
  193. +3 −3 system/modules/backend/languages/en/tl_style_sheet.php
  194. +3 −3 system/modules/backend/languages/en/tl_theme.php
  195. +3 −3 system/modules/backend/languages/en/tl_undo.php
  196. +3 −3 system/modules/backend/languages/en/tl_user.php
  197. +3 −3 system/modules/backend/languages/en/tl_user_group.php
  198. +1 −1  system/modules/backend/templates/be_error.html5
  199. +1 −1  system/modules/backend/templates/be_login.html5
  200. +1 −1  system/modules/backend/templates/be_main.html5
  201. +2 −2 system/modules/backend/templates/be_navigation.html5
  202. +1 −1  system/modules/backend/templates/be_referer.html5
  203. +5 −5 system/modules/calendar/Calendar.php
  204. +5 −5 system/modules/calendar/Events.php
  205. +5 −5 system/modules/calendar/ModuleCalendar.php
  206. +5 −5 system/modules/calendar/ModuleEventMenu.php
  207. +5 −5 system/modules/calendar/ModuleEventReader.php
  208. +5 −5 system/modules/calendar/ModuleEventlist.php
  209. +3 −3 system/modules/calendar/config/config.php
  210. +6 −5 system/modules/calendar/dca/tl_calendar.php
  211. +6 −6 system/modules/calendar/dca/tl_calendar_events.php
  212. +5 −5 system/modules/calendar/dca/tl_module.php
  213. +3 −3 system/modules/calendar/dca/tl_user.php
  214. +3 −3 system/modules/calendar/dca/tl_user_group.php
  215. +3 −3 system/modules/calendar/languages/de/default.php
  216. +3 −3 system/modules/calendar/languages/de/modules.php
  217. +3 −3 system/modules/calendar/languages/de/tl_calendar.php
  218. +3 −3 system/modules/calendar/languages/de/tl_calendar_events.php
  219. +3 −3 system/modules/calendar/languages/de/tl_module.php
  220. +3 −3 system/modules/calendar/languages/de/tl_user.php
  221. +3 −3 system/modules/calendar/languages/de/tl_user_group.php
  222. +3 −3 system/modules/calendar/languages/en/default.php
  223. +3 −3 system/modules/calendar/languages/en/modules.php
  224. +3 −3 system/modules/calendar/languages/en/tl_calendar.php
  225. +3 −3 system/modules/calendar/languages/en/tl_calendar_events.php
  226. +3 −3 system/modules/calendar/languages/en/tl_module.php
  227. +3 −3 system/modules/calendar/languages/en/tl_user.php
  228. +3 −3 system/modules/calendar/languages/en/tl_user_group.php
  229. +5 −5 system/modules/comments/Comments.php
  230. +5 −5 system/modules/comments/ContentComments.php
  231. +5 −5 system/modules/comments/ModuleComments.php
  232. +3 −3 system/modules/comments/config/config.php
  233. +5 −5 system/modules/comments/dca/tl_comments.php
  234. +5 −5 system/modules/comments/dca/tl_content.php
  235. +5 −5 system/modules/comments/dca/tl_module.php
  236. +1 −1  system/modules/comments/html/style.css
  237. +3 −3 system/modules/comments/languages/de/modules.php
  238. +3 −3 system/modules/comments/languages/de/tl_comments.php
  239. +3 −3 system/modules/comments/languages/de/tl_content.php
  240. +3 −3 system/modules/comments/languages/de/tl_module.php
  241. +3 −3 system/modules/comments/languages/en/modules.php
  242. +3 −3 system/modules/comments/languages/en/tl_comments.php
  243. +3 −3 system/modules/comments/languages/en/tl_content.php
  244. +3 −3 system/modules/comments/languages/en/tl_module.php
  245. +5 −5 system/modules/faq/ModuleFaq.php
  246. +5 −5 system/modules/faq/ModuleFaqList.php
  247. +5 −5 system/modules/faq/ModuleFaqPage.php
  248. +5 −5 system/modules/faq/ModuleFaqReader.php
  249. +3 −3 system/modules/faq/config/config.php
  250. +6 −6 system/modules/faq/dca/tl_faq.php
  251. +5 −5 system/modules/faq/dca/tl_faq_category.php
  252. +5 −5 system/modules/faq/dca/tl_module.php
  253. +3 −3 system/modules/faq/dca/tl_user.php
  254. +3 −3 system/modules/faq/dca/tl_user_group.php
  255. +3 −3 system/modules/faq/languages/de/default.php
  256. +3 −3 system/modules/faq/languages/de/modules.php
  257. +3 −3 system/modules/faq/languages/de/tl_faq.php
  258. +3 −3 system/modules/faq/languages/de/tl_faq_category.php
  259. +3 −3 system/modules/faq/languages/de/tl_module.php
  260. +3 −3 system/modules/faq/languages/de/tl_user.php
  261. +3 −3 system/modules/faq/languages/de/tl_user_group.php
  262. +3 −3 system/modules/faq/languages/en/default.php
  263. +3 −3 system/modules/faq/languages/en/modules.php
  264. +3 −3 system/modules/faq/languages/en/tl_faq.php
  265. +3 −3 system/modules/faq/languages/en/tl_faq_category.php
  266. +3 −3 system/modules/faq/languages/en/tl_module.php
  267. +3 −3 system/modules/faq/languages/en/tl_user.php
  268. +3 −3 system/modules/faq/languages/en/tl_user_group.php
  269. +5 −5 system/modules/frontend/ContentAccordion.php
  270. +5 −5 system/modules/frontend/ContentAlias.php
  271. +5 −5 system/modules/frontend/ContentArticle.php
  272. +6 −6 system/modules/frontend/ContentCode.php
  273. +5 −5 system/modules/frontend/ContentDownload.php
  274. +5 −5 system/modules/frontend/ContentDownloads.php
  275. +5 −5 system/modules/frontend/ContentElement.php
  276. +5 −5 system/modules/frontend/ContentGallery.php
  277. +5 −5 system/modules/frontend/ContentHeadline.php
  278. +5 −5 system/modules/frontend/ContentHtml.php
  279. +5 −5 system/modules/frontend/ContentHyperlink.php
  280. +5 −5 system/modules/frontend/ContentImage.php
  281. +5 −5 system/modules/frontend/ContentList.php
  282. +5 −5 system/modules/frontend/ContentModule.php
  283. +5 −5 system/modules/frontend/ContentTable.php
  284. +5 −5 system/modules/frontend/ContentTeaser.php
  285. +5 −5 system/modules/frontend/ContentText.php
  286. +5 −5 system/modules/frontend/ContentToplink.php
  287. +5 −5 system/modules/frontend/Form.php
  288. +5 −5 system/modules/frontend/FormCaptcha.php
  289. +5 −5 system/modules/frontend/FormCheckBox.php
  290. +5 −5 system/modules/frontend/FormExplanation.php
  291. +5 −5 system/modules/frontend/FormFieldset.php
  292. +5 −5 system/modules/frontend/FormFileUpload.php
  293. +5 −5 system/modules/frontend/FormHeadline.php
  294. +5 −5 system/modules/frontend/FormHidden.php
  295. +5 −5 system/modules/frontend/FormHtml.php
  296. +5 −5 system/modules/frontend/FormPassword.php
  297. +5 −5 system/modules/frontend/FormRadioButton.php
  298. +5 −5 system/modules/frontend/FormSelectMenu.php
  299. +5 −5 system/modules/frontend/FormSubmit.php
  300. +5 −5 system/modules/frontend/FormTextArea.php
Sorry, we could not display the entire diff because too many files (484) changed.
View
6 .htaccess.default
@@ -1,6 +1,6 @@
##
# Contao Open Source CMS
-# Copyright (C) 2005-2012 Leo Feyer
+# Copyright (C) 2005-2013 Leo Feyer
#
# Formerly known as TYPOlight Open Source CMS.
#
@@ -19,8 +19,8 @@
# Software Foundation website at <http://www.gnu.org/licenses/>.
#
# PHP version 5
-# @copyright Leo Feyer 2005-2012
-# @author Leo Feyer <http://www.contao.org>
+# @copyright Leo Feyer 2005-2013
+# @author Leo Feyer <https://contao.org>
# @license LGPL
##
View
44 CHANGELOG.md
@@ -1,6 +1,50 @@
Contao Open Source CMS Changelog
================================
+Version 2.11.8 (2013-01-07)
+---------------------------
+
+### Fixed
+Make sure entered dates map to an existing date (see #5086).
+
+### Fixed
+Fixed the MySQLi field count (see #5182).
+
+### Fixed
+The Date class should return `00:00` for `Date(0)->time` (see #4249).
+
+### Reverted
+Handle dependencies when updating extensions (see #3804).
+
+### Fixed
+Fixed the unprefixed CSS gradient output (see #4569).
+
+### Fixed
+Fixed a small formatting issue in the Music Academy theme (see #5160).
+
+### Fixed
+Show all extensions in the log when updating multiple at once (see #5144).
+
+### Fixed
+Standardize RSS feed aliases (see #5096).
+
+### Fixed
+Make the `FileUpload` constructor public (see #5054).
+
+### Fixed
+Use `isset()` in the `Database::fetch*()` methods (see #4990).
+
+### Fixed
+Changed the `System::getReadableSize()` algorithm to powers of two (see #4283).
+
+### Fixed
+Removed Tahiti and the Netherlands Antilles from the countries list (see #3791).
+
+### Fixed
+Also adjust the `be_navigation.html5` template to the new "getUserNavigation"
+hook changes (see #3411).
+
+
Version 2.11.7 (2012-11-29)
---------------------------
View
8 README.md
@@ -14,7 +14,7 @@ modern CSS framework and many already integrated modules (news, calendar, forms,
etc.) have quickly made Contao one of the most popular open source content
management systems on the market.
-Visit the project website at http://www.contao.org.
+Visit the project website at https://contao.org.
System requirements
@@ -50,6 +50,6 @@ a few examples:
Troubleshooting
---------------
-If you are having problems installing or using Contao, please visit the
-project website at http://www.contao.org/support.html and read the user's
-guide or post your question in the Contao forum.
+If you are having problems installing or using Contao, please visit the project
+website at https://contao.org/support.html and read the user's guide or post
+your question in the Contao forum.
View
26 contao/contao-uncompressed.js
@@ -1,6 +1,6 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -19,8 +19,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
* @license LGPL
* @filesource
@@ -31,8 +31,8 @@
* Class Request.Contao
*
* Extend the basic Request.JSON class.
- * @copyright Leo Feyer 2011-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
*/
Request.Contao = new Class(
@@ -91,8 +91,8 @@ Request.Mixed = Request.Contao;
* Class AjaxRequest
*
* Provide methods to handle Ajax requests.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
*/
var AjaxRequest =
@@ -739,8 +739,8 @@ var AjaxRequest =
* Class Backend
*
* Provide methods to handle back end tasks.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
*/
var Backend =
@@ -1583,8 +1583,8 @@ window.addEvent('load', function() {
* Class ContextMenu
*
* Provide methods to handle context menus
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
*/
var ContextMenu =
@@ -1668,8 +1668,8 @@ window.addEvent('structure', function() {
* Class TinyCallback
*
* Provide callback functions for TinyMCE.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
*/
var TinyCallback =
View
2  contao/contao.js
@@ -1,2 +1,2 @@
-/* Contao Open Source CMS :: Copyright (C) 2005-2012 Leo Feyer :: LGPL license */
+/* Contao Open Source CMS :: Copyright (C) 2005-2013 Leo Feyer :: LGPL license */
Request.Contao=new Class({Extends:Request.JSON,options:{url:window.location.href},initialize:function(e){if(e)try{this.options.url=e.field.getParent("form").getAttribute("action")}catch(t){}this.parent(e)},success:function(e){var t;try{t=this.response.json=JSON.decode(e,this.options.secure)}catch(n){t={content:e}}t==null&&(t={content:""}),t.content!=""&&(t.content=t.content.stripScripts(function(e){t.javascript=e.replace(/<!--|\/\/-->|<!\[CDATA\[\/\/>|<!\]\]>/g,"")}),t.javascript&&this.options.evalScripts&&$exec(t.javascript)),this.onSuccess(t.content,t)}}),Request.Mixed=Request.Contao;var AjaxRequest={toggleNavigation:function(e,t){e.blur();var n=$(t),r=$(e).getFirst("img");return n?(n.getStyle("display")=="none"?(n.setStyle("display","inline"),r.src=r.src.replace("modPlus.gif","modMinus.gif"),$(e).title=CONTAO_COLLAPSE,(new Request.Contao).post({action:"toggleNavigation",id:t,state:1,REQUEST_TOKEN:REQUEST_TOKEN})):(n.setStyle("display","none"),r.src=r.src.replace("modMinus.gif","modPlus.gif"),$(e).title=CONTAO_EXPAND,(new Request.Contao).post({action:"toggleNavigation",id:t,state:0,REQUEST_TOKEN:REQUEST_TOKEN})),!1):((new Request.Contao({evalScripts:!0,onRequest:AjaxRequest.displayBox(CONTAO_LOADING+" …"),onSuccess:function(i,s){n=(new Element("li",{id:t,"class":"tl_parent",html:i,styles:{display:"inline"}})).inject($(e).getParent("li"),"after"),$(e).title=CONTAO_COLLAPSE,r.src=r.src.replace("modPlus.gif","modMinus.gif"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadNavigation",id:t,state:1,REQUEST_TOKEN:REQUEST_TOKEN}),!1)},toggleStructure:function(e,t,n,r){e.blur();var i=$(t),s=$(e).getFirst("img");return i?(i.getStyle("display")=="none"?(i.setStyle("display","inline"),s.src=s.src.replace("folPlus.gif","folMinus.gif"),$(e).title=CONTAO_COLLAPSE,(new Request.Contao({field:e})).post({action:"toggleStructure",id:t,state:1,REQUEST_TOKEN:REQUEST_TOKEN})):(i.setStyle("display","none"),s.src=s.src.replace("folMinus.gif","folPlus.gif"),$(e).title=CONTAO_EXPAND,(new Request.Contao({field:e})).post({action:"toggleStructure",id:t,state:0,REQUEST_TOKEN:REQUEST_TOKEN})),!1):((new Request.Contao({field:e,evalScripts:!0,onRequest:AjaxRequest.displayBox(CONTAO_LOADING+" …"),onSuccess:function(i,o){var u=new Element("li",{id:t,"class":"parent",styles:{display:"inline"}}),a=(new Element("ul",{"class":"level_"+n,html:i})).inject(u,"bottom");if(r==5)u.inject($(e).getParent("li"),"after");else{var f=!1,l=$(e).getParent("li");while(typeOf(l)=="element"&&(next=l.getNext("li"))){l=next;if(l.hasClass("tl_folder")){f=!0;break}}f?u.inject(l,"before"):u.inject(l,"after")}$(e).title=CONTAO_COLLAPSE,s.src=s.src.replace("folPlus.gif","folMinus.gif"),window.fireEvent("structure"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadStructure",id:t,level:n,state:1,REQUEST_TOKEN:REQUEST_TOKEN}),!1)},toggleFileManager:function(e,t,n,r){e.blur();var i=$(t),s=$(e).getFirst("img"),o=$(e).getNext("img");return i?(i.getStyle("display")=="none"?(i.setStyle("display","inline"),s.src=s.src.replace("folPlus.gif","folMinus.gif"),o.src=o.src.replace("folderC","folderO"),$(e).title=CONTAO_COLLAPSE,(new Request.Contao({field:e})).post({action:"toggleFileManager",id:t,state:1,REQUEST_TOKEN:REQUEST_TOKEN})):(i.setStyle("display","none"),s.src=s.src.replace("folMinus.gif","folPlus.gif"),o.src=o.src.replace("folderO","folderC"),$(e).title=CONTAO_EXPAND,(new Request.Contao({field:e})).post({action:"toggleFileManager",id:t,state:0,REQUEST_TOKEN:REQUEST_TOKEN})),!1):((new Request.Contao({field:e,evalScripts:!0,onRequest:AjaxRequest.displayBox(CONTAO_LOADING+" …"),onSuccess:function(n,i){var u=new Element("li",{id:t,"class":"parent",styles:{display:"inline"}}),a=(new Element("ul",{"class":"level_"+r,html:n})).inject(u,"bottom");u.inject($(e).getParent("li"),"after"),$(e).title=CONTAO_COLLAPSE,s.src=s.src.replace("folPlus.gif","folMinus.gif"),o.src=o.src.replace("folderC.gif","folderO.gif"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadFileManager",id:t,level:r,folder:n,state:1,REQUEST_TOKEN:REQUEST_TOKEN}),!1)},togglePagetree:function(e,t,n,r,i){e.blur();var s=$(t),o=$(e).getFirst("img");return s?(s.getStyle("display")=="none"?(s.setStyle("display","inline"),o.src=o.src.replace("folPlus.gif","folMinus.gif"),$(e).title=CONTAO_COLLAPSE,(new Request.Contao({field:e})).post({action:"togglePagetree",id:t,state:1,REQUEST_TOKEN:REQUEST_TOKEN})):(s.setStyle("display","none"),o.src=o.src.replace("folMinus.gif","folPlus.gif"),$(e).title=CONTAO_EXPAND,(new Request.Contao({field:e})).post({action:"togglePagetree",id:t,state:0,REQUEST_TOKEN:REQUEST_TOKEN})),!1):((new Request.Contao({field:e,evalScripts:!0,onRequest:AjaxRequest.displayBox(CONTAO_LOADING+" …"),onSuccess:function(n,r){var s=new Element("li",{id:t,"class":"parent",styles:{display:"inline"}}),u=(new Element("ul",{"class":"level_"+i,html:n})).inject(s,"bottom");s.inject($(e).getParent("li"),"after"),$(e).title=CONTAO_COLLAPSE,o.src=o.src.replace("folPlus.gif","folMinus.gif"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadPagetree",id:t,level:i,field:n,name:r,state:1,REQUEST_TOKEN:REQUEST_TOKEN}),!1)},toggleFiletree:function(e,t,n,r,i,s){e.blur();var o=$(t),u=$(e).getFirst("img");return o?(o.getStyle("display")=="none"?(o.setStyle("display","inline"),u.src=u.src.replace("folPlus.gif","folMinus.gif"),$(e).title=CONTAO_COLLAPSE,(new Request.Contao({field:e})).post({action:"toggleFiletree",id:t,state:1,REQUEST_TOKEN:REQUEST_TOKEN})):(o.setStyle("display","none"),u.src=u.src.replace("folMinus.gif","folPlus.gif"),$(e).title=CONTAO_EXPAND,(new Request.Contao({field:e})).post({action:"toggleFiletree",id:t,state:0,REQUEST_TOKEN:REQUEST_TOKEN})),!1):((new Request.Contao({field:e,evalScripts:!0,onRequest:AjaxRequest.displayBox(CONTAO_LOADING+" …"),onSuccess:function(n,r){var i=new Element("li",{id:t,"class":"parent",styles:{display:"inline"}}),o=(new Element("ul",{"class":"level_"+s,html:n})).inject(i,"bottom");i.inject($(e).getParent("li"),"after"),$(e).title=CONTAO_COLLAPSE,u.src=u.src.replace("folPlus.gif","folMinus.gif"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadFiletree",id:t,level:s,folder:n,field:r,name:i,state:1,REQUEST_TOKEN:REQUEST_TOKEN}),!1)},reloadFiletrees:function(){$$(".filetree").each(function(e){var t=e.id,n=t.replace(/_[0-9]+$/,"");(new Request.Contao({evalScripts:!0,onRequest:AjaxRequest.displayBox(CONTAO_LOADING+" …"),onSuccess:function(t,n){var r=$(e.id+"_parent").getFirst("ul"),i=r.getLast("li");r.set("html",t),i.inject(r,"bottom"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadFiletree",field:n,name:t,REQUEST_TOKEN:REQUEST_TOKEN})})},toggleSubpalette:function(e,t,n){e.blur();var r=$(t);if(r){e.value?(e.value="",e.checked="",r.setStyle("display","none"),(new Request.Contao({field:e})).post({action:"toggleSubpalette",id:t,field:n,state:0,REQUEST_TOKEN:REQUEST_TOKEN})):(e.value=1,e.checked="checked",r.setStyle("display","block"),(new Request.Contao({field:e})).post({action:"toggleSubpalette",id:t,field:n,state:1,REQUEST_TOKEN:REQUEST_TOKEN}));return}(new Request.Contao({field:e,evalScripts:!1,onRequest:AjaxRequest.displayBox(CONTAO_LOADING+" …"),onSuccess:function(n,r){var i=(new Element("div",{id:t,html:n,styles:{display:"block"}})).inject($(e).getParent("div").getParent("div"),"after");r.javascript&&$exec(r.javascript),e.value=1,e.checked="checked",AjaxRequest.hideBox(),Backend.hideTreeBody(),Backend.addInteractiveHelp(),Backend.addColorPicker(),window.fireEvent("subpalette"),window.fireEvent("ajax_change")}})).post({action:"toggleSubpalette",id:t,field:n,load:1,state:1,REQUEST_TOKEN:REQUEST_TOKEN})},toggleVisibility:function(e,t,n){e.blur();var r=null,i=$(e).getFirst("img"),s=i.src.indexOf("invisible")!=-1,o=e.getParent("div");o.hasClass("tl_right")?r=o.getPrevious("div").getElement("img"):o.hasClass("tl_listing_container")?(r=e.getParent("td").getPrevious("td").getFirst("div.list_icon"),r==null&&(r=e.getParent("td").getPrevious("td").getElement("div.cte_type")),r==null&&(r=e.getParent("tr").getFirst("td").getElement("div.list_icon_new"))):(next=o.getNext("div"))&&next.hasClass("cte_type")&&(r=next);if(r!=null)if(r.nodeName.toLowerCase()=="img")if(r.getParent("ul.tl_listing").hasClass("tl_tree_xtnd"))s?r.src=r.src.replace(/_\.(gif|png|jpe?g)/,".$1"):r.src=r.src.replace(/\.(gif|png|jpe?g)/,"_.$1");else{r.src.match(/folPlus|folMinus/)&&(r.getParent("a").getNext("a")?r=r.getParent("a").getNext("a").getFirst("img"):r=new Element("img"));if(s){var u=r.src.replace(/.*_([0-9])\.(gif|png|jpe?g)/,"$1");r.src=r.src.replace(/_[0-9]\.(gif|png|jpe?g)/,(u.toInt()==1?"":"_"+(u.toInt()-1))+".$1")}else{var u=r.src.replace(/.*_([0-9])\.(gif|png|jpe?g)/,"$1");r.src=r.src.replace(/(_[0-9])?\.(gif|png|jpe?g)/,(u==r.src?"_1":"_"+(u.toInt()+1))+".$2")}}else r.hasClass("cte_type")?s?(r.addClass("published"),r.removeClass("unpublished")):(r.addClass("unpublished"),r.removeClass("published")):s?r.setStyle("background-image",r.getStyle("background-image").replace(/_\.(gif|png|jpe?g)/,".$1")):r.setStyle("background-image",r.getStyle("background-image").replace(/\.(gif|png|jpe?g)/,"_.$1"));return n=="tl_style"&&o.getParent("div").getElement("pre").toggleClass("disabled"),s?(i.src=i.src.replace("invisible.gif","visible.gif"),(new Request({url:window.location.href})).get({tid:t,state:1})):(i.src=i.src.replace("visible.gif","invisible.gif"),(new Request({url:window.location.href})).get({tid:t,state:0})),!1},toggleFeatured:function(e,t){e.blur();var n=$(e).getFirst("img"),r=n.src.indexOf("featured_")==-1;return r?(n.src=n.src.replace("featured.gif","featured_.gif"),(new Request.Contao).post({action:"toggleFeatured",id:t,state:0,REQUEST_TOKEN:REQUEST_TOKEN})):(n.src=n.src.replace("featured_.gif","featured.gif"),(new Request.Contao).post({action:"toggleFeatured",id:t,state:1,REQUEST_TOKEN:REQUEST_TOKEN})),!1},toggleFieldset:function(e,t,n){e.blur();var r=$("pal_"+t);return r.hasClass("collapsed")?(r.removeClass("collapsed"),(new Request.Contao).post({action:"toggleFieldset",id:t,table:n,state:1,REQUEST_TOKEN:REQUEST_TOKEN})):(r.addClass("collapsed"),(new Request.Contao).post({action:"toggleFieldset",id:t,table:n,state:0,REQUEST_TOKEN:REQUEST_TOKEN})),!1},toggleCheckboxGroup:function(e,t){e.blur();var n=$(t),r=$(e).getFirst("img");return n?(n.getStyle("display")!="block"?(n.setStyle("display","block"),r.src=r.src.replace("folPlus.gif","folMinus.gif"),(new Request.Contao).post({action:"toggleCheckboxGroup",id:t,state:1,REQUEST_TOKEN:REQUEST_TOKEN})):(n.setStyle("display","none"),r.src=r.src.replace("folMinus.gif","folPlus.gif"),(new Request.Contao).post({action:"toggleCheckboxGroup",id:t,state:0,REQUEST_TOKEN:REQUEST_TOKEN})),!0):!1},liveUpdate:function(e,t){var n=$(t);if(!n)return;(new Request.Contao({onRequest:$("lu_message").set("html",'<p class="tl_info">Connecting to the Live Update server</p>'),onSuccess:function(t,n){t?$("lu_message").set("html",n.content):$(e).submit()}})).post({action:"liveUpdate",id:n.value,REQUEST_TOKEN:REQUEST_TOKEN})},displayBox:function(e){var t=$("tl_ajaxBox"),n=$("tl_ajaxOverlay"),r=window.getScroll();n==null&&(n=(new Element("div",{id:"tl_ajaxOverlay"})).inject($(document.body),"bottom")),n.set({styles:{display:"block",top:r.y+"px"}}),t==null&&(t=(new Element("div",{id:"tl_ajaxBox"})).inject($(document.body),"bottom")),t.set({html:e,styles:{display:"block",top:r.y+18+"px"}})},hideBox:function(){var e=$("tl_ajaxBox"),t=$("tl_ajaxOverlay");t&&t.setStyle("display","none"),e&&e.setStyle("display","none")}},Backend={currentId:null,xMousePosition:0,yMousePosition:0,popupWindow:null,getMousePosition:function(e){Backend.xMousePosition=e.client.x,Backend.yMousePosition=e.client.y},openWindow:function(e,t,n){e.blur(),t=Browser.Engine.trident?t+40:t+17,n=Browser.Engine.trident?n+30:n+17,Backend.popupWindow=window.open(e.href,"","width="+t+",height="+n+",modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no")},getScrollOffset:function(){document.cookie="BE_PAGE_OFFSET="+window.getScroll().y+"; path=/"},autoSubmit:function(e){Backend.getScrollOffset();var t=new Element("input",{type:"hidden",name:"SUBMIT_TYPE",value:"auto"}),n=$(e);t.inject(n,"bottom"),n.submit()},vScrollTo:function(e){window.addEvent("load",function(){window.scrollTo(null,parseInt(e))})},showTreeBody:function(e,t){e.blur(),$(t).setStyle("display",$(e).checked?"inline":"none")},hideTreeBody:function(){var e=$$("ul"),t=null;for(var n=0;n<e.length;n++)e[n].hasClass("mandatory")?$("ctrl_"+e[n].id).checked="checked":e[n].hasClass("tl_listing")&&(t=e[n].getFirst("li").getNext("li"))&&t.hasClass("parent")&&t.setStyle("display","none")},limitPreviewHeight:function(){var e=null,t=null,n="",r=0;$$("div.limit_height").each(function(i){e=i.getCoordinates(),r==0&&(r=i.className.replace(/[^0-9]*/,"").toInt());if(!$chk(r))return;i.setStyle("height",r);var s=CONTAO_SCRIPT_URL+"system/themes/"+CONTAO_THEME+"/images/";t=new Element("img",{"class":"limit_toggler",alt:"",width:20,height:24});if(e.height<r){t.src=s+"expand_.gif",t.inject(i,"after");return}t.src=s+"expand.gif",t.setStyle("cursor","pointer"),t.addEvent("click",function(){n=this.getPrevious("div").getStyle("height").toInt(),this.getPrevious("div").setStyle("height",n>r?r:""),this.src=this.src.indexOf("expand.gif")!=-1?s+"collapse.gif":s+"expand.gif"}),t.inject(i,"after")})},toggleCheckboxes:function(e,t){var n=$$("input"),r=e.checked?"checked":"";for(var i=0;i<n.length;i++){if(n[i].type.toLowerCase()!="checkbox")continue;if(t&&n[i].id.substr(0,t.length)!=t)continue;n[i].checked=r}},toggleCheckboxGroup:function(e,t){var n=$(e).className,r=$(e).checked?"checked":"";if(n=="tl_checkbox"){var i=$(t)?$$("#"+t+" .tl_checkbox"):$(e).getParent("fieldset").getElements(".tl_checkbox");i.each(function(e){e.checked=r})}else n=="tl_tree_checkbox"&&$$("#"+t+" .parent .tl_tree_checkbox").each(function(e){e.checked=r});Backend.getScrollOffset()},toggleCheckboxElements:function(e,t){var n=$(e).checked?"checked":"";$$("."+t).each(function(e){e.hasClass("tl_checkbox")&&(e.checked=n)}),Backend.getScrollOffset()},toggleWrap:function(e){var t=$(e),n=t.getProperty("wrap")=="off"?"soft":"off";t.setProperty("wrap",n);if(!Browser.Engine.trident){var r=t.value,i=t.clone();i.setProperty("wrap",n),i.setProperty("id",$(e).getProperty("id")),i.value=r,i.replaces(t)}},blink:function(){var e=null;$$("img.blink").each(function(t){e==null&&(e=t.hasClass("opacity")),e?t.removeClass("opacity"):t.addClass("opacity")})},addColorPicker:function(){},pickPage:function(e){var t=320,n=112;Backend.currentId=e,Backend.ppValue=$(e).value,Backend.getScrollOffset(),window.open($$("base")[0].href+"contao/page.php?value="+Backend.ppValue,"","width="+t+",height="+n+",modal=yes,left="+(Backend.xMousePosition?Backend.xMousePosition-t/2:200)+",top="+(Backend.yMousePosition?Backend.yMousePosition-n/2+80:100)+",location=no,menubar=no,resizable=yes,scrollbars=no,status=no,toolbar=no")},pickFile:function(e,t){var n=320,r=112;Backend.currentId=e,Backend.ppValue=$(e).value,Backend.getScrollOffset(),window.open($$("base")[0].href+"contao/file.php?value="+Backend.ppValue+"&filter="+t,"","width="+n+",height="+r+",modal=yes,left="+(Backend.xMousePosition?Backend.xMousePosition-n/2:200)+",top="+(Backend.yMousePosition?Backend.yMousePosition-r/2+80:100)+",location=no,menubar=no,resizable=yes,scrollbars=no,status=no,toolbar=no")},collapsePalettes:function(e){$$("fieldset.hide").each(function(e){e.addClass("collapsed")}),$$("label.error","label.mandatory").each(function(e){(fs=e.getParent("fieldset"))&&fs.removeClass("collapsed")})},addInteractiveHelp:function(){$$("p.tl_tip").each(function(e){if(e.retrieve("complete"))return;e.addEvent("mouseover",function(){e.timo=setTimeout(function(){var t=e.getTop(),n=$("tl_helpBox");n||(n=(new Element("div",{id:"tl_helpBox"})).inject($(document.body),"after")),n.set({html:e.get("html"),styles:{display:"block",top:t+18+"px"}})},1e3)}),e.addEvent("mouseout",function(){var t=$("tl_helpBox");t&&t.setStyle("display","none"),clearTimeout(e.timo)}),e.store("complete",!0)})},makeParentViewSortable:function(e){var t=new Sortables(e,{contstrain:!0,opacity:.6});t.active=!1,t.addEvent("start",function(){t.active=!0}),t.addEvent("complete",function(e){if(!t.active)return;if(e.getPrevious("li")){var n=e.get("id").replace(/li_/,""),r=e.getPrevious("li").get("id").replace(/li_/,""),i=window.location.search.replace(/id=[0-9]*/,"id="+n)+"&act=cut&mode=1&pid="+r,s=window.location.href.replace(/\?.*$/,"");(new Request({url:s+i})).get()}else if(e.getParent("ul")){var n=e.get("id").replace(/li_/,""),r=e.getParent("ul").get("id").replace(/ul_/,""),i=window.location.search.replace(/id=[0-9]*/,"id="+n)+"&act=cut&mode=2&pid="+r,s=window.location.href.replace(/\?.*$/,"");(new Request({url:s+i})).get()}})},listWizard:function(e,t,n){var r=$(n),i=$(e).getParent("li"),s=r.getChildren();Backend.getScrollOffset();switch(t){case"copy":var o=i.clone(!0).inject(i,"before");if(input=i.getFirst("input"))o.getFirst("input").value=input.value;break;case"up":(previous=i.getPrevious("li"))?i.inject(previous,"before"):i.inject(r,"bottom");break;case"down":(next=i.getNext("li"))?i.inject(next,"after"):i.inject(r.getFirst("li"),"before");break;case"delete":s.length>1&&i.destroy()}rows=r.getChildren();var u=1;for(var a=0;a<rows.length;a++)(input=rows[a].getFirst('input[type="text"]'))&&input.set("tabindex",u++)},tableWizard:function(e,t,n){var r=$(n),i=r.getElement("tbody"),s=i.getChildren(),o=$(e).getParent("td"),u=o.getParent("tr"),a=u.getChildren(),f=0;for(var l=0;l<a.length;l++){if(a[l]==o)break;f++}Backend.getScrollOffset();switch(t){case"rcopy":var c=new Element("tr");for(var l=0;l<a.length;l++){var h=a[l].clone(!0).inject(c,"bottom");if(textarea=a[l].getFirst("textarea"))h.getFirst("textarea").value=textarea.value}c.inject(u,"after");break;case"rup":var p=u.getPrevious("tr");p.getPrevious("tr")?u.inject(p,"before"):u.inject(i,"bottom");break;case"rdown":(h=u.getNext("tr"))?u.inject(h,"after"):u.inject(i.getFirst("tr").getNext("tr"),"before");break;case"rdelete":s.length>2&&u.destroy();break;case"ccopy":for(var l=0;l<s.length;l++){var d=s[l].getChildren()[f],h=d.clone(!0).inject(d,"after");if(textarea=d.getFirst("textarea"))h.getFirst("textarea").value=textarea.value}break;case"cmovel":if(f>0)for(var l=0;l<s.length;l++){var d=s[l].getChildren()[f];d.inject(d.getPrevious(),"before")}else for(var l=0;l<s.length;l++){var d=s[l].getChildren()[f];d.inject(s[l].getLast(),"before")}break;case"cmover":if(f<a.length-2)for(var l=0;l<s.length;l++){var d=s[l].getChildren()[f];d.inject(d.getNext(),"after")}else for(var l=0;l<s.length;l++){var d=s[l].getChildren()[f];d.inject(s[l].getFirst(),"before")}break;case"cdelete":if(a.length>2)for(var l=0;l<s.length;l++)s[l].getChildren()[f].destroy()}s=i.getChildren();var v=1;for(var l=0;l<s.length;l++){var m=s[l].getChildren();for(var g=0;g<m.length;g++)if(textarea=m[g].getFirst("textarea"))textarea.set("tabindex",v++),textarea.name=textarea.name.replace(/\[[0-9]+\][[0-9]+\]/ig,"["+(l-1)+"]["+g+"]")}Backend.tableWizardResize()},tableWizardResize:function(e){var t=Cookie.read("BE_CELL_SIZE");if(t==null&&e==null)return;if(e!=null){var t="";$$(".tl_tablewizard textarea").each(function(n){n.setStyle("width",(n.getStyle("width").toInt()*e).round().limit(142,284)),n.setStyle("height",(n.getStyle("height").toInt()*e).round().limit(66,132)),t==""&&(t=n.getStyle("width")+"|"+n.getStyle("height"))}),Cookie.write("BE_CELL_SIZE",t)}else if(t!=null){var n=t.split("|");$$(".tl_tablewizard textarea").each(function(e){e.setStyle("width",n[0]),e.setStyle("height",n[1])})}},moduleWizard:function(e,t,n){var r=$(n),i=r.getElement("tbody"),s=$(e).getParent("tr"),o=i.getChildren();Backend.getScrollOffset();switch(t){case"copy":var u=new Element("tr"),a=s.getChildren();for(var f=0;f<a.length;f++){var l=a[f].clone(!0).inject(u,"bottom");if(select=a[f].getFirst("select"))l.getFirst("select").value=select.value}u.inject(s,"after"),u.getElement(".chzn-container").destroy(),new Chosen(u.getElement("select.tl_select")),Stylect.convertSelects();break;case"up":(u=s.getPrevious("tr"))?s.inject(u,"before"):s.inject(i,"bottom");break;case"down":(u=s.getNext("tr"))?s.inject(u,"after"):s.inject(i,"top");break;case"delete":o.length>1&&s.destroy()}o=i.getChildren();var c=1;for(var f=0;f<o.length;f++){var a=o[f].getChildren();for(var h=0;h<a.length;h++)if(select=a[h].getFirst("select"))select.set("tabindex",c++),select.name=select.name.replace(/\[[0-9]+\]/ig,"["+f+"]")}},optionsWizard:function(e,t,n){var r=$(n),i=r.getElement("tbody"),s=$(e).getParent("tr"),o=i.getChildren();Backend.getScrollOffset();switch(t){case"copy":var u=new Element("tr"),a=s.getChildren();for(var f=0;f<a.length;f++){var l=a[f].clone(!0).inject(u,"bottom");if(input=a[f].getFirst("input"))l.getFirst("input").value=input.value,input.type=="checkbox"&&(l.getFirst("input").checked=input.checked?"checked":"")}u.inject(s,"after");break;case"up":(u=s.getPrevious("tr"))?s.inject(u,"before"):s.inject(i,"bottom");break;case"down":(u=s.getNext("tr"))?s.inject(u,"after"):s.inject(i,"top");break;case"delete":o.length>1&&s.destroy()}o=i.getChildren();var c=["value","label","default"],h=1;for(var f=0;f<o.length;f++){var a=o[f].getChildren();for(var p=0;p<a.length;p++)if(input=a[p].getFirst("input"))input.set("tabindex",h++),input.name=input.name.replace(/\[[0-9]+\]/g,"["+f+"]"),input.type=="checkbox"&&(input.id=input.name.replace(/\[[0-9]+\]/g,"").replace(/\[/g,"_").replace(/\]/g,"")+"_"+f,input.getNext("label").set("for",input.id))}},keyValueWizard:function(e,t,n){var r=$(n),i=r.getElement("tbody"),s=$(e).getParent("tr"),o=i.getChildren();Backend.getScrollOffset();switch(t){case"copy":var u=new Element("tr"),a=s.getChildren();for(var f=0;f<a.length;f++){var l=a[f].clone(!0).inject(u,"bottom");if(input=a[f].getFirst("input"))l.getFirst().value=input.value}u.inject(s,"after");break;case"up":(u=s.getPrevious("tr"))?s.inject(u,"before"):s.inject(i,"bottom");break;case"down":(u=s.getNext("tr"))?s.inject(u,"after"):s.inject(i,"top");break;case"delete":o.length>1&&s.destroy()}o=i.getChildren();var c=["key","value"],h=1;for(var f=0;f<o.length;f++){var a=o[f].getChildren();for(var p=0;p<a.length;p++)if(input=first=a[p].getFirst("input"))input.set("tabindex",h++),input.name=input.name.replace(/\[[0-9]+\]/g,"["+f+"]")}},checkboxWizard:function(e,t,n){var r=$(n),i=$(e).getParent("span");Backend.getScrollOffset();switch(t){case"up":(span=i.getPrevious("span"))&&!span.hasClass("fixed")?i.inject(span,"before"):i.inject(r,"bottom");break;case"down":(span=i.getNext("span"))?i.inject(span,"after"):(all=r.getFirst("span.fixed"))&&i.inject(all,"after")}},updateModuleLink:function(e){var t=e.getParent("td").getNext("td"),n=t.getElement("a.module_link");n.href=n.href.replace(/id=[0-9]+/,"id="+e.value),e.value>0?(t.getElement("a.module_link").setStyle("display","inline"),t.getElement("img.module_image").setStyle("display","none")):(t.getElement("a.module_link").setStyle("display","none"),t.getElement("img.module_image").setStyle("display","inline"))}};document.addEvent("mousedown",function(e){Backend.getMousePosition(e)}),window.addEvent("domready",function(){Elements.chosen!=undefined&&$$("select.tl_chosen").chosen(),Backend.hideTreeBody(),Backend.blink.periodical(600),$$("textarea.monospace").each(function(e){Backend.toggleWrap(e)}),Backend.collapsePalettes(),Backend.addInteractiveHelp(),Backend.addColorPicker()}),window.addEvent("load",function(){Backend.limitPreviewHeight()});var ContextMenu={initialize:function(){$$("a.edit-header").each(function(e){e.addClass("invisible")}),$$("a.contextmenu").each(function(e){var t=e.getNext("a");if(!t||!t.hasClass("edit-header"))return;e.addEvent("contextmenu",function(n){n.preventDefault(),ContextMenu.show(e,t,n)})}),$(document.body).addEvent("click",function(){ContextMenu.hide()})},show:function(e,t,n){ContextMenu.hide();var r=e.getFirst("img"),i=t.getFirst("img"),s=(new Element("div",{id:"contextmenu",html:'<a href="'+e.href+'" title="'+e.title+'">'+e.get("html")+" "+r.alt+'</a><a href="'+t.href+'" title="'+t.title+'">'+t.get("html")+" "+i.alt+"</a>",styles:{top:e.getPosition().y-6+"px"}})).inject($(document.body),"bottom");s.setStyle("left",e.getPosition().x-s.getSize().x/2)},hide:function(){$("contextmenu")!=null&&$("contextmenu").destroy()}};window.addEvent("domready",function(){ContextMenu.initialize()}),window.addEvent("structure",function(){ContextMenu.initialize()});var TinyCallback={getScrollOffset:function(e){tinymce.dom.Event.add(tinymce.isGecko?e.getDoc():e.getWin(),"focus",function(e){Backend.getScrollOffset()})}};
View
10 contao/file.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
* @license LGPL
* @filesource
@@ -40,8 +40,8 @@
* Class PagePicker
*
* Back end page picker.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class PagePicker extends Backend
View
10 contao/files.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
* @license LGPL
* @filesource
@@ -40,8 +40,8 @@
* Class FileManager
*
* Popup file manager controller.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class FileManager extends Backend
View
10 contao/help.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
* @license LGPL
* @filesource
@@ -40,8 +40,8 @@
* Class Help
*
* Back end help wizard.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class Help extends Backend
View
10 contao/index.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
* @license LGPL
* @filesource
@@ -40,8 +40,8 @@
* Class Index
*
* Back end login controller.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class Index extends Backend
View
10 contao/install.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
* @license LGPL
* @filesource
@@ -47,8 +47,8 @@
* Class InstallTool
*
* Back end install tool.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class InstallTool extends Backend
View
10 contao/main.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
* @license LGPL
* @filesource
@@ -40,8 +40,8 @@
* Class Main
*
* Main back end controller.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class Main extends Backend
View
10 contao/page.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
* @license LGPL
* @filesource
@@ -40,8 +40,8 @@
* Class PagePicker
*
* Back end page picker.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class PagePicker extends Backend
View
10 contao/password.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
* @license LGPL
* @filesource
@@ -40,8 +40,8 @@
* Class Index
*
* Provides a form to change the back end password.
- * @copyright Leo Feyer 2011-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class Index extends Backend
View
10 contao/popup.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
* @license LGPL
* @filesource
@@ -40,8 +40,8 @@
* Class Popup
*
* Preview images in a back end pop up window.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class Popup extends Backend
View
10 contao/preview.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
* @license LGPL
* @filesource
@@ -40,8 +40,8 @@
* Class Preview
*
* Front end preview.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class Preview extends Backend
View
10 contao/switch.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Backend
* @license LGPL
* @filesource
@@ -40,8 +40,8 @@
* Class PreviewSwitch
*
* Switch accounts in the front end preview.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class PreviewSwitch extends Backend
View
10 cron.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Frontend
* @license LGPL
* @filesource
@@ -40,8 +40,8 @@
* Class CronJob
*
* Cron job controller.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class CronJob extends Frontend
View
10 index.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Frontend
* @license LGPL
* @filesource
@@ -40,8 +40,8 @@
* Class Index
*
* Main front end controller.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class Index extends Frontend
View
2  plugins/stylect/css/stylect-uncompressed.css
@@ -1,4 +1,4 @@
-/* Contao Open Source CMS :: Copyright (C) 2005-2012 Leo Feyer :: LGPL license */
+/* Contao Open Source CMS :: Copyright (C) 2005-2013 Leo Feyer :: LGPL license */
.styled_select {
display:inline;
margin-top:1px;
View
2  plugins/stylect/css/stylect.css
@@ -1,2 +1,2 @@
-/* Contao Open Source CMS :: Copyright (C) 2005-2012 Leo Feyer :: LGPL license */
+/* Contao Open Source CMS :: Copyright (C) 2005-2013 Leo Feyer :: LGPL license */
.styled_select{display:inline;margin-top:1px;position:absolute;background:#fff;border:1px solid #b8b8b8;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:0 0 0 6px;font-family:"Trebuchet MS",Verdana,sans-serif;font-size:12px;text-align:left;line-height:20px;white-space:nowrap;overflow:hidden}.styled_select.focused{background-color:#ebfdd7}.styled_select.disabled{color:#bbb;background-color:#f9f9f9;border:1px solid #c8c8c8}.firefox .styled_select{line-height:21px}.win.firefox .styled_select{line-height:22px}.tl_subpanel .styled_select{font-size:11px;line-height:18px}.firefox .tl_subpanel .styled_select{line-height:19px}.win.firefox .tl_subpanel .styled_select{line-height:20px}.styled_select b{display:block;width:15px;height:100%;position:absolute;top:0;right:0;border-left:1px solid #b8b8b8;background:#eee;-moz-border-radius:0 3px 3px 0;-webkit-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;background-image:-moz-linear-gradient(center bottom,#ccc 0,#eee 60%);background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#ccc),color-stop(0.6,#eee));background-image:-o-linear-gradient(bottom,#ccc 0,#eee 60%);background-image:-ms-linear-gradient(top,#ccc 0,#eee 60%);background-image:linear-gradient(top,#ccc 0,#eee 60%)}.styled_select b i{display:block;width:100%;height:100%;background:url("../images/select.gif") center center no-repeat}
View
6 plugins/stylect/js/stylect-uncompressed.js
@@ -1,6 +1,6 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -19,8 +19,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Tablesort
* @license LGPL
* @filesource
View
2  plugins/stylect/js/stylect.js
@@ -1,2 +1,2 @@
-/* Contao Open Source CMS :: Copyright (C) 2005-2012 Leo Feyer :: LGPL license */
+/* Contao Open Source CMS :: Copyright (C) 2005-2013 Leo Feyer :: LGPL license */
var Stylect={convertSelects:function(){$$("select").each(function(e){if(Browser.ie6||Browser.ie7||Browser.ie8)return;if(e.get("multiple"))return;if(e.hasClass("tl_chosen"))return;if((active=e.getElement('option[value="'+e.value+'"]'))!=null)var t=active.get("html");else var t=e.getElement("option").get("html");var n=e.getComputedSize().totalWidth||e.getStyle("width").toInt()+e.getStyle("border-left-width").toInt()+e.getStyle("border-right-width").toInt(),r=(new Element("div",{"class":"styled_select",html:"<span>"+t+"</span><b><i></i></b>",styles:{width:n-(Browser.safari||Browser.chrome?6:8)}})).inject(e,"before");e.disabled&&r.addClass("disabled"),r.getPosition().x!=e.getPosition().x&&(r.position({relativeTo:e,ignoreMargins:!0}),Browser.safari?r.setStyle("top",r.getStyle("top")=="22px"?"24px":0):Browser.opera&&r.getStyle("top")=="23px"&&r.setStyle("top","24px")),e.hasClass("active")&&r.addClass("active"),e.addEvent("change",function(){var t=e.getElement('option[value="'+e.value+'"]');r.getElement("span").set("html",t.get("html"))}).addEvent("keydown",function(t){setTimeout(function(){e.fireEvent("change")},100)}).addEvent("focus",function(){r.addClass("focused")}).addEvent("blur",function(){r.removeClass("focused")}).setStyle("opacity",0),Browser.webkit=Browser.chrome||Browser.safari||navigator.userAgent.match(/(?:webkit|khtml)/i),Browser.webkit&&e.setStyle("margin-bottom","4px"),(Browser.webkit||Browser.ie)&&r.setStyle("width",r.getStyle("width").toInt()-4)})}};window.addEvent("domready",function(){Stylect.convertSelects()}),window.addEvent("ajax_change",function(){Stylect.convertSelects()});
View
2  plugins/tablesort/css/tablesort-uncompressed.css
@@ -1,4 +1,4 @@
-/* Contao Open Source CMS :: Copyright (C) 2005-2012 Leo Feyer :: LGPL license */
+/* Contao Open Source CMS :: Copyright (C) 2005-2013 Leo Feyer :: LGPL license */
table.sortable th { background-image:url("../images/default.gif"); background-repeat:no-repeat; background-position:center right; }
table.sortable th a.pointer { display:block; margin-right:9px; cursor:pointer; }
table.sortable th.unsortable { background-image:none; }
View
2  plugins/tablesort/css/tablesort.css
@@ -1,2 +1,2 @@
-/* Contao Open Source CMS :: Copyright (C) 2005-2012 Leo Feyer :: LGPL license */
+/* Contao Open Source CMS :: Copyright (C) 2005-2013 Leo Feyer :: LGPL license */
table.sortable th{background-image:url("../images/default.gif");background-repeat:no-repeat;background-position:center right}table.sortable th a.pointer{display:block;margin-right:9px;cursor:pointer}table.sortable th.unsortable{background-image:none}table.sortable th.asc{background-image:url("../images/asc.gif")}table.sortable th.desc{background-image:url("../images/desc.gif")}
View
6 plugins/tablesort/js/tablesort-uncompressed.js
@@ -1,6 +1,6 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -19,8 +19,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Tablesort
* @license LGPL
* @filesource
View
2  plugins/tablesort/js/tablesort.js
@@ -1,2 +1,2 @@
-/* Contao Open Source CMS :: Copyright (C) 2005-2012 Leo Feyer :: LGPL license */
+/* Contao Open Source CMS :: Copyright (C) 2005-2013 Leo Feyer :: LGPL license */
var SORT_INDEX,THOUSANDS_SEPARATOR=",",DECIMAL_SEPARATOR=".",TableSort=new Class({initialize:function(a,b,c){var d=$(a);b&&(THOUSANDS_SEPARATOR=b),c&&(DECIMAL_SEPARATOR=c);if(d==null)return!1;if(!d.rows||d.rows.length<1||!d.tHead||d.tHead.rows.length<1)return!1;var e=null,f=Cookie.read("TS_"+a.toUpperCase());if(f!==null)var e=f.split("|");var g=d.tHead.rows[d.tHead.rows.length-1];for(var h=0;h<g.cells.length;h++){if(g.cells[h].className.indexOf("unsortable")!=-1)continue;var i=g.cells[h],j=i.innerHTML,k=(new Element("a")).addClass("pointer");k.innerHTML=j,i.innerHTML="",k.addEvent("click",function(a,b){this.resort(a,b)}.pass([h,i],this)),k.injectInside(i),e!==null&&e[0]==h&&($(i).addClass(e[1]=="desc"?"asc":"desc"),this.resort(e[0],i))}},resort:function(a,b){var c=$(b);if(c==null)return!1;var d=c.getParent("tr"),e=d.getParent("table");if(e==null||e.tBodies[0].rows.length<2)return!1;SORT_INDEX=a;var f=0,g="";while(g==""&&e.tBodies[0].rows[f])g=e.tBodies[0].rows[f].cells[a].innerHTML.replace(/<[^>]+>/ig,"").clean(),f++;var h=new Array;for(var f=0;f<e.tBodies[0].rows.length;f++)h[f]=e.tBodies[0].rows[f];b.className.indexOf("date")!=-1||g.match(/^\d{1,4}[\/\. -]\d{1,2}[\/\. -]\d{1,4}$/)?h.sort(this.sortDate):b.className.indexOf("currency")!=-1||g.match(/^[£$€Û¢´]/)||g.match(/^-?[\d\.,]+[£$€]$/)?h.sort(this.sortNumeric):b.className.indexOf("numeric")!=-1||g.match(/^-?[\d\.,]+(E[-+][\d]+)?$/)||g.match(/^-?[\d\.,]+%?$/)?h.sort(this.sortNumeric):h.sort(this.sortCaseInsensitive);if(b.className.indexOf("asc")==-1){var i=d.getChildren();for(var f=0;f<i.length;f++)i[f].removeClass("asc"),i[f].removeClass("desc");b.addClass("asc"),Cookie.write("TS_"+e.id.toUpperCase(),a+"|asc",{path:"/"})}else{var i=d.getChildren();for(var f=0;f<i.length;f++)i[f].removeClass("asc"),i[f].removeClass("desc");b.addClass("desc"),Cookie.write("TS_"+e.id.toUpperCase(),a+"|desc",{path:"/"}),h.reverse()}for(f=0;f<h.length;f++){var k=h[f].className;k=k.replace(/row_\d+/,"").replace(/odd|even|row_first|row_last/g,"").clean(),k+=" row_"+f,f==0&&(k+=" row_first"),f>=h.length-1&&(k+=" row_last"),k+=f%2==0?" even":" odd",h[f].className=k.trim();for(j=0;j<h[f].cells.length;j++){var k=h[f].cells[j].className;k=k.replace(/col_\d+/,"").replace(/odd|even|col_first|col_last/g,"").clean(),k+=" col_"+j,j==0&&(k+=" col_first"),j>=h[f].cells.length-1&&(k+=" col_last"),h[f].cells[j].className=k.trim()}e.tBodies[0].appendChild(h[f])}},sortDate:function(a,b){aa=a.cells[SORT_INDEX].innerHTML.replace(/<[^>]+>/ig,"").clean(),bb=b.cells[SORT_INDEX].innerHTML.replace(/<[^>]+>/ig,"").clean();var c=aa.replace(/[\/\.-]/g," ").split(" "),d=bb.replace(/[\/\.-]/g," ").split(" ");if(aa.match(/^\d{1,2}[\/\. -]\d{1,2}[\/\. -]\d{2,4}$/))var e=(c[2].length==4?c[2]:"19"+c[2])+(c[1].length==2?c[1]:"0"+c[1])+(c[0].length==2?c[0]:"0"+c[0]),f=(d[2].length==4?d[2]:"19"+d[2])+(d[1].length==2?d[1]:"0"+d[1])+(d[0].length==2?d[0]:"0"+d[0]);if(aa.match(/^\d{2,4}[\/\. -]\d{1,2}[\/\. -]\d{1,2}$/))var e=(c[0].length==4?c[0]:"19"+c[0])+(c[1].length==2?c[1]:"0"+c[1])+(c[2].length==2?c[2]:"0"+c[2]),f=(d[0].length==4?d[0]:"19"+d[0])+(d[1].length==2?d[1]:"0"+d[1])+(d[2].length==2?d[2]:"0"+d[2]);return e==f?0:e<f?-1:1},sortNumeric:function(a,b){var c=new RegExp("\\"+THOUSANDS_SEPARATOR,"g");return aa=a.cells[SORT_INDEX].innerHTML.replace(c,""),bb=b.cells[SORT_INDEX].innerHTML.replace(c,""),DECIMAL_SEPARATOR!="."&&(aa=aa.replace(DECIMAL_SEPARATOR,"."),bb=bb.replace(DECIMAL_SEPARATOR,".")),aa=aa.replace(/<[^>]+>/i).replace(/[^0-9\.,-]/g,"").clean(),bb=bb.replace(/<[^>]+>/i).replace(/[^0-9\.,-]/g,"").clean(),aa=parseFloat(aa),isNaN(aa)&&(aa=0),bb=parseFloat(bb),isNaN(bb)&&(bb=0),aa-bb},sortCaseInsensitive:function(a,b){return aa=a.cells[SORT_INDEX].innerHTML.replace(/<[^>]+>/ig,"").clean().toLowerCase(),bb=b.cells[SORT_INDEX].innerHTML.replace(/<[^>]+>/ig,"").clean().toLowerCase(),aa==bb?0:aa<bb?-1:1}});
View
4 plugins/tinyMCE/plugins/typolinks/editor_plugin.js
@@ -1,2 +1,2 @@
-/* Contao Open Source CMS :: Copyright (C) 2005-2012 Leo Feyer :: LGPL license */
-(function(){tinymce.create("tinymce.plugins.TypolinksPlugin",{init:function(a,b){a.addCommand("mceTypolinks",function(){a.windowManager.open({file:b+"/typolinks.php",width:360+parseInt(a.getLang("typolinks.delta_width",0)),height:256+parseInt(a.getLang("typolinks.delta_height",0)),inline:1},{plugin_url:b})}),a.addButton("typolinks",{title:"typolinks.link_desc",cmd:"mceTypolinks",image:b+"/img/link.gif"}),a.addShortcut("ctrl+k","typolinks.desc","mceTypolinks"),a.onNodeChange.add(function(a,b,c,d){b.setDisabled("typolinks",d&&c.nodeName!="A"),b.setActive("typolinks",c.nodeName=="A")}),a.addCommand("mceTypobox",function(){a.windowManager.open({file:b+"/typobox.htm",width:360+parseInt(a.getLang("typobox.delta_width",0)),height:256+parseInt(a.getLang("typobox.delta_height",0)),inline:1},{plugin_url:b})}),a.addButton("typobox",{title:"typolinks.image_desc",cmd:"mceTypobox",image:b+"/img/image.gif"})},getInfo:function(){return{longname:"Contao plugin",author:"Leo Feyer",authorurl:"http://www.inetrobots.com",infourl:"http://www.contao.org",version:"3.4.6"}}}),tinymce.PluginManager.add("typolinks",tinymce.plugins.TypolinksPlugin)})();
+/* Contao Open Source CMS :: Copyright (C) 2005-2013 Leo Feyer :: LGPL license */
+(function(){tinymce.create("tinymce.plugins.TypolinksPlugin",{init:function(a,b){a.addCommand("mceTypolinks",function(){a.windowManager.open({file:b+"/typolinks.php",width:360+parseInt(a.getLang("typolinks.delta_width",0)),height:256+parseInt(a.getLang("typolinks.delta_height",0)),inline:1},{plugin_url:b})}),a.addButton("typolinks",{title:"typolinks.link_desc",cmd:"mceTypolinks",image:b+"/img/link.gif"}),a.addShortcut("ctrl+k","typolinks.desc","mceTypolinks"),a.onNodeChange.add(function(a,b,c,d){b.setDisabled("typolinks",d&&c.nodeName!="A"),b.setActive("typolinks",c.nodeName=="A")}),a.addCommand("mceTypobox",function(){a.windowManager.open({file:b+"/typobox.htm",width:360+parseInt(a.getLang("typobox.delta_width",0)),height:256+parseInt(a.getLang("typobox.delta_height",0)),inline:1},{plugin_url:b})}),a.addButton("typobox",{title:"typolinks.image_desc",cmd:"mceTypobox",image:b+"/img/image.gif"})},getInfo:function(){return{longname:"Contao plugin",author:"Leo Feyer",authorurl:"http://www.inetrobots.com",infourl:"https://contao.org",version:"3.4.6"}}}),tinymce.PluginManager.add("typolinks",tinymce.plugins.TypolinksPlugin)})();
View
8 plugins/tinyMCE/plugins/typolinks/editor_plugin_src.js
@@ -1,6 +1,6 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -19,8 +19,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Plugins
* @license LGPL
* @filesource
@@ -82,7 +82,7 @@
longname : 'Contao plugin',
author : 'Leo Feyer',
authorurl : 'http://www.inetrobots.com',
- infourl : 'http://www.contao.org',
+ infourl : 'https://contao.org',
version : '3.4.6'
};
}
View
2  plugins/tinyMCE/plugins/typolinks/js/typobox.js
@@ -1,2 +1,2 @@
-/* Contao Open Source CMS :: Copyright (C) 2005-2012 Leo Feyer :: LGPL license */
+/* Contao Open Source CMS :: Copyright (C) 2005-2013 Leo Feyer :: LGPL license */
var Typobox={preInit:function(){var a;tinyMCEPopup.requireLangPack(),(a=tinyMCEPopup.getParam("external_image_list_url"))&&document.write('<script language="javascript" type="text/javascript" src="'+tinyMCEPopup.editor.documentBaseURI.toAbsolute(a)+'"></script>')},init:function(){var a=document.forms[0],b=tinyMCEPopup.editor;document.getElementById("srcbrowsercontainer").innerHTML=getBrowserHTML("srcbrowser","src","image","theme_advanced_image"),isVisible("srcbrowser")&&(document.getElementById("src").style.width="180px"),this.fillFileList("image_list","tinyMCEImageList"),this.fillModeList("mode_list"),this.fillRelList("rel_list"),TinyMCE_EditableSelects.init(),c=b.selection.getContent();if(!c||c.indexOf("image::")==-1)return;c=c.replace(/^.*\{\{image::/gi,""),c=c.replace(/\}\}.*$/i,""),c=c.replace(/\[&amp;\]|\[&\]|&amp;|&/gi,"?");var d=c.split("?");a.src.value=d[0];for(i=1;i<d.length;i++){sub=d[i].split("=");switch(sub[0]){case"width":a.width.value=sub[1];break;case"height":a.height.value=sub[1];break;case"alt":a.alt.value=sub[1];break;case"class":a.cssClass.value=sub[1];break;case"mode":selectByValue(a,"mode_list",sub[1],!0);break;case"rel":selectByValue(a,"rel_list",sub[1],!0)}}},fillFileList:function(a,b){var c=tinyMCEPopup.dom,d=c.get(a),e,f;b=window[b],b&&b.length>0?(d.options[d.options.length]=new Option("",""),tinymce.each(b,function(a){d.options[d.options.length]=new Option(a[0],a[1])})):c.remove(c.getParent(a,"tr"))},fillModeList:function(a){var b=tinyMCEPopup.dom,c=b.get(a),d;c.options[c.options.length]=new Option(tinyMCEPopup.getLang("typolinks_dlg.image_crop"),"crop"),c.options[c.options.length]=new Option(tinyMCEPopup.getLang("typolinks_dlg.image_proportional"),"proportional"),c.options[c.options.length]=new Option(tinyMCEPopup.getLang("typolinks_dlg.image_box"),"box")},fillRelList:function(a){var b=tinyMCEPopup.dom,c=b.get(a),d;c.options[c.options.length]=new Option(tinyMCEPopup.getLang("not_set"),""),c.options[c.options.length]=new Option(tinyMCEPopup.getLang("typolinks_dlg.image_rel_single"),"lightbox"),c.options[c.options.length]=new Option(tinyMCEPopup.getLang("typolinks_dlg.image_rel_multi"),"lightbox[multi]")},update:function(){var a=document.forms[0],b=a.elements,c=tinyMCEPopup.editor,d={},e;tinyMCEPopup.restoreSelection();if(a.src.value==""){tinyMCEPopup.close();return}var f=a.src.value,g="?";a.width.value&&(f+=g+"width="+a.width.value,g="&amp;"),a.height.value&&(f+=g+"height="+a.height.value,g="&amp;"),a.alt.value&&(f+=g+"alt="+a.alt.value,g="&amp;"),a.cssClass.value&&(f+=g+"class="+a.cssClass.value,g="&amp;"),a.mode_list&&(f+=g+"mode="+getSelectValue(a,"mode_list")),a.rel_list&&(f+=g+"rel="+getSelectValue(a,"rel_list")),f="{{image::"+f+"}}",e=c.selection.getNode(),c.execCommand("mceInsertRawHTML",!1,f),c.undoManager.add(),tinyMCEPopup.close()}};Typobox.preInit(),tinyMCEPopup.onInit.add(Typobox.init,Typobox);
View
6 plugins/tinyMCE/plugins/typolinks/js/typobox_src.js
@@ -1,6 +1,6 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -19,8 +19,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Plugins
* @license LGPL
* @filesource
View
2  plugins/tinyMCE/plugins/typolinks/js/typolinks.js
@@ -1,2 +1,2 @@
-/* Contao Open Source CMS :: Copyright (C) 2005-2012 Leo Feyer :: LGPL license */
+/* Contao Open Source CMS :: Copyright (C) 2005-2013 Leo Feyer :: LGPL license */
tinyMCEPopup.requireLangPack();var LinkDialog={preInit:function(){var a;(a=tinyMCEPopup.getParam("external_link_list_url"))&&document.write('<script language="javascript" type="text/javascript" src="'+tinyMCEPopup.editor.documentBaseURI.toAbsolute(a)+'"></script>')},init:function(){var a=document.forms[0],b=tinyMCEPopup.editor;document.getElementById("hrefbrowsercontainer").innerHTML=getBrowserHTML("hrefbrowser","href","file","theme_advanced_link"),isVisible("hrefbrowser")&&(document.getElementById("href").style.width="180px"),this.fillFileList("link_list","tinyMCELinkList"),this.fillRelList("rel_list"),this.fillTargetList("target_list"),this.fillClassList("class_list");if(e=b.dom.getParent(b.selection.getNode(),"A"))a.href.value=b.dom.getAttrib(e,"href"),a.linktitle.value=b.dom.getAttrib(e,"title"),a.insert.value=b.getLang("update"),selectByValue(a,"link_list",a.href.value),selectByValue(a,"target_list",b.dom.getAttrib(e,"target")),selectByValue(a,"rel_list",b.dom.getAttrib(e,"rel"),!0),selectByValue(a,"class_list",b.dom.getAttrib(e,"class"),!0);TinyMCE_EditableSelects.init()},update:function(){var a=document.forms[0],b=tinyMCEPopup.editor,c,d;tinyMCEPopup.restoreSelection(),c=b.dom.getParent(b.selection.getNode(),"A");if(!a.href.value&&c){tinyMCEPopup.execCommand("mceBeginUndoLevel"),d=b.selection.getBookmark(),b.dom.remove(c,1),b.selection.moveToBookmark(d),tinyMCEPopup.execCommand("mceEndUndoLevel"),tinyMCEPopup.close();return}tinyMCEPopup.execCommand("mceBeginUndoLevel");if(c==null){b.getDoc().execCommand("unlink",!1,null),tinyMCEPopup.execCommand("CreateLink",!1,"#mce_temp_url#",{skip_undo:1});var e=this;tinymce.each(b.dom.select("a"),function(d){b.dom.getAttrib(d,"href")=="#mce_temp_url#"&&(c=d,b.dom.setAttribs(c,{href:a.href.value,title:a.linktitle.value,target:a.target_list?getSelectValue(a,"target_list"):null,rel:a.rel_list?getSelectValue(a,"rel_list"):null,"class":a.class_list?getSelectValue(a,"class_list"):null}),e.fixIssues(b,c,a))})}else b.dom.setAttribs(c,{href:a.href.value,title:a.linktitle.value,target:a.target_list?getSelectValue(a,"target_list"):null,rel:a.rel_list?getSelectValue(a,"rel_list"):null,"class":a.class_list?getSelectValue(a,"class_list"):null}),this.fixIssues(b,c,a);if(c.childNodes.length!=1||c.firstChild.nodeName!="IMG")b.focus(),b.selection.select(c),b.selection.collapse(0),tinyMCEPopup.storeSelection();tinyMCEPopup.execCommand("mceEndUndoLevel"),tinyMCEPopup.close()},fixIssues:function(a,b,c){c.href.value+"/"==a.settings.document_base_url&&(c.href.value+="/"),c.href.value==a.settings.document_base_url&&b.setAttribute("mce_href",c.href.value)},checkPrefix:function(a){a.value&&Validator.isEmail(a)&&!/^\s*mailto:/i.test(a.value)&&confirm(tinyMCEPopup.getLang("typolinks_dlg.link_is_email"))&&(a.value="mailto:"+a.value),/^\s*www\./i.test(a.value)&&confirm(tinyMCEPopup.getLang("typolinks_dlg.link_is_external"))&&(a.value="http://"+a.value),a.value&&/^#/.test(a.value)&&(a.value="{{env::request}}"+a.value)},fillFileList:function(a,b){var c=tinyMCEPopup.dom,d=c.get(a),e,f;b=window[b],b&&b.length>0?(d.options[d.options.length]=new Option("",""),tinymce.each(b,function(a){d.options[d.options.length]=new Option(a[0],a[1])})):c.remove(c.getParent(a,"tr"))},fillRelList:function(a){var b=tinyMCEPopup.dom,c=b.get(a),d;c.options[c.options.length]=new Option(tinyMCEPopup.getLang("not_set"),""),c.options[c.options.length]=new Option(tinyMCEPopup.getLang("typolinks_dlg.image_rel_single"),"lightbox"),c.options[c.options.length]=new Option(tinyMCEPopup.getLang("typolinks_dlg.image_rel_multi"),"lightbox[multi]")},fillTargetList:function(a){var b=tinyMCEPopup.dom,c=b.get(a),d;c.options[c.options.length]=new Option(tinyMCEPopup.getLang("not_set"),""),c.options[c.options.length]=new Option(tinyMCEPopup.getLang("typolinks_dlg.link_target_blank"),"_blank"),(d=tinyMCEPopup.getParam("theme_advanced_link_targets"))&&tinymce.each(d.split(","),function(a){a=a.split("="),c.options[c.options.length]=new Option(a[0],a[1])})},fillClassList:function(a){var b=tinyMCEPopup.dom,c=b.get(a),d,e;(d=tinyMCEPopup.getParam("theme_advanced_styles"))?(e=[],tinymce.each(d.split(";"),function(a){var b=a.split("=");e.push({title:b[0],"class":b[1]})})):e=tinyMCEPopup.editor.dom.getClasses(),c.options[c.options.length]=new Option(tinyMCEPopup.getLang("not_set"),""),e.length>0&&tinymce.each(e,function(a){c.options[c.options.length]=new Option(a.title||a["class"],a["class"])})}};LinkDialog.preInit(),tinyMCEPopup.onInit.add(LinkDialog.init,LinkDialog);
View
6 plugins/tinyMCE/plugins/typolinks/js/typolinks_src.js
@@ -1,6 +1,6 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -19,8 +19,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Plugins
* @license LGPL
* @filesource
View
6 plugins/tinyMCE/plugins/typolinks/typoimages.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Plugins
* @license LGPL
* @filesource
View
10 plugins/tinyMCE/plugins/typolinks/typolib.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Plugins
* @license LGPL
* @filesource
@@ -33,8 +33,8 @@
* Class typolib
*
* Provide methods to render TinyMCE page and file drop down menus.
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Controller
*/
class typolib extends Backend
View
6 plugins/tinyMCE/plugins/typolinks/typolinks.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Plugins
* @license LGPL
* @filesource
View
6 plugins/tinyMCE/plugins/typolinks/typotemplates.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Plugins
* @license LGPL
* @filesource
View
6 share.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Frontend
* @license LGPL
* @filesource
View
6 system/config/agents.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Config
* @license LGPL
* @filesource
View
6 system/config/codeMirror.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Config
* @license LGPL
* @filesource
View
8 system/config/config.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Config
* @license LGPL
* @filesource
@@ -307,7 +307,7 @@
$GLOBALS['TL_CONFIG']['allowedDownload'] = 'jpg,jpeg,gif,png,doc,xls,ppt,odt,ods,odp,pdf,mp3,wma,wmv,ram,rm,mov';
$GLOBALS['TL_CONFIG']['installPassword'] = '4d19f112e30930cbe278de966e9b2d907568d1c8';
$GLOBALS['TL_CONFIG']['liveUpdateBase'] = 'http://www.inetrobots.com/liveupdate/';
-$GLOBALS['TL_CONFIG']['repository_wsdl'] = 'http://www.contao.org/services/repository.wsdl';
+$GLOBALS['TL_CONFIG']['repository_wsdl'] = 'http://contao.org/services/repository.wsdl';
$GLOBALS['TL_CONFIG']['repository_languages'] = 'en,de';
$GLOBALS['TL_CONFIG']['repository_listsize'] = 10;
$GLOBALS['TL_CONFIG']['backendTheme'] = 'default';
View
8 system/config/countries.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>
* @package Config
* @license LGPL
* @filesource
@@ -41,7 +41,6 @@
'ai' => 'Anguilla',
'al' => 'Albania',
'am' => 'Armenia',
- 'an' => 'Netherlands Antilles',
'ao' => 'Angola',
'aq' => 'Antarctica',
'ar' => 'Argentina',
@@ -261,7 +260,6 @@
'tt' => 'Trinidad and Tobago',
'tv' => 'Tuvalu',
'tw' => 'Taiwan',
- 'ty' => 'Tahiti',
'tz' => 'Tanzania',
'ua' => 'Ukraine',
'ug' => 'Uganda',
View
6 system/config/languages.php
@@ -2,7 +2,7 @@
/**
* Contao Open Source CMS
- * Copyright (C) 2005-2012 Leo Feyer
+ * Copyright (C) 2005-2013 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
@@ -21,8 +21,8 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
- * @copyright Leo Feyer 2005-2012
- * @author Leo Feyer <http://www.contao.org>
+ * @copyright Leo Feyer 2005-2013
+ * @author Leo Feyer <https://contao.org>