Got Enano to load even if there are no plugins; added caching for decrypted session keys to significantly improve performance (in theory at least)
/*
* Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
* Version 1.1.1
* Copyright (C) 2006-2007 Dan Fuhry
*
* This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
*/
var enano_lang = {
categories: [
'meta', 'adm', 'acl', 'adminusers',
'acphome', 'acpgc', 'acpup', 'acpft', 'acppl', 'acppm', 'acped', 'acpdb', 'acplm', 'acppg', 'acpum', 'acpug', 'acpcp', 'acpmm', 'acpsl',
'acpbc', 'acplo', 'sbedit',
],
strings: {
meta: {
adm: 'Administration panel nav menu',
acl: 'Access control list editor',
acphome: 'ACP: Home',
acpgc: 'ACP: General configuration',
acpup: 'ACP: File uploads',
acpft: 'ACP: Allowed file types',
acppl: 'ACP: Manage plugins',
acpdb: 'ACP: Database backup',
acplm: 'ACP: Language manager',
acppm: 'ACP: Manage pages',
acped: 'ACP: Edit page content',
acppg: 'ACP: Page groups',
acpum: 'ACP: User management',
acpug: 'ACP: User group management',
acpcp: 'ACP: COPPA support',
acpmm: 'ACP: Mass e-mail',
acpsl: 'ACP: Security log',
acpbc: 'ACP: Ban control',
acplo: 'ACP: Logout page',
sbedit: 'Sidebar editor',
},
adm: {
page_tagline: 'Administer your Enano website.',
cat_general: 'General',
cat_content: 'Content',
cat_appearance: 'Appearance',
cat_users: 'Users',
cat_security: 'Security',
cat_plugins: 'Plugin configuration',
page_general_config: 'General configuration',
page_file_uploads: 'File uploads',
page_file_types: 'Allowed file types',
page_plugins: 'Manage plugins',
page_db_backup: 'Backup database',
page_lang_manager: 'Language manager',
page_manager: 'Manage pages',
page_editor: 'Edit page content',
page_pg_groups: 'Manage page groups',
page_themes: 'Manage themes',
page_users: 'Manage users',
page_user_groups: 'Edit user groups',
page_coppa: 'COPPA support',
page_mass_email: 'Mass e-mail',
page_security_log: 'Security log',
page_ban_control: 'Ban control',
btn_home: 'Administration panel home',
btn_logout: 'Log out of admin panel',
btn_keepalive_off: 'Turn on keep-alive',
btn_keepalive_on: 'Turn off keep-alive',
btn_keepalive_about: 'About keep-alive',
btn_keepalive_loading: 'Loading keep-alive button...',
err_not_auth_title: 'Error: Not authenticated',
err_not_auth_body: 'It looks like your administration session is invalid or you are not authorized to access this administration page. Please <a href="%login_link%">re-authenticate</a> to continue.',
},
acl: {
err_access_denied: 'You are not authorized to view or edit access control lists.',
err_missing_template: 'It seems that (a) the file acledit.tpl is missing from this theme, and (b) the JSON response is working.',
err_user_not_found: 'The username you entered was not found.',
err_bad_group_id: 'The group ID you submitted is not valid.',
err_demo: 'Editing access control lists is disabled in the administration demo.',
err_zero_list: 'Supplied rule list has a length of zero',
err_pleaseselect_targettype: 'Please select a target type.',
err_pleaseselect_username: 'Please enter a username.',
radio_usergroup: 'A usergroup',
radio_user: 'A specific user',
radio_scope_thispage: 'Only this page',
radio_scope_wholesite: 'The entire website',
radio_scope_pagegroup: 'A group of pages',
lbl_scope: 'What should this access rule control?',
lbl_welcome_title: 'Manage page access',
lbl_welcome_body: 'Please select who should be affected by this access rule.',
lbl_editwin_title_create: 'Create access rule',
lbl_editwin_title_edit: 'Editing permissions',
lbl_editwin_body: 'This panel allows you to edit what the %target_type% "<b>%target%</b>" can do on <b>%scope_type%</b>. Unless you set a permission to "Deny", these permissions may be overridden by other rules.',
lbl_deleterule: 'Delete this rule',
lbl_save_success_title: 'Permissions updated',
lbl_save_success_body: 'The permissions for %target_name% on this page have been updated successfully. If you changed permissions that affect your user account, you may not see changes until you reload the page.',
lbl_delete_success_title: 'Rule deleted',
lbl_delete_success_body: 'The access rules for %target_name% on this page have been deleted.',
lbl_field_inherit: 'Inherit',
lbl_field_deny: 'Deny',
lbl_field_disallow: 'Disallow',
lbl_field_wikimode: 'Wiki mode',
lbl_field_allow: 'Allow',
lbl_help: '<p>
<b>Permission types:</b>
</p>
<ul>
<li><b>Allow</b> means that the user is allowed to access the item</li>
<li><b>Wiki mode</b> means the user can access the item if wiki mode is active (per-page wiki mode is taken into account)</li>
<li><b>Disallow</b> means the user is denied access unless something allows it.</li>
<li><b>Deny</b> means that the user is denied access to the item. This setting overrides all other permissions.</li>
<li><b>Inherit</b> forces the permission to be unset and thus inherited from the defaults. Setting every permission to Inherit is the same as deleting the rule.</li>
</ul>',
scope_type_wholesite: 'this entire site',
scope_type_thispage: 'this page',
scope_type_pagegroup: 'this group of pages',
target_type_user: 'user',
target_type_group: 'group',
msg_guest_howto: 'To edit permissions for guests, select "a specific user", and enter Anonymous as the username.',
msg_deleterule_confirm: 'Do you really want to delete this rule?',
msg_closeacl_confirm: 'Do you really want to close the ACL manager?',
btn_success_dismiss: 'dismiss',
btn_success_close: 'close manager',
btn_deleterule: 'Delete rule',
btn_createrule: 'Create rule',
btn_returnto_editor: 'Return to ACL editor',
btn_returnto_userscope: 'Return to user/scope selection',
},
acphome: {
heading_main: 'Welcome to Runt, the Enano administration panel.',
welcome_line1: 'Thank you for choosing Enano as your CMS. This screen allows you to see some information about your website, plus some details about how your site is doing statistically.',
welcome_line2: 'Using the links on the left you can control every aspect of your website\'s look and feel, plus you can manage users, work with pages, and install plugins to make your Enano installation even better.',
msg_demo_title: 'Enano is running in demo mode.',
msg_demo_body: 'If you borked something up, or if you\'re done testing, you can <a href="%reset_url%">reset this site</a>. The site is reset automatically once every two hours. When a reset is performed, all custom modifications to the site are lost and replaced with default values.',
msg_install_files: '<b>NOTE:</b> It appears that your install.php and/or schema.sql files still exist. It is HIGHLY RECOMMENDED that you delete or rename these files, to prevent getting your server hacked.',
heading_updates: 'Check for updates',
msg_updates_info: 'Periodically, new releases of Enano will be made available. Click the button below to check for updates to Enano. During this process, a request will be sent to the Enano CMS server (germantown.enanocms.org) over HTTP for an <a href="%updates_url%">XML file</a> containing a list of the latest releases. No information about your Enano installation will be transmitted.',
btn_check_updates: 'Check for updates',
msg_inactive_users_one: 'It appears that 1 user is awaiting account activation. You can activate the account by going to the <a %um_flags%>User Manager</a>.',
msg_inactive_users_plural: 'It appears that %num_users% users are awaiting account activation. You can activate those accounts by going to the <a %um_flags%>User Manager</a>.',
heading_top_pages: 'Most requested pages',
th_toppages_page: 'Page',
th_toppages_hits: 'Hits',
heading_seclog: 'Security log',
msg_seclog_info: 'This list shows the 5 most recent actions/attempted actions performed by administrators on this site. This also includes attempts to view blocked pages and use the administration panel without appropriate privileges. You can view a complete list using the link below.',
btn_seclog_full: 'Full security log',
},
acpgc: {
err_avatar_dir_invalid: 'You have entered an invalid avatar directory.',
msg_save_success: 'Your changes to the site configuration have been saved.',
// Section: global site options
heading_main: 'Global site options',
heading_submain: 'These options control the entire site.',
field_site_name: 'Site name:',
field_site_desc: 'Site description:',
field_main_page: 'Main page:',
field_copyright: 'Copyright notice shown on pages:',
field_copyright_hint: 'Hint: If you\'re using Windows, you can make a "©" symbol by holding ALT and pressing 0169 on the numeric keypad.',
field_contactemail: 'Contact e-mail',
field_contactemail_hint: 'All e-mail sent from this site will appear to have come from the address shown here.',
// Section: wiki mode
heading_wikimode: 'Wiki mode',
field_wikimode_intro: 'Enano can also act as a wiki, meaning anyone can edit and create pages. To enable Wiki Mode, check the box to the right.',
field_wikimode_info_sanitize: 'In Wiki Mode, certain HTML tags such as <script> and <object> are disabled, and all PHP code is disabled, except if the person editing the page is an administrator.',
field_wikimode_info_history: 'Also, Enano keeps complete page history, which makes restoring vandalized pages easy. You can also protect pages so that they cannot be edited.',
field_wikimode: 'Enable Wiki Mode',
field_editnotice_title: 'Edit page notice',
field_editnotice_info: 'When Wiki Mode is enabled, anyone can edit pages. Check the box below and enter a message to display it whenever the page editor is opened. Administrators often use this field to display a legal disclaimer or a notice of what license the user agrees to submit their content under.',
field_editnotice: 'Show a message whenever pages are edited',
field_edit_require_captcha_title: 'Require visual confirmation for guests editing pages',
field_edit_require_captcha_hint: 'If this is enabled, guests will be asked to enter a visual confirmation code before saving changes to a page.',
field_edit_require_captcha: 'Require guests to complete a CAPTCHA when editing pages',
// Section: statistics and hit counting
heading_stats: 'Statistics and hit counting',
stats_intro: 'Enano has the ability to show statistics for every page on the site. This allows you to keep very close track of who is visiting your site, and from where.',
stats_hint_privacy: 'Unfortunately, some users don\'t like being logged. For this reason, you should state clearly what is logged (usually the username or IP address, current time, page name, and referer URL) in your privacy policy. If your site is primarily geared towards children, and you are a United States citizen, you are required to have a privacy policy stating exactly what is being logged under the terms of the Childrens\' Online Privacy Protection Act.',
field_stats_enable: 'Log all page hits',
field_stats_hint: 'This excludes special and administration pages.',
// Section: comment system
heading_comments: 'Comment system',
field_enable_comments: 'Enable the comment system',
field_approve_comments: 'Require approval before article comments can be shown',
field_comment_allow_guests: 'Allow guests to post comments',
field_comment_allow_guests_yes: 'Yes',
field_comment_allow_guests_captcha: 'Require visual confirmation',
field_comment_allow_guests_no: 'No (require login)',
// Section: disable site
heading_disablesite: 'Disable all site access',
field_disablesite_hint: 'Disabling the site allows you to work on the site without letting non-administrators see or use it.',
field_disablesite: 'Disable this site',
field_disablesite_message: 'Message to show to users:',
// Main section: users and communication
heading_users: 'Users and communication',
// Section: account activation
heading_activate: 'User account activation',
activate_intro_line1: 'If you would like to require users to confirm their e-mail addresses by way of account activation, you can enable this behavior here. If this option is set to "None", users will be able to register and use this site without confirming their e-mail addresses. If this option is set to "User", users will automatically be sent e-mails upon registration with a link to activate their accounts. And lastly, if this option is set to "Admin", users\' accounts will not be active until an administrator activates the account.',
activate_intro_line2: 'You may also disable registration completely if needed.',
activate_intro_sfnet_warning: 'Note: because of abuse by project administrators, sending account activation e-mails will not work on SourceForge.net servers.',
field_activate: 'Account activation:',
field_activate_disable: 'Disable registration',
field_activate_none: 'None',
field_activate_user: 'User',
field_activate_admin: 'Admin',
// Section: terms of use (TOU)
heading_tou: 'Registration agreement/Terms of Use',
field_tou: 'Registration agreement',
field_tou_hint: 'The text you enter here will be displayed to users upon any attempt to create an account on this site.',
// Section: account lockouts
heading_lockout: 'Account lockouts',
lockout_intro: 'Configure Enano to prevent or restrict logins for a specified period of time if a user enters an incorrect password a specific number of times.',
field_lockout_threshold: 'Lockout threshold:',
field_lockout_threshold_hint: 'How many times can a user enter wrong credentials before a lockout goes into effect?',
field_lockout_duration: 'Lockout duration:',
field_lockout_duration_hint: 'This is how long an account lockout should last, in minutes.',
field_lockout_policy: 'Lockout policy:',
field_lockout_policy_hint: 'What should be done when a lockout goes into effect?',
field_lockout_policy_nothing: 'Don\'t do anything',
field_lockout_policy_captcha: 'Require visual confirmation',
field_lockout_policy_lockout: 'Prevent all login attempts',
// Section: password strength
heading_passstrength: 'Password strength',
field_passstrength_title: 'Enable password strength analysis',
field_passstrength_hint: 'This should be enabled in most cases. When this is enabled, a strength meter and a numerical score will be displayed wherever a password can be changed.',
field_passstrength: 'Enabled',
field_passminimum_title: 'Minimum strength score',
field_passminimum_hint: 'This is the lowest score a password will be allowed to have. -10 will allow any password. A score of under -3 is considered weak, under 1 is fair, under 4 is good, under 10 is strong, and 10 and above are very strong. The scale is open-ended. This only has an effect if the meter is enabled above.',
// Section: e-mail
heading_email: 'E-mail sent from the site',
field_email_method: 'E-mail sending method:',
field_email_method_hint: 'Try using the built-in e-mail method first. If that doesn\'t work, you will need to enter valid SMTP information here.',
field_email_method_builtin: 'PHP\'s built-in mail() function',
field_email_method_smtp: 'Use an external SMTP server',
field_email_smtp_hostname: 'SMTP hostname:',
field_email_smtp_hostname_hint: 'This option only applies to the external SMTP mode.',
field_email_smtp_auth: 'SMTP credentials:',
field_email_smtp_username: 'Username:',
field_email_smtp_password: 'Password:',
// Section: avatars
heading_avatars: 'Avatars',
avatars_intro: 'Avatars are small images that users can display on their profiles and in comments.',
field_avatar_enable: 'Enable avatar support:',
field_avatar_enable_hint: 'Supported formats are JPEG, PNG, and GIF™.',
field_avatar_enable_label: 'Enabled',
field_avatar_max_filesize: 'Maximum avatar file size:',
field_avatar_max_filesize_hint: 'For smaller sites, the highest value for this should be about 50KB, 51200. Larger sites with more visitors will likely want to use something much smaller, such as 10KB.',
field_avatar_max_dimensions: 'Maximum avatar dimensions:',
field_avatar_max_dimensions_hint: 'The format is width × height. Typically you want to have this square (the same width and height). These are only maximum dimensions; users are not prevented from having smaller images.',
field_avatar_allow_anim_title: 'Allow animated avatars:',
field_avatar_allow_anim_hint: 'If this is checked, users can upload APNG and Animated GIF™ avatars. Sometimes such images can be specifically made to be distracting, like rapidly flashing images. If this is unchecked, these formats will be blocked, and only still PNGs and GIFs will be allowed.',
field_avatar_allow_anim: 'Don\'t block animated images',
field_avatar_upload_methods: 'Allowed upload methods:',
field_avatar_upload_file: 'Allow users to upload image files from their computers',
field_avatar_upload_http: 'Allow users to enter a URL to their desired avatar',
field_avatar_directory: 'Avatar storage directory:',
field_avatar_directory_hint: 'This should be relative to your Enano root and should contain only alphanumeric characters and forward slashes, even if your server runs Windows.',
// Main section: sidebar links
heading_sidebar: 'Sidebar links',
// Section: promote Enano
heading_promoteenano: 'Promote Enano',
field_enano_link_title: 'If you think Enano is nice, or if you want to show your support for the Enano team, you can do so by placing a link to the Enano homepage in your Links sidebar block. You absolutely don\'t have to do this, and you won\'t get degraded support if you don\'t. Because Enano is still relatively new in the CMS world, it needs all the attention it can get - and you can easily help to spread the word using this link. Note that this is different from the "Powered by Enano" link in the footer of the page - our philosophy and guidelines regarding the About Enano page and its associated link on every page are discussed on the <a href="http://enanocms.org/Licensing_specifics">Enano website</a>.',
field_enano_link: 'Place a link to enanocms.org on the sidebar',
// Section: SF.net logo
heading_sfnet_logo: 'SourceForge.net logo',
sfnet_intro: 'All projects hosted by SourceForge.net are required to display an official SourceForge.net logo on their pages. If you want to display a SourceForge.net logo on the sidebar, check the box below, enter your group ID, and select an image type.',
field_sfnet_display: 'Display the SourceForge.net logo on the right sidebar',
field_sfnet_group_id: 'Group ID:',
field_sfnet_logo_style: 'Logo style:',
field_sfnet_logo_style_1: '88x31%this.etc_unit_pixels_short%, white',
field_sfnet_logo_style_2: '125x37%this.etc_unit_pixels_short%, white',
field_sfnet_logo_style_3: '125x37%this.etc_unit_pixels_short%, black',
field_sfnet_logo_style_4: '125x37%this.etc_unit_pixels_short%, blue',
field_sfnet_logo_style_5: '210x62%this.etc_unit_pixels_short%, white',
field_sfnet_logo_style_6: '210x62%this.etc_unit_pixels_short%, black',
field_sfnet_logo_style_7: '210x62%this.etc_unit_pixels_short%, blue',
// Section: W3C validation buttons
heading_w3clogos: 'W3C compliance logos',
w3clogos_intro: 'Enano generates (by default) Valid XHTML 1.1 code, plus valid CSS. If you want to show this off, check the appropriate boxes below.',
w3clogos_btn_html32: 'HTML 3.2',
w3clogos_btn_html40: 'HTML 4.0',
w3clogos_btn_html401: 'HTML 4.01',
w3clogos_btn_xhtml10: 'XHTML 1.0',
w3clogos_btn_xhtml11: 'XHTML 1.1',
w3clogos_btn_css: 'CSS',
// Section Defective By Design link
heading_dbd: 'Defective By Design Anti-DRM button',
dbd_intro: 'The Enano project is strongly against Digital Restrictions Management.',
dbd_explain: 'DRM removes the freedoms that every consumer should have: to freely copy and use digital media items they legally purchased to their own devices. Showing your opposition to DRM is as easy as checking the box below to place a link to <a href="http://www.defectivebydesign.org">DefectiveByDesign.org</a> on your sidebar.',
field_stopdrm: 'Help stop DRM by placing a link to DBD on the sidebar!',
// Save button
btn_save_changes: 'Save changes'
},
acpup: {
heading_main: 'File upload configuration',
intro: 'Enano supports the ability to upload files to your website and store the files in the database. This enables you to embed images and such into pages without manually writing the HTML. However, the upload feature can sometimes pose a risk to your site, as viruses and executable files can sometimes be uploaded.',
field_enable: 'Enable file uploads',
field_max_size: 'Maximum file size:',
info_magick: 'You can allow Enano to generate thumbnails of images automatically. This feature requires ImageMagick to work properly. If your server does not have ImageMagick on it, Enano will try to use the GD library (if available) to scale images. This can be slower, but it works on a wider range of servers. If even that does not work, Enano will simply make your users\' browsers scale the images. In most cases this is fine, but if you are uploading large (>100KB) images and embedding them inside of pages, you should try to enable ImageMagick or configure GD because transferring these large images many times can cost you quite a lot of bandwidth.',
field_magick_enable: 'Use ImageMagick to scale images',
field_magick_path: 'Path to ImageMagick:',
// Translators: for the path here, please be sure to use a double-backslash in the Windows path. Avoid translating the file paths
// anyway since they're generally the same even on non-English Windows systems.
field_magick_path_hint: 'On Linux and Unix servers, the most likely options here are /usr/bin/convert and /usr/local/bin/convert. If you server runs Windows, then ImageMagick is most likely to be C:\\Windows\\Convert.exe or C:\\Windows\\System32\\Convert.exe.',
info_cache: 'If you use ImageMagick to scale images, your server will be very busy constantly scaling images if your website is busy, and your site may experience slowdowns. You can dramatically speed up this scaling process if you use a directory to cache thumbnail images.',
info_cache_chmod: '<b>Please note:</b> the cache/ directory on your server <u>must</u> be writable by the server. While this is not usually a problem on Windows servers, most Linux/Unix servers will require you to CHMOD the cache/ directory to 777. See your FTP client\'s user guide for more information on how to do this.',
msg_cache_not_writable: ' <b>At present, it seems that the cache directory is not writable. The checkbox below has been disabled to maintain the stability of Enano.</b>',
field_cache: 'Cache thumbnailed images',
info_history: 'Lastly, you can choose whether file history will be saved. If this option is turned on, you will be able to roll back any malicious changes made to uploaded files, but this requires a significant amount of filesystem storage. You should probably leave this option enabled unless you have less than 250MB of disk space on your hosting account or server.',
field_history: 'Keep a history of uploaded files',
btn_save: 'Save changes',
},
acpft: {
// Nope. There isn't anything else. Sorry to disappoint.
heading_main: 'Allowed file types',
hint: 'Using the form below, you can decide which file types are allowed to be uploaded to this site.',
msg_saved: 'Your changes have been saved.',
msg_demo_mode: 'Hmm, enabling executables, are we? Tsk tsk. I\'d love to know what\'s in that EXE file you want to upload. OK, maybe you didn\'t enable EXEs. But nevertheless, changing allowed filetypes is disabled in the demo.',
},
acppl: {
err_heading: 'Error disabling plugin',
err_demo_plugin: 'The demo lockdown plugin cannot be disabled in demo mode.',
err_system_plugin: 'The plugin you selected cannot be disabled because it is a system plugin.',
err_open_dir: 'The plugins/ directory could not be opened.',
err_missing_dir: 'The plugins/ directory is missing from your Enano installation.',
col_filename: 'Plugin filename',
col_name: 'Plugin name',
col_description: 'Description',
col_author: 'Author',
col_version: 'Version',
btn_enable: 'Enable',
btn_disable: 'Disable',
btn_hide_system: 'Hide system plugins',
btn_show_system: 'Show system plugins',
lbl_system_plugin: '[System]',
},
acppm: {
heading_main: 'Edit page properties',
hint: 'This panel allows you to edit various properties of pages that aren\'t visible anywhere else. In addition to renaming pages, you can also change their <a href="http://docs.enanocms.org/Help:2.3">URL string</a> and options such as whether to index the page for searching or bypass Enano\'s template engine.',
err_page_not_found: 'No pages matching that search string could be found.',
msg_results_ambiguous_title: 'Ambiguous search results',
msg_results_ambiguous_body: 'Multiple pages that matched your search terms were found. Please select the page you wish to modify:',
ambig_btn_viewpage: 'View',
err_ambig_absolute: 'Your database is corrupt as it contains multiple pages with the same urlname and namespace.',
lbl_field_search: 'Search for a page title or URL string:',
heading_select_page_from_list: 'Select page from a list',
hint_select_page_from_list: 'You can also select the page you want to modify from the list below. The list is broken into sections of 100 pages, so if you have a lot of pages on your site, you can click the pagination control below to view more pages.',
// Edit form
heading_editing: 'Editing page:',
lbl_page_name: 'Page\'s title:',
lbl_page_urlname: 'URL string:',
lbl_page_urlname_hint: 'No spaces, and don\'t enter the namespace prefix (e.g. User:). Changing this value is usually not a good idea, especially for templates and project pages, because it will invalidate the page\'s current URL.',
lbl_namespace: 'Namespace (URL prefix):',
ns_article: '[No prefix, default Article namespace]',
heading_advanced: 'Advanced options',
lbl_enable_comments_title: 'Allow comments to be posted on this page?',
lbl_enable_comments_hint: 'This option has no effect if comments are disabled globally in the administration panel. This option is enabled by default.',
lbl_enable_comments: 'Enable comments on this page',
lbl_special_title: 'Mark page as self-contained?',
lbl_special_hint: 'This option enables you to use your own HTML headers and other code. If you enable this, only the raw contents of the page will be displayed instead of Enano\'s full page formatting and styles. It is recommended that only advanced users enable this feature. As with other Enano pages, you may use PHP code in your pages (dependent on permissions), meaning you can use Enano\'s API on the page.',
lbl_special: 'Bypass the template engine for this page',
lbl_visible_title: 'Make page publicly listed?',
lbl_visible_hint: 'If you enable this option, this page will be indexed for searching and will appear in public page lists such as Special:AllPages. This option is enabled by default. Disabling this does not protect the page from unauthorized access. If you want to keep this page from being accessed without authorization, you should create abstract new ACL rule or password-protect the page.',
lbl_visible: 'Allow page to be indexed and listed',
lbl_protected_title: 'Protect page from edits?',
lbl_protected_off: 'Unprotected',
lbl_protected_on: 'Fully protected',
lbl_protected_semi: 'Semi-protected',
lbl_protected_hint: 'This option only has an effect if Wiki Mode is enabled. Selecting Unprotected means that any user (unless specifically blacklisted) can edit this page. Fully protected means that only administrators can edit the page. Semi-protected restricts editing to administrators and users that have been registered for at least four days.<br /><br /><b>Above all, no users except administrators can edit this page unless an ACL specifically allows it or Wiki Mode is enabled.</b>',
lbl_wikimode_title: 'Enable Wiki Mode for this page?',
lbl_wikimode_on: 'Enabled',
lbl_wikimode_off: 'Disabled',
lbl_wikimode_global: 'Inherit global setting',
lbl_wikimode_hint: 'By default, all pages use the Wiki Mode setting defined in General Configuration. You can override that using this field. Be aware that there are advantages and disadvantages to Wiki Mode. For example, Wiki Mode encourages collaboration, but also permits vandalism. See the <a href="http://docs.enanocms.org/Help:2.5">Enano Documentation article on Wiki Mode</a> for more information.',
lbl_delete_title: 'Delete this page?',
lbl_delete_hint: 'Remember that deleting pages is always reversible unless you clear the page\'s logs after deleting it.',
lbl_delete: 'Delete this page when I click Save',
err_invalid_page_name: 'Please enter a name for the page.',
err_invalid_url_string: 'Please enter a URL string for the page.',
err_invalid_namespace: 'The namespace you selected is, for whatever reason, not valid.',
err_invalid_protection: 'The protection level selected is invalid.',
err_invalid_wiki_mode: 'The Wiki Mode level selected is invalid.',
err_header: 'There were one or more problems that prevented the page from being saved:',
delete_reason: 'Administrative deletion from admin CP; contact webmaster for details',
msg_save_success: 'Your changes to the page have been saved. <a href="%viewpage_url%">View page »</a>',
},
acped: {
heading_main: 'Edit page content',
hint: 'This panel allows you to edit the contents of pages that are stored in the database.',
// The rest of this section is identical to the first parts of the acppm category by default (you can copy and paste).
err_page_not_found: 'No pages matching that search string could be found.',
msg_results_ambiguous_title: 'Ambiguous search results',
msg_results_ambiguous_body: 'Multiple pages that matched your search terms were found. Please select the page you wish to edit:',
ambig_btn_viewpage: 'View',
err_ambig_absolute: 'Your database is corrupt as it contains multiple pages with the same urlname and namespace.',
lbl_field_search: 'Search for a page title or URL string:',
heading_select_page_from_list: 'Select page from a list',
hint_select_page_from_list: 'You can also select the page you want to edit from the list below. The list is broken into sections of 100 pages, so if you have a lot of pages on your site, you can click the pagination control below to view more pages.',
},
acpdb: {
err_not_supported_title: 'Not supported',
err_not_supported_desc: 'This function is only supported under the MySQL database driver.',
err_demo_mode_title: 'Access denied',
err_demo_mode_desc: 'Since you\'re using the Enano demo, we can\'t allow database backups. Sorry.',
intro: 'This page allows you to back up your Enano database should something go miserably wrong.',
lbl_system_tables: 'Export tables that are part of the Enano core',
lbl_additional_tables: 'Additional tables to export:',
lbl_include_structure: 'Include table structure',
lbl_include_data: 'Include table data',
btn_create_backup: 'Create backup',
},
acplm: {
// Language installation
heading_install: 'Languages available for installation',
col_lang_id: 'ID',
col_lang_code: 'Shorthand code',
col_lang_name: 'Language name (native)',
col_lang_name_eng: 'Language name (English)',
btn_install_language: 'Install',
msg_lang_install_success: 'The language pack %lang_name% has been installed.',
// Editor portal
heading_editor_portal: 'Edit installed languages',
portal_btn_edit: 'Modify',
portal_btn_unin: 'Uninstall',
// Properties table
heading_modify: 'Edit language info',
th_lang_basic: 'Basic language properties',
field_lang_name_native: 'Language name (native):',
field_lang_name_english: 'Language name (in English):',
field_lang_code: 'Shorthand code:',
field_lang_code_hint: 'You can\'t change this because it needs to be compliant with <a onclick="window.open(this.href); return false;" href="http://en.wikipedia.org/wiki/ISO_639-3">ISO 639-3</a>.',
msg_basic_save_success: 'Changes saved.',
// String editor portal
heading_edit_strings_portal: 'Edit strings',
msg_edit_strings_portal_intro: 'You can edit the actual language strings used in this language. Be sure to preserve any variables (in the format of %variable_name%) even if you\'re translating a language. If you\'re translating all of Enano into a new language, you should edit the JSON files instead of using this console, so that comments in the language files can be preserved.',
btn_edit_strings_portal: 'Edit strings »',
// Re-import button and explanation
heading_reimport_portal: 'Re-import this language',
msg_reimport_portal_intro: 'If you accidentally changed a lot of strings, you can re-import this language from the original language files. This will <b>destroy</b> any modifications you have made to the default set of strings, but any strings you\'ve added will be preserved. This is almost the same effect as re-installing the language. Don\'t stop this process while it\'s running, the re-import can take a long time.',
btn_reimport: 'Re-import language',
msg_reimport_success: 'The language was re-imported successfully. All Enano preset strings for this language have been restored.',
// String editor
editor_heading: 'Editing category: %cat_name%',
editor_col_string_name: 'String name',
editor_col_string_content: 'String',
editor_btn_revert: 'Revert',
editor_btn_cancel: 'Cancel',
msg_string_save_success: 'Your changes have been saved.',
// Backup interface
heading_backup: 'Backup language',
backup_intro: 'You can back up this language to make preserving custom strings easier if you ever migrate your Enano installation or re-install. Backed-up language files can be restored by using FTP or equivalent to copy the backup file to the language\'s folder, renaming it to "backup.json", and re-importing the language.',
btn_create_backup: 'Download backup',
// Uninstaller
uninstall_confirm_title: 'Confirm uninstallation of language',
uninstall_confirm_body: 'Do you really want to uninstall this language? If you continue, all users that have selected this language will be reset to use the default. It is recommended that you create a backup of this language before you uninstall it if you have changed any strings.',
btn_uninstall_confirm: 'Confirm uninstallation',
btn_uninstall_cancel: 'Cancel',
err_cant_uninstall_default: 'You cannot uninstall the default language.',
msg_uninstall_success: 'The language has been uninstalled.',
},
acppg: {
// Main menu
heading_main: 'Manage page groups',
hint_intro: 'Enano\'s page grouping system allows you to build sets of pages that can be controlled by a single ACL rule. This makes managing features such as a members-only section of your site a lot easier. If you don\'t use the ACL system, you probably don\'t need to use page groups.',
col_group_name: 'Group name',
col_type: 'Type',
col_target: 'Target',
col_actions: 'Actions',
gtype_catlink: 'Link to category',
gtype_tagged: 'Group of pages with one tag',
gtype_static: 'Static group of pages',
gtype_regex: 'Regular expression match',
gtype_regex_long: 'Perl-compatible regular expression (advanced)',
lbl_tag: 'Tag:',
lbl_category: 'Category:',
lbl_regex: 'Expression:',
btn_edit: 'Edit',
btn_delete: 'Delete',
msg_no_groups: 'No page groups defined.',
btn_create_new: 'Create new group',
// Creation form
err_no_cats: 'There aren\'t any categories on this site.',
th_create: 'Create page group',
field_group_name: 'Group name:',
field_group_name_hint: 'This should be short, descriptive, and human-readable.',
field_group_type: 'Group type:',
field_member_pages: 'Member pages:',
field_member_pages_hint: 'Click the "plus" button to add more fields.',
field_target_category: 'Include pages in this category:',
field_target_category_hint: 'Pages in subcategories are <u>not</u> included, however subcategory pages themselves are.',
field_target_category_hint2: '<b>Reminder:</b> Enano does not automatically place any access controls on the category. If you don\'t want users to be able to freely add and remove pages from the category (assuming Wiki Mode is enabled for the category) then you need to enable protection on the category using the button on the more options menu.',
field_target_tag: 'Include pages with this tag:',
field_target_regex: 'Regular expression:',
field_target_regex_hint: 'Be sure to include the starting and ending delimiters and any flags you might need.<br />
These pages might help: <a href="http://us.php.net/manual/en/reference.pcre.pattern.modifiers.php">Pattern modifiers</a> • <a href="http://us.php.net/manual/en/reference.pcre.pattern.syntax.php">Pattern syntax</a><br />
Examples: <tt>/^(Special|Admin):/i</tt> • <tt>/^Image:([0-9]+)$/</tt><br />
Developers, remember that this will be matched against the full page identifier string. This means that <tt>/^About_Enano$/</tt> will NOT match the page Special:About_Enano.',
btn_create_finish: 'Create page group',
err_need_name: 'Please enter a name for the page group.',
err_need_tag: 'Please enter a page tag.',
err_need_cat: 'Please create a category page before linking a page group to a category.',
err_need_page: 'Please specify at least one page to place in this group.',
err_need_regex: 'Please specify a regular expression to match page IDs against.',
msg_create_success: 'The page group "%group_name%" has been created.',
// Delete form
th_delete_confirm: 'Confirm deletion',
msg_delete_confirm: 'Are you sure you want to delete this page group?',
btn_delete_confirm: 'Yes, delete group',
msg_delete_success: 'The group "%pg_name%" has been deleted.',
// Editor
th_editing_group: 'Editing page group:',
btn_save_name: 'Save group name',
th_remove_selected: 'Remove pages from this group',
field_remove: '<b>Remove</b> pages:',
btn_do_remove: 'Remove selected',
btn_save_update: 'Save and update',
btn_cancel_all: 'Cancel all changes',
th_onthefly: 'On-the-fly tools',
field_add_page: 'Add page:',
field_add_page_hint: 'You can add multiple pages by entering part of a page title, and it will be auto-completed. Press Enter to quickly add the page. This only works if you a really up-to-date browser.',
// Validation messages and errors
err_ajaxadd_need_title: 'Please enter a page title.',
err_ajaxadd_already_in: 'The page you are trying to add is already in this group.',
ajaxadd_success: 'The page has been added to the specified group.',
err_save_need_name: 'Please enter a valid name for this group.',
msg_save_name_updated: 'The group name was updated successfully.',
err_save_need_tag: 'Please enter a valid tag.',
msg_save_tag_updated: 'The affecting tag was updated.',
err_save_need_regex: 'Please enter an expression to match against.',
msg_save_regex_updated: 'The expression to match against was updated.',
err_save_bad_category: 'No category ID specified on POST URI.',
msg_save_cat_updated: 'The affecting category was updated.',
err_save_no_pages: 'No pages were selected for deletion, and thus none were deleted.',
msg_save_pages_deleted: 'The requested page group members have been deleted.',
},
acpum: {
heading_main: 'User administration panel',
hint_intro: 'From this panel you can modify or delete user accounts.',
field_search_user: 'Search for user:',
field_search_user_hint: 'If your browser supports AJAX, this will provide suggestions for you.',
btn_search_user_go: 'Go',
heading_clear_sessions: 'Clear session key table',
hint_clear_sessions: 'It\'s a good idea to clean out your session keys table every once in a while, since this helps to reduce database size. During this process you will be logged off and (hopefully) logged back on automatically. If you do this, all users besides you will be logged off, so be sure to do this at a time when traffic is low.',
btn_clear_sessions: 'Clear session keys',
heading_activation_one: '1 user is awaiting account activation',
heading_activation_plural: '%count% users are awaiting account activation',
col_activate_timestamp: 'Date of request',
col_activate_requestedby: 'Requested by',
col_activate_requestedfor: 'Requested for',
col_activate_coppauser: 'COPPA user',
col_activate_actions: 'Actions',
coppauser_yes: 'Yes',
coppauser_no: 'No',
btn_activate_now: 'Activate now',
btn_send_email: 'Send activation e-mail',
btn_activate_deny: 'Deny request',
msg_activate_success: 'The user account "%username%" has been activated.',
err_activate_fail: 'The user account %username% has NOT been activated, possibly because the account is already active.',
msg_activate_email_success: 'The user %username% has been sent an e-mail with an activation link.',
err_activate_email_fail: 'The user account %username% has not been activated, probably because of a bad SMTP configuration.',
msg_activate_deny_success: 'All activation requests for the user %username% have been deleted.',
msg_sessionclear_success: 'The session key table has been cleared. Your database should be a little bit smaller now.',
err_sessionclear_demo: 'Sorry Charlie, no can do. You might mess up other people logged into the demo site.',
// VALIDATION ERRORS
err_bad_username: 'The username you entered could not be found.',
err_validation_fail: 'Your request could not be processed due to the following validation errors:',
err_nosave_demo: 'Users cannot be modified or deleted in demo mode.',
msg_delete_success: 'The user account has been deleted.',
// Note the difference between this and err_bad_username. err_bad_username is shown when the username entered
// doesn't match any usernames in the database (e.g. no search results); err_illegal_username is shown when
// the admin tries to change the username to one that has illegal characters in it.
err_illegal_username: 'The username you entered contains invalid characters.',
err_no_aes_key: 'Session manager denied public encryption key lookup request',
err_illegal_email: 'You have entered an invalid e-mail address.',
msg_save_success: 'Your changes have been saved.',
// EDITOR SMARTFORM
heading_editing_user: 'Editing user:',
heading_basic_options: 'Basic options',
field_username: 'Username:',
field_username_hint: 'Must be at least 2 characters in length',
msg_same_user_username: 'You cannot change your own username. To change your username you must log into a different administrative account.',
field_password: 'Password:',
field_password_hint: 'Password strength requirements are not enforced here.',
msg_password_unchanged: 'Password will be left unchanged.',
btn_reset_password: 'Reset password...',
msg_same_user_password: 'To change your password, please use the user preferences panel.',
field_password_title: 'Change password to:',
field_newpassword: 'New password:',
field_newpassword_confirm: 'Confirm:',
field_email: 'E-mail address:',
msg_same_user_email: 'To change your e-mail address, please use the user preferences panel.',
field_realname: 'Real name:',
msg_same_user_realname: 'To change your real name on file, please use the user preferences panel.',
field_signature: 'Signature:',
heading_imcontact: 'Instant messenger contact information',
field_aim: 'AIM handle:',
field_wlm: '<acronym title="Windows™ Live Messenger">WLM</acronym> handle:',
field_wlm_hint: 'If you don\'t specify the domain (@whatever.com), "@hotmail.com" will be assumed.',
field_yim: 'Yahoo! IM handle:',
field_xmpp: 'Jabber™/XMPP handle:',
heading_contact_extra: 'Extra contact information',
field_homepage: 'Homepage:',
field_homepage_hint: 'Please remember the http:// prefix.',
field_location: 'Location:',
field_job: 'Job:',
field_hobbies: 'Hobbies:',
field_email_public: 'E-mail address is public',
field_email_public_hint: 'If this is checked, the user\'s e-mail address will be displayed on your the page. To protect the address from spambots, it will be encrypted.',
avatar_heading: 'Avatar settings',
avatar_image_none: 'This user does not currently have an avatar.',
avatar_lbl_change: 'Change avatar:',
avatar_lbl_keep: 'Keep current setting',
avatar_lbl_remove: 'Delete this user\'s avatar',
avatar_lbl_set_http: 'Replace avatar using a new image from a URL',
avatar_lbl_set_file: 'Replace avatar using a new image from my computer',
heading_adminonly: 'Administrator-only options',
field_active_title: 'User account is active',
field_active_hint: 'If this is unchecked, the existing activation key will be overwritten in the database, thus invalidating any activation e-mails sent to the user.',
field_active: 'Account is active and enabled',
field_userlevel: 'User\'s site access level',
field_userlevel_hint: 'If this is changed, the relevant group memberships will be updated accordingly.',
field_reg_ip: 'Registered from IP:',
field_deleteaccount_title: 'Delete user account',
field_deleteaccount: 'Permanently delete this user account when I click Save',
msg_delete_own_account: '<blink style="color: red;">WARNING!</blink> This will delete your own user account!',
field_deleteaccount_hint: 'Even if you delete this user account, the username will be shown in page edit history, comments, and other areas of the site. Deleting a user account CANNOT BE UNDONE and should only be done in extreme circumstances. If the user has violated the site policy, deleting the account will not prevent him from using the site or creating a new account, for that you need to add a new ban rule.',
btn_save: 'Save changes',
},
acpug: {
heading_main: 'Manage Usergroups',
heading_edit_existing: 'Edit an existing group',
btn_edit_stage1: 'Edit group',
heading_create_new: 'Create a new group',
field_group_name: 'Group name:',
btn_create_stage1: 'Continue',
// Edit form
heading_edit_name: 'Edit group name',
btn_cant_delete: 'Can\'t delete system group',
btn_delete_group: 'Delete this group',
btn_save_name: 'Save name',
heading_edit_members: 'Edit group members',
msg_no_members: 'This group has no members.',
lbl_member_mod: 'Mod',
btn_remove_member: 'Remove member',
heading_add_member: 'Add a new member',
field_username: 'Username:',
field_make_mod: 'Is a group moderator',
field_make_mod_hint: '(can add and delete other members)',
btn_add_user: 'Add user to group',
// Create form
err_group_name_invalid: 'The group name you chose is invalid.',
heading_creating_group: 'Creating group:',
field_group_mod: 'Group moderator',
field_group_type: 'Group status',
btn_create_stage2: 'Create group',
err_already_exist: 'The group name you entered already exists.',
err_bad_username: 'The username you entered could not be found.',
err_bad_insert_id: 'The group ID could not be looked up.',
heading_info: 'Information',
msg_create_success: 'The group %g_name% has been created successfully.',
// More editor bits, validation messages
err_nodelete_system_group: 'The group "%g_name%" could not be deleted because it is a system group required for site functionality.',
msg_delete_success: 'The group "%g_name%" has been deleted. Return to the <a %a_flags%>group manager</a>.',
msg_name_update_success: 'The group name has been updated.',
msg_user_added: 'The user "%username%" has been added to this usergroup.',
err_username_not_exist: '<b>The user "%username%" could not be added.</b><br />This username does not exist.',
},
acpcp: {
heading_main: 'Background information',
intro: 'The United States Childrens\' Online Privacy Protection Act (COPPA) was a law passed in 2001 that requires sites oriented towards children under 13 years old or with a significant amount of under-13 children clearly state what information is being collected in a privacy policy and obtain authorization from a parent or legal guardian before allowing children to use the site. Enano provides an easy way to allow you, as the website administrator, to obtain this authorization.',
msg_save_success: 'Your changes have been saved.',
th_form: 'COPPA support',
field_enable_title: 'Enable COPPA support:',
field_enable: 'COPPA enabled',
field_enable_hint: 'If this is checked, users will be asked if they are under 13 years of age before registering',
field_address: 'Your mailing address:',
field_address_hint: 'This is the address to which parents will send authorization forms.',
},
acpmm: {
heading_main: 'Send mass e-mail',
err_need_subject: 'Please enter a subject.',
err_need_message: 'Please enter a message.',
msg_send_success: 'Your message has been sent.',
err_send_fail: 'Could not send message for the following reason(s):',
err_demo: 'This function is disabled in the demo. You think demo@enanocms.org likes getting "test" mass e-mails?',
field_group_to: 'Send message to:',
field_group_to_hint: 'By default, this message will be sent to the group selected here. You may instead send the message to a specific list of users by entering them in the second row, with usernames separated by a single comma (no space).',
field_username: 'Usernames:',
field_subject: 'Subject:',
field_message: 'Message:',
btn_send: 'Send message',
msg_send_takeawhile: 'Please be warned: it may take a LONG time to send this message. <b>Please do not stop the script until the process is finished.</b>',
},
acpsl: {
heading_main: 'System security log',
col_type: 'Type',
col_date: 'Date',
col_username: 'Username',
col_ip: 'IP Address',
entry_admin_auth_good: 'Successful elevated authentication<br /><small>Authentication level: %level%</small>',
entry_admin_auth_bad: 'Failed elevated authentication<br /><small>Attempted auth level: %level%</small>',
entry_activ_good: 'Successful account activation',
entry_auth_good: 'Successful regular user logon',
entry_activ_bad: 'Failed account activation',
entry_auth_bad: 'Failed regular user logon',
entry_sql_inject: 'SQL injection attempt<div style="max-width: 90%; clip: rect(0px,auto,auto,0px); overflow: auto; display: block; font-size: smaller;">Offending query: %query%</div>',
entry_db_backup: 'Database backup created<br /><small>Tables: %tables%</small>',
entry_install_enano: 'Installed Enano version %version%',
entry_upgrade_enano: 'Upgraded Enano to version %version%',
entry_illegal_page: 'Unauthorized viewing attempt<br /><small>Page: %illegal_link%</small>',
entry_upload_enable: 'Enabled file uploads',
entry_upload_disable: 'Disabled file uploads',
entry_magick_enable: 'Enabled ImageMagick for uploaded images',
entry_magick_disable: 'Disabled ImageMagick for uploaded images',
entry_filehist_enable: 'Enabled revision tracking for uploaded files',
entry_filehist_disable: 'Disabled revision tracking for uploaded files',
entry_magick_path: 'Changed path to ImageMagick executable',
entry_plugin_disable: 'Disabled plugin: %plugin%',
entry_plugin_enable: 'Enabled plugin: %plugin%',
entry_seclog_unauth: 'Unauthorized attempt to call security log fetcher',
entry_u_from_admin: 'User %username% demoted from Administrators group',
entry_u_from_mod: 'User %username% demoted from Moderators group',
entry_u_to_admin: 'User %username% added to Administrators group',
entry_u_to_mod: 'User %username% added to Moderators group',
entry_view_comment_ip: 'IP address viewed on comment by %username%',
tip_reverse_dns: 'Click for reverse DNS info',
},
acpbc: {
err_empty: 'Please enter something to ban.',
err_invalid_ip_range: 'The IP address range you entered is invalid.',
err_demo: 'This function is disabled in the demo. Just because <i>you</i> don\'t like %ban_target% doesn\'t mean <i>we</i> don\'t like %ban_target%.',
col_type: 'Type',
col_value: 'Value',
col_regex: 'Regular Expression',
msg_no_rules: 'No ban rules yet.',
ban_type_ip: 'IP address',
ban_type_username: 'Username',
ban_type_email: 'E-mail address',
btn_delete: 'Delete',
// Some languages like Chinese don't literally have the word "yes", so this would be something
// along the lines of "This is a regular expression" / "This is not..." in Chinese. Hence the
// separation of this from a generic "yes" string.
ban_regex_yes: 'Yes',
ban_regex_no: 'No',
heading_create_new: 'Create new ban rule',
field_type: 'Type:',
field_rule: 'Rule:',
field_rule_hint: 'You can ban multiple IP addresses, users, or e-mail addresses by separating entries with a single comma (User1,User2). Do not put a space after the comma. For IP addresses, you may specify ranges like 172|192.168.4-30|90-167.1-90, which will turn into 172 and 192 . 168 . 4-30 and 90-167 . 1 - 90, which matches 18,899 IP addresses.',
field_reason: 'Reason to show to the banned user:',
field_regex: 'This rule is a regular expression',
field_regex_hint: '(advanced users only)',
btn_create: 'Create new ban rule',
},
acplo: {
heading_main: 'You have now been logged out of the administration panel.',
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>.',
},
sbedit: {
msg_order_update_success: 'The sidebar order information was updated successfully.',
err_demo_php_disable: 'Adding PHP code blocks in the Enano administration demo has been disabled for security reasons.',
msg_item_added: 'The item was added.',
create_intro: 'What type of block should this be?',
block_type_wiki: 'Wiki-formatted block',
block_type_tpl: 'Template-formatted block (old pre-beta 3 behavior)',
block_type_html: 'Raw HTML block',
block_type_php: 'PHP code block (danger, Will Robinson!)',
block_type_plugin: 'Use code from a plugin',
field_block_title: 'Block title:',
field_block_sidebar: 'Which sidebar:',
field_block_sidebar_left: 'Left',
field_block_sidebar_right: 'Right',
field_wikitext: 'Wikitext:',
field_tplcode: 'Template code:',
field_html: 'HTML to place inside the sidebar:',
field_php_disabled: 'Creating PHP blocks in demo mode is disabled for security reasons.',
field_php: '<p>
<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.
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.
</p>
<p>
<span style="color: red;">
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.
</span> You have been warned.
</p>
<p>
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.
</p>
<p>
The standard <?php and ?> tags work here. Don\'t use an initial "<?php" or it will cause a parse error.
</p>
<p>
PHP code:
</p>',
field_plugin: 'Plugin:',
btn_create_block: 'Create new block',
msg_block_moved: 'Item moved.',
msg_block_deleted: 'Item deleted.',
msg_plugin_not_loaded: 'Plugin isn\'t loaded',
note_block_unnamed: 'Unnamed',
hint_rename: 'Double-click to rename this block',
note_block_disabled: '(disabled)',
tip_disenable: 'Enable or disable this block',
tip_edit: 'Edit the contents of this block',
tip_delete: 'Permanently delete this block',
tip_move: 'Move this block to the other sidebar',
msg_delete_confirm: 'Do you really want to delete this block?',
btn_revert: 'Revert',
btn_create_new_stage1: 'Create new block',
btn_main_page: 'Main Page',
msg_cant_edit_plugin_title: 'This block cannot be edited.',
msg_cant_edit_plugin_body: 'This is a plugin block, and cannot be edited. <%close_link%>Close</a>',
btn_edit_save: 'save',
btn_edit_cancel: 'cancel',
msg_discard_confirm: 'Do you really want to discard your changes?',
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.',
}
}
};
// All done! :-)