plugins/staticpages/language/english.php
author Tom <websitemaster@cogeco.net>
Thu, 15 Oct 2009 13:05:28 -0400
branchHEAD
changeset 7402 f7706912e8be
parent 7325 27d076900eaf
child 7495 5efbfc846ad1
permissions -rw-r--r--
Staticpages are now included in the What's New Block. Configuration option included to disable staticpages from displaying in the block if a centerblock and/or execute PHP code.

Staticpages now have the option to not be included in the search results of Geeklog. This can be limited to just pages that are centerblocks and/or execute PHP code.
     1 <?php
     2 
     3 ###############################################################################
     4 # english.php
     5 # This is the english language file for the Geeklog Static Page plugin
     6 #
     7 # Copyright (C) 2001 Tony Bibbs
     8 # tony@tonybibbs.com
     9 #
    10 # This program is free software; you can redistribute it and/or
    11 # modify it under the terms of the GNU General Public License
    12 # as published by the Free Software Foundation; either version 2
    13 # of the License, or (at your option) any later version.
    14 #
    15 # This program is distributed in the hope that it will be useful,
    16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    18 # GNU General Public License for more details.
    19 #
    20 # You should have received a copy of the GNU General Public License
    21 # along with this program; if not, write to the Free Software
    22 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    23 #
    24 ###############################################################################
    25 
    26 global $LANG32;
    27 
    28 ###############################################################################
    29 # Array Format:
    30 # $LANGXX[YY]:	$LANG - variable name
    31 #		  	XX - file id number
    32 #			YY - phrase id number
    33 ###############################################################################
    34 
    35 $LANG_STATIC = array(
    36     'newpage' => 'New Page',
    37     'adminhome' => 'Admin Home',
    38     'staticpages' => 'Static Pages',
    39     'staticpageeditor' => 'Static Page Editor',
    40     'writtenby' => 'Written By',
    41     'date' => 'Last Updated',
    42     'title' => 'Title',
    43     'content' => 'Content',
    44     'hits' => 'Hits',
    45     'staticpagelist' => 'Static Page List',
    46     'url' => 'URL',
    47     'edit' => 'Edit',
    48     'lastupdated' => 'Last Updated',
    49     'pageformat' => 'Page Format',
    50     'leftrightblocks' => 'Left &amp; Right Blocks',
    51     'blankpage' => 'Blank Page',
    52     'noblocks' => 'No Blocks',
    53     'leftblocks' => 'Left Blocks',
    54     'addtomenu' => 'Add To Menu',
    55     'label' => 'Label',
    56     'nopages' => 'No static pages are in the system yet',
    57     'save' => 'save',
    58     'preview' => 'preview',
    59     'delete' => 'delete',
    60     'cancel' => 'cancel',
    61     'access_denied' => 'Access Denied',
    62     'access_denied_msg' => 'You are illegally trying access one of the Static Pages administration pages.  Please note that all attempts to illegally access this page are logged',
    63     'all_html_allowed' => 'All HTML is allowed',
    64     'results' => 'Static Pages Results',
    65     'author' => 'Author',
    66     'no_title_or_content' => 'You must at least fill in the <b>Title</b> and <b>Content</b> fields.',
    67     'no_such_page_anon' => 'Please log in..',
    68     'no_page_access_msg' => "This could be because you're not logged in, or not a member of {$_CONF['site_name']}. Please <a href=\"{$_CONF['site_url']}/users.php?mode=new\"> become a member</a> of {$_CONF['site_name']} to receive full membership access",
    69     'php_msg' => 'PHP: ',
    70     'php_warn' => 'Warning: PHP code in your page will be evaluated if you enable this option. Use with caution !!',
    71     'exit_msg' => 'Exit Type: ',
    72     'exit_info' => 'Enable for Login Required Message.  Leave unchecked for normal security check and message.',
    73     'deny_msg' => 'Access to this page is denied.  Either the page has been moved/removed or you do not have sufficient permissions.',
    74     'stats_headline' => 'Top Ten Static Pages',
    75     'stats_page_title' => 'Page Title',
    76     'stats_hits' => 'Hits',
    77     'stats_no_hits' => 'It appears that there are no static pages on this site or no one has ever viewed them.',
    78     'id' => 'ID',
    79     'duplicate_id' => 'The ID you chose for this static page is already in use. Please select another ID.',
    80     'instructions' => 'To modify or delete a static page, click on that page\'s edit icon below. To view a static page, click on the title of the page you wish to view. To create a new static page, click on "Create New" above. Click on on the copy icon to create a copy of an existing page.',
    81     'centerblock' => 'Centerblock: ',
    82     'centerblock_msg' => 'When checked, this Static Page will be displayed as a center block on the index page.',
    83     'topic' => 'Topic: ',
    84     'position' => 'Position: ',
    85     'all_topics' => 'All',
    86     'no_topic' => 'Homepage Only',
    87     'position_top' => 'Top Of Page',
    88     'position_feat' => 'After Featured Story',
    89     'position_bottom' => 'Bottom Of Page',
    90     'position_entire' => 'Entire Page',
    91     'head_centerblock' => 'Centerblock',
    92     'centerblock_no' => 'No',
    93     'centerblock_top' => 'Top',
    94     'centerblock_feat' => 'Feat. Story',
    95     'centerblock_bottom' => 'Bottom',
    96     'centerblock_entire' => 'Entire Page',
    97     'inblock_msg' => 'In a block: ',
    98     'inblock_info' => 'Wrap Static Page in a block.',
    99     'title_edit' => 'Edit page',
   100     'title_copy' => 'Make a copy of this page',
   101     'title_display' => 'Display page',
   102     'select_php_none' => 'do not execute PHP',
   103     'select_php_return' => 'execute PHP (return)',
   104     'select_php_free' => 'execute PHP',
   105     'php_not_activated' => 'The use of PHP in static pages is not activated. Please see the <a href="' . $_CONF['site_url'] . '/docs/english/staticpages.html#php">documentation</a> for details.',
   106     'printable_format' => 'Printable Format',
   107     'edit' => 'Edit',
   108     'copy' => 'Copy',
   109     'limit_results' => 'Limit Results',
   110     'search' => 'Search',
   111     'submit' => 'Submit',
   112     'no_new_pages' => 'No new pages',
   113     'pages' => 'Pages'
   114 );
   115 
   116 $PLG_staticpages_MESSAGE15 = 'Your comment has been submitted for review and will be published when approved by a moderator.';
   117 $PLG_staticpages_MESSAGE19 = 'Your page has been successfully saved.';
   118 $PLG_staticpages_MESSAGE20 = 'Your page has been successfully deleted.';
   119 
   120 // Messages for the plugin upgrade
   121 $PLG_staticpages_MESSAGE3001 = 'Plugin upgrade not supported.';
   122 $PLG_staticpages_MESSAGE3002 = $LANG32[9];
   123 
   124 
   125 // Localization of the Admin Configuration UI
   126 $LANG_configsections['staticpages'] = array(
   127     'label' => 'Static Pages',
   128     'title' => 'Static Pages Configuration'
   129 );
   130 
   131 $LANG_confignames['staticpages'] = array(
   132     'allow_php' => 'Allow PHP?',
   133     'sort_by' => 'Sort Centerblocks by',
   134     'sort_menu_by' => 'Sort Menu Entries by',
   135     'delete_pages' => 'Delete Pages with Owner?',
   136     'in_block' => 'Wrap Pages in Block?',
   137     'show_hits' => 'Show Hits?',
   138     'show_date' => 'Show Date?',
   139     'filter_html' => 'Filter HTML?',
   140     'censor' => 'Censor Content?',
   141     'default_permissions' => 'Page Default Permissions',
   142     'aftersave' => 'After Saving Page',
   143     'atom_max_items' => 'Max. Pages in Webservices Feed',
   144     'meta_tags' => 'Enable Meta Tags',
   145     'newstaticpagesinterval' => 'New Static Page Interval',
   146     'hidenewstaticpages' => 'Hide New Static Pages',
   147     'title_trim_length' => 'Title Trim Length',
   148     'includecenterblocks' => 'Include Center Block Static Pages',
   149     'includephp' => 'Include Static Pages with PHP',
   150     'includesearch' => 'Enable Static Pages in Search',
   151     'includesearchcenterblocks' => 'Include Center Block Static Pages',
   152     'includesearchphp' => 'Include Static Pages with PHP'
   153 );
   154 
   155 $LANG_configsubgroups['staticpages'] = array(
   156     'sg_main' => 'Main Settings'
   157 );
   158 
   159 $LANG_fs['staticpages'] = array(
   160     'fs_main' => 'Static Pages Main Settings',
   161     'fs_whatsnew' => 'What\'s New Block',
   162     'fs_search' => 'Search Results',
   163     'fs_permissions' => 'Default Permissions'
   164 );
   165 
   166 // Note: entries 0, 1, 9, and 12 are the same as in $LANG_configselects['Core']
   167 $LANG_configselects['staticpages'] = array(
   168     0 => array('True' => 1, 'False' => 0),
   169     1 => array('True' => TRUE, 'False' => FALSE),
   170     2 => array('Date' => 'date', 'Page ID' => 'id', 'Title' => 'title'),
   171     3 => array('Date' => 'date', 'Page ID' => 'id', 'Title' => 'title', 'Label' => 'label'),
   172     9 => array('Forward to page' => 'item', 'Display List' => 'list', 'Display Home' => 'home', 'Display Admin' => 'admin'),
   173     12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3)
   174 );
   175 
   176 ?>