From 4e71ba9d3ea40cd2d817965e5eed4a2fe1b876b3 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Fri, 24 Jul 2015 22:44:39 +0200 Subject: [PATCH] Remove core plugins from core repository --- plugins/AdminTools/admin.php | 23 - .../AdminTools/include/MultiView.class.php | 338 --- plugins/AdminTools/include/events.inc.php | 360 ---- plugins/AdminTools/include/index.php | 7 - plugins/AdminTools/index.php | 7 - .../AdminTools/language/ar_SA/description.txt | 1 - plugins/AdminTools/language/ar_SA/index.php | 7 - .../AdminTools/language/ar_SA/plugin.lang.php | 40 - .../AdminTools/language/bg_BG/description.txt | 1 - plugins/AdminTools/language/bg_BG/index.php | 7 - .../AdminTools/language/bg_BG/plugin.lang.php | 40 - .../AdminTools/language/br_FR/description.txt | 1 - plugins/AdminTools/language/br_FR/index.php | 7 - .../AdminTools/language/br_FR/plugin.lang.php | 39 - .../AdminTools/language/ca_ES/description.txt | 1 - plugins/AdminTools/language/ca_ES/index.php | 7 - .../AdminTools/language/ca_ES/plugin.lang.php | 39 - .../AdminTools/language/cs_CZ/description.txt | 1 - plugins/AdminTools/language/cs_CZ/index.php | 7 - .../AdminTools/language/cs_CZ/plugin.lang.php | 20 - .../AdminTools/language/da_DK/description.txt | 1 - plugins/AdminTools/language/da_DK/index.php | 7 - .../AdminTools/language/da_DK/plugin.lang.php | 40 - .../AdminTools/language/de_DE/description.txt | 1 - plugins/AdminTools/language/de_DE/index.php | 7 - .../AdminTools/language/de_DE/plugin.lang.php | 39 - .../AdminTools/language/el_GR/description.txt | 1 - plugins/AdminTools/language/el_GR/index.php | 7 - .../AdminTools/language/el_GR/plugin.lang.php | 40 - .../AdminTools/language/en_UK/description.txt | 1 - plugins/AdminTools/language/en_UK/index.php | 7 - .../AdminTools/language/en_UK/plugin.lang.php | 21 - .../AdminTools/language/eo_EO/description.txt | 1 - plugins/AdminTools/language/eo_EO/index.php | 7 - .../AdminTools/language/eo_EO/plugin.lang.php | 40 - .../AdminTools/language/es_ES/description.txt | 1 - plugins/AdminTools/language/es_ES/index.php | 7 - .../AdminTools/language/es_ES/plugin.lang.php | 40 - .../AdminTools/language/et_EE/description.txt | 1 - plugins/AdminTools/language/et_EE/index.php | 7 - .../AdminTools/language/et_EE/plugin.lang.php | 39 - .../AdminTools/language/fa_IR/description.txt | 1 - plugins/AdminTools/language/fa_IR/index.php | 7 - .../AdminTools/language/fa_IR/plugin.lang.php | 40 - .../AdminTools/language/fi_FI/description.txt | 1 - plugins/AdminTools/language/fi_FI/index.php | 7 - .../AdminTools/language/fi_FI/plugin.lang.php | 40 - .../AdminTools/language/fr_CA/description.txt | 1 - plugins/AdminTools/language/fr_CA/index.php | 7 - .../AdminTools/language/fr_CA/plugin.lang.php | 21 - .../AdminTools/language/fr_FR/description.txt | 1 - plugins/AdminTools/language/fr_FR/index.php | 7 - .../AdminTools/language/fr_FR/plugin.lang.php | 21 - .../AdminTools/language/gl_ES/description.txt | 1 - plugins/AdminTools/language/gl_ES/index.php | 7 - .../AdminTools/language/gl_ES/plugin.lang.php | 39 - .../AdminTools/language/he_IL/description.txt | 1 - plugins/AdminTools/language/he_IL/index.php | 7 - .../AdminTools/language/he_IL/plugin.lang.php | 39 - .../AdminTools/language/hu_HU/description.txt | 1 - plugins/AdminTools/language/hu_HU/index.php | 7 - .../AdminTools/language/hu_HU/plugin.lang.php | 39 - plugins/AdminTools/language/index.php | 7 - .../AdminTools/language/it_IT/description.txt | 1 - plugins/AdminTools/language/it_IT/index.php | 7 - .../AdminTools/language/it_IT/plugin.lang.php | 40 - plugins/AdminTools/language/ja_JP/index.php | 7 - .../AdminTools/language/ja_JP/plugin.lang.php | 31 - .../AdminTools/language/km_KH/description.txt | 1 - plugins/AdminTools/language/km_KH/index.php | 7 - .../AdminTools/language/km_KH/plugin.lang.php | 39 - .../AdminTools/language/lt_LT/description.txt | 1 - plugins/AdminTools/language/lt_LT/index.php | 7 - .../AdminTools/language/lt_LT/plugin.lang.php | 40 - .../AdminTools/language/lv_LV/description.txt | 1 - plugins/AdminTools/language/lv_LV/index.php | 7 - .../AdminTools/language/lv_LV/plugin.lang.php | 40 - .../AdminTools/language/mn_MN/description.txt | 1 - plugins/AdminTools/language/mn_MN/index.php | 7 - .../AdminTools/language/mn_MN/plugin.lang.php | 33 - .../AdminTools/language/nb_NO/description.txt | 1 - plugins/AdminTools/language/nb_NO/index.php | 7 - .../AdminTools/language/nb_NO/plugin.lang.php | 40 - .../AdminTools/language/nl_NL/description.txt | 1 - plugins/AdminTools/language/nl_NL/index.php | 7 - .../AdminTools/language/nl_NL/plugin.lang.php | 40 - .../AdminTools/language/pl_PL/description.txt | 1 - plugins/AdminTools/language/pl_PL/index.php | 7 - .../AdminTools/language/pl_PL/plugin.lang.php | 39 - .../AdminTools/language/pt_BR/description.txt | 1 - plugins/AdminTools/language/pt_BR/index.php | 7 - .../AdminTools/language/pt_BR/plugin.lang.php | 40 - .../AdminTools/language/pt_PT/description.txt | 1 - plugins/AdminTools/language/pt_PT/index.php | 7 - .../AdminTools/language/pt_PT/plugin.lang.php | 40 - .../AdminTools/language/ro_RO/description.txt | 1 - plugins/AdminTools/language/ro_RO/index.php | 7 - .../AdminTools/language/ro_RO/plugin.lang.php | 40 - .../AdminTools/language/ru_RU/description.txt | 1 - plugins/AdminTools/language/ru_RU/index.php | 7 - .../AdminTools/language/ru_RU/plugin.lang.php | 40 - .../AdminTools/language/sh_RS/description.txt | 1 - plugins/AdminTools/language/sh_RS/index.php | 7 - .../AdminTools/language/sh_RS/plugin.lang.php | 39 - .../AdminTools/language/sk_SK/description.txt | 1 - plugins/AdminTools/language/sk_SK/index.php | 7 - .../AdminTools/language/sk_SK/plugin.lang.php | 40 - .../AdminTools/language/sl_SI/description.txt | 1 - plugins/AdminTools/language/sl_SI/index.php | 7 - .../AdminTools/language/sl_SI/plugin.lang.php | 40 - .../AdminTools/language/sr_RS/description.txt | 1 - plugins/AdminTools/language/sr_RS/index.php | 7 - .../AdminTools/language/sr_RS/plugin.lang.php | 39 - .../AdminTools/language/sv_SE/description.txt | 1 - plugins/AdminTools/language/sv_SE/index.php | 7 - .../AdminTools/language/sv_SE/plugin.lang.php | 40 - .../AdminTools/language/ta_IN/description.txt | 1 - plugins/AdminTools/language/ta_IN/index.php | 7 - .../AdminTools/language/ta_IN/plugin.lang.php | 24 - .../AdminTools/language/tr_TR/description.txt | 1 - plugins/AdminTools/language/tr_TR/index.php | 7 - .../AdminTools/language/tr_TR/plugin.lang.php | 40 - .../AdminTools/language/uk_UA/description.txt | 1 - plugins/AdminTools/language/uk_UA/index.php | 7 - .../AdminTools/language/uk_UA/plugin.lang.php | 40 - .../AdminTools/language/vi_VN/description.txt | 2 - plugins/AdminTools/language/vi_VN/index.php | 7 - .../AdminTools/language/vi_VN/plugin.lang.php | 39 - .../AdminTools/language/zh_CN/description.txt | 1 - plugins/AdminTools/language/zh_CN/index.php | 7 - .../AdminTools/language/zh_CN/plugin.lang.php | 40 - .../AdminTools/language/zh_HK/description.txt | 1 - plugins/AdminTools/language/zh_HK/index.php | 7 - .../AdminTools/language/zh_HK/plugin.lang.php | 40 - .../AdminTools/language/zh_TW/description.txt | 1 - plugins/AdminTools/language/zh_TW/index.php | 7 - .../AdminTools/language/zh_TW/plugin.lang.php | 40 - plugins/AdminTools/main.inc.php | 63 - plugins/AdminTools/maintain.class.php | 31 - plugins/AdminTools/template/admin.tpl | 60 - .../AdminTools/template/admin_controller.js | 118 - .../AdminTools/template/admin_controller.tpl | 39 - plugins/AdminTools/template/admin_style.css | 68 - .../AdminTools/template/fontello/LICENSE.txt | 39 - .../AdminTools/template/fontello/README.txt | 75 - .../AdminTools/template/fontello/config.json | 40 - .../template/fontello/css/animation.css | 85 - .../fontello/css/fontello-ato-codes.css | 6 - .../fontello/css/fontello-ato-embedded.css | 59 - .../fontello/css/fontello-ato-ie7-codes.css | 6 - .../fontello/css/fontello-ato-ie7.css | 17 - .../template/fontello/css/fontello-ato.css | 57 - .../AdminTools/template/fontello/demo.html | 275 --- .../template/fontello/font/fontello-ato.eot | Bin 5248 -> 0 bytes .../template/fontello/font/fontello-ato.svg | 16 - .../template/fontello/font/fontello-ato.ttf | Bin 5064 -> 0 bytes .../template/fontello/font/fontello-ato.woff | Bin 3148 -> 0 bytes plugins/AdminTools/template/index.php | 7 - plugins/AdminTools/template/mousetrap.min.js | 9 - .../AdminTools/template/public_controller.js | 331 --- .../AdminTools/template/public_controller.tpl | 191 -- plugins/AdminTools/template/public_style.css | 251 --- plugins/LocalFilesEditor/admin.php | 151 -- .../codemirror/lib/codemirror.css | 53 - .../codemirror/lib/codemirror.js | 1915 ----------------- .../codemirror/lib/overlay.js | 51 - .../codemirror/mode/clike/clike.css | 6 - .../codemirror/mode/clike/clike.js | 181 -- .../codemirror/mode/clike/index.html | 101 - .../codemirror/mode/css/css.css | 9 - .../codemirror/mode/css/css.js | 124 -- .../codemirror/mode/css/index.html | 56 - .../codemirror/mode/diff/diff.css | 3 - .../codemirror/mode/diff/diff.js | 13 - .../codemirror/mode/diff/index.html | 99 - .../codemirror/mode/haskell/haskell.css | 25 - .../codemirror/mode/haskell/haskell.js | 242 --- .../codemirror/mode/haskell/index.html | 59 - .../codemirror/mode/htmlmixed/htmlmixed.js | 66 - .../codemirror/mode/htmlmixed/index.html | 54 - .../codemirror/mode/javascript/index.html | 78 - .../codemirror/mode/javascript/javascript.css | 6 - .../codemirror/mode/javascript/javascript.js | 348 --- .../codemirror/mode/php/index.html | 52 - .../codemirror/mode/php/php.js | 83 - .../codemirror/mode/stex/index.html | 96 - .../codemirror/mode/stex/stex.css | 20 - .../codemirror/mode/stex/stex.js | 167 -- .../codemirror/mode/xml/index.html | 42 - .../codemirror/mode/xml/xml.css | 7 - .../codemirror/mode/xml/xml.js | 206 -- plugins/LocalFilesEditor/include/css.inc.php | 150 -- .../include/functions.inc.php | 114 - plugins/LocalFilesEditor/include/lang.inc.php | 69 - .../include/localconf.inc.php | 26 - plugins/LocalFilesEditor/include/plug.inc.php | 25 - plugins/LocalFilesEditor/include/tpl.inc.php | 157 -- plugins/LocalFilesEditor/index.php | 30 - .../language/af_ZA/description.txt | 1 - .../LocalFilesEditor/language/af_ZA/index.php | 7 - .../language/af_ZA/plugin.lang.php | 52 - .../language/ar_SA/description.txt | 1 - .../LocalFilesEditor/language/ar_SA/index.php | 30 - .../language/ar_SA/plugin.lang.php | 53 - .../language/bg_BG/description.txt | 2 - .../LocalFilesEditor/language/bg_BG/index.php | 7 - .../language/bg_BG/plugin.lang.php | 52 - .../language/br_FR/description.txt | 1 - .../LocalFilesEditor/language/br_FR/index.php | 7 - .../language/br_FR/plugin.lang.php | 53 - .../language/ca_ES/description.txt | 1 - .../language/ca_ES/plugin.lang.php | 53 - .../language/cs_CZ/description.txt | 1 - .../LocalFilesEditor/language/cs_CZ/index.php | 30 - .../language/cs_CZ/plugin.lang.php | 54 - .../language/da_DK/description.txt | 1 - .../language/da_DK/plugin.lang.php | 53 - .../language/de_DE/description.txt | 1 - .../LocalFilesEditor/language/de_DE/index.php | 30 - .../language/de_DE/plugin.lang.php | 53 - .../language/el_GR/description.txt | 1 - .../language/el_GR/plugin.lang.php | 53 - .../language/en_UK/description.txt | 1 - .../LocalFilesEditor/language/en_UK/index.php | 30 - .../language/en_UK/plugin.lang.php | 55 - .../language/eo_EO/description.txt | 1 - .../language/eo_EO/plugin.lang.php | 53 - .../language/es_ES/description.txt | 1 - .../LocalFilesEditor/language/es_ES/index.php | 30 - .../language/es_ES/plugin.lang.php | 54 - .../language/et_EE/description.txt | 1 - .../LocalFilesEditor/language/et_EE/index.php | 7 - .../language/et_EE/plugin.lang.php | 53 - .../language/fa_IR/description.txt | 1 - .../LocalFilesEditor/language/fa_IR/index.php | 7 - .../language/fa_IR/plugin.lang.php | 54 - .../language/fi_FI/description.txt | 1 - .../language/fi_FI/plugin.lang.php | 53 - .../language/fr_CA/description.txt | 1 - .../LocalFilesEditor/language/fr_CA/index.php | 30 - .../language/fr_CA/plugin.lang.php | 55 - .../language/fr_FR/description.txt | 1 - .../LocalFilesEditor/language/fr_FR/index.php | 30 - .../language/fr_FR/plugin.lang.php | 54 - .../language/gl_ES/description.txt | 1 - .../language/gl_ES/plugin.lang.php | 53 - .../language/he_IL/description.txt | 1 - .../LocalFilesEditor/language/he_IL/index.php | 30 - .../language/he_IL/plugin.lang.php | 54 - .../language/hr_HR/description.txt | 1 - .../LocalFilesEditor/language/hr_HR/index.php | 30 - .../language/hr_HR/plugin.lang.php | 52 - .../language/hu_HU/description.txt | 1 - .../LocalFilesEditor/language/hu_HU/index.php | 30 - .../language/hu_HU/plugin.lang.php | 54 - plugins/LocalFilesEditor/language/index.php | 30 - .../language/it_IT/description.txt | 1 - .../LocalFilesEditor/language/it_IT/index.php | 30 - .../language/it_IT/plugin.lang.php | 53 - .../language/ja_JP/description.txt | 1 - .../LocalFilesEditor/language/ja_JP/index.php | 30 - .../language/ja_JP/plugin.lang.php | 54 - .../language/ka_GE/description.txt | 1 - .../LocalFilesEditor/language/ka_GE/index.php | 30 - .../language/ka_GE/plugin.lang.php | 54 - .../language/kn_IN/description.txt | 1 - .../language/kn_IN/plugin.lang.php | 52 - .../language/lt_LT/description.txt | 1 - .../language/lt_LT/plugin.lang.php | 53 - .../language/lv_LV/description.txt | 1 - .../LocalFilesEditor/language/lv_LV/index.php | 30 - .../language/lv_LV/plugin.lang.php | 54 - .../language/mn_MN/description.txt | 1 - .../LocalFilesEditor/language/mn_MN/index.php | 7 - .../language/mn_MN/plugin.lang.php | 52 - .../language/nb_NO/description.txt | 1 - .../LocalFilesEditor/language/nb_NO/index.php | 30 - .../language/nb_NO/plugin.lang.php | 51 - .../language/nl_NL/description.txt | 1 - .../LocalFilesEditor/language/nl_NL/index.php | 30 - .../language/nl_NL/plugin.lang.php | 54 - .../language/nn_NO/description.txt | 1 - .../language/nn_NO/plugin.lang.php | 53 - .../language/pl_PL/description.txt | 1 - .../LocalFilesEditor/language/pl_PL/index.php | 30 - .../language/pl_PL/plugin.lang.php | 55 - .../language/pt_BR/description.txt | 1 - .../LocalFilesEditor/language/pt_BR/index.php | 7 - .../language/pt_BR/plugin.lang.php | 52 - .../language/pt_PT/description.txt | 1 - .../LocalFilesEditor/language/pt_PT/index.php | 30 - .../language/pt_PT/plugin.lang.php | 54 - .../language/ro_RO/description.txt | 1 - .../language/ro_RO/plugin.lang.php | 53 - .../language/ru_RU/description.txt | 1 - .../LocalFilesEditor/language/ru_RU/index.php | 30 - .../language/ru_RU/plugin.lang.php | 53 - .../language/sh_RS/description.txt | 1 - .../language/sh_RS/plugin.lang.php | 52 - .../language/sk_SK/description.txt | 1 - .../LocalFilesEditor/language/sk_SK/index.php | 30 - .../language/sk_SK/plugin.lang.php | 54 - .../language/sl_SI/description.txt | 1 - .../language/sl_SI/plugin.lang.php | 53 - .../language/sr_RS/description.txt | 1 - .../LocalFilesEditor/language/sr_RS/index.php | 30 - .../language/sr_RS/plugin.lang.php | 53 - .../language/sv_SE/description.txt | 1 - .../LocalFilesEditor/language/sv_SE/index.php | 30 - .../language/sv_SE/plugin.lang.php | 53 - .../language/ta_IN/description.txt | 3 - .../language/ta_IN/plugin.lang.php | 55 - .../language/th_TH/description.txt | 1 - .../LocalFilesEditor/language/th_TH/index.php | 30 - .../language/th_TH/plugin.lang.php | 54 - .../language/tr_TR/description.txt | 1 - .../LocalFilesEditor/language/tr_TR/index.php | 30 - .../language/tr_TR/plugin.lang.php | 55 - .../language/uk_UA/description.txt | 1 - .../language/uk_UA/plugin.lang.php | 53 - .../language/vi_VN/description.txt | 1 - .../LocalFilesEditor/language/vi_VN/index.php | 30 - .../language/vi_VN/plugin.lang.php | 53 - .../language/zh_CN/description.txt | 1 - .../LocalFilesEditor/language/zh_CN/index.php | 30 - .../language/zh_CN/plugin.lang.php | 53 - .../language/zh_HK/description.txt | 1 - .../language/zh_HK/plugin.lang.php | 53 - .../language/zh_TW/description.txt | 1 - .../LocalFilesEditor/language/zh_TW/index.php | 30 - .../language/zh_TW/plugin.lang.php | 53 - plugins/LocalFilesEditor/main.inc.php | 70 - plugins/LocalFilesEditor/maintain.inc.php | 32 - plugins/LocalFilesEditor/show_default.php | 59 - plugins/LocalFilesEditor/template/admin.tpl | 113 - .../LocalFilesEditor/template/locfiledit.css | 32 - .../template/show_default.tpl | 37 - plugins/TakeATour/admin.php | 27 - plugins/TakeATour/css/admin.css | 13 - .../css/bootstrap-tour-standalone.css | 339 --- plugins/TakeATour/css/clear.css | 3 - plugins/TakeATour/css/roma.css | 109 - .../js/custom-bootstrap-tour-standalone.js | 1301 ----------- plugins/TakeATour/js/custom.patch | 43 - .../TakeATour/language/bg_BG/description.txt | 1 - plugins/TakeATour/language/bg_BG/index.php | 7 - .../TakeATour/language/bg_BG/plugin.lang.php | 36 - .../language/bg_BG/tour_2_7_0.lang.php | 45 - .../TakeATour/language/ca_ES/description.txt | 1 - plugins/TakeATour/language/ca_ES/index.php | 7 - .../TakeATour/language/ca_ES/plugin.lang.php | 36 - .../language/ca_ES/tour_2_7_0.lang.php | 44 - .../ca_ES/tour_first_contact.lang.php | 54 - .../language/ca_ES/tour_privacy.lang.php | 17 - .../TakeATour/language/cs_CZ/description.txt | 1 - plugins/TakeATour/language/cs_CZ/index.php | 33 - .../TakeATour/language/cs_CZ/plugin.lang.php | 15 - .../language/cs_CZ/tour_2_7_0.lang.php | 23 - .../cs_CZ/tour_first_contact.lang.php | 76 - .../TakeATour/language/da_DK/description.txt | 1 - plugins/TakeATour/language/da_DK/index.php | 7 - .../TakeATour/language/da_DK/plugin.lang.php | 39 - .../language/da_DK/tour_2_7_0.lang.php | 23 - .../da_DK/tour_first_contact.lang.php | 76 - .../language/da_DK/tour_privacy.lang.php | 49 - .../TakeATour/language/de_DE/description.txt | 1 - plugins/TakeATour/language/de_DE/index.php | 7 - .../TakeATour/language/de_DE/plugin.lang.php | 39 - .../language/de_DE/tour_2_7_0.lang.php | 23 - .../de_DE/tour_first_contact.lang.php | 76 - .../language/de_DE/tour_privacy.lang.php | 46 - .../TakeATour/language/el_GR/description.txt | 1 - plugins/TakeATour/language/el_GR/index.php | 7 - .../TakeATour/language/el_GR/plugin.lang.php | 40 - .../language/el_GR/tour_2_7_0.lang.php | 23 - .../el_GR/tour_first_contact.lang.php | 77 - .../language/el_GR/tour_privacy.lang.php | 46 - .../TakeATour/language/en_UK/description.txt | 1 - plugins/TakeATour/language/en_UK/index.php | 33 - .../TakeATour/language/en_UK/plugin.lang.php | 15 - .../language/en_UK/tour_2_7_0.lang.php | 23 - .../en_UK/tour_first_contact.lang.php | 76 - .../language/en_UK/tour_privacy.lang.php | 49 - .../TakeATour/language/eo_EO/description.txt | 1 - plugins/TakeATour/language/eo_EO/index.php | 7 - .../TakeATour/language/eo_EO/plugin.lang.php | 37 - .../language/eo_EO/tour_2_7_0.lang.php | 23 - .../eo_EO/tour_first_contact.lang.php | 43 - .../TakeATour/language/es_ES/description.txt | 1 - plugins/TakeATour/language/es_ES/index.php | 7 - .../TakeATour/language/es_ES/plugin.lang.php | 40 - .../language/es_ES/tour_2_7_0.lang.php | 23 - .../es_ES/tour_first_contact.lang.php | 77 - .../language/es_ES/tour_privacy.lang.php | 46 - .../TakeATour/language/et_EE/description.txt | 1 - plugins/TakeATour/language/et_EE/index.php | 7 - .../TakeATour/language/et_EE/plugin.lang.php | 36 - .../language/et_EE/tour_2_7_0.lang.php | 41 - .../TakeATour/language/fi_FI/description.txt | 1 - plugins/TakeATour/language/fi_FI/index.php | 7 - .../TakeATour/language/fi_FI/plugin.lang.php | 36 - .../language/fi_FI/tour_2_7_0.lang.php | 44 - .../TakeATour/language/fr_FR/description.txt | 1 - plugins/TakeATour/language/fr_FR/index.php | 33 - .../TakeATour/language/fr_FR/plugin.lang.php | 18 - .../language/fr_FR/tour_2_7_0.lang.php | 23 - .../fr_FR/tour_first_contact.lang.php | 76 - .../language/fr_FR/tour_privacy.lang.php | 46 - plugins/TakeATour/language/hu_HU/index.php | 7 - .../TakeATour/language/hu_HU/plugin.lang.php | 29 - plugins/TakeATour/language/index.php | 7 - .../TakeATour/language/it_IT/description.txt | 1 - plugins/TakeATour/language/it_IT/index.php | 7 - .../TakeATour/language/it_IT/plugin.lang.php | 39 - .../language/it_IT/tour_2_7_0.lang.php | 23 - .../it_IT/tour_first_contact.lang.php | 76 - .../language/it_IT/tour_privacy.lang.php | 46 - .../TakeATour/language/lv_LV/description.txt | 1 - plugins/TakeATour/language/lv_LV/index.php | 7 - .../TakeATour/language/lv_LV/plugin.lang.php | 39 - .../language/lv_LV/tour_2_7_0.lang.php | 23 - .../lv_LV/tour_first_contact.lang.php | 76 - .../language/lv_LV/tour_privacy.lang.php | 46 - .../TakeATour/language/nb_NO/description.txt | 1 - plugins/TakeATour/language/nb_NO/index.php | 7 - .../TakeATour/language/nb_NO/plugin.lang.php | 36 - .../language/nb_NO/tour_2_7_0.lang.php | 44 - .../nb_NO/tour_first_contact.lang.php | 80 - .../language/nb_NO/tour_privacy.lang.php | 66 - .../TakeATour/language/nl_NL/description.txt | 1 - plugins/TakeATour/language/nl_NL/index.php | 7 - .../TakeATour/language/nl_NL/plugin.lang.php | 39 - .../language/nl_NL/tour_2_7_0.lang.php | 23 - .../nl_NL/tour_first_contact.lang.php | 74 - .../language/nl_NL/tour_privacy.lang.php | 46 - .../TakeATour/language/pl_PL/description.txt | 1 - plugins/TakeATour/language/pl_PL/index.php | 7 - .../TakeATour/language/pl_PL/plugin.lang.php | 38 - .../language/pl_PL/tour_2_7_0.lang.php | 23 - .../pl_PL/tour_first_contact.lang.php | 56 - .../language/pl_PL/tour_privacy.lang.php | 3 - .../TakeATour/language/pt_BR/description.txt | 1 - plugins/TakeATour/language/pt_BR/index.php | 7 - .../TakeATour/language/pt_BR/plugin.lang.php | 39 - .../language/pt_BR/tour_2_7_0.lang.php | 23 - .../pt_BR/tour_first_contact.lang.php | 76 - .../language/pt_BR/tour_privacy.lang.php | 46 - .../TakeATour/language/pt_PT/description.txt | 1 - plugins/TakeATour/language/pt_PT/index.php | 7 - .../TakeATour/language/pt_PT/plugin.lang.php | 38 - .../language/pt_PT/tour_2_7_0.lang.php | 23 - .../pt_PT/tour_first_contact.lang.php | 76 - plugins/TakeATour/language/ro_RO/index.php | 7 - .../TakeATour/language/ro_RO/plugin.lang.php | 37 - .../language/ro_RO/tour_2_7_0.lang.php | 12 - .../ro_RO/tour_first_contact.lang.php | 22 - .../language/ro_RO/tour_privacy.lang.php | 18 - .../TakeATour/language/ru_RU/description.txt | 2 - plugins/TakeATour/language/ru_RU/index.php | 7 - .../TakeATour/language/ru_RU/plugin.lang.php | 18 - .../language/ru_RU/tour_2_7_0.lang.php | 23 - .../ru_RU/tour_first_contact.lang.php | 76 - .../language/ru_RU/tour_privacy.lang.php | 47 - .../TakeATour/language/sk_SK/description.txt | 1 - plugins/TakeATour/language/sk_SK/index.php | 7 - .../TakeATour/language/sk_SK/plugin.lang.php | 36 - .../language/sk_SK/tour_2_7_0.lang.php | 44 - .../sk_SK/tour_first_contact.lang.php | 59 - .../TakeATour/language/sl_SI/description.txt | 1 - plugins/TakeATour/language/sl_SI/index.php | 7 - .../TakeATour/language/sl_SI/plugin.lang.php | 39 - .../language/sl_SI/tour_2_7_0.lang.php | 24 - .../sl_SI/tour_first_contact.lang.php | 18 - .../TakeATour/language/sr_RS/description.txt | 1 - plugins/TakeATour/language/sr_RS/index.php | 7 - .../TakeATour/language/sr_RS/plugin.lang.php | 36 - .../language/sr_RS/tour_2_7_0.lang.php | 44 - .../TakeATour/language/sv_SE/description.txt | 2 - plugins/TakeATour/language/sv_SE/index.php | 7 - .../TakeATour/language/sv_SE/plugin.lang.php | 37 - .../language/sv_SE/tour_2_7_0.lang.php | 23 - .../sv_SE/tour_first_contact.lang.php | 19 - .../TakeATour/language/tr_TR/description.txt | 1 - plugins/TakeATour/language/tr_TR/index.php | 7 - .../TakeATour/language/tr_TR/plugin.lang.php | 37 - .../language/tr_TR/tour_2_7_0.lang.php | 44 - .../tr_TR/tour_first_contact.lang.php | 33 - .../TakeATour/language/uk_UA/description.txt | 1 - plugins/TakeATour/language/uk_UA/index.php | 7 - .../TakeATour/language/uk_UA/plugin.lang.php | 38 - .../language/uk_UA/tour_2_7_0.lang.php | 23 - .../uk_UA/tour_first_contact.lang.php | 76 - .../language/uk_UA/tour_privacy.lang.php | 66 - .../TakeATour/language/vi_VN/description.txt | 3 - plugins/TakeATour/language/vi_VN/index.php | 7 - .../TakeATour/language/vi_VN/plugin.lang.php | 37 - .../language/vi_VN/tour_2_7_0.lang.php | 23 - .../vi_VN/tour_first_contact.lang.php | 81 - .../TakeATour/language/zh_CN/description.txt | 1 - plugins/TakeATour/language/zh_CN/index.php | 7 - .../TakeATour/language/zh_CN/plugin.lang.php | 39 - .../language/zh_CN/tour_2_7_0.lang.php | 23 - .../zh_CN/tour_first_contact.lang.php | 76 - .../language/zh_CN/tour_privacy.lang.php | 46 - plugins/TakeATour/language/zh_TW/index.php | 7 - .../language/zh_TW/tour_2_7_0.lang.php | 26 - plugins/TakeATour/main.inc.php | 122 -- plugins/TakeATour/tours/2_7_0/config.inc.php | 42 - plugins/TakeATour/tours/2_7_0/tour.tpl | 98 - .../tours/first_contact/config.inc.php | 175 -- .../TakeATour/tours/first_contact/tour.tpl | 310 --- .../tours/first_contact/tour.tpl.bak | 347 --- .../TakeATour/tours/privacy/config.inc.php | 71 - plugins/TakeATour/tours/privacy/tour.tpl | 195 -- plugins/TakeATour/tours/scaling/scaling.tpl | 89 - plugins/TakeATour/tpl/admin.tpl | 39 - plugins/TakeATour/tpl/js_css.tpl | 4 - plugins/language_switch/flag_sprite.jpg | Bin 120557 -> 0 bytes .../language_switch/flag_sprite_original.png | Bin 147350 -> 0 bytes plugins/language_switch/flags.tpl | 33 - plugins/language_switch/index.php | 30 - .../language/af_ZA/description.txt | 1 - .../language_switch/language/af_ZA/index.php | 7 - .../language/ar_SA/description.txt | 1 - .../language_switch/language/ar_SA/index.php | 30 - .../language/bg_BG/description.txt | 2 - .../language_switch/language/bg_BG/index.php | 7 - .../language/br_FR/description.txt | 1 - .../language/ca_ES/description.txt | 1 - .../language/cs_CZ/description.txt | 1 - .../language_switch/language/cs_CZ/index.php | 30 - .../language/da_DK/description.txt | 1 - .../language/de_DE/description.txt | 1 - .../language_switch/language/de_DE/index.php | 30 - .../language/el_GR/description.txt | 1 - .../language/en_UK/description.txt | 1 - .../language_switch/language/en_UK/index.php | 30 - .../language/eo_EO/description.txt | 1 - .../language/es_ES/description.txt | 1 - .../language_switch/language/es_ES/index.php | 30 - .../language/et_EE/description.txt | 1 - .../language_switch/language/et_EE/index.php | 7 - .../language/fa_IR/description.txt | 1 - .../language_switch/language/fa_IR/index.php | 7 - .../language/fi_FI/description.txt | 1 - .../language/fr_CA/description.txt | 1 - .../language_switch/language/fr_CA/index.php | 30 - .../language/fr_FR/description.txt | 1 - .../language_switch/language/fr_FR/index.php | 30 - .../language/gl_ES/description.txt | 1 - .../language/he_IL/description.txt | 1 - .../language_switch/language/he_IL/index.php | 30 - .../language/hr_HR/description.txt | 1 - .../language_switch/language/hr_HR/index.php | 30 - .../language/hu_HU/description.txt | 1 - .../language_switch/language/hu_HU/index.php | 30 - plugins/language_switch/language/index.php | 30 - .../language/it_IT/description.txt | 1 - .../language_switch/language/it_IT/index.php | 30 - .../language/ja_JP/description.txt | 1 - .../language_switch/language/ja_JP/index.php | 30 - .../language/ka_GE/description.txt | 1 - .../language_switch/language/ka_GE/index.php | 30 - .../language/km_KH/description.txt | 1 - .../language_switch/language/km_KH/index.php | 7 - .../language/kn_IN/description.txt | 1 - .../language/lt_LT/description.txt | 1 - .../language/lv_LV/description.txt | 1 - .../language_switch/language/lv_LV/index.php | 30 - .../language/mn_MN/description.txt | 1 - .../language_switch/language/mn_MN/index.php | 7 - .../language/nb_NO/description.txt | 1 - .../language_switch/language/nb_NO/index.php | 30 - .../language/nl_NL/description.txt | 1 - .../language_switch/language/nl_NL/index.php | 30 - .../language/nn_NO/description.txt | 1 - .../language/pl_PL/description.txt | 1 - .../language_switch/language/pl_PL/index.php | 30 - .../language/pt_BR/description.txt | 1 - .../language_switch/language/pt_BR/index.php | 7 - .../language/pt_PT/description.txt | 1 - .../language_switch/language/pt_PT/index.php | 30 - .../language/ro_RO/description.txt | 1 - .../language/ru_RU/description.txt | 1 - .../language_switch/language/ru_RU/index.php | 30 - .../language/sh_RS/description.txt | 1 - .../language/sk_SK/description.txt | 1 - .../language_switch/language/sk_SK/index.php | 30 - .../language/sl_SI/description.txt | 1 - .../language/sr_RS/description.txt | 1 - .../language_switch/language/sr_RS/index.php | 30 - .../language/sv_SE/description.txt | 1 - .../language_switch/language/sv_SE/index.php | 30 - .../language/ta_IN/description.txt | 1 - .../language/th_TH/description.txt | 1 - .../language_switch/language/th_TH/index.php | 30 - .../language/tr_TR/description.txt | 1 - .../language_switch/language/tr_TR/index.php | 30 - .../language/uk_UA/description.txt | 1 - .../language/vi_VN/description.txt | 1 - .../language_switch/language/vi_VN/index.php | 30 - .../language/zh_CN/description.txt | 1 - .../language_switch/language/zh_CN/index.php | 30 - .../language/zh_HK/description.txt | 1 - .../language/zh_TW/description.txt | 1 - .../language_switch/language/zh_TW/index.php | 30 - plugins/language_switch/language_switch.css | 274 --- .../language_switch/language_switch.inc.php | 140 -- plugins/language_switch/main.inc.php | 42 - plugins/language_switch/style.css | 29 - 610 files changed, 22725 deletions(-) delete mode 100644 plugins/AdminTools/admin.php delete mode 100644 plugins/AdminTools/include/MultiView.class.php delete mode 100644 plugins/AdminTools/include/events.inc.php delete mode 100644 plugins/AdminTools/include/index.php delete mode 100644 plugins/AdminTools/index.php delete mode 100755 plugins/AdminTools/language/ar_SA/description.txt delete mode 100644 plugins/AdminTools/language/ar_SA/index.php delete mode 100755 plugins/AdminTools/language/ar_SA/plugin.lang.php delete mode 100755 plugins/AdminTools/language/bg_BG/description.txt delete mode 100644 plugins/AdminTools/language/bg_BG/index.php delete mode 100755 plugins/AdminTools/language/bg_BG/plugin.lang.php delete mode 100755 plugins/AdminTools/language/br_FR/description.txt delete mode 100644 plugins/AdminTools/language/br_FR/index.php delete mode 100755 plugins/AdminTools/language/br_FR/plugin.lang.php delete mode 100755 plugins/AdminTools/language/ca_ES/description.txt delete mode 100644 plugins/AdminTools/language/ca_ES/index.php delete mode 100755 plugins/AdminTools/language/ca_ES/plugin.lang.php delete mode 100644 plugins/AdminTools/language/cs_CZ/description.txt delete mode 100644 plugins/AdminTools/language/cs_CZ/index.php delete mode 100644 plugins/AdminTools/language/cs_CZ/plugin.lang.php delete mode 100755 plugins/AdminTools/language/da_DK/description.txt delete mode 100644 plugins/AdminTools/language/da_DK/index.php delete mode 100755 plugins/AdminTools/language/da_DK/plugin.lang.php delete mode 100755 plugins/AdminTools/language/de_DE/description.txt delete mode 100644 plugins/AdminTools/language/de_DE/index.php delete mode 100755 plugins/AdminTools/language/de_DE/plugin.lang.php delete mode 100755 plugins/AdminTools/language/el_GR/description.txt delete mode 100644 plugins/AdminTools/language/el_GR/index.php delete mode 100755 plugins/AdminTools/language/el_GR/plugin.lang.php delete mode 100644 plugins/AdminTools/language/en_UK/description.txt delete mode 100644 plugins/AdminTools/language/en_UK/index.php delete mode 100644 plugins/AdminTools/language/en_UK/plugin.lang.php delete mode 100755 plugins/AdminTools/language/eo_EO/description.txt delete mode 100644 plugins/AdminTools/language/eo_EO/index.php delete mode 100755 plugins/AdminTools/language/eo_EO/plugin.lang.php delete mode 100755 plugins/AdminTools/language/es_ES/description.txt delete mode 100644 plugins/AdminTools/language/es_ES/index.php delete mode 100755 plugins/AdminTools/language/es_ES/plugin.lang.php delete mode 100755 plugins/AdminTools/language/et_EE/description.txt delete mode 100644 plugins/AdminTools/language/et_EE/index.php delete mode 100755 plugins/AdminTools/language/et_EE/plugin.lang.php delete mode 100755 plugins/AdminTools/language/fa_IR/description.txt delete mode 100644 plugins/AdminTools/language/fa_IR/index.php delete mode 100755 plugins/AdminTools/language/fa_IR/plugin.lang.php delete mode 100755 plugins/AdminTools/language/fi_FI/description.txt delete mode 100644 plugins/AdminTools/language/fi_FI/index.php delete mode 100755 plugins/AdminTools/language/fi_FI/plugin.lang.php delete mode 100644 plugins/AdminTools/language/fr_CA/description.txt delete mode 100644 plugins/AdminTools/language/fr_CA/index.php delete mode 100644 plugins/AdminTools/language/fr_CA/plugin.lang.php delete mode 100644 plugins/AdminTools/language/fr_FR/description.txt delete mode 100644 plugins/AdminTools/language/fr_FR/index.php delete mode 100644 plugins/AdminTools/language/fr_FR/plugin.lang.php delete mode 100644 plugins/AdminTools/language/gl_ES/description.txt delete mode 100644 plugins/AdminTools/language/gl_ES/index.php delete mode 100644 plugins/AdminTools/language/gl_ES/plugin.lang.php delete mode 100755 plugins/AdminTools/language/he_IL/description.txt delete mode 100644 plugins/AdminTools/language/he_IL/index.php delete mode 100755 plugins/AdminTools/language/he_IL/plugin.lang.php delete mode 100644 plugins/AdminTools/language/hu_HU/description.txt delete mode 100644 plugins/AdminTools/language/hu_HU/index.php delete mode 100755 plugins/AdminTools/language/hu_HU/plugin.lang.php delete mode 100644 plugins/AdminTools/language/index.php delete mode 100755 plugins/AdminTools/language/it_IT/description.txt delete mode 100644 plugins/AdminTools/language/it_IT/index.php delete mode 100755 plugins/AdminTools/language/it_IT/plugin.lang.php delete mode 100644 plugins/AdminTools/language/ja_JP/index.php delete mode 100644 plugins/AdminTools/language/ja_JP/plugin.lang.php delete mode 100755 plugins/AdminTools/language/km_KH/description.txt delete mode 100644 plugins/AdminTools/language/km_KH/index.php delete mode 100755 plugins/AdminTools/language/km_KH/plugin.lang.php delete mode 100755 plugins/AdminTools/language/lt_LT/description.txt delete mode 100644 plugins/AdminTools/language/lt_LT/index.php delete mode 100755 plugins/AdminTools/language/lt_LT/plugin.lang.php delete mode 100755 plugins/AdminTools/language/lv_LV/description.txt delete mode 100644 plugins/AdminTools/language/lv_LV/index.php delete mode 100755 plugins/AdminTools/language/lv_LV/plugin.lang.php delete mode 100755 plugins/AdminTools/language/mn_MN/description.txt delete mode 100644 plugins/AdminTools/language/mn_MN/index.php delete mode 100755 plugins/AdminTools/language/mn_MN/plugin.lang.php delete mode 100755 plugins/AdminTools/language/nb_NO/description.txt delete mode 100644 plugins/AdminTools/language/nb_NO/index.php delete mode 100755 plugins/AdminTools/language/nb_NO/plugin.lang.php delete mode 100755 plugins/AdminTools/language/nl_NL/description.txt delete mode 100644 plugins/AdminTools/language/nl_NL/index.php delete mode 100755 plugins/AdminTools/language/nl_NL/plugin.lang.php delete mode 100755 plugins/AdminTools/language/pl_PL/description.txt delete mode 100644 plugins/AdminTools/language/pl_PL/index.php delete mode 100755 plugins/AdminTools/language/pl_PL/plugin.lang.php delete mode 100755 plugins/AdminTools/language/pt_BR/description.txt delete mode 100644 plugins/AdminTools/language/pt_BR/index.php delete mode 100755 plugins/AdminTools/language/pt_BR/plugin.lang.php delete mode 100755 plugins/AdminTools/language/pt_PT/description.txt delete mode 100644 plugins/AdminTools/language/pt_PT/index.php delete mode 100755 plugins/AdminTools/language/pt_PT/plugin.lang.php delete mode 100755 plugins/AdminTools/language/ro_RO/description.txt delete mode 100644 plugins/AdminTools/language/ro_RO/index.php delete mode 100755 plugins/AdminTools/language/ro_RO/plugin.lang.php delete mode 100755 plugins/AdminTools/language/ru_RU/description.txt delete mode 100644 plugins/AdminTools/language/ru_RU/index.php delete mode 100755 plugins/AdminTools/language/ru_RU/plugin.lang.php delete mode 100755 plugins/AdminTools/language/sh_RS/description.txt delete mode 100644 plugins/AdminTools/language/sh_RS/index.php delete mode 100755 plugins/AdminTools/language/sh_RS/plugin.lang.php delete mode 100755 plugins/AdminTools/language/sk_SK/description.txt delete mode 100644 plugins/AdminTools/language/sk_SK/index.php delete mode 100755 plugins/AdminTools/language/sk_SK/plugin.lang.php delete mode 100755 plugins/AdminTools/language/sl_SI/description.txt delete mode 100644 plugins/AdminTools/language/sl_SI/index.php delete mode 100755 plugins/AdminTools/language/sl_SI/plugin.lang.php delete mode 100755 plugins/AdminTools/language/sr_RS/description.txt delete mode 100644 plugins/AdminTools/language/sr_RS/index.php delete mode 100755 plugins/AdminTools/language/sr_RS/plugin.lang.php delete mode 100755 plugins/AdminTools/language/sv_SE/description.txt delete mode 100644 plugins/AdminTools/language/sv_SE/index.php delete mode 100755 plugins/AdminTools/language/sv_SE/plugin.lang.php delete mode 100755 plugins/AdminTools/language/ta_IN/description.txt delete mode 100644 plugins/AdminTools/language/ta_IN/index.php delete mode 100755 plugins/AdminTools/language/ta_IN/plugin.lang.php delete mode 100755 plugins/AdminTools/language/tr_TR/description.txt delete mode 100644 plugins/AdminTools/language/tr_TR/index.php delete mode 100755 plugins/AdminTools/language/tr_TR/plugin.lang.php delete mode 100755 plugins/AdminTools/language/uk_UA/description.txt delete mode 100644 plugins/AdminTools/language/uk_UA/index.php delete mode 100755 plugins/AdminTools/language/uk_UA/plugin.lang.php delete mode 100644 plugins/AdminTools/language/vi_VN/description.txt delete mode 100644 plugins/AdminTools/language/vi_VN/index.php delete mode 100755 plugins/AdminTools/language/vi_VN/plugin.lang.php delete mode 100755 plugins/AdminTools/language/zh_CN/description.txt delete mode 100644 plugins/AdminTools/language/zh_CN/index.php delete mode 100755 plugins/AdminTools/language/zh_CN/plugin.lang.php delete mode 100755 plugins/AdminTools/language/zh_HK/description.txt delete mode 100644 plugins/AdminTools/language/zh_HK/index.php delete mode 100755 plugins/AdminTools/language/zh_HK/plugin.lang.php delete mode 100755 plugins/AdminTools/language/zh_TW/description.txt delete mode 100644 plugins/AdminTools/language/zh_TW/index.php delete mode 100755 plugins/AdminTools/language/zh_TW/plugin.lang.php delete mode 100644 plugins/AdminTools/main.inc.php delete mode 100644 plugins/AdminTools/maintain.class.php delete mode 100644 plugins/AdminTools/template/admin.tpl delete mode 100644 plugins/AdminTools/template/admin_controller.js delete mode 100644 plugins/AdminTools/template/admin_controller.tpl delete mode 100644 plugins/AdminTools/template/admin_style.css delete mode 100644 plugins/AdminTools/template/fontello/LICENSE.txt delete mode 100644 plugins/AdminTools/template/fontello/README.txt delete mode 100644 plugins/AdminTools/template/fontello/config.json delete mode 100644 plugins/AdminTools/template/fontello/css/animation.css delete mode 100644 plugins/AdminTools/template/fontello/css/fontello-ato-codes.css delete mode 100644 plugins/AdminTools/template/fontello/css/fontello-ato-embedded.css delete mode 100644 plugins/AdminTools/template/fontello/css/fontello-ato-ie7-codes.css delete mode 100644 plugins/AdminTools/template/fontello/css/fontello-ato-ie7.css delete mode 100644 plugins/AdminTools/template/fontello/css/fontello-ato.css delete mode 100644 plugins/AdminTools/template/fontello/demo.html delete mode 100644 plugins/AdminTools/template/fontello/font/fontello-ato.eot delete mode 100644 plugins/AdminTools/template/fontello/font/fontello-ato.svg delete mode 100644 plugins/AdminTools/template/fontello/font/fontello-ato.ttf delete mode 100644 plugins/AdminTools/template/fontello/font/fontello-ato.woff delete mode 100644 plugins/AdminTools/template/index.php delete mode 100644 plugins/AdminTools/template/mousetrap.min.js delete mode 100644 plugins/AdminTools/template/public_controller.js delete mode 100644 plugins/AdminTools/template/public_controller.tpl delete mode 100644 plugins/AdminTools/template/public_style.css delete mode 100644 plugins/LocalFilesEditor/admin.php delete mode 100644 plugins/LocalFilesEditor/codemirror/lib/codemirror.css delete mode 100644 plugins/LocalFilesEditor/codemirror/lib/codemirror.js delete mode 100644 plugins/LocalFilesEditor/codemirror/lib/overlay.js delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/clike/clike.css delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/clike/clike.js delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/clike/index.html delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/css/css.css delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/css/css.js delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/css/index.html delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/diff/diff.css delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/diff/diff.js delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/diff/index.html delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/haskell/haskell.css delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/haskell/haskell.js delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/haskell/index.html delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/htmlmixed/htmlmixed.js delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/htmlmixed/index.html delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/javascript/index.html delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.css delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.js delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/php/index.html delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/php/php.js delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/stex/index.html delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/stex/stex.css delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/stex/stex.js delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/xml/index.html delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/xml/xml.css delete mode 100644 plugins/LocalFilesEditor/codemirror/mode/xml/xml.js delete mode 100644 plugins/LocalFilesEditor/include/css.inc.php delete mode 100644 plugins/LocalFilesEditor/include/functions.inc.php delete mode 100644 plugins/LocalFilesEditor/include/lang.inc.php delete mode 100644 plugins/LocalFilesEditor/include/localconf.inc.php delete mode 100644 plugins/LocalFilesEditor/include/plug.inc.php delete mode 100644 plugins/LocalFilesEditor/include/tpl.inc.php delete mode 100644 plugins/LocalFilesEditor/index.php delete mode 100755 plugins/LocalFilesEditor/language/af_ZA/description.txt delete mode 100644 plugins/LocalFilesEditor/language/af_ZA/index.php delete mode 100755 plugins/LocalFilesEditor/language/af_ZA/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/ar_SA/description.txt delete mode 100644 plugins/LocalFilesEditor/language/ar_SA/index.php delete mode 100644 plugins/LocalFilesEditor/language/ar_SA/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/bg_BG/description.txt delete mode 100644 plugins/LocalFilesEditor/language/bg_BG/index.php delete mode 100755 plugins/LocalFilesEditor/language/bg_BG/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/br_FR/description.txt delete mode 100644 plugins/LocalFilesEditor/language/br_FR/index.php delete mode 100755 plugins/LocalFilesEditor/language/br_FR/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/ca_ES/description.txt delete mode 100755 plugins/LocalFilesEditor/language/ca_ES/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/cs_CZ/description.txt delete mode 100644 plugins/LocalFilesEditor/language/cs_CZ/index.php delete mode 100644 plugins/LocalFilesEditor/language/cs_CZ/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/da_DK/description.txt delete mode 100755 plugins/LocalFilesEditor/language/da_DK/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/de_DE/description.txt delete mode 100644 plugins/LocalFilesEditor/language/de_DE/index.php delete mode 100644 plugins/LocalFilesEditor/language/de_DE/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/el_GR/description.txt delete mode 100755 plugins/LocalFilesEditor/language/el_GR/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/en_UK/description.txt delete mode 100644 plugins/LocalFilesEditor/language/en_UK/index.php delete mode 100644 plugins/LocalFilesEditor/language/en_UK/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/eo_EO/description.txt delete mode 100755 plugins/LocalFilesEditor/language/eo_EO/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/es_ES/description.txt delete mode 100644 plugins/LocalFilesEditor/language/es_ES/index.php delete mode 100644 plugins/LocalFilesEditor/language/es_ES/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/et_EE/description.txt delete mode 100644 plugins/LocalFilesEditor/language/et_EE/index.php delete mode 100755 plugins/LocalFilesEditor/language/et_EE/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/fa_IR/description.txt delete mode 100644 plugins/LocalFilesEditor/language/fa_IR/index.php delete mode 100755 plugins/LocalFilesEditor/language/fa_IR/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/fi_FI/description.txt delete mode 100755 plugins/LocalFilesEditor/language/fi_FI/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/fr_CA/description.txt delete mode 100644 plugins/LocalFilesEditor/language/fr_CA/index.php delete mode 100644 plugins/LocalFilesEditor/language/fr_CA/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/fr_FR/description.txt delete mode 100644 plugins/LocalFilesEditor/language/fr_FR/index.php delete mode 100644 plugins/LocalFilesEditor/language/fr_FR/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/gl_ES/description.txt delete mode 100755 plugins/LocalFilesEditor/language/gl_ES/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/he_IL/description.txt delete mode 100644 plugins/LocalFilesEditor/language/he_IL/index.php delete mode 100644 plugins/LocalFilesEditor/language/he_IL/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/hr_HR/description.txt delete mode 100644 plugins/LocalFilesEditor/language/hr_HR/index.php delete mode 100644 plugins/LocalFilesEditor/language/hr_HR/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/hu_HU/description.txt delete mode 100644 plugins/LocalFilesEditor/language/hu_HU/index.php delete mode 100644 plugins/LocalFilesEditor/language/hu_HU/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/index.php delete mode 100644 plugins/LocalFilesEditor/language/it_IT/description.txt delete mode 100644 plugins/LocalFilesEditor/language/it_IT/index.php delete mode 100644 plugins/LocalFilesEditor/language/it_IT/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/ja_JP/description.txt delete mode 100644 plugins/LocalFilesEditor/language/ja_JP/index.php delete mode 100644 plugins/LocalFilesEditor/language/ja_JP/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/ka_GE/description.txt delete mode 100644 plugins/LocalFilesEditor/language/ka_GE/index.php delete mode 100644 plugins/LocalFilesEditor/language/ka_GE/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/kn_IN/description.txt delete mode 100755 plugins/LocalFilesEditor/language/kn_IN/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/lt_LT/description.txt delete mode 100755 plugins/LocalFilesEditor/language/lt_LT/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/lv_LV/description.txt delete mode 100644 plugins/LocalFilesEditor/language/lv_LV/index.php delete mode 100644 plugins/LocalFilesEditor/language/lv_LV/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/mn_MN/description.txt delete mode 100644 plugins/LocalFilesEditor/language/mn_MN/index.php delete mode 100755 plugins/LocalFilesEditor/language/mn_MN/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/nb_NO/description.txt delete mode 100644 plugins/LocalFilesEditor/language/nb_NO/index.php delete mode 100644 plugins/LocalFilesEditor/language/nb_NO/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/nl_NL/description.txt delete mode 100644 plugins/LocalFilesEditor/language/nl_NL/index.php delete mode 100644 plugins/LocalFilesEditor/language/nl_NL/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/nn_NO/description.txt delete mode 100755 plugins/LocalFilesEditor/language/nn_NO/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/pl_PL/description.txt delete mode 100644 plugins/LocalFilesEditor/language/pl_PL/index.php delete mode 100644 plugins/LocalFilesEditor/language/pl_PL/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/pt_BR/description.txt delete mode 100644 plugins/LocalFilesEditor/language/pt_BR/index.php delete mode 100755 plugins/LocalFilesEditor/language/pt_BR/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/pt_PT/description.txt delete mode 100644 plugins/LocalFilesEditor/language/pt_PT/index.php delete mode 100644 plugins/LocalFilesEditor/language/pt_PT/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/ro_RO/description.txt delete mode 100755 plugins/LocalFilesEditor/language/ro_RO/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/ru_RU/description.txt delete mode 100644 plugins/LocalFilesEditor/language/ru_RU/index.php delete mode 100644 plugins/LocalFilesEditor/language/ru_RU/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/sh_RS/description.txt delete mode 100755 plugins/LocalFilesEditor/language/sh_RS/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/sk_SK/description.txt delete mode 100644 plugins/LocalFilesEditor/language/sk_SK/index.php delete mode 100644 plugins/LocalFilesEditor/language/sk_SK/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/sl_SI/description.txt delete mode 100755 plugins/LocalFilesEditor/language/sl_SI/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/sr_RS/description.txt delete mode 100644 plugins/LocalFilesEditor/language/sr_RS/index.php delete mode 100644 plugins/LocalFilesEditor/language/sr_RS/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/sv_SE/description.txt delete mode 100644 plugins/LocalFilesEditor/language/sv_SE/index.php delete mode 100644 plugins/LocalFilesEditor/language/sv_SE/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/ta_IN/description.txt delete mode 100755 plugins/LocalFilesEditor/language/ta_IN/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/th_TH/description.txt delete mode 100644 plugins/LocalFilesEditor/language/th_TH/index.php delete mode 100644 plugins/LocalFilesEditor/language/th_TH/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/tr_TR/description.txt delete mode 100644 plugins/LocalFilesEditor/language/tr_TR/index.php delete mode 100644 plugins/LocalFilesEditor/language/tr_TR/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/uk_UA/description.txt delete mode 100644 plugins/LocalFilesEditor/language/uk_UA/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/vi_VN/description.txt delete mode 100644 plugins/LocalFilesEditor/language/vi_VN/index.php delete mode 100644 plugins/LocalFilesEditor/language/vi_VN/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/zh_CN/description.txt delete mode 100644 plugins/LocalFilesEditor/language/zh_CN/index.php delete mode 100644 plugins/LocalFilesEditor/language/zh_CN/plugin.lang.php delete mode 100755 plugins/LocalFilesEditor/language/zh_HK/description.txt delete mode 100755 plugins/LocalFilesEditor/language/zh_HK/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/language/zh_TW/description.txt delete mode 100644 plugins/LocalFilesEditor/language/zh_TW/index.php delete mode 100644 plugins/LocalFilesEditor/language/zh_TW/plugin.lang.php delete mode 100644 plugins/LocalFilesEditor/main.inc.php delete mode 100644 plugins/LocalFilesEditor/maintain.inc.php delete mode 100644 plugins/LocalFilesEditor/show_default.php delete mode 100644 plugins/LocalFilesEditor/template/admin.tpl delete mode 100644 plugins/LocalFilesEditor/template/locfiledit.css delete mode 100644 plugins/LocalFilesEditor/template/show_default.tpl delete mode 100644 plugins/TakeATour/admin.php delete mode 100644 plugins/TakeATour/css/admin.css delete mode 100644 plugins/TakeATour/css/bootstrap-tour-standalone.css delete mode 100644 plugins/TakeATour/css/clear.css delete mode 100644 plugins/TakeATour/css/roma.css delete mode 100644 plugins/TakeATour/js/custom-bootstrap-tour-standalone.js delete mode 100644 plugins/TakeATour/js/custom.patch delete mode 100755 plugins/TakeATour/language/bg_BG/description.txt delete mode 100644 plugins/TakeATour/language/bg_BG/index.php delete mode 100755 plugins/TakeATour/language/bg_BG/plugin.lang.php delete mode 100644 plugins/TakeATour/language/bg_BG/tour_2_7_0.lang.php delete mode 100755 plugins/TakeATour/language/ca_ES/description.txt delete mode 100644 plugins/TakeATour/language/ca_ES/index.php delete mode 100755 plugins/TakeATour/language/ca_ES/plugin.lang.php delete mode 100755 plugins/TakeATour/language/ca_ES/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/ca_ES/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/ca_ES/tour_privacy.lang.php delete mode 100644 plugins/TakeATour/language/cs_CZ/description.txt delete mode 100644 plugins/TakeATour/language/cs_CZ/index.php delete mode 100644 plugins/TakeATour/language/cs_CZ/plugin.lang.php delete mode 100644 plugins/TakeATour/language/cs_CZ/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/cs_CZ/tour_first_contact.lang.php delete mode 100755 plugins/TakeATour/language/da_DK/description.txt delete mode 100644 plugins/TakeATour/language/da_DK/index.php delete mode 100755 plugins/TakeATour/language/da_DK/plugin.lang.php delete mode 100644 plugins/TakeATour/language/da_DK/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/da_DK/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/da_DK/tour_privacy.lang.php delete mode 100755 plugins/TakeATour/language/de_DE/description.txt delete mode 100644 plugins/TakeATour/language/de_DE/index.php delete mode 100755 plugins/TakeATour/language/de_DE/plugin.lang.php delete mode 100644 plugins/TakeATour/language/de_DE/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/de_DE/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/de_DE/tour_privacy.lang.php delete mode 100755 plugins/TakeATour/language/el_GR/description.txt delete mode 100644 plugins/TakeATour/language/el_GR/index.php delete mode 100755 plugins/TakeATour/language/el_GR/plugin.lang.php delete mode 100644 plugins/TakeATour/language/el_GR/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/el_GR/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/el_GR/tour_privacy.lang.php delete mode 100644 plugins/TakeATour/language/en_UK/description.txt delete mode 100644 plugins/TakeATour/language/en_UK/index.php delete mode 100644 plugins/TakeATour/language/en_UK/plugin.lang.php delete mode 100644 plugins/TakeATour/language/en_UK/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/en_UK/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/en_UK/tour_privacy.lang.php delete mode 100755 plugins/TakeATour/language/eo_EO/description.txt delete mode 100644 plugins/TakeATour/language/eo_EO/index.php delete mode 100755 plugins/TakeATour/language/eo_EO/plugin.lang.php delete mode 100644 plugins/TakeATour/language/eo_EO/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/eo_EO/tour_first_contact.lang.php delete mode 100755 plugins/TakeATour/language/es_ES/description.txt delete mode 100644 plugins/TakeATour/language/es_ES/index.php delete mode 100755 plugins/TakeATour/language/es_ES/plugin.lang.php delete mode 100644 plugins/TakeATour/language/es_ES/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/es_ES/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/es_ES/tour_privacy.lang.php delete mode 100755 plugins/TakeATour/language/et_EE/description.txt delete mode 100644 plugins/TakeATour/language/et_EE/index.php delete mode 100755 plugins/TakeATour/language/et_EE/plugin.lang.php delete mode 100755 plugins/TakeATour/language/et_EE/tour_2_7_0.lang.php delete mode 100755 plugins/TakeATour/language/fi_FI/description.txt delete mode 100644 plugins/TakeATour/language/fi_FI/index.php delete mode 100755 plugins/TakeATour/language/fi_FI/plugin.lang.php delete mode 100755 plugins/TakeATour/language/fi_FI/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/fr_FR/description.txt delete mode 100644 plugins/TakeATour/language/fr_FR/index.php delete mode 100644 plugins/TakeATour/language/fr_FR/plugin.lang.php delete mode 100644 plugins/TakeATour/language/fr_FR/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/fr_FR/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/fr_FR/tour_privacy.lang.php delete mode 100644 plugins/TakeATour/language/hu_HU/index.php delete mode 100644 plugins/TakeATour/language/hu_HU/plugin.lang.php delete mode 100644 plugins/TakeATour/language/index.php delete mode 100755 plugins/TakeATour/language/it_IT/description.txt delete mode 100644 plugins/TakeATour/language/it_IT/index.php delete mode 100755 plugins/TakeATour/language/it_IT/plugin.lang.php delete mode 100644 plugins/TakeATour/language/it_IT/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/it_IT/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/it_IT/tour_privacy.lang.php delete mode 100755 plugins/TakeATour/language/lv_LV/description.txt delete mode 100644 plugins/TakeATour/language/lv_LV/index.php delete mode 100755 plugins/TakeATour/language/lv_LV/plugin.lang.php delete mode 100644 plugins/TakeATour/language/lv_LV/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/lv_LV/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/lv_LV/tour_privacy.lang.php delete mode 100644 plugins/TakeATour/language/nb_NO/description.txt delete mode 100644 plugins/TakeATour/language/nb_NO/index.php delete mode 100755 plugins/TakeATour/language/nb_NO/plugin.lang.php delete mode 100644 plugins/TakeATour/language/nb_NO/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/nb_NO/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/nb_NO/tour_privacy.lang.php delete mode 100755 plugins/TakeATour/language/nl_NL/description.txt delete mode 100644 plugins/TakeATour/language/nl_NL/index.php delete mode 100755 plugins/TakeATour/language/nl_NL/plugin.lang.php delete mode 100644 plugins/TakeATour/language/nl_NL/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/nl_NL/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/nl_NL/tour_privacy.lang.php delete mode 100755 plugins/TakeATour/language/pl_PL/description.txt delete mode 100644 plugins/TakeATour/language/pl_PL/index.php delete mode 100755 plugins/TakeATour/language/pl_PL/plugin.lang.php delete mode 100644 plugins/TakeATour/language/pl_PL/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/pl_PL/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/pl_PL/tour_privacy.lang.php delete mode 100755 plugins/TakeATour/language/pt_BR/description.txt delete mode 100644 plugins/TakeATour/language/pt_BR/index.php delete mode 100755 plugins/TakeATour/language/pt_BR/plugin.lang.php delete mode 100644 plugins/TakeATour/language/pt_BR/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/pt_BR/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/pt_BR/tour_privacy.lang.php delete mode 100755 plugins/TakeATour/language/pt_PT/description.txt delete mode 100644 plugins/TakeATour/language/pt_PT/index.php delete mode 100755 plugins/TakeATour/language/pt_PT/plugin.lang.php delete mode 100644 plugins/TakeATour/language/pt_PT/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/pt_PT/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/ro_RO/index.php delete mode 100755 plugins/TakeATour/language/ro_RO/plugin.lang.php delete mode 100644 plugins/TakeATour/language/ro_RO/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/ro_RO/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/ro_RO/tour_privacy.lang.php delete mode 100755 plugins/TakeATour/language/ru_RU/description.txt delete mode 100644 plugins/TakeATour/language/ru_RU/index.php delete mode 100755 plugins/TakeATour/language/ru_RU/plugin.lang.php delete mode 100644 plugins/TakeATour/language/ru_RU/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/ru_RU/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/ru_RU/tour_privacy.lang.php delete mode 100755 plugins/TakeATour/language/sk_SK/description.txt delete mode 100644 plugins/TakeATour/language/sk_SK/index.php delete mode 100755 plugins/TakeATour/language/sk_SK/plugin.lang.php delete mode 100755 plugins/TakeATour/language/sk_SK/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/sk_SK/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/sl_SI/description.txt delete mode 100644 plugins/TakeATour/language/sl_SI/index.php delete mode 100755 plugins/TakeATour/language/sl_SI/plugin.lang.php delete mode 100644 plugins/TakeATour/language/sl_SI/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/sl_SI/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/sr_RS/description.txt delete mode 100644 plugins/TakeATour/language/sr_RS/index.php delete mode 100644 plugins/TakeATour/language/sr_RS/plugin.lang.php delete mode 100644 plugins/TakeATour/language/sr_RS/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/sv_SE/description.txt delete mode 100644 plugins/TakeATour/language/sv_SE/index.php delete mode 100755 plugins/TakeATour/language/sv_SE/plugin.lang.php delete mode 100644 plugins/TakeATour/language/sv_SE/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/sv_SE/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/tr_TR/description.txt delete mode 100644 plugins/TakeATour/language/tr_TR/index.php delete mode 100755 plugins/TakeATour/language/tr_TR/plugin.lang.php delete mode 100644 plugins/TakeATour/language/tr_TR/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/tr_TR/tour_first_contact.lang.php delete mode 100755 plugins/TakeATour/language/uk_UA/description.txt delete mode 100644 plugins/TakeATour/language/uk_UA/index.php delete mode 100755 plugins/TakeATour/language/uk_UA/plugin.lang.php delete mode 100644 plugins/TakeATour/language/uk_UA/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/uk_UA/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/uk_UA/tour_privacy.lang.php delete mode 100644 plugins/TakeATour/language/vi_VN/description.txt delete mode 100644 plugins/TakeATour/language/vi_VN/index.php delete mode 100755 plugins/TakeATour/language/vi_VN/plugin.lang.php delete mode 100644 plugins/TakeATour/language/vi_VN/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/vi_VN/tour_first_contact.lang.php delete mode 100755 plugins/TakeATour/language/zh_CN/description.txt delete mode 100644 plugins/TakeATour/language/zh_CN/index.php delete mode 100755 plugins/TakeATour/language/zh_CN/plugin.lang.php delete mode 100644 plugins/TakeATour/language/zh_CN/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/language/zh_CN/tour_first_contact.lang.php delete mode 100644 plugins/TakeATour/language/zh_CN/tour_privacy.lang.php delete mode 100644 plugins/TakeATour/language/zh_TW/index.php delete mode 100755 plugins/TakeATour/language/zh_TW/tour_2_7_0.lang.php delete mode 100644 plugins/TakeATour/main.inc.php delete mode 100644 plugins/TakeATour/tours/2_7_0/config.inc.php delete mode 100644 plugins/TakeATour/tours/2_7_0/tour.tpl delete mode 100644 plugins/TakeATour/tours/first_contact/config.inc.php delete mode 100644 plugins/TakeATour/tours/first_contact/tour.tpl delete mode 100644 plugins/TakeATour/tours/first_contact/tour.tpl.bak delete mode 100644 plugins/TakeATour/tours/privacy/config.inc.php delete mode 100644 plugins/TakeATour/tours/privacy/tour.tpl delete mode 100644 plugins/TakeATour/tours/scaling/scaling.tpl delete mode 100644 plugins/TakeATour/tpl/admin.tpl delete mode 100644 plugins/TakeATour/tpl/js_css.tpl delete mode 100644 plugins/language_switch/flag_sprite.jpg delete mode 100644 plugins/language_switch/flag_sprite_original.png delete mode 100644 plugins/language_switch/flags.tpl delete mode 100644 plugins/language_switch/index.php delete mode 100755 plugins/language_switch/language/af_ZA/description.txt delete mode 100644 plugins/language_switch/language/af_ZA/index.php delete mode 100644 plugins/language_switch/language/ar_SA/description.txt delete mode 100644 plugins/language_switch/language/ar_SA/index.php delete mode 100755 plugins/language_switch/language/bg_BG/description.txt delete mode 100644 plugins/language_switch/language/bg_BG/index.php delete mode 100755 plugins/language_switch/language/br_FR/description.txt delete mode 100755 plugins/language_switch/language/ca_ES/description.txt delete mode 100644 plugins/language_switch/language/cs_CZ/description.txt delete mode 100644 plugins/language_switch/language/cs_CZ/index.php delete mode 100755 plugins/language_switch/language/da_DK/description.txt delete mode 100644 plugins/language_switch/language/de_DE/description.txt delete mode 100644 plugins/language_switch/language/de_DE/index.php delete mode 100755 plugins/language_switch/language/el_GR/description.txt delete mode 100644 plugins/language_switch/language/en_UK/description.txt delete mode 100644 plugins/language_switch/language/en_UK/index.php delete mode 100755 plugins/language_switch/language/eo_EO/description.txt delete mode 100644 plugins/language_switch/language/es_ES/description.txt delete mode 100644 plugins/language_switch/language/es_ES/index.php delete mode 100755 plugins/language_switch/language/et_EE/description.txt delete mode 100644 plugins/language_switch/language/et_EE/index.php delete mode 100755 plugins/language_switch/language/fa_IR/description.txt delete mode 100644 plugins/language_switch/language/fa_IR/index.php delete mode 100755 plugins/language_switch/language/fi_FI/description.txt delete mode 100644 plugins/language_switch/language/fr_CA/description.txt delete mode 100644 plugins/language_switch/language/fr_CA/index.php delete mode 100644 plugins/language_switch/language/fr_FR/description.txt delete mode 100644 plugins/language_switch/language/fr_FR/index.php delete mode 100755 plugins/language_switch/language/gl_ES/description.txt delete mode 100644 plugins/language_switch/language/he_IL/description.txt delete mode 100644 plugins/language_switch/language/he_IL/index.php delete mode 100644 plugins/language_switch/language/hr_HR/description.txt delete mode 100644 plugins/language_switch/language/hr_HR/index.php delete mode 100644 plugins/language_switch/language/hu_HU/description.txt delete mode 100644 plugins/language_switch/language/hu_HU/index.php delete mode 100644 plugins/language_switch/language/index.php delete mode 100644 plugins/language_switch/language/it_IT/description.txt delete mode 100644 plugins/language_switch/language/it_IT/index.php delete mode 100644 plugins/language_switch/language/ja_JP/description.txt delete mode 100644 plugins/language_switch/language/ja_JP/index.php delete mode 100644 plugins/language_switch/language/ka_GE/description.txt delete mode 100644 plugins/language_switch/language/ka_GE/index.php delete mode 100755 plugins/language_switch/language/km_KH/description.txt delete mode 100644 plugins/language_switch/language/km_KH/index.php delete mode 100755 plugins/language_switch/language/kn_IN/description.txt delete mode 100755 plugins/language_switch/language/lt_LT/description.txt delete mode 100644 plugins/language_switch/language/lv_LV/description.txt delete mode 100644 plugins/language_switch/language/lv_LV/index.php delete mode 100755 plugins/language_switch/language/mn_MN/description.txt delete mode 100644 plugins/language_switch/language/mn_MN/index.php delete mode 100644 plugins/language_switch/language/nb_NO/description.txt delete mode 100644 plugins/language_switch/language/nb_NO/index.php delete mode 100644 plugins/language_switch/language/nl_NL/description.txt delete mode 100644 plugins/language_switch/language/nl_NL/index.php delete mode 100755 plugins/language_switch/language/nn_NO/description.txt delete mode 100644 plugins/language_switch/language/pl_PL/description.txt delete mode 100644 plugins/language_switch/language/pl_PL/index.php delete mode 100755 plugins/language_switch/language/pt_BR/description.txt delete mode 100644 plugins/language_switch/language/pt_BR/index.php delete mode 100644 plugins/language_switch/language/pt_PT/description.txt delete mode 100644 plugins/language_switch/language/pt_PT/index.php delete mode 100755 plugins/language_switch/language/ro_RO/description.txt delete mode 100644 plugins/language_switch/language/ru_RU/description.txt delete mode 100644 plugins/language_switch/language/ru_RU/index.php delete mode 100755 plugins/language_switch/language/sh_RS/description.txt delete mode 100644 plugins/language_switch/language/sk_SK/description.txt delete mode 100644 plugins/language_switch/language/sk_SK/index.php delete mode 100755 plugins/language_switch/language/sl_SI/description.txt delete mode 100644 plugins/language_switch/language/sr_RS/description.txt delete mode 100644 plugins/language_switch/language/sr_RS/index.php delete mode 100644 plugins/language_switch/language/sv_SE/description.txt delete mode 100644 plugins/language_switch/language/sv_SE/index.php delete mode 100755 plugins/language_switch/language/ta_IN/description.txt delete mode 100644 plugins/language_switch/language/th_TH/description.txt delete mode 100644 plugins/language_switch/language/th_TH/index.php delete mode 100644 plugins/language_switch/language/tr_TR/description.txt delete mode 100644 plugins/language_switch/language/tr_TR/index.php delete mode 100644 plugins/language_switch/language/uk_UA/description.txt delete mode 100644 plugins/language_switch/language/vi_VN/description.txt delete mode 100644 plugins/language_switch/language/vi_VN/index.php delete mode 100644 plugins/language_switch/language/zh_CN/description.txt delete mode 100644 plugins/language_switch/language/zh_CN/index.php delete mode 100755 plugins/language_switch/language/zh_HK/description.txt delete mode 100644 plugins/language_switch/language/zh_TW/description.txt delete mode 100644 plugins/language_switch/language/zh_TW/index.php delete mode 100644 plugins/language_switch/language_switch.css delete mode 100644 plugins/language_switch/language_switch.inc.php delete mode 100644 plugins/language_switch/main.inc.php delete mode 100644 plugins/language_switch/style.css diff --git a/plugins/AdminTools/admin.php b/plugins/AdminTools/admin.php deleted file mode 100644 index ecd52115d..000000000 --- a/plugins/AdminTools/admin.php +++ /dev/null @@ -1,23 +0,0 @@ - isset($_POST['default_open']), - 'closed_position' => $_POST['closed_position'], - 'public_quick_edit' => isset($_POST['public_quick_edit']), - ); - - conf_update_param('AdminTools', $conf['AdminTools']); - $page['infos'][] = l10n('Information data registered in database'); -} - - -$template->assign(array( - 'AdminTools' => $conf['AdminTools'], - )); - - -$template->set_filename('admintools_content', realpath(ADMINTOOLS_PATH . 'template/admin.tpl')); -$template->assign_var_from_handle('ADMIN_CONTENT', 'admintools_content'); diff --git a/plugins/AdminTools/include/MultiView.class.php b/plugins/AdminTools/include/MultiView.class.php deleted file mode 100644 index 56240b811..000000000 --- a/plugins/AdminTools/include/MultiView.class.php +++ /dev/null @@ -1,338 +0,0 @@ -data = array_merge( - array( - 'view_as' => 0, - 'theme' => '', - 'lang' => '', - 'show_queries' => $conf['show_queries'], - 'debug_l10n' => $conf['debug_l10n'], - 'debug_template' => $conf['debug_template'], - 'template_combine_files' => $conf['template_combine_files'], - 'no_history' => false, - ), - pwg_get_session_var('multiview', array()) - ); - - $this->data_url_params = array_keys($this->data); - $this->data_url_params = array_map(create_function('$d', 'return "ato_".$d;'), $this->data_url_params); - } - - /** - * @return bool - */ - public function is_admin() - { - return $this->is_admin; - } - - /** - * @return array - */ - public function get_data() - { - return $this->data; - } - - /** - * @return array - */ - public function get_user() - { - return $this->user; - } - - /** - * Save $data in session - */ - private function save() - { - pwg_set_session_var('multiview', $this->data); - } - - /** - * Returns the current url minus MultiView params - * - * @param bool $with_amp - adds ? or & at the end of the url - * @return string - */ - public function get_clean_url($with_amp=false) - { - if (script_basename() == 'picture') - { - $url = duplicate_picture_url(array(), $this->data_url_params); - } - else if (script_basename() == 'index') - { - $url = duplicate_index_url(array(), $this->data_url_params); - } - else - { - $url = get_query_string_diff($this->data_url_params); - } - - if ($with_amp) - { - $url.= strpos($url, '?')!==false ? '&' : '?'; - } - - return $url; - } - - /** - * Returns the current url minus MultiView params - * - * @param bool $with_amp - adds ? or & at the end of the url - * @return string - */ - public function get_clean_admin_url($with_amp=false) - { - $url = PHPWG_ROOT_PATH.'admin.php'; - - $get = $_GET; - unset($get['page'], $get['section'], $get['tag']); - if (count($get) == 0 and !empty($_SERVER['QUERY_STRING'])) - { - $url.= '?' . str_replace('&', '&', $_SERVER['QUERY_STRING']); - } - - if ($with_amp) - { - $url.= strpos($url, '?')!==false ? '&' : '?'; - } - - return $url; - } - - /** - * Triggered on "user_init", change current view depending of URL params. - */ - public function user_init() - { - global $user, $conf; - - $this->is_admin = is_admin(); - - $this->user = array( - 'id' => $user['id'], - 'username' => $user['username'], - 'language' => $user['language'], - 'theme' => $user['theme'], - ); - - // inactive on ws.php to allow AJAX admin tasks - if ($this->is_admin && script_basename() != 'ws') - { - // show_queries - if (isset($_GET['ato_show_queries'])) - { - $this->data['show_queries'] = (bool)$_GET['ato_show_queries']; - } - $conf['show_queries'] = $this->data['show_queries']; - - if ($this->data['view_as'] == 0) - { - $this->data['view_as'] = $user['id']; - } - if (empty($this->data['lang'])) - { - $this->data['lang'] = $user['language']; - } - if (empty($this->data['theme'])) - { - $this->data['theme'] = $user['theme']; - } - - // view_as - if (!defined('IN_ADMIN')) - { - if (isset($_GET['ato_view_as'])) - { - $this->data['view_as'] = (int)$_GET['ato_view_as']; - } - if ($this->data['view_as'] != $user['id']) - { - $user = build_user($this->data['view_as'], true); - if (isset($_GET['ato_view_as'])) - { - $this->data['theme'] = $user['theme']; - $this->data['lang'] = $user['language']; - } - } - } - - // theme - if (isset($_GET['ato_theme'])) - { - $this->data['theme'] = $_GET['ato_theme']; - } - $user['theme'] = $this->data['theme']; - - // lang - if (isset($_GET['ato_lang'])) - { - $this->data['lang'] = $_GET['ato_lang']; - } - $user['language'] = $this->data['lang']; - - // debug_l10n - if (isset($_GET['ato_debug_l10n'])) - { - $this->data['debug_l10n'] = (bool)$_GET['ato_debug_l10n']; - } - $conf['debug_l10n'] = $this->data['debug_l10n']; - - // debug_template - if (isset($_GET['ato_debug_template'])) - { - $this->data['debug_template'] = (bool)$_GET['ato_debug_template']; - } - $conf['debug_template'] = $this->data['debug_template']; - - // template_combine_files - if (isset($_GET['ato_template_combine_files'])) - { - $this->data['template_combine_files'] = (bool)$_GET['ato_template_combine_files']; - } - $conf['template_combine_files'] = $this->data['template_combine_files']; - - // no_history - if (isset($_GET['ato_no_history'])) - { - $this->data['no_history'] = (bool)$_GET['ato_no_history']; - } - if ($this->data['no_history']) - { - add_event_handler('pwg_log_allowed', create_function('', 'return false;')); - } - - $this->save(); - } - } - - /** - * Returns the language of the current user if different from the current language - * false otherwise - */ - function get_user_language() - { - if (isset($this->user['language']) && isset($this->data['lang']) - && $this->user['language'] != $this->data['lang'] - ) - { - return $this->user['language']; - } - return false; - } - - /** - * Triggered on "init", in order to clean template files (not initialized on "user_init") - */ - public function init() - { - if ($this->is_admin) - { - if (isset($_GET['ato_purge_template'])) - { - global $template; - $template->delete_compiled_templates(); - FileCombiner::clear_combined_files(); - } - } - } - - /** - * Mark browser session cache for deletion - */ - public static function invalidate_cache() - { - global $conf; - conf_update_param('multiview_invalidate_cache', true, true); - } - - /** - * Register custom API methods - */ - public static function register_ws($arr) - { - $service = &$arr[0]; - - $service->addMethod( - 'multiView.getData', - array('MultiView', 'ws_get_data'), - array(), - 'AdminTools private method.', - null, - array('admin_only' => true, 'hidden' => true) - ); - } - - /** - * API method - * Return full list of users, themes and languages - */ - public static function ws_get_data($params) - { - global $conf; - - // get users - $query = ' -SELECT - '.$conf['user_fields']['id'].' AS id, - '.$conf['user_fields']['username'].' AS username, - status -FROM '.USERS_TABLE.' AS u - INNER JOIN '.USER_INFOS_TABLE.' AS i - ON '.$conf['user_fields']['id'].' = user_id - ORDER BY CONVERT('.$conf['user_fields']['username'].', CHAR) -;'; - $out['users'] = array_from_query($query); - - // get themes - include_once(PHPWG_ROOT_PATH.'admin/include/themes.class.php'); - $themes = new themes(); - foreach (array_keys($themes->db_themes_by_id) as $theme) - { - if (!empty($theme)) - { - $out['themes'][] = $theme; - } - } - - // get languages - foreach (get_languages() as $code => $name) - { - $out['languages'][] = array( - 'id' => $code, - 'name' => $name, - ); - } - - conf_delete_param('multiview_invalidate_cache'); - - return $out; - } -} \ No newline at end of file diff --git a/plugins/AdminTools/include/events.inc.php b/plugins/AdminTools/include/events.inc.php deleted file mode 100644 index d11d59ba7..000000000 --- a/plugins/AdminTools/include/events.inc.php +++ /dev/null @@ -1,360 +0,0 @@ -is_admin()) - { // full options for admin - $tpl_vars['U_SITE_ADMIN'] = $url_root . 'admin.php?page='; - $tpl_vars['MULTIVIEW'] = $MultiView->get_data(); - $tpl_vars['USER'] = $MultiView->get_user(); - $tpl_vars['CURRENT_USERNAME'] = $user['id']==$conf['guest_id'] ? l10n('guest') : $user['username']; - $tpl_vars['DELETE_CACHE'] = isset($conf['multiview_invalidate_cache']); - - if (($admin_lang = $MultiView->get_user_language()) !== false) - { - include_once(PHPWG_ROOT_PATH . 'include/functions_mail.inc.php'); - switch_lang_to($admin_lang); - } - } - else if ($conf['AdminTools']['public_quick_edit'] and - script_basename() == 'picture' and $picture['current']['added_by'] == $user['id'] - ) - { // only "edit" button for photo owner - } - else - { - return; - } - - $tpl_vars['POSITION'] = $conf['AdminTools']['closed_position']; - $tpl_vars['DEFAULT_OPEN'] = $conf['AdminTools']['default_open']; - $tpl_vars['U_SELF'] = $MultiView->get_clean_url(true); - - // photo page - if (script_basename() == 'picture') - { - $url_self = duplicate_picture_url(); - $tpl_vars['IS_PICTURE'] = true; - - // admin can add to caddie and set representattive - if ($MultiView->is_admin()) - { - $template->clear_assign(array( - 'U_SET_AS_REPRESENTATIVE', - 'U_PHOTO_ADMIN', - 'U_CADDIE', - )); - - $template->set_prefilter('picture', 'admintools_remove_privacy'); - - $tpl_vars['U_CADDIE'] = add_url_params( - $url_self, - array('action'=>'add_to_caddie') - ); - - $query = ' -SELECT element_id FROM ' . CADDIE_TABLE . ' - WHERE element_id = ' . $page['image_id'] .' -;'; - $tpl_vars['IS_IN_CADDIE'] = pwg_db_num_rows(pwg_query($query)) > 0; - - if (isset($page['category'])) - { - $tpl_vars['CATEGORY_ID'] = $page['category']['id']; - - $tpl_vars['U_SET_REPRESENTATIVE'] = add_url_params( - $url_self, - array('action'=>'set_as_representative') - ); - - $tpl_vars['IS_REPRESENTATIVE'] = $page['category']['representative_picture_id'] == $page['image_id']; - } - - $tpl_vars['U_ADMIN_EDIT'] = $url_root . 'admin.php?page=photo-' . $page['image_id'] - .(isset($page['category']) ? '&cat_id=' . $page['category']['id'] : ''); - } - - $tpl_vars['U_DELETE'] = add_url_params( - $url_self, array( - 'delete'=>'', - 'pwg_token'=>get_pwg_token() - ) - ); - - // gets tags (full available list is loaded in ajax) - include_once(PHPWG_ROOT_PATH . 'admin/include/functions.php'); - - $query = ' -SELECT id, name - FROM '.IMAGE_TAG_TABLE.' AS it - JOIN '.TAGS_TABLE.' AS t ON t.id = it.tag_id - WHERE image_id = '.$page['image_id'].' -;'; - $tag_selection = get_taglist($query); - - $tpl_vars['QUICK_EDIT'] = array( - 'img' => $picture['current']['derivatives']['square']->get_url(), - 'name' => $picture['current']['name'], - 'comment' => $picture['current']['comment'], - 'author' => $picture['current']['author'], - 'level' => $picture['current']['level'], - 'date_creation' => substr($picture['current']['date_creation'], 0, 10), - 'date_creation_time' => substr($picture['current']['date_creation'], 11, 5), - 'tag_selection' => $tag_selection, - ); - } - // album page (admin only) - else if ($MultiView->is_admin() and @$page['section'] == 'categories' and isset($page['category'])) - { - $url_self = duplicate_index_url(); - - $tpl_vars['IS_CATEGORY'] = true; - $tpl_vars['CATEGORY_ID'] = $page['category']['id']; - - $template->clear_assign(array( - 'U_EDIT', - 'U_CADDIE', - )); - - $tpl_vars['U_ADMIN_EDIT'] = $url_root . 'admin.php?page=album-' . $page['category']['id']; - - if (!empty($page['items'])) - { - $tpl_vars['U_CADDIE'] = add_url_params( - $url_self, - array('caddie'=>1) - ); - } - - $tpl_vars['QUICK_EDIT'] = array( - 'img' => null, - 'name' => $page['category']['name'], - 'comment' => $page['category']['comment'], - ); - - if (!empty($page['category']['representative_picture_id'])) - { - $query = ' -SELECT * FROM '.IMAGES_TABLE.' - WHERE id = '. $page['category']['representative_picture_id'] .' -;'; - $image_infos = pwg_db_fetch_assoc(pwg_query($query)); - - $tpl_vars['QUICK_EDIT']['img'] = DerivativeImage::get_one(IMG_SQUARE, $image_infos)->get_url(); - } - } - - - $template->assign(array( - 'ADMINTOOLS_PATH' => './plugins/' . ADMINTOOLS_ID .'/', - 'ato' => $tpl_vars, - )); - - $template->set_filename('ato_public_controller', realpath(ADMINTOOLS_PATH . 'template/public_controller.tpl')); - $template->parse('ato_public_controller'); - - if ($MultiView->is_admin() && @$admin_lang !== false) - { - switch_lang_back(); - } -} - -/** - * Add main toolbar to current page - * @trigger loc_after_page_header - */ -function admintools_add_admin_controller() -{ - global $MultiView, $conf, $template, $page, $user; - - $url_root = get_root_url(); - $tpl_vars = array(); - - $tpl_vars['MULTIVIEW'] = $MultiView->get_data(); - $tpl_vars['DELETE_CACHE'] = isset($conf['multiview_invalidate_cache']); - $tpl_vars['U_SELF'] = $MultiView->get_clean_admin_url(true); - - if (($admin_lang = $MultiView->get_user_language()) !== false) - { - include_once(PHPWG_ROOT_PATH . 'include/functions_mail.inc.php'); - switch_lang_to($admin_lang); - } - - $template->assign(array( - 'ADMINTOOLS_PATH' => './plugins/' . ADMINTOOLS_ID .'/', - 'ato' => $tpl_vars, - )); - - $template->set_filename('ato_admin_controller', realpath(ADMINTOOLS_PATH . 'template/admin_controller.tpl')); - $template->parse('ato_admin_controller'); - - if ($MultiView->is_admin() && @$admin_lang !== false) - { - switch_lang_back(); - } -} - -function admintools_add_admin_controller_setprefilter() -{ - global $template; - $template->set_prefilter('header', 'admintools_admin_prefilter'); -} - -function admintools_admin_prefilter($content) -{ - $search = '{\'Change Admin Colors\'|translate}'; - $replace = '{\'Tools\'|translate}'; - return str_replace($search, $replace, $content); -} - -/** - * Disable privacy level switchbox - */ -function admintools_remove_privacy($content) -{ - $search = '{if $display_info.privacy_level and isset($available_permission_levels)}'; - $replace = '{if false}'; - return str_replace($search, $replace, $content); -} - -/** - * Save picture form - * @trigger loc_begin_picture - */ -function admintools_save_picture() -{ - global $page, $conf, $MultiView, $user, $picture; - - if (!isset($_GET['delete']) and !isset($_POST['action']) and @$_POST['action'] != 'quick_edit') - { - return; - } - - $query = 'SELECT added_by FROM '. IMAGES_TABLE .' WHERE id = '. $page['image_id'] .';'; - list($added_by) = pwg_db_fetch_row(pwg_query($query)); - - if (!$MultiView->is_admin() and $user['id'] != $added_by) - { - return; - } - - if (isset($_GET['delete']) and get_pwg_token()==@$_GET['pwg_token']) - { - include_once(PHPWG_ROOT_PATH . 'admin/include/functions.php'); - - delete_elements(array($page['image_id']), true); - invalidate_user_cache(); - - if (isset($page['rank_of'][ $page['image_id'] ])) - { - redirect( - duplicate_index_url( - array( - 'start' => - floor($page['rank_of'][ $page['image_id'] ] / $page['nb_image_page']) - * $page['nb_image_page'] - ) - ) - ); - } - else - { - redirect(make_index_url()); - } - } - - if ($_POST['action'] == 'quick_edit') - { - include_once(PHPWG_ROOT_PATH . 'admin/include/functions.php'); - - $data = array( - 'name' => $_POST['name'], - 'author' => $_POST['author'], - ); - - if ($MultiView->is_admin()) - { - $data['level'] = $_POST['level']; - } - - if ($conf['allow_html_descriptions']) - { - $data['comment'] = @$_POST['comment']; - } - else - { - $data['comment'] = strip_tags(@$_POST['comment']); - } - - if (!empty($_POST['date_creation']) and strtotime($_POST['date_creation']) !== false) - { - $data['date_creation'] = $_POST['date_creation'] .' '. $_POST['date_creation_time']; - } - - single_update( - IMAGES_TABLE, - $data, - array('id' => $page['image_id']) - ); - - $tag_ids = array(); - if (!empty($_POST['tags'])) - { - $tag_ids = get_tag_ids($_POST['tags']); - } - set_tags($tag_ids, $page['image_id']); - } -} - -/** - * Save category form - * @trigger loc_begin_index - */ -function admintools_save_category() -{ - global $page, $conf, $MultiView; - - if (!$MultiView->is_admin()) - { - return; - } - - if (@$_POST['action'] == 'quick_edit') - { - $data = array( - 'name' => $_POST['name'], - ); - - if ($conf['allow_html_descriptions']) - { - $data['comment'] = @$_POST['comment']; - } - else - { - $data['comment'] = strip_tags(@$_POST['comment']); - } - - single_update( - CATEGORIES_TABLE, - $data, - array('id' => $page['category']['id']) - ); - - redirect(duplicate_index_url()); - } -} \ No newline at end of file diff --git a/plugins/AdminTools/include/index.php b/plugins/AdminTools/include/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/include/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/index.php b/plugins/AdminTools/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/ar_SA/description.txt b/plugins/AdminTools/language/ar_SA/description.txt deleted file mode 100755 index 9d282a941..000000000 --- a/plugins/AdminTools/language/ar_SA/description.txt +++ /dev/null @@ -1 +0,0 @@ -القيام ببعض المهام الادارية على الصفحات العامة \ No newline at end of file diff --git a/plugins/AdminTools/language/ar_SA/index.php b/plugins/AdminTools/language/ar_SA/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/ar_SA/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/ar_SA/plugin.lang.php b/plugins/AdminTools/language/ar_SA/plugin.lang.php deleted file mode 100755 index 760b9a5e5..000000000 --- a/plugins/AdminTools/language/ar_SA/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'عرض بشكل %s.'; -$lang['View as'] = 'عرض بشكل'; -$lang['Show SQL queries'] = 'إظهار استعلامات SQL'; -$lang['Saved'] = 'حفظ'; -$lang['Save visit in history'] = 'حفظ تاريخ الزيارة'; -$lang['Save'] = 'حفظ'; -$lang['Revert'] = 'الى الخلف'; -$lang['Quick edit'] = 'التحرير السريع'; -$lang['Properties page'] = 'خصائص الصفحة'; -$lang['Debug template'] = 'قالب تصحيح الأخطاء'; -$lang['Combine JS&CSS'] = 'الجمع بين JS و CSS'; -$lang['Debug languages'] = 'تصحيح أخطاء اللغات'; -$lang['Closed icon position'] = 'إغلاق وضع الآيقونه'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'منح حق تحرير الصور لاصحاب الصور حتى المدير العام'; -$lang['Open toolbar by default'] = 'فتح شريط الأدوات بشكل افتراضي'; -$lang['left'] = 'يسار'; -$lang['right'] = 'يمين'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/bg_BG/description.txt b/plugins/AdminTools/language/bg_BG/description.txt deleted file mode 100755 index 1dc889abe..000000000 --- a/plugins/AdminTools/language/bg_BG/description.txt +++ /dev/null @@ -1 +0,0 @@ -Няколко административни настройки на публичните страници \ No newline at end of file diff --git a/plugins/AdminTools/language/bg_BG/index.php b/plugins/AdminTools/language/bg_BG/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/bg_BG/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/bg_BG/plugin.lang.php b/plugins/AdminTools/language/bg_BG/plugin.lang.php deleted file mode 100755 index 787f474e9..000000000 --- a/plugins/AdminTools/language/bg_BG/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Разглежда като %s.'; -$lang['View as'] = 'Виж като'; -$lang['Save'] = 'Запис'; -$lang['Save visit in history'] = 'Пази история на посещенията'; -$lang['Saved'] = 'Записано'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Дава права за редакция върху снимка на собственика й дори и да не е администратор'; -$lang['Closed icon position'] = 'Затворена позиция на икона'; -$lang['Open toolbar by default'] = 'Отваряне на лента с инструменти по подразбиране'; -$lang['right'] = 'дясно'; -$lang['left'] = 'ляво'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/br_FR/description.txt b/plugins/AdminTools/language/br_FR/description.txt deleted file mode 100755 index 54d213a31..000000000 --- a/plugins/AdminTools/language/br_FR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Evit ober trevelloù mererezh dre ar pajennoù diavaez. \ No newline at end of file diff --git a/plugins/AdminTools/language/br_FR/index.php b/plugins/AdminTools/language/br_FR/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/br_FR/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/br_FR/plugin.lang.php b/plugins/AdminTools/language/br_FR/plugin.lang.php deleted file mode 100755 index 3f7a70c52..000000000 --- a/plugins/AdminTools/language/br_FR/plugin.lang.php +++ /dev/null @@ -1,39 +0,0 @@ -%s.'] = 'Gwelet evel %s.'; -$lang['left'] = 'tu kleiz'; -$lang['right'] = 'tu dehoù'; \ No newline at end of file diff --git a/plugins/AdminTools/language/ca_ES/description.txt b/plugins/AdminTools/language/ca_ES/description.txt deleted file mode 100755 index aa466d85d..000000000 --- a/plugins/AdminTools/language/ca_ES/description.txt +++ /dev/null @@ -1 +0,0 @@ -Permet tasques d'administració des de les pàgines públiques \ No newline at end of file diff --git a/plugins/AdminTools/language/ca_ES/index.php b/plugins/AdminTools/language/ca_ES/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/ca_ES/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/ca_ES/plugin.lang.php b/plugins/AdminTools/language/ca_ES/plugin.lang.php deleted file mode 100755 index ebc0ffed7..000000000 --- a/plugins/AdminTools/language/ca_ES/plugin.lang.php +++ /dev/null @@ -1,39 +0,0 @@ -%s.'] = 'Veure com %s.'; -$lang['left'] = 'esquerra'; -$lang['right'] = 'dreta'; \ No newline at end of file diff --git a/plugins/AdminTools/language/cs_CZ/description.txt b/plugins/AdminTools/language/cs_CZ/description.txt deleted file mode 100644 index 5a22f4ed3..000000000 --- a/plugins/AdminTools/language/cs_CZ/description.txt +++ /dev/null @@ -1 +0,0 @@ -Umožní provádět některé administrační úkony i na stránkách fotogalerie \ No newline at end of file diff --git a/plugins/AdminTools/language/cs_CZ/index.php b/plugins/AdminTools/language/cs_CZ/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/cs_CZ/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/cs_CZ/plugin.lang.php b/plugins/AdminTools/language/cs_CZ/plugin.lang.php deleted file mode 100644 index 7b9e5bb58..000000000 --- a/plugins/AdminTools/language/cs_CZ/plugin.lang.php +++ /dev/null @@ -1,20 +0,0 @@ -%s.'] = 'Zobrazení jako %s.'; -$lang['Properties page'] = 'Stránka vlastností'; -$lang['Quick edit'] = 'Rychlá editace'; -$lang['Revert'] = 'Nazpět'; -$lang['Save'] = 'Uložit'; -$lang['Saved'] = 'Uloženo'; -$lang['Save visit in history'] = 'Ukládat návštevy do historie'; -$lang['Show SQL queries'] = 'Zobrazit SQL queries'; -$lang['View as'] = 'Zobrazit jako'; - -$lang['Closed icon position'] = 'Poloha ikony pro zavření'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Udělit přístup do rychlé editace vlastníkům fotek i když nejsou admin'; -$lang['Open toolbar by default'] = 'Výchozí otevření panelu nástrojů'; -$lang['left'] = 'levý'; -$lang['right'] = 'pravý'; \ No newline at end of file diff --git a/plugins/AdminTools/language/da_DK/description.txt b/plugins/AdminTools/language/da_DK/description.txt deleted file mode 100755 index 7fca9ec1c..000000000 --- a/plugins/AdminTools/language/da_DK/description.txt +++ /dev/null @@ -1 +0,0 @@ -Foretag nogle administrative handlinger fra de offentlige sider. diff --git a/plugins/AdminTools/language/da_DK/index.php b/plugins/AdminTools/language/da_DK/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/da_DK/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/da_DK/plugin.lang.php b/plugins/AdminTools/language/da_DK/plugin.lang.php deleted file mode 100755 index cdb496436..000000000 --- a/plugins/AdminTools/language/da_DK/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Viser som %s.'; -$lang['Saved'] = 'Gemt'; -$lang['Closed icon position'] = 'Lukket-ikons placering'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Giv adgang til hurtigredigering for fotoejere, selv hvis de ikke er admin'; -$lang['Open toolbar by default'] = 'Åbn værktøjslinje som standard'; -$lang['left'] = 'venstre'; -$lang['right'] = 'højre'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/de_DE/description.txt b/plugins/AdminTools/language/de_DE/description.txt deleted file mode 100755 index ae38d8107..000000000 --- a/plugins/AdminTools/language/de_DE/description.txt +++ /dev/null @@ -1 +0,0 @@ -Ausgewählte Admin-Tätigkeiten mittels Toolbar von allen Seiten aus durchführen \ No newline at end of file diff --git a/plugins/AdminTools/language/de_DE/index.php b/plugins/AdminTools/language/de_DE/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/de_DE/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/de_DE/plugin.lang.php b/plugins/AdminTools/language/de_DE/plugin.lang.php deleted file mode 100755 index 0177b4bfe..000000000 --- a/plugins/AdminTools/language/de_DE/plugin.lang.php +++ /dev/null @@ -1,39 +0,0 @@ -%s.'] = 'Aktueller Benutzer: %s'; -$lang['Saved'] = 'Gespeichert'; -$lang['Closed icon position'] = 'Position des geschlossenen Icons'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Zugriff zum schnellen Editieren für Bildereigentümer erlauben, obwohl sie kein Administrator sind.'; -$lang['Open toolbar by default'] = 'Die Werkzeugleiste standardmässig öffnen'; -$lang['left'] = 'links'; -$lang['right'] = 'rechts'; \ No newline at end of file diff --git a/plugins/AdminTools/language/el_GR/description.txt b/plugins/AdminTools/language/el_GR/description.txt deleted file mode 100755 index a778ffb73..000000000 --- a/plugins/AdminTools/language/el_GR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Κάνει κάποιες διαχειριστικές εργασίες από δημόσιες σελίδες \ No newline at end of file diff --git a/plugins/AdminTools/language/el_GR/index.php b/plugins/AdminTools/language/el_GR/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/el_GR/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/el_GR/plugin.lang.php b/plugins/AdminTools/language/el_GR/plugin.lang.php deleted file mode 100755 index 665728dc4..000000000 --- a/plugins/AdminTools/language/el_GR/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Προβολή ως %s'; -$lang['View as'] = 'Προβολή ως'; -$lang['Show SQL queries'] = 'Εμφάνιση ερωτημάτων SQL'; -$lang['Save visit in history'] = 'Αποθήκευση επίσκεψης στην ιστορία'; -$lang['Save'] = 'Αποθήκευση'; -$lang['Revert'] = 'Επαναφορά'; -$lang['Quick edit'] = 'Γρήγορη επεξεργασία'; -$lang['Debug languages'] = 'Γλώσσες αποσφάτωσης'; -$lang['Debug template'] = 'Πρότυπο αποσφάτωσης'; -$lang['Properties page'] = 'Ιδιότητες σελίδας'; -$lang['Combine JS&CSS'] = 'Συνδυάστε JS&CSS'; -$lang['Saved'] = 'Αποθηκεύτηκε'; -$lang['right'] = 'δεξιά'; -$lang['left'] = 'αριστερά'; -$lang['Open toolbar by default'] = 'Ανοικτή γραμμή εργαλείων από προεπιλογή'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Δώστε πρόσβαση σε γρήγορη επεξεργασία στους ιδιοκτήτες φωτογραφιών, ακόμη και αν δεν το διαχειριστές '; -$lang['Closed icon position'] = 'Θέση Κλειστού εικονονίδιου'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/en_UK/description.txt b/plugins/AdminTools/language/en_UK/description.txt deleted file mode 100644 index 92caa90b0..000000000 --- a/plugins/AdminTools/language/en_UK/description.txt +++ /dev/null @@ -1 +0,0 @@ -Do some admin task from the public pages \ No newline at end of file diff --git a/plugins/AdminTools/language/en_UK/index.php b/plugins/AdminTools/language/en_UK/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/en_UK/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/en_UK/plugin.lang.php b/plugins/AdminTools/language/en_UK/plugin.lang.php deleted file mode 100644 index af09c38ce..000000000 --- a/plugins/AdminTools/language/en_UK/plugin.lang.php +++ /dev/null @@ -1,21 +0,0 @@ -%s.'] = 'Viewing as %s.'; -$lang['Properties page'] = 'Properties page'; -$lang['Quick edit'] = 'Quick edit'; -$lang['Revert'] = 'Revert'; -$lang['Save'] = 'Save'; -$lang['Saved'] = 'Saved'; -$lang['Save visit in history'] = 'Save visit in history'; -$lang['Show SQL queries'] = 'Show SQL queries'; -$lang['View as'] = 'View as'; -$lang['Closed icon position'] = 'Closed icon position'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Give access to quick edit to photo owners even if they are not admin'; -$lang['Open toolbar by default'] = 'Open toolbar by default'; -$lang['left'] = 'left'; -$lang['right'] = 'right'; - -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/eo_EO/description.txt b/plugins/AdminTools/language/eo_EO/description.txt deleted file mode 100755 index 2844006c0..000000000 --- a/plugins/AdminTools/language/eo_EO/description.txt +++ /dev/null @@ -1 +0,0 @@ -Faras kelkajn administrajn taskojn el la publikaj paĝoj \ No newline at end of file diff --git a/plugins/AdminTools/language/eo_EO/index.php b/plugins/AdminTools/language/eo_EO/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/eo_EO/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/eo_EO/plugin.lang.php b/plugins/AdminTools/language/eo_EO/plugin.lang.php deleted file mode 100755 index 5d045e338..000000000 --- a/plugins/AdminTools/language/eo_EO/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Vidita kiel %s'; -$lang['Saved'] = 'Konservita'; -$lang['Closed icon position'] = 'Pozicio de la fermita bildsimbolo'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Permesi al fotoposedantoj atingon al rapida redaktado eĉ se ili ne estas administrantoj'; -$lang['Open toolbar by default'] = 'Malfermi la aprioran ilobreton'; -$lang['left'] = 'maldekstra'; -$lang['right'] = 'dekstra'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/es_ES/description.txt b/plugins/AdminTools/language/es_ES/description.txt deleted file mode 100755 index c92e5b724..000000000 --- a/plugins/AdminTools/language/es_ES/description.txt +++ /dev/null @@ -1 +0,0 @@ -Hacer algunas tarea de administración de las páginas públicas \ No newline at end of file diff --git a/plugins/AdminTools/language/es_ES/index.php b/plugins/AdminTools/language/es_ES/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/es_ES/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/es_ES/plugin.lang.php b/plugins/AdminTools/language/es_ES/plugin.lang.php deleted file mode 100755 index 4974253b5..000000000 --- a/plugins/AdminTools/language/es_ES/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Visualización como %s.'; -$lang['Quick edit'] = 'Edición rápida'; -$lang['Properties page'] = 'Propriedades de la pagina'; -$lang['Debug template'] = 'Depurar plantilla'; -$lang['Debug languages'] = 'Depurar idiomas'; -$lang['Combine JS&CSS'] = 'Combine JS y CSS'; -$lang['Saved'] = 'Guardado'; -$lang['Closed icon position'] = 'Posición de icono Cerrado'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Dar acceso a la edición rápida a los propietarios de las fotos, incluso si no son admin'; -$lang['Open toolbar by default'] = 'Abrir por defecto la barra de herramientas '; -$lang['left'] = 'izquierda'; -$lang['right'] = 'derecha'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/et_EE/description.txt b/plugins/AdminTools/language/et_EE/description.txt deleted file mode 100755 index db3329942..000000000 --- a/plugins/AdminTools/language/et_EE/description.txt +++ /dev/null @@ -1 +0,0 @@ -Lubab mõningast toimetamist otse üldlehtedelt \ No newline at end of file diff --git a/plugins/AdminTools/language/et_EE/index.php b/plugins/AdminTools/language/et_EE/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/et_EE/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/et_EE/plugin.lang.php b/plugins/AdminTools/language/et_EE/plugin.lang.php deleted file mode 100755 index 1b2025bab..000000000 --- a/plugins/AdminTools/language/et_EE/plugin.lang.php +++ /dev/null @@ -1,39 +0,0 @@ -%s.'] = 'Kuvatakse kui %s.'; -$lang['View as'] = 'Näita kui'; -$lang['Show SQL queries'] = 'Näita andmebaasi SQL-päringuid'; -$lang['Saved'] = 'Salvestatud'; -$lang['Save visit in history'] = 'Salvesta külastus ajalukku'; -$lang['Save'] = 'Salvesta'; -$lang['Revert'] = 'Taasta'; -$lang['Quick edit'] = 'Kiirtoimeta'; -$lang['Properties page'] = 'Atribuudileht'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Luba fotode kiirtoimetamist nende omanikele, kuigi nad pole haldurid'; -$lang['Open toolbar by default'] = 'Näita tööriistariba vaikimisi'; -$lang['Debug template'] = 'Silumise mall'; -$lang['Debug languages'] = 'Silumise keeled'; -$lang['Combine JS&CSS'] = 'Kasuta nii JavaScripti kui CSS-i'; -$lang['Closed icon position'] = 'Suletud ikooni asukoht'; \ No newline at end of file diff --git a/plugins/AdminTools/language/fa_IR/description.txt b/plugins/AdminTools/language/fa_IR/description.txt deleted file mode 100755 index 43deda3af..000000000 --- a/plugins/AdminTools/language/fa_IR/description.txt +++ /dev/null @@ -1 +0,0 @@ -از صفحات عمومي مقداري كار مديريتي انجام دهيد. \ No newline at end of file diff --git a/plugins/AdminTools/language/fa_IR/index.php b/plugins/AdminTools/language/fa_IR/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/fa_IR/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/fa_IR/plugin.lang.php b/plugins/AdminTools/language/fa_IR/plugin.lang.php deleted file mode 100755 index b6ffd2dce..000000000 --- a/plugins/AdminTools/language/fa_IR/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'نمايش در حالت %s.'; -$lang['left'] = 'چپ'; -$lang['right'] = 'راست'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/fi_FI/description.txt b/plugins/AdminTools/language/fi_FI/description.txt deleted file mode 100755 index a7cc2feec..000000000 --- a/plugins/AdminTools/language/fi_FI/description.txt +++ /dev/null @@ -1 +0,0 @@ -Suorita osa ylläpitäjän toiminnoista suoraan julkisilta sivuilta \ No newline at end of file diff --git a/plugins/AdminTools/language/fi_FI/index.php b/plugins/AdminTools/language/fi_FI/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/fi_FI/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/fi_FI/plugin.lang.php b/plugins/AdminTools/language/fi_FI/plugin.lang.php deleted file mode 100755 index 28b94fadd..000000000 --- a/plugins/AdminTools/language/fi_FI/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Näkyy %s'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Anna oikeus pikamuokkaukseen vaikkei käyttäjä ole ylläpitäjä'; -$lang['Debug template'] = 'Debuggaa malline'; -$lang['Open toolbar by default'] = 'Avaa työkalupalkki oletuksena'; -$lang['left'] = 'vasen'; -$lang['right'] = 'oikea'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/fr_CA/description.txt b/plugins/AdminTools/language/fr_CA/description.txt deleted file mode 100644 index 34aa486e5..000000000 --- a/plugins/AdminTools/language/fr_CA/description.txt +++ /dev/null @@ -1 +0,0 @@ -Rend possibles certaines tâches d’administration depuis la partie publique \ No newline at end of file diff --git a/plugins/AdminTools/language/fr_CA/index.php b/plugins/AdminTools/language/fr_CA/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/fr_CA/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/fr_CA/plugin.lang.php b/plugins/AdminTools/language/fr_CA/plugin.lang.php deleted file mode 100644 index c8a558d74..000000000 --- a/plugins/AdminTools/language/fr_CA/plugin.lang.php +++ /dev/null @@ -1,21 +0,0 @@ -%s.'] = 'Vue simulée de %s.'; -$lang['Properties page'] = 'Page d\'administration'; -$lang['Quick edit'] = 'Édition rapide'; -$lang['Revert'] = 'Annuler'; -$lang['Save'] = 'Sauvegarder'; -$lang['Saved'] = 'Sauvegardé'; -$lang['Save visit in history'] = 'Sauvegarder la viste dans l\'historique'; -$lang['Show SQL queries'] = 'Afficher les requêtes SQL'; -$lang['View as'] = 'Voir en tant que'; -$lang['Closed icon position'] = 'Position de l\'icône fermée'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Autoriser l\'accès à l\'édition rapide aux propriétaires des photos même s\'ils ne sont pas administrateurs'; -$lang['Open toolbar by default'] = 'Ouvrir la barre par défaut'; -$lang['left'] = 'gauche'; -$lang['right'] = 'droite'; - -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/fr_FR/description.txt b/plugins/AdminTools/language/fr_FR/description.txt deleted file mode 100644 index 34aa486e5..000000000 --- a/plugins/AdminTools/language/fr_FR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Rend possibles certaines tâches d’administration depuis la partie publique \ No newline at end of file diff --git a/plugins/AdminTools/language/fr_FR/index.php b/plugins/AdminTools/language/fr_FR/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/fr_FR/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/fr_FR/plugin.lang.php b/plugins/AdminTools/language/fr_FR/plugin.lang.php deleted file mode 100644 index bf718cef4..000000000 --- a/plugins/AdminTools/language/fr_FR/plugin.lang.php +++ /dev/null @@ -1,21 +0,0 @@ -%s.'] = 'Vue simulée de %s.'; -$lang['Properties page'] = 'Page d\'administration'; -$lang['Quick edit'] = 'Édition rapide'; -$lang['Revert'] = 'Annuler'; -$lang['Save'] = 'Sauvegarder'; -$lang['Saved'] = 'Sauvegardé'; -$lang['Save visit in history'] = 'Sauvegarder la viste dans l\'historique'; -$lang['Show SQL queries'] = 'Afficher les requêtes SQL'; -$lang['View as'] = 'Voir en tant que'; -$lang['Closed icon position'] = 'Position the l\'icône fermé'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Autoriser l\'accès à l\'édition rapide aux propriétaires des photos même s\'ils ne sont pas admin'; -$lang['Open toolbar by default'] = 'Ouvrir la barre par défaut'; -$lang['left'] = 'gauche'; -$lang['right'] = 'droite'; - -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/gl_ES/description.txt b/plugins/AdminTools/language/gl_ES/description.txt deleted file mode 100644 index 96b307a5a..000000000 --- a/plugins/AdminTools/language/gl_ES/description.txt +++ /dev/null @@ -1 +0,0 @@ -Faga algunha tarefa de administración das páxinas públicas. \ No newline at end of file diff --git a/plugins/AdminTools/language/gl_ES/index.php b/plugins/AdminTools/language/gl_ES/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/gl_ES/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/gl_ES/plugin.lang.php b/plugins/AdminTools/language/gl_ES/plugin.lang.php deleted file mode 100644 index 3d4b718e6..000000000 --- a/plugins/AdminTools/language/gl_ES/plugin.lang.php +++ /dev/null @@ -1,39 +0,0 @@ -%s.'] = 'Vendo como %s.'; -$lang['left'] = 'esquerda'; -$lang['right'] = 'dereita'; -$lang['Closed icon position'] = 'Posición icona pechada'; -$lang['Combine JS&CSS'] = 'Combinar JS&CSS'; -$lang['Debug languages'] = 'Depurar idiomas'; -$lang['Debug template'] = 'Depurar modelo'; -$lang['Open toolbar by default'] = 'Abrir a barra de ferramentas predeterminada'; -$lang['Properties page'] = 'Páxina de propiedades'; \ No newline at end of file diff --git a/plugins/AdminTools/language/he_IL/description.txt b/plugins/AdminTools/language/he_IL/description.txt deleted file mode 100755 index c4e66f93a..000000000 --- a/plugins/AdminTools/language/he_IL/description.txt +++ /dev/null @@ -1 +0,0 @@ -ביצוע משימות מנהל מדפים ציבוריים \ No newline at end of file diff --git a/plugins/AdminTools/language/he_IL/index.php b/plugins/AdminTools/language/he_IL/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/he_IL/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/he_IL/plugin.lang.php b/plugins/AdminTools/language/he_IL/plugin.lang.php deleted file mode 100755 index 70708d9df..000000000 --- a/plugins/AdminTools/language/he_IL/plugin.lang.php +++ /dev/null @@ -1,39 +0,0 @@ -%s.'] = 'צופה כ %s.'; -$lang['Open toolbar by default'] = 'סרגל כלים פתוחים כברירת מחדל'; -$lang['Properties page'] = 'מאפיינים'; -$lang['Combine JS&CSS'] = 'שלב JS&CSS'; -$lang['Debug languages'] = 'מיפוי שגיאות בשפות'; -$lang['Debug template'] = 'מיפוי שגיאות בתבנית'; -$lang['Closed icon position'] = 'סגור מיקום סמל'; -$lang['Quick edit'] = 'עריכה מהירה'; -$lang['Revert'] = 'חזור'; -$lang['Save'] = 'שמור'; -$lang['Save visit in history'] = 'שמור ביקורים בהיסטוריה'; -$lang['Saved'] = 'נשמר'; -$lang['Show SQL queries'] = 'הצג שאילתות SQL'; -$lang['View as'] = 'צפה כ'; -$lang['left'] = 'שמאל'; -$lang['right'] = 'ימין'; \ No newline at end of file diff --git a/plugins/AdminTools/language/hu_HU/description.txt b/plugins/AdminTools/language/hu_HU/description.txt deleted file mode 100644 index ef1ab553d..000000000 --- a/plugins/AdminTools/language/hu_HU/description.txt +++ /dev/null @@ -1 +0,0 @@ -Néhány admin tevékenységet elláthatsz a publikus oldalról \ No newline at end of file diff --git a/plugins/AdminTools/language/hu_HU/index.php b/plugins/AdminTools/language/hu_HU/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/hu_HU/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/hu_HU/plugin.lang.php b/plugins/AdminTools/language/hu_HU/plugin.lang.php deleted file mode 100755 index b8134fd24..000000000 --- a/plugins/AdminTools/language/hu_HU/plugin.lang.php +++ /dev/null @@ -1,39 +0,0 @@ -%s.'] = 'Látható, mint %s.'; \ No newline at end of file diff --git a/plugins/AdminTools/language/index.php b/plugins/AdminTools/language/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/it_IT/description.txt b/plugins/AdminTools/language/it_IT/description.txt deleted file mode 100755 index c73826599..000000000 --- a/plugins/AdminTools/language/it_IT/description.txt +++ /dev/null @@ -1 +0,0 @@ -Fare qualche admin task dalle pagine pubbliche \ No newline at end of file diff --git a/plugins/AdminTools/language/it_IT/index.php b/plugins/AdminTools/language/it_IT/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/it_IT/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/it_IT/plugin.lang.php b/plugins/AdminTools/language/it_IT/plugin.lang.php deleted file mode 100755 index 9f1eec8d5..000000000 --- a/plugins/AdminTools/language/it_IT/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Visualizza come %s.'; -$lang['View as'] = 'Mostra come'; -$lang['Show SQL queries'] = 'Mostra queries SQL'; -$lang['Save visit in history'] = 'Salvare visita nella storia'; -$lang['Revert'] = 'Ripristina'; -$lang['Properties page'] = 'Proprietà pagina'; -$lang['Quick edit'] = 'Modifica veloce'; -$lang['Debug template'] = 'Debug dei modelli'; -$lang['Debug languages'] = 'Debug delle lingue'; -$lang['Combine JS&CSS'] = 'Combinare JS & CSS'; -$lang['Save'] = 'Salva'; -$lang['Saved'] = 'Salvato'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Dare accesso modifica veloce ai proprietari di foto anche se non sono amministratori'; -$lang['Closed icon position'] = 'Posiziona l\'icona di chiusura'; -$lang['Open toolbar by default'] = 'Apri la barra predefinita'; -$lang['left'] = 'sinistra'; -$lang['right'] = 'destra'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/ja_JP/index.php b/plugins/AdminTools/language/ja_JP/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/ja_JP/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/ja_JP/plugin.lang.php b/plugins/AdminTools/language/ja_JP/plugin.lang.php deleted file mode 100644 index b72fee146..000000000 --- a/plugins/AdminTools/language/ja_JP/plugin.lang.php +++ /dev/null @@ -1,31 +0,0 @@ - diff --git a/plugins/AdminTools/language/km_KH/plugin.lang.php b/plugins/AdminTools/language/km_KH/plugin.lang.php deleted file mode 100755 index f7455f39d..000000000 --- a/plugins/AdminTools/language/km_KH/plugin.lang.php +++ /dev/null @@ -1,39 +0,0 @@ -%s.'] = 'បង្ហាញជា %s។'; -$lang['Show SQL queries'] = 'បង្ហាញសំនេរ SQL'; -$lang['Saved'] = 'បាន​រក្សាទុក'; -$lang['Save visit in history'] = 'រក្សាការ​ចូលមើល​ទុក'; -$lang['Save'] = 'រក្សាទុក'; -$lang['Quick edit'] = 'ការកែ​ប្រែលឿន'; -$lang['Properties page'] = 'ទំព័រ​ឯកសារលក្ខណៈ'; -$lang['Open toolbar by default'] = 'បើ​របារឧបករណ៍​ដោយលំនាំ​ដើម'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'ផ្តល់​សិទ្ធិចូល​ទៅ​ការកែ​ប្រែលឿនដល់​ម្ចាស់​រូបភាព បើទោះបី​ពួកគាត់​ពុំមែន​ជា​អ្នក​គ្រប់គ្រង​ក៏ដោយ'; -$lang['Debug template'] = 'ស្វែងរក​កំបុស​ពុម្ព'; -$lang['Debug languages'] = 'ស្វែង​រកកំហុស​ភាសា'; -$lang['Combine JS&CSS'] = 'បញ្ចូល JS&CSS'; -$lang['Closed icon position'] = 'ទីតាំ​ង​រូប​បិទ'; \ No newline at end of file diff --git a/plugins/AdminTools/language/lt_LT/description.txt b/plugins/AdminTools/language/lt_LT/description.txt deleted file mode 100755 index d2af0ceb1..000000000 --- a/plugins/AdminTools/language/lt_LT/description.txt +++ /dev/null @@ -1 +0,0 @@ -Atlikti kai kurias administravimo užduotis iš viešųjų puslapių \ No newline at end of file diff --git a/plugins/AdminTools/language/lt_LT/index.php b/plugins/AdminTools/language/lt_LT/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/lt_LT/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/lt_LT/plugin.lang.php b/plugins/AdminTools/language/lt_LT/plugin.lang.php deleted file mode 100755 index 30fcf29c6..000000000 --- a/plugins/AdminTools/language/lt_LT/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Rodoma kaip %s.'; -$lang['Saved'] = 'Išsaugota'; -$lang['Closed icon position'] = 'Užvertos ikonos pozicija'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Leisti greitą nuotraukos redagavimą jų savininkams, net jeigu jie ne administratoriai'; -$lang['Open toolbar by default'] = 'Atverti įrankių juostą pagal nutylėjimą'; -$lang['left'] = 'kairė'; -$lang['right'] = 'dešinė'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/lv_LV/description.txt b/plugins/AdminTools/language/lv_LV/description.txt deleted file mode 100755 index 4cea33bc9..000000000 --- a/plugins/AdminTools/language/lv_LV/description.txt +++ /dev/null @@ -1 +0,0 @@ -Veikt kādu administratora uzdevumu no vispārējām lapām. \ No newline at end of file diff --git a/plugins/AdminTools/language/lv_LV/index.php b/plugins/AdminTools/language/lv_LV/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/lv_LV/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/lv_LV/plugin.lang.php b/plugins/AdminTools/language/lv_LV/plugin.lang.php deleted file mode 100755 index 002766ab1..000000000 --- a/plugins/AdminTools/language/lv_LV/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Apskatīt kā %s .'; -$lang['Show SQL queries'] = 'Parādīt SQL vaicājumu'; -$lang['Save visit in history'] = 'Saglabāt apmeklējumu vēsturē'; -$lang['Save'] = 'Saglabāt'; -$lang['Debug languages'] = 'Atkļūdot valodas'; -$lang['Debug template'] = 'Atkļūdošanas veidne'; -$lang['Properties page'] = 'Rekvizītu lapa'; -$lang['Quick edit'] = 'Ātrā rediģēšana'; -$lang['Saved'] = 'Saglabāts'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Ļauj piekļūt foto īpašniekiem ātrai rediģēšanai arī tad, ja tie nav admini'; -$lang['Closed icon position'] = 'Ikonas slēgt pozīcija'; -$lang['Open toolbar by default'] = 'Atvērt rīkjoslu pēc noklusējuma'; -$lang['right'] = 'pa labi'; -$lang['left'] = 'pa kreisi'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/mn_MN/description.txt b/plugins/AdminTools/language/mn_MN/description.txt deleted file mode 100755 index 92caa90b0..000000000 --- a/plugins/AdminTools/language/mn_MN/description.txt +++ /dev/null @@ -1 +0,0 @@ -Do some admin task from the public pages \ No newline at end of file diff --git a/plugins/AdminTools/language/mn_MN/index.php b/plugins/AdminTools/language/mn_MN/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/mn_MN/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/mn_MN/plugin.lang.php b/plugins/AdminTools/language/mn_MN/plugin.lang.php deleted file mode 100755 index 505c16f83..000000000 --- a/plugins/AdminTools/language/mn_MN/plugin.lang.php +++ /dev/null @@ -1,33 +0,0 @@ - diff --git a/plugins/AdminTools/language/nb_NO/plugin.lang.php b/plugins/AdminTools/language/nb_NO/plugin.lang.php deleted file mode 100755 index f3ef67d4d..000000000 --- a/plugins/AdminTools/language/nb_NO/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Se som %s.'; -$lang['Closed icon position'] = 'Låst ikonposisjon'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Gi tilgang til hurtigredigering av bildeeier, selv om de ikke er admin'; -$lang['Open toolbar by default'] = 'Åpne verktøy automatisk'; -$lang['left'] = 'venstre'; -$lang['right'] = 'høyre'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/nl_NL/description.txt b/plugins/AdminTools/language/nl_NL/description.txt deleted file mode 100755 index 8522e1f02..000000000 --- a/plugins/AdminTools/language/nl_NL/description.txt +++ /dev/null @@ -1 +0,0 @@ -Doe enkele admin-taken vanaf de openbare pagina's \ No newline at end of file diff --git a/plugins/AdminTools/language/nl_NL/index.php b/plugins/AdminTools/language/nl_NL/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/nl_NL/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/nl_NL/plugin.lang.php b/plugins/AdminTools/language/nl_NL/plugin.lang.php deleted file mode 100755 index 8f5ad2a2e..000000000 --- a/plugins/AdminTools/language/nl_NL/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Bekijken als %s.'; -$lang['Show SQL queries'] = 'Toon SQL queries'; -$lang['View as'] = 'Bekijk als'; -$lang['Quick edit'] = 'Snel bewerken'; -$lang['Combine JS&CSS'] = 'Combineer JS&CSS'; -$lang['Saved'] = 'Opgeslagen'; -$lang['Closed icon position'] = 'Positie van pictogram gesloten'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Geef foto-eigenaren toegang tot Snel bewerken, zelfs als ze geen administrator zijn.'; -$lang['Open toolbar by default'] = 'Open standaard de werkbalk'; -$lang['left'] = 'links'; -$lang['right'] = 'rechts'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/pl_PL/description.txt b/plugins/AdminTools/language/pl_PL/description.txt deleted file mode 100755 index 32e0b7b31..000000000 --- a/plugins/AdminTools/language/pl_PL/description.txt +++ /dev/null @@ -1 +0,0 @@ -Wykonuj niektóre zadania admina wprost z ogólnodostępnych stron \ No newline at end of file diff --git a/plugins/AdminTools/language/pl_PL/index.php b/plugins/AdminTools/language/pl_PL/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/pl_PL/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/pl_PL/plugin.lang.php b/plugins/AdminTools/language/pl_PL/plugin.lang.php deleted file mode 100755 index afc84b06d..000000000 --- a/plugins/AdminTools/language/pl_PL/plugin.lang.php +++ /dev/null @@ -1,39 +0,0 @@ -%s.'] = 'Oglądasz jako %s'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Przyznaj dostęp do szybkiej edycji właścicielom zdjęć nawet, gdy nie są administratorami'; -$lang['Open toolbar by default'] = 'Domyślnie otwieraj pasek narzędzi'; -$lang['left'] = 'lewo'; -$lang['right'] = 'prawo'; -$lang['Closed icon position'] = 'Stała pozycja ikony.'; \ No newline at end of file diff --git a/plugins/AdminTools/language/pt_BR/description.txt b/plugins/AdminTools/language/pt_BR/description.txt deleted file mode 100755 index cda8f883f..000000000 --- a/plugins/AdminTools/language/pt_BR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Faça algumas tarefas de administração a partir das páginas públicas \ No newline at end of file diff --git a/plugins/AdminTools/language/pt_BR/index.php b/plugins/AdminTools/language/pt_BR/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/pt_BR/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/pt_BR/plugin.lang.php b/plugins/AdminTools/language/pt_BR/plugin.lang.php deleted file mode 100755 index 6809b2352..000000000 --- a/plugins/AdminTools/language/pt_BR/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Visulaizar como %s'; -$lang['Saved'] = 'Salvo'; -$lang['Closed icon position'] = 'Posição ícone Fechado'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Dar acesso a edição rápida para proprietários de fotografias, mesmo se eles não forem admin'; -$lang['Open toolbar by default'] = 'Abrir barra de ferramentas por padrão'; -$lang['left'] = 'esquerda'; -$lang['right'] = 'direita'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/pt_PT/description.txt b/plugins/AdminTools/language/pt_PT/description.txt deleted file mode 100755 index 7b5eab56e..000000000 --- a/plugins/AdminTools/language/pt_PT/description.txt +++ /dev/null @@ -1 +0,0 @@ -Faça alguma tarefa administrativa das páginas públicas \ No newline at end of file diff --git a/plugins/AdminTools/language/pt_PT/index.php b/plugins/AdminTools/language/pt_PT/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/pt_PT/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/pt_PT/plugin.lang.php b/plugins/AdminTools/language/pt_PT/plugin.lang.php deleted file mode 100755 index 0c4b86e1c..000000000 --- a/plugins/AdminTools/language/pt_PT/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Vendo como %s.'; -$lang['Saved'] = 'Salvo'; -$lang['Closed icon position'] = 'Posição do icon encerrada'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Permite acesso aos proprietários da foto para edição rápida mesmo não sendo administradores'; -$lang['Open toolbar by default'] = 'Abrir, por defeito, a barra de ferramentas '; -$lang['left'] = 'Esquerda'; -$lang['right'] = 'Direita'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/ro_RO/description.txt b/plugins/AdminTools/language/ro_RO/description.txt deleted file mode 100755 index 240f7316d..000000000 --- a/plugins/AdminTools/language/ro_RO/description.txt +++ /dev/null @@ -1 +0,0 @@ -Execută anumite sarcini administrative din paginile publice \ No newline at end of file diff --git a/plugins/AdminTools/language/ro_RO/index.php b/plugins/AdminTools/language/ro_RO/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/ro_RO/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/ro_RO/plugin.lang.php b/plugins/AdminTools/language/ro_RO/plugin.lang.php deleted file mode 100755 index 6ead74570..000000000 --- a/plugins/AdminTools/language/ro_RO/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Vizualizare ca %s.'; -$lang['Closed icon position'] = 'Pozitia pictogramelor inchisa'; -$lang['right'] = 'Dreapta'; -$lang['left'] = 'Stanga'; -$lang['Open toolbar by default'] = 'Deschide implicit bara de instrumente'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Ofera detinatorilor de fotografii dreptul de a edita, chiar daca nu sunt administratori'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/ru_RU/description.txt b/plugins/AdminTools/language/ru_RU/description.txt deleted file mode 100755 index ddd15a835..000000000 --- a/plugins/AdminTools/language/ru_RU/description.txt +++ /dev/null @@ -1 +0,0 @@ -Позволяет выполнять некоторые администраторские функции с публичных страниц \ No newline at end of file diff --git a/plugins/AdminTools/language/ru_RU/index.php b/plugins/AdminTools/language/ru_RU/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/ru_RU/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/ru_RU/plugin.lang.php b/plugins/AdminTools/language/ru_RU/plugin.lang.php deleted file mode 100755 index 4a29a7b19..000000000 --- a/plugins/AdminTools/language/ru_RU/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Просмотр как %s.'; -$lang['Saved'] = 'Сохранено'; -$lang['Closed icon position'] = 'Закрытое положение иконки'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Предоставить доступ для быстрого редактирования изображений их владельцам, даже если они не админы'; -$lang['Open toolbar by default'] = 'Открыть панель инструментов по умолчанию'; -$lang['left'] = 'слева'; -$lang['right'] = 'справа'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/sh_RS/description.txt b/plugins/AdminTools/language/sh_RS/description.txt deleted file mode 100755 index 550ccd93d..000000000 --- a/plugins/AdminTools/language/sh_RS/description.txt +++ /dev/null @@ -1 +0,0 @@ -Omogućuje obavljanje nekih administrativnih zadataka sa javnih stranica. \ No newline at end of file diff --git a/plugins/AdminTools/language/sh_RS/index.php b/plugins/AdminTools/language/sh_RS/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/sh_RS/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/sh_RS/plugin.lang.php b/plugins/AdminTools/language/sh_RS/plugin.lang.php deleted file mode 100755 index ce77c8893..000000000 --- a/plugins/AdminTools/language/sh_RS/plugin.lang.php +++ /dev/null @@ -1,39 +0,0 @@ -%s.'] = 'Prikazujem kao %s.'; -$lang['left'] = 'levo'; -$lang['right'] = 'desno'; \ No newline at end of file diff --git a/plugins/AdminTools/language/sk_SK/description.txt b/plugins/AdminTools/language/sk_SK/description.txt deleted file mode 100755 index d59177d81..000000000 --- a/plugins/AdminTools/language/sk_SK/description.txt +++ /dev/null @@ -1 +0,0 @@ -Niektoré administrátorské úlohy z verejných stránok \ No newline at end of file diff --git a/plugins/AdminTools/language/sk_SK/index.php b/plugins/AdminTools/language/sk_SK/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/sk_SK/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/sk_SK/plugin.lang.php b/plugins/AdminTools/language/sk_SK/plugin.lang.php deleted file mode 100755 index a8d5c51b9..000000000 --- a/plugins/AdminTools/language/sk_SK/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Predviesť ako %s.'; -$lang['View as'] = 'Ukázať ako'; -$lang['Show SQL queries'] = 'Zobraziť SQL otázky'; -$lang['Save visit in history'] = 'Uložiť návštevy v histórii'; -$lang['Save'] = 'Uložiť'; -$lang['Revert'] = 'Späť'; -$lang['Quick edit'] = 'Rýchla editácia'; -$lang['Properties page'] = 'Vlastnosti stránky'; -$lang['Debug template'] = 'Odstrániť chyby šablón'; -$lang['Debug languages'] = 'Odstrániť chyby jazykov'; -$lang['Combine JS&CSS'] = 'Kombinovať JS&CSS'; -$lang['Saved'] = 'Uložené'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Poskytnúť prístup na rýchlu úpravu fotiek majiteľom, ak nie sú adminom'; -$lang['Open toolbar by default'] = 'Otvoriť prednastavený panel nástrojov'; -$lang['Closed icon position'] = 'Uzavrieť umiestnenie ikony'; -$lang['right'] = 'vpravo'; -$lang['left'] = 'vľavo'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/sl_SI/description.txt b/plugins/AdminTools/language/sl_SI/description.txt deleted file mode 100755 index 40be2470b..000000000 --- a/plugins/AdminTools/language/sl_SI/description.txt +++ /dev/null @@ -1 +0,0 @@ -Administracija javnih strani \ No newline at end of file diff --git a/plugins/AdminTools/language/sl_SI/index.php b/plugins/AdminTools/language/sl_SI/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/sl_SI/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/sl_SI/plugin.lang.php b/plugins/AdminTools/language/sl_SI/plugin.lang.php deleted file mode 100755 index 7d1c08fef..000000000 --- a/plugins/AdminTools/language/sl_SI/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Ogled kot %s.'; -$lang['right'] = 'desno'; -$lang['left'] = 'levo'; -$lang['View as'] = 'Poglej kot'; -$lang['Show SQL queries'] = 'Prikaži SQL poizvedbe'; -$lang['Saved'] = 'Shranjeno'; -$lang['Save'] = 'Shrani'; -$lang['Closed icon position'] = 'Zaprta pozicija ikone'; -$lang['Debug languages'] = 'Razhroščevalni jeziki'; -$lang['Debug template'] = 'Razhroščevalna predloga'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Dovoli dostop do hitrega urejanja fotografij lastnikom tudi če nimajo administratorskih pravic'; -$lang['Quick edit'] = 'Hitro urejanje'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/sr_RS/description.txt b/plugins/AdminTools/language/sr_RS/description.txt deleted file mode 100755 index 45d42b114..000000000 --- a/plugins/AdminTools/language/sr_RS/description.txt +++ /dev/null @@ -1 +0,0 @@ -Омогућује обављање неких административних задатака са јавних страница. \ No newline at end of file diff --git a/plugins/AdminTools/language/sr_RS/index.php b/plugins/AdminTools/language/sr_RS/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/sr_RS/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/sr_RS/plugin.lang.php b/plugins/AdminTools/language/sr_RS/plugin.lang.php deleted file mode 100755 index daea1e9d7..000000000 --- a/plugins/AdminTools/language/sr_RS/plugin.lang.php +++ /dev/null @@ -1,39 +0,0 @@ -%s.'] = 'Приказујем као %s.'; -$lang['left'] = 'лево'; -$lang['right'] = 'десно'; \ No newline at end of file diff --git a/plugins/AdminTools/language/sv_SE/description.txt b/plugins/AdminTools/language/sv_SE/description.txt deleted file mode 100755 index 52525bf68..000000000 --- a/plugins/AdminTools/language/sv_SE/description.txt +++ /dev/null @@ -1 +0,0 @@ -Admin tools ger möjlighet att utföra vissa adminuppgifter från den publika sidan. \ No newline at end of file diff --git a/plugins/AdminTools/language/sv_SE/index.php b/plugins/AdminTools/language/sv_SE/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/sv_SE/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/sv_SE/plugin.lang.php b/plugins/AdminTools/language/sv_SE/plugin.lang.php deleted file mode 100755 index cd398684a..000000000 --- a/plugins/AdminTools/language/sv_SE/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Visas som %s.'; -$lang['left'] = 'Vänster'; -$lang['right'] = 'Höger'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/ta_IN/description.txt b/plugins/AdminTools/language/ta_IN/description.txt deleted file mode 100755 index 820d66fbd..000000000 --- a/plugins/AdminTools/language/ta_IN/description.txt +++ /dev/null @@ -1 +0,0 @@ -பொது பக்கங்களில் இருந்து சில நிர்வாக பணி செய்ய \ No newline at end of file diff --git a/plugins/AdminTools/language/ta_IN/index.php b/plugins/AdminTools/language/ta_IN/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/ta_IN/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/ta_IN/plugin.lang.php b/plugins/AdminTools/language/ta_IN/plugin.lang.php deleted file mode 100755 index 6cec3af3a..000000000 --- a/plugins/AdminTools/language/ta_IN/plugin.lang.php +++ /dev/null @@ -1,24 +0,0 @@ - diff --git a/plugins/AdminTools/language/tr_TR/plugin.lang.php b/plugins/AdminTools/language/tr_TR/plugin.lang.php deleted file mode 100755 index 60f54ac94..000000000 --- a/plugins/AdminTools/language/tr_TR/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = '%s olarak görülüyor.'; -$lang['Revert'] = 'Geri al'; -$lang['Debug template'] = 'Hata ayıklama şablonu'; -$lang['Debug languages'] = 'Hata ayıklama dili'; -$lang['Properties page'] = 'Özellikler sayfası'; -$lang['Combine JS&CSS'] = 'JS&CSS Birleştir'; -$lang['Show SQL queries'] = 'SQL sorgularını göster'; -$lang['Save visit in history'] = 'Ziyareti geçmiş günlüğüne kaydet'; -$lang['Save'] = 'Kaydet'; -$lang['Quick edit'] = 'Hızlı düzenle'; -$lang['Saved'] = 'Kaydedildi'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Yönetici olmasalar dahi fotoğraf sahiplerine hızlı düzenleme izni ver'; -$lang['right'] = 'sağ'; -$lang['left'] = 'sol'; -$lang['Open toolbar by default'] = 'Araç çubuğunu varsayılan olarak aç'; -$lang['Closed icon position'] = 'Seçilen küçük resim yeri'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/uk_UA/description.txt b/plugins/AdminTools/language/uk_UA/description.txt deleted file mode 100755 index b8f869e93..000000000 --- a/plugins/AdminTools/language/uk_UA/description.txt +++ /dev/null @@ -1 +0,0 @@ -Зробити деякі завдання адміністратора від загальнодоступних сторінок. \ No newline at end of file diff --git a/plugins/AdminTools/language/uk_UA/index.php b/plugins/AdminTools/language/uk_UA/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/uk_UA/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/uk_UA/plugin.lang.php b/plugins/AdminTools/language/uk_UA/plugin.lang.php deleted file mode 100755 index cfbc3e352..000000000 --- a/plugins/AdminTools/language/uk_UA/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = 'Перегляд у вигляді %s.'; -$lang['Closed icon position'] = 'Закрита позиція значка'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Надати доступ до швидкого редагування фото власникам, навіть якщо вони не адміністратори'; -$lang['Open toolbar by default'] = 'За замовчуванням відкрита панель інструментів '; -$lang['left'] = 'ліво'; -$lang['right'] = 'право'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/vi_VN/description.txt b/plugins/AdminTools/language/vi_VN/description.txt deleted file mode 100644 index e821841da..000000000 --- a/plugins/AdminTools/language/vi_VN/description.txt +++ /dev/null @@ -1,2 +0,0 @@ -Do some admin task from the public pages -Thực thi một vài nhiệm vụ quản trị từ các trang công khai \ No newline at end of file diff --git a/plugins/AdminTools/language/vi_VN/index.php b/plugins/AdminTools/language/vi_VN/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/vi_VN/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/vi_VN/plugin.lang.php b/plugins/AdminTools/language/vi_VN/plugin.lang.php deleted file mode 100755 index 80b501059..000000000 --- a/plugins/AdminTools/language/vi_VN/plugin.lang.php +++ /dev/null @@ -1,39 +0,0 @@ -%s.'] = 'Đang xem dưới dạng %s.'; -$lang['Saved'] = 'Đã lưu'; -$lang['Closed icon position'] = 'Vị trí biểu tượng đã đóng'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = 'Cho truy xuất để chỉnh sửa nhanh hình ảnh với cả người dùng không phải là quản trị viên'; -$lang['Open toolbar by default'] = 'Mở thanh công cụ một cách mặc định'; -$lang['left'] = 'trái'; -$lang['right'] = 'phải'; \ No newline at end of file diff --git a/plugins/AdminTools/language/zh_CN/description.txt b/plugins/AdminTools/language/zh_CN/description.txt deleted file mode 100755 index cea835cde..000000000 --- a/plugins/AdminTools/language/zh_CN/description.txt +++ /dev/null @@ -1 +0,0 @@ -于前台页面执行一些管理任务。 \ No newline at end of file diff --git a/plugins/AdminTools/language/zh_CN/index.php b/plugins/AdminTools/language/zh_CN/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/zh_CN/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/zh_CN/plugin.lang.php b/plugins/AdminTools/language/zh_CN/plugin.lang.php deleted file mode 100755 index 37702a175..000000000 --- a/plugins/AdminTools/language/zh_CN/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = '正以…查看: %s.'; -$lang['Saved'] = '保存'; -$lang['Closed icon position'] = '关闭图标位置'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = '给予图片所有者快速修改权限,即使他们不是管理员'; -$lang['Open toolbar by default'] = '默认打开工具栏'; -$lang['left'] = '左'; -$lang['right'] = '右'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/zh_HK/description.txt b/plugins/AdminTools/language/zh_HK/description.txt deleted file mode 100755 index 095ac352f..000000000 --- a/plugins/AdminTools/language/zh_HK/description.txt +++ /dev/null @@ -1 +0,0 @@ -在公開頁面做一些管理任務 \ No newline at end of file diff --git a/plugins/AdminTools/language/zh_HK/index.php b/plugins/AdminTools/language/zh_HK/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/zh_HK/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/zh_HK/plugin.lang.php b/plugins/AdminTools/language/zh_HK/plugin.lang.php deleted file mode 100755 index 8c764cce1..000000000 --- a/plugins/AdminTools/language/zh_HK/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = '查看為%s的。'; -$lang['Saved'] = '已儲存'; -$lang['Closed icon position'] = '關閉圖標位置'; -$lang['Give access to quick edit to photo owners even if they are not admin'] = '給訪客快速編輯為照片擁有人,即使他們不是管理員'; -$lang['Open toolbar by default'] = '默認打開工具欄'; -$lang['left'] = '左'; -$lang['right'] = '右'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/language/zh_TW/description.txt b/plugins/AdminTools/language/zh_TW/description.txt deleted file mode 100755 index f00b68e96..000000000 --- a/plugins/AdminTools/language/zh_TW/description.txt +++ /dev/null @@ -1 +0,0 @@ -在公共頁面做一些管理任務 \ No newline at end of file diff --git a/plugins/AdminTools/language/zh_TW/index.php b/plugins/AdminTools/language/zh_TW/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/language/zh_TW/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/language/zh_TW/plugin.lang.php b/plugins/AdminTools/language/zh_TW/plugin.lang.php deleted file mode 100755 index e94bcf9c2..000000000 --- a/plugins/AdminTools/language/zh_TW/plugin.lang.php +++ /dev/null @@ -1,40 +0,0 @@ -%s.'] = '查看為 %s.'; -$lang['left'] = '左'; -$lang['right'] = '右'; -?> \ No newline at end of file diff --git a/plugins/AdminTools/main.inc.php b/plugins/AdminTools/main.inc.php deleted file mode 100644 index 5928dd596..000000000 --- a/plugins/AdminTools/main.inc.php +++ /dev/null @@ -1,63 +0,0 @@ - 'Admin Tools', - 'URL' => ADMINTOOLS_ADMIN, - ); - - return $menu; -} diff --git a/plugins/AdminTools/maintain.class.php b/plugins/AdminTools/maintain.class.php deleted file mode 100644 index 2e89968fd..000000000 --- a/plugins/AdminTools/maintain.class.php +++ /dev/null @@ -1,31 +0,0 @@ - true, - 'closed_position' => 'left', - 'public_quick_edit' => true, - ); - - function install($plugin_version, &$errors=array()) - { - global $conf; - - if (empty($conf['AdminTools'])) - { - conf_update_param('AdminTools', $this->default_conf, true); - } - } - - function update($old_version, $new_version, &$errors=array()) - { - $this->install($new_version, $errors); - } - - function uninstall() - { - conf_delete_param('AdminTools'); - } -} diff --git a/plugins/AdminTools/template/admin.tpl b/plugins/AdminTools/template/admin.tpl deleted file mode 100644 index b82b3fd24..000000000 --- a/plugins/AdminTools/template/admin.tpl +++ /dev/null @@ -1,60 +0,0 @@ -{html_style} -.graphicalCheckbox { - font-size:16px; - line-height:16px; -} - -.graphicalCheckbox + input { - display:none; -} -{/html_style} - -{footer_script} -jQuery('#ato-config input[type=checkbox]').change(function() { - jQuery(this).prev().toggleClass('icon-check icon-check-empty'); -}); -jQuery('#ato-config input[type=radio]').change(function() { - jQuery('#ato-config input[type=radio][name='+ $(this).attr('name') +']').prev().toggleClass('icon-check icon-check-empty'); -}); -{/footer_script} - -
-

Admin Tools

-
- -
-
- {'Configuration'|translate} -
    -
  • - -
  • -
  • - -
  • -
  • - {'Closed icon position'|translate} : - - -
  • -
-
- -

-
\ No newline at end of file diff --git a/plugins/AdminTools/template/admin_controller.js b/plugins/AdminTools/template/admin_controller.js deleted file mode 100644 index 73f7b1096..000000000 --- a/plugins/AdminTools/template/admin_controller.js +++ /dev/null @@ -1,118 +0,0 @@ -var AdminTools = function($) { - var __this = this; - - this.urlWS; - this.urlSelf; - this.multiView; - - var $ato = $('#ato_container'); - - // fill multiview selects - // data came from AJAX request or sessionStorage - function populateMultiView() { - var $multiview = $ato.find('.multiview'); - - if ($multiview.data('init')) return; - - var render = function(data) { - var html = ''; - $.each(data.users, function(i, user) { - if (user.status == 'webmaster' || user.status == 'admin') { - html+= ''; - } - }); - $multiview.find('select[data-type="view_as"]').html(html) - .val(__this.multiView.view_as); - - html = ''; - $.each(['clear','roma'], function(i, theme) { - html+= ''; - }); - $multiview.find('select[data-type="theme"]').html(html) - .val(__this.multiView.theme); - - html = ''; - $.each(data.languages, function(i, language) { - html+= ''; - }); - $multiview.find('select[data-type="lang"]').html(html) - .val(__this.multiView.lang); - - $multiview.data('init', true); - - $multiview.find('.switcher').show(); - }; - - if ('sessionStorage' in window && window.sessionStorage.multiView != undefined) { - render(JSON.parse(window.sessionStorage.multiView)); - } - else { - $.ajax({ - method: 'POST', - url: __this.urlWS + 'multiView.getData', - dataType: 'json', - success: function(data) { - render(data.result); - if ('sessionStorage' in window) { - window.sessionStorage.multiView = JSON.stringify(data.result); - } - }, - error: function(xhr, text, error) { - alert(text + ' ' + error); - } - }); - } - } - - // delete session cache - this.deleteCache = function() { - if ('sessionStorage' in window) { - window.sessionStorage.removeItem('multiView'); - } - }; - - // attach jquery handlers - this.init = function(open) { - $('.multiview').appendTo($ato); - - /* */ - $ato.on({ - 'click': function(e) { - populateMultiView(); - $(this).find('ul').toggle(); - }, - 'mouseleave': function(e) { - if (e.target.tagName.toLowerCase() != "select") { - $(this).find('ul').hide(); - } - } - }); - $ato.find('>a').on('click', function(e) { - e.preventDefault(); - }); - $ato.find('ul').on('mouseleave', function(e) { - if (e.target.tagName.toLowerCase() != "select") { - $(this).hide(); - } - }); - - /* */ - $ato.find('.switcher').on({ - 'change': function() { - if ($(this).data('type') == 'theme') { - if ($(this).val() != __this.multiView.theme) { - window.location.href = __this.urlSelf + 'change_theme=1'; - } - } - else { - window.location.href = __this.urlSelf + 'ato_'+ $(this).data('type') +'='+ $(this).val(); - } - }, - 'click': function(e) { - e.stopPropagation(); - } - }); - }; - - return this; -}(jQuery); \ No newline at end of file diff --git a/plugins/AdminTools/template/admin_controller.tpl b/plugins/AdminTools/template/admin_controller.tpl deleted file mode 100644 index ddc0bc2c9..000000000 --- a/plugins/AdminTools/template/admin_controller.tpl +++ /dev/null @@ -1,39 +0,0 @@ -{strip} -{combine_css path=$ADMINTOOLS_PATH|cat:'template/admin_style.css'} -{combine_css path=$ADMINTOOLS_PATH|cat:'template/fontello/css/fontello-ato.css'} -{combine_script id='admintools.controller' load='footer' require='jquery' path=$ADMINTOOLS_PATH|cat:'template/admin_controller.js'} -{/strip} - -{footer_script require='admintools.controller'} -AdminTools.urlWS = '{$ROOT_URL}ws.php?format=json&method='; -AdminTools.urlSelf = '{$ato.U_SELF}'; - -AdminTools.multiView = { - view_as: {$ato.MULTIVIEW.view_as}, - theme: '{$themeconf.name}', - lang: '{$ato.MULTIVIEW.lang}' -}; - -{if $ato.DELETE_CACHE} - AdminTools.deleteCache(); -{/if} - AdminTools.init(); -{/footer_script} - - \ No newline at end of file diff --git a/plugins/AdminTools/template/admin_style.css b/plugins/AdminTools/template/admin_style.css deleted file mode 100644 index 76f0cae2c..000000000 --- a/plugins/AdminTools/template/admin_style.css +++ /dev/null @@ -1,68 +0,0 @@ -.icon-ato-null:before { content:' '; } - -#ato_container { - display:inline-block; - position:relative; -} - -.multiview { - display:none; - z-index:1000; -} - -#ato_container>ul { - position:absolute; - top:27px; - left:auto; - right:0; - background:#fefefe; - padding:0; - margin:0; - box-shadow:3px 3px 5px rgba(0,0,0,0.5); -} - #ato_container>ul li { - list-style:none; - line-height:16px; - font-size:13px; - white-space:nowrap; - } - #ato_container>ul li>* { - display:inline-block; - padding:5px 10px; - border:none; - text-decoration:none; - color:#444; - text-shadow:1px 1px 0px #eee; - } - #ato_container>ul li>*:before { - font-size:16px; - margin-right:0.5em; - } - #ato_container>ul li:hover { - background:#dedede; - } - #ato_container>ul label { - font-weight:bold; - color:#777; - display:inline-block; - width:80px; - padding:5px; - text-align:right; - font-size:11px; - } - #ato_container>ul select, #ato_container>ul option { - font-size:13px; - line-height:15px; - color:#444; - background:#fefefe; - border-radius:2px; - text-shadow:none; - } - #ato_container>ul select { - border:1px solid #777; - height:22px; - padding:2px 3px; - } - #ato_container .switcher { - display:none; - } \ No newline at end of file diff --git a/plugins/AdminTools/template/fontello/LICENSE.txt b/plugins/AdminTools/template/fontello/LICENSE.txt deleted file mode 100644 index 4b7ab412b..000000000 --- a/plugins/AdminTools/template/fontello/LICENSE.txt +++ /dev/null @@ -1,39 +0,0 @@ -Font license info - - -## Font Awesome - - Copyright (C) 2012 by Dave Gandy - - Author: Dave Gandy - License: SIL () - Homepage: http://fortawesome.github.com/Font-Awesome/ - - -## Entypo - - Copyright (C) 2012 by Daniel Bruce - - Author: Daniel Bruce - License: CC BY-SA (http://creativecommons.org/licenses/by-sa/2.0/) - Homepage: http://www.entypo.com - - -## Iconic - - Copyright (C) 2012 by P.J. Onori - - Author: P.J. Onori - License: SIL (http://scripts.sil.org/OFL) - Homepage: http://somerandomdude.com/work/iconic/ - - -## MFG Labs - - Copyright (C) 2012 by Daniel Bruce - - Author: MFG Labs - License: SIL (http://scripts.sil.org/OFL) - Homepage: http://www.mfglabs.com/ - - diff --git a/plugins/AdminTools/template/fontello/README.txt b/plugins/AdminTools/template/fontello/README.txt deleted file mode 100644 index 43e23f283..000000000 --- a/plugins/AdminTools/template/fontello/README.txt +++ /dev/null @@ -1,75 +0,0 @@ -This webfont is generated by http://fontello.com open source project. - - -================================================================================ -Please, note, that you should obey original font licences, used to make this -webfont pack. Details available in LICENSE.txt file. - -- Usually, it's enough to publish content of LICENSE.txt file somewhere on your - site in "About" section. - -- If your project is open-source, usually, it will be ok to make LICENSE.txt - file publically available in your repository. - -- Fonts, used in Fontello, don't require to make clickable links on your site. - But any kind of additional authors crediting is welcome. -================================================================================ - - -Comments on archive content ---------------------------- - -- /font/* - fonts in different formats - -- /css/* - different kinds of css, for all situations. Should be ok with - twitter bootstrap. Also, you can skip style and assign icon classes - directly to text elements, if you don't mind about IE7. - -- demo.html - demo file, to show your webfont content - -- LICENSE.txt - license info about source fonts, used to build your one. - -- config.json - keeps your settings. You can import it back to fontello anytime, - to continue your work - - -Why so many CSS files ? ------------------------ - -Because we like to fit all your needs :) - -- basic file, .css - is usually enougth, in contains @font-face - and character codes definition - -- *-ie7.css - if you need IE7 support, but still don't wish to put char codes - directly into html - -- *-codes.css and *-ie7-codes.css - if you like to use your own @font-face - rules, but still wish to benefit of css generation. That can be very - convenient for automated assets build systems. When you need to update font - - no needs to manually edit files, just override old version with archive - content. See fontello source codes for example. - -- *-embedded.css - basic css file, but with embedded WOFF font, to avoid - CORS issues in Firefox and IE9+, when fonts are hosted on the separate domain. - We strongly recommend to resolve this issue by `Access-Control-Allow-Origin` - server headers. But if you ok with dirty hack - this file is for you. Note, - that data url moved to separate @font-face to avoid problems with - - - - - - - - - - -
-

- fontello-ato - font demo -

- -
-
-
-
icon-ato-doc-text-inv0xe800
-
icon-ato-flash0xe801
-
icon-ato-trophy0xe803
-
icon-ato-cancel0xe805
-
-
-
icon-ato-ok0xe802
-
-
- - - \ No newline at end of file diff --git a/plugins/AdminTools/template/fontello/font/fontello-ato.eot b/plugins/AdminTools/template/fontello/font/fontello-ato.eot deleted file mode 100644 index 0f80c691b8f2c12e6205872d3cbe8e403a6d41ab..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5248 zcmeHLZ){sv6+ibq|BKUR?czAeoTb-!agxQ)PU8GslLgPtpKk3oH~oX%h2hu4X_6&z zl(=0xAvDk!!@$^vfNt6*4a66O#&ySFNPL*!%a{NGAK(ihgg`1C8WON+11;fqp6xX4 zHvW9)weQ{EIrn$(IrrRik8k^skLcBUB0(DQqmfg$0W^;bMn_U*`RdnJLwx#;r=Gv6 zt)eDcpggTnfpWBhKY5Cf1t||g9nC;{hR#B7(FQbrItk4NZPJoGN>U$1sTV!}ZXR^A z6Ls_u>6E?aSWj%c>(G~=`7_>=bF0?+<>o*A9Ha@nGjrz(()H^7JQmk@^hB-;+XzUEEH@Q37@wVGRcwBrTH^RV&m zdVaHT&nHr^!aig=zP^!LfAaaKw~6Z6uahM7Tg2n!B#-u>_I+qRS8m1cs83+quI?H7 zu6a@mlk*h6OqZSd%=R*!(!1%)AXGOHi-W{(OGS4C68E-{!`=iBdCG}#S-1%Cw0kBJi0}U&#ErH~+G~0(-9QJB%p)`rzkNWsogzU_w{w}?F88tr!P0b>Hp{^m zI^9dc;Sl$b5RPNy5RPdn`(v_C_J#)W^w%_mLxTeyMzGCwv+()*gR!C8#I^G9exD2d z9i96JhWdm1K?();`ws}eHtKb6J>coNN?{55s*2Z_AZ)_FPFM9AsxBd`md7)*d zow@w^$`1PRR>Ci(UwgwZw|?fAheV5~chhC7A~VRDu(ObE~BlpW4L}?jEb1Q!ROY8hx%jU4XcIxYJfr&g=^YxlnUV4cwSdBhJ#gxj-M{KVs}^EzBx zTSHnom-UO<*J(es#GCiBBMB0kSVl5y%W%f>HTd)!!~1=RP;6KX4Ro}*MQ2BwtLd$# zLrvnH=Gav8R`PqzQ!#POX#Pucv-nHXRB!XvT`x7EHt`-msXvU<)QRGDkm8h#$H%+& z2nV@DLKmXOtvOu6ks+K37k$_xoKEc+0^xN|jE?q1N8_XM!GY+(o`Yt%wIy&V zimj>HPk!g&*+Yrc$auQTU-!*k@ksAC>ik{l@sYa|#ni0lHXWQFnKgOS}L!Q}G zuj`S7r&qQQ4YkW&Pa-xk)E>LqWN^UEz?s)7?4TIovqh=++NBbLI7Cu3UNM^()U@DLni7 z>(5@fVt*@RdHnNFz47!%Zy0-%YW2&k{^^e%+h1-^{G78(zlbQKCYP%a5XMw$8Ti}( z&@YyEo5xfh7tf@<2I}9zg-#s)~!5X! z>g%Y1g=KoFf&~igfeO|L2~fd0^ph3r0RBh?JIOE3RCK%^@BY<)zNI9lDH+T(*@iZmT-?)#JxgN7qqvajo~M&kNSa5gCW5zvzD-_7H%98 z-?JF8X!mSFj^n-lwi2Z|^sl~0U%ka#dxN=tbd~i%`uD%>d=PsYccV4?e#AGZ9L>Yu z^4d1(9M&I$wg69g6&tqKlBUq^zI{o=i~E)_eh%!Y9kl|q2dM{tuD4xXKeDiVB_#54 z(!bAx>V~4K3x{wD*Pi+OT%?dYUx+NNopUa%SeuJl{(e_sBfq|Q!8K>C&E-}whrqAK zHhvqge_|BVyK&y}Dl(PKE<}_t<-Am{q?DuMlyXeon+_VmKrt;5HLto@^iE3E%b=GTucXp)K^BV^D5-Q78flXl4KW(Z2C|t0Blg zQJN_+k0WHk1!ppqR!$?KTt*@g3}%$bMwD(E@JG&ka}YWl62hI#CL+oS(MT9lk&&>}L#JU(Il3dt zWlHu)o19Z(@^p5>cEVj&QrIYIj!;%k77dGoX0MR~90w%>uvRsv^pIgqlm~mvlG8b< zgf$USH74ehQq?5y2<9tNzF%KV2A3j!A27=Jn+xop`iS{HF+%}pe54TNbsfOETQ+dMwrR|$wyBT8wu+41? zY;$`vY;)TR+uR<2ZEhuOa~p(hZrfm+TLZSaZ8znZoj)NHOWvE6Ndz>@8(^VT?cKqM z>M&I(tU}1VP9zzwq&ul+SR;lko=9J>#12PP*G@czUv+jX(a>v$@0Q)my|$~{l!LZ6 zVUv_z&TpKOsy&9}|F&H*CdQ4CQnzS;S0>f~52~yz637~fsE8SD9E+&v`}AVx=fLPe z@W>yMQ8~?L42!;_Se!PdadOh9u?8h@mZJifF<9v}VH>%Jzcxj=Cd0X6)R1zlh`IW% zcFSma4&~rNF&UOB%jYP5H2tC`bs2b3>(Fn?B=}@|P$6Is7L6$+b`n{NQ$*o%nbMNk zc|++*YaWMJOIiWoYz8L*Gz*4N4vi^mBw%2kDR_^@o(ofyr-B6(1PF*pSUIt$P9BSK z7APTmc6?F%0!A=%bw=!7jMpP!!`V?;k1>X2_StOu$K?dv`Td7 zcseS_P^Q_hiV~CU3SS7)9q2-$P0ktRh?gsxQHd&iim1Vg#bh0FBy7zg09$hhb8bV|oy=iym^loN zFo(fi%()fdZsst!hdB&V%wcepIimnG%wcehISh_7hrtQvj02ox4ucOfhe4V-3^L3) z2yluy4DMwPgIVS<_=u@uJ7K<$1vLcqM{P6=l(n-4>JbQ*srq-=r&+Msb2ei3yp5Qe zGu6Njb%6z&dd5afU9=HXmrOOdLtSRUrrvKOrmonCsjFsKd2&i`Po3xT9YN(i{4%{d zgCAn?Smt~DpF(pIRdPb<#`+~kSIy+i#3irh?k>5+M5$dodNi%#kETm5eFAv~3HJpS UaWla4ve^EVa(uqzqzR&b0n8YJfB*mh diff --git a/plugins/AdminTools/template/fontello/font/fontello-ato.svg b/plugins/AdminTools/template/fontello/font/fontello-ato.svg deleted file mode 100644 index 3f7ee4a6e..000000000 --- a/plugins/AdminTools/template/fontello/font/fontello-ato.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - -Copyright (C) 2013 by original authors @ fontello.com - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/AdminTools/template/fontello/font/fontello-ato.ttf b/plugins/AdminTools/template/fontello/font/fontello-ato.ttf deleted file mode 100644 index b71374923dbb3230460116a26c83ece887ebaea9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5064 zcmeHLZERat8Gg^b{)*FPZId`jou$XQagxT@PU3v7$%1F+qg%T*P1??Gv(2}OlQheh z61Qt7gaC~(3=B2|l&PCE5PuLF#~B-)#E%L7j0q6q2mAqqCXh;tHVN3YftK*R*LM1` zO~8L{>wBK}J>;&Wnp$y&Wq_m?+_#4tV+ z)913%_4zFqQQ51Qub*9=TgrLQ4?zAMK2ObA>#NZ30=|sVGq-qQc312-FB54OiS*|A zj5R|CTTT%_h+Oq})h@0~TiU<0e#qUBE0(PDtMq2s zJCNZI$z^LPbLNTW7a-5T#s{k_>)9ip8GjA-A=9zdwan_%&p)$8RLOpwAffLUUnM7b zv`4icL-VD=DE>&DLc-|XMA>KhGJLfic_E1TA-798+`*b&RyZ*b^NI>>JCHV z*?MwN2SyM6zyi?~{fcu79syxDMzx~$#+^tYzyE)bH`>Z;uj}P>8||Y`>Zjq@UERX% z6mfF8oeSi4xfeW0mZrP3DNer7=@bcvLmVL?9Fyb_jxi~_qOwzV1bgswl~sp=J>AVl zpwV@^sPc6MqP=&Do8`XURW8gox9slj?F#G$DHz!8+b4Y5fY-hGh{x;oh%dOkH{!1} z)O_%KO@oj=(T-1K^H1UW7wRXPn9HwkZlj-X#(h%yw6}b6^H)B3P}Fd)YEG})tFLMmo*$K0XzAZOwQ|i@zVm}e zD}=twBYxU1+@77{7anhg*WudS?9~djtY6f=OS`E)R=1NKiIdR80*YB%fHPKAb(Ov+ zw7Uu!iuQ@#?&e0fXlZVA)xKMMuvWZZ7agtJOuSMz8Wod9-P?6_;_ceej=IfzU#i8m z;4^+&e+;*&g~D`zVw8x*hFW(B2f0LC7oyCqIb6b#BHRfV-R}`jr#6X1c%8!o1MQK4 z*g&kOJ941?fEjA2_wTK%@p*TJg4GS8y2{nq+|%9LhvROE=s*LaSJrfKZYnf)h3Fd+ zeTGYKtPoWVB040xBf{ArYMNWb=IGRCUw&-rV0^rPDB0?(_|{Uu6Ku~nwq9Q$*;|Wo~iK;*W+a|N(uU@)#_0rYsv)8UYd-baQF0SSE&wuN!XCAt3@Et1Gudw=;KYMa_VLbi@ zSC@VfS>`@ucOf9GDfTk(xBjVLESxs4DLyXVNqZgCe}Ky!{4snwi?iqGC-gUQPJ9hA z_QLVp#pj7fqbdr}GSKm|r)&+;9{R)f{yos~3V!dPo+8%BjU5Vl9r}Ys>;OJi#7^WV zUBoWvA1-1qh3JtYE~iTRHg{h~87wT&OGPZuX!jMdMks(H)}bFMVh8X8MeHP>I9tRn z=)YLRUOFMZQ^e)eEZ$G7tX^0tWTvx``D}LeKzn;>HQT2It)&}lFvm<84u9I8c&&{%X9E9UK)b;vP%W+5#@n*n1HI6~8SFMUWK#_B9)CcvD- zK8ujoK9+UsuBFu{uzHQw;XPZG@HYalKaM>H_OiW#ZD(i(D+;l#(>Zt%g*J=T9L1XL zwWLvd=j-uE{4}ouuEqpiL`a~(Jx8c6yqsUY; zJsVcSlrvJjI<6eeCzWI5R5D-${JEr5ErKIwXSTm}XMem4I9Sk~{ z@#=U|&dOZQ0%bgzhDO>XM!k%B)BbcSmGUbJrBa5X@nj~I3MWdF zu3Sdk9|)wBNQaef8t_NX7U4Cam|)8l??B9$~!n2Sv& zG2v(Li>AWLVJdebw1IRd(($lzLNwxrRAj_0_36_vrW|cyW4~F>*RRY&+pD zC@Ey*HAgTlM{ND&zJGbi z$Scg2wFL|;D`9_Oo|kArdp3nI#^C%|8u`1PvOIoK8wfq2XlO$SVW+zSzBosYB}wft z;xdhWU)qUZ4CNG$=hFF|&X8IP`5O`ZZ6H>J!fKb97d-AZ^BRwP%)HKHrI~l|ScR*yd5f zHje?==CKjBc{E^~$0kz_+VvAO5%SKoOdz3YJ^%}&YHACFRkNvrAr(aBwV=rGlXScE z46EOex#P)Ol{n$BYTeGK@TrzIC8|5@^zFYf+?%J`Oxa_56EaEZh5E)VDcNI4z8~5h zV|d8u&$o$ccx566cu-=cQ9xFIScT0<&0ttXK4KOpKMh7Zl1ILvjL0#*V+i{0TyD%5 z!_7&aMhr^eE=L4@jKNBW3EQYW{Iw~{H4@6?B8HTMIqcPWeOg8edngAtijk01X}(9X zqsbRFsZ0NhTC=`473Z7nL5F}nSTsga*a=iAZV`nFZAwd|XAGq$tQlNhEn)eA(<$5p z&@326J2XbEe!qczM&UgMdoOHJ*a{ZV5Fj8YA?3uGI(aSDS)c^%-SI~A^BaNG^&N3~ zQI1E#hO@aCk1>cayKJ@c;D$&!Y9MbR6hT;Z+u_4At(YA;mW;?jv}yLMsKjPBq%R2R zZcL%jMy8EI#tR+IC}tHtg;h_{VxpARG=C=`ic;o#O+!XF{899$!BiyQEUHl1ecNgz z|GK(=TWzyTOK;-bVXBT$Y38O)516Vml*5tp+2&CEA2N(&M^rQH57-&udMPDPp%x63 zY6O*A@Np2g5#4ONuu38R=gJxT--?B^!*_Mi==TS1IJiKn=*gWNaw&B~9A$v>%Z?Pi z-45&%2&}qrV>a*))#|Fsh%#|OVjrWw3w=OTRjM#JaZ|NpNN{dOkUcqyHeSlcFd74H zOajRpF*k??0Y(7?gE4bM*qVa?w&rf;+=;1sn8V-@a~K?E4ugA{a|ghE%wceZISj^` z!{8`$1^_0Q!(fs*4305}!Expc0i0kCgZr7oAjupCDdrpiILRCarBWBOoh^ZMdHe%|$jhK4I zR6X0&1r}`T!!}~-qK%lkWQLR{qx7cn^W46}=)8w6(`ys>A{I}kUg7@~nwIF2!%8<+ zHyo{HBNM|LUd`Q>cZuPAlX&82QpKJ~=3V+Q>I@QoFR+MT26!%ut|UMgniRp|9r!uopfA)^Ps^Vc&BXeL!sj066LZ0IDpE8E)|N_9TKm$zY8h zh=af}l~aD82x?4_BS9!}SwbEC$dqtUTL3v?7kj<|z_~y#u#Oj`e|IOyvCVOq>=_Qu z%PS0O$iJB3`F`G$>Au z7Tn6~67DMN(iA}Ta;HE6RwSR{?mav_d?Gz0;aIrvDr6neenlJ(MY15V*2wD;y&A4; zHdieIsm_Dtfj>fPdJw%3YXC4b$K43*_F|w|er&HByB320gfUP?cup>Elsf3VH_eC` zw8wyW@1Eeu#9_Ooo>*0cCP}S}D!)&LyBxN!ke~7~_l3z)K$2;*v)r$`l?Y>{I!bwi zdiv{D%TvDZ4Cb*iifR#3^njuKlniKbnQ^++kK?CDLN#us@xz1N8}^($p8Y6S$;yB7 ziyeB+bx94c;;J$`hjc!PyX$+8e`c?&_i=M+bLrv?<>NEgXH~9?`wGkLKaSjgU%2QE z)6P^+s?*_ZzV%{%>4<3XAf^X4#aD$_u@sp)x2|%|*XMZ0RkwRk{eOaXGou zpuM&{UQ0H->}sl7asp$Kd4y_Zn@Wpv3LeULo>|bmef9^#T8)Kyc#~l9U?r+?a)&Z5 zu4POyXhmD4VN0Gg^`Wws2i6|NpoB)d7Yir)M>kjJBpsbf-GghFF+KvPtzMp^=&*7L47AMWhkU++0}*>Jk=Z_In$xD(sys#bM@*#*|kehIwGdz>D)AMDz@oS^!U z^g4?`+uY~a`{u5W_AL9=#5`kL=KWf7_NM#ChY>qBW^!zw8;u2Poqqhol-a^+44gqv_Ned~USPM!`@a|A5ZL{7VRFK6zSxU5jwg zF;#c5sk)x9HQCaDcMCte#6B!u3fUu)H>0*~zv?uC-B}PEd+IZ(9ixgXDcZhyvbu77 z(;iPMOsbW5?8G&qyCkJAHhA)5z%(WBu-_!q*y)PyQAM2Ii-m5Kmu|Y=+!TzW<$U$I z-&?}A@x;m8LR?wXi927iMSo1!HSefx*XNwV4)2V>TgV?1@)Wh69pL?K$VGTe6c{qR z9fjay;`ux&iWqVydGm;J5qpXjXA$CJDAj!N^Ygd2?e~X`t~b82q2fpGAGCaH zE49s?ctGgTr*|Jh)EhcIjyC*hXKSrM!btWU)BQ~EJM=M1{@u?XKFgL?lMlP>flyi1 zvlQSGfId1U(>(l*C-VD*;yk)7B7~dDl>eD36aAXm#JQ@k4?CM|riqOA$jC7SgqZT- z#{}DD^a8$VHd;ky?Df3z%jS0qlJt07xI z{x#nJPIt1fIlo*A;LnO`E)K-&KB-78~x%&;Uf0tPDYnSIoD=h z-dNZlx9PmmpQvF>7YsCM&D4LI`4!4@Z#(76J^90eikduPe#5U*8L!>}nXkyxHy?`; zF(^e7JD@O#(=KI|18K#F%%=?3SS9I^#B>}LtRfg!d`fa`5|u}f4<){NG<&z39iUOB zWAD2hGplz1Xv%8A27^li`eTP<9+dX8e-M2v!+gT_Y-<79P!=gFV zy{X7a7Her>3e=nLtTu6f_|#COnc88H}B9QmFoVc?X;xi zypGeG35uWACC^_NuWflGF-IYm);7OgJhx13FbEiLZXVC=6X}q1{GH+d*GqVK05fqq zBfSapkAL;Fv3_%)I)YY+dB|A7mY?h?w)!W@UN;Py3o3eSFOc|6aMzst*Y~fr_#GYf zfvxdLk{=_ow+#*?Y;fL#g06_82Rs^}bAjFg5eq_V_ppFL1v-Fr2o-W0%poA)z)=9U zdja489h^LH9?Wn&j9no-Cp7t$Z3kvAjs3v~Hft(6+lQB==T8umVk&1ZH-0O+N%Qj?>hty;x92!^YUdOxRtZh9j!%Q(3`3&s^LX#53&EcHFRVo|%XyLM>W1!r z=7uJq-XF*aQf+{MONb=i*l!rEds}m5HCsD@WbABC z&uu;Ad+k5~7tTsj+?r)+CDp=<%qys39UrTTD;>XGd7Lew+l{geaxS{nL#@lgtGT?#SBgV6|K$5p`+t2uZ72>u6l?q;z7 diff --git a/plugins/AdminTools/template/index.php b/plugins/AdminTools/template/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/AdminTools/template/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/AdminTools/template/mousetrap.min.js b/plugins/AdminTools/template/mousetrap.min.js deleted file mode 100644 index 114a22235..000000000 --- a/plugins/AdminTools/template/mousetrap.min.js +++ /dev/null @@ -1,9 +0,0 @@ -/* mousetrap v1.4.6 craig.is/killing/mice */ -(function(J,r,f){function s(a,b,d){a.addEventListener?a.addEventListener(b,d,!1):a.attachEvent("on"+b,d)}function A(a){if("keypress"==a.type){var b=String.fromCharCode(a.which);a.shiftKey||(b=b.toLowerCase());return b}return h[a.which]?h[a.which]:B[a.which]?B[a.which]:String.fromCharCode(a.which).toLowerCase()}function t(a){a=a||{};var b=!1,d;for(d in n)a[d]?b=!0:n[d]=0;b||(u=!1)}function C(a,b,d,c,e,v){var g,k,f=[],h=d.type;if(!l[a])return[];"keyup"==h&&w(a)&&(b=[a]);for(g=0;gg||h.hasOwnProperty(g)&&(p[h[g]]=g)}e=p[d]?"keydown":"keypress"}"keypress"==e&&f.length&&(e="keydown");return{key:c,modifiers:f,action:e}}function F(a,b,d,c,e){q[a+":"+d]=b;a=a.replace(/\s+/g," ");var f=a.split(" ");1":".","?":"/","|":"\\"},G={option:"alt",command:"meta","return":"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p,l={},q={},n={},D,z=!1,I=!1,u=!1;for(f=1;20>f;++f)h[111+f]="f"+f;for(f=0;9>=f;++f)h[f+96]=f;s(r,"keypress",y);s(r,"keydown",y);s(r,"keyup",y);var m={bind:function(a,b,d){a=a instanceof Array?a:[a];for(var c=0;c'+ user.username +''; - }); - $multiview.find('select[data-type="view_as"]').html(html) - .val(__this.multiView.view_as); - - html = ''; - $.each(data.themes, function(i, theme) { - html+= ''; - }); - $multiview.find('select[data-type="theme"]').html(html) - .val(__this.multiView.theme); - - html = ''; - $.each(data.languages, function(i, language) { - html+= ''; - }); - $multiview.find('select[data-type="lang"]').html(html) - .val(__this.multiView.lang); - - $multiview.data('init', true); - - $multiview.find('.switcher').show(); - }; - - if ('sessionStorage' in window && window.sessionStorage.multiView != undefined) { - render(JSON.parse(window.sessionStorage.multiView)); - } - else { - $.ajax({ - method: 'POST', - url: __this.urlWS + 'multiView.getData', - dataType: 'json', - success: function(data) { - render(data.result); - if ('sessionStorage' in window) { - window.sessionStorage.multiView = JSON.stringify(data.result); - } - }, - error: function(xhr, text, error) { - alert(text + ' ' + error); - } - }); - } - } - - // delete session cache - this.deleteCache = function() { - if ('sessionStorage' in window) { - window.sessionStorage.removeItem('multiView'); - } - }; - - // move close button to smartpocket toolbar - this.initMobile = function() { - var $headerbar = $('div[data-role="header"] .title'); - if ($headerbar.length == 1) { - $ato_closed.addClass('smartpocket'); - $ato_closed.find('a').attr({ - 'data-iconpos':'notext', - 'data-role':'button' - }); - $headerbar.prepend($ato_closed); - } - }; - - // attach jquery handlers - this.init = function(open) { - $('body').prepend($ato); // ensure the bar is at the begining - - $ato.show(); - ato_height = $ato.height(); - - if ('localStorage' in window) { - if (window.localStorage.ato_panel_open == null) { - window.localStorage.ato_panel_open = open; - } - - if (window.localStorage.ato_panel_open == 1) { - moveBody('show', false); - } - else { - $ato.hide(); - $ato_closed.show(); - } - } - else { - $ato.show(); - moveBody('show', false); - } - - /* */ - $ato.find('.parent').on({ - 'click': function() { - if ($(this).hasClass('multiview')) { - populateMultiView(); - } - $(this).find('ul').toggle(); - }, - 'mouseleave': function(e) { - if (e.target.tagName.toLowerCase() != "select") { - $(this).find('ul').hide(); - } - } - }); - $ato.find('.parent>a').on('click', function(e) { - e.preventDefault(); - }); - $ato.find('.parent ul').on('mouseleave', function(e) { - if (e.target.tagName.toLowerCase() != "select") { - $(this).hide(); - } - }); - - /* */ - $ato.find('.switcher').on({ - 'change': function() { - window.location.href = __this.urlSelf + 'ato_'+ $(this).data('type') +'='+ $(this).val(); - }, - 'click': function(e) { - e.stopPropagation(); - } - }); - - /* */ - $ato.find('.close-panel').on('click', function(e) { - $ato.slideUp(); - $ato_closed.slideDown(); - moveBody('hide', true); - - if ('localStorage' in window) window.localStorage.ato_panel_open = 0; - e.preventDefault(); - }); - - $ato_closed.on('click', function(e) { - $ato.slideDown(); - $ato_closed.slideUp(); - moveBody('show', true); - - if ('localStorage' in window) window.localStorage.ato_panel_open = 1; - e.preventDefault(); - }); - }; - - // init "set as representative" button - this.initRepresentative = function(image_id, category_id) { - $ato.find('.set-representative').on('click', function(e) { - if (!$(this).parent().hasClass('disabled')) { - $(this).parent().addClass('disabled') - - $.ajax({ - method: 'POST', - url: __this.urlWS + 'pwg.categories.setRepresentative', - dataType: 'json', - data: { - image_id: image_id, - category_id: category_id - }, - success: function() { - $ato.find('.saved').fadeIn(200).delay(1600).fadeOut(200); - }, - error: function(xhr, text, error) { - alert(text + ' ' + error); - } - }); - } - - e.preventDefault(); - }); - }; - - // init "add to caddie" button - this.initCaddie = function(image_id) { - $ato.find('.add-caddie').on('click', function(e) { - if (!$(this).parent().hasClass('disabled')) { - $(this).parent().addClass('disabled') - - $.ajax({ - method: 'POST', - url: __this.urlWS + 'pwg.caddie.add', - dataType: 'json', - data: { - image_id: image_id - }, - success: function() { - $ato.find('.saved').fadeIn(200).delay(1600).fadeOut(200); - }, - error: function(xhr, text, error) { - alert(text + ' ' + error); - } - }); - } - - e.preventDefault(); - }); - }; - - // init "quick edit" popup - this.initQuickEdit = function(is_picture, tokeninput_lang) { - var $ato_edit = $('#ato_quick_edit'); - - // try to find background color matching text color - // there is a 1s delay to wait for jQuery Mobile initialization - function bgColor() { - var bg_color = 'white'; - var selectors = ['#the_page #content', '[data-role="page"]', 'body']; - - for (var i=0; i*} - {combine_script id='mousetrap' load='footer' path=$ADMINTOOLS_PATH|cat:'template/mousetrap.min.js'} - - {**} - {combine_script id='jquery.colorbox' load='footer' require='jquery' path='themes/default/js/plugins/jquery.colorbox.min.js'} - {combine_css id='colorbox' path='themes/default/js/plugins/colorbox/style2/colorbox.css'} - - {if isset($ato.IS_PICTURE)} - {**} - {combine_script id='jquery.tokeninput' load='footer' require='jquery' path='themes/default/js/plugins/jquery.tokeninput.js'} - {combine_css path='themes/default/js/plugins/jquery.tokeninput.css'} - - {**} - {combine_script id='jquery.ui.datepicker' load='footer' path='themes/default/js/ui/jquery.ui.datepicker.js'} - - {assign var=datepicker_language value='themes/default/js/ui/i18n/jquery.ui.datepicker-'|cat:$lang_info.code|cat:'.js'} - {if 'PHPWG_ROOT_PATH'|constant|cat:$datepicker_language|file_exists} - {combine_script id='jquery.ui.datepicker-'|cat:$lang_info.code load='footer' path=$datepicker_language} - {/if} - - {combine_css path='themes/default/js/ui/theme/jquery.ui.core.css'} - {combine_css path='themes/default/js/ui/theme/jquery.ui.theme.css'} - {combine_css path='themes/default/js/ui/theme/jquery.ui.datepicker.css'} - {/if} -{/if} - -{combine_script id='admintools.controller' load='footer' require='jquery' path=$ADMINTOOLS_PATH|cat:'template/public_controller.js'} -{/strip} - -{footer_script require='admintools.controller'} -AdminTools.urlWS = '{$ROOT_URL}ws.php?format=json&method='; -AdminTools.urlSelf = '{$ato.U_SELF}'; - -{if isset($ato.MULTIVIEW)} -AdminTools.multiView = { - view_as: {$ato.MULTIVIEW.view_as}, - theme: '{$ato.MULTIVIEW.theme}', - lang: '{$ato.MULTIVIEW.lang}' -}; -{/if} - -{if $ato.DELETE_CACHE} - AdminTools.deleteCache(); -{/if} - AdminTools.init({intval($ato.DEFAULT_OPEN)}); -{if isset($themeconf.mobile) and $themeconf.mobile} - AdminTools.initMobile(); -{/if} -{if isset($ato.U_SET_REPRESENTATIVE)} - AdminTools.initRepresentative({$current.id}, {$ato.CATEGORY_ID}); -{/if} -{if isset($ato.U_CADDIE) and isset($ato.IS_PICTURE)} - AdminTools.initCaddie({$current.id}); -{/if} -{if isset($ato.QUICK_EDIT)} - AdminTools.initQuickEdit({intval(isset($ato.IS_PICTURE))}, { - hintText: '{'Type in a search term'|translate|escape:javascript}', - noResultsText: '{'No results'|translate|escape:javascript}', - searchingText: '{'Searching...'|translate|escape:javascript}', - newText: ' ({'new'|translate|escape:javascript})' - }); -{/if} -{/footer_script} - -
- -
- -
- -{if isset($ato.QUICK_EDIT)} -
-
-
-
- {if isset($ato.QUICK_EDIT.img)}{/if} - - {'Cancel'|translate} -
- -
- - - - {if isset($ato.IS_PICTURE)} - - - - - - - - - - - {if isset($available_permission_levels)} - - - {/if} - {/if} - - - -
- - -
-
-
-{/if} \ No newline at end of file diff --git a/plugins/AdminTools/template/public_style.css b/plugins/AdminTools/template/public_style.css deleted file mode 100644 index 9b10158c2..000000000 --- a/plugins/AdminTools/template/public_style.css +++ /dev/null @@ -1,251 +0,0 @@ -.icon-ato-null:before { content:' '; } - -.token-input-dropdown { - z-index:10000 !important; -} - -#ato_header, #ato_header_closed { - display:none; -} -#ato_header { - width:100%; -} -#ato_header, #ato_header_closed:not(.smartpocket) { - position:fixed; - top:0; - left:0; - background:#464646; - background-image:linear-gradient(to bottom, #383838 0%, #464646 20%, #464646 80%, #383838 100%); - z-index:1000; -} - -#ato_header>ul { - padding:0; - margin:0; -} - -#ato_header>ul li { - list-style:none; - line-height:16px; - font-size:13px; - white-space:nowrap; -} - #ato_header>ul li>*, #ato_header_closed:not(.smartpocket)>* { - display:inline-block; - padding:5px 10px; - border:none; - text-decoration:none; - } - #ato_header>ul li>*:before { - font-size:16px; - margin-right:0.5em; - } - -#ato_header>ul>li { - float:left; - display:inline-block; - position:relative; - overflow:visible; -} - #ato_header>ul>li a { - color:white; - } - #ato_header>ul>li.right { - float:right; - } - #ato_header>ul>li { - border-left:1px solid #666; - } - #ato_header>ul>li { - border-right:1px solid #222; - } - #ato_header>ul>li>*, #ato_header_closed:not(.smartpocket)>* { - color:#ddd; - text-shadow:1px 1px 0px #222; - } - #ato_header>ul>li.disabled [class*="icon-"] { - color:#888; - text-shadow:none; - } - #ato_header>ul>li:not(.disabled):hover, #ato_header_closed:not(.smartpocket):hover { - background:#222; - background-image:linear-gradient(to bottom, #222, #353535); - } - -#ato_header>ul ul { - display:none; - position:absolute; - top:27px; - left:0; - min-width:100%; - background:#fefefe; - padding:0; - margin:0; - box-shadow:3px 3px 5px rgba(0,0,0,0.5); -} - #ato_header>ul>li.right ul { - left:auto; - right:0; - } - #ato_header>ul ul li { - } - #ato_header>ul ul li:hover { - background:#dedede; - } - #ato_header>ul ul li>* { - color:#444; - text-shadow:1px 1px 0px #eee; - } - #ato_header>ul ul label { - font-weight:bold; - color:#777; - display:inline-block; - width:80px; - padding:5px; - text-align:right; - font-size:11px; - } - #ato_header>ul ul select, #ato_header>ul ul option { - font-size:13px; - line-height:15px; - color:#444; - background:#fefefe; - border-radius:2px; - text-shadow:none; - } - #ato_header>ul ul select { - border:1px solid #777; - height:22px; - padding:2px 3px; - } - #ato_header .switcher { - display:none; - } - -#ato_header_closed:not(.smartpocket) { - left:10px; - font-size:20px; - border-radius:0 0 20% 20%; - box-shadow:1px 1px 1px rgba(0,0,0,0.5); - width:35px; - height:35px; -} - #ato_header_closed:not(.smartpocket).right { - left:auto; - right:10px; - } - #ato_header_closed:not(.smartpocket)>* { - padding:4px; - } -#ato_header_closed.smartpocket { - float:left; - margin-right:10px; -} - #ato_header_closed.smartpocket .ui-btn-inner { - display:none; - } - -#ato_header>ul .close-panel { - padding:6px 1px 4px 5px; -} -#ato_header>ul .close-panel:hover { - color:#d00; -} -#ato_header>ul .saved { - display:none; - border:none !important; - -webkit-animation:blink 0.8s infinite; - animation:blink 0.8s infinite; -} - #ato_header>ul .saved>* { - color:#5f5; - } - -#ato_quick_edit { - padding:10px; -} - #ato_quick_edit fieldset { - margin:0; - padding:0; - border:none; - } - #ato_quick_edit fieldset.left { - float:left; - width:100px; - text-align:center; - } - #ato_quick_edit fieldset.left img { - border-radius:2px; - border:1px solid #111; - } - #ato_quick_edit fieldset.main { - margin:0 0 0 110px; - } - #ato_quick_edit label { - display:block; - font-weight:bold; - } - #ato_quick_edit input, #ato_quick_edit textarea, #ato_quick_edit select { - width:100%; - margin:0 0 1em 0; - border-radius:2px; - padding:2px; - -moz-box-sizing:border-box; - box-sizing:border-box; - } - #ato_quick_edit textarea { - height:110px; - } - #ato_quick_edit input[type="submit"] { - margin:1.5em 0; - cursor:pointer; - background:#e60; - border:none; - color:#fff; - } - #ato_quick_edit input[type="submit"]:hover { - background:#EF962F; - } - #ato_quick_edit ul.token-input-list { - width:100%; - margin:0 0 1em 0; - } - -@-webkit-keyframes blink { - 0% { opacity:0; } - 50% { opacity:1; } - 100% { opacity:0; } -} -@keyframes blink { - 0% { opacity:0; } - 50% { opacity:1; } - 100% { opacity:0; } -} - -@media (max-width:900px) { - #ato_header .ato-min-1 { - font-size:0px; - line-height:0px; - } - #ato_header .ato-min-1:before { - margin-right:0; - } - - #ato_header .ato-hide-1 { - display:none; - } -} - -@media (max-width:750px) { - #ato_header .ato-min-2 { - font-size:0px; - line-height:0px; - } - #ato_header .ato-min-2:before { - margin-right:0; - } - - #ato_header .ato-hide-2 { - display:none; - } -} \ No newline at end of file diff --git a/plugins/LocalFilesEditor/admin.php b/plugins/LocalFilesEditor/admin.php deleted file mode 100644 index f9f297bd5..000000000 --- a/plugins/LocalFilesEditor/admin.php +++ /dev/null @@ -1,151 +0,0 @@ -add($tab, l10n('locfiledit_onglet_'.$tab), $my_base_url.'-'.$tab); -} -$tabsheet->select($page['tab']); -$tabsheet->assign(); - -include_once(LOCALEDIT_PATH.'include/'.$page['tab'].'.inc.php'); - -// +-----------------------------------------------------------------------+ -// | Load backup file -// +-----------------------------------------------------------------------+ -if (isset($_POST['restore'])) -{ - $content_file = file_get_contents(get_bak_file($edited_file)); - $page['infos'][] = l10n('locfiledit_bak_loaded1'); - $page['infos'][] = l10n('locfiledit_bak_loaded2'); -} - -// +-----------------------------------------------------------------------+ -// | Save file -// +-----------------------------------------------------------------------+ -if (isset($_POST['submit'])) -{ - check_pwg_token(); - - if (!is_webmaster()) - { - $page['errors'][] = l10n('locfiledit_webmaster_only'); - } - else - { - $content_file = stripslashes($_POST['text']); - if (get_extension($edited_file) == 'php') - { - $content_file = eval_syntax($content_file); - } - if ($content_file === false) - { - $page['errors'][] = l10n('locfiledit_syntax_error'); - } - else - { - if ($page['tab'] == 'plug' and !is_dir(PHPWG_PLUGINS_PATH . 'PersonalPlugin')) - { - @mkdir(PHPWG_PLUGINS_PATH . "PersonalPlugin"); - } - if (file_exists($edited_file)) - { - @copy($edited_file, get_bak_file($edited_file)); - $page['infos'][] = l10n('locfiledit_saved_bak', substr(get_bak_file($edited_file), 2)); - } - - if ($file = @fopen($edited_file , "w")) - { - @fwrite($file , $content_file); - @fclose($file); - array_unshift($page['infos'], l10n('locfiledit_save_config')); - $template->delete_compiled_templates(); - } - else - { - $page['errors'][] = l10n('locfiledit_cant_save'); - } - } - } -} - -// +-----------------------------------------------------------------------+ -// | template initialization -// +-----------------------------------------------------------------------+ -$template->set_filenames(array( - 'plugin_admin_content' => dirname(__FILE__) . '/template/admin.tpl')); - -if (!empty($edited_file)) -{ - if (!empty($page['errors'])) - { - $content_file = stripslashes($_POST['text']); - } - $template->assign('zone_edit', - array( - 'EDITED_FILE' => $edited_file, - 'CONTENT_FILE' => htmlspecialchars($content_file), - 'FILE_NAME' => trim($edited_file, './\\') - ) - ); - if (file_exists(get_bak_file($edited_file))) - { - $template->assign('restore', true); - } - if (file_exists($edited_file)) - { - $template->assign('restore_infos', true); - } -} - -$template->assign(array( - 'F_ACTION' => PHPWG_ROOT_PATH.'admin.php?page=plugin-LocalFilesEditor-'.$page['tab'], - 'LOCALEDIT_PATH' => LOCALEDIT_PATH, - 'PWG_TOKEN' => get_pwg_token(), - 'CODEMIRROR_MODE' => @$codemirror_mode - ) -); - -$template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); - -?> diff --git a/plugins/LocalFilesEditor/codemirror/lib/codemirror.css b/plugins/LocalFilesEditor/codemirror/lib/codemirror.css deleted file mode 100644 index 578af41ae..000000000 --- a/plugins/LocalFilesEditor/codemirror/lib/codemirror.css +++ /dev/null @@ -1,53 +0,0 @@ -.CodeMirror { - overflow: auto; - height: 300px; - line-height: 1em; - font-family: monospace; - _position: relative; /* IE6 hack */ -} - -.CodeMirror-gutter { - position: absolute; left: 0; top: 0; - background-color: #f7f7f7; - border-right: 1px solid #eee; - min-width: 2em; - height: 100%; -} -.CodeMirror-gutter-text { - color: #aaa; - text-align: right; - padding: .4em .2em .4em .4em; -} -.CodeMirror-lines { - padding: .4em; -} - -.CodeMirror pre { - -moz-border-radius: 0; - -webkit-border-radius: 0; - -o-border-radius: 0; - border-radius: 0; - border-width: 0; margin: 0; padding: 0; background: transparent; - font-family: inherit; -} - -.CodeMirror-cursor { - z-index: 10; - position: absolute; - visibility: hidden; - border-left: 1px solid black !important; -} -.CodeMirror-focused .CodeMirror-cursor { - visibility: visible; -} - -span.CodeMirror-selected { - background: #ccc !important; - color: HighlightText !important; -} -.CodeMirror-focused span.CodeMirror-selected { - background: Highlight !important; -} - -.CodeMirror-matchingbracket {color: #0f0 !important;} -.CodeMirror-nonmatchingbracket {color: #f22 !important;} diff --git a/plugins/LocalFilesEditor/codemirror/lib/codemirror.js b/plugins/LocalFilesEditor/codemirror/lib/codemirror.js deleted file mode 100644 index 390e68c1f..000000000 --- a/plugins/LocalFilesEditor/codemirror/lib/codemirror.js +++ /dev/null @@ -1,1915 +0,0 @@ -// All functions that need access to the editor's state live inside -// the CodeMirror function. Below that, at the bottom of the file, -// some utilities are defined. - -// CodeMirror is the only global var we claim -var CodeMirror = (function() { - // This is the function that produces an editor instance. It's - // closure is used to store the editor state. - function CodeMirror(place, givenOptions) { - // Determine effective options based on given values and defaults. - var options = {}, defaults = CodeMirror.defaults; - for (var opt in defaults) - if (defaults.hasOwnProperty(opt)) - options[opt] = (givenOptions && givenOptions.hasOwnProperty(opt) ? givenOptions : defaults)[opt]; - - // The element in which the editor lives. Takes care of scrolling - // (if enabled). - var wrapper = document.createElement("div"); - wrapper.className = "CodeMirror"; - // This mess creates the base DOM structure for the editor. - wrapper.innerHTML = - '
' + // Set to the height of the text, causes scrolling - '
' + // To measure line/char size
-           'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
' + - '
' + // Moved around its parent to cover visible view - '
' + - '
' + // Wraps and hides input textarea - '
' + - // Provides positioning relative to (visible) text origin - '
' + - '
 
' + // Absolutely positioned blinky cursor - '
'; // This DIV contains the actual code - if (place.appendChild) place.appendChild(wrapper); else place(wrapper); - // I've never seen more elegant code in my life. - var code = wrapper.firstChild, measure = code.firstChild, mover = measure.nextSibling, - gutter = mover.firstChild, gutterText = gutter.firstChild, - inputDiv = gutter.nextSibling, input = inputDiv.firstChild, - lineSpace = inputDiv.nextSibling.firstChild, cursor = lineSpace.firstChild, lineDiv = cursor.nextSibling; - if (options.tabindex != null) input.tabindex = options.tabindex; - if (!options.gutter && !options.lineNumbers) gutter.style.display = "none"; - - // Delayed object wrap timeouts, making sure only one is active. blinker holds an interval. - var poll = new Delayed(), highlight = new Delayed(), blinker; - - // mode holds a mode API object. lines an array of Line objects - // (see Line constructor), work an array of lines that should be - // parsed, and history the undo history (instance of History - // constructor). - var mode, lines = [new Line("")], work, history = new History(), focused; - loadMode(); - // The selection. These are always maintained to point at valid - // positions. Inverted is used to remember that the user is - // selecting bottom-to-top. - var sel = {from: {line: 0, ch: 0}, to: {line: 0, ch: 0}, inverted: false}; - // Selection-related flags. shiftSelecting obviously tracks - // whether the user is holding shift. reducedSelection is a hack - // to get around the fact that we can't create inverted - // selections. See below. - var shiftSelecting, reducedSelection; - // Variables used by startOperation/endOperation to track what - // happened during the operation. - var updateInput, changes, textChanged, selectionChanged, leaveInputAlone; - // Current visible range (may be bigger than the view window). - var showingFrom = 0, showingTo = 0, lastHeight = 0, curKeyId = null; - // editing will hold an object describing the things we put in the - // textarea, to help figure out whether something changed. - // bracketHighlighted is used to remember that a backet has been - // marked. - var editing, bracketHighlighted; - - // Initialize the content. Somewhat hacky (delayed prepareInput) - // to work around browser issues. - operation(function(){setValue(options.value || ""); updateInput = false;})(); - setTimeout(prepareInput, 20); - - // Register our event handlers. - connect(wrapper, "mousedown", operation(onMouseDown)); - // Gecko browsers fire contextmenu *after* opening the menu, at - // which point we can't mess with it anymore. Context menu is - // handled in onMouseDown for Gecko. - if (!gecko) connect(wrapper, "contextmenu", operation(onContextMenu)); - connect(code, "dblclick", operation(onDblClick)); - connect(wrapper, "scroll", function() {updateDisplay([]); if (options.onScroll) options.onScroll(instance);}); - connect(window, "resize", function() {updateDisplay(true);}); - connect(input, "keyup", operation(onKeyUp)); - connect(input, "keydown", operation(onKeyDown)); - connect(input, "keypress", operation(onKeyPress)); - connect(input, "focus", onFocus); - connect(input, "blur", onBlur); - - connect(wrapper, "dragenter", function(e){e.stop();}); - connect(wrapper, "dragover", function(e){e.stop();}); - connect(wrapper, "drop", operation(onDrop)); - connect(wrapper, "paste", function(){input.focus(); fastPoll();}); - connect(input, "paste", function(){fastPoll();}); - connect(input, "cut", function(){fastPoll();}); - - if (document.activeElement == input) onFocus(); - else onBlur(); - - function isLine(l) {return l >= 0 && l < lines.length;} - // The instance object that we'll return. Mostly calls out to - // local functions in the CodeMirror function. Some do some extra - // range checking and/or clipping. operation is used to wrap the - // call so that changes it makes are tracked, and the display is - // updated afterwards. - var instance = { - getValue: getValue, - setValue: operation(setValue), - getSelection: getSelection, - replaceSelection: operation(replaceSelection), - focus: function(){input.focus(); onFocus(); fastPoll();}, - setOption: function(option, value) { - options[option] = value; - if (option == "lineNumbers" || option == "gutter") gutterChanged(); - else if (option == "mode" || option == "indentUnit") loadMode(); - }, - getOption: function(option) {return options[option];}, - undo: operation(undo), - redo: operation(redo), - indentLine: operation(function(n) {if (isLine(n)) indentLine(n, "smart");}), - historySize: function() {return {undo: history.done.length, redo: history.undone.length};}, - matchBrackets: operation(function(){matchBrackets(true);}), - getTokenAt: function(pos) { - pos = clipPos(pos); - return lines[pos.line].getTokenAt(mode, getStateBefore(pos.line), pos.ch); - }, - cursorCoords: function(start){ - if (start == null) start = sel.inverted; - return pageCoords(start ? sel.from : sel.to); - }, - charCoords: function(pos){return pageCoords(clipPos(pos));}, - coordsChar: function(coords) { - var off = eltOffset(lineSpace); - var line = Math.min(showingTo - 1, showingFrom + Math.floor(coords.y / lineHeight())); - return clipPos({line: line, ch: charFromX(clipLine(line), coords.x)}); - }, - getSearchCursor: function(query, pos, caseFold) {return new SearchCursor(query, pos, caseFold);}, - markText: operation(function(a, b, c){return operation(markText(a, b, c));}), - setMarker: addGutterMarker, - clearMarker: removeGutterMarker, - setLineClass: operation(setLineClass), - lineInfo: lineInfo, - addWidget: function(pos, node, scroll) { - var pos = localCoords(clipPos(pos), true); - node.style.top = (showingFrom * lineHeight() + pos.yBot + paddingTop()) + "px"; - node.style.left = (pos.x + paddingLeft()) + "px"; - code.appendChild(node); - if (scroll) - scrollIntoView(pos.x, pos.yBot, pos.x + node.offsetWidth, pos.yBot + node.offsetHeight); - }, - - lineCount: function() {return lines.length;}, - getCursor: function(start) { - if (start == null) start = sel.inverted; - return copyPos(start ? sel.from : sel.to); - }, - somethingSelected: function() {return !posEq(sel.from, sel.to);}, - setCursor: operation(function(line, ch) { - if (ch == null && typeof line.line == "number") setCursor(line.line, line.ch); - else setCursor(line, ch); - }), - setSelection: operation(function(from, to) {setSelection(clipPos(from), clipPos(to || from));}), - getLine: function(line) {if (isLine(line)) return lines[line].text;}, - setLine: operation(function(line, text) { - if (isLine(line)) replaceRange(text, {line: line, ch: 0}, {line: line, ch: lines[line].text.length}); - }), - removeLine: operation(function(line) { - if (isLine(line)) replaceRange("", {line: line, ch: 0}, clipPos({line: line+1, ch: 0})); - }), - replaceRange: operation(replaceRange), - getRange: function(from, to) {return getRange(clipPos(from), clipPos(to));}, - - operation: function(f){return operation(f)();}, - refresh: function(){updateDisplay(true);}, - getInputField: function(){return input;}, - getWrapperElement: function(){return wrapper;} - }; - - function setValue(code) { - history = null; - var top = {line: 0, ch: 0}; - updateLines(top, {line: lines.length - 1, ch: lines[lines.length-1].text.length}, - splitLines(code), top, top); - history = new History(); - } - function getValue(code) { - var text = []; - for (var i = 0, l = lines.length; i < l; ++i) - text.push(lines[i].text); - return text.join("\n"); - } - - function onMouseDown(e) { - // First, see if this is a click in the gutter - for (var n = e.target(); n != wrapper; n = n.parentNode) - if (n.parentNode == gutterText) { - if (options.onGutterClick) - options.onGutterClick(instance, indexOf(gutterText.childNodes, n) + showingFrom); - return e.stop(); - } - - if (gecko && e.button() == 3) onContextMenu(e); - if (e.button() != 1) return; - // For button 1, if it was clicked inside the editor - // (posFromMouse returning non-null), we have to adjust the - // selection. - var start = posFromMouse(e), last = start, going; - if (!start) {if (e.target() == wrapper) e.stop(); return;} - setCursor(start.line, start.ch, false); - - if (!focused) onFocus(); - e.stop(); - // And then we have to see if it's a drag event, in which case - // the dragged-over text must be selected. - function end() { - input.focus(); - updateInput = true; - move(); up(); - } - function extend(e) { - var cur = posFromMouse(e, true); - if (cur && !posEq(cur, last)) { - if (!focused) onFocus(); - last = cur; - setSelection(start, cur); - updateInput = false; - var visible = visibleLines(); - if (cur.line >= visible.to || cur.line < visible.from) - going = setTimeout(operation(function(){extend(e);}), 150); - } - } - - var move = connect(document, "mousemove", operation(function(e) { - clearTimeout(going); - e.stop(); - extend(e); - }), true); - var up = connect(document, "mouseup", operation(function(e) { - clearTimeout(going); - var cur = posFromMouse(e); - if (cur) setSelection(start, cur); - e.stop(); - end(); - }), true); - } - function onDblClick(e) { - var pos = posFromMouse(e); - if (!pos) return; - selectWordAt(pos); - e.stop(); - } - function onDrop(e) { - var pos = posFromMouse(e, true), files = e.e.dataTransfer.files; - if (!pos || options.readOnly) return; - if (files && files.length && window.FileReader && window.File) { - var n = files.length, text = Array(n), read = 0; - for (var i = 0; i < n; ++i) loadFile(files[i], i); - function loadFile(file, i) { - var reader = new FileReader; - reader.onload = function() { - text[i] = reader.result; - if (++read == n) replaceRange(text.join(""), clipPos(pos), clipPos(pos)); - }; - reader.readAsText(file); - } - } - else { - try { - var text = e.e.dataTransfer.getData("Text"); - if (text) replaceRange(text, pos, pos); - } - catch(e){} - } - } - function onKeyDown(e) { - if (!focused) onFocus(); - - var code = e.e.keyCode; - // Tries to detect ctrl on non-mac, cmd on mac. - var mod = (mac ? e.e.metaKey : e.e.ctrlKey) && !e.e.altKey, anyMod = e.e.ctrlKey || e.e.altKey || e.e.metaKey; - if (code == 16 || e.e.shiftKey) shiftSelecting = shiftSelecting || (sel.inverted ? sel.to : sel.from); - else shiftSelecting = null; - // First give onKeyEvent option a chance to handle this. - if (options.onKeyEvent && options.onKeyEvent(instance, addStop(e.e))) return; - - if (code == 33 || code == 34) {scrollPage(code == 34); return e.stop();} // page up/down - if (mod && (code == 36 || code == 35)) {scrollEnd(code == 36); return e.stop();} // ctrl-home/end - if (mod && code == 65) {selectAll(); return e.stop();} // ctrl-a - if (!options.readOnly) { - if (!anyMod && code == 13) {return;} // enter - if (!anyMod && code == 9 && handleTab(e.e.shiftKey)) return e.stop(); // tab - if (mod && code == 90) {undo(); return e.stop();} // ctrl-z - if (mod && ((e.e.shiftKey && code == 90) || code == 89)) {redo(); return e.stop();} // ctrl-shift-z, ctrl-y - } - - // Key id to use in the movementKeys map. We also pass it to - // fastPoll in order to 'self learn'. We need this because - // reducedSelection, the hack where we collapse the selection to - // its start when it is inverted and a movement key is pressed - // (and later restore it again), shouldn't be used for - // non-movement keys. - curKeyId = (mod ? "c" : "") + code; - if (sel.inverted && movementKeys.hasOwnProperty(curKeyId)) { - var range = selRange(input); - if (range) { - reducedSelection = {anchor: range.start}; - setSelRange(input, range.start, range.start); - } - } - fastPoll(curKeyId); - } - function onKeyUp(e) { - if (reducedSelection) { - reducedSelection = null; - updateInput = true; - } - if (e.e.keyCode == 16) shiftSelecting = null; - } - function onKeyPress(e) { - if (options.onKeyEvent && options.onKeyEvent(instance, addStop(e.e))) return; - if (options.electricChars && mode.electricChars) { - var ch = String.fromCharCode(e.e.charCode == null ? e.e.keyCode : e.e.charCode); - if (mode.electricChars.indexOf(ch) > -1) - setTimeout(operation(function() {indentLine(sel.to.line, "smart");}), 50); - } - var code = e.e.keyCode; - // Re-stop tab and enter. Necessary on some browsers. - if (code == 13) {handleEnter(); e.stop();} - else if (code == 9 && options.tabMode != "default") e.stop(); - else fastPoll(curKeyId); - } - - function onFocus() { - if (!focused && options.onFocus) options.onFocus(instance); - focused = true; - slowPoll(); - if (wrapper.className.search(/\bCodeMirror-focused\b/) == -1) - wrapper.className += " CodeMirror-focused"; - restartBlink(); - } - function onBlur() { - if (focused && options.onBlur) options.onBlur(instance); - clearInterval(blinker); - shiftSelecting = null; - focused = false; - wrapper.className = wrapper.className.replace(" CodeMirror-focused", ""); - } - - // Replace the range from from to to by the strings in newText. - // Afterwards, set the selection to selFrom, selTo. - function updateLines(from, to, newText, selFrom, selTo) { - if (history) { - var old = []; - for (var i = from.line, e = to.line + 1; i < e; ++i) old.push(lines[i].text); - history.addChange(from.line, newText.length, old); - while (history.done.length > options.undoDepth) history.done.shift(); - } - updateLinesNoUndo(from, to, newText, selFrom, selTo); - } - function unredoHelper(from, to) { - var change = from.pop(); - if (change) { - var replaced = [], end = change.start + change.added; - for (var i = change.start; i < end; ++i) replaced.push(lines[i].text); - to.push({start: change.start, added: change.old.length, old: replaced}); - var pos = clipPos({line: change.start + change.old.length - 1, - ch: editEnd(replaced[replaced.length-1], change.old[change.old.length-1])}); - updateLinesNoUndo({line: change.start, ch: 0}, {line: end - 1, ch: lines[end-1].text.length}, change.old, pos, pos); - } - } - function undo() {unredoHelper(history.done, history.undone);} - function redo() {unredoHelper(history.undone, history.done);} - - function updateLinesNoUndo(from, to, newText, selFrom, selTo) { - var nlines = to.line - from.line, firstLine = lines[from.line], lastLine = lines[to.line]; - // First adjust the line structure, taking some care to leave highlighting intact. - if (firstLine == lastLine) { - if (newText.length == 1) - firstLine.replace(from.ch, to.ch, newText[0]); - else { - lastLine = firstLine.split(to.ch, newText[newText.length-1]); - var spliceargs = [from.line + 1, nlines]; - firstLine.replace(from.ch, firstLine.text.length, newText[0]); - for (var i = 1, e = newText.length - 1; i < e; ++i) spliceargs.push(new Line(newText[i])); - spliceargs.push(lastLine); - lines.splice.apply(lines, spliceargs); - } - } - else if (newText.length == 1) { - firstLine.replace(from.ch, firstLine.text.length, newText[0] + lastLine.text.slice(to.ch)); - lines.splice(from.line + 1, nlines); - } - else { - var spliceargs = [from.line + 1, nlines - 1]; - firstLine.replace(from.ch, firstLine.text.length, newText[0]); - lastLine.replace(0, to.ch, newText[newText.length-1]); - for (var i = 1, e = newText.length - 1; i < e; ++i) spliceargs.push(new Line(newText[i])); - lines.splice.apply(lines, spliceargs); - } - - // Add these lines to the work array, so that they will be - // highlighted. Adjust work lines if lines were added/removed. - var newWork = [], lendiff = newText.length - nlines - 1; - for (var i = 0, l = work.length; i < l; ++i) { - var task = work[i]; - if (task < from.line) newWork.push(task); - else if (task > to.line) newWork.push(task + lendiff); - } - if (newText.length) newWork.push(from.line); - work = newWork; - startWorker(100); - // Remember that these lines changed, for updating the display - changes.push({from: from.line, to: to.line + 1, diff: lendiff}); - textChanged = true; - - // Update the selection - function updateLine(n) {return n <= Math.min(to.line, to.line + lendiff) ? n : n + lendiff;} - setSelection(selFrom, selTo, updateLine(sel.from.line), updateLine(sel.to.line)); - - // Make sure the scroll-size div has the correct height. - code.style.height = (lines.length * lineHeight() + 2 * paddingTop()) + "px"; - } - - function replaceRange(code, from, to) { - from = clipPos(from); - if (!to) to = from; else to = clipPos(to); - code = splitLines(code); - function adjustPos(pos) { - if (posLess(pos, from)) return pos; - if (!posLess(to, pos)) return end; - var line = pos.line + code.length - (to.line - from.line) - 1; - var ch = pos.ch; - if (pos.line == to.line) - ch += code[code.length-1].length - (to.ch - (to.line == from.line ? from.ch : 0)); - return {line: line, ch: ch}; - } - var end; - replaceRange1(code, from, to, function(end1) { - end = end1; - return {from: adjustPos(sel.from), to: adjustPos(sel.to)}; - }); - return end; - } - function replaceSelection(code, collapse) { - replaceRange1(splitLines(code), sel.from, sel.to, function(end) { - if (collapse == "end") return {from: end, to: end}; - else if (collapse == "start") return {from: sel.from, to: sel.from}; - else return {from: sel.from, to: end}; - }); - } - function replaceRange1(code, from, to, computeSel) { - var endch = code.length == 1 ? code[0].length + from.ch : code[code.length-1].length; - var newSel = computeSel({line: from.line + code.length - 1, ch: endch}); - updateLines(from, to, code, newSel.from, newSel.to); - } - - function getRange(from, to) { - var l1 = from.line, l2 = to.line; - if (l1 == l2) return lines[l1].text.slice(from.ch, to.ch); - var code = [lines[l1].text.slice(from.ch)]; - for (var i = l1 + 1; i < l2; ++i) code.push(lines[i].text); - code.push(lines[l2].text.slice(0, to.ch)); - return code.join("\n"); - } - function getSelection() { - return getRange(sel.from, sel.to); - } - - var pollingFast = false; // Ensures slowPoll doesn't cancel fastPoll - function slowPoll() { - if (pollingFast) return; - poll.set(2000, function() { - startOperation(); - readInput(); - if (focused) slowPoll(); - endOperation(); - }); - } - function fastPoll(keyId) { - var missed = false; - pollingFast = true; - function p() { - startOperation(); - var changed = readInput(); - if (changed == "moved" && keyId) movementKeys[keyId] = true; - if (!changed && !missed) {missed = true; poll.set(80, p);} - else {pollingFast = false; slowPoll();} - endOperation(); - } - poll.set(20, p); - } - - // Inspects the textarea, compares its state (content, selection) - // to the data in the editing variable, and updates the editor - // content or cursor if something changed. - function readInput() { - var changed = false, text = input.value, sr = selRange(input); - if (!sr) return false; - var changed = editing.text != text, rs = reducedSelection; - var moved = changed || sr.start != editing.start || sr.end != (rs ? editing.start : editing.end); - if (reducedSelection && !moved && sel.from.line == 0 && sel.from.ch == 0) - reducedSelection = null; - else if (!moved) return false; - if (changed) { - shiftSelecting = reducedSelection = null; - if (options.readOnly) {updateInput = true; return "changed";} - } - - // Compute selection start and end based on start/end offsets in textarea - function computeOffset(n, startLine) { - var pos = 0; - for (;;) { - var found = text.indexOf("\n", pos); - if (found == -1 || (text.charAt(found-1) == "\r" ? found - 1 : found) >= n) - return {line: startLine, ch: n - pos}; - ++startLine; - pos = found + 1; - } - } - var from = computeOffset(sr.start, editing.from), - to = computeOffset(sr.end, editing.from); - // Here we have to take the reducedSelection hack into account, - // so that you can, for example, press shift-up at the start of - // your selection and have the right thing happen. - if (rs) { - from = sr.start == rs.anchor ? to : from; - to = shiftSelecting ? sel.to : sr.start == rs.anchor ? from : to; - if (!posLess(from, to)) { - reducedSelection = null; - sel.inverted = false; - var tmp = from; from = to; to = tmp; - } - } - - // In some cases (cursor on same line as before), we don't have - // to update the textarea content at all. - if (from.line == to.line && from.line == sel.from.line && from.line == sel.to.line && !shiftSelecting) - updateInput = false; - - // Magic mess to extract precise edited range from the changed - // string. - if (changed) { - var start = 0, end = text.length, len = Math.min(end, editing.text.length); - var c, line = editing.from, nl = -1; - while (start < len && (c = text.charAt(start)) == editing.text.charAt(start)) { - ++start; - if (c == "\n") {line++; nl = start;} - } - var ch = nl > -1 ? start - nl : start, endline = editing.to - 1, edend = editing.text.length; - for (;;) { - c = editing.text.charAt(edend); - if (c == "\n") endline--; - if (text.charAt(end) != c) {++end; ++edend; break;} - if (edend <= start || end <= start) break; - --end; --edend; - } - var nl = editing.text.lastIndexOf("\n", edend - 1), endch = nl == -1 ? edend : edend - nl - 1; - updateLines({line: line, ch: ch}, {line: endline, ch: endch}, splitLines(text.slice(start, end)), from, to); - if (line != endline || from.line != line) updateInput = true; - } - else setSelection(from, to); - - editing.text = text; editing.start = sr.start; editing.end = sr.end; - return changed ? "changed" : moved ? "moved" : false; - } - - // Set the textarea content and selection range to match the - // editor state. - function prepareInput() { - var text = []; - var from = Math.max(0, sel.from.line - 1), to = Math.min(lines.length, sel.to.line + 2); - for (var i = from; i < to; ++i) text.push(lines[i].text); - text = input.value = text.join(lineSep); - var startch = sel.from.ch, endch = sel.to.ch; - for (var i = from; i < sel.from.line; ++i) - startch += lineSep.length + lines[i].text.length; - for (var i = from; i < sel.to.line; ++i) - endch += lineSep.length + lines[i].text.length; - editing = {text: text, from: from, to: to, start: startch, end: endch}; - setSelRange(input, startch, reducedSelection ? startch : endch); - } - - function scrollCursorIntoView() { - var cursor = localCoords(sel.inverted ? sel.from : sel.to); - return scrollIntoView(cursor.x, cursor.y, cursor.x, cursor.yBot); - } - function scrollIntoView(x1, y1, x2, y2) { - var pl = paddingLeft(), pt = paddingTop(); - y1 += pt; y2 += pt; x1 += pl; x2 += pl; - var screen = wrapper.clientHeight, screentop = wrapper.scrollTop, scrolled = false, result = true; - if (y1 < screentop) {wrapper.scrollTop = Math.max(0, y1 - 10); scrolled = true;} - else if (y2 > screentop + screen) {wrapper.scrollTop = y2 + 10 - screen; scrolled = true;} - - var screenw = wrapper.clientWidth, screenleft = wrapper.scrollLeft; - if (x1 < screenleft) {wrapper.scrollLeft = Math.max(0, x1 - 10); scrolled = true;} - else if (x2 > screenw + screenleft) { - wrapper.scrollLeft = x2 + 10 - screenw; - scrolled = true; - if (x2 > code.clientWidth) result = false; - } - if (scrolled && options.onScroll) options.onScroll(instance); - return result; - } - - function visibleLines() { - var lh = lineHeight(), top = wrapper.scrollTop - paddingTop(); - return {from: Math.min(lines.length, Math.max(0, Math.floor(top / lh))), - to: Math.min(lines.length, Math.ceil((top + wrapper.clientHeight) / lh))}; - } - // Uses a set of changes plus the current scroll position to - // determine which DOM updates have to be made, and makes the - // updates. - function updateDisplay(changes) { - if (!wrapper.clientWidth) { - showingFrom = showingTo = 0; - return; - } - // First create a range of theoretically intact lines, and punch - // holes in that using the change info. - var intact = changes === true ? [] : [{from: showingFrom, to: showingTo, domStart: 0}]; - for (var i = 0, l = changes.length || 0; i < l; ++i) { - var change = changes[i], intact2 = [], diff = change.diff || 0; - for (var j = 0, l2 = intact.length; j < l2; ++j) { - var range = intact[j]; - if (change.to <= range.from) - intact2.push({from: range.from + diff, to: range.to + diff, domStart: range.domStart}); - else if (range.to <= change.from) - intact2.push(range); - else { - if (change.from > range.from) - intact2.push({from: range.from, to: change.from, domStart: range.domStart}) - if (change.to < range.to) - intact2.push({from: change.to + diff, to: range.to + diff, - domStart: range.domStart + (change.to - range.from)}); - } - } - intact = intact2; - } - - // Then, determine which lines we'd want to see, and which - // updates have to be made to get there. - var visible = visibleLines(); - var from = Math.min(showingFrom, Math.max(visible.from - 3, 0)), - to = Math.min(lines.length, Math.max(showingTo, visible.to + 3)), - updates = [], domPos = 0, domEnd = showingTo - showingFrom, pos = from, changedLines = 0; - - for (var i = 0, l = intact.length; i < l; ++i) { - var range = intact[i]; - if (range.to <= from) continue; - if (range.from >= to) break; - if (range.domStart > domPos || range.from > pos) { - updates.push({from: pos, to: range.from, domSize: range.domStart - domPos, domStart: domPos}); - changedLines += range.from - pos; - } - pos = range.to; - domPos = range.domStart + (range.to - range.from); - } - if (domPos != domEnd || pos != to) { - changedLines += Math.abs(to - pos); - updates.push({from: pos, to: to, domSize: domEnd - domPos, domStart: domPos}); - } - - if (!updates.length) return; - lineDiv.style.display = "none"; - // If more than 30% of the screen needs update, just do a full - // redraw (which is quicker than patching) - if (changedLines > (visible.to - visible.from) * .3) - refreshDisplay(from = Math.max(visible.from - 10, 0), to = Math.min(visible.to + 7, lines.length)); - // Otherwise, only update the stuff that needs updating. - else - patchDisplay(updates); - lineDiv.style.display = ""; - - // Position the mover div to align with the lines it's supposed - // to be showing (which will cover the visible display) - var different = from != showingFrom || to != showingTo || lastHeight != wrapper.clientHeight; - showingFrom = from; showingTo = to; - mover.style.top = (from * lineHeight()) + "px"; - if (different) { - lastHeight = wrapper.clientHeight; - code.style.height = (lines.length * lineHeight() + 2 * paddingTop()) + "px"; - updateGutter(); - } - - // Since this is all rather error prone, it is honoured with the - // only assertion in the whole file. - if (lineDiv.childNodes.length != showingTo - showingFrom) - throw new Error("BAD PATCH! " + JSON.stringify(updates) + " size=" + (showingTo - showingFrom) + - " nodes=" + lineDiv.childNodes.length); - updateCursor(); - } - - function refreshDisplay(from, to) { - var html = [], start = {line: from, ch: 0}, inSel = posLess(sel.from, start) && !posLess(sel.to, start); - for (var i = from; i < to; ++i) { - var ch1 = null, ch2 = null; - if (inSel) { - ch1 = 0; - if (sel.to.line == i) {inSel = false; ch2 = sel.to.ch;} - } - else if (sel.from.line == i) { - if (sel.to.line == i) {ch1 = sel.from.ch; ch2 = sel.to.ch;} - else {inSel = true; ch1 = sel.from.ch;} - } - html.push(lines[i].getHTML(ch1, ch2, true)); - } - lineDiv.innerHTML = html.join(""); - } - function patchDisplay(updates) { - // Slightly different algorithm for IE (badInnerHTML), since - // there .innerHTML on PRE nodes is dumb, and discards - // whitespace. - var sfrom = sel.from.line, sto = sel.to.line, off = 0, - scratch = badInnerHTML && document.createElement("div"); - for (var i = 0, e = updates.length; i < e; ++i) { - var rec = updates[i]; - var extra = (rec.to - rec.from) - rec.domSize; - var nodeAfter = lineDiv.childNodes[rec.domStart + rec.domSize + off] || null; - if (badInnerHTML) - for (var j = Math.max(-extra, rec.domSize); j > 0; --j) - lineDiv.removeChild(nodeAfter ? nodeAfter.previousSibling : lineDiv.lastChild); - else if (extra) { - for (var j = Math.max(0, extra); j > 0; --j) - lineDiv.insertBefore(document.createElement("pre"), nodeAfter); - for (var j = Math.max(0, -extra); j > 0; --j) - lineDiv.removeChild(nodeAfter ? nodeAfter.previousSibling : lineDiv.lastChild); - } - var node = lineDiv.childNodes[rec.domStart + off], inSel = sfrom < rec.from && sto >= rec.from; - for (var j = rec.from; j < rec.to; ++j) { - var ch1 = null, ch2 = null; - if (inSel) { - ch1 = 0; - if (sto == j) {inSel = false; ch2 = sel.to.ch;} - } - else if (sfrom == j) { - if (sto == j) {ch1 = sel.from.ch; ch2 = sel.to.ch;} - else {inSel = true; ch1 = sel.from.ch;} - } - if (badInnerHTML) { - scratch.innerHTML = lines[j].getHTML(ch1, ch2, true); - lineDiv.insertBefore(scratch.firstChild, nodeAfter); - } - else { - node.innerHTML = lines[j].getHTML(ch1, ch2, false); - node.className = lines[j].className || ""; - node = node.nextSibling; - } - } - off += extra; - } - } - - function updateGutter() { - if (!options.gutter && !options.lineNumbers) return; - var hText = mover.offsetHeight, hEditor = wrapper.clientHeight; - gutter.style.height = (hText - hEditor < 2 ? hEditor : hText) + "px"; - var html = []; - for (var i = showingFrom; i < showingTo; ++i) { - var marker = lines[i].gutterMarker; - var text = options.lineNumbers ? i + options.firstLineNumber : null; - if (marker && marker.text) - text = marker.text.replace("%N%", text != null ? text : ""); - else if (text == null) - text = "\u00a0"; - html.push((marker && marker.style ? '
' : "
"), text, "
"); - } - gutter.style.display = "none"; - gutterText.innerHTML = html.join(""); - var minwidth = String(lines.length).length, firstNode = gutterText.firstChild, val = eltText(firstNode), pad = ""; - while (val.length + pad.length < minwidth) pad += "\u00a0"; - if (pad) firstNode.insertBefore(document.createTextNode(pad), firstNode.firstChild); - gutter.style.display = ""; - lineSpace.style.marginLeft = gutter.offsetWidth + "px"; - } - function updateCursor() { - var head = sel.inverted ? sel.from : sel.to; - var x = charX(head.line, head.ch) + "px", y = (head.line - showingFrom) * lineHeight() + "px"; - inputDiv.style.top = y; inputDiv.style.left = x; - if (posEq(sel.from, sel.to)) { - cursor.style.top = y; cursor.style.left = x; - cursor.style.display = ""; - } - else cursor.style.display = "none"; - } - - // Update the selection. Last two args are only used by - // updateLines, since they have to be expressed in the line - // numbers before the update. - function setSelection(from, to, oldFrom, oldTo) { - if (posEq(sel.from, from) && posEq(sel.to, to)) return; - var sh = shiftSelecting && clipPos(shiftSelecting); - if (posLess(to, from)) {var tmp = to; to = from; from = tmp;} - if (sh) { - if (posLess(sh, from)) from = sh; - else if (posLess(to, sh)) to = sh; - } - - var startEq = posEq(sel.to, to), endEq = posEq(sel.from, from); - if (posEq(from, to)) sel.inverted = false; - else if (startEq && !endEq) sel.inverted = true; - else if (endEq && !startEq) sel.inverted = false; - - // Some ugly logic used to only mark the lines that actually did - // see a change in selection as changed, rather than the whole - // selected range. - if (oldFrom == null) {oldFrom = sel.from.line; oldTo = sel.to.line;} - if (posEq(from, to)) { - if (!posEq(sel.from, sel.to)) - changes.push({from: oldFrom, to: oldTo + 1}); - } - else if (posEq(sel.from, sel.to)) { - changes.push({from: from.line, to: to.line + 1}); - } - else { - if (!posEq(from, sel.from)) { - if (from.line < oldFrom) - changes.push({from: from.line, to: Math.min(to.line, oldFrom) + 1}); - else - changes.push({from: oldFrom, to: Math.min(oldTo, from.line) + 1}); - } - if (!posEq(to, sel.to)) { - if (to.line < oldTo) - changes.push({from: Math.max(oldFrom, from.line), to: oldTo + 1}); - else - changes.push({from: Math.max(from.line, oldTo), to: to.line + 1}); - } - } - sel.from = from; sel.to = to; - selectionChanged = true; - } - function setCursor(line, ch) { - var pos = clipPos({line: line, ch: ch || 0}); - setSelection(pos, pos); - } - - function clipLine(n) {return Math.max(0, Math.min(n, lines.length-1));} - function clipPos(pos) { - if (pos.line < 0) return {line: 0, ch: 0}; - if (pos.line >= lines.length) return {line: lines.length-1, ch: lines[lines.length-1].text.length}; - var ch = pos.ch, linelen = lines[pos.line].text.length; - if (ch == null || ch > linelen) return {line: pos.line, ch: linelen}; - else if (ch < 0) return {line: pos.line, ch: 0}; - else return pos; - } - - function scrollPage(down) { - var linesPerPage = Math.floor(wrapper.clientHeight / lineHeight()), head = sel.inverted ? sel.from : sel.to; - setCursor(head.line + (Math.max(linesPerPage - 1, 1) * (down ? 1 : -1)), head.ch); - } - function scrollEnd(top) { - setCursor(top ? 0 : lines.length - 1); - } - function selectAll() { - var endLine = lines.length - 1; - setSelection({line: 0, ch: 0}, {line: endLine, ch: lines[endLine].text.length}); - } - function selectWordAt(pos) { - var line = lines[pos.line].text; - var start = pos.ch, end = pos.ch; - while (start > 0 && /\w/.test(line.charAt(start - 1))) --start; - while (end < line.length - 1 && /\w/.test(line.charAt(end))) ++end; - setSelection({line: pos.line, ch: start}, {line: pos.line, ch: end}); - } - function handleEnter() { - replaceSelection("\n", "end"); - if (options.enterMode != "flat") - indentLine(sel.from.line, options.enterMode == "keep" ? "prev" : "smart"); - } - function handleTab(shift) { - shiftSelecting = null; - switch (options.tabMode) { - case "default": - return false; - case "indent": - for (var i = sel.from.line, e = sel.to.line; i <= e; ++i) indentLine(i, "smart"); - break; - case "classic": - if (posEq(sel.from, sel.to)) { - if (shift) indentLine(sel.from.line, "smart"); - else replaceSelection("\t", "end"); - break; - } - case "shift": - for (var i = sel.from.line, e = sel.to.line; i <= e; ++i) indentLine(i, shift ? "subtract" : "add"); - break; - } - return true; - } - - function indentLine(n, how) { - if (how == "smart") { - if (!mode.indent) how = "prev"; - else var state = getStateBefore(n); - } - - var line = lines[n], curSpace = line.indentation(), curSpaceString = line.text.match(/^\s*/)[0], indentation; - if (how == "prev") { - if (n) indentation = lines[n-1].indentation(); - else indentation = 0; - } - else if (how == "smart") indentation = mode.indent(state, line.text.slice(curSpaceString.length)); - else if (how == "add") indentation = curSpace + options.indentUnit; - else if (how == "subtract") indentation = curSpace - options.indentUnit; - indentation = Math.max(0, indentation); - var diff = indentation - curSpace; - - if (!diff) { - if (sel.from.line != n && sel.to.line != n) return; - var indentString = curSpaceString; - } - else { - var indentString = "", pos = 0; - if (options.indentWithTabs) - for (var i = Math.floor(indentation / tabSize); i; --i) {pos += tabSize; indentString += "\t";} - while (pos < indentation) {++pos; indentString += " ";} - } - - replaceRange(indentString, {line: n, ch: 0}, {line: n, ch: curSpaceString.length}); - } - - function loadMode() { - mode = CodeMirror.getMode(options, options.mode); - for (var i = 0, l = lines.length; i < l; ++i) - lines[i].stateAfter = null; - work = [0]; - } - function gutterChanged() { - var visible = options.gutter || options.lineNumbers; - gutter.style.display = visible ? "" : "none"; - if (visible) updateGutter(); - else lineDiv.parentNode.style.marginLeft = 0; - } - - function markText(from, to, className) { - from = clipPos(from); to = clipPos(to); - var accum = []; - function add(line, from, to, className) { - var line = lines[line], mark = line.addMark(from, to, className); - mark.line = line; - accum.push(mark); - } - if (from.line == to.line) add(from.line, from.ch, to.ch, className); - else { - add(from.line, from.ch, null, className); - for (var i = from.line + 1, e = to.line; i < e; ++i) - add(i, 0, null, className); - add(to.line, 0, to.ch, className); - } - changes.push({from: from.line, to: to.line + 1}); - return function() { - var start, end; - for (var i = 0; i < accum.length; ++i) { - var mark = accum[i], found = indexOf(lines, mark.line); - mark.line.removeMark(mark); - if (found > -1) { - if (start == null) start = found; - end = found; - } - } - if (start != null) changes.push({from: start, to: end + 1}); - }; - } - - function addGutterMarker(line, text, className) { - if (typeof line == "number") line = lines[clipLine(line)]; - line.gutterMarker = {text: text, style: className}; - updateGutter(); - return line; - } - function removeGutterMarker(line) { - if (typeof line == "number") line = lines[clipLine(line)]; - line.gutterMarker = null; - updateGutter(); - } - function setLineClass(line, className) { - if (typeof line == "number") { - var no = line; - line = lines[clipLine(line)]; - } - else { - var no = indexOf(lines, line); - if (no == -1) return null; - } - line.className = className; - changes.push({from: no, to: no + 1}); - return line; - } - - function lineInfo(line) { - if (typeof line == "number") { - var n = line; - line = lines[line]; - if (!line) return null; - } - else { - var n = indexOf(lines, line); - if (n == -1) return null; - } - var marker = line.gutterMarker; - return {line: n, text: line.text, markerText: marker && marker.text, markerClass: marker && marker.style}; - } - - // These are used to go from pixel positions to character - // positions, taking tabs into account. - function charX(line, pos) { - var text = lines[line].text, span = measure.firstChild; - if (text.lastIndexOf("\t", pos) == -1) return pos * charWidth(); - var old = span.firstChild.nodeValue; - try { - span.firstChild.nodeValue = text.slice(0, pos); - return span.offsetWidth; - } finally {span.firstChild.nodeValue = old;} - } - function charFromX(line, x) { - var text = lines[line].text, cw = charWidth(); - if (x <= 0) return 0; - if (text.indexOf("\t") == -1) return Math.min(text.length, Math.round(x / cw)); - var mspan = measure.firstChild, mtext = mspan.firstChild, old = mtext.nodeValue; - try { - mtext.nodeValue = text; - var from = 0, fromX = 0, to = text.length, toX = mspan.offsetWidth; - if (x > toX) return to; - for (;;) { - if (to - from <= 1) return (toX - x > x - fromX) ? from : to; - var middle = Math.ceil((from + to) / 2); - mtext.nodeValue = text.slice(0, middle); - var curX = mspan.offsetWidth; - if (curX > x) {to = middle; toX = curX;} - else {from = middle; fromX = curX;} - } - } finally {mtext.nodeValue = old;} - } - - function localCoords(pos, inLineWrap) { - var lh = lineHeight(), line = pos.line - (inLineWrap ? showingFrom : 0); - return {x: charX(pos.line, pos.ch), y: line * lh, yBot: (line + 1) * lh}; - } - function pageCoords(pos) { - var local = localCoords(pos, true), off = eltOffset(lineSpace); - return {x: off.left + local.x, y: off.top + local.y, yBot: off.top + local.yBot}; - } - - function lineHeight() { - var nlines = lineDiv.childNodes.length; - if (nlines) return lineDiv.offsetHeight / nlines; - else return measure.firstChild.offsetHeight || 1; - } - function charWidth() {return (measure.firstChild.offsetWidth || 320) / 40;} - function paddingTop() {return lineSpace.offsetTop;} - function paddingLeft() {return lineSpace.offsetLeft;} - - function posFromMouse(e, liberal) { - var off = eltOffset(lineSpace), - x = e.pageX() - off.left, - y = e.pageY() - off.top; - if (!liberal && e.target() != lineSpace.parentNode && !(e.target() == wrapper && y > (lines.length * lineHeight()))) - for (var n = e.target(); n != lineDiv && n != cursor; n = n.parentNode) - if (!n || n == wrapper) return null; - var line = showingFrom + Math.floor(y / lineHeight()); - return clipPos({line: line, ch: charFromX(clipLine(line), x)}); - } - function onContextMenu(e) { - var pos = posFromMouse(e); - if (!pos || window.opera) return; // Opera is difficult. - if (posEq(sel.from, sel.to) || posLess(pos, sel.from) || !posLess(pos, sel.to)) - setCursor(pos.line, pos.ch); - - var oldCSS = input.style.cssText; - input.style.cssText = "position: fixed; width: 30px; height: 30px; top: " + (e.pageY() - 1) + - "px; left: " + (e.pageX() - 1) + "px; z-index: 1000; background: white; " + - "border-width: 0; outline: none; overflow: hidden;"; - var val = input.value = getSelection(); - input.focus(); - setSelRange(input, 0, val.length); - if (gecko) e.stop(); - leaveInputAlone = true; - setTimeout(function() { - if (input.value != val) operation(replaceSelection)(input.value, "end"); - input.style.cssText = oldCSS; - leaveInputAlone = false; - prepareInput(); - slowPoll(); - }, 50); - } - - // Cursor-blinking - function restartBlink() { - clearInterval(blinker); - var on = true; - cursor.style.visibility = ""; - blinker = setInterval(function() { - cursor.style.visibility = (on = !on) ? "" : "hidden"; - }, 650); - } - - var matching = {"(": ")>", ")": "(<", "[": "]>", "]": "[<", "{": "}>", "}": "{<"}; - function matchBrackets(autoclear) { - var head = sel.inverted ? sel.from : sel.to, line = lines[head.line], pos = head.ch - 1; - var match = (pos >= 0 && matching[line.text.charAt(pos)]) || matching[line.text.charAt(++pos)]; - if (!match) return; - var ch = match.charAt(0), forward = match.charAt(1) == ">", d = forward ? 1 : -1, st = line.styles; - for (var off = pos + 1, i = 0, e = st.length; i < e; i+=2) - if ((off -= st[i].length) <= 0) {var style = st[i+1]; break;} - - var stack = [line.text.charAt(pos)], re = /[(){}[\]]/; - function scan(line, from, to) { - if (!line.text) return; - var st = line.styles, pos = forward ? 0 : line.text.length - 1, cur; - for (var i = forward ? 0 : st.length - 2, e = forward ? st.length : -2; i != e; i += 2*d) { - var text = st[i]; - if (st[i+1] != null && st[i+1] != style) {pos += d * text.length; continue;} - for (var j = forward ? 0 : text.length - 1, te = forward ? text.length : -1; j != te; j += d, pos+=d) { - if (pos >= from && pos < to && re.test(cur = text.charAt(j))) { - var match = matching[cur]; - if (match.charAt(1) == ">" == forward) stack.push(cur); - else if (stack.pop() != match.charAt(0)) return {pos: pos, match: false}; - else if (!stack.length) return {pos: pos, match: true}; - } - } - } - } - for (var i = head.line, e = forward ? Math.min(i + 50, lines.length) : Math.max(0, i - 50); i != e; i+=d) { - var line = lines[i], first = i == head.line; - var found = scan(line, first && forward ? pos + 1 : 0, first && !forward ? pos : line.text.length); - if (found) { - var style = found.match ? "CodeMirror-matchingbracket" : "CodeMirror-nonmatchingbracket"; - var one = markText({line: head.line, ch: pos}, {line: head.line, ch: pos+1}, style), - two = markText({line: i, ch: found.pos}, {line: i, ch: found.pos + 1}, style); - var clear = operation(function(){one(); two();}); - if (autoclear) setTimeout(clear, 800); - else bracketHighlighted = clear; - break; - } - } - } - - // Finds the line to start with when starting a parse. Tries to - // find a line with a stateAfter, so that it can start with a - // valid state. If that fails, it returns the line with the - // smallest indentation, which tends to need the least context to - // parse correctly. - function findStartLine(n) { - var minindent, minline; - for (var search = n, lim = n - 40; search > lim; --search) { - if (search == 0) return 0; - var line = lines[search-1]; - if (line.stateAfter) return search; - var indented = line.indentation(); - if (minline == null || minindent > indented) { - minline = search; - minindent = indented; - } - } - return minline; - } - function getStateBefore(n) { - var start = findStartLine(n), state = start && lines[start-1].stateAfter; - if (!state) state = startState(mode); - else state = copyState(mode, state); - for (var i = start; i < n; ++i) { - var line = lines[i]; - line.highlight(mode, state); - line.stateAfter = copyState(mode, state); - } - if (!lines[n].stateAfter) work.push(n); - return state; - } - function highlightWorker() { - var end = +new Date + options.workTime; - while (work.length) { - if (!lines[showingFrom].stateAfter) var task = showingFrom; - else var task = work.pop(); - if (task >= lines.length) continue; - var start = findStartLine(task), state = start && lines[start-1].stateAfter; - if (state) state = copyState(mode, state); - else state = startState(mode); - - for (var i = start, l = lines.length; i < l; ++i) { - var line = lines[i], hadState = line.stateAfter; - if (+new Date > end) { - work.push(i); - startWorker(options.workDelay); - changes.push({from: task, to: i}); - return; - } - var changed = line.highlight(mode, state); - line.stateAfter = copyState(mode, state); - if (hadState && !changed && line.text) break; - } - changes.push({from: task, to: i}); - } - } - function startWorker(time) { - if (!work.length) return; - highlight.set(time, operation(highlightWorker)); - } - - // Operations are used to wrap changes in such a way that each - // change won't have to update the cursor and display (which would - // be awkward, slow, and error-prone), but instead updates are - // batched and then all combined and executed at once. - function startOperation() { - updateInput = null; changes = []; textChanged = selectionChanged = false; - } - function endOperation() { - var reScroll = false; - if (selectionChanged) reScroll = !scrollCursorIntoView(); - if (changes.length) updateDisplay(changes); - else if (selectionChanged) updateCursor(); - if (reScroll) scrollCursorIntoView(); - if (selectionChanged) restartBlink(); - - // updateInput can be set to a boolean value to force/prevent an - // update. - if (!leaveInputAlone && (updateInput === true || (updateInput !== false && selectionChanged))) - prepareInput(); - - if (selectionChanged && options.onCursorActivity) - options.onCursorActivity(instance); - if (textChanged && options.onChange) - options.onChange(instance); - if (selectionChanged && options.matchBrackets) - setTimeout(operation(function() { - if (bracketHighlighted) {bracketHighlighted(); bracketHighlighted = null;} - matchBrackets(false); - }), 20); - } - var nestedOperation = 0; - function operation(f) { - return function() { - if (!nestedOperation++) startOperation(); - try {var result = f.apply(this, arguments);} - finally {if (!--nestedOperation) endOperation();} - return result; - }; - } - - function SearchCursor(query, pos, caseFold) { - this.atOccurrence = false; - if (caseFold == null) caseFold = typeof query == "string" && query == query.toLowerCase(); - - if (pos && typeof pos == "object") pos = clipPos(pos); - else pos = {line: 0, ch: 0}; - this.pos = {from: pos, to: pos}; - - // The matches method is filled in based on the type of query. - // It takes a position and a direction, and returns an object - // describing the next occurrence of the query, or null if no - // more matches were found. - if (typeof query != "string") // Regexp match - this.matches = function(reverse, pos) { - if (reverse) { - var line = lines[pos.line].text.slice(0, pos.ch), match = line.match(query), start = 0; - while (match) { - var ind = line.indexOf(match[0]); - start += ind; - line = line.slice(ind + 1); - var newmatch = line.match(query); - if (newmatch) match = newmatch; - else break; - } - } - else { - var line = lines[pos.line].text.slice(pos.ch), match = line.match(query), - start = match && pos.ch + line.indexOf(match[0]); - } - if (match) - return {from: {line: pos.line, ch: start}, - to: {line: pos.line, ch: start + match[0].length}, - match: match}; - }; - else { // String query - if (caseFold) query = query.toLowerCase(); - var fold = caseFold ? function(str){return str.toLowerCase();} : function(str){return str;}; - var target = query.split("\n"); - // Different methods for single-line and multi-line queries - if (target.length == 1) - this.matches = function(reverse, pos) { - var line = fold(lines[pos.line].text), len = query.length, match; - if (reverse ? (pos.ch >= len && (match = line.lastIndexOf(query, pos.ch - len)) != -1) - : (match = line.indexOf(query, pos.ch)) != -1) - return {from: {line: pos.line, ch: match}, - to: {line: pos.line, ch: match + len}}; - }; - else - this.matches = function(reverse, pos) { - var ln = pos.line, idx = (reverse ? target.length - 1 : 0), match = target[idx], line = fold(lines[ln].text); - var offsetA = (reverse ? line.indexOf(match) + match.length : line.lastIndexOf(match)); - if (reverse ? offsetA >= pos.ch || offsetA != match.length - : offsetA <= pos.ch || offsetA != line.length - match.length) - return; - for (;;) { - if (reverse ? !ln : ln == lines.length - 1) return; - line = fold(lines[ln += reverse ? -1 : 1].text); - match = target[reverse ? --idx : ++idx]; - if (idx > 0 && idx < target.length - 1) { - if (line != match) return; - else continue; - } - var offsetB = (reverse ? line.lastIndexOf(match) : line.indexOf(match) + match.length); - if (reverse ? offsetB != line.length - match.length : offsetB != match.length) - return; - var start = {line: pos.line, ch: offsetA}, end = {line: ln, ch: offsetB}; - return {from: reverse ? end : start, to: reverse ? start : end}; - } - }; - } - } - - SearchCursor.prototype = { - findNext: function() {return this.find(false);}, - findPrevious: function() {return this.find(true);}, - - find: function(reverse) { - var self = this, pos = clipPos(reverse ? this.pos.from : this.pos.to); - function savePosAndFail(line) { - var pos = {line: line, ch: 0}; - self.pos = {from: pos, to: pos}; - self.atOccurrence = false; - return false; - } - - for (;;) { - if (this.pos = this.matches(reverse, pos)) { - this.atOccurrence = true; - return this.pos.match || true; - } - if (reverse) { - if (!pos.line) return savePosAndFail(0); - pos = {line: pos.line-1, ch: lines[pos.line-1].text.length}; - } - else { - if (pos.line == lines.length - 1) return savePosAndFail(lines.length); - pos = {line: pos.line+1, ch: 0}; - } - } - }, - - from: function() {if (this.atOccurrence) return copyPos(this.pos.from);}, - to: function() {if (this.atOccurrence) return copyPos(this.pos.to);} - }; - - return instance; - } // (end of function CodeMirror) - - // The default configuration options. - CodeMirror.defaults = { - value: "", - mode: null, - indentUnit: 2, - indentWithTabs: false, - tabMode: "classic", - enterMode: "indent", - electricChars: true, - onKeyEvent: null, - lineNumbers: false, - gutter: false, - firstLineNumber: 1, - readOnly: false, - onChange: null, - onCursorActivity: null, - onGutterClick: null, - onFocus: null, onBlur: null, onScroll: null, - matchBrackets: false, - workTime: 100, - workDelay: 200, - undoDepth: 40, - tabindex: null - }; - - // Known modes, by name and by MIME - var modes = {}, mimeModes = {}; - CodeMirror.defineMode = function(name, mode) { - if (!CodeMirror.defaults.mode && name != "null") CodeMirror.defaults.mode = name; - modes[name] = mode; - }; - CodeMirror.defineMIME = function(mime, spec) { - mimeModes[mime] = spec; - }; - CodeMirror.getMode = function(options, spec) { - if (typeof spec == "string" && mimeModes.hasOwnProperty(spec)) - spec = mimeModes[spec]; - if (typeof spec == "string") - var mname = spec, config = {}; - else - var mname = spec.name, config = spec; - var mfactory = modes[mname]; - if (!mfactory) { - if (window.console) console.warn("No mode " + mname + " found, falling back to plain text."); - return CodeMirror.getMode(options, "text/plain"); - } - return mfactory(options, config); - } - CodeMirror.listModes = function() { - var list = []; - for (var m in modes) - if (modes.propertyIsEnumerable(m)) list.push(m); - return list; - }; - CodeMirror.listMIMEs = function() { - var list = []; - for (var m in mimeModes) - if (mimeModes.propertyIsEnumerable(m)) list.push(m); - return list; - }; - - CodeMirror.fromTextArea = function(textarea, options) { - if (!options) options = {}; - options.value = textarea.value; - if (!options.tabindex && textarea.tabindex) - options.tabindex = textarea.tabindex; - - function save() {textarea.value = instance.getValue();} - if (textarea.form) { - // Deplorable hack to make the submit method do the right thing. - var rmSubmit = connect(textarea.form, "submit", save, true); - if (typeof textarea.form.submit == "function") { - var realSubmit = textarea.form.submit; - function wrappedSubmit() { - save(); - textarea.form.submit = realSubmit; - textarea.form.submit(); - textarea.form.submit = wrappedSubmit; - } - textarea.form.submit = wrappedSubmit; - } - } - - textarea.style.display = "none"; - var instance = CodeMirror(function(node) { - textarea.parentNode.insertBefore(node, textarea.nextSibling); - }, options); - instance.save = save; - instance.toTextArea = function() { - save(); - textarea.parentNode.removeChild(instance.getWrapperElement()); - textarea.style.display = ""; - if (textarea.form) { - rmSubmit(); - if (typeof textarea.form.submit == "function") - textarea.form.submit = realSubmit; - } - }; - return instance; - }; - - // Utility functions for working with state. Exported because modes - // sometimes need to do this. - function copyState(mode, state) { - if (state === true) return state; - if (mode.copyState) return mode.copyState(state); - var nstate = {}; - for (var n in state) { - var val = state[n]; - if (val instanceof Array) val = val.concat([]); - nstate[n] = val; - } - return nstate; - } - CodeMirror.startState = startState; - function startState(mode, a1, a2) { - return mode.startState ? mode.startState(a1, a2) : true; - } - CodeMirror.copyState = copyState; - - // The character stream used by a mode's parser. - function StringStream(string) { - this.pos = this.start = 0; - this.string = string; - } - StringStream.prototype = { - eol: function() {return this.pos >= this.string.length;}, - sol: function() {return this.pos == 0;}, - peek: function() {return this.string.charAt(this.pos);}, - next: function() { - if (this.pos < this.string.length) - return this.string.charAt(this.pos++); - }, - eat: function(match) { - var ch = this.string.charAt(this.pos); - if (typeof match == "string") var ok = ch == match; - else var ok = ch && (match.test ? match.test(ch) : match(ch)); - if (ok) {++this.pos; return ch;} - }, - eatWhile: function(match) { - var start = this.start; - while (this.eat(match)){} - return this.pos > start; - }, - eatSpace: function() { - var start = this.pos; - while (/[\s\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos; - return this.pos > start; - }, - skipToEnd: function() {this.pos = this.string.length;}, - skipTo: function(ch) { - var found = this.string.indexOf(ch, this.pos); - if (found > -1) {this.pos = found; return true;} - }, - backUp: function(n) {this.pos -= n;}, - column: function() {return countColumn(this.string, this.start);}, - indentation: function() {return countColumn(this.string);}, - match: function(pattern, consume, caseInsensitive) { - if (typeof pattern == "string") { - function cased(str) {return caseInsensitive ? str.toLowerCase() : str;} - if (cased(this.string).indexOf(cased(pattern), this.pos) == this.pos) { - if (consume !== false) this.pos += pattern.length; - return true; - } - } - else { - var match = this.string.slice(this.pos).match(pattern); - if (match && consume !== false) this.pos += match[0].length; - return match; - } - }, - current: function(){return this.string.slice(this.start, this.pos);} - }; - - // Line objects. These hold state related to a line, including - // highlighting info (the styles array). - function Line(text, styles) { - this.styles = styles || [text, null]; - this.stateAfter = null; - this.text = text; - this.marked = this.gutterMarker = this.className = null; - } - Line.prototype = { - // Replace a piece of a line, keeping the styles around it intact. - replace: function(from, to, text) { - var st = [], mk = this.marked; - copyStyles(0, from, this.styles, st); - if (text) st.push(text, null); - copyStyles(to, this.text.length, this.styles, st); - this.styles = st; - this.text = this.text.slice(0, from) + text + this.text.slice(to); - this.stateAfter = null; - if (mk) { - var diff = text.length - (to - from), end = this.text.length; - function fix(n) {return n <= Math.min(to, to + diff) ? n : n + diff;} - for (var i = 0; i < mk.length; ++i) { - var mark = mk[i], del = false; - if (mark.from >= end) del = true; - else {mark.from = fix(mark.from); if (mark.to != null) mark.to = fix(mark.to);} - if (del || mark.from >= mark.to) {mk.splice(i, 1); i--;} - } - } - }, - // Split a line in two, again keeping styles intact. - split: function(pos, textBefore) { - var st = [textBefore, null]; - copyStyles(pos, this.text.length, this.styles, st); - return new Line(textBefore + this.text.slice(pos), st); - }, - addMark: function(from, to, style) { - var mk = this.marked, mark = {from: from, to: to, style: style}; - if (this.marked == null) this.marked = []; - this.marked.push(mark); - this.marked.sort(function(a, b){return a.from - b.from;}); - return mark; - }, - removeMark: function(mark) { - var mk = this.marked; - if (!mk) return; - for (var i = 0; i < mk.length; ++i) - if (mk[i] == mark) {mk.splice(i, 1); break;} - }, - // Run the given mode's parser over a line, update the styles - // array, which contains alternating fragments of text and CSS - // classes. - highlight: function(mode, state) { - var stream = new StringStream(this.text), st = this.styles, pos = 0, changed = false; - while (!stream.eol()) { - var style = mode.token(stream, state); - var substr = this.text.slice(stream.start, stream.pos); - stream.start = stream.pos; - if (pos && st[pos-1] == style) - st[pos-2] += substr; - else if (substr) { - if (!changed && st[pos] != substr || st[pos+1] != style) changed = true; - st[pos++] = substr; st[pos++] = style; - } - // Give up when line is ridiculously long - if (stream.pos > 5000) { - st[pos++] = this.text.slice(stream.pos); st[pos++] = null; - break; - } - } - if (st.length != pos) {st.length = pos; changed = true;} - return changed; - }, - // Fetch the parser token for a given character. Useful for hacks - // that want to inspect the mode state (say, for completion). - getTokenAt: function(mode, state, ch) { - var txt = this.text, stream = new StringStream(txt); - while (stream.pos < ch && !stream.eol()) { - stream.start = stream.pos; - var style = mode.token(stream, state); - } - return {start: stream.start, - end: stream.pos, - string: stream.current(), - className: style || null, - state: state}; - }, - indentation: function() {return countColumn(this.text);}, - // Produces an HTML fragment for the line, taking selection, - // marking, and highlighting into account. - getHTML: function(sfrom, sto, includePre) { - var html = []; - if (includePre) - html.push(this.className ? '
': "
");
-      function span(text, style) {
-        if (!text) return;
-        if (style) html.push('', htmlEscape(text), "");
-        else html.push(htmlEscape(text));
-      }
-      var st = this.styles, allText = this.text, marked = this.marked;
-      if (sfrom == sto) sfrom = null;
-
-      if (!allText)
-        span(" ", sfrom != null && sto == null ? "CodeMirror-selected" : null);
-      else if (!marked && sfrom == null)
-        for (var i = 0, e = st.length; i < e; i+=2) span(st[i], st[i+1]);
-      else {
-        var pos = 0, i = 0, text = "", style, sg = 0;
-        var markpos = -1, mark = null;
-        function nextMark() {
-          if (marked) {
-            markpos += 1;
-            mark = (markpos < marked.length) ? marked[markpos] : null;
-          }
-        }
-        nextMark();        
-        while (pos < allText.length) {
-          var upto = allText.length;
-          var extraStyle = "";
-          if (sfrom != null) {
-            if (sfrom > pos) upto = sfrom;
-            else if (sto == null || sto > pos) {
-              extraStyle = " CodeMirror-selected";
-              if (sto != null) upto = Math.min(upto, sto);
-            }
-          }
-          while (mark && mark.to != null && mark.to <= pos) nextMark();
-          if (mark) {
-            if (mark.from > pos) upto = Math.min(upto, mark.from);
-            else {
-              extraStyle += " " + mark.style;
-              if (mark.to != null) upto = Math.min(upto, mark.to);
-            }
-          }
-          for (;;) {
-            var end = pos + text.length;
-            var apliedStyle = style;
-            if (extraStyle) apliedStyle = style ? style + extraStyle : extraStyle;
-            span(end > upto ? text.slice(0, upto - pos) : text, apliedStyle);
-            if (end >= upto) {text = text.slice(upto - pos); pos = upto; break;}
-            pos = end;
-            text = st[i++]; style = st[i++];
-          }
-        }
-        if (sfrom != null && sto == null) span(" ", "CodeMirror-selected");
-      }
-      if (includePre) html.push("
"); - return html.join(""); - } - }; - // Utility used by replace and split above - function copyStyles(from, to, source, dest) { - for (var i = 0, pos = 0, state = 0; pos < to; i+=2) { - var part = source[i], end = pos + part.length; - if (state == 0) { - if (end > from) dest.push(part.slice(from - pos, Math.min(part.length, to - pos)), source[i+1]); - if (end >= from) state = 1; - } - else if (state == 1) { - if (end > to) dest.push(part.slice(0, to - pos), source[i+1]); - else dest.push(part, source[i+1]); - } - pos = end; - } - } - - // The history object 'chunks' changes that are made close together - // and at almost the same time into bigger undoable units. - function History() { - this.time = 0; - this.done = []; this.undone = []; - } - History.prototype = { - addChange: function(start, added, old) { - this.undone.length = 0; - var time = +new Date, last = this.done[this.done.length - 1]; - if (time - this.time > 400 || !last || - last.start > start + added || last.start + last.added < start - last.added + last.old.length) - this.done.push({start: start, added: added, old: old}); - else { - var oldoff = 0; - if (start < last.start) { - for (var i = last.start - start - 1; i >= 0; --i) - last.old.unshift(old[i]); - last.added += last.start - start; - last.start = start; - } - else if (last.start < start) { - oldoff = start - last.start; - added += oldoff; - } - for (var i = last.added - oldoff, e = old.length; i < e; ++i) - last.old.push(old[i]); - if (last.added < added) last.added = added; - } - this.time = time; - } - }; - - // Event stopping compatibility wrapper. - function stopEvent() { - if (this.preventDefault) {this.preventDefault(); this.stopPropagation();} - else {this.returnValue = false; this.cancelBubble = true;} - } - // Ensure an event has a stop method. - function addStop(event) { - if (!event.stop) event.stop = stopEvent; - return event; - } - - // Event wrapper, exposing the few operations we need. - function Event(orig) {this.e = orig;} - Event.prototype = { - stop: function() {stopEvent.call(this.e);}, - target: function() {return this.e.target || this.e.srcElement;}, - button: function() { - if (this.e.which) return this.e.which; - else if (this.e.button & 1) return 1; - else if (this.e.button & 2) return 3; - else if (this.e.button & 4) return 2; - }, - pageX: function() { - if (this.e.pageX != null) return this.e.pageX; - else return this.e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft; - }, - pageY: function() { - if (this.e.pageY != null) return this.e.pageY; - else return this.e.clientY + document.body.scrollTop + document.documentElement.scrollTop; - } - }; - - // Event handler registration. If disconnect is true, it'll return a - // function that unregisters the handler. - function connect(node, type, handler, disconnect) { - function wrapHandler(event) {handler(new Event(event || window.event));} - if (typeof node.addEventListener == "function") { - node.addEventListener(type, wrapHandler, false); - if (disconnect) return function() {node.removeEventListener(type, wrapHandler, false);}; - } - else { - node.attachEvent("on" + type, wrapHandler); - if (disconnect) return function() {node.detachEvent("on" + type, wrapHandler);}; - } - } - - function Delayed() {this.id = null;} - Delayed.prototype = {set: function(ms, f) {clearTimeout(this.id); this.id = setTimeout(f, ms);}}; - - // Some IE versions don't preserve whitespace when setting the - // innerHTML of a PRE tag. - var badInnerHTML = (function() { - var pre = document.createElement("pre"); - pre.innerHTML = " "; return !pre.innerHTML; - })(); - - var gecko = /gecko\/\d{7}/i.test(navigator.userAgent); - - var lineSep = "\n"; - // Feature-detect whether newlines in textareas are converted to \r\n - (function () { - var te = document.createElement("textarea"); - te.value = "foo\nbar"; - if (te.value.indexOf("\r") > -1) lineSep = "\r\n"; - }()); - - var tabSize = 8; - var mac = /Mac/.test(navigator.platform); - var movementKeys = {}; - for (var i = 35; i <= 40; ++i) - movementKeys[i] = movementKeys["c" + i] = true; - - // Counts the column offset in a string, taking tabs into account. - // Used mostly to find indentation. - function countColumn(string, end) { - if (end == null) { - end = string.search(/[^\s\u00a0]/); - if (end == -1) end = string.length; - } - for (var i = 0, n = 0; i < end; ++i) { - if (string.charAt(i) == "\t") n += tabSize - (n % tabSize); - else ++n; - } - return n; - } - - // Find the position of an element by following the offsetParent chain. - function eltOffset(node) { - var x = 0, y = 0, n2 = node; - for (var n = node; n; n = n.offsetParent) {x += n.offsetLeft; y += n.offsetTop;} - for (var n = node; n != document.body; n = n.parentNode) {x -= n.scrollLeft; y -= n.scrollTop;} - return {left: x, top: y}; - } - // Get a node's text content. - function eltText(node) { - return node.textContent || node.innerText || node.nodeValue || ""; - } - - // Operations on {line, ch} objects. - function posEq(a, b) {return a.line == b.line && a.ch == b.ch;} - function posLess(a, b) {return a.line < b.line || (a.line == b.line && a.ch < b.ch);} - function copyPos(x) {return {line: x.line, ch: x.ch};} - - function htmlEscape(str) { - return str.replace(/[<&]/g, function(str) {return str == "&" ? "&" : "<";}); - } - - // Used to position the cursor after an undo/redo by finding the - // last edited character. - function editEnd(from, to) { - if (!to) return from ? from.length : 0; - if (!from) return to.length; - for (var i = from.length, j = to.length; i >= 0 && j >= 0; --i, --j) - if (from.charAt(i) != to.charAt(j)) break; - return j + 1; - } - - function indexOf(collection, elt) { - if (collection.indexOf) return collection.indexOf(elt); - for (var i = 0, e = collection.length; i < e; ++i) - if (collection[i] == elt) return i; - return -1; - } - - // See if "".split is the broken IE version, if so, provide an - // alternative way to split lines. - if ("\n\nb".split(/\n/).length != 3) - var splitLines = function(string) { - var pos = 0, nl, result = []; - while ((nl = string.indexOf("\n", pos)) > -1) { - result.push(string.slice(pos, string.charAt(nl-1) == "\r" ? nl - 1 : nl)); - pos = nl + 1; - } - result.push(string.slice(pos)); - return result; - }; - else - var splitLines = function(string){return string.split(/\r?\n/);}; - - // Sane model of finding and setting the selection in a textarea - if (window.getSelection) { - var selRange = function(te) { - try {return {start: te.selectionStart, end: te.selectionEnd};} - catch(e) {return null;} - }; - var setSelRange = function(te, start, end) { - try {te.setSelectionRange(start, end);} - catch(e) {} // Fails on Firefox when textarea isn't part of the document - }; - } - // IE model. Don't ask. - else { - var selRange = function(te) { - try {var range = document.selection.createRange();} - catch(e) {return null;} - if (!range || range.parentElement() != te) return null; - var val = te.value, len = val.length, localRange = te.createTextRange(); - localRange.moveToBookmark(range.getBookmark()); - var endRange = te.createTextRange(); - endRange.collapse(false); - - if (localRange.compareEndPoints("StartToEnd", endRange) > -1) - return {start: len, end: len}; - - var start = -localRange.moveStart("character", -len); - for (var i = val.indexOf("\r"); i > -1 && i < start; i = val.indexOf("\r", i+1), start++) {} - - if (localRange.compareEndPoints("EndToEnd", endRange) > -1) - return {start: start, end: len}; - - var end = -localRange.moveEnd("character", -len); - for (var i = val.indexOf("\r"); i > -1 && i < end; i = val.indexOf("\r", i+1), end++) {} - return {start: start, end: end}; - }; - var setSelRange = function(te, start, end) { - var range = te.createTextRange(); - range.collapse(true); - var endrange = range.duplicate(); - var newlines = 0, txt = te.value; - for (var pos = txt.indexOf("\n"); pos > -1 && pos < start; pos = txt.indexOf("\n", pos + 1)) - ++newlines; - range.move("character", start - newlines); - for (; pos > -1 && pos < end; pos = txt.indexOf("\n", pos + 1)) - ++newlines; - endrange.move("character", end - newlines); - range.setEndPoint("EndToEnd", endrange); - range.select(); - }; - } - - CodeMirror.defineMode("null", function() { - return {token: function(stream) {stream.skipToEnd();}}; - }); - CodeMirror.defineMIME("text/plain", "null"); - - return CodeMirror; -})(); diff --git a/plugins/LocalFilesEditor/codemirror/lib/overlay.js b/plugins/LocalFilesEditor/codemirror/lib/overlay.js deleted file mode 100644 index c4cdf9fc8..000000000 --- a/plugins/LocalFilesEditor/codemirror/lib/overlay.js +++ /dev/null @@ -1,51 +0,0 @@ -// Utility function that allows modes to be combined. The mode given -// as the base argument takes care of most of the normal mode -// functionality, but a second (typically simple) mode is used, which -// can override the style of text. Both modes get to parse all of the -// text, but when both assign a non-null style to a piece of code, the -// overlay wins, unless the combine argument was true, in which case -// the styles are combined. - -CodeMirror.overlayParser = function(base, overlay, combine) { - return { - startState: function() { - return { - base: CodeMirror.startState(base), - overlay: CodeMirror.startState(overlay), - basePos: 0, baseCur: null, - overlayPos: 0, overlayCur: null - }; - }, - copyState: function(state) { - return { - base: CodeMirror.copyState(base, state.base), - overlay: CodeMirror.copyState(overlay, state.overlay), - basePos: state.basePos, baseCur: null, - overlayPos: state.overlayPos, overlayCur: null - }; - }, - - token: function(stream, state) { - if (stream.start == state.basePos) { - state.baseCur = base.token(stream, state.base); - state.basePos = stream.pos; - } - if (stream.start == state.overlayPos) { - stream.pos = stream.start; - state.overlayCur = overlay.token(stream, state.overlay); - state.overlayPos = stream.pos; - } - stream.pos = Math.min(state.basePos, state.overlayPos); - if (stream.eol()) state.basePos = state.overlayPos = 0; - - if (state.overlayCur == null) return state.baseCur; - if (state.baseCur != null && combine) return state.baseCur + " " + state.overlayCur; - else return state.overlayCur; - }, - - indent: function(state, textAfter) { - return base.indent(state.base, textAfter); - }, - electricChars: base.electricChars - }; -}; diff --git a/plugins/LocalFilesEditor/codemirror/mode/clike/clike.css b/plugins/LocalFilesEditor/codemirror/mode/clike/clike.css deleted file mode 100644 index 21016d7b1..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/clike/clike.css +++ /dev/null @@ -1,6 +0,0 @@ -span.c-like-keyword {color: #90b;} -span.c-like-number {color: #291;} -span.c-like-comment {color: #a70;} -span.c-like-string {color: #a22;} -span.c-like-preprocessor {color: #049;} -span.c-like-var {color: #22b;} diff --git a/plugins/LocalFilesEditor/codemirror/mode/clike/clike.js b/plugins/LocalFilesEditor/codemirror/mode/clike/clike.js deleted file mode 100644 index 25bd79144..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/clike/clike.js +++ /dev/null @@ -1,181 +0,0 @@ -CodeMirror.defineMode("clike", function(config, parserConfig) { - var indentUnit = config.indentUnit, keywords = parserConfig.keywords, - cpp = parserConfig.useCPP, multiLineStrings = parserConfig.multiLineStrings, $vars = parserConfig.$vars; - var isOperatorChar = /[+\-*&%=<>!?|]/; - - function chain(stream, state, f) { - state.tokenize = f; - return f(stream, state); - } - - var type; - function ret(tp, style) { - type = tp; - return style; - } - - function tokenBase(stream, state) { - var ch = stream.next(); - if (ch == '"' || ch == "'") - return chain(stream, state, tokenString(ch)); - else if (/[\[\]{}\(\),;\:\.]/.test(ch)) - return ret(ch); - else if (ch == "#" && cpp && state.startOfLine) { - stream.skipToEnd(); - return ret("directive", "c-like-preprocessor"); - } - else if (/\d/.test(ch)) { - stream.eatWhile(/[\w\.]/) - return ret("number", "c-like-number"); - } - else if (ch == "/") { - if (stream.eat("*")) { - return chain(stream, state, tokenComment); - } - else if (stream.eat("/")) { - stream.skipToEnd(); - return ret("comment", "c-like-comment"); - } - else { - stream.eatWhile(isOperatorChar); - return ret("operator"); - } - } - else if (isOperatorChar.test(ch)) { - stream.eatWhile(isOperatorChar); - return ret("operator"); - } - else if ($vars && ch == "$") { - stream.eatWhile(/[\w\$_]/); - return ret("word", "c-like-var"); - } - else { - stream.eatWhile(/[\w\$_]/); - if (keywords && keywords.propertyIsEnumerable(stream.current())) return ret("keyword", "c-like-keyword"); - return ret("word", "c-like-word"); - } - } - - function tokenString(quote) { - return function(stream, state) { - var escaped = false, next, end = false; - while ((next = stream.next()) != null) { - if (next == quote && !escaped) {end = true; break;} - escaped = !escaped && next == "\\"; - } - if (end || !(escaped || multiLineStrings)) - state.tokenize = tokenBase; - return ret("string", "c-like-string"); - }; - } - - function tokenComment(stream, state) { - var maybeEnd = false, ch; - while (ch = stream.next()) { - if (ch == "/" && maybeEnd) { - state.tokenize = tokenBase; - break; - } - maybeEnd = (ch == "*"); - } - return ret("comment", "c-like-comment"); - } - - function Context(indented, column, type, align, prev) { - this.indented = indented; - this.column = column; - this.type = type; - this.align = align; - this.prev = prev; - } - - function pushContext(state, col, type) { - return state.context = new Context(state.indented, col, type, null, state.context); - } - function popContext(state) { - return state.context = state.context.prev; - } - - // Interface - - return { - startState: function(basecolumn) { - return { - tokenize: tokenBase, - context: new Context((basecolumn || 0) - indentUnit, 0, "top", false), - indented: 0, - startOfLine: true - }; - }, - - token: function(stream, state) { - var ctx = state.context; - if (stream.sol()) { - if (ctx.align == null) ctx.align = false; - state.indented = stream.indentation(); - state.startOfLine = true; - } - if (stream.eatSpace()) return null; - var style = state.tokenize(stream, state); - if (type == "comment") return style; - if (ctx.align == null) ctx.align = true; - - if ((type == ";" || type == ":") && ctx.type == "statement") popContext(state); - else if (type == "{") pushContext(state, stream.column(), "}"); - else if (type == "[") pushContext(state, stream.column(), "]"); - else if (type == "(") pushContext(state, stream.column(), ")"); - else if (type == "}") { - if (ctx.type == "statement") ctx = popContext(state); - if (ctx.type == "}") ctx = popContext(state); - if (ctx.type == "statement") ctx = popContext(state); - } - else if (type == ctx.type) popContext(state); - else if (ctx.type == "}") pushContext(state, stream.column(), "statement"); - state.startOfLine = false; - return style; - }, - - indent: function(state, textAfter) { - if (state.tokenize != tokenBase) return 0; - var firstChar = textAfter && textAfter.charAt(0), ctx = state.context, closing = firstChar == ctx.type; - if (ctx.type == "statement") return ctx.indented + (firstChar == "{" ? 0 : indentUnit); - else if (ctx.align) return ctx.column + (closing ? 0 : 1); - else return ctx.indented + (closing ? 0 : indentUnit); - }, - - electricChars: "{}" - }; -}); - -(function() { - function keywords(str) { - var obj = {}, words = str.split(" "); - for (var i = 0; i < words.length; ++i) obj[words[i]] = true; - return obj; - } - var cKeywords = "auto if break int case long char register continue return default short do sizeof " + - "double static else struct entry switch extern typedef float union for unsigned " + - "goto while enum void const signed volatile"; - - CodeMirror.defineMIME("text/x-csrc", { - name: "clike", - useCPP: true, - keywords: keywords(cKeywords) - }); - CodeMirror.defineMIME("text/x-c++src", { - name: "clike", - useCPP: true, - keywords: keywords(cKeywords + " asm dynamic_cast namespace reinterpret_cast try bool explicit new " + - "static_cast typeid catch false operator template typename class friend private " + - "this using const_cast inline public throw virtual delete mutable protected true " + - "wchar_t") - }); - CodeMirror.defineMIME("text/x-java", { - name: "clike", - keywords: keywords("abstract assert boolean break byte case catch char class const continue default " + - "do double else enum extends false final finally float for goto if implements import " + - "instanceof int interface long native new null package private protected public " + - "return short static strictfp super switch synchronized this throw throws transient " + - "true try void volatile while") - }); -}()); diff --git a/plugins/LocalFilesEditor/codemirror/mode/clike/index.html b/plugins/LocalFilesEditor/codemirror/mode/clike/index.html deleted file mode 100644 index 0836535d2..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/clike/index.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - CodeMirror 2: C-like mode - - - - - - - - -

CodeMirror 2: C-like mode

- -
- - - -

Simple mode that tries to handle C-like languages as well as it - can. Takes two configuration parameters: keywords, an - object whose property names are the keywords in the language, - and useCPP, which determines whether C preprocessor - directives are recognized.

- -

MIME types defined: text/x-csrc - (C code), text/x-c++src (C++ - code), text/x-java (Java code).

- - diff --git a/plugins/LocalFilesEditor/codemirror/mode/css/css.css b/plugins/LocalFilesEditor/codemirror/mode/css/css.css deleted file mode 100644 index 02d40ecb2..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/css/css.css +++ /dev/null @@ -1,9 +0,0 @@ -span.css-at {color: #708;} -span.css-unit {color: #281;} -span.css-value {color: #708;} -span.css-identifier {color: black;} -span.css-selector {color: #11B;} -span.css-important {color: #00F;} -span.css-colorcode {color: #299;} -span.css-comment {color: #A70;} -span.css-string {color: #A22;} diff --git a/plugins/LocalFilesEditor/codemirror/mode/css/css.js b/plugins/LocalFilesEditor/codemirror/mode/css/css.js deleted file mode 100644 index 5faad7b2f..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/css/css.js +++ /dev/null @@ -1,124 +0,0 @@ -CodeMirror.defineMode("css", function(config) { - var indentUnit = config.indentUnit, type; - function ret(style, tp) {type = tp; return style;} - - function tokenBase(stream, state) { - var ch = stream.next(); - if (ch == "@") {stream.eatWhile(/\w/); return ret("css-at", stream.current());} - else if (ch == "/" && stream.eat("*")) { - state.tokenize = tokenCComment; - return tokenCComment(stream, state); - } - else if (ch == "<" && stream.eat("!")) { - state.tokenize = tokenSGMLComment; - return tokenSGMLComment(stream, state); - } - else if (ch == "=") ret(null, "compare"); - else if ((ch == "~" || ch == "|") && stream.eat("=")) return ret(null, "compare"); - else if (ch == "\"" || ch == "'") { - state.tokenize = tokenString(ch); - return state.tokenize(stream, state); - } - else if (ch == "#") { - stream.eatWhile(/\w/); - return ret("css-selector", "hash"); - } - else if (ch == "!") { - stream.match(/^\s*\w*/); - return ret("css-important", "important"); - } - else if (/\d/.test(ch)) { - stream.eatWhile(/[\w.%]/); - return ret("css-unit", "unit"); - } - else if (/[,.+>*\/]/.test(ch)) { - return ret(null, "select-op"); - } - else if (/[;{}:\[\]]/.test(ch)) { - return ret(null, ch); - } - else { - stream.eatWhile(/[\w\\\-_]/); - return ret("css-identifier", "identifier"); - } - } - - function tokenCComment(stream, state) { - var maybeEnd = false, ch; - while ((ch = stream.next()) != null) { - if (maybeEnd && ch == "/") { - state.tokenize = tokenBase; - break; - } - maybeEnd = (ch == "*"); - } - return ret("css-comment", "comment"); - } - - function tokenSGMLComment(stream, state) { - var dashes = 0, ch; - while ((ch = stream.next()) != null) { - if (dashes >= 2 && ch == ">") { - state.tokenize = tokenBase; - break; - } - dashes = (ch == "-") ? dashes + 1 : 0; - } - return ret("css-comment", "comment"); - } - - function tokenString(quote) { - return function(stream, state) { - var escaped = false, ch; - while ((ch = stream.next()) != null) { - if (ch == quote && !escaped) - break; - escaped = !escaped && ch == "\\"; - } - if (!escaped) state.tokenize = tokenBase; - return ret("css-string", "string"); - }; - } - - return { - startState: function(base) { - return {tokenize: tokenBase, - baseIndent: base || 0, - stack: []}; - }, - - token: function(stream, state) { - if (stream.eatSpace()) return null; - var style = state.tokenize(stream, state); - - var context = state.stack[state.stack.length-1]; - if (type == "hash" && context == "rule") style = "css-colorcode"; - else if (style == "css-identifier") { - if (context == "rule") style = "css-value"; - else if (!context || context == "@media{") style = "css-selector"; - } - - if (context == "rule" && /^[\{\};]$/.test(type)) - state.stack.pop(); - if (type == "{") { - if (context == "@media") state.stack[state.stack.length-1] = "@media{"; - else state.stack.push("{"); - } - else if (type == "}") state.stack.pop(); - else if (type == "@media") state.stack.push("@media"); - else if (context != "rule" && context != "@media" && type != "comment") state.stack.push("rule"); - return style; - }, - - indent: function(state, textAfter) { - var n = state.stack.length; - if (/^\}/.test(textAfter)) - n -= state.stack[state.stack.length-1] == "rule" ? 2 : 1; - return state.baseIndent + n * indentUnit; - }, - - electricChars: "}" - }; -}); - -CodeMirror.defineMIME("text/css", "css"); diff --git a/plugins/LocalFilesEditor/codemirror/mode/css/index.html b/plugins/LocalFilesEditor/codemirror/mode/css/index.html deleted file mode 100644 index ad895610f..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/css/index.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - CodeMirror 2: CSS mode - - - - - - - - -

CodeMirror 2: CSS mode

-
- - -

MIME types defined: text/css.

- - - diff --git a/plugins/LocalFilesEditor/codemirror/mode/diff/diff.css b/plugins/LocalFilesEditor/codemirror/mode/diff/diff.css deleted file mode 100644 index 60c1379ed..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/diff/diff.css +++ /dev/null @@ -1,3 +0,0 @@ -span.diff-rangeinfo {color: #a0b;} -span.diff-minus {color: #a22;} -span.diff-plus {color: #2b2;} diff --git a/plugins/LocalFilesEditor/codemirror/mode/diff/diff.js b/plugins/LocalFilesEditor/codemirror/mode/diff/diff.js deleted file mode 100644 index 619d74e2a..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/diff/diff.js +++ /dev/null @@ -1,13 +0,0 @@ -CodeMirror.defineMode("diff", function() { - return { - token: function(stream) { - var ch = stream.next(); - stream.skipToEnd(); - if (ch == "+") return "diff-plus"; - if (ch == "-") return "diff-minus"; - if (ch == "@") return "diff-rangeinfo"; - } - }; -}); - -CodeMirror.defineMIME("text/x-diff", "diff"); diff --git a/plugins/LocalFilesEditor/codemirror/mode/diff/index.html b/plugins/LocalFilesEditor/codemirror/mode/diff/index.html deleted file mode 100644 index 2748f2fa8..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/diff/index.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - CodeMirror 2: Diff mode - - - - - - - - -

CodeMirror 2: Diff mode

-
- - -

MIME types defined: text/x-diff.

- - - diff --git a/plugins/LocalFilesEditor/codemirror/mode/haskell/haskell.css b/plugins/LocalFilesEditor/codemirror/mode/haskell/haskell.css deleted file mode 100644 index 41f915556..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/haskell/haskell.css +++ /dev/null @@ -1,25 +0,0 @@ -span.hs-char, -span.hs-float, -span.hs-integer, -span.hs-string {color: #762;} - -span.hs-comment {color: #262;font-style: italic;} -span.hs-pragma {color: #555;font-style: italic;} - -span.hs-special, -span.hs-varid, -span.hs-varsym {color: #000;} - -span.hs-conid, -span.hs-consym {color: #b11;} - -span.hs-qualifier {color: #555;} - -span.hs-reservedid, -span.hs-reservedop {color: #730;} - -span.hs-prelude-varid, -span.hs-prelude-varsym {color: #30a;} -span.hs-prelude-conid {color: #b11;} - -span.hs-error {background-color: #fdd;} diff --git a/plugins/LocalFilesEditor/codemirror/mode/haskell/haskell.js b/plugins/LocalFilesEditor/codemirror/mode/haskell/haskell.js deleted file mode 100644 index 107885c20..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/haskell/haskell.js +++ /dev/null @@ -1,242 +0,0 @@ -CodeMirror.defineMode("haskell", function(cmCfg, modeCfg) { - - function switchState(source, setState, f) { - setState(f); - return f(source, setState); - } - - // These should all be Unicode extended, as per the Haskell 2010 report - var smallRE = /[a-z_]/; - var largeRE = /[A-Z]/; - var digitRE = /[0-9]/; - var hexitRE = /[0-9A-Fa-f]/; - var octitRE = /[0-7]/; - var idRE = /[a-z_A-Z0-9']/; - var symbolRE = /[-!#$%&*+.\/<=>?@\\^|~:]/; - var specialRE = /[(),;[\]`{}]/; - var whiteCharRE = /[ \t\v\f]/; // newlines are handled in tokenizer - - function normal(source, setState) { - if (source.eatWhile(whiteCharRE)) { - return null; - } - - var ch = source.next(); - if (specialRE.test(ch)) { - if (ch == '{' && source.eat('-')) { - var t = "hs-comment"; - if (source.eat('#')) { - t = "hs-pragma"; - } - return switchState(source, setState, ncomment(t, 1)); - } - return "hs-special"; - } - - if (ch == '\'') { - if (source.eat('\\')) { - source.next(); // should handle other escapes here - } - else { - source.next(); - } - if (source.eat('\'')) { - return "hs-char"; - } - return "hs-error"; - } - - if (ch == '"') { - return switchState(source, setState, stringLiteral); - } - - if (largeRE.test(ch)) { - source.eatWhile(idRE); - if (source.eat('.')) { - return "hs-qualifier"; - } - return "hs-conid"; - } - - if (smallRE.test(ch)) { - source.eatWhile(idRE); - return "hs-varid"; - } - - if (digitRE.test(ch)) { - if (ch == '0') { - if (source.eat(/[xX]/)) { - source.eatWhile(hexitRE); // should require at least 1 - return "hs-integer"; - } - if (source.eat(/[oO]/)) { - source.eatWhile(octitRE); // should require at least 1 - return "hs-integer"; - } - } - source.eatWhile(digitRE); - var t = "hs-integer"; - if (source.eat('.')) { - t = "hs-float"; - source.eatWhile(digitRE); // should require at least 1 - } - if (source.eat(/[eE]/)) { - t = "hs-float"; - source.eat(/[-+]/); - source.eatWhile(digitRE); // should require at least 1 - } - return t; - } - - if (symbolRE.test(ch)) { - if (ch == '-' && source.eat(/-/)) { - source.eatWhile(/-/); - if (!source.eat(symbolRE)) { - source.skipToEnd(); - return "hs-comment"; - } - } - var t = "hs-varsym"; - if (ch == ':') { - t = "hs-consym"; - } - source.eatWhile(symbolRE); - return t; - } - - return "hs-error"; - } - - function ncomment(type, nest) { - if (nest == 0) { - return normal; - } - return function(source, setState) { - var currNest = nest; - while (!source.eol()) { - ch = source.next(); - if (ch == '{' && source.eat('-')) { - ++currNest; - } - else if (ch == '-' && source.eat('}')) { - --currNest; - if (currNest == 0) { - setState(normal); - return type; - } - } - } - setState(ncomment(type, currNest)); - return type; - } - } - - function stringLiteral(source, setState) { - while (!source.eol()) { - var ch = source.next(); - if (ch == '"') { - setState(normal); - return "hs-string"; - } - if (ch == '\\') { - if (source.eol() || source.eat(whiteCharRE)) { - setState(stringGap); - return "hs-string"; - } - if (source.eat('&')) { - } - else { - source.next(); // should handle other escapes here - } - } - } - setState(normal); - return "hs-error"; - } - - function stringGap(source, setState) { - if (source.eat('\\')) { - return switchState(source, setState, stringLiteral); - } - source.next(); - setState(normal); - return "hs-error"; - } - - - var wellKnownWords = (function() { - var wkw = {}; - function setType(t) { - return function () { - for (var i = 0; i < arguments.length; i++) - wkw[arguments[i]] = t; - } - } - - setType("hs-reservedid")( - "case", "class", "data", "default", "deriving", "do", "else", "foreign", - "if", "import", "in", "infix", "infixl", "infixr", "instance", "let", - "module", "newtype", "of", "then", "type", "where", "_"); - - setType("hs-reservedop")( - "\.\.", ":", "::", "=", "\\", "\"", "<-", "->", "@", "~", "=>"); - - setType("hs-prelude-varsym")( - "!!", "$!", "$", "&&", "+", "++", "-", ".", "/", "/=", "<", "<=", "=<<", - "==", ">", ">=", ">>", ">>=", "^", "^^", "||", "*", "**"); - - setType("hs-prelude-conid")( - "Bool", "Bounded", "Char", "Double", "EQ", "Either", "Enum", "Eq", - "False", "FilePath", "Float", "Floating", "Fractional", "Functor", "GT", - "IO", "IOError", "Int", "Integer", "Integral", "Just", "LT", "Left", - "Maybe", "Monad", "Nothing", "Num", "Ord", "Ordering", "Rational", "Read", - "ReadS", "Real", "RealFloat", "RealFrac", "Right", "Show", "ShowS", - "String", "True"); - - setType("hs-prelude-varid")( - "abs", "acos", "acosh", "all", "and", "any", "appendFile", "asTypeOf", - "asin", "asinh", "atan", "atan2", "atanh", "break", "catch", "ceiling", - "compare", "concat", "concatMap", "const", "cos", "cosh", "curry", - "cycle", "decodeFloat", "div", "divMod", "drop", "dropWhile", "either", - "elem", "encodeFloat", "enumFrom", "enumFromThen", "enumFromThenTo", - "enumFromTo", "error", "even", "exp", "exponent", "fail", "filter", - "flip", "floatDigits", "floatRadix", "floatRange", "floor", "fmap", - "foldl", "foldl1", "foldr", "foldr1", "fromEnum", "fromInteger", - "fromIntegral", "fromRational", "fst", "gcd", "getChar", "getContents", - "getLine", "head", "id", "init", "interact", "ioError", "isDenormalized", - "isIEEE", "isInfinite", "isNaN", "isNegativeZero", "iterate", "last", - "lcm", "length", "lex", "lines", "log", "logBase", "lookup", "map", - "mapM", "mapM_", "max", "maxBound", "maximum", "maybe", "min", "minBound", - "minimum", "mod", "negate", "not", "notElem", "null", "odd", "or", - "otherwise", "pi", "pred", "print", "product", "properFraction", - "putChar", "putStr", "putStrLn", "quot", "quotRem", "read", "readFile", - "readIO", "readList", "readLn", "readParen", "reads", "readsPrec", - "realToFrac", "recip", "rem", "repeat", "replicate", "return", "reverse", - "round", "scaleFloat", "scanl", "scanl1", "scanr", "scanr1", "seq", - "sequence", "sequence_", "show", "showChar", "showList", "showParen", - "showString", "shows", "showsPrec", "significand", "signum", "sin", - "sinh", "snd", "span", "splitAt", "sqrt", "subtract", "succ", "sum", - "tail", "take", "takeWhile", "tan", "tanh", "toEnum", "toInteger", - "toRational", "truncate", "uncurry", "undefined", "unlines", "until", - "unwords", "unzip", "unzip3", "userError", "words", "writeFile", "zip", - "zip3", "zipWith", "zipWith3"); - - return wkw; - })(); - - - - return { - startState: function () { return { f: normal }; }, - copyState: function (s) { return { f: s.f }; }, - - token: function(stream, state) { - var t = state.f(stream, function(s) { state.f = s; }); - var w = stream.current(); - return (w in wellKnownWords) ? wellKnownWords[w] : t; - } - }; - -}); - -CodeMirror.defineMIME("text/x-haskell", "haskell"); diff --git a/plugins/LocalFilesEditor/codemirror/mode/haskell/index.html b/plugins/LocalFilesEditor/codemirror/mode/haskell/index.html deleted file mode 100644 index 0bf34d570..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/haskell/index.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - CodeMirror 2: Haskell mode - - - - - - - - -

CodeMirror 2: Haskell mode

- -
- - - -

MIME types defined: text/x-haskell.

- - diff --git a/plugins/LocalFilesEditor/codemirror/mode/htmlmixed/htmlmixed.js b/plugins/LocalFilesEditor/codemirror/mode/htmlmixed/htmlmixed.js deleted file mode 100644 index 8d7165201..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/htmlmixed/htmlmixed.js +++ /dev/null @@ -1,66 +0,0 @@ -CodeMirror.defineMode("htmlmixed", function(config, parserConfig) { - var htmlMode = CodeMirror.getMode(config, {name: "xml", htmlMode: true}); - var jsMode = CodeMirror.getMode(config, "javascript"); - var cssMode = CodeMirror.getMode(config, "css"); - - function html(stream, state) { - var style = htmlMode.token(stream, state.htmlState); - if (style == "xml-tag" && stream.current() == ">" && state.htmlState.context) { - if (/^script$/i.test(state.htmlState.context.tagName)) { - state.token = javascript; - state.localState = jsMode.startState(htmlMode.indent(state.htmlState, "")); - } - else if (/^style$/i.test(state.htmlState.context.tagName)) { - state.token = css; - state.localState = cssMode.startState(htmlMode.indent(state.htmlState, "")); - } - } - return style; - } - function javascript(stream, state) { - if (stream.match(/^<\/\s*script\s*>/i, false)) { - state.token = html; - state.curState = null; - return html(stream, state); - } - return jsMode.token(stream, state.localState); - } - function css(stream, state) { - if (stream.match(/^<\/\s*style\s*>/i, false)) { - state.token = html; - state.localState = null; - return html(stream, state); - } - return cssMode.token(stream, state.localState); - } - - return { - startState: function() { - var state = htmlMode.startState(); - return {token: html, localState: null, htmlState: state}; - }, - - copyState: function(state) { - if (state.localState) - var local = CodeMirror.copyState(state.token == css ? cssMode : jsMode, state.localState); - return {token: state.token, localState: local, htmlState: CodeMirror.copyState(htmlMode, state.htmlState)}; - }, - - token: function(stream, state) { - return state.token(stream, state); - }, - - indent: function(state, textAfter) { - if (state.token == html || /^\s*<\//.test(textAfter)) - return htmlMode.indent(state.htmlState, textAfter); - else if (state.token == javascript) - return jsMode.indent(state.localState, textAfter); - else - return cssMode.indent(state.localState, textAfter); - }, - - electricChars: "/{}:" - } -}); - -CodeMirror.defineMIME("text/html", "htmlmixed"); diff --git a/plugins/LocalFilesEditor/codemirror/mode/htmlmixed/index.html b/plugins/LocalFilesEditor/codemirror/mode/htmlmixed/index.html deleted file mode 100644 index c661c98d5..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/htmlmixed/index.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - CodeMirror 2: HTML mixed mode - - - - - - - - - - - - - -

CodeMirror 2: HTML mixed mode

-
- - -

The HTML mixed mode depends on the XML, JavaScript, and CSS modes.

- -

MIME types defined: text/html - (redefined, only takes effect if you load this parser after the - XML parser).

- - - diff --git a/plugins/LocalFilesEditor/codemirror/mode/javascript/index.html b/plugins/LocalFilesEditor/codemirror/mode/javascript/index.html deleted file mode 100644 index 7b528e041..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/javascript/index.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - CodeMirror 2: JavaScript mode - - - - - - - - -

CodeMirror 2: JavaScript mode

- -
- - - -

JavaScript mode supports a single configuration - option, json, which will set the mode to expect JSON - data rather than a JavaScript program.

- -

MIME types defined: text/javascript, application/json.

- - diff --git a/plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.css b/plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.css deleted file mode 100644 index 84fb1dfd4..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.css +++ /dev/null @@ -1,6 +0,0 @@ -span.js-keyword {color: #90b;} -span.js-atom {color: #291;} -span.js-variabledef {color: #00f;} -span.js-localvariable {color: #049;} -span.js-comment {color: #a70;} -span.js-string {color: #a22;} diff --git a/plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.js b/plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.js deleted file mode 100644 index 065216591..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.js +++ /dev/null @@ -1,348 +0,0 @@ -CodeMirror.defineMode("javascript", function(config, parserConfig) { - var indentUnit = config.indentUnit; - var jsonMode = parserConfig.json; - - // Tokenizer - - var keywords = function(){ - function kw(type) {return {type: type, style: "js-keyword"};} - var A = kw("keyword a"), B = kw("keyword b"), C = kw("keyword c"); - var operator = kw("operator"), atom = {type: "atom", style: "js-atom"}; - return { - "if": A, "while": A, "with": A, "else": B, "do": B, "try": B, "finally": B, - "return": C, "break": C, "continue": C, "new": C, "delete": C, "throw": C, - "var": kw("var"), "function": kw("function"), "catch": kw("catch"), - "for": kw("for"), "switch": kw("switch"), "case": kw("case"), "default": kw("default"), - "in": operator, "typeof": operator, "instanceof": operator, - "true": atom, "false": atom, "null": atom, "undefined": atom, "NaN": atom, "Infinity": atom - }; - }(); - - var isOperatorChar = /[+\-*&%=<>!?|]/; - - function chain(stream, state, f) { - state.tokenize = f; - return f(stream, state); - } - - function nextUntilUnescaped(stream, end) { - var escaped = false, next; - while ((next = stream.next()) != null) { - if (next == end && !escaped) - return false; - escaped = !escaped && next == "\\"; - } - return escaped; - } - - // Used as scratch variables to communicate multiple values without - // consing up tons of objects. - var type, content; - function ret(tp, style, cont) { - type = tp; content = cont; - return style; - } - - function jsTokenBase(stream, state) { - var ch = stream.next(); - if (ch == '"' || ch == "'") - return chain(stream, state, jsTokenString(ch)); - else if (/[\[\]{}\(\),;\:\.]/.test(ch)) - return ret(ch); - else if (ch == "0" && stream.eat(/x/i)) { - stream.eatWhile(/[\da-f]/i); - return ret("number", "js-atom"); - } - else if (/\d/.test(ch)) { - stream.match(/^\d*(?:\.\d*)?(?:e[+\-]?\d+)?/); - return ret("number", "js-atom"); - } - else if (ch == "/") { - if (stream.eat("*")) { - return chain(stream, state, jsTokenComment); - } - else if (stream.eat("/")) { - stream.skipToEnd(); - return ret("comment", "js-comment"); - } - else if (state.reAllowed) { - nextUntilUnescaped(stream, "/"); - stream.eatWhile(/[gimy]/); // 'y' is "sticky" option in Mozilla - return ret("regexp", "js-string"); - } - else { - stream.eatWhile(isOperatorChar); - return ret("operator", null, stream.current()); - } - } - else if (isOperatorChar.test(ch)) { - stream.eatWhile(isOperatorChar); - return ret("operator", null, stream.current()); - } - else { - stream.eatWhile(/[\w\$_]/); - var word = stream.current(), known = keywords.propertyIsEnumerable(word) && keywords[word]; - return known ? ret(known.type, known.style, word) : - ret("variable", "js-variable", word); - } - } - - function jsTokenString(quote) { - return function(stream, state) { - if (!nextUntilUnescaped(stream, quote)) - state.tokenize = jsTokenBase; - return ret("string", "js-string"); - }; - } - - function jsTokenComment(stream, state) { - var maybeEnd = false, ch; - while (ch = stream.next()) { - if (ch == "/" && maybeEnd) { - state.tokenize = jsTokenBase; - break; - } - maybeEnd = (ch == "*"); - } - return ret("comment", "js-comment"); - } - - // Parser - - var atomicTypes = {"atom": true, "number": true, "variable": true, "string": true, "regexp": true}; - - function JSLexical(indented, column, type, align, prev, info) { - this.indented = indented; - this.column = column; - this.type = type; - this.prev = prev; - this.info = info; - if (align != null) this.align = align; - } - - function inScope(state, varname) { - for (var v = state.localVars; v; v = v.next) - if (v.name == varname) return true; - } - - function parseJS(state, style, type, content, stream) { - var cc = state.cc; - // Communicate our context to the combinators. - // (Less wasteful than consing up a hundred closures on every call.) - cx.state = state; cx.stream = stream; cx.marked = null, cx.cc = cc; - - if (!state.lexical.hasOwnProperty("align")) - state.lexical.align = true; - - while(true) { - var combinator = cc.length ? cc.pop() : jsonMode ? expression : statement; - if (combinator(type, content)) { - while(cc.length && cc[cc.length - 1].lex) - cc.pop()(); - if (cx.marked) return cx.marked; - if (type == "variable" && inScope(state, content)) return "js-localvariable"; - return style; - } - } - } - - // Combinator utils - - var cx = {state: null, column: null, marked: null, cc: null}; - function pass() { - for (var i = arguments.length - 1; i >= 0; i--) cx.cc.push(arguments[i]); - } - function cont() { - pass.apply(null, arguments); - return true; - } - function register(varname) { - var state = cx.state; - if (state.context) { - cx.marked = "js-variabledef"; - for (var v = state.localVars; v; v = v.next) - if (v.name == varname) return; - state.localVars = {name: varname, next: state.localVars}; - } - } - - // Combinators - - var defaultVars = {name: "this", next: {name: "arguments"}}; - function pushcontext() { - if (!cx.state.context) cx.state.localVars = defaultVars; - cx.state.context = {prev: cx.state.context, vars: cx.state.localVars}; - } - function popcontext() { - cx.state.localVars = cx.state.context.vars; - cx.state.context = cx.state.context.prev; - } - function pushlex(type, info) { - var result = function() { - var state = cx.state; - state.lexical = new JSLexical(state.indented, cx.stream.column(), type, null, state.lexical, info) - }; - result.lex = true; - return result; - } - function poplex() { - var state = cx.state; - if (state.lexical.prev) { - if (state.lexical.type == ")") - state.indented = state.lexical.indented; - state.lexical = state.lexical.prev; - } - } - poplex.lex = true; - - function expect(wanted) { - return function expecting(type) { - if (type == wanted) return cont(); - else if (wanted == ";") return pass(); - else return cont(arguments.callee); - }; - } - - function statement(type) { - if (type == "var") return cont(pushlex("vardef"), vardef1, expect(";"), poplex); - if (type == "keyword a") return cont(pushlex("form"), expression, statement, poplex); - if (type == "keyword b") return cont(pushlex("form"), statement, poplex); - if (type == "{") return cont(pushlex("}"), block, poplex); - if (type == ";") return cont(); - if (type == "function") return cont(functiondef); - if (type == "for") return cont(pushlex("form"), expect("("), pushlex(")"), forspec1, expect(")"), - poplex, statement, poplex); - if (type == "variable") return cont(pushlex("stat"), maybelabel); - if (type == "switch") return cont(pushlex("form"), expression, pushlex("}", "switch"), expect("{"), - block, poplex, poplex); - if (type == "case") return cont(expression, expect(":")); - if (type == "default") return cont(expect(":")); - if (type == "catch") return cont(pushlex("form"), pushcontext, expect("("), funarg, expect(")"), - statement, poplex, popcontext); - return pass(pushlex("stat"), expression, expect(";"), poplex); - } - function expression(type) { - if (atomicTypes.hasOwnProperty(type)) return cont(maybeoperator); - if (type == "function") return cont(functiondef); - if (type == "keyword c") return cont(expression); - if (type == "(") return cont(pushlex(")"), expression, expect(")"), poplex, maybeoperator); - if (type == "operator") return cont(expression); - if (type == "[") return cont(pushlex("]"), commasep(expression, "]"), poplex, maybeoperator); - if (type == "{") return cont(pushlex("}"), commasep(objprop, "}"), poplex, maybeoperator); - return cont(); - } - function maybeoperator(type, value) { - if (type == "operator" && /\+\+|--/.test(value)) return cont(maybeoperator); - if (type == "operator") return cont(expression); - if (type == ";") return; - if (type == "(") return cont(pushlex(")"), commasep(expression, ")"), poplex, maybeoperator); - if (type == ".") return cont(property, maybeoperator); - if (type == "[") return cont(pushlex("]"), expression, expect("]"), poplex, maybeoperator); - } - function maybelabel(type) { - if (type == ":") return cont(poplex, statement); - return pass(maybeoperator, expect(";"), poplex); - } - function property(type) { - if (type == "variable") {cx.marked = "js-property"; return cont();} - } - function objprop(type) { - if (type == "variable") cx.marked = "js-property"; - if (atomicTypes.hasOwnProperty(type)) return cont(expect(":"), expression); - } - function commasep(what, end) { - function proceed(type) { - if (type == ",") return cont(what, proceed); - if (type == end) return cont(); - return cont(expect(end)); - } - return function commaSeparated(type) { - if (type == end) return cont(); - else return pass(what, proceed); - }; - } - function block(type) { - if (type == "}") return cont(); - return pass(statement, block); - } - function vardef1(type, value) { - if (type == "variable"){register(value); return cont(vardef2);} - return cont(); - } - function vardef2(type, value) { - if (value == "=") return cont(expression, vardef2); - if (type == ",") return cont(vardef1); - } - function forspec1(type) { - if (type == "var") return cont(vardef1, forspec2); - if (type == ";") return pass(forspec2); - if (type == "variable") return cont(formaybein); - return pass(forspec2); - } - function formaybein(type, value) { - if (value == "in") return cont(expression); - return cont(maybeoperator, forspec2); - } - function forspec2(type, value) { - if (type == ";") return cont(forspec3); - if (value == "in") return cont(expression); - return cont(expression, expect(";"), forspec3); - } - function forspec3(type) { - if (type != ")") cont(expression); - } - function functiondef(type, value) { - if (type == "variable") {register(value); return cont(functiondef);} - if (type == "(") return cont(pushlex(")"), pushcontext, commasep(funarg, ")"), poplex, statement, popcontext); - } - function funarg(type, value) { - if (type == "variable") {register(value); return cont();} - } - - // Interface - - return { - startState: function(basecolumn) { - return { - tokenize: jsTokenBase, - reAllowed: true, - cc: [], - lexical: new JSLexical((basecolumn || 0) - indentUnit, 0, "block", false), - localVars: null, - context: null, - indented: 0 - }; - }, - - token: function(stream, state) { - if (stream.sol()) { - if (!state.lexical.hasOwnProperty("align")) - state.lexical.align = false; - state.indented = stream.indentation(); - } - if (stream.eatSpace()) return null; - var style = state.tokenize(stream, state); - if (type == "comment") return style; - state.reAllowed = type == "operator" || type == "keyword c" || type.match(/^[\[{}\(,;:]$/); - return parseJS(state, style, type, content, stream); - }, - - indent: function(state, textAfter) { - if (state.tokenize != jsTokenBase) return 0; - var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical, - type = lexical.type, closing = firstChar == type; - if (type == "vardef") return lexical.indented + 4; - else if (type == "form" && firstChar == "{") return lexical.indented; - else if (type == "stat" || type == "form") return lexical.indented + indentUnit; - else if (lexical.info == "switch" && !closing) - return lexical.indented + (/^(?:case|default)\b/.test(textAfter) ? indentUnit : 2 * indentUnit); - else if (lexical.align) return lexical.column + (closing ? 0 : 1); - else return lexical.indented + (closing ? 0 : indentUnit); - }, - - electricChars: ":{}" - }; -}); - -CodeMirror.defineMIME("text/javascript", "javascript"); -CodeMirror.defineMIME("application/json", {name: "javascript", json: true}); diff --git a/plugins/LocalFilesEditor/codemirror/mode/php/index.html b/plugins/LocalFilesEditor/codemirror/mode/php/index.html deleted file mode 100644 index 020e24898..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/php/index.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - CodeMirror 2: PHP mode - - - - - - - - - - - - - - - -

CodeMirror 2: PHP mode

- -
- - - -

Simple HTML/PHP mode based on - the C-like mode. Depends on XML, - JavaScript, CSS, and C-like modes.

- -

MIME types defined: application/x-httpd-php.

- - diff --git a/plugins/LocalFilesEditor/codemirror/mode/php/php.js b/plugins/LocalFilesEditor/codemirror/mode/php/php.js deleted file mode 100644 index a23538f6b..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/php/php.js +++ /dev/null @@ -1,83 +0,0 @@ -(function() { - function keywords(str) { - var obj = {}, words = str.split(" "); - for (var i = 0; i < words.length; ++i) obj[words[i]] = true; - return obj; - } - var phpKeywords = - keywords("abstract and array as break case catch cfunction class clone const continue declare " + - "default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends " + - "final for foreach function global goto if implements interface instanceof namespace " + - "new or private protected public static switch throw try use var while xor"); - - CodeMirror.defineMode("php", function(config, parserConfig) { - var htmlMode = CodeMirror.getMode(config, "text/html"); - var jsMode = CodeMirror.getMode(config, "text/javascript"); - var cssMode = CodeMirror.getMode(config, "text/css"); - var phpMode = CodeMirror.getMode(config, {name: "clike", keywords: phpKeywords, multiLineStrings: true, $vars: true}); - - function dispatch(stream, state) { // TODO open PHP inside text/css - if (state.curMode == htmlMode) { - var style = htmlMode.token(stream, state.curState); - if (style == "xml-processing" && /^<\?/.test(stream.current())) { - state.curMode = phpMode; - state.curState = state.php; - state.curClose = /^\?>/; - } - else if (style == "xml-tag" && stream.current() == ">" && state.curState.context) { - if (/^script$/i.test(state.curState.context.tagName)) { - state.curMode = jsMode; - state.curState = jsMode.startState(htmlMode.indent(state.curState, "")); - state.curClose = /^<\/\s*script\s*>/i; - } - else if (/^style$/i.test(state.curState.context.tagName)) { - state.curMode = cssMode; - state.curState = cssMode.startState(htmlMode.indent(state.curState, "")); - state.curClose = /^<\/\s*style\s*>/i; - } - } - return style; - } - else if (stream.match(state.curClose, false)) { - state.curMode = htmlMode; - state.curState = state.html; - state.curClose = null; - return dispatch(stream, state); - } - else return state.curMode.token(stream, state.curState); - } - - return { - startState: function() { - var html = htmlMode.startState(); - return {html: html, - php: phpMode.startState(), - curMode: htmlMode, - curState: html, - curClose: null} - }, - - copyState: function(state) { - var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), - php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; - if (state.curState == html) cur = htmlNew; - else if (state.curState == php) cur = phpNew; - else cur = CodeMirror.copyState(state.curMode, state.curState); - return {html: htmlNew, php: phpNew, curMode: state.curMode, curState: cur, curClose: state.curClose}; - }, - - token: dispatch, - - indent: function(state, textAfter) { - if ((state.curMode != phpMode && /^\s*<\//.test(textAfter)) || - (state.curMode == phpMode && /^\?>/.test(textAfter))) - return htmlMode.indent(state.html, textAfter); - return state.curMode.indent(state.curState, textAfter); - }, - - electricChars: "/{}:" - } - }); -})(); - -CodeMirror.defineMIME("application/x-httpd-php", "php"); diff --git a/plugins/LocalFilesEditor/codemirror/mode/stex/index.html b/plugins/LocalFilesEditor/codemirror/mode/stex/index.html deleted file mode 100644 index 73b07ac13..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/stex/index.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - CodeMirror 2: sTeX mode - - - - - - - - -

CodeMirror 2: sTeX mode

-
- - -

MIME types defined: text/stex.

- - - diff --git a/plugins/LocalFilesEditor/codemirror/mode/stex/stex.css b/plugins/LocalFilesEditor/codemirror/mode/stex/stex.css deleted file mode 100644 index 64b975e98..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/stex/stex.css +++ /dev/null @@ -1,20 +0,0 @@ -span.css-at {color: #708;} -span.css-unit {color: #281;} -span.css-value {color: #708;} -span.css-identifier {color: black;} -span.css-selector {color: #11B;} -span.css-important {color: #00F;} -span.css-colorcode {color: #299;} -span.css-comment {color: #A70;} -span.css-string {color: #A22;} - -span.stex-unit { color: #281; } -span.stex-identifier { color: black; } -span.stex-slash { color: #FAA; } -span.stex-command { color: #00F; } -span.stex-comment { color: #A70; } -span.stex-import { color: #00F; } -span.stex-filepath { color: #852626; } -span.stex-module { color: #852626; } -span.stex-error { text-decoration: underline; color: red; } -span.stex-string { color: #A22; } diff --git a/plugins/LocalFilesEditor/codemirror/mode/stex/stex.js b/plugins/LocalFilesEditor/codemirror/mode/stex/stex.js deleted file mode 100644 index 10e0d6cad..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/stex/stex.js +++ /dev/null @@ -1,167 +0,0 @@ -/* - * Author: Constantin Jucovschi (c.jucovschi@jacobs-university.de) - * Licence: MIT - */ - -CodeMirror.defineMode("stex", function(cmCfg, modeCfg) -{ - function pushCommand(state, command) { - state.cmdState.push(command); - } - - function peekCommand(state) { - if (state.cmdState.length>0) - return state.cmdState[state.cmdState.length-1]; - else - return null; - } - - function popCommand(state) { - if (state.cmdState.length>0) { - var plug = state.cmdState.pop(); - plug.closeBracket(); - } - } - - function applyMostPowerful(state) { - context = state.cmdState; - for (var i = context.length - 1; i >= 0; i--) { - var plug = context[i]; - if (plug.name=="DEFAULT") - continue; - return plug.styleIdentifier(); - } - return "stex-identifier"; - } - - function addPluginPattern(pluginName, cmdStyle, brackets, styles) { - return function () { - this.name=pluginName; - this.bracketNo = 0; - this.style=cmdStyle; - this.styles = styles; - this.brackets = brackets; - - this.styleIdentifier = function(content) { - if (this.bracketNo<=this.styles.length) - return this.styles[this.bracketNo-1]; - else - return null; - }; - this.openBracket = function(content) { - this.bracketNo++; - return "stex-bracket"; - }; - this.closeBracket = function(content) { - }; - } - } - - var plugins = new Array(); - - plugins["importmodule"] = addPluginPattern("importmodule", "stex-command", "{[", ["stex-filepath", "stex-module"]); - plugins["documentclass"] = addPluginPattern("documentclass", "stex-command", "{[", ["", "stex-unit"]); - plugins["usepackage"] = addPluginPattern("documentclass", "stex-command", "[", ["stex-unit"]); - plugins["begin"] = addPluginPattern("documentclass", "stex-command", "[", ["stex-unit"]); - plugins["end"] = addPluginPattern("documentclass", "stex-command", "[", ["stex-unit"]); - - plugins["DEFAULT"] = function () { - this.name="DEFAULT"; - this.style="stex-command"; - - this.styleIdentifier = function(content) { - }; - this.openBracket = function(content) { - }; - this.closeBracket = function(content) { - }; - }; - - function setState(state, f) { - state.f = f; - } - - function normal(source, state) { - if (source.match(/^\\[a-z]+/)) { - cmdName = source.current(); - cmdName = cmdName.substr(1, cmdName.length-1); - var plug = plugins[cmdName]; - if (typeof(plug) == 'undefined') { - plug = plugins["DEFAULT"]; - } - plug = new plug(); - pushCommand(state, plug); - setState(state, beginParams); - return plug.style; - } - - var ch = source.next(); - if (ch == "%") { - setState(state, inCComment); - return "stex-comment"; - } - else if (ch=='}' || ch==']') { - plug = peekCommand(state); - if (plug) { - plug.closeBracket(ch); - setState(state, beginParams); - } else - return "stex-error"; - return "stex-bracket"; - } else if (ch=='{' || ch=='[') { - plug = plugins["DEFAULT"]; - plug = new plug(); - pushCommand(state, plug); - return "stex-bracket"; - } - else if (/\d/.test(ch)) { - source.eatWhile(/[\w.%]/); - return "stex-unit"; - } - else { - source.eatWhile(/[\w-_]/); - return applyMostPowerful(state); - } - } - - function inCComment(source, state) { - source.skipToEnd(); - setState(state, normal); - return "css-comment"; - } - - function beginParams(source, state) { - var ch = source.peek(); - if (ch == '{' || ch == '[') { - lastPlug = peekCommand(state); - style = lastPlug.openBracket(ch); - source.eat(ch); - setState(state, normal); - return "stex-bracket"; - } - if (/[ \t\r]/.test(ch)) { - source.eat(ch); - return null; - } - setState(state, normal); - lastPlug = peekCommand(state); - if (lastPlug) { - popCommand(state); - } - return normal(source, state); - } - - return { - startState: function() { return { f:normal, cmdState:[] }; }, - copyState: function(s) { return { f: s.f, cmdState: s.cmdState.slice(0, s.cmdState.length) }; }, - - token: function(stream, state) { - var t = state.f(stream, state); - var w = stream.current(); - return t; - } - }; -}); - - -CodeMirror.defineMIME("text/x-stex", "stex"); diff --git a/plugins/LocalFilesEditor/codemirror/mode/xml/index.html b/plugins/LocalFilesEditor/codemirror/mode/xml/index.html deleted file mode 100644 index 5ad7c63fe..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/xml/index.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - CodeMirror 2: XML mode - - - - - - - - -

CodeMirror 2: XML mode

-
- -

The XML mode supports two configuration parameters:

-
-
htmlMode (boolean)
-
This switches the mode to parse HTML instead of XML. This - means attributes do not have to be quoted, and some elements - (such as br) do not require a closing tag.
-
alignCDATA (boolean)
-
Setting this to true will force the opening tag of CDATA - blocks to not be indented.
-
- -

MIME types defined: application/xml, text/html.

- - diff --git a/plugins/LocalFilesEditor/codemirror/mode/xml/xml.css b/plugins/LocalFilesEditor/codemirror/mode/xml/xml.css deleted file mode 100644 index 86845faa6..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/xml/xml.css +++ /dev/null @@ -1,7 +0,0 @@ -span.xml-tag {color: #a0b;} -span.xml-attribute {color: #281;} -span.xml-attname {color: #00f;} -span.xml-comment {color: #a70;} -span.xml-cdata {color: #48a;} -span.xml-processing {color: #999;} -span.xml-entity {color: #a22;} diff --git a/plugins/LocalFilesEditor/codemirror/mode/xml/xml.js b/plugins/LocalFilesEditor/codemirror/mode/xml/xml.js deleted file mode 100644 index 21da47b22..000000000 --- a/plugins/LocalFilesEditor/codemirror/mode/xml/xml.js +++ /dev/null @@ -1,206 +0,0 @@ -CodeMirror.defineMode("xml", function(config, parserConfig) { - var indentUnit = config.indentUnit; - var Kludges = parserConfig.htmlMode ? { - autoSelfClosers: {"br": true, "img": true, "hr": true, "link": true, "input": true, - "meta": true, "col": true, "frame": true, "base": true, "area": true}, - doNotIndent: {"pre": true, "!cdata": true}, - allowUnquoted: true - } : {autoSelfClosers: {}, doNotIndent: {"!cdata": true}, allowUnquoted: false}; - var alignCDATA = parserConfig.alignCDATA; - - // Return variables for tokenizers - var tagName, type; - - function inText(stream, state) { - function chain(parser) { - state.tokenize = parser; - return parser(stream, state); - } - - var ch = stream.next(); - if (ch == "<") { - if (stream.eat("!")) { - if (stream.eat("[")) { - if (stream.match("[CDATA[")) return chain(inBlock("xml-cdata", "]]>")); - else return null; - } - else if (stream.match("--")) return chain(inBlock("xml-comment", "-->")); - else if (stream.match("DOCTYPE")) { - stream.eatWhile(/[\w\._\-]/); - return chain(inBlock("xml-doctype", ">")); - } - else return null; - } - else if (stream.eat("?")) { - stream.eatWhile(/[\w\._\-]/); - state.tokenize = inBlock("xml-processing", "?>"); - return "xml-processing"; - } - else { - type = stream.eat("/") ? "closeTag" : "openTag"; - stream.eatSpace(); - tagName = ""; - var c; - while ((c = stream.eat(/[^\s\u00a0=<>\"\'\/?]/))) tagName += c; - state.tokenize = inTag; - return "xml-tag"; - } - } - else if (ch == "&") { - stream.eatWhile(/[^;]/); - stream.eat(";"); - return "xml-entity"; - } - else { - stream.eatWhile(/[^&<]/); - return null; - } - } - - function inTag(stream, state) { - var ch = stream.next(); - if (ch == ">" || (ch == "/" && stream.eat(">"))) { - state.tokenize = inText; - type = ch == ">" ? "endTag" : "selfcloseTag"; - return "xml-tag"; - } - else if (ch == "=") { - type = "equals"; - return null; - } - else if (/[\'\"]/.test(ch)) { - state.tokenize = inAttribute(ch); - return state.tokenize(stream, state); - } - else { - stream.eatWhile(/[^\s\u00a0=<>\"\'\/?]/); - return "xml-word"; - } - } - - function inAttribute(quote) { - return function(stream, state) { - while (!stream.eol()) { - if (stream.next() == quote) { - state.tokenize = inTag; - break; - } - } - return "xml-attribute"; - }; - } - - function inBlock(style, terminator) { - return function(stream, state) { - while (!stream.eol()) { - if (stream.match(terminator)) { - state.tokenize = inText; - break; - } - stream.next(); - } - return style; - }; - } - - var curState, setStyle; - function pass() { - for (var i = arguments.length - 1; i >= 0; i--) curState.cc.push(arguments[i]); - } - function cont() { - pass.apply(null, arguments); - return true; - } - - function pushContext(tagName, startOfLine) { - var noIndent = Kludges.doNotIndent.hasOwnProperty(tagName) || (curState.context && curState.context.noIndent); - curState.context = { - prev: curState.context, - tagName: tagName, - indent: curState.indented, - startOfLine: startOfLine, - noIndent: noIndent - }; - } - function popContext() { - if (curState.context) curState.context = curState.context.prev; - } - - function element(type) { - if (type == "openTag") {curState.tagName = tagName; return cont(attributes, endtag(curState.startOfLine));} - else if (type == "closeTag") {popContext(); return cont(endclosetag);} - else if (type == "xml-cdata") { - if (!curState.context || curState.context.name != "!cdata") pushContext("!cdata"); - if (curState.tokenize == inText) popContext(); - return cont(); - } - else return cont(); - } - function endtag(startOfLine) { - return function(type) { - if (type == "selfcloseTag" || - (type == "endTag" && Kludges.autoSelfClosers.hasOwnProperty(curState.tagName.toLowerCase()))) - return cont(); - if (type == "endTag") {pushContext(curState.tagName, startOfLine); return cont();} - return cont(); - }; - } - function endclosetag(type) { - if (type == "endTag") return cont(); - return pass(); - } - - function attributes(type) { - if (type == "xml-word") {setStyle = "xml-attname"; return cont(attributes);} - if (type == "equals") return cont(attvalue, attributes); - return pass(); - } - function attvalue(type) { - if (type == "xml-word" && Kludges.allowUnquoted) {setStyle = "xml-attribute"; return cont();} - if (type == "xml-attribute") return cont(); - return pass(); - } - - return { - startState: function() { - return {tokenize: inText, cc: [], indented: 0, startOfLine: true, tagName: null, context: null}; - }, - - token: function(stream, state) { - if (stream.sol()) { - state.startOfLine = true; - state.indented = stream.indentation(); - } - if (stream.eatSpace()) return null; - - setStyle = type = tagName = null; - var style = state.tokenize(stream, state); - if ((style || type) && style != "xml-comment") { - curState = state; - while (true) { - var comb = state.cc.pop() || element; - if (comb(type || style)) break; - } - } - state.startOfLine = false; - return setStyle || style; - }, - - indent: function(state, textAfter) { - var context = state.context; - if (context && context.noIndent) return 0; - if (alignCDATA && /fs_themes))) - { - $page['theme'] = get_default_theme(); - } - - $edited_file = PHPWG_ROOT_PATH.PWG_LOCAL_DIR . 'css/'.$page['theme'].'-rules.css'; -} - -$template->assign('theme', $page['theme']); - -if (file_exists($edited_file)) -{ - $content_file = file_get_contents($edited_file); -} -else -{ - $content_file = "/* " . l10n('locfiledit_newfile') . " */\n\n"; -} - -$selected = 0; -$value = '~common~'; -$file = PHPWG_ROOT_PATH.PWG_LOCAL_DIR . 'css/rules.css'; - -$options[$value] = (file_exists($file) ? '✔' : '✘').' local / css / rules.css'; -if ($page['theme'] == $value) -{ - $selected = $value; -} - -// themes are displayed in the same order as on screen -// [Administration > Configuration > Themes] - -$themes->sort_fs_themes(); -$default_theme = get_default_theme(); -$db_themes = $themes->get_db_themes(); - -$db_theme_ids = array(); -foreach ($db_themes as $db_theme) -{ - $db_theme_ids[] = $db_theme['id']; -} - -$active_themes = array(); -$inactive_themes = array(); - -foreach ($themes->fs_themes as $theme_id => $fs_theme) -{ - if ($theme_id == 'default') - { - continue; - } - - if (in_array($theme_id, $db_theme_ids)) - { - if ($theme_id == $default_theme) - { - array_unshift($active_themes, $fs_theme); - } - else - { - $active_themes[] = $fs_theme; - } - } - else - { - $inactive_themes[] = $fs_theme; - } -} - -$active_theme_options = array(); -foreach ($active_themes as $theme) -{ - $file = PHPWG_ROOT_PATH.PWG_LOCAL_DIR . 'css/'.$theme['id'].'-rules.css'; - - $label = (file_exists($file) ? '✔' : '✘').' '.$theme['name']; - - if ($default_theme == $theme['id']) - { - $label.= ' ('.l10n('default').')'; - } - - $active_theme_options[$theme['id']] = $label; - - if ($theme['id'] == $page['theme']) - { - $selected = $theme['id']; - } -} - -if (count($active_theme_options) > 0) -{ - $options[l10n('Active Themes')] = $active_theme_options; -} - -$inactive_theme_options = array(); -foreach ($inactive_themes as $theme) -{ - $file = PHPWG_ROOT_PATH.PWG_LOCAL_DIR . 'css/'.$theme['id'].'-rules.css'; - - $inactive_theme_options[$theme['id']] = (file_exists($file) ? '✔' : '✘').' '.$theme['name']; - - if ($theme['id'] == $page['theme']) - { - $selected = $theme['id']; - } -} - -if (count($inactive_theme_options) > 0) -{ - $options[l10n('Inactive Themes')] = $inactive_theme_options; -} - -$template->assign( - 'css_lang_tpl', - array( - 'SELECT_NAME' => 'theme_select', - 'OPTIONS' => $options, - 'SELECTED' => $selected - ) -); - -$codemirror_mode = 'text/css'; -?> \ No newline at end of file diff --git a/plugins/LocalFilesEditor/include/functions.inc.php b/plugins/LocalFilesEditor/include/functions.inc.php deleted file mode 100644 index 46906225d..000000000 --- a/plugins/LocalFilesEditor/include/functions.inc.php +++ /dev/null @@ -1,114 +0,0 @@ -'), '', $code); - if (function_exists('token_get_all')) - { - $b = 0; - foreach (token_get_all($code) as $token) - { - if ('{' == $token) ++$b; - else if ('}' == $token) --$b; - } - if ($b) return false; - else - { - ob_start(); - $eval = eval('if(0){' . $code . '}'); - ob_end_clean(); - if ($eval === false) return false; - } - } - return ''; -} - -/** - * returns true or false if $str is bool - * returns $str if $str is integer - * else "$str" - * - * @param string - */ -function editarea_quote($value) -{ - switch (gettype($value)) - { - case "boolean": - return $value ? 'true' : 'false'; - case "integer": - return $value; - default: - return '"'.$value.'"'; - } -} - -/** - * returns bak file for restore - * @param string - */ -function get_bak_file($file) -{ - if (get_extension($file) == 'php') - { - return substr_replace($file, '.bak', strrpos($file , '.'), 0); - } - else - { - return $file . '.bak'; - } -} - -/** - * returns dirs and subdirs - * retun array - * @param string - */ -function get_rec_dirs($path='') -{ - $options = array(); - if (is_dir($path)) - { - $fh = opendir($path); - while ($file = readdir($fh)) - { - $pathfile = $path . '/' . $file; - if ($file != '.' and $file != '..' and $file != '.svn' and is_dir($pathfile)) - { - $options[$pathfile] = str_replace(array('./', '/'), array('', ' / '), $pathfile); - $options = array_merge($options, get_rec_dirs($pathfile)); - } - } - closedir($fh); - } - return $options; -} - -?> \ No newline at end of file diff --git a/plugins/LocalFilesEditor/include/lang.inc.php b/plugins/LocalFilesEditor/include/lang.inc.php deleted file mode 100644 index e32a26c49..000000000 --- a/plugins/LocalFilesEditor/include/lang.inc.php +++ /dev/null @@ -1,69 +0,0 @@ -assign('language', $page['language']); - -$edited_file = PHPWG_ROOT_PATH.PWG_LOCAL_DIR.'language/'.$page['language'].'.lang.php';; - -if (file_exists($edited_file)) -{ - $content_file = file_get_contents($edited_file); -} -else -{ - $content_file = ""; -} - -$selected = 0; -foreach (get_languages() as $language_code => $language_name) -{ - $file = PHPWG_ROOT_PATH.PWG_LOCAL_DIR.'language/'.$language_code.'.lang.php'; - - $options[$language_code] = (file_exists($file) ? '✔' : '✘').' '.$language_name; - - if ($page['language'] == $language_code) - { - $selected = $language_code; - $template->assign('show_default', array( - array( - 'URL' => LOCALEDIT_PATH.'show_default.php?file=language/'.$language_code.'/common.lang.php', - 'FILE' => 'common.lang.php' - ), - array( - 'URL' => LOCALEDIT_PATH.'show_default.php?file=language/'.$language_code.'/admin.lang.php', - 'FILE' => 'admin.lang.php' - ) - ) - ); - } -} - -$template->assign( - 'css_lang_tpl', - array( - 'SELECT_NAME' => 'language_select', - 'OPTIONS' => $options, - 'SELECTED' => $selected - ) - ); - -$codemirror_mode = 'application/x-httpd-php'; - -?> \ No newline at end of file diff --git a/plugins/LocalFilesEditor/include/localconf.inc.php b/plugins/LocalFilesEditor/include/localconf.inc.php deleted file mode 100644 index b801db236..000000000 --- a/plugins/LocalFilesEditor/include/localconf.inc.php +++ /dev/null @@ -1,26 +0,0 @@ -"; -} - -$template->assign('show_default', array( - array( - 'URL' => LOCALEDIT_PATH.'show_default.php?file=include/config_default.inc.php', - 'FILE' => 'config_default.inc.php' - ) - ) -); - -$codemirror_mode = 'application/x-httpd-php'; - -?> \ No newline at end of file diff --git a/plugins/LocalFilesEditor/include/plug.inc.php b/plugins/LocalFilesEditor/include/plug.inc.php deleted file mode 100644 index 55c4b2dde..000000000 --- a/plugins/LocalFilesEditor/include/plug.inc.php +++ /dev/null @@ -1,25 +0,0 @@ -"; -} - -$codemirror_mode = 'application/x-httpd-php'; - -?> \ No newline at end of file diff --git a/plugins/LocalFilesEditor/include/tpl.inc.php b/plugins/LocalFilesEditor/include/tpl.inc.php deleted file mode 100644 index c1079a8e7..000000000 --- a/plugins/LocalFilesEditor/include/tpl.inc.php +++ /dev/null @@ -1,157 +0,0 @@ -assign('template', $_POST['template']); - - $edited_file = './template-extension/'.$_POST['template']; -} - -$content_file = ''; -if (file_exists($edited_file)) -{ - $content_file = file_get_contents($edited_file); -} - -$newfile_page = isset($_GET['newfile']); - -// Edit new tpl file -if (isset($_POST['create_tpl'])) -{ - $filename = $_POST['tpl_name']; - if (empty($filename)) - { - $page['errors'][] = l10n('locfiledit_empty_filename'); - } - if (get_extension($filename) != 'tpl') - { - $filename .= '.tpl'; - } - if (!preg_match('/^[a-zA-Z0-9-_.]+$/', $filename)) - { - $page['errors'][] = l10n('locfiledit_filename_error'); - } - if (is_numeric($_POST['tpl_model']) and $_POST['tpl_model'] != '0') - { - $page['errors'][] = l10n('locfiledit_model_error'); - } - if (file_exists($_POST['tpl_parent'] . '/' . $filename)) - { - $page['errors'][] = l10n('locfiledit_file_already_exists'); - } - if (!empty($page['errors'])) - { - $newfile_page = true; - } - else - { - $template->assign('template', $filename); - $edited_file = $_POST['tpl_parent'] . '/' . $filename; - $content_file = ($_POST['tpl_model'] == '0') ? '' : file_get_contents($_POST['tpl_model']); - } -} - -if ($newfile_page) -{ - $filename = isset($_POST['tpl_name']) ? $_POST['tpl_name'] : ''; - $selected['model'] = isset($_POST['tpl_model']) ? $_POST['tpl_model'] : '0'; - $selected['parent'] = isset($_POST['tpl_parent']) ? $_POST['tpl_parent'] : PHPWG_ROOT_PATH . 'template-extension'; - - // Parent directories list - $options['parent'] = array(PHPWG_ROOT_PATH . 'template-extension' => 'template-extension'); - $options['parent'] = array_merge($options['parent'], get_rec_dirs(PHPWG_ROOT_PATH . 'template-extension')); - - $options['model'][] = l10n('locfiledit_empty_page'); - $options['model'][] = '----------------------'; - $i = 0; - foreach (get_extents() as $pwg_template) - { - $value = PHPWG_ROOT_PATH . 'template-extension/' . $pwg_template; - $options['model'][$value] = 'template-extension / ' . str_replace('/', ' / ', $pwg_template); - $i++; - } - foreach (get_dirs($conf['themes_dir']) as $theme_id) - { - if ($i) - { - $options['model'][] = '----------------------'; - $i = 0; - } - $dir = $conf['themes_dir'] . '/' . $theme_id . '/template/'; - if (is_dir($dir) and $content = opendir($dir)) - { - while ($node = readdir($content)) - { - if (is_file($dir.$node) and get_extension($node) == 'tpl') - { - $value = $dir . $node; - $options['model'][$value] = $theme_id . ' / ' . $node; - $i++; - } - } - } - } - if (end($options['model']) == '----------------------') - { - array_pop($options['model']); - } - // Assign variables to template - $template->assign('create_tpl', array( - 'NEW_FILE_NAME' => $filename, - 'MODEL_OPTIONS' => $options['model'], - 'MODEL_SELECTED' => $selected['model'], - 'PARENT_OPTIONS' => $options['parent'], - 'PARENT_SELECTED' => $selected['parent'] - ) - ); -} -else -{ - // List existing template extensions - $selected = 0; - $options[] = l10n('locfiledit_choose_file'); - $options[] = '----------------------'; - foreach (get_extents() as $pwg_template) - { - $value = $pwg_template; - $options[$value] = str_replace('/', ' / ', $pwg_template); - if ($edited_file == $value) $selected = $value; - } - if ($selected == 0 and !empty($edited_file)) - { - $options[$edited_file] = str_replace(array('./template-extension/', '/'), array('', ' / '), $edited_file); - $selected = $edited_file; - } - $template->assign( - 'css_lang_tpl', - array( - 'SELECT_NAME' => 'file_to_edit', - 'OPTIONS' => $options, - 'SELECTED' => $selected, - 'NEW_FILE_URL' => $my_base_url.'-tpl&newfile', - 'NEW_FILE_CLASS' => empty($edited_file) ? '' : 'top_right' - ) - ); -} - -$codemirror_mode = 'text/html'; - -?> \ No newline at end of file diff --git a/plugins/LocalFilesEditor/index.php b/plugins/LocalFilesEditor/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/af_ZA/description.txt b/plugins/LocalFilesEditor/language/af_ZA/description.txt deleted file mode 100755 index 7dc143aef..000000000 --- a/plugins/LocalFilesEditor/language/af_ZA/description.txt +++ /dev/null @@ -1 +0,0 @@ -Verander plaaslike lêers vanaf die beheerpaneel. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/af_ZA/index.php b/plugins/LocalFilesEditor/language/af_ZA/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/LocalFilesEditor/language/af_ZA/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/af_ZA/plugin.lang.php b/plugins/LocalFilesEditor/language/af_ZA/plugin.lang.php deleted file mode 100755 index d423b0fb7..000000000 --- a/plugins/LocalFilesEditor/language/af_ZA/plugin.lang.php +++ /dev/null @@ -1,52 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/ar_SA/description.txt b/plugins/LocalFilesEditor/language/ar_SA/description.txt deleted file mode 100644 index 6867b16b9..000000000 --- a/plugins/LocalFilesEditor/language/ar_SA/description.txt +++ /dev/null @@ -1 +0,0 @@ -تحرير الملفات داخل لوحة التحكم \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/ar_SA/index.php b/plugins/LocalFilesEditor/language/ar_SA/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/ar_SA/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/ar_SA/plugin.lang.php b/plugins/LocalFilesEditor/language/ar_SA/plugin.lang.php deleted file mode 100644 index 39228585c..000000000 --- a/plugins/LocalFilesEditor/language/ar_SA/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/bg_BG/description.txt b/plugins/LocalFilesEditor/language/bg_BG/description.txt deleted file mode 100755 index 09678d7d6..000000000 --- a/plugins/LocalFilesEditor/language/bg_BG/description.txt +++ /dev/null @@ -1,2 +0,0 @@ -LocalFilesEditor - Редактор на локални файлове -Български [BG] \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/bg_BG/index.php b/plugins/LocalFilesEditor/language/bg_BG/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/LocalFilesEditor/language/bg_BG/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/bg_BG/plugin.lang.php b/plugins/LocalFilesEditor/language/bg_BG/plugin.lang.php deleted file mode 100755 index e6f32a3ac..000000000 --- a/plugins/LocalFilesEditor/language/bg_BG/plugin.lang.php +++ /dev/null @@ -1,52 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/br_FR/plugin.lang.php b/plugins/LocalFilesEditor/language/br_FR/plugin.lang.php deleted file mode 100755 index 6aaece24c..000000000 --- a/plugins/LocalFilesEditor/language/br_FR/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/ca_ES/description.txt b/plugins/LocalFilesEditor/language/ca_ES/description.txt deleted file mode 100755 index cf0db504f..000000000 --- a/plugins/LocalFilesEditor/language/ca_ES/description.txt +++ /dev/null @@ -1 +0,0 @@ -Edita els teus arxius locals des del panell d'administració. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/ca_ES/plugin.lang.php b/plugins/LocalFilesEditor/language/ca_ES/plugin.lang.php deleted file mode 100755 index 59009ecb8..000000000 --- a/plugins/LocalFilesEditor/language/ca_ES/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/cs_CZ/description.txt b/plugins/LocalFilesEditor/language/cs_CZ/description.txt deleted file mode 100644 index 59178d02a..000000000 --- a/plugins/LocalFilesEditor/language/cs_CZ/description.txt +++ /dev/null @@ -1 +0,0 @@ -Editujte lokální soubory z administračního panelu. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/cs_CZ/index.php b/plugins/LocalFilesEditor/language/cs_CZ/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/cs_CZ/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/cs_CZ/plugin.lang.php b/plugins/LocalFilesEditor/language/cs_CZ/plugin.lang.php deleted file mode 100644 index 9ca473f05..000000000 --- a/plugins/LocalFilesEditor/language/cs_CZ/plugin.lang.php +++ /dev/null @@ -1,54 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/da_DK/description.txt b/plugins/LocalFilesEditor/language/da_DK/description.txt deleted file mode 100755 index f5ae70638..000000000 --- a/plugins/LocalFilesEditor/language/da_DK/description.txt +++ /dev/null @@ -1 +0,0 @@ -Rediger lokale filer fra administrationspanel. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/da_DK/plugin.lang.php b/plugins/LocalFilesEditor/language/da_DK/plugin.lang.php deleted file mode 100755 index 198fd1ce5..000000000 --- a/plugins/LocalFilesEditor/language/da_DK/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/de_DE/description.txt b/plugins/LocalFilesEditor/language/de_DE/description.txt deleted file mode 100644 index 9872f8cf8..000000000 --- a/plugins/LocalFilesEditor/language/de_DE/description.txt +++ /dev/null @@ -1 +0,0 @@ -Administratoren können lokale Dateien direkt in Piwigo bearbeiten. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/de_DE/index.php b/plugins/LocalFilesEditor/language/de_DE/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/de_DE/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/de_DE/plugin.lang.php b/plugins/LocalFilesEditor/language/de_DE/plugin.lang.php deleted file mode 100644 index 97f938368..000000000 --- a/plugins/LocalFilesEditor/language/de_DE/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/el_GR/description.txt b/plugins/LocalFilesEditor/language/el_GR/description.txt deleted file mode 100755 index 30b063d02..000000000 --- a/plugins/LocalFilesEditor/language/el_GR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Επεξεργασ?α τοπικ?ν αρχε?ων απ? τον π?νακα διαχε?ρισης. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/el_GR/plugin.lang.php b/plugins/LocalFilesEditor/language/el_GR/plugin.lang.php deleted file mode 100755 index 82b73aa68..000000000 --- a/plugins/LocalFilesEditor/language/el_GR/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/en_UK/description.txt b/plugins/LocalFilesEditor/language/en_UK/description.txt deleted file mode 100644 index 685dd164f..000000000 --- a/plugins/LocalFilesEditor/language/en_UK/description.txt +++ /dev/null @@ -1 +0,0 @@ -Edit local files from administration panel. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/en_UK/index.php b/plugins/LocalFilesEditor/language/en_UK/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/en_UK/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/en_UK/plugin.lang.php b/plugins/LocalFilesEditor/language/en_UK/plugin.lang.php deleted file mode 100644 index 165b22b6d..000000000 --- a/plugins/LocalFilesEditor/language/en_UK/plugin.lang.php +++ /dev/null @@ -1,55 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/eo_EO/description.txt b/plugins/LocalFilesEditor/language/eo_EO/description.txt deleted file mode 100755 index dbc9ff915..000000000 --- a/plugins/LocalFilesEditor/language/eo_EO/description.txt +++ /dev/null @@ -1 +0,0 @@ -Redaktu lokajn dosierojn el la administra panelo. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/eo_EO/plugin.lang.php b/plugins/LocalFilesEditor/language/eo_EO/plugin.lang.php deleted file mode 100755 index 02741686d..000000000 --- a/plugins/LocalFilesEditor/language/eo_EO/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/es_ES/description.txt b/plugins/LocalFilesEditor/language/es_ES/description.txt deleted file mode 100644 index f0c6b691f..000000000 --- a/plugins/LocalFilesEditor/language/es_ES/description.txt +++ /dev/null @@ -1 +0,0 @@ -Edita tus archivos locales desde el panel de administración. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/es_ES/index.php b/plugins/LocalFilesEditor/language/es_ES/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/es_ES/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/es_ES/plugin.lang.php b/plugins/LocalFilesEditor/language/es_ES/plugin.lang.php deleted file mode 100644 index 356e0f3a4..000000000 --- a/plugins/LocalFilesEditor/language/es_ES/plugin.lang.php +++ /dev/null @@ -1,54 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/et_EE/description.txt b/plugins/LocalFilesEditor/language/et_EE/description.txt deleted file mode 100755 index e2f49d959..000000000 --- a/plugins/LocalFilesEditor/language/et_EE/description.txt +++ /dev/null @@ -1 +0,0 @@ -Võimalda kohalike failide redigeerimist. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/et_EE/index.php b/plugins/LocalFilesEditor/language/et_EE/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/LocalFilesEditor/language/et_EE/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/et_EE/plugin.lang.php b/plugins/LocalFilesEditor/language/et_EE/plugin.lang.php deleted file mode 100755 index edfd7a8e1..000000000 --- a/plugins/LocalFilesEditor/language/et_EE/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/fa_IR/description.txt b/plugins/LocalFilesEditor/language/fa_IR/description.txt deleted file mode 100755 index ab8e9cf3b..000000000 --- a/plugins/LocalFilesEditor/language/fa_IR/description.txt +++ /dev/null @@ -1 +0,0 @@ -ویرایش فایل های داخل هاست بوسیله پنل مدیریت گالری. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/fa_IR/index.php b/plugins/LocalFilesEditor/language/fa_IR/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/LocalFilesEditor/language/fa_IR/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/fa_IR/plugin.lang.php b/plugins/LocalFilesEditor/language/fa_IR/plugin.lang.php deleted file mode 100755 index e1618d771..000000000 --- a/plugins/LocalFilesEditor/language/fa_IR/plugin.lang.php +++ /dev/null @@ -1,54 +0,0 @@ - -بدون ذخیره ی فایل بازیابی آن ممکن نخواهد بود.'; -$lang['locfiledit_restore'] = 'بازیابی فایل پشتیبان'; -$lang['locfiledit_save_bak'] = 'فایل پشتیبان پس از نخستین ذخیره ایجاد خواهد شد.'; -$lang['locfiledit_save_config'] = 'فایل با موفقیت ویرایش شد.'; -$lang['locfiledit_save_file'] = 'ذخیره فایل'; -$lang['locfiledit_saved_bak'] = 'فایل پشتیبان ایجاد شد (%s)'; -$lang['locfiledit_show_default'] = 'نمایش فایل مرجع'; -$lang['locfiledit_syntax_error'] = 'خطای دستوری (Syntax)! امکان ذخیره ی فایل وجود ندارد.'; -$lang['locfiledit_webmaster_only'] = 'فقط مدیرکل می تواند یک فایل محلی را ایجاد یا ویرایش کند.'; -?> \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/fi_FI/description.txt b/plugins/LocalFilesEditor/language/fi_FI/description.txt deleted file mode 100755 index 7e6335edd..000000000 --- a/plugins/LocalFilesEditor/language/fi_FI/description.txt +++ /dev/null @@ -1 +0,0 @@ -Muokkaa paikallisia tiedostoja ylläpitopaneelista. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/fi_FI/plugin.lang.php b/plugins/LocalFilesEditor/language/fi_FI/plugin.lang.php deleted file mode 100755 index 3aa3a28f7..000000000 --- a/plugins/LocalFilesEditor/language/fi_FI/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/fr_CA/description.txt b/plugins/LocalFilesEditor/language/fr_CA/description.txt deleted file mode 100644 index c89b333b1..000000000 --- a/plugins/LocalFilesEditor/language/fr_CA/description.txt +++ /dev/null @@ -1 +0,0 @@ -Éditez vos fichiers locaux à partir du panneau d'administration. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/fr_CA/index.php b/plugins/LocalFilesEditor/language/fr_CA/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/fr_CA/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/fr_CA/plugin.lang.php b/plugins/LocalFilesEditor/language/fr_CA/plugin.lang.php deleted file mode 100644 index 8caf06c16..000000000 --- a/plugins/LocalFilesEditor/language/fr_CA/plugin.lang.php +++ /dev/null @@ -1,55 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/fr_FR/description.txt b/plugins/LocalFilesEditor/language/fr_FR/description.txt deleted file mode 100644 index e025da365..000000000 --- a/plugins/LocalFilesEditor/language/fr_FR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Editez vos fichiers locaux à partir du panneau d'administration. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/fr_FR/index.php b/plugins/LocalFilesEditor/language/fr_FR/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/fr_FR/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/fr_FR/plugin.lang.php b/plugins/LocalFilesEditor/language/fr_FR/plugin.lang.php deleted file mode 100644 index 1c5931cef..000000000 --- a/plugins/LocalFilesEditor/language/fr_FR/plugin.lang.php +++ /dev/null @@ -1,54 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/gl_ES/description.txt b/plugins/LocalFilesEditor/language/gl_ES/description.txt deleted file mode 100755 index 943c3817e..000000000 --- a/plugins/LocalFilesEditor/language/gl_ES/description.txt +++ /dev/null @@ -1 +0,0 @@ -Modifica ficheiros locais desde o panel de administración. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/gl_ES/plugin.lang.php b/plugins/LocalFilesEditor/language/gl_ES/plugin.lang.php deleted file mode 100755 index 0653ff5ea..000000000 --- a/plugins/LocalFilesEditor/language/gl_ES/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/he_IL/description.txt b/plugins/LocalFilesEditor/language/he_IL/description.txt deleted file mode 100644 index 65d420c0b..000000000 --- a/plugins/LocalFilesEditor/language/he_IL/description.txt +++ /dev/null @@ -1 +0,0 @@ -ערוך קבצים מקומיים מהפאנל ניהול. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/he_IL/index.php b/plugins/LocalFilesEditor/language/he_IL/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/he_IL/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/he_IL/plugin.lang.php b/plugins/LocalFilesEditor/language/he_IL/plugin.lang.php deleted file mode 100644 index 6ef6b5743..000000000 --- a/plugins/LocalFilesEditor/language/he_IL/plugin.lang.php +++ /dev/null @@ -1,54 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/hr_HR/description.txt b/plugins/LocalFilesEditor/language/hr_HR/description.txt deleted file mode 100644 index d5b010d38..000000000 --- a/plugins/LocalFilesEditor/language/hr_HR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Uredivanje lokalnih datoteka iz panela za administraciju. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/hr_HR/index.php b/plugins/LocalFilesEditor/language/hr_HR/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/hr_HR/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/hr_HR/plugin.lang.php b/plugins/LocalFilesEditor/language/hr_HR/plugin.lang.php deleted file mode 100644 index d66562afc..000000000 --- a/plugins/LocalFilesEditor/language/hr_HR/plugin.lang.php +++ /dev/null @@ -1,52 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/hu_HU/description.txt b/plugins/LocalFilesEditor/language/hu_HU/description.txt deleted file mode 100644 index d9a9af95d..000000000 --- a/plugins/LocalFilesEditor/language/hu_HU/description.txt +++ /dev/null @@ -1 +0,0 @@ -Helyi fájlok szerkesztése az adminisztrációs felületen. diff --git a/plugins/LocalFilesEditor/language/hu_HU/index.php b/plugins/LocalFilesEditor/language/hu_HU/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/hu_HU/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/hu_HU/plugin.lang.php b/plugins/LocalFilesEditor/language/hu_HU/plugin.lang.php deleted file mode 100644 index e41269fb8..000000000 --- a/plugins/LocalFilesEditor/language/hu_HU/plugin.lang.php +++ /dev/null @@ -1,54 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/index.php b/plugins/LocalFilesEditor/language/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/it_IT/description.txt b/plugins/LocalFilesEditor/language/it_IT/description.txt deleted file mode 100644 index 5921aaf5b..000000000 --- a/plugins/LocalFilesEditor/language/it_IT/description.txt +++ /dev/null @@ -1 +0,0 @@ -Modificare i file locali dal pannello di amministrazione. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/it_IT/index.php b/plugins/LocalFilesEditor/language/it_IT/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/it_IT/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/it_IT/plugin.lang.php b/plugins/LocalFilesEditor/language/it_IT/plugin.lang.php deleted file mode 100644 index 5e228b941..000000000 --- a/plugins/LocalFilesEditor/language/it_IT/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/ja_JP/plugin.lang.php b/plugins/LocalFilesEditor/language/ja_JP/plugin.lang.php deleted file mode 100644 index a1608776d..000000000 --- a/plugins/LocalFilesEditor/language/ja_JP/plugin.lang.php +++ /dev/null @@ -1,54 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/ka_GE/description.txt b/plugins/LocalFilesEditor/language/ka_GE/description.txt deleted file mode 100644 index 3dbf09e8c..000000000 --- a/plugins/LocalFilesEditor/language/ka_GE/description.txt +++ /dev/null @@ -1 +0,0 @@ -ლოკალური ფაილების შეცვლა ადმინისტრაციული პანელიდან. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/ka_GE/index.php b/plugins/LocalFilesEditor/language/ka_GE/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/ka_GE/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/ka_GE/plugin.lang.php b/plugins/LocalFilesEditor/language/ka_GE/plugin.lang.php deleted file mode 100644 index 8de794beb..000000000 --- a/plugins/LocalFilesEditor/language/ka_GE/plugin.lang.php +++ /dev/null @@ -1,54 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/kn_IN/description.txt b/plugins/LocalFilesEditor/language/kn_IN/description.txt deleted file mode 100755 index 3d9917657..000000000 --- a/plugins/LocalFilesEditor/language/kn_IN/description.txt +++ /dev/null @@ -1 +0,0 @@ -ಸ್ಥಳೀಯ ಕಡತಗಳನ್ನು ನಿರ್ವಹಣಾ ಪ್ಯಾನೆಲ್ ನಿಂದ ಸಂಪಾದಿಸಿ. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/kn_IN/plugin.lang.php b/plugins/LocalFilesEditor/language/kn_IN/plugin.lang.php deleted file mode 100755 index 1c26ccbee..000000000 --- a/plugins/LocalFilesEditor/language/kn_IN/plugin.lang.php +++ /dev/null @@ -1,52 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/lt_LT/description.txt b/plugins/LocalFilesEditor/language/lt_LT/description.txt deleted file mode 100755 index f6e626ff0..000000000 --- a/plugins/LocalFilesEditor/language/lt_LT/description.txt +++ /dev/null @@ -1 +0,0 @@ -Redaguoti vietinius failus iš administracijos puslapio. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/lt_LT/plugin.lang.php b/plugins/LocalFilesEditor/language/lt_LT/plugin.lang.php deleted file mode 100755 index 9a8402595..000000000 --- a/plugins/LocalFilesEditor/language/lt_LT/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/lv_LV/description.txt b/plugins/LocalFilesEditor/language/lv_LV/description.txt deleted file mode 100644 index 5ad412b3b..000000000 --- a/plugins/LocalFilesEditor/language/lv_LV/description.txt +++ /dev/null @@ -1 +0,0 @@ -Rediget lokalos failus no administratora panela. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/lv_LV/index.php b/plugins/LocalFilesEditor/language/lv_LV/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/lv_LV/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/lv_LV/plugin.lang.php b/plugins/LocalFilesEditor/language/lv_LV/plugin.lang.php deleted file mode 100644 index 56f9affe4..000000000 --- a/plugins/LocalFilesEditor/language/lv_LV/plugin.lang.php +++ /dev/null @@ -1,54 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/mn_MN/description.txt b/plugins/LocalFilesEditor/language/mn_MN/description.txt deleted file mode 100755 index 3e38763fa..000000000 --- a/plugins/LocalFilesEditor/language/mn_MN/description.txt +++ /dev/null @@ -1 +0,0 @@ -Удирдлагын талбараас тохиргооны файлуудыг засах. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/mn_MN/index.php b/plugins/LocalFilesEditor/language/mn_MN/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/LocalFilesEditor/language/mn_MN/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/mn_MN/plugin.lang.php b/plugins/LocalFilesEditor/language/mn_MN/plugin.lang.php deleted file mode 100755 index 493e84b85..000000000 --- a/plugins/LocalFilesEditor/language/mn_MN/plugin.lang.php +++ /dev/null @@ -1,52 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/nb_NO/description.txt b/plugins/LocalFilesEditor/language/nb_NO/description.txt deleted file mode 100644 index 80e3b9af3..000000000 --- a/plugins/LocalFilesEditor/language/nb_NO/description.txt +++ /dev/null @@ -1 +0,0 @@ -Rediger lokale filer fra administrasjons panelet. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/nb_NO/index.php b/plugins/LocalFilesEditor/language/nb_NO/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/nb_NO/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/nb_NO/plugin.lang.php b/plugins/LocalFilesEditor/language/nb_NO/plugin.lang.php deleted file mode 100644 index 1d34947af..000000000 --- a/plugins/LocalFilesEditor/language/nb_NO/plugin.lang.php +++ /dev/null @@ -1,51 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/nl_NL/description.txt b/plugins/LocalFilesEditor/language/nl_NL/description.txt deleted file mode 100644 index dccc22ad9..000000000 --- a/plugins/LocalFilesEditor/language/nl_NL/description.txt +++ /dev/null @@ -1 +0,0 @@ -Wijzig lokale bestanden vanaf het administratie-scherm. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/nl_NL/index.php b/plugins/LocalFilesEditor/language/nl_NL/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/nl_NL/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/nl_NL/plugin.lang.php b/plugins/LocalFilesEditor/language/nl_NL/plugin.lang.php deleted file mode 100644 index be25fedad..000000000 --- a/plugins/LocalFilesEditor/language/nl_NL/plugin.lang.php +++ /dev/null @@ -1,54 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/nn_NO/description.txt b/plugins/LocalFilesEditor/language/nn_NO/description.txt deleted file mode 100755 index f09a8d791..000000000 --- a/plugins/LocalFilesEditor/language/nn_NO/description.txt +++ /dev/null @@ -1 +0,0 @@ -Endre lokale filer frå administrasjonspanelet. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/nn_NO/plugin.lang.php b/plugins/LocalFilesEditor/language/nn_NO/plugin.lang.php deleted file mode 100755 index 7f0cb5cb0..000000000 --- a/plugins/LocalFilesEditor/language/nn_NO/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/pl_PL/description.txt b/plugins/LocalFilesEditor/language/pl_PL/description.txt deleted file mode 100644 index 325c35115..000000000 --- a/plugins/LocalFilesEditor/language/pl_PL/description.txt +++ /dev/null @@ -1 +0,0 @@ -Edycja plików lokalnych z panelu administratora \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/pl_PL/index.php b/plugins/LocalFilesEditor/language/pl_PL/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/pl_PL/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/pl_PL/plugin.lang.php b/plugins/LocalFilesEditor/language/pl_PL/plugin.lang.php deleted file mode 100644 index 52afb425c..000000000 --- a/plugins/LocalFilesEditor/language/pl_PL/plugin.lang.php +++ /dev/null @@ -1,55 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/pt_BR/description.txt b/plugins/LocalFilesEditor/language/pt_BR/description.txt deleted file mode 100755 index 4de225593..000000000 --- a/plugins/LocalFilesEditor/language/pt_BR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Edite arquivos locais do painel de administração. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/pt_BR/index.php b/plugins/LocalFilesEditor/language/pt_BR/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/LocalFilesEditor/language/pt_BR/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/pt_BR/plugin.lang.php b/plugins/LocalFilesEditor/language/pt_BR/plugin.lang.php deleted file mode 100755 index 3e782713f..000000000 --- a/plugins/LocalFilesEditor/language/pt_BR/plugin.lang.php +++ /dev/null @@ -1,52 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/pt_PT/description.txt b/plugins/LocalFilesEditor/language/pt_PT/description.txt deleted file mode 100644 index cce485cdb..000000000 --- a/plugins/LocalFilesEditor/language/pt_PT/description.txt +++ /dev/null @@ -1 +0,0 @@ -Editar ficheiros locais a partir do Painel Administrativo de Piwigo. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/pt_PT/index.php b/plugins/LocalFilesEditor/language/pt_PT/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/pt_PT/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/pt_PT/plugin.lang.php b/plugins/LocalFilesEditor/language/pt_PT/plugin.lang.php deleted file mode 100644 index 4de22760f..000000000 --- a/plugins/LocalFilesEditor/language/pt_PT/plugin.lang.php +++ /dev/null @@ -1,54 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/ro_RO/description.txt b/plugins/LocalFilesEditor/language/ro_RO/description.txt deleted file mode 100755 index a35a896d4..000000000 --- a/plugins/LocalFilesEditor/language/ro_RO/description.txt +++ /dev/null @@ -1 +0,0 @@ -Modifică fișierele locale din panoul de administrare. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/ro_RO/plugin.lang.php b/plugins/LocalFilesEditor/language/ro_RO/plugin.lang.php deleted file mode 100755 index e9fb6ad13..000000000 --- a/plugins/LocalFilesEditor/language/ro_RO/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/ru_RU/description.txt b/plugins/LocalFilesEditor/language/ru_RU/description.txt deleted file mode 100644 index cb0317730..000000000 --- a/plugins/LocalFilesEditor/language/ru_RU/description.txt +++ /dev/null @@ -1 +0,0 @@ -Позволяет редактировать локальные файлы из панели администрирования. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/ru_RU/index.php b/plugins/LocalFilesEditor/language/ru_RU/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/ru_RU/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/ru_RU/plugin.lang.php b/plugins/LocalFilesEditor/language/ru_RU/plugin.lang.php deleted file mode 100644 index 942bd6b68..000000000 --- a/plugins/LocalFilesEditor/language/ru_RU/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/sh_RS/description.txt b/plugins/LocalFilesEditor/language/sh_RS/description.txt deleted file mode 100755 index 676daaad6..000000000 --- a/plugins/LocalFilesEditor/language/sh_RS/description.txt +++ /dev/null @@ -1 +0,0 @@ -Uredite lokalne fajlove iz administratorskog panela. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/sh_RS/plugin.lang.php b/plugins/LocalFilesEditor/language/sh_RS/plugin.lang.php deleted file mode 100755 index 23925ffeb..000000000 --- a/plugins/LocalFilesEditor/language/sh_RS/plugin.lang.php +++ /dev/null @@ -1,52 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/sk_SK/description.txt b/plugins/LocalFilesEditor/language/sk_SK/description.txt deleted file mode 100644 index 4cad4ae5b..000000000 --- a/plugins/LocalFilesEditor/language/sk_SK/description.txt +++ /dev/null @@ -1 +0,0 @@ -Editácia lokálnych súborov z panelu administrátora. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/sk_SK/index.php b/plugins/LocalFilesEditor/language/sk_SK/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/sk_SK/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/sk_SK/plugin.lang.php b/plugins/LocalFilesEditor/language/sk_SK/plugin.lang.php deleted file mode 100644 index 9b9852ca8..000000000 --- a/plugins/LocalFilesEditor/language/sk_SK/plugin.lang.php +++ /dev/null @@ -1,54 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/sl_SI/description.txt b/plugins/LocalFilesEditor/language/sl_SI/description.txt deleted file mode 100755 index 5202d65e1..000000000 --- a/plugins/LocalFilesEditor/language/sl_SI/description.txt +++ /dev/null @@ -1 +0,0 @@ -Urejanje lokalnih datotek iz administratorske plošče \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/sl_SI/plugin.lang.php b/plugins/LocalFilesEditor/language/sl_SI/plugin.lang.php deleted file mode 100755 index e3ce11457..000000000 --- a/plugins/LocalFilesEditor/language/sl_SI/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/sr_RS/description.txt b/plugins/LocalFilesEditor/language/sr_RS/description.txt deleted file mode 100644 index 1d852f0e2..000000000 --- a/plugins/LocalFilesEditor/language/sr_RS/description.txt +++ /dev/null @@ -1 +0,0 @@ -Уреди локалне датотеке преко администрационе странице. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/sr_RS/index.php b/plugins/LocalFilesEditor/language/sr_RS/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/sr_RS/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/sr_RS/plugin.lang.php b/plugins/LocalFilesEditor/language/sr_RS/plugin.lang.php deleted file mode 100644 index 858166d88..000000000 --- a/plugins/LocalFilesEditor/language/sr_RS/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/sv_SE/description.txt b/plugins/LocalFilesEditor/language/sv_SE/description.txt deleted file mode 100644 index 286b6ae97..000000000 --- a/plugins/LocalFilesEditor/language/sv_SE/description.txt +++ /dev/null @@ -1 +0,0 @@ -Ändra lokala filer från administrationspanelen. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/sv_SE/index.php b/plugins/LocalFilesEditor/language/sv_SE/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/sv_SE/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/sv_SE/plugin.lang.php b/plugins/LocalFilesEditor/language/sv_SE/plugin.lang.php deleted file mode 100644 index 695c1e3f5..000000000 --- a/plugins/LocalFilesEditor/language/sv_SE/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/ta_IN/description.txt b/plugins/LocalFilesEditor/language/ta_IN/description.txt deleted file mode 100755 index 9f127aed1..000000000 --- a/plugins/LocalFilesEditor/language/ta_IN/description.txt +++ /dev/null @@ -1,3 +0,0 @@ -உள்ளமை கோப்புகளை திருத்த -நிர்வாகத்தின் பலகத்தில். - diff --git a/plugins/LocalFilesEditor/language/ta_IN/plugin.lang.php b/plugins/LocalFilesEditor/language/ta_IN/plugin.lang.php deleted file mode 100755 index 57571e8c9..000000000 --- a/plugins/LocalFilesEditor/language/ta_IN/plugin.lang.php +++ /dev/null @@ -1,55 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/th_TH/plugin.lang.php b/plugins/LocalFilesEditor/language/th_TH/plugin.lang.php deleted file mode 100644 index 6659f1fee..000000000 --- a/plugins/LocalFilesEditor/language/th_TH/plugin.lang.php +++ /dev/null @@ -1,54 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/tr_TR/description.txt b/plugins/LocalFilesEditor/language/tr_TR/description.txt deleted file mode 100755 index 60a9e570f..000000000 --- a/plugins/LocalFilesEditor/language/tr_TR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Yerel dosyaları yönetici panelinden düzenleyin. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/tr_TR/index.php b/plugins/LocalFilesEditor/language/tr_TR/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/tr_TR/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/tr_TR/plugin.lang.php b/plugins/LocalFilesEditor/language/tr_TR/plugin.lang.php deleted file mode 100644 index af35b6211..000000000 --- a/plugins/LocalFilesEditor/language/tr_TR/plugin.lang.php +++ /dev/null @@ -1,55 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/uk_UA/description.txt b/plugins/LocalFilesEditor/language/uk_UA/description.txt deleted file mode 100644 index e29c47387..000000000 --- a/plugins/LocalFilesEditor/language/uk_UA/description.txt +++ /dev/null @@ -1 +0,0 @@ -Редагування локальних файлів з ​​панелі адміністрування. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/uk_UA/plugin.lang.php b/plugins/LocalFilesEditor/language/uk_UA/plugin.lang.php deleted file mode 100644 index 10a585992..000000000 --- a/plugins/LocalFilesEditor/language/uk_UA/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/vi_VN/description.txt b/plugins/LocalFilesEditor/language/vi_VN/description.txt deleted file mode 100644 index 1d7f7454e..000000000 --- a/plugins/LocalFilesEditor/language/vi_VN/description.txt +++ /dev/null @@ -1 +0,0 @@ -Chỉnh sửa những tệp tin trên máy từ bảng điều khiển Quản trị viên. \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/vi_VN/index.php b/plugins/LocalFilesEditor/language/vi_VN/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/vi_VN/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/vi_VN/plugin.lang.php b/plugins/LocalFilesEditor/language/vi_VN/plugin.lang.php deleted file mode 100644 index 514c9ae06..000000000 --- a/plugins/LocalFilesEditor/language/vi_VN/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/zh_CN/description.txt b/plugins/LocalFilesEditor/language/zh_CN/description.txt deleted file mode 100644 index 8eb6a7dce..000000000 --- a/plugins/LocalFilesEditor/language/zh_CN/description.txt +++ /dev/null @@ -1 +0,0 @@ -通过管理员面板编辑本地文件。 \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/zh_CN/index.php b/plugins/LocalFilesEditor/language/zh_CN/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/zh_CN/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/zh_CN/plugin.lang.php b/plugins/LocalFilesEditor/language/zh_CN/plugin.lang.php deleted file mode 100644 index ae3b4568e..000000000 --- a/plugins/LocalFilesEditor/language/zh_CN/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/zh_HK/description.txt b/plugins/LocalFilesEditor/language/zh_HK/description.txt deleted file mode 100755 index 513365a9f..000000000 --- a/plugins/LocalFilesEditor/language/zh_HK/description.txt +++ /dev/null @@ -1 +0,0 @@ -在管理面板編輯本地檔案。 \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/zh_HK/plugin.lang.php b/plugins/LocalFilesEditor/language/zh_HK/plugin.lang.php deleted file mode 100755 index c60a8b493..000000000 --- a/plugins/LocalFilesEditor/language/zh_HK/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/zh_TW/description.txt b/plugins/LocalFilesEditor/language/zh_TW/description.txt deleted file mode 100644 index 6f11920ba..000000000 --- a/plugins/LocalFilesEditor/language/zh_TW/description.txt +++ /dev/null @@ -1 +0,0 @@ -從管理者控制台編輯本地文件 \ No newline at end of file diff --git a/plugins/LocalFilesEditor/language/zh_TW/index.php b/plugins/LocalFilesEditor/language/zh_TW/index.php deleted file mode 100644 index c8de97f60..000000000 --- a/plugins/LocalFilesEditor/language/zh_TW/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/LocalFilesEditor/language/zh_TW/plugin.lang.php b/plugins/LocalFilesEditor/language/zh_TW/plugin.lang.php deleted file mode 100644 index fa5fd70a8..000000000 --- a/plugins/LocalFilesEditor/language/zh_TW/plugin.lang.php +++ /dev/null @@ -1,53 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/main.inc.php b/plugins/LocalFilesEditor/main.inc.php deleted file mode 100644 index ad7f95ead..000000000 --- a/plugins/LocalFilesEditor/main.inc.php +++ /dev/null @@ -1,70 +0,0 @@ - 'LocalFiles Editor', - 'URL' => get_root_url().'admin.php?page=plugin-'.basename(dirname(__FILE__)) - ); - - return $menu; -} - -function localfiles_css_link() -{ - global $template; - - $template->set_prefilter('themes', 'localfiles_css_link_prefilter'); -} - -function localfiles_css_link_prefilter($content, &$smarty) -{ - $search = '#{if isset\(\$theme.admin_uri\)}.*?{/if}#s'; - $replacement = ' -{if isset($theme.admin_uri)} -
{\'Configuration\'|@translate} - | CSS -{else} -
CSS -{/if} -'; - - return preg_replace($search, $replacement, $content); -} - -add_event_handler('get_admin_plugin_menu_links', 'localfiles_admin_menu'); -add_event_handler('loc_begin_admin', 'localfiles_css_link'); -?> \ No newline at end of file diff --git a/plugins/LocalFilesEditor/maintain.inc.php b/plugins/LocalFilesEditor/maintain.inc.php deleted file mode 100644 index d3c628932..000000000 --- a/plugins/LocalFilesEditor/maintain.inc.php +++ /dev/null @@ -1,32 +0,0 @@ - \ No newline at end of file diff --git a/plugins/LocalFilesEditor/show_default.php b/plugins/LocalFilesEditor/show_default.php deleted file mode 100644 index d688ddb76..000000000 --- a/plugins/LocalFilesEditor/show_default.php +++ /dev/null @@ -1,59 +0,0 @@ -set_filename('show_default', dirname(__FILE__) . '/template/show_default.tpl'); - - $file = file_get_contents(PHPWG_ROOT_PATH . $path); - $title = str_replace('/', ' / ', $path); - - $template->assign(array( - 'TITLE' => $title, - 'DEFAULT_CONTENT' => $file, - ) - ); - - $page['body_id'] = 'thePopuphelpPage'; - - include(PHPWG_ROOT_PATH.'include/page_header.php'); - - $template->pparse('show_default'); - - include(PHPWG_ROOT_PATH.'include/page_tail.php'); -} - -?> \ No newline at end of file diff --git a/plugins/LocalFilesEditor/template/admin.tpl b/plugins/LocalFilesEditor/template/admin.tpl deleted file mode 100644 index d79d00028..000000000 --- a/plugins/LocalFilesEditor/template/admin.tpl +++ /dev/null @@ -1,113 +0,0 @@ -{combine_script id="codemirror" path="plugins/LocalFilesEditor/codemirror/lib/codemirror.js"} -{combine_script id="codemirror.xml" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/xml/xml.js"} -{combine_script id="codemirror.javascript" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.js"} -{combine_script id="codemirror.css" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/css/css.js"} -{combine_script id="codemirror.clike" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/clike/clike.js"} -{combine_script id="codemirror.htmlmixed" require="codemirror.xml,codemirror.javascript,codemirror.css" path="plugins/LocalFilesEditor/codemirror/mode/htmlmixed/htmlmixed.js"} -{combine_script id="codemirror.php" require="codemirror.xml,codemirror.javascript,codemirror.css,codemirror.clike" path="plugins/LocalFilesEditor/codemirror/mode/php/php.js"} - -{combine_css path="plugins/LocalFilesEditor/codemirror/lib/codemirror.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/xml/xml.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/css/css.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/clike/clike.css"} -{combine_css path="plugins/LocalFilesEditor/template/locfiledit.css"} - -{footer_script} -if (document.getElementById("text") != null) - var editor = CodeMirror.fromTextArea(document.getElementById("text"), {ldelim} - matchBrackets: true, - mode: "{$CODEMIRROR_MODE}", - tabMode: "shift" - }); -{/footer_script} - -
-

LocalFiles Editor

-
- -
- - -
- -{if isset($theme)} - -{/if} - -{if isset($language)} - -{/if} - -{if isset($template)} - -{/if} - - -{if isset ($create_tpl)} - - - - - - - - - - - - - -
{'locfiledit_new_filename'|@translate}
{'locfiledit_parent_directory'|@translate}{html_options name=tpl_parent options=$create_tpl.PARENT_OPTIONS selected=$create_tpl.PARENT_SELECTED}
{'locfiledit_model'|@translate}{html_options name=tpl_model options=$create_tpl.MODEL_OPTIONS selected=$create_tpl.MODEL_SELECTED}
-

- -{/if} - -{if isset ($css_lang_tpl)} - - - -

-{/if} - -{if isset ($css_lang_tpl.NEW_FILE_URL)} - -{'locfiledit_new_tpl'|@translate} - -{/if} - -{if isset ($zone_edit)} -
-{/if} - -{if !empty($show_default)} -{foreach from=$show_default item=file name=default_loop} - -{'locfiledit_show_default'|@translate} "{$file.FILE}" - -{if !($smarty.foreach.default_loop.last)}
{/if} -{/foreach} -{/if} - -{if isset ($zone_edit)} -{$zone_edit.FILE_NAME} -
{* title_bar *} - - -
- - -{if isset ($restore)} - -{/if} - -{if isset ($restore_infos)} -

-{'locfiledit_save_bak'|@translate} -{/if} - -{/if} {* zone_edit *} -
-
diff --git a/plugins/LocalFilesEditor/template/locfiledit.css b/plugins/LocalFilesEditor/template/locfiledit.css deleted file mode 100644 index 10589bcec..000000000 --- a/plugins/LocalFilesEditor/template/locfiledit.css +++ /dev/null @@ -1,32 +0,0 @@ -#LocalFilesEditor { - text-align: center; - margin: 0 2em; -} - -#LocalFilesEditor #title_bar { - overflow: auto; -} - -#LocalFilesEditor .file_name { - font-weight: bold; - float: left; -} - -#LocalFilesEditor .default_file { - float: right; -} - -#LocalFilesEditor TD { - padding: 0.5em; -} - -#LocalFilesEditor TEXTAREA, .CodeMirror { - background-color: #EEEEEE; - font-family: monospace,Arial,sans-serif; - font-size: 1.2em; - border: 1px solid #999999; - margin: 0.5em 0; - width: 100%; - min-height: 500px; - height: auto; -} \ No newline at end of file diff --git a/plugins/LocalFilesEditor/template/show_default.tpl b/plugins/LocalFilesEditor/template/show_default.tpl deleted file mode 100644 index cd6c3f318..000000000 --- a/plugins/LocalFilesEditor/template/show_default.tpl +++ /dev/null @@ -1,37 +0,0 @@ -{combine_script id="codemirror" path="plugins/LocalFilesEditor/codemirror/lib/codemirror.js"} -{combine_script id="codemirror.xml" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/xml/xml.js"} -{combine_script id="codemirror.javascript" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.js"} -{combine_script id="codemirror.css" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/css/css.js"} -{combine_script id="codemirror.clike" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/clike/clike.js"} -{combine_script id="codemirror.htmlmixed" require="codemirror.xml,codemirror.javascript,codemirror.css" path="plugins/LocalFilesEditor/codemirror/mode/htmlmixed/htmlmixed.js"} -{combine_script id="codemirror.php" require="codemirror.xml,codemirror.javascript,codemirror.css,codemirror.clike" path="plugins/LocalFilesEditor/codemirror/mode/php/php.js"} - -{combine_css path="plugins/LocalFilesEditor/codemirror/lib/codemirror.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/xml/xml.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/css/css.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/clike/clike.css"} -{combine_css path="plugins/LocalFilesEditor/template/locfiledit.css"} - -{footer_script} -var editor = CodeMirror.fromTextArea(document.getElementById("text"), {ldelim} - readOnly: true, - mode: "application/x-httpd-php" -}); -{/footer_script} - -{html_head} - -{/html_head} - -
- -
- {$TITLE} -
- - - -
diff --git a/plugins/TakeATour/admin.php b/plugins/TakeATour/admin.php deleted file mode 100644 index 1f3d44d10..000000000 --- a/plugins/TakeATour/admin.php +++ /dev/null @@ -1,27 +0,0 @@ -assign( - array( - 'F_ACTION' => get_root_url().'admin.php', - 'pwg_token' => get_pwg_token() - ) - ); - -$template->func_combine_css(array( - 'path' => 'plugins/TakeATour/css/admin.css', - ) -); - -if (isset($conf['TakeATour_tour_ignored']) and is_array($conf['TakeATour_tour_ignored'])) -{ - $template->assign('TAT_tour_ignored', $conf['TakeATour_tour_ignored']); -} -$template->set_filename('plugin_admin_content', dirname(__FILE__) .'/tpl/admin.tpl'); -$template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); - -?> \ No newline at end of file diff --git a/plugins/TakeATour/css/admin.css b/plugins/TakeATour/css/admin.css deleted file mode 100644 index 83f0e4727..000000000 --- a/plugins/TakeATour/css/admin.css +++ /dev/null @@ -1,13 +0,0 @@ -#helpContent .TAT_description { - text-align: justify; -} -#helpContent form { - text-align: center; -} -#helpContent form input { - width: 50%; - margin-top: 10px; -} -#helpContent P { - margin: 1em; -} \ No newline at end of file diff --git a/plugins/TakeATour/css/bootstrap-tour-standalone.css b/plugins/TakeATour/css/bootstrap-tour-standalone.css deleted file mode 100644 index 25b338bf6..000000000 --- a/plugins/TakeATour/css/bootstrap-tour-standalone.css +++ /dev/null @@ -1,339 +0,0 @@ -/* =========================================================== -# bootstrap-tour - v0.9.3 -# http://bootstraptour.com -# ============================================================== -# Copyright 2012-2013 Ulrich Sossou -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -*/ -/*! - * Bootstrap v3.1.0 (http://getbootstrap.com) - * Copyright 2011-2014 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ -.btn { - display: inline-block; - margin-bottom: 0; - font-weight: normal; - text-align: center; - vertical-align: middle; - cursor: pointer; - background-image: none; - border: 1px solid transparent; - white-space: nowrap; - padding: 6px 12px; - font-size: 14px; - line-height: 1.428571429; - border-radius: 4px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.btn:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn:hover, -.btn:focus { - color: #333333; - text-decoration: none; -} -.btn:active, -.btn.active { - outline: 0; - background-image: none; - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); -} -.btn.disabled, -.btn[disabled], -fieldset[disabled] .btn { - cursor: not-allowed; - pointer-events: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - box-shadow: none; -} -.btn-default { - color: #333333; - background-color: #ffffff; - border-color: #cccccc; -} -.btn-default:hover, -.btn-default:focus, -.btn-default:active, -.btn-default.active, -.open .dropdown-toggle.btn-default { - color: #333333; - background-color: #ebebeb; - border-color: #adadad; -} -.btn-default:active, -.btn-default.active, -.open .dropdown-toggle.btn-default { - background-image: none; -} -.btn-default.disabled, -.btn-default[disabled], -fieldset[disabled] .btn-default, -.btn-default.disabled:hover, -.btn-default[disabled]:hover, -fieldset[disabled] .btn-default:hover, -.btn-default.disabled:focus, -.btn-default[disabled]:focus, -fieldset[disabled] .btn-default:focus, -.btn-default.disabled:active, -.btn-default[disabled]:active, -fieldset[disabled] .btn-default:active, -.btn-default.disabled.active, -.btn-default[disabled].active, -fieldset[disabled] .btn-default.active { - background-color: #ffffff; - border-color: #cccccc; -} -.btn-default .badge { - color: #ffffff; - background-color: #333333; -} -.btn-sm { - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - display: none; -} -.collapse.in { - display: block; -} -.collapsing { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.btn-group { - position: relative; - display: inline-block; - vertical-align: middle; -} -.btn-group > .btn { - position: relative; - float: left; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group > .btn:focus { - outline: none; -} -.btn-group .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { - border-radius: 0; -} -.btn-group > .btn:first-child { - margin-left: 0; -} -.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { - border-bottom-right-radius: 0; - border-top-right-radius: 0; -} -.btn-group > .btn:last-child:not(:first-child) { - border-bottom-left-radius: 0; - border-top-left-radius: 0; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #ffffff; - background-clip: padding-box; - border: 1px solid #cccccc; - border: 1px solid rgba(0, 0, 0, 0.2); - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #f7f7f7; - border-bottom: 1px solid #ebebeb; - border-radius: 5px 5px 0 0; -} -.popover-content { - padding: 9px 14px; -} -.popover > .arrow, -.popover > .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover > .arrow { - border-width: 11px; -} -.popover > .arrow:after { - border-width: 10px; - content: ""; -} -.popover.top > .arrow { - left: 50%; - margin-left: -11px; - border-bottom-width: 0; - border-top-color: #999999; - border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; -} -.popover.top > .arrow:after { - content: " "; - bottom: 1px; - margin-left: -10px; - border-bottom-width: 0; - border-top-color: #ffffff; -} -.popover.right > .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-left-width: 0; - border-right-color: #999999; - border-right-color: rgba(0, 0, 0, 0.25); -} -.popover.right > .arrow:after { - content: " "; - left: 1px; - bottom: -10px; - border-left-width: 0; - border-right-color: #ffffff; -} -.popover.bottom > .arrow { - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999999; - border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; -} -.popover.bottom > .arrow:after { - content: " "; - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #ffffff; -} -.popover.left > .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999999; - border-left-color: rgba(0, 0, 0, 0.25); -} -.popover.left > .arrow:after { - content: " "; - right: 1px; - border-right-width: 0; - border-left-color: #ffffff; - bottom: -10px; -} - -.tour-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1100; - background-color: #000; - opacity: 0.8; -} -.tour-step-backdrop { - position: relative; - z-index: 1101; - background: inherit; -} -.tour-step-background { - position: absolute; - z-index: 1100; - background: inherit; - border-radius: 6px; -} -.popover[class*="tour-"] { - z-index: 1100; -} -.popover[class*="tour-"] .popover-navigation { - padding: 9px 14px; -} -.popover[class*="tour-"] .popover-navigation *[data-role="end"] { - float: right; -} -.popover[class*="tour-"] .popover-navigation *[data-role="prev"], -.popover[class*="tour-"] .popover-navigation *[data-role="next"], -.popover[class*="tour-"] .popover-navigation *[data-role="end"] { - cursor: pointer; -} -.popover[class*="tour-"] .popover-navigation *[data-role="prev"].disabled, -.popover[class*="tour-"] .popover-navigation *[data-role="next"].disabled, -.popover[class*="tour-"] .popover-navigation *[data-role="end"].disabled { - cursor: default; -} -.popover[class*="tour-"].orphan { - position: fixed; - margin-top: 0; -} -.popover[class*="tour-"].orphan .arrow { - display: none; -} diff --git a/plugins/TakeATour/css/clear.css b/plugins/TakeATour/css/clear.css deleted file mode 100644 index 43b4d72e7..000000000 --- a/plugins/TakeATour/css/clear.css +++ /dev/null @@ -1,3 +0,0 @@ -.popover-title, .popover-content { - color: #666; -} \ No newline at end of file diff --git a/plugins/TakeATour/css/roma.css b/plugins/TakeATour/css/roma.css deleted file mode 100644 index ff6741b82..000000000 --- a/plugins/TakeATour/css/roma.css +++ /dev/null @@ -1,109 +0,0 @@ -.btn:hover, -.btn:focus { - color: #ccc; -} -.btn:active, -.btn.active { - -webkit-box-shadow: inset 0 3px 5px rgba(255, 255, 255, 0.125); - box-shadow: inset 0 3px 5px rgba(255, 255, 255, 0.125); -} - -.btn-default { - /*color: #ff3363; - background-color: #111111; - border-color: #ff3363;*/ - color: #ccc; - background-color: #111111; - border-color: #333; - -} -.btn-default:hover, -.btn-default:focus, -.btn-default:active, -.btn-default.active, -.open .dropdown-toggle.btn-default { - color: #ff3363; - background-color: #141414; - border-color: #ff3363; -/* color: #ccc; - background-color: #141414; - border-color: #525252;*/ -} -.btn-default.disabled, -.btn-default[disabled], -fieldset[disabled] .btn-default, -.btn-default.disabled:hover, -.btn-default[disabled]:hover, -fieldset[disabled] .btn-default:hover, -.btn-default.disabled:focus, -.btn-default[disabled]:focus, -fieldset[disabled] .btn-default:focus, -.btn-default.disabled:active, -.btn-default[disabled]:active, -fieldset[disabled] .btn-default:active, -.btn-default.disabled.active, -.btn-default[disabled].active, -fieldset[disabled] .btn-default.active { - color: #666; - background-color: #000; - border-color: #333333; -} -.btn-default .badge { - color: #000; - background-color: #ccc; -} - -.popover { - background-color: #222; - border: 1px solid #333333; -} -.popover.right { - box-shadow: -5px 5px 10px rgba(170, 170, 170, 0.2); -} -.popover.left { - box-shadow: 5px 5px 10px rgba(170, 170, 170, 0.2); -} -.popover.top { - box-shadow: 0px 5px 10px rgba(170, 170, 170, 0.2); -} -.popover.bottom { - box-shadow: 0px -5px 10px rgba(170, 170, 170, 0.2); -} -.popover-title, .popover-content { - color: #aaa; -} -.popover-title { - background-color: #111111; - border-bottom: 1px solid #141414; -} -.popover.top > .arrow { - border-top-color: #666666; - border-top-color: rgba(170, 170, 170, 0.25); -} -.popover.top > .arrow:after { - border-top-color: #222; -} -.popover.right > .arrow { - border-right-color: #666666; - border-right-color: rgba(170, 170, 170, 0.25); -} -.popover.right > .arrow:after { - border-right-color: #222; -} -.popover.bottom > .arrow { - border-bottom-color: #666666; - border-bottom-color: rgba(170, 170, 170, 0.25); -} -.popover.bottom > .arrow:after { - border-bottom-color: #222; -} -.popover.left > .arrow { - border-left-color: #666666; - border-left-color: rgba(170, 170, 170, 0.25); -} -.popover.left > .arrow:after { - border-left-color: #222; -} -.tour-backdrop { - background-color: #fff; -} diff --git a/plugins/TakeATour/js/custom-bootstrap-tour-standalone.js b/plugins/TakeATour/js/custom-bootstrap-tour-standalone.js deleted file mode 100644 index 28308b832..000000000 --- a/plugins/TakeATour/js/custom-bootstrap-tour-standalone.js +++ /dev/null @@ -1,1301 +0,0 @@ -/* =========================================================== -# bootstrap-tour - v0.9.3 -# http://bootstraptour.com -# ============================================================== -# Copyright 2012-2013 Ulrich Sossou -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -*/ -/* ======================================================================== - * Bootstrap: transition.js v3.1.1 - * http://getbootstrap.com/javascript/#transitions - * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - -+function ($) { - 'use strict'; - - // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) - // ============================================================ - - function transitionEnd() { - var el = document.createElement('bootstrap') - - var transEndEventNames = { - 'WebkitTransition' : 'webkitTransitionEnd', - 'MozTransition' : 'transitionend', - 'OTransition' : 'oTransitionEnd otransitionend', - 'transition' : 'transitionend' - } - - for (var name in transEndEventNames) { - if (el.style[name] !== undefined) { - return { end: transEndEventNames[name] } - } - } - - return false // explicit for ie8 ( ._.) - } - - // http://blog.alexmaccaw.com/css-transitions - $.fn.emulateTransitionEnd = function (duration) { - var called = false, $el = this - $(this).one($.support.transition.end, function () { called = true }) - var callback = function () { if (!called) $($el).trigger($.support.transition.end) } - setTimeout(callback, duration) - return this - } - - $(function () { - $.support.transition = transitionEnd() - }) - -}(jQuery); - -/* ======================================================================== - * Bootstrap: tooltip.js v3.1.1 - * http://getbootstrap.com/javascript/#tooltip - * Inspired by the original jQuery.tipsy by Jason Frame - * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - -+function ($) { - 'use strict'; - - // TOOLTIP PUBLIC CLASS DEFINITION - // =============================== - - var Tooltip = function (element, options) { - this.type = - this.options = - this.enabled = - this.timeout = - this.hoverState = - this.$element = null - - this.init('tooltip', element, options) - } - - Tooltip.DEFAULTS = { - animation: true, - placement: 'top', - selector: false, - template: '
', - trigger: 'hover focus', - title: '', - delay: 0, - html: false, - container: false - } - - Tooltip.prototype.init = function (type, element, options) { - this.enabled = true - this.type = type - this.$element = $(element) - this.options = this.getOptions(options) - - var triggers = this.options.trigger.split(' ') - - for (var i = triggers.length; i--;) { - var trigger = triggers[i] - - if (trigger == 'click') { - this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this)) - } else if (trigger != 'manual') { - var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin' - var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout' - - this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this)) - this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this)) - } - } - - this.options.selector ? - (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) : - this.fixTitle() - } - - Tooltip.prototype.getDefaults = function () { - return Tooltip.DEFAULTS - } - - Tooltip.prototype.getOptions = function (options) { - options = $.extend({}, this.getDefaults(), this.$element.data(), options) - - if (options.delay && typeof options.delay == 'number') { - options.delay = { - show: options.delay, - hide: options.delay - } - } - - return options - } - - Tooltip.prototype.getDelegateOptions = function () { - var options = {} - var defaults = this.getDefaults() - - this._options && $.each(this._options, function (key, value) { - if (defaults[key] != value) options[key] = value - }) - - return options - } - - Tooltip.prototype.enter = function (obj) { - var self = obj instanceof this.constructor ? - obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) - - clearTimeout(self.timeout) - - self.hoverState = 'in' - - if (!self.options.delay || !self.options.delay.show) return self.show() - - self.timeout = setTimeout(function () { - if (self.hoverState == 'in') self.show() - }, self.options.delay.show) - } - - Tooltip.prototype.leave = function (obj) { - var self = obj instanceof this.constructor ? - obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) - - clearTimeout(self.timeout) - - self.hoverState = 'out' - - if (!self.options.delay || !self.options.delay.hide) return self.hide() - - self.timeout = setTimeout(function () { - if (self.hoverState == 'out') self.hide() - }, self.options.delay.hide) - } - - Tooltip.prototype.show = function () { - var e = $.Event('show.bs.' + this.type) - - if (this.hasContent() && this.enabled) { - this.$element.trigger(e) - - if (e.isDefaultPrevented()) return - var that = this; - - var $tip = this.tip() - - this.setContent() - - if (this.options.animation) $tip.addClass('fade') - - var placement = typeof this.options.placement == 'function' ? - this.options.placement.call(this, $tip[0], this.$element[0]) : - this.options.placement - - var autoToken = /\s?auto?\s?/i - var autoPlace = autoToken.test(placement) - if (autoPlace) placement = placement.replace(autoToken, '') || 'top' - - $tip - .detach() - .css({ top: 0, left: 0, display: 'block' }) - .addClass(placement) - - this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element) - - var pos = this.getPosition() - var actualWidth = $tip[0].offsetWidth - var actualHeight = $tip[0].offsetHeight - - if (autoPlace) { - var $parent = this.$element.parent() - - var orgPlacement = placement - var docScroll = document.documentElement.scrollTop || document.body.scrollTop - var parentWidth = this.options.container == 'body' ? window.innerWidth : $parent.outerWidth() - var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight() - var parentLeft = this.options.container == 'body' ? 0 : $parent.offset().left - - placement = placement == 'bottom' && pos.top + pos.height + actualHeight - docScroll > parentHeight ? 'top' : - placement == 'top' && pos.top - docScroll - actualHeight < 0 ? 'bottom' : - placement == 'right' && pos.right + actualWidth > parentWidth ? 'left' : - placement == 'left' && pos.left - actualWidth < parentLeft ? 'right' : - placement - - $tip - .removeClass(orgPlacement) - .addClass(placement) - } - - var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight) - - this.applyPlacement(calculatedOffset, placement) - this.hoverState = null - - var complete = function() { - that.$element.trigger('shown.bs.' + that.type) - } - - $.support.transition && this.$tip.hasClass('fade') ? - $tip - .one($.support.transition.end, complete) - .emulateTransitionEnd(150) : - complete() - } - } - - Tooltip.prototype.applyPlacement = function (offset, placement) { - var replace - var $tip = this.tip() - var width = $tip[0].offsetWidth - var height = $tip[0].offsetHeight - - // manually read margins because getBoundingClientRect includes difference - var marginTop = parseInt($tip.css('margin-top'), 10) - var marginLeft = parseInt($tip.css('margin-left'), 10) - - // we must check for NaN for ie 8/9 - if (isNaN(marginTop)) marginTop = 0 - if (isNaN(marginLeft)) marginLeft = 0 - - offset.top = offset.top + marginTop - offset.left = offset.left + marginLeft - - // $.fn.offset doesn't round pixel values - // so we use setOffset directly with our own function B-0 - $.offset.setOffset($tip[0], $.extend({ - using: function (props) { - $tip.css({ - top: Math.round(props.top), - left: Math.round(props.left) - }) - } - }, offset), 0) - - $tip.addClass('in') - - // check to see if placing tip in new offset caused the tip to resize itself - var actualWidth = $tip[0].offsetWidth - var actualHeight = $tip[0].offsetHeight - - if (placement == 'top' && actualHeight != height) { - replace = true - offset.top = offset.top + height - actualHeight - } - - if (/bottom|top/.test(placement)) { - var delta = 0 - - if (offset.left < 0) { - delta = offset.left * -2 - offset.left = 0 - - $tip.offset(offset) - - actualWidth = $tip[0].offsetWidth - actualHeight = $tip[0].offsetHeight - } - - this.replaceArrow(delta - width + actualWidth, actualWidth, 'left') - } else { - this.replaceArrow(actualHeight - height, actualHeight, 'top') - } - - if (replace) $tip.offset(offset) - } - - Tooltip.prototype.replaceArrow = function (delta, dimension, position) { - this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + '%') : '') - } - - Tooltip.prototype.setContent = function () { - var $tip = this.tip() - var title = this.getTitle() - - $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title) - $tip.removeClass('fade in top bottom left right') - } - - Tooltip.prototype.hide = function () { - var that = this - var $tip = this.tip() - var e = $.Event('hide.bs.' + this.type) - - function complete() { - if (that.hoverState != 'in') $tip.detach() - that.$element.trigger('hidden.bs.' + that.type) - } - - this.$element.trigger(e) - - if (e.isDefaultPrevented()) return - - $tip.removeClass('in') - - $.support.transition && this.$tip.hasClass('fade') ? - $tip - .one($.support.transition.end, complete) - .emulateTransitionEnd(150) : - complete() - - this.hoverState = null - - return this - } - - Tooltip.prototype.fixTitle = function () { - var $e = this.$element - if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') { - $e.attr('data-original-title', $e.attr('title') || '').attr('title', '') - } - } - - Tooltip.prototype.hasContent = function () { - return this.getTitle() - } - - Tooltip.prototype.getPosition = function () { - var el = this.$element[0] - return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : { - width: el.offsetWidth, - height: el.offsetHeight - }, this.$element.offset()) - } - - Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) { - return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } : - placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } : - placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } : - /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width } - } - - Tooltip.prototype.getTitle = function () { - var title - var $e = this.$element - var o = this.options - - title = $e.attr('data-original-title') - || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title) - - return title - } - - Tooltip.prototype.tip = function () { - return this.$tip = this.$tip || $(this.options.template) - } - - Tooltip.prototype.arrow = function () { - return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow') - } - - Tooltip.prototype.validate = function () { - if (!this.$element[0].parentNode) { - this.hide() - this.$element = null - this.options = null - } - } - - Tooltip.prototype.enable = function () { - this.enabled = true - } - - Tooltip.prototype.disable = function () { - this.enabled = false - } - - Tooltip.prototype.toggleEnabled = function () { - this.enabled = !this.enabled - } - - Tooltip.prototype.toggle = function (e) { - var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this - self.tip().hasClass('in') ? self.leave(self) : self.enter(self) - } - - Tooltip.prototype.destroy = function () { - clearTimeout(this.timeout) - this.hide().$element.off('.' + this.type).removeData('bs.' + this.type) - } - - - // TOOLTIP PLUGIN DEFINITION - // ========================= - - var old = $.fn.tooltip - - $.fn.tooltip = function (option) { - return this.each(function () { - var $this = $(this) - var data = $this.data('bs.tooltip') - var options = typeof option == 'object' && option - - if (!data && option == 'destroy') return - if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options))) - if (typeof option == 'string') data[option]() - }) - } - - $.fn.tooltip.Constructor = Tooltip - - - // TOOLTIP NO CONFLICT - // =================== - - $.fn.tooltip.noConflict = function () { - $.fn.tooltip = old - return this - } - -}(jQuery); - -/* ======================================================================== - * Bootstrap: popover.js v3.1.1 - * http://getbootstrap.com/javascript/#popovers - * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - -+function ($) { - 'use strict'; - - // POPOVER PUBLIC CLASS DEFINITION - // =============================== - - var Popover = function (element, options) { - this.init('popover', element, options) - } - - if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js') - - Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, { - placement: 'right', - trigger: 'click', - content: '', - template: '

' - }) - - - // NOTE: POPOVER EXTENDS tooltip.js - // ================================ - - Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype) - - Popover.prototype.constructor = Popover - - Popover.prototype.getDefaults = function () { - return Popover.DEFAULTS - } - - Popover.prototype.setContent = function () { - var $tip = this.tip() - var title = this.getTitle() - var content = this.getContent() - - $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title) - $tip.find('.popover-content')[ // we use append for html objects to maintain js events - this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text' - ](content) - - $tip.removeClass('fade top bottom left right in') - - // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do - // this manually by checking the contents. - if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide() - } - - Popover.prototype.hasContent = function () { - return this.getTitle() || this.getContent() - } - - Popover.prototype.getContent = function () { - var $e = this.$element - var o = this.options - - return $e.attr('data-content') - || (typeof o.content == 'function' ? - o.content.call($e[0]) : - o.content) - } - - Popover.prototype.arrow = function () { - return this.$arrow = this.$arrow || this.tip().find('.arrow') - } - - Popover.prototype.tip = function () { - if (!this.$tip) this.$tip = $(this.options.template) - return this.$tip - } - - - // POPOVER PLUGIN DEFINITION - // ========================= - - var old = $.fn.popover - - $.fn.popover = function (option) { - return this.each(function () { - var $this = $(this) - var data = $this.data('bs.popover') - var options = typeof option == 'object' && option - - if (!data && option == 'destroy') return - if (!data) $this.data('bs.popover', (data = new Popover(this, options))) - if (typeof option == 'string') data[option]() - }) - } - - $.fn.popover.Constructor = Popover - - - // POPOVER NO CONFLICT - // =================== - - $.fn.popover.noConflict = function () { - $.fn.popover = old - return this - } - -}(jQuery); - -(function($, window) { - var Tour, document; - document = window.document; - Tour = (function() { - function Tour(options) { - var storage; - try { - storage = window.localStorage; - } catch (_error) { - storage = false; - } - this._options = $.extend({ - name: "tour", - steps: [], - container: "body", - keyboard: true, - storage: storage, - debug: false, - backdrop: false, - redirect: true, - orphan: false, - duration: false, - basePath: "", - template: "

", - afterSetState: function(key, value) {}, - afterGetState: function(key, value) {}, - afterRemoveState: function(key) {}, - onStart: function(tour) {}, - onEnd: function(tour) {}, - onShow: function(tour) {}, - onShown: function(tour) {}, - onHide: function(tour) {}, - onHidden: function(tour) {}, - onNext: function(tour) {}, - onPrev: function(tour) {}, - onPause: function(tour, duration) {}, - onResume: function(tour, duration) {} - }, options); - this._force = false; - this._inited = false; - this.backdrop = { - overlay: null, - $element: null, - $background: null, - backgroundShown: false, - overlayElementShown: false - }; - this; - } - - Tour.prototype.addSteps = function(steps) { - var step, _i, _len; - for (_i = 0, _len = steps.length; _i < _len; _i++) { - step = steps[_i]; - this.addStep(step); - } - return this; - }; - - Tour.prototype.addStep = function(step) { - this._options.steps.push(step); - return this; - }; - - Tour.prototype.getStep = function(i) { - if (this._options.steps[i] != null) { - return $.extend({ - id: "step-" + i, - path: "", - placement: "right", - title: "", - content: "

", - next: i === this._options.steps.length - 1 ? -1 : i + 1, - prev: i - 1, - animation: true, - container: this._options.container, - backdrop: this._options.backdrop, - redirect: this._options.redirect, - orphan: this._options.orphan, - duration: this._options.duration, - template: this._options.template, - onShow: this._options.onShow, - onShown: this._options.onShown, - onHide: this._options.onHide, - onHidden: this._options.onHidden, - onNext: this._options.onNext, - onPrev: this._options.onPrev, - onPause: this._options.onPause, - onResume: this._options.onResume - }, this._options.steps[i]); - } - }; - - Tour.prototype.init = function(force) { - this._force = force; - if (this.ended()) { - this._debug("Tour ended, init prevented."); - return this; - } - this.setCurrentStep(); - this._initMouseNavigation(); - this._initKeyboardNavigation(); - this._onResize((function(_this) { - return function() { - return _this.showStep(_this._current); - }; - })(this)); - if (this._current !== null) { - this.showStep(this._current); - } - this._inited = true; - return this; - }; - - Tour.prototype.start = function(force) { - var promise; - if (force == null) { - force = false; - } - if (!this._inited) { - this.init(force); - } - if (this._current === null) { - promise = this._makePromise(this._options.onStart != null ? this._options.onStart(this) : void 0); - this._callOnPromiseDone(promise, this.showStep, 0); - } - return this; - }; - - Tour.prototype.next = function() { - var promise; - promise = this.hideStep(this._current); - return this._callOnPromiseDone(promise, this._showNextStep); - }; - - Tour.prototype.prev = function() { - var promise; - promise = this.hideStep(this._current); - return this._callOnPromiseDone(promise, this._showPrevStep); - }; - - Tour.prototype.goTo = function(i) { - var promise; - promise = this.hideStep(this._current); - return this._callOnPromiseDone(promise, this.showStep, i); - }; - - Tour.prototype.end = function() { - var endHelper, promise; - endHelper = (function(_this) { - return function(e) { - $(document).off("click.tour-" + _this._options.name); - $(document).off("keyup.tour-" + _this._options.name); - $(window).off("resize.tour-" + _this._options.name); - _this._setState("end", "yes"); - _this._inited = false; - _this._force = false; - _this._clearTimer(); - if (_this._options.onEnd != null) { - return _this._options.onEnd(_this); - } - }; - })(this); - promise = this.hideStep(this._current); - return this._callOnPromiseDone(promise, endHelper); - }; - - Tour.prototype.ended = function() { - return !this._force && !!this._getState("end"); - }; - - Tour.prototype.restart = function() { - this._removeState("current_step"); - this._removeState("end"); - return this.start(); - }; - - Tour.prototype.pause = function() { - var step; - step = this.getStep(this._current); - if (!(step && step.duration)) { - return this; - } - this._paused = true; - this._duration -= new Date().getTime() - this._start; - window.clearTimeout(this._timer); - this._debug("Paused/Stopped step " + (this._current + 1) + " timer (" + this._duration + " remaining)."); - if (step.onPause != null) { - return step.onPause(this, this._duration); - } - }; - - Tour.prototype.resume = function() { - var step; - step = this.getStep(this._current); - if (!(step && step.duration)) { - return this; - } - this._paused = false; - this._start = new Date().getTime(); - this._duration = this._duration || step.duration; - this._timer = window.setTimeout((function(_this) { - return function() { - if (_this._isLast()) { - return _this.next(); - } else { - return _this.end(); - } - }; - })(this), this._duration); - this._debug("Started step " + (this._current + 1) + " timer with duration " + this._duration); - if ((step.onResume != null) && this._duration !== step.duration) { - return step.onResume(this, this._duration); - } - }; - - Tour.prototype.hideStep = function(i) { - var hideStepHelper, promise, step; - step = this.getStep(i); - if (!step) { - return; - } - this._clearTimer(); - promise = this._makePromise(step.onHide != null ? step.onHide(this, i) : void 0); - hideStepHelper = (function(_this) { - return function(e) { - var $element; - $element = $(step.element); - if (!($element.data("bs.popover") || $element.data("popover"))) { - $element = $("body"); - } - $element.popover("destroy").removeClass("tour-" + _this._options.name + "-element tour-" + _this._options.name + "-" + i + "-element"); - if (step.reflex) { - $element.css("cursor", "").off("click.tour-" + _this._options.name); - } - if (step.backdrop) { - _this._hideBackdrop(); - } - if (step.onHidden != null) { - return step.onHidden(_this); - } - }; - })(this); - this._callOnPromiseDone(promise, hideStepHelper); - return promise; - }; - - Tour.prototype.showStep = function(i) { - var promise, showStepHelper, skipToPrevious, step; - if (this.ended()) { - this._debug("Tour ended, showStep prevented."); - return this; - } - step = this.getStep(i); - if (!step) { - return; - } - skipToPrevious = i < this._current; - promise = this._makePromise(step.onShow != null ? step.onShow(this, i) : void 0); - showStepHelper = (function(_this) { - return function(e) { - var current_path, path; - _this.setCurrentStep(i); - path = (function() { - switch ({}.toString.call(step.path)) { - case "[object Function]": - return step.path(); - case "[object String]": - return this._options.basePath + step.path; - default: - return step.path; - } - }).call(_this); - current_path = document.location.href; - if (_this._isRedirect(path, current_path)) { - if ({}.toString.call(path) === "[object RegExp]") { - _this._redirect(step, path); - } - else { - path = document.location.protocol+'//'+path; - _this._redirect(step, path); - } - return; - } - if (_this._isOrphan(step)) { - if (!step.orphan) { - _this._debug("Skip the orphan step " + (_this._current + 1) + ". Orphan option is false and the element doesn't exist or is hidden."); - if (skipToPrevious) { - _this._showPrevStep(); - } else { - _this._showNextStep(); - } - return; - } - _this._debug("Show the orphan step " + (_this._current + 1) + ". Orphans option is true."); - } - if (step.title === "" & step.content === "") { - if (skipToPrevious) { - _this._showPrevStep(); - } else { - _this._showNextStep(); - } - return; - } - if (step.backdrop) { - _this._showBackdrop(!_this._isOrphan(step) ? step.element : void 0); - } - _this._scrollIntoView(step.element, function() { - if (_this.getCurrentStep() !== i) { - return; - } - if ((step.element != null) && step.backdrop) { - _this._showOverlayElement(step.element); - } - _this._showPopover(step, i); - if (step.onShown != null) { - step.onShown(_this); - } - return _this._debug("Step " + (_this._current + 1) + " of " + _this._options.steps.length); - }); - if (step.duration) { - return _this.resume(); - } - }; - })(this); - this._callOnPromiseDone(promise, showStepHelper); - return promise; - }; - - Tour.prototype.getCurrentStep = function() { - return this._current; - }; - - Tour.prototype.setCurrentStep = function(value) { - if (value != null) { - this._current = value; - this._setState("current_step", value); - } else { - this._current = this._getState("current_step"); - this._current = this._current === null ? null : parseInt(this._current, 10); - } - return this; - }; - - Tour.prototype._setState = function(key, value) { - var e, keyName; - if (this._options.storage) { - keyName = "" + this._options.name + "_" + key; - try { - this._options.storage.setItem(keyName, value); - } catch (_error) { - e = _error; - if (e.code === DOMException.QUOTA_EXCEEDED_ERR) { - this.debug("LocalStorage quota exceeded. State storage failed."); - } - } - return this._options.afterSetState(keyName, value); - } else { - if (this._state == null) { - this._state = {}; - } - return this._state[key] = value; - } - }; - - Tour.prototype._removeState = function(key) { - var keyName; - if (this._options.storage) { - keyName = "" + this._options.name + "_" + key; - this._options.storage.removeItem(keyName); - return this._options.afterRemoveState(keyName); - } else { - if (this._state != null) { - return delete this._state[key]; - } - } - }; - - Tour.prototype._getState = function(key) { - var keyName, value; - if (this._options.storage) { - keyName = "" + this._options.name + "_" + key; - value = this._options.storage.getItem(keyName); - } else { - if (this._state != null) { - value = this._state[key]; - } - } - if (value === void 0 || value === "null") { - value = null; - } - this._options.afterGetState(key, value); - return value; - }; - - Tour.prototype._showNextStep = function() { - var promise, showNextStepHelper, step; - step = this.getStep(this._current); - showNextStepHelper = (function(_this) { - return function(e) { - return _this.showStep(step.next); - }; - })(this); - promise = this._makePromise(step.onNext != null ? step.onNext(this) : void 0); - return this._callOnPromiseDone(promise, showNextStepHelper); - }; - - Tour.prototype._showPrevStep = function() { - var promise, showPrevStepHelper, step; - step = this.getStep(this._current); - showPrevStepHelper = (function(_this) { - return function(e) { - return _this.showStep(step.prev); - }; - })(this); - promise = this._makePromise(step.onPrev != null ? step.onPrev(this) : void 0); - return this._callOnPromiseDone(promise, showPrevStepHelper); - }; - - Tour.prototype._debug = function(text) { - if (this._options.debug) { - return window.console.log("Bootstrap Tour '" + this._options.name + "' | " + text); - } - }; - - Tour.prototype._isRedirect = function(path, currentPath) { - return (path != null) && path !== "" && (({}.toString.call(path) === "[object RegExp]" && !path.test(currentPath)) || ({}.toString.call(path) === "[object String]" && path !== currentPath.replace("http://", "").replace("https://", ""))); - }; - - Tour.prototype._redirect = function(step, path) { - if ($.isFunction(step.redirect)) { - return step.redirect.call(this, path); - } else if (step.redirect === true) { - this._debug("Redirect to " + path); - return document.location.href = path; - } - }; - - Tour.prototype._isOrphan = function(step) { - return (step.element == null) || !$(step.element).length || $(step.element).is(":hidden") && ($(step.element)[0].namespaceURI !== "http://www.w3.org/2000/svg"); - }; - - Tour.prototype._isLast = function() { - return this._current < this._options.steps.length - 1; - }; - - Tour.prototype._showPopover = function(step, i) { - var $element, $navigation, $template, $tip, isOrphan, options; - $(".tour-" + this._options.name).remove(); - options = $.extend({}, this._options); - $template = $.isFunction(step.template) ? $(step.template(i, step)) : $(step.template); - $navigation = $template.find(".popover-navigation"); - isOrphan = this._isOrphan(step); - if (isOrphan) { - step.element = "body"; - step.placement = "top"; - $template = $template.addClass("orphan"); - } - $element = $(step.element); - $template.addClass("tour-" + this._options.name + " tour-" + this._options.name + "-" + i); - $element.addClass("tour-" + this._options.name + "-element tour-" + this._options.name + "-" + i + "-element"); - if (step.options) { - $.extend(options, step.options); - } - if (step.reflex && !isOrphan) { - $element.css("cursor", "pointer").on("click.tour-" + this._options.name, (function(_this) { - return function() { - if (_this._isLast()) { - return _this.next(); - } else { - return _this.end(); - } - }; - })(this)); - } - if (step.prev < 0) { - $navigation.find("[data-role='prev']").addClass("disabled"); - } - if (step.next < 0) { - $navigation.find("[data-role='next']").addClass("disabled"); - } - if (!step.duration) { - $navigation.find("[data-role='pause-resume']").remove(); - } - step.template = $template.clone().wrap("
").parent().html(); - $element.popover({ - placement: step.placement, - trigger: "manual", - title: step.title, - content: step.content, - html: true, - animation: step.animation, - container: step.container, - template: step.template, - selector: step.element - }).popover("show"); - $tip = $element.data("bs.popover") ? $element.data("bs.popover").tip() : $element.data("popover").tip(); - $tip.attr("id", step.id); - this._reposition($tip, step); - if (isOrphan) { - return this._center($tip); - } - }; - - Tour.prototype._reposition = function($tip, step) { - var offsetBottom, offsetHeight, offsetRight, offsetWidth, originalLeft, originalTop, tipOffset; - offsetWidth = $tip[0].offsetWidth; - offsetHeight = $tip[0].offsetHeight; - tipOffset = $tip.offset(); - originalLeft = tipOffset.left; - originalTop = tipOffset.top; - offsetBottom = $(document).outerHeight() - tipOffset.top - $tip.outerHeight(); - if (offsetBottom < 0) { - tipOffset.top = tipOffset.top + offsetBottom; - } - offsetRight = $("html").outerWidth() - tipOffset.left - $tip.outerWidth(); - if (offsetRight < 0) { - tipOffset.left = tipOffset.left + offsetRight; - } - if (tipOffset.top < 0) { - tipOffset.top = 0; - } - if (tipOffset.left < 0) { - tipOffset.left = 0; - } - $tip.offset(tipOffset); - if (step.placement === "bottom" || step.placement === "top") { - if (originalLeft !== tipOffset.left) { - return this._replaceArrow($tip, (tipOffset.left - originalLeft) * 2, offsetWidth, "left"); - } - } else { - if (originalTop !== tipOffset.top) { - return this._replaceArrow($tip, (tipOffset.top - originalTop) * 2, offsetHeight, "top"); - } - } - }; - - Tour.prototype._center = function($tip) { - return $tip.css("top", $(window).outerHeight() / 2 - $tip.outerHeight() / 2); - }; - - Tour.prototype._replaceArrow = function($tip, delta, dimension, position) { - return $tip.find(".arrow").css(position, delta ? 50 * (1 - delta / dimension) + "%" : ""); - }; - - Tour.prototype._scrollIntoView = function(element, callback) { - var $element, $window, counter, offsetTop, scrollTop, windowHeight; - $element = $(element); - if (!$element.length) { - return callback(); - } - $window = $(window); - offsetTop = $element.offset().top; - windowHeight = $window.height(); - scrollTop = Math.max(0, offsetTop - (windowHeight / 2)); - this._debug("Scroll into view. ScrollTop: " + scrollTop + ". Element offset: " + offsetTop + ". Window height: " + windowHeight + "."); - counter = 0; - return $("body,html").stop(true, true).animate({ - scrollTop: Math.ceil(scrollTop) - }, (function(_this) { - return function() { - if (++counter === 2) { - callback(); - return _this._debug("Scroll into view. Animation end element offset: " + ($element.offset().top) + ". Window height: " + ($window.height()) + "."); - } - }; - })(this)); - }; - - Tour.prototype._onResize = function(callback, timeout) { - return $(window).on("resize.tour-" + this._options.name, function() { - clearTimeout(timeout); - return timeout = setTimeout(callback, 100); - }); - }; - - Tour.prototype._initMouseNavigation = function() { - var _this; - _this = this; - return $(document).off("click.tour-" + this._options.name, ".popover.tour-" + this._options.name + " *[data-role='prev']:not(.disabled)").off("click.tour-" + this._options.name, ".popover.tour-" + this._options.name + " *[data-role='next']:not(.disabled)").off("click.tour-" + this._options.name, ".popover.tour-" + this._options.name + " *[data-role='end']").off("click.tour-" + this._options.name, ".popover.tour-" + this._options.name + " *[data-role='pause-resume']").on("click.tour-" + this._options.name, ".popover.tour-" + this._options.name + " *[data-role='next']:not(.disabled)", (function(_this) { - return function(e) { - e.preventDefault(); - return _this.next(); - }; - })(this)).on("click.tour-" + this._options.name, ".popover.tour-" + this._options.name + " *[data-role='prev']:not(.disabled)", (function(_this) { - return function(e) { - e.preventDefault(); - return _this.prev(); - }; - })(this)).on("click.tour-" + this._options.name, ".popover.tour-" + this._options.name + " *[data-role='end']", (function(_this) { - return function(e) { - e.preventDefault(); - return _this.end(); - }; - })(this)).on("click.tour-" + this._options.name, ".popover.tour-" + this._options.name + " *[data-role='pause-resume']", function(e) { - var $this; - e.preventDefault(); - $this = $(this); - $this.text(_this._paused ? $this.data("pause-text") : $this.data("resume-text")); - if (_this._paused) { - return _this.resume(); - } else { - return _this.pause(); - } - }); - }; - - Tour.prototype._initKeyboardNavigation = function() { - if (!this._options.keyboard) { - return; - } - return $(document).on("keyup.tour-" + this._options.name, (function(_this) { - return function(e) { - if (!e.which) { - return; - } - switch (e.which) { - case 39: - e.preventDefault(); - if (_this._isLast()) { - return _this.next(); - } else { - return _this.end(); - } - break; - case 37: - e.preventDefault(); - if (_this._current > 0) { - return _this.prev(); - } - break; - case 27: - e.preventDefault(); - return _this.end(); - } - }; - })(this)); - }; - - Tour.prototype._makePromise = function(result) { - if (result && $.isFunction(result.then)) { - return result; - } else { - return null; - } - }; - - Tour.prototype._callOnPromiseDone = function(promise, cb, arg) { - if (promise) { - return promise.then((function(_this) { - return function(e) { - return cb.call(_this, arg); - }; - })(this)); - } else { - return cb.call(this, arg); - } - }; - - Tour.prototype._showBackdrop = function(element) { - if (this.backdrop.backgroundShown) { - return; - } - this.backdrop = $("
", { - "class": "tour-backdrop" - }); - this.backdrop.backgroundShown = true; - return $("body").append(this.backdrop); - }; - - Tour.prototype._hideBackdrop = function() { - this._hideOverlayElement(); - return this._hideBackground(); - }; - - Tour.prototype._hideBackground = function() { - if (this.backdrop) { - this.backdrop.remove(); - this.backdrop.overlay = null; - return this.backdrop.backgroundShown = false; - } - }; - - Tour.prototype._showOverlayElement = function(element) { - var $background, $element, offset; - $element = $(element); - if (!$element || $element.length === 0 || this.backdrop.overlayElementShown) { - return; - } - this.backdrop.overlayElementShown = true; - $background = $("
"); - offset = $element.offset(); - offset.top = offset.top; - offset.left = offset.left; - $background.width($element.innerWidth()).height($element.innerHeight()).addClass("tour-step-background").offset(offset); - $element.addClass("tour-step-backdrop"); - $("body").append($background); - this.backdrop.$element = $element; - return this.backdrop.$background = $background; - }; - - Tour.prototype._hideOverlayElement = function() { - if (!this.backdrop.overlayElementShown) { - return; - } - this.backdrop.$element.removeClass("tour-step-backdrop"); - this.backdrop.$background.remove(); - this.backdrop.$element = null; - this.backdrop.$background = null; - return this.backdrop.overlayElementShown = false; - }; - - Tour.prototype._clearTimer = function() { - window.clearTimeout(this._timer); - this._timer = null; - return this._duration = null; - }; - - return Tour; - - })(); - return window.Tour = Tour; -})(jQuery, window); diff --git a/plugins/TakeATour/js/custom.patch b/plugins/TakeATour/js/custom.patch deleted file mode 100644 index 0ad5f0b5c..000000000 --- a/plugins/TakeATour/js/custom.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- E:/Program Files/EasyPHP/www/SITE/sandbox/pwg_test/piwigo_trunk/plugins/TakeATour/js/903.js Mon Jun 23 21:44:59 2014 -+++ E:/Program Files/EasyPHP/www/SITE/sandbox/pwg_test/piwigo_trunk/plugins/TakeATour/js/custom-bootstrap-tour-standalone.js Sun Apr 13 19:05:42 2014 -@@ -849,9 +849,15 @@ - return step.path; - } - }).call(_this); -- current_path = [document.location.pathname, document.location.hash].join(""); -+ current_path = document.location.href; - if (_this._isRedirect(path, current_path)) { -+ if (toString.call(path) === "[object RegExp]") { - _this._redirect(step, path); -+ } -+ else { -+ path = document.location.protocol+'//'+path; -+ _this._redirect(step, path); -+ } - return; - } - if (_this._isOrphan(step)) { -@@ -866,6 +872,14 @@ - } - _this._debug("Show the orphan step " + (_this._current + 1) + ". Orphans option is true."); - } -+ if (step.title === "" & step.content === "") { -+ if (skipToPrevious) { -+ _this._showPrevStep(); -+ } else { -+ _this._showNextStep(); -+ } -+ return; -+ } - if (step.backdrop) { - _this._showBackdrop(!_this._isOrphan(step) ? step.element : void 0); - } -@@ -988,7 +1002,7 @@ - }; - - Tour.prototype._isRedirect = function(path, currentPath) { -- return (path != null) && path !== "" && (({}.toString.call(path) === "[object RegExp]" && !path.test(currentPath)) || ({}.toString.call(path) === "[object String]" && path.replace(/\?.*$/, "").replace(/\/?$/, "") !== currentPath.replace(/\/?$/, ""))); -+ return (path != null) && path !== "" && ((toString.call(path) === "[object RegExp]" && !path.test(currentPath)) || (toString.call(path) === "[object String]" && path !== currentPath.replace("http://", "").replace("https://", ""))); - }; - - Tour.prototype._redirect = function(step, path) { diff --git a/plugins/TakeATour/language/bg_BG/description.txt b/plugins/TakeATour/language/bg_BG/description.txt deleted file mode 100755 index ca4c64ab1..000000000 --- a/plugins/TakeATour/language/bg_BG/description.txt +++ /dev/null @@ -1 +0,0 @@ -Вижти вашето Piwigo, откриите новите възможности. Тази добавка предоставя описания за начинаещи и напреднали потребители. \ No newline at end of file diff --git a/plugins/TakeATour/language/bg_BG/index.php b/plugins/TakeATour/language/bg_BG/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/TakeATour/language/bg_BG/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/TakeATour/language/bg_BG/plugin.lang.php b/plugins/TakeATour/language/bg_BG/plugin.lang.php deleted file mode 100755 index bc4cae60b..000000000 --- a/plugins/TakeATour/language/bg_BG/plugin.lang.php +++ /dev/null @@ -1,36 +0,0 @@ -
Стартирайте помощника и следвайте инструкциите. Натискайте Напред/Назад или ползвайте стрелките за навигация в обиколката. Ако ви е омръзнала и не желаете да завършите обиколката, отидете на Добавки в Админ меню - Направете обиколка!'; -$lang['privacy_descrp'] = 'Тази обиколка показва всички начини да защитите вашите снимки от публичен достъп без позволение на ниво снимка, албум и прочие. Използване на защити против копиране.'; -$lang['first_contact_descrp'] = 'Препоръчително за начинаещи, тази обиколка ще ви запознае с Piwigo и неговите основни възможности. Ще започне с това как да добавяте снимки и да ги редактирате. Също ще видите създаване и редакция на албуми и накрая конфигуриране и настройки на теми и приложиния добавки.'; -$lang['takeatour_configpage'] = 'Направете обиколка - списък'; -$lang['Visit your Piwigo!'] = 'Посетете вашата Piwigo!'; -$lang['Take a tour and discover the features of your Piwigo gallery » Go to the available tours'] = 'Запознайте се и разгледайте новите възможности на вашата Piwigo галерия. '; -$lang['Start the Tour'] = 'Започни прегледа'; -$lang['Privacy'] = 'Защита на данни'; -$lang['First Contact'] = 'За първи път'; -$lang['2.7 Tour'] = '2.7 версия преглед'; -$lang['End tour'] = 'Край на прегледа'; -$lang['2_7_0_descrp'] = 'Вижти какво е ново в Piwigo 2.7'; \ No newline at end of file diff --git a/plugins/TakeATour/language/bg_BG/tour_2_7_0.lang.php b/plugins/TakeATour/language/bg_BG/tour_2_7_0.lang.php deleted file mode 100644 index 6ba790b88..000000000 --- a/plugins/TakeATour/language/bg_BG/tour_2_7_0.lang.php +++ /dev/null @@ -1,45 +0,0 @@ -Радвай се на вашето Piwigo 2.7!

Ако ви допада, може да участвате и вие с помощ, превод или спонсорство...Натиснете тук за подкрепа. Благодарим!'; -$lang['2_7_0_stp9'] = 'В batch менажера е добавен филтър за търсене. Той идва с мощнен синтаксис за търсене на снимки по дати, тагове, размер и още опции за търсене като точно фраза, и/ипи, групиране или изключване.Може да прочетете подробностите в помощника след това. Същите екстри важат и за менюто "Бързо търсене".'; -$lang['2_7_0_stp4'] = 'Страницата за търсене е преработена: способности за търсене по дума, по списък от автори, автоматично завършва листа с тагове и списъка с албуми...'; -$lang['2_7_0_stp2b'] = 'Новата форма за качване в Piwigo 2.7 се базира на HTML5 и Flash, което означава по-добра съвместимост с модерните браузъри и добра работа и при по-бавна връзка. И с влачене и пускане работата с файлове ще е много по-лесна във вашия браузер.'; -$lang['2_7_0_stp2'] = 'Както виждате, нова подръзбираща се добавка е качена: "Преглед".Тази плъгин ви помага да видите новостите в тази версия на Piwigo. Тук са поместени и всички други прегледи.
Тази страница се намера в Добавки » Преглед'; -$lang['2_7_0_stp1'] = 'Здравей! Аз ще съм твоя водач в откриването на Piwigo. Моля следвай мойте инструкций и натиснете бутон "Напред" (или ползвай стрелките на клавиатурата) за продължение. Ако отидете на друга страница, ще се върнете автоматично отново в представянето.'; -$lang['2_7_0_stp6'] = 'Скрипта на избор на албуми, тагове и прочие е променен и по приятелски настроен. Тествайте го.'; \ No newline at end of file diff --git a/plugins/TakeATour/language/ca_ES/description.txt b/plugins/TakeATour/language/ca_ES/description.txt deleted file mode 100755 index b7d9ecda3..000000000 --- a/plugins/TakeATour/language/ca_ES/description.txt +++ /dev/null @@ -1 +0,0 @@ -Explora la galeria Piwigo tot descobrint les seves funcionalitats. Aquest connector té múltiples temàtiques, tant per usuaris principiants com per usuaris avançats. diff --git a/plugins/TakeATour/language/ca_ES/index.php b/plugins/TakeATour/language/ca_ES/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/TakeATour/language/ca_ES/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/TakeATour/language/ca_ES/plugin.lang.php b/plugins/TakeATour/language/ca_ES/plugin.lang.php deleted file mode 100755 index a18a4ec92..000000000 --- a/plugins/TakeATour/language/ca_ES/plugin.lang.php +++ /dev/null @@ -1,36 +0,0 @@ -
Escolliu una exploració i seguiu les instruccions. Durant el temps que duri l\'exploració cliqueu Següent/Anterior (o utilitzeu les tecles de desplaçament) per navegar. Mentres estigui activa l\'exploració, si aneu a una altra pàgina de l\'administració, sereu redirigits cap a la pàgina de la d\'on havíeu deixat l\'exploració. Si voleu aturar i acabar l\'exploració, aneu a Connectors » Exploreu per finalitzar-la.'; -$lang['takeatour_configpage'] = 'Exploreu » Llistat d\'exploracions'; -$lang['First Contact'] = 'Primer Contacte'; -$lang['Start the Tour'] = 'Comença l\'exploració'; -$lang['Take a tour and discover the features of your Piwigo gallery » Go to the available tours'] = 'Exploreu i descobriu les característiques de la vostra galeria Piwigo » Aneu cap a les exploracions disponibles.'; -$lang['Visit your Piwigo!'] = 'Visita la teva galeria Piwigo!'; -$lang['first_contact_descrp'] = 'Recomanada per a principiants. Aquesta exploració introdueix les característiques bàsiques de Piwigo. Comença amb la gestió d\'imatges i la gestió dels àlbums i permisos i continua amb la personalització de la galeria utilitzant els temes i els connectors.'; -$lang['2.7 Tour'] = 'Explora 2.7'; -$lang['2_7_0_descrp'] = 'Descobreix que hi ha de nou a Piwigo 2.7'; -$lang['End tour'] = 'Acaba l\'exploració'; -$lang['Next '] = 'Següent'; -$lang['Prev'] = 'Anterior'; -$lang['Privacy'] = 'Privacitat'; -$lang['privacy_descrp'] = 'Aquesta exploració presenta tots els camins per protegir les vostres fotos de l\'accés públic afegint permisos en els àlbums i fotos, i evitant la còpia d\'imatges protegides.'; \ No newline at end of file diff --git a/plugins/TakeATour/language/ca_ES/tour_2_7_0.lang.php b/plugins/TakeATour/language/ca_ES/tour_2_7_0.lang.php deleted file mode 100755 index eba191323..000000000 --- a/plugins/TakeATour/language/ca_ES/tour_2_7_0.lang.php +++ /dev/null @@ -1,44 +0,0 @@ - Aquesta pàgina està disponible a Connectors » Exploreu '; -$lang['2_7_0_stp11'] = 'Aquesta exploració s\'ha acabat

Gaudiu de Piwigo 2.7

Si us agrada Piwigo i voleu donar-nos suport, podeu contribuir ajudant a traduir, donant, etc. Cliqueu aquí per donar suport Gràcies!'; -$lang['2_7_0_title10'] = 'Filtre de mida de fitxer'; -$lang['2_7_0_title11'] = 'Ens veiem aviat!'; -$lang['2_7_0_title2'] = 'Primera nova funcionalitat'; -$lang['2_7_0_title4'] = 'Pàgina de cerca'; -$lang['2_7_0_title5'] = 'Temps'; -$lang['2_7_0_title6'] = 'Selecciona caixes'; -$lang['2_7_0_title7'] = 'Ordena els àlbums per data'; -$lang['2_7_0_title1'] = 'Benvingut a Piwigo 2.7'; -$lang['2_7_0_stp1'] = 'Hola!jo seré la vostra guia per descobrir Piwigo. Si us plau segueix les meves instruccions, i clica a Següent (o utilitza les fletxes de desplaçament del teclat) per navegar. Si aneu a una altra pàgina sereu redirigits a la pàgina on havíeu deixat l\'exploració.'; \ No newline at end of file diff --git a/plugins/TakeATour/language/ca_ES/tour_first_contact.lang.php b/plugins/TakeATour/language/ca_ES/tour_first_contact.lang.php deleted file mode 100644 index 07b29638a..000000000 --- a/plugins/TakeATour/language/ca_ES/tour_first_contact.lang.php +++ /dev/null @@ -1,54 +0,0 @@ -Connectors » Exploreu i finalitzeu la l\'exploració.
Comencem afegint imatges!'; -$lang['first_contact_title1'] = 'Benvinguts a la vostra galeria Piwigo'; -$lang['first_contact_title11'] = 'Com afegir una foto'; -$lang['first_contact_title18'] = 'Gestiona àlbums'; -$lang['first_contact_title19'] = 'Gestiona àlbums'; -$lang['first_contact_title20'] = 'Gestiona àlbums'; -$lang['first_contact_title21'] = 'Altres pestanyes'; -$lang['first_contact_title22'] = 'Pàgina d\'edició d\'àlbum'; -$lang['first_contact_title28'] = 'Configuració'; -$lang['first_contact_title29'] = 'Configuració » Opcions » General'; -$lang['first_contact_title3'] = 'Afegeix una pàgina de foto'; -$lang['first_contact_title34'] = 'Temes'; -$lang['first_contact_title35'] = 'Temes'; -$lang['first_contact_title37'] = 'Temes'; -$lang['first_contact_title38'] = 'Connectors'; -$lang['first_contact_title39'] = 'Connectors'; -$lang['first_contact_title4'] = 'Som-hi, afegeix una foto!'; -$lang['first_contact_title5'] = ''; -$lang['first_contact_title6'] = ''; -$lang['first_contact_title7'] = ''; -$lang['first_contact_title8'] = ''; -$lang['first_contact_title9'] = 'El gestor per lots'; -$lang['first_contact_stp30'] = 'Començarem canviant el títol'; -$lang['first_contact_stp32'] = 'Ara guardeu els canvis'; -$lang['first_contact_stp14'] = 'Ara veurem la pàgina d\'edició d\'una imatge. Aquesta pàgina es pot trobar aquí, però també des de una pàgina publica entrant com a administrador. Cliqueu a sobre d\'Edita o aneu al següent pas.'; -$lang['first_contact_stp13'] = 'Amb el mode unitari del processament per lots podeu editar les descripcions i altres camps. De moment ens quedem amb el mode global.'; -$lang['first_contact_stp38'] = 'Els connectors són una forma molt senzilla de personalitzar el vostre Piwigo. Poden fer moltes coses, des d\'afegir un petit text, fins al connector Community que permet als usuaris penjar fotos sense entrar a la part d\'administració.'; -$lang['first_contact_stp39'] = 'En aquesta primera pàgina hi ha llistats els connectors instal·lats. A la part de dalt hi ha llistats els connectors que estan actius i que s\'estan executant. A la part de baix hi ha els connectors que estan instal·lats a la carpeta /plugins, però que estan deshabilitats. La majoria dels connectors quan es deshabiliten mantenen la informació registrada pel propi connector. Quan s\'elimina un connector s\'elimina tota traça del connector (fitxers, opcions, etc). '; -$lang['first_contact_stp4'] = 'Primer escolliu un àlbum; creeu-ne un si encara no n\'hi ha cap.'; -$lang['first_contact_stp40'] = 'Ara em toca a mi! No em deshabilitis ara ja que podreu veure com Deshabilitar o Restaurar un connector activat. '; -$lang['first_contact_stp41'] = 'En l\'anterior pestanya heu pogut veure tots els connectors que estan habilitats per la vostra versió de Piwigo. N\'hi ha centenars!'; -$lang['first_contact_stp43'] = 'Aquesta exploració ha estat una mica llarga, però només hem vist una petita part de totes les característiques de Piwigo. Tot té un final i aquesta exploració preliminar s\'ha acabat.
Podeu descobrir més característiques de Piwigo agafant una altra exploració o llegint la documentació al lloc web de piwigo.org'; -$lang['first_contact_stp20'] = 'Quan el ratolí passa per sobre d\'un àlbum apareix la informació i els enllaços. Quan cliqueu i arrastreu un àlbum -un bloc arrodonit- podeu canviar la posició i més tard guardar o cancel·lar l\'ordre manual.'; -$lang['first_contact_stp19_b'] = 'Aquí hi ha un llistat dels àlbums \'arrel\''; -$lang['first_contact_stp12'] = 'després podeu editar-les emprant una acció'; \ No newline at end of file diff --git a/plugins/TakeATour/language/ca_ES/tour_privacy.lang.php b/plugins/TakeATour/language/ca_ES/tour_privacy.lang.php deleted file mode 100644 index 840ddacb1..000000000 --- a/plugins/TakeATour/language/ca_ES/tour_privacy.lang.php +++ /dev/null @@ -1,17 +0,0 @@ - Grups'; -$lang['privacy_title6'] = 'Nivell de privacitat'; -$lang['privacy_title7'] = 'Nivell de privacitat'; -$lang['privacy_title8'] = 'Nivell de privacitat'; -$lang['privacy_title9'] = 'Nivell de privacitat'; diff --git a/plugins/TakeATour/language/cs_CZ/description.txt b/plugins/TakeATour/language/cs_CZ/description.txt deleted file mode 100644 index f4cc39f6f..000000000 --- a/plugins/TakeATour/language/cs_CZ/description.txt +++ /dev/null @@ -1 +0,0 @@ -Prozkoumejte vlastnosti vaší Piwigo fotogalerie. Tento plugin obsahuje mnoho ukázek pro začátečníky a pokročilé uživatele. diff --git a/plugins/TakeATour/language/cs_CZ/index.php b/plugins/TakeATour/language/cs_CZ/index.php deleted file mode 100644 index db1eae0d9..000000000 --- a/plugins/TakeATour/language/cs_CZ/index.php +++ /dev/null @@ -1,33 +0,0 @@ - diff --git a/plugins/TakeATour/language/cs_CZ/plugin.lang.php b/plugins/TakeATour/language/cs_CZ/plugin.lang.php deleted file mode 100644 index 5ae18e604..000000000 --- a/plugins/TakeATour/language/cs_CZ/plugin.lang.php +++ /dev/null @@ -1,15 +0,0 @@ -
Spusťte ukázku níže, poté následujte instrukce. Klikněte na Další/Předchozí (nebo lze použít tlačítka šipek na vaší pc klávesnici) pro posun v průběhu ukázky. Když si prohlížíte ukázku, pokud přejdete na jinou stránku administrace, budete přesměrováni zpět na aktuální stránku ukázky. Pokud nechcete pokračovat a nemůžete ukončit ukázku, přejděte na Pluginy » Take A Tour což ukončí probíhající ukázku.'; -$lang['takeatour_configpage'] = 'Prohlédni si » Seznam ukázek'; -$lang['Prev'] = 'Předchozí'; -$lang['Next '] = 'Další'; -$lang['End tour'] = 'Konec ukázky'; -$lang['First Contact'] = 'První Kontakt'; -$lang['first_contact_descrp'] = 'Doporučené pro začátečníky, tato ukázka vás seznámí s Piwigo a jeho základními funkcemi. Na začátek vás tato ukázka seznámí zejména s tím jak přidávat fotky a spravovat je. Ukázka končí prací kolem správy album a úpravami jeho základního nastavení, šablon vzhledu a modulů.'; -$lang['2.7 Tour'] = 'Ukázka 2.7'; -$lang['2_7_0_descrp'] = 'Zjisti co je nového v Piwigo 2.7'; -$lang['Privacy'] = 'Soukromí'; -$lang['privacy_descrp'] = 'Tato ukázka prezentuje vše okolo ochrany vašich fotografií před veřejným přístupem díky možnostem nastavit oprávnění pro přístup na každé album a fotku a zamezení snadnému kopírování použitím aktivní ochrany obrázků.'; diff --git a/plugins/TakeATour/language/cs_CZ/tour_2_7_0.lang.php b/plugins/TakeATour/language/cs_CZ/tour_2_7_0.lang.php deleted file mode 100644 index dac805663..000000000 --- a/plugins/TakeATour/language/cs_CZ/tour_2_7_0.lang.php +++ /dev/null @@ -1,23 +0,0 @@ -Seznam nejdete Pluginy » Take A Tour'; -$lang['2_7_0_title4'] = 'Vyhledávač'; -$lang['2_7_0_stp4'] = 'Stránka s vyhledáváním byla přepracována: možnost zvolit určité dopady a klíčová slova na které je brán zvýšený důraz při vyhledávání, seznam autorů v databázi, auto-doplnění ze seznamu štítků, auto-doplnění ze seznamu alb...'; -$lang['2_7_0_title5'] = 'Čas'; -$lang['2_7_0_stp5'] = 'Nyní lze nastavit datum a čas v minutách a hodinách pomocí posuvníku'; -$lang['2_7_0_title6'] = 'Volby pro výběr'; -$lang['2_7_0_stp6'] = 'Bloky pro výběr album, štítků, atd. byli změněny na nový více pro uživatele přívětivý. Otestujte níže'; -$lang['2_7_0_title7'] = 'Řazení alb podle datum'; -$lang['2_7_0_stp7'] = 'Nyní lze seřadit alba na základě data vytvoření fotek a nebo podle data uveřejnění'; -$lang['2_7_0_title8'] = 'Vyprazdnění výběru'; -$lang['2_7_0_stp8'] = 'Snadný rychlý odkaz pro vyprázdnění výběru na jedno kliknutí.'; -$lang['2_7_0_title9'] = 'Vyhledávací filtr'; -$lang['2_7_0_stp9'] = 'Filtr byl implentován do batch manageru. Umí nyní vyhledávat pomocí datum, štítků, rozlišení, názvu souboru a také umožňuje volby logického typu zcela souhlasí, a/nebo, množiny, vyloučení. Můžete si přečíst detailní popis později. Stejné možnosti nyní nabízí také samotné pole pro veřejné vyhledávání na webu v menu.'; -$lang['2_7_0_title10'] = 'Filtr podle velikosti souboru'; -$lang['2_7_0_stp10'] = 'Filtr podle velikosti souboru byl také přidán do batch manageru. Lze zvolit rozsah od min a max a opačně.'; -$lang['2_7_0_title11'] = 'Naviděnou u další verze!'; -$lang['2_7_0_stp11'] = 'Tato ukázka skončila.

Užijte si vaše nové Piwigo 2.7!

Pokud jste si oblíbili fotogalerii Piwigo a chcete nám pomoci, můžete přispět do jeho překladu do češtiny nebo také přispět finančně, apod. KLikněte pro možnosti jak nám pomoci Děkujeme!'; -$lang['2_7_0_title2b'] = 'Nový upload formulář'; -$lang['2_7_0_stp2b'] = 'Nový formulář pro import souborů fotografií v Piwigo 2.7 je vytvořen na technologii HTML5 a předtím byl použit Flash, což má jednu podstatnou výhodu v lepší kompatibilitě s novými typy prohlížečů zejména na mobilních zařízeních. Soubory lze vkládat pouhým přetažením z vaší pracovní plochy diky fci drag & drop která umožní pohodlnější označení a vložení vícero fotografií najednou!'; \ No newline at end of file diff --git a/plugins/TakeATour/language/cs_CZ/tour_first_contact.lang.php b/plugins/TakeATour/language/cs_CZ/tour_first_contact.lang.php deleted file mode 100644 index 3870df6eb..000000000 --- a/plugins/TakeATour/language/cs_CZ/tour_first_contact.lang.php +++ /dev/null @@ -1,76 +0,0 @@ -Pluginy » Take A Tour což ukončí prohlídku.
Nyní můžete začít vkládat fotografie!'; -$lang['first_contact_title2'] = ''; -$lang['first_contact_stp2'] = 'Odkaz je tady. Klikněte na něj nebo klikněte na Další k ukončení prohlídky'; -$lang['first_contact_title3'] = 'Vložení fotografií'; -$lang['first_contact_stp3'] = 'Tato první záložka je tam kde se dají vkládat fotografie přímo skrze váš prohlížeč následující záložky jsou o dalších možnostech vkládání fotek'; -$lang['first_contact_title4'] = 'Jak vložit fotku!'; -$lang['first_contact_stp4'] = 'Zaprvé vyběrte album; případně si jedno vytvořte pokud zatím žádné nemáte.'; -$lang['first_contact_title5'] = ''; -$lang['first_contact_stp5'] = 'Nyní klikněte na tlačítko pro výběr fotek k vložení nebo je jen pomocí chyť a pust přetáhnete do okna z vašeho PC.'; -$lang['first_contact_title6'] = ''; -$lang['first_contact_stp6'] = 'Nyní vidéte že se tyto fotografie vložili do seznamu. Pokud už jste vložili všechny fotky kliknete na Upload'; -$lang['first_contact_title7'] = ''; -$lang['first_contact_stp7'] = 'Zde je výpis všech vložených fotek. Vidíte zároveň jejich náhledy. Můžete:
  • spravovat všechny fotky skrze Batch Manager
  • editovat vlastnosti fotek kliknutím na ně
  • vkládat další fotky
'; -$lang['first_contact_title8'] = ''; -$lang['first_contact_stp8'] = 'Upravte je! Klikněte na odkaz.'; -$lang['first_contact_title9'] = 'Batch Manager'; -$lang['first_contact_stp9'] = 'Nyní jste v Batch Manažerovi, kde můžete hromadně upravovat množství fotek.

Zde je nastaven předfitlr pro "Košík" protože jsme přišli ze stránky pro upload fotek.'; -$lang['first_contact_title10'] = ''; -$lang['first_contact_stp10'] = 'Zde je odkaz na přímý vstup do košíku: což je nástroj pro správce pro snazší práci s fotkami ve chvíli kdy je prohlížíte přímo na webuv album a zároveň je chcete editovat v Batch Manageru.

Můžete vkládat fotky do košíku z veřejné části galerie po přihloášení jako administrátor nebo použít tlačítko "Vložit do kočíku" v Batch Manažeru.'; -$lang['first_contact_title11'] = 'Jak editovat fotku'; -$lang['first_contact_stp11'] = 'Odtud můžete vybrat jednu nebo více fotek'; -$lang['first_contact_title12'] = ''; -$lang['first_contact_stp12'] = 'pak je upravte použitím této akce'; -$lang['first_contact_title13'] = ''; -$lang['first_contact_stp13'] = 'Lze upravit popisek a ještě více díky batch manageru v základním módu. Ale nyní, zůstaneme u rozšířeného módu'; -$lang['first_contact_title14'] = ''; -$lang['first_contact_stp14'] = 'Zde vidíte stránku pro editaci jedné fotky. Tato stránka je dostupná odtud ale i z veřejné části galerie po přihlášení se jako správce.

Najeďte na náhled fotky a klikněte na editovat.'; -$lang['first_contact_title15'] = 'Stránka pro úpravu fotky'; -$lang['first_contact_stp15'] = 'na této stránce můžete editovat veškeré vlastnosti fotky, pro ukázku...'; -$lang['first_contact_title16'] = ''; -$lang['first_contact_stp16'] = '...ve kterém album je fotka zařazena.

Takže zde přidávat nebo odebírat fotky z alb. Odkaz je virtuální, žádné fotky tedy nejsou fyzicky přesouvány jinam.'; -$lang['first_contact_title17'] = ''; -$lang['first_contact_stp17'] = 'Zde můžete nastavit fotku jako náhled pro jedno nebo více vašich fotoalb. Fotku nelze použít pro přiřazení k album jako jeho náhled. Pokud je fotka přiřazena k album, je jednodušší nastavit fotku jako náhled pro album z veřejné části ve správě fotky (tip: použijte plugin Admin Tools pro ještě větší zjednodušení).'; -$lang['first_contact_title18'] = 'Správa alb'; -$lang['first_contact_stp18'] = 'Zde se podívejte jak spravovat alba. Nyní klikněte na album » Upravit nebo klikněte na Další'; -$lang['first_contact_title19'] = 'Správa alb'; -$lang['first_contact_stp19'] = 'Zde jsou vypsány všechna \'root\' alba. Pokud vidíte album s barevným pozadím, znamená to fyzické album s FTP synchronizací. Fyzické album nemůže být přesunuto nebo odstraněno. Ostatní jsou nazývána jako virtuální alba.'; -$lang['first_contact_stp19_b'] = 'Zde jsou vypsány všechna \'root\' alba.'; -$lang['first_contact_title20'] = 'Správa alb'; -$lang['first_contact_stp20'] = 'Když přejedete ukazatelem myši přez album, zobrzaí se odkazy a informace o něm. Když uchopíte myší album -zaoblený blok-, můžete upravit jeho umístění a poté uložit nebo ukončit váš ruční výběr.'; -$lang['first_contact_title21'] = 'Další záložka'; -$lang['first_contact_stp21'] = 'Další záložka je stánka můžete přesunout libovolné virtuální album.
Tabulka odkazů nastavuje pro každé album url odkaz.
Ale teď editujte album: klikněte na Editace alba'; -$lang['first_contact_title22'] = 'Stránka Editace Album'; -$lang['first_contact_stp22'] = 'Podobně jako na stránce pro editace fotek zde můžete nastavovat vlastnosti album'; -$lang['first_contact_title23'] = ''; -$lang['first_contact_stp23'] = 'Uzamčení album znamení že je přístupné jen správci: to je dobré když teprve do alba vkládáte fotky než ho tzv. uvěřejníte'; -$lang['first_contact_title28'] = 'Konfigurace'; -$lang['first_contact_stp28'] = 'Nyní se podíváme na dostupné volby pro nastavení Piwiga. Klikněte na Konfiguraci->Možnosti nebo prostě klikněte na Další.'; -$lang['first_contact_title29'] = 'Konfigurace » Možnosti » Výchozí'; -$lang['first_contact_stp29'] = 'Zde, na této první straně, můžete nastavit základní a výchozí konfiguraci vaší galerie.'; -$lang['first_contact_title30'] = ''; -$lang['first_contact_stp30'] = 'Zkuste začít změnou názvu galerie'; -$lang['first_contact_title31'] = ''; -$lang['first_contact_stp31'] = 'Pak se lišta co se zobrazuje nahoře na každé stránce. Jak můžete vidět, HTML štítky jsou tady. Také lze použít %gallery_title% štítek pro zobrazení nadpisu který jste zadávali dříve.'; -$lang['first_contact_title32'] = ''; -$lang['first_contact_stp32'] = 'Uložte vaše úpravy'; -$lang['first_contact_title33'] = 'Nastavení návštěvníků'; -$lang['first_contact_stp33'] = 'Na závěr k možnostem nastavení, tzv. \'Nastavení návštěvníků\' stránka slouží pro nastavení parametrů pro nezaregistrované kolemjdoucí návštěvníky vaší galerie. Pokaždé když Piwigo odkazuje na \'guest\' takt o znamená nepřihlášeného návštěvníka.
Nyní skončíme s konfiguracemi: Klikněte na Konfigurace » Šablony nebo jen klikněte na Další.'; -$lang['first_contact_title34'] = 'Šablony'; -$lang['first_contact_stp34'] = 'Výběr vzhledu je první krok pro vaše přizpůsobení si Piwigo. Nainstalované vzhledy jsou na seznamu tady.
Jen jedna šablona může být aktivní: uživatelé mohou vybírat ze šablon které jsou zde, pokud je vloba \'Povolit uživatelské přízpůsobení\' aktivní na stránce Možností.'; -$lang['first_contact_title35'] = 'Šablony'; -$lang['first_contact_stp35'] = 'Nastavte si vaši oblíbenou šablonu vzhledu.'; -$lang['first_contact_title37'] = 'Šablony'; -$lang['first_contact_stp37'] = 'Pro instalaci nových šablon, je lze přímo stáhnout ze záložky \'Přidat šablonu\'. Jen šablony označené jako kompatibilní s vaší nynější verzí Piwigo jsou zobrazeny.

Tak a nyní objevte moduly! Klikněte na Pluginy » Správa'; -$lang['first_contact_title38'] = 'Pluginy'; -$lang['first_contact_stp38'] = 'Pluginy jsou snadnou cestou jak rozšířit funkce vašeho Piwiga. Umí mnoho různých věcí od malých úprav po velmi složité funkce, třeba jako Community plugin který umožní ne-administratorům možnost přidávání fotek bez nutnosti se přihlásit jako správce.'; -$lang['first_contact_title39'] = 'Pluginy'; -$lang['first_contact_stp39'] = 'Na této první stránce jsou zobrazeny nainstalované pluginy.

Nahoře jsou vypsány aktivované pluginy, a jejich funkce lze ihned používat.

Pod nimi následnují pluginy které jsou k dispozici ale nejsou nyní aktivovány.

Odstraněním pluginu dojde k odstranění nejen nastavení, ale i jeho dat a souborů. Pro většinu pluginů platí, že pouhou deaktivací tedy nikoliv vymazáním dojde k zachování jejich nastavení a dat která obsahují.'; -$lang['first_contact_title40'] = ''; -$lang['first_contact_stp40'] = 'Tady jsem já! Nyní mě nedeaktivujte, ale vidíte že můžete Deaktivovat nebo Obnovit plugin.'; -$lang['first_contact_title41'] = ''; -$lang['first_contact_stp41'] = 'Můžete vidět na poslední záložce všechny dostupné pluginy pro vaši věrzi Piwigo. Stovky pluginů jsou zde!'; -$lang['first_contact_title43'] = 'A to je konec'; -$lang['first_contact_stp43'] = 'Tahle ukázka byla docela dlouhá, ale přesto jste viděli jen malou část toho co vše Piwigo umí. Vše jednou skončí a tato ukázka je u konce.

Můžete se podívat hlouěji na možnosti Piwigo galerie shlédnutím další ukázky nebo čtením naší dokumentace v AJ na piwigo.org webu.

Také lze použít odkaz na nápovědu Help nahoře v pravém rohu na každé stránce administrace.

Používejte vaše Piwigo!

'; diff --git a/plugins/TakeATour/language/da_DK/description.txt b/plugins/TakeATour/language/da_DK/description.txt deleted file mode 100755 index a214b94b2..000000000 --- a/plugins/TakeATour/language/da_DK/description.txt +++ /dev/null @@ -1 +0,0 @@ -Besøg din Piwogo for at opdage dens muligheder. Plugin'en har flere tematiske udflugter for begyndere og avancerede brugere. \ No newline at end of file diff --git a/plugins/TakeATour/language/da_DK/index.php b/plugins/TakeATour/language/da_DK/index.php deleted file mode 100644 index ec6605317..000000000 --- a/plugins/TakeATour/language/da_DK/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/plugins/TakeATour/language/da_DK/plugin.lang.php b/plugins/TakeATour/language/da_DK/plugin.lang.php deleted file mode 100755 index bf0bf37d0..000000000 --- a/plugins/TakeATour/language/da_DK/plugin.lang.php +++ /dev/null @@ -1,39 +0,0 @@ -Start udflugten herunder, følg dernæst vejledningen. Klik Næste/Foregående (eller anvend pilene på dit tastatur) for at navigere under udflugten. Hvis du går til en anden administrationsside under udflugten, vil du blive stillet videre til dens aktuelle side. Hvis du er kørt fast og ikke kan afslutte udflugten, vil den blive afsluttet ved at gå til Plugins » Take A Tour.'; -$lang['Start the Tour'] = 'Start udflugten'; -$lang['Take a tour and discover the features of your Piwigo gallery » Go to the available tours'] = 'Tag på en udflugt og opdag hvordan dit Piwigo-galleri fungerer » Gå til tilgængelige udflugter'; -$lang['Visit your Piwigo!'] = 'Besøg din Piwigo!'; -$lang['takeatour_configpage'] = 'Take A Tour » Udflugtsliste'; -$lang['End tour'] = 'Afslut udflugt'; -$lang['Next '] = 'Næste'; -$lang['Prev'] = 'Forrige'; - -$lang['First Contact'] = 'Indledning'; -$lang['first_contact_descrp'] = 'Udflugten, som er anbefalet til begyndere, gør dig bekendt med Piwigo og de grundlæggende funktioner. Den begynder med at tilføje billeder og fortsætter med håndteringen af dem. Udflugten går videre med håndtering af album og tilladelser, og den slutter med tilpasning ved hjælp af opsætningensiden, temaerne og plugins.'; - -$lang['2.7 Tour'] = 'Udflugt i 2.7'; -$lang['2_7_0_descrp'] = 'Opdag nyhederne i Piwigo 2.7'; - -$lang['privacy_descrp'] = 'Denne udflugt præsenterer dig for alle de måder, du kan beskytte et fotografi mod offentlig adgang ved hjælp af rettighedssysteer pr. album og pr. billede, og mod kopiering ved hjælp af billedbeskyttelser.'; -$lang['Privacy'] = 'Privatliv'; \ No newline at end of file diff --git a/plugins/TakeATour/language/da_DK/tour_2_7_0.lang.php b/plugins/TakeATour/language/da_DK/tour_2_7_0.lang.php deleted file mode 100644 index b3f5ee826..000000000 --- a/plugins/TakeATour/language/da_DK/tour_2_7_0.lang.php +++ /dev/null @@ -1,23 +0,0 @@ -God fornøjelse med Piwigo 2.7!

Hvis du kan lide Piwigo og ønsker at støtte os, kan du bidrage ved at hjælpe med oversættelser, donationer, osv. Klik her for at støtte os'; -$lang['2_7_0_stp2'] = 'Som du kan se, er der tilføjet en ny standardplugin: Take A Tour (Tag på en udflugt). Plugin\'en hjælper dig med at udforske din Piwigo. Her er alle tilgængelige udflugter opremset.
Siden er tilgængelig under Plugins » Take A Tour'; -$lang['2_7_0_title1'] = 'Velkommen i Piwigo 2.7'; -$lang['2_7_0_title11'] = 'Vi ses snart igen!'; -$lang['2_7_0_title2'] = 'Første nye funktion'; -$lang['2_7_0_stp10'] = 'Et filer på filstørrelser er også føjet til Batch Manager. Man kan vælge et interval med en minimum- og en maksimumværdi.'; -$lang['2_7_0_stp2b'] = 'Den nye uploadformular i Piwigo 2.7 er baseret på HTML5 i stedet for Flash, hvilket betyder bedre kompatibilitet med moderne webbrowsere foruden en forøget pålidelighed på langsomme forbindelser. Desuden vil træk og slip gøre det meget lettere at vælge fotografier fra ens filbrowser!'; -$lang['2_7_0_stp7'] = 'Man kan nu sortere sine albummer baseret på fotografiernes optagelsesdato eller offentliggørelsedato.'; -$lang['2_7_0_stp8'] = 'Med et let handlingslink an kurven nu tømmes med et enkelt klik.'; -$lang['2_7_0_stp9'] = 'Et søgefilter er tilføjet til Batch Manager. Det leveres med en stærk syntaks til at fotosøgning efter datoer, tags, størrelse, filnavn og har desuden søgevalgmulighedner så som præcist sammenfald, AND/OR, grupering, fravalgt. Senere kan du læse den detaljerede hjælp. Den samme syntaks anvendes i feltet til hurtigsøgning i den offentlige sidemenu.'; -$lang['2_7_0_title10'] = 'Filstørrelsesfilter'; -$lang['2_7_0_title2b'] = 'Ny uploadformular'; -$lang['2_7_0_title7'] = 'Sorter albummer efter dato'; -$lang['2_7_0_title8'] = 'Tøm din kurv'; -$lang['2_7_0_title9'] = 'Søgefilter'; \ No newline at end of file diff --git a/plugins/TakeATour/language/da_DK/tour_first_contact.lang.php b/plugins/TakeATour/language/da_DK/tour_first_contact.lang.php deleted file mode 100644 index 2ed811284..000000000 --- a/plugins/TakeATour/language/da_DK/tour_first_contact.lang.php +++ /dev/null @@ -1,76 +0,0 @@ -Plugins » Take A Tour.
Lad os begynde med at tilføje billeder!'; -$lang['first_contact_stp10'] = 'Her er et link, som du direkte kan tilgå din kurv med: Det er et værktøj til administratorer, som gør det let at tilføje billeder til et sæt, hvis man ønsker at redigere dem i Batch Manager. Du kan tilføje billeder til kurven fra den offentlige billedside, når du er logget på som administrator, eller benytte handlingen \"Føj til kurv\" i Batch Manager'; -$lang['first_contact_stp11'] = 'Det vil sige, at du herfra kan vælge et eller flere fotografier'; -$lang['first_contact_stp13'] = 'Du kan redigere beskrivelser og mere fra Batch Manager i enhedstilstand. Men lige nu bliver vi i den gloable tilstand'; -$lang['first_contact_stp14'] = 'Du ser et enkelt billedes redigeringsside. Siden er tilgængelig herfra, men også fra den offentlige billedside, når man er logget på som administrator. Klik på Rediger og gå til næste punkt'; -$lang['first_contact_stp15'] = 'På den side kan du redigere alle et billedes egenskaber, eksempelvis ...'; -$lang['first_contact_stp16'] = '... i hvilke(t) album(mer) fotografiet befinder sig.

Her kan du tilføje eller fjerne fotografiet fra albummer. Linket er virtuelt, ingen fotografier vil nogensinde blive fjernet fysisk.'; -$lang['first_contact_stp2'] = 'Linket er her. Klik på Næste for at fortsætte'; -$lang['first_contact_stp20'] = 'Når din mus svæver over et album, viser links og oplysninger sig. Når du trækker og slipper et album - en blok med afrundede hjørner - ændrer du dets placering og du kan dernæst gemme eller annullere din manuelle rækkefølge.'; -$lang['first_contact_stp6'] = 'Du kan se, at fotografier opremses. Tilføj mindst to fotografier, og når de er klar, så klik på knappen Start upload'; -$lang['first_contact_stp7'] = 'Her er et resume af dine uploadede billeder. Bemærk at Piwigo af sig selv har genereret miniaturebillederne. Du kan nu tilføjet flere fotografier ved hjælp af linket nederst, redigere et billedes egenskaber ved at klikke på det eller klikke for at håndtere alle uploadede billeder i Batch Manager...'; -$lang['first_contact_stp8'] = 'Lad os redigere dem! Klik på linket.'; -$lang['first_contact_stp9'] = 'Du er nu i Batch Manager, hvor man kan masseredigere flere billeder.

Her er Kurven opsat som et filter, fordi vi kommer fra siden med uploadresultatet.'; -$lang['first_contact_stp40'] = 'Hov, det er mig! Deaktiver mig ikke nu, men den kan se, at en aktiveret plugin både kan deaktiveres og genaktiveres.'; -$lang['first_contact_stp41'] = 'På den sidste fane ser man alle tilgængelige plugins til din version af Piwigo. Der er hundredvis af plugins!'; -$lang['first_contact_stp43'] = 'Udflugten var ganske lang, og alligevel har vi kun set en lille del af alt det Piwigo kan. Alt må slutte et sted, og denne gennemgang er færdig.

Du kan udforske Piwigos funktionalitet meget grundigere, ved at tage på en anden udflugt eller ved at læse vores dokumentation på hjemmesiden piwigo.org.

Glem ikke Hjælp-linket øverst til højre på alle administrationssider.

God fornøjelse med din Piwigo!

'; -$lang['first_contact_stp38'] = 'Med plugins er det meget let at tilpasse din Piwigo. De kan næsten alt, hvad man kan forestille sig, fra som teksttilføjelser til komplet funktionalitet, så som Community-plugin\'en, der gør det muligt for brugere, der ikke er administratorer, at uploade uden at gå ind i administrationsdelen.'; -$lang['first_contact_stp39'] = 'På den første side er de installerede plugins opremset. Øverst vises de aktive plugins, det vil sige dem der pt. kører. I bunden vises de plugins, som er installeret i /plugin-mappen, men som er deaktiveret. Slettes en plugin, betyder det at ethvert spor af den bliver fjernet (filer, valgmuligheder, osv.). Ved de fleste plugins bevares dens data, hvis den deaktiveres.'; -$lang['first_contact_stp4'] = 'Vælg først et album, opret et hvis der endnu ikke er nogen.'; -$lang['first_contact_stp37'] = 'For at installere nye temaer, kan de downloade dem direkte fra fanen "Tilføj et tema". Kun temaer markeret som kompatible med din version af Piwigo, bliver vist.
Lad os nu udforske plugins! Klik på Plugins -> Håndter'; -$lang['first_contact_title43'] = 'Det har været hyggeligt'; -$lang['first_contact_title9'] = 'Batch Manager'; -$lang['first_contact_title33'] = 'Gæsteindstillinger'; -$lang['first_contact_title34'] = 'Temaer'; -$lang['first_contact_title35'] = 'Temaer'; -$lang['first_contact_title37'] = 'Temaer'; -$lang['first_contact_title38'] = 'Plugins'; -$lang['first_contact_title39'] = 'Plugins'; -$lang['first_contact_title4'] = 'Lad os tilføje et fotografi!'; -$lang['first_contact_title15'] = 'Redigering af et fotografi'; -$lang['first_contact_title18'] = 'Håndtering af albummer'; -$lang['first_contact_title19'] = 'Håndtering af albummer'; -$lang['first_contact_title20'] = 'Håndtering af albummer'; -$lang['first_contact_title21'] = 'Andre faner'; -$lang['first_contact_title22'] = 'Side til redigering af album'; -$lang['first_contact_title28'] = 'Opsætning'; -$lang['first_contact_title29'] = 'Opsætning » Valgmuligheder » Generelt'; -$lang['first_contact_title3'] = 'Side til tilføjelse af fotografier'; -$lang['first_contact_title1'] = 'Velkommen i dit Piwigo-galleri'; -$lang['first_contact_title11'] = 'Hvordan et fotografi redigeres'; -$lang['first_contact_stp33'] = 'Lige et sidste ord om valgmulighederne, siden "Gæsteindstillinger" er beregnet til at opsættes ikke-registrerede brugeres præferencer. Hver gang Piwigo refererer til "guest", betyder det ikke-registerede brugere.
Lad os fortsætte med Opsætning: klik på Opsætning -> Temaer eller klik blot på Næste. '; -$lang['first_contact_stp28'] = 'Nu tager vi et kig på de valgmuligheder, som er tilgængelige for at opsætte Piwigo til at fungere på din måde. Klik på Opsætning -> Valgmuligheder eller klik blot på Næste.'; -$lang['first_contact_stp29'] = 'Her på den første side, opsættes de afgørende og grundlæggende valgmuligheder i dit galleri.'; -$lang['first_contact_stp3'] = 'Den første fane er hvor du tilføjer fotografier direkte fra din browser. De andre faner handler om andre måder, at overføre fotografier på'; -$lang['first_contact_stp30'] = 'Lad os begynde med at ændre titlen'; -$lang['first_contact_stp31'] = 'Dernæst banneret, som vises på toppen af alle sider. Som du kan se, er HTML-tags tilladt her. Du kan også anvende tag\'et %gallery_title% for at vise titlen, du netop skrev herover.'; -$lang['first_contact_stp32'] = 'Gem nu dine ændringer'; -$lang['first_contact_stp22'] = 'Som ved billeder, kan man her redigere et albums egenskaber'; -$lang['first_contact_stp23'] = 'Låsning af et album betyder, at kun administratorer vil have mulighed for at se albummet: det benyttes normalt når en administrator ændrer på et albums egenskaber eller ikke ønsker at offentliggøre albummet med det samme'; -$lang['first_contact_title10'] = ''; -$lang['first_contact_title12'] = ''; -$lang['first_contact_title13'] = ''; -$lang['first_contact_title14'] = ''; -$lang['first_contact_title16'] = ''; -$lang['first_contact_title17'] = ''; -$lang['first_contact_title2'] = ''; -$lang['first_contact_title23'] = ''; -$lang['first_contact_title30'] = ''; -$lang['first_contact_title31'] = ''; -$lang['first_contact_title32'] = ''; -$lang['first_contact_title40'] = ''; -$lang['first_contact_title41'] = ''; -$lang['first_contact_title5'] = ''; -$lang['first_contact_title6'] = ''; -$lang['first_contact_title7'] = ''; -$lang['first_contact_title8'] = ''; -$lang['first_contact_stp5'] = 'Klik dernæst på knappen for at vælge hvilke fotografier, der skal sendes, eller træk og slip blot filerne.'; -$lang['first_contact_stp34'] = 'Valg af tema er første skridt i tilpasning af Piwigo. Installerede temaer opremses her.
Mere end ét tema kan være aktiveret: brugere kan ændre deres tema ved at vælge blandt dem, der er aktiveret her, hvis \'Tillad brugertilpasning\' er valgt på valgmulighedssiden.'; -$lang['first_contact_stp35'] = 'Opsæt dit yndlingstema som standardtema.'; -$lang['first_contact_stp17'] = 'Her opsættes fotografiet som miniaturebillede til et eller flere albummer. Fotografiet behøver ikke at være knyttet til albummet, for at blive dets miniaturebillede. Hvis fotografiet er tilknyttet albummet, er det endnu lettere at opsætte det som albummets miniaturebillede fra fotografiets offentlige side (tip: anvend plugin\'en Admin Tools for at gøre det endnu lettere).'; -$lang['first_contact_stp18'] = 'Lad os nu se på hvordan man håndterer albummer. Klik på Album » Håndter eller tryk på Næste'; -$lang['first_contact_stp19'] = 'Her opremses \'rod\'-albummer. Hvis du ser et album med en punkteret baggrund, betyder det at det er et fysisk album fra en ftp-synkronisering. Fysiske albummer kan ikke flyttes eller slettes herfra. De andre albummer kaldes virtuelle albummer.'; -$lang['first_contact_stp19_b'] = 'Her opremses \'rod\'-albummer.'; -$lang['first_contact_stp21'] = 'Det næste faneblad er en side, hvor man kan flytte ethvert virtuelt album.
Parmalink-fanebladet er opsæt til en bestemt URL til et album.
Men lad os redigere et album: klik på Rediger ved et album'; -$lang['first_contact_stp12'] = 'og rediger dem dernæst ved hjælp af en handling'; diff --git a/plugins/TakeATour/language/da_DK/tour_privacy.lang.php b/plugins/TakeATour/language/da_DK/tour_privacy.lang.php deleted file mode 100644 index 970e5b8f9..000000000 --- a/plugins/TakeATour/language/da_DK/tour_privacy.lang.php +++ /dev/null @@ -1,49 +0,0 @@ -
Lad mig nu introducere grupperne.'; -$lang['privacy_stp1'] = 'Hej! Jeg vil forklare dig, hvordan man beskytter sine billeder i Piwigo. Følg min vejledning, og klik på Næste (eller benyt pilene på dit tastatur) for at navigere. Hvis du skifter til en anden administrationsside, vil du blive sendt tilbage til udflugtens aktuelle side. Hvis du er kørt fast og ikke kan afslutte udflugten, vil udflugten blive afsluttet ved at skifte til Plugins » Tag på en udflugt.
Lad os komme i gang!'; -$lang['privacy_stp10'] = 'Vi er i håndteringen af albummer, som er tilgængelig fra menuen ved hjælp af Albummer » Håndtering

Rediger et album ved at lade musemarkøren svæve over det, og klik dernæst på Rediger.'; -$lang['privacy_stp11'] = 'Klik nu på fanebladet Rettigheder'; -$lang['privacy_stp12'] = 'På den side kan du vælge hvorvidt albummet skal være tilgængeligt for alle eller begrænset til nogle brugere'; -$lang['privacy_stp13'] = 'Klik nu på privat.'; -$lang['privacy_stp14'] = 'Herefter kan brugere og brugergrupper få tildelt adgang til et album.'; -$lang['privacy_stp15'] = 'Før grupperne forklares, er her et professionelt tip: Her er linket til en side, som opsættes som privat/offentlig for flere albummer på en gang. Klik på det'; -$lang['privacy_stp24'] = 'Udflugten er færdig.

God fornøjelse med din Piwigo!

Hvis du kan lide Piwigo, og ønsker at sætte os, kan du bidrage ved at hjælpe med oversættelser, økonomiske bidrag, osv. Klik her for at støtte os. Tak!'; -$lang['privacy_stp22'] = ' - -For avancerede brugere

I Piwigo kan du beskytte de oprindelige fotografier ved hjælp af din lokale opsætning. Anvend variablen $conf[\'original_url_protection\']: den er som standard tom, men kan opsættes til værdierne "images" for kun at beskytte billeder, eller "all" for også at beskytte alle former for medier, hvilket kan være ressourcekrævende eller det vil måske slet ikke fungere på din server.

Valgmulighedne fungerer på offentig tog privat indhold. I øjeblikket kræver valgmuligheden, at du nægter adgang til mapperne /upload og /galleries, ved at anvende en .htaccess-fil (normalt en tekstfil med "Deny from all" som indhold) eller via serveropsætningen.

Bemærk at filnavne på fotografier uploadet ved hjælp af andre metoder end ftp, er gjort tilfældige, så de er umulige at gætte: filnavnet og stien til det oprindelige fotografi, er kun kendt hvis den besøgende har adgang til en udgave af billedet med en andne størrelse, så som et miniaturebillede. $conf[\'original_url_protection\'] og nægtelse af adgang til mapperne /upload og /galleries har til formål at forhindre den situation. -'; -$lang['privacy_stp3'] = 'Brug et øjeblik på at læse oplysningerne herunder.'; -$lang['privacy_stp4'] = 'Så vi har to systemer til håndtering af adgangsrettigheder til billederne. De er uafhængige, så du kan oprette en gruppe kaldet Familie, men den gruppe har intet at gøre med privatlivsniveauet Familie.

Privatlivsniveauerne gælder pr. billede, og gruppe-/brugerrettigheder gælder pr. album. Du kan anvende begge dele eller kun det ene system; det er fleksibelt.

Det næste faneblad handler om gruppehåndtering.'; -$lang['privacy_stp5'] = 'Herunder forklares hvordan man håndterer grupper.
Disse rettigheder gælder kun adgang til billeder og albummer, når man kigger på den offentlige del eller ved hjælp af eksterne applikationer. Vi kigger senere på andre beskyttelsesmuligheder, men lad os nu øve os!'; -$lang['privacy_title21'] = 'Offentlige fotografier'; -$lang['privacy_title22'] = 'Lokal opsætning: Beskyttelse af original'; -$lang['privacy_title24'] = 'Det har været en hyggelig udflugt'; -$lang['privacy_title3'] = 'Rettigheder'; -$lang['privacy_title4'] = 'Rettigheder'; -$lang['privacy_title5'] = 'Rettigheder > Grupper'; -$lang['privacy_title6'] = 'Privatlivsniveau'; -$lang['privacy_title7'] = 'Privatlivsniveau'; -$lang['privacy_title8'] = 'Privatlivsniveau'; -$lang['privacy_title9'] = 'Privatlivsniveau'; -$lang['privacy_stp6'] = 'Når du uploader billeder, kan du samme sted ændre privatlivsniveauet på de uploadede billeder...'; -$lang['privacy_stp7'] = '... eller du kan gøre det senere, her i Batch Manager i Global tilstand.

Det er på siden Fotografier » Nye fotografier, så filteret "Seneste import" er opsat.'; -$lang['privacy_stp8'] = 'Vælg et eller flere billeder...'; -$lang['privacy_stp9'] = '... og vælg handlingen "Hvem kan se billederne?". Nu kan du ændre privatlivsniveauet på de valgte billeder.

Men du kan også gøre det for det specifikke billede, på dets redigeringsside. Du kan tilgå det fra den offentlige del, eller herfra.

Nu viser jeg dig det andet rettighedssystem, pr. album baseret på grupperne og brugerne.'; -$lang['privacy_title1'] = 'Velkommen til privatlivsudflugten'; -$lang['privacy_title10'] = 'Albumrettigheder'; -$lang['privacy_title11'] = 'Albumrettigheder'; -$lang['privacy_title12'] = 'Albumrettigheder'; -$lang['privacy_title15'] = 'Tip'; -$lang['privacy_title17'] = 'Grupper'; -$lang['privacy_title18'] = 'Grupper'; -$lang['privacy_title19'] = 'Brugere'; -$lang['privacy_title2'] = 'Hjælp inde i Piwigo'; -$lang['privacy_title20'] = 'Offentlige fotografier'; -$lang['privacy_stp17'] = 'En gruppe i Piwigo er bare en samling brugere: Så grupper gør det lettere at håndtere albummers rettigheder, og håndtering af brugeres egenskaber. Her er siden, hvor du kan håndtere grupper, omdøbe, sammenlægge, kopiere og slette. Du kan også opsætte en eller flere grupper som "standardgruppe", hvilket betyder at nyligt registrerede brugere vil blive påvirket af de grupper, som er opsat som standard.'; -$lang['privacy_stp18'] = 'For at tilføje eller fjerne brugere fra en gruppe, går man til siden Brugere » Håndtering'; -$lang['privacy_stp19'] = 'Her kan man hurtigt redigere en enkelt bruger, ved at lade musemarkøren svæve over vedkommende og dernæst klikke på Redigering-linket.

Du kan vælge flere brugere og redigere dem på samme tid, ved at vælge en Handling, som skal udføres.'; -$lang['privacy_stp2'] = 'Her kan du tilgå den integrerede hjælp. Klik på Næste for at fortsætte direkte til hjælpesiden om håndtering af rettigheder'; -$lang['privacy_stp20'] = 'Nu ved du hvordan dine fotografier holdes private, men måske spekulerer du på, hvordan dine offentlige fotografier beskyttes. Først kunne du overveje at forhindre besøgende i at downloade fotografierne; det er ikke muligt, fordi web\'et ikke er indrettet sådan (den besøgendes browser downloader alle viste ressourcer, og flere til). Højreklik kan slås fra, et tomt lag kan lægges oven på fotografiet osv, men det deaktiverer ikke download. Komplette websider kan gemmes af alle webbrowsere. '; -$lang['privacy_stp21'] = 'Nogle løsninger: