12 |
12 |
13 var enano_lang = { |
13 var enano_lang = { |
14 categories: [ |
14 categories: [ |
15 'adm', 'acl', 'adminusers', |
15 'adm', 'acl', 'adminusers', |
16 'acphome', 'acpgc', 'acpup', 'acpft', 'acppl', 'acppm', 'acped', 'acpdb', 'acppg', 'acpum', 'acpug', 'acpcp', 'acpmm', 'acpsl', 'acpbc', |
16 'acphome', 'acpgc', 'acpup', 'acpft', 'acppl', 'acppm', 'acped', 'acpdb', 'acppg', 'acpum', 'acpug', 'acpcp', 'acpmm', 'acpsl', 'acpbc', |
17 'acplo', |
17 'acplo', 'sbedit', |
18 ], |
18 ], |
19 strings: { |
19 strings: { |
20 meta: { |
20 meta: { |
21 adm: 'Administration panel nav menu', |
21 adm: 'Administration panel nav menu', |
22 acl: 'Access control list editor', |
22 acl: 'Access control list editor', |
34 acpcp: 'ACP: COPPA support', |
34 acpcp: 'ACP: COPPA support', |
35 acpmm: 'ACP: Mass e-mail', |
35 acpmm: 'ACP: Mass e-mail', |
36 acpsl: 'ACP: Security log', |
36 acpsl: 'ACP: Security log', |
37 acpbc: 'ACP: Ban control', |
37 acpbc: 'ACP: Ban control', |
38 acplo: 'ACP: Logout page', |
38 acplo: 'ACP: Logout page', |
|
39 sbedit: 'Sidebar editor', |
39 }, |
40 }, |
40 adm: { |
41 adm: { |
41 cat_general: 'General', |
42 cat_general: 'General', |
42 cat_content: 'Content', |
43 cat_content: 'Content', |
43 cat_appearance: 'Appearance', |
44 cat_appearance: 'Appearance', |
760 btn_create: 'Create new ban rule', |
761 btn_create: 'Create new ban rule', |
761 }, |
762 }, |
762 acplo: { |
763 acplo: { |
763 heading_main: 'You have now been logged out of the administration panel.', |
764 heading_main: 'You have now been logged out of the administration panel.', |
764 msg_logout_complete: 'You will continue to be logged into the website, but you will need to re-authenticate before you can access the administration panel again.</p><p>Return to the <a href="%mainpage_link%">Main Page</a>.', |
765 msg_logout_complete: 'You will continue to be logged into the website, but you will need to re-authenticate before you can access the administration panel again.</p><p>Return to the <a href="%mainpage_link%">Main Page</a>.', |
|
766 }, |
|
767 sbedit: { |
|
768 msg_order_update_success: 'The sidebar order information was updated successfully.', |
|
769 err_demo_php_disable: 'Adding PHP code blocks in the Enano administration demo has been disabled for security reasons.', |
|
770 msg_item_added: 'The item was added.', |
|
771 |
|
772 create_intro: 'What type of block should this be?', |
|
773 block_type_wiki: 'Wiki-formatted block', |
|
774 block_type_tpl: 'Template-formatted block (old pre-beta 3 behavior)', |
|
775 block_type_html: 'Raw HTML block', |
|
776 block_type_php: 'PHP code block (danger, Will Robinson!)', |
|
777 block_type_plugin: 'Use code from a plugin', |
|
778 field_block_title: 'Block title:', |
|
779 field_block_sidebar: 'Which sidebar:', |
|
780 field_block_sidebar_left: 'Left', |
|
781 field_block_sidebar_right: 'Right', |
|
782 field_wikitext: 'Wikitext:', |
|
783 field_tplcode: 'Template code:', |
|
784 field_html: 'HTML to place inside the sidebar:', |
|
785 field_php_disabled: 'Creating PHP blocks in demo mode is disabled for security reasons.', |
|
786 field_php: '<p> |
|
787 <b>WARNING:</b> If you don\'t know what you\'re doing, or if you are not fluent in PHP, stop now and choose a different block type. You will brick your Enano installation if you are not careful here. |
|
788 ALWAYS remember to write secure code! The Enano team is not responsible if someone drops all your tables because of an SQL injection vulnerability in your sidebar code. You are probably better off using the template-formatted block type. |
|
789 </p> |
|
790 <p> |
|
791 <span style="color: red;"> |
|
792 It is especially important to note that this code is NOT checked for errors! If there is a syntax error in your code here, it will prevent any pages from loading AT ALL. So you need to use an external PHP editor (like <a href="http://www.jedit.org">jEdit</a>) to check your syntax before you hit save. |
|
793 </span> You have been warned. |
|
794 </p> |
|
795 <p> |
|
796 Also, you should avoid using output buffering functions (ob_[start|end|get_contents|clean]) here, because Enano uses those to track output from this script. |
|
797 </p> |
|
798 <p> |
|
799 The standard <?php and ?> tags work here. Don\'t use an initial "<?php" or it will cause a parse error. |
|
800 </p> |
|
801 <p> |
|
802 PHP code: |
|
803 </p>', |
|
804 field_plugin: 'Plugin:', |
|
805 btn_create_block: 'Create new block', |
|
806 |
|
807 msg_block_moved: 'Item moved.', |
|
808 msg_block_deleted: 'Item deleted.', |
|
809 msg_plugin_not_loaded: 'Plugin isn\'t loaded', |
|
810 note_block_unnamed: 'Unnamed', |
|
811 hint_rename: 'Double-click to rename this block', |
|
812 note_block_disabled: '(disabled)', |
|
813 tip_disenable: 'Enable or disable this block', |
|
814 tip_edit: 'Edit the contents of this block', |
|
815 tip_delete: 'Permanently delete this block', |
|
816 tip_move: 'Move this block to the other sidebar', |
|
817 msg_delete_confirm: 'Do you really want to delete this block?', |
|
818 btn_revert: 'Revert', |
|
819 btn_create_new_stage1: 'Create new block', |
|
820 btn_main_page: 'Main Page', |
|
821 msg_cant_edit_plugin_title: 'This block cannot be edited.', |
|
822 msg_cant_edit_plugin_body: 'This is a plugin block, and cannot be edited. <%close_link%>Close</a>', |
|
823 btn_edit_save: 'save', |
|
824 btn_edit_cancel: 'cancel', |
|
825 msg_discard_confirm: 'Do you really want to discard your changes?', |
|
826 msg_discard_order_confirm: 'Do you really want to revert your changes?\nNote: this does not revert edits or deletions, those are saved as soon as you confirm the action.', |
765 } |
827 } |
766 } |
828 } |
767 }; |
829 }; |
768 |
830 |
769 // All done! :-) |
831 // All done! :-) |