diff options
Diffstat (limited to 'phpBB')
251 files changed, 242 insertions, 41639 deletions
diff --git a/phpBB/.htaccess b/phpBB/.htaccess index a06b523009..474f9774c2 100644 --- a/phpBB/.htaccess +++ b/phpBB/.htaccess @@ -1,80 +1,19 @@ -# Lines That should already be in your .htacess +# +# Uncomment the statement below if you want to make use of +# HTTP authentication and it does not already work. +# This could be required if you are for example using PHP via Apache CGI. +# +#<IfModule mod_rewrite.c> +#RewriteEngine on +#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] +#</IfModule> + <Files "config.php"> Order Allow,Deny Deny from All </Files> + <Files "common.php"> Order Allow,Deny Deny from All </Files> - -# You may need to un-comment the following lines -Options +FollowSymlinks -# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist -# Options -MultiViews -# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE -RewriteEngine On -# Uncomment the statement below if you want to make use of -# HTTP authentication and it does not already work. -# This could be required if you are for example using PHP via Apache CGI. -# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] -# REWRITE BASE -RewriteBase /en/ -# HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN -# RewriteCond %{HTTP_HOST} !^forums\.mageia\.org$ [NC] -# RewriteRule ^(.*)$ http://forums.mageia.org/en/$1 [QSA,L,R=301] - -# DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS -RewriteCond %{REQUEST_FILENAME} -f -RewriteCond %{REQUEST_FILENAME} -d -RewriteRule . - [L] -##################################################### -# PHPBB SEO REWRITE RULES ALL MODES -##################################################### -# AUTHOR : dcz www.phpbb-seo.com -# STARTED : 01/2006 -################################# -# FORUMS PAGES -############### -# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX -# RewriteRule ^forum\.html$ /index.php [QSA,L,NC] -# FORUM ALL MODES -RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/?(page([0-9]+)\.html)?$ /en/viewforum.php?f=$2&start=$4 [QSA,L,NC] -# TOPIC WITH VIRTUAL FOLDER ALL MODES -RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /en/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC] -# TOPIC WITHOUT FORUM ID & DELIM ALL MODES -RewriteRule ^([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /en/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC] -# PHPBB FILES ALL MODES -RewriteRule ^resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /en/download/file.php?id=$2&t=$1 [QSA,L,NC] -# PROFILES THROUGH USERNAME -RewriteRule ^member/([^/]+)/?$ /en/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC] -# USER MESSAGES THROUGH USERNAME -RewriteRule ^member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /en/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC] -# GROUPS ALL MODES -RewriteRule ^(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /en/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC] -# POST -RewriteRule ^post([0-9]+)\.html$ /en/viewtopic.php?p=$1 [QSA,L,NC] -# ACTIVE TOPICS -RewriteRule ^active-topics(-([0-9]+))?\.html$ /en/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC] -# UNANSWERED TOPICS -RewriteRule ^unanswered(-([0-9]+))?\.html$ /en/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC] -# NEW POSTS -RewriteRule ^newposts(-([0-9]+))?\.html$ /en/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC] -# UNREAD POSTS -RewriteRule ^unreadposts(-([0-9]+))?\.html$ /en/search.php?search_id=unreadposts&start=$2 [QSA,L,NC] -# THE TEAM -RewriteRule ^the-team\.html$ /en/memberlist.php?mode=leaders [QSA,L,NC] -# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES - -# FORUM WITHOUT ID & DELIM ALL MODES -# THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ /en/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC] -# FIX RELATIVE PATHS : FILES -RewriteRule ^.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /en/$1 [QSA,L,NC,R=301] -# FIX RELATIVE PATHS : IMAGES -RewriteRule ^.+/(styles/.*|images/.*)/$ /en/$1 [QSA,L,NC,R=301] -# END PHPBB PAGES -##################################################### - diff --git a/phpBB/adm/style/acp_gym_sitemaps.html b/phpBB/adm/style/acp_gym_sitemaps.html deleted file mode 100644 index a7bb187554..0000000000 --- a/phpBB/adm/style/acp_gym_sitemaps.html +++ /dev/null @@ -1,93 +0,0 @@ -<!-- INCLUDE overall_header.html --> -<a name="maincontent"></a> -<div style="float:right;">{L_MAIN} V {GYM_VERSION} {INSTALL_LINK}</div> -<h1>{L_MODE_TITLE}</h1> -<p>{L_MODE_ITLE_EXPLAIN}</p> -<br/> -<!-- IF S_MENU_MODULE --> -<div id="gymtab"> - <ul> - <!-- BEGIN menu_module --> - <li<!-- IF menu_module.S_SELECTED --> id="gymactivetab"<!-- ENDIF -->> <a href="{menu_module.U_TITLE}"><span>{menu_module.L_TITLE}</span></a></li> - <!-- END menu_module --> - </ul> -</div> -<div id="gymacp"> - <div class="panel"> - <span class="corners-top"><span></span></span> - <div id="gymcontent"> -<!-- ENDIF --> - -<div style="float:right;">{MAINTENANCE_LINKS}</div> -<!-- IF S_MENU --> -<h1>{L_MODULE_TITLE}</h1> - -<p>{L_MODULE_ITLE_EXPLAIN}</p> -<br/> -<div id="gymtabs"> - <ul> - <!-- BEGIN menu --> - <li<!-- IF menu.S_SELECTED --> id="gymactivetabs"<!-- ENDIF -->> <a href="{menu.U_TITLE}"><span>{menu.L_TITLE}</span></a></li> - <!-- END menu --> - </ul> -</div> -<div id="gymacps"> - <div class="panel"> - <span class="corners-top"><span></span></span> - <div id="gymcontents"> -<!-- ENDIF --> -<h1>{L_TITLE}</h1> - -<p>{L_TITLE_EXPLAIN}</p> - -<!-- IF S_ERROR --> - <div class="errorbox"> - <h3>{L_WARNING}</h3> - <p>{ERROR_MSG}</p> - </div> -<!-- ENDIF --> -<form id="acp_gym" method="post" action="{U_ACTION}"> - -<!-- BEGIN options --> - <!-- IF options.S_LEGEND --> - <!-- IF not options.S_FIRST_ROW --> - </fieldset> - <!-- ENDIF --> - <fieldset> - <legend>{options.LEGEND}</legend> - <!-- ELSE --> - - <dl> - <dt><label for="{options.KEY}">{options.TITLE}:</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt> - <dd>{options.CONTENT}</dd> - </dl> - - <!-- ENDIF --> -<!-- END options --> -</fieldset> -<!-- IF S_SUBMIT_BUTTON --> -<fieldset> - <p class="submit-buttons"> - <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" /> - <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" /> - </p> - {S_FORM_TOKEN} -</fieldset> -<!-- ENDIF --> -</form> -<!-- IF S_MENU_MODULE --> - </div> - <span class="corners-bottom"><span></span></span> - </div> - </div> -<!-- ENDIF --> -<!-- IF S_MENU --> - </div> - <span class="corners-bottom"><span></span></span> - </div> - </div> - <!-- ENDIF --> -<div style="float:right;"> -{SUPPORT_LINKS} -</div> -<!-- INCLUDE overall_footer.html --> diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index dc85db94b1..4c3fa51af3 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -211,124 +211,7 @@ li { padding-right: 10px; min-width: 0; } -/* www.phpbb-seo.com GYM Sitemaps & RSS - * Just some more indepth tabbing */ -#gymtab, #gymtabs { - line-height: normal; - margin: 0 0 -6px 7px; - min-width: 600px; - height: 1%; - overflow: hidden; -} - -.rtl #gymtab, .rtl #gymtabs { - margin: 0 7px -6px 0; -} - -#gymtab ul, #gymtabs ul { - margin:0; - padding: 0; - list-style: none; -} - -#gymtab li, #gymtabs li { - display: inline; - margin: 0; - padding: 0; - font-size: 0.85em; - font-weight: bold; -} - -#gymtab a, #gymtabs a { - float: left; - background:url("../images/bg_tabs1.gif") no-repeat 0% -34px; - margin: 0 1px 0 0; - padding: 0 0 0 7px; - text-decoration: none; - position: relative; -} - -.rtl #gymtab a, .rtl #gymtabs a { - float: right; -} - -#gymtab a span, #gymtabs a span { - float: left; - display: block; - background: url("../images/bg_tabs2.gif") no-repeat 100% -34px; - padding: 7px 10px 4px 4px; - color: #767676; - white-space: nowrap; - font-family: Arial, Helvetica, sans-serif; - text-transform: uppercase; - font-weight: bold; -} - -.rtl #gymtab a span, .rtl #gymtabs a span { - float: right; -} - -/* Commented Backslash Hack hides rule from IE5-Mac \*/ -#gymtab a span, #gymtabs a span, .rtl #gymtab a span, .rtl #gymtabs a span { float:none;} -/* End hack */ - -#gymtab a:hover span, #gymtabs a:hover span { - color: #BC2A4D; -} - -#gymtab #gymactivetab a, #gymtabs #gymactivetabs a { - background-position: 0 0; - border-bottom: 1px solid #DCDEE2; -} - -#gymtab #gymactivetab a span, #gymtabs #gymactivetabs a span { - background-position: 100% 0; - padding-bottom: 5px; - color: #23649F; -} - -#gymtab a:hover, #gymtabs a:hover { - background-position: 0 -69px; -} - -#gymtab a:hover span, #gymtabs a:hover span { - background-position: 100% -69px; -} -#gymtab #gymactivetab a:hover span , #gymtabs #gymactivetabs a:hover span { - color: #115098; -} -#gymacp, #gymacps { - margin: 4px 0; - padding: 3px 1px; - min-width: 550px; - background-color: #FFFFFF; - border: 1px #999999 solid; -} -#gymcontent, #gymcontents { - padding: 30px 10px 10px; - position: relative; - padding-top: 10px; - height: 1%; - overflow: hidden; -} - - -#gymcontent h1, #gymcontents h1 { - line-height: 1.2em; - margin-bottom: 0; - color: #115098; -} - -#gymcontent h2, #gymcontents h2 { - margin-top: 20px; - margin-bottom: 5px; - border-bottom: 1px solid #CCCCCC; - padding-bottom: 5px; - color: #333333; -} -/* www.phpbb-seo.com GYM Sitemaps & RSS - * Just some more indepth tabbing */ /* Tabbed menu Based on: http://www.alistapart.com/articles/slidingdoors2/ ----------------------------------------*/ diff --git a/phpBB/common.php b/phpBB/common.php index 729c4f88b7..c8b2fb9609 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -217,17 +217,7 @@ unset($dbpasswd); // Grab global variables, re-cache if necessary $config = $cache->obtain_config(); -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -if (empty($phpbb_seo) ) { - require_once($phpbb_root_path . 'phpbb_seo/phpbb_seo_class.'.$phpEx); - $phpbb_seo = new phpbb_seo(); - @define('PHPBB_USE_BOARD_URL_PATH', true); -} -// www.phpBB-SEO.com SEO TOOLKIT END -// www.phpBB-SEO.com SEO TOOLKIT BEGIN - META -require_once($phpbb_root_path . 'phpbb_seo/phpbb_seo_meta.'.$phpEx); -$seo_meta = new seo_meta(); -// www.phpBB-SEO.com SEO TOOLKIT END - META + // Add own hook handler require($phpbb_root_path . 'includes/hooks/index.' . $phpEx); $phpbb_hook = new phpbb_hook(array('exit_handler', 'phpbb_user_session_handler', 'append_sid', array('template', 'display'))); diff --git a/phpBB/download/file.php b/phpBB/download/file.php index 4789f8a70f..5f45b88359 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -243,13 +243,10 @@ if (!download_allowed()) $download_mode = (int) $extensions[$attachment['extension']]['download_mode']; -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> Zero dupe -// Added , attach_comment // Fetching filename here to prevent sniffing of filename -$sql = 'SELECT attach_id, is_orphan, in_message, post_msg_id, extension, physical_filename, real_filename, mimetype, filetime, attach_comment +$sql = 'SELECT attach_id, is_orphan, in_message, post_msg_id, extension, physical_filename, real_filename, mimetype, filetime FROM ' . ATTACHMENTS_TABLE . " WHERE attach_id = $download_id"; -// www.phpBB-SEO.com SEO TOOLKIT END -> Zero dupe $result = $db->sql_query_limit($sql, 1); $attachment = $db->sql_fetchrow($result); $db->sql_freeresult($result); @@ -271,28 +268,7 @@ if ($display_cat == ATTACHMENT_CATEGORY_FLASH && !$user->optionget('viewflash')) { $display_cat = ATTACHMENT_CATEGORY_NONE; } -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> Zero dupe -if (!empty($phpbb_seo->seo_opt['rewrite_files'])) { - if (empty($phpbb_seo->seo_url['file'][$download_id])) { - $comment = bbcode_nl2br(censor_text($attachment['attach_comment'])); - $comment_clean = preg_replace('`<[^>]*>`Ui', ' ', $comment); - $_display_cat = ($thumbnail && $display_cat != ATTACHMENT_CATEGORY_NONE) ? ATTACHMENT_CATEGORY_THUMB : $display_cat; - if (($_pos = utf8_strpos($comment, '<br')) !== false) { - $comment_url = strip_tags(utf8_substr($comment, 0, $_pos)); - } else { - $comment_url = $comment_clean; - } - $comment_url = utf8_strlen($comment_url) > 60 ? utf8_substr($comment_url, 0, 60) : $comment_url; - $phpbb_seo->seo_url['file'][$download_id] = $phpbb_seo->format_url($comment_url, $phpbb_seo->seo_static['file'][$display_cat]); - } - $phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array( - 'id' => array('val' => $download_id, 'keep' => true), - 'mode' => array('val' => $mode, 'keep' => (boolean) ($mode == 'view')), - 't' => array('val' => $thumbnail, 'keep' => $thumbnail), - ); - $phpbb_seo->seo_chk_dupe('', '', $phpbb_root_path . 'download/'); -} -// www.phpBB-SEO.com SEO TOOLKIT END -> Zero dupe + if ($thumbnail) { $attachment['physical_filename'] = 'thumb_' . $attachment['physical_filename']; diff --git a/phpBB/gym_sitemaps/acp/.htaccess b/phpBB/gym_sitemaps/acp/.htaccess deleted file mode 100644 index 6511d09c92..0000000000 --- a/phpBB/gym_sitemaps/acp/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -<Limit GET POST PUT DELETE> -Order Allow,Deny -Deny from All -</Limit> diff --git a/phpBB/gym_sitemaps/acp/google_forum.php b/phpBB/gym_sitemaps/acp/google_forum.php deleted file mode 100644 index f59784e15c..0000000000 --- a/phpBB/gym_sitemaps/acp/google_forum.php +++ /dev/null @@ -1,170 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: google_forum.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* google_forum Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class google_forum { - var $gym_master; - var $dyn_select = array(); - /** - * constuctor - */ - function google_forum(&$gym_master) { - $this->gym_master = &$gym_master; - if (isset($this->gym_master->dyn_select) ) { - $this->dyn_select = & $this->gym_master->dyn_select; - $this->gym_master->forum_select(); - } - } - /** - * acp_module() - * retunrs the acp config, display vars + default values and select options - * @access private - */ - function acp_module() { - return array( - 'cache' => array( - 'display_vars' => array( - 'title' => 'GYM_CACHE', - 'vars' => array( - 'legend1' => 'GYM_CACHE', - 'google_forum_cache_on' => array('lang' => 'GYM_CACHE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_forum_cache_force_gzip' => array('lang' => 'GYM_CACHE_FORCE_GZIP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_forum_cache_max_age' => array('lang' => 'GYM_CACHE_MAX_AGE', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'google_forum_showstats' => array('lang' => 'GYM_SHOWSTATS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_forum_cache_on' => 0, - 'google_forum_cache_force_gzip' => 0, - 'google_forum_cache_max_age' => 24, - 'google_forum_showstats' => 1, - ), - ), - 'modrewrite' => array( - 'display_vars' => array( - 'title' => 'GYM_MODREWRITE', - 'vars' => array( - 'legend1' => 'GYM_MODREWRITE', - 'google_forum_modrewrite' => array('lang' => 'GYM_MODREWRITE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_forum_modrtype' => array('lang' => 'GYM_MODRTYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_forum_modrewrite' => 0, - 'google_forum_modrtype' => 0, - ), - 'select' => array( - 'google_forum_modrtype' => @$this->dyn_select['modrtype'], - ), - ), - 'gzip' => array( - 'display_vars' => array( - 'title' => 'GYM_GZIP', - 'vars' => array( - 'legend1' => 'GYM_GZIP', - 'google_forum_gzip' => array('lang' => 'GYM_GZIP_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_forum_gzip_ext' => array('lang' => 'GYM_GZIP_EXT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_forum_gzip' => 0, - 'google_forum_gzip_ext' => 1, - ), - ), - 'limit' => array( - 'display_vars' => array( - 'title' => 'GYM_LIMIT', - 'vars' => array( - 'legend1' => 'GYM_LIMIT', - 'google_forum_url_limit' => array('lang' => 'GYM_URL_LIMIT', 'validate' => 'int:0:50000', 'type' => 'text:6:6', 'explain' => true, 'overriding' => true), - 'google_forum_sql_limit' => array('lang' => 'GYM_SQL_LIMIT', 'validate' => 'int:0:2500', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_forum_url_limit' => 2500, - 'google_forum_sql_limit' => 150, - ), - ), - 'sort' => array( - 'display_vars' => array( - 'title' => 'GYM_SORT', - 'vars' => array( - 'legend1' => 'GYM_SORT', - 'google_forum_sort' => array('lang' => 'GYM_SORT_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_forum_sort' => 'DESC', - ), - 'select' => array( - 'google_forum_sort' => @$this->dyn_select['sort'], - ), - ), - 'pagination' => array( - 'display_vars' => array( - 'title' => 'GYM_PAGINATION', - 'vars' => array( - 'legend1' => 'GYM_PAGINATION', - 'google_forum_pagination' => array('lang' => 'GYM_PAGINATION_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_forum_limitdown' => array('lang' => 'GYM_LIMITDOWN', 'validate' => 'int:0', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'google_forum_limitup' => array('lang' => 'GYM_LIMITUP', 'validate' => 'int:0', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_forum_pagination' => 1, - 'google_forum_limitdown' => 3, - 'google_forum_limitup' => 5, - ), - ), - 'main' => array( - 'display_vars' => array( - 'title' => 'GOOGLE_FORUM_SETTINGS', - 'vars' => array( - 'legend1' => 'GOOGLE_PRIORITIES', - 'google_forum_sticky_priority' => array('lang' => 'GOOGLE_FORUM_STICKY_PRIORITY', 'type' => 'custom', 'validate' => 'string', 'method' => 'validate_num', 'params' => array('{CONFIG_VALUE}', '{KEY}', 2, 0, 1), 'explain' => true,), - 'google_forum_announce_priority' => array('lang' => 'GOOGLE_FORUM_ANNOUCE_PRIORITY', 'type' => 'custom', 'validate' => 'string', 'method' => 'validate_num', 'params' => array('{CONFIG_VALUE}', '{KEY}', 2, 0, 1), 'explain' => true,), - 'google_forum_global_priority' => array('lang' => 'GOOGLE_FORUM_GLOBAL_PRIORITY', 'type' => 'custom', 'validate' => 'string', 'method' => 'validate_num', 'params' => array('{CONFIG_VALUE}', '{KEY}', 2, 0, 1), 'explain' => true,), - 'google_forum_default_priority' => array('lang' => 'GOOGLE_DEFAULT_PRIORITY', 'type' => 'custom', 'validate' => 'string', 'method' => 'validate_num', 'params' => array('{CONFIG_VALUE}', '{KEY}', 2, 0, 1), 'explain' => true, 'overriding' => true), - 'legend2' => 'GOOGLE_FORUM_EXCLUDE', - 'google_forum_exclude' => array('lang' => 'GOOGLE_FORUM_EXCLUDE', 'multiple_validate' => 'int', 'type' => 'custom', 'method' => 'select_multiple_string', 'explain' => true), - 'legend3' => 'GOOGLE_PING', - 'google_forum_ping' => array('lang' => 'GOOGLE_PING', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_forum_sticky_priority' => 0.75, - 'google_forum_announce_priority' => 0.75, - 'google_forum_global_priority' => 0.75, - 'google_forum_default_priority' => 1.0, - 'google_forum_exclude' => '', - 'google_forum_ping' => 0, - ), - 'select' => array( - 'google_forum_exclude' => @$this->dyn_select['forums'], - ), - ), - 'info' => array( - 'title_lang' => 'GOOGLE_FORUM', - 'lang_file' => 'google_forum', - 'actions' => array( 'main', 'cache', 'modrewrite', 'gzip', 'limit', 'sort', 'pagination',), - 'mode' => 'google', - 'module' => 'forum' - ), - ); - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/acp/google_main.php b/phpBB/gym_sitemaps/acp/google_main.php deleted file mode 100644 index 07fccee743..0000000000 --- a/phpBB/gym_sitemaps/acp/google_main.php +++ /dev/null @@ -1,227 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: google_main.php 134 2009-11-02 11:13:45Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* google_main Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class google_main { - var $gym_master; - var $dyn_select = array(); - var $google_override = array(); - /** - * constuctor - */ - function google_main(&$gym_master) { - $this->gym_master = &$gym_master; - if (isset($this->gym_master->dyn_select) ) { - $this->google_override = $this->gym_master->dyn_select['override']; - unset($this->google_override[OVERRIDE_GLOBAL]); - $this->dyn_select = $this->gym_master->dyn_select; - } - } - /** - * acp_module() - * retunrs the acp config - * @access private - */ - function acp_module() { - global $phpbb_seo; - return array( - 'cache' => array( - 'display_vars' => array( - 'title' => 'GYM_CACHE', - 'vars' => array( - 'legend1' => 'GYM_CACHE', - 'google_cache_on' => array('lang' => 'GYM_CACHE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_cache_force_gzip' => array('lang' => 'GYM_CACHE_FORCE_GZIP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_cache_max_age' => array('lang' => 'GYM_CACHE_MAX_AGE', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'google_cache_auto_regen' => array('lang' => 'GYM_CACHE_AUTO_REGEN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'google_showstats' => array('lang' => 'GYM_SHOWSTATS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_cache_on' => 0, - 'google_cache_force_gzip' => 0, - 'google_cache_max_age' => 24, - 'google_cache_auto_regen' => 1, - 'google_showstats' => 1, - ), - ), - 'modrewrite' => array( - 'display_vars' => array( - 'title' => 'GYM_MODREWRITE', - 'vars' => array( - 'legend1' => 'GYM_MODREWRITE', - 'google_modrewrite' => array('lang' => 'GYM_MODREWRITE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_modrtype' => array('lang' => 'GYM_MODRTYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_modrewrite' => 0, - 'google_modrtype' => 0, - ), - 'select' => array( - 'google_modrtype' => @$this->dyn_select['modrtype'], - ), - ), - 'gzip' => array( - 'display_vars' => array( - 'title' => 'GYM_GZIP', - 'vars' => array( - 'legend1' => 'GYM_GZIP', - 'google_gzip' => array('lang' => 'GYM_GZIP_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_gzip_ext' => array('lang' => 'GYM_GZIP_EXT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_gzip' => 0, - 'google_gzip_ext' => 1, - ), - ), - 'limit' => array( - 'display_vars' => array( - 'title' => 'GYM_LIMIT', - 'vars' => array( - 'legend1' => 'GYM_LIMIT', - 'google_url_limit' => array('lang' => 'GYM_URL_LIMIT', 'validate' => 'int:0:50000', 'type' => 'text:6:6', 'explain' => true, 'overriding' => true), - 'google_sql_limit' => array('lang' => 'GYM_SQL_LIMIT', 'validate' => 'int:0:2500', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_url_limit' => 2500, - 'google_sql_limit' => 150, - ), - ), - 'sort' => array( - 'display_vars' => array( - 'title' => 'GYM_SORT', - 'vars' => array( - 'legend1' => 'GYM_SORT', - 'google_sort' => array('lang' => 'GYM_SORT_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_sort' => 'DESC', - ), - 'select' => array( - 'google_sort' => @$this->dyn_select['sort'], - ), - ), - 'pagination' => array( - 'display_vars' => array( - 'title' => 'GYM_PAGINATION', - 'vars' => array( - 'legend1' => 'GYM_PAGINATION', - 'google_pagination' => array('lang' => 'GYM_PAGINATION_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_limitdown' => array('lang' => 'GYM_LIMITDOWN', 'validate' => 'int:0', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'google_limitup' => array('lang' => 'GYM_LIMITUP', 'validate' => 'int:0', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_pagination' => 1, - 'google_limitdown' => 3, - 'google_limitup' => 5, - ), - ), - 'override' => array( - 'display_vars' => array( - 'title' => 'GYM_OVERRIDE', - 'vars' => array( - 'legend1' => 'GYM_OVERRIDE', - 'google_override' => array('lang' => 'GYM_OVERRIDE_MAIN', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'google_override_cache' => array('lang' => 'GYM_OVERRIDE_CACHE','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'google_override_modrewrite' => array('lang' => 'GYM_OVERRIDE_MODREWRITE','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'google_override_gzip' => array('lang' => 'GYM_OVERRIDE_GZIP','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'google_override_limit' => array('lang' => 'GYM_OVERRIDE_LIMIT','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'google_override_sort' => array('lang' => 'GYM_OVERRIDE_SORT','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'google_override_pagination' => array('lang' => 'GYM_OVERRIDE_PAGINATION','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - - ), - ), - 'default' => array( - 'google_override' => OVERRIDE_MODULE, - 'google_override_cache' => OVERRIDE_OTYPE, - 'google_override_modrewrite' => OVERRIDE_OTYPE, - 'google_override_gzip' => OVERRIDE_GLOBAL, - 'google_override_limit' => OVERRIDE_OTYPE, - 'google_override_sort' => OVERRIDE_MODULE, - 'google_override_pagination' => OVERRIDE_OTYPE, - ), - 'select' => array( - 'google_override' => $this->google_override, - 'google_override_cache' => @$this->dyn_select['override'], - 'google_override_modrewrite' => @$this->dyn_select['override'], - 'google_override_gzip' => @$this->dyn_select['override'], - 'google_override_limit' => @$this->dyn_select['override'], - 'google_override_sort' => @$this->dyn_select['override'], - 'google_override_pagination' => @$this->dyn_select['override'], - ), - ), - 'main' => array( - 'display_vars' => array( - 'title' => 'GOOGLE_MAIN', - 'vars' => array( - // URL Settings - 'legend1' => 'GOOGLE_URL', - 'google_url' => array('lang' => 'GOOGLE_URL', 'validate' => 'string', 'type' => 'text:35:200', 'explain' => true), - // Link Settings - 'legend2' => 'GOOGLE_LINKS_ACTIVATION', - 'google_link_main' => array('lang' => 'GOOGLE_LINKS_MAIN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'google_link_index' => array('lang' => 'GOOGLE_LINKS_INDEX', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'google_link_cat' => array('lang' => 'GOOGLE_LINKS_CAT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - // Auth settings - 'legend3' => 'GOOGLE_AUTH_SETTINGS', - 'google_allow_auth' => array('lang' => 'GOOGLE_ALLOW_AUTH', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'google_cache_auth' => array('lang' => 'GOOGLE_CACHE_AUTH', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - // Ping - 'legend4' => 'GOOGLE_PING', - 'google_ping' => array('lang' => 'GOOGLE_PING', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - // Styling - 'legend5' => 'GYM_STYLE', - 'google_xslt' => array('lang' => 'GOOGLE_XSLT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'google_load_phpbb_css' => array('lang' => 'GOOGLE_LOAD_PHPBB_CSS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - // Threshold - 'legend6' => 'GOOGLE_THRESHOLD', - 'google_threshold' => array('lang' => 'GOOGLE_THRESHOLD', 'validate' => 'int:1:100', 'type' => 'text:4:4', 'explain' => true), - // Priorities - 'legend7' => 'GOOGLE_PRIORITIES', - 'google_default_priority' => array('lang' => 'GOOGLE_DEFAULT_PRIORITY', 'type' => 'custom', 'validate' => 'string', 'method' => 'validate_num', 'params' => array('{CONFIG_VALUE}', '{KEY}', 2, 0, 1), 'explain' => true,), - ) - ), - 'default' => array( - 'google_url' => $phpbb_seo->seo_path['phpbb_url'], - 'google_link_main' => 1, - 'google_link_index' => 1, - 'google_link_cat' => 1, - 'google_allow_auth' => 0, - 'google_cache_auth' => 1, - 'google_ping' => 0, - 'google_xslt' => 1, - 'google_load_phpbb_css' => 0, - 'google_threshold' => 10, - 'google_default_priority' => 1.0, - ), - ), - 'info' => array( - 'title_lang' => 'GYM_GOOGLE', - 'lang_file' => 'gym_google', - 'actions' => array( 'main', 'cache', 'modrewrite', 'gzip', 'limit', 'sort', 'pagination', 'override',), - 'mode' => 'google', - 'module' => 'main' - ), - ); - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/acp/google_txt.php b/phpBB/gym_sitemaps/acp/google_txt.php deleted file mode 100644 index 816cb464a4..0000000000 --- a/phpBB/gym_sitemaps/acp/google_txt.php +++ /dev/null @@ -1,117 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: google_txt.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* google_txt Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class google_txt { - var $gym_master; - var $dyn_select = array(); - /** - * constuctor - */ - function google_txt(&$gym_master) { - $this->gym_master = &$gym_master; - if (isset($this->gym_master->dyn_select) ) { - $this->dyn_select = $this->gym_master->dyn_select; - } - } - /** - * acp_module() - * retunrs the acp config, display vars + default values and select options - * @access private - */ - function acp_module() { - return array( - 'cache' => array( - 'display_vars' => array( - 'title' => 'GYM_CACHE', - 'vars' => array( - 'legend1' => 'GYM_CACHE', - 'google_txt_cache_on' => array('lang' => 'GYM_CACHE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_txt_cache_force_gzip' => array('lang' => 'GYM_CACHE_FORCE_GZIP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_txt_cache_max_age' => array('lang' => 'GYM_CACHE_MAX_AGE', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'google_txt_showstats' => array('lang' => 'GYM_SHOWSTATS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_txt_cache_on' => 1, - 'google_txt_cache_force_gzip' => 0, - 'google_txt_cache_max_age' => 24, - 'google_txt_showstats' => 1, - ), - ), - 'gzip' => array( - 'display_vars' => array( - 'title' => 'GYM_GZIP', - 'vars' => array( - 'legend1' => 'GYM_GZIP', - 'google_txt_gzip' => array('lang' => 'GYM_GZIP_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_txt_gzip_ext' => array('lang' => 'GYM_GZIP_EXT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_txt_gzip' => 0, - 'google_txt_gzip_ext' => 1, - ), - ), - 'limit' => array( - 'display_vars' => array( - 'title' => 'GYM_LIMIT', - 'vars' => array( - 'legend1' => 'GYM_LIMIT', - 'google_txt_url_limit' => array('lang' => 'GYM_URL_LIMIT', 'validate' => 'int:0:5000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_txt_url_limit' => 750, - ), - ), - // We always need a main - 'main' => array( - 'display_vars' => array( - 'title' => 'GOOGLE_TXT_CONFIG', - 'vars' => array( - 'legend1' => 'GOOGLE_TXT_CONFIG', - 'google_txt_randomize' => array('lang' => 'GOOGLE_TXT_RANDOMIZE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'google_txt_unique' => array('lang' => 'GOOGLE_TXT_UNIQUE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'google_txt_check_robots' => array('lang' => 'GYM_CHECK_ROBOTS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'google_txt_force_lastmod' => array('lang' => 'GOOGLE_TXT_FORCE_LASTMOD', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'legend2' => 'GOOGLE_PRIORITIES', - 'google_txt_default_priority' => array('lang' => 'GOOGLE_DEFAULT_PRIORITY', 'type' => 'custom', 'validate' => 'string', 'method' => 'validate_num', 'params' => array('{CONFIG_VALUE}', '{KEY}', 2, 0, 1), 'explain' => true, 'overriding' => true), - 'legend3' => 'GOOGLE_PING', - 'google_txt_ping' => array('lang' => 'GOOGLE_PING', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_txt_randomize' => 0, - 'google_txt_unique' => 0, - 'google_txt_check_robots' => 0, - 'google_txt_force_lastmod' => 0, - 'google_txt_default_priority' => 1.0, - 'google_txt_ping' => 0, - ), - ), - 'info' => array( - 'title_lang' => 'GOOGLE_TXT', - 'lang_file' => 'google_txt', - 'actions' => array( 'main', 'cache', 'gzip', 'limit'), - 'mode' => 'google', - 'module' => 'txt' - ), - ); - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/acp/google_xml.php b/phpBB/gym_sitemaps/acp/google_xml.php deleted file mode 100644 index 3a182f5b89..0000000000 --- a/phpBB/gym_sitemaps/acp/google_xml.php +++ /dev/null @@ -1,119 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: google_xml.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* google_xml Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class google_xml { - var $gym_master; - var $dyn_select = array(); - /** - * constuctor - */ - function google_xml(&$gym_master) { - $this->gym_master = &$gym_master; - if (isset($this->gym_master->dyn_select) ) { - $this->dyn_select = $this->gym_master->dyn_select; - } - } - /** - * acp_module() - * retunrs the acp config, display vars + default values and select options - * @access private - */ - function acp_module() { - return array( - 'cache' => array( - 'display_vars' => array( - 'title' => 'GYM_CACHE', - 'vars' => array( - 'legend1' => 'GYM_CACHE', - 'google_xml_cache_on' => array('lang' => 'GYM_CACHE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_xml_cache_force_gzip' => array('lang' => 'GYM_CACHE_FORCE_GZIP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_xml_cache_max_age' => array('lang' => 'GYM_CACHE_MAX_AGE', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'google_xml_showstats' => array('lang' => 'GYM_SHOWSTATS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_xml_cache_on' => 1, - 'google_xml_cache_force_gzip' => 0, - 'google_xml_cache_max_age' => 24, - 'google_xml_showstats' => 1, - ), - ), - 'gzip' => array( - 'display_vars' => array( - 'title' => 'GYM_GZIP', - 'vars' => array( - 'legend1' => 'GYM_GZIP', - 'google_xml_gzip' => array('lang' => 'GYM_GZIP_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'google_xml_gzip_ext' => array('lang' => 'GYM_GZIP_EXT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_xml_gzip' => 0, - 'google_xml_gzip_ext' => 1, - ), - ), - 'limit' => array( - 'display_vars' => array( - 'title' => 'GYM_LIMIT', - 'vars' => array( - 'legend1' => 'GYM_LIMIT', - 'google_xml_url_limit' => array('lang' => 'GYM_URL_LIMIT', 'validate' => 'int:0:10000', 'type' => 'text:8:8', 'explain' => true, 'overriding' => true), - 'google_xml_force_limit' => array('lang' => 'GOOGLE_XML_FORCE_LIMIT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - ), - ), - 'default' => array( - 'google_xml_url_limit' => 750, - 'google_xml_force_limit' => 0, - ), - ), - // We always need a main - 'main' => array( - 'display_vars' => array( - 'title' => 'GOOGLE_XML_CONFIG', - 'vars' => array( - 'legend1' => 'GOOGLE_XML_CONFIG', - 'google_xml_randomize' => array('lang' => 'GOOGLE_XML_RANDOMIZE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'google_xml_unique' => array('lang' => 'GOOGLE_XML_UNIQUE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'google_xml_check_robots' => array('lang' => 'GYM_CHECK_ROBOTS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'google_xml_force_lastmod' => array('lang' => 'GOOGLE_XML_FORCE_LASTMOD', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'legend2' => 'GOOGLE_PRIORITIES', - 'google_xml_default_priority' => array('lang' => 'GOOGLE_DEFAULT_PRIORITY', 'type' => 'custom', 'validate' => 'string', 'method' => 'validate_num', 'params' => array('{CONFIG_VALUE}', '{KEY}', 2, 0, 1), 'explain' => true, 'overriding' => true), - 'legend3' => 'GOOGLE_PING', - 'google_xml_ping' => array('lang' => 'GOOGLE_PING', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'google_xml_randomize' => 0, - 'google_xml_unique' => 0, - 'google_xml_check_robots' => 0, - 'google_xml_force_lastmod' => 0, - 'google_xml_default_priority' => 1.0, - 'google_xml_ping' => 0, - ), - ), - 'info' => array( - 'title_lang' => 'GOOGLE_XML', - 'lang_file' => 'google_xml', - 'actions' => array( 'main', 'cache', 'gzip', 'limit'), - 'mode' => 'google', - 'module' => 'xml' - ), - ); - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/acp/html_forum.php b/phpBB/gym_sitemaps/acp/html_forum.php deleted file mode 100644 index 99a96aa21c..0000000000 --- a/phpBB/gym_sitemaps/acp/html_forum.php +++ /dev/null @@ -1,303 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: html_forum.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* html_forum Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class html_forum { - var $gym_master; - var $dyn_select = array(); - /** - * constuctor - */ - function html_forum(&$gym_master) { - global $user; - $this->gym_master = &$gym_master; - if (isset($this->gym_master->dyn_select) ) { - $this->dyn_select = &$this->gym_master->dyn_select; - $this->gym_master->forum_select(); - } - } - /** - * acp_module() - * retunrs the acp config - * @access private - */ - function acp_module() { - global $config, $phpbb_seo, $user; - $config['sitename'] = utf8_normalize_nfc($config['sitename']); - $config['site_desc'] = utf8_normalize_nfc($config['site_desc']); - return array( - 'cache' => array( - 'display_vars' => array( - 'title' => 'HTML_CACHE', - 'vars' => array( - 'legend1' => 'HTML_CACHE', - 'html_forum_main_cache_on' => array('lang' => 'HTML_MAIN_CACHE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'html_forum_main_cache_ttl' => array('lang' => 'HTML_MAIN_CACHE_TTL', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'html_forum_opt_cache_on' => array('lang' => 'HTML_OPT_CACHE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'html_forum_opt_cache_ttl' => array('lang' => 'HTML_OPT_CACHE_TTL', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'html_forum_main_cache_on' => 0, - 'html_forum_opt_cache_on' => 0, - 'html_forum_main_cache_ttl' => 6, - 'html_forum_opt_cache_ttl' => 6, - ), - ), - 'modrewrite' => array( - 'display_vars' => array( - 'title' => 'GYM_MODREWRITE', - 'vars' => array( - 'legend1' => 'GYM_MODREWRITE', - 'html_forum_modrewrite' => array('lang' => 'GYM_MODREWRITE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'html_forum_modrtype' => array('lang' => 'GYM_MODRTYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'html_forum_modrewrite' => 0, - 'html_forum_modrtype' => 0, - ), - 'select' => array( - 'html_forum_modrtype' => @$this->dyn_select['modrtype'], - ), - ), - 'gzip' => array( - 'display_vars' => array( - 'title' => 'GYM_GZIP', - 'vars' => array( - 'legend4' => 'GYM_GZIP', - 'html_forum_gzip' => array('lang' => 'GYM_GZIP_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'html_forum_gzip' => 0, - ), - ), - 'limit' => array( - 'display_vars' => array( - 'title' => 'GYM_LIMIT', - 'vars' => array( - 'legend1' => 'GYM_TIME_LIMIT', - 'html_forum_map_time_limit' => array('lang' => 'HTML_MAP_TIME_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'html_forum_cat_time_limit' => array('lang' => 'HTML_CAT_MAP_TIME_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'html_forum_news_time_limit' => array('lang' => 'HTML_NEWS_TIME_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'html_forum_cat_news_time_limit' => array('lang' => 'HTML_CAT_NEWS_TIME_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'html_forum_map_time_limit' => 0, - 'html_forum_cat_time_limit' => 0, - 'html_forum_news_time_limit' => 0, - 'html_forum_cat_news_time_limit' => 0, - ), - ), - 'sort' => array( - 'display_vars' => array( - 'title' => 'GYM_SORT', - 'vars' => array( - 'legend1' => 'HTML_MAP_SORT_TITLE', - 'html_forum_first' => array('lang' => 'HTML_FORUM_FIRST', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'html_forum_sort' => array('lang' => 'GYM_SORT_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_cat_sort' => array('lang' => 'HTML_CAT_SORT_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'legend2' => 'HTML_NEWS_SORT_TITLE', - 'html_forum_news_first' => array('lang' => 'HTML_FORUM_NEWS_FIRST', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'html_forum_news_sort' => array('lang' => 'HTML_NEWS_SORT_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_cat_news_sort' => array('lang' => 'HTML_CAT_NEWS_SORT_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'html_forum_sort' => 'DESC', - 'html_forum_cat_sort' => 'DESC', - 'html_forum_news_sort' => 'DESC', - 'html_forum_cat_news_sort' => 'DESC', - 'html_forum_first' => 0, - 'html_forum_news_first' => 1, - ), - 'select' => array( - 'html_forum_sort' => @$this->dyn_select['sort'], - 'html_forum_cat_sort' => @$this->dyn_select['sort'], - 'html_forum_news_sort' => @$this->dyn_select['sort'], - 'html_forum_cat_news_sort' => @$this->dyn_select['sort'], - ), - ), - 'pagination' => array( - 'display_vars' => array( - 'title' => 'GYM_PAGINATION', - 'vars' => array( - 'legend1' => 'HTML_PAGINATION_GEN', - 'html_forum_pagination' => array('lang' => 'HTML_FORUM_PAGINATION', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'html_forum_pagination_limit' => array('lang' => 'HTML_FORUM_PAGINATION_LIMIT', 'validate' => 'int:0:100', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'html_forum_news_pagination' => array('lang' => 'HTML_NEWS_PAGINATION', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'html_forum_news_pagination_limit' => array('lang' => 'HTML_NEWS_PAGINATION_LIMIT', 'validate' => 'int:0:50', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'legend2' => 'HTML_PAGINATION_SPEC', - 'html_forum_item_pagination' => array('lang' => 'HTML_ITEM_PAGINATION', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'html_forum_ltopic_pagination' => array('lang' => 'HTML_FORUM_LTOPIC_PAGINATION', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - ), - ), - 'default' => array( - 'html_forum_pagination' => 1, - 'html_forum_pagination_limit' => 50, - 'html_forum_news_pagination' => 1, - 'html_forum_news_pagination_limit' => 10, - 'html_forum_item_pagination' => 0, - 'html_forum_ltopic_pagination' => 0, - ), - ), - 'main' => array( - 'display_vars' => array( - 'title' => 'HTML_MAIN', - 'vars' => array( - // Settings - 'legend1' => 'HTML_SETTINGS', - 'html_forum_allow_map' => array('lang' => 'HTML_ALLOW_MAP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'html_forum_allow_cat_map' => array('lang' => 'HTML_ALLOW_CAT_MAP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'html_forum_sitename' => array('lang' => 'HTML_SITENAME', 'validate' => 'string', 'type' => 'text:40:255', 'explain' => true, 'overriding' => true), - 'html_forum_site_desc' => array('lang' => 'HTML_SITE_DESC', 'validate' => 'string', 'type' => 'textarea:6:50', 'explain' => true, 'overriding' => true), - 'html_forum_c_info' => array('lang' => 'HTML_C_INFO', 'validate' => 'string', 'type' => 'text:40:255', 'explain' => true, 'overriding' => true), - 'html_forum_logo_url' => array('lang' => 'HTML_LOGO_URL', 'validate' => 'string', 'type' => 'text:25:200', 'explain' => true, 'overriding' => true), - 'html_forum_stats_on_news' => array('lang' => 'HTML_STATS_ON_NEWS', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_stats_on_map' => array('lang' => 'HTML_STATS_ON_MAP', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_birthdays_on_news' => array('lang' => 'HTML_BIRTHDAYS_ON_NEWS', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_birthdays_on_map' => array('lang' => 'HTML_BIRTHDAYS_ON_MAP', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_disp_online' => array('lang' => 'HTML_DISP_ONLINE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_disp_tracking' => array('lang' => 'HTML_DISP_TRACKING', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_disp_status' => array('lang' => 'HTML_DISP_STATUS', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_allow_profile' => array('lang' => 'HTML_ALLOW_PROFILE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_allow_profile_links' => array('lang' => 'HTML_ALLOW_PROFILE_LINKS', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_exclude' => array('lang' => 'HTML_FORUM_EXCLUDE', 'multiple_validate' => 'int', 'type' => 'custom', 'method' => 'select_multiple_string', 'explain' => true), - // Auth settings - 'legend2' => 'HTML_AUTH_SETTINGS', - 'html_forum_allow_auth' => array('lang' => 'HTML_ALLOW_AUTH', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - // Last topic list - 'legend3' => 'HTML_FORUM_LTOPIC', - 'html_forum_ltopic' => array('lang' => 'HTML_FORUM_INDEX_LTOPIC', 'validate' => 'int:0:100', 'type' => 'text:4:4', 'explain' => true), - 'html_forum_cat_ltopic' => array('lang' => 'HTML_FORUM_CAT_LTOPIC', 'validate' => 'int:0:100', 'type' => 'text:4:4', 'explain' => true), - 'html_forum_news_ltopic' => array('lang' => 'HTML_FORUM_NEWS_LTOPIC', 'validate' => 'int:0:100', 'type' => 'text:4:4', 'explain' => true), - 'html_forum_cat_news_ltopic' => array('lang' => 'HTML_FORUM_CAT_NEWS_LTOPIC', 'validate' => 'int:0:100', 'type' => 'text:4:4', 'explain' => true), - 'html_forum_ltopic_exclude' => array('lang' => 'HTML_FORUM_LTOPIC_EXCLUDE', 'multiple_validate' => 'int', 'type' => 'custom', 'method' => 'select_multiple_string', 'explain' => true), - // form specific - 'legend4' => 'HTML_FORUM_CONTENT', - 'html_forum_last_post' => array('lang' => 'HTML_FORUM_LAST_POST', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true), - 'html_forum_rules' => array('lang' => 'HTML_FORUM_RULES', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true), - 'html_forum_desc' => array('lang' => 'HTML_FORUM_DESC', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true), - ), - ), - 'default' => array( - 'html_forum_allow_map' => 1, - 'html_forum_allow_cat_map' => 1, - 'html_forum_c_info' => $config['sitename'], - 'html_forum_sitename' => $config['sitename'], - 'html_forum_site_desc' => $config['site_desc'], - 'html_forum_logo_url' => '', - 'html_forum_url' => $phpbb_seo->seo_path['phpbb_url'], - 'html_forum_disp_online' => 'globalmod', - 'html_forum_disp_tracking' => 'reg', - 'html_forum_disp_status' => 'reg', - 'html_forum_allow_auth' => 1, - 'html_forum_ltopic' => 15, - 'html_forum_cat_ltopic' => 15, - 'html_forum_news_ltopic' => 10, - 'html_forum_cat_news_ltopic' => 10, - 'html_forum_allow_profile' => 'none', - 'html_forum_allow_profile_links' => 'reg', - 'html_forum_last_post' => 'reg', - 'html_forum_rules' => 'all', - 'html_forum_desc' => 'all', - 'html_forum_stats_on_news' => 'all', - 'html_forum_stats_on_map' => 'all', - 'html_forum_birthdays_on_news' => 'reg', - 'html_forum_birthdays_on_map' => 'reg', - // Exclusions - 'html_forum_exclude' => '', - 'html_forum_ltopic_exclude' => '', - ), - 'select' => array( - 'html_forum_exclude' => @$this->dyn_select['forums'], - 'html_forum_disp_online' => @$this->dyn_select['gym_auth'], - 'html_forum_disp_tracking' => @$this->dyn_select['gym_auth'], - 'html_forum_disp_status' => @$this->dyn_select['gym_auth'], - 'html_forum_ltopic_exclude' => @$this->dyn_select['forums'], - 'html_forum_allow_profile' => @$this->dyn_select['gym_auth'], - 'html_forum_allow_profile_links' => @$this->dyn_select['gym_auth'], - 'html_forum_last_post' => @$this->dyn_select['gym_auth'], - 'html_forum_rules' => @$this->dyn_select['gym_auth'], - 'html_forum_desc' => @$this->dyn_select['gym_auth'], - 'html_forum_stats_on_news' => @$this->dyn_select['gym_auth'], - 'html_forum_stats_on_map' => @$this->dyn_select['gym_auth'], - 'html_forum_birthdays_on_news' => @$this->dyn_select['gym_auth'], - 'html_forum_birthdays_on_map' => @$this->dyn_select['gym_auth'], - ), - ), - 'content' => array( - 'display_vars' => array( - 'title' => 'HTML_NEWS', - 'vars' => array( - // news - 'legend1' => 'HTML_NEWS', - 'html_forum_allow_news' => array('lang' => 'HTML_FORUM_ALLOW_NEWS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'html_forum_allow_cat_news' => array('lang' => 'HTML_FORUM_ALLOW_CAT_NEWS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'html_forum_news_ids' => array('lang' => 'HTML_FORUM_NEWS_IDS', 'multiple_validate' => 'int', 'type' => 'custom', 'method' => 'select_multiple_string', 'explain' => true), - // News content - 'legend2' => 'HTML_NEWS_CONTENT', - 'html_forum_post_buttons' => array('lang' => 'HTML_FORUM_POST_BUTTONS', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true), - 'html_forum_allow_bbcode' => array('lang' => 'HTML_ALLOW_BBCODE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_strip_bbcode' => array('lang' => 'HTML_STRIP_BBCODE', 'validate' => 'string', 'type' => 'text:25:200', 'explain' => true, 'overriding' => true), - 'html_forum_allow_links' => array('lang' => 'HTML_ALLOW_LINKS', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_allow_emails' => array('lang' => 'HTML_ALLOW_EMAILS', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_allow_smilies' => array('lang' => 'HTML_ALLOW_SMILIES', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_allow_sig' => array('lang' => 'HTML_ALLOW_SIG', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_forum_sumarize' => array('lang' => 'HTML_SUMARIZE', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'html_forum_sumarize_method' => array('lang' => 'HTML_SUMARIZE_METHOD', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - // Content - 'html_forum_allow_news' => 1, - 'html_forum_news_ids' => '', - 'html_forum_allow_cat_news' => 1, - 'html_forum_post_buttons' => 'none', - 'html_forum_allow_bbcode' => 'all', - 'html_forum_strip_bbcode' => '', - 'html_forum_allow_links' => 'all', - 'html_forum_allow_emails' => 'none', - 'html_forum_allow_smilies' => 'none', - 'html_forum_allow_sig' => 'none', - 'html_forum_sumarize' => 75, - 'html_forum_sumarize_method' => 'words', - ), - 'select' => array( - 'html_forum_sumarize_method' => @$this->dyn_select['sumarize_method'], - 'html_forum_post_buttons' => @$this->dyn_select['gym_auth'], - 'html_forum_allow_bbcode' => @$this->dyn_select['gym_auth'], - 'html_forum_allow_links' => @$this->dyn_select['gym_auth'], - 'html_forum_allow_emails' => @$this->dyn_select['gym_auth'], - 'html_forum_allow_smilies' => @$this->dyn_select['gym_auth'], - 'html_forum_allow_sig' => @$this->dyn_select['gym_auth'], - 'html_forum_news_ids' => @$this->dyn_select['forums'], - ), - ), - 'info' => array( - 'title_lang' => 'HTML_FORUM', - 'lang_file' => 'html_forum', - 'actions' => array( 'main', 'content', 'cache', 'modrewrite', 'gzip', 'limit', 'sort', 'pagination',), - 'mode' => 'rss', - 'module' => 'forum' - ), - ); - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/acp/html_main.php b/phpBB/gym_sitemaps/acp/html_main.php deleted file mode 100644 index 85c0951ee2..0000000000 --- a/phpBB/gym_sitemaps/acp/html_main.php +++ /dev/null @@ -1,314 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: html_main.php 134 2009-11-02 11:13:45Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* html_main Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class html_main { - var $gym_master; - var $dyn_select = array(); - var $lang_iso639 = array(); - var $html_override = array(); - /** - * constuctor - */ - function html_main(&$gym_master) { - global $user; - $this->gym_master = &$gym_master; - if (isset($this->gym_master->dyn_select) ) { - $this->html_override = $this->gym_master->dyn_select['override']; - unset($this->html_override[OVERRIDE_GLOBAL]); - $this->dyn_select = $this->gym_master->dyn_select; - } - } - /** - * acp_module() - * retunrs the acp config - * @access private - */ - function acp_module() { - global $config, $phpbb_seo, $user, $phpEx; - $config['sitename'] = utf8_normalize_nfc($config['sitename']); - $config['site_desc'] = utf8_normalize_nfc($config['site_desc']); - return array( - 'cache' => array( - 'display_vars' => array( - 'title' => 'HTML_CACHE', - 'vars' => array( - 'legend1' => 'HTML_CACHE', - 'html_main_cache_on' => array('lang' => 'HTML_MAIN_CACHE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'html_main_cache_ttl' => array('lang' => 'HTML_MAIN_CACHE_TTL', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true), - 'html_opt_cache_on' => array('lang' => 'HTML_OPT_CACHE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'html_opt_cache_ttl' => array('lang' => 'HTML_OPT_CACHE_TTL', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true), - ), - ), - 'default' => array( - 'html_main_cache_on' => 0, - 'html_opt_cache_on' => 0, - 'html_opt_cache_ttl' => 6, - 'html_main_cache_ttl' => 6, - ), - ), - 'modrewrite' => array( - 'display_vars' => array( - 'title' => 'GYM_MODREWRITE', - 'vars' => array( - 'legend1' => 'GYM_MODREWRITE', - 'html_modrewrite' => array('lang' => 'GYM_MODREWRITE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'html_modrtype' => array('lang' => 'GYM_MODRTYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'html_modrewrite' => 0, - 'html_modrtype' => 0, - ), - 'select' => array( - 'html_modrtype' => @$this->dyn_select['modrtype'], - ), - ), - 'gzip' => array( - 'display_vars' => array( - 'title' => 'GYM_GZIP', - 'vars' => array( - 'legend4' => 'GYM_GZIP', - 'html_gzip' => array('lang' => 'GYM_GZIP_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'html_gzip' => 0, - ), - ), - 'limit' => array( - 'display_vars' => array( - 'title' => 'GYM_LIMIT', - 'vars' => array( - 'legend1' => 'GYM_URL_LIMIT', - 'html_rss_news_limit' => array('lang' => 'HTML_RSS_NEWS_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true), - 'legend2' => 'GYM_TIME_LIMIT', - 'html_map_time_limit' => array('lang' => 'HTML_MAP_TIME_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true), - 'html_cat_time_limit' => array('lang' => 'HTML_CAT_MAP_TIME_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true), - 'html_news_time_limit' => array('lang' => 'HTML_NEWS_TIME_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true), - 'html_cat_news_time_limit' => array('lang' => 'HTML_CAT_NEWS_TIME_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true), - ), - ), - 'default' => array( - 'html_rss_news_limit' => 10, - 'html_map_time_limit' => 0, - 'html_cat_time_limit' => 0, - 'html_news_time_limit' => 0, - 'html_cat_news_time_limit' => 0, - ), - ), - 'sort' => array( - 'display_vars' => array( - 'title' => 'GYM_SORT', - 'vars' => array( - 'legend1' => 'GYM_SORT', - 'html_sort' => array('lang' => 'GYM_SORT_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_cat_sort' => array('lang' => 'HTML_CAT_SORT_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_news_sort' => array('lang' => 'HTML_NEWS_SORT_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'html_cat_news_sort' => array('lang' => 'HTML_CAT_NEWS_SORT_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'html_sort' => 'DESC', - 'html_cat_sort' => 'DESC', - 'html_news_sort' => 'DESC', - 'html_cat_news_sort' => 'DESC', - ), - 'select' => array( - 'html_sort' => @$this->dyn_select['sort'], - 'html_cat_sort' => @$this->dyn_select['sort'], - 'html_news_sort' => @$this->dyn_select['sort'], - 'html_cat_news_sort' => @$this->dyn_select['sort'], - ), - ), - 'pagination' => array( - 'display_vars' => array( - 'title' => 'GYM_PAGINATION', - 'vars' => array( - 'legend1' => 'HTML_PAGINATION_GEN', - 'html_pagination' => array('lang' => 'HTML_PAGINATION', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'html_pagination_limit' => array('lang' => 'HTML_PAGINATION_LIMIT', 'validate' => 'int:0:100', 'type' => 'text:4:4', 'explain' => true, ), - 'html_news_pagination' => array('lang' => 'HTML_NEWS_PAGINATION', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'html_news_pagination_limit' => array('lang' => 'HTML_NEWS_PAGINATION_LIMIT', 'validate' => 'int:0:50', 'type' => 'text:4:4', 'explain' => true,), - 'legend2' => 'HTML_PAGINATION_SPEC', - 'html_item_pagination' => array('lang' => 'HTML_ITEM_PAGINATION', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - ), - ), - 'default' => array( - 'html_pagination' => 1, - 'html_pagination_limit' => 25, - 'html_news_pagination' => 1, - 'html_news_pagination_limit' => 10, - 'html_item_pagination' => 0, - ), - ), - 'override' => array( - 'display_vars' => array( - 'title' => 'GYM_OVERRIDE', - 'vars' => array( - 'legend1' => 'GYM_OVERRIDE', - 'html_override' => array('lang' => 'GYM_OVERRIDE_MAIN', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_override_cache' => array('lang' => 'GYM_OVERRIDE_CACHE','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_override_modrewrite' => array('lang' => 'GYM_OVERRIDE_MODREWRITE','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_override_gzip' => array('lang' => 'GYM_OVERRIDE_GZIP','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_override_limit' => array('lang' => 'GYM_OVERRIDE_LIMIT','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_override_sort' => array('lang' => 'GYM_OVERRIDE_SORT','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_override_pagination' => array('lang' => 'GYM_OVERRIDE_PAGINATION','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - ), - ), - 'default' => array( - 'html_override' => OVERRIDE_MODULE, - 'html_override_cache' => OVERRIDE_OTYPE, - 'html_override_modrewrite' => OVERRIDE_OTYPE, - 'html_override_gzip' => OVERRIDE_GLOBAL, - 'html_override_limit' => OVERRIDE_OTYPE, - 'html_override_sort' => OVERRIDE_MODULE, - 'html_override_pagination' => OVERRIDE_OTYPE, - ), - 'select' => array( - 'html_override' => $this->html_override, - 'html_override_cache' => $this->html_override, - 'html_override_modrewrite' => @$this->dyn_select['override'], - 'html_override_gzip' => @$this->dyn_select['override'], - 'html_override_limit' => $this->html_override, - 'html_override_sort' => @$this->dyn_select['override'], - 'html_override_pagination' => $this->html_override, - ), - ), - 'main' => array( - 'display_vars' => array( - 'title' => 'HTML_MAIN', - 'vars' => array( - // URL Settings - 'legend1' => 'HTML_URL', - 'html_url' => array('lang' => 'HTML_URL', 'validate' => 'string', 'type' => 'text:40:255', 'explain' => true), - // Link Settings - 'legend2' => 'HTML_LINKS_ACTIVATION', - 'html_link_main' => array('lang' => 'HTML_LINKS_MAIN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'html_link_index' => array('lang' => 'HTML_LINKS_INDEX', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'html_link_cat' => array('lang' => 'HTML_LINKS_CAT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - // Settings - 'legend3' => 'HTML_SETTINGS', - 'html_allow_map' => array('lang' => 'HTML_ALLOW_MAP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'html_allow_cat_map' => array('lang' => 'HTML_ALLOW_CAT_MAP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'html_sitename' => array('lang' => 'HTML_SITENAME', 'validate' => 'string', 'type' => 'text:40:255', 'explain' => true), - 'html_site_desc' => array('lang' => 'HTML_SITE_DESC', 'validate' => 'string', 'type' => 'textarea:6:50', 'explain' => true), - 'html_c_info' => array('lang' => 'HTML_C_INFO', 'validate' => 'string', 'type' => 'text:40:255', 'explain' => true), - 'html_logo_url' => array('lang' => 'HTML_LOGO_URL', 'validate' => 'string', 'type' => 'text:25:200', 'explain' => true), - 'html_stats_on_news' => array('lang' => 'HTML_STATS_ON_NEWS', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_stats_on_map' => array('lang' => 'HTML_STATS_ON_MAP', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_birthdays_on_news' => array('lang' => 'HTML_BIRTHDAYS_ON_NEWS', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_birthdays_on_map' => array('lang' => 'HTML_BIRTHDAYS_ON_MAP', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_disp_online' => array('lang' => 'HTML_DISP_ONLINE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true), - 'html_disp_tracking' => array('lang' => 'HTML_DISP_TRACKING', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true), - 'html_disp_status' => array('lang' => 'HTML_DISP_STATUS', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true), - 'html_allow_profile' => array('lang' => 'HTML_ALLOW_PROFILE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_allow_profile_links' => array('lang' => 'HTML_ALLOW_PROFILE_LINKS', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - // Auth settings - 'legend4' => 'HTML_AUTH_SETTINGS', - 'html_allow_auth' => array('lang' => 'HTML_ALLOW_AUTH', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - ), - ), - 'default' => array( - 'html_url' => $phpbb_seo->seo_path['phpbb_url'], - 'html_link_main' => 1, - 'html_link_index' => 1, - 'html_link_cat' => 1, - 'html_allow_map' => 1, - 'html_allow_cat_map' => 1, - 'html_c_info' => $config['sitename'], - 'html_sitename' => $config['sitename'], - 'html_site_desc' => $config['site_desc'], - 'html_logo_url' => '', - 'html_disp_online' => 'globalmod', - 'html_disp_tracking' => 'reg', - 'html_disp_status' => 'reg', - 'html_allow_profile' => 'none', - 'html_allow_profile_links' => 'reg', - 'html_allow_auth' => 1, - 'html_stats_on_news' => 'all', - 'html_stats_on_map' => 'all', - 'html_birthdays_on_news' => 'reg', - 'html_birthdays_on_map' => 'reg', - ), - 'select' => array( - 'html_disp_online' => @$this->dyn_select['gym_auth'], - 'html_disp_tracking' => @$this->dyn_select['gym_auth'], - 'html_disp_status' => @$this->dyn_select['gym_auth'], - 'html_allow_profile' => @$this->dyn_select['gym_auth'], - 'html_allow_profile_links' => @$this->dyn_select['gym_auth'], - 'html_stats_on_news' => @$this->dyn_select['gym_auth'], - 'html_stats_on_map' => @$this->dyn_select['gym_auth'], - 'html_birthdays_on_news' => @$this->dyn_select['gym_auth'], - 'html_birthdays_on_map' => @$this->dyn_select['gym_auth'], - ), - ), - 'content' => array( - 'display_vars' => array( - 'title' => 'HTML_NEWS', - 'vars' => array( - // News - 'legend1' => 'HTML_NEWS', - 'html_allow_news' => array('lang' => 'HTML_ALLOW_NEWS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'html_allow_cat_news' => array('lang' => 'HTML_ALLOW_CAT_NEWS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'html_rss_news_url' => array('lang' => 'HTML_RSS_NEWS_URL', 'validate' => 'string', 'type' => 'text:40:255', 'explain' => true), - // News content - 'legend2' => 'HTML_NEWS_CONTENT', - 'html_allow_bbcode' => array('lang' => 'HTML_ALLOW_BBCODE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_strip_bbcode' => array('lang' => 'HTML_STRIP_BBCODE', 'validate' => 'string', 'type' => 'text:30:200', 'explain' => true), - 'html_allow_links' => array('lang' => 'HTML_ALLOW_LINKS', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_allow_emails' => array('lang' => 'HTML_ALLOW_EMAILS', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_allow_smilies' => array('lang' => 'HTML_ALLOW_SMILIES', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_allow_sig' => array('lang' => 'HTML_ALLOW_SIG', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'html_sumarize' => array('lang' => 'HTML_SUMARIZE', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true,), - 'html_sumarize_method' => array('lang' => 'HTML_SUMARIZE_METHOD', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - ), - ), - 'default' => array( - // Content - 'html_allow_news' => 1, - 'html_allow_cat_news' => 1, - 'html_rss_news_url' => (!empty($this->gym_master->gym_config['rss_url']) ? $this->gym_master->gym_config['rss_url'] : $phpbb_seo->seo_path['phpbb_url']) . "gymrss.$phpEx?news&digest", - 'html_allow_bbcode' => 'all', - 'html_strip_bbcode' => '', - 'html_allow_links' => 'all', - 'html_allow_emails' => 'none', - 'html_allow_smilies' => 'all', - 'html_allow_sig' => 'reg', - 'html_sumarize' => 75, - 'html_sumarize_method' => 'words', - ), - 'select' => array( - 'html_sumarize_method' => @$this->dyn_select['sumarize_method'], - 'html_allow_bbcode' => @$this->dyn_select['gym_auth'], - 'html_allow_links' => @$this->dyn_select['gym_auth'], - 'html_allow_emails' => @$this->dyn_select['gym_auth'], - 'html_allow_smilies' => @$this->dyn_select['gym_auth'], - 'html_allow_sig' => @$this->dyn_select['gym_auth'], - ), - ), - 'info' => array( - 'title_lang' => 'GYM_HTML', - 'lang_file' => 'gym_html', - 'actions' => array('main', 'content', 'cache', 'modrewrite', 'gzip', 'limit', 'sort', 'pagination', 'override',), - 'mode' => 'rss', - 'module' => 'main', - ), - ); - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/acp/main_main.php b/phpBB/gym_sitemaps/acp/main_main.php deleted file mode 100644 index 51a8606767..0000000000 --- a/phpBB/gym_sitemaps/acp/main_main.php +++ /dev/null @@ -1,216 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: main_main.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* main_main Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class main_main { - var $gym_master; - var $dyn_select = array(); - /** - * constuctor - */ - function main_main(&$gym_master) { - $this->gym_master = &$gym_master; - if (isset($this->gym_master->dyn_select) ) { - $this->dyn_select = $this->gym_master->dyn_select; - } - } - /** - * acp_module() - * returns the acp config - * @access private - */ - function acp_module() { - return array( - 'cache' => array( - 'display_vars' => array( - 'title' => 'GYM_CACHE', - 'vars' => array( - 'legend1' => 'GYM_CACHE', - 'gym_mod_since' => array('lang' => 'GYM_MOD_SINCE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'gym_cache_on' => array('lang' => 'GYM_CACHE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'gym_cript_cache' => array('lang' => 'GYM_CRITP_CACHE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'gym_cache_force_gzip' => array('lang' => 'GYM_CACHE_FORCE_GZIP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'gym_cache_max_age' => array('lang' => 'GYM_CACHE_MAX_AGE', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true,), - 'gym_cache_auto_regen' => array('lang' => 'GYM_CACHE_AUTO_REGEN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'gym_showstats' => array('lang' => 'GYM_SHOWSTATS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - ), - ), - 'default' => array( - 'gym_mod_since' => 0, - 'gym_cache_on' => 0, - 'gym_cript_cache' => 1, - 'gym_cache_force_gzip' => 0, - 'gym_cache_max_age' => 24, - 'gym_cache_auto_regen' => 1, - 'gym_showstats' => 1, - ), - ), - 'modrewrite' => array( - 'display_vars' => array( - 'title' => 'GYM_MODREWRITE', - 'vars' => array( - 'legend1' => 'GYM_MODREWRITE', - 'gym_modrewrite' => array('lang' => 'GYM_MODREWRITE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'gym_modrtype' => array('lang' => 'GYM_MODRTYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'gym_zero_dupe' => array('lang' => 'GYM_ZERO_DUPE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - ), - ), - 'default' => array( - 'gym_modrewrite' => 0, - 'gym_modrtype' => 0, - 'gym_zero_dupe' => 0, - ), - 'select' => array( - 'gym_modrtype' => @$this->dyn_select['modrtype'], - ), - ), - 'gzip' => array( - 'display_vars' => array( - 'title' => 'GYM_GZIP', - 'vars' => array( - 'legend1' => 'GYM_GZIP', - 'gym_gzip' => array('lang' => 'GYM_GZIP_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'gym_gzip_level' => array('lang' => 'GYM_GZIP_LEVEL', 'validate' => 'int:1:9', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'gym_gzip_ext' => array('lang' => 'GYM_GZIP_EXT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - ), - ), - 'default' => array( - 'gym_gzip' => 0, - 'gym_gzip_level' => 6, - 'gym_gzip_ext' => 1, - ), - 'select' => array( - 'gym_gzip_level' => array(1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8, 9 => 9), - ), - ), - 'limit' => array( - 'display_vars' => array( - 'title' => 'GYM_LIMIT', - 'vars' => array( - 'legend1' => 'GYM_LIMIT', - 'gym_url_limit' => array('lang' => 'GYM_URL_LIMIT', 'validate' => 'int:0:5000', 'type' => 'text:4:4', 'explain' => true,), - 'gym_sql_limit' => array('lang' => 'GYM_SQL_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true,), - 'gym_time_limit' => array('lang' => 'GYM_TIME_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true,), - ), - ), - 'default' => array( - 'gym_url_limit' => 150, - 'gym_sql_limit' => 25, - 'gym_time_limit' => 60, - ), - ), - 'sort' => array( - 'display_vars' => array( - 'title' => 'GYM_SORT', - 'vars' => array( - 'legend1' => 'GYM_SORT', - 'gym_sort' => array('lang' => 'GYM_SORT_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - ), - ), - 'default' => array( - 'gym_sort' => 'DESC', - ), - 'select' => array( - 'gym_sort' => @$this->dyn_select['sort'], - ), - ), - 'pagination' => array( - 'display_vars' => array( - 'title' => 'GYM_PAGINATION', - 'vars' => array( - 'legend1' => 'GYM_PAGINATION', - 'gym_pagination' => array('lang' => 'GYM_PAGINATION_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'gym_limitdown' => array('lang' => 'GYM_LIMITDOWN', 'validate' => 'int:0', 'type' => 'text:4:4', 'explain' => true,), - 'gym_limitup' => array('lang' => 'GYM_LIMITUP', 'validate' => 'int:0', 'type' => 'text:4:4', 'explain' => true,), - ), - ), - 'default' => array( - 'gym_pagination' => 1, - 'gym_limitdown' => 3, - 'gym_limitup' => 5, - ), - ), - 'override' => array( - 'display_vars' => array( - 'title' => 'GYM_OVERRIDE', - 'vars' => array( - 'legend' => 'GYM_OVERRIDE', - 'gym_override' => array('lang' => 'GYM_OVERRIDE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'gym_override_cache' => array('lang' => 'GYM_OVERRIDE_CACHE','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'gym_override_modrewrite' => array('lang' => 'GYM_OVERRIDE_MODREWRITE','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'gym_override_gzip' => array('lang' => 'GYM_OVERRIDE_GZIP','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'gym_override_limit' => array('lang' => 'GYM_OVERRIDE_LIMIT','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'gym_override_sort' => array('lang' => 'GYM_OVERRIDE_SORT','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'gym_override_pagination' => array('lang' => 'GYM_OVERRIDE_PAGINATION','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - ), - ), - 'default' => array( - 'gym_override' => 1, - 'gym_override_cache' => OVERRIDE_OTYPE, - 'gym_override_modrewrite' => OVERRIDE_GLOBAL, - 'gym_override_gzip' => OVERRIDE_GLOBAL, - 'gym_override_limit' => OVERRIDE_OTYPE, - 'gym_override_sort' => OVERRIDE_OTYPE, - 'gym_override_pagination' => OVERRIDE_OTYPE, - ), - 'select' => array( - 'gym_override_cache' => @$this->dyn_select['override'], - 'gym_override_modrewrite' => @$this->dyn_select['override'], - 'gym_override_gzip' => @$this->dyn_select['override'], - 'gym_override_limit' => @$this->dyn_select['override'], - 'gym_override_sort' => @$this->dyn_select['override'], - 'gym_override_pagination' => @$this->dyn_select['override'], - ), - ), - 'main' => array( - 'display_vars' => array( - 'title' => 'MAIN_MAIN', - 'vars' => array( - 'legend' => 'GYM_LINKS_ACTIVATION', - 'gym_link_main' => array('lang' => 'GYM_LINKS_MAIN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'gym_link_index' => array('lang' => 'GYM_LINKS_INDEX', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'gym_link_cat' => array('lang' => 'GYM_LINKS_CAT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - ), - ), - 'default' => array( - 'gym_link_main' => 1, - 'gym_link_index' => 1, - 'gym_link_cat' => 1, - ), - ), - 'info' => array( - 'title_lang' => 'GYM_MAIN', - 'lang_file' => '', - 'actions' => array('main', 'cache', 'modrewrite', 'gzip', 'limit', 'sort', 'pagination', 'override'), - 'mode' => 'main', - 'module' => 'main', - 'select' => array( - 'gym_override_cache' => @$this->dyn_select['override'], - 'gym_override_modrewrite' => @$this->dyn_select['override'], - 'gym_override_gzip' => @$this->dyn_select['override'], - 'gym_override_limit' => @$this->dyn_select['override'], - 'gym_override_sort' => @$this->dyn_select['override'], - 'gym_override_pagination' => @$this->dyn_select['override'], - 'gym_sort' => @$this->dyn_select['sort'], - 'gym_modrtype' => @$this->dyn_select['modrtype'], - 'gym_gzip_level' => @$this->dyn_select['gzip_level'], - ), - ), - ); - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/acp/rss_forum.php b/phpBB/gym_sitemaps/acp/rss_forum.php deleted file mode 100644 index f9c8e1cd7a..0000000000 --- a/phpBB/gym_sitemaps/acp/rss_forum.php +++ /dev/null @@ -1,263 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: rss_forum.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* rss_forum Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class rss_forum { - var $gym_master; - var $dyn_select = array(); - /** - * constuctor - */ - function rss_forum(&$gym_master) { - global $user; - $this->gym_master = &$gym_master; - if (isset($this->gym_master->dyn_select) ) { - $this->dyn_select = & $this->gym_master->dyn_select; - $this->gym_master->forum_select(); - } - // Load the language iso 639-1 code - http://www.loc.gov/standards/iso639-2/php/French_list.php - if ( !isset($user->lang['ISO_639_1'])) { - $user->add_lang('gym_sitemaps/gym_iso639'); - } - } - /** - * acp_module() - * retunrs the acp config - * @access private - */ - function acp_module() { - global $config, $phpbb_seo, $user; - $config['sitename'] = utf8_normalize_nfc($config['sitename']); - $config['site_desc'] = utf8_normalize_nfc($config['site_desc']); - return array( - 'cache' => array( - 'display_vars' => array( - 'title' => 'GYM_CACHE', - 'vars' => array( - 'legend1' => 'GYM_CACHE', - 'rss_forum_cache_on' => array('lang' => 'GYM_CACHE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_cache_force_gzip' => array('lang' => 'GYM_CACHE_FORCE_GZIP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_cache_max_age' => array('lang' => 'GYM_CACHE_MAX_AGE', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_forum_showstats' => array('lang' => 'GYM_SHOWSTATS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'rss_forum_cache_on' => 0, - 'rss_forum_cache_force_gzip' => 0, - 'rss_forum_cache_max_age' => 6, - 'rss_forum_showstats' => 1, - ), - ), - 'modrewrite' => array( - 'display_vars' => array( - 'title' => 'GYM_MODREWRITE', - 'vars' => array( - 'legend1' => 'GYM_MODREWRITE', - 'rss_forum_modrewrite' => array('lang' => 'GYM_MODREWRITE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_modrtype' => array('lang' => 'GYM_MODRTYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'rss_forum_modrewrite' => 0, - 'rss_forum_modrtype' => 0, - ), - 'select' => array( - 'rss_forum_modrtype' => @$this->dyn_select['modrtype'], - ), - ), - 'gzip' => array( - 'display_vars' => array( - 'title' => 'GYM_GZIP', - 'vars' => array( - 'legend4' => 'GYM_GZIP', - 'rss_forum_gzip' => array('lang' => 'GYM_GZIP_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_gzip_ext' => array('lang' => 'GYM_GZIP_EXT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'rss_forum_gzip' => 0, - 'rss_forum_gzip_ext' => 1, - ), - ), - 'limit' => array( - 'display_vars' => array( - 'title' => 'GYM_LIMIT', - 'vars' => array( - 'legend1' => 'RSS_LIMIT_GEN', - 'rss_forum_url_limit' => array('lang' => 'GYM_URL_LIMIT', 'validate' => 'int:0:5000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_forum_sql_limit' => array('lang' => 'GYM_SQL_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_forum_time_limit' => array('lang' => 'GYM_TIME_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'legend2' => 'RSS_LIMIT_SPEC', - 'rss_forum_url_limit_long' => array('lang' => 'RSS_URL_LIMIT_LONG', 'validate' => 'int:0:5000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_forum_sql_limit_long' => array('lang' => 'RSS_SQL_LIMIT_LONG', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_forum_url_limit_short' => array('lang' => 'RSS_URL_LIMIT_SHORT', 'validate' => 'int:0:5000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_forum_sql_limit_short' => array('lang' => 'RSS_SQL_LIMIT_SHORT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_forum_url_limit_msg' => array('lang' => 'RSS_URL_LIMIT_MSG', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_forum_sql_limit_msg' => array('lang' => 'RSS_SQL_LIMIT_MSG', 'validate' => 'int:0:500', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'rss_forum_url_limit' => 50, - 'rss_forum_sql_limit' => 20, - 'rss_forum_time_limit' => 15, - 'rss_forum_url_limit_long' => 100, - 'rss_forum_sql_limit_long' => 25, - 'rss_forum_url_limit_short' => 10, - 'rss_forum_sql_limit_short' => 10, - 'rss_forum_url_limit_msg' => 15, - 'rss_forum_sql_limit_msg' => 15, - ), - ), - 'sort' => array( - 'display_vars' => array( - 'title' => 'GYM_SORT', - 'vars' => array( - 'legend1' => 'GYM_SORT', - 'rss_forum_sort' => array('lang' => 'GYM_SORT_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'rss_forum_sort' => 'DESC', - ), - 'select' => array( - 'rss_forum_sort' => @$this->dyn_select['sort'], - ), - ), - 'pagination' => array( - 'display_vars' => array( - 'title' => 'GYM_PAGINATION', - 'vars' => array( - 'legend1' => 'GYM_PAGINATION', - 'rss_forum_pagination' => array('lang' => 'GYM_PAGINATION_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_limitdown' => array('lang' => 'GYM_LIMITDOWN', 'validate' => 'int:0', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_forum_limitup' => array('lang' => 'GYM_LIMITUP', 'validate' => 'int:0', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'rss_forum_pagination' => 1, - 'rss_forum_limitdown' => 3, - 'rss_forum_limitup' => 5, - ), - ), - 'main' => array( - 'display_vars' => array( - 'title' => 'RSS_MAIN', - 'vars' => array( - // Settings - 'legend1' => 'RSS_SETTINGS', - 'rss_forum_c_info' => array('lang' => 'RSS_C_INFO', 'validate' => 'string', 'type' => 'text:40:255', 'explain' => true, 'overriding' => true), - 'rss_forum_sitename' => array('lang' => 'RSS_SITENAME', 'validate' => 'string', 'type' => 'text:40:255', 'explain' => true, 'overriding' => true), - 'rss_forum_site_desc' => array('lang' => 'RSS_SITE_DESC', 'validate' => 'string', 'type' => 'textarea:6:50', 'explain' => true, 'overriding' => true), - 'rss_forum_logo_url' => array('lang' => 'RSS_LOGO_URL', 'validate' => 'string', 'type' => 'text:25:200', 'explain' => true, 'overriding' => true), - 'rss_forum_image_url' => array('lang' => 'RSS_IMAGE_URL', 'validate' => 'string', 'type' => 'text:25:200', 'explain' => true, 'overriding' => true), - 'rss_forum_lang' => array('lang' => 'RSS_LANG', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'rss_forum_alternate' => array('lang' => 'RSS_FORUM_ALTERNATE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - // Auth settings - 'legend2' => 'RSS_AUTH_SETTINGS', - 'rss_forum_allow_auth' => array('lang' => 'RSS_ALLOW_AUTH', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_cache_auth' => array('lang' => 'RSS_CACHE_AUTH', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - // Notifications - 'legend3' => 'RSS_NOTIFY', - 'rss_forum_yahoo_notify' => array('lang' => 'RSS_YAHOO_NOTIFY', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - // Exclusions - 'legend4' => 'RSS_FORUM_EXCLUDE', - 'rss_forum_exclude' => array('lang' => 'RSS_FORUM_EXCLUDE', 'multiple_validate' => 'int', 'type' => 'custom', 'method' => 'select_multiple_string', 'explain' => true), - ), - ), - 'default' => array( - 'rss_forum_c_info' => $config['sitename'], - 'rss_forum_sitename' => $config['sitename'], - 'rss_forum_site_desc' => $config['site_desc'], - 'rss_forum_logo_url' => 'logo.gif', - 'rss_forum_image_url' => 'rss_forum_big.gif', - 'rss_forum_lang' => $config['default_lang'], - 'rss_forum_alternate' => 1, - 'rss_forum_allow_auth' => 0, - 'rss_forum_cache_auth' => 1, - // Exclusions - 'rss_forum_exclude' => '', - // Notifications - 'rss_forum_yahoo_notify' => 0, - ), - 'select' => array( - 'rss_forum_lang' => $user->lang['ISO_639_1'], - 'rss_forum_exclude' => @$this->dyn_select['forums'], - - ), - ), - 'content' => array( - 'display_vars' => array( - 'title' => 'RSS_CONTENT', - 'vars' => array( - // Content - 'legend1' => 'RSS_CONTENT', - 'rss_forum_allow_news' => array('lang' => 'RSS_ALLOW_NEWS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_allow_short' => array('lang' => 'RSS_ALLOW_SHORT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_allow_long' => array('lang' => 'RSS_ALLOW_LONG', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_allow_content' => array('lang' => 'RSS_ALLOW_CONTENT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_allow_profile' => array('lang' => 'RSS_ALLOW_PROFILE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_allow_profile_links' => array('lang' => 'RSS_ALLOW_PROFILE_LINKS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_allow_bbcode' => array('lang' => 'RSS_ALLOW_BBCODE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_strip_bbcode' => array('lang' => 'RSS_STRIP_BBCODE', 'validate' => 'string', 'type' => 'text:25:200', 'explain' => true, 'overriding' => true), - 'rss_forum_allow_links' => array('lang' => 'RSS_ALLOW_LINKS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_allow_emails' => array('lang' => 'RSS_ALLOW_EMAILS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_allow_smilies' => array('lang' => 'RSS_ALLOW_SMILIES', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_forum_sumarize' => array('lang' => 'RSS_SUMARIZE', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_forum_sumarize_method' => array('lang' => 'RSS_SUMARIZE_METHOD', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'rss_forum_nohtml' => array('lang' => 'RSS_NOHTML', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - // form specific - 'legend2' => 'RSS_FORUM_CONTENT', - 'rss_forum_first' => array('lang' => 'RSS_FORUM_FIRST', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_forum_last' => array('lang' => 'RSS_FORUM_LAST', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_forum_rules' => array('lang' => 'RSS_FORUM_RULES', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - ), - ), - 'default' => array( - // Content - 'rss_forum_allow_news' => 1, - 'rss_forum_allow_short' => 1, - 'rss_forum_allow_long' => 1, - 'rss_forum_allow_content' => 1, - 'rss_forum_allow_profile' => 1, - 'rss_forum_allow_profile_links' => 0, - 'rss_forum_allow_bbcode' => 1, - 'rss_forum_strip_bbcode' => '', - 'rss_forum_allow_links' => 1, - 'rss_forum_allow_emails' => 0, - 'rss_forum_allow_smilies' => 1, - 'rss_forum_sumarize' => 25, - 'rss_forum_sumarize_method' => 'words', - 'rss_forum_nohtml' => 0, - 'rss_forum_first' => 0, - 'rss_forum_last' => 1, - 'rss_forum_rules' => 0, - ), - 'select' => array( - 'rss_forum_sumarize_method' => @$this->dyn_select['sumarize_method'], - ), - ), - 'info' => array( - 'title_lang' => 'RSS_FORUM', - 'lang_file' => 'rss_forum', - 'actions' => array( 'main', 'content', 'cache', 'modrewrite', 'gzip', 'limit', 'sort', 'pagination',), - 'mode' => 'rss', - 'module' => 'forum' - ), - ); - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/acp/rss_main.php b/phpBB/gym_sitemaps/acp/rss_main.php deleted file mode 100644 index 5346ad9f87..0000000000 --- a/phpBB/gym_sitemaps/acp/rss_main.php +++ /dev/null @@ -1,317 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: rss_main.php 134 2009-11-02 11:13:45Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* rss_main Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class rss_main { - var $gym_master; - var $dyn_select = array(); - var $lang_iso639 = array(); - var $rss_override = array(); - /** - * constuctor - */ - function rss_main(&$gym_master) { - global $user; - $this->gym_master = &$gym_master; - // Load the language iso 639-1 code - http://www.loc.gov/standards/iso639-2/php/French_list.php - if ( !isset($user->lang['ISO_639_1'])) { - $user->add_lang('gym_sitemaps/gym_iso639'); - } - if (isset($this->gym_master->dyn_select) ) { - $this->rss_override = $this->gym_master->dyn_select['override']; - unset($this->rss_override[OVERRIDE_GLOBAL]); - $this->dyn_select = $this->gym_master->dyn_select; - } - } - /** - * acp_module() - * retunrs the acp config - * @access private - */ - function acp_module() { - global $config, $phpbb_seo, $user; - $config['sitename'] = utf8_normalize_nfc($config['sitename']); - $config['site_desc'] = utf8_normalize_nfc($config['site_desc']); - return array( - 'cache' => array( - 'display_vars' => array( - 'title' => 'GYM_CACHE', - 'vars' => array( - 'legend1' => 'GYM_CACHE', - 'rss_cache_on' => array('lang' => 'GYM_CACHE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_cache_force_gzip' => array('lang' => 'GYM_CACHE_FORCE_GZIP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_cache_max_age' => array('lang' => 'GYM_CACHE_MAX_AGE', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_cache_auto_regen' => array('lang' => 'GYM_CACHE_AUTO_REGEN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'rss_showstats' => array('lang' => 'GYM_SHOWSTATS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'rss_cache_on' => 0, - 'rss_cache_force_gzip' => 0, - 'rss_cache_max_age' => 6, - 'rss_cache_auto_regen' => 1, - 'rss_showstats' => 1, - ), - ), - 'modrewrite' => array( - 'display_vars' => array( - 'title' => 'GYM_MODREWRITE', - 'vars' => array( - 'legend1' => 'GYM_MODREWRITE', - 'rss_modrewrite' => array('lang' => 'GYM_MODREWRITE_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_modrtype' => array('lang' => 'GYM_MODRTYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - 'rss_1xredir' => array('lang' => 'RSS_1XREDIR', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - ), - ), - 'default' => array( - 'rss_modrewrite' => 0, - 'rss_modrtype' => 0, - 'rss_1xredir' => 0, - ), - 'select' => array( - 'rss_modrtype' => @$this->dyn_select['modrtype'], - ), - ), - 'gzip' => array( - 'display_vars' => array( - 'title' => 'GYM_GZIP', - 'vars' => array( - 'legend4' => 'GYM_GZIP', - 'rss_gzip' => array('lang' => 'GYM_GZIP_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_gzip_ext' => array('lang' => 'GYM_GZIP_EXT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'rss_gzip' => 0, - 'rss_gzip_ext' => 1, - ), - ), - 'limit' => array( - 'display_vars' => array( - 'title' => 'GYM_LIMIT', - 'vars' => array( - 'legend1' => 'RSS_LIMIT_GEN', - 'rss_url_limit' => array('lang' => 'GYM_URL_LIMIT', 'validate' => 'int:0:5000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_sql_limit' => array('lang' => 'GYM_SQL_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_time_limit' => array('lang' => 'GYM_TIME_LIMIT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'legend2' => 'RSS_LIMIT_SPEC', - 'rss_url_limit_long' => array('lang' => 'RSS_URL_LIMIT_LONG', 'validate' => 'int:0:5000', 'type' => 'text:4:4', 'explain' => true,), - 'rss_sql_limit_long' => array('lang' => 'RSS_SQL_LIMIT_LONG', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true,), - 'rss_url_limit_short' => array('lang' => 'RSS_URL_LIMIT_SHORT', 'validate' => 'int:0:5000', 'type' => 'text:4:4', 'explain' => true,), - 'rss_sql_limit_short' => array('lang' => 'RSS_SQL_LIMIT_SHORT', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true,), - 'rss_url_limit_msg' => array('lang' => 'RSS_URL_LIMIT_MSG', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true,), - 'rss_sql_limit_msg' => array('lang' => 'RSS_SQL_LIMIT_MSG', 'validate' => 'int:0:500', 'type' => 'text:4:4', 'explain' => true,), - ), - ), - 'default' => array( - 'rss_url_limit' => 50, - 'rss_sql_limit' => 20, - 'rss_time_limit' => 15, - 'rss_url_limit_long' => 100, - 'rss_sql_limit_long' => 25, - 'rss_url_limit_short' => 10, - 'rss_sql_limit_short' => 10, - 'rss_url_limit_msg' => 15, - 'rss_sql_limit_msg' => 15, - ), - ), - 'sort' => array( - 'display_vars' => array( - 'title' => 'GYM_SORT', - 'vars' => array( - 'legend1' => 'GYM_SORT', - 'rss_sort' => array('lang' => 'GYM_SORT_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'rss_sort' => 'DESC', - ), - 'select' => array( - 'rss_sort' => @$this->dyn_select['sort'], - ), - ), - 'pagination' => array( - 'display_vars' => array( - 'title' => 'GYM_PAGINATION', - 'vars' => array( - 'legend1' => 'GYM_PAGINATION', - 'rss_pagination' => array('lang' => 'GYM_PAGINATION_ON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'overriding' => true), - 'rss_limitdown' => array('lang' => 'GYM_LIMITDOWN', 'validate' => 'int:0', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - 'rss_limitup' => array('lang' => 'GYM_LIMITUP', 'validate' => 'int:0', 'type' => 'text:4:4', 'explain' => true, 'overriding' => true), - ), - ), - 'default' => array( - 'rss_pagination' => 1, - 'rss_limitdown' => 3, - 'rss_limitup' => 5, - ), - ), - 'override' => array( - 'display_vars' => array( - 'title' => 'GYM_OVERRIDE', - 'vars' => array( - 'legend1' => 'GYM_OVERRIDE', - 'rss_override' => array('lang' => 'GYM_OVERRIDE_MAIN', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'rss_override_cache' => array('lang' => 'GYM_OVERRIDE_CACHE','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'rss_override_modrewrite' => array('lang' => 'GYM_OVERRIDE_MODREWRITE','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'rss_override_gzip' => array('lang' => 'GYM_OVERRIDE_GZIP','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'rss_override_limit' => array('lang' => 'GYM_OVERRIDE_LIMIT','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'rss_override_sort' => array('lang' => 'GYM_OVERRIDE_SORT','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'rss_override_pagination' => array('lang' => 'GYM_OVERRIDE_PAGINATION','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - ), - ), - 'default' => array( - 'rss_override' => OVERRIDE_MODULE, - 'rss_override_cache' => OVERRIDE_OTYPE, - 'rss_override_modrewrite' => OVERRIDE_OTYPE, - 'rss_override_gzip' => OVERRIDE_GLOBAL, - 'rss_override_limit' => OVERRIDE_OTYPE, - 'rss_override_sort' => OVERRIDE_MODULE, - 'rss_override_pagination' => OVERRIDE_OTYPE, - ), - 'select' => array( - 'rss_override' => $this->rss_override, - 'rss_override_cache' => @$this->dyn_select['override'], - 'rss_override_modrewrite' => @$this->dyn_select['override'], - 'rss_override_gzip' => @$this->dyn_select['override'], - 'rss_override_limit' => @$this->dyn_select['override'], - 'rss_override_sort' => @$this->dyn_select['override'], - 'rss_override_pagination' => @$this->dyn_select['override'], - ), - ), - 'main' => array( - 'display_vars' => array( - 'title' => 'RSS_MAIN', - 'vars' => array( - // URL Settings - 'legend1' => 'RSS_URL', - 'rss_url' => array('lang' => 'RSS_URL', 'validate' => 'string', 'type' => 'text:40:255', 'explain' => true), - // Link Settings - 'legend2' => 'RSS_LINKS_ACTIVATION', - 'rss_link_main' => array('lang' => 'RSS_LINKS_MAIN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'rss_link_index' => array('lang' => 'RSS_LINKS_INDEX', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'rss_link_cat' => array('lang' => 'RSS_LINKS_CAT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,), - 'rss_alternate' => array('lang' => 'RSS_ALTERNATE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_linking_type' => array('lang' => 'RSS_LINKING_TYPE', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true), - // Settings - 'legend3' => 'RSS_SETTINGS', - 'rss_c_info' => array('lang' => 'RSS_C_INFO', 'validate' => 'string', 'type' => 'text:40:255', 'explain' => true), - 'rss_sitename' => array('lang' => 'RSS_SITENAME', 'validate' => 'string', 'type' => 'text:40:255', 'explain' => true), - 'rss_site_desc' => array('lang' => 'RSS_SITE_DESC', 'validate' => 'string', 'type' => 'textarea:6:50', 'explain' => true), - 'rss_logo_url' => array('lang' => 'RSS_LOGO_URL', 'validate' => 'string', 'type' => 'text:25:200', 'explain' => true), - 'rss_image_url' => array('lang' => 'RSS_IMAGE_URL', 'validate' => 'string', 'type' => 'text:25:200', 'explain' => true), - 'rss_lang' => array('lang' => 'RSS_LANG', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - // Auth settings - 'legend4' => 'RSS_AUTH_SETTINGS', - 'rss_allow_auth' => array('lang' => 'RSS_ALLOW_AUTH', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_cache_auth' => array('lang' => 'RSS_CACHE_AUTH', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - // Notifications - 'legend5' => 'RSS_NOTIFY', - 'rss_yahoo_notify' => array('lang' => 'RSS_YAHOO_NOTIFY', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_yahoo_appid' => array('lang' => 'RSS_YAHOO_APPID', 'validate' => 'string', 'type' => 'text:25:200', 'explain' => true), - // Style - 'legend6' => 'RSS_STYLE', - 'rss_xslt' => array('lang' => 'RSS_XSLT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_force_xslt' => array('lang' => 'RSS_FORCE_XSLT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_load_phpbb_css' => array('lang' => 'RSS_LOAD_PHPBB_CSS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - ), - ), - 'default' => array( - 'rss_url' => $phpbb_seo->seo_path['phpbb_url'], - 'rss_link_main' => 1, - 'rss_link_index' => 1, - 'rss_link_cat' => 1, - 'rss_alternate' => 1, - 'rss_linking_type' => 'n', - 'rss_c_info' => $config['sitename'], - 'rss_sitename' => $config['sitename'], - 'rss_site_desc' => $config['site_desc'], - 'rss_logo_url' => 'logo.gif', - 'rss_image_url' => 'rss_forum_big.gif', - 'rss_lang' => $config['default_lang'], - 'rss_allow_auth' => 0, - 'rss_cache_auth' => 1, - // Notifications - 'rss_yahoo_notify' => 0, - 'rss_yahoo_appid' => '', - // Style - 'rss_xslt' => 1, - 'rss_force_xslt' => 1, - 'rss_load_phpbb_css' => 0, - ), - 'select' => array( - 'rss_lang' => $user->lang['ISO_639_1'], - 'rss_linking_type' => @$this->dyn_select['rss_linking_types'], - - ), - ), - 'content' => array( - 'display_vars' => array( - 'title' => 'RSS_CONTENT', - 'vars' => array( - // Content - 'legend1' => 'RSS_CONTENT', - 'rss_allow_news' => array('lang' => 'RSS_ALLOW_NEWS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_news_update' => array('lang' => 'RSS_NEWS_UPDATE', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true), - 'rss_allow_short' => array('lang' => 'RSS_ALLOW_SHORT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_allow_long' => array('lang' => 'RSS_ALLOW_LONG', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_allow_content' => array('lang' => 'RSS_ALLOW_CONTENT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_allow_profile' => array('lang' => 'RSS_ALLOW_PROFILE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_allow_profile_links' => array('lang' => 'RSS_ALLOW_PROFILE_LINKS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_allow_bbcode' => array('lang' => 'RSS_ALLOW_BBCODE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_strip_bbcode' => array('lang' => 'RSS_STRIP_BBCODE', 'validate' => 'string', 'type' => 'text:30:200', 'explain' => true), - 'rss_allow_links' => array('lang' => 'RSS_ALLOW_LINKS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_allow_emails' => array('lang' => 'RSS_ALLOW_EMAILS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_allow_smilies' => array('lang' => 'RSS_ALLOW_SMILIES', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'rss_sumarize' => array('lang' => 'RSS_SUMARIZE', 'validate' => 'int:0:1000', 'type' => 'text:4:4', 'explain' => true,), - 'rss_sumarize_method' => array('lang' => 'RSS_SUMARIZE_METHOD', 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'rss_nohtml' => array('lang' => 'RSS_NOHTML', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - ), - ), - 'default' => array( - // Content - 'rss_allow_news' => 1, - 'rss_news_update' => '', - 'rss_allow_short' => 1, - 'rss_allow_long' => 1, - 'rss_allow_content' => 1, - 'rss_allow_profile' => 1, - 'rss_allow_profile_links' => 0, - 'rss_allow_bbcode' => 1, - 'rss_strip_bbcode' => '', - 'rss_allow_links' => 1, - 'rss_allow_emails' => 0, - 'rss_allow_smilies' => 1, - 'rss_sumarize' => 50, - 'rss_sumarize_method' => 'words', - 'rss_nohtml' => 0, - ), - 'select' => array( - 'rss_sumarize_method' => @$this->dyn_select['sumarize_method'], - ), - ), - 'info' => array( - 'title_lang' => 'GYM_RSS', - 'lang_file' => 'gym_rss', - 'actions' => array('main', 'content', 'cache', 'modrewrite', 'gzip', 'limit', 'sort', 'pagination', 'override',), - 'mode' => 'rss', - 'module' => 'main', - ), - ); - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/cache/.htaccess b/phpBB/gym_sitemaps/cache/.htaccess deleted file mode 100644 index 6511d09c92..0000000000 --- a/phpBB/gym_sitemaps/cache/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -<Limit GET POST PUT DELETE> -Order Allow,Deny -Deny from All -</Limit> diff --git a/phpBB/gym_sitemaps/display/.htaccess b/phpBB/gym_sitemaps/display/.htaccess deleted file mode 100644 index 6511d09c92..0000000000 --- a/phpBB/gym_sitemaps/display/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -<Limit GET POST PUT DELETE> -Order Allow,Deny -Deny from All -</Limit> diff --git a/phpBB/gym_sitemaps/display/display_forums.php b/phpBB/gym_sitemaps/display/display_forums.php deleted file mode 100644 index 13ca6ca35e..0000000000 --- a/phpBB/gym_sitemaps/display/display_forums.php +++ /dev/null @@ -1,343 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: display_forums.php 254 2010-03-12 15:08:58Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* display_forums Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class display_forums { - function display_forums(&$master) { - global $user, $template, $config, $phpEx, $db, $auth, $cache, $phpbb_root_path; - global $phpbb_seo; - static $tpl = array( - 'link' => '<a href="%1$s" title="%3$s">%2$s</a>', - 'img' => '<img src="%1$s" alt="%2$s"/>' - ); - // Usefull for multi bb topic & forum tracking - // Leave default for single forum eg : '_track' - $tracking_cookie_name = (defined('XLANG_AKEY') ? XLANG_AKEY : '') . '_track'; - // Specific options - $display_file = &$master->call['display_file']; - $display_user_info = &$master->call['display_user_info']; - $display_link = &$master->call['display_link']; - $display_pagination = &$master->call['display_pagination']; - $display_tracking = &$master->call['display_tracking']; - $display_topic_status = &$master->call['display_topic_status']; - $display_user_link = !empty($master->call['display_user_link']) ? true : false; - $display_user_link_key = $display_user_link ? 'full' : 'no_profile'; - $display_last_post = &$master->call['display_last_post']; - $forum_sql = &$master->call['forum_sql']; - $forum_read_auth = & $master->actions['auth_view_read']; - $forum_list_auth = & $master->actions['auth_view_list']; - if (!$display_tracking) { - $load_db_lastread = $load_anon_lastread = false; - } else { - $load_db_lastread = (boolean) ($config['load_db_lastread'] && $user->data['is_registered']); - $load_anon_lastread = (boolean) ($config['load_anon_lastread'] || $user->data['is_registered']); - } - // Do some reset - $forum_datas = $forum_ids = $sub_forums = array(); - $sql_array = array( - 'SELECT' => 'f.*', - 'FROM' => array( - FORUMS_TABLE => 'f', - ), - 'LEFT_JOIN' => array(), - 'WHERE' => $forum_sql, - 'ORDER_BY' => 'f.left_id ASC', - ); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN -> no dupe - if (!empty($phpbb_seo->seo_opt['no_dupe']['on'])) { - $sql_array['SELECT'] .= ', t.topic_id, t.topic_title, t.topic_replies, t.topic_replies_real, t.topic_status, t.topic_type, t.topic_moved_id' . (!empty($phpbb_seo->seo_opt['sql_rewrite']) ? ', t.topic_url ' : ' '); - $sql_array['LEFT_JOIN'][] = array( - 'FROM' => array(TOPICS_TABLE => 't'), - 'ON' => "t.topic_last_post_id = f.forum_last_post_id" - ); - } - // www.phpBB-SEO.com SEO TOOLKIT END -> no dupe - if ($load_db_lastread) { - $sql_array['SELECT'] .= ', ft.mark_time as forum_mark_time'; - $sql_array['LEFT_JOIN'][] = array( - 'FROM' => array(FORUMS_TRACK_TABLE => 'ft'), - 'ON' => 'ft.user_id = ' . $user->data['user_id'] . ' AND ft.forum_id = f.forum_id' - ); - } elseif ($load_anon_lastread && empty($master->tracking_topics)) { - $master->tracking_topics = (isset($_COOKIE[$config['cookie_name'] . $tracking_cookie_name])) ? ((STRIP) ? stripslashes($_COOKIE[$config['cookie_name'] . $tracking_cookie_name]) : $_COOKIE[$config['cookie_name'] . $tracking_cookie_name]) : ''; - $master->tracking_topics = ($master->tracking_topics) ? tracking_unserialize($master->tracking_topics) : array(); - if (!$user->data['is_registered']) { - $user->data['user_lastmark'] = (isset($master->tracking_topics['l'])) ? (int) (base_convert($master->tracking_topics['l'], 36, 10) + $config['board_startdate']) : 0; - } - } - $right = 0; - $level_store = array(0 => 0); - $processed = array(); - $level = $last_level = 0; - $html = $html_before = $html_after = ''; - $separator = ' '; - $news_img = sprintf($tpl['img'], $master->gym_master->path_config['gym_img_url'] . 'html_news.gif', $user->lang['HTML_NEWS']); - $map_img = sprintf($tpl['img'], $master->gym_master->path_config['gym_img_url'] . 'maps-icon.gif', $user->lang['HTML_MAP']); - $subf_img = $user->img('subforum_read', 'NO_NEW_POSTS'); - $sql = $db->sql_build_query('SELECT', $sql_array); - unset($sql_array); - $result = $db->sql_query_limit($sql, 600); - while ($row = $db->sql_fetchrow($result)) { - $forum_id = (int) $row['forum_id']; - //@TODO Find why in hell the above query could return more than one row per forum - if (isset($processed[$forum_id])) { - continue; - } - $processed[$forum_id] = $forum_id; - $is_cat = $row['parent_id'] == 0 ? true : false; - if (empty($master->forum_datas[$forum_id])) { - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->seo_url['forum'][$forum_id] = $phpbb_seo->set_url($row['forum_name'], $forum_id, 'forum'); - // www.phpBB-SEO.com SEO TOOLKIT END - $master->forum_datas[$forum_id] = array_merge($row, - array( - 'm_approve' => $auth->acl_get('m_approve', $forum_id), - 'forum_name' => !empty($row['forum_name']) ? $row['forum_name'] : '', - 'forum_status' => !empty($row['forum_status']) ? $row['forum_status'] : '', - 'forum_last_post_time' => !empty($row['forum_last_post_time']) ? $row['forum_last_post_time'] : 0, - 'enable_icons' => !empty($row['enable_icons']) ? $row['enable_icons'] : 0, - 'forum_url' => append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id"), - ) - ); - if ($load_db_lastread) { - $master->forum_tracking_info[$forum_id] = !empty($row['forum_mark_time']) ? $row['forum_mark_time'] : $user->data['user_lastmark']; - } elseif ($load_anon_lastread) { - $master->forum_tracking_info[$forum_id] = isset($master->tracking_topics['f'][$forum_id]) ? (int) (base_convert($master->tracking_topics['f'][$forum_id], 36, 10) + $config['board_startdate']) : $user->data['user_lastmark']; - } - } - $master->forum_datas[$forum_id]['forum_news_url'] = $master->forum_datas[$forum_id]['forum_map_url'] = ''; - if (!isset($root_forum_id)) { - $root_forum_id = $forum_id; - $sub_forums[$root_forum_id] = ''; - } - $parent_id = (int) $row['parent_id']; - if ($row['left_id'] < $right) { - $level++; - $level_store[$parent_id] = $level; - } else if ($row['left_id'] > $right + 1) { - if (isset($level_store[$parent_id])) { - $level = $level_store[$parent_id]; - } else { - $level = 0; - } - } - $right = (int) $row['right_id']; - if ($level > 1) { // sub forums - if ($level > $last_level) { // going one or several level down - $diff = $level - $last_level; - $html_before = str_repeat("\n<ul><li>", $diff ); - $html_after = ""; - } - if ($level < $last_level) { // Going one or several level up - $diff = $last_level - $level; - $html_before = str_repeat("</li></ul>\n", $diff ) . "</li>\n<li>"; - $html_after = ""; - } - if ($level == $last_level) { // Adding a link at the same level - $html_before = isset($forum_list_auth[$forum_id]) ? "</li>\n<li>" : ''; - $html_after = ""; - } - if ($display_tracking) { - $forum_unread = (isset($master->forum_tracking_info[$forum_id]) && $master->forum_datas[$forum_id]['forum_last_post_time'] > $master->forum_tracking_info[$forum_id]) ? true : false; - if ($forum_unread) { - $folder_image = 'subforum_unread'; - $folder_alt = 'NEW_POSTS'; - } else { - $folder_image = 'subforum_read'; - $folder_alt = 'NO_NEW_POSTS'; - } - $subf_img = $user->img($folder_image, $folder_alt); - } - $link = ''; - if (isset($forum_list_auth[$forum_id])) { - if (!empty($row['forum_topics']) && (isset($forum_read_auth[$forum_id]) || $is_cat)) { - if ($master->module_config['html_allow_cat_news']) { - $title = sprintf($user->lang['HTML_NEWS_OF'], $row['forum_name']); - $link = isset($forum_read_auth[$forum_id]) ? sprintf($tpl['link'], append_sid($master->module_config['html_url'] . $master->gym_master->html_build_url('html_forum_cat_news', $phpbb_seo->seo_url['forum'][$forum_id], $forum_id)), $news_img . ' ' . $title, $title) : $title; - } - if ($master->module_config['html_allow_cat_map']) { - $title = sprintf($user->lang['HTML_MAP_OF'], $row['forum_name']); - $link .= $separator . (isset($forum_read_auth[$forum_id]) ? sprintf($tpl['link'], append_sid($master->module_config['html_url'] . $master->gym_master->html_build_url('html_forum_cat_map', $phpbb_seo->seo_url['forum'][$forum_id], $forum_id)), $map_img . ' ' . $title, $title) : $title); - } - } else { - $title = $link = '<b>' . $row['forum_name'] . '</b>'; - } - } - $sub_forums[$root_forum_id] .= $html_before . $link . $html_after; - - } else { - $forum_datas[$forum_id] = array_merge(array('level' => $level), $row); - $forum_ids[$forum_id] = $forum_id; - if (($level < $last_level)) { // We went up in this root forum - $_level = $level > 0 ? 0 : 1; - $sub_forums[$root_forum_id] .= str_repeat("</li></ul>\n", ($last_level - $level - $_level)); - } - if ($level == 1) { // next root forum - $root_forum_id = $forum_id; - $sub_forums[$root_forum_id] = ''; - } - } - $last_level = $level; - } - unset($processed); - if (!empty($sub_forums[$root_forum_id]) && ($last_level > 1)) { // In case we need to close the last sub forum tag - $sub_forums[$root_forum_id] .= str_repeat("</li></ul>\n", ($last_level - 1)); - } - $db->sql_freeresult($result); - // Let's go - $has_result = false; - if (!empty($forum_datas)) { - $has_result = true; - // Grab icons - if (empty($master->icons)) { - $master->icons = $cache->obtain_icons(); - } - $s_type_switch = 0; - $last_catless = true; - $root_data = array('forum_id' => 0); - $s_is_cat = true; - $level = 0; - $folder_alt = 'NO_NEW_POSTS'; - $folder_image = 'forum_read'; - $forum_folder_img = $user->img($folder_image, $folder_alt); - $forum_folder_img_src = $user->img($folder_image, $folder_alt, false, '', 'src'); - // Let's go - foreach($forum_ids as $forum_id) { - $row = &$forum_datas[$forum_id]; - $catless = $row['level'] == 0 ? true : false; - $is_cat = $row['parent_id'] == 0 ? true : false; - if (!isset($forum_list_auth[$forum_id]) || $row['forum_type'] == FORUM_LINK) { - continue; - } - $forum_map_link = $forum_news_link = $forum_map_title = $forum_news_title = ''; - if (!empty($row['forum_topics']) && (isset($forum_read_auth[$forum_id]) || $is_cat)) { - if ($master->module_config['html_allow_cat_map']) { - $forum_map_title = sprintf($user->lang['HTML_MAP_OF'], $row['forum_name']); - $forum_map_link = sprintf($tpl['link'], append_sid($master->module_config['html_url'] . $master->gym_master->html_build_url('html_forum_cat_map', $phpbb_seo->seo_url['forum'][$forum_id], $forum_id)), $map_img . ' ' . $forum_map_title, $forum_map_title); - } - if ($master->module_config['html_allow_cat_news']) { - $forum_news_title = sprintf($user->lang['HTML_NEWS_OF'], $row['forum_name']); - $forum_news_link = sprintf($tpl['link'], append_sid($master->module_config['html_url'] . $master->gym_master->html_build_url('html_forum_cat_news', $phpbb_seo->seo_url['forum'][$forum_id], $forum_id)), $news_img . ' ' . $forum_news_title, $forum_news_title); - } - } else { - $forum_news_title = $forum_news_link = '<b>' . $row['forum_name'] . '</b>'; - $forum_news_link .= '<br/>'; - } - $forum_unread = (isset($master->forum_tracking_info[$forum_id]) && $master->forum_datas[$forum_id]['forum_last_post_time'] > $master->forum_tracking_info[$forum_id]) ? true : false; - if ($display_topic_status) { - // Which folder should we display? - $folder_alt = ($forum_unread) ? 'NEW_POSTS' : 'NO_NEW_POSTS'; - if (!empty($sub_forums[$forum_id])) { - $folder_image = ($forum_unread) ? 'forum_unread_subforum' : 'forum_read_subforum'; - } else { - if ($row['forum_status'] == ITEM_LOCKED) { - $folder_image = ($forum_unread) ? 'forum_unread_locked' : 'forum_read_locked'; - $folder_alt = 'FORUM_LOCKED'; - } else if ($row['forum_type'] == FORUM_POST) { - $folder_image = ($forum_unread) ? 'forum_unread' : 'forum_read'; - } else { - $folder_image = 'forum_link'; - } - - } - $forum_folder_img = $user->img($folder_image, $folder_alt); - $forum_folder_img_src = $user->img($folder_image, $folder_alt, false, '', 'src'); - } - $tpl_data = array( - 'S_IS_CAT' => $is_cat, - 'S_NO_CAT' => $catless && !$last_catless ? true : false, - 'FORUM_ID' => $forum_id, - 'FORUM_NAME' => $forum_map_title, - 'FORUM_NEWS' => $forum_news_title, - 'FORUM_MAP_LINK' => $forum_map_link, - 'FORUM_NEWS_LINK' => $forum_news_link, - ); - if (!$is_cat) { - $tpl_data += array( - 'FORUM_DESC' => ($master->call['display_desc'] && !$is_cat) ? $master->generate_forum_info($row) : '', - 'FORUM_FOLDER_IMG' => $forum_folder_img, - 'FORUM_FOLDER_IMG_SRC' => $forum_folder_img_src, - 'FORUM_FOLDER_IMG_ALT' => $user->lang[$folder_alt], - 'FORUM_IMAGE' => ($row['forum_image']) ? '<img src="' . $phpbb_root_path . $row['forum_image'] . '" alt="' . $user->lang[$folder_alt] . '" />' : '', - 'FORUM_IMAGE_SRC' => ($row['forum_image']) ? $phpbb_root_path . $row['forum_image'] : '', - 'SUBFORUMS' => !empty($sub_forums[$forum_id]) ? $sub_forums[$forum_id] : '', - ); - if ($display_last_post) { - // Create last post link information, if appropriate - if ($row['forum_last_post_id']) { - $last_post_subject = $row['forum_last_post_subject']; - $last_post_time = $user->format_date($row['forum_last_post_time']); - if (!empty($phpbb_seo->seo_opt['no_dupe']['on']) && !empty($row['topic_id']) && !$row['forum_password']) { - if ($row['topic_status'] == ITEM_MOVED) { - $row['topic_id'] = $row['topic_moved_id']; - } - $topic_id = (int) $row['topic_id']; - $row['topic_title'] = censor_text($row['topic_title']); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]); - // www.phpBB-SEO.com SEO TOOLKIT END - $last_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&start=" . @intval($phpbb_seo->seo_opt['topic_last_page'][$topic_id]) ) . '#p' . $row['forum_last_post_id']; - $last_post_link = '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id") . '" title="' . $row['topic_title'] . ' : ' . $row['forum_name'] . '">' . $row['topic_title'] . '</a>'; - } else { - $last_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&p=" . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id']; - $last_post_link = ''; - } - } else { - $last_post_subject = $last_post_time = $last_post_url = $last_post_link = ''; - } - $tpl_data += array( - 'LAST_POST_SUBJECT' => censor_text($last_post_subject), - 'LAST_POST_TIME' => $last_post_time, - 'LAST_POST_LINK' => $last_post_link, - 'U_LAST_POST' => $last_post_url, - ); - if ($display_user_info) { - $tpl_data += array( - 'LAST_POSTER' => get_username_string('username', $row['forum_last_poster_id'], $row['forum_last_poster_name'], $row['forum_last_poster_colour']), - 'LAST_POSTER_COLOUR' => get_username_string('colour', $row['forum_last_poster_id'], $row['forum_last_poster_name'], $row['forum_last_poster_colour']), - 'LAST_POSTER_FULL' => get_username_string($display_user_link_key, $row['forum_last_poster_id'], $row['forum_last_poster_name'], $row['forum_last_poster_colour']), - ); - } - } - } - $template->assign_block_vars('forumrow', $tpl_data); - $last_catless = $catless; - unset($forum_datas[$forum_id]); - } - } - $map_desc = false; - if ($master->call['display_desc']) { - $map_desc = !empty($master->module_config['html_site_desc']) ? $master->module_config['html_site_desc'] : ''; - } - $template->assign_vars(array( - 'H1_FORUMS' => $master->module_config['html_sitename'], - 'DISPLAY_FORUMS_H1' => $display_link, - 'U_FORUMS' => $display_link ? append_sid("{$phpbb_root_path}index.$phpEx") : false, - 'FORUM_MAP_URL' => $master->module_config['html_allow_map'] ? append_sid($master->module_config['html_url'] . $master->url_settings['html_forum_map']) : '', - 'FORUM_NEWS' => sprintf($user->lang['HTML_NEWS_OF'], $master->module_config['html_sitename']), - 'NEWS_IMG_SRC' => $master->gym_master->path_config['gym_img_url'] . 'html_news.gif', - 'FORUM_NEWS_URL' => $master->module_config['html_allow_news'] ? append_sid($master->module_config['html_url'] . $master->url_settings['html_forum_news']) : '', - 'DISPLAY_FORUMS' => $has_result, - 'DISPLAY_USER_INFO' => $display_user_info, - 'DISPLAY_LAST_POST' => $display_last_post, - 'NEWEST_POST_IMG' => $user->img('icon_topic_newest', 'VIEW_NEWEST_POST'), - 'LAST_POST_IMG' => $user->img('icon_topic_latest', 'VIEW_LATEST_POST'), - 'MAP_DESC' => $map_desc, - )); - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/display/display_posts.php b/phpBB/gym_sitemaps/display/display_posts.php deleted file mode 100644 index 62b358f2a2..0000000000 --- a/phpBB/gym_sitemaps/display/display_posts.php +++ /dev/null @@ -1,656 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: display_posts.php 254 2010-03-12 15:08:58Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* display_posts Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class display_posts { - function display_posts(&$master) { - global $user, $template, $config, $phpEx, $db, $auth, $phpbb_root_path, $cache; - static $bbcode; - static $display_orders = array('first' => 't.topic_id', 'last' => 't.topic_last_post_time'); - global $phpbb_seo; - // Usefull for multi bb topic & forum tracking - // Leave default for single forum eg : '_track' - $tracking_cookie_name = (defined('XLANG_AKEY') ? XLANG_AKEY : '') . '_track'; - $forum_read_auth = & $master->actions['auth_view_read']; - // Specific options - $display_file = &$master->call['display_file']; - $display_user_info = &$master->call['display_user_info']; - $display_user_link = !empty($master->call['display_user_link']) ? true : false; - $display_user_link_key = $display_user_link ? 'full' : 'no_profile'; - $display_link = &$master->call['display_link']; - $display_pagination = &$master->call['display_pagination']; - $display_tracking = &$master->call['display_tracking']; - $display_sig = !empty($master->call['display_sig']) ? (boolean) ($config['allow_sig'] && $user->optionget('viewsigs')) : false; - $display_order = isset($display_orders[$master->call['display_order']]) ? $display_orders[$master->call['display_order']] : $display_orders['first']; - $display_post_buttons = &$master->call['display_post_buttons']; - $display_sumarize = &$master->call['display_sumarize']; - $limit_time_sql = !empty($master->call['limit_time']) ? ' AND t.topic_last_post_time > ' . ($user->time_now - $master->call['limit_time']) : ''; - $order_sql = @$master->call['sort'] == 'ASC' ? ' ASC' : ' DESC'; - if (!$display_tracking) { - $load_db_lastread = $load_anon_lastread = false; - } else { - $load_db_lastread = (boolean) ($config['load_db_lastread'] && $user->data['is_registered']); - $load_anon_lastread = (boolean) ($config['load_anon_lastread'] || $user->data['is_registered']); - } - // hanlde options - $limit = $master->call['limit'] >= 1 ? (int) $master->call['limit'] : 5; - $start = &$master->start; - if (!$display_pagination || empty($display_file)) { - $start = 0; - $display_pagination = false; - } - $total_topics = 0; - $topic_sql = $master->call['topic_sql']; - $forum_sql = $master->call['forum_sql']; - $s_global = $master->call['s_global']; - $bbcode_bitfield = ''; - // Do some reset - $topic_datas = $topic_ids = $forum_ids = $user_cache = $id_cache = $post_datas = $forum_datas = array(); - $forum_id = $master->call['forum_id']; - $now = getdate(time() + $user->timezone + $user->dst - date('Z')); - // Get The Data, first forums - if ((!$s_global && !$master->call['single_forum']) || ($master->call['single_forum'] && empty($master->forum_datas[$master->call['forum_id']])) ) { - $sql_array = array( - 'SELECT' => 'f.*', - 'FROM' => array( - FORUMS_TABLE => 'f', - ), - 'LEFT_JOIN' => array(), - ); - if ($load_db_lastread) { - $sql_array['SELECT'] .= ', ft.mark_time as forum_mark_time'; - $sql_array['LEFT_JOIN'][] = array( - 'FROM' => array(FORUMS_TRACK_TABLE => 'ft'), - 'ON' => 'ft.user_id = ' . $user->data['user_id'] . ' AND ft.forum_id = f.forum_id' - ); - } - $sql_array['WHERE'] = $forum_sql ? str_replace('t.forum_id', 'f.forum_id', $forum_sql) : ''; - $sql = $db->sql_build_query('SELECT', $sql_array); - unset($sql_array); - $result = $db->sql_query($sql); - while ($row = $db->sql_fetchrow($result)) { - $forum_id = (int) $row['forum_id']; - $forum_datas[$forum_id] = $row; - } - $db->sql_freeresult($result); - } - // Now the topics - $sql_array = array( - 'SELECT' => 't.*', - 'FROM' => array( - TOPICS_TABLE => 't', - ), - 'LEFT_JOIN' => array(), - ); - if ($load_db_lastread) { - $sql_array['SELECT'] .= ', tt.mark_time'; - $sql_array['LEFT_JOIN'][] = array( - 'FROM' => array(TOPICS_TRACK_TABLE => 'tt'), - 'ON' => 'tt.user_id = ' . $user->data['user_id'] . ' AND tt.topic_id = t.topic_id' - ); - } elseif ($load_anon_lastread && empty($master->tracking_topics)) { - $master->tracking_topics = (isset($_COOKIE[$config['cookie_name'] . $tracking_cookie_name])) ? ((STRIP) ? stripslashes($_COOKIE[$config['cookie_name'] . $tracking_cookie_name]) : $_COOKIE[$config['cookie_name'] . $tracking_cookie_name]) : ''; - $master->tracking_topics = ($master->tracking_topics) ? tracking_unserialize($master->tracking_topics) : array(); - if (!$user->data['is_registered']) { - $user->data['user_lastmark'] = (isset($master->tracking_topics['l'])) ? (int) (base_convert($master->tracking_topics['l'], 36, 10) + $config['board_startdate']) : 0; - } - } - $sql_where = ($forum_sql ? $forum_sql : '') . $limit_time_sql; - $sql_where .= $topic_sql ? ($sql_where ? ' AND ' : '') . $topic_sql : ''; - $sql_where .= ($sql_where ? ' AND ' : '') . 't.topic_status <> ' . ITEM_MOVED; - if ($master->call['single_forum']) { - $sql_where .= $auth->acl_get('m_approve', $master->call['forum_id']) ? '' : ' AND t.topic_approved = 1'; - } else { - // only admins and global moderators will see un-approved topics - // in the forum they have access to. - $sql_where .= ($auth->acl_gets('a_') || $auth->acl_getf_global('m_')) ? '' : ' AND t.topic_approved = 1'; - } - // obtain correct topic count if we display pagination - if ($display_pagination) { - $sql = "SELECT COUNT(t.topic_id) AS num_topics - FROM " . TOPICS_TABLE . " t - WHERE $sql_where"; - $result = $db->sql_query($sql); - $total_topics = (int) $db->sql_fetchfield('num_topics'); - $db->sql_freeresult($result); - // Make sure $start is set to the last page if it exceeds the amount - if ($start < 0 || $start > $total_topics) { - $start = ($start < 0) ? 0 : floor(($total_topics - 1) / $limit) * $limit; - // Since we've reached here, $start is not set proper, kill the dupe! - $url = $display_file . $master->gym_master->html_add_start($start); - $master->gym_master->seo_kill_dupes($url); - } - } - $sql_array['WHERE'] = $sql_where; - $sql_array['ORDER_BY'] = $display_order . $order_sql; - $sql = $db->sql_build_query('SELECT', $sql_array); - unset($sql_array); - $result = $db->sql_query_limit($sql, $limit, $start); - // First we parse the basic data - while ($row = $db->sql_fetchrow($result)) { - $forum_id = (int) $row['forum_id']; - $topic_id = (int) $row['topic_id']; - // Start with the forum - if (!$s_global && empty($master->forum_datas[$forum_id])) { - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->set_url($forum_datas[$forum_id]['forum_name'], $forum_id, 'forum'); - // www.phpBB-SEO.com SEO TOOLKIT END - $master->forum_datas[$forum_id] = array_merge($forum_datas[$forum_id], array( - 'forum_url' => append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id"), - 'm_approve' => $auth->acl_get('m_approve', $forum_id), - )); - if ($load_db_lastread) { - $master->forum_tracking_info[$forum_id] = !empty($forum_datas[$forum_id]['forum_mark_time']) ? $forum_datas[$forum_id]['forum_mark_time'] : $user->data['user_lastmark']; - } elseif ($load_anon_lastread) { - $master->forum_tracking_info[$forum_id] = isset($master->tracking_topics['f'][$forum_id]) ? (int) (base_convert($master->tracking_topics['f'][$forum_id], 36, 10) + $config['board_startdate']) : $user->data['user_lastmark']; - } - } - if (empty($master->forum_tracking_info[$forum_id])) { - if ($load_db_lastread) { - $master->topic_tracking_info[$topic_id] = !empty($row['mark_time']) ? $row['mark_time'] : $user->data['user_lastmark']; - } else if ($load_anon_lastread) { - $topic_id36 = base_convert($topic_id, 10, 36); - if (isset($master->tracking_topics['t'][$topic_id36])) { - $master->tracking_topics['t'][$topic_id] = base_convert($master->tracking_topics['t'][$topic_id36], 36, 10) + $config['board_startdate']; - } - $master->topic_tracking_info[$topic_id] = isset($master->tracking_topics['t'][$topic_id]) ? $master->tracking_topics['t'][$topic_id] : $user->data['user_lastmark']; - } - } else { - $master->topic_tracking_info[$topic_id] = $master->forum_tracking_info[$forum_id]; - } - // Topic post count - $row['replies'] = !empty($master->forum_datas[$forum_id]['m_approve']) ? $row['topic_replies_real'] : $row['topic_replies']; - $row['enable_icons'] = !empty($master->forum_datas[$forum_id]['enable_icons']); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]); - // www.phpBB-SEO.com SEO TOOLKIT END - $topic_datas[$forum_id][$topic_id] = $row; - // @TODO deal with last post case ? - $topic_ids[$topic_id] = /*$master->call['display_order'] == 'first' ?*/ $row['topic_first_post_id'] /*: $row['topic_last_post_id']*/; - $forum_ids[$topic_id] = $forum_id; - } - $db->sql_freeresult($result); - unset($forum_datas); - // Let's go - $has_result = false; - if (!empty($topic_datas)) { - $has_result = true; - $bbcode_filter = false; - if (!class_exists('bbcode')) { - global $phpbb_root_path, $phpEx; - include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); - } - $patterns = $replaces = array(); - if ( !empty($master->module_config['html_msg_filters']['pattern']) ) { - $patterns = $master->module_config['html_msg_filters']['pattern']; - $replaces = $master->module_config['html_msg_filters']['replace']; - $bbcode_filter = true; - } - // Grab ranks - $ranks = $cache->obtain_ranks(); - // Grab icons - if (empty($master->icons)) { - $master->icons = $cache->obtain_icons(); - } - // Go ahead and pull all data for these topics - $sql_array = array(); - $sql_array['SELECT'] = $sql_array['WHERE'] = ''; - if ($display_user_info) { - $sql_array['SELECT'] = 'u.*, z.friend, z.foe, '; - $sql_array['FROM'] = array(USERS_TABLE => 'u'); - $sql_array['LEFT_JOIN'] = array( - array( - 'FROM' => array(ZEBRA_TABLE => 'z'), - 'ON' => 'z.user_id = ' . $user->data['user_id'] . ' AND z.zebra_id = p.poster_id' - ) - ); - $sql_array['WHERE'] = 'AND u.user_id = p.poster_id'; - } - $sql_array['SELECT'] .= 'p.*'; - $sql_array['FROM'][POSTS_TABLE] = 'p'; - $sql_array['WHERE'] = $db->sql_in_set('p.post_id', $topic_ids) . $sql_array['WHERE']; - $sql = $db->sql_build_query('SELECT', $sql_array); - $result = $db->sql_query($sql); - while ($row = $db->sql_fetchrow($result)) { - $forum_id = (int) $row['forum_id']; - $topic_id = (int) $row['topic_id']; - // Define the global bbcode bitfield, will be used to load bbcodes - $bbcode_bitfield = $bbcode_bitfield | base64_decode($row['bbcode_bitfield']); - // Only compute profile data if required - if ($display_user_info) { - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->set_user_url( $row['username'], $row['poster_id'] ); - // www.phpBB-SEO.com SEO TOOLKIT END - // Is a signature attached? Are we going to display it? - if ($display_sig && $row['enable_sig']) { - $bbcode_bitfield = $bbcode_bitfield | base64_decode($row['user_sig_bbcode_bitfield']); - } - } else { - // @TODO deal with last post case ? - $row['user_id'] = $row['poster_id']; - $row['username'] = $topic_datas[$forum_id][$topic_id]['topic_first_poster_name']; - $row['user_colour'] = $topic_datas[$forum_id][$topic_id]['topic_first_poster_colour']; - } - $poster_id = (int) $row['poster_id']; - $post_datas[$forum_id][$topic_id] = array( - 'hide_post' => false, - 'post_id' => $row['post_id'], - 'post_time' => $row['post_time'], - 'user_id' => $row['user_id'], - 'username' => $row['username'], - 'user_colour' => $row['user_colour'], - 'topic_id' => $row['topic_id'], - 'forum_id' => $row['forum_id'], - 'post_subject' => $row['post_subject'], - 'post_edit_count' => $row['post_edit_count'], - 'post_edit_time' => $row['post_edit_time'], - 'post_edit_reason' => $row['post_edit_reason'], - 'post_edit_user' => $row['post_edit_user'], - // Make sure the icon actually exists - 'icon_id' => (isset($master->icons[$row['icon_id']]['img'], $master->icons[$row['icon_id']]['height'], $master->icons[$row['icon_id']]['width'])) ? $row['icon_id'] : 0, - 'post_attachment' => $row['post_attachment'], - 'post_approved' => $row['post_approved'], - 'post_reported' => $row['post_reported'], - 'post_username' => $row['post_username'], - 'post_text' => $row['post_text'], - 'bbcode_uid' => $row['bbcode_uid'], - 'bbcode_bitfield' => $row['bbcode_bitfield'], - 'enable_smilies' => $row['enable_smilies'], - 'enable_sig' => $row['enable_sig'], - 'friend' => false, - 'foe' => false, - ); - // Cache various user specific data ... so we don't have to recompute - // this each time the same user appears on this page - if (!isset($user_cache[$poster_id])) { - if ($poster_id == ANONYMOUS || !$display_user_info) { - $user_cache[$poster_id] = array( - 'joined' => '', - 'posts' => '', - 'from' => '', - 'sig' => '', - 'sig_bbcode_uid' => '', - 'sig_bbcode_bitfield' => '', - 'online' => false, - 'avatar' => '', - 'rank_title' => '', - 'rank_image' => '', - 'rank_image_src' => '', - 'profile' => '', - 'pm' => '', - 'email' => '', - 'www' => '', - 'icq_status_img' => '', - 'icq' => '', - 'aim' => '', - 'msn' => '', - 'yim' => '', - 'jabber' => '', - 'search' => '', - 'age' => '', - 'username' => $row['username'], - 'user_colour' => $row['user_colour'], - 'warnings' => 0, - 'allow_pm' => 0, - ); - } else { - $user_sig = ''; - // We add the signature to every posters entry because enable_sig is post dependant - if ($display_sig && $row['user_sig'] ) { - $user_sig = $row['user_sig']; - } - $id_cache[] = $poster_id; - $user_cache[$poster_id] = array( - 'joined' => $user->format_date($row['user_regdate']), - 'posts' => $row['user_posts'], - 'warnings' => (isset($row['user_warnings'])) ? $row['user_warnings'] : 0, - 'from' => (!empty($row['user_from'])) ? $row['user_from'] : '', - 'sig' => $user_sig, - 'sig_bbcode_uid' => (!empty($row['user_sig_bbcode_uid'])) ? $row['user_sig_bbcode_uid'] : '', - 'sig_bbcode_bitfield' => (!empty($row['user_sig_bbcode_bitfield'])) ? $row['user_sig_bbcode_bitfield'] : '', - 'viewonline' => $row['user_allow_viewonline'], - 'allow_pm' => $row['user_allow_pm'], - 'avatar' => ($user->optionget('viewavatars')) ? $master->gym_master->get_user_avatar($row['user_avatar'], $row['user_avatar_type'], $row['user_avatar_width'], $row['user_avatar_height']) : '', - 'age' => '', - 'rank_title' => '', - 'rank_image' => '', - 'rank_image_src' => '', - 'username' => $row['username'], - 'user_colour' => $row['user_colour'], - 'online' => false, - 'profile' => append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=viewprofile&u=$poster_id"), - 'www' => $row['user_website'], - 'aim' => ($row['user_aim'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=contact&action=aim&u=$poster_id") : '', - 'msn' => ($row['user_msnm'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=contact&action=msnm&u=$poster_id") : '', - 'yim' => ($row['user_yim']) ? 'http://edit.yahoo.com/config/send_webmesg?.target=' . urlencode($row['user_yim']) . '&.src=pg' : '', - 'jabber' => ($row['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=contact&action=jabber&u=$poster_id") : '', - 'search' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$poster_id&sr=posts") : '', - ); - $master->gym_master->get_user_rank($row['user_rank'], $row['user_posts'], $user_cache[$poster_id]['rank_title'], $user_cache[$poster_id]['rank_image'], $user_cache[$poster_id]['rank_image_src']); - if (!empty($row['user_allow_viewemail']) || $auth->acl_get('a_email')) { - $user_cache[$poster_id]['email'] = ($config['board_email_form'] && $config['email_enable']) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=email&u=$poster_id") : (($config['board_hide_emails'] && !$auth->acl_get('a_email')) ? '' : 'mailto:' . $row['user_email']); - } else { - $user_cache[$poster_id]['email'] = ''; - } - if (!empty($row['user_icq'])) { - $user_cache[$poster_id]['icq'] = 'http://www.icq.com/people/webmsg.php?to=' . $row['user_icq']; - $user_cache[$poster_id]['icq_status_img'] = '<img src="http://web.icq.com/whitepages/online?icq=' . $row['user_icq'] . '&img=5" width="18" height="18" alt="" />'; - } else { - $user_cache[$poster_id]['icq_status_img'] = ''; - $user_cache[$poster_id]['icq'] = ''; - } - if ($config['allow_birthdays'] && !empty($row['user_birthday'])) { - list($bday_day, $bday_month, $bday_year) = array_map('intval', explode('-', $row['user_birthday'])); - if ($bday_year) { - $diff = $now['mon'] - $bday_month; - if ($diff == 0) { - $diff = ($now['mday'] - $bday_day < 0) ? 1 : 0; - } else { - $diff = ($diff < 0) ? 1 : 0; - } - $user_cache[$poster_id]['age'] = (int) ($now['year'] - $bday_year - $diff); - } - } - } - $user_cache[$poster_id]['post_author_full'] = get_username_string($display_user_link_key, $poster_id, $row['username'], $row['user_colour'], $row['post_username']); - $user_cache[$poster_id]['post_author_colour'] = get_username_string('colour', $poster_id, $row['username'], $row['user_colour'], $row['post_username']); - $user_cache[$poster_id]['post_author'] = get_username_string('username', $poster_id, $row['username'], $row['user_colour'], $row['post_username']); - $user_cache[$poster_id]['u_post_author'] = $display_user_link ? get_username_string('profile', $poster_id, $row['username'], $row['user_colour'], $row['post_username']) : ''; - } - } - $db->sql_freeresult($result); - // Load custom profile fields - if ($display_user_info && $config['load_cpf_viewtopic']) { - include($phpbb_root_path . 'includes/functions_profile_fields.' . $phpEx); - $cp = new custom_profile(); - // Grab all profile fields from users in id cache for later use - similar to the poster cache - $profile_fields_cache = $cp->generate_profile_fields_template('grab', $id_cache); - } - // Generate online information for user - if (@$master->call['display_online'] && sizeof($id_cache)) { - $sql = 'SELECT session_user_id, MAX(session_time) as online_time, MIN(session_viewonline) AS viewonline - FROM ' . SESSIONS_TABLE . ' - WHERE ' . $db->sql_in_set('session_user_id', $id_cache) . ' - GROUP BY session_user_id'; - $result = $db->sql_query($sql); - $update_time = $config['load_online_time'] * 60; - while ($row = $db->sql_fetchrow($result)) { - $user_cache[$row['session_user_id']]['online'] = (time() - $update_time < $row['online_time'] && (($row['viewonline']) || $auth->acl_get('u_viewonline'))) ? true : false; - } - $db->sql_freeresult($result); - } - unset($id_cache); - // Instantiate BBCode - if (empty($bbcode)) { - $bbcode = new bbcode(base64_encode($bbcode_bitfield)); - } else { - $bbcode->bbcode(base64_encode($bbcode_bitfield)); - } - $prev_post_id = ''; - // Parse messages - foreach ($forum_ids as $topic_id => $forum_id) { - if (!isset($post_datas[$forum_id][$topic_id])) { - continue; - } - $row =& $post_datas[$forum_id][$topic_id]; - $topic_data =& $topic_datas[$forum_id][$topic_id]; - $poster_id = (int) $row['user_id']; - $l_edited_by = $l_bumped_by = ''; - $s_first_unread = false; - // End signature parsing, only if needed - if (@$user_cache[$poster_id]['sig'] && $row['enable_sig'] && empty($user_cache[$poster_id]['sig_parsed'])) { - $user_cache[$poster_id]['sig'] = censor_text($user_cache[$poster_id]['sig']); - if ($user_cache[$poster_id]['sig_bbcode_bitfield']) { - if ( $bbcode_filter ) { - $user_cache[$poster_id]['sig'] = preg_replace($patterns, $replaces, $user_cache[$poster_id]['sig']); - } - $bbcode->bbcode_second_pass($user_cache[$poster_id]['sig'], $user_cache[$poster_id]['sig_bbcode_uid'], $user_cache[$poster_id]['sig_bbcode_bitfield']); - } - $user_cache[$poster_id]['sig'] = bbcode_nl2br($user_cache[$poster_id]['sig']); - $user_cache[$poster_id]['sig'] = $master->gym_master->smiley_text($user_cache[$poster_id]['sig'], !$master->module_config['html_allow_smilies']); - $user_cache[$poster_id]['sig_parsed'] = true; - } else { // Remove sig - $user_cache[$poster_id]['sig'] = ''; - } - // Parse the message and subject - $message = &$row['post_text']; - if ( $bbcode_filter ) { - $message = preg_replace($patterns, $replaces, $message); - } - if ($display_sumarize > 0 ) { - $message = $master->gym_master->summarize( $message, $display_sumarize, $master->call['display_sumarize_method'] ); - // Clean broken tag at the end of the message - $message = preg_replace('`\<[^\<\>]*$`i', ' ...', $message); - // Close broken bbcode tags requiring it, only quotes for now - $master->gym_master->close_bbcode_tags($message, $row['bbcode_uid']); - } - // Parse the message and subject - $message = censor_text($message); - // Second parse bbcode here - if ($row['bbcode_bitfield']) { - $bbcode->bbcode_second_pass($message, $row['bbcode_uid'], $row['bbcode_bitfield']); - } - $message = bbcode_nl2br($message); - $message = $master->gym_master->smiley_text($message, !$master->module_config['html_allow_smilies']); - if ($display_sumarize > 0 ) { // Clean up - static $find = array('`\<\!--[^\<\>]+--\>`Ui', '`\[\/?[^\]\[]*\]`Ui'); - $message = preg_replace($find, '', $message); - } - // Replace naughty words such as farty pants - $row['post_subject'] = censor_text(!empty($row['post_subject']) ? $row['post_subject'] : $topic_data['topic_title']); - // custom profile fields - $cp_row = array(); - if ($display_user_info && $config['load_cpf_viewtopic']) { - $cp_row = (isset($profile_fields_cache[$poster_id])) ? $cp->generate_profile_fields_template('show', false, $profile_fields_cache[$poster_id]) : array(); - } - $post_unread = (isset($topic_tracking_info[$topic_id]) && $row['post_time'] > $topic_tracking_info[$topic_id]) ? true : false; - // Generate all the URIs ... - if (!$s_global && !isset($master->module_config['global_exclude_list'][$forum_id])) { - $view_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id") . '#p' . $row['post_id']; - $view_forum_url = $master->forum_datas[$forum_id]['forum_url']; - } else { - $view_topic_url = $view_forum_url = ''; - } - $postrow = array( - 'FORUM_NAME' => !$s_global ? $master->forum_datas[$forum_id]['forum_name'] : '', - 'U_VIEW_FORUM' => $view_forum_url, - 'VIEWS' => $topic_data['topic_views'], - 'POST_DATE' => $user->format_date($row['post_time']), - 'POST_SUBJECT' => $row['post_subject'], - 'MESSAGE' => $message, - 'EDITED_MESSAGE' => $l_edited_by, - 'EDIT_REASON' => $row['post_edit_reason'], - 'BUMPED_MESSAGE' => $l_bumped_by, - 'MINI_POST_IMG' => ($post_unread) ? $user->img('icon_post_target_unread', 'NEW_POST') : $user->img('icon_post_target', 'POST'), - 'POST_ICON_IMG' => ($topic_data['enable_icons'] && !empty($row['icon_id'])) ? $master->icons[$row['icon_id']]['img'] : '', - 'POST_ICON_IMG_WIDTH' => ($topic_data['enable_icons'] && !empty($row['icon_id'])) ? $master->icons[$row['icon_id']]['width'] : '', - 'POST_ICON_IMG_HEIGHT' => ($topic_data['enable_icons'] && !empty($row['icon_id'])) ? $master->icons[$row['icon_id']]['height'] : '', - 'U_MCP_REPORT' => ($auth->acl_get('m_report', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=reports&mode=report_details&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '', - 'U_MCP_APPROVE' => ($auth->acl_get('m_approve', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=approve_details&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '', - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - 'U_MINI_POST' => $view_topic_url, - 'U_NEWEST_POST' => $post_unread ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $forum_id . '&t=' . $topic_id . '&view=unread#unread') : '', - // www.phpBB-SEO.com SEO TOOLKIT END - //'U_NEXT_POST_ID' => ($i < $i_total && isset($rowset[$post_list[$i + 1]])) ? $rowset[$post_list[$i + 1]]['post_id'] : '', - //'U_PREV_POST_ID' => $prev_post_id, - - 'POST_ID' => $row['post_id'], - 'POSTER_ID' => $poster_id, - 'S_HAS_ATTACHMENTS' => (!empty($attachments[$row['post_id']])) ? true : false, - 'S_POST_UNAPPROVED' => ($row['post_approved']) ? false : true, - 'S_POST_REPORTED' => ($row['post_reported'] && $auth->acl_get('m_report', $forum_id)) ? true : false, - 'S_DISPLAY_NOTICE' => 0 /*$display_notice && $row['post_attachment']*/, - 'S_FRIEND' => ($row['friend']) ? true : false, - 'S_UNREAD_POST' => $post_unread, - //'S_FIRST_UNREAD' => $s_first_unread, - 'S_CUSTOM_FIELDS' => (isset($cp_row['row']) && sizeof($cp_row['row'])) ? true : false, - 'S_TOPIC_POSTER' => ($topic_data['topic_poster'] == $poster_id) ? true : false, - 'S_IGNORE_POST' => ($row['hide_post']) ? true : false, - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - 'L_IGNORE_POST' => ($row['hide_post']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&p={$row['post_id']}&view=show") . '#p' . $row['post_id'] . '">', '</a>') : '', - // www.phpBB-SEO.com SEO TOOLKIT END - 'REPLIES' => $topic_datas[$forum_id][$topic_id]['replies'], - ); - if ($display_user_info) { - $postrow += array( - 'POST_AUTHOR_FULL' => $user_cache[$poster_id]['post_author_full'], - 'POST_AUTHOR_COLOUR' => $user_cache[$poster_id]['post_author_colour'], - 'POST_AUTHOR' => $user_cache[$poster_id]['post_author'], - 'U_POST_AUTHOR' => $user_cache[$poster_id]['u_post_author'], - 'SIGNATURE' => $user_cache[$poster_id]['sig'], - 'RANK_TITLE' => $user_cache[$poster_id]['rank_title'], - 'RANK_IMG' => $user_cache[$poster_id]['rank_image'], - 'RANK_IMG_SRC' => $user_cache[$poster_id]['rank_image_src'], - 'POSTER_JOINED' => $user_cache[$poster_id]['joined'], - 'POSTER_POSTS' => $user_cache[$poster_id]['posts'], - 'POSTER_FROM' => $user_cache[$poster_id]['from'], - 'POSTER_AVATAR' => $user_cache[$poster_id]['avatar'], - 'POSTER_WARNINGS' => $user_cache[$poster_id]['warnings'], - 'POSTER_AGE' => $user_cache[$poster_id]['age'], - 'ICQ_STATUS_IMG' => $user_cache[$poster_id]['icq_status_img'], - 'ONLINE_IMG' => ($poster_id == ANONYMOUS || !$config['load_onlinetrack']) ? '' : (($user_cache[$poster_id]['online']) ? $user->img('icon_user_online', 'ONLINE') : $user->img('icon_user_offline', 'OFFLINE')), - 'S_ONLINE' => ($poster_id == ANONYMOUS || !$config['load_onlinetrack']) ? false : (($user_cache[$poster_id]['online']) ? true : false), - 'U_PROFILE' => $user_cache[$poster_id]['profile'], - 'U_SEARCH' => $user_cache[$poster_id]['search'], - 'U_PM' => ($poster_id != ANONYMOUS && $config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($user_cache[$poster_id]['allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=compose&action=quotepost&p=' . $row['post_id']) : '', - 'U_EMAIL' => $user_cache[$poster_id]['email'], - 'U_WWW' => $user_cache[$poster_id]['www'], - 'U_ICQ' => $user_cache[$poster_id]['icq'], - 'U_AIM' => $user_cache[$poster_id]['aim'], - 'U_MSN' => $user_cache[$poster_id]['msn'], - 'U_YIM' => $user_cache[$poster_id]['yim'], - 'U_JABBER' => $user_cache[$poster_id]['jabber'], - - ); - } - if ($display_post_buttons) { - $postrow += array( - 'U_EDIT' => (!$user->data['is_registered']) ? '' : ((($user->data['user_id'] == $poster_id && $auth->acl_get('f_edit', $forum_id) && ($row['post_time'] > time() - ($config['edit_time'] * 60) || !$config['edit_time'])) || $auth->acl_get('m_edit', $forum_id)) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=edit&f=$forum_id&p={$row['post_id']}") : ''), - 'U_QUOTE' => ($auth->acl_get('f_reply', $forum_id)) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=quote&f=$forum_id&p={$row['post_id']}") : '', - 'U_INFO' => ($auth->acl_get('m_info', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&mode=post_details&f=$forum_id&p=" . $row['post_id'], true, $user->session_id) : '', - 'U_DELETE' => (!$user->data['is_registered']) ? '' : ((($user->data['user_id'] == $poster_id && $auth->acl_get('f_delete', $forum_id) && $topic_data['topic_last_post_id'] == $row['post_id'] && ($row['post_time'] > time() - ($config['edit_time'] * 60) || !$config['edit_time'])) || $auth->acl_get('m_delete', $forum_id)) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=delete&f=$forum_id&p={$row['post_id']}") : ''), - 'U_REPORT' => ($auth->acl_get('f_report', $forum_id)) ? append_sid("{$phpbb_root_path}report.$phpEx", 'f=' . $forum_id . '&p=' . $row['post_id']) : '', - 'U_NOTES' => ($auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=notes&mode=user_notes&u=' . $poster_id, true, $user->session_id) : '', - 'U_WARN' => ($auth->acl_get('m_warn') && $poster_id != $user->data['user_id'] && $poster_id != ANONYMOUS) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=warn&mode=warn_post&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '', - ); - } - if (isset($cp_row['row']) && sizeof($cp_row['row'])) { - $postrow = array_merge($postrow, $cp_row['row']); - } - // Dump vars into template - $template->assign_block_vars('postrow', $postrow); - if (!empty($cp_row['blockrow'])) { - foreach ($cp_row['blockrow'] as $field_data) { - $template->assign_block_vars('postrow.custom_fields', $field_data); - } - } - // Display not already displayed Attachments for this post, we already parsed them. ;) - if (!empty($attachments[$row['post_id']])) { - foreach ($attachments[$row['post_id']] as $attachment) { - $template->assign_block_vars('postrow.attachment', array( - 'DISPLAY_ATTACHMENT' => $attachment) - ); - } - } - $prev_post_id = $row['post_id']; - unset($topic_datas[$forum_id][$topic_id]); - } - unset($topic_datas, $user_cache); - } - $news_desc = false; - $rules_info = array('forum_rules' => false, 'forum_rules_link' => false); - // In case we are listing category's children - if ($master->call['cat_forum']) { - $forum_id = $master->call['cat_forum']; - } - if ($master->call['display_desc']) { - $news_desc = !empty($master->module_config['html_site_desc']) ? $master->module_config['html_site_desc'] : ''; - if ($master->call['single_forum'] || $master->call['cat_forum']) { - $news_desc = $master->generate_forum_info($master->forum_datas[$forum_id]); - } - } - if ($master->call['display_rules'] && ($master->call['single_forum'] || $master->call['cat_forum']) ) { - $rules_info = $master->generate_forum_info($master->forum_datas[$forum_id], 'rules'); - } - $tpl_vars = array( - 'H1_POSTS' => $master->outputs['page_title'], - 'DISPLAY_POSTS_H1' => $display_link, - 'U_POSTS' => $display_link ? append_sid($display_file) : false, - 'DISPLAY_USER_INFO' => $display_user_info, - 'DISPLAY_POSTS' => $has_result, - 'DISPLAY_POST_BUTTONS' => $display_post_buttons, - 'NEWS_DESC' => $news_desc, - 'NEWS_RULES' => $rules_info['forum_rules'], - 'NEWS_RULES_LINK' => $rules_info['forum_rules_link'], - 'REPORTED_IMG' => $user->img('icon_topic_reported', 'POST_REPORTED'), - 'UNAPPROVED_IMG' => $user->img('icon_topic_unapproved', 'POST_UNAPPROVED'), - 'T_ICONS_PATH' => "{$phpbb_root_path}{$config['icons_path']}/", - 'NEWS_IMG_SRC' => $master->gym_master->path_config['gym_img_url'] . 'html_news.gif', - ); - if ($master->call['single_forum'] || $master->call['cat_forum']) { - $tpl_vars += array( - 'FORUM_MAP_URL' => $master->module_config['html_allow_cat_map'] ? append_sid($master->gym_master->html_build_url('html_forum_cat_map', $phpbb_seo->seo_url['forum'][$forum_id], $forum_id)) : '', - 'FORUM_MAP' => sprintf($user->lang['HTML_MAP_OF'], $master->forum_datas[$forum_id]['forum_name']), - 'FORUM_URL' => $master->forum_datas[$forum_id]['forum_url'], - 'FORUM_NAME' => $master->forum_datas[$forum_id]['forum_name'], - 'S_SINGLE_FORUM' => $master->call['cat_forum'] ? false : true, - ); - } else { - $tpl_vars += array( - 'FORUM_MAP' => sprintf($user->lang['HTML_MAP_OF'], $master->module_config['html_sitename']), - 'FORUM_MAP_URL' => $master->module_config['html_allow_map'] ? append_sid($master->module_config['html_url'] . $master->url_settings['html_forum_map']) : '', - 'FORUM_URL' => append_sid("{$phpbb_root_path}index.$phpEx"), - 'FORUM_NAME' => $master->module_config['html_sitename'], - ); - } - if ($display_user_info) { - $tpl_vars += array( - 'PROFILE_IMG' => $user->img('icon_user_profile', 'READ_PROFILE'), - 'SEARCH_IMG' => $user->img('icon_user_search', 'SEARCH_USER_POSTS'), - 'PM_IMG' => $user->img('icon_contact_pm', 'SEND_PRIVATE_MESSAGE'), - 'EMAIL_IMG' => $user->img('icon_contact_email', 'SEND_EMAIL'), - 'WWW_IMG' => $user->img('icon_contact_www', 'VISIT_WEBSITE'), - 'ICQ_IMG' => $user->img('icon_contact_icq', 'ICQ'), - 'AIM_IMG' => $user->img('icon_contact_aim', 'AIM'), - 'MSN_IMG' => $user->img('icon_contact_msnm', 'MSNM'), - 'YIM_IMG' => $user->img('icon_contact_yahoo', 'YIM'), - 'JABBER_IMG' => $user->img('icon_contact_jabber', 'JABBER'), - ); - } - if ($display_post_buttons) { - $tpl_vars += array( - 'QUOTE_IMG' => $user->img('icon_post_quote', 'REPLY_WITH_QUOTE'), - 'EDIT_IMG' => $user->img('icon_post_edit', 'EDIT_POST'), - 'DELETE_IMG' => $user->img('icon_post_delete', 'DELETE_POST'), - 'INFO_IMG' => $user->img('icon_post_info', 'VIEW_INFO'), - 'REPORT_IMG' => $user->img('icon_post_report', 'REPORT_POST'), - 'WARN_IMG' => $user->img('icon_user_warn', 'WARN_USER'), - ); - } - if ($display_pagination) { - $l_total_topic_s = ($total_topics == 0) ? 'TOTAL_TOPICS_ZERO' : 'TOTAL_TOPICS_OTHER'; - $tpl_vars += array( - 'DISPLAY_PAGINATION' => generate_pagination(append_sid($display_file), $total_topics, $limit, $start), - 'DISPLAY_PAGE_NUMBER' => on_page($total_topics, $limit, $start), - 'DISPLAY_TOTAL_TOPICS' => sprintf($user->lang[$l_total_topic_s], $total_topics), - ); - } - $template->assign_vars($tpl_vars); - unset($tpl_vars); - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/display/display_topics.php b/phpBB/gym_sitemaps/display/display_topics.php deleted file mode 100644 index 5de64c8dcb..0000000000 --- a/phpBB/gym_sitemaps/display/display_topics.php +++ /dev/null @@ -1,342 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: display_topics.php 254 2010-03-12 15:08:58Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* display_topics Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class display_topics { - function display_topics(&$master) { - global $user, $template, $config, $phpEx, $db, $auth, $cache, $phpbb_root_path; - static $display_orders = array('first' => 't.topic_id', 'last' => 't.topic_last_post_time'); - global $phpbb_seo; - // Usefull for multi bb topic & forum tracking - // Leave default for single forum eg : '_track' - $tracking_cookie_name = (defined('XLANG_AKEY') ? XLANG_AKEY : '') . '_track'; - // Specific options - $display_file = &$master->call['display_file']; - $display_user_info = &$master->call['display_user_info']; - $display_link = &$master->call['display_link']; - $display_pagination = &$master->call['display_pagination']; - $display_tracking = &$master->call['display_tracking']; - $display_topic_status = &$master->call['display_topic_status']; - $display_user_link = !empty($master->call['display_user_link']) ? true : false; - $display_user_link_key = $display_user_link ? 'full' : 'no_profile'; - $display_last_post = &$master->call['display_last_post']; - $display_order = isset($display_orders[$master->call['display_order']]) ? $display_orders[$master->call['display_order']] : $display_orders['first']; - $limit_time_sql = !empty($master->call['limit_time']) ? ' AND t.topic_last_post_time > ' . ($user->time_now - $master->call['limit_time']) : ''; - $order_sql = @$master->call['sort'] == 'ASC' ? ' ASC' : ' DESC'; - if (!$display_tracking) { - $load_db_lastread = $load_anon_lastread = false; - } else { - $load_db_lastread = (boolean) ($config['load_db_lastread'] && $user->data['is_registered']); - $load_anon_lastread = (boolean) ($config['load_anon_lastread'] || $user->data['is_registered']); - } - // hanlde options - $limit = $master->call['limit'] >= 1 ? (int) $master->call['limit'] : 5; - $start = &$master->start; - if (!$display_pagination || empty($display_file)) { - $start = 0; - $display_pagination = false; - } - $total_topics = 0; - $topic_sql = $master->call['topic_sql']; - $forum_sql = $master->call['forum_sql']; - $s_global = $master->call['s_global']; - // Do some reset - $topic_datas = $topic_ids = $forum_ids = $user_cache = $id_cache = $post_datas = $forum_datas = array(); - $forum_id = $master->call['forum_id']; - // Get The Data, first forums - if ((!$s_global && !$master->call['single_forum']) || ($master->call['single_forum'] && empty($master->forum_datas[$master->call['forum_id']])) ) { - $sql_array = array( - 'SELECT' => 'f.*', - 'FROM' => array( - FORUMS_TABLE => 'f', - ), - 'LEFT_JOIN' => array(), - ); - if ($load_db_lastread) { - $sql_array['SELECT'] .= ', ft.mark_time as forum_mark_time'; - $sql_array['LEFT_JOIN'][] = array( - 'FROM' => array(FORUMS_TRACK_TABLE => 'ft'), - 'ON' => 'ft.user_id = ' . $user->data['user_id'] . ' AND ft.forum_id = f.forum_id' - ); - } - $sql_array['WHERE'] = $forum_sql ? str_replace('t.forum_id', 'f.forum_id', $forum_sql) : ''; - $sql = $db->sql_build_query('SELECT', $sql_array); - unset($sql_array); - $result = $db->sql_query($sql); - while ($row = $db->sql_fetchrow($result)) { - $forum_id = (int) $row['forum_id']; - $forum_datas[$forum_id] = $row; - } - $db->sql_freeresult($result); - } - // Now the topics - $sql_array = array( - 'SELECT' => 't.*', - 'FROM' => array( - TOPICS_TABLE => 't', - ), - 'LEFT_JOIN' => array(), - ); - if ($load_db_lastread) { - $sql_array['SELECT'] .= ', tt.mark_time'; - $sql_array['LEFT_JOIN'][] = array( - 'FROM' => array(TOPICS_TRACK_TABLE => 'tt'), - 'ON' => 'tt.user_id = ' . $user->data['user_id'] . ' AND tt.topic_id = t.topic_id' - ); - } elseif ($load_anon_lastread && empty($master->tracking_topics)) { - $master->tracking_topics = (isset($_COOKIE[$config['cookie_name'] . $tracking_cookie_name])) ? ((STRIP) ? stripslashes($_COOKIE[$config['cookie_name'] . $tracking_cookie_name]) : $_COOKIE[$config['cookie_name'] . $tracking_cookie_name]) : ''; - $master->tracking_topics = ($master->tracking_topics) ? tracking_unserialize($master->tracking_topics) : array(); - if (!$user->data['is_registered']) { - $user->data['user_lastmark'] = (isset($master->tracking_topics['l'])) ? (int) (base_convert($master->tracking_topics['l'], 36, 10) + $config['board_startdate']) : 0; - } - } - $sql_where = ($forum_sql ? $forum_sql : '') . $limit_time_sql; - $sql_where .= $topic_sql ? ($sql_where ? ' AND ' : '') . $topic_sql : ''; - $sql_where .= ($sql_where ? ' AND ' : '') . 't.topic_status <> ' . ITEM_MOVED; - if ($master->call['single_forum']) { - $sql_where .= $auth->acl_get('m_approve', $master->call['forum_id']) ? '' : ' AND t.topic_approved = 1'; - } else { - // only admins and global moderators will see un-approved topics - // in the forum they have access to. - $sql_where .= ($auth->acl_gets('a_') || $auth->acl_getf_global('m_')) ? '' : ' AND t.topic_approved = 1'; - } - // obtain correct topic count if we display pagination - if ($display_pagination) { - $sql = "SELECT COUNT(t.topic_id) AS num_topics - FROM " . TOPICS_TABLE . " t - WHERE $sql_where"; - $result = $db->sql_query($sql); - $total_topics = (int) $db->sql_fetchfield('num_topics'); - $db->sql_freeresult($result); - // Make sure $start is set to the last page if it exceeds the amount - if ($start < 0 || $start > $total_topics) { - $start = ($start < 0) ? 0 : floor(($total_topics - 1) / $limit) * $limit; - // Since we've reached here, $start is not set proper, kill the dupe! - $url = $display_file . $master->gym_master->html_add_start($start); - $master->gym_master->seo_kill_dupes($url); - } - } - $sql_array['WHERE'] = $sql_where; - $sql_array['ORDER_BY'] = $display_order . $order_sql; - $sql = $db->sql_build_query('SELECT', $sql_array); - unset($sql_array); - $result = $db->sql_query_limit($sql, $limit, $start); - while ($row = $db->sql_fetchrow($result)) { - $topic_id = (int) $row['topic_id']; - $forum_id = (int) $row['forum_id']; - // Start with the forum - if (!$s_global && empty($master->forum_datas[$forum_id])) { - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->set_url($forum_datas[$forum_id]['forum_name'], $forum_id, 'forum'); - // www.phpBB-SEO.com SEO TOOLKIT END - $master->forum_datas[$forum_id] = array_merge($forum_datas[$forum_id], array( - 'forum_url' => append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id"), - 'm_approve' => $auth->acl_get('m_approve', $forum_id), - )); - if ($load_db_lastread) { - $master->forum_tracking_info[$forum_id] = !empty($forum_datas[$forum_id]['forum_mark_time']) ? $forum_datas[$forum_id]['forum_mark_time'] : $user->data['user_lastmark']; - } elseif ($load_anon_lastread) { - $master->forum_tracking_info[$forum_id] = isset($master->tracking_topics['f'][$forum_id]) ? (int) (base_convert($master->tracking_topics['f'][$forum_id], 36, 10) + $config['board_startdate']) : $user->data['user_lastmark']; - } - } - $topic_datas[$topic_id] = $row; - $topic_ids[$topic_id] = $topic_id; - } - $db->sql_freeresult($result); - // Let's go - $has_result = false; - if (!empty($topic_datas)) { - $has_result = true; - // Grab icons - if (empty($master->icons)) { - $master->icons = $cache->obtain_icons(); - } - $s_type_switch = 0; - $folder_alt = 'NO_NEW_POSTS'; - $topic_type = ''; - $folder_img = 'topic_read'; - $topic_folder_img = $user->img($folder_img, $folder_alt); - $topic_folder_img_src = $user->img($folder_img, $folder_alt, false, '', 'src'); - foreach ($topic_ids as $topic_id) { - $topic_id = (int) $topic_id; - $row = &$topic_datas[$topic_id]; - $forum_id = (int) $row['forum_id']; - if (empty($master->forum_tracking_info[$forum_id])) { - if ($load_db_lastread) { - $master->topic_tracking_info[$topic_id] = !empty($row['mark_time']) ? $row['mark_time'] : $user->data['user_lastmark']; - } else if ($load_anon_lastread) { - $topic_id36 = base_convert($topic_id, 10, 36); - if (isset($master->tracking_topics['t'][$topic_id36])) { - $master->tracking_topics['t'][$topic_id] = base_convert($master->tracking_topics['t'][$topic_id36], 36, 10) + $config['board_startdate']; - } - $master->topic_tracking_info[$topic_id] = isset($master->tracking_topics['t'][$topic_id]) ? $master->tracking_topics['t'][$topic_id] : $user->data['user_lastmark']; - } - } else { - $master->topic_tracking_info[$topic_id] = $master->forum_tracking_info[$forum_id]; - } - $row['topic_title'] = censor_text($row['topic_title']); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]); - // www.phpBB-SEO.com SEO TOOLKIT END - // This will allow the style designer to output a different header - // or even separate the list of announcements from sticky and normal topics - $s_type_switch_test = /*($row['topic_type'] == POST_ANNOUNCE || $row['topic_type'] == POST_GLOBAL) ? 1 :*/ 0; - // Replies - $replies = !empty($master->forum_datas[$forum_id]['m_approve']) ? $row['topic_replies_real'] : $row['topic_replies']; - $unread_topic = (isset($master->topic_tracking_info[$topic_id]) && $row['topic_last_post_time'] > $master->topic_tracking_info[$topic_id]) ? true : false; - // Get folder img, topic status/type related information - if ($display_topic_status) { - $master->gym_master->topic_status($row, $replies, $unread_topic, $folder_img, $folder_alt, $topic_type); - $topic_folder_img = $user->img($folder_img, $folder_alt); - $topic_folder_img_src = $user->img($folder_img, $folder_alt, false, '', 'src'); - } - // Generate all the URIs ... - $view_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id"); - $view_forum_url = !$s_global ? $master->forum_datas[$forum_id]['forum_url'] : ''; - $topic_unapproved = (!$row['topic_approved'] && $auth->acl_get('m_approve', $forum_id)) ? true : false; - $posts_unapproved = ($row['topic_approved'] && $row['topic_replies'] < $row['topic_replies_real'] && $auth->acl_get('m_approve', $forum_id)) ? true : false; - $u_mcp_queue = ($topic_unapproved || $posts_unapproved) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=' . (($topic_unapproved) ? 'approve_details' : 'unapproved_posts') . "&t=$topic_id", true, $user->session_id) : ''; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN -> no dupe - if (!empty($phpbb_seo->seo_opt['no_dupe']['on'])) { - if (($replies + 1) > $phpbb_seo->seo_opt['topic_per_page']) { - $phpbb_seo->seo_opt['topic_last_page'][$topic_id] = floor($replies / $phpbb_seo->seo_opt['topic_per_page']) * $phpbb_seo->seo_opt['topic_per_page']; - } - } - // www.phpBB-SEO.com SEO TOOLKIT END -> no dupe - $tpl_data = array( - 'FORUM_ID' => $forum_id, - 'TOPIC_ID' => $topic_id, - 'PAGINATION' => $master->call['display_topic_pagination'] ? $master->gym_master->topic_generate_pagination($replies, $view_topic_url) : '', - 'REPLIES' => $replies, - 'VIEWS' => $row['topic_views'], - 'TOPIC_TITLE' => $row['topic_title'], - 'FORUM_NAME' => !$s_global ? $master->forum_datas[$forum_id]['forum_name'] : '', - 'TOPIC_TYPE' => $topic_type, - 'TOPIC_FOLDER_IMG' => $topic_folder_img, - 'TOPIC_FOLDER_IMG_SRC' => $topic_folder_img_src, - 'TOPIC_FOLDER_IMG_ALT' => $user->lang[$folder_alt], - 'TOPIC_ICON_IMG' => (!empty($master->icons[$row['icon_id']])) ? $master->icons[$row['icon_id']]['img'] : '', - 'TOPIC_ICON_IMG_WIDTH' => (!empty($master->icons[$row['icon_id']])) ? $master->icons[$row['icon_id']]['width'] : '', - 'TOPIC_ICON_IMG_HEIGHT' => (!empty($master->icons[$row['icon_id']])) ? $master->icons[$row['icon_id']]['height'] : '', - 'ATTACH_ICON_IMG' => ($auth->acl_get('u_download') && $auth->acl_get('f_download', $forum_id) && $row['topic_attachment']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '', - 'UNAPPROVED_IMG' => ($topic_unapproved || $posts_unapproved) ? $user->img('icon_topic_unapproved', ($topic_unapproved) ? 'TOPIC_UNAPPROVED' : 'POSTS_UNAPPROVED') : '', - 'FIRST_POST_TIME' => $user->format_date($row['topic_time']), - 'LAST_POST_TIME' => $user->format_date($row['topic_last_post_time']), - 'LAST_VIEW_TIME' => $user->format_date($row['topic_last_view_time']), - 'S_TOPIC_TYPE' => $row['topic_type'], - 'S_USER_POSTED' => (isset($row['topic_posted']) && $row['topic_posted']) ? true : false, - 'S_UNREAD_TOPIC' => $unread_topic, - 'S_TOPIC_REPORTED' => (!empty($row['topic_reported']) && $auth->acl_get('m_report', $forum_id)) ? true : false, - 'S_TOPIC_UNAPPROVED' => $topic_unapproved, - 'S_POSTS_UNAPPROVED' => $posts_unapproved, - 'S_HAS_POLL' => ($row['poll_start']) ? true : false, - 'S_POST_ANNOUNCE' => ($row['topic_type'] == POST_ANNOUNCE) ? true : false, - 'S_POST_GLOBAL' => ($row['topic_type'] == POST_GLOBAL) ? true : false, - 'S_POST_STICKY' => ($row['topic_type'] == POST_STICKY) ? true : false, - 'S_TOPIC_LOCKED' => ($row['topic_status'] == ITEM_LOCKED) ? true : false, - 'S_TOPIC_MOVED' => ($row['topic_status'] == ITEM_MOVED) ? true : false, - 'U_NEWEST_POST' => $unread_topic ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $forum_id . '&t=' . $topic_id . '&view=unread#unread') : '', - - 'U_VIEW_TOPIC' => $view_topic_url, - 'U_VIEW_FORUM' => $view_forum_url, - 'U_MCP_REPORT' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=reports&mode=reports&f=' . $forum_id . '&t=' . $topic_id, true, $user->session_id), - 'U_MCP_QUEUE' => $u_mcp_queue, - 'S_TOPIC_TYPE_SWITCH' => ($s_type_switch == $s_type_switch_test) ? -1 : $s_type_switch_test, - ); - if ($display_last_post) { - $tpl_data += array( - 'TOPIC_LAST_POST_TITLE' => !empty($row['topic_last_post_subject']) ? censor_text($row['topic_last_post_subject']) : $row['topic_title'], - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - 'U_MINI_POST' => !empty($phpbb_seo->seo_opt['no_dupe']['on']) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&start=" . @intval($phpbb_seo->seo_opt['topic_last_page'][$topic_id]) ) . '#p' . $row['topic_last_post_id'] : append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $row['topic_last_post_id'] . (($row['topic_type'] == POST_GLOBAL) ? '&f=' . $forum_id : '')) . '#p' . $row['topic_last_post_id'], - // www.phpBB-SEO.com SEO TOOLKIT END - ); - } - if ($display_user_info) { - $tpl_data += array( - 'TOPIC_AUTHOR_FULL' => get_username_string($display_user_link_key, $row['topic_poster'], $row['topic_first_poster_name'], $row['topic_first_poster_colour']), - 'LAST_POST_SUBJECT' => censor_text($row['topic_last_post_subject']), - 'LAST_POST_AUTHOR' => get_username_string('username', $row['topic_last_poster_id'], $row['topic_last_poster_name'], $row['topic_last_poster_colour']), - 'LAST_POST_AUTHOR_COLOUR' => get_username_string('colour', $row['topic_last_poster_id'], $row['topic_last_poster_name'], $row['topic_last_poster_colour']), - 'LAST_POST_AUTHOR_FULL' => get_username_string($display_user_link_key, $row['topic_last_poster_id'], $row['topic_last_poster_name'], $row['topic_last_poster_colour']), - 'U_LAST_POST_AUTHOR' => $display_user_link ? get_username_string('profile', $row['topic_last_poster_id'], $row['topic_last_poster_name'], $row['topic_last_poster_colour']) : '', - 'U_TOPIC_AUTHOR' => $display_user_link ? get_username_string('profile', $row['topic_poster'], $row['topic_first_poster_name'], $row['topic_first_poster_colour']) : '', - ); - } - $template->assign_block_vars('topicrow', $tpl_data); - unset($tpl_data); - $s_type_switch = /*($row['topic_type'] == POST_ANNOUNCE || $row['topic_type'] == POST_GLOBAL) ? 1 :*/ 0; - } - unset($topic_datas); - } - $map_desc = false; - $rules_info = array('forum_rules' => false, 'forum_rules_link' => false); - // In case we are listing category's children - if ($master->call['cat_forum']) { - $forum_id = $master->call['cat_forum']; - } - if ($master->call['display_desc']) { - $map_desc = !empty($master->module_config['html_site_desc']) ? $master->module_config['html_site_desc'] : ''; - if ($master->call['single_forum'] || $master->call['cat_forum']) { - $map_desc = $master->generate_forum_info($master->forum_datas[$forum_id]); - } - } - if ($master->call['display_rules'] && ($master->call['single_forum'] || $master->call['cat_forum']) ) { - $rules_info = $master->generate_forum_info($master->forum_datas[$forum_id], 'rules'); - } - $tpl_data = array( - 'H1_TOPICS' => $master->outputs['page_title'], - 'DISPLAY_TOPICS_H1' => $display_link, - 'U_TOPICS' => $display_link ? append_sid($display_file) : false, - 'DISPLAY_TOPICS' => $has_result, - 'DISPLAY_LAST_POST' => $display_last_post, - 'NEWEST_POST_IMG' => $user->img('icon_topic_newest', 'VIEW_NEWEST_POST'), - 'LAST_POST_IMG' => $user->img('icon_topic_latest', 'VIEW_LATEST_POST'), - 'MAP_DESC' => $map_desc, - 'MAP_RULES' => $rules_info['forum_rules'], - 'MAP_RULES_LINK' => $rules_info['forum_rules_link'], - 'T_ICONS_PATH' => "{$phpbb_root_path}{$config['icons_path']}/", - 'NEWS_IMG_SRC' => $master->gym_master->path_config['gym_img_url'] . 'html_news.gif', - ); - if ($master->call['single_forum'] || $master->call['cat_forum']) { - $tpl_data += array( - 'FORUM_NEWS' => sprintf($user->lang['HTML_NEWS_OF'], $master->forum_datas[$forum_id]['forum_name']), - 'FORUM_NEWS_URL' => $master->module_config['html_allow_cat_news'] ? append_sid($master->gym_master->html_build_url('html_forum_cat_news', $phpbb_seo->seo_url['forum'][$forum_id], $forum_id)) : '', - 'FORUM_URL' => $master->forum_datas[$forum_id]['forum_url'], - 'FORUM_NAME' => $master->forum_datas[$forum_id]['forum_name'], - 'S_SINGLE_FORUM' => $master->call['cat_forum'] ? false : true, - ); - } else { - $tpl_data += array( - 'FORUM_NEWS' => sprintf($user->lang['HTML_NEWS_OF'], $master->module_config['html_sitename']), - 'FORUM_NEWS_URL' => $master->module_config['html_allow_news'] ? append_sid($master->module_config['html_url'] . $master->url_settings['html_forum_news']) : '', - 'FORUM_URL' => append_sid("{$phpbb_root_path}index.$phpEx"), - 'FORUM_NAME' => $master->module_config['html_sitename'], - ); - } - $template->assign_vars($tpl_data); - unset($tpl_data); - if ($display_pagination) { - $l_total_topic_s = ($total_topics == 0) ? 'TOTAL_TOPICS_ZERO' : 'TOTAL_TOPICS_OTHER'; - $template->assign_vars(array( - 'DISPLAY_PAGINATION' => generate_pagination(append_sid($display_file), $total_topics, $limit, $start), - 'DISPLAY_PAGE_NUMBER' => on_page($total_topics, $limit, $start), - 'DISPLAY_TOTAL_TOPICS' => sprintf($user->lang[$l_total_topic_s], $total_topics), - )); - } - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/docs/COPYING b/phpBB/gym_sitemaps/docs/COPYING deleted file mode 100644 index 4bcc85125b..0000000000 --- a/phpBB/gym_sitemaps/docs/COPYING +++ /dev/null @@ -1,65 +0,0 @@ -GNU LESSER GENERAL PUBLIC LICENSE - -Version 3, 29 June 2007 - -Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> - -Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - -This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. -0. Additional Definitions. - -As used herein, "this License" refers to version 3 of the GNU Lesser General Public License, and the "GNU GPL" refers to version 3 of the GNU General Public License. - -"The Library" refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. - -An "Application" is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. - -A "Combined Work" is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the "Linked Version". - -The "Minimal Corresponding Source" for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. - -The "Corresponding Application Code" for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. -1. Exception to Section 3 of the GNU GPL. - -You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. -2. Conveying Modified Versions. - -If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: - - * a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or - * b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. - -3. Object Code Incorporating Material from Library Header Files. - -The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: - - * a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. - * b) Accompany the object code with a copy of the GNU GPL and this license document. - -4. Combined Works. - -You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: - - * a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. - * b) Accompany the Combined Work with a copy of the GNU GPL and this license document. - * c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. - * d) Do one of the following: - o 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. - o 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. - * e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) - -5. Combined Libraries. - -You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: - - * a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. - * b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. - -6. Revised Versions of the GNU Lesser General Public License. - -The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. - -If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library. diff --git a/phpBB/gym_sitemaps/docs/update_from_last.txt b/phpBB/gym_sitemaps/docs/update_from_last.txt deleted file mode 100644 index ad49a15afe..0000000000 --- a/phpBB/gym_sitemaps/docs/update_from_last.txt +++ /dev/null @@ -1,54 +0,0 @@ -############################################################## -## MOD Title: phpBB SEO GYM SItemaps & RSS 2.0.1 => 2.0.2 update -## MOD Author: dcz <n/a> http://www.phpbb-seo.com/ -## MOD Description: This are the update steps for the phpBB SEO GYM SItemaps & RSS 2.0.1 => 2.0.2 update. -## Check http://www.phpbb-seo.com/en/gym-sitemaps-rss/google-yahoo-msn-sitemaps-rss-t2734.html -## for the latest version or to get help with this MOD -## -## MOD Version: 1.0 -## -## Installation Level: (Eazy) -## Installation Time: 1 Minute -## Files To Edit: (0) -## -## -## Included Files: n/a -############################################################## -## Author Notes: -## _____________ -## -## This are the update steps for the phpBB3 SEO GYM SItemaps & RSS 2.0.1 => 2.0.2 update. -## -############################################################## -## MOD History: -## -## 2010-11-20 - 1.0 -## - First version released -## -############################################################## -## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD -############################################################## - - -# -#-----[ DIY INSTRUCTIONS ]-------------------------------------------------- -# - -_________________________________________ ->>>> INSTALLATION INSTRUCTIONS <<<<< -_________________________________________ - -To update from all 2.0.x (phpBB3) versions you will have to upload all files in the root/ directory of the archive to your phpBB/ ftp directory, after you will have taken care manually of the eventual code change you would have implemented in the template files (directory phpBB/styles/, .html, .js and .xsl) added by the module. -Once done, just lunch the update script (example.com/phpBB/gym_sitemaps/gym_install.php). -Your settings will be kept during the update process. - -Once you will have updated, you will have to refresh your theme's cache as well as phpBB's cache (ACP => STYLE, Themes => Refresh). - -These code changes are the code changes to implement in the phpBB3 files that are modified when first installing this module. - -NO code changes required for this update. - -# -#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ -# -# EoM diff --git a/phpBB/gym_sitemaps/docs/update_from_lastFR.txt b/phpBB/gym_sitemaps/docs/update_from_lastFR.txt deleted file mode 100644 index 3d39eb46cf..0000000000 --- a/phpBB/gym_sitemaps/docs/update_from_lastFR.txt +++ /dev/null @@ -1,54 +0,0 @@ -############################################################## -## MOD Title: phpBB SEO GYM SItemaps & RSS MAJ 2.0.1 => 2.0.2 -## MOD Author: dcz <n/a> http://www.phpbb-seo.com/ -## MOD Description: Ceci est la procédure de mise à jour du MOD GYM SItemaps & RSS pour la transition version 2.0.1 => 2.0.2 -## Rendez-vous sur http://www.phpbb-seo.com/fr/gym-sitemaps-rss/sitemaps-rss-google-yahoo-msn-t3136.html -## pour toujours obtenir la dernière version ou de l'aide pour ce MOD. -## -## MOD Version: 1.0 -## -## Installation Level: (Eazy) -## Installation Time: 1 Minute -## Files To Edit: (0) -## -## -## Included Files: n/a -############################################################## -## Author Notes: -## _____________ -## -## Voici les instructions de mise à jour : phpBB3 SEO GYM SItemaps & RSS 2.0.1 => 2.0.2 -## -############################################################## -## MOD History: -## -## 2010-11-20 - 1.0 -## - First version released -## -############################################################## -## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD -############################################################## - - -# -#-----[ DIY INSTRUCTIONS ]-------------------------------------------------- -# - -_____________________________________________ ->>>> INSTALLATION POUR VOTRE FORUM <<<<< -_____________________________________________ - -Pour mettre à jour depuis n'importe quelle version 2.0.x (phpBB3), vous devrez tout d'abord uploader tous les fichiers contenus dans le dossier root/ de l'archive dans le dossier ftp de phpBB, en prenant soin de conserver vos éventuelles modification des fichiers de template (dossier phpBB/styles/, .html, .js et .xsl) ajoutés par le module. -Une fois les fichiers en place, lancez simplement le script de mise à jour (example.com/phpBB/gym_sitemaps/gym_install.php). -Vos réglages seront conservés lors de la mise à jour. - -Une fois les nouveaux fichiers en place, il vous faudra vider le cache de phpBB et rafraichir vos thèmes (ACP => STYLE => Thèmes => Rafraichir). - -Les modifications de ce fichier concernent les fichier de phpBB3 qui ont été modifiés lors de l'installation du module. - -Aucune modification requise pour cette mise à jour. - -# -#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ -# -# EoM diff --git a/phpBB/gym_sitemaps/gym_install.php b/phpBB/gym_sitemaps/gym_install.php deleted file mode 100644 index 84e070ec63..0000000000 --- a/phpBB/gym_sitemaps/gym_install.php +++ /dev/null @@ -1,937 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_install.php 271 2010-11-20 20:53:59Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/* - * Based on the phpBB3 install package / www.phpBB.com - */ -define('IN_PHPBB', true); -define('IN_INSTALL', true); -$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../'; -$phpEx = substr(strrchr(__FILE__, '.'), 1); -@define('GYM_VERSION', '2.0.2'); -// Try to override some limits - maybe it helps some... -@set_time_limit(0); -$mem_limit = @ini_get('memory_limit'); -if (!empty($mem_limit)) { - $unit = strtolower(substr($mem_limit, -1, 1)); - $mem_limit = (int) $mem_limit; - if ($unit == 'k') { - $mem_limit = floor($mem_limit / 1024); - } else if ($unit == 'g') { - $mem_limit *= 1024; - } else if (is_numeric($unit)) { - $mem_limit = floor((int) ($mem_limit . $unit) / 1048576); - } - $mem_limit = max(128, $mem_limit) . 'M'; -} else { - $mem_limit = '128M'; -} -@ini_set('memory_limit', $mem_limit); -include($phpbb_root_path . 'common.' . $phpEx); -// Include essential scripts -require($phpbb_root_path . 'includes/functions_install.' . $phpEx); -// Start session management -$user->session_begin(); -$auth->acl($user->data); -$user->setup('gym_sitemaps/install'); -// Security check -// Circumvent a potential phpbb bug with paths -$redirect = append_sid(generate_board_url() . "/gym_sitemaps/gym_install.$phpEx"); -if (!$user->data['is_registered']) { - login_box($redirect, $user->lang['SEO_LOGIN'],'', false, false); -} -if (!$auth->acl_get('a_')) { - $user->session_kill(true); - login_box($redirect, $user->lang['SEO_LOGIN_ADMIN'],'', false, false); -} -if ($user->data['user_type'] != USER_FOUNDER) { - login_box($redirect, $user->lang['SEO_LOGIN_FOUNDER'],'', false, false); -} -$user->add_lang(array('acp/common', 'acp/board', 'install', 'posting', 'acp/modules')); -$mode = request_var('mode', 'overview'); -$sub = request_var('sub', ''); -// Set some standard variables we want to force -$config['load_tplcompile'] = '1'; -$template->set_custom_template('../adm/style', '../admin'); -$template->assign_var('T_TEMPLATE_PATH', '../adm/style'); -// the acp template is never stored in the database -$user->theme['template_storedb'] = false; -// Start the installer -$install = new module(); -$install->create('install', "gym_install.$phpEx", $mode, $sub); -$install->load(); -// Generate the page -$install->page_header(); -$install->generate_navigation(); -$template->set_filenames(array( - 'body' => $install->get_tpl_name()) -); -$install->page_footer(); -/** -* @package install -*/ -class module { - var $id = 0; - var $type = 'install'; - var $module_ary = array(); - var $filename; - var $module_url = ''; - var $tpl_name = ''; - var $mode; - var $sub; - /** - * Private methods, should not be overwritten - */ - function create($module_type, $module_url, $selected_mod = false, $selected_submod = false) { - global $db, $config, $phpEx, $phpbb_root_path, $user; - $module = array( - array( - 'module_type' => 'install', - 'module_title' => 'OVERVIEW', - 'module_filename' => 'overview_gym_sitemaps', - 'module_order' => 0, - 'module_subs' => array('INTRO', 'LICENSE', 'SUPPORT'), - 'module_stages' => '', - 'module_reqs' => '' - ), - array( - 'module_type' => 'install', - 'module_title' => 'INSTALL_GYM_SITEMAPS', - 'module_filename' => 'install_gym_sitemaps', - 'module_order' => 1, - 'module_subs' => '', - 'module_stages' => array('INTRO', 'FINAL'), - 'module_reqs' => '' - ), - array( - 'module_type' => 'uninstall', - 'module_title' => 'UNINSTALL_GYM_SITEMAPS', - 'module_filename' => 'install_gym_sitemaps', - 'module_order' => 2, - 'module_subs' => '', - 'module_stages' => array('INTRO', 'FINAL'), - 'module_reqs' => '' - ), - array( - 'module_type' => 'update', - 'module_title' => 'UPDATE_GYM_SITEMAPS', - 'module_filename' => 'install_gym_sitemaps', - 'module_order' => 3, - 'module_subs' => '', - 'module_stages' => array('INTRO', 'FINAL'), - 'module_reqs' => '' - ), - ); - // Order to use and count further if modules get assigned to the same position or not having an order - $max_module_order = 1000; - foreach ($module as $row) { - // Module order not specified or module already assigned at this position? - if (!isset($row['module_order']) || isset($this->module_ary[$row['module_order']])) { - $row['module_order'] = $max_module_order; - $max_module_order++; - } - $this->module_ary[$row['module_order']]['name'] = $row['module_title']; - $this->module_ary[$row['module_order']]['filename'] = $row['module_filename']; - $this->module_ary[$row['module_order']]['subs'] = $row['module_subs']; - $this->module_ary[$row['module_order']]['stages'] = $row['module_stages']; - if (strtolower($selected_mod) == strtolower($row['module_title'])) { - $this->id = (int) $row['module_order']; - $this->filename = (string) $row['module_filename']; - $this->module_url = (string) $module_url; - $this->mode = (string) $selected_mod; - // Check that the sub-mode specified is valid or set a default if not - if (is_array($row['module_subs'])) { - $this->sub = strtolower((in_array(strtoupper($selected_submod), $row['module_subs'])) ? $selected_submod : $row['module_subs'][0]); - } else if (is_array($row['module_stages'])) { - $this->sub = strtolower((in_array(strtoupper($selected_submod), $row['module_stages'])) ? $selected_submod : $row['module_stages'][0]); - } else { - $this->sub = ''; - } - } - } // END foreach - } // END create - /** - * Load and run the relevant module if applicable - */ - function load($mode = false, $run = true) { - global $phpbb_root_path, $phpEx; - if ($run) { - if (!empty($mode)) { - $this->mode = $mode; - } - $module = $this->filename; - if (!class_exists($module)) { - $this->error('Module "' . htmlspecialchars($module) . '" not accessible.', __LINE__, __FILE__); - } - $this->module = new $module($this); - if (method_exists($this->module, 'main')) { - $this->module->main($this->mode, $this->sub); - } - } - } - /** - * Output the standard page header - */ - function page_header() { - if (defined('HEADER_INC')) { - return; - } - define('HEADER_INC', true); - global $template, $user, $stage, $phpbb_root_path; - $template->assign_vars(array( - 'L_INSTALL_PANEL' => $user->lang['SEO_INSTALL_PANEL'], - 'L_SKIP' => $user->lang['SKIP'], - 'PAGE_TITLE' => $this->get_page_title(), - 'T_IMAGE_PATH' => $phpbb_root_path . 'adm/images/', - 'S_CONTENT_DIRECTION' => $user->lang['DIRECTION'], - 'S_CONTENT_ENCODING' => 'UTF-8', - 'S_USER_LANG' => $user->lang['USER_LANG'], - ) - ); - header('Content-type: text/html; charset=UTF-8'); - header('Cache-Control: private, no-cache="set-cookie"'); - header('Expires: 0'); - header('Pragma: no-cache'); - return; - } - /** - * Output the standard page footer - */ - function page_footer() { - global $db, $template, $phpbb_seo; - $template->display('body'); - // Close our DB connection. - if (!empty($db) && is_object($db)) { - $db->sql_close(); - } - exit; - } - /** - * Returns desired template name - */ - function get_tpl_name() { - return $this->module->tpl_name . '.html'; - } - /** - * Returns the desired page title - */ - function get_page_title() { - global $user; - if (!isset($this->module->page_title)) { - return ''; - } - return (isset($user->lang[$this->module->page_title])) ? $user->lang[$this->module->page_title] : $this->module->page_title; - } - /** - * Generate an HTTP/1.1 header to redirect the user to another page - * This is used during the installation when we do not have a database available to call the normal redirect function - * @param string $page The page to redirect to relative to the installer root path - */ - function redirect($page) { - $server_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : getenv('SERVER_NAME'); - $server_port = (!empty($_SERVER['SERVER_PORT'])) ? (int) $_SERVER['SERVER_PORT'] : (int) getenv('SERVER_PORT'); - $secure = (bool) ((isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] === 'on' || $_SERVER['HTTPS'] === true)) || (isset($_SERVER['SERVER_PORT']) && (int) $_SERVER['SERVER_PORT'] === 443)); - - $script_name = (!empty($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : getenv('PHP_SELF'); - if (!$script_name) { - $script_name = (!empty($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : getenv('REQUEST_URI'); - } - // Replace backslashes and doubled slashes (could happen on some proxy setups) - $script_name = str_replace(array('\\', '//'), '/', $script_name); - $script_path = trim(dirname($script_name)); - $url = (($secure) ? 'https://' : 'http://') . $server_name; - if ($server_port && (($secure && $server_port <> 443) || (!$secure && $server_port <> 80))) { - $url .= ':' . $server_port; - } - $url .= $script_path . '/' . $page; - header('Location: ' . $url); - exit; - } - /** - * Generate the navigation tabs - */ - function generate_navigation() { - global $user, $template, $phpEx; - if (is_array($this->module_ary)) { - @ksort($this->module_ary); - foreach ($this->module_ary as $cat_ary) { - $cat = $cat_ary['name']; - $l_cat = (!empty($user->lang['CAT_' . $cat])) ? $user->lang['CAT_' . $cat] : preg_replace('#_#', ' ', $cat); - $cat = strtolower($cat); - $url = $this->module_url . "?mode=$cat"; - if ($this->mode == $cat) { - $template->assign_block_vars('t_block1', array( - 'L_TITLE' => $l_cat, - 'S_SELECTED' => true, - 'U_TITLE' => $url, - )); - if (is_array($this->module_ary[$this->id]['subs'])) { - $subs = $this->module_ary[$this->id]['subs']; - foreach ($subs as $option) { - $l_option = (!empty($user->lang['SUB_' . $option])) ? $user->lang['SUB_' . $option] : preg_replace('#_#', ' ', $option); - $option = strtolower($option); - $url = $this->module_url . '?mode=' . $this->mode . "&sub=$option"; - $template->assign_block_vars('l_block1', array( - 'L_TITLE' => $l_option, - 'S_SELECTED' => ($this->sub == $option), - 'U_TITLE' => $url, - )); - } - } - if (is_array($this->module_ary[$this->id]['stages'])) { - $subs = $this->module_ary[$this->id]['stages']; - $matched = false; - foreach ($subs as $option) { - $l_option = (!empty($user->lang['STAGE_' . $option])) ? $user->lang['STAGE_' . $option] : preg_replace('#_#', ' ', $option); - $option = strtolower($option); - $matched = ($this->sub == $option) ? true : $matched; - - $template->assign_block_vars('l_block2', array( - 'L_TITLE' => $l_option, - 'S_SELECTED' => ($this->sub == $option), - 'S_COMPLETE' => !$matched, - )); - } - } - } else { - $template->assign_block_vars('t_block1', array( - 'L_TITLE' => $l_cat, - 'S_SELECTED' => false, - 'U_TITLE' => $url, - )); - } - } - } - } - /** - * Output an error message - * If skip is true, return and continue execution, else exit - */ - function error($error, $line = '', $file = '', $skip = false, $title = '') { - global $user, $db, $template, $phpbb_seo; - $title = !empty($title) ? $title : $user->lang['INST_ERR_FATAL']; - $file = !empty($file) ? basename($file) . ' [ ' . $line . ' ]' : ''; - if ($skip) { - $template->assign_block_vars('checks', array( - 'S_LEGEND' => true, - 'LEGEND' => $user->lang['INST_ERR'], - )); - $template->assign_block_vars('checks', array( - 'TITLE' => basename($file) . ' [ ' . $line . ' ]', - 'RESULT' => '<b style="color:red">' . $error . '</b>', - )); - return; - } - echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'; - echo '<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">'; - echo '<head>'; - echo '<meta http-equiv="content-type" content="text/html; charset=utf-8" />'; - echo '<title>' . $title . '</title>'; - echo '<link href="../adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />'; - echo '</head>'; - echo '<body id="errorpage">'; - echo '<div id="wrap">'; - echo ' <div id="page-header">'; - echo ' </div>'; - echo ' <div id="page-body">'; - echo ' <div id="acp">'; - echo ' <div class="panel">'; - echo ' <span class="corners-top"><span></span></span>'; - echo ' <div id="content">'; - echo ' <h1>' . $title . '</h1>'; - echo ' <p>' . $file . '</p>' . "\n"; - echo ' <p><b>' . $error . "</b></p>\n"; - echo ' </div>'; - echo ' <span class="corners-bottom"><span></span></span>'; - echo ' </div>'; - echo ' </div>'; - echo ' </div>'; - echo ' <div id="page-footer">'; - echo ' Powered by phpBB © 2000, 2002, 2005, 2007, 2008 <a href="http://www.phpbb.com/">phpBB Group</a>'; - echo ' </div>'; - echo '</div>'; - echo '</body>'; - echo '</html>'; - if (!empty($db) && is_object($db)) { - $db->sql_close(); - } - exit; - } - /** - * Output an error message for a database related problem - * If skip is true, return and continue execution, else exit - */ - function db_error($error, $sql, $line, $file, $skip = false) { - global $user, $db, $template; - if ($skip) { - $template->assign_block_vars('checks', array( - 'S_LEGEND' => true, - 'LEGEND' => $user->lang['INST_ERR_FATAL'], - )); - $template->assign_block_vars('checks', array( - 'TITLE' => basename($file) . ' [ ' . $line . ' ]', - 'RESULT' => '<b style="color:red">' . $error . '</b><br />» SQL:' . $sql, - )); - return; - } - $template->set_filenames(array( - 'body' => 'install_error.html') - ); - $this->page_header(); - $this->generate_navigation(); - $template->assign_vars(array( - 'MESSAGE_TITLE' => $user->lang['INST_ERR_FATAL_DB'], - 'MESSAGE_TEXT' => '<p>' . basename($file) . ' [ ' . $line . ' ]</p><p>SQL : ' . $sql . '</p><p><b>' . $error . '</b></p>', - )); - // Rollback if in transaction - if ($db->transaction) { - $db->sql_transaction('rollback'); - } - $this->page_footer(); - } -} -/** -* Installation Tabs -*/ -class install_gym_sitemaps extends module { - var $errors = array(); - var $uninst_prefix = ''; - var $modrtype_lang = array(); - var $action_types = array(); - var $version = '(not set)'; - var $old_config = array(); - var $config_report = array(); - function install_gym_sitemaps(&$p_master) { - global $user, $phpbb_seo, $config, $phpbb_root_path, $phpEx, $_action_types; - $this->p_master = &$p_master; - $this->version = GYM_VERSION; - require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_common.' . $phpEx); - // For Compatibility with the phpBB SEO mod rewrites - if (empty($phpbb_seo)) { - require_once($phpbb_root_path . 'gym_sitemaps/includes/phpbb_seo_class_light.' . $phpEx); - $phpbb_seo = new phpbb_seo(); - define('STARTED_LIGHT', true); - } - $this->action_types = $_action_types; - $this->modrtype_lang = set_phpbb_seo_links(); - } - function main($mode, $sub) { - global $user, $template, $phpbb_root_path, $phpbb_seo, $phpEx, $cache, $db; - switch ($mode) { - case 'install_gym_sitemaps': - $this->uninst_prefix = ''; - break; - case 'update_gym_sitemaps': - obtain_gym_config('main', $this->old_config); - if (!empty($this->old_config)) { - $this->uninst_prefix = 'UPDATE_'; - } else { - $this->p_master->error($user->lang['SEO_ERROR_NOTINSTALLED']. '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], '<a href="' . $this->p_master->module_url . '">', '</a>'), '', '', false, $user->lang['SEO_ERROR_INFO']); - exit; - } - break; - case 'uninstall_gym_sitemaps': - $this->uninst_prefix = 'UN_'; - break; - } - switch ($sub) { - case 'intro': - $this->page_title = $user->lang['SUB_INTRO']; - $template->assign_vars(array( - 'TITLE' => $user->lang[$this->uninst_prefix . 'SEO_INSTALL_INTRO'], - 'BODY' => sprintf($user->lang[$this->uninst_prefix . 'SEO_INSTALL_INTRO_BODY'], @$this->modrtype_lang['link'], $this->version), - 'L_SUBMIT' => $user->lang[$this->uninst_prefix . 'SEO_INSTALL'], - 'S_LANG_SELECT' => '', - 'U_ACTION' => $this->p_master->module_url . "?mode=$mode&sub=final", - )); - break; - case 'final': - if ($mode != 'uninstall_gym_sitemaps') { - $update = $mode == 'update_gym_sitemaps' ? true : false; - if(!$update) { - $this->add_modules($mode, $sub); - $this->install_tables($mode); - } - $gym_modules = $gym_modules_acp = array(); - foreach ($this->action_types as $otype) { // List all output types (sitemaps, rss, html, yahoo ...) - $dir = opendir( $phpbb_root_path . 'gym_sitemaps/acp' ); - while( ($file = readdir($dir)) !== FALSE ) { // Look for available mocules - if(preg_match('`^' . $otype . '_([a-z0-9_-]+)\.' . $phpEx . '$`i', $file, $matches)) { - $type_module = trim(str_replace('.' . $phpEx , '' ,$file), "/"); - $_module = str_replace($otype . '_', '', $type_module); - if ($matches[1] === 'main' || (file_exists($phpbb_root_path . 'gym_sitemaps/modules/' . $file) ) ) { - $gym_modules[$otype][$_module] = $type_module; - } - } - } - closedir($dir); - foreach ($gym_modules[$otype] as $_module => $type_module) { // List all available modules - $module_file = $phpbb_root_path . 'gym_sitemaps/acp/' . $type_module . '.' . $phpEx; - - if ( file_exists($module_file) ) { - include_once($module_file); - if (class_exists($type_module)) { - $gym_module = new $type_module($this); - if ( method_exists($gym_module, 'acp_module')) { // Looks like we match - $gym_modules_acp[$otype][$_module] = $gym_module->acp_module(); - foreach ($gym_modules_acp[$otype][$_module]['info']['actions'] as $module_action) { // list the module's options sets - foreach ($gym_modules_acp[$otype][$_module][$module_action]['default'] as $module_config => $default_value ) { // In the end list possible options for this module for this module's options set - if (!isset($this->old_config[$module_config])) { - // Update config - set_gym_config($module_config, $default_value, $otype, $this->old_config); - $this->config_report[] = "SET <b>$module_config</b> to $default_value"; - } - } - } - if (!isset($this->old_config[$type_module . '_installed'])) { - // Set the module as installed - set_gym_config($type_module . '_installed', 1, 'main', $this->old_config); - $this->config_report[] = "ACTIVATED <b>$type_module module</b>"; - } - } - } - } - } - } - } else { - $this->remove_modules($mode, $sub); - $this->install_tables($mode); - } - if (@method_exists($cache, 'purge')) { - $cache->purge(); - } - $this->final_stage($mode, $sub); - break; - } - $this->tpl_name = 'install_install'; - } - /** - * Populate the module tables - */ - function add_modules($mode, $sub) { - global $db, $user, $phpbb_root_path, $phpEx; - include_once($phpbb_root_path . 'includes/acp/acp_modules.' . $phpEx); - $_module = new acp_modules(); - if ( $this->get_module_id('ACP_GYM_SITEMAPS') > 0 ) { - $url_mod = !empty($sub) ? '?mode=' . $mode : ''; - - $this->p_master->error(sprintf($user->lang['SEO_ERROR_INSTALLED'], $user->lang['ACP_CAT_PHPBB_SEO'] ) . '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], '<a href="' . $this->p_master->module_url . $url_mod . '">', '</a>'), '', '', false, $user->lang['SEO_ERROR_INFO']); - } - $module_classes = array('acp'); - // Add categories - foreach ($module_classes as $module_class) { - $categories = array(); - // Set the module class - $_module->module_class = $module_class; - foreach ($this->module_categories[$module_class] as $cat_name => $subs) { - $module_data = array( - 'module_basename' => '', - 'module_enabled' => 1, - 'module_display' => 1, - 'parent_id' => 0, - 'module_class' => $module_class, - 'module_langname' => $cat_name, - 'module_mode' => '', - 'module_auth' => '', - ); - if ( $this->get_module_id('ACP_CAT_PHPBB_SEO') < 1 ) { - // Add category - $_module->update_module_data($module_data, true); - } else { - $module_data['module_id'] = $this->check_module_id('ACP_CAT_PHPBB_SEO'); - } - // Check for last sql error happened - if ($db->sql_error_triggered) { - $error = $db->sql_error($db->sql_error_sql); - $this->p_master->db_error($error['message'], $db->sql_error_sql, __LINE__, __FILE__); - } - $categories[$cat_name]['id'] = (int) $module_data['module_id']; - $categories[$cat_name]['parent_id'] = 0; - // Create sub-categories... - if (is_array($subs)) { - foreach ($subs as $level2_name) { - $module_data = array( - 'module_basename' => '', - 'module_enabled' => 1, - 'module_display' => 1, - 'parent_id' => (int) $categories[$cat_name]['id'], - 'module_class' => $module_class, - 'module_langname' => $level2_name, - 'module_mode' => '', - 'module_auth' => '', - ); - $_module->update_module_data($module_data, true); - // Check for last sql error happened - if ($db->sql_error_triggered) { - $error = $db->sql_error($db->sql_error_sql); - $this->p_master->db_error($error['message'], $db->sql_error_sql, __LINE__, __FILE__); - } - $categories[$level2_name]['id'] = (int) $module_data['module_id']; - $categories[$level2_name]['parent_id'] = (int) $categories[$cat_name]['id']; - } - } - } - // Get the modules we want to add... returned sorted by name - $module_info = $_module->get_module_infos('gym_sitemaps', $module_class); - foreach ($module_info as $module_basename => $fileinfo) { - foreach ($fileinfo['modes'] as $module_mode => $row) { - foreach ($row['cat'] as $cat_name) { - if (!isset($categories[$cat_name])) { - continue; - } - $module_data = array( - 'module_basename' => $module_basename, - 'module_enabled' => 1, - 'module_display' => (isset($row['display'])) ? (int) $row['display'] : 1, - 'parent_id' => (int) $categories[$cat_name]['id'], - 'module_class' => $module_class, - 'module_langname' => $row['title'], - 'module_mode' => $module_mode, - 'module_auth' => $row['auth'], - ); - $_module->update_module_data($module_data, true); - // Check for last sql error happened - if ($db->sql_error_triggered) { - $error = $db->sql_error($db->sql_error_sql); - $this->p_master->db_error($error['message'], $db->sql_error_sql, __LINE__, __FILE__); - } - } - } - } - } - } - /** - * remove_modules - */ - function remove_modules($mode, $sub) { - global $db, $user, $phpbb_root_path, $phpEx; - include_once($phpbb_root_path . 'includes/acp/acp_modules.' . $phpEx); - $_module = new acp_modules(); - // Set the module class - $module_classes = array_keys($this->module_categories); - $_module->u_action = "phpbb_seo_install.$phpEx"; - $cat_module_data = array(); - $module_data = array(); - $delete_module_data = array(); - foreach ($module_classes as $module_class) { - $_module->module_class = $module_class; - foreach ($this->module_categories[$module_class] as $cat_name => $subs) { - // If the cat is already uninstalled break for now - if ( $this->get_module_id($cat_name) < 1 ) { - $url_mod = !empty($this->sub) ? '?mode=' . $this->mode : ''; - $this->p_master->error(sprintf($user->lang['SEO_ERROR_UNINSTALLED'], $user->lang[$cat_name] ). '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], '<a href="' . $this->p_master->module_url . $url_mod . '">', '</a>'), '', '', false, $user->lang['SEO_ERROR_INFO']); - } - $cat_module_data[$cat_name] = array( - 'module_id' => $this->check_module_id($cat_name), - 'module_basename' => '', - 'module_enabled' => 1, - 'module_display' => 1, - 'parent_id' => 0, - 'module_class' => $module_class, - 'module_langname' => $cat_name, - 'module_mode' => '', - 'module_auth' => '', - ); - if (is_array($subs)) { - foreach ($subs as $sub_cat) { - $sub_cat_module_data[$sub_cat] = array( - 'module_id' => $this->check_module_id($sub_cat), - 'module_basename' => '', - 'module_enabled' => 1, - 'module_display' => 1, - 'parent_id' => (int) $cat_module_data[$cat_name]['module_id'], - 'module_class' => $module_class, - 'module_langname' => $sub_cat, - 'module_mode' => '', - 'module_auth' => '', - ); - $branch = $_module->get_module_branch($sub_cat_module_data[$sub_cat]['module_id'],'children', 'descending', false); - if (sizeof($branch)) { - foreach ($branch as $module) { - $error = $_module->delete_module($module['module_id']); - if (!sizeof($error)) { - $_module->remove_cache_file(); - $delete_module_data[$module['module_id']] = $module['module_langname'] . ' - id : ' . $module['module_id']; - } else { - $this->errors[] = implode(' ', $error); - } - } // End modules - } - if (!sizeof($this->errors)) { - $error = $_module->delete_module($sub_cat_module_data[$sub_cat]['module_id']); - if (!sizeof($error)) { - $_module->remove_cache_file(); - $delete_module_data[$sub_cat_module_data[$sub_cat]['module_id']] = $sub_cat_module_data[$sub_cat]['module_langname'] . ' - id : ' . $sub_cat_module_data[$sub_cat]['module_id']; - } else { - $this->errors[] = implode(' ', $error); - } - } - } - } // End sub categories - if (!sizeof($this->errors)) { - $branch = $_module->get_module_branch($cat_module_data[$cat_name]['module_id'],'children', 'descending', false); - if (empty($branch)) { - $error = $_module->delete_module($cat_module_data[$cat_name]['module_id']); - } - if (!sizeof($error)) { - $_module->remove_cache_file(); - $delete_module_data[$cat_module_data[$cat_name]['module_id']] = $cat_module_data[$cat_name]['module_langname'] . ' - id : ' . $cat_module_data[$cat_name]['module_id']; - } else { - $this->errors[] = implode(' ', $error); - } - } - } // End categories - } // End classes - return; - } - /** - * install_tables - */ - function install_tables($mode) { - global $db; - if ( $mode === 'install_gym_sitemaps') { - //$sql = "DROP TABLE IF EXISTS " . GYM_CONFIG_TABLE; - //$db->sql_query($sql); - $sql = array(); - switch( $db->sql_layer ) { - case 'oracle': - $sql[] = "CREATE TABLE " . GYM_CONFIG_TABLE . " ( - config_name varchar(255) DEFAULT '', - config_value varchar(255) DEFAULT '', - config_type varchar(10) DEFAULT 'gym' NOT NULL, - CONSTRAINT pk_gym_config PRIMARY KEY (config_name) - )"; - $sql[] = "CREATE INDEX gym_config_type ON " . GYM_CONFIG_TABLE . " (config_type)"; - break; - case 'firebird': - $sql[] = "CREATE TABLE " . GYM_CONFIG_TABLE . " ( - config_name VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL, - config_value VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE, - config_type VARCHAR(10) DEFAULT 'gym' NOT NULL - )"; - $sql[] = "ALTER TABLE " . GYM_CONFIG_TABLE . " ADD PRIMARY KEY (config_name)"; - $sql[] = "CREATE INDEX gym_config_type ON " . GYM_CONFIG_TABLE . "(config_type)"; - break; - case 'sqlite': - $sql[] = "CREATE TABLE " . GYM_CONFIG_TABLE . " ( - config_name varchar(255) DEFAULT '', - config_value varchar(255) DEFAULT '', - config_type varchar(10) DEFAULT 'gym', - PRIMARY KEY (config_name) - )"; - $sql[] = "CREATE INDEX gym_config_type ON " . GYM_CONFIG_TABLE . " (config_type)"; - break; - case 'postgres': - $sql[] = "CREATE TABLE " . GYM_CONFIG_TABLE . " ( - config_name varchar(255) DEFAULT '' NOT NULL, - config_value varchar(255) DEFAULT '' NOT NULL, - config_type varchar(10) DEFAULT 'gym' NOT NULL, - PRIMARY KEY (config_name) - )"; - $sql[] = "CREATE INDEX gym_config_type ON " . GYM_CONFIG_TABLE . " (config_type)"; - break; - case 'mssql': - case 'mssqlnative': - case 'mssql_odbc': - $sql[] = "CREATE TABLE [" . GYM_CONFIG_TABLE . "] ( - [config_name] [varchar] (255) DEFAULT ('') NOT NULL , - [config_value] [varchar] (255) DEFAULT ('') NOT NULL , - [config_type] [varchar] (10) DEFAULT ('') NOT NULL - ) ON [PRIMARY] "; - $sql[] = "ALTER TABLE [" . GYM_CONFIG_TABLE . "] WITH NOCHECK ADD - CONSTRAINT [PK_gym_config] PRIMARY KEY CLUSTERED - ( - [config_name] - ) ON [PRIMARY] "; - $sql[] = "CREATE INDEX [config_type] ON [" . GYM_CONFIG_TABLE . "]([config_type]) ON [PRIMARY] "; - break; - case 'mysql': - case 'mysql4': - case 'mysqli': - default: - $sqlt = "CREATE TABLE " . GYM_CONFIG_TABLE . " ( - config_name varchar(255) DEFAULT '' NOT NULL, - config_value varchar(255) DEFAULT '' NOT NULL, - config_type varchar(10) DEFAULT 'gym' NOT NULL, - PRIMARY KEY (config_name), - KEY config_type (config_type) - )"; - if ($db->sql_layer == 'mysqli' || version_compare($db->sql_server_info(true), '4.1.3', '>=')) { - $sqlt .= ' CHARACTER SET `utf8` COLLATE `utf8_bin`'; - } - $sql[] = $sqlt; - break; - } - foreach ($sql as $query ) { - $db->sql_query($query); - } - } else { - $sql = "DROP TABLE IF EXISTS " . GYM_CONFIG_TABLE; - $db->sql_query($sql); - } - } - /** - * check_module_id by title - */ - function check_module_id($title) { - global $user; - if ( $module_id = $this->get_module_id($title)) { - return $module_id; - } else { - $url_mod = !empty($this->sub) ? '?mode=' . $this->mode : ''; - $this->p_master->error(sprintf($user->lang['SEO_ERROR_ID'], $title ) . '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], '<a href="' . $this->p_master->module_url . $url_mod . '">', '</a>'), '', '', false, $user->lang['SEO_ERROR_INFO']); - } - } - /** - * get_module_id by title - */ - function get_module_id($title) { - global $db, $user, $phpEx; - $sql = 'SELECT module_id - FROM ' . MODULES_TABLE . " - WHERE module_langname = '" . $db->sql_escape($title) . "'"; - $result = $db->sql_query_limit($sql, 1); - $row = $db->sql_fetchrow($result); - if ($row['module_id'] > 1) { - return intval($row['module_id']); - } - return 0; - } - /** - * Sends an email to the board administrator with their password and some useful links - */ - function final_stage($mode, $sub) { - global $auth, $config, $db, $user, $template, $user, $phpbb_root_path, $phpEx, $phpbb_seo, $cache; - $update_info = ''; - if (!sizeof($this->errors) ) { - if ($mode != 'uninstall_gym_sitemaps') { - set_gym_config('gym_version', $this->version, 'main', $this->old_config); - $this->config_report[] = "SET <b>gym_version</b> to $this->version"; - set_config('gym_installed', 1); - } else { - set_config('gym_installed', 0); - } - add_log('admin', 'SEO_LOG_' . strtoupper($mode), $this->version ); - } else { - set_config('gym_installed', 0); - add_log('admin', 'SEO_LOG_' . strtoupper($mode) . '_FAIL', $this->errors); - $cache->purge(); - $this->p_master->error($user->lang['SEO_ERROR_INSTALL'] . '<br/><pre>' . implode('<br/>', $this->errors) . '</pre>', __LINE__, __FILE__); - } - $cache->purge(); - $this->page_title = $user->lang['STAGE_FINAL']; - if ( $mode != 'uninstall_gym_sitemaps' ) { - if ($mode == 'update_gym_sitemaps') { - $key = 'UPDATE'; - $lang_key = strpos($user->lang_name, 'fr') !== false ? 'FR' : ''; - if ($update_infos = @file("./docs/update_from_last$lang_key.txt")) { - foreach ($update_infos as $line) { - $line = str_replace(array("\r", "\n"), '', utf8_htmlspecialchars(is_utf8($line) ? $line : utf8_recode($line, 'iso-8859-1'))); - $update_info .= (preg_match('`^#`', $line) ? "<b style=\"color:blue;\">$line</b>" : $line) . '<br/>'; - } - } - } else { - $key = 'INSTALL'; - } - $submit_action = append_sid($phpbb_root_path . 'adm/index.' . $phpEx . '?sid=' . $user->session_id); - $title = $user->lang['SEO_INSTALL_CONGRATS']; - $body = sprintf($user->lang["SEO_{$key}_CONGRATS_EXPLAIN"], $this->modrtype_lang['link'], $this->version) . '<br/>' . implode('<br/>', $this->config_report) . "<br/><br/><hr/><pre>$update_info</pre>"; - } else { - $submit_action = append_sid($phpbb_root_path . 'index.' . $phpEx); - $title = $user->lang['UN_SEO_INSTALL_CONGRATS']; - $body = sprintf($user->lang['UN_SEO_INSTALL_CONGRATS_EXPLAIN'], $this->modrtype_lang['link'], $this->version); - } - $template->assign_vars(array( - 'TITLE' => $title, - 'BODY' => $body, - 'L_SUBMIT' => $user->lang['SEO_FINAL_' . strtoupper($mode)], - 'U_ACTION' => $submit_action, - )); - } - var $module_categories = array( - 'acp' => array( - 'ACP_CAT_PHPBB_SEO' => array( - 'ACP_GYM_SITEMAPS', - ), - ), - ); -} -/** -* is_utf8($string) -* Borrowed from php.net : http://www.php.net/mb_detect_encoding (detectUTF8) -*/ -function is_utf8($string) { - // non-overlong 2-byte|excluding overlongs|straight 3-byte|excluding surrogates|planes 1-3|planes 4-15|plane 16 - return preg_match('%(?:[\xC2-\xDF][\x80-\xBF]|\xE0[\xA0-\xBF][\x80-\xBF]|[\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}|\xED[\x80-\x9F][\x80-\xBF] |\xF0[\x90-\xBF][\x80-\xBF]{2}|[\xF1-\xF3][\x80-\xBF]{3}|\xF4[\x80-\x8F][\x80-\xBF]{2})+%xs', $string); -} -function set_phpbb_seo_links() { - global $user, $config; - $modinfo_lang = array(); - $modinfo_lang['title'] = $user->lang['CAT_SEO_PREMOD']; - $modinfo_lang['modlinks_en'] = 'http://www.phpbb-seo.com/en/gym-sitemaps-rss/google-yahoo-msn-sitemaps-rss-t2734.html'; - $modinfo_lang['modlinks_fr'] = 'http://www.phpbb-seo.com/fr/gym-sitemaps-rss/sitemaps-rss-google-yahoo-msn-t3136.html'; - $modinfo_lang['modforumlinks_en'] = 'http://www.phpbb-seo.com/en/gym-sitemaps-rss/'; - $modinfo_lang['modforumlinks_fr'] = 'http://www.phpbb-seo.com/fr/gym-sitemaps-rss/'; - if (strpos($config['default_lang'], 'fr') !== false ) { - $modinfo_lang['linkurl'] = $modinfo_lang['modlinks_fr']; - $modinfo_lang['link'] = '<a href="' . $modinfo_lang['modlinks_fr'] . '" title="' . $modinfo_lang['title'] . '" target="_phpBBSEO"><b>' . $modinfo_lang['title'] . '</b></a>'; - $modinfo_lang['forumlinkurl'] = $modinfo_lang['modforumlinks_fr']; - } else { - $modinfo_lang['linkurl'] = $modinfo_lang['modlinks_en']; - $modinfo_lang['link'] = '<a href="' . $modinfo_lang['modlinks_en'] . '" title="' . $modinfo_lang['title'] . '" target="_phpBBSEO"><b>' . $modinfo_lang['title'] . '</b></a>'; - $modinfo_lang['forumlinkurl'] = $modinfo_lang['modforumlinks_en']; - } - return $modinfo_lang; -} -/** -* Main Tab - Overview -*/ -class overview_gym_sitemaps extends module { - var $modrtype_lang = array(); - var $version = '(not set)'; - function overview_gym_sitemaps(&$p_master) { - $this->modrtype_lang = set_phpbb_seo_links(); - $this->p_master = &$p_master; - $this->version = GYM_VERSION; - } - function main($mode, $sub) { - global $lang, $template, $language, $user, $phpbb_seo; - switch ($sub) { - case 'intro' : - $title = $user->lang['SEO_OVERVIEW_TITLE']; - $body = sprintf($user->lang['SEO_OVERVIEW_BODY'], $this->version, @$this->modrtype_lang['linkurl'], @$this->modrtype_lang['forumlinkurl']); - break; - case 'license' : - $title = $user->lang['SEO_LICENCE_TITLE']; - $body = '<p>' . $user->lang['SEO_LICENCE_BODY'] . '</p><br/><hr/>' . implode("<br/>\n", file('./docs/COPYING')); - break; - case 'support' : - $title = $user->lang['SEO_SUPPORT_TITLE']; - $body = sprintf($user->lang['SEO_SUPPORT_BODY'],$this->modrtype_lang['forumlinkurl'], $this->modrtype_lang['title'], @$this->modrtype_lang['linkurl'] ); - break; - } - $this->tpl_name = 'install_main'; - $this->page_title = $title; - $template->assign_vars(array( - 'TITLE' => $title, - 'BODY' => $body, - - 'S_LANG_SELECT' => '', - )); - } -} -/** -* Quick fix for using the module class outside ACP. -*/ -function adm_back_link($u_action) { - global $user, $install; - $url_mod = !empty($install->sub) ? '?mode=' . $install->mode : ''; - return '<br /><br /><a href="' . $install->module_url . $url_mod . '">« ' . $user->lang['BACK_TO_PREV'] . '</a>'; -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/gym_style.php b/phpBB/gym_sitemaps/gym_style.php deleted file mode 100644 index 261661b8fc..0000000000 --- a/phpBB/gym_sitemaps/gym_style.php +++ /dev/null @@ -1,286 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_style.php 278 2010-11-25 15:28:16Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ - - -define('IN_PHPBB', true); -$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../'; -$phpEx = substr(strrchr(__FILE__, '.'), 1); -$gym_cache_path = $phpbb_root_path . 'gym_sitemaps/cache/'; - -// Report all errors, except notices and deprecation messages -if (!defined('E_DEPRECATED')) -{ - define('E_DEPRECATED', 8192); -} -error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED); - -if (version_compare(PHP_VERSION, '6.0.0-dev', '<')) { - @set_magic_quotes_runtime(0); -} -// Load Extensions -if (!empty($load_extensions) && function_exists('dl')) { - $load_extensions = explode(',', $load_extensions); - foreach ($load_extensions as $extension) { - @dl(trim($extension)); - } -} -// Option, strip the white spaces in the output, saves a bit of bandwidth. -$strip_spaces = true; -// Option, grabb phpBB stylesheet if using prosilver, will adapt the styling -$load_phpbb_css = false; -// Will automatically update the cache in case the original files are modified. -// Rss or google output -$action_expected = array('rss', 'google'); -// CSS or XSLT stylsheet -$type_expected = array('css', 'xsl'); - -// Language -$language = (isset($_GET['lang']) && !is_array($_GET['lang'])) ? htmlspecialchars(basename((string) $_GET['lang'])) : ''; -$action = isset($_GET['action']) && @in_array($_GET['action'], $action_expected) ? trim($_GET['action']) : ''; -$gym_style_type = isset($_GET['type']) && @in_array($_GET['type'], $type_expected) ? $_GET['type'] : ''; -$theme_id = isset($_GET['theme_id']) ? @intval($_GET['theme_id']) : ''; - -if (empty($language) && empty($action) && empty($gym_style_type) && empty($theme_id)) { - // grabb vars like this because browser are not aggreeing on how to handle & in xml. FF only accpet & where IE and opera only accept & - $qs = isset($_SERVER['QUERY_STRING']) ? trim($_SERVER['QUERY_STRING']) : ''; - if ($qs && preg_match('`action-(rss|google),type-(xsl),lang-([a-z_]+),theme_id-([0-9]+)`i', $qs, $matches )) { - $language = $matches[3]; - $action = in_array($matches[1], $action_expected) ? $matches[1] : ''; - $gym_style_type = in_array($matches[2], $type_expected) ? $matches[2] : ''; - $theme_id = intval($matches[4]); - } -} -$content_type = $gym_style_type == 'css' ? 'text/css' : 'text/xml'; -// Expire time of 15 days if not recached -$cache_ttl = 15*86400; -$recache = false; -$theme = false; -// Let's go -if (!empty($action) && !empty($gym_style_type) && !empty($language) && !empty($theme_id)) { - // detect ssl - $ssl_requested = (bool) ((isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] === 'on' || $_SERVER['HTTPS'] === true)) || (isset($_SERVER['SERVER_PORT']) && (int) $_SERVER['SERVER_PORT'] === 443)); - $ssl_bit = $ssl_requested ? 'ssl_' : ''; - // build cache file name - $cached_file = "{$gym_cache_path}style_{$action}_{$ssl_bit}{$language}_$theme_id.$gym_style_type"; - if (file_exists($cached_file)) { - $cached_time = filemtime($cached_file); - $expire_time = $cached_time + $cache_ttl; - $recache = $expire_time < time() ? true : /*(filemtime($style_file) > $cached_time ? true :*/ false/*)*/; - } else { - $recache = true; - $expire_time = time() + $cache_ttl; - } - if (!$recache) { - header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', $expire_time)); - header('Content-type: ' . $content_type . '; charset=UTF-8'); - readfile($cached_file); - // We are done with this call - exit; - } else { - // Include files - require($phpbb_root_path . 'config.' . $phpEx); - if (empty($acm_type) || empty($dbms)) { - exit; - } - require($phpbb_root_path . 'includes/acm/acm_' . $acm_type . '.' . $phpEx); - require($phpbb_root_path . 'includes/cache.' . $phpEx); - require($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx); - require($phpbb_root_path . 'includes/constants.' . $phpEx); - require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_common.' . $phpEx); - $db = new $sql_db(); - $cache = new cache(); - // Connect to DB - if (!@$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false)) { - exit; - } - unset($dbhost, $dbuser, $dbpasswd, $dbname, $dbport); - $config = $cache->obtain_config(); - $gym_config = array(); - obtain_gym_config($action, $gym_config); - // Do we load phpbb css ? - $load_phpbb_css = isset($gym_config[$action . '_load_phpbb_css']) ? $gym_config[$action . '_load_phpbb_css'] : $load_phpbb_css; - - // Check if requested style does exists - if ($theme_id > 0) { - $sql = 'SELECT s.style_id, c.theme_path, c.theme_name, t.template_path - FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c - WHERE s.style_id = ' . $theme_id . ' - AND t.template_id = s.template_id - AND c.theme_id = s.theme_id'; - $result = $db->sql_query($sql, 300); - $theme = $db->sql_fetchrow($result); - $db->sql_freeresult($result); - } - // Grabb the default one data instead - if (!$theme) { - // grabb the first available one - $theme_id = (int) $config['default_style']; - $sql = 'SELECT s.style_id, c.theme_path, c.theme_name, t.template_path - FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c - WHERE s.style_id = ' . $theme_id . ' - AND t.template_id = s.template_id - AND c.theme_id = s.theme_id'; - $result = $db->sql_query($sql, 300); - $theme = $db->sql_fetchrow($result); - $db->sql_freeresult($result); - } - $db->sql_close(); - if (!empty($cache)) { - $cache->unload(); - } - // Determine style file name - $tpath = $gym_style_type == 'xsl' ? $theme['template_path'] . '/template/gym_sitemaps' : $theme['theme_path'] . '/theme'; - $style_file = $phpbb_root_path . "styles/$tpath/gym_{$action}.$gym_style_type"; - if (!file_exists($style_file)) { - // Degrade to default styling - $style_file = $phpbb_root_path . "gym_sitemaps/style/gym_{$action}.$gym_style_type"; - $load_phpbb_css = false; - } - // Load the language file - if (file_exists($phpbb_root_path . 'language/' . $language . '/gym_sitemaps/gym_common.' . $phpEx)) { - require($phpbb_root_path . 'language/' . $language . '/gym_sitemaps/gym_common.' . $phpEx); - require($phpbb_root_path . 'language/' . $language . '/common.' . $phpEx); - } else { // Try with the default language - $language = $config['default_lang']; - require($phpbb_root_path . 'language/' . $language . '/gym_sitemaps/gym_common.' . $phpEx); - require($phpbb_root_path . 'language/' . $language . '/common.' . $phpEx); - } - // Do not recache if up to date, recompile only if the source stylesheet was updated - $cached_file = "{$gym_cache_path}style_{$action}_{$ssl_bit}{$language}_$theme_id.$gym_style_type"; - if (file_exists($cached_file)) { - $cached_time = filemtime($cached_file); - $expire_time = $cached_time + $cache_ttl; - $recache = $expire_time < time() ? true : (@filemtime($style_file) > $cached_time ? true : false); - } else { - $recache = true; - $expire_time = time() + $cache_ttl; - } - if (!$recache) { - header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', $expire_time)); - header('Content-type: ' . $content_type . '; charset=UTF-8'); - readfile($cached_file); - exit; - } - // No available style - if (!$theme) { - exit; - } - - - // Path Settings - $ssl_forced = (bool) (($config['server_protocol'] === 'https//')); - $ssl_use = (bool) ($ssl_requested || $ssl_forced); - $server_protocol = $ssl_use ? 'https://' : 'http://'; - $server_name = trim($config['server_name'], '/ '); - $server_port = max(0, (int) $config['server_port']); - $server_port = ($server_port && $server_port <> 80) ? ':' . $server_port . '/' : '/'; - $script_path = trim($config['script_path'], '/ '); - $script_path = (empty($script_path) ) ? '' : $script_path . '/'; - $root_url = strtolower($server_protocol . $server_name . $server_port); - // First grabb the online style - $phpbb_url = $root_url . $script_path; - // Parse Theme Data - $replace = array( - '{T_IMAGE_PATH}' => "{$phpbb_url}gym_sitemaps/images/", - '{T_STYLE_PATH}' => "{$phpbb_url}gym_sitemaps/style/", - '{S_CONTENT_DIRECTION}' => $lang['DIRECTION'], - '{S_USER_LANG}' => $language - ); - if ($gym_style_type == 'xsl') { - $replace = array_merge($replace, array( - '{T_CSS_PATH}' => "{$phpbb_url}gym_sitemaps/gym_style.$phpEx?action=$action&type=css&lang={$language}&theme_id={$theme_id}", - '{L_HOME}' => $lang['GYM_HOME'], - '{L_FORUM_INDEX}' => $lang['GYM_FORUM_INDEX'], - '{L_LINK}' => $lang['GYM_LINK'], - '{L_LASTMOD_DATE}' => $lang['GYM_LASTMOD_DATE'], - '{ROOT_URL}' => $root_url, - '{HTTP_PROTO_REQUEST}' => $server_protocol, - '{PHPBB_URL}' => $phpbb_url, - // Do not remove ! - '{L_COPY}' => '<a href="http://www.phpbb-seo.com/" title="GYM Sitemaps & RSS © 2006, ' . date('Y') . ' phpBB SEO" class="copyright"><img src="' . $phpbb_url . 'gym_sitemaps/images/phpbb-seo.png" alt="' . $lang['GYM_SEO'] . '"/></a>', - '{L_SEARCH_ADV_EXPLAIN}' => $lang['SEARCH_ADV_EXPLAIN'], - '{L_CHANGE_FONT_SIZE}' => $lang['CHANGE_FONT_SIZE'], - '{L_SEARCH_ADV}' => $lang['SEARCH_ADV'], - '{L_SEARCH}' => $lang['SEARCH'], - '{L_BACK_TO_TOP}' => $lang['BACK_TO_TOP'], - '{L_FAQ}' => $lang['FAQ'], - '{L_FAQ_EXPLAIN}' => $lang['FAQ_EXPLAIN'], - '{L_REGISTER}' => $lang['REGISTER'], - '{L_SKIP}' => $lang['SKIP'], - '{L_BOOKMARK_THIS}' => $lang['GYM_BOOKMARK_THIS'], - '{SITENAME}' => htmlspecialchars($config['sitename']), - '{SITE_DESCRIPTION}' => $config['site_desc'], - - )); - if ($action == 'google') { - $replace = array_merge($replace, array( - '{L_SITEMAP}' => $lang['GOOGLE_SITEMAP'], - '{L_SITEMAP_OF}' => $lang['GOOGLE_SITEMAP_OF'], - '{L_SITEMAPINDEX}' => $lang['GOOGLE_SITEMAPINDEX'], - '{L_NUMBER_OF_SITEMAP}' => $lang['GOOGLE_NUMBER_OF_SITEMAP'], - '{L_SITEMAP_URL}' => $lang['GOOGLE_SITEMAP_URL'], - '{L_NUMBER_OF_URL}' => $lang['GOOGLE_NUMBER_OF_URL'], - '{L_CHANGEFREQ}' => $lang['GOOGLE_CHANGEFREQ'], - '{L_PRIORITY}' => $lang['GOOGLE_PRIORITY'], - )); - } elseif ($action == 'rss') { - $replace = array_merge($replace, array( - '{L_UPDATE}' => $lang['RSS_UPDATE'], - '{L_LAST_UPDATE}' => $lang['RSS_LAST_UPDATE'], - '{L_MINUTES}' => $lang['GYM_MINUTES'], - '{L_SOURCE}' => $lang['GYM_SOURCE'], - '{L_SUBSCRIBE_POD}' => $lang['RSS_SUBSCRIBE_POD'], - '{L_SUBSCRIBE}' => $lang['RSS_SUBSCRIBE'], - '{L_2_LINK}' => $lang['RSS_2_LINK'], - '{L_FEED}' => $lang['RSS_FEED'], - '{L_ITEM_LISTED}' => $lang['RSS_ITEM_LISTED'], - '{L_ITEMS_LISTED}' => $lang['RSS_ITEMS_LISTED'], - '{L_RSS_VALID}' => $lang['RSS_VALID'], - )); - } - } - // Load the required stylsheet template - if ( $load_phpbb_css && $gym_style_type == 'css' ) { - @ini_set('user_agent','GYM Sitemaps & RSS / www.phpBB-SEO.com'); - @ini_set('default_socket_timeout', 10); - $phpbb_css = @file_get_contents("{$phpbb_url}style.php?id={$theme_id}&lang={$language}"); - if ($phpbb_css) { - $output = str_replace('./styles/', "{$phpbb_url}styles/", $phpbb_css); - } else { - $style_tpl = @file_get_contents($style_file); - $output = str_replace(array_keys($replace), array_values($replace), $style_tpl); - } - unset($phpbb_css); - } else { - $style_tpl = @file_get_contents($style_file); - $output = str_replace(array_keys($replace), array_map('numeric_entify_utf8', array_values($replace)), $style_tpl); - } - if ($strip_spaces) { - if ($gym_style_type === 'xsl') { - $output = preg_replace(array('`<\!--.*-->`Us', '`[\s]+`'), ' ', $output); - } else { - $output = preg_replace(array('`/\*.*\*/`Us', '`[\s]+`'), ' ', $output); - } - } - $handle = @fopen($cached_file, 'wb'); - @flock($handle, LOCK_EX); - @fwrite($handle, $output); - @flock($handle, LOCK_UN); - @fclose ($handle); - @chmod($cached_file, 0666); - - header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', $expire_time)); - header('Content-type: ' . $content_type . '; charset=UTF-8'); - echo $output; - exit; - } -} -exit; -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/includes/.htaccess b/phpBB/gym_sitemaps/includes/.htaccess deleted file mode 100644 index 6511d09c92..0000000000 --- a/phpBB/gym_sitemaps/includes/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -<Limit GET POST PUT DELETE> -Order Allow,Deny -Deny from All -</Limit> diff --git a/phpBB/gym_sitemaps/includes/gym_common.php b/phpBB/gym_sitemaps/includes/gym_common.php deleted file mode 100644 index 0c6cda42a1..0000000000 --- a/phpBB/gym_sitemaps/includes/gym_common.php +++ /dev/null @@ -1,367 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_common.php 264 2010-06-02 07:13:08Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -global $table_prefix; -// Table -define('GYM_CONFIG_TABLE', $table_prefix . 'gym_config'); -// Overrides (must be numbers, and OVERRIDE_GLOBAL > OVERRIDE_OTYPE > OVERRIDE_MODULE > 0) -define('OVERRIDE_GLOBAL', 3); -define('OVERRIDE_OTYPE', 2); -define('OVERRIDE_MODULE', 1); - -// Some set up -$_action_types = array('google' => 'google', 'rss' => 'rss', 'html' => 'html', /*'yahoo' => 'yahoo'*/); -if (defined('ADMIN_START') || defined('IN_INSTALL')) { - $_action_types['main'] = 'main'; -} -$_override_types = array('cache', 'gzip', 'modrewrite', 'limit', 'pagination', 'sort'); - -/** -* obtain_gym_config ($mode, &$cfg_array). -* Get the required config datas -*/ -function obtain_gym_config($mode, &$cfg_array) { - global $db, $cache; - $sql_config = ''; - $cache_file = '_gym_config'; - $mode = empty($mode) ? 'main' : $mode; - if ($mode != 'main') { - $sql_config = "WHERE config_type = 'main' OR config_type = '" . $db->sql_escape($mode). "'"; - $cache_file .= '_' . $mode; - } else { - $cache_file .= '_main'; - } - if (($cfg_array = $cache->get($cache_file)) === false) { - $cfg_array = array(); - $sql = "SELECT * - FROM " . GYM_CONFIG_TABLE . " - $sql_config"; - $db->sql_return_on_error(true); - $result = $db->sql_query($sql); - $db->sql_return_on_error(false); - while ($row = $db->sql_fetchrow($result)) { - $cfg_array[$row['config_name']] = $row['config_value']; - } - $db->sql_freeresult($result); - $cache->put($cache_file, $cfg_array); - } - return; -} -/** -* set_gym_config($config_name, $config_value, $mode, &$cfg_array) -* Set gym_config value. Creates missing config entry if needed. -*/ -function set_gym_config($config_name, $config_value, $mode, &$cfg_array) { - global $db, $_action_types; - if (!in_array($mode, $_action_types) ) { - trigger_error('GYM_ERROR_MODULE_TYPE', E_USER_ERROR); - } - $sql = 'UPDATE ' . GYM_CONFIG_TABLE . " - SET config_value = '" . $db->sql_escape($config_value) . "' - WHERE config_name = '" . $db->sql_escape($config_name) . "'"; - $db->sql_query($sql); - if (!$db->sql_affectedrows() && !isset($cfg_array[$config_name])) { - $sql = 'INSERT INTO ' . GYM_CONFIG_TABLE . ' '; - $sql .= $db->sql_build_array('INSERT', array( - 'config_name' => (string) $config_name, - 'config_value' => (string) $config_value, - 'config_type' => (string) $mode, - ) - ); - $db->sql_query($sql); - } - $cfg_array[$config_name] = $config_value; - return; -} -/** -* rem_gym_config($config_name, &$cfg_array) -* Delete rem_gym_config value. -*/ -function rem_gym_config($config_name, &$cfg_array) { - global $db; - $sql = 'DELETE FROM ' . GYM_CONFIG_TABLE . " - WHERE config_name = '" . $db->sql_escape($config_name) . "'"; - $db->sql_query($sql); - unset($cfg_array[$config_name]); - return; -} -/** -* obtain_gym_links(). -* Builds the rss and sitemaps links -*/ -function obtain_gym_links($gym_links = array()) { - global $phpbb_root_path, $template, $cache, $config, $phpEx, $user, $phpbb_seo, $auth; - if (empty($config['gym_installed'])) { - return; - } - $_phpbb_seo = !empty($phpbb_seo); - $board_url = $_phpbb_seo ? $phpbb_seo->seo_path['phpbb_url'] : generate_board_url() . '/'; - $gym_config = array(); - $ssl_bit = $phpbb_seo->ssl['use'] ? 'ssl_' : ''; - $cache_file = '_gym_links_' . $ssl_bit . $user->data['user_lang']; - $gym_link_tpl = '<a href="%1$s" title="%3$s" class="gym"><img src="' . $board_url . 'gym_sitemaps/images/%2$s" alt="%3$s" width="14", height="14"/> %4$s</a> '; - if (($links = $cache->get($cache_file)) === false) { - obtain_gym_config('main', $gym_config); - $user->add_lang('gym_sitemaps/gym_common'); - if (!defined('GYM_RSS_FUNC_INC')) { - require($phpbb_root_path . 'gym_sitemaps/includes/gym_rss_functions.' . $phpEx); - } - $links = get_gym_links($gym_config); - $cache->put($cache_file, $links); - } - // In case one would want to manually fil the array in some file, like viewforum - // Would be passed here from page_header() where $gym_links is global - if (!empty($gym_links['main'])) { - $links = array_merge($links['main'], $gym_links['main']); - } - // A bit dirty but lazy way to add forum maps and news pages everywhere ;-) - $html_setup = & $links['setup']['html']; - $rss_setup = & $links['setup']['rss']; - $google_setup = & $links['setup']['google']; - if (!empty($html_setup['forum_allow_cat_news']) || !empty($html_setup['forum_allow_cat_map']) || !empty($rss_setup['forum_rss']) || !empty($google_setup['forum_google'])) { - $_f_sep = $_phpbb_seo ? $phpbb_seo->seo_delim['forum'] : ''; - $display_main_index = !empty($links['setup']['main']['link_index']); - if ($display_main_index && !empty($template->_tpldata['forumrow'])) { - foreach ($template->_tpldata['forumrow'] as $k => $v) { - $num_topics = !empty($v['TOPICS']) ? max(0, (int) $v['TOPICS']) : 0; - if ($num_topics && empty($v['S_IS_LINK']) && empty($v['S_IS_CAT'])) { - $link = ''; - $forum_id = (int) $v['FORUM_ID']; - $forum_name = $v['FORUM_NAME']; - if (!empty($html_setup['link_index']) && (isset($html_setup['auth_guest'][$forum_id]) || (!empty($html_setup['forum_allow_auth']) && !isset($html_setup['forum_exclude'][$forum_id])))) { - if ($html_setup['forum_allow_cat_news']) { - $url = sprintf($html_setup['forum_cat_news'], $_phpbb_seo ? $phpbb_seo->seo_url['forum'][$forum_id] : '', $forum_id ); - $link .= sprintf($gym_link_tpl, $url, 'html_news.gif', sprintf($html_setup['l_html_news_of'], $forum_name), $html_setup['l_html_news']); - } - if ($html_setup['forum_allow_cat_map']) { - $url = sprintf($html_setup['forum_cat_map'], $_phpbb_seo ? $phpbb_seo->seo_url['forum'][$forum_id] : '', $forum_id ); - $link .= ' ' . sprintf($gym_link_tpl, $url, 'maps-icon.gif', sprintf($html_setup['l_html_map_of'], $forum_name), $html_setup['l_html_map']); - } - } - if (!empty($rss_setup['link_index']) && (isset($rss_setup['auth_guest'][$forum_id]) || ($rss_setup['forum_allow_auth'] && !isset($rss_setup['forum_exclude'][$forum_id])))) { - $url = sprintf($rss_setup['forum_cat_rss'], $_phpbb_seo ? $phpbb_seo->seo_url['forum'][$forum_id] : '', $forum_id ); - $link .= ' ' . sprintf($gym_link_tpl, $url, 'feed-icon.png', sprintf($rss_setup['l_rss_feed_of'], $forum_name), $rss_setup['l_rss_feed']); - } - if (!empty($google_setup['link_index']) && isset($google_setup['auth_guest'][$forum_id]) && ($num_topics >= $google_setup['threshold'])) { - $url = sprintf($google_setup['forum_cat_google'], $_phpbb_seo ? str_replace($_f_sep . $forum_id, '', $phpbb_seo->seo_url['forum'][$forum_id]) . $_f_sep . $forum_id : '', $forum_id ); - $link .= ' ' . sprintf($gym_link_tpl, $url, 'sitemap-icon.gif', sprintf($google_setup['l_google_sitemap_of'], $forum_name), $google_setup['l_google_sitemap']); - } - if ($link) { - $template->_tpldata['forumrow'][$k]['FORUM_DESC'] .= "<br/>$link"; - } - } - } - } - $display_main_cat = !empty($links['setup']['main']['link_cat']); - if ($display_main_cat && !empty($template->_rootref['FORUM_NAME']) && !empty($template->_rootref['FORUM_ID'])) { - $forum_id = (int) $template->_rootref['FORUM_ID']; - $forum_name = $template->_rootref['FORUM_NAME']; - $do_display = false; - if (!empty($template->_tpldata['navlinks'])) { - $forum_data = $template->_tpldata['navlinks'][count($template->_tpldata['navlinks']) - 1]; - } - if (!empty($forum_data) ) { - if ($_phpbb_seo && empty($phpbb_seo->seo_url['forum'][$forum_id])) { - $phpbb_seo->seo_url['forum'][$forum_id] = $phpbb_seo->set_url($forum_name, $forum_id, 'forum'); - } - if (!empty($html_setup['link_cat']) && (isset($html_setup['auth_guest'][$forum_id]) || (!empty($html_setup['forum_allow_auth']) && !isset($html_setup['forum_exclude'][$forum_id]))) ) { - if ($html_setup['forum_allow_cat_news']) { - $url = sprintf($html_setup['forum_cat_news'], $_phpbb_seo ? $phpbb_seo->seo_url['forum'][$forum_id] : '', $forum_id); - $title = sprintf($html_setup['l_html_news_of'], $forum_name); - $links['main']['GYM_HTML_FORUM_NEWS_LINK'] = sprintf($gym_link_tpl, $url, 'html_news.gif', $title, $html_setup['l_html_news']); - $do_display = true; - } - if ($html_setup['forum_allow_cat_map']) { - $url = sprintf($html_setup['forum_cat_map'], $_phpbb_seo ? $phpbb_seo->seo_url['forum'][$forum_id] : '', $forum_id ); - $title = sprintf($html_setup['l_html_map_of'], $forum_name); - $links['main']['GYM_HTML_FORUM_MAP_LINK'] = sprintf($gym_link_tpl, $url, 'maps-icon.gif', $title, $html_setup['l_html_map']); - $do_display = true; - } - } - } - if (!empty($forum_data['S_IS_POST'])) { - if (!empty($rss_setup['link_cat']) && (isset($rss_setup['auth_guest'][$forum_id]) || ($rss_setup['forum_allow_auth'] && !isset($rss_setup['forum_exclude'][$forum_id])) )) { - $url = sprintf($rss_setup['forum_cat_rss'], $_phpbb_seo ? $phpbb_seo->seo_url['forum'][$forum_id] : '', $forum_id ); - $title = sprintf($rss_setup['l_rss_feed_of'], $forum_name); - $links['main']['GYM_RSS_FORUM_LINK'] = sprintf($gym_link_tpl, $url, 'feed-icon.png', $title, $rss_setup['l_rss_feed']); - if (!empty($links['setup']['rss']['display_forum_alternate'])) { - $links['alternate'][] = array( - 'TITLE' => $title, - 'URL' => $url - ); - } - $do_display = true; - } - if (!empty($google_setup['link_cat']) && isset($google_setup['auth_guest'][$forum_id])) { - $url = sprintf($google_setup['forum_cat_google'], $_phpbb_seo ? str_replace($_f_sep . $forum_id, '', $phpbb_seo->seo_url['forum'][$forum_id]) . $_f_sep . $forum_id : '', $forum_id ); - $title = sprintf($google_setup['l_google_sitemap_of'], $forum_name); - $links['main']['GYM_GOOGLE_FORUM_LINK'] = sprintf($gym_link_tpl, $url, 'sitemap-icon.gif', $title, $google_setup['l_google_sitemap']); - $do_display = true; - } - } - $links['main']['GYM_LINKS_CAT'] = $do_display; - } - } - if (!empty($links['main'])) { - $template->assign_vars($links['main']); - } - if (!empty($links['alternate'])) { - foreach ($links['alternate'] as $alternate) { - $template->assign_block_vars('gym_rsslinks', $alternate); - } - } - return $links['setup']; -} -/** -* display_feed($params, $tpl_prefix = '') -* $params : array of params or string feed URL for defaults -* tpl_prefix is for using different link blocks on one page -* Use display_feed('http://www.example.com/rss/rss.xml') to use default settings. -* */ -function display_feed($params, $tpl_prefix = '') { - global $cache, $user, $config, $template, $phpbb_root_path, $phpEx; - if (is_string($params)) { - $params = array('url' => $params); - } - $_params = array( - 'url' => trim(str_replace('&', '&', $params['url'])), - 'slide' => !empty($params['slide']), - 'speed' => !empty($params['speed']) ? max((int) $params['speed'], 1) : 30, - 'ttl' => !empty($params['ttl']) ? max((int) $params['ttl'], 0) : 3600, - 'limit' => !empty($params['limit']) ? max((int) $params['limit'], 1) : 5, - 'desc' => !empty($params['desc']), - 'html' => !empty($params['html']), - 'striptags' => !empty($params['striptags']), - ); - if (empty($_params['url'])) { - return false; - } - $cache_file = '_gym_links_' . md5($user->data['user_lang'] . $_params['url']); - if (($feed_data = $cache->get($cache_file)) === false) { - if (!defined('GYM_RSS_FUNC_INC')) { - require($phpbb_root_path . 'gym_sitemaps/includes/gym_rss_functions.' . $phpEx); - } - $feed_data = get_feed_data($_params); - $cache->put($cache_file, $feed_data, $_params['ttl']); - } - if (!empty($feed_data['items'])) { - $template->assign_vars(array($tpl_prefix . 'GYM_RSS_AGREGATED' => true, - $tpl_prefix . 'GYM_CHAN_TITLE' => $feed_data['setup']['chantitle'], - $tpl_prefix . 'GYM_CHAN_LINK' => $feed_data['setup']['chanlink'], - $tpl_prefix . 'GYM_CHAN_SOURCE' => $_params['url'], - $tpl_prefix . 'GYM_RSS_AUTHOR' => false, - $tpl_prefix . 'GYM_RSS_DATE' => $feed_data['setup']['date'], - $tpl_prefix . 'GYM_RSS_DESC' => $_params['desc'], - $tpl_prefix . 'GYM_RSS_SLIDE' => $_params['slide'], - $tpl_prefix . 'GYM_RSS_SLIDE_SP' => 'height:' . ($_params['desc'] ? $_params['limit']*45: $_params['limit']*20) . 'px;', - $tpl_prefix . 'GYM_RSS_SLIDE_SP_JS' => $_params['desc'] ? $_params['limit']*45 : $_params['limit']*20, - $tpl_prefix . 'GYM_RSS_SLIDE_EP' => $_params['desc'] ? (int) ($_params['limit']*$feed_data['setup']['desclen']/(count($feed_data['items'])*2.67)) : $_params['limit']*45, - $tpl_prefix . 'GYM_RSS_CSSID' => $tpl_prefix . 'gnews', - $tpl_prefix . 'GYM_RSS_SCRSPEED' => $_params['speed'], - )); - $i = 1; - foreach ($feed_data['items'] as $item) { - if ($i > $_params['limit']) { - break; - } - $template->assign_block_vars(strtolower($tpl_prefix) . 'gym_link_list', $item); - $i++; - } - unset($feed_data); - return true; - } - return false; -} -/** -* get_override($mode, $key, $gym_config) -* -*/ -function get_override($mode, $key, $gym_config) { - return $gym_config['gym_override_' . $key] != OVERRIDE_GLOBAL ? ($gym_config[$mode . '_override_' . $key] != OVERRIDE_GLOBAL ? $gym_config[$mode . '_override_' . $key] : $gym_config['gym_override_' . $key] ) : OVERRIDE_GLOBAL; -} -/** -* get_gym_option($mode, $type, $gym_config) -* Same effect as gym_sitemaps::set_module_option() but with all params and usable outisde the class -*/ -function get_gym_option($mode, $module, $key, $override, &$gym_config) { - return ($override == OVERRIDE_MODULE && @isset($gym_config[$mode . '_' . $module . '_' . $key])) ? $gym_config[$mode . '_' . $module . '_' . $key] : ( ($override != OVERRIDE_GLOBAL && @isset($gym_config[$mode . '_' . $key])) ? $gym_config[$mode . '_' . $key] : ( isset($gym_config['gym_' . $key]) ? $gym_config['gym_' . $key] : ( @isset($gym_config[$mode . '_' . $key]) ? $gym_config[$mode . '_' . $key] : ( @isset($gym_config[$mode . '_' . $module . '_' . $key]) ? $gym_config[$mode . '_' . $module . '_' . $key] : null ) ) ) ); -} -/** -* get_date_from_header($response_header_array) -*/ -function get_date_from_header($response_header_array) { - if (is_array($response_header_array)) { - foreach ($response_header_array as $header_line) { - if (preg_match('`Date:(.+)`i', $header_line, $match)) { - return (int) strtotime(trim($match[1])); - } - } - } - return 0; -} -/** -* numeric_entify_utf8() -* borrowed from php.net : http://www.php.net/utf8_decode -*/ -function numeric_entify_utf8($utf8_string) { - $out = ""; - $ns = strlen ($utf8_string); - for ($nn = 0; $nn < $ns; $nn ++) { - $ch = $utf8_string[$nn]; - $ii = ord ($ch); - if ($ii < 128) { //1 7 0bbbbbbb (127) - $out .= $ch; - } elseif ($ii >> 5 == 6) { //2 11 110bbbbb 10bbbbbb (2047) - $b1 = ($ii & 31); - $nn ++; - $ch = $utf8_string[$nn]; - $ii = ord ($ch); - $b2 = ($ii & 63); - $ii = ($b1 * 64) + $b2; - $ent = sprintf ("&#%d;", $ii); - $out .= $ent; - } elseif ($ii >> 4 == 14) { //3 16 1110bbbb 10bbbbbb 10bbbbbb - $b1 = ($ii & 31); - $nn ++; - $ch = $utf8_string[$nn]; - $ii = ord ($ch); - $b2 = ($ii & 63); - $nn ++; - $ch = $utf8_string[$nn]; - $ii = ord ($ch); - $b3 = ($ii & 63); - $ii = ((($b1 * 64) + $b2) * 64) + $b3; - $ent = sprintf ("&#%d;", $ii); - $out .= $ent; - } elseif ($ii >> 3 == 30) { //4 21 11110bbb 10bbbbbb 10bbbbbb 10bbbbbb - $b1 = ($ii & 31); - $nn ++; - $ch = $utf8_string[$nn]; - $ii = ord ($ch); - $b2 = ($ii & 63); - $nn ++; - $ch = $utf8_string[$nn]; - $ii = ord ($ch); - $b3 = ($ii & 63); - $nn ++; - $ch = $utf8_string[$nn]; - $ii = ord ($ch); - $b4 = ($ii & 63); - $ii = ((((($b1 * 64) + $b2) * 64) + $b3) * 64) + $b4; - $ent = sprintf ("&#%d;", $ii); - $out .= $ent; - } - } - return $out; -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/includes/gym_common_admin.php b/phpBB/gym_sitemaps/includes/gym_common_admin.php deleted file mode 100644 index 71996db438..0000000000 --- a/phpBB/gym_sitemaps/includes/gym_common_admin.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_common_admin.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} - -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/includes/gym_google.php b/phpBB/gym_sitemaps/includes/gym_google.php deleted file mode 100644 index 3aea9134a2..0000000000 --- a/phpBB/gym_sitemaps/includes/gym_google.php +++ /dev/null @@ -1,302 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_google.php 272 2010-11-21 13:56:31Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_sitemaps.' . $phpEx); -/** -* gym_google Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class gym_google extends gym_sitemaps { - var $google_config = array(); - // changefreq values, set to null to deactivate a value - var $freq_values = array('always' => 1, 'hourly' => 1, 'daily' => 1, 'weekly' => 1, 'monthly' => 1, 'yearly' => 1, 'never' => 1); - /** - * constuctor - */ - function gym_google() { - global $phpbb_seo, $phpEx, $config; - global $db, $auth, $user; - $this->gym_sitemaps('google'); - // init output - $this->output_data['showstats'] = $this->gym_config['gym_showstats'] && $this->gym_config['google_showstats']; - // Check the main vars - $this->init_get_vars(); - if (empty($this->actions['action_modules'])) { - $this->gym_error(404, '', __FILE__, __LINE__); - } - // Set last mod time from DB, will only be used as his for sitempaindex - // put it into phpbb config for the dynamic property. - $config_name = $this->actions['action_type'] . '_' . (!empty($this->actions['module_main']) ? $this->actions['module_main'] . '_' : '') . 'last_mod_time'; - if (@$config[$config_name] < $config['board_startdate']) { - set_config($config_name, $this->output_data['time'], 1); - } - $this->output_data['last_mod_time'] = intval($config[$config_name]); - // Init the output class - $this->gym_init_output(); - // Setup the output - $this->cache_config = array_merge( - // Global - $this->cache_config, - // Other stuff required here - array( - 'cache_enable' => (boolean) $this->set_module_option('cache_on', $this->override['cache']), - 'cache_auto_regen' => (boolean) $this->set_module_option('cache_auto_regen', $this->override['cache']), - 'cache_force_gzip' => (boolean) $this->set_module_option('cache_force_gzip', $this->override['cache']), - 'cache_born' => $this->output_data['last_mod_time'], - 'cache_max_age' => round($this->set_module_option('cache_max_age', $this->override['cache']),2) * 3600, - 'cache_file_ext' => ( $this->gym_output->gzip_config['gzip'] || $this->set_module_option('cache_force_gzip', $this->override['cache']) ) ? '.xml.gz' : '.xml', - ) - ); - // Can you believe it, sprintf is faster than straight parsing. - $this->style_config = array('Sitemap_tpl' => "\n\t" . '<url>' . "\n\t\t" . '<loc>%1$s</loc>%2$s%3$s%4$s' . "\n\t" . '</url>', - 'SitmIndex_tpl' => "\n\t" . '<sitemap>' . "\n\t\t" . '<loc>%s</loc>%s' . "\n\t" . '</sitemap>', - 'lastmod_tpl' => "\n\t\t" . '<lastmod>%s</lastmod>', - 'changefreq_tpl' => "\n\t\t" . '<changefreq>%s</changefreq>', - 'priority_tpl' => "\n\t\t" . '<priority>%.1f</priority>', - 'xslt_style' => '', - 'stats_genlist' => "\n" . '<!-- URL list generated in %s s %s - %s sql - %s URLs listed -->', - 'stats_start' => "\n" . '<!-- Output started from cache after %s s - %s sql -->', - 'stats_nocache' => "\n" . '<!-- Output ended after %s s %s -->', - 'stats_end' => "\n" . '<!-- Output from cache ended up after %s s - %s sql -->', - ); - $this->google_config = array( - 'google_default_priority' => $this->set_module_option('default_priority', $this->gym_config['google_override']), - // in sitemaps we only want to issue https urls if ssl is actually forced - // otherwise, http links are considered as canonical - // If ssl is not forced, then the links in sitemaps won't be https, but - // the xsl transform template will show https urls upon request. - 'google_url' => $phpbb_seo->sslify($this->gym_config['google_url'], $phpbb_seo->ssl['forced']), - // module specific settings we should often need in module - 'google_modrewrite' => (int) $this->set_module_option('modrewrite', $this->override['modrewrite']), - 'google_modrtype' => (int) $this->set_module_option('modrtype', $this->override['modrewrite']), - 'google_pagination' => $this->set_module_option('pagination', $this->override['pagination']), - 'google_limitdown' => (int) $this->set_module_option('limitdown', $this->override['pagination']), - 'google_limitup'=> (int) $this->set_module_option('limitup', $this->override['pagination']), - 'google_sql_limit' => (int) $this->set_module_option('sql_limit', $this->override['limit']), - 'google_url_limit' => (int) $this->set_module_option('url_limit', $this->override['limit']), - 'google_sort' => ($this->set_module_option('sort', $this->override['sort']) === 'DESC') ? 'DESC' : 'ASC', - 'google_ping' => $this->set_module_option('ping', $this->gym_config['google_override']), - // display threshold - 'google_threshold' => max(1, (int) $this->gym_config['google_threshold']), - 'google_allow_auth' => (int) $this->set_module_option('allow_auth', $this->gym_config['google_override']), - 'google_cache_auth' => (int) $this->set_module_option('cache_auth', $this->gym_config['google_override']), - ); - // SSL - // in sitemaps we only want to issue https urls if ssl is actually forced - // otherwise, http links are considered as canonical - foreach ($phpbb_seo->seo_path as $k => $v) { - $phpbb_seo->seo_path[$k] = $phpbb_seo->sslify($v, $phpbb_seo->ssl['forced']); - } - $this->google_config['google_auth_guest'] = ($this->google_config['google_allow_auth'] && ($user->data['is_bot'] || $user->data['is_registered'])) ? false : true; - $this->cache_config['do_cache'] = $this->google_config['google_auth_guest'] ? true : $this->google_config['google_cache_auth']; - if ($this->gym_config['google_xslt']) { - $this->style_config['xslt_style'] = "\n" . '<?xml-stylesheet type="text/xsl" href="' . $phpbb_seo->sslify($phpbb_seo->seo_path['phpbb_url'], $phpbb_seo->ssl['use']) . 'gym_sitemaps/gym_style.' . $phpEx . '?action-google,type-xsl,lang-' . $config['default_lang'] . ',theme_id-' . $config['default_style'] . '" ?'.'>'; - } - // Take care about module categorie urls, assuming that they are of the proper form - // title-sepXX.xml - // assuming that phpbb_seo seo_delim array is properly set. - if (empty($this->actions['module_main']) && empty($this->actions['module_sub']) && !empty($_REQUEST['module_sep']) && !empty($_REQUEST['module_sub'])) { - if ($module = @array_search('-' . $_REQUEST['module_sep'], $phpbb_seo->seo_delim)) { - $this->actions['module_main'] = $module; - $this->actions['module_sub'] = (int) $_REQUEST['module_sub']; - } - } - // Are we going to explain ? - $do_explain = false; - if (!empty($_REQUEST['explain']) && $auth->acl_get('a_') && defined('DEBUG_EXTRA') && method_exists($db, 'sql_report')) { - $do_explain = true; - $this->cache_config['do_cache'] = false; - } - if ( empty($this->actions['module_main']) ) { // SitemapIndex - $this->google_sitemapindex(); - } else { // Sitemap - $this->google_sitemap(); - } - if ($do_explain) { - $db->sql_report('display'); - } else { - $this->gym_output->do_output(); - } - return; - } - /** - * GGs_sitemapindex() will build our sitemapIndex - * Listing all available sitemaps - * @access private - */ - function google_sitemapindex() { - global $phpEx, $phpbb_seo, $db; - $sitemapindex_url = $this->google_config['google_url'] . ( $this->google_config['google_modrewrite'] ? 'sitemapindex.xml' . $this->url_config['gzip_ext_out'] : 'sitemap.'.$phpEx); - $this->seo_kill_dupes($sitemapindex_url); - $this->output_data['data'] = '<'.'?xml version="1.0" encoding="UTF-8"?'.'>' . $this->style_config['xslt_style'] . "\n" . '<sitemapindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' . "\n\t" . 'xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9' . "\n\t" . 'http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd"' . "\n\t" . 'xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' . "\n" . '<!-- Generated by Google Yahoo MSN Sitemaps and RSS ' . $this->gym_config['gym_version'] . ' - © 2006, ' . date('Y') . ' www.phpBB-SEO.com -->' . "\n"; - // start the modules - $this->load_modules('sitemapindex'); - // Grabb the total - $this->output_data['url_sofar'] = $this->output_data['url_sofar_total']; - if ( empty($this->output_data['url_sofar']) ) { - $this->gym_error(404, 'GYM_TOO_FEW_ITEMS', __FILE__, __LINE__); - } - $this->output_data['data'] .= "\n" . '</sitemapindex>'; - if ( $this->google_config['google_ping'] && ($this->output_data['time'] >= ($this->cache_config['cache_born'] + $this->cache_config['cache_max_age'])) ) { - $this->google_ping($sitemapindex_url); - } - return; - } - /** - * GGs_sitemap() will build the actual Google sitemaps, all cases - * @access private - */ - function google_sitemap() { - global $phpEx, $phpbb_seo, $db; - // Initialize SQL cycling : do not query for more than required - $this->gym_config['google_sql_limit'] = ($this->gym_config['google_sql_limit'] > $this->gym_config['google_url_limit']) ? $this->gym_config['google_url_limit'] : $this->gym_config['google_sql_limit']; - $this->output_data['data'] = '<'.'?xml version="1.0" encoding="UTF-8"?'.'>' . $this->style_config['xslt_style'] . "\n" . '<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' . "\n\t" . 'xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9' . "\n\t" . 'http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"' . "\n\t" . 'xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' . "\n" . '<!-- Generated by Google Yahoo MSN Sitemaps and RSS ' . $this->gym_config['gym_version'] . ' - © 2006, ' . date('Y') . ' www.phpBB-SEO.com -->' . "\n"; - // start the module - $module_class = $this->actions['action_type'] . '_' . $this->actions['module_main']; - $this->load_module($module_class, 'sitemap'); - if (empty($this->output_data['url_sofar']) ) { - $this->gym_error(404, 'GYM_TOO_FEW_ITEMS', __FILE__, __LINE__); - } - $this->output_data['data'] .= "\n" . '</urlset>'; - if ( $this->google_config['google_ping'] && ($this->output_data['time'] >= ($this->cache_config['cache_born'] + $this->cache_config['cache_max_age'])) ) { - $this->google_ping(); - } - return; - } - /** - * parse_sitemap($url, $lastmodtime = 0) - * adds the module sitemaps to the sitemapindex - */ - function parse_sitemap($url, $lastmodtime = 0) { - global $config, $user; - if ($lastmodtime > $config['board_startdate']) { - $lastmodtime = sprintf($this->style_config['lastmod_tpl'], gmdate('Y-m-d\TH:i:s'.'+00:00', intval($lastmodtime))); - } else { - $lastmodtime = ''; - } - $this->output_data['data'] .= sprintf($this->style_config['SitmIndex_tpl'], $url, $lastmodtime); - $this->output_data['url_sofar']++; - } - /** - * parse_item() adds the item info to the output - */ - function parse_item($url, $priority = 1.0, $changefreq = 'always', $lastmodtime = 0) { - global $config, $user; - $changefreq = isset($this->freq_values[$changefreq]) ? sprintf($this->style_config['changefreq_tpl'], $changefreq) : ''; - $priority = $priority <= 1 && $priority > 0 ? str_replace(',', '.', sprintf($this->style_config['priority_tpl'], $priority)) : ''; - $lastmodtime = $lastmodtime > $config['board_startdate'] ? sprintf($this->style_config['lastmod_tpl'], gmdate('Y-m-d\TH:i:s'.'+00:00', intval($lastmodtime))) : ''; - $this->output_data['data'] .= sprintf($this->style_config['Sitemap_tpl'], $url, $lastmodtime, $changefreq, $priority); - $this->output_data['url_sofar']++; - } - /** - * get_priority() computes the priority, bases on last mod time and page number - * Freshest items with most pages gets the highest priority - * 42 is the answer to the most important question in the universe ;-) - */ - function get_priority($lastmodtime, $pages = 1) { - global $user; - return $user->time_now / ($user->time_now + ((($user->time_now - $lastmodtime)* 42) / $pages)); - } - /** - * get_changefreq($lastmodtime) computes the changefreq, based on lastmodtime - */ - function get_changefreq($lastmodtime) { - global $user; - $dt = $user->time_now - $lastmodtime; - // 42 weeks ~ 10 month | 8 weeks | 15 days | 2 days | 12 hours - return $dt > 25401600 ? 'yearly' : ( $dt > 4838400 ? 'monthly' : ( $dt > 1296000 ? 'weekly' : ( $dt > 172800 ? 'daily' : ( $dt > 43200 ? 'hourly' : 'always' ) ) ) ); - } - /** - * google_ping($url = '') - * ping google - */ - function google_ping($url = '') { - global $config, $phpbb_seo; - $url = !empty($url) ? str_replace('&', '&', $url) : (!empty($this->url_config['current']) ? $this->url_config['current'] : ''); - $url = trim($url); - if (empty($url)) { - return; - } - // No more than 200 pings a day! - if (@$config['gym_pinged_today'] > 200) { - // @TODO add logs about this ? - return; - } - $skip = array('://localhost', '://127.0.0.1', '://192.168.', '://169.254.'); - foreach ($skip as $_skip) { - if (utf8_strpos($url, $_skip) !== false) { - // @TODO add logs about this ? - return; - } - } - // If ssl is not forced, always ping with http urls - $url = $phpbb_seo->sslify($url, $phpbb_seo->ssl['forced']); - $se_urls = array('http://www.google.com/', /*'http://www.yahoo.com/', 'http://www.live.com/'*/); - $timout = 3; - $time = time(); - $pinged = 0; - foreach ($se_urls as $se_url) { - if (time() - $time >= $timout) { - return; - } - $request = $se_url . 'ping?sitemap=' . urlencode($url); - if ( function_exists('file_get_contents') ) { - // Make the request - @ini_set('user_agent','GYM Sitemaps & RSS / www.phpBB-SEO.com'); - @ini_set('default_socket_timeout', $timout); - $status_code = false; - if (@file_get_contents($request)) { - // Retrieve HTTP status code - @list($version,$status_code,$msg) = @explode(' ',$http_response_header[0], 3); - } - if (@$status_code != 200) { - // @TODO add logs about this ? - } else { - $pinged++; - $this->style_config['stats_genlist'] .= "\n<!-- Pinged $se_url - $url -->"; - } - } else if (function_exists('curl_exec')) { - // Initialize the session - $session = curl_init($request); - // Set curl options - curl_setopt($session, CURLOPT_HEADER, false); - curl_setopt($session, CURLOPT_USERAGENT, 'GYM Sitemaps & RSS / www.phpBB-SEO.com'); - curl_setopt($session, CURLOPT_TIMEOUT, $timout); - curl_setopt($session, CURLOPT_RETURNTRANSFER, true); - // Make the request - $response = curl_exec($session); - // Close the curl session - curl_close($session); - // Get HTTP Status code from the response - $status_codes = array(); - preg_match('/\d\d\d/', $response, $status_code); - $status_code = @$status_codes[0]; - // Get the the response, bypassing the header - if ($status_code != 200) { - // @TODO add logs about this ? - } else { - $pinged++; - $this->style_config['stats_genlist'] .= "\n<!-- Pinged $se_url - $url -->"; - } - } else { - // @TODO add logs about this ? - } - } - if ($pinged) { - set_config('gym_pinged_today', @$config['gym_pinged_today'] + $pinged, 1); - } - return; - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/includes/gym_html.php b/phpBB/gym_sitemaps/includes/gym_html.php deleted file mode 100644 index 74b1ce6076..0000000000 --- a/phpBB/gym_sitemaps/includes/gym_html.php +++ /dev/null @@ -1,833 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_html.php 262 2010-04-20 11:06:58Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_sitemaps.' . $phpEx); -/** -* gym_html Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class gym_html extends gym_sitemaps { - var $html_config = array(); - var $start = 0; - /** - * constuctor - */ - function gym_html($standalone = false) { - global $phpbb_seo, $config; - $this->gym_sitemaps('html'); - // Check the main vars - $this->init_get_vars(); - if (empty($this->actions['action_modules'])) { - $this->gym_error(404, '', __FILE__, __LINE__); - } - $this->output_data['tpl'] = $this->output_data['page_title'] = ''; - // Used to store module data upon index calls - $this->output_data['module_data'] = array(); - $this->actions['pagination_limit'] = 0; - // Setup the output - $this->cache_config = array_merge( - // Global - $this->cache_config, - // Other stuff required here - array( - 'main_cache_on' => (boolean) $this->set_module_option('main_cache_on', $this->override['cache']), - 'opt_cache_on' => (boolean) $this->set_module_option('opt_cache_on', $this->override['cache']), - 'main_cache_ttl' => round($this->set_module_option('main_cache_ttl', $this->override['cache']),2) * 3600, - 'opt_cache_ttl' => round($this->set_module_option('opt_cache_ttl', $this->override['cache']),2) * 3600, - ) - ); - $this->html_config = array( - 'html_c_info' => $this->gym_config['html_c_info'], - 'html_url' => $phpbb_seo->sslify($this->gym_config['html_url'], $phpbb_seo->ssl['use'], false), - 'html_pagination' => (int) $this->set_module_option('pagination', $this->override['pagination']), - 'html_item_pagination' => (int) $this->set_module_option('item_pagination', $this->override['pagination']), - 'html_pagination_limit' => (int) max(1, $this->set_module_option('pagination_limit', $this->override['pagination'])), - 'html_news_pagination' => $this->set_module_option('news_pagination', $this->override['pagination']), - 'html_news_pagination_limit' => (int) max(1, $this->set_module_option('news_pagination_limit', $this->override['pagination'])), - 'html_map_time_limit' => (int) max(0, $this->set_module_option('map_time_limit', $this->override['limit'])*3600*24), - 'html_cat_time_limit' => (int) max(0, $this->set_module_option('cat_time_limit', $this->override['limit'])*3600*24), - 'html_news_time_limit' => (int) max(0, $this->set_module_option('news_time_limit', $this->override['limit'])*3600*24), - 'html_cat_news_time_limit' => (int) max(0, $this->set_module_option('cat_news_time_limit', $this->override['limit'])*3600*24), - 'html_modrewrite' => (boolean) $this->set_module_option('modrewrite', $this->override['modrewrite']), - 'html_modrtype' => (int) $this->set_module_option('modrtype', $this->override['modrewrite']), - 'html_stats_on_news' => (boolean) $this->gym_auth_value($this->set_module_option('stats_on_news', $this->gym_config['html_override'])), - 'html_stats_on_map' => (boolean) $this->gym_auth_value($this->set_module_option('stats_on_map', $this->gym_config['html_override'])), - 'html_birthdays_on_news' => (boolean) $this->gym_auth_value($this->set_module_option('birthdays_on_news', $this->gym_config['html_override'])), - 'html_birthdays_on_map' => (boolean) $this->gym_auth_value($this->set_module_option('html_birthdays_on_map', $this->gym_config['html_override'])), - 'html_sitename' => $this->set_module_option('sitename'), - 'html_site_desc' => $this->set_module_option('site_desc'), - 'html_logo_url' => trim($this->set_module_option('logo_url'), '/'), - 'html_sort' => $this->set_module_option('sort', $this->override['sort']), - 'html_cat_sort' => $this->set_module_option('cat_sort', $this->override['sort']), - 'html_news_sort' => $this->set_module_option('news_sort', $this->override['sort']), - 'html_cat_news_sort' => $this->set_module_option('cat_news_sort', $this->override['sort']), - 'html_allow_auth' => (boolean) $this->set_module_option('allow_auth', $this->gym_config['html_override']), - 'html_disp_online' => (boolean) $this->gym_auth_value($this->set_module_option('disp_online', $this->gym_config['html_override'])), - 'html_disp_tracking' => (boolean) $this->gym_auth_value($this->set_module_option('disp_tracking', $this->gym_config['html_override'])), - 'html_disp_status' => (boolean) $this->gym_auth_value($this->set_module_option('disp_status', $this->gym_config['html_override'])), - 'html_allow_profile' => (boolean) $this->gym_auth_value($this->set_module_option('allow_profile', $this->gym_config['html_override'])), - 'html_allow_profile_links' => (boolean) $this->gym_auth_value($this->set_module_option('allow_profile_links', $this->gym_config['html_override'])), - 'html_allow_map' => (boolean) $this->set_module_option('allow_map', $this->gym_config['html_override']), - 'html_allow_cat_map' => (boolean) $this->set_module_option('allow_cat_map', $this->gym_config['html_override']), - 'html_allow_news' => (boolean) $this->set_module_option('allow_news', $this->gym_config['html_override']), - 'html_allow_cat_news' => (boolean) $this->set_module_option('allow_cat_news', $this->gym_config['html_override']), - 'html_sumarize' => (int) $this->set_module_option('sumarize', $this->gym_config['html_override']), - 'html_sumarize_method' => trim($this->set_module_option('sumarize_method', $this->gym_config['html_override'])), - 'html_allow_bbcode' => (boolean) $this->gym_auth_value($this->set_module_option('allow_bbcode', $this->gym_config['html_override'])), - 'html_strip_bbcode' => trim($this->set_module_option('strip_bbcode', $this->gym_config['html_override'])), - 'html_allow_links' => (boolean) $this->gym_auth_value($this->set_module_option('allow_links', $this->gym_config['html_override'])), - 'html_allow_emails' => (boolean) $this->set_module_option('allow_emails', $this->gym_config['html_override']), - 'html_allow_smilies' => (boolean) $this->gym_auth_value($this->set_module_option('allow_smilies', $this->gym_config['html_override'])), - 'html_allow_sig' => (boolean) $this->gym_auth_value($this->set_module_option('allow_sig', $this->gym_config['html_override'])), - 'html_msg_filters' => array(), - 'html_auth_msg' => '', - 'html_do_explain' => false, - ); - $config['gzip_compress'] = $config['gzip_compress'] ? 1 : (boolean) $this->set_module_option('gzip', $this->override['gzip']); - $this->html_config['html_auth_guest'] = ($this->html_config['html_allow_auth'] && $this->gym_auth['reg']) ? false : true; - $this->cache_config['do_cache_main'] = (boolean) ($this->html_config['html_auth_guest'] && $this->cache_config['main_cache_on']); - $this->cache_config['do_cache_opt'] = (boolean) ($this->html_config['html_auth_guest'] && $this->cache_config['opt_cache_on']); - $this->output_data['left_col_cache_file'] = $this->output_data['right_col_cache_file'] = ''; - $this->actions['is_auth'] = $this->actions['is_active'] = $this->actions['is_public'] = false; - - if (!$standalone) { - // Check the rss specific vars and do basic set_up for msg output - $this->init_html_vars(); - $this->html_output(); - } - return; - } - /** - * init_html_vars() - * Set up the specific rss modules GET vars. - * @access private - */ - function init_html_vars() { - global $user, $phpEx, $phpbb_seo; - // Take care about module categorie urls, assuming that they are of the proper form - // news|map/module_main/module_sub/ - // this code will filter in between special map|news and categroy map and news - // assuming that the cat urls will be of the following form title-sepXX (forum-title-fxx.html or /) - // or without ID, if the phpbb_seo cache array is properly set. - if (!empty($this->actions['module_main']) && !empty($this->actions['module_sub']) && $this->actions['module_sub'] != 'map' && $this->actions['module_sub'] != 'news') { - if (preg_match('`^[a-z0-9_-]*-[a-z]{1}+([0-9]+)`', $this->actions['module_sub'], $match)) { - $this->actions['module_sub'] = $match[1]; - } else if ($id = @array_search($this->actions['module_sub'], $phpbb_seo->cache_config[$this->actions['module_main']]) ) { - $this->actions['module_sub'] = (int) $id; - } - } - $this->start = max(0, request_var('start', 0)); - $this->actions['html_news_list'] = $this->actions['html_map_list'] = false; - $this->html_config['extra_title'] = $this->url_config['extra_params_full'] = $this->url_config['extra_params'] = ''; - if ( isset($_GET['news']) && ($this->html_config['html_allow_cat_news'] || $this->html_config['html_allow_news'])) { - $this->actions['html_news_list'] = true; - if (empty($this->actions['module_sub']) && $this->html_config['html_allow_news']) { - $this->actions['module_sub'] = 'news'; - } - } else if (@$this->actions['module_sub'] == 'news' && $this->html_config['html_allow_news']) { - $this->actions['html_news_list'] = true; - } else if (!empty($this->actions['module_sub']) && $this->html_config['html_allow_cat_map']) { - $this->actions['html_map_list'] = true; - } else if (!empty($this->actions['module_main']) && (empty($this->actions['module_sub']) || $this->actions['module_sub'] == 'map' ) && $this->html_config['html_allow_map']) { - $this->actions['html_map_list'] = true; - } - if ($this->actions['html_news_list']) { - $this->actions['html_type'] = 'news'; - $this->actions['display_stats'] = $this->html_config['html_stats_on_news']; - $this->actions['display_birthdays'] = $this->html_config['html_birthdays_on_news']; - - } else { - $this->actions['html_type'] = 'map'; - $this->actions['display_stats'] = $this->html_config['html_stats_on_map']; - $this->actions['display_birthdays'] = $this->html_config['html_birthdays_on_map']; - } - // Adjust variable a bit - if ($this->actions['html_news_list']) { // requested and auth - $this->html_config['html_msg_filters'] = $this->set_msg_strip($this->html_config['html_strip_bbcode']); - } - // Set up module's urls : Pagination - $this->url_config['html_start_ext'] = ''; - if ($this->html_config['html_modrewrite']) { - $page = !empty($phpbb_seo->seo_static['page']) ? $phpbb_seo->seo_static['page'] : 'page'; - $html = !empty($phpbb_seo->seo_ext['page']) ? $phpbb_seo->seo_ext['page'] : '.html'; - $this->url_config['html_start'] = "$page%1\$s$html"; - $this->url_config['html_default'] = 'maps/'; - $this->url_config['html_news_default'] = 'news/'; - } else { - $this->url_config['html_start'] = '&start=%1$s'; - $this->url_config['html_news_default'] = $this->url_config['html_default'] . '?news'; - } - } - /** - * html_add_start($start, $tpl_start_key) builds the pagination bit - * @access private - */ - function html_add_start($start, $tpl_start_key = 'html_start') { - return $start > 0 ? sprintf($this->url_config[$tpl_start_key], $start) : @$this->url_config[$tpl_start_key . '_ext']; - } - /** - * html_build_url($tpl_key, $title, $id, $start = 0, $tpl_start_key) builds the url - * $title must be properly formated prior to injection - * @access private - */ - function html_build_url($tpl_key, $title = '', $id = 0, $start = 0, $tpl_start_key = 'html_start') { - return sprintf($this->url_config[$tpl_key], $title, $id) . $this->html_add_start($start, $tpl_start_key); - } - /** - * html_output() will build all html output - * @access private - */ - function html_output() { - global $phpEx, $db, $config, $phpbb_root_path, $user, $template, $cache, $phpbb_seo; - $module_obj = null; - $left_col = $right_col = false; - // Set up the base href tag, could be done better but saves a file edit this way ( and works too ;-) ) - // Assuming that map.php is either in phpBB's dir or above (not under). - $bhref_ulr = ($phpbb_root_path === './') ? $phpbb_seo->seo_path['phpbb_url'] : str_replace(ltrim($phpbb_root_path, './'), '', $phpbb_seo->seo_path['phpbb_url']); - $template->assign_vars(array( - 'META' => '<base href="' . $bhref_ulr . '"/>' . "\n", - 'S_CONTENT_DIRECTION' => $user->lang['DIRECTION'], - 'S_CONTENT_FLOW_BEGIN' => ($user->lang['DIRECTION'] == 'ltr') ? 'left' : 'right', - 'S_CONTENT_FLOW_END' => ($user->lang['DIRECTION'] == 'ltr') ? 'right' : 'left', - 'NEWEST_POST_IMG' => $user->img('icon_topic_newest', 'VIEW_NEWEST_POST'), - 'LAST_POST_IMG' => $user->img('icon_topic_latest', 'VIEW_LATEST_POST'), - )); - // module action - if (in_array($this->actions['module_main'], $this->actions['action_modules'])) { // List item from the module - // Add index page in navigation links - $template->assign_block_vars('navlinks', array( - 'FORUM_NAME' => $user->lang['HTML_MAP'], - 'U_VIEW_FORUM' => append_sid($this->html_config['html_url']. $this->url_config['html_default'])) - ); - $module_class = $this->actions['action_type'] . '_' . $this->actions['module_main']; - $module_obj = $this->load_module($module_class, 'html_init', true); - } else { // sitemap index - // We are working on all available modules - $left_col = $this->html_index(); - } - $page_title = (!empty($this->output_data['page_title']) ? $this->output_data['page_title'] : $user->lang['HTML_' . strtoupper($this->actions['html_type'])]) . $this->html_config['extra_title']; - // Add current page in navigation links - $template->assign_block_vars('navlinks', array( - 'FORUM_NAME' => $page_title, - 'U_VIEW_FORUM' => append_sid($this->url_config['current'])) - ); - if (!$this->actions['is_active']) { - header('HTTP/1.1 404 Not Found'); - global $msg_title; - $msg_title = $user->lang['GYM_ERROR_404']; - trigger_error('GYM_ERROR_404_EXPLAIN'); - } - if (!$this->actions['is_auth']) { - header('HTTP/1.1 401 Unauthorized'); - if ($user->data['user_id'] != ANONYMOUS) { - trigger_error('GYM_ERROR_401'); - } - login_box('', $user->lang['GYM_LOGIN']); - } - // Let's kill duplicate now ! - if (!empty($this->url_config['current'])) { - $this->seo_kill_dupes(append_sid($this->url_config['current'])); - } - $template->set_filenames(array('body' => 'gym_sitemaps/index_body.html')); - $this->cache_config['do_cache_main'] = (boolean) ($this->cache_config['do_cache_main'] && $this->actions['is_public']); - $this->cache_config['do_cache_opt'] = (boolean) ($this->cache_config['do_cache_opt'] && $this->actions['is_public']); - $cache_find = array('`(\?|&|&)sid\=[a-z0-9]+`i', '`[\s]+`'); - $cache_replace = array('',' '); - $ssl_bit = $phpbb_seo->ssl['use'] ? 'ssl_' : ''; - // Main output - if (!empty($this->output_data['left_col_tpl'])) { - $template->set_filenames(array('left_col' => $this->output_data['left_col_tpl'])); - if ($this->cache_config['do_cache_main'] && !empty($this->output_data['left_col_cache_file'])) { - $cache_file = '_gym_html_' . $this->output_data['left_col_cache_file'] . '_' . $ssl_bit . $user->data['user_lang'] . '_' . $this->start; - if (($left_col = $cache->get($cache_file)) === false) { - $module_obj->html_main(); - $left_col = $template->assign_display('left_col', '', true); - // Strip whitespaces and sids - $left_col = preg_replace($cache_find, $cache_replace, $left_col ); - $cache->put($cache_file, $left_col, $this->cache_config['main_cache_ttl']); - } - } - if (!$left_col) { - $module_obj->html_main(); - $left_col = $template->assign_display('left_col', '', true); - } - } - // Optional output - if (!empty($this->output_data['right_col'])) { - if ($this->cache_config['do_cache_opt'] && !empty($this->output_data['right_col_cache_file'])) { - $cache_file = '_gym_html_' . $this->output_data['right_col_cache_file'] . '_' . $ssl_bit . $user->data['user_lang']; - if (($right_col = $cache->get($cache_file)) === false) { - $module_obj->html_module(); - $template->set_filenames(array('right_col' => $this->output_data['right_col_tpl'])); - $right_col = $template->assign_display('right_col', '', true); - // Strip whitespaces and sids - $right_col = preg_replace($cache_find, $cache_replace, $right_col ); - $cache->put($cache_file, $right_col, $this->cache_config['opt_cache_ttl']); - } - } - if (!$right_col) { - $module_obj->html_module(); - $template->set_filenames(array('right_col' => $this->output_data['right_col_tpl'])); - $right_col = $template->assign_display('right_col', '', true); - } - } - unset($module_obj); - $tpl_data = array(); - if ($this->actions['display_stats']) { - // Set some stats, get posts count from forums data if we... hum... retrieve all forums data - $total_posts = $config['num_posts']; - $total_topics = $config['num_topics']; - $total_users = $config['num_users']; - $l_total_user_s = ($total_users == 0) ? 'TOTAL_USERS_ZERO' : 'TOTAL_USERS_OTHER'; - $l_total_post_s = ($total_posts == 0) ? 'TOTAL_POSTS_ZERO' : 'TOTAL_POSTS_OTHER'; - $l_total_topic_s = ($total_topics == 0) ? 'TOTAL_TOPICS_ZERO' : 'TOTAL_TOPICS_OTHER'; - $tpl_data += array( - 'TOTAL_POSTS' => sprintf($user->lang[$l_total_post_s], $total_posts), - 'TOTAL_TOPICS' => sprintf($user->lang[$l_total_topic_s], $total_topics), - 'TOTAL_USERS' => sprintf($user->lang[$l_total_user_s], $total_users), - ); - if ($this->html_config['html_allow_profile']) { - $tpl_data += array( - 'NEWEST_USER' => sprintf($user->lang['NEWEST_USER'], get_username_string( $this->html_config['html_allow_profile_links'] ? 'full' : 'no_profile', $config['newest_user_id'], $config['newest_username'], $config['newest_user_colour'])), - ); - } - } - // Generate birthday list if required ... - if ($this->actions['display_birthdays']) { - $birthday_list = ''; - $now = getdate(time() + $user->timezone + $user->dst - date('Z')); - $sql = 'SELECT u.user_id, u.username, u.user_colour, u.user_birthday - FROM ' . USERS_TABLE . ' u - LEFT JOIN ' . BANLIST_TABLE . " b ON (u.user_id = b.ban_userid) - WHERE (b.ban_id IS NULL - OR b.ban_exclude = 1) - AND u.user_birthday LIKE '" . $db->sql_escape(sprintf('%2d-%2d-', $now['mday'], $now['mon'])) . "%' - AND u.user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ')'; - $result = $db->sql_query($sql); - while ($row = $db->sql_fetchrow($result)) { - $birthday_list .= (($birthday_list != '') ? ', ' : '') . get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']); - if ($age = (int) substr($row['user_birthday'], -4)) { - $birthday_list .= ' (' . ($now['year'] - $age) . ')'; - } - } - $db->sql_freeresult($result); - $tpl_data += array( - 'BIRTHDAY_LIST' => $birthday_list, - 'S_DISPLAY_BIRTHDAY_LIST' => !empty($birthday_list), - ); - } - $template->assign_vars($tpl_data + array( - 'S_SINGLE_TRAKING' => !empty($this->output_data['single_traking']) ? true : false, - 'S_LOGIN_ACTION' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login'), - 'S_SEO_FORUM' => strpos($config['default_lang'], 'fr') !== false ? 'fr/' : 'en/', - 'LEFT_COL' => $left_col, - 'RIGHT_COL' => $right_col, - ) - ); - if ($this->actions['pagination_limit'] > 0) { // Add page number to title - $page_title .= $this->start > 0 ? ' - ' . $user->lang['HTML_PAGE'] . ' ' . ( floor( $this->start / $this->actions['pagination_limit'] ) + 1 ) : ''; - } - page_header($page_title, $this->html_config['html_disp_online']); - if (!empty($this->html_config['html_logo_url'])) { - $template->assign_vars(array( - 'SITE_LOGO_IMG' => '<img src="' . $this->path_config['gym_img_url'] . $this->html_config['html_logo_url'] . '" alt="' . $this->output_data['page_title'] . '" />', - ) - ); - } - page_footer(); - return; - } - /** - * html_index() - * Builds the site map index - * @access private - */ - function html_index() { - global $phpEx, $phpbb_root_path, $user, $template, $cache, $phpbb_seo, $config; - if ($this->actions['html_news_list']) { - // Add index page in navigation links - $template->assign_block_vars('navlinks', array( - 'FORUM_NAME' => $user->lang['HTML_MAP'], - 'U_VIEW_FORUM' => append_sid($this->html_config['html_url']. $this->url_config['html_default']), - )); - $this->url_config['current'] = $this->html_config['html_url'] . $this->url_config['html_news_default']; - $this->actions['is_auth'] = true; - $src_url = $this->gym_config['html_rss_news_url']; - // if the source is set on the same domain, hanlde ssl properly - if (strpos($src_url, $config['server_name']) !== false) { - $src_url = $phpbb_seo->sslify($src_url, $phpbb_seo->ssl['use']); - } - $this->actions['is_active'] = $src_url ? 1 : 0; - $params = array( - // Full URL to the RSS 2.0 feed - 'url' => str_replace('&', '&', $src_url), - 'desc' => true, - 'html' => true, - 'limit' => (int) $this->gym_config['html_rss_news_limit'], - ); - display_feed($params); - $template->assign_vars(array('GYM_RSS_SLIDE_SP' => false)); - $template->set_filenames(array('index_data' => 'gym_sitemaps/gym_link_body.html')); - } else { - $ssl_bit = $phpbb_seo->ssl['use'] ? 'ssl_' : ''; - $cache_file = '_gym_html_map_' . $ssl_bit . $user->data['user_lang']; - if (($this->output_data['module_data'] = $cache->get($cache_file)) === false) { - $this->load_modules('html_index'); - $cache->put($cache_file, $this->output_data['module_data']); - } - $this->output_data['page_title'] = sprintf($user->lang['HTML_MAP_OF'], $this->html_config['html_sitename']); - $this->actions['is_active'] = $this->actions['is_auth'] = true; - $this->url_config['current'] = $this->html_config['html_url'] . $this->url_config['html_default']; - $template->set_filenames(array('index_data' => 'gym_sitemaps/index_list.html')); - if (!empty($this->output_data['module_data'])) { - foreach ($this->output_data['module_data'] as $module_name => $module_data) { - // First modules - $template->assign_block_vars('module', array( - 'TITLE' => $module_data['title'], - 'NEWS_TITLE' => sprintf($user->lang['HTML_NEWS_OF'], $module_data['title']), - 'MAP_TITLE' => sprintf($user->lang['HTML_MAP_OF'], $module_data['title']), - 'DESC' => $module_data['desc'], - 'IMG' => $module_data['img'], - 'MAP_URL' => append_sid($module_data['map_url']), - 'NEWS_URL' => append_sid($module_data['news_url']), - )); - // Then the module maps & news pages - foreach ($module_data['links'] as $data) { - $template->assign_block_vars('module.links', array( - 'MAP_TITLE' => $data['map_title'], - 'MAP_URL' => append_sid($data['map_url']), - 'NEWS_TITLE' => $data['news_title'], - 'NEWS_URL' => append_sid($data['news_url']), - )); - } - } - } - } - $template->assign_vars(array( - 'HTML_SITENAME' => $this->html_config['html_sitename'], - 'HTML_SITEDESC' => $this->html_config['html_site_desc'], - 'HTML_URL' => $this->html_config['html_allow_map'] ? append_sid($this->html_config['html_url'] . $this->url_config['html_default']) : '', - 'HTML_NEWS_TITLE' => sprintf($user->lang['HTML_NEWS_OF'], $this->html_config['html_sitename']), - 'HTML_NEWS_URL' => $this->html_config['html_allow_news'] ? append_sid($this->html_config['html_url'] . $this->url_config['html_news_default']) : '', - 'NEWS_IMG_SRC' => $this->path_config['gym_img_url'] . 'html_news.gif', - 'ROOT_PATH' => $phpbb_root_path, - )); - $return = $template->assign_display('index_data', '', true); - return $return; - } - /** - * prepare_message($message, $bbcode_uid, $bbcode_bitfield, $patterns = array(), $replaces = array()) - * will put together BBcodes and smilies before the output - * @access private - */ - function prepare_message(&$message, $bbcode_uid, $bitfield, $patterns = array(), $replaces = array()) { - global $config, $user, $phpbb_root_path; - static $bbcode; - if (!empty($patterns)) { - $message = preg_replace($patterns, $replaces, $message); - } - if ($this->html_config['html_sumarize'] > 0 ) { - $message = $this->summarize( $message, $this->html_config['html_sumarize'], $this->html_config['html_sumarize_method'] ); - // Clean broken tag at the end of the message - $message = preg_replace('`\<[^\<\>]*$`i', ' ...', $message); - // Close broken bbcode tags requiring it, only quotes for now - $this->close_bbcode_tags($message, $bbcode_uid); - } - $message = censor_text($message); - if ($bitfield && $this->html_config['html_allow_bbcode']) { - if (!class_exists('bbcode')) { - global $phpbb_root_path, $phpEx; - include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); - } - if (empty($bbcode)) { - $bbcode = new bbcode($bitfield); - } else { - $bbcode->bbcode($bitfield); - } - $bbcode->bbcode_second_pass($message, $bbcode_uid); - } - $message = bbcode_nl2br($message); - // Parse smilies - $message = $this->smiley_text($message, !$this->html_config['html_allow_smilies']); - if ($this->html_config['html_sumarize'] > 0 ) { - // last clean up - static $_find = array('`\<\!--[^\<\>]+--\>`Ui', '`\[\/?[^\]\[]*\]`Ui'); - $message = preg_replace($_find, '', $message); - } - return true; - } - /** - * close_bbcode_tags(&$message, $uid, $bbcodelist) - * will tend to do it nicely ;-) - * Will close the bbcode tags requiring it in the list (quote|b|u|i|color|*|list) - * Beware, bo not reduce $bbcodelist without knowing what you are doing - */ - function close_bbcode_tags(&$message, $uid, $bbcodelist = 'quote|b|u|i|color|*|list') { - global $config, $user, $phpbb_seo; - $open_lists = $close_lists = array(); - $bbcodelist = str_replace('|*', '|\*', $bbcodelist); - $open_count = preg_match_all('`\[(' . $bbcodelist . ')(\=([a-z0-9]{1}))?[^\]\[]*\:' . $uid . '\]`i', $message, $open_matches); - $close_count = preg_match_all('`\[/(' . $bbcodelist . ')(\:([a-z]{1}))?[^\]\[]*\:' . $uid . '\]`i', $message, $close_matches); - if ($open_count == $close_count) { // No need to go further - return; - } - if (!empty($open_matches[1])) { - $open_list = array_count_values($open_matches[1]); - $close_list = !empty($close_matches[1]) ? array_count_values($close_matches[1]) : array(); - $list_to_close = array(); - if (isset($open_list['list'])) { - foreach ($open_matches[1] as $k => $v) { - if ($v == 'list') { - $open_lists[] = !empty($open_matches[3][$k]) ? 'o' : 'u'; - } - } - if (!empty($close_matches[1])) { - foreach ($close_matches[1] as $k => $v) { - if ($v == 'list') { - $close_lists[] = !empty($close_matches[3][$k]) ? 'o' : 'u'; - } - } - } - $list_to_close = array_reverse(array_diff_assoc($open_lists, $close_lists)); - } - unset($open_list['*'], $open_list['list'], $open_matches, $close_matches); - foreach ($open_list as $bbcode => $total) { - if (empty($close_list[$bbcode]) || $close_list[$bbcode] < $total) { - // close the tags - $diff = empty($close_list[$bbcode]) ? $total : $total - $close_list[$bbcode]; - $message .= str_repeat("[/$bbcode:$uid]", $diff); - } - } - // Close the lists if required - foreach ($list_to_close as $ltype) { - $message .= "[/*:m:$uid][/list:$ltype:$uid]"; - } - } - return; - } - /** - * set_msg_strip($bbcode_list) will build up the unauthed bbcode list - * $bbcode_list = 'code:0,img:1,quote'; - * $bbcode_list = 'all'; - * 1 means the bbcode and it's content will be striped. - * all means all bbcodes. - * $returned_list = array('patern' => $matching_patterns, 'replace' => $replace_patterns); - * @access private - */ - function set_msg_strip($bbcode_list) { - $patterns = $replaces = array(); - // Now the bbcodes - if (!$this->html_config['html_allow_bbcode'] || preg_match('`all\:?([0-1]*)`i', $bbcode_list, $matches)) { - if ( (@$matches[1] != 1 ) ) { - $patterns[] = '`\[\/?[a-z0-9\*\+\-]+(?:=(?:".*"|[^\]]*))?(?::[a-z])?(\:[0-9a-z]{5,})\]`i'; - $replaces[] = ''; - } else { - $patterns[] = '`\[([a-z0-9\*\+\-]+)((=|:)[^\:\]]*)?\:[0-9a-z]{5,}\].*\[/(?1)(:?[^\:\]]*)?\:[0-9a-z]{5,}\]`Usi'; - $replaces[] = "{ \\1 }"; - } - $patterns[] = '`<[^>]*>(.*<[^>]*>)?`Usi'; // All html - $replaces[] = ''; - } else { - // Take care about links & emails - if ( !$this->html_config['html_allow_links'] ) { - if ( !$this->html_config['html_allow_emails'] ) { // Saves couple RegEx - $email_find = '[a-z0-9&\'\.\-_\+]+@[a-z0-9\-]+\.([a-z0-9\-]+\.)*[a-z]+'; - $email_replace = 'str_replace(array("@", "."), array(" AT ", " DOT "),"\\1")'; - $email_option = 'e'; - } else { - $email_find = '.*?'; - $email_replace = "\\1"; - $email_option = ''; - } - $patterns[] = '`<!\-\- ([lmw]+) \-\-><a (?:class="[\w-]+" )?href="(.*?)">.*?</a><!\-\- \1 \-\->`i'; - $replaces[] = "\\2"; - $patterns[] = '`\[/?url[^\]\[]*\]`i'; - $replaces[] = ''; - $patterns[] = '`<!\-\- e \-\-><a href="mailto:(' . $email_find . ')">.*?</a><!\-\- e \-\->`i' . $email_option; - $replaces[] = $email_replace; - } - if ( !$this->html_config['html_allow_emails'] && $this->html_config['html_allow_links'] ) { - $patterns[] = '`<!\-\- e \-\-><a href="mailto:([a-z0-9&\'\.\-_\+]+@[a-z0-9\-]+\.([a-z0-9\-]+\.)*[a-z]+)">.*?</a><!\-\- e \-\->`ei'; - $replaces[] = 'str_replace(array("@", "."), array(" AT ", " DOT "),"\\1")'; - } - $exclude_list = ( empty($bbcode_list) ? array() : explode(',', trim($bbcode_list, ', ')) ); - $RegEx_unset = $RegEx_remove = ''; - foreach ($exclude_list as $key => $value ) { // Group the RegEx - $value = trim($value, ', '); - if (preg_match("`[a-z0-9]+(\:([0-1]*))?`i", $value, $matches) ) { - $values = (strpos($value, ':') !== false) ? explode(':', $value) : array($value); - if ( (@$matches[2] != 1 ) ) { - $RegEx_unset .= (!empty($RegEx_unset) ? '|' : '' ) . $values[0]; - } else { - $RegEx_remove .= (!empty($RegEx_remove) ? '|' : '' ) . $values[0]; - } - } - } - if (!empty($RegEx_remove) ) { - $patterns[] = '`\[(' . $RegEx_remove . ')((=|:)[^\:\]]*)?\:[0-9a-z]{5,}\].*\[/(?1)(:?[^\:\]]*)?\:[0-9a-z]{5,}\]`Usi'; - $replaces[] = "{ \\1 }"; - } - if (!empty($RegEx_unset) ) { - $patterns[] = '`\[/?(' . $RegEx_unset . ')(?:=(?:".*"|[^\]]*))?(?::[a-z])?(\:[0-9a-z]{5,})?\]`i'; - $replaces[] = ''; - } - } - return array('pattern' => $patterns, 'replace' => $replaces); - } - /** - * Summarize method selector - * @access private - */ - function summarize($string, $limit, $method = 'lines') { - switch ($method) { - case 'words': - return $this->word_limit($string, $limit); - break; - case 'chars': - return $this->char_limit($string, $limit); - break; - case 'lines': - default: - return $this->line_limit($string, $limit); - break; - } - } - /** - * Cut the text by lines - * @access private - */ - function line_limit($string, $limit = 10, $ellipsis = ' ...') { - return count($lines = preg_split("`[\n\r]+`", ltrim($string), $limit + 1)) > $limit ? rtrim(utf8_substr($string, 0, utf8_strlen($string) - utf8_strlen(end($lines)))) . $ellipsis : $string; - } - /** - * Cut the text according to the number of words. - * Borrowed from www.php.net http://www.php.net/preg_replace - * @access private - */ - function word_limit($string, $limit = 50, $ellipsis = ' ...') { - return count($words = preg_split('`\s+`', ltrim($string), $limit + 1)) > $limit ? rtrim(utf8_substr($string, 0, utf8_strlen($string) - utf8_strlen(end($words)))) . $ellipsis : $string; - } - /** - * Cut the text according to the number of characters. - * Borrowed from www.php.net http://www.php.net/preg_replace - * @access private - */ - function char_limit($string, $limit = 100, $ellipsis = ' ...') { - return utf8_strlen($fragment = utf8_substr($string, 0, $limit + 1 - utf8_strlen($ellipsis))) < utf8_strlen($string) + 1 ? preg_replace('`\s*\S*$`', '', $fragment) . $ellipsis : $string; - } - /** - * Get forum children (one level or all, with or without info) - * @access private - */ - function get_forum_children($forum_id, $skip_pass = true, $only_post = true, $ids_only = true, $one_lvl = true) { - global $db, $auth; - $rows = array(); - $_sql_pre = $one_lvl ? 'f1' : 'f2'; - $sql_sel = $ids_only ? "$_sql_pre.forum_id, $_sql_pre.forum_type, $_sql_pre.forum_password" : "$_sql_pre.*"; - $sql_where = $only_post ? " AND $_sql_pre.forum_type = " . FORUM_POST : ''; - if (!$one_lvl) { - $sql = "SELECT $sql_sel - FROM " . FORUMS_TABLE . " f1 - LEFT JOIN " . FORUMS_TABLE . " f2 ON (f2.left_id BETWEEN f1.left_id AND f1.right_id) - WHERE f1.forum_id = $forum_id - $sql_where - ORDER BY f2.left_id ASC"; - } else { - $sql = "SELECT $sql_sel - FROM " . FORUMS_TABLE . " f1 - WHERE f1.parent_id = $forum_id - $sql_where - ORDER BY f1.left_id ASC"; - } - $result = $db->sql_query($sql); - while ($row = $db->sql_fetchrow($result)) { - if ($skip_pass && $row['forum_password']) { - continue; - } - $rows[$row['forum_id']] = $row; - } - - $db->sql_freeresult($result); - // Do not return this forum info - if (!$one_lvl) { - unset($rows[$forum_id]); - } - // only keep authed forum - foreach ($rows as $_forum_id => $null) { - if (!$auth->acl_get('f_read', $_forum_id)) { - unset($rows[$_forum_id]); - } - } - return !empty($rows) ? $rows : false; - } - /** - * Generate topic status - */ - function topic_status(&$topic_row, $replies, $unread_topic, &$folder_img, &$folder_alt, &$topic_type) { - global $user, $config; - $folder = $folder_new = ''; - if ($topic_row['topic_status'] == ITEM_MOVED) { - $topic_type = $user->lang['VIEW_TOPIC_MOVED']; - $folder_img = 'topic_moved'; - $folder_alt = 'TOPIC_MOVED'; - } else { - switch ($topic_row['topic_type']) { - case POST_GLOBAL: - $topic_type = $user->lang['VIEW_TOPIC_GLOBAL']; - $folder = 'global_read'; - $folder_new = 'global_unread'; - break; - case POST_ANNOUNCE: - $topic_type = $user->lang['VIEW_TOPIC_ANNOUNCEMENT']; - $folder = 'announce_read'; - $folder_new = 'announce_unread'; - break; - case POST_STICKY: - $topic_type = $user->lang['VIEW_TOPIC_STICKY']; - $folder = 'sticky_read'; - $folder_new = 'sticky_unread'; - break; - default: - $topic_type = ''; - $folder = 'topic_read'; - $folder_new = 'topic_unread'; - if ($config['hot_threshold'] && $replies >= $config['hot_threshold'] && $topic_row['topic_status'] != ITEM_LOCKED) { - $folder .= '_hot'; - $folder_new .= '_hot'; - } - break; - } - if ($topic_row['topic_status'] == ITEM_LOCKED) { - $topic_type = $user->lang['VIEW_TOPIC_LOCKED']; - $folder .= '_locked'; - $folder_new .= '_locked'; - } - $folder_img = ($unread_topic) ? $folder_new : $folder; - $folder_alt = ($unread_topic) ? 'NEW_POSTS' : (($topic_row['topic_status'] == ITEM_LOCKED) ? 'TOPIC_LOCKED' : 'NO_NEW_POSTS'); - // Posted image? - if (!empty($topic_row['topic_posted']) && $topic_row['topic_posted']) { - $folder_img .= '_mine'; - } - } - if ($topic_row['poll_start'] && $topic_row['topic_status'] != ITEM_MOVED) { - $topic_type = $user->lang['VIEW_TOPIC_POLL']; - } - } - /** - * Generate topic pagination - * Duplicated here to prevent from including functions_display.php - */ - function topic_generate_pagination($replies, $url) { - global $config, $user; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $phpbb_seo, $phpEx; - // www.phpBB-SEO.com SEO TOOLKIT END - // Make sure $per_page is a valid value - $per_page = ($config['posts_per_page'] <= 0) ? 1 : $config['posts_per_page']; - if (($replies + 1) > $per_page) { - $total_pages = ceil(($replies + 1) / $per_page); - $pagination = ''; - $times = 1; - for ($j = 0; $j < $replies + 1; $j += $per_page) { - $pagination .= '<a href="' . $url . '&start=' . $j . '">' . $times . '</a>'; - if ($times == 1 && $total_pages > 5) { - $pagination .= ' ... '; - // Display the last three pages - $times = $total_pages - 3; - $j += ($total_pages - 4) * $per_page; - } else if ($times < $total_pages) { - $pagination .= '<span class="page-sep">' . $user->lang['COMMA_SEPARATOR'] . '</span>'; - } - $times++; - } - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - if (!empty($phpbb_seo->seo_opt['url_rewrite'])) { - static $pagin_find = array(); - static $pagin_replace = array(); - if (empty($pagin_find)) { - $pagin_find = array( '`(\.(?!' . $phpEx . ')[a-z0-9]+)([\w\#$%&~\-;:=,?@+]*)&start=([0-9]+)`i', '`/([\w\#$%&~\-;:=,?@+]*)&start=([0-9]+)`i' ); - $pagin_replace = array( $phpbb_seo->seo_delim['start'] . '\\3\\1\\2', '/' . $phpbb_seo->seo_static['pagination'] . '\\2' . $phpbb_seo->seo_ext['pagination'] .'\\1' ); - } - $pagination = str_replace( '&start=0', '', $pagination ); - $pagination = preg_replace( $pagin_find, $pagin_replace, $pagination ); - } - // www.phpBB-SEO.com SEO TOOLKIT END - } else { - $pagination = ''; - } - return $pagination; - } - /** - * Get user rank title and image - * - * @param int $user_rank the current stored users rank id - * @param int $user_posts the users number of posts - * @param string &$rank_title the rank title will be stored here after execution - * @param string &$rank_img the rank image as full img tag is stored here after execution - * @param string &$rank_img_src the rank image source is stored here after execution - * - */ - function get_user_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src) { - global $ranks, $config, $phpbb_root_path; - if (empty($ranks)) { - global $cache; - $ranks = $cache->obtain_ranks(); - } - if (!empty($user_rank)) { - $rank_title = (isset($ranks['special'][$user_rank]['rank_title'])) ? $ranks['special'][$user_rank]['rank_title'] : ''; - $rank_img = (!empty($ranks['special'][$user_rank]['rank_image'])) ? '<img src="' . $phpbb_root_path . $config['ranks_path'] . '/' . $ranks['special'][$user_rank]['rank_image'] . '" alt="' . $ranks['special'][$user_rank]['rank_title'] . '" title="' . $ranks['special'][$user_rank]['rank_title'] . '" />' : ''; - $rank_img_src = (!empty($ranks['special'][$user_rank]['rank_image'])) ? $phpbb_root_path . $config['ranks_path'] . '/' . $ranks['special'][$user_rank]['rank_image'] : ''; - } else { - if (!empty($ranks['normal'])) { - foreach ($ranks['normal'] as $rank) { - if ($user_posts >= $rank['rank_min']) { - $rank_title = $rank['rank_title']; - $rank_img = (!empty($rank['rank_image'])) ? '<img src="' . $phpbb_root_path . $config['ranks_path'] . '/' . $rank['rank_image'] . '" alt="' . $rank['rank_title'] . '" title="' . $rank['rank_title'] . '" />' : ''; - $rank_img_src = (!empty($rank['rank_image'])) ? $phpbb_root_path . $config['ranks_path'] . '/' . $rank['rank_image'] : ''; - break; - } - } - } - } - } - /** - * Get user avatar - * - * @param string $avatar Users assigned avatar name - * @param int $avatar_type Type of avatar - * @param string $avatar_width Width of users avatar - * @param string $avatar_height Height of users avatar - * @param string $alt Optional language string for alt tag within image, can be a language key or text - * - * @return string Avatar image - */ - function get_user_avatar($avatar, $avatar_type, $avatar_width, $avatar_height, $alt = 'USER_AVATAR') { - global $user, $config, $phpbb_root_path, $phpEx; - if (empty($avatar) || !$avatar_type) { - return ''; - } - $avatar_img = ''; - switch ($avatar_type) { - case AVATAR_UPLOAD: - $avatar_img = $phpbb_root_path . "download/file.$phpEx?avatar="; - break; - case AVATAR_GALLERY: - $avatar_img = $phpbb_root_path . $config['avatar_gallery_path'] . '/'; - break; - } - $avatar_img .= $avatar; - return '<img src="' . $avatar_img . '" width="' . $avatar_width . '" height="' . $avatar_height . '" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />'; - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/includes/gym_output.php b/phpBB/gym_sitemaps/includes/gym_output.php deleted file mode 100644 index 3f92db47b5..0000000000 --- a/phpBB/gym_sitemaps/includes/gym_output.php +++ /dev/null @@ -1,374 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_output.php 262 2010-04-20 11:06:58Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* gym_sitemaps Class -* www.phpBB-SEO.com -* @package GYM Sitemaps & RSS -*/ -class gym_output { - var $options = array(); - var $outputs = array(); - var $cache = array(); - var $gzip_config = array(); - /** - * constuctor - */ - function gym_output(&$gym_master) { - $this->gym_master = &$gym_master; - $this->options = &$this->gym_master->actions; - $this->outputs = &$this->gym_master->output_data; - $this->cache = &$this->gym_master->cache_config; - // Set up and check gzip handling - $this->init_gzip(); - if ($this->outputs['showstats']) { - if ( @function_exists('memory_get_usage') ) { - $this->outputs['mem_usage'] = memory_get_usage(); - } - } - // used to skip cache when auth items are not cached - // initialized after thanks to the & - $this->cache['do_cache'] = true; - } - /** - * do_output() is called when no cache file is available for the request - * Will filter cases, call function to build output and cache on the fly - * @access private - */ - function do_output() { - global $config, $phpEx, $phpbb_seo, $db; - if ($this->outputs['showstats']) { - $this->outputs['gen_data'] = sprintf('%.5f', $phpbb_seo->microtime_float() - $this->outputs['microtime']); - $mem_stats = $this->mem_usage(); - $this->outputs['data'] .= "\n" . sprintf($this->gym_master->style_config['stats_genlist'], $this->outputs['gen_data'], $mem_stats, $db->sql_num_queries(), $this->outputs['url_sofar']); - } - if ($this->cache['cache_enable']) { - $this->write_cache(); - if ($this->check_cache($this->cache['file'])) { - $this->cache_output(); - } else { - $this->otf_output(); - } - } else { - $this->otf_output(); - } - return; - } - /** - * cache_output() is called to output from a cached file - * Build the last stats, send the header and output the cached file - * @access private - */ - function cache_output() { - global $phpbb_seo, $db; - if ($this->outputs['showstats']) { - $this->outputs['gen_out'] = sprintf('%.5f', $phpbb_seo->microtime_float() - $this->outputs['microtime']); - $genstats = sprintf($this->gym_master->style_config['stats_start'], $this->outputs['gen_out'], $db->sql_num_queries()); - } else { - $genstats = ''; - } - if ($this->gzip_config['gzip']) { - $this->send_header(); - readfile($this->cache['file']); - } else { - $this->send_header(); - if ($this->cache['cache_force_gzip']) { - readgzfile($this->cache['file']); - if ($this->outputs['showstats']) { - $this->outputs['gen_out'] = sprintf('%.5f', $phpbb_seo->microtime_float() - $this->outputs['microtime']); - $genstat2 = sprintf($this->gym_master->style_config['stats_end'], $this->outputs['gen_out'], $db->sql_num_queries()); - echo $genstats . $genstat2; - } - } else { - readfile($this->cache['file']); - if ($this->outputs['showstats']) { - $this->outputs['gen_out'] = sprintf('%.5f', $phpbb_seo->microtime_float() - $this->outputs['microtime']); - $genstat2 = sprintf($this->gym_master->style_config['stats_end'], $this->outputs['gen_out'], $db->sql_num_queries()); - echo $genstats . $genstat2; - } - } - } - $this->gym_master->safe_exit(); - return; - } - /** - * otf_output() will do the output on the fly - * when cache disabled or caching failed - * @access private - */ - function otf_output() { - global $lang,$phpbb_seo; - // Unset lang array before output - unset($lang); - if ($this->gzip_config['gzip']) { - $this->outputs['data'] = gzencode($this->outputs['data'], $this->gym_master->gzip_config['gzip_level']); - $this->send_header(); - echo $this->outputs['data']; - unset($this->outputs['data']); - - } else { - $this->send_header(); - echo $this->outputs['data']; - if ($this->outputs['showstats']) { - $mem_stats = $this->mem_usage(); - $this->outputs['gen_out'] = sprintf('%.5f', $phpbb_seo->microtime_float() - $this->outputs['microtime']); - $genstats = sprintf($this->gym_master->style_config['stats_nocache'], $this->outputs['gen_out'], $mem_stats); - echo $genstats; - } - unset($this->outputs['data']); - } - $this->gym_master->safe_exit(); - return; - } - /** - * send_header() takes care about headers - * @access private - */ - function send_header() { - global $user; - if (!empty($_SERVER['SERVER_SOFTWARE']) && strstr($_SERVER['SERVER_SOFTWARE'], 'Apache/2')) { - header ('Cache-Control: no-cache, pre-check=0, post-check=0, max-age=0'); - } else { - header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0'); - } - $content_types = array('rss' => 'application/rss+xml', 'google' => 'text/xml', 'yahoo' => 'text/plain'); - if (stripos($user->browser, 'YahooFeedSeeker') === false) { - if ($this->gym_master->actions['action_type'] === 'rss' && ( $this->gym_master->gym_config['rss_xslt'] && $this->gym_master->gym_config['rss_force_xslt'] ) ) { - $content_types['rss'] = 'text/xml'; - } - } - header('Expires: '. $this->outputs['expires_time']); - header('Last-Modified: ' . gmdate('D, d M Y H:i:s \G\M\T', $this->outputs['last_mod_time'])); - if (!empty($this->outputs['etag'])) { - header('Etag: ' . $this->outputs['etag']); - } - header('Accept-Ranges: bytes'); - header('Content-type: ' . $content_types[$this->gym_master->actions['action_type']] . '; charset=UTF-8'); - if ($this->gzip_config['gzip']) { - header('Content-Encoding: ' . $this->check_gzip_type()); - } - return; - } - - // --> RSS functions <-- - - // --> Cache function <-- - /** - * setup_cache Check and cache set up - * @access private - */ - function setup_cache() { - global $phpbb_seo; - // For module inclusion in ACP : No cache - if ( defined('ADMIN_START') ) { - return; - } - // build cache file name - $ssl_bit = $phpbb_seo->ssl['use'] ? 'ssl_' : ''; - $file_name = ( !empty($this->options['module_sub']) ? $this->options['module_sub'] : '' ) . trim(str_replace(array('&', '/'), '-', $this->options['extra_params_full']),'-') . '-a' . $this->options['auth_param']; - if ($this->gym_master->gym_config['gym_cript_cache']) { - $file_name = md5( $file_name ); - } - $file_name = $this->gym_master->actions['action_type'] . '_' . ( ( !empty($this->options['module_main']) ) ? $this->options['module_main'] . '_' : 'main_' ) . $ssl_bit . $file_name . $this->cache['cache_file_ext']; - $this->cache['file'] = $this->gym_master->path_config['gym_path'] . 'cache/' . $file_name; - // Output, first check cache - if ($this->cache['do_cache'] && $this->check_cache($this->cache['file'])) { - // Check expiration - $this->cache['cache_born'] = filemtime($this->cache['file']); - $this->cache['cache_too_old'] = ($this->cache['cache_born'] + $this->cache['cache_max_age']) <= $this->outputs['time'] ? true : false; - if ($this->cache['cache_too_old'] && $this->cache['cache_auto_regen']) { - @unlink($this->cache['file']); - $this->cache['cached'] = false; - } - } - // Expiration time & Etags - if (!$this->cache['cached'] || !$this->cache['do_cache']) { - // Take care about lastmod when not cached - if (($this->outputs['last_mod_time'] + $this->cache['cache_max_age']) <= $this->outputs['time']) { - $this->outputs['last_mod_time'] = $this->outputs['time']; - $this->outputs['expires_time'] = gmdate('D, d M Y H:i:s \G\M\T', ($this->outputs['time'] + $this->cache['cache_max_age'])); - $this->outputs['etag'] = md5($this->outputs['expires_time'] . $this->cache['file']); - $this->update_lastmod(); - } else { - $this->outputs['expires_time'] = gmdate('D, d M Y H:i:s \G\M\T', ($this->outputs['last_mod_time'] + $this->cache['cache_max_age'])); - $this->outputs['etag'] = md5($this->outputs['expires_time'] . $this->cache['file']); - } - $this->check_mod_since(); - } else { - $this->outputs['last_mod_time'] = $this->cache['cache_born']; - $this->outputs['expires_time'] = gmdate('D, d M Y H:i:s \G\M\T', ($this->outputs['last_mod_time'] + $this->cache['cache_max_age'])); - $this->outputs['etag'] = md5($this->outputs['expires_time'] . $this->cache['file']); - $this->check_mod_since(); - $this->cache_output(); - } - - return; - } - /** - * update_lastmod Update the lastmod date, used when cache is not actvated. - * @access private - */ - function update_lastmod() { - global $config; - $config_name = $this->options['action_type'] . '_' . (!empty($this->options['module_main']) ? $this->options['module_main'] . '_' : '') . 'last_mod_time'; - $config_value = $this->outputs['last_mod_time'] > $config['board_startdate'] ? $this->outputs['last_mod_time'] : $this->outputs['time']; - set_config($config_name, $config_value, 1); - - return; - } - /** - * mem_usage() - * @access private - */ - function mem_usage() { - if (function_exists('memory_get_usage')) { - if ($memory_usage = memory_get_usage()) { - $memory_usage -= $this->outputs['mem_usage']; - $memory_usage = ($memory_usage >= 1048576) ? round((round($memory_usage / 1048576 * 100) / 100), 2) . ' MB' : (($memory_usage >= 1024) ? round((round($memory_usage / 1024 * 100) / 100), 2) . ' Kb' : $memory_usage . ' b'); - return "( Mem Usage : $memory_usage )"; - } - } - return ''; - } - /** - * check_mod_since() will exit with 304 Not Modified header - * and exit upon HTTP_IF_MODIFIED_SINCE or HTTP_IF_NONE_MATCH Checks - * @access private - */ - function check_mod_since() { - if ($this->cache['mod_since']) { - $http = 'HTTP/1.1 '; - if (isset($_SERVER['HTTP_IF_NONE_MATCH'])) { - if ($_SERVER['HTTP_IF_NONE_MATCH'] == $this->outputs['etag']) { - header($http . ' 304 Not Modified'); - $this->gym_master->safe_exit(); - } - } - if(isset($_SERVER['HTTP_IF_MODIFIED_SINCE'])) { - if (strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) == $this->outputs['last_mod_time']) { - header($http . ' 304 Not Modified'); - $this->gym_master->safe_exit(); - } - } - } - return; - } - /** - * check_cache($file) will tell if the required file exists. - * @access private - */ - function check_cache($file) { - if(!$this->cache['cache_enable']) { - $this->cache['cached'] = false; - return false; - } - if(!@file_exists($file)) { - $this->cache['cached'] = false; - return false; - } - $this->cache['cached'] = true; - return true; - } - /** - * write_cache( $action, $id = 0 ) will write the cached file. - * @access private - */ - function write_cache() { - if(!$this->cache['cache_enable'] or !$this->cache['do_cache']) { - return false; - } - $file = $this->cache['file']; - if ($this->gzip_config['gzip'] || $this->cache['cache_force_gzip']) { - $handle = @gzopen($file, 'wb'); - @flock($handle, LOCK_EX); - @gzwrite($handle, $this->outputs['data']); - @flock($handle, LOCK_UN); - @gzclose ($handle); - } else { - $handle = @fopen($file, 'wb'); - @flock($handle, LOCK_EX); - @fwrite($handle, $this->outputs['data']); - @flock($handle, LOCK_UN); - @fclose ($handle); - } - $this->update_lastmod(); - @umask(0000); - @chmod($file, 0666); - return true; - } - // --> Gun-Zip handeling <-- - /** - * init_gzip (). - * Check if gzip is available and set proper values for this event - * if phpBB gun-zip is acvtivated, then it must be in the module - * @access private - */ - function init_gzip() { - global $config; - $this->gzip_config['gzip'] = $config['gzip_compress'] ? 1 : intval($this->gym_master->set_module_option('gzip', $this->gym_master->override['gzip'])); - // if gunzip is only activated for GYM, we turn it on for phpBB also - if ($this->gzip_config['gzip'] && !$config['gzip_compress']) { - $config['gzip_compress'] = 1; - } - if (!$this->check_gzip() && $this->gzip_config['gzip']) { - $this->gzip_config['gzip'] = false; - } - $this->gym_master->url_config['gzip_ext_out'] = $this->gzip_config['gzip'] ? '.gz' : ''; - $this->gym_master->url_config['gzip_ext_out'] = (intval($this->gym_master->set_module_option('gzip_ext', $this->gym_master->override['gzip'])) > 0) ? $this->gym_master->url_config['gzip_ext_out'] : ''; - $this->check_requested_ext(); - return; - } - /** - * check_gzip() tells is Gun-Zip is available - * @access private - */ - function check_gzip() { - if (headers_sent()) { - return false; - } - if (!empty($_SERVER['HTTP_ACCEPT_ENCODING']) && ( (strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') !==false ) || strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'x-gzip') !==false ) ) { - return true; - } else { - return false; - } - return; - } - /** - * check_gzip_type() return the user's Gun-Zip type - * @access private - */ - function check_gzip_type() { - if (strpos($_SERVER['HTTP_ACCEPT_ENCODING'],'gzip') !==false ) { - return 'gzip'; - } elseif (strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'x-gzip') !==false ) { - return 'x-gzip'; - } - return 'gzip'; - } - /** - * check_requested_ext($uri) will force the .gz extention if required - * @access private - */ - function check_requested_ext() { - global $phpbb_seo, $phpEx; - return; - $uri = $phpbb_seo->seo_path['uri']; - if ( ( strpos($phpbb_seo->seo_path['uri'], '.gz') !== false ) && ($this->ext_config['gzip_ext_out'] == '') && !strpos($uri, $phpEx)) { - $uri = str_replace ('.gz', "", $uri); - $url= $this->path_config['root_url'] . ltrim($uri, '/'); - $this->gym_master->gym_redirect($url); - } elseif ( ( strpos($uri, '.gz') === false ) && ($this->ext_config['gzip_ext_out'] != '') && !strpos($uri, $phpEx)) { - $uri = $uri . '.gz'; - $url= $this->path_config['root_url'] . ltrim($uri, '/'); - $this->gym_master->gym_redirect($url); - } - return; - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/includes/gym_rss.php b/phpBB/gym_sitemaps/includes/gym_rss.php deleted file mode 100644 index 853f585b33..0000000000 --- a/phpBB/gym_sitemaps/includes/gym_rss.php +++ /dev/null @@ -1,715 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_rss.php 272 2010-11-21 13:56:31Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_sitemaps.' . $phpEx); -/** -* gym_rss Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class gym_rss extends gym_sitemaps { - var $rss_config = array(); - /** - * constuctor - */ - function gym_rss() { - global $phpbb_seo, $phpEx, $config, $user; - global $db, $auth; - $this->gym_sitemaps('rss'); - // init output - $this->output_data['showstats'] = (boolean) ($this->gym_config['gym_showstats'] || $this->gym_config['rss_showstats']); - // Check the main vars - $this->init_get_vars(); - // url without IDs like forum feed url in case the phpBB SEO mod are used and set so - // and basic parameter for url such as blabla/news/digest/long/module-rss.xml => gymrss.php?module=blabla&news&digest&long - if ( isset($_GET['nametoid']) && !empty($_GET['nametoid']) && isset($_GET['modulename']) && !empty($_GET['modulename']) && empty($this->actions['module_main']) && empty($this->actions['module_sub']) ) { - $module_name = trim(strtolower($_GET['modulename'])); - // is the module available ? - if (in_array($module_name, $this->actions['action_modules'])) { - $this->actions['module_main'] = $module_name; - // Do we get an id (?module=id) - if ($id = @array_search(trim($_GET['nametoid']), $phpbb_seo->cache_config[$module_name]) ) { - $this->actions['module_sub'] = intval($id); - } else { // Pass the variable to the script ?module_name=$_GET['nametoid'] - $this->actions['module_sub'] = trim(utf8_htmlspecialchars(str_replace(array("\n", "\r"), '', $_GET['nametoid']))); - } - } - - } - if (empty($this->actions['action_modules'])) { - $this->gym_error(404, '', __FILE__, __LINE__); - } - // Set last mod time from DB, will only be used as his for general feeds and channel lists - // put it into phpbb config for the dynamic property. - $config_name = $this->actions['action_type'] . '_' . (!empty($this->actions['module_main']) ? $this->actions['module_main'] . '_' : '') . 'last_mod_time'; - if (@$config[$config_name] < $config['board_startdate']) { - set_config($config_name, $user->time_now, 1); - } - $this->output_data['last_mod_time'] = intval($config[$config_name]); - // Init the output class - $this->gym_init_output(); - // Setup the output - $this->cache_config = array_merge( - // Global - $this->cache_config, - // Other stuff required here - array( - 'cache_enable' => (boolean) $this->set_module_option('cache_on', $this->override['cache']), - 'cache_auto_regen' => (boolean) $this->set_module_option('cache_auto_regen', $this->override['cache']), - 'cache_force_gzip' => (boolean) $this->set_module_option('cache_force_gzip', $this->override['cache']), - 'cache_born' => $this->output_data['last_mod_time'], - 'cache_max_age' => round($this->set_module_option('cache_max_age', $this->override['cache']),2) * 3600, - 'cache_file_ext' => ( $this->gym_output->gzip_config['gzip'] || $this->gym_config['rss_cache_force_gzip'] ) ? '.xml.gz' : '.xml', - ) - ); - // Can you believe it, sprintf is faster than straight parsing. - $this->style_config = array( - 'rss_header' => '<'.'?xml version="1.0" encoding="utf-8"?'.'>%s' . "\n" . '<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"' . "\n\t" . 'xmlns:content="http://purl.org/rss/1.0/modules/content/"' . "\n\t" . 'xmlns:atom="http://www.w3.org/2005/Atom">' . "\n" . '<!-- Generated by Google Yahoo MSN Sitemaps and RSS %s - © 2006, ' . date('Y') . ' www.phpBB-SEO.com -->', - 'rss_footer' => "\n\t" . '</channel>' . "\n" . '</rss>', - 'rss_item_tpl' => "\n\t\t" . '<item>' . "\n\t\t\t" . '<title>%1$s</title>'. "\n\t\t\t" . '<link>%2$s</link>%3$s' . "\n\t\t\t" . '<description>%4$s</description>%8$s' . "\n\t\t\t" . '<source url="%5$s">%6$s</source>' . "\n\t\t\t" . '<guid isPermaLink="true">%7$s</guid>' . "\n\t\t" . '</item>', - 'rsschan_tpl' => "\n\t" . '<channel>' . "\n\t\t" . '<title>%1$s</title>' . "\n\t\t" . '<link>%2$s</link>' . "\n\t\t" . '<description>%3$s</description>%4$s' . "\n\t\t" . '%5$s' . "\n\t\t" . '<docs>http://blogs.law.harvard.edu/tech/rss</docs>' . "\n\t\t" . '<generator>Google Yahoo MSN Sitemaps and RSS ' . $this->gym_config['gym_version'] . ' - © 2006, ' . date('Y') . ' www.phpBB-SEO.com</generator>%6$s' . "\n\t\t" . '<atom:link href="%7$s" rel="self" type="application/rss+xml" />%8$s', - 'rsschan_input_tpl' => "\n\t\t" . '<textInput>' . "\n\t\t\t" . '<title>%1$s</title>' . "\n\t\t\t" . '<description>%2$s</description>' . "\n\t\t\t" . '<link>%3$s</link>' . "\n\t\t\t" . '<name>%4$s</name>' . "\n\t\t" . '</textInput>' . "\n", - 'rsschan_img_tpl' => '<image>' . "\n\t\t\t" . '<title>%1$s</title>' . "\n\t\t\t" . '<url>%2$s</url>' . "\n\t\t\t" . '<link>%3$s</link>' . "\n\t\t" . '</image>', - 'chan_lastbuildate_tpl' => "\n\t\t" . '<lastBuildDate>%1$s</lastBuildDate>', - 'chan_ttl_tpl' => "\n\t\t" . '<ttl>%1$s</ttl>', - 'item_pubdate_tpl' => "\n\t\t\t" . '<pubDate>%1$s</pubDate>', - 'item_creator_tpl' => "\n\t\t\t" . '<dc:creator>%1$s</dc:creator>', - 'xslt_style' => '', - 'stats_genlist' => "\n" . '<!-- URL list generated in %s s %s - %s sql - %s URLs listed -->', - 'stats_start' => "\n" . '<!-- Output started from cache after %s s - %s sql -->', - 'stats_nocache' => "\n" . '<!-- Output ended after %s s %s -->', - 'stats_end' => "\n" . '<!-- Output from cache ended up after %s s - %s sql -->', - ); - $rss_limit_time = (int) $this->set_module_option('limit_time', $this->override['limit']); - $rss_lang = trim($this->set_module_option('lang', $this->gym_config['rss_override'])); - $this->rss_config = array( 'rss_c_info' => ( !empty($this->gym_config['rss_c_info'])) ? "\n\t\t" . '<copyright>' . $this->xml_encode($this->gym_config['rss_c_info']) . '</copyright>' : '', - 'rss_xslt' => ( $this->gym_config['rss_xslt'] ) ? true : false, - 'rss_force_xslt' => ( $this->gym_config['rss_xslt'] && $this->gym_config['rss_force_xslt'] ) ? true : false, - 'rss_lang' => ( !empty($rss_lang) ) ? "\n\t\t" . '<language>' . $this->xml_encode($rss_lang) . '</language>' : '', - 'rss_url' => $phpbb_seo->sslify($this->gym_config['rss_url'], $phpbb_seo->ssl['use'], false), - 'rss_yahoo_appid' => ( !empty($this->gym_config['rss_yahoo_appid']) ) ? trim($this->gym_config['rss_yahoo_appid']) : '', - // module specific settings we should often need in module - // Some are used here to filter the allowed actions, will go to main default if unset in the module - 'rss_url_limit' => (int) $this->set_module_option('url_limit', $this->override['limit']), - 'rss_sql_limit' => (int) $this->set_module_option('sql_limit', $this->override['limit']), - 'rss_limit_time' => ( $rss_limit_time >= 0 ) ? $rss_limit_time*3600*24 : 0, - 'rss_modrewrite' => (int) $this->set_module_option('modrewrite', $this->override['modrewrite']), - 'rss_modrtype' => (int) $this->set_module_option('modrtype', $this->override['modrewrite']), - 'rss_sitename' => $this->set_module_option('sitename'), - 'rss_site_desc' => $this->set_module_option('site_desc'), - 'rss_logo_url' => $this->path_config['gym_img_url'] . trim($this->set_module_option('logo_url'), '/'), - 'rss_image_url' => $this->path_config['gym_img_url'] . trim($this->set_module_option('image_url'), '/'), - 'rss_sort' => $this->set_module_option('sort', $this->override['sort']), - 'rss_allow_auth' => (boolean) $this->set_module_option('allow_auth', $this->gym_config['rss_override']), - 'rss_cache_auth' => (boolean) $this->set_module_option('cache_auth', $this->gym_config['rss_override']), - 'rss_allow_content' => (boolean) $this->set_module_option('allow_content', $this->gym_config['rss_override']), - 'rss_allow_news' => (boolean) $this->set_module_option('allow_news', $this->gym_config['rss_override']), - 'rss_news_update' => round($this->set_module_option('news_update', $this->gym_config['rss_override']), 2) * 3600, - 'rss_allow_profile' => (boolean) $this->set_module_option('allow_profile', $this->gym_config['rss_override']), - 'rss_allow_profile_links' => (boolean) $this->set_module_option('allow_profile_links', $this->gym_config['rss_override']), - 'rss_sumarize' => (int) $this->set_module_option('sumarize', $this->gym_config['rss_override']), - 'rss_sumarize_method' => trim($this->set_module_option('sumarize_method', $this->gym_config['rss_override'])), - 'rss_allow_short' => (boolean) $this->set_module_option('allow_short', $this->gym_config['rss_override']), - 'rss_allow_long' => (boolean) $this->set_module_option('allow_long', $this->gym_config['rss_override']), - 'rss_allow_bbcode' => (boolean) $this->set_module_option('allow_bbcode', $this->gym_config['rss_override']), - 'rss_strip_bbcode' => trim($this->set_module_option('strip_bbcode', $this->gym_config['rss_override'])), - 'rss_allow_links' => (boolean) $this->set_module_option('allow_links', $this->gym_config['rss_override']), - 'rss_allow_emails' => (boolean) $this->set_module_option('allow_emails', $this->gym_config['rss_override']), - 'rss_allow_smilies' => (boolean) $this->set_module_option('allow_smilies', $this->gym_config['rss_override']), - 'rss_yahoo_notify' => (boolean) $this->set_module_option('yahoo_notify', $this->gym_config['rss_override']), - 'rss_nohtml' => (boolean) $this->set_module_option('nohtml', $this->gym_config['rss_override']), - //@TODO add acp option for this ? - 'rss_display_author' => /*(boolean) $this->set_module_option('display_author', $this->gym_config['rss_override'])*/ true, - 'rss_yahoo_notify_url' => '', - 'rss_msg_filters' => array(), - 'rss_auth_msg' => '', - 'rss_do_explain' => false, - ); - $this->rss_config['rss_auth_guest'] = ($this->rss_config['rss_allow_auth'] && $user->data['is_registered']) ? false : true; - $this->cache_config['do_cache'] = $this->rss_config['rss_auth_guest'] ? true : $this->rss_config['rss_cache_auth']; - // remind for later - $this->rss_config['rss_profile_mode'] = $this->rss_config['rss_allow_profile_links'] ? 'full' : 'no_profile'; - // Check the rss specific vars and do basic set_up for msg output - $this->init_rss_vars(); - - if (!$this->rss_config['rss_auth_guest']) { - $this->rss_config['rss_auth_msg'] = "\n" . ( ($this->actions['rss_channel_list'] || empty($this->actions['module_sub']) || $this->actions['module_sub'] == 'channels') ? sprintf($user->lang['RSS_AUTH_SOME_USER'], $user->data['username'] ) : sprintf($user->lang['RSS_AUTH_THIS_USER'], $user->data['username'] ) ) . "\n"; - } - // Are we going to explain ? - if (!empty($_REQUEST['explain']) && $auth->acl_get('a_') && defined('DEBUG_EXTRA') && method_exists($db, 'sql_report')) { - $this->rss_config['rss_do_explain'] = true; - $this->cache_config['do_cache'] = false; - } - $this->rss_output(); - if ($this->rss_config['rss_do_explain']) { - $db->sql_report('display'); - } else { - $this->gym_output->do_output(); - } - return; - } - /** - * init_rss_vars() - * Set up the specific rss modules GET vars. - * @access private - */ - function init_rss_vars() { - global $user, $phpEx, $phpbb_seo; - // Let's now check out if it's a GYM 1.x URL - if ($this->gym_config['rss_1xredir'] && !empty($_GET['gym1x'])) { - $this->actions['gym1x_newurl'] = '/' . (isset($_GET['m']) ? 'digest/' : '' ) . (isset($_GET['l']) ? 'long/' : (isset($_GET['s']) ? 'short/' : '' ) ); - $this->actions['gym1x_newurl'] = empty($this->actions['module_main']) ? 'rss' . $this->actions['gym1x_newurl'] . 'rss.xml' : (empty($_GET['gymtitle']) ? 'rss' . $this->actions['gym1x_newurl'] . (!empty($this->actions['module_sub']) ? $this->actions['module_sub'] . '/' : '' ) . $this->actions['module_main'] . '.xml' : $phpbb_seo->set_url($_GET['gymtitle'], (int) $this->actions['module_sub'], 'forum') . $this->actions['gym1x_newurl'] . $this->actions['module_main'] . '.xml'); - // nothing else needed for this - return; - - } - $this->actions['rss_content'] = $this->actions['rss_short_list'] = $this->actions['rss_long_list'] = $this->actions['rss_channel_list'] = $this->actions['rss_news_list'] = false; - $this->rss_config['extra_title'] = $this->url_config['extra_params_full'] = $this->url_config['extra_params'] = ''; - $this->url_config['rss_announces_path'] = $phpbb_seo->seo_static['global_announce'] . '/'; - // Channel list - if ( ( $module_sub_chan = ($this->actions['module_sub'] === 'channels' ? true : false) ) || (isset($_GET['channels']) && empty($this->actions['module_main']) ) ) { - $this->actions['rss_channel_list'] = true; - $this->rss_config['extra_title'] = ' - ' . $user->lang['RSS_CHAN_LIST_TITLE']; - if ($this->rss_config['rss_modrewrite'] || !$module_sub_chan) { - $this->url_config['extra_params_full'] .= 'channels/'; - } - } - // News = first message only - if ( isset($_GET['news']) && $this->rss_config['rss_allow_news']) { - $this->actions['rss_news_list'] = true; - $this->rss_config['extra_title'] .= ' - ' . $user->lang['RSS_NEWS']; - $this->url_config['extra_params_full'] .= 'news/'; - $this->url_config['extra_params'] .= 'news/'; - if (!empty($this->rss_config['rss_news_update'])) { - $this->cache_config['cache_max_age'] = $this->rss_config['rss_news_update']; - } - unset($_GET['channels']); // no channel listing - } - // Do we output text ? - if ( isset($_GET['digest']) && $this->rss_config['rss_allow_content'] ) { - $this->actions['rss_content'] = true; - $this->rss_config['extra_title'] .= ' - ' . $user->lang['RSS_CONTENT']; - $this->url_config['extra_params_full'] .= 'digest/'; - $this->url_config['extra_params'] .= 'digest/'; - $this->rss_config['rss_url_limit'] = intval($this->set_module_option('url_limit_msg', $this->gym_config['rss_override'])); - $this->rss_config['rss_sql_limit'] = intval($this->set_module_option('sql_limit_msg', $this->gym_config['rss_override'])); - } - // Custom limits short - if ( isset($_GET['short']) && $this->rss_config['rss_allow_short'] ) { - $this->actions['rss_short_list'] = true; - $this->rss_config['extra_title'] .= ' - ' . $user->lang['RSS_SHORT']; - $this->url_config['extra_params_full'] .= 'short/'; - $this->url_config['extra_params'] .= 'short/'; - $this->rss_config['rss_url_limit'] = $this->actions['rss_content'] ? intval($this->rss_config['rss_url_limit']/3) : intval($this->set_module_option('url_limit_short', $this->gym_config['rss_override'])); - $this->rss_config['rss_sql_limit'] = $this->actions['rss_content'] ? intval($this->rss_config['rss_url_limit']/2) : intval($this->set_module_option('sql_limit_short', $this->gym_config['rss_override'])); - } - // Custom limits long - if ( isset($_GET['long']) && !$this->actions['rss_short_list'] && $this->rss_config['rss_allow_long'] ) { - $this->actions['rss_long_list'] = true; - $this->rss_config['extra_title'] .= ' - ' . $user->lang['RSS_LONG']; - $this->url_config['extra_params_full'] .= 'long/'; - $this->url_config['extra_params'] .= 'long/'; - $this->rss_config['rss_url_limit'] = $this->actions['rss_content'] ? intval($this->rss_config['rss_url_limit']*3) : intval($this->set_module_option('url_limit_long', $this->gym_config['rss_override'])); - $this->rss_config['rss_sql_limit'] = $this->actions['rss_content'] ? intval($this->rss_config['rss_url_limit']*2) : intval($this->set_module_option('sql_limit_long', $this->gym_config['rss_override'])); - } - // Adjust variable a bit - if ($this->actions['rss_content'] ) { // requested and auth - $this->rss_config['rss_msg_filters'] = $this->set_msg_strip($this->rss_config['rss_strip_bbcode']); - } - $this->url_config['extra_params_delimE'] = $this->url_config['extra_paramsE'] = ''; - $this->url_config['extra_params_delimQ'] = $this->url_config['extra_paramsQ'] = ''; - $this->url_config['rss_vpath'] = ''; - if ($this->rss_config['rss_modrewrite']) { - $this->actions['extra_params'] = $this->url_config['extra_params']; - $this->actions['extra_params_full'] = $this->url_config['extra_params_full']; - $this->url_config['extra_params_delimE'] = '/'; - $this->url_config['extra_params_delimQ'] = '?'; - $this->url_config['rss_vpath'] = 'rss/'; // virtual rss path for forum RSS feed URLs etc ... - $this->url_config['rss_default'] = 'rss.xml' . $this->url_config['gzip_ext_out'] ; - if (!empty($this->url_config['extra_params'])) { - $this->url_config['extra_paramsE'] = $this->url_config['extra_params']; - $this->url_config['extra_paramsQ'] = $this->url_config['extra_params_delimQ'] . $this->url_config['extra_params']; - } - } else { - $this->url_config['extra_params'] = str_replace('/', '&', trim($this->url_config['extra_params'], '/')); - $this->actions['extra_params_full'] = str_replace('/', '&', trim($this->url_config['extra_params_full'], '/')); - $this->url_config['extra_params_delimE'] = '&'; - $this->url_config['extra_params_delimQ'] = '?'; - if (!empty($this->url_config['extra_params'])) { - $this->url_config['extra_paramsE'] = $this->url_config['extra_params_delimE'] . $this->url_config['extra_params']; - $this->url_config['extra_paramsQ'] = $this->url_config['extra_params_delimQ'] . $this->url_config['extra_params']; - } - } - } - /** - * forum_rss_url() builds rss forum url with proper options - * Suffixe is not added here, to properly deal with pagination - */ - function forum_rss_url($forum_name, $forum_id) { - global $phpbb_seo; - return !empty($phpbb_seo->cache_config['forum'][$forum_id]) ? $phpbb_seo->cache_config['forum'][$forum_id] : $phpbb_seo->format_url( $forum_name, 'forum' ) . $this->url_config['rss_forum_delim'] . $forum_id; - } - /** - * rss_output() will build all rss output - * @access private - */ - function rss_output() { - global $phpEx, $db, $config, $phpbb_root_path, $user, $phpbb_seo; - // Initialize SQL cycling : do not query for more than required - $this->rss_config['rss_sql_limit'] = ($this->rss_config['rss_sql_limit'] > $this->rss_config['rss_url_limit']) ? $this->rss_config['rss_url_limit'] : $this->rss_config['rss_sql_limit']; - // XSLT styling - if ($this->rss_config['rss_xslt']) { - // here we could go further and allow user style to be used, would need to parse the cache a bit, - // but, unlike Google sitemaps, RSS feeds are decently small for that. - $this->style_config['xslt_style'] = "\n" . '<'.'?xml-stylesheet type="text/xsl" href="' . $phpbb_seo->seo_path['phpbb_url'] . 'gym_sitemaps/gym_style.' . $phpEx . '?action-rss,type-xsl,lang-' . $config['default_lang'] . ',theme_id-' . $config['default_style'] . '" media="screen, projection" ?'.'>'; - $blanc_fix = ''; - if ($this->rss_config['rss_force_xslt']) { - // FF 2 and IE7 only look for the first 500 chars to decide if it's rss or not - // and impose their private styling - for ($i=0; $i<550; $i++) { - $blanc_fix .= ' '; - } - $blanc_fix = "\n" . '<!-- Some spaces ' . $blanc_fix . ' to force xlst -->'; - } - $this->style_config['xslt_style'] .= $blanc_fix; - } - // Remove guid for channels - if ($this->actions['rss_channel_list']) { - $this->style_config['rss_item_tpl'] = str_replace("\n\t\t\t" . '<guid isPermaLink="true">%s</guid>', '', $this->style_config['rss_item_tpl']); - } - // custom url transition message - if (!empty($this->actions['gym1x_newurl'])) { - $chan_title = $user->lang['RSS_1XREDIR'] . ' - ' . $this->gym_config['rss_sitename']; - $chan_desc = $user->lang['RSS_1XREDIR_MSG'] . ' : ' . $this->parse_link($this->actions['gym1x_newurl']) . "\n" . $this->gym_config['rss_site_desc']; - $rss_new_url = $this->rss_config['rss_url'] . $this->actions['gym1x_newurl']; - $this->output_data['data'] = sprintf($this->style_config['rss_header'], $this->style_config['xslt_style'], $this->gym_config['gym_version'] ); - $this->parse_channel($chan_title, $chan_desc, $rss_new_url, $this->output_data['last_mod_time'], $this->rss_config['rss_image_url'], $rss_new_url); - $this->parse_item($chan_title, $chan_desc, $rss_new_url, $rss_new_url, '', $this->output_data['last_mod_time']); - $this->output_data['data'] .= $this->style_config['rss_footer']; - return; - } - // module action - if (in_array($this->actions['module_main'], $this->actions['action_modules'])) { // List item from the module - $module_class = $this->actions['action_type'] . '_' . $this->actions['module_main']; - $this->load_module($module_class, 'rss_module'); - if ( empty($this->output_data['url_sofar']) ) { - $this->gym_error(404, 'GYM_TOO_FEW_ITEMS', __FILE__, __LINE__); - } - $this->output_data['data'] = sprintf($this->style_config['rss_header'], $this->style_config['xslt_style'], $this->gym_config['gym_version'] ) . $this->output_data['data'] . $this->style_config['rss_footer']; - } else { // Add items from installed modules - $site_title = $this->gym_config['rss_sitename']; - $site_desc = $this->gym_config['rss_site_desc'] . "\n"; - if ($this->actions['rss_channel_list']) { - $chan_source = $this->rss_config['rss_url'] . $this->url_config['rss_vpath'] . (($this->rss_config['rss_modrewrite']) ? (!empty($this->url_config['extra_params']) ? $this->url_config['extra_params'] : '') : $this->url_config['rss_default'] . $this->url_config['extra_params_delimQ'] . $this->actions['extra_params_full']); - $site_title_full = $site_title . $this->rss_config['extra_title']; - $site_desc .= $user->lang['RSS_CHAN_LIST_DESC'] . "\n"; - } else { - $chan_source = $this->rss_config['rss_url'] . $this->url_config['rss_vpath'] . (($this->rss_config['rss_modrewrite']) ? (!empty($this->url_config['extra_params']) ? $this->url_config['extra_params'] : '') . $this->url_config['rss_default'] : $this->url_config['rss_default'] . $this->url_config['extra_paramsQ']); - $site_title_full = $site_title . $this->rss_config['extra_title']; - } - $this->seo_kill_dupes($chan_source); - $this->parse_channel($site_title_full, $site_desc, $this->rss_config['rss_url'], $this->output_data['last_mod_time'], $this->rss_config['rss_image_url'], $chan_source); - // Since we are going to cycle through modules, we need to ajust URL limit and counting a bit - // URL limit, we take the last xx items from each feed - // where xx is the URL limit divided by the number of feeds - $this->rss_config['rss_url_limit'] = !empty($this->actions['action_modules']) ? intval($this->rss_config['rss_url_limit'] / count($this->actions['action_modules'])) : 0; - if ( empty($this->rss_config['rss_url_limit']) ) { - $this->gym_error(404, 'GYM_TOO_FEW_ITEMS', __FILE__, __LINE__); - } - // start the modules - // We are working on all available modules - $this->load_modules('rss_main'); - $this->output_data['url_sofar'] = $this->output_data['url_sofar_total']; - if ( empty($this->output_data['url_sofar']) ) { - $this->gym_error(404, 'GYM_TOO_FEW_ITEMS', __FILE__, __LINE__); - } - $this->output_data['data'] = sprintf($this->style_config['rss_header'], $this->style_config['xslt_style'], $this->gym_config['gym_version'] ) . $this->output_data['data'] . $this->style_config['rss_footer']; - } - if ( $this->rss_config['rss_yahoo_notify'] && ($this->output_data['time'] >= ($this->cache_config['cache_born'] + $this->cache_config['cache_max_age'])) ) { - $this->rss_yahoo_notify(); - } - return; - } - /** - * parse_channel() adds the channel info to the output - */ - function parse_channel($chan_title, $chan_desc, $chan_link, $lastBuildDate = 0, $chan_image = '', $chan_source = '') { - global $config, $user; - // Misc SQL Explain - global $auth; - if ( !empty($chan_source) && $auth->acl_get('a_') && defined('DEBUG_EXTRA')) { - if (!empty($_REQUEST['explain'])) { - return; - } - if (empty($user->lang['GYM_SQLEXPLAIN_MSG'])) { - $user->add_lang('gym_sitemaps/gym_common'); - } - $report_url = $chan_source . (strpos($chan_source, '?') !== false ? '&' : '?') . 'explain=1'; - $this->actions['sql_report_msg'] = "\n<i style=\"color:#CC0000\">" . sprintf($user->lang['GYM_SQLEXPLAIN_MSG'], $this->parse_link($report_url , $user->lang['GYM_SQLEXPLAIN'])) . '</i>'; - } - $lastBuildDate = intval($lastBuildDate); - if ( $lastBuildDate > $config['board_startdate']) { - $this->output_data['last_mod_time'] = $lastBuildDate; - if (( $this->cache_config['cache_max_age'] + $lastBuildDate) <= $this->output_data['time']) { - $ttl_time = (int) ($this->cache_config['cache_max_age'] / 60); - } else { - $ttl_time = ( $this->cache_config['cache_max_age'] + $lastBuildDate) - $this->output_data['time']; - } - $ttl = sprintf($this->style_config['chan_ttl_tpl'], intval( ( $ttl_time / 60)) ); - $lastBuildDate = sprintf($this->style_config['chan_lastbuildate_tpl'], gmdate('D, d M Y H:i:s \G\M\T', intval($lastBuildDate))); - } else { - $lastBuildDate = ''; - $ttl = ''; - } - $chan_image = !empty($chan_image) ? sprintf($this->style_config['rsschan_img_tpl'], $this->xml_encode($chan_title), $chan_image, $chan_link) : ''; - $input = !empty($chan_source) ? sprintf($this->style_config['rsschan_input_tpl'], $this->xml_encode($user->lang['RSS_2_LINK'] . ' : ' . $chan_title), $this->xml_encode($chan_desc . $user->lang['RSS_2_LINK']), $chan_source, 'gym_sitemaps') : ''; - - $this->output_data['data'] .= sprintf($this->style_config['rsschan_tpl'], $this->xml_encode($chan_title), $chan_link, $this->xml_encode($chan_desc . $this->rss_config['rss_auth_msg'] . $this->actions['sql_report_msg']), $lastBuildDate, $chan_image, $ttl, $chan_source, $input); - } - /** - * parse_item() adds the item info to the output - */ - function parse_item($item_title, $item_desc, $item_link, $item_source, $item_source_title = '', $pubDate = 0, $author = false) { - global $config; - $pubDate = $pubDate > $config['board_startdate'] ? sprintf($this->style_config['item_pubdate_tpl'], gmdate('D, d M Y H:i:s \G\M\T', intval($pubDate))) : ''; - $item_desc = $this->rss_config['rss_nohtml'] ? strip_tags($item_desc) : $item_desc; - $item_source_title = !empty($item_source_title) ? $item_source_title : $item_title; - $author = $author ? sprintf($this->style_config['item_creator_tpl'], $this->xml_encode($author)) : ''; - $this->output_data['data'] .= sprintf($this->style_config['rss_item_tpl'], $this->xml_encode($item_title), $item_link, $pubDate, $this->xml_encode($item_desc . $this->rss_config['rss_auth_msg']), $item_source, $this->xml_encode($item_source_title), $item_link, $author); - $this->output_data['url_sofar']++; - } - /** - * prepare_for_output($topic, $key = '') - * will put together BBcodes and smilies before the output - * @param array $topic - * @access private - */ - function prepare_for_output($topic, $key = '') { - global $config, $user, $phpbb_seo; - static $bbcode; - static $patterns; - static $replaces; - $bbcode_uid = $topic['bbcode_uid' . $key]; - $bitfield = $topic['bbcode_bitfield' . $key]; - $message_title = !empty($topic['post_subject' . $key]) ? $topic['post_subject' . $key] : $topic['topic_title']; - $message_title = censor_text($message_title); - $message = '<b>' . $message_title . '</b>' . "\n\n" . $topic['post_text' . $key]; - if (!isset($patterns)) { - if ( !empty($this->rss_config['rss_msg_filters']['pattern']) ) { - $patterns = $this->rss_config['rss_msg_filters']['pattern']; - $replaces = $this->rss_config['rss_msg_filters']['replace']; - } else { - $patterns = $replaces = array(); - } - } - if (!empty($patterns)) { - $message = preg_replace($patterns, $replaces, $message); - } - if ($this->rss_config['rss_sumarize'] > 0 ) { - $message = $this->summarize( $message, $this->rss_config['rss_sumarize'], $this->rss_config['rss_sumarize_method'] ); - // Clean broken tag at the end of the message - $message = preg_replace('`\<[^\<\>]*$`i', ' ...', $message); - // Close broken bbcode tags requiring it - $this->close_bbcode_tags($message, $bbcode_uid); - } - $message = censor_text($message); - if (!$this->rss_config['rss_nohtml']) { - if ($bitfield && $this->rss_config['rss_allow_bbcode']) { - if (!class_exists('bbcode')) { - global $phpbb_root_path, $phpEx; - include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); - } - if (empty($bbcode)) { - $bbcode = new bbcode($bitfield); - } else { - $bbcode->bbcode($bitfield); - } - if ( !$this->rss_config['rss_allow_links'] ) { - $message = preg_replace("`\[/?url(=.*)?\]`i", "", $message); - } - $bbcode->bbcode_second_pass($message, $bbcode_uid); - } - // Parse smilies - $message = $this->smiley_text($message, !($this->rss_config['rss_allow_smilies'] && $topic['enable_smilies' . $key])); - if ($this->rss_config['rss_sumarize'] > 0 ) { - // last clean up - static $_find = array('`\<\!--[^\<\>]+--\>`Ui', '`\[\/?[^\]\[]*\]`Ui'); - $message = preg_replace($_find, '', $message); - $message .= "\n\n" . '<a href="' . $topic['topic_url' . $key] . '"><b>' . $user->lang['RSS_MORE'] . ' ...</b></a>'. "\n\n"; - } - } else { - $message = strip_tags(preg_replace('`\[\/?[^\]\[]*\]`Ui', '', $message)); - } - return "\n" . $message; - } - /** - * close_bbcode_tags(&$message, $uid, $bbcodelist) - * will tend to do it nicely ;-) - * Will close the bbcode tags requiring it in the list (quote|b|u|i|color|*|list) - * Beware, bo not reduce $bbcodelist without knowing what you are doing - */ - function close_bbcode_tags(&$message, $uid, $bbcodelist = 'quote|b|u|i|color|*|list') { - global $config, $user, $phpbb_seo; - $open_lists = $close_lists = array(); - $bbcodelist = str_replace('|*', '|\*', $bbcodelist); - $open_count = preg_match_all('`\[(' . $bbcodelist . ')(\=([a-z0-9]{1}))?[^\]\[]*\:' . $uid . '\]`i', $message, $open_matches); - $close_count = preg_match_all('`\[/(' . $bbcodelist . ')(\:([a-z]{1}))?[^\]\[]*\:' . $uid . '\]`i', $message, $close_matches); - if ($open_count == $close_count) { // No need to go further - return; - } - if (!empty($open_matches[1])) { - $open_list = array_count_values($open_matches[1]); - $close_list = !empty($close_matches[1]) ? array_count_values($close_matches[1]) : array(); - $list_to_close = array(); - if (isset($open_list['list'])) { - foreach ($open_matches[1] as $k => $v) { - if ($v == 'list') { - $open_lists[] = !empty($open_matches[3][$k]) ? 'o' : 'u'; - } - } - if (!empty($close_matches[1])) { - foreach ($close_matches[1] as $k => $v) { - if ($v == 'list') { - $close_lists[] = !empty($close_matches[3][$k]) ? 'o' : 'u'; - } - } - } - $list_to_close = array_reverse(array_diff_assoc($open_lists, $close_lists)); - } - unset($open_list['*'], $open_list['list']); - foreach ($open_list as $bbcode => $total) { - if (empty($close_list[$bbcode]) || $close_list[$bbcode] < $total) { - // close the tags - $diff = empty($close_list[$bbcode]) ? $total : $total - $close_list[$bbcode]; - $message .= str_repeat("[/$bbcode:$uid]", $diff); - } - } - // Close the lists if required - foreach ($list_to_close as $ltype) { - $message .= "[/*:m:$uid][/list:$ltype:$uid]"; - } - } - return; - } - /** - * set_msg_strip($bbcode_list) will build up the unauthed bbcode list - * $bbcode_list = 'code:0,img:1,quote'; - * $bbcode_list = 'all'; - * 1 means the bbcode and it's content will be striped. - * all means all bbcodes. - * $returned_list = array('patern' => $matching_patterns, 'replace' => $replace_patterns); - * @access private - */ - function set_msg_strip($bbcode_list) { - $patterns = $replaces = array(); - // Now the bbcodes - if (!$this->rss_config['rss_allow_bbcode'] || preg_match('`all\:?([0-1]*)`i', $bbcode_list, $matches)) { - if ( (@$matches[1] != 1 ) ) { - $patterns[] = '`\[\/?[a-z0-9\*\+\-]+(?:=(?:".*"|[^\]]*))?(?::[a-z])?(\:[0-9a-z]{5,})\]`i'; - $replaces[] = ''; - } else { - $patterns[] = '`\[([a-z0-9\*\+\-]+)((=|:)[^\:\]]*)?\:[0-9a-z]{5,}\].*\[/(?1)(:?[^\:\]]*)?\:[0-9a-z]{5,}\]`Usi'; - $replaces[] = "{ \\1 }"; - } - $patterns[] = '`<[^>]*>(.*<[^>]*>)?`Usi'; // All html - $replaces[] = ''; - } else { - // Take care about links & emails - if ( !$this->rss_config['rss_allow_links'] ) { - if ( !$this->rss_config['rss_allow_emails'] ) { // Saves couple RegEx - $email_find = '[a-z0-9&\'\.\-_\+]+@[a-z0-9\-]+\.([a-z0-9\-]+\.)*[a-z]+'; - $email_replace = 'str_replace(array("@", "."), array(" AT ", " DOT "),"\\1")'; - $email_option = 'e'; - } else { - $email_find = '.*?'; - $email_replace = "\\1"; - $email_option = ''; - } - $patterns[] = '`<!\-\- ([lmw]+) \-\-><a (?:class="[\w-]+" )?href="(.*?)">.*?</a><!\-\- \1 \-\->`i'; - $replaces[] = "\\2"; - $patterns[] = '`\[/?url[^\]\[]*\]`i'; - $replaces[] = ''; - $patterns[] = '`<!\-\- e \-\-><a href="mailto:(' . $email_find . ')">.*?</a><!\-\- e \-\->`i' . $email_option; - $replaces[] = $email_replace; - } - if ( !$this->rss_config['rss_allow_emails'] && $this->rss_config['rss_allow_links'] ) { - $patterns[] = '`<!\-\- e \-\-><a href="mailto:([a-z0-9&\'\.\-_\+]+@[a-z0-9\-]+\.([a-z0-9\-]+\.)*[a-z]+)">.*?</a><!\-\- e \-\->`ei'; - $replaces[] = 'str_replace(array("@", "."), array(" AT ", " DOT "),"\\1")'; - } - $exclude_list = ( empty($bbcode_list) ? array() : explode(',', $bbcode_list) ); - $RegEx_unset = $RegEx_remove = ''; - foreach ($exclude_list as $key => $value ) { // Group the RegEx - $value = trim($value); - if (preg_match("`[a-z0-9]+(\:([0-1]*))?`i", $value, $matches) ) { - $values = (strpos($value, ':') !== false) ? explode(':', $value) : array($value); - if ( (@$matches[2] != 1 ) ) { - $RegEx_unset .= (!empty($RegEx_unset) ? '|' : '' ) . $values[0]; - } else { - $RegEx_remove .= (!empty($RegEx_remove) ? '|' : '' ) . $values[0]; - } - } - } - if (!empty($RegEx_remove) ) { - $patterns[] = '`\[(' . $RegEx_remove . ')((=|:)[^\:\]]*)?\:[0-9a-z]{5,}\].*\[/(?1)(:?[^\:\]]*)?\:[0-9a-z]{5,}\]`Usi'; - $replaces[] = "{ \\1 }"; - } - if (!empty($RegEx_unset) ) { - $patterns[] = '`\[/?(' . $RegEx_unset . ')(?:=(?:".*"|[^\]]*))?(?::[a-z])?(\:[0-9a-z]{5,})\]`i'; - $replaces[] = ''; - } - } - return array('pattern' => $patterns, 'replace' => $replaces); - } - /** - * Some text formating functions for text output - * un_htmlspecialchars() - * @access private - */ - function un_htmlspecialchars($text) { - return preg_replace(array('#>#', '#<#', '#"#', '#&#'), array('>', '<', '"', '&'), $text); - } - /** - * Summarize method selector - * @access private - */ - function summarize($string, $limit, $method = 'lines') { - switch ($method) { - case 'words': - return $this->word_limit($string, $limit); - break; - case 'chars': - return $this->char_limit($string, $limit); - break; - case 'lines': - default: - return $this->line_limit($string, $limit); - break; - } - } - /** - * Cut the text by lines - * @access private - */ - function line_limit($string, $limit = 10, $ellipsis = ' ...') { - return count($lines = preg_split("`[\n\r]+`", ltrim($string), $limit + 1)) > $limit ? rtrim(utf8_substr($string, 0, utf8_strlen($string) - utf8_strlen(end($lines)))) . $ellipsis : $string; - } - /** - * Cut the text according to the number of words. - * Borrowed from www.php.net http://www.php.net/preg_replace - * @access private - */ - function word_limit($string, $limit = 50, $ellipsis = ' ...') { - return count($words = preg_split('`\s+`', ltrim($string), $limit + 1)) > $limit ? rtrim(utf8_substr($string, 0, utf8_strlen($string) - utf8_strlen(end($words)))) . $ellipsis : $string; - } - /** - * Cut the text according to the number of characters. - * Borrowed from www.php.net http://www.php.net/preg_replace - * @access private - */ - function char_limit($string, $limit = 100, $ellipsis = ' ...') { - return utf8_strlen($fragment = utf8_substr($string, 0, $limit + 1 - utf8_strlen($ellipsis))) < utf8_strlen($string) + 1 ? preg_replace('`\s*\S*$`', '', $fragment) . $ellipsis : $string; - } - - // --> Yahoo! Notification functions <-- - /** - * rss_yahoo_notify($url) will handle yahoo notification of new content - * @access private - */ - function rss_yahoo_notify($url = '') { - global $user, $config, $phpbb_seo; - $url = !empty($url) ? str_replace('&', '&', $url) : (!empty($this->url_config['rss_yahoo_notify_url']) ? $this->url_config['rss_yahoo_notify_url'] : ''); - $url = trim($url); - if (empty($url) || !$this->rss_config['rss_yahoo_notify'] || empty($this->rss_config['yahoo_appid'])) { - return; - } - // No more than 200 pings a day! - if (@$config['gym_pinged_today'] > 200) { - // @TODO add logs about this ? - return; - } - $skip = array('://localhost', '://127.0.0.1', '://192.168.', '://169.254.'); - foreach ($skip as $_skip) { - if (utf8_strpos($url, $_skip) !== false) { - // @TODO add logs about this ? - return; - } - } - // If ssl is not forced, always ping with http urls - $url = $phpbb_seo->sslify($url, $phpbb_seo->ssl['forced']); - $not_curl= true; - $timout = 3; - // The Yahoo! Web Services request - // Based on the Yahoo! developper hints : http://developer.yahoo.com/php/ - $request = "http://search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid=" . urlencode($this->rss_config['yahoo_appid']) . '&url=' . urlencode($url); - if (function_exists('curl_exec')) { - $not_curl= false; - // Initialize the session - $session = curl_init($request); - // Set curl options - curl_setopt($session, CURLOPT_HEADER, false); - curl_setopt($session, CURLOPT_USERAGENT, 'GYM Sitemaps & RSS / www.phpBB-SEO.com'); - curl_setopt($session, CURLOPT_TIMEOUT, $timout); - curl_setopt($session, CURLOPT_RETURNTRANSFER, true); - // Make the request - $response = curl_exec($session); - // Close the curl session - curl_close($session); - // Get HTTP Status code from the response - $status_codes = array(); - preg_match('/\d\d\d/', $response, $status_code); - $status_code = $status_codes[0]; - // Get the XML from the response, bypassing the header - if (!($xml = strstr($response, '<?xml'))) { - $xml = null; - $not_curl= true; - } - } else if ( $not_curl && function_exists('file_get_contents') ) { - ini_set('user_agent','GYM Sitemaps & RSS / www.phpBB-SEO.com'); - ini_set('default_socket_timeout', $timout); - // Make the request - if ($xml = file_get_contents($request)) { - // Retrieve HTTP status code - list($version,$status_code,$msg) = explode(' ',$http_response_header[0], 3); - } else { - // $user->lang['RSS_YAHOO_NO_METHOD'] = sprintf($user->lang['RSS_YAHOO_NO_METHOD'], $request, $xml); - $this->gym_error(503, 'RSS_YAHOO_NO_METHOD', __FILE__, __LINE__); - } - } - // Check the XML return message - // Do it this way here in case curl actually returned no header - // but did get the proper answer. - if (!strpos($xml, 'success')) { - // Check the HTTP Status code - switch( $status_code ) { - case 200: // Success - set_config('gym_pinged_today', @$config['gym_pinged_today'] + 1, 1); - break; - case 503: - $this->gym_error(500, 'RSS_YAHOO_503', __FILE__, __LINE__); - break; - case 403: - $this->gym_error(500, 'RSS_YAHOO_403', __FILE__, __LINE__); - break; - case 400: - // $user->lang['RSS_YAHOO_400_MSG'] = sprintf($user->lang['RSS_YAHOO_400_MSG'], $request, $xml); - $this->gym_error(500,'RSS_YAHOO_400', __FILE__, __LINE__); - break; - default: - // $user->lang['RSS_YAHOO_ERROR_MSG'] = sprintf($user->lang['RSS_YAHOO_400_MSG'], $status_code, $request, $xml); - $this->gym_error(500, 'RSS_YAHOO_500', __FILE__, __LINE__); - } - } - return; - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/includes/gym_rss_functions.php b/phpBB/gym_sitemaps/includes/gym_rss_functions.php deleted file mode 100644 index 2c566e806a..0000000000 --- a/phpBB/gym_sitemaps/includes/gym_rss_functions.php +++ /dev/null @@ -1,435 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_rss_functions.php 275 2010-11-21 17:48:06Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -define('GYM_RSS_FUNC_INC', true); -/** -* get_gym_links($gym_config). -* retunrs the link array -*/ -function get_gym_links($gym_config) { - global $phpbb_root_path, $config, $phpEx, $user, $cache, $db, $phpbb_seo; - $links = array(); - $_phpbb_seo = !empty($phpbb_seo); - $board_url = $_phpbb_seo ? $phpbb_seo->seo_path['phpbb_url'] : generate_board_url() . '/'; - $gym_link_tpl = '<a href="%1$s" title="%3$s" class="gym"><img src="' . $board_url . 'gym_sitemaps/images/%2$s" alt="%3$s" width="14", height="14"/> %3$s</a>'; - $google_threshold = max(1, (int) $gym_config['google_threshold']); - //compute guest auth - $cache_file = '_gym_auth_guests_forum'; - if (($auth_guest_list = $cache->get($cache_file)) === false) { - $auth_guest_list = array('list' => array(), 'read' => array(), 'list_post' => array(), 'read_post' => array(), 'skip_pass' => array(), 'skip_cat' => array(), 'skip_all' => array(), 'skip_link' => array(), 'thresholded' => array(), 'empty' => array()); - $guest_data = array('user_id' => ANONYMOUS, - 'user_type' => USER_IGNORE, - 'user_permissions' . (defined('XLANG_AKEY') ? XLANG_AKEY : '') => '', - ); - $g_auth = new auth(); - $g_auth->acl($guest_data); - // the forum id array - $forum_list_ary = $g_auth->acl_getf('f_list', true); - foreach ($forum_list_ary as $forum_id => $null) { - $auth_guest_list['list'][$forum_id] = (int) $forum_id; - } - $forum_read_ary = $g_auth->acl_getf('f_read', true); - foreach ($forum_read_ary as $forum_id => $null) { - $auth_guest_list['read'][$forum_id] = (int) $forum_id; - } - ksort($auth_guest_list['list']); - ksort($auth_guest_list['read']); - $sql = "SELECT forum_id, forum_type, forum_password - FROM " . FORUMS_TABLE . " - WHERE forum_type <> " . FORUM_POST . " OR forum_password <> ''"; - $result = $db->sql_query($sql); - while ( $row = $db->sql_fetchrow($result) ) { - $forum_id = (int) $row['forum_id']; - if ($row['forum_password']) { - $auth_guest_list['skip_pass'][$forum_id] = $forum_id; - } - if ($row['forum_type'] == FORUM_CAT) { - $auth_guest_list['skip_cat'][$forum_id] = $forum_id; - } else if ($row['forum_type'] == FORUM_LINK) { - $auth_guest_list['skip_link'][$forum_id] = $forum_id; - } - $auth_guest_list['skip_all'][$forum_id] = $forum_id; - } - $db->sql_freeresult($result); - // Now let's grabb the list of forum with not enough topics to have a sitemap - // Only care about postable forum ;-) - $sql = "SELECT forum_id, forum_topics - FROM " . FORUMS_TABLE . " - WHERE forum_type = " . FORUM_POST . " - AND forum_topics < $google_threshold"; - $result = $db->sql_query($sql); - while ( $row = $db->sql_fetchrow($result) ) { - $forum_id = (int) $row['forum_id']; - $auth_guest_list['thresholded'][$forum_id] = $forum_id; - if (empty($row['forum_topics'])) { - $auth_guest_list['empty'][$forum_id] = $forum_id; - } - } - ksort($auth_guest_list['skip_pass']); - ksort($auth_guest_list['skip_all']); - ksort($auth_guest_list['skip_link']); - ksort($auth_guest_list['skip_cat']); - // Never mind about forum links - $auth_guest_list['read'] = array_diff_assoc($auth_guest_list['read'], $auth_guest_list['skip_link']); - $auth_guest_list['list'] = array_diff_assoc($auth_guest_list['list'], $auth_guest_list['skip_link']); - ksort($auth_guest_list['read']); - ksort($auth_guest_list['list']); - $auth_guest_list['list_post'] = array_diff_assoc($auth_guest_list['list'], $auth_guest_list['skip_all']); - $auth_guest_list['read_post'] = array_diff_assoc($auth_guest_list['read'], $auth_guest_list['skip_all']); - $cache->put($cache_file, $auth_guest_list); - } - $links = array(); - $links['main'] = $links['setup']['google'] = $links['setup']['rss'] = $links['setup']['html'] = array(); - // Find out about active modes - $google_active = $rss_active = $html_active = false; - $gym_modules = array( - 'google' => array('forum', 'xml', 'txt'), - 'rss' => array('forum'), - 'html' => array('forum'), - ); - foreach ($gym_modules as $type => $modules) { - foreach ($modules as $module) { - if (!empty($gym_config[$type . '_' . $module . '_installed'])) { - ${$type . '_active'} = true; - break; - } - } - } - $do_display_cat = $do_display_main = $do_display_index = false; - // Google sitemaps - if ($google_active) { - $display_google_main_links = (boolean) get_gym_option('google', 'gym', 'link_main', OVERRIDE_MODULE, $gym_config); - $display_google_index_links = (boolean) get_gym_option('google', 'gym', 'link_index', OVERRIDE_MODULE, $gym_config); - $display_google_cat_links = (boolean) get_gym_option('google', 'gym', 'link_cat', OVERRIDE_MODULE, $gym_config); - $override_google_mod_rewrite = get_override('google', 'modrewrite', $gym_config); - $google_mod_rewrite = (boolean) get_gym_option('google', 'gym', 'modrewrite', $override_google_mod_rewrite, $gym_config); - $override_google_gzip = get_override('google', 'gzip', $gym_config); - $google_gzip = (boolean) get_gym_option('google', 'forum', 'gzip', $override_google_gzip, $gym_config); - $google_gzip_ext = ($google_gzip || $config['gzip_compress']) ? (get_gym_option('google', 'forum', 'gzip_ext', $override_google_gzip, $gym_config) ? '.gz' : '') : ''; - $google_url = $_phpbb_seo ? $phpbb_seo->sslify($gym_config['google_url'], $phpbb_seo->ssl['use'], false) : $gym_config['google_url']; - $sitemap_url = $google_url . ($google_mod_rewrite ? 'sitemapindex.xml' . $google_gzip_ext : "sitemap.$phpEx"); - $links['setup']['google'] = array( - 'override_mod_rewrite' => $override_google_mod_rewrite, - 'mod_rewrite' => $google_mod_rewrite, - 'override_gzip' => $override_google_gzip, - 'link_main' => $display_google_main_links, - 'link_index' => $display_google_index_links, - 'link_cat' => $display_google_cat_links, - 'gzip' => $google_gzip, - 'gzip_ext' => $google_gzip_ext, - 'google_url' => $google_url, - 'threshold' => max(1, (int) $gym_config['google_threshold']), - 'l_google_sitemap' => $user->lang['GOOGLE_SITEMAP'], - 'l_google_sitemap_of' => $user->lang['GOOGLE_MAP_OF'], - ); - // only publicly readable and not thresholded forums will be listed - if (!empty($gym_config['google_forum_installed'])) { - $google_forum_mod_rewrite = (boolean) get_gym_option('google', 'forum', 'modrewrite', $override_google_mod_rewrite, $gym_config); - $google_auth_guest = array_diff_assoc($auth_guest_list['read_post'], set_exclude_list($gym_config['google_forum_exclude']), $auth_guest_list['thresholded']); - $google_forum_exclude = set_exclude_list($gym_config['google_forum_exclude']) + $auth_guest_list['skip_all']; - $links['setup']['google'] = array_merge( $links['setup']['google'], - array( - 'forum_google' => true, - 'forum_cat_google' => $google_url . ($google_forum_mod_rewrite && $_phpbb_seo ? "%1\$s.xml$google_gzip_ext" : "sitemap.$phpEx?forum=%2\$s"), - 'auth_guest' => $google_auth_guest, - 'forum_exclude' => $google_forum_exclude, - )); - } - $links['main'] = array_merge( $links['main'], - array( - 'GYM_GOOGLE_TITLE' => $user->lang['GOOGLE_SITEMAPINDEX'], - 'GYM_GOOGLE_URL' => $sitemap_url, - 'GYM_GOOGLE_LINK' => $display_google_main_links ? sprintf($gym_link_tpl, $sitemap_url, 'sitemap-icon.gif', $user->lang['GOOGLE_SITEMAPINDEX']) : '', - 'GYM_GOOGLE_THRESOLD' => (int) $links['setup']['google']['threshold'], - )); - $do_display_main = $display_google_main_links ? true : $do_display_main; - $do_display_index = $display_google_index_links ? true : $do_display_index; - $do_display_cat = $display_google_cat_links ? true : $do_display_cat; - } - // RSS - if ($rss_active) { - $display_rss_main_links = (boolean) get_gym_option('rss', 'gym', 'link_main', OVERRIDE_MODULE, $gym_config); - $display_rss_index_links = (boolean) get_gym_option('rss', 'gym', 'link_index', OVERRIDE_MODULE, $gym_config); - $display_rss_cat_links = (boolean) get_gym_option('rss', 'gym', 'link_cat', OVERRIDE_MODULE, $gym_config); - $override_rss_mod_rewrite = get_override('rss', 'modrewrite', $gym_config); - $rss_mod_rewrite = (boolean) get_gym_option('rss', 'gym', 'modrewrite', $override_rss_mod_rewrite, $gym_config); - $rss_modrtype = max(0, (int) get_gym_option('rss', 'gym', 'modrtype', $override_rss_mod_rewrite, $gym_config)); - $override_rss_gzip = get_override('rss', 'gzip', $gym_config); - $rss_gzip = (boolean) get_gym_option('rss', 'forum', 'gzip', $override_rss_gzip, $gym_config); - $rss_gzip_ext = ($rss_gzip || $config['gzip_compress']) ? (get_gym_option('rss', 'forum', 'gzip_ext', $override_rss_gzip, $gym_config) ? '.gz' : '') : ''; - // Take car of linking type - $link_type_sep = $rss_mod_rewrite ? '/' : '&'; - $link_type_to_options = array('n' => 'news', 'nd' => 'news'. $link_type_sep . 'digest', 'r' => '', 'rd' => 'digest'); - $link_type_bit = isset($link_type_to_options[$gym_config['rss_linking_type']]) ? $link_type_to_options[$gym_config['rss_linking_type']] : ''; - $rss_url = $_phpbb_seo ? $phpbb_seo->sslify($gym_config['rss_url'], $phpbb_seo->ssl['use'], false) : $gym_config['rss_url']; - $rss_main_url = $rss_url . ($rss_mod_rewrite ? 'rss/' . ($link_type_bit ? $link_type_bit . '/' : '') . 'rss.xml' . $rss_gzip_ext : "gymrss.$phpEx" . ($link_type_bit ? '?' . $link_type_bit : '')); - $rss_chan_url = $rss_url . ($rss_mod_rewrite ? 'rss/' . ($link_type_bit ? $link_type_bit . '/' : '') : "gymrss.$phpEx?channels" . ($link_type_bit ? '&' . $link_type_bit : '')); - $links['setup']['rss'] = array( - 'display_alternate' => (int) $gym_config['rss_alternate'], - 'link_main' => $display_rss_main_links, - 'link_index' => $display_rss_index_links, - 'link_cat' => $display_rss_cat_links, - 'override_mod_rewrite' => $override_rss_mod_rewrite, - 'mod_rewrite' => $rss_mod_rewrite, - 'override_gzip' => $override_rss_gzip, - 'gzip' => $rss_gzip, - 'gzip_ext' => $rss_gzip_ext, - 'rss_url' => $rss_url, - 'l_rss_feed' => $user->lang['RSS_FEED'], - 'l_rss_feed_of' => $user->lang['RSS_FEED_OF'], - ); - if (!empty($gym_config['rss_forum_installed'])) { - $rss_forum_allow_auth = (boolean) get_gym_option('rss', 'forum', 'allow_auth', $gym_config['rss_override'], $gym_config); - // only readable forums can be listed - $rss_auth_guest = array_diff_assoc($auth_guest_list['read_post'], set_exclude_list($gym_config['rss_forum_exclude']), $auth_guest_list['empty']); - $rss_forum_exclude = set_exclude_list($gym_config['rss_forum_exclude']) + $auth_guest_list['skip_all'] + $auth_guest_list['empty']; - $rss_forum_mod_rewrite = (boolean) get_gym_option('rss', 'forum', 'modrewrite', $override_rss_mod_rewrite, $gym_config); - $rss_forum_modrtype = max(0, (int) get_gym_option('rss', 'forum', 'modrtype', $override_rss_mod_rewrite, $gym_config)); - - $links['setup']['rss'] = array_merge( $links['setup']['rss'], - array( - 'display_forum_alternate' => (int) $gym_config['rss_forum_alternate'], - 'forum_rss' => !empty($gym_config['rss_forum_installed']), - 'forum_cat_rss' => $rss_url . ($rss_forum_mod_rewrite && $_phpbb_seo ? ($rss_forum_modrtype > 1 ? "%1\$s/" . ($link_type_bit ? $link_type_bit . '/' : '') . "forum.xml$rss_gzip_ext" : "forum" . $phpbb_seo->seo_delim['forum'] . "%2\$s/" . ($link_type_bit ? $link_type_bit . '/' : '') . "forum.xml$rss_gzip_ext") : "gymrss.$phpEx?forum=%2\$s" . ($link_type_bit ? '&' . $link_type_bit : '')), - 'auth_guest' => $rss_auth_guest, - 'forum_exclude' => $rss_forum_exclude, - 'forum_allow_auth' => $rss_forum_allow_auth, - )); - } - $links['main'] = array_merge( $links['main'], - array( - 'GYM_RSS_TITLE' => $user->lang['RSS_FEED'], - 'GYM_RSS_URL' => $rss_main_url, - 'GYM_RSS_LINK' => $display_rss_main_links ? sprintf($gym_link_tpl, $rss_main_url, 'feed-icon.png', $user->lang['RSS_FEED']) : '', - 'GYM_RSS_CHAN_TITLE' => $user->lang['RSS_CHAN_LIST_TITLE'], - 'GYM_RSS_CHAN_URL' => $rss_chan_url, - 'GYM_RSS_CHAN_LINK' => $display_rss_main_links ? sprintf($gym_link_tpl, $rss_chan_url, 'feed-icon.png', $user->lang['RSS_CHAN_LIST_TITLE']) : '', - )); - $do_display_main = $display_rss_main_links ? true : $do_display_main; - $do_display_index = $display_rss_index_links ? true : $do_display_index; - $do_display_cat = $display_rss_cat_links ? true : $do_display_cat; - } - // HTML - if ($html_active) { - $display_html_main_links = (boolean) get_gym_option('html', 'gym', 'link_main', OVERRIDE_MODULE, $gym_config); - $display_html_index_links = (boolean) get_gym_option('html', 'gym', 'link_index', OVERRIDE_MODULE, $gym_config); - $display_html_cat_links = (boolean) get_gym_option('html', 'gym', 'link_cat', OVERRIDE_MODULE, $gym_config); - $override_html_mod_rewrite = get_override('html', 'modrewrite', $gym_config); - $html_mod_rewrite = (boolean) get_gym_option('html', 'gym', 'modrewrite', $override_html_mod_rewrite, $gym_config); - $html_allow_map = (boolean) $gym_config['html_allow_map']; - $html_allow_cat_map = (boolean) $gym_config['html_allow_cat_map']; - $html_allow_news = (boolean) $gym_config['html_allow_news']; - $html_allow_cat_news = (boolean) $gym_config['html_allow_cat_news']; - $html_url = $_phpbb_seo ? $phpbb_seo->sslify($gym_config['html_url'], $phpbb_seo->ssl['use'], false) : $gym_config['html_url']; - $html_map_url = $gym_config['html_allow_map'] ? $html_url . ($html_mod_rewrite ? 'maps/' : "map.$phpEx") : ''; - $html_news_url = $gym_config['html_allow_news'] ? $html_url . ($html_mod_rewrite ? 'news/' : "map.$phpEx?news") : ''; - $links['setup']['html'] = array( - 'link_main' => $display_html_main_links, - 'link_index' => $display_html_index_links, - 'link_cat' => $display_html_cat_links, - 'override_mod_rewrite' => $override_html_mod_rewrite, - 'mod_rewrite' => $html_mod_rewrite, - 'html_url' => $html_url, - 'allow_map' => $html_allow_map, - 'allow_news' => $html_allow_news, - 'allow_cat_map' => $html_allow_cat_map, - 'allow_cat_news' => $html_allow_cat_news, - 'l_html_news' => $user->lang['HTML_NEWS'], - 'l_html_map' => $user->lang['HTML_MAP'], - 'l_html_news_of' => $user->lang['HTML_NEWS_OF'], - 'l_html_map_of' => $user->lang['HTML_MAP_OF'], - ); - if (!empty($gym_config['html_forum_installed'])) { - $html_forum_mod_rewrite = (boolean) get_gym_option('html', 'forum', 'modrewrite', $override_html_mod_rewrite, $gym_config); - $html_forum_allow_map = (boolean) get_gym_option('html', 'forum', 'allow_map', $gym_config['html_override'], $gym_config); - $html_forum_allow_cat_map = (boolean) get_gym_option('html', 'forum', 'allow_cat_map', $gym_config['html_override'], $gym_config); - $html_forum_allow_news = (boolean) get_gym_option('html', 'forum', 'allow_news', $gym_config['html_override'], $gym_config); - $html_forum_allow_cat_news = (boolean) get_gym_option('html', 'forum', 'allow_cat_news', $gym_config['html_override'], $gym_config); - $html_auth_guest = array_diff_assoc($auth_guest_list['list'], set_exclude_list($gym_config['html_forum_exclude']), $auth_guest_list['empty']); - $html_forum_allow_auth = (boolean) get_gym_option('html', 'forum', 'allow_auth', $gym_config['html_override'], $gym_config); - $html_forum_exclude = set_exclude_list($gym_config['html_forum_exclude']) + $auth_guest_list['skip_link'] + $auth_guest_list['empty']; - $links['setup']['html'] = array_merge( $links['setup']['html'], - array( - 'forum_allow_map' => $html_forum_allow_map, - 'forum_map_url' => $html_allow_map ? $html_url . ($html_forum_mod_rewrite ? 'maps/forum/' : "map.$phpEx?forum") : '', - 'forum_allow_news' => $html_forum_allow_news, - 'forum_news_url' => $html_allow_news ? $html_url . ($html_forum_mod_rewrite ? 'news/forum/' : "map.$phpEx?forum=news") : '', - 'forum_allow_cat_map' => $html_forum_allow_cat_map, - 'forum_cat_map' => $html_url . ($html_forum_mod_rewrite && $_phpbb_seo ? 'maps/forum/%1$s/' : "map.$phpEx?forum=%2\$s"), - 'forum_allow_cat_news' => $html_forum_allow_cat_news, - 'forum_cat_news' => $html_url . ($html_forum_mod_rewrite && $_phpbb_seo ? 'news/forum/%1$s/' : "map.$phpEx?forum=%2\$s&news"), - 'auth_guest' => $html_auth_guest, - 'forum_exclude' => $html_forum_exclude, - 'forum_allow_auth' => $html_forum_allow_auth, - )); - } - $links['main'] = array_merge( $links['main'], - array( - 'GYM_HTML_NEWS_TITLE' => $user->lang['HTML_NEWS'], - 'GYM_HTML_NEWS_URL' => $html_news_url, - 'GYM_HTML_NEWS_LINK' => $display_html_main_links ? sprintf($gym_link_tpl, $html_news_url, 'html_news.gif', $user->lang['HTML_NEWS']) : '', - 'GYM_HTML_MAP_TITLE' => $user->lang['HTML_MAP'], - 'GYM_HTML_MAP_URL' => $html_map_url, - 'GYM_HTML_MAP_LINK' => $display_html_main_links ? sprintf($gym_link_tpl, $html_map_url, 'maps-icon.gif', $user->lang['HTML_MAP']) : '', - 'GYM_HTML_THEFORUM_NEWS_TITLE' => $user->lang['HTML_FORUM_NEWS'], - 'GYM_HTML_THEFORUM_NEWS_URL' => $links['setup']['html']['forum_news_url'], - 'GYM_HTML_THEFORUM_NEWS_LINK' => sprintf($gym_link_tpl, $links['setup']['html']['forum_news_url'], 'html_news.gif', $user->lang['HTML_FORUM_NEWS']), - 'GYM_HTML_THEFORUM_MAP_TITLE' => $user->lang['HTML_FORUM_MAP'], - 'GYM_HTML_THEFORUM_MAP_URL' => $links['setup']['html']['forum_map_url'], - 'GYM_HTML_THEFORUM_MAP_LINK' => sprintf($gym_link_tpl, $links['setup']['html']['forum_map_url'], 'maps-icon.gif', $user->lang['HTML_FORUM_MAP']), - )); - $do_display_main = $display_html_main_links ? true : $do_display_main; - $do_display_index = $display_html_index_links ? true : $do_display_index; - $do_display_cat = $display_html_cat_links ? true : $do_display_cat; - } - $links['setup']['main'] = array( - 'link_main' => ($gym_config['gym_link_main'] && $do_display_main) ? 1 : 0, - 'link_index' => ($gym_config['gym_link_index'] && $do_display_index) ? 1 : 0, - 'link_cat' => ($gym_config['gym_link_cat'] && $do_display_cat) ? 1 : 0, - 'f_public_read' => array_diff_assoc($auth_guest_list['read'], $auth_guest_list['skip_pass']) + array_intersect_assoc($auth_guest_list['skip_cat'], $auth_guest_list['list']), - ); - $links['main'] = array_merge( $links['main'], - array( - 'GYM_LINKS' => $links['setup']['main']['link_main'], - 'GYM_LINKS_CAT' => $links['setup']['main']['link_cat'], - )); - $links['alternate'] = array(); - if (!empty($links['setup']['rss']['display_alternate'])) { - $links['alternate'] = array( - array( - 'TITLE' => $user->lang['RSS_FEED'], - 'URL' => $rss_main_url - ), - array( - 'TITLE' => $user->lang['RSS_CHAN_LIST_TITLE'], - 'URL' => $rss_chan_url - ), - ); - } - return $links; -} -/** -* get_feed_data($_params) -* returns the parsed feed. -* */ -function get_feed_data($_params) { - global $user, $config; - $feed_data = array( - 'items' => array(), - 'setup' => array('date' => false, 'author' => false, 'desclen' => 0, 'chantitle' => '', 'chanlink' => ''), - ); - @ini_set('user_agent','GYM Sitemaps & RSS / www.phpBB-SEO.com'); - @ini_set('default_socket_timeout', 5); - $xml = @file_get_contents($_params['url']); - if ($xml) { - // Get encoding - $encoding = get_match('`encoding=[\'"]([a-z0-9_-]+)[\'"]`Usi', $xml); - $encoding = !empty($encoding) ? strtolower($encoding) : detect_encoding($xml); - if(preg_match('`<item>(.*)</item>`si', $xml, $matches)){ - // Get chan info - $feed_data['setup']['chantitle'] = get_match('`<title>(.*)</title>`Usi', $xml, $encoding); - $feed_data['setup']['chanlink'] = get_match('`<link>(.*)</link>`Usi', $xml, $encoding); - $xml = trim($matches[0]); - unset($matches); - preg_match_all('`<item>(.*)</item>`Usi', $xml, $matches); - unset($matches[0]); - if (!empty($matches[1]) && is_array($matches[1])) { - $i = 1; - foreach($matches[1] as $key => $item) { - if ($i > $_params['limit']) { - break; - } - if ($title = get_match('`<title>(.*)</title>`Usi', $item, $encoding)) { - if ($link = get_match('`<link>(.*)</link>`Usi', $item, $encoding)) { - $feed_data['items'][$i]['PUBDATE'] = false; - if ($pubdate = get_match('`<pubDate>(.*)</pubDate>`Usi', $item, $encoding)) { - if (($pubdate = strtotime($pubdate, $user->time_now)) > 0) { - $feed_data['items'][$i]['PUBDATE'] = $user->format_date($pubdate, $config['default_dateformat']); - $feed_data['setup']['date'] = true; - } - } - $feed_data['items'][$i]['DESC'] = false; - if ($_params['desc'] && $description = get_match('`<description>(.*)</description>`Usi', $item, $encoding)) { - if (empty($_params['html'])) { - $description = htmlspecialchars($_params['striptags'] ? strip_tags($description) : $description, ENT_COMPAT, 'UTF-8'); - } - $feed_data['items'][$i]['DESC'] = str_replace(array("\r", "\n"), '<br />', $description); - $feed_data['setup']['desclen'] += utf8_strlen($feed_data['items'][$i]['DESC']); - } - $feed_data['items'][$i]['SOURCE'] = false; - if ($source = get_match('`<source[\s]+url="(.*)">(.*)</source>`Usi', $item, $encoding)) { - $feed_data['items'][$i]['SOURCE'] = htmlspecialchars($source, ENT_COMPAT, 'UTF-8'); - } - $feed_data['items'][$i]['TITLE'] = htmlspecialchars($title, ENT_COMPAT, 'UTF-8'); - $feed_data['items'][$i]['LINK'] = htmlspecialchars($link, ENT_COMPAT, 'UTF-8'); - $feed_data['items'][$i]['IMG'] = $user->img('topic_read', $feed_data['items'][$i]['TITLE'], false, '', 'src'); - $i++; - } - } - unset($matches[1][$key]); - } - } - unset($matches); - } - } - unset($xml); - return $feed_data; -} -/** -* detect_encoding($string) -* Inspired from php.net : http://www.php.net/mb_detect_encoding -*/ -function detect_encoding($string) { - if (function_exists('mb_detect_encoding')) { - if ($encoding = @mb_detect_encoding($string . 'a')) { - return strtolower($encoding); - } - } - // Else at least try to see if utf-8, otherwise fall back to iso-8859-1 - // non-overlong 2-byte|excluding overlongs|straight 3-byte|excluding surrogates|planes 1-3|planes 4-15|plane 16 - return preg_match('%(?:[\xC2-\xDF][\x80-\xBF]|\xE0[\xA0-\xBF][\x80-\xBF]|[\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}|\xED[\x80-\x9F][\x80-\xBF] |\xF0[\x90-\xBF][\x80-\xBF]{2}|[\xF1-\xF3][\x80-\xBF]{3}|\xF4[\x80-\x8F][\x80-\xBF]{2})+%xs', $string) ? 'utf-8' : 'iso-8859-1'; -} -/** -* get_match($pattern, $string, $encoding) -* returns properly encoded match from feed -*/ -function get_match($pattern, $string, $encoding = 'utf-8') { - static $filters = array('<![CDATA['=>'', ']]>'=>''); - $string = strtr($string, $filters); - preg_match($pattern, $string, $out); - if(!empty($out[1])) { - // cdata - $out[1] = strtr($out[1], $filters); - if( strtolower($encoding) != 'utf-8') { - $out[1] = utf8_recode($out[1], $encoding); - } - return @html_entity_decode(trim($out[1]), ENT_COMPAT, 'UTF-8'); - } else { - return ''; - } -} -/** -* set_exclude_list($id_list) will build up the public unauthed ids -*/ -function set_exclude_list($id_list) { - $exclude_list = empty($id_list) ? array() : explode(',', $id_list); - $ret = array(); - foreach ($exclude_list as $value ) { - $value = (int) trim($value); - if (!empty($value)) { - $ret[$value] = $value; - } - } - return $ret; -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/includes/gym_sitemaps.php b/phpBB/gym_sitemaps/includes/gym_sitemaps.php deleted file mode 100644 index b749bc5847..0000000000 --- a/phpBB/gym_sitemaps/includes/gym_sitemaps.php +++ /dev/null @@ -1,659 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_sitemaps.php 272 2010-11-21 13:56:31Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_common.' . $phpEx); -// For Compatibility with the phpBB SEO mod rewrites -if (empty($phpbb_seo)) { - require_once($phpbb_root_path . 'gym_sitemaps/includes/phpbb_seo_class_light.' . $phpEx); - $phpbb_seo = new phpbb_seo(); - define('STARTED_LIGHT', true); -} -/** -* gym_sitemaps Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class gym_sitemaps { - // $_GET vars - var $actions = array(); - // Working vars - var $gym_config = array(); - var $override = array(); - var $override_type = array(); - var $gym_output; - var $output_data = array(); - var $cache_config = array(); - var $yahoo_config = array(); - var $ext_config = array(); - var $gzip_config = array(); - var $style_config = array(); - var $gym_auth = array(); - var $module_auth = array(); - /** - * constuctor - */ - function gym_sitemaps($action_type = '') { - global $phpEx, $phpbb_seo, $user, $config, $phpbb_root_path, $_action_types, $_override_types, $auth; - $start_time = $phpbb_seo->microtime_float(); - // Set default values - $this->gym_config = $this->actions = array(); - $this->override_type = $_override_types; - $this->actions['action_types'] = $_action_types; - $this->actions['action_type'] = in_array($action_type, $this->actions['action_types']) ? $action_type : ''; - $this->actions['extra_params'] = $this->actions['extra_params_full'] = $this->actions['auth_param'] = $this->actions['sql_report_msg'] = ''; - $this->actions['auth_guest_list'] = $this->actions['auth_guest_read'] = $this->actions['auth_view_list'] = $this->actions['auth_read_list'] = array(); - $this->actions['robots_patterns'] = array(); - if (empty($this->actions['action_type']) ) { - $this->gym_error(403, '', __FILE__, __LINE__); - } - // Grab required config - obtain_gym_config($this->actions['action_type'], $this->gym_config); - if (empty($this->gym_config) ) { - $this->gym_error(404, '', __FILE__, __LINE__); - } - // Set the overidding options - $this->set_override(); - $this->path_config = array('gym_path' => $phpbb_root_path . 'gym_sitemaps/', - 'gym_img_url' => $phpbb_seo->seo_path['phpbb_url'] . 'gym_sitemaps/images/'); - // The main array - $this->output_data = array('microtime'=> $start_time, - 'time' => time(), - 'mem_usage' => 0, - 'gen_data' => '', - 'gen_out' => '', - 'url_sofar' => 0, - 'url_sofar_total' => 0, - 'showstats' => 0, - 'data' => '', - 'expires_time' => 0, - ); - // Ceck the day interval and reset pinged - if (@$config['gym_today'] < $this->output_data['time']) { - set_config('gym_today', $this->output_data['time'] + 3600*24, 1); - set_config('gym_pinged_today', 0, 1); - } - $this->url_config = array( 'start_default' => '&start=', - 'google_default' => "sitemap.$phpEx", - 'html_default' => "map.$phpEx", - 'rss_default' => "gymrss.$phpEx", - 'gzip_ext_out' => '', - 'zero_dupe' => (boolean) $this->gym_config['gym_zero_dupe'], - 'uri' => $phpbb_seo->seo_path['uri'], - 'current' => '', - 'modrewrite' => false, - ); - $this->gzip_config = array('gzip_level' => (int) $this->gym_config['gym_gzip_level']); - $this->cache_config = array( - 'do_cache' => true, // this is used when preventing the caching of private content. - 'cached' => 'false', - 'mod_since' => (boolean) $this->gym_config['gym_mod_since'], - ); - // init $gym_auth - $this->gym_auth = array( - 'admin' => $auth->acl_gets('a_') ? true : false, - 'globalmod' => $auth->acl_getf_global('m_') ? true : false, - 'reg' => $user->data['is_registered'] ? true : false, - 'guest' => $user->data['is_registered'] ? false : true, - 'all' => true, - 'none' => false, - ); - // Workaround for error message handling - $phpbb_seo->file_hbase['map'] = $phpbb_seo->file_hbase['gymrss'] = $phpbb_seo->file_hbase['sitemap'] = $phpbb_seo->seo_path['phpbb_url']; - // Clear buffer, just in case it was started elswhere - while (@ob_end_clean()); - return; - } - /** - * init_get_vars (). - * Get and check the basic get vars - * @access private - */ - function init_get_vars() { - // Builds the action_modules array - $this->init_action_modules(); - // Basic options : gymfile.php?var(=value) - $this->actions['module_main'] = $this->actions['module_sub'] = ''; - foreach ($this->actions['action_modules'] as $module) { - if (isset($_GET[$module])) { - $this->actions['module_main'] = $module; - $this->actions['module_sub'] = !empty($_GET[$module]) ? trim(utf8_htmlspecialchars(str_replace(array("\n", "\r", "\0"), '', $_GET[$module]))) : ''; - unset($_GET[$module]); - } - } - return; - } - /** - * init_action_modules (). - * Build the autogenerated array of all expected actions - * @access private - */ - function init_action_modules() { - global $cache, $phpEx; - if (($this->actions['action_modules'] = $cache->get('_gym_action_' . $this->actions['action_type'])) === false) { - $this->actions['action_modules'] = array(); - $dir = @opendir( $this->path_config['gym_path'] . 'modules' ); - $action_from_file = ''; - while( ($file = @readdir($dir)) !== FALSE ) { - if(preg_match('`^' . $this->actions['action_type'] . '_[a-z0-9_-]+\.' . $phpEx . '$`i', $file)) { - $action_from_file = trim(str_replace( $this->actions['action_type'] . '_', '' , str_replace('.' . $phpEx , '' ,$file)), "/"); - if (@$this->gym_config[$this->actions['action_type'] . '_' . $action_from_file . '_installed']) { - $this->actions['action_modules'][$action_from_file] = $action_from_file; - } - } - } - @closedir($dir); - $cache->put('_gym_action_' . $this->actions['action_type'], $this->actions['action_modules']); - } - } - /** - * load_modules ( $module_type, $method = '' ). - * loads all modules for a given action_type - * Optional, starts a method - * @access private - */ - function load_modules( $method = '' ) { - foreach ( $this->actions['action_modules'] as $module ) { - $this->load_module( $this->actions['action_type'] . "_$module", $method); - } - } - /** - * load_module ( $module_class, $method = '' ). - * loads a module for a given action - * Optional, starts a method - * @access private - */ - function load_module( $module_class, $method = '', $return = false ) { - global $phpEx; - $module_file = $this->path_config['gym_path'] . 'modules/' . $module_class . '.' . $phpEx; - if ( !empty($this->gym_config[$module_class . '_installed']) && file_exists($module_file) ) { - include_once($module_file); - if (class_exists($module_class)) { - $gym_module = new $module_class($this); - if ( !empty($method) && method_exists($gym_module, $method)) { - $gym_module->$method(); - } - if ($return) { - return $gym_module; - } - } - } else { - $this->gym_error(500, '', __FILE__, __LINE__); - } - } - /** - * gym_init_output () - * In case we need to hanlde the output - * @access private - */ - function gym_init_output() { - global $phpEx; - include_once($this->path_config['gym_path'] . 'includes/gym_output.' . $phpEx); - $this->gym_output = new gym_output($this); - } - /** - * gym_auth_value() - * @access private - */ - function gym_auth_value($value) { - return !empty($this->gym_auth[$value]); - } - /** - * set_module_option($config_key, $override ='') - * will check if a module config value is available - * Set it or use the main type default value or the main global value - * Globale module value is used when cyclying through modules ( $this->actions['module_main'] = '' ) - * $override = global => global config - * $override = output_type => module config - * $override = module => sub module config - * degrades to the global config in case there is no better otpion - * @access private - */ - function set_module_option($config_key, $override = OVERRIDE_MODULE) { - $cond = ''; - // Check if we have a sub module option - if ( ($override == OVERRIDE_MODULE) && @isset($this->gym_config[$this->actions['action_type'] . '_' . $this->actions['module_main'] . "_$config_key"]) ) { - return $this->gym_config[$this->actions['action_type'] . '_' . $this->actions['module_main'] . "_$config_key"]; - } - // Else look for an output type option - if ( ($override != OVERRIDE_GLOBAL) && @isset($this->gym_config[$this->actions['action_type'] . "_$config_key"]) ) { - return $this->gym_config[$this->actions['action_type'] . "_$config_key"]; - - } - // Else return the global config value or the next available valid option from the output type to the module level or null - return isset($this->gym_config["gym_$config_key"]) ? $this->gym_config["gym_$config_key"] : ( @isset($this->gym_config[$this->actions['action_type'] . "_$config_key"]) ? $this->gym_config[$this->actions['action_type'] . "_$config_key"] : ( @isset($this->gym_config[$this->actions['action_type'] . '_' . $this->actions['module_main'] . "_$config_key"]) ? $this->gym_config[$this->actions['action_type'] . '_' . $this->actions['module_main'] . "_$config_key"] : null) ); - } - /** - * set_override() - * Will set the three levels of overriding - */ - function set_override() { - foreach ($this->override_type as $type) { - $this->override[$type] = $this->_set_override($type); - } - $this->override[$this->actions['action_type']] = $this->gym_config[$this->actions['action_type'] . '_override']; - return; - } - /** - * _set_override() - * helper for set_override() - */ - function _set_override($type) { - $main_key = 'gym_override_' . $type; - $mode_key = $this->actions['action_type'] . '_override_' . $type; - // $module_key = !empty($this->actions['module_main']) ? $this->actions['action_type'] . '_' . $this->actions['module_main'] . '_override_' . $type : 0; - if ($this->gym_config['gym_override']) { // if top level overrinding is activated - return ($this->gym_config[$main_key] != OVERRIDE_GLOBAL) ? ($this->gym_config[$mode_key] != OVERRIDE_GLOBAL ? $this->gym_config[$mode_key] : $this->gym_config[$main_key]) : OVERRIDE_GLOBAL; - } else { - return $this->gym_config[$mode_key]; - } - } - /** - * xml_encode() - * helper - */ - function xml_encode($utf8_string) { - static $find = array('&', '<', '>'); - static $replace = array('&', '<', '>'); - return numeric_entify_utf8(str_replace($find, $replace, $utf8_string)); - } - /** - * check_forum_auth() - * Returns various forum auth and properties - */ - function check_forum_auth($guest_auth = true) { - global $auth, $db, $user, $cache; - $forum_auth_list = array('list' => array(), 'read' => array(), 'list_post' => array(), 'read_post' => array(), 'public_list' => array(), 'public_read' => array(), 'skip_pass' => array(), 'skip_cat' => array(), 'skip_all' => array(), 'skip_link' => array()); - $need_cache = false; - $cache_file = '_gym_auth_forum_guest'; - // First check the public forum list - if (($forum_auth_list = $cache->get($cache_file)) === false) { - $forum_auth_list = array('list' => array(), 'read' => array(), 'list_post' => array(), 'read_post' => array(), 'public_list' => array(), 'public_read' => array(), 'skip_pass' => array(), 'skip_cat' => array(), 'skip_all' => array(), 'skip_link' => array()); - $guest_data = array('user_id' => ANONYMOUS, - 'user_type' => USER_IGNORE, - 'user_permissions' . (defined('XLANG_AKEY') ? XLANG_AKEY : '') => '', - ); - $g_auth = new auth(); - $g_auth->acl($guest_data); - // the forum id array - $forum_list_ary = $g_auth->acl_getf('f_list', true); - foreach ($forum_list_ary as $forum_id => $null) { - $forum_auth_list['list'][$forum_id] = (int) $forum_id; - } - $forum_read_ary = $g_auth->acl_getf('f_read', true); - foreach ($forum_read_ary as $forum_id => $null) { - $forum_auth_list['read'][$forum_id] = (int) $forum_id; - } - ksort($forum_auth_list['list']); - ksort($forum_auth_list['read']); - $sql = "SELECT forum_id, forum_type, forum_password - FROM " . FORUMS_TABLE . " - WHERE forum_type <> " . FORUM_POST . " OR forum_password <> ''"; - $result = $db->sql_query($sql); - while ( $row = $db->sql_fetchrow($result) ) { - $forum_id = (int) $row['forum_id']; - if ($row['forum_password']) { - $forum_auth_list['skip_pass'][$forum_id] = $forum_id; - } - if ($row['forum_type'] == FORUM_CAT) { - $forum_auth_list['skip_cat'][$forum_id] = $forum_id; - } else if ($row['forum_type'] == FORUM_LINK) { - $forum_auth_list['skip_link'][$forum_id] = $forum_id; - } - $forum_auth_list['skip_all'][$forum_id] = $forum_id; - } - $db->sql_freeresult($result); - ksort($forum_auth_list['skip_pass']); - ksort($forum_auth_list['skip_all']); - ksort($forum_auth_list['skip_link']); - ksort($forum_auth_list['skip_cat']); - // Never mind about fourm links - $forum_auth_list['read'] = array_diff_assoc($forum_auth_list['read'], $forum_auth_list['skip_link']); - $forum_auth_list['list'] = array_diff_assoc($forum_auth_list['list'], $forum_auth_list['skip_link']); - ksort($forum_auth_list['read']); - ksort($forum_auth_list['list']); - $forum_auth_list['list_post'] = array_diff_assoc($forum_auth_list['list'], $forum_auth_list['skip_all']); - $forum_auth_list['read_post'] = array_diff_assoc($forum_auth_list['read'], $forum_auth_list['skip_all']); - $forum_auth_list['public_list'] = array_diff_assoc($forum_auth_list['list'], $forum_auth_list['skip_pass']); - $forum_auth_list['public_read'] = array_diff_assoc($forum_auth_list['read'], $forum_auth_list['skip_pass']); - $cache->put($cache_file, $forum_auth_list); - } - - $this->module_auth['forum'] = & $forum_auth_list; - if ($guest_auth) { // sometime, we need to only check guest auths, even if user is registered - $this->actions['auth_param'] = implode('-', $forum_auth_list['read_post']); - return $forum_auth_list['read_post']; - } - // else handle the real auth - $forum_auth_list['read'] = $forum_auth_list['list'] = array(); - $forum_list_ary = $auth->acl_getf('f_list', true); - foreach ($forum_list_ary as $forum_id => $null) { - $forum_auth_list['list'][$forum_id] = (int) $forum_id; - } - $forum_read_ary = $auth->acl_getf('f_read', true); - foreach ($forum_read_ary as $forum_id => $null) { - $forum_auth_list['read'][$forum_id] = (int) $forum_id; - } - ksort($forum_auth_list['list']); - ksort($forum_auth_list['read']); - $forum_auth_list['list'] = array_diff_assoc($forum_auth_list['list'], $forum_auth_list['skip_link']); - $forum_auth_list['read'] = array_diff_assoc($forum_auth_list['read'], $forum_auth_list['skip_link']); - $forum_auth_list['list_post'] = array_diff_assoc($forum_auth_list['list'], $forum_auth_list['skip_all']); - $forum_auth_list['read_post'] = array_diff_assoc($forum_auth_list['read'], $forum_auth_list['skip_all']); - - $this->actions['auth_param'] = implode('-', $forum_auth_list['read_post']); - return $forum_auth_list['read_post']; - } - /** - * Smiley processing, the phpBB3 function, but, with absolute linking - * a little optimization and regular config bypass. - */ - function smiley_text($text, $force_option = false) { - global $config, $user, $phpbb_seo; - static $viewsmilies; - if (!isset($viewsmilies)) { // Costs less than optionget ;-) - $viewsmilies = $user->optionget('viewsmilies'); - } - if ($force_option || !$viewsmilies) { - return preg_replace('#<!\-\- s(.*?) \-\-><img src="\{SMILIES_PATH\}\/.*? \/><!\-\- s\1 \-\->#', '\1', $text); - } else { - return preg_replace('#<!\-\- s(.*?) \-\-><img src="\{SMILIES_PATH\}\/(.*?) \/><!\-\- s\1 \-\->#', '<img src="' . $phpbb_seo->seo_path['phpbb_url'] . $config['smilies_path'] . '/\2 />', $text); - } - } - /** - * obtain_robots_disallows() - * obtain the eventual robots.txt exclusions - * and parse them into a patern array for later use - * @access private - */ - function obtain_robots_disallows() { - global $phpbb_root_path, $phpbb_seo, $cache, $phpEx; - if (function_exists('file_get_contents')) { - // Build the domain root path - $phpbb_real_path = trim(phpbb_realpath($phpbb_root_path), '/'); - $root_real_path = str_replace(trim($phpbb_seo->seo_path['phpbb_script'], '/'), '', $phpbb_real_path); - if (file_exists($root_real_path . '/robots.txt')) { - $time_created = filemtime($root_real_path . '/robots.txt'); - if (($this->actions['robots_patterns'] = $cache->get('_gym_config_robots_regex' )) === false) { - $robots = file_get_contents($root_real_path . '/robots.txt'); - preg_match_all('`^Disallow[\s]*:[\s]*([a-z0-9_\.&;\?,:/-]+)[\s]*$`im', $robots, $matches,PREG_SET_ORDER); - if (!empty($matches[0][1])) { - foreach ($matches as $match) { - if (!empty($match[1])) { - $this->actions['robots_patterns'][] = $phpbb_seo->seo_path['root_url'] . trim($match[1], '/'); - } - } - } - $this->actions['robots_patterns']['date'] = $time_created; - $cache->put('_gym_config_robots_regex' , $this->actions['robots_patterns']); - } elseif ($this->actions['robots_patterns']['date'] < $time_created) { // robots.tx was updated - $cache->destroy('_gym_config_robots_regex'); - $this->obtain_robots_disallows(); - } - - } - } - return; - } - /** - * is_robots_disallowed() - * checks if an url is disallowed by the robots.txt patterns - * @access private - */ - function is_robots_disallowed($url) { - if (!empty($this->actions['robots_patterns'])) { - foreach($this->actions['robots_patterns'] as $pattern) { - if (stripos( $url, $pattern) !== false) { - return true; - } - } - } - return false; - } - /** - * set_exclude_list($id_list) will build up the public unauthed ids - * @access private - */ - function set_exclude_list($id_list) { - $exclude_list = empty($id_list) ? array() : explode(',', $id_list); - $ret = array(); - foreach ($exclude_list as $value ) { - $value = (int) trim($value); - if (!empty($value)) { - $ret[$value] = $value; - } - } - return $ret; - } - /** - * set_exclude_list($id_list) will build up the public unauthed ids - * This method is deprecated since 2.0.RC2 - * @access private - */ - function set_not_in_list($id_list = array(), $field = '', $and = '') { - if ( !empty($id_list) && is_array($id_list) ) { - $not_in_id_sql = " $field NOT IN (" . implode(",", array_map('intval', $id_list)) . ") $and "; - } else { - $not_in_id_sql = ''; - } - return $not_in_id_sql; - } - /** - * is_forum_public($forum_id) Will tell if a forum is publicly viewable or listable (auth guest) - * @access private - */ - function is_forum_public($forum_id, $type = 'read') { - $type = $type === 'list' ? 'list' : 'read'; - return (boolean) isset($this->actions["auth_guest_$type"][$forum_id]); - } - - // --> Others <-- - /** - * init_url_rewrite() - */ - function init_url_rewrite($modr = false, $type = 0) { - global $phpbb_seo, $phpEx; - $this->url_config['modrewrite'] = $modr ? true : false; - // Mod rewrite type auto detection - $this->url_config['modrtype'] = !empty($phpbb_seo->modrtype) ? max(0, (int) $phpbb_seo->modrtype) : max(0, (int) $type); - if (!@isset($phpbb_seo->seo_opt['url_rewrite'])) { - $phpbb_seo->seo_opt['url_rewrite'] = $this->url_config['modrtype'] > 0 ? true : false; - } - // make sure virtual_folder uses the proper value - $phpbb_seo->seo_opt['virtual_folder'] = $this->url_config['modrtype'] ? $phpbb_seo->seo_opt['virtual_folder'] : false; - $this->url_config['forum_start_tpl'] = $this->url_config['start_default'] . '%1$d'; - $this->url_config['topic_start_tpl'] = $this->url_config['start_default'] . '%1$d'; - $this->url_config['forum_tpl'] = "viewforum.$phpEx?f=%1\$d"; - $this->url_config['topic_tpl'] = "viewtopic.$phpEx?f=%1\$d&t=%2\$d"; - if (!$phpbb_seo->seo_opt['url_rewrite']) { - $this->url_config['forum_index'] = "index.$phpEx"; - $phpbb_seo->seo_opt['virtual_folder'] = false; - $this->url_config['forum_ext'] = ''; - $this->url_config['topic_ext'] = ''; - } else { - $this->url_config['forum_index'] = !empty($phpbb_seo->seo_static['index']) ? $phpbb_seo->seo_static['index'] . $phpbb_seo->seo_ext['index'] : ''; - if ($this->url_config['modrtype'] >= 1) { // Simple mod rewrite, default is none (0) - $this->url_config['forum_ext'] = $phpbb_seo->seo_ext['forum']; - $this->url_config['topic_ext'] = $phpbb_seo->seo_ext['topic']; - $this->url_config['forum_start_tpl'] = $phpbb_seo->seo_opt['virtual_folder'] ? '/' . $phpbb_seo->seo_static['pagination'] . '%1$d' . $phpbb_seo->seo_ext['pagination'] : $phpbb_seo->seo_delim['start'] . '%1$d' . $this->url_config['forum_ext']; - $this->url_config['topic_start_tpl'] = $this->url_config['topic_ext'] == '/' ? '/' . $phpbb_seo->seo_static['pagination'] . '%1$d' . $phpbb_seo->seo_ext['pagination'] : $phpbb_seo->seo_delim['start'] . '%1$d' . $this->url_config['topic_ext']; - } - if ($this->url_config['modrtype'] >= 2) { // +Mixed - } - if ($this->url_config['modrtype'] >= 3) { // +Advanced - } - } - } - /** - * forum_url() builds forum url with proper options - * Suffixe is not added here, to properly deal with pagination - */ - function forum_url($forum_name, $forum_id) { - global $phpbb_seo; - return $phpbb_seo->seo_opt['url_rewrite'] ? $phpbb_seo->set_url($forum_name, $forum_id, 'forum') : sprintf($this->url_config['forum_tpl'], $forum_id); - } - /** - * topic_url($topic_title, $topic_id, $forum_url, $forum_id) builds forum url with proper options - * Suffixe is not added here, to properly deal with pagination - */ - function topic_url($topic_data, $forum_id, $forum_url = '') { - global $phpbb_seo; - return $phpbb_seo->seo_opt['url_rewrite'] ? $phpbb_seo->prepare_iurl($topic_data, 'topic', trim($forum_url, '/')) : sprintf($this->url_config['topic_tpl'], $forum_id, (int) $topic_data['topic_id']); - } - /** - * Returns usable start param - * -xx | /pagexx.html - */ - function set_start($type, $start) { - global $phpbb_seo; - return $start > 0 ? sprintf($this->url_config[$type . '_start_tpl'], (int) $start) : $this->url_config[$type . '_ext']; - } - /** - * check start var consistency - * and return our best guess for $start, eg the first valid page - * parameter according to pagination settings being lower - * than the one sent. - */ - function chk_start($start = 0, $limit = 0) { - if ($limit > 0) { - $start = is_int($start/$limit) ? $start : intval($start/$limit)*$limit; - } - return (int) $start; - } - /** - * parse_link() builds an html link - */ - function parse_link($url, $title = '', $tag_arround = '') { - global $config; - static $linktpl = '%4$s<a href="%1$s" %2$s>%3$s</a>%5$s'; - $title_tag = $tag1 = $tag2 = ''; - if (empty($title) ) { - $title = $url; - } else { - $title_tag = 'title="' . $title . '"'; - } - if (!empty($tag_arround)) { - $tag1 = "<$tag_arround>"; - $tag2 = "</$tag_arround>"; - } - return sprintf($linktpl, $url, $title_tag, $title, $tag1, $tag2); - } - /** - * seo_kill_dupes($url) will kill duplicates when pages are not cached - * @access private - */ - function seo_kill_dupes($url) { - global $user, $auth, $_SID, $phpbb_seo; - $url = str_replace('&', '&', $url); - // if an https request lead us here or if it is forced, then use it as a reference - $url = $phpbb_seo->sslify($url, $phpbb_seo->ssl['use']); - if ($this->url_config['zero_dupe']) { - $requested_url = $this->url_config['uri']; - if (!empty($_REQUEST['explain']) && (boolean) ($auth->acl_get('a_') && defined('DEBUG_EXTRA'))) { - if ($_REQUEST['explain'] == 1) { - return; - } - } - $url = $phpbb_seo->drop_sid($url); - if (!empty($_GET['sid']) && !empty($_SID)) { - $url .= (utf8_strpos( $url, '?' ) !== false ? '&' : '?') . 'sid=' . $user->session_id; - } - if ( $requested_url !== $url ) { - $this->gym_redirect($url); - } - } - $this->url_config['current'] = $url; - return; - } - /** - * Custom HTTP 301 redirections. - * To kill duplicates - */ - function gym_redirect($url, $header = "301 Moved Permanently", $code = 301, $replace = true) { - if (headers_sent()) { - return false; - } - if (strstr(urldecode($url), "\n") || strstr(urldecode($url), "\r") || strstr(urldecode($url), ';url')) { - $this->gym_error(400, '', __FILE__, __LINE__); - } - $http = "HTTP/1.1 "; - header($http . $header, $replace, $code); - header("Location:" . $url); - $this->safe_exit(); - } - /** - * gym_error(($errno, $msg_text, $errfile, $errline) - * Will properly handle error for all cases, admin always get full debug - * Partly based on msg_handler() - * @access private - */ - function gym_error($errno = 0, $msg_key = '', $errfile = '', $errline = '', $sql = '') { - global $user, $phpbb_seo, $auth, $phpbb_root_path, $phpEx, $msg_title; - $http_codes = array ( - 204 => 'HTTP/1.1 204 No Content', - 400 => 'HTTP/1.1 400 Bad Request', - 401 => 'HTTP/1.1 401 Unauthorized', - 403 => 'HTTP/1.1 403 Forbidden', - 404 => 'HTTP/1.1 404 Not Found', - 405 => 'HTTP/1.1 405 Method Not Allowed', - 406 => 'HTTP/1.1 406 Not Acceptable', - 410 => 'HTTP/1.1 410 Gone', - 500 => 'HTTP/1.1 500 Internal Server Error', - 503 => 'HTTP/1.1 503 Service Unavailable', - ); - $header = isset($http_codes[$errno]) ? $http_codes[$errno] : ''; - $return_url = append_sid("{$phpbb_root_path}index.$phpEx"); - if (!empty($user) && !empty($user->lang)) { - $msg_title = (empty($msg_key)) ? ( !empty($user->lang['GYM_ERROR_' . $errno]) ? $user->lang['GYM_ERROR_' . $errno] : ( !empty($header) ? $header : $user->lang['GENERAL_ERROR']) ) : ((!empty($user->lang[$msg_key])) ? $user->lang[$msg_key] : $msg_key); - $msg_text = !empty($user->lang[$msg_key . '_EXPLAIN']) ? $user->lang[$msg_key . '_EXPLAIN'] : (!empty($user->lang['GYM_ERROR_' . $errno . '_EXPLAIN']) ? $user->lang['GYM_ERROR_' . $errno . '_EXPLAIN'] : ( (!empty($msg_key) ? $msg_key : (!empty($header) ? $header : $msg_title) ) ) ); - $l_return_index = sprintf($user->lang['RETURN_INDEX'], '<a href="' . $return_url . '">', '</a>'); - if ( ( $errno == 500 || $errno == 503 ) && !empty($config['board_contact'])) { - $msg_text .= '<p>' . sprintf($user->lang['NOTIFY_ADMIN_EMAIL'], $config['board_contact']) . '</p>'; - } - } else { - $msg_title = 'GYM Sitemaps General Error'; - $l_return_index = '<a href="' . $return_url . '">Return to index page</a>'; - if ( ( $errno == 500 || $errno == 503 ) && !empty($config['board_contact'])) { - $msg_text .= '<p>Please notify the board administrator or webmaster: <a href="mailto:' . $config['board_contact'] . '">' . $config['board_contact'] . '</a></p>'; - } - } - $msg_text .= '<br/><br/>' . $l_return_index; - if (@$auth->acl_get('a_')) { - if (!empty($user->lang[$msg_key . '_EXPLAIN_ADMIN'])) { - $msg_text .= '<br/><br/>' . $user->lang[$msg_key . '_EXPLAIN_ADMIN']; - } - if (defined('DEBUG')) { - $msg_text .= '</p><br/><h2>Debug :</h2><p>' . (!empty($errfile) ? "<br/><b>File :</b> " . utf8_htmlspecialchars($errfile) . "<br/>" : ''); - $msg_text .= !empty($errline) ? "<br/><b>Line :</b> " . utf8_htmlspecialchars($errline) . "<br/>" : ''; - $msg_text .= !empty($sql) ? "<br/><b>Sql :</b> " . utf8_htmlspecialchars($sql) . "<br/>" : ''; - $msg_text .= '</p><div style="font-size:12px">' . get_backtrace() . '</div><p>'; - } - } - if ( !empty($header) ) { - header($header); - } - meta_refresh(5, $return_url); - trigger_error($msg_text); - $this->safe_exit(); - return; - } - /** - * For a safe exit - * @access private - */ - function safe_exit() { - garbage_collection(); - exit_handler(); - exit; - } -} -?> diff --git a/phpBB/gym_sitemaps/includes/index.htm b/phpBB/gym_sitemaps/includes/index.htm deleted file mode 100644 index e0cc5f36e6..0000000000 --- a/phpBB/gym_sitemaps/includes/index.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html>
-<head>
-<title></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</head>
-
-<body bgcolor="#FFFFFF" text="#000000">
-
-</body>
-</html>
diff --git a/phpBB/gym_sitemaps/includes/phpbb_seo_class_light.php b/phpBB/gym_sitemaps/includes/phpbb_seo_class_light.php deleted file mode 100644 index 251e1d84fc..0000000000 --- a/phpBB/gym_sitemaps/includes/phpbb_seo_class_light.php +++ /dev/null @@ -1,252 +0,0 @@ -<?php -/** -* -* @package Ultimate SEO URL phpBB SEO -* @version $Id: phpbb_seo_class_light.php 264 2010-06-02 07:13:08Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://www.opensource.org/licenses/rpl1.5.txt Reciprocal Public License 1.5 -* -*/ -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) { - exit; -} -/** -* phpBB_SEO Class lite -* For Compatibility with the phpBB SEO mod rewrites -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -// - -class phpbb_seo { - var $modrtype = -1; - var $seo_path = array(); - var $seo_url = array( 'forum' => array(), 'topic' => array(), 'user' => array(), 'username' => array(), 'group' => array(), 'file' => array() ); - var $seo_delim = array( 'forum' => '-f', 'topic' => '-t', 'user' => '-u', 'group' => '-g', 'start' => '-', 'sr' => '-', 'file' => '/'); - var $seo_ext = array( 'forum' => '.html', 'topic' => '.html', 'post' => '.html', 'user' => '.html', 'group' => '.html', 'index' => '', 'global_announce' => '/', 'leaders' => '.html', 'atopic' => '.html', 'utopic' => '.html', 'npost' => '.html', 'pagination' => '.html', 'gz_ext' => ''); - var $seo_static = array( 'forum' => 'forum', 'topic' => 'topic', 'post' => 'post', 'user' => 'member', 'group' => 'group', 'index' => '', 'global_announce' => 'announces', 'leaders' => 'the-team', 'atopic' => 'active-topics', 'utopic' => 'unanswered', 'npost' => 'newposts', 'pagination' => 'page', 'gz_ext' => '.gz' ); - var $seo_opt = array(); - var $seo_cache = array(); - var $RegEx = array(); - var $sftpl = array(); - var $url_replace = array(); - var $ssl = array('requested' => false, 'forced' => false); - var $light = true; - /** - * constuctor - */ - function phpbb_seo() { - global $config, $phpEx; - // fix for an interesting bug with parse_str http://bugs.php.net/bug.php?id=48697 - // and apparently, the bug is still here in php5.3 - @ini_set("mbstring.internal_encoding", 'UTF-8'); - // URL Settings - $this->seo_opt = array( - 'profile_inj' => false, - 'rem_small_words' => false, - 'virtual_folder' => false, - 'virtual_root' => false, - ); - // --> DOMAIN SETTING <-- // - // SSL, beware with cookie secure, it won't force ssl here, - // so you will need to switch to ssl for your user to use cookie based session (no sid) - // could be done by using an https link to login form (or within the redirect after login) - $this->ssl['requested'] = (bool) ((isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] === 'on' || $_SERVER['HTTPS'] === true)) || (isset($_SERVER['SERVER_PORT']) && (int) $_SERVER['SERVER_PORT'] === 443)); - $this->ssl['forced'] = (bool) (($config['server_protocol'] === 'https//')); - $this->ssl['use'] = (bool) ($this->ssl['requested'] || $this->ssl['forced']); - // Server Settings, rely on DB - $server_protocol = $this->ssl['use'] ? 'https://' : 'http://'; - $server_name = trim($config['server_name'], '/ '); - $server_port = max(0, (int) $config['server_port']); - $server_port = ($server_port && $server_port <> 80) ? ':' . $server_port : ''; - $script_path = trim($config['script_path'], '/ '); - $script_path = (empty($script_path) ) ? '' : $script_path . '/'; - $this->seo_path['root_url'] = utf8_strtolower($server_protocol . $server_name . $server_port . '/'); - $this->seo_path['phpbb_urlR'] = $this->seo_path['phpbb_url'] = $this->seo_path['root_url'] . $script_path; - $this->seo_path['phpbb_script'] = $script_path; - $this->seo_path['canonical'] = ''; - // File setting - $this->seo_req_uri(); - $this->seo_opt['seo_base_href'] = $this->seo_opt['req_file'] = $this->seo_opt['req_self'] = ''; - if ($script_name = (!empty($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : getenv('PHP_SELF')) { - // From session.php - // Replace backslashes and doubled slashes (could happen on some proxy setups) - $this->seo_opt['req_self'] = str_replace(array('\\', '//'), '/', $script_name); - // basenamed page name (for example: index) - $this->seo_opt['req_file'] = urlencode(htmlspecialchars(str_replace(".$phpEx", '', basename($this->seo_opt['req_self'])))); - } - // see if we have some custom replacement - if (!empty($this->url_replace)) { - $this->url_replace = array( - 'find' => array_keys($this->url_replace), - 'replace' => array_values($this->url_replace) - ); - } - // preg_replace() patterns for format_url() - // One could want to add |th|horn after |slash, but I'm not sure that Þ should be replaced with t and Ð with e - $this->RegEx['url_find'] = array('`&([a-z]+)(acute|grave|circ|cedil|tilde|uml|lig|ring|caron|slash);`i', '`&(amp;)?[^;]+;`i', '`[^a-z0-9]`i'); // Do not remove : deaccentuation, html/xml entities & non a-z chars - $this->RegEx['url_replace'] = array('\1', '-', '-'); - if ($this->seo_opt['rem_small_words']) { - $this->RegEx['url_find'][] = '`(^|-)[a-z0-9]{1,2}(?=-|$)`i'; - $this->RegEx['url_replace'][] = '-'; - } - $this->RegEx['url_find'][] ='`[-]+`'; // Do not remove : multi hyphen reduction - $this->RegEx['url_replace'][] = '-'; - // $1 parent : string/ - // $2 title / url : topic-title / forum-url-fxx - // $3 id - $this->sftpl = array( - 'topic' => ($this->seo_opt['virtual_folder'] ? '%1$s/' : '') . '%2$s' . $this->seo_delim['topic'] . '%3$s', - 'topic_smpl' => ($this->seo_opt['virtual_folder'] ? '%1$s/' : '') . $this->seo_static['topic'] . '%3$s', - 'forum' => $this->modrtype >= 2 ? '%2$s' : $this->seo_static['forum'] . '%3$s', - 'group' => $this->seo_opt['profile_inj'] ? '%2$s' . $this->seo_delim['group'] . '%3$s' : $this->seo_static['group'] . '%3$s', - ); - return; - } - // --> Gen stats - /** - * Returns microtime - * Borrowed from php.net - */ - function microtime_float() { - return array_sum(explode(' ', microtime())); - } - // --> URL rewriting functions <-- - /** - * format_url( $url, $type = 'topic' ) - * Prepare Titles for URL injection - */ - function format_url( $url, $type = 'topic' ) { - $url = preg_replace('`\[.*\]`U','',$url); - if (isset($this->url_replace['find'])) { - $url = str_replace($this->url_replace['find'], $this->url_replace['replace'], $url); - } - $url = htmlentities($url, ENT_COMPAT, 'UTF-8'); - $url = preg_replace($this->RegEx['url_find'] , $this->RegEx['url_replace'], $url); - $url = strtolower(trim($url, '-')); - return empty($url) ? $type : $url; - } - /** - * set_url( $url, $id = 0, $type = 'forum', $parent = '' ) - * Prepare url first part and checks cache - */ - function set_url( $url, $id = 0, $type = 'forum', $parent = '') { - if ( empty($this->seo_url[$type][$id]) ) { - return ( $this->seo_url[$type][$id] = !empty($this->cache_config[$type][$id]) ? $this->cache_config[$type][$id] : sprintf($this->sftpl[$type], $parent, $this->format_url($url, $this->seo_static[$type]) . $this->seo_delim[$type] . $id, $id) ); - } - return $this->seo_url[$type][$id]; - } - /** - * prepare_url( $type, $title, $id, $parent = '', $smpl = false ) - * Prepare url first part - */ - function prepare_url( $type, $title, $id, $parent = '', $smpl = false ) { - return empty($this->seo_url[$type][$id]) ? ($this->seo_url[$type][$id] = sprintf($this->sftpl[$type . ($smpl ? '_smpl' : '')], $parent, !$smpl ? $this->format_url($title, $this->seo_static[$type]) : '', $id)) : $this->seo_url[$type][$id]; - } - /** - * set_title( $type, $title, $id, $parent = '' ) - * Set title for url injection - */ - function set_title( $type, $title, $id, $parent = '' ) { - return empty($this->seo_url[$type][$id]) ? ($this->seo_url[$type][$id] = ($parent ? $parent . '/' : '') . $this->format_url($title, $this->seo_static[$type])) : $this->seo_url[$type][$id]; - } - /** - * prepare_iurl( $data, $type, $parent = '' ) - * Prepare url first part (not for forums) with SQL based URL rewriting - */ - function prepare_iurl( $data, $type, $parent = '' ) { - $id = max(0, (int) $data[$type . '_id']); - if ( empty($this->seo_url[$type][$id]) ) { - if (!empty($data[$type . '_url'])) { - return ($this->seo_url[$type][$id] = $data[$type . '_url'] . $id); - } else { - return ($this->seo_url[$type][$id] = sprintf($this->sftpl[$type . ($this->modrtype > 2 ? '' : '_smpl')], $parent, $this->modrtype > 2 ? $this->format_url($data[$type . '_title'], $this->seo_static[$type]) : '', $id)); - } - } - return $this->seo_url[$type][$id]; - } - /** - * drop_sid( $url ) - * drop the sid's in url - */ - function drop_sid( $url ) { - return (strpos($url, 'sid=') !== false) ? trim(preg_replace(array('`&(amp;)?sid=[a-z0-9]*(&|&)?`', '`(\?)sid=[a-z0-9]*`'), array('\2', '\1'), $url), '?') : $url; - } - /** - * set_user_url( $username, $user_id = 0 ) - * Prepare profile url - */ - function set_user_url( $username, $user_id = 0 ) { - if (empty($this->seo_url['user'][$user_id])) { - $username = strip_tags($username); - $this->seo_url['username'][$username] = $user_id; - if ( $this->seo_opt['profile_inj'] ) { - if ( $this->seo_opt['profile_noids'] ) { - $this->seo_url['user'][$user_id] = $this->seo_static['user'] . '/' . $this->seo_url_encode($username); - } else { - $this->seo_url['user'][$user_id] = $this->format_url($username, $this->seo_delim['user']) . $this->seo_delim['user'] . $user_id; - } - } else { - $this->seo_url['user'][$user_id] = $this->seo_static['user'] . $user_id; - } - } - } - /** - * seo_url_encode( $url ) - * custom urlencoding - */ - function seo_url_encode( $url ) { - // can be faster to return $url directly if you do not allow more chars than - // [a-zA-Z0-9_\.-] in your usernames - // return $url; - // Here we hanlde the "&", "/", "+" and "#" case proper ( http://www.php.net/urlencode => http://issues.apache.org/bugzilla/show_bug.cgi?id=34602 ) - static $find = array('&', '/', '#', '+'); - static $replace = array('%26', '%2F', '%23', '%2b'); - return rawurlencode(str_replace( $find, $replace, utf8_normalize_nfc(htmlspecialchars_decode(str_replace('&amp;', '%26', rawurldecode($url)))))); - } - /** - * Returns the full REQUEST_URI - */ - function seo_req_uri() { - if ( !empty($_SERVER['HTTP_X_REWRITE_URL']) ) { // IIS isapi_rewrite - $this->seo_path['uri'] = ltrim($_SERVER['HTTP_X_REWRITE_URL'], '/'); - } elseif ( !empty($_SERVER['REQUEST_URI']) ) { // Apache mod_rewrite - $this->seo_path['uri'] = ltrim($_SERVER['REQUEST_URI'], '/'); - } else { // no mod rewrite - $this->seo_path['uri'] = ltrim($_SERVER['SCRIPT_NAME'], '/') . ( ( !empty($_SERVER['QUERY_STRING']) ) ? '?'.$_SERVER['QUERY_STRING'] : '' ); - } - $this->seo_path['uri'] = str_replace( '%26', '&', rawurldecode($this->seo_path['uri'])); - // workaround for FF default iso encoding - if (!$this->is_utf8($this->seo_path['uri'])) { - $this->seo_path['uri'] = utf8_normalize_nfc(utf8_recode($this->seo_path['uri'], 'iso-8859-1')); - } - $this->seo_path['uri'] = $this->seo_path['root_url'] . $this->seo_path['uri']; - return $this->seo_path['uri']; - } - /** - * sslify($url, $ssl = true, $proto_check = true) - * properly set http protocol (eg http or https) - * if no protocol is specified, will return false with $proto_check set to true - */ - function sslify($url, $ssl = true, $proto_check = true) { - static $mask = '`^https?://`i'; - $url = trim($url); - if ($url && preg_match($mask, $url)) { - $replace = $ssl ? 'https://' : 'http://'; - return preg_replace($mask, $replace, $url); - } - return $proto_check ? false : $url; - } - /** - * is_utf8($string) - * Borrowed from php.net : http://www.php.net/mb_detect_encoding (detectUTF8) - */ - function is_utf8($string) { - // non-overlong 2-byte|excluding overlongs|straight 3-byte|excluding surrogates|planes 1-3|planes 4-15|plane 16 - return preg_match('%(?:[\xC2-\xDF][\x80-\xBF]|\xE0[\xA0-\xBF][\x80-\xBF]|[\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}|\xED[\x80-\x9F][\x80-\xBF] |\xF0[\x90-\xBF][\x80-\xBF]{2}|[\xF1-\xF3][\x80-\xBF]{3}|\xF4[\x80-\x8F][\x80-\xBF]{2})+%xs', $string); - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/modules/.htaccess b/phpBB/gym_sitemaps/modules/.htaccess deleted file mode 100644 index 6511d09c92..0000000000 --- a/phpBB/gym_sitemaps/modules/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -<Limit GET POST PUT DELETE> -Order Allow,Deny -Deny from All -</Limit> diff --git a/phpBB/gym_sitemaps/modules/google_forum.php b/phpBB/gym_sitemaps/modules/google_forum.php deleted file mode 100644 index 3bf26d4491..0000000000 --- a/phpBB/gym_sitemaps/modules/google_forum.php +++ /dev/null @@ -1,342 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: google_forum.php 254 2010-03-12 15:08:58Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* google_forum Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class google_forum { - var $url_config = array(); - var $actions = array(); - var $module_auth = array(); - var $module_config = array(); - var $output_data = array(); - /** - * constuctor - */ - function google_forum(&$gym_master) { - $this->gym_master = &$gym_master; - $this->actions = &$this->gym_master->actions; - $this->module_auth = &$this->gym_master->module_auth; - $this->output_data = &$this->gym_master->output_data; - $this->url_config = &$this->gym_master->url_config; - $this->module_config = array_merge( - // Global - $this->gym_master->google_config, - // Other stuff required here - array( - 'google_sticky_priority' => $this->gym_master->gym_config['google_forum_sticky_priority'], - 'google_announce_priority' => $this->gym_master->gym_config['google_forum_announce_priority'], - 'google_exclude' => trim($this->gym_master->gym_config['google_forum_exclude'], ','), - ) - ); - // Build exclude_list array - $this->module_config['exclude_list'] = $this->gym_master->set_exclude_list($this->module_config['google_exclude']); - // Wee need to check auth here (Only public and postable forums for sitemaps) - $this->gym_master->check_forum_auth($this->module_config['google_auth_guest']); - // Wee need to check auth here - $this->actions['auth_guest_read'] = array_diff_assoc($this->module_auth['forum']['public_read'], $this->module_config['exclude_list'], $this->module_auth['forum']['skip_all']); - $this->actions['auth_view_read'] = array_diff_assoc($this->module_auth['forum']['read_post'], $this->module_config['exclude_list']); - if (empty($this->actions['auth_view_read'])) { - $this->gym_master->gym_error(404, '', __FILE__, __LINE__); - } - // Check cache - $this->gym_master->gym_output->setup_cache(); // Will exit if the cache is sent - $this->init_url_settings(); - } - /** - * Initialize mod rewrite to handle multiple URL standards. - * Only one 'if' is required after this in THE loop to properly switch - * between the four types (none, advanced, mixed and simple). - * @access private - */ - function init_url_settings() { - global $phpbb_seo, $phpEx; - // vars will fell like rain in the code ;) - $this->gym_master->init_url_rewrite($this->module_config['google_modrewrite'], $this->module_config['google_modrtype']); - $this->url_config['google_forum_tpl'] = $this->module_config['google_url'] . $this->url_config['google_default'] . '?forum=%1$s'; - $this->url_config['google_forum_default'] = $this->url_config['google_default'] . '?forum'; - $this->url_config['google_annouces_default'] = sprintf($this->url_config['google_forum_tpl'], 'announces'); - $this->url_config['google_forum_ext'] = ''; - $this->url_config['google_forum_delim'] = !empty($phpbb_seo->seo_delim['forum']) ? $phpbb_seo->seo_delim['forum'] : '-f'; - $this->url_config['google_forum_static'] = !empty($phpbb_seo->seo_static['forum']) ? $phpbb_seo->seo_static['forum'] : 'forum'; - if ($this->url_config['modrewrite']) { // Module links - $this->url_config['google_forum_ext'] = '.xml' . $this->url_config['gzip_ext_out']; - $this->url_config['google_forum_tpl'] = $this->module_config['google_url'] . ($this->url_config['modrtype'] >= 2 ? '%2$s' . $this->url_config['google_forum_delim'] . '%1$s' . $this->url_config['google_forum_ext'] : $this->url_config['google_forum_static'] . $this->url_config['google_forum_delim'] . '%1$s' . $this->url_config['google_forum_ext']); - $this->url_config['google_forum_default'] = 'forum-sitemap' . $this->url_config['google_forum_ext']; - $this->url_config['google_annouces_default'] = $this->module_config['google_url'] . 'forum-announces' . $this->url_config['google_forum_ext']; - } - return; - } - /** - * sitemap, builds the sitemap - * @access private - */ - function sitemap() { - global $config, $phpbb_seo, $db, $user, $auth; - $approve_sql = ' AND topic_approved = 1'; - if ($this->actions['module_sub'] === 'announces') { - // Start with forums info - $forum_data = array(); - $forum_data['replies_key'] = 'topic_replies'; - $forum_data['forum_url'] = $phpbb_seo->seo_opt['virtual_folder'] ? $phpbb_seo->seo_static['global_announce'] . $phpbb_seo->seo_ext['global_announce'] : '' ; - // Do we want to list all the global announces from the forum - // Count items - $sql = "SELECT COUNT(topic_id) AS topic - FROM " . TOPICS_TABLE . " - WHERE forum_id = 0 - AND topic_type = " . POST_GLOBAL . $approve_sql; - $result = $db->sql_query($sql); - $row = $db->sql_fetchrow($result); - $db->sql_freeresult($result); - if(empty($row['topic'])) { - $this->gym_master->gym_error(404, 'GYM_TOO_FEW_ITEMS', __FILE__, __LINE__); - exit; - } else { - $forum_data['topic_count'] = (int) $row['topic']; - unset($row); - } - // it's the announces sitemap - $announces_sitemap_url = $this->url_config['google_annouces_default']; - $this->gym_master->seo_kill_dupes($announces_sitemap_url); - // Forum index location - $this->gym_master->parse_item($phpbb_seo->seo_path['phpbb_urlR'] . $this->url_config['forum_index'], 1, 'always', time()); - $forum_sql = ' forum_id = 0 AND topic_type = ' . POST_GLOBAL . ' AND '; - $this->list_topics($forum_sql, $forum_data, $approve_sql); - } else { - // Filter $this->actions['module_sub'] var type - $this->actions['module_sub'] = intval($this->actions['module_sub']); - if ($this->actions['module_sub'] > 0) { - // then It's a forum sitemap - // Check forum auth and grab necessary infos - $sql = "SELECT * - FROM ". FORUMS_TABLE ." f - WHERE forum_id = " . $this->actions['module_sub']; - $result = $db->sql_query($sql); - $forum_data = $db->sql_fetchrow($result); - $db->sql_freeresult($result); - if ( empty($forum_data) ) { - $this->gym_master->gym_error(404, '', __FILE__, __LINE__, $sql); - } - $forum_id = (int) $forum_data['forum_id']; - if ( $forum_data['forum_type'] != FORUM_POST || !isset($this->actions['auth_view_read'][$forum_id]) ) { - $this->gym_master->gym_error(401, '', __FILE__, __LINE__); - } - // This forum is allowed, so let's start - $forum_sitemap_url = sprintf($this->url_config['google_forum_tpl'], $forum_id, str_replace($phpbb_seo->seo_delim['forum'] . $forum_id, '', $phpbb_seo->set_url($forum_data['forum_name'], $forum_id, 'forum'))); - // Approval and pagination - $paginated = $config['posts_per_page']; - $forum_data['topic_count'] = (int) $forum_data['forum_topics']; - $forum_data['replies_key'] = 'topic_replies'; - // Do not serve content if there is no topic in the forum - if ( $forum_data['topic_count'] < $this->module_config['google_threshold'] ) { - $this->gym_master->gym_error(404, 'GYM_TOO_FEW_ITEMS', __FILE__, __LINE__, $sql); - } - $this->gym_master->seo_kill_dupes($forum_sitemap_url); - $forum_data['forum_url'] = $this->gym_master->forum_url($forum_data['forum_name'], $forum_id) . $this->url_config['forum_ext']; - $this->gym_master->parse_item($phpbb_seo->seo_path['phpbb_urlR'] . $forum_data['forum_url'], 1.0, 'always', $forum_data['forum_last_post_time']); - $forum_sql = ' forum_id = ' . $forum_id . ' AND topic_type <> ' . POST_GLOBAL . ' AND '; - $this->list_topics($forum_sql, $forum_data, $approve_sql); - } else { - // it's the forums sitemap - $forum_sitemap_url = $this->module_config['google_url'] . $this->url_config['google_forum_default']; - $this->gym_master->seo_kill_dupes($forum_sitemap_url); - // Forum index location - $this->gym_master->parse_item($phpbb_seo->seo_path['phpbb_urlR'] . $this->url_config['forum_index'], 1, 'always', time()); - $sql = "SELECT * - FROM ". FORUMS_TABLE . " WHERE " . $db->sql_in_set('forum_id' , $this->actions['auth_view_read'], false, true) . " - ORDER BY forum_last_post_id " . $this->module_config['google_sort']; - $result = $db->sql_query($sql); - // Forums loop - while( $forum_data = $db->sql_fetchrow($result) ) { - $forum_id = (int) $forum_data['forum_id']; - // Make sure that the forum is auth - if (!isset($this->actions['auth_view_read'][$forum_id])) { - continue; - } - $topics_count = $forum_data['forum_topics']; - // Not enough topics in this forum, skip - if ($topics_count < $this->module_config['google_threshold']) { - continue; - } - $paginated = $forum_data['forum_topics_per_page'] ? $forum_data['forum_topics_per_page'] : $config['topics_per_page']; - $pages = ceil( ($topics_count + 1) / $paginated); - $forum_url = $phpbb_seo->seo_path['phpbb_urlR'] . $this->gym_master->forum_url($forum_data['forum_name'], $forum_id); - $forum_priority = $this->gym_master->get_priority($forum_data['forum_last_post_time'], $pages); - $forum_change = $this->gym_master->get_changefreq($forum_data['forum_last_post_time']); - $this->gym_master->parse_item( $forum_url . $this->url_config['forum_ext'], $forum_priority, $forum_change, $forum_data['forum_last_post_time']); - if ($pages > 1 && $this->module_config['google_pagination']) { - // Reset Pages limits for this topic - $pag_limit1 = $this->module_config['google_limitdown']; - $pag_limit2 = $this->module_config['google_limitup']; - // If $pag_limit2 too big for this topic, lets output all pages - $pag_limit2 = ( $pages < $pag_limit2 ) ? ($pages - 1) : $pag_limit2; - $i=1; - while ( ($i < $pages) ) { - if ( ( $i <= $pag_limit1 ) || ( $i > ($pages - $pag_limit2 ) ) ) { - $forum_priority *= 0.95; - $url = $forum_url . sprintf($this->url_config['forum_start_tpl'], $paginated * $i); - $this->gym_master->parse_item( $url, $forum_priority, $forum_change, $forum_data['forum_last_post_time']); - $i++; - } else { - $i++; - } - } - } - } // End Forum map loop - $db->sql_freeresult($result); - unset ($forum_data); - } - } - return; - } - /** - * sitemapindex, builds the sitemapindex - * @access private - */ - function sitemapindex() { - global $phpbb_seo, $db, $config, $user, $auth; - $approve_sql = ' AND topic_approved = 1'; - // It's global list call, add module sitemaps - // Reset the local counting, since we are cycling through modules - $this->output_data['url_sofar'] = 0; - // Announces map location ? - // Count items - $sql = "SELECT COUNT(topic_id) AS topic - FROM " . TOPICS_TABLE . " - WHERE forum_id = 0 - AND topic_type = " . POST_GLOBAL . $approve_sql; - $result = $db->sql_query($sql); - $row = $db->sql_fetchrow($result); - $db->sql_freeresult($result); - if (!empty($row['topic'])) { - unset($row); - $announces_sitemap_url = $this->url_config['google_annouces_default']; - $this->gym_master->parse_sitemap($announces_sitemap_url, $user->time_now - rand(1,150)); - } - $sql = "SELECT * - FROM ". FORUMS_TABLE . " - WHERE " . $db->sql_in_set('forum_id', $this->actions['auth_view_read'], false, true) . " - ORDER BY forum_last_post_id " . $this->module_config['google_sort']; - $result = $db->sql_query($sql); - // Reset vars - $forum_sitemap_urls = ''; - $sitemap_data = array(); - $last_ever = 0; - $num_sitemaps = 0; - while( $forum_data = $db->sql_fetchrow($result) ) { - $forum_id = (int) $forum_data['forum_id']; - // Make sure that the forum is auth - if (!isset($this->actions['auth_view_read'][$forum_id])) { - continue; - } - // Only car about approved topics - $topics_count = (int) $forum_data['forum_topics']; - // Not enough topics in this forum, skip - if ($topics_count < $this->module_config['google_threshold']) { - continue; - } - // Let's count accurately - if ($this->module_config['google_pagination']) { - $paginated = $forum_data['forum_topics_per_page'] ? $forum_data['forum_topics_per_page'] : $config['topics_per_page']; - $pages = ceil( ($topics_count + 1) / $paginated); - $num_sitemaps += min($this->module_config['google_limitdown'] + $this->module_config['google_limitup'], $pages); - } else { - $num_sitemaps++; - } - // Build sitemap url - $sitemap_data[$forum_id]['url'] = sprintf($this->url_config['google_forum_tpl'], $forum_id, str_replace($phpbb_seo->seo_delim['forum'] . $forum_id, '', $phpbb_seo->set_url($forum_data['forum_name'], $forum_id, 'forum'))); - $sitemap_data[$forum_id]['lastmod'] = $forum_data['forum_last_post_time'] > $config['board_startdate'] ? $forum_data['forum_last_post_time'] : $config['board_startdate']; - }// End Forum map loop - $db->sql_freeresult($result); - unset ($forum_data); - if (!empty($sitemap_data)) { - // only add the Forum map location if showing enough forums - if ( $num_sitemaps >= $this->module_config['google_threshold'] ) { - // Forum map location - $forum_sitemap_url = $this->module_config['google_url'] . $this->url_config['google_forum_default']; - $this->gym_master->parse_sitemap($forum_sitemap_url, $user->time_now); - } - foreach ($sitemap_data as $data) { - $this->gym_master->parse_sitemap($data['url'], $data['lastmod']); - } - unset ($sitemap_data); - } - // Add the local counting, since we are cycling through modules - $this->output_data['url_sofar_total'] = $this->output_data['url_sofar_total'] + $this->output_data['url_sofar']; - return; - } - /** - * list_topics($forum_sql, $forum_data, $approve_sql = '') builds the output for topic listing - * From a forum and from all forums - * @access private - */ - function list_topics($forum_sql, $forum_data, $approve_sql = '') { - global $db, $phpbb_seo, $auth, $config, $user; - // initial setup - $topic_sofar = 0; - $topics = array(); - $sql_first = "SELECT * - FROM " . TOPICS_TABLE . " - WHERE $forum_sql - topic_status <> " . ITEM_MOVED . " - $approve_sql - ORDER BY topic_last_post_id " . $this->module_config['google_sort']; - $paginated = $config['posts_per_page']; - while( ( $topic_sofar < $forum_data['topic_count'] ) && ($this->output_data['url_sofar'] < $this->module_config['google_url_limit']) ) { - $result = $db->sql_query_limit($sql_first, $this->module_config['google_sql_limit'], $topic_sofar); - while ($topic = $db->sql_fetchrow($result)) { - $forum_id = (int) $topic['forum_id']; - // Make sure that the forum is auth - if ((!isset($this->actions['auth_view_read'][$forum_id]) && $this->actions['module_sub'] !== 'announces') || $topic['topic_reported']) { // Skip for now if reported, approved are checked above when required - continue; - } - $pages = ceil( ($topic[$forum_data['replies_key']] + 1) / $paginated); - $topic['topic_title'] = censor_text($topic['topic_title']); - $topic_url = $phpbb_seo->seo_path['phpbb_urlR'] . $this->gym_master->topic_url($topic, $forum_id, $forum_data['forum_url']); - if ($topic['topic_type'] == POST_NORMAL ) { - $topic_priority = $this->gym_master->get_priority($topic['topic_last_post_time'], $pages); - } else { - $topic_priority = $topic['topic_type'] == POST_STICKY ? $this->module_config['google_sticky_priority'] : $this->module_config['google_announce_priority']; - } - $topic_change = ($topic['topic_status'] == ITEM_LOCKED) ? 'never' : $this->gym_master->get_changefreq($topic['topic_last_post_time']); - $topic_time = gmdate('Y-m-d\TH:i:s'.'+00:00', $topic['topic_last_post_time']); - $this->gym_master->parse_item($topic_url . $this->url_config['topic_ext'], $topic_priority, $topic_change, $topic['topic_last_post_time']); - if ($pages > 1 && $this->module_config['google_pagination']) { - // Reset Pages limits for this topic - $pag_limit1 = $this->module_config['google_limitdown']; - $pag_limit2 = $this->module_config['google_limitup']; - // If $pag_limit2 too big for this topic, lets output all pages - $pag_limit2 = ( $pages < $pag_limit2 ) ? ($pages - 1) : $pag_limit2; - $i=1; - while ( ($i < $pages) ) { - if ( ( $i <= $pag_limit1 ) || ( $i > ($pages - $pag_limit2 ) ) ) { - $topic_priority *= 0.95; - $url = $topic_url . sprintf($this->url_config['topic_start_tpl'], $paginated * $i); - $this->gym_master->parse_item($url, $topic_priority, $topic_change, $topic['topic_last_post_time']); - $i++; - } else { - $i++; - } - } - } - }// End topic loop - // Used to separate query - $topic_sofar = $topic_sofar + $this->module_config['google_sql_limit']; - $db->sql_freeresult($result); - unset($topic); - }// End Query limit loop - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/modules/google_txt.php b/phpBB/gym_sitemaps/modules/google_txt.php deleted file mode 100644 index 5b75c09647..0000000000 --- a/phpBB/gym_sitemaps/modules/google_txt.php +++ /dev/null @@ -1,179 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: google_txt.php 148 2009-11-07 14:50:54Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* google_txt Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class google_txt { - var $url_settings = array(); - var $options = array(); - var $module_config = array(); - var $outputs = array(); - var $txt_files = array(); - /** - * constuctor - */ - function google_txt(&$gym_master) { - $this->gym_master = &$gym_master; - $this->options = &$this->gym_master->actions; - $this->outputs = &$this->gym_master->output_data; - $this->url_settings = &$this->gym_master->url_config; - $this->module_config = array_merge( - // Global - $this->gym_master->google_config, - // Other stuff required here - array( - 'google_sources' => $this->gym_master->path_config['gym_path'] . 'sources/', - 'google_randomize' => (boolean) $this->gym_master->gym_config['google_txt_randomize'], - 'google_unique' => (boolean) $this->gym_master->gym_config['google_txt_unique'], - 'google_check_robots' => (boolean) $this->gym_master->gym_config['google_txt_check_robots'], - 'google_force_lastmod' => (boolean) $this->gym_master->gym_config['google_txt_force_lastmod'], - ) - ); - // Check cache - $this->gym_master->gym_output->setup_cache(); // Will exit if the cache is sent - // List available files - $this->get_source_list(); - // Init url settngs - $this->init_url_settings(); - } - /** - * Initialize mod rewrite to handle multiple URL standards. - * Only one 'if' is required after this in THE loop to properly switch - * between the four types (none, advanced, mixed and simple). - * @access private - */ - function init_url_settings() { - global $phpbb_seo; - // vars will fell like rain in the code ;) - $this->url_settings['google_txt_delim'] = !empty($phpbb_seo->seo_delim['google_txt']) ? $phpbb_seo->seo_delim['google_txt'] : '-'; - $this->url_settings['google_txt_static'] = !empty($phpbb_seo->seo_static['google_txt']) ? $phpbb_seo->seo_static['google_txt'] : 'txt'; - $this->url_settings['modrewrite'] = $this->module_config['google_modrewrite']; - - if ($this->url_settings['modrewrite']) { // Module links - $this->url_settings['google_txt_tpl'] = $this->module_config['google_url'] . 'txt' . $this->url_settings['google_txt_delim'] . '%1$s.xml' . $this->url_settings['gzip_ext_out']; - } else { - $this->url_settings['google_txt_tpl'] = $this->module_config['google_url'] . $this->url_settings['google_default'] . '?txt=%1$s'; - } - return; - } - /** - * sitemap, builds the sitemap - * @access private - */ - function sitemap() { - global $cache, $phpEx, $config; - if (!empty($this->txt_files[$this->options['module_sub']])) { - // Check robots.txt ? - if ($this->module_config['google_check_robots']) { - $this->gym_master->obtain_robots_disallows(); - } - $sitemap_txt_url = sprintf( $this->url_settings['google_txt_tpl'], $this->options['module_sub'] ); - $this->gym_master->seo_kill_dupes($sitemap_txt_url); - $txt_file = $this->txt_files[$this->options['module_sub']]; - // Grab data - if (($txt_data = @file($txt_file)) && is_array($txt_data)) { - $last_mod = (int) @filemtime($txt_file); - $url_count = count($txt_data); - $this->outputs['last_mod_time'] = $last_mod > $config['board_startdate'] ? $last_mod : (time() - rand(500, 10000)); - // Randomize ? - if ($this->module_config['google_randomize']) { - shuffle($txt_data); - } - // Limit ? - if ($this->module_config['google_url_limit'] > 0 && $this->module_config['google_url_limit'] < $url_count) { - $txt_data = array_slice($txt_data, 0, $this->module_config['google_url_limit']); - } - // Force last mod ? - $last_mod = $this->module_config['google_force_lastmod'] ? $this->outputs['last_mod_time'] : 0; - // Parse URLs - $dt = rand(0, 3600); - $url_check = array(); - foreach ($txt_data as $key => $url) { - $url = trim($url); - if (empty($url) || ($this->module_config['google_check_robots'] && $this->gym_master->is_robots_disallowed($url))) { - continue; - } - // Check unique ? - if ($this->module_config['google_unique']) { - if (isset($url_check[$url])) { - continue; - } - $url_check[$url] = 1; - } - if ($this->module_config['google_force_lastmod']) { - $_last_mod = $last_mod - $dt; - $priority = $this->gym_master->get_priority($_last_mod); - $changefreq = $this->gym_master->get_changefreq($_last_mod); - } else { - $_last_mod = $priority = $changefreq = 0; - } - $this->gym_master->parse_item(utf8_htmlspecialchars($url), $priority, $changefreq, $_last_mod); - $dt += rand(30, 3600*12); - unset($txt_data[$key]); - } - } else { - // Clear the cache to make sure the guilty url is not shown in the sitemapIndex - $cache->destroy('_gym_config_google_txt'); - $this->gym_master->gym_error(404, '', __FILE__, __LINE__); - } - } else { - $this->gym_master->gym_error(404, '', __FILE__, __LINE__); - } - return; - } - /** - * sitemapindex, builds the sitemapindex - * @access private - */ - function sitemapindex() { - global $config; - // It's global list call, add module sitemaps - // Reset the local counting, since we are cycling through modules - $this->outputs['url_sofar'] = 0; - foreach ($this->txt_files as $txt_action => $source) { - $sitemap_txt_url = sprintf( $this->url_settings['google_txt_tpl'], $txt_action );; - $last_mod = (int) @filemtime($txt_file); - $last_mod = ($last_mod > $config['board_startdate'] && !$this->module_config['google_force_lastmod']) ? $last_mod : (time() - rand(500, 10000)); - $this->gym_master->parse_sitemap($sitemap_txt_url, $last_mod); - } - // Add the local counting, since we are cycling through modules - $this->outputs['url_sofar_total'] = $this->outputs['url_sofar_total'] + $this->outputs['url_sofar']; - return; - } - /** - * get_source_list, builds the available sitemap list - * @access private - */ - function get_source_list() { - global $cache; - if (($this->txt_files = $cache->get('_gym_config_google_txt')) === false) { - $this->txt_files = array(); - $RegEx = '`^google_([a-z0-9_-]+)\.txt`i'; - $txt_dir = @opendir( $this->module_config['google_sources'] ); - while( ($txt_file = @readdir($txt_dir)) !== false ) { - if(preg_match($RegEx, $txt_file, $matches)) { - if (!empty($matches[1])) { - $this->txt_files[$matches[1]] = $this->module_config['google_sources'] . 'google_' . $matches[1] . '.txt'; - } - } - } - @closedir($txt_dir); - $cache->put('_gym_config_google_txt', $this->txt_files); - } - return; - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/modules/google_xml.php b/phpBB/gym_sitemaps/modules/google_xml.php deleted file mode 100644 index a41882e60f..0000000000 --- a/phpBB/gym_sitemaps/modules/google_xml.php +++ /dev/null @@ -1,247 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: google_xml.php 148 2009-11-07 14:50:54Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* google_xml Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class google_xml { - var $url_settings = array(); - var $options = array(); - var $module_config = array(); - var $outputs = array(); - var $xml_files = array(); - /** - * constuctor - */ - function google_xml(&$gym_master) { - $this->gym_master = &$gym_master; - $this->options = &$this->gym_master->actions; - $this->outputs = &$this->gym_master->output_data; - $this->url_settings = &$this->gym_master->url_config; - $this->module_config = array_merge( - // Global - $this->gym_master->google_config, - // Other stuff required here - array( - 'google_sources' => $this->gym_master->path_config['gym_path'] . 'sources/', - 'google_randomize' => (boolean) $this->gym_master->gym_config['google_xml_randomize'], - 'google_unique' => (boolean) $this->gym_master->gym_config['google_xml_unique'], - 'google_check_robots' => (boolean) $this->gym_master->gym_config['google_xml_check_robots'], - 'google_force_limit' => (boolean) $this->gym_master->gym_config['google_xml_force_limit'], - 'google_force_lastmod' => (boolean) $this->gym_master->gym_config['google_xml_force_lastmod'], - ) - ); - $this->module_config['xml_parse'] = (boolean) ($this->module_config['google_randomize'] || $this->module_config['google_unique'] || $this->module_config['google_force_limit'] || $this->module_config['google_force_lastmod']|| $this->module_config['google_check_robots']); - // Check cache - $this->gym_master->gym_output->setup_cache(); // Will exit if the cache is sent - // List available files - $this->get_source_list(); - // Init url settngs - $this->init_url_settings(); - } - /** - * Initialize mod rewrite to handle multiple URL standards. - * Only one 'if' is required after this in THE loop to properly switch - * between the four types (none, advanced, mixed and simple). - * @access private - */ - function init_url_settings() { - global $phpbb_seo; - // vars will fell like rain in the code ;) - $this->url_settings['google_xml_delim'] = !empty($phpbb_seo->seo_delim['google_xml']) ? $phpbb_seo->seo_delim['google_xml'] : '-'; - $this->url_settings['google_xml_static'] = !empty($phpbb_seo->seo_static['google_xml']) ? $phpbb_seo->seo_static['google_xml'] : 'xml'; - $this->url_settings['modrewrite'] = $this->module_config['google_modrewrite']; - - if ($this->url_settings['modrewrite']) { // Module links - $this->url_settings['google_xml_tpl'] = $this->module_config['google_url'] . 'xml' . $this->url_settings['google_xml_delim'] . '%1$s.xml' . $this->url_settings['gzip_ext_out']; - } else { - $this->url_settings['google_xml_tpl'] = $this->module_config['google_url'] . $this->url_settings['google_default'] . '?xml=%1$s'; - } - return; - } - /** - * sitemap, builds the sitemap - * @access private - */ - function sitemap() { - global $cache, $phpEx, $config, $user; - if (!empty($this->xml_files[$this->options['module_sub']])) { - // Check robots.txt ? - if ($this->module_config['google_check_robots']) { - $this->gym_master->obtain_robots_disallows(); - } - $sitemap_xml_url = sprintf( $this->url_settings['google_xml_tpl'], $this->options['module_sub'] ); - $this->gym_master->seo_kill_dupes($sitemap_xml_url); - $xml_file = $this->xml_files[$this->options['module_sub']]; - // Grab data - if (strpos($xml_file, 'http://') !== false) { - @ini_set('user_agent','GYM Sitemaps & RSS / www.phpBB-SEO.com'); - // You may want to use a higher value for the timout in case you use slow external sitemaps - @ini_set('default_socket_timeout', 5); - } - if ($xml_data = @file_get_contents($xml_file)) { - if (!empty($http_response_header)) { - $_last_mod = get_date_from_header($http_response_header); - } else { - $_last_mod = (int) @filemtime($xml_file); - } - $this->outputs['last_mod_time'] = $_last_mod > $config['board_startdate'] ? $_last_mod : ($user->time_now - rand(500, 10000)); - if (($url_tag_pos = utf8_strpos($xml_data, '<url>')) === false) { - // this basic test failed - // @TODO add loggs about this ? - $this->gym_master->gym_error(404, '', __FILE__, __LINE__); - } - if (!$this->module_config['xml_parse']) { - // use our hown headers - $xml_data = str_replace('</urlset>', '', trim($xml_data) ); - // Add to the output variable - $this->outputs['data'] .= substr($xml_data, $url_tag_pos); - // Link count - $this->outputs['url_sofar'] = preg_match_all('`\<loc\>[^<>]+\</loc\>`Ui', $xml_data, $matches); - // free memory - unset($xml_data, $matches); - } else { - $total_matches = preg_match_all('`\<url\>.+\</url\>`Usi', $xml_data, $matches, PREG_SET_ORDER); - // free memory - unset($xml_data); - if (!empty($matches)) { - // Randomize ? - if ($this->module_config['google_randomize']) { - shuffle($matches); - } - // Limit ? - if ($this->module_config['google_url_limit'] > 0 && $this->module_config['google_url_limit'] < $total_matches) { - $matches = array_slice($matches, 0, $this->module_config['google_url_limit']); - } - // Force last mod ? - $_last_mod = $this->module_config['google_force_lastmod'] ? $this->outputs['last_mod_time'] : 0; - // Parse URLs - $dt = rand(0, 3600); - $url_check = array(); - foreach ($matches as $key => $data) { - preg_match_all('`\<(loc|lastmod|changefreq|priority)\>([^<>]+)\</\1\>`Ui', $data[0], $url_tags, PREG_SET_ORDER); - $loc = $priority = $changefreq = $lastmod = ''; - foreach ($url_tags as $url_tag) { - if (empty($url_tag[1]) || empty($url_tag[2])) { - continue; - } - $url_tag[1] = strtolower($url_tag[1]); - ${$url_tag[1]} = trim($url_tag[2]); - } - if (empty($loc)) { - continue; - } - // Check unique ? - if ($this->module_config['google_unique']) { - if (isset($url_check[$loc])) { - continue; - } - $url_check[$loc] = 1; - } - if ($this->module_config['google_check_robots'] && $this->gym_master->is_robots_disallowed($loc)) { - continue; - } - if ($this->module_config['google_force_lastmod']) { - $last_mod = $_last_mod - $dt; - $priority = $this->gym_master->get_priority($last_mod); - $changefreq = $this->gym_master->get_changefreq($last_mod); - $lastmod = gmdate('Y-m-d\TH:i:s'.'+00:00', $last_mod); - } else { - $lastmod = !empty($lastmod) ? $lastmod : 0; - $priority = !empty($priority) ? $priority : 0; - $changefreq = !empty($changefreq) ? $changefreq : 0; - } - $this->parse_item($loc, $priority, $changefreq, $lastmod); - unset($matches[$key]); - $dt += rand(30, 3600*12); - } - unset($url_check); - } else { - // Clear the cache to make sure the guilty url is not shown in the sitemapIndex - $cache->destroy('_gym_config_google_xml'); - $this->gym_master->gym_error(500, '', __FILE__, __LINE__); - } - - } - } else { - // Clear the cache to make sure the guilty url is not shown in the sitemapIndex - $cache->destroy('_gym_config_google_xml'); - $this->gym_master->gym_error(404, '', __FILE__, __LINE__); - } - } else { - $this->gym_master->gym_error(404, '', __FILE__, __LINE__); - } - return; - } - /** - * sitemapindex, builds the sitemapindex - * @access private - */ - function sitemapindex() { - global $config; - // It's global list call, add module sitemaps - // Reset the local counting, since we are cycling through modules - $this->outputs['url_sofar'] = 0; - foreach ($this->xml_files as $xml_action => $source) { - $sitemap_xml_url = sprintf( $this->url_settings['google_xml_tpl'], $xml_action ); - $last_mod = (int) @filemtime($xml_file); - $last_mod = ($last_mod > $config['board_startdate'] && !$this->module_config['google_force_lastmod']) ? $last_mod : (time() - rand(500, 10000)); - $this->gym_master->parse_sitemap($sitemap_xml_url, $last_mod); - } - // Add the local counting, since we are cycling through modules - $this->outputs['url_sofar_total'] = $this->outputs['url_sofar_total'] + $this->outputs['url_sofar']; - return; - } - /** - * get_source_list, builds the available sitemap list - * @access private - */ - function get_source_list() { - global $cache, $phpEx; - if (($this->xml_files = $cache->get('_gym_config_google_xml')) === false) { - $this->xml_files = array(); - // Check the eventual external url config - if (file_exists($this->module_config['google_sources'] . "xml_google_external.$phpEx")) { - include($this->module_config['google_sources'] . "xml_google_external.$phpEx"); - // Duplicated keys will be overriden bellow - $this->xml_files = array_merge($this->xml_files, $external_setup); - } - $RegEx = '`^google_([a-z0-9_-]+)\.xml$`i'; - $xml_dir = @opendir( $this->module_config['google_sources'] ); - while( ($xml_file = @readdir($xml_dir)) !== false ) { - if(preg_match($RegEx, $xml_file, $matches)) { - if (!empty($matches[1])) { - $this->xml_files[$matches[1]] = $this->module_config['google_sources'] . 'google_' . $matches[1] . '.xml'; - } - } - } - @closedir($xml_dir); - $cache->put('_gym_config_google_xml', $this->xml_files); - } - return; - } - /** - * parse_item() adds the item info to the output - */ - function parse_item($url, $priority = 1.0, $changefreq = 'always', $lastmodtime = 0) { - global $config, $user; - $changefreq = isset($this->gym_master->freq_values[$changefreq]) ? sprintf($this->gym_master->style_config['changefreq_tpl'], $changefreq) : ''; - $priority = $priority <= 1 && $priority > 0 ? sprintf($this->gym_master->style_config['priority_tpl'], $priority) : ''; - $lastmodtime = $lastmodtime > $config['board_startdate'] ? sprintf($this->gym_master->style_config['lastmod_tpl'], $lastmodtime) : ''; - $this->gym_master->output_data['data'] .= sprintf($this->gym_master->style_config['Sitemap_tpl'], $url, $lastmodtime, $changefreq, $priority); - $this->gym_master->output_data['url_sofar']++; - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/modules/html_forum.php b/phpBB/gym_sitemaps/modules/html_forum.php deleted file mode 100644 index 5c8441474c..0000000000 --- a/phpBB/gym_sitemaps/modules/html_forum.php +++ /dev/null @@ -1,665 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: html_forum.php 262 2010-04-20 11:06:58Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* html_forum Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class html_forum { - var $url_settings = array(); - var $options = array(); - var $module_config = array(); - var $outputs = array(); - var $forum_cache = array(); - var $call = array(); - var $topic_tracking_info = array(); - var $tracking_topics = array(); - var $forum_tracking_info = array(); - var $forum_datas = array(); - var $icons = array(); - var $html_switch = array(); - var $start = 0; - var $module_auth = array(); - var $actions = array(); - /** - * constuctor - */ - function html_forum(&$gym_master) { - global $phpbb_seo; - $this->gym_master = &$gym_master; - $this->actions = &$this->gym_master->actions; - $this->outputs = &$this->gym_master->output_data; - $this->module_config = &$this->gym_master->html_config; - $this->url_settings = &$this->gym_master->url_config; - $this->start = &$this->gym_master->start; - $this->html_switch = &$this->gym_master->html_switch; - $this->module_auth = &$this->gym_master->module_auth; - $this->module_config['html_last_topics_exclude_list'] = ''; - $this->module_config = array_merge( - // Global - $this->module_config, - // Other stuff required here - array( - 'html_forum_news_ids' => trim($this->gym_master->gym_config['html_forum_news_ids'], ','), - 'html_forum_ltopic' => (int) $this->gym_master->gym_config['html_forum_ltopic'], - 'html_forum_ltopic_pagination' => (int) $this->gym_master->gym_config['html_forum_ltopic_pagination'], - 'html_forum_cat_ltopic' => (int) $this->gym_master->gym_config['html_forum_cat_ltopic'], - 'html_forum_news_ltopic' => (int) $this->gym_master->gym_config['html_forum_news_ltopic'], - 'html_forum_cat_news_ltopic' => (int) $this->gym_master->gym_config['html_forum_cat_news_ltopic'], - 'html_forum_last_post' => (boolean) $this->gym_master->gym_auth_value($this->gym_master->gym_config['html_forum_last_post']), - 'html_forum_first' => ((int) $this->gym_master->gym_config['html_forum_first']) ? 'first' : 'last', - 'html_forum_news_first' => ((int) $this->gym_master->gym_config['html_forum_news_first']) ? 'first' : 'last', - 'html_forum_post_buttons' => (boolean) $this->gym_master->gym_auth_value($this->gym_master->gym_config['html_forum_post_buttons']), - 'html_exclude_list' => trim($this->gym_master->gym_config['html_forum_exclude'], ','), - 'html_ltopic_exclude' => trim($this->gym_master->gym_config['html_forum_ltopic_exclude'], ','), - 'html_forum_desc' => (boolean) $this->gym_master->gym_auth_value($this->gym_master->gym_config['html_forum_desc']), - 'html_forum_rules' => (boolean) $this->gym_master->gym_auth_value($this->gym_master->gym_config['html_forum_rules']), - ) - ); - // Build unauthed arrays - $this->module_config['exclude_list'] = $this->gym_master->set_exclude_list($this->module_config['html_exclude_list']); - // Wee need to check auth here - $this->gym_master->check_forum_auth($this->module_config['html_auth_guest']); - $this->actions['auth_guest_list'] = array_diff_assoc($this->module_auth['forum']['public_list'], $this->module_config['exclude_list']); - $this->actions['auth_guest_read'] = array_diff_assoc($this->module_auth['forum']['public_read'], $this->module_config['exclude_list']); - $this->actions['auth_view_list'] = array_diff_assoc($this->module_auth['forum']['list'], $this->module_config['exclude_list']); - $this->actions['auth_view_read'] = array_diff_assoc($this->module_auth['forum']['read'], $this->module_config['exclude_list']); - // Mod rewrite type auto detection - $this->url_settings['modrtype'] = ($phpbb_seo->modrtype >= 0) ? intval($phpbb_seo->modrtype) : intval($this->module_config['html_modrtype']); - // make sure virtual_folder uses the proper value - // Set up urls - $html_def = $this->url_settings['html_default']; - if ($this->module_config['html_modrewrite']) { - $html_news_def = $this->url_settings['html_news_default']; - $this->url_settings['html_forum_map'] = $html_def . 'forum/'; - $this->url_settings['html_forum_cat_map'] = $html_def . 'forum/%1$s/'; - $this->url_settings['html_forum_news'] = $html_news_def . 'forum/'; - $this->url_settings['html_forum_cat_news'] = $html_news_def . 'forum/%1$s/'; - $this->url_settings['html_forum_global_map'] = $html_def . 'forum/global/'; - $this->url_settings['html_forum_global_news'] = $html_news_def . 'forum/global/'; - $this->url_settings['html_forum_announce_map'] = $html_def . 'forum/announce/'; - $this->url_settings['html_forum_announce_news'] = $html_news_def . 'forum/announce/'; - $this->url_settings['html_forum_sticky_map'] = $html_def . 'forum/sticky/'; - $this->url_settings['html_forum_sticky_news'] = $html_news_def . 'forum/sticky/'; - } else { - $this->url_settings['html_forum_map'] = $html_def . '?forum'; - $this->url_settings['html_forum_cat_map'] = $html_def . '?forum=%2$s'; - $this->url_settings['html_forum_news'] = $html_def . '?forum=news'; - $this->url_settings['html_forum_cat_news'] = $html_def . '?forum=%2$s&news'; - $this->url_settings['html_forum_global_map'] = $html_def . '?forum=global'; - $this->url_settings['html_forum_global_news'] = $html_def . '?forum=global&news'; - $this->url_settings['html_forum_announce_map'] = $html_def . '?forum=announce'; - $this->url_settings['html_forum_announce_news'] = $html_def . '?forum=announce&news'; - $this->url_settings['html_forum_sticky_map'] = $html_def . '?forum=sticky'; - $this->url_settings['html_forum_sticky_news'] = $html_def . '?forum=sticky&news'; - } - } - /** - * Initialize forum output. - * Will as well compute all required info to be able to : - * - Know what url should be used - * - Know if the call is active and auth - * - Set up all params for the up comming call if necessary (when not caching) - * Please note : - * This method must exist in other modules, called by html_output in gym_html.php through load_module - * @access private - */ - function html_init() { - global $user, $db, $phpbb_seo, $auth, $config, $phpEx, $phpbb_root_path; - $nav_url = $nav_title = false; - $this->url_settings['current'] = $this->module_config['html_url']; - - $this->outputs['right_col_cache_file'] = $this->actions['html_news_list'] ? 'forum_ltopics_news' : 'forum_ltopics_map'; - // will pass variables to the render class - $this->call = array( - 'forum_id' => 0, - 'topic_id' => 0, - 'limit' => 0, - 'limit_time' => 0, - 'sort' => 'DESC', - 'display_user_info' => $this->module_config['html_allow_profile'], - 'display_user_link' => $this->module_config['html_allow_profile_links'], - 'display_link' => true, - 'display_online' => $this->module_config['html_disp_online'], - 'display_post_buttons' => $this->module_config['html_forum_post_buttons'], - 'display_pagination' => 0, - 'display_last_post' => $this->module_config['html_forum_last_post'], - 'display_file' => $this->url_settings['html_default'], - 'display_tracking' => $this->module_config['html_disp_tracking'], - 'display_topic_status' => $this->module_config['html_disp_status'], - 'display_sig' => $this->module_config['html_allow_sig'], - 'display_order' => 'first', - 'display_desc' => $this->module_config['html_forum_desc'], - 'display_rules' => $this->module_config['html_forum_rules'], - 'display_sumarize' => $this->module_config['html_sumarize'], - 'display_sumarize_method' => $this->module_config['html_sumarize_method'], - 'display_topic_pagination' => $this->module_config['html_item_pagination'], - 'function' => false, - 'method' => false, - 'file' => false, - 's_global' => false, - 'forum_sql' => '', - 'topic_sql' => '', - 'single_forum' => false, - 'cat_forum' => false, - 'display_last_topic' => 0, - 'last_topic_pagination' => $this->module_config['html_forum_ltopic_pagination'], - ); - //$this->module_config['exclude_list'] = $this->module_config['exclude_list'] + $this->module_config['global_exclude_list']; - $pre_set = false; - $type_key = $_key = ''; - switch ($this->actions['module_sub']) { - case 'global': - $this->actions['is_auth'] = $this->actions['is_active'] = true; - $this->call['s_global'] = $this->actions['is_public'] = true; - $this->call['forum_sql'] = "t.forum_id = 0"; - $this->call['topic_sql'] = "t.topic_type = " . POST_GLOBAL; - $type_key = 'forum_global'; - $pre_set = true; - case 'announce': - if (!$pre_set) { - $this->actions['is_public'] = $this->actions['is_auth'] = $this->actions['is_active'] = !empty($this->module_auth['forum']['read_post']); - if (empty($this->actions['auth_view_read'])) { - $this->gym_master->gym_error(404, '', __FILE__, __LINE__); - } - $this->call['forum_sql'] = $db->sql_in_set('t.forum_id', $this->actions['auth_view_read'], false, true); - $this->call['topic_sql'] = "t.topic_type = " . POST_ANNOUNCE; - $type_key = 'forum_announce'; - $pre_set = true; - } - case 'sticky': - if (!$pre_set) { - $this->actions['is_public'] = $this->actions['is_auth'] = $this->actions['is_active'] = !empty($this->module_auth['forum']['read_post']); - if (empty($this->actions['auth_view_read'])) { - $this->gym_master->gym_error(404, '', __FILE__, __LINE__); - } - $this->call['forum_sql'] = $db->sql_in_set('t.forum_id', $this->actions['auth_view_read'], false, true); - $this->call['topic_sql'] = "t.topic_type = " . POST_STICKY; - $type_key = 'forum_sticky'; - $pre_set = true; - } - if ($this->module_config['html_allow_news'] || $this->module_config['html_allow_map']) { - if ($this->actions['html_news_list'] && $this->module_config['html_allow_news']) { - $_key = 'news'; - $this->outputs['left_col_tpl'] = 'gym_sitemaps/display_posts_list.html'; - $this->outputs['right_col'] = $this->call['display_last_topic'] = $this->module_config['html_forum_news_ltopic']; - $this->actions['pagination_limit'] = $this->call['limit'] = $this->module_config['html_news_pagination_limit']; - $this->call['method'] = 'display_posts'; - $this->call['display_pagination'] = $this->module_config['html_news_pagination']; - $this->call['limit_time'] = $this->module_config['html_news_time_limit']; - $this->call['sort'] = $this->module_config['html_news_sort']; - $this->call['display_pagination'] = $this->module_config['html_news_pagination']; - $this->call['display_order'] = $this->module_config['html_forum_news_first']; - $this->call['file'] = 'display_posts.' . $phpEx; - } else if ($this->actions['html_map_list'] && $this->module_config['html_allow_map']) { - $_key = 'map'; - $this->outputs['left_col_tpl'] = 'gym_sitemaps/display_topics_list.html'; - $this->outputs['right_col'] = $this->call['display_last_topic'] = $this->module_config['html_forum_ltopic']; - $this->actions['pagination_limit'] = $this->call['limit'] = $this->module_config['html_pagination_limit']; - $this->call['method'] = 'display_topics'; - $this->call['display_pagination'] = $this->module_config['html_pagination']; - $this->call['limit_time'] = $this->module_config['html_map_time_limit']; - $this->call['sort'] = $this->module_config['html_sort']; - $this->call['display_pagination'] = $this->module_config['html_pagination']; - $this->call['display_order'] = $this->module_config['html_forum_first']; - $this->call['file'] = 'display_topics.' . $phpEx; - } - if (!empty($_key)) { - $this->outputs['page_title'] = $user->lang['HTML_' . strtoupper($type_key) . '_' . strtoupper($_key)]; - $this->outputs['left_col_cache_file'] = $type_key . '_' . $_key; - $this->url_settings['current'] .= $this->gym_master->html_build_url('html_' . $type_key . '_' . $_key); - } - $this->start = $this->call['display_pagination'] ? $this->gym_master->chk_start($this->start, $this->call['limit']) : 0; - } - // current url - $this->call['display_file'] = $this->url_settings['current']; - $this->url_settings['current'] .= $this->gym_master->html_add_start($this->start); - break; - case 'news': - if ($this->actions['html_news_list']) { - $this->outputs['left_col_tpl'] = 'gym_sitemaps/display_posts_list.html'; - $this->outputs['left_col_cache_file'] = "forum_news"; - $this->outputs['page_title'] = sprintf($user->lang['HTML_NEWS_OF'], $this->module_config['html_sitename']); - // Auth and active switches - $this->actions['is_auth'] = $this->actions['is_active'] = $this->actions['is_public'] = true; - $this->outputs['right_col'] = $this->call['display_last_topic'] = $this->module_config['html_forum_news_ltopic']; - $this->actions['pagination_limit'] = $this->call['limit'] = $this->module_config['html_news_pagination_limit']; - $this->module_config['html_forum_news_ids'] = $this->gym_master->set_exclude_list($this->module_config['html_forum_news_ids']); - if (empty($this->module_config['html_forum_news_ids'])) { - $this->actions['auth_view_read'] = array_diff_assoc($this->module_auth['forum']['read_post'], $this->module_config['exclude_list']); - $this->actions['is_auth'] = $this->actions['is_active'] = !empty($this->actions['auth_view_read']); - $this->call['single_forum'] = sizeof($this->actions['auth_view_read']) > 1 ? false : true; - if (empty($this->actions['auth_view_read'])) { - $this->gym_master->gym_error(404, '', __FILE__, __LINE__); - } - // Output news from all authed forums - $this->call['forum_sql'] = $db->sql_in_set('t.forum_id', $this->actions['auth_view_read'], false, true); - } else { - $this->call['single_forum'] = sizeof($this->module_config['html_forum_news_ids']) > 1 ? false : true; - // No exclude list here ! - $this->call['forum_sql'] = $db->sql_in_set('t.forum_id', $this->module_config['html_forum_news_ids'], false, true); - } - $this->call['method'] = 'display_posts'; - $this->call['display_pagination'] = $this->module_config['html_news_pagination']; - $this->call['limit_time'] = $this->module_config['html_news_time_limit']; - $this->call['sort'] = $this->module_config['html_news_sort']; - $this->call['display_pagination'] = $this->module_config['html_news_pagination']; - $this->call['display_order'] = $this->module_config['html_forum_news_first']; - $this->call['file'] = 'display_posts.' . $phpEx; - // current url - $this->start = $this->call['display_pagination'] ? $this->gym_master->chk_start($this->start, $this->call['limit']) : 0; - $this->url_settings['current'] .= $this->gym_master->html_build_url('html_forum_news'); - $this->call['display_file'] = $this->url_settings['current']; - $this->url_settings['current'] .= $this->gym_master->html_add_start($this->start); - } - break; - default: - if ($this->actions['html_map_list'] && (empty($this->actions['module_sub']) || $this->actions['module_sub'] == 'map')) { - // Expected URL - $this->url_settings['current'] .= $this->url_settings['html_forum_map']; - $this->call['display_file'] = $this->url_settings['current']; - $this->outputs['left_col_tpl'] = 'gym_sitemaps/display_forums_list.html'; - $this->outputs['left_col_cache_file'] = "forum_map"; - $this->actions['is_public'] = $this->actions['is_auth'] = true; - $this->actions['is_active'] = (boolean) ($this->module_config['html_allow_cat_news'] || $this->module_config['html_allow_cat_map'] ); - $this->outputs['right_col'] = $this->call['display_last_topic'] = $this->module_config['html_forum_ltopic']; - $this->outputs['page_title'] = sprintf($user->lang['HTML_MAP_OF'], $this->module_config['html_sitename']); - $this->call['file'] = 'display_forums.' . $phpEx; - $this->call['method'] = 'display_forums'; - // Here we need to be able to list categories as well as forums - // List all listable forums except excluded and links - if (empty($this->actions['auth_view_list'])) { - $this->gym_master->gym_error(404, '', __FILE__, __LINE__); - } - $this->call['forum_sql'] = $db->sql_in_set('f.forum_id', $this->actions['auth_view_list'], false, true); - } else if ($this->actions['html_news_list'] || $this->actions['html_map_list']) { - // Filter $this->actions['module_sub'] var type - $this->actions['module_sub'] = (int) $this->actions['module_sub']; - if ($this->actions['module_sub'] > 0) { // Forum map or news - $forum_id = $this->call['forum_id'] = $this->actions['module_sub']; - - // Here we need to be able to list categories as well as forums - // A forum news or map is viewable when is a readable postable forum or a listable forum cat - // (with authed children see below) - $this->actions['is_auth'] = (boolean) ( isset($this->actions['auth_view_read'][$forum_id]) || (isset($this->module_auth['forum']['skip_cat'][$forum_id]) && isset($this->actions['auth_view_list'][$forum_id])) ); - $this->actions['is_public'] = (boolean) isset($this->actions['auth_guest_list'][$forum_id]); - $this->call['single_forum'] = true; - if ($this->actions['html_news_list'] ) { - $this->actions['is_active'] = true; - $key = 'news'; - $this->actions['pagination_limit'] = $this->call['limit'] = $this->module_config['html_news_pagination_limit']; - $this->outputs['right_col'] = $this->call['display_last_topic'] = $this->module_config['html_forum_cat_news_ltopic']; - $this->outputs['left_col_tpl'] = 'gym_sitemaps/display_posts_list.html'; - $this->call['file'] = 'display_posts.' . $phpEx; - $this->call['display_pagination'] = $this->module_config['html_news_pagination']; - $this->call['limit_time'] = $this->module_config['html_cat_news_time_limit']; - $this->call['display_order'] = $this->module_config['html_forum_news_first']; - $this->call['sort'] = $this->module_config['html_cat_news_sort']; - $this->call['method'] = 'display_posts'; - } else if ($this->actions['html_map_list']) { - $this->actions['is_active'] = true; - $key = 'map'; - $this->actions['pagination_limit'] = $this->call['limit'] = $this->module_config['html_pagination_limit']; - $this->outputs['right_col'] = $this->call['display_last_topic'] = $this->module_config['html_forum_cat_ltopic']; - $this->outputs['left_col_tpl'] = 'gym_sitemaps/display_topics_list.html'; - $this->call['file'] = 'display_topics.' . $phpEx; - $this->call['display_pagination'] = $this->module_config['html_pagination']; - $this->call['limit_time'] = $this->module_config['html_cat_time_limit']; - $this->call['sort'] = $this->module_config['html_cat_sort']; - $this->call['display_order'] = $this->module_config['html_forum_first']; - $this->call['method'] = 'display_topics'; - } - // Upon single forum calls, grabb forum data separatelly to allow access to forum data when there is no topic to list - // As well prevent topic row from listing repeated forum data - if ($this->actions['is_active']) { - $sql = "SELECT * - FROM " . FORUMS_TABLE . " - WHERE forum_id = $forum_id"; - $result = $db->sql_query($sql); - if ($row = $db->sql_fetchrow($result)) { - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->set_url($row['forum_name'], $forum_id, 'forum'); - // www.phpBB-SEO.com SEO TOOLKIT END - $this->forum_datas[$forum_id] = array_merge($row, array( - 'forum_url' => append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id"), - 'm_approve' => $auth->acl_get('m_approve', $forum_id), - )); - if ($row['forum_password']) { - login_forum_box($row); - } - } else { // Forum does not exist - $this->actions['is_active'] = false; - } - } - if ($this->actions['is_active']) { - $this->call['forum_sql'] = "t.forum_id = $forum_id"; - if ($this->forum_datas[$forum_id]['forum_type'] == FORUM_CAT) { - $this->call['cat_forum'] = $forum_id; - // lets check childrens - if ($f_ids = $this->gym_master->get_forum_children($forum_id)) { - $this->call['forum_sql'] = $db->sql_in_set('t.forum_id', array_keys($f_ids), false, true); - $this->call['single_forum'] = false; - } else { - // Cat with no readable sub forums - $this->actions['is_active'] = false; - } - } - $this->start = $this->call['display_pagination'] ? $this->gym_master->chk_start($this->start, $this->call['limit']) : 0; - $this->url_settings['current'] .= $this->gym_master->html_build_url('html_forum_cat_' . $key, $phpbb_seo->seo_url['forum'][$forum_id], $forum_id); - $this->call['display_file'] = $this->url_settings['current']; - $this->url_settings['current'] .= $this->gym_master->html_add_start($this->start); - $this->outputs['page_title'] = sprintf($user->lang['HTML_' . strtoupper($key) . '_OF'], $this->forum_datas[$forum_id]['forum_name']); - if ($this->module_config['html_allow_' . $key]) { - $nav_url = $this->url_settings['html_forum_' . $key]; - $nav_title = sprintf($user->lang['HTML_' . strtoupper($key) . '_OF'], $this->module_config['html_sitename']); - } - $this->outputs['left_col_cache_file'] = "forum_$key" . "_$forum_id"; - // Enable forum tracking - $_REQUEST['f'] = $this->call['forum_id']; - // Track user viewing this forum - $this->outputs['single_traking'] = true; - } - } - } - break; - } - if ($nav_url) { - global $template; - // Add Module page in navigation links - $template->assign_block_vars('navlinks', array( - 'FORUM_NAME' => $nav_title, - 'U_VIEW_FORUM' => append_sid($this->module_config['html_url'] . $nav_url)) - ); - } - return; - } - /** - * html_main() will build the module's main output - * @access private - */ - function html_main() { - if (!empty($this->call['file'])) { - require_once($this->gym_master->path_config['gym_path'] . 'display/' . $this->call['file']); - } - if (!empty($this->call['method'])) { - $output = new $this->call['method']($this); - } - return; - } - /** - * html_module() - * Add local optional module content to the main output, last_topics in our case - * @access private - */ - function html_module() { - if (!empty($this->call['display_last_topic'])) { - $this->last_topics($this->call['display_last_topic']); - } - return; - } - /** - * html_index() - * Add local links to the main site map - * @access private - */ - function html_index() { - global $user; - // We need to take care about overrides - $override = $this->gym_master->gym_config['html_override']; - $forum_allow_cat_map = (boolean) get_gym_option('html', 'forum', 'allow_cat_map', $override, $this->gym_master->gym_config); - $forum_allow_cat_news = (boolean) get_gym_option('html', 'forum', 'allow_cat_news', $override, $this->gym_master->gym_config); - $forum_allow_map = (boolean) get_gym_option('html', 'forum', 'allow_map', $override, $this->gym_master->gym_config); - $forum_allow_news = (boolean) get_gym_option('html', 'forum', 'allow_news', $override, $this->gym_master->gym_config); - if (!$forum_allow_cat_map && !$forum_allow_cat_news && !$forum_allow_map && !$forum_allow_news) { - return; - } - $this->outputs['module_data']['forum'] = array( - 'title' => $this->gym_master->gym_config['html_forum_sitename'], - 'desc' => $this->gym_master->gym_config['html_forum_site_desc'], - 'img' => '', - 'map_url' => $forum_allow_map && ($forum_allow_cat_map || $forum_allow_cat_news) ? $this->module_config['html_url'] . $this->url_settings['html_forum_map'] : false, - 'news_url' => $forum_allow_news ? $this->module_config['html_url'] . $this->url_settings['html_forum_news'] : false, - 'links' => array(), - ); - // Add other supported links such as global annoucements etc ... - if ( $forum_allow_map || $forum_allow_news ) { - $links = &$this->outputs['module_data']['forum']['links']; - $linkables = array( 'html_forum', 'html_forum_global', 'html_forum_announce', 'html_forum_sticky'); - foreach ($linkables as $type) { - $links[$type] = array( - 'map_title' => $forum_allow_news ? $user->lang[strtoupper($type . '_map')] : '', - 'map_url' => $forum_allow_news ? $this->url_settings[$type . '_map'] : '', - 'news_title' => $forum_allow_map ? $user->lang[strtoupper($type . '_news')] : '', - 'news_url' => $forum_allow_map ? $this->url_settings[$type . '_news'] : '', - ); - } - } - return; - } - function last_topics($limit = 10) { - global $db, $template, $user, $config, $phpEx, $phpbb_root_path, $phpbb_seo, $auth, $cache; - // Usefull for multi bb topic & forum tracking - // Leave default for single forum eg : '_track' - $tracking_cookie_name = (defined('XLANG_AKEY') ? XLANG_AKEY : '') . '_track'; - $this->outputs['right_col_tpl'] = 'gym_sitemaps/last_topics_list.html'; - // wa can use start here since there are always more topics overall than in a single forum - $start = $this->start ? $this->gym_master->chk_start($this->start, $limit) : 0; - $template->assign_vars(array('LAST_POST_IMG' => $user->img('icon_topic_latest', 'VIEW_LATEST_POST'))); - // Wee need to check auth here - $this->module_config['last_topics_exclude_list'] = $this->gym_master->set_exclude_list($this->module_config['html_ltopic_exclude']); - $forum_auth_ids = array_diff_assoc($this->module_auth['forum']['read_post'], $this->module_config['last_topics_exclude_list']); - $all_forum_datas = $forum_datas = array(); - if (!empty($forum_auth_ids)) { - $topic_sql_auth = $db->sql_in_set('t.forum_id', $forum_auth_ids, false, true); - $template->assign_vars(array( - 'NEWEST_POST_IMG' => $user->img('icon_topic_newest', 'VIEW_NEWEST_POST'), - 'LAST_POST_IMG' => $user->img('icon_topic_latest', 'VIEW_LATEST_POST'), - )); - $display_tracking = &$this->call['display_tracking']; - $display_user_info = &$this->call['display_user_info']; - $display_topic_status = &$this->call['display_topic_status']; - if (!$display_tracking) { - $load_db_lastread = $load_anon_lastread = false; - } else { - $load_db_lastread = (boolean) ($config['load_db_lastread'] && $user->data['is_registered']); - $load_anon_lastread = (boolean) ($config['load_anon_lastread'] || $user->data['is_registered']); - } - $template->assign_vars(array( - 'LASTX_TOPICS_TITLE' => sprintf($user->lang['HTML_LASTX_TOPICS_TITLE'], $limit) - ) - ); - // Get The Data, first forums - if (!empty($this->forum_datas)) { - $f_id_done = array_keys($this->forum_datas); - $f_id_done = array_combine($f_id_done, $f_id_done); - unset($f_id_done[0]); - $forum_query_ids = array_diff_assoc($forum_auth_ids, $f_id_done); - } else { - $forum_query_ids = $forum_auth_ids; - } - // Only get the required forums data - if (!empty($forum_query_ids)) { - $forum_sql_auth = $db->sql_in_set('f.forum_id', $forum_query_ids, false, true); - $sql_array = array( - 'SELECT' => 'f.*', - 'FROM' => array( - FORUMS_TABLE => 'f', - ), - 'LEFT_JOIN' => array(), - ); - if ($load_db_lastread) { - $sql_array['SELECT'] .= ', ft.mark_time as forum_mark_time'; - $sql_array['LEFT_JOIN'][] = array( - 'FROM' => array(FORUMS_TRACK_TABLE => 'ft'), - 'ON' => 'ft.user_id = ' . $user->data['user_id'] . ' AND ft.forum_id = f.forum_id' - ); - } - $sql_array['WHERE'] = $forum_sql_auth; - $result = $db->sql_query($db->sql_build_query('SELECT', $sql_array)); - while ($row = $db->sql_fetchrow($result)) { - $forum_id = (int) $row['forum_id']; - $forum_datas[$forum_id] = $row; - } - $db->sql_freeresult($result); - } - // Now the topics - $sql_array = array( - 'SELECT' => 't.*', - 'FROM' => array( - TOPICS_TABLE => 't', - ), - 'LEFT_JOIN' => array(), - ); - if ($display_user_info && $display_topic_status && $user->data['is_registered']) { - $sql_array['LEFT_JOIN'][] = array('FROM' => array(TOPICS_POSTED_TABLE => 'tp'), 'ON' => 'tp.topic_id = t.topic_id AND tp.user_id = ' . $user->data['user_id']); - $sql_array['SELECT'] .= ', tp.topic_posted'; - } - if ($load_db_lastread) { - $sql_array['SELECT'] .= ', tt.mark_time'; - $sql_array['LEFT_JOIN'][] = array( - 'FROM' => array(TOPICS_TRACK_TABLE => 'tt'), - 'ON' => 'tt.user_id = ' . $user->data['user_id'] . ' AND tt.topic_id = t.topic_id' - ); - } elseif ($load_anon_lastread && empty($this->tracking_topics)) { - $this->tracking_topics = (isset($_COOKIE[$config['cookie_name'] . $tracking_cookie_name])) ? ((STRIP) ? stripslashes($_COOKIE[$config['cookie_name'] . $tracking_cookie_name]) : $_COOKIE[$config['cookie_name'] . $tracking_cookie_name]) : ''; - $this->tracking_topics = ($this->tracking_topics) ? tracking_unserialize($this->tracking_topics) : array(); - if (!$user->data['is_registered']) { - $user->data['user_lastmark'] = (isset($this->tracking_topics['l'])) ? (int) (base_convert($this->tracking_topics['l'], 36, 10) + $config['board_startdate']) : 0; - } - } - $sql_array['WHERE'] = "$topic_sql_auth - AND t.topic_status <> " . ITEM_MOVED . ' AND t.topic_approved = 1'; - $sql_array['ORDER_BY'] = 'topic_last_post_time DESC'; - $result = $db->sql_query_limit($db->sql_build_query('SELECT', $sql_array), $limit, $start); - while ($row = $db->sql_fetchrow($result)) { - $topic_id = (int) $row['topic_id']; - $forum_id = (int) $row['forum_id']; - $all_forum_datas[$forum_id][$topic_id] = $row; - } - $db->sql_freeresult($result); - // Grab icons - if (empty($this->icons)) { - $this->icons = $cache->obtain_icons(); - } - $folder_alt = 'NO_NEW_POSTS'; - $topic_type = ''; - $folder_img = 'topic_read'; - $topic_folder_img = $user->img($folder_img, $folder_alt); - $topic_folder_img_src = $user->img($folder_img, $folder_alt, false, '', 'src'); - foreach ($all_forum_datas as $forum_id => $topic_datas) { - // Start with the forum - $forum_id = (int) $forum_id; - if (empty($this->forum_datas[$forum_id])) { - $row = & $forum_datas[$forum_id]; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->set_url($row['forum_name'], $forum_id, 'forum'); - // www.phpBB-SEO.com SEO TOOLKIT END - $this->forum_datas[$forum_id] = array_merge($row, array( - 'forum_url' => append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id"), - 'm_approve' => $auth->acl_get('m_approve', $forum_id), - )); - if ($load_db_lastread) { - $this->forum_tracking_info[$forum_id] = !empty($row['forum_mark_time']) ? $row['forum_mark_time'] : $user->data['user_lastmark']; - } elseif ($load_anon_lastread) { - $this->forum_tracking_info[$forum_id] = isset($this->tracking_topics['f'][$forum_id]) ? (int) (base_convert($this->tracking_topics['f'][$forum_id], 36, 10) + $config['board_startdate']) : $user->data['user_lastmark']; - } - } - $forum_unread = (isset($this->forum_tracking_info[$forum_id]) && $this->forum_datas[$forum_id]['forum_last_post_time'] > $this->forum_tracking_info[$forum_id]) ? true : false; - $folder_image = $folder_alt = ''; - $folder_image = ($forum_unread) ? 'forum_unread' : 'forum_read'; - // Which folder should we display? - if ($this->forum_datas[$forum_id]['forum_status'] == ITEM_LOCKED) { - $folder_image = ($forum_unread) ? 'forum_unread_locked' : 'forum_read_locked'; - $folder_alt = 'FORUM_LOCKED'; - } else { - $folder_alt = ($forum_unread) ? 'NEW_POSTS' : 'NO_NEW_POSTS'; - } - $template->assign_block_vars('last_forums', array( - 'FORUM_NAME' => $this->forum_datas[$forum_id]['forum_name'], - 'FORUM_FOLDER_IMG' => $user->img($folder_image, $folder_alt), - 'FORUM_FOLDER_IMG_SRC' => $user->img($folder_image, $folder_alt, false, '', 'src'), - 'FORUM_FOLDER_IMG_ALT' => isset($user->lang[$folder_alt]) ? $user->lang[$folder_alt] : '', - 'U_VIEWFORUM' => append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id"), - ) - ); - // Now the topics - foreach ($topic_datas as $topic_id => $topic_data) { - $topic_id = (int) $topic_id; - if ($load_db_lastread) { - $this->topic_tracking_info[$topic_id] = !empty($topic_data['mark_time']) ? $topic_data['mark_time'] : $user->data['user_lastmark']; - } else if ($load_anon_lastread) { - $topic_id36 = base_convert($topic_id, 10, 36); - if (isset($this->tracking_topics['t'][$topic_id36])) { - $this->tracking_topics['t'][$topic_id] = base_convert($this->tracking_topics['t'][$topic_id36], 36, 10) + $config['board_startdate']; - } - $this->topic_tracking_info[$topic_id] = isset($this->tracking_topics['t'][$topic_id]) ? $this->tracking_topics['t'][$topic_id] : $user->data['user_lastmark']; - } - if (!empty($this->forum_tracking_info[$forum_id])) { - $this->topic_tracking_info[$topic_id] = $this->topic_tracking_info[$topic_id] > $this->forum_tracking_info[$forum_id] ? $this->topic_tracking_info[$topic_id] : $this->forum_tracking_info[$forum_id]; - } - $topic_data['topic_title'] = censor_text($topic_data['topic_title']); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->prepare_iurl($topic_data, 'topic', $topic_data['topic_type'] == POST_GLOBAL ? $this->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]); - // www.phpBB-SEO.com SEO TOOLKIT END - // Replies - $replies = $this->forum_datas[$forum_id]['m_approve'] ? $topic_data['topic_replies_real'] : $topic_data['topic_replies']; - $last_page = (($replies + 1) > $config['posts_per_page']) ? floor($replies / $config['posts_per_page']) * $config['posts_per_page'] : 0; - $last_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id" . ($last_page ? "&start=$last_page" : '')) . '#p' . $topic_data['topic_last_post_id']; - $unread_topic = (isset($this->topic_tracking_info[$topic_id]) && $topic_data['topic_last_post_time'] > $this->topic_tracking_info[$topic_id]) ? true : false; - // Get folder img, topic status/type related information - if ($display_topic_status) { - $this->gym_master->topic_status($topic_data, $replies, $unread_topic, $folder_img, $folder_alt, $topic_type); - $topic_folder_img = $user->img($folder_img, $folder_alt); - $topic_folder_img_src = $user->img($folder_img, $folder_alt, false, '', 'src'); - } - $view_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id"); - $template->assign_block_vars('last_forums.last_topics', array( - 'TOPIC_TITLE' => $topic_data['topic_title'], - 'PAGINATION' => $this->call['last_topic_pagination'] ? $this->gym_master->topic_generate_pagination($replies, $view_topic_url) : '', - 'TOPIC_TYPE' => $topic_type, - 'TOPIC_FOLDER_IMG' => $topic_folder_img, - 'TOPIC_FOLDER_IMG_SRC' => $topic_folder_img_src, - 'TOPIC_FOLDER_IMG_ALT' => $user->lang[$folder_alt], - 'TOPIC_ICON_IMG' => (!empty($this->icons[$topic_data['icon_id']])) ? $this->icons[$topic_data['icon_id']]['img'] : '', - 'TOPIC_ICON_IMG_WIDTH' => (!empty($this->icons[$topic_data['icon_id']])) ? $this->icons[$topic_data['icon_id']]['width'] : '', - 'TOPIC_ICON_IMG_HEIGHT' => (!empty($this->icons[$topic_data['icon_id']])) ? $this->icons[$topic_data['icon_id']]['height'] : '', - 'U_NEWEST_POST' => $unread_topic ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $forum_id . '&t=' . $topic_id . '&view=unread#unread') : '', - 'U_VIEW_TOPIC' => $view_topic_url, - 'U_LAST_POST' => $last_post_url, - 'S_UNREAD_TOPIC' => $unread_topic, - ) - ); - } - } - unset($forum_datas, $all_forum_datas); - } - } - /** - * Generates forum rules / desc for given forum - */ - function generate_forum_info($forum_data, $type = 'desc') { - static $types = array('desc' => 1, 'rules' => 1); - if (!isset($types[$type])) { - return ''; - } - $forum_info = array('forum_desc' => false, 'forum_rules' => false, 'forum_rules_link' => false); - if (!empty($forum_data["forum_$type"])) { - $forum_info["forum_$type"] = generate_text_for_display($forum_data["forum_$type"], $forum_data["forum_{$type}_uid"], $forum_data["forum_{$type}_bitfield"], $forum_data["forum_{$type}_options"]); - } else if (isset($forum_data["forum_{$type}_link"])) { - $forum_info['forum_rules_link'] = $forum_data['forum_rules_link']; - } - return $type == 'rules' ? $forum_info : $forum_info["forum_$type"]; - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/modules/index.htm b/phpBB/gym_sitemaps/modules/index.htm deleted file mode 100644 index e0cc5f36e6..0000000000 --- a/phpBB/gym_sitemaps/modules/index.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html>
-<head>
-<title></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</head>
-
-<body bgcolor="#FFFFFF" text="#000000">
-
-</body>
-</html>
diff --git a/phpBB/gym_sitemaps/modules/rss_forum.php b/phpBB/gym_sitemaps/modules/rss_forum.php deleted file mode 100644 index 04f31a6604..0000000000 --- a/phpBB/gym_sitemaps/modules/rss_forum.php +++ /dev/null @@ -1,608 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: rss_forum.php 262 2010-04-20 11:06:58Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** -* google_forum Class -* www.phpBB-SEO.com -* @package phpBB SEO -*/ -class rss_forum { - var $url_config = array(); - var $actions = array(); - var $module_auth = array(); - var $module_config = array(); - var $output_data = array(); - var $forum_cache = array(); - /** - * constuctor - */ - function rss_forum(&$gym_master) { - global $user, $db; - $this->gym_master = &$gym_master; - $this->actions = &$this->gym_master->actions; - $this->module_auth = &$this->gym_master->module_auth; - $this->output_data = &$this->gym_master->output_data; - $this->module_config = &$this->gym_master->rss_config; - $this->url_config = &$this->gym_master->url_config; - $this->module_config = array_merge( - // Global - $this->module_config, - // Other stuff required here - array( - 'rss_first' => ( $this->gym_master->gym_config['rss_forum_first'] ) ? TRUE : FALSE, - 'rss_last' => ( $this->gym_master->gym_config['rss_forum_last'] ) ? TRUE : FALSE, - 'rss_forum_rules' => ( $this->gym_master->gym_config['rss_forum_rules'] ) ? TRUE : FALSE, - 'rss_exclude_list' => trim($this->gym_master->gym_config['rss_forum_exclude'], ','), - ) - ); - // Set up msg outpout - if ($this->actions['rss_news_list'] || $this->actions['module_sub'] === 'announces' ) { - $this->module_config['rss_first'] = true; - $this->module_config['rss_last'] = false; - $this->module_config['rss_sort'] = 'DESC'; - } else { - $this->module_config['rss_last'] = ($this->module_config['rss_first']) ? $this->module_config['rss_last'] : true; - } - // Build unauthed array - $this->module_config['exclude_list'] = $this->gym_master->set_exclude_list($this->module_config['rss_exclude_list']); - // Wee need to check auth here - $this->gym_master->check_forum_auth($this->module_config['rss_auth_guest']); - $this->actions['auth_guest_read'] = array_diff_assoc($this->module_auth['forum']['public_read'], $this->module_config['exclude_list'], $this->module_auth['forum']['skip_all']); - $this->actions['auth_view_read'] = array_diff_assoc($this->module_auth['forum']['read_post'], $this->module_config['exclude_list']); - if (empty($this->actions['auth_view_read'])) { - $this->gym_master->gym_error(404, '', __FILE__, __LINE__); - } - $this->actions['in_id_sql'] = $db->sql_in_set('forum_id', $this->actions['auth_view_read'], false, true); - $this->gym_master->gym_output->setup_cache(); // Will exit if the cache is sent - - $this->init_url_settings(); - } - /** - * Initialize mod rewrite to handle multiple URL standards. - * Only one 'if' is required after this in THE loop to properly switch - * between the four types (none, advanced, mixed and simple). - * @access private - */ - function init_url_settings() { - global $phpbb_seo, $phpEx; - // vars will fell like rain in the code ;) - $this->gym_master->init_url_rewrite($this->module_config['rss_modrewrite'], $this->module_config['rss_modrtype']); - - $this->url_config['rss_forum_pre'] = $this->url_config['rss_default'] . '?forum='; - $this->url_config['rss_forum_default'] = $this->url_config['rss_default'] . '?forum'; - $this->url_config['rss_forum_news_default'] = $this->url_config['rss_forum_default'] . '&news'; - $this->url_config['rss_forum_news'] = '&news'; - $this->url_config['rss_forum_channel_default'] = $this->url_config['rss_forum_pre'] . 'channels'; - $this->url_config['rss_forum_channel'] = ''; - $this->url_config['rss_forum_announces_default'] = $this->url_config['rss_forum_pre'] . 'announces'; - $this->url_config['rss_forum_announces'] = ''; - $this->url_config['rss_forum_file'] = ''; - $this->url_config['rss_forum_delim'] = !empty($phpbb_seo->seo_delim['forum']) ? $phpbb_seo->seo_delim['forum'] : '-f'; - $this->url_config['rss_forum_static'] = 'forum'; - - if ($this->module_config['rss_modrewrite']) { // Module links - $this->url_config['rss_forum_pre'] = ($this->url_config['modrtype'] >= 2) ? '' : $this->url_config['rss_forum_static'] . $this->url_config['rss_forum_delim']; - $this->url_config['rss_forum_file'] = ($this->url_config['modrtype'] > 0 ? '' : '/' ) . 'forum.xml' . $this->url_config['gzip_ext_out']; - $this->url_config['rss_forum_default'] = ''; - $this->url_config['rss_forum_announces_default'] = $this->url_config['rss_forum_news_default'] = $this->url_config['rss_forum_channel_default'] = ''; - $this->url_config['rss_forum_news'] = 'news/'; - $this->url_config['rss_forum_channel'] = 'channels/'; - $this->url_config['rss_forum_announces'] = 'announces/'; - } - return; - } - /** - * rss_main() - * Add content to the main listing (channel list and rss feed) - * @access private - */ - function rss_main() { - global $config, $db, $phpbb_seo, $user, $phpEx; - // It's global channel list call, add static channels - // Reset the local counting, since we are cycling through modules - $this->output_data['url_sofar'] = 0; - $time_limit = ''; - $approve_sql = ' AND topic_approved = 1'; - $approve_sqlt = ' AND t.topic_approved = 1'; - if ( $this->actions['rss_channel_list'] ) { // Channel lists - // Add the forum channel - $chan_source = $this->module_config['rss_url'] . $this->url_config['rss_vpath'] . $this->url_config['rss_forum_channel_default'] . $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_channel'] . $this->url_config['rss_forum_file']; - $chan_link = $phpbb_seo->seo_path['phpbb_urlR'] . $this->url_config['forum_index']; - $item_tile = !empty($this->gym_master->gym_config['rss_forum_sitename']) ? $this->gym_master->gym_config['rss_forum_sitename'] : $config['sitename']; - $item_desc = (!empty($this->gym_master->gym_config['rss_forum_site_desc']) ? $this->gym_master->gym_config['rss_forum_site_desc'] : $config['site_desc']) . "\n\n"; - $this->gym_master->parse_item($item_tile . ' - ' . $user->lang['RSS_CHAN_LIST_TITLE'], $item_desc . $user->lang['RSS_CHAN_LIST_DESC'], $chan_link, $chan_source, $item_tile . ' - ' . $user->lang['RSS_CHAN_LIST_TITLE'], $this->output_data['last_mod_time']); - // add the main news forum feed - if ($this->module_config['rss_allow_news']) { - $chan_source = $this->module_config['rss_url'] . $this->url_config['rss_vpath'] . $this->url_config['rss_forum_default'] . ($this->actions['rss_news_list'] ? '' : $this->url_config['rss_forum_news']) . $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_file']; - $this->gym_master->parse_item($item_tile . ' - ' . $user->lang['RSS_NEWS'], $user->lang['RSS_NEWS_DESC'] . ' ' . $item_tile . "\n\n" . $this->module_config['rss_site_desc'], $chan_link, $chan_source, $item_tile . ' - ' . $user->lang['RSS_NEWS'], $this->output_data['last_mod_time']); - } - // Add announces feed to the list ? - // Count items - $sql = "SELECT COUNT(topic_id) AS topic - FROM " . TOPICS_TABLE . " - WHERE forum_id = 0 - AND topic_type = " . POST_GLOBAL . $approve_sql; - $result = $db->sql_query($sql); - $row = $db->sql_fetchrow($result); - $db->sql_freeresult($result); - if (!empty($row['topic'])) { - unset($row); - $forum_announces_url = $this->module_config['rss_url'] . $this->url_config['rss_vpath'] . $this->url_config['rss_forum_announces_default'] . $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_announces'] . $this->url_config['rss_forum_file']; - $this->gym_master->parse_item(sprintf($user->lang['RSS_ANNOUNCES_TITLE'], $this->module_config['rss_sitename']), sprintf($user->lang['RSS_ANNOUCES_DESC'], $this->module_config['rss_sitename']) . "\n\n" . $this->module_config['rss_site_desc'], $chan_link, $forum_announces_url, '', $this->output_data['last_mod_time']); - } - // add the main forum feed - $chan_source = $this->module_config['rss_url'] . $this->url_config['rss_vpath'] . $this->url_config['rss_forum_default'] . $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_file']; - - // Forum stats - $forum_stats = '<b>' . $user->lang['STATISTICS'] . '</b> : ' . sprintf($user->lang['TOTAL_USERS_OTHER'], $config['num_users']) . ' || ' . "\n"; - $forum_stats .= sprintf($user->lang['TOTAL_TOPICS_OTHER'], $config['num_topics']) . ' || '; - $forum_stats .= sprintf($user->lang['TOTAL_POSTS_OTHER'], $config['num_posts']) . "\n"; - $forum_stats .= ($this->module_config['rss_allow_profile'] ? "\n" . sprintf($user->lang['NEWEST_USER'], get_username_string($this->module_config['rss_profile_mode'], $config['newest_user_id'], $config['newest_username'], $config['newest_user_colour']) ) : '') . "\n\n"; - $item_desc .= $forum_stats; - $this->gym_master->parse_item($item_tile, $item_desc, $chan_link, $chan_source, $item_tile, $this->output_data['last_mod_time']); - // Grabb the forum data - $this->list_forums(); - } else { // Main feeds - // Grabb forums info - $forum_data = array(); - $sql = "SELECT * - FROM " . FORUMS_TABLE . " - WHERE " . $this->actions['in_id_sql'] . " - ORDER BY forum_last_post_id " . $this->module_config['rss_sort']; - $result = $db->sql_query($sql); - while ($row = $db->sql_fetchrow($result)) { - $forum_data[$row['forum_id']] = $row; - } - $db->sql_freeresult($result); - unset($row); - // Build sql components - $topic_forum_sql = ''; - if ($this->module_config['rss_limit_time'] > 0 ) { - $time_limit = ($this->output_data['time'] - $this->module_config['rss_limit_time']); - $time_limit_sql = "topic_last_post_time > $time_limit AND "; - } else { - $time_limit_sql = ''; - } - // Count topics - $sql = "SELECT COUNT(topic_id) AS topic - FROM " . TOPICS_TABLE . " - WHERE $time_limit_sql - " . $this->actions['in_id_sql'] . " - AND topic_status <> " . ITEM_MOVED . $approve_sql; - $result = $db->sql_query($sql); - $row = $db->sql_fetchrow($result); - $forum_data['topic_count'] = ( $row['topic'] ) ? $row['topic'] : 1; - $db->sql_freeresult($result); - unset($row); - $forum_sql = 't.' . $this->actions['in_id_sql'] . ' AND '; - $this->list_topics($forum_sql, $forum_data, $time_limit, $approve_sqlt); - } - // Add the local counting, since we are cycling through modules - $this->output_data['url_sofar_total'] = $this->output_data['url_sofar_total'] + $this->output_data['url_sofar']; - return; - } - /** - * rss_module() will build the module's specific sub feeds, - * @access private - */ - function rss_module() { - global $user, $db, $phpbb_seo, $auth, $config; - $forum_sql = ''; - $time_limit = ''; - $approve_sql = ' AND topic_approved = 1'; - $approve_sqlt = ' AND t.topic_approved = 1'; - $forum_data = array('topic_count' => 0); - if ($this->actions['module_sub'] === 'channels') { // Module channel list - //If so check for dupes and build channel header - $chan_source = $this->module_config['rss_url'] . $this->url_config['rss_vpath'] . $this->url_config['rss_forum_channel_default'] . $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_channel'] . $this->url_config['rss_forum_file']; - // Kill dupes - $this->gym_master->seo_kill_dupes($chan_source); - $chan_title = $this->module_config['rss_sitename']; - $chan_link = $phpbb_seo->seo_path['phpbb_urlR'] . $this->url_config['forum_index']; - $chan_desc = sprintf($user->lang['RSS_CHAN_LIST_DESC_MODULE'], $this->module_config['rss_sitename']) . "\n\n" . $this->module_config['rss_site_desc'] . "\n\n"; - - // Forum stats - $site_stats = '<b>' . $user->lang['STATISTICS'] . '</b> : ' . sprintf($user->lang['TOTAL_USERS_OTHER'], $config['num_users']) . ' || '; - $site_stats .= sprintf($user->lang['TOTAL_TOPICS_OTHER'], $config['num_topics']) . ' || '; - $site_stats .= sprintf($user->lang['TOTAL_POSTS_OTHER'], $config['num_posts']); - - $site_stats .= ($this->module_config['rss_allow_profile'] ? "\n" . sprintf($user->lang['NEWEST_USER'], get_username_string($this->module_config['rss_profile_mode'], $config['newest_user_id'], $config['newest_username'], $config['newest_user_colour']) ) : '') . "\n"; - $chan_title_full = $chan_title . ' ' . $user->lang['RSS_CHAN_LIST_TITLE']; - $this->gym_master->parse_channel($chan_title_full, $chan_desc, $chan_link, $this->output_data['last_mod_time'], $this->module_config['rss_image_url'], $chan_source); - // Add main forum feed to the list only when not requesting a news channel list - if (!$this->actions['rss_news_list']) { - $forum_feed_url = $this->module_config['rss_url'] . $this->url_config['rss_vpath'] . $this->url_config['rss_forum_default'] . $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_file']; - $this->gym_master->parse_item($chan_title, $this->module_config['rss_site_desc'] . "\n\n" . $site_stats, $chan_link, $forum_feed_url, '', $this->output_data['last_mod_time']); - } - // add the main news forum feed - if ($this->module_config['rss_allow_news']) { - $news_chan = $this->module_config['rss_url'] . $this->url_config['rss_vpath'] . $this->url_config['rss_forum_default'] . ($this->actions['rss_news_list'] ? '' : $this->url_config['rss_forum_news']) . $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_file']; - $this->gym_master->parse_item($chan_title . ' - ' . $user->lang['RSS_NEWS'], $user->lang['RSS_NEWS_DESC'] . ' ' . $chan_title . "\n\n" . $this->module_config['rss_site_desc'], $chan_link, $news_chan, $chan_title . ' - ' . $user->lang['RSS_NEWS'], $this->output_data['last_mod_time']); - } - // Add announces feed to the list ? - // Count items - $sql = "SELECT COUNT(topic_id) AS topic - FROM " . TOPICS_TABLE . " - WHERE forum_id = 0 - AND topic_type = " . POST_GLOBAL . $approve_sql; - $result = $db->sql_query($sql); - $row = $db->sql_fetchrow($result); - $db->sql_freeresult($result); - if (!empty($row['topic'])) { - unset($row); - $forum_announces_url = $this->module_config['rss_url'] . $this->url_config['rss_vpath'] . $this->url_config['rss_forum_announces_default'] . $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_announces'] . $this->url_config['rss_forum_file']; - $this->gym_master->parse_item(sprintf($user->lang['RSS_ANNOUNCES_TITLE'], $this->module_config['rss_sitename']), sprintf($user->lang['RSS_ANNOUCES_DESC'], $this->module_config['rss_sitename']) . "\n\n" . $this->module_config['rss_site_desc'], $chan_link, $forum_announces_url, '', $this->output_data['last_mod_time']); - } - $this->list_forums(); - return; - - } elseif ($this->actions['module_sub'] === 'announces') { // Global annnounces list - - // it's the announces sitemap - // We want to list all the global announces from the forum - $forum_sql = ' t.forum_id = 0 AND t.topic_type = ' . POST_GLOBAL; - // Count items - $sql = "SELECT COUNT(topic_id) AS topic - FROM " . TOPICS_TABLE . " t - WHERE $forum_sql $approve_sql"; - $result = $db->sql_query($sql); - $row = $db->sql_fetchrow($result); - $db->sql_freeresult($result); - if(empty($row['topic'])) { - $this->gym_master->gym_error(404, 'GYM_TOO_FEW_ITEMS', __FILE__, __LINE__); - exit; - } else { - $forum_data['topic_count'] = (int) $row['topic']; - unset($row); - } - $chan_source = $this->module_config['rss_url'] . $this->url_config['rss_vpath'] . $this->url_config['rss_forum_announces_default'] . $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_announces'] . $this->url_config['rss_forum_file']; - // Kill dupes - $this->gym_master->seo_kill_dupes($chan_source); - $chan_title = sprintf($user->lang['RSS_ANNOUNCES_TITLE'], $this->module_config['rss_sitename']); - $chan_link = $phpbb_seo->seo_path['phpbb_urlR'] . $this->url_config['forum_index']; - $chan_desc = sprintf($user->lang['RSS_ANNOUCES_DESC'], $this->module_config['rss_sitename']) . "\n\n" . $this->module_config['rss_site_desc']; - // Forum announces location - $this->gym_master->parse_channel($chan_title . $this->module_config['extra_title'], $chan_desc . "\n", $chan_link, $this->output_data['last_mod_time'], $this->module_config['rss_image_url'], $chan_source); - // Dirty but efficient workarround for announces - $this->forum_cache[0]['forum_url'] = $phpbb_seo->seo_opt['virtual_folder'] ? $phpbb_seo->seo_static['global_announce'] . $phpbb_seo->seo_ext['global_announce'] : ''; - $this->forum_cache[0]['forum_url_full'] = $this->forum_cache[0]['forum_name'] = $chan_title; - $this->forum_cache[0]['replies_key'] = 'topic_replies'; - $this->forum_cache[0]['approve'] = 0; - $this->forum_cache[0]['forum_rss_url'] = $chan_source; - $this->actions['auth_view_read'][0] = 0; - $this->list_topics($forum_sql . ' AND ' , $forum_data); - - } else { // Module feeds - - // Filter $this->actions['module_sub'] var type - $this->actions['module_sub'] = intval($this->actions['module_sub']); - if ($this->actions['module_sub'] > 0) { // Forum Feed - $forum_sql = ' t.forum_id = ' . $this->actions['module_sub'] . ' AND '; - // Check forum auth and grab necessary infos - $sql = "SELECT * - FROM ". FORUMS_TABLE ." f - WHERE forum_id = " . $this->actions['module_sub']; - $result = $db->sql_query($sql); - $forum_data = $db->sql_fetchrow($result); - $db->sql_freeresult($result); - if ( empty($forum_data) ) { - $this->gym_master->gym_error(404, '', __FILE__, __LINE__, $sql); - } - $forum_id = (int) $forum_data['forum_id']; - if ( $forum_data['forum_type'] != FORUM_POST || !isset($this->actions['auth_view_read'][$forum_id]) ) { - $this->gym_master->gym_error(401, '', __FILE__, __LINE__); - } - // This forum is allowed, so let's start - $forum_rss_url = $this->module_config['rss_url'] . ($this->module_config['rss_modrewrite'] ? $phpbb_seo->set_url($forum_data['forum_name'], $forum_id, 'forum') . '/' : $this->url_config['rss_forum_pre'] . $forum_id); - // Build Yahoo notify URL - // If the URL is not rewritten, we cannot use "&", get rid of options in such cases. - if ($this->module_config['rss_yahoo_notify']) { - if ( $this->url_config['modrewrite'] ) { - $this->url_config['rss_yahoo_notify_url'] = $forum_rss_url . $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_file']; - } else { - $this->url_config['rss_yahoo_notify_url'] = $forum_rss_url; - } - } - $forum_rss_url .= $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_file']; - // Kill dupes - $this->gym_master->seo_kill_dupes($forum_rss_url); - - // Properly set the limits - $this->forum_cache[$forum_id]['approve'] = 0; - $forum_data['topic_count'] = $forum_data['forum_topics']; - $this->forum_cache[$forum_id]['replies_key'] = 'topic_replies'; - // In case the forum called for a feed is really big, apply time limit - if ( $this->module_config['rss_limit_time'] > 0 && $forum_data['topic_count'] > 500) { - $time_limit = ($this->output_data['time'] - $this->module_config['rss_limit_time']); - // So let's count topic in this forum - $sql = "SELECT COUNT(topic_id) AS forum_topics - FROM " . TOPICS_TABLE . " - WHERE forum_id = $forum_id - AND topic_last_post_time > $time_limit - AND topic_status <> " . ITEM_MOVED . " - $approve_sql"; - $result = $db->sql_query($sql); - $row = $db->sql_fetchrow($result); - $forum_data['topic_count'] = ( $row['forum_topics'] ) ? $row['forum_topics'] : 1; - $db->sql_freeresult($result); - unset($row); - // now check if we've got still enough topic to ouptut - if ( $forum_data['topic_count'] <= $this->module_config['rss_url_limit'] ) { - $time_limit = 0; - } - } - $this->forum_cache[$forum_id]['forum_rss_url'] = $forum_rss_url; - $chan_title = $this->forum_cache[$forum_id]['forum_name'] = $forum_data['forum_name']; - $this->forum_cache[$forum_id]['forum_url'] = $this->gym_master->forum_url($forum_data['forum_name'], $forum_id); - $this->forum_cache[$forum_id]['forum_url_full'] = $this->gym_master->parse_link($phpbb_seo->seo_path['phpbb_urlR'] . $this->forum_cache[$forum_id]['forum_url'] . $this->url_config['forum_ext'], $this->forum_cache[$forum_id]['forum_name'], 'h5'); - // Build Chan info - // Forum stats - $forum_stats = "\n" . '<b>' . $user->lang['STATISTICS'] . '</b> : ' . $forum_data['topic_count'] . ' ' . (($forum_data['forum_topics'] >= 0) ? $user->lang['TOPICS'] : $user->lang['TOPIC'] ); - $forum_stats .= ' || ' . $forum_data['forum_posts'] . ' ' . (($forum_data['forum_posts'] >= 0) ? $user->lang['POSTS'] : $user->lang['POST'] ); - // Forum rules ? - $forum_rules = ($this->module_config['rss_forum_rules'] && $forum_data['forum_rules']) ? generate_text_for_display($forum_data['forum_rules'], $forum_data['forum_rules_uid'], $forum_data['forum_rules_bitfield'], $forum_data['forum_rules_options']) : ''; - $forum_desc = generate_text_for_display($forum_data['forum_desc'], $forum_data['forum_desc_uid'], $forum_data['forum_desc_bitfield'], $forum_data['forum_desc_options']); - // Is this item public ? - $this->module_config['rss_auth_msg'] = ($this->gym_master->is_forum_public($forum_id) ? '' : "\n\n" . $user->lang['RSS_AUTH_THIS'] . "\n" ); - // Profiles - $lastposter = ''; - if ($this->module_config['rss_allow_profile'] ) { - $lastposter = "\n" . $user->lang['GYM_LAST_POST_BY'] . get_username_string($this->module_config['rss_profile_mode'], $forum_data['forum_last_poster_id'], $forum_data['forum_last_poster_name'], $forum_data['forum_last_poster_colour']); - } - $chan_desc = $forum_desc . $forum_rules . "\n" . $forum_stats . $lastposter; - $chan_image = !empty($forum_data['forum_image']) ? $phpbb_seo->seo_path['phpbb_url'] . trim($forum_data['forum_image'], '/') : $this->module_config['rss_image_url']; - $this->gym_master->parse_channel($chan_title . $this->module_config['extra_title'], $chan_desc, $phpbb_seo->seo_path['phpbb_urlR'] . $this->forum_cache[$forum_id]['forum_url'] . $this->url_config['forum_ext'], $forum_data['forum_last_post_time'], $chan_image, $forum_rss_url); - - } else { // module Rss - - $forum_sql = ' t.' . $this->actions['in_id_sql'] . ' AND '; - $chan_source = $this->module_config['rss_url'] . $this->url_config['rss_forum_default'] . $this->url_config['rss_vpath'] . $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_file']; - $this->gym_master->seo_kill_dupes($chan_source); - - // Forum stats - $forum_stats = '<b>' . $user->lang['STATISTICS'] . '</b> : ' . sprintf($user->lang['TOTAL_USERS_OTHER'], $config['num_users']) . ' || '; - $forum_stats .= sprintf($user->lang['TOTAL_TOPICS_OTHER'], $config['num_topics']) . ' || '; - $forum_stats .= sprintf($user->lang['TOTAL_POSTS_OTHER'], $config['num_posts']); - - $forum_stats .= ($this->module_config['rss_allow_profile'] ? "\n" . sprintf($user->lang['NEWEST_USER'], get_username_string($this->module_config['rss_profile_mode'], $config['newest_user_id'], $config['newest_username'], $config['newest_user_colour'])) : '') . "\n"; - // Chan info - $chan_title = $this->module_config['rss_sitename']; - $chan_link = $phpbb_seo->seo_path['phpbb_urlR'] . $this->url_config['forum_index']; - $chan_desc = $this->module_config['rss_site_desc'] . "\n\n"; - $forum_image = sprintf($this->gym_master->style_config['rsschan_img_tpl'], $chan_title, $this->module_config['rss_image_url'], $chan_link); - $chan_time = gmdate('D, d M Y H:i:s \G\M\T', $this->output_data['last_mod_time']); - $chan_title_full = $chan_title . $this->module_config['extra_title']; - $this->gym_master->parse_channel($chan_title_full, $chan_desc . $forum_stats, $chan_link, $this->output_data['last_mod_time'], $this->module_config['rss_image_url'], $chan_source); - // Grabb forums info - $forum_data = array(); - $sql = "SELECT * - FROM " . FORUMS_TABLE . " - WHERE " . $this->actions['in_id_sql'] . " - ORDER BY forum_last_post_id " . $this->module_config['rss_sort']; - $result = $db->sql_query($sql); - while ($row = $db->sql_fetchrow($result)) { - $forum_data[$row['forum_id']] = $row; - } - $db->sql_freeresult($result); - unset($row); - // Build sql components - $time_limit_sql = ''; - if ($this->module_config['rss_limit_time'] > 0 ) { - $time_limit = ($this->output_data['time'] - $this->module_config['rss_limit_time']); - $time_limit_sql = "t.topic_last_post_time > $time_limit AND "; - } else { - $time_limit_sql = ''; - } - $sql = "SELECT COUNT(topic_id) AS topic - FROM " . TOPICS_TABLE . " t - WHERE $time_limit_sql " . $this->actions['in_id_sql'] . " - AND topic_status <> " . ITEM_MOVED . $approve_sql; - $result = $db->sql_query($sql); - $row = $db->sql_fetchrow($result); - $forum_data['topic_count'] = !empty( $row['topic'] ) ? $row['topic'] : 1; - $db->sql_freeresult($result); - unset($row); - } - $this->list_topics($forum_sql, $forum_data, $time_limit, $approve_sqlt); - } - - } - /** - * list_forums() builds the output for forum listing - * From a forum and from all forums - * @access private - */ - function list_forums() { - global $db, $user, $phpbb_seo, $auth; - $sql = "SELECT * - FROM " . FORUMS_TABLE . " - WHERE " . $this->actions['in_id_sql'] . " - ORDER BY forum_last_post_id " . $this->module_config['rss_sort']; - $result = $db->sql_query($sql); - while( $forum_data = $db->sql_fetchrow($result) ) { - $forum_id = (int) $forum_data['forum_id']; - // Make sure that the forum is auth - if (!isset($this->actions['auth_view_read'][$forum_id])) { - continue; - } - $topics_count = $forum_data['forum_topics']; - // Build Chan info - $forum_stats = '<b>' . $user->lang['STATISTICS'] . '</b> : ' . $topics_count . ' ' . (($forum_data['forum_topics'] >= 0) ? $user->lang['TOPICS'] : $user->lang['TOPIC'] ); - $forum_stats .= ' || ' . $forum_data['forum_posts'] . ' ' . (($forum_data['forum_posts'] >= 0) ? $user->lang['POSTS'] : $user->lang['POST'] ); - // Forum rules ? - $forum_rules = ($this->module_config['rss_forum_rules'] && $forum_data['forum_rules']) ? generate_text_for_display($forum_data['forum_rules'], $forum_data['forum_rules_uid'], $forum_data['forum_rules_bitfield'], $forum_data['forum_rules_options']) . "\n" : ''; - $forum_desc = generate_text_for_display($forum_data['forum_desc'], $forum_data['forum_desc_uid'], $forum_data['forum_desc_bitfield'], $forum_data['forum_desc_options']) ; - $forum_desc .= !empty($forum_desc) ? "\n\n" : ''; - // Is this item public ? - $this->module_config['rss_auth_msg'] = ($this->gym_master->is_forum_public($forum_id)) ? '' : "\n" . $user->lang['RSS_AUTH_THIS']; - $item_title = $forum_data['forum_name']; - // Profiles - $lastposter = ''; - if ($this->module_config['rss_allow_profile'] && !empty($forum_data['forum_last_poster_id'])) { - $lastposter = "\n" . $user->lang['GYM_LAST_POST_BY'] . get_username_string($this->module_config['rss_profile_mode'], $forum_data['forum_last_poster_id'], $forum_data['forum_last_poster_name'], $forum_data['forum_last_poster_colour']) . "\n"; - } - // Build URLs - $forum_rss_url = $this->module_config['rss_url'] . ( !empty($this->url_config['rss_forum_pre']) ? $this->url_config['rss_forum_pre'] . $forum_id : $this->gym_master->forum_rss_url( $forum_data['forum_name'] , $forum_id) . '/' ) . $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_file']; - $forum_url = $phpbb_seo->seo_path['phpbb_urlR'] . $this->gym_master->forum_url($forum_data['forum_name'], $forum_id, $phpbb_seo->seo_static['forum']) . $this->url_config['forum_ext']; - $item_desc = $forum_desc . $forum_rules . $forum_stats . $lastposter; - $this->gym_master->parse_item($item_title, $item_desc, $forum_url, $forum_rss_url, $item_title . $this->module_config['extra_title'], $forum_data['forum_last_post_time']); - } // End forum list loop - $db->sql_freeresult($result); - unset ($forum_data); - } - /** - * list_topics($forum_sql, $forum_data, $time_limit = 0, $approve_sql = '') builds the output for topic listing - * From a forum and from all forums - * @access private - */ - function list_topics($forum_sql, $forum_data, $time_limit = 0, $approve_sql = '') { - global $config, $db, $phpbb_seo, $auth, $user; - // Build sql components all remaining cases - $msg_sql1 = $msg_sql2 = $msg_sql3 = ''; - // DBK if news list, use topic start time - $time_key = $this->actions['rss_news_list'] ? 't.topic_time' : 't.topic_last_post_time'; - $order_key = $this->actions['rss_news_list'] ? 't.topic_id' : 't.topic_last_post_id'; - $time_limit = $time_limit > 0 ? "$time_key > $time_limit AND " : ''; - if ( $this->actions['rss_content'] ) { - if($this->module_config['rss_last'] || !$this->module_config['rss_first']) { // Go for last post content - $msg_sql1 = ", p.post_id, p.post_approved, p.post_reported, p.enable_bbcode, p.enable_smilies, p.enable_magic_url, p.enable_sig, p.post_subject, p.post_text, p.post_attachment, p.bbcode_bitfield, p.bbcode_uid, p.post_edit_time"; - $msg_sql2 = ", " . POSTS_TABLE . " p "; - $msg_sql3 = " AND p.post_id = t.topic_last_post_id AND p.post_approved = 1 AND p.post_reported = 0 "; - } - if($this->module_config['rss_first']) { // First post as well ? - $msg_sql1 .= " , pF.post_id as post_idF, pF.post_approved as post_approvedF, pF.post_reported as post_reportedF, pF.enable_bbcode as enable_bbcodeF, pF.enable_smilies as enable_smiliesF, pF.enable_magic_url as enable_magic_urlF, pF.enable_sig as enable_sigF, pF.post_subject as post_subjectF, pF.post_text as post_textF, pF.post_attachment as post_attachmentF, pF.bbcode_bitfield as bbcode_bitfieldF, pF.bbcode_uid as bbcode_uidF, pF.post_edit_time as post_edit_timeF "; - $msg_sql2 .= ", " . POSTS_TABLE . " pF "; - $msg_sql3 .= " AND pF.post_id = t.topic_first_post_id AND pF.post_approved = 1 AND pF.post_reported = 0 "; - } - } - $sql_first = "SELECT t.* $msg_sql1 - FROM " . TOPICS_TABLE . " t $msg_sql2 - WHERE $forum_sql $time_limit - t.topic_status <> " . ITEM_MOVED . " - $approve_sql - $msg_sql3 - ORDER BY $order_key " . $this->module_config['rss_sort']; - // Absolute limit - $topic_sofar = 0; - $topics = array(); - $paginated = $config['posts_per_page']; - // Do the loop - while( ( $topic_sofar < $forum_data['topic_count'] ) && ($this->output_data['url_sofar'] < $this->module_config['rss_url_limit']) ) { - $result = $db->sql_query_limit($sql_first, $this->module_config['rss_sql_limit'], $topic_sofar); - while ($topic = $db->sql_fetchrow($result)) { - // In case we are looking for more than one forum - $forum_id = (int) $topic['forum_id']; - // Make sure that the forum is auth - if (!isset($this->actions['auth_view_read'][$forum_id])) { - continue; - } - // In case we are going to output forum data many times, let's build this once - if (empty($this->forum_cache[$forum_id])) { - // Set mod rewrite & type - $this->forum_cache[$forum_id]['forum_rss_url'] = $this->module_config['rss_url'] . ($this->module_config['rss_modrewrite'] ? $phpbb_seo->set_url($forum_data[$forum_id]['forum_name'], $forum_id, 'forum') . '/' : $this->url_config['rss_forum_pre'] . $forum_id) . $this->url_config['extra_paramsE'] . $this->url_config['rss_forum_file']; - $this->forum_cache[$forum_id]['forum_url'] = $this->gym_master->forum_url($forum_data[$forum_id]['forum_name'], $forum_id); - $this->forum_cache[$forum_id]['forum_name'] = $forum_data[$forum_id]['forum_name']; - $this->forum_cache[$forum_id]['approve'] = 0; - $this->forum_cache[$forum_id]['replies_key'] = 'topic_replies'; - $this->forum_cache[$forum_id]['forum_url_full'] = $this->gym_master->parse_link($phpbb_seo->seo_path['phpbb_urlR'] . $this->forum_cache[$forum_id]['forum_url'] . $this->url_config['forum_ext'], $this->forum_cache[$forum_id]['forum_name'], 'h5'); - } - if ( $topic['topic_reported'] || !$topic['topic_approved'] ) { // Skip for now if reported or unapproved - - continue; - } - $pages = ceil( ($topic[$this->forum_cache[$forum_id]['replies_key']] + 1) / $paginated); - $topic['topic_title'] = censor_text($topic['topic_title']); - $topic['topic_replies'] = $topic[$this->forum_cache[$forum_id]['replies_key']]; - $topic_stats = '<b>' . $user->lang['STATISTICS'] . '</b> : ' . ($topic['topic_replies'] + 1) . ' ' . (($topic['topic_replies'] > 1) ? $user->lang['REPLIES'] : $user->lang['POST'] ); - $topic_stats .= ' || ' . ($topic['topic_views'] + 1) . ' ' . $user->lang['VIEWS']; - $topic['topic_url'] = $phpbb_seo->seo_path['phpbb_urlR'] . $this->gym_master->topic_url($topic, $forum_id, $this->forum_cache[$forum_id]['forum_url']); - $has_reply = ($topic['topic_last_post_id'] > $topic['topic_first_post_id']) ? true : false; - - // Is this item public ? - $this->module_config['rss_auth_msg'] = ($this->gym_master->is_forum_public($forum_id) ? '' : "\n\n" . $user->lang['RSS_AUTH_THIS'] ) . "\n\n"; - - // Do we output the topic URL - if( $has_reply && $this->module_config['rss_first']) { - $topic['topic_urlF'] = $topic['topic_url'] . $this->url_config['topic_ext']; - $first_message = ''; - // With the msg content - if ($this->actions['rss_content'] && @$topic['post_idF'] ) { - if ($topic['post_reportedF'] == 1 || !$topic['post_approvedF']) { - $first_message = $user->lang['RSS_REPORTED_UNAPPROVED']; - } else { - $first_message = $this->gym_master->prepare_for_output( $topic, 'F' ); - } - } - // Profiles - $lastposter = $author = ''; - if ($this->module_config['rss_allow_profile'] && !empty($topic['topic_poster'])) { - if ($this->module_config['rss_display_author']) { - $author = $topic['topic_first_poster_name']; - } - $lastposter = "\n" . $user->lang['GYM_FIRST_POST_BY'] . get_username_string($this->module_config['rss_profile_mode'], $topic['topic_poster'], $topic['topic_first_poster_name'], $topic['topic_first_poster_colour']) . "\n\n"; - } - $item_desc = $this->forum_cache[$forum_id]['forum_url_full'] . "\n\n" . $first_message. "\n" . $topic_stats . $lastposter; - // DBK use topic time if news - $time_key = $this->actions['rss_news_list'] ? 'topic_time' : 'topic_last_post_time'; - $this->gym_master->parse_item($topic['topic_title'], $item_desc, $topic['topic_urlF'], $this->forum_cache[$forum_id]['forum_rss_url'], $this->forum_cache[$forum_id]['forum_name'] . $this->module_config['extra_title'], $topic[$time_key], $author); - } - // Do we output the last post URL - if ( $this->module_config['rss_last'] || !$has_reply) { - $start = ($pages > 1) ? $paginated * ($pages-1) : 0; - $post_num = ''; - $item_title = $topic['topic_title']; - $profile_key = 'first'; - $user_id_key = 'topic_poster'; - // For news and annoucements - $first_last = ($this->module_config['rss_first'] && !$this->module_config['rss_last']) ? 'F' : ''; - if ( $has_reply ) { - $item_title = !empty($topic['post_subject']) ? $topic['post_subject'] : $topic['topic_title']; - - $post_num = '#p' . $topic['topic_last_post_id']; - $profile_key = 'last'; - $user_id_key = 'topic_last_poster_id'; - } - $topic['topic_url' . $first_last] = $topic['topic_url']; - $topic['topic_url' . $first_last] .= $this->gym_master->set_start('topic', $start) . $post_num; - // With the msg content - $last_message = ''; - if ($this->actions['rss_content'] && @$topic['post_id' . $first_last]) { - if ($topic['post_reported' . $first_last] == 1 || ! $topic['post_approved' . $first_last]) { - $last_message = $user->lang['RSS_REPORTED_UNAPPROVED']; - } else { - $last_message = $this->gym_master->prepare_for_output( $topic, $first_last); - } - } - // Profiles - $lastposter = $author = ''; - if ($this->module_config['rss_allow_profile'] && !empty($topic[$user_id_key]) ) { - if ($this->module_config['rss_display_author']) { - $author = $topic['topic_' . $profile_key . '_poster_name']; - } - $lastposter = "\n" . $user->lang['GYM_' . strtoupper($profile_key) . '_POST_BY'] . get_username_string($this->module_config['rss_profile_mode'], $topic[$user_id_key], $topic['topic_' . $profile_key . '_poster_name'], $topic['topic_' . $profile_key . '_poster_colour']); - } - $item_desc = $this->forum_cache[$forum_id]['forum_url_full'] . $last_message . "\n" . $topic_stats . $lastposter; - // DBK use topic time if news - $time_key = $this->actions['rss_news_list'] ? 'topic_time' : 'topic_last_post_time'; - $this->gym_master->parse_item($item_title, $item_desc, $topic['topic_url' . $first_last], $this->forum_cache[$forum_id]['forum_rss_url'], $this->forum_cache[$forum_id]['forum_name'] . $this->module_config['extra_title'], $topic[$time_key], $author); - } - }// End topic loop - // Used to separate query - $topic_sofar = $topic_sofar + $this->module_config['rss_sql_limit']; - $db->sql_freeresult($result); - unset($topic); - }// End Query limit loop - unset($forum_data, $this->forum_cache); - } -} -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/sources/.htaccess b/phpBB/gym_sitemaps/sources/.htaccess deleted file mode 100644 index 6511d09c92..0000000000 --- a/phpBB/gym_sitemaps/sources/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -<Limit GET POST PUT DELETE> -Order Allow,Deny -Deny from All -</Limit> diff --git a/phpBB/gym_sitemaps/sources/xml_google_external.php b/phpBB/gym_sitemaps/sources/xml_google_external.php deleted file mode 100644 index dcbfa6fde9..0000000000 --- a/phpBB/gym_sitemaps/sources/xml_google_external.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: xml_google_external.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -// First basic security -if ( !defined('IN_PHPBB') ) { - exit; -} -/** - * Please note : - * - * If you want to include here sitemaps from a different domain than - * the one used by GYM, you will have to declare it in the source domain's - * robots.txt. - * - * Example : - * - * www.host1.com with Sitemap file sitemap-host1.xml - * To include the sitemaps in GYM's one (http://www.sitemaphost.com/sitemap-host1.xml) - * you need to add : - * - * Sitemap: http://www.sitemaphost.com/sitemap-host1.xml - * - * In www.host1.com's robots.txt. - * - * Otherwise, the sitemap will be refused. - * - * http://www.sitemaps.org/protocol.php#sitemaps_cross_submits - */ -$external_setup = array( - // Pattern : name => url - // Each name must be unique and must not match an .xml file name (google_(name).xml) - // 'site-map_name' => 'http://www.example.com/sitemap.xml', -); -?>
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/style/gym_google.css b/phpBB/gym_sitemaps/style/gym_google.css deleted file mode 100644 index 80a32391a1..0000000000 --- a/phpBB/gym_sitemaps/style/gym_google.css +++ /dev/null @@ -1,1547 +0,0 @@ -/* phpBB 3.0 Style Sheet - -------------------------------------------------------------- - Style name: proSilver - Based on style: proSilver (this is the default phpBB 3 style) - Original author: subBlue ( http://www.subBlue.com/ ) - Modified by: dcz phpBB SEO ( www.phpbb-seo.com ) - - Copyright 2006 phpBB Group ( http://www.phpbb.com/ ) - -------------------------------------------------------------- -*/ - -/* General proSilver Markup Styles ----------------------------------------- */ - -* {/* Reset browsers default margin, padding and font sizes */ - margin: 0; - padding: 0; -} -html { font-size: 100%; - /* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */ - height: 100%; - margin-bottom: 1px; -} -body { /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */ - font-family: Verdana, Helvetica, Arial, sans-serif; - color: #828282; - background-color: #FFFFFF; - /*font-size: 62.5%; This sets the default font size to be equivalent to 10px */ - font-size: 10px; - margin: 10px; - padding: 12px 0; -} -h1 { /* Forum name */ - font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; - margin-right: 200px; - color: #FFFFFF; - margin-top: 15px; - font-weight: bold; - font-size: 2em; -} -h2 { /* Forum header titles */ - font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; - font-weight: normal; - color: #3f3f3f; - font-size: 2em; - margin: 0.8em 0 0.2em 0; -} -h2.solo { margin-bottom: 1em; } - -h3 { /* Sub-headers (also used as post headers, but defined later) */ - font-family: Arial, Helvetica, sans-serif; - font-weight: bold; - text-transform: uppercase; - border-bottom: 1px solid #CCCCCC; - margin-bottom: 3px; - padding-bottom: 2px; - font-size: 1.05em; - color: #989898; - margin-top: 20px; -} -h4 { /* Forum and topic list titles */ - font-family: "Trebuchet MS", Verdana, Helvetica, Arial, Sans-serif; - font-size: 1.3em; -} -h5 { font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; - float: right; - font-weight:bold; - font-size:16px; - color:#707070; - margin-top:1px; -} -p { line-height: 1.3em; - font-size: 1.1em; - margin-bottom: 1.5em; -} - -img { - border-width: 0; -} - -hr { /* Also see tweaks.css */ - border: 0 none #FFFFFF; - border-top: 1px solid #CCCCCC; - height: 1px; - margin: 5px 0; - display: block; - clear: both; -} -hr.dashed { border-top: 1px dashed #CCCCCC; - margin: 10px 0; -} -hr.divider { display: none;} -p.right { text-align: right;} - -/* Main blocks ----------------------------------------- */ -#simple-wrap { padding: 6px 10px; } -#page-body { margin: 4px 0; - clear: both; -} -#page-footer { clear: both; -} -#page-footer h3 { margin-top: 20px; -} -#logo { float: left; - width: auto; - padding: 10px 13px 0 10px; -} -a#logo:hover { text-decoration: none;} -/* Search box ---------------------------------------------- */ -#search-box { color: #FFFFFF; - position: relative; - margin-top: 30px; - margin-right: 5px; - display: block; - float: right; - text-align: right; - white-space: nowrap; /* For Opera */ -} -#search-box #keywords { width: 95px; - background-color: #FFF; -} -#search-box input { border: 1px solid #b0b0b0; -} -/* .button1 style defined later, just a few tweaks for the search button version */ -#search-box input.button1 { padding: 1px 5px;} -#search-box li { text-align: right; - margin-top: 4px; -} -#search-box img { - vertical-align: middle; - margin-right: 3px; -} -/* Site description and logo */ -#site-description { float: left; - width: 70%; -} - -#site-description h1 { margin-right: 0;} - -/* Round cornered boxes and backgrounds ----------------------------------------- */ -.headerbar { background: #ebebeb none repeat-x 0 0; - color: #FFFFFF; - margin-bottom: 4px; - padding: 0 5px; -} -.navbar { background-color: #ebebeb; - padding: 0 10px; -} -.forabg { background: #b1b1b1 none repeat-x 0 0; - margin-bottom: 4px; - padding: 0 5px; - clear: both; -} -.forumbg { background: #ebebeb none repeat-x 0 0; - margin-bottom: 4px; - padding: 0 5px; - clear: both; -} -.panel { margin-bottom: 4px; - padding: 0 10px; - background-color: #f3f3f3; - color: #3f3f3f; -} -.post { padding: 0 10px; - margin-bottom: 4px; - background-repeat: no-repeat; - background-position: 100% 0; -} -.post:target .content { color: #000000;} -.post:target h3 a { color: #000000;} -.bg1 { background-color: #f7f7f7;} -.bg2 { background-color: #f2f2f2; } -.bg3 { background-color: #ebebeb; } -.rowbg { margin: 5px 5px 2px 5px;} -.ucprowbg { background-color: #e2e2e2; } -.fieldsbg { /*border: 1px #DBDEE2 solid;*/ - background-color: #eaeaea; -} -span.corners-top, span.corners-bottom, span.corners-top span, span.corners-bottom span { - font-size: 1px; - line-height: 1px; - display: block; - height: 5px; - background-repeat: no-repeat; -} -span.corners-top { background-image: none; - background-position: 0 0; - margin: 0 -5px; -} -span.corners-top span { background-image: none; - background-position: 100% 0; -} -span.corners-bottom { background-image: none; - background-position: 0 100%; - margin: 0 -5px; - clear: both; -} -span.corners-bottom span { background-image: none;; - background-position: 100% 100%; -} -.headbg span.corners-bottom { margin-bottom: -1px; } -.post span.corners-top, .post span.corners-bottom, .panel span.corners-top, .panel span.corners-bottom, .navbar span.corners-top, .navbar span.corners-bottom { margin: 0 -10px; } -.rules span.corners-top { margin: 0 -10px 5px -10px;} -.rules span.corners-bottom { margin: 5px -10px 0 -10px;} -/* Horizontal lists -----------------------------------------*/ -ul.linklist { display: block; - margin: 0; -} -ul.linklist li { display: block; - list-style-type: none; - float: left; - width: auto; - margin-right: 5px; - font-size: 1.1em; - line-height: 2.2em; -} -ul.linklist li.rightside, p.rightside { float: right; - margin-right: 0; - margin-left: 5px; - text-align: right; -} -ul.navlinks { padding-bottom: 1px; - margin-bottom: 1px; - border-bottom: 1px solid #FFFFFF; - font-weight: bold; -} -ul.leftside { float: left; - margin-left: 0; - margin-right: 5px; - text-align: left; -} -ul.rightside { float: right; - margin-left: 5px; - margin-right: -5px; - text-align: right; -} -/* Misc layout styles ----------------------------------------- */ -dl.details { - /*font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;*/ - font-size: 1.1em; -} -dl.details dt { - float: left; - clear: left; - width: 15em; - text-align: right; - color: #000000; - display: block; -} -dl.details dd { - margin-left: 0; - padding-left: 5px; - margin-bottom: 5px; - color: #828282; - float: left; -} -/* Miscellaneous styles ----------------------------------------- */ -.copyright { padding: 5px; - text-align: center; - color: #555555; -} -div.rules { - background-color: #ececec; - color: #bcbcbc; - padding: 0 10px; - margin: 10px 0; - font-size: 1.1em; -} -div.rules ul { margin-left: 20px; } -p.rules { background-color: #ececec; - background-image: none; - padding: 5px; -} -p.rules img { vertical-align: middle; } -p.rules a { vertical-align: middle; - clear: both; -} -#top { position: absolute; - top: -20px; -} -/* proSilver Link Styles ----------------------------------------- */ -a:link { color: #898989; text-decoration: none; } -a:visited { color: #898989; text-decoration: none; } -a:hover { color: #d3d3d3; text-decoration: underline; } -a:active { color: #d2d2d2; text-decoration: none; } -/* Links on gradient backgrounds */ -#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link { - color: #FFFFFF; - text-decoration: none; -} -#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited { - color: #FFFFFF; - text-decoration: none; -} -#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover { - color: #ffffff; - text-decoration: underline; -} -#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active { - color: #ffffff; - text-decoration: none; -} -/* Links for forum/topic lists */ -a.forumtitle { font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif; - font-size: 1.2em; - font-weight: bold; - color: #898989; - text-decoration: none; -} -/* a.forumtitle:visited { color: #898989; } */ -a.forumtitle:hover { color: #bcbcbc; - text-decoration: underline; -} -a.forumtitle:active { color: #898989; } -a.topictitle { font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif; - font-size: 1.2em; - font-weight: bold; - color: #898989; - text-decoration: none; -} -/* a.topictitle:visited { color: #d2d2d2; } */ -a.topictitle:hover { color: #bcbcbc; - text-decoration: underline; -} -a.topictitle:active { - color: #898989; -} -/* Post body links */ -.postlink { text-decoration: none; - color: #d2d2d2; - border-bottom: 1px solid #d2d2d2; - padding-bottom: 0; -} -.postlink:visited { color: #bdbdbd; - border-bottom-style: dotted; - border-bottom-color: #666666; -} -.postlink:active { color: #d2d2d2; } -.postlink:hover { background-color: #f6f6f6; - text-decoration: none; - color: #404040; -} -.signature a, .signature a:visited, .signature a:active, .signature a:hover { - border: none; - text-decoration: underline; - background-color: transparent; -} -/* Profile links */ -.postprofile a:link, .postprofile a:active, .postprofile a:visited, .postprofile dt.author a { font-weight: bold; - color: #898989; - text-decoration: none; -} -.postprofile a:hover, .postprofile dt.author a:hover { text-decoration: underline; - color: #d3d3d3; -} -/* Profile searchresults */ -.search .postprofile a { color: #898989; - text-decoration: none; - font-weight: normal; -} -.search .postprofile a:hover { color: #d3d3d3; - text-decoration: underline; -} -/* Back to top of page */ -.back2top { clear: both; - height: 11px; - text-align: right; -} -a.top { background: none no-repeat top left; - text-decoration: none; - width: 11px; - height: 11px; - display: block; - float: right; - overflow: hidden; - letter-spacing: 1000px; - text-indent: 11px; -} -a.top2 { - background: none no-repeat 0 50%; - text-decoration: none; - padding-left: 15px; -} -/* Arrow links */ -a.up { background: none no-repeat left center; } -a.down { background: none no-repeat right center; } -a.left { background: none no-repeat 3px 60%; } -a.right { background: none no-repeat 95% 60%; } -a.up, a.up:link, a.up:active, a.up:visited { padding-left: 10px; - text-decoration: none; - border-bottom-width: 0; -} -a.up:hover { background-position: left top; - background-color: transparent; -} -a.down, a.down:link, a.down:active, a.down:visited { padding-right: 10px; } -a.down:hover { background-position: right bottom; - text-decoration: none; -} -a.left, a.left:active, a.left:visited { padding-left: 12px; } -a.left:hover { color: #d2d2d2; - text-decoration: none; - background-position: 0 60%; -} -a.right, a.right:active, a.right:visited { padding-right: 12px;} -a.right:hover { color: #d2d2d2; - text-decoration: none; - background-position: 100% 60%; -} -/* proSilver Content Styles ----------------------------------------- */ -ul.topiclist { display: block; - list-style-type: none; - margin: 0; -} -ul.forums { background: #f9f9f9 none repeat-x 0 0; -} -ul.topiclist li { display: block; - list-style-type: none; - color: #777777; - margin: 0; -} -ul.topiclist dl { position: relative;} -ul.topiclist li.row dl {padding: 2px 0;} -ul.topiclist dt {display: block; - float: left; - width: 50%; - font-size: 1.1em; - padding-left: 5px; - padding-right: 5px; -} -ul.topiclist dd { display: block; - float: left; - border-left: 1px solid #FFFFFF; - padding: 4px 0; -} -ul.topiclist dfn { /* Labels for post/view counts */ - display: none; -} - -ul.topiclist li.row dt a.subforum { background-image: none; - background-position: 0 50%; - background-repeat: no-repeat; - position: relative; - white-space: nowrap; - padding: 0 0 0 12px; -} -.forum-image { float: left; - padding-top: 5px; - margin-right: 5px; -} -li.row { border-top: 1px solid #FFFFFF; - border-bottom: 1px solid #8f8f8f; -} -li.row strong { font-weight: normal; - color: #000000; -} -li.row:hover { background-color: #f6f6f6; -} -li.row:hover dd { border-left-color: #CCCCCC; -} -li.header dt, li.header dd { line-height: 1em; - border-left-width: 0; - margin: 2px 0 4px 0; - color: #FFFFFF; - padding-top: 2px; - padding-bottom: 2px; - font-size: 1em; - font-family: Arial, Helvetica, sans-serif; - text-transform: uppercase; -} -li.header dt { font-weight: bold;} -li.header dd { margin-left: 1px;} -li.header dl.icon { min-height: 0;} -li.header dl.icon dt { /* Tweak for headers alignment when folder icon used */ - padding-left: 0; - padding-right: 44px; -} -/* Forum list column styles */ -dl.icon { min-height: 35px; - background-position: 10px 50%; /* Position of folder icon */ - background-repeat: no-repeat; -} -dl.icon dt { padding-left: 45px; /* Space for folder icon */ - background-repeat: no-repeat; - background-position: 5px 95%; /* Position of topic icon */ -} -dd.posts, dd.topics, dd.views { width: 8%; - text-align: center; - line-height: 2.2em; - font-size: 1.2em; -} -dd.lastpost { width: 25%; - font-size: 1.1em; -} -dd.redirect { font-size: 1.1em; - line-height: 2.5em; -} -dd.moderation { font-size: 1.1em; } -dd.lastpost span, ul.topiclist dd.searchby span, ul.topiclist dd.info span, ul.topiclist dd.time span, dd.redirect span, dd.moderation span { display: block; - padding-left: 5px; -} -dd.time { width: auto; - line-height: 200%; - font-size: 1.1em; -} -dd.extra { width: 65px; - line-height: 200%; - text-align: center; - font-size: 1.1em; -} -dd.mark { float: right !important; - width: 9%; - text-align: center; - line-height: 200%; - font-size: 1.2em; -} -dd.info { width: 30%; } -dd.option { width: 15%; - line-height: 200%; - text-align: center; - font-size: 1.1em; -} -dd.searchby { width: 47%; - font-size: 1.1em; - line-height: 1em; -} -ul.topiclist dd.searchextra { margin-left: 5px; - padding: 0.2em 0; - font-size: 1.1em; - color: #333333; - border-left: none; - clear: both; - width: 98%; - overflow: hidden; -} -/* Container for post/reply buttons and pagination */ -.topic-actions { margin-bottom: 3px; - font-size: 1.1em; - height: 28px; - min-height: 28px; -} -div[class].topic-actions { height: auto; } -/* Post body styles -----------------------------------------*/ -.postbody { padding: 0; - line-height: 1.48em; - color: #333333; - width: 76%; - float: left; - clear: both; -} -.postbody .ignore { font-size: 1.1em; } -.postbody h3.first { /* The first post on the page uses this */ - font-size: 1.7em; -} -.postbody h3 { /* Postbody requires a different h3 format - so change it here */ - font-size: 1.5em; - padding: 2px 0 0 0; - margin: 0 0 0.3em 0 !important; - text-transform: none; - border: none; - font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; - line-height: 125%; -} -.postbody h3 img { /* Also see tweaks.css */ - vertical-align: bottom; -} -.postbody .content { font-size: 1.3em; } -.search .postbody { width: 68% } -/* Content container styles -----------------------------------------*/ -.content { min-height: 3em; - overflow: hidden; - line-height: 1.4em; - font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; - font-size: 1em; - color: #333333; -} -.content h2, .panel h2 { font-weight: normal; - color: #989898; - border-bottom: 1px solid #CCCCCC; - font-size: 1.6em; - margin-top: 0.5em; - margin-bottom: 0.5em; - padding-bottom: 0.5em; -} -.panel h3 { margin: 0.5em 0; } -.panel p { font-size: 1.2em; - margin-bottom: 1em; - line-height: 1.4em; -} -.content p { font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; - font-size: 1.2em; - margin-bottom: 1em; - line-height: 1.4em; -} -dl.faq { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; - font-size: 1.1em; - margin-top: 1em; - margin-bottom: 2em; - line-height: 1.4em; -} -dl.faq dt { font-weight: bold; - color: #333333; -} -.content dl.faq { font-size: 1.2em; - margin-bottom: 0.5em; -} -.content li { list-style-type: inherit; } -.content ul, .content ol { margin-bottom: 1em; - margin-left: 3em; -} -.announce, .unreadpost { - /* Highlight the announcements & unread posts box */ - border-left-color: #BCBCBC; - border-right-color: #BCBCBC; -} -/* Post author */ -p.author { margin: 0 15em 0.6em 0; - padding: 0 0 5px 0; - font-family: Verdana, Helvetica, Arial, sans-serif; - font-size: 1em; - line-height: 1.2em; -} -/* Post signature */ -.signature { margin-top: 1.5em; - padding-top: 0.2em; - font-size: 1.1em; - border-top: 1px solid #CCCCCC; - clear: left; - line-height: 140%; - overflow: hidden; - width: 100%; -} -dd .signature { margin: 0; - padding: 0; - clear: none; - border: none; -} -/* Post noticies */ -.notice { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; - width: auto; - margin-top: 1.5em; - padding-top: 0.2em; - font-size: 1em; - border-top: 1px dashed #CCCCCC; - clear: left; - line-height: 130%; -} -/* Jump to post link for now */ -ul.searchresults { - list-style: none; - text-align: right; - clear: both; -} -/* BB Code styles -----------------------------------------*/ -/* Quote block */ -blockquote { - background: #ebebeb none 6px 8px no-repeat; - border: 1px solid #dbdbdb; - font-size: 0.95em; - margin: 0.5em 1px 0 25px; - overflow: hidden; - padding: 5px; -} -blockquote blockquote { /* Nested quotes */ - background-color: #bababa; - font-size: 1em; - margin: 0.5em 1px 0 15px; -} -blockquote blockquote blockquote { /* Nested quotes */ - background-color: #e4e4e4; -} -blockquote cite { /* Username/source of quoter */ - font-style: normal; - font-weight: bold; - margin-left: 20px; - display: block; - font-size: 0.9em; -} -blockquote cite cite { font-size: 1em; } -blockquote.uncited { padding-top: 25px; } -/* Code block */ -dl.codebox { - padding: 3px; - background-color: #FFFFFF; - border: 1px solid #d8d8d8; - font-size: 1em; -} -dl.codebox dt { text-transform: uppercase; - border-bottom: 1px solid #CCCCCC; - margin-bottom: 3px; - font-size: 0.8em; - font-weight: bold; - display: block; -} -blockquote dl.codebox { margin-left: 0; } -dl.codebox code { /* Also see tweaks.css */ - overflow: auto; - display: block; - height: auto; - max-height: 200px; - white-space: normal; - padding-top: 5px; - font: 0.9em Monaco, "Andale Mono","Courier New", Courier, mono; - line-height: 1.3em; - color: #8b8b8b; - margin: 2px 0; -} -.syntaxbg { color: #FFFFFF; } -.syntaxcomment { color: #000000; } -.syntaxdefault { color: #bcbcbc; } -.syntaxhtml { color: #000000; } -.syntaxkeyword { color: #585858; } -.syntaxstring { color: #a7a7a7; } -/* Attachments -----------------------------------------*/ -.attachbox { float: left; - width: auto; - margin: 5px 5px 5px 0; - padding: 6px; - background-color: #FFFFFF; - border: 1px dashed #d8d8d8; - clear: left; -} -.pm-message .attachbox { background-color: #f3f3f3; } -.attachbox dt { font-family: Arial, Helvetica, sans-serif; - text-transform: uppercase; -} -.attachbox dd { margin-top: 4px; - padding-top: 4px; - clear: left; - border-top: 1px solid #d8d8d8; -} -.attachbox dd dd { border: none; } -.attachbox p { line-height: 110%; - color: #666666; - font-weight: normal; - clear: left; -} -.attachbox p.stats { line-height: 110%; - color: #666666; - font-weight: normal; - clear: left; -} -.attach-image { margin: 3px 0; - width: 100%; - max-height: 350px; - overflow: auto; -} -.attach-image img { border: 1px solid #999999; -/* cursor: move; */ - cursor: default; -} -/* Inline image thumbnails */ -div.inline-attachment dl.thumbnail, div.inline-attachment dl.file { display: block; - margin-bottom: 4px; -} -div.inline-attachment p { font-size: 100%; } -dl.file { font-family: Verdana, Arial, Helvetica, sans-serif; - display: block; -} -dl.file dt { text-transform: none; - margin: 0; - padding: 0; - font-weight: bold; - font-family: Verdana, Arial, Helvetica, sans-serif; -} -dl.file dd { color: #666666; - margin: 0; - padding: 0; -} -dl.thumbnail img { padding: 3px; - border: 1px solid #666666; - display: block; - background-color: #FFF; -} -dl.thumbnail dd { color: #666666; - font-style: italic; - font-family: Verdana, Arial, Helvetica, sans-serif; -} -.attachbox dl.thumbnail dd { font-size: 100%; } -dl.thumbnail dt a:hover { background-color: #EEEEEE;} -dl.thumbnail dt a:hover img { border: 1px solid #d2d2d2; } -/* Post poll styles -----------------------------------------*/ -fieldset.polls { font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; } -fieldset.polls dl { margin-top: 5px; - border-top: 1px solid #e2e2e2; - padding: 5px 0 0 0; - line-height: 120%; - color: #666666; -} -fieldset.polls dl.voted { font-weight: bold; - color: #000000; -} -fieldset.polls dt { text-align: left; - float: left; - display: block; - width: 30%; - border-right: none; - padding: 0; - margin: 0; - font-size: 1.1em; -} -fieldset.polls dd { float: left; - width: 10%; - border-left: none; - padding: 0 5px; - margin-left: 0; - font-size: 1.1em; -} -fieldset.polls dd.resultbar { width: 50%;} -fieldset.polls dd input { margin: 2px 0; } -fieldset.polls dd div { text-align: right; - font-family: Arial, Helvetica, sans-serif; - color: #FFFFFF; - font-weight: bold; - padding: 0 2px; - overflow: visible; - min-width: 2%; -} -.pollbar1 { background-color: #aaaaaa; - border-bottom: 1px solid #747474; - border-right: 1px solid #747474; -} -.pollbar2 { background-color: #bebebe; - border-bottom: 1px solid #8c8c8c; - border-right: 1px solid #8c8c8c; -} -.pollbar3 { background-color: #D1D1D1; - border-bottom: 1px solid #aaaaaa; - border-right: 1px solid #aaaaaa; -} -.pollbar4 { background-color: #e4e4e4; - border-bottom: 1px solid #bebebe; - border-right: 1px solid #bebebe; -} -.pollbar5 { background-color: #f8f8f8; - border-bottom: 1px solid #D1D1D1; - border-right: 1px solid #D1D1D1; -} -/* Poster profile block -----------------------------------------*/ -.postprofile { /* Also see tweaks.css */ - margin: 5px 0 10px 0; - min-height: 80px; - color: #666666; - border-left: 1px solid #FFFFFF; - width: 22%; - float: right; - display: inline; -} -.pm .postprofile { border-left: 1px solid #DDDDDD; } -.postprofile dd, .postprofile dt { line-height: 1.2em; - margin-left: 8px; -} -.postprofile strong {font-weight: normal; - color: #000000; -} -.avatar { border: none; - margin-bottom: 3px; -} -.online { background-image: none; - background-position: 100% 0; - background-repeat: no-repeat; -} -/* Poster profile used by search*/ -.search .postprofile { width: 30%;} -/* pm list in compose message if mass pm is enabled */ -dl.pmlist dt { width: 60% !important;} -dl.pmlist dt textarea { width: 95%;} -dl.pmlist dd { margin-left: 61% !important; - margin-bottom: 2px; -} -/* proSilver Button Styles ----------------------------------------- */ -/* Rollover buttons - Based on: http://wellstyled.com/css-nopreload-rollovers.html -----------------------------------------*/ -.buttons { float: left; - width: auto; - height: auto; -} -/* Rollover state */ -.buttons div { float: left; - margin: 0 5px 0 0; - background-position: 0 100%; -} -/* Rolloff state */ -.buttons div a { display: block; - width: 100%; - height: 100%; - background-position: 0 0; -} -/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */ -.buttons div span { display: none; } -.buttons div a:hover { background-image: none; } -/* Big button images */ -.reply-icon, .reply-icon a { background: transparent none 0 0 no-repeat; } -.post-icon, .post-icon a { background: transparent none 0 0 no-repeat; } -.locked-icon, .locked-icon a { background: transparent none 0 0 no-repeat; } -.pmreply-icon, .pmreply-icon a { background: none 0 0 no-repeat; } -.newpm-icon, .newpm-icon a { background: none 0 0 no-repeat; } -.forwardpm-icon, .forwardpm-icon a { background: none 0 0 no-repeat; } -/* Set big button dimensions */ -.buttons div.reply-icon { width: 96px; height: 25px; } -.buttons div.post-icon { width: 96px; height: 25px; } -.buttons div.locked-icon { width: 96px; height: 25px; } -.buttons div.pmreply-icon { width: 96px; height: 25px; } -.buttons div.newpm-icon { width: 96px; height: 25px; } -.buttons div.forwardpm-icon { width: 110px; height: 25px; } -/* Sub-header (navigation bar) ---------------------------------------------- */ -a.print, a.sendemail, a.fontsize { display: block; - overflow: hidden; - height: 18px; - text-indent: -5000px; - text-align: left; - background-repeat: no-repeat; -} -a.fontsize { background-image: none; - background-position: 0 -1px; - width: 29px; -} -a.fontsize:hover { background-position: 0 -20px; - text-decoration: none; -} -/* Icon images ----------------------------------------- */ -.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout, -.icon-bookmark, .icon-bump, .icon-subscribe, .icon-unsubscribe, .icon-pages, .icon-search { - background-position: 0 50%; - background-repeat: no-repeat; - background-image: none; - padding: 1px 0 0 17px; -} -/* Poster profile icons -----------------------------------------*/ -ul.profile-icons { padding-top: 10px; - list-style: none; -} -/* Rollover state */ -ul.profile-icons li { float: left; - margin: 0 6px 3px 0; - background-position: 0 100%; -} -/* Rolloff state */ -ul.profile-icons li a { display: block; - width: 100%; - height: 100%; - background-position: 0 0; -} -/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */ -ul.profile-icons li span { display:none; } -ul.profile-icons li a:hover { background: none; } -/* Positioning of moderator icons */ -.postbody ul.profile-icons { float: right; - width: auto; - padding: 0; -} -.postbody ul.profile-icons li { margin: 0 3px;} -/* Profile & navigation icons */ -.email-icon, .email-icon a { background: none top left no-repeat; } -.aim-icon, .aim-icon a { background: none top left no-repeat; } -.yahoo-icon, .yahoo-icon a { background: none top left no-repeat; } -.web-icon, .web-icon a { background: none top left no-repeat; } -.msnm-icon, .msnm-icon a { background: none top left no-repeat; } -.icq-icon, .icq-icon a { background: none top left no-repeat; } -.jabber-icon, .jabber-icon a { background: none top left no-repeat; } -.pm-icon, .pm-icon a { background: none top left no-repeat; } -.quote-icon, .quote-icon a { background: none top left no-repeat; } -/* Moderator icons */ -.report-icon, .report-icon a { background: none top left no-repeat; } -.warn-icon, .warn-icon a { background: none top left no-repeat; } -.edit-icon, .edit-icon a { background: none top left no-repeat; } -.delete-icon, .delete-icon a { background: none top left no-repeat; } -.info-icon, .info-icon a { background: none top left no-repeat; } -/* Set profile icon dimensions */ -ul.profile-icons li.email-icon { width: 20px; height: 20px; } -ul.profile-icons li.aim-icon { width: 20px; height: 20px; } -ul.profile-icons li.yahoo-icon { width: 20px; height: 20px; } -ul.profile-icons li.web-icon { width: 20px; height: 20px; } -ul.profile-icons li.msnm-icon { width: 20px; height: 20px; } -ul.profile-icons li.icq-icon { width: 20px; height: 20px; } -ul.profile-icons li.jabber-icon { width: 20px; height: 20px; } -ul.profile-icons li.pm-icon { width: 28px; height: 20px; } -ul.profile-icons li.quote-icon { width: 54px; height: 20px; } -ul.profile-icons li.report-icon { width: 20px; height: 20px; } -ul.profile-icons li.edit-icon { width: 58px; height: 20px; } -ul.profile-icons li.delete-icon { width: 20px; height: 20px; } -ul.profile-icons li.info-icon { width: 20px; height: 20px; } -ul.profile-icons li.warn-icon { width: 20px; height: 20px; } -/* Fix profile icon default margins */ -ul.profile-icons li.edit-icon { margin: 0 0 0 3px; } -ul.profile-icons li.quote-icon { margin: 0 0 0 10px; } -ul.profile-icons li.info-icon, ul.profile-icons li.report-icon { margin: 0 3px 0 0; } -/* proSilver Form Styles ----------------------------------------- */ -/* General form styles -----------------------------------------*/ -fieldset { border-width: 0; - font-family: Verdana, Helvetica, Arial, sans-serif; - font-size: 1.1em; -} -input { font-weight: normal; - cursor: pointer; - vertical-align: middle; - padding: 0 3px; - font-size: 1em; - font-family: Verdana, Helvetica, Arial, sans-serif; -} -select {font-family: Verdana, Helvetica, Arial, sans-serif; - font-weight: normal; - cursor: pointer; - vertical-align: middle; - border: 1px solid #666666; - padding: 1px; - background-color: #FAFAFA; -} -option { padding-right: 1em; } -option.disabled-option { color: graytext; } -textarea { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; - width: 60%; - padding: 2px; - font-size: 1em; - line-height: 1.4em; -} -label { cursor: default; - padding-right: 5px; - color: #676767; -} -label input { vertical-align: middle;} -label img { vertical-align: middle;} -/* Definition list layout for forms ----------------------------------------- */ -fieldset dl { padding: 4px 0;} -fieldset dt { float: left; - width: 40%; - text-align: left; - display: block; -} -fieldset dd { margin-left: 41%; - vertical-align: top; - margin-bottom: 3px; -} -/* Specific layout 1 */ -fieldset.fields1 dt { width: 15em; - border-right-width: 0; -} -fieldset.fields1 dd { margin-left: 15em; - border-left-width: 0; -} -fieldset.fields1 { background-color: transparent; } -fieldset.fields1 div { margin-bottom: 3px; } -/* Specific layout 2 */ -fieldset.fields2 dt { width: 15em; - border-right-width: 0; -} -fieldset.fields2 dd { margin-left: 16em; - border-left-width: 0; -} -/* Form elements */ -dt label { font-weight: bold; - text-align: left; -} -dd label { white-space: nowrap; - color: #333; -} -dd input, dd textarea { margin-right: 3px; } -dd select { width: auto; } -dd textarea { width: 85%; } -/* Hover effects */ -fieldset dl:hover dt label {color: #000000;} -fieldset.fields2 dl:hover dt label { color: inherit;} -/* Submit button fieldset */ -fieldset.submit-buttons { text-align: center; - vertical-align: middle; - margin: 5px 0; -} -fieldset.submit-buttons input { vertical-align: middle; - padding-top: 3px; - padding-bottom: 3px; -} -/* Input field styles ----------------------------------------- */ -.inputbox { background-color: #FFFFFF; - border: 1px solid #c0c0c0; - color: #333333; - padding: 2px; - cursor: text; -} -.inputbox:hover { border: 1px solid #eaeaea;} -.inputbox:focus { border: 1px solid #eaeaea; - color: #4b4b4b; -} -input.inputbox { width: 85%; } -input.medium { width: 50%; } -input.narrow { width: 25%; } -input.tiny { width: 125px; } -textarea.inputbox { width: 85%; } -.autowidth {width: auto !important;} -/* Form button styles ----------------------------------------- */ -input.button1, input.button2 {font-size: 1em;} -a.button1, input.button1, input.button3, a.button2, input.button2 { - width: auto !important; - padding-top: 1px; - padding-bottom: 1px; - font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; - color: #000; - background: #FAFAFA none repeat-x top; -} -a.button1, input.button1 {font-weight: bold; - border: 1px solid #666666; -} -input.button3 {padding: 0; - margin: 0; - line-height: 5px; - height: 12px; - background-image: none; - font-variant: small-caps; -} -/* Alternative button */ -a.button2, input.button2, input.button3 {border: 1px solid #666666;} -/* <a> button in the style of the form buttons */ -a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active { - text-decoration: none; - color: #000000; - padding: 2px 8px; - line-height: 250%; - vertical-align: text-bottom; - background-position: 0 1px; -} -/* Hover states */ -a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover { - border: 1px solid #BCBCBC; - background-position: 0 100%; - color: #BCBCBC; -} - -/* Topic and forum Search */ -.search-box {margin-top: 3px; - margin-left: 5px; - float: left; -} -.search-box input { -} -input.search {background-image: none; - background-repeat: no-repeat; - background-position: left 1px; - padding-left: 17px; -} -/* proSilver Style Sheet Tweaks -These style definitions are mainly IE specific -tweaks required due to its poor CSS support. --------------------------------------------------*/ -* html table, * html select, * html input { font-size: 100%; } -* html hr { margin: 0; } -* html span.corners-top, * html span.corners-bottom { background-image: url("{T_IMAGE_PATH}corners_left.gif"); } -* html span.corners-top span, * html span.corners-bottom span { background-image: url("{T_IMAGE_PATH}corners_right.gif"); } -table.table1 {width: 99%; /* IE < 6 browsers */ - /* Tantek hack */ - voice-family: "\"}\""; - voice-family: inherit; - width: 100%; -} -html>body table.table1 { width: 100%; } /* Reset 100% for opera */ -* html ul.topiclist li { position: relative; } -* html .postbody h3 img { vertical-align: middle; } -/* Form styles */ -html>body dd label input { vertical-align: text-bottom; } /* Align checkboxes/radio buttons nicely */ -* html input.button1, * html input.button2 { - padding-bottom: 0; - margin-bottom: 1px; -} -/* Misc layout styles */ -* html .column1, * html .column2 { width: 45%; } -/* Nice method for clearing floated blocks without having to insert any extra markup (like spacer above) - From http://www.positioniseverything.net/easyclearing.html -#tabs:after, #minitabs:after, .post:after, .navbar:after, fieldset dl:after, ul.topiclist dl:after, ul.linklist:after, dl.polls:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -}*/ -.clearfix, #tabs, #minitabs, .post, .navbar, fieldset dl, ul.topiclist dl, ul.linklist, dl.polls { - height: 1%; - overflow: hidden; -} -/* Simple fix so forum and topic lists always have a min-height set, even in IE6 - From http://www.dustindiaz.com/min-height-fast-hack */ -dl.icon { min-height: 35px; - height: auto !important; - height: 35px; -} -* html #search-box { - margin-right: 35px; -} -/* Correctly clear floating for details on profile view */ -*:first-child+html dl.details dd { margin-left: 15em; - float: none; -} -* html dl.details dd { margin-left: 15em; - float: none; -} -/* --------------------------------------------------------------- -Colours and backgrounds for common.css --------------------------------------------------------------- */ -html, body { color: #536482; - background-color: #FFFFFF; -} -h1 { color: #FFFFFF;} -h2 {color: #28313F;} -h3 {border-bottom-color: #CCCCCC; - color: #115098; -} -hr {border-color: #FFFFFF; - border-top-color: #CCCCCC; -} -hr.dashed {border-top-color: #CCCCCC;} -/* Search box ---------------------------------------------- */ -#search-box {color: #FFFFFF;} -#search-box #keywords {background-color: #FFF;} -#search-box input {border-color: #0075B0;} -/* Round cornered boxes and backgrounds ----------------------------------------- */ -.headerbar {background-color: #12A3EB; - background-image: url("{T_IMAGE_PATH}bg_header.gif"); - color: #FFFFFF; -} -.navbar {background-color: #cadceb;} -.forabg {background-color: #0076b1; - background-image: url("{T_IMAGE_PATH}bg_list.gif"); -} -.forumbg {background-color: #12A3EB; - background-image: url("{T_IMAGE_PATH}bg_header.gif"); -} -.panel {background-color: #ECF1F3; - color: #28313F; -} -.post:target .content {color: #000000;} -.post:target h3 a {color: #000000;} -.bg1 { background-color: #ECF3F7; } -.bg2 { background-color: #e1ebf2; } -.bg3 { background-color: #cadceb; } -.ucprowbg {background-color: #DCDEE2;} -.fieldsbg {background-color: #E7E8EA;} -span.corners-top {background-image: url("{T_IMAGE_PATH}corners_left.png");} -span.corners-top span {background-image: url("{T_IMAGE_PATH}corners_right.png");} -span.corners-bottom {background-image: url("{T_IMAGE_PATH}corners_left.png");} -span.corners-bottom span {background-image: url("{T_IMAGE_PATH}corners_right.png");} -/* Horizontal lists -----------------------------------------*/ -ul.navlinks {border-bottom-color: #FFFFFF;} -/* Misc layout styles ----------------------------------------- */ -dl.details dt { - color: #000000; -} - -dl.details dd { - color: #536482; -} - -.sep { - color: #1198D9; -} -/* Miscellaneous styles ----------------------------------------- */ -.copyright {color: #555555;} -.error {color: #BC2A4D;} -.reported {background-color: #F7ECEF;} -li.reported:hover {background-color: #ECD5D8 !important;} -.sticky, .announce {/* you can add a background for stickies and announcements*/} -div.rules {background-color: #ECD5D8; - color: #BC2A4D; -} -p.rules {background-color: #ECD5D8; - background-image: none; -} -/* --------------------------------------------------------------- -Colours and backgrounds for links.css --------------------------------------------------------------- */ -a:link { color: #105289; } -a:visited { color: #105289; } -a:hover { color: #D31141; } -a:active { color: #368AD2; } -/* Links on gradient backgrounds */ -#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link {color: #FFFFFF;} -#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited {color: #FFFFFF;} -#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover {color: #A8D8FF;} -#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active {color: #C8E6FF;} -/* Links for forum/topic lists */ -a.forumtitle {color: #105289;} -/* a.forumtitle:visited { color: #105289; } */ -a.forumtitle:hover {color: #BC2A4D;} -a.forumtitle:active {color: #105289;} -a.topictitle {color: #105289;} -/* a.topictitle:visited { color: #368AD2; } */ -a.topictitle:hover {color: #BC2A4D;} -a.topictitle:active {color: #105289;} -/* Post body links */ -.postlink {color: #368AD2; - border-bottom-color: #368AD2; -} -.postlink:visited {color: #5D8FBD; - border-bottom-color: #666666; -} -.postlink:active {color: #368AD2;} -.postlink:hover {background-color: #D0E4F6; - color: #0D4473; -} -.signature a, .signature a:visited, .signature a:active, .signature a:hover {background-color: transparent;} -/* Profile links */ -.postprofile a:link, .postprofile a:active, .postprofile a:visited, .postprofile dt.author a {color: #105289;} -.postprofile a:hover, .postprofile dt.author a:hover {color: #D31141;} -/* Profile searchresults */ -.search .postprofile a {color: #105289;} -.search .postprofile a:hover {color: #D31141;} -/* Back to top of page */ -a.top {background-image: url("{T_IMAGE_PATH}icon_back_top.gif");} -a.top2 {background-image: url("{T_IMAGE_PATH}icon_back_top.gif");} -/* Arrow links */ -a.up { background-image: url("{T_IMAGE_PATH}arrow_up.gif") } -a.down { background-image: url("{T_IMAGE_PATH}arrow_down.gif") } -a.left { background-image: url("{T_IMAGE_PATH}arrow_left.gif") } -a.right { background-image: url("{T_IMAGE_PATH}arrow_right.gif") } -a.up:hover {background-color: transparent;} -a.left:hover {color: #368AD2;} -a.right:hover {color: #368AD2;} -/* --------------------------------------------------------------- -Colours and backgrounds for content.css --------------------------------------------------------------- */ -ul.forums {background-color: #eef5f9; - background-image: url("{T_IMAGE_PATH}gradient.gif"); -} -ul.topiclist li {color: #4C5D77;} -ul.topiclist dd {border-left-color: #FFFFFF;} -.rtl ul.topiclist dd {border-right-color: #fff; - border-left-color: transparent; -} -ul.topiclist li.row dt a.subforum.read {background-image: url("{T_IMAGE_PATH}subforum_read.gif");} -ul.topiclist li.row dt a.subforum.unread {background-image: url("{T_IMAGE_PATH}subforum_unread.gif");} -li.row {border-top-color: #FFFFFF; - border-bottom-color: #00608F; -} -li.row strong {color: #000000;} -li.row:hover {background-color: #F6F4D0;} -li.row:hover dd {border-left-color: #CCCCCC;} -.rtl li.row:hover dd {border-right-color: #CCCCCC; - border-left-color: transparent; -} -li.header dt, li.header dd {color: #FFFFFF;} -/* Forum list column styles */ -ul.topiclist dd.searchextra {color: #333333;} -/* Post body styles -----------------------------------------*/ -.postbody {color: #333333;} -/* Content container styles -----------------------------------------*/ -.content {color: #333333;} -.content h2, .panel h2 {color: #115098; - border-bottom-color: #CCCCCC; -} -dl.faq dt {color: #333333;} -.posthilit {background-color: #F3BFCC; - color: #BC2A4D; -} -/* Post signature */ -.signature {border-top-color: #CCCCCC;} -/* Post noticies */ -.notice {border-top-color: #CCCCCC;} -/* BB Code styles -----------------------------------------*/ -/* Quote block */ -blockquote {background-color: #EBEADD; - background-image: url("{T_IMAGE_PATH}quote.gif"); - border-color:#DBDBCE; -} -blockquote blockquote {/* Nested quotes */ - background-color:#EFEED9; -} -blockquote blockquote blockquote {/* Nested quotes */ - background-color: #EBEADD; -} -/* Code block */ -dl.codebox {background-color: #FFFFFF; - border-color: #C9D2D8; -} -dl.codebox dt {border-bottom-color: #CCCCCC; -} -dl.codebox code {color: #2E8B57;} -.syntaxbg { color: #FFFFFF; } -.syntaxcomment { color: #FF8000; } -.syntaxdefault { color: #0000BB; } -.syntaxhtml { color: #000000; } -.syntaxkeyword { color: #007700; } -.syntaxstring { color: #DD0000; } -/* Attachments -----------------------------------------*/ -.attachbox {background-color: #FFFFFF; - border-color: #C9D2D8; -} -.pm-message .attachbox {background-color: #F2F3F3;} -.attachbox dd {border-top-color: #C9D2D8;} -.attachbox p {color: #666666;} -.attachbox p.stats {color: #666666;} -.attach-image img {border-color: #999999;} -/* Inline image thumbnails */ -dl.file dd {color: #666666;} -dl.thumbnail img {border-color: #666666; - background-color: #FFFFFF; -} -dl.thumbnail dd {color: #666666;} -dl.thumbnail dt a:hover {background-color: #EEEEEE;} -dl.thumbnail dt a:hover img {border-color: #368AD2;} -/* Post poll styles -----------------------------------------*/ -fieldset.polls dl {border-top-color: #DCDEE2; - color: #666666; -} -fieldset.polls dl.voted {color: #000000; -} -fieldset.polls dd div {color: #FFFFFF; -} -.rtl .pollbar1, .rtl .pollbar2, .rtl .pollbar3, .rtl .pollbar4, .rtl .pollbar5 {border-right-color: transparent; -} -.pollbar1 {background-color: #AA2346; - border-bottom-color: #74162C; - border-right-color: #74162C; -} -.rtl .pollbar1 {border-left-color: #74162C;} -.pollbar2 {background-color: #BE1E4A; - border-bottom-color: #8C1C38; - border-right-color: #8C1C38; -} -.rtl .pollbar2 {border-left-color: #8C1C38;} -.pollbar3 {background-color: #D11A4E; - border-bottom-color: #AA2346; - border-right-color: #AA2346; -} -.rtl .pollbar3 {border-left-color: #AA2346;} -.pollbar4 {background-color: #E41653; - border-bottom-color: #BE1E4A; - border-right-color: #BE1E4A; -} -.rtl .pollbar4 {border-left-color: #BE1E4A;} -.pollbar5 {background-color: #F81157; - border-bottom-color: #D11A4E; - border-right-color: #D11A4E; -} -.rtl .pollbar5 {border-left-color: #D11A4E;} -/* Poster profile block -----------------------------------------*/ -.postprofile {color: #666666; - border-left-color: #FFFFFF; -} -.rtl .postprofile {border-right-color: #FFFFFF; - border-left-color: transparent; -} -.pm .postprofile {border-left-color: #DDDDDD;} -.rtl .pm .postprofile {border-right-color: #DDDDDD; - border-left-color: transparent; -} -.postprofile strong {color: #000000;} -.online {background-image: url("./styles/prosilver/imageset/fr/icon_user_online.gif");} -/* --------------------------------------------------------------- -Colours and backgrounds for buttons.css --------------------------------------------------------------- */ -a.fontsize {background-image: url("{T_IMAGE_PATH}icon_fontsize.gif");} -/* Icon images ----------------------------------------- */ -.sitehome { background-image: url("{T_IMAGE_PATH}icon_home.gif"); } -.icon-faq { background-image: url("{T_IMAGE_PATH}icon_faq.gif"); } -.icon-ucp { background-image: url("{T_IMAGE_PATH}sitemap-icon.gif"); } -.icon-members { background-image: url("{T_IMAGE_PATH}icon_members.gif"); } -.icon-home { background-image: url("{T_IMAGE_PATH}icon_home.gif"); } -.icon-register { background-image: url("{T_IMAGE_PATH}icon_register.gif"); } -.icon-logout { background-image: url("{T_IMAGE_PATH}icon_logout.gif"); } -.icon-bookmark { background-image: url("{T_IMAGE_PATH}icon_bookmark.gif"); } -.icon-subscribe { background-image: url("{T_IMAGE_PATH}icon_subscribe.gif"); } -.icon-search { background-image: url("{T_IMAGE_PATH}icon_search.gif"); } -/* --------------------------------------------------------------- -Colours and backgrounds for forms.css --------------------------------------------------------------- */ -/* General form styles -----------------------------------------*/ -select {border-color: #666666; - background-color: #FAFAFA; -} -label {color: #425067;} -option.disabled-option {color: graytext;} -/* Definition list layout for forms ----------------------------------------- */ -dd label {color: #333;} -/* Hover effects */ -fieldset dl:hover dt label {color: #000000;} -fieldset.fields2 dl:hover dt label {color: inherit;} -/* Quick-login on index page */ -fieldset.quick-login input.inputbox {background-color: #F2F3F3;} -/* Input field styles ----------------------------------------- */ -.inputbox {background-color: #FFFFFF; - border-color: #B4BAC0; - color: #333333; -} -.inputbox:hover {border-color: #11A3EA;} -.inputbox:focus {border-color: #11A3EA; - color: #0F4987; -} -/* Form button styles ----------------------------------------- */ -a.button1, input.button1, input.button3, a.button2, input.button2 {color: #000; - background-color: #FAFAFA; - background-image: url("{T_IMAGE_PATH}bg_button.gif"); -} -a.button1, input.button1 {border-color: #666666;} -input.button3 {background-image: none;} -/* Alternative button */ -a.button2, input.button2, input.button3 {border-color: #666666;} -/* <a> button in the style of the form buttons */ -a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active {color: #000000;} -/* Hover states */ -a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {border-color: #BC2A4D; - color: #BC2A4D; -} -input.search {background-image: url("{T_IMAGE_PATH}icon_textbox_search.gif");} -#wrap { - padding: 0 20px; -} diff --git a/phpBB/gym_sitemaps/style/gym_google.xsl b/phpBB/gym_sitemaps/style/gym_google.xsl deleted file mode 100644 index c453ca3d65..0000000000 --- a/phpBB/gym_sitemaps/style/gym_google.xsl +++ /dev/null @@ -1,238 +0,0 @@ -<xsl:stylesheet version="2.0" - xmlns:html="http://www.w3.org/TR/REC-html40" - xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="html" - version="1.0" - encoding="utf-8" - omit-xml-declaration="yes" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" - indent="yes" /> - -<!-- Root template --> -<xsl:template match="/"> - <!-- Store in $fileType if we are in a sitemap or in a SitemapIndex --> - <xsl:variable name="fileType"> - <xsl:choose> - <xsl:when test="//sitemap:url">Sitemap</xsl:when> - <xsl:otherwise>SitemapIndex</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="browser"> - <xsl:choose><xsl:when test="system-property('xsl:vendor')='Transformiix'">mozilla</xsl:when> - <xsl:otherwise>other</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="sorting"> - <xsl:choose><xsl:when test="$browser='mozilla'">descending</xsl:when> - <xsl:otherwise>ascending</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="home_link">{ROOT_URL}</xsl:variable> - - <xsl:variable name="sitemap_url"> - <xsl:choose> - <xsl:when test="$fileType='Sitemap'"><xsl:call-template name="http"><xsl:with-param name="input" select="sitemap:urlset/sitemap:url/sitemap:loc" /></xsl:call-template></xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="sitemap_title"> - <xsl:choose> - <xsl:when test="$fileType='Sitemap'"><xsl:value-of select="substring-after($sitemap_url, '{ROOT_URL}')"/></xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> -<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> -<head> - <base href="{PHPBB_URL}"/> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <title><xsl:choose> - <xsl:when test="$fileType='Sitemap'">{L_SITEMAP} : <xsl:value-of select="$sitemap_title"/></xsl:when> - <xsl:otherwise>{L_SITEMAPINDEX}</xsl:otherwise> - </xsl:choose></title> - <link rel="stylesheet" href="{T_CSS_PATH}" type="text/css" media="screen, projection"/> - <link href="{T_STYLE_PATH}normal.css" rel="stylesheet" type="text/css" title="A" /> - <link href="{T_STYLE_PATH}medium.css" rel="alternate stylesheet" type="text/css" title="A+" /> - <link href="{T_STYLE_PATH}large.css" rel="alternate stylesheet" type="text/css" title="A++" /> - <script type="text/javascript" src="{T_STYLE_PATH}gym_js.js"></script> -</head> - <!-- Body --> -<body id="phpbb"> -<!-- - GYM Sitemaps and RSS XSLTransform - (C) phpBB SEO - http://www.phpbb-seo.com/ ---> - <div id="wrap"> - <a id="top" name="top" accesskey="t"></a> - <div id="page-header"> - <div class="headerbar"> - <div class="inner"><span class="corners-top"><span></span></span> - <div id="site-description"><a href="{$home_link}" title="{L_HOME}" id="logo"><img src="{T_IMAGE_PATH}site_logo.gif" alt="{SITENAME}" /></a> - <h1>{SITENAME}</h1> - <p>{SITE_DESCRIPTION}</p> - <p style="display: none;"><a href="#start_here">{L_SKIP}</a></p> - </div> - <div id="search-box"> - <form action="{PHPBB_URL}search.php" method="post" id="search"> - <fieldset> - <input name="keywords" id="keywords" type="text" maxlength="128" title="" class="inputbox search" value="" /> - <input class="button2" value="{L_SEARCH}" type="submit" /><br /> - <a href="{PHPBB_URL}search.php" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> - </fieldset> - </form> - </div> - <span class="corners-bottom"><span></span></span> - </div> - </div> - <div class="navbar"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="linklist navlinks"> - <li class="icon-home"> - <a href="{$home_link}" accesskey="h">{L_HOME}</a> - <xsl:if test="$home_link != '{PHPBB_URL}'"> <strong>‹</strong> <a href="{PHPBB_URL}">{L_FORUM_INDEX}</a></xsl:if> - <xsl:if test="$fileType='Sitemap'"> - <xsl:if test="'{PHPBB_URL}' != $sitemap_url"> <strong>‹</strong> <a href="{$sitemap_url}"><xsl:value-of select="$sitemap_title"/></a></xsl:if> - </xsl:if> - </li> - <li class="rightside"><a href="#" onclick="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li> - </ul> - <ul class="linklist leftside"> - <li class="icon-ucp"> - <xsl:choose> - <xsl:when test="$fileType='Sitemap'">{L_SITEMAP_OF} : <a href="{$sitemap_url}"><xsl:value-of select="$sitemap_title"/></a></xsl:when> - <xsl:otherwise>{L_SITEMAPINDEX}</xsl:otherwise> - </xsl:choose> - </li> - </ul> - <ul class="linklist rightside"> - <li class="icon-faq"><a href="{PHPBB_URL}faq.php" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li> - <li class="icon-register"><a href="{PHPBB_URL}ucp.php?mode=register">{L_REGISTER}</a></li> - </ul> - <span class="corners-bottom"><span></span></span> - </div> - </div> - </div> - <a name="start_here"></a> - <div id="page-body"><br /> - <div class="clear"></div> - <div class="post bg3"> - <div class="inner"><span class="corners-top"><span></span></span> - <xsl:choose> - <xsl:when test="$fileType='Sitemap'"><h2><a href="{$sitemap_url}">{L_SITEMAP_OF} : <xsl:value-of select="$sitemap_title"/></a></h2><h4>{L_NUMBER_OF_URL} : <xsl:value-of select="count(sitemap:urlset/sitemap:url)"/></h4></xsl:when> - <xsl:otherwise><h2>{L_SITEMAPINDEX}</h2><h4>{L_NUMBER_OF_SITEMAP} : <xsl:value-of select="count(sitemap:sitemapindex/sitemap:sitemap)"/></h4></xsl:otherwise> - </xsl:choose> - <br /> - <span class="corners-bottom"><span></span></span> - </div> - </div><br /> - <xsl:choose> - <xsl:when test="$fileType='Sitemap'"><xsl:call-template name="sitemapTable"/></xsl:when> - <xsl:otherwise><xsl:call-template name="siteindexTable"/></xsl:otherwise> - </xsl:choose> - </div> -</div> -<div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000 - 2010 phpBB Group</div> -<!-- - We request you retain the full copyright notice below, as well as in all templates you may use, - including the link to www.phpbb-seo.com. - This not only gives respect to the large amount of time given freely by the developers - but also helps build interest, traffic and use of www.phpBB-SEO.com - If you cannot (for good reason) retain the full copyright we request you at least leave in place the - "Copyright phpBB SEO" line, with "phpBB SEO" linked to www.phpbb-seo.com. - If you refuse to include even this, then support and further development on our forums may be affected. - The phpBB SEO Team. ---> -<div class="copyright">{L_COPY}</div> -</body> -</html> -</xsl:template> - -<!-- siteindexTable template --> -<xsl:template name="siteindexTable"> - <div class="forumbg"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="topiclist"> - <li class="header"> - <dl class="icon"> - <dt>{L_SITEMAP_URL}</dt> - <dd class="lastpost"><span>{L_LASTMOD_DATE}</span></dd> - </dl> - </li> - </ul> - <xsl:apply-templates select="sitemap:sitemapindex/sitemap:sitemap"></xsl:apply-templates> - <span class="corners-bottom"><span></span></span></div> - </div> -</xsl:template> -<!-- sitemapTable template --> -<xsl:template name="sitemapTable"> - <div class="forumbg"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="topiclist"> - <li class="header"> - <dl class="icon"> - <dt>{L_LINK}</dt> - <dd class="topics">{L_PRIORITY}</dd> - <dd class="posts">{L_CHANGEFREQ}</dd> - <dd class="lastpost"><span>{L_LASTMOD_DATE}</span></dd> - </dl> - </li> - </ul> - <xsl:apply-templates select="sitemap:urlset/sitemap:url"></xsl:apply-templates> - <span class="corners-bottom"><span></span></span></div> - </div> -</xsl:template> -<!-- sitemap:url template --> -<xsl:template match="sitemap:url"> - <ul class="topiclist forums"> - <li class="row"> - <dl class="icon" style="background-image: url({T_IMAGE_PATH}forum_read.gif); background-repeat: no-repeat;"> - <dt style="overflow:hidden"> - <xsl:variable name="sitemapURL"><xsl:call-template name="http"><xsl:with-param name="input" select="sitemap:loc" /></xsl:call-template></xsl:variable> - <a href="{$sitemapURL}" class="topictitle"><span><xsl:call-template name="hreftitle"><xsl:with-param name="input" select="$sitemapURL" /></xsl:call-template></span></a> - </dt> - <dd class="topics"><span><xsl:value-of select="sitemap:priority"/></span></dd> - <dd class="posts"><span><xsl:value-of select="sitemap:changefreq"/></span></dd> - <dd class="lastpost"><span><xsl:value-of select="sitemap:lastmod" /></span></dd> - </dl> - </li> - </ul> -</xsl:template> -<!-- sitemap:sitemap template --> -<xsl:template match="sitemap:sitemap"> - <ul class="topiclist forums"> - <li class="row"> - <dl class="icon" style="background-image: url({T_IMAGE_PATH}topic_read.gif); background-repeat: no-repeat;"> - <dt style="overflow:hidden"> - <xsl:variable name="sitemapURL"><xsl:call-template name="http"><xsl:with-param name="input" select="sitemap:loc" /></xsl:call-template></xsl:variable> - <a href="{$sitemapURL}" class="forumtitle"><span><xsl:call-template name="hreftitle"><xsl:with-param name="input" select="$sitemapURL" /></xsl:call-template></span></a> - </dt> - <dd class="lastpost"><span><xsl:value-of select="sitemap:lastmod" /></span></dd> - </dl> - </li> - </ul> -</xsl:template> -<!-- http template to preserve SSL navigation when ssl is not forced (if so, the xml source only uses http) --> -<xsl:template name="http"> - <xsl:param name="input" /> - <xsl:choose> - <xsl:when test="contains($input, '{HTTP_PROTO_REQUEST}')"><xsl:value-of select="$input"/></xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="contains($input, 'http://')"><xsl:value-of select="concat('{HTTP_PROTO_REQUEST}', substring-after($input, 'http://'))"/></xsl:when> - <xsl:otherwise><xsl:value-of select="concat('{HTTP_PROTO_REQUEST}', substring-after($input, 'https://'))"/></xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> -<!-- title template : use nicer titles in href links ! --> -<xsl:template name="hreftitle"> - <xsl:param name="input" /> - <xsl:choose> - <xsl:when test="contains($input, '{ROOT_URL}')"><xsl:value-of select="substring-after($input, '{ROOT_URL}')"/></xsl:when> - <xsl:otherwise><xsl:value-of select="substring-after($input, '{HTTP_PROTO_REQUEST}')"/></xsl:otherwise> - </xsl:choose> -</xsl:template> -</xsl:stylesheet> diff --git a/phpBB/gym_sitemaps/style/gym_js.js b/phpBB/gym_sitemaps/style/gym_js.js deleted file mode 100644 index a8c6f0e53e..0000000000 --- a/phpBB/gym_sitemaps/style/gym_js.js +++ /dev/null @@ -1,317 +0,0 @@ -/* -* New function for handling multiple calls to window.onload and window.unload by pentapenguin ( phpBB3 ) -*/ -var onload_functions = new Array(); -var onunload_functions = new Array(); -window.onload = function() { - BrowserDetect.init(); - if (BrowserDetect.browser == 'Firefox') { - var elements = document.getElementsByTagName('span'); - for (var i = 0; i < elements.length; i++) { - var el = elements[i]; - if (el.className == 'html') { - el.innerHTML = el.firstChild.data; - } - } - } - for (i = 0; i <= onload_functions.length; i++) { - eval(onload_functions[i]); - } -} -window.onunload = function() { - for (i = 0; i <= onunload_functions.length; i++) { - eval(onunload_functions[i]); - } -} -// phpBB3 bbcodes -function selectCode(a) { - // Get ID of code block - var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0]; - if (window.getSelection) { // Not IE - var s = window.getSelection(); - if (s.setBaseAndExtent) { // Safari - s.setBaseAndExtent(e, 0, e, e.innerText.length - 1); - } else { // Firefox and Opera - var r = document.createRange(); - r.selectNodeContents(e); - s.removeAllRanges(); - s.addRange(r); - } - } else if (document.getSelection) { // Some older browsers - var s = document.getSelection(); - var r = document.createRange(); - r.selectNodeContents(e); - s.removeAllRanges(); - s.addRange(r); - } else if (document.selection) { // IE - var r = document.body.createTextRange(); - r.moveToElementText(e); - r.select(); - } -} -// phpBB3 styleswitcher.js -function fontsizeup() -{ - var active = getActiveStyleSheet(); - - switch (active) - { - case 'A--': - setActiveStyleSheet('A-'); - break; - - case 'A-': - setActiveStyleSheet('A'); - break; - - case 'A': - setActiveStyleSheet('A+'); - break; - - case 'A+': - setActiveStyleSheet('A++'); - break; - - case 'A++': - setActiveStyleSheet('A'); - break; - - default: - setActiveStyleSheet('A'); - break; - } -} - -function fontsizedown() -{ - active = getActiveStyleSheet(); - - switch (active) - { - case 'A++' : - setActiveStyleSheet('A+'); - break; - - case 'A+' : - setActiveStyleSheet('A'); - break; - - case 'A' : - setActiveStyleSheet('A-'); - break; - - case 'A-' : - setActiveStyleSheet('A--'); - break; - - case 'A--' : - break; - - default : - setActiveStyleSheet('A--'); - break; - } -} - -function setActiveStyleSheet(title) -{ - var i, a, main; - - for (i = 0; (a = document.getElementsByTagName('link')[i]); i++) - { - if (a.getAttribute('rel').indexOf('style') != -1 && a.getAttribute('title')) - { - a.disabled = true; - if (a.getAttribute('title') == title) - { - a.disabled = false; - } - } - } -} - -function getActiveStyleSheet() -{ - var i, a; - - for (i = 0; (a = document.getElementsByTagName('link')[i]); i++) - { - if (a.getAttribute('rel').indexOf('style') != -1 && a.getAttribute('title') && !a.disabled) - { - return a.getAttribute('title'); - } - } - - return null; -} - -function getPreferredStyleSheet() -{ - return ('A-'); -} - -function createCookie(name, value, days) -{ - if (days) - { - var date = new Date(); - date.setTime(date.getTime() + (days*24*60*60*1000)); - var expires = '; expires=' + date.toGMTString(); - } - else - { - expires = ''; - } - - document.cookie = name + '=' + value + expires + '; path=/'; -} - -function readCookie(name) -{ - var nameEQ = name + '='; - var ca = document.cookie.split(';'); - - for (var i = 0; i < ca.length; i++) - { - var c = ca[i]; - - while (c.charAt(0) == ' ') - { - c = c.substring(1, c.length); - } - - if (c.indexOf(nameEQ) == 0) - { - return c.substring(nameEQ.length, c.length); - } - } - - return null; -} - -function load_cookie() -{ - var cookie = readCookie('style_cookie'); - var title = cookie ? cookie : getPreferredStyleSheet(); - setActiveStyleSheet(title); -} - -function unload_cookie() -{ - var title = getActiveStyleSheet(); - createCookie('style_cookie', title, 365); -} -// Browser detect http://www.quirksmode.org/js/detect.html -var BrowserDetect = { - init: function () { - this.browser = this.searchString(this.dataBrowser) || "An unknown browser"; - this.version = this.searchVersion(navigator.userAgent) - || this.searchVersion(navigator.appVersion) - || "an unknown version"; - this.OS = this.searchString(this.dataOS) || "an unknown OS"; - }, - searchString: function (data) { - for (var i=0;i<data.length;i++) { - var dataString = data[i].string; - var dataProp = data[i].prop; - this.versionSearchString = data[i].versionSearch || data[i].identity; - if (dataString) { - if (dataString.indexOf(data[i].subString) != -1) - return data[i].identity; - } - else if (dataProp) - return data[i].identity; - } - }, - searchVersion: function (dataString) { - var index = dataString.indexOf(this.versionSearchString); - if (index == -1) return; - return parseFloat(dataString.substring(index+this.versionSearchString.length+1)); - }, - dataBrowser: [ - { string: navigator.userAgent, - subString: "OmniWeb", - versionSearch: "OmniWeb/", - identity: "OmniWeb" - }, - { - string: navigator.vendor, - subString: "Apple", - identity: "Safari" - }, - { - prop: window.opera, - identity: "Opera" - }, - { - string: navigator.vendor, - subString: "iCab", - identity: "iCab" - }, - { - string: navigator.vendor, - subString: "KDE", - identity: "Konqueror" - }, - { - string: navigator.userAgent, - subString: "Firefox", - identity: "Firefox" - }, - { - string: navigator.vendor, - subString: "Camino", - identity: "Camino" - }, - { // for newer Netscapes (6+) - string: navigator.userAgent, - subString: "Netscape", - identity: "Netscape" - }, - { - string: navigator.userAgent, - subString: "MSIE", - identity: "Explorer", - versionSearch: "MSIE" - }, - { - string: navigator.userAgent, - subString: "Gecko", - identity: "Mozilla", - versionSearch: "rv" - }, - { // for older Netscapes (4-) - string: navigator.userAgent, - subString: "Mozilla", - identity: "Netscape", - versionSearch: "Mozilla" - } - ], - dataOS : [ - { - string: navigator.platform, - subString: "Win", - identity: "Windows" - }, - { - string: navigator.platform, - subString: "Mac", - identity: "Mac" - }, - { - string: navigator.platform, - subString: "Linux", - identity: "Linux" - } - ] - -}; -// Browser detect http://www.quirksmode.org/js/detect.html -onload_functions.push('load_cookie()'); -onunload_functions.push('unload_cookie()'); - - -var cookie = readCookie("style"); -var title = cookie ? cookie : getPreferredStyleSheet(); -setActiveStyleSheet(title); - diff --git a/phpBB/gym_sitemaps/style/gym_rss.css b/phpBB/gym_sitemaps/style/gym_rss.css deleted file mode 100644 index 4b64128e83..0000000000 --- a/phpBB/gym_sitemaps/style/gym_rss.css +++ /dev/null @@ -1,1547 +0,0 @@ -/* phpBB 3.0 Style Sheet
- --------------------------------------------------------------
- Style name: proSilver
- Based on style: proSilver (this is the default phpBB 3 style)
- Original author: subBlue ( http://www.subBlue.com/ )
- Modified by: dcz phpBB SEO ( www.phpbb-seo.com )
-
- Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
- --------------------------------------------------------------
-*/
-
-/* General proSilver Markup Styles
----------------------------------------- */
-
-* {/* Reset browsers default margin, padding and font sizes */
- margin: 0;
- padding: 0;
-}
-html { font-size: 100%;
- /* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */
- height: 100%;
- margin-bottom: 1px;
-}
-body { /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
- font-family: Verdana, Helvetica, Arial, sans-serif;
- color: #828282;
- background-color: #FFFFFF;
- /*font-size: 62.5%; This sets the default font size to be equivalent to 10px */
- font-size: 10px;
- margin: 10px;
- padding: 12px 0;
-}
-h1 { /* Forum name */
- font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
- margin-right: 200px;
- color: #FFFFFF;
- margin-top: 15px;
- font-weight: bold;
- font-size: 2em;
-}
-h2 { /* Forum header titles */
- font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
- font-weight: normal;
- color: #3f3f3f;
- font-size: 2em;
- margin: 0.8em 0 0.2em 0;
-}
-h2.solo { margin-bottom: 1em; }
-
-h3 { /* Sub-headers (also used as post headers, but defined later) */
- font-family: Arial, Helvetica, sans-serif;
- font-weight: bold;
- text-transform: uppercase;
- border-bottom: 1px solid #CCCCCC;
- margin-bottom: 3px;
- padding-bottom: 2px;
- font-size: 1.05em;
- color: #989898;
- margin-top: 20px;
-}
-h4 { /* Forum and topic list titles */
- font-family: "Trebuchet MS", Verdana, Helvetica, Arial, Sans-serif;
- font-size: 1.3em;
-}
-h5 { font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
- float: right;
- font-weight:bold;
- font-size:16px;
- color:#707070;
- margin-top:1px;
-}
-p { line-height: 1.3em;
- font-size: 1.1em;
- margin-bottom: 1.5em;
-}
-
-img {
- border-width: 0;
-}
-
-hr { /* Also see tweaks.css */
- border: 0 none #FFFFFF;
- border-top: 1px solid #CCCCCC;
- height: 1px;
- margin: 5px 0;
- display: block;
- clear: both;
-}
-hr.dashed { border-top: 1px dashed #CCCCCC;
- margin: 10px 0;
-}
-hr.divider { display: none;}
-p.right { text-align: right;}
-
-/* Main blocks
----------------------------------------- */
-#simple-wrap { padding: 6px 10px; }
-#page-body { margin: 4px 0;
- clear: both;
-}
-#page-footer { clear: both;
-}
-#page-footer h3 { margin-top: 20px;
-}
-#logo { float: left;
- width: auto;
- padding: 10px 13px 0 10px;
-}
-a#logo:hover { text-decoration: none;}
-/* Search box
---------------------------------------------- */
-#search-box { color: #FFFFFF;
- position: relative;
- margin-top: 30px;
- margin-right: 5px;
- display: block;
- float: right;
- text-align: right;
- white-space: nowrap; /* For Opera */
-}
-#search-box #keywords { width: 95px;
- background-color: #FFF;
-}
-#search-box input { border: 1px solid #b0b0b0;
-}
-/* .button1 style defined later, just a few tweaks for the search button version */
-#search-box input.button1 { padding: 1px 5px;}
-#search-box li { text-align: right;
- margin-top: 4px;
-}
-#search-box img {
- vertical-align: middle;
- margin-right: 3px;
-}
-/* Site description and logo */
-#site-description { float: left;
- width: 70%;
-}
-
-#site-description h1 { margin-right: 0;}
-
-/* Round cornered boxes and backgrounds
----------------------------------------- */
-.headerbar { background: #ebebeb none repeat-x 0 0;
- color: #FFFFFF;
- margin-bottom: 4px;
- padding: 0 5px;
-}
-.navbar { background-color: #ebebeb;
- padding: 0 10px;
-}
-.forabg { background: #b1b1b1 none repeat-x 0 0;
- margin-bottom: 4px;
- padding: 0 5px;
- clear: both;
-}
-.forumbg { background: #ebebeb none repeat-x 0 0;
- margin-bottom: 4px;
- padding: 0 5px;
- clear: both;
-}
-.panel { margin-bottom: 4px;
- padding: 0 10px;
- background-color: #f3f3f3;
- color: #3f3f3f;
-}
-.post { padding: 0 10px;
- margin-bottom: 4px;
- background-repeat: no-repeat;
- background-position: 100% 0;
-}
-.post:target .content { color: #000000;}
-.post:target h3 a { color: #000000;}
-.bg1 { background-color: #f7f7f7;}
-.bg2 { background-color: #f2f2f2; }
-.bg3 { background-color: #ebebeb; }
-.rowbg { margin: 5px 5px 2px 5px;}
-.ucprowbg { background-color: #e2e2e2; }
-.fieldsbg { /*border: 1px #DBDEE2 solid;*/
- background-color: #eaeaea;
-}
-span.corners-top, span.corners-bottom, span.corners-top span, span.corners-bottom span {
- font-size: 1px;
- line-height: 1px;
- display: block;
- height: 5px;
- background-repeat: no-repeat;
-}
-span.corners-top { background-image: none;
- background-position: 0 0;
- margin: 0 -5px;
-}
-span.corners-top span { background-image: none;
- background-position: 100% 0;
-}
-span.corners-bottom { background-image: none;
- background-position: 0 100%;
- margin: 0 -5px;
- clear: both;
-}
-span.corners-bottom span { background-image: none;;
- background-position: 100% 100%;
-}
-.headbg span.corners-bottom { margin-bottom: -1px; }
-.post span.corners-top, .post span.corners-bottom, .panel span.corners-top, .panel span.corners-bottom, .navbar span.corners-top, .navbar span.corners-bottom { margin: 0 -10px; }
-.rules span.corners-top { margin: 0 -10px 5px -10px;}
-.rules span.corners-bottom { margin: 5px -10px 0 -10px;}
-/* Horizontal lists
-----------------------------------------*/
-ul.linklist { display: block;
- margin: 0;
-}
-ul.linklist li { display: block;
- list-style-type: none;
- float: left;
- width: auto;
- margin-right: 5px;
- font-size: 1.1em;
- line-height: 2.2em;
-}
-ul.linklist li.rightside, p.rightside { float: right;
- margin-right: 0;
- margin-left: 5px;
- text-align: right;
-}
-ul.navlinks { padding-bottom: 1px;
- margin-bottom: 1px;
- border-bottom: 1px solid #FFFFFF;
- font-weight: bold;
-}
-ul.leftside { float: left;
- margin-left: 0;
- margin-right: 5px;
- text-align: left;
-}
-ul.rightside { float: right;
- margin-left: 5px;
- margin-right: -5px;
- text-align: right;
-}
-/* Misc layout styles
----------------------------------------- */
-dl.details {
- /*font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;*/
- font-size: 1.1em;
-}
-dl.details dt {
- float: left;
- clear: left;
- width: 15em;
- text-align: right;
- color: #000000;
- display: block;
-}
-dl.details dd {
- margin-left: 0;
- padding-left: 5px;
- margin-bottom: 5px;
- color: #828282;
- float: left;
-}
-/* Miscellaneous styles
----------------------------------------- */
-.copyright { padding: 5px;
- text-align: center;
- color: #555555;
-}
-div.rules {
- background-color: #ececec;
- color: #bcbcbc;
- padding: 0 10px;
- margin: 10px 0;
- font-size: 1.1em;
-}
-div.rules ul { margin-left: 20px; }
-p.rules { background-color: #ececec;
- background-image: none;
- padding: 5px;
-}
-p.rules img { vertical-align: middle; }
-p.rules a { vertical-align: middle;
- clear: both;
-}
-#top { position: absolute;
- top: -20px;
-}
-/* proSilver Link Styles
----------------------------------------- */
-a:link { color: #898989; text-decoration: none; }
-a:visited { color: #898989; text-decoration: none; }
-a:hover { color: #d3d3d3; text-decoration: underline; }
-a:active { color: #d2d2d2; text-decoration: none; }
-/* Links on gradient backgrounds */
-#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link {
- color: #FFFFFF;
- text-decoration: none;
-}
-#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited {
- color: #FFFFFF;
- text-decoration: none;
-}
-#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover {
- color: #ffffff;
- text-decoration: underline;
-}
-#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active {
- color: #ffffff;
- text-decoration: none;
-}
-/* Links for forum/topic lists */
-a.forumtitle { font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif;
- font-size: 1.2em;
- font-weight: bold;
- color: #898989;
- text-decoration: none;
-}
-/* a.forumtitle:visited { color: #898989; } */
-a.forumtitle:hover { color: #bcbcbc;
- text-decoration: underline;
-}
-a.forumtitle:active { color: #898989; }
-a.topictitle { font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif;
- font-size: 1.2em;
- font-weight: bold;
- color: #898989;
- text-decoration: none;
-}
-/* a.topictitle:visited { color: #d2d2d2; } */
-a.topictitle:hover { color: #bcbcbc;
- text-decoration: underline;
-}
-a.topictitle:active {
- color: #898989;
-}
-/* Post body links */
-.postlink { text-decoration: none;
- color: #d2d2d2;
- border-bottom: 1px solid #d2d2d2;
- padding-bottom: 0;
-}
-.postlink:visited { color: #bdbdbd;
- border-bottom-style: dotted;
- border-bottom-color: #666666;
-}
-.postlink:active { color: #d2d2d2; }
-.postlink:hover { background-color: #f6f6f6;
- text-decoration: none;
- color: #404040;
-}
-.signature a, .signature a:visited, .signature a:active, .signature a:hover {
- border: none;
- text-decoration: underline;
- background-color: transparent;
-}
-/* Profile links */
-.postprofile a:link, .postprofile a:active, .postprofile a:visited, .postprofile dt.author a { font-weight: bold;
- color: #898989;
- text-decoration: none;
-}
-.postprofile a:hover, .postprofile dt.author a:hover { text-decoration: underline;
- color: #d3d3d3;
-}
-/* Profile searchresults */
-.search .postprofile a { color: #898989;
- text-decoration: none;
- font-weight: normal;
-}
-.search .postprofile a:hover { color: #d3d3d3;
- text-decoration: underline;
-}
-/* Back to top of page */
-.back2top { clear: both;
- height: 11px;
- text-align: right;
-}
-a.top { background: none no-repeat top left;
- text-decoration: none;
- width: 11px;
- height: 11px;
- display: block;
- float: right;
- overflow: hidden;
- letter-spacing: 1000px;
- text-indent: 11px;
-}
-a.top2 {
- background: none no-repeat 0 50%;
- text-decoration: none;
- padding-left: 15px;
-}
-/* Arrow links */
-a.up { background: none no-repeat left center; }
-a.down { background: none no-repeat right center; }
-a.left { background: none no-repeat 3px 60%; }
-a.right { background: none no-repeat 95% 60%; }
-a.up, a.up:link, a.up:active, a.up:visited { padding-left: 10px;
- text-decoration: none;
- border-bottom-width: 0;
-}
-a.up:hover { background-position: left top;
- background-color: transparent;
-}
-a.down, a.down:link, a.down:active, a.down:visited { padding-right: 10px; }
-a.down:hover { background-position: right bottom;
- text-decoration: none;
-}
-a.left, a.left:active, a.left:visited { padding-left: 12px; }
-a.left:hover { color: #d2d2d2;
- text-decoration: none;
- background-position: 0 60%;
-}
-a.right, a.right:active, a.right:visited { padding-right: 12px;}
-a.right:hover { color: #d2d2d2;
- text-decoration: none;
- background-position: 100% 60%;
-}
-/* proSilver Content Styles
----------------------------------------- */
-ul.topiclist { display: block;
- list-style-type: none;
- margin: 0;
-}
-ul.forums { background: #f9f9f9 none repeat-x 0 0;
-}
-ul.topiclist li { display: block;
- list-style-type: none;
- color: #777777;
- margin: 0;
-}
-ul.topiclist dl { position: relative;}
-ul.topiclist li.row dl {padding: 2px 0;}
-ul.topiclist dt {display: block;
- float: left;
- width: 50%;
- font-size: 1.1em;
- padding-left: 5px;
- padding-right: 5px;
-}
-ul.topiclist dd { display: block;
- float: left;
- border-left: 1px solid #FFFFFF;
- padding: 4px 0;
-}
-ul.topiclist dfn { /* Labels for post/view counts */
- display: none;
-}
-
-ul.topiclist li.row dt a.subforum { background-image: none;
- background-position: 0 50%;
- background-repeat: no-repeat;
- position: relative;
- white-space: nowrap;
- padding: 0 0 0 12px;
-}
-.forum-image { float: left;
- padding-top: 5px;
- margin-right: 5px;
-}
-li.row { border-top: 1px solid #FFFFFF;
- border-bottom: 1px solid #8f8f8f;
-}
-li.row strong { font-weight: normal;
- color: #000000;
-}
-li.row:hover { background-color: #f6f6f6;
-}
-li.row:hover dd { border-left-color: #CCCCCC;
-}
-li.header dt, li.header dd { line-height: 1em;
- border-left-width: 0;
- margin: 2px 0 4px 0;
- color: #FFFFFF;
- padding-top: 2px;
- padding-bottom: 2px;
- font-size: 1em;
- font-family: Arial, Helvetica, sans-serif;
- text-transform: uppercase;
-}
-li.header dt { font-weight: bold;}
-li.header dd { margin-left: 1px;}
-li.header dl.icon { min-height: 0;}
-li.header dl.icon dt { /* Tweak for headers alignment when folder icon used */
- padding-left: 0;
- padding-right: 44px;
-}
-/* Forum list column styles */
-dl.icon { min-height: 35px;
- background-position: 10px 50%; /* Position of folder icon */
- background-repeat: no-repeat;
-}
-dl.icon dt { padding-left: 45px; /* Space for folder icon */
- background-repeat: no-repeat;
- background-position: 5px 95%; /* Position of topic icon */
-}
-dd.posts, dd.topics, dd.views { width: 8%;
- text-align: center;
- line-height: 2.2em;
- font-size: 1.2em;
-}
-dd.lastpost { width: 25%;
- font-size: 1.1em;
-}
-dd.redirect { font-size: 1.1em;
- line-height: 2.5em;
-}
-dd.moderation { font-size: 1.1em; }
-dd.lastpost span, ul.topiclist dd.searchby span, ul.topiclist dd.info span, ul.topiclist dd.time span, dd.redirect span, dd.moderation span { display: block;
- padding-left: 5px;
-}
-dd.time { width: auto;
- line-height: 200%;
- font-size: 1.1em;
-}
-dd.extra { width: 65px;
- line-height: 200%;
- text-align: center;
- font-size: 1.1em;
-}
-dd.mark { float: right !important;
- width: 9%;
- text-align: center;
- line-height: 200%;
- font-size: 1.2em;
-}
-dd.info { width: 30%; }
-dd.option { width: 15%;
- line-height: 200%;
- text-align: center;
- font-size: 1.1em;
-}
-dd.searchby { width: 47%;
- font-size: 1.1em;
- line-height: 1em;
-}
-ul.topiclist dd.searchextra { margin-left: 5px;
- padding: 0.2em 0;
- font-size: 1.1em;
- color: #333333;
- border-left: none;
- clear: both;
- width: 98%;
- overflow: hidden;
-}
-/* Container for post/reply buttons and pagination */
-.topic-actions { margin-bottom: 3px;
- font-size: 1.1em;
- height: 28px;
- min-height: 28px;
-}
-div[class].topic-actions { height: auto; }
-/* Post body styles
-----------------------------------------*/
-.postbody { padding: 0;
- line-height: 1.48em;
- color: #333333;
- width: 76%;
- float: left;
- clear: both;
-}
-.postbody .ignore { font-size: 1.1em; }
-.postbody h3.first { /* The first post on the page uses this */
- font-size: 1.7em;
-}
-.postbody h3 { /* Postbody requires a different h3 format - so change it here */
- font-size: 1.5em;
- padding: 2px 0 0 0;
- margin: 0 0 0.3em 0 !important;
- text-transform: none;
- border: none;
- font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
- line-height: 125%;
-}
-.postbody h3 img { /* Also see tweaks.css */
- vertical-align: bottom;
-}
-.postbody .content { font-size: 1.3em; }
-.search .postbody { width: 68% }
-/* Content container styles
-----------------------------------------*/
-.content { min-height: 3em;
- overflow: hidden;
- line-height: 1.4em;
- font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
- font-size: 1em;
- color: #333333;
-}
-.content h2, .panel h2 { font-weight: normal;
- color: #989898;
- border-bottom: 1px solid #CCCCCC;
- font-size: 1.6em;
- margin-top: 0.5em;
- margin-bottom: 0.5em;
- padding-bottom: 0.5em;
-}
-.panel h3 { margin: 0.5em 0; }
-.panel p { font-size: 1.2em;
- margin-bottom: 1em;
- line-height: 1.4em;
-}
-.content p { font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
- font-size: 1.2em;
- margin-bottom: 1em;
- line-height: 1.4em;
-}
-dl.faq { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
- font-size: 1.1em;
- margin-top: 1em;
- margin-bottom: 2em;
- line-height: 1.4em;
-}
-dl.faq dt { font-weight: bold;
- color: #333333;
-}
-.content dl.faq { font-size: 1.2em;
- margin-bottom: 0.5em;
-}
-.content li { list-style-type: inherit; }
-.content ul, .content ol { margin-bottom: 1em;
- margin-left: 3em;
-}
-.announce, .unreadpost {
- /* Highlight the announcements & unread posts box */
- border-left-color: #BCBCBC;
- border-right-color: #BCBCBC;
-}
-/* Post author */
-p.author { margin: 0 15em 0.6em 0;
- padding: 0 0 5px 0;
- font-family: Verdana, Helvetica, Arial, sans-serif;
- font-size: 1em;
- line-height: 1.2em;
-}
-/* Post signature */
-.signature { margin-top: 1.5em;
- padding-top: 0.2em;
- font-size: 1.1em;
- border-top: 1px solid #CCCCCC;
- clear: left;
- line-height: 140%;
- overflow: hidden;
- width: 100%;
-}
-dd .signature { margin: 0;
- padding: 0;
- clear: none;
- border: none;
-}
-/* Post noticies */
-.notice { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
- width: auto;
- margin-top: 1.5em;
- padding-top: 0.2em;
- font-size: 1em;
- border-top: 1px dashed #CCCCCC;
- clear: left;
- line-height: 130%;
-}
-/* Jump to post link for now */
-ul.searchresults {
- list-style: none;
- text-align: right;
- clear: both;
-}
-/* BB Code styles
-----------------------------------------*/
-/* Quote block */
-blockquote {
- background: #ebebeb none 6px 8px no-repeat;
- border: 1px solid #dbdbdb;
- font-size: 0.95em;
- margin: 0.5em 1px 0 25px;
- overflow: hidden;
- padding: 5px;
-}
-blockquote blockquote { /* Nested quotes */
- background-color: #bababa;
- font-size: 1em;
- margin: 0.5em 1px 0 15px;
-}
-blockquote blockquote blockquote { /* Nested quotes */
- background-color: #e4e4e4;
-}
-blockquote cite { /* Username/source of quoter */
- font-style: normal;
- font-weight: bold;
- margin-left: 20px;
- display: block;
- font-size: 0.9em;
-}
-blockquote cite cite { font-size: 1em; }
-blockquote.uncited { padding-top: 25px; }
-/* Code block */
-dl.codebox {
- padding: 3px;
- background-color: #FFFFFF;
- border: 1px solid #d8d8d8;
- font-size: 1em;
-}
-dl.codebox dt { text-transform: uppercase;
- border-bottom: 1px solid #CCCCCC;
- margin-bottom: 3px;
- font-size: 0.8em;
- font-weight: bold;
- display: block;
-}
-blockquote dl.codebox { margin-left: 0; }
-dl.codebox code { /* Also see tweaks.css */
- overflow: auto;
- display: block;
- height: auto;
- max-height: 200px;
- white-space: normal;
- padding-top: 5px;
- font: 0.9em Monaco, "Andale Mono","Courier New", Courier, mono;
- line-height: 1.3em;
- color: #8b8b8b;
- margin: 2px 0;
-}
-.syntaxbg { color: #FFFFFF; }
-.syntaxcomment { color: #000000; }
-.syntaxdefault { color: #bcbcbc; }
-.syntaxhtml { color: #000000; }
-.syntaxkeyword { color: #585858; }
-.syntaxstring { color: #a7a7a7; }
-/* Attachments
-----------------------------------------*/
-.attachbox { float: left;
- width: auto;
- margin: 5px 5px 5px 0;
- padding: 6px;
- background-color: #FFFFFF;
- border: 1px dashed #d8d8d8;
- clear: left;
-}
-.pm-message .attachbox { background-color: #f3f3f3; }
-.attachbox dt { font-family: Arial, Helvetica, sans-serif;
- text-transform: uppercase;
-}
-.attachbox dd { margin-top: 4px;
- padding-top: 4px;
- clear: left;
- border-top: 1px solid #d8d8d8;
-}
-.attachbox dd dd { border: none; }
-.attachbox p { line-height: 110%;
- color: #666666;
- font-weight: normal;
- clear: left;
-}
-.attachbox p.stats { line-height: 110%;
- color: #666666;
- font-weight: normal;
- clear: left;
-}
-.attach-image { margin: 3px 0;
- width: 100%;
- max-height: 350px;
- overflow: auto;
-}
-.attach-image img { border: 1px solid #999999;
-/* cursor: move; */
- cursor: default;
-}
-/* Inline image thumbnails */
-div.inline-attachment dl.thumbnail, div.inline-attachment dl.file { display: block;
- margin-bottom: 4px;
-}
-div.inline-attachment p { font-size: 100%; }
-dl.file { font-family: Verdana, Arial, Helvetica, sans-serif;
- display: block;
-}
-dl.file dt { text-transform: none;
- margin: 0;
- padding: 0;
- font-weight: bold;
- font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-dl.file dd { color: #666666;
- margin: 0;
- padding: 0;
-}
-dl.thumbnail img { padding: 3px;
- border: 1px solid #666666;
- display: block;
- background-color: #FFF;
-}
-dl.thumbnail dd { color: #666666;
- font-style: italic;
- font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-.attachbox dl.thumbnail dd { font-size: 100%; }
-dl.thumbnail dt a:hover { background-color: #EEEEEE;}
-dl.thumbnail dt a:hover img { border: 1px solid #d2d2d2; }
-/* Post poll styles
-----------------------------------------*/
-fieldset.polls { font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; }
-fieldset.polls dl { margin-top: 5px;
- border-top: 1px solid #e2e2e2;
- padding: 5px 0 0 0;
- line-height: 120%;
- color: #666666;
-}
-fieldset.polls dl.voted { font-weight: bold;
- color: #000000;
-}
-fieldset.polls dt { text-align: left;
- float: left;
- display: block;
- width: 30%;
- border-right: none;
- padding: 0;
- margin: 0;
- font-size: 1.1em;
-}
-fieldset.polls dd { float: left;
- width: 10%;
- border-left: none;
- padding: 0 5px;
- margin-left: 0;
- font-size: 1.1em;
-}
-fieldset.polls dd.resultbar { width: 50%;}
-fieldset.polls dd input { margin: 2px 0; }
-fieldset.polls dd div { text-align: right;
- font-family: Arial, Helvetica, sans-serif;
- color: #FFFFFF;
- font-weight: bold;
- padding: 0 2px;
- overflow: visible;
- min-width: 2%;
-}
-.pollbar1 { background-color: #aaaaaa;
- border-bottom: 1px solid #747474;
- border-right: 1px solid #747474;
-}
-.pollbar2 { background-color: #bebebe;
- border-bottom: 1px solid #8c8c8c;
- border-right: 1px solid #8c8c8c;
-}
-.pollbar3 { background-color: #D1D1D1;
- border-bottom: 1px solid #aaaaaa;
- border-right: 1px solid #aaaaaa;
-}
-.pollbar4 { background-color: #e4e4e4;
- border-bottom: 1px solid #bebebe;
- border-right: 1px solid #bebebe;
-}
-.pollbar5 { background-color: #f8f8f8;
- border-bottom: 1px solid #D1D1D1;
- border-right: 1px solid #D1D1D1;
-}
-/* Poster profile block
-----------------------------------------*/
-.postprofile { /* Also see tweaks.css */
- margin: 5px 0 10px 0;
- min-height: 80px;
- color: #666666;
- border-left: 1px solid #FFFFFF;
- width: 22%;
- float: right;
- display: inline;
-}
-.pm .postprofile { border-left: 1px solid #DDDDDD; }
-.postprofile dd, .postprofile dt { line-height: 1.2em;
- margin-left: 8px;
-}
-.postprofile strong {font-weight: normal;
- color: #000000;
-}
-.avatar { border: none;
- margin-bottom: 3px;
-}
-.online { background-image: none;
- background-position: 100% 0;
- background-repeat: no-repeat;
-}
-/* Poster profile used by search*/
-.search .postprofile { width: 30%;}
-/* pm list in compose message if mass pm is enabled */
-dl.pmlist dt { width: 60% !important;}
-dl.pmlist dt textarea { width: 95%;}
-dl.pmlist dd { margin-left: 61% !important;
- margin-bottom: 2px;
-}
-/* proSilver Button Styles
----------------------------------------- */
-/* Rollover buttons
- Based on: http://wellstyled.com/css-nopreload-rollovers.html
-----------------------------------------*/
-.buttons { float: left;
- width: auto;
- height: auto;
-}
-/* Rollover state */
-.buttons div { float: left;
- margin: 0 5px 0 0;
- background-position: 0 100%;
-}
-/* Rolloff state */
-.buttons div a { display: block;
- width: 100%;
- height: 100%;
- background-position: 0 0;
-}
-/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
-.buttons div span { display: none; }
-.buttons div a:hover { background-image: none; }
-/* Big button images */
-.reply-icon, .reply-icon a { background: transparent none 0 0 no-repeat; }
-.post-icon, .post-icon a { background: transparent none 0 0 no-repeat; }
-.locked-icon, .locked-icon a { background: transparent none 0 0 no-repeat; }
-.pmreply-icon, .pmreply-icon a { background: none 0 0 no-repeat; }
-.newpm-icon, .newpm-icon a { background: none 0 0 no-repeat; }
-.forwardpm-icon, .forwardpm-icon a { background: none 0 0 no-repeat; }
-/* Set big button dimensions */
-.buttons div.reply-icon { width: 96px; height: 25px; }
-.buttons div.post-icon { width: 96px; height: 25px; }
-.buttons div.locked-icon { width: 96px; height: 25px; }
-.buttons div.pmreply-icon { width: 96px; height: 25px; }
-.buttons div.newpm-icon { width: 96px; height: 25px; }
-.buttons div.forwardpm-icon { width: 110px; height: 25px; }
-/* Sub-header (navigation bar)
---------------------------------------------- */
-a.print, a.sendemail, a.fontsize { display: block;
- overflow: hidden;
- height: 18px;
- text-indent: -5000px;
- text-align: left;
- background-repeat: no-repeat;
-}
-a.fontsize { background-image: none;
- background-position: 0 -1px;
- width: 29px;
-}
-a.fontsize:hover { background-position: 0 -20px;
- text-decoration: none;
-}
-/* Icon images
----------------------------------------- */
-.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,
-.icon-bookmark, .icon-bump, .icon-subscribe, .icon-unsubscribe, .icon-pages, .icon-search {
- background-position: 0 50%;
- background-repeat: no-repeat;
- background-image: none;
- padding: 1px 0 0 17px;
-}
-/* Poster profile icons
-----------------------------------------*/
-ul.profile-icons { padding-top: 10px;
- list-style: none;
-}
-/* Rollover state */
-ul.profile-icons li { float: left;
- margin: 0 6px 3px 0;
- background-position: 0 100%;
-}
-/* Rolloff state */
-ul.profile-icons li a { display: block;
- width: 100%;
- height: 100%;
- background-position: 0 0;
-}
-/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
-ul.profile-icons li span { display:none; }
-ul.profile-icons li a:hover { background: none; }
-/* Positioning of moderator icons */
-.postbody ul.profile-icons { float: right;
- width: auto;
- padding: 0;
-}
-.postbody ul.profile-icons li { margin: 0 3px;}
-/* Profile & navigation icons */
-.email-icon, .email-icon a { background: none top left no-repeat; }
-.aim-icon, .aim-icon a { background: none top left no-repeat; }
-.yahoo-icon, .yahoo-icon a { background: none top left no-repeat; }
-.web-icon, .web-icon a { background: none top left no-repeat; }
-.msnm-icon, .msnm-icon a { background: none top left no-repeat; }
-.icq-icon, .icq-icon a { background: none top left no-repeat; }
-.jabber-icon, .jabber-icon a { background: none top left no-repeat; }
-.pm-icon, .pm-icon a { background: none top left no-repeat; }
-.quote-icon, .quote-icon a { background: none top left no-repeat; }
-/* Moderator icons */
-.report-icon, .report-icon a { background: none top left no-repeat; }
-.warn-icon, .warn-icon a { background: none top left no-repeat; }
-.edit-icon, .edit-icon a { background: none top left no-repeat; }
-.delete-icon, .delete-icon a { background: none top left no-repeat; }
-.info-icon, .info-icon a { background: none top left no-repeat; }
-/* Set profile icon dimensions */
-ul.profile-icons li.email-icon { width: 20px; height: 20px; }
-ul.profile-icons li.aim-icon { width: 20px; height: 20px; }
-ul.profile-icons li.yahoo-icon { width: 20px; height: 20px; }
-ul.profile-icons li.web-icon { width: 20px; height: 20px; }
-ul.profile-icons li.msnm-icon { width: 20px; height: 20px; }
-ul.profile-icons li.icq-icon { width: 20px; height: 20px; }
-ul.profile-icons li.jabber-icon { width: 20px; height: 20px; }
-ul.profile-icons li.pm-icon { width: 28px; height: 20px; }
-ul.profile-icons li.quote-icon { width: 54px; height: 20px; }
-ul.profile-icons li.report-icon { width: 20px; height: 20px; }
-ul.profile-icons li.edit-icon { width: 58px; height: 20px; }
-ul.profile-icons li.delete-icon { width: 20px; height: 20px; }
-ul.profile-icons li.info-icon { width: 20px; height: 20px; }
-ul.profile-icons li.warn-icon { width: 20px; height: 20px; }
-/* Fix profile icon default margins */
-ul.profile-icons li.edit-icon { margin: 0 0 0 3px; }
-ul.profile-icons li.quote-icon { margin: 0 0 0 10px; }
-ul.profile-icons li.info-icon, ul.profile-icons li.report-icon { margin: 0 3px 0 0; }
-/* proSilver Form Styles
----------------------------------------- */
-/* General form styles
-----------------------------------------*/
-fieldset { border-width: 0;
- font-family: Verdana, Helvetica, Arial, sans-serif;
- font-size: 1.1em;
-}
-input { font-weight: normal;
- cursor: pointer;
- vertical-align: middle;
- padding: 0 3px;
- font-size: 1em;
- font-family: Verdana, Helvetica, Arial, sans-serif;
-}
-select {font-family: Verdana, Helvetica, Arial, sans-serif;
- font-weight: normal;
- cursor: pointer;
- vertical-align: middle;
- border: 1px solid #666666;
- padding: 1px;
- background-color: #FAFAFA;
-}
-option { padding-right: 1em; }
-option.disabled-option { color: graytext; }
-textarea { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
- width: 60%;
- padding: 2px;
- font-size: 1em;
- line-height: 1.4em;
-}
-label { cursor: default;
- padding-right: 5px;
- color: #676767;
-}
-label input { vertical-align: middle;}
-label img { vertical-align: middle;}
-/* Definition list layout for forms
----------------------------------------- */
-fieldset dl { padding: 4px 0;}
-fieldset dt { float: left;
- width: 40%;
- text-align: left;
- display: block;
-}
-fieldset dd { margin-left: 41%;
- vertical-align: top;
- margin-bottom: 3px;
-}
-/* Specific layout 1 */
-fieldset.fields1 dt { width: 15em;
- border-right-width: 0;
-}
-fieldset.fields1 dd { margin-left: 15em;
- border-left-width: 0;
-}
-fieldset.fields1 { background-color: transparent; }
-fieldset.fields1 div { margin-bottom: 3px; }
-/* Specific layout 2 */
-fieldset.fields2 dt { width: 15em;
- border-right-width: 0;
-}
-fieldset.fields2 dd { margin-left: 16em;
- border-left-width: 0;
-}
-/* Form elements */
-dt label { font-weight: bold;
- text-align: left;
-}
-dd label { white-space: nowrap;
- color: #333;
-}
-dd input, dd textarea { margin-right: 3px; }
-dd select { width: auto; }
-dd textarea { width: 85%; }
-/* Hover effects */
-fieldset dl:hover dt label {color: #000000;}
-fieldset.fields2 dl:hover dt label { color: inherit;}
-/* Submit button fieldset */
-fieldset.submit-buttons { text-align: center;
- vertical-align: middle;
- margin: 5px 0;
-}
-fieldset.submit-buttons input { vertical-align: middle;
- padding-top: 3px;
- padding-bottom: 3px;
-}
-/* Input field styles
----------------------------------------- */
-.inputbox { background-color: #FFFFFF;
- border: 1px solid #c0c0c0;
- color: #333333;
- padding: 2px;
- cursor: text;
-}
-.inputbox:hover { border: 1px solid #eaeaea;}
-.inputbox:focus { border: 1px solid #eaeaea;
- color: #4b4b4b;
-}
-input.inputbox { width: 85%; }
-input.medium { width: 50%; }
-input.narrow { width: 25%; }
-input.tiny { width: 125px; }
-textarea.inputbox { width: 85%; }
-.autowidth {width: auto !important;}
-/* Form button styles
----------------------------------------- */
-input.button1, input.button2 {font-size: 1em;}
-a.button1, input.button1, input.button3, a.button2, input.button2 {
- width: auto !important;
- padding-top: 1px;
- padding-bottom: 1px;
- font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
- color: #000;
- background: #FAFAFA none repeat-x top;
-}
-a.button1, input.button1 {font-weight: bold;
- border: 1px solid #666666;
-}
-input.button3 {padding: 0;
- margin: 0;
- line-height: 5px;
- height: 12px;
- background-image: none;
- font-variant: small-caps;
-}
-/* Alternative button */
-a.button2, input.button2, input.button3 {border: 1px solid #666666;}
-/* <a> button in the style of the form buttons */
-a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active {
- text-decoration: none;
- color: #000000;
- padding: 2px 8px;
- line-height: 250%;
- vertical-align: text-bottom;
- background-position: 0 1px;
-}
-/* Hover states */
-a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {
- border: 1px solid #BCBCBC;
- background-position: 0 100%;
- color: #BCBCBC;
-}
-
-/* Topic and forum Search */
-.search-box {margin-top: 3px;
- margin-left: 5px;
- float: left;
-}
-.search-box input {
-}
-input.search {background-image: none;
- background-repeat: no-repeat;
- background-position: left 1px;
- padding-left: 17px;
-}
-/* proSilver Style Sheet Tweaks
-These style definitions are mainly IE specific
-tweaks required due to its poor CSS support.
--------------------------------------------------*/
-* html table, * html select, * html input { font-size: 100%; }
-* html hr { margin: 0; }
-* html span.corners-top, * html span.corners-bottom { background-image: url("{T_IMAGE_PATH}corners_left.gif"); }
-* html span.corners-top span, * html span.corners-bottom span { background-image: url("{T_IMAGE_PATH}corners_right.gif"); }
-table.table1 {width: 99%; /* IE < 6 browsers */
- /* Tantek hack */
- voice-family: "\"}\"";
- voice-family: inherit;
- width: 100%;
-}
-html>body table.table1 { width: 100%; } /* Reset 100% for opera */
-* html ul.topiclist li { position: relative; }
-* html .postbody h3 img { vertical-align: middle; }
-/* Form styles */
-html>body dd label input { vertical-align: text-bottom; } /* Align checkboxes/radio buttons nicely */
-* html input.button1, * html input.button2 {
- padding-bottom: 0;
- margin-bottom: 1px;
-}
-/* Misc layout styles */
-* html .column1, * html .column2 { width: 45%; }
-/* Nice method for clearing floated blocks without having to insert any extra markup (like spacer above)
- From http://www.positioniseverything.net/easyclearing.html
-#tabs:after, #minitabs:after, .post:after, .navbar:after, fieldset dl:after, ul.topiclist dl:after, ul.linklist:after, dl.polls:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
-}*/
-.clearfix, #tabs, #minitabs, .post, .navbar, fieldset dl, ul.topiclist dl, ul.linklist, dl.polls {
- height: 1%;
- overflow: hidden;
-}
-/* Simple fix so forum and topic lists always have a min-height set, even in IE6
- From http://www.dustindiaz.com/min-height-fast-hack */
-dl.icon { min-height: 35px;
- height: auto !important;
- height: 35px;
-}
-* html #search-box {
- margin-right: 35px;
-}
-/* Correctly clear floating for details on profile view */
-*:first-child+html dl.details dd { margin-left: 15em;
- float: none;
-}
-* html dl.details dd { margin-left: 15em;
- float: none;
-}
-/*
---------------------------------------------------------------
-Colours and backgrounds for common.css
--------------------------------------------------------------- */
-html, body { color: #536482;
- background-color: #FFFFFF;
-}
-h1 { color: #FFFFFF;}
-h2 {color: #28313F;}
-h3 {border-bottom-color: #CCCCCC;
- color: #115098;
-}
-hr {border-color: #FFFFFF;
- border-top-color: #CCCCCC;
-}
-hr.dashed {border-top-color: #CCCCCC;}
-/* Search box
---------------------------------------------- */
-#search-box {color: #FFFFFF;}
-#search-box #keywords {background-color: #FFF;}
-#search-box input {border-color: #0075B0;}
-/* Round cornered boxes and backgrounds
----------------------------------------- */
-.headerbar {background-color: #12A3EB;
- background-image: url("{T_IMAGE_PATH}bg_header.gif");
- color: #FFFFFF;
-}
-.navbar {background-color: #cadceb;}
-.forabg {background-color: #0076b1;
- background-image: url("{T_IMAGE_PATH}bg_list.gif");
-}
-.forumbg {background-color: #12A3EB;
- background-image: url("{T_IMAGE_PATH}bg_header.gif");
-}
-.panel {background-color: #ECF1F3;
- color: #28313F;
-}
-.post:target .content {color: #000000;}
-.post:target h3 a {color: #000000;}
-.bg1 { background-color: #ECF3F7; }
-.bg2 { background-color: #e1ebf2; }
-.bg3 { background-color: #cadceb; }
-.ucprowbg {background-color: #DCDEE2;}
-.fieldsbg {background-color: #E7E8EA;}
-span.corners-top {background-image: url("{T_IMAGE_PATH}corners_left.png");}
-span.corners-top span {background-image: url("{T_IMAGE_PATH}corners_right.png");}
-span.corners-bottom {background-image: url("{T_IMAGE_PATH}corners_left.png");}
-span.corners-bottom span {background-image: url("{T_IMAGE_PATH}corners_right.png");}
-/* Horizontal lists
-----------------------------------------*/
-ul.navlinks {border-bottom-color: #FFFFFF;}
-/* Misc layout styles
----------------------------------------- */
-dl.details dt {
- color: #000000;
-}
-
-dl.details dd {
- color: #536482;
-}
-
-.sep {
- color: #1198D9;
-}
-/* Miscellaneous styles
----------------------------------------- */
-.copyright {color: #555555;}
-.error {color: #BC2A4D;}
-.reported {background-color: #F7ECEF;}
-li.reported:hover {background-color: #ECD5D8 !important;}
-.sticky, .announce {/* you can add a background for stickies and announcements*/}
-div.rules {background-color: #ECD5D8;
- color: #BC2A4D;
-}
-p.rules {background-color: #ECD5D8;
- background-image: none;
-}
-/*
---------------------------------------------------------------
-Colours and backgrounds for links.css
--------------------------------------------------------------- */
-a:link { color: #105289; }
-a:visited { color: #105289; }
-a:hover { color: #D31141; }
-a:active { color: #368AD2; }
-/* Links on gradient backgrounds */
-#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link {color: #FFFFFF;}
-#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited {color: #FFFFFF;}
-#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover {color: #A8D8FF;}
-#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active {color: #C8E6FF;}
-/* Links for forum/topic lists */
-a.forumtitle {color: #105289;}
-/* a.forumtitle:visited { color: #105289; } */
-a.forumtitle:hover {color: #BC2A4D;}
-a.forumtitle:active {color: #105289;}
-a.topictitle {color: #105289;}
-/* a.topictitle:visited { color: #368AD2; } */
-a.topictitle:hover {color: #BC2A4D;}
-a.topictitle:active {color: #105289;}
-/* Post body links */
-.postlink {color: #368AD2;
- border-bottom-color: #368AD2;
-}
-.postlink:visited {color: #5D8FBD;
- border-bottom-color: #666666;
-}
-.postlink:active {color: #368AD2;}
-.postlink:hover {background-color: #D0E4F6;
- color: #0D4473;
-}
-.signature a, .signature a:visited, .signature a:active, .signature a:hover {background-color: transparent;}
-/* Profile links */
-.postprofile a:link, .postprofile a:active, .postprofile a:visited, .postprofile dt.author a {color: #105289;}
-.postprofile a:hover, .postprofile dt.author a:hover {color: #D31141;}
-/* Profile searchresults */
-.search .postprofile a {color: #105289;}
-.search .postprofile a:hover {color: #D31141;}
-/* Back to top of page */
-a.top {background-image: url("{T_IMAGE_PATH}icon_back_top.gif");}
-a.top2 {background-image: url("{T_IMAGE_PATH}icon_back_top.gif");}
-/* Arrow links */
-a.up { background-image: url("{T_IMAGE_PATH}arrow_up.gif") }
-a.down { background-image: url("{T_IMAGE_PATH}arrow_down.gif") }
-a.left { background-image: url("{T_IMAGE_PATH}arrow_left.gif") }
-a.right { background-image: url("{T_IMAGE_PATH}arrow_right.gif") }
-a.up:hover {background-color: transparent;}
-a.left:hover {color: #368AD2;}
-a.right:hover {color: #368AD2;}
-/*
---------------------------------------------------------------
-Colours and backgrounds for content.css
--------------------------------------------------------------- */
-ul.forums {background-color: #eef5f9;
- background-image: url("{T_IMAGE_PATH}gradient.gif");
-}
-ul.topiclist li {color: #4C5D77;}
-ul.topiclist dd {border-left-color: #FFFFFF;}
-.rtl ul.topiclist dd {border-right-color: #fff;
- border-left-color: transparent;
-}
-ul.topiclist li.row dt a.subforum.read {background-image: url("{T_IMAGE_PATH}subforum_read.gif");}
-ul.topiclist li.row dt a.subforum.unread {background-image: url("{T_IMAGE_PATH}subforum_unread.gif");}
-li.row {border-top-color: #FFFFFF;
- border-bottom-color: #00608F;
-}
-li.row strong {color: #000000;}
-li.row:hover {background-color: #F6F4D0;}
-li.row:hover dd {border-left-color: #CCCCCC;}
-.rtl li.row:hover dd {border-right-color: #CCCCCC;
- border-left-color: transparent;
-}
-li.header dt, li.header dd {color: #FFFFFF;}
-/* Forum list column styles */
-ul.topiclist dd.searchextra {color: #333333;}
-/* Post body styles
-----------------------------------------*/
-.postbody {color: #333333;}
-/* Content container styles
-----------------------------------------*/
-.content {color: #333333;}
-.content h2, .panel h2 {color: #115098;
- border-bottom-color: #CCCCCC;
-}
-dl.faq dt {color: #333333;}
-.posthilit {background-color: #F3BFCC;
- color: #BC2A4D;
-}
-/* Post signature */
-.signature {border-top-color: #CCCCCC;}
-/* Post noticies */
-.notice {border-top-color: #CCCCCC;}
-/* BB Code styles
-----------------------------------------*/
-/* Quote block */
-blockquote {background-color: #EBEADD;
- background-image: url("{T_IMAGE_PATH}quote.gif");
- border-color:#DBDBCE;
-}
-blockquote blockquote {/* Nested quotes */
- background-color:#EFEED9;
-}
-blockquote blockquote blockquote {/* Nested quotes */
- background-color: #EBEADD;
-}
-/* Code block */
-dl.codebox {background-color: #FFFFFF;
- border-color: #C9D2D8;
-}
-dl.codebox dt {border-bottom-color: #CCCCCC;
-}
-dl.codebox code {color: #2E8B57;}
-.syntaxbg { color: #FFFFFF; }
-.syntaxcomment { color: #FF8000; }
-.syntaxdefault { color: #0000BB; }
-.syntaxhtml { color: #000000; }
-.syntaxkeyword { color: #007700; }
-.syntaxstring { color: #DD0000; }
-/* Attachments
-----------------------------------------*/
-.attachbox {background-color: #FFFFFF;
- border-color: #C9D2D8;
-}
-.pm-message .attachbox {background-color: #F2F3F3;}
-.attachbox dd {border-top-color: #C9D2D8;}
-.attachbox p {color: #666666;}
-.attachbox p.stats {color: #666666;}
-.attach-image img {border-color: #999999;}
-/* Inline image thumbnails */
-dl.file dd {color: #666666;}
-dl.thumbnail img {border-color: #666666;
- background-color: #FFFFFF;
-}
-dl.thumbnail dd {color: #666666;}
-dl.thumbnail dt a:hover {background-color: #EEEEEE;}
-dl.thumbnail dt a:hover img {border-color: #368AD2;}
-/* Post poll styles
-----------------------------------------*/
-fieldset.polls dl {border-top-color: #DCDEE2;
- color: #666666;
-}
-fieldset.polls dl.voted {color: #000000;
-}
-fieldset.polls dd div {color: #FFFFFF;
-}
-.rtl .pollbar1, .rtl .pollbar2, .rtl .pollbar3, .rtl .pollbar4, .rtl .pollbar5 {border-right-color: transparent;
-}
-.pollbar1 {background-color: #AA2346;
- border-bottom-color: #74162C;
- border-right-color: #74162C;
-}
-.rtl .pollbar1 {border-left-color: #74162C;}
-.pollbar2 {background-color: #BE1E4A;
- border-bottom-color: #8C1C38;
- border-right-color: #8C1C38;
-}
-.rtl .pollbar2 {border-left-color: #8C1C38;}
-.pollbar3 {background-color: #D11A4E;
- border-bottom-color: #AA2346;
- border-right-color: #AA2346;
-}
-.rtl .pollbar3 {border-left-color: #AA2346;}
-.pollbar4 {background-color: #E41653;
- border-bottom-color: #BE1E4A;
- border-right-color: #BE1E4A;
-}
-.rtl .pollbar4 {border-left-color: #BE1E4A;}
-.pollbar5 {background-color: #F81157;
- border-bottom-color: #D11A4E;
- border-right-color: #D11A4E;
-}
-.rtl .pollbar5 {border-left-color: #D11A4E;}
-/* Poster profile block
-----------------------------------------*/
-.postprofile {color: #666666;
- border-left-color: #FFFFFF;
-}
-.rtl .postprofile {border-right-color: #FFFFFF;
- border-left-color: transparent;
-}
-.pm .postprofile {border-left-color: #DDDDDD;}
-.rtl .pm .postprofile {border-right-color: #DDDDDD;
- border-left-color: transparent;
-}
-.postprofile strong {color: #000000;}
-.online {background-image: url("./styles/prosilver/imageset/fr/icon_user_online.gif");}
-/*
---------------------------------------------------------------
-Colours and backgrounds for buttons.css
--------------------------------------------------------------- */
-a.fontsize {background-image: url("{T_IMAGE_PATH}icon_fontsize.gif");}
-/* Icon images
----------------------------------------- */
-.sitehome { background-image: url("{T_IMAGE_PATH}icon_home.gif"); }
-.icon-faq { background-image: url("{T_IMAGE_PATH}icon_faq.gif"); }
-.icon-ucp { background-image: url("{T_IMAGE_PATH}feed-icon.png"); }
-.icon-members { background-image: url("{T_IMAGE_PATH}icon_members.gif"); }
-.icon-home { background-image: url("{T_IMAGE_PATH}icon_home.gif"); }
-.icon-register { background-image: url("{T_IMAGE_PATH}icon_register.gif"); }
-.icon-logout { background-image: url("{T_IMAGE_PATH}icon_logout.gif"); }
-.icon-bookmark { background-image: url("{T_IMAGE_PATH}icon_bookmark.gif"); }
-.icon-subscribe { background-image: url("{T_IMAGE_PATH}icon_subscribe.gif"); }
-.icon-search { background-image: url("{T_IMAGE_PATH}icon_search.gif"); }
-/*
---------------------------------------------------------------
-Colours and backgrounds for forms.css
--------------------------------------------------------------- */
-/* General form styles
-----------------------------------------*/
-select {border-color: #666666;
- background-color: #FAFAFA;
-}
-label {color: #425067;}
-option.disabled-option {color: graytext;}
-/* Definition list layout for forms
----------------------------------------- */
-dd label {color: #333;}
-/* Hover effects */
-fieldset dl:hover dt label {color: #000000;}
-fieldset.fields2 dl:hover dt label {color: inherit;}
-/* Quick-login on index page */
-fieldset.quick-login input.inputbox {background-color: #F2F3F3;}
-/* Input field styles
----------------------------------------- */
-.inputbox {background-color: #FFFFFF;
- border-color: #B4BAC0;
- color: #333333;
-}
-.inputbox:hover {border-color: #11A3EA;}
-.inputbox:focus {border-color: #11A3EA;
- color: #0F4987;
-}
-/* Form button styles
----------------------------------------- */
-a.button1, input.button1, input.button3, a.button2, input.button2 {color: #000;
- background-color: #FAFAFA;
- background-image: url("{T_IMAGE_PATH}bg_button.gif");
-}
-a.button1, input.button1 {border-color: #666666;}
-input.button3 {background-image: none;}
-/* Alternative button */
-a.button2, input.button2, input.button3 {border-color: #666666;}
-/* <a> button in the style of the form buttons */
-a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active {color: #000000;}
-/* Hover states */
-a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {border-color: #BC2A4D;
- color: #BC2A4D;
-}
-input.search {background-image: url("{T_IMAGE_PATH}icon_textbox_search.gif");}
-#wrap {
- padding: 0 20px;
-}
diff --git a/phpBB/gym_sitemaps/style/gym_rss.xsl b/phpBB/gym_sitemaps/style/gym_rss.xsl deleted file mode 100644 index 7f09c89684..0000000000 --- a/phpBB/gym_sitemaps/style/gym_rss.xsl +++ /dev/null @@ -1,197 +0,0 @@ -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> -<xsl:output - method="html" - version="1.0" - encoding="utf-8" - omit-xml-declaration="yes" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" - indent="yes" /> -<xsl:template match="/rss" > - -<xsl:variable name="rss_link"> - <xsl:value-of select="channel/textInput/link" /> -</xsl:variable> -<xsl:variable name="home_link">{ROOT_URL}</xsl:variable> -<xsl:variable name="browser"> - <xsl:choose><xsl:when test="system-property('xsl:vendor')='Transformiix'">mozilla</xsl:when> - <xsl:otherwise>other</xsl:otherwise> - </xsl:choose> -</xsl:variable> -<xsl:variable name="sorting"> - <xsl:choose><xsl:when test="$browser='mozilla'">descending</xsl:when> - <xsl:otherwise>ascending</xsl:otherwise> - </xsl:choose> -</xsl:variable> -<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> -<head> - <base href="{PHPBB_URL}"/> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <title><xsl:value-of select="channel/title" /> - {L_FEED}</title> - <link rel="alternate" type="application/rss+xml" title="{channel/title}" href="{$rss_link}" /> - <link rel="stylesheet" href="{T_CSS_PATH}" type="text/css" media="screen, projection"/> - <link href="{T_STYLE_PATH}normal.css" rel="stylesheet" type="text/css" title="A" /> - <link href="{T_STYLE_PATH}medium.css" rel="alternate stylesheet" type="text/css" title="A+" /> - <link href="{T_STYLE_PATH}large.css" rel="alternate stylesheet" type="text/css" title="A++" /> - <script type="text/javascript" src="{T_STYLE_PATH}gym_js.js"></script> -</head> -<body id="phpbb"> -<!-- - GYM Sitemaps and RSS XSLTransform - (C) phpBB SEO - http://www.phpbb-seo.com/ ---> - <div id="wrap"> - <a id="top" name="top" accesskey="t"></a> - <div id="page-header"> - <div class="headerbar"> - <div class="inner"><span class="corners-top"><span></span></span> - <div id="site-description"><a href="{$home_link}" title="{L_HOME}" id="logo"><img src="{channel/image/url}" alt="{channel/image/title}" /></a> - <h1>{SITENAME}</h1> - <p>{SITE_DESCRIPTION}</p> - <p style="display: none;"><a href="#start_here">{L_SKIP}</a></p> - </div> - <div id="search-box"> - <form action="{PHPBB_URL}search.php" method="post" id="search"> - <fieldset> - <input name="keywords" id="keywords" type="text" maxlength="128" title="" class="inputbox search" value="" /> - <input class="button2" value="{L_SEARCH}" type="submit" /><br /> - <a href="{PHPBB_URL}search.php" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> - </fieldset> - </form> - </div> - <span class="corners-bottom"><span></span></span> - </div> - </div> - <div class="navbar"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="linklist navlinks"> - <li class="icon-home"> - <a href="{$home_link}" accesskey="h">{L_HOME}</a> <strong>‹</strong>  - <xsl:if test="$home_link != '{PHPBB_URL}'"> - <xsl:if test="'{PHPBB_URL}' != channel/link"> - <a href="{PHPBB_URL}">{L_FORUM_INDEX}</a> <strong>‹</strong>  - </xsl:if> - </xsl:if> - <a href="{channel/link}" title="{channel/title}"><span class="html"><xsl:value-of select="channel/title" /></span></a> <strong>‹</strong> <a href="{$rss_link}">{L_SOURCE}</a></li> - <li class="rightside"><a href="#" onclick="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li> - </ul> - <ul class="linklist leftside"> - <li class="icon-ucp"> - <a href="{$rss_link}" title="{channel/title}" accesskey="u"><span class="html"><xsl:value-of select="channel/title" /> - {L_FEED}</span></a> - </li> - </ul> - <ul class="linklist rightside"> - <li class="icon-faq"><a href="{PHPBB_URL}faq.php" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li> - <li class="icon-register"><a href="{PHPBB_URL}ucp.php?mode=register">{L_REGISTER}</a></li> - </ul> - <span class="corners-bottom"><span></span></span> - </div> - </div> - </div> - <a name="start_here"></a> - <div id="page-body"><br/> - <div class="clear"></div> - <xsl:for-each select="channel"> - <div class="post bg3"> - <div class="inner"><span class="corners-top"><span></span></span> - <div class="postbody"><div class="html"><p><h2><a href="{link}" title="{title}"><span class="html"><xsl:value-of select="title" disable-output-escaping="yes"/></span></a></h2></p><hr/> - - <p><span class="html"><xsl:call-template name="nl2br"><xsl:with-param name="input" select="description" /></xsl:call-template></span><br/><br/> -{L_SUBSCRIBE} - <form action="" method="POST" > - <fieldset > - <label><a href="{$rss_link}" title="{title}"><img src="{T_IMAGE_PATH}feed-icon.png" alt="{L_2_LINK}" align="middle"/></a> {L_2_LINK}</label> - <input name="urlrss" type="text" value="{$rss_link}" size="80" maxlength="500"/> - </fieldset> - </form> - <br/> -{L_LAST_UPDATE} : <xsl:value-of select="lastBuildDate"/><br/> -{L_UPDATE} : <xsl:value-of select="ttl"/> {L_MINUTES}.<br/><br/> - <xsl:choose> - <xsl:when test="count(item) = 1"> <b>{L_ITEM_LISTED}</b> - </xsl:when> - <xsl:otherwise> - <b><xsl:value-of select="count(item)"/> {L_ITEMS_LISTED}</b> - </xsl:otherwise> - </xsl:choose></p></div></div> - <dl class="postprofile"> - <dt>{L_SUBSCRIBE_POD}<br/><br/> - <a href="http://fusion.google.com/add?feedurl={$rss_link}" target="_google"><img src="{T_IMAGE_PATH}addGoogle.gif" border="0" alt="Add to Google" title="Add to Google"/></a><br/> - <a href="http://add.my.yahoo.com/rss?url={$rss_link}" target="_yahoo"><img src="{T_IMAGE_PATH}addtomyyahoo.gif" border="0" alt="Add to My Yahoo" title="Add to My Yahoo"/></a><br/> - <a href="http://my.msn.com/addtomymsn.armx?id=rss&ut={$rss_link}&ru={$rss_link}" target="_msn"><img src="{T_IMAGE_PATH}MyMSN.gif" alt="Add to My MSN" title="Add to My MSN"/></a><br/> - <a href="http://feeds.my.aol.com/index.jsp?url={$rss_link}" target="_aol"><img alt="Add to MY AOL" src="{T_IMAGE_PATH}myaol.gif" title="Add to My AOL" border="0"/></a><br/> - <a href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url={$rss_link}" target="_newsgator"><img src="{T_IMAGE_PATH}newsgator.gif" alt="Subscribe in NewsGator Online" title="Subscribe in NewsGator Online" border="0"/></a><br/> - <a href="http://www.netvibes.com/subscribe.php?url={$rss_link}" target="_netvibes"><img src="{T_IMAGE_PATH}add2netvibes.gif" border="0" alt="Add to Netvibes" title="Add to Netvibes"/></a><br/> - <a href="http://www.pageflakes.com/subscribe.aspx?url={$rss_link}" target="_pageflakes"><img src="{T_IMAGE_PATH}pageflakes.gif" border="0" alt="Add to Page Flakes" title="Add to Page Flakes"/></a><br/> - </dt> - </dl> - - <span class="corners-bottom"><span></span></span> - </div> - </div> - <br/><br/> - <xsl:for-each select="item"> - <xsl:sort select="substring(pubDate,12,string-length(pubDate))" order="{$sorting}" data-type="number"/> - <div class="post bg2"> - <div class="inner"><span class="corners-top"><span></span></span> - <div class="postbody"> - <div class="content"><p><h2><a href="{link}" title="{title}"><span class="html"><xsl:value-of select="title" disable-output-escaping="yes"/></span></a></h2></p> - <span class="html"><xsl:call-template name="nl2br"><xsl:with-param name="input" select="description" /></xsl:call-template></span> - <div class="signature"> - <b>{L_BOOKMARK_THIS}</b>  - <a href="http://www.scoopeo.com/scoop/new?newurl={link}&title={title}" title="Scoopeo : {title}"><img src="{T_IMAGE_PATH}scoopeo.png" alt="Scoopeo" /></a>  - <a href="http://www.wikio.fr/publish?url={link}&title={title}" title="Wikio : {title}"><img src="{T_IMAGE_PATH}wikio.gif" alt="Wikio" /></a>  - <a href="http://digg.com/submit?phase=2&url={link}&title={title}" title="Digg : {title}"><img src="{T_IMAGE_PATH}digg.png" alt="Digg" /></a>  - <a href="http://www.fuzz.fr/submit?url={link}&title={title}" title="Fuzz : {title}"><img src="{T_IMAGE_PATH}fuzz.png" alt="Fuzz" /></a>  - <a href="http://www.nuouz.com/addNews.aspx?url={link}&title={title}" title="Nuouz : {title}"><img src="{T_IMAGE_PATH}nuouz.png" alt="Nuouz" /></a>  - <a href="http://reddit.com/submit?url={link}&title={title}" title="Reddit : {title}"><img src="{T_IMAGE_PATH}reddit.png" alt="Reddit" /></a>  - <a href="http://www.addthis.com/bookmark.php" onclick="window.open('http://www.addthis.com/bookmark.php?wt=nw&url={link}&title={title}', 'addthis', 'scrollbars=yes,menubar=no,resizable=yes,toolbar=no,location=no,status=no,width=620,height=560,left=200,top=100'); return false;" title="addThis : {title}"><img src="{T_IMAGE_PATH}addthis.gif" alt="addThis" /></a> - </div> - </div> - </div> - <dl class="postprofile"> - <dt><b>{L_LINK} :</b><br/> <a href="{link}" title="{title}" ><span class="html"><xsl:value-of select="title" disable-output-escaping="yes"/></span></a><br/> - <b>{L_SOURCE} :</b><br/> <a href="{source/@url}" title="{source}"><img src="{T_IMAGE_PATH}feed-icon.png" alt="{L_2_LINK}" align="middle"/> <span class="html"><xsl:value-of select="source" disable-output-escaping="yes"/></span></a><br/> - <b>{L_LASTMOD_DATE} :</b><br/> <xsl:value-of select="pubDate" /> - </dt> - <dd> </dd> - </dl> - <div class="back2top"><a href="{$rss_link}#wrap" class="top" title="{L_BACK_TO_TOP}"></a>{L_BACK_TO_TOP} </div> - <span class="corners-bottom"><span></span></span> - </div> - </div> - <br/><hr class="divider" /> - </xsl:for-each> - </xsl:for-each> - </div> - </div> - -<div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000 - 2008 phpBB Group</div> -<!-- - We request you retain the full copyright notice below, as well as in all templates you may use, - including the link to www.phpbb-seo.com. - This not only gives respect to the large amount of time given freely by the developers - but also helps build interest, traffic and use of www.phpBB-SEO.com - If you cannot (for good reason) retain the full copyright we request you at least leave in place the - "Copyright phpBB SEO" line, with "phpBB SEO" linked to www.phpbb-seo.com. - If you refuse to include even this, then support and further development on our forums may be affected. - The phpBB SEO Team. ---> -<div class="copyright">{L_COPY} <a href="http://feedvalidator.org/check.cgi?url={$rss_link}"><img src="{T_IMAGE_PATH}rss-valid.gif" alt="{L_RSS_VALID}" title="{L_RSS_VALID}" /></a></div> -</body> -</html> -</xsl:template> -<!-- nl2br template for cleaner output, no brs in xml ! --> -<xsl:template name="nl2br"> - <xsl:param name="input" /> - <xsl:choose> - <xsl:when test="contains($input,'
')"> - <xsl:call-template name="nl2br"><xsl:with-param name="input" select="concat(substring-before($input,'
'), '<br>',substring-after($input,'
'))" /> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of disable-output-escaping="yes" select="$input" /> - </xsl:otherwise> - </xsl:choose> -</xsl:template> -</xsl:stylesheet> diff --git a/phpBB/gym_sitemaps/style/large.css b/phpBB/gym_sitemaps/style/large.css deleted file mode 100644 index dfb1d2c2e6..0000000000 --- a/phpBB/gym_sitemaps/style/large.css +++ /dev/null @@ -1,3 +0,0 @@ -body { - font-size: 12px; -}
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/style/medium.css b/phpBB/gym_sitemaps/style/medium.css deleted file mode 100644 index 4c992f9fd8..0000000000 --- a/phpBB/gym_sitemaps/style/medium.css +++ /dev/null @@ -1,3 +0,0 @@ -body { - font-size: 11px; -}
\ No newline at end of file diff --git a/phpBB/gym_sitemaps/style/normal.css b/phpBB/gym_sitemaps/style/normal.css deleted file mode 100644 index d0783d1882..0000000000 --- a/phpBB/gym_sitemaps/style/normal.css +++ /dev/null @@ -1,3 +0,0 @@ -body { - font-size: 10px; -}
\ No newline at end of file diff --git a/phpBB/gymrss.php b/phpBB/gymrss.php deleted file mode 100644 index b67f73884b..0000000000 --- a/phpBB/gymrss.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gymrss.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -define('IN_PHPBB', true); -$phpEx = substr(strrchr(__FILE__, '.'), 1); -$phpbb_root_path = './'; -include($phpbb_root_path . 'common.' . $phpEx); -// Start session management -$user->session_begin(); -$auth->acl($user->data); -$user->setup('gym_sitemaps/gym_common'); -// Start the process -require($phpbb_root_path . 'gym_sitemaps/includes/gym_rss.' . $phpEx); - -$gym_rss = new gym_rss(); -exit; -?>
\ No newline at end of file diff --git a/phpBB/includes/acm/acm_memcache.php b/phpBB/includes/acm/acm_memcache.php index f61f0a039e..e54fa36c38 100644 --- a/phpBB/includes/acm/acm_memcache.php +++ b/phpBB/includes/acm/acm_memcache.php @@ -135,4 +135,4 @@ class acm extends acm_memory } } -?>
\ No newline at end of file +?> diff --git a/phpBB/includes/acp/acp_gym_sitemaps.php b/phpBB/includes/acp/acp_gym_sitemaps.php deleted file mode 100644 index a78ec9fbc0..0000000000 --- a/phpBB/includes/acp/acp_gym_sitemaps.php +++ /dev/null @@ -1,1255 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: acp_gym_sitemaps.php 272 2010-11-21 13:56:31Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* phpBB_SEO Class -* www.phpBB-SEO.com -* @package Advanced phpBB3 SEO mod Rewrite -*/ -class acp_gym_sitemaps { - var $u_action; - var $new_config = array(); - var $dyn_select = array(); - var $gym_config = array(); - var $gym_modules = array(); - var $gym_modules_acp = array(); - var $mode = 'gym'; - var $modes = array(); - var $module = 'gym'; - var $action = 'main'; - var $maction = ''; - var $support_link = array(); - var $override = array(); - var $override_type = array(); - var $array_type_cfg = array(); - var $multiple_options = array(); - var $modrtype_lang = array(); - var $write_type = 'forum'; - var $lengh_limit = 20; - var $word_limit = 3; - var $seo_unset_opts = array(); - - /** - * Constructor - */ - function main($id, $mode) { - global $config, $db, $user, $auth, $template, $cache; - global $phpbb_root_path, $phpbb_admin_path, $phpEx, $table_prefix, $phpbb_seo, $_action_types; - require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_common.' . $phpEx); - // Start the phpbb_seo class - if ( !is_object($phpbb_seo) ) { - if ( file_exists($phpbb_root_path . 'phpbb_seo/phpbb_seo_class.' . $phpEx)) { - require_once($phpbb_root_path . 'phpbb_seo/phpbb_seo_class.' . $phpEx); - } else { - require_once($phpbb_root_path . 'gym_sitemaps/includes/phpbb_seo_class_light.' . $phpEx); - } - $phpbb_seo = new phpbb_seo(); - } - $user->add_lang('gym_sitemaps/acp/gym_common'); - // action=(module|cache|modrewrite...)&module=(main|forum| ...) - $action = request_var('action', 'main'); - $module = request_var('module', 'main'); - // maction =(settings|maintenance|save)&action=(module|cache|modrewrite...)&module=(main|forum| ...) - $maction = request_var('maction', ''); - $mactions = array('settings', 'maintenance', 'install'); - $maction = in_array($maction, $mactions) ? $maction : ''; - $submit = (isset($_POST['submit'])) ? true : false; - $this->modes = $_action_types; - $this->override_type = $_override_types; - $this->override = array(); - // Filter allowed modes - $this->mode = $mode; - $this->module = $module; - $this->action = $action; - $this->maction = $maction; - $this->set_phpbb_seo_links(); - // Get gym config - obtain_gym_config('main', $this->gym_config); - $this->new_config = $this->gym_config; - // define common validation arrays - $this->dyn_select['modrtype'] = array( 0 => 'GYM_MODREWRITE_NONE', 1 => 'GYM_MODREWRITE_SIMPLE', 2 => 'GYM_MODREWRITE_MIXED', 3 => 'GYM_MODREWRITE_ADVANCED'); - $this->dyn_select['gzip_level'] = array( 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8, 9 => 9); - $this->dyn_select['sort'] = array( 'DESC' => 'GYM_DESC', 'ASC' => 'GYM_ASC'); - $this->dyn_select['override'] = array( OVERRIDE_GLOBAL => 'GYM_OVERRIDE_GLOBAL', OVERRIDE_OTYPE => 'GYM_OVERRIDE_OTYPE', OVERRIDE_MODULE => 'GYM_OVERRIDE_MODULE'); - $this->dyn_select['sumarize_method'] = array( 'chars' => 'GYM_METHOD_CHARS', 'words' => 'GYM_METHOD_WORDS', 'lines' => 'GYM_METHOD_LINES'); - $this->dyn_select['gym_auth'] = array( - 'admin' => 'GYM_AUTH_ADMIN', - 'globalmod' => 'GYM_AUTH_GLOBALMOD', - 'reg' => 'GYM_AUTH_REG', - 'guest' => 'GYM_AUTH_GUEST', - 'all' => 'GYM_AUTH_ALL', - 'none' => 'GYM_AUTH_NONE', - ); - $this->dyn_select['rss_linking_types'] = array('n' => 'RSS_LINKING_NEWS', 'nd' => 'RSS_LINKING_NEWS_DIGEST', 'r' => 'RSS_LINKING_REGULAR', 'rd' => 'RSS_LINKING_REGULAR_DIGEST'); - // Get the module list - // Populate the $this->gym_modules[$mode][$module] array - $this->gym_get_modules($mode); - // Load the relevant modules acp options - // Populate the $this->gym_modules_acp[$mode][$module] array - $this->gym_module_acp($mode, $module); - // Acp options array for this case - $display_vars = $error = array(); - // salt the form - $form_key = 'acp_gym'; - add_form_key($form_key); - // check form salt - if ($submit && !check_form_key($form_key)) { - $error[] = $user->lang['FORM_INVALID']; - $submit = false; - } - // Cache management - if ($maction === 'maintenance') { - $display_vars = $this->gym_maintenance( $mode, $module, $action, $submit ); - $submit = false; - } elseif ($maction === 'settings') { // settings management - $display_vars = $this->gym_set_default( $mode, $module, $action, $submit ); - $submit = false; - } elseif ($maction === 'install') { // module install - $display_vars = $this->gym_install( $mode, $module, $action, $submit ); - $submit = false; - } else { - if ( !in_array($mode, $this->modes) || !in_array($module, $this->gym_modules[$mode])) { - trigger_error('NO_MODE', E_USER_ERROR); - } else { - $script_to_check = array(); - if (empty($this->gym_modules_acp[$mode][$module][$action]['display_vars'])) { - $action = $this->action = 'main'; - } - // here we'll check if the GYM script urls are consistent - if (!$submit) { - $this->check_scripts($error, $this->gym_config, $mode); - } - $display_vars = $this->gym_modules_acp[$mode][$module][$action]['display_vars']; - // Check if we do not have a new module needing a new config key - $clear_cache = false; - foreach ($display_vars['vars'] as $key => $value) { - if (!isset($this->gym_config[$key]) && strpos($key, 'legend') === false) { - $clear_cache = true; - if(isset($this->gym_modules_acp[$mode][$module][$action]['default'][$key])) { - $this->new_config[$key] = $this->gym_modules_acp[$mode][$module][$action]['default'][$key]; - set_gym_config($key, $this->new_config[$key], $mode, $this->gym_config); - } - } - } - if ($clear_cache) { - $this->remove_cache('config'); - } - } - } - // Load the module's language files - foreach ($this->gym_modules_acp[$mode] as $active_modules => $null) { - if (!empty($this->gym_modules_acp[$mode][$active_modules]['info']['lang_file'])) { - $user->add_lang('gym_sitemaps/acp/' . $this->gym_modules_acp[$mode][$active_modules]['info']['lang_file']); - } - } - $cfg_array = (isset($_REQUEST['config'])) ? utf8_normalize_nfc(request_var('config', array('' => ''), true)) : $this->new_config; - // We validate the complete config if whished - validate_config_vars($display_vars['vars'], $cfg_array, $error); - - // check script urls if necessary - if ($submit && isset($cfg_array[$mode . '_url'])) { - // will enforce trailing slashes automatically - $this->check_scripts($error, $cfg_array, $mode); - } - // Do not write values if there is an error - if (sizeof($error)) { - $submit = false; - } - // We go through the display_vars to make sure no one is trying to set variables he/she is not allowed to... - foreach ($display_vars['vars'] as $config_name => $cfg_setup) { - if ( (!isset($cfg_array[$config_name]) && @$cfg_setup['method'] != 'select_multiple_string') || strpos($config_name, 'legend') !== false) { - continue; - } - // Handle multiple select options - if (!empty($cfg_setup['method']) && $cfg_setup['method'] == 'select_multiple_string') { - if (isset($_POST['multiple_' . $config_name])) { - $m_values = utf8_normalize_nfc(request_var('multiple_' . $config_name, array('' => ''))); - $validate_int = $cfg_setup['multiple_validate'] == 'int' ? true : false; - foreach($m_values as $k => $v) { - if ($validate_int) { - $v = (int) $v; - } - if (empty($v)) { - unset($m_values[$k]); - } else { - $m_values[$k] = $v; - } - } - sort($m_values); - $this->new_config[$config_name] = $m_values; - $config_value = implode(',', $m_values); - if ( strlen($config_value) > 255 ) { - $error[] = sprintf($user->lang['SETTING_TOO_LONG'], $user->lang[$cfg_setup['lang']], 255); - } - $submit = empty($error); - } else { - if ($submit) { - $this->new_config[$config_name] = array(); - $config_value = ''; - } else { - $config_value = $this->new_config[$config_name]; - $this->new_config[$config_name] = !empty($config_value) ? explode(',', $config_value) : array(); - } - } - } else { - $this->new_config[$config_name] = $config_value = $cfg_array[$config_name]; - } - if ($submit) { - set_gym_config($config_name, $config_value, $mode, $this->gym_config); - } - } - if ($submit) { - $this->remove_cache('config'); - add_log('admin', 'GYM_LOG_CONFIG_' . strtoupper($mode)); - trigger_error($user->lang['CONFIG_UPDATED'] . $this->back_to_prev()); - } - $this->tpl_name = 'acp_gym_sitemaps'; - $this->page_title = $display_vars['title']; - // add the maitenance links - $maintenance_links = ''; - $maintenance_links .= '<a href="' . $this->u_action . '&maction=maintenance&action=' . $action . '&module=' . $module . '"><b style="color:red;">' . $user->lang['GYM_MAINTENANCE'] . '</b></a><b> • </b>'; - $maintenance_links .= '<a href="' . $this->u_action . '&maction=settings&action=' . $action . '&module=' . $module . '"><b style="color:red;">' . $user->lang['GYM_SETTINGS'] . '</b></a>'; - $install_link = ($mode !== 'main') ? '<b> • </b><a href="' . $this->u_action . '&maction=install&action=' . $action . '&module=' . $module . '"><b style="color:red;">' . $user->lang['GYM_INSTALL'] . '</b></a>' : ''; - if ($action === 'gzip') { - // Adjust language variable a bit - $user->lang['GYM_GZIP_EXPLAIN'] = sprintf( $user->lang['GYM_GZIP_EXPLAIN'], ($config['gzip_compress'] ? $user->lang['GYM_GZIP_FORCED'] : $user->lang['GYM_GZIP_CONFIGURABLE']) ); - } - $lang_key = 'GYM_' . strtoupper($mode); - $l_mode_title = $this->safe_lang($lang_key); - $l_mode_title_explain = $this->safe_lang($lang_key . '_EXPLAIN'); - $lang_key = $this->gym_modules_acp[$mode][$module]['info']['title_lang']; - $l_module_title = $this->safe_lang($lang_key); - $l_module_title_explain = $this->safe_lang($lang_key . '_EXPLAIN'); - $l_title = $this->safe_lang($display_vars['title']); - $l_title_explain = $this->safe_lang($display_vars['title'] . '_EXPLAIN'); - $l_title_explain .= ($action === 'cache' && $mode !== 'html') ? $this->check_cache_folder($phpbb_root_path . 'gym_sitemaps/cache') : ''; - $template->assign_vars(array( - 'L_MODE_TITLE' => $l_mode_title, - 'L_MODE_ITLE_EXPLAIN' => $l_mode_title_explain, - 'L_MODULE_TITLE' => $l_module_title, - 'L_MODULE_ITLE_EXPLAIN' => $l_module_title_explain, - 'L_TITLE' => $l_title, - 'L_TITLE_EXPLAIN' => $l_title_explain, - 'GYM_VERSION' => $this->gym_config['gym_version'], - 'INSTALL_LINK' => $install_link, - 'MAINTENANCE_LINKS' => $maintenance_links, - 'S_ERROR' => (sizeof($error)) ? true : false, - 'ERROR_MSG' => implode('<br />', $error), - 'S_SUBMIT_BUTTON' => !empty($this->gym_modules_acp[$mode][$module][$action]['default']), - 'U_ACTION' => $this->u_action . '&maction=' . $maction . '&action=' . $action . '&module=' . $module) - ); - - $this->gym_module_menu( $mode, $module, $action ); - - $this->gym_menu( $mode, $module, $action ); - // Output relevant page - foreach ($display_vars['vars'] as $config_key => $vars) { - if (!is_array($vars) && strpos($config_key, 'legend') === false) { - continue; - } - if (strpos($config_key, 'legend') !== false) { - $template->assign_block_vars('options', array( - 'S_LEGEND' => true, - 'LEGEND' => $this->safe_lang($vars)) - ); - continue; - } - $type = explode(':', $vars['type']); - $l_explain = ''; - if ($vars['explain'] && isset($vars['lang_explain'])) { - $l_explain = $this->safe_lang($vars['lang_explain']); - } elseif ($vars['explain']) { - $l_explain = $this->safe_lang($vars['lang'] . '_EXPLAIN'); - } - // Add overriding infos - $form = true; - if (isset($vars['overriding']) && $vars['overriding']) { - $vars['append'] = $this->is_overriden($mode, $module, $action, $config_key, $vars); - //$form = $vars['append'] == $this->safe_lang('GYM_COULD_OVERRIDE') ? true : false; - } - $content = ''; - $template->assign_block_vars('options', array( - 'KEY' => $config_key, - 'TITLE' => $this->safe_lang($vars['lang']), - 'S_EXPLAIN' => $vars['explain'], - 'TITLE_EXPLAIN' => $l_explain, - 'CONTENT' => $form ? build_cfg_template($type, $config_key, $this->new_config, $config_key, $vars) : $vars['append'], - ) - ); - unset($display_vars['vars'][$config_key]); - } - } - /** - * gym_get_modules($mode). - * Populates $this->gym_modules[$mode][$module] - * with the acp modules list - */ - function gym_get_modules($mode) { - global $cache, $phpEx, $phpbb_root_path; - if (($this->gym_modules[$mode] = $cache->get('_gym_modules_' . $mode)) === false) { - $this->gym_modules[$mode] = array(); - $dir = @opendir( $phpbb_root_path . 'gym_sitemaps/acp' ); - while( ($file = @readdir($dir)) !== FALSE ) { - if(preg_match('`^' . $mode . '_([a-z0-9_-]+)\.' . $phpEx . '$`i', $file, $matches)) { - $module = trim(str_replace( $mode . '_', '' , str_replace('.' . $phpEx , '' ,$file)), "/"); - if ($matches[1] == 'main' || (file_exists($phpbb_root_path . 'gym_sitemaps/modules/' . $file) && !empty($this->gym_config[$mode . '_' . $module . '_installed'])) ) { - $this->gym_modules[$mode][$module] = $module; - } - } - } - @closedir($dir); - // Reorder a bit, put the main panel at the first position, others will keep - // the file system sorting - if (!empty($this->gym_modules[$mode]['main'])) { - $main = $this->gym_modules[$mode]['main']; - unset($this->gym_modules[$mode]['main']); - $this->gym_modules[$mode] = array('main' => $main) + $this->gym_modules[$mode]; - - } - $cache->put('_gym_modules_' . $mode, $this->gym_modules[$mode]); - } - if (!is_array($this->gym_modules[$mode]) || empty($this->gym_modules[$mode])) { - $this->remove_cache('acp', $mode); - } - } - /** - * gym_module_acp($mode, $module) - * loads acp module options in the $this->gym_modules_acp[$mode][$mode_module] array. - */ - function gym_module_acp($mode, $module) { - global $phpbb_root_path, $phpEx, $cache; - if (is_array($this->gym_modules[$mode]) && ($this->gym_modules_acp[$mode] = $cache->get('_gym_acp_' . $mode)) === false) { - foreach ($this->gym_modules[$mode] as $mode_module) { - $this->gym_pick_module($mode, $mode_module, $this->gym_modules_acp); - } - $cache->put('_gym_acp_' . $mode, $this->gym_modules_acp[$mode]); - } - if (!@is_array($this->gym_modules_acp[$mode]) || empty($this->gym_modules_acp[$mode])) { - $this->remove_cache('acp', $mode); - } - } - /** - * gym_pick_module( $mode, $module, $action) - * pick a given module data - */ - function gym_pick_module( $mode, $mode_module, &$return_array) { - global $phpbb_root_path, $phpEx; - $module_class = $mode . '_' . $mode_module; - $module_file = $phpbb_root_path . 'gym_sitemaps/acp/' . $module_class . '.' . $phpEx; - if ( file_exists($module_file) ) { - include_once($module_file); - if (class_exists($module_class)) { - $gym_module = new $module_class($this); - if ( method_exists($gym_module, 'acp_module')) { - $return_array[$mode][$mode_module] = $gym_module->acp_module(); - } - } - } - } - /** - * gym_menu( $mode, $module, $action) - * Builds the module action links - */ - function gym_menu( $mode, $module, $action) { - global $template, $user; - foreach ($this->gym_modules_acp[$mode][$module]['info']['actions'] as $module_action) { - $template->assign_block_vars('menu', array( - 'L_TITLE' => $this->safe_lang($this->gym_modules_acp[$mode][$module][$module_action]['display_vars']['title']), - 'S_SELECTED' => $action == $module_action ? true : false, - 'U_TITLE' => $this->u_action . '&action=' . $module_action . '&module=' . $module, - )); - } - $template->assign_vars(array('S_MENU' => empty($this->maction))); - return; - } - /** - * gym_module_menu( $mode, $module, $action) - * builds the module ACP links - */ - function gym_module_menu( $mode, $module, $action ) { - global $template, $user; - foreach ($this->gym_modules_acp[$mode] as $modules) { - $template->assign_block_vars('menu_module', array( - 'L_TITLE' => $this->safe_lang($modules['info']['title_lang']), - 'S_SELECTED' => ($module == @$modules['info']['module'] && $this->maction !== 'install') ? true : false, - 'U_TITLE' => $this->u_action . '&module=' . @$modules['info']['module'] . (!empty($action) ? "&action=$action" : ''), - )); - } - $template->assign_vars(array('S_MENU' => true)); - $template->assign_vars(array('S_MENU_MODULE' => true)); - return; - } - /** - * gym_install( $mode, $module, $action, $submit = false ) - * handle module install / un-install - */ - function gym_install( $mode, $module, $action, $submit = false ) { - global $user, $phpEx, $phpbb_root_path; - $post_array = (isset($_REQUEST['config'])) ? utf8_normalize_nfc(request_var('config', array('' => ''), true)) : array(); - if ($submit) { - $un_install = $install = array(); - foreach ($this->gym_modules[$mode] as $_module) { // check if we need to uninstall - $type_module = $mode . '_' . $_module; - if (isset($post_array[$type_module]) && !$post_array[$type_module] && !empty($this->gym_config[$type_module . '_installed'])) { // Uninstall - $un_install[$mode][$_module] = $type_module; - } - } - $dir = @opendir( $phpbb_root_path . 'gym_sitemaps/acp' ); - while( ($file = @readdir($dir)) !== false ) { // check if we need to install - if(preg_match('`^' . $mode . '_([a-z0-9_-]+)\.' . $phpEx . '$`i', $file, $matches)) { - $type_module = trim(str_replace('.' . $phpEx , '' ,$file), "/"); - $_module = str_replace($mode . '_', '', $type_module); - if ($matches[1] !== 'main' && file_exists($phpbb_root_path . 'gym_sitemaps/modules/' . $file) && !isset($this->gym_modules[$mode][$_module]) && !empty($post_array[$type_module])) { - $install[$mode][$_module] = $type_module; - } - } - } - // Now un-install - if (!empty($un_install)) { - foreach ($un_install[$mode] as $_module => $type_module) { - // In case we are uninstalling from this module - // we go back to main - if ($module == $this->module) { - $this->module = 'main'; - } - set_gym_config($type_module . '_installed', 0, 'main', $this->gym_config); - $this->gym_set_default( $mode, $_module, $action, true, true, true ); - } - } - // Now install - if (!empty($install)) { - foreach ($install[$mode] as $_module => $type_module) { - set_gym_config($type_module . '_installed', 1, 'main', $this->gym_config); - } - $this->remove_cache('config'); - $this->remove_cache('acp'); - $this->gym_get_modules($mode); - foreach ($install[$mode] as $_module => $type_module) { - $this->gym_set_default( $mode, $_module, $action, true, true ); - } - } - $this->remove_cache('config'); - $this->remove_cache('acp'); - trigger_error($user->lang['CONFIG_UPDATED'] . $this->back_to_prev()); - } - // Adjust language variable a bit - $user->lang['GYM_MODULE_INSTALL'] = sprintf($user->lang['GYM_MODULE_INSTALL'], $user->lang[strtoupper($mode)] ); - $user->lang['GYM_MODULE_INSTALL_EXPLAIN'] = sprintf($user->lang['GYM_MODULE_INSTALL_EXPLAIN'], $user->lang[strtoupper($mode)] ); - $display_vars = array( 'title' => 'GYM_MODULE_INSTALL'); - $display_vars['vars'] = array(); - $i = 1; - // Installed modules - $active = array(); - foreach ($this->gym_modules[$mode] as $_module) { - if ($_module !== 'main') { - $active[$mode][$_module] = $mode . '_' . $_module; - } - } - if (!empty($active)){ // Add the active module list - $display_vars['vars']['legend' . $i] = 'GYM_MODULES_INSTALLED'; - $i++; - foreach ($active[$mode] as $_module => $type_module) { // Installed modules - // Grabb the data - //$this->gym_module_acp($mode, $type_module); - $this->new_config[$type_module] = 1; - $display_vars['vars'][$type_module] = array('lang' => strtoupper($type_module), 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false); - } - } - // now check if we have some module to install - $unactive = array(); - $dir = @opendir( $phpbb_root_path . 'gym_sitemaps/acp' ); - while( ($file = @readdir($dir)) !== FALSE ) { - if(preg_match('`^' . $mode . '_([a-z0-9_-]+)\.' . $phpEx . '$`i', $file, $matches)) { - $type_module = trim(str_replace('.' . $phpEx , '' ,$file), "/"); - $_module = str_replace($mode . '_', '', $type_module); - if ($matches[1] !== 'main' && file_exists($phpbb_root_path . 'gym_sitemaps/modules/' . $file) && !isset($this->gym_modules[$mode][$_module])) { - $unactive[$mode][$_module] = $type_module; - if ($_module != 'main' && !empty($this->gym_config[$type_module . '_installed'])) { - set_gym_config($type_module . '_installed', 0, 'main', $this->gym_config); - } - } - } - } - if (!empty($unactive)){ // Add the not active module list - $display_vars['vars']['legend' . $i] = 'GYM_MODULES_UNINSTALLED'; - $i++; - foreach ($unactive[$mode] as $_module => $type_module) { // Uninstalled modules - // Grabb the data - $this->gym_pick_module($mode, $_module, $module_data); - if (!empty($module_data[$mode][$_module]['info']['lang_file'])) { - $user->add_lang('gym_sitemaps/acp/' . $module_data[$mode][$_module]['info']['lang_file']); - } - $this->new_config[$type_module] = 0; - $display_vars['vars'][$type_module] = array('lang' => strtoupper($type_module), 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false); - } - } - return $display_vars; - } - /** - * gym_set_default( $mode, $module, $action, $submit = false, $silent = false, $uninstall = false ) - * Set default values for modules - */ - function gym_set_default( $mode, $module, $action, $submit = false, $silent = false, $uninstall = false ) { - global $user, $phpbb_root_path, $phpEx; - $post_array = (isset($_REQUEST['config'])) ? utf8_normalize_nfc(request_var('config', array('' => ''), true)) : array(); - $this->new_config['reset_all'] = $reset_all = isset($post_array['reset_all']) ? $post_array['reset_all'] : false; - if ($silent) { - $reset_all = true; - } - if ($submit) { - if ($mode === 'main' ) { // Reset all seting for all output and all modules - foreach ($this->modes as $output_mode) { // List the output modes - $this->gym_get_modules($output_mode); - foreach ($this->gym_modules[$output_mode] as $type_module) { // List modules from each output mode - if (!empty($post_array[$output_mode . '_' . $type_module . '_reset']) || $reset_all) { - // Grabb the data - $this->gym_module_acp($output_mode, $type_module); - foreach($this->gym_modules_acp[$output_mode][$type_module]['info']['actions'] as $module_action) { - foreach ($this->gym_modules_acp[$output_mode][$type_module][$module_action]['default'] as $module_config => $default_value ) { // In the end list possible options for this module's option set - // Update config - if ($uninstall) { - rem_gym_config($module_config, $this->gym_config); - } else { - set_gym_config($module_config, $default_value, $output_mode, $this->gym_config); - } - } - } - } - } - } - } elseif ($module === 'main') { // Only looking for one output type modules - foreach ($this->gym_modules[$mode] as $type_module) { // add the output types modules - if (!empty($post_array[$mode . '_' . $type_module . '_reset']) || $reset_all) { - // Grabb the data - $this->gym_module_acp($mode, $type_module); - foreach($this->gym_modules_acp[$mode][$type_module]['info']['actions'] as $module_action) { - foreach ($this->gym_modules_acp[$mode][$type_module][$module_action]['default'] as $module_config => $default_value ) { - // Update config - if ($uninstall) { - rem_gym_config($module_config, $this->gym_config); - } else { - set_gym_config($module_config, $default_value, $mode, $this->gym_config); - } - } - } - } - } - } else { // Only reset this module config - $this->gym_module_acp($mode, $module); - // Allow modules with no acp - if (!empty($this->gym_modules_acp[$mode][$module]['info'])) { - foreach ($this->gym_modules_acp[$mode][$module]['info']['actions'] as $module_action ) { - foreach ($this->gym_modules_acp[$mode][$module][$module_action]['default'] as $module_config => $default_value ) { - if (!empty($post_array[$mode . '_' . $module . '_' . $module_action . '_reset']) || $reset_all) { - // Update config - if ($uninstall) { - rem_gym_config($module_config, $this->gym_config); - } else { - set_gym_config($module_config, $default_value, $mode, $this->gym_config); - } - } - } - } - } - } - $this->clear_all_cache(); - unset($post_array); - if (!$silent) { - trigger_error($user->lang['CONFIG_UPDATED'] . $this->back_to_prev()); - } else { - return; - } - } - // Adjust language variable a bit - $user->lang['GYM_RESET'] = sprintf($user->lang['GYM_RESET'], $user->lang[strtoupper($mode)] ); - $user->lang['GYM_RESET_EXPLAIN'] = sprintf($user->lang['GYM_RESET_EXPLAIN'], $user->lang[strtoupper($mode)] ); - $display_vars = array( 'title' => 'GYM_RESET'); - $i = 1; - if ($mode === 'main' ) { // Reset all seting for all output and all modules - foreach ($this->modes as $output_mode) { // List the output types modules - $this->gym_get_modules($output_mode); - $display_vars['vars']['legend' . $i] = strtoupper($output_mode); - $i++; - foreach ($this->gym_modules[$output_mode] as $type_module) { // Then the modules - // Grabb the data - $this->gym_module_acp($output_mode, $type_module); - // Then the associated language files if any - if (!empty($this->gym_modules_acp[$output_mode][$type_module]['info']['lang_file'])) { - $user->add_lang('gym_sitemaps/acp/' . $this->gym_modules_acp[$output_mode][$type_module]['info']['lang_file']); - } - $var_key = $output_mode . '_' . $type_module . '_reset'; - $this->new_config[$var_key] = 0; - $display_vars['vars'][$var_key] = array('lang' => strtoupper($var_key), 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true); - } - } - } elseif ($module === 'main') { // Only looking for one output type modules - - foreach ($this->gym_modules[$mode] as $type_module) { // add the output types modules - // Grabb the data - $this->gym_module_acp($mode, $type_module); - $display_vars['vars']['legend' . $i] = strtoupper($mode . '_' . $type_module); - $i++; - $var_key = $mode . '_' . $type_module . '_reset'; - $this->new_config[$var_key] = 0; - $display_vars['vars'][$var_key] = array('lang' => strtoupper($var_key), 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true); - } - } else { // Only reset this module config - $this->gym_module_acp($mode, $module); - $display_vars['vars']['legend' . $i] = strtoupper($mode . '_' . $module) . '_RESET'; - $i++; - // Grabb the data - foreach ($this->gym_modules_acp[$mode][$module]['info']['actions'] as $module_action ) { - if (!empty($this->gym_modules_acp[$mode][$module][$module_action]['display_vars']['vars'])) { - $var_key = $mode . '_' . $module . '_' . $module_action . '_reset'; - $this->new_config[$var_key] = 0; - $display_vars['vars'][$var_key] = array('lang' => strtoupper($var_key), 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true); - } - } - } - $display_vars['vars']['legend' . $i] = 'GYM_RESET_ALL'; - $i++; - $display_vars['vars']['reset_all'] = array('lang' => 'GYM_RESET_ALL', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true); - return $display_vars; - } - /** - * gym_maintenance( $mode, $module, $action, $submit = false ) - * handle cache (data + module's cache) clearing - */ - function gym_maintenance( $mode, $module, $action, $submit = false ) { - global $user, $phpbb_root_path, $phpEx; - $post_array = (isset($_REQUEST['config'])) ? utf8_normalize_nfc(request_var('config', array('' => ''), true)) : array(); - $this->new_config['cache_action'] = $cache_action = isset($post_array['cache_action']) ? $post_array['cache_action'] : 'all'; - $this->new_config['acp_modules'] = $acp_modules = isset($post_array['acp_modules']) ? $post_array['acp_modules'] : false; - unset($post_array); - $regexes = array( 'all' => '[a-z0-9_-]+', 'google' => 'google_', 'rss' => 'rss_', /*'html' => 'html_', 'yahoo' => 'yahoo_'*/); - - $cache_dir = $phpbb_root_path . 'gym_sitemaps/cache/'; - $cache_regex = $style_regex = $regexes['all']; - if ($cache_action == 'all') { - if ($mode != 'main') { - $cache_regex = $style_regex = $mode . '_'; - } - } else { - if ($mode != 'main') { // we are at the output type level - $cache_regex = $style_regex = $mode . '_'; - $cache_regex .= $cache_action . '_'; - } else { // At the global level, we only can delete complete output type cache at once - $cache_regex = isset($regexes[$cache_action]) ? $regexes[$cache_action] : $regexes['all']; - - } - } - if ($submit) { - $message = ''; - if ($acp_modules) { - $this->remove_cache('acp', $cache_action); - $message = $user->lang['MODULE_CACHE_CLEARED'] . '<br/><br/>'; - } - $accessed = false; - $deleted = ''; - $res = opendir($cache_dir); - if($res) { - $num_del = 0; - while(($file = readdir($res))) { - // includes CSS and XSL cache - if(preg_match('`^(style_' . $style_regex . '|' . $cache_regex . ')[a-z0-9_-]+\.(xml|xml\.gz|css|xsl)$`i', $file)) { - @unlink($cache_dir . $file); - $deleted .= "<li>$file</li>"; - $num_del++; - } - } - $accessed = true; - } - closedir($res); - if ($accessed) { - if ($deleted !='') { - $message .= $user->lang['GYM_CACHE_CLEARED'] . $cache_dir . '<br/><br/>'; - $message .= '<div align="left">' . $user->lang['GYM_FILE_CLEARED'] . " $num_del<ul>$deleted</ul></div>"; - } else { - $message .= $user->lang['GYM_CACHE_ACCESSED'] . $cache_dir; - } - } else { - $message .= $user->lang['GYM_CACHE_NOT_CLEARED'] . $cache_dir; - } - trigger_error($message . $this->back_to_prev()); - } - // Clear cache type - if ($mode === 'main') { - $cache_actions = array( 'gym' => $user->lang['ALL'], 'google' => $user->lang['GOOGLE'], 'rss' => $user->lang['RSS'], /*'yahoo' => $user->lang['YAHOO'], 'html' => $user->lang['HTML']*/); - } else { - $cache_actions = array(); - foreach ($this->gym_modules[$mode] as $mode_module) { - if ($mode_module === 'main') { - if ($module !== 'main') { - continue; - } - $mode_module = 'all'; - } - if (!empty($this->gym_modules_acp[$mode][$mode_module]['info']['lang_file'])) { - $user->add_lang('gym_sitemaps/acp/' . $this->gym_modules_acp[$mode][$mode_module]['info']['lang_file']); - } - $cache_actions[$mode_module] = $this->safe_lang(strtoupper($mode . '_' . $mode_module . '_reset')); - } - } - $this->gym_modules_acp[$this->mode][$this->module][$this->action]['select']['cache_action'] = $cache_actions; - // Adjust language variable a bit - $user->lang['GYM_MODULE_MAINTENANCE'] = sprintf($user->lang['GYM_CLEAR_CACHE'], $user->lang[strtoupper($mode)] ); - $user->lang['GYM_MODULE_MAINTENANCE_EXPLAIN'] = sprintf($user->lang['GYM_MODULE_MAINTENANCE_EXPLAIN'], $user->lang[strtoupper($mode)] ); - $user->lang['GYM_CLEAR_CACHE'] = sprintf($user->lang['GYM_CLEAR_CACHE'], $user->lang[strtoupper($mode)] ); - $user->lang['GYM_CLEAR_CACHE_EXPLAIN'] = sprintf($user->lang['GYM_CLEAR_CACHE_EXPLAIN'], $user->lang[strtoupper($mode)] ); - $user->lang['GYM_CLEAR_ACP_CACHE'] = sprintf($user->lang['GYM_CLEAR_ACP_CACHE'], $user->lang[strtoupper($mode)] ); - $user->lang['GYM_CLEAR_ACP_CACHE_EXPLAIN'] = sprintf($user->lang['GYM_CLEAR_ACP_CACHE_EXPLAIN'], $user->lang[strtoupper($mode)] ); - $display_vars = array( 'title' => 'GYM_MODULE_MAINTENANCE', - 'vars' => array( - 'legend1' => 'GYM_MODULE_MAINTENANCE', - 'cache_action' => array('lang' => 'GYM_CLEAR_CACHE','validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true,), - 'acp_modules' => array('lang' => 'GYM_CLEAR_ACP_CACHE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - ), - ); - return $display_vars; - } - /** - * is_overriden($mode, $module, $action, $config_key, $vars) - * tell if an option is overriden - */ - function is_overriden($mode, $module, $action, $config_key, $vars) { - global $user; - static $override_msg = array(); - if (empty($override_msg)) { - $override_msg = array( OVERRIDE_GLOBAL => 'GYM_OVERRIDED_GLOBAL', OVERRIDE_OTYPE => 'GYM_OVERRIDED_OTYPE', OVERRIDE_MODULE => 'GYM_OVERRIDED_MODULE'); - } - // Define overrides if needed - if (empty($this->override[$mode][$module])) { - foreach ($this->override_type as $_type) { - $this->override[$mode][$module][$_type] = $this->_set_override($mode, $module, $_type); - } - $this->override[$mode][$module][$mode] = $this->gym_config[$mode . '_override']; - } - $override = $overrided = $level = ''; - if ($mode != 'main') { - // We are setting up an output type - if ($module != 'main') { - $option = str_replace($mode . "_$module" . '_', '', $config_key); - $level = OVERRIDE_MODULE; - } else { // we are setting up a module - $option = str_replace($mode . '_', '', $config_key); - $level = OVERRIDE_OTYPE; - } - } else { // Main level - $option = str_replace('gym_', '', $config_key); - $level = OVERRIDE_GLOBAL; - } - if (in_array($action, $this->override_type)) { // Main overrides - $override = $this->override[$mode][$module][$action]; - } else { - $override = $this->override[$mode][$module][$mode]; - } - $overrided = $this->_overriden_type($mode, $module, $option, $override, $level); - if ($overrided['override'] == $level) { - return '<br/><i style="color:green">' . $this->safe_lang('GYM_COULD_OVERRIDE') . '</i>'; - } else { - $message = ''; - // Check if we should show the value used - if ($overrided['used_value'] !== 'current') { - // Check var type - if ($vars['validate'] == 'bool') { - $message = $overrided['used_value'] ? $user->lang['YES'] : $user->lang['NO']; - - } elseif (($vars['validate'] == 'int' || $vars['validate'] == 'string') && !@$vars['method'] == 'select_string') { - $message = htmlspecialchars($overrided['used_value']); - $message = $message == '' ? $user->lang['GYM_OVERRIDED_VALUE_NOTHING'] : $message; - - } elseif (@$vars['method'] == 'select_string') { - $select_ary = $this->gym_modules_acp[$mode][$module][$action]['select'][$config_key]; - $message = $this->safe_lang($select_ary[$overrided['used_value']]); - } - } - $message = !empty($message) ? '<br/>' . $user->lang['GYM_OVERRIDED_VALUE'] . $message : ''; - return '<br/><i style="color:red">' . $this->safe_lang($override_msg[$overrided['override']]) . $message . '</i>'; - } - } - - /** - * _overriden_type() - * helper for is_overriden() - */ - function _overriden_type($mode, $module, $option, $override, $level ) { - // module level - if ( ($override == OVERRIDE_MODULE) && @isset($this->gym_config[$mode . "_$module" . "_$option"])) { - return array('override' => OVERRIDE_MODULE); - } - // Output type level - if ( $override != OVERRIDE_GLOBAL && @isset($this->gym_config[$mode . "_$option"])) { - return array('override' => OVERRIDE_OTYPE, 'used_value' => ($level != OVERRIDE_OTYPE ? $this->gym_config[$mode . "_$option"] : 'current' ) ); - } - // Global level - if (isset($this->gym_config["gym_$option"])) { - return array('override' => OVERRIDE_GLOBAL, 'used_value' => ($level != OVERRIDE_GLOBAL ? $this->gym_config["gym_$option"] : 'current' ) ); - } elseif ( @isset($this->gym_config[$mode . "_$option"]) ) { - return array('override' => OVERRIDE_OTYPE, 'used_value' => ($level != OVERRIDE_OTYPE ? $this->gym_config[$mode . "_$option"] : 'current' ) ); - } elseif ( @isset($this->gym_config[$mode . "_$module" . "_$option"]) ) { - return array('override' => OVERRIDE_MODULE, 'used_value' => ($level != OVERRIDE_MODULE ? $this->gym_config[$mode . "_$module" . "_$option"] : 'current' ) ); - } else { - return null; - } - } - /** - * _set_override() - * helper for is_overriden() - */ - function _set_override($mode, $module, $type) { - $main_key = 'gym_override_' . $type; - $mode_key = $mode . '_override_' . $type; - // $module_key = $module != 'main' ? $mode . '_' . $module . '_override_' . $type : 0; - if ($this->gym_config['gym_override']) { - return ($this->gym_config[$main_key] != OVERRIDE_GLOBAL) ? ($this->gym_config[$mode_key] != OVERRIDE_GLOBAL ? $this->gym_config[$mode_key] : $this->gym_config[$main_key]) : OVERRIDE_GLOBAL; - } else { - return $this->gym_config[$mode_key]; - } - } - /** - * safe_lang($lang_key) - * Safely set a lang key - */ - function safe_lang($lang_key) { - global $user; - return isset($user->lang[$lang_key]) ? $user->lang[$lang_key] : htmlspecialchars($lang_key); - } - /** - * back_to_prev() - * Generate back link for acp pages - */ - function back_to_prev() { - global $user; - return '<br /><br /><a href="' . $this->u_action . '&maction=' . $this->maction . '&action=' . $this->action . '&module=' . $this->module . '">« ' . $user->lang['BACK_TO_PREV'] . '</a>'; - } - /** - * module_custom_select($value, $key) to grabb custom select function from modules - * In the $display_vars array : - * 'gym_config_key' => array('lang' => 'LANG_TITLE', 'validate' => 'int|bool|string', 'type' => 'custom', 'method' => 'module_custom_select', 'explain' => true), - * Will build the custom select unsing the module's select_gym_config_key($value, $key) method. - */ - function module_custom_select($value, $key) { - global $phpbb_root_path, $phpEx; - $method = 'select_' . $key; - $module_file = $phpbb_root_path . 'gym_sitemaps/acp/modules/' . $this->mode . '_' . $this->module . '.' . $phpEx; - if ( file_exists($module_file) ) { - include_once($module_file); - if (class_exists($module_class)) { - $gym_module = new $module_class($this); - if ( method_exists($gym_module, $method)) { - return $gym_module->$method($value, $key); - } - } - } - // Error - } - /** - * select_multiple_string($value, $key) custom select string - */ - function select_multiple_string($value, $key) { - $select_ary = $this->gym_modules_acp[$this->mode][$this->module][$this->action]['select'][$key]; - $size = min(12,count($select_ary)); - $html = '<select multiple="multiple" id="' . $key . '" name="multiple_' . $key . '[]" size="' . $size . '">'; - foreach ($select_ary as $sel_key => $sel_data) { - if (empty($sel_data['disabled'])) { - $selected = @array_search($sel_key, @$this->new_config[$key]) !== false ? 'selected="selected"' : ''; - $disabled = ''; - } else { - $disabled = 'disabled="disabled" class="disabled-option"'; - $selected = ''; - } - $sel_title = $sel_data['title']; - $html .= "<option value=\"$sel_key\" $disabled $selected>$sel_title</option>"; - } - return $html . '</select>'; - } - /** - * select_string($value, $key) custom select string - */ - function select_string($value, $key) { - $select_ary = $this->gym_modules_acp[$this->mode][$this->module][$this->action]['select'][$key]; - $html = ''; - foreach ($select_ary as $sel_key => $sel_lang) { - $selected = ($sel_key == @$this->new_config[$key]) ? ' selected="selected"' : ''; - $sel_title = $this->safe_lang($sel_lang); - $html .= '<option value="' . $sel_key . '"' . $selected . '>' . $sel_title . '</option>'; - } - return $html; - } - /** - * validate_num($value, $key, $num) validate num, 2.3255 - */ - function validate_num($value, $key, $float = 1, $min = 0 , $max = 4) { - $float = $float > 0 ? (int) $float : 0; - $min = $min > 0 ? $min : 0; - $max = $max > 0 ? $max : 4; - $value = ($value >= $min && $value <= $max) ? $value : ($max/2); - $value = $float > 0 ? sprintf('%.' . $float . 'f', $value) : (int) $value; - return '<input id="' . $key . '" type="text" size="' . (strlen($max) + $float + 1) . '" maxlength="' . (strlen($max) + $float + 1) . '" name="config[' . $key . ']" value="' . $value . '" />'; - } - /** - * forum_select() // custom forum select setup - */ - function forum_select() { - if (empty($this->dyn_select['forums'])) { - $this->dyn_select['forums'] = make_forum_select(false, false, true, true, true, false, true); - foreach($this->dyn_select['forums'] as $f_id => $f_data) { - $this->dyn_select['forums'][$f_id] = array( - 'title' => $f_data['padding'] . $f_data['forum_name'], - 'disabled' => $f_data['disabled'], - ); - } - } - } - /** - * clear_all_cache() - * Clears all the gym sitemaps cache ( acp modules, module lists and config ) - */ - function clear_all_cache($option = '') { - global $phpbb_root_path, $phpEx, $acm_type, $cache; - if ($acm_type !== 'file') { - // Apparently, we cannot loop through cached variable using cache class in such case, purge all for now - $cache->purge(); - return; - } - $dir = opendir( $cache->cache_dir ); - $action_from_file = ''; - while( ($file = @readdir($dir)) !== false ) { - if(preg_match('`^data_gym_' . $option . '[a-z0-9_-]+\.' . $phpEx . '$`i', $file)) { - @unlink($cache->cache_dir . $file); - } - } - @closedir($dir); - return; - } - /** - * remove_cache($cache_type, $file_type) - * Removes/unlinks config cache file(s) - */ - function remove_cache($type = 'config', $mode = '') { - global $phpbb_root_path, $phpEx, $acm_type; - if ($type == 'all' || $acm_type !== 'file') { - $this->clear_all_cache(); - return; - } - $RegEx = ($type === 'config') ? '(config|links|auth)' : ''; - $RegEx .= (!empty($mode) && in_array($mode, $this->modes) ? "_$mode" : ''); - $this->clear_all_cache($RegEx); - return; - } - /** - * set_phpbb_seo_links Builds links to support threads - */ - function set_phpbb_seo_links() { - global $config, $user, $template; - $this->support_link['links_en'] = array( 'release' => 'http://www.phpbb-seo.com/en/gym-sitemaps-rss/google-yahoo-msn-sitemaps-rss-t2734.html', 'support' => 'http://www.phpbb-seo.com/en/gym-sitemaps-rss/', 'seo_forum' => 'http://www.phpbb-seo.com/en/', 'subscribe' => 'http://www.phpbb-seo.com/en/gym-sitemaps-rss/google-yahoo-msn-sitemaps-rss-t2734.html' ); - $this->support_link['links_fr'] = array( 'release' => 'http://www.phpbb-seo.com/fr/gym-sitemaps-rss/sitemaps-rss-google-yahoo-msn-t3136.html', 'support' => 'http://www.phpbb-seo.com/fr/gym-sitemaps-rss/', 'seo_forum' => 'http://www.phpbb-seo.com/fr/', 'subscribe' => 'http://www.phpbb-seo.com/fr/gym-sitemaps-rss/sitemaps-rss-google-yahoo-msn-t3136.html' ); - if (strpos($config['default_lang'], 'fr') !== false ) { - $this->support_link['release'] = $this->support_link['links_fr']['release']; - $this->support_link['support'] = $this->support_link['links_fr']['support']; - $this->support_link['seo_forum'] = $this->support_link['links_fr']['seo_forum']; - $this->support_link['subscribe'] = $this->support_link['links_fr']['subscribe']; - } else { - $this->support_link['release'] = $this->support_link['links_en']['release']; - $this->support_link['support'] = $this->support_link['links_en']['support']; - $this->support_link['seo_forum'] = $this->support_link['links_en']['seo_forum']; - $this->support_link['subscribe'] = $this->support_link['links_en']['subscribe']; - } - $this->support_link['register'] = $this->support_link['seo_forum'] . 'profile.php?mode=register'; - $this->support_link['update_msg'] = sprintf($user->lang['ACP_SEO_REGISTER_MSG'], sprintf($user->lang['ACP_SEO_REGISTER_TITLE'],$this->support_link['register'] ), sprintf($user->lang['ACP_SEO_REGISTER_UPDATE'], $this->support_link['subscribe'] ) ); - $user->lang['TRANSLATION_INFO'] .= '<br/><a href="http://www.phpbb-seo.com/" title="' . ( strpos($config['default_lang'], 'fr') !== false ? 'Optimisation du Référencement' : 'Search Engine Optimization') . '">phpBB SEO</a>'; - $this->support_link['release_full'] = '<a href="' . $this->support_link['release'] . '" title="' . $user->lang['ACP_SEO_RELEASE_THREAD'] . '">' . $user->lang['ACP_SEO_RELEASE_THREAD'] . '</a>'; - $this->support_link['support_full'] = '<a href="' . $this->support_link['support'] . '" title="' . $user->lang['ACP_SEO_SUPPORT_FORUM'] . '">' . $user->lang['ACP_SEO_SUPPORT_FORUM'] . '</a>'; - $this->support_link['seo_forum_full'] = '<a href="' . $this->support_link['seo_forum'] . '" title ="phpBB SEO">phpBB SEO</a>'; - $template->assign_vars(array( - 'SUPPORT_LINKS' => '<p>' . $this->support_link['release_full'] . ' • ' . $this->support_link['support_full'] . ' • ' . $this->support_link['seo_forum_full'] . '</p>', - ) - ); - if ($this->mode === 'main' && $this->module === 'main' && $this->action === 'main') { - $user->lang['MAIN_MAIN_EXPLAIN'] = sprintf( $user->lang['MAIN_MAIN_EXPLAIN'], $this->support_link['release_full'], $this->support_link['support_full'], $this->support_link['seo_forum_full'], $this->support_link['update_msg'] ); - } - return; - } - /** - * check_scripts Validates GYM scripts (gymrss, sitemap & map) locations - */ - function check_scripts(&$error, &$cfg_array, $only_mode = '') { - global $phpbb_root_path, $phpEx, $user, $phpbb_seo, $phpbb_admin_path; - $allowed_protocols = array('http', 'https'/*, 'ftp', 'ftps'*/); - $error = is_array($error) ? $error : array(); - // check file_get_contents availability - $file_get = function_exists('file_get_contents'); - if (!$file_get) { - // file_get_contents is not available, we won't be able to check everything - // @TODO find out how (we won't thgouh an error just for this), - // and also if it would be useful, to warn user about this - } - $scripts = array( - 'rss' => array('file' => 'gymrss',), - 'google' => array('file' => 'sitemap',), - 'html' => array('file' => 'map',), - ); - $only_mode = $only_mode && isset($scripts[$only_mode]) ? $only_mode : false; - if ($only_mode) { - $scripts[$only_mode]['url_config'] = isset($cfg_array[$only_mode . '_url']) ? ($cfg_array[$only_mode . '_url'] = trim($cfg_array[$only_mode . '_url'], ' /') . '/') : ''; - $scripts = array($only_mode => $scripts[$only_mode]); - } else { - foreach ($scripts as $k => $v) { - if (isset($cfg_array[$k . '_url'])) { - $scripts[$k]['url_config'] = isset($cfg_array[$k . '_url']) ? ($cfg_array[$k . '_url'] = trim($cfg_array[$k . '_url'], ' /') . '/') : ''; - } else { - // do not check without a reference - unset($scripts[$k]); - } - } - } - // let's not show a warning for a proto matter (since they are dealt with runtime) - foreach ($scripts as $k => $v) { - $scripts[$k]['url_config'] = $scripts[$k]['url_config'] ? $phpbb_seo->sslify($scripts[$k]['url_config'], $phpbb_seo->ssl['use']) : ''; - } - $phpbb_url_config_url = append_sid($phpbb_admin_path . "index.$phpEx", "i=board&mode=server#force_server_vars"); - // all script should be placed in the same domain as phpBB - $root_url = $phpbb_seo->seo_path['root_url']; - if (($root_url_parts = @parse_url($root_url)) === false || empty($root_url_parts['scheme']) || !in_array($root_url_parts['scheme'], $allowed_protocols) || empty($root_url_parts['host'])) { - // the root url as set is wrong in phpbb config - $error[] = sprintf($user->lang['GYM_WRONG_PHPBB_URL'], $phpbb_url_config_url); - return false; - } - // deal with paths - $phpbb_url = $phpbb_seo->seo_path['phpbb_url']; - // the path from domain root to phpBB - $phpbb_clean_root_path = $phpbb_seo->seo_path['phpbb_script']; - $phpbb_root_path_parts = trim($phpbb_clean_root_path, '/ '); - $phpbb_root_path_parts = $phpbb_root_path_parts ? explode('/', $phpbb_root_path_parts) : false; - $phpbb_root_path_levels = 0; - if ($phpbb_root_path_parts) { - // the number of sub directory starting from domain's root - $phpbb_root_path_levels = count($phpbb_root_path_parts); - } - // form here to domain's root and then to domains root to phpBB directory should be a way to hit common.php - // from phpBB to domain's root - $phpbb_test_path = str_repeat('../', $phpbb_root_path_levels); - // from domain's root to phpBB - $phpbb_test_path .= $phpbb_clean_root_path; - if (!file_exists($phpbb_root_path . $phpbb_test_path)) { - // the root url as set is wrong in phpbb config - $error[] = sprintf($user->lang['GYM_WRONG_PHPBB_URL'], $phpbb_url_config_url); - return false; - } - foreach ($scripts as $mode => $setup) { - $error[$mode] = '<h2>' . $user->lang[strtoupper($mode) . '_URL'] . '</h2>'; - $url_config_url = append_sid($phpbb_admin_path . "index.$phpEx", "i=gym_sitemaps&mode=$mode#{$mode}_url"); - $script_file = $setup['file'] . ".$phpEx"; - if (($url_parts = @parse_url($setup['url_config'])) === false || empty($root_url_parts['scheme']) || !in_array($root_url_parts['scheme'], $allowed_protocols) || empty($root_url_parts['host'])) { - // the scritp url is wrong - $error[] = sprintf($user->lang['GYM_WRONG_SCRIPT_URL'], $user->lang[strtoupper($mode)], $script_file); - $error[] = sprintf($user->lang['GYM_GO_CONFIG_SCRIPT_URL'], $user->lang[strtoupper($mode) . '_URL'], $url_config_url); - continue; - } - if (strpos($setup['url_config'], $root_url) === false ) { - // the script domain is wrong - $error[] = sprintf($user->lang['GYM_WRONG_SCRIPT_DOMAIN'], $user->lang[strtoupper($mode)], $root_url, $script_file); - $error[] = sprintf($user->lang['GYM_GO_CONFIG_SCRIPT_URL'], $user->lang[strtoupper($mode) . '_URL'], $url_config_url); - continue; - } - // current gym script is configured in the phpBB domain - // let's check paths, start with something simple - if (strpos($setup['url_config'], $phpbb_url) !== false ) { - // script is (well should be) inside phpBB directory - $script_path = str_replace($phpbb_url, '', $setup['url_config']); - // if this is a sitemap, it would be wrong to put it within a sub directory inside the phpBB directory - if ($mode === 'google') { - if ($script_path) { - // sitemap is not usable for phpBB in there - $error[] = sprintf($user->lang['GYM_WRONG_SITEMAP_LOCATION'], $phpbb_url . $script_path, $root_url . $phpbb_clean_root_path); - $error[] = sprintf($user->lang['GYM_GO_CONFIG_SCRIPT_URL'], $user->lang[strtoupper($mode) . '_URL'], $url_config_url); - continue; - } - } - if (file_exists($phpbb_root_path . $script_path . $script_file)) { - // the script is where it should - if ($file_get) { - // let's go further and check $phpbb_root_path in the script - if ($content = @file_get_contents($phpbb_root_path . $script_path . $script_file)) { - // expected pattern : $phpbb_root_path = './(some/thing/|../)'; - if (preg_match('`^[\s]*\$phpbb_root_path[\s]*\=[\s]*(\'|")([a-z0-9_\./-]+)\1[\s]*\;[\s]*$`im', $content, $match)) { - // we have a match - $file_phpbb_root_path = $match[2]; - unset($match, $content); - // since we're here inside phpBB directory - $file_phpbb_root_path_valid = $file_phpbb_root_path === './' . $script_path ? true : false; - if (!$file_phpbb_root_path_valid) { - // file_phpbb_root_path is not valid - $error[] = sprintf($user->lang['GYM_WRONG_SCRIPT2_PHPBB'], $user->lang[strtoupper($mode)], $phpbb_url . $script_path, $script_file, './' . $script_path); - $error[] = sprintf($user->lang['GYM_GO_CONFIG_SCRIPT_URL'], $user->lang[strtoupper($mode) . '_URL'], $url_config_url); - continue; - } - } - } - } - } else { - // the script is not located where the config claims it is - $error[] = sprintf($user->lang['GYM_WRONG_SCRIPT_URL'], $user->lang[strtoupper($mode)], $script_file); - $error[] = sprintf($user->lang['GYM_GO_CONFIG_SCRIPT_URL'], $user->lang[strtoupper($mode) . '_URL'], $url_config_url); - continue; - } - - } else { - // The script is (well should be) somewhere outside the phpBB directory - $script_path = str_replace($root_url, '', $setup['url_config']); - $script_path_parts = trim($script_path, '/ '); - $script_path_parts = $script_path_parts ? explode('/', $script_path_parts) : false; - $script_path_levels = 0; - if ($script_path_parts) { - // the number of sub directory starting from domain's root - $script_path_levels = count($script_path_parts); - } - // path from here to the script - // from phpBB to root - $path_from_phpbb = str_repeat('../', $phpbb_root_path_levels); - // from root to script - $path_from_phpbb .= $script_path; - // and from adm - $path_from_here = $phpbb_root_path . $path_from_phpbb; - // if this is a sitemap, it would be wrong to put it where it would not be useful - // Example : example.com/phpBB/ or example.com/ with example.com/dir/sitemap.php - if ($mode === 'google') { - if ($script_path_levels > 1) { - // we are not in domain's root where everything is always ok - $script_path_is_ok = true; - if (!$phpbb_root_path_levels) { - // for sure, this is wrong - $script_path_is_ok = false; - } else { - // $script_path_parts should be < $phpbb_root_path_parts - if ($script_path_levels < $phpbb_root_path_levels) { - // check if path is ok, $phpbb_clean_root_path must contain $script_path - foreach ($script_path_parts as $k => $v) { - // must match all the way - if ($v !== $phpbb_root_path_parts[$k]) { - $script_path_is_ok = false; - break; - } - } - } else { - // script path configured is deeper than phpBB one - $script_path_is_ok = false; - } - } - if (!$script_path_is_ok) { - // sitemap is not usable for phpBB in there - $error[] = sprintf($user->lang['GYM_WRONG_SITEMAP_LOCATION'], $phpbb_url . $script_path, $root_url . $phpbb_clean_root_path); - $error[] = sprintf($user->lang['GYM_GO_CONFIG_SCRIPT_URL'], $user->lang[strtoupper($mode) . '_URL'], $url_config_url); - continue; - } - } - } - if (file_exists($path_from_here . $script_file)) { - // the script is where it should - if ($file_get) { - // let's go further and check $phpbb_root_path in the script - if ($content = @file_get_contents($path_from_here . $script_file)) { - // expected pattern : $phpbb_root_path = './(some/thing/|../)'; - if (preg_match('`^[\s]*\$phpbb_root_path[\s]*\=[\s]*(\'|")([a-z0-9_\./-]+)\1[\s]*\;[\s]*$`im', $content, $match)) { - // we have a match - $file_phpbb_root_path = $match[2]; - unset($match, $content); - // expected path - // we need to filter any common parts in paths - // eg for the *wierd* example.com/dir/phpBB/ with example.com/dir/otherdir/script.php case, - // $phpbb_root_path should not go all the way to domain's root in script.php - if ($phpbb_root_path_levels > 1 && $script_path_levels > 1) { - if ($phpbb_root_path_parts[0] == $script_path_parts[0]) { - // these two indeed share some parts - $_phpbb_root_path_parts = $phpbb_root_path_parts; - $_script_path_parts = $script_path_parts; - foreach ($_phpbb_root_path_parts as $k => $v) { - if ($v == $_script_path_parts[$k]) { - unset($_phpbb_root_path_parts[$k], $_script_path_parts[$k]); - } else { - break; - } - } - // since the script can only be outside phpBB directory here - $_script_path_levels = count($_script_path_parts); - $_phpbb_root_path_parts = count($_phpbb_root_path_parts); - // from script to first common dir - $path_from_script = str_repeat('../', $_script_path_levels); - // and from first common dir to phpBB - $path_from_script .= trim(implode('/', $_phpbb_root_path_parts), ' /') . '/'; - $file_phpbb_root_path_valid = $file_phpbb_root_path === './' . $path_from_script ? true : false; - if (!$file_phpbb_root_path_valid) { - // file_phpbb_root_path is not valid - $error[] = sprintf($user->lang['GYM_WRONG_SCRIPT2_PHPBB'], $user->lang[strtoupper($mode)], $root_url . $script_path, $script_file, './' . $path_from_script); - $error[] = sprintf($user->lang['GYM_GO_CONFIG_SCRIPT_URL'], $user->lang[strtoupper($mode) . '_URL'], $url_config_url); - continue; - } - // we're done here - continue; - } - } - // so we do not share paths ... - // from script to root - $path_from_script = str_repeat('../', $script_path_levels); - // and from root to phpBB - $path_from_script .= $phpbb_clean_root_path; - $file_phpbb_root_path_valid = $file_phpbb_root_path === './' . $path_from_script ? true : false; - if (!$file_phpbb_root_path_valid) { - // file_phpbb_root_path is not valid - $error[] = sprintf($user->lang['GYM_WRONG_SCRIPT2_PHPBB'], $user->lang[strtoupper($mode)], $root_url . $script_path, $script_file, './' . $path_from_script); - $error[] = sprintf($user->lang['GYM_GO_CONFIG_SCRIPT_URL'], $user->lang[strtoupper($mode) . '_URL'], $url_config_url); - continue; - } - } - } - } - } else { - // the script is not located where the config claims it is - $error[] = sprintf($user->lang['GYM_WRONG_SCRIPT_URL'], $user->lang[strtoupper($mode)], $script_file); - $error[] = sprintf($user->lang['GYM_GO_CONFIG_SCRIPT_URL'], $user->lang[strtoupper($mode) . '_URL'], $url_config_url); - continue; - } - } - // if we reach here, no error where found, unset the title - unset($error[$mode]); - } - } - /** - * check_cache_folder Validates the cache folder status - */ - function check_cache_folder($cache_dir, $msg = true) { - global $user; - $exists = $write = false; - $cache_msg = ''; - $cache_dir = rtrim($cache_dir, '/'); - if (file_exists($cache_dir) && is_dir($cache_dir)) { - $exists = true; - if (!is_writeable($cache_dir)) { - phpbb_chmod($cache_dir, CHMOD_READ | CHMOD_WRITE); - $fp = @fopen($cache_dir . 'test_lock', 'wb'); - if ($fp !== false) { - $write = true; - } - @fclose($fp); - @unlink($phpbb_root_path . $dir . 'test_lock'); - } else { - $write = true; - } - } - if ($msg) { - $exists = ($exists) ? '<b style="color:green">' . $user->lang['SEO_CACHE_FOUND'] . '</b>' : '<b style="color:red">' . $user->lang['SEO_CACHE_NOT_FOUND'] . '</b>'; - $write = ($write) ? '<br/> <b style="color:green">' . $user->lang['SEO_CACHE_WRITABLE'] . '</b>' : (($exists) ? '<br/> <b style="color:red">' . $user->lang['SEO_CACHE_UNWRITABLE'] . '</b>' : ''); - $cache_msg = sprintf($user->lang['SEO_CACHE_STATUS'], $cache_dir) . '<br/>' . $exists . $write; - return '<br/><br/><b>' . $user->lang['SEO_CACHE_FILE_TITLE'] . ':</b><ul>' . $cache_msg . '</ul><br/>'; - } else { - return ($exists && $write); - } - } -} // End of acp class -?>
\ No newline at end of file diff --git a/phpBB/includes/acp/acp_phpbb_seo.php b/phpBB/includes/acp/acp_phpbb_seo.php deleted file mode 100644 index 1d55babc19..0000000000 --- a/phpBB/includes/acp/acp_phpbb_seo.php +++ /dev/null @@ -1,1140 +0,0 @@ -<?php -/** -* -* @package Ultimate SEO URL phpBB SEO -* @version $Id: acp_phpbb_seo.php 277 2010-11-25 12:09:02Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://www.opensource.org/licenses/rpl1.5.txt Reciprocal Public License 1.5 -* -*/ -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) { - exit; -} -/** -* phpBB_SEO Class -* www.phpBB-SEO.com -* @package Ultimate SEO URL phpBB SEO -*/ -class acp_phpbb_seo { - var $u_action; - var $new_config = array(); - var $dyn_select = array(); - var $forum_ids = array(); - var $array_type_cfg = array(); - var $multiple_options = array(); - var $modrtype_lang = array(); - var $write_type = 'forum'; - var $lengh_limit = 20; - var $word_limit = 3; - var $seo_unset_opts = array(); - - function main($id, $mode) { - global $config, $db, $user, $auth, $template, $cache; - global $phpbb_root_path, $phpbb_admin_path, $phpEx, $table_prefix, $phpbb_seo; - // Start the phpbb_seo class - if ( empty($phpbb_seo) ) { - include_once($phpbb_root_path . 'phpbb_seo/phpbb_seo_class.' . $phpEx); - $phpbb_seo = new phpbb_seo(); - } - $user->add_lang('mods/acp_phpbb_seo'); - $action = request_var('action', ''); - $submit = (isset($_POST['submit'])) ? true : false; - $form_key = 'acp_board'; - add_form_key($form_key); - $display_vars = array(); - // --> Zero Dupe - if (@isset($phpbb_seo->seo_opt['zero_dupe']) ) { - $this->multiple_options['zero_dupe']['post_redir_values'] = array('off' => 'off', 'post' => 'post', 'guest' => 'guest', 'all' => 'all'); // do not change - $this->multiple_options['zero_dupe']['post_redir_lang'] = array('off' => $user->lang['ACP_ZERO_DUPE_OFF'], 'post' => $user->lang['ACP_ZERO_DUPE_MSG'], 'guest' => $user->lang['ACP_ZERO_DUPE_GUEST'], 'all' => $user->lang['ACP_ZERO_DUPE_ALL']); // do not change - } - // <-- Mod rewrite selector - if ($phpbb_seo->modrtype == 1) { - $this->seo_unset_opts = array('cache_layer', 'rem_ids'); - } elseif (!$phpbb_seo->seo_opt['cache_layer']) { - $this->seo_unset_opts = array('rem_ids'); - } - $this->modrtype_lang = $this->set_phpbb_seo_links(); - $this->multiple_options['modrtype_lang'] = $this->modrtype_lang['titles']; - if (@isset($phpbb_seo->seo_opt['modrtype']) ) { - $this->multiple_options['modrtype_values'] = array( 1 => 1, 2 => 2, 3 => 3 ); // do not change; - } - // <-- Mod rewrite selector - foreach ( $this->seo_unset_opts as $opt ) { - if ( $optkey = array_search($opt, $phpbb_seo->cache_config['dynamic_options']) ) { - unset($phpbb_seo->cache_config['dynamic_options'][$optkey]); - } - } - // We need shorter URLs with Virtual Folder Trick - if ($phpbb_seo->seo_opt['virtual_folder']) { - $this->lengh_limit = 20; - $this->word_limit = 3; - } else { - $this->lengh_limit = 30; - $this->word_limit = 5; - } - $related_installed = false; - switch ($mode) { - case 'settings': - $this->write_type = 'forum'; - $display_vars['title'] = 'ACP_PHPBB_SEO_CLASS'; - $user->lang['ACP_PHPBB_SEO_CLASS_EXPLAIN'] = sprintf($user->lang['ACP_PHPBB_SEO_CLASS_EXPLAIN'], $this->modrtype_lang['ulink'], $this->modrtype_lang['uforumlink'], '</p><hr/><p><b>' . $user->lang['ACP_PHPBB_SEO_MODE'] . ' : ' . $this->modrtype_lang['link'] . ' - ' . $phpbb_seo->version . ' ( ' . $this->modrtype_lang['forumlink'] . ' )</b></p><hr/><p>'); - $display_vars['vars'] = array(); - $i = 2; - $display_vars['vars']['legend1'] = 'ACP_PHPBB_SEO_CLASS'; - foreach($phpbb_seo->cache_config['dynamic_options'] as $optionname => $optionvalue) { - if ( @is_bool($phpbb_seo->seo_opt[$optionvalue]) ) { - if ($optionvalue == 'virtual_root' && !$phpbb_seo->seo_path['phpbb_script']) { - continue; - } - $display_vars['vars'][$optionvalue] = array('lang' => $optionvalue, 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'lang_explain' => $optionvalue . '_explain'); - $this->new_config[$optionvalue] = $phpbb_seo->seo_opt[$optionvalue]; - } elseif ( @isset($this->multiple_options[$optionvalue . '_values']) ) { - $this->dyn_select[$optionvalue] = $this->multiple_options[$optionvalue . '_values']; - $display_vars['vars'][$optionvalue] = array('lang' => $optionvalue, 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'lang_explain' => $optionvalue . '_explain'); - $this->new_config[$optionvalue] = $phpbb_seo->seo_opt[$optionvalue]; - } elseif ( is_array($optionvalue)) { - $display_vars['vars']['legend' . $i] = $optionname; - $i++; - foreach ($optionvalue as $key => $value) { - $this->array_type_cfg[$optionname . '_' . $key] = array('main' => $optionname, 'sub' => $key); - if ( is_bool($value) ) { - $display_vars['vars'][$optionname . '_' . $key] = array('lang' => $optionname . '_' . $key, 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'lang_explain' => $optionname . '_' . $key . '_explain'); - $this->new_config[$optionname . '_' . $key] = $phpbb_seo->seo_opt[$optionname][$key]; - } elseif ( @isset($this->multiple_options[$optionname][$key . '_values'] )) { - $this->dyn_select[$optionname . '_' . $key] = $this->multiple_options[$optionname][$key . '_values']; - $display_vars['vars'][$optionname . '_' . $key] = array('lang' => $optionname . '_' . $key, 'validate' => 'string', 'type' => 'select', 'method' => 'select_string', 'explain' => true, 'lang_explain' => $optionname . '_' . $key . '_explain'); - $this->new_config[$optionname . '_' . $key] = $phpbb_seo->seo_opt[$optionname][$key]; - } else { - $display_vars['vars'][$optionname . '_' . $key] = array('lang' => $optionname . '_' . $key, 'validate' => 'string:0:50', 'type' => 'text:50:50', 'explain' => true, 'lang_explain' => $optionname . '_' . $key . '_explain'); - $this->new_config[$optionname . '_' . $key] = $phpbb_seo->seo_opt[$optionname][$key]; - } - - } - } - } - break; - case 'forum_url': - // used for cache - $this->write_type = 'forum'; - $forbidden = array($phpbb_seo->seo_static['forum'], $phpbb_seo->seo_static['global_announce'], $phpbb_seo->seo_static['user'], $phpbb_seo->seo_static['topic'], $phpbb_seo->seo_static['atopic'], $phpbb_seo->seo_static['utopic'], $phpbb_seo->seo_static['leaders'], $phpbb_seo->seo_static['post'], $phpbb_seo->seo_static['group'], $phpbb_seo->seo_static['npost'], $phpbb_seo->seo_static['index']); - if ( $phpbb_seo->modrtype == 1 || !$phpbb_seo->seo_opt['cache_layer'] ) { - trigger_error($user->lang['ACP_NO_FORUM_URL'] . preg_replace('`(&|&|\?)mode=forum_url`i', '', adm_back_link($this->u_action))); - break; - } - $display_vars['title'] = 'ACP_FORUM_URL'; - $user->lang['ACP_FORUM_URL_EXPLAIN'] .= '</p><hr/><p><b>' . $user->lang['ACP_PHPBB_SEO_VERSION'] . ' : ' . $this->modrtype_lang['link'] . ' - ' . $phpbb_seo->version . ' ( ' . $this->modrtype_lang['forumlink'] . ' )</b></p><hr/><p>'; - $display_vars['vars'] = array(); - $display_vars['vars']['legend1'] = 'ACP_FORUM_URL'; - $sql = "SELECT forum_id, forum_name - FROM " . FORUMS_TABLE . " - ORDER BY left_id ASC"; - $result = $db->sql_query($sql); - $forum_url_title = $error_cust = ''; - while( $row = $db->sql_fetchrow($result) ) { - $this->forum_ids[$row['forum_id']] = $row['forum_name']; - } - $db->sql_freeresult($result); - // take care of deleted forums - foreach ($phpbb_seo->cache_config['forum'] as $fid => $null) { - if (!isset($this->forum_ids[$fid])) { - unset($phpbb_seo->cache_config['forum'][$fid]); - } - } - foreach ($this->forum_ids as $forum_id => $forum_name) { - $error_cust = ''; - // Is the URL cached already ? - if ( empty($phpbb_seo->cache_config['forum'][$forum_id]) ) { - // Suggest the one from the title - $forum_url_title = $phpbb_seo->format_url($forum_name, $phpbb_seo->seo_static['forum']); - if (!in_array($forum_url_title, $forbidden)) { - if (array_search($forum_url_title, $phpbb_seo->cache_config['forum'])) { - $this->new_config['forum_url' . $forum_id] = $forum_url_title . $phpbb_seo->seo_delim['forum'] . $forum_id; - $error_cust = '<li> ' . sprintf($user->lang['SEO_ADVICE_DUPE'], $forum_url_title) . '</li>'; - } else { - $this->new_config['forum_url' . $forum_id] = $forum_url_title . (@$phpbb_seo->cache_config['settings']['rem_ids'] ? '': $phpbb_seo->seo_delim['forum'] . $forum_id); - } - } else { - $this->new_config['forum_url' . $forum_id] = $forum_url_title . $phpbb_seo->seo_delim['forum'] . $forum_id; - $error_cust = '<li> ' . sprintf($user->lang['SEO_ADVICE_RESERVED'], $forum_url_title) . '</li>'; - } - $title = '<b style="color:red">' . $forum_name . ' - ID ' . $forum_id . '</b>'; - $status_msg = '<b style="color:red">' . $user->lang['SEO_CACHE_URL_NOT_OK'] . '</b>'; - $status_msg .= '<br/><span style="color:red">' . $user->lang['SEO_CACHE_URL'] . ' :</span> ' . $this->new_config['forum_url' . $forum_id] . $phpbb_seo->seo_ext['forum']; - $display_vars['vars']['forum_url' . $forum_id] = array('lang' => $title, 'validate' => 'string', 'type' => 'custom', 'method' => 'forum_url_input', 'explain' => true, 'lang_explain_custom' => $status_msg, 'append' => $this->seo_advices($this->new_config['forum_url' . $forum_id], $forum_id, false, $error_cust)); - } else { // Cached - $this->new_config['forum_url' . $forum_id] = $phpbb_seo->cache_config['forum'][$forum_id]; - $title = '<b style="color:green">' . $forum_name . ' - ID ' . $forum_id . '</b>'; - $status_msg = '<span style="color:green">' . $user->lang['SEO_CACHE_URL_OK'] . ' :</span> <b style="color:green">' . $this->new_config['forum_url' . $forum_id] . '</b>'; - $status_msg .= '<br/><span style="color:green">' . $user->lang['SEO_CACHE_URL'] . ' :</span> ' . $this->new_config['forum_url' . $forum_id] . $phpbb_seo->seo_ext['forum']; - $display_vars['vars']['forum_url' . $forum_id] = array('lang' => $title, 'validate' => 'string:0:100', 'type' => 'custom', 'method' => 'forum_url_input', 'explain' => true, 'lang_explain_custom' => $status_msg,'append' => $this->seo_advices($this->new_config['forum_url' . $forum_id], $forum_id, true)); - } - } - break; - case 'htaccess': - $this->write_type = 'htaccess'; - $display_vars['title'] = 'ACP_HTACCESS'; - $user->lang['ACP_HTACCESS_EXPLAIN'] .= '</p><hr/><p><b>' . $user->lang['ACP_PHPBB_SEO_VERSION'] . ' : ' . $this->modrtype_lang['link'] . ' - ' . $phpbb_seo->version . ' ( ' . $this->modrtype_lang['forumlink'] . ' )</b></p><p>'; - $display_vars['vars'] = array(); - $display_vars['vars']['legend1'] = 'ACP_HTACCESS'; - $display_vars['vars']['save'] = array('lang' => 'SEO_HTACCESS_SAVE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,); - $display_vars['vars']['more_options'] = array('lang' => 'SEO_MORE_OPTION', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,); - $this->new_config['save'] = false; - $cfg_array = (isset($_REQUEST['config'])) ? utf8_normalize_nfc(request_var('config', array('' => ''), true)) : $this->new_config; - $this->new_config['more_options'] = isset($cfg_array['more_options']) ? $cfg_array['more_options'] : false; - $this->new_config['slash'] = isset($cfg_array['slash']) ? $cfg_array['slash'] : false; - $this->new_config['wslash'] = isset($cfg_array['wslash']) ? $cfg_array['wslash'] : false; - $this->new_config['rbase'] = isset($cfg_array['rbase']) ? $cfg_array['rbase'] : false; - - if ($this->new_config['more_options']) { - $display_vars['vars']['slash'] = array('lang' => 'SEO_HTACCESS_SLASH', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,); - $display_vars['vars']['wslash'] = array('lang' => 'SEO_HTACCESS_WSLASH', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,); - if ($phpbb_seo->seo_path['phpbb_script'] && !$phpbb_seo->seo_opt['virtual_root']) { - $display_vars['vars']['rbase'] = array('lang' => 'SEO_HTACCESS_RBASE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true,); - } - } - // Dirty yet simple templating - $user->lang['ACP_HTACCESS_EXPLAIN'] .= $this->seo_htaccess(); - - break; - case 'extended': - $display_vars = array( - 'title' => 'ACP_SEO_EXTENDED', - 'vars' => array( - 'legend1' => 'SEO_EXTERNAL_LINKS', - 'seo_ext_links' => array('lang' => 'SEO_EXTERNAL_LINKS', 'validate' => 'bool', 'type' => 'radio:enabled_disabled', 'explain' => true, 'default' => 1), - 'seo_ext_subdomain' => array('lang' => 'SEO_EXTERNAL_SUBDOMAIN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'default' => 0), - 'seo_ext_classes' => array('lang' => 'SEO_EXTERNAL_CLASSES', 'validate' => 'string', 'type' => 'text:25:150', 'explain' => true, 'default' => ''), - ), - ); - // Related topics - if (file_exists($phpbb_root_path . "phpbb_seo/phpbb_seo_related.$phpEx")) { - $related_installed = true; - $user->add_lang('mods/phpbb_seo_related_install'); - $display_vars['vars'] += array( - 'legend2' => 'RELATED_TOPICS', - 'seo_related' => array('lang' => 'SEO_RELATED', 'validate' => 'bool', 'type' => 'radio:enabled_disabled', 'explain' => true, 'append' => !empty($config['seo_related']) ? '<br/>' . (!empty($config['seo_related_fulltext']) ? $user->lang['FULLTEXT_INSTALLED'] : $user->lang['FULLTEXT_NOT_INSTALLED']) : '', 'default' => 0), - 'seo_related_check_ignore' => array('lang' => 'SEO_RELATED_CHECK_IGNORE', 'validate' => 'bool', 'type' => 'radio:enabled_disabled', 'explain' => true, 'default' => 0), - 'seo_related_limit' => array('lang' => 'SEO_RELATED_LIMIT', 'validate' => 'int:2:25', 'type' => 'text:3:4', 'explain' => true, 'default' => 5), - 'seo_related_allforums' => array('lang' => 'SEO_RELATED_ALLFORUMS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'default' => 0), - ); - } - // dynamic meta tag mod - if (class_exists('seo_meta')) { - $display_vars['vars'] += array( - 'legend3' => 'SEO_META', - 'seo_meta_title' => array('lang' => 'SEO_META_TITLE', 'validate' => 'string:0:225', 'type' => 'text:25:150', 'explain' => true, 'default' => $config['sitename']), - 'seo_meta_desc' => array('lang' => 'SEO_META_DESC', 'validate' => 'string:0:225', 'type' => 'text:40:255', 'explain' => true, 'default' => $config['site_desc']), - 'seo_meta_desc_limit' => array('lang' => 'SEO_META_DESC_LIMIT', 'validate' => 'int:5:40', 'type' => 'text:3:4', 'explain' => true, 'default' => 25), - 'seo_meta_bbcode_filter' => array('lang' => 'SEO_META_BBCODE_FILTER', 'validate' => 'string:0:225', 'type' => 'text:25:150', 'explain' => true, 'default' => 'img|url|flash|code'), - 'seo_meta_keywords' => array('lang' => 'SEO_META_KEYWORDS', 'validate' => 'string:0:225', 'type' => 'text:40:150', 'explain' => true, 'default' => $config['site_desc']), - 'seo_meta_keywords_limit' => array('lang' => 'SEO_META_KEYWORDS_LIMIT', 'validate' => 'int:5:40', 'type' => 'text:3:4', 'explain' => true, 'default' => 15), - 'seo_meta_min_len' => array('lang' => 'SEO_META_MIN_LEN', 'validate' => 'int:0:10', 'type' => 'text:3:4', 'explain' => true, 'default' => 2), - 'seo_meta_check_ignore' => array('lang' => 'SEO_META_CHECK_IGNORE', 'validate' => 'bool', 'type' => 'radio:enabled_disabled', 'explain' => true, 'default' => 0), - 'seo_meta_lang' => array('lang' => 'SEO_META_LANG', 'validate' => 'lang', 'type' => 'select', 'method' => 'language_select', 'params' => array('{CONFIG_VALUE}'), 'explain' => true, 'default' => $config['default_lang']), - 'seo_meta_copy' => array('lang' => 'SEO_META_COPY', 'validate' => 'string:0:225', 'type' => 'text:25:150', 'explain' => true, 'default' => $config['sitename']), - 'seo_meta_file_filter' => array('lang' => 'SEO_META_FILE_FILTER', 'validate' => 'string:0:225', 'type' => 'text:25:150', 'explain' => true, 'default' => 'ucp'), - 'seo_meta_get_filter' => array('lang' => 'SEO_META_GET_FILTER', 'validate' => 'string:0:225', 'type' => 'text:25:150', 'explain' => true, 'default' => 'style,hilit,sid'), - 'seo_meta_robots' => array('lang' => 'SEO_META_ROBOTS', 'validate' => 'string:0:225', 'type' => 'text:25:150', 'explain' => true, 'default' => 'index,follow'), - 'seo_meta_noarchive' => array('lang' => 'SEO_META_NOARCHIVE', 'validate' => 'string:0:225', 'multiple_validate' => 'int', 'type' => 'custom', 'method' => 'select_multiple', 'params' => array('{CONFIG_VALUE}', '{KEY}', $this->forum_select()), 'explain' => true, 'default' => ''), - ); - } - // Optimal title - if (isset($user->lang['Page'])) { - $display_vars['vars'] += array( - 'legend4' => 'SEO_PAGE_TITLES', - 'seo_append_sitename' => array('lang' => 'SEO_APPEND_SITENAME', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true, 'default' => 0), - ); - } - // install if necessary - foreach ($display_vars['vars'] as $config_name => $config_setup) { - if (strpos($config_name, 'legend') !== false) { - continue; - } - if (!isset($config[$config_name])) { - set_config($config_name, $config_setup['default']); - unset($display_vars['vars'][$config_name]['default']); - } - } - $this->new_config = $config; - break; - default: - trigger_error('NO_MODE', E_USER_ERROR); - break; - } - $error = array(); - $seo_msg = array(); - $cfg_array = (isset($_REQUEST['config'])) ? utf8_normalize_nfc(request_var('config', array('' => ''), true)) : $this->new_config; - if ($submit && !check_form_key($form_key)) { - $error[] = $user->lang['FORM_INVALID']; - } - // We validate the complete config if whished - validate_config_vars($display_vars['vars'], $cfg_array, $error); - // Do not write values if there is an error - if (!empty($error)) { - $submit = false; - } - $additional_notes = ''; - // We go through the display_vars to make sure no one is trying to set variables he/she is not allowed to... - foreach ($display_vars['vars'] as $config_name => $cfg_setup) { - if ((!isset($cfg_array[$config_name]) && @$cfg_setup['method'] != 'select_multiple') || strpos($config_name, 'legend') !== false) { - continue; - } - // Handle multiple select options - if (!empty($cfg_setup['method']) && $cfg_setup['method'] == 'select_multiple') { - if (isset($_POST['multiple_' . $config_name])) { - $m_values = utf8_normalize_nfc(request_var('multiple_' . $config_name, array('' => ''))); - $validate_int = !empty($cfg_setup['multiple_validate']) && $cfg_setup['multiple_validate'] == 'int' ? true : false; - foreach($m_values as $k => $v) { - if ($validate_int) { - $v = max(0, (int) $v); - } - if (empty($v)) { - unset($m_values[$k]); - } else { - $m_values[$k] = $v; - } - } - sort($m_values); - $this->new_config[$config_name] = $m_values; - $config_value = implode(',', $m_values); - if ( strlen($config_value) > 255 ) { - $error[] = sprintf($user->lang['SETTING_TOO_LONG'], $user->lang[$cfg_setup['lang']], 255); - } - $submit = empty($error); - } else { - if ($submit) { - $this->new_config[$config_name] = array(); - $config_value = ''; - } else { - $config_value = $this->new_config[$config_name]; - $this->new_config[$config_name] = !empty($config_value) ? explode(',', $config_value) : array(); - } - } - } else { - $this->new_config[$config_name] = $config_value = $cfg_array[$config_name]; - } - if ($submit) { - // In case we deal with forum URLs - if ($mode == 'forum_url' && preg_match('`^forum_url([0-9]+)$`', $config_name, $matches)) { - // Check if this is an actual forum_id - if ( isset($this->forum_ids[$matches[1]]) ) { - $forum_id = intval($matches[1]); - $config_value = $phpbb_seo->format_url($config_value, $phpbb_seo->seo_static['forum']); - // Remove delim if required - while (preg_match('`^[a-z0-9_-]+' . $phpbb_seo->seo_delim['forum'] . '[0-9]+$`i', $config_value)) { - $config_value = preg_replace('`^([a-z0-9_-]+)' . $phpbb_seo->seo_delim['forum'] . '[0-9]+$`i', '\\1', $config_value); - if (@$phpbb_seo->cache_config['settings']['rem_ids']) { - $seo_msg['SEO_ADVICE_DELIM_REM'] = '<li> ' . $user->lang['SEO_ADVICE_DELIM_REM'] . '</li>'; - } - } - // Forums cannot end with the pagination param - while (preg_match('`^[a-z0-9_-]+' . $phpbb_seo->seo_delim['start'] . '[0-9]+$`i', $config_value)) { - $config_value = preg_replace('`^([a-z0-9_-]+)' . $phpbb_seo->seo_delim['start'] . '[0-9]+$`i', "\\1", $config_value); - $seo_msg['SEO_ADVICE_START'] = '<li> ' . $user->lang['SEO_ADVICE_START'] . '</li>'; - } - // Only update if the value is not a static one for forums - if (!in_array($config_value, $forbidden)) { - // and updated (sic) - if ($config_value != @$phpbb_seo->cache_config['forum'][$forum_id]) { - // and if not already set - if (!array_search($config_value, $phpbb_seo->cache_config['forum'])) { - $phpbb_seo->cache_config['forum'][$forum_id] = $config_value . (@$phpbb_seo->cache_config['settings']['rem_ids'] ? '': $phpbb_seo->seo_delim['forum'] . $forum_id); - } else { - $seo_msg['SEO_ADVICE_DUPE_' . $forum_id] = '<li> ' . sprintf($user->lang['SEO_ADVICE_DUPE'], $config_value) . '</li>'; - } - } - } else { - $seo_msg['SEO_ADVICE_RESERVED_' . $forum_id] = '<li> ' . sprintf($user->lang['SEO_ADVICE_RESERVED'], $config_value) . '</li>'; - } - } - } elseif ($mode == 'settings') { - if (isset($this->array_type_cfg[$config_name]) && isset($phpbb_seo->seo_opt[$this->array_type_cfg[$config_name]['main']][$this->array_type_cfg[$config_name]['sub']])) { - if ( is_bool($phpbb_seo->seo_opt[$this->array_type_cfg[$config_name]['main']][$this->array_type_cfg[$config_name]['sub']]) ) { - $phpbb_seo->cache_config['settings'][$this->array_type_cfg[$config_name]['main']][$this->array_type_cfg[$config_name]['sub']] = ($config_value == 1) ? true : false; - } elseif (is_numeric($phpbb_seo->seo_opt[$this->array_type_cfg[$config_name]['main']][$this->array_type_cfg[$config_name]['sub']])) { - $phpbb_seo->cache_config['settings'][$this->array_type_cfg[$config_name]['main']][$this->array_type_cfg[$config_name]['sub']] = intval($config_value); - } elseif (is_string($phpbb_seo->seo_opt[$this->array_type_cfg[$config_name]['main']][$this->array_type_cfg[$config_name]['sub']])) { - $phpbb_seo->cache_config['settings'][$this->array_type_cfg[$config_name]['main']][$this->array_type_cfg[$config_name]['sub']] = $config_value; - } - } elseif ( isset($phpbb_seo->seo_opt[$config_name]) ) { - if ( is_bool($phpbb_seo->seo_opt[$config_name]) ) { - $phpbb_seo->cache_config['settings'][$config_name] = ($config_value == 1) ? true : false; - } elseif ( is_numeric($phpbb_seo->seo_opt[$config_name]) ) { - $phpbb_seo->cache_config['settings'][$config_name] = intval($config_value); - } elseif ( is_string($phpbb_seo->seo_opt[$config_name]) ) { - $phpbb_seo->cache_config['settings'][$config_name] = $config_value; - } - } - // Let's make sure that the proper field was added to the topic table - if ($config_name === 'sql_rewrite' && $config_value == 1 && !$phpbb_seo->seo_opt['sql_rewrite']) { - if (!class_exists('phpbb_db_tools')) { - include($phpbb_root_path . 'includes/db/db_tools.' . $phpEx); - } - $db_tools = new phpbb_db_tools($db); - $db_tools->db->sql_return_on_error(true); - if (!$db_tools->sql_column_exists(TOPICS_TABLE, 'topic_url')) { - $db_tools->sql_column_add(TOPICS_TABLE, 'topic_url', array('VCHAR', '')); - } - $additional_notes = sprintf($user->lang['SYNC_TOPIC_URL_NOTE'], '<a href="' . $phpbb_seo->seo_path['phpbb_url'] . 'phpbb_seo/sync_url.' . $phpEx . '" onclick="window.open(this.href); return false;">', '</a>'); - if ($db_tools->db->sql_error_triggered) { - $error[] = '<b>' . $user->lang['sql_rewrite'] . '</b> : ' . $user->lang['SEO_SQL_ERROR'] . ' [ ' . $db_tools->db->sql_layer . ' ] : ' . $db_tools->db->sql_error_returned['message'] . ' [' . $db_tools->db->sql_error_returned['code'] . ']' . '<br/>' . $user->lang['SEO_SQL_TRY_MANUALLY'] . '<br/>' . $db_tools->db->sql_error_sql; - $submit = false; - } - $db_tools->db->sql_return_on_error(false); - } - // Let's make sure the proper index is added for the no dupe (in case it is installed and activated) - if ($config_name === 'no_dupe_on' && $config_value == 1 && !$phpbb_seo->seo_opt['no_dupe']['on']) { - if (!class_exists('phpbb_db_tools')) { - include($phpbb_root_path . 'includes/db/db_tools.' . $phpEx); - } - // in case we already started the phpbb_db_tools class above - if (empty($db_tools)) { - $db_tools = new phpbb_db_tools($db); - } - $db_tools->db->sql_return_on_error(true); - $indexes = $db_tools->sql_list_index(TOPICS_TABLE); - $drop_index_name = 'topic_last_post_id'; - $add_index_name = 'topic_lpid'; - if (in_array($drop_index_name, $indexes)) { - $db_tools->sql_index_drop(TOPICS_TABLE, $drop_index_name); - } - if (!in_array($add_index_name, $indexes)) { - // Try to override some limits - maybe it helps some... - @set_time_limit(0); - @ini_set('memory_limit', '128M'); - $db_tools->sql_create_index(TOPICS_TABLE, $add_index_name, array('topic_last_post_id')); - } - if ($db_tools->db->sql_error_triggered) { - $error[] = '<b>' . $user->lang['no_dupe'] . '</b> : ' . $user->lang['SEO_SQL_ERROR'] . ' [ ' . $db_tools->db->sql_layer . ' ] : ' . $db_tools->db->sql_error_returned['message'] . ' [' . $db_tools->db->sql_error_returned['code'] . ']' . '<br/>' . $user->lang['SEO_SQL_TRY_MANUALLY'] . '<br/>' . $db_tools->db->sql_error_sql; - $submit = false; - } - $db_tools->db->sql_return_on_error(false); - } - } elseif ($mode == 'extended') { - if ($related_installed && $config_name === 'seo_related') { - $fulltext = 0; - $nothing_to_do = false; - if ($db->sql_layer == 'mysql4' || $db->sql_layer == 'mysqli') { - $add = $remove = $alter = false; - if ($config_value && !$config['seo_related']) { - $alter = $add = true; - } - if (!$config_value && $config['seo_related']) { - $alter = $remove = true; - } - // let's go - if ($alter) { - // Try to override some limits - maybe it helps some... - @set_time_limit(0); - @ini_set('memory_limit', '128M'); - // use db_tools to check the index - if (!class_exists('phpbb_db_tools')) { - include($phpbb_root_path . 'includes/db/db_tools.' . $phpEx); - } - if (empty($db_tools)) { - $db_tools = new phpbb_db_tools($db); - } - $indexes = $db_tools->sql_list_index(TOPICS_TABLE); - if (in_array('topic_tft', $indexes)) { - $nothing_to_do = $add ? true : false; - $fulltext = 1; - } else { - $nothing_to_do = $remove ? true : false; - $fulltext = 0; - } - // do not use db_tools since it does not support to add FullText indexes - if (!$nothing_to_do) { - // Here we use quite a basic approach to make sure that the index is not refused for bad reasons - if ($add) { - $sql = 'ALTER TABLE ' . TOPICS_TABLE . ' - ADD FULLTEXT topic_tft (topic_title)'; - } else { - $sql = 'ALTER TABLE ' . TOPICS_TABLE . ' - DROP INDEX topic_tft'; - } - $db->sql_return_on_error(true); - $db->sql_query($sql); - if ($db->sql_error_triggered) { - $error[] = '<b>' . $user->lang['RELATED_TOPICS'] . '</b> : ' . $user->lang['SEO_SQL_ERROR'] . ' [ ' . $db->sql_layer . ' ] : ' . $db->sql_error_returned['message'] . ' [' . $db->sql_error_returned['code'] . ']' . '<br/>' . $user->lang['SEO_SQL_TRY_MANUALLY'] . '<br/>' . $db->sql_error_sql; - $submit = false; - $config_value = 0; - } - // make *sure* about the index ! - $indexes = $db_tools->sql_list_index(TOPICS_TABLE); - $fulltext = in_array('topic_tft', $indexes) ? 1 : 0; - $db->sql_return_on_error(false); - } - } - } - if ($alter) { - set_config('seo_related_fulltext', $fulltext); - } - } - set_config($config_name, $config_value); - } - } - } - if (sizeof($error)) { - $submit = false; - } - if ($submit) { - if ($mode == 'htaccess') { - if ($this->new_config['save']) { - $this->write_cache($this->write_type); - add_log('admin', 'SEO_LOG_CONFIG_' . strtoupper($mode)); - } - } elseif ($mode == 'extended') { - add_log('admin', 'SEO_LOG_CONFIG_' . strtoupper($mode)); - trigger_error($user->lang['CONFIG_UPDATED'] . adm_back_link($this->u_action)); - } else { - if ( $this->write_cache($this->write_type) ) { - ksort($phpbb_seo->cache_config[$this->write_type]); - add_log('admin', 'SEO_LOG_CONFIG_' . strtoupper($mode)); - $msg = !empty($seo_msg) ? '<br /><h1 style="color:red;text-align:left;">' . $user->lang['SEO_VALIDATE_INFO'] . '</h1><ul style="text-align:left;">' . implode(' ',$seo_msg) . '</ul><br />' : ''; - global $msg_long_text; - $msg_long_text = $user->lang['SEO_CACHE_MSG_OK'] . $msg . adm_back_link($this->u_action); - if ($additional_notes) { - $msg_long_text .= "<br/><br/>$additional_notes"; - } - trigger_error(false); - } else { - trigger_error($user->lang['SEO_CACHE_MSG_FAIL'] . adm_back_link($this->u_action)); - } - } - } - $this->tpl_name = 'acp_board'; - $this->page_title = $display_vars['title']; - $phpbb_seo->seo_end(); - $l_title_explain = $user->lang[$display_vars['title'] . '_EXPLAIN']; - if ($mode != 'extended') { - $l_title_explain .= $mode == 'htaccess' ? '' : $this->check_cache_folder($phpbb_root_path . $phpbb_seo->seo_opt['cache_folder']); - } - $template->assign_vars(array( - 'L_TITLE' => $user->lang[$display_vars['title']], - 'L_TITLE_EXPLAIN' => $l_title_explain, - - 'S_ERROR' => (sizeof($error)) ? true : false, - 'ERROR_MSG' => implode('<br />', $error), - - 'U_ACTION' => $this->u_action) - ); - // Output relevant page - foreach ($display_vars['vars'] as $config_key => $vars) { - if (!is_array($vars) && strpos($config_key, 'legend') === false) { - continue; - } - if (strpos($config_key, 'legend') !== false) { - $template->assign_block_vars('options', array( - 'S_LEGEND' => true, - 'LEGEND' => (isset($user->lang[$vars])) ? $user->lang[$vars] : $vars) - ); - continue; - } - $type = explode(':', $vars['type']); - $l_explain = ''; - if ($vars['explain'] && isset($vars['lang_explain'])) { - $l_explain = (isset($user->lang[$vars['lang_explain']])) ? $user->lang[$vars['lang_explain']] : $vars['lang_explain']; - } elseif ($vars['explain'] && isset($vars['lang_explain_custom'])) { - $l_explain = $vars['lang_explain_custom']; - } elseif ($vars['explain']) { - $l_explain = (isset($user->lang[$vars['lang'] . '_EXPLAIN'])) ? $user->lang[$vars['lang'] . '_EXPLAIN'] : ''; - } - $template->assign_block_vars('options', array( - 'KEY' => $config_key, - 'TITLE' => (isset($user->lang[$vars['lang']])) ? $user->lang[$vars['lang']] : $vars['lang'], - 'S_EXPLAIN' => $vars['explain'], - 'TITLE_EXPLAIN' => $l_explain, - 'CONTENT' => build_cfg_template($type, $config_key, $this->new_config, $config_key, $vars), - ) - ); - unset($display_vars['vars'][$config_key]); - } - } - /** - * forum_url_check validation - */ - function forum_url_input($value, $key) { - global $user, $phpbb_seo; - - return '<input id="' . $key . '" type="text" size="40" maxlength="255" name="config[' . $key . ']" value="' . $value . '" /> '; - } - /** - * select_string custom select string - */ - function select_string($value, $key) { - global $phpbb_seo; - $select_ary = $this->dyn_select[$key]; - $html = ''; - foreach ($select_ary as $sel_value) { - if ( @isset($this->array_type_cfg[$key]) ) { - $selected = ($sel_value == @$phpbb_seo->seo_opt[$this->array_type_cfg[$key]['main']][$this->array_type_cfg[$key]['sub']]) ? ' selected="selected"' : ''; - $sel_title = @isset($this->multiple_options[$this->array_type_cfg[$key]['main']][$this->array_type_cfg[$key]['sub'] . '_lang'][$sel_value]) ? $this->multiple_options[$this->array_type_cfg[$key]['main']][$this->array_type_cfg[$key]['sub'] . '_lang'][$sel_value] : $sel_value; - } else { - $selected = ($sel_value == @$phpbb_seo->cache_config['settings'][$key]) ? ' selected="selected"' : ''; - $sel_title = @isset($this->multiple_options[$key . '_lang'][$sel_value]) ? $this->multiple_options[$key . '_lang'][$sel_value] : $sel_value; - } - $html .= '<option value="' . $sel_value . '"' . $selected . '>' . $sel_title . '</option>'; - } - return $html; - } - /** - * seo_advices Always needed :-) - */ - function seo_advices($url, $forum_id, $cached = FALSE, $error_cust = '') { - global $phpbb_seo, $user; - $seo_advice = ''; - // Check how well is the URL SEO wise - if ( !empty($error_cust) ) { - $seo_advice .= $error_cust; - } - if (strlen($url) > $this->lengh_limit) { // Size - $seo_advice .= '<li> ' . $user->lang['SEO_ADVICE_LENGTH'] . '</li>'; - } - if (preg_match('`^[a-z0-9_-]+' . $phpbb_seo->seo_delim['forum'] . '[0-9]+$`i', $url)) { // With delimiter and id - if (@$phpbb_seo->cache_config['settings']['rem_ids']) { - $seo_advice .= '<li style="color:red"> ' . $user->lang['SEO_ADVICE_DELIM'] . '</li>'; - } - } - if ($phpbb_seo->seo_static['forum'] == $url) { // default - $seo_advice .= '<li> ' . $user->lang['SEO_ADVICE_DEFAULT'] . '</li>'; - } - // Check the number of word - $url_words = explode('-', $url); - if (count($url_words) > $this->word_limit) { - $seo_advice .= '<li> ' . $user->lang['SEO_ADVICE_WORDS'] . '</li>'; - } - return $seo_advice ? '<ul style="color:red">' . $seo_advice . '</ul>' : ''; - } - /** - * seo_htaccess The evil one ;-) - */ - function seo_htaccess($html = true) { - global $phpbb_seo, $user, $error, $phpEx, $config, $phpbb_root_path, $config, $phpbb_admin_path; - static $htaccess_code = ''; - $htaccess_tpl = ''; - // GYM Sitemaps & RSS - $gym_installed = (boolean) (!empty($config['gym_installed']) && file_exists($phpbb_root_path . 'gym_sitemaps/includes/gym_sitemaps.' . $phpEx)); - $rss_path = $google_path = $html_path = ''; - $rss_commpat_note = $google_commpat_note = $html_commpat_note = $compat_path_note = ''; - $rss_commpat_pre = $html_commpat_pre = $google_commpat_pre = '<b style="color:blue"># RewriteRule'; - $rss_commpat_post = $html_commpat_post = $google_commpat_post = '</b>'; - $google_comp_path = $rss_comp_path = $html_comp_path = false; - if ($gym_installed) { - $compat_path_note = '<b style="color:red"># NOTE : THE FOLLOWING REWRITERULE IS LEFT COMMENTED BECAUSE IT CANNOT' . "\n"; - $compat_path_note .= '# BE IMPLEMENTED IN THIS .HTACCESS, BUT RATHER IN AN ABOVE ONE' . "\n"; - $compat_path_note .= '# WITH PROPER SLASHES AND PATHS</b>' . "\n"; - $rss_commpat_note = $google_commpat_note = $html_commpat_note = $compat_path_note; - require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_common.' . $phpEx); - obtain_gym_config('main', $gym_config); - $google_url = trim($gym_config['google_url'], '/') . '/'; - if (utf8_strpos($google_url, $phpbb_seo->seo_path['phpbb_url']) !== false) { - $google_path = trim(str_replace($phpbb_seo->seo_path['root_url'], '', $google_url), '/'); - $google_comp_path = true; - $google_commpat_pre = '<b style="color:green">RewriteRule</b>'; - $google_commpat_post = $google_commpat_note = ''; - } - $rss_url = trim($gym_config['rss_url'], '/') . '/'; - if (utf8_strpos($rss_url, $phpbb_seo->seo_path['phpbb_url']) !== false) { - $rss_path = trim(str_replace($phpbb_seo->seo_path['root_url'], '', $rss_url), '/'); - $rss_comp_path = true; - $rss_commpat_pre = '<b style="color:green">RewriteRule</b>'; - $rss_commpat_post = $rss_commpat_note = ''; - } - $html_url = trim($gym_config['html_url'], '/') . '/'; - if (utf8_strpos($html_url, $phpbb_seo->seo_path['phpbb_url']) !== false) { - $html_path = trim(str_replace($phpbb_seo->seo_path['root_url'], '', $html_url), '/'); - $html_comp_path = true; - $html_commpat_pre = '<b style="color:green">RewriteRule</b>'; - $html_commpat_post = $html_commpat_note = ''; - } - } - if ( empty($htaccess_code) ) { - // get mods .htaccess tpls - $mods_ht = $this->get_mods_ht(); - $default_slash = '/'; - $wierd_slash = ''; - $phpbb_path = trim($phpbb_seo->seo_path['phpbb_script'], '/'); - $show_rewritebase_opt = false; - $rewritebase = ''; - $wierd_slash = $this->new_config['wslash'] ? '<b style="color:red">/</b>' : ''; - $default_slash = $this->new_config['slash'] ? '' : '/'; - - if (!empty($phpbb_path )) { - $phpbb_path = $phpbb_path . '/'; - if ($this->new_config['rbase']) { - $rewritebase = $phpbb_path; - $default_slash = $this->new_config['slash'] ? '/' : ''; - } - $rewritebase = $this->new_config['rbase'] ? $phpbb_path : ''; - $show_rewritebase_opt = $phpbb_seo->seo_opt['virtual_root'] ? false : true; - } - if (!empty($rewritebase)) { - $rss_path = trim(str_replace(trim($phpbb_path, '/'), '', $rss_path), '/'); - $google_path = trim(str_replace(trim($phpbb_path, '/'), '', $google_path), '/'); - $html_path = trim(str_replace(trim($phpbb_path, '/'), '', $html_path), '/'); - } - $colors = array( 'color' => '<b style="color:%1$s">%2$s</b>', - 'static' => '#A020F0', - 'ext' => '#6A5ACD', - 'delim' => '#FF00FF', - ); - $tpl = array('paginpage' => '/?(<b style="color:' . $colors['static'] . '">%1$s</b>([0-9]+)<b style="color:' . $colors['ext'] . '">%2$s</b>)?', - 'pagin' => '(<b style="color:' . $colors['delim'] . '">%1$s</b>([0-9]+))?<b style="color:' . $colors['ext'] . '">%2$s</b>', - 'static' => sprintf($colors['color'] , $colors['static'], '%1$s'), - 'ext' => sprintf($colors['color'] , $colors['ext'], '%1$s'), - 'delim' => sprintf($colors['color'] , $colors['delim'], '%1$s'), - ); - $modrtype = array( 1 => 'SIMPLE', 2 => 'MIXED', 1 => 'SIMPLE', 3 => 'ADVANCED', 'type' => intval($phpbb_seo->modrtype)); - // - $htaccess_tpl = '<b style="color:blue"># Lines That should already be in your .htacess</b>' . "\n"; - $htaccess_tpl .= '<b style="color:brown"><Files</b> <b style="color:#FF00FF">"config.{PHP_EX}"</b><b style="color:brown">></b>' . "\n"; - $htaccess_tpl .= "\t" . 'Order Allow,Deny' . "\n"; - $htaccess_tpl .= "\t" . 'Deny from All' . "\n"; - $htaccess_tpl .= '<b style="color:brown"></Files></b>' . "\n"; - $htaccess_tpl .= '<b style="color:brown"><Files</b> <b style="color:#FF00FF">"common.{PHP_EX}"</b><b style="color:brown">></b>' . "\n"; - $htaccess_tpl .= "\t" . 'Order Allow,Deny' . "\n"; - $htaccess_tpl .= "\t" . 'Deny from All' . "\n"; - $htaccess_tpl .= '<b style="color:brown"></Files></b>' . "\n\n"; - $htaccess_tpl .= '<b style="color:blue"># You may need to un-comment the following lines' . "\n"; - $htaccess_tpl .= '# Options +FollowSymlinks' . "\n"; - $htaccess_tpl .= '# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist' . "\n"; - $htaccess_tpl .= '# Options -MultiViews' . "\n"; - $htaccess_tpl .= '# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE</b>' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteEngine</b> <b style="color:#FF00FF">On</b>' . "\n"; - $htaccess_tpl .= '<b style="color:blue"># Uncomment the statement below if you want to make use of' . "\n"; - $htaccess_tpl .= '# HTTP authentication and it does not already work.' . "\n"; - $htaccess_tpl .= '# This could be required if you are for example using PHP via Apache CGI.' . "\n"; - $htaccess_tpl .= '# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]</b>' . "\n"; - $htaccess_tpl .= '<b style="color:blue"># REWRITE BASE</b>' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteBase</b> <b>/{REWRITEBASE}</b>' . "\n"; - $htaccess_tpl .= '<b style="color:blue"># HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN</b>' . "\n"; - $htaccess_tpl .= '<b style="color:blue"># RewriteCond %{HTTP_HOST} !^' . str_replace(array('https://', 'http://', '.'), array('', '', '\\.'), trim($phpbb_seo->seo_path['root_url'], '/ ')) . '$ [NC]</b>' . "\n"; - $htaccess_tpl .= '<b style="color:blue"># RewriteRule ^(.*)$ ' . $phpbb_seo->seo_path['root_url'] . '{REWRITEBASE}$1 [QSA,L,R=301]</b>' . "\n\n"; - $htaccess_tpl .= '<b style="color:blue"># DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS</b>' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteCond</b> %{REQUEST_FILENAME} -f' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteCond</b> %{REQUEST_FILENAME} -d' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteRule</b> . - [L]' . "\n"; - $htaccess_tpl .= '<b style="color:blue">#####################################################' . "\n"; - $htaccess_tpl .= '# PHPBB SEO REWRITE RULES ALL MODES' . "\n"; - $htaccess_tpl .= '#####################################################' . "\n"; - $htaccess_tpl .= '# AUTHOR : dcz www.phpbb-seo.com' . "\n"; - $htaccess_tpl .= '# STARTED : 01/2006' . "\n"; - $htaccess_tpl .= '#################################' . "\n"; - $htaccess_tpl .= '# FORUMS PAGES' . "\n"; - $htaccess_tpl .= '###############</b>' . "\n"; - if (!empty($phpbb_seo->seo_static['index'])) { - $htaccess_tpl .= '<b style="color:blue"># FORUM INDEX</b>' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}{STATIC_INDEX}{EXT_INDEX}$ {DEFAULT_SLASH}{PHPBB_RPATH}index.{PHP_EX} [QSA,L,NC]' . "\n"; - } else { - $htaccess_tpl .= '<b style="color:blue"># FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX' . "\n"; - $htaccess_tpl .= '# RewriteRule ^{WIERD_SLASH}{PHPBB_LPATH}<b style="color:#A020F0">forum</b>\.<b style="color:#6A5ACD">html</b>$ {DEFAULT_SLASH}{PHPBB_RPATH}index.{PHP_EX} [QSA,L,NC]</b>' . "\n"; - } - $htaccess_common_tpl = '<b style="color:blue"># PHPBB FILES ALL MODES</b>' . "\n"; - $htaccess_common_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}{STATIC_FILE_INDEX}{DELIM_FILE}[a-z0-9_-]+{DELIM_FILE}({STATIC_THUMB}{DELIM_FILE})?([0-9]+)$ {DEFAULT_SLASH}{PHPBB_RPATH}download/file.{PHP_EX}?id=$2&t=$1 [QSA,L,NC]' . "\n"; - if ( $phpbb_seo->seo_opt['profile_noids'] ) { - $htaccess_common_tpl .= '<b style="color:blue"># PROFILES THROUGH USERNAME</b>' . "\n"; - $htaccess_common_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}{STATIC_USER}/([^/]+)/?$ {DEFAULT_SLASH}{PHPBB_RPATH}memberlist.{PHP_EX}?mode=viewprofile&un=$1 [QSA,L,NC]' . "\n"; - $htaccess_common_tpl .= '<b style="color:blue"># USER MESSAGES THROUGH USERNAME</b>' . "\n"; - $htaccess_common_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}{STATIC_USER}/([^/]+)/(topics|posts){USER_PAGINATION}$ {DEFAULT_SLASH}{PHPBB_RPATH}search.{PHP_EX}?author=$1&sr=$2&start=$4 [QSA,L,NC]' . "\n"; - } else { - $htaccess_common_tpl .= '<b style="color:blue"># PROFILES ALL MODES WITH ID</b>' . "\n"; - $htaccess_common_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}({STATIC_USER}|[a-z0-9_-]*{DELIM_USER})([0-9]+){EXT_USER}$ {DEFAULT_SLASH}{PHPBB_RPATH}memberlist.{PHP_EX}?mode=viewprofile&u=$2 [QSA,L,NC]' . "\n"; - $htaccess_common_tpl .= '<b style="color:blue"># USER MESSAGES ALL MODES WITH ID</b>' . "\n"; - $htaccess_common_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}({STATIC_USER}|[a-z0-9_-]*{DELIM_USER})([0-9]+){DELIM_SR}(topics|posts){USER_PAGINATION}$ {DEFAULT_SLASH}{PHPBB_RPATH}search.{PHP_EX}?author_id=$2&sr=$3&start=$5 [QSA,L,NC]' . "\n"; - } - $htaccess_common_tpl .= '<b style="color:blue"># GROUPS ALL MODES</b>' . "\n"; - $htaccess_common_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}({STATIC_GROUP}|[a-z0-9_-]*{DELIM_GROUP})([0-9]+){GROUP_PAGINATION}$ {DEFAULT_SLASH}{PHPBB_RPATH}memberlist.{PHP_EX}?mode=group&g=$2&start=$4 [QSA,L,NC]' . "\n"; - $htaccess_common_tpl .= '<b style="color:blue"># POST</b>' . "\n"; - $htaccess_common_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}{STATIC_POST}([0-9]+){EXT_POST}$ {DEFAULT_SLASH}{PHPBB_RPATH}viewtopic.{PHP_EX}?p=$1 [QSA,L,NC]' . "\n"; - $htaccess_common_tpl .= '<b style="color:blue"># ACTIVE TOPICS</b>' . "\n"; - $htaccess_common_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}{STATIC_ATOPIC}{ATOPIC_PAGINATION}$ {DEFAULT_SLASH}{PHPBB_RPATH}search.{PHP_EX}?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]' . "\n"; - $htaccess_common_tpl .= '<b style="color:blue"># UNANSWERED TOPICS</b>' . "\n"; - $htaccess_common_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}{STATIC_UTOPIC}{UTOPIC_PAGINATION}$ {DEFAULT_SLASH}{PHPBB_RPATH}search.{PHP_EX}?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]' . "\n"; - $htaccess_common_tpl .= '<b style="color:blue"># NEW POSTS</b>' . "\n"; - $htaccess_common_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}{STATIC_NPOST}{NPOST_PAGINATION}$ {DEFAULT_SLASH}{PHPBB_RPATH}search.{PHP_EX}?search_id=newposts&start=$2&sr=topics [QSA,L,NC]' . "\n"; - $htaccess_common_tpl .= '<b style="color:blue"># UNREAD POSTS</b>' . "\n"; - $htaccess_common_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}{STATIC_URPOST}{URPOST_PAGINATION}$ {DEFAULT_SLASH}{PHPBB_RPATH}search.{PHP_EX}?search_id=unreadposts&start=$2 [QSA,L,NC]' . "\n"; - $htaccess_common_tpl .= '<b style="color:blue"># THE TEAM</b>' . "\n"; - $htaccess_common_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}{STATIC_LEADERS}{EXT_LEADERS}$ {DEFAULT_SLASH}{PHPBB_RPATH}memberlist.{PHP_EX}?mode=leaders [QSA,L,NC]' . "\n"; - $htaccess_common_tpl .= '<b style="color:blue"># HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES</b>' . "\n\n"; - if ($gym_installed) { - $htaccess_common_tpl .= '<b style="color:blue">#####################################################' . "\n"; - // RSS - $htaccess_common_tpl .= '# GYM Sitemaps & RSS' . "\n"; - $htaccess_common_tpl .= '# Global channels</b>' . "\n"; - $htaccess_common_tpl .= $rss_commpat_note; - $htaccess_common_tpl .= $rss_commpat_pre . ' ^{WIERD_SLASH}{RSS_LPATH}rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ {DEFAULT_SLASH}{RSS_RPATH}gymrss.{PHP_EX}?channels&$2&$4&$6 [QSA,L,NC]' . $rss_commpat_post . "\n"; - // HTML - $htaccess_common_tpl .= '<b style="color:blue"># HTML Global news & maps</b>' . "\n"; - $htaccess_common_tpl .= $html_commpat_note; - $htaccess_common_tpl .= $html_commpat_pre . ' ^{WIERD_SLASH}{HTML_LPATH}(news|maps){PAGE_PAGINATION}$ {DEFAULT_SLASH}{HTML_RPATH}map.{PHP_EX}?$1&start=$3 [QSA,L,NC]' . $html_commpat_post . "\n"; - $htaccess_common_tpl .= '<b style="color:blue"># END GYM Sitemaps & RSS' . "\n"; - $htaccess_common_tpl .= '#####################################################</b>' . "\n\n"; - } - // We now handle all modes at once (simple / mixed / advanced) - $htaccess_tpl .= '<b style="color:blue"># FORUM ALL MODES</b>' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}({STATIC_FORUM}|[a-z0-9_-]*{DELIM_FORUM})([0-9]+){FORUM_PAGINATION}$ {DEFAULT_SLASH}{PHPBB_RPATH}viewforum.{PHP_EX}?f=$2&start=$4 [QSA,L,NC]' . "\n"; - $htaccess_tpl .= '<b style="color:blue"># TOPIC WITH VIRTUAL FOLDER ALL MODES</b>' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}({STATIC_FORUM}|[a-z0-9_-]*{DELIM_FORUM})([0-9]+)/({STATIC_TOPIC}|[a-z0-9_-]*{DELIM_TOPIC})([0-9]+){TOPIC_PAGINATION}$ {DEFAULT_SLASH}{PHPBB_RPATH}viewtopic.{PHP_EX}?f=$2&t=$4&start=$6 [QSA,L,NC]' . "\n"; - // Not needed any more - // $htaccess_tpl .= '<b style="color:blue"># GLOBAL ANNOUNCEMENTS WITH VIRTUAL FOLDER ALL MODES</b>' . "\n"; - // $htaccess_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}{STATIC_GLOBAL_ANNOUNCE}{EXT_GLOBAL_ANNOUNCE}({STATIC_TOPIC}|[a-z0-9_-]*{DELIM_TOPIC})([0-9]+){TOPIC_PAGINATION}$ {DEFAULT_SLASH}{PHPBB_RPATH}viewtopic.{PHP_EX}?t=$2&start=$4 [QSA,L,NC]' . "\n"; - $htaccess_tpl .= '<b style="color:blue"># TOPIC WITHOUT FORUM ID & DELIM ALL MODES</b>' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}([a-z0-9_-]*)/?({STATIC_TOPIC}|[a-z0-9_-]*{DELIM_TOPIC})([0-9]+){TOPIC_PAGINATION}$ {DEFAULT_SLASH}{PHPBB_RPATH}viewtopic.{PHP_EX}?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]' . "\n"; - $htaccess_tpl .= $htaccess_common_tpl; - // mods .htaccess pos1 - if (!empty($mods_ht['pos1'])) { - $htaccess_tpl .= $mods_ht['pos1']; - } - $htaccess_tpl .= '<b style="color:blue"># FORUM WITHOUT ID & DELIM ALL MODES</b>' . "\n"; - if ($phpbb_seo->seo_ext['forum'] != '/') { - $htaccess_tpl .= '<b style="color:blue"># THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY</b>' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteCond</b> %{REQUEST_FILENAME} !-f' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}([a-z0-9_-]+)(-([0-9]+)){EXT_FORUM}$ {DEFAULT_SLASH}{PHPBB_RPATH}viewforum.{PHP_EX}?forum_uri=$1&start=$3 [QSA,L,NC]' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteCond</b> %{REQUEST_FILENAME} !-f' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}([a-z0-9_-]+){EXT_FORUM}$ {DEFAULT_SLASH}{PHPBB_RPATH}viewforum.{PHP_EX}?forum_uri=$1 [QSA,L,NC]' . "\n"; - } else { - $htaccess_tpl .= '<b style="color:blue"># THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY</b>' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteCond</b> %{REQUEST_FILENAME} !-f' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteCond</b> %{REQUEST_FILENAME} !-d' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_LPATH}([a-z0-9_-]+){FORUM_PAGINATION}$ {DEFAULT_SLASH}{PHPBB_RPATH}viewforum.{PHP_EX}?forum_uri=$1&start=$3 [QSA,L,NC]' . "\n"; - } - // fix for dumb clients unable to deal with base href - $htaccess_tpl .= '<b style="color:blue"># FIX RELATIVE PATHS : FILES</b>' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_RPATH}.+/(style\.{PHP_EX}|ucp\.{PHP_EX}|mcp\.{PHP_EX}|faq\.{PHP_EX}|download/file.{PHP_EX})$ {DEFAULT_SLASH}{PHPBB_RPATH}$1 [QSA,L,NC,R=301]' . "\n"; - $htaccess_tpl .= '<b style="color:blue"># FIX RELATIVE PATHS : IMAGES</b>' . "\n"; - $htaccess_tpl .= '<b style="color:green">RewriteRule</b> ^{WIERD_SLASH}{PHPBB_RPATH}.+/(styles/.*|images/.*)/$ {DEFAULT_SLASH}{PHPBB_RPATH}$1 [QSA,L,NC,R=301]' . "\n"; - $htaccess_tpl .= '<b style="color:blue"># END PHPBB PAGES' . "\n"; - $htaccess_tpl .= '#####################################################</b>' . "\n\n"; - // mods .htaccess pos2 - if (!empty($mods_ht['pos2'])) { - $htaccess_tpl .= $mods_ht['pos2']; - } - if ($gym_installed) { - $htaccess_tpl .= '<b style="color:blue">#####################################################' . "\n"; - $htaccess_tpl .= '# GYM Sitemaps & RSS</b>' . "\n"; - // HTML - $htaccess_tpl .= '<b style="color:blue"># HTML Module additional modes</b>' . "\n"; - $htaccess_tpl .= $html_commpat_note; - $htaccess_tpl .= $html_commpat_pre . ' ^{WIERD_SLASH}{HTML_LPATH}(news|maps)/([a-z0-9_-]+)(/([a-z0-9_-]+))?{PAGE_PAGINATION}$ {DEFAULT_SLASH}{HTML_RPATH}map.{PHP_EX}?$2=$4&$1&start=$6 [QSA,L,NC]' . $html_commpat_post . "\n"; - // RSS - $htaccess_tpl .= '<b style="color:blue"># Main feeds & channels</b>' . "\n"; - $htaccess_tpl .= $rss_commpat_note; - $htaccess_tpl .= $rss_commpat_pre . ' ^{WIERD_SLASH}{RSS_LPATH}rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/([a-z0-9_-]+))?/([a-z0-9_]+)\.xml(\.gz)?$ {DEFAULT_SLASH}{RSS_RPATH}gymrss.{PHP_EX}?$9=$8&$2&$4&$6&gzip=$10 [QSA,L,NC]' . $rss_commpat_post . "\n"; - $htaccess_tpl .= '<b style="color:blue"># Module feeds</b>' . "\n"; - $htaccess_tpl .= $rss_commpat_note; - $htaccess_tpl .= $rss_commpat_pre . ' ^{WIERD_SLASH}{RSS_LPATH}[a-z0-9_-]*-[a-z]{1,2}([0-9]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ {DEFAULT_SLASH}{RSS_RPATH}gymrss.{PHP_EX}?$8=$1&$3&$5&$7&gzip=$9 [QSA,L,NC]' . $rss_commpat_post . "\n"; - $htaccess_tpl .= '<b style="color:blue"># Module feeds without ids</b>' . "\n"; - $htaccess_tpl .= $rss_commpat_note; - $htaccess_tpl .= $rss_commpat_pre . ' ^{WIERD_SLASH}{RSS_LPATH}([a-z0-9_-]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ {DEFAULT_SLASH}{RSS_RPATH}gymrss.{PHP_EX}?nametoid=$1&$3&$5&$7&modulename=$8&gzip=$9 [QSA,L,NC]' . $rss_commpat_post . "\n"; - // Google - $htaccess_tpl .= '<b style="color:blue"># Google SitemapIndex</b>' . "\n"; - $htaccess_tpl .= $google_commpat_note; - $htaccess_tpl .= $google_commpat_pre . ' ^{WIERD_SLASH}{GOOGLE_LPATH}sitemapindex\.xml(\.gz)?$ {DEFAULT_SLASH}{GOOGLE_RPATH}sitemap.{PHP_EX}?gzip=$1 [QSA,L,NC]' . $google_commpat_post . "\n"; - $htaccess_tpl .= '<b style="color:blue"># Module cat sitemaps</b>' . "\n"; - $htaccess_tpl .= $google_commpat_note; - $htaccess_tpl .= $google_commpat_pre . ' ^{WIERD_SLASH}{GOOGLE_LPATH}[a-z0-9_-]+-([a-z]{1,2})([0-9]+)\.xml(\.gz)?$ {DEFAULT_SLASH}{GOOGLE_RPATH}sitemap.{PHP_EX}?module_sep=$1&module_sub=$2&gzip=$3 [QSA,L,NC]' . $google_commpat_post . "\n"; - $htaccess_tpl .= '<b style="color:blue"># Module sitemaps</b>' . "\n"; - $htaccess_tpl .= $google_commpat_note; - $htaccess_tpl .= $google_commpat_pre . ' ^{WIERD_SLASH}{GOOGLE_LPATH}([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$ {DEFAULT_SLASH}{GOOGLE_RPATH}sitemap.{PHP_EX}?$1=$2&gzip=$3 [QSA,L,NC]' . $google_commpat_post . "\n"; - $htaccess_tpl .= '<b style="color:blue"># END GYM Sitemaps & RSS' . "\n"; - $htaccess_tpl .= '#####################################################</b>' . "\n"; - } - - if (!empty($default_slash) && $this->new_config['more_options']) { - $default_slash = '<b style="color:red">' . $default_slash . '</b>'; - } - // The tpl array - $htaccess_tpl_vars = array(); - - // handle the suffixes proper in the RegEx - // set up pagination reg ex - // set up ext bits - $seo_ext = array('pagination' => str_replace('.', '\\.', $phpbb_seo->seo_ext['pagination'])); - $reg_ex_page = sprintf($tpl['paginpage'], $phpbb_seo->seo_static['pagination'], $seo_ext['pagination'] . ($seo_ext['pagination'] === '/' ? '?' : '') ); - foreach ( $phpbb_seo->seo_ext as $type => $value) { - $seo_ext[$type] = str_replace('.', '\\.', $value); - $htaccess_tpl_vars['{' . strtoupper($type) . '_PAGINATION}'] = ($value === '/') ? $reg_ex_page : sprintf($tpl['pagin'], $phpbb_seo->seo_delim['start'], $seo_ext[$type]); - // use url/? to allow both url and url/ to work as expected - $htaccess_tpl_vars['{EXT_' . strtoupper($type) . '}'] = sprintf($tpl['ext'] , $seo_ext[$type]) . ($value === '/' ? '?' : ''); - - } - $htaccess_tpl_vars['{PAGE_PAGINATION}'] = $reg_ex_page; - // static bits - foreach ( $phpbb_seo->seo_static as $type => $value) { - if (!is_array($phpbb_seo->seo_static[$type])) { - $htaccess_tpl_vars['{STATIC_' . strtoupper($type) . '}'] = sprintf($tpl['static'] , $phpbb_seo->seo_static[$type]); - } - } - // delim bits - foreach ( $phpbb_seo->seo_delim as $type => $value) { - $htaccess_tpl_vars['{DELIM_' . strtoupper($type) . '}'] = sprintf($tpl['delim'] , $phpbb_seo->seo_delim[$type]); - } - - // common .htaccess vars - $htaccess_tpl_vars += array( - '{REWRITEBASE}' => $rewritebase, - '{PHP_EX}' => $phpEx, - '{PHPBB_LPATH}' => ($this->new_config['rbase'] || $phpbb_seo->seo_opt['virtual_root']) ? '' : $phpbb_path, - '{PHPBB_RPATH}' => $this->new_config['rbase'] ? '' : $phpbb_path, - '{RSS_LPATH}' => $rss_path ? $rss_path . '/' : '', - '{RSS_RPATH}' => $rss_path ? $rss_path . '/' : '', - '{GOOGLE_LPATH}' => $google_path ? $google_path . '/' : '', - '{GOOGLE_RPATH}' => $google_path ? $google_path . '/' : '', - '{HTML_LPATH}' => $html_path ? $html_path . '/' : '', - '{HTML_RPATH}' => $html_path ? $html_path . '/' : '', - '{DEFAULT_SLASH}' => $default_slash, - '{WIERD_SLASH}' => $wierd_slash, - '{MOD_RTYPE}' => $modrtype[$modrtype['type']], - ); - // Parse .htaccess - $htaccess_code = str_replace(array_keys($htaccess_tpl_vars), array_values($htaccess_tpl_vars), $htaccess_tpl); - } // else the .htaccess is already generated - if ( $html ) { // HTML output - $htaccess_output = "\n" . '<script type="text/javascript">' . "\n"; - $htaccess_output .= '// <![CDATA[' . "\n"; - $htaccess_output .= 'function selectCode(a) {' . "\n"; - $htaccess_output .= "\t" . 'var e = a.parentNode.parentNode.getElementsByTagName(\'CODE\')[0]; // Get ID of code block' . "\n"; - $htaccess_output .= "\t" . 'if (window.getSelection) { // Not IE' . "\n"; - $htaccess_output .= "\t\t" . 'var s = window.getSelection();' . "\n"; - $htaccess_output .= "\t\t" . 'if (s.setBaseAndExtent) { // Safari' . "\n"; - $htaccess_output .= "\t\t\t" . 's.setBaseAndExtent(e, 0, e, e.innerText.length - 1);' . "\n"; - $htaccess_output .= "\t\t" . '} else { // Firefox and Opera' . "\n"; - $htaccess_output .= "\t\t\t" . 'var r = document.createRange();' . "\n"; - $htaccess_output .= "\t\t\t" . 'r.selectNodeContents(e);' . "\n"; - $htaccess_output .= "\t\t\t" . 's.removeAllRanges();' . "\n"; - $htaccess_output .= "\t\t\t" . 's.addRange(r);' . "\n"; - $htaccess_output .= "\t\t" . '}' . "\n"; - $htaccess_output .= "\t" . '} else if (document.getSelection) { // Some older browsers' . "\n"; - $htaccess_output .= "\t\t" . 'var s = document.getSelection();' . "\n"; - $htaccess_output .= "\t\t" . 'var r = document.createRange();' . "\n"; - $htaccess_output .= "\t\t" . 'r.selectNodeContents(e);' . "\n"; - $htaccess_output .= "\t\t" . 's.removeAllRanges();' . "\n"; - $htaccess_output .= "\t\t" . 's.addRange(r);' . "\n"; - $htaccess_output .= "\t" . '} else if (document.selection) { // IE' . "\n"; - $htaccess_output .= "\t\t" . 'var r = document.body.createTextRange();' . "\n"; - $htaccess_output .= "\t\t" . 'r.moveToElementText(e);' . "\n"; - $htaccess_output .= "\t\t" . 'r.select();' . "\n"; - $htaccess_output .= "\t" . '}' . "\n"; - $htaccess_output .= '}' . "\n"; - $htaccess_output .= '// ]]>' . "\n"; - $htaccess_output .= '</script>' . "\n"; - // build location message - if ($show_rewritebase_opt && $this->new_config['rbase']) { - $msg_loc = sprintf($user->lang['SEO_HTACCESS_FOLDER_MSG'], '<em style="color:#000">' . $phpbb_seo->seo_path['phpbb_url'] . '</em>'); - } else { - $msg_loc = sprintf($user->lang['SEO_HTACCESS_ROOT_MSG'], '<em style="color:#000">' . $phpbb_seo->seo_path['root_url'] . '</em>'); - } - $htaccess_output .= '</p><div class="content"><hr/>' . "\n" . '<b style="color:red">⇒ ' . $msg_loc . '</b><br/><br/><hr/>' . "\n"; - $htaccess_output .= '<b>.htaccess : <a href="#" onclick="dE(\'htaccess_code\',1); return false;">' . $user->lang['SEO_SHOW'] . '</a> / <a href="#" onclick="dE(\'htaccess_code\',-1); return false;">' . $user->lang['SEO_HIDE'] . '</a></b>' . "\n"; - $htaccess_output .= '<div id="htaccess_code"><dl style="padding:5px;background-color:#FFFFFF;border:1px solid #d8d8d8;font-size:12px;"><dt style="border-bottom:1px solid #CCCCCC;margin-bottom:3px;font-weight:bold;display:block;"> <a href="#" onclick="selectCode(this); return false;">' . $user->lang['SEO_SELECT_ALL'] . '</a></dt>' . "\n"; - $htaccess_output .= '<dd ><code style="padding-top:5px;line-height:1.3em;color:#8b8b8b;font-weight:bold"><br/><br/>' . str_replace( "\n", '<br/>', $htaccess_code) . '</code></dd>' . "\n"; - $htaccess_output .= '</dl>' . "\n"; - $htaccess_output .= '<div style="padding:5px;margin-top:10px;background-color:#FFFFFF;border:1px solid #d8d8d8;font-size:12px;"><b>' . $user->lang['SEO_HTACCESS_CAPTION'] . ':</b><ul style="margin-left:30px;margin-top:10px;font-weight:bold;font-size:12px;">' . "\n"; - $htaccess_output .= '<li style="color:blue"> ' . $user->lang['SEO_HTACCESS_CAPTION_COMMENT'] . '</li>' . "\n"; - $htaccess_output .= '<li style="color:#A020F0"> ' . $user->lang['SEO_HTACCESS_CAPTION_STATIC'] . '</li>' . "\n"; - $htaccess_output .= '<li style="color:#6A5ACD"> ' . $user->lang['SEO_HTACCESS_CAPTION_SUFFIX'] . '</li>' . "\n"; - $htaccess_output .= '<li style="color:#FF00FF"> ' . $user->lang['SEO_HTACCESS_CAPTION_DELIM'] . '</li>' . "\n"; - if ($this->new_config['more_options']) { - $htaccess_output .= '<li style="color:red"> ' . $user->lang['SEO_HTACCESS_CAPTION_SLASH'] . '</li> ' . "\n"; - } - $htaccess_output .= '</ul></div>' . "\n" . '</div></div><p>' . "\n"; - } else { // File output - $htaccess_output = str_replace(array('<', '>', '&'), array('<', '>', '&'), strip_tags($htaccess_code)); - } - return $htaccess_output; - } - /** - * get_mods_ht Get all mods htaccess tpls - */ - function get_mods_ht() { - global $phpEx, $config, $phpbb_root_path, $phpbb_seo; - $all_ht_tpl = array('pos1' => '', 'pos2' => ''); - $path = $phpbb_root_path . 'phpbb_seo/includes/htmods'; - if (!($dir = @opendir($path))) { - return false; - } - while( ($file = @readdir($dir)) !== false ) { - if (!trim($file, '. ')) { - continue; - } - if(preg_match('`^ht_([a-z0-9_-]+)\.' . $phpEx . '$`i', $file, $match)) { - $mode = $match[1]; - $class = 'ht_' . $mode; - require_once("$path/$file"); - $module = new $class(); - if ($tpl = $module->get_tpl()) { - if (!empty($tpl['pos1'])) { - $all_ht_tpl['pos1'] .= $tpl['pos1'] . "\n"; - } - if (!empty($tpl['pos2'])) { - $all_ht_tpl['pos2'] .= $tpl['pos2'] . "\n"; - } - } - } - } - return !empty($all_ht_tpl['pos1']) || !empty($all_ht_tpl['pos2']) ? $all_ht_tpl : false; - - } - /** - * set_phpbb_seo_links Builds links to support threads - */ - function set_phpbb_seo_links() { - global $user, $phpbb_seo, $config; - $modrtype_lang = array(); - $phpbb_seo->version = htmlspecialchars($phpbb_seo->version); - $phpbb_seo->modrtype = intval($phpbb_seo->modrtype); - if ($phpbb_seo->modrtype < 1 || $phpbb_seo->modrtype > 3) { - $phpbb_seo->modrtype = 1; - } - $modrtype_lang['titles'] = array( 1 => $user->lang['ACP_SEO_SIMPLE'], 2 => $user->lang['ACP_SEO_MIXED'], 3 => $user->lang['ACP_SEO_ADVANCED'], 'u' => $user->lang['ACP_ULTIMATE_SEO_URL']); - $modrtype_lang['title'] = $modrtype_lang['titles'][$phpbb_seo->modrtype]; - $modrtype_lang['utitle'] = $modrtype_lang['titles']['u']; - $modrtype_lang['types'] = array( 1 => 'SIMPLE', 2 => 'MIXED', 1 => 'SIMPLE', 3 => 'ADVANCED'); - $modrtype_lang['type'] = $modrtype_lang['types'][$phpbb_seo->modrtype]; - $modrtype_lang['modrlinks_en'] = array( 1 => 'http://www.phpbb-seo.com/en/simple-seo-url/simple-phpbb-seo-url-t1566.html', 2 => 'http://www.phpbb-seo.com/en/mixed-seo-url/mixed-phpbb-seo-url-t1565.html', 3 => 'http://www.phpbb-seo.com/en/advanced-seo-url/advanced-phpbb-seo-url-t1219.html', 'u' => 'http://www.phpbb-seo.com/en/phpbb-mod-rewrite/ultimate-seo-url-t4608.html' ); - $modrtype_lang['modrlinks_fr'] = array( 1 => 'http://www.phpbb-seo.com/fr/reecriture-url-simple/seo-url-phpbb-simple-t1945.html', 2 => 'http://www.phpbb-seo.com/fr/reecriture-url-intermediaire/seo-url-intermediaire-t1946.html', 3 => 'http://www.phpbb-seo.com/fr/reecriture-url-avancee/seo-url-phpbb-avance-t1501.html', 'u' => 'http://www.phpbb-seo.com/fr/mod-rewrite-phpbb/ultimate-seo-url-t4489.html' ); - $modrtype_lang['modrforumlinks_en'] = array( 1 => 'http://www.phpbb-seo.com/en/simple-seo-url/', 2 => 'http://www.phpbb-seo.com/en/mixed-seo-url/', 3 => 'http://www.phpbb-seo.com/en/advanced-seo-url/', 'u' => 'http://www.phpbb-seo.com/en/phpbb-mod-rewrite/' ); - $modrtype_lang['modrforumlinks_fr'] = array( 1 => 'http://www.phpbb-seo.com/fr/reecriture-url-simple/', 2 => 'http://www.phpbb-seo.com/fr/reecriture-url-intermediaire/', 3 => 'http://www.phpbb-seo.com/fr/reecriture-url-avancee/', 'u' => 'http://www.phpbb-seo.com/fr/mod-rewrite-phpbb/' ); - if (strpos($config['default_lang'], 'fr') !== false ) { - $modrtype_lang['linkurl'] = $modrtype_lang['modrlinks_fr'][$phpbb_seo->modrtype]; - $modrtype_lang['forumlinkurl'] = $modrtype_lang['modrforumlinks_fr'][$phpbb_seo->modrtype]; - $modrtype_lang['ulinkurl'] = $modrtype_lang['modrlinks_fr']['u']; - $modrtype_lang['uforumlinkurl'] = $modrtype_lang['modrforumlinks_fr']['u']; - } else { - $modrtype_lang['linkurl'] = $modrtype_lang['modrlinks_en'][$phpbb_seo->modrtype]; - $modrtype_lang['forumlinkurl'] = $modrtype_lang['modrforumlinks_en'][$phpbb_seo->modrtype]; - $modrtype_lang['ulinkurl'] = $modrtype_lang['modrlinks_en']['u']; - $modrtype_lang['uforumlinkurl'] = $modrtype_lang['modrforumlinks_en']['u']; - } - $modrtype_lang['link'] = '<a href="' . $modrtype_lang['linkurl'] . '" title="' . $user->lang['ACP_PHPBB_SEO_VERSION'] . ' ' . $modrtype_lang['title'] . '" onclick="window.open(this.href); return false;"><b>' . $modrtype_lang['title'] . '</b></a>'; - $modrtype_lang['forumlink'] = '<a href="' . $modrtype_lang['forumlinkurl'] . '" title="' . $user->lang['ACP_SEO_SUPPORT_FORUM'] . '" onclick="window.open(this.href); return false;"><b>' . $user->lang['ACP_SEO_SUPPORT_FORUM'] . '</b></a>'; - $modrtype_lang['ulink'] = '<a href="' . $modrtype_lang['ulinkurl'] . '" title="' . $user->lang['ACP_PHPBB_SEO_VERSION'] . ' ' . $modrtype_lang['utitle'] . '" onclick="window.open(this.href); return false;"><b>' . $modrtype_lang['utitle'] . '</b></a>'; - $modrtype_lang['uforumlink'] = '<a href="' . $modrtype_lang['uforumlinkurl'] . '" title="' . $user->lang['ACP_SEO_SUPPORT_FORUM'] . '" onclick="window.open(this.href); return false;"><b>' . $user->lang['ACP_SEO_SUPPORT_FORUM'] . '</b></a>'; - return $modrtype_lang; - } - /** - * check_cache_folder Validates the cache folder status - */ - function check_cache_folder($cache_dir, $msg = true) { - global $user, $phpEx; - $exists = $write = $inner_write = false; - $cache_msg = ''; - if (file_exists($cache_dir) && is_dir($cache_dir)) { - $exists = true; - if (!is_writeable($cache_dir)) { - phpbb_chmod($cache_dir, CHMOD_READ | CHMOD_WRITE); - $fp = @fopen($cache_dir . 'test_lock', 'wb'); - if ($fp !== false) { - $write = true; - } - @fclose($fp); - @unlink($phpbb_root_path . $dir . 'test_lock'); - } else { - $write = true; - } - // check if the config cache file is here already and writeable - $check = $cache_dir . "phpbb_cache.$phpEx"; - $checks = array("$check.old", "$check.current", "$cache_dir.htaccess", "$cache_dir.htaccess.old", "$cache_dir.htaccess.current"); - // let's check all files - $inner_write = true; - foreach($checks as $check) { - if (file_exists($check)) { - if (!is_writeable($check)) { - $inner_write = false; - phpbb_chmod($check, CHMOD_READ | CHMOD_WRITE); - $fp = @fopen($check, 'wb'); - if ($fp !== false) { - $inner_write = true; - } - @fclose($fp); - } - } - } - } - if ($msg) { - $exists = ($exists) ? '<b style="color:green">' . $user->lang['SEO_CACHE_FOUND'] . '</b>' : '<b style="color:red">' . $user->lang['SEO_CACHE_NOT_FOUND'] . '</b>'; - $write = ($write) ? '<br/> <b style="color:green">' . $user->lang['SEO_CACHE_WRITABLE'] . '</b>' : (($exists) ? '<br/> <b style="color:red">' . $user->lang['SEO_CACHE_UNWRITABLE'] . '</b>' : ''); - $inner_write = $inner_write ? '' : '<br/> <b style="color:red">' . $user->lang['SEO_CACHE_INNER_UNWRITABLE'] . '</b>'; - $cache_msg = sprintf($user->lang['SEO_CACHE_STATUS'], $cache_dir) . '<br/>' . $exists . $write . $inner_write; - return '<br/><b>' . $user->lang['SEO_CACHE_FILE_TITLE'] . ':</b><br/>' . $cache_msg . '<br/><br/>'; - } else { - return ($exists && $write); - } - } - /** - * write_cache( ) will write the cached file and keep backups. - */ - function write_cache( $type = 'forum' ) { - global $phpbb_seo; - if(!$phpbb_seo->cache_config['cache_enable'] || (!@is_array($phpbb_seo->cache_config[$type]) && $type != 'htaccess' ) || !array_key_exists($type, $phpbb_seo->cache_config['files'])) { - return FALSE; - } - $cache_tpl = '<'.'?php' . "\n" . '/**' . "\n" . '* phpBB_SEO Class' . "\n" . '* www.phpBB-SEO.com' . "\n" . '* @package Advanced phpBB3 SEO mod Rewrite' . "\n" . '*/' . "\n" . 'if (!defined(\'IN_PHPBB\')) {' . "\n\t" . 'exit;' . "\n" . '}' . "\n"; - if ($type == 'forum') { // Add the phpbb_seo_config - $update = '$this->cache_config[\'settings\'] = ' . preg_replace('`[\s]+`', ' ', var_export($phpbb_seo->cache_config['settings'], true)) . ';'. "\n"; - $update .= '$this->cache_config[\'forum\'] = ' . preg_replace('`[\s]+`', ' ', var_export($phpbb_seo->cache_config['forum'], true)) . ';'. "\n"; - $update = $cache_tpl . $update . '?'.'>'; - } elseif ($type == 'htaccess') { // .htaccess case - $update = $this->seo_htaccess(false); - } else { // Allow additional types - $update = '$this->cache_config[\'' . $type . '\'] = ' . preg_replace('`[\s]+`', ' ', var_export($phpbb_seo->cache_config[$type], true)) . ';'. "\n"; - $update = $cache_tpl . $update . '?'.'>'; - } - $file = SEO_CACHE_PATH . $phpbb_seo->cache_config['files'][$type]; - // Keep a backup of the previous settings - @copy($file, $file . '.old'); - $handle = @fopen($file, 'wb'); - @fputs($handle, $update); - @fclose ($handle); - unset($update); - @umask(0000); - phpbb_chmod($file, CHMOD_READ | CHMOD_WRITE); - // Keep a backup of the current settings - @copy($file, $file . '.current'); - return true; - } - /** - * select_multiple($value, $key, $select_ary) - */ - function select_multiple($value, $key, $select_ary) { - $size = min(12,count($select_ary)); - $html = '<select multiple="multiple" id="' . $key . '" name="multiple_' . $key . '[]" size="' . $size . '">'; - foreach ($select_ary as $sel_key => $sel_data) { - if (empty($sel_data['disabled'])) { - $selected = array_search($sel_key, @$this->new_config[$key]) !== false ? 'selected="selected"' : ''; - $disabled = ''; - } else { - $disabled = 'disabled="disabled" class="disabled-option"'; - $selected = ''; - } - $sel_title = $sel_data['title']; - $html .= "<option value=\"$sel_key\" $disabled $selected>$sel_title</option>"; - } - return $html . '</select>'; - } - /** - * forum_select() // custom forum select setup - */ - function forum_select($ignore_acl = true, $ignore_nonpost = false, $ignore_emptycat = false, $only_acl_post = false) { - $select_ary = make_forum_select(false, false, $ignore_acl, $ignore_nonpost, $ignore_emptycat, $only_acl_post, true); - foreach($select_ary as $f_id => $f_data) { - $select_ary[$f_id] = array( - 'title' => $f_data['padding'] . $f_data['forum_name'], - 'disabled' => $f_data['disabled'], - ); - } - return $select_ary; - } - /** - * Pick a language, any language ... or no language - */ - function language_select($default = '') { - global $user; - return '<option value="">' . $user->lang['DISABLED'] . '</option>' . language_select($default); - } -} // End of acp class -?>
\ No newline at end of file diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php index f3e41b518f..2288a0728b 100644 --- a/phpBB/includes/acp/acp_profile.php +++ b/phpBB/includes/acp/acp_profile.php @@ -1623,4 +1623,4 @@ class acp_profile } } -?>
\ No newline at end of file +?> diff --git a/phpBB/includes/acp/acp_update.php b/phpBB/includes/acp/acp_update.php index fb2d20a6a4..b0ce8f1084 100644 --- a/phpBB/includes/acp/acp_update.php +++ b/phpBB/includes/acp/acp_update.php @@ -50,16 +50,14 @@ class acp_update $announcement_url = trim($info[1]); $announcement_url = (strpos($announcement_url, '&') === false) ? str_replace('&', '&', $announcement_url) : $announcement_url; $update_link = append_sid($phpbb_root_path . 'install/index.' . $phpEx, 'mode=update'); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - // moved a little bellow + // next feature release - /*$next_feature_version = $next_feature_announcement_url = false; + $next_feature_version = $next_feature_announcement_url = false; if (isset($info[2]) && trim($info[2]) !== '') { $next_feature_version = trim($info[2]); $next_feature_announcement_url = trim($info[3]); - }*/ - // www.phpBB-SEO.com SEO TOOLKIT BEGIN + } // Determine automatic update... $sql = 'SELECT config_value @@ -73,28 +71,7 @@ class acp_update $up_to_date_automatic = (version_compare(str_replace('rc', 'RC', strtolower($current_version)), str_replace('rc', 'RC', strtolower($latest_version)), '<')) ? false : true; $up_to_date = (version_compare(str_replace('rc', 'RC', strtolower($config['version'])), str_replace('rc', 'RC', strtolower($latest_version)), '<')) ? false : true; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo_update = ''; - if ($up_to_date) { - $phpbb_seo_update = trim(str_replace($current_version, '', $latest_version)); - } - $update_instruction = sprintf($user->lang['UPDATE_INSTRUCTIONS'], $announcement_url, $update_link); - if (!empty($phpbb_seo_update)) { - $auto_package = trim($info[2]); - $auto_update = $auto_package === 'auto_update:yes' ? true : false; - $up_to_date = ($latest_version === @$config['seo_premod_version']) ? true : false; - if (!$auto_update) { - $update_instruction = '<br/><br/><hr/>' . sprintf($user->lang['ACP_PREMOD_UPDATE'], $latest_version, $announcement_url) . '<br/><hr/>'; - } - } - // next feature release - $next_feature_version = $next_feature_announcement_url = false; - if (isset($info[3]) && trim($info[3]) !== '') - { - $next_feature_version = trim($info[3]); - $next_feature_announcement_url = trim($info[4]); - } - // www.phpBB-SEO.com SEO TOOLKIT END + $template->assign_vars(array( 'S_UP_TO_DATE' => $up_to_date, 'S_UP_TO_DATE_AUTO' => $up_to_date_automatic, diff --git a/phpBB/includes/acp/info/acp_gym_sitemaps.php b/phpBB/includes/acp/info/acp_gym_sitemaps.php deleted file mode 100644 index aa6760d72c..0000000000 --- a/phpBB/includes/acp/info/acp_gym_sitemaps.php +++ /dev/null @@ -1,39 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: acp_gym_sitemaps.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ - -/** -* @package module_install -*/ -class acp_gym_sitemaps_info { - function module() { - return array( - 'filename' => 'gym_sitemaps', - 'title' => 'ACP_GYM_SITEMAPS', - 'version' => '2.0.0', - 'modes' => array( - 'main' => array('title' => 'ACP_GYM_MAIN', 'auth' => 'acl_a_board', 'cat' => array('ACP_GYM_SITEMAPS')), - 'google' => array('title' => 'ACP_GYM_GOOGLE_MAIN', 'auth' => 'acl_a_board', 'cat' => array('ACP_GYM_SITEMAPS')), - 'rss' => array('title' => 'ACP_GYM_RSS_MAIN', 'auth' => 'acl_a_board', 'cat' => array('ACP_GYM_SITEMAPS')), - //'yahoo' => array('title' => 'ACP_GYM_YAHOO_MAIN', 'auth' => 'acl_a_board', 'cat' => array('ACP_GYM_SITEMAPS')), - 'html' => array('title' => 'ACP_GYM_HTML_MAIN', 'auth' => 'acl_a_board', 'cat' => array('ACP_GYM_SITEMAPS')), - ), - ); - } - - function install() - { - } - - function uninstall() - { - } -} - -?>
\ No newline at end of file diff --git a/phpBB/includes/acp/info/acp_phpbb_seo.php b/phpBB/includes/acp/info/acp_phpbb_seo.php deleted file mode 100644 index 482bcab41a..0000000000 --- a/phpBB/includes/acp/info/acp_phpbb_seo.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php -/** -* -* @package Ultimate SEO URL phpBB SEO -* @version $Id: acp_phpbb_seo.php 131 2009-10-25 12:03:44Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://www.opensource.org/licenses/rpl1.5.txt Reciprocal Public License 1.5 -* -*/ - -/** -* @package module_install -*/ -class acp_phpbb_seo_info { - function module() { - return array( - 'filename' => 'phpbb_seo', - 'title' => 'ACP_CAT_PHPBB_SEO', - 'version' => '0.6.0', - 'modes' => array( - 'settings' => array('title' => 'ACP_PHPBB_SEO_CLASS', 'auth' => 'acl_a_board', 'cat' => array('ACP_MOD_REWRITE')), - 'forum_url' => array('title' => 'ACP_FORUM_URL', 'auth' => 'acl_a_board', 'cat' => array('ACP_MOD_REWRITE')), - 'htaccess' => array('title' => 'ACP_HTACCESS', 'auth' => 'acl_a_board', 'cat' => array('ACP_MOD_REWRITE')), - 'extended' => array('title' => 'ACP_SEO_EXTENDED', 'auth' => 'acl_a_board', 'cat' => array('ACP_MOD_REWRITE')), - )); - } - - function install() - { - } - - function uninstall() - { - } -} - -?>
\ No newline at end of file diff --git a/phpBB/includes/auth/auth_ldap.php b/phpBB/includes/auth/auth_ldap.php index e8c957aaa3..33413094ef 100644 --- a/phpBB/includes/auth/auth_ldap.php +++ b/phpBB/includes/auth/auth_ldap.php @@ -51,6 +51,9 @@ function init_ldap() @ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3); @ldap_set_option($ldap, LDAP_OPT_REFERRALS, 0); + + /* Patch by maat */ + @ldap_start_tls($ldap); if ($config['ldap_user'] || $config['ldap_password']) { @@ -152,6 +155,9 @@ function login_ldap(&$username, &$password) @ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3); @ldap_set_option($ldap, LDAP_OPT_REFERRALS, 0); + /* Patch by maat */ + @ldap_start_tls($ldap); + if ($config['ldap_user'] || $config['ldap_password']) { if (!@ldap_bind($ldap, htmlspecialchars_decode($config['ldap_user']), htmlspecialchars_decode($config['ldap_password']))) @@ -346,4 +352,4 @@ function acp_ldap(&$new) ); } -?>
\ No newline at end of file +?> diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index b64eff4704..af2a6ebd24 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -28,7 +28,7 @@ if (!defined('IN_PHPBB')) define('PHPBB_VERSION', '3.0.8'); // QA-related -// define('PHPBB_SEO_QA', 1); +// define('PHPBB_QA', 1); // User related define('ANONYMOUS', 1); diff --git a/phpBB/includes/db/dbal.php b/phpBB/includes/db/dbal.php index fe30e209c4..eeddf1f41b 100644 --- a/phpBB/includes/db/dbal.php +++ b/phpBB/includes/db/dbal.php @@ -711,9 +711,7 @@ class dbal function sql_report($mode, $query = '') { global $cache, $starttime, $phpbb_root_path, $user; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $phpbb_seo; - // www.phpBB-SEO.com SEO TOOLKIT END + if (empty($_REQUEST['explain'])) { return false; @@ -743,7 +741,7 @@ class dbal <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="imagetoolbar" content="no" /> <title>SQL Report</title> - <link href="' . $phpbb_seo->seo_path['phpbb_url'] . 'adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" /> + <link href="' . $phpbb_root_path . 'adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" /> </head> <body id="errorpage"> <div id="wrap"> diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index fc9e3ae292..561a9906c4 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2034,9 +2034,7 @@ function tracking_unserialize($string, $max_depth = 3) function generate_pagination($base_url, $num_items, $per_page, $start_item, $add_prevnext_text = false, $tpl_prefix = '') { global $template, $user; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $phpbb_seo, $phpEx; - // www.phpBB-SEO.com SEO TOOLKIT END + // Make sure $per_page is a valid value $per_page = ($per_page <= 0) ? 1 : $per_page; @@ -2100,56 +2098,15 @@ function generate_pagination($base_url, $num_items, $per_page, $start_item, $add } } - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $prev = ($on_page == 1) ? '' : $base_url . "{$url_delim}start=" . (($on_page - 2) * $per_page); - $next = ($on_page == $total_pages) ? '' : $base_url . "{$url_delim}start=" . ($on_page * $per_page); - if (!empty($phpbb_seo->seo_opt['url_rewrite'])) { - static $pagin_find = array(); - static $pagin_replace = array(); - if (empty($pagin_replace)) { - $pagin_find = array('`(https?\://[a-z0-9_/\.-]+/[a-z0-9_\.-]+)(\.[a-z0-9]+)(\?[\w$%&~\-;:=,@+\.]+)?(#[a-z0-9_\.-]+)?(&|\?)start=([0-9]+)`i', '`(https?\://[a-z0-9_/\.-]+/[a-z0-9_\-]+)/(\?[\w$%&~\-;:=,@+\.]+)?(#[a-z0-9_\.-]+)?(&|\?)start=([0-9]+)`i'); - $pagin_replace = array( '\1' . $phpbb_seo->seo_delim['start'] . '\6\2\3\4', '\1/' . $phpbb_seo->seo_static['pagination'] . '\5' . $phpbb_seo->seo_ext['pagination'] . '\2\3'); - } - $rewrite_pagination = false; - // here we rewrite rewritten urls only, and they do hold the full url with http - if (preg_match('`^https?://[a-z0-9_\.-]+/(.*)$`i', $base_url, $match)) { - $rewrite_pagination = true; - if (!empty($match[1])) { - // though, we won't do it for .php files. - if (preg_match('`^.*\.' . $phpEx . '(|\?.*|#.*)$`i', trim($match[1]))) { - $rewrite_pagination = false; - - } - } - - } - // in all cases remove the start=0 dupe - $page_string = str_replace($url_delim . 'start=0', '', $page_string); - $prev = str_replace($url_delim . 'start=0', '', $prev); - if ($rewrite_pagination) { - $page_string = preg_replace($pagin_find, $pagin_replace, $page_string); - $prev = $prev ? preg_replace($pagin_find, $pagin_replace, $prev) : ''; - $next = $next ? preg_replace( $pagin_find, $pagin_replace, $next) : ''; - } else { - // take care about eventual hashes - if (strpos($base_url, '#') !== false) { - static $hash_find = '`((https?\://)?[a-z0-9_/\.-]+\.[a-z0-9]+)(\?[\w$%&~\-;:=,@+\.]+)?(#[a-z0-9_\.-]+)((&|\?)start=[0-9]+)`'; - static $hash_replace = '\1\3\5\4'; - $page_string = preg_replace($hash_find, $hash_replace, $page_string); - $prev = $prev ? preg_replace($hash_find, $hash_replace, $prev) : ''; - $next = $next ? preg_replace($hash_find, $hash_replace, $next) : ''; - } - } - } $template->assign_vars(array( - $tpl_prefix . 'BASE_URL' => $base_url, + $tpl_prefix . 'BASE_URL' => $base_url, 'A_' . $tpl_prefix . 'BASE_URL' => addslashes($base_url), - $tpl_prefix . 'PER_PAGE' => $per_page, - $tpl_prefix . 'PREVIOUS_PAGE' => $prev, - $tpl_prefix . 'NEXT_PAGE' => $next, - $tpl_prefix . 'TOTAL_PAGES' => $total_pages) - ); - // www.phpBB-SEO.com SEO TOOLKIT END + $tpl_prefix . 'PER_PAGE' => $per_page, + + $tpl_prefix . 'PREVIOUS_PAGE' => ($on_page == 1) ? '' : $base_url . "{$url_delim}start=" . (($on_page - 2) * $per_page), + $tpl_prefix . 'NEXT_PAGE' => ($on_page == $total_pages) ? '' : $base_url . "{$url_delim}start=" . ($on_page * $per_page), + $tpl_prefix . 'TOTAL_PAGES' => $total_pages, + )); return $page_string; } @@ -2196,13 +2153,7 @@ function on_page($num_items, $per_page, $start) function append_sid($url, $params = false, $is_amp = true, $session_id = false) { global $_SID, $_EXTRA_URL, $phpbb_hook; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - // We bypass the hook function here, the same effect as a standalone hook, which we want, but faster ;-) - global $phpbb_seo; - if (!empty($phpbb_seo->seo_opt['url_rewrite'])) { - return $phpbb_seo->url_rewrite($url, $params, $is_amp, $session_id); - } else - // www.phpBB-SEO.com SEO TOOLKIT END + // Developers using the hook function need to globalise the $_SID and $_EXTRA_URL on their own and also handle it appropriately. // They could mimic most of what is within this function if (!empty($phpbb_hook) && $phpbb_hook->call_hook(__FUNCTION__, $url, $params, $is_amp, $session_id)) @@ -4301,35 +4252,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0 { return; } - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $phpbb_seo; - $template->assign_vars( array( 'PHPBB_FULL_URL' => $phpbb_seo->seo_path['phpbb_url'], - 'SEO_BASE_HREF' => $phpbb_seo->seo_opt['seo_base_href'], - 'SEO_START_DELIM' => $phpbb_seo->seo_delim['start'], - 'SEO_SATIC_PAGE' => $phpbb_seo->seo_static['pagination'], - 'SEO_EXT_PAGE' => $phpbb_seo->seo_ext['pagination'], - 'SEO_CANONICAL_URL' => !empty($phpbb_seo->seo_opt['no_dupe']['on']) ? $phpbb_seo->get_canonical() : '', - 'SEO_EXTERNAL' => !empty($config['seo_ext_links']) ? 'true' : 'false', - 'SEO_EXTERNAL_SUB' => !empty($config['seo_ext_subdomain']) ? 'true' : 'false', - 'SEO_EXT_CLASSES' => !empty($config['seo_ext_classes']) ? "'" . preg_replace('`[^a-z0-9_|-]+`', '', str_replace(',', '|', trim($config['seo_ext_classes'], ', '))) . "'" : 'false', - 'SEO_HASHFIX' => $phpbb_seo->seo_opt['url_rewrite'] && $phpbb_seo->seo_opt['virtual_folder'] ? 'true' : 'false', - )); - if (isset($user->lang['Page']) && !empty($config['seo_append_sitename']) && !empty($config['sitename'])) { - $page_title = $page_title && strpos($page_title, $config['sitename']) === false ? $page_title . ' - ' . $config['sitename'] : $page_title; - } - // www.phpBB-SEO.com SEO TOOLKIT END - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - META - global $seo_meta; - $seo_meta->build_meta($page_title); - // www.phpBB-SEO.com SEO TOOLKIT END - META - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - GYM LINKS - if (!empty($config['gym_installed'])) { - if (!function_exists('obtain_gym_links')) { - require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_common.' . $phpEx); - } - $gym_setup = obtain_gym_links(); - } - // www.phpBB-SEO.com SEO TOOLKIT END - GYM LINKS + define('HEADER_INC', true); // gzip_compression @@ -4488,9 +4411,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0 'U_PRIVATEMSGS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'), 'U_RETURN_INBOX' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'), 'U_POPUP_PM' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=popup'), - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - 'UA_POPUP_PM' => addslashes(append_sid($phpbb_seo->seo_path['phpbb_url'] . "ucp.$phpEx", 'i=pm&mode=popup')), - // www.phpBB-SEO.com SEO TOOLKIT END + 'UA_POPUP_PM' => addslashes(append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=popup')), 'U_MEMBERLIST' => append_sid("{$phpbb_root_path}memberlist.$phpEx"), 'U_VIEWONLINE' => ($auth->acl_gets('u_viewprofile', 'a_user', 'a_useradd', 'a_userdel')) ? append_sid("{$phpbb_root_path}viewonline.$phpEx") : '', 'U_LOGIN_LOGOUT' => $u_login_logout, @@ -4596,12 +4517,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0 function page_footer($run_cron = true) { global $db, $config, $template, $user, $auth, $cache, $starttime, $phpbb_root_path, $phpEx; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $phpbb_seo; - if (!empty($phpbb_seo)) { - $phpbb_seo->seo_end(); - } - // www.phpBB-SEO.com SEO TOOLKIT END + // Output page creation time if (defined('DEBUG')) { @@ -4769,11 +4685,5 @@ function phpbb_user_session_handler() return; } -function nice_print($input) { - if (is_array($input) || is_object($input) ) { - echo '<pre>' . var_export($input, true) . '</pre>'; - } else { - echo '<pre>' . $input . '</pre>'; - } -} + ?>
\ No newline at end of file diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 283f1175ad..2aa12adb2e 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -3298,14 +3298,10 @@ function obtain_latest_version_info($force_update = false, $warn_fail = false, $ { $errstr = ''; $errno = 0; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $config; - $url = 'www.phpbb-seo.com'; - $dir = (strpos($config['default_lang'], 'fr') !== false ? '/fr' : '/en') . '/updatecheck'; - $info = get_remote_file($url, $dir, ((defined('PHPBB_SEO_QA')) ? 'test_30x.txt' : 'premod_30x.txt'), $errstr, $errno); - //$info = get_remote_file('version.phpbb.com', '/phpbb', - // ((defined('PHPBB_QA')) ? '30x_qa.txt' : '30x.txt'), $errstr, $errno); - // www.phpBB-SEO.com SEO TOOLKIT END + + $info = get_remote_file('version.phpbb.com', '/phpbb', + ((defined('PHPBB_QA')) ? '30x_qa.txt' : '30x.txt'), $errstr, $errno); + if ($info === false) { $cache->destroy('versioncheck'); diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php index 086734eb1d..faff9dd0de 100644 --- a/phpBB/includes/functions_content.php +++ b/phpBB/includes/functions_content.php @@ -762,9 +762,7 @@ function parse_attachments($forum_id, &$message, &$attachments, &$update_count, global $template, $cache, $user; global $extensions, $config, $phpbb_root_path, $phpEx; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $phpbb_seo; - // www.phpBB-SEO.com SEO TOOLKIT END + // $compiled_attachments = array(); @@ -939,25 +937,7 @@ function parse_attachments($forum_id, &$message, &$attachments, &$update_count, $display_cat = ATTACHMENT_CATEGORY_NONE; } - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - //$download_link = append_sid("{$phpbb_root_path}download/file.$phpEx", 'id=' . $attachment['attach_id']); - $download_link = "{$phpbb_root_path}download/file.$phpEx?id=" . $attachment['attach_id']; - $comment_clean = preg_replace('`<[^>]*>`Ui', ' ', $comment); - $block_array += array( - 'COMMENT_CLEAN' => $comment_clean, - ); - if (!empty($phpbb_seo->seo_opt['rewrite_files'])) { - if (empty($phpbb_seo->seo_url['file'][$attachment['attach_id']])) { - if (($_pos = utf8_strpos($comment, '<br')) !== false) { - $comment_url = strip_tags(utf8_substr($comment, 0, $_pos)); - } else { - $comment_url = $comment_clean; - } - $comment_url = utf8_strlen($comment_url) > 60 ? utf8_substr($comment_url, 0, 60) : $comment_url; - $phpbb_seo->seo_url['file'][$attachment['attach_id']] = $phpbb_seo->format_url($comment_url, $phpbb_seo->seo_static['file'][$display_cat]); - } - } - // www.phpBB-SEO.com SEO TOOLKIT END + $download_link = append_sid("{$phpbb_root_path}download/file.$phpEx", 'id=' . $attachment['attach_id']); switch ($display_cat) { @@ -1033,9 +1013,7 @@ function parse_attachments($forum_id, &$message, &$attachments, &$update_count, 'S_FLASH_FILE' => true, 'WIDTH' => $width, 'HEIGHT' => $height, - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - 'U_VIEW_LINK' => append_sid($download_link . '&view=1'), - // www.phpBB-SEO.com SEO TOOLKIT END + 'U_VIEW_LINK' => $download_link . '&view=1', ); // Viewed/Heared File ... update the download count @@ -1050,9 +1028,7 @@ function parse_attachments($forum_id, &$message, &$attachments, &$update_count, ); break; } - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $download_link = append_sid($download_link); - // www.phpBB-SEO.com SEO TOOLKIT END + $l_download_count = (!isset($attachment['download_count']) || $attachment['download_count'] == 0) ? $user->lang[$l_downloaded_viewed . '_NONE'] : (($attachment['download_count'] == 1) ? sprintf($user->lang[$l_downloaded_viewed], $attachment['download_count']) : sprintf($user->lang[$l_downloaded_viewed . 'S'], $attachment['download_count'])); $block_array += array( @@ -1261,16 +1237,7 @@ function get_username_string($mode, $user_id, $username, $username_colour = '', // For anonymous the link leads to a login page. if ($user_id && $user_id != ANONYMOUS && ($user->data['user_id'] == ANONYMOUS || $auth->acl_get('u_viewprofile'))) { - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - // $profile_url = ($custom_profile_url !== false) ? $custom_profile_url . '&u=' . (int) $user_id : str_replace(array('={USER_ID}', '=%7BUSER_ID%7D'), '=' . (int) $user_id, $_profile_cache['base_url']); - global $phpbb_seo, $phpbb_root_path, $phpEx; - $phpbb_seo->set_user_url( $username, $user_id ); - if ($custom_profile_url !== false) { - $profile_url = reapply_sid($custom_profile_url . (strpos($custom_profile_url, '?') !== false ? '&' : '?' ) . 'u=' . (int) $user_id); - } else { - $profile_url = append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&u=' . (int) $user_id); - } - // www.phpBB-SEO.com SEO TOOLKIT END + $profile_url = ($custom_profile_url !== false) ? $custom_profile_url . '&u=' . (int) $user_id : str_replace(array('={USER_ID}', '=%7BUSER_ID%7D'), '=' . (int) $user_id, $_profile_cache['base_url']); } else { diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index de06c08058..2de7e1b169 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -23,9 +23,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod { global $db, $auth, $user, $template; global $phpbb_root_path, $phpEx, $config; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $phpbb_seo; - // www.phpBB-SEO.com SEO TOOLKIT END + $forum_rows = $subforums = $forum_ids = $forum_ids_moderator = $forum_moderators = $active_forum_ary = array(); $parent_id = $visible_forums = 0; $sql_from = ''; @@ -89,15 +87,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod $sql_array['SELECT'] .= ', fa.user_id'; } - // www.phpBB-SEO.com SEO TOOLKIT BEGIN -> no dupe - if (@$phpbb_seo->seo_opt['no_dupe']['on']) { - $sql_array['SELECT'] .= ', t.topic_id, t.topic_title, t.topic_replies, t.topic_replies_real, t.topic_status, t.topic_type, t.topic_moved_id' . (!empty($phpbb_seo->seo_opt['sql_rewrite']) ? ', t.topic_url ' : ' '); - $sql_array['LEFT_JOIN'][] = array( - 'FROM' => array(TOPICS_TABLE => 't'), - 'ON' => "f.forum_last_post_id = t.topic_last_post_id" - ); - } - // www.phpBB-SEO.com SEO TOOLKIT END -> no dupe + $sql = $db->sql_build_query('SELECT', array( 'SELECT' => $sql_array['SELECT'], 'FROM' => $sql_array['FROM'], @@ -128,9 +118,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod while ($row = $db->sql_fetchrow($result)) { $forum_id = $row['forum_id']; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->set_url($row['forum_name'], $forum_id, 'forum'); - // www.phpBB-SEO.com SEO TOOLKIT END + // Mark forums read? if ($mark_read == 'forums' || $mark_read == 'all') { @@ -181,26 +169,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod // Count the difference of real to public topics, so we can display an information to moderators $row['forum_id_unapproved_topics'] = ($auth->acl_get('m_approve', $forum_id) && ($row['forum_topics_real'] != $row['forum_topics'])) ? $forum_id : 0; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN -> no dupe - if (@$phpbb_seo->seo_opt['no_dupe']['on']) { - if ($row['topic_status'] == ITEM_MOVED) { - $row['topic_id'] = $row['topic_moved_id']; - } - $phpbb_seo->seo_opt['topic_forum_name'][$row['topic_id']] = $row['forum_name']; - if ($auth->acl_get('m_approve', $forum_id)) { - $row['forum_topics'] = $row['forum_topics_real']; - $replies = $row['topic_replies_real']; - } else { - $row['forum_topics'] = $row['forum_topics']; - $replies = $row['topic_replies']; - } - if (($replies + 1) > $phpbb_seo->seo_opt['topic_per_page']) { - $phpbb_seo->seo_opt['topic_last_page'][$row['topic_id']] = floor($replies / $phpbb_seo->seo_opt['topic_per_page']) * $phpbb_seo->seo_opt['topic_per_page']; - } - } else { - $row['forum_topics'] = ($auth->acl_get('m_approve', $forum_id)) ? $row['forum_topics_real'] : $row['forum_topics']; - } - // www.phpBB-SEO.com SEO TOOLKIT END -> no dupe + $row['forum_topics'] = ($auth->acl_get('m_approve', $forum_id)) ? $row['forum_topics_real'] : $row['forum_topics']; // Display active topics from this forum? if ($show_active && $row['forum_type'] == FORUM_POST && $auth->acl_get('f_read', $forum_id) && ($row['forum_flags'] & FORUM_FLAG_ACTIVE_TOPICS)) @@ -280,15 +249,6 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod $forum_rows[$parent_id]['forum_last_poster_name'] = $row['forum_last_poster_name']; $forum_rows[$parent_id]['forum_last_poster_colour'] = $row['forum_last_poster_colour']; $forum_rows[$parent_id]['forum_id_last_post'] = $forum_id; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN -> no dupe - if (@$phpbb_seo->seo_opt['no_dupe']['on']) { - $forum_rows[$parent_id]['topic_id'] = $row['topic_id']; - $forum_rows[$parent_id]['topic_title'] = $row['topic_title']; - $forum_rows[$parent_id]['topic_type'] = $row['topic_type']; - $forum_rows[$parent_id]['forum_password'] = $row['forum_password']; - $forum_rows[$parent_id]['topic_url'] = isset($row['topic_url']) ? $row['topic_url'] : ''; - } - // www.phpBB-SEO.com SEO TOOLKIT END -> no dupe } } } @@ -444,25 +404,11 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod { $last_post_subject = $row['forum_last_post_subject']; $last_post_time = $user->format_date($row['forum_last_post_time']); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN -> no dupe - if (@$phpbb_seo->seo_opt['no_dupe']['on'] && !$row['forum_password'] && $auth->acl_get('f_read', $row['forum_id_last_post'])) { - $phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]); - $last_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&t=' . $row['topic_id'] . '&start=' . @intval($phpbb_seo->seo_opt['topic_last_page'][$row['topic_id']]) ) . '#p' . $row['forum_last_post_id']; - $topic_title = censor_text($row['topic_title']); - // Limit in chars for the last post link text. - $char_limit = 25; - // Limit topic text link to $char_limit, without breacking words - $topic_text_lilnk = $char_limit > 0 && ( ( $length = utf8_strlen($topic_title) ) > $char_limit ) ? ( utf8_strlen($fragment = utf8_substr($topic_title, 0, $char_limit + 1 - 4)) < $length + 1 ? preg_replace('`\s*\S*$`', '', $fragment) . ' ...' : $topic_title ) : $topic_title; - $last_post_link = '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&t=' . $row['topic_id']) . '" title="' . $topic_title . ' : ' . $phpbb_seo->seo_opt['topic_forum_name'][$row['topic_id']] . '">' . $topic_text_lilnk . '</a>'; - } else { - $last_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&p=' . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id']; - $last_post_link = ''; - } + $last_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&p=' . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id']; } else { - $last_post_subject = $last_post_time = $last_post_url = $last_post_link = ''; - // www.phpBB-SEO.com SEO TOOLKIT END -> no dupe + $last_post_subject = $last_post_time = $last_post_url = ''; } // Output moderator listing ... if applicable @@ -537,9 +483,6 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod 'U_UNAPPROVED_TOPICS' => ($row['forum_id_unapproved_topics']) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=unapproved_topics&f=' . $row['forum_id_unapproved_topics']) : '', 'U_VIEWFORUM' => $u_viewforum, 'U_LAST_POSTER' => get_username_string('profile', $row['forum_last_poster_id'], $row['forum_last_poster_name'], $row['forum_last_poster_colour']), - // www.phpBB-SEO.com SEO TOOLKIT BEGIN -> no dupe - 'LAST_POST_LINK' => $last_post_link, - // www.phpBB-SEO.com SEO TOOLKIT END -> no dupe 'U_LAST_POST' => $last_post_url) ); @@ -604,9 +547,7 @@ function generate_forum_nav(&$forum_data) { global $db, $user, $template, $auth, $config; global $phpEx, $phpbb_root_path; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $phpbb_seo; - // www.phpBB-SEO.com SEO TOOLKIT END + if (!$auth->acl_get('f_list', $forum_data['forum_id'])) { return; @@ -621,9 +562,7 @@ function generate_forum_nav(&$forum_data) foreach ($forum_parents as $parent_forum_id => $parent_data) { list($parent_name, $parent_type) = array_values($parent_data); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->set_url($parent_name, $parent_forum_id, 'forum'); - // www.phpBB-SEO.com SEO TOOLKIT END + // Skip this parent if the user does not have the permission to view it if (!$auth->acl_get('f_list', $parent_forum_id)) { @@ -709,9 +648,7 @@ function get_forum_parents(&$forum_data) function topic_generate_pagination($replies, $url) { global $config, $user; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $phpbb_seo, $phpEx; - // www.phpBB-SEO.com SEO TOOLKIT END + // Make sure $per_page is a valid value $per_page = ($config['posts_per_page'] <= 0) ? 1 : $config['posts_per_page']; @@ -738,17 +675,6 @@ function topic_generate_pagination($replies, $url) } $times++; } - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - if (!empty($phpbb_seo->seo_opt['url_rewrite'])) { - static $pagin_find = array(); - static $pagin_replace = array(); - if (empty($pagin_find)) { - $pagin_find = array('`(https?\://[a-z0-9_/\.-]+/[a-z0-9_\.-]+)(\.(?!' . $phpEx . ')[a-z0-9]+)(\?[\w\#$%&~\-;:=,@+\.]+)?(&|\?)start=([0-9]+)`i', '`(https?\://[a-z0-9_/\.-]+/[a-z0-9_\.-]+)/(\?[\w\#$%&~\-;:=,@+\.]+)?(&|\?)start=([0-9]+)`i' ); - $pagin_replace = array( '\1' . $phpbb_seo->seo_delim['start'] . '\5\2\3', '\1/' . $phpbb_seo->seo_static['pagination'] . '\4' . $phpbb_seo->seo_ext['pagination'] . '\2' ); - } - $pagination = preg_replace( $pagin_find, $pagin_replace, $pagination ); - } - // www.phpBB-SEO.com SEO TOOLKIT END } else { @@ -764,9 +690,7 @@ function topic_generate_pagination($replies, $url) function get_moderators(&$forum_moderators, $forum_id = false) { global $config, $template, $db, $phpbb_root_path, $phpEx, $user, $auth; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $phpbb_seo; - // www.phpBB-SEO.com SEO TOOLKIT END + $forum_id_ary = array(); if ($forum_id !== false) @@ -820,9 +744,6 @@ function get_moderators(&$forum_moderators, $forum_id = false) } else { - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->prepare_url('group', $row['group_name'], $row['group_id']); - // www.phpBB-SEO.com SEO TOOLKIT END $group_name = (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']); if ($user->data['user_id'] != ANONYMOUS && !$auth->acl_get('u_viewprofile')) @@ -1025,9 +946,7 @@ function display_user_activity(&$userdata) { global $auth, $template, $db, $user; global $phpbb_root_path, $phpEx; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $phpbb_seo; - // www.phpBB-SEO.com SEO TOOLKIT END + // Do not display user activity for users having more than 5000 posts... if ($userdata['user_posts'] > 5000) { @@ -1093,27 +1012,12 @@ function display_user_activity(&$userdata) if (!empty($active_t_row)) { - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $sql_array = array( - 'SELECT' => 't.topic_title, t.topic_type ' . (!empty($phpbb_seo->seo_opt['sql_rewrite']) ? ', t.topic_url' : '') . ', f.forum_id, f.forum_name', - 'FROM' => array( - TOPICS_TABLE => 't', - ), - 'LEFT_JOIN' => array( - array( - 'FROM' => array(FORUMS_TABLE => 'f'), - 'ON' => 'f.forum_id = t.forum_id', - ), - ), - 'WHERE' => 't.topic_id = ' . (int) $active_t_row['topic_id'] - ); - $result = $db->sql_query($db->sql_build_query('SELECT', $sql_array)); - $seo_active_t_row = $db->sql_fetchrow($result); + $sql = 'SELECT topic_title + FROM ' . TOPICS_TABLE . ' + WHERE topic_id = ' . $active_t_row['topic_id']; + $result = $db->sql_query($sql); + $active_t_row['topic_title'] = (string) $db->sql_fetchfield('topic_title'); $db->sql_freeresult($result); - if ($seo_active_t_row) { - $active_t_row = array_merge($active_t_row, $seo_active_t_row); - } - // www.phpBB-SEO.com SEO TOOLKIT END } $userdata['active_t_row'] = $active_t_row; @@ -1126,9 +1030,6 @@ function display_user_activity(&$userdata) $active_f_id = $active_f_row['forum_id']; $active_f_count = $active_f_row['num_posts']; $active_f_pct = ($userdata['user_posts']) ? ($active_f_count / $userdata['user_posts']) * 100 : 0; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->set_url($active_f_name, $active_f_id, 'forum'); - // www.phpBB-SEO.com SEO TOOLKIT END } $active_t_name = $active_t_id = $active_t_count = $active_t_pct = ''; @@ -1138,13 +1039,6 @@ function display_user_activity(&$userdata) $active_t_id = $active_t_row['topic_id']; $active_t_count = $active_t_row['num_posts']; $active_t_pct = ($userdata['user_posts']) ? ($active_t_count / $userdata['user_posts']) * 100 : 0; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - if (!empty($seo_active_t_row)) { - $active_t_forum_id = (int) $active_t_row['forum_id']; - $phpbb_seo->set_url($active_t_row['forum_name'], $active_t_forum_id, 'forum'); - $phpbb_seo->prepare_iurl($active_t_row, 'topic', $active_t_row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$active_t_forum_id]); - } - // www.phpBB-SEO.com SEO TOOLKIT END } $l_active_pct = ($userdata['user_id'] != ANONYMOUS && $userdata['user_id'] == $user->data['user_id']) ? $user->lang['POST_PCT_ACTIVE_OWN'] : $user->lang['POST_PCT_ACTIVE']; diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 3fbd812a5d..6fd87db663 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1319,18 +1319,13 @@ function user_notification($mode, $subject, $topic_title, $forum_name, $forum_id $messenger->to($addr['email'], $addr['name']); $messenger->im($addr['jabber'], $addr['name']); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $phpbb_seo; - $phpbb_seo->set_url(htmlspecialchars_decode($forum_name), $forum_id, 'forum'); - $phpbb_seo->prepare_iurl(array('topic_id' => $topic_id, 'topic_title' => htmlspecialchars_decode($topic_title)), 'topic', $phpbb_seo->seo_url['forum'][$forum_id]); $messenger->assign_vars(array( 'USERNAME' => htmlspecialchars_decode($addr['name']), 'TOPIC_TITLE' => htmlspecialchars_decode($topic_title), 'FORUM_NAME' => htmlspecialchars_decode($forum_name), - 'U_FORUM' => !empty($phpbb_seo->seo_opt['url_rewrite']) ? $phpbb_seo->drop_sid(append_sid("{$phpbb_root_path}viewforum.$phpEx?f=$forum_id")) : generate_board_url() . "/viewforum.$phpEx?f=$forum_id", - 'U_TOPIC' => !empty($phpbb_seo->seo_opt['url_rewrite']) ? $phpbb_seo->drop_sid(append_sid("{$phpbb_root_path}viewtopic.$phpEx?f=$forum_id&t=$topic_id")) : generate_board_url() . "/viewtopic.$phpEx?f=$forum_id&t=$topic_id", - // www.phpBB-SEO.com SEO TOOLKIT END + 'U_FORUM' => generate_board_url() . "/viewforum.$phpEx?f=$forum_id", + 'U_TOPIC' => generate_board_url() . "/viewtopic.$phpEx?f=$forum_id&t=$topic_id", 'U_NEWEST_POST' => generate_board_url() . "/viewtopic.$phpEx?f=$forum_id&t=$topic_id&p=$post_id&e=$post_id", 'U_STOP_WATCHING_TOPIC' => generate_board_url() . "/viewtopic.$phpEx?uid={$addr['user_id']}&f=$forum_id&t=$topic_id&unwatch=topic", 'U_STOP_WATCHING_FORUM' => generate_board_url() . "/viewforum.$phpEx?uid={$addr['user_id']}&f=$forum_id&unwatch=forum", @@ -1633,9 +1628,7 @@ function delete_post($forum_id, $topic_id, $post_id, &$data) function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $update_message = true, $update_search_index = true) { global $db, $auth, $user, $config, $phpEx, $template, $phpbb_root_path; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - global $phpbb_seo; - // www.phpBB-SEO.com SEO TOOLKIT END + // We do not handle erasing posts here if ($mode == 'delete') { @@ -1823,11 +1816,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u 'topic_time_limit' => ($topic_type == POST_STICKY || $topic_type == POST_ANNOUNCE) ? ($data['topic_time_limit'] * 86400) : 0, 'topic_attachment' => (!empty($data['attachment_data'])) ? 1 : 0, ); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - if (!empty($phpbb_seo->seo_opt['sql_rewrite'])) { - $sql_data[TOPICS_TABLE]['sql'] += array('topic_url' => isset($data['topic_url']) ? $data['topic_url'] : ''); - } - // www.phpBB-SEO.com SEO TOOLKIT END + if (isset($poll['poll_options']) && !empty($poll['poll_options'])) { $poll_start = ($poll['poll_start']) ? $poll['poll_start'] : $current_time; @@ -1913,11 +1902,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u 'topic_attachment' => (!empty($data['attachment_data'])) ? 1 : (isset($data['topic_attachment']) ? $data['topic_attachment'] : 0), ); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - if (!empty($phpbb_seo->seo_opt['sql_rewrite'])) { - $sql_data[TOPICS_TABLE]['sql'] += array('topic_url' => isset($data['topic_url']) ? $data['topic_url'] : ''); - } - // www.phpBB-SEO.com SEO TOOLKIT END + // Correctly set back the topic replies and forum posts... only if the topic was approved before and now gets disapproved if (!$post_approval && $data['topic_approved']) { @@ -2619,12 +2604,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u { $params .= '&t=' . $data['topic_id']; } - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->set_url($data['forum_name'], $data['forum_id'], 'forum'); - if ( $params ) { - $phpbb_seo->prepare_iurl($data, 'topic', $topic_type == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$data['forum_id']]); - } - // www.phpBB-SEO.com SEO TOOLKIT END + $url = (!$params) ? "{$phpbb_root_path}viewforum.$phpEx" : "{$phpbb_root_path}viewtopic.$phpEx"; $url = append_sid($url, 'f=' . $data['forum_id'] . $params) . $add_anchor; diff --git a/phpBB/includes/search/fulltext_native.php b/phpBB/includes/search/fulltext_native.php index e4c11fd105..727e3aaffb 100644 --- a/phpBB/includes/search/fulltext_native.php +++ b/phpBB/includes/search/fulltext_native.php @@ -1137,13 +1137,7 @@ class fulltext_native extends search_backend // Split old and new post/subject to obtain array of 'words' $split_text = $this->split_message($message); $split_title = $this->split_message($subject); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - Enable search_ignore_words - $this->filter_nums($split_text); - $this->filter_nums($split_title); - $this->get_ignore_words(); - $split_text = array_diff($split_text, $this->ignore_words); - $split_title = array_diff($split_title, $this->ignore_words); - // www.phpBB-SEO.com SEO TOOLKIT END - Enable search_ignore_words + $cur_words = array('post' => array(), 'title' => array()); $words = array(); @@ -1759,18 +1753,6 @@ class fulltext_native extends search_backend 'config' => array('fulltext_native_load_upd' => 'bool', 'fulltext_native_min_chars' => 'integer:0:255', 'fulltext_native_max_chars' => 'integer:0:255', 'fulltext_native_common_thres' => 'double:0:100') ); } - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - Enable search_ignore_words - /** - * Get rid of integers values in $input array - */ - function filter_nums(&$input) { - foreach ($input as $key => $word) { - if (preg_match('`^[0-9]+$`', $word)) { - unset($input[$key]); - } - } - } - // www.phpBB-SEO.com SEO TOOLKIT END - Enable search_ignore_words } ?>
\ No newline at end of file diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 6189cf27f2..5f5b39fe27 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -619,16 +619,12 @@ class session } else { - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - // This part will be fixed in 3.0.9 (see http://tracker.phpbb.com/browse/PHPBB3-9908) - // But as is or updated, it will not mix well with USU and Zero Duplicate (which already removes them) // Bot user, if they have a SID in the Request URI we need to get rid of it // otherwise they'll index this page with the SID, duplicate content oh my! - /*if (isset($_GET['sid'])) + if (isset($_GET['sid'])) { redirect(build_url(array('sid'))); - }*/ - // www.phpBB-SEO.com SEO TOOLKIT END + } $this->data['session_last_visit'] = $this->time_now; } diff --git a/phpBB/includes/utf/utf_tools.php b/phpBB/includes/utf/utf_tools.php index 31ad5027fd..6f3ac93305 100644 --- a/phpBB/includes/utf/utf_tools.php +++ b/phpBB/includes/utf/utf_tools.php @@ -105,10 +105,6 @@ if (!extension_loaded('xml')) if (extension_loaded('mbstring')) { mb_internal_encoding('UTF-8'); - // Fix for http://www.phpbb.com/bugs/phpbb3/52315 - // ini_set is only used to try to make things better for mods using mbstring directly - // I know they're not supposed to, but you know they still could and the fix is costless - @ini_set("mbstring.internal_encoding", 'UTF-8'); /** * UTF-8 aware alternative to strrpos @@ -133,15 +129,11 @@ if (extension_loaded('mbstring')) if (is_null($offset)) { - // Fix for http://www.phpbb.com/bugs/phpbb3/52315 - // Explicit encoding - return mb_strrpos($str, $needle, 0, 'UTF-8'); + return mb_strrpos($str, $needle); } else { - // Fix for http://www.phpbb.com/bugs/phpbb3/52315 - // Explicit encoding - return mb_strrpos($str, $needle, $offset, 'UTF-8'); + return mb_strrpos($str, $needle, $offset); } } } @@ -161,9 +153,8 @@ if (extension_loaded('mbstring')) { return false; } - // Fix for http://www.phpbb.com/bugs/phpbb3/52315 - // Explicit encoding - return mb_strrpos($str, $needle, 'UTF-8'); + + return mb_strrpos($str, $needle); } else { @@ -172,12 +163,10 @@ if (extension_loaded('mbstring')) trigger_error('utf8_strrpos expects parameter 3 to be long', E_USER_ERROR); return false; } - // Fix for http://www.phpbb.com/bugs/phpbb3/52315 - // Explicit encoding - $str = mb_substr($str, $offset, mb_strlen($str, 'UTF-8'), 'UTF-8'); - // Fix for http://www.phpbb.com/bugs/phpbb3/52315 - // Explicit encoding - if (false !== ($pos = mb_strrpos($str, $needle, 'UTF-8'))) + + $str = mb_substr($str, $offset); + + if (false !== ($pos = mb_strrpos($str, $needle))) { return $pos + $offset; } @@ -195,15 +184,11 @@ if (extension_loaded('mbstring')) { if (is_null($offset)) { - // Fix for http://www.phpbb.com/bugs/phpbb3/52315 - // Explicit encoding - return mb_strpos($str, $needle, 0, 'UTF-8'); + return mb_strpos($str, $needle); } else { - // Fix for http://www.phpbb.com/bugs/phpbb3/52315 - // Explicit encoding - return mb_strpos($str, $needle, $offset, 'UTF-8'); + return mb_strpos($str, $needle, $offset); } } @@ -213,9 +198,7 @@ if (extension_loaded('mbstring')) */ function utf8_strtolower($str) { - // Fix for http://www.phpbb.com/bugs/phpbb3/52315 - // Explicit encoding - return mb_strtolower($str, 'UTF-8'); + return mb_strtolower($str); } /** @@ -224,9 +207,7 @@ if (extension_loaded('mbstring')) */ function utf8_strtoupper($str) { - // Fix for http://www.phpbb.com/bugs/phpbb3/52315 - // Explicit encoding - return mb_strtoupper($str, 'UTF-8'); + return mb_strtoupper($str); } /** @@ -237,15 +218,11 @@ if (extension_loaded('mbstring')) { if (is_null($length)) { - // Fix for http://www.phpbb.com/bugs/phpbb3/52315 - // Explicit encoding - return mb_substr($str, $offset, mb_strlen($str, 'UTF-8'), 'UTF-8'); + return mb_substr($str, $offset); } else { - // Fix for http://www.phpbb.com/bugs/phpbb3/52315 - // Explicit encoding - return mb_substr($str, $offset, $length, 'UTF-8'); + return mb_substr($str, $offset, $length); } } diff --git a/phpBB/index.php b/phpBB/index.php index f2892e3c6c..cc83641acd 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -24,25 +24,7 @@ include($phpbb_root_path . 'includes/functions_display.' . $phpEx); $user->session_begin(); $auth->acl($user->data); $user->setup('viewforum'); -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> Zero dupe -if (!empty($phpbb_seo->seo_opt['url_rewrite'])) { - $phpbb_seo->seo_path['canonical'] = $phpbb_seo->drop_sid(append_sid("{$phpbb_root_path}index.$phpEx")); -} -$seo_mark = request_var('mark', ''); -$keep_mark = in_array($seo_mark, array('topics', 'topic', 'forums', 'all')) ? (boolean) ($user->data['is_registered'] || $config['load_anon_lastread']) : false; -$phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array( - 'hash' => array('val' => request_var('hash', ''), 'keep' => $keep_mark), - 'mark' => array('val' => $seo_mark, 'keep' => $keep_mark), -); -if ( !$phpbb_seo->seo_opt['zero_dupe']['strict'] ) { // strict mode is here a bit faster - if ( !empty($phpbb_seo->seo_static['index']) ) { - $phpbb_seo->set_cond( (boolean) (utf8_strpos($phpbb_seo->seo_path['uri'], $phpbb_seo->seo_static['index']) === false), 'do_redir', (empty($_GET) || (!empty($seo_mark) && !$keep_mark))); - } else { - $phpbb_seo->set_cond( (boolean) (utf8_strpos($phpbb_seo->seo_path['uri'], "index.$phpEx") !== false), 'do_redir', (empty($_GET) || (!empty($seo_mark) && !$keep_mark))); - } -} -$phpbb_seo->seo_chk_dupe(); -// www.phpBB-SEO.com SEO TOOLKIT END -> Zero dupe + display_forums('', $config['load_moderators']); // Set some stats, get posts count from forums data if we... hum... retrieve all forums data @@ -90,9 +72,6 @@ while ($row = $db->sql_fetchrow($result)) } else { - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->prepare_url('group', $row['group_name'], $row['group_id']); - // www.phpBB-SEO.com SEO TOOLKIT END $legend[] = '<a' . $colour_text . ' href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . $group_name . '</a>'; } } @@ -149,13 +128,7 @@ $template->assign_vars(array( ); // Output page -// www.phpBB-SEO.com SEO TOOLKIT BEGIN - META -$seo_meta->collect('description', $config['sitename'] . ' : ' . $config['site_desc']); -$seo_meta->collect('keywords', $config['sitename'] . ' ' . $seo_meta->meta['description']); -// www.phpBB-SEO.com SEO TOOLKIT END - META -// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE -page_header($config['sitename']); -// www.phpBB-SEO.com SEO TOOLKIT END - TITLE +page_header($user->lang['INDEX']); $template->set_filenames(array( 'body' => 'index_body.html') diff --git a/phpBB/language/en/common.php b/phpBB/language/en/common.php index 84944fa994..db60cbf227 100644 --- a/phpBB/language/en/common.php +++ b/phpBB/language/en/common.php @@ -876,19 +876,5 @@ $lang = array_merge($lang, array( 'default_dateformat' => 'D M d, Y g:i a', // Mon Jan 01, 2007 1:37 pm )); -// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE -$lang['Page'] = 'Page '; -// www.phpBB-SEO.com SEO TOOLKIT END - TITLE -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> GYM Sitemaps -$lang = array_merge($lang, array( - 'GYM_LINKS' => 'Links', - 'GYM_LINK' => 'Link', - 'GYM_RSS_SLIDE_START' => 'Start scroller', - 'GYM_RSS_SLIDE_STOP' => 'Stop scroller', - 'GYM_RSS_SOURCE' => 'Source', -)); -// www.phpBB-SEO.com SEO TOOLKIT END -> GYM Sitemaps -// www.phpBB-SEO.com SEO TOOLKIT BEGIN - Related Topics -$lang['RELATED_TOPICS'] = 'Related topics'; -// www.phpBB-SEO.com SEO TOOLKIT END - Related Topics + ?>
\ No newline at end of file diff --git a/phpBB/language/en/gym_sitemaps/acp/google_forum.php b/phpBB/language/en/gym_sitemaps/acp/google_forum.php deleted file mode 100644 index c45db7c33d..0000000000 --- a/phpBB/language/en/gym_sitemaps/acp/google_forum.php +++ /dev/null @@ -1,64 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: google_forum.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* google_forum [English] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'GOOGLE_FORUM' => 'Forum sitemaps', - 'GOOGLE_FORUM_EXPLAIN' => 'These are the settings for the forum Google sitemap module.<br/> Some are overridden depending on the Google sitemaps and main override settings.', - 'GOOGLE_FORUM_SETTINGS' => 'Forum sitemaps settings', - 'GOOGLE_FORUM_SETTINGS_EXPLAIN' => 'The following settings are specific to the forum Google sitemap module.', - 'GOOGLE_FORUM_STICKY_PRIORITY' => 'Sticky Priority', - 'GOOGLE_FORUM_STICKY_PRIORITY_EXPLAIN' => 'Sticky Priority (must be a number between 0.0 & 1.0 inclusive).', - 'GOOGLE_FORUM_ANNOUCE_PRIORITY' => 'Announcement Priority', - 'GOOGLE_FORUM_ANNOUCE_PRIORITY_EXPLAIN' => 'Announcement Priority (must be a number between 0.0 & 1.0 inclusive).', - 'GOOGLE_FORUM_GLOBAL_PRIORITY' => 'Global Announcement Priority', - 'GOOGLE_FORUM_GLOBAL_PRIORITY_EXPLAIN' => 'Global Announcement Priority (must be a number between 0.0 & 1.0 inclusive).', - 'GOOGLE_FORUM_EXCLUDE' => 'Forum Exclusions', - 'GOOGLE_FORUM_EXCLUDE_EXPLAIN' => 'You can here exclude one or several forum from the sitemap listing.<br /><u>Note :</u> If this field is left empty, all public forums will be listed.', - // Reset settings - 'GOOGLE_FORUM_RESET' => 'Forum sitemap module', - 'GOOGLE_FORUM_RESET_EXPLAIN' => 'Reset all the forum sitemap module options to default values.', - 'GOOGLE_FORUM_MAIN_RESET' => 'Forums sitemaps main', - 'GOOGLE_FORUM_MAIN_RESET_EXPLAIN' => 'Reset to default all the options in the "Forums sitemaps" (main) tab of the forum sitemap module.', - 'GOOGLE_FORUM_CACHE_RESET' => 'Forums sitemaps cache', - 'GOOGLE_FORUM_CACHE_RESET_EXPLAIN' => 'Reset to default all the caching options of the forum sitemap module.', - 'GOOGLE_FORUM_MODREWRITE_RESET' => 'Forums sitemaps URL rewriting', - 'GOOGLE_FORUM_MODREWRITE_RESET_EXPLAIN' => 'Reset to default all the URL rewriting options of the forum sitemap module.', - 'GOOGLE_FORUM_GZIP_RESET' => 'Forums sitemaps gunzip', - 'GOOGLE_FORUM_GZIP_RESET_EXPLAIN' => 'Reset to default all the gunzip options of the forum sitemap module.', - 'GOOGLE_FORUM_LIMIT_RESET' => 'Forums sitemaps limits', - 'GOOGLE_FORUM_LIMIT_RESET_EXPLAIN' => 'Reset to default all the limit options of the forum sitemap module.', - 'GOOGLE_FORUM_SORT_RESET' => 'Forums sitemaps Sorting', - 'GOOGLE_FORUM_SORT_RESET_EXPLAIN' => 'Reset to default all the sorting options of the forum sitemap module.', - 'GOOGLE_FORUM_PAGINATION_RESET' => 'Forums sitemaps pagination', - 'GOOGLE_FORUM_PAGINATION_RESET_EXPLAIN' => 'Reset to default all the pagination options of the forum sitemap module.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/en/gym_sitemaps/acp/google_txt.php b/phpBB/language/en/gym_sitemaps/acp/google_txt.php deleted file mode 100644 index ebcfb797c2..0000000000 --- a/phpBB/language/en/gym_sitemaps/acp/google_txt.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: google_txt.php 204 2009-12-20 12:04:51Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* google_txt [English] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'GOOGLE_TXT' => 'TXT Sitemap', - 'GOOGLE_TXT_EXPLAIN' => 'These are the parameter for the TXT Google sitemap module. It can fully integrate URL list from a text file (on url per line) in GYM sitemaps and take advantage of all the module’s features such as XSLt styling and caching.<br/> Some settings can be overridden depending on the Google sitemaps and main override settings.<br/>Each texte file added in the gym_sitemaps/sources/ directory will be taken into account once you will have cleared the module ACP cache, using the maintenance link above.<br/> Each URL list texte file must be composed of one full URL per line and will have to follow a basic pattern for file naming : <b>google_</b>txt_file_name<b>.txt</b>.<br />An entry will be created in the SitemapIndex with URL<b>example.com/sitemap.php?txt=txt_file_name</b> and <b>example.com/txt-txt_file_name.xml</b> when url rewritten.<br/> The name of the source file must must use alphanumerical characters (0-9a-z) plus both separators "_" and "-".<br/><u style="color:red;">Note :</u><br/> It is advised to cache this module’s sitemaps to prevent useless parsing of potentially big text files.', - // Main - 'GOOGLE_TXT_CONFIG' => 'TXT Sitemap settings', - 'GOOGLE_TXT_CONFIG_EXPLAIN' => 'Some settings can be overridden depending on the Google sitemaps and main override settings.', - 'GOOGLE_TXT_RANDOMIZE' => 'Randomize', - 'GOOGLE_TXT_RANDOMIZE_EXPLAIN' => 'You can randomize URLs grabbed from the text file. Changing the order on a regular basis may help for crawling a bit. This option is as well handy for example when you would limit the urls to 1000 for this module and use text source files with 5000 urls, in such cases all the 5000 URLs will be regularly displayed on the corresponding sitemap.', - 'GOOGLE_TXT_UNIQUE' => 'Check duplicate', - 'GOOGLE_TXT_UNIQUE_EXPLAIN' => 'Activate to make sure that if some URL appear more than one time in the text source, it will only display once in the sitemap.', - 'GOOGLE_TXT_FORCE_LASTMOD' => 'Last modification', - 'GOOGLE_TXT_FORCE_LASTMOD_EXPLAIN' => 'You can force a last modification time based on the cache duration cycle (even if cache is not activated) for all URLs in the sitemap. The module will as well compute priorities and change frequencies based on this last mod time. By default, no lastmod tag is added.', - // Reset settings - 'GOOGLE_TXT_RESET' => 'TXT Sitemaps Module', - 'GOOGLE_TXT_RESET_EXPLAIN' => 'Reset to default all the sorting options of the TXT Sitemaps module.', - 'GOOGLE_TXT_MAIN_RESET' => 'TXT Sitemap Settings', - 'GOOGLE_TXT_MAIN_RESET_EXPLAIN' => 'Reset to default all the options in the "TXT Sitemap settings" (main) tab of the TXT Sitemap module.', - 'GOOGLE_TXT_CACHE_RESET' => 'TXT Sitemap Cache', - 'GOOGLE_TXT_CACHE_RESET_EXPLAIN' => 'Reset to default all the caching options of the TXT Sitemap module.', - 'GOOGLE_TXT_GZIP_RESET' => 'TXT Sitemap Gunzip', - 'GOOGLE_TXT_GZIP_RESET_EXPLAIN' => 'Reset to default all the Gunzip options of the TXT Sitemap module.', - 'GOOGLE_TXT_LIMIT_RESET' => 'TXT Sitemap Limit', - 'GOOGLE_TXT_LIMIT_RESET_EXPLAIN' => 'Reset to default all the Limit options of the TXT Sitemap module.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/en/gym_sitemaps/acp/google_xml.php b/phpBB/language/en/gym_sitemaps/acp/google_xml.php deleted file mode 100644 index 6994645dec..0000000000 --- a/phpBB/language/en/gym_sitemaps/acp/google_xml.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: google_xml.php 204 2009-12-20 12:04:51Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* google_xml [English] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'GOOGLE_XML' => 'XML Sitemap', - 'GOOGLE_XML_EXPLAIN' => 'These are the parameter for the XML Google sitemap module. It can fully integrate URL list from a xml file (on url per line) in GYM sitemaps and take advantage of all the module’s features such as XSLt styling and caching.<br/> Some settings can be overridden depending on the Google sitemaps and main override settings.<br/>Each xml file added in the gym_sitemaps/sources/ directory will be taken into account once you will have cleared the module ACP cache, using the maintenance link above.<br/> Each URL list xml file must be composed of one full URL per line and will have to follow a basic pattern for file naming : <b>google_</b>xml_file_name<b>.xml</b>.<br />An entry will be created in the SitemapIndex with URL <b>example.com/sitemap.php?xml=xml_file_name</b> or <b>example.com/xml-xml_file_name.xml</b> when url rewritten.<br/> The name of the source file must must use alphanumerical characters (0-9a-z) plus both separators "_" and "-".<p>You can as well use a full sitemap URL generated by an external application, by configuring the gym_sitemaps/sources/xml_google_external.php file (Read comments in the file for more details).</p><u style="color:red;">Note :</u><br/> It is advised to cache this module’s sitemaps to prevent useless parsing of potentially big xml files.', - // Main - 'GOOGLE_XML_CONFIG' => 'XML Sitemap settings', - 'GOOGLE_XML_CONFIG_EXPLAIN' => 'Some settings can be overridden depending on the Google sitemaps and main override settings.', - 'GOOGLE_XML_RANDOMIZE' => 'Randomize', - 'GOOGLE_XML_RANDOMIZE_EXPLAIN' => 'You can randomize URLs grabbed from the xml file. Changing the order on a regular basis may help for crawling a bit. This option is as well handy for example when you would limit the urls to 1000 for this module and use xml source files with 5000 urls, in such cases all the 5000 URLs will be regularly displayed on the corresponding sitemap.<br/><u>Note :</u><br/>This option requires a full parsing of the source file, it is advised to use it when caching is activated.', - 'GOOGLE_XML_UNIQUE' => 'Check duplicate', - 'GOOGLE_XML_UNIQUE_EXPLAIN' => 'Activate to make sure that if some URL appear more than one time in the xml source, it will only display once in the sitemap.<br/><u>Note :</u><br/>This option requires a full parsing of the source file, it is advised to use it when caching is activated.', - 'GOOGLE_XML_FORCE_LASTMOD' => 'Last modification', - 'GOOGLE_XML_FORCE_LASTMOD_EXPLAIN' => 'You can force a last modification time based on the cache duration cycle (even if cache is not activated) for all URLs in the sitemap. The module will as well compute priorities and change frequencies based on this last mod time. Else the eventual lastmod, changefreq and priority tags provided in the xml source file will be used, or no lastmod tags in case the source file does not provide with any.<br/><u>Note :</u><br/>This option requires a full parsing of the source file, it is advised to use it when caching is activated.', - 'GOOGLE_XML_FORCE_LIMIT' => 'Forcer limit', - 'GOOGLE_XML_FORCE_LIMIT_EXPLAIN' => 'You can here make sure that no more than the maximum amount of URL set will be displayed in the sitemap.<br/><u>Note :</u><br/>This option requires a full parsing of the source file, it is advised to use it when caching is activated.', - // Reset settings - 'GOOGLE_XML_RESET' => 'XML Sitemaps Module', - 'GOOGLE_XML_RESET_EXPLAIN' => 'Reset to default all the options in the "XML Sitemap settings" (main) tab of the XML Sitemap module.', - 'GOOGLE_XML_MAIN_RESET' => 'XML Sitemap Settings', - 'GOOGLE_XML_MAIN_RESET_EXPLAIN' => 'Reset to default all the options in the "XML Sitemap settings" (main) tab of the XML Sitemap module.', - 'GOOGLE_XML_CACHE_RESET' => 'XML Sitemaps Cache', - 'GOOGLE_XML_CACHE_RESET_EXPLAIN' => 'Reset to default all the caching options of the XML Sitemap module.', - 'GOOGLE_XML_GZIP_RESET' => 'XML Sitemaps Gunzip', - 'GOOGLE_XML_GZIP_RESET_EXPLAIN' => 'Reset to default all the Gunzip options of the XML Sitemap module.', - 'GOOGLE_XML_LIMIT_RESET' => 'XML Sitemap Limit', - 'GOOGLE_XML_LIMIT_RESET_EXPLAIN' => 'Reset to default all the Limit options of the XML Sitemap module.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/en/gym_sitemaps/acp/gym_common.php b/phpBB/language/en/gym_sitemaps/acp/gym_common.php deleted file mode 100644 index 4bf98636cc..0000000000 --- a/phpBB/language/en/gym_sitemaps/acp/gym_common.php +++ /dev/null @@ -1,263 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_common.php 279 2010-11-26 09:19:15Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* gym_common [English] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - // Main - 'ALL' => 'All', - 'MAIN' => 'GYM Sitemaps', - 'MAIN_MAIN_RESET' => 'GYM sitemaps main options', - 'MAIN_MAIN_RESET_EXPLAIN' => 'Reset all the GYM main options to default values.', - // Linking setup - 'GYM_LINKS_ACTIVATION' => 'Forum Linking', - 'GYM_LINKS_MAIN' => 'Main links', - 'GYM_LINKS_MAIN_EXPLAIN' => 'Display or not links to main GYM page in footer : SitemapIndex, main RSS feed and feed list page, main map and new page.', - 'GYM_LINKS_INDEX' => 'Links on index', - 'GYM_LINKS_INDEX_EXPLAIN' => 'Display or not links to the available GYM pages for each forum on the forum index. These links are added below the forum descriptions.', - 'GYM_LINKS_CAT' => 'Links on forum page', - 'GYM_LINKS_CAT_EXPLAIN' => 'Display or not links to the available GYM pages on a forum page. These links are added below the forum title.', - // Google sitemaps - 'GOOGLE' => 'Google', - 'GOOGLE_URL' => 'Google Sitemaps URL', - // Reset settings - 'GOOGLE_MAIN_RESET' => 'Google Sitemap main options', - 'GOOGLE_MAIN_RESET_EXPLAIN' => 'Reset all the Google Sitemap main options to default values.', - // RSS feeds - 'RSS' => 'RSS', - 'RSS_URL' => 'RSS feed URL', - 'RSS_ALTERNATE' => 'RSS alternate links', - 'RSS_ALTERNATE_EXPLAIN' => 'Display or not RSS alternate links in browsers navigation bar', - 'RSS_LINKING_TYPE' => 'RSS Linking Type', - 'RSS_LINKING_TYPE_EXPLAIN' => 'The type of feed to display among the forum pages.<br/>Can be set to :<br/><b>• News Feeds with or without content</b><br/>Items are displayed in the creation date order, with or without content,<br/><b>• Regular Feeds with or without content</b><br/>Items are displayed in the last activity date order, with or without content.<br/>This only affects the link displayed, not the feeds actually available.', - 'RSS_LINKING_NEWS' => 'News Feeds', - 'RSS_LINKING_NEWS_DIGEST' => 'News Feeds with content', - 'RSS_LINKING_REGULAR' => 'Regular Feeds', - 'RSS_LINKING_REGULAR_DIGEST' => 'Regular Feeds with content', - // Reset settings - 'RSS_MAIN_RESET' => 'RSS main options', - 'RSS_MAIN_RESET_EXPLAIN' => 'Reset all the RSS main options to default values.', - 'YAHOO' => 'Yahoo', - // HTML - 'HTML_MAIN_RESET' => 'Global HTML options', - 'HTML_MAIN_RESET_EXPLAIN' => 'Reset all the HTML maps and news main options to default values.', - 'HTML' => 'Html', - 'HTML_URL' => 'HTML URL', - - // GYM authorisation array - 'GYM_AUTH_ADMIN' => 'Admin', - 'GYM_AUTH_GLOBALMOD' => 'Global moderators', - 'GYM_AUTH_REG' => 'Logged in', - 'GYM_AUTH_GUEST' => 'Guests', - 'GYM_AUTH_ALL' => 'All', - 'GYM_AUTH_NONE' => 'None', - // XSLT - 'GYM_STYLE' => 'Styling', - - // Cache status - 'SEO_CACHE_FILE_TITLE' => 'Cache Status', - 'SEO_CACHE_STATUS' => 'File cache is configured at: <b>%s</b>', - 'SEO_CACHE_FOUND' => 'File cache found.', - 'SEO_CACHE_NOT_FOUND' => 'File cache was not found.', - 'SEO_CACHE_WRITABLE' => 'File cache is writeable.', - 'SEO_CACHE_UNWRITABLE' => 'File cache is <b>not</b> writeable. Please CHMOD the cache folder to 0777.', - - // Mod Rewrite type - 'ACP_SEO_SIMPLE' => 'Simple', - 'ACP_SEO_MIXED' => 'Intermediate', - 'ACP_SEO_ADVANCED' => 'Advanced', - 'ACP_PHPBB_SEO_VERSION' => 'Version', - 'ACP_SEO_SUPPORT_FORUM' => 'Support Forum', - 'ACP_SEO_RELEASE_THREAD' => 'Subject to availability', - 'ACP_SEO_REGISTER_TITLE' => 'Register', - 'ACP_SEO_REGISTER_UPDATE' => 'notified about updates', - 'ACP_SEO_REGISTER_MSG' => 'You may want to %1$s to be %2$s', - - // Maintenance - 'GYM_MAINTENANCE' => 'Maintenance', - 'GYM_MODULE_MAINTENANCE' => '%1$s maintenance', - 'GYM_MODULE_MAINTENANCE_EXPLAIN' => 'Here you can manage the cached files used by the %1$s modules.<br/> There are two types: the one used to store the data outputted on the public pages, and the ones used to build each module’s ACP. You can delete the module’s ACP cache if you check the clear cache option; default is clearing the content cache for the selected modules.', - 'GYM_CLEAR_CACHE' => 'Clear %1$s cache', - 'GYM_CLEAR_CACHE_EXPLAIN' => 'You can here clear the cached files for the %1$s module. These cached files contains the data used to build the %1$s .<br/>It can be useful if you want to force the cache update.', - 'GYM_CLEAR_ACP_CACHE' => 'Clear %1$s ACP', - 'GYM_CLEAR_ACP_CACHE_EXPLAIN' => 'You can choose to clear the %1$s ACP cached setup instead. These cached files contains the data used to build the %1$s ACP.<br/>It can be useful to activate new options that may have been added to the modules of this type.', - 'GYM_CACHE_CLEARED' => 'Clear cache success in : ', - 'GYM_CACHE_NOT_CLEARED' => 'An error occurred while clearing the cache, please check the folder permissions (CHMOD 0666 or 0777).<br/>The folder currently set up for caching is : ', - 'GYM_FILE_CLEARED' => 'File(s) erased: ', - 'GYM_CACHE_ACCESSED' => 'The caching folder was properly accessed, but no files were deleted: ', - 'MODULE_CACHE_CLEARED' => 'ACP module cache cleared with success, if you just uploaded a module, it’s ACP will show up now.', - - // set defaults - 'GYM_SETTINGS' => 'Settings', - 'GYM_RESET_ALL' => 'Reset All', - 'GYM_RESET_ALL_EXPLAIN' => 'If you check the option, all the above options sets will be reset to default.', - 'GYM_RESET' => 'Reset %1$s config', - 'GYM_RESET_EXPLAIN' => 'Below you can reset %1$s modules config, either a whole module at once or only a given set of module config.', - - 'GYM_INSTALL' => 'Install', - 'GYM_MODULE_INSTALL' => 'Install %1$s module', - 'GYM_MODULE_INSTALL_EXPLAIN' => 'Below you can activate / deactivate the %1$s module.<br/>If you just uploaded a module, you need to activate it before you will be able to use it.<br/>If you cannot see new module, try clearing the ACP module’s cache in the maintenance page.', - - // Titles - 'GYM_MAIN' => 'GYM Sitemaps Settings', - 'GYM_MAIN_EXPLAIN' => 'These are the setting common to all type of output and to all modules.<br/> They can be applied to all type of outputs (html, RSS, Google sitemaps, Yahoo! url list) and/or to all modules depending on your override settings.', - 'MAIN_MAIN' => 'GYM Sitemaps Overview', - 'MAIN_MAIN_EXPLAIN' => 'GYM sitemaps is a very flexible and Search Engine Optimized phpBB module. It will allow you to build Google sitemaps, RSS 2.0 feeds, Yahoo! URL lists and html sitemaps for your forum as well as for any part of your website thanks to its modularity.<br/><br/> Each type (Google, RSS, html & Yahoo) can grab items to list from several applications installed on your site (forum, album etc ...) using a dedicated module.<br/>You can activate / deactivate modules using the install link in each type ACP, each module has its own configuration pages.<br/><br/>Make sure you check the %1$s, support is provided in the %2$s.<br/>General SEO support and discussion is as well provided on %3$s<br/>%4$s<br/>Enjoy ;-)', - - 'GYM_GOOGLE' => 'Google Sitemaps', - 'GYM_GOOGLE_EXPLAIN' => 'These are the setting common to all Google sitemaps modules (forum, custom etc ...).<br/> They can be applied to all Google sitemaps modules depending on your override settings for this type of output and the main ones.', - 'GYM_RSS' => 'RSS feeds', - 'GYM_RSS_EXPLAIN' => 'These are the setting common to all RSS feeds modules (forum, custom etc ...).<br/> They can be applied to all RSS feeds modules depending on your override settings for this type of output and the main ones.', - 'GYM_HTML' => 'HTML Pages', - 'GYM_HTML_EXPLAIN' => 'These are the setting common to all HTML modules (forum, custom etc ...).<br/> They can be applied to all HTML modules depending on your override settings for this type of output and the main ones.', - 'GYM_MODULES_INSTALLED' => 'Active module(s)', - 'GYM_MODULES_UNINSTALLED' => 'Non active module(s)', - - // Overrides - 'GYM_OVERRIDE_GLOBAL' => 'Global', - 'GYM_OVERRIDE_OTYPE' => 'Output Type', - 'GYM_OVERRIDE_MODULE' => 'Module', - - // override messages - 'GYM_OVERRIDED_GLOBAL' => 'This option is currently overridden at the top level (Main configuration)', - 'GYM_OVERRIDED_OTYPE' => 'This option is currently overridden at the type level', - 'GYM_OVERRIDED_MODULE' => 'This option is currently overridden at the module level', - 'GYM_OVERRIDED_VALUE' => 'The value currently taken into account is : ', - 'GYM_OVERRIDED_VALUE_NOTHING' => 'nothing', - 'GYM_COULD_OVERRIDE' => 'This option could be overridden but currently isn’t.', - - // Overridable / common options - 'GYM_CACHE' => 'Cache', - 'GYM_CACHE_EXPLAIN' => 'Here you can set up various caching options. Remember that these settings may be overridden depending on your override settings.', - 'GYM_MOD_SINCE' => 'Activate Modified Since', - 'GYM_MOD_SINCE_EXPLAIN' => 'The module will ask the browser if it already has an up-to-date version of the page in its cache before resending the content.<br /><u>NOTE :</u> This option will concern all types of output.', - 'GYM_CACHE_ON' => 'Activate Caching', - 'GYM_CACHE_ON_EXPLAIN' => 'You can activate / deactivate caching for this module.', - 'GYM_CACHE_FORCE_GZIP' => 'Force Cache compression', - 'GYM_CACHE_FORCE_GZIP_EXPLAIN' => 'Allow you to force gunzip compression for cached files despite the use of gunzip. This can help out a little if you miss web space, but will be a bit more work for the server to uncompress the file before it is sent to the browser.', - 'GYM_CACHE_MAX_AGE' => 'Cache duration', - 'GYM_CACHE_MAX_AGE_EXPLAIN' => 'Maximum amount of hours a cached file will be used before it will be updated. Each cached file will be updated every time someone will browse it after this duration was exceeded when auto regen is on. If not, the cache will only be updated upon demand in ACP.', - 'GYM_CACHE_AUTO_REGEN' => 'Cache auto update', - 'GYM_CACHE_AUTO_REGEN_EXPLAIN' => 'If you activate the cache auto update, outputted lists will be updated once the cache will have expired, if not, you will have to manually clear your cached files in the maintenance link above to see new URLs in your lists.', - 'GYM_SHOWSTATS' => 'Cache Statistics', - 'GYM_SHOWSTATS_EXPLAIN' => 'Output or not the generation statistics in the source code.<br /><u>NOTE :</u> The duration is the time needed to build the page. This step is not repeated when writing from cache.', - 'GYM_CRITP_CACHE' => 'Encode cache filenames', - 'GYM_CRITP_CACHE_EXPLAIN' => 'Encrypt the cache file names or not. It is safer to keep the cache filenames encrypted, but it can be handy to check the unencrypted filenames for debugging.<br /><u>NOTE :</u> This option will concern all type of cached files.', - - 'GYM_MODREWRITE' => 'URL rewriting', - 'GYM_MODREWRITE_EXPLAIN' => 'Here you can set up various URL rewriting options. Remember that these settings may be overridden depending on your override settings.', - 'GYM_MODREWRITE_ON' => 'Activate URL rewriting', - 'GYM_MODREWRITE_ON_EXPLAIN' => 'This activates URL rewriting for the module links.<br /><u>NOTE :</u> You MUST use an Apache server with the mod_rewrite module loaded or an IIS server running the isapi_rewrite module AND to properly set up the module’s rewrite rules in your .htaccess (or httpd.ini with IIS ).', - 'GYM_ZERO_DUPE_ON' => 'Activate the Zero Duplicate', - 'GYM_ZERO_DUPE_ON_EXPLAIN' => 'This activates the Zero Duplicate for the module links.<br /><u>NOTE :</u> Redirections will only occur when (re)generating the cache in this version.', - 'GYM_MODRTYPE' => 'URL rewriting type', - 'GYM_MODRTYPE_EXPLAIN' => 'These options are overridden by the use of the phpBB SEO mod rewrite (auto detection ).<br/>Four levels of url rewriting can be set up here: None, Simple, Mixed and Advanced :<br/><ul><li><b>None :</b> No URL rewriting;<br/></li><li><b>Simple :</b>Static URL rewriting for all links, no title injection;<br/></li><li><b>Mixed :</b> Forum and category titles are injected in URLs, but topic titles remain statically rewritten;<br/></li><li><b>Advanced :</b> All titles are injected in URLs;</li></ul>', - - 'GYM_GZIP' => 'GUNZIP', - 'GYM_GZIP_EXPLAIN' => 'Here you can set up various gunzip options. Remember that these settings may be overridden depending on your override settings.%1$s', - 'GYM_GZIP_FORCED' => '<br/><b style="color:red;">NOTE :</b> Gun-zip compressions is activated in phpBB config. It is thus forced in the module.', - 'GYM_GZIP_CONFIGURABLE' => '<br/><b style="color:red;">NOTE :</b> Gun-zip compressions is not activated in phpBB config. You can set the below options as you wish.', - 'GYM_GZIP_ON' => 'Activate gunzip', - 'GYM_GZIP_ON_EXPLAIN' => 'This activates gunzip compression on the output. This can significantly lower the amount of data transmitted to the browser and thus the time required to transmit the content.', - 'GYM_GZIP_EXT' => 'Gunzip suffix', - 'GYM_GZIP_EXT_EXPLAIN' => 'You can here chose to use or not the .gz suffix in the module URLs. This only applies when gunzip and URL rewriting are activated.', - 'GYM_GZIP_LEVEL' => 'Gunzip Compression level', - 'GYM_GZIP_LEVEL_EXPLAIN' => 'Integer between 1 and 9, 9 being the most compression. It’s usually not worth it to go over 6.<br /><u>NOTE :</u> This option will concern all types of output.', - - 'GYM_LIMIT' => 'Limits', - 'GYM_LIMIT_EXPLAIN' => 'Here you can set the limit to apply when building the output : number of url outputted, SQL cycling (amount of item queried at once) and age of items listed.<br/>Remember that these settings may be overridden depending on your override settings.', - 'GYM_URL_LIMIT' => 'Item Limits', - 'GYM_URL_LIMIT_EXPLAIN' => 'The maximum amount of item to output.', - 'GYM_SQL_LIMIT' => 'SQL cycling', - 'GYM_SQL_LIMIT_EXPLAIN' => 'For all types of output, except html, SQL queries are split into several to be able to list large amount of items without running too heavy queries.<br/>Define here the amount of item to query at once. The number of SQL queries will be the number of item listed divided by this cycle.', - 'GYM_TIME_LIMIT' => 'Time Limits', - 'GYM_TIME_LIMIT_EXPLAIN' => 'Limit in days. The maximum age of the items taken into account when building the lists. Can be very useful to lower the server load on large data bases. Enter 0 for no limit', - - 'GYM_SORT' => 'Sorting', - 'GYM_SORT_EXPLAIN' => 'Here you can chose how to sort the output.<br/>Remember that these settings may be overridden depending on your override settings.', - 'GYM_SORT_TYPE' => 'Default Sorting', - 'GYM_SORT_TYPE_EXPLAIN' => 'All outputted links are sorted by default by last activity (Descending). <br /> You can set this to Ascending for example if you wish to make it easier for Search engines to find links to old content.<br/>Remember that these settings may be overridden depending on your override settings.', - - 'GYM_PAGINATION' => 'Pagination', - 'GYM_PAGINATION_EXPLAIN' => 'Here you can set up various pagination options. Remember that these settings may be overridden depending on your override settings.', - 'GYM_PAGINATION_ON' => 'Activate Pagination', - 'GYM_PAGINATION_ON_EXPLAIN' => 'You can here decide to output paginated links (when available) for the listed items. For example, the module can additionally output links of the forum’s topic pages.', - 'GYM_LIMITDOWN' => 'Pagination: Lower Limit', - 'GYM_LIMITDOWN_EXPLAIN' => 'Enter here how many paginated pages, starting from the first page, to output.', - 'GYM_LIMITUP' => 'Pagination: Upper Limit', - 'GYM_LIMITUP_EXPLAIN' => 'Enter here how many paginated pages, starting from the last one, to output.', - - 'GYM_OVERRIDE' => 'Override', - 'GYM_OVERRIDE_EXPLAIN' => 'GYM sitemaps is fully modular. Each output type (Google, RSS ...) uses its own output modules corresponding to the type of item to list. For example, the first module for all types of output is the forum module, listing items from the forum.<br/> Many options, such as URL rewriting, caching, gunzip compression etc ..., are repeated on several levels of the GYM sitemaps ACP. This allow you to use different settings for the same option depending on the type of output and the output module. But it can occur that you would prefer to, for example, activate URL rewriting on all the GYM sitemaps module at once (all outputs types and all modules).<br/> That’s what the Override setting will allow you to do for many types of settings. <br/>The inheritance process goes from the highest level of settings (Main configuration) to the output type level (Google, RSS ...) and ends at the lowest level : the output modules (forum, album ...)<br/>Overrinding settings can take three values :<br/><ul><li><b>Global :</b> The Main settings will be used;<br/></li><li><b>Output Type :</b> The output type settings will be used for its modules;<br/></li><li><b>Module :</b> The lowest available setting will be used, e.g., the module’s one first, and if not set, the output type one and so on up to the global setting if available.</li></ul>', - 'GYM_OVERRIDE_ON' => 'Activate Main Override', - 'GYM_OVERRIDE_ON_EXPLAIN' => 'You can here Activate / Deactivate the main overrinding. Deactivating is the same as setting all overrides to "module", letting the output type’s override settings to set the module override.', - 'GYM_OVERRIDE_MAIN' => 'Default Overriding', - 'GYM_OVERRIDE_MAIN_EXPLAIN' => 'Set override level for the other types of settings a module could use.', - 'GYM_OVERRIDE_CACHE' => 'Cache Overriding', - 'GYM_OVERRIDE_CACHE_EXPLAIN' => 'What level of overriding to set for the caching options.', - 'GYM_OVERRIDE_GZIP' => 'Gunzip Overriding', - 'GYM_OVERRIDE_GZIP_EXPLAIN' => 'What level of overriding to set for the gunzip options.', - 'GYM_OVERRIDE_MODREWRITE' => 'URL Rewriting Overriding', - 'GYM_OVERRIDE_MODREWRITE_EXPLAIN' => 'What level of overriding to set for the URL rewriting options.', - 'GYM_OVERRIDE_LIMIT' => 'Limit Overriding', - 'GYM_OVERRIDE_LIMIT_EXPLAIN' => 'What level of overriding to set for the limit options.', - 'GYM_OVERRIDE_PAGINATION' => 'Pagination Overriding', - 'GYM_OVERRIDE_PAGINATION_EXPLAIN' => 'What level of overriding to set for the pagination options.', - 'GYM_OVERRIDE_SORT' => 'Sorting Overriding', - 'GYM_OVERRIDE_SORT_EXPLAIN' => 'What level of overriding to set for the sorting options.', - - // Mod rewrite - 'GYM_MODREWRITE_ADVANCED' => 'Advanced', - 'GYM_MODREWRITE_MIXED' => 'Mixed', - 'GYM_MODREWRITE_SIMPLE' => 'Simple', - 'GYM_MODREWRITE_NONE' => 'None', - - // Sorting - 'GYM_ASC' => 'Ascending', - 'GYM_DESC' => 'Descending', - - // Other - // robots.txt - 'GYM_CHECK_ROBOTS' => 'CHeck robots.txt disallows', - 'GYM_CHECK_ROBOTS_EXPLAIN' => 'Check and apply robots.txt rules (if any) to the URL list. The module will automatically acknowledge the robots.txt updates.<br />This option is very handy for XML and TXT import, when we cannot be sure about the URL list consistency.<br/><br /><u>Note</u> :<br />This option will imply more work on the source file, it is recommended to use it when caching is activated.', - // summarize method - 'GYM_METHOD_CHARS' => 'By characters', - 'GYM_METHOD_WORDS' => 'By words', - 'GYM_METHOD_LINES' => 'By lines', - - // script location checking - 'GYM_WRONG_PHPBB_URL' => 'phpBB server settings are not correct. You must proprely configure your <a href="%1$s"><b>Server URL settings</b></a>.<br/><a href="http://www.phpbb-seo.com/en/phpbb-forum/server-and-cookie-settings-t4451.html" onclick ="window.open(this.href); return false;">More details about this</a>', - 'GYM_WRONG_SCRIPT_URL' => 'The configured URL for <b>%1$s</b> mode is wrong. It must lead to where the <b>%2$s</b> file is located on your server.', - 'GYM_WRONG_SCRIPT_DOMAIN' => 'The configured URL for <b>%1$s</b> mode is not consistant with phpBB one. The URL must use the same domain or sub-domain and the same protocol (http:// or https://) as phpBB. It must contain <b>%2$s</b> and lead to the directory containing <b>%3$s</b> on your server.', - 'GYM_WRONG_SCRIPT2_PHPBB' => 'Even though the configured URL for <b>%1$s</b> mode is correct, the path to phpBB ($phpbb_root_path) set in <b>%2$s%3$s</b> is wrong. This can only occur when $phpbb_root_path was manually modified and / or the file was moved.<br/>Note that $phpbb_root_path must be a valide relative path from the directory where <b>%3$s</b> is to the directory where phpBB is installed, and that it must start with "./".<br/>According to your settings, $phpbb_root_path should be set to <b>%4$s</b> in <b>%3$s</b>.', - 'GYM_WRONG_SITEMAP_LOCATION' => 'Your <b>sitemap.php</b> file is located in a place from where it cannot be used to list forum URLs.<br/>It must be placed <b>inside or above</b> the phpBB directory to be valid.<br/>Configured location : <b>%1$s</b><br/>phpBB location : <b>%2$s</b>', - 'GYM_GO_CONFIG_SCRIPT_URL' => 'Go fix configuration : <a href="%2$s"><b>%1$s</b></a>', -)); -?> diff --git a/phpBB/language/en/gym_sitemaps/acp/gym_google.php b/phpBB/language/en/gym_sitemaps/acp/gym_google.php deleted file mode 100644 index daa48b0589..0000000000 --- a/phpBB/language/en/gym_sitemaps/acp/gym_google.php +++ /dev/null @@ -1,65 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_google.php 259 2010-03-18 19:25:40Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* gym_google [English] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'GOOGLE_MAIN' => 'Google Sitemaps Settings', - 'GOOGLE_MAIN_EXPLAIN' => 'Main settings for the Google sitemap module.<br/>They will applied to all the Google sitemaps modules by default.', - // Linking setup - 'GOOGLE_LINKS_ACTIVATION' => 'Forum Linking', - 'GOOGLE_LINKS_MAIN' => 'Main links', - 'GOOGLE_LINKS_MAIN_EXPLAIN' => 'Display or not sitemapindex link in footer.<br/>This feature requires that main links display is activated in the main configuration.', - 'GOOGLE_LINKS_INDEX' => 'Links on index', - 'GOOGLE_LINKS_INDEX_EXPLAIN' => 'Display or not links to the available sitemaps for each forum on the forum index. These links are added below the forum descriptions.<br/>This feature requires that links on index display is activated in the main configuration.', - 'GOOGLE_LINKS_CAT' => 'Links on forum page', - 'GOOGLE_LINKS_CAT_EXPLAIN' => 'Display or not links to the sitemap of the current forum. These links are added below the forum title.<br/>This feature requires that links on forum page display is activated in the main configuration.', - // Reset settings - 'GOOGLE_ALL_RESET' => '<b>All</b> Google sitemaps modules', - 'GOOGLE_URL_EXPLAIN' => 'Enter the full URL to your sitemapIndex eg http://www.example.com/eventual_dir/ if sitemap.php is installed in http://www.example.com/eventual_dir/.<br/>This option is useful when phpBB is not installed in the domain\'s root and you would like to list URLs from the domain’s root level in your Google sitemaps.', - 'GOOGLE_PING' => 'Google Ping', - 'GOOGLE_PING_EXPLAIN' => 'Pings Google each time a sitemap gets refreshed.', - 'GOOGLE_THRESHOLD' => 'Sitemaps threshold', - 'GOOGLE_THRESHOLD_EXPLAIN' => 'Minimum amount of items to display a sitemap. For the forum, this means that only forum with more than this threshold topic will have a sitemap.', - 'GOOGLE_PRIORITIES' => 'Priority settings', - 'GOOGLE_DEFAULT_PRIORITY' => 'Default Priority', - 'GOOGLE_DEFAULT_PRIORITY_EXPLAIN' => 'The default priority for URLs listed in all the sitemaps; will be used unless additional options are made possible by module (must be a number between 0.0 & 1.0 inclusive)', - 'GOOGLE_XSLT' => 'XSLT Styling', - 'GOOGLE_XSLT_EXPLAIN' => 'Activates the XSL style-sheet to output user-friendly Google sitemaps with clickable links and more. This will only be effective after you will have cleared the Google sitemaps cache using the Maintenance link above.', - 'GOOGLE_LOAD_PHPBB_CSS' => 'Load phpBB CSS', - 'GOOGLE_LOAD_PHPBB_CSS_EXPLAIN' => 'The GYM sitemap module uses the phpBB3 templating system. The XSL stylesheets used to build the html output are compatible with phpBB3 styling.<br/>With this, you can apply the phpBB CSS on the XSL stylesheet instead of the default one. This way, all your theme personalizations such as background and font color or even images will be used in the Google sitemap styled output.<br/>This will only have effect after you will have cleared the RSS cache in the "Maintenance" menu.<br/>If the Google sitemaps style file are not present in the current style, the default style (always available, based on prosilver) will be used.<br/>Do not try to use prosilver templates with another style, the CSS most likely won\'t match.', - // Auth settings - 'GOOGLE_AUTH_SETTINGS' => 'Authorization settings', - 'GOOGLE_ALLOW_AUTH' => 'Authorizations', - 'GOOGLE_ALLOW_AUTH_EXPLAIN' => 'Activate the authorization for Sitemaps. If activated, logged in users and bots will be able to browse private forum sitemaps if they have the proper authorization.', - 'GOOGLE_CACHE_AUTH' => 'Cache private sitemaps', - 'GOOGLE_CACHE_AUTH_EXPLAIN' => 'You can disable cache for non public sitemaps when allowed.<br/> Caching private sitemaps will increase the number of file cached. It should not be a problem, but you can decide to only cache public sitemaps here.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/en/gym_sitemaps/acp/gym_html.php b/phpBB/language/en/gym_sitemaps/acp/gym_html.php deleted file mode 100644 index 831c89605e..0000000000 --- a/phpBB/language/en/gym_sitemaps/acp/gym_html.php +++ /dev/null @@ -1,153 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_html.php 259 2010-03-18 19:25:40Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* gym_html [English] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'HTML_MAIN' => 'HTML Settings', - 'HTML_MAIN_EXPLAIN' => 'These are the main setting for the HTML module.<br/>They can be applied to all the HTML modules depending on your HTML override settings.', - // Linking setup - 'HTML_LINKS_ACTIVATION' => 'Forum Linking', - 'HTML_LINKS_MAIN' => 'Main links', - 'HTML_LINKS_MAIN_EXPLAIN' => 'Display or not main news and maps links in footer.<br/>This feature requires that main links display is activated in the main configuration.', - 'HTML_LINKS_INDEX' => 'Links on index', - 'HTML_LINKS_INDEX_EXPLAIN' => 'Display or not links to the available news and maps for each forum on the forum index. These links are added below the forum descriptions.<br/>This feature requires that links on index display is activated in the main configuration.', - 'HTML_LINKS_CAT' => 'Links on forum page', - 'HTML_LINKS_CAT_EXPLAIN' => 'Display or not links to the news and maps of the current forum. These links are added below the forum title.<br/>This feature requires that links on forum page display is activated in the main configuration.', - // Reset settings - 'HTML_ALL_RESET' => 'ALL HTML modules', - // Limits - 'HTML_RSS_NEWS_LIMIT' => 'Mains news page limit', - 'HTML_RSS_NEWS_LIMIT_EXPLAIN' => 'Number of items displayed on the main news page, gathered from the configured RSS source for the main new page.', - 'HTML_MAP_TIME_LIMIT' => 'Time limit for module main maps', - 'HTML_MAP_TIME_LIMIT_EXPLAIN' => 'Limit in days. The maximum age of the items taken into account when building the module main map page. Can be very useful to lower the server load on large data bases. Enter 0 for no limit', - 'HTML_CAT_MAP_TIME_LIMIT' => 'Time limit for category maps', - 'HTML_CAT_MAP_TIME_LIMIT_EXPLAIN' => 'Limit in days. The maximum age of the items taken into account when building the module category map pages. Can be very useful to lower the server load on large data bases. Enter 0 for no limit', - 'HTML_NEWS_TIME_LIMIT' => 'Time limits for News', - 'HTML_NEWS_TIME_LIMIT_EXPLAIN' => 'Limit in days. The maximum age of the items taken into account when building the module news page. Can be very useful to lower the server load on large data bases. Enter 0 for no limit', - 'HTML_CAT_NEWS_TIME_LIMIT' => 'Time limit for category news', - 'HTML_CAT_NEWS_TIME_LIMIT_EXPLAIN' => 'Limit in days. The maximum age of the items taken into account when building the module category news pages. Can be very useful to lower the server load on large data bases. Enter 0 for no limit', - // sort - 'HTML_MAP_SORT_TITLE' => 'Map sorting', - 'HTML_NEWS_SORT_TITLE' => 'News sorting', - 'HTML_CAT_SORT_TYPE' => 'Sorting for category maps', - 'HTML_CAT_SORT_TYPE_EXPLAIN' => 'Following the same principle as above, this one applies to the module category maps pages, e.g. a forum map for the HTML forum module.', - 'HTML_NEWS_SORT_TYPE' => 'Sorting for news page', - 'HTML_NEWS_SORT_TYPE_EXPLAIN' => 'Following the same principle as above, this one applies to the module news page, e.g. the forum news page for the HTML forum module.', - 'HTML_CAT_NEWS_SORT_TYPE' => 'Sorting for category news pages', - 'HTML_CAT_NEWS_SORT_TYPE_EXPLAIN' => 'Following the same principle as above, this one applies to the module category news pages, e.g. a forum news page for the HTML forum module.', - 'HTML_PAGINATION_GEN' => 'Main Pagination', - 'HTML_PAGINATION_SPEC' => 'Module Pagination', - 'HTML_PAGINATION' => 'Site map pagination', - 'HTML_PAGINATION_EXPLAIN' => 'Activate pagination on the site map pages. You can decide to use only one, or several pages for your site maps.', - 'HTML_PAGINATION_LIMIT' => 'Item per page', - 'HTML_PAGINATION_LIMIT_EXPLAIN' => 'When site map pagination is activated, you can choose how many item to display per page.', - 'HTML_NEWS_PAGINATION' => 'News Pagination', - 'HTML_NEWS_PAGINATION_EXPLAIN' => 'Activate pagination on the news pages. You can decide to use only one, or several pages for your news pages.', - 'HTML_NEWS_PAGINATION_LIMIT' => 'News per page', - 'HTML_NEWS_PAGINATION_LIMIT_EXPLAIN' => 'When news pagination is activated, you can choose how many news to display per page.', - 'HTML_ITEM_PAGINATION' => 'Item pagination', - 'HTML_ITEM_PAGINATION_EXPLAIN' => 'You can here decide to output paginated links (when available) for the listed items. For example, the module can additionally output links of the forum’s topic pages.', - // Basic settings - 'HTML_SETTINGS' => 'Basic settings', - 'HTML_C_INFO' => 'Copyright information', - 'HTML_C_INFO_EXPLAIN' => 'Info to display in the copyright meta tag for site maps and news pages. Default is the phpBB site name. This info will only be used if you installed the phpBB SEO dynamic meta tag mod.', - 'HTML_SITENAME' => 'Site name', - 'HTML_SITENAME_EXPLAIN' => 'The Site name to show in the site maps and news pages. Default is the phpBB site name.', - 'HTML_SITE_DESC' => 'Site description', - 'HTML_SITE_DESC_EXPLAIN' => 'The Site description to show in the site maps and news pages. Default is the phpBB site description.', - 'HTML_LOGO_URL' => 'Site logo', - 'HTML_LOGO_URL_EXPLAIN' => 'The image file to use as the site logo in the RSS feeds, in the gym_sitemaps/images/ directory.', - 'HTML_URL_EXPLAIN' => 'Enter the full URL to your map.php file, e.g. http://www.example.com/eventual_dir/ if map.php is installed in http://www.example.com/eventual_dir/.<br/>This option is useful when phpBB is not installed in the domain’s root and you would like put the map.php file in the root level.', - 'HTML_RSS_NEWS_URL' => 'Mains news page RSS source', - 'HTML_RSS_NEWS_URL_EXPLAIN' => 'Enter here the full url to the RSS feed you want to display on the main news page, example http://www.example.com/gymrss.php?news&digest to display all news from all RSS modules installed on the main HTML news page.<br />You can use an RSS 2.0 feed as a source for this page.', - 'HTML_STATS_ON_NEWS' => 'Display forum stats on news pages', - 'HTML_STATS_ON_NEWS_EXPLAIN' => 'Display, or not, forum stats on news pages.', - 'HTML_STATS_ON_MAP' => 'Display forum stats maps', - 'HTML_STATS_ON_MAP_EXPLAIN' => 'Display, or not, forum stats maps pages.', - 'HTML_BIRTHDAYS_ON_NEWS' => 'Display birthdays on news pages', - 'HTML_BIRTHDAYS_ON_NEWS_EXPLAIN' => 'Display, or not, birthdays on news pages.', - 'HTML_BIRTHDAYS_ON_MAP' => 'Display birthdays on news pages', - 'HTML_BIRTHDAYS_ON_MAP_EXPLAIN' => 'Display, or not, birthdays on news pages.', - 'HTML_DISP_ONLINE' => 'Display user online', - 'HTML_DISP_ONLINE_EXPLAIN' => 'Display, or not, the user online list on the site map and news pages.', - 'HTML_DISP_TRACKING' => 'Activate tracking', - 'HTML_DISP_TRACKING_EXPLAIN' => 'Activate, or not, item tracking (read / unread).', - 'HTML_DISP_STATUS' => 'Activate status', - 'HTML_DISP_STATUS_EXPLAIN' => 'Activate, or not, the item status system (Announcement, Stickies, locked etc ... ).', - // Cache - 'HTML_CACHE' => 'Cache', - 'HTML_CACHE_EXPLAIN' => 'You can here define various caching options for the HTML mode. HTML caching is separated from the other modes (Google and RSS). This module uses the standard phpBB’s cache.<br/>This options thus cannot be inherited from the main level, and only publicly visible content will be cached. This settings though, may be transmitted to the HTML modules depending on your HTML override settings.<br/><br/>Cache is separated into two types, one for each column in the output : The main column, containing the maps and news, and the optional one, which for example can be used to add a last active topic listing in the HTML forum module.', - 'HTML_MAIN_CACHE_ON' => 'Activate main column caching', - 'HTML_MAIN_CACHE_ON_EXPLAIN' => 'You can here activate / deactivate the site maps and news column caching.', - 'HTML_OPT_CACHE_ON' => 'Activate optional column caching', - 'HTML_OPT_CACHE_ON_EXPLAIN' => 'You can here activate / deactivate the optional column caching.', - 'HTML_MAIN_CACHE_TTL' => 'Main cache duration', - 'HTML_MAIN_CACHE_TTL_EXPLAIN' => 'Maximum amount of hours the main column cached file will be used before it will be updated. Each cached file will be updated every time someone will browse it after this duration was exceeded.', - 'HTML_OPT_CACHE_TTL' => 'Optional column cache duration', - 'HTML_OPT_CACHE_TTL_EXPLAIN' => 'Maximum amount of hours the optional column cached file will be used before it will be updated. Each cached file will be updated every time someone will browse it after this duration was exceeded.', - // Auth settings - 'HTML_AUTH_SETTINGS' => 'Authorization settings', - 'HTML_ALLOW_AUTH' => 'Authorizations', - 'HTML_ALLOW_AUTH_EXPLAIN' => 'Activate the authorization for site map and news pages. If activated, logged in users will be able to browse private content and to view items from private forums if they have the proper authorization.', - 'HTML_ALLOW_NEWS' => 'Activate news', - 'HTML_ALLOW_NEWS_EXPLAIN' => 'Each module can have a news page listing the last X active items with their content, which can be filtered. For the forum, the forum news page is generally a page displaying the 10 last topic first posts digest coming from a selection of public and / or private forums.', - 'HTML_ALLOW_CAT_NEWS' => 'Activate category news', - 'HTML_ALLOW_CAT_NEWS_EXPLAIN' => 'Following the same principles as the module news pages, each module category can have a news page.', - // Content - 'HTML_NEWS' => 'News settings', - 'HTML_NEWS_EXPLAIN' => 'Here you can set up various content filtering / formatting options for the news. <br/>They can be applied to all the HTML modules depending on your HTML override settings.', - 'HTML_NEWS_CONTENT' => 'News content settings', - 'HTML_SUMARIZE' => 'Digest Items', - 'HTML_SUMARIZE_EXPLAIN' => 'You can summarize the message content put in the news pages.<br/> The limit sets the maximum amount of sentences, words or characters, according to the method selected below. Enter 0 to output all of it.', - 'HTML_SUMARIZE_METHOD' => 'Digest Method', - 'HTML_SUMARIZE_METHOD_EXPLAIN' => 'You can select between three different methods to limit the message content in feeds.<br/> By number of lines, by number of words and by number of characters. BBcode tags and words won’t be broken.', - 'HTML_ALLOW_PROFILE' => 'Show Profiles', - 'HTML_ALLOW_PROFILE_EXPLAIN' => 'Item author name can be added to the output if desired.', - 'HTML_ALLOW_PROFILE_LINKS' => 'Profile link', - 'HTML_ALLOW_PROFILE_LINKS_EXPLAIN' => 'If author name is included in the output, you can decide to link it or not to the corresponding phpBB profile page.', - 'HTML_ALLOW_BBCODE' => 'Allow BBcodes', - 'HTML_ALLOW_BBCODE_EXPLAIN' => 'You may choose here to either parse and output or omit the BBcode.', - 'HTML_STRIP_BBCODE' => 'Strip BBcodes', - 'HTML_STRIP_BBCODE_EXPLAIN' => 'You can here set up a list of BBcodes to exclude from parsing.<br/>The format is simple : <br/><ul><li> <u>Comma separated list of BBcodes :</u> Delete BBcode tags, keep the content. <br/><u>Example :</u> <b>img,b,quote</b> <br/> In this example img, bold and quote BBcode won’t be parsed, the BBcode tags themselves will be deleted and the content inside the BBcode tags kept.</li><li> <u>Comma separated list of BBcodes with colon option :</u> Delete BBcode tags and decide about their content. <br/><u>Example :</u> <b>img:1,b:0,quote,code:1</b> <br/> In this example, img BBcode and the img link will be deleted, bold won’t be processed, but the bold-ed text will be kept, quote won’t be parsed, but their content will be kept, code BBcode and their content will be deleted from the output.</ul>The filter will work even if BBcode is empty. Handy to delete code tags content and img links from output for example.<br/>The filtering occurs before summarizing.<br/> The Magic parameter "all" (can be all:0 or all:1 to strip BBcode tags content as well) will take care of all at once.', - 'HTML_ALLOW_LINKS' => 'Allow active links', - 'HTML_ALLOW_LINKS_EXPLAIN' => 'You may choose here to either activate or not links used in items content.<br/> If deactivated, links and emails will be included in the content but won’t be clickable.', - 'HTML_ALLOW_EMAILS' => 'Allow Emails', - 'HTML_ALLOW_EMAILS_EXPLAIN' => 'You chose here to output "email AT domain DOT com" instead of "email@domain.com" in the items content.', - 'HTML_ALLOW_SMILIES' => 'Allow Smilies', - 'HTML_ALLOW_SMILIES_EXPLAIN' => 'You may choose here to either parse or ignore the smilies in content.', - 'HTML_ALLOW_SIG' => 'Allow signatures', - 'HTML_ALLOW_SIG_EXPLAIN' => 'You may choose here to either display or not the users signatures in content.', - 'HTML_ALLOW_MAP' => 'Activate the module map', - 'HTML_ALLOW_MAP_EXPLAIN' => 'You can here activate / deactivate the module site map.', - 'HTML_ALLOW_CAT_MAP' => 'Activate module category maps', - 'HTML_ALLOW_CAT_MAP_EXPLAIN' => 'You can here activate / deactivate the module category maps.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/en/gym_sitemaps/acp/gym_rss.php b/phpBB/language/en/gym_sitemaps/acp/gym_rss.php deleted file mode 100644 index cd116c2942..0000000000 --- a/phpBB/language/en/gym_sitemaps/acp/gym_rss.php +++ /dev/null @@ -1,133 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_rss.php 259 2010-03-18 19:25:40Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* gym_rss [English] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'RSS_MAIN' => 'RSS Feeds Settings', - 'RSS_MAIN_EXPLAIN' => 'These are the main setting for the RSS feeds module.<br/>They can be applied to all the RSS modules depending on your RSS override settings.', - // Linking setup - 'RSS_LINKS_ACTIVATION' => 'Forum Linking', - 'RSS_LINKS_MAIN' => 'Main links', - 'RSS_LINKS_MAIN_EXPLAIN' => 'Display or not rss and rss list links in footer.<br/>This feature requires that main links display is activated in the main configuration.', - 'RSS_LINKS_INDEX' => 'Links on index', - 'RSS_LINKS_INDEX_EXPLAIN' => 'Display or not links to the available rss feed for each forum on the forum index. These links are added below the forum descriptions.<br/>This feature requires that links on index display is activated in the main configuration.', - 'RSS_LINKS_CAT' => 'Links on forum page', - 'RSS_LINKS_CAT_EXPLAIN' => 'Display or not links to the rss feed of the current forum. These links are added below the forum title.<br/>This feature requires that links on forum page display is activated in the main configuration.', - // Reset settings - 'RSS_ALL_RESET' => 'ALL RSS modules', - // Limits - 'RSS_LIMIT_GEN' => 'Main limits', - 'RSS_LIMIT_SPEC' => 'RSS limits', - 'RSS_URL_LIMIT_LONG' => 'Long Feeds limit', - 'RSS_URL_LIMIT_LONG_EXPLAIN' => 'Number of items displayed in a Long feed without content, requires Allow Long Feeds option activated.', - 'RSS_SQL_LIMIT_LONG' => 'Long SQL cycle', - 'RSS_SQL_LIMIT_LONG_EXPLAIN' => 'Number of items queried at a time for a long feed without content.', - 'RSS_URL_LIMIT_SHORT' => 'Short Feeds limit', - 'RSS_URL_LIMIT_SHORT_EXPLAIN' => 'Number of items displayed on a Short feed without content, requires Allow Short Feeds option activated.', - 'RSS_SQL_LIMIT_SHORT' => 'Short SQL cycle', - 'RSS_SQL_LIMIT_SHORT_EXPLAIN' => 'Number of items queried at a time for a Short feed without content.', - 'RSS_URL_LIMIT_MSG' => 'Default limit with content', - 'RSS_URL_LIMIT_MSG_EXPLAIN' => 'Number of items displayed by default in feeds with content, requires Allow Item Content option activated.', - 'RSS_SQL_LIMIT_MSG' => 'SQL cycle with content', - 'RSS_SQL_LIMIT_MSG_EXPLAIN' => 'Number of items queried at a time for a feed with content.', - // Basic settings - 'RSS_SETTINGS' => 'Basic settings', - 'RSS_C_INFO' => 'Copyright information', - 'RSS_C_INFO_EXPLAIN' => 'The Copyright information to show in the copyright tag of the RSS feeds. Default is the phpBB site name.', - 'RSS_SITENAME' => 'Site name', - 'RSS_SITENAME_EXPLAIN' => 'The Site name to show in the RSS feeds. Default is the phpBB site name.', - 'RSS_SITE_DESC' => 'Site description', - 'RSS_SITE_DESC_EXPLAIN' => 'The Site description to show in the RSS feeds. Default is the phpBB site description.', - 'RSS_LOGO_URL' => 'Site logo', - 'RSS_LOGO_URL_EXPLAIN' => 'The image file to use as the site logo in the RSS feeds, in the gym_sitemaps/images/ directory.', - 'RSS_IMAGE_URL' => 'RSS logo', - 'RSS_IMAGE_URL_EXPLAIN' => 'The image file to use as the RSS logo in the RSS feeds, in the gym_sitemaps/images/ directory.', - 'RSS_LANG' => 'RSS Language', - 'RSS_LANG_EXPLAIN' => 'The language to declare as the main language in the rss feeds. Default is the phpBB default language.', - 'RSS_URL_EXPLAIN' => 'Enter the full URL to your gymrss.php file, e.g. http://www.example.com/eventual_dir/ if gymrss.php is installed in http://www.example.com/eventual_dir/.<br/>This option is useful when phpBB is not installed in the domain’s root and you would like put the gymrss.php file in the root level.', - // Auth settings - 'RSS_AUTH_SETTINGS' => 'Authorization settings', - 'RSS_ALLOW_AUTH' => 'Authorizations', - 'RSS_ALLOW_AUTH_EXPLAIN' => 'Activate the authorization for RSS feeds. If activated, logged in users will be able to browse private feeds and to view items from private forums in general feeds if they have the proper authorization.', - 'RSS_CACHE_AUTH' => 'Cache private feeds', - 'RSS_CACHE_AUTH_EXPLAIN' => 'You can disable cache for non public feeds when allowed.<br/> Caching private feeds will increase the number of file cached; it should not be a problem, but you can decide to only cache public feeds here.', - 'RSS_NEWS_UPDATE' => 'News Feeds update', - 'RSS_NEWS_UPDATE_EXPLAIN' => 'When news feeds are activated, you can here set a custom time to live in hours for all the news feeds. Use 0 or leave blank to deactivate and use the regular update duration instead.', - 'RSS_ALLOW_NEWS' => 'Allow News Feeds', - 'RSS_ALLOW_NEWS_EXPLAIN' => 'So called news feeds is a custom mod that will keep the first item listed without considering subsequent replies. It’s an additional feed that will not interfere with the others. It’s useful if you, for example, want to submit your forum feeds to Google news.', - 'RSS_ALLOW_SHORT' => 'Allow Short Feeds', - 'RSS_ALLOW_SHORT_EXPLAIN' => 'Allow or not the use of Short RSS feeds.', - 'RSS_ALLOW_LONG' => 'Allow Long Feeds', - 'RSS_ALLOW_LONG_EXPLAIN' => 'Allow or not the use of Long RSS feeds.', - // Notifications - 'RSS_NOTIFY' => 'Notifications', - 'RSS_YAHOO_NOTIFY' => 'Yahoo Notifications', - 'RSS_YAHOO_NOTIFY_EXPLAIN' => 'Activate the Yahoo! Notifications for RSS feeds.<br/> This does not concern the general feeds (RSS.xml).<br/>Each time a feed’s cache is updated, a notification will be sent to Yahoo!<br/><u>NOTE :</u>You MUST enter your Yahoo! AppID below for the notification to be sent.', - 'RSS_YAHOO_APPID' => 'Yahoo! AppID', - 'RSS_YAHOO_APPID_EXPLAIN' => 'Enter your Yahoo! AppID. If you don’t have one yet, please visit <a href="http://api.search.yahoo.com/webservices/register_application">this page</a>.<br/><u>NOTE :</u>You will have to register for a Yahoo! account before you can obtain a Yahoo! AppID.', - // Styling - 'RSS_STYLE' => 'Rss Style', - 'RSS_XSLT' => 'XSLT Styling', - 'RSS_XSLT_EXPLAIN' => 'The RSS feeds can be styled using <a href="http://www.w3schools.com/xsl/xsl_transformation.asp">XSL-Transform</a> Style Sheet.', - 'RSS_FORCE_XSLT' => 'Force Styling', - 'RSS_FORCE_XSLT_EXPLAIN' => 'Isn’t this a bit stupid, we need to trick browsers to allow xlst usage. We do it by adding some space chars at the beginning of the xml code.<br/>FF 2 and IE7 only look for the first 500 chars to decide it’s rss or not and impose their private handling', - 'RSS_LOAD_PHPBB_CSS' => 'Load phpBB CSS', - 'RSS_LOAD_PHPBB_CSS_EXPLAIN' => 'The GYM sitemap module fully uses the phpBB3 powerful templating system. The XSL stylesheets used to build the html output is compatible with phpBB3 styling.<btr/>With this option, you can decide to apply the phpBB CSS on the XSL stylesheet instead of the default one. This way, all your theme personalisations such as background and font color or even images will be used in the RSS styled output.<br/>This will only have effect after you will have cleared the RSS cache in the "Maintenance" menu.<br/>If the RSS style file are not present in the current style, the default style (always available, based on prosilver) will be used.<br/>Do not try to use prosilver templates with another style, the CSS most likely won’t match.', - // Content - 'RSS_CONTENT' => 'Content settings', - 'RSS_CONTENT_EXPLAIN' => 'Here you can set up various content filtering / formatting options. <br/>They can be applied to all the RSS modules depending on your RSS override settings.', - 'RSS_ALLOW_CONTENT' => 'Allow Item Content', - 'RSS_ALLOW_CONTENT_EXPLAIN' => 'You may choose here to allow the message content to be fully or partially displayed in the RSS feeds. <br/><u>NOTE :</u> This option means a bit more work for the server. Limits with content output should be set smaller than the ones without it.', - 'RSS_SUMARIZE' => 'Digest Items', - 'RSS_SUMARIZE_EXPLAIN' => 'You can summarize the message content put in the feeds.<br/> The limit sets the maximum amount of sentences, words or characters, according to the method selected below. Enter 0 to output all of it.', - 'RSS_SUMARIZE_METHOD' => 'Digest Method', - 'RSS_SUMARIZE_METHOD_EXPLAIN' => 'You can select between three different methods to limit the message content in feeds.<br/> By number of lines, by number of words and by number of characters. BBcode tags and words won’t be broken.', - 'RSS_ALLOW_PROFILE' => 'Show Profiles', - 'RSS_ALLOW_PROFILE_EXPLAIN' => 'Item author name can be added to the RSS feeds if desired.', - 'RSS_ALLOW_PROFILE_LINKS' => 'Profile link', - 'RSS_ALLOW_PROFILE_LINKS_EXPLAIN' => 'If author name is included in the output, you can decide to link it or not to the corresponding phpBB profile page.', - 'RSS_ALLOW_BBCODE' => 'Allow BBcodes', - 'RSS_ALLOW_BBCODE_EXPLAIN' => 'You may choose here to either parse and output or omit the BBcode.', - 'RSS_STRIP_BBCODE' => 'Strip BBcodes', - 'RSS_STRIP_BBCODE_EXPLAIN' => 'You can here set up a list of BBcodes to exclude from parsing.<br/>The format is simple : <br/><ul><li> <u>Comma separated list of BBcodes :</u> Delete BBcode tags, keep the content. <br/><u>Example :</u> <b>img,b,quote</b> <br/> In this example img, bold and quote BBcode won’t be parsed, the BBcode tags themselves will be deleted and the content inside the BBcode tags kept.</li><li> <u>Comma separated list of BBcodes with colon option :</u> Delete BBcode tags and decide about their content. <br/><u>Example :</u> <b>img:1,b:0,quote,code:1</b> <br/> In this example, img BBcode and the img link will be deleted, bold won’t be processed, but the bold text will be kept, quote won’t be parsed, but their content will be kept, code BBcode and their content will be deleted from the output.</ul>The filter will work even if BBcode is empty. Handy to delete code tags content and img links from output for example.<br/>The filtering occurs before summarizing.<br/> The Magic parameter "all" (can be all:0 or all:1 to strip BBcode tags content as well) will take care of all at once.', - 'RSS_ALLOW_LINKS' => 'Allow active links', - 'RSS_ALLOW_LINKS_EXPLAIN' => 'You may choose here to either activate or not links used in items content.<br/> If deactivated, links and emails will be included in the content but won’t be clickable.', - 'RSS_ALLOW_EMAILS' => 'Allow Emails', - 'RSS_ALLOW_EMAILS_EXPLAIN' => 'You chose here to output "email AT domain DOT com" instead of "email@domain.com" in the items content.', - 'RSS_ALLOW_SMILIES' => 'Allow Smilies', - 'RSS_ALLOW_SMILIES_EXPLAIN' => 'You may choose here to either parse or ignore the smilies in content.', - 'RSS_NOHTML' => 'HTML filter', - 'RSS_NOHTML_EXPLAIN' => 'Filter, or not, html in rss feeds. If you activate this option, rss feeds will only contain plain text.', - // Old URL handling - 'RSS_1XREDIR' => 'Handle GYM 1x rewritten URL', - 'RSS_1XREDIR_EXPLAIN' => 'Activate the GYM 1x rewritten URLs detection. The module will display a custom feed providing with the new URL of the requested feed.<br/><u>Note :</u><br/>This option requires the compatibility rewriterules as explained in the install file.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/en/gym_sitemaps/acp/html_forum.php b/phpBB/language/en/gym_sitemaps/acp/html_forum.php deleted file mode 100644 index b0d48acf41..0000000000 --- a/phpBB/language/en/gym_sitemaps/acp/html_forum.php +++ /dev/null @@ -1,96 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: html_forum.php 204 2009-12-20 12:04:51Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* html_forum [English] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'HTML_FORUM' => 'HTML Forum Module', - 'HTML_FORUM_EXPLAIN' => 'These are the settings for the HTML forum module.<br/> Some of them can be overridden depending on the HTML override settings.', - 'HTML_FORUM_EXCLUDE' => 'Forum Exclusions', - 'HTML_FORUM_EXCLUDE_EXPLAIN' => 'You can here exclude one or several forums from the RSS listing.<br /><u>Note :</u> If this field is left empty, all readable forums will be listed.', - 'HTML_FORUM_ALLOW_NEWS' => 'Forum News', - 'HTML_FORUM_ALLOW_NEWS_EXPLAIN' => 'The forum news page is a page displaying one or several topic’s first posts, clipped or not, and coming from one or several forum you may select bellow.', - 'HTML_FORUM_ALLOW_CAT_NEWS' => 'Forum category news', - 'HTML_FORUM_ALLOW_CAT_NEWS_EXPLAIN' => 'Activate, or not, the per forum news pages. If activated, each non excluded forum will have a news page for its topics.', - 'HTML_FORUM_NEWS_IDS' => 'Forum news source', - 'HTML_FORUM_NEWS_IDS_EXPLAIN' => 'You can select one or several forums, even private, as source for your main forum news page.<br /><u>Note</u> :<br />If left empty, all authed forum will be taken as source for the forum news page.', - 'HTML_FORUM_LTOPIC' => 'Optional last active topic list', - 'HTML_FORUM_INDEX_LTOPIC' => 'Display on forum map', - 'HTML_FORUM_INDEX_LTOPIC_EXPLAIN' => 'Display, or not, the last active topic list on the forum map.<br/>Enter the number of topic to display, 0 to deactivate.', - 'HTML_FORUM_CAT_LTOPIC' => 'Display on forum category maps', - 'HTML_FORUM_CAT_LTOPIC_EXPLAIN' => 'Display, or not, the last active topic list on each forum maps.<br/>Enter the number of topic to display, 0 to deactivate.', - 'HTML_FORUM_NEWS_LTOPIC' => 'Display on forum news page', - 'HTML_FORUM_NEWS_LTOPIC_EXPLAIN' => 'Display, or not, the last active topic list on the forum news page.<br/>Enter the number of topic to display, 0 to deactivate.', - 'HTML_FORUM_CAT_NEWS_LTOPIC' => 'Display on forum category news page', - 'HTML_FORUM_CAT_NEWS_LTOPIC_EXPLAIN' => 'Display, or not, the last active topic list on each forum news page.<br/>Enter the number of topic to display, 0 to deactivate.', - 'HTML_FORUM_LTOPIC_PAGINATION' => 'Last active topic pagination', - 'HTML_FORUM_LTOPIC_PAGINATION_EXPLAIN' => 'Display, or not, topic pagination in the last active topic list.', - 'HTML_FORUM_LTOPIC_EXCLUDE' => 'Last active topic list exclusion', - 'HTML_FORUM_LTOPIC_EXCLUDE_EXPLAIN' => 'You can here exclude one or several forum from the last active topic listing.<br /><u>Note :</u> If this field is left empty, all readable forums will be listed.', - // Pagination - 'HTML_FORUM_PAGINATION' => 'Forum map Pagination', - 'HTML_FORUM_PAGINATION_EXPLAIN' => 'Activate, or not, paginating of forum maps. Turn this on if you want to display more than one page and list all topics in each forum map.', - 'HTML_FORUM_PAGINATION_LIMIT' => 'Topics per page', - 'HTML_FORUM_PAGINATION_LIMIT_EXPLAIN' => 'When Forum map Pagination is activated, you can here define the number of topic displayed per page.', - // Content - 'HTML_FORUM_CONTENT' => 'Forum Content settings', - 'HTML_FORUM_FIRST' => 'Map sorting', - 'HTML_FORUM_FIRST_EXPLAIN' => 'The forum maps can be sorted against the topic first post date or the topic last post date. This means that you can either use the topic creation or the last replied order.', - 'HTML_FORUM_NEWS_FIRST' => 'News sorting', - 'HTML_FORUM_NEWS_FIRST_EXPLAIN' => 'The forum news pages can be sorted against the topic first post date or the topic last post date. This means that you can either use the topic creation or the last replied order.', - 'HTML_FORUM_LAST_POST' => 'Display last post', - 'HTML_FORUM_LAST_POST_EXPLAIN' => 'Display, or not, the last post information of the topic listed.', - 'HTML_FORUM_POST_BUTTONS' => 'Display post button', - 'HTML_FORUM_POST_BUTTONS_EXPLAIN' => 'Display, or not, the post button such as reply, edit etc ...', - 'HTML_FORUM_RULES' => 'Display forum rules', - 'HTML_FORUM_RULES_EXPLAIN' => 'Display, or not, forum rules in forum news and map pages.', - 'HTML_FORUM_DESC' => 'Display forum rules description', - 'HTML_FORUM_DESC_EXPLAIN' => 'Display, or not, forum description in forum news and map pages.', - // Reset settings - 'HTML_FORUM_RESET' => 'HTML forum module', - 'HTML_FORUM_RESET_EXPLAIN' => 'Reset all the HTML forum module otpions to default values.', - 'HTML_FORUM_MAIN_RESET' => 'HTML forum Main', - 'HTML_FORUM_MAIN_RESET_EXPLAIN' => 'Reset to default all the options in the "HTML Settings" (main) tab of the HTML forum module.', - 'HTML_FORUM_CONTENT_RESET' => 'HTML forum News', - 'HTML_FORUM_CONTENT_RESET_EXPLAIN' => 'Reset to default all the news options of the HTML forum module.', - 'HTML_FORUM_CACHE_RESET' => 'HTML forum Cache', - 'HTML_FORUM_CACHE_RESET_EXPLAIN' => 'Reset to default all the caching options of the HTML forum module.', - 'HTML_FORUM_MODREWRITE_RESET' => 'HTML forum URL rewriting', - 'HTML_FORUM_MODREWRITE_RESET_EXPLAIN' => 'Reset to default all the URL rewriting options of the HTML forum module.', - 'HTML_FORUM_GZIP_RESET' => 'HTML forum Gunzip', - 'HTML_FORUM_GZIP_RESET_EXPLAIN' => 'Reset to default all the Gunzip options of the HTML forum module.', - 'HTML_FORUM_LIMIT_RESET' => 'HTML forum Limits', - 'HTML_FORUM_LIMIT_RESET_EXPLAIN' => 'Reset to default all the Limits options of the HTML forum module.', - 'HTML_FORUM_SORT_RESET' => 'HTML forum Sorting', - 'HTML_FORUM_SORT_RESET_EXPLAIN' => 'Reset to default all the Sorting options of the HTML forum module.', - 'HTML_FORUM_PAGINATION_RESET' => 'HTML forum Pagination', - 'HTML_FORUM_PAGINATION_RESET_EXPLAIN' => 'Reset to default all the Pagination options of the HTML forum module.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/en/gym_sitemaps/acp/rss_forum.php b/phpBB/language/en/gym_sitemaps/acp/rss_forum.php deleted file mode 100644 index 79991c09d8..0000000000 --- a/phpBB/language/en/gym_sitemaps/acp/rss_forum.php +++ /dev/null @@ -1,68 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: rss_forum.php 204 2009-12-20 12:04:51Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* rss_forum [English] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'RSS_FORUM' => 'Forum RSS module', - 'RSS_FORUM_EXPLAIN' => 'These are the setting for the forum RSS feeds module.<br/> Some of them can be overridden depending on the RSS and Main override settings.', - 'RSS_FORUM_ALTERNATE' => 'RSS alternate links', - 'RSS_FORUM_ALTERNATE_EXPLAIN' => 'Display or not forum RSS alternate links in browsers navigation bar', - 'RSS_FORUM_EXCLUDE' => 'Forum Exclusions', - 'RSS_FORUM_EXCLUDE_EXPLAIN' => 'You can here exclude one or several forum from the RSS listing.<br /><u>Note :</u> If this field is left empty, all readable forums will be listed.', - // Content - 'RSS_FORUM_CONTENT' => 'Forum Content settings', - 'RSS_FORUM_FIRST' => 'First message', - 'RSS_FORUM_FIRST_EXPLAIN' => 'Display or not the first post’s URL for all topics listed in the RSS feeds.<br/> By default, only the last post of each thread is listed. Displaying the first one as well means a bit more work for the server.', - 'RSS_FORUM_LAST' => 'Last message', - 'RSS_FORUM_LAST_EXPLAIN' => 'Display or not the last message for all topics listed in the RSS feeds.<br/> By default, only the last post of each thread is listed. This option is useful if you want to only list the first post URL in RSS feeds.<br/>Please note: Setting First message to YES and last message to NO is the same as building a news feed.', - 'RSS_FORUM_RULES' => 'Display Forum Rules', - 'RSS_FORUM_RULES_EXPLAIN' => 'Display or not the Forum Rules in the RSS feeds.', - // Reset settings - 'RSS_FORUM_RESET' => 'Forum RSS module', - 'RSS_FORUM_RESET_EXPLAIN' => 'Reset all the Forum RSS module options to default values.', - 'RSS_FORUM_MAIN_RESET' => 'Forums RSS Main', - 'RSS_FORUM_MAIN_RESET_EXPLAIN' => 'Reset to default all the options in the "RSS Feeds Settings" (main) tab of the forum RSS module.', - 'RSS_FORUM_CONTENT_RESET' => 'Forums RSS Content', - 'RSS_FORUM_CONTENT_RESET_EXPLAIN' => 'Reset to default all the Content options of the forum RSS module.', - 'RSS_FORUM_CACHE_RESET' => 'Forums RSS Cache', - 'RSS_FORUM_CACHE_RESET_EXPLAIN' => 'Reset to default all the caching options of the forum RSS module.', - 'RSS_FORUM_MODREWRITE_RESET' => 'Forums RSS URL rewriting', - 'RSS_FORUM_MODREWRITE_RESET_EXPLAIN' => 'Reset to default all the URL rewriting options of the forum RSS module.', - 'RSS_FORUM_GZIP_RESET' => 'Forums RSS Gunzip', - 'RSS_FORUM_GZIP_RESET_EXPLAIN' => 'Reset to default all the Gunzip options of the forum RSS module.', - 'RSS_FORUM_LIMIT_RESET' => 'Forums RSS Limits', - 'RSS_FORUM_LIMIT_RESET_EXPLAIN' => 'Reset to default all the Limits options of the forum RSS module.', - 'RSS_FORUM_SORT_RESET' => 'Forums RSS Sorting', - 'RSS_FORUM_SORT_RESET_EXPLAIN' => 'Reset to default all the Sorting options of the forum RSS module.', - 'RSS_FORUM_PAGINATION_RESET' => 'Forums RSS Pagination', - 'RSS_FORUM_PAGINATION_RESET_EXPLAIN' => 'Reset to default all the Pagination options of the forum RSS module.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/en/gym_sitemaps/gym_common.php b/phpBB/language/en/gym_sitemaps/gym_common.php deleted file mode 100644 index 2a117581e9..0000000000 --- a/phpBB/language/en/gym_sitemaps/gym_common.php +++ /dev/null @@ -1,121 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_common.php 259 2010-03-18 19:25:40Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* gym_common [English] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'RSS_AUTH_SOME_USER' => '<b><u>Warning :</u></b>This item list is personalized according to <b>%s</b>\'s authorizations.<br/>Some of the item listed may not be viewable when not logged in.', - 'RSS_AUTH_THIS_USER' => '<b><u>Warning :</u></b>This item is personalized according to <b>%s</b>\'s authorizations.<br/>It will not be viewable when not logged in.', - 'RSS_AUTH_SOME' => '<b><u>Warning :</u></b>This item list is not public.<br/>Some of the item listed may not be viewable when not logged in.', - 'RSS_AUTH_THIS' => '<b><u>Warning :</u></b>This item is not public.<br/>It will not be viewable when not logged in.', - 'RSS_CHAN_LIST_TITLE' => 'Channel list', - 'RSS_CHAN_LIST_DESC' => 'This channel list is listing the available RSS feeds.', - 'RSS_CHAN_LIST_DESC_MODULE' => 'This channel list is listing the RSS feeds available for : %s.', - 'RSS_ANNOUCES_DESC' => 'This feeds is listing all the global announcements of : %s', - 'RSS_ANNOUNCES_TITLE' => 'Announces from : %s', - 'GYM_LAST_POST_BY' => 'Last post by ', - 'GYM_FIRST_POST_BY' => 'Post by ', - 'GYM_LINK' => 'Link', - 'GYM_SOURCE' => 'Source', - 'GYM_RSS_SOURCE' => 'Source', - 'RSS_MORE' => 'more', - 'RSS_CHANNELS' => 'Channels', - 'RSS_CONTENT' => 'Digest', - 'RSS_SHORT' => 'Short list', - 'RSS_LONG' => 'Long list', - 'RSS_NEWS' => 'News', - 'RSS_NEWS_DESC' => 'Latest news from', - 'RSS_REPORTED_UNAPPROVED' => 'This item is currently waiting for approval.', - - 'GYM_HOME' => 'Home Page', - 'GYM_FORUM_INDEX' => 'Forum Index', - 'GYM_LASTMOD_DATE' => 'Last modification date', - 'GYM_SEO' => 'Search Engine Optimization', - 'GYM_MINUTES' => 'minute(s)', - 'GYM_SQLEXPLAIN' => 'SQL Explain report', - 'GYM_SQLEXPLAIN_MSG' => 'Logged in as admin, you can check the %s for this page.', - 'GYM_BOOKMARK_THIS' => 'Bookmark this', - // Errors - 'GYM_ERROR_404' => 'This page does not exist or is not activated', - 'GYM_ERROR_404_EXPLAIN' => 'The server did not find any page corresponding to the URL you have used.', - 'GYM_ERROR_401' => 'You are not allowed to view this page.', - 'GYM_ERROR_401_EXPLAIN' => 'This page is only accessible to logged in users granted with the required authorisations.', - 'GYM_LOGIN' => 'You are not allowed to view this page.', - 'GYM_LOGIN_EXPLAIN' => 'You must be registered and logged in to view this page.', - 'GYM_TOO_FEW_ITEMS' => 'Page Unavailable', - 'GYM_TOO_FEW_ITEMS_EXPLAIN' => 'This page does not contain enough item to be displayed.', - 'GYM_TOO_FEW_ITEMS_EXPLAIN_ADMIN' => 'This page source is either empty or does not contain enough items (less than the configured threshold in ACP) to be displayed.<br/>A 404 Not Found header was sent to properly inform Search Engines to discard this link.', - - 'GOOGLE_SITEMAP' => 'Sitemap', - 'GOOGLE_SITEMAP_OF' => 'Sitemap of', - 'GOOGLE_MAP_OF' => 'Sitemap of %1$s', - 'GOOGLE_SITEMAPINDEX' => 'SitemapIndex', - 'GOOGLE_NUMBER_OF_SITEMAP' => 'Number of Sitemaps in this Google SitemapIndex', - 'GOOGLE_NUMBER_OF_URL' => 'Number of URLs in this Google Sitemap', - 'GOOGLE_SITEMAP_URL' => 'Sitemap URL', - 'GOOGLE_CHANGEFREQ' => 'Change freq.', - 'GOOGLE_PRIORITY' => 'priority', - - 'RSS_FEED' => 'RSS Feed', - 'RSS_FEED_OF' => 'RSS Feed of %1$s', - 'RSS_2_LINK' => 'RSS 2.0 feed link', - 'RSS_UPDATE' => 'Update', - 'RSS_LAST_UPDATE' => 'Last Update', - 'RSS_SUBSCRIBE_POD' => '<h2>Bookmark this feed Now!</h2>With your preferred service.', - 'RSS_SUBSCRIBE' => 'To subscribe to this RSS feed manually, please use the following URL :', - 'RSS_ITEM_LISTED' => 'One item listed.', - 'RSS_ITEMS_LISTED' => 'items listed.', - 'RSS_VALID' => 'RSS 2.0 Valid feed', - - // Old URL handling - 'RSS_1XREDIR' => 'This RSS Feed has been moved', - 'RSS_1XREDIR_MSG' => 'This RSS Feed has been moved, you can now find it here ', - // HTML sitemaps - 'HTML_MAP' => 'Site map', - 'HTML_MAP_OF' => 'Site map of %1$s', - 'HTML_MAP_NONE' => 'No site map', - 'HTML_NO_ITEMS' => 'No item', - 'HTML_NEWS' => 'News', - 'HTML_NEWS_OF' => 'News of %1$s', - 'HTML_NEWS_NONE' => 'No news', - 'HTML_PAGE' => 'Page', - 'HTML_MORE' => 'Read more', - // Forum - 'HTML_FORUM_MAP' => 'Forum site map', - 'HTML_FORUM_NEWS' => 'Forums news', - 'HTML_FORUM_GLOBAL_MAP' => 'Global announcement list', - 'HTML_FORUM_GLOBAL_NEWS' => 'Global announcements', - 'HTML_FORUM_ANNOUNCE_MAP' => 'Announcements list', - 'HTML_FORUM_ANNOUNCE_NEWS' => 'Announcements', - 'HTML_FORUM_STICKY_MAP' => 'Sticky list', - 'HTML_FORUM_STICKY_NEWS' => 'Stickies', - 'HTML_LASTX_TOPICS_TITLE' => 'Last %1$s active topics', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/en/gym_sitemaps/gym_iso639.php b/phpBB/language/en/gym_sitemaps/gym_iso639.php deleted file mode 100644 index 184691e6c7..0000000000 --- a/phpBB/language/en/gym_sitemaps/gym_iso639.php +++ /dev/null @@ -1,215 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_iso639.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* gym_iso639 [English] -* -*/ -// This is the full iso 639-1 list from http://www.loc.gov/standards/iso639-2/php/French_list.php -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -$lang = array_merge($lang, array( - 'ISO_639_1' => array( - 'ab' => 'Abkhazian (ab)', - 'aa' => 'Afar (aa)', - 'af' => 'Afrikaans (af)', - 'ak' => 'Akan (ak)', - 'sq' => 'Albanian (sq)', - 'am' => 'Amharic (am)', - 'ar' => 'Arabic (ar)', - 'an' => 'Aragonese (an)', - 'hy' => 'Armenian (hy)', - 'as' => 'Assamese (as)', - 'av' => 'Avaric (av)', - 'ae' => 'Avestan (ae)', - 'ay' => 'Aymara (ay)', - 'az' => 'Azerbaijani (az)', - 'bm' => 'Bambara (bm)', - 'ba' => 'Bashkir (ba)', - 'eu' => 'Basque (eu)', - 'be' => 'Belarusian (be)', - 'bn' => 'Bengali (bn)', - 'bh' => 'Bihari (bh)', - 'bi' => 'Bislama (bi)', - 'nb' => 'Bokmål, Norwegian; Norwegian Bokmål (nb)', - 'bs' => 'Bosnian (bs)', - 'br' => 'Breton (br)', - 'bg' => 'Bulgarian (bg)', - 'my' => 'Burmese (my)', - 'ca' => 'Catalan; Valencian (ca)', - 'km' => 'Central Khmer (km)', - 'ch' => 'Chamorro (ch)', - 'ce' => 'Chechen (ce)', - 'ny' => 'Chichewa; Chewa; Nyanja (ny)', - 'zh' => 'Chinese (zh)', - 'cu' => 'Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic (cu)', - 'cv' => 'Chuvash (cv)', - 'kw' => 'Cornish (kw)', - 'co' => 'Corsican (co)', - 'cr' => 'Cree (cr)', - 'hr' => 'Croatian (hr)', - 'cs' => 'Czech (cs)', - 'da' => 'Danish (da)', - 'dv' => 'Divehi; Dhivehi; Maldivian (dv)', - 'nl' => 'Dutch; Flemish (nl)', - 'dz' => 'Dzongkha (dz)', - 'en' => 'English (en)', - 'eo' => 'Esperanto (eo)', - 'et' => 'Estonian (et)', - 'ee' => 'Ewe (ee)', - 'fo' => 'Faroese (fo)', - 'fj' => 'Fijian (fj)', - 'fi' => 'Finnish (fi)', - 'fr' => 'French (fr)', - 'ff' => 'Fulah (ff)', - 'gd' => 'Gaelic; Scottish Gaelic (gd)', - 'gl' => 'Galician (gl)', - 'lg' => 'Ganda (lg)', - 'ka' => 'Georgian (ka)', - 'de' => 'German (de)', - 'el' => 'Greek, Modern (1453-) (el)', - 'gn' => 'Guarani (gn)', - 'gu' => 'Gujarati (gu)', - 'ht' => 'Haitian; Haitian Creole (ht)', - 'ha' => 'Hausa (ha)', - 'he' => 'Hebrew (he)', - 'hz' => 'Herero (hz)', - 'hi' => 'Hindi (hi)', - 'ho' => 'Hiri Motu (ho)', - 'hu' => 'Hungarian (hu)', - 'is' => 'Icelandic (is)', - 'io' => 'Ido (io)', - 'ig' => 'Igbo (ig)', - 'id' => 'Indonesian (id)', - 'ia' => 'Interlingua (International Auxiliary Language Association) (ia)', - 'ie' => 'Interlingue (ie)', - 'iu' => 'Inuktitut (iu)', - 'ik' => 'Inupiaq (ik)', - 'ga' => 'Irish (ga)', - 'it' => 'Italian (it)', - 'ja' => 'Japanese (ja)', - 'jv' => 'Javanese (jv)', - 'kl' => 'Kalaallisut; Greenlandic (kl)', - 'kn' => 'Kannada (kn)', - 'kr' => 'Kanuri (kr)', - 'ks' => 'Kashmiri (ks)', - 'kk' => 'Kazakh (kk)', - 'ki' => 'Kikuyu; Gikuyu (ki)', - 'rw' => 'Kinyarwanda (rw)', - 'ky' => 'Kirghiz; Kyrgyz (ky)', - 'kv' => 'Komi (kv)', - 'kg' => 'Kongo (kg)', - 'ko' => 'Korean (ko)', - 'kj' => 'Kuanyama; Kwanyama (kj)', - 'ku' => 'Kurdish (ku)', - 'lo' => 'Lao (lo)', - 'la' => 'Latin (la)', - 'lv' => 'Latvian (lv)', - 'li' => 'Limburgan; Limburger; Limburgish (li)', - 'ln' => 'Lingala (ln)', - 'lt' => 'Lithuanian (lt)', - 'lu' => 'Luba-Katanga (lu)', - 'lb' => 'Luxembourgish; Letzeburgesch (lb)', - 'mk' => 'Macedonian (mk)', - 'mg' => 'Malagasy (mg)', - 'ms' => 'Malay (ms)', - 'ml' => 'Malayalam (ml)', - 'mt' => 'Maltese (mt)', - 'gv' => 'Manx (gv)', - 'mi' => 'Maori (mi)', - 'mr' => 'Marathi (mr)', - 'mh' => 'Marshallese (mh)', - 'mo' => 'Moldavian (mo)', - 'mn' => 'Mongolian (mn)', - 'na' => 'Nauru (na)', - 'nv' => 'Navajo; Navaho (nv)', - 'nd' => 'Ndebele, North; North Ndebele (nd)', - 'nr' => 'Ndebele, South; South Ndebele (nr)', - 'ng' => 'Ndonga (ng)', - 'ne' => 'Nepali (ne)', - 'se' => 'Northern Sami (se)', - 'no' => 'Norwegian (no)', - 'nn' => 'Norwegian Nynorsk; Nynorsk, Norwegian (nn)', - 'oc' => 'Occitan (post 1500); Provençal (oc)', - 'oj' => 'Ojibwa (oj)', - 'or' => 'Oriya (or)', - 'om' => 'Oromo (om)', - 'os' => 'Ossetian; Ossetic (os)', - 'pi' => 'Pali (pi)', - 'pa' => 'Panjabi; Punjabi (pa)', - 'fa' => 'Persian (fa)', - 'pl' => 'Polish (pl)', - 'pt' => 'Portuguese (pt)', - 'ps' => 'Pushto (ps)', - 'qu' => 'Quechua (qu)', - 'ro' => 'Romanian (ro)', - 'rm' => 'Romansh (rm)', - 'rn' => 'Rundi (rn)', - 'ru' => 'Russian (ru)', - 'sm' => 'Samoan (sm)', - 'sg' => 'Sango (sg)', - 'sa' => 'Sanskrit (sa)', - 'sc' => 'Sardinian (sc)', - 'sr' => 'Serbian (sr)', - 'sn' => 'Shona (sn)', - 'ii' => 'Sichuan Yi (ii)', - 'sd' => 'Sindhi (sd)', - 'si' => 'Sinhala; Sinhalese (si)', - 'sk' => 'Slovak (sk)', - 'sl' => 'Slovenian (sl)', - 'so' => 'Somali (so)', - 'st' => 'Sotho, Southern (st)', - 'es' => 'Spanish; Castilian (es)', - 'su' => 'Sundanese (su)', - 'sw' => 'Swahili (sw)', - 'ss' => 'Swati (ss)', - 'sv' => 'Swedish (sv)', - 'tl' => 'Tagalog (tl)', - 'ty' => 'Tahitian (ty)', - 'tg' => 'Tajik (tg)', - 'ta' => 'Tamil (ta)', - 'tt' => 'Tatar (tt)', - 'te' => 'Telugu (te)', - 'th' => 'Thai (th)', - 'bo' => 'Tibetan (bo)', - 'ti' => 'Tigrinya (ti)', - 'to' => 'Tonga (Tonga Islands) (to)', - 'ts' => 'Tsonga (ts)', - 'tn' => 'Tswana (tn)', - 'tr' => 'Turkish (tr)', - 'tk' => 'Turkmen (tk)', - 'tw' => 'Twi (tw)', - 'ug' => 'Uighur; Uyghur (ug)', - 'uk' => 'Ukrainian (uk)', - 'ur' => 'Urdu (ur)', - 'uz' => 'Uzbek (uz)', - 've' => 'Venda (ve)', - 'vi' => 'Vietnamese (vi)', - 'vo' => 'Volapük (vo)', - 'wa' => 'Walloon (wa)', - 'cy' => 'Welsh (cy)', - 'fy' => 'Western Frisian (fy)', - 'wo' => 'Wolof (wo)', - 'xh' => 'Xhosa (xh)', - 'yi' => 'Yiddish (yi)', - 'yo' => 'Yoruba (yo)', - 'za' => 'Zhuang; Chuang (za)', - 'zu' => 'Zulu (zu)', - ), -)); -?>
\ No newline at end of file diff --git a/phpBB/language/en/gym_sitemaps/install.php b/phpBB/language/en/gym_sitemaps/install.php deleted file mode 100644 index 8f08971acf..0000000000 --- a/phpBB/language/en/gym_sitemaps/install.php +++ /dev/null @@ -1,107 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: install.php 204 2009-12-20 12:04:51Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* install [English] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - // Install - 'SEO_INSTALL_PANEL' => 'Gym Sitemaps & RSS Installation Panel', - 'CAT_INSTALL_GYM_SITEMAPS' => 'Install GYM Sitemaps', - 'CAT_UNINSTALL_GYM_SITEMAPS' => 'Un-install GYM Sitemaps', - 'CAT_UPDATE_GYM_SITEMAPS' => 'Update GYM Sitemaps', - 'SEO_ERROR_INSTALL' => 'An error occurred during the installation process. If you want to retry the installation, uninstall first.', - 'SEO_ERROR_INSTALLED' => 'The %s module is already installed.', - 'SEO_ERROR_ID' => 'The %1$ module had no ID.', - 'SEO_ERROR_UNINSTALLED' => 'The %s module is already uninstalled.', - 'SEO_ERROR_INFO' => 'Information :', - 'SEO_FINAL_INSTALL_GYM_SITEMAPS' => 'Login to ACP', - 'SEO_FINAL_UPDATE_GYM_SITEMAPS' => 'Login to ACP', - 'SEO_FINAL_UNINSTALL_GYM_SITEMAPS' => 'Return to forum index', - 'SEO_OVERVIEW_TITLE' => 'GYM sitemaps & RSS Overview', - 'SEO_OVERVIEW_BODY' => '<p>Welcome to the phpBB SEO GYM sitemaps & RSS %1$s installer.</p><p>Please read <a href="%3$s" title="Check the release thread" target="_phpBBSEO"><b>the release thread</b></a> for more information</p><p><strong style="text-transform: uppercase;">Note:</strong> You must have already performed the required code changes and uploaded all the new files before you can proceed with this install wizard.</p><p>This installation system will guide you through the process of installing the GYM sitemaps & RSS admin control panel (ACP). It will allow you generate efficient and Search Engine Optimized Google Sitemaps and RSS feeds. Its modular design will allow you to generate Google Sitemaps and RSS feeds for any php/SQL application installed on your site, using dedicated plug-ins. Let’s meet in the <a href="%3$s" title="Support forum" target="_phpBBSEO"><b>support forum</b></a> for anything regarding the GYM Sitemaps & RSS module.</p> ', - 'CAT_SEO_PREMOD' => 'GYM Sitemaps & RSS', - 'SEO_INSTALL_INTRO' => 'Welcome to the phpBB SEO GYM sitemaps & RSS installer.', - 'SEO_INSTALL_INTRO_BODY' => '<p>You are about to install the %1$s %2$s mod. This install tool will activate the GYM Sitemaps & RSS admin control panel in the phpBB ACP.</p><p>Once installed, you will need to go to the ACP to choose the appropriate settings.</p> - <p><strong>Note:</strong>If it’s the first time you have installed this mod, we strongly encourage you to take the time to test the various features of the module on a local or private test server before going online.</p><br/> - <p>Requirements :</p> - <ul> - <li>Apache server (Linux OS) with mod_rewrite for the URL rewriting features of the module.</li> - <li>IIS server (Windows OS) with isapi_rewrite for the URL rewriting features of the module, but you will need to adapt the rewriterules in the httpd.ini</li> - </ul>', - 'SEO_INSTALL' => 'Install', - 'UN_SEO_INSTALL_INTRO' => 'Welcome to the GYM Sitemaps & RSS un-installer', - 'UN_SEO_INSTALL_INTRO_BODY' => '<p>You are about to uninstall the %1$s %2$s mod.</p> - <p><strong>Note:</strong> Sitemaps and feeds will no longer be available once you have uninstalled the module.</p>', - 'UN_SEO_INSTALL' => 'Uninstall', - 'SEO_INSTALL_CONGRATS' => 'Congratulations!', - 'SEO_INSTALL_CONGRATS_EXPLAIN' => '<p>You have now successfully installed the %1$s %2$s mod. Go to phpBB ACP and proceed with the mod settings.<p> - <p>It will show up in the phpBB SEO Category; among many other things you will be able to :</p> - <h2>Accurately configure you Google Sitemaps and RSS feeds</h2> - <p>Google sitemaps and RSS feeds supports advanced XSLt styling, phpBB’s CSS will even be applied to these without editing a single line of code.</p> - <p>Google sitemaps and RSS feeds will auto detect the phpBB SEO mod rewrites and their settings; using other URL rewriting mod is made easy.</p> - <h2>Generate a personalized .htaccess</h2> - <p>With the phpBB SEO mod rewrite and once you will have set up the above options, you will be able to generate a personalized .htaccess quickly and save it directly on the server.</p><br/><h3>Install Report :</h3>', - 'UN_SEO_INSTALL_CONGRATS' => 'The GYM Sitemaps & RSS ACP module was removed.', - 'UN_SEO_INSTALL_CONGRATS_EXPLAIN' => '<p>You have now successfully uninstalled the %1$s %2$s mod.<p> - <p> You Google sitemaps and RSS feeds are not available any more.</p>', - 'SEO_VALIDATE_INFO' => 'Validation Info :', - 'SEO_LICENCE_TITLE' => 'GNU LESSER GENERAL PUBLIC LICENSE', - 'SEO_LICENCE_BODY' => 'The phpBB SEO GYM Sitemaps & RSS is released under the GNU LESSER GENERAL PUBLIC LICENSE.', - 'SEO_SUPPORT_TITLE' => 'Support', - 'SEO_SUPPORT_BODY' => 'Full support will be given in the <a href="%1$s" title="Visit the %2$s forum" target="_phpBBSEO"><b>%2$s forum</b></a>. We will provide answers to general setup questions, configuration problems, and support for determining common problems.</p><p>Be sure to visit our <a href="http://www.phpbb-seo.com/boards/" title="SEO Forum" target="_phpBBSEO"><b>Search Engine Optimization forums</b></a>.</p><p>You should <a href="http://www.phpbb-seo.com/boards/profile.php?mode=register" title="Register to phpBB SEO" target="_phpBBSEO"><b>register</b></a>, log in and <a href="%3$s" title="Be notified about updates" target="_phpBBSEO"><b>subscribe to the release thread</b></a> to be notified by mail upon each update.', - // Security - 'SEO_LOGIN' => 'The board requires you to be registered and logged in to view this page.', - 'SEO_LOGIN_ADMIN' => 'The board requires you to be logged in as admin to view this page.<br/>Your session has been purged for security purposes.', - 'SEO_LOGIN_FOUNDER' => 'The board requires you to be logged in as the founder to view this page.', - 'SEO_LOGIN_SESSION' => 'Session Check failed.<br/>The Settings were not altered.<br/>Your session has been purged for security purposes.', - // Cache status - 'SEO_CACHE_FILE_TITLE' => 'Cache file status', - 'SEO_CACHE_STATUS' => 'The cache folder configured is : <b>%s</b>', - 'SEO_CACHE_FOUND' => 'The cache folder was successfully found.', - 'SEO_CACHE_NOT_FOUND' => 'The cache folder was not found.', - 'SEO_CACHE_WRITABLE' => 'The cache folder is writable.', - 'SEO_CACHE_not writeable' => 'The cache folder is not writeable. You need to CHMOD it to 0777.', - 'SEO_CACHE_FORUM_NAME' => 'Forum name', - 'SEO_CACHE_URL_OK' => 'URL Cached', - 'SEO_CACHE_URL_NOT_OK' => 'This Forum URL is not cached', - 'SEO_CACHE_URL' => 'Final URL', - 'SEO_CACHE_MSG_OK' => 'The cache file was updated successfully.', - 'SEO_CACHE_MSG_FAIL' => 'An error occurred while updating the cache file.', - 'SEO_CACHE_UPDATE_FAIL' => 'The URL you entered cannot be used, the cache was left untouched.', - // Update - 'UPDATE_SEO_INSTALL_INTRO' => 'Welcome to the phpBB SEO GYM sitemaps & RSS updater.', - 'UPDATE_SEO_INSTALL_INTRO_BODY' => '<p>You are about to update the %1$s module to %2$s. This script will update the phpBB data base.<br/>Your current settings won’t be affected.</p> - <p><strong>Note:</strong> This script will not update GYM Sitemaps & RSS physical files.<br/><br/>To update from all 2.0.x (phpBB3) versions you <b>must</b> upload all files in the <b>root/</b> directory of the archive to your phpBB/ ftp directory, after you will have taken care manually of the eventual code change you would have implemented in the template files (directory phpBB/styles/, .html, .js and .xsl) added by the module.<br/><br/>You <b>can</b> restart this update script when you want, for example if you did not upload the required files or simply to display the update code changes for phpBB3 files again.</p>', - 'UPDATE_SEO_INSTALL' => 'Update', - 'SEO_ERROR_NOTINSTALLED' => 'GYM Sitemaps & RSS is not installed!', - 'SEO_UPDATE_CONGRATS_EXPLAIN' => '<p>You have now successfully updated %1$s to %2$s.<p> - <p><strong>Note:</strong> This script does not update GYM Sitemaps & RSS physical files.</p><br/><b>Please</b> implement the code changes listed below.<br/><h3>Update report :</h3>', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/en/mods/acp_phpbb_seo.php b/phpBB/language/en/mods/acp_phpbb_seo.php deleted file mode 100644 index 7d723aa994..0000000000 --- a/phpBB/language/en/mods/acp_phpbb_seo.php +++ /dev/null @@ -1,277 +0,0 @@ -<?php -/** -* -* acp_phpbb_seo [English] -* -* @package Ultimate SEO URL phpBB SEO -* @version $Id: acp_phpbb_seo.php 249 2010-03-11 05:08:04Z Typo $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://www.opensource.org/licenses/rpl1.5.txt Reciprocal Public License 1.5 -* -*/ -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - // ACP Main CAT - 'ACP_CAT_PHPBB_SEO' => 'phpBB SEO', - 'ACP_MOD_REWRITE' => 'URL Rewriting settings', - // ACP phpBB seo class - 'ACP_PHPBB_SEO_CLASS' => 'phpBB SEO Class settings', - 'ACP_PHPBB_SEO_CLASS_EXPLAIN' => 'You can here set up various options of the phpBB SEO %1$s mod (%2$s).<br/>The various default settings such as the delimiters and suffixes still must be set up in <b>phpbb_seo/includes/setup_phpbb_seo.php</b>, since changing these implies an .htaccess update and most likely appropriate redirections.%3$s', - 'ACP_PHPBB_SEO_VERSION' => 'Version', - 'ACP_PHPBB_SEO_MODE' => 'Mode', - 'ACP_SEO_SUPPORT_FORUM' => 'Support Forum', - // ACP forum urls - 'ACP_FORUM_URL' => 'Forum URL Management', - 'ACP_FORUM_URL_EXPLAIN' => 'You can here see what’s in the cache file containing the forum title to inject in their URLs.<br/>Forum in green colors are cached, the one in red are not yet.<br/><br/><b style="color:red">Please Note :</b><br/><em><b>any-title-fxx/</b> will always be properly redirected with the Zero Duplicate but it won’t be the case if you edit <b>any-title/</b> to <b>something-else/</b>.<br/> In such case, <b>any-title/</b> will for now be treated as a forum that does not exist if you do not set appropriate redirections.</em>', - 'ACP_NO_FORUM_URL' => '<b>Forum URL Management disabled<b><br/>The forum URL management is only available in advanced and Mixed mode and when Forum URL caching is activated.<br/>Forum URLs already configured will stay active in advanced and Mixed mode.', - // ACP .htaccess - 'ACP_HTACCESS' => '.htaccess', - 'ACP_HTACCESS_EXPLAIN' => 'This tool will help you out building your .htacess.<br/>The version proposed bellow is based on your phpbb_seo/phpbb_seo_class.php settings.<br/>You can edit the $seo_ext and $seo_static values before you install the .htaccess to get personalized URLs.<br/>You can for example choose to use .htm instead of .html, "message" instead of "post" "mysite-team" instead of "the-team" and so on.<br/>If you edit these while they were already indexed in SE, you’ll need personalized redirections.<br/>The default settings are not bad at all, you can skip this step without worries if you prefer.<br/>It’s though the best time to do it, doing it after a while will require some personalized redirections.<br/>By default the following .htaccess shall be uploaded in the domain’s root (eg where www.example.com is linked).<br/>If phpBB is installed in a sub folder, hitting the more option below will add an option to upload it in the phpBB folder instead.', - 'SEO_HTACCESS_RBASE' => '.htaccess location', - 'SEO_HTACCESS_RBASE_EXPLAIN' => 'Put the .htaccess in the phpBB folder ?<br/>The RewriteBase setting allow to put the forum’s .htaccess in it’s folder. It’s usually more convenient to put the .htaccess in the domain’s root folder even when phpBB is installed in a sub-folder, but you may prefer to put it in the forum folder instead.', - 'SEO_HTACCESS_SLASH' => 'RegEx Right Slash', - 'SEO_HTACCESS_SLASH_EXPLAIN' => 'Depending on the specific host you are using, you might have to get rid of or add the slash ("/") at the beginning of the right part of each rewriterules. This particular slash is used by default when .htaccess are located at the root level. It’s the contrary for when phpBB would be installed in a sub-folder and you’d want to use an .htaccess in the same folder.<br/>Default settings should generally work, but if it’s not the case, try regenerating an .htaccess by hitting the "Re-generate" button.', - 'SEO_HTACCESS_WSLASH' => 'RegEx Left Slash', - 'SEO_HTACCESS_WSLASH_EXPLAIN' => 'Depending on the specific host you are using, you might have to add a slash ("/") at the beginning of the left part of each rewriterules. This particular slash ("/") is never used by default.<br/>Default settings should generally work, but if it’s not the case, try regenerating an .htaccess by hitting the "Re-generate" button.', - 'SEO_MORE_OPTION' => 'More Options', - 'SEO_MORE_OPTION_EXPLAIN' => 'If the first suggested .htaccess does not work.<br/>First make sure mod_rewrite is activated on your server.<br/>Then, make sure you uploaded it in the right folder, and that another one is not perturbing.<br/>If not enough, hit the "more option" button.', - 'SEO_HTACCESS_SAVE' => 'Save the .htaccess', - 'SEO_HTACCESS_SAVE_EXPLAIN' => 'If checked, an .htaccess files will be generated upon submit in the phpbb_seo/cache/ folder. It’s ready to go with your last settings, you will still have to move it in the right place.', - 'SEO_HTACCESS_ROOT_MSG' => 'Once you are ready, you can select the .htaccess code, and paste it in a .htaccess file or use the "Save .htaccess" option bellow.<br/> This .htaccess is meant to be used in the domain’s root folder, which in your case is where %1$s leads to in your FTP.<br/><br/>You can generate an .htaccess meant to be used in the eventual phpBB sub-directory using the "More options" option bellow.', - 'SEO_HTACCESS_FOLDER_MSG' => 'Once you are ready, you can select the .htaccess code, and paste it in a .htaccess file or use the "Save .htaccess" option bellow.<br/> This .htaccess is meant to be used in the folder where phpBB is installed, which in your case is where %1$s leads to in your FTP.', - 'SEO_HTACCESS_CAPTION' => 'Caption', - 'SEO_HTACCESS_CAPTION_COMMENT' => 'Comments', - 'SEO_HTACCESS_CAPTION_STATIC' => 'Static parts, editable in phpbb_seo_class.php', - 'SEO_HTACCESS_CAPTION_DELIM' => 'Delimiters, editable in phpbb_seo_class.php', - 'SEO_HTACCESS_CAPTION_SUFFIX' => 'Suffixes, editable in phpbb_seo_class.php', - 'SEO_HTACCESS_CAPTION_SLASH' => 'Optional slashes', - 'SEO_SLASH_DEFAULT' => 'Default', - 'SEO_SLASH_ALT' => 'Alternate', - 'SEO_MOD_TYPE_ER' => 'The mod rewrite type is not set up properly in phpbb_seo/phpbb_seo_class.php.', - 'SEO_SHOW' => 'Show', - 'SEO_HIDE' => 'Hide', - 'SEO_SELECT_ALL' => 'Select all', - // ACP extended - 'ACP_SEO_EXTENDED_EXPLAIN' => 'phpBB SEO mods extended settings.', - 'SEO_EXTERNAL_LINKS' => 'External links', - 'SEO_EXTERNAL_LINKS_EXPLAIN' => 'Open, or not, external links in a new browser window / tab', - 'SEO_EXTERNAL_SUBDOMAIN' => 'Sub-domain links', - 'SEO_EXTERNAL_SUBDOMAIN_EXPLAIN' => 'Open, or not, sub-domains (of your forum domain) links in a new browser window / tab', - 'SEO_EXTERNAL_CLASSES' => 'External by css class', - 'SEO_EXTERNAL_CLASSES_EXPLAIN' => 'here you can define some css classes that will activate the new window feature on links using it. Coma separated list of class names, example: postlink,external', - // Titles - 'SEO_PAGE_TITLES' => '<a href="http://www.phpbb-seo.com/en/phpbb-seo-toolkit/optimal-titles-t1289.html" title="Optimal Titles mod" onclick="window.open(this.href); return false;">Page titles</a>', - 'SEO_APPEND_SITENAME' => 'Append site name to page titles', - 'SEO_APPEND_SITENAME_EXPLAIN' => 'Append, or not, site name to page titles.<br/><b style="color:red;">Warning :</b><br/>This option requires that you properly edited all your overall_header.html for the Optimal titles mod, site name could be repeated in page titles otherwise', - // Meta - 'SEO_META' => '<a href="http://www.phpbb-seo.com/en/phpbb-seo-toolkit/seo-dynamic-meta-tags-t1308.html" title="Dynamic Meta tags mod" onclick="window.open(this.href); return false;">Meta tags</a>', - 'SEO_META_TITLE' => 'Meta title', - 'SEO_META_TITLE_EXPLAIN' => 'Default Meta title, used on page not defining a page title. Inactivates the meta title tag if empty', - 'SEO_META_DESC' => 'Meta description', - 'SEO_META_DESC_EXPLAIN' => 'Default Meta description, used on page not defining a meta description', - 'SEO_META_DESC_LIMIT' => 'Meta description limit', - 'SEO_META_DESC_LIMIT_EXPLAIN' => 'Limit in words for the Meta description tag', - 'SEO_META_BBCODE_FILTER' => 'Bbcodes Filter', - 'SEO_META_BBCODE_FILTER_EXPLAIN' => 'Coma separated list of BBcodes which will be fully filtered in meta tags. Others will simply be deactivated and their content may apear in meta tags.<br/> Default filtered BBcodes are : <b>img,url,flash,code</b>.<br/><b style="color:red;">Attention :</b><br/>Not filtering img, url and flash BBcode is not a good idea, as well as the code one in most cases. Generally speaking, only keep BBcode’s content for BBcodes having interesting content for metas', - 'SEO_META_KEYWORDS' => 'Meta keywords', - 'SEO_META_KEYWORDS_EXPLAIN' => 'Default Meta keywords, used on page not defining meta keywords. Simply enter a list of keywords', - 'SEO_META_KEYWORDS_LIMIT' => 'Meta keywords limit', - 'SEO_META_KEYWORDS_LIMIT_EXPLAIN' => 'Limit in words for the Meta keywords tag', - 'SEO_META_MIN_LEN' => 'Short words filter', - 'SEO_META_MIN_LEN_EXPLAIN' => 'Minimum amount of characters in a word to be included in the Meta keywords tag, only words composed of more than this limit will be taken into account', - 'SEO_META_CHECK_IGNORE' => 'Ignore words filter', - 'SEO_META_CHECK_IGNORE_EXPLAIN' => 'Apply, or not, the search_ignore_words.php exclusions in the meta keywords tag', - 'SEO_META_LANG' => 'Meta lang', - 'SEO_META_LANG_EXPLAIN' => 'Lang code used in meta tags', - 'SEO_META_COPY' => 'Meta copyright', - 'SEO_META_COPY_EXPLAIN' => 'Copyright used in meta tags. Inactivates the meta copyright tag if empty', - 'SEO_META_FILE_FILTER' => 'File filter', - 'SEO_META_FILE_FILTER_EXPLAIN' => 'Coma separated list of physical php script file name that should not be indexed (robots:noindex,follow). Example : ucp,mcp', - 'SEO_META_GET_FILTER' => '_GET filter', - 'SEO_META_GET_FILTER_EXPLAIN' => 'Coma separated list of _GET variable that should not be indexed (robots:noindex,follow). Example : style,hilit,sid', - 'SEO_META_ROBOTS' => 'Meta Robots', - 'SEO_META_ROBOTS_EXPLAIN' => 'The Meta Robots tag tells bots how to index your pages. It is set by default to "index,follow", which allow bots to index and cache your pages and to follow links in them. Inactivates the meta Robots tag if empty.<br/><b style="color:red;">Warning :</b><br/>This tag is sensible, if you were to use "noindex", none of your pages would be indexed', - 'SEO_META_NOARCHIVE' => 'Noarchive Meta Robots', - 'SEO_META_NOARCHIVE_EXPLAIN' => 'The Noarchive Meta Robots tag tells bots if they can or not cache the page. It only concern caching, it has no relation with indexing and SERPs of the page.<br/>You can here select a list of forum that will have the "noarchive" option added to theire meta robots.<br/>This feature can be handy for example when you have some forums opened to bots but closed to guests. Adding the "noarchive" option to them will prevent guest from accessing content through the search engine cache, while the forum and its topic will still appear in SERPs', - // Install - 'SEO_INSTALL_PANEL' => 'phpBB SEO Installation Panel', - 'SEO_ERROR_INSTALL' => 'An error occured during the installtion process. Uninstall once is safer before you retry.', - 'SEO_ERROR_INSTALLED' => 'The %s module is already installed.', - 'SEO_ERROR_ID' => 'The %1$ module had no ID.', - 'SEO_ERROR_UNINSTALLED' => 'The %s module is already uninstalled.', - 'SEO_ERROR_INFO' => 'Information :', - 'SEO_FINAL_INSTALL_PHPBB_SEO' => 'Login to ACP', - 'SEO_FINAL_UNINSTALL_PHPBB_SEO' => 'Return to forum index', - 'CAT_INSTALL_PHPBB_SEO' => 'Installation', - 'CAT_UNINSTALL_PHPBB_SEO' => 'Un-Installation', - 'SEO_OVERVIEW_TITLE' => 'phpBB SEO Ultimate SEO URL Overview', - 'SEO_OVERVIEW_BODY' => 'Welcome to our public release of the %1$s phpBB3 SEO mod rewrite %2$s.</p><p>Please read <a href="%3$s" title="Check the release thread" onclick="window.open(this.href); return false;"><b>the release thread</b></a> for more information</p><p><strong style="text-transform: uppercase;">Note:</strong> You must have already perfomed the required code changes and uploaded all the new files before you can proceed with this install wizard.</p><p>This installation system will guide you through the process of installing the phpBB3 SEO mod rewrite admin control panel. It will allow you to accurately chose your phpBB rewritten URL standard for the best results in search engines</p>.', - 'CAT_SEO_PREMOD' => 'phpBB SEO Premod', - 'SEO_PREMOD_TITLE' => 'phpBB SEO Premod overview', - 'SEO_PREMOD_BODY' => 'Welcome to our public release of the phpBB SEO Premod.</p><p>Please read <a href="http://www.phpbb-seo.com/en/phpbb-seo-premod/seo-url-premod-t1549.html" title="Check the release thread" onclick="window.open(this.href); return false;"><b>the release thread</b></a> for more information</p><p><strong style="text-transform: uppercase;">Note:</strong> You will be able to chose between the three phpBB3 SEO mod rewrites.<br/><br/><b>The three different URL rewriting standards available :</b><ul><li><a href="http://www.phpbb-seo.com/en/simple-seo-url/simple-phpbb-seo-url-t1566.html" title="More details about the Simple mod"><b>The Simple mod</b></a>,</li><li><a href="http://www.phpbb-seo.com/en/mixed-seo-url/mixed-phpbb-seo-url-t1565.html" title="More details about the Mixed mod"><b>The Mixed mod</b></a>,</li><li><a href="http://www.phpbb-seo.com/en/advanced-seo-url/advanced-phpbb-seo-url-t1219.html" title="More details about the Advanced mod"><b>Advanced</b></a>.</li></ul>This choice is very important, we encourage you to take the time to fully discover the SEO features of this premod before you go online.<br/>This premod is as simple to install as phpBB3, just follow the regular process.<br/><br/> - <p>Requirements for URL rewriting :</p> - <ul> - <li>Apache server (linux OS) with mod_rewrite module.</li> - <li>IIS server (windows OS) with isapi_rewrite module, but you will need to adapt the rewriterules in the httpd.ini</li> - </ul> - <p>Once installed, you will need to go to the ACP to set up and activate the mod.</p>', - 'SEO_LICENCE_TITLE' => 'RECIPROCAL PUBLIC LICENSE', - 'SEO_LICENCE_BODY' => 'The phpBB SEO mod rewrites are released under the RPL licence which states you cannot remove the phpBB SEO credits.<br/>For more details about possible exceptions, please contact a phpBB SEO administrator (primarily SeO or dcz).', - 'SEO_PREMOD_LICENCE' => 'The phpBB SEO mod rewrites and the Zero duplicate included in this Premod are released under the RPL licence which states you cannot remove the phpBB SEO credits.<br/>For more details about possible exceptions, please contact a phpBB SEO administrator (primarily SeO or dcz).', - 'SEO_SUPPORT_TITLE' => 'Support', - 'SEO_SUPPORT_BODY' => 'Full support will be given in the <a href="%1$s" title="Visit the %2$s SEO URL forum" onclick="window.open(this.href); return false;"><b>%2$s SEO URL forum</b></a>. We will provide answers to general setup questions, configuration problems, and support for determining common problems.</p><p>Be sure to visit our <a href="http://www.phpbb-seo.com/en/" title="SEO Forum" onclick="window.open(this.href); return false;"><b>Search Engine Optimization forums</b></a>.</p><p>You should <a href="http://www.phpbb-seo.com/en/ucp.php?mode=register" title="Register to phpBB SEO" onclick="window.open(this.href); return false;"><b>register</b></a>, log in and <a href="%3$s" title="Be notified about updates" onclick="window.open(this.href); return false;"><b>subscribe to the release thread</b></a> to be notified by mail upon each update.', - 'SEO_PREMOD_SUPPORT_BODY' => 'Full support will be given in the <a href="http://www.phpbb-seo.com/en/phpbb-seo-premod/seo-url-premod-t1549.html" title="Visit the phpBB SEO Premod forum" onclick="window.open(this.href); return false;"><b>phpBB SEO Premod forum</b></a>. We will provide answers to general setup questions, configuration problems, and support for determining common problems.</p><p>Be sure to visit our <a href="http://www.phpbb-seo.com/en/" title="SEO Forum" onclick="window.open(this.href); return false;"><b>Search Engine Optimization forums</b></a>.</p><p>You should <a href="http://www.phpbb-seo.com/en/ucp.php?mode=register" title="Register to phpBB SEO" onclick="window.open(this.href); return false;"><b>register</b></a>, log in and <a href="http://www.phpbb-seo.com/en/viewtopic.php?t=1549&watch=topic" title="Be notified about updates" onclick="window.open(this.href); return false;"><b>subscribe to the release thread</b></a> to be notified by mail upon each update.', - 'SEO_INSTALL_INTRO' => 'Welcome to the phpBB SEO Installation Wizard', - 'SEO_INSTALL_INTRO_BODY' => '<p>You are about to install the %1$s phpBB SEO mod rewrite %2$s. This install tool will activate the phpBB SEO mod rewrite control panel in phpBB ACP.</p><p>Once installed, you will need to go to the ACP to set up and activate the mod.</p> - <p><strong>Note:</strong> If it’s the first time you try this mod, we strongly encourage you to take the time to test the various url standard this mod can output on a local or private test serveur. This way, you won’t show different URL to bots every other day while testing. And you won’t discover a month after that you would have prefered different URLs. Patience is virtue SEO wise and even if the zero duplicate makes the HTTP redirecting very easy, you don’t want to redirect all your forum’s URL too often.</p><br/> - <p>Requirements :</p> - <ul> - <li>Apache server (linux OS) with mod_rewrite module.</li> - <li>IIS server (windows OS) with isapi_rewrite module, but you will need to adapt the rewriterules in the httpd.ini</li> - </ul>', - 'SEO_INSTALL' => 'Install', - 'UN_SEO_INSTALL_INTRO' => 'Welcome to the phpBB SEO uninstall Wizard', - 'UN_SEO_INSTALL_INTRO_BODY' => '<p>You are about to uninstall the %1$s phpBB SEO mod rewrite %2$s ACP module.</p> - <p><strong>Note:</strong> This will not deactivate URL rewriting on your board as long as the phpBB files are still modded.</p>', - 'UN_SEO_INSTALL' => 'Uninstall', - 'SEO_INSTALL_CONGRATS' => 'Congratulations!', - 'SEO_INSTALL_CONGRATS_EXPLAIN' => '<p>You have now successfully installed the %1$s phpBB3 SEO mod rewrite %2$s. You should now go to phpBB ACP and proceed with the mod rewrite settings.<p> - <p>In the new phpBB SEO category, you will be able to :</p> - <h2>Set up and activate URL rewriting</h2> - <p>Take your time, that’s where you will chose how your URLs will look like. The zero duplicate options will as well be set up from here when installed.</p> - <h2>Accurately chose your forum’s URL</h2> - <p>Using the Mixed or the Advanced mod, you will be able to dissociate Forum URLs from their titles and elect to use whatever keyword you may like in them</p> - <h2>Generate a personalized .htaccess</h2> - <p>Once you will have set up the above options, you will be able to generate a personalized .htaccess within no time and save it directly on the server.</p>', - 'UN_SEO_INSTALL_CONGRATS' => 'The phpBB SEO ACP module was removed.', - 'UN_SEO_INSTALL_CONGRATS_EXPLAIN' => '<p>You have now successfully uninstalled the %1$s phpBB3 SEO mod rewrite %2$s.<p> - <p>This will not deactivate URL rewriting on your board as long as the phpBB files are still modded.</p>', - 'SEO_VALIDATE_INFO' => 'Validation Info :', - 'SEO_SQL_ERROR' => 'SQL error', - 'SEO_SQL_TRY_MANUALLY' => 'The db user does not seems to have enough rights to run the required SQL query, please run it manually (phpMyadmin) :', - // Security - 'SEO_LOGIN' => 'The board requires you to be registered and logged in to view this page.', - 'SEO_LOGIN_ADMIN' => 'The board requires you to be logged in as admin to view this page.<br/>Your session has been destroyed for security purposes.', - 'SEO_LOGIN_FOUNDER' => 'The board requires you to be logged in as the founder to view this page.', - 'SEO_LOGIN_SESSION' => 'Session Check failed.<br/>The Settings were not altered.<br/>Your session has been destroyed for security purposes.', - // Cache status - 'SEO_CACHE_FILE_TITLE' => 'Cache file status', - 'SEO_CACHE_STATUS' => 'The cache directory configured is : <b>%s</b>', - 'SEO_CACHE_FOUND' => 'The cache directory was successfully found.', - 'SEO_CACHE_NOT_FOUND' => 'The cache directory was not found.', - 'SEO_CACHE_WRITABLE' => 'The cache directory is writable.', - 'SEO_CACHE_UNWRITABLE' => 'The cache directory is not writable. You need to CHMOD it to 0777.', - 'SEO_CACHE_INNER_UNWRITABLE' => 'Some files within the cache directory may not be writable, make sure you properly CHMOD the cache directory AND all files in it.', - 'SEO_CACHE_FORUM_NAME' => 'Forum name', - 'SEO_CACHE_URL_OK' => 'URL Cached', - 'SEO_CACHE_URL_NOT_OK' => 'This Forum URL is not cached', - 'SEO_CACHE_URL' => 'Final URL', - 'SEO_CACHE_MSG_OK' => 'The cache file was updated successfully.', - 'SEO_CACHE_MSG_FAIL' => 'An error occurred while updating the cache file.', - 'SEO_CACHE_UPDATE_FAIL' => 'The URL you entered cannot be used, the cache was left untouched.', - // Seo advices - 'SEO_ADVICE_DUPE' => 'A duplicate entry in title was detected for a forum URL : <b>%1$s</b>.<br/>It will stay unchanged until you update it.', - 'SEO_ADVICE_RESERVED' => 'A reserved (used by other urls, such as members profiles and such) entry in title was detected for a forum URL : <b>%1$s</b>.<br/>It will stay unchanged until you update it.', - 'SEO_ADVICE_LENGTH' => 'The URL cached is a bit too long.<br/>Consider using a smaller one', - 'SEO_ADVICE_DELIM' => 'The URL cached contains the SEO delimiter and ID.<br/>Consider setting up an original one.', - 'SEO_ADVICE_WORDS' => 'The URL cached contains a bit too many words.<br/>Consider setting up an better one.', - 'SEO_ADVICE_DEFAULT' => 'The ending URL, after formatting, is the default.<br/>Consider setting up an original one.', - 'SEO_ADVICE_START' => 'Forum URLs cannot end with a pagination parameter.<br/>They were thus removed from the one submitted.', - 'SEO_ADVICE_DELIM_REM' => 'Submitted forum URLs cannot end with a forum delimiter.<br/>They were thus removed from one submitted.', - // Mod Rewrite type - 'ACP_SEO_SIMPLE' => 'Simple', - 'ACP_SEO_MIXED' => 'Mixed', - 'ACP_SEO_ADVANCED' => 'Advanced', - 'ACP_ULTIMATE_SEO_URL' => 'Ultimate SEO URL', - // URL Sync - 'SYNC_REQ_SQL_REW' => 'You must activate SQL Rewriting to use this script !', - 'SYNC_TITLE' => 'URL Synchronization', - 'SYNC_WARN' => 'Attention, do not stop the script until it ends, and back up your db before you use it!', - 'SYNC_COMPLETE' => 'Synchronization completed !', - 'SYNC_RESET_COMPLETE' => 'Reset completed !', - 'SYNC_PROCESSING' => '<b>Processing, please wait ...</b><br/><br/><b>%1$s%%</b> have been processed. <br/>So far, <b>%2$s</b> items have been processed.<br/><b>%3$s</b> items in total, <b>%4$s</b> are processed at a time.<br/>Speed : <b>%5$s item/s.</b><br/>Time spent for this cycle : <b>%6$ss</b><br/>Estimated time left : <b>%7$s minute(s)</b>', - 'SYNC_ITEM_UPDATED' => '<b>%1$s</b> items have been updated', - 'SYNC_TOPIC_URLS' => 'Start topic URLs synchronization', - 'SYNC_RESET_TOPIC_URLS' => 'Reset all topic URLs', - 'SYNC_TOPIC_URL_NOTE' => 'You just activated the SQL Rewriting option, you should now synchronize all your topics URLs by going to %sthis page%s if you did not already.<br/>This will not change any of your current URLs<br/><b style="color:red">Please note :</b><br/><em>You should only synchronize your topics URLs once you have fully set up your url standard. It’s not a drama if you change your url standard after your synchronized topic URLs, but you should do it again each time you do.<br/>It’s not a drama either if you don’t, your topic URLs would in such case be updated upon each topic visit in case the topic URL would be empty or not matching your current standard.</em>', - // phpBB SEO Class option - 'url_rewrite' => 'Activate URL rewriting', - 'url_rewrite_explain' => 'Once you will have set up the below options, and generated your personalized .htaccess, you can activate URL rewriting and check if your rewritten URLs do work properly. If you get 404 errors, it’s most likely an .htaccess issue, try some of the .htaccess tool option to generate a new one.', - 'modrtype' => 'URL rewriting type', - 'modrtype_explain' => 'You have here the choice between three phpBB SEO mod rewrite types.<br/>The <a href="http://www.phpbb-seo.com/en/simple-seo-url/simple-phpbb-seo-url-t1566.html" title="More details about the Simple mod" onclick="window.open(this.href); return false;"><b>Simple</b></a> one,the <a href="http://www.phpbb-seo.com/en/mixed-seo-url/mixed-phpbb-seo-url-t1565.html" title="More details about the Mixed mod" onclick="window.open(this.href); return false;"><b>Mixed</b></a> one and the <a href="http://www.phpbb-seo.com/en/advanced-seo-url/advanced-phpbb-seo-url-t1219.html" title="More details about the Advanced mod" onclick="window.open(this.href); return false;"><b>Advanced</b></a> one.<br/><br/><b style="color:red">Please Note :</b><br/><em>Modifying this option will change all your URLs in your web site.<br/>Doing it with an already indexed web site should thus be considered with as much care as when migrating and not to often.<br/>So you’d better be decided to go for it or not.<br/>Changing this option requires and .htaccess update.</em>', - 'sql_rewrite' => 'Activate SQL Rewriting', - 'sql_rewrite_explain' => 'This option will allow you to choose url for each topic. You will be able to accurately set topic url when posting new topic or when editing an existing one. This functionality is though limited to forum admins and moderators.<br/><br/><b style="color:red">Please Note :</b><br/><em>Turning on this option will not change topic urls. Existing urls will be stored as they are displayed in the data base. But it may not be the case if you turn it off after you started to use it. In such case, personalized URLs may be treated as if they weren’t.<br/>The feature also has the great advantage to fasten the url rewriting by a lot, especially when using the virtual folder option in advanced mode, and to make it a lot easier to retrieve rewritten urls from any page.</em>', - 'profile_inj' => 'Profiles and groups injection', - 'profile_inj_explain' => 'You can here chose to inject nicknames, group names and user messages page (optional see below) in their URLs instead of the default static rewriting, <b>phpBB/nickname-uxx.html</b> instead of <b>phpBB/memberxx.html</b>.', - 'profile_vfolder' => 'Virtual folder Profiles', - 'profile_vfolder_explain' => 'You can here chose to simulate a folder structure for profiles and user messages page (optional see below) URLs, <b>phpBB/nickname-uxx/(topics/)</b> or <b>phpBB/memberxx/(topics/)</b> instead of <b>phpBB/nickname-uxx(-topics).html</b> and <b>phpBB/memberxx(-topics).html</b>.<br/><br/><b style="color:red">Please Note</b><br/><em>Profile ID removing will override this setting.<br/>Changing this option requires and .htaccess update</em>', - 'profile_noids' => 'Profiles ID removing', - 'profile_noids_explain' => 'When Profiles and groups injection is activated, you can here chose to use <b>example.com/phpBB/member/nickname</b> instead of the default <b>example.com/phpBB/nickname-uxx.html</b>. phpBB Uses an extra, but light, SQL query on such pages without user id.<br/><br/><b style="color:red">Please Note</b><br/><em>Special characters won’t be hadled the same by all browser. FF always urlencodes (<a href="http://www.php.net/urlencode">urlencode()</a>), and as it seems using Latin1 first, when IE and Opera do not. For advanced urlencoding options, please read the install file.<br/>Changing this option requires and .htaccess update</em>', - 'rewrite_usermsg' => 'Common Search and User messages pages rewriting', - 'rewrite_usermsg_explain' => 'This option mostly makes sens if you allow public access to both profiles and search pages.<br/> Using this option most likely implies a greater use of the search functions and thus a heavier server load.<br/> The URL rewriting type (with and without ID) follows the one set for profiles and groups.<br/><b>phpBB/messages/nickname/topics/</b> VS <b>phpBB/nickname-uxx-topics.html</b> VS <b>phpBB/memberxx-topics.html</b>.<br/>Additionally this options will activate the common search page rewriting, such as active topics, unanswered and newposts pages.<br/><br/><b style="color:red">Please Note :</b><br/><em>ID removing on these links will imply the same limitation as per the user profiles.<br/>Changing this option requires and .htaccess update</em>', - 'rewrite_files' => 'Attachment Rewriting', - 'rewrite_files_explain' => 'Activate phpBB Attachment Rewriting. Can be of a great help if you have many attached images worth being indexed. Files of course must be downloadable by bots for this to have a meaning SEOwise.<br/><br/><b style="color:red">Please Note :</b><br/><em>Make sure you have the required RewriteRule (# PHPBB FILES ALL MODES) in your .htaccess when you activate this option</em>', - 'rem_sid' => 'SID Removing', - 'rem_sid_explain' => 'SID will be removed from 100% of the URLs passing through the phpbb_seo class, for guests thus bots.<br/>This ensure bots won’t see any SID on forum, topic and post URLs, but visitors that do not accept cookies will most likely create more than one session.<br/>The Zero duplicate http 301 redirect url with SID for guest and bots by default.', - 'rem_hilit' => 'Highlights Removing', - 'rem_hilit_explain' => 'Highlights will be removed from 100% of the URLs passing through the phpbb_seo class, for guests thus bots.<br/>This ensure bots won’t see any Highlights on forum, topic and post URLs.<br/>The Zero duplicate will automatically follow this setting, eg http 301 redirect url with highlights for guest and bots.', - 'rem_small_words' => 'Remove small words', - 'rem_small_words_explain' => 'Allow to remove all words of less than three letters in rewritten URLs.<br/><br/><b style="color:red">Please Note</b><br/><em>The filtering will change potentially a lot of URLs in your web site.<br/>Even though the zero duplicate mod would take care of all the required redirecting when changing this option, starting to use it with an already indexed web site should thus be considered with as much care as when migrating and not too often.<br/>So you’d better be decided to go for it or not.</em>', - 'virtual_folder' => 'Virtual Folder', - 'virtual_folder_explain' => 'Allow to add the forum URL as a virtual folder in topic URLs.<br/><br/><b>Example :</b><br/><em><b>forum-title-fxx/topic-title-txx.html</b> VS <b>topic-title-txx.html</b> for a topic URL.</em><br/><br/><b style="color:red">Please Note</b><br/><em>The Virtual folder injection option can change all your web site’s URLs almost too easily.<br/>Starting to use it with an already indexed web site should thus be considered with as much care as when migrating and not too often.<br/>So you’d better be decided to go for it or not.<br/>Changing this option requires and .htaccess update.</em>', - 'virtual_root' => 'Virtual Root', - 'virtual_root_explain' => 'If phpBB is installed in a sub folder (example phpBB3/), you can simulate a root install for rewritten links.<br/><br/><b>Example :</b><br/><em><b>phpBB3/forum-title-fxx/topic-title-txx.html</b> VS <b>forum-title-fxx/topic-title-txx.html</b> for a topic URL.</em><br/><br/>This can be handy to shorten URLs a bit, especially if you are using the "Virtual Folder" feature. UnRewritten links will continue to appear and work in the phpBB folder.<br/><br/><b style="color:red">Please Note :</b><br/><em>Using this option requires to use a home page for the forum index (like forum.html).<br/> This option can change all your web site’s URLs almost too easily.<br/>Starting to use it with an already indexed web site should thus be considered with as much care as when migrating and not too often.<br/>So you’d better be decided to go for it or not.<br/>Changing this option requires and .htaccess update.</em>', - 'cache_layer' => 'Forum URL caching', - 'cache_layer_explain' => 'Turns on the cache for forum URLs and allow to separate forum titles from their URL<br/><br/><b>Example :</b><br/><em><b>forum-title-fxx/</b> VS <b>any-title-fxx/</b> for a forum URL.</em><br/><br/><b style="color:red">Please Note</b><br/><em>This option will allow you to change your forum URL, thus potentially many topic URLS if you are using the Virtual Folder option.<br/>The topic URLs will always be redirected properly with the Zero Duplicate.<br/>It will as well be the case for forum URL as long as you keep the delimiter and IDs, see below.</em>', - 'rem_ids' => 'Forum ID Removing', - 'rem_ids_explain' => 'Get rid of the IDs and delimiters in forum URLs. Only apply if Forum URL caching is activated.<br/><br/><b>Example :</b><br/><em><b>any-title-fxx/</b> VS <b>any-title/</b> for a forum URL.</em><br/><br/><b style="color:red">Please Note :</b><br/><em>This option will allow you to change your forum URL, thus potentially many topic URLS if you are using the Virtual Folder option.<br/>The topic URLs will always be redirected properly with the Zero Duplicate.<br/><b>It will not always be the case with the forum URLs :</b><br/><b>any-title-fxx/</b> will always be properly redirected with the Zero Duplicate but it won’t be the case if you edit <b>any-title/</b> to <b>something-else/</b>.<br/> In such case, <b>any-title/</b> will for now be treated as a forum that does not exist.<br/>So you’d better be decided to go for it or not, but it can really be powerful SEO wise.</em>', - // copyrights - 'copyrights' => 'Copyrights', - 'copyrights_img' => 'Link image', - 'copyrights_img_explain' => 'You can here chose to display the phpBB SEO copyright link as an image or as a text links.', - 'copyrights_txt' => 'Link text', - 'copyrights_txt_explain' => 'You can here chose the text to be used as the phpBB SEO copyright link text anchor. Leave empty for defaults.', - 'copyrights_title' => 'Link title', - 'copyrights_title_explain' => 'You can here chose the text to be used as the phpBB SEO copyright link title. Leave empty for defaults.', - // Zero duplicate - // Options - 'ACP_ZERO_DUPE_OFF' => 'Off', - 'ACP_ZERO_DUPE_MSG' => 'Post', - 'ACP_ZERO_DUPE_GUEST' => 'Guest', - 'ACP_ZERO_DUPE_ALL' => 'All', - 'zero_dupe' =>'Zero duplicate', - 'zero_dupe_explain' => 'The following settings concerns the Zero duplicate, you can modify them upon your needs.<br/>These do not imply any .htacess update.', - 'zero_dupe_on' => 'Activate the Zero duplicate', - 'zero_dupe_on_explain' => 'Allow to activate and deactivate the Zero duplicate redirections.', - 'zero_dupe_strict' => 'Strict Mode', - 'zero_dupe_strict_explain' => 'When activated, the zero dupe will check if the requested URL exactly matches the one attended.<br/>When set to no, the zero dupe will make sure the attended url is the fist part of the one requested.<br/>The interest is to make it easier to deal with mods that could interfere with the zero dupe by adding GET vars.', - 'zero_dupe_post_redir' => 'Posts Redirections', - 'zero_dupe_post_redir_explain' => 'This option will determine how to handle post urls; it can take four values :<br/><b> off</b>, do not redirect post url, whatever the case,<br/><b> post</b>, only make sure postxx.html is used for a post url,<br/><b> guest</b>, redirect guests if required to the corresponding topic url rather than to the postxx.html, and only make sure postxx.html is used for logged users,<br/><b> all</b>, redirect if required to the corresponding topic url.<br/><br/><b style="color:red">Please Note</b><br/><em>Keeping the <b>postxx.html</b> URLs is harmless SEO wise as long as you keep the disallow on post urls in your robots.txt.<br/>Redirecting them all will most likely produce the most redirections among all.<br/>If you redirect postxx.html in all cases, this as well mean that a message that would be posted in a thread and then moved in another one will see it’s url changing, which thanks to the zero duplicate mod is of no harm SEO wise, but the previous link to the post won’t link to it anymore in such case.</em>.', - // no duplicate - 'no_dupe' => 'No duplicate', - 'no_dupe_on' => 'Activate The No duplicate', - 'no_dupe_on_explain' => 'The No duplicate mod replaces posts URLs with the corresponding Topic URL (with pagination).<br/>It does not add any SQL, just a LEFT JOIN on a query already being performed, this could still mean a bit more work but should not be a problem for server load.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/en/mods/info_acp_gym_sitemaps.php b/phpBB/language/en/mods/info_acp_gym_sitemaps.php deleted file mode 100644 index 446753175d..0000000000 --- a/phpBB/language/en/mods/info_acp_gym_sitemaps.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/** -* -* info_acp_gym_sitemaps [English] -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: info_acp_gym_sitemaps.php 131 2009-10-25 12:03:44Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ACP_GYM_SITEMAPS' => 'GYM Sitemaps & RSS', - 'ACP_GYM_MAIN' => 'Main configuration', - 'ACP_GYM_GOOGLE_MAIN' => 'Google Sitemaps', - 'ACP_GYM_RSS_MAIN' => 'RSS Feeds', - 'ACP_GYM_YAHOO_MAIN' => 'Yahoo! url list', - 'ACP_GYM_HTML_MAIN' => 'HTML sitemaps', - 'GYM_LOG_CONFIG_MAIN' => '<strong>Altered GYM sitemaps & RSS settings</strong><br/>» Main settings', - 'GYM_LOG_CONFIG_GOOGLE' => '<strong>Altered GYM sitemaps & RSS settings</strong><br/>» Google sitemaps', - 'GYM_LOG_CONFIG_RSS' => '<strong>Altered GYM sitemaps & RSS settings</strong><br/>» RSS Feeds', - 'GYM_LOG_CONFIG_HTML' => '<strong>Altered GYM sitemaps & RSS settings</strong><br/>» HTML sitemaps', - 'GYM_LOG_CONFIG_YAHOO' => '<strong>Altered GYM sitemaps & RSS settings</strong><br/>» Yahoo! URL lists', - // Install Logs - 'SEO_LOG_INSTALL_GYM_SITEMAPS' => '<strong>GYM Sitemaps & RSS V%s Installed</strong>', - 'SEO_LOG_INSTALL_GYM_SITEMAPS_FAIL' => '<strong>GYM Sitemaps & RSS install attempt failed</strong><br/>%s', - 'SEO_LOG_UNINSTALL_GYM_SITEMAPS' => '<strong>GYM Sitemaps & RSS V%s Un-installed</strong>', - 'SEO_LOG_UNINSTALL_GYM_SITEMAPS_FAIL' => '<strong>GYM Sitemaps & RSS Un-install attempt failed</strong><br/>%s', - 'SEO_LOG_UPDATE_GYM_SITEMAPS' => '<strong>Updated GYM Sitemaps & RSS to V%s</strong>', - 'SEO_LOG_UPDATE_GYM_SITEMAPS_FAIL' => '<strong>GYM Sitemaps & RSS Update attempt failed</strong><br/>%s', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/en/mods/info_acp_phpbb_seo.php b/phpBB/language/en/mods/info_acp_phpbb_seo.php deleted file mode 100644 index de37e587f4..0000000000 --- a/phpBB/language/en/mods/info_acp_phpbb_seo.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -/** -* -* info_acp_phpbb_seo [English] -* -* @package Ultimate SEO URL phpBB SEO -* @version $Id: info_acp_phpbb_seo.php 131 2009-10-25 12:03:44Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://www.opensource.org/licenses/rpl1.5.txt Reciprocal Public License 1.5 -* -*/ -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ACP_CAT_PHPBB_SEO' => 'phpBB SEO', - 'ACP_MOD_REWRITE' => 'URL Rewriting settings', - 'ACP_PHPBB_SEO_CLASS' => 'phpBB SEO Class settings', - 'ACP_FORUM_URL' => 'Forum URL Management', - 'ACP_HTACCESS' => '.htaccess', - 'ACP_SEO_EXTENDED' => 'Extended config', - 'ACP_PREMOD_UPDATE' => '<h1>Release announcement</h1> - <p>This update does only concern the premod, not the phpBB core.</p> - <p>A new version of the phpBB SEO premod is thus available : %1$s<br/>Make sure you visit<a href="%2$s" title="The release thread"><b>the release thread</b></a> and update your installation.</p>', - 'SEO_LOG_INSTALL_PHPBB_SEO' => '<strong>phpBB SEO mod rewrite installed (v%s)</strong>', - 'SEO_LOG_INSTALL_PHPBB_SEO_FAIL' => '<strong>phpBB SEO mod rewrite install attempt failed</strong><br/>%s', - 'SEO_LOG_UNINSTALL_PHPBB_SEO' => '<strong>phpBB SEO mod rewrite uninstalled (v%s)</strong>', - 'SEO_LOG_UNINSTALL_PHPBB_SEO_FAIL' => '<strong>phpBB SEO mod rewrite uninstall attempts failed</strong><br/>%s', - 'SEO_LOG_CONFIG_SETTINGS' => '<strong>Altered phpBB SEO Class settings</strong>', - 'SEO_LOG_CONFIG_FORUM_URL' => '<strong>Altered Forum URLs</strong>', - 'SEO_LOG_CONFIG_HTACCESS' => '<strong>Generated new .htaccess</strong>', - 'SEO_LOG_CONFIG_EXTENDED' => '<strong>Altered phpBB SEO extended config</strong>', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/en/mods/phpbb_seo_related_install.php b/phpBB/language/en/mods/phpbb_seo_related_install.php deleted file mode 100644 index 90bd46b436..0000000000 --- a/phpBB/language/en/mods/phpbb_seo_related_install.php +++ /dev/null @@ -1,64 +0,0 @@ -<?php -/** -* -* acp_phpbb_seo [english] -* -* @package Ultimate SEO URL phpBB SEO -* @version $Id: phpbb_seo_related_install.php 202 2009-12-20 12:04:05Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/licenses/gpl-license.php GNU Public License v2 -* -*/ -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - // ACP - 'SEO_RELATED' => 'Related topics activation', - 'SEO_RELATED_EXPLAIN' => 'Display or not a related topic list in topic pages.<br/><b style="color:red;">Note :</b><br/>With mySQL >=4.1 and the topic table using MyISAM, related topics will be obtained using a FullText index on the topic title and will be sorted by relevancy. in other cases, an SQL LIKE will be used, and results will be sorted by publication time', - 'SEO_RELATED_CHECK_IGNORE' => 'Ignore words filter', - 'SEO_RELATED_CHECK_IGNORE_EXPLAIN' => 'Apply, or not, the search_ignore_words.php exclusions while searching for related topics', - 'SEO_RELATED_LIMIT' => 'Related topics limit', - 'SEO_RELATED_LIMIT_EXPLAIN' => 'Maximum amount of related topics to display', - 'SEO_RELATED_ALLFORUMS' => 'Search in all forums', - 'SEO_RELATED_ALLFORUMS_EXPLAIN' => 'Search in all forums instead of searching in the current one.<br/><b style="color:red;">Note :</b><br/>Searching in all forums is a bit slower and does not necessarily bring better results', - // Install - 'INSTALLED' => 'phpBB SEO Related Topics mod installed', - 'ALREADY_INSTALLED' => 'phpBB SEO Related Topics mod is already installed', - 'FULLTEXT_INSTALLED' => 'MySQL FullText Index installed', - 'FULLTEXT_NOT_INSTALLED' => 'MySQL FullText Index is not available on this server, SQL LIKE will be used instead', - 'INSTALLATION' => 'phpBB SEO Related Topics mod installation', - 'INSTALLATION_START' => '⇒ <a href="%1$s" ><b>Proceed with installing the mod</b></a><br/><br/>⇒ <a href="%2$s" ><b>Retry to set the FullText Index</b></a> (MySQL >= 4.1 using Myisam for topic table only)<br/><br/>⇒ <a href="%3$s" ><b>Proceed with un-installing the mod</b></a>', - // un-install - 'UNINSTALLED' => 'phpBB SEO Related Topics mod un-installed', - 'ALREADY_UNINSTALLED' => 'phpBB SEO Related Topics mod is already un-installed', - 'UNINSTALLATION' => 'phpBB SEO Related Topics mod un-installation', - // SQL message - 'SQL_REQUIRED' => 'The configured db user does not have enough privileges to alter tables, you need to run this query manually in order to add or drop the MySQL FullText index :<br/>%1$s', - // Security - 'SEO_LOGIN' => 'The board requires you to be registered and logged in to view this page.', - 'SEO_LOGIN_ADMIN' => 'The board requires you to be logged in as admin to view this page.<br/>Your session has been destroyed for security purposes.', - 'SEO_LOGIN_FOUNDER' => 'The board requires you to be logged in as the founder to view this page.', - 'SEO_LOGIN_SESSION' => 'Session Check failed.<br/>The Settings were not altered.<br/>Your session has been destroyed for security purposes.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/en/search_ignore_words.php b/phpBB/language/en/search_ignore_words.php index fb62d50494..2dfdc0df13 100644 --- a/phpBB/language/en/search_ignore_words.php +++ b/phpBB/language/en/search_ignore_words.php @@ -16,6 +16,7 @@ if (!defined('IN_PHPBB')) } $words = array( + 'a', 'about', 'after', 'ago', @@ -24,6 +25,8 @@ $words = array( 'along', 'alot', 'also', + 'am', + 'an', 'and', 'answer', 'any', @@ -33,9 +36,12 @@ $words = array( 'are', 'arent', 'around', + 'as', 'ask', 'askd', + 'at', 'bad', + 'be', 'because', 'been', 'before', @@ -46,6 +52,7 @@ $words = array( 'big', 'btw', 'but', + 'by', 'can', 'cant', 'come', @@ -56,6 +63,7 @@ $words = array( 'days', 'did', 'didnt', + 'do', 'does', 'doesnt', 'dont', @@ -76,6 +84,7 @@ $words = array( 'found', 'from', 'get', + 'go', 'going', 'gone', 'good', @@ -95,10 +104,15 @@ $words = array( 'how', 'hows', 'href', + 'I', 'Ive', + 'if', + 'in', 'ini', 'into', + 'is', 'isnt', + 'it', 'its', 'its', 'just', @@ -115,26 +129,32 @@ $words = array( 'lot', 'maybe', 'many', + 'me', 'more', 'most', 'much', 'must', 'mustnt', + 'my', 'near', 'need', 'never', 'new', 'news', + 'no', 'none', 'not', 'nothing', 'now', + 'of', 'off', 'often', 'old', + 'on', 'once', 'only', 'oops', + 'or', 'other', 'our', 'ours', @@ -160,6 +180,7 @@ $words = array( 'should', 'sites', 'small', + 'so', 'some', 'something', 'sometime', @@ -192,10 +213,12 @@ $words = array( 'thus', 'time', 'times', + 'to', 'too', 'under', 'until', 'untrue', + 'up', 'upon', 'use', 'users', @@ -205,6 +228,7 @@ $words = array( 'want', 'was', 'way', + 'we', 'well', 'went', 'were', @@ -237,12 +261,12 @@ $words = array( 'your', 'youre', 'yours', - 'afaik', - 'iirc', - 'lol', - 'rotf', - 'rotflmao', - 'ymmv', + 'AFAIK', + 'IIRC', + 'LOL', + 'ROTF', + 'ROTFLMAO', + 'YMMV', ); ?>
\ No newline at end of file diff --git a/phpBB/language/fr/COPYING b/phpBB/language/fr/COPYING deleted file mode 100644 index ce992b2ce7..0000000000 --- a/phpBB/language/fr/COPYING +++ /dev/null @@ -1,281 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 675 Mass Ave, Cambridge, MA 02139, USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - diff --git a/phpBB/language/fr/acp/attachments.php b/phpBB/language/fr/acp/attachments.php deleted file mode 100644 index d27ed1e8a1..0000000000 --- a/phpBB/language/fr/acp/attachments.php +++ /dev/null @@ -1,175 +0,0 @@ -<?php -/** -* -* acp_attachments [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: attachments.php, v1.25 2010/02/09 19:04:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ACP_ATTACHMENT_SETTINGS_EXPLAIN' => 'Vous pouvez configurer les paramètres principaux pour les fichiers joints et les catégories spéciales associées.', - 'ACP_EXTENSION_GROUPS_EXPLAIN' => 'Vous pouvez ajouter, supprimer, modifier ou désactiver vos groupes d’extensions. D’autres options incluent l’attribution d’une catégorie spéciale, la modification du mécanisme de téléchargement et la définition d’une icône de chargement qui sera affichée devant le fichier joint qui appartient au groupe.', - 'ACP_MANAGE_EXTENSIONS_EXPLAIN' => 'Vous pouvez gérer les extensions autorisées. Pour activer vos extensions, référez-vous au panneau de gestion des groupes d’extensions. Nous recommandons vivement de ne pas autoriser les extensions de scripts tel que <code>php</code>, <code>php3</code>, <code>php4</code>, <code>phtml</code>, <code>pl</code>, <code>cgi</code>, <code>py</code>, <code>rb</code>, <code>asp</code>, <code>aspx</code>, etc.', - 'ACP_ORPHAN_ATTACHMENTS_EXPLAIN' => 'Vous pouvez voir les fichiers orphelins. Cela se produit la plupart du temps quand les utilisateurs insèrent des fichiers mais n’envoient pas le message. Vous pouvez supprimer les fichiers ou les insérer à des messages existants. L’insertion aux messages requiert une ID de message valide, vous avez à déterminer cette ID de vous-même. Cela assignera le fichier joint déjà chargé au message portant l’ID que vous entrez.', - 'ADD_EXTENSION' => 'Ajouter une extension', - 'ADD_EXTENSION_GROUP' => 'Ajouter un groupe d’extensions', - 'ADMIN_UPLOAD_ERROR' => 'Erreur lors de l’envoi du fichier: “%s”.', - 'ALLOWED_FORUMS' => 'Forums autorisés', - 'ALLOWED_FORUMS_EXPLAIN' => 'Autorise à utiliser le groupe d’extensions sur les forums sélectionnés. (ou tous si sélectionné)', - 'ALLOWED_IN_PM_POST' => 'Autorisé', - 'ALLOW_ATTACHMENTS' => 'Autoriser les fichiers joints', - 'ALLOW_ALL_FORUMS' => 'Autoriser dans tous les forums', - 'ALLOW_IN_PM' => 'Autoriser dans la messagerie privée', - 'ALLOW_PM_ATTACHMENTS' => 'Autoriser les fichiers joints dans les messages privés', - 'ALLOW_SELECTED_FORUMS' => 'Seulement dans les forums sélectionnés ci-dessous', - 'ASSIGNED_EXTENSIONS' => 'Extensions assignées', - 'ASSIGNED_GROUP' => 'Groupe d’extensions assigné', - 'ATTACH_EXTENSIONS_URL' => 'Extensions', - 'ATTACH_EXT_GROUPS_URL' => 'Groupes d’extensions', - 'ATTACH_ID' => 'ID', - 'ATTACH_MAX_FILESIZE' => 'Taille maximale du fichier', - 'ATTACH_MAX_FILESIZE_EXPLAIN' => 'Taille maximale de chaque fichier, mettre “0” pour illimité.', - 'ATTACH_MAX_PM_FILESIZE' => 'Taille maximale des fichiers dans la messagerie privée', - 'ATTACH_MAX_PM_FILESIZE_EXPLAIN' => 'Taille maximale de chaque fichier joint à un message privé, mettre “0” pour illimité.', - 'ATTACH_ORPHAN_URL' => 'Fichiers orphelins', - 'ATTACH_POST_ID' => 'ID du message', - 'ATTACH_QUOTA' => 'Quota total de fichiers joints', - 'ATTACH_QUOTA_EXPLAIN' => 'Espace disque maximum disponible pour les fichiers joints de tout le forum, mettre “0” pour illimité.', - 'ATTACH_TO_POST' => 'Joindre le fichier au message', - - 'CAT_FLASH_FILES' => 'Fichiers Flash', - 'CAT_IMAGES' => 'Images', - 'CAT_QUICKTIME_FILES' => 'Fichiers Quicktime', - 'CAT_RM_FILES' => 'Fichiers RealMedia', - 'CAT_WM_FILES' => 'Fichier Windows Media', - 'CHECK_CONTENT' => 'Vérifier les fichiers joints', - 'CHECK_CONTENT_EXPLAIN' => 'Certains navigateurs peuvent se tromper en attribuant un type MIME incorrect aux fichiers chargés. Cette option permet de rejeter les fichiers qui risquent d’entraîner ce problème.', - 'CREATE_GROUP' => 'Créer un nouveau groupe', - 'CREATE_THUMBNAIL' => 'Créer une miniature', - 'CREATE_THUMBNAIL_EXPLAIN' => 'Créer une miniature dans tous les cas possibles.', - - 'DEFINE_ALLOWED_IPS' => 'Définir les IPs/noms d’hôtes autorisés', - 'DEFINE_DISALLOWED_IPS' => 'Définir les IPs/noms d’hôtes interdits', - 'DOWNLOAD_ADD_IPS_EXPLAIN' => 'Pour indiquer plusieurs adresses IPs ou noms d’hôtes différents, entrez chacun d’eux sur une nouvelle ligne. Pour indiquer une plage d’adresses IPs, séparez le début et la fin par un tiret, et utilisez * comme caractère joker.', - 'DOWNLOAD_REMOVE_IPS_EXPLAIN' => 'Vous pouvez supprimer (ou ne plus exclure) plusieurs adresses IPs d’un coup en utilisant la combinaison de touches appropriée avec votre clavier et votre souris. Les adresses IPs exclues ont un fond bleu.', - 'DISPLAY_INLINED' => 'Afficher les images', - 'DISPLAY_INLINED_EXPLAIN' => 'Si “Non”, les images jointes seront affichées en tant que liens.', - 'DISPLAY_ORDER' => 'Ordre d’affichage des fichiers joints', - 'DISPLAY_ORDER_EXPLAIN' => 'Classer les fichiers joints par date.', - - 'EDIT_EXTENSION_GROUP' => 'Modifier le groupe d’extensions', - 'EXCLUDE_ENTERED_IP' => 'Activez ceci pour exclure l’IP/nom d’hôte entré.', - 'EXCLUDE_FROM_ALLOWED_IP' => 'Exclure une IP des IP/noms d’hôtes autorisés', - 'EXCLUDE_FROM_DISALLOWED_IP' => 'Exclure une IP des IP/noms d’hôtes interdits', - 'EXTENSIONS_UPDATED' => 'Les extensions ont été mises à jour.', - 'EXTENSION_EXIST' => 'L’extension %s existe déjà.', - 'EXTENSION_GROUP' => 'Groupe d’extensions', - 'EXTENSION_GROUPS' => 'Groupes d’extensions', - 'EXTENSION_GROUP_DELETED' => 'Le groupe d’extensions a été supprimé.', - 'EXTENSION_GROUP_EXIST' => 'Le groupe d’extensions %s existe déjà.', - - 'EXT_GROUP_ARCHIVES' => 'Archives', - 'EXT_GROUP_DOCUMENTS' => 'Documents', - 'EXT_GROUP_DOWNLOADABLE_FILES' => 'Fichiers téléchargeables', - 'EXT_GROUP_FLASH_FILES' => 'Fichiers Flash', - 'EXT_GROUP_IMAGES' => 'Images', - 'EXT_GROUP_PLAIN_TEXT' => 'Texte', - 'EXT_GROUP_QUICKTIME_MEDIA' => 'Quicktime Media', - 'EXT_GROUP_REAL_MEDIA' => 'Real Media', - 'EXT_GROUP_WINDOWS_MEDIA' => 'Windows Media', - - 'GO_TO_EXTENSIONS' => 'Aller à l’écran de gestion des extensions', - 'GROUP_NAME' => 'Nom du groupe', - - 'IMAGE_LINK_SIZE' => 'Dimensions du lien de l’image', - 'IMAGE_LINK_SIZE_EXPLAIN' => 'Afficher le fichier image joint sous forme de lien texte, si l’image est plus grande que les dimensions saisies. Pour désactiver ce comportement, réglez les valeurs sur 0px par 0px.', - 'IMAGICK_PATH' => 'Chemin vers Imagemagick', - 'IMAGICK_PATH_EXPLAIN' => 'Chemin complet vers l’application imagemagick, Par exemple: <samp>/usr/bin/</samp>.', - - 'MAX_ATTACHMENTS' => 'Nombre maximum de fichiers joints par message', - 'MAX_ATTACHMENTS_PM' => 'Nombre maximum de fichiers joints par message privé', - 'MAX_EXTGROUP_FILESIZE' => 'Taille maximale du fichier', - 'MAX_IMAGE_SIZE' => 'Dimensions maximales de l’image', - 'MAX_IMAGE_SIZE_EXPLAIN' => 'Taille maximale des images jointes. Réglez les deux valeurs sur 0px par 0px pour désactiver le contrôle des dimensions.', - 'MAX_THUMB_WIDTH' => 'Largeur maximale de la miniature générée', - 'MAX_THUMB_WIDTH_EXPLAIN' => 'La miniature générée n’excédera pas la largeur indiquée.', - 'MIN_THUMB_FILESIZE' => 'Taille minimale de la miniature', - 'MIN_THUMB_FILESIZE_EXPLAIN' => 'Ne pas créer de miniature pour les images ayant un poids inférieur à', - 'MODE_INLINE' => 'Intégré', - 'MODE_PHYSICAL' => 'Physique', - - 'NOT_ALLOWED_IN_PM' => 'Non autorisé dans les messages privés', - 'NOT_ALLOWED_IN_PM_POST' => 'Non autorisé', - 'NOT_ASSIGNED' => 'Non assigné', - 'NO_EXT_GROUP' => 'Aucun', - 'NO_EXT_GROUP_NAME' => 'Vous n’avez indiqué aucun nom de groupe', - 'NO_EXT_GROUP_SPECIFIED' => 'Vous n’avez indiqué aucun groupe d’extension.', - 'NO_FILE_CAT' => 'Aucun', - 'NO_IMAGE' => 'Aucune image', - 'NO_THUMBNAIL_SUPPORT' => 'Le support des miniatures est désactivé. Pour que cela fonctionne correctement, la librairie GD doit être disponible ou Imagemagick doit être installé. Aucun des deux n’a été trouvé.', - 'NO_UPLOAD_DIR' => 'Le répertoire d’envoi indiqué n’existe pas.', - 'NO_WRITE_UPLOAD' => 'Vous ne possédez pas les droits en écriture sur le répertoire d’envoi indiqué. Modifiez les droits en écriture (CHMOD) de ce répertoire.', - - 'ONLY_ALLOWED_IN_PM' => 'Seulement autorisé dans les messages privés', - 'ORDER_ALLOW_DENY' => 'Autorisé', - 'ORDER_DENY_ALLOW' => 'Refusé', - - 'REMOVE_ALLOWED_IPS' => 'Supprimer ou ne plus exclure les IP/noms d’hôtes <em>autorisés</em>', - 'REMOVE_DISALLOWED_IPS' => 'Supprimer ou ne plus exclure les IP/noms d’hôtes <em>interdits</em>', - - 'SEARCH_IMAGICK' => 'Rechercher l’application Imagemagick', - 'SECURE_ALLOW_DENY' => 'Liste des autorisations/refus', - 'SECURE_ALLOW_DENY_EXPLAIN' => 'Lorsque les téléchargements sécurisés sont activés, modifiez le comportement par défaut de la liste d’autorisations/refus à celle d’une <strong>liste blanche</strong> (Autorisé) ou une <strong>liste noire</strong> (Refusé).', - 'SECURE_DOWNLOADS' => 'Activer les téléchargements sécurisés', - 'SECURE_DOWNLOADS_EXPLAIN' => 'Si cette option est activée, les téléchargements sont limités aux IPs/noms d’hôtes définis.', - 'SECURE_DOWNLOAD_NOTICE' => 'Les téléchargements sécurisés ne sont pas activés. Les paramètres ci-dessus seront appliqués une fois les téléchargements sécurisés activés.', - 'SECURE_DOWNLOAD_UPDATE_SUCCESS'=> 'La liste des IPs a été mise à jour.', - 'SECURE_EMPTY_REFERRER' => 'Autoriser un référent vide', - 'SECURE_EMPTY_REFERRER_EXPLAIN' => 'Les téléchargements sécurisés sont basés sur les référents. Voulez-vous autoriser les téléchargements pour ceux qui omettent le référant?', - 'SETTINGS_CAT_IMAGES' => 'Paramètres des catégories d’image', - 'SPECIAL_CATEGORY' => 'Catégorie spéciale', - 'SPECIAL_CATEGORY_EXPLAIN' => 'Les catégories spéciales proposent un affichage particulier.', - 'SUCCESSFULLY_UPLOADED' => 'Le chargement est terminé.', - 'SUCCESS_EXTENSION_GROUP_ADD' => 'Le groupe d’extension a été créé.', - 'SUCCESS_EXTENSION_GROUP_EDIT' => 'Le groupe d’extension a été mis à jour.', - - 'UPLOADING_FILES' => 'Chargement de fichiers', - 'UPLOADING_FILE_TO' => 'Le fichier “%1$s” a été chargé au message numéro %2$d.', - 'UPLOAD_DENIED_FORUM' => 'Vous n’avez pas la permission de transférer des fichiers sur le forum “%s”.', - 'UPLOAD_DIR' => 'Répertoire d’envoi', - 'UPLOAD_DIR_EXPLAIN' => 'Chemin de stockage pour les fichiers joints. Notez que si vous modifiez ce répertoire tout en ayant déjà transféré des fichiers joints, vous devrez copier manuellement les fichiers au nouvel emplacement.', - 'UPLOAD_ICON' => 'Icône d’envoi', - 'UPLOAD_NOT_DIR' => 'L’emplacement d’envoi que vous avez indiqué ne semble pas être un répertoire.', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/ban.php b/phpBB/language/fr/acp/ban.php deleted file mode 100644 index e62a960d42..0000000000 --- a/phpBB/language/fr/acp/ban.php +++ /dev/null @@ -1,85 +0,0 @@ -<?php -/** -* -* acp_ban [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: ban.php, v1.25 2009/10/08 09:25:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -// Banning -$lang = array_merge($lang, array( - '1_HOUR' => '1 heure', - '30_MINS' => '30 minutes', - '6_HOURS' => '6 heures', - - 'ACP_BAN_EXPLAIN' => 'Vous pouvez contrôler le bannissement d’utilisateurs par nom, adresse IP ou adresse e-mail. Ces méthodes empêchent un utilisateur d’atteindre n’importe quelle partie du forum. Vous pouvez donner si vous le souhaitez une courte raison (3000 caractères maximum) au bannissement. Cela sera affiché dans l’historique de l’administration. La durée du bannissement peut également être indiquée. Si vous voulez que le bannissement termine à une date particulière plutôt qu’après une période de temps, sélectionnez <span style="text-decoration: underline;">Jusqu’à -></span> pour la durée du bannissement et entrez une date au format <kbd>AAAA-MM-JJ</kbd>.', - - 'BAN_EXCLUDE' => 'Exclure du bannissement', - 'BAN_LENGTH' => 'Durée du bannissement', - 'BAN_REASON' => 'Raison du bannissement', - 'BAN_GIVE_REASON' => 'Raison affichée du bannissement', - 'BAN_UPDATE_SUCCESSFUL' => 'La liste des bannissements a été mise à jour.', - 'BANNED_UNTIL_DATE' => 'Jusqu’au %s', // Example: "until Mon 13.Jul.2009, 14:44" - 'BANNED_UNTIL_DURATION' => '%1$s (Jusqu’au %2$s)', // Example: "7 days (until Tue 14.Jul.2009, 14:44)" - - 'EMAIL_BAN' => 'Bannir une ou plusieurs adresses e-mails', - 'EMAIL_BAN_EXCLUDE_EXPLAIN' => 'Si activé, permet d’exclure de toutes les interdictions courantes les adresses e-mails renseignées.', - 'EMAIL_BAN_EXPLAIN' => 'Pour indiquer plus d’une adresse e-mail, entrez chacune d’elles sur une nouvelle ligne. Pour effectuer une interdiction sur une partie du nom, utilisez * comme caractère joker, par exemple: *@hotmail.com, *@*.domain.tld, etc.', - 'EMAIL_NO_BANNED' => 'Aucune adresse e-mail bannie', - 'EMAIL_UNBAN' => 'Débannir ou ne plus exclure des adresses e-mails', - 'EMAIL_UNBAN_EXPLAIN' => 'Vous pouvez débannir (ou ne plus exclure) plusieurs adresses e-mails d’un coup en utilisant la combinaison de touches appropriée avec votre clavier et votre souris. Les adresses e-mails exclues sont grisées et en gras.', - - 'IP_BAN' => 'Bannir une ou plusieurs adresses IPs', - 'IP_BAN_EXCLUDE_EXPLAIN' => 'Si activé, permet d’exclure de toutes les interdictions courantes les adresses IPs renseignées.', - 'IP_BAN_EXPLAIN' => 'Pour indiquer plusieurs adresses IPs ou noms d’hôtes différents, entrez chacun d’eux sur une nouvelle ligne. Pour indiquer une plage d’adresses IP, séparez le début et la fin par un tiret, et utilisez * comme caractère joker.', - 'IP_HOSTNAME' => 'Adresses IPs ou noms d’hôtes', - 'IP_NO_BANNED' => 'Aucune adresse IP bannie', - 'IP_UNBAN' => 'Débannir ou ne plus exclure des adresses IPs', - 'IP_UNBAN_EXPLAIN' => 'Vous pouvez débannir (ou ne plus exclure) plusieurs adresses IPs d’un coup en utilisant la combinaison de touches appropriée avec votre clavier et votre souris. Les adresses IPs exclues sont grisées et en gras.', - - 'LENGTH_BAN_INVALID' => 'La date indiquée doit être au format <kbd>AAAA-MM-JJ</kbd>.', - - 'PERMANENT' => 'Permanent', - - 'UNTIL' => 'Jusqu’à', - 'USER_BAN' => 'Bannir un ou plusieurs noms d’utilisateurs', - 'USER_BAN_EXCLUDE_EXPLAIN' => 'Si activé, permet d’exclure de toutes les interdictions courantes les noms d’utilisateurs renseignés.', - 'USER_BAN_EXPLAIN' => 'Vous pouvez bannir plusieurs utilisateurs en une fois en entrant chaque nom sur une nouvelle ligne. Utilisez la fonction <span style="text-decoration: underline;">Rechercher un membre</span> pour ajouter un ou plusieurs utilisateurs automatiquement.', - 'USER_NO_BANNED' => 'Aucun nom d’utilisateur banni', - 'USER_UNBAN' => 'Débannir ou ne plus exclure des noms d’utilisateurs', - 'USER_UNBAN_EXPLAIN' => 'Vous pouvez débannir (ou ne plus exclure) plusieurs noms d’utilisateurs d’un coup, en utilisant la combinaison de touches appropriée avec votre clavier et votre souris. Les noms d’utilisateurs exclus sont grisés et en gras.', - - -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/board.php b/phpBB/language/fr/acp/board.php deleted file mode 100644 index 9f471d3e9f..0000000000 --- a/phpBB/language/fr/acp/board.php +++ /dev/null @@ -1,545 +0,0 @@ -<?php -/** -* -* acp_board [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: board.php, v1.29 2010/03/01 00:34:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -// Board Settings -$lang = array_merge($lang, array( - 'ACP_BOARD_SETTINGS_EXPLAIN' => 'Vous pouvez modifier les paramètres de base de votre forum, depuis le nom du site jusqu’à la validation de l’inscription par message privé.', - 'CUSTOM_DATEFORMAT' => 'Personnalisée', - 'DEFAULT_DATE_FORMAT' => 'Format de la date', - 'DEFAULT_DATE_FORMAT_EXPLAIN' => 'Le format de la date est le même que la fonction <code>date</code> de PHP', - 'DEFAULT_LANGUAGE' => 'Langue par défaut', - 'DEFAULT_STYLE' => 'Style par défaut', - 'DISABLE_BOARD' => 'Désactiver le forum', - 'DISABLE_BOARD_EXPLAIN' => 'Ceci va rendre le forum inaccessible aux utilisateurs. Vous pouvez aussi rentrer un message court (255 caractères) pour leur en expliquer la raison.', - 'OVERRIDE_STYLE' => 'Annuler le style de l’utilisateur', - 'OVERRIDE_STYLE_EXPLAIN' => 'Remplace le style de l’utilisateur par le style par défaut.', - 'SITE_DESC' => 'Description du site', - 'SITE_NAME' => 'Nom du site', - 'SYSTEM_DST' => 'Activer l’heure d’été', - 'SYSTEM_TIMEZONE' => 'Fuseau horaire des invités', - 'SYSTEM_TIMEZONE_EXPLAIN' => 'Fuseau horaire à utiliser pour l’affichage des heures quand les utilisateurs ne sont pas connectés (visiteurs, robots). Les membres le définissent pendant leur inscription et peuvent le changer via le panneau de l’utilisateur.', - 'WARNINGS_EXPIRE' => 'Durée de l’avertissement', - 'WARNINGS_EXPIRE_EXPLAIN' => 'Nombre de jours qui s’écoulera avant que l’avertissement expire automatiquement.', -)); - -// Board Features -$lang = array_merge($lang, array( - 'ACP_BOARD_FEATURES_EXPLAIN' => 'Vous pouvez activer/désactiver plusieurs fonctionnalités du forum.', - - 'ALLOW_ATTACHMENTS' => 'Autoriser les fichiers joints', - 'ALLOW_BIRTHDAYS' => 'Autoriser les anniversaires', - 'ALLOW_BIRTHDAYS_EXPLAIN' => 'Autorise la saisie des dates anniversaires et l’affichage de l’âge dans les profils. Notez que l’affichage des anniversaires sur l’index du forum est contrôlé par un paramètre de charge différent.', - 'ALLOW_BOOKMARKS' => 'Autoriser la mise en favoris des sujets', - 'ALLOW_BOOKMARKS_EXPLAIN' => 'L’utilisateur est autorisé à mettre des sujets en favoris.', - 'ALLOW_BBCODE' => 'Autoriser les BBCodes', - 'ALLOW_FORUM_NOTIFY' => 'Autoriser la surveillance des forums', - 'ALLOW_NAME_CHANGE' => 'Autoriser les changements de nom d’utilisateur', - 'ALLOW_NO_CENSORS' => 'Autoriser la désactivation de la censure', - 'ALLOW_NO_CENSORS_EXPLAIN' => 'Les utilisateurs peuvent choisir de désactiver la censure automatique des messages ou messages privés.', - 'ALLOW_PM_ATTACHMENTS' => 'Autoriser les fichiers joints dans les messages privés', - 'ALLOW_PM_REPORT' => 'Autoriser les utilisateurs à rapporter les messages privés', - 'ALLOW_PM_REPORT_EXPLAIN' => 'Si cette option est activée, les utilisateurs ont la possibilité de rapporter aux modérateurs du forum un message privé qu’ils ont reçu ou envoyé. Ces messages privés seront alors visibles dans le panneau de modération.', - 'ALLOW_QUICK_REPLY' => 'Autoriser la réponse rapide', - 'ALLOW_QUICK_REPLY_EXPLAIN' => 'Cette option vous permet de désactiver le module de réponse rapide sur l’ensemble du forum. Si activé, les paramètres spécifiques de forum seront utilisés pour déterminer si la réponse rapide est affichée pour chacun des forums.', - 'ALLOW_QUICK_REPLY_BUTTON' => 'Soumettre et activer la réponse rapide dans tous les forums', - 'ALLOW_SIG' => 'Autoriser les signatures', - 'ALLOW_SIG_BBCODE' => 'Autoriser les BBCodes dans les signatures d’utilisateur', - 'ALLOW_SIG_FLASH' => 'Autoriser l’utilisation du BBCode <code>[FLASH]</code> dans la signature', - 'ALLOW_SIG_IMG' => 'Autoriser l’utilisation du BBCode <code>[IMG]</code> dans la signature', - 'ALLOW_SIG_LINKS' => 'Autoriser les liens dans les signatures d’utilisateur', - 'ALLOW_SIG_LINKS_EXPLAIN' => 'Si désactivé, le BBCode <code>[URL]</code> et la transformation automatique des textes en liens seront désactivés.', - 'ALLOW_SIG_SMILIES' => 'Autoriser les smileys dans les signatures d’utilisateur', - 'ALLOW_SMILIES' => 'Autoriser les smileys', - 'ALLOW_TOPIC_NOTIFY' => 'Autoriser la surveillance des sujets', - 'BOARD_PM' => 'Messagerie privée', - 'BOARD_PM_EXPLAIN' => 'Activer la messagerie privée pour tous les utilisateurs.', -)); - -// Avatar Settings -$lang = array_merge($lang, array( - 'ACP_AVATAR_SETTINGS_EXPLAIN' => 'Les avatars sont généralement de petites images uniques qu’un utilisateur choisit pour le représenter. Selon le style, ils sont normalement affichés sous le nom d’utilisateur lors de la visualisation de sujets. Vous pouvez choisir quelle méthode l’utilisateur peut utiliser pour choisir son avatar. Dans le cas où vous autorisez l’envoi d’avatar, vous devez indiquer ci-dessous le nom du répertoire en question et vous assurer des droits en écriture de ce répertoire. Notez également que les limitations de taille ne sont imposées qu’aux avatars chargés et ne concernent pas les avatars dont on aura fourni un lien externe.', - 'ALLOW_AVATARS' => 'Activer les avatars', - 'ALLOW_AVATARS_EXPLAIN' => 'Autorise l’utilisation générale des avatars;<br />Si vous désactivez l’utilisation générale des avatars ou les avatars affichés selon une méthode particulière, les avatars désactivés ne seront plus affichés sur le forum, mais les utilisateurs seront toujours capables de télécharger leur propre avatar dans leur panneau d’utilisateur.', - - 'ALLOW_LOCAL' => 'Activer la galerie d’avatars', - 'ALLOW_REMOTE' => 'Autoriser les avatars distants', - 'ALLOW_REMOTE_EXPLAIN' => 'Avatars liés depuis un autre site', - 'ALLOW_REMOTE_UPLOAD' => 'Autoriser le chargement distant d’avatar', - 'ALLOW_REMOTE_UPLOAD_EXPLAIN' => 'Autorise le chargement d’avatars d’un autre site Internet.', - 'ALLOW_UPLOAD' => 'Autoriser le chargement d’avatar', - 'AVATAR_GALLERY_PATH' => 'Répertoire de la galerie d’avatars', - 'AVATAR_GALLERY_PATH_EXPLAIN' => 'Chemin d’accès depuis le répertoire racine de phpBB vers les images préchargées, exemple: <samp>images/avatars/gallery</samp>.', - 'AVATAR_STORAGE_PATH' => 'Dossier de stockage des avatars', - 'AVATAR_STORAGE_PATH_EXPLAIN' => 'Chemin d’accès depuis le répertoire racine de phpBB, exemple: <samp>images/avatars/upload</samp>.', - 'MAX_AVATAR_SIZE' => 'Dimensions maximales d’un avatar', - 'MAX_AVATAR_SIZE_EXPLAIN' => 'Largeur x Hauteur en pixels.', - 'MAX_FILESIZE' => 'Taille maximale d’un avatar', - 'MAX_FILESIZE_EXPLAIN' => 'Pour les avatars envoyés.', - 'MIN_AVATAR_SIZE' => 'Dimensions minimales d’un avatar', - 'MIN_AVATAR_SIZE_EXPLAIN' => 'Largeur x Hauteur en pixels.', -)); - -// Message Settings -$lang = array_merge($lang, array( - 'ACP_MESSAGE_SETTINGS_EXPLAIN' => 'Vous pouvez modifier tous les paramètres de la messagerie privée.', - - 'ALLOW_BBCODE_PM' => 'Autoriser les BBCodes dans les messages privés', - 'ALLOW_FLASH_PM' => 'Autoriser l’utilisation du BBCode <code>[FLASH]</code>', - 'ALLOW_FLASH_PM_EXPLAIN' => 'Notez que l’utilisation du Flash dans les messages privés, si activé ici, dépend également des permissions.', - 'ALLOW_FORWARD_PM' => 'Autoriser le transfert des messages privés', - 'ALLOW_IMG_PM' => 'Autoriser l’utilisation du BBCode <code>[IMG]</code>', - 'ALLOW_MASS_PM' => 'Autoriser l’envoi de messages privés à plusieurs utilisateurs et groupes', - 'ALLOW_MASS_PM_EXPLAIN' => 'L’envoi aux groupes peut être ajusté par groupe dans l’écran de réglage du groupe.', - 'ALLOW_PRINT_PM' => 'Autoriser la visualisation de l’impression dans la messagerie privée', - 'ALLOW_QUOTE_PM' => 'Autoriser les citations dans les messages privés', - 'ALLOW_SIG_PM' => 'Autoriser les signatures dans les messages privés', - 'ALLOW_SMILIES_PM' => 'Autoriser les smileys dans les messages privés', - 'BOXES_LIMIT' => 'Nombre de messages privés maximum par dossier', - 'BOXES_LIMIT_EXPLAIN' => 'Les utilisateurs ne peuvent pas recevoir plus que ce nombre de messages dans chacun de leurs dossiers de message privé. Mettre “0” pour permettre un nombre de message illimité.', - 'BOXES_MAX' => 'Nombre maximum de dossiers', - 'BOXES_MAX_EXPLAIN' => 'Les utilisateurs peuvent créer ce nombre de dossiers pour leurs messages privés.', - 'ENABLE_PM_ICONS' => 'Autoriser les icônes de sujet dans les messages privés', - 'FULL_FOLDER_ACTION' => 'Action par défaut lorsqu’un dossier est plein', - 'FULL_FOLDER_ACTION_EXPLAIN'=> 'Action par défaut à effectuer lorsque le dossier d’un utilisateur est plein, dans le cas où l’action indiquée par l’utilisateur n’est pas applicable. La seule exception s’applique au dossier des “Messages envoyés” où l’action par défaut est de toujours supprimer les anciens messages.', - 'HOLD_NEW_MESSAGES' => 'Rejeter les nouveaux messages', - 'PM_EDIT_TIME' => 'Temps limite d’édition', - 'PM_EDIT_TIME_EXPLAIN' => 'Temps après lequel on ne peut plus éditer un message privé quand il n’a pas encore été délivré. Mettre “0” pour illimité.', - 'PM_MAX_RECIPIENTS' => 'Nombre maximum autorisé de destinataires', - 'PM_MAX_RECIPIENTS_EXPLAIN' => 'Le nombre maximum autorisé de destinataires d’un message privé. Une valeur à “0” indique un nombre illimité de destinataires. Ce paramètre peut être ajusté pour chaque groupe dans l’écran de réglage du groupe.', -)); - -// Post Settings -$lang = array_merge($lang, array( - 'ACP_POST_SETTINGS_EXPLAIN' => 'Vous pouvez définir tous les paramètres par défaut pour les messages.', - 'ALLOW_POST_LINKS' => 'Autoriser les liens dans les messages et messages privés', - 'ALLOW_POST_LINKS_EXPLAIN' => 'Si désactivé, le BBCode <code>[URL]</code> et la transformation automatique des textes en liens seront désactivés.', - 'ALLOW_POST_FLASH' => 'Autoriser l’utilisation du BBCode <code>[FLASH]</code> dans les messages', - 'ALLOW_POST_FLASH_EXPLAIN' => 'Si désactivé, le BBCode <code>[FLASH]</code> sera désactivé. Autrement, le système de permission déterminera les membres pouvant utiliser le BBCode <code>[FLASH]</code>.', - - 'BUMP_INTERVAL' => 'Intervalle de remontée de sujet', - 'BUMP_INTERVAL_EXPLAIN' => 'Nombre des minutes, d’heures, ou de jours entre la date du dernier message et la possibilité de remonter le sujet. Mettre “0” pour illimité.', - 'CHAR_LIMIT' => 'Nombre maximum de caractères par message', - 'CHAR_LIMIT_EXPLAIN' => 'Le nombre de caractères autorisés dans un message. Mettre “0” pour illimité.', - 'DELETE_TIME' => 'Limiter le temps de suppression', - 'DELETE_TIME_EXPLAIN' => 'Limite le temps disponible pour effacer un nouveau message. Mettre “0” pour désactiver ce comportement.', - 'DISPLAY_LAST_EDITED' => 'Afficher la raison de la dernière édition', - 'DISPLAY_LAST_EDITED_EXPLAIN' => 'Choisissez si l’information sur la date de la dernière édition doit être affichée ou non dans les messages.', - 'EDIT_TIME' => 'Temps limite d’édition', - 'EDIT_TIME_EXPLAIN' => 'Durée d’autorisation d’édition du message après l’avoir posté.', - 'FLOOD_INTERVAL' => 'Intervalle de flood', - 'FLOOD_INTERVAL_EXPLAIN' => 'Nombre de secondes qu’un utilisateur doit patienter entre la publication de nouveaux messages. Pour autoriser les utilisateurs à ignorer cela, modifiez leurs permissions.', - 'HOT_THRESHOLD' => 'Seuil de popularité des sujets', - 'HOT_THRESHOLD_EXPLAIN' => 'Nombre de messages requis afin qu’un sujet soit affiché comme étant populaire. Mettre “0” pour désactiver les sujets populaires.', - 'MAX_POLL_OPTIONS' => 'Nombre maximum d’options de vote', - 'MAX_POST_FONT_SIZE' => 'Taille maximale de la police', - 'MAX_POST_FONT_SIZE_EXPLAIN' => 'Taille maximale de la police dans un message. Mettre “0” pour illimité.', - 'MAX_POST_IMG_HEIGHT' => 'Hauteur maximale d’une image', - 'MAX_POST_IMG_HEIGHT_EXPLAIN' => 'Hauteur maximale d’un fichier image ou flash dans un message. Mettre “0” pour illimité.', - 'MAX_POST_IMG_WIDTH' => 'Largeur maximale d’une image', - 'MAX_POST_IMG_WIDTH_EXPLAIN' => 'Largeur maximale d’un fichier image ou flash dans un message. Mettre “0” pour illimité.', - 'MAX_POST_URLS' => 'Nombre maximum de liens', - 'MAX_POST_URLS_EXPLAIN' => 'Nombre maximum de liens dans un message. Mettre “0” pour illimité.', - 'MIN_CHAR_LIMIT' => 'Nombre minimum de caractères par message', - 'MIN_CHAR_LIMIT_EXPLAIN' => 'Nombre minimum de caractères qu’un utilisateur a besoin de taper dans un message/message privé', - 'POSTING' => 'Publication', - 'POSTS_PER_PAGE' => 'Messages par page', - 'QUOTE_DEPTH_LIMIT' => 'Nombre maximum de citations imbriquées', - 'QUOTE_DEPTH_LIMIT_EXPLAIN' => 'Nombre maximum de citations imbriquées dans un message. Mettre “0” pour illimité.', - 'SMILIES_LIMIT' => 'Nombre maximum de smileys par message', - 'SMILIES_LIMIT_EXPLAIN' => 'Nombre maximum de smileys dans un message. Mettre “0” pour illimité.', - 'SMILIES_PER_PAGE' => 'Smileys par page', - 'TOPICS_PER_PAGE' => 'Sujets par page', -)); - -// Signature Settings -$lang = array_merge($lang, array( - 'ACP_SIGNATURE_SETTINGS_EXPLAIN' => 'Vous pouvez modifier les paramètres pour les signatures.', - - 'MAX_SIG_FONT_SIZE' => 'Taille maximale de la police dans les signatures', - 'MAX_SIG_FONT_SIZE_EXPLAIN' => 'Taille de police maximale autorisée dans les signatures d’utilisateur. Mettre “0” pour illimité.', - 'MAX_SIG_IMG_HEIGHT' => 'Hauteur maximale d’une image dans les signatures', - 'MAX_SIG_IMG_HEIGHT_EXPLAIN' => 'Hauteur maximale d’un fichier image/flash dans les signatures d’utilisateur. Mettre “0” pour illimité.', - 'MAX_SIG_IMG_WIDTH' => 'Largeur maximale d’une image dans les signatures', - 'MAX_SIG_IMG_WIDTH_EXPLAIN' => 'Largeur maximale d’un fichier image/flash dans les signatures d’utilisateur. Mettre “0” pour illimité.', - 'MAX_SIG_LENGTH' => 'Longueur maximale de la signature', - 'MAX_SIG_LENGTH_EXPLAIN' => 'Nombre de caractères maximum dans les signatures d’utilisateur.', - 'MAX_SIG_SMILIES' => 'Nombre maximum de smileys par signature', - 'MAX_SIG_SMILIES_EXPLAIN' => 'Nombre maximum de smileys dans les signatures d’utilisateur. Mettre “0” pour illimité.', - 'MAX_SIG_URLS' => 'Nombre maximum de liens dans les signatures', - 'MAX_SIG_URLS_EXPLAIN' => 'Nombre maximum de liens dans la signature d’utilisateur. Mettre “0” pour illimité.', -)); - -// Registration Settings -$lang = array_merge($lang, array( - 'ACP_REGISTER_SETTINGS_EXPLAIN' => 'Vous pouvez modifier les paramètres relatifs à l’inscription et aux profils d’utilisateurs.', - - 'ACC_ACTIVATION' => 'Activation de compte', - 'ACC_ACTIVATION_EXPLAIN' => 'Cela détermine si les utilisateurs ont accès au forum immédiatement ou si une confirmation est requise. Vous pouvez également désactiver complètement les nouvelles inscriptions.', - 'NEW_MEMBER_POST_LIMIT' => 'Limite de message d’un nouveau membre', - 'NEW_MEMBER_POST_LIMIT_EXPLAIN' => 'Les nouveaux membres resteront dans le groupe <em>Nouveaux utilisateurs enregistrés</em> jusqu’à qu’ils atteignent ce nombre de messages. Vous pouvez utiliser ce groupe pour éviter qu’ils utilisent le système de messagerie privé ou la révision de leurs messages. <strong>Mettre “0” pour désactiver cette fonctionnalité.</strong>', - 'NEW_MEMBER_GROUP_DEFAULT' => 'Mettre le groupe des nouveaux utilisateurs enregistrés par défaut', - 'NEW_MEMBER_GROUP_DEFAULT_EXPLAIN' => 'Si ce paramètre est activé, et qu’une limite de message pour les nouveaux membres est indiquée, les nouveaux utilisateurs enregistrés ne seront pas simplement placés dans le groupe <em>Nouveaux utilisateurs enregistrés</em>, mais ce groupe deviendra également leur groupe par défaut. Cela peut s’avérer pratique si vous voulez assigner un rang et/ou un avatar de groupe par défaut afin que les utilisateurs en héritent.', - 'ACC_ADMIN' => 'Par l’administrateur', - 'ACC_DISABLE' => 'Désactiver', - 'ACC_NONE' => 'Aucun', - 'ACC_USER' => 'Par l’utilisateur', -// 'ACC_USER_ADMIN' => 'User + Admin', - 'ALLOW_EMAIL_REUSE' => 'Autoriser les adresses e-mail à être réutilisées', - 'ALLOW_EMAIL_REUSE_EXPLAIN' => 'Plusieurs utilisateurs peuvent s’enregistrer avec la même adresse e-mail.', - 'COPPA' => 'COPPA', - 'COPPA_FAX' => 'Numéro de fax COPPA', - 'COPPA_MAIL' => 'Adresse e-mail COPPA', - 'COPPA_MAIL_EXPLAIN' => 'Ceci est l’adresse e-mail où les parents enverront les formulaires d’inscription COPPA.', - 'ENABLE_COPPA' => 'Activer la COPPA', - 'ENABLE_COPPA_EXPLAIN' => 'Cela oblige les utilisateurs à déclarer qu’ils ont 13 ans ou plus afin d’être en conformité avec la COPPA. Si cela est désactivé, le groupe spécial COPPA ne sera plus affiché.', - 'MAX_CHARS' => 'Max', - 'MIN_CHARS' => 'Min', - 'NO_AUTH_PLUGIN' => 'Aucun module d’authentification trouvé.', - 'PASSWORD_LENGTH' => 'Longueur du mot de passe', - 'PASSWORD_LENGTH_EXPLAIN' => 'Nombre de caractères minimum et maximum dans les mots de passe.', - 'REG_LIMIT' => 'Tentatives d’inscription', - 'REG_LIMIT_EXPLAIN' => 'Nombre de tentatives que les utilisateurs pourront faire dans la saisie du code de confirmation avant que leur session n’expire.', - 'USERNAME_ALPHA_ONLY' => 'Alphanumériques seulement', - 'USERNAME_ALPHA_SPACERS' => 'Alphanumériques et espaces', - 'USERNAME_ASCII' => 'ASCII (aucun caractère unicode international)', - 'USERNAME_LETTER_NUM' => 'Tous chiffres et lettres', - 'USERNAME_LETTER_NUM_SPACERS' => 'Tous chiffres, lettres et espaces', - 'USERNAME_CHARS' => 'Limite des caractéres du nom d’utilisateur', - 'USERNAME_CHARS_ANY' => 'N’importe quel caractère', - 'USERNAME_CHARS_EXPLAIN' => 'Restreint du type de caractères qui peut être utilisé dans les noms d’utilisateur, les espaces comprennent: espace, -, +, _, [ et ].', - 'USERNAME_LENGTH' => 'Longueur du nom d’utilisateur', - 'USERNAME_LENGTH_EXPLAIN' => 'Nombre de caractères minimum et maximum dans les noms d’utilisateur.', -)); - -// Feeds -$lang = array_merge($lang, array( - 'ACP_FEED_MANAGEMENT' => 'Paramètres généraux de publication des flux', - 'ACP_FEED_MANAGEMENT_EXPLAIN' => 'Ce module rend disponible différents flux ATOM, en parsant les BBCodes dans les messages pour les rendre lisible dans des flux extérieurs.', - - 'ACP_FEED_GENERAL' => 'Paramètres de flux général', - 'ACP_FEED_POST_BASED' => 'Paramètres de flux de message', - 'ACP_FEED_TOPIC_BASED' => 'Paramètres de flux de sujet', - 'ACP_FEED_SETTINGS_OTHER' => 'Autres flux et paramétrages', - - 'ACP_FEED_ENABLE' => 'Activer les flux', - 'ACP_FEED_ENABLE_EXPLAIN' => 'Active ou non, les flux ATOM pour le forum entier.<br />En désactivant les flux, peu importe la manière dont sont réglées les options ci-dessous.', - 'ACP_FEED_LIMIT' => 'Nombre d’articles', - 'ACP_FEED_LIMIT_EXPLAIN' => 'Le nombre maximum d’articles de flux à afficher.', - - 'ACP_FEED_OVERALL' => 'Activer les flux sur l’ensemble du forum', - 'ACP_FEED_OVERALL_EXPLAIN' => 'Permet de suivre les nouveaux messages sur l’ensemble du forum.', - 'ACP_FEED_FORUM' => 'Activer les flux par forum', - 'ACP_FEED_FORUM_EXPLAIN' => 'Permet de suivre les nouveaux messages d’un forum et ses sous-forums.', - 'ACP_FEED_TOPIC' => 'Activer les flux par sujet', - 'ACP_FEED_TOPIC_EXPLAIN' => 'Permet de suivre les nouveaux messages d’un sujet en particulier.', - - 'ACP_FEED_TOPICS_NEW' => 'Activer le flux des nouveaux sujets', - 'ACP_FEED_TOPICS_NEW_EXPLAIN' => 'Active le flux des “nouveaux sujets”, qui affiche les derniers sujets créés, y compris le premier message.', - 'ACP_FEED_TOPICS_ACTIVE' => 'Activer le flux des sujets actifs', - 'ACP_FEED_TOPICS_ACTIVE_EXPLAIN' => 'Active le flux des “sujet actifs”, qui affiche les derniers sujets actifs, y compris le dernier message.', - 'ACP_FEED_NEWS' => 'Flux des nouvelles', - 'ACP_FEED_NEWS_EXPLAIN' => 'Sélectionne le premier message depuis ces forums. Ne sélectionnez aucun forum pour désactiver le flux des nouvelles.<br />Sélectionner plusieurs forums en maintenant la touche <samp>CTRL</samp> et en cliquant.', - - 'ACP_FEED_OVERALL_FORUMS' => 'Activer le flux des forums', - 'ACP_FEED_OVERALL_FORUMS_EXPLAIN' => 'Active le flux de “tous les forums”, ce qui affiche une liste des forums.', - - 'ACP_FEED_HTTP_AUTH' => 'Autoriser l’authentification HTTP', - 'ACP_FEED_HTTP_AUTH_EXPLAIN' => 'Active l’authentification HTTP, ce qui autorise les utilisateurs à recevoir le contenu qui est masqué aux invités en ajoutant le paramètre <samp>auth=http</samp> à l’URL du flux. Notez que certaines installations de PHP nécessite d’effectuer des modifications additionnelles sur le fichier .htaccess. Toutes les instructions sont contenues dans ce fichier.', - 'ACP_FEED_ITEM_STATISTICS' => 'Statistiques de l’article', - 'ACP_FEED_ITEM_STATISTICS_EXPLAIN' => 'Affiche les statistiques indivuelles sous les articles de flux<br />(Exemple: Posté par, date et heure, Réponses, Vues)', - 'ACP_FEED_EXCLUDE_ID' => 'Exclure ces forums', - 'ACP_FEED_EXCLUDE_ID_EXPLAIN' => 'Le contenu de ces forums <strong>se sera pas inclus dans les flux</strong>. Ne sélectionnez aucun forum pour lire les données de tous les forums.<br />Sélectionner plusieurs forums en maintenant la touche <samp>CTRL</samp> et en cliquant.', -)); - - // Visual Confirmation Settings -$lang = array_merge($lang, array( - 'ACP_VC_SETTINGS_EXPLAIN' => 'Vous pouvez sélectionner et configurer les plugins, qui sont conçus pour bloquer les soumissions automatisées de formulaires par des robots. Ces plugins fonctionnent généralement en défiant l’utilisateur via un <em>CAPTCHA</em>, un test conçu pour être complexe à résoudre pour les ordinateurs.', - 'AVAILABLE_CAPTCHAS' => 'Plugins disponibles', - 'CAPTCHA_UNAVAILABLE' => 'Le plugin ne peut pas être sélectionné car les prérequis ne sont pas remplis.', - 'CAPTCHA_GD' => 'Image GD', - 'CAPTCHA_GD_3D' => 'Image 3D GD', - 'CAPTCHA_GD_FOREGROUND_NOISE' => 'Bruit de fond', - 'CAPTCHA_GD_EXPLAIN' => 'Utilise GD pour faire une image plus difficile à déchiffrer par les robots.', - 'CAPTCHA_GD_FOREGROUND_NOISE_EXPLAIN' => 'Utiliser un bruit de fond pour faire une image plus difficile à déchiffrer par les robots.', - 'CAPTCHA_GD_X_GRID' => 'Bruit de fond x-axis', - 'CAPTCHA_GD_X_GRID_EXPLAIN' => 'Utiliser le paramètre ci-dessous pour rendre la confirmation visuelle plus difficile à déchiffrer. Mettre “0” pour désactiver le bruit de fond x-axis.', - 'CAPTCHA_GD_Y_GRID' => 'Bruit de fond y-axis', - 'CAPTCHA_GD_Y_GRID_EXPLAIN' => 'Utiliser le paramètre ci-dessous pour rendre la confirmation visuelle plus difficile à déchiffrer. Mettre “0” pour désactiver le bruit de fond y-axis.', - 'CAPTCHA_GD_WAVE' => 'Distorsion ondulatoire', - 'CAPTCHA_GD_WAVE_EXPLAIN' => 'Cela appliquera une distorsion ondulatoire à l’image.', - 'CAPTCHA_GD_3D_NOISE' => 'Ajouter des objets de bruit en 3D', - 'CAPTCHA_GD_3D_NOISE_EXPLAIN' => 'Cela ajoutera des objets supplémentaires à l’image, par-dessus les lettres.', - 'CAPTCHA_GD_FONTS' => 'Utiliser différentes polices', - 'CAPTCHA_GD_FONTS_EXPLAIN' => 'Ce paramètre contrôle le nombre différent de formes de lettres qui sont utilisées. Vous pouvez seulement utiliser les formes par défaut ou introduire des lettres modifiées. L’ajout de lettres en minuscule est également possible.', - 'CAPTCHA_FONT_DEFAULT' => 'Défaut', - 'CAPTCHA_FONT_NEW' => 'Nouvelles formes', - 'CAPTCHA_FONT_LOWER' => 'Utiliser également des minuscules', - - 'CAPTCHA_NO_GD' => 'Image simple', - 'CAPTCHA_PREVIEW_MSG' => 'Vos modifications n’ont pas été sauvegardées, ceci est juste un aperçu.', - 'CAPTCHA_PREVIEW_EXPLAIN' => 'Voici le plugin tel qu’il apparaîtrait avec vos paramètres actuels.', - - 'CAPTCHA_SELECT' => 'Plugins installés', - 'CAPTCHA_SELECT_EXPLAIN' => 'La liste déroulante affiche les plugins reconnus par le forum. Les plugins grisés ne sont pas disponibles immédiatement et peuvent nécessiter au préalable une configuration pour être utilisés.', - 'CAPTCHA_CONFIGURE' => 'Configurer les plugins', - 'CAPTCHA_CONFIGURE_EXPLAIN' => 'Change les paramètres pour le plugin sélectionné.', - 'CONFIGURE' => 'Configurer', - 'CAPTCHA_NO_OPTIONS' => 'Ce plugin n’a pas d’options de configuration.', - - 'VISUAL_CONFIRM_POST' => 'Activer la confirmation visuelle pour les visiteurs', - 'VISUAL_CONFIRM_POST_EXPLAIN' => 'Oblige les invités à passer le test de vérification humaine afin d’empêcher la publication automatisée de messages.', - 'VISUAL_CONFIRM_REG' => 'Activer la confirmation visuelle pour les inscriptions', - 'VISUAL_CONFIRM_REG_EXPLAIN' => 'Oblige les nouveaux utilisateurs à saisir un code aléatoire correspondant à une image afin d’empêcher les inscriptions en masse.', - 'VISUAL_CONFIRM_REFRESH' => 'Autoriser les utilisateurs à rafraîchir l’image de confirmation', - 'VISUAL_CONFIRM_REFRESH_EXPLAIN' => 'Autorise les utilisateurs à demander de nouveaux codes de confirmation s’ils sont incapables de déchiffrer la confirmation visuelle durant l’inscription. Certains plugins peuvent ne pas supporter cette option.', -)); - -// Cookie Settings -$lang = array_merge($lang, array( - 'ACP_COOKIE_SETTINGS_EXPLAIN' => 'Ces informations définissent les données utilisées pour envoyer les cookies aux navigateurs de vos utilisateurs. Dans la majorité des cas, les valeurs par défaut pour les paramètres de cookie suffisent. Si vous avez besoin de les modifier, faîtes-le avec soin car des paramètres incorrects peuvent empêcher les utilisateurs de se connecter.', - - 'COOKIE_DOMAIN' => 'Domaine du cookie', - 'COOKIE_NAME' => 'Nom du cookie', - 'COOKIE_PATH' => 'Chemin du cookie', - 'COOKIE_SECURE' => 'Cookie sécurisé', - 'COOKIE_SECURE_EXPLAIN' => 'Si votre serveur fonctionne par l’intermédiaire du protocole SSL, activez cette option sinon laissez désactivé. Si vous activez cette option alors que votre serveur n’est pas sous le protocole SSL, des erreurs se produiront lors des redirections.', - 'ONLINE_LENGTH' => 'Durée d’apparition dans la liste des utilisateurs en ligne', - 'ONLINE_LENGTH_EXPLAIN' => 'Nombre de minutes après lequel les utilisateurs inactifs n’apparaîtont plus dans la liste des utilisateurs en ligne. Plus cette valeur est élevée, plus le traitement requis pour générer la liste sera long.', - 'SESSION_LENGTH' => 'Durée de la session', - 'SESSION_LENGTH_EXPLAIN' => 'Les sessions expireront après cette durée, en secondes.', -)); - -// Load Settings -$lang = array_merge($lang, array( - 'ACP_LOAD_SETTINGS_EXPLAIN' => 'Vous pouvez activer et désactiver certaines fonctions du forum pour réduire la quantité de traitement requise. Sur la plupart des serveurs, il n’est pas nécessaire de désactiver ces fonctionnalités. Cependant, sur certains systèmes ou hébergements mutualisés, il peut être préférable de désactiver certaines possibilités dont vous n’avez pas réellement besoin. Vous pouvez également indiquer des limites pour la charge du système et les sessions actives au delà desquelles le forum sera hors-ligne.', - - 'CUSTOM_PROFILE_FIELDS' => 'Champs de profil personnalisés', - 'LIMIT_LOAD' => 'Limiter la charge système', - 'LIMIT_LOAD_EXPLAIN' => 'Si la charge du système dépasse cette valeur durant une minute, le forum sera automatiquement indisponible. Une valeur à 1.0 équivaut à environ 100% d’utilisation d’un processeur. Cela ne fonctionne que sur les serveurs basés sous UNIX et où cette information est accessible. Cette valeur se réinitialise à 0 si phpBB n’arrive pas à obtenir la valeur de la charge du système.', - 'LIMIT_SESSIONS' => 'Nombre de sessions', - 'LIMIT_SESSIONS_EXPLAIN' => 'Si le nombre de sessions dépasse cette valeur durant une minute, le forum sera indisponible. Mettre “0” pour illimité.', - 'LOAD_CPF_MEMBERLIST' => 'Autoriser les styles à afficher les champs personnalisés dans la liste des membres', - 'LOAD_CPF_VIEWPROFILE' => 'Afficher les champs personnalisés dans les profils d’utilisateur', - 'LOAD_CPF_VIEWTOPIC' => 'Afficher les champs personnalisés dans les pages de sujet', - 'LOAD_USER_ACTIVITY' => 'Afficher l’activité des utilisateurs', - 'LOAD_USER_ACTIVITY_EXPLAIN' => 'Affiche les sujets/forums actifs dans les profils d’utilisateur et dans le panneau de l’utilisateur. Il est recommandé de désactiver cette option pour les forums de plus d’un million de messages.', - 'RECOMPILE_STYLES' => 'Recompiler les différents éléments du style', - 'RECOMPILE_STYLES_EXPLAIN' => 'Cherche les nouvelles mises à jour du style dans le système de fichiers et les recompile.', - 'YES_ANON_READ_MARKING' => 'Activer l’indicateur de lecture pour les visiteurs', - 'YES_ANON_READ_MARKING_EXPLAIN' => 'Enregistre l’état lu/non lu pour les visiteurs. Si désactivé, les messages sont toujours considérés comme lus pour les visiteurs.', - 'YES_BIRTHDAYS' => 'Activer l’affichage de la liste des anniversaires', - 'YES_BIRTHDAYS_EXPLAIN' => 'Si désactivé, la liste des anniversaires ne sera plus affichée. Ce paramètre n’est pris en compte que si la fonctionnalité des anniversaires est également activée.', - 'YES_JUMPBOX' => 'Activer l’affichage de l’accès rapide aux forums', - 'YES_MODERATORS' => 'Activer l’affichage des modérateurs', - 'YES_ONLINE' => 'Activer l’affichage de la liste des utilisateurs en ligne', - 'YES_ONLINE_EXPLAIN' => 'Affiche ces informations sur l’accueil, dans les forums et sujets.', - 'YES_ONLINE_GUESTS' => 'Activer l’affichage des visiteurs dans “Qui est en ligne”', - 'YES_ONLINE_GUESTS_EXPLAIN' => 'Affiche les informations concernant les visiteurs dans “Qui est en ligne”.', - 'YES_ONLINE_TRACK' => 'Activer l’affichage de l’état de connexion', - 'YES_ONLINE_TRACK_EXPLAIN' => 'Affiche dans le profil public et les sujets le statut de l’utilisateur.', - 'YES_POST_MARKING' => 'Activer les sujets pointés', - 'YES_POST_MARKING_EXPLAIN' => 'Indique si le membre a participé au sujet.', - 'YES_READ_MARKING' => 'Activer l’indicateur de lecture par le serveur', - 'YES_READ_MARKING_EXPLAIN' => 'Enregistre l’état lu/non lu dans la base plutôt que dans un cookie.', - 'YES_UNREAD_SEARCH' => 'Activer la recherche des messages non lus', -)); - -// Auth settings -$lang = array_merge($lang, array( - 'ACP_AUTH_SETTINGS_EXPLAIN' => 'phpBB supporte les plugins d’authentification ou modules. Ceux-ci vous permettent de déterminer de quelle manière les utilisateurs sont authentifiés lorsqu’ils se connectent au forum. Par défaut, trois plugins sont fournis; DB, LDAP et Apache. Toutes les méthodes ne nécessitent pas d’informations complémentaires, remplissez uniquement les champs s’ils sont appropriés à la méthode sélectionnée.', - - 'AUTH_METHOD' => 'Sélectionnez une méthode d’authentification', - - 'APACHE_SETUP_BEFORE_USE' => 'Vous devez configurer l’authentification apache avant de passer phpBB à cette méthode d’authentification. Gardez en tête que le nom d’utilisateur utilisé pour l’authentification apache doit être identique à votre nom d’utilisateur phpBB. L’authentification Apache peut seulement être utilisée avec <var>mod_php</var> (pas avec une version CGI) et <var>safe_mode</var> doit être désactivé.', - - 'LDAP_DN' => 'Base LDAP vers <var>DN</var>', - 'LDAP_DN_EXPLAIN' => 'Ceci est le “Distinguished Name”, situant toutes les informations utilisateurs, exemple: <samp>o=Mon entreprise, c=FR</samp>.', - 'LDAP_EMAIL' => 'Attribut LDAP des adresses e-mail', - 'LDAP_EMAIL_EXPLAIN' => 'Ceci est le nom de l’attribut de l’e-mail de vos utilisateurs (s’il existe) afin de régler automatiquement l’adresse e-mail des nouveaux utilisateurs. Laissez cette case vide pour que l’adresse e-mail résultante soit vide pour les utilisateurs qui se connectent pour la première fois.', - 'LDAP_INCORRECT_USER_PASSWORD' => 'La connexion au serveur LDAP a échoué avec les nom d’utilisateur et mot de passe indiqués.', - 'LDAP_NO_EMAIL' => 'Cet attribut d’adresse e-mail n’existe pas.', - 'LDAP_NO_IDENTITY' => 'Impossible de trouver un identifiant de connexion pour %s', - 'LDAP_PASSWORD' => 'Mot de passe LDAP', - 'LDAP_PASSWORD_EXPLAIN' => 'Laissez cette case vide pour utiliser une connexion anonyme. Sinon, indiquez le mot de passe pour l’utilisateur indiqué ci-dessus. Ceci est obligatoire pour les serveurs possédant un Active Directory.<br /><em><strong>ATTENTION:</strong> Ce mot de passe sera stocké en clair dans votre de base de données et sera visible par n’importe qui ayant accès à votre base de données ou à cette page de configuration.</em>', - 'LDAP_PORT' => 'Port du serveur LDAP', - 'LDAP_PORT_EXPLAIN' => 'Si vous le souhaitez, vous pouvez indiquer un port qui devrait être employé pour se connecter au serveur LDAP au lieu du port par défaut 389.', - 'LDAP_SERVER' => 'Nom du serveur LDAP', - 'LDAP_SERVER_EXPLAIN' => 'Si vous utilisez LDAP, ceci est le nom d’hôte ou l’adresse IP du serveur LDAP. Sinon, vous pouvez préciser une URL comme ldap://hostname:port/', - 'LDAP_UID' => 'Clé <var>uid</var> LDAP', - 'LDAP_UID_EXPLAIN' => 'Ceci est la clé utilisée pour la recherche d’un identifiant de connexion, exemple: <var>uid</var>, <var>sn</var>, etc.', - 'LDAP_USER' => 'Utilisateur <var>dn</var> LDAP', - 'LDAP_USER_EXPLAIN' => 'Laissez cette case vide pour utiliser une connexion anonyme. Si cela est renseigné dans phpBB, utilisez le “Distinguished Name” que vous avez indiqué lors des tentatives de connexion afin de trouver l’utilisateur correct, comme <samp>uid=Nom,ou=MonUnité,o=MaCompagnie,c=FR</samp>. Requis pour les serveurs possédant un Active Directory.', - 'LDAP_USER_FILTER' => 'Filtre de l’utilisateur LDAP', - 'LDAP_USER_FILTER_EXPLAIN' => 'Si vous le souhaitez, vous pouvez en plus limiter les objets recherchés avec des filtres additionnels. Par exemple <samp>objectClass=posixGroup</samp> deviendrait lors de l’utilisation <samp>(&(uid=$username)(objectClass=posixGroup))</samp>', -)); - -// Server Settings -$lang = array_merge($lang, array( - 'ACP_SERVER_SETTINGS_EXPLAIN' => 'Vous pouvez définir les paramètres du serveur et du domaine. Vérifiez que les données saisies soient précises, afin d’éviter que vos e-mails ne contiennent des données erronées. Lorsque vous saisissez le nom de domaine, n’oubliez pas qu’il doit contenir http:// ou un autre protocole. Ne modifiez le numéro de port que si vous savez que votre serveur utilise une valeur différente, le port 80 est correct dans la majorité des cas.', - - 'ENABLE_GZIP' => 'Activer la compression GZip', - 'ENABLE_GZIP_EXPLAIN' => 'Le contenu généré sera compressé avant d’être envoyé à l’utilisateur. Cela peut réduire le trafic mais également augmenter l’utilisation du CPU à la fois du côté serveur et client. Cela nécessite que l’extension PHP zlib soit chargée.', - 'FORCE_SERVER_VARS' => 'Forcer les paramètres URL du serveur', - 'FORCE_SERVER_VARS_EXPLAIN' => 'Si “Oui” les paramètres définis ici seront utilisés à la place des valeurs déterminées automatiquement.', - 'ICONS_PATH' => 'Emplacement des icônes de message', - 'ICONS_PATH_EXPLAIN' => 'Chemin depuis le répertoire racine de phpBB, exemple: <samp>images/icons</samp>', - 'PATH_SETTINGS' => 'Chemins d’accès', - 'RANKS_PATH' => 'Emplacement des images de rang', - 'RANKS_PATH_EXPLAIN' => 'Chemin depuis le répertoire racine de phpBB, exemple: <samp>images/ranks</samp>', - 'SCRIPT_PATH' => 'Chemin du script', - 'SCRIPT_PATH_EXPLAIN' => 'Chemin d’accès où sont situés les fichiers phpBB depuis le nom de domaine. exemple: <samp>/phpBB3</samp>', - 'SERVER_NAME' => 'Nom de domaine', - 'SERVER_NAME_EXPLAIN' => 'Nom de domaine du serveur exécutant phpBB. (par exemple: <samp>www.exemple.com</samp>)', - 'SERVER_PORT' => 'Port du serveur', - 'SERVER_PORT_EXPLAIN' => 'Port utilisé par le serveur, normalement 80, changez seulement si différent.', - 'SERVER_PROTOCOL' => 'Protocole du serveur', - 'SERVER_PROTOCOL_EXPLAIN' => 'Utilisé comme protocole du serveur si ces paramètres sont forcés. Si vide ou non forcé, le protocole est déterminé par les paramètres de cookie sécurisé. (<samp>http://</samp> ou <samp>https://</samp>)', - 'SERVER_URL_SETTINGS' => 'Paramètres des URLs du serveur', - 'SMILIES_PATH' => 'Emplacement des smileys', - 'SMILIES_PATH_EXPLAIN' => 'Chemin depuis le répertoire racine de phpBB, exemple: <samp>images/smilies</samp>', - 'UPLOAD_ICONS_PATH' => 'Emplacement des icônes de groupes d’extensions', - 'UPLOAD_ICONS_PATH_EXPLAIN' => 'Chemin depuis le répertoire racine de phpBB, exemple: <samp>images/upload_icons</samp>', - )); - -// Security Settings -$lang = array_merge($lang, array( - 'ACP_SECURITY_SETTINGS_EXPLAIN' => 'Vous pouvez définir les paramètres relatifs à l’identification et à la session.', - - 'ALL' => 'Tous', - 'ALLOW_AUTOLOGIN' => 'Autoriser les connexions automatiques', - 'ALLOW_AUTOLOGIN_EXPLAIN' => 'Détermine si les utilisateurs peuvent être connectés automatiquement quand ils visitent le forum.', - 'AUTOLOGIN_LENGTH' => 'Expiration des clés de connexion automatique (en jours)', - 'AUTOLOGIN_LENGTH_EXPLAIN' => 'Nombre de jours après lequel les clés de connexions automatiques sont supprimées ou “0” pour désactiver.', - 'BROWSER_VALID' => 'Valider le navigateur', - 'BROWSER_VALID_EXPLAIN' => 'Active la validation du navigateur pour chaque session, ce qui améliore la sécurité.', - 'CHECK_DNSBL' => 'Comparer l’IP avec la liste noire DNS', - 'CHECK_DNSBL_EXPLAIN' => 'Si activé, l’adresse IP de l’utilisateur est vérifiée par les services DNSBL à l’inscription et à la publication de messages: <a href="http://spamcop.net">spamcop.net</a> et <a href="http://www.spamhaus.org">www.spamhaus.org</a>. Cette vérification peut prendre un moment, selon la configuration du serveur. Si vous remarquez des ralentissements ou de mauvaises appréciations, il est recommandé de désactiver cette vérification.', - 'CLASS_B' => 'A.B', - 'CLASS_C' => 'A.B.C', - 'EMAIL_CHECK_MX' => 'Vérifier l’e-mail pour un enregistrement MX valide', - 'EMAIL_CHECK_MX_EXPLAIN' => 'Si activé, le domaine de l’e-mail fourni lors de l’inscription et des modifications de profil est contrôlé, pour s’assurer qu’il possède un enregistrement MX valide.', - 'FORCE_PASS_CHANGE' => 'Forcer la modification du mot de passe', - 'FORCE_PASS_CHANGE_EXPLAIN' => 'Oblige l’utilisateur à modifier son mot de passe après un certain nombre de jours. Mettre “0” pour désactiver ce comportement.', - 'FORM_TIME_MAX' => 'Temps maximum lors de l’envoi des formulaires', - 'FORM_TIME_MAX_EXPLAIN' => 'Détermine le temps dont un utilisateur dispose pour envoyer un formulaire. Mettre “-1” pour désactiver. Notez qu’un formulaire peut devenir invalide si la session expire, et cela indépendamment de ce paramètre.', - 'FORM_SID_GUESTS' => 'Lier les formulaires aux sessions des invités', - 'FORM_SID_GUESTS_EXPLAIN' => 'Si activé, les formulaires émis aux invités seront exclusifs à leur session. Cela peut entraîner quelques problèmes avec certains fournisseurs d’accès.', - 'FORWARDED_FOR_VALID' => 'Entête <var>X_FORWARDED_FOR</var> validée', - 'FORWARDED_FOR_VALID_EXPLAIN' => 'Les sessions seront seulement continuées si l’entête <var> X_FORWARDED_FOR </var> envoyée est égale à celle envoyée avec la requête précédente. L’en-tête <var>X_FORWARDED_FOR</var> vérifiera également si les adresses IP n’ont pas été bannies.', - 'IP_VALID' => 'Validation de session IP', - 'IP_VALID_EXPLAIN' => 'Détermine quelle partie de l’adresse IP des utilisateurs sera utilisée pour valider une session : <samp>Tous</samp> compare l’adresse complète, <samp>A.B.C</samp> les premiers x.x.x, <samp>A.B</samp> les premiers x.x, <samp>Aucune</samp> désactive la vérification. Pour les adresses IPv6, <samp>A.B.C</samp> compare les 4 premiers blocs et <samp>A.B</samp> les 3 premiers blocs.', - 'MAX_LOGIN_ATTEMPTS' => 'Nombre maximal de tentatives de connexion', - 'MAX_LOGIN_ATTEMPTS_EXPLAIN' => 'Après ce nombre d’échecs de connexion, l’utilisateur devra également confirmer sa connexion visuellement (confirmation visuelle).', - 'NO_IP_VALIDATION' => 'Aucune', - 'NO_REF_VALIDATION' => 'Aucune', - 'PASSWORD_TYPE' => 'Complexité du mot de passe', - 'PASSWORD_TYPE_EXPLAIN' => 'Détermine la complexité requise pour définir ou modifier un mot de passe, les options suivantes incluent les précédentes.', - 'PASS_TYPE_ALPHA' => 'Doit contenir des lettres et des chiffres', - 'PASS_TYPE_ANY' => 'Aucune condition', - 'PASS_TYPE_CASE' => 'Doit contenir des minuscules et majuscules', - 'PASS_TYPE_SYMBOL' => 'Doit contenir des symboles', - 'REF_HOST' => 'Valider uniquement l’hôte', - 'REF_PATH' => 'Valider également le chemin', - 'REFERER_VALID' => 'Valider le référant', - 'REFERER_VALID_EXPLAIN' => 'Si activé, le référant des requêtes POST sera comparé au paramétrage effectué pour le chemin de l’hôte ou du script. Ceci peut entraîner certains problèmes avec les forums utilisant plusieurs domaines ou des connexions externes.', - 'TPL_ALLOW_PHP' => 'Autoriser le PHP dans les templates', - 'TPL_ALLOW_PHP_EXPLAIN' => 'Si cette option est activée, les instructions <code>PHP</code> et <code>INCLUDEPHP</code> seront reconnues et analysées dans les templates.', -)); - -// Email Settings -$lang = array_merge($lang, array( - 'ACP_EMAIL_SETTINGS_EXPLAIN' => 'Ces informations sont utilisées lors de l’envoi d’e-mails à vos utilisateurs. Assurez-vous que l’adresse e-mail indiquée soit valide, les messages refusés ou indélivrables seront probablement retournés à cette adresse. Si votre fournisseur d’hébergement ne fournit pas nativement un service de messagerie électronique (basé sur PHP) vous pouvez envoyer directement les messages en utilisant SMTP. Cela nécessite l’adresse d’un serveur approprié (contactez votre fournisseur d’hébergement si besoin). Si le serveur requiert une authentification (et seulement dans ce cas) entrez le nom d’utilisateur, le mot de passe et la méthode d’authentification nécessaire.', - - 'ADMIN_EMAIL' => 'Adresse e-mail de retour', - 'ADMIN_EMAIL_EXPLAIN' => 'Cette adresse sera utilisée comme adresse de retour dans tous les e-mails, l’adresse e-mail du contact technique. Elle sera toujours utilisée comme l’adresse du <samp>Return-Path</samp> et de l’<samp>expéditeur</samp> dans les e-mails.', - 'BOARD_EMAIL_FORM' => 'Les utilisateurs envoient des e-mails via le forum', - 'BOARD_EMAIL_FORM_EXPLAIN' => 'Au lieu de montrer publiquement les adresses e-mails des utilisateurs, les utilisateurs peuvent envoyer des e-mails via le forum.', - 'BOARD_HIDE_EMAILS' => 'Masquer les adresses e-mails', - 'BOARD_HIDE_EMAILS_EXPLAIN' => 'Cette fonction préserve les adresses e-mails complètement privées.', - 'CONTACT_EMAIL' => 'E-mail de contact', - 'CONTACT_EMAIL_EXPLAIN' => 'Cette adresse sera utilisée lorsqu’un contact particulier est nécessaire, exemple: spam, erreur survenue, etc. Elle sera toujours utilisée comme l’adresse de l’<samp>expéditeur</samp> et <samp>adresse de réponse</samp> dans les e-mails.', - 'EMAIL_FUNCTION_NAME' => 'Nom de la fonction e-mail', - 'EMAIL_FUNCTION_NAME_EXPLAIN' => 'La fonction e-mail est utilisée pour envoyer des e-mails via PHP.', - 'EMAIL_PACKAGE_SIZE' => 'Taille des paquets d’e-mails', - 'EMAIL_PACKAGE_SIZE_EXPLAIN' => 'Ceci est le nombre d’e-mails envoyés dans un paquet. Cette option est appliquée à la file d’attente des messages; Réglez cette option à “0” si vous rencontrez des problèmes avec des notifications de messages non délivrés.', - 'EMAIL_SIG' => 'Signature de l’e-mail', - 'EMAIL_SIG_EXPLAIN' => 'Ce texte sera inséré à la fin de tous les e-mails envoyés par le forum.', - 'ENABLE_EMAIL' => 'Autoriser l’envoi d’e-mail via le forum', - 'ENABLE_EMAIL_EXPLAIN' => 'Si désactivé, aucun e-mail ne sera envoyé par le forum. <em>Notez que les paramètres d’activation de compte “par l’utilisateur” et “par l’administrateur” nécessite que ce réglage soit activé. Si vous utilisez actuellement l’un de ces deux paramètres dans les paramètres généraux d’activation, en désactivant ce réglage, les nouvelles inscriptions ne nécessiteront plus aucune activation.</em>', - 'SMTP_AUTH_METHOD' => 'Méthode d’authentification SMTP', - 'SMTP_AUTH_METHOD_EXPLAIN' => 'Seulement utilisé si un nom d’utilisateur et un mot de passe a été renseigné. Contactez votre fournisseur d’accès si vous n’êtes pas sûr de la méthode à utiliser.', - 'SMTP_CRAM_MD5' => 'CRAM-MD5', - 'SMTP_DIGEST_MD5' => 'DIGEST-MD5', - 'SMTP_LOGIN' => 'LOGIN', - 'SMTP_PASSWORD' => 'Mot de passe SMTP', - 'SMTP_PASSWORD_EXPLAIN' => 'Saisissez un mot de passe uniquement si votre serveur SMTP en requiert un.<br /><em><strong>Attention:</strong> ce mot de passe sera stocké en clair dans la base de données, visible de toute personne ayant accès à votre base de données ou à cette page de configuration.</em>', - 'SMTP_PLAIN' => 'PLAIN', - 'SMTP_POP_BEFORE_SMTP' => 'POP-AVANT-SMTP', - 'SMTP_PORT' => 'Port du serveur SMTP', - 'SMTP_PORT_EXPLAIN' => 'Modifiez cela uniquement si vous savez que votre serveur SMTP utilise un port différent.', - 'SMTP_SERVER' => 'Adresse du serveur SMTP', - 'SMTP_SETTINGS' => 'Paramètres SMTP', - 'SMTP_USERNAME' => 'Nom d’utilisateur SMTP', - 'SMTP_USERNAME_EXPLAIN' => 'Saisissez un nom d’utilisateur uniquement si votre serveur SMTP en requiert un.', - 'USE_SMTP' => 'Utiliser un serveur SMTP pour l’envoi d’e-mails', - 'USE_SMTP_EXPLAIN' => 'Sélectionnez “Oui” si vous voulez ou devez envoyer les e-mails par l’intermédiaire d’un serveur au lieu d’utiliser la fonction e-mail locale.', -)); - -// Jabber settings -$lang = array_merge($lang, array( - 'ACP_JABBER_SETTINGS_EXPLAIN' => 'Vous pouvez activer et contrôler l’utilisation de Jabber pour la messagerie instantanée et les notifications du forum. Jabber est un protocole open-source et donc librement utilisable. Certains serveurs Jabber contiennent des passerelles qui vous permettent de contacter des utilisateurs sur d’autres réseaux. Tous les serveurs n’offrent pas cette possibilité. Assurez-vous de renseigner les informations d’un compte déjà inscrit - phpBB utilisera les informations indiquées telles quelles.', - - 'JAB_ENABLE' => 'Activer Jabber', - 'JAB_ENABLE_EXPLAIN' => 'Active l’utilisation de Jabber pour l’envoi de messages et de notifications.', - 'JAB_GTALK_NOTE' => 'Notez que GTalk ne marchera pas car la fonction <samp>dns_get_record</samp> est introuvable. Cette fonction n’est pas disponible dans PHP4 et elle n’est pas implémentée sur les environnements Windows. Cela ne fonctionne pas non plus sur les système basés sous BSD, y compris Mac OS.', - 'JAB_PACKAGE_SIZE' => 'Taille des paquets Jabber', - 'JAB_PACKAGE_SIZE_EXPLAIN' => 'Nombre de messages envoyés dans un paquet. Si mis à “0”, le message est envoyé immédiatement et ne sera pas placé en file d’attente.', - 'JAB_PASSWORD' => 'Mot de passe Jabber', - 'JAB_PASSWORD_EXPLAIN' => '<em><strong>Attention:</strong> ce mot de passe sera stocké en clair dans la base de données, visible de toute personne ayant accès à votre base de données ou à cette page de configuration.</em>', - 'JAB_PORT' => 'Port Jabber', - 'JAB_PORT_EXPLAIN' => 'Laissez cette case vide à moins que vous sachiez qu’il ne s’agisse pas du port 5222.', - 'JAB_SERVER' => 'Serveur Jabber', - 'JAB_SERVER_EXPLAIN' => 'Consultez %sjabber.org%s pour la liste des serveurs.', - 'JAB_SETTINGS_CHANGED' => 'Les paramètres Jabber ont été modifiés.', - 'JAB_USE_SSL' => 'Utiliser SSL pour se connecter', - 'JAB_USE_SSL_EXPLAIN' => 'Si activé, une connexion sécurisée tentera d’être établie. Le port de Jabber sera modifié en 5223, si le port 5222 est utilisé.', - 'JAB_USERNAME' => 'Nom d’utilisateur Jabber ou JID', - 'JAB_USERNAME_EXPLAIN' => 'Indiquez un nom d’utilisateur inscrit ou un JID valide. La validité du nom d’utilisateur ne sera pas vérifiée. Si vous ne spécifiez qu’un nom d’utilisateur, votre JID sera calculé à partir de ce nom et de celui du serveur spécifié ci-dessus. Sinon, spécifiez un JID valide, par exemple utilisateur@jabber.org.', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/bots.php b/phpBB/language/fr/acp/bots.php deleted file mode 100644 index 9c814f0e58..0000000000 --- a/phpBB/language/fr/acp/bots.php +++ /dev/null @@ -1,72 +0,0 @@ -<?php -/** -* -* acp_bots [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: bots.php, v1.24 2007/11/22 11:07:01 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -// Bot settings -$lang = array_merge($lang, array( - 'BOTS' => 'Gestion des robots', - 'BOTS_EXPLAIN' => 'Les “robots” ou “aspirateurs” sont des agents automatisés le plus souvent utilisés par les moteurs de recherches pour mettre à jour leurs bases de données. Etant donné que ceux-ci font rarement une utilisation appropriée des sessions, ils peuvent fausser le compteur de visiteurs, augmenter la charge du serveur et parfois ne pas indexer correctement les sites. Vous pouvez définir un type spécial d’utilisateurs afin de résoudre ces problèmes.', - 'BOT_ACTIVATE' => 'Activer', - 'BOT_ACTIVE' => 'Robot actif', - 'BOT_ADD' => 'Ajouter un robot', - 'BOT_ADDED' => 'Nouveau robot ajouté.', - 'BOT_AGENT' => 'Agent correspondant', - 'BOT_AGENT_EXPLAIN' => 'Une chaîne de caractères correspondante à l’agent du robot, les correspondances partielles sont autorisées.', - 'BOT_DEACTIVATE' => 'Désactiver', - 'BOT_DELETED' => 'Robot supprimé.', - 'BOT_EDIT' => 'Editer les robots', - 'BOT_EDIT_EXPLAIN' => 'Cette page vous permet d’éditer un robot existant ou d’en ajouter un nouveau. Vous pouvez définir une chaîne de caractères pour l’agent et/ou une ou plusieurs adresses IPs (ou une série d’adresses) correspondantes. Faites attention en définissant la chaîne de caractères correspondants à l’agent ou aux adresses. Vous pouvez également indiquer un style et une langue que le robot visualisera lorsqu’il sera sur le forum. Cela peut vous permettre de réduire la bande passante utilisée en configurant un style simple pour les robots. N’oubliez pas de mettre les permissions appropriées au groupe d’utilisateurs spécial robot.', - 'BOT_LANG' => 'Langue du robot', - 'BOT_LANG_EXPLAIN' => 'Langue présentée au robot lors de son passage.', - 'BOT_LAST_VISIT' => 'Dernière visite', - 'BOT_IP' => 'Adresse IP du robot', - 'BOT_IP_EXPLAIN' => 'Les correspondances partielles sont autorisées, séparez les adresses par une virgule.', - 'BOT_NAME' => 'Nom du robot', - 'BOT_NAME_EXPLAIN' => 'Utilisé uniquement pour information.', - 'BOT_NAME_TAKEN' => 'Ce nom est déjà utilisé sur votre forum et ne peut être utilisé pour le robot.', - 'BOT_NEVER' => 'Jamais', - 'BOT_STYLE' => 'Style du robot', - 'BOT_STYLE_EXPLAIN' => 'Le style utilisé par le robot sur le forum.', - 'BOT_UPDATED' => 'Robot mis à jour.', - - 'ERR_BOT_AGENT_MATCHES_UA' => 'L’agent du robot indiqué est identique à celui que vous utilisez actuellement. Fournissez un autre agent pour ce robot.', - 'ERR_BOT_NO_IP' => 'Les adresses IPs que vous avez fournies sont invalides ou le nom de domaine ne peut pas être résolu.', - 'ERR_BOT_NO_MATCHES' => 'Vous devez fournir au moins un agent ou une IP pour correspondre à ce robot.', - - 'NO_BOT' => 'Il n’y a pas de robot avec cette ID.', - 'NO_BOT_GROUP' => 'Impossible de trouver le groupe spécial du robot.', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/common.php b/phpBB/language/fr/acp/common.php deleted file mode 100644 index ff24d354dc..0000000000 --- a/phpBB/language/fr/acp/common.php +++ /dev/null @@ -1,736 +0,0 @@ -<?php -/** -* -* acp common [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: common.php, v1.27 2010/02/09 19:07:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -// Common -$lang = array_merge($lang, array( - 'ACP_ADMINISTRATORS' => 'Administrateurs', - 'ACP_ADMIN_LOGS' => 'Journal d’administration', - 'ACP_ADMIN_ROLES' => 'Modèles d’administration', - 'ACP_ATTACHMENTS' => 'Fichiers joints', - 'ACP_ATTACHMENT_SETTINGS' => 'Paramètres des fichiers joints', - 'ACP_AUTH_SETTINGS' => 'Authentification', - 'ACP_AUTOMATION' => 'Automatique', - 'ACP_AVATAR_SETTINGS' => 'Paramètres des avatars', - - 'ACP_BACKUP' => 'Sauvegarder', - 'ACP_BAN' => 'Bannissement', - 'ACP_BAN_EMAILS' => 'Bannissement d’e-mails', - 'ACP_BAN_IPS' => 'Bannissement d’IPs', - 'ACP_BAN_USERNAMES' => 'Bannissement d’utilisateurs', - 'ACP_BBCODES' => 'BBCodes', - 'ACP_BOARD_CONFIGURATION' => 'Configuration générale', - 'ACP_BOARD_FEATURES' => 'Fonctionnalités du forum', - 'ACP_BOARD_MANAGEMENT' => 'Gestion du forum', - 'ACP_BOARD_SETTINGS' => 'Configuration du forum', - 'ACP_BOTS' => 'Robots', - - 'ACP_CAPTCHA' => 'CAPTCHA', - - 'ACP_CAT_DATABASE' => 'Base de données', - 'ACP_CAT_DOT_MODS' => '.Mods', - 'ACP_CAT_FORUMS' => 'Forums', - 'ACP_CAT_GENERAL' => 'Général', - 'ACP_CAT_MAINTENANCE' => 'Maintenance', - 'ACP_CAT_PERMISSIONS' => 'Permissions', - 'ACP_CAT_POSTING' => 'Messages', - 'ACP_CAT_STYLES' => 'Styles', - 'ACP_CAT_SYSTEM' => 'Système', - 'ACP_CAT_USERGROUP' => 'Utilisateurs et groupes', - 'ACP_CAT_USERS' => 'Utilisateurs', - 'ACP_CLIENT_COMMUNICATION' => 'Communication', - 'ACP_COOKIE_SETTINGS' => 'Paramètres de cookie', - 'ACP_CRITICAL_LOGS' => 'Journal des erreurs', - 'ACP_CUSTOM_PROFILE_FIELDS' => 'Champs de profil personnalisés', - - 'ACP_DATABASE' => 'Gestion de la base de données', - 'ACP_DISALLOW' => 'Interdit', - 'ACP_DISALLOW_USERNAMES' => 'Interdire des noms d’utilisateurs', - - 'ACP_EMAIL_SETTINGS' => 'Paramètres des e-mails', - 'ACP_EXTENSION_GROUPS' => 'Gérer les groupes d’extensions', - - 'ACP_FORUM_BASED_PERMISSIONS' => 'Permissions basiques des forums', - 'ACP_FORUM_LOGS' => 'Journaux du forum', - 'ACP_FORUM_MANAGEMENT' => 'Gestion du forum', - 'ACP_FORUM_MODERATORS' => 'Modérateurs des forums', - 'ACP_FORUM_PERMISSIONS' => 'Permissions des forums', - 'ACP_FORUM_PERMISSIONS_COPY' => 'Copier les permissions de forum', - 'ACP_FORUM_ROLES' => 'Modèles de forum', - - 'ACP_GENERAL_CONFIGURATION' => 'Configuration générale', - 'ACP_GENERAL_TASKS' => 'Tâches générales', - 'ACP_GLOBAL_MODERATORS' => 'Modérateurs globaux', - 'ACP_GLOBAL_PERMISSIONS' => 'Permissions globales', - 'ACP_GROUPS' => 'Groupes', - 'ACP_GROUPS_FORUM_PERMISSIONS' => 'Permissions groupes/forums', - 'ACP_GROUPS_MANAGE' => 'Gérer les groupes', - 'ACP_GROUPS_MANAGEMENT' => 'Gestion des groupes', - 'ACP_GROUPS_PERMISSIONS' => 'Permissions des groupes', - - 'ACP_ICONS' => 'Icônes de sujet', - 'ACP_ICONS_SMILIES' => 'Icônes et smileys de sujet', - 'ACP_IMAGESETS' => 'Packs d’images', - 'ACP_INACTIVE_USERS' => 'Utilisateurs inactifs', - 'ACP_INDEX' => 'Index de l’administration', - - 'ACP_JABBER_SETTINGS' => 'Paramètres Jabber', - - 'ACP_LANGUAGE' => 'Gestion des langues', - 'ACP_LANGUAGE_PACKS' => 'Langues', - 'ACP_LOAD_SETTINGS' => 'Paramètres de charge', - 'ACP_LOGGING' => 'Se connecte', - - 'ACP_MAIN' => 'Index de l’administration', - 'ACP_MANAGE_EXTENSIONS' => 'Gérer les extensions', - 'ACP_MANAGE_FORUMS' => 'Gérer les forums', - 'ACP_MANAGE_RANKS' => 'Gérer les rangs', - 'ACP_MANAGE_REASONS' => 'Gérer les rapports/raisons', - 'ACP_MANAGE_USERS' => 'Gérer les utilisateurs', - 'ACP_MASS_EMAIL' => 'E-mail de masse', - 'ACP_MESSAGES' => 'Messages', - 'ACP_MESSAGE_SETTINGS' => 'Messagerie privée', - 'ACP_MODULE_MANAGEMENT' => 'Gestion de modules', - 'ACP_MOD_LOGS' => 'Journal de modération', - 'ACP_MOD_ROLES' => 'Modèles de modération', - - 'ACP_NO_ITEMS' => 'Il n’y a actuellement aucun élément.', - - 'ACP_ORPHAN_ATTACHMENTS' => 'Fichiers joints orphelins', - - 'ACP_PERMISSIONS' => 'Permissions', - 'ACP_PERMISSION_MASKS' => 'Masques de permission', - 'ACP_PERMISSION_ROLES' => 'Modèles de permission', - 'ACP_PERMISSION_TRACE' => 'Trace de permission', - 'ACP_PHP_INFO' => 'Informations PHP', - 'ACP_POST_SETTINGS' => 'Paramètres des messages', - 'ACP_PRUNE_FORUMS' => 'Délester les forums', - 'ACP_PRUNE_USERS' => 'Délester des utilisateurs', - 'ACP_PRUNING' => 'Délestage', - - 'ACP_QUICK_ACCESS' => 'Accès rapide', - - 'ACP_RANKS' => 'Rangs', - 'ACP_REASONS' => 'Rapports/raisons', - 'ACP_REGISTER_SETTINGS' => 'Paramètres des inscriptions', - - 'ACP_RESTORE' => 'Restaurer', - 'ACP_FEED' => 'Gestion des flux', - 'ACP_FEED_SETTINGS' => 'Paramètres des flux', - - 'ACP_SEARCH' => 'Recherche', - 'ACP_SEARCH_INDEX' => 'Index de recherche', - 'ACP_SEARCH_SETTINGS' => 'Paramètres de recherche', - 'ACP_SEND_STATISTICS' => 'Envoyer un rapport de statistiques', - - 'ACP_SECURITY_SETTINGS' => 'Paramètres de sécurité', - 'ACP_SERVER_CONFIGURATION' => 'Configuration du serveur', - 'ACP_SERVER_SETTINGS' => 'Paramètres du serveur', - 'ACP_SIGNATURE_SETTINGS' => 'Paramètres de signature', - 'ACP_SMILIES' => 'Smileys', - 'ACP_STYLE_COMPONENTS' => 'Composants des styles', - 'ACP_STYLE_MANAGEMENT' => 'Gestion de style', - 'ACP_STYLES' => 'Styles', - 'ACP_SUBMIT_CHANGES' => 'Soumettre les changements', - - 'ACP_TEMPLATES' => 'Templates', - 'ACP_THEMES' => 'Thèmes', - - 'ACP_UPDATE' => 'Mise à jour', - 'ACP_USERS_FORUM_PERMISSIONS' => 'Permissions utilisateurs/forums', - 'ACP_USERS_LOGS' => 'Journal d’utilisateur', - 'ACP_USERS_PERMISSIONS' => 'Permissions des utilisateurs', - 'ACP_USER_ATTACH' => 'Fichiers joints', - 'ACP_USER_AVATAR' => 'Avatar', - 'ACP_USER_FEEDBACK' => 'Fiche de suivi', - 'ACP_USER_GROUPS' => 'Groupes', - 'ACP_USER_MANAGEMENT' => 'Gestion utilisateur', - 'ACP_USER_OVERVIEW' => 'Vue d’ensemble', - 'ACP_USER_PERM' => 'Permissions', - 'ACP_USER_PREFS' => 'Préférences', - 'ACP_USER_PROFILE' => 'Profil', - 'ACP_USER_RANK' => 'Rang', - 'ACP_USER_ROLES' => 'Modèles d’utilisateur', - 'ACP_USER_SECURITY' => 'Sécurité utilisateur', - 'ACP_USER_SIG' => 'Signature', - - 'ACP_USER_WARNINGS' => 'Avertissements', - - 'ACP_VC_SETTINGS' => 'Paramètres de la confirmation visuelle', - 'ACP_VC_CAPTCHA_DISPLAY' => 'Aperçu CAPTCHA', - 'ACP_VERSION_CHECK' => 'Vérifier les mises à jour', - 'ACP_VIEW_ADMIN_PERMISSIONS' => 'Permissions d’administration', - 'ACP_VIEW_FORUM_MOD_PERMISSIONS' => 'Permissions de modération des forums', - 'ACP_VIEW_FORUM_PERMISSIONS' => 'Permissions basiques des forums', - 'ACP_VIEW_GLOBAL_MOD_PERMISSIONS' => 'Permissions des modérateurs globaux', - 'ACP_VIEW_USER_PERMISSIONS' => 'Permissions basiques des utilisateurs', - - 'ACP_WORDS' => 'Censure', - - 'ACTION' => 'Action', - 'ACTIONS' => 'Actions', - 'ACTIVATE' => 'Activer', - 'ADD' => 'Ajouter', - 'ADMIN' => 'Administration', - 'ADMIN_INDEX' => 'Index de l’administration', - 'ADMIN_PANEL' => 'Panneau d’administration', - 'ADM_LOGOUT' => 'Déconnexion ACP', - 'ADM_LOGGED_OUT' => 'Vous avez été déconnecté du panneau d’administration', - - 'BACK' => 'Retour', - - 'COLOUR_SWATCH' => 'Palette de couleurs', - 'CONFIG_UPDATED' => 'La configuration a été mise à jour.', - - 'DEACTIVATE' => 'Désactiver', - 'DIRECTORY_DOES_NOT_EXIST' => 'Le chemin indiqué “%s” n’existe pas.', - 'DIRECTORY_NOT_DIR' => 'Le chemin indiqué “%s” n’est pas un répertoire.', - 'DIRECTORY_NOT_WRITABLE' => 'Le chemin indiqué “%s” n’est pas inscriptible.', - 'DISABLE' => 'Désactiver', - 'DOWNLOAD' => 'Télécharger', - 'DOWNLOAD_AS' => 'Télécharger sous', - 'DOWNLOAD_STORE' => 'Télécharger ou stocker le fichier joint', - 'DOWNLOAD_STORE_EXPLAIN' => 'Vous pouvez directement télécharger le fichier joint ou le sauvegarder dans le répertoire <samp>store/</samp>.', - - 'EDIT' => 'Editer', - 'ENABLE' => 'Activer', - 'EXPORT_DOWNLOAD' => 'Téléchargement', - 'EXPORT_STORE' => 'Stockage', - - 'GENERAL_OPTIONS' => 'Options générales', - 'GENERAL_SETTINGS' => 'Paramètres généraux', - 'GLOBAL_MASK' => 'Masque de permission globale', - - 'INSTALL' => 'Installer', - 'IP' => 'Adresse IP', - 'IP_HOSTNAME' => 'Adresses IPs ou noms d’hôtes', - - 'LOGGED_IN_AS' => 'Vous êtes connecté en tant que:', - 'LOGIN_ADMIN' => 'Vous devez être connecté pour administrer le forum.', - 'LOGIN_ADMIN_CONFIRM' => 'Vous devez vous reconnecter pour administrer le forum.', - 'LOGIN_ADMIN_SUCCESS' => 'Vous avez été authentifié et vous allez être redirigé vers le panneau d’administration.', - 'LOOK_UP_FORUM' => 'Sélectionner un forum', - 'LOOK_UP_FORUMS_EXPLAIN'=> 'Vous pouvez sélectionner plus d’un forum.', - - 'MANAGE' => 'Gérer', - 'MENU_TOGGLE' => 'Cacher ou afficher le menu latéral', - 'MORE' => 'Plus', // Not used at the moment - 'MORE_INFORMATION' => 'Plus d’informations »', - 'MOVE_DOWN' => 'Descendre', - 'MOVE_UP' => 'Monter', - - 'NOTIFY' => 'Notification', - 'NO_ADMIN' => 'Vous n’êtes pas autorisé à administrer ce forum.', - 'NO_EMAILS_DEFINED' => 'Aucun e-mail valide indiquée.', - 'NO_PASSWORD_SUPPLIED' => 'Vous devez indiquer votre mot de passe pour accéder au panneau d’administration', - - 'OFF' => 'Off', - 'ON' => 'On', - - 'PARSE_BBCODE' => 'Autoriser les BBCodes', - 'PARSE_SMILIES' => 'Autoriser les smileys', - 'PARSE_URLS' => 'Autoriser les liens', - 'PERMISSIONS_TRANSFERRED' => 'Les permissions ont été transférées', - 'PERMISSIONS_TRANSFERRED_EXPLAIN' => 'Vous utilisez actuellement les permissions de %1$s. Vous pouvez naviguer sur le forum avec ses permissions mais ne pouvez pas accéder au panneau d’administration car les permissions d’administration ne sont pas transférables. Vous pouvez <a href="%2$s"><strong>réinitialiser vos permissions</strong></a> à tout moment.', - 'PROCEED_TO_ACP' => '%sAller au panneau d’administration%s', - - 'REMIND' => 'Rappeler', - 'RESYNC' => 'Resynchroniser', - 'RETURN_TO' => 'Retour vers', - - 'SELECT_ANONYMOUS' => 'Sélectionner l’utilisateur invité', - 'SELECT_OPTION' => 'Sélectionner une option', - - 'SETTING_TOO_LOW' => 'La valeur indiquée pour le paramètre “%1$s” est trop faible. La valeur minimale acceptée est de %2$d.', - 'SETTING_TOO_BIG' => 'La valeur indiquée pour le paramètre “%1$s” est trop élevée. La valeur maximale acceptée est de %2$d.', - 'SETTING_TOO_LONG' => 'La valeur indiquée pour le paramètre “%1$s” est trop longue. La longueur maximale acceptée est de %2$d.', - 'SETTING_TOO_SHORT' => 'La valeur indiquée pour le paramètre “%1$s” est trop courte. La longueur minimale acceptée est de %2$d.', - 'SHOW_ALL_OPERATIONS' => 'Afficher toutes les opérations', - - 'UCP' => 'Panneau de l’utilisateur', - 'USERNAMES_EXPLAIN' => 'Indiquez un nom d’utilisateur par ligne', - 'USER_CONTROL_PANEL' => 'Panneau de l’utilisateur', - - 'WARNING' => 'Avertissement', -)); - -// PHP info -$lang = array_merge($lang, array( - 'ACP_PHP_INFO_EXPLAIN' => 'Cette page contient des détails sur la version installée de PHP. Elle comprend les modules chargés, les variables existantes et les paramètres par défaut et peut être utile pour analyser des problèmes. Soyez attentifs car certains hébergeurs limitent l’information affichée pour des raisons de sécurité. Il est recommandé de ne pas communiquer les informations de cette page, à moins qu’un membre de l’équipe ne les demande.', - - 'NO_PHPINFO_AVAILABLE' => 'Impossible d’afficher les informations PHP. La fonction Phpinfo() a été désactivée pour des raisons de sécurité.', -)); - -// Logs -$lang = array_merge($lang, array( - 'ACP_ADMIN_LOGS_EXPLAIN' => 'Liste des actions effectuées par les administrateurs. Vous pouvez trier par nom, date, IP ou par action. Si vous avez les permissions nécessaires vous pouvez aussi effacer individuellement les opérations ou le journal complet.', - 'ACP_CRITICAL_LOGS_EXPLAIN' => 'Liste des actions effectuées par le système. Ce journal liste les informations que vous pouvez utiliser pour résoudre des problèmes particuliers, comme le non-acheminement des e-mails. Vous pouvez trier par nom d’utilisateur, date, IP ou action. Si vous avez les permissions nécessaires vous pouvez aussi effacer individuellement les opérations ou le journal complet.', - 'ACP_MOD_LOGS_EXPLAIN' => 'Liste des actions effectuées par les modérateurs, sélectionnez un forum dans la liste ci-dessous. Vous pouvez trier par nom d’utilisateur, date, IP ou action. Si vous avez les permissions nécessaires vous pouvez aussi effacer individuellement les opérations ou le journal complet.', - 'ACP_USERS_LOGS_EXPLAIN' => 'Liste des actions effectuées par les utilisateurs ou sur les utilisateurs.', - 'ALL_ENTRIES' => 'Toutes les entrées', - - 'DISPLAY_LOG' => 'Affiche les entrées précédentes', - - 'NO_ENTRIES' => 'Aucune entrée pour la période indiquée', - - 'SORT_IP' => 'Addresse IP', - 'SORT_DATE' => 'Date', - 'SORT_ACTION' => 'Action enregistrée', -)); - -// Index page -$lang = array_merge($lang, array( - 'ADMIN_INTRO' => 'Merci d’avoir choisi phpBB comme solution pour votre forum. Cet écran vous donnera un rapide aperçu des diverses statistiques de votre forum. Les liens situés sur le volet à gauche de cet écran vous permettront de contrôler tous les aspects de votre forum. Chaque page contiendra les instructions nécessaires concernant l’utilisation des outils.', - 'ADMIN_LOG' => 'Journal des actions des administrateurs', - 'ADMIN_LOG_INDEX_EXPLAIN' => 'Ceci est un aperçu des cinq dernières actions effectuées par les administrateurs. Une liste complète des actions est disponible en vous rendant dans le menu approprié de l’administration ou en cliquant directement sur le lien ci-dessous.', - 'AVATAR_DIR_SIZE' => 'Taille du répertoire de stockage des avatars', - - 'BOARD_STARTED' => 'Date d’ouverture du forum', - 'BOARD_VERSION' => 'Version du forum', - - 'DATABASE_SERVER_INFO' => 'Serveur de base de données', - 'DATABASE_SIZE' => 'Taille de la base de données', - - 'FILES_PER_DAY' => 'Moyenne journalière de fichiers joints', - 'FORUM_STATS' => 'Statistiques du forum', - - 'GZIP_COMPRESSION' => 'Compression GZip', - - 'NOT_AVAILABLE' => 'Indisponible', - 'NUMBER_FILES' => 'Nombre de fichiers joints', - 'NUMBER_POSTS' => 'Nombre de messages', - 'NUMBER_TOPICS' => 'Nombre de sujets', - 'NUMBER_USERS' => 'Nombre d’utilisateurs', - 'NUMBER_ORPHAN' => 'Nombre de fichiers joints orphelins', - - 'PHP_VERSION_OLD' => 'La version de PHP utilisée sur ce serveur ne sera plus supportée par les futures versions de phpBB. %sPlus d’informations%s', - - 'POSTS_PER_DAY' => 'Moyenne journalière de messages', - - 'PURGE_CACHE' => 'Vider le cache', - 'PURGE_CACHE_CONFIRM' => 'Êtes-vous sûr de vouloir vider le cache?', - 'PURGE_CACHE_EXPLAIN' => 'Vide tous les fichiers du cache, cela inclut tous les fichiers ou requêtes des templates mis en cache.', - 'PURGE_SESSIONS' => 'Vider toutes les sessions', - 'PURGE_SESSIONS_CONFIRM' => 'Êtes-vous sûr de vouloir vider toutes les sessions? Cela aura pour effet de déconnecter tous les utilisateurs.', - 'PURGE_SESSIONS_EXPLAIN' => 'Vider toutes les sessions. Cela aura pour effet de déconnecter tous les utilisateurs en vidant la table des sessions.', - - 'RESET_DATE' => 'Réinitialiser la date d’ouverture du forum', - 'RESET_DATE_CONFIRM' => 'Êtes-vous sûr de vouloir réinitialiser la date d’ouverture du forum?', - 'RESET_ONLINE' => 'Réinitialiser le record des utilisateurs connectés', - 'RESET_ONLINE_CONFIRM' => 'Êtes-vous sûr de vouloir réinitialiser le record des utilisateurs connectés?', - 'RESYNC_POSTCOUNTS' => 'Resynchroniser les compteurs de message', - 'RESYNC_POSTCOUNTS_EXPLAIN' => 'Seuls les messages existants seront pris en compte. Les messages délestés ne seront pas pris en compte.', - 'RESYNC_POSTCOUNTS_CONFIRM' => 'Êtes-vous sûr de vouloir resynchroniser les compteurs de message d’utilisateur?', - 'RESYNC_POST_MARKING' => 'Resynchroniser les sujets pointés', - 'RESYNC_POST_MARKING_CONFIRM' => 'Êtes-vous sûr de vouloir resynchroniser les sujets pointés?', - 'RESYNC_POST_MARKING_EXPLAIN' => 'Décoche tous les sujets et coche correctement les sujets ayant eus une activité durant les six derniers mois.', - 'RESYNC_STATS' => 'Resynchroniser les statistiques', - 'RESYNC_STATS_CONFIRM' => 'Êtes-vous sûr de vouloir resynchroniser les statistiques?', - 'RESYNC_STATS_EXPLAIN' => 'Recalcule le nombre total de messages, sujets, utilisateurs et fichiers joints.', - 'RUN' => 'Exécuter maintenant', - - 'STATISTIC' => 'Statistiques', - 'STATISTIC_RESYNC_OPTIONS' => 'Resynchroniser ou réinitialiser les statistiques', - - 'TOPICS_PER_DAY' => 'Moyenne journalière de sujets', - - 'UPLOAD_DIR_SIZE' => 'Taille des fichiers joints', - 'USERS_PER_DAY' => 'Moyenne journalière d’inscriptions', - - 'VALUE' => 'Valeur', - 'VERSIONCHECK_FAIL' => 'Echec pour obtenir l’information de la dernière version.', - 'VERSIONCHECK_FORCE_UPDATE' => 'Re-contrôler la version', - 'VIEW_ADMIN_LOG' => 'Voir le journal d’administration', - 'VIEW_INACTIVE_USERS' => 'Voir les utilisateurs inactifs', - - 'WELCOME_PHPBB' => 'Bienvenue dans phpBB', - 'WRITABLE_CONFIG' => 'Votre fichier de configuration (config.php) est actuellement accessible en écriture par tout le monde. Nous vous recommandons fortement de modifier les permissions en 640, ou au moins 644 (par exemple <a href="http://fr.wikipedia.org/wiki/Chmod" rel="external">chmod</a> 640 config.php).', -)); - -// Inactive Users -$lang = array_merge($lang, array( - 'INACTIVE_DATE' => 'Date d’inactivité', - 'INACTIVE_REASON' => 'Raison', - 'INACTIVE_REASON_MANUAL' => 'Compte désactivé par un administrateur', - 'INACTIVE_REASON_PROFILE' => 'Informations du profil mises à jour', - 'INACTIVE_REASON_REGISTER' => 'Nouveau compte', - 'INACTIVE_REASON_REMIND' => 'Réactivation forcée', - 'INACTIVE_REASON_UNKNOWN' => 'Inconnu', - 'INACTIVE_USERS' => 'Utilisateurs inactifs', - 'INACTIVE_USERS_EXPLAIN' => 'Ceci est la liste des utilisateurs récemment inscrits, mais encore inactifs. Vous pouvez activer, supprimer ou contacter (en envoyant un e-mail) ces utilisateurs si vous le désirez.', - 'INACTIVE_USERS_EXPLAIN_INDEX' => 'Ceci est la liste des 10 dernières inscriptions restées inactives. Une liste complète des utilisateurs inactifs est disponible en vous rendant dans le menu approprié de l’administration ou en cliquant directement sur le lien ci-dessous.', - - 'NO_INACTIVE_USERS' => 'Aucun utilisateur inactif', - - 'SORT_INACTIVE' => 'Date d’inactivité', - 'SORT_LAST_VISIT' => 'Dernière visite', - 'SORT_REASON' => 'Raison', - 'SORT_REG_DATE' => 'Date d’inscription', - 'SORT_LAST_REMINDER'=> 'Dernier rappel', - 'SORT_REMINDER' => 'Rappel envoyé', - - 'USER_IS_INACTIVE' => 'L’utilisateur est inactif', -)); - -// Send statistics page -$lang = array_merge($lang, array( - 'EXPLAIN_SEND_STATISTICS' => 'Merci d’envoyer les informations au sujet de votre serveur, de la configuration de votre forum à phpBB pour une analyse statistique. Toute information qui permettrait de vous identifier vous ou votre site sera supprimée - Les données sont complètement <strong>anonymes</strong>. Nous baserons nos décisions au sujet des futures versions de phpBB sur cette information. Les statistiques seront disponibles publiquement. Nous partageons aussi ces données avec le projet PHP, language de programmation avec lequel phpBB est conçu.', - 'EXPLAIN_SHOW_STATISTICS' => 'En utilisant le bouton ci-dessous, vous pouvez prévisualiser toutes les variables qui nous seront transmises.', - 'DONT_SEND_STATISTICS' => 'Retourner à l’ACP si vous ne souhaitez pas envoyer de statistiques à phpBB.', - 'GO_ACP_MAIN' => 'Aller à la page de démarrage de l’ACP', - 'HIDE_STATISTICS' => 'Masquer les détails', - 'SEND_STATISTICS' => 'Envoyer le rapport de statistiques', - 'SHOW_STATISTICS' => 'Afficher les détails', - 'THANKS_SEND_STATISTICS' => 'Merci de nous avoir transmis votre rapport de statistiques.', -)); - -// Log Entries -$lang = array_merge($lang, array( - 'LOG_ACL_ADD_USER_GLOBAL_U_' => '<strong>Ajout/modification des permissions utilisateur</strong><br />» %s', - 'LOG_ACL_ADD_GROUP_GLOBAL_U_' => '<strong>Ajout/modification des permissions utilisateur des groupes</strong><br />» %s', - 'LOG_ACL_ADD_USER_GLOBAL_M_' => '<strong>Ajout/modification des permissions de modérateur global des utilisateurs</strong><br />» %s', - 'LOG_ACL_ADD_GROUP_GLOBAL_M_' => '<strong>Ajout/modification des permissions de modérateur global des groupes</strong><br />» %s', - 'LOG_ACL_ADD_USER_GLOBAL_A_' => '<strong>Ajout/modification des permissions d’administration des utilisateurs</strong><br />» %s', - 'LOG_ACL_ADD_GROUP_GLOBAL_A_' => '<strong>Ajout/modification des permissions d’administration des groupes</strong><br />» %s', - - 'LOG_ACL_ADD_ADMIN_GLOBAL_A_' => '<strong>Ajout/modification des administrateurs</strong><br />» %s', - 'LOG_ACL_ADD_MOD_GLOBAL_M_' => '<strong>Ajout/modification des modérateurs globaux</strong><br />» %s', - - 'LOG_ACL_ADD_USER_LOCAL_F_' => '<strong>Ajout/modification des accès utilisateurs aux forums</strong> de %1$s<br />» %2$s', - 'LOG_ACL_ADD_USER_LOCAL_M_' => '<strong>Ajout/modification des accès de modération aux forums</strong> de %1$s<br />» %2$s', - 'LOG_ACL_ADD_GROUP_LOCAL_F_' => '<strong>Ajout/modification des accès de groupes aux forums</strong> de %1$s<br />» %2$s', - 'LOG_ACL_ADD_GROUP_LOCAL_M_' => '<strong>Ajout/modification des accès de modération aux forums des groupes</strong> de %1$s<br />» %2$s', - - 'LOG_ACL_ADD_MOD_LOCAL_M_' => '<strong>Ajout/modification des modérateurs</strong> de %1$s<br />» %2$s', - 'LOG_ACL_ADD_FORUM_LOCAL_F_' => '<strong>Ajout/modification des permissions de forum</strong> de %1$s<br />» %2$s', - - 'LOG_ACL_DEL_ADMIN_GLOBAL_A_' => '<strong>Suppression de l’administrateur</strong><br />» %s', - 'LOG_ACL_DEL_MOD_GLOBAL_M_' => '<strong>Suppression d’un modérateur global</strong><br />» %s', - 'LOG_ACL_DEL_MOD_LOCAL_M_' => '<strong>Suppression d’un modérateur</strong> de %1$s<br />» %2$s', - 'LOG_ACL_DEL_FORUM_LOCAL_F_' => '<strong>Suppression des permissions au forum des groupes/utilisateurs</strong> de %1$s<br />» %2$s', - - 'LOG_ACL_TRANSFER_PERMISSIONS' => '<strong>Transfert des permissions de</strong><br />» %s', - 'LOG_ACL_RESTORE_PERMISSIONS' => '<strong>Restauration de vos permissions après l’utilisation des permissions de</strong><br />» %s', - - 'LOG_ADMIN_AUTH_FAIL' => '<strong>Echec de connexion à l’administration</strong>', - 'LOG_ADMIN_AUTH_SUCCESS' => '<strong>Connexion réussie à l’administration</strong>', - - 'LOG_ATTACHMENTS_DELETED' => '<strong>Suppression de fichiers joints d’un utilisateur</strong><br />» %s', - - 'LOG_ATTACH_EXT_ADD' => '<strong>Ajout/modification d’extension de fichier joint</strong><br />» %s', - 'LOG_ATTACH_EXT_DEL' => '<strong>Suppression d’extension de fichier joint</strong><br />» %s', - 'LOG_ATTACH_EXT_UPDATE' => '<strong>Mise à jour d’extension de fichier joint</strong><br />» %s', - 'LOG_ATTACH_EXTGROUP_ADD' => '<strong>Ajout d’un groupe d’extensions de fichier joint</strong><br />» %s', - 'LOG_ATTACH_EXTGROUP_EDIT' => '<strong>Modification d’un groupe d’extensions de fichier joint</strong><br />» %s', - 'LOG_ATTACH_EXTGROUP_DEL' => '<strong>Suppression d’un groupe d’extensions de fichier joint</strong><br />» %s', - 'LOG_ATTACH_FILEUPLOAD' => '<strong>Chargement d’un fichier joint orphelin au message</strong><br />» ID %1$d - %2$s', - 'LOG_ATTACH_ORPHAN_DEL' => '<strong>Suppression d’un fichier joint orphelin</strong><br />» %s', - - 'LOG_BAN_EXCLUDE_USER' => '<strong>Débannissement d’un utilisateur</strong> pour la raison suivante: “<em>%1$s</em>”<br />» %2$s', - 'LOG_BAN_EXCLUDE_IP' => '<strong>Débannissement d’adresse IP</strong> pour la raison suivante: “<em>%1$s</em>”<br />» %2$s', - 'LOG_BAN_EXCLUDE_EMAIL' => '<strong>Débannissement d’e-mail</strong> pour la raison “<em>%1$s</em>”<br />» %2$s', - 'LOG_BAN_USER' => '<strong>Bannissement d’utilisateur</strong> pour la raison “<em>%1$s</em>”<br />» %2$s', - 'LOG_BAN_IP' => '<strong>Bannissement d’une adresse IP</strong> pour la raison “<em>%1$s</em>”<br />» %2$s', - 'LOG_BAN_EMAIL' => '<strong>Bannissement d’un e-mail</strong> pour la raison “<em>%1$s</em>”<br />» %2$s', - 'LOG_UNBAN_USER' => '<strong>Débannissement d’un utilisateur</strong><br />» %s', - 'LOG_UNBAN_IP' => '<strong>Débannissement d’une adresse IP</strong><br />» %s', - 'LOG_UNBAN_EMAIL' => '<strong>Débannissement d’un e-mail</strong><br />» %s', - - 'LOG_BBCODE_ADD' => '<strong>Ajout d’un nouveau BBCode</strong><br />» %s', - 'LOG_BBCODE_EDIT' => '<strong>Modification d’un BBCode</strong><br />» %s', - 'LOG_BBCODE_DELETE' => '<strong>Suppression d’un BBCode</strong><br />» %s', - - 'LOG_BOT_ADDED' => '<strong>Ajout d’un nouveau robot</strong><br />» %s', - 'LOG_BOT_DELETE' => '<strong>Suppression d’un robot</strong><br />» %s', - 'LOG_BOT_UPDATED' => '<strong>Mise à jour d’un robot</strong><br />» %s', - - 'LOG_CLEAR_ADMIN' => '<strong>Journal d’administration effacé</strong>', - 'LOG_CLEAR_CRITICAL' => '<strong>Journal des erreurs effacé</strong>', - 'LOG_CLEAR_MOD' => '<strong>Journal de modération effacé</strong>', - 'LOG_CLEAR_USER' => '<strong>Journal utilisateur effacé</strong><br />» %s', - 'LOG_CLEAR_USERS' => '<strong>Journaux des utilisateurs effacés</strong>', - - 'LOG_CONFIG_ATTACH' => '<strong>Les paramètres des fichiers joints ont été modifiés</strong>', - 'LOG_CONFIG_AUTH' => '<strong>Les paramètres d’authentification ont été modifiés</strong>', - 'LOG_CONFIG_AVATAR' => '<strong>Les paramètres d’avatar ont été modifiés</strong>', - 'LOG_CONFIG_COOKIE' => '<strong>Les paramètres de cookies ont été modifiés</strong>', - 'LOG_CONFIG_EMAIL' => '<strong>Les paramètres d’e-mails ont été modifiés</strong>', - 'LOG_CONFIG_FEATURES' => '<strong>Les options du forum ont été modifiées</strong>', - 'LOG_CONFIG_LOAD' => '<strong>Les paramètres de charge ont été modifiés</strong>', - 'LOG_CONFIG_MESSAGE' => '<strong>Les paramètres de la messagerie privée ont été modifiés</strong>', - 'LOG_CONFIG_POST' => '<strong>Les paramètres de messages ont été modifiés</strong>', - 'LOG_CONFIG_REGISTRATION' => '<strong>Les paramètres d’inscriptions ont été modifiés</strong>', - 'LOG_CONFIG_FEED' => '<strong>Les paramètres de flux ont été modifiés</strong>', - 'LOG_CONFIG_SEARCH' => '<strong>Les paramètres de recherche ont été modifiés</strong>', - 'LOG_CONFIG_SECURITY' => '<strong>Les paramètres de sécurité ont été modifiés</strong>', - 'LOG_CONFIG_SERVER' => '<strong>Les paramètres du serveur ont été modifiés</strong>', - 'LOG_CONFIG_SETTINGS' => '<strong>La configuration générale du forum a été modifiée</strong>', - 'LOG_CONFIG_SIGNATURE' => '<strong>Les paramètres de signature ont été modifiés</strong>', - 'LOG_CONFIG_VISUAL' => '<strong>Les paramètres de la confirmation visuelle ont été modifiés</strong>', - - 'LOG_APPROVE_TOPIC' => '<strong>Approbation d’un sujet</strong><br />» %s', - 'LOG_BUMP_TOPIC' => '<strong>Sujet remonté par un utilisateur</strong><br />» %s', - 'LOG_DELETE_POST' => '<strong>Suppression d’un message</strong><br />» %s', - 'LOG_DELETE_SHADOW_TOPIC' => '<strong>Suppression d’un sujet-traceur</strong><br />» %s', - 'LOG_DELETE_TOPIC' => '<strong>Suppression d’un sujet</strong><br />» %s', - 'LOG_FORK' => '<strong>Copie d’un sujet</strong><br />» de %s', - 'LOG_LOCK' => '<strong>Verrouillage d’un sujet</strong><br />» %s', - 'LOG_LOCK_POST' => '<strong>Verrouillage d’un message</strong><br />» %s', - 'LOG_MERGE' => '<strong>Fusion de messages</strong> dans le sujet <br />»%s', - 'LOG_MOVE' => '<strong>Déplacement d’un sujet</strong><br />» de %s', - 'LOG_PM_REPORT_CLOSED' => '<strong>Clôture d’un rapport de message privé</strong><br />» %s', - 'LOG_PM_REPORT_DELETED' => '<strong>Suppression d’un rapport de message privé</strong><br />» %s', - 'LOG_POST_APPROVED' => '<strong>Approbation d’un message</strong><br />» %s', - 'LOG_POST_DISAPPROVED' => '<strong>Refus d’un message “%1$s” pour la raison suivante</strong><br />» %2$s', - 'LOG_POST_EDITED' => '<strong>Edition d’un message “%1$s” écrit par</strong><br />» %2$s', - 'LOG_REPORT_CLOSED' => '<strong>Clôture d’un rapport/raison</strong><br />» %s', - 'LOG_REPORT_DELETED' => '<strong>Suppression d’un rapport/raison</strong><br />» %s', - 'LOG_SPLIT_DESTINATION' => '<strong>Déplacement de messages divisés</strong><br />» vers %s', - 'LOG_SPLIT_SOURCE' => '<strong>Division de messages</strong><br />» depuis %s', - - 'LOG_TOPIC_APPROVED' => '<strong>Approbation d’un sujet</strong><br />» %s', - 'LOG_TOPIC_DISAPPROVED' => '<strong>Refus d’un sujet “%1$s” pour la raison suivante</strong><br />%2$s', - 'LOG_TOPIC_RESYNC' => '<strong>Compteurs de message synchronisés</strong><br />» %s', - 'LOG_TOPIC_TYPE_CHANGED' => '<strong>Modification du type de sujet</strong><br />» %s', - 'LOG_UNLOCK' => '<strong>Déverrouillage d’un sujet</strong><br />» %s', - 'LOG_UNLOCK_POST' => '<strong>Déverrouillage d’un message</strong><br />» %s', - - 'LOG_DISALLOW_ADD' => '<strong>Ajout d’un nom d’utilisateur interdit</strong><br />» %s', - 'LOG_DISALLOW_DELETE' => '<strong>Suppression d’un nom d’utilisateur interdit</strong>', - - 'LOG_DB_BACKUP' => '<strong>Sauvegarde de la base de données</strong>', - 'LOG_DB_DELETE' => '<strong>Suppression d’une sauvegarde de la base de données</strong>', - 'LOG_DB_RESTORE' => '<strong>Restauration d’une base de données</strong>', - - 'LOG_DOWNLOAD_EXCLUDE_IP' => '<strong>Adresse IP/Nom d’hôte exclu de la liste des téléchargements</strong><br />» %s', - 'LOG_DOWNLOAD_IP' => '<strong>Ajout d’une adresse IP/nom d’hôte à la liste des téléchargements</strong><br />» %s', - 'LOG_DOWNLOAD_REMOVE_IP' => '<strong>Suppression d’une adresse IP/nom d’hôte de la liste des téléchargements</strong><br />» %s', - - 'LOG_ERROR_JABBER' => '<strong>Erreur de compte Jabber</strong><br />» %s', - 'LOG_ERROR_EMAIL' => '<strong>Erreur d’e-mail</strong><br />» %s', - - 'LOG_FORUM_ADD' => '<strong>Création d’un nouveau forum</strong><br />» %s', - 'LOG_FORUM_COPIED_PERMISSIONS' => '<strong>Copie de permissions de forum</strong> from %1$s<br />» %2$s', - 'LOG_FORUM_DEL_FORUM' => '<strong>Suppression d’un forum</strong><br />» %s', - 'LOG_FORUM_DEL_FORUMS' => '<strong>Suppression d’un forum et de ses sous-forums</strong><br />» %s', - 'LOG_FORUM_DEL_MOVE_FORUMS' => '<strong>Suppression d’un forum et sous-forums déplacés</strong> vers %1$s<br />» %2$s', - 'LOG_FORUM_DEL_MOVE_POSTS' => '<strong>Suppression d’un forum et messages déplacés</strong> vers %1$s<br />» %2$s', - 'LOG_FORUM_DEL_MOVE_POSTS_FORUMS' => '<strong>Suppression d’un forum et ses sous-forums, messages déplacés</strong> vers %1$s<br />» %2$s', - 'LOG_FORUM_DEL_MOVE_POSTS_MOVE_FORUMS' => '<strong>Suppression d’un forum, déplacement des messages</strong> vers %1$s <strong>et de ses sous-forums</strong> vers %2$s<br />» %3$s', - 'LOG_FORUM_DEL_POSTS' => '<strong>Suppression d’un forum et de ses messages</strong><br />» %s', - 'LOG_FORUM_DEL_POSTS_FORUMS' => '<strong>Suppression d’un forum, de ses messages et de ses sous-forums</strong><br />» %s', - 'LOG_FORUM_DEL_POSTS_MOVE_FORUMS' => '<strong>Suppression d’un forum et de ses messages, sous-forums déplacés</strong> vers %1$s<br />» %2$s', - 'LOG_FORUM_EDIT' => '<strong>Modification d’un forum</strong><br />» %s', - 'LOG_FORUM_MOVE_DOWN' => '<strong>Déplacement d’un forum</strong> %1$s <strong>en dessous de</strong> %2$s', - 'LOG_FORUM_MOVE_UP' => '<strong>Déplacement d’un forum</strong> %1$s <strong>au dessus de</strong> %2$s', - 'LOG_FORUM_SYNC' => '<strong>Resynchronisation d’un forum</strong><br />» %s', - - 'LOG_GENERAL_ERROR' => '<strong>Une erreur générale a été rencontrée</strong>: %1$s <br />» %2$s', - - 'LOG_GROUP_CREATED' => '<strong>Création d’un nouveau groupe</strong><br />» %s', - 'LOG_GROUP_DEFAULTS' => '<strong>Groupe “%1$s” par défaut pour le membre</strong><br />» %2$s', - 'LOG_GROUP_DELETE' => '<strong>Suppression d’un groupe</strong><br />» %s', - 'LOG_GROUP_DEMOTED' => '<strong>Rétrogradation d’un chef dans le groupe</strong> %1$s<br />» %2$s', - 'LOG_GROUP_PROMOTED' => '<strong>Promotion d’un membre en chef de groupe</strong> %1$s<br />» %2$s', - 'LOG_GROUP_REMOVE' => '<strong>Suppression de membre d’un groupe</strong> %1$s<br />» %2$s', - 'LOG_GROUP_UPDATED' => '<strong>Mise à jour des informations d’un groupe</strong><br />» %s', - 'LOG_MODS_ADDED' => '<strong>Ajout d’un nouveau chef dans le groupe</strong> %1$s<br />» %2$s', - 'LOG_USERS_ADDED' => '<strong>Ajout de nouveau membre au groupe</strong> %1$s<br />» %2$s', - 'LOG_USERS_APPROVED' => '<strong>Utilisateurs approuvés dans le groupe</strong> %1$s<br />» %2$s', - 'LOG_USERS_PENDING' => '<strong>Demande d’utilisateurs pour rejoindre le groupe “%1$s” et nécessite une approbation</strong><br />» %2$s', - - 'LOG_IMAGE_GENERATION_ERROR' => '<strong>Erreur pendant la création de l’image</strong><br />» Erreur dans %1$s à la ligne %2$s: %3$s', - - 'LOG_IMAGESET_ADD_DB' => '<strong>Ajout d’un pack d’images dans la base de données</strong><br />» %s', - 'LOG_IMAGESET_ADD_FS' => '<strong>Ajout d’un pack d’images dans le système de fichiers</strong><br />» %s', - 'LOG_IMAGESET_DELETE' => '<strong>Suppression d’un pack d’images</strong><br />» %s', - 'LOG_IMAGESET_EDIT_DETAILS' => '<strong>Edition des informations d’un pack d’images</strong><br />» %s', - 'LOG_IMAGESET_EDIT' => '<strong>Edition d’un pack d’images</strong><br />» %s', - 'LOG_IMAGESET_EXPORT' => '<strong>Export d’un pack d’images</strong><br />» %s', - 'LOG_IMAGESET_LANG_MISSING' => '<strong>Traduction manquante “%2$s” pour le pack d’images</strong><br />» %1$s', - 'LOG_IMAGESET_LANG_REFRESHED' => '<strong>Rafraîchissement de la traduction “%2$s” d’un pack d’images</strong><br />» %1$s', - 'LOG_IMAGESET_REFRESHED' => '<strong>Rafraîchissement d’un pack d’images</strong><br />» %s', - - 'LOG_INACTIVE_ACTIVATE' => '<strong>Activation d’utilisateurs inactifs</strong><br />» %s', - 'LOG_INACTIVE_DELETE' => '<strong>Suppression d’utilisateurs inactifs</strong><br />» %s', - 'LOG_INACTIVE_REMIND' => '<strong>Envoi d’un rappel par e-mail aux utilisateurs inactifs</strong><br />» %s', - 'LOG_INSTALL_CONVERTED' => '<strong>Conversion depuis %1$s vers phpBB %2$s</strong>', - 'LOG_INSTALL_INSTALLED' => '<strong>Installation de phpBB %s</strong>', - - 'LOG_IP_BROWSER_FORWARDED_CHECK' => '<strong>La vérification de la session IP/navigateur/X_FORWARDED_FOR a échouée</strong><br />»L’adresse IP de l’utilisateur “<em>%1$s</em>” a été comparée avec la session IP “<em>%2$s</em>”, la chaîne du navigateur de l’utilisateur “<em>%3$s</em>” a été comparée avec la chaîne de la session “<em>%4$s</em>” du navigateur et la chaîne X_FORWARDED_FOR de l’utilisateur “<em>%5$s</em>” a été comparée avec la chaîne X_FORWARDED_FOR de la session “<em>%6$s</em>”.', - - 'LOG_JAB_CHANGED' => '<strong>Modification d’un compte Jabber</strong>', - 'LOG_JAB_PASSCHG' => '<strong>Modification de mot de passe du compte Jabber</strong>', - 'LOG_JAB_REGISTER' => '<strong>Enregistrement d’un compte Jabber</strong>', - 'LOG_JAB_SETTINGS_CHANGED' => '<strong>Modification des paramètres du compte Jabber</strong>', - - 'LOG_LANGUAGE_PACK_DELETED' => '<strong>Suppression d’une langue</strong><br />» %s', - 'LOG_LANGUAGE_PACK_INSTALLED' => '<strong>Installation d’une langue</strong><br />» %s', - 'LOG_LANGUAGE_PACK_UPDATED' => '<strong>Mise à jour des informations d’une langue</strong><br />» %s', - 'LOG_LANGUAGE_FILE_REPLACED' => '<strong>Remplacement d’un fichier de langue</strong><br />» %s', - 'LOG_LANGUAGE_FILE_SUBMITTED' => '<strong>Envoi et stockage d’un fichier de langue</strong><br />» %s', - - 'LOG_MASS_EMAIL' => '<strong>Envoi d’un e-mail de masse</strong><br />» %s', - - 'LOG_MCP_CHANGE_POSTER' => '<strong>Modification de l’auteur du sujet “%1$s”</strong><br />» de %2$s en %3$s', - - 'LOG_MODULE_DISABLE' => '<strong>Désactivation d’un module</strong><br />» %s', - 'LOG_MODULE_ENABLE' => '<strong>Activation d’un module</strong><br />» %s', - 'LOG_MODULE_MOVE_DOWN' => '<strong>Déplacement d’un module</strong><br />» %1$s au dessous de %2$s', - 'LOG_MODULE_MOVE_UP' => '<strong>Déplacement d’un module</strong><br />» %1$s au dessus de %2$s', - 'LOG_MODULE_REMOVED' => '<strong>Suppression d’un module</strong><br />» %s', - 'LOG_MODULE_ADD' => '<strong>Ajout d’un module</strong><br />» %s', - 'LOG_MODULE_EDIT' => '<strong>Modification d’un module</strong><br />» %s', - - 'LOG_A_ROLE_ADD' => '<strong>Ajout d’un modèle d’administration</strong><br />» %s', - 'LOG_A_ROLE_EDIT' => '<strong>Modification d’un modèle d’administration</strong><br />» %s', - 'LOG_A_ROLE_REMOVED' => '<strong>Suppression d’un modèle d’administration</strong><br />» %s', - 'LOG_F_ROLE_ADD' => '<strong>Ajout d’un modèle de forum</strong><br />» %s', - 'LOG_F_ROLE_EDIT' => '<strong>Modification d’un modèle de forum</strong><br />» %s', - 'LOG_F_ROLE_REMOVED' => '<strong>Suppression d’un modèle de forum</strong><br />» %s', - 'LOG_M_ROLE_ADD' => '<strong>Ajout d’un modèle de modération</strong><br />» %s', - 'LOG_M_ROLE_EDIT' => '<strong>Modification d’un modèle de modération</strong><br />» %s', - 'LOG_M_ROLE_REMOVED' => '<strong>Suppression d’un modèle de modération</strong><br />» %s', - 'LOG_U_ROLE_ADD' => '<strong>Ajout d’un modèle d’utilisateur</strong><br />» %s', - 'LOG_U_ROLE_EDIT' => '<strong>Modification d’un modèle d’utilisateur</strong><br />» %s', - 'LOG_U_ROLE_REMOVED' => '<strong>Suppression d’un modèle d’utilisateur</strong><br />» %s', - - 'LOG_PROFILE_FIELD_ACTIVATE' => '<strong>Activation d’un champ de profil</strong><br />» %s', - 'LOG_PROFILE_FIELD_CREATE' => '<strong>Ajout d’un champ de profil</strong><br />» %s', - 'LOG_PROFILE_FIELD_DEACTIVATE' => '<strong>Désactivation d’un champ de profil</strong><br />» %s', - 'LOG_PROFILE_FIELD_EDIT' => '<strong>Modification d’un champ de profil</strong><br />» %s', - 'LOG_PROFILE_FIELD_REMOVED' => '<strong>Suppression d’un champ de profil</strong><br />» %s', - - 'LOG_PRUNE' => '<strong>Déléstage d’un forum</strong><br />» %s', - 'LOG_AUTO_PRUNE' => '<strong>Auto-déléstage d’un forum</strong><br />» %s', - 'LOG_PRUNE_USER_DEAC' => '<strong>Désactivation de l’utilisateur</strong><br />» %s', - 'LOG_PRUNE_USER_DEL_DEL' => '<strong>Déléstage d’utilisateurs et suppression de leurs messages</strong><br />» %s', - 'LOG_PRUNE_USER_DEL_ANON' => '<strong>Déléstage d’utilisateurs et conservation de leurs messages</strong><br />» %s', - - 'LOG_PURGE_CACHE' => '<strong>Vidage du cache</strong>', - 'LOG_PURGE_SESSIONS' => '<strong>Vidage des sessions</strong>', - - 'LOG_RANK_ADDED' => '<strong>Ajout d’un nouveau rang</strong><br />» %s', - 'LOG_RANK_REMOVED' => '<strong>Suppression d’un rang</strong><br />» %s', - 'LOG_RANK_UPDATED' => '<strong>Mis à jour d’un rang</strong><br />» %s', - - 'LOG_REASON_ADDED' => '<strong>Ajout d’un rapport/raison</strong><br />» %s', - 'LOG_REASON_REMOVED' => '<strong>Suppression d’un rapport/raison</strong><br />» %s', - 'LOG_REASON_UPDATED' => '<strong>Mise à jour d’un rapport/raison</strong><br />» %s', - 'LOG_REFERER_INVALID' => '<strong>Echec de la validation du référant</strong><br />»Le référant était “<em>%1$s</em>”. La requête a été rejetée et la session terminée.', - - 'LOG_RESET_DATE' => '<strong>Réinitialisation de la date d’ouverture du forum</strong>', - 'LOG_RESET_ONLINE' => '<strong>Réinitialisation du record des utilisateurs connectés</strong>', - 'LOG_RESYNC_POSTCOUNTS' => '<strong>Synchronisation des compteurs de message d’utilisateur</strong>', - 'LOG_RESYNC_POST_MARKING' => '<strong>Synchronisation des sujets pointés</strong>', - 'LOG_RESYNC_STATS' => '<strong>Synchronisation des statistiques de message, sujet et utilisateur</strong>', - - 'LOG_SEARCH_INDEX_CREATED' => '<strong>Création de l’index de recherche pour</strong><br />» %s', - 'LOG_SEARCH_INDEX_REMOVED' => '<strong>Suppression de l’index de recherche pour</strong><br />» %s', - 'LOG_STYLE_ADD' => '<strong>Ajout d’un nouveau style</strong><br />» %s', - 'LOG_STYLE_DELETE' => '<strong>Suppression d’un style</strong><br />» %s', - 'LOG_STYLE_EDIT_DETAILS' => '<strong>Modification des informations d’un style</strong><br />» %s', - 'LOG_STYLE_EXPORT' => '<strong>Export d’un style</strong><br />» %s', - - 'LOG_TEMPLATE_ADD_DB' => '<strong>Ajout d’un pack de template à la base de données</strong><br />» %s', - 'LOG_TEMPLATE_ADD_FS' => '<strong>Ajout d’un pack de template au système de fichier</strong><br />» %s', - 'LOG_TEMPLATE_CACHE_CLEARED' => '<strong>Suppression du cache des fichiers d’un template <em>%1$s</em></strong><br />» %2$s', - 'LOG_TEMPLATE_DELETE' => '<strong>Suppression d’un pack de template</strong><br />» %s', - 'LOG_TEMPLATE_EDIT' => '<strong>Modification d’un pack de template <em>%1$s</em></strong><br />» %2$s', - 'LOG_TEMPLATE_EDIT_DETAILS' => '<strong>Modification des informations d’un pack de template</strong><br />» %s', - 'LOG_TEMPLATE_EXPORT' => '<strong>Export d’un pack de template</strong><br />» %s', - 'LOG_TEMPLATE_REFRESHED' => '<strong>Rafraichissement d’un pack de template</strong><br />» %s', - - 'LOG_THEME_ADD_DB' => '<strong>Ajout d’un nouveau thème à la base de données</strong><br />» %s', - 'LOG_THEME_ADD_FS' => '<strong>Ajout d’un nouveau thème au système de fichier</strong><br />» %s', - 'LOG_THEME_DELETE' => '<strong>Suppression d’un thème</strong><br />» %s', - 'LOG_THEME_EDIT_DETAILS' => '<strong>Modification des informations d’un thème</strong><br />» %s', - 'LOG_THEME_EDIT' => '<strong>Modification d’un thème <em>%1$s</em></strong>', - 'LOG_THEME_EDIT_FILE' => '<strong>Modification d’un thème <em>%1$s</em></strong><br />» modification d’un fichier <em>%2$s</em>', - 'LOG_THEME_EXPORT' => '<strong>Export d’un thème</strong><br />» %s', - 'LOG_THEME_REFRESHED' => '<strong>Rafraichissement d’un thème</strong><br />» %s', - - 'LOG_UPDATE_DATABASE' => '<strong>Mise à jour de la base de données de la version %1$s à la version %2$s</strong>', - 'LOG_UPDATE_PHPBB' => '<strong>Mise à jour de phpBB de la version %1$s à la version %2$s</strong>', - - 'LOG_USER_ACTIVE' => '<strong>Activation de l’utilisateur</strong><br />» %s', - 'LOG_USER_BAN_USER' => '<strong>Bannissement d’utilisateur via la gestion d’utilisateurs</strong> pour la raison “<em>%1$s</em>”<br />» %2$s', - 'LOG_USER_BAN_IP' => '<strong>Bannissement d’adresse IP via la gestion d’utilisateurs</strong> pour la raison “<em>%1$s</em>”<br />» %2$s', - 'LOG_USER_BAN_EMAIL' => '<strong>Bannissement d’e-mail via la gestion d’utilisateurs</strong> pour la raison “<em>%1$s</em>”<br />» %2$s', - 'LOG_USER_DELETED' => '<strong>Suppression de l’utilisateur</strong><br />» %s', - 'LOG_USER_DEL_ATTACH' => '<strong>Suppression de tous les fichiers joints de l’utilisateur</strong><br />» %s', - 'LOG_USER_DEL_AVATAR' => '<strong>Suppression de l’avatar de l’utilisateur</strong><br />» %s', - 'LOG_USER_DEL_OUTBOX' => '<strong>Vidage de la boîte d’envoi d’un utilisateur</strong><br />» %s', - 'LOG_USER_DEL_POSTS' => '<strong>Suppression des messages de l’utilisateur</strong><br />» %s', - 'LOG_USER_DEL_SIG' => '<strong>Suppression de la signature de l’utilisateur</strong><br />» %s', - 'LOG_USER_INACTIVE' => '<strong>Désactivation de l’utilisateur</strong><br />» %s', - 'LOG_USER_MOVE_POSTS' => '<strong>Déplacement des messages de </strong><br />» “%1$s” vers le forum “%2$s”', - 'LOG_USER_NEW_PASSWORD' => '<strong>Modification du mot de passe de l’utilisateur</strong><br />» %s', - 'LOG_USER_REACTIVATE' => '<strong>Réactivation forcée du compte de l’utilisateur</strong><br />» %s', - 'LOG_USER_REMOVED_NR' => '<strong>Suppression du status “nouvel inscrit” pour un utlisateur</strong><br />» %s', - 'LOG_USER_UPDATE_EMAIL' => '<strong>Modification de l’e-mail de l’utilisateur “%1$s” </strong><br />» de “%2$s” à “%3$s”', - 'LOG_USER_UPDATE_NAME' => '<strong>Modification d’un nom d’utilisateur</strong><br />» de “%1$s” à “%2$s”', - 'LOG_USER_USER_UPDATE' => '<strong>Mise à jour des informations de l’utilisateur</strong><br />» %s', - - 'LOG_USER_ACTIVE_USER' => '<strong>Activation d’un compte utilisateur</strong>', - 'LOG_USER_DEL_AVATAR_USER' => '<strong>Suppression de l’avatar</strong>', - 'LOG_USER_DEL_SIG_USER' => '<strong>Suppression de la signature</strong>', - 'LOG_USER_FEEDBACK' => '<strong>Ajout d’une fiche de suivi pour l’utilisateur</strong><br />» %s', - 'LOG_USER_GENERAL' => '<strong>Ajout d’une entrée:</strong><br />» %s', - 'LOG_USER_INACTIVE_USER' => '<strong>Désactivation d’un compte utilisateur</strong>', - 'LOG_USER_LOCK' => '<strong>Verrouillage par son auteur d’un sujet</strong><br />» %s', - 'LOG_USER_MOVE_POSTS_USER' => '<strong>Déplacement de tous les messages vers le forum</strong> “%s”', - 'LOG_USER_REACTIVATE_USER' => '<strong>Réactivation forcée d’un compte utilisateur</strong>', - 'LOG_USER_UNLOCK' => '<strong>Déverrouillage par son auteur d’un sujet</strong><br />» %s', - 'LOG_USER_WARNING' => '<strong>Ajout d’un avertissement à l’utilisateur</strong><br />» %s', - 'LOG_USER_WARNING_BODY' => '<strong>Un avertissement a été attribué à l’utilisateur</strong><br />»%s', - - 'LOG_USER_GROUP_CHANGE' => '<strong>Modification du groupe par défaut de l’utilisateur</strong><br />» %s', - 'LOG_USER_GROUP_DEMOTE' => '<strong>Rétrogradation du chef d’un groupe d’utilisateurs</strong><br />» %s', - 'LOG_USER_GROUP_JOIN' => '<strong>Adhésion à un groupe de l’utilisateur</strong><br />» %s', - 'LOG_USER_GROUP_JOIN_PENDING' => '<strong>Adhésion à un groupe de l’utilisateur et demande d’approbation</strong><br />» %s', - 'LOG_USER_GROUP_RESIGN' => '<strong>Désinscription à un groupe de l’utilisateur</strong><br />» %s', - 'LOG_WARNING_DELETED' => '<strong>Suppresion de lavertissement de l’utilisateur</strong><br />» %s', - 'LOG_WARNINGS_DELETED' => '<strong>Suppression de %2$s avertissements de l’utilisateur</strong><br />» %1$s', // Example: '<strong>Deleted 2 user warnings</strong><br />» username' - 'LOG_WARNINGS_DELETED_ALL' => '<strong>Suppression de tous les avertissement de l’utilisateur</strong><br />» %s', - - 'LOG_WORD_ADD' => '<strong>Ajout d’un mot censuré</strong><br />» %s', - 'LOG_WORD_DELETE' => '<strong>Suppression d’un mot censuré</strong><br />» %s', - 'LOG_WORD_EDIT' => '<strong>Edition d’un mot censuré</strong><br />» %s', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/database.php b/phpBB/language/fr/acp/database.php deleted file mode 100644 index 10571b414f..0000000000 --- a/phpBB/language/fr/acp/database.php +++ /dev/null @@ -1,77 +0,0 @@ -<?php -/** -* -* acp_database [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: database.php, v1.24 2009/10/09 11:15:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -// Database Backup/Restore -$lang = array_merge($lang, array( - 'ACP_BACKUP_EXPLAIN' => 'Vous pouvez sauvegarder les données de votre forum. Vous pouvez stocker l’archive de sauvegarde dans votre répertoire <samp>store/</samp> ou le télécharger. Suivant votre configuration, vous pouvez utiliser différents modes de compression.', - 'ACP_RESTORE_EXPLAIN' => 'Vous pouvez procéder à une restauration de votre forum à partir d’un fichier de sauvegarde. Si votre serveur le permet, vous pouvez utiliser la compression gzip ou bzip2, le fichier sera automatiquement décompressé. <strong><color=red>ATTENTION: </color></strong> Cette opération écrase toutes les données existantes. Le processus peut prendre du temps, ne quittez pas cette page avant la fin de la restauration. Les sauvegardes sont stockées dans le répertoire <samp>store/</samp> et sont supposées être générées par la fonctionnalité de sauvegarde de phpBB. La restauration de sauvegardes non créées par phpBB peut ne pas fonctionner.', - - 'BACKUP_DELETE' => 'Le fichier de sauvegarde a été effacé.', - 'BACKUP_INVALID' => 'Fichier de sauvegarde invalide.', - 'BACKUP_OPTIONS' => 'Options de sauvegarde', - 'BACKUP_SUCCESS' => 'Le fichier de sauvegarde a été créé.', - 'BACKUP_TYPE' => 'Type de sauvegarde', - - 'DATABASE' => 'Utilitaires de base de données', - 'DATA_ONLY' => 'Données seulement', - 'DELETE_BACKUP' => 'Effacer la sauvegarde', - 'DELETE_SELECTED_BACKUP' => 'Êtes-vous sûr de vouloir supprimer la sauvegarde de la base de données?', - 'DESELECT_ALL' => 'Tout désélectionner', - 'DOWNLOAD_BACKUP' => 'Télécharger la sauvegarde', - - 'FILE_TYPE' => 'Type de fichier', - 'FILE_WRITE_FAIL' => 'Impossible d’écrire le fichier dans le répertoire de stockage.', - 'FULL_BACKUP' => 'Complète', - - 'RESTORE_FAILURE' => 'Le fichier de sauvegarde est peut-être corrompu.', - 'RESTORE_OPTIONS' => 'Options de restauration', - 'RESTORE_SUCCESS' => 'La base de données a été restaurée.<br /><br />Votre forum devrait être tel qu’il l’était avant la sauvegarde.', - - 'SELECT_ALL' => 'Tout sélectionner', - 'SELECT_FILE' => 'Sélectionner un fichier', - 'START_BACKUP' => 'Démarrer la sauvegarde', - 'START_RESTORE' => 'Démarrer la restauration', - 'STORE_AND_DOWNLOAD' => 'Stocker et télécharger', - 'STORE_LOCAL' => 'Stocker le fichier', - 'STRUCTURE_ONLY' => 'Structure seule', - - 'TABLE_SELECT' => 'Sélection de la table ', - 'TABLE_SELECT_ERROR'=> 'Vous devez sélectionner au moins une table.', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/email.php b/phpBB/language/fr/acp/email.php deleted file mode 100644 index c5e253e849..0000000000 --- a/phpBB/language/fr/acp/email.php +++ /dev/null @@ -1,68 +0,0 @@ -<?php -/** -* -* acp_email [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: email.php, v1.24 2008/07/03 17:07:24 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - - 'ACP_MASS_EMAIL_EXPLAIN' => 'Vous pouvez envoyer un e-mail à tous vos utilisateurs ou à tous les membres d’un groupe particulier. Pour cela, un e-mail sera envoyé via l’adresse administrative, avec tous les destinataires en copie cachée. Si vous envoyez le message à un grand groupe de personnes, merci de patienter après avoir validé et de ne pas arrêter la page lors du traitement. Il est normal qu’un envoi de masse prenne du temps, vous aurez une notification quand le script aura terminé.', - 'ALL_USERS' => 'Tous les utilisateurs', - - 'COMPOSE' => 'Ecrire', - - 'EMAIL_SEND_ERROR' => 'Il y a eu une erreur lors de l’envoi de l’e-mail. Merci de consulter le %sJournal d’erreurs%s pour un message plus détaillé.', - 'EMAIL_SENT' => 'Votre message a été envoyé.', - 'EMAIL_SENT_QUEUE' => 'Votre message a été mis en attente pour l’envoi.', - - 'LOG_SESSION' => 'Enregistre la session mail dans les journaux d’erreurs critiques', - - 'SEND_IMMEDIATELY' => 'Envoyer immédiatement', - 'SEND_TO_GROUP' => 'Envoyer au groupe', - 'SEND_TO_USERS' => 'Envoyer aux utilisateurs', - 'SEND_TO_USERS_EXPLAIN' => 'Entrer des noms ici écrasera tout groupe sélectionné ci-dessus. Entrez chaque nom d’utilisateur sur une ligne différente.', - - 'MAIL_HIGH_PRIORITY' => 'Haute', - 'MAIL_LOW_PRIORITY' => 'Basse', - 'MAIL_NORMAL_PRIORITY' => 'Normale', - 'MAIL_PRIORITY' => 'Priorité du mail', - 'MASS_MESSAGE' => 'Votre message', - 'MASS_MESSAGE_EXPLAIN' => 'Notez que vous ne pouvez mettre que du texte brut. Toutes les balises seront supprimées avant l’envoi.', - - 'NO_EMAIL_MESSAGE' => 'Vous devez entrer un message.', - 'NO_EMAIL_SUBJECT' => 'Vous devez indiquer un sujet pour votre message.', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/forums.php b/phpBB/language/fr/acp/forums.php deleted file mode 100644 index f558604522..0000000000 --- a/phpBB/language/fr/acp/forums.php +++ /dev/null @@ -1,161 +0,0 @@ -<?php -/** -* -* acp_forums [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: forums.php, v1.28 2010/02/24 15:34:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -// Forum Admin -$lang = array_merge($lang, array( - 'AUTO_PRUNE_DAYS' => 'Ancienneté des messages délestés automatiquement', - 'AUTO_PRUNE_DAYS_EXPLAIN' => 'Nombre de jours depuis le dernier message et la suppression du sujet.', - 'AUTO_PRUNE_FREQ' => 'Fréquence du délestage automatique', - 'AUTO_PRUNE_FREQ_EXPLAIN' => 'Durée en jours entre les événements de délestage.', - 'AUTO_PRUNE_VIEWED' => 'Ancienneté des messages vus délestés automatiquement', - 'AUTO_PRUNE_VIEWED_EXPLAIN' => 'Nombre de jours depuis la dernière consultation et la suppression du sujet.', - - 'CONTINUE' => 'Continuer', - - 'COPY_PERMISSIONS' => 'Copier les permissions depuis', - 'COPY_PERMISSIONS_EXPLAIN' => 'Pour faciliter la mise en place des permissions pour votre nouveau forum, vous pouvez copier les permissions d’un forum existant.', - 'COPY_PERMISSIONS_ADD_EXPLAIN' => 'Une fois créé, le forum aura les mêmes permissions que celles sélectionnées ici. Si aucun forum n’est choisi, le nouveau forum ne sera pas visible tant que ses permissions n’ont pas été définies.', - 'COPY_PERMISSIONS_EDIT_EXPLAIN' => 'Si vous choisissez de copier les permissions, le forum aura les mêmes permissions que celles sélectionnées ici. Elles remplaceront toutes les permissions précédemment définies pour ce forum, par les permissions du forum sélectionné. Si aucun forum n’est choisi les permissions actuelles seront conservées.', - 'COPY_TO_ACL' => 'Autrement, vous êtes aussi capable de %srégler de nouvelles permissions%s pour ce forum.', - 'CREATE_FORUM' => 'Créer un nouveau forum', - - 'DECIDE_MOVE_DELETE_CONTENT' => 'Supprimer ou déplacer le contenu vers un forum', - 'DECIDE_MOVE_DELETE_SUBFORUMS' => 'Supprimer ou déplacer les sous-forums vers un forum', - 'DEFAULT_STYLE' => 'Style par défaut', - 'DELETE_ALL_POSTS' => 'Supprimer les messages', - 'DELETE_SUBFORUMS' => 'Supprimer les sous-forums et les messages', - 'DISPLAY_ACTIVE_TOPICS' => 'Activer les sujets actifs', - 'DISPLAY_ACTIVE_TOPICS_EXPLAIN' => 'Si activé, les sujets actifs des sous-forums choisis seront affichés dans cette catégorie.', - - 'EDIT_FORUM' => 'Editer un forum', - 'ENABLE_INDEXING' => 'Activer l’indexation de recherche', - 'ENABLE_INDEXING_EXPLAIN' => 'Si activé, les messages du forum seront indexés pour la recherche.', - 'ENABLE_POST_REVIEW' => 'Activer la révision des messages', - 'ENABLE_POST_REVIEW_EXPLAIN' => 'Si activé, les utilisateurs seront avertis si de nouveaux messages ont été postés dans le sujet pendant qu’ils rédigeaient le leur. Ceci devrait être désactivé sur les forums de chat.', - 'ENABLE_QUICK_REPLY' => 'Activer la réponse rapide', - 'ENABLE_QUICK_REPLY_EXPLAIN' => 'Active la réponse rapide dans ce forum. Ce paramètre est ignoré si la réponse rapide est désactivée sur l’ensemble du forum. La réponse rapide sera uniquement affichée aux utilisateurs ayant la permission de poster dans ce forum.', - 'ENABLE_RECENT' => 'Afficher les sujets actifs', - 'ENABLE_RECENT_EXPLAIN' => 'Si activé, les sujets de ce forum seront affichés dans la liste des sujets actifs.', - 'ENABLE_TOPIC_ICONS' => 'Activer les icônes des sujets', - - 'FORUM_ADMIN' => 'Administration des forums', - 'FORUM_ADMIN_EXPLAIN' => 'Dans phpBB3 les catégories n’existent plus, tout est basé sur la notion de forum. Chaque forum peut contenir un nombre illimité de sous-forums et vous pouvez déterminer s’ils peuvent contenir ou non des messages (c’est-à-dire se comporter ou non comme une ancienne catégorie). Vous pouvez individuellement ajouter, modifier, supprimer, verrouiller, déverrouiller des forums et régler certains paramètres. Si des sujets et des messages se désynchronisent vous pouvez également re-synchroniser un forum. <strong>Vous devez copier ou régler les permissions appropriées pour les nouveaux forums créés, afin qu’ils soient visibles.</strong>', - 'FORUM_AUTO_PRUNE' => 'Activer l’auto-délestage', - 'FORUM_AUTO_PRUNE_EXPLAIN' => 'Déleste le forum des sujets, réglez les paramètres de fréquence/ancienneté ci-dessous.', - 'FORUM_CREATED' => 'Le forum a été créé.', - 'FORUM_DATA_NEGATIVE' => 'Les paramètres de délestage ne peuvent pas être négatifs.', - 'FORUM_DELETE' => 'Supprimer le forum', - 'FORUM_DELETE_EXPLAIN' => 'Le formulaire suivant vous permet de supprimer un forum et de décider où vous désirez déplacer tous les sujets (ou forums) qu’il contient.', 'FORUM_DELETED' => 'Le forum a été supprimé.', - 'FORUM_DESC' => 'Description', - 'FORUM_DESC_EXPLAIN' => 'Toute balise HTML saisie sera affichée telle quelle.', - 'FORUM_DESC_TOO_LONG' => 'La description du forum est trop longue. Elle ne peut contenir plus de 4000 caractères.', - 'FORUM_EDIT_EXPLAIN' => 'Le formulaire suivant vous permet de personnaliser ce forum. Notez que la modération et les paramètres de contrôle des messages sont définis via les permissions pour chaque utilisateur ou groupe.', - 'FORUM_IMAGE' => 'Image du forum', - 'FORUM_IMAGE_EXPLAIN' => 'Emplacement relatif au répertoire racine de phpBB, d’une image supplémentaire à associer à ce forum.', - 'FORUM_IMAGE_NO_EXIST' => 'L’image du forum spécifiée n’existe pas', - 'FORUM_LINK_EXPLAIN' => 'URL complète (incluant le protocole, exemple <samp>http://</samp> ) qui enverra l’utilisateur vers ce forum.', - 'FORUM_LINK_TRACK' => 'Compter les redirections', - 'FORUM_LINK_TRACK_EXPLAIN' => 'Enregistre le nombre de fois que le lien a été cliqué.', - 'FORUM_NAME' => 'Nom du forum', - 'FORUM_NAME_EMPTY' => 'Vous devez indiquer un nom pour le forum.', - 'FORUM_PARENT' => 'Forum parent', - 'FORUM_PASSWORD' => 'Mot de passe', - 'FORUM_PASSWORD_CONFIRM' => 'Confirmation du mot de passe', - 'FORUM_PASSWORD_CONFIRM_EXPLAIN' => 'Uniquement si un mot de passe a été saisi.', - 'FORUM_PASSWORD_EXPLAIN' => 'Indique un mot de passe pour ce forum, utilisez de préférence le système de permissions.', - 'FORUM_PASSWORD_UNSET' => 'Supprimer le mot de passe du forum', - 'FORUM_PASSWORD_UNSET_EXPLAIN' => 'Cochez cette case si vous souhaitez supprimer le mot de passe du forum.', - 'FORUM_PASSWORD_OLD' => 'Le mot de passe du forum utilise un ancien type de hash et devrait être modifié.', - 'FORUM_PASSWORD_MISMATCH' => 'Les mots de passe saisis ne concordent pas.', - 'FORUM_PRUNE_SETTINGS' => 'Paramètres du délestage des forums', - 'FORUM_RESYNCED' => 'Le forum “%s” a été resynchronisé', - 'FORUM_RULES_EXPLAIN' => 'Les règles du forum sont affichées sur chaque page du forum.', - 'FORUM_RULES_LINK' => 'Lien vers les règles', - 'FORUM_RULES_LINK_EXPLAIN' => 'Vous pouvez indiquer l’URL de la page ou du message contenant vos règles. Ce paramètre annulera tout texte de règles de forum que vous avez renseigné.', - 'FORUM_RULES_PREVIEW' => 'Aperçu des règles', - 'FORUM_RULES_TOO_LONG' => 'Les règles du forum sont trop longues. Elles ne peuvent contenir plus de 4000 caractères.', - 'FORUM_SETTINGS' => 'Paramètres du forum', - 'FORUM_STATUS' => 'Statut du forum', - 'FORUM_STYLE' => 'Style du forum', - 'FORUM_TOPICS_PAGE' => 'Sujets par page', - 'FORUM_TOPICS_PAGE_EXPLAIN' => 'Cette valeur (autre que “0”) annulera le paramètre par défaut des sujets par page.', - 'FORUM_TYPE' => 'Type du forum', - 'FORUM_UPDATED' => 'Les informations du forum ont été mises à jour.', - - 'FORUM_WITH_SUBFORUMS_NOT_TO_LINK' => 'Vous souhaitez modifier en un forum-lien, un forum contenant des sous-forums et dans lequel vous pouviez rédiger des messages. Avant de procéder, déplacez tous les sous-forums hors de ce forum, car une fois le forum modifié en un forum-lien, vous ne pourrez plus consulter les sous-forums.', - - 'GENERAL_FORUM_SETTINGS' => 'Paramètres généraux du forum', - - 'LINK' => 'Lien', - 'LIST_INDEX' => 'Liste le sous-forum dans la légende du forum parent', - 'LIST_INDEX_EXPLAIN' => 'Affiche ce forum sur l’index et ailleurs comme lien dans la légende de son forum parent si l’option “Lister les sous-forums dans la légende” est activée.', - 'LIST_SUBFORUMS' => 'Lister les sous-forums dans la légende', - 'LIST_SUBFORUMS_EXPLAIN' => 'Affiche les sous-forums de ce forum sur l’index et ailleurs comme lien dans la légende de son forum parent si l’option “Lister le sous-forum dans la légende du forum parent” est activée.', - 'LOCKED' => 'Verrouillé', - - 'MOVE_POSTS_NO_POSTABLE_FORUM' => 'Le forum que vous avez sélectionné pour y déplacer les messages n’est pas approprié. Sélectionnez un forum destiné à recevoir des messages.', - 'MOVE_POSTS_TO' => 'Déplacer les messages', - 'MOVE_SUBFORUMS_TO' => 'Déplacer les sous-forums', - - 'NO_DESTINATION_FORUM' => 'Vous n’avez pas indiquer de forum pour déplacer le contenu', - 'NO_FORUM_ACTION' => 'Aucune action définie pour ce qui se produit avec le contenu du forum', - 'NO_PARENT' => 'Aucun parent', - 'NO_PERMISSIONS' => 'Ne pas copier les permissions', - 'NO_PERMISSION_FORUM_ADD' => 'Vous n’avez pas les permissions requises pour ajouter des forums.', - 'NO_PERMISSION_FORUM_DELETE' => 'Vous n’avez pas les permissions requises pour supprimer des forums.', - - 'PARENT_IS_LINK_FORUM' => 'Le forum-parent que vous avez indiqué est un forum-lien. Les forums-lien ne peuvent pas avoir de sous-forums, indiquez une autre catégorie ou un autre forum en tant que forum-parent.', - 'PARENT_NOT_EXIST' => 'Le parent n’existe pas.', - 'PRUNE_ANNOUNCEMENTS' => 'Délester les annonces', - 'PRUNE_STICKY' => 'Délester les post-it', - 'PRUNE_OLD_POLLS' => 'Délester les anciens sondages', - 'PRUNE_OLD_POLLS_EXPLAIN' => 'Supprime les sujets avec des sondages sans vote suivant l’ancienneté des messages délestés automatiquement.', - - 'REDIRECT_ACL' => 'Vous pouvez désormais %sdéfinir les permissions%s de ce forum.', - - 'SYNC_IN_PROGRESS' => 'Synchronisation du forum', - 'SYNC_IN_PROGRESS_EXPLAIN' => 'Resynchronisation des sujets %1$d/%2$d en cours.', - - 'TYPE_CAT' => 'Catégorie', - 'TYPE_FORUM' => 'Forum', - 'TYPE_LINK' => 'Lien', - - 'UNLOCKED' => 'Déverrouillé', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/groups.php b/phpBB/language/fr/acp/groups.php deleted file mode 100644 index 065865cb36..0000000000 --- a/phpBB/language/fr/acp/groups.php +++ /dev/null @@ -1,132 +0,0 @@ -<?php -/** -* -* acp_groups [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: groups.php, v1.25 2009/10/11 11:30:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ACP_GROUPS_MANAGE_EXPLAIN' => 'Depuis cet écran, vous pouvez gérer tous vos groupes d’utilisateurs. Vous pouvez supprimer, créer et éditer ceux existants. De plus, vous pouvez définir les chefs de groupes, leurs types, (ouvert, fermé, caché), le nom et la description du groupe.', - 'ADD_USERS' => 'Ajouter des utilisateurs', - 'ADD_USERS_EXPLAIN' => 'Vous pouvez ajouter de nouveaux utilisateurs aux groupes. Vous pouvez également choisir que ce groupe sélectionné devienne le nouveau groupe par défaut pour les utilisateurs sélectionnés. Vous pouvez les définir comme chefs de groupe. Indiquez un nom d’utilisateur par ligne.', - - 'COPY_PERMISSIONS' => 'Copier les permissions du groupe', - 'COPY_PERMISSIONS_EXPLAIN' => 'Une fois créé, le groupe aura les mêmes permissions que le groupe sélectionné.', - 'CREATE_GROUP' => 'Créer un nouveau groupe', - - 'GROUPS_NO_MEMBERS' => 'Aucun membre dans ce groupe', - 'GROUPS_NO_MODS' => 'Aucun chef de groupe défini', - 'GROUP_APPROVE' => 'Accepter le membre', - 'GROUP_APPROVED' => 'Membres acceptés', - 'GROUP_AVATAR' => 'Avatar du groupe', - 'GROUP_AVATAR_EXPLAIN' => 'Cette image sera affichée dans le panneau de gestion des groupes.', - 'GROUP_CLOSED' => 'Fermé', - 'GROUP_COLOR' => 'Couleur du groupe', - 'GROUP_COLOR_EXPLAIN' => 'Définit la couleur dans laquelle les noms d’utilisateur des membres apparaîtront, laissez cette case vide pour conserver les paramètres par défaut.', - 'GROUP_CONFIRM_ADD_USER' => 'Êtes-vous sûr de voir ajouter l’utilisateur %1$s au groupe?', - 'GROUP_CONFIRM_ADD_USERS' => 'Êtes-vous sûr de voir ajouter les utilisateurs %1$s au groupe?', - 'GROUP_CREATED' => 'Le groupe a été créé.', - 'GROUP_DEFAULT' => 'Définir comme groupe par défaut', - 'GROUP_DEFS_UPDATED' => 'Le groupe a été défini par défaut pour les utilisateurs sélectionnés.', - 'GROUP_DELETE' => 'Supprimer le membre du groupe', - 'GROUP_DELETED' => 'Le groupe a été supprimé, les utilisateurs de ce groupe ont été transférés dans le groupe par défaut.', - 'GROUP_DEMOTE' => 'Rétrograder le chef de groupe', - 'GROUP_DESC' => 'Description du groupe', - 'GROUP_DETAILS' => 'Informations', - 'GROUP_EDIT_EXPLAIN' => 'Vous pouvez modifier un groupe existant. Vous pouvez modifier son nom, sa description et son type (ouvert, fermé, etc.). Vous pouvez également changer certains paramètres comme la couleur, le rang, etc. Les changements effectués ici annulent les préférences utilisateur. Notez que les utilisateurs du groupe peuvent modifier les paramètres d’avatar de groupe seulement si vous leur en donnez la permission.', - 'GROUP_ERR_USERS_EXIST' => 'Les utilisateurs sélectionnés sont déjà membres de ce groupe.', - 'GROUP_FOUNDER_MANAGE' => 'Gestion par les fondateurs uniquement', - 'GROUP_FOUNDER_MANAGE_EXPLAIN' => 'Limite la gestion de ce groupe aux fondateurs. Les utilisateurs ayant des permissions de groupes peuvent voir ce groupe, ainsi que les membres du groupe.', - 'GROUP_HIDDEN' => 'Invisible', - 'GROUP_LANG' => 'Langue du groupe', - 'GROUP_LEAD' => 'Chefs de groupe', - 'GROUP_LEADERS_ADDED' => 'De nouveaux chefs de groupe ont été ajoutés.', - 'GROUP_LEGEND' => 'Afficher le groupe dans la légende', - 'GROUP_LIST' => 'Membres actuels', - 'GROUP_LIST_EXPLAIN' => 'Voici la liste complète de tous les utilisateurs actuels de ce groupe. Vous pouvez supprimer ces membres (excepté dans certains groupes spéciaux) ou en ajouter de nouveaux.', - 'GROUP_MEMBERS' => 'Membres du groupe', - 'GROUP_MEMBERS_EXPLAIN' => 'Voici la liste complète de tous les membres de ce groupe d’utilisateurs. Ils sont classés en différentes sections par chefs de groupe, membres en attente, membres existants. Vous pouvez gérer tous les paramètres des membres de ce groupe ainsi que leurs rôles. Pour rétrograder un chef de groupe mais le conserver dans le groupe, utilisez “Rétrograder” plutôt que “Supprimer”. De la même manière, utilisez “Promouvoir” pour passer un membre existant en chef de groupe.', - 'GROUP_MESSAGE_LIMIT' => 'Limite de messages privés par dossier pour le groupe', - 'GROUP_MESSAGE_LIMIT_EXPLAIN' => 'Ce paramètre annulera la limite des messages des utilisateurs par dossier. Une valeur à “0” signifie que la limite des utilisateurs par défaut sera utilisée.', - 'GROUP_MODS_ADDED' => 'De nouveaux chefs de groupe ont été ajoutés.', - 'GROUP_MODS_DEMOTED' => 'Le chef de groupe a été rétrogradé.', - 'GROUP_MODS_PROMOTED' => 'Le membre du groupe a été promu.', - 'GROUP_NAME' => 'Nom du groupe', - 'GROUP_NAME_TAKEN' => 'Le nom du groupe que vous avez entré est déjà utilisé, sélectionnez-en un autre.', - 'GROUP_OPEN' => 'Ouvert', - 'GROUP_PENDING' => 'Membres en attente', - 'GROUP_MAX_RECIPIENTS' => 'Nombre maximum autorisé de destinataires pour un message privé', - 'GROUP_MAX_RECIPIENTS_EXPLAIN' => 'Le nombre maximum autorisé de destinataires pour un message privé. Une valeur à “0” indique que le nombre utilisé sera celui spécifié dans la configuration du forum.', - 'GROUP_OPTIONS_SAVE' => 'Options du groupe', - 'GROUP_PROMOTE' => 'Promouvoir en chef de groupe', - 'GROUP_RANK' => 'Rang du groupe', - 'GROUP_RECEIVE_PM' => 'Groupe autorisé à recevoir des messages privés', - 'GROUP_RECEIVE_PM_EXPLAIN' => 'Notez que les groupes invisibles ne peuvent pas recevoir de messages privés, malgré ce paramètre.', - 'GROUP_REQUEST' => 'A la demande', - 'GROUP_SETTINGS_SAVE' => 'Paramètres du groupe', - 'GROUP_TYPE' => 'Type du groupe', - 'GROUP_TYPE_EXPLAIN' => 'Cela détermine quels utilisateurs peuvent joindre ou voir ce groupe.', - 'GROUP_SKIP_AUTH' => 'Exempte le chef de groupe des permissions', - 'GROUP_SKIP_AUTH_EXPLAIN' => 'Si activé, le chef de groupe n’héritera pas des permissions de ce groupe.', - 'GROUP_UPDATED' => 'Les préférences du groupe ont été mises à jour.', - - 'GROUP_USERS_ADDED' => 'De nouveaux utilisateurs ont été ajoutés.', - 'GROUP_USERS_EXIST' => 'Les utilisateurs sélectionnés sont déjà membres de ce groupe.', - 'GROUP_USERS_REMOVE' => 'Utilisateurs supprimés du groupe et transférés dans le groupe par défaut.', - - 'MAKE_DEFAULT_FOR_ALL' => 'Définir comme groupe par défaut pour tous les membres', - 'MEMBERS' => 'Membres', - - 'NO_GROUP' => 'Aucun groupe indiqué.', - 'NO_GROUPS_CREATED' => 'Aucun groupe n’a été créé.', - 'NO_PERMISSIONS' => 'Ne pas copier de permissions', - 'NO_USERS' => 'Vous n’avez indiqué aucun utilisateur.', - 'NO_USERS_ADDED' => 'Aucun utilisateur n’a été ajouté au groupe.', - 'NO_VALID_USERS' => 'Vous n’avez indiqué aucun utilisateur éligible pour cette action.', - - 'SPECIAL_GROUPS' => 'Groupes prédéfinis', - 'SPECIAL_GROUPS_EXPLAIN' => 'Les groupes prédéfinis sont des groupes spéciaux, ils ne peuvent pas être supprimés ou directement modifiés. Vous pouvez néanmoins y ajouter des utilisateurs et modifier les paramètres de base.', - - 'TOTAL_MEMBERS' => 'Membres', - - 'USERS_APPROVED' => 'Les utilisateurs ont été acceptés.', - 'USER_DEFAULT' => 'Utilisateur par défaut', - 'USER_DEF_GROUPS' => 'Groupes définis par l’utilisateur', - 'USER_DEF_GROUPS_EXPLAIN' => 'Ce sont des groupes créés par vous ou un autre administrateur du forum. Vous pouvez y gérer les membres, ainsi qu’éditer les propriétés du groupe ou même supprimer le groupe.', - 'USER_GROUP_DEFAULT' => 'Définir comme groupe par défaut', - 'USER_GROUP_DEFAULT_EXPLAIN' => 'Si “Oui”, ce groupe sera défini en tant que groupe par défaut pour tous les utilisateurs ajoutés.', - 'USER_GROUP_LEADER' => 'Définir comme chef de groupe', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/index.htm b/phpBB/language/fr/acp/index.htm deleted file mode 100644 index e0cc5f36e6..0000000000 --- a/phpBB/language/fr/acp/index.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html>
-<head>
-<title></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</head>
-
-<body bgcolor="#FFFFFF" text="#000000">
-
-</body>
-</html>
diff --git a/phpBB/language/fr/acp/language.php b/phpBB/language/fr/acp/language.php deleted file mode 100644 index 4df5b00114..0000000000 --- a/phpBB/language/fr/acp/language.php +++ /dev/null @@ -1,103 +0,0 @@ -<?php -/** -* -* acp_language [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: language.php, v1.27 2010/02/09 19:13:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ACP_FILES' => 'Fichiers de langue de l’administration', - 'ACP_LANGUAGE_PACKS_EXPLAIN' => 'Vous pouvez installer/supprimer des packs de langue. Le pack de langue par défaut est marqué d’un astérisque (*).', - - 'EMAIL_FILES' => 'Modèles d’e-mail', - - 'FILE_CONTENTS' => 'Contenu du fichier', - 'FILE_FROM_STORAGE' => 'Fichier du dossier de stockage', - - 'HELP_FILES' => 'Fichiers d’aide', - - 'INSTALLED_LANGUAGE_PACKS' => 'Packs de langue installés', - 'INVALID_LANGUAGE_PACK' => 'Le pack sélectionné semble invalide. Vérifiez-le et recommencez le chargement si nécessaire.', - 'INVALID_UPLOAD_METHOD' => 'La méthode de chargement choisie est invalide, choisissez-en une autre.', - - 'LANGUAGE_DETAILS_UPDATED' => 'Informations de langue mises à jour.', - 'LANGUAGE_ENTRIES' => 'Entrées de langue', - 'LANGUAGE_ENTRIES_EXPLAIN' => 'Vous pouvez modifier les entrées de pack de langue existantes ou non encore traduites. <br /><strong>Note:</strong> Une fois le fichier de langue modifié, les modifications seront enregistrées dans un dossier séparé que vous pourrez télécharger. Les modifications ne seront pas visibles par les utilisateurs jusqu’à ce que vous remplaciez les fichiers originaux sur votre espace Web (en les chargeant).', - 'LANGUAGE_FILES' => 'Fichiers de langue', - 'LANGUAGE_KEY' => 'Clé de langue', - 'LANGUAGE_PACK_ALREADY_INSTALLED' => 'Ce pack de langue est déjà installé.', - 'LANGUAGE_PACK_DELETED' => 'Le pack de langue <strong>%s</strong> a été supprimé. La langue est désormais celle par défaut du forum pour les membres qui utilisaient ce pack.', - 'LANGUAGE_PACK_DETAILS' => 'Informations du pack', - 'LANGUAGE_PACK_INSTALLED' => 'Le pack de langue <strong>%s</strong> a été installé.', - 'LANGUAGE_PACK_ISO' => 'ISO', - 'LANGUAGE_PACK_LOCALNAME' => 'Nom local', - 'LANGUAGE_PACK_NAME' => 'Nom', - 'LANGUAGE_PACK_NOT_EXIST' => 'Le pack de langue choisi n’existe pas.', - 'LANGUAGE_PACK_USED_BY' => 'Utilisé par (robots inclus)', - 'LANGUAGE_VARIABLE' => 'Variable de langue', - 'LANG_AUTHOR' => 'Auteur du pack de langue', - 'LANG_ENGLISH_NAME' => 'Nom Anglais', - 'LANG_ISO_CODE' => 'Code ISO', - 'LANG_LOCAL_NAME' => 'Nom local', - - 'MISSING_LANGUAGE_FILE' => 'Fichier de langue absent: <strong style="color:red">%s</strong>', - 'MISSING_LANG_VARIABLES' => 'Variables de langue absentes', - 'MODS_FILES' => 'Fichiers de langue des MODs', - - 'NO_FILE_SELECTED' => 'Vous n’avez pas indiqué de fichier.', - 'NO_LANG_ID' => 'Vous n’avez pas indiqué de pack de langue', - 'NO_REMOVE_DEFAULT_LANG' => 'Vous ne pouvez pas supprimer le pack de langue par défaut.<br />Si vous voulez supprimer ce pack, changez d’abord la langue par défaut du forum.', - 'NO_UNINSTALLED_LANGUAGE_PACKS' => 'Aucun pack de langue installé', - - 'REMOVE_FROM_STORAGE_FOLDER' => 'Supprimer du dossier de stockage', - - 'SELECT_DOWNLOAD_FORMAT' => 'Choisissez le format de téléchargement', - 'SUBMIT_AND_DOWNLOAD' => 'Soumettre et télécharger le fichier', - 'SUBMIT_AND_UPLOAD' => 'Soumettre et charger le fichier', - - 'THOSE_MISSING_LANG_FILES' => 'Les fichiers de langue suivants sont absents du dossier de langue %s', - 'THOSE_MISSING_LANG_VARIABLES' => 'Les variables de langue suivantes sont absentes du pack <strong>%s</strong>', - - 'UNINSTALLED_LANGUAGE_PACKS' => 'Packs non installés', - - 'UNABLE_TO_WRITE_FILE' => 'Le fichier n’a pas pu être enregistré dans %s.', - 'UPLOAD_COMPLETED' => 'Le chargement est terminé', - 'UPLOAD_FAILED' => 'Le chargement a échoué pour une raison inconnue. Remplacez le fichier manuellement.', - 'UPLOAD_METHOD' => 'Méthode de chargement', - 'UPLOAD_SETTINGS' => 'Paramètres de chargement', - - 'WRONG_LANGUAGE_FILE' => 'Le fichier de langue choisi est invalide.', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/modules.php b/phpBB/language/fr/acp/modules.php deleted file mode 100644 index f612370af2..0000000000 --- a/phpBB/language/fr/acp/modules.php +++ /dev/null @@ -1,85 +0,0 @@ -<?php -/** -* -* acp_modules [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: modules.php, v1.24 2008/07/03 17:55:10 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ACP_MODULE_MANAGEMENT_EXPLAIN' => 'Vous pouvez gérer l’ensemble des modules. Notez bien que le panneau d’administration comporte 3 niveaux de menu (Catégorie -> Catégorie -> Module) alors que les autres ne comportent que 2 niveaux (Catégorie -> Module) qui doivent être conservés. Soyez également conscient que vous pouvez vous bloquer si vous désactivez ou supprimez les modules responsables de la gestion des modules eux-mêmes.', - 'ADD_MODULE' => 'Ajouter un module', - 'ADD_MODULE_CONFIRM' => 'Êtes-vous sûr de vouloir ajouter le module sélectionné avec le mode sélectionné?', - 'ADD_MODULE_TITLE' => 'Ajouter un module', - - 'CANNOT_REMOVE_MODULE' => 'Impossible de supprimer le module parent. Supprimez ou déplacer les modules enfants avant de tenter cette action.', - 'CATEGORY' => 'Categorie', - 'CHOOSE_MODE' => 'Choisissez un mode de module', - 'CHOOSE_MODE_EXPLAIN' => 'Indiquez le mode qui doit être utilisé.', - 'CHOOSE_MODULE' => 'Choisissez un module', - 'CHOOSE_MODULE_EXPLAIN' => 'Indiquez le fichier appelé par ce module.', - 'CREATE_MODULE' => 'Créer un nouveau module', - - 'DEACTIVATED_MODULE' => 'Désactiver le module', - 'DELETE_MODULE' => 'Supprimer le module', - 'DELETE_MODULE_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer ce module?', - - 'EDIT_MODULE' => 'Editer le module', - 'EDIT_MODULE_EXPLAIN' => 'Vous pouvez entrer une configuration particulière au module.', - - 'HIDDEN_MODULE' => 'Cacher le module', - - 'MODULE' => 'Module', - 'MODULE_ADDED' => 'Module ajouté.', - 'MODULE_DELETED' => 'Module supprimé.', - 'MODULE_DISPLAYED' => 'Afficher le module', - 'MODULE_DISPLAYED_EXPLAIN' => 'Si vous ne souhaitez pas afficher ce module mais tout de même l’utiliser, mettez ceci à non.', - 'MODULE_EDITED' => 'Module édité.', - 'MODULE_ENABLED' => 'Activer le module', - 'MODULE_LANGNAME' => 'Langue du module', - 'MODULE_LANGNAME_EXPLAIN' => 'Entrez le nom du module qui sera affiché. Utilisez la variable de langue si elle est définie dans le fichier de langue.', - 'MODULE_TYPE' => 'Type de module', - - 'NO_CATEGORY_TO_MODULE' => 'Impossible de convertir la catégorie en module. Supprimez ou déplacer les modules enfants avant de tenter cette action.', - 'NO_MODULE' => 'Aucun module n’a été trouvé.', - 'NO_MODULE_ID' => 'Aucune identification du module n’a été indiquée.', - 'NO_MODULE_LANGNAME' => 'Aucun nom de module n’a été indiqué.', - 'NO_PARENT' => 'Aucun module parent', - - 'PARENT' => 'Module parent', - 'PARENT_NO_EXIST' => 'Le module parent n’existe pas.', - - 'SELECT_MODULE' => 'Sélectionnez un module', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/permissions.php b/phpBB/language/fr/acp/permissions.php deleted file mode 100644 index bb674cee2b..0000000000 --- a/phpBB/language/fr/acp/permissions.php +++ /dev/null @@ -1,287 +0,0 @@ -<?php -/** -* -* acp_permissions [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: permissions.php, v1.25 2008/10/10 11:49:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ACP_PERMISSIONS_EXPLAIN' => ' <p>Les permissions sont très nombreuses et regroupées en quatre grandes sections qui sont: - - </p><h2>Permissions globales</h2> - <p>Elles sont utilisées pour contrôler l’accès de façon globale et sont appliquées à l’ensemble du forum. Elles sont elles-mêmes divisées en permissions des utilisateurs, groupes, administrateurs et modérateurs globaux.</p> - - <h2>Permissions de forums</h2> - <p>Elles sont utilisées pour contrôler l’accès de base aux forums. Elles sont elles-mêmes divisées en permissions des forums, modérateurs des forums, permissions des forums pour les utilisateurs et permissions des forums pour les groupes.</p> - - <h2>Modèles de permissions</h2> - <p>Ils sont utilisés afin de créer différents ensembles de permissions pour les différents types de permission pouvant être assignés plus tard à une base de modèles de base. Les modèles par défaut doivent couvrir l’administration des petits et grands forums, cependant dans chacune des quatre divisions, vous pouvez ajouter/éditer/supprimer des modèles selon vos souhaits.</p> - - <h2>Masques de permissions</h2> - <p>Ils sont utilisés afin de voir les permissions effectives assignées aux utilisateurs, modérateurs (locaux et globaux), administrateurs du forum.</p> - - <br /> - - <p>Pour de plus amples informations sur la configuration et la gestion des permissions de votre forum phpBB3, consultez le <a href="http://www.phpbb.com/support/documentation/3.0/quickstart/quick_permissions.html">Chapitre 1.5 de notre Guide de Démarrage Rapide</a>.</p> - ', - 'ACL_NEVER' => 'Jamais', - 'ACL_SET' => 'Configuration des Permissions', - 'ACL_SET_EXPLAIN' => 'Les permissions sont basées sur un simple système <samp>OUI</samp>/<samp>NON</samp>. Régler une option sur <samp>JAMAIS</samp> pour un utilisateur ou groupe d’utilisateurs l’emporte sur toute autre valeur qui lui était assignée. Si vous ne souhaitez pas assigner de valeur à une option pour cet utilisateur ou ce groupe, sélectionnez <samp>NON</samp>. Si des valeurs sont assignées ailleurs pour cette option, elles seront utilisées de préférence, autrement <samp>JAMAIS</samp> est appliqué. Tous les objets sélectionnés (avec la case de choix devant eux) copieront l’ensemble de permissions que vous aurez défini.', - 'ACL_SETTING' => 'Configuration', - - 'ACL_TYPE_A_' => 'Permissions d’administration', - 'ACL_TYPE_F_' => 'Permissions des Forums', - 'ACL_TYPE_M_' => 'Permissions de Modération', - 'ACL_TYPE_U_' => 'Permissions de l’Utilisateur', - - 'ACL_TYPE_GLOBAL_A_' => 'Permissions d’administration', - 'ACL_TYPE_GLOBAL_U_' => 'Permissions de l’Utilisateur', - 'ACL_TYPE_GLOBAL_M_' => 'Permissions des modérateurs globaux', - 'ACL_TYPE_LOCAL_M_' => 'Permissions des modérateurs', - 'ACL_TYPE_LOCAL_F_' => 'Permissions des forums', - - 'ACL_NO' => 'Non', - 'ACL_VIEW' => 'Aperçu des Permissions', - 'ACL_VIEW_EXPLAIN' => 'Vous pouvez voir les permissions effectives de l’utilisateur/du groupe. Un rectangle rouge indique que l’utilisateur/le groupe n’a pas la permission, un rectangle vert indique que l’utilisateur/le groupe a la permission.', - 'ACL_YES' => 'Oui', - - 'ACP_ADMINISTRATORS_EXPLAIN' => 'Vous pouvez attribuer des droits d’administration à des utilisateurs ou groupes. Tous les utilisateurs avec des permissions d’administration peuvent accéder au panneau d’administration.', - 'ACP_FORUM_MODERATORS_EXPLAIN' => 'Vous pouvez attribuer des utilisateurs et des groupes en tant que modérateurs du forum. Pour attribuer l’accès des utilisateurs aux forums et pour définir des droits de modération globale ou d’administration, utilisez la page appropriée.', - 'ACP_FORUM_PERMISSIONS_EXPLAIN' => 'Vous pouvez modifier le nombre d’utilisateurs et de groupes pouvant accéder à certains forums. Pour attribuer des modérateurs ou définir des administrateurs, utilisez la page appropriée.', - 'ACP_FORUM_PERMISSIONS_COPY_EXPLAIN' => 'Vous pouvez copier les permissions d’un forum vers d’autres forums.', - 'ACP_GLOBAL_MODERATORS_EXPLAIN' => 'Vous pouvez attribuer les droits de modérateur global aux utilisateurs ou aux groupes. Ces modérateurs sont des modérateurs ordinaires excepté qu’ils ont accès à tous les forums.', - 'ACP_GROUPS_FORUM_PERMISSIONS_EXPLAIN' => 'Vous pouvez attribuer les permissions des forums aux groupes.', - 'ACP_GROUPS_PERMISSIONS_EXPLAIN' => 'Vous pouvez attribuer les permissions globales aux groupes d’utilisateur, de modérateur global et d’administrateur. Les permissions d’utilisateur incluent des possibilités comme l’utilisation d’avatar, l’envoi de messages privés, etc. les permissions de modérateur global comme l’approbation des messages, la gestion des sujets, la gestion des bannissements, etc. et enfin les permissions d’administrateur comme la modification de permissions, la gestion des BBCodes personnalisés, la gestion des forums, etc. Les permissions individuelles des utilisateurs ne doivent être modifiées que dans de rares occasions, la méthode appropriée est l’intégration d’utilisateurs dans des groupes puis l’attribution de permissions à ces groupes.', - 'ACP_ADMIN_ROLES_EXPLAIN' => 'Vous pouvez gérer les modèles des permissions des administrateurs. Les modèles sont des permissions effectives, si vous modifiez un modèle les éléments auxquels ce modèle était assigné verront aussi leurs permissions modifiées.', - 'ACP_FORUM_ROLES_EXPLAIN' => 'Vous pouvez gérer les modèles des permissions des forums. Les modèles sont des permissions effectives, si vous modifiez un modèle les éléments auxquels ce modèle était assigné verront leurs permissions modifiées aussi.', - 'ACP_MOD_ROLES_EXPLAIN' => 'Vous pouvez gérer les modèles des permissions des modérateurs. Les modèles sont des permissions effectives, si vous modifiez un modèle les éléments auxquels ce modèle était assigné verront leurs permissions modifiées aussi.', - 'ACP_USER_ROLES_EXPLAIN' => 'Vous pouvez gérer les modèles des permissions des utilisateurs. Les modèles sont des permissions effectives, si vous modifiez un modèle les éléments auxquels ce modèle était assigné verront leurs permissions modifiées aussi.', - 'ACP_USERS_FORUM_PERMISSIONS_EXPLAIN' => 'Vous pouvez attribuer les permissions des forums aux utilisateurs.', - 'ACP_USERS_PERMISSIONS_EXPLAIN' => 'Vous pouvez attribuer les permissions globales aux utilisateurs - permissions d’utilisateur, permissions de modérateur global et permissions d’administrateur. Les permissions d’utilisateur incluent des possibilités comme l’utilisation d’avatar, l’envoi de messages privés, etc. les permissions de modérateur global comme l’approbation des messages, la gestion des sujets, la gestion des bannissements, etc. et enfin les permissions d’administrateur comme la modification de permissions, la gestion des BBCodes personnalisés, la gestion des forums, etc. Pour modifier les permissions d’un grand nombre d’utilisateurs, le système de permissions des groupes est la méthode la plus appropriée. Les permissions individuelles des utilisateurs ne doivent être modifiées que dans de rares occasions, la méthode appropriée est l’intégration d’utilisateurs dans des groupes et l’attribution de permissions à ces groupes.', - 'ACP_VIEW_ADMIN_PERMISSIONS_EXPLAIN' => 'Vous pouvez consulter les permissions effectives des administrateurs assignées aux utilisateurs ou groupes sélectionnés', - 'ACP_VIEW_GLOBAL_MOD_PERMISSIONS_EXPLAIN' => 'Vous pouvez consulter les permissions effectives des modérateurs globaux assignées aux utilisateurs ou groupes sélectionnés', - 'ACP_VIEW_FORUM_PERMISSIONS_EXPLAIN' => 'Vous pouvez consulter les permissions effectives des forums assignées aux utilisateurs ou groupes sélectionnés', - 'ACP_VIEW_FORUM_MOD_PERMISSIONS_EXPLAIN' => 'Vous pouvez consulter les permissions effectives des modérateurs du forum assignées aux utilisateurs ou groupes sélectionnés', - 'ACP_VIEW_USER_PERMISSIONS_EXPLAIN' => 'Vous pouvez consulter les permissions effectives des utilisateurs assignées aux utilisateurs ou groupes sélectionnés', - - 'ADD_GROUPS' => 'Ajouter des groupes', - 'ADD_PERMISSIONS' => 'Ajouter des permissions', - 'ADD_USERS' => 'Ajouter des utilisateurs', - 'ADVANCED_PERMISSIONS' => 'Permissions avancées', - 'ALL_GROUPS' => 'Sélectionner tous les groupes', - 'ALL_NEVER' => 'Tous sur <samp>JAMAIS</samp>', - 'ALL_NO' => 'Tous sur <samp>NON</samp>', - 'ALL_USERS' => 'Sélectionner tous les utilisateurs', - 'ALL_YES' => 'Tous sur <samp>OUI</samp>', - 'APPLY_ALL_PERMISSIONS' => 'Appliquer toutes les permissions', - 'APPLY_PERMISSIONS' => 'Appliquer les permissions', - 'APPLY_PERMISSIONS_EXPLAIN' => 'Les permissions et modèles définis pour cet élément seront appliqués uniquement à cet élément et à tous les éléments cochés.', - 'AUTH_UPDATED' => 'Les permissions ont été mises à jour.', - - 'COPY_PERMISSIONS_CONFIRM' => 'Êtes-vous sûr de vouloir effectuer cette opération? Attention, les permissions existantes des cibles sélectionnées seront remplacées.', - 'COPY_PERMISSIONS_FORUM_FROM_EXPLAIN' => 'Le forum source dont vous copiez les permissions.', - 'COPY_PERMISSIONS_FORUM_TO_EXPLAIN' => 'Les forums de destination où vous voulez que les permissions copiées s’appliquent.', - 'COPY_PERMISSIONS_FROM' => 'Copier les permissions de', - 'COPY_PERMISSIONS_TO' => 'Appliquer les permissions à', - - 'CREATE_ROLE' => 'Créer un modèle', - 'CREATE_ROLE_FROM' => 'Utiliser les paramètres de…', - 'CUSTOM' => 'Personnaliser…', - - 'DEFAULT' => 'Défaut', - 'DELETE_ROLE' => 'Supprimer le modèle', - 'DELETE_ROLE_CONFIRM' => 'Êtes-vous sûr(e) de vouloir supprimer ce modèle? Les éléments auxquels ce modèle est assigné <strong>ne</strong> perdront <strong>pas</strong> leurs paramètres de permission.', - 'DISPLAY_ROLE_ITEMS' => 'Voir les éléments utilisant ce modèle', - - 'EDIT_PERMISSIONS' => 'Editer les permissions', - 'EDIT_ROLE' => 'Editer le modèle', - - 'GROUPS_NOT_ASSIGNED' => 'Aucun groupe n’est assigné à ce modèle', - - 'LOOK_UP_GROUP' => 'Rechercher le groupe d’utilisateurs', - 'LOOK_UP_USER' => 'Rechercher l’utilisateur', - - 'MANAGE_GROUPS' => 'Gérer les groupes', - 'MANAGE_USERS' => 'Gérer les utilisateurs', - - 'NO_AUTH_SETTING_FOUND' => 'Paramètres de permission non définis.', - 'NO_ROLE_ASSIGNED' => 'Aucun modèle assigné…', - 'NO_ROLE_ASSIGNED_EXPLAIN' => 'La configuration de ce modèle ne modifie pas les permissions sur la droite. Si vous souhaitez supprimer toutes les permissions, vous devez utiliser le lien “Tous sur <samp>NON</samp>”.', - 'NO_ROLE_AVAILABLE' => 'Aucun modèle disponible', - 'NO_ROLE_NAME_SPECIFIED' => 'Merci de donner un nom au modèle.', - 'NO_ROLE_SELECTED' => 'Le modèle n’a pas été trouvé.', - 'NO_USER_GROUP_SELECTED' => 'Vous n’avez pas sélectionné d’utilisateur ou de groupe.', - - 'ONLY_FORUM_DEFINED' => 'Vous n’avez défini que des forums dans votre sélection. Sélectionnez aussi, au moins, un utilisateur ou un groupe.', - - 'PERMISSION_APPLIED_TO_ALL' => 'Les permissions et modèles seront aussi appliqués à tous les objets cochés', - 'PLUS_SUBFORUMS' => '+Sous-forums', - - 'REMOVE_PERMISSIONS' => 'Supprimer des permissions', - 'REMOVE_ROLE' => 'Supprimer un modèle', - 'RESULTING_PERMISSION' => 'Permission résultante', - 'ROLE' => 'modèle', - 'ROLE_ADD_SUCCESS' => 'modèle ajouté.', - 'ROLE_ASSIGNED_TO' => 'Utilisateurs/groupes assignés à %s', - 'ROLE_DELETED' => 'modèle supprimé.', - 'ROLE_DESCRIPTION' => 'Description du modèle', - - 'ROLE_ADMIN_FORUM' => 'Administrateur du forum', - 'ROLE_ADMIN_FULL' => 'Super Administrateur', - 'ROLE_ADMIN_STANDARD' => 'Administrateur standard', - 'ROLE_ADMIN_USERGROUP' => 'Administrateur des utilisateurs et des groupes', - 'ROLE_FORUM_BOT' => 'Accès robots', - 'ROLE_FORUM_FULL' => 'Accès total', - 'ROLE_FORUM_LIMITED' => 'Accès limité', - 'ROLE_FORUM_LIMITED_POLLS' => 'Accès limité + Sondages', - 'ROLE_FORUM_NOACCESS' => 'Aucun accès', - 'ROLE_FORUM_ONQUEUE' => 'Attente de modération', - 'ROLE_FORUM_POLLS' => 'Accès standard + Sondages', - 'ROLE_FORUM_READONLY' => 'Accès en lecture uniquement', - 'ROLE_FORUM_STANDARD' => 'Accès standard', - 'ROLE_FORUM_NEW_MEMBER' => 'Nouvel utilisateur enregistré', - 'ROLE_MOD_FULL' => 'Super Modérateur', - 'ROLE_MOD_QUEUE' => 'Modérateur suppléant', - 'ROLE_MOD_SIMPLE' => 'Modérateur simple', - 'ROLE_MOD_STANDARD' => 'Modérateur standard', - 'ROLE_USER_FULL' => 'Toutes fonctionnalités', - 'ROLE_USER_LIMITED' => 'Fonctionnalités limitées', - 'ROLE_USER_NOAVATAR' => 'Aucun avatar', - 'ROLE_USER_NOPM' => 'Aucun message privé', - 'ROLE_USER_STANDARD' => 'Fonctionnalités standards', - 'ROLE_USER_NEW_MEMBER' => 'Nouvel utilisateur enregistré', - - 'ROLE_DESCRIPTION_ADMIN_FORUM' => 'Peut accéder à la gestion et à la configuration des permissions du forum.', - 'ROLE_DESCRIPTION_ADMIN_FULL' => 'A accès à toutes les fonctions administratives du forum.<br />Non recommandé.', - 'ROLE_DESCRIPTION_ADMIN_STANDARD' => 'A accès à la plupart des fonctionnalités administratives mais ne peut pas utiliser le serveur ou les outils relatifs au système.', - 'ROLE_DESCRIPTION_ADMIN_USERGROUP' => 'Peut gérer des groupes et des utilisateurs: est autorisé à modifier les permissions, les paramètres, à gérer les bannissements et les rangs.', - 'ROLE_DESCRIPTION_FORUM_BOT' => 'Ce modèle est recommandé pour les robots et moteurs de recherche.', - 'ROLE_DESCRIPTION_FORUM_FULL' => 'Peut utiliser toutes les fonctionnalités du forum, y compris les annonces et les post-it. N’est pas concerné(e) par la limite de flood.<br />Non recommandé pour les utilisateurs normaux.', - 'ROLE_DESCRIPTION_FORUM_LIMITED' => 'Peut utiliser quelques fonctionnalités du forum, mais ne peut pas joindre de fichiers ou utiliser les icônes des messages.', - 'ROLE_DESCRIPTION_FORUM_LIMITED_POLLS' => 'Comme l’Accès Limité mais peut aussi créer des sondages.', - 'ROLE_DESCRIPTION_FORUM_NOACCESS' => 'Ne peut ni voir ni accéder au forum.', - 'ROLE_DESCRIPTION_FORUM_ONQUEUE' => 'Peut utiliser la plupart des fonctionnalités du forum y compris les fichiers joints, mais les messages et les sujets doivent être approuvés par un modérateur.', - 'ROLE_DESCRIPTION_FORUM_POLLS' => 'Comme l’Accès Standard mais peut aussi créer des sondages.', - 'ROLE_DESCRIPTION_FORUM_READONLY' => 'Peut lire le forum, mais ne peut pas créer de nouveaux sujets ou répondre aux messages.', - 'ROLE_DESCRIPTION_FORUM_STANDARD' => 'Peut utiliser la plupart des fonctionnalités du forum y compris les fichiers joints, mais ne peut pas verrouiller ou supprimer ses propres sujets, et ne peut pas créer de sondages.', - 'ROLE_DESCRIPTION_FORUM_NEW_MEMBER' => 'Un modèle pour les membres du groupe prédéfini nouveaux utilisateurs enregistrés; contient les permission <samp>JAMAIS</samp> pour verrouiller les fonctionnalités aux nouveaux utilisateurs.', - 'ROLE_DESCRIPTION_MOD_FULL' => 'Peut utiliser toutes les fonctionnalités de modération, y compris le bannissement.', - 'ROLE_DESCRIPTION_MOD_QUEUE' => 'Peut utiliser l’attente de modération pour valider ou éditer des messages, mais rien d’autre.', - 'ROLE_DESCRIPTION_MOD_SIMPLE' => 'Peut utiliser seulement les actions de sujet de base. Ne peut pas envoyer d’avertissements ou utiliser l’attente de modération.', - 'ROLE_DESCRIPTION_MOD_STANDARD' => 'Peut utiliser la plupart des outils de modération, mais ne peut pas bannir les utilisateurs ou modifier l’auteur du message.', - 'ROLE_DESCRIPTION_USER_FULL' => 'Peut utiliser toutes les fonctionnalités disponibles du forum pour les utilisateurs, y compris modifier le nom d’utilisateur ou ignorer la limite de flood.<br />Non recommandé.', - 'ROLE_DESCRIPTION_USER_LIMITED' => 'Peut avoir accès à la plupart des fonctionnalités de l’utilisateur. Les fichiers joints, e-mails ou messages instantanés ne sont pas autorisés.', - 'ROLE_DESCRIPTION_USER_NOAVATAR' => 'A un ensemble limité de fonctionnalités et n’est pas autorisé à avoir d’avatar.', - 'ROLE_DESCRIPTION_USER_NOPM' => 'A un ensemble limité de fonctionnalités et n’est pas autorisé à envoyer de messages privés.', - 'ROLE_DESCRIPTION_USER_STANDARD' => 'Peut accéder à la plupart des fonctionnalités de l’utilisateur, mais pas à toutes. Par exemple, ne peut pas modifier le nom d’utilisateur ou ignorer la limite de flood.', - 'ROLE_DESCRIPTION_USER_NEW_MEMBER' => 'Un modèle pour les membres du groupe prédéfini nouveaux utilisateurs enregistrés; contient les permissions <samp>JAMAIS</samp> pour verrouiller les fonctionnalités aux nouveaux utilisateurs.', - - 'ROLE_DESCRIPTION_EXPLAIN' => 'Vous avez la possibilité d’entrer une courte explication sur ce que fait le modèle ou ce qu’il signifie. Le texte que vous entrez sera aussi affiché dans l’écran des permissions.', - 'ROLE_DESCRIPTION_LONG' => 'La description du modèle est trop longue. Limitez-la à 4000 caractères.', - 'ROLE_DETAILS' => 'Détails du modèle', - 'ROLE_EDIT_SUCCESS' => 'Le modèle a été édité.', - 'ROLE_NAME' => 'Nom du modèle', - 'ROLE_NAME_ALREADY_EXIST' => 'Un modèle nommé <strong>%s</strong> existe déjà pour le type de permission indiqué.', - 'ROLE_NOT_ASSIGNED' => 'Le modèle n’a pas encore été assigné.', - - 'SELECTED_FORUM_NOT_EXIST' => 'Le(s) forum(s) sélectionné(s) n’existe(nt) pas.', - 'SELECTED_GROUP_NOT_EXIST' => 'Le(s) groupe(s) sélectionné(s) n’existe(nt) pas.', - 'SELECTED_USER_NOT_EXIST' => 'L’utilisateur (les utilisateurs) sélectionné(s) n’existe(nt) pas.', - 'SELECT_FORUM_SUBFORUM_EXPLAIN' => 'Le forum que vous sélectionnez inclura tous les sous-forums dans la sélection', - 'SELECT_ROLE' => 'Sélectionner un modèle…', - 'SELECT_TYPE' => 'Sélectionner un type', - 'SET_PERMISSIONS' => 'Régler les permissions', - 'SET_ROLE_PERMISSIONS' => 'Régler les permissions du modèle', - 'SET_USERS_PERMISSIONS' => 'Régler les permissions des utilisateurs', - 'SET_USERS_FORUM_PERMISSIONS' => 'Régler les permissions des utilisateurs du forum', - - 'TRACE_DEFAULT' => 'Par défaut, chaque permission est sur <samp>NON</samp> (Désactivée). Ainsi la permission peut être outrepassée par d’autres paramètres.', - 'TRACE_FOR' => 'Tracer pour', - 'TRACE_GLOBAL_SETTING' => '%s (global)', - 'TRACE_GROUP_NEVER_TOTAL_NEVER' => 'Cette permission de groupe est réglée sur <samp>JAMAIS</samp> tout comme le résultat total, l’ancien résultat est donc conservé..', - 'TRACE_GROUP_NEVER_TOTAL_NEVER_LOCAL' => 'Cette permission de groupe pour ce forum est réglée sur <samp>JAMAIS</samp> tout comme le résultat total, l’ancien résultat est donc conservé.', - 'TRACE_GROUP_NEVER_TOTAL_NO' => 'Cette permission de groupe est réglée sur <samp>JAMAIS</samp> ce qui devient la nouvelle valeur globale car elle n’était pas encore réglée (Paramètre sur <samp>NON</samp>).', - 'TRACE_GROUP_NEVER_TOTAL_NO_LOCAL' => 'Cette permission de groupe pour ce forum est réglée sur <samp>JAMAIS</samp> ce qui devient la nouvelle valeur globale car elle n’était pas encore réglée (Paramètre sur <samp>NON</samp>).', - 'TRACE_GROUP_NEVER_TOTAL_YES' => 'Cette permission de groupe est réglée sur <samp>JAMAIS</samp> ce qui outrepasse le <samp>OUI</samp> pour appliquer <samp>JAMAIS</samp> pour cet utilisateur.', - 'TRACE_GROUP_NEVER_TOTAL_YES_LOCAL' => 'Cette permission de groupe pour ce forum est réglée sur <samp>JAMAIS</samp> ce qui outrepasse le <samp>OUI</samp> pour appliquer <samp>JAMAIS</samp> pour cet utilisateur.', - 'TRACE_GROUP_NO' => 'Cette permission de groupe est réglée sur <samp>NON</samp> pour ce groupe, ainsi l’ancienne valeur est conservée.', - 'TRACE_GROUP_NO_LOCAL' => 'Cette permission de groupe est réglée sur <samp>NON</samp> pour ce groupe dans ce forum, ainsi l’ancienne valeur est conservée.', - 'TRACE_GROUP_YES_TOTAL_NEVER' => 'Cette permission de groupe est réglée sur <samp>OUI</samp> mais la valeur globale <samp>JAMAIS</samp> ne peut pas être outrepassée.', - 'TRACE_GROUP_YES_TOTAL_NEVER_LOCAL' => 'Cette permission de groupe pour ce forum est réglée sur <samp>OUI</samp> mais la valeur globale <samp>JAMAIS</samp> ne peut pas être outrepassée.', - 'TRACE_GROUP_YES_TOTAL_NO' => 'Cette permission de groupe est réglée sur <samp>OUI</samp> ce qui devient la nouvelle valeur globale car elle n’était pas encore réglée (Paramètre sur <samp>NON</samp>).', - 'TRACE_GROUP_YES_TOTAL_NO_LOCAL' => 'Cette permission de groupe pour ce forum est réglée sur <samp>OUI</samp> ce qui devient la nouvelle valeur globale car elle n’était pas encore réglée (Paramètre sur <samp>NON</samp>).', - 'TRACE_GROUP_YES_TOTAL_YES' => 'Cette permission de groupe est réglée sur <samp>OUI</samp> et la permission totale est déjà réglée sur <samp>OUI</samp> , elle est donc conservée.', - 'TRACE_GROUP_YES_TOTAL_YES_LOCAL' => 'Cette permission de groupe pour ce forum est réglée sur <samp>OUI</samp> et la permission totale est déjà réglée sur <samp>OUI</samp> , elle est donc conservée.', - 'TRACE_PERMISSION' => 'Tracer la permission - %s', - 'TRACE_RESULT' => 'Tracer le résultat', - 'TRACE_SETTING' => 'Tracer la configuration', - - 'TRACE_USER_GLOBAL_YES_TOTAL_YES' => 'La permission de l’utilisateur sur le forum est sur <samp>OUI</samp>, mais la permission commune étant déjà réglée sur <samp>OUI</samp>, elle est conservée. %sTracer la permission globale%s', - 'TRACE_USER_GLOBAL_YES_TOTAL_NEVER' => 'La permission de l’utilisateur sur le forum est sur <samp>OUI</samp>, ce qui outrepasse le résultat actuel <samp>JAMAIS</samp>. %sTracer la permission globale%s', - 'TRACE_USER_GLOBAL_NEVER_TOTAL_KEPT' => 'La permission de l’utilisateur sur le forum est sur <samp>JAMAIS</samp> ce qui n’influence pas la permission locale. %sTracer la permission globale%s', - - 'TRACE_USER_FOUNDER' => 'L’utilisateur est un fondateur, c’est pourquoi les permissions d’administration sont toujours réglées sur <samp>OUI</samp>.', - 'TRACE_USER_KEPT' => 'La permission de l’utilisateur est réglée sur <samp>NON</samp>, ainsi l’ancienne valeur globale est conservée.', - 'TRACE_USER_KEPT_LOCAL' => 'La permission de l’utilisateur pour ce forum est réglée sur <samp>NON</samp>, ainsi l’ancienne valeur globale est conservée.', - 'TRACE_USER_NEVER_TOTAL_NEVER' => 'La permission de l’utilisateur est réglée sur <samp>JAMAIS</samp> et la valeur commune est réglée sur <samp>JAMAIS</samp>, donc rien n’est modifié.', - 'TRACE_USER_NEVER_TOTAL_NEVER_LOCAL' => 'La permission de l’utilisateur pour ce forum est réglée sur <samp>JAMAIS</samp> et la valeur commune est réglée sur <samp>JAMAIS</samp>, donc rien n’est modifié.', - 'TRACE_USER_NEVER_TOTAL_NO' => 'La permission de l’utilisateur est réglée sur <samp>JAMAIS</samp> ce qui devient la valeur commune car elle était réglée sur NON.', - 'TRACE_USER_NEVER_TOTAL_NO_LOCAL' => 'La permission de l’utilisateur pour ce forum est réglée sur <samp>JAMAIS</samp> ce qui devient la valeur commune car elle était réglée sur NON.', - 'TRACE_USER_NEVER_TOTAL_YES' => 'La permission de l’utilisateur est réglée sur <samp>JAMAIS</samp> et outrepasse le <samp>OUI</samp> précédent.', - 'TRACE_USER_NEVER_TOTAL_YES_LOCAL' => 'La permission de l’utilisateur pour ce forum est réglée sur <samp>JAMAIS</samp> et outrepasse le <samp>OUI</samp> précédent.', - 'TRACE_USER_NO_TOTAL_NO' => 'La permission de l’utilisateur est réglée sur <samp>NON</samp> et la valeur commune était réglée sur NON ainsi par défaut sur <samp>JAMAIS</samp>.', - 'TRACE_USER_NO_TOTAL_NO_LOCAL' => 'La permission de l’utilisateur pour ce forum est réglée sur <samp>NON</samp> et la valeur commune était réglée sur NON ainsi par défaut sur <samp>JAMAIS</samp>.', - 'TRACE_USER_YES_TOTAL_NEVER' => 'La permission de l’utilisateur est réglée sur <samp>OUI</samp> mais la valeur commune est sur <samp>JAMAIS</samp> et ne peut pas être outrepassée.', - 'TRACE_USER_YES_TOTAL_NEVER_LOCAL' => 'La permission de l’utilisateur pour ce forum est réglée sur <samp>OUI</samp> mais la valeur commune est sur <samp>JAMAIS</samp> et ne peut pas être outrepassée.', - 'TRACE_USER_YES_TOTAL_NO' => 'La permission de l’utilisateur est réglée sur <samp>OUI</samp> ce qui devient la valeur commune car elle était réglée sur <samp>NON</samp>.', - 'TRACE_USER_YES_TOTAL_NO_LOCAL' => 'La permission de l’utilisateur pour ce forum est réglée sur <samp>OUI</samp> ce qui devient la valeur commune car elle était réglée sur <samp>NON</samp>.', - 'TRACE_USER_YES_TOTAL_YES' => 'La permission de l’utilisateur est réglée sur <samp>OUI</samp> et la valeur commune est réglée sur <samp>OUI</samp>, donc rien n’est modifié.', - 'TRACE_USER_YES_TOTAL_YES_LOCAL' => 'La permission de l’utilisateur pour ce forum est réglée sur <samp>OUI</samp> et la valeur commune est réglée sur <samp>OUI</samp>, donc rien n’est modifié.', - 'TRACE_WHO' => 'Qui', - 'TRACE_TOTAL' => 'Total', - - 'USERS_NOT_ASSIGNED' => 'Aucun utilisateur assigné à ce modèle', - 'USER_IS_MEMBER_OF_DEFAULT' => 'est un membre des groupes prédéfinis suivants', - 'USER_IS_MEMBER_OF_CUSTOM' => 'est un membre des groupes normaux suivants', - - 'VIEW_ASSIGNED_ITEMS' => 'Voir les éléments assignés', - 'VIEW_LOCAL_PERMS' => 'Permissions locales', - 'VIEW_GLOBAL_PERMS' => 'Permissions globales', - 'VIEW_PERMISSIONS' => 'Voir les permissions', - - 'WRONG_PERMISSION_TYPE' => 'Mauvais type de permission sélectionné.', - 'WRONG_PERMISSION_SETTING_FORMAT' => 'Les paramètres des permissions sont enregistrés dans un mauvais format, phpBB est incapable de les traiter correctement.', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/permissions_phpbb.php b/phpBB/language/fr/acp/permissions_phpbb.php deleted file mode 100644 index 292f5d8ca7..0000000000 --- a/phpBB/language/fr/acp/permissions_phpbb.php +++ /dev/null @@ -1,234 +0,0 @@ -<?php -/** -* -* acp_permissions (phpBB Permission Set) [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: permissions_phpbb.php, v1.26 2010/02/24 16:14:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -/** -* MODDERS PLEASE NOTE -* -* You are able to put your permission sets into a separate file too by -* prefixing the new file with permissions_ and putting it into the acp -* language folder. -* -* An example of how the file could look like: -* -* <code> -* -* if (empty($lang) || !is_array($lang)) -* { -* $lang = array(); -* } -* -* // Adding new category -* $lang['permission_cat']['bugs'] = 'Bugs'; -* -* // Adding new permission set -* $lang['permission_type']['bug_'] = 'Bug Permissions'; -* -* // Adding the permissions -* $lang = array_merge($lang, array( -* 'acl_bug_view' => array('lang' => 'Can view bug reports', 'cat' => 'bugs'), -* 'acl_bug_post' => array('lang' => 'Can post bugs', 'cat' => 'post'), // Using a phpBB category here -* )); -* -* </code> -*/ - -// Define categories and permission types -$lang = array_merge($lang, array( - 'permission_cat' => array( - 'actions' => 'Actions', - 'content' => 'Contenu', - 'forums' => 'Forums', - 'misc' => 'Divers', - 'permissions' => 'Permissions', - 'pm' => 'Messages privés', - 'polls' => 'Sondages', - 'post' => 'Message', - 'post_actions' => 'Actions sur les messages', - 'posting' => 'Rédaction de message', - 'profile' => 'Panneau de l’utilisateur', - 'settings' => 'Configuration', - 'topic_actions' => 'Actions sur les sujets', - 'user_group' => 'Utilisateurs & Groupes' - ), - - // With defining 'global' here we are able to specify what is printed out if the permission is within the global scope. - 'permission_type' => array( - 'u_' => 'Permissions d’utilisateur', - 'a_' => 'Permissions d’administrateur', - 'm_' => 'Permissions de modérateur', - 'f_' => 'Permissions de forum', - 'global' => array( - 'm_' => 'Permissions de modérateur global', - ), - ), -)); - -// User Permissions -$lang = array_merge($lang, array( - 'acl_u_viewprofile' => array('lang' => 'Peut voir un profil public, la liste des membres et les utilisateurs connectés', 'cat' => 'profile'), - 'acl_u_chgname' => array('lang' => 'Peut modifier son nom d’utilisateur', 'cat' => 'profile'), - 'acl_u_chgpasswd' => array('lang' => 'Peut modifier son mot de passe', 'cat' => 'profile'), - 'acl_u_chgemail' => array('lang' => 'Peut modifier son e-mail', 'cat' => 'profile'), - 'acl_u_chgavatar' => array('lang' => 'Peut modifier son avatar', 'cat' => 'profile'), - 'acl_u_chggrp' => array('lang' => 'Peut modifier son groupe par défaut', 'cat' => 'profile'), - - 'acl_u_attach' => array('lang' => 'Peut joindre des fichiers', 'cat' => 'post'), - 'acl_u_download' => array('lang' => 'Peut télécharger des fichiers', 'cat' => 'post'), - 'acl_u_savedrafts' => array('lang' => 'Peut enregistrer des brouillons', 'cat' => 'post'), - 'acl_u_chgcensors' => array('lang' => 'Peut désactiver la censure', 'cat' => 'post'), - 'acl_u_sig' => array('lang' => 'Peut utiliser une signature', 'cat' => 'post'), - - - 'acl_u_sendpm' => array('lang' => 'Peut envoyer des messages privés', 'cat' => 'pm'), - 'acl_u_masspm' => array('lang' => 'Peut envoyer des messages à plusieurs utilisateurs', 'cat' => 'pm'), - 'acl_u_masspm_group'=> array('lang' => 'Peut envoyer des messages à des groupes', 'cat' => 'pm'), - 'acl_u_readpm' => array('lang' => 'Peut lire ses messages privés', 'cat' => 'pm'), - 'acl_u_pm_edit' => array('lang' => 'Peut modifier ses messages privés', 'cat' => 'pm'), - 'acl_u_pm_delete' => array('lang' => 'Peut supprimer des messages privés de son dossier', 'cat' => 'pm'), - 'acl_u_pm_forward' => array('lang' => 'Peut transférer des messages privés', 'cat' => 'pm'), - 'acl_u_pm_emailpm' => array('lang' => 'Peut envoyer des messages privés par e-mail', 'cat' => 'pm'), - 'acl_u_pm_printpm' => array('lang' => 'Peut imprimer des messages privés', 'cat' => 'pm'), - 'acl_u_pm_attach' => array('lang' => 'Peut joindre des fichiers', 'cat' => 'pm'), - 'acl_u_pm_download' => array('lang' => 'Peut télécharger des fichiers', 'cat' => 'pm'), - 'acl_u_pm_bbcode' => array('lang' => 'Peut utiliser des BBCodes', 'cat' => 'pm'), - 'acl_u_pm_smilies' => array('lang' => 'Peut utiliser des smileys', 'cat' => 'pm'), - 'acl_u_pm_img' => array('lang' => 'Peut utiliser le BBCode[img]', 'cat' => 'pm'), - 'acl_u_pm_flash' => array('lang' => 'Peut utiliser le BBCode [flash]', 'cat' => 'pm'), - - 'acl_u_sendemail' => array('lang' => 'Peut envoyer des e-mails', 'cat' => 'misc'), - 'acl_u_sendim' => array('lang' => 'Peut envoyer des messages instantanés', 'cat' => 'misc'), - 'acl_u_ignoreflood' => array('lang' => 'Peut ignorer la limite de flood', 'cat' => 'misc'), - 'acl_u_hideonline' => array('lang' => 'Peut cacher son statut en ligne', 'cat' => 'misc'), - 'acl_u_viewonline' => array('lang' => 'Peut voir le(s) utilisateur(s) invisible(s) connecté(s)', 'cat' => 'misc'), - 'acl_u_search' => array('lang' => 'Peut rechercher', 'cat' => 'misc'), -)); - -// Forum Permissions -$lang = array_merge($lang, array( - 'acl_f_list' => array('lang' => 'Peut voir ce forum', 'cat' => 'post'), - 'acl_f_read' => array('lang' => 'Peut consulter ce forum', 'cat' => 'post'), - 'acl_f_post' => array('lang' => 'Peut créer de nouveaux sujets', 'cat' => 'post'), - 'acl_f_announce' => array('lang' => 'Peut poster une annonce', 'cat' => 'post'), - 'acl_f_sticky' => array('lang' => 'Peut poster un post-It', 'cat' => 'post'), - 'acl_f_reply' => array('lang' => 'Peut répondre à un message', 'cat' => 'post'), - 'acl_f_icons' => array('lang' => 'Peut utiliser les icônes de sujet/message', 'cat' => 'post'), - 'acl_f_poll' => array('lang' => 'Peut poster un sondage', 'cat' => 'polls'), - 'acl_f_vote' => array('lang' => 'Peut voter', 'cat' => 'polls'), - 'acl_f_votechg' => array('lang' => 'Peut modifier un vote', 'cat' => 'polls'), - 'acl_f_attach' => array('lang' => 'Peut joindre des fichiers', 'cat' => 'content'), - 'acl_f_download' => array('lang' => 'Peut télécharger des fichiers', 'cat' => 'content'), - 'acl_f_sigs' => array('lang' => 'Peut utiliser une signature', 'cat' => 'content'), - 'acl_f_bbcode' => array('lang' => 'Peut utiliser des BBCodes', 'cat' => 'content'), - 'acl_f_smilies' => array('lang' => 'Peut utiliser des smileys', 'cat' => 'content'), - 'acl_f_img' => array('lang' => 'Peut poster des images', 'cat' => 'content'), - 'acl_f_flash' => array('lang' => 'Peut poster des animations Flash', 'cat' => 'content'), - 'acl_f_edit' => array('lang' => 'Peut éditer un de ses messages', 'cat' => 'actions'), - 'acl_f_delete' => array('lang' => 'Peut supprimer un de ses messages', 'cat' => 'actions'), - 'acl_f_user_lock' => array('lang' => 'Peut verrouiller un de ses sujets', 'cat' => 'actions'), - 'acl_f_bump' => array('lang' => 'Peut remonter un sujet', 'cat' => 'actions'), - 'acl_f_report' => array('lang' => 'Peut rapporter un message à un modérateur', 'cat' => 'actions'), - 'acl_f_subscribe' => array('lang' => 'Peut surveiller un forum', 'cat' => 'actions'), - 'acl_f_print' => array('lang' => 'Peut imprimer un sujet', 'cat' => 'actions'), - 'acl_f_email' => array('lang' => 'Peut envoyer des sujets par e-mail', 'cat' => 'actions'), - 'acl_f_search' => array('lang' => 'Peut rechercher dans le forum', 'cat' => 'misc'), - 'acl_f_ignoreflood' => array('lang' => 'Peut ignorer la limite de flood', 'cat' => 'misc'), - 'acl_f_postcount' => array('lang' => 'Peut incrémenter le compteur de messages<br /><em>Notez que ce paramètre affecte uniquement les nouveaux messages.</em>', 'cat' => 'misc'), - 'acl_f_noapprove' => array('lang' => 'Peut poster sans approbation', 'cat' => 'misc'), -)); - -// Moderator Permissions -$lang = array_merge($lang, array( - 'acl_m_edit' => array('lang' => 'Peut éditer un message', 'cat' => 'post_actions'), - 'acl_m_delete' => array('lang' => 'Peut supprimer un message', 'cat' => 'post_actions'), - 'acl_m_approve' => array('lang' => 'Peut approuver un message', 'cat' => 'post_actions'), - 'acl_m_report' => array('lang' => 'Peut clôturer et supprimer les rapports', 'cat' => 'post_actions'), - 'acl_m_chgposter' => array('lang' => 'Peut modifier l’auteur d’un message', 'cat' => 'post_actions'), - 'acl_m_move' => array('lang' => 'Peut déplacer un sujet', 'cat' => 'topic_actions'), - 'acl_m_lock' => array('lang' => 'Peut verrouiller un sujet', 'cat' => 'topic_actions'), - 'acl_m_split' => array('lang' => 'Peut diviser un sujet', 'cat' => 'topic_actions'), - 'acl_m_merge' => array('lang' => 'Peut fusionner des sujets', 'cat' => 'topic_actions'), - 'acl_m_info' => array('lang' => 'Peut voir les informations du message', 'cat' => 'misc'), - 'acl_m_warn' => array('lang' => 'Peut avertir un membre<br /><em>Notez que ce paramètre est assigné globalement. Il n’est pas basé sur le forum.</em>', 'cat' => 'misc'), // This moderator setting is only global (and not local) - 'acl_m_ban' => array('lang' => 'Peut gérer les bannissements<br /><em>Notez que ce paramètre est assigné globalement. Il n’est pas basé sur le forum.</em>', 'cat' => 'misc'), // This moderator setting is only global (and not local) -)); - -// Admin Permissions -$lang = array_merge($lang, array( - 'acl_a_board' => array('lang' => 'Peut modifier la configuration générale/Vérifier les mises à jour', 'cat' => 'settings'), - 'acl_a_server' => array('lang' => 'Peut modifier la configuration serveur/communication', 'cat' => 'settings'), - 'acl_a_jabber' => array('lang' => 'Peut modifier la configuration Jabber', 'cat' => 'settings'), - 'acl_a_phpinfo' => array('lang' => 'Peut consulter la configuration PHP', 'cat' => 'settings'), - 'acl_a_forum' => array('lang' => 'Peut gérer les forums', 'cat' => 'forums'), - 'acl_a_forumadd' => array('lang' => 'Peut ajouter un forum', 'cat' => 'forums'), - 'acl_a_forumdel' => array('lang' => 'Peut supprimer un forum', 'cat' => 'forums'), - 'acl_a_prune' => array('lang' => 'Peut délester un forum', 'cat' => 'forums'), - 'acl_a_icons' => array('lang' => 'Peut modifier les icônes de sujet/message et les smileys', 'cat' => 'posting'), - 'acl_a_words' => array('lang' => 'Peut modifier les mots censurés', 'cat' => 'posting'), - 'acl_a_bbcode' => array('lang' => 'Peut créer des balises BBCodes', 'cat' => 'posting'), - 'acl_a_attach' => array('lang' => 'Peut modifier la configuration des fichiers joints', 'cat' => 'posting'), - 'acl_a_user' => array('lang' => 'Peut gérer les utilisateurs<br /><em>Ceci inclut également l’affichage du navigateur des utilisateurs dans la liste des utilisateurs connectés.</em>', 'cat' => 'user_group'), - 'acl_a_userdel' => array('lang' => 'Peut supprimer/trier les utilisateurs', 'cat' => 'user_group'), - 'acl_a_group' => array('lang' => 'Peut gérer les groupes', 'cat' => 'user_group'), - 'acl_a_groupadd' => array('lang' => 'Peut ajouter un groupe', 'cat' => 'user_group'), - 'acl_a_groupdel' => array('lang' => 'Peut supprimer un groupe', 'cat' => 'user_group'), - 'acl_a_ranks' => array('lang' => 'Peut gérer les rangs', 'cat' => 'user_group'), - 'acl_a_profile' => array('lang' => 'Peut gérer les champs personnalisés', 'cat' => 'user_group'), - 'acl_a_names' => array('lang' => 'Peut gérer les noms interdits', 'cat' => 'user_group'), - 'acl_a_ban' => array('lang' => 'Peut gérer les bannissements', 'cat' => 'user_group'), - 'acl_a_viewauth' => array('lang' => 'Peut visualiser les masques de permissions', 'cat' => 'permissions'), - 'acl_a_fauth' => array('lang' => 'Peut modifier les permissions des forums', 'cat' => 'permissions'), - 'acl_a_mauth' => array('lang' => 'Peut modifier les permissions des modérateurs', 'cat' => 'permissions'), - 'acl_a_aauth' => array('lang' => 'Peut modifier les permissions des administrateurs', 'cat' => 'permissions'), - 'acl_a_uauth' => array('lang' => 'Peut modifier les permissions des utilisateurs individuels', 'cat' => 'permissions'), - 'acl_a_authgroups' => array('lang' => 'Peut modifier les permissions des groupes', 'cat' => 'permissions'), - 'acl_a_authusers' => array('lang' => 'Peut modifier les permissions des utilisateurs', 'cat' => 'permissions'), - 'acl_a_roles' => array('lang' => 'Peut gérer les modèles', 'cat' => 'permissions'), - 'acl_a_switchperm' => array('lang' => 'Peut utiliser les permissions d’autrui', 'cat' => 'permissions'), - 'acl_a_styles' => array('lang' => 'Peut gérer les styles', 'cat' => 'misc'), - 'acl_a_viewlogs' => array('lang' => 'Peut consulter les journaux', 'cat' => 'misc'), - 'acl_a_clearlogs' => array('lang' => 'Peut effacer les journaux', 'cat' => 'misc'), - 'acl_a_modules' => array('lang' => 'Peut gérer les modules', 'cat' => 'misc'), - 'acl_a_language' => array('lang' => 'Peut gérer les packs de langue', 'cat' => 'misc'), - 'acl_a_email' => array('lang' => 'Peut envoyer des e-mails de masse', 'cat' => 'misc'), - 'acl_a_bots' => array('lang' => 'Peut gérer les robots', 'cat' => 'misc'), - 'acl_a_reasons' => array('lang' => 'Peut gérer les rapports/raisons', 'cat' => 'misc'), - 'acl_a_backup' => array('lang' => 'Peut sauvegarder et restaurer la base de données', 'cat' => 'misc'), - 'acl_a_search' => array('lang' => 'Peut gérer l’indexation et les paramètres de recherche', 'cat' => 'misc'), -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/posting.php b/phpBB/language/fr/acp/posting.php deleted file mode 100644 index b5b46ca7bb..0000000000 --- a/phpBB/language/fr/acp/posting.php +++ /dev/null @@ -1,279 +0,0 @@ -<?php -/** -* -* posting [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: posting.php, v1.26 2010/02/24 15:51:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a URL you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -// BBCodes -// Note to translators: you can translate everything but what's between { and } -$lang = array_merge($lang, array( - 'ACP_BBCODES_EXPLAIN' => 'Le BBCode est une implémentation spéciale du HTML qui offre un plus grand contrôle sur l’affichage des messages. Depuis cette page, vous pouvez ajouter, supprimer ou éditer des BBCodes personnalisés.', - 'ADD_BBCODE' => 'Ajouter un nouveau BBCode', - - 'BBCODE_DANGER' => 'Le BBcode que vous tentez d’ajouter semble utiliser un champs {TEXT} à l’intèrieur d’un attribut HTML. Ceci est une éventuelle faille de sécurité XSS. Essayez d’utiliser à la place des variables plus restrictives comme {SIMPLETEXT} ou {INTEXT}. Procédez uniquement si vous comprenez les risques potentiels et que vous jugez l’utilisation de {TEXT} absolument inévitable.', - 'BBCODE_DANGER_PROCEED' => 'Procédez', //'I understand the risk', - - 'BBCODE_ADDED' => 'BBCode ajouté.', - 'BBCODE_EDITED' => 'BBCode édité.', - 'BBCODE_NOT_EXIST' => 'Le BBCode que vous avez sélectionné n’existe pas.', - 'BBCODE_HELPLINE' => 'Ligne d’aide', - 'BBCODE_HELPLINE_EXPLAIN' => 'Ce champ contient le texte du BBCode qui sera affiché lors du passage de la souris.', - 'BBCODE_HELPLINE_TEXT' => 'Texte de la ligne d’aide', - 'BBCODE_HELPLINE_TOO_LONG' => 'Le texte saisi pour la ligne d’aide est trop long.', - 'BBCODE_INVALID_TAG_NAME' => 'Le nom de la balise BBCode que vous avez sélectionné existe déjà.', - 'BBCODE_INVALID' => 'Votre BBCode est construite dans une forme invalide.', - 'BBCODE_OPEN_ENDED_TAG' => 'Votre BBCode personnalisé doit contenir une balise d’ouverture et de fermeture.', - 'BBCODE_TAG' => 'Balise', - 'BBCODE_TAG_TOO_LONG' => 'Le nom de la balise que vous avez sélectionné est trop long.', - 'BBCODE_TAG_DEF_TOO_LONG' => 'La définition de la balise que vous avez entrée est trop longue, raccourcissez votre définition.', - 'BBCODE_USAGE' => 'Utilisation du BBCode', - 'BBCODE_USAGE_EXAMPLE' => '[highlight={COLOR}]{TEXT}[/highlight]<br /><br />[font={SIMPLETEXT1}]{SIMPLETEXT2}[/font]', - 'BBCODE_USAGE_EXPLAIN' => 'Vous pouvez définir la façon d’utiliser le BBCode. Remplacez n’importe quelle variable d’entrée par la chaîne de symboles correspondante (%svoir ci-dessous%s).', - - 'EXAMPLE' => 'Exemple:', - 'EXAMPLES' => 'Exemples:', - - 'HTML_REPLACEMENT' => 'Code HTML de remplacement', - 'HTML_REPLACEMENT_EXAMPLE' => '<span style="background-color: {COLOR};">{TEXT}</span><br /><br /><span style="font-family: {SIMPLETEXT1};">{SIMPLETEXT2}</span>', - 'HTML_REPLACEMENT_EXPLAIN' => 'Vous pouvez définir le code HTML de remplacement de votre BBCode. N’oubliez pas de remettre la chaîne de symboles que vous avez utilisée ci-dessus!', - - 'TOKEN' => 'Chaîne de symboles', - 'TOKENS' => 'Chaînes de symboles', - 'TOKENS_EXPLAIN' => 'Les marques sont des conteneurs pour les utilisateurs. Les entrées ne seront validées que si elles trouvent la définition correspondante. Si besoin, vous pouvez les numéroter en y ajoutant un nombre comme dernier caractère entre des accolades, exemple: {TEXT1}, {TEXT2}.<br /><br />Vous pouvez utiliser, en plus du remplacement HTML, une chaîne de langue dans votre répertoire language/ comme ceci: {L_<em><STRINGNAME></em>} où <em><STRINGNAME></em> est le nom de la chaîne traduite que vous souhaitez ajouter. Par exemple, {L_WROTE} sera affiché en tant que “a écrit” ou sa traduction selon la langue locale de l’utilisateur.<br /><br /><strong>Notez que seules les chaînes listées ci-dessous sont autorisées à être utilisées dans les BBCodes personnalisés.</strong>', - 'TOKEN_DEFINITION' => 'Que peut il être?', - 'TOO_MANY_BBCODES' => 'Vous ne pouvez pas créer d’autres BBCodes. Supprimez un ou plusieurs BBCodes puis réessayez.', - - 'tokens' => array( - 'TEXT' => 'Du texte, incluant des caractères étrangers, chiffres, etc. Vous ne devriez pas utiliser cette marque dans les tags HTML. Essayez d’utiliser à la place les marques IDENTIFIER, INTTEXT ou SIMPLETEXT.', - 'SIMPLETEXT' => 'Caractères alphabétiques latins (A-Z), chiffres, espaces, virgules, points, -, +, et _', - 'INTTEXT' => 'Caractères à lettre unicode, nombres, espaces, virgules, points, -, +, _ et espaces.', - 'IDENTIFIER' => 'Caractères alphabétiques latins (A-Z), chiffres, - et _', - 'NUMBER' => 'Une série de chiffres', - 'EMAIL' => 'Une adresse e-mail valide', - 'URL' => 'Une URL valide utilisant un quelconque protocole (http, ftp, etc. ne peuvent pas être utilisés pour des exploits javascripts). Si aucun n’est donné, “http://” sera préfixé par défaut à la chaîne.', - 'LOCAL_URL' => 'Une URL locale. L’URL doit être relative par rapport à la page du sujet et ne peut contenir un nom de serveur ou un protocol.', - 'COLOR' => 'Une couleur HTML, peut être au choix soit une forme numérique <samp>#FF1234</samp> ou un <a href="http://www.w3.org/TR/CSS21/syndata.html#value-def-color">nom de couleur CSS</a> comme par exemple <samp>fuchsia</samp> ou <samp>InactiveBorder</samp>' - ) -)); - -// Smilies and topic icons -$lang = array_merge($lang, array( - 'ACP_ICONS_EXPLAIN' => 'Depuis cette page, vous pouvez ajouter, supprimer ou éditer les icônes que les utilisateurs pourront ajouter à leur sujet ou message. Ces icônes sont généralement affichées à côté des titres des sujets sur la liste des forums, ou des titres des messages sur la liste des sujets. Vous pouvez également installer et créer de nouveaux packs d’icônes.', - 'ACP_SMILIES_EXPLAIN' => 'Les smileys ou émoticônes sont généralement de petites images, parfois des images animées qui sont utilisées pour exprimer une émotion ou un sentiment. Depuis cette page, vous pouvez ajouter, supprimer ou éditer les smileys que les utilisateurs peuvent utiliser dans leurs messages et messages privés. Vous pouvez également installer et créer de nouveaux packs de smileys.', - 'ADD_SMILIES' => 'Ajouter de multiples smileys', - 'ADD_SMILEY_CODE' => 'Ajouter un code de smiley additionnel', - 'ADD_ICONS' => 'Ajouter de multiples icônes', - 'AFTER_ICONS' => 'Après %s', - 'AFTER_SMILIES' => 'Après %s', - - 'CODE' => 'Code', - 'CURRENT_ICONS' => 'Icônes actuelles', - 'CURRENT_ICONS_EXPLAIN' => 'Choisissez que faire avec les icônes actuellement installées.', - 'CURRENT_SMILIES' => 'Smileys actuels', - 'CURRENT_SMILIES_EXPLAIN' => 'Choisissez que faire avec les smileys actuellement installés.', - - 'DISPLAY_ON_POSTING' => 'Afficher sur la page de rédaction d’un message', - 'DISPLAY_POSTING' => 'Sur la page de rédaction d’un message', - 'DISPLAY_POSTING_NO' => 'Absent de la page de rédaction d’un message', - - - - 'EDIT_ICONS' => 'Editer les icônes', - 'EDIT_SMILIES' => 'Editer les smileys', - 'EMOTION' => 'Emotion', - 'EXPORT_ICONS' => 'Exporter et télécharger vers icons.pak', - 'EXPORT_ICONS_EXPLAIN' => '%sEn cliquant sur ce lien, la configuration de vos icônes installées sera regroupée dans le pack <samp>icons.pak</samp> qui, une fois téléchargé, peut être utilisé pour créer un fichier <samp>.zip</samp> ou <samp>.tgz</samp> qui contient toutes vos icônes, ainsi que le fichier de configuration <samp>icons.pak</samp>%s.', - 'EXPORT_SMILIES' => 'Exporter et télécharger vers smilies.pak', - 'EXPORT_SMILIES_EXPLAIN' => '%sEn cliquant sur ce lien, la configuration de vos smileys installés sera regroupée dans le pack <samp>smilies.pak</samp> qui, une fois téléchargé, peut être utilisé pour créer un fichier <samp>.zip</samp> ou <samp>.tgz</samp> qui contient tout vos smileys, ainsi que le fichier de configuration <samp>smilies.pak</samp>%s.', - - 'FIRST' => 'Premier', - - 'ICONS_ADD' => 'Ajouter une nouvelle icône', - 'ICONS_NONE_ADDED' => 'Aucune icône n’a été ajoutée.', - 'ICONS_ONE_ADDED' => 'L’icône a été ajoutée.', - 'ICONS_ADDED' => 'Les icônes ont été ajoutées.', - 'ICONS_CONFIG' => 'Configuration de l’icône', - 'ICONS_DELETED' => 'L’icône a été supprimée.', - 'ICONS_EDIT' => 'Editer l’icône', - 'ICONS_ONE_EDITED' => 'L’icône a été mise à jour.', - 'ICONS_NONE_EDITED' => 'Aucune icône n’a été mise à jour.', - 'ICONS_EDITED' => 'Les icônes ont été mises à jour.', - 'ICONS_HEIGHT' => 'Hauteur de l’icône', - 'ICONS_IMAGE' => 'Image de l’icône', - 'ICONS_IMPORTED' => 'Le pack d’icônes a été installé.', - 'ICONS_IMPORT_SUCCESS' => 'Le pack d’icônes a été importé.', - 'ICONS_LOCATION' => 'Emplacement de l’icône', - 'ICONS_NOT_DISPLAYED' => 'Les icônes suivantes ne sont pas affichées sur la page de rédaction', - 'ICONS_ORDER' => 'Classement de l’icône', - 'ICONS_URL' => 'Image de l’icône', - 'ICONS_WIDTH' => 'Largeur de l’icône', - 'IMPORT_ICONS' => 'Installer un pack d’icônes', - 'IMPORT_SMILIES' => 'Installer un pack de smileys', - - 'KEEP_ALL' => 'Tout conserver', - - 'MASS_ADD_SMILIES' => 'Ajouter de multiples smileys', - - 'NO_ICONS_ADD' => 'Il n’y a aucune icône disponible à ajouter.', - 'NO_ICONS_EDIT' => 'Il n’y a aucune icône disponible à modifier.', - 'NO_ICONS_EXPORT' => 'Vous n’avez aucune icône pour créer un pack.', - 'NO_ICONS_PAK' => 'Aucun pack d’icônes trouvé.', - 'NO_SMILIES_ADD' => 'Il n’y a aucun smiley disponible à ajouter.', - 'NO_SMILIES_EDIT' => 'Il n’y a aucun smiley disponible à modifier.', - 'NO_SMILIES_EXPORT' => 'Vous n’avez aucun smiley pour créer un pack.', - 'NO_SMILIES_PAK' => 'Aucun pack de smileys n’a été trouvé.', - - 'PAK_FILE_NOT_READABLE' => 'Impossible de lire le fichier <samp>.pak</samp>.', - - 'REPLACE_MATCHES' => 'Remplacer les résultats', - - 'SELECT_PACKAGE' => 'Sélectionner un pack', - 'SMILIES_ADD' => 'Ajouter un nouveau smiley', - 'SMILIES_NONE_ADDED' => 'Aucun smiley n’a été ajouté.', - 'SMILIES_ONE_ADDED' => 'Le smiley a été ajouté.', - 'SMILIES_ADDED' => 'Les smileys ont été ajoutés.', - 'SMILIES_CODE' => 'Code du smiley', - 'SMILIES_CONFIG' => 'Configuration du smiley', - 'SMILIES_DELETED' => 'Le smiley a été supprimé.', - 'SMILIES_EDIT' => 'Editer le smiley', - 'SMILIE_NO_CODE' => 'Le smiley “%s” a été ignoré car aucun code n’a été saisi.', - 'SMILIE_NO_EMOTION' => 'Le smiley “%s” a été ignoré car aucun smiley n’a été indiqué.', - 'SMILIES_NONE_EDITED' => 'Aucun smiley n’a été mis à jour.', - 'SMILIES_ONE_EDITED' => 'Le smiley a été mis à jour.', - 'SMILIES_EDITED' => 'Les smileys ont été mis à jour.', - 'SMILIES_EMOTION' => 'Emotion', - 'SMILIES_HEIGHT' => 'Hauteur du smiley', - 'SMILIES_IMAGE' => 'Image du smiley', - 'SMILIES_IMPORTED' => 'Le pack de smileys a été installé.', - 'SMILIES_IMPORT_SUCCESS' => 'Le pack de smileys a été importé.', - 'SMILIES_LOCATION' => 'Emplacement du smiley', - 'SMILIES_NOT_DISPLAYED' => 'Les smileys suivants ne sont pas affichés sur la page de rédaction', - 'SMILIES_ORDER' => 'Classement du smiley', - 'SMILIES_URL' => 'Image du smiley', - 'SMILIES_WIDTH' => 'Largeur du smiley', - 'TOO_MANY_SMILIES' => 'Limite de %d smileys atteinte.', - - 'WRONG_PAK_TYPE' => 'Le pack indiqué ne contient pas les données appropriées.', -)); - -// Word censors -$lang = array_merge($lang, array( - 'ACP_WORDS_EXPLAIN' => 'Depuis ce panneau de contrôle, vous pouvez ajouter, éditer et supprimer les mots qui seront automatiquement censurés sur votre forum. Les gens seront toujours autorisés à s’inscrire avec un nom d’utilisateur contenant ces mots. Les jokers (*) sont acceptés dans le champ, exemple: *test* censurera détestable, test* censurera testament, *test censurera contest.', - 'ADD_WORD' => 'Ajouter un nouveau mot', - - 'EDIT_WORD' => 'Editer la censure', - 'ENTER_WORD' => 'Vous devez entrer un mot et son remplaçant.', - - 'NO_WORD' => 'Aucun mot sélectionné à édité.', - - 'REPLACEMENT' => 'Remplacement', - - 'UPDATE_WORD' => 'Mettre à jour la censure', - - 'WORD' => 'Mot', - 'WORD_ADDED' => 'La censure a été ajoutée.', - 'WORD_REMOVED' => 'La censure sélectionné a été supprimée.', - 'WORD_UPDATED' => 'La censure sélectionné a été mise à jour.', -)); - -// Ranks -$lang = array_merge($lang, array( - 'ACP_RANKS_EXPLAIN' => 'Utilisez ce formulaire pour ajouter, éditer, visionner ou supprimer des rangs. Vous pouvez aussi créer des rangs spéciaux qui pourront être attribués à un utilisateur via la gestion de l’utilisateur.', - 'ADD_RANK' => 'Ajouter un nouveau rang', - - 'MUST_SELECT_RANK' => 'Vous devez sélectionner un rang.', - - 'NO_ASSIGNED_RANK' => 'Pas de rang spécial assigné.', - 'NO_RANK_TITLE' => 'Vous n’avez pas indiqué de titre pour le rang.', - 'NO_UPDATE_RANKS' => 'Le rang a été supprimé. Cependant les comptes d’utilisateurs utilisant ce rang n’ont pas été mis à jour. Vous devrez donc réinitialiser manuellement le rang de ces comptes.', - - 'RANK_ADDED' => 'Le rang a été ajouté.', - 'RANK_IMAGE' => 'Image du rang', - 'RANK_IMAGE_EXPLAIN' => 'Utilisez ceci pour définir une petite image à associer au rang. Le chemin est relatif par rapport au répertoire racine de phpBB.', - 'RANK_IMAGE_IN_USE' => '(En service)', - 'RANK_MINIMUM' => 'Messages minimums', - 'RANK_REMOVED' => 'Le rang a été supprimé.', - 'RANK_SPECIAL' => 'Définir comme rang spécial', - 'RANK_TITLE' => 'Titre du rang', - 'RANK_UPDATED' => 'Le rang a été mis à jour.', -)); - -// Disallow Usernames -$lang = array_merge($lang, array( - 'ACP_DISALLOW_EXPLAIN' => 'Vous pouvez contrôler les noms d’utilisateurs qui ne sont pas autorisés à être utilisés. Les noms d’utilisateurs interdits sont autorisés à contenir un joker *. Notez que vous ne serez pas autorisé à indiquer tout nom d’utilisateur étant déjà inscrit, vous devez d’abord supprimer ce nom, puis l’interdire.', - 'ADD_DISALLOW_EXPLAIN' => 'Vous pouvez utiliser le caractère * pour faire une correspondance avec n’importe quel caractère.', - 'ADD_DISALLOW_TITLE' => 'Ajouter un nom interdit', - - 'DELETE_DISALLOW_EXPLAIN' => 'Vous pouvez retirer un nom de la liste en le sélectionnant puis en cliquant sur envoyer.', - 'DELETE_DISALLOW_TITLE' => 'Supprimer un nom interdit', - 'DISALLOWED_ALREADY' => 'Le nom entré ne peut être interdit. Il peut soit déjà être interdit, soit être déjà utilisé sur le forum.', - 'DISALLOWED_DELETED' => 'Le nom interdit a été supprimé.', - 'DISALLOW_SUCCESSFUL' => 'Le nom interdit a été ajouté.', - - 'NO_DISALLOWED' => 'Aucun nom interdit', - 'NO_USERNAME_SPECIFIED' => 'Vous n’avez indiqué aucun nom.', -)); - -// Reasons -$lang = array_merge($lang, array( - 'ACP_REASONS_EXPLAIN' => 'Vous pouvez gérer les raisons utilisées dans les rapports lors de la désapprobation de messages. Il y a une raison par défaut (marquée par une *) que vous ne pouvez pas supprimer, cette raison est utilisée normalement pour les messages personnalisés si aucune raison n’est indiquée.', - 'ADD_NEW_REASON' => 'Ajouter une nouvelle raison', - 'AVAILABLE_TITLES' => 'Titres des raisons traduits disponibles', - - 'IS_NOT_TRANSLATED' => 'La raison n’a <strong>pas</strong> été traduite.', - 'IS_NOT_TRANSLATED_EXPLAIN' => 'La raison n’a <strong>pas</strong> été traduite. Si vous souhaitez renseigner le formulaire traduit, indiquez la clé correcte des fichiers de langues dans la section des raisons de rapports/refus.', - 'IS_TRANSLATED' => 'La raison a été traduite.', - 'IS_TRANSLATED_EXPLAIN' => 'La raison a été traduite. Si le titre que vous avez entré est indiqué dans les fichiers de langues dans la section des raisons de rapports/refus, le formulaire traduit du titre et de la description sera utilisé.', - - 'NO_REASON' => 'La raison est introuvable.', - 'NO_REASON_INFO' => 'Vous devez indiquer un titre et une description pour cette raison.', - 'NO_REMOVE_DEFAULT_REASON' => 'Vous ne pouvez pas supprimer la raison par défaut “Autres”.', - - 'REASON_ADD' => 'Ajouter une raison au rapport', - 'REASON_ADDED' => 'Une raison a été ajoutée au rapport.', - 'REASON_ALREADY_EXIST' => 'Une raison existe déjà avec ce titre, entrez un autre titre pour cette raison.', - 'REASON_DESCRIPTION' => 'Description de la raison', - 'REASON_DESC_TRANSLATED' => 'Description affichée de la raison', - 'REASON_EDIT' => 'Editer la raison du rapport', - 'REASON_EDIT_EXPLAIN' => 'Vous pouvez ajouter ou éditer une raison. Si la raison est traduite, la version traduite sera utilisée au lieu de la description entrée ici.', - 'REASON_REMOVED' => 'La raison du rapport a été supprimée.', - 'REASON_TITLE' => 'Titre de la raison', - 'REASON_TITLE_TRANSLATED' => 'Titre affiché de la raison', - 'REASON_UPDATED' => 'La raison a été mise à jour.', - - 'USED_IN_REPORTS' => 'Utilisé dans les rapports', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/profile.php b/phpBB/language/fr/acp/profile.php deleted file mode 100644 index ee737de3bc..0000000000 --- a/phpBB/language/fr/acp/profile.php +++ /dev/null @@ -1,155 +0,0 @@ -<?php -/** -* -* acp_profile [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: profile.php, v1.26 2010/02/09 18:54:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ADDED_PROFILE_FIELD' => 'Le champ de profil personnalisé a été ajouté.', - 'ALPHA_ONLY' => 'Alphanumérique uniquement', - 'ALPHA_SPACERS' => 'Alphanumérique et espaces', - 'ALWAYS_TODAY' => 'Toujours la date actuelle', - - 'BOOL_ENTRIES_EXPLAIN' => 'Saisissez vos options', - 'BOOL_TYPE_EXPLAIN' => 'Détermine le type, soit une case à cocher, soit un bouton radio. Les cases à cocher seront affichées uniquement si cela est coché pour un utilisateur donné. Dans ce cas, la <strong>seconde</strong> option de langue sera utilisée. Les boutons radios seront affichés indépendamment de leur valeur.', - - 'CHANGED_PROFILE_FIELD' => 'Le champ de profil a été modifié.', - 'CHARS_ANY' => 'N’importe quel caractère', - 'CHECKBOX' => 'Case à cocher', - 'COLUMNS' => 'Colonnes', - 'CP_LANG_DEFAULT_VALUE' => 'Valeur par défaut', - 'CP_LANG_EXPLAIN' => 'Description du champ', - 'CP_LANG_EXPLAIN_EXPLAIN' => 'L’explication de ce champ présenté à l’utilisateur.', - 'CP_LANG_NAME' => 'Nom de champ/titre présenté à l’utilisateur', - 'CP_LANG_OPTIONS' => 'Options', - 'CREATE_NEW_FIELD' => 'Créer un nouveau champ', - 'CUSTOM_FIELDS_NOT_TRANSLATED' => 'Au moins un champ personnalisé de profil n’a pas encore été traduit. Saisissez l’information nécessaire en cliquant sur le lien “Traduire”.', - - 'DEFAULT_ISO_LANGUAGE' => 'Langue par défaut [%s]', - 'DEFAULT_LANGUAGE_NOT_FILLED' => 'L’entrée de langue pour la langue par défaut n’a pas été renseignée pour ce champs de profil.', - 'DEFAULT_VALUE' => 'Valeur par défaut', - 'DELETE_PROFILE_FIELD' => 'Supprimer le champ de profil', - 'DELETE_PROFILE_FIELD_CONFIRM' => 'Êtes-vous sûr de voir supprimer ce champ de profil?', - 'DISPLAY_AT_PROFILE' => 'Afficher dans le panneau de l’utilisateur', - 'DISPLAY_AT_PROFILE_EXPLAIN' => 'L’utilisateur peut modifier ce champ de profil dans le panneau de l’utilisateur.', - 'DISPLAY_AT_REGISTER' => 'Afficher sur l’écran d’inscription', - 'DISPLAY_AT_REGISTER_EXPLAIN' => 'Si cette option est activée, le champ sera affiché à l’inscription.', - 'DISPLAY_ON_VT' => 'Afficher dans les sujets', - 'DISPLAY_ON_VT_EXPLAIN' => 'Si cette option est activée, le champ sera affiché dans le mini-profil des sujets.', - 'DISPLAY_PROFILE_FIELD' => 'Afficher publiquement le champ de profil', - 'DISPLAY_PROFILE_FIELD_EXPLAIN' => 'Le champ de profil sera visible dans tous les endroits autorisés dans les paramètres de charge. Réglez cela sur “Non” masquera le champ des pages de sujets, des profils et de la liste des membres.', - 'DROPDOWN_ENTRIES_EXPLAIN' => 'Saisissez vos options, chaque option doit être sur une ligne différente.', - - 'EDIT_DROPDOWN_LANG_EXPLAIN' => 'Notez que vous pouvez modifier le texte de vos options et ajouter de nouvelles options en fin de liste. Il est déconseillé d’insérer de nouvelles options entre celles existantes - cela pourrait entraîner l’attribution d’options erronées à vos utilisateurs. Ceci peut également se produire si vous supprimez des options parmi d’autres. La suppression d’options à partir de la fin pourrait avoir comme conséquence une mauvaise redirection des utilisateurs sur un article.', - 'EMPTY_FIELD_IDENT' => 'L’identification du champ est vide', - 'EMPTY_USER_FIELD_NAME' => 'Saisissez un nom/titre du champ', - 'ENTRIES' => 'Entrées', - 'EVERYTHING_OK' => 'Tout est correct', - - 'FIELD_BOOL' => 'Booléen (oui/non)', - 'FIELD_DATE' => 'Date', - 'FIELD_DESCRIPTION' => 'Description du champ', - 'FIELD_DESCRIPTION_EXPLAIN' => 'L’explication du champ sera présenté à l’utilisateur.', - 'FIELD_DROPDOWN' => 'Liste déroulante', - 'FIELD_IDENT' => 'Identification du champ', - 'FIELD_IDENT_ALREADY_EXIST' => 'L’identification du champ choisie existe déjà. Entrez un autre nom.', - 'FIELD_IDENT_EXPLAIN' => 'L’identification du champ est un nom qui vous permet d’identifier le champ de profil dans la base de données et les thèmes.', - 'FIELD_INT' => 'Nombres', - 'FIELD_LENGTH' => 'Taille de la zone de saisie', - 'FIELD_NOT_FOUND' => 'Le champ de profil est introuvable.', - 'FIELD_STRING' => 'Champ de texte simple', - 'FIELD_TEXT' => 'Zone de texte', - 'FIELD_TYPE' => 'Type de champ', - 'FIELD_TYPE_EXPLAIN' => 'Vous ne pourrez pas modifier le type de champ plus tard.', - 'FIELD_VALIDATION' => 'Validation du champ', - 'FIRST_OPTION' => 'Première option', - - 'HIDE_PROFILE_FIELD' => 'Masquer le champ de profil', - 'HIDE_PROFILE_FIELD_EXPLAIN' => 'Masque le champ de profil à tous les autres utilisateurs mis à part à l’utilisateur concerné, aux administrateurs et aux modérateurs qui pourront toujours voir ce champ. Si l’option d’affichage dans le panneau de l’utilisateur est désactivée, l’utilisateur ne pourra pas voir ou modifier ce champ, seuls les administrateurs le pourront.', - - 'INVALID_CHARS_FIELD_IDENT' => 'L’identification du champ ne peut contenir que des minuscules a-z et _', - 'INVALID_FIELD_IDENT_LEN' => 'La longueur de l’identification du champ ne peut dépasser 17 caractères', - 'ISO_LANGUAGE' => 'Langue [%s]', - - 'LANG_SPECIFIC_OPTIONS' => 'Options particulières à la langue [<strong>%s</strong>]', - - 'MAX_FIELD_CHARS' => 'Nombre maximum de caractères', - 'MAX_FIELD_NUMBER' => 'Nombre maximal autorisé', - 'MIN_FIELD_CHARS' => 'Nombre minimum de caractères', - 'MIN_FIELD_NUMBER' => 'Nombre minimal autorisé', - - 'NO_FIELD_ENTRIES' => 'Aucune entrée définie', - 'NO_FIELD_ID' => 'Aucun ID de champ indiqué.', - 'NO_FIELD_TYPE' => 'Aucun type de champ indiqué.', - 'NO_VALUE_OPTION' => 'Option égale à la valeur de non-saisie', - 'NO_VALUE_OPTION_EXPLAIN' => 'Valeur de non-saisie. Si le champ est obligatoire, une erreur est affichée lorsque cette valeur est saisie par l’utilisateur.', - 'NUMBERS_ONLY' => 'Uniquement des chiffres (0-9)', - - 'PROFILE_BASIC_OPTIONS' => 'Options de base', - 'PROFILE_FIELD_ACTIVATED' => 'Le champ de profil a été activé.', - 'PROFILE_FIELD_DEACTIVATED' => 'Le champ de profil a été désactivé.', - 'PROFILE_LANG_OPTIONS' => 'Options particulières de langue', - 'PROFILE_TYPE_OPTIONS' => 'Options particulières du type de profil', - - 'RADIO_BUTTONS' => 'Boutons radio', - 'REMOVED_PROFILE_FIELD' => 'Le champ de profil a été supprimé.', - 'REQUIRED_FIELD' => 'Champ obligatoire', - 'REQUIRED_FIELD_EXPLAIN' => 'Oblige l’utilisateur ou les administrateurs à remplir ou à préciser le champ. Si l’option d’affichage sur l’écran d’inscription est désactivée, le champ sera seulement requis lorsque l’utilisateur éditera son profil.', - 'ROWS' => 'Lignes', - - 'SAVE' => 'Sauvegarder', - 'SECOND_OPTION' => 'Deuxième option', - 'STEP_1_EXPLAIN_CREATE' => 'Vous pouvez saisir les premiers paramètres de base du nouveau champ de profil. Ces informations sont requises pour la seconde étape où vous pourrez régler les options restantes et améliorer davantage votre champ de profil.', - 'STEP_1_EXPLAIN_EDIT' => 'Vous pouvez modifier les paramètres de base de votre champ de profil. Les options appropriées sont recalculées dans la seconde étape.', - 'STEP_1_TITLE_CREATE' => 'Ajouter un champ de profil', - 'STEP_1_TITLE_EDIT' => 'Editer le champ de profil', - 'STEP_2_EXPLAIN_CREATE' => 'Vous pouvez définir quelques options courantes que vous pouvez vouloir ajuster.', - 'STEP_2_EXPLAIN_EDIT' => 'Vous pouvez modifier quelques options courantes.<br /><strong>Notez que les modifications faites aux champs de profil n’affecteront pas les valeurs déjà saisies par les utilisateurs.</strong>', - 'STEP_2_TITLE_CREATE' => 'Options particulières du type de profil', - 'STEP_2_TITLE_EDIT' => 'Options particulières du type de profil', - 'STEP_3_EXPLAIN_CREATE' => 'Comme vous avez plus d’une langue installée, vous devez aussi remplir les éléments de langue restants. Le champ de profil fonctionnera avec la langue activée par défaut, vous pourrez également remplir ces éléments restants ultèrieurement.', - 'STEP_3_EXPLAIN_EDIT' => 'Comme vous avez plus d’une langue installée, vous pouvez également modifier ou ajouter les éléments de langue restants. Le champ de profil fonctionnera avec la langue activée par défaut.', - 'STEP_3_TITLE_CREATE' => 'Définitions des langues restantes', - 'STEP_3_TITLE_EDIT' => 'Définitions des langues', - 'STRING_DEFAULT_VALUE_EXPLAIN' => 'Saisissez une phrase, une valeur par défaut à afficher. Laissez cette case vide si vous préférez ne rien afficher en premier.', - - 'TEXT_DEFAULT_VALUE_EXPLAIN' => 'Saisissez un texte, une valeur par défaut à afficher. Laissez cette case vide si vous préférez ne rien afficher en premier.', - 'TRANSLATE' => 'Traduire', - - 'USER_FIELD_NAME' => 'Nom/titre du champ affiché à l’utilisateur', - - 'VISIBILITY_OPTION' => 'Options de visibilité', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/prune.php b/phpBB/language/fr/acp/prune.php deleted file mode 100644 index 4f3b47c7b2..0000000000 --- a/phpBB/language/fr/acp/prune.php +++ /dev/null @@ -1,94 +0,0 @@ -<?php -/** -* -* acp_prune [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: prune.php, v1.25 2008/10/08 12:23:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - - -// User pruning -$lang = array_merge($lang, array( - 'ACP_PRUNE_USERS_EXPLAIN' => 'Cette section vous permet de supprimer ou désactiver des utilisateurs de votre forum. Les comptes peuvent être filtrés selon différents critères: par nombre de message, la plus récente activité, etc. Les critères peuvent être combinés de manière à limiter le nombre de comptes qui seront affectés. Par exemple, vous pouvez supprimer les utilisateurs avec moins de 10 messages, et qui sont également inactifs depuis le 01-01-2002. Autrement, Vous pouvez passer complètement la sélection de critères, en entrant une liste d’utilisateurs (chaque utilisateur sur une ligne différente) dans la zone de texte. Soyez vigilant avec cette fonctionnalité! Une fois qu’un utilisateur est supprimé il n’y a aucun moyen de revenir en arrière.', - - 'DEACTIVATE_DELETE' => 'Désactiver ou supprimer', - 'DEACTIVATE_DELETE_EXPLAIN' => 'Choisissez ici de désactiver des utilisateurs ou de les supprimer définitivement. Notez que la suppression d’utilisateurs est irréversible.', - 'DELETE_USERS' => 'Supprimer', - 'DELETE_USER_POSTS' => 'Supprimer les messages des utilisateurs délestés', - 'DELETE_USER_POSTS_EXPLAIN' => 'Supprime les messages des utilisateurs délestés, n’a aucun effet sur les utilisateurs désactivés.', - - 'JOINED_EXPLAIN' => 'Entrez une date au format <kbd>AAAA-MM-JJ</kbd>.', - - 'LAST_ACTIVE_EXPLAIN' => 'Entrez une date au format <kbd>AAAA-MM-JJ</kbd>. Indiquez <kbd>0000-00-00</kbd> pour supprimer les utilisateurs qui ne se sont jamais connectés, les conditions <em>Avant</em> and <em>Aprés</em> seront ignorées.', - - 'PRUNE_USERS_LIST' => 'Utilisateurs à délester', - 'PRUNE_USERS_LIST_DELETE' => 'Les comptes utilisateurs répondants aux critères ci-dessous seront supprimés.', - 'PRUNE_USERS_LIST_DEACTIVATE' => 'Les comptes utilisateurs répondants aux critères ci-dessous seront désactivés.', - - 'SELECT_USERS_EXPLAIN' => 'Entrez ici des noms d’utilisateurs, ils seront utilisés sans tenir compte des critères précédents. Les fondateurs ne peuvent pas être supprimés.', - - 'USER_DEACTIVATE_SUCCESS' => 'Les utilisateurs sélectionnés ont été désactivés.', - 'USER_DELETE_SUCCESS' => 'Les utilisateurs sélectionnés ont été supprimés.', - 'USER_PRUNE_FAILURE' => 'Aucun utilisateur ne répond aux critères.', - - 'WRONG_ACTIVE_JOINED_DATE' => 'La date est incorrecte. Elle doit être au format <kbd>AAAA-MM-JJ</kbd>.', - -)); - -// Forum Pruning -$lang = array_merge($lang, array( - 'ACP_PRUNE_FORUMS_EXPLAIN' => 'Ceci supprimera les sujets n’ayant pas reçu de réponse ou n’ayant pas été visualisés depuis le nombre de jours que vous avez indiqué. Si vous n’indiquez pas un nombre de jours, tous les sujets seront supprimés. Par défaut, cette action ne supprimera pas les sujets ayant des sondages actifs, ni les post-it et annonces.', - - 'FORUM_PRUNE' => 'Délestage', - - 'NO_PRUNE' => 'Pas de forums délestés.', - - 'SELECTED_FORUM' => 'Forum sélectionné', - 'SELECTED_FORUMS' => 'Forums sélectionnés', - - 'POSTS_PRUNED' => 'Messages délestés', - 'PRUNE_ANNOUNCEMENTS' => 'Délester les annonces', - 'PRUNE_FINISHED_POLLS' => 'Délester les sondages expirés', - 'PRUNE_FINISHED_POLLS_EXPLAIN' => 'Supprimer les sujets avec un sondage expiré.', - 'PRUNE_FORUM_CONFIRM' => 'Êtes-vous sûr de vouloir délester les forums sélectionnés selon les critères ci-dessous? Une fois supprimés, il n’y a aucun moyen de récupérer les sujets et les messages.', - 'PRUNE_NOT_POSTED' => 'Nombre de jours depuis le dernier message posté', - 'PRUNE_NOT_VIEWED' => 'Nombre de jours depuis la dernière visualisation du sujet', - 'PRUNE_OLD_POLLS' => 'Délester les anciens sondages', - 'PRUNE_OLD_POLLS_EXPLAIN' => 'Supprimer les sujets contenant des sondages sans vote depuis le nombre de jours sélectionné.', - 'PRUNE_STICKY' => 'Délester les post-it', - 'PRUNE_SUCCESS' => 'Le délestage des forums a été effectué.', - - 'TOPICS_PRUNED' => 'Sujets délestés', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/search.php b/phpBB/language/fr/acp/search.php deleted file mode 100644 index b5272b19b1..0000000000 --- a/phpBB/language/fr/acp/search.php +++ /dev/null @@ -1,110 +0,0 @@ -<?php -/** -* -* acp_search [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: search.php, v1.24 2009/05/27 21:21:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ACP_SEARCH_INDEX_EXPLAIN' => 'Vous pouvez gérer les méthodes d’indexation de la recherche. Comme le moteur de recherche n’utilise qu’une seule méthode d’indexation, vous devriez supprimer toutes les indexations inutilisées. Après la modification de certains paramètres de recherche (comme le nombre minimum/maximum de caractères), il serait préférable de recréer l’index pour qu’il prenne en compte ces modifications.', - 'ACP_SEARCH_SETTINGS_EXPLAIN' => 'Vous pouvez définir quelle méthode d’indexation de recherche sera utilisée pour l’indexation des messages et l’exécution des recherches. Vous pouvez définir différentes options qui peuvent influencer sur la puissance de calcul requise. Certains de ces paramètres sont les mêmes pour toutes les méthodes d’indexation du moteur de recherche.', - - 'COMMON_WORD_THRESHOLD' => 'Seuil de mot commun', - 'COMMON_WORD_THRESHOLD_EXPLAIN' => 'Si un mot est contenu dans un nombre de messages supérieur au pourcentage indiqué, ce mot sera défini comme commun. Ces mots seront par la suite ignorés lors des recherches. Mettre “0” pour désactiver cette option. Cette option ne fonctionne que s’il y a plus de 100 messages sur votre forum. Si vous voulez que les mots actuellement considérés comme communs soient reconsidérés, vous devez recréer l’index.', - 'CONFIRM_SEARCH_BACKEND' => 'Voulez-vous réellement changer la méthode d’indexation? Vous devrez recréer un index de recherche pour la nouvelle méthode. Si vous ne prévoyez pas de réutiliser l’ancienne méthode d’indexation vous pouvez la supprimer pour libérer des ressources système.', - 'CONTINUE_DELETING_INDEX' => 'Continuer le précédent processus de suppression de l’index', - 'CONTINUE_DELETING_INDEX_EXPLAIN' => 'Une suppression d’index de recherche a été commencée. Celle-ci doit être terminée ou annulée pour pouvoir accéder à la page de recherche.', - 'CONTINUE_INDEXING' => 'Continuer le précédent processus d’indexation', - 'CONTINUE_INDEXING_EXPLAIN' => 'Un processus d’indexation a été commencé. Celui-ci doit être terminé ou annulé pour pouvoir accéder à la page de recherche.', - 'CREATE_INDEX' => 'Créer l’index de recherche', - - 'DELETE_INDEX' => 'Supprimer l’index de recherche', - 'DELETING_INDEX_IN_PROGRESS' => 'Suppression de l’index de recherche.', - 'DELETING_INDEX_IN_PROGRESS_EXPLAIN' => 'La méthode d’indexation de la recherche est en train de vider son index. Cela peut prendre quelques minutes.', - - 'FULLTEXT_MYSQL_INCOMPATIBLE_VERSION' => 'L’indexation FULLTEXT de MySQL ne peut être utilisée qu’à partir de MySQL 4 ou supérieur.', - 'FULLTEXT_MYSQL_NOT_MYISAM' => 'Les indexations FULLTEXT de MySQL ne peuvent être utilisés qu’avec les tables MyISAM.', - 'FULLTEXT_MYSQL_TOTAL_POSTS' => 'Nombre total de messages indexés', - 'FULLTEXT_MYSQL_MBSTRING' => 'Support des caractères non-latin UTF-8 utilisant mbstring:', - 'FULLTEXT_MYSQL_PCRE' => 'Support des caractères non-latin UTF-8 utilisant PCRE:', - 'FULLTEXT_MYSQL_MBSTRING_EXPLAIN' => 'Si PCRE n’a pas les propriétés de caractère unicode, la recherche s’effectuera en utilisant le moteur d’expressions régulières mbstring.', - 'FULLTEXT_MYSQL_PCRE_EXPLAIN' => 'La recherche nécessite les propriétés de caractère unicode PCRE, disponibles seulement depuis PHP 4.4, 5.1 et supérieur, si vous voulez effectuer une recherche sur des caractères non-latin.', - 'FULLTEXT_MYSQL_MIN_SEARCH_CHARS_EXPLAIN' => 'Les mots comportant ce nombre de caractères seront indexés pour la recherche. Il n’y a que vous ou votre hébergeur qui puissiez changer la configuration de MySQL.', - 'FULLTEXT_MYSQL_MAX_SEARCH_CHARS_EXPLAIN' => 'Les mots ne dépassant pas ce nombre de caractères seront indexés pour la recherche. Il n’y a que vous ou votre hébergeur qui puissiez changer la configuration de MySQL.', - - 'GENERAL_SEARCH_SETTINGS' => 'Paramètres généraux de recherche', - 'GO_TO_SEARCH_INDEX' => 'Aller à la page d’index de la recherche', - - 'INDEX_STATS' => 'Statistiques de l’index', - 'INDEXING_IN_PROGRESS' => 'Indexation en cours', - 'INDEXING_IN_PROGRESS_EXPLAIN' => 'La méthode d’indexation de la recherche est actuellement en train d’indexer tous les messages du forum. Cela peut prendre de quelques minutes à quelques heures selon la taille de votre forum.', - - 'LIMIT_SEARCH_LOAD' => 'Limite de la charge système de la recherche', - 'LIMIT_SEARCH_LOAD_EXPLAIN' => 'Si la charge du système dépasse cette valeur durant une minute, la recherche sera désactivée, une valeur à 1.0 équivaut environ à 100% d’utilisation d’un processeur. Cela fonctionne uniquement sur les serveurs basés sous UNIX.', - - 'MAX_SEARCH_CHARS' => 'Caractères maximum indexés par la recherche', - 'MAX_SEARCH_CHARS_EXPLAIN' => 'Seuls les mots inférieurs ou égaux à ce nombre de caractères seront indexés.', - 'MAX_NUM_SEARCH_KEYWORDS' => 'Nombre maximum de mots clés autorisés', - 'MAX_NUM_SEARCH_KEYWORDS_EXPLAIN' => 'Nombre maximum de mots que l’utilisateur est capable de rechercher. Une valeur à “0” autorise un nombre illimité de mots.', - 'MIN_SEARCH_CHARS' => 'Caractères minimum indexés par la recherche', - 'MIN_SEARCH_CHARS_EXPLAIN' => 'Seuls les mots supérieurs ou égaux à ce nombre de caractères seront indexés.', - 'MIN_SEARCH_AUTHOR_CHARS' => 'Caractères minimum du nom de l’auteur', - 'MIN_SEARCH_AUTHOR_CHARS_EXPLAIN' => 'Les utilisateurs doivent entrer au moins ce nombre de caractères en exécutant une recherche par auteur avec un joker Si le nom d’auteur est plus court que ce nombre vous pourrez tout de même rechercher ses messages en saisissant son nom complet.', - - 'PROGRESS_BAR' => 'Barre de progression', - - 'SEARCH_GUEST_INTERVAL' => 'Intervalle de flood des invités', - 'SEARCH_GUEST_INTERVAL_EXPLAIN' => 'Nombre de secondes que les invités doivent attendre entre chaque recherche. Si un invité lance une recherche, tous les autres doivent attendre que ce délai soit écoulé.', - 'SEARCH_INDEX_CREATE_REDIRECT' => 'Tous les messages ayant un id inférieur à %1$d ont été indexés, actuellement %2$d messages l’ont été.<br />Le taux actuel d’indexation est de %3$.1f messages par seconde.<br />Indexation en cours…', - 'SEARCH_INDEX_DELETE_REDIRECT' => 'Tous les messages ayant un id inférieur à %1$d ont été effacés de l’index de recherche.<br />Effacement en cours…', - 'SEARCH_INDEX_CREATED' => 'Tous les messages du forum ont été indexés.', - 'SEARCH_INDEX_REMOVED' => 'L’index de recherche a été supprimé.', - 'SEARCH_INTERVAL' => 'Intervalle de flood des utilisateurs', - 'SEARCH_INTERVAL_EXPLAIN' => 'Nombre de secondes que les utilisateurs doivent attendre entre chaque recherche. Cet intervalle est contrôlé indépendamment pour chaque utilisateur.', - 'SEARCH_STORE_RESULTS' => 'Durée de la mise en cache des résultats', - 'SEARCH_STORE_RESULTS_EXPLAIN' => 'Les résultats de la recherche mis en cache expireront après cette durée, en secondes. Mettre “0” pour désactiver la mise en cache de la recherche.', - 'SEARCH_TYPE' => 'Méthode d’indexation de la recherche', - 'SEARCH_TYPE_EXPLAIN' => 'phpBB vous permet de choisir la méthode d’indexation utilisée pour la recherche de texte dans le contenu des messages. Par défaut, la recherche utilisera la recherche FULLTEXT de phpBB.', - 'SWITCHED_SEARCH_BACKEND' => 'Vous avez modifié la méthode d’indexation de la recherche. Afin d’utiliser la nouvelle méthode d’indexation, vous devrez vous assurer qu’il existe bien un index de recherche pour celle-ci.', - - 'TOTAL_WORDS' => 'Nombre total de mots indexés', - 'TOTAL_MATCHES' => 'Nombre total de mots indexées en relation avec les messages', - - 'YES_SEARCH' => 'Activer la fonction de recherche', - 'YES_SEARCH_EXPLAIN' => 'Active la fonctionnalité de recherche, ce qui inclut la recherche des membres.', - 'YES_SEARCH_UPDATE' => 'Activer la mise à jour de FULLTEXT', - 'YES_SEARCH_UPDATE_EXPLAIN' => 'Met à jour les index de FULLTEXT lors de la publication de messages, ignoré si la recherche est désactivé.', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/styles.php b/phpBB/language/fr/acp/styles.php deleted file mode 100644 index 4e293a80ea..0000000000 --- a/phpBB/language/fr/acp/styles.php +++ /dev/null @@ -1,433 +0,0 @@ -<?php -/** -* -* acp_styles [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: styles.php, v1.26 2010/02/09 19:22:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ACP_IMAGESETS_EXPLAIN' => 'Un pack d’images comprend tous les boutons, forums, répertoires, etc. et d’autres images qui sont utilisées sur le forum. Vous pouvez modifier, exporter ou supprimer les pack d’images existants et en importer ou en activer de nouveaux.', - 'ACP_STYLES_EXPLAIN' => 'Vous pouvez gérer les styles disponibles sur votre forum. Un style consiste en un template, un thème et un pack d’images. Vous pouvez modifier le style existant, supprimer, désactiver, réactiver, créer ou en importer de nouveaux. Vous pouvez également voir à quoi ressemblera le style, en utilisant la fonction aperçu. Le style par défaut est mis en évidence par un astérisque (*). Le nombre total d’utilisateurs pour chaque style est également indiqué, notez que cela écrase les styles des utilisateurs qui ne sont pas ici.', - 'ACP_TEMPLATES_EXPLAIN' => 'Un template est une page HTML qui comprend toutes les balises utilisées pour gérer la mise en page de votre forum. Vous pouvez éditer, supprimer, exporter, importer et prévisualiser l’ensemble du template. Vous pouvez également modifier le code du template utilisé pour produire des BBCodes.', - 'ACP_THEMES_EXPLAIN' => 'Un thème est l’ensemble des couleurs et images appliqué à un template pour définir l’aspect de votre forum. Le nombre d’options disponibles dépend de la configuration de votre serveur et de l’installation de phpBB, reportez-vous au manuel d’utilisation pour plus de détails. Notez que l’utilisation d’un style différent comme base de travail est optionnel.', - 'ADD_IMAGESET' => 'Ajouter un pack d’images', - 'ADD_IMAGESET_EXPLAIN' => 'Vous pouvez créer un pack d’images. Selon la configuration du serveur et vos accès aux permissions des fichiers, vous aurez plus ou moins d’options disponibles. Par exemple, vous pouvez vous baser sur un pack d’images existant. Vous pouvez également charger ou importer (depuis le répertoire <em>store</em>) une archive de pack d’images. Si vous chargez ou importez un pack, il peut prendre le même nom que celui de l’archive dont il est extrait, pour cela, laissez le nom du pack d’images vide.', - 'ADD_STYLE' => 'Créer un style', - 'ADD_STYLE_EXPLAIN' => 'Vous pouvez créer un nouveau style. Selon la configuration du serveur et vos accès aux permissions des fichiers, vous aurez plus ou moins d’options disponibles. Par exemple, il vous est peut-être possible de baser un style sur un style existant, vous pouvez également charger ou importer (depuis le répertoire <em>store</em>) une archive de style. Si vous chargez ou importez un style, il sera renommé automatiquement.', - 'ADD_TEMPLATE' => 'Créer un template', - 'ADD_TEMPLATE_EXPLAIN' => 'Vous pouvez ajouter un nouveau template. Selon la configuration du serveur et vos accès aux permissions des fichiers, vous aurez plus ou moins d’options disponibles. Par exemple, vous pouvez baser un template sur un template existant, vous pouvez également charger ou importer (depuis le répertoire <em>store</em>) une archive de template. Si vous chargez ou importez un template, il peut prendre le même nom que celui de l’archive dont il est extrait, pour cela, laissez le nom du template vide.', - 'ADD_THEME' => 'Créer un thème', - 'ADD_THEME_EXPLAIN' => 'Vous pouvez ajouter un nouveau thème. Selon la configuration du serveur et vos accès aux permissions des fichiers, vous aurez plus ou moins d’options disponibles. Par exemple, vous pouvez baser un thème sur un thème existant, vous pouvez également charger ou importer (depuis le répertoire <em>store</em>) une archive de thème. Si vous chargez ou importez un thème, il peut prendre le même nom que celui de l’archive dont il est extrait, pour cela, laissez le nom du thème vide.', - 'ARCHIVE_FORMAT' => 'Type d’archive', - 'AUTOMATIC_EXPLAIN' => 'Laissez cette case vide pour tenter une détection automatique.', - - 'BACKGROUND' => 'Fond', - 'BACKGROUND_COLOUR' => 'Couleur de fond', - 'BACKGROUND_IMAGE' => 'Image de fond', - 'BACKGROUND_REPEAT' => 'Répétition du fond', - 'BOLD' => 'Gras', - - 'CACHE' => 'Cache', - 'CACHE_CACHED' => 'Mise en cache', - 'CACHE_FILENAME' => 'Nom du fichier', - 'CACHE_FILESIZE' => 'Taille du fichier', - 'CACHE_MODIFIED' => 'Modifié', - 'CONFIRM_IMAGESET_REFRESH' => 'Êtes-vous sûr de vouloir rafraîchir toutes les données des packs d’images? Les paramètres du fichier de configuration du pack d’images écraseront toutes modifications des packs d’images qui ont été extraites de l’éditeur de packs d’images.', - 'CONFIRM_TEMPLATE_CLEAR_CACHE' => 'Êtes-vous sûr de vouloir supprimer toutes les versions de vos fichiers de template mis en cache?', - 'CONFIRM_TEMPLATE_REFRESH' => 'Êtes-vous sûr de vouloir rafraîchir toutes les données du template dans la base de données, avec le contenu des fichiers de template du système de fichiers? Cela écrasera toutes les modifications effectuées avec l’éditeur de template dont les templates étaient stockés dans la base de données.', - 'CONFIRM_THEME_REFRESH' => 'Êtes-vous sûr de vouloir rafraîchir les données du thème dans la base avec les thèmes du système de fichiers? Cela écrasera toutes les modifications effectuées avec l’éditeur de thèmes dont les thèmes étaient stockés dans la base de données.', - 'COPYRIGHT' => 'Copyright', - 'CREATE_IMAGESET' => 'Créer un nouveau pack d’images', - 'CREATE_STYLE' => 'Créer un nouveau style', - 'CREATE_TEMPLATE' => 'Créer un nouveau template', - 'CREATE_THEME' => 'Créer un nouveau thème', - 'CURRENT_IMAGE' => 'Image actuelle', - - 'DEACTIVATE_DEFAULT' => 'Vous ne pouvez pas désactiver le style par défaut.', - 'DELETE_FROM_FS' => 'Supprimer du le système de fichiers', - 'DELETE_IMAGESET' => 'Supprimer un pack d’images', - 'DELETE_IMAGESET_EXPLAIN' => 'Vous pouvez supprimer le pack d’images sélectionné de la base de données. Notez que l’opération est irréversible. Il est recommandé de l’exporter au préalable pour une éventuelle utilisation future.', - 'DELETE_STYLE' => 'Supprimer un style', - 'DELETE_STYLE_EXPLAIN' => 'Vous pouvez supprimer le style sélectionné. Vous ne pouvez pas supprimer les éléments du style d’ici. Ils doivent être supprimés individuellement par l’intermédiaire de leur formulaire respectif. Notez que cette opération est irréversible. Faites attention en effaçant des styles, il n’y a aucun moyen de revenir en arrière.', - 'DELETE_TEMPLATE' => 'Supprimer un template', - 'DELETE_TEMPLATE_EXPLAIN' => 'Vous pouvez supprimer le pack de template de la base de données. Notez que l’opération est irréversible. Il est vivement recommandé de l’exporter au préalable pour une éventuelle utilisation future.', - 'DELETE_THEME' => 'Supprimer un thème', - 'DELETE_THEME_EXPLAIN' => 'Vous pouvez supprimer le thème sélectionné de la base de données. Notez que l’opération est irréversible. Il est vivement recommandé de l’exporter au préalable pour une éventuelle utilisation future.', - 'DETAILS' => 'Détails', - 'DIMENSIONS_EXPLAIN' => 'Sélectionnez oui pour prendre en compte les paramètres largeur/hauteur.', - - 'EDIT_DETAILS_IMAGESET' => 'Modifier les informations du pack d’images', - 'EDIT_DETAILS_IMAGESET_EXPLAIN' => 'Vous pouvez éditer certaines informations du pack d’images comme son nom, etc.', - 'EDIT_DETAILS_STYLE' => 'Modifier un style', - 'EDIT_DETAILS_STYLE_EXPLAIN' => 'En modifiant le formulaire ci-dessous, vous pouvez modifier un style existant. Vous pouvez modifier la combinaison template/pack d’images. Vous pouvez définir un style par défaut.', - 'EDIT_DETAILS_TEMPLATE' => 'Editer les paramètres du template', - 'EDIT_DETAILS_TEMPLATE_EXPLAIN' => 'Vous pouvez modifier les paramètres particuliers du template, comme son nom par exemple. Vous pouvez également choisir de modifier le mode de sauvegarde du template de la base données au fichier de sauvegarde et vice-versa. Cette possibilité dépend de votre configuration de PHP et du CHMOD du répertoire de votre template.', - 'EDIT_DETAILS_THEME' => 'Editer les paramètres du thème', - 'EDIT_DETAILS_THEME_EXPLAIN' => 'Vous pouvez modifier les paramètres particuliers du thème, comme son nom par exemple. Vous pouvez également choisir de modifier le mode de sauvegarde du template de la base données au fichier de sauvegarde et vice-versa. Cette possibilité dépend de votre configuration de PHP et du CHMOD du répertoire de votre thème.', - 'EDIT_IMAGESET' => 'Editer un pack d’images', - 'EDIT_IMAGESET_EXPLAIN' => 'Vous pouvez modifier les images qui composent le pack d’images. Vous pouvez également indiquer les dimensions d’affichage de ces images. Si vous indiquez ce paramètre, vous risquez de perturber l’affichage de certains navigateurs, si vous ne les indiquez pas, vous baissez quelque peu la taille d’enregistrement dans la base de données.', - 'EDIT_TEMPLATE' => 'Editer un template', - 'EDIT_TEMPLATE_EXPLAIN' => 'Vous pouvez éditer votre template directement. Attention, ces modifications sont permanentes et irréversibles une fois validées. Si PHP peut modifier les fichiers templates directement dans votre répertoire, les modifications seront automatiquement répercutées sur les fichiers concernés. Si PHP ne peut modifier les fichiers, ils seront copiés dans la base de données et les changements ne pourront être effectués qu’à partir de celle-ci. Faites attention quand vous éditez votre template, n’oubliez pas de fermer correctement toutes les variables {XXXX} et tout ce qui y est rattaché.', - 'EDIT_TEMPLATE_STORED_DB' => 'Le fichier template n’a pas pu être écrit, il a été stocké dans la base de données avec les modifications apportées.', - 'EDIT_THEME' => 'Editer le thème', - 'EDIT_THEME_EXPLAIN' => 'Vous pouvez éditer le thème sélectionné, modifier les couleurs, les images, etc.', - 'EDIT_THEME_STORED_DB' => 'La feuille de style n’a pas pu être écrite, elle a été stockée dans la base de données avec les modifications apportées.', - 'EDIT_THEME_STORE_PARSED' => 'Le thème nécessite que sa feuille de style soit analysée. Ceci n’est possible que si elle est stockée dans la base de données.', - 'EDITOR_DISABLED' => 'L’éditeur de template est désactivé.', - 'EXPORT' => 'Exporter', - - 'FOREGROUND' => 'Avant plan', - 'FONT_COLOUR' => 'Couleur de la police', - 'FONT_FACE' => 'Police', - 'FONT_FACE_EXPLAIN' => 'Vous pouvez indiquer plusieurs polices en les séparant par une virgule. Si un utilisateur n’a pas la première police, la suivante sera utilisée.', - 'FONT_SIZE' => 'Taille', - - 'GLOBAL_IMAGES' => 'Annonces globales', - - 'HIDE_CSS' => 'Masquer le code CSS', - - 'IMAGE_WIDTH' => 'Largeur', - 'IMAGE_HEIGHT' => 'Hauteur', - 'IMAGE' => 'Image', - 'IMAGE_NAME' => 'Nom', - 'IMAGE_PARAMETER' => 'Paramètre', - 'IMAGE_VALUE' => 'Valeur', - 'IMAGESET_ADDED' => 'Le pack d’images a été ajouté au système de fichiers.', - 'IMAGESET_ADDED_DB' => 'Le pack d’images a été ajouté à la base de données.', - 'IMAGESET_DELETED' => 'Le pack d’images a été supprimé.', - 'IMAGESET_DELETED_FS' => 'Le pack d’images a été supprimé de la base de données mais certains fichiers peuvent subsister sur le système.', - 'IMAGESET_DETAILS_UPDATED' => 'Les informations du pack d’images ont été mises à jour.', - 'IMAGESET_ERR_ARCHIVE' => 'Sélectionnez une méthode d’archivage.', - 'IMAGESET_ERR_COPY_LONG' => 'Le copyright ne peut pas dépasser 60 caractères.', - 'IMAGESET_ERR_NAME_CHARS' => 'Le nom du pack d’images ne peut contenir que des caractères alphanumériques, -, +, _ et espace.', - 'IMAGESET_ERR_NAME_EXIST' => 'Ce nom est déjà utilisé par un pack d’images.', - 'IMAGESET_ERR_NAME_LONG' => 'Le nom du pack d’images ne peut pas dépasser 30 caractères.', - 'IMAGESET_ERR_NOT_IMAGESET' => 'L’archive indiquée ne contient pas de pack d’images valide.', - 'IMAGESET_ERR_STYLE_NAME' => 'Vous devez choisir un nom pour ce pack d’images.', - 'IMAGESET_EXPORT' => 'Exporter le pack d’images', - 'IMAGESET_EXPORT_EXPLAIN' => 'Vous pouvez exporter un pack d’images sous la forme d’une archive. Cette archive contiendra tous les fichiers nécessaires pour l’installation du pack d’images sur un autre forum. Vous devez choisir entre télécharger le fichier directement ou le placer dans le répertoire <em>store</em> pour le télécharger plus tard par FTP.', - 'IMAGESET_EXPORTED' => 'Le pack d’images a été exporté et stocké dans %s.', - 'IMAGESET_NAME' => 'Nom du pack d’images', - 'IMAGESET_REFRESHED' => 'Le pack d’images a été rechargé.', - 'IMAGESET_UPDATED' => 'Le pack d’images a été mis à jour.', - 'ITALIC' => 'Italique', - - 'IMG_CAT_BUTTONS' => 'Boutons', - 'IMG_CAT_CUSTOM' => 'Images personnalisées', - 'IMG_CAT_FOLDERS' => 'Icônes des sujets', - 'IMG_CAT_FORUMS' => 'Icônes des forums', - 'IMG_CAT_ICONS' => 'Icônes générales', - 'IMG_CAT_LOGOS' => 'Logos', - 'IMG_CAT_POLLS' => 'Images des sondages', - 'IMG_CAT_UI' => 'Eléments généraux de l’interface', - 'IMG_CAT_USER' => 'Images supplémentaires', - - 'IMG_SITE_LOGO' => 'Logo principal', - 'IMG_UPLOAD_BAR' => 'Barre de progression de transfert', - 'IMG_POLL_LEFT' => 'Début de la barre de vote, côté gauche', - 'IMG_POLL_CENTER' => 'Centre de la barre de vote', - 'IMG_POLL_RIGHT' => 'Fin de la barre de vote, côté droit', - 'IMG_ICON_FRIEND' => 'Ajouter comme ami', - 'IMG_ICON_FOE' => 'Ajouter comme ignoré', - - 'IMG_FORUM_LINK' => 'Lien de forum', - 'IMG_FORUM_READ' => 'Forum', - 'IMG_FORUM_READ_LOCKED' => 'Forum verrouillé', - 'IMG_FORUM_READ_SUBFORUM' => 'Sous-forum', - 'IMG_FORUM_UNREAD' => 'Messages non lus', - 'IMG_FORUM_UNREAD_LOCKED' => 'Messages non lus verrouillés', - 'IMG_FORUM_UNREAD_SUBFORUM' => 'Messages non lus dans les sous-forums', - 'IMG_SUBFORUM_READ' => 'Légende pour les sous-forums', - 'IMG_SUBFORUM_UNREAD' => 'Messages non lus dans les sous-forums', - - 'IMG_TOPIC_MOVED' => 'Sujet déplacé', - - 'IMG_TOPIC_READ' => 'Sujets', - 'IMG_TOPIC_READ_MINE' => 'Mes sujets', - 'IMG_TOPIC_READ_HOT' => 'Sujets populaires', - 'IMG_TOPIC_READ_HOT_MINE' => 'Mes sujets populaires', - 'IMG_TOPIC_READ_LOCKED' => 'Sujets verrouillés', - 'IMG_TOPIC_READ_LOCKED_MINE' => 'Mes sujets verrouillés', - - 'IMG_TOPIC_UNREAD' => 'Sujets avec messages non lus', - 'IMG_TOPIC_UNREAD_MINE' => 'Mes sujets avec messages non lus', - 'IMG_TOPIC_UNREAD_HOT' => 'Sujets populaires avec messages non lus', - 'IMG_TOPIC_UNREAD_HOT_MINE' => 'Mes sujets populaires avec messages non lus', - 'IMG_TOPIC_UNREAD_LOCKED' => 'Sujets verrouillés avec messages non lus', - 'IMG_TOPIC_UNREAD_LOCKED_MINE' => 'Mes sujets verrouillés avec messages non lus', - - 'IMG_STICKY_READ' => 'Post-it', - 'IMG_STICKY_READ_MINE' => 'Mes Post-it', - 'IMG_STICKY_READ_LOCKED' => 'Post-it verrouillés', - 'IMG_STICKY_READ_LOCKED_MINE' => 'Mes Post-it verrouillés', - 'IMG_STICKY_UNREAD' => 'Post-it avec messages non lus', - 'IMG_STICKY_UNREAD_MINE' => 'Mes Post-it avec messages non lus', - 'IMG_STICKY_UNREAD_LOCKED' => 'Post-it verrouillés avec messages non lus', - 'IMG_STICKY_UNREAD_LOCKED_MINE' => 'Mes Post-it verrouillés avec messages non lus', - - 'IMG_ANNOUNCE_READ' => 'Annonce', - 'IMG_ANNOUNCE_READ_MINE' => 'Mes annonces', - 'IMG_ANNOUNCE_READ_LOCKED' => 'Annonces verrouillées', - 'IMG_ANNOUNCE_READ_LOCKED_MINE' => 'Mes annonces verrouillées', - 'IMG_ANNOUNCE_UNREAD' => 'Annonces avec messages non lus', - 'IMG_ANNOUNCE_UNREAD_MINE' => 'Mes annonces avec messages non lus', - 'IMG_ANNOUNCE_UNREAD_LOCKED' => 'Annonces verrouillées avec messages non lus', - 'IMG_ANNOUNCE_UNREAD_LOCKED_MINE' => 'Mes annonces verrouillées avec messages non lus', - - 'IMG_GLOBAL_READ' => 'Annonces globales', - 'IMG_GLOBAL_READ_MINE' => 'Mes annonces globales', - 'IMG_GLOBAL_READ_LOCKED' => 'Annonces globales verrouillées', - 'IMG_GLOBAL_READ_LOCKED_MINE' => 'Mes annonces globales verrouillées', - 'IMG_GLOBAL_UNREAD' => 'Annonces globales avec messages non lus', - 'IMG_GLOBAL_UNREAD_MINE' => 'Mes annonces globales avec messages non lus', - 'IMG_GLOBAL_UNREAD_LOCKED' => 'Annonces globales verrouillées avec messages non lus', - 'IMG_GLOBAL_UNREAD_LOCKED_MINE' => 'Mes annonces globales verrouillées avec messages non lus', - - 'IMG_PM_READ' => 'Message privé lu', - 'IMG_PM_UNREAD' => 'Message privé non lu', - - 'IMG_ICON_BACK_TOP' => 'Haut de page', - - 'IMG_ICON_CONTACT_AIM' => 'AIM', - 'IMG_ICON_CONTACT_EMAIL' => 'Envoyer un e-mail', - 'IMG_ICON_CONTACT_ICQ' => 'ICQ', - 'IMG_ICON_CONTACT_JABBER' => 'Jabber', - 'IMG_ICON_CONTACT_MSNM' => 'MSN', - 'IMG_ICON_CONTACT_PM' => 'Envoyer un message', - 'IMG_ICON_CONTACT_YAHOO' => 'YIM', - 'IMG_ICON_CONTACT_WWW' => 'Site internet', - - 'IMG_ICON_POST_DELETE' => 'Supprimer le message', - 'IMG_ICON_POST_EDIT' => 'Modifier le message', - 'IMG_ICON_POST_INFO' => 'Afficher les infos du message', - 'IMG_ICON_POST_QUOTE' => 'Citer un message', - 'IMG_ICON_POST_REPORT' => 'Rapporter un message', - 'IMG_ICON_POST_TARGET' => 'Mini-message', - 'IMG_ICON_POST_TARGET_UNREAD' => 'Nouveau mini-message', - - - 'IMG_ICON_TOPIC_ATTACH' => 'Fichier joint', - 'IMG_ICON_TOPIC_LATEST' => 'Dernier message', - 'IMG_ICON_TOPIC_NEWEST' => 'Dernier message non lu', - 'IMG_ICON_TOPIC_REPORTED' => 'Message avec rapport', - 'IMG_ICON_TOPIC_UNAPPROVED' => 'Message non validé', - - 'IMG_ICON_USER_ONLINE' => 'Utilisateur en ligne', - 'IMG_ICON_USER_OFFLINE' => 'Utilisateur hors ligne', - 'IMG_ICON_USER_PROFILE' => 'Montrer le profil', - 'IMG_ICON_USER_SEARCH' => 'Rechercher des messages', - 'IMG_ICON_USER_WARN' => 'Avertir un utilisateur', - - 'IMG_BUTTON_PM_FORWARD' => 'Transmettre un message privé', - 'IMG_BUTTON_PM_NEW' => 'Nouveau message privé', - 'IMG_BUTTON_PM_REPLY' => 'Répondre à un message privé', - 'IMG_BUTTON_TOPIC_LOCKED' => 'Sujet verrouillé', - 'IMG_BUTTON_TOPIC_NEW' => 'Nouveau sujet', - 'IMG_BUTTON_TOPIC_REPLY' => 'Répondre à un sujet', - - 'IMG_USER_ICON1' => 'Image utilisateur 1', - 'IMG_USER_ICON2' => 'Image utilisateur 2', - 'IMG_USER_ICON3' => 'Image utilisateur 3', - 'IMG_USER_ICON4' => 'Image utilisateur 4', - 'IMG_USER_ICON5' => 'Image utilisateur 5', - 'IMG_USER_ICON6' => 'Image utilisateur 6', - 'IMG_USER_ICON7' => 'Image utilisateur 7', - 'IMG_USER_ICON8' => 'Image utilisateur 8', - 'IMG_USER_ICON9' => 'Image utilisateur 9', - 'IMG_USER_ICON10' => 'Image utilisateur 10', - - 'INCLUDE_DIMENSIONS' => 'Définir les dimensions', - 'INCLUDE_IMAGESET' => 'Ajouter un pack d’images', - 'INCLUDE_TEMPLATE' => 'Ajouter un template', - 'INCLUDE_THEME' => 'Ajouter un thème', - 'INHERITING_FROM' => 'Hérité de', - 'INSTALL_IMAGESET' => 'Installer un pack d’images', - 'INSTALL_IMAGESET_EXPLAIN' => 'Vous pouvez installer votre pack d’images. Vous pouvez modifier certaines informations si vous le désirez ou utiliser les paramètres par défaut.', - 'INSTALL_STYLE' => 'Installer un Style', - 'INSTALL_STYLE_EXPLAIN' => 'Vous pouvez installer un nouveau style et les éléments qui en dépendent éventuellement. Si vous avez déjà installé certains éléments, ils ne seront pas écrasés. Certains styles nécessitent que certains éléments soient déjà installés. Si vous essayez d’installer ce type de style et que les éléments ne sont pas présents vous en serez averti.', - 'INSTALL_TEMPLATE' => 'Installer un Template', - 'INSTALL_TEMPLATE_EXPLAIN' => 'Vous pouvez installer un nouveau template. Selon la configuration de votre serveur, vous aurez plus ou moins d’options à votre disposition.', - 'INSTALL_THEME' => 'Installer un Theme', - 'INSTALL_THEME_EXPLAIN' => 'Vous pouvez installer votre thème. Vous pouvez modifier les éléments que vous souhaitez ou mettre les paramètres par défaut.', - 'INSTALLED_IMAGESET' => 'Packs d’images installés', - 'INSTALLED_STYLE' => 'Styles installés', - 'INSTALLED_TEMPLATE' => 'Templates installés', - 'INSTALLED_THEME' => 'Thèmes installés', - - 'LINE_SPACING' => 'Ligne de séparation', - 'LOCALISED_IMAGES' => 'Emplacement des images', - 'LOCATION_DISABLED_EXPLAIN' => 'Ce réglage est hérité et ne peut pas être modifié.', - - 'NO_CLASS' => 'Classe introuvable dans la feuille de style.', - 'NO_IMAGESET' => 'Pack d’images introuvable dans le système de fichiers.', - 'NO_IMAGE' => 'Aucune image.', - 'NO_IMAGE_ERROR' => 'Image introuvable dans le système de fichiers.', - 'NO_STYLE' => 'Style introuvable dans le système de fichiers.', - 'NO_TEMPLATE' => 'Template introuvable dans le système de fichiers.', - 'NO_THEME' => 'Thème introuvable dans le système de fichiers.', - 'NO_UNINSTALLED_IMAGESET' => 'Aucun pack d’images à installer', - 'NO_UNINSTALLED_STYLE' => 'Aucun style à installer', - 'NO_UNINSTALLED_TEMPLATE' => 'Aucun template à installer', - 'NO_UNINSTALLED_THEME' => 'Aucun thème à installer', - 'NO_UNIT' => 'Aucun', - - 'ONLY_IMAGESET' => 'Ceci est le seul pack d’images installé, vous ne pouvez pas le supprimer.', - 'ONLY_STYLE' => 'Ceci est le seul style installé, vous ne pouvez pas le supprimer.', - 'ONLY_TEMPLATE' => 'Ceci est le seul template installé, vous ne pouvez pas le supprimer.', - 'ONLY_THEME' => 'Ceci est le seul thème installé, vous ne pouvez pas le supprimer.', - 'OPTIONAL_BASIS' => 'Options', - - 'REFRESH' => 'Rafraîchir', - 'REPEAT_NO' => 'Pas de répétition', - 'REPEAT_X' => 'Répétition horizontale', - 'REPEAT_Y' => 'Répétition verticale', - 'REPEAT_ALL' => 'Répéter dans les deux directions', - 'REPLACE_IMAGESET' => 'Remplacer le pack d’images par', - 'REPLACE_IMAGESET_EXPLAIN' => 'Ce pack d’images remplacera celui que vous avez supprimé dans les thèmes l’utilisant.', - 'REPLACE_STYLE' => 'Remplacer le style par', - 'REPLACE_STYLE_EXPLAIN' => 'Ce style remplacera celui qui a été supprimé pour les membres l’utilisant.', - 'REPLACE_TEMPLATE' => 'Remplacer le template par', - 'REPLACE_TEMPLATE_EXPLAIN' => 'Ce template remplacera celui que vous avez supprimé dans les styles l’utilisant.', - 'REPLACE_THEME' => 'Remplacer le thème par', - 'REPLACE_THEME_EXPLAIN' => 'Ce thème remplacera celui que vous avez supprimé dans les styles l’utilisant.', - 'REQUIRES_IMAGESET' => 'Ce style nécessite que le pack d’images %s soit installé.', - 'REQUIRES_TEMPLATE' => 'Ce style nécessite que le template %s soit installé.', - 'REQUIRES_THEME' => 'Ce style nécessite que le thème %s soit installé.', - - 'SELECT_IMAGE' => 'Sélectionner l’image', - 'SELECT_TEMPLATE' => 'Sélectionner le template', - 'SELECT_THEME' => 'Sélectionner un thème', - 'SELECTED_IMAGE' => 'Image sélectionnée', - 'SELECTED_IMAGESET' => 'Pack d’images sélectionné', - 'SELECTED_TEMPLATE' => 'Template sélectionné', - 'SELECTED_TEMPLATE_FILE' => 'Fichier du template sélectionné', - 'SELECTED_THEME' => 'Thème sélectionné', - 'SELECTED_THEME_FILE' => 'Thème sélectionné', - 'STORE_DATABASE' => 'Base de données', - 'STORE_FILESYSTEM' => 'Fichiers système', - 'STYLE_ACTIVATE' => 'Activer le style', - 'STYLE_ACTIVE' => 'Style actif', - 'STYLE_ADDED' => 'Style ajouté.', - 'STYLE_DEACTIVATE' => 'Désactiver le style', - 'STYLE_DEFAULT' => 'Mettre ce style par défaut', - 'STYLE_DELETED' => 'Style supprimé.', - 'STYLE_DETAILS_UPDATED' => 'Style modifié.', - 'STYLE_ERR_ARCHIVE' => 'Sélectionnez le type d’archivage souhaité.', - 'STYLE_ERR_COPY_LONG' => 'Le copyright ne peut dépasser 60 caractères.', - 'STYLE_ERR_MORE_ELEMENTS' => 'Vous devez sélectionner au moins un élément du style.', - 'STYLE_ERR_NAME_CHARS' => 'Le nom du style ne peut contenir que des caractères alphanumériques, -, +, _ et espace.', - 'STYLE_ERR_NAME_EXIST' => 'Un style porte déjà ce nom.', - 'STYLE_ERR_NAME_LONG' => 'Le nom du style ne peut pas dépasser 30 caractères.', - 'STYLE_ERR_NO_IDS' => 'Vous devez sélectionner un template, un thème et un pack d’images pour ce style.', - 'STYLE_ERR_NOT_STYLE' => 'Le fichier importé ou exporté ne contient pas d’archive de style valide.', - 'STYLE_ERR_STYLE_NAME' => 'Vous devez donner un nom à ce style.', - 'STYLE_EXPORT' => 'Exporter un Style', - 'STYLE_EXPORT_EXPLAIN' => 'Vous pouvez exporter un style sous la forme d’une archive. Un style peut ne pas contenir tous les éléments mais doit en comporter au moins un. Par exemple si vous avez créé un nouveau thème et un pack d’images pour un template utilisé couramment vous pouvez simplement exporter le thème et le pack d’images sans exporter le template. Vous pouvez choisir entre télécharger le fichier directement ou le placer dans votre répertoire <em>store</em> pour le télécharger plus tard par FTP.', - 'STYLE_EXPORTED' => 'Style exporté et sauvegardé dans %s.', - 'STYLE_IMAGESET' => 'Pack d’images', - 'STYLE_NAME' => 'Nom du style', - 'STYLE_TEMPLATE' => 'Template', - 'STYLE_THEME' => 'Thème', - 'STYLE_USED_BY' => 'Utilisé par', - - 'TEMPLATE_ADDED' => 'Template ajouté et stocké dans les fichiers systèmes.', - 'TEMPLATE_ADDED_DB' => 'Template ajouté et stocké dans la base de données.', - 'TEMPLATE_CACHE' => 'Cache du template', - 'TEMPLATE_CACHE_EXPLAIN' => 'Par défaut phpBB met en cache une version compilée de ses templates. Ceci réduit le temps de chargement sur le serveur à chaque chargement de page et réduit ainsi le temps de chargement de celle-ci. Vous pouvez consulter l’état actuel du cache pour chaque fichier et supprimer le cache de chaque fichier ou bien le vider entièrement.', - 'TEMPLATE_CACHE_CLEARED' => 'Cache du template vidé.', - 'TEMPLATE_CACHE_EMPTY' => 'Pas de cache template.', - 'TEMPLATE_DELETED' => 'Template supprimé.', - 'TEMPLATE_DELETE_DEPENDENT' => 'Le jeu de templates ne peut pas être supprimé, du fait qu’un ou plusieurs jeux de template héritent de lui:', - 'TEMPLATE_DELETED_FS' => 'Le template a été supprimé de la base de données mais certains fichiers peuvent toutefois être encore présents sur le système.', - 'TEMPLATE_DETAILS_UPDATED' => 'Le template a été mis à jour.', - 'TEMPLATE_EDITOR' => 'Editeur de template HTML', - 'TEMPLATE_EDITOR_HEIGHT' => 'Taille de l’éditeur de template', - 'TEMPLATE_ERR_ARCHIVE' => 'Sélectionnez une méthode d’archivage.', - 'TEMPLATE_ERR_CACHE_READ' => 'Le répertoire du cache utilisé pour sauvegarder les caches des templates ne peut pas être ouvert.', - 'TEMPLATE_ERR_COPY_LONG' => 'Le copyright ne peut pas dépasser 60 caractères.', - 'TEMPLATE_ERR_NAME_CHARS' => 'Le nom du template ne peut comporter que des caractères alphanumériques, -, +, _ et espace.', - 'TEMPLATE_ERR_NAME_EXIST' => 'Un template du même nom existe déjà.', - 'TEMPLATE_ERR_NAME_LONG' => 'Le nom du template ne peut excéder 30 caractères.', - 'TEMPLATE_ERR_NOT_TEMPLATE' => 'L’archive que vous avez sélectionnée ne contient pas de template valide.', - 'TEMPLATE_ERR_REQUIRED_OR_INCOMPLETE' => 'Le nouveau jeu de templates requiert l’installation du template %s, lui-même sans héritage.', - 'TEMPLATE_ERR_STYLE_NAME' => 'Vous devez choisir un nom pour ce template.', - 'TEMPLATE_EXPORT' => 'Exporter les templates', - 'TEMPLATE_EXPORT_EXPLAIN' => 'Vous pouvez exporter un template sous la forme d’une archive. L’archive contiendra tous les fichiers nécessaires pour installer le template sur un autre forum. Vous pouvez choisir entre télécharger le fichier directement ou le placer dans le répertoire <em>store</em> pour le télécharger plus tard par FTP.', - 'TEMPLATE_EXPORTED' => 'Templates exportés et stockés dans %s.', - 'TEMPLATE_FILE' => 'Fichiers du template', - 'TEMPLATE_FILE_UPDATED' => 'Fichiers du template modifiés.', - 'TEMPLATE_INHERITS' => 'Ce jeu de templates hérite de %s et ne peut donc pas avoir un mode de stockage différent de celui utilisé par son template parent.', - 'TEMPLATE_LOCATION' => 'Sauvegarder les templates vers', - 'TEMPLATE_LOCATION_EXPLAIN' => 'Les images sont sauvegardées dans les fichiers systèmes.', - 'TEMPLATE_NAME' => 'Nom du template', - 'TEMPLATE_FILE_NOT_WRITABLE'=> 'Impossible décrire dans le fichier de template %s. Vérifiez les permissions du répertoire et des fichiers.', - 'TEMPLATE_REFRESHED' => 'Le template a été rafraîchi.', - - 'THEME_ADDED' => 'Nouveau thème ajouté.', - 'THEME_ADDED_DB' => 'Nouveau thème ajouté dans la base de données.', - 'THEME_CLASS_ADDED' => 'Classe personnalisée ajoutée.', - 'THEME_DELETED' => 'Thème supprimé.', - 'THEME_DELETED_FS' => 'Thème supprimé de la base de données mais des fichiers peuvent encore subsister sur le système.', - 'THEME_DETAILS_UPDATED' => 'Eléments du thème mis à jour.', - 'THEME_EDITOR' => 'Editeur de feuille CSS', - 'THEME_EDITOR_HEIGHT' => 'Taille de l’éditeur de thème', - 'THEME_ERR_ARCHIVE' => 'Sélectionnez une méthode d’archivage.', - 'THEME_ERR_CLASS_CHARS' => 'Seuls les caractères alphanumériques ainsi que .,:, - et # sont acceptés pour les noms de class.', - 'THEME_ERR_COPY_LONG' => 'Le copyright ne peut dépasser 60 caractères.', - 'THEME_ERR_NAME_CHARS' => 'Le nom de thème ne peut contenir que des caractères alphanumériques, -, +, _ et espace.', - 'THEME_ERR_NAME_EXIST' => 'Un thème du même nom existe déjà.', - 'THEME_ERR_NAME_LONG' => 'Le nom du thème ne peut excéder 30 caractères.', - 'THEME_ERR_NOT_THEME' => 'L’archive que vous avez sélectionné ne contient pas de thème valide.', - 'THEME_ERR_REFRESH_FS' => 'Ce thème est déjà présent sur le système, nul besoin de le rafraîchir.', - 'THEME_ERR_STYLE_NAME' => 'Vous devez indiquer un nom pour ce thème.', - 'THEME_EXPORT' => 'Exporter un thème', - 'THEME_EXPORT_EXPLAIN' => 'Vous pouvez exporter un thème sous la forme d’une archive. Cette archive contiendra tous les fichiers nécessaires pour installer le thème sur un autre forum. Vous pouvez choisir entre télécharger le fichier directement ou le placer dans le répertoire <em>store</em> pour le télécharger plus tard par FTP.', - 'THEME_EXPORTED' => 'Thème exporté et stocké dans %s.', - 'THEME_FILE' => 'Thème', - 'THEME_LOCATION' => 'Sauvegarder la feuille de style dans', - 'THEME_LOCATION_EXPLAIN' => 'Les images sont toujours sauvegardées sur le système.', - 'THEME_NAME' => 'Nom du thème', - 'THEME_REFRESHED' => 'Thème rafraîchi.', - 'THEME_UPDATED' => 'Classe mise à jour.', - - 'UNDERLINE' => 'Souligné', - 'UNINSTALLED_IMAGESET' => 'Packs d’images désinstallés', - 'UNINSTALLED_STYLE' => 'Styles désinstallés', - 'UNINSTALLED_TEMPLATE' => 'Templates désinstallés', - 'UNINSTALLED_THEME' => 'Thèmes désinstallés', - 'UNSET' => 'Non défini', - -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/acp/users.php b/phpBB/language/fr/acp/users.php deleted file mode 100644 index df20c1f346..0000000000 --- a/phpBB/language/fr/acp/users.php +++ /dev/null @@ -1,143 +0,0 @@ -<?php -/** -* -* acp_users [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: users.php, v1.25 2009/10/15 12:35:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ADMIN_SIG_PREVIEW' => 'Aperçu de la signature', - 'AT_LEAST_ONE_FOUNDER' => 'Vous n’êtes pas autorisé à passer ce fondateur en utilisateur normal. Il est nécessaire d’avoir au moins un fondateur sur le forum. Si vous voulez modifier le statut de cet utilisateur, vous devez tout d’abord promouvoir un autre utilisateur en tant que fondateur.', - - 'BAN_ALREADY_ENTERED' => 'Ce bannissement a déjà été effectué. Aucune mise à jour n’a été effectuée.', - 'BAN_SUCCESSFUL' => 'Le bannissement a été ajouté.', - - 'CANNOT_BAN_ANONYMOUS' => 'Vous n’êtes pas autorisé à bannir le compte de l’utilisateur invité. Les permissions des visiteurs peuvent être définies depuis l’onglet “Permissions”.', - 'CANNOT_BAN_FOUNDER' => 'Vous n’êtes pas autorisé à bannir les comptes des administrateurs fondateurs.', - 'CANNOT_BAN_YOURSELF' => 'Vous n’êtes pas autorisé à vous bannir.', - 'CANNOT_DEACTIVATE_BOT' => 'Vous n’êtes pas autorisé à désactiver les comptes de robots. Désactivez plutôt le robot dans la page des robots.', - 'CANNOT_DEACTIVATE_FOUNDER' => 'Vous n’êtes pas autorisé à désactiver les comptes des administrateurs fondateurs.', - 'CANNOT_DEACTIVATE_YOURSELF' => 'Vous n’êtes pas autorisé à désactiver votre propre compte.', - 'CANNOT_FORCE_REACT_BOT' => 'Vous n’êtes pas autorisé à forcer la réactivation sur les comptes de robots. Réactivez plutôt le robot dans la page des robots.', - 'CANNOT_FORCE_REACT_FOUNDER' => 'Vous n’êtes pas autorisé à forcer la réactivation sur les comptes des administrateurs fondateurs.', - 'CANNOT_FORCE_REACT_YOURSELF' => 'Vous n’êtes pas autorisé à forcer la réactivation de votre propre compte.', - 'CANNOT_REMOVE_ANONYMOUS' => 'Vous n’êtes pas autorisé à supprimer le compte de l’utilisateur invité.', - 'CANNOT_REMOVE_YOURSELF' => 'Vous n’êtes pas autorisé à supprimer votre propre compte.', - 'CANNOT_SET_FOUNDER_IGNORED' => 'Vous ne pouvez pas promouvoir des utilisateurs ignorés en fondateurs.', - 'CANNOT_SET_FOUNDER_INACTIVE' => 'Vous devez activer les utilisateurs avant de les promouvoir au statut d’administrateurs fondateurs, seuls les utilisateurs activés peuvent être promus.', - 'CONFIRM_EMAIL_EXPLAIN' => 'Vous êtes seulement obligé de renseigner cette case si vous modifiez l’adresse e-mail de cet utilisateur.', - - 'DELETE_POSTS' => 'Supprimer ses messages', - 'DELETE_USER' => 'Supprimer cet utilisateur', - 'DELETE_USER_EXPLAIN' => 'Merci de noter que la suppression d’un utilisateur est une action irréversible.', - - 'FORCE_REACTIVATION_SUCCESS' => 'La réactivation a été forcée.', - 'FOUNDER' => 'Fondateur', - 'FOUNDER_EXPLAIN' => 'Les fondateurs ont toutes les permissions et ne peuvent jamais être bannis, supprimés ou modifiés par des utilisateurs non fondateurs.', - - 'GROUP_APPROVE' => 'Accepter le membre', - 'GROUP_DEFAULT' => 'Groupe par défaut', - 'GROUP_DELETE' => 'Supprimer le membre du groupe', - 'GROUP_DEMOTE' => 'Rétrograder le chef de groupe', - 'GROUP_PROMOTE' => 'Promouvoir en chef de groupe', - - 'IP_WHOIS_FOR' => 'IP whois pour %s', - - 'LAST_ACTIVE' => 'Dernière visite le', - - 'MOVE_POSTS_EXPLAIN' => 'Merci de sélectionner le forum où vous désirez déplacer tous les messages de cet utilisateur.', - - 'NO_SPECIAL_RANK' => 'Aucun rang spécial sélectionné', - 'NO_WARNINGS' => 'Aucun avertissement.', - 'NOT_MANAGE_FOUNDER' => 'Vous avez essayé de gérer un utilisateur ayant le statut de fondateur. Seuls les fondateurs peuvent gérer d’autres fondateurs.', - - 'QUICK_TOOLS' => 'Outils rapides', - - 'REGISTERED' => 'Inscrit le', - 'REGISTERED_IP' => 'Adresse IP lors de son inscription', - 'RETAIN_POSTS' => 'Conserver ses messages', - - 'SELECT_FORM' => 'Sélectionner un formulaire', - 'SELECT_USER' => 'Sélectionner un utilisateur', - - 'USER_ADMIN' => 'Administration de l’utilisateur', - 'USER_ADMIN_ACTIVATE' => 'Activer son compte', - 'USER_ADMIN_ACTIVATED' => 'Le compte a été activé.', - 'USER_ADMIN_AVATAR_REMOVED' => 'L’avatar de cet utilisateur a été supprimé.', - 'USER_ADMIN_BAN_EMAIL' => 'Bannir par son e-mail', - 'USER_ADMIN_BAN_EMAIL_REASON' => 'L’e-mail a été banni via l’administration de l’utilisateur', - 'USER_ADMIN_BAN_IP' => 'Bannir par son adresse IP', - 'USER_ADMIN_BAN_IP_REASON' => 'L’adresse IP a été bannie via l’administration de l’utilisateur', - 'USER_ADMIN_BAN_NAME_REASON' => 'Le nom d’utilisateur a été banni via l’administration de l’utilisateur', - 'USER_ADMIN_BAN_USER' => 'Bannir par son nom d’utilisateur', - 'USER_ADMIN_DEACTIVATE' => 'Désactiver son compte', - 'USER_ADMIN_DEACTIVED' => 'Le compte a été désactivé.', - 'USER_ADMIN_DEL_ATTACH' => 'Supprimer ses fichiers joints', - 'USER_ADMIN_DEL_AVATAR' => 'Supprimer son avatar', - 'USER_ADMIN_DEL_OUTBOX' => 'Vider la boîte d’envoi', - 'USER_ADMIN_DEL_POSTS' => 'Supprimer ses messages', - 'USER_ADMIN_DEL_SIG' => 'Supprimer sa signature', - 'USER_ADMIN_EXPLAIN' => 'Vous pouvez modifier les informations d’un utilisateur et certaines options particulières.', - 'USER_ADMIN_FORCE' => 'Forcer la réactivation', - 'USER_ADMIN_LEAVE_NR' => 'Supprimer des nouveaux inscrits', - 'USER_ADMIN_MOVE_POSTS' => 'Déplacer ses messages', - 'USER_ADMIN_SIG_REMOVED' => 'La signature de cet utilisateur a été supprimée.', - 'USER_ATTACHMENTS_REMOVED' => 'Les fichiers joints de cet utilisateur ont été supprimés.', - 'USER_AVATAR_NOT_ALLOWED' => 'L’avatar ne peut pas être affiché car les avatars ont été désactivés.', - 'USER_AVATAR_UPDATED' => 'Les informations avatar de cet utilisateur ont été mis à jour.', - 'USER_AVATAR_TYPE_NOT_ALLOWED' => 'L’avatar actuel ne peut pas être affiché car ce type d’avatar a été désactivté.', - 'USER_CUSTOM_PROFILE_FIELDS' => 'Champs de profil personnalisés', - 'USER_DELETED' => 'Cet utilisateur a été supprimé.', - 'USER_GROUP_ADD' => 'Ajouter cet utilisateur au groupe', - 'USER_GROUP_NORMAL' => 'L’utilisateur est membre des groupes définis', - 'USER_GROUP_PENDING' => 'En attente d’acceptation dans les groupes', - 'USER_GROUP_SPECIAL' => 'L’utilisateur est membre des groupes prédéfinis', - 'USER_LIFTED_NR' => 'Le status de nouvel inscrit a été supprimé.', - 'USER_NO_ATTACHMENTS' => 'Aucun fichier joint à afficher.', - 'USER_OUTBOX_EMPTIED' => 'La boîte d’envoi de l’utilisateur a été vidé.', - 'USER_OUTBOX_EMPTY' => 'La boîte d’envoi de l’utilisateur était déjà vide.', - 'USER_OVERVIEW_UPDATED' => 'Les informations de cet utilisateur ont été mises à jour.', - 'USER_POSTS_DELETED' => 'Tous les messages de cet utilisateur ont été supprimés.', - 'USER_POSTS_MOVED' => 'Tous les messages de cet utilisateur ont été déplacés vers le forum cible.', - 'USER_PREFS_UPDATED' => 'Les préférences de cet utilisateur ont été mises à jour.', - 'USER_PROFILE' => 'Profil utilisateur', - 'USER_PROFILE_UPDATED' => 'Le profil de cet utilisateur a été mis à jour.', - 'USER_RANK' => 'Rang de l’utilisateur', - 'USER_RANK_UPDATED' => 'Le rang de cet utilisateur a été mis à jour.', - 'USER_SIG_UPDATED' => 'La signature de cet utilisateur a été mise à jour.', - 'USER_WARNING_LOG_DELETED' => 'Aucune information disponible. La liste d’entrées a probablement été supprimée.', - 'USER_TOOLS' => 'Outils de base', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/captcha_qa.php b/phpBB/language/fr/captcha_qa.php deleted file mode 100644 index 48d04cc825..0000000000 --- a/phpBB/language/fr/captcha_qa.php +++ /dev/null @@ -1,65 +0,0 @@ -<?php -/** -* -* captcha_qa [Standard french] -* translated by PhpBB-fr.com <http://www.phpbb-fr.com/> -* -* @package language -* @version $Id: captcha_qa.php v1.27 2010/11/12 18:26:00 ABDev $ -* @copyright (c) 2009 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'CAPTCHA_QA' => 'Q&A', - 'CONFIRM_QUESTION_EXPLAIN' => 'Cette question est un moyen d’empêcher des soumissions automatisées de formulaires par des robots.', - 'CONFIRM_QUESTION_WRONG' => 'Vous avez fourni une réponse invalide à la question.', - - 'QUESTION_ANSWERS' => 'Réponses', - 'ANSWERS_EXPLAIN' => 'Entrez des réponses valides à la question, une par ligne.', - 'CONFIRM_QUESTION' => 'Question', - - 'ANSWER' => 'Réponse', - 'EDIT_QUESTION' => 'Editer la question', - 'QUESTIONS' => 'Questions', - 'QUESTIONS_EXPLAIN' => 'Pour chaque soumission d’un formulaire où vous avez activé le plugin Q&A, les utilisateurs seront invités à répondre à une des questions indiquées ici. Pour utiliser ce plugin, au moins une question doit être définie dans la langue par défaut. Il devrait être simple pour votre public cible de répondre à ces questions, mais au-delà de la capacité d’un robot à lancer une recherche Google™. En utilisant un large jeu de questions modifiées régulièrement, vous obtiendrez de meilleurs résultats. Activez le contrôle strict si votre question doit prendre en compte la casse des caractères, la ponctuation ou les espaces.', - 'QUESTION_DELETED' => 'Question supprimée', - 'QUESTION_LANG' => 'Langue', - 'QUESTION_LANG_EXPLAIN' => 'La langue dans laquelle la question et sa réponse ont été écrites.', - 'QUESTION_STRICT' => 'Contrôle strict', - 'QUESTION_STRICT_EXPLAIN' => 'Si activé, la casse des caractères, la ponctuation et les espaces seront pris en compte.', - - 'QUESTION_TEXT' => 'Question', - 'QUESTION_TEXT_EXPLAIN' => 'La question présentée à l’utilisateur.', - - 'QA_ERROR_MSG' => 'Complétez tous les champs et écrivez au moins une réponse.', - 'QA_LAST_QUESTION' => 'Vous ne pouvez pas supprimer toutes les questions tant que le plugin est actif.', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/captcha_recaptcha.php b/phpBB/language/fr/captcha_recaptcha.php deleted file mode 100644 index a8e6037249..0000000000 --- a/phpBB/language/fr/captcha_recaptcha.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php -/** -* -* recaptcha [Standard french] -* translated by PhpBB-fr.com <http://www.phpbb-fr.com/> -* -* @package language -* @version $Id: captcha_recaptcha.php v1.26 2010-11-12 23:31:00 ABDev $ -* @copyright (c) 2009 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'RECAPTCHA_LANG' => 'fr', - 'RECAPTCHA_NOT_AVAILABLE' => 'Afin d’utiliser reCaptcha, vous devez créer un compte sur <a href="http://recaptcha.net">reCaptcha.net</a>.', - 'CAPTCHA_RECAPTCHA' => 'reCaptcha', - 'RECAPTCHA_INCORRECT' => 'Le code de confirmation visuelle soumis était incorrect', - - 'RECAPTCHA_PUBLIC' => 'Clé publique reCaptcha', - 'RECAPTCHA_PUBLIC_EXPLAIN' => 'Votre clé publique reCaptcha. Des clés peuvent être obtenus sur <a href="http://recaptcha.net">reCaptcha.net</a>.', - 'RECAPTCHA_PRIVATE' => 'Clé privée reCaptcha', - 'RECAPTCHA_PRIVATE_EXPLAIN' => 'Votre clé privée reCaptcha. Des clés peuvent être obtenus sur <a href="http://recaptcha.net">reCaptcha.net</a>.', - - 'RECAPTCHA_EXPLAIN' => 'Afin d’empêcher les inscriptions automatisées, nous vous demandons de taper les deux mots affichés dans le champ texte ci-contre.', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/common.php b/phpBB/language/fr/common.php deleted file mode 100644 index 323c281c9a..0000000000 --- a/phpBB/language/fr/common.php +++ /dev/null @@ -1,893 +0,0 @@ -<?php -/** -* -* common [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: common.php, v1.27 2010/02/09 19:28:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -// -// Some characters you may want to copy&paste: -// ’ » “ ” … -// - -$lang = array_merge($lang, array( - 'TRANSLATION_INFO' => 'Traduction par: <a href="http://forums.phpbb-fr.com">phpBB-fr.com</a>', - 'DIRECTION' => 'ltr', - 'DATE_FORMAT' => '|d M Y|', // 01 Jan 2007 (with Relative days enabled) - 'USER_LANG' => 'fr', - - '1_DAY' => '1 jour', - '1_MONTH' => '1 mois', - '1_YEAR' => '1 an', - '2_WEEKS' => '2 semaines', - '3_MONTHS' => '3 mois', - '6_MONTHS' => '6 mois', - '7_DAYS' => '7 jours', - - 'ACCOUNT_ALREADY_ACTIVATED' => 'Votre compte est déjà activé.', - 'ACCOUNT_DEACTIVATED' => 'Votre compte a été désactivé manuellement et n’est réactivable que par un administrateur.', - 'ACCOUNT_NOT_ACTIVATED' => 'Votre compte n’a pas encore été activé.', - 'ACP' => 'Panneau d’administration', - 'ACTIVE' => 'Actif', - 'ACTIVE_ERROR' => 'Le nom d’utilisateur indiqué est actuellement inactif. Si vous avez des problèmes pour activer votre compte, contactez l’administrateur du forum.', - 'ADMINISTRATOR' => 'Administrateur', - 'ADMINISTRATORS' => 'Administrateurs', - 'AGE' => 'Age', - 'AIM' => 'AIM', - 'ALLOWED' => 'Autorisé', - 'ALL_FILES' => 'Tous les fichiers', - 'ALL_FORUMS' => 'Tous les forums', - 'ALL_MESSAGES' => 'Tous les messages', - 'ALL_POSTS' => 'Tous', - 'ALL_TIMES' => 'Heures au format %1$s %2$s', - 'ALL_TOPICS' => 'Tous', - 'AND' => 'et', - 'ARE_WATCHING_FORUM' => 'Vous surveillez maintenant les nouveaux messages de ce forum.', - 'ARE_WATCHING_TOPIC' => 'Vous surveillez maintenant les nouveaux messages de ce sujet.', - 'ASCENDING' => 'Croissant', - 'ATTACHMENTS' => 'Fichiers joints', - 'ATTACHED_IMAGE_NOT_IMAGE' => 'Le fichier image que vous essayez de joindre n’est pas valide.', - 'AUTHOR' => 'Auteur', - 'AUTH_NO_PROFILE_CREATED' => 'Impossible de créer le nouveau profil de l’utilisateur.', - 'AVATAR_DISALLOWED_CONTENT' => 'Le chargement a été rejeté car le fichier chargé a été identifié comme un vecteur éventuel d’attaque.', - 'AVATAR_DISALLOWED_EXTENSION' => 'Ce fichier ne peut pas être affiché car l’extension <strong>%s</strong> n’est pas autorisée.', - 'AVATAR_EMPTY_REMOTE_DATA' => 'L’avatar indiqué n’a pas pu être chargé car les données distantes semblent être invalides ou corrompues.', - 'AVATAR_EMPTY_FILEUPLOAD' => 'Le fichier avatar chargé est vide.', - 'AVATAR_INVALID_FILENAME' => '%s est un nom de fichier invalide.', - 'AVATAR_NOT_UPLOADED' => 'L’avatar n’a pas pu être chargé.', - 'AVATAR_NO_SIZE' => 'Impossible de déterminer la largeur ou la hauteur de l’avatar lié, entrez-les manuellement', - 'AVATAR_PARTIAL_UPLOAD' => 'Le fichier n’a pu être que partiellement chargé.', - 'AVATAR_PHP_SIZE_NA' => 'La taille de l’avatar est trop importante.<br />La taille maximum réglée dans php.ini n’a pas pu être déterminée.', - 'AVATAR_PHP_SIZE_OVERRUN' => 'La taille de l’avatar est trop importante. La taille maximum de chargement autorisée est %1$d %2$s.<br />Notez que ce paramètre est inscrit dans php.ini et ne peut pas être dépassé.', - 'AVATAR_URL_INVALID' => 'L’URL indiquée est invalide.', - 'AVATAR_URL_NOT_FOUND' => 'Le fichier indiqué est introuvable.', - 'AVATAR_WRONG_FILESIZE' => 'La taille de l’avatar doit être comprise entre 0 et %1d %2s.', - 'AVATAR_WRONG_SIZE' => 'L’avatar envoyé a une largeur de %5$d pixels et une hauteur de %6$d pixels. Les avatars doivent faire au moins %1$d pixels de large et %2$d pixels de haut, mais au plus %3$d pixels de large et %4$d pixels de haut.', - - 'BACK_TO_TOP' => 'Haut', - 'BACK_TO_PREV' => 'Retour à la page précédente', - 'BAN_TRIGGERED_BY_EMAIL'=> 'Votre adresse e-mail a été bannie.', - 'BAN_TRIGGERED_BY_IP' => 'Votre adresse IP a été bannie.', - 'BAN_TRIGGERED_BY_USER' => 'Votre nom d’utilisateur a été banni.', - 'BBCODE_GUIDE' => 'Guide du BBCode', - 'BCC' => 'CCI', - 'BIRTHDAYS' => 'Anniversaires', - 'BOARD_BAN_PERM' => 'Vous avez été banni <strong>définitivement</strong> de ce forum.<br /><br />Contactez l’%2$sAdministrateur du forum%3$s pour plus d’informations.', - 'BOARD_BAN_REASON' => 'Raison du bannissement: <strong>%s</strong>', - 'BOARD_BAN_TIME' => 'Vous avez été banni de ce forum jusqu’au <strong>%1$s</strong>.<br /><br />Contactez l’%2$sAdministrateur du forum%3$s pour plus d’informations.', - 'BOARD_DISABLE' => 'Désolé, mais ce forum est actuellement indisponible.', - 'BOARD_DISABLED' => 'Ce forum est actuellement désactivé.', - 'BOARD_UNAVAILABLE' => 'Désolé, mais le forum est temporairement indisponible, réessayez dans quelques minutes.', - 'BROWSING_FORUM' => 'Utilisateurs parcourant ce forum : %1$s', - 'BROWSING_FORUM_GUEST' => 'Utilisateurs parcourant ce forum: %1$s et %2$d invité', - 'BROWSING_FORUM_GUESTS' => 'Utilisateurs parcourant ce forum: %1$s et %2$d invités', - 'BYTES' => 'Octets', - - 'CANCEL' => 'Annuler', - 'CHANGE' => 'Valider', - 'CHANGE_FONT_SIZE' => 'Modifier la taille de la police', - 'CHANGING_PREFERENCES' => 'Modifie les préférences du forum', - 'CHANGING_PROFILE' => 'Modifie son profil', - 'CLICK_VIEW_PRIVMSG' => '%sAller à votre boîte de réception%s', - 'COLLAPSE_VIEW' => 'Réduire la vue', - 'CLOSE_WINDOW' => 'Fermer la fenêtre', - 'COLOUR_SWATCH' => 'Palette de couleurs', - 'COMMA_SEPARATOR' => ', ', // Used in pagination of ACP & prosilver, use localised comma if appropriate, eg: Ideographic or Arabic - 'CONFIRM' => 'Confirmer', - 'CONFIRM_CODE' => 'Code de confirmation', - 'CONFIRM_CODE_EXPLAIN' => 'Entrez le code exactement comme vous le voyez dans l’image. Notez que le code n’est pas sensible à la casse.', - 'CONFIRM_CODE_WRONG' => 'Le code de confirmation que vous avez entré est incorrect.', - 'CONFIRM_OPERATION' => 'Êtes-vous sûr de vouloir effectuer cette opération?', - 'CONGRATULATIONS' => 'Félicitations à', - 'CONNECTION_FAILED' => 'La connexion a échouée.', - 'CONNECTION_SUCCESS' => 'Vous êtes connecté!', - 'COOKIES_DELETED' => 'Tous les cookies du forum ont été supprimés.', - 'CURRENT_TIME' => 'Nous sommes le %s', - - 'DAY' => 'Jour', - 'DAYS' => 'jours', - 'DELETE' => 'Supprimer', - 'DELETE_ALL' => 'Tout supprimer', - 'DELETE_COOKIES' => 'Supprimer les cookies du forum', - 'DELETE_MARKED' => 'Supprimer la sélection', - 'DELETE_POST' => 'Supprimer le message', - 'DELIMITER' => 'Séparateur', - 'DESCENDING' => 'Décroissant', - 'DISABLED' => 'Désactivé', - 'DISPLAY' => 'Afficher', - 'DISPLAY_GUESTS' => 'Afficher les invités', - 'DISPLAY_MESSAGES' => 'Afficher les messages postés depuis', - 'DISPLAY_POSTS' => 'Afficher les messages postés depuis', - 'DISPLAY_TOPICS' => 'Afficher les sujets postés depuis', - 'DOWNLOADED' => 'Téléchargé', - 'DOWNLOADING_FILE' => 'Téléchargement en cours', - 'DOWNLOAD_COUNT' => 'Téléchargé %d fois', - 'DOWNLOAD_COUNTS' => 'Téléchargé %d fois', - 'DOWNLOAD_COUNT_NONE' => 'Pas encore téléchargé', - 'VIEWED_COUNT' => 'Vu %d fois', - 'VIEWED_COUNTS' => 'Vu %d fois', - 'VIEWED_COUNT_NONE' => 'Pas encore vu', - - 'EDIT_POST' => 'Editer le message', - 'EMAIL' => 'E-mail', // Short form for EMAIL_ADDRESS - 'EMAIL_ADDRESS' => 'Adresse e-mail', - 'EMAIL_SMTP_ERROR_RESPONSE' => 'Un problème est survenu lors de l’envoi de l’e-mail à la <strong>ligne %1$s</strong>. Réponse: %2$s.', - 'EMPTY_SUBJECT' => 'Vous devez indiquer un titre pour poster un nouveau sujet.', - 'EMPTY_MESSAGE_SUBJECT' => 'Vous devez indiquer un sujet quand vous envoyez un nouveau message.', - 'ENABLED' => 'Activé', - 'ENCLOSURE' => 'Clôture', - 'ERR_CHANGING_DIRECTORY' => 'Impossible de changer de répertoire.', - 'ERR_CONNECTING_SERVER' => 'Erreur de connexion au serveur.', - 'ERR_JAB_AUTH' => 'Impossible de s’authentifier sur le serveur Jabber.', - 'ERR_JAB_CONNECT' => 'Impossible de se connecter sur le serveur Jabber.', - 'ERR_UNABLE_TO_LOGIN' => 'Le nom d’utilisateur ou le mot de passe indiqué est incorrect.', - 'ERR_UNWATCHING' => 'Une erreur est survenue pendant la tentative de désinscription.', - 'ERR_WATCHING' => 'Une erreur est survenue pendant la tentative d’inscription.', - 'ERR_WRONG_PATH_TO_PHPBB' => 'Le chemin phpBB indiqué ne semble pas être valide.', - 'EXPAND_VIEW' => 'Etendre la vue', - 'EXTENSION' => 'Extension', - 'EXTENSION_DISABLED_AFTER_POSTING' => 'L’extension <strong>%s</strong> a été désactivée et ne peut plus être affichée.', - - 'FAQ' => 'FAQ', - 'FAQ_EXPLAIN' => 'Foire aux questions (Questions posées fréquemment)', - 'FILENAME' => 'Nom', - 'FILESIZE' => 'Taille', - 'FILEDATE' => 'Date', - 'FILE_COMMENT' => 'Commentaire', - 'FILE_NOT_FOUND' => 'Le fichier recherché est introuvable.', - 'FIND_USERNAME' => 'Rechercher un membre', - 'FOLDER' => 'Dossier', - 'FORGOT_PASS' => 'J’ai oublié mon mot de passe', - 'FORM_INVALID' => 'Le formulaire envoyé est invalide. Essayez à nouveau.', - 'FORUM' => 'Forums', - 'FORUMS' => 'Forums', - 'FORUMS_MARKED' => 'Tous les forums ont été marqués comme lus.', - 'FORUM_CAT' => 'Catégorie du forum', - 'FORUM_INDEX' => 'Index du forum', - 'FORUM_LINK' => 'Forum-lien', - 'FORUM_LOCATION' => 'Localisation sur le forum', - 'FORUM_LOCKED' => 'Forum verrouillé', - 'FORUM_RULES' => 'Règles du forum', - 'FORUM_RULES_LINK' => 'Cliquez pour voir les règles du forum', - 'FROM' => 'de', - 'FSOCK_DISABLED' => 'Impossible de finir cette opération car la fonction <var>fsockopen</var> est désactivée ou le serveur requis n’a pas pu être trouvé.', - - 'FTP_FSOCK_HOST' => 'Serveur FTP', - 'FTP_FSOCK_HOST_EXPLAIN' => 'Serveur FTP utilisé pour se connecter à votre site.', - 'FTP_FSOCK_PASSWORD' => 'Mot de passe FTP', - 'FTP_FSOCK_PASSWORD_EXPLAIN' => 'Mot de passe pour votre compte FTP.', - 'FTP_FSOCK_PORT' => 'Port FTP', - 'FTP_FSOCK_PORT_EXPLAIN' => 'Port utilisé pour se connecter à votre serveur.', - 'FTP_FSOCK_ROOT_PATH' => 'Chemin vers phpBB', - 'FTP_FSOCK_ROOT_PATH_EXPLAIN' => 'Chemin depuis la racine vers votre forum phpBB.', - 'FTP_FSOCK_TIMEOUT' => 'Temps d’attente FTP', - 'FTP_FSOCK_TIMEOUT_EXPLAIN' => 'La durée en secondes que le système attendra pour une réponse de votre serveur.', - 'FTP_FSOCK_USERNAME' => 'Nom d’utilisateur FTP', - 'FTP_FSOCK_USERNAME_EXPLAIN' => 'Nom d’utilisateur utilisé pour se connecter à votre serveur.', - - 'FTP_HOST' => 'Serveur FTP', - 'FTP_HOST_EXPLAIN' => 'Serveur FTP utilisé pour se connecter à votre site.', - 'FTP_PASSWORD' => 'Mot de passe FTP', - 'FTP_PASSWORD_EXPLAIN' => 'Mot de passe pour votre compte FTP.', - 'FTP_PORT' => 'Port FTP', - 'FTP_PORT_EXPLAIN' => 'Port utilisé pour se connecter à votre serveur.', - 'FTP_ROOT_PATH' => 'Chemin vers phpBB', - 'FTP_ROOT_PATH_EXPLAIN' => 'Chemin depuis la racine vers votre forum phpBB.', - 'FTP_TIMEOUT' => 'Temps d’attente FTP', - 'FTP_TIMEOUT_EXPLAIN' => 'La durée en secondes que le système attendra pour une réponse de votre serveur.', - 'FTP_USERNAME' => 'Nom d’utilisateur FTP', - 'FTP_USERNAME_EXPLAIN' => 'Nom d’utilisateur utilisé pour se connecter à votre serveur.', - - 'GENERAL_ERROR' => 'Erreur générale', - 'GB' => 'Go', - 'GIB' => 'Gio', - 'GO' => 'Aller', - 'GOTO_PAGE' => 'Aller à la page', - 'GROUP' => 'Groupe', - 'GROUPS' => 'Groupes', - 'GROUP_ERR_TYPE' => 'Le type de groupe indiqué est inapproprié.', - 'GROUP_ERR_USERNAME' => 'Aucun nom de groupe indiqué.', - 'GROUP_ERR_USER_LONG' => 'Les noms de groupe ne peuvent pas dépasser 60 caractères. Le nom du groupe indiqué est trop long.', - 'GUEST' => 'Invité', - 'GUEST_USERS_ONLINE' => 'Il y a %d invités en ligne', - 'GUEST_USERS_TOTAL' => '%d invités', - 'GUEST_USERS_ZERO_ONLINE' => '0 invité en ligne', - 'GUEST_USERS_ZERO_TOTAL' => '0 invité', - 'GUEST_USER_ONLINE' => 'Il y a %d invité en ligne', - 'GUEST_USER_TOTAL' => '%d invité', - 'G_ADMINISTRATORS' => 'Administrateurs', - 'G_BOTS' => 'Robots', - 'G_GUESTS' => 'Invités', - 'G_REGISTERED' => 'Utilisateurs enregistrés', - 'G_REGISTERED_COPPA' => 'Utilisateurs COPPA enregistrés', - 'G_GLOBAL_MODERATORS' => 'Modérateurs globaux', - 'G_NEWLY_REGISTERED' => 'Nouveaux utilisateurs enregistrés', - - 'HIDDEN_USERS_ONLINE' => '%d utilisateurs invisibles en ligne', - 'HIDDEN_USERS_TOTAL' => '%d invisibles', - 'HIDDEN_USERS_TOTAL_AND' => '%d invisibles et ', - 'HIDDEN_USERS_ZERO_ONLINE' => '0 utilisateur invisible en ligne', - 'HIDDEN_USERS_ZERO_TOTAL' => '0 invisible', - 'HIDDEN_USERS_ZERO_TOTAL_AND' => '0 invisible et ', - 'HIDDEN_USER_ONLINE' => '%d utilisateur invisible en ligne', - 'HIDDEN_USER_TOTAL' => '%d invisible', - 'HIDDEN_USER_TOTAL_AND' => '%d invisible et ', - 'HIDE_GUESTS' => 'Masquer les invités', - 'HIDE_ME' => 'Cacher mon statut en ligne pour cette session', - 'HOURS' => 'Heures', - 'HOME' => 'Accueil', - - 'ICQ' => 'ICQ', - 'ICQ_STATUS' => 'Statut ICQ', - 'IF' => 'Si', - 'IMAGE' => 'Image', - 'IMAGE_FILETYPE_INVALID' => 'Le type de fichier image %d pour le type mime %s n’est pas supporté.', - 'IMAGE_FILETYPE_MISMATCH' => 'Type de fichier image incorrect: l’extension %1$s était attendue mais l’extension %2$s a été trouvée.', - 'IN' => 'dans', - 'INDEX' => 'Page d’index', - 'INFORMATION' => 'Informations', - 'INTERESTS' => 'Centres d’intérêt', - 'INVALID_DIGEST_CHALLENGE' => 'Défi invalide.', - 'INVALID_EMAIL_LOG' => '<strong>%s</strong> est peut-être une adresse invalide?', - 'IP' => 'IP', - 'IP_BLACKLISTED' => 'Votre IP %1$s a été bloquée car elle est dans la liste noire. Pour plus d’informations, consultez <a href="%2$s">%2$s</a>.', - - 'JABBER' => 'Jabber', - 'JOINED' => 'Inscription', - 'JUMP_PAGE' => 'Entrer le numéro de page où vous souhaitez aller.', - 'JUMP_TO' => 'Aller à', - 'JUMP_TO_PAGE' => 'Cliquer pour aller à la page…', - - 'KB' => 'Ko', - 'KIB' => 'Kio', - - 'LAST_POST' => 'Dernier message', - 'LAST_UPDATED' => 'Dernière mise à jour', - 'LAST_VISIT' => 'Dernière visite', - 'LDAP_NO_LDAP_EXTENSION' => 'Extension LDAP indisponible.', - 'LDAP_NO_SERVER_CONNECTION' => 'Impossible de se connecter au serveur LDAP.', - 'LDAP_SEARCH_FAILED' => 'Une erreur est survenue pendant la recherche du répertoire LDAP.', - 'LEGEND' => 'Légende', - 'LOCATION' => 'Localisation', - 'LOCK_POST' => 'Verrouiller le message', - 'LOCK_POST_EXPLAIN' => 'Empêche l’édition du message', - 'LOCK_TOPIC' => 'Verrouiller le sujet', - 'LOGIN' => 'Connexion', - 'LOGIN_CHECK_PM' => 'Se connecter pour vérifier ses messages privés.', - 'LOGIN_CONFIRMATION' => 'Confirmation de connexion', - 'LOGIN_CONFIRM_EXPLAIN' => 'Pour éviter une usurpation des comptes, l’administrateur du forum exige que vous entriez un code de confirmation visuelle après un certain nombre d’échecs. Le code est indiqué dans l’image que vous devez voir ci-dessous. Si vous êtes déficient visuel ou que vous ne pouvez pas lire ce code, contactez %sl’administrateur%s du forum.', // unused - 'LOGIN_ERROR_ATTEMPTS' => 'Vous avez dépassé le maximum autorisé de tentatives de connexion. En plus de vos nom d’utilisateur et mot de passe, vous devez maintenant résoudre le CAPTCHA ci-dessous.', - 'LOGIN_ERROR_EXTERNAL_AUTH_APACHE' => 'Vous n’avez pas été authentifié par Apache.', - 'LOGIN_ERROR_PASSWORD' => 'Vous avez indiqué un mot de passe incorrect. Vérifiez votre mot de passe et réessayez. Si vous continuez à rencontrer des problèmes, contactez l’%sadministrateur du forum%s.', - 'LOGIN_ERROR_PASSWORD_CONVERT' => 'Il n’a pas été possible de convertir votre mot de passe lors de la mise à jour du forum. %sRedemandez un mot de passe%s. Si le problème persiste, contactez l’%sadministrateur du forum%s.', - 'LOGIN_ERROR_USERNAME' => 'Vous avez indiqué un nom d’utilisateur incorrect. Vérifiez votre nom d’utilisateur et réessayez. Si vous continuez à rencontrer des problèmes, contactez l’%sadministrateur du forum%s.', - 'LOGIN_FORUM' => 'Pour lire ou poster dans ce forum, vous devez entrer son mot de passe.', - 'LOGIN_INFO' => 'Vous devez être enregistré pour vous connecter. L’enregistrement ne prend que quelques secondes et augmente vos possibilités. L’administrateur du forum peut également accorder des permissions additionnelles aux utilisateurs enregistrés. Avant de vous enregistrer, assurez-vous d’avoir pris connaissance de nos conditions d’utilisation et de notre politique de vie privée. Assurez-vous de bien lire tout le règlement du forum.', - 'LOGIN_VIEWFORUM' => 'L’administrateur du forum exige que vous soyez enregistré et connecté pour lire ce forum.', - 'LOGIN_EXPLAIN_EDIT' => 'Pour éditer des messages dans ce forum, vous devez être enregistré et connecté.', - 'LOGIN_EXPLAIN_VIEWONLINE' => 'Pour consulter la liste des utilisateurs en ligne, vous devez être enregistré et connecté.', - 'LOGOUT' => 'Déconnexion', - 'LOGOUT_USER' => 'Déconnexion [ %s ]', - 'LOG_ME_IN' => 'Me connecter automatiquement à chaque visite', - - 'MARK' => 'Cocher', - 'MARK_ALL' => 'Tout cocher', - 'MARK_FORUMS_READ' => 'Marquer tous les forums comme lus', - 'MB' => 'Mo', - 'MIB' => 'Mio', - 'MCP' => 'Panneau de modération', - 'MEMBERLIST' => 'Membres', - 'MEMBERLIST_EXPLAIN' => 'Voir la liste complète des membres', - 'MERGE' => 'Fusionner', - 'MERGE_POSTS' => 'Fusionner les messages', - 'MERGE_TOPIC' => 'Fusionner le sujet', - 'MESSAGE' => 'Message', - 'MESSAGES' => 'Messages', - 'MESSAGE_BODY' => 'Corps du message', - 'MINUTES' => 'Minutes', - 'MODERATE' => 'Modérer', - 'MODERATOR' => 'Modérateur', - 'MODERATORS' => 'Modérateurs', - 'MONTH' => 'Mois', - 'MOVE' => 'Déplacer', - 'MSNM' => 'MSNM/WLM', - - 'NA' => 'N/A', - 'NEWEST_USER' => 'L’utilisateur enregistré le plus récent est <strong>%s</strong>', - 'NEW_MESSAGE' => 'Nouveau message', - 'NEW_MESSAGES' => 'Nouveaux messages', - 'NEW_PM' => '<strong>%d</strong> nouveau message privé', - 'NEW_PMS' => '<strong>%d</strong> nouveaux messages privés', - 'NEW_POST' => 'Nouveau message', // Not used anymore - 'NEW_POSTS' => 'Nouveaux messages', // Not used anymore - 'NEXT' => 'Suivante', // Used in pagination - 'NEXT_STEP' => 'Suivant', - 'NEVER' => 'Jamais', - 'NO' => 'Non', - 'NOT_ALLOWED_MANAGE_GROUP' => 'Vous n’êtes pas autorisé à gérer ce groupe.', - 'NOT_AUTHORISED' => 'Vous n’êtes pas autorisé à accéder à cette partie du forum.', - 'NOT_WATCHING_FORUM' => 'Vous ne surveillez plus ce forum.', - 'NOT_WATCHING_TOPIC' => 'Vous ne surveillez plus ce sujet.', - 'NOTIFY_ADMIN' => 'Contactez l’administrateur du forum ou le webmaster.', - 'NOTIFY_ADMIN_EMAIL' => 'Contactez l’administrateur du forum ou le webmaster: <a href="mailto:%1$s">%1$s</a>', - 'NO_ACCESS_ATTACHMENT' => 'Vous n’êtes pas autorisé à accéder à ce fichier.', - 'NO_ACTION' => 'Aucune action indiquée.', - 'NO_ADMINISTRATORS' => 'Il n’existe aucun administrateur.', - 'NO_AUTH_ADMIN' => 'Vous n’avez pas les permissions d’administration et ne pouvez donc pas accéder au panneau d’administration.', - 'NO_AUTH_ADMIN_USER_DIFFER' => 'Vous ne pouvez pas vous ré-authentifier avec un compte différent.', - 'NO_AUTH_OPERATION' => 'Vous n’avez pas les permissions nécessaires pour accomplir cette opération.', - 'NO_CONNECT_TO_SMTP_HOST' => 'Impossible de se connecter au serveur smtp : %1$s : %2$s', - 'NO_BIRTHDAYS' => 'Pas d’anniversaire à fêter aujourd’hui', - 'NO_EMAIL_MESSAGE' => 'Le contenu de cet e-mail est vide.', - 'NO_EMAIL_RESPONSE_CODE' => 'Impossible de récupérer les codes de réponse du serveur.', - 'NO_EMAIL_SUBJECT' => 'Aucun sujet n’a été indiqué.', - 'NO_FORUM' => 'Le forum que vous avez tenté d’atteindre n’existe pas.', - 'NO_FORUMS' => 'Aucun forum.', - 'NO_GROUP' => 'Le groupe demandé n’existe pas.', - 'NO_GROUP_MEMBERS' => 'Aucun membre dans ce groupe.', - 'NO_IPS_DEFINED' => 'Aucune IP ou nom d’hôte', - 'NO_MEMBERS' => 'Aucun membre trouvé pour ce critère de recherche.', - 'NO_MESSAGES' => 'Pas de message', - 'NO_MODE' => 'Pas de mode indiqué.', - 'NO_MODERATORS' => 'Il n’existe aucun modérateur.', - 'NO_NEW_MESSAGES' => 'Pas de nouveau message', - 'NO_NEW_PM' => '<strong>0</strong> nouveau message privé', - 'NO_NEW_POSTS' => 'Pas de nouveau message', // Not used anymore - 'NO_ONLINE_USERS' => 'Aucun utilisateur enregistré', - 'NO_POSTS' => 'Pas de message', - 'NO_POSTS_TIME_FRAME' => 'Aucun message n’a été posté dans ce sujet pour la période indiquée.', - 'NO_FEED_ENABLED' => 'Les flux ne sont pas disponibles sur ce forum.', - 'NO_FEED' => 'Le flux demandé n’est pas disponible.', - 'NO_SUBJECT' => 'Aucun sujet indiqué', // Used for posts having no subject defined but displayed within management pages. - 'NO_SUCH_SEARCH_MODULE' => 'La recherche indiquée n’existe pas.', - 'NO_SUPPORTED_AUTH_METHODS' => 'Aucune méthode d’authentification supportée.', - 'NO_TOPIC' => 'Le sujet demandé n’existe pas.', - 'NO_TOPIC_FORUM' => 'Le sujet ou le forum n’existe plus.', - 'NO_TOPICS' => 'Il n’y a aucun sujet ou message dans ce forum.', - 'NO_TOPICS_TIME_FRAME' => 'Aucun sujet n’a été posté dans ce forum pour la période indiquée.', - 'NO_UNREAD_PM' => '<strong>0</strong> message non lu', - 'NO_UNREAD_POSTS' => 'Aucun message non lu', - 'NO_UPLOAD_FORM_FOUND' => 'Le chargement a commencé mais aucun fichier valide n’a été trouvé.', - 'NO_USER' => 'L’utilisateur demandé n’existe pas.', - 'NO_USERS' => 'Les utilisateurs demandés n’existent pas.', - 'NO_USER_SPECIFIED' => 'Aucun nom d’utilisateur indiqué.', - - // Nullar/Singular/Plural language entry. The key numbers define the number range in which a certain grammatical expression is valid. - 'NUM_POSTS_IN_QUEUE' => array( - 0 => 'Aucun message en attente', // 0 - 1 => '1 message en attente', // 1 - 2 => '%d messages en attente', // 2+ - ), - - 'OCCUPATION' => 'Emploi', - 'OFFLINE' => 'Hors ligne', - 'ONLINE' => 'En ligne', - 'ONLINE_BUDDIES' => 'Amis en ligne', - 'ONLINE_USERS_TOTAL' => 'Au total il y a <strong>%d</strong> utilisateurs en ligne :: ', - 'ONLINE_USERS_ZERO_TOTAL' => 'Au total il y a <strong>0</strong> utilisateur en ligne :: ', - 'ONLINE_USER_TOTAL' => 'Au total il y a <strong>%d</strong> utilisateur en ligne :: ', - 'OPTIONS' => 'Options', - - 'PAGE_OF' => 'Page <strong>%1$d</strong> sur <strong>%2$d</strong>', - 'PASSWORD' => 'Mot de passe', - 'PIXEL' => 'px', - 'PLAY_QUICKTIME_FILE' => 'Jouer le fichier Quicktime', - 'PM' => 'MP', - 'PM_REPORTED' => 'Cliquer pour voir le rapport', - 'POSTING_MESSAGE' => 'Poste un message dans %s', - 'POSTING_PRIVATE_MESSAGE' => 'Rédige un message privé', - 'POST' => 'Message', - 'POST_ANNOUNCEMENT' => 'Annonce', - 'POST_STICKY' => 'Post-it', - 'POSTED' => 'Posté', - 'POSTED_IN_FORUM' => 'Dans', - 'POSTED_ON_DATE' => 'le', - 'POSTS' => 'Messages', - 'POSTS_UNAPPROVED' => 'Au moins un message de ce sujet n’a pas été approuvé.', - 'POST_BY_AUTHOR' => 'de', - 'POST_BY_FOE' => 'Ce message a été rédigé par <strong>%1$s</strong> qui est actuellement sur votre liste de membres ignorés. %2$sAfficher le message%3$s.', - 'POST_DAY' => '%.2f messages par jour', - 'POST_DETAILS' => 'Détails', - 'POST_NEW_TOPIC' => 'Poster un nouveau sujet', - 'POST_PCT' => '%.2f%% de tous les messages', - 'POST_PCT_ACTIVE' => '%.2f%% des messages de l’utilisateur', - 'POST_PCT_ACTIVE_OWN' => '%.2f%% de vos messages', - 'POST_REPLY' => 'Répondre', - 'POST_REPORTED' => 'Cliquer pour voir le rapport', - 'POST_SUBJECT' => 'Sujet du message', - 'POST_TIME' => 'Date', - 'POST_TOPIC' => 'Ecrire un nouveau sujet', - 'POST_UNAPPROVED' => 'Ce message est en attente d’approbation', - 'PREVIEW' => 'Aperçu', - 'PREVIOUS' => 'Précédente', // Used in pagination - 'PREVIOUS_STEP' => 'Précédente', - 'PRIVACY' => 'Politique de vie privée', - 'PRIVATE_MESSAGE' => 'Message privé', - 'PRIVATE_MESSAGES' => 'Messages privés', - 'PRIVATE_MESSAGING' => 'Messagerie privée', - 'PROFILE' => 'Panneau de l’utilisateur', - - 'READING_FORUM' => 'Consulte les sujets dans %s', - 'READING_GLOBAL_ANNOUNCE' => 'Consulte une annonce globale', - 'READING_LINK' => 'Consulte le lien du forum %s', - 'READING_TOPIC' => 'Consulte un sujet dans %s', - 'READ_PROFILE' => 'Profil', - 'REASON' => 'Raison', - 'RECORD_ONLINE_USERS' => 'Le record du nombre d’utilisateurs en ligne est de <strong>%1$s</strong>, le %2$s', - 'REDIRECT' => 'Rediriger', - 'REDIRECTS' => 'Nombre de redirections', - 'REGISTER' => 'M’enregistrer', - 'REGISTERED_USERS' => 'Utilisateurs enregistrés :', - 'REG_USERS_ONLINE' => 'Il y a %d utilisateurs enregistrés et ', - 'REG_USERS_TOTAL' => '%d enregistrés, ', - 'REG_USERS_TOTAL_AND' => '%d enregistrés et ', - 'REG_USERS_ZERO_ONLINE' => 'Il y a 0 utilisateur enregistré et ', - 'REG_USERS_ZERO_TOTAL' => '0 enregistré, ', - 'REG_USERS_ZERO_TOTAL_AND' => '0 enregistré et ', - 'REG_USER_ONLINE' => 'Il y a %d utilisateur enregistré et ', - 'REG_USER_TOTAL' => '%d enregistré, ', - 'REG_USER_TOTAL_AND' => '%d enregistré et ', - 'REMOVE' => 'Supprimer', - 'REMOVE_INSTALL' => 'Pour finaliser l’installation du forum, supprimez, déplacez ou renommez le dossier install de votre espace FTP. Si ce dossier est toujours présent, seul le panneau d’administration (ACP) sera accessible.', - 'REPLIES' => 'Réponses', - 'REPLY_WITH_QUOTE' => 'Répondre en citant le message', - 'REPLYING_GLOBAL_ANNOUNCE' => 'Répond à une annonce globale', - 'REPLYING_MESSAGE' => 'Répond au message dans %s', - 'REPORT_BY' => 'Rapporté par', - 'REPORT_POST' => 'Rapporter le message', - 'REPORTING_POST' => 'Rapporter un message', - 'RESEND_ACTIVATION' => 'Renvoyer l’e-mail de confirmation', - 'RESET' => 'Remettre à zéro', - 'RESTORE_PERMISSIONS' => 'Rétablir les permissions', - 'RETURN_INDEX' => '%sRetourner à l’index du forum%s', - 'RETURN_FORUM' => '%sRetourner au dernier forum visité%s', - 'RETURN_PAGE' => '%sRetourner à la page précédente%s', - 'RETURN_TOPIC' => '%sRetourner au dernier sujet visité%s', - 'RETURN_TO' => 'Retourner vers', - 'FEED' => 'Flux', - 'FEED_NEWS' => 'Nouvelles informations', - 'FEED_TOPICS_ACTIVE' => 'Sujets actifs', - 'FEED_TOPICS_NEW' => 'Nouveaux sujets', - 'RULES_ATTACH_CAN' => 'Vous <strong>pouvez</strong> joindre des fichiers', - 'RULES_ATTACH_CANNOT' => 'Vous <strong>ne pouvez pas</strong> joindre des fichiers', - 'RULES_DELETE_CAN' => 'Vous <strong>pouvez</strong> supprimer vos messages', - 'RULES_DELETE_CANNOT' => 'Vous <strong>ne pouvez pas</strong> supprimer vos messages', - 'RULES_DOWNLOAD_CAN' => 'Vous <strong>pouvez</strong> télécharger des fichiers joints', - 'RULES_DOWNLOAD_CANNOT' => 'Vous <strong>ne pouvez pas</strong> télécharger des fichiers joints', - 'RULES_EDIT_CAN' => 'Vous <strong>pouvez</strong> éditer vos messages', - 'RULES_EDIT_CANNOT' => 'Vous <strong>ne pouvez pas</strong> éditer vos messages', - 'RULES_LOCK_CAN' => 'Vous <strong>pouvez</strong> verrouiller vos sujets', - 'RULES_LOCK_CANNOT' => 'Vous <strong>ne pouvez pas</strong> verrouiller vos sujets', - 'RULES_POST_CAN' => 'Vous <strong>pouvez</strong> poster de nouveaux sujets', - 'RULES_POST_CANNOT' => 'Vous <strong>ne pouvez pas</strong> poster de nouveaux sujets', - 'RULES_REPLY_CAN' => 'Vous <strong>pouvez</strong> répondre aux sujets', - 'RULES_REPLY_CANNOT' => 'Vous <strong>ne pouvez pas</strong> répondre aux sujets', - 'RULES_VOTE_CAN' => 'Vous <strong>pouvez</strong> participer aux votes', - 'RULES_VOTE_CANNOT' => 'Vous <strong>ne pouvez pas</strong> participer aux votes', - - 'SEARCH' => 'Rechercher', - 'SEARCH_MINI' => 'Recherche…', - 'SEARCH_ADV' => 'Recherche avancée', - 'SEARCH_ADV_EXPLAIN' => 'Voir les options de recherche avancée', - 'SEARCH_KEYWORDS' => 'Recherche par mots-clés', - 'SEARCHING_FORUMS' => 'Recherche dans les forums', - 'SEARCH_ACTIVE_TOPICS' => 'Voir les sujets actifs', - 'SEARCH_FOR' => 'Rechercher', - 'SEARCH_FORUM' => 'Dans ce forum…', - 'SEARCH_NEW' => 'Voir les nouveaux messages', - 'SEARCH_POSTS_BY' => 'Rechercher les messages de', - 'SEARCH_SELF' => 'Voir mes messages', - 'SEARCH_TOPIC' => 'Dans ce sujet…', - 'SEARCH_UNANSWERED' => 'Voir les messages sans réponses', - 'SEARCH_UNREAD' => 'Voir les messages non lus', - 'SECONDS' => 'secondes', - 'SELECT' => 'Sélectionner', - 'SELECT_ALL_CODE' => 'Tout sélectionner', - 'SELECT_DESTINATION_FORUM' => 'Choisissez un forum de destination', - 'SELECT_FORUM' => 'Sélectionner un forum', - 'SEND_EMAIL' => 'Envoyer un e-mail', // Used for submit buttons - 'SEND_EMAIL_USER' => 'Envoyer un e-mail à', // Used as: {L_SEND_EMAIL_USER} {USERNAME} -> E-mail UserX - 'SEND_PRIVATE_MESSAGE' => 'Envoyer un message privé', - 'SETTINGS' => 'Paramètres', - 'SIGNATURE' => 'Signature', - 'SKIP' => 'Vers le contenu', - 'SMTP_NO_AUTH_SUPPORT' => 'Le serveur SMTP ne peut pas vous identifier.', - 'SORRY_AUTH_READ' => 'Vous n’êtes pas autorisé à lire ce forum.', - 'SORRY_AUTH_VIEW_ATTACH' => 'Vous n’êtes pas autorisé à télécharger ce fichier joint.', - 'SORT_BY' => 'Trier par', - 'SORT_JOINED' => 'Date d’inscription', - 'SORT_LOCATION' => 'Localisation', - 'SORT_RANK' => 'Rang', - 'SORT_POSTS' => 'Messages', - 'SORT_TOPIC_TITLE' => 'Titre du sujet', - 'SORT_USERNAME' => 'Nom d’utilisateur', - 'SPLIT_TOPIC' => 'Diviser le sujet', - 'SQL_ERROR_OCCURRED' => 'Une erreur SQL est arrivée en chargeant cette page. Contactez l’%sadministrateur du forum%s si ce problème persiste.', - 'STATISTICS' => 'Statistiques', - 'START_WATCHING_FORUM' => 'Surveiller ce forum', - 'START_WATCHING_TOPIC' => 'Surveiller ce sujet', - 'STOP_WATCHING_FORUM' => 'Arrêter de surveiller ce forum', - 'STOP_WATCHING_TOPIC' => 'Arrêter de surveiller ce sujet', - 'SUBFORUM' => 'Sous-forum', - 'SUBFORUMS' => 'Sous-forums', - 'SUBJECT' => 'Sujet', - 'SUBMIT' => 'Envoyer', - - 'TERMS_USE' => 'Conditions d’utilisation', - 'TEST_CONNECTION' => 'Test de connexion', - 'THE_TEAM' => 'L’équipe du forum', - 'TIME' => 'Date', - - 'TOO_LARGE' => 'La valeur saisie est trop grande.', - 'TOO_LARGE_MAX_RECIPIENTS' => 'La valeur du réglage <strong>Nombre maximum autorisé de destinataires par message privé</strong> que vous avez saisie est trop grande.', - - 'TOO_LONG' => 'La valeur saisie est trop longue.', - - 'TOO_LONG_AIM' => 'Le pseudonyme AIM indiqué est trop long.', - 'TOO_LONG_CONFIRM_CODE' => 'Le code de confirmation indiqué est trop long.', - 'TOO_LONG_DATEFORMAT' => 'Le format de la date indiquée est trop long.', - 'TOO_LONG_ICQ' => 'Le numéro ICQ indiqué est trop long.', - 'TOO_LONG_INTERESTS' => 'Les centres d’intérêts indiqués sont trop longs.', - 'TOO_LONG_JABBER' => 'Le nom de compte Jabber indiqué est trop long.', - 'TOO_LONG_LOCATION' => 'La localisation indiquée est trop longue.', - 'TOO_LONG_MSN' => 'Le compte MSNM/WLM indiqué est trop long.', - 'TOO_LONG_NEW_PASSWORD' => 'Le mot de passe indiqué est trop long.', - 'TOO_LONG_OCCUPATION' => 'Les loisirs indiqués sont trop longs.', - 'TOO_LONG_PASSWORD_CONFIRM' => 'Le mot de passe de confirmation indiqué est trop long.', - 'TOO_LONG_USER_PASSWORD' => 'Le mot de passe indiqué est trop long.', - 'TOO_LONG_USERNAME' => 'Le nom d’utilisateur indiqué est trop long.', - 'TOO_LONG_EMAIL' => 'L’adresse e-mail indiquée est trop longue.', - 'TOO_LONG_EMAIL_CONFIRM' => 'L’adresse e-mail de confirmation indiquée est trop longue.', - 'TOO_LONG_WEBSITE' => 'L’adresse du site Internet indiquée est trop longue.', - 'TOO_LONG_YIM' => 'Le nom Yahoo! Messenger indiqué est trop long.', - - 'TOO_MANY_VOTE_OPTIONS' => 'Vous avez sélectionné trop d’options de vote.', - 'TOO_SHORT' => 'La valeur saisie est trop courte.', - - 'TOO_SHORT_AIM' => 'Le pseudonyme AIM indiqué est trop court.', - 'TOO_SHORT_CONFIRM_CODE' => 'Le code de confirmation indiqué est trop court.', - 'TOO_SHORT_DATEFORMAT' => 'Le format de la date indiquée est trop courte.', - 'TOO_SHORT_ICQ' => 'Le numéro ICQ indiqué est trop court.', - 'TOO_SHORT_INTERESTS' => 'Les centres d’intérêts indiqués sont trop courts.', - 'TOO_SHORT_JABBER' => 'Le nom de compte Jabber indiqué est trop court.', - 'TOO_SHORT_LOCATION' => 'La localisation indiquée est trop courte.', - 'TOO_SHORT_MSN' => 'Le compte MSNM/WLM indiqué est trop court.', - 'TOO_SHORT_NEW_PASSWORD' => 'Le mot de passe indiqué est trop court.', - 'TOO_SHORT_OCCUPATION' => 'Les loisirs indiqués sont trop courts.', - 'TOO_SHORT_PASSWORD_CONFIRM' => 'Le mot de passe de confirmation indiqué est trop court.', - 'TOO_SHORT_USER_PASSWORD' => 'Le mot de passe indiqué est trop court.', - 'TOO_SHORT_USERNAME' => 'Le nom d’utilisateur indiqué est trop court.', - 'TOO_SHORT_EMAIL' => 'L’adresse e-mail indiquée est trop courte.', - 'TOO_SHORT_EMAIL_CONFIRM' => 'L’adresse e-mail de confirmation indiquée est trop courte.', - 'TOO_SHORT_WEBSITE' => 'L’adresse du site Internet indiquée est trop courte.', - 'TOO_SHORT_YIM' => 'Le nom Yahoo! Messenger indiqué est trop court.', - - 'TOO_SMALL' => 'La valeur saisie est trop petite.', - 'TOO_SMALL_MAX_RECIPIENTS' => 'La valeur du réglage <strong>Nombre maximum autorisé de destinataires par message privé</strong> que vous avez saisie est trop petite.', - - 'TOPIC' => 'Sujet', - 'TOPICS' => 'Sujets', - 'TOPICS_UNAPPROVED' => 'Au moins un sujet dans ce forum n’est pas approuvé.', - 'TOPIC_ICON' => 'Icône de sujet', - 'TOPIC_LOCKED' => 'Ce sujet est verrouillé, vous ne pouvez pas éditer de messages ou poster d’autres réponses.', - 'TOPIC_LOCKED_SHORT'=> 'Sujet verrouillé', - 'TOPIC_MOVED' => 'Sujet déplacé', - 'TOPIC_REVIEW' => 'Revue du sujet', - 'TOPIC_TITLE' => 'Titre du sujet', - 'TOPIC_UNAPPROVED' => 'Ce sujet n’a pas été approuvé', - 'TOTAL_ATTACHMENTS' => 'Fichier(s) joint(s)', - 'TOTAL_LOG' => '1 entrée', - 'TOTAL_LOGS' => '%d entrées', - 'TOTAL_NO_PM' => '0 message privé', - 'TOTAL_PM' => '1 message privé', - 'TOTAL_PMS' => '%d messages privés', - 'TOTAL_POSTS' => 'Messages', - 'TOTAL_POSTS_OTHER' => '<strong>%d</strong> message(s)', - 'TOTAL_POSTS_ZERO' => '<strong>0</strong> message', - 'TOPIC_REPORTED' => 'Ce sujet a été rapporté', - 'TOTAL_TOPICS_OTHER'=> '<strong>%d</strong> sujet(s)', - 'TOTAL_TOPICS_ZERO' => '<strong>0</strong> sujet', - 'TOTAL_USERS_OTHER' => '<strong>%d</strong> membre(s)', - 'TOTAL_USERS_ZERO' => '<strong>0</strong> membre', - 'TRACKED_PHP_ERROR' => 'Suivi des erreurs PHP: %s', - - 'UNABLE_GET_IMAGE_SIZE' => 'Impossible de déterminer les dimensions de l’image.', - 'UNABLE_TO_DELIVER_FILE'=> 'Impossible de charger l’image.', - 'UNKNOWN_BROWSER' => 'Navigateur inconnu', - 'UNMARK_ALL' => 'Tout décocher', - 'UNREAD_MESSAGES' => 'Messages non lus', - 'UNREAD_PM' => '<strong>%d</strong> message non lu', - 'UNREAD_PMS' => '<strong>%d</strong> messages non lus', - 'UNREAD_POST' => 'Message non lu', - 'UNREAD_POSTS' => 'Messages non lus', - 'UNWATCHED_FORUMS' => 'Vous ne surveillez plus les forums sélectionnés.', - 'UNWATCHED_TOPICS' => 'Vous ne surveillez plus les sujets sélectionnés.', - 'UNWATCHED_FORUMS_TOPICS'=> 'Vous ne surveillez plus les entrées sélectionnées.', - 'UPDATE' => 'Mise à jour', - 'UPLOAD_IN_PROGRESS' => 'Le chargement est actuellement en cours.', - 'URL_REDIRECT' => 'Si votre navigateur ne vous redirige pas automatiquement dans quelques instants, %scliquez ici pour être redirigé%s.', - 'USERGROUPS' => 'Groupes d’utilisateurs', - 'USERNAME' => 'Nom d’utilisateur', - 'USERNAMES' => 'Noms des utilisateurs', - 'USER_AVATAR' => 'Avatar de l’utilisateur', - 'USER_CANNOT_READ' => 'Vous ne pouvez pas lire les messages de ce forum.', - 'USER_POST' => '%d Message', - 'USER_POSTS' => '%d Messages', - 'USERS' => 'Utilisateurs', - 'USE_PERMISSIONS' => 'Tester les permissions de l’utilisateur', - 'USER_NEW_PERMISSION_DISALLOWED' => 'Nous sommes désolés, mais vous n’êtes pas autorisé à utiliser cette fonctionnalité. Vous venez juste de vous inscrire, et il vous est nécessaire de participer plus pour utiliser cette fonctionnalité.', - - 'VARIANT_DATE_SEPARATOR' => ' / ', // Used in date format dropdown, eg: "Today, 13:37 / 01 Jan 2007, 13:37" ... to join a relative date with calendar date - 'VIEWED' => 'Vu', - 'VIEWING_FAQ' => 'Consulte la FAQ', - 'VIEWING_MEMBERS' => 'Consulte les informations d’un utilisateur', - 'VIEWING_ONLINE' => 'Regarde qui est en ligne', - 'VIEWING_MCP' => 'Consulte le panneau de modération', - 'VIEWING_MEMBER_PROFILE' => 'Consulte le profil d’un utilisateur', - 'VIEWING_PRIVATE_MESSAGES' => 'Lit ses messages privés', - 'VIEWING_REGISTER' => 'S’enregistre', - 'VIEWING_UCP' => 'Consulte son panneau de l’utilisateur', - 'VIEWS' => 'Vus', - 'VIEW_BOOKMARKS' => 'Afficher les favoris', - 'VIEW_FORUM_LOGS' => 'Afficher le journal', - 'VIEW_LATEST_POST' => 'Voir le dernier message', - 'VIEW_NEWEST_POST' => 'Voir le premier message non lu', - 'VIEW_NOTES' => 'Notes sur l’utilisateur', - 'VIEW_ONLINE_TIME' => 'basées sur les utilisateurs actifs de la dernière minute', - 'VIEW_ONLINE_TIMES' => 'basées sur les utilisateurs actifs des %d dernières minutes', - 'VIEW_TOPIC' => 'Afficher le sujet', - 'VIEW_TOPIC_ANNOUNCEMENT' => 'Annonce: ', - 'VIEW_TOPIC_GLOBAL' => 'Annonce globale: ', - 'VIEW_TOPIC_LOCKED' => 'Verrouillé: ', - 'VIEW_TOPIC_LOGS' => 'Voir les journaux', - 'VIEW_TOPIC_MOVED' => 'Déplacé: ', - 'VIEW_TOPIC_POLL' => 'Sondage: ', - 'VIEW_TOPIC_STICKY' => 'Post-it: ', - 'VISIT_WEBSITE' => 'Visiter le site Internet', - - 'WARNINGS' => 'Avertissements', - 'WARN_USER' => 'Avertir l’utilisateur', - 'WELCOME_SUBJECT' => 'Bienvenue sur les forums %s', - 'WEBSITE' => 'Site Internet', - 'WHOIS' => 'Whois', - 'WHO_IS_ONLINE' => 'Qui est en ligne', - 'WRONG_PASSWORD' => 'Vous avez entré un mot de passe incorrect.', - - 'WRONG_DATA_ICQ' => 'Le numéro que vous avez entré n’est pas un numéro ICQ valide.', - 'WRONG_DATA_JABBER' => 'Le nom que vous avez entré n’est pas un nom de compte Jabber valide.', - 'WRONG_DATA_LANG' => 'La langue que vous avez indiquée n’est pas valide.', - 'WRONG_DATA_WEBSITE' => 'L’adresse de site Internet doit être une URL valide, incluant le protocole. Par exemple http://www.exemple.com/.', - 'WROTE' => 'a écrit', - - 'YEAR' => 'Année', - 'YEAR_MONTH_DAY' => '(AAAA-MM-JJ)', - 'YES' => 'Oui', - 'YIM' => 'YIM', - 'YOU_LAST_VISIT' => 'Dernière visite le %s', - 'YOU_NEW_PM' => 'Un nouveau message privé vous attend dans votre boîte de réception.', - 'YOU_NEW_PMS' => 'De nouveaux messages privés vous attendent dans votre boîte de réception.', - 'YOU_NO_NEW_PM' => 'Aucun nouveau message privé en attente.', - - 'datetime' => array( - 'TODAY' => 'Aujourd’hui', - 'TOMORROW' => 'Demain', - 'YESTERDAY' => 'Hier', - 'AGO' => array( - 0 => 'il y a moins d’une minute', - 1 => 'il y a %d minute', - 2 => 'il y a %d minutes', - 60 => 'il y a 1 heure', - ), - - 'Sunday' => 'Dimanche', - 'Monday' => 'Lundi', - 'Tuesday' => 'Mardi', - 'Wednesday' => 'Mercredi', - 'Thursday' => 'Jeudi', - 'Friday' => 'Vendredi', - 'Saturday' => 'Samedi', - - 'Sun' => 'Dim', - 'Mon' => 'Lun', - 'Tue' => 'Mar', - 'Wed' => 'Mer', - 'Thu' => 'Jeu', - 'Fri' => 'Ven', - 'Sat' => 'Sam', - - 'January' => 'Janvier', - 'February' => 'Février', - 'March' => 'Mars', - 'April' => 'Avril', - 'May' => 'Mai', - 'June' => 'Juin', - 'July' => 'Juillet', - 'August' => 'Août', - 'September' => 'Septembre', - 'October' => 'Octobre', - 'November' => 'Novembre', - 'December' => 'Décembre', - - 'Jan' => 'Jan', - 'Feb' => 'Fév', - 'Mar' => 'Mar', - 'Apr' => 'Avr', - 'May_short' => 'Mai', // Short representation of "May". May_short used because in English the short and long date are the same for May. - 'Jun' => 'Juin', - 'Jul' => 'Juil', - 'Aug' => 'Aoû', - 'Sep' => 'Sep', - 'Oct' => 'Oct', - 'Nov' => 'Nov', - 'Dec' => 'Déc', - ), - - 'tz' => array( - '-12' => 'UTC - 12 heures', - '-11' => 'UTC - 11 heures', - '-10' => 'UTC - 10 heures', - '-9.5' => 'UTC - 9:30 heures', - '-9' => 'UTC - 9 heures', - '-8' => 'UTC - 8 heures', - '-7' => 'UTC - 7 heures', - '-6' => 'UTC - 6 heures', - '-5' => 'UTC - 5 heures', - '-4.5' => 'UTC - 4:30 heures', - '-4' => 'UTC - 4 heures', - '-3.5' => 'UTC - 3:30 heures', - '-3' => 'UTC - 3 heures', - '-2' => 'UTC - 2 heures', - '-1' => 'UTC - 1 heure', - '0' => 'UTC', - '1' => 'UTC + 1 heure', - '2' => 'UTC + 2 heures', - '3' => 'UTC + 3 heures', - '3.5' => 'UTC + 3:30 heures', - '4' => 'UTC + 4 heures', - '4.5' => 'UTC + 4:30 heures', - '5' => 'UTC + 5 heures', - '5.5' => 'UTC + 5:30 heures', - '5.75' => 'UTC + 5:45 heures', - '6' => 'UTC + 6 heures', - '6.5' => 'UTC + 6:30 heures', - '7' => 'UTC + 7 heures', - '8' => 'UTC + 8 heures', - '8.75' => 'UTC + 8:45 heures', - '9' => 'UTC + 9 heures', - '9.5' => 'UTC + 9:30 heures', - '10' => 'UTC + 10 heures', - '10.5' => 'UTC + 10:30 heures', - '11' => 'UTC + 11 heures', - '11.5' => 'UTC + 11:30 heures', - '12' => 'UTC + 12 heures', - '12.75' => 'UTC + 12:45 heures', - '13' => 'UTC + 13 heures', - '14' => 'UTC + 14 heures', - 'dst' => '[ Heure d’été ]', - ), - - 'tz_zones' => array( - '-12' => '[UTC - 12] Île Baker', - '-11' => '[UTC - 11] Niue, Samoa', - '-10' => '[UTC - 10] Hawaii-Aleutian, Île Cook', - '-9.5' => '[UTC - 9:30] Îles Marquises', - '-9' => '[UTC - 9] Alaska, Île Gambier', - '-8' => '[UTC - 8] Pacifique', - '-7' => '[UTC - 7] Montagnes Rocheuses', - '-6' => '[UTC - 6] Centre', - '-5' => '[UTC - 5] Est', - '-4.5' => '[UTC - 4:30] Venezuela', - '-4' => '[UTC - 4] Atlantique', - '-3.5' => '[UTC - 3:30] Terre-Neuve', - '-3' => '[UTC - 3] Amazonie, Groenland Central', - '-2' => '[UTC - 2] Fernando de Noronha, Géorgie du Sud & les Îles Sandwich du Sud', - '-1' => '[UTC - 1] Açores, Cap-Vert, Groenland de l’Est', - '0' => '[UTC] Europe de l’Ouest, Méridien de Greenwich', - '1' => '[UTC + 1] Europe Centrale, Afrique de l’Ouest', - '2' => '[UTC + 2] Europe de l’Est, Afrique Centrale', - '3' => '[UTC + 3] Moscou, Afrique de l’Est', - '3.5' => '[UTC + 3:30] Iran', - '4' => '[UTC + 4] Gulf, Samara', - '4.5' => '[UTC + 4:30] Afghanistan', - '5' => '[UTC + 5] Pakistan, Iekaterinbourg', - '5.5' => '[UTC + 5:30] Inde, Sri Lanka', - '5.75' => '[UTC + 5:45] Népal', - '6' => '[UTC + 6] Bangladesh, Bhoutan, Novosibirsk', - '6.5' => '[UTC + 6:30] Îles Cocos, Myanmar', - '7' => '[UTC + 7] Indochine, Krasnoyarsk', - '8' => '[UTC + 8] Chine, Australie de l’Ouest, Irkutsk', - '8.75' => '[UTC + 8:45] Australie du Sud-Est', - '9' => '[UTC + 9] Japon, Corée, Chita', - '9.5' => '[UTC + 9:30] Australie Centrale', - '10' => '[UTC + 10] Australie de l’Est, Vladivostok', - '10.5' => '[UTC + 10:30] Lord Howe', - '11' => '[UTC + 11] Île Solomon, Magadan', - '11.5' => '[UTC + 11:30] Île Norfolk', - '12' => '[UTC + 12] Nouvelle Zélande, Fiji, Kamchatka', - '12.75' => '[UTC + 12:45] Îles Chatham', - '13' => '[UTC + 13] Tongo, Îles Phoenix', - '14' => '[UTC + 14] Île de Wight', - ), - - // The value is only an example and will get replaced by the current time on view - 'dateformats' => array( - 'd M Y, H:i' => '01 Jan 2007, 13:37', - 'd M Y H:i' => '01 Jan 2007 13:37', - 'M j, \'y, H:i' => 'Jan 10, \'07, 13:37', - 'D M d, Y g:i a' => 'Lun Jan 01, 2007 1:37 pm', - 'F j, Y, g:i a' => 'Janvier 10, 2007, 1:37 pm', - '|d M Y|, H:i' => '[Jours relatifs], 13:37 / 10 Jan 2007, 13:37', - '|F j, Y|, g:i a' => '[Jours relatifs], 1:37 pm / Janvier 10, 2007, 1:37 pm' - ), - - // The default dateformat which will be used on new installs in this language - // Translators should change this if a the usual date format is different - 'default_dateformat' => 'D j M Y H:i', // Lun 10 Jan 2007 13:37 - -)); -// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE -$lang['Page'] = 'Page '; -// www.phpBB-SEO.com SEO TOOLKIT END - TITLE -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> GYM Sitemaps -$lang = array_merge($lang, array( - 'GYM_LINKS' => 'Liens', - 'GYM_LINK' => 'Lien', - 'GYM_RSS_SLIDE_START' => 'Lancer', - 'GYM_RSS_SLIDE_STOP' => 'Stopper', - 'GYM_RSS_SOURCE' => 'Source', -)); -// www.phpBB-SEO.com SEO TOOLKIT END -> GYM Sitemaps -// www.phpBB-SEO.com SEO TOOLKIT BEGIN - Related Topics -$lang['RELATED_TOPICS'] = 'Articles en relation'; -// www.phpBB-SEO.com SEO TOOLKIT END - Related Topics -?>
\ No newline at end of file diff --git a/phpBB/language/fr/email/admin_activate.txt b/phpBB/language/fr/email/admin_activate.txt deleted file mode 100644 index 81490cf914..0000000000 --- a/phpBB/language/fr/email/admin_activate.txt +++ /dev/null @@ -1,14 +0,0 @@ -Subject: Activer un compte utilisateur
-
-Bonjour,
-
-Le compte appartenant à "{USERNAME}" vient d'être désactivé ou nouvellement créé. Vous devriez vérifier les détails de cet utilisateur (si besoin est).
-
-Cliquez sur ce lien pour consulter le profil de cet utilisateur:
-{U_USER_DETAILS}
-
-Activez son compte en utilisant le lien suivant:
-{U_ACTIVATE}
-
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/admin_send_email.txt b/phpBB/language/fr/email/admin_send_email.txt deleted file mode 100644 index 44639442bc..0000000000 --- a/phpBB/language/fr/email/admin_send_email.txt +++ /dev/null @@ -1,14 +0,0 @@ -
-Ce qui suit est un e-mail qui vous a été envoyé par un administrateur de "{SITENAME}". Si ce message est un spam, contient des commentaires abusifs ou autre chose qui vous offense, contactez le webmaster de ce forum à l'adresse suivante:
-
-{CONTACT_EMAIL}
-
-Incluez cet e-mail en entier (plus particulièrement les en-têtes).
-
-Message qui vous a été envoyé:
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-{MESSAGE}
-
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/admin_welcome_activated.txt b/phpBB/language/fr/email/admin_welcome_activated.txt deleted file mode 100644 index 830d72b659..0000000000 --- a/phpBB/language/fr/email/admin_welcome_activated.txt +++ /dev/null @@ -1,8 +0,0 @@ -Subject: Compte activé - -Bonjour {USERNAME}, - -Votre compte sur "{SITENAME}" vient d'être activé, vous pouvez vous connecter en utilisant le nom d'utilisateur que vous avez reçu dans un précédent e-mail. -Votre mot de passe a été stocké de manière sécurisée dans notre base de données et ne pourra pas être retrouvé. Dans le cas où vous l'auriez oublié, vous pourrez le réinitialiser en utilisant l'adresse e-mail associée à votre compte. - -{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/admin_welcome_inactive.txt b/phpBB/language/fr/email/admin_welcome_inactive.txt deleted file mode 100644 index 10e164ac58..0000000000 --- a/phpBB/language/fr/email/admin_welcome_inactive.txt +++ /dev/null @@ -1,19 +0,0 @@ -Subject: Bienvenue sur les forums de "{SITENAME}" - -{WELCOME_MSG} - -Vous êtes prié de conserver cet e-mail dans vos archives. Les informations concernant votre compte: - ----------------------------- -Nom d'utilisateur: {USERNAME} - -Adresse du forum: {U_BOARD} ----------------------------- - -Votre compte est actuellement inactif et devra être approuvé par un administrateur avant que vous puissiez vous connecter avec. Vous recevrez un autre e-mail lorsque cela sera fait. - -Votre mot de passe a été stocké de manière sécurisée dans notre base de données et ne pourra pas être retrouvé. Toutefois, si vous oubliez votre mot de passe, vous pourrez en demander un nouveau qui sera activé de la même manière que ce compte. - -Merci de vous être enregistré. - -{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/coppa_resend_inactive.txt b/phpBB/language/fr/email/coppa_resend_inactive.txt deleted file mode 100644 index c38be17551..0000000000 --- a/phpBB/language/fr/email/coppa_resend_inactive.txt +++ /dev/null @@ -1,42 +0,0 @@ -Subject: Bienvenue sur "{SITENAME}" - -{WELCOME_MSG} - -En accord avec la COPPA, votre compte est actuellement inactif. - -Imprimez ce message et le faire signer et dater par vos parents ou vos tuteurs. Puis, faxez-le à: - -{FAX_INFO} - -Ou envoyez-le à l'adresse e-mail suivante: - -{MAIL_INFO} - ------------------------------- DECOUPEZ ICI ------------------------------ -Permission de participer à "{SITENAME}" - {U_BOARD} - -Nom d'utilisateur: {USERNAME} -E-mail: {EMAIL_ADDRESS} - -J'AI VERIFIE LES INFORMATIONS FOURNIES PAR MON ENFANT ET DONNE LA PERMISSION A "{SITENAME}" DE STOCKER CETTE INFORMATION. -JE CONÇOIS QUE CES INFORMATIONS PEUVENT ETRE MODIFIEES A TOUT MOMENT EN ENTRANT UN MOT DE PASSE. -JE SAIS QUE JE PEUX DEMANDER LE RETRAIT DE CES INFORMATIONS A "{SITENAME}" A TOUT MOMENT. - - -Parent ou tuteur -(Imprimez votre nom ici): _____________________ - -(Signez ici): __________________ - -Date: _______________ - ------------------------------- DECOUPEZ ICI ------------------------------ - - -Une fois que l'administrateur aura reçu le texte ci-dessus par fax ou par e-mail, votre compte sera activé. - -Votre mot de passe a été stocké de manière sécurisée dans notre base de données et ne pourra pas être retrouvé. Dans le cas où vous l'auriez oublié, vous pourrez le réinitialiser en utilisant l'adresse e-mail associée à votre compte. - -Merci de vous être enregistré. - -{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/coppa_welcome_inactive.txt b/phpBB/language/fr/email/coppa_welcome_inactive.txt deleted file mode 100644 index c38be17551..0000000000 --- a/phpBB/language/fr/email/coppa_welcome_inactive.txt +++ /dev/null @@ -1,42 +0,0 @@ -Subject: Bienvenue sur "{SITENAME}" - -{WELCOME_MSG} - -En accord avec la COPPA, votre compte est actuellement inactif. - -Imprimez ce message et le faire signer et dater par vos parents ou vos tuteurs. Puis, faxez-le à: - -{FAX_INFO} - -Ou envoyez-le à l'adresse e-mail suivante: - -{MAIL_INFO} - ------------------------------- DECOUPEZ ICI ------------------------------ -Permission de participer à "{SITENAME}" - {U_BOARD} - -Nom d'utilisateur: {USERNAME} -E-mail: {EMAIL_ADDRESS} - -J'AI VERIFIE LES INFORMATIONS FOURNIES PAR MON ENFANT ET DONNE LA PERMISSION A "{SITENAME}" DE STOCKER CETTE INFORMATION. -JE CONÇOIS QUE CES INFORMATIONS PEUVENT ETRE MODIFIEES A TOUT MOMENT EN ENTRANT UN MOT DE PASSE. -JE SAIS QUE JE PEUX DEMANDER LE RETRAIT DE CES INFORMATIONS A "{SITENAME}" A TOUT MOMENT. - - -Parent ou tuteur -(Imprimez votre nom ici): _____________________ - -(Signez ici): __________________ - -Date: _______________ - ------------------------------- DECOUPEZ ICI ------------------------------ - - -Une fois que l'administrateur aura reçu le texte ci-dessus par fax ou par e-mail, votre compte sera activé. - -Votre mot de passe a été stocké de manière sécurisée dans notre base de données et ne pourra pas être retrouvé. Dans le cas où vous l'auriez oublié, vous pourrez le réinitialiser en utilisant l'adresse e-mail associée à votre compte. - -Merci de vous être enregistré. - -{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/email_notify.txt b/phpBB/language/fr/email/email_notify.txt deleted file mode 100644 index b88104829a..0000000000 --- a/phpBB/language/fr/email/email_notify.txt +++ /dev/null @@ -1,17 +0,0 @@ -Subject: "{SITENAME}" - Contacter un ami
-
-Bonjour {TO_USERNAME},
-
-Cet e-mail a été envoyé depuis "{SITENAME}" par {FROM_USERNAME} qui a pensé que vous pourriez être intéressé par le sujet suivant:
-
-{TOPIC_NAME}
-
-Vous pouvez le retrouver en cliquant sur le lien ci-dessous:
-
-{U_TOPIC}
-
-Un message de {FROM_USERNAME} peut également être inclus ci-dessous. Notez que ce message n'a pas été vu ou approuvé par un administrateur. Si vous voulez vous plaindre de cet e-mail, contactez les administrateurs à {BOARD_CONTACT}. N'oubliez pas de citer l'entête de ce message quand vous utilisez cette adresse.
-
-----------
-
-{MESSAGE}
\ No newline at end of file diff --git a/phpBB/language/fr/email/forum_notify.txt b/phpBB/language/fr/email/forum_notify.txt deleted file mode 100644 index eae326cef0..0000000000 --- a/phpBB/language/fr/email/forum_notify.txt +++ /dev/null @@ -1,19 +0,0 @@ -Subject: Notification de nouveau message dans le forum - {FORUM_NAME}
-
-Bonjour {USERNAME},
-
-Vous recevez cet e-mail car vous surveillez le forum, "{FORUM_NAME}" de "{SITENAME}". Ce forum a reçu un nouveau message au sujet "{TOPIC_TITLE}" depuis votre dernière visite. Vous pouvez utiliser le lien suivant pour voir la dernière réponse non-lue. Notez que vous ne recevrez plus de notification jusqu'à votre prochaine visite sur le sujet.
-
-{U_NEWEST_POST}
-
-Pour voir le sujet dans son ensemble, cliquez sur le lien suivant:
-{U_TOPIC}
-
-Pour visiter le forum, cliquez sur le lien suivant:
-{U_FORUM}
-
-Si vous ne voulez plus surveiller ce forum, cliquez sur le lien correspondant se trouvant en bas du forum ou cliquez sur le lien suivant:
-
-{U_STOP_WATCHING_FORUM}
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/group_added.txt b/phpBB/language/fr/email/group_added.txt deleted file mode 100644 index b927283c97..0000000000 --- a/phpBB/language/fr/email/group_added.txt +++ /dev/null @@ -1,11 +0,0 @@ -Subject: Vous avez été ajouté à un groupe
-
-Félicitations,
-
-Vous avez été ajouté au groupe "{GROUP_NAME}" sur "{SITENAME}".
-Cette action a été accomplie par le modérateur du groupe ou l'administrateur du site; contactez-les pour de plus amples informations.
-
-Vous pouvez voir vos informations de groupes ici:
-{U_GROUPCP}
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/group_approved.txt b/phpBB/language/fr/email/group_approved.txt deleted file mode 100644 index 422e365e70..0000000000 --- a/phpBB/language/fr/email/group_approved.txt +++ /dev/null @@ -1,10 +0,0 @@ -Subject: Votre demande a été approuvée
-
-Félicitations,
-
-Votre demande d'adhésion au groupe "{GROUP_NAME}" sur "{SITENAME}" a été approuvée.
-Cliquez sur le lien suivant pour voir les effectifs de votre groupe.
-
-{U_GROUP}
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/group_request.txt b/phpBB/language/fr/email/group_request.txt deleted file mode 100644 index b570c0d37e..0000000000 --- a/phpBB/language/fr/email/group_request.txt +++ /dev/null @@ -1,10 +0,0 @@ -Subject: Une demande pour rejoindre votre groupe a été formulée
-
-Cher {USERNAME},
-
-L’utilisateur "{REQUEST_USERNAME}" demande à adhérer au groupe "{GROUP_NAME}" que vous modérez sur "{SITENAME}".
-Pour approuver/désapprouver cette demande pour l'adhésion au groupe, cliquez sur le lien suivant:
-
-{U_PENDING}
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/index.htm b/phpBB/language/fr/email/index.htm deleted file mode 100644 index e0cc5f36e6..0000000000 --- a/phpBB/language/fr/email/index.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html>
-<head>
-<title></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</head>
-
-<body bgcolor="#FFFFFF" text="#000000">
-
-</body>
-</html>
diff --git a/phpBB/language/fr/email/installed.txt b/phpBB/language/fr/email/installed.txt deleted file mode 100644 index a1f497a0ae..0000000000 --- a/phpBB/language/fr/email/installed.txt +++ /dev/null @@ -1,22 +0,0 @@ -Subject: phpBB installé - -Félicitations, - -Vous venez d'installer phpBB sur votre serveur. - -Cet e-mail contient d'importantes informations concernant votre installation que vous devriez conserver. Votre mot de passe a été stocké de manière sécurisée dans notre base de données et ne pourra pas être retrouvé. Dans le cas où vous l'auriez oublié, vous pourrez le réinitialiser en utilisant l'adresse e-mail associée à votre compte. - ----------------------------- - -Nom d'utilisateur: {USERNAME} - -Adresse du forum: {U_BOARD} - ----------------------------- - -Des informations utiles peuvent être consultées dans le dossier "docs" de votre installation, ou sur le forum de support francophone - http://forums.phpbb-fr.com - -Dans le but de conserver votre forum en sécurité, nous vous recommandons fortement de vous tenir au courant des mises à jour du logiciel. Pour votre convenance, une inscription à la newsletter du groupe phpBB est disponible sur la page ci-dessous. -http://www.phpbb.com/support/ - -{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/newtopic_notify.txt b/phpBB/language/fr/email/newtopic_notify.txt deleted file mode 100644 index 196e7f9749..0000000000 --- a/phpBB/language/fr/email/newtopic_notify.txt +++ /dev/null @@ -1,13 +0,0 @@ -Subject: Notification de nouveau sujet - {FORUM_NAME}
-
-Bonjour {USERNAME},
-
-Vous recevez cet e-mail car vous surveillez le forum, "{FORUM_NAME}" sur "{SITENAME}". Ce forum a reçu un nouveau sujet depuis votre dernière visite, "{TOPIC_TITLE}". Vous pouvez utiliser le lien suivant pour voir le forum. Aucune autre notification ne vous sera envoyée jusqu'à votre prochaine visite sur le forum.
-
-{U_FORUM}
-
-Si vous ne voulez plus surveiller ce forum, vous pouvez cliquer sur le lien correspondant se trouvant en bas du forum ou cliquer sur celui qui suit:
-
-{U_STOP_WATCHING_FORUM}
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/pm_report_closed.txt b/phpBB/language/fr/email/pm_report_closed.txt deleted file mode 100644 index 8beb14acec..0000000000 --- a/phpBB/language/fr/email/pm_report_closed.txt +++ /dev/null @@ -1,8 +0,0 @@ -Subject: Rapport cloturé - "{PM_SUBJECT}" - -Bonjour {USERNAME}, - -Vous recevez cette notification parce que le rapport classé concernant le message privé "{PM_SUBJECT}" sur "{SITENAME}" a été pris en charge par un modérateur ou administrateur. Le rapport est maintenant clôturé. Si vous avez des questions supplémentaires, prenez contact avec {CLOSER_NAME} par message privé. - - -{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/pm_report_deleted.txt b/phpBB/language/fr/email/pm_report_deleted.txt deleted file mode 100644 index 3a161da3a5..0000000000 --- a/phpBB/language/fr/email/pm_report_deleted.txt +++ /dev/null @@ -1,8 +0,0 @@ -Subject: Rapport supprimé - "{PM_SUBJECT}" - -Bonjour {USERNAME}, - -Vous recevez cette notification parce que le rapport classé concernant le message privé "{PM_SUBJECT}" sur "{SITENAME}" a été supprimé par un modérateur ou administrateur. - - -{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/post_approved.txt b/phpBB/language/fr/email/post_approved.txt deleted file mode 100644 index 94c2cbae7e..0000000000 --- a/phpBB/language/fr/email/post_approved.txt +++ /dev/null @@ -1,15 +0,0 @@ -Subject: Message approuvé - {POST_SUBJECT}
-
-Bonjour {USERNAME},
-
-Vous recevez cet e-mail car votre message "{POST_SUBJECT}" sur "{SITENAME}" a été approuvé par un modérateur ou un administrateur.
-
-Si vous désirez lire le message, cliquez sur le lien suivant:
-
-{U_VIEW_POST}
-
-Si vous désirez lire le sujet, cliquez sur le lien suivant:
-{U_VIEW_TOPIC}
-
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/post_disapproved.txt b/phpBB/language/fr/email/post_disapproved.txt deleted file mode 100644 index 2024be68ed..0000000000 --- a/phpBB/language/fr/email/post_disapproved.txt +++ /dev/null @@ -1,11 +0,0 @@ -Subject: Message refusé - {POST_SUBJECT}
-
-Bonjour {USERNAME},
-
-Vous recevez cet e-mail car votre message "{POST_SUBJECT}" sur "{SITENAME}" a été refusé par un modérateur ou un administrateur.
-
-Il l'a été pour la raison suivante:
-
-{REASON}
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/privmsg_notify.txt b/phpBB/language/fr/email/privmsg_notify.txt deleted file mode 100644 index 634c0400c7..0000000000 --- a/phpBB/language/fr/email/privmsg_notify.txt +++ /dev/null @@ -1,15 +0,0 @@ -Subject: Un nouveau message privé vient d'arriver
-
-Bonjour {USERNAME},
-
-Vous avez reçu un nouveau message privé de "{AUTHOR_NAME}" sur "{SITENAME}" ayant pour objet:
-
-{SUBJECT}
-
-Vous pouvez voir votre nouveau message en cliquant sur le lien suivant:
-
-{U_INBOX}
-
-Vous avez demandé à être averti dans ce cas, rappelez-vous que vous pouvez choisir de ne plus être averti de l'arrivée de nouveaux messages privés en modifiant l'option appropriée dans votre profil.
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/profile_send_email.txt b/phpBB/language/fr/email/profile_send_email.txt deleted file mode 100644 index a848390047..0000000000 --- a/phpBB/language/fr/email/profile_send_email.txt +++ /dev/null @@ -1,13 +0,0 @@ -
-Bonjour {TO_USERNAME},
-
-L'e-mail suivant vous a été envoyé par {FROM_USERNAME} depuis son compte sur "{SITENAME}". Si ce message contient du spam, des termes abusifs ou des commentaires que vous trouvez choquants, contactez l'administrateur du forum à partir du lien suivant:
-
-{BOARD_CONTACT}
-
-Dans ce cas, il faudra inclure cet e-mail en entier (particulièrement l'entête).
-
-Voici le message qui vous a été envoyé:
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-{MESSAGE}
\ No newline at end of file diff --git a/phpBB/language/fr/email/profile_send_im.txt b/phpBB/language/fr/email/profile_send_im.txt deleted file mode 100644 index c83468becc..0000000000 --- a/phpBB/language/fr/email/profile_send_im.txt +++ /dev/null @@ -1,13 +0,0 @@ -
-Bonjour {TO_USERNAME},
-
-Le message suivant vous a été envoyé par {FROM_USERNAME} via son compte sur "{SITENAME}". Si ce message contient du spam, des termes abusifs ou des commentaires que vous trouvez choquants, contactez l'administrateur du forum à partir du lien suivant:
-
-{BOARD_CONTACT}
-
-Dans ce cas, il faudra inclure cet e-mail en entier (particulièrement l'entête).
-
-Voici le message qui vous a été envoyé:
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-{MESSAGE}
\ No newline at end of file diff --git a/phpBB/language/fr/email/report_closed.txt b/phpBB/language/fr/email/report_closed.txt deleted file mode 100644 index fac66186ca..0000000000 --- a/phpBB/language/fr/email/report_closed.txt +++ /dev/null @@ -1,7 +0,0 @@ -Subject: Fermeture de rapport - {POST_SUBJECT}
-
-Bonjour {USERNAME},
-
-Vous recevez cet e-mail car le rapport que vous avez fait sur le message "{POST_SUBJECT}" du sujet "{TOPIC_TITLE}" de "{SITENAME}" a été vu par un modérateur ou un administrateur. Ce rapport est dorénavant classé. Si vous avez des questions, envoyez un message privé à {CLOSER_NAME}.
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/report_deleted.txt b/phpBB/language/fr/email/report_deleted.txt deleted file mode 100644 index 4f409f794e..0000000000 --- a/phpBB/language/fr/email/report_deleted.txt +++ /dev/null @@ -1,7 +0,0 @@ -Subject: Suppression du rapport - {POST_SUBJECT}
-
-Bonjour {USERNAME},
-
-Vous recevez cet e-mail car le rapport que vous avez fait sur le message "{POST_SUBJECT}" du sujet "{TOPIC_TITLE}" de "{SITENAME}" a été supprimé par un modérateur ou un administrateur.
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/topic_approved.txt b/phpBB/language/fr/email/topic_approved.txt deleted file mode 100644 index ebc39fdd07..0000000000 --- a/phpBB/language/fr/email/topic_approved.txt +++ /dev/null @@ -1,12 +0,0 @@ -Subject: Sujet approuvé - {TOPIC_TITLE}
-
-Bonjour {USERNAME},
-
-Vous recevez cet e-mail car votre message "{TOPIC_TITLE}" sur "{SITENAME}" a été approuvé par un modérateur ou un administrateur.
-
-Vous pouvez y accéder à partir du lien suivant:
-
-{U_VIEW_TOPIC}
-
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/topic_disapproved.txt b/phpBB/language/fr/email/topic_disapproved.txt deleted file mode 100644 index 1106d30e13..0000000000 --- a/phpBB/language/fr/email/topic_disapproved.txt +++ /dev/null @@ -1,12 +0,0 @@ -Subject: Sujet refusé - {TOPIC_TITLE}
-
-Bonjour {USERNAME},
-
-Vous recevez cet e-mail car votre message "{TOPIC_TITLE}" sur "{SITENAME}" a été refusé par un modérateur ou un administrateur.
-
-Il l'a été pour la raison suivante:
-
-{REASON}
-
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/topic_notify.txt b/phpBB/language/fr/email/topic_notify.txt deleted file mode 100644 index 41806def45..0000000000 --- a/phpBB/language/fr/email/topic_notify.txt +++ /dev/null @@ -1,19 +0,0 @@ -Subject: Notification de réponse à un sujet - {TOPIC_TITLE}
-
-Bonjour {USERNAME},
-
-Vous recevez cet e-mail car vous surveillez le sujet, "{TOPIC_TITLE}" sur "{SITENAME}". Ce sujet a reçu une réponse depuis votre dernière visite. Vous ne recevrez plus aucune autre notification jusqu'à votre prochaine visite sur le sujet.
-
-Pour voir les nouvelles réponses, cliquez sur le lien suivant:
-{U_NEWEST_POST}
-
-Pour voir le sujet dans son ensemble, cliquez sur le lien suivant:
-{U_TOPIC}
-
-Pour visiter le forum, cliquez sur le lien suivant:
-{U_FORUM}
-
-Si vous ne voulez plus surveiller ce sujet, vous pouvez soit cliquer sur le lien "Arrêter de surveiller ce sujet" en bas du sujet ci-dessus, soit cliquer sur le lien suivant:
-{U_STOP_WATCHING_TOPIC}
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/user_activate.txt b/phpBB/language/fr/email/user_activate.txt deleted file mode 100644 index 756e0fb50f..0000000000 --- a/phpBB/language/fr/email/user_activate.txt +++ /dev/null @@ -1,9 +0,0 @@ -Subject: Réactivez votre compte
-
-Bonjour {USERNAME},
-
-Votre compte sur "{SITENAME}" a été désactivé, probablement dû aux modifications effectuées dans votre profil. Afin de réactiver votre compte, vous devez cliquer sur le lien ci-dessous:
-
-{U_ACTIVATE}
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/user_activate_inactive.txt b/phpBB/language/fr/email/user_activate_inactive.txt deleted file mode 100644 index 94c19623ba..0000000000 --- a/phpBB/language/fr/email/user_activate_inactive.txt +++ /dev/null @@ -1,7 +0,0 @@ -Subject: Votre compte a été désactivé
-
-Bonjour {USERNAME},
-
-Votre compte sur "{SITENAME}" a été désactivé, ceci est certainement dû à une modification de votre profil. L'administrateur devra le réactiver afin que vous puissiez vous connecter. Vous serez avertis par e-mail lorsque cela sera fait.
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/user_activate_passwd.txt b/phpBB/language/fr/email/user_activate_passwd.txt deleted file mode 100644 index e72b71483c..0000000000 --- a/phpBB/language/fr/email/user_activate_passwd.txt +++ /dev/null @@ -1,17 +0,0 @@ -Subject: Activation du nouveau mot de passe
-
-Bonjour {USERNAME}
-
-Vous recevez cet e-mail parce que vous avez (ou quelqu'un qui prétend être vous) demandé à ce qu'un nouveau mot de passe vous soit envoyé pour votre compte sur "{SITENAME}". Si vous n'avez pas demandé cet e-mail, vous pouvez l'ignorer. Si vous continuez à le recevoir, contactez l'administrateur du forum.
-
-Pour utiliser le nouveau mot de passe, vous avez besoin de l'activer. Pour ce faire, cliquez sur le lien fourni ci-dessous.
-
-{U_ACTIVATE}
-
-Si cela réussit, vous pourrez vous connecter avec le mot de passe suivant:
-
-Mot de passe: {PASSWORD}
-
-Vous pouvez bien sûr changer vous-même ce mot de passe via votre profil. Si vous rencontrez des difficultés, contactez l'administrateur du forum.
-
-{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/user_reactivate_account.txt b/phpBB/language/fr/email/user_reactivate_account.txt deleted file mode 100644 index 7c605ab5a5..0000000000 --- a/phpBB/language/fr/email/user_reactivate_account.txt +++ /dev/null @@ -1,19 +0,0 @@ -Subject: Réactivez votre compte sur "{SITENAME}" - -Un administrateur du forum demande que votre compte soit réactivé. Votre compte est actuellement inactif. -Suivez les étapes listées ici pour réactiver votre compte. - -Conservez cet e-mail dans vos archives. L'information de votre compte est la suivante: - ----------------------------- -Nom d'utilisateur: {USERNAME} ----------------------------- - -Votre mot de passe a été stocké de manière sécurisée dans notre base de données et ne pourra pas être retrouvé. Dans le cas où vous l'auriez oublié, vous pourrez le réinitialiser en utilisant l'adresse e-mail associée à votre compte. - -Utilisez le lien suivant pour réactiver votre compte: - -{U_ACTIVATE} - - -{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/user_remind_inactive.txt b/phpBB/language/fr/email/user_remind_inactive.txt deleted file mode 100644 index 8933c775a3..0000000000 --- a/phpBB/language/fr/email/user_remind_inactive.txt +++ /dev/null @@ -1,10 +0,0 @@ -Subject: Votre compte est toujours inactif - -Bonjour {USERNAME}, - -Cet e-mail de notification est un rappel pour vous indiquer que votre compte à "{SITENAME}", créé le {REGISTER_DATE}, reste inactif. Si vous souhaitez activer ce compte, nous vous invitons à visiter le lien suivant: -{U_ACTIVATE} - -Merci pour votre inscription à "{SITENAME}", et pour votre future participation. - -{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/user_resend_inactive.txt b/phpBB/language/fr/email/user_resend_inactive.txt deleted file mode 100644 index 5f0f7e2bd2..0000000000 --- a/phpBB/language/fr/email/user_resend_inactive.txt +++ /dev/null @@ -1,18 +0,0 @@ -Subject: Bienvenue sur les forums de "{SITENAME}" - -{WELCOME_MSG} - -Conservez cet e-mail pour mémoire. Les informations de votre compte sont les suivantes: - ----------------------------- -Nom d'utilisateur: {USERNAME} ----------------------------- - -Votre mot de passe a été stocké de manière sécurisée dans notre base de données et ne pourra pas être retrouvé. Dans le cas où vous l'auriez oublié, vous pourrez le réinitialiser en utilisant l'adresse e-mail associée à votre compte. - -Visitez le lien suivant afin d'activer votre compte: -{U_ACTIVATE} - -Merci pour votre inscription. - -{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/user_welcome.txt b/phpBB/language/fr/email/user_welcome.txt deleted file mode 100644 index 09c306aa6a..0000000000 --- a/phpBB/language/fr/email/user_welcome.txt +++ /dev/null @@ -1,17 +0,0 @@ -Subject: Bienvenue sur les forums de "{SITENAME}" - -{WELCOME_MSG} - -Vous êtes prié de conserver cet e-mail dans vos archives. Voici les informations concernant votre compte: - ----------------------------- -Nom d'utilisateur: {USERNAME} - -Adresse du forum: {U_BOARD} ----------------------------- - -Votre mot de passe a été stocké de manière sécurisée dans notre base de données et ne pourra pas être retrouvé. Dans le cas où vous l'auriez oublié, vous pourrez le réinitialiser en utilisant l'adresse e-mail associée à votre compte. - -Merci de vous être enregistré. - -{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/email/user_welcome_inactive.txt b/phpBB/language/fr/email/user_welcome_inactive.txt deleted file mode 100644 index 5619f2855f..0000000000 --- a/phpBB/language/fr/email/user_welcome_inactive.txt +++ /dev/null @@ -1,21 +0,0 @@ -Subject: Bienvenue sur les forums de "{SITENAME}" - -{WELCOME_MSG} - -Vous êtes prié de conserver cet e-mail dans vos archives. Voici les informations concernant votre compte: - ----------------------------- -Nom d'utilisateur: {USERNAME} - -Adresse du forum: {U_BOARD} ----------------------------- - -Visitez le lien suivant afin d'activer votre compte: - -{U_ACTIVATE} - -Votre mot de passe a été stocké de manière sécurisée dans notre base de données et ne pourra pas être retrouvé. Dans le cas où vous l'auriez oublié, vous pourrez le réinitialiser en utilisant l'adresse e-mail associée à votre compte. - -Merci de vous être enregistré. - -{EMAIL_SIG}
\ No newline at end of file diff --git a/phpBB/language/fr/groups.php b/phpBB/language/fr/groups.php deleted file mode 100644 index e5c8764682..0000000000 --- a/phpBB/language/fr/groups.php +++ /dev/null @@ -1,97 +0,0 @@ -<?php -/** -* -* groups [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: groups.php, v1.24 2008/07/03 12:58:20 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ALREADY_DEFAULT_GROUP' => 'Le groupe sélectionné est déjà votre groupe par défaut.', - 'ALREADY_IN_GROUP' => 'Vous êtes déjà membre du groupe sélectionné.', - 'ALREADY_IN_GROUP_PENDING' => 'Vous avez déjà demandé à rejoindre le groupe choisi.', - - 'CANNOT_JOIN_GROUP' => 'Vous n’êtes pas autorisé à rejoindre ce groupe. Vous ne pouvez rejoindre que les groupes ouverts.', - 'CANNOT_RESIGN_GROUP' => 'Vous n’êtes pas autorisé à vous retirer de ce groupe. Vous ne pouvez vous retirer que des groupes ouverts.', - 'CHANGED_DEFAULT_GROUP' => 'Le groupe par défaut a été modifié.', - - 'GROUP_AVATAR' => 'Avatar du groupe', - 'GROUP_CHANGE_DEFAULT' => 'Êtes-vous sûr de vouloir modifier votre groupe par défaut pour “%s”?', - 'GROUP_CLOSED' => 'Fermé', - 'GROUP_DESC' => 'Description du groupe', - 'GROUP_HIDDEN' => 'Invisible', - 'GROUP_INFORMATION' => 'Information sur le groupe', - 'GROUP_IS_CLOSED' => 'C’est un groupe fermé, aucun nouveau membre ne peut être ajouté.', - 'GROUP_IS_FREE' => 'C’est un groupe libre et ouvert, chaque utilisateur peut en devenir membre.', - 'GROUP_IS_HIDDEN' => 'C’est un groupe caché, seuls les membres de ce groupe peuvent en voir les informations.', - 'GROUP_IS_OPEN' => 'C’est un groupe ouvert, mais l’utilisateur doit faire une demande pour en devenir membre.', - 'GROUP_IS_SPECIAL' => 'C’est un groupe spécial, les groupes spéciaux sont gérés par les administrateurs.', - 'GROUP_JOIN' => 'Rejoindre le groupe', - 'GROUP_JOIN_CONFIRM' => 'Êtes-vous sûr de vouloir rejoindre le groupe sélectionné?', - 'GROUP_JOIN_PENDING' => 'Demander à rejoindre un groupe', - 'GROUP_JOIN_PENDING_CONFIRM' => 'Êtes-vous sûr de vouloir demander à rejoindre le groupe sélectionné?', - 'GROUP_JOINED' => 'Vous êtes désormais membre de ce groupe.', - 'GROUP_JOINED_PENDING' => 'Votre demande d’adhésion a été prise en compte. Vous devez attendre que le modérateur du groupe approuve votre demande.', - 'GROUP_LIST' => 'Gérer les membres', - 'GROUP_MEMBERS' => 'Membres du groupe', - 'GROUP_NAME' => 'Nom du groupe', - 'GROUP_OPEN' => 'Ouvrir', - 'GROUP_RANK' => 'Rang du groupe', - 'GROUP_RESIGN_MEMBERSHIP' => 'Se désinscrire du groupe', - 'GROUP_RESIGN_MEMBERSHIP_CONFIRM' => 'Êtes-vous sûr de vouloir vous désinscrire du groupe sélectionné?', - 'GROUP_RESIGN_PENDING' => 'Annuler une demande d’adhésion', - 'GROUP_RESIGN_PENDING_CONFIRM' => 'Êtes-vous sûr de vouloir annuler votre demande d’adhésion au groupe sélectionné?', - 'GROUP_RESIGNED_MEMBERSHIP' => 'Vous avez été désinscrit du groupe sélectionné.', - 'GROUP_RESIGNED_PENDING' => 'Votre demande d’adhésion pour le groupe sélectionné a été annulée.', - 'GROUP_TYPE' => 'Type du groupe', - 'GROUP_UNDISCLOSED' => 'Groupe invisible', - 'FORUM_UNDISCLOSED' => 'Modérateur des forums cachés', - - 'LOGIN_EXPLAIN_GROUP' => 'Vous devez vous connecter pour voir les détails de ce groupe.', - - 'NO_LEADERS' => 'Vous n’êtes pas modérateur d’un groupe.', - 'NOT_LEADER_OF_GROUP' => 'L’opération demandée ne peut aboutir car vous n’êtes pas modérateur du groupe sélectionné.', - 'NOT_MEMBER_OF_GROUP' => 'L’opération demandée ne peut aboutir car vous n’êtes pas membre du groupe sélectionné.', - 'NOT_RESIGN_FROM_DEFAULT_GROUP' => 'Vous ne pouvez pas être retiré de votre groupe par défaut.', - - 'PRIMARY_GROUP' => 'Groupe par défaut', - - 'REMOVE_SELECTED' => 'Supprimer la sélection', - - 'USER_GROUP_CHANGE' => 'De “%1$s” vers “%2$s”', - 'USER_GROUP_DEMOTE' => 'Rétrograder le chef de groupe.', - 'USER_GROUP_DEMOTE_CONFIRM' => 'Êtes-vous sûr de vouloir rétrograder le chef de groupe sélectionné?', - 'USER_GROUP_DEMOTED' => 'Le chef de groupe a été rétrogradé en simple membre.', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/gym_sitemaps/acp/google_forum.php b/phpBB/language/fr/gym_sitemaps/acp/google_forum.php deleted file mode 100644 index cc6f2abac5..0000000000 --- a/phpBB/language/fr/gym_sitemaps/acp/google_forum.php +++ /dev/null @@ -1,65 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: google_forum.php 279 2010-11-26 09:19:15Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* google_forum [French] -* Translated By: Mathieu M. & gowap [ www.phpbb-seo.com ] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'GOOGLE_FORUM' => 'Sitemaps Forum', - 'GOOGLE_FORUM_EXPLAIN' => 'Il s’agit des paramètres du module Forum des Sitemaps Google.<br /> Certains paramètres peuvent être écrasés en fonction de votre configuration des priorités de paramétrage au niveau du type de rendu des Sitemaps Google et au niveau global.', - 'GOOGLE_FORUM_SETTINGS' => 'Paramètres des Sitemaps Forum', - 'GOOGLE_FORUM_SETTINGS_EXPLAIN' => 'Les paramètres suivants sont spécifiques au module Sitemaps Forum.', - 'GOOGLE_FORUM_STICKY_PRIORITY' => 'Priorité des Post-It', - 'GOOGLE_FORUM_STICKY_PRIORITY_EXPLAIN' => 'Priorité des Post-It (le nombre doit être compris entre 0.0 & 1.0 inclus).', - 'GOOGLE_FORUM_ANNOUCE_PRIORITY' => 'Priorité des annonces', - 'GOOGLE_FORUM_ANNOUCE_PRIORITY_EXPLAIN' => 'Priorité des annonces (le nombre doit être compris entre 0.0 & 1.0 inclus).', - 'GOOGLE_FORUM_GLOBAL_PRIORITY' => 'Priorité des annonces générales', - 'GOOGLE_FORUM_GLOBAL_PRIORITY_EXPLAIN' => 'Priorité des annonces générales (le nombre doit être compris entre 0.0 & 1.0 inclus).', - 'GOOGLE_FORUM_EXCLUDE' => 'Exclusion de forums', - 'GOOGLE_FORUM_EXCLUDE_EXPLAIN' => 'Sélectionnez les forums pour lesquels vous ne souhaitez pas de plan de sitemap<br /><u>Note</u> :<br />Si ce champ est laissé vide, tous les forums publics seront listés.', - // Reset settings - 'GOOGLE_FORUM_RESET' => 'Module Sitemaps Forum', - 'GOOGLE_FORUM_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut du module Sitemaps Forum.', - 'GOOGLE_FORUM_MAIN_RESET' => 'Configuration générale Sitemaps Forum', - 'GOOGLE_FORUM_MAIN_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut dans l’onglet "Paramètres Sitemaps Forum" du module Sitemaps Forum.', - 'GOOGLE_FORUM_CACHE_RESET' => 'Cache Sitemaps Forum', - 'GOOGLE_FORUM_CACHE_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées au cache du module Sitemaps Forum.', - 'GOOGLE_FORUM_MODREWRITE_RESET' => 'Réécriture d’URL Sitemaps Forum', - 'GOOGLE_FORUM_MODREWRITE_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées à la réécriture d’URL du module Sitemaps Forum.', - 'GOOGLE_FORUM_GZIP_RESET' => 'Compression GZip Sitemaps Forum', - 'GOOGLE_FORUM_GZIP_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées à la la compression GZip du module Sitemaps Forum.', - 'GOOGLE_FORUM_LIMIT_RESET' => 'Limites Sitemaps Forum', - 'GOOGLE_FORUM_LIMIT_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées aux limites du module Sitemaps Forum.', - 'GOOGLE_FORUM_SORT_RESET' => 'Tri Sitemaps Forum', - 'GOOGLE_FORUM_SORT_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées au tri du module Sitemaps Forum.', - 'GOOGLE_FORUM_PAGINATION_RESET' => 'Pagination Sitemaps Forum', - 'GOOGLE_FORUM_PAGINATION_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées à la pagination du module Sitemaps Forum.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/gym_sitemaps/acp/google_txt.php b/phpBB/language/fr/gym_sitemaps/acp/google_txt.php deleted file mode 100644 index 42b50a6e53..0000000000 --- a/phpBB/language/fr/gym_sitemaps/acp/google_txt.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: google_txt.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* google_txt [French] -* Translated By: Mathieu M. & gowap [ www.phpbb-seo.com ] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'GOOGLE_TXT' => 'Sitemaps TXT', - 'GOOGLE_TXT_EXPLAIN' => 'Il s’agit des paramètres du module TXT des Sitemaps Google. Il permet d’incorporer dans GYM Sitemaps des listes d’URLs à partir de fichiers texte (une URL par ligne) et ainsi leur faire partager toutes les fonctionnalités du MOD comme la gestion des styles XSL et le cache.<br />Certains paramètres peuvent être écrasés en fonction de votre configuration des priorités de paramétrage pour le type de rendu Google Sitemaps et pour le niveau principal.<br /><br />Chaque fichier texte ajouté dans le dossier gym_sitemaps/sources/ sera pris en compte une fois que vous aurez vidé le cache de configuration du module, via le lien maintenance ci-dessus.<br />Chaque liste d’URLs devra être composée d’une URL complète par ligne et suivre une règle simple pour les noms de fichiers : <b>google_</b>nom_de_fichier<b>.txt</b>.<br />Une entrée sera alors créée dans le SitemapIndex avec comme URL : <b>example.com/sitemap.php?txt=nom_de_fichier</b> ou <b>example.com/txt-nom_de_fichier.txt</b> en version réécrite.<br />Le nom des fichiers source ne peut comporter que des caractères alphanumériques (chiffres et lettres non accentuées) ainsi que les séparateurs "_" et "-".<br /><u style="color:red;">Note</u> :<br /> Il est conseillé d’activer le cache pour ce module afin d’éviter des traitements inutiles sur des fichiers texte volumineux.', - // Main - 'GOOGLE_TXT_CONFIG' => 'Paramètres Sitemaps TXT', - 'GOOGLE_TXT_CONFIG_EXPLAIN' => 'Certains paramètres peuvent être écrasés en fonction de votre configuration des priorités de paramétrage au niveau du type de rendu des Sitemaps Google et au niveau global.', - 'GOOGLE_TXT_RANDOMIZE' => 'Répartition aléatoire', - 'GOOGLE_TXT_RANDOMIZE_EXPLAIN' => 'Vous pouvez répartir aléatoirement les URLs récupérées dans les fichiers texte. Changer régulièrement l’ordre des URLs peut légèrement améliorer l’indexation. Cette option est également pratique dans le cas où le fichier texte source comporte plus de liens que la limite de résultats en sortie souhaitée (ex : limite à 1000 et fichier texte source contenant 5000 URLs). Dans ce cas, la répartition aléatoire permet de faire cycler l’ensemble des URLs dans les Sitemaps.', - 'GOOGLE_TXT_UNIQUE' => 'Supprimer les doublons', - 'GOOGLE_TXT_UNIQUE_EXPLAIN' => 'Activez cette option pour s’assurer que si la même URL apparait plusieurs fois dans le fichier texte source, elle ne sera affichée qu’une seule fois dans le Sitemap.', - 'GOOGLE_TXT_FORCE_LASTMOD' => 'Dernière modification', - 'GOOGLE_TXT_FORCE_LASTMOD_EXPLAIN' => 'Le module peut imposer pour toutes les URLs du Sitemap une date de dernière modification basée sur le rythme de régénération du cache (même s’il n’est pas activé). Le module en profitera par ailleurs pour définir des valeurs pour les priorités et les fréquences de mise à jour en fonction de la date de dernière modification. Par défaut, aucune balise <lastmod>, <priority> et <changefreq> ne seront ajoutées au Sitemap.', - // Reset settings - 'GOOGLE_TXT_RESET' => 'Module Sitemaps TXT', - 'GOOGLE_TXT_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut du module Sitemaps TXT.', - 'GOOGLE_TXT_MAIN_RESET' => 'Configuration générale du module Sitemaps TXT', - 'GOOGLE_TXT_MAIN_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut dans l’onglet "Paramètres Sitemaps TXT" du module Sitemaps TXT.', - 'GOOGLE_TXT_CACHE_RESET' => 'Cache Sitemaps TXT', - 'GOOGLE_TXT_CACHE_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées au cache du module Sitemaps TXT.', - 'GOOGLE_TXT_GZIP_RESET' => 'Compression GZip Sitemaps TXT', - 'GOOGLE_TXT_GZIP_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées à la la compression GZip du module Sitemaps TXT.', - 'GOOGLE_TXT_LIMIT_RESET' => 'Limites Sitemaps TXT', - 'GOOGLE_TXT_LIMIT_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées aux limites du module Sitemaps TXT.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/gym_sitemaps/acp/google_xml.php b/phpBB/language/fr/gym_sitemaps/acp/google_xml.php deleted file mode 100644 index 899004953f..0000000000 --- a/phpBB/language/fr/gym_sitemaps/acp/google_xml.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: google_xml.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* google_xml [French] -* Translated By: Mathieu M. & gowap [ www.phpbb-seo.com ] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'GOOGLE_XML' => 'Sitemaps XML', - 'GOOGLE_XML_EXPLAIN' => 'Il s’agit des paramètres du module XML des Sitemaps Google. Il permet d’incorporer dans GYM Sitemaps des listes d’URLs à partir de fichiers texte (une URL par ligne) et ainsi leur faire partager toutes les fonctionnalités du MOD comme la gestion des styles XSL et le cache.<br />Certains paramètres peuvent être écrasés en fonction de votre configuration des priorités des paramétrage pour le type de rendu Google Sitemaps et pour le niveau principal.<br /><br />Chaque fichier texte ajouté dans le dossier gym_sitemaps/sources/ sera pris en compte une fois que vous aurez vidé le cache de configuration du module, via le lien maintenance ci-dessus.<br />Chaque liste d’URLs devra être composée d’une URL complète par ligne et suivre une règle simple pour les noms de fichiers : <b>google_</b>nom_de_fichier<b>.xml</b>.<br />Une entrée sera alors crée dans le SitemapIndex avec comme URL : <b>example.com/sitemap.php?xml=nom_de_fichier</b> ou <b>example.com/xml-nom_de_fichier.xml</b> en version réécrite.<br />Le nom des fichiers source ne peut comporter que des caractères alphanumériques (chiffres et lettres non accentuées) ainsi que les séparateurs "_" et "-".<p>Vous pouvez également utiliser l’url complète d’un sitemap qui serait généré par une autre application, en configurant le fichier gym_sitemaps/sources/xml_google_external.php (voir les commentaires du fichier pour plus de dètails).</p><u style="color:red;">Note</u> :<br /> Il est conseillé d’activer le cache pour ce module afin d’éviter des traitements inutiles sur des fichiers xml volumineux.', - // Main - 'GOOGLE_XML_CONFIG' => 'Paramètres Sitemaps XML', - 'GOOGLE_XML_CONFIG_EXPLAIN' => 'Certains paramètres peuvent être écrasés en fonction de votre configuration des priorités de paramétrage au niveau du type de rendu des Sitemaps Google et au niveau global.', - 'GOOGLE_XML_RANDOMIZE' => 'Répartition aléatoire', - 'GOOGLE_XML_RANDOMIZE_EXPLAIN' => 'Vous pouvez répartir aléatoirement les URLs récupérées dans les fichiers xml. Changer régulièrement l’ordre des URLs peut légèrement améliorer l’indexation. Cette option est également pratique dans le cas où le fichier xml source comporte plus de liens que la limite de résultats en sortie souhaitée (ex : limite à 1000 et fichier xml source contenant 5000 URLs). Dans ce cas, la réparition aléatoire permet de faire cycler l’ensemble des URLs dans les Sitemaps.<br /><br /><u>Note</u> :<br />Cette option impose de traiter tout le fichier source élément par élément, il est conseiller de l’utiliser avec le cache activé.', - 'GOOGLE_XML_UNIQUE' => 'Supprimer les doublons', - 'GOOGLE_XML_UNIQUE_EXPLAIN' => 'Activez cette option pour s’assurer que si la même URL apparait plusieurs fois dans le fichier texte source, elle ne sera affichée qu’une seule dans le Sitemap.<br /><br /><u>Note</u> :<br />Cette option impose de traiter tout le fichier source élément par élément, il est conseiller de l’utiliser avec le cache activé.', - 'GOOGLE_XML_FORCE_LASTMOD' => 'Dernière modification', - 'GOOGLE_XML_FORCE_LASTMOD_EXPLAIN' => 'Le module peut imposer pour toutes les URLs du Sitemap une date de dernière modification basée sur le rythme de régénération du cache (même s’il n’est pas activé). Le module en profitera par ailleurs pour définir des valeurs pour les priorités et les fréquences de mise à jour en fonction de la date de dernière modification. Par défaut, le module reprendra les date fournies ou non par le fichier source.<br /><br /><u>Note</u> :<br />Cette option impose de traiter tout le fichier source élément par élément, il est conseiller de l’utiliser avec le cache activé.', - 'GOOGLE_XML_FORCE_LIMIT' => 'Forcer la limite', - 'GOOGLE_XML_FORCE_LIMIT_EXPLAIN' => 'Le module peut s’assurer qu’il n’y a pas plus de liens dans le fichier source que la limite imposée ci-dessus.<br /><br /><u>Note</u> :<br />Cette option impose de traiter tout le fichier source élément par élément, il est conseiller de l’utiliser avec le cache activé.', - // Reset settings - 'GOOGLE_XML_RESET' => 'Module Sitemaps XML', - 'GOOGLE_XML_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut du module Sitemaps XML.', - 'GOOGLE_XML_MAIN_RESET' => 'Configuration générale du module Sitemaps XML', - 'GOOGLE_XML_MAIN_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut dans l’onglet "Paramètres Sitemaps XML" du module Sitemaps XML.', - 'GOOGLE_XML_CACHE_RESET' => 'Cache Sitemaps XML', - 'GOOGLE_XML_CACHE_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées au cache du module Sitemaps XML.', - 'GOOGLE_XML_GZIP_RESET' => 'Compression GZip Sitemaps XML', - 'GOOGLE_XML_GZIP_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées à la la compression GZip du module Sitemaps XML.', - 'GOOGLE_XML_LIMIT_RESET' => 'Limites Sitemaps XML', - 'GOOGLE_XML_LIMIT_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées aux limites du module Sitemaps XML.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/gym_sitemaps/acp/gym_common.php b/phpBB/language/fr/gym_sitemaps/acp/gym_common.php deleted file mode 100644 index 7010163448..0000000000 --- a/phpBB/language/fr/gym_sitemaps/acp/gym_common.php +++ /dev/null @@ -1,264 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_common.php 259 2010-03-18 19:25:40Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* gym_common [French] -* Translated By: Mathieu M. & gowap [ www.phpbb-seo.com ] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - // Main - 'ALL' => 'Tout', - 'MAIN' => 'GYM Sitemaps', - 'MAIN_MAIN_RESET' => 'Options globales GYM Sitemaps', - 'MAIN_MAIN_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut du module GYM Sitemaps.', - // Linking setup - 'GYM_LINKS_ACTIVATION' => 'Affichage des liens sur le forum', - 'GYM_LINKS_MAIN' => 'Liens principaux', - 'GYM_LINKS_MAIN_EXPLAIN' => 'Afficher ou non les liens vers les pages principales de GYM en pied de page : SitemapIndex, Flux RSS principal et liste des flux, index des plans et pages de news principale.', - 'GYM_LINKS_INDEX' => 'Liens sur l’index', - 'GYM_LINKS_INDEX_EXPLAIN' => 'Afficher ou non les liens vers les différent plans, flux, news et sitemaps de chaque forum sur l’index du forum. Ces liens sont ajoutés sous la descriptions des forums.', - 'GYM_LINKS_CAT' => 'Liens des forums', - 'GYM_LINKS_CAT_EXPLAIN' => 'Afficher ou non les liens vers les différent plans, flux, news et sitemaps du forum en cours. Ces liens sont ajoutés sous le titre du forum.', - // Google sitemaps - 'GOOGLE' => 'Sitemaps Google', - 'GOOGLE_URL' => 'URL du Sitemap Google', - // Reset settings - 'GOOGLE_MAIN_RESET' => 'Options globales Sitemaps Google', - 'GOOGLE_MAIN_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut des Sitemaps Google.', - // RSS feeds - 'RSS' => 'Flux RSS', - 'RSS_URL' => 'URL du flux RSS', - 'RSS_ALTERNATE' => 'Liens alternate RSS', - 'RSS_ALTERNATE_EXPLAIN' => 'Afficher ou nons les liens alternate RSS dans la barre de navigation des navigateurs', - 'RSS_LINKING_TYPE' => 'Type de Liens RSS', - 'RSS_LINKING_TYPE_EXPLAIN' => 'Le type de flux dont les liens seront affichés sur les pages du forum.<br/>Peut prendre les valeurs :<br/><b>• Flux News avec ou sans contenu</b><br/>Les éléments sont affichés dans l’ordre de parution, avec ou sans contenu,<br/><b>• Flux Standards avec ou sans contenu</b><br/>Les éléments sont affichés dans l’ordre modification, avec ou sans contenu.<br/>Cette option n’affecte que les liens affichés automatiquement, pas les flux effectivement disponibles.', - 'RSS_LINKING_NEWS' => 'Flux News', - 'RSS_LINKING_NEWS_DIGEST' => 'Flux News avec contenu', - 'RSS_LINKING_REGULAR' => 'Flux Standards', - 'RSS_LINKING_REGULAR_DIGEST' => 'Flux Standards avec contenu', - // Reset settings - 'RSS_MAIN_RESET' => 'Options globales Flux RSS', - 'RSS_MAIN_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut des flux RSS.', - 'YAHOO' => 'Yahoo', - // HTML - 'HTML_MAIN_RESET' => 'Options globales HTML', - 'HTML_MAIN_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut des plan et news HTML', - 'HTML' => 'Html', - 'HTML_URL' => 'URL de la page du module HTML', - - // GYM authorisation array - 'GYM_AUTH_ADMIN' => 'Admin', - 'GYM_AUTH_GLOBALMOD' => 'Modérateurs Globaux', - 'GYM_AUTH_REG' => 'Connéctés', - 'GYM_AUTH_GUEST' => 'Invités', - 'GYM_AUTH_ALL' => 'Tous', - 'GYM_AUTH_NONE' => 'Aucun', - // XSLT - 'GYM_STYLE' => 'Style', - - // Cache status - 'SEO_CACHE_FILE_TITLE' => 'Statut du cache', - 'SEO_CACHE_STATUS' => 'Le dossier configuré pour le cache est : <b>%s</b>', - 'SEO_CACHE_FOUND' => 'Le dossier du cache à bien été trouvé.', - 'SEO_CACHE_NOT_FOUND' => 'Le dossier du cache n’à pas été trouvé.', - 'SEO_CACHE_WRITABLE' => 'Le dossier du cache dispose des permissions en écriture.', - 'SEO_CACHE_UNWRITABLE' => 'Le dossier du cache ne dispose <b>pas</b> des permissions en écriture. Vous devez appliquer un CHMOD 0777 sur le dossier.', - - // Mod Rewrite - 'ACP_SEO_SIMPLE' => 'Simple', - 'ACP_SEO_MIXED' => 'Intermédiaire', - 'ACP_SEO_ADVANCED' => 'Avancé', - 'ACP_PHPBB_SEO_VERSION' => 'Version', - 'ACP_SEO_SUPPORT_FORUM' => 'Forum de support', - 'ACP_SEO_RELEASE_THREAD' => 'Sujet de mise à disposition', - 'ACP_SEO_REGISTER_TITLE' => 'enregistré', - 'ACP_SEO_REGISTER_UPDATE' => 'tenu informé des mises à jour.', - 'ACP_SEO_REGISTER_MSG' => 'Vous devez être %1$s pour être %2$s', - - // Maintenance - 'GYM_MAINTENANCE' => 'Maintenance', - 'GYM_MODULE_MAINTENANCE' => '%1$s maintenance', - 'GYM_MODULE_MAINTENANCE_EXPLAIN' => 'Vous pouvez gérer le cache utilisé par les modules %1$s.<br />Il y a deux sortes de cache : celui utilisé pour stocker les données affichées sur les pages publiques et celui utilisé pour la configuration des modules. Pour l’effacement du cache, par défaut c’est le cache de contenu qui est effacé pour les modules sélectionnés. Vous pouvez effacer le cache de configuration du/des module(s) sélectionnés en positionnant l’option "effacer le cache de configuration du module" sur Oui.', - 'GYM_CLEAR_CACHE' => 'Effacer le cache du module %1$s', - 'GYM_CLEAR_CACHE_EXPLAIN' => 'Vous pouvez effacer les fichiers du cache de contenu du module %1$s. Ces fichiers contiennent les données utilisées pour construire l’affichage du module %1$s.<br />Il peut être utile de les effacer pour forcer manuellement la mise à jour du cache.', - 'GYM_CLEAR_ACP_CACHE' => 'Effacer le cache de configuration du module %1$s', - 'GYM_CLEAR_ACP_CACHE_EXPLAIN' => 'Plutôt que d’effacer le cache de contenu, vous pouvez choisir d’effacer les fichiers du cache de configuration du module %1$s. Ces fichiers contiennent les données utilisées pour construire le panneau d’administration du module %1$s.<br />Il peut être utile de les effacer pour faire apparaitre de nouvelles options, introduites par exemple par une mise à jour du module.', - 'GYM_CACHE_CLEARED' => 'Vidage du cache réussie dans : ', - 'GYM_CACHE_NOT_CLEARED' => 'Un problème est survenu pendant le vidage du cache, veuillez vérifier les permissions du dossier (CHMOD 0666 ou 0777).<br />Le dossier configuré actuellement pour le cache est :', - 'GYM_FILE_CLEARED' => 'Fichier(s) effacé(s) : ', - 'GYM_CACHE_ACCESSED' => 'Le cache à vider ne contenait aucun élement, aucun fichier n’a donc été effacé dans : ', - 'MODULE_CACHE_CLEARED' => 'Vidage du cache de configuration du module effectué, si vous venez d’uploader un module, son panneau de configuration sera désormais visible.', - - // set defaults - 'GYM_SETTINGS' => 'Paramètres', - 'GYM_RESET_ALL' => 'Tout réinitialiser', - 'GYM_RESET_ALL_EXPLAIN' => 'Si vous cochez cette option, tous les jeux d’options ci-dessus seront rétablis à leurs valeurs par défaut.', - 'GYM_RESET' => 'Réinitialiser la configuration du module %1$s', - 'GYM_RESET_EXPLAIN' => 'Vous pouvez ci-dessous réinitialiser les options du module %1$s, soit du module complet, soit d’une sélection de paramètres.', - - 'GYM_INSTALL' => 'Installation', - 'GYM_MODULE_INSTALL' => 'Installer le module %1$s', - 'GYM_MODULE_INSTALL_EXPLAIN' => 'Vous pouvez activer / désactiver le module %1$s.<br />Si vous venez d’uploader un module, vous devez l’activer avent de pouvoir l’utiliser.<br />Si malgré tout vous ne le voyez pas, essayer d’effacer son cache de configuration dans la partie maintenance.', - - // Titles - 'GYM_MAIN' => 'Paramètres du MOD GYM Sitemaps', - 'GYM_MAIN_EXPLAIN' => 'Il s’agit des paramètres communs à tous les types de rendu et tous les modules.<br /> Ils peuvent être appliqués à tous les types de rendu (Sitemaps Google, flux RSS ...) et/ou tous les modules en fonction de vos priorités de paramétrage.', - 'MAIN_MAIN' => 'Vue d’ensemble du MOD GYM Sitemaps', - 'MAIN_MAIN_EXPLAIN' => 'Le MOD GYM Sitemaps est un MOD phpBB très flexible et optimisé pour le référencement. Il vous permettra de construire des Sitemaps Google et des flux RSS 2.0 pour votre forum comme pour toute autre partie de votre site grâce à sa modularité.<br /><br /> Chaque type de rendu (Sitemaps Google, flux RSS ...) peut récupérer des éléments de plusieurs applications installées sur votre site (forum, album, etc.) en utilisant un module dédié.<br />Vous pouvez activer / désactiver chaque module en utilisant le panneau d’administration ; chaque module possède ses propres pages de configuration.<br /><br />Assurez vous d’avoir vérifié le %1$s, le support est assuré sur notre %2$s.<br />Le support et les discussions sur le référencement se font sur %3$s.<br />%4$s<br />Amusez vous bien ;-)', - - 'GYM_GOOGLE' => 'Sitemaps Google', - 'GYM_GOOGLE_EXPLAIN' => 'Il s’agit des paramètres communs à tous les modules de type Sitemaps Google (forum, personnalisé, etc.).<br /> Ils peuvent être appliqués à tous les modules de type Sitemaps Google en fonction de votre configuration des priorités de paramétrage pour ce type de rendu et pour le niveau principal.', - 'GYM_RSS' => 'Flux RSS', - 'GYM_RSS_EXPLAIN' => 'Il s’agit des paramètres communs à l’ensemble des modules de type flux RSS (forum, personnalisé, etc.).<br /> Ils peuvent être appliqués à tous les modules de type flux RSS en fonction de votre configuration des priorités des paramétrage pour ce type de rendu et pour le niveau principal.', - 'GYM_HTML' => 'Pages HTML', - 'GYM_HTML_EXPLAIN' => 'Il s’agit des paramètres communs à l’ensemble des modules de type HTML (forum, personnalisé, etc.).<br /> Ils peuvent être appliqués à tous les modules de type HTML en fonction de votre configuration des priorités des paramétrage pour ce type de rendu et pour le niveau principal.', - 'GYM_MODULES_INSTALLED' => 'Module(s) actif(s)', - 'GYM_MODULES_UNINSTALLED' => 'Module(s) inactif(s)', - - // Overrides - 'GYM_OVERRIDE_GLOBAL' => 'Global', - 'GYM_OVERRIDE_OTYPE' => 'Type de Rendu', - 'GYM_OVERRIDE_MODULE' => 'Module', - - // override messages - 'GYM_OVERRIDED_GLOBAL' => 'Cette option est actuellement écrasée par un paramétrage prioritaire au niveau global (Configuration générale)', - 'GYM_OVERRIDED_OTYPE' => 'Cette option est actuellement écrasée par un paramétrage prioritaire au niveau du type de rendu', - 'GYM_OVERRIDED_MODULE' => 'Cette option est actuellement écrasée par un paramétrage prioritaire au niveau du module', - 'GYM_OVERRIDED_VALUE' => 'La valeur prise en compte actuellement est : ', - 'GYM_OVERRIDED_VALUE_NOTHING' => 'rien', - 'GYM_COULD_OVERRIDE' => 'Cette option peut être écrasée via les priorités mais ne l’est pas actuellement.', - - // Overridable / common options - 'GYM_CACHE' => 'Cache', - 'GYM_CACHE_EXPLAIN' => 'Vous pouvez définir ici diverses options liées au cache. Rappelez vous que ces paramètres peuvent être écrasés en fonction de votre configuration des priorités de paramétrage.', - 'GYM_MOD_SINCE' => 'Modifié depuis', - 'GYM_MOD_SINCE_EXPLAIN' => 'Permet de vérifier si le navigateur n’aurait pas une version à jour de la page demandée dans son cache pour le cas échéant lui demander de s’en servir plutôt que de solliciter le serveur inutilement.<br /><br /><u>Note</u> :<br /> Cette option concerne tous les types de rendu.', - 'GYM_CACHE_ON' => 'Activer la mise en cache', - 'GYM_CACHE_ON_EXPLAIN' => 'Vous pouvez activer / désactiver la mise en cache pour ce module.', - 'GYM_CACHE_FORCE_GZIP' => 'Forcer la compression du cache', - 'GYM_CACHE_FORCE_GZIP_EXPLAIN' => 'Vous permet de forcer la compression des fichiers en cache via compression GZip. Cela peut vous aider si vous manquez d’espace sur votre serveur, mais cela augmentera la charge de travail du serveur qui devra décompresser les fichiers avant de les envoyer aux navigateurs ne supportant pas la compression GZip.', - 'GYM_CACHE_MAX_AGE' => 'Durée de vie du cache', - 'GYM_CACHE_MAX_AGE_EXPLAIN' => 'Nombre maximal d’heures pendant lesquelles un fichier en cache sera utilisé avant d’être mis à jour. Si cette durée est atteinte et que la régénération automatique du cache est activée, tout fichier en cache sera rafraîchi lorsque quelqu’un y fera appel. Dans le cas contraire le cache sera uniquement remis à jour sur demande dans le panneau d’administration.', - 'GYM_CACHE_AUTO_REGEN' => 'Régénération automatique du cache', - 'GYM_CACHE_AUTO_REGEN_EXPLAIN' => 'Si vous activez la régénération automatique du cache, les listes générées seront remises à jour dès expiration du cache. Sinon, il vous faudra manuellement vider le cache à partir du menu Maintenance pour que les URLs récentes apparaissent dans vos listes.', - 'GYM_SHOWSTATS' => 'Statistiques du cache', - 'GYM_SHOWSTATS_EXPLAIN' => 'Afficher ou non les statistiques des durées de génération dans le code source.<br /><br /><u>Note</u> :<br />La durée de génération correspond au temps nécessaire pour générer la page. Cette étape n’est pas répétée lors d’un affichage depuis le cache', - 'GYM_CRITP_CACHE' => 'Crypter le nom des fichiers en cache', - 'GYM_CRITP_CACHE_EXPLAIN' => 'Il est plus sécurisé de crypter le nom des fichiers en cache, mais il peut être pratique de vérifier leurs noms en clair pour débugger.<br /><br /><u>Note</u> :<br /> Cette option concerne tous les types de fichiers en cache.', - - 'GYM_MODREWRITE' => 'Réécriture d’URL', - 'GYM_MODREWRITE_EXPLAIN' => 'Vous pouvez définir ici plusieurs options de réécriture d’URL. Rappelez vous que ces paramètres peuvent être écrasés en fonction de votre configuration des priorités de paramétrage.', - 'GYM_MODREWRITE_ON' => 'Activer la réécriture d’URL', - 'GYM_MODREWRITE_ON_EXPLAIN' => 'Ceci active la réécriture d’URL pour les liens du module.<br /><br /><u>Note</u> :<br />Vous DEVEZ utiliser un serveur Apache avec le module mod_rewrite activé ou un serveur IIS avec le module isapi_rewrite ET configurer correctement les règles de rééecriture du module dans votre fichier .htaccess (ou httpd.ini avec IIS ).', - 'GYM_ZERO_DUPE_ON' => 'Activer le Zéro Duplicate', - 'GYM_ZERO_DUPE_ON_EXPLAIN' => 'Ceci active le Zéro Duplicate pour les liens du module.<br /><br /><u>Note</u> :<br /> les redirections ne seront fonctionnelles qu’après (re)génération du cache.', - 'GYM_MODRTYPE' => 'Type de réécriture d’URL', - 'GYM_MODRTYPE_EXPLAIN' => 'Si vous utilisez le MOD Rewrite de phpBB SEO, ces options seront écrasées par des valeurs détectées automatiquement.<br />Quatre niveaux de réécriture d’URL peuvent être utilisés : Aucun, Simple, Intermédiaire et Avancé :<br /><ul><li><b>Aucun :</b> pas de réécriture d’URL.<br /></li><li><b>Simple :</b> réécriture d’URL statique pour tous les liens, pas d’injection de titre.<br /></li><li><b>Intermédiaire :</b> les titres de forums et de catégories sont injectés dans les URLs, mais les titres de sujets restent réécrits statiquement.<br /></li><li><b>Avancé :</b> tous les titres sont injectés dans les URLs.</li></ul>', - - 'GYM_GZIP' => 'GZip', - 'GYM_GZIP_EXPLAIN' => 'Vous pouvez définir ici plusieurs options pour la compression GZip. Rappelez vous que ces paramètres peuvent être écrasés en fonction de votre configuration des priorités de paramétrage.%1$s', - 'GYM_GZIP_FORCED' => '<br /><b style="color:red;">NOTE :</b> La compression GZip est activée dans la configuration de phpBB. Elle sera donc forcée dans le module.', - 'GYM_GZIP_CONFIGURABLE' => '<br /><b style="color:red;">NOTE :</b> La compression GZip n’est pas activée dans la configuration de phpBB. Vous pouvez configurer les options ci-dessous à votre convenance.', - 'GYM_GZIP_ON' => 'Activer la compression GZip', - 'GYM_GZIP_ON_EXPLAIN' => 'Activer la compression GZip permet de diminuer substantiellement la taille des fichiers transmis au navigateur et donc de réduire la durée de transmission.', - 'GYM_GZIP_EXT' => 'Suffixe GZip', - 'GYM_GZIP_EXT_EXPLAIN' => 'Vous pouvez choisir d’utiliser ou non l’extension .gz dans les URLs du module. Cela s’applique uniquement si la compression GZip et la réécriture d’URL sont activées.', - 'GYM_GZIP_LEVEL' => 'Niveau de compression GZip', - 'GYM_GZIP_LEVEL_EXPLAIN' => 'Nombre entier entre 1 et 9, 9 étant la compression la plus élevée. Il n’est généralement pas utile d’aller au delà de 6.<br /><br /><u>Note</u> :<br /> Cette option concerne tous les types de rendu.', - - 'GYM_LIMIT' => 'Limites', - 'GYM_LIMIT_EXPLAIN' => 'Vous pouvez définir ici les limites à appliquer lors de la génération des différents résultats : nombre d’URLs, cycles SQL (nombre d’éléments par requête SQL) et âge des éléments listés.<br />Rappelez vous que ces paramètres peuvent être écrasés en fonction de votre configuration des priorités de paramétrage.', - 'GYM_URL_LIMIT' => 'Limite du nombre d’éléments', - 'GYM_URL_LIMIT_EXPLAIN' => 'Le nombre maximum d’éléments à générer.', - 'GYM_SQL_LIMIT' => 'Cycles SQL', - 'GYM_SQL_LIMIT_EXPLAIN' => 'Pour tous les types de rendu (hormis les plans html), les requêtes SQL sont divisées en plusieurs cycles afin de pouvoir lister un grand nombre d’éléments sans lancer de requêtes trop consommatrices de ressources.<br />Définissez ici le nombre maximum d’éléments à requêter lors d’un cycle. Le nombre de requêtes SQL nécessaires sera égal au nombre d’éléments listés divisé par le nombre d’élements par cycle.', - 'GYM_TIME_LIMIT' => 'Limite temporelle', - 'GYM_TIME_LIMIT_EXPLAIN' => 'Permet de limiter en nombre de jours, l’ancienneté maximale des éléments pris en compte dans les listes. Peut s’avérer utile pour limiter la charge serveur avec des bases de données volumineuses. Entrez 0 pour aucune limite.', - - 'GYM_SORT' => 'Tri', - 'GYM_SORT_EXPLAIN' => 'Vous pouvez choisir ici la façon de trier les résultats.<br />Rappelez vous que ces paramètres peuvent être écrasés en fonction de votre configuration des priorités de paramétrage.', - 'GYM_SORT_TYPE' => 'Ordre de tri par défaut', - 'GYM_SORT_TYPE_EXPLAIN' => 'Par défaut les liens sont tous triés par date de dernière activité (tri descendant). <br /> Vous pouvez basculer en tri ascendant pour par exemple permettre aux moteurs de recherche de trouver facilement des liens vers du contenu ancien.<br />Rappelez vous que ces paramètres peuvent être écrasés en fonction de votre configuration des priorités de paramétrage.', - - 'GYM_PAGINATION' => 'Pagination', - 'GYM_PAGINATION_EXPLAIN' => 'Vous pouvez définir ici des options variées concernant la pagination. Rappelez vous que ces paramètres peuvent être écrasés en fonction de votre configuration des priorités de paramétrage.', - 'GYM_PAGINATION_ON' => 'Activer la pagination', - 'GYM_PAGINATION_ON_EXPLAIN' => 'Vous pouvez décider de produire des listes d’élements avec pagination (si disponible). Pour un sujet de forum par exemple, cela se traduira par l’ajout de liens additionnels vers les différentes pages du sujet.', - 'GYM_LIMITDOWN' => 'Pagination: limite basse', - 'GYM_LIMITDOWN_EXPLAIN' => 'Entrez le nombre de pages (en partant de la première) à intégrer dans le résultat.', - 'GYM_LIMITUP' => 'Pagination: limite haute', - 'GYM_LIMITUP_EXPLAIN' => 'Entrez le nombre de pages (en partant de la dernière) à intégrer dans le résultat.', - - 'GYM_OVERRIDE' => 'Priorités', - 'GYM_OVERRIDE_EXPLAIN' => 'GYM Sitemaps est un composant avec une approche flexible basée sur les modules. Chaque type de rendu (Sitemaps Google, flux RSS, etc.) utilise ses propres modules pour produire différents types de listes d’éléments. Le premier module disponible pour chaque type de rendu est par exemple le module forum, listant les éléments du forum.<br /><br />Plusieurs options telles que la réécriture d’URL, le cache, la compression GZip, etc. sont répétées à différents niveaux du panneau d’administration du MOD GYM Sitemaps. Cela permet d’utiliser des paramétrages différents pour la même option en fonction du type de rendu et du module générant les résultats. Cependant, vous pourriez préférer activer par exemple la réécriture d’URL sur tous les modules en une seule fois (tous les types de rendu et tous les modules).<br /> C’est à cela que sert le paramétrage de l’héritage des options.<br /><br />Le processus d’héritage des options part du niveau le plus élevé, la configuration générale pour passer ensuite au niveau des types de rendu (Sitemaps Google, flux RSS, etc.) pour finir au plus bas niveau, les modules individuels (forum, album, etc.).<br />L’héritage des paramètres peut prendre trois valeurs distinctes :<br /><ul><li><b>Global :</b> Les paramètres de la configuration générale sont utilisés<br /></li><li><b>Type de rendu :</b> Les paramètres définis au niveau du type de rendu (Sitemaps Google, flux RSS, etc.) seront utilisés pour chacun des modules de ce type de rendu.<br /></li><li><b>Module :</b> Le niveau de priorité le plus faible sera utilisé en premier. Exemple : utilisation du paramètre défini au niveau du module; s’il n’est pas défini, utilisation du paramètre défini au niveau du type de rendu; si celui ci n’est pas défini non plus, utilisation du paramètre de la configuration générale.</li></ul>', - 'GYM_OVERRIDE_ON' => 'Héritage à partir de la configuration générale', - 'GYM_OVERRIDE_ON_EXPLAIN' => 'Vous pouvez activer ou désactiver l’héritage à partir de la configuration générale. Désactiver cette option revient à paramétrer les différents types d’héritage suivants sur la valeur "Type de rendu", laissant les priorités définies au niveau du type de rendu définir celles au niveau module.', - 'GYM_OVERRIDE_MAIN' => 'Héritage par défaut', - 'GYM_OVERRIDE_MAIN_EXPLAIN' => 'Défini de quel niveau seront héritées les options qui n’appartiennent pas à l’un des types d’options prédéfinis ci-dessous.', - 'GYM_OVERRIDE_CACHE' => 'Héritage des options du cache', - 'GYM_OVERRIDE_CACHE_EXPLAIN' => 'Défini d’où sont héritées les options liées au cache.', - 'GYM_OVERRIDE_GZIP' => 'Héritage des options de compression GZip', - 'GYM_OVERRIDE_GZIP_EXPLAIN' => 'Défini d’où sont héritées les options liés à la compression GZip.', - 'GYM_OVERRIDE_MODREWRITE' => 'Héritage des options de réécriture d’URL', - 'GYM_OVERRIDE_MODREWRITE_EXPLAIN' => 'Défini d’où sont héritées les options liées à la réécriture d’URL.', - 'GYM_OVERRIDE_LIMIT' => 'Héritage des options sur les limites', - 'GYM_OVERRIDE_LIMIT_EXPLAIN' => 'Défini d’où sont héritées les options liées aux limites.', - 'GYM_OVERRIDE_PAGINATION' => 'Héritage des options de pagination', - 'GYM_OVERRIDE_PAGINATION_EXPLAIN' => 'Défini d’où sont héritées les options liées à la pagination.', - 'GYM_OVERRIDE_SORT' => 'Héritage des options de tri', - 'GYM_OVERRIDE_SORT_EXPLAIN' => 'Défini d’où sont héritées les options liées au tri.', - - // Mod rewrite - 'GYM_MODREWRITE_ADVANCED' => 'Avancé', - 'GYM_MODREWRITE_MIXED' => 'Intermédiaire', - 'GYM_MODREWRITE_SIMPLE' => 'Simple', - 'GYM_MODREWRITE_NONE' => 'Aucun', - - // Sorting - 'GYM_ASC' => 'Ascendant', - 'GYM_DESC' => 'Descendant', - - // Other - // robots.txt - 'GYM_CHECK_ROBOTS' => 'Vérifier les exclusions du fichier robots.txt', - 'GYM_CHECK_ROBOTS_EXPLAIN' => 'Vérifier et appliquer aux listes d’URLs les exclusions du fichier robots.txt s’il existe. Le MOD prend en compte automatiquement les mises à jour du fichier robots.txt.<br />Cette option est particulièrement pratique pour les imports TXT et XML, quand on n’est pas certain que les listes d’URLs importées ne contiennent aucune URL interdite.<br/><br /><u>Note</u> :<br />Cette option impose plus de travail sur le fichier source, il est conseillé de l’utiliser avec le cache activé.', - // summarize method - 'GYM_METHOD_CHARS' => 'Par nombre de lettres', - 'GYM_METHOD_WORDS' => 'Par nombre de mots', - 'GYM_METHOD_LINES' => 'Par nombre de lignes', - - // script location checking - 'GYM_WRONG_PHPBB_URL' => 'Les paramètres serveur de phpBB ne sont pas correct. Vous devez configurer vos <a href="%1$s"><b>Paramètres des URLs du serveur</b></a> convenablement.<br/><a href="http://www.phpbb-seo.com/fr/forum-phpbb/parametres-serveur-cookie-t4464.html" onclick ="window.open(this.href); return false;">Plus d’explications à ce sujet</a>', - 'GYM_WRONG_SCRIPT_URL' => 'L’URL configurée pour le mode <b>%1$s</b> n’est pas correcte. Elle doit normallement permettre d’atteindre le fichier <b>%2$s</b> sur votre serveur.', - 'GYM_WRONG_SCRIPT_DOMAIN' => 'L’URL configurée pour le mode <b>%1$s</b> n’est pas compatible avec celle de phpBB. Elle doit utiliser le même domaine ou sous domaine et le même protocol (http:// ou https://) que phpBB. Elle doit contenir <b>%2$s</b> et permettre d’atteindre le dossier dans lequel se trouve <b>%3$s</b> sur votre serveur.', - 'GYM_WRONG_SCRIPT2_PHPBB' => 'Bien que l’URL configurée pour le mode <b>%1$s</b> soit correcte, le chemin vers phpbb ($phpbb_root_path) configuré dans le fichier <b>%2$s%3$s</b> ne l’est pas. Cela arrive uniquement quand la valeur de $phpbb_root_path est modifiée manuellement et / ou que le fichier est déplacé.<br/>Notez que $phpbb_root_path doit être un chemin relatif valide depuis le dossier de <b>%3$s</b> vers le dossier de phpBB et qu’il doit commencer par "./".<br/>D’après vos réglages actuels, $phpbb_root_path devrait prendre la valeur <b>%4$s</b> dans <b>%3$s</b>.', - 'GYM_WRONG_SITEMAP_LOCATION' => 'Votre fichier <b>sitemap.php</b> se trouve à un endroit ou il ne peut être utilisé pour lister les URL de votre forum.<br/>Il doit en effet se trouver <b>à l’interieur ou au dessus</b> du dossier de phpBB pour être valide.<br/>Emplacement configuré : <b>%1$s</b><br/>Emplacement de phpBB : <b>%2$s</b>', - 'GYM_GO_CONFIG_SCRIPT_URL' => 'Modifier la configuration : <a href="%2$s"><b>%1$s</b></a>', -)); -?> diff --git a/phpBB/language/fr/gym_sitemaps/acp/gym_google.php b/phpBB/language/fr/gym_sitemaps/acp/gym_google.php deleted file mode 100644 index 55bd5d42e2..0000000000 --- a/phpBB/language/fr/gym_sitemaps/acp/gym_google.php +++ /dev/null @@ -1,66 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_google.php 259 2010-03-18 19:25:40Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* gym_common [French] -* Translated By: Mathieu M. & gowap [ www.phpbb-seo.com ] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'GOOGLE_MAIN' => 'Paramètres des Sitemaps Google', - 'GOOGLE_MAIN_EXPLAIN' => 'Paramètres principaux du type de rendu Sitemaps Google.<br />Par défaut, ils s’appliqueront à tous les modules du type de rendu Sitemaps Google.', - // Linking setup - 'GOOGLE_LINKS_ACTIVATION' => 'Affichage des liens sitemaps sur le forum', - 'GOOGLE_LINKS_MAIN' => 'Liens principaux', - 'GOOGLE_LINKS_MAIN_EXPLAIN' => 'Afficher ou non les liens vers le sitemapindex en pied de page.<br/>Cette option nécéssite que l’affichage des liens principaux soit activé dans la configuration générale.', - 'GOOGLE_LINKS_INDEX' => 'Liens sur l’index', - 'GOOGLE_LINKS_INDEX_EXPLAIN' => 'Afficher ou non les liens vers les sitemaps de chaque forum sur l’index du forum. Ces liens sont ajoutés sous la descriptions des forums.<br/>Cette option nécéssite que l’affichage des liens sur l’index soit activé dans la configuration générale.', - 'GOOGLE_LINKS_CAT' => 'Liens des forums', - 'GOOGLE_LINKS_CAT_EXPLAIN' => 'Afficher ou non les liens vers le sitemaps du forum en cours. Ce liens est ajoutés sous le titre du forum.<br/>Cette option nécéssite que l’affichage des liens des forums soit activé dans la configuration générale.', - // Reset settings - 'GOOGLE_ALL_RESET' => '<b>Tous<b> les modules Sitemaps Google', - 'GOOGLE_URL_EXPLAIN' => 'Entrez l’URL complète de votre SitemapIndex, par exemple http://www.example.com/eventual_dir/ si le fichier sitemap.php est installé dans http://www.example.com/eventual_dir/.<br />Cette option est utile lorsque phpBB n’est pas installé à la racine de votre domaine et que vous désirez lister dans vos Sitemaps Google des URLs situées à la racine du domaine.', - 'GOOGLE_PING' => 'Ping Google', - 'GOOGLE_PING_EXPLAIN' => 'Prévient Google (ping) chaque fois qu’un Sitemap est rafraîchi.', - 'GOOGLE_THRESHOLD' => 'Limite d’activation des sitemaps', - 'GOOGLE_THRESHOLD_EXPLAIN' => 'Nombre d’éléments minimum contenu dans un sitemap. Dans le cas du forum, seul les forums ayant plus de sujets que cette limite auront un sitemap.', - 'GOOGLE_PRIORITIES' => 'Priorité', - 'GOOGLE_DEFAULT_PRIORITY' => 'Priorité par défaut', - 'GOOGLE_DEFAULT_PRIORITY_EXPLAIN' => 'Cette priorité par défaut sera utilisée pour les URLs listées dans les Sitemaps Google sauf si des options supplémentaires sont disponibles au niveau des modules (le nombre doit être compris entre 0.0 & 1.0 inclus)', - 'GOOGLE_XSLT' => 'Style XSL', - 'GOOGLE_XSLT_EXPLAIN' => 'Active la feuille de style XSL pour obtenir un affichage visuellement agréable avec entre autres des liens cliquables. Ceci ne prendra effet que lorsque vous aurez vidé le cache des Sitemaps Google depuis le menu "Maintenance".', - 'GOOGLE_LOAD_PHPBB_CSS' => 'Charger les CSS de phpBB', - 'GOOGLE_LOAD_PHPBB_CSS_EXPLAIN' => 'Le MOD GYM Sitemaps utilise le système de styles de phpBB3. Les feuilles de style XSL utilisées pour produire le fichier html en sortie sont compatibles avec le système de styles de phpBB3.<br />Avec ce paramétrage, plutôt que d’utiliser le style par défaut, vous pouvez appliquer la feuille de style de phpBB à la feuille de style XSL. De cette façon, toutes vos personnalisations de thème telles que le fond, les couleurs de polices ou encore les images seront utilisées en sortie pour l’affichage des Sitemaps Google.<br />Ceci ne prendra effet que lorsque vous aurez vidé le cache des Sitemaps Google depuis le menu "Maintenance".<br />Si les fichiers de style des Sitemaps Google ne sont pas disponibles sur le style utilisé, le style par défaut (toujours disponible et basé sur Prosilver) sera utilisé.<br />N’essayez pas d’utiliser les templates de Prosilver avec un autre style, les CSS ne correspondront certainement pas.', - // Auth settings - 'GOOGLE_AUTH_SETTINGS' => 'Paramètres liés aux autorisations', - 'GOOGLE_ALLOW_AUTH' => 'Autorisations', - 'GOOGLE_ALLOW_AUTH_EXPLAIN' => 'Active les autorisations pour les sitemaps. Si activé, les utilisateurs connectés et les bots pourront voir les sitemaps des forum privés s’ils ont les autorisations nécessaires.', - 'GOOGLE_CACHE_AUTH' => 'Cache des sitemaps privés', - 'GOOGLE_CACHE_AUTH_EXPLAIN' => 'Vous pouvez désactiver le cache pour les sitemaps privés si les autorisations sont activées.<br /> Mettre en cache les sitemaps privés augmentera le nombre de fichiers en cache, ce qui ne devrait pas poser de problème en général. Cependant cette option vous permet de décider de ne mettre en cache que les sitemaps publics.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/gym_sitemaps/acp/gym_html.php b/phpBB/language/fr/gym_sitemaps/acp/gym_html.php deleted file mode 100644 index 873154ac63..0000000000 --- a/phpBB/language/fr/gym_sitemaps/acp/gym_html.php +++ /dev/null @@ -1,154 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_html.php 259 2010-03-18 19:25:40Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* gym_html [French] -* Translated By: dcz [ www.phpbb-seo.com ] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'HTML_MAIN' => 'Paramètres des plans html', - 'HTML_MAIN_EXPLAIN' => 'Il s’agit des paramètres principaux pour le module de pages html.<br />Ils peuvent être appliqués à l’ensemble des modules HTML selon vos paramètres d’héritage des options HTML.', - // Linking setup - 'HTML_LINKS_ACTIVATION' => 'Affichage des liens sitemaps sur le forum', - 'HTML_LINKS_MAIN' => 'Liens principaux', - 'HTML_LINKS_MAIN_EXPLAIN' => 'Afficher ou non les liens vers les news plans en pied de page.<br/>Cette option nécéssite que l’affichage des liens principaux soit activé dans la configuration générale.', - 'HTML_LINKS_INDEX' => 'Liens sur l’index', - 'HTML_LINKS_INDEX_EXPLAIN' => 'Afficher ou non les liens vers les news et plans de chaque forum sur l’index du forum. Ces liens sont ajoutés sous la descriptions des forums.<br/>Cette option nécéssite que l’affichage des liens sur l’index soit activé dans la configuration générale.', - 'HTML_LINKS_CAT' => 'Liens des forums', - 'HTML_LINKS_CAT_EXPLAIN' => 'Afficher ou non les liens vers les news et plans du forum en cours. Ce liens est ajoutés sous le titre du forum.<br/>Cette option nécéssite que l’affichage des liens des forums soit activé dans la configuration générale.', - // Reset settings - 'HTML_ALL_RESET' => 'Tous les modules HTML', - // Limits - 'HTML_RSS_NEWS_LIMIT' => 'Limite du nombre d’éléments de la page news principale', - 'HTML_RSS_NEWS_LIMIT_EXPLAIN' => 'Limite le nombre d’éléments récupérés depuis le flux RSS configuré dans les paramètres des news.', - 'HTML_MAP_TIME_LIMIT' => 'Limite temporelle du plan principal', - 'HTML_MAP_TIME_LIMIT_EXPLAIN' => 'Permet de limiter en nombre de jours, l’ancienneté maximale des éléments pris en compte dans le plan principal des modules. Cette option vous permet par exemple de n’afficher que les sujets du mois en cours sur le plan du forum. Entrez 0 pour aucune limite.', - 'HTML_CAT_MAP_TIME_LIMIT' => 'Limite temporelle des catégories', - 'HTML_CAT_MAP_TIME_LIMIT_EXPLAIN' => 'Permet de limiter en nombre de jours, l’ancienneté maximale des éléments pris en compte dans les plan de catégorie des modules. Cette option vous permet par exemple de n’afficher que les sujets du mois en cours sur le plan d’un forum. Entrez 0 pour aucune limite.', - 'HTML_NEWS_TIME_LIMIT' => 'Limite temporelle de la page news', - 'HTML_NEWS_TIME_LIMIT_EXPLAIN' => 'Permet de limiter en nombre de jours, l’ancienneté maximale des éléments pris en compte dans la page de news des modules. Cette option vous permet par exemple de n’afficher que les news du mois en cours sur la page news. Entrez 0 pour aucune limite.', - 'HTML_CAT_NEWS_TIME_LIMIT' => 'Limite temporelle des news de catégories', - 'HTML_CAT_NEWS_TIME_LIMIT_EXPLAIN' => 'Permet de limiter en nombre de jours, l’ancienneté maximale des éléments pris en compte dans les pages de news de catégories des modules. Cette option vous permet par exemple de n’afficher que les news du mois en cours sur la page news d’un forum. Entrez 0 pour aucune limite.', - // sort - 'HTML_MAP_SORT_TITLE' => 'Tri des plans', - 'HTML_NEWS_SORT_TITLE' => 'Tri des news', - 'HTML_CAT_SORT_TYPE' => 'Ordre de tri de plans de catégories', - 'HTML_CAT_SORT_TYPE_EXPLAIN' => 'Suivant le même principe que l’ordre défini ci-dessus, celui-ci s’applique au plan des catégories des modules, soit le plan d’un forum pour le cas du module forum HTML.', - 'HTML_NEWS_SORT_TYPE' => 'Ordre de tri de la page de news', - 'HTML_NEWS_SORT_TYPE_EXPLAIN' => 'Suivant le même principe que l’ordre défini ci-dessus, celui-ci s’applique à la page de news des modules, soit la page news du forum pour le cas du module forum HTML.', - 'HTML_CAT_NEWS_SORT_TYPE' => 'Ordre de tri des news de catégories', - 'HTML_CAT_NEWS_SORT_TYPE_EXPLAIN' => 'Suivant le même principe que l’ordre défini ci-dessus, celui-ci s’applique aux pages de news de catégories des modules, soit la page news d’un forum pour le cas du module forum HTML.', - 'HTML_PAGINATION_GEN' => 'Pagination globale', - 'HTML_PAGINATION_SPEC' => 'Pagination du module', - 'HTML_PAGINATION' => 'Pagination des plans de site', - 'HTML_PAGINATION_EXPLAIN' => 'Permet d’activer la pagination sur les plans de site. Activez l’option si vous souhaitez afficher plus d’une page pour lister tous les éléments d’un plan.', - 'HTML_PAGINATION_LIMIT' => 'Eléments par page', - 'HTML_PAGINATION_LIMIT_EXPLAIN' => 'Quand la pagination globale est activée, vous pouvez définir ici le nombre d’éléments par page.', - 'HTML_NEWS_PAGINATION' => 'Pagination des news', - 'HTML_NEWS_PAGINATION_EXPLAIN' => 'Permet d’activer la pagination sur la page de news principale du module. Activez l’option si vous souhaitez afficher plus d’une page de news.', - 'HTML_NEWS_PAGINATION_LIMIT' => 'News par page', - 'HTML_NEWS_PAGINATION_LIMIT_EXPLAIN' => 'Quand la pagination des news est activée, vous pouvez définir ici le nombre de news par page.', - 'HTML_ITEM_PAGINATION' => 'Pagination des éléments', - 'HTML_ITEM_PAGINATION_EXPLAIN' => 'Vous pouvez décider de produire des listes d’éléments avec pagination (si disponible). Pour un sujet de forum par exemple, cela se traduira par l’ajout de liens additionnels vers les différentes pages du sujet.', - // Basic settings - 'HTML_SETTINGS' => 'Paramètres de base', - 'HTML_C_INFO' => 'Informations de copyright', - 'HTML_C_INFO_EXPLAIN' => 'Les informations à afficher dans la balise meta copyright des plans HTML et les news. Par défaut correspond au nom du site phpBB. Cette information ne sera utilisée que si vous installez / utilisez le mod Méta dynamiqes de phpBB SEO.', - 'HTML_SITENAME' => 'Nom du site', - 'HTML_SITENAME_EXPLAIN' => 'Le nom du site à utiliser dans les plans HTML et les news. Par défaut correspond au nom du site phpBB.', - 'HTML_SITE_DESC' => 'Description du site', - 'HTML_SITE_DESC_EXPLAIN' => 'La description du site à utiliser dans les plans HTML et les news. Par défaut correspond à la description du site phpBB.', - 'HTML_LOGO_URL' => 'Logo du site', - 'HTML_LOGO_URL_EXPLAIN' => 'Le fichier image à utiliser comme logo du site dans plans HTML et les news, à placer dans le dossier gym_sitemaps/images/.', - 'HTML_URL_EXPLAIN' => 'Entrez l’URL complète vers votre fichier map.php, par exemple http://www.example.com/eventual_dir/ si le fichier map.php est installé dans http://www.example.com/eventual_dir/.<br />Cette option est utile lorsque phpBB n’est pas installé à la racine de votre domaine et que vous désirez placer le fichier map.php à la racine.', - 'HTML_RSS_NEWS_URL' => 'URL de la source rss de la page news principale', - 'HTML_RSS_NEWS_URL_EXPLAIN' => 'Entrez l’URL complète vers le flux RSS de votre choix, par exemple http://www.example.com/gymrss.php?news&digest pour afficher les news de tous les modules RSS installés sur la page de new principale.<br />Vous pouvez utiliser n’importe quelle flux RSS 2.0 comme source de cette page de news.', - 'HTML_STATS_ON_NEWS' => 'Afficher les stats du forum sur les news', - 'HTML_STATS_ON_NEWS_EXPLAIN' => 'Afficher, ou non, les stats du forum sur les pages de news.', - 'HTML_STATS_ON_MAP' => 'Afficher les stats du forum sur les plans', - 'HTML_STATS_ON_MAP_EXPLAIN' => 'Afficher, ou non, les stats du forum sur les plans de site.', - 'HTML_BIRTHDAYS_ON_NEWS' => 'Afficher les anniversaires sur les news', - 'HTML_BIRTHDAYS_ON_NEWS_EXPLAIN' => 'Afficher, ou non, les anniversaires sur les pages de news.', - 'HTML_BIRTHDAYS_ON_MAP' => 'Afficher les anniversaires sur les plans', - 'HTML_BIRTHDAYS_ON_MAP_EXPLAIN' => 'Afficher, ou non, les anniversaires sur les plans de site.', - 'HTML_DISP_ONLINE' => 'Afficher les utilisateurs en ligne', - 'HTML_DISP_ONLINE_EXPLAIN' => 'Afficher ou non la liste des utilisateurs en ligne sur les pages du module.', - 'HTML_DISP_TRACKING' => 'Activer le suivit des éléments', - 'HTML_DISP_TRACKING_EXPLAIN' => 'Activer le système de suivit des éléments (lus / non lus).', - 'HTML_DISP_STATUS' => 'Activer le status des éléments', - 'HTML_DISP_STATUS_EXPLAIN' => 'Activer le système de status des éléments (Annonces, Post-it, Vérouillés etc ... ).', - // Cache - 'HTML_CACHE' => 'Cache', - 'HTML_CACHE_EXPLAIN' => 'Vous pouvez définir ici diverses options liées au cache du type de sortie HTML. La gestion du cache HTML est séparé de celle des autres types de sorties. Ce module utilise le cache standard de phpBB.<br/>Ces options ne peuvent donc pas être hérités du niveau pricipale. De plus, seul les pages contenant uniquement du contenu public seront mise en cache. Ces paramètres peuvent en revanche être tramis aux modules HTML en fonction de votre configuration des priorités de paramétrage.<br/><br/>Le cache est séparé en deux fichiers, un pour chaque colonne de la page de sortie : La colonne principale contenant le plan ou les news et la colonne optionnelle, qui permet par exemple d’ajouter une liste des dernier sujets actifs sur les pages du module forum HTML.', - 'HTML_MAIN_CACHE_ON' => 'Activer la mise en cache du contenu principal', - 'HTML_MAIN_CACHE_ON_EXPLAIN' => 'Vous pouvez activer / désactiver la mise en cache des news et des plans pour ce module.', - 'HTML_OPT_CACHE_ON' => 'Activer la mise en cache de la colonne optionelle', - 'HTML_OPT_CACHE_ON_EXPLAIN' => 'Vous pouvez activer / désactiver la mise en cache du contenu de la colonne optionelle pour ce module. Pour le module forum HTML, cette colonne optionnelle peut par exemple contenir une liste des dernier sujets actifs.', - 'HTML_MAIN_CACHE_TTL' => 'Durée de vie du cache du contenu principal', - 'HTML_MAIN_CACHE_TTL_EXPLAIN' => 'Nombre maximal d’heures pendant lesquelles un fichier en cache sera utilisé avant d’être mis à jour. Si cette durée est atteinte le fichier en cache sera rafraîchi lorsque quelqu’un y fera appel.', - 'HTML_OPT_CACHE_TTL' => 'Durée de vie du cache de la colonne optionelle', - 'HTML_OPT_CACHE_TTL_EXPLAIN' => 'Nombre maximal d’heures pendant lesquelles un fichier en cache sera utilisé avant d’être mis à jour. Si cette durée est atteinte le fichier en cache sera rafraîchi lorsque quelqu’un y fera appel.', - // Auth settings - 'HTML_AUTH_SETTINGS' => 'Paramètres liés aux autorisations', - 'HTML_ALLOW_AUTH' => 'Autorisations', - 'HTML_ALLOW_AUTH_EXPLAIN' => 'Active les autorisations pour les pages HTML. Si activé, les utilisateurs connectés pourront voir les contenus privés et des éléments de forums privés s’ils ont les autorisations nécessaires.', - 'HTML_ALLOW_NEWS' => 'Activer les news', - 'HTML_ALLOW_NEWS_EXPLAIN' => 'La page de news de chaque module HTML est une page contenant les x derniers éléments avec tout ou partie de leur contenu. Pour un forum, il s’agit générallement d’une page contenant un résumé des 10 derniers messages provenant d’un ou plusieurs forums, publics et / ou privés.', - 'HTML_ALLOW_CAT_NEWS' => 'Activer les news de catégories', - 'HTML_ALLOW_CAT_NEWS_EXPLAIN' => 'Suivant le meme principe que la page de news des modules, chaque catégories (ou forum dans le cas du module HTML forum) peut avoir une page de news dédiée si vous activez l’option.', - // Content - 'HTML_NEWS' => 'Paramètres des news', - 'HTML_NEWS_EXPLAIN' => 'Vous pouvez paramétrer ici diverses options de filtrage et mise en forme des news et de leur contenu.<br />Ces paramètres peuvent être appliqués à l’ensemble des modules HTML selon vos paramètres d’héritage des options HTML.', - 'HTML_NEWS_CONTENT' => 'Paramètres du contenu des news', - 'HTML_SUMARIZE' => 'Résumer les éléments', - 'HTML_SUMARIZE_EXPLAIN' => 'Vous pouvez résumer le contenu des messages affichés dans les pages news.<br /> Cette limite détermine le nombre maximum de phrases, mots ou caractères, selon la méthode sélectionnée ci-dessous. Entrez 0 pour aucune limite.', - 'HTML_SUMARIZE_METHOD' => 'Méthode de résumé', - 'HTML_SUMARIZE_METHOD_EXPLAIN' => 'Vous pouvez choisir parmi trois méthodes différentes pour limiter le contenu des messages affichés dans les pages news :<br />par nombre de lignes, par nombre de mots ou par nombre de caractères. Les balises BBCodes et les mots ne seront pas scindés.', - 'HTML_ALLOW_PROFILE' => 'Afficher les profils', - 'HTML_ALLOW_PROFILE_EXPLAIN' => 'Les profils peuvent être affichés ou pas dans le contenu.', - 'HTML_ALLOW_PROFILE_LINKS' => 'Lien vers les profils', - 'HTML_ALLOW_PROFILE_LINKS_EXPLAIN' => 'Si les profils sont affichés, vous pouvez décider d’en faire un lien menant vers la page correspondant à son profil phpBB.', - 'HTML_ALLOW_BBCODE' => 'Autoriser les BBCodes', - 'HTML_ALLOW_BBCODE_EXPLAIN' => 'Vous pouvez choisir d’inclure ou non les BBCodes dans le résultat.', - 'HTML_STRIP_BBCODE' => 'Filtres BBCodes', - 'HTML_STRIP_BBCODE_EXPLAIN' => 'Vous pouvez paramétrer ici une liste de BBCodes à exclure du traitement.<br />Le format est simple : <br /><ul><li><u>Une liste de BBCodes séparés par des virgules</u> : supprime les balises BBCodes mais en conserve le contenu.<br /><u>Exemple</u> : <b>img,b,quote</b><br />Dans cet exemple, les BBCodes img, b et quote ne seront pas interprétés, les balises BBCodes seront supprimées mais le contenu à l’intérieur des balises sera conservé.</li><li><u>Une liste de BBCodes séparés par des virgules avec l’option "double point" (":")</u> : Supprime les balises BBCodes et décide du contenu.<br /><u>Exemple</u> : <b>img:1,b:0,quote,code:1</b><br />Dans cet exemple, la balise BBCode img et le lien img seront supprimés, le gras (b) ne sera pas interprété mais le texte qui aurait du être en gras sera conservé, la balise quote ne sera pas interprétée mais son contenu sera conservé, les balises code et leur contenu seront retirés du résultat.</li></ul>Le filtre fonctionnera même si les BBCodes sont vides. Pratique pour effacer par exemple le contenu des balises code et les liens images de la mise en page.<br />Le filtrage est effectué avant le résumé.<br />Le paramètre magique "all" ( all:0 ou all:1 pour supprimer également tous les contenus des balises BBCcodes) va gérer tous les BBCodes en une fois.', - 'HTML_ALLOW_LINKS' => 'Autoriser les liens actifs', - 'HTML_ALLOW_LINKS_EXPLAIN' => 'Vous pouvez choisir ici d’activer ou non les liens dans le contenu des éléments.<br />En cas de non activation, les liens et les emails seront inclus dans le contenu mais ne seront pas cliquables.', - 'HTML_ALLOW_EMAILS' => 'Autoriser les emails', - 'HTML_ALLOW_EMAILS_EXPLAIN' => 'Vous choisissez ici d’avoir en sortie "email AT domain DOT com" au lieu de "email@domain.com" dans le contenu des éléments.', - 'HTML_ALLOW_SMILIES' => 'Autoriser les smileys', - 'HTML_ALLOW_SMILIES_EXPLAIN' => 'Vous pouvez choisir d’inclure ou ignorer les smileys dans le contenu.', - 'HTML_ALLOW_SIG' => 'Autoriser les signatures', - 'HTML_ALLOW_SIG_EXPLAIN' => 'Vous pouvez choisir d’inclure ou ignorer les signatures dans le contenu.', - 'HTML_ALLOW_MAP' => 'Activer le plan des modules', - 'HTML_ALLOW_MAP_EXPLAIN' => 'Activer ou non le plan pricipale des modules. Pour le forum, cela correspond au plans des forums.', - 'HTML_ALLOW_CAT_MAP' => 'Activer les plans de catégories des modules', - 'HTML_ALLOW_CAT_MAP_EXPLAIN' => 'Activer ou non les plans de catégories des modules. Pour le forum, cela correspond aux plans de chaque forums.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/gym_sitemaps/acp/gym_rss.php b/phpBB/language/fr/gym_sitemaps/acp/gym_rss.php deleted file mode 100644 index 192629bc6d..0000000000 --- a/phpBB/language/fr/gym_sitemaps/acp/gym_rss.php +++ /dev/null @@ -1,134 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_rss.php 259 2010-03-18 19:25:40Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* gym_rss [French] -* Translated By: Mathieu M. & gowap [ www.phpbb-seo.com ] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'RSS_MAIN' => 'Paramètres des flux RSS', - 'RSS_MAIN_EXPLAIN' => 'Il s’agit des paramètres principaux pour le module de flux RSS.<br />Ils peuvent être appliqués à l’ensemble des modules RSS selon vos paramètres d’héritage des options RSS.', - // Linking setup - 'RSS_LINKS_ACTIVATION' => 'Affichage des liens RSS sur le forum', - 'RSS_LINKS_MAIN' => 'Liens principaux', - 'RSS_LINKS_MAIN_EXPLAIN' => 'Afficher ou non les liens vers le flux principal et la liste des flux en pied de page.<br/>Cette option nécéssite que l’affichage des liens principaux soit activé dans la configuration générale.', - 'RSS_LINKS_INDEX' => 'Liens sur l’index', - 'RSS_LINKS_INDEX_EXPLAIN' => 'Afficher ou non les liens vers les flux de chaque forum sur l’index du forum. Ces liens sont ajoutés sous la descriptions des forums.<br/>Cette option nécéssite que l’affichage des liens sur l’index soit activé dans la configuration générale.', - 'RSS_LINKS_CAT' => 'Liens des forums', - 'RSS_LINKS_CAT_EXPLAIN' => 'Afficher ou non les liens vers le flux rss du forum en cours. Ce liens est ajoutés sous le titre du forum.<br/>Cette option nécéssite que l’affichage des liens des forums soit activé dans la configuration générale.', - // Reset settings - 'RSS_ALL_RESET' => 'Tous les modules RSS', - // Limits - 'RSS_LIMIT_GEN' => 'Limites principales', - 'RSS_LIMIT_SPEC' => 'Limites RSS', - 'RSS_URL_LIMIT_LONG' => 'Limites des flux longs', - 'RSS_URL_LIMIT_LONG_EXPLAIN' => 'Nombre d’éléments affichés dans un flux long sans contenu, nécessite que l’option "Autoriser les flux longs" soit activée.', - 'RSS_SQL_LIMIT_LONG' => 'Cycles SQL flux longs', - 'RSS_SQL_LIMIT_LONG_EXPLAIN' => 'Nombre d’éléments requêtés en un cycle SQL pour les flux longs sans contenu.', - 'RSS_URL_LIMIT_SHORT' => 'Limites des flux courts', - 'RSS_URL_LIMIT_SHORT_EXPLAIN' => 'Nombre d’éléments affichés dans un flux court sans contenu, nécessite que l’option "Autoriser les flux courts soit activée".', - 'RSS_SQL_LIMIT_SHORT' => 'Cycles SQL flux courts', - 'RSS_SQL_LIMIT_SHORT_EXPLAIN' => 'Nombre d’éléments requêtés en un cycle SQL pour les flux courts sans contenu.', - 'RSS_URL_LIMIT_MSG' => 'Limite par défaut pour les flux avec contenu', - 'RSS_URL_LIMIT_MSG_EXPLAIN' => 'Nombre d’éléments affichés par défaut dans les flux avec contenu, nécessite que l’option "Autoriser le contenu des éléments" soit activée.', - 'RSS_SQL_LIMIT_MSG' => 'Cycles SQL flux avec contenu', - 'RSS_SQL_LIMIT_MSG_EXPLAIN' => 'Nombre d’éléments requêtés en un cycle SQL pour les flux avec contenu.', - // Basic settings - 'RSS_SETTINGS' => 'Paramètres de base', - 'RSS_C_INFO' => 'Informations de copyright', - 'RSS_C_INFO_EXPLAIN' => 'Les informations à afficher dans la balise <copyright> des flux RSS. Par défaut correspond au nom du site phpBB.', - 'RSS_SITENAME' => 'Nom du site', - 'RSS_SITENAME_EXPLAIN' => 'Le nom du site à afficher dans les flux RSS. Par défaut correspond au nom du site phpBB.', - 'RSS_SITE_DESC' => 'Description du site', - 'RSS_SITE_DESC_EXPLAIN' => 'La description du site à afficher dans les flux RSS. Par défaut correspond à la description du site phpBB.', - 'RSS_LOGO_URL' => 'Logo du site', - 'RSS_LOGO_URL_EXPLAIN' => 'Le fichier image à utiliser comme logo du site dans les flux RSS, à placer dans le dossier gym_sitemaps/images/.', - 'RSS_IMAGE_URL' => 'Logo RSS', - 'RSS_IMAGE_URL_EXPLAIN' => 'Le fichier image à utiliser comme logo RSS dans les flux RSS, à placer dans le dossier gym_sitemaps/images/.', - 'RSS_LANG' => 'Langue du flux RSS', - 'RSS_LANG_EXPLAIN' => 'La langue déclarée comme langue principale dans les flux RSS. Par défaut il s’agit de la langue par défaut de phpBB.', - 'RSS_URL_EXPLAIN' => 'Entrez l’URL complète vers votre fichier gymrss.php, par exemple http://www.example.com/eventual_dir/ si le fichier gymrss.php est installé dans http://www.example.com/eventual_dir/.<br />Cette option est utile lorsque phpBB n’est pas installé à la racine de votre domaine et que vous désirez placer le fichier gymrss.php à la racine.', - // Auth settings - 'RSS_AUTH_SETTINGS' => 'Paramètres liés aux autorisations', - 'RSS_ALLOW_AUTH' => 'Autorisations', - 'RSS_ALLOW_AUTH_EXPLAIN' => 'Active les autorisations pour les flux RSS. Si activé, les utilisateurs connectés pourront voir les flux privés et des éléments de forums privés dans les flux généraux s’ils ont les autorisations nécessaires.', - 'RSS_CACHE_AUTH' => 'Cache des flux privés', - 'RSS_CACHE_AUTH_EXPLAIN' => 'Vous pouvez désactiver le cache pour les flux privés si les autorisations sont activées.<br /> Mettre en cache les flux privés augmentera le nombre de fichiers en cache, ce qui ne devrait pas poser de problème en général. Cependant cette option vous permet de décider de ne mettre en cache que les flux publics.', - 'RSS_ALLOW_NEWS' => 'Autoriser les flux Actualités', - 'RSS_ALLOW_NEWS_EXPLAIN' => 'Les flux Actualités sont un type de flux personnalisé qui affichera uniquement le premier élément sans tenir compte d’éventuelles réponses. C’est un flux supplémentaire qui n’interfère pas avec les autres. Ce type de flux est utile si vous souhaitez par exemple soumettre vos flux de forum à un système comme Google News. Ainsi chaque sujet correspondra à une entrée dans le flux RSS qui ne varie pas quand une réponse est ajoutée.', - 'RSS_NEWS_UPDATE' => 'Mise à jour des flux Actualités', - 'RSS_NEWS_UPDATE_EXPLAIN' => 'Quand les flux Actualités sont activés, vous pouvez définir ici une durée de vie spécifique pour ce type de flux. Mettez 0 ou laissez vide pour désactiver ; la durée standard sera alors utilisée pour la mise à jour.', - 'RSS_ALLOW_SHORT' => 'Autoriser les flux courts', - 'RSS_ALLOW_SHORT_EXPLAIN' => 'Autorise ou non l’utilisation des flux RSS courts.', - 'RSS_ALLOW_LONG' => 'Autoriser les flux longs', - 'RSS_ALLOW_LONG_EXPLAIN' => 'Autorise ou non l’utilisation des flux RSS longs.', - // Notifications - 'RSS_NOTIFY' => 'Notifications', - 'RSS_YAHOO_NOTIFY' => 'Notifications Yahoo!', - 'RSS_YAHOO_NOTIFY_EXPLAIN' => 'Active les notifications Yahoo! pour les flux RSS.<br /> Ceci ne concerne pas les flux généraux (RSS.xml).<br />Chaque fois que le cache d’un flux est mis à jour, une notification sera envoyée à Yahoo!<br /><br /><u>Note</u> :<br /> vous DEVEZ entrer votre AppID Yahoo! ci-dessous pour que les notifications soient envoyées.', - 'RSS_YAHOO_APPID' => 'AppID Yahoo! ', - 'RSS_YAHOO_APPID_EXPLAIN' => 'Entrez votre AppID Yahoo!. Si vous n’en avez pas encore, visitez <a href="http://api.search.yahoo.com/webservices/register_application">cette page</a>.<br /><br /><u>Note</u> :<br /> vous devrez créer un compte Yahoo! avant de pouvoir obtenir une AppID Yahoo!.', - // Styling - 'RSS_STYLE' => 'Style des flux RSS', - 'RSS_XSLT' => 'Style XSL', - 'RSS_XSLT_EXPLAIN' => 'Les flux RSS peuvent être personnalisés grâce à une feuille de style <a href="http://www.w3schools.com/xsl/xsl_transformation.asp">XSL</a>.', - 'RSS_FORCE_XSLT' => 'Forcer le style', - 'RSS_FORCE_XSLT_EXPLAIN' => 'Il est nécessaire de biaiser les navigateurs pour permettre l’usage du style XSL. Ceci est fait en ajoutant des espaces au début du code XML.<br />FF 2 et IE7 regardent seulement les 500 premiers caractères pour décider s’il s’agit ou non d’un flux RSS auquel ils imposent leur propre mise en page.', - 'RSS_LOAD_PHPBB_CSS' => 'Charger les CSS de phpBB', - 'RSS_LOAD_PHPBB_CSS_EXPLAIN' => 'Le MOD GYM Sitemaps utilise le système de styles de phpBB3. Les feuilles de style XSL utilisées pour produire le fichier html en sortie sont compatibles avec le système de styles de phpBB3.<br />Avec ce paramétrage, plutôt que d’utiliser le style par défaut, vous pouvez appliquer la feuille de style de phpBB à la feuille de style XSL. De cette façon, toutes vos personnalisations de thème telles que le fond, les couleurs de polices ou encore les images seront utilisées en sortie pour l’affichage des flux RSS.<br />Ceci ne prendra effet que lorsque vous aurez vidé le cache des flux RSS depuis le menu "Maintenance".<br />Si les fichiers de style des flux RSS ne sont pas disponibles sur le style utilisé, le style par défaut (toujours disponible et basé sur Prosilver) sera utilisé.<br />N’essayez pas d’utiliser les templates de Prosilver avec un autre style, les CSS ne correspondront certainement pas.', - // Content - 'RSS_CONTENT' => 'Paramètres du contenu', - 'RSS_CONTENT_EXPLAIN' => 'Vous pouvez paramétrer ici diverses options de filtrage et mise en forme du contenu.<br />Ces paramètres peuvent être appliqués à l’ensemble des modules RSS selon vos paramètres d’héritage des options RSS.', - 'RSS_ALLOW_CONTENT' => 'Autoriser le contenu des éléments', - 'RSS_ALLOW_CONTENT_EXPLAIN' => 'Vous pouvez décider ici d’autoriser l’affichage partiel ou complet du contenu des messages dans les flux RSS.<br /><br /><u>Note</u> :<br /> Cette option augmente la charge du serveur. Les limites des flux avec contenu devraient être inférieures à celles des flux sans contenu.', - 'RSS_SUMARIZE' => 'Résumer les éléments', - 'RSS_SUMARIZE_EXPLAIN' => 'Vous pouvez résumer le contenu des messages affichés dans les flux.<br /> Cette limite détermine le nombre maximum de phrases, mots ou caractères, selon la méthode sélectionnée ci-dessous. Entrez 0 pour aucune limite.', - 'RSS_SUMARIZE_METHOD' => 'Méthode de résumé', - 'RSS_SUMARIZE_METHOD_EXPLAIN' => 'Vous pouvez choisir parmi trois méthodes différentes pour limiter le contenu des messages affichés dans les flux :<br />par nombre de phrases, par nombre de mots ou par nombre de caractères. Les balises BBCodes et les mots ne seront pas scindés.', - 'RSS_ALLOW_PROFILE' => 'Afficher le nom de l’auteur.', - 'RSS_ALLOW_PROFILE_EXPLAIN' => 'Le nom de l’auteur de l’élément peut être ajouté aux flux RSS si vous le désirez.', - 'RSS_ALLOW_PROFILE_LINKS' => 'Lien vers le profil', - 'RSS_ALLOW_PROFILE_LINKS_EXPLAIN' => 'Si le nom de l’auteur est affiché, vous pouvez décider d’en faire un lien menant vers la page correspondant à son profil phpBB.', - 'RSS_ALLOW_BBCODE' => 'Autoriser les BBCodes', - 'RSS_ALLOW_BBCODE_EXPLAIN' => 'Vous pouvez choisir d’inclure ou non les BBCodes dans le résultat.', - 'RSS_STRIP_BBCODE' => 'Filtres BBCodes', - 'RSS_STRIP_BBCODE_EXPLAIN' => 'Vous pouvez paramétrer ici une liste de BBCodes à exclure du traitement.<br />Le format est simple : <br /><ul><li><u>Une liste de BBCodes séparés par des virgules</u> : supprime les balises BBCodes mais en conserve le contenu.<br /><u>Exemple</u> : <b>img,b,quote</b><br />Dans cet exemple, les BBCodes img, b et quote ne seront pas interprétés, les balises BBCodes seront supprimées mais le contenu à l’intérieur des balises sera conservé.</li><li><u>Une liste de BBCodes séparés par des virgules avec l’option "double point" (":")</u> : Supprime les balises BBCodes et décide du contenu.<br /><u>Exemple</u> : <b>img:1,b:0,quote,code:1</b><br />Dans cet exemple, la balise BBCode img et le lien img seront supprimés, le gras (b) ne sera pas interprété mais le texte qui aurait du être en gras sera conservé, la balise quote ne sera pas interprétée mais son contenu sera conservé, les balises code et leur contenu seront retirés du résultat.</li></ul>Le filtre fonctionnera même si les BBCodes sont vides. Pratique pour effacer par exemple le contenu des balises code et les liens images de la mise en page.<br />Le filtrage est effectué avant le résumé.<br />Le paramètre magique "all" ( all:0 ou all:1 pour supprimer également tous les contenus des balises BBCcodes) va gérer tous les BBCodes en une fois.', - 'RSS_ALLOW_LINKS' => 'Autoriser les liens actifs', - 'RSS_ALLOW_LINKS_EXPLAIN' => 'Vous pouvez choisir ici d’activer ou non les liens dans le contenu des éléments.<br />En cas de non activation, les liens et les emails seront inclus dans le contenu mais ne seront pas cliquables.', - 'RSS_ALLOW_EMAILS' => 'Autoriser les emails', - 'RSS_ALLOW_EMAILS_EXPLAIN' => 'Vous choisissez ici d’avoir en sortie "email AT domain DOT com" au lieu de "email@domain.com" dans le contenu des éléments.', - 'RSS_ALLOW_SMILIES' => 'Autoriser les smileys', - 'RSS_ALLOW_SMILIES_EXPLAIN' => 'Vous pouvez choisir d’inclure ou ignorer les smileys dans le contenu.', - 'RSS_NOHTML' => 'Filtre HTML', - 'RSS_NOHTML_EXPLAIN' => 'Filtrer ou non le html des flux. Si vous activez l’option, les flux ne contiendront que du texte brut.', - // Old URL handling - 'RSS_1XREDIR' => 'Gestion des URLs réécrites de GYM 1.x', - 'RSS_1XREDIR_EXPLAIN' => 'Active la détection des URLs réécrites au format GYM 1.x. Le module affichera un flux spécial fournissant la nouvelle URL du flux demandé.<br /><br /><u>Note</u> :<br /><br />Cette option nécessite la mise en place des rewriterules de compatibilité comme expliqué dans le fichier d’installation.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/gym_sitemaps/acp/html_forum.php b/phpBB/language/fr/gym_sitemaps/acp/html_forum.php deleted file mode 100644 index d784e36f5d..0000000000 --- a/phpBB/language/fr/gym_sitemaps/acp/html_forum.php +++ /dev/null @@ -1,97 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: html_forum.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* html_forum [French] -* Translated By: dcz [ www.phpbb-seo.com ] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'HTML_FORUM' => 'Module HTML Forum', - 'HTML_FORUM_EXPLAIN' => 'Il s’agit des paramètres du module Forum HTML.<br /> Certains paramètres peuvent être écrasés en fonction de votre configuration des priorités de paramétrage au niveau du type de rendu des pages HTML et au niveau global.', - 'HTML_FORUM_EXCLUDE' => 'Exclusion de forums', - 'HTML_FORUM_EXCLUDE_EXPLAIN' => 'Sélécttionnez les forums pour lesquels vous ne souhaitez pas de plan de site ni de news<br /><u>Note</u> :<br />Si ce champ est laissé vide, tous les forums accessibles seront pris en compte.', - 'HTML_FORUM_ALLOW_NEWS' => 'News du forum', - 'HTML_FORUM_ALLOW_NEWS_EXPLAIN' => 'La page de news du forum est une page regroupant un ou plusieurs sujets, résumés ou non, provenant d’un ou plusieurs forums que vous pouvez séléctionner ci-dessous.', - 'HTML_FORUM_ALLOW_CAT_NEWS' => 'Activer les news des forums', - 'HTML_FORUM_ALLOW_CAT_NEWS_EXPLAIN' => 'Active une page de news pour chaque forum non exclus.', - 'HTML_FORUM_NEWS_IDS' => 'Forum source des news', - 'HTML_FORUM_NEWS_IDS_EXPLAIN' => 'Vous pouvez définire un ou plusieurs forums, même privés, comme cource de votre page news.<br />Sélécttionnez le ou les forums source.<br /><u>Note</u> :<br />Si ce champ est laissé vide, tous les forums accessibles seront pris en compte.', - 'HTML_FORUM_LTOPIC' => 'Liste des derniers sujets optionnelle', - 'HTML_FORUM_INDEX_LTOPIC' => 'Affichage sur le plan du forum', - 'HTML_FORUM_INDEX_LTOPIC_EXPLAIN' => 'Vous pouvez activer ou non l’affichage de la liste des derniers sujets actifs du forums ou des forums séléctionés plus bas dans le plan du forum.<br/>Entrez le nombre de derniers sujets à afficher, 0 pour désactiver totallement.', - 'HTML_FORUM_CAT_LTOPIC' => 'Affichage sur le plan de chaque forum', - 'HTML_FORUM_CAT_LTOPIC_EXPLAIN' => 'Vous pouvez activer ou non l’affichage de la liste des derniers sujets actifs du forums ou des forums séléctionés plus bas dans le plan de chaque forum.<br/>Entrez le nombre de derniers sujets à afficher, 0 pour désactiver totallement.', - 'HTML_FORUM_NEWS_LTOPIC' => 'Affichage sur la page news du forum', - 'HTML_FORUM_NEWS_LTOPIC_EXPLAIN' => 'Vous pouvez activer ou non l’affichage de la liste des derniers sujets actifs du forums ou des forums séléctionés plus bas dans la page news du forum.<br/>Entrez le nombre de derniers sujets à afficher, 0 pour désactiver totallement.', - 'HTML_FORUM_CAT_NEWS_LTOPIC' => 'Affichage sur la page news de chaque forums', - 'HTML_FORUM_CAT_NEWS_LTOPIC_EXPLAIN' => 'Vous pouvez activer ou non l’affichage de la liste des derniers sujets actifs du forums ou des forums séléctionés plus bas dans la page news de chaque forum.<br/>Entrez le nombre de derniers sujets à afficher, 0 pour désactiver totallement.', - 'HTML_FORUM_LTOPIC_PAGINATION' => 'Pagination des derniers sujets', - 'HTML_FORUM_LTOPIC_PAGINATION_EXPLAIN' => 'Afficher ou non la pagination des sujets dans la liste optionnelle des derniers sujets.', - 'HTML_FORUM_LTOPIC_EXCLUDE' => 'Exclusion de la liste des derniers sujets optionnelle', - 'HTML_FORUM_LTOPIC_EXCLUDE_EXPLAIN' => 'Vous pouvez exclure certains forums de la liste optionnelle des derniers sujets.<br />Sélécttionnez les forums que vous ne souhaitez pas voir apparaitre dans la liste optinelle des derniers sujets.<br /><u>Note</u> :<br />Si ce champ est laissé vide, tous les forums accessibles seront pris en compte.', - // Pagination - 'HTML_FORUM_PAGINATION' => 'Pagination des plans de forums', - 'HTML_FORUM_PAGINATION_EXPLAIN' => 'Permet d’activer la pagination sur les plans de forums. Activez l’option si vous souhaitez afficher plus d’une page et lister tous les éléments d’un forum.', - 'HTML_FORUM_PAGINATION_LIMIT' => 'Sujets par page', - 'HTML_FORUM_PAGINATION_LIMIT_EXPLAIN' => 'Quand la pagination des plans de forums est activée, vous pouvez définir ici le nombre de sujets par page.', - // Content - 'HTML_FORUM_CONTENT' => 'Paramètres du contenu module Forum HTML', - 'HTML_FORUM_FIRST' => 'Classement des plans', - 'HTML_FORUM_FIRST_EXPLAIN' => 'Le classement des plans des forums peut être réalisé en se basant sur la date de parution ou sur la date de la dernière réponse. Choisissez oui pour classer par ordre de parution des sujets, non pour classer par ordre de parutions de la dernière réponse des sujets.', - 'HTML_FORUM_NEWS_FIRST' => 'Classement des news', - 'HTML_FORUM_NEWS_FIRST_EXPLAIN' => 'Le classement des news des forums peut être réalisé en se basant sur la date de parution ou sur la date de la dernière réponse. Choisissez oui pour classer par ordre de parution des sujets, non pour classer par ordre de parutions de la dernière réponse des sujets.', - 'HTML_FORUM_LAST_POST' => 'Afficher le dernier message', - 'HTML_FORUM_LAST_POST_EXPLAIN' => 'Afficher ou non les information sur le dernier message des sujets listés.', - 'HTML_FORUM_POST_BUTTONS' => 'Afficher les boutons de gestion', - 'HTML_FORUM_POST_BUTTONS_EXPLAIN' => 'Afficher ou non les boutons de gestion des news tel que répondre, éditer, etc ...', - 'HTML_FORUM_RULES' => 'Afficher le règlement du forum', - 'HTML_FORUM_RULES_EXPLAIN' => 'Affiche ou non le règlement du forum dans les pages news et / ou les plans des forums.', - 'HTML_FORUM_DESC' => 'Afficher la description du forum', - 'HTML_FORUM_DESC_EXPLAIN' => 'Affiche ou non la description du forum dans pages les news et / ou les plans des forums.', - // Reset settings - 'HTML_FORUM_RESET' => 'Module HTML Forum', - 'HTML_FORUM_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut du module HTML Forum.', - 'HTML_FORUM_MAIN_RESET' => 'Configuration générale HTML Forum', - 'HTML_FORUM_MAIN_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut dans l’onglet "Paramètres du module HTML Forum.', - 'HTML_FORUM_CONTENT_RESET' => 'Paramètres des news du module HTML forum', - 'HTML_FORUM_CONTENT_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut des paramètres du contenu du module HTML Forum.', - 'HTML_FORUM_CACHE_RESET' => 'Cache HTML Forum', - 'HTML_FORUM_CACHE_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées au cache du module HTML Forum.', - 'HTML_FORUM_MODREWRITE_RESET' => 'Réécriture d’URL HTML Forum', - 'HTML_FORUM_MODREWRITE_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées à la réécriture d’URL du module HTML Forum.', - 'HTML_FORUM_GZIP_RESET' => 'Compression GZip HTML Forum', - 'HTML_FORUM_GZIP_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées à la compression GZip du module HTML Forum.', - 'HTML_FORUM_LIMIT_RESET' => 'Limites HTML Forum', - 'HTML_FORUM_LIMIT_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées aux limites du module HTML Forum.', - 'HTML_FORUM_SORT_RESET' => 'Tri HTML Forum', - 'HTML_FORUM_SORT_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées au tri du module HTML Forum.', - 'HTML_FORUM_PAGINATION_RESET' => 'Pagination HTML Forum', - 'HTML_FORUM_PAGINATION_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées à la pagination du module HTML Forum.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/gym_sitemaps/acp/rss_forum.php b/phpBB/language/fr/gym_sitemaps/acp/rss_forum.php deleted file mode 100644 index a56ab9aef3..0000000000 --- a/phpBB/language/fr/gym_sitemaps/acp/rss_forum.php +++ /dev/null @@ -1,69 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: rss_forum.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* rss_forum [French] -* Translated By: Mathieu M. & gowap [ www.phpbb-seo.com ] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'RSS_FORUM' => 'Module RSS Forum', - 'RSS_FORUM_EXPLAIN' => 'Il s’agit des paramètres du module Forum des flux RSS.<br /> Certains paramètres peuvent être écrasés en fonction de votre configuration des priorités de paramétrage au niveau du type de rendu des flux RSS et au niveau global.', - 'RSS_FORUM_ALTERNATE' => 'Liens alternate RSS', - 'RSS_FORUM_ALTERNATE_EXPLAIN' => 'Afficher ou nons les liens alternate RSS des forums dans la barre de navigation des navigateurs', - 'RSS_FORUM_EXCLUDE' => 'Exclusion de forums', - 'RSS_FORUM_EXCLUDE_EXPLAIN' => 'Sélécttionnez les forums pour lesquels vous ne souhaitez pas de flux RSS<br /><u>Note</u> :<br />Si ce champ est laissé vide, tous les forums accessibles seront pris en compte.', - // Content - 'RSS_FORUM_CONTENT' => 'Paramètres du contenu module RSS Forum', - 'RSS_FORUM_FIRST' => 'Premier message', - 'RSS_FORUM_FIRST_EXPLAIN' => 'Affiche ou non l’URL du premier message de chaque sujet listé dans les flux RSS.<br /> Par défaut seul le dernier message de chaque sujet est listé. Afficher également le premier message implique une charge serveur plus importante.', - 'RSS_FORUM_LAST' => 'Dernier message', - 'RSS_FORUM_LAST_EXPLAIN' => 'Affiche ou non le dernier message de chaque sujet listé dans les flux RSS.<br /> Par défaut seul le dernier message de chaque sujet est listé. Cette option est utile si vous souhaitez uniquement lister l’URL du premier message dans les flux RSS.<br />Veuillez noter que paramétrer "Premier message" sur OUI et "Dernier message" sur NON revient au même que de créer un flux de type Actualités.', - 'RSS_FORUM_RULES' => 'Afficher le règlement du forum', - 'RSS_FORUM_RULES_EXPLAIN' => 'Affiche ou non le règlement du forum dans les flux RSS.', - // Reset settings - 'RSS_FORUM_RESET' => 'Module RSS Forum', - 'RSS_FORUM_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut du module RSS Forum.', - 'RSS_FORUM_MAIN_RESET' => 'Configuration générale RSS Forum', - 'RSS_FORUM_MAIN_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut dans l’onglet "Paramètres des flux RSS" du module RSS Forum.', - 'RSS_FORUM_CONTENT_RESET' => 'Paramètres du contenu module RSS forum', - 'RSS_FORUM_CONTENT_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut des paramètres du contenu du module RSS Forum.', - 'RSS_FORUM_CACHE_RESET' => 'Cache RSS Forum', - 'RSS_FORUM_CACHE_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées au cache du module RSS Forum.', - 'RSS_FORUM_MODREWRITE_RESET' => 'Réécriture d’URL RSS Forum', - 'RSS_FORUM_MODREWRITE_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées à la réécriture d’URL du module RSS Forum.', - 'RSS_FORUM_GZIP_RESET' => 'Compression GZip RSS Forum', - 'RSS_FORUM_GZIP_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées à la compression GZip du module RSS Forum.', - 'RSS_FORUM_LIMIT_RESET' => 'Limites RSS Forum', - 'RSS_FORUM_LIMIT_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées aux limites du module RSS Forum.', - 'RSS_FORUM_SORT_RESET' => 'Tri RSS Forum', - 'RSS_FORUM_SORT_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées au tri du module RSS Forum.', - 'RSS_FORUM_PAGINATION_RESET' => 'Pagination RSS Forum', - 'RSS_FORUM_PAGINATION_RESET_EXPLAIN' => 'Rétablir toutes les options par défaut liées à la pagination du module RSS Forum.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/gym_sitemaps/gym_common.php b/phpBB/language/fr/gym_sitemaps/gym_common.php deleted file mode 100644 index 821b956ca5..0000000000 --- a/phpBB/language/fr/gym_sitemaps/gym_common.php +++ /dev/null @@ -1,122 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_common.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* gym_common [French] -* Translated By: Mathieu M. & gowap [ www.phpbb-seo.com ] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'RSS_AUTH_SOME_USER' => '<b><u>Avertissement :</u></b>Cette liste d’éléments est personalisée selon les autorisations de <b>%s</b>.<br/>Certains éléments ne seront pas visibles par les invités.', - 'RSS_AUTH_THIS_USER' => '<b><u>Avertissement :</u></b>Cet élément est personalisé selon les autorisations de <b>%s</b>.<br/>Il ne sera pas visible par les invités.', - 'RSS_AUTH_SOME' => '<b><u>Avertissement :</u></b>Cette liste d’éléments n’est pas publique.<br/>Certains éléments ne seront pas visibles par les invités.', - 'RSS_AUTH_THIS' => '<b><u>Avertissement :</u></b>Cet élément n’est pas public.<br/>Il ne sera pas visible par les invités.', - 'RSS_CHAN_LIST_TITLE' => 'Liste des flux', - 'RSS_CHAN_LIST_DESC' => 'Ceci est une liste de tous les flux RSS disponibles.', - 'RSS_CHAN_LIST_DESC_MODULE' => 'Ceci est une liste de tous les flux RSS disponibles pour : %s.', - 'RSS_ANNOUCES_DESC' => 'Ce flux liste toutes les annonces globales de : %s', - 'RSS_ANNOUNCES_TITLE' => 'Annonces de : %s', - 'GYM_LAST_POST_BY' => 'Dernier message par ', - 'GYM_FIRST_POST_BY' => 'Message de ', - 'GYM_LINK' => 'Lien', - 'GYM_SOURCE' => 'Source', - 'GYM_RSS_SOURCE' => 'Source', - 'RSS_MORE' => 'plus', - 'RSS_CHANNELS' => 'Canaux', - 'RSS_CONTENT' => 'Résumé', - 'RSS_SHORT' => 'Liste courte', - 'RSS_LONG' => 'Liste longue', - 'RSS_NEWS' => 'Actualités', - 'RSS_NEWS_DESC' => 'Dernières actualités de', - 'RSS_REPORTED_UNAPPROVED' => 'Ce sujet est en attente d’approbation.', - - 'GYM_HOME' => 'Page principale', - 'GYM_FORUM_INDEX' => 'Index du forum', - 'GYM_LASTMOD_DATE' => 'Dernière modification', - 'GYM_SEO' => 'Optimisation du référencement', - 'GYM_MINUTES' => 'minute(s)', - 'GYM_SQLEXPLAIN' => 'Rapport SQL', - 'GYM_SQLEXPLAIN_MSG' => 'Connecté en tant qu’admin, vous pouvez vérifier le %s de cette page.', - 'GYM_BOOKMARK_THIS' => 'Ajouter aux favoris', - // Errors - 'GYM_ERROR_404' => 'Cette page n’existe pas ou n’est pas activée.', - 'GYM_ERROR_404_EXPLAIN' => 'Le serveur n’a trouvé aucune page correspondant à l’url que vous avez utilisé.', - 'GYM_ERROR_401' => 'Vous n’êtes pas autorisé à voir cette page.', - 'GYM_ERROR_401_EXPLAIN' => 'Cette page est uniquement accessible aux utilisateurs enregistrés possédant les autorisations nécéssaires.', - 'GYM_LOGIN' => 'Vous n’êtes pas autorisé à voir cette page.', - 'GYM_LOGIN_EXPLAIN' => 'Vous devez être enregistré et connecté pour voir cette page.', - 'GYM_TOO_FEW_ITEMS' => 'Page Indisponible', - 'GYM_TOO_FEW_ITEMS_EXPLAIN' => 'Cette page ne contient pas assez d’éléments pour être affichée.', - 'GYM_TOO_FEW_ITEMS_EXPLAIN_ADMIN' => 'La source de cette page ne contient aucun éléments ou un nombre d’éléments inférieur au seuil défini dans l’ACP pour être affichée.<br/> Un Header 404 Not Found est par ailleurs utilisé pour indiquer aux moteurs de recherche de ne pas utiliser ce lien.', - - 'GOOGLE_SITEMAP' => 'Sitemap', - 'GOOGLE_SITEMAP_OF' => 'Sitemap de', - 'GOOGLE_MAP_OF' => 'Sitemap de %1$s', - 'GOOGLE_SITEMAPINDEX' => 'SitemapIndex', - 'GOOGLE_NUMBER_OF_SITEMAP' => 'Nombre de Sitemaps dans ce SitemapIndex Google', - 'GOOGLE_NUMBER_OF_URL' => 'Nombre d’URLs dans ce Sitemap Google', - 'GOOGLE_SITEMAP_URL' => 'URL du Sitemap', - 'GOOGLE_CHANGEFREQ' => 'Fréquence de Màj', - 'GOOGLE_PRIORITY' => 'Priorité', - - 'RSS_FEED' => 'Flux RSS', - 'RSS_FEED_OF' => 'Flux RSS de %1$s', - 'RSS_2_LINK' => 'Lien du flux RSS 2.0', - 'RSS_UPDATE' => 'Mise à jour', - 'RSS_LAST_UPDATE' => 'Dernière Màj', - 'RSS_SUBSCRIBE_POD' => '<h2>S’abonner à ce flux!</h2>Avec votre service préféré.', - 'RSS_SUBSCRIBE' => 'Pour s’abonner manuellement à ce flux, utilisez l’URL suivante :', - 'RSS_ITEM_LISTED' => 'Un élément listé.', - 'RSS_ITEMS_LISTED' => 'éléments listés.', - 'RSS_VALID' => 'Flux RSS 2.0 valide', - - // Old URL handling - 'RSS_1XREDIR' => 'Ce flux RSS a été déplacé', - 'RSS_1XREDIR_MSG' => 'Ce flux RSS a été déplacé, il se trouve désormais à cette adresse', - // HTML sitemaps - 'HTML_MAP' => 'Plan de site', - 'HTML_MAP_OF' => 'Plan de %1$s', - 'HTML_MAP_NONE' => 'Aucun plan de site', - 'HTML_NO_ITEMS' => 'Aucun élément', - 'HTML_NEWS' => 'News', - 'HTML_NEWS_OF' => 'News de %1$s', - 'HTML_NEWS_NONE' => 'Aucune news', - 'HTML_PAGE' => 'Page', - 'HTML_MORE' => 'Lire la suite', - // Forum - 'HTML_FORUM_MAP' => 'Plan des Forums', - 'HTML_FORUM_NEWS' => 'News des Forums', - 'HTML_FORUM_GLOBAL_MAP' => 'Liste des Annonces Globales', - 'HTML_FORUM_GLOBAL_NEWS' => 'Annonces Globales', - 'HTML_FORUM_ANNOUNCE_MAP' => 'Liste des Annonces', - 'HTML_FORUM_ANNOUNCE_NEWS' => 'Annonces', - 'HTML_FORUM_STICKY_MAP' => 'Liste des Post its', - 'HTML_FORUM_STICKY_NEWS' => 'Post its', - 'HTML_LASTX_TOPICS_TITLE' => '%1$s derniers sujets actifs', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/gym_sitemaps/gym_iso639.php b/phpBB/language/fr/gym_sitemaps/gym_iso639.php deleted file mode 100644 index 6d23a6a1ef..0000000000 --- a/phpBB/language/fr/gym_sitemaps/gym_iso639.php +++ /dev/null @@ -1,215 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: gym_iso639.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* gym_iso639 [French] -* -*/ -// This is the full iso 639-1 list from http://www.loc.gov/standards/iso639-2/php/French_list.php -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -$lang = array_merge($lang, array( - 'ISO_639_1' => array( - 'ab' => 'Abkhaze (ab)', - 'aa' => 'Afar (aa)', - 'af' => 'Afrikaans (af)', - 'ak' => 'Akan (ak)', - 'sq' => 'Albanais (sq)', - 'de' => 'Allemand (de)', - 'am' => 'Amharique (am)', - 'en' => 'Anglais (en)', - 'ar' => 'Arabe (ar)', - 'an' => 'Aragonais (an)', - 'hy' => 'Arménien (hy)', - 'as' => 'Assamais (as)', - 'av' => 'Avar (av)', - 'ae' => 'Avestique (ae)', - 'ay' => 'Aymara (ay)', - 'az' => 'Azéri (az)', - 'ba' => 'Bachkir (ba)', - 'bm' => 'Bambara (bm)', - 'eu' => 'Basque (eu)', - 'bn' => 'Bengali (bn)', - 'bi' => 'Bichlamar (bi)', - 'bh' => 'Bihari (bh)', - 'my' => 'Birman (my)', - 'be' => 'Biélorusse (be)', - 'bs' => 'Bosniaque (bs)', - 'br' => 'Breton (br)', - 'bg' => 'Bulgare (bg)', - 'ca' => 'Catalan; valencien (ca)', - 'ch' => 'Chamorro (ch)', - 'ny' => 'Chichewa; chewa; nyanja (ny)', - 'zh' => 'Chinois (zh)', - 'kw' => 'Cornique (kw)', - 'co' => 'Corse (co)', - 'ko' => 'Coréen (ko)', - 'cr' => 'Cree (cr)', - 'hr' => 'Croate (hr)', - 'da' => 'Danois (da)', - 'dz' => 'Dzongkha (dz)', - 'es' => 'Espagnol; castillan (es)', - 'eo' => 'Espéranto (eo)', - 'et' => 'Estonien (et)', - 'ee' => 'Éwé (ee)', - 'fj' => 'Fidjien (fj)', - 'fi' => 'Finnois (fi)', - 'fr' => 'Français (fr)', - 'fy' => 'Frison occidental (fy)', - 'fo' => 'Féroïen (fo)', - 'gl' => 'Galicien (gl)', - 'om' => 'Galla (om)', - 'cy' => 'Gallois (cy)', - 'lg' => 'Ganda (lg)', - 'gd' => 'Gaélique; gaélique écossais (gd)', - 'gu' => 'Goudjrati (gu)', - 'el' => 'Grec moderne (après 1453) (el)', - 'kl' => 'Groenlandais (kl)', - 'gn' => 'Guarani (gn)', - 'ka' => 'Géorgien (ka)', - 'ha' => 'Haoussa (ha)', - 'ht' => 'Haïtien; créole haïtien (ht)', - 'hz' => 'Herero (hz)', - 'hi' => 'Hindi (hi)', - 'ho' => 'Hiri motu (ho)', - 'hu' => 'Hongrois (hu)', - 'he' => 'Hébreu (he)', - 'io' => 'Ido (io)', - 'ig' => 'Igbo (ig)', - 'id' => 'Indonésien (id)', - 'ia' => 'Interlingua (langue auxiliaire internationale) (ia)', - 'ie' => 'Interlingue (ie)', - 'iu' => 'Inuktitut (iu)', - 'ik' => 'Inupiaq (ik)', - 'ga' => 'Irlandais (ga)', - 'is' => 'Islandais (is)', - 'it' => 'Italien (it)', - 'ja' => 'Japonais (ja)', - 'jv' => 'Javanais (jv)', - 'kn' => 'Kannada (kn)', - 'kr' => 'Kanouri (kr)', - 'ks' => 'Kashmiri (ks)', - 'kk' => 'Kazakh (kk)', - 'km' => 'Khmer central (km)', - 'ki' => 'Kikuyu (ki)', - 'ky' => 'Kirghiz (ky)', - 'kv' => 'Kom (kv)', - 'kg' => 'Kongo (kg)', - 'kj' => 'Kuanyama; kwanyama (kj)', - 'ku' => 'Kurde (ku)', - 'lo' => 'Lao (lo)', - 'la' => 'Latin (la)', - 'lv' => 'Letton (lv)', - 'li' => 'Limbourgeois (li)', - 'ln' => 'Lingala (ln)', - 'lt' => 'Lituanien (lt)', - 'lu' => 'Luba-katanga (lu)', - 'lb' => 'Luxembourgeois (lb)', - 'mk' => 'Macédonien (mk)', - 'ms' => 'Malais (ms)', - 'ml' => 'Malayalam (ml)', - 'dv' => 'Maldivien (dv)', - 'mg' => 'Malgache (mg)', - 'mt' => 'Maltais (mt)', - 'gv' => 'Manx; mannois (gv)', - 'mi' => 'Maori (mi)', - 'mr' => 'Marathe (mr)', - 'mh' => 'Marshall (mh)', - 'mo' => 'Moldave (mo)', - 'mn' => 'Mongol (mn)', - 'na' => 'Nauruan (na)', - 'nv' => 'Navaho (nv)', - 'ng' => 'Ndonga (ng)', - 'nd' => 'Ndébélé du Nord (nd)', - 'nr' => 'Ndébélé du Sud (nr)', - 'no' => 'Norvégien (no)', - 'nb' => 'Norvégien bokmål (nb)', - 'nn' => 'Norvégien nynorsk; nynorsk, norvégien (nn)', - 'nl' => 'Néerlandais; flamand (nl)', - 'ne' => 'Népalais (ne)', - 'oc' => 'Occitan (après 1500); provençal (oc)', - 'oj' => 'Ojibwa (oj)', - 'or' => 'Oriya (or)', - 'os' => 'Ossète (os)', - 'ur' => 'Ourdou (ur)', - 'uz' => 'Ouszbek (uz)', - 'ug' => 'Ouïgour (ug)', - 'ps' => 'Pachto (ps)', - 'pi' => 'Pali (pi)', - 'pa' => 'Pendjabi (pa)', - 'fa' => 'Persan (fa)', - 'ff' => 'Peul (ff)', - 'pl' => 'Polonais (pl)', - 'pt' => 'Portugais (pt)', - 'qu' => 'Quechua (qu)', - 'rm' => 'Romanche (rm)', - 'ro' => 'Roumain (ro)', - 'rn' => 'Rundi (rn)', - 'ru' => 'Russe (ru)', - 'rw' => 'Rwanda (rw)', - 'se' => 'Sami du Nord (se)', - 'sm' => 'Samoan (sm)', - 'sg' => 'Sango (sg)', - 'sa' => 'Sanskrit (sa)', - 'sc' => 'Sarde (sc)', - 'sr' => 'Serbe (sr)', - 'sn' => 'Shona (sn)', - 'sd' => 'Sindhi (sd)', - 'si' => 'Singhalais (si)', - 'cu' => 'Slavon d\'église; vieux slave; slavon liturgique; vieux bulgare (cu)', - 'sk' => 'Slovaque (sk)', - 'sl' => 'Slovène (sl)', - 'so' => 'Somali (so)', - 'st' => 'Sotho du Sud (st)', - 'su' => 'Soundanais (su)', - 'sv' => 'Suédois (sv)', - 'sw' => 'Swahili (sw)', - 'ss' => 'Swati (ss)', - 'tg' => 'Tadjik (tg)', - 'tl' => 'Tagalog (tl)', - 'ty' => 'Tahitien (ty)', - 'ta' => 'Tamoul (ta)', - 'tt' => 'Tatar (tt)', - 'cv' => 'Tchouvache (cv)', - 'cs' => 'Tchèque (cs)', - 'ce' => 'Tchétchène (ce)', - 'th' => 'Thaï (th)', - 'bo' => 'Tibétain (bo)', - 'ti' => 'Tigrigna (ti)', - 'to' => 'Tongan (Îles Tonga) (to)', - 'ts' => 'Tsonga (ts)', - 'tn' => 'Tswana (tn)', - 'tr' => 'Turc (tr)', - 'tk' => 'Turkmène (tk)', - 'tw' => 'Twi (tw)', - 'te' => 'Télougou (te)', - 'uk' => 'Ukrainien (uk)', - 've' => 'Venda (ve)', - 'vi' => 'Vietnamien (vi)', - 'vo' => 'Volapük (vo)', - 'wa' => 'Wallon (wa)', - 'wo' => 'Wolof (wo)', - 'xh' => 'Xhosa (xh)', - 'ii' => 'Yi de Sichuan (ii)', - 'yi' => 'Yiddish (yi)', - 'yo' => 'Yoruba (yo)', - 'za' => 'Zhuang; chuang (za)', - 'zu' => 'Zoulou (zu)', - ), -)); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/gym_sitemaps/install.php b/phpBB/language/fr/gym_sitemaps/install.php deleted file mode 100644 index 6e5cffe9df..0000000000 --- a/phpBB/language/fr/gym_sitemaps/install.php +++ /dev/null @@ -1,108 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: install.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* -* gym_common [French] -* Translated By: Mathieu M. & gowap [ www.phpbb-seo.com ] -* -*/ -/** -* DO NOT CHANGE -*/ -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - // Install - 'SEO_INSTALL_PANEL' => 'Installation GYM Sitemaps & RSS', - 'CAT_INSTALL_GYM_SITEMAPS' => 'Installer GYM Sitemaps', - 'CAT_UNINSTALL_GYM_SITEMAPS' => 'Désinstaller GYM Sitemaps', - 'CAT_UPDATE_GYM_SITEMAPS' => 'Mettre à jour GYM Sitemaps', - 'SEO_ERROR_INSTALL' => 'Une erreur est survenue lors de l’installation. Si vous souhaitez relancer l’installation, désinstallez d’abord le module.', - 'SEO_ERROR_INSTALLED' => 'Le module %s est déjà installé', - 'SEO_ERROR_ID' => 'Le module %s n’a pas d’ID.', - 'SEO_ERROR_UNINSTALLED' => 'Le module %s est déjà désinstallé', - 'SEO_ERROR_INFO' => 'Informations :', - 'SEO_FINAL_INSTALL_GYM_SITEMAPS' => 'Aller à l’ACP', - 'SEO_FINAL_UPDATE_GYM_SITEMAPS' => 'Aller à l’ACP', - 'SEO_FINAL_UNINSTALL_GYM_SITEMAPS' => 'Retour à l’index du forum', - 'SEO_OVERVIEW_TITLE' => 'Vue d’ensemble du MOD GYM Sitemaps de phpBB SEO', - 'SEO_OVERVIEW_BODY' => 'Bienvenue dans le processus d’installation du MOD GYM Sitemaps & RSS %1$s de phpBB SEO.</p><p>Veuillez lire <a href="%2$s" title="Voir le sujet de mise à disposition" target="_phpBBSEO"><b>le sujet de mise à disposition</b></a> pour plus de détails.</p><p><strong style="text-transform: uppercase;">Note:</strong> Vous devez avoir édité tous les fichiers nécessaires et uploadé tous les nouveaux fichiers avant de continuer avec cet assistant d’installation.</p><p>Cet assistant vous guidera pendant le processus d’installation du module d’administration du MOD GYM Sitemaps & RSS. Ce module vous permettra de mettre en place facilement des Sitemaps Google ainsi que des flux RSS sur votre forum. Son architecture modulaire vous permettra de générer des Sitemaps Google et des flux RSS pour n’importe qu’elle application PHP/SQL installée sur votre site, via l’utilisation de plugins dédiés.<br/>Rendez vous sur le <a href="%3$s" title="Voir le forum de support" target="_phpBBSEO"><b>le forum de support</b></a> pour toute question concernant le MOD.</p>', - 'CAT_SEO_PREMOD' => 'GYM Sitemaps & RSS', - 'SEO_INSTALL_INTRO' => 'Bienvenue dans le script d’installation de GYM Sitemaps & RSS.', - 'SEO_INSTALL_INTRO_BODY' => '<p>Vous êtes sur le point d’installer le module %1$s %2$s. Cet script d’installation va activer le module d’administration du MOD dans l’ACP de phpBB.</p><p>Une fois l’installation effectuée, vous devrez vous rendre dans l’ACP de phpBB pour configurer le module.</p> - <p><strong>Note:</strong> Si c’est votre première utilisation du MOD, nous vous conseillons de prendre le temps de tester ce MOD sur un serveur local ou privé pour vous familiariser avec ses nombreuses options et possibilités.</p><br/> - <p>Prérequis :</p> - <ul> - <li>Serveur Apache (linux), avec le module mod_rewrite pour activer la réécriture d’URL.</li> - <li>Serveur IIS (windows), avec le module isapi_rewrite pour activer la réécriture d’URL. Vous devrez cependant modifier les rewriterules pour votre httpd.ini</li> - </ul>', - 'SEO_INSTALL' => 'Installation', - 'UN_SEO_INSTALL_INTRO' => 'Bienvenue dans le script de désinstallation de GYM Sitemaps & RSS', - 'UN_SEO_INSTALL_INTRO_BODY' => '<p>Vous êtes sur le point de désinstaller le MOD %1$s %2$s.</p> - <p><strong>Note:</strong> Les Sitemaps et les flux RSS ne seront plus disponibles une fois le module désinstallé.</p>', - 'UN_SEO_INSTALL' => 'Désinstallation', - 'SEO_INSTALL_CONGRATS' => 'Félicitations !', - 'SEO_INSTALL_CONGRATS_EXPLAIN' => '<p>Vous avez correctement installé le MOD %1$s %2$s. Vous devriez maintenant vous rendre dans l’ACP de phpBB pour configurer le module.<p> - <p>Il se trouve dans la catégorie phpBB SEO, vous pourrez notamment : - <h3>Gérer précisément vos Sitemaps Google et vos flux RSS</h3> - <p>Les Sitemaps Google ainsi que les flux RSS supportent la mise en page par transformation XSLT, la feuille de style de votre forum sera même appliquée à ceux-ci sans éditer la moindre ligne de code.</p> - <p>Les Sitemaps Google ainsi que les flux RSS détectent automatiquement les MODs de réécriture phpBB SEO et leurs réglages, l’adaptation à d’autres solutions de réécriture est aisée.</p> - <h3>Générer un .htaccess personnalisé</h3> - <p>Avec les mod rewrite phpBB SEO et une fois que vous aurez procédé aux réglages, vous pourrez générer un fichier .htaccess personnalisé et l’enregistrer directement sur le serveur.</p><br/><h3>Rapport d’installation :</h3>', - 'UN_SEO_INSTALL_CONGRATS' => 'Le module d’administration GYM Sitemaps & RSS à été désinstallé.', - 'UN_SEO_INSTALL_CONGRATS_EXPLAIN' => '<p>Vous avez désinstallé avec succès le MOD %1$s %2$s.<p> - <p> Vos Sitemaps et vos flux RSS ne sont donc plus disponibles.</p>', - 'SEO_VALIDATE_INFO' => 'Validation :', - 'SEO_LICENCE_TITLE' => 'GNU LESSER GENERAL PUBLIC LICENSE', - 'SEO_LICENCE_BODY' => 'Le MOD GYM Sitemaps & RSS est diffusé sous la licence GNU LESSER GENERAL PUBLIC LICENSE.', - 'SEO_SUPPORT_TITLE' => 'Support', - 'SEO_SUPPORT_BODY' => 'Un support complet sera offert sur le <a href="%1$s" title=" Visitez le forum %2$s" target="_phpBBSEO"><b>forum %2$s</b></a>. Nous fournirons des réponses aux questions portant sur l’installation, les problèmes de configuration et l’identification de problèmes courants.</p><p>Profitez de l’occasion pour visiter notre <a href="http://www.phpbb-seo.com/forums/" title="Forum référencement" target="_phpBBSEO"><b>forum d’optimisation du référencement</b></a>.</p><p>Vous devriez vous <a href="http://www.phpbb-seo.com/forums/profile.php?mode=register" title="S’inscrire sur phpBB SEO" target="_phpBBSEO"><b>inscrire</b></a>, vous connecter et <a href="%3$s" title="Etre tenu au courant des mises à jours" target="_phpBBSEO"><b>surveiller le sujet de mise à disposition</b></a> pour être tenu au courant par mail des mises à jour.', - // Security - 'SEO_LOGIN' => 'Vous devez être enregistré et connecté pour pouvoir accéder cette page.', - 'SEO_LOGIN_ADMIN' => 'Vous devez être connecté en tant qu’administrateur pour pouvoir accéder à cette page.<br/>Votre session à été détruite pour des raisons de sécurité.', - 'SEO_LOGIN_FOUNDER' => 'Vous devez être connecté en tant que fondateur pour pouvoir accéder à cette page.', - 'SEO_LOGIN_SESSION' => 'La vérification de session à échoué.<br/>Aucune modification prise en compte.<br/>Votre session à été détruite pour des raisons de sécurité.', - // Cache status - 'SEO_CACHE_FILE_TITLE' => 'Statut du cache', - 'SEO_CACHE_STATUS' => 'Le dossier configuré pour le cache est : <b>%s</b>', - 'SEO_CACHE_FOUND' => 'Le dossier du cache à bien été trouvé.', - 'SEO_CACHE_NOT_FOUND' => 'Le dossier du cache n’à pas été trouvé.', - 'SEO_CACHE_WRITABLE' => 'Le dossier du cache est utilisable.', - 'SEO_CACHE_UNWRITABLE' => 'Le dossier du cache n’est pas utilisable. Vous devez configurer son CHMOD sur 0777.', - 'SEO_CACHE_FORUM_NAME' => 'Nom du forum', - 'SEO_CACHE_URL_OK' => 'URL en cache', - 'SEO_CACHE_URL_NOT_OK' => 'L’URL du forum n’est pas en cache', - 'SEO_CACHE_URL' => 'URL finale', - 'SEO_CACHE_MSG_OK' => 'Le fichier du cache a bien été mis à jour.', - 'SEO_CACHE_MSG_FAIL' => 'Un erreur s’est produite lors de la mise à jour du cache.', - 'SEO_CACHE_UPDATE_FAIL' => 'L’URL que vous avez soumise ne peut être utilisée, le cache n’a pas été modifié.', - // Update - 'UPDATE_SEO_INSTALL_INTRO' => 'Bienvenue dans le script de mise à jour de GYM Sitemaps & RSS.', - 'UPDATE_SEO_INSTALL_INTRO_BODY' => '<p>Vous êtes sur le point de mettre à jour le module %1$s vers la version %2$s. Cet script d’installation va mettre à jour la base de donnée de phpBB.<br/>Vos réglages actuels ne seront pas affectés</p> - <p><strong>Note:</strong> Ce script ne met pas à jour les fichiers de GYM Sitemaps & RSS.<br/><br/>Pour mettre à jour depuis n’importe quelle version 2.0.x (phpBB3), vous <b>devez</b> tout d’abord uploader tous les fichiers contenus dans le dossier <b>root/</b> de l’archive dans le dossier ftp de phpBB, en prenant soin de conserver vos éventuelles modification des fichiers de template (dossier phpBB/styles/, .html, .js et .xsl) ajoutés par le module.<br/><br/>Vous <b>pouvez</b> à tout moment relancer cette mise à jour si par exemple vous aviez oublié d’uploader des fichiers ou simplement pour réafficher la liste des modifications des fichiers de phpBB3.</p>', - 'UPDATE_SEO_INSTALL' => 'Mettre à jour', - 'SEO_ERROR_NOTINSTALLED' => 'GYM Sitemaps & RSS n’est pas installé!', - 'SEO_UPDATE_CONGRATS_EXPLAIN' => '<p>Vous avez correctement mis à jour le MOD %1$s vers la version %2$s.<p> - <p><strong>Note:</strong> Ce script ne met pas à jour les fichiers de GYM Sitemaps & RSS.<br/><b>Veuillez</b> appliquer les modifications ci-dessous.</p><br/><h3>Rapport de mise à jour :</h3>', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/help_bbcode.php b/phpBB/language/fr/help_bbcode.php deleted file mode 100644 index 466d02012e..0000000000 --- a/phpBB/language/fr/help_bbcode.php +++ /dev/null @@ -1,118 +0,0 @@ -<?php -/** -* -* help_bbcode [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: help_bbcode.php, v1.25 2009/10/16 13:08:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$help = array( - array( - 0 => '--', - 1 => 'Introduction' - ), - array( - 0 => 'Qu’est-ce que le BBCode?', - 1 => 'Le BBCode est une implémentation spéciale du HTML. L’administrateur détermine si le BBCode peut être utilisé dans vos messages sur le forum. Vous pouvez désactiver le BBCode dans certains messages via le formulaire de rédaction de message. Le BBCode ressemble au HTML, les balises sont entre crochets [ et ] au lieu de < et >, et offre une meilleure maîtrise de l’affichage du contenu. Selon le thème utilisé, vous pouvez également ajouter les BBCodes en cliquant dans l’interface au-dessus du formulaire de rédaction de message. Même avec cela, ce guide peut vous être utile.' - ), - array( - 0 => '--', - 1 => 'Mise en forme du texte' - ), - array( - 0 => 'Comment utiliser le gras, l’italique et le souligné', - 1 => 'Le BBCode permet de modifier rapidement la forme du texte grâce aux méthodes suivantes:<ul><li>Encadrez le texte entre <strong>[b][/b]</strong> pour mettre en gras, exemple:<br /><br /><strong>[b]</strong>Salut<strong>[/b]</strong><br /><br />devient <strong>Salut</strong></li><li>Utilisez <strong>[u][/u]</strong> pour souligner, exemple:<br /><br /><strong>[u]</strong>Bonjour<strong>[/u]</strong><br /><br />devient <span style="text-decoration: underline">Bonjour</span></li><li>Utilisez <strong>[i][/i]</strong> pour l’italique, exemple:<br /><br />C’est <strong>[i]</strong>génial!<strong>[/i]</strong><br /><br />donne C’est <em>génial!</em></li></ul>' - ), - array( - 0 => 'Changer la couleur et la taille du texte', - 1 => 'Pour modifier la couleur ou la taille de votre texte, vous pouvez utiliser les balises suivantes. Gardez à l’esprit que la façon dont votre message s’affichera dépendra du navigateur et du système:<ul><li>Vous pouvez changer la couleur d’un texte en l’encadrant entre les balises <strong>[color=][/color]</strong>. Vous pouvez indiquer un nom de couleur connu (comme: red, blue, yellow, etc.) ou bien indiquer un code hexadécimal, c.-à-d. #FFFFFF, #000000. Par exemple, pour du texte rouge:<br /><br /><strong>[color=red]</strong>Salut!<strong>[/color]</strong><br /><br />ou<br /><br /><strong>[color=#FF0000]</strong>Salut!<strong>[/color]</strong><br /><br />afficheront tous les deux <span style="color:red">Salut!</span></li><li>Vous pouvez changer la taille du texte de façon analogue avec les balises <strong>[size=][/size]</strong>. Cette balise dépend du thème utilisé mais le format recommandé est une valeur numérique représentant la hauteur du texte en pourcentage, à partir de 20 (tellement petit que vous ne pourrez pas le voir) jusqu’à 200 (très grand). Par exemple:<br /><br /><strong>[size=30]</strong>PETIT<strong>[/size]</strong><br /><br />sera affiché <span style="font-size:30%;">PETIT</span><br /><br />alors que<br /><br /><strong>[size=200]</strong>ENORME!<strong>[/size]</strong><br /><br />donnera <span style="font-size:200%;">ENORME!</span></li></ul>' - ), - array( - 0 => 'Puis-je combiner des balises?', - 1 => 'Oui, bien évidemment, vous pouvez écrire pour attirer l’attention:<br /><br /><strong>[size=200][color=red][b]</strong>REGARDEZ-MOI!<strong>[/b][/color][/size]</strong><br /><br />ce qui donne <span style="color:red;font-size:200%;"><strong>REGARDEZ-MOI!</strong></span><br /><br />Attention toutefois à ne pas en abuser! Retenez aussi que c’est à vous, l’auteur, de vous assurer que les balises sont correctement fermées. Par exemple, ceci est incorrect:<br /><br /><strong>[b][u]</strong>C’est faux!<strong>[/b][/u]</strong>' - ), - array( - 0 => '--', - 1 => 'Citations et textes à espacement fixe' - ), - array( - 0 => 'Citer du texte dans les réponses', - 1 => 'Il y a deux manières de citer un texte, avec ou sans référence.<ul><li>Lorsque vous utilisez la fonction de citation pour répondre à un message sur le forum, vous pouvez noter que le texte du message est ajouté à l’intérieur d’un bloc <strong>[quote=""][/quote]</strong>. Cette méthode vous permet de citer avec une référence à une personne ou toute autre référence! Par exemple, pour citer un texte de M. Goutte, vous mettrez:<br /><br /><strong>[quote="M. Goutte"]</strong>Le texte de M. Goutte ira ici<strong>[/quote]</strong><br /><br /><em>M. Goutte a écrit:</em> sera ajouté automatiquement avant le texte. Souvenez-vous que vous <strong>devez</strong> encadrer entre "" le nom à citer, ce n’est pas optionnel.</li><li>La deuxième méthode vous permet de faire des citations en aveugle. Pour l’utiliser, encadrez le texte avec les balises <strong>[quote][/quote]</strong>. Lorsque vous consulterez le message, cela affichera, en fonction du thème utilisé, <em>Citation:</em> avant le texte lui-même.</li></ul>' - ), - array( - 0 => 'Afficher du code ou des données à espacement fixe', - 1 => 'Si vous désirez insérer du code ou quoi que ce soit qui nécessite une police à largeur fixe, par exemple: une police de type Courier, encadrez votre texte entre les balises <strong>[code][/code]</strong>:<br /><br /><strong>[code]</strong>echo "Un peu de code";<strong>[/code]</strong><br /><br />Le format utilisé entre les balises <strong>[code][/code]</strong> est enregistré pour une consultation ultérieure. La syntaxe PHP peut être mise en valeur en utilisant <strong>[code=php][/code]</strong> et c’est recommandé lorsque des extraits de code PHP sont publiés afin d’en améliorer la lisibilité.' - ), - array( - 0 => '--', - 1 => 'Génération de listes' - ), - array( - 0 => 'Création d’une liste non ordonnée', - 1 => 'Le BBCode gère deux types de listes: ordonnées ou non. Elles sont les mêmes que leur équivalent HTML. Une liste non ordonnée affiche chaque élément de la liste séquentiellement l’un après l’autre, chacun indenté par une puce. Utilisez <strong>[list][/list]</strong> pour créer une liste non ordonnée et définissez chaque élément avec <strong>[*]</strong>. Par exemple, pour la liste de vos couleurs préférées, utilisez:<br /><br /><strong>[list]</strong><br /><strong>[*]</strong>Rouge<br /><strong>[*]</strong>Bleu<br /><strong>[*]</strong>Jaune<br /><strong>[/list]</strong><br /><br />Ce qui générera la liste suivante:<ul><li>Rouge</li><li>Bleu</li><li>Jaune</li></ul>' - ), - array( - 0 => 'Création d’une liste ordonnée', - 1 => 'Le deuxième type de liste, la liste ordonnée, vous permet de décider de ce qui s’affiche avant chaque élément. Utilisez <strong>[list=1][/list]</strong> pour créer une liste ordonnée numérotée ou <strong>[list=a][/list]</strong> pour une liste alphabétique. Comme pour les listes non ordonnées, les éléments sont indiqués avec <strong>[*]</strong>. Par exemple:<br /><br /><strong>[list=1]</strong><br /><strong>[*]</strong>Faire les courses<br /><strong>[*]</strong>Acheter un nouvel ordinateur<br /><strong>[*]</strong>Jurer quand le PC plante<br /><strong>[/list]</strong><br /><br />affichera<ol style="list-style-type: arabic-numbers"><li>Faire les courses</li><li>Acheter un nouvel ordinateur</li><li>Jurer quand le PC plante</li></ol>Alors que pour une liste alphabétique, vous utiliserez:<br /><br /><strong>[list=a]</strong><br /><strong>[*]</strong>Réponse 1<br /><strong>[*]</strong>Réponse 2<br /><strong>[*]</strong>Réponse 3<br /><strong>[/list]</strong><br /><br />et vous obtiendrez<ol style="list-style-type: lower-alpha"><li>Réponse 1</li><li>Réponse 2</li><li>Réponse 3</li></ol>' - ), - // This block will switch the FAQ-Questions to the second template column - array( - 0 => '--', - 1 => '--' - ), - array( - 0 => '--', - 1 => 'Création de liens' - ), - array( - 0 => 'Liens vers un autre site', - 1 => 'Le BBCode permet de créer des URI (Indicateurs de Ressources Uniformes) ou URL de différentes façons.<ul><li>La première est d’utiliser les balises <strong>[url=][/url]</strong>, ce que vous taperez après le signe = se comportera comme une URL. Par exemple, pour un lien vers phpBB-fr.com, vous pouvez utiliser:<br /><br /><strong>[url=http://forums.phpbb-fr.com/]</strong>Visitez phpBB!<strong>[/url]</strong><br /><br />Ce qui générera le lien, <a href="http://forums.phpbb-fr.com/">Visitez phpBB!</a> Vous noterez que le lien s’ouvre soit dans la même fenêtre, soit dans une nouvelle fenêtre selon les préférences du navigateur.</li> <li>Si vous désirez que l’URL elle-même soit affichée comme un lien, vous pouvez simplement utiliser:<br /><br /><strong>[url]</strong>http://forums.phpbb-fr.com/<strong>[/url]</strong><br /><br />Ce qui générera le lien, <a href="http://forums.phpbb-fr.com/">http://forums.phpbb-fr.com/</a></li><li>De plus, phpBB autorise les <em>Liens Magiques</em>, ce qui transforme automatiquement les URL correctement écrites en lien sans indiquer de balise ou même http://. Par exemple, si vous tapez forums.phpbb-fr.com, un lien <a href="http://forums.phpbb-fr.com/">forums.phpbb-fr.com</a> sera affiché automatiquement à la lecture de votre message.</li><li>La même chose s’applique aux adresses e-mails, vous pouvez indiquer l’adresse explicitement, comme par exemple:<br /><br /><strong>[email]</strong>personne@domain.adr<strong>[/email]</strong><br /><br />ce qui affichera <a href="mailto:personne@domain.adr">personne@domain.adr</a> ou bien vous pouvez simplement taper personne@domain.adr dans votre message et cela sera automatiquement converti lors de la consultation.</li></ul>Comme avec toutes les balises BBCode, vous pouvez encapsuler avec des URL d’autres balises telles que <strong>[img][/img]</strong> (voir l’entrée suivante), <strong>[b][/b]</strong>, etc. Comme avec les balises de mise en forme, c’est à vous de vous assurer de les ouvrir et de les fermer correctement, par exemple:<br /><br /><strong>[url=http://forums.phpbb-fr.com/][img]</strong>http://forums.phpbb-fr.com/images/phplogo.gif<strong>[/url][/img]</strong><br /><br />n’est <span style="text-decoration: underline">pas</span> correct ce qui peut entraîner la suppression de votre message, donc faites attention.' - ), - array( - 0 => '--', - 1 => 'Afficher des images dans les messages' - ), - array( - 0 => 'Ajout d’une image dans un message', - 1 => 'Le BBCode permet d’inclure des images dans vos messages à l’aide d’une balise. Il y a deux choses importantes à se rappeler lors de l’utilisation de cette balise qui sont d’une part, que beaucoup d’utilisateurs n’apprécient pas qu’il y ait beaucoup d’images dans les messages et d’autre part, que l’image affichée doit être disponible sur Internet (elle ne peut être uniquement que sur votre ordinateur, sauf si vous avez un serveur Web!). Pour afficher une image, vous devez encadrer son URL entre des balises <strong>[img][/img]</strong>. Par exemple:<br /><br /><strong>[img]</strong>http://www.google.com/intl/en_ALL/images/logo.gif<strong>[/img]</strong><br /><br />Comme noté dans la section URL ci-dessus, vous pouvez entourer l’image entre des balises <strong>[url][/url]</strong> si désiré, exemple:<br /><br /><strong>[url=http://www.google.com/][img]</strong>http://www.google.com/intl/en_ALL/images/logo.gif<strong>[/img][/url]</strong><br /><br />affichera<br /><br /><a href="http://www.google.com/"><img src="http://www.google.com/intl/en_ALL/images/logo.gif" alt="" /></a>' - ), - array( - 0 => 'Joindre un fichier à un message', - 1 => 'Les fichiers peuvent maintenant être joints à n’importe quel endroit du message en utilisant le BBcode <strong>[attachment=][/attachment]</strong>, si l’administrateur a activé cette fonctionnalité et si vous en avez la permission. Dans l’écran de rédaction de message, vous trouverez un menu déroulant (respectivement un bouton) pour joindre vos fichiers en ligne.' - ), - array( - 0 => '--', - 1 => 'Autres questions' - ), - array( - 0 => 'Puis-je ajouter mes balises?', - 1 => 'Si vous êtes administrateur du forum et avez les autorisations nécessaires, vous pouvez ajouter des BBcodes supplémentaires via la section "BBcodes" dans le sous menu "Messages".' - ) -); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/help_faq.php b/phpBB/language/fr/help_faq.php deleted file mode 100644 index 8567805c84..0000000000 --- a/phpBB/language/fr/help_faq.php +++ /dev/null @@ -1,346 +0,0 @@ -<?php -/** -* -* help_faq [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: help_faq.php, v1.27 2010/11/22 10:49:00 Lolovoisin Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$help = array( - array( - 0 => '--', - 1 => 'Problèmes d’identification et d’inscription' - ), - array( - 0 => 'Pourquoi ne puis-je pas me connecter?', - 1 => 'Plusieurs raisons peuvent expliquer cela. Premièrement, vérifiez que vos nom d’utilisateur et mot de passe sont corrects. S’ils le sont, contactez l’administrateur pour vérifier que vous n’avez pas été banni. Il est possible aussi que l’administrateur ait une erreur de configuration de son côté, et qu’il soit nécessaire de la corriger.' - ), - array( - 0 => 'Pourquoi dois-je m’inscrire après tout?', - 1 => 'Vous pouvez ne pas en avoir besoin mais l’administrateur peut décider si vous devez vous inscrire pour poster des messages. Par ailleurs, l’inscription vous permet de bénéficier de fonctionnalités supplémentaires inaccessibles aux visiteurs comme les avatars personnalisés, la messagerie privée, l’envoi d’e-mails aux autres membres, l’adhésion à des groupes, etc. L’inscription est rapide et vivement conseillée.' - ), - array( - 0 => 'Pourquoi suis-je automatiquement déconnecté?', - 1 => 'Si vous ne cochez pas la case <em>Me connecter automatiquement à chaque visite</em> lors de votre connexion, vous ne resterez connecté que pendant une durée déterminée. Cela empêche l’utilisation abusive de votre compte. Pour rester connecté, cochez cette case lors de la connexion. Ce n’est pas recommandé si vous utilisez un ordinateur public pour accéder au forum (bibliothèque, cybercafé, université, etc.). Si vous ne voyez pas cette case, cela signifie que l’administrateur a désactivé cette fonctionnalité.' - ), - array( - 0 => 'Comment empêcher mon nom d’apparaître dans la liste des utilisateurs connectés?', - 1 => 'Vous trouverez dans votre panneau de l’utilisateur, onglet “Préférences du forum”, l’option <em>Cacher mon statut en ligne</em>. Mettez cette option sur <samp>Oui</samp> ainsi seuls les administrateurs, les modérateurs et vous verrez votre nom dans la liste. Vous serez compté parmi les utilisateurs invisibles.' - ), - array( - 0 => 'J’ai perdu mon mot de passe!', - 1 => 'Pas de panique! Bien que votre mot de passe ne puisse pas être récupéré, il peut toutefois être réinitialisé. Pour cela, sur la page de connexion, cliquez sur <em>J’ai oublié mon mot de passe</em>. Suivez les instructions et vous devriez pouvoir à nouveau vous connecter.' - ), - array( - 0 => 'Je suis enregistré mais je ne peux pas me connecter!', - 1 => 'Vérifiez, en premier, vos nom d’utilisateur et mot de passe. S’ils sont corrects, il y a deux possibilités. Si la gestion COPPA est active et si vous avez indiqué avoir moins de 13 ans lors de l’inscription, vous devrez alors suivre les instructions reçues. Certains forums nécessitent que toute nouvelle inscription soit activée par vous-même ou par l’administrateur avant que vous puissiez vous connecter. Cette information est indiquée lors de l’inscription. Si vous avez reçu un e-mail, suivez ses instructions. Si vous n’avez pas reçu d’e-mail, il se peut que vous ayez fourni une adresse incorrecte ou que l’e-mail ait été traité par un filtre anti-spam. Si vous êtes sûr de l’adresse e-mail fournie, contactez l’administrateur.' - ), - array( - 0 => 'Je me suis enregistré par le passé mais je ne peux plus me connecter?!', - 1 => 'Commencez par vérifier vos nom d’utilisateur et mot de passe dans l’e-mail reçu lors de votre inscription et réessayez. Il est possible aussi que l’administrateur ait supprimé ou désactivé votre compte. En effet, il est courant de supprimer régulièrement les utilisateurs ne postant pas pour réduire la taille de la base de données. Si cela vous arrive, tentez de vous réinscrire et soyez plus investi dans le forum.' - ), - array( - 0 => 'Que signifie COPPA?', - 1 => 'COPPA (ou <em>Child Online Privacy and Protection Act</em> de 1998) est une loi aux Etats-Unis qui dit que les sites Internet pouvant recueillir des informations de mineurs de moins de 13 ans doivent obtenir le consentement <strong>écrit</strong> des parents (ou d’un tuteur légal) pour la collecte de ces informations permettant d’identifier un mineur de moins de 13 ans. Si vous n’êtes pas sûr que cela s’applique à vous, lorsque vous vous inscrivez, ou au site Internet auquel vous tentez de vous inscrire, demandez une assistance légale. Notez que l’équipe du forum ne peut pas fournir de conseil légal et ne saurait être contactée pour des questions légales de toute sorte, à l’exception de celles soulignées ci-dessous.', - ), - array( - 0 => 'Pourquoi ne puis-je pas m’inscrire?', - 1 => 'Il est possible que le propriétaire du site ait banni votre IP ou interdit le nom d’utilisateur que vous souhaitez utiliser. Le propriétaire du site peut également avoir désactivé l’inscription pour en empêcher de nouvelles. Contactez l’administrateur pour plus de renseignements.', - ), - array( - 0 => 'A quoi sert “Supprimer les cookies du forum”?', - 1 => 'Cela supprime tous les cookies créés par phpBB3 qui conservent votre identification et votre connexion au forum. Ils fournissent aussi des fonctionnalités telles que l’enregistrement du statut des messages, lu ou non-lu, si cela a été activé par l’administrateur. Si vous avez des problèmes de connexion/déconnexion, la suppression des cookies peut les corriger.', - ), - array( - 0 => '--', - 1 => 'Préférences et paramètres de l’utilisateur' - ), - array( - 0 => 'Comment modifier mes paramètres?', - 1 => 'Tous vos paramètres (si vous êtes inscrit) sont enregistrés dans notre base de données. Pour les modifier, visitez le lien <em>Panneau de l’utilisateur</em> (généralement affiché en haut de toutes les pages du forum). Cela vous permettra de modifier tous vos paramètres et préférences.' - ), - array( - 0 => 'Les heures ne sont pas correctes!', - 1 => 'Il est possible que l’heure affichée soit sur un fuseau horaire différent de celui dans lequel vous êtes. Dans ce cas, vous devez modifier vos préférences pour le fuseau horaire de votre zone (Londres, Paris, New York, Sydney, etc.) dans le panneau de l’utilisateur. Notez que la modification du fuseau horaire, comme la plupart des paramètres n’est accessible qu’aux utilisateurs enregistrés. Donc si vous n’êtes pas inscrit, c’est le bon moment pour le faire.' - ), - array( - 0 => 'J’ai changé mon fuseau horaire et l’heure est encore incorrecte!', - 1 => 'Si vous êtes sûr d’avoir correctement paramétré votre fuseau horaire et l’heure d’été, il se peut que le serveur ne soit pas à l’heure. Signalez ce problème à l’administrateur.' - ), - array( - 0 => 'Ma langue n’est pas dans la liste!', - 1 => 'La raison la plus probable est que l’administrateur n’a pas installé votre langue ou bien que personne n’a encore traduit phpBB3 dans votre langue. Essayez de demander à l’administrateur d’installer la langue désirée. Si elle n’existe pas, vous êtes alors libre de créer une nouvelle traduction. Vous trouverez plus d’informations sur le site du groupe phpBB (voir le lien en bas de page).' - ), - array( - 0 => 'Comment puis-je afficher une image avec mon nom d’utilisateur?', - 1 => 'Il peut y avoir deux images avec un nom d’utilisateur sur la page de consultation des messages. La première est associée à votre rang, généralement des étoiles ou des blocs indiquant votre nombre de messages ou votre statut sur le forum. La seconde, une image plus grande, connue sous le nom d’avatar est généralement unique et personnelle à chaque utilisateur. C’est à l’administrateur d’activer les avatars et de décider de la manière dont ils sont mis à disposition. Si vous ne pouvez pas utiliser d’avatar, c’est peut-être une décision de l’administrateur. Vous pouvez le contacter pour lui demander ses raisons.' - ), - array( - 0 => 'Qu’est-ce que mon rang et comment le modifier?', - 1 => 'Les rangs qui apparaissent sous le nom d’utilisateur indiquent le nombre de messages postés ou identifient certains utilisateurs tels que les modérateurs et administrateurs. En général, vous ne pouvez pas directement modifier l’intitulé d’un rang car il est paramétré par l’administrateur. Si vous abusez des forums en postant des messages dans le seul but d’augmenter votre rang, un modérateur ou un administrateur peut rabaisser votre compteur de messages.' - ), - array( - 0 => 'Lorsque je clique sur le lien <em>e-mail</em> d’un utilisateur, on me demande de me connecter?', - 1 => 'Seuls les utilisateurs enregistrés peuvent s’envoyer des e-mails via le formulaire intégré (si la fonction a été activée par l’administrateur). Ceci pour empêcher un usage abusif de la fonctionnalité par les invités.' - ), - array( - 0 => '--', - 1 => 'Problèmes liés aux envois de messages' - ), - array( - 0 => 'Comment poster dans un forum?', - 1 => 'Cliquez sur le bouton adéquat (Nouveau ou Répondre) sur la page du forum ou des sujets. Il se peut que vous ayez besoin d’être enregistré pour écrire un message. Une liste des options disponibles est affichée en bas des pages des forums et des sujets, exemple: Vous <strong>pouvez</strong> poster des nouveaux sujets, Vous <strong>pouvez</strong> participer aux votes, etc.' - ), - array( - 0 => 'Comment modifier ou supprimer un message?', - 1 => 'A moins d’être administrateur ou modérateur, vous ne pouvez modifier ou supprimer que vos propres messages. Vous pouvez modifier un message (quelquefois dans une durée limitée après sa publication) en cliquant sur le bouton <em>éditer</em> du message correspondant. Si quelqu’un a déjà répondu au message, un petit texte s’affichera en bas du message indiquant qu’il a été édité, le nombre de fois qu’il a été modifié ainsi que la date et l’heure de la dernière édition. Ce message n’apparaîtra pas si un modérateur ou un administrateur modifie le message, cependant ils ont la possibilité de laisser une note indiquant qu’ils ont modifié le message de leur propre initiative. Notez que les utilisateurs ne peuvent pas supprimer un message une fois que quelqu’un y a répondu.' - ), - array( - 0 => 'Comment ajouter une signature à mes messages?', - 1 => 'Vous devez d’abord créer une signature dans votre panneau de l’utilisateur. Une fois créée, vous pouvez cocher <em>Attacher sa signature</em> sur le formulaire de rédaction de message. Vous pouvez aussi ajouter la signature par défaut à tous vos messages en activant la case correspondante dans le panneau de l’utilisateur (onglet <em>Préférences du forum --> Modifier les préférences de message</em>). Par la suite, vous pourrez toujours empêcher une signature d’être ajoutée à un message en décochant la case <em>Attacher sa signature</em> dans le formulaire de rédaction de message.' - ), - array( - 0 => 'Comment créer un sondage?', - 1 => 'Il est facile de créer un sondage, lors de la publication d’un nouveau sujet ou la modification du premier message d’un sujet (si vous en avez les permissions), cliquez sur l’onglet <em>Sondage</em> sous la partie message (si vous ne le voyez pas, vous n’avez probablement pas le droit de créer des sondages). Saisissez le titre du sondage et au moins deux options possibles, entrez une option par ligne dans le champ des réponses. Vous pouvez aussi indiquer le nombre de réponses qu’un utilisateur peut choisir lors de son vote dans “Option(s) par l’utilisateur”, limiter la durée en jours du sondage (mettre “0” pour une durée illimitée) et enfin permettre aux utilisateurs de modifier leur vote.' - ), - array( - 0 => 'Pourquoi ne puis-je pas ajouter plus d’options à mon sondage?', - 1 => 'Le nombre d’options maximum par sondage est défini par l’administrateur. Si vous avez besoin d’indiquer plus d’options, contactez-le.' - ), - array( - 0 => 'Comment modifier ou supprimer un sondage?', - 1 => 'Comme pour les messages, les sondages ne peuvent être modifiés que par l’auteur original, un modérateur ou un administrateur. Pour modifier un sondage, cliquez sur le bouton <em>éditer</em> du premier message du sujet (c’est toujours celui auquel est associé le sondage). Si personne n’a voté, l’auteur peut modifier une option ou supprimer le sondage. Autrement, seuls les modérateurs et les administrateurs peuvent le modifier ou le supprimer. Ceci pour empêcher le trucage en changeant les intitulés en cours de sondage.' - ), - array( - 0 => 'Pourquoi ne puis-je pas accéder à un forum?', - 1 => 'Certains forums peuvent être réservés à certains utilisateurs ou groupes. Pour les consulter, les lire, y poster, etc., vous devez avoir une permission spéciale. Seuls les modérateurs de groupes et les administrateurs peuvent accorder cet accès, vous devez donc les contacter.' - ), - array( - 0 => 'Pourquoi ne puis-je pas joindre des fichiers à mon message?', - 1 => 'La possibilité d’ajouter des fichiers joints peut être accordée par forum, par groupe, ou par utilisateur. L’administrateur peut ne pas avoir autorisé l’ajout de fichiers joints pour le forum dans lequel vous postez, ou peut-être que seul un groupe peut en joindre. Contactez l’administrateur si vous ne savez pas pourquoi vous ne pouvez pas ajouter de fichiers joints sur un forum.' - ), - array( - 0 => 'Pourquoi ai-je reçu un avertissement?', - 1 => 'Chaque administrateur a son propre ensemble de règles pour son site. Si vous avez dérogé à une règle, vous pouvez recevoir un avertissement. Notez que c’est la décision de l’administrateur, et que le groupe phpBB n’est pas concerné par les avertissements d’un site donné. Contactez l’administrateur si vous ne comprenez pas les raisons de votre avertissement.' - ), - array( - 0 => 'Comment rapporter des messages à un modérateur?', - 1 => 'Si l’administrateur l’a permis, allez sur le message à signaler et vous devriez voir un bouton pour rapporter le message. En cliquant dessus, vous accéderez aux étapes nécessaires pour ce faire.' - ), - array( - 0 => 'A quoi sert le bouton “Sauvegarder” dans la page de rédaction de message?', - 1 => 'Il vous permet d’enregistrer les messages à terminer pour les poster plus tard. Pour les recharger, allez dans le panneau de l’utilisateur (onglet <em>Aperçu --> Gestion des brouillons</em>).' - ), - array( - 0 => 'Pourquoi mon message doit être validé?', - 1 => 'L’administrateur peut avoir décidé que le forum dans lequel vous postez nécessite la validation des messages. Il est possible aussi que l’administrateur vous ait placé dans un groupe dont les messages doivent être validés avant d’être affichés. Contactez l’administrateur pour plus d’informations.' - ), - array( - 0 => 'Comment remonter mon sujet?', - 1 => 'En cliquant sur le lien “Remonter le sujet” lors de sa consultation, vous pouvez <em>remonter</em> le sujet en haut du forum sur la première page. Par ailleurs, si vous ne voyez pas ce lien, cela signifie que la remontée de sujet est désactivée ou que l’intervalle de temps pour autoriser la remontée n’est pas atteint. Il est également possible de remonter un sujet simplement en y répondant. Néanmoins, assurez-vous de respecter les règles du forum en le faisant.' - ), - array( - 0 => '--', - 1 => 'Mise en forme et types de sujet' - ), - array( - 0 => 'Que sont les BBCodes?', - 1 => 'Le BBCode est une variante du HTML, offrant un large contrôle de mise en forme des éléments d’un message. L’administrateur peut décider si vous pouvez utiliser les BBCodes, vous pouvez aussi les désactiver dans chacun de vos messages en utilisant l’option appropriée du formulaire de rédaction de message. Le BBCode lui-même est similaire au style HTML, mais les balises sont incluses entre crochets [ et ] plutôt que < et >. Pour plus d’informations sur le BBCode, consultez le guide accessible depuis la page de rédaction de message.' - ), - array( - 0 => 'Puis-je utiliser le HTML?', - 1 => 'Non, il n’est pas possible de publier du HTML sur ce forum. La plupart des mises en forme permises par le HTML peuvent être appliquées avec les BBCodes.' - ), - array( - 0 => 'Que sont les smileys?', - 1 => 'Les smileys, ou émoticônes, sont de petites images utilisées pour exprimer des sentiments avec un code simple, exemple: :) signifie joyeux, :( signifie triste. La liste complète des smileys est visible sur la page de rédaction de message. Essayez toutefois de ne pas en abuser. Ils peuvent rapidement rendre un message illisible et un modérateur peut décider de les retirer ou simplement d’effacer le message. L’administrateur peut aussi avoir défini un nombre maximum de smileys par message.' - ), - array( - 0 => 'Puis-je publier des images?', - 1 => 'Oui, vous pouvez afficher des images dans vos messages. Par ailleurs, si l’administrateur a autorisé les fichiers joints, vous pouvez charger une image sur le forum. Autrement, vous devez lier une image placée sur un serveur Web public, exemple: http://www.exemple.com/mon-image.gif. Vous ne pouvez pas lier des images de votre ordinateur (sauf si c’est un serveur Web public) ni des images placées derrière des mécanismes d’authentification, exemple: Boîtes e-mail Hotmail ou Yahoo!, sites protégés par un mot de passe, etc. Pour afficher l’image, utilisez la balise BBCode [img].' - ), - array( - 0 => 'Que sont les annonces globales?', - 1 => 'Les annonces globales contiennent des informations importantes que vous devez lire dès que possible. Elles apparaissent en haut de chaque forum et dans votre panneau de l’utilisateur. La possibilité de publier des annonces globales dépend des permissions définies par l’administrateur.' - ), - array( - 0 => 'Que sont les annonces?', - 1 => 'Les annonces contiennent souvent des informations importantes concernant le forum que vous consultez et doivent être lues dès que possible. Les annonces apparaissent en haut de chaque page du forum dans lequel elles sont publiées. Comme pour les annonces globales, la possibilité de publier des annonces dépend des permissions définies par l’administrateur.' - ), - array( - 0 => 'Que sont les post-it?', - 1 => 'Un post-it apparaît en dessous des annonces sur la première page du forum dans lequel il a été publié. Il contient des informations relativement importantes et vous devez le consulter régulièrement. Comme pour les annonces et les annonces globales, la possibilité de publier des post-it dépend des permissions définies par l’administrateur.' - ), - array( - 0 => 'Que sont les sujets verrouillés?', - 1 => 'Vous ne pouvez plus répondre dans les sujets verrouillés et tout sondage y étant contenu est alors terminé. Les sujets peuvent être verrouillés pour différentes raisons par un modérateur ou un administrateur. Selon les permissions accordées par l’administrateur, vous pouvez ou non verrouiller vos propres sujets.' - ), - array( - 0 => 'Que sont les icônes de sujet?', - 1 => 'Les icônes de sujet sont des images qui peuvent être associées à des messages pour refléter leur contenu. La possibilité d’utiliser des icônes de sujet dépend des permissions définies par l’administrateur.' - ), - // This block will switch the FAQ-Questions to the second template column - array( - 0 => '--', - 1 => '--' - ), - array( - 0 => '--', - 1 => 'Niveaux d’utilisateurs et groupes' - ), - array( - 0 => 'Qui sont les administrateurs?', - 1 => 'Les administrateurs sont les utilisateurs qui ont le plus haut niveau de contrôle sur tout le forum. Ils contrôlent tous les aspects du forum comme les permissions, le bannissement, la création de groupes d’utilisateurs ou de modérateurs, etc., selon les permissions que le fondateur du forum a attribuées aux autres administrateurs. Ils peuvent aussi avoir toutes les capacités de modération sur l’ensemble des forums, selon ce que le fondateur a autorisé.' - ), - array( - 0 => 'Que sont les modérateurs?', - 1 => 'Les modérateurs sont des utilisateurs (ou groupes d’utilisateurs) dont le travail consiste à vérifier au jour le jour le bon fonctionnement du forum. Ils ont le pouvoir de modifier ou supprimer des messages, de verrouiller, déverrouiller, déplacer, supprimer et diviser les sujets des forums qu’ils modèrent. Généralement, les modérateurs empêchent que les utilisateurs partent en <em>hors-sujet</em> ou publient du contenu abusif ou offensant.' - ), - array( - 0 => 'Que sont les groupes d’utilisateurs?', - 1 => 'Les groupes sont la manière pour les administrateurs de regrouper et gérer des utilisateurs. Chaque utilisateur peut appartenir à plusieurs groupes et chaque groupe peut avoir des permissions particulières. Cela fournit aux administrateurs une façon simple de modifier les permissions de plusieurs utilisateurs en une fois, telles que rendre plusieurs utilisateurs modérateurs d’un forum ou leur donner accès à un forum privé.' - ), - array( - 0 => 'Comment adhérer à un groupe d’utilisateurs?', - 1 => 'Pour adhérer à un groupe, cliquez sur le lien <em>Groupes d’utilisateurs</em> dans votre panneau de l’utilisateur, vous pouvez ensuite voir tous les groupes. Tous les groupes ne sont pas en <em>accès libre</em>. Certains peuvent nécessiter une validation, certains sont fermés et d’autres peuvent même être masqués. Si le groupe est ouvert, vous pouvez le rejoindre en cliquant sur le bouton approprié. Si le groupe requiert une validation, vous pouvez demander à le rejoindre en cliquant sur le bouton approprié. Un modérateur de groupe devra confirmer votre requête et pourra vous demander pourquoi vous voulez rejoindre le groupe. N’importunez pas le modérateur s’il annule votre requête, il a sûrement ses raisons.' - ), - array( - 0 => 'Comment devenir modérateur de groupe?', - 1 => 'Lorsque des groupes sont créés par l’administrateur, il leur est attribué un modérateur. Si vous désirez créer un groupe d’utilisateurs, contactez l’administrateur en premier lieu en lui envoyant un message privé.', - ), - array( - 0 => 'Pourquoi certains groupes d’utilisateurs apparaissent dans une couleur différente?', - 1 => 'L’administrateur peut attribuer des couleurs aux membres d’un groupe pour les rendre facilement identifiables.' - ), - array( - 0 => 'Qu’est-ce qu’un “Groupe par défaut”?', - 1 => 'Si vous êtes membre de plus d’un groupe, celui par défaut est utilisé pour déterminer le rang et la couleur de groupe affichés par défaut. L’administrateur peut vous permettre de changer votre groupe par défaut via votre panneau de l’utilisateur.' - ), - array( - 0 => 'Qu’est-ce que le lien “L’équipe du forum”?', - 1 => 'Cette page donne la liste des membres de l’équipe du forum, y compris les administrateurs et modérateurs ainsi que d’autres détails tels que les forums qu’ils modèrent.' - ), - array( - 0 => '--', - 1 => 'Messagerie privée' - ), - array( - 0 => 'Je ne peux pas envoyer de messages privés!', - 1 => 'Il y a trois raisons pour cela: vous n’êtes pas enregistré et/ou connecté, l’administrateur a désactivé la messagerie privée sur l’ensemble du forum, ou l’administrateur vous a empêché d’envoyer des messages. Contactez l’administrateur pour plus d’informations.' - ), - array( - 0 => 'Je reçois sans arrêt des messages indésirables!', - 1 => 'Vous pouvez empêcher un utilisateur de vous envoyer des messages en utilisant les filtres de message dans les paramètres de votre messagerie privée. Si vous recevez des messages privés abusifs d’un utilisateur en particulier, informez l’administrateur. Ce dernier a la possibilité d’empêcher complètement un utilisateur d’envoyer des messages privés.' - ), - array( - 0 => 'J’ai reçu un e-mail ou un courrier abusif d’un utilisateur de ce forum!', - 1 => 'Le formulaire de courrier électronique du forum comprend des sécurités pour suivre les utilisateurs qui envoient de tels messages. Envoyez à l’administrateur une copie complète de l’e-mail reçu. Il est très important d’inclure les en-têtes (ils contiennent des informations sur l’expéditeur de l’e-mail). L’administrateur pourra alors prendre les mesures nécessaires.' - ), - array( - 0 => '--', - 1 => 'Amis et ignorés' - ), - array( - 0 => 'Que sont mes listes d’amis et d’ignorés?', - 1 => 'Vous pouvez utiliser ces listes pour organiser les autres membres du forum. Les membres ajoutés à votre liste d’amis seront affichés dans votre panneau de l’utilisateur pour un accès rapide, voir leur état de connexion et leur envoyer des messages privés. Selon les thèmes graphiques, leurs messages peuvent être mis en valeur. Si vous ajoutez un utilisateur à votre liste d’ignorés, tous ses messages seront masqués par défaut.' - ), - array( - 0 => 'Comment puis-je ajouter/supprimer des utilisateurs de ma liste d’amis ou d’ignorés?', - 1 => 'Vous pouvez ajouter des utilisateurs à votre liste de deux manières. Dans le profil de chaque membre, il y a un lien pour l’ajouter dans votre liste d’amis ou d’ignorés. Ou, depuis votre panneau de l’utilisateur, vous pouvez ajouter directement des membres en saisissant leur nom d’utilisateur. Vous pouvez également supprimer des utilisateurs de votre liste depuis cette même page.' - ), - array( - 0 => '--', - 1 => 'Recherche dans les forums' - ), - array( - 0 => 'Comment rechercher dans les forums?', - 1 => 'Saisissez un terme à rechercher dans la zone de recherche située en haut des pages d’index, de forums ou de sujets. La recherche avancée est accessible en cliquant sur le lien “Recherche avancée” disponible sur toutes les pages du forum. L’accès à la recherche peut dépendre des thèmes graphiques utilisés.' - ), - array( - 0 => 'Pourquoi ma recherche ne renvoie aucun résultat?', - 1 => 'Votre recherche est probablement trop vague ou comprend plusieurs termes courants non indexés par phpBB 3. Vous pouvez affiner votre recherche en utilisant les options disponibles dans la recherche avancée.' - ), - array( - 0 => 'Pourquoi ma recherche retourne une page blanche!?', - 1 => 'Votre recherche renvoie plus de résultats que ne peut gérer le serveur Web. Utilisez la “Recherche avancée” et soyez plus précis dans le choix des termes utilisés et des forums concernés par la recherche.' - ), - array( - 0 => 'Comment rechercher des membres?', - 1 => 'Allez sur la page “Membres”, cliquez sur le lien “Rechercher un utilisateur” et remplissez les options nécessaires.' - ), - array( - 0 => 'Comment puis-je trouver mes propres messages et sujets?', - 1 => 'Vos messages peuvent être retrouvés en cliquant sur “Voir vos messages” dans le panneau de l’utilisateur ou via votre propre page de profil. Pour rechercher vos sujets, utilisez la page de recherche avancée et choisissez les paramètres appropriés.' - ), - array( - 0 => '--', - 1 => 'Surveillance des sujets et favoris' - ), - array( - 0 => 'Quelle est la différence entre les favoris et la surveillance?', - 1 => 'Les favoris dans phpBB 3 sont comme les favoris de votre navigateur. Vous n’êtes pas nécessairement averti des mises à jour, mais vous pouvez revenir plus tard sur le sujet. A l’inverse, la surveillance vous préviendra lorsqu’un sujet ou un forum sera mis à jour via votre choix de préférence.' - ), - array( - 0 => 'Comment surveiller des forums ou sujets particuliers?', - 1 => 'Pour surveiller un forum particulier, une fois entré sur celui-ci, cliquez sur le lien “Surveiller ce forum”. Pour surveiller un sujet, vous pouvez soit répondre à ce sujet et cocher la case du formulaire de rédaction de message pour le surveiller, soit cliquer sur le lien “Surveiller ce sujet” disponible en consultant le sujet lui-même.' - ), - array( - 0 => 'Comment puis-je supprimer mes surveillances de sujets?', - 1 => 'Pour supprimer vos surveillances, allez dans votre panneau de l’utilisateur (onglet <em>Aperçu --> Gestion des surveillances</em>) et suivez les instructions.' - ), - array( - 0 => '--', - 1 => 'Fichiers joints' - ), - array( - 0 => 'Quels fichiers joints sont autorisés sur ce forum?', - 1 => 'L’administrateur peut autoriser ou interdire certains types de fichiers joints. Si vous n’êtes pas sûr de ce qui est autorisé à être chargé, contactez l’administrateur pour plus d’informations.' - ), - array( - 0 => 'Comment trouver tous mes fichiers joints?', - 1 => 'Pour trouver la liste des fichiers joints que vous avez chargés, allez dans votre panneau de l’utilisateur puis <em>Gestion des fichiers joints</em>.' - ), - array( - 0 => '--', - 1 => 'Concernant phpBB 3' - ), - array( - 0 => 'Qui sont les auteurs de ce forum?', - 1 => 'Ce logiciel (dans sa forme originale) est produit, distribué et son copyright est détenu par le <a href="http://www.phpbb.com/">Groupe phpBB</a>. Il est rendu accessible sous la Licence Publique Générale GNU et peut être distribué gratuitement. Consultez le lien pour plus d’informations.' - ), - array( - 0 => 'Pourquoi la fonctionnalité X n’est pas disponible?', - 1 => 'Ce programme a été écrit et mis sous licence par le Groupe phpBB. Si vous pensez qu’une fonctionnalité nécessite d’être ajoutée, visitez le site Internet phpbb.com et voyez ce que le Groupe phpBB en dit. N’envoyez pas de requêtes de fonctionnalités sur le forum de phpbb.com, le groupe utilise SourceForge pour gérer ces nouvelles requêtes. Lisez les forums pour voir leur position, s’ils en ont une, par rapport à cette fonctionnalité, et suivez la procédure donnée là-bas.' - ), - array( - 0 => 'Qui contacter pour les abus ou les questions légales concernant ce forum?', - 1 => 'Contactez n’importe lequel des administrateurs de la liste “L’équipe du forum”. Si vous restez sans réponse alors prenez contact avec le propriétaire du domaine (en faisant une <a href="http://www.google.com/search?q=whois">recherche sur whois</a>) ou si un service gratuit est utilisé (exemple: Yahoo!, Free, f2s.com, etc.), avec le service de gestion ou des abus. Notez que le groupe phpBB <strong>n’a absolument aucun contrôle</strong> et ne peut être en aucune façon tenu pour responsable sur <em>comment</em>, <em>où</em> ou <em>par qui</em> ce forum est utilisé. Il est inutile de contacter le groupe phpBB pour toute question légale (cessions et désistements, responsabilité, propos diffamatoires, etc.) <strong>non directement liée</strong> au site Internet phpbb.com ou au logiciel phpBB lui-même. Si vous adressez un e-mail au groupe phpBB à propos de l’utilisation <strong>d’une tierce partie</strong> de ce logiciel vous devez vous attendre à une réponse très courte voire à aucune réponse du tout.' - ) -); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/index.htm b/phpBB/language/fr/index.htm deleted file mode 100644 index e0cc5f36e6..0000000000 --- a/phpBB/language/fr/index.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html>
-<head>
-<title></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</head>
-
-<body bgcolor="#FFFFFF" text="#000000">
-
-</body>
-</html>
diff --git a/phpBB/language/fr/install.php b/phpBB/language/fr/install.php deleted file mode 100644 index 739450507a..0000000000 --- a/phpBB/language/fr/install.php +++ /dev/null @@ -1,630 +0,0 @@ -<?php -/** -* -* install [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: install.php, v1.26 2010/02/09 19:43:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ADMIN_CONFIG' => 'Configuration de l’administration', - 'ADMIN_PASSWORD' => 'Mot de passe administrateur', - 'ADMIN_PASSWORD_CONFIRM' => 'Confirmez le mot de passe', - 'ADMIN_PASSWORD_EXPLAIN' => 'Entrez un mot de passe entre 6 et 30 caractères.', - 'ADMIN_TEST' => 'Vérification des paramètres de l’administrateur', - 'ADMIN_USERNAME' => 'Nom de l’administrateur', - 'ADMIN_USERNAME_EXPLAIN' => 'Entrez un nom d’utilisateur entre 3 et 20 caractères.', - 'APP_MAGICK' => 'Support Imagemagick [ Fichiers joints ]', - 'AUTHOR_NOTES' => 'Notes de l’auteur<br />» %s', - 'AVAILABLE' => 'Disponible', - 'AVAILABLE_CONVERTORS' => 'Convertisseurs disponibles', - - 'BEGIN_CONVERT' => 'Démarrer la conversion', - 'BLANK_PREFIX_FOUND' => 'Une vérification de vos tables a détecté une installation possible sans préfixe de table.', - 'BOARD_NOT_INSTALLED' => 'Aucune installation détectée', - 'BOARD_NOT_INSTALLED_EXPLAIN' => 'Pour permettre à phpBB de fonctionner correctement, vous devez procéder par une installation vierge de phpBB3. Procédez <a href="%s">par une première installation de phpBB3</a>.', - - 'CATEGORY' => 'Catégorie', - 'CACHE_STORE' => 'Type de cache', - 'CACHE_STORE_EXPLAIN' => 'Emplacement physique où les données sont mises en cache, un système de fichiers est préférable.', - 'CAT_CONVERT' => 'Convertir', - 'CAT_INSTALL' => 'Installer', - 'CAT_OVERVIEW' => 'Préambule', - 'CAT_UPDATE' => 'Mise à jour', - 'CHANGE' => 'Modifier', - 'CHECK_TABLE_PREFIX' => 'Vérifiez votre préfixe de table et recommencez.', - 'CLEAN_VERIFY' => 'Nettoyage et vérification de la structure finale', - 'CLEANING_USERNAMES' => 'Nettoyage des noms d’utilisateurs', - 'COLLIDING_CLEAN_USERNAME' => '<strong>%s</strong> est le nom d’utilisateur propre pour:', - 'COLLIDING_USERNAMES_FOUND' => 'Un même nom d’utilisateur est utilisé par plusieurs personnes différentes. Pour continuer la conversion, effacez ou renommez ces utilisateurs pour qu’il n’y ait plus de nom d’utilisateur en double sur votre ancien forum.', - 'COLLIDING_USER' => '» id utilisateur: <strong>%d</strong> nom d’utilisateur: <strong>%s</strong> (%d messages)', - 'CONFIG_CONVERT' => 'Configuration de la conversion', - 'CONFIG_FILE_UNABLE_WRITE' => 'Impossible d’écrire le fichier de configuration. Des méthodes alternatives pour créer ce fichier sont indiquées ci-dessous.', - 'CONFIG_FILE_WRITTEN' => 'Le fichier de configuration a été écrit, vous pouvez désormais procéder à la prochaine étape de l’installation.', - 'CONFIG_PHPBB_EMPTY' => 'La variable de configuration de phpBB3 pour “%s” est vide.', - 'CONFIG_RETRY' => 'Réessayer', - 'CONTACT_EMAIL_CONFIRM' => 'Confirmez l’e-mail de contact', - 'CONTINUE_CONVERT' => 'Continuer la conversion', - 'CONTINUE_CONVERT_BODY' => 'Une conversion est déjà en cours. Vous pouvez choisir de la continuer ou d’en effectuer une nouvelle.', - 'CONTINUE_LAST' => 'Continuer les dernières instructions', - 'CONTINUE_OLD_CONVERSION' => 'Continuer la conversion commencée précédemment', - 'CONVERT' => 'Convertir', - 'CONVERT_COMPLETE' => 'La conversion est terminée', - 'CONVERT_COMPLETE_EXPLAIN' => 'Vous avez converti votre forum vers phpBB 3.0. Assurez-vous que les paramètres aient été correctement transférés avant d’activer votre forum en supprimant le répertoire install. Vous pouvez désormais vous connecter et <a href="../">accéder à votre forum</a>. Souvenez-vous que l’aide sur l’utilisation de phpBB est disponible dans le <a href="http://www.phpbb.com/support/documentation/3.0/">Guide de l’utilisateur</a> et le <a href="http://forums.phpbb-fr.com/">forum d’assistance</a>', - 'CONVERT_INTRO' => 'Bienvenue sur la “phpBB Unified Convertor Framework”', - 'CONVERT_INTRO_BODY' => 'D’ici, vous pouvez importer des données à partir d’autres systèmes de forum. La liste suivante montre tous les modules de conversion actuellement disponibles. Si le module de conversion de votre forum ne s’y trouve pas, visitez notre site Internet pour vérifier si le convertisseur est disponible.', - 'CONVERT_NEW_CONVERSION' => 'Nouvelle conversion', - 'CONVERT_NOT_EXIST' => 'Le convertisseur indiqué n’existe pas.', - 'CONVERT_OPTIONS' => 'Options', - 'CONVERT_SETTINGS_VERIFIED' => 'Les informations saisies ont été vérifiées. Pour commencer la conversion, cliquez sur le bouton ci-dessous.', - 'CONV_ERR_FATAL' => 'Erreur fatale lors de la conversion', - - 'CONV_ERROR_ATTACH_FTP_DIR' => 'Le chargement par FTP des fichiers joints est activé sur votre ancien forum. Copiez tous les fichiers joints dans un répertoire, désactivez le chargement FTP, et vérifiez que le répertoire de chargement indiqué est correct. Vous devrez ensuite redémarrer la conversion.', - 'CONV_ERROR_CONFIG_EMPTY' => 'Il n’y a aucune information de configuration disponible pour la conversion.', - 'CONV_ERROR_FORUM_ACCESS' => 'Impossible d’obtenir les informations d’accès au forum.', - 'CONV_ERROR_GET_CATEGORIES' => 'Impossible d’obtenir les catégories.', - 'CONV_ERROR_GET_CONFIG' => 'Impossible de récupérer la configuration de votre forum.', - 'CONV_ERROR_COULD_NOT_READ' => 'Impossible d’accéder/lire “%s”.', - 'CONV_ERROR_GROUP_ACCESS' => 'Impossible d’obtenir les informations d’authentification des groupes.', - 'CONV_ERROR_INCONSISTENT_GROUPS' => 'Contradiction détectée dans la table des groupes dans add_bots() - vous devez ajouter tous les groupes spéciaux manuellement.', - 'CONV_ERROR_INSERT_BOT' => 'Impossible d’insérer le robot dans la table des utilisateurs.', - 'CONV_ERROR_INSERT_BOTGROUP' => 'Impossible d’insérer le robot dans la table des robots.', - 'CONV_ERROR_INSERT_USER_GROUP' => 'Impossible d’insérer l’utilisateur dans la table user_group.', - 'CONV_ERROR_MESSAGE_PARSER' => 'Erreur lors de l’analyse du message', - 'CONV_ERROR_NO_AVATAR_PATH' => 'Note au développeur: vous devez indiquer $convertor[\'avatar_path\'] pour utiliser %s.', - 'CONV_ERROR_NO_FORUM_PATH' => 'Le chemin relatif au forum source n’a pas été indiqué.', - 'CONV_ERROR_NO_GALLERY_PATH' => 'Note au développeur: vous devez indiquer $convertor[\'avatar_gallery_path\'] pour utiliser %s.', - 'CONV_ERROR_NO_GROUP' => 'Le groupe “%1$s” est introuvable dans %2$s.', - 'CONV_ERROR_NO_RANKS_PATH' => 'Note au développeur: vous devez indiquer $convertor[\'ranks_path\'] pour utiliser %s.', - 'CONV_ERROR_NO_SMILIES_PATH' => 'Note au développeur: vous devez indiquer $convertor[\'smilies_path\'] pour utiliser %s.', - 'CONV_ERROR_NO_UPLOAD_DIR' => 'Note au développeur: vous devez indiquer $convertor[\'upload_path\'] pour utiliser %s.', - 'CONV_ERROR_PERM_SETTING' => 'Impossible d’insérer/mettre à jour les paramètres de permissions.', - 'CONV_ERROR_PM_COUNT' => 'Impossible de sélectionner le compteur de dossiers de messagerie privée.', - 'CONV_ERROR_REPLACE_CATEGORY' => 'Impossible d’insérer le nouveau forum en remplacement de l’ancienne catégorie.', - 'CONV_ERROR_REPLACE_FORUM' => 'Impossible d’insérer le nouveau forum en remplacement de l’ancien forum.', - 'CONV_ERROR_USER_ACCESS' => 'Impossible d’obtenir les informations d’authentification de l’utilisateur.', - 'CONV_ERROR_WRONG_GROUP' => 'Mauvais groupe “%1$s” défini dans %2$s.', - 'CONV_OPTIONS_BODY' => 'Cette page collecte les informations qui sont requises pour accéder à votre forum source. Entrez les informations de la base de données de votre ancien forum; Le convertisseur ne modifiera en rien la base de données ci-dessous. Le forum source devrait être désactivé pour permettre une conversion sans risque.', - 'CONV_SAVED_MESSAGES' => 'Messages sauvegardés', - - 'COULD_NOT_COPY' => 'Impossible de copier le fichier <strong>%1$s</strong> vers <strong>%2$s</strong><br /><br />Vérifiez que le répertoire cible existe et qu’il est autorisé en écriture.', - 'COULD_NOT_FIND_PATH' => 'Impossible de trouver le chemin vers votre ancien forum. Vérifiez vos paramètres et recommencez.<br />» Le chemin indiqué était %s.', - - 'DBMS' => 'Type de base', - 'DB_CONFIG' => 'Configuration de la base de données', - 'DB_CONNECTION' => 'Connexion à la base de données', - 'DB_ERR_INSERT' => 'Erreur pendant l’exécution d’une requête <code>INSERT</code>.', - 'DB_ERR_LAST' => 'Erreur pendant l’exécution de <var>query_last</var>.', - 'DB_ERR_QUERY_FIRST' => 'Erreur pendant l’exécution de <var>query_first</var>.', - 'DB_ERR_QUERY_FIRST_TABLE' => 'Erreur pendant l’exécution de <var>query_first</var>, %s (“%s”).', - 'DB_ERR_SELECT' => 'Erreur pendant l’exécution d’une requête <code>SELECT</code>.', - 'DB_HOST' => 'Serveur de base de données ou DSN', - 'DB_HOST_EXPLAIN' => 'DSN signifie Data Source Name (source de données) et n’est utilisé que pour une installation ODBC. Avec PostgreSQL, utilisez “localhost” pour vous connecter au serveur local via le socket de domaine UNIX et “127.0.0.1” pour vous connecter via TCP.', - 'DB_NAME' => 'Nom de la base', - 'DB_PASSWORD' => 'Mot de passe', - 'DB_PORT' => 'Port du serveur', - 'DB_PORT_EXPLAIN' => 'Laissez cette case vide à moins que le serveur n’utilise un port non standard.', - 'DB_UPDATE_NOT_SUPPORTED' => 'Nous sommes désolés, mais ce script ne supporte pas la mise à jour des versions de phpBB avant “%1$s”. La version que vous avez actuellement installé est “%2$s”. Mettez à jour à une précédente version avant de lancer ce script. Une assistance à ce sujet est disponible dans le forums de support sur phpBB.com ou phpBB-fr.com.', - 'DB_USERNAME' => 'Nom d’utilisateur', - 'DB_TEST' => 'Test de connexion', - 'DEFAULT_LANG' => 'Langue par défaut', - 'DEFAULT_PREFIX_IS' => 'Le convertisseur n’a pas trouvé de tables avec le préfixe indiqué. Vérifiez que ce préfixe est celui du forum que vous désirez convertir. Le préfixe par défaut pour %1$s est <strong>%2$s</strong>.', - 'DEV_NO_TEST_FILE' => 'Aucune valeur n’a été indiquée pour la variable test_file dans le convertisseur. Si vous utilisez ce convertisseur, vous ne devriez pas voir cette erreur, rapportez cette erreur à l’auteur du convertisseur. Si vous êtes l’auteur du convertisseur, vous devez indiquer le nom du fichier qui existe dans le forum source pour permettre au chemin d’être vérifié.', - 'DIRECTORIES_AND_FILES' => 'Installation du répertoire et du fichier', - 'DISABLE_KEYS' => 'Désactivation des clés', - 'DLL_FIREBIRD' => 'Firebird', - 'DLL_FTP' => 'Support FTP distant [ Installation ]', - 'DLL_GD' => 'Support de la librairie graphique GD [ Confirmation visuelle ]', - 'DLL_MBSTRING' => 'Support des caractères multi-octets', - 'DLL_MSSQL' => 'MSSQL Server 2000+', - 'DLL_MSSQL_ODBC' => 'MSSQL Server 2000+ via ODBC', - 'DLL_MSSQLNATIVE' => 'MSSQL Server 2005+ [ Natif ]', - 'DLL_MYSQL' => 'MySQL', - 'DLL_MYSQLI' => 'MySQL avec l’extension MySQLi', - 'DLL_ORACLE' => 'Oracle', - 'DLL_POSTGRES' => 'PostgreSQL 7.x/8.x', - 'DLL_SQLITE' => 'SQLite', - 'DLL_XML' => 'Support du XML [ Jabber ]', - 'DLL_ZLIB' => 'Support de la compression zlib [ gz, .tar.gz, .zip ]', - 'DL_CONFIG' => 'Télécharger la configuration', - 'DL_CONFIG_EXPLAIN' => 'Vous pouvez télécharger le fichier config.php sur votre ordinateur. Vous devrez ensuite charger ce fichier manuellement sur votre FTP, en écrasant le fichier config.php existant à la racine du répertoire de phpBB 3.0. Veillez à charger le fichier au format ASCII (consultez la documentation de votre logiciel FTP si vous ne savez pas faire cela). Lorsque vous aurez chargé le fichier config.php, cliquez sur “Terminé” pour passer à l’étape suivante.', - 'DL_DOWNLOAD' => 'Télécharger', - 'DONE' => 'Terminé', - - 'ENABLE_KEYS' => 'Réactivation des clés. Cela peut prendre un moment.', - - 'FILES_OPTIONAL' => 'Fichiers et répertoires optionnels', - 'FILES_OPTIONAL_EXPLAIN' => '<strong>Optionnel</strong> - Ces fichiers, répertoires ou permissions ne sont pas obligatoires. L’installation utilisera diverses techniques pour les créer s’ils n’existent pas ou ne sont pas permis en écriture. Toutefois, la présence de ces fichiers, ou permissions accéléreront l’installation.', - 'FILES_REQUIRED' => 'Répertoires et fichiers', - 'FILES_REQUIRED_EXPLAIN' => '<strong>Requis</strong> - Pour fonctionner correctement, phpBB doit pouvoir accéder ou écrire sur certains fichiers ou répertoires. Si vous voyez “Introuvable”, vous devez créer les fichiers ou répertoires adéquats. Si vous voyez “Non autorisé en écriture”, vous devez modifier les permissions sur le fichier ou répertoire pour autoriser phpBB à y écrire.', - 'FILLING_TABLE' => 'Remplissage de la table <strong>%s</strong>', - 'FILLING_TABLES' => 'Remplissage des tables', - 'FIREBIRD_DBMS_UPDATE_REQUIRED' => 'phpBB ne supporte plus Firebird/Interbase avant la version 2.1. Mettez à jour votre installation de Firebird au moins à la version 2.1.0 avant de procéder à cette mise à jour.', - 'FINAL_STEP' => 'Etape finale du processus', - 'FORUM_ADDRESS' => 'Adresse du forum', - 'FORUM_ADDRESS_EXPLAIN' => 'Ceci est l’URL de votre ancien forum, par exemple <samp>http://www.exemple.com/phpBB2/</samp>. Si une adresse est entrée ici et non vide à gauche, chaque exemple de cette adresse sera remplacé par vos nouvelles adresses dans les messages, messages privés et signatures.', - 'FORUM_PATH' => 'Chemin du forum', - 'FORUM_PATH_EXPLAIN' => 'Ceci est le chemin <strong>relatif</strong> vers votre ancien forum depuis <strong>la racine de cette installation phpBB3</strong>', - 'FOUND' => 'Trouvé', - 'FTP_CONFIG' => 'Transférer le fichier de configuration par FTP', - 'FTP_CONFIG_EXPLAIN' => 'phpBB a détecté la présence d’un module FTP sur ce serveur. Vous pouvez essayer de transférer le fichier config.php par ce moyen si vous le désirez. Vous devrez fournir les informations demandées ci-dessous. Les noms et mots de passe sont ceux du serveur FTP! (Contactez votre fournisseur d’hébergement si vous ne les connaissez pas)', - 'FTP_PATH' => 'Chemin FTP', - 'FTP_PATH_EXPLAIN' => 'Chemin relatif vers votre forum phpBB depuis la racine FTP, par exemple: htdocs/phpBB3/', - 'FTP_UPLOAD' => 'Charger', - - 'GPL' => 'Licence publique générale', - - 'INITIAL_CONFIG' => 'Configuration de base', - 'INITIAL_CONFIG_EXPLAIN' => 'L’installation a déterminé que votre serveur est à même de supporter phpBB, vous devez fournir quelques informations particulières. Si vous ne savez pas vous connecter à votre base de données, contactez votre fournisseur d’hébergement (en premier lieu) ou utilisez <a href="http://forums.phpbb-fr.com/"> le forum d’assistance</a>.Lors de la saisie des données, assurez-vous de bien les vérifier, avant de continuer.', - 'INSTALL_CONGRATS' => 'Félicitations!', - 'INSTALL_CONGRATS_EXPLAIN' => ' - <p>Vous avez installé votre forum phpBB %1$s. Choisissez maintenant une des options suivantes:</p> - <h2>Convertir un forum existant vers phpBB3</h2> - <p>Le processus de conversion de phpBB3 permet de convertir un forum phpBB2 et d’autres systèmes de forum en un forum phpBB3. Si vous avez déjà un forum existant que vous souhaitez convertir, <a href="%2$s">convertissez-le</a>.</p> - <h2>Utiliser votre forum maintenant!</h2> - <p>En cliquant sur le bouton ci-dessous vous serez redirigé vers un formulaire pour soumettre votre rapport de statistiques à phpBB dans votre panneau d’administration (ACP). Nous apprécierions si vous pouviez nous aider en envoyant cette information. Prenez le temps d’examiner les différentes options disponibles. Souvenez-vous qu’une aide en ligne est accessible via <a href="http://www.phpbb.com/support/documentation/3.0/">la documentation </a> et le <a href="http://forums.phpbb-fr.com/">forum de support</a>, consultez le fichier <a href="%3$s">Lisez-moi</a> pour plus d’informations.</p><p><strong>Effacez, renommez ou déplacez le répertoire install de votre FTP avant d’utiliser votre forum. Tant que ce répertoire est présent, seul le panneau d’administration (ACP) sera disponible.</strong></p>', - 'INSTALL_INTRO' => 'Bienvenue dans l’installation', - - 'INSTALL_INTRO_BODY' => 'Avec cette option, il est possible d’installer phpBB3 sur votre serveur.</p><p>Pour cela, vous aurez besoin des paramètres de connexion à votre base de données. Si vous ne les connaissez pas, contactez votre fournisseur d’hébergement pour les lui demander. Vous ne pourrez pas continuer l’installation sans les paramètres suivants:</p> - - <ul> - <li>Le type de votre base de données.</li> - <li>L’adresse du serveur de votre base de données ou DSN.</li> - <li>Le port du serveur de votre base de données.</li> - <li>Le nom de votre base de données.</li> - <li>Le login et le mot de passe d’accès à votre base de données.</li> - </ul> - - <p><strong>Note:</strong> Si vous faites une installation en utilisant SQLite, vous devrez entrer le chemin complet d’accès à votre base de données dans le champ DSN, et laisser les champs nom d’utilisateur et mot de passe vides. Pour des raisons de sécurité, assurez-vous que votre fichier de base de données n’est pas situé dans un répertoire accessible depuis le Web.</p> - - <p>phpBB3 supporte les bases de données suivantes:</p> - <ul> - <li>MySQL 3.23 ou supérieur (MySQLi supporté)</li> - <li>PostgreSQL 7.3+</li> - <li>SQLite 2.8.2+</li> - <li>Firebird 2.1+</li> - <li>MS SQL Server 2000 ou supérieur (directement ou via ODBC)</li> - <li>MS SQL Server 2005 ou supérieur (natif)</li> - <li>Oracle</li> - </ul> - - <p>Seules ces bases de données, si elles sont supportées par votre serveur, seront affichées.', - 'INSTALL_INTRO_NEXT' => 'Pour commencer l’installation, appuyez sur le bouton ci-dessous.', - 'INSTALL_LOGIN' => 'Se connecter', - 'INSTALL_NEXT' => 'Etape suivante', - 'INSTALL_NEXT_FAIL' => 'Certains tests ont échoué et vous devez corriger ces problèmes avant de passer à l’étape suivante. Sans cela l’installation risque d’être incomplète.', - 'INSTALL_NEXT_PASS' => 'Tous les tests de base ont réussi, vous pouvez donc passer à l’étape suivante de l’installation. Si vous avez modifié certains modules, permissions, etc., vous pouvez les vérifier à nouveau.', - 'INSTALL_PANEL' => 'Panneau d’installation', - 'INSTALL_SEND_CONFIG' => 'Malheureusement PhpBB n’a pas réussi à écrire les informations de configuration directement dans le fichier config.php. Le fichier n’existe peut-être pas ou n’est pas autorisé en écriture. Voici quelques options pour vous permettre d’installer le fichier.', - 'INSTALL_START' => 'Commencer l’installation', - 'INSTALL_TEST' => 'Tester à nouveau', - 'INST_ERR' => 'Erreur d’installation', - 'INST_ERR_DB_CONNECT' => 'Impossible de se connecter à la base de données, consultez le message d’erreur ci-dessous.', - 'INST_ERR_DB_FORUM_PATH' => 'Le fichier de la base de données indiqué est dans le répertoire racine de votre forum. Vous devez déplacer ce fichier dans un emplacement inaccessible depuis Internet.', - 'INST_ERR_DB_NO_ERROR' => 'Aucune erreur n’est survenue.', - 'INST_ERR_DB_NO_MYSQLI' => 'La version de MySQL installée sur cette machine est incompatible avec l’option “MySQL avec extension MySQLi”. Essayez avec l’option “MySQL” à la place.', - 'INST_ERR_DB_NO_SQLITE' => 'La version de SQLite installée est trop ancienne, elle doit être mise à jour au minimum à la version 2.8.2.', - 'INST_ERR_DB_NO_ORACLE' => 'La version d’Oracle installée nécessite de définir le paramètre <var>NLS_CHARACTERSET</var> sur <var>UTF8</var>. Mettez-la à jour à la version 9.2+ ou changez ce paramètre.', - 'INST_ERR_DB_NO_FIREBIRD' => 'La version installée de Firebird est plus ancienne que la version 2.1, mettez-la à jour vers une version plus récente.', - 'INST_ERR_DB_NO_FIREBIRD_PS'=> 'La base de données sélectionnée pour firebird a une taille inférieure à 8192, la taille minimale doit être de 8192.', - 'INST_ERR_DB_NO_POSTGRES' => 'La base de données sélectionnée n’a pas été créée avec l’encodage <var>UNICODE</var> ou <var>UTF8</var>. Réessayez l’installation avec une base encodée en <var>UNICODE</var> ou bien <var>UTF8</var>', - 'INST_ERR_DB_NO_NAME' => 'Aucun nom de base indiqué.', - 'INST_ERR_EMAIL_INVALID' => 'L’adresse e-mail saisie est invalide', - 'INST_ERR_EMAIL_MISMATCH' => 'Les e-mails saisis ne correspondent pas.', - 'INST_ERR_FATAL' => 'Erreur fatale lors de l’installation', - 'INST_ERR_FATAL_DB' => 'Une erreur fatale et irrécupérable de base de données est survenue. Vous n’avez peut-être pas les droits appropriés pour effectuer <code>CREATE TABLES</code> ou <code>INSERT</code>, etc. Des informations supplémentaires peuvent être données ci-dessous. Contactez votre hébergeur en premier lieu ou le <a href="http://forums.phpbb-fr.com/">forum d’assistance</a>', - 'INST_ERR_FTP_PATH' => 'Impossible d’accéder au répertoire donné, vérifiez le chemin.', - 'INST_ERR_FTP_LOGIN' => 'Impossible de s’identifier sur le serveur FTP, vérifiez vos identifiant et mot de passe', - 'INST_ERR_MISSING_DATA' => 'Vous devez remplir tous les champs de ce bloc', - 'INST_ERR_NO_DB' => 'Impossible de charger le module PHP pour le type de base sélectionné', - 'INST_ERR_PASSWORD_MISMATCH' => 'Les mots de passe saisis ne correspondent pas.', - 'INST_ERR_PASSWORD_TOO_LONG' => 'Le mot de passe saisi est trop long. La taille maximale est de 30 caractères.', - 'INST_ERR_PASSWORD_TOO_SHORT' => 'Le mot de passe saisi est trop court. La taille minimale est de 6 caractères.', - 'INST_ERR_PREFIX' => 'Des tables avec le préfixe indiqué existent déjà, choisissez-en un autre.', - 'INST_ERR_PREFIX_INVALID' => 'Le préfixe de table indiqué est incompatible avec votre base de données. Essayez-en un autre, en supprimant les caractères comme les tirets', - 'INST_ERR_PREFIX_TOO_LONG' => 'Le préfixe de table indiqué est trop long. La taille maximale est de %d caractères.', - 'INST_ERR_USER_TOO_LONG' => 'Le nom d’utilisateur saisi est trop long. La taille maximale est de 20 caractères.', - 'INST_ERR_USER_TOO_SHORT' => 'le nom d’utilisateur saisi est trop court. La taille minimale est de 3 caractères.', - 'INVALID_PRIMARY_KEY' => 'Clé primaire invalide: %s', - - 'LONG_SCRIPT_EXECUTION' => 'Notez que cela peut prendre un certain temps... N’arrêtez pas le script.', - - // mbstring - 'MBSTRING_CHECK' => 'Vérification de l’extension <samp>mbstring</samp>', - 'MBSTRING_CHECK_EXPLAIN' => '<strong>Requis</strong> - <samp>mbstring</samp> est une extension PHP qui propose des fonctions de chaînes à caractères multi-octets. Certaines fonctionnalités de mbstring ne sont pas compatibles avec phpBB et doivent être désactivées.', - 'MBSTRING_FUNC_OVERLOAD' => 'Fonction de surcharge', - 'MBSTRING_FUNC_OVERLOAD_EXPLAIN' => '<var>mbstring.func_overload</var> doit être configuré sur 0 ou 4', - 'MBSTRING_ENCODING_TRANSLATION' => 'Caractères d’encodage transparent', - 'MBSTRING_ENCODING_TRANSLATION_EXPLAIN' => '<var>mbstring.encoding_translation</var> doit être configuré sur 0', - 'MBSTRING_HTTP_INPUT' => 'Conversion des caractères d’entrée HTTP', - 'MBSTRING_HTTP_INPUT_EXPLAIN' => '<var>mbstring.http_input</var> doit être configuré sur <samp>pass</samp>', - 'MBSTRING_HTTP_OUTPUT' => 'Conversion des caractères de sortie HTTP', - 'MBSTRING_HTTP_OUTPUT_EXPLAIN' => '<var>mbstring.http_output</var> doit être configuré sur <samp>pass</samp>', - - 'MAKE_FOLDER_WRITABLE' => 'Vérifiez que ce dossier existe et qu’il est autorisé en écriture par le serveur Web et recommencez:<br />»<strong>%s</strong>', - 'MAKE_FOLDERS_WRITABLE' => 'Vérifiez que ces dossiers existent et sont accessibles en écriture par le serveur Web et recommencez:<br />»<strong>%s</strong>', - - 'MYSQL_SCHEMA_UPDATE_REQUIRED' => 'Le schéma de votre base de données MySQL n’est pas à jour. phpBB a détecté un schéma pour MySQL 3.x/4.x, mais le serveur fonctionne avec MySQL %2$s.<br /><strong>Avant de procéder à la mise à jour, vous devez mettre à jour le schéma.</strong><br /><br />Consultez l’<a href="http://www.phpbb.com/kb/article/doesnt-have-a-default-value-errors/">article de la base de connaissances à propos de la mise à jour du schéma MySQL</a>. Utilisez <a href="http://www.phpbb.com/community/viewforum.php?f=46">les forums de support officiels</a> ou <a href="http://forums.phpbb-fr.com/support-phpbb3/">nos forums de support</a> si vous rencontrez des difficultés.', - - 'NAMING_CONFLICT' => 'Conflit de noms: %s et %s sont tous deux des alias<br /><br />%s', - 'NEXT_STEP' => 'Etape suivante', - 'NOT_FOUND' => 'Introuvable', - 'NOT_UNDERSTAND' => 'Impossible d’interpréter %s #%d, table %s (“%s”)', - 'NO_CONVERTORS' => 'Aucun convertisseur disponible', - 'NO_CONVERT_SPECIFIED' => 'Aucun convertisseur indiqué', - 'NO_LOCATION' => 'Impossible de déterminer l’emplacement. Si vous savez que Imagemagick est installé, vous pourrez indiquer son emplacement plus tard dans le panneau d’administration', - 'NO_TABLES_FOUND' => 'Aucune table trouvée.', - - 'OVERVIEW_BODY' => 'Bienvenue sur phpBB3!<br /><br />phpBB™ est la solution de forum libre la plus répandue dans le monde. phpBB3 est l’aboutissement d’un long processus débuté en 2000. Comme ces prédécesseurs, phpBB3 est riche en fonctionnalités, convivial, et complètement supporté par l’équipe phpBB. phpBB3 s’améliore considérablement sur ce qui a rendu phpBB2 populaire, et ajoute des fonctionnalités généralement demandées, qui étaient non présentes dans les versions précédentes. Nous espérons qu’il dépassera vos attentes.<br /><br />Cet outil vous guidera à travers l’installation de phpBB3, la mise à jour de votre forum phpBB3, ou la conversion depuis un autre système de forum (y compris phpBB2). Pour plus d’informations, nous vous invitons à prendre connaissance de <a href="../docs/INSTALL.html">notre guide d’installation</a>.<br /><br />Pour consulter la licence de phpBB3, ou vous renseigner sur l’obtention de support ainsi que notre position, choisissez l’option respective à partir du menu latéral. Pour continuer, choisissez l’option appropriée dans les onglets ci-dessus.', - - 'PCRE_UTF_SUPPORT' => 'Support de PCRE UTF-8', - 'PCRE_UTF_SUPPORT_EXPLAIN' => 'phpBB <strong>ne fonctionnera que</strong> si votre installation PHP est compilée avec le support de l’extension PCRE UTF-8', - 'PHP_GETIMAGESIZE_SUPPORT' => 'La fonction PHP getimagesize() est disponible', - 'PHP_GETIMAGESIZE_SUPPORT_EXPLAIN' => '<strong>Requis</strong> - Pour que phpBB fonctionne correctement, la fonction getimagesize() doit être disponible.', - 'PHP_OPTIONAL_MODULE' => 'Modules optionnels', - 'PHP_OPTIONAL_MODULE_EXPLAIN' => '<strong>Optionnel</strong> - Ces modules ou applications sont optionnels, vous n’en avez pas besoin pour utiliser phpBB 3.0. Toutefois si vous les avez, ils activeront des fonctionnalités supplémentaires.', - 'PHP_SUPPORTED_DB' => 'Bases de données supportées', - 'PHP_SUPPORTED_DB_EXPLAIN' => '<strong>Requis</strong> - Vous devez avoir au moins une base de données comportant PHP. Si PHP n’est pas disponible, contactez votre hébergeur ou consultez la documentation d’installation de PHP.', - 'PHP_REGISTER_GLOBALS' => 'Le paramètre PHP <var>register_globals</var> est désactivé', - 'PHP_REGISTER_GLOBALS_EXPLAIN' => 'phpBB fonctionne si ce paramètre est activé, mais si possible, il est recommandé de désactiver register_globals pour des raisons de sécurité.', - 'PHP_SAFE_MODE' => 'Mode sécurisé', - 'PHP_SETTINGS' => 'Version de PHP et paramètres', - 'PHP_SETTINGS_EXPLAIN' => '<strong>Requis</strong> - Vous devez utiliser au moins la version 4.3.3 de PHP pour installer phpBB. Si <var>safe mode</var> est affiché, PHP fonctionne dans ce mode. Cela implique des limitations sur l’administration distante et des fonctionnalités similaires.', - 'PHP_URL_FOPEN_SUPPORT' => 'Le paramètre PHP <var>allow_url_fopen</var> est activé', - 'PHP_URL_FOPEN_SUPPORT_EXPLAIN' => '<strong>Optionnel</strong> - Ce paramètre est optionnel, il permet entre autres d’attacher des avatars depuis un site externe.', - 'PHP_VERSION_REQD' => 'Votre version de PHP doit être la 4.3.3 au minimum', - 'POST_ID' => 'Id du message', - 'PREFIX_FOUND' => 'Une vérification de vos tables a trouvé une installation de phpBB avec le préfixe <strong>%s</strong>.', - 'PREPROCESS_STEP' => 'Exécution des fonctions/requêtes de pré-traitement', - 'PRE_CONVERT_COMPLETE' => 'Toutes les étapes de pré-conversion sont terminées. Vous pouvez commencer le processus de conversion. Notez que vous pouvez avoir à faire et ajuster plusieurs choses manuellement. Après la conversion, vérifiez particulièrement les permissions assignées, reconstruisez votre index de recherche si nécessaire, et assurez-vous que les fichiers ont été correctement copiés, par exemple, les avatars et les smileys.', - 'PROCESS_LAST' => 'Exécution des dernières instructions', - - 'REFRESH_PAGE' => 'Rafraîchir la page pour continuer la conversion', - 'REFRESH_PAGE_EXPLAIN' => 'Si OUI, le convertisseur va rafraîchir la page après chaque étape. S’il s’agit de votre première conversion pour effectuer des tests et voir les erreurs durant l’avancement, nous vous conseillons de laisser NON.', - - 'REQUIREMENTS_TITLE' => 'Compatibilité de l’installation', - 'REQUIREMENTS_EXPLAIN' => 'Avant d’effectuer une installation complète, phpBB va vérifier la configuration des fichiers de votre serveur et s’assurer que vous pouvez installer phpBB. Lisez attentivement les résultats et ne continuez pas tant que tous les tests ne sont pas validés. Si vous voulez activer une fonctionnalité liée à des tests optionnels, vous devez vous assurer que ces tests soient aussi validés.', - 'RETRY_WRITE' => 'Réessayer l’écriture du fichier de configuration', - 'RETRY_WRITE_EXPLAIN' => 'Si vous voulez, vous pouvez modifier les droits sur config.php pour permettre à phpBB d’écrire dessus. Dans ce cas, cliquez sur réessayer pour recommencer. Rappelez-vous de réinitialiser les permissions de config.php après l’installation de phpBB.', - - 'SCRIPT_PATH' => 'Chemin du script', - 'SCRIPT_PATH_EXPLAIN' => 'Le chemin où phpBB est situé par rapport au répertoire racine du forum, par exemple: /<samp>phpbb3</samp>', - 'SELECT_LANG' => 'Choisissez une langue', - 'SERVER_CONFIG' => 'Configuration du serveur', - 'SEARCH_INDEX_UNCONVERTED' => 'L’index de recherche n’a pas été converti', - 'SEARCH_INDEX_UNCONVERTED_EXPLAIN' => 'Votre ancien index de recherche n’a pas été converti. La recherche ne fonctionnera plus jusqu’à ce que vous réindexiez votre recherche via le panneau d’administration, sélectionnez Maintenance puis Index de recherche dans le sous-menu.', - 'SOFTWARE' => 'Logiciel de forum', - 'SPECIFY_OPTIONS' => 'Indiquer les options de conversion', - 'STAGE_ADMINISTRATOR' => 'Informations sur l’administrateur', - 'STAGE_ADVANCED' => 'Paramètres avancés', - 'STAGE_ADVANCED_EXPLAIN' => 'Les paramètres de cette page ne sont nécessaires que pour définir des paramètres différents de ceux par défaut. En cas de doute, allez à la page suivante, ils pourront être modifiés plus tard via l’administration.', - 'STAGE_CONFIG_FILE' => 'Fichier de configuration', - 'STAGE_CREATE_TABLE' => 'Création des tables de base de données', - 'STAGE_CREATE_TABLE_EXPLAIN'=> 'Les tables de base de données utilisées par phpBB 3.0 ont été créées et remplies avec quelques données initiales. Rendez-vous sur la page suivante pour terminer l’installation de phpBB.', - 'STAGE_DATABASE' => 'Paramètres de la base de données', - 'STAGE_FINAL' => 'Etape finale', - 'STAGE_INTRO' => 'Introduction', - 'STAGE_IN_PROGRESS' => 'Conversion en cours', - 'STAGE_REQUIREMENTS' => 'Conditions', - 'STAGE_SETTINGS' => 'Paramètres', - 'STARTING_CONVERT' => 'Démarrage du processus de conversion', - 'STEP_PERCENT_COMPLETED' => 'Etape <strong>%d</strong> sur <strong>%d</strong>', - 'SUB_INTRO' => 'Introduction', - 'SUB_LICENSE' => 'Licence', - 'SUB_SUPPORT' => 'Support', - 'SUCCESSFUL_CONNECT' => 'Connexion réussie', - - 'SUPPORT_BODY' => 'Un support complet et gratuit est fourni pour l’actuelle version stable de phpBB3. Ceci inclut les questions concernant:</p><ul><li>l’installation</li><li>la configuration</li><li>les questions techniques</li><li>les problèmes liés aux potentiels bugs du logiciel</li><li>la mise à jour depuis une version Release Candidate (RC) à la dernière version stable</li><li>la conversion depuis un forum phpBB2.0.x vers phpBB3</li><li>la conversion depuis un autre système de forum vers phpBB3 (consulter <a href="http://www.phpbb.com/community/viewforum.php?f=65">le forum des convertisseurs</a>)</li></ul><p>Nous encourageons les utilisateurs d’une des versions béta de phpBB3 à remplacer celle-ci par une installation propre de la dernière version stable.</p><h2>MODs / Styles</h2><p>Pour des problèmes liés au MODs, nous vous invitons à créer votre sujet dans le <a href="http://www.phpbb.com/community/viewforum.php?f=81">forum des MODs</a>.<br />Pour des problèmes liés aux styles, templates, et jeu d’images, nous vous invitons à créer votre sujet dans le <a href="http://www.phpbb.com/community/viewforum.php?f=80">forum des Styles</a>.<br /><br />Si votre question est en relation avec une archive précise, créez votre message directement dans le sujet dédié à l’archive.</p><h2>Obtention du support</h2><p><a href="http://www.phpbb.com/community/viewtopic.php?f=14&t=571070">Le package de bienvenue de phpBB</a><br /><a href="http://www.phpbb.com/support/">Section de support</a><br /><a href="http://www.phpbb.com/support/documentation/3.0/quickstart/">Guide de démarrage rapide</a><br /><br />Pour vous assurer d’être à jour et au courant des dernières nouvelles, nous vous conseillons de souscrire à notre <a href="http://www.phpbb.com/support/">lettre d’informations</a>.<br /><br />', - 'SYNC_FORUMS' => 'Synchronisation des forums', - 'SYNC_POST_COUNT' => 'Synchronisation de post_counts', - 'SYNC_POST_COUNT_ID' => 'Synchronisation de post_counts de <var>l’entrée</var> %1$s à %2$s.', - 'SYNC_TOPICS' => 'Synchronisation des sujets', - 'SYNC_TOPIC_ID' => 'Synchronisation des sujets du <var>topic_id</var> $1%s à $2%s.', - - 'TABLES_MISSING' => 'Impossible de trouver ces tables<br />» <strong>%s</strong>.', - 'TABLE_PREFIX' => 'Préfixe de tables', - 'TABLE_PREFIX_SAME' => 'Le préfixe de table doit être celui utilisé par le logiciel à convertir.<br />» Le préfixe indiqué était %s', - 'TESTS_PASSED' => 'Vérifications réussies', - 'TESTS_FAILED' => 'Echec des vérifications', - - 'UNABLE_WRITE_LOCK' => 'Impossible d’écrire sur un fichier verrouillé', - 'UNAVAILABLE' => 'Indisponible', - 'UNWRITABLE' => 'Non autorisé en écriture', - 'UPDATE_TOPICS_POSTED' => 'Mise à jour des informations de sujets', - 'UPDATE_TOPICS_POSTED_ERR' => 'Une erreur est survenue lors de la mise à jour des informations des sujets. Vous pourrez réessayer plus tard via le panneau d’administration.', - 'VERIFY_OPTIONS' => 'Vérification des options de conversion', - 'VERSION' => 'Version', - - 'WELCOME_INSTALL' => 'Bienvenue dans l’installation de phpBB 3', - 'WRITABLE' => 'Autorisé en écriture', -)); - -// Updater -$lang = array_merge($lang, array( - 'ALL_FILES_UP_TO_DATE' => 'Tous les fichiers ont été mis à jour. Vous devriez maintenant <a href="../ucp.php?mode=login&redirect=adm/index.php%3Fi=send_statistics%26mode=send_statistics">vous connecter à votre forum</a> afin de vérifier que tout fonctionne correctement. N’oubliez pas de supprimer, renommer ou déplacer le répertoire install de votre système! Merci de nous envoyer les informations mises à jour au sujet de votre serveur et des configurations de votre forum depuis le module <a href="../ucp.php?mode=login&redirect=adm/index.php%3Fi=send_statistics%26mode=send_statistics">d’envoi du rapport de statistiques</a> dans votre ACP.', - 'ARCHIVE_FILE' => 'Fichier source dans l’archive', - - 'BACK' => 'Retour', - 'BINARY_FILE' => 'Fichier binaire', - 'BOT' => 'Aspirateur/Robot', - - 'CHANGE_CLEAN_NAMES' => 'La méthode utilisée, pour être sûr qu’un nom d’utilisateur n’est pas utilisé plusieurs fois, a été modifiée. Au moment de comparer, certains utilisateurs auront le même nom avec la nouvelle méthode. Avant de procéder, vous devrez supprimer ou renommer ces utilisateurs pour être sûr que chaque nom ne soit utilisé que par un seul utilisateur.', - 'CHECK_FILES' => 'Vérifier les fichiers', - 'CHECK_FILES_AGAIN' => 'Vérifier à nouveau les fichiers', - 'CHECK_FILES_EXPLAIN' => 'Pendant la prochaine étape, tous les fichiers seront comparés aux fichiers de mise à jour - cela peut prendre du temps si c’est la première vérification de fichiers.', - 'CHECK_FILES_UP_TO_DATE' => 'Selon votre base de données, votre forum est à jour. Vous pouvez effectuer la vérification de fichiers pour vous assurer que tous les fichiers sont bien à jour avec la dernière version de phpBB.', - 'CHECK_UPDATE_DATABASE' => 'Continuer la mise à jour', - 'COLLECTED_INFORMATION' => 'Informations du fichier', - 'COLLECTED_INFORMATION_EXPLAIN' => 'La liste ci-dessous vous montre les informations sur les fichiers à mettre à jour. Lisez ces informations afin de mettre à jour correctement ces fichiers.', - 'COLLECTING_FILE_DIFFS' => 'Collecte les différences entre les fichiers', - 'COMPLETE_LOGIN_TO_BOARD' => 'Vous pouvez maintenant vous <a href="../ucp.php?mode=login">connecter à votre forum</a> et vérifier si tout fonctionne correctement. N’oubliez pas de supprimer, renommer ou déplacer le dossier <em>install</em>!', - 'CONTINUE_UPDATE_NOW' => 'Continuer la procédure de mise à jour maintenant', // Shown within the database update script at the end if called from the updater - 'CONTINUE_UPDATE' => 'Continuer la mise à jour maintenant', // Shown after file upload to indicate the update process is not yet finished - - 'CURRENT_FILE' => 'Début du conflit - Code du fichier original avant la mise à jour', - 'CURRENT_VERSION' => 'Version actuelle', - - 'DATABASE_TYPE' => 'Type de base de données', - 'DATABASE_UPDATE_INFO_OLD' => 'Le fichier de mise à jour de la base dans votre dossier d’installation est obsolète. Vérifiez que vous avez chargé la bonne version du fichier.', - 'DELETE_USER_REMOVE' => 'Supprimer l’utilisateur et ses messages', - 'DELETE_USER_RETAIN' => 'Supprimer l’utilisateur mais conserver ses messages', - 'DESTINATION' => 'Fichier de destination', - 'DIFF_INLINE' => 'Inclus', - 'DIFF_RAW' => 'Modification unie brute', - 'DIFF_SEP_EXPLAIN' => 'Bloc de code utilisé dans le fichier mis à jour ou le nouveau fichier', - 'DIFF_SIDE_BY_SIDE' => 'Côte à côte', - 'DIFF_UNIFIED' => 'Modification unie', - 'DO_NOT_UPDATE' => 'Ne pas mettre à jour ce fichier', - 'DONE' => 'Terminé', - 'DOWNLOAD' => 'Télécharger', - 'DOWNLOAD_AS' => 'Télécharger sous', - 'DOWNLOAD_UPDATE_METHOD_BUTTON' => 'Télécharger l’archive des fichiers modifiés (recommandé)', - 'DOWNLOAD_CONFLICTS' => 'Télécharger les conflits de ce fichier', - 'DOWNLOAD_CONFLICTS_EXPLAIN' => 'Rechercher <<< afin de repérer les conflits', - 'DOWNLOAD_UPDATE_METHOD' => 'Télécharger une archive de fichiers modifiés', - 'DOWNLOAD_UPDATE_METHOD_EXPLAIN' => 'Une fois téléchargée, vous devez décompresser l’archive. Vous y trouverez les fichiers modifiés que vous devez charger dans votre répertoire à la racine de phpBB. Chargez les fichiers à leur emplacement respectif. Après avoir chargé tous les fichiers, vérifiez à nouveau les fichiers avec l’autre bouton ci-dessous.', - - 'ERROR' => 'Erreur', - 'EDIT_USERNAME' => 'Editer le nom d’utilisateur', - - 'FILE_ALREADY_UP_TO_DATE' => 'Le fichier est déjà à jour.', - 'FILE_DIFF_NOT_ALLOWED' => 'Le fichier n’est pas autorisé à être modifié.', - 'FILE_USED' => 'Informations utilisées de', // Single file - 'FILES_CONFLICT' => 'Fichiers en conflit', - 'FILES_CONFLICT_EXPLAIN' => 'Les fichiers suivants sont modifiés et ne représentent pas les fichiers originaux de l’ancienne version. phpBB a déterminé qu’il ne pouvait pas fusionner ce fichier sans créer de conflit. Merci de rechercher les conflits et essayez de les résoudre manuellement ou continuez la mise à jour en choisissant une méthode de mise à jour. Si vous résolvez les conflits manuellement, vérifiez à nouveau les fichiers après leur modification. Vous pouvez aussi choisir une méthode de mise à jour pour chaque fichier. La première donnera un fichier où les modifications contenues dans les lignes en conflit seront perdues, l’autre ignorera les modifications du nouveau fichier.', - 'FILES_MODIFIED' => 'Fichiers modifiés', - 'FILES_MODIFIED_EXPLAIN' => 'Les fichiers suivants sont modifiés et ne représentent pas les fichiers originaux de l’ancienne version. Le fichier mis à jour sera une fusion entre vos modifications et le nouveau fichier.', - 'FILES_NEW' => 'Nouveaux fichiers', - 'FILES_NEW_EXPLAIN' => 'Les fichiers suivants n’existent actuellement pas dans votre installation. Ces fichiers seront ajoutés à votre installation.', - 'FILES_NEW_CONFLICT' => 'Nouveaux fichiers en conflit', - 'FILES_NEW_CONFLICT_EXPLAIN' => 'Les fichiers suivants sont nouveaux dans la dernière version, mais il existe déjà un fichier de même nom au même emplacement. Ce fichier sera écrasé par le nouveau fichier.', - 'FILES_NOT_MODIFIED' => 'Fichiers non modifiés', - 'FILES_NOT_MODIFIED_EXPLAIN' => 'Les fichiers suivants ne sont pas modifiés et représentent les fichiers originaux de l’ancienne version.', - 'FILES_UP_TO_DATE' => 'Fichiers déjà à jour', - 'FILES_UP_TO_DATE_EXPLAIN' => 'Les fichiers suivants sont déjà à jour et ne nécessitent pas d’être mis à jour.', - 'FTP_SETTINGS' => 'Paramètres FTP', - 'FTP_UPDATE_METHOD' => 'Chargement FTP', - - 'INCOMPATIBLE_UPDATE_FILES' => 'Les fichiers de mise à jour trouvés sont incompatibles avec votre version installée. Votre version installée est la %1$s et les fichiers de mise à jour sont pour la mise à jour de phpBB %2$s vers %3$s.', - 'INCOMPLETE_UPDATE_FILES' => 'Les fichiers de mise à jour sont incomplets.', - 'INLINE_UPDATE_SUCCESSFUL' => 'La mise à jour de la base de données a été réalisée. Vous avez besoin de continuer le processus de mise à jour à présent.', - - 'KEEP_OLD_NAME' => 'Conserver le nom d’utilisateur', - - 'LATEST_VERSION' => 'Dernière version', - 'LINE' => 'Ligne', - 'LINE_ADDED' => 'Ajoutée', - 'LINE_MODIFIED' => 'Modifiée', - 'LINE_REMOVED' => 'Supprimée', - 'LINE_UNMODIFIED' => 'Non modifiée', - 'LOGIN_UPDATE_EXPLAIN' => 'Afin de mettre à jour votre installation, vous devez d’abord vous connecter.', - - 'MAPPING_FILE_STRUCTURE' => 'Pour faciliter le chargement, vous avez ici les emplacements des fichiers qui conduisent à votre installation de phpBB.', - - 'MERGE_MODIFICATIONS_OPTION' => 'Modifications de la fusion', - - 'MERGE_NO_MERGE_NEW_OPTION' => 'Ne pas fusionner - utiliser un nouveau fichier', - 'MERGE_NO_MERGE_MOD_OPTION' => 'Ne pas fusionner - utiliser le fichier installé actuel', - 'MERGE_MOD_FILE_OPTION' => 'Fusionner les modifications (supprime le nouveau code de phpBB dans le bloc en conflit)', - 'MERGE_NEW_FILE_OPTION' => 'Fusionner les modifications (supprime le code modifié dans le bloc en conflit)', - 'MERGE_SELECT_ERROR' => 'Les modes du fichier fusionné en conflit ne sont pas correctement sélectionnés.', - 'MERGING_FILES' => 'Fusion des différences', - 'MERGING_FILES_EXPLAIN' => 'Collecte actuellement les modifications finales des fichiers.<br /><br />Patientez jusqu’à ce que phpBB termine toutes les opérations sur les fichiers modifiés.', - - 'NEW_FILE' => 'Fin du conflit', - 'NEW_USERNAME' => 'Nouveau nom d’utilisateur', - 'NO_AUTH_UPDATE' => 'Non autorisé à mettre à jour', - 'NO_ERRORS' => 'Aucune erreur', - 'NO_UPDATE_FILES' => 'Ne pas mettre à jour les fichiers suivants', - 'NO_UPDATE_FILES_EXPLAIN' => 'Les fichiers suivants sont nouveaux ou modifiés, mais leur répertoire est introuvable dans votre installation. Si cette liste contient des fichiers vers d’autres répertoires que language/ ou styles/ que vous pouvez avoir à modifier, votre structure de répertoire et la mise à jour peuvent être incomplètes.', - 'NO_UPDATE_FILES_OUTDATED' => 'Aucun répertoire de mise à jour valide n’a été trouvé, assurez-vous de bien avoir chargé les fichiers nécessaires.<br /><br />Votre installation ne semble <strong>pas</strong> à jour. Des mises à jour sont disponibles pour votre version de phpBB %1$s, visitez <a href="http://www.phpbb.com/downloads/" rel="external">http://www.phpbb.com/downloads/</a> afin d’obtenir le pack correct pour mettre à jour votre Version %2$s vers la Version %3$s.', - 'NO_UPDATE_FILES_UP_TO_DATE' => 'Votre version est à jour. Il n’est pas nécessaire d’utiliser l’outil de mise à jour. Si vous souhaitez faire une vérification intégrale de vos fichiers, assurez-vous d’avoir chargé les fichiers de mise à jour corrects.', - 'NO_UPDATE_INFO' => 'Les informations du fichier de mise à jour sont introuvables.', - 'NO_UPDATES_REQUIRED' => 'Aucune mise à jour nécessaire', - 'NO_VISIBLE_CHANGES' => 'Aucune modification visible', - 'NOTICE' => 'Avertissement', - 'NUM_CONFLICTS' => 'Nombre de conflits', - 'NUMBER_OF_FILES_COLLECTED' => 'Actuellement, %1$d des %2$d fichiers vérifiés comportent des différences.<br />Patientez jusqu’à ce que la vérification des fichiers soit terminée.', - - 'OLD_UPDATE_FILES' => 'Les fichiers de mise à jour ne sont pas à jour. Les fichiers trouvés pour la mise à jour sont pour phpBB %1$s vers phpBB %2$s mais la dernière version de phpBB est la %3$s.', - - 'PACKAGE_UPDATES_TO' => 'Le package courant est à jour à la version', - 'PERFORM_DATABASE_UPDATE' => 'Exécuter la mise à jour de la base de données', - 'PERFORM_DATABASE_UPDATE_EXPLAIN' => 'Vous trouverez ci-dessous un bouton vers le script de mise à jour de la base de données. La mise à jour de la base de données peut prendre un moment, merci de ne pas arrêter son exécution même si elle semble bloquer. Après la mise à jour de la base de données, suivez les instructions pour continuer la procédure de mise à jour.', - 'PREVIOUS_VERSION' => 'Version précédente', - 'PROGRESS' => 'En cours', - - 'RESULT' => 'Résultat', - 'RUN_DATABASE_SCRIPT' => 'Mettre à jour ma base de données maintenant', - - 'SELECT_DIFF_MODE' => 'Sélectionner le mode de comparaison', - 'SELECT_DOWNLOAD_FORMAT' => 'Sélectionner le format de l’archive à télécharger', - 'SELECT_FTP_SETTINGS' => 'Sélectionner les paramètres FTP', - 'SHOW_DIFF_CONFLICT' => 'Afficher les différences/conflits', - 'SHOW_DIFF_FINAL' => 'Afficher le fichier résultant', - 'SHOW_DIFF_MODIFIED' => 'Afficher les différences fusionnées', - 'SHOW_DIFF_NEW' => 'Afficher le contenu des fichiers', - 'SHOW_DIFF_NEW_CONFLICT' => 'Afficher les conflits', - 'SHOW_DIFF_NOT_MODIFIED' => 'Afficher les différences', - 'SOME_QUERIES_FAILED' => 'Certaines requêtes ont échoué, les instructions et les erreurs sont listées ci-dessous.', - 'SQL' => 'SQL', - 'SQL_FAILURE_EXPLAIN' => 'Il n’y a probablement pas lieu de s’inquiéter, la mise à jour va continuer. Si elle échoue, vous pourrez demander de l’aide sur nos forums de support. Consultez le <a href="../docs/README.html">README</a> pour plus d’informations sur comment obtenir de l’assistance.', - 'STAGE_FILE_CHECK' => 'Vérifier les fichiers', - 'STAGE_UPDATE_DB' => 'Mettre à jour la base de données', - 'STAGE_UPDATE_FILES' => 'Mettre à jour les fichiers', - 'STAGE_VERSION_CHECK' => 'Vérifier la version', - 'STATUS_CONFLICT' => 'Fichier modifié qui produit des conflits', - 'STATUS_MODIFIED' => 'Fichier modifié', - 'STATUS_NEW' => 'Nouveau fichier', - 'STATUS_NEW_CONFLICT' => 'Nouveau fichier en conflit', - 'STATUS_NOT_MODIFIED' => 'Fichier non modifié', - 'STATUS_UP_TO_DATE' => 'Fichier déjà à jour', - - 'TOGGLE_DISPLAY' => 'Voir/Masquer la liste des fichiers', - 'TRY_DOWNLOAD_METHOD' => 'Vous pouvez vouloir essayer la méthode de téléchargement des fichiers modifiés.<br />Cette méthode fonctionne toujours et constitue aussi le moyen recommandé pour la mise à jour.', - 'TRY_DOWNLOAD_METHOD_BUTTON'=> 'Essayer cette méthode maintenant', - - 'UPDATE_COMPLETED' => 'La mise à jour est terminée', - 'UPDATE_DATABASE' => 'Mettre à jour la base de données', - 'UPDATE_DATABASE_EXPLAIN' => 'Dans la prochaine étape, la base de données sera mise à jour.', - 'UPDATE_DATABASE_SCHEMA' => 'Mise à jour du schéma de la base de données', - 'UPDATE_FILES' => 'Mettre à jour les fichiers', - 'UPDATE_FILES_NOTICE' => 'Assurez-vous d’avoir mis également à jour tous les fichiers de votre forum, ce fichier met uniquement à jour la base de données.', - 'UPDATE_INSTALLATION' => 'Mettre à jour l’installation de phpBB', - 'UPDATE_INSTALLATION_EXPLAIN' => 'Avec cette option, il est possible de mettre à jour votre installation de phpBB vers la dernière version.<br />Pendant le processus, tous vos fichiers seront vérifiés dans leur intégralité. Vous pouvez revoir toutes les différences et les fichiers avant la mise à jour.<br /><br />Le fichier de mise à jour lui-même peut être réalisé de deux manières différentes.</p><h2>Mise à jour manuelle</h2><p>Avec cette mise à jour, vous ne téléchargez que vos paramètres personnels des fichiers modifiés pour être sûr de ne pas perdre les modifications du fichier que vous avez apportées. Après avoir téléchargé ce pack, vous devez charger manuellement les fichiers à leur emplacement correct à la racine de votre répertoire phpBB. Une fois terminé, vous pouvez recommencer l’étape de vérification du fichier pour vérifier si vous avez déplacé les fichiers correctement.</p><h2>Mise à jour automatique par FTP</h2><p>Cette méthode est similaire à la première, mais sans la nécessité de télécharger les fichiers modifiés et de les charger vous-même. Cela sera fait à votre place. Afin d’utiliser cette méthode, vous devez connaître les informations de votre connexion FTP car elles vous seront demandées. Une fois terminé, vous serez redirigé à la vérification du fichier une fois de plus pour savoir si tout a été mis à jour correctement.<br /><br />', - 'UPDATE_INSTRUCTIONS' => ' - - <h1>Annonce de mise à jour</h1> - - <p>Lisez <a href="%1$s" title="%1$s"><strong>cette annonce pour la dernière mise à jour</strong></a> avant de continuer le processus de mise à jour, celle-ci pourrait contenir des informations utiles. Elle contient aussi plusieurs liens ainsi que le détail des changements effectués depuis la dernière version.</p> - - <br /> - - <h1>Comment mettre à jour votre installation avec le pack de mise à jour automatique?</h1> - - <p>Les recommandations de mise à jour pour votre installation indiquées ici ne sont valables que pour le pack de mise à jour automatique. Vous pouvez également mettre à jour votre installation en utilisant les méthodes énumérées dans le document INSTALL.html. Les étapes pour mettre à jour automatiquement phpBB3 sont:</p> - - <ul style="margin-left: 20px; font-size: 1.1em;"> - <li>Allez sur la page <a href="http://www.phpbb.com/downloads/" title="http://www.phpbb.com/downloads/">de téléchargement de phpBB.com</a> et téléchargez l’archive de mise à jour automatique du forum: “Automatic Update Package”.<br /><br /></li> - <li>Décompressez l’archive.<br /><br /></li> - <li>Chargez le répertoire install sur votre serveur FTP, à la racine de votre forum (où votre fichier config.php est situé).<br /><br /></li> - </ul> - - <p>Une fois le dossier install chargé, votre forum sera inaccessible pour les utilisateurs normaux.<br /><br /> - <strong><a href="%2$s" title="%2$s">Vous pouvez maintenant démarrer la mise à jour en pointant votre navigateur sur le répertoire install</a>.</strong><br /> - <br /> - Vous serez alors guidé dans le processus de mise à jour. Vous serez averti une fois la mise à jour effectuée. - </p> - ', - 'UPDATE_INSTRUCTIONS_INCOMPLETE' => ' - - <h1>Mise à jour incomplète détectée</h1> - - <p>phpBB a détecté une mise à jour automatique incomplète. Assurez-vous que vous avez suivi chaque étape avec l’outil de mise à jour automatique. Vous trouverez ci-dessous le lien pour recommencer, ou allez directement dans votre répertoire install.</p> - ', - 'UPDATE_METHOD' => 'Méthode de mise à jour', - 'UPDATE_METHOD_EXPLAIN' => 'Vous pouvez maintenant choisir votre méthode de mise à jour préférée. En utilisant le chargement FTP, vous devrez entrer les informations de votre compte FTP dans un formulaire. Avec cette méthode, les fichiers seront déplacés automatiquement vers le nouvel emplacement et des sauvegardes des anciens fichiers seront créées en ajoutant .bak au nom du fichier. Si vous choisissez de télécharger les fichiers modifiés, vous pourrez les décompresser et les charger manuellement vers leur emplacement correct plus tard.', - 'UPDATE_REQUIRES_FILE' => 'L’outil de mise à jour nécessite que le fichier suivant soit présent: %s', - 'UPDATE_SUCCESS' => 'La mise à jour a été effectuée.', - 'UPDATE_SUCCESS_EXPLAIN' => 'Tous les fichiers ont été mis à jour. La prochaine étape implique de vérifier tous les fichiers une fois de plus pour vous assurer qu’ils ont été mis à jour correctement.', - 'UPDATE_VERSION_OPTIMIZE' => 'Mise à jour de la version et optimisation des tables', - 'UPDATING_DATA' => 'Mise à jour des données', - 'UPDATING_TO_LATEST_STABLE' => 'Mise à jour de la base de données vers la dernière version stable', - 'UPDATED_VERSION' => 'Version mise à jour', - 'UPGRADE_INSTRUCTIONS' => 'Une nouvelle version <strong>%1$s</strong> est disponible. Veuillez consulter <a href="%2$s" title="%2$s"><strong>l’annonce de mise à jour</strong></a> afin d’en savoir plus, et comment mettre à jour votre installation.', - 'UPLOAD_METHOD' => 'Méthode de chargement', - - 'UPDATE_DB_SUCCESS' => 'La mise à jour de la base de données a été effectuée.', - 'USER_ACTIVE' => 'Utilisateur actif', - 'USER_INACTIVE' => 'Utilisateur inactif', - - 'VERSION_CHECK' => 'Vérification de la version', - 'VERSION_CHECK_EXPLAIN' => 'Vérifie si votre installation de phpBB est à jour.', - 'VERSION_NOT_UP_TO_DATE' => 'Votre installation de phpBB n’est pas à jour. Continuez le processus de mise à jour.', - 'VERSION_NOT_UP_TO_DATE_ACP'=> 'Votre installation de phpBB n’est pas à jour.<br />Vous trouverez ci-dessous un lien vers l’annonce de publiciation, qui contient plus d’informations comme les instructions de mise à jour.', - 'VERSION_NOT_UP_TO_DATE_TITLE' => 'Votre installation de phpBB n’est pas à jour.', - 'VERSION_UP_TO_DATE' => 'Votre installation de phpBB est à jour. Bien qu’il n’y ait aucune mise à jour disponible actuellement, vous pouvez continuer afin d’exécuter un contrôle de validité des fichiers.', - 'VERSION_UP_TO_DATE_ACP' => 'Votre installation de phpBB est à jour. Aucune mise à jour n’est disponible actuellement.', - 'VIEWING_FILE_CONTENTS' => 'Consultation du contenu des fichiers', - 'VIEWING_FILE_DIFF' => 'Consultation des différences des fichiers', - - 'WRONG_INFO_FILE_FORMAT' => 'Mauvais format du fichier d’information', -)); - -// Default database schema entries... -$lang = array_merge($lang, array( - 'CONFIG_BOARD_EMAIL_SIG' => 'Merci, l’équipe du forum', - 'CONFIG_SITE_DESC' => 'Description de votre forum', - 'CONFIG_SITENAME' => 'votredomaine.com', - - 'DEFAULT_INSTALL_POST' => 'Ceci est un exemple de message de votre installation phpBB3. Tout semble fonctionner. Vous pouvez si vous le voulez supprimer ce message et continuer à configurer votre forum. Durant le processus d’installation, votre première catégorie et votre premier forum sont assignés à un ensemble de permissions appropriées aux groupes d’utilisateurs que sont les administrateurs, les robots, les modérateurs globaux, les invités, les utilisateurs inscrits et les utilisateurs COPPA inscrits. Si vous choisissez de supprimer également votre première catégorie et votre premier forum, n’oubliez pas de régler les permissions à tous les groupes d’utilisateurs, pour toutes les nouvelles catégories et forums que vous allez créer. Il est recommandé de renommer votre première catégorie et votre premier forum et de copier leurs permissions sur chaque nouvelle catégorie et nouveau forum lors de leur création. Amusez-vous bien!', - - 'FORUMS_FIRST_CATEGORY' => 'Votre première catégorie', - 'FORUMS_TEST_FORUM_DESC' => 'Description de votre premier forum.', - 'FORUMS_TEST_FORUM_TITLE' => 'Votre premier forum', - - 'RANKS_SITE_ADMIN_TITLE' => 'Administrateur du site', - 'REPORT_WAREZ' => 'Le message contient un lien vers un logiciel illégal ou piraté.', - 'REPORT_SPAM' => 'Le message rapporté a été posté dans le seul but de promouvoir un site Internet ou un autre produit.', - 'REPORT_OFF_TOPIC' => 'Le message rapporté est hors sujet.', - 'REPORT_OTHER' => 'Le message rapporté n’entre dans aucune autre catégorie, utilisez le champ d’information complémentaire.', - - 'SMILIES_ARROW' => 'Flèche', - 'SMILIES_CONFUSED' => 'Confus', - 'SMILIES_COOL' => 'Cool', - 'SMILIES_CRYING' => 'Très triste, en pleurs', - 'SMILIES_EMARRASSED' => 'Embarrassé', - 'SMILIES_EVIL' => 'Diable', - 'SMILIES_EXCLAMATION' => 'Exclamation', - 'SMILIES_GEEK' => 'Geek', - 'SMILIES_IDEA' => 'Idée', - 'SMILIES_LAUGHING' => 'Rire', - 'SMILIES_MAD' => 'Fou', - 'SMILIES_MR_GREEN' => 'M. Vert', - 'SMILIES_NEUTRAL' => 'Neutre', - 'SMILIES_QUESTION' => 'Question', - 'SMILIES_RAZZ' => 'Tire la langue', - 'SMILIES_ROLLING_EYES' => 'Yeux tournants', - 'SMILIES_SAD' => 'Triste', - 'SMILIES_SHOCKED' => 'Choqué', - 'SMILIES_SMILE' => 'Sourire', - 'SMILIES_SURPRISED' => 'Surprise', - 'SMILIES_TWISTED_EVIL' => 'Diable rieur', - 'SMILIES_UBER_GEEK' => 'Geek barbu', - 'SMILIES_VERY_HAPPY' => 'Très content', - 'SMILIES_WINK' => 'Clin d’oeil', - - 'TOPICS_TOPIC_TITLE' => 'Bienvenue sur phpBB3', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/iso.txt b/phpBB/language/fr/iso.txt deleted file mode 100644 index 998172ac1e..0000000000 --- a/phpBB/language/fr/iso.txt +++ /dev/null @@ -1,3 +0,0 @@ -Standard French
-Français Standard
-phpBB-fr.com
\ No newline at end of file diff --git a/phpBB/language/fr/mcp.php b/phpBB/language/fr/mcp.php deleted file mode 100644 index 8459109f75..0000000000 --- a/phpBB/language/fr/mcp.php +++ /dev/null @@ -1,407 +0,0 @@ -<?php -/** -* -* mcp [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: mcp.php, v1.26 2010/02/09 18:37:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ACTION' => 'Action', - 'ACTION_NOTE' => 'Action/Note', - 'ADD_FEEDBACK' => 'Ajouter un commentaire', - 'ADD_FEEDBACK_EXPLAIN' => 'Si vous voulez ajouter un commentaire sur cet utilisateur, remplissez le formulaire suivant. Utilisez seulement du texte. Le HTML, les BBCodes, etc. ne sont pas autorisés.', - 'ADD_WARNING' => 'Ajouter un avertissement', - 'ADD_WARNING_EXPLAIN' => 'Pour envoyer un avertissement à cet utilisateur, remplissez le formulaire suivant. Utilisez seulement du texte. Le HTML, les BBCodes, etc. ne sont pas autorisés.', - 'ALL_ENTRIES' => 'Toutes les entrées', - 'ALL_NOTES_DELETED' => 'Les commentaires sur l’utilisateur ont été supprimés.', - 'ALL_REPORTS' => 'Tous les rapports', - 'ALREADY_REPORTED' => 'Ce message a déjà été rapporté.', - 'ALREADY_REPORTED_PM' => 'Ce message privé a déjà été rapporté.', - 'ALREADY_WARNED' => 'Un avertissement a déjà été publié pour ce message.', - 'APPROVE' => 'Approuver', - 'APPROVE_POST' => 'Approuver le message', - 'APPROVE_POST_CONFIRM' => 'Êtes-vous sûr de vouloir approuver ce message?', - 'APPROVE_POSTS' => 'Approuver les messages', - 'APPROVE_POSTS_CONFIRM' => 'Êtes-vous sûr de vouloir approuver les messages sélectionnés?', - - 'CANNOT_MOVE_SAME_FORUM'=> 'Vous ne pouvez pas déplacer un sujet dans un forum où il se trouve déjà.', - 'CANNOT_WARN_ANONYMOUS' => 'Vous ne pouvez pas avertir un visiteur.', - 'CANNOT_WARN_SELF' => 'Vous ne pouvez pas vous donner un avertissement.', - 'CAN_LEAVE_BLANK' => 'Ceci peut être laissé vide.', - 'CHANGE_POSTER' => 'Changer le nom du posteur', - 'CLOSE_PM_REPORT' => 'Clôturer le rapport de MP', - 'CLOSE_PM_REPORT_CONFIRM' => 'Êtes-vous sûr de vouloir clôturer le rapport de MP sélectionné?', - 'CLOSE_PM_REPORTS' => 'Clôturer les rapports de MP', - 'CLOSE_PM_REPORTS_CONFIRM' => 'Êtes-vous sûr de vouloir clôturer les rapports de MP sélectionnés?', - 'CLOSE_REPORT' => 'Clôturer le rapport', - 'CLOSE_REPORT_CONFIRM' => 'Êtes-vous sûr de vouloir clôturer le rapport sélectionné?', - 'CLOSE_REPORTS' => 'Clôturer les rapports', - 'CLOSE_REPORTS_CONFIRM' => 'Êtes-vous sûr de vouloir clôturer les rapports sélectionnés?', - 'DELETE_PM_REPORT' => 'Supprimer le rapport de MP', - 'DELETE_PM_REPORT_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer le rapport de MP sélectionné?', - 'DELETE_PM_REPORTS' => 'Supprimer les rapports de MP', - 'DELETE_PM_REPORTS_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer les rapports de MP sélectionnés?', - - 'DELETE_POSTS' => 'Supprimer les messages', - 'DELETE_POSTS_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer ces messages?', - 'DELETE_POST_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer ce message?', - 'DELETE_REPORT' => 'Supprimer le rapport', - 'DELETE_REPORT_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer le rapport sélectionné?', - 'DELETE_REPORTS' => 'Supprimer les rapports', - 'DELETE_REPORTS_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer les rapports sélectionnés?', - 'DELETE_SHADOW_TOPIC' => 'Supprimer le sujet-traceur', - 'DELETE_TOPICS' => 'Supprimer les sujets choisis', - 'DELETE_TOPICS_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer ces sujets?', - 'DELETE_TOPIC_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer ce sujet?', - 'DISAPPROVE' => 'Désapprouver', - 'DISAPPROVE_REASON' => 'Raison de la désapprobation', - 'DISAPPROVE_POST' => 'Désapprouver le message', - 'DISAPPROVE_POST_CONFIRM' => 'Êtes-vous sûr de vouloir désapprouver ce message?', - 'DISAPPROVE_POSTS' => 'Désapprouver les messages', - 'DISAPPROVE_POSTS_CONFIRM' => 'Êtes-vous sûr de vouloir désapprouver ces messages?', - 'DISPLAY_LOG' => 'Afficher les entrées précédentes', - 'DISPLAY_OPTIONS' => 'Options d’affichage', - - 'EMPTY_REPORT' => 'Vous devez entrer une description si vous sélectionnez cette raison.', - 'EMPTY_TOPICS_REMOVED_WARNING' => 'Notez qu’un ou plusieurs sujets ont été supprimés de la base de données car ils étaient ou devenaient vides.', - - 'FEEDBACK' => 'Fiches de suivi', - 'FORK' => 'Copier', - 'FORK_TOPIC' => 'Copier le sujet', - 'FORK_TOPIC_CONFIRM' => 'Êtes-vous sûr de vouloir copier ce sujet?', - 'FORK_TOPICS' => 'Copier les sujets choisis', - 'FORK_TOPICS_CONFIRM' => 'Êtes-vous sûr de vouloir copier les sujets sélectionnés?', - 'FORUM_DESC' => 'Description', - 'FORUM_NAME' => 'Nom du forum', - 'FORUM_NOT_EXIST' => 'Le forum que vous avez sélectionné n’existe pas.', - 'FORUM_NOT_POSTABLE' => 'Le forum que vous avez sélectionné ne peut pas être mis en place.', - 'FORUM_STATUS' => 'Statut du forum', - 'FORUM_STYLE' => 'Style du forum', - - 'GLOBAL_ANNOUNCEMENT' => 'Annonce globale', - - 'IP_INFO' => 'Information IP', - 'IPS_POSTED_FROM' => 'Cet utilisateur a posté avec les adresses IP:', - - 'LATEST_LOGS' => 'Les 5 dernières actions notées', - 'LATEST_REPORTED' => 'Les 5 derniers rapports', - 'LATEST_REPORTED_PMS' => 'Les 5 derniers rapport de MP', - 'LATEST_UNAPPROVED' => 'Les 5 derniers messages en attente de modération', - 'LATEST_WARNING_TIME' => 'Dernier avertissement donné', - 'LATEST_WARNINGS' => 'Les 5 derniers avertissements', - 'LEAVE_SHADOW' => 'Laisser un sujet-traceur dans l’ancien forum', - 'LIST_REPORT' => '1 rapport', - 'LIST_REPORTS' => '%d rapports', - 'LOCK' => 'Verrouiller', - 'LOCK_POST_POST' => 'Verrouiller le message', - 'LOCK_POST_POST_CONFIRM' => 'Êtes-vous sûr de vouloir empêcher l’édition de ce message?', - 'LOCK_POST_POSTS' => 'Verrouiller les messages sélectionnés', - 'LOCK_POST_POSTS_CONFIRM' => 'Êtes-vous sûr de vouloir empêcher l’édition de ces messages?', - 'LOCK_TOPIC_CONFIRM' => 'Êtes-vous sûr de vouloir verrouiller ce sujet?', - 'LOCK_TOPICS' => 'Verrouiller les sujets sélectionnés', - 'LOCK_TOPICS_CONFIRM' => 'Êtes-vous sûr de vouloir verrouiller tous les sujets sélectionnés?', - 'LOGS_CURRENT_TOPIC' => 'Notations actuellement visionnées:', - 'LOGIN_EXPLAIN_MCP' => 'Pour modérer ce forum vous devez vous connecter.', - 'LOGVIEW_VIEWTOPIC' => 'Voir le sujet', - 'LOGVIEW_VIEWLOGS' => 'Consulter le journal des sujets', - 'LOGVIEW_VIEWFORUM' => 'Voir le forum', - 'LOOKUP_ALL' => 'Rechercher toutes les IPs', - 'LOOKUP_IP' => 'Rechercher une IP', - - 'MARKED_NOTES_DELETED' => 'Tous les commentaires sur l’utilisateur ont été supprimés.', - - 'MCP_ADD' => 'Ajouter un avertissement', - - 'MCP_BAN' => 'Bannissements', - 'MCP_BAN_EMAILS' => 'Bannir des adresses e-mail', - 'MCP_BAN_IPS' => 'Bannir des IPs', - 'MCP_BAN_USERNAMES' => 'Bannir des utilisateurs', - - 'MCP_LOGS' => 'Journal de modération', - 'MCP_LOGS_FRONT' => 'Première page', - 'MCP_LOGS_FORUM_VIEW' => 'Journal des forums', - 'MCP_LOGS_TOPIC_VIEW' => 'Journal des sujets', - - 'MCP_MAIN' => 'Principal', - 'MCP_MAIN_FORUM_VIEW' => 'Voir le forum', - 'MCP_MAIN_FRONT' => 'Première page', - 'MCP_MAIN_POST_DETAILS' => 'Détails du message', - 'MCP_MAIN_TOPIC_VIEW' => 'Voir le sujet', - 'MCP_MAKE_ANNOUNCEMENT' => 'Mettre en “Annonce”', - 'MCP_MAKE_ANNOUNCEMENT_CONFIRM' => 'Êtes-vous sûr de vouloir mettre ce sujet en “Annonce”?', - 'MCP_MAKE_ANNOUNCEMENTS' => 'Mettre en “Annonces”', - 'MCP_MAKE_ANNOUNCEMENTS_CONFIRM'=> 'Êtes-vous sûr de vouloir mettre les sujets sélectionnés en “Annonces”?', - 'MCP_MAKE_GLOBAL' => 'Mettre en “Annonce globale”', - 'MCP_MAKE_GLOBAL_CONFIRM' => 'Êtes-vous sûr de vouloir mettre ce sujet en “Annonce globale”?', - 'MCP_MAKE_GLOBALS' => 'Mettre en “Annonces globales”', - 'MCP_MAKE_GLOBALS_CONFIRM' => 'Êtes-vous sûr de vouloir mettre les sujets sélectionnés en “Annonces globales”?', - 'MCP_MAKE_STICKY' => 'Mettre en “Post-it”', - 'MCP_MAKE_STICKY_CONFIRM' => 'Êtes-vous sûr de vouloir mettre ce sujet en “Post-it”?', - 'MCP_MAKE_STICKIES' => 'Mettre en “Post-it”', - 'MCP_MAKE_STICKIES_CONFIRM' => 'Êtes-vous sûr de vouloir mettre les sujets sélectionnés en “Post-it”?', - 'MCP_MAKE_NORMAL' => 'Mettre en “Sujet normal”', - 'MCP_MAKE_NORMAL_CONFIRM' => 'Êtes-vous sûr de vouloir mettre ce sujet en “Sujet normal”?', - 'MCP_MAKE_NORMALS' => 'Mettre en “Sujets normaux”', - 'MCP_MAKE_NORMALS_CONFIRM' => 'Êtes-vous sûr de vouloir mettre les sujets sélectionnés en “Sujets normaux”?', - - 'MCP_NOTES' => 'Fiche de suivi', - 'MCP_NOTES_FRONT' => 'Première page', - 'MCP_NOTES_USER' => 'Détails', - - 'MCP_POST_REPORTS' => 'Rapports issus de ce message', - - 'MCP_PM_REPORTS' => 'MPs rapportés', - 'MCP_PM_REPORT_DETAILS' => 'Détails du rapport de MP', - 'MCP_PM_REPORTS_CLOSED' => 'Rapports de MP cloturés', - 'MCP_PM_REPORTS_CLOSED_EXPLAIN' => 'Voici une liste de tous les rapports de messages privés qui ont été résolus.', - 'MCP_PM_REPORTS_OPEN' => 'Rapports de MP ouverts', - 'MCP_PM_REPORTS_OPEN_EXPLAIN' => 'Voici une liste de tous les rapports de messages privés qui doivent toujours être pris en charge.', - - 'MCP_REPORTS' => 'Messages rapportés', - 'MCP_REPORT_DETAILS' => 'Détails du rapport', - 'MCP_REPORTS_CLOSED' => 'Rapports clôturés', - 'MCP_REPORTS_CLOSED_EXPLAIN' => 'Liste de tous les rapports de messages qui ont été précédemment résolus.', - 'MCP_REPORTS_OPEN' => 'Rapports en cours', - 'MCP_REPORTS_OPEN_EXPLAIN' => 'Liste de tous les messages rapportés qui doivent toujours être traités.', - - 'MCP_QUEUE' => 'En attente de modération', - 'MCP_QUEUE_APPROVE_DETAILS' => 'Approuver les détails', - 'MCP_QUEUE_UNAPPROVED_POSTS' => 'Messages en attente', - 'MCP_QUEUE_UNAPPROVED_POSTS_EXPLAIN' => 'Liste de tous les messages nécessitant une approbation avant publication.', - 'MCP_QUEUE_UNAPPROVED_TOPICS' => 'Sujets en attente', - 'MCP_QUEUE_UNAPPROVED_TOPICS_EXPLAIN' => 'Liste de tous les sujets nécessitant une approbation avant publication.', - - 'MCP_VIEW_USER' => 'Consulter les avertissements pour un utilisateur en particulier', - - 'MCP_WARN' => 'Avertissements', - 'MCP_WARN_FRONT' => 'Première page', - 'MCP_WARN_LIST' => 'Liste des avertissements', - 'MCP_WARN_POST' => 'Avertir pour un message en particulier', - 'MCP_WARN_USER' => 'Avertir le membre', - - 'MERGE_POSTS' => 'Fusionner les messages', - 'MERGE_POSTS_CONFIRM' => 'Êtes-vous sûr de vouloir fusionner les messages sélectionnés?', - 'MERGE_TOPIC_EXPLAIN' => 'L’utilisation du formulaire ci-dessous vous permet de fusionner les messages sélectionnés dans un autre sujet. Ces messages ne seront pas réordonnés et apparaîtront comme si les utilisateurs les avaient postés dans le nouveau sujet.<br />Entrez l’id du sujet de destination ou cliquez sur “Sélectionner le sujet” pour en rechercher un.', - 'MERGE_TOPIC_ID' => 'Id du sujet de destination', - 'MERGE_TOPICS' => 'Fusionner les sujets', - 'MERGE_TOPICS_CONFIRM' => 'Êtes-vous sûr de vouloir fusionner les sujets sélectionnés?', - 'MODERATE_FORUM' => 'Modérer le forum', - 'MODERATE_TOPIC' => 'Modérer le sujet', - 'MODERATE_POST' => 'Modérer le message', - 'MOD_OPTIONS' => 'Options de modération', - 'MORE_INFO' => 'Informations complémentaires', - 'MOST_WARNINGS' => 'Utilisateurs ayant le plus grand nombre d’avertissements', - 'MOVE_TOPIC_CONFIRM' => 'Êtes-vous sûr de vouloir déplacer le sujet dans un nouveau forum?', - 'MOVE_TOPICS' => 'Déplacer les sujets sélectionnés', - 'MOVE_TOPICS_CONFIRM' => 'Êtes-vous sûr de vouloir déplacer les sujets sélectionnés dans un nouveau forum?', - - 'NOTIFY_POSTER_APPROVAL' => 'Informer le posteur au sujet de l’approbation?', - 'NOTIFY_POSTER_DISAPPROVAL' => 'Informer le posteur au sujet de la désapprobation?', - 'NOTIFY_USER_WARN' => 'Informer l’utilisateur au sujet de l’avertissement?', - 'NOT_MODERATOR' => 'Vous n’êtes pas modérateur de ce forum.', - 'NO_DESTINATION_FORUM' => 'Sélectionnez un forum de destination.', - 'NO_DESTINATION_FORUM_FOUND' => 'Il n’y a aucun forum de destination disponible.', - 'NO_ENTRIES' => 'Aucune entrée de notation pour cette période.', - 'NO_FEEDBACK' => 'Aucune fiche de suivi n’existe pour cet utilisateur.', - 'NO_FINAL_TOPIC_SELECTED' => 'Vous devez sélectionner un sujet de destination pour fusionner les messages.', - 'NO_MATCHES_FOUND' => 'Aucun résultat trouvé.', - 'NO_POST' => 'Vous devez sélectionner un message afin d’avertir l’utilisateur pour un message.', - 'NO_POST_REPORT' => 'Ce message n’a pas été rapporté.', - 'NO_POST_SELECTED' => 'Vous devez sélectionner au moins un message pour effectuer cette action.', - 'NO_REASON_DISAPPROVAL' => 'Donnez la raison de la désapprobation.', - 'NO_REPORT' => 'Aucun rapport n’a été trouvé', - 'NO_REPORTS' => 'Aucun rapport n’a été trouvé', - 'NO_REPORT_SELECTED' => 'Vous devez sélectionner au moins un rapport pour effectuer cette action.', - 'NO_TOPIC_ICON' => 'Aucune', - 'NO_TOPIC_SELECTED' => 'Vous devez choisir au moins un sujet pour effectuer cette action.', - 'NO_TOPICS_QUEUE' => 'Il n’y a aucun sujet en attente de modération.', - - 'ONLY_TOPIC' => 'Seulement le sujet “%s”', - 'OTHER_USERS' => 'Autres utilisateurs postant à partir de cette IP', - - 'PM_REPORT_CLOSED_SUCCESS' => 'Le rapport de MP sélectionné a été clôturé.', - 'PM_REPORT_DELETED_SUCCESS' => 'Le rapport de MP sélectionné a été supprimé.', - 'PM_REPORTED_SUCCESS' => 'Le message privé a été rapporté.', - 'PM_REPORT_TOTAL' => 'Au total, il y a <strong>1</strong> rapport de MP à revoir.', - 'PM_REPORTS_TOTAL' => 'Au total, il y a <strong>%d</strong> rapports de MP à revoir.', - 'PM_REPORTS_CLOSED_SUCCESS' => 'Les rapports de MP sélectionnés ont été clôturés.', - 'PM_REPORTS_DELETED_SUCCESS'=> 'Les rapports de MP sélectionnés ont été supprimés.', - 'PM_REPORTS_ZERO_TOTAL' => 'Aucun rapport de MP à revoir.', - 'PM_REPORT_DETAILS' => 'Détails du rapport de message privé', - - 'POSTER' => 'Posteur', - 'POSTS_APPROVED_SUCCESS' => 'Les messages sélectionnés ont été approuvés.', - 'POSTS_DELETED_SUCCESS' => 'Les messages sélectionnés ont été supprimés de la base de données.', - 'POSTS_DISAPPROVED_SUCCESS' => 'Les messages sélectionnés ont été désapprouvés.', - 'POSTS_LOCKED_SUCCESS' => 'Les messages sélectionnés ont été verrouillés.', - 'POSTS_MERGED_SUCCESS' => 'Les messages sélectionnés ont été fusionnés.', - 'POSTS_UNLOCKED_SUCCESS' => 'Les messages sélectionnés ont été déverrouillés.', - 'POSTS_PER_PAGE' => 'Messages par page', - 'POSTS_PER_PAGE_EXPLAIN' => '(Mettre “0” pour voir tous les messages.)', - 'POST_APPROVED_SUCCESS' => 'Le message sélectionné a été approuvé.', - 'POST_DELETED_SUCCESS' => 'Le message sélectionné a été supprimé de la base de données.', - 'POST_DISAPPROVED_SUCCESS' => 'Le message sélectionné a été désapprouvé.', - 'POST_LOCKED_SUCCESS' => 'Le message a été verrouillé.', - 'POST_NOT_EXIST' => 'Le message que vous avez demandé n’existe pas.', - 'POST_REPORTED_SUCCESS' => 'Ce message a été rapporté.', - 'POST_UNLOCKED_SUCCESS' => 'Le message a été déverrouillé.', - - 'READ_USERNOTES' => 'Fiche de suivi', - 'READ_WARNINGS' => 'Avertissements de l’utilisateur', - 'REPORTER' => 'Rapporteur', - 'REPORTED' => 'Rapporté', - 'REPORTED_BY' => 'Rapporté par', - 'REPORTED_ON_DATE' => 'le', - 'REPORTS_CLOSED_SUCCESS' => 'Les rapports sélectionnés ont été clôturés.', - 'REPORTS_DELETED_SUCCESS' => 'Les rapports sélectionnés ont été supprimés.', - 'REPORTS_TOTAL' => 'Il y a, au total, <strong>%d</strong> rapports à passer en revue.', - 'REPORTS_ZERO_TOTAL' => 'Il n’y a aucun rapport à passer en revue.', - 'REPORT_CLOSED' => 'Ce rapport a déjà été clôturé.', - 'REPORT_CLOSED_SUCCESS' => 'Le rapport sélectionné a été clôturé.', - 'REPORT_DELETED_SUCCESS' => 'Le rapport sélectionné a été supprimé.', - 'REPORT_DETAILS' => 'Détails du rapport', - 'REPORT_MESSAGE' => 'Rapporter ce message', - 'REPORT_MESSAGE_EXPLAIN' => 'Utilisez ce formulaire pour rapporter le message privé sélectionné. En général, le rapport ne devra être utilisé que si le message ne respecte pas les règles du forum. <strong>En rapportant un message privé, son contenu sera visible à tous les modérateurs.</strong>', - 'REPORT_NOTIFY' => 'M’informer', - 'REPORT_NOTIFY_EXPLAIN' => 'Vous informer quand votre rapport a été traité.', - 'REPORT_POST_EXPLAIN' => 'Utilisez ce formulaire pour rapporter le message sélectionné aux modérateurs du forum et aux administrateurs. En général, le rapport ne devra être utilisé que si le message ne respecte pas les règles du forum.', - 'REPORT_REASON' => 'Raison du rapport', - 'REPORT_TIME' => 'Date du rapport', - 'REPORT_TOTAL' => 'Il reste <strong>1</strong> rapport à passer en revue.', - 'RESYNC' => 'Resynchroniser', - 'RETURN_MESSAGE' => '%sRetourner au message%s', - 'RETURN_NEW_FORUM' => '%sAller au nouveau forum%s', - 'RETURN_NEW_TOPIC' => '%sAller au nouveau sujet%s', - 'RETURN_PM' => '%sRetourner au message privé%s', - 'RETURN_POST' => '%sRetourner au message%s', - 'RETURN_QUEUE' => '%sRetourner à l’attente de modération%s', - 'RETURN_REPORTS' => '%sRetourner aux rapports%s', - 'RETURN_TOPIC_SIMPLE' => '%sRetourner au sujet%s', - - 'SEARCH_POSTS_BY_USER' => 'Rechercher les messages de', - 'SELECT_ACTION' => 'Sélectionner l’action désirée', - 'SELECT_FORUM_GLOBAL_ANNOUNCEMENT' => 'Sélectionnez le forum dans lequel cette annonce globale doit être placée.', - 'SELECT_FORUM_GLOBAL_ANNOUNCEMENTS' => 'Un ou plusieurs des sujets sélectionnés sont des annonces globales. Sélectionnez le forum dans lequel vous souhaitez que ces sujets soient placés.', - 'SELECT_MERGE' => 'Fusionner avec', - 'SELECT_TOPICS_FROM' => 'Sélectionner les sujets de', - 'SELECT_TOPIC' => 'Sélectionner le sujet', - 'SELECT_USER' => 'Sélectionner l’utilisateur', - 'SORT_ACTION' => 'Journal des actions', - 'SORT_DATE' => 'Date', - 'SORT_IP' => 'Adresse IP', - 'SORT_WARNINGS' => 'Avertissements', - 'SPLIT_AFTER' => 'Diviser le sujet à partir du message sélectionné', - 'SPLIT_FORUM' => 'Forum du nouveau sujet', - 'SPLIT_POSTS' => 'Diviser les messages sélectionnés', - 'SPLIT_SUBJECT' => 'Titre du nouveau sujet', - 'SPLIT_TOPIC_ALL' => 'Diviser à partir des messages sélectionnés', - 'SPLIT_TOPIC_ALL_CONFIRM' => 'Êtes-vous sûr de vouloir diviser ce sujet?', - 'SPLIT_TOPIC_BEYOND' => 'Diviser le sujet au message sélectionné', - 'SPLIT_TOPIC_BEYOND_CONFIRM' => 'Êtes-vous sûr de vouloir diviser ce sujet au message sélectionné?', - 'SPLIT_TOPIC_EXPLAIN' => 'L’utilisation du formulaire ci-dessous vous permet de diviser un sujet en deux, soit en sélectionnant les messages individuellement, soit en divisant au message sélectionné.', - - 'THIS_PM_IP' => 'IP de ce message privé', - 'THIS_POST_IP' => 'IP de ce message', - 'TOPICS_APPROVED_SUCCESS' => 'Les sujets sélectionnés ont été approuvés.', - 'TOPICS_DELETED_SUCCESS' => 'Les sujets sélectionnés ont été supprimés de la base de données.', - 'TOPICS_DISAPPROVED_SUCCESS'=> 'Les sujets sélectionnés ont été désapprouvés.', - 'TOPICS_FORKED_SUCCESS' => 'Les sujets sélectionnés ont été copiés.', - 'TOPICS_LOCKED_SUCCESS' => 'Les sujets sélectionnés ont été verrouillés.', - 'TOPICS_MOVED_SUCCESS' => 'Les sujets sélectionnés ont été déplacés.', - 'TOPICS_RESYNC_SUCCESS' => 'Les sujets sélectionnés ont été resynchronisés.', - 'TOPICS_TYPE_CHANGED' => 'Le statut des sujets a été modifié.', - 'TOPICS_UNLOCKED_SUCCESS' => 'Les sujets sélectionnés ont été déverrouillés.', - 'TOPIC_APPROVED_SUCCESS' => 'Le sujet sélectionné a été approuvé.', - 'TOPIC_DELETED_SUCCESS' => 'Le sujet sélectionné a été supprimé de la base de données.', - 'TOPIC_DISAPPROVED_SUCCESS' => 'Le sujet sélectionné a été désapprouvé.', - 'TOPIC_FORKED_SUCCESS' => 'Le sujet sélectionné a été copié.', - 'TOPIC_LOCKED_SUCCESS' => 'Le sujet sélectionné a été verrouillé.', - 'TOPIC_MOVED_SUCCESS' => 'Le sujet sélectionné a été déplacé.', - 'TOPIC_NOT_EXIST' => 'Le sujet que vous avez sélectionné n’existe pas.', - 'TOPIC_RESYNC_SUCCESS' => 'Le sujet sélectionné a été resynchronisé.', - 'TOPIC_SPLIT_SUCCESS' => 'Le sujet sélectionné a été divisé.', - 'TOPIC_TIME' => 'Date du sujet', - 'TOPIC_TYPE_CHANGED' => 'Le statut du sujet a été modifié.', - 'TOPIC_UNLOCKED_SUCCESS' => 'Le sujet sélectionné a été déverrouillé.', - 'TOTAL_WARNINGS' => 'Total des avertissements', - - 'UNAPPROVED_POSTS_TOTAL' => 'Il y a, au total, <strong>%d</strong> messages en attente de modération.', - 'UNAPPROVED_POSTS_ZERO_TOTAL' => 'Il n’y a aucun message en attente de modération.', - 'UNAPPROVED_POST_TOTAL' => 'Il reste <strong>1</strong> message en attente de modération.', - 'UNLOCK' => 'Déverrouiller', - 'UNLOCK_POST' => 'Déverrouiller le message', - 'UNLOCK_POST_EXPLAIN' => 'Autorise l’édition', - 'UNLOCK_POST_POST' => 'Déverrouiller le message', - 'UNLOCK_POST_POST_CONFIRM' => 'Êtes-vous sûr de vouloir déverrouiller ce message et ainsi en autoriser l’édition?', - 'UNLOCK_POST_POSTS' => 'Déverrouiller les messages sélectionnés', - 'UNLOCK_POST_POSTS_CONFIRM' => 'Êtes-vous sûr de vouloir déverrouiller ces messages et ainsi en autoriser l’édition?', - 'UNLOCK_TOPIC' => 'Déverrouiller le sujet', - 'UNLOCK_TOPIC_CONFIRM' => 'Êtes-vous sûr de vouloir déverrouiller ce sujet?', - 'UNLOCK_TOPICS' => 'Déverrouiller les sujets sélectionnés', - 'UNLOCK_TOPICS_CONFIRM' => 'Êtes-vous sûr de vouloir déverrouiller tous les sujets sélectionnés?', - 'USER_CANNOT_POST' => 'Vous ne pouvez pas poster dans ce forum.', - 'USER_CANNOT_REPORT' => 'Vous ne pouvez pas rapporter de message dans ce forum.', - 'USER_FEEDBACK_ADDED' => 'Le commentaire sur l’utilisateur a été ajouté.', - 'USER_WARNING_ADDED' => 'L’utilisateur a été averti.', - - 'VIEW_DETAILS' => 'Voir les détails', - 'VIEW_PM' => 'Voir le message privé', - 'VIEW_POST' => 'Voir le message', - - 'WARNED_USERS' => 'Utilisateurs avertis', - 'WARNED_USERS_EXPLAIN' => 'Liste des utilisateurs dont les avertissements donnés sont encore valables.', - 'WARNING_PM_BODY' => 'Ce qui suit est un avertissement qui vous a été adressé par un administrateur ou un modérateur.[quote]%s[/quote]', - 'WARNING_PM_SUBJECT' => 'Avertissement!', - 'WARNING_POST_DEFAULT' => 'Ceci est un avertissement concernant ce message que vous avez posté: %s .', - 'WARNINGS_ZERO_TOTAL' => 'Aucun avertissement.', - - 'YOU_SELECTED_TOPIC' => 'Vous avez sélectionné le sujet n° %d: %s.', - - 'report_reasons' => array( - 'TITLE' => array( - 'WAREZ' => 'Warez/Piratage', - 'SPAM' => 'Spam/Pub', - 'OFF_TOPIC' => 'Hors sujet', - 'OTHER' => 'Autre', - ), - 'DESCRIPTION' => array( - 'WAREZ' => 'Ce message contient des liens de logiciels illégaux ou piratés.', - 'SPAM' => 'Le message rapporté est un message publicitaire pour un site Internet ou autre.', - 'OFF_TOPIC' => 'Le message rapporté est hors sujet.', - 'OTHER' => 'Le message rapporté ne s’adapte à aucune autre catégorie, utilisez le champ d’information complémentaire.', - ) - ), -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/memberlist.php b/phpBB/language/fr/memberlist.php deleted file mode 100644 index 25d532d114..0000000000 --- a/phpBB/language/fr/memberlist.php +++ /dev/null @@ -1,134 +0,0 @@ -<?php -/** -* -* memberlist [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: memberlist.php, v1.26 2009/12/16 16:36:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ABOUT_USER' => 'Profil', - 'ACTIVE_IN_FORUM' => 'Forum le plus actif', - 'ACTIVE_IN_TOPIC' => 'Sujet le plus actif', - 'ADD_FOE' => 'Ajouter à ma liste d’ignorés', - 'ADD_FRIEND' => 'Ajouter à ma liste d’amis', - 'AFTER' => 'Après', - 'ALL' => 'Tous', - 'BEFORE' => 'Avant', - 'CC_EMAIL' => 'S’envoyer une copie de cet e-mail.', - 'CONTACT_USER' => 'Contacter', - 'DEST_LANG' => 'Langue', - 'DEST_LANG_EXPLAIN' => 'Choisissez une langue appropriée (si disponible) pour le destinataire de ce message.', - 'EMAIL_BODY_EXPLAIN' => 'Ce message sera envoyé au format texte, ne pas inclure de code HTML ni de BBCode. L’adresse de réponse à ce message sera votre adresse e-mail.', - 'EMAIL_DISABLED' => 'Désolé mais toutes les fonctions en rapport avec les e-mails ont été désactivées.', - 'EMAIL_SENT' => 'L’e-mail a été envoyé.', - 'EMAIL_TOPIC_EXPLAIN' => 'Ce message sera envoyé au format texte, ne pas inclure de code HTML ni de BBCode. Notez que les informations sur le sujet sont déjà incluses dans le message. L’adresse de réponse à ce message sera votre adresse e-mail.', - 'EMPTY_ADDRESS_EMAIL' => 'Vous devez fournir une adresse e-mail valide pour le destinataire.', - 'EMPTY_MESSAGE_EMAIL' => 'Vous devez écrire un message.', - 'EMPTY_MESSAGE_IM' => 'Vous devez entrer un message à envoyer.', - 'EMPTY_NAME_EMAIL' => 'Vous devez entrer le nom réel du destinataire.', - 'EMPTY_SUBJECT_EMAIL' => 'Vous devez indiquer un sujet pour l’e-mail.', - 'EQUAL_TO' => 'Egal à', - 'FIND_USERNAME_EXPLAIN' => 'Utilisez ce formulaire pour rechercher un membre. Vous n’avez pas besoin de compléter tous les champs. Pour effectuer une recherche partielle, utilisez un * comme joker. Utilisez le format de date <kbd>AAAA-MM-JJ</kbd>, par exemple: <samp>2004-02-29</samp>. Utilisez les cases à cocher pour sélectionner un ou plusieurs noms d’utilisateurs (plusieurs noms d’utilisateurs peuvent être acceptés selon le formulaire lui-même) puis cliquez sur “Valider la sélection” pour retourner au formulaire précédent.', - 'FLOOD_EMAIL_LIMIT' => 'Vous ne pouvez pas envoyer un autre e-mail si rapidement. Réessayez à nouveau dans quelques instants.', - 'GROUP_LEADER' => 'Modérateur du groupe', - 'HIDE_MEMBER_SEARCH' => 'Cacher la recherche des membres', - 'IM_ADD_CONTACT' => 'Ajouter le contact', - 'IM_AIM' => 'Notez que pour utiliser cette fonction vous devez avoir installé AOL Instant Messenger.', - 'IM_AIM_EXPRESS' => 'AIM Express', - 'IM_DOWNLOAD_APP' => 'Télécharger l’application', - 'IM_ICQ' => 'Notez que les membres ont pu choisir de ne pas recevoir de messages instantanés non sollicités.', - 'IM_JABBER' => 'Notez que les membres ont pu choisir de ne pas recevoir de messages instantanés non sollicités.', - 'IM_JABBER_SUBJECT' => 'Ceci est un message automatique, merci de ne pas y répondre! Message de l’utilisateur %1$s le %2$s.', - 'IM_MESSAGE' => 'Votre message', - 'IM_MSNM' => 'Notez que pour utiliser cette fonction vous devez avoir installé Windows Messenger.', - 'IM_MSNM_BROWSER' => 'Votre navigateur ne supporte pas cela.', - 'IM_MSNM_CONNECT' => 'Windows Messenger n’est pas connecté.\nVous devez vous connecter pour continuer.', - 'IM_NAME' => 'Votre nom', - 'IM_NO_DATA' => 'Aucune information de contact pour cet utilisateur.', - 'IM_NO_JABBER' => 'Désolé, la transmission de messages instantanés des utilisateurs Jabber n’est pas supportée sur ce forum. Votre devez avoir un client Jabber installé sur votre système pour contacter le destinataire ci-dessus.', - 'IM_RECIPIENT' => 'Destinataire', - 'IM_SEND' => 'Envoyer un message', - 'IM_SEND_MESSAGE' => 'Envoyer un message', - 'IM_SENT_JABBER' => 'Votre message vers %1$s a été envoyé.', - 'IM_USER' => 'Envoyer un message instantané', - 'LAST_ACTIVE' => 'Dernière visite', - 'LESS_THAN' => 'Moins que', - 'LIST_USER' => '1 utilisateur', - 'LIST_USERS' => '%d utilisateurs', - 'LOGIN_EXPLAIN_LEADERS' => 'L’administrateur exige que vous soyez enregistré et connecté pour voir la liste des membres de l’équipe.', - 'LOGIN_EXPLAIN_MEMBERLIST' => 'L’administrateur exige que vous soyez enregistré et connecté pour voir la liste des membres.', - 'LOGIN_EXPLAIN_SEARCHUSER' => 'L’administrateur exige que vous soyez enregistré et connecté pour rechercher des membres.', - 'LOGIN_EXPLAIN_VIEWPROFILE' => 'L’administrateur exige que vous soyez enregistré et connecté pour voir les profils.', - 'MORE_THAN' => 'Plus que', - - 'NO_EMAIL' => 'Vous ne pouvez pas envoyer d’e-mail à ce membre.', - 'NO_VIEW_USERS' => 'Vous ne pouvez pas voir la liste des membres ou les profils.', - 'ORDER' => 'Ordre', - 'OTHER' => 'Autre', - 'POST_IP' => 'Posté depuis IP/domaine', - 'RANK' => 'Rang', - 'REAL_NAME' => 'Nom du destinataire', - 'RECIPIENT' => 'Destinataire', - 'REMOVE_FOE' => 'Supprimer de ma liste d’ignorés', - 'REMOVE_FRIEND' => 'Supprimer de ma liste d’amis', - 'SEARCH_USER_POSTS' => 'Rechercher les messages de l’utilisateur', - 'SELECT_MARKED' => 'Valider la sélection', - 'SELECT_SORT_METHOD' => 'Choisir la méthode de tri', - 'SEND_AIM_MESSAGE' => 'Envoyer un message AIM', - 'SEND_ICQ_MESSAGE' => 'Envoyer un message ICQ', - 'SEND_IM' => 'Messagerie instantanée', - 'SEND_JABBER_MESSAGE' => 'Envoyer un message Jabber', - 'SEND_MESSAGE' => 'Message', - 'SEND_MSNM_MESSAGE' => 'Envoyer un message MSN/WLM', - 'SEND_YIM_MESSAGE' => 'Envoyer un message YIM', - 'SORT_EMAIL' => 'E-mail', - 'SORT_LAST_ACTIVE' => 'Dernière visite', - 'SORT_POST_COUNT' => 'Nombre de messages', - 'USERNAME_BEGINS_WITH' => 'Noms commençant par', - 'USER_ADMIN' => 'Administrer l’utilisateur', - 'USER_BAN' => 'Bannissement', - 'USER_FORUM' => 'Statistiques de l’utilisateur', - 'USER_LAST_REMINDED' => array( - 0 => 'Aucun rappel envoyé actuellement', - 1 => '%1$d rappel envoyé<br />» %2$s', - 2 => '%1$d rappels envoyés<br />» %2$s', - ), - 'USER_ONLINE' => 'En ligne', - 'USER_PRESENCE' => 'Présence sur le forum', - 'VIEWING_PROFILE' => 'Vue du profil - %s', - 'VISITED' => 'Dernière visite', - 'WWW' => 'Site Internet', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/mods/acp_phpbb_seo.php b/phpBB/language/fr/mods/acp_phpbb_seo.php deleted file mode 100644 index 136650f942..0000000000 --- a/phpBB/language/fr/mods/acp_phpbb_seo.php +++ /dev/null @@ -1,278 +0,0 @@ -<?php -/** -* -* acp_phpbb_seo [French] -* -* @package Ultimate SEO URL phpBB SEO -* @version $Id: acp_phpbb_seo.php 152 2009-11-10 19:21:31Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://www.opensource.org/licenses/rpl1.5.txt Reciprocal Public License 1.5 -* -*/ -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - // ACP Main CAT - 'ACP_CAT_PHPBB_SEO' => 'phpBB SEO', - 'ACP_MOD_REWRITE' => 'Réécriture d’URL', - // ACP phpbb seo class - 'ACP_PHPBB_SEO_CLASS' => 'Configuration de la classe phpBB SEO', - 'ACP_PHPBB_SEO_CLASS_EXPLAIN' => 'Vous pouvez régler ici différentes options du mod phpBB SEO %1$s (%2$s).<br/>Les réglages par défaut comme les délimiteurs et les extensions doivent toujours être configurés dans le fichier <b>phpbb_seo/includes/setup_phpbb_seo.php</b>, les modifier implique un changement de .htaccess ainsi que des redirections appropriées.%3$s', - 'ACP_PHPBB_SEO_VERSION' => 'Version', - 'ACP_PHPBB_SEO_MODE' => 'Mode', - 'ACP_SEO_SUPPORT_FORUM' => 'Forum de support', - // ACP forum urls - 'ACP_FORUM_URL' => 'Configuration des URLs des forums', - 'ACP_FORUM_URL_EXPLAIN' => 'Vous pouvez régler ici le contenu du cache, qui sera injecté dans les URLs des forums.<br/>Les forums en vert sont en cache, ceux en rouge ne le sont pas encore.<br/><br/><b style="color:red">Nota Bene :</b><br/><em><b>mots-cles-fxx/</b> sera toujours convenablement redirigé par le Zéro Duplicate, mais pas si vous le modifiez par la suite : <b>mots-cles/</b> ne sera pas directement redirigé vers <b>autres-mots-cles/</b>.<br/> Dans ce cas, <b>mots-cles/</b> sera considéré comme un forum qui n’existe pas, à défaut de redirections personnalisées.</em><br/>', - 'ACP_NO_FORUM_URL' => '<b>La configuration des URLs des forums est désactivée<b><br/>La configuration des URLs des forums est uniquemant possible en mode Avancé ou Intermédiaire et lorsque le Cache des URLs des forums est activé.<br/> Les URLs éventuellement configurées continuent cependant d’être utilisées en mode Avancé ou Intermédiaire.', - // ACP .htaccess - 'ACP_HTACCESS' => 'htaccess', - 'ACP_HTACCESS_EXPLAIN' => 'Cet outil vous aidera à construire votre .htaccess.<br/>La version proposée ci-dessous prend en compte les réglages du fichier phpbb_seo/phpbb_seo_class.php.<br/>Vous pouvez modifier les valeurs des tableaux $seo_ext et $seo_static et personnaliser vos URLs avant de générer un .htaccess.<br/>Vous pouvez par exemple choisir d’utiliser .htm au lieu de .html, ’message’ au lieu de ’post’, ’mon-equipe’ au lieu de ’equipe’ etc ...<br/>Si vous modifiez ces valeurs après que vos pages aient été indexées, vous aurez besoin de redirections personnalisées.<br/>Les réglages par défaut ne sont pas du tout mauvais, vous pouvez sauter la première étape de personnalisation sans soucis si vous préférez.<br/><br/>Par défaut, le .htacess ci-dessous doit être placé à la racine de votre domaine (ie : où www.example.com est installé).<br/>Si phpBB est installé dans un sous dossier, cliquez sur le bouton "Plus d’options" ci-dessous, cela ajoutera une option pour permettre son utilisation dans un sous dossier.', - 'SEO_HTACCESS_RBASE' => 'Emplacement du .htaccess', - 'SEO_HTACCESS_RBASE_EXPLAIN' => 'Mettre le .htaccess dans le dossier de phpBB ?<br/>La directive RewriteBase nous permet de mettre le .htaccess dans le dossier du forum. Il est généralement plus simple de le mettre à la racine du domaine même quand phpBB est installé dans un sous-dossier, mais vous pourriez préférer de le mettre dans le dossier du forum.', - 'SEO_HTACCESS_SLASH' => 'Slash droit RegEx', - 'SEO_HTACCESS_SLASH_EXPLAIN' => 'En fonction de votre hébergeur, il se peut que vous ayez à retirer les slashes ("/") se trouvant devant la partie droite des RewriteRule. Ce slash particulier est utilisé par défaut quand le .htaccess est instalé à la racine du domaine. C’est le contraire quand phpBB est installé dans un sous dossier et que vous souhaitez mettre le .htaccess dans celui-ci.<br/>Les réglages par défaut fonctionneront le plus souvent, si ce n’est pas le cas, essayez de générer et tester différentes versions de .htaccess.', - 'SEO_HTACCESS_WSLASH' => 'Slash gauche RegEx', - 'SEO_HTACCESS_WSLASH_EXPLAIN' => 'En fonction de votre hébergeur, il se peut que vous ayez à ajouter des slashes ("/") se trouvant devant la partie gauche des RewriteRule. Ce slash particulier n’est jamais utilisé par défaut.<br/>Les réglages par défaut fonctionneront le plus souvent, si ce n’est pas le cas, essayez de générer et tester différentes versions de .htaccess.', - 'SEO_MORE_OPTION' => 'Plus d’options', - 'SEO_MORE_OPTION_EXPLAIN' => 'Si le premier .htaccess suggéré ne fonctionne pas :<br/>Assurez vous tout d’abord que le mod_rewrite est bien activé sur votre serveur.<br/>Ensuite assurez vous d’avoir bien mis le .htaccess au bon endroit, et qu’il n’est pas perturbé par un autre se trouvant dans un autre dossier.<br/>Si ça ne suffit pas, activez cette option et validez pour découvrir plus d’options.', - 'SEO_HTACCESS_SAVE' => 'Sauvegarder le .htaccess', - 'SEO_HTACCESS_SAVE_EXPLAIN' => 'Si vous cochez l’option, un fichier .htaccess sera généré dans le dossier phpbb_seo/cache/. Il est prêt à l’emploi et prend en compte vos réglages actuels, mais vous devrez tout de même le déplacer au bon endroit.', - 'SEO_HTACCESS_ROOT_MSG' => 'Une fois prêt, vous pouvez sélectionner le code ci-dessous et le copier dans un fichier .htaccess vide ou utiliser l’option "Sauvegarder le .htaccess" ci-dessous.<br/> Ce .htaccess est fait pour être utilisé à la racine du domaine, ce qui dans votre cas signifie le dossier de votre ftp qui correspond à %1$s.<br/><br/>Vous pouvez générer un .htaccess fait pour être utilisé dans le sous-dossier éventuel de phpBB en utilisant l’option "Plus d’options" ci-dessous.', - 'SEO_HTACCESS_FOLDER_MSG' => 'Une fois prêt, sélectionnez le code ci-dessous et copiez le dans un fichier .htaccess vide ou utilisez l’option "Sauvegarder le .htaccess" ci dessus.<br/> Ce .htaccess est fait pour être utilisé dans le dossier utilisé par phpBB, ce qui dans votre cas signifie le dossier de votre ftp qui correspond à %1$s.', - 'SEO_HTACCESS_CAPTION' => 'Légende', - 'SEO_HTACCESS_CAPTION_COMMENT' => 'Commentaires', - 'SEO_HTACCESS_CAPTION_STATIC' => 'Parties statiques, modifiables dans phpbb_seo_class.php', - 'SEO_HTACCESS_CAPTION_SUFFIX' => 'Extensions, modifiables dans phpbb_seo_class.php', - 'SEO_HTACCESS_CAPTION_DELIM' => 'Délimiteurs, modifiables dans phpbb_seo_class.php', - 'SEO_HTACCESS_CAPTION_SLASH' => 'Slashes Optionnels', - 'SEO_SLASH_DEFAULT' => 'Défaut', - 'SEO_SLASH_ALT' => 'Alternative', - 'SEO_MOD_TYPE_ER' => 'Le type de mod rewrite n’est pas convenablement configuré dans phpbb_seo/phpbb_seo_class.php.', - 'SEO_SHOW' => 'Montrer', - 'SEO_HIDE' => 'Cacher', - 'SEO_SELECT_ALL' => 'Sélectionner', - // ACP extended - 'ACP_SEO_EXTENDED_EXPLAIN' => 'Configuration additionnelle des mods phpBB SEO.', - // External links - 'SEO_EXTERNAL_LINKS' => 'Liens externes', - 'SEO_EXTERNAL_LINKS_EXPLAIN' => 'Activer ou non l’ouverture des liens externes dans une nouvelle fenêtre du navigateur', - 'SEO_EXTERNAL_SUBDOMAIN' => 'Liens externes sous-domaine', - 'SEO_EXTERNAL_SUBDOMAIN_EXPLAIN' => 'Ouvrir ou non les liens pointant vers un sous domaine du domaine de votre forum dans une nouvelle fenêtre du navigateur', - 'SEO_EXTERNAL_CLASSES' => 'Classe css externe', - 'SEO_EXTERNAL_CLASSES_EXPLAIN' => 'Vous pouvez définir des classes css qui activeront l’ouverture dans une nouvelle fenêtre pour les liens. Liste de classes séparées par des virgules, exemple : postlink,external', - // Titles - 'SEO_PAGE_TITLES' => '<a href="http://www.phpbb-seo.com/fr/toolkit-phpbb-seo/optimisation-titres-t1653.html" title="Mod Optimal Titles" onclick="window.open(this.href); return false;">Titre des pages</a>', - 'SEO_APPEND_SITENAME' => 'Ajouter le nom du site au titres des pages', - 'SEO_APPEND_SITENAME_EXPLAIN' => 'Ajouter, ou non, le nom du site à la fin du titres des pages.<br/><b style="color:red;">Attention :</b><br/>Cette option nécéssite que vous ayez convenablement modifié tous vos overall_header.html pour le mod Optimal titles, le nom du site pourrait si non apparaitre deux fois dans le titres de pages', - // Meta - 'SEO_META' => '<a href="http://www.phpbb-seo.com/fr/toolkit-phpbb-seo/meta-tags-dynamiques-seo-t1678.html" title="Mod Méta tags dynamiques" onclick="window.open(this.href); return false;">Méta tags</a>', - 'SEO_META_TITLE' => 'Méta title', - 'SEO_META_TITLE_EXPLAIN' => 'Titre méta par défaut, utilisé sur les pages n’ayant pas de titre défini. Désactive le méta title si vide', - 'SEO_META_DESC' => 'Méta description', - 'SEO_META_DESC_EXPLAIN' => 'Description méta par défaut, utilisé sur les pages n’ayant pas de description définie', - 'SEO_META_DESC_LIMIT' => 'Limite Méta description', - 'SEO_META_DESC_LIMIT_EXPLAIN' => 'Limite en nombre de mots pour les méta description', - 'SEO_META_BBCODE_FILTER' => 'Filtre Bbcodes', - 'SEO_META_BBCODE_FILTER_EXPLAIN' => 'Liste de bbcodes, séparées par des virgules, qui seront totallement filtrés dans les méta tags. Les autre seront simplement désactivé et leur contenu pourra apparaitre.<br/> Les bbcodes filtrés par défaut sont : <b>img,url,flash,code</b>.<br/><b style="color:red;">Attention :</b><br/>Ne pas filtrer les bbcodes img, url et flash n’est pas un bonne idée pour vos métas, de même que le bbcode code dans la plupart des cas. Dans le cas général, ne conservez le contenu des bbcodes qui en ont', - 'SEO_META_KEYWORDS' => 'Méta keywords', - 'SEO_META_KEYWORDS_EXPLAIN' => 'Mot clés méta par défaut, utilisés sur les pages n’ayant pas de description / mot clés définis. Entrez une liste de mot clés séparés par des espaces', - 'SEO_META_KEYWORDS_LIMIT' => 'Limite Méta keywords', - 'SEO_META_KEYWORDS_LIMIT_EXPLAIN' => 'Limite en nombre de mots pour les méta keywords', - 'SEO_META_MIN_LEN' => 'Filtre mots courts', - 'SEO_META_MIN_LEN_EXPLAIN' => 'Nombre de lettres limite pour la prise en compte des mots cléfs, seul les mots composés de plus de lettre que cette valeur seront pris en compte', - 'SEO_META_CHECK_IGNORE' => 'Filtre mots ignorés', - 'SEO_META_CHECK_IGNORE_EXPLAIN' => 'Exclure, ou non, les mots du fichier search_ignore_words.php des méta keywords', - 'SEO_META_LANG' => 'Méta langue', - 'SEO_META_LANG_EXPLAIN' => 'Code langue utilisé dans les méta tags', - 'SEO_META_COPY' => 'Méta copyright', - 'SEO_META_COPY_EXPLAIN' => 'Copyright utilisé dans les méta tags. Désactive le méta copyritght si vide', - 'SEO_META_FILE_FILTER' => 'Filtre fichiers', - 'SEO_META_FILE_FILTER_EXPLAIN' => 'Liste de noms de fichiers php sans extensions séparés par des virgules ne devant pas être indéxés (robots:noindex,follow). Exemple : ucp,mcp', - 'SEO_META_GET_FILTER' => 'Filtre _GET', - 'SEO_META_GET_FILTER_EXPLAIN' => 'Liste de variable _GET séparées par des virgules ne devant pas être indéxées (robots:noindex,follow). Exemple : style,hilit,sid', - 'SEO_META_ROBOTS' => 'Méta Robots', - 'SEO_META_ROBOTS_EXPLAIN' => 'La balise Méta Robots indique aux bots des moteur de recherche comment indexer les pages de votre site. Elle est réglée sur "index,follow" par défaut, ce qui autorise les moteurs de recherche à indexer et mettre en cache les pages et à suivre les liens qui s’y trouvent. Désactive la balise si vide.<br/><b style="color:red;">Attention :</b><br/>Cette balise est sensible, si vous mettez "noindex", aucune page ne sera référencée', - 'SEO_META_NOARCHIVE' => 'Méta Robots Noarchive', - 'SEO_META_NOARCHIVE_EXPLAIN' => 'La balise Méta Robots Noarchive indique aux moteurs de recherche s’ils doivent ou non mettre les pages en cache. Cette option ne concerne que la mise en cache des pages, elle est sans rapports avec l’indexation et le positionnement des pages.<br/>Vous pouvez ici choisir les forums qui auront l’option "noarchive" ajoutée à leur balise méta robots en cours.<br/>C’est par exemple très pratique si certains de vos forums sont ouverts aux robots sans être ouverts aux invités. Vous pourrez dans ce cas utiliser l’option noarchive pour ceux-ci, afin qu’ils apparaissent dans les résultats des moteurs de recherches sans que les invités puissent voir le contenu des pages sans s’inscrire via le cache des moteurs de recherches', - // Install - 'SEO_INSTALL_PANEL' => 'Installation phpBB SEO', - 'SEO_ERROR_INSTALL' => 'Une erreur est survenue lore de l’installation. Il est plus prudent de désinstaller une fois avant de rééssayer.', - 'SEO_ERROR_INSTALLED' => 'Le module %s est déjà installé', - 'SEO_ERROR_ID' => 'Le module %s n’a pas d’ID.', - 'SEO_ERROR_UNINSTALLED' => 'Le module %s est déjà désinstallé', - 'SEO_ERROR_INFO' => 'Information :', - 'SEO_FINAL_INSTALL_PHPBB_SEO' => 'Aller à l’ACP', - 'SEO_FINAL_UNINSTALL_PHPBB_SEO' => 'Retour à l’index du forum', - 'CAT_INSTALL_PHPBB_SEO' => 'Installation', - 'CAT_UNINSTALL_PHPBB_SEO'=> 'Désinstallation', - 'SEO_OVERVIEW_TITLE' => 'Vue d’ensemble du mod rewrite phpBB SEO Ultimate SEO URL', - 'SEO_OVERVIEW_BODY' => 'Bienvenue sur notre Release publique du mod rewrite phpBB3 SEO %1$s %2$s.</p><p>Veuillez lire <a href="%3$s" title="Voir le sujet de mise à disposition" onclick="window.open(this.href); return false;"><b>le sujet de mise à disposition</b></a> pour plus de détails.</p><p><strong style="text-transform: uppercase;">Note:</strong> Vous devez avoir effectué les changements de code des fichiers et uploadé tous les nouveaux fichiers avant de continuer avec cet installeur.</p><p>Cet installeur vous guidera pendant le processus d’installation du module d’administration du mod rewrite phpBB3 SEO. Ce module vous permettra de choisir précisément vos URLs réécrites pour les meilleurs résultats dans les moteurs de recherche.</p>.', - 'CAT_SEO_PREMOD' => 'Premod phpBB SEO', - 'SEO_PREMOD_TITLE' => 'Vue d’ensemble de la premod phpBB SEO', - 'SEO_PREMOD_BODY' => 'Bienvenue sur notre Release publique de la premod phpBB SEO.</p><p>Veuillez lire <a href="http://www.phpbb-seo.com/fr/premod-phpbb-seo/premod-referencement-phpbb-t1951.html" title="Voir le sujet de mise à disposition" onclick="window.open(this.href); return false;"><b>le sujet de mise à disposition</b></a> pour plus de détails.</p><p><strong style="text-transform: uppercase;">Note:</strong> Vous allez pouvoir choisir entre les trois différents types de réécriture d’URLs pour phpBB3 de phpBB SEO.<br/><br/><b>Les différents types de réécritures disponibles :</b><ul><li><a href="http://www.phpbb-seo.com/fr/reecriture-url-simple/seo-url-phpbb-simple-t1945.html" title="Plus de détails sur le mode Simple"><b>Le mode Simple</b></a>,</li><li><a href="http://www.phpbb-seo.com/fr/reecriture-url-intermediaire/seo-url-intermediaire-t1946.html" title="Plus de détails sur le mode Intermédiaire"><b>Le mode Intermédiaire</b></a>,</li><li><a href="http://www.phpbb-seo.com/fr/reecriture-url-avancee/seo-url-phpbb-avance-t1501.html" title="Plus de détails sur le mode Avancé"><b>Le mode Avancé</b></a>.</li></ul>Ce choix est crucial, nous vous invitons à prendre le temps de vous familiariser avec cette premod avant de vous lancer.<br/>Cette premod est simple d’utilisation et d’installation, il vous suffit de suivre le processus normal d’installation de phpBB.<br/><br/> - <p><u>Pré-requis pour la réécriture d’URLs:</u></p> - <ul> - <li>Serveur Apache (linux OS) avec le module mod_rewrite.</li> - <li>Serveur IIS (windows OS) avec le module isapi_rewrite, vous devrez cependant modifier les rewriterules pour votre httpd.ini</li> - </ul> - <p>Une fois l’installation effectuée, vous devrez vous rendre dans l’ACP de phpBB pour configurer et activer la réécriture d’URLs.</p>', - 'SEO_LICENCE_TITLE' => 'RECIPROCAL PUBLIC LICENSE', - 'SEO_LICENCE_BODY' => 'Les mod rewrites phpBB SEO sont diffusés sous la licence RPL qui indique que vous ne devez pas retirer les crédits phpBB SEO<br/>Pour plus de détails concernant les exceptions possibles, merci de contacter un administrateur de phpBB SEO (Prioritairement SeO ou dcz).', - 'SEO_PREMOD_LICENCE' => 'Les mod rewrites phpBB SEO et le Zéro Duplicate inclus dans cette premod sont diffusés sous la licence RPL qui indique que vous ne devez pas retirer les crédits phpBB SEO<br/>Pour plus de détails concernant les exceptions possibles, merci de contacter un administrateur de phpBB SEO (Prioritairement SeO ou dcz).', - 'SEO_SUPPORT_TITLE' => 'Support', - 'SEO_SUPPORT_BODY' => 'Un support complet sera offert sur le <a href="%1$s" title=" Visitez le forum Réécriture URL %2$s" onclick="window.open(this.href); return false;"><b>forum Réécriture URL %2$s</b></a>. Nous fournirons des réponses aux questions générales, aux problèmes de configuration, et aux problèmes courants.</p><p>Prenez cette occasion de visiter notre <a href="http://www.phpbb-seo.com/fr/" title="Forum référencement" onclick="window.open(this.href); return false;"><b>Forum d’optimisation du référencement</b></a>.</p><p>Vous devriez vous <a href="http://www.phpbb-seo.com/fr/ucp.php?mode=register" title="S’inscrire sur phpBB SEO" onclick="window.open(this.href); return false;"><b>inscrire</b></a>, vous enregistrer et <a href="%3$s" title="Etre tenu au courant des mises à jours" onclick="window.open(this.href); return false;"><b>suivre le sujet de mise à disposition</b></a> pour être tenu au courant des mises à jours par mail.', - 'SEO_PREMOD_SUPPORT_BODY' => 'Un support complet sera offert sur le <a href="http://www.phpbb-seo.com/fr/premod-phpbb-seo/premod-referencement-phpbb-t1951.html" title="Visitez le forum Premod phpBB SEO" onclick="window.open(this.href); return false;"><b>forum Premod phpBB SEO</b></a>. Nous fournirons des réponses aux questions générales, aux problèmes de configuration, et aux problèmes courants.</p><p>Prenez cette occasion de visiter notre <a href="http://www.phpbb-seo.com/fr/" title="Forum référencement" onclick="window.open(this.href); return false;"><b>Forum d’optimisation du référencement</b></a>.</p><p>Vous devriez vous <a href="http://www.phpbb-seo.com/fr/ucp.php?mode=register" title="S’inscrire sur phpBB SEO" onclick="window.open(this.href); return false;"><b>inscrire</b></a>, vous enregistrer et <a href="http://www.phpbb-seo.com/fr/viewtopic.php?t=1951&watch=topic" title="Etre tenu au courant des mises à jours" onclick="window.open(this.href); return false;"><b>suivre le sujet de mise à disposition</b></a> pour être tenu au courant des mises à jours par mail.', - 'SEO_INSTALL_INTRO' => 'Bienvenue sur l’installeur phpBB SEO', - 'SEO_INSTALL_INTRO_BODY' => '<p>Vous êtes sur le point d’installer le mod rewrite phpBB SEO %1$s %2$s. Cet outil va activer le module d’administration du mod dans l’ACP de phpBB.</p><p>Une fois l’installation effectuée, vous devrez vous rendre dans l’ACP de phpBB pour configurer et activer la réécriture d’URLs.</p> - <p><strong>Note:</strong> Si c’est votre première utilisation, nous vous conseillons de prendre le temps de tester ce mod sur un serveur local ou privé pour vous familiariser avec les nombreux standards de réécriture d’URLs pris en charge par le mod. De cette façon, vous ne montrerez pas des URLs différentes aux moteurs de recherches tous les deux jours pendant vos réglages. Et vous ne découvrirez pas un mois après installation que vous pouviez utiliser un meilleur standard d’URLs pour votre forum. Le patience est d’or pour le référencement, et même si le Zéro Duplicate rend les redirection HTTP 301 très faciles, vous ne voulez pas rediriger toutes vos URLs trop souvent.</p><br/> - <p>Prés-requis :</p> - <ul> - <li>Serveur Apache (linux OS) avec le module mod_rewrite.</li> - <li>Serveur IIS (windows OS) avec le module isapi_rewrite, vous devrez cependant modifier les rewriterules pour votre httpd.ini</li> - </ul>', - 'SEO_INSTALL' => 'Installation', - 'UN_SEO_INSTALL_INTRO' => 'Bienvenue sur le désintalleur phpBB SEO', - 'UN_SEO_INSTALL_INTRO_BODY' => '<p>Vous êtes sur le point de désintaller le module d’administration du mod rewrite phpBB SEO%1$s %2$s.</p> - <p><strong>Note:</strong> Cette opération ne désactivera pas la réécriture d’URLs sur votre forum tant que les fichiers de phpBB ne seront pas modifiés.</p>', - 'UN_SEO_INSTALL' => 'Désinstallation', - 'SEO_INSTALL_CONGRATS' => 'Félicitations !', - 'SEO_INSTALL_CONGRATS_EXPLAIN' => '<p>Vous avez correctement installé le mod rewrite phpBB3 SEO %1$s %2$s. Vous devriez maintenant vous rendre dans l’ACP de phpBB pour configurer et activer la réécriture d’URLs.<p> - <p>Dans la nouvelle catégorie phpBB SEO, vous pourrez :</p> - <h2>Configurer et activer la réécriture d’URLs</h2> - <p>Prenez votre temps, c’est là que vous allez choisir à quoi vos URLs ressembleront. Les options du Zéro Duplicate apparaitront dans le même menu une fois installé.</p> - <h2>Gérer précisément les URLs de vos forums</h2> - <p>Vous pourrez, en mode Intermédiaire et Avancé, dissocier les URLs des forums de leurs titres réels et utiliser les mots clés que vous souhaitez dans celles-ci</p> - <h2>Générer un .htaccess personnalisé</h2> - <p>Une fois que vous aurez procédé aux réglages ci dessus, vous pourrez utiliser une interface simple pour générer votre .htaccess personnalisé et l’enregistrer sur votre serveur.</p>', - 'UN_SEO_INSTALL_CONGRATS' => 'Le module d’administration phpBB SEO à été désinstallé.', - 'UN_SEO_INSTALL_CONGRATS_EXPLAIN' => '<p>Vous avez correctement désinstallé le mod rewrite phpBB3 SEO %1$s %2$s.<p> - <p> Cette opération ne désactivera pas la réécriture d’URLs sur votre forum tant que les fichiers de phpBB ne seront pas modifiés.</p>', - 'SEO_VALIDATE_INFO' => 'Validation :', - 'SEO_SQL_ERROR' => 'Erreur lors de la requête SQL', - 'SEO_SQL_TRY_MANUALLY' => 'L’utilisateur SQL semble ne pas avoir les droit suffisant pour effectuer la requête nécéssaire, veuillez la lancer manuellement (phpMyadmin) :', - // Security - 'SEO_LOGIN' => 'Vous devez être enregistré pour pouvoir accéder à cette page.', - 'SEO_LOGIN_ADMIN' => 'Vous devez être enregistré en tant qu’administrateur pour pouvoir accéder à cette page.<br/>Votre session à été détruite pour des raisons de sécurité.', - 'SEO_LOGIN_FOUNDER' => 'Vous devez être enregistré en tant que fondateur pour pouvoir accéder à cette page.', - 'SEO_LOGIN_SESSION' => 'La vérification de session a échoué.<br/>Aucune modification prise en compte.<br/>Votre session à été détruite pour des raisons de sécurité.', - // Cache status - 'SEO_CACHE_FILE_TITLE' => 'Statut du cache', - 'SEO_CACHE_STATUS' => 'Le dossier du cache configuré est : <b>%s</b>', - 'SEO_CACHE_FOUND' => 'Le dossier cache a bien été trouvé.', - 'SEO_CACHE_NOT_FOUND' => 'Le dossier cache n’a pas été trouvé.', - 'SEO_CACHE_WRITABLE' => 'Le dossier cache est utilisable.', - 'SEO_CACHE_UNWRITABLE' => 'Le dossier cache n’est pas utilisable. Vous devez configurer son CHMOD sur 0777.', - 'SEO_CACHE_INNER_UNWRITABLE' => 'Les fichiers se trouvant dans le dossier cache ne sont pas utilisables. Assurez vous de configurer le bon CHMOD pour le dossier cache ET les fichiers qui s’y trouvent.', - 'SEO_CACHE_FORUM_NAME' => 'Nom du forum', - 'SEO_CACHE_URL_OK' => 'URL en cache', - 'SEO_CACHE_URL_NOT_OK' => 'URL pas en cache', - 'SEO_CACHE_URL' => 'URL finale', - 'SEO_CACHE_MSG_OK' => 'Le fichier cache a bien été mis à jour.', - 'SEO_CACHE_MSG_FAIL' => 'Un erreur s’est produite lors de la mise à jour du cache.', - 'SEO_CACHE_UPDATE_FAIL' => 'L’URL que vous avez soumise ne peut être utilisée, le cache n’a pas été modifié.', - // Seo advices - 'SEO_ADVICE_DUPE' => 'Un duplicata de ce titre a été détecté pour une URL de forum : <b>%1$s</b>.<br/>Vous devez utiliser un titre et une URL unique pour chaque forum.', - 'SEO_ADVICE_RESERVED' => 'Une URL réservée (utilisée par les posts, les profils ou les parties statiques des autres urls) a été détectée dans l’url du forum : <b>%1$s</b>.<br/>Son URL est restée inchangée.', - 'SEO_ADVICE_LENGTH' => 'L’URL en cache est un peu trop longue.<br/>Vous devriez en utiliser une plus courte.', - 'SEO_ADVICE_DELIM' => 'L’URL en cache utilise le délimiteur et l’ID du forum.<br/>Vous devriez en utiliser une sans.', - 'SEO_ADVICE_WORDS' => 'L’URL en cache contient un peu trop de mots.<br/>Vous devriez en utiliser une meilleur.', - 'SEO_ADVICE_DEFAULT' => 'L’URL finale, après formatage est celle par défaut.<br/>Vous devriez en utiliser une autre.', - 'SEO_ADVICE_START' => 'Les URLs soumises ne peuvent pas se terminer par un paramètre de pagination.<br/>Il a donc été retiré.', - 'SEO_ADVICE_DELIM_REM' => 'Les URLs soumises ne peuvent pas se terminer par un délimiteur de forum.<br/>Il a donc été retiré.', - // Mod Rewrite type - 'ACP_SEO_SIMPLE' => 'Simple', - 'ACP_SEO_MIXED' => 'Intermédiaire', - 'ACP_SEO_ADVANCED' => 'Avancé', - 'ACP_ULTIMATE_SEO_URL' => 'Ultimate SEO URL', - // URL Sync - 'SYNC_REQ_SQL_REW' => 'Vous devez activer le stockage d’URLs dans la base de données pour utiliser ce script!', - 'SYNC_TITLE' => 'Synchronisation des URLs', - 'SYNC_WARN' => 'Attention, veuillez ne pas interrompre le script avant qu’il ait finit, et faites une sauvegarde de votre base de données avant de l’utiliser!', - 'SYNC_COMPLETE' => 'Synchronisation effectuée !', - 'SYNC_RESET_COMPLETE' => 'Réinitialisation effectuée !', - 'SYNC_PROCESSING' => '<b>Synchronisation en cours, veuillez patienter ...</b><br/><br/><b>%1$s%%</b> ont été traité. <br/><b>%2$s</b> éléments on été traités.<br/><b>%3$s</b> éléments en tout, <b>%4$s</b> sont traités à la fois.<br/>Vitesse : <b>%5$s éléments/s.</b><br/>Temps écoulé pour ce cycle : <b>%6$ss</b><br/>Temps restant estimé : <b>%7$s minute(s)</b>', - 'SYNC_ITEM_UPDATED' => '<b>%1$s</b> éléments on été mise à jour', - 'SYNC_TOPIC_URLS' => 'Lancer la synchronisation des URL des sujets', - 'SYNC_RESET_TOPIC_URLS' => 'Réinitialiser toutes les URL de sujets', - 'SYNC_TOPIC_URL_NOTE' => 'Vous venez d’activer le stockage d’URLs dans la base de données, vous devriez maintenant synchroniser vos URLs de sujets en vous rendant sur %scette page%s si vous ne l’avez pas déjà fait.<br/>Cela ne modifiera pas vos URLs actuelles.<br/><b style="color:red">Nota Bene :</b><br/><em>Vous devriez synchroniser vos URLs uniquement si vous avez tout à fait défini votre standard d’URL. Ce n’est pas un drame si vous modifiez votre standard après avoir synchronisé vos URLs de sujets, vous devrez simplement le refaire a chaque modification de celui-ci.<br/>Ce n’est pas un drame non plus si vous ne le faites pas, vos URLs de sujets seraient alors mise à jour au cas par cas et à chaque visite d’un sujet dont l’URL ne serait pas a jour (vide ou non conforme à vos réglages).</em>', - // phpBB SEO Class option - 'url_rewrite' => 'Activer la réécriture d’URLs', - 'url_rewrite_explain' => 'Une fois que vous aurez configuré les options ci-dessous, et généré votre .htaccess personnalisé, vous pouvez activer la réécriture d’URLs et vérifier que vos nouvelles URLs fonctionnent correctement. Si vous rencontrez des erreurs 404, c’est pratiquement à coup sûr lié au .htaccess, essayez alors les options du générateur de .htaccess pour en tester un nouveau.', - 'modrtype' => 'Type de réécriture d’URLs', - 'modrtype_explain' => 'Vous avez le choix entre trois standards de réécriture d’URLs.<br/>Les trois types de réécriture d’URLs sont : Le mode <a href="http://www.phpbb-seo.com/fr/reecriture-url-simple/seo-url-phpbb-simple-t1945.html" title="Plus de détails sur le mode Simple" onclick="window.open(this.href); return false;"><b>Simple</b></a>, le mode <a href="http://www.phpbb-seo.com/fr/reecriture-url-intermediaire/seo-url-intermediaire-t1946.html" title="Plus de détails sur le mode Intermédiaire" onclick="window.open(this.href); return false;"><b>Intermédiaire</b></a> et le mode <a href="http://www.phpbb-seo.com/fr/reecriture-url-avancee/seo-url-phpbb-avance-t1501.html" title="Plus de détails sur le mode Avancé" onclick="window.open(this.href); return false;"><b>Avancé</b></a>.<br/><br/><b style="color:red">Nota Bene :</b><br/><em>Modifier cette option va changer toutes les URLs de votre site presque trop facilement.<br/>Si vous la modifiez sur un site déjà convenablement indexé, l’opération doit être réalisée avec autant de soins et de réflexion préalable que s’il s’agissait d’une migration et pas trop souvent.<br/> La modification de cette option requiert une mise à jour de votre .htaccess.</em>', - 'sql_rewrite' => 'SQL Rewriting', - 'sql_rewrite_explain' => 'Permet d’activer les url personnalisées pour les sujets. Vous pourrez alors choisir une url précise pour chaque sujet, soit au moment de le créer, soit en éditant simplement celui-ci. Cette possibilité est toutefois réservée aux administrateurs et modérateurs du forum. <br/><br/><b style="color:red">Nota Bene :</b><br/><em>L’activation de cette option est sans conséquence sur vos url existantes, elles seront stockées telles qu’elles dans la base de donnée. Cependant, cela ne pourrait plus être le cas si vous désactivez l’option après l’avoir utilisée. Les URLs qui auraient été personnalisées pourraient alors de nouveau être traités comme si elle ne l’étaient pas.<br/>L’option a également le mérite de rendre beaucoup plus rapide la réécriture, principalement en mode avancé avec dossier virtuels, et de permettre une récupération bien plus simple des url récrites depuis n’importe quelle page.</em>', - 'profile_inj' => 'Injection profils et groupes', - 'profile_inj_explain' => 'Vous pouvez choisir d’utiliser les pseudos, les noms de groupes ainsi que les pages des messages des membres (optionel voir plus bas) dans leurs URLs respectives au lieu de la réécriture statique par défaut, <b>phpBB/pseudo-uxx.html</b> au lieu de <b>phpBB/membrexx.html</b>.', - 'profile_vfolder' => 'Dossiers virtuels pour les profils', - 'profile_vfolder_explain' => 'Vous pouvez simuler une structure en dossiers virtuels pour les profils et les pages des messages des membres (optionel voir plus bas), <b>phpBB/pseudo-uxx/(topics/)</b> ou <b>phpBB/membrexx/(topics/)</b> au lieu de <b>phpBB/pseudo-uxx(-topics).html</b> et <b>phpBB/membrexx(-topics).html</b>.<br/><br/><b style="color:red">Nota Bene :</b><br/><em>L’option "Profiles sans ID" impose cette option.<br/>La modification de cette option requiert une mise à jour de votre .htaccess.</em>', - 'profile_noids' => 'Profiles sans ID', - 'profile_noids_explain' => 'Quand l’injection des profils et groupes est activée, vous pouvez utiliser <b>phpBB/membre/pseudo</b> au lieu de <b>phpBB/pseudo-uxx.html</b>. phpBB utilise une requête SQL supplémentaire, mais légère, lors du chargement de ces pages sans ID de membre.<br/><br/><b style="color:red">Nota Bene :</b><br/><em>Les caractères spéciaux des pseudos ne sont pas pris en charge de la même manière par tous les navigateurs, FF forcera toujours l’urlencodage (<a href="http://www.php.net/urlencode">urlencode()</a>), et apparemment en Latin1 prioritairement, à contrario de IE et Opéra. Pour les options d’urlencodage avancées, reportez vous au fichier d’installation.<br/> La modification de cette option requiert une mise à jour de votre .htaccess.</em>', - 'rewrite_usermsg' => 'Réécriture Messages des membres et recherches communes', - 'rewrite_usermsg_explain' => 'Cette option n’a vraiment de sens que si vous laissez les profils et les recherches publiquement accessible.<br/> Activer cette option implique vraisemblablement une utilisation plus intense de la recherche et donc potentiellement une hausse de la charge serveur.<br/>Le type d’injection (avec et sans ID) reprend celui des des profils et groupes.<br/><b>phpBB/membre/pseudo/topics/</b> VS <b>phpBB/pseudo-uxx-topics.html</b> VS <b>phpBB/membrexx-topics.html</b>.<br/>Cette option utilise une requête SQL supplémentaire sur les pages des messages de membres.<br/>Elle active également la réécriture des recherches communes comme "sujets récents", "sujets sans réponses" et "nouveaux messages".<br/><br/><b style="color:red">Nota Bene :</b><br/><em>Le retrait d’ID sur ces pages pose les mêmes problèmes que dans les cas des pages de profils.<br/> La modification de cette option requiert une mise à jour de votre .htaccess.</em>', - 'rewrite_files' => 'Réécriture des fichiers joints', - 'rewrite_files_explain' => 'Activer la réécriture des fichiers joints. Cette option est très utile si vous avez un certain nombre d’images qui mériterait d’être indexées. Les fichiers joints doivent évidemment être téléchargeable par les robots pour que cette option ait un intérêt.<br/><br/><b style="color:red">Nota Bene :</b><br/><em>Assurez vous d’avoir la RewriteRule nécessaire (# PHPBB FILES ALL MODES) dans votre .htaccess lorsque vous activez cette option.</em>', - 'rem_sid' => 'Retrait des SID', - 'rem_sid_explain' => 'Les SID seront retirés pour 100% des URLs passées par la réécriture, pour les invités et donc les bots.<br/>Cela nous assure que les bots ne verront pas de SID sur les URLs de forums, sujets et messages, mais les visiteurs n’acceptant pas les cookies auront des chances de créer plus d’une session.<br/>Les SIDs sont toujours retirés pour les invités et robots par le Zéro Duplicate.', - 'rem_hilit' => 'Retrait des Highlights', - 'rem_hilit_explain' => 'Les Highlights seront retirées pour 100% des URLs passées par la réécriture, pour les invités et donc les bots.<br/>Cela nous assure que les bots ne verront pas de Highlights sur les URLs de forums, sujets et messages.<br/>Le Zéro Duplicate suivra ce réglage, en redirigeant les URLs avec des highlights pour les invités et les bots.', - 'rem_small_words' => 'Filtre des mots courts', - 'rem_small_words_explain' => 'Vous permet de ne pas injecter les mots de moins de 3 lettres dans les URLs.<br/><br/><b style="color:red">Nota Bene :</b><br/><em>L’activation de ces filtres peut changer un grand nombre d’URLs de votre site.<br/>Si vous l’activez sur un site déjà convenablement indexé, l’opération doit être réalisée avec autant de soins et de réflexion préalable que s’il s’agissait d’une migration et pas trop souvent.</em>', - 'virtual_folder' => 'Dossiers Virtuels', - 'virtual_folder_explain' => 'Vous permet d’utiliser les forums comme des dossiers virtuels dans les URLs des sujets.<br/><br/><b>Exemple :</b><br/><em><b>titre-forum-fxx/titre-sujet-txx.html</b> VS <b>titre-sujet-txx.html</b>pour une URL de sujet.</em><br/><br/><b style="color:red">Nota Bene :</b><br/><em>L’utilisation des dossiers virtuels peut changer un grand nombre d’URLs de votre site presque trop facilement.<br/>Si vous l’activez sur un site déjà convenablement indexé, l’opération doit être réalisée avec autant de soins et de réflexion préalable que s’il s’agissait d’une migration et pas trop souvent.<br/> La modification de cette option requiert une mise à jour de votre .htaccess.</em>', - 'virtual_root' => 'Racine Virtuelle', - 'virtual_root_explain' => 'Si phpBB est installé dans un sous dossier (exemple phpBB3/), vous pouvez simuler une installation à la racine du domaine pour les liens réécrits.<br/><br/><b>Exemple :</b><br/><em><b>phpBB3/titre-forum-fxx/titre-sujet-txx.html</b> VS <b>titre-forum-fxx/titre-sujet-txx.html</b> pour une URL de sujet.</em><br/><br/>Cela peut être pratique pour raccourcir vos URLs, surtout si vous utilisez l’option "Dossiers Virtuels". Les liens non réécrits continueront d’apparaître et de fonctionner à l’intérieur du dossier d’installation de phpBB.<br/><br/><b style="color:red">Nota Bene :</b><br/><em>L’utilisation de cette option impose d’utiliser une page d’accueil pour votre forum (comme forum.html).<br/> Elle peut également changer un grand nombre d’URLs de votre site presque trop facilement.<br/>Si vous l’activez sur un site déjà convenablement indexé, l’opération doit être réalisée avec autant de soins et de réflexion préalable que s’il s’agissait d’une migration et pas trop souvent.<br/> La modification de cette option requiert une mise à jour de votre .htaccess.</em>', - 'cache_layer' => 'Cache des URLs des forums', - 'cache_layer_explain' => 'Active le cache des URLs des forums, ce qui permet de dissocier leur titres de leurs URLs.<br/><b>Exemple :</b><br/><em><b>titre-forum-fxx/</b> VS <b>mots-clés-fxx/</b> pour une URL de forum.</em><br/><br/><b style="color:red">Nota Bene :</b><br/><em>Cette option vous permet de modifier les URLs de forum, ainsi que potentiellement celle de nombreux sujets si vous utilisez l’option "Dossiers Virtuels".<br/>Les URLs des sujets seront toujours convenablement redirigées par le Zéro Duplicate.<br/>Ce sera aussi le cas pour les forums dont les URLs comportent délimiteur et ID, voir ci-dessous.</em>', - 'rem_ids' => 'Retrait des ID de forums', - 'rem_ids_explain' => 'Permet de retirer le délimiteur et l’ID des forums de leurs URLs. Nécessite l’activation du Cache.<br/><br/><b>Exemple :</b><br/><em><b>mots-cles-fxx/</b> VS <b>mots-cles/</b> pour une URL de forum.</em><br/><br/><b style="color:red">Nota Bene :</b><br/><em>Cette option vous permet de modifier les URLs de forum, ainsi que potentiellement celle de nombreux sujets si vous utilisez l’option "Dossiers Virtuels".<br/>Les URLs des sujets seront toujours convenablement redirigées par le Zéro Duplicate.<br/><b>Cela ne sera pas le cas pour les URLs des forums utilisant cette option :</b><br/><b>mots-cles-fxx/</b> sera toujours convenablement redirigé, mais ce ne sera plus le cas si vous éditez par la suite<b>mots-cles/</b> pour utiliser par exemple <b>autres-mots-cles/</b>.<br/>Dans ce cas, <b>mots-cles/</b> sera considéré comme un forum qui n’existe pas, à défaut de redirections personnalisées. Cela dit, c’est une optimisation intéressante pour le référencement.</em>', - // copytrights - 'copyrights' => 'Copyrights', - 'copyrights_img' => 'Lien Image', - 'copyrights_img_explain' => 'Vous pouvez afficher le lien en retour vers phpBB SEO grâce à une image ou un simple texte.', - 'copyrights_txt' => 'Texte du lien', - 'copyrights_txt_explain' => 'Vous pouvez personnaliser le texte du lien en retour vers phpBB SEO, laissez vide pour les valeurs par défauts.', - 'copyrights_title' => 'Titre du lien', - 'copyrights_title_explain' => 'Vous pouvez personaliser le texte du titre du lien en retour vers phpBB SEO, laissez vide pour les valeurs par défauts.', - // Zero duplicate - // Options - 'ACP_ZERO_DUPE_OFF' => 'Inactif', - 'ACP_ZERO_DUPE_MSG' => 'Message', - 'ACP_ZERO_DUPE_GUEST' => 'Invités', - 'ACP_ZERO_DUPE_ALL' => 'Tous', - 'zero_dupe' => 'Zéro Duplicate', - 'zero_dupe_explain' => 'Les options suivantes concernent le Zéro Duplicate, vous pouvez les modifier à votre guise.<br/>Ces options n’entrainent pas de modification du .htaccess.', - 'zero_dupe_on' => 'Activer le Zéro Duplicate', - 'zero_dupe_on_explain' => 'Permet d’activer les redirections du Zéro Duplicate.', - 'zero_dupe_strict' => 'Mode strict', - 'zero_dupe_strict_explain' => 'Quand il est activé le Zéro Dupe vérifiera que l’URL entrante est exactement égale à l’URL attendue.<br/>Quand il ne l’est pas le Zéro Dupe vérifiera uniquement que l’URL entrante commence bien par l’URL attendue.<br/>L’intérêt de ce réglage est de rendre plus facile l’installation et l’utilisation de mod qui ajouterait de telles variables, tout en maintenant une réduction de duplicate proche de 100 %.', - 'zero_dupe_post_redir' => 'Redirection des messages', - 'zero_dupe_post_redir_explain' => 'L’option va déterminer la manière de prendre en charge les URLs des messages ; elle peut prendre quatre valeurs :<br/><b> Inactif</b>, Pour désactiver les redirections des URLs de messages,<br/><b> Message</b>, Pour s’assurer seulement que postxx.html est utilisé pour une URL de message,<br/><b> Invités</b>, Pour rediriger les invités si besoin sur l’URL du sujet correspondant, plutot que sur postxx.html, et seulement s’assurer que postxx.html est utilisé pour les utilisateurs enregistrés,<br/><b> Tous</b>, Pour rediriger si besoin sur l’URL du sujet correspondant.<br/><br/><b style="color:red">Nota Bene :</b><br/><em>Conserver les URLs des messages en postxx.html est sans conséquence pour votre référencement dans la mesure ou vous avez bien mis en place l’interdiction de ces URLs dans votre robots.txt<br/>C’est certainement la redirection qui interviendrait le plus souvent sinon.<br/>De plus si vous choisissez de rediriger postxx.html dans tous les cas, cela implique qu’un message qui serait posté dans un sujet et qui serait ensuite déplacé dans un autre verra son URL changer.<br/>Ce n’est pas grave d’un point de vue du référencement, le Zéro Duplicate veille, mais l’URL initiale d’un message déplacé ne sera plus liée à celui ci dans ce cas là.</em>', - // no duplicate - 'no_dupe' => 'No Duplicate', - 'no_dupe_on' => 'Activer le No Duplicate', - 'no_dupe_on_explain' => 'Le mod No Duplicate remplace les URLs de messages par leurs équivalents en URLs de sujet (avec pagination).<br/>L’activation du mod ajoute un LEFT JOIN sur une requête existante. Cela veut dire un peu plus de travail, mais cela ne devrait pas influencer significativement le temps de chargement de page.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/mods/info_acp_gym_sitemaps.php b/phpBB/language/fr/mods/info_acp_gym_sitemaps.php deleted file mode 100644 index 6c64ef4230..0000000000 --- a/phpBB/language/fr/mods/info_acp_gym_sitemaps.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -/** -* -* info_acp_gym_sitemaps [French] -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: info_acp_gym_sitemaps.php 131 2009-10-25 12:03:44Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'ACP_GYM_SITEMAPS' => 'GYM Sitemaps & RSS', - 'ACP_GYM_MAIN' => 'Configuration générale', - 'ACP_GYM_GOOGLE_MAIN' => 'Sitemaps Google', - 'ACP_GYM_RSS_MAIN' => 'Flux RSS', - 'ACP_GYM_YAHOO_MAIN' => 'Yahoo! urllist.txt', - 'ACP_GYM_HTML_MAIN' => 'Pages HTML', - 'GYM_LOG_CONFIG_MAIN' => '<strong>Modification des paramètres de GYM Sitemaps & RSS</strong><br/>» Configuration générale', - 'GYM_LOG_CONFIG_GOOGLE' => '<strong>Modification des paramètres de GYM Sitemaps & RSS</strong><br/>» Sitemaps Google', - 'GYM_LOG_CONFIG_RSS' => '<strong>Modification des paramètres de GYM Sitemaps & RSS</strong><br/>» Flux RSS', - 'GYM_LOG_CONFIG_HTML' => '<strong>Modification des paramètres de GYM Sitemaps & RSS</strong><br/>» Plans de site HTML', - 'GYM_LOG_CONFIG_YAHOO' => '<strong>Modification des paramètres de GYM Sitemaps & RSS</strong><br/>» Liste d’URLs Yahoo!', - // Install Logs - 'SEO_LOG_INSTALL_GYM_SITEMAPS' => '<strong>Installation de GYM Sitemaps & RSS V%s</strong>', - 'SEO_LOG_INSTALL_GYM_SITEMAPS_FAIL' => '<strong>Echec de l’installation de GYM Sitemaps & RSS</strong><br/>%s', - 'SEO_LOG_UNINSTALL_GYM_SITEMAPS' => '<strong>Désinstallation de GYM Sitemaps & RSS V%s</strong>', - 'SEO_LOG_UNINSTALL_GYM_SITEMAPS_FAIL' => '<strong>Echec de la désinstallation de GYM Sitemaps & RSS</strong><br/>%s', - 'SEO_LOG_UPDATE_GYM_SITEMAPS' => '<strong>Mise à jour de GYM Sitemaps & RSS vers V%s</strong>', - 'SEO_LOG_UPDATE_GYM_SITEMAPS_FAIL' => '<strong>Echec de la mise à jour de GYM Sitemaps & RSS</strong><br/>%s', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/mods/info_acp_phpbb_seo.php b/phpBB/language/fr/mods/info_acp_phpbb_seo.php deleted file mode 100644 index f61ab0b128..0000000000 --- a/phpBB/language/fr/mods/info_acp_phpbb_seo.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -/** -* -* info_acp_phpbb_seo [French] -* -* @package Ultimate SEO URL phpBB SEO -* @version $Id: info_acp_phpbb_seo.php 131 2009-10-25 12:03:44Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://www.opensource.org/licenses/rpl1.5.txt Reciprocal Public License 1.5 -* -*/ -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - 'ACP_CAT_PHPBB_SEO' => 'phpBB SEO', - 'ACP_MOD_REWRITE' => 'Réécriture d’url', - 'ACP_PHPBB_SEO_CLASS' => 'Configuration de la classe phpBB SEO', - 'ACP_FORUM_URL' => 'Configuration des URLs des forums', - 'ACP_HTACCESS' => '.htaccess', - 'ACP_SEO_EXTENDED' => 'Configuration additionnelle', - 'ACP_PREMOD_UPDATE' => '<h1>Annonce de mise à jour</h1> - <p>Cette mise à jour ne concerne que la premod, pas phpBB lui même.</p> - <p>Une nouvelle version de la premod phpBB SEO est donc disponible : %1$s<br/>Veuillez vous rendre sur <a href="%2$s" title="Le sujet de mise à disposition"><b>le sujet de mise à disposition</b></a> pour procéder à la mise à jour.</p>', - 'SEO_LOG_INSTALL_PHPBB_SEO' => '<strong>Installation du mod rewrite phpBB SEO (v%s)</strong>', - 'SEO_LOG_INSTALL_PHPBB_SEO_FAIL' => '<strong>Echec de l’installation du mod rewrite phpBB SEO</strong><br/>%s', - 'SEO_LOG_UNINSTALL_PHPBB_SEO' => '<strong>Désinstallation du mod rewrite phpBB SEO (v%s)</strong>', - 'SEO_LOG_UNINSTALL_PHPBB_SEO_FAIL' => '<strong>Echec de la désinstallation du mod rewrite phpBB SEO</strong><br/>%s', - 'SEO_LOG_CONFIG_SETTINGS' => '<strong>Modification des réglages de la classe phpBB SEO</strong>', - 'SEO_LOG_CONFIG_FORUM_URL' => '<strong>Modification des URLs des Forum</strong>', - 'SEO_LOG_CONFIG_HTACCESS' => '<strong>Nouveau .htaccess généré</strong>', - 'SEO_LOG_CONFIG_EXTENDED' => '<strong>Modification des réglages additionnels des mods phpBB SEO</strong>', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/mods/phpbb_seo_related_install.php b/phpBB/language/fr/mods/phpbb_seo_related_install.php deleted file mode 100644 index 0805d0151b..0000000000 --- a/phpBB/language/fr/mods/phpbb_seo_related_install.php +++ /dev/null @@ -1,64 +0,0 @@ -<?php -/** -* -* acp_phpbb_seo [French] -* -* @package Ultimate SEO URL phpBB SEO -* @version $Id: phpbb_seo_related_install.php 146 2009-11-07 12:53:13Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/licenses/gpl-license.php GNU Public License v2 -* -*/ -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -$lang = array_merge($lang, array( - // ACP - 'SEO_RELATED' => 'Activer les articles en relation', - 'SEO_RELATED_EXPLAIN' => 'Afficher ou non une liste de sujets en relation sur les pages de sujets.<br/><b style="color:red;">Note :</b><br/>Avec MYSQL >=4.1 et si la table des sujets utilise MyISAM, la relation sera établile via un index FullText sur le titre des sujets et les résultats seront classé par pertinence. Dans les autres cas, une requête LIKE sera utilisée et les résultats seront classés par ordre de publication', - 'SEO_RELATED_CHECK_IGNORE' => 'Filtre mots ignorés', - 'SEO_RELATED_CHECK_IGNORE_EXPLAIN' => 'Exclure, ou non, les mots du fichier search_ignore_words.php lors de la recherche des articles en relation', - 'SEO_RELATED_LIMIT' => 'Nombre de résultats', - 'SEO_RELATED_LIMIT_EXPLAIN' => 'Nombre de résultats à afficher au maximum', - 'SEO_RELATED_ALLFORUMS' => 'Recherche sur tous les forums', - 'SEO_RELATED_ALLFORUMS_EXPLAIN' => 'Rechercher sur tous les forums au lieux de rechercher uniquement dans le forum en cours.<br/><b style="color:red;">Note :</b><br/>Rechercher sur tous les forums est un peu plus lent et n’apporte pas forcément de meilleurs résultats', - // Install - 'INSTALLED' => 'Mod phpBB SEO Related Topics installé', - 'ALREADY_INSTALLED' => 'Le mod phpBB SEO Related Topics est déjà installé', - 'FULLTEXT_INSTALLED' => 'Index FullText Mysql installé', - 'FULLTEXT_NOT_INSTALLED' => 'L’index FullText Mysql n’est pas disponible sur ce serveur, SQL LIKE sera utilisé', - 'INSTALLATION' => 'Installation du mod phpBB SEO Related Topics', - 'INSTALLATION_START' => '⇒ <a href="%1$s" ><b>Installer le mod</b></a><br/><br/>⇒ <a href="%2$s" ><b>Réessayer d’installer l’index Mysql FullText</b></a> (Mysql >= 4.1 utilisant Myisam pour la table des topic uniquement)<br/><br/>⇒ <a href="%3$s" ><b>Désinstaller le mod</b></a>', - // un-install - 'UNINSTALLED' => 'Mod phpBB SEO Related Topics désinstallé', - 'ALREADY_UNINSTALLED' => 'Le mod phpBB SEO Related Topics est déjà désinstallé', - 'UNINSTALLATION' => 'Désinstallation du mod phpBB SEO Related Topics', - // SQL message - 'SQL_REQUIRED' => 'L’utilisateur SQL n’a pas assez de privilèges pour modifer des tables, vous devez lancer cette requpete manuellement pour ajouter ou retirer l’index FullText Mysql :<br/>%1$s', - // Security - 'SEO_LOGIN' => 'Vous devez être enregistré pour pouvoir accéder à cette page.', - 'SEO_LOGIN_ADMIN' => 'Vous devez être enregistré en tant qu’administrateur pour pouvoir accéder à cette page.<br/>Votre session à été détruite pour des raisons de sécurité.', - 'SEO_LOGIN_FOUNDER' => 'Vous devez être enregistré en tant que fondateur pour pouvoir accéder à cette page.', - 'SEO_LOGIN_SESSION' => 'La vérification de session a échoué.<br/>Aucune modification prise en compte.<br/>Votre session à été détruite pour des raisons de sécurité.', -)); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/posting.php b/phpBB/language/fr/posting.php deleted file mode 100644 index 6745bd914f..0000000000 --- a/phpBB/language/fr/posting.php +++ /dev/null @@ -1,226 +0,0 @@ -<?php -/** -* -* posting [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: posting.php, v1.26 2010/02/09 19:46:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ADD_ATTACHMENT' => 'Ajouter des fichiers joints', - 'ADD_ATTACHMENT_EXPLAIN' => 'Si vous souhaitez joindre un ou plusieurs fichiers, complétez les indications suivantes.', - 'ADD_FILE' => 'Ajouter le fichier', - 'ADD_POLL' => 'Ajouter un sondage', - 'ADD_POLL_EXPLAIN' => 'Si vous ne souhaitez pas ajouter de sondage à votre sujet, laissez ces champs vides.', - 'ALREADY_DELETED' => 'Désolé, ce message a déjà été supprimé.', - 'ATTACH_QUOTA_REACHED' => 'Désolé, le quota de fichiers joints a été atteint.', - 'ATTACH_SIG' => 'Attacher ma signature (les signatures peuvent être modifiées dans le panneau de l’utilisateur)', - - 'BBCODE_A_HELP' => 'Fichier joint chargé en ligne: [attachment=]nom_du_fichier.ext[/attachment]', - 'BBCODE_B_HELP' => 'Texte gras: [b]texte[/b]', - 'BBCODE_C_HELP' => 'Code: [code]code[/code]', - 'BBCODE_E_HELP' => 'Liste: Ajouter une liste d’éléments', - 'BBCODE_F_HELP' => 'Taille de la police: [size=85]petit texte[/size]', - 'BBCODE_IS_OFF' => 'Les %sBBCodes%s sont <em>désactivés</em>', - 'BBCODE_IS_ON' => 'Les %sBBCodes%s sont <em>activés</em>', - 'BBCODE_I_HELP' => 'Texte italique: [i]texte[/i]', - 'BBCODE_L_HELP' => 'Liste: [list]texte[/list]', - 'BBCODE_LISTITEM_HELP' => 'Elément de liste: [*]texte[/*]', - 'BBCODE_O_HELP' => 'Liste ordonnée: [list=]texte[/list]', - 'BBCODE_P_HELP' => 'Insérer une image: [img]http://image_url[/img]', - 'BBCODE_Q_HELP' => 'Citation: [quote]texte[/quote]', - 'BBCODE_S_HELP' => 'Couleur de la police: [color=red]texte[/color] Astuce : vous pouvez également utiliser color=#FF0000', - 'BBCODE_U_HELP' => 'Texte souligné: [u]texte[/u]', - 'BBCODE_W_HELP' => 'Insérer un lien: [url]http://url[/url] ou [url=http://url]texte descriptif[/url]', - 'BBCODE_D_HELP' => 'Flash: [flash=largeur,hauteur]http://flash_url[/flash]', - 'BUMP_ERROR' => 'Vous ne pouvez pas faire remonter ce sujet aussitôt après l’ajout du dernier message.', - - 'CANNOT_DELETE_REPLIED' => 'Désolé, vous ne pouvez supprimer que les messages n’ayant reçu aucune réponse.', - 'CANNOT_EDIT_POST_LOCKED' => 'Ce message a été verrouillé. Vous ne pouvez plus l’éditer.', - 'CANNOT_EDIT_TIME' => 'Vous ne pouvez plus éditer ou supprimer ce message.', - 'CANNOT_POST_ANNOUNCE' => 'Désolé, vous ne pouvez pas poster d’annonces.', - 'CANNOT_POST_STICKY' => 'Désolé, vous ne pouvez pas créer de nouveaux post-it.', - 'CHANGE_TOPIC_TO' => 'Changer le statut du sujet en', - 'CLOSE_TAGS' => 'Fermer les balises', - 'CURRENT_TOPIC' => 'Sujet actuel', - - 'DELETE_FILE' => 'Supprimer le fichier', - 'DELETE_MESSAGE' => 'Supprimer le message', - 'DELETE_MESSAGE_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer ce message?', - 'DELETE_OWN_POSTS' => 'Désolé, vous ne pouvez supprimer que vos propres messages.', - 'DELETE_POST_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer ce message?', - 'DISALLOWED_CONTENT' => 'Le chargement a été rejeté car le fichier envoyé a été identifié comme un éventuel vecteur d’attaque.', - 'DELETE_POST_WARN' => 'Une fois supprimé, le message ne pourra pas être récupéré', - 'DISABLE_BBCODE' => 'Désactiver les BBCodes', - 'DISABLE_MAGIC_URL' => 'Désactiver les liens', - 'DISABLE_SMILIES' => 'Désactiver les smileys', - 'DISALLOWED_EXTENSION' => 'L’extension %s n’est pas autorisée.', - 'DRAFT_LOADED' => 'Brouillon chargé dans la zone de rédaction de message, vous pouvez finir votre message maintenant.<br />Le brouillon sera supprimé dès que vous aurez posté votre message.', - 'DRAFT_LOADED_PM' => 'Brouillon chargé dans la zone de rédaction de message privé, vous pouvez finir votre message maintenant.<br />Le brouillon sera supprimé dès que vous aurez envoyé votre message privé.', - 'DRAFT_SAVED' => 'Le brouillon a été sauvegardé.', - 'DRAFT_TITLE' => 'Titre du brouillon', - - 'EDIT_REASON' => 'Raison de l’édition du message', - 'EMPTY_FILEUPLOAD' => 'Le fichier chargé est vide ou n’existe pas.', - 'EMPTY_MESSAGE' => 'Votre message est vide!', - 'EMPTY_REMOTE_DATA' => 'Le fichier n’a pas pu être chargé, essayez de le charger manuellement.', - - 'FLASH_IS_OFF' => '[flash] est <em>désactivé</em>', - 'FLASH_IS_ON' => '[flash] est <em>activé</em>', - 'FLOOD_ERROR' => 'Vous ne pouvez pas poster un nouveau message, si tôt après le dernier.', - 'FONT_COLOR' => 'Couleur de la police', - 'FONT_COLOR_HIDE' => 'Masquer les couleurs de la police', - 'FONT_HUGE' => 'Très grande', - 'FONT_LARGE' => 'Grande', - 'FONT_NORMAL' => 'Normale', - 'FONT_SIZE' => 'Taille de la police', - 'FONT_SMALL' => 'Petite', - 'FONT_TINY' => 'Très petite', - - 'GENERAL_UPLOAD_ERROR' => 'Impossible de charger le fichier joint de %s.', - - 'IMAGES_ARE_OFF' => '[img] est <em>désactivé</em>', - 'IMAGES_ARE_ON' => '[img] est <em>activé</em>', - 'INVALID_FILENAME' => '%s est un nom de fichier invalide.', - - 'LOAD' => 'Charger', - 'LOAD_DRAFT' => 'Charger un brouillon', - 'LOAD_DRAFT_EXPLAIN' => 'Vous pouvez charger le brouillon que vous souhaitez finir. Votre message actuel sera annulé, tout le contenu de votre message actuel sera supprimé. Vous pouvez voir, éditer et supprimer vos brouillons dans le panneau de l’utilisateur.', - 'LOGIN_EXPLAIN_BUMP' => 'Vous devez être connecté pour remonter un sujet de ce forum.', - 'LOGIN_EXPLAIN_DELETE' => 'Vous devez être connecté pour supprimer des messages dans ce forum.', - 'LOGIN_EXPLAIN_POST' => 'Vous devez être connecté pour poster dans ce forum.', - 'LOGIN_EXPLAIN_QUOTE' => 'Vous devez être connecté pour citer des messages dans ce forum.', - 'LOGIN_EXPLAIN_REPLY' => 'Vous devez être connecté pour répondre aux sujets de ce forum.', - - 'MAX_FONT_SIZE_EXCEEDED' => 'Vous pouvez seulement employer des polices dont la taille maximum est de %1$d.', - 'MAX_FLASH_HEIGHT_EXCEEDED' => 'Vos animations flash doivent être de %1$d pixels de haut maximum.', - 'MAX_FLASH_WIDTH_EXCEEDED' => 'Vos animations flash doivent être de %1$d pixels de large maximum.', - 'MAX_IMG_HEIGHT_EXCEEDED' => 'Vos images doivent être de %1$d pixels de haut maximum.', - 'MAX_IMG_WIDTH_EXCEEDED' => 'Vos images doivent être de %1$d pixels de large maximum.', - - 'MESSAGE_BODY_EXPLAIN' => 'Entrez votre message ici, il ne doit pas contenir plus de <strong>%d</strong> caractères.', - 'MESSAGE_DELETED' => 'Votre message a été supprimé.', - 'MORE_SMILIES' => 'Voir plus de smileys', - - 'NOTIFY_REPLY' => 'M’avertir lorsqu’une réponse est postée.', - 'NOT_UPLOADED' => 'Le fichier ne peut pas être chargé.', - 'NO_DELETE_POLL_OPTIONS' => 'Vous ne pouvez pas supprimer les options du sondage existantes.', - 'NO_PM_ICON' => 'Aucune', - 'NO_POLL_TITLE' => 'Vous devez entrer un titre de sondage.', - 'NO_POST' => 'Le message demandé n’existe pas.', - 'NO_POST_MODE' => 'Aucun type de message n’est indiqué.', - - 'PARTIAL_UPLOAD' => 'Le fichier n’a été que partiellement chargé.', - 'PHP_SIZE_NA' => 'La taille du fichier joint est trop grande.<br />Impossible de déterminer la taille maximale définie par PHP dans php.ini.', - 'PHP_SIZE_OVERRUN' => 'La taille du fichier joint est trop grande, la taille maximale de chargement est de %1$d %2$s.<br />Notez que ce paramètre se trouve dans php.ini et ne peut pas être outrepassé.', - 'PLACE_INLINE' => 'Insérer dans le message', - 'POLL_DELETE' => 'Supprimer le sondage', - 'POLL_FOR' => 'Durée du sondage', - 'POLL_FOR_EXPLAIN' => 'Mettre “0” ou laissez vide pour ne jamais terminer le sondage.', - 'POLL_MAX_OPTIONS' => 'Option(s) par utilisateur', - 'POLL_MAX_OPTIONS_EXPLAIN' => 'Ceci est le nombre d’options que chaque utilisateur peut choisir quand il vote.', - 'POLL_OPTIONS' => 'Options du sondage', - 'POLL_OPTIONS_EXPLAIN' => 'Placez chaque option sur une ligne différente. Vous pouvez entrer jusqu’à <strong>%d</strong> options.', - 'POLL_OPTIONS_EDIT_EXPLAIN' => 'Placez chaque option sur une ligne différente. Vous pouvez entrer jusqu’à <strong>%d</strong> options. Si vous supprimez ou ajoutez des options, tous les votes précédents seront remis à zéro.', - 'POLL_QUESTION' => 'Question du sondage', - 'POLL_TITLE_TOO_LONG' => 'Le titre du sondage doit contenir moins de 100 caractères.', - 'POLL_TITLE_COMP_TOO_LONG' => 'La taille du titre du sondage est trop importante, essayez de retirer les BBCodes et/ou les smileys.', - 'POLL_VOTE_CHANGE' => 'Permettre de voter à nouveau', - 'POLL_VOTE_CHANGE_EXPLAIN' => 'Si activé, les utilisateurs peuvent changer leur vote.', - 'POSTED_ATTACHMENTS' => 'Fichiers joints postés', - 'POST_APPROVAL_NOTIFY' => 'Vous serez averti lorsque votre message sera approuvé.', - 'POST_CONFIRMATION' => 'Confirmation du message', - 'POST_CONFIRM_EXPLAIN' => 'Afin de lutter contre le spam de messages instantanés, l’administrateur souhaite que vous entriez un code de confirmation. Le code apparaît dans l’image que vous devriez voir ci-dessous. Si vous êtes déficient visuel ou si vous ne pouvez pas lire ce code, contactez %sl’administrateur du forum%s.', - 'POST_DELETED' => 'Le message a été supprimé.', - 'POST_EDITED' => 'Votre message a été édité.', - 'POST_EDITED_MOD' => 'Votre message a été édité, mais requiert l’approbation d’un modérateur avant d’être rendu visible publiquement.', - 'POST_GLOBAL' => 'Annonce globale', - 'POST_ICON' => 'Icône de message', - 'POST_NORMAL' => 'Normal', - 'POST_REVIEW' => 'Revue du sujet', - 'POST_REVIEW_EDIT' => 'Revue du sujet', - 'POST_REVIEW_EDIT_EXPLAIN' => 'Ce message a été modifié par un autre utilisateur pendant que vous étiez entrain de l’éditer. Vous pouvez revoir la version actuelle de ce message et ajuster votre édition.', - 'POST_REVIEW_EXPLAIN' => 'Au moins un nouveau message a été ajouté à ce sujet entre-temps. Vous pouvez revoir votre message en conséquence.', - 'POST_STORED' => 'Votre message a été posté.', - 'POST_STORED_MOD' => 'Votre message a été posté, mais requiert l’approbation d’un modérateur avant d’être rendu visible publiquement.', - 'POST_TOPIC_AS' => 'Poster le sujet en tant que', - 'PROGRESS_BAR' => 'Barre de progression', - - 'QUOTE_DEPTH_EXCEEDED' => 'Vous pouvez utiliser seulement %1$d citation(s).', - - 'SAVE' => 'Sauvegarder', - 'SAVE_DATE' => 'Sauvegardé le', - 'SAVE_DRAFT' => 'Sauvegarder le brouillon', - 'SAVE_DRAFT_CONFIRM' => 'Notez que les brouillons sauvegardés ne contiennent que le titre et le message, tout autre élément sera supprimé. Souhaitez-vous sauvegarder votre brouillon maintenant?', - 'SMILIES' => 'Smileys', - 'SMILIES_ARE_OFF' => 'Les smileys sont <em>désactivés</em>', - 'SMILIES_ARE_ON' => 'Les smileys sont <em>activés</em>', - 'STICKY_ANNOUNCE_TIME_LIMIT'=> 'Durée du post-it ou de l’annonce', - 'STICK_TOPIC_FOR' => 'Epingler pendant', - 'STICK_TOPIC_FOR_EXPLAIN' => 'Mettre “0” ou laissez cette case vide pour une durée illimitée des post-it/annonces. Notez que ce nombre est relatif à la date du message.', - 'STYLES_TIP' => 'Astuce: les mises en forme peuvent être appliquées rapidement en sélectionnant le texte.', - - 'TOO_FEW_CHARS' => 'Votre message contient trop peu de caractères.', - 'TOO_FEW_CHARS_LIMIT' => 'Votre message contient %1$d caractères. Le nombre minimum de caractères à taper est de %2$d.', - 'TOO_FEW_POLL_OPTIONS' => 'Vous devez entrer au moins deux options possibles au sondage.', - 'TOO_MANY_ATTACHMENTS' => 'Impossible d’ajouter un nouveau fichier joint, %d est le maximum autorisé.', - 'TOO_MANY_CHARS' => 'Votre message contient trop de caractères.', - 'TOO_MANY_CHARS_POST' => 'Votre message contient %1$d caractères. Le nombre maximal de caractères autorisé est %2$d.', - 'TOO_MANY_CHARS_SIG' => 'Votre signature contient %1$d caractères. Le nombre maximal de caractères autorisé est %2$d.', - 'TOO_MANY_POLL_OPTIONS' => 'Vous avez dépassé le nombre d’options de sondage possible.', - 'TOO_MANY_SMILIES' => 'Votre message contient trop de smileys. Un maximum de %d smiley(s) est autorisé.', - 'TOO_MANY_URLS' => 'Votre message contient trop de liens. Un maximum de %d lien(s) est autorisé.', - 'TOO_MANY_USER_OPTIONS' => 'Vous ne pouvez pas indiquer un nombre d’options par utilisateur supérieur au nombre d’options du sondage.', - 'TOPIC_BUMPED' => 'Le sujet a été remonté.', - - 'UNAUTHORISED_BBCODE' => 'Vous ne pouvez pas utiliser certains BBCodes: %s.', - 'UNGLOBALISE_EXPLAIN' => 'Pour changer cette annonce globale en sujet normal, vous devez sélectionner le forum où vous souhaitez voir apparaître le sujet.', - 'UPDATE_COMMENT' => 'Mettre à jour le commentaire', - 'URL_INVALID' => 'Le lien indiqué est invalide.', - 'URL_NOT_FOUND' => 'Le fichier indiqué n’a pas été trouvé.', - 'URL_IS_OFF' => '[url] est <em>désactivé</em>', - 'URL_IS_ON' => '[url] est <em>activé</em>', - 'USER_CANNOT_BUMP' => 'Vous ne pouvez pas remonter de sujets dans ce forum.', - 'USER_CANNOT_DELETE' => 'Vous ne pouvez pas supprimer de messages dans ce forum.', - 'USER_CANNOT_EDIT' => 'Vous ne pouvez pas éditer de messages dans ce forum.', - 'USER_CANNOT_REPLY' => 'Vous ne pouvez pas répondre à un sujet dans ce forum.', - 'USER_CANNOT_FORUM_POST' => 'Vous ne pouvez pas effectuer d’opérations sur ce forum car ce type de forum ne le permet pas.', - - 'VIEW_MESSAGE' => '%sVoir le message envoyé%s', - 'VIEW_PRIVATE_MESSAGE' => '%sVoir le message privé envoyé%s', - - 'WRONG_FILESIZE' => 'Le fichier est trop gros, la taille maximum autorisée est %1d %2s.', - 'WRONG_SIZE' => 'L’image doit faire au moins %1$d pixels de large, %2$d pixels de haut et au plus %3$d pixels de large et %4$d pixels de haut. L’image actuelle fait %5$d pixels de large et %6$d pixels de haut.', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/search.php b/phpBB/language/fr/search.php deleted file mode 100644 index 673074da36..0000000000 --- a/phpBB/language/fr/search.php +++ /dev/null @@ -1,105 +0,0 @@ -<?php -/** -* -* search [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: search.php, v1.25 2009/10/16 15:03:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ALL_AVAILABLE' => 'Tous disponibles', - 'ALL_RESULTS' => 'Tous les résultats', - - 'DISPLAY_RESULTS' => 'Afficher les résultats sous forme de', - - 'FOUND_SEARCH_MATCH' => '%d résultat trouvé', - 'FOUND_SEARCH_MATCHES' => '%d résultats trouvés', - 'FOUND_MORE_SEARCH_MATCHES' => 'La recherche a trouvé plus de %d résultats', - - 'GLOBAL' => 'Annonce globale', - - 'IGNORED_TERMS' => 'ignoré', - 'IGNORED_TERMS_EXPLAIN' => 'Les mots suivants de votre recherche ont été ignorés parce qu’ils sont trop communs: <strong>%s</strong>.', - - 'JUMP_TO_POST' => 'Aller au message', - - 'LOGIN_EXPLAIN_EGOSEARCH' => 'Vous devez être enregistré et connecté afin de voir vos propres messages.', - 'LOGIN_EXPLAIN_UNREADSEARCH'=> 'Vous devez être enregistré et connecté pour voir les messages non lus.', - 'MAX_NUM_SEARCH_KEYWORDS_REFINE' => 'Vous avez spécifié un nombre de mots trop important à rechercher. N’entrez pas plus de %1$d mots.', - - 'NO_KEYWORDS' => 'Vous devez indiquer au moins un mot pour effectuer une recherche. Chaque mot doit se composer d’au moins %d caractères et ne doit pas en contenir plus de %d en excluant les jokers.', - 'NO_RECENT_SEARCHES' => 'Aucune recherche n’a été effectuée récemment.', - 'NO_SEARCH' => 'Désolé mais vous n’êtes pas autorisé à utiliser le système de recherche.', - 'NO_SEARCH_RESULTS' => 'Aucun sujet ou message ne correspond à vos critères de recherche.', - 'NO_SEARCH_TIME' => 'Désolé mais vous ne pouvez pas utiliser la fonction recherche actuellement. Merci de réessayer dans quelques instants.', - 'NO_SEARCH_UNREADS' => 'Désolé mais la recherche des messages non lus a été désactivée sur ce forum.', - 'WORD_IN_NO_POST' => 'Aucun résultat trouvé pour le mot <strong>%s</strong>.', - 'WORDS_IN_NO_POST' => 'Aucun résultat trouvé pour les mots <strong>%s</strong>.', - - 'POST_CHARACTERS' => 'premiers caractères des messages', - - 'RECENT_SEARCHES' => 'Recherches récentes', - 'RESULT_DAYS' => 'Rechercher depuis', - 'RESULT_SORT' => 'Classer les résultats par', - 'RETURN_FIRST' => 'Renvoyer les', - 'RETURN_TO_SEARCH_ADV' => 'Revenir à la recherche avancée', - - 'SEARCHED_FOR' => 'Rechercher les termes utilisés', - 'SEARCHED_TOPIC' => 'Sujet recherché', - 'SEARCH_ALL_TERMS' => 'Rechercher tous les termes', - 'SEARCH_ANY_TERMS' => 'Rechercher n’importe lequel de ces termes', - 'SEARCH_AUTHOR' => 'Rechercher par auteur', - 'SEARCH_AUTHOR_EXPLAIN' => 'Utilisez un * comme joker pour des recherches partielles.', - 'SEARCH_FIRST_POST' => 'Premier message des sujets uniquement', - 'SEARCH_FORUMS' => 'Rechercher dans les forums', - 'SEARCH_FORUMS_EXPLAIN' => 'Choisissez le forum ou les forums dans le(s)quel(s) vous souhaitez effectuer une recherche. Les sous-forums sont automatiquement inclus si vous ne désactivez pas l’option ci-dessous “Rechercher dans les sous-forums”.', - 'SEARCH_IN_RESULTS' => 'Rechercher dans ces résultats', - 'SEARCH_KEYWORDS_EXPLAIN' => 'Placez un <strong>+</strong> devant un mot qui doit être trouvé et un <strong>-</strong> devant un mot qui doit être exclu. Tapez une suite de mots séparés par des <strong>|</strong> entre crochets si uniquement un des mots doit être trouvé. Utilisez un * comme joker pour des recherches partielles.', - 'SEARCH_MSG_ONLY' => 'Messages uniquement', - 'SEARCH_OPTIONS' => 'Options de recherche', - 'SEARCH_QUERY' => 'Rechercher', - 'SEARCH_SUBFORUMS' => 'Rechercher dans les sous-forums', - 'SEARCH_TITLE_MSG' => 'Titres et messages', - 'SEARCH_TITLE_ONLY' => 'Titres uniquement', - 'SEARCH_WITHIN' => 'Rechercher dans', - 'SORT_ASCENDING' => 'Croissant', - 'SORT_AUTHOR' => 'Auteur', - 'SORT_DESCENDING' => 'Décroissant', - 'SORT_FORUM' => 'Forum', - 'SORT_POST_SUBJECT' => 'Sujet du message', - 'SORT_TIME' => 'Date', - - 'TOO_FEW_AUTHOR_CHARS' => 'Vous devez indiquer au moins %d caractères du nom de l’auteur.', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/search_ignore_words.php b/phpBB/language/fr/search_ignore_words.php deleted file mode 100644 index 48c054a915..0000000000 --- a/phpBB/language/fr/search_ignore_words.php +++ /dev/null @@ -1,417 +0,0 @@ -<?php -/** -* -* search_ignore_words [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: search_ignore_words.php, v1.25 2010/02/25 16:47:00 dcz Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -$words = array( - 'admin', - 'afin', - 'aide', - 'ainsi', - 'ajouter', - 'align', - 'aller', - 'allez', - 'alors', - 'amp', - 'and', - 'apres', - 'après', - 'assez', - 'attach', - 'aucun', - 'aucune', - 'aura', - 'aurait', - 'aussi', - 'autre', - 'autres', - 'aux', - 'avait', - 'avant', - 'avec', - 'avez', - 'avis', - 'avoir', - 'bah', - 'bas', - 'base', - 'bdd', - 'beaucoup', - 'ben', - 'bien', - 'bon', - 'bonjour', - 'bonne', - 'bravo', - 'bug', - 'car', - 'cas', - 'ceci', - 'cela', - 'celui', - 'certains', - 'ces', - 'cest', - 'cet', - 'cétait', - 'cette', - 'ceux', - 'change', - 'changer', - 'chaque', - 'chez', - 'chose', - 'code', - 'com', - 'comme', - 'comment', - 'confused', - 'connais', - 'contre', - 'cool', - 'coup', - 'crois', - 'cry', - 'daccord', - 'dans', - 'dautres', - 'davance', - 'davoir', - 'deja', - 'déjà', - 'depuis', - 'des', - 'dessus', - 'dêtre', - 'deux', - 'devrait', - 'dire', - 'dis', - 'dit', - 'dois', - 'doit', - 'donc', - 'donne', - 'donner', - 'dont', - 'dun', - 'dune', - 'dur', - 'edit', - 'effectivement', - 'effet', - 'elle', - 'encore', - 'end', - 'enfin', - 'ensuite', - 'entre', - 'erreur', - 'error', - 'est', - 'estce', - 'était', - 'etc', - 'été', - 'etre', - 'être', - 'euh', - 'exemple', - 'exemples', - 'façon', - 'faire', - 'fais', - 'fait', - 'faite', - 'faut', - 'fichier', - 'fichiers', - 'file', - 'files', - 'fin', - 'fini', - 'fois', - 'fonctionne', - 'fond', - 'font', - 'for', - 'forum', - 'forums', - 'free', - 'ftp', - 'genre', - 'gif', - 'grand', - 'gros', - 'haut', - 'hello', - 'heu', - 'heure', - 'href', - 'html', - 'ici', - 'idée', - 'ils', - 'img', - 'images', - 'infos', - 'installer', - 'jai', - 'jamais', - 'javais', - 'jen', - 'joint', - 'jour', - 'juste', - 'lai', - 'laisse', - 'lang2', - 'les', - 'leur', - 'leurs', - 'lien', - 'liens', - 'ligne', - 'line', - 'lire', - 'lisez', - 'lol', - 'lon', - 'lors', - 'lui', - 'mail', - 'maintenant', - 'mais', - 'mal', - 'manque', - 'marche', - 'med', - 'membre', - 'membres', - 'meme', - 'même', - 'menu', - 'merci', - 'mes', - 'message', - 'met', - 'mets', - 'mettre', - 'mieux', - 'mis', - 'mise', - 'mod', - 'modifier', - 'mods', - 'moi', - 'moins', - 'mois', - 'moment', - 'mon', - 'mrgreen', - 'nai', - 'nest', - 'net', - 'news', - 'nom', - 'non', - 'nos', - 'not', - 'notre', - 'nous', - 'nouveau', - 'oki', - 'on', - 'ont', - 'oops', - 'où', - 'ou', - 'ouais', - 'oué', - 'oui', - 'page', - 'par', - 'parce', - 'parle', - 'parler', - 'part', - 'partie', - 'partir', - 'pas', - 'passe', - 'passer', - 'pcp', - 'pense', - 'perso', - 'petit', - 'petite', - 'peu', - 'peut', - 'peut-être', - 'peutêtre', - 'peux', - 'php', - 'phpbb', - 'place', - 'plein', - 'plus', - 'plusieurs', - 'plutôt', - 'portail', - 'possible', - 'post', - 'poster', - 'pour', - 'pourquoi', - 'pouvez', - 'premier', - 'prend', - 'prendre', - 'prends', - 'pris', - 'problème', - 'probleme', - 'ptdr', - 'puis', - 'quand', - 'que', - 'quel', - 'quelle', - 'quelque', - 'quelques', - 'quelquun', - 'qui', - 'quil', - 'quils', - 'quoi', - 'quon', - 'quot', - 'quun', - 'rapide', - 'reçu', - 'regarde', - 'réglé', - 'regle', - 'reste', - 'rie', - 'rien', - 'rip', - 'roll', - 'sagit', - 'sais', - 'salut', - 'sans', - 'sauf', - 'savoir', - 'se', - 'semble', - 'sera', - 'serait', - 'ses', - 'sest', - 'seul', - 'seule', - 'shock', - 'sil', - 'simple', - 'sinon', - 'site', - 'soir', - 'soit', - 'son', - 'sont', - 'sous', - 'souvent', - 'sql', - 'src', - 'suis', - 'suite', - 'suivant', - 'sujet', - 'super', - 'sur', - 'sûr', - 'surtout', - 'svp', - 'sympa', - 'table', - 'tant', - 'template', - 'templates', - 'temps', - 'tes', - 'test', - 'the', - 'theme', - 'tiens', - 'titre', - 'toi', - 'ton', - 'top', - 'topic', - 'toujours', - 'tous', - 'tout', - 'toute', - 'toutes', - 'tpl', - 'tres', - 'très', - 'trop', - 'trouve', - 'trouvé', - 'trouver', - 'truc', - 'tuto', - 'twisted', - 'type', - 'une', - 'url', - 'vais', - 'vas', - 'vers', - 'version', - 'veut', - 'veux', - 'via', - 'vide', - 'vie', - 'viens', - 'vient', - 'vite', - 'voici', - 'voila', - 'voilà', - 'voir', - 'vois', - 'voit', - 'vos', - 'votre', - 'voulais', - 'vous', - 'vrai', - 'vraiment', - 'web', - 'wink', - 'www', - 'zip', -); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/search_synonyms.php b/phpBB/language/fr/search_synonyms.php deleted file mode 100644 index c513e1a6c5..0000000000 --- a/phpBB/language/fr/search_synonyms.php +++ /dev/null @@ -1,196 +0,0 @@ -<?php -/** -* -* search_synonyms [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: search_synonyms.php, v1.24 2007/11/22 13:09:51 lolovoisin Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ - -if (!defined('IN_PHPBB')) -{ - exit; -} - -$synonyms = array( - 'abcense' => 'absence', - 'abridgement' => 'abridgment', - 'accomodate' => 'accommodate', - 'acknowledgment' => 'acknowledgement', - 'airplane' => 'aeroplane', - 'allright' => 'alright ', - 'andy' => 'andrew', - 'anemia' => 'anaemia', - 'anemic' => 'anaemic', - 'anesthesia' => 'anaesthesia', - 'appologize' => 'appologise', - 'archean' => 'archaean', - 'archeology' => 'archaeology', - 'archeozoic' => 'archaeozoic', - 'armor' => 'armour', - 'artic' => 'arctic', - 'attachment' => 'attachement', - 'attendence' => 'attendance', - - 'barbecue' => 'barbeque', - 'behavior' => 'behaviour', - 'biassed' => 'biased', - 'biol' => 'biology', - 'buletin' => 'bulletin', - - 'calender' => 'calendar', - 'canceled' => 'cancelled', - 'car' => 'automobile', - 'catalog' => 'catalogue', - 'cenozoic' => 'caenozoic', - 'center' => 'centre', - 'check' => 'cheque', - 'color' => 'colour', - 'comission' => 'commission', - 'comittee' => 'committee', - 'commitee' => 'committee', - 'conceed' => 'concede', - 'creating' => 'createing', - 'curiculum' => 'curriculum', - - 'defense' => 'defence', - 'develope' => 'develop', - 'discription' => 'description', - 'dulness' => 'dullness', - - 'encyclopedia' => 'encyclopaedia', - 'enroll' => 'enrol', - 'esthetic' => 'aesthetic', - 'etiology' => 'aetiology', - 'exhorbitant' => 'exorbitant', - 'exhuberant' => 'exuberant', - 'existance' => 'existence', - - 'favorite' => 'favourite', - 'fetus' => 'foetus', - 'ficticious' => 'fictitious', - 'flavor' => 'flavour', - 'flourescent' => 'fluorescent', - 'foriegn' => 'foreign', - 'fourty' => 'forty', - - 'gage' => 'gauge', - 'geneology' => 'genealogy', - 'grammer' => 'grammar', - 'gray' => 'grey', - 'guerilla' => 'guerrilla', - 'gynecology' => 'gynaecology', - - 'harbor' => 'harbour', - 'heighth' => 'height', - 'hemaglobin' => 'haemaglobin', - 'hematin' => 'haematin', - 'hematite' => 'haematite', - 'hematology' => 'haematology', - 'honor' => 'honour', - - 'innoculate' => 'inoculate', - 'installment' => 'instalment', - 'irrelevent' => 'irrelevant', - 'irrevelant' => 'irrelevant', - - 'jeweler' => 'jeweller', - 'judgment' => 'judgement', - - 'labeled' => 'labelled', - 'labor' => 'labour', - 'laborer' => 'labourer', - 'laborers' => 'labourers', - 'laboring' => 'labouring', - 'licence' => 'license', - 'liesure' => 'leisure', - 'liquify' => 'liquefy', - - 'maintainance' => 'maintenance', - 'maintenence' => 'maintenance', - 'medieval' => 'mediaeval', - 'meter' => 'metre', - 'milage' => 'mileage', - 'millipede' => 'millepede', - 'miscelaneous' => 'miscellaneous', - 'morgage' => 'mortgage', - - 'noticable' => 'noticeable', - - 'occurence' => 'occurrence', - 'offense' => 'offence', - 'ommision' => 'omission', - 'ommission' => 'omission', - 'optimize' => 'optimise', - 'organize' => 'organise', - - 'pajamas' => 'pyjamas', - 'paleography' => 'palaeography', - 'paleolithic' => 'palaeolithic', - 'paleontological' => 'palaeontological', - 'paleontologist' => 'palaeontologist', - 'paleontology' => 'palaeontology', - 'paleozoic' => 'palaeozoic', - 'pamplet' => 'pamphlet', - 'paralell' => 'parallel', - 'parl' => 'parliament', - 'parlt' => 'parliament', - 'pediatric' => 'paediatric', - 'pediatrician' => 'paediatrician', - 'pediatrics' => 'paediatrics', - 'pedodontia' => 'paedodontia', - 'pedodontics' => 'paedodontics', - 'personel' => 'personnel', - 'practise' => 'practice', - 'program' => 'programme', - 'psych' => 'psychology', - - 'questionaire' => 'questionnaire', - - 'rarify' => 'rarefy', - 'reccomend' => 'recommend', - 'recieve' => 'receive', - 'resistence' => 'resistance', - 'restaraunt' => 'restaurant', - - 'savior' => 'saviour', - 'sep' => 'september', - 'seperate' => 'separate', - 'sept' => 'september', - 'sieze' => 'seize', - 'summarize' => 'summarise', - 'summerize' => 'summarise', - 'superceed' => 'supercede', - 'superintendant' => 'superintendent', - 'supersede' => 'supercede', - 'suprise' => 'surprise', - 'surprize' => 'surprise', - 'synchronise' => 'synchronize', - - 'temperary' => 'temporary', - 'theater' => 'theatre', - 'threshhold' => 'threshold', - 'transfered' => 'transferred', - 'truely' => 'truly', - 'truley' => 'truly', - - 'useable' => 'usable', - - 'valor' => 'valour', - 'vigor' => 'vigour', - 'vol' => 'volume', - - 'whack' => 'wack', - 'withold' => 'withhold', - - 'yeild' => 'yield', -); -?>
\ No newline at end of file diff --git a/phpBB/language/fr/ucp.php b/phpBB/language/fr/ucp.php deleted file mode 100644 index d8b55e0ba4..0000000000 --- a/phpBB/language/fr/ucp.php +++ /dev/null @@ -1,555 +0,0 @@ -<?php -/** -* -* ucp [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: ucp.php, v1.26 2010/02/09 19:49:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -// Privacy policy and T&C -$lang = array_merge($lang, array( - 'TERMS_OF_USE_CONTENT' => 'En accédant à “%1$s” (désigné ici par “nous”, “notre”, “nos”, “%1$s”, “%2$s”), vous acceptez d’être légalement responsable des conditions suivantes. Si vous n’acceptez pas d’être légalement responsable de toutes les conditions suivantes, alors n’accédez pas et/ou n’utilisez pas “%1$s”. Nous pouvons modifier celles-ci à n’importe quel moment et nous ferons tout pour que vous en soyez informé, bien qu’il soit prudent de vérifier régulièrement celles-ci par vous-même. Si vous continuez d’utiliser “%1$s” alors que des changements ont été effectués, vous acceptez d’être légalement responsable des conditions découlant des mises à jour et/ou modifications.<br /> - <br /> - Notre forum est de type phpBB (désigné ici par “ils”, “eux”, “leur”, “logiciel phpBB”, “www.phpbb.com”, “Groupe phpBB”, “Equipes phpBB”) qui est un script libre de forum, déclaré sous la licence “<a href="http://opensource.org/licenses/gpl-license.php">General Public License</a>” (désigné ici par “GPL”) et qui peut être téléchargé depuis <a href="http://www.phpbb.com/">www.phpbb.com</a>. Le logiciel phpBB facilite seulement les discussions basées sur internet. Le groupe phpBB n’est pas responsable de ce que nous acceptons et/ou n’acceptons pas, comme contenu ou conduite permis. Pour de plus amples informations au sujet de phpBB, merci de consulter: <a href="http://www.phpbb.com/">http://www.phpbb.com/</a>.<br /> - <br /> - Vous acceptez de ne pas publier de contenu abusif, obscène, vulgaire, diffamatoire, choquant, menaçant, à caractère sexuel ou autre qui peut transgresser les lois de votre pays, du pays où “%1$s” est hébergé ou les lois internationales. Le faire peut vous mener à un bannissement immédiat et permanent, avec une notification à votre fournisseur d’accès à internet si nous le jugeons nécessaire. L’adresse IP de tous les messages est enregistrée pour aider au renforcement de ces conditions. Vous acceptez que “%1$s” supprime, édite, déplace ou verrouille n’importe quel sujet lorsque nous estimons que cela est nécessaire. En tant qu’utilisateur, vous acceptez que toutes les informations que vous avez entrées soient stockées dans notre base de données. Bien que ces informations ne soient pas diffusées à une tierce partie sans votre consentement, ni “%1$s”, ni phpBB ne pourront être tenus comme responsables en cas de tentative de piratage visant à compromettre les données. - ', - 'PRIVACY_POLICY' => 'Cette politique explique en détail comment “%1$s” et ses sociétés affiliées (désignés ici par “nous”, “notre”, “nos”, “%1$s”, “%2$s”) et phpBB (désigné ici par “ils”, “eux”, “leur”, “logiciel phpBB”, “www.phpbb.com”, “Groupe phpBB”, “Equipes phpBB”) utilisent n’importe quelle information collectée pendant n’importe quelle session d’utilisation de votre part (désignée ici “vos informations”).<br /> - <br /> - Vos informations sont collectées de deux manières. Premièrement, en naviguant sur “%1$s”, le logiciel phpBB créera un certain nombre de cookies, qui sont des petits fichiers textes téléchargés dans les fichiers temporaires du navigateur internet de votre ordinateur. Les deux premiers cookies ne contiennent qu’un identifiant utilisateur (désigné ici par “ID de l’utilisateur”) et un identifiant de session invité (désigné ici par “ID de la session”), qui vous sont automatiquement assignés par le logiciel phpBB. Un troisième cookie sera créé une fois que vous naviguerez sur les sujets de “%1$s” et est utilisé pour stocker les informations sur les sujets que vous avez lus, ce qui améliore votre navigation sur le forum .<br /> - <br /> - Nous pouvons également créer des cookies externes au logiciel phpBB tout en naviguant sur “%1$s”, bien que ceux-ci soient hors de portée du document qui est prévu pour couvrir seulement les pages créées par le logiciel phpBB. La seconde manière est de récupérer l’information que vous nous envoyez et que nous collectons. Ceci peut être, et n’est pas limité à: la publication en tant qu’utilisateur invité (désignée ici par “messages invités”), l’inscription sur “%1$s” (désignée ici par “votre compte”) et les messages que vous envoyez après l’inscription et lors d’une connexion (désignés ici par “vos messages”).<br /> - <br /> - Votre compte contiendra au minimum un identifiant unique (désigné ici par “votre nom d’utilisateur”), un mot de passe personnel utilisé pour la connexion à votre compte (désigné ici par “votre mot de passe”), et une adresse e-mail personnelle valide (désignée ici par “votre e-mail”). Vos informations pour votre compte sur “%1$s” sont protégées par les lois de protection des données applicables dans le pays qui nous héberge. Toute information en-dehors de votre nom d’utilisateur, de votre mot de passe et de votre adresse e-mail requise par “%1$s” durant la procédure d’inscription, qu’elle soit obligatoire ou non, reste à la discrétion de “%1$s”. Dans tous les cas, vous pouvez choisir quelle information de votre compte sera affichée publiquement. De plus, dans votre profil, vous pouvez souscrire ou non à l’envoi automatique d’e-mail par le logiciel phpBB.<br /> - <br /> - Votre mot de passe est crypté (hashage à sens unique) afin qu’il soit sécurisé. Cependant, il est recommandé de ne pas utiliser le même mot de passe sur plusieurs sites internet différents. Votre mot de passe est le moyen d’accès à votre compte sur “%1$s”, conservez-le soigneusement et en aucun cas une personne affiliée de “%1$s”, de phpBB ou une d’une tierce partie ne peut vous demander légitimement votre mot de passe. Si vous oubliez votre mot de passe, vous pouvez utiliser la fonction “J’ai perdu mon mot de passe” fournie par le logiciel phpBB. Ce processus vous demandera de fournir votre nom d’utilisateur et votre e-mail, alors le logiciel phpBB générera un nouveau mot de passe qui vous permettra de vous reconnecter.<br /> - ', -)); - -// Common language entries -$lang = array_merge($lang, array( - 'ACCOUNT_ACTIVE' => 'Votre compte a été activé. Merci de votre inscription.', - 'ACCOUNT_ACTIVE_ADMIN' => 'Le compte a été activé.', - 'ACCOUNT_ACTIVE_PROFILE' => 'Votre compte a été réactivé.', - 'ACCOUNT_ADDED' => 'Merci de votre inscription, votre compte a été créé. Vous pouvez vous connecter en utilisant votre nom d’utilisateur et votre mot de passe.', - 'ACCOUNT_COPPA' => 'Votre compte a été créé mais il doit être activé, consultez vos e-mails pour en savoir plus.', - 'ACCOUNT_EMAIL_CHANGED' => 'Votre compte a été mis à jour. Néanmoins, vous devez le réactiver. Une clef d’activation a été renvoyée à votre nouvelle adresse e-mail. Vérifiez vos e-mails pour plus d’informations.', - 'ACCOUNT_EMAIL_CHANGED_ADMIN' => 'Votre compte a été mis à jour. Néanmoins, les administrateurs du forum doivent réactiver votre compte. Un e-mail leur a été envoyé, vous serez prévenu dès que votre compte sera réactivé.', - 'ACCOUNT_INACTIVE' => 'Votre compte a été créé. Cependant, il doit être activé. Une clé d’activation vous a été envoyée par e-mail. Vérifiez vos e-mails pour plus d’informations.', - 'ACCOUNT_INACTIVE_ADMIN' => 'Votre compte a été créé. Cependant, un administrateur doit le valider. Un courrier lui a été envoyé et vous serez informé de l’activation de votre compte.', - 'ACTIVATION_EMAIL_SENT' => 'Le message d’activation a été envoyé à votre adresse e-mail.', - 'ACTIVATION_EMAIL_SENT_ADMIN' => 'Le message d’activation a été envoyé aux adresses e-mail des administrateurs.', - 'ADD' => 'Ajouter', - 'ADD_BCC' => 'Ajout [CCI]', - 'ADD_FOES' => 'Ajouter des ignorés', - 'ADD_FOES_EXPLAIN' => 'Entrez un nom d’utilisateur par ligne', - 'ADD_FOLDER' => 'Nouveau dossier', - 'ADD_FRIENDS' => 'Ajouter des amis', - 'ADD_FRIENDS_EXPLAIN' => 'Entrez un nom d’utilisateur par ligne.', - 'ADD_NEW_RULE' => 'Créer un nouveau filtre de messages', - 'ADD_RULE' => 'Appliquer le filtre', - 'ADD_TO' => 'Ajout [A]', - 'ADD_USERS_UCP_EXPLAIN' => 'Vous pouvez ajouter de nouveaux utilisateurs au groupe. Vous pouvez choisir si ce groupe devient le nouveau groupe par défaut pour les utilisateurs sélectionnés. Entrez chaque nom d’utilisateur sur une ligne différente.', - 'ADMIN_EMAIL' => 'Recevoir les e-mails des administrateurs', - 'AGREE' => 'J’accepte ces conditions', - 'ALLOW_PM' => 'Recevoir les messages privés des utilisateurs', - 'ALLOW_PM_EXPLAIN' => 'Notez que les administrateurs et modérateurs peuvent toujours vous envoyer des messages privés.', - 'ALREADY_ACTIVATED' => 'Votre compte a déjà été activé.', - 'ATTACHMENTS_EXPLAIN' => 'Liste des fichiers joints à vos messages dans le forum.', - 'ATTACHMENTS_DELETED' => 'Les fichiers joints ont été supprimés.', - 'ATTACHMENT_DELETED' => 'Le fichier joint a été supprimé.', - 'AVATAR_CATEGORY' => 'Catégorie', - 'AVATAR_EXPLAIN' => 'Dimensions maximales; largeur: %1$d pixels, hauteur: %2$d pixels, taille: %3$.2f Kio.', - 'AVATAR_FEATURES_DISABLED' => 'La fonctionnalité des avatars est actuellement désactivée.', - 'AVATAR_GALLERY' => 'Galerie locale', - 'AVATAR_GENERAL_UPLOAD_ERROR' => 'Impossible de charger l’avatar vers %s', - 'AVATAR_NOT_ALLOWED' => 'Votre avatar ne peut pas être affiché car les avatars sont désactivés.', - 'AVATAR_PAGE' => 'Page', - 'AVATAR_TYPE_NOT_ALLOWED' => 'Votre avatar actuel ne peut pas être affiché car ce type d’avatar a été désactivé.', - - 'BACK_TO_DRAFTS' => 'Retour aux brouillons', - 'BACK_TO_LOGIN' => 'Retour à l’écran de connexion', - 'BIRTHDAY' => 'Anniversaire', - 'BIRTHDAY_EXPLAIN' => 'Indiquer une année permettra d’afficher votre âge lors de votre anniversaire.', - 'BOARD_DATE_FORMAT' => 'Format de la date', - 'BOARD_DATE_FORMAT_EXPLAIN' => 'La syntaxe utilisée est identique à la fonction PHP <a href="http://www.php.net/date">date()</a>.', - 'BOARD_DST' => 'Heure d’été en vigueur', - 'BOARD_LANGUAGE' => 'Langue', - 'BOARD_STYLE' => 'Style', - 'BOARD_TIMEZONE' => 'Fuseau horaire', - 'BOOKMARKS' => 'Favoris', - 'BOOKMARKS_EXPLAIN' => 'Vous pouvez enregistrer des sujets dans vos favoris pour vous y référer ultérieurement. Utilisez les cases à cocher pour sélectionner des favoris, et choisissez le bouton <em>Supprimer</em>.', - 'BOOKMARKS_DISABLED' => 'Les favoris sont désactivés sur ce forum.', - 'BOOKMARKS_REMOVED' => 'Les favoris ont été supprimés.', - - 'CANNOT_EDIT_MESSAGE_TIME' => 'Vous ne pouvez plus modifier ou supprimer ce message.', - 'CANNOT_MOVE_TO_SAME_FOLDER'=> 'Les messages ne peuvent pas être déplacés dans le dossier que vous souhaitez supprimer.', - 'CANNOT_MOVE_FROM_SPECIAL' => 'Les messages ne peuvent pas être déplacés de la boîte d’envoi.', - 'CANNOT_RENAME_FOLDER' => 'Ce dossier ne peut pas être renommé.', - 'CANNOT_REMOVE_FOLDER' => 'Ce dossier ne peut pas être supprimé.', - 'CHANGE_DEFAULT_GROUP' => 'Changer de groupe par défaut', - 'CHANGE_PASSWORD' => 'Changer de mot de passe', - 'CLICK_RETURN_FOLDER' => '%1$s Retour à votre dossier “%3$s” %2$s', - 'CONFIRMATION' => 'Confirmation d’inscription', - 'CONFIRM_CHANGES' => 'Confirmation des modifications', - 'CONFIRM_EMAIL' => 'Confirmation de l’adresse e-mail', - 'CONFIRM_EMAIL_EXPLAIN' => 'Vous devez l’indiquer uniquement en cas de modification de votre adresse e-mail.', - 'CONFIRM_EXPLAIN' => 'Pour éviter les inscriptions automatisées, l’administrateur exige la saisie d’un code de confirmation. Ce code est inscrit dans l’image affichée ci-dessous. Si vous êtes déficient visuel ou si vous ne pouvez pas lire ce code, contactez %sl’administrateur de ce forum%s.', - 'VC_REFRESH' => 'Rafraîchir le code de confirmation', - 'VC_REFRESH_EXPLAIN' => 'Si vous n’arrivez pas à lire le code, vous pouvez en demander un nouveau en cliquant.', - 'CONFIRM_PASSWORD' => 'Confirmation du mot de passe', - 'CONFIRM_PASSWORD_EXPLAIN' => 'Vous devez confirmer le mot de passe uniquement si vous l’avez modifié ci-dessus.', - 'COPPA_BIRTHDAY' => 'Pour continuer l’inscription, indiquez votre date de naissance.', - 'COPPA_COMPLIANCE' => 'Certification COPPA', - 'COPPA_EXPLAIN' => 'Notez qu’en cliquant sur valider, votre compte sera créé. Il ne sera cependant activé que si un parent ou tuteur approuve votre inscription. Une copie du formulaire à renvoyer vous a été adressée par e-mail.', - 'CREATE_FOLDER' => 'Nouveau dossier…', - 'CURRENT_IMAGE' => 'Image actuelle', - 'CURRENT_PASSWORD' => 'Mot de passe actuel', - 'CURRENT_PASSWORD_EXPLAIN' => 'Vous ne devez confirmer votre mot de passe actuel que si vous désirez modifier votre mot de passe, e-mail ou nom d’utilisateur.', - 'CUR_PASSWORD_ERROR' => 'Le mot de passe actuel indiqué est incorrect.', - 'CUSTOM_DATEFORMAT' => 'Personnalisé…', - - 'DEFAULT_ACTION' => 'Action par défaut', - 'DEFAULT_ACTION_EXPLAIN' => 'Cette action sera activée si aucune ci-dessus n’est applicable.', - 'DEFAULT_ADD_SIG' => 'Attacher ma signature', - 'DEFAULT_BBCODE' => 'Activer les BBCodes', - 'DEFAULT_NOTIFY' => 'Surveiller les réponses', - 'DEFAULT_SMILIES' => 'Activer les smileys', - 'DEFINED_RULES' => 'Filtres prédéfinis', - 'DELETED_TOPIC' => 'Le sujet a été supprimé.', - 'DELETE_ATTACHMENT' => 'Supprimer le fichier joint', - 'DELETE_ATTACHMENTS' => 'Supprimer les fichiers joints', - 'DELETE_ATTACHMENT_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer ce fichier joint?', - 'DELETE_ATTACHMENTS_CONFIRM'=> 'Êtes-vous sûr de vouloir supprimer ces fichiers joints?', - 'DELETE_AVATAR' => 'Supprimer l’image', - 'DELETE_COOKIES_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer tous les cookies de ce forum?', - 'DELETE_MARKED_PM' => 'Supprimer les messages sélectionnés', - 'DELETE_MARKED_PM_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer tous les messages sélectionnés?', - 'DELETE_OLDEST_MESSAGES' => 'Supprimer les anciens messages', - 'DELETE_MESSAGE' => 'Supprimer le message', - 'DELETE_MESSAGE_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer ce message privé?', - 'DELETE_MESSAGES_IN_FOLDER' => 'Supprimer définitivement tous les messages du dossier des messages supprimés', - 'DELETE_RULE' => 'Supprimer le filtre', - 'DELETE_RULE_CONFIRM' => 'Êtes-vous sûr de vouloir supprimer ce filtre?', - 'DEMOTE_SELECTED' => 'Rétrograder de la sélection', - 'DISABLE_CENSORS' => 'Activer la censure de mots', - 'DISPLAY_GALLERY' => 'Afficher la galerie', - 'DOMAIN_NO_MX_RECORD_EMAIL' => 'Le domaine de l’adresse e-mail saisie n’est pas dans le registre MX.', - 'DOWNLOADS' => 'Téléchargements', - 'DRAFTS_DELETED' => 'Tous les brouillons sélectionnés ont été supprimés.', - 'DRAFTS_EXPLAIN' => 'Ici, vous pouvez afficher, modifier et supprimer les brouillons enregistrés.', - 'DRAFT_UPDATED' => 'Le brouillon a été mis à jour.', - - 'EDIT_DRAFT_EXPLAIN' => 'Vous pouvez modifier votre brouillon. Les brouillons ne contiennent pas les fichiers joints et les sondages.', - 'EMAIL_BANNED_EMAIL' => 'L’adresse e-mail saisie est interdite.', - 'EMAIL_INVALID_EMAIL' => 'L’adresse e-mail saisie est invalide.', - 'EMAIL_REMIND' => 'Adresse e-mail associée à votre compte. Si vous ne l’avez pas modifiée via votre panneau d’utilisateur, il s’agit de l’adresse que vous avez fournie lors de votre inscription.', - 'EMAIL_TAKEN_EMAIL' => 'Cette adresse e-mail est déjà utilisée.', - 'EMPTY_DRAFT' => 'Vous devez saisir un message pour créer un brouillon.', - 'EMPTY_DRAFT_TITLE' => 'Vous devez saisir un titre pour le brouillon.', - 'EXPORT_AS_XML' => 'Exporter en XML', - 'EXPORT_AS_CSV' => 'Exporter en CSV', - 'EXPORT_AS_CSV_EXCEL' => 'Exporter en CSV (Excel)', - 'EXPORT_AS_TXT' => 'Exporter en TXT', - 'EXPORT_AS_MSG' => 'Exporter en MSG', - 'EXPORT_FOLDER' => 'Exporter le dossier', - - 'FIELD_REQUIRED' => 'Le champ “%s” doit être rempli.', - 'FIELD_TOO_SHORT' => 'Le champ “%1$s” est trop court, il doit comporter %2$d caractères au minimum.', - 'FIELD_TOO_LONG' => 'Le champ “%1$s” est trop long, il doit comporter %2$d caractères au maximum.', - 'FIELD_TOO_SMALL' => 'La valeur de “%1$s” est trop petite, elle doit être de %2$d au minimum.', - 'FIELD_TOO_LARGE' => 'La valeur de “%1$s” est trop grande, elle doit être de %2$d au maximum.', - 'FIELD_INVALID_CHARS_NUMBERS_ONLY' => 'Le champ “%s” comporte des caractères invalides, seuls les nombres sont permis.', - 'FIELD_INVALID_CHARS_ALPHA_ONLY' => 'Le champ “%s” comporte des caractères invalides, seuls les caractères alphanumériques sont permis.', - 'FIELD_INVALID_CHARS_SPACERS_ONLY' => 'Le champ “%s” comporte des caractères invalides, seuls les alphanumériques, espaces ou les caractères -+_[] sont permis.', - 'FIELD_INVALID_DATE' => 'Le champ “%s” a une date invalide.', - - 'FOE_MESSAGE' => 'Message d’un ignoré', - 'FOES_EXPLAIN' => 'Les ignorés sont les membres dont les messages ne seront pas entièrement visibles, mais ils peuvent toujours vous envoyer des messages privés. Notez que vous ne pouvez pas ignorer les modérateurs ou les administrateurs.', - 'FOES_UPDATED' => 'Votre liste d’ignorés a été mise à jour.', - 'FOLDER_ADDED' => 'Le dossier a été ajouté.', - 'FOLDER_MESSAGE_STATUS' => '%1$d sur %2$d messages enregistrés', - 'FOLDER_NAME_EMPTY' => 'Vous devez taper un nom pour ce répertoire.', - 'FOLDER_NAME_EXIST' => 'Le dossier <strong>%s</strong> existe déjà.', - 'FOLDER_OPTIONS' => 'Options du dossier', - 'FOLDER_RENAMED' => 'Le dossier a été renommé.', - 'FOLDER_REMOVED' => 'Le dossier a été supprimé.', - 'FOLDER_STATUS_MSG' => 'Dossier plein à %1$d%% (%2$d sur %3$d messages)', - 'FORWARD_PM' => 'Transmettre le message privé', - 'FORCE_PASSWORD_EXPLAIN' => 'Avant de continuer de consulter le forum, vous devez modifier votre mot de passe.', - 'FRIEND_MESSAGE' => 'Message d’un ami', - 'FRIENDS' => 'Amis', - 'FRIENDS_EXPLAIN' => 'La liste d’amis permet un accès rapide aux membres avec lesquels vous discutez souvent. Si le style le permet, leurs messages seront mis en valeur.', - 'FRIENDS_OFFLINE' => 'Hors ligne', - 'FRIENDS_ONLINE' => 'En ligne', - 'FRIENDS_UPDATED' => 'Votre liste d’amis a été mise à jour.', - 'FULL_FOLDER_OPTION_CHANGED'=> 'L’action à effectuer dès qu’un dossier est plein a été modifiée.', - 'FWD_ORIGINAL_MESSAGE' => '-------- Message original --------', - 'FWD_SUBJECT' => 'Sujet: %s', - 'FWD_DATE' => 'Date: %s', - 'FWD_FROM' => 'De: %s', - 'FWD_TO' => 'A: %s', - - 'GLOBAL_ANNOUNCEMENT' => 'Annonce globale', - - 'HIDE_ONLINE' => 'Cacher mon statut en ligne', - 'HIDE_ONLINE_EXPLAIN' => 'Le changement de ce paramètre ne sera effectif que lors de votre prochaine connexion au forum.', - 'HOLD_NEW_MESSAGES' => 'Refuser les nouveaux messages (dans l’attente d’espace disponible)', - 'HOLD_NEW_MESSAGES_SHORT' => 'Renvoyer plus tard les nouveaux messages', - - 'IF_FOLDER_FULL' => 'Si le dossier est plein', - 'IMPORTANT_NEWS' => 'Annonces importantes', - 'INVALID_USER_BIRTHDAY' => 'La date anniversaire indiquée est incorrecte.', - 'INVALID_CHARS_USERNAME' => 'Le nom d’utilisateur contient des caractères interdits.', - 'INVALID_CHARS_NEW_PASSWORD'=> 'Le mot de passe ne contient pas les caractères requis.', - 'ITEMS_REQUIRED' => 'Les éléments marqués par une * sont des champs obligatoires du profil et doivent être remplis.', - - 'JOIN_SELECTED' => 'Rejoindre la sélection', - - 'LANGUAGE' => 'Langue', - 'LINK_REMOTE_AVATAR' => 'Lien distant', - 'LINK_REMOTE_AVATAR_EXPLAIN' => 'Saisissez l’URL de l’image à utiliser pour votre avatar.', - 'LINK_REMOTE_SIZE' => 'Dimensions de l’avatar', - 'LINK_REMOTE_SIZE_EXPLAIN' => 'Précisez la largeur et la hauteur de l’avatar, laissez blanc pour tenter une vérification automatique.', - 'LOGIN_EXPLAIN_UCP' => 'Connectez-vous pour accéder à votre panneau d’utilisateur.', - 'LOGIN_REDIRECT' => 'Vous êtes maintenant connecté au forum.', - 'LOGOUT_FAILED' => 'Vous n’avez pas été déconnecté car la requête ne correspondait pas à votre session. Si le problème persiste, contactez l’administrateur.', - 'LOGOUT_REDIRECT' => 'Vous êtes maintenant déconnecté du forum.', - - 'MARK_IMPORTANT' => 'Marquer/Ne pas marquer comme important', - 'MARKED_MESSAGE' => 'Message marqué', - 'MAX_FOLDER_REACHED' => 'Le nombre maximum de dossiers a été atteint.', - 'MESSAGE_BY_AUTHOR' => 'de', - 'MESSAGE_COLOURS' => 'Couleurs du message', - 'MESSAGE_DELETED' => 'Le message a été supprimé.', - 'MESSAGE_HISTORY' => 'Revue du message', - 'MESSAGE_REMOVED_FROM_OUTBOX' => 'Ce message a été supprimé par son auteur avant d’avoir été délivré.', - 'MESSAGE_SENT_ON' => 'le', - 'MESSAGE_STORED' => 'Votre message a été envoyé.', - 'MESSAGE_TO' => 'A', - 'MESSAGES_DELETED' => 'Les messages ont été supprimés', - 'MOVE_DELETED_MESSAGES_TO' => 'Déplacer les messages supprimés vers', - 'MOVE_DOWN' => 'Descendre', - 'MOVE_MARKED_TO_FOLDER' => 'Déplacer la sélection vers %s', - 'MOVE_PM_ERROR' => 'Une erreur est survenue en déplaçant les messages vers le nouveau dossier, seuls %1d des %2d messages ont été déplacés.', - 'MOVE_TO_FOLDER' => 'Déplacer vers le dossier', - 'MOVE_UP' => 'Monter', - - 'NEW_EMAIL_ERROR' => 'Les adresses e-mails saisies ne concordent pas.', - 'NEW_FOLDER_NAME' => 'Nouveau nom de dossier', - 'NEW_PASSWORD' => 'Nouveau mot de passe', - 'NEW_PASSWORD_ERROR' => 'Les mots de passe saisis ne concordent pas.', - 'NOTIFY_METHOD' => 'Méthode de notification', - 'NOTIFY_METHOD_BOTH' => 'Les deux', - 'NOTIFY_METHOD_EMAIL' => 'E-mail uniquement', - 'NOTIFY_METHOD_EXPLAIN' => 'Méthode pour l’envoi de messages via ce forum.', - 'NOTIFY_METHOD_IM' => 'Jabber uniquement', - 'NOTIFY_ON_PM' => 'M’avertir des nouveaux messages privés', - 'NOT_ADDED_FRIENDS_ANONYMOUS' => 'Vous ne pouvez pas ajouter un invité à votre liste d’amis.', - 'NOT_ADDED_FRIENDS_BOTS' => 'Vous ne pouvez pas ajouter de robots à votre liste d’amis.', - 'NOT_ADDED_FRIENDS_FOES' => 'Vous ne pouvez pas ajouter à votre liste d’amis des utilisateurs qui sont sur votre liste d’ignorés.', - 'NOT_ADDED_FRIENDS_SELF' => 'Vous ne pouvez pas vous ajouter à votre liste d’amis.', - 'NOT_ADDED_FOES_MOD_ADMIN' => 'Vous ne pouvez pas ajouter d’administrateurs ni de modérateurs à votre liste d’ignorés.', - 'NOT_ADDED_FOES_ANONYMOUS' => 'Vous ne pouvez pas ajouter un invité à votre liste d’ignorés.', - 'NOT_ADDED_FOES_BOTS' => 'Vous ne pouvez pas ajouter de robots à votre liste d’ignorés.', - 'NOT_ADDED_FOES_FRIENDS' => 'Vous ne pouvez pas ajouter à votre liste d’ignorés des utilisateurs qui sont sur votre liste d’amis.', - 'NOT_ADDED_FOES_SELF' => 'Vous ne pouvez pas vous ajouter à votre liste d’ignorés.', - 'NOT_AGREE' => 'Je n’accepte pas ces conditions', - 'NOT_ENOUGH_SPACE_FOLDER' => 'Le dossier “%s” est plein. L’action n’a pas été effectuée.', - 'NOT_MOVED_MESSAGE' => 'Vous avez actuellement un message en attente car le dossier est plein.', - 'NOT_MOVED_MESSAGES' => 'Vous avez %d messages en attente car le dossier est plein.', - 'NO_ACTION_MODE' => 'Aucune action indiquée.', - 'NO_AUTHOR' => 'Aucun auteur n’est défini pour ce message', - 'NO_AVATAR_CATEGORY' => 'Aucune', - - 'NO_AUTH_DELETE_MESSAGE' => 'Vous n’êtes pas autorisé à supprimer les messages privés.', - 'NO_AUTH_EDIT_MESSAGE' => 'Vous n’êtes pas autorisé à éditer les messages privés.', - 'NO_AUTH_FORWARD_MESSAGE' => 'Vous n’êtes pas autorisé à transférer les messages privés.', - 'NO_AUTH_GROUP_MESSAGE' => 'Vous n’êtes pas autorisé à envoyer de messages privés à des groupes.', - 'NO_AUTH_PASSWORD_REMINDER' => 'Vous n’êtes pas autorisé à demander un nouveau mot de passe.', - 'NO_AUTH_READ_HOLD_MESSAGE' => 'Vous n’êtes pas autorisé à lire les messages privés qui sont en attente.', - 'NO_AUTH_READ_MESSAGE' => 'Vous n’êtes pas autorisé à lire les messages privés.', - 'NO_AUTH_READ_REMOVED_MESSAGE' => 'Vous n’êtes pas autorisé à lire ce message privé car son auteur l’a supprimé.', - 'NO_AUTH_SEND_MESSAGE' => 'Vous n’êtes pas autorisé à envoyer de messages privés.', - 'NO_AUTH_SIGNATURE' => 'Vous n’êtes pas autorisé à créer de signature', - - 'NO_BCC_RECIPIENT' => 'Aucun', - 'NO_BOOKMARKS' => 'Vous n’avez pas de favoris.', - 'NO_BOOKMARKS_SELECTED' => 'Vous n’avez choisi aucun favori.', - 'NO_EDIT_READ_MESSAGE' => 'Ce message privé ne peut pas être édité, car il a déja été lu par son destinataire.', - 'NO_EMAIL_USER' => 'L’e-mail/nom d’utilisateur fourni est introuvable.', - 'NO_FOES' => 'Aucun ignoré actuellement', - 'NO_FRIENDS' => 'Aucun ami actuellement', - 'NO_FRIENDS_OFFLINE' => 'Aucun ami hors ligne', - 'NO_FRIENDS_ONLINE' => 'Aucun ami en ligne', - 'NO_GROUP_SELECTED' => 'Aucun groupe indiqué.', - 'NO_IMPORTANT_NEWS' => 'Aucune annonce importante.', - 'NO_MESSAGE' => 'Le message privé est introuvable.', - 'NO_NEW_FOLDER_NAME' => 'Vous devez indiquer un nouveau nom de dossier.', - 'NO_NEWER_PM' => 'Aucun nouveau message.', - 'NO_OLDER_PM' => 'Aucun ancien message.', - 'NO_PASSWORD_SUPPLIED' => 'Vous ne pouvez pas vous connecter sans mot de passe.', - 'NO_RECIPIENT' => 'Aucun destinataire.', - 'NO_RULES_DEFINED' => 'Aucun filtre défini.', - 'NO_SAVED_DRAFTS' => 'Aucun brouillon sauvegardé.', - 'NO_TO_RECIPIENT' => 'Aucun', - 'NO_WATCHED_FORUMS' => 'Vous ne surveillez aucun forum.', - 'NO_WATCHED_SELECTED' => 'Vous n’avez sélectionné aucun forums ou sujets surveillés.', - 'NO_WATCHED_TOPICS' => 'Vous ne surveillez aucun sujet.', - - 'PASS_TYPE_ALPHA_EXPLAIN' => 'Le mot de passe doit avoir une longueur comprise entre %1$d et %2$d caractères et doit contenir des lettres de casse mélangée et des chiffres.', - 'PASS_TYPE_ANY_EXPLAIN' => 'Le mot de passe doit avoir une longueur comprise entre %1$d et %2$d caractères.', - 'PASS_TYPE_CASE_EXPLAIN' => 'Le mot de passe doit avoir une longueur comprise entre %1$d et %2$d caractères et doit contenir des lettres de casse mélangée.', - 'PASS_TYPE_SYMBOL_EXPLAIN' => 'Le mot de passe doit avoir une longueur comprise entre %1$d et %2$d caractères et doit contenir des lettres de casse mélangée, des chiffres et des symboles.', - 'PASSWORD' => 'Mot de passe', - 'PASSWORD_ACTIVATED' => 'Votre nouveau mot de passe a été activé.', - 'PASSWORD_UPDATED' => 'Un nouveau mot de passe a été envoyé à votre adresse e-mail.', - 'PERMISSIONS_RESTORED' => 'Les permissions d’origine ont été restaurées.', - 'PERMISSIONS_TRANSFERRED' => 'Les permissions ont été transférées depuis <strong>%s</strong>, vous pouvez maintenant parcourir le forum avec les permissions de cet utilisateur.<br />Notez que les permissions d’administration n’ont pas été transférées. Vous pouvez réinitialiser vos permissions à tout moment.', - 'PM_DISABLED' => 'La messagerie privée a été désactivée sur ce forum.', - 'PM_FROM' => 'De', - 'PM_FROM_REMOVED_AUTHOR' => 'Le message a été envoyé par un utilisateur qui n’est plus enregistré.', - 'PM_ICON' => 'Icône de message', - 'PM_INBOX' => 'Boîte de réception', - 'PM_NO_USERS' => 'L’utilisateur que vous voulez ajouter n’existe pas.', - 'PM_OUTBOX' => 'Boîte d’envoi', - 'PM_SENTBOX' => 'Messages envoyés', - 'PM_SUBJECT' => 'Sujet du message', - 'PM_TO' => 'Envoyer à', - 'PM_USERS_REMOVED_NO_PM' => 'Certains utilisateurs n’ont pas pu être ajoutés car ils ont désactivé leur boîte de messagerie privée.', - 'POPUP_ON_PM' => 'Fenêtre pop-up lors de nouveaux messages privés', - 'POST_EDIT_PM' => 'Editer le message', - 'POST_FORWARD_PM' => 'Transmettre le message', - 'POST_NEW_PM' => 'Envoyer', - 'POST_PM_LOCKED' => 'La messagerie privée est verrouillée.', - 'POST_PM_POST' => 'Poster le message', - 'POST_QUOTE_PM' => 'Citer le message', - 'POST_REPLY_PM' => 'Répondre au message', - 'PRINT_PM' => 'Imprimer', - 'PREFERENCES_UPDATED' => 'Vos préférences ont été mises à jour.', - 'PROFILE_INFO_NOTICE' => 'Ces informations sont visibles par les autres membres. Soyez vigilant lors de la saisie d’informations personnelles. Tous les champs marqués par une * sont obligatoires.', - 'PROFILE_UPDATED' => 'Votre profil a été mis à jour.', - - 'RECIPIENT' => 'Destinataire', - 'RECIPIENTS' => 'Destinataires', - 'REGISTRATION' => 'Inscription', - 'RELEASE_MESSAGES' => '%sRecevoir les messages en attente%s… ils seront reclassés dans les dossiers adéquats si l’espace nécessaire est disponible.', - 'REMOVE_ADDRESS' => 'Supprimer l’adresse', - 'REMOVE_SELECTED_BOOKMARKS' => 'Supprimer les favoris sélectionnés', - 'REMOVE_SELECTED_BOOKMARKS_CONFIRM' => 'Souhaitez-vous supprimer les favoris sélectionnés?', - 'REMOVE_BOOKMARK_MARKED' => 'Supprimer', - 'REMOVE_FOLDER' => 'Supprimer le dossier', - 'REMOVE_FOLDER_CONFIRM' => 'Souhaitez-vous supprimer ce dossier?', - 'RENAME' => 'Renommer', - 'RENAME_FOLDER' => 'Renommer le dossier', - 'REPLIED_MESSAGE' => 'Réponse au message', - 'REPLY_TO_ALL' => 'Répondre à l’expéditeur et à tous les destinataires.', - 'REPORT_PM' => 'Rapporter le message privé', - 'RESIGN_SELECTED' => 'Démissionner de la sélection', - 'RETURN_FOLDER' => '%1$sRetour au dossier précédent%2$s', - 'RETURN_UCP' => '%sRetour au panneau de l’utilisateur%s', - 'RULE_ADDED' => 'Le filtre a été ajouté.', - 'RULE_ALREADY_DEFINED' => 'Ce filtre existe déjà.', - 'RULE_DELETED' => 'Ce filtre a été supprimé.', - 'RULE_NOT_DEFINED' => 'Ce filtre est incorrect.', - 'RULE_REMOVED_MESSAGE' => 'Un message privé a été supprimé en raison des filtres de la messagerie privée.', - 'RULE_REMOVED_MESSAGES' => '%d messages privés ont été supprimés en raison des filtres de la messagerie privée.', - - 'SAME_PASSWORD_ERROR' => 'Le nouveau mot de passe saisi est identique à votre mot de passe actuel.', - 'SEARCH_YOUR_POSTS' => 'Voir vos messages', - 'SEND_PASSWORD' => 'Envoyer votre mot de passe', - 'SENT_AT' => 'Envoyé', // Used before dates in private messages - 'SHOW_EMAIL' => 'Recevoir les e-mails des utilisateurs', - 'SIGNATURE_EXPLAIN' => 'Voici le texte qui peut être ajouté à vos messages. Il y a une limite de %d caractères.', - 'SIGNATURE_PREVIEW' => 'Votre signature apparaîtra ainsi dans vos messages', - 'SIGNATURE_TOO_LONG' => 'Votre signature est trop longue.', - 'SORT' => 'Trier', - 'SORT_COMMENT' => 'Commentaire', - 'SORT_DOWNLOADS' => 'Téléchargements', - 'SORT_EXTENSION' => 'Extension', - 'SORT_FILENAME' => 'Nom du fichier', - 'SORT_POST_TIME' => 'Date de publication', - 'SORT_SIZE' => 'Taille du fichier', - - 'TIMEZONE' => 'Fuseau horaire', - 'TO' => 'A', - 'TOO_MANY_RECIPIENTS' => 'Vous avez essayé d’envoyer un message privé à trop de destinataires à la fois.', - 'TOO_MANY_REGISTERS' => 'Vous avez atteint le nombre maximum de tentatives d’inscription. Réessayez plus tard.', - - 'UCP' => 'Panneau de l’utilisateur', - 'UCP_ACTIVATE' => 'Activer le compte', - 'UCP_ADMIN_ACTIVATE' => 'Notez que vous devez entrer une adresse e-mail valide pour activer votre compte. L’administrateur vérifiera votre compte et s’il est accepté vous recevrez un e-mail à l’adresse indiquée.', - 'UCP_AIM' => 'Messagerie instantanée AOL', - 'UCP_ATTACHMENTS' => 'Gestion des fichiers joints', - 'UCP_COPPA_BEFORE' => 'Avant le %s', - 'UCP_COPPA_ON_AFTER' => 'Le ou après le %s', - 'UCP_EMAIL_ACTIVATE' => 'Notez que vous devez entrer une adresse e-mail valide pour activer votre compte. Vous recevrez un e-mail à l’adresse indiquée contenant le lien d’activation de votre compte.', - 'UCP_ICQ' => 'Numéro ICQ', - 'UCP_JABBER' => 'Adresse Jabber', - - 'UCP_MAIN' => 'Aperçu', - 'UCP_MAIN_ATTACHMENTS' => 'Gestion des fichiers joints', - 'UCP_MAIN_BOOKMARKS' => 'Gestion des favoris', - 'UCP_MAIN_DRAFTS' => 'Gestion des brouillons', - 'UCP_MAIN_FRONT' => 'Page principale', - 'UCP_MAIN_SUBSCRIBED' => 'Gestion des surveillances', - - 'UCP_MSNM' => 'WL/MSN Messenger', - 'UCP_NO_ATTACHMENTS' => 'Aucun fichier envoyé.', - - 'UCP_PREFS' => 'Préférences du forum', - 'UCP_PREFS_PERSONAL' => 'Modifier les préférences générales', - 'UCP_PREFS_POST' => 'Modifier les préférences de message', - 'UCP_PREFS_VIEW' => 'Modifier les options d’affichage', - - 'UCP_PM' => 'Messages privés', - 'UCP_PM_COMPOSE' => 'Rédiger un message', - 'UCP_PM_DRAFTS' => 'Gestion des brouillons de MP', - 'UCP_PM_OPTIONS' => 'Paramètres des options', - 'UCP_PM_POPUP' => 'Messages privés', - 'UCP_PM_POPUP_TITLE' => 'Messages privés pop-up', - 'UCP_PM_UNREAD' => 'Messages non lus', - 'UCP_PM_VIEW' => 'Lire les messages', - - 'UCP_PROFILE' => 'Profil', - 'UCP_PROFILE_AVATAR' => 'Modifier l’avatar', - 'UCP_PROFILE_PROFILE_INFO' => 'Modifier le profil', - 'UCP_PROFILE_REG_DETAILS' => 'Modifier les paramètres du compte', - 'UCP_PROFILE_SIGNATURE' => 'Modifier la signature', - - 'UCP_USERGROUPS' => 'Groupes d’utilisateurs', - 'UCP_USERGROUPS_MEMBER' => 'Modifier les adhésions', - 'UCP_USERGROUPS_MANAGE' => 'Gestion des groupes', - - 'UCP_REGISTER_DISABLE' => 'L’enregistrement est temporairement désactivé.', - 'UCP_REMIND' => 'Envoyer le mot de passe', - 'UCP_RESEND' => 'Envoyer l’e-mail d’activation', - 'UCP_WELCOME' => 'Bienvenue dans le panneau de l’utilisateur. D’ici vous pouvez surveiller, voir et modifier votre profil, vos préférences, les surveillances de forums et de sujets. Vous pouvez également (si vous y êtes autorisé) envoyer des messages à d’autres membres. Assurez-vous d’avoir lu toutes les annonces avant de continuer.', - 'UCP_YIM' => 'Yahoo Messenger', - 'UCP_ZEBRA' => 'Amis & Ignorés', - 'UCP_ZEBRA_FOES' => 'Gestion des ignorés', - 'UCP_ZEBRA_FRIENDS' => 'Gestion des amis', - 'UNDISCLOSED_RECIPIENT' => 'Destinataire non divulgué', - 'UNKNOWN_FOLDER' => 'Dossier inconnu', - 'UNWATCH_MARKED' => 'Ne plus surveiller', - 'UPLOAD_AVATAR_FILE' => 'Charger depuis votre ordinateur', - 'UPLOAD_AVATAR_URL' => 'Charger depuis une URL', - 'UPLOAD_AVATAR_URL_EXPLAIN' => 'Saisissez l’URL de l’image. L’image sera copiée vers ce site.', - 'USERNAME_ALPHA_ONLY_EXPLAIN' => 'Le nom d’utilisateur doit contenir de %1$d à %2$d caractères et uniquement des caractères alphanumériques.', - 'USERNAME_ALPHA_SPACERS_EXPLAIN' => 'Le nom d’utilisateur doit contenir de %1$d à %2$d caractères et uniquement des caractères alphanumériques, espaces ou des caractères -+_[].', - 'USERNAME_ASCII_EXPLAIN' => 'Le nom d’utilisateur doit contenir de %1$d à %2$d caractères et ne doit être composé que des caractères ASCII (pas de symboles spéciaux).', - 'USERNAME_LETTER_NUM_EXPLAIN' => 'Le nom d’utilisateur doit contenir de %1$d à %2$d caractères et ne doit être composé que de lettres ou de chiffres.', - 'USERNAME_LETTER_NUM_SPACERS_EXPLAIN' => 'Le nom d’utilisateur doit contenir de %1$d à %2$d caractères et peut être composé de lettres, de chiffres, d’espaces ou des caractères -+_[].', - 'USERNAME_CHARS_ANY_EXPLAIN' => 'La longueur doit être comprise entre %1$d et %2$d caractères.', - 'USERNAME_TAKEN_USERNAME' => 'Le nom d’utilisateur choisi est déjà utilisé, choisissez-en un autre.', - 'USERNAME_DISALLOWED_USERNAME' => 'Le nom d’utilisateur indiqué à été banni ou bien contient un mot interdit. Choisissez-en un autre.', - 'USER_NOT_FOUND_OR_INACTIVE' => 'Les noms d’utilisateurs indiqués sont introuvables ou sont des utilisateurs non activés.', - - 'VIEW_AVATARS' => 'Afficher les avatars', - 'VIEW_EDIT' => 'Voir/modifier', - 'VIEW_FLASH' => 'Afficher les animations Flash', - 'VIEW_IMAGES' => 'Afficher les images dans les messages', - 'VIEW_NEXT_HISTORY' => 'MP suivant chronologiquement', - 'VIEW_NEXT_PM' => 'MP suivant', - 'VIEW_PM' => 'Lire le message privé', - 'VIEW_PM_INFO' => 'Détails du message', - 'VIEW_PM_MESSAGE' => '1 message', - 'VIEW_PM_MESSAGES' => '%d messages', - 'VIEW_PREVIOUS_HISTORY' => 'Historique de la conversation', - 'VIEW_PREVIOUS_PM' => 'MP précédent', - 'VIEW_SIGS' => 'Afficher les signatures', - 'VIEW_SMILIES' => 'Afficher les smileys comme des images', - 'VIEW_TOPICS_DAYS' => 'Afficher les sujets des jours précédents', - 'VIEW_TOPICS_DIR' => 'Afficher les sujets dans un ordre', - 'VIEW_TOPICS_KEY' => 'Afficher les sujets triés par', - 'VIEW_POSTS_DAYS' => 'Afficher les messages des jours précédents', - 'VIEW_POSTS_DIR' => 'Afficher les messages dans un ordre', - 'VIEW_POSTS_KEY' => 'Afficher les messages triés par', - - 'WATCHED_EXPLAIN' => 'Vous pouvez afficher la liste des forums et sujets que vous surveillez. Vous serez informé des nouveaux messages écrits dans ceux-ci. Pour vous désabonner, cochez le forum ou le sujet et cliquez sur <em>Ne plus surveiller</em>.', - 'WATCHED_FORUMS' => 'Forums surveillés', - 'WATCHED_TOPICS' => 'Sujets surveillés', - 'WRONG_ACTIVATION' => 'La clé d’activation envoyée ne correspond pas à celle de la base de données.', - - 'YOUR_DETAILS' => 'Votre activité', - 'YOUR_FOES' => 'Vos ignorés', - 'YOUR_FOES_EXPLAIN' => 'Pour supprimer des utilisateurs “ignorés”, sélectionnez-les et cliquez sur envoyer.', - 'YOUR_FRIENDS' => 'Vos amis', - 'YOUR_FRIENDS_EXPLAIN' => 'Pour supprimer des utilisateurs “amis”, sélectionnez-les et cliquez sur envoyer.', - 'YOUR_WARNINGS' => 'Votre niveau d’avertissement', - - 'PM_ACTION' => array( - 'PLACE_INTO_FOLDER' => 'Placer dans le dossier', - 'MARK_AS_READ' => 'Marquer comme lu', - 'MARK_AS_IMPORTANT' => 'Marquer le message', - 'DELETE_MESSAGE' => 'Supprimer le message' - ), - 'PM_CHECK' => array( - 'SUBJECT' => 'Sujet', - 'SENDER' => 'Expéditeur', - 'MESSAGE' => 'Message', - 'STATUS' => 'Statut du message', - 'TO' => 'Envoyé' - ), - 'PM_RULE' => array( - 'IS_LIKE' => 'contient', - 'IS_NOT_LIKE' => 'ne contient pas', - 'IS' => 'est', - 'IS_NOT' => 'n’est pas', - 'BEGINS_WITH' => 'commence par', - 'ENDS_WITH' => 'finit par', - 'IS_FRIEND' => 'est un ami', - 'IS_FOE' => 'est un ignoré', - 'IS_USER' => 'est l’utilisateur', - 'IS_GROUP' => 'est dans le groupe', - 'ANSWERED' => 'répondu', - 'FORWARDED' => 'transmis', - 'TO_GROUP' => 'à mon groupe par défaut', - 'TO_ME' => 'à moi' - ), - - - 'GROUPS_EXPLAIN' => 'Les groupes d’utilisateurs permettent aux administrateurs de mieux gérer leurs utilisateurs. Par défaut vous serez placé dans un groupe particulier, il s’agit de votre groupe par défaut. Ce groupe définit comment vous apparaissez sur le forum, par exemple la couleur de votre nom d’utilisateur, votre avatar, votre rang, etc. Si l’administrateur le permet, vous serez autorisé à changer votre groupe par défaut. Vous pouvez être placé ou rejoindre d’autres groupes. Certains groupes peuvent vous donner des permissions supplémentaires de lecture ou vous donner accès à d’autres fonctionnalités du forum.', - 'GROUP_LEADER' => 'Chef de groupe', - 'GROUP_MEMBER' => 'Membres', - 'GROUP_PENDING' => 'Membres en attente', - 'GROUP_NONMEMBER' => 'Non-membres', - 'GROUP_DETAILS' => 'Informations sur le groupe', - - 'NO_LEADER' => 'Aucun modérateur de groupe', - 'NO_MEMBER' => 'Aucun membre de groupe', - 'NO_PENDING' => 'Aucun membre en attente', - 'NO_NONMEMBER' => 'Aucun non-membre des groupes', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/viewforum.php b/phpBB/language/fr/viewforum.php deleted file mode 100644 index db91f44cf8..0000000000 --- a/phpBB/language/fr/viewforum.php +++ /dev/null @@ -1,72 +0,0 @@ -<?php -/** -* -* viewforum [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: viewforum.php, v1.25 2009/12/16 16:36:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ACTIVE_TOPICS' => 'Sujets actifs', - 'ANNOUNCEMENTS' => 'Annonces', - - 'FORUM_PERMISSIONS' => 'Permissions du forum', - - 'ICON_ANNOUNCEMENT' => 'Annonce', - 'ICON_STICKY' => 'Post-it', - - 'LOGIN_NOTIFY_FORUM' => 'Vous avez été averti de la présence d’un nouveau message dans ce forum, connectez-vous pour y accéder.', - - 'MARK_TOPICS_READ' => 'Marquer tous les sujets comme lus', - - 'NEW_POSTS_HOT' => 'Nouveaux messages [ Populaires ]', // Not used anymore - 'NEW_POSTS_LOCKED' => 'Nouveaux messages [ Verrouillés ]', // Not used anymore - 'NO_NEW_POSTS_HOT' => 'Pas de nouveaux messages [ Populaires ]', // Not used anymore - 'NO_NEW_POSTS_LOCKED' => 'Pas de nouveaux messages [ Verrouillés ]', // Not used anymore - 'NO_READ_ACCESS' => 'Vous n’avez pas les permissions requises pour lire les sujets de ce forum.', - 'NO_UNREAD_POSTS_HOT' => 'Pas de messages non lus [ Populaires ]', - 'NO_UNREAD_POSTS_LOCKED' => 'Pas de messages non lus [ Verrouillés ]', - - 'POST_FORUM_LOCKED' => 'Le forum est verrouillé', - - 'TOPICS_MARKED' => 'Les sujets de ce forum ont été marqués comme lus.', - - 'UNREAD_POSTS_HOT' => 'Messages non lus [ Populaires ]', - 'UNREAD_POSTS_LOCKED' => 'Messages non lus [ Verrouillés ]', - - 'VIEW_FORUM' => 'Voir le forum', - 'VIEW_FORUM_TOPIC' => '1 sujet', - 'VIEW_FORUM_TOPICS' => '%d sujets', -)); - -?>
\ No newline at end of file diff --git a/phpBB/language/fr/viewtopic.php b/phpBB/language/fr/viewtopic.php deleted file mode 100644 index 1ee7b9fa92..0000000000 --- a/phpBB/language/fr/viewtopic.php +++ /dev/null @@ -1,118 +0,0 @@ -<?php -/** -* -* viewtopic [Standard french] -* translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> -* -* @package language -* @version $Id: viewtopic.php, v1.25 2009/10/16 15:13:00 Elglobo Exp $ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -* DO NOT CHANGE -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -if (empty($lang) || !is_array($lang)) -{ - $lang = array(); -} - -// DEVELOPERS PLEASE NOTE -// -// All language files should use UTF-8 as their encoding and the files must not contain a BOM. -// -// Placeholders can now contain order information, e.g. instead of -// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows -// translators to re-order the output of data while ensuring it remains correct -// -// You do not need this where single placeholders are used, e.g. 'Message %d' is fine -// equally where a string contains only two placeholders which are used to wrap text -// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine - -$lang = array_merge($lang, array( - 'ATTACHMENT' => 'Fichier(s) joint(s)', - 'ATTACHMENT_FUNCTIONALITY_DISABLED' => 'Les fichiers joints ont été désactivés.', - - 'BOOKMARK_ADDED' => 'Le sujet a été ajouté aux favoris.', - 'BOOKMARK_ERR' => 'Le sujet n’a pas pu être ajouté aux favoris. Essayez à nouveau.', - 'BOOKMARK_REMOVED' => 'Le sujet a été supprimé des favoris.', - 'BOOKMARK_TOPIC' => 'Ajouter ce sujet aux favoris', - 'BOOKMARK_TOPIC_REMOVE' => 'Supprimer ce sujet des favoris', - 'BUMPED_BY' => 'Sujet remonté par %1$s le %2$s.', - 'BUMP_TOPIC' => 'Remonter le sujet', - - 'CODE' => 'Code', - 'COLLAPSE_QR' => 'Masquer la réponse rapide', - - 'DELETE_TOPIC' => 'Supprimer le sujet', - 'DOWNLOAD_NOTICE' => 'Vous n’avez pas les permissions nécessaires pour voir les fichiers joints à ce message.', - - 'EDITED_TIMES_TOTAL' => 'Dernière édition par %1$s le %2$s, édité %3$d fois.', - 'EDITED_TIME_TOTAL' => 'Dernière édition par %1$s le %2$s, édité %3$d fois.', - 'EMAIL_TOPIC' => 'Envoyer par e-mail à un ami', - 'ERROR_NO_ATTACHMENT' => 'Le fichier joint sélectionné n’est plus disponible.', - - 'FILE_NOT_FOUND_404' => 'Le fichier <strong>%s</strong> n’existe pas.', - 'FORK_TOPIC' => 'Copier le sujet', - 'FULL_EDITOR' => 'Editeur complet', - - 'LINKAGE_FORBIDDEN' => 'Vous ne pouvez pas voir, télécharger ou joindre des fichiers à partir de ce site.', - 'LOGIN_NOTIFY_TOPIC' => 'Vous avez demandé à surveiller ce sujet. Connectez-vous pour le voir.', - 'LOGIN_VIEWTOPIC' => 'Vous devez être enregistré et connecté pour voir ce sujet.', - - 'MAKE_ANNOUNCE' => 'Mettre en “Annonce”', - 'MAKE_GLOBAL' => 'Mettre en “Annonce globale”', - 'MAKE_NORMAL' => 'Mettre en “Sujet standard”', - 'MAKE_STICKY' => 'Mettre en “Post-it”', - 'MAX_OPTIONS_SELECT' => 'Vous pouvez sélectionner jusqu’à <strong>%d</strong> options', - 'MAX_OPTION_SELECT' => 'Vous pouvez sélectionner <strong>1</strong> option', - 'MISSING_INLINE_ATTACHMENT' => 'Le fichier joint <strong>%s</strong> n’est plus disponible.', - 'MOVE_TOPIC' => 'Déplacer le sujet', - - 'NO_ATTACHMENT_SELECTED'=> 'Vous n’avez pas sélectionné de fichier joint à voir ou à télécharger.', - 'NO_NEWER_TOPICS' => 'Aucun nouveau sujet dans ce forum.', - 'NO_OLDER_TOPICS' => 'Aucun ancien sujet dans ce forum.', - 'NO_UNREAD_POSTS' => 'Aucun nouveau message non-lu dans ce sujet.', - 'NO_VOTE_OPTION' => 'Vous devez choisir une option lorsque vous votez.', - 'NO_VOTES' => 'Aucun vote', - - 'POLL_ENDED_AT' => 'Le sondage s’est terminé le %s', - 'POLL_RUN_TILL' => 'Le sondage est actif jusqu’au %s', - 'POLL_VOTED_OPTION' => 'Vous avez voté pour cette option', - 'PRINT_TOPIC' => 'Imprimer le sujet', - - 'QUICK_MOD' => 'Actions rapides de modération', - 'QUICKREPLY' => 'Réponse rapide', - 'QUOTE' => 'Citation', - - 'REPLY_TO_TOPIC' => 'Répondre au sujet', - 'RETURN_POST' => '%sRevenir au message%s', - 'SHOW_QR' => 'Réponse rapide', - - 'SUBMIT_VOTE' => 'Voter', - - 'TOTAL_VOTES' => 'Nombre total de votes', - - 'UNLOCK_TOPIC' => 'Déverrouiller le sujet', - - 'VIEW_INFO' => 'Informations du message', - 'VIEW_NEXT_TOPIC' => 'Sujet suivant', - 'VIEW_PREVIOUS_TOPIC' => 'Sujet précédent', - 'VIEW_RESULTS' => 'Voir les résultats', - 'VIEW_TOPIC_POST' => '1 message', - 'VIEW_TOPIC_POSTS' => '%d messages', - 'VIEW_UNREAD_POST' => 'Voir le premier message non lu', - 'VISIT_WEBSITE' => 'Site Internet', - 'VOTE_SUBMITTED' => 'Votre vote a été pris en compte.', - 'VOTE_CONVERTED' => 'La modification d’un vote n’est pas possible pour les sondages issus d’une conversion.', - -)); - -?>
\ No newline at end of file diff --git a/phpBB/map.php b/phpBB/map.php deleted file mode 100644 index 74604f521e..0000000000 --- a/phpBB/map.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: map.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -define('IN_PHPBB', true); -$phpEx = substr(strrchr(__FILE__, '.'), 1); -$phpbb_root_path = './'; -include($phpbb_root_path . 'common.' . $phpEx); -// Start session management -$user->session_begin(); -$auth->acl($user->data); -$user->setup('gym_sitemaps/gym_common'); -// Start the process -require($phpbb_root_path . 'gym_sitemaps/includes/gym_html.' . $phpEx); - -$gym_html = new gym_html(); -exit; -?>
\ No newline at end of file diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 24bc7ddbbd..2fa2d11ee1 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -21,14 +21,7 @@ include($phpbb_root_path . 'includes/functions_display.' . $phpEx); $user->session_begin(); $auth->acl($user->data); $user->setup(array('memberlist', 'groups')); -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -if (!empty($_REQUEST['un'])) { - $_REQUEST['un'] = rawurldecode($_REQUEST['un']); - if (!$phpbb_seo->is_utf8($_REQUEST['un'])) { - $_REQUEST['un'] = utf8_normalize_nfc(utf8_recode($_REQUEST['un'], 'ISO-8859-1')); - } -} -// www.phpBB-SEO.com SEO TOOLKIT END + // Grab data $mode = request_var('mode', ''); $action = request_var('action', ''); @@ -78,15 +71,6 @@ $ranks = $cache->obtain_ranks(); switch ($mode) { case 'leaders': - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - Zero dupe - if (!empty($phpbb_seo->seo_opt['url_rewrite'])) { - $phpbb_seo->seo_path['canonical'] = $phpbb_seo->drop_sid(append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=leaders')); - } - $phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array( - 'mode' => array('val' => 'leaders', 'keep' => true), - ); - $phpbb_seo->seo_chk_dupe(); - // www.phpBB-SEO.com SEO TOOLKIT END - Zero dupe // Display a listing of board admins, moderators include($phpbb_root_path . 'includes/functions_user.' . $phpEx); @@ -250,9 +234,6 @@ switch ($mode) else { $group_name = ($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->prepare_url('group', $row['group_name'], $row['group_id']); - // www.phpBB-SEO.com SEO TOOLKIT END $u_group = append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']); } @@ -448,19 +429,7 @@ switch ($mode) } $user_id = (int) $member['user_id']; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->set_user_url( $member['username'], $user_id ); - // www.phpBB-SEO.com SEO TOOLKIT END - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - Zero dupe - if (!empty($phpbb_seo->seo_opt['url_rewrite'])) { - $phpbb_seo->seo_path['canonical'] = $phpbb_seo->drop_sid(append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=viewprofile&u=$user_id")); - } - $phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array( - 'mode' => array('val' => 'viewprofile', 'keep' => true), - 'u' => array('val' => $user_id, 'keep' => true, 'force' => true), - ); - $phpbb_seo->seo_chk_dupe(); - // www.phpBB-SEO.com SEO TOOLKIT END - Zero dupe + // Get group memberships // Also get visiting user's groups to determine hidden group memberships if necessary. $auth_hidden_groups = ($user_id === (int) $user->data['user_id'] || $auth->acl_gets('a_group', 'a_groupadd', 'a_groupdel')) ? true : false; @@ -1364,17 +1333,6 @@ switch ($mode) $pagination_url = append_sid("{$phpbb_root_path}memberlist.$phpEx", implode('&', $params)); $sort_url = append_sid("{$phpbb_root_path}memberlist.$phpEx", implode('&', $sort_params)); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - Zero dupe - if ($mode == 'group') { - $phpbb_seo->prepare_url('group', $group_row['group_name'], $group_row['group_id']); - $phpbb_seo->seo_opt['zero_dupe']['start'] = $phpbb_seo->seo_chk_start( $start, $config['topics_per_page'] ); - - $phpbb_seo->seo_chk_dupe("{$phpbb_root_path}memberlist.$phpEx?" . implode('&', $params) . '&start=' . $phpbb_seo->seo_opt['zero_dupe']['start']); - if (!empty($phpbb_seo->seo_opt['url_rewrite'])) { - $phpbb_seo->seo_path['canonical'] = $phpbb_seo->drop_sid(append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=group&g={$group_row['group_id']}&start=" . $phpbb_seo->seo_opt['zero_dupe']['start'])); - } - } - // www.phpBB-SEO.com SEO TOOLKIT END - Zero dupe unset($search_params, $sort_params); // Some search user specific data @@ -1581,9 +1539,7 @@ switch ($mode) unset($id_cache[$user_id]); } } - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $seo_sep = strpos($sort_url, '?') === false ? '?' : '&'; - // www.phpBB-SEO.com SEO TOOLKIT END + // Generate page $template->assign_vars(array( 'PAGINATION' => generate_pagination($pagination_url, $total_users, $config['topics_per_page'], $start), @@ -1603,22 +1559,20 @@ switch ($mode) 'U_FIND_MEMBER' => ($config['load_search'] || $auth->acl_get('a_')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser' . (($start) ? "&start=$start" : '') . (!empty($params) ? '&' . implode('&', $params) : '')) : '', 'U_HIDE_FIND_MEMBER' => ($mode == 'searchuser') ? $u_hide_find_member : '', - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - 'U_SORT_USERNAME' => $sort_url . $seo_sep . 'sk=a&sd=' . (($sort_key == 'a' && $sort_dir == 'a') ? 'd' : 'a'), - 'U_SORT_FROM' => $sort_url . $seo_sep . 'sk=b&sd=' . (($sort_key == 'b' && $sort_dir == 'a') ? 'd' : 'a'), - 'U_SORT_JOINED' => $sort_url . $seo_sep . 'sk=c&sd=' . (($sort_key == 'c' && $sort_dir == 'a') ? 'd' : 'a'), - 'U_SORT_POSTS' => $sort_url . $seo_sep . 'sk=d&sd=' . (($sort_key == 'd' && $sort_dir == 'a') ? 'd' : 'a'), - 'U_SORT_EMAIL' => $sort_url . $seo_sep . 'sk=e&sd=' . (($sort_key == 'e' && $sort_dir == 'a') ? 'd' : 'a'), - 'U_SORT_WEBSITE' => $sort_url . $seo_sep . 'sk=f&sd=' . (($sort_key == 'f' && $sort_dir == 'a') ? 'd' : 'a'), - 'U_SORT_LOCATION' => $sort_url . $seo_sep . 'sk=b&sd=' . (($sort_key == 'b' && $sort_dir == 'a') ? 'd' : 'a'), - 'U_SORT_ICQ' => $sort_url . $seo_sep . 'sk=g&sd=' . (($sort_key == 'g' && $sort_dir == 'a') ? 'd' : 'a'), - 'U_SORT_AIM' => $sort_url . $seo_sep . 'sk=h&sd=' . (($sort_key == 'h' && $sort_dir == 'a') ? 'd' : 'a'), - 'U_SORT_MSN' => $sort_url . $seo_sep . 'sk=i&sd=' . (($sort_key == 'i' && $sort_dir == 'a') ? 'd' : 'a'), - 'U_SORT_YIM' => $sort_url . $seo_sep . 'sk=j&sd=' . (($sort_key == 'j' && $sort_dir == 'a') ? 'd' : 'a'), - 'U_SORT_ACTIVE' => ($auth->acl_get('u_viewonline')) ? $sort_url . $seo_sep . 'sk=l&sd=' . (($sort_key == 'l' && $sort_dir == 'a') ? 'd' : 'a') : '', - 'U_SORT_RANK' => $sort_url . $seo_sep . 'sk=m&sd=' . (($sort_key == 'm' && $sort_dir == 'a') ? 'd' : 'a'), - 'U_LIST_CHAR' => $sort_url . $seo_sep . 'sk=a&sd=' . (($sort_key == 'l' && $sort_dir == 'a') ? 'd' : 'a'), - // www.phpBB-SEO.com SEO TOOLKIT END + 'U_SORT_USERNAME' => $sort_url . '&sk=a&sd=' . (($sort_key == 'a' && $sort_dir == 'a') ? 'd' : 'a'), + 'U_SORT_FROM' => $sort_url . '&sk=b&sd=' . (($sort_key == 'b' && $sort_dir == 'a') ? 'd' : 'a'), + 'U_SORT_JOINED' => $sort_url . '&sk=c&sd=' . (($sort_key == 'c' && $sort_dir == 'a') ? 'd' : 'a'), + 'U_SORT_POSTS' => $sort_url . '&sk=d&sd=' . (($sort_key == 'd' && $sort_dir == 'a') ? 'd' : 'a'), + 'U_SORT_EMAIL' => $sort_url . '&sk=e&sd=' . (($sort_key == 'e' && $sort_dir == 'a') ? 'd' : 'a'), + 'U_SORT_WEBSITE' => $sort_url . '&sk=f&sd=' . (($sort_key == 'f' && $sort_dir == 'a') ? 'd' : 'a'), + 'U_SORT_LOCATION' => $sort_url . '&sk=b&sd=' . (($sort_key == 'b' && $sort_dir == 'a') ? 'd' : 'a'), + 'U_SORT_ICQ' => $sort_url . '&sk=g&sd=' . (($sort_key == 'g' && $sort_dir == 'a') ? 'd' : 'a'), + 'U_SORT_AIM' => $sort_url . '&sk=h&sd=' . (($sort_key == 'h' && $sort_dir == 'a') ? 'd' : 'a'), + 'U_SORT_MSN' => $sort_url . '&sk=i&sd=' . (($sort_key == 'i' && $sort_dir == 'a') ? 'd' : 'a'), + 'U_SORT_YIM' => $sort_url . '&sk=j&sd=' . (($sort_key == 'j' && $sort_dir == 'a') ? 'd' : 'a'), + 'U_SORT_ACTIVE' => ($auth->acl_get('u_viewonline')) ? $sort_url . '&sk=l&sd=' . (($sort_key == 'l' && $sort_dir == 'a') ? 'd' : 'a') : '', + 'U_SORT_RANK' => $sort_url . '&sk=m&sd=' . (($sort_key == 'm' && $sort_dir == 'a') ? 'd' : 'a'), + 'U_LIST_CHAR' => $sort_url . '&sk=a&sd=' . (($sort_key == 'l' && $sort_dir == 'a') ? 'd' : 'a'), 'S_SHOW_GROUP' => ($mode == 'group') ? true : false, 'S_VIEWONLINE' => $auth->acl_get('u_viewonline'), @@ -1626,11 +1580,7 @@ switch ($mode) 'S_MODE_SELECT' => $s_sort_key, 'S_ORDER_SELECT' => $s_sort_dir, 'S_CHAR_OPTIONS' => $s_char_options, - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - // Here we circumvent because our append_sid does not allow - // an url to end with an ?, as it should. - 'S_MODE_ACTION' => $pagination_url . (strpos($pagination_url, '?') !== false ? '' : '?') ) - // www.phpBB-SEO.com SEO TOOLKIT END + 'S_MODE_ACTION' => $pagination_url) ); } diff --git a/phpBB/phpbb_seo/cache/.htaccess b/phpBB/phpbb_seo/cache/.htaccess deleted file mode 100644 index 69e3a64277..0000000000 --- a/phpBB/phpbb_seo/cache/.htaccess +++ /dev/null @@ -1,80 +0,0 @@ -# Lines That should already be in your .htacess -<Files "config.php"> - Order Allow,Deny - Deny from All -</Files> -<Files "common.php"> - Order Allow,Deny - Deny from All -</Files> - -# You may need to un-comment the following lines -# Options +FollowSymlinks -# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist -# Options -MultiViews -# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE -RewriteEngine On -# Uncomment the statement below if you want to make use of -# HTTP authentication and it does not already work. -# This could be required if you are for example using PHP via Apache CGI. -# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] -# REWRITE BASE -RewriteBase / -# HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN -# RewriteCond %{HTTP_HOST} !^forums\.mageia\.org$ [NC] -# RewriteRule ^(.*)$ http://forums.mageia.org/$1 [QSA,L,R=301] - -# DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS -RewriteCond %{REQUEST_FILENAME} -f -RewriteCond %{REQUEST_FILENAME} -d -RewriteRule . - [L] -##################################################### -# PHPBB SEO REWRITE RULES ALL MODES -##################################################### -# AUTHOR : dcz www.phpbb-seo.com -# STARTED : 01/2006 -################################# -# FORUMS PAGES -############### -# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX -# RewriteRule ^en/forum\.html$ /en/index.php [QSA,L,NC] -# FORUM ALL MODES -RewriteRule ^en/(forum|[a-z0-9_-]*-f)([0-9]+)/?(page([0-9]+)\.html)?$ /en/viewforum.php?f=$2&start=$4 [QSA,L,NC] -# TOPIC WITH VIRTUAL FOLDER ALL MODES -RewriteRule ^en/(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /en/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC] -# TOPIC WITHOUT FORUM ID & DELIM ALL MODES -RewriteRule ^en/([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /en/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC] -# PHPBB FILES ALL MODES -RewriteRule ^en/resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /en/download/file.php?id=$2&t=$1 [QSA,L,NC] -# PROFILES THROUGH USERNAME -RewriteRule ^en/member/([^/]+)/?$ /en/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC] -# USER MESSAGES THROUGH USERNAME -RewriteRule ^en/member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /en/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC] -# GROUPS ALL MODES -RewriteRule ^en/(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /en/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC] -# POST -RewriteRule ^en/post([0-9]+)\.html$ /en/viewtopic.php?p=$1 [QSA,L,NC] -# ACTIVE TOPICS -RewriteRule ^en/active-topics(-([0-9]+))?\.html$ /en/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC] -# UNANSWERED TOPICS -RewriteRule ^en/unanswered(-([0-9]+))?\.html$ /en/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC] -# NEW POSTS -RewriteRule ^en/newposts(-([0-9]+))?\.html$ /en/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC] -# UNREAD POSTS -RewriteRule ^en/unreadposts(-([0-9]+))?\.html$ /en/search.php?search_id=unreadposts&start=$2 [QSA,L,NC] -# THE TEAM -RewriteRule ^en/the-team\.html$ /en/memberlist.php?mode=leaders [QSA,L,NC] -# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES - -# FORUM WITHOUT ID & DELIM ALL MODES -# THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^en/([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ /en/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC] -# FIX RELATIVE PATHS : FILES -RewriteRule ^en/.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /en/$1 [QSA,L,NC,R=301] -# FIX RELATIVE PATHS : IMAGES -RewriteRule ^en/.+/(styles/.*|images/.*)/$ /en/$1 [QSA,L,NC,R=301] -# END PHPBB PAGES -##################################################### - diff --git a/phpBB/phpbb_seo/cache/.htaccess.current b/phpBB/phpbb_seo/cache/.htaccess.current deleted file mode 100644 index 69e3a64277..0000000000 --- a/phpBB/phpbb_seo/cache/.htaccess.current +++ /dev/null @@ -1,80 +0,0 @@ -# Lines That should already be in your .htacess -<Files "config.php"> - Order Allow,Deny - Deny from All -</Files> -<Files "common.php"> - Order Allow,Deny - Deny from All -</Files> - -# You may need to un-comment the following lines -# Options +FollowSymlinks -# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist -# Options -MultiViews -# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE -RewriteEngine On -# Uncomment the statement below if you want to make use of -# HTTP authentication and it does not already work. -# This could be required if you are for example using PHP via Apache CGI. -# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] -# REWRITE BASE -RewriteBase / -# HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN -# RewriteCond %{HTTP_HOST} !^forums\.mageia\.org$ [NC] -# RewriteRule ^(.*)$ http://forums.mageia.org/$1 [QSA,L,R=301] - -# DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS -RewriteCond %{REQUEST_FILENAME} -f -RewriteCond %{REQUEST_FILENAME} -d -RewriteRule . - [L] -##################################################### -# PHPBB SEO REWRITE RULES ALL MODES -##################################################### -# AUTHOR : dcz www.phpbb-seo.com -# STARTED : 01/2006 -################################# -# FORUMS PAGES -############### -# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX -# RewriteRule ^en/forum\.html$ /en/index.php [QSA,L,NC] -# FORUM ALL MODES -RewriteRule ^en/(forum|[a-z0-9_-]*-f)([0-9]+)/?(page([0-9]+)\.html)?$ /en/viewforum.php?f=$2&start=$4 [QSA,L,NC] -# TOPIC WITH VIRTUAL FOLDER ALL MODES -RewriteRule ^en/(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /en/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC] -# TOPIC WITHOUT FORUM ID & DELIM ALL MODES -RewriteRule ^en/([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /en/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC] -# PHPBB FILES ALL MODES -RewriteRule ^en/resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /en/download/file.php?id=$2&t=$1 [QSA,L,NC] -# PROFILES THROUGH USERNAME -RewriteRule ^en/member/([^/]+)/?$ /en/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC] -# USER MESSAGES THROUGH USERNAME -RewriteRule ^en/member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /en/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC] -# GROUPS ALL MODES -RewriteRule ^en/(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /en/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC] -# POST -RewriteRule ^en/post([0-9]+)\.html$ /en/viewtopic.php?p=$1 [QSA,L,NC] -# ACTIVE TOPICS -RewriteRule ^en/active-topics(-([0-9]+))?\.html$ /en/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC] -# UNANSWERED TOPICS -RewriteRule ^en/unanswered(-([0-9]+))?\.html$ /en/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC] -# NEW POSTS -RewriteRule ^en/newposts(-([0-9]+))?\.html$ /en/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC] -# UNREAD POSTS -RewriteRule ^en/unreadposts(-([0-9]+))?\.html$ /en/search.php?search_id=unreadposts&start=$2 [QSA,L,NC] -# THE TEAM -RewriteRule ^en/the-team\.html$ /en/memberlist.php?mode=leaders [QSA,L,NC] -# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES - -# FORUM WITHOUT ID & DELIM ALL MODES -# THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^en/([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ /en/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC] -# FIX RELATIVE PATHS : FILES -RewriteRule ^en/.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /en/$1 [QSA,L,NC,R=301] -# FIX RELATIVE PATHS : IMAGES -RewriteRule ^en/.+/(styles/.*|images/.*)/$ /en/$1 [QSA,L,NC,R=301] -# END PHPBB PAGES -##################################################### - diff --git a/phpBB/phpbb_seo/cache/phpbb_cache.php b/phpBB/phpbb_seo/cache/phpbb_cache.php deleted file mode 100644 index ff7fa5de0c..0000000000 --- a/phpBB/phpbb_seo/cache/phpbb_cache.php +++ /dev/null @@ -1,12 +0,0 @@ -<?php -/** -* phpBB_SEO Class -* www.phpBB-SEO.com -* @package Advanced phpBB3 SEO mod Rewrite -*/ -if (!defined('IN_PHPBB')) { - exit; -} -$this->cache_config['settings'] = array ( 'url_rewrite' => true, 'modrtype' => 2, 'sql_rewrite' => true, 'profile_inj' => true, 'profile_vfolder' => false, 'profile_noids' => true, 'rewrite_usermsg' => false, 'rewrite_files' => true, 'rem_sid' => true, 'rem_hilit' => true, 'rem_small_words' => true, 'virtual_folder' => true, 'virtual_root' => false, 'cache_layer' => true, 'rem_ids' => false, 'copyrights' => array ( 'img' => false, 'txt' => '', 'title' => '', ), 'no_dupe' => array ( 'on' => true, ), 'zero_dupe' => array ( 'on' => true, 'strict' => true, 'post_redir' => 'guest', ), ); -$this->cache_config['forum'] = array ( 2 => 'welcome-board-f2', 6 => 'getting-support-f6', 7 => 'basic-support-f7', 8 => 'advanced-support-f8', 1 => 'the-community-f1', 3 => 'announcements-f3', 4 => 'general-f4', 5 => 'wizards-lair-f5', 9 => 'contributing-f9', 12 => 'basic-contrib-f12', 10 => 'packaging-f10', 11 => 'other-f11', 14 => 'moderation-f14', ); -?>
\ No newline at end of file diff --git a/phpBB/phpbb_seo/cache/phpbb_cache.php.current b/phpBB/phpbb_seo/cache/phpbb_cache.php.current deleted file mode 100644 index ff7fa5de0c..0000000000 --- a/phpBB/phpbb_seo/cache/phpbb_cache.php.current +++ /dev/null @@ -1,12 +0,0 @@ -<?php -/** -* phpBB_SEO Class -* www.phpBB-SEO.com -* @package Advanced phpBB3 SEO mod Rewrite -*/ -if (!defined('IN_PHPBB')) { - exit; -} -$this->cache_config['settings'] = array ( 'url_rewrite' => true, 'modrtype' => 2, 'sql_rewrite' => true, 'profile_inj' => true, 'profile_vfolder' => false, 'profile_noids' => true, 'rewrite_usermsg' => false, 'rewrite_files' => true, 'rem_sid' => true, 'rem_hilit' => true, 'rem_small_words' => true, 'virtual_folder' => true, 'virtual_root' => false, 'cache_layer' => true, 'rem_ids' => false, 'copyrights' => array ( 'img' => false, 'txt' => '', 'title' => '', ), 'no_dupe' => array ( 'on' => true, ), 'zero_dupe' => array ( 'on' => true, 'strict' => true, 'post_redir' => 'guest', ), ); -$this->cache_config['forum'] = array ( 2 => 'welcome-board-f2', 6 => 'getting-support-f6', 7 => 'basic-support-f7', 8 => 'advanced-support-f8', 1 => 'the-community-f1', 3 => 'announcements-f3', 4 => 'general-f4', 5 => 'wizards-lair-f5', 9 => 'contributing-f9', 12 => 'basic-contrib-f12', 10 => 'packaging-f10', 11 => 'other-f11', 14 => 'moderation-f14', ); -?>
\ No newline at end of file diff --git a/phpBB/phpbb_seo/cache/phpbb_cache.php.old b/phpBB/phpbb_seo/cache/phpbb_cache.php.old deleted file mode 100644 index b9acb750c3..0000000000 --- a/phpBB/phpbb_seo/cache/phpbb_cache.php.old +++ /dev/null @@ -1,12 +0,0 @@ -<?php -/** -* phpBB_SEO Class -* www.phpBB-SEO.com -* @package Advanced phpBB3 SEO mod Rewrite -*/ -if (!defined('IN_PHPBB')) { - exit; -} -$this->cache_config['settings'] = array ( 'url_rewrite' => true, 'modrtype' => 2, 'sql_rewrite' => true, 'profile_inj' => true, 'profile_vfolder' => false, 'profile_noids' => true, 'rewrite_usermsg' => false, 'rewrite_files' => true, 'rem_sid' => true, 'rem_hilit' => true, 'rem_small_words' => true, 'virtual_folder' => true, 'virtual_root' => false, 'cache_layer' => true, 'rem_ids' => false, 'copyrights' => array ( 'img' => false, 'txt' => '', 'title' => '', ), 'no_dupe' => array ( 'on' => true, ), 'zero_dupe' => array ( 'on' => true, 'strict' => true, 'post_redir' => 'guest', ), ); -$this->cache_config['forum'] = array ( 2 => 'welcome-board-f2', 6 => 'getting-support-f6', 7 => 'basic-support-f7', 8 => 'advanced-support-f8', 1 => 'the-community-f1', 3 => 'announcements-f3', 4 => 'general-f4', 5 => 'wizards-lair-f5', 9 => 'contributing-f9', 12 => 'basic-contribution-f12', 10 => 'packaging-translating-f10', 11 => 'other-f11', 14 => 'moderation-f14', ); -?>
\ No newline at end of file diff --git a/phpBB/phpbb_seo/docs/COPYING b/phpBB/phpbb_seo/docs/COPYING deleted file mode 100644 index c22a73c5db..0000000000 --- a/phpBB/phpbb_seo/docs/COPYING +++ /dev/null @@ -1,545 +0,0 @@ -Reciprocal Public License 1.5 (RPL1.5) -[OSI Approved License] - -Reciprocal Public License (RPL) - -Version 1.5, July 15, 2007 - -Copyright (C) 2001-2007 -Technical Pursuit Inc., -All Rights Reserved. - -PREAMBLE - -The Reciprocal Public License (RPL) is based on the concept of reciprocity or, -if you prefer, fairness. - -In short, this license grew out of a desire to close loopholes in previous open -source licenses, loopholes that allowed parties to acquire open source software -and derive financial benefit from it without having to release their -improvements or derivatives to the community which enabled them. This occurred -any time an entity did not release their application to a "third party". - -While there is a certain freedom in this model of licensing, it struck the -authors of the RPL as being unfair to the open source community at large and to -the original authors of the works in particular. After all, bug fixes, -extensions, and meaningful and valuable derivatives were not consistently -finding their way back into the community where they could fuel further, and -faster, growth and expansion of the overall open source software base. - -While you should clearly read and understand the entire license, the essence of -the RPL is found in two definitions: "Deploy" and "Required Components". - -Regarding deployment, under the RPL your changes, bug fixes, extensions, etc. -must be made available to the open source community at large when you Deploy in -any form -- either internally or to an outside party. Once you start running -the software you have to start sharing the software. - -Further, under the RPL all components you author including schemas, scripts, -source code, etc. -- regardless of whether they're compiled into a single -binary or used as two halves of client/server application -- must be shared. -You have to share the whole pie, not an isolated slice of it. - -In addition to these goals, the RPL was authored to meet the requirements of -the Open Source Definition as maintained by the Open Source Initiative (OSI). - -The specific terms and conditions of the license are defined in the remainder -of this document. - -LICENSE TERMS - -1.0 General; Applicability & Definitions. This Reciprocal Public License -Version 1.5 ("License") applies to any programs or other works as well as any -and all updates or maintenance releases of said programs or works ("Software") -not already covered by this License which the Software copyright holder -("Licensor") makes available containing a License Notice (hereinafter defined) -from the Licensor specifying or allowing use or distribution under the terms of -this License. As used in this License: - -1.1 "Contributor" means any person or entity who created or contributed to the -creation of an Extension. - -1.2 "Deploy" means to use, Serve, sublicense or distribute Licensed Software -other than for Your internal Research and/or Personal Use, and includes -without limitation, any and all internal use or distribution of Licensed -Software within Your business or organization other than for Research and/or -Personal Use, as well as direct or indirect sublicensing or distribution of -Licensed Software by You to any third party in any form or manner. - -1.3 "Derivative Works" as used in this License is defined under U.S. copyright -law. - -1.4 "Electronic Distribution Mechanism" means a mechanism generally accepted -in the software development community for the electronic transfer of data such -as download from an FTP server or web site, where such mechanism is publicly -accessible. - -1.5 "Extensions" means any Modifications, Derivative Works, or Required -Components as those terms are defined in this License. - -1.6 "License" means this Reciprocal Public License. - -1.7 "License Notice" means any notice contained in EXHIBIT A. - -1.8 "Licensed Software" means any Software licensed pursuant to this License. -Licensed Software also includes all previous Extensions from any Contributor -that You receive. - -1.9 "Licensor" means the copyright holder of any Software previously not -covered by this License who releases the Software under the terms of this -License. - -1.10 "Modifications" means any additions to or deletions from the substance or -structure of (i) a file or other storage containing Licensed Software, or (ii) -any new file or storage that contains any part of Licensed Software, or (iii) -any file or storage which replaces or otherwise alters the original -functionality of Licensed Software at runtime. - -1.11 "Personal Use" means use of Licensed Software by an individual solely for -his or her personal, private and non-commercial purposes. An individual's use -of Licensed Software in his or her capacity as an officer, employee, member, -independent contractor or agent of a corporation, business or organization -(commercial or non-commercial) does not qualify as Personal Use. - -1.12 "Required Components" means any text, programs, scripts, schema, -interface definitions, control files, or other works created by You which are -required by a third party of average skill to successfully install and run -Licensed Software containing Your Modifications, or to install and run Your -Derivative Works. - -1.13 "Research" means investigation or experimentation for the purpose of -understanding the nature and limits of the Licensed Software and its potential -uses. - -1.14 "Serve" means to deliver Licensed Software and/or Your Extensions by -means of a computer network to one or more computers for purposes of execution -of Licensed Software and/or Your Extensions. - -1.15 "Software" means any computer programs or other works as well as any -updates or maintenance releases of those programs or works which are -distributed publicly by Licensor. - -1.16 "Source Code" means the preferred form for making modifications to the -Licensed Software and/or Your Extensions, including all modules contained -therein, plus any associated text, interface definition files, scripts used to -control compilation and installation of an executable program or other -components required by a third party of average skill to build a running -version of the Licensed Software or Your Extensions. - -1.17 "User-Visible Attribution Notice" means any notice contained in EXHIBIT B. - -1.18 "You" or "Your" means an individual or a legal entity exercising rights -under this License. For legal entities, "You" or "Your" includes any entity -which controls, is controlled by, or is under common control with, You, where -"control" means (a) the power, direct or indirect, to cause the direction or -management of such entity, whether by contract or otherwise, or (b) ownership -of fifty percent (50%) or more of the outstanding shares or beneficial -ownership of such entity. - -2.0 Acceptance Of License. You are not required to accept this License since -you have not signed it, however nothing else grants you permission to use, -copy, distribute, modify, or create derivatives of either the Software or any -Extensions created by a Contributor. These actions are prohibited by law if -you do not accept this License. Therefore, by performing any of these actions -You indicate Your acceptance of this License and Your agreement to be bound by -all its terms and conditions. IF YOU DO NOT AGREE WITH ALL THE TERMS AND -CONDITIONS OF THIS LICENSE DO NOT USE, MODIFY, CREATE DERIVATIVES, OR -DISTRIBUTE THE SOFTWARE. IF IT IS IMPOSSIBLE FOR YOU TO COMPLY WITH ALL THE -TERMS AND CONDITIONS OF THIS LICENSE THEN YOU CAN NOT USE, MODIFY, CREATE -DERIVATIVES, OR DISTRIBUTE THE SOFTWARE. - -3.0 Grant of License From Licensor. Subject to the terms and conditions of -this License, Licensor hereby grants You a world-wide, royalty-free, non- -exclusive license, subject to Licensor's intellectual property rights, and any -third party intellectual property claims derived from the Licensed Software -under this License, to do the following: - -3.1 Use, reproduce, modify, display, perform, sublicense and distribute -Licensed Software and Your Extensions in both Source Code form or as an -executable program. - -3.2 Create Derivative Works (as that term is defined under U.S. copyright law) -of Licensed Software by adding to or deleting from the substance or structure -of said Licensed Software. - -3.3 Under claims of patents now or hereafter owned or controlled by Licensor, -to make, use, have made, and/or otherwise dispose of Licensed Software or -portions thereof, but solely to the extent that any such claim is necessary to -enable You to make, use, have made, and/or otherwise dispose of Licensed -Software or portions thereof. - -3.4 Licensor reserves the right to release new versions of the Software with -different features, specifications, capabilities, functions, licensing terms, -general availability or other characteristics. Title, ownership rights, and -intellectual property rights in and to the Licensed Software shall remain in -Licensor and/or its Contributors. - -4.0 Grant of License From Contributor. By application of the provisions in -Section 6 below, each Contributor hereby grants You a world-wide, royalty- -free, non-exclusive license, subject to said Contributor's intellectual -property rights, and any third party intellectual property claims derived from -the Licensed Software under this License, to do the following: - -4.1 Use, reproduce, modify, display, perform, sublicense and distribute any -Extensions Deployed by such Contributor or portions thereof, in both Source -Code form or as an executable program, either on an unmodified basis or as -part of Derivative Works. - -4.2 Under claims of patents now or hereafter owned or controlled by -Contributor, to make, use, have made, and/or otherwise dispose of Extensions -or portions thereof, but solely to the extent that any such claim is necessary -to enable You to make, use, have made, and/or otherwise dispose of -Licensed Software or portions thereof. - -5.0 Exclusions From License Grant. Nothing in this License shall be deemed to -grant any rights to trademarks, copyrights, patents, trade secrets or any -other intellectual property of Licensor or any Contributor except as expressly -stated herein. Except as expressly stated in Sections 3 and 4, no other patent -rights, express or implied, are granted herein. Your Extensions may require -additional patent licenses from Licensor or Contributors which each may grant -in its sole discretion. No right is granted to the trademarks of Licensor or -any Contributor even if such marks are included in the Licensed Software. -Nothing in this License shall be interpreted to prohibit Licensor from -licensing under different terms from this License any code that Licensor -otherwise would have a right to license. - -5.1 You expressly acknowledge and agree that although Licensor and each -Contributor grants the licenses to their respective portions of the Licensed -Software set forth herein, no assurances are provided by Licensor or any -Contributor that the Licensed Software does not infringe the patent or other -intellectual property rights of any other entity. Licensor and each -Contributor disclaim any liability to You for claims brought by any other -entity based on infringement of intellectual property rights or otherwise. As -a condition to exercising the rights and licenses granted hereunder, You -hereby assume sole responsibility to secure any other intellectual property -rights needed, if any. For example, if a third party patent license is -required to allow You to distribute the Licensed Software, it is Your -responsibility to acquire that license before distributing the Licensed -Software. - -6.0 Your Obligations And Grants. In consideration of, and as an express -condition to, the licenses granted to You under this License You hereby agree -that any Modifications, Derivative Works, or Required Components (collectively -Extensions) that You create or to which You contribute are governed by the -terms of this License including, without limitation, Section 4. Any Extensions -that You create or to which You contribute must be Deployed under the terms of -this License or a future version of this License released under Section 7. You -hereby grant to Licensor and all third parties a world-wide, non-exclusive, -royalty-free license under those intellectual property rights You own or -control to use, reproduce, display, perform, modify, create derivatives, -sublicense, and distribute Licensed Software, in any form. Any Extensions You -make and Deploy must have a distinct title so as to readily tell any -subsequent user or Contributor that the Extensions are by You. You must -include a copy of this License or directions on how to obtain a copy with -every copy of the Extensions You distribute. You agree not to offer or impose -any terms on any Source Code or executable version of the Licensed Software, -or its Extensions that alter or restrict the applicable version of this -License or the recipients' rights hereunder. - -6.1 Availability of Source Code. You must make available, under the terms of -this License, the Source Code of any Extensions that You Deploy, via an -Electronic Distribution Mechanism. The Source Code for any version that You -Deploy must be made available within one (1) month of when you Deploy and must -remain available for no less than twelve (12) months after the date You cease -to Deploy. You are responsible for ensuring that the Source Code to each -version You Deploy remains available even if the Electronic Distribution -Mechanism is maintained by a third party. You may not charge a fee for any -copy of the Source Code distributed under this Section in excess of Your -actual cost of duplication and distribution of said copy. - -6.2 Description of Modifications. You must cause any Modifications that You -create or to which You contribute to be documented in the Source Code, clearly -describing the additions, changes or deletions You made. You must include a -prominent statement that the Modifications are derived, directly or indirectly, -from the Licensed Software and include the names of the Licensor and any -Contributor to the Licensed Software in (i) the Source Code and (ii) in any -notice displayed by the Licensed Software You distribute or in related -documentation in which You describe the origin or ownership of the Licensed -Software. You may not modify or delete any pre-existing copyright notices, -change notices or License text in the Licensed Software without written -permission of the respective Licensor or Contributor. - -6.3 Intellectual Property Matters. - -a. Third Party Claims. If You have knowledge that a license to a third party's -intellectual property right is required to exercise the rights granted by this -License, You must include a human-readable file with Your distribution that -describes the claim and the party making the claim in sufficient detail that a -recipient will know whom to contact. - -b. Contributor APIs. If Your Extensions include an application programming -interface ("API") and You have knowledge of patent licenses that are -reasonably necessary to implement that API, You must also include this -information in a human-readable file supplied with Your distribution. - -c. Representations. You represent that, except as disclosed pursuant to 6.3(a) -above, You believe that any Extensions You distribute are Your original -creations and that You have sufficient rights to grant the rights conveyed by -this License. - -6.4 Required Notices. - -a. License Text. You must duplicate this License or instructions on how to -acquire a copy in any documentation You provide along with the Source Code of -any Extensions You create or to which You contribute, wherever You describe -recipients' rights relating to Licensed Software. - -b. License Notice. You must duplicate any notice contained in EXHIBIT A (the -"License Notice") in each file of the Source Code of any copy You distribute -of the Licensed Software and Your Extensions. If You create an Extension, You -may add Your name as a Contributor to the Source Code and accompanying -documentation along with a description of the contribution. If it is not -possible to put the License Notice in a particular Source Code file due to its -structure, then You must include such License Notice in a location where a -user would be likely to look for such a notice. - -c. Source Code Availability. You must notify the software community of the -availability of Source Code to Your Extensions within one (1) month of the date -You initially Deploy and include in such notification a description of the -Extensions, and instructions on how to acquire the Source Code. Should such -instructions change you must notify the software community of revised -instructions within one (1) month of the date of change. You must provide -notification by posting to appropriate news groups, mailing lists, weblogs, or -other sites where a publicly accessible search engine would reasonably be -expected to index your post in relationship to queries regarding the Licensed -Software and/or Your Extensions. - -d. User-Visible Attribution. You must duplicate any notice contained in -EXHIBIT B (the "User-Visible Attribution Notice") in each user-visible display -of the Licensed Software and Your Extensions which delineates copyright, -ownership, or similar attribution information. If You create an Extension, -You may add Your name as a Contributor, and add Your attribution notice, as an -equally visible and functional element of any User-Visible Attribution Notice -content. To ensure proper attribution, You must also include such User-Visible -Attribution Notice in at least one location in the Software documentation -where a user would be likely to look for such notice. - -6.5 Additional Terms. You may choose to offer, and charge a fee for, warranty, -support, indemnity or liability obligations to one or more recipients of -Licensed Software. However, You may do so only on Your own behalf, and not on -behalf of the Licensor or any Contributor except as permitted under other -agreements between you and Licensor or Contributor. You must make it clear that -any such warranty, support, indemnity or liability obligation is offered by You -alone, and You hereby agree to indemnify the Licensor and every Contributor for -any liability plus attorney fees, costs, and related expenses due to any such -action or claim incurred by the Licensor or such Contributor as a result of -warranty, support, indemnity or liability terms You offer. - -6.6 Conflicts With Other Licenses. Where any portion of Your Extensions, by -virtue of being Derivative Works of another product or similar circumstance, -fall under the terms of another license, the terms of that license should be -honored however You must also make Your Extensions available under this -License. If the terms of this License continue to conflict with the terms of -the other license you may write the Licensor for permission to resolve the -conflict in a fashion that remains consistent with the intent of this License. -Such permission will be granted at the sole discretion of the Licensor. - -7.0 Versions of This License. Licensor may publish from time to time revised -versions of the License. Once Licensed Software has been published under a -particular version of the License, You may always continue to use it under the -terms of that version. You may also choose to use such Licensed Software under -the terms of any subsequent version of the License published by Licensor. No -one other than Licensor has the right to modify the terms applicable to -Licensed Software created under this License. - -7.1 If You create or use a modified version of this License, which You may do -only in order to apply it to software that is not already Licensed Software -under this License, You must rename Your license so that it is not confusingly -similar to this License, and must make it clear that Your license contains -terms that differ from this License. In so naming Your license, You may not -use any trademark of Licensor or of any Contributor. Should Your modifications -to this License be limited to alteration of a) Section 13.8 solely to modify -the legal Jurisdiction or Venue for disputes, b) EXHIBIT A solely to define -License Notice text, or c) to EXHIBIT B solely to define a User-Visible -Attribution Notice, You may continue to refer to Your License as the -Reciprocal Public License or simply the RPL. - -8.0 Disclaimer of Warranty. LICENSED SOFTWARE IS PROVIDED UNDER THIS LICENSE -ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, -INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE LICENSED SOFTWARE IS FREE -OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. -FURTHER THERE IS NO WARRANTY MADE AND ALL IMPLIED WARRANTIES ARE DISCLAIMED -THAT THE LICENSED SOFTWARE MEETS OR COMPLIES WITH ANY DESCRIPTION OF -PERFORMANCE OR OPERATION, SAID COMPATIBILITY AND SUITABILITY BEING YOUR -RESPONSIBILITY. LICENSOR DISCLAIMS ANY WARRANTY, IMPLIED OR EXPRESSED, THAT -ANY CONTRIBUTOR'S EXTENSIONS MEET ANY STANDARD OF COMPATIBILITY OR DESCRIPTION -OF PERFORMANCE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LICENSED SOFTWARE IS WITH YOU. SHOULD LICENSED SOFTWARE PROVE DEFECTIVE IN ANY -RESPECT, YOU (AND NOT THE LICENSOR OR ANY OTHER CONTRIBUTOR) ASSUME THE COST -OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. UNDER THE TERMS OF THIS -LICENSOR WILL NOT SUPPORT THIS SOFTWARE AND IS UNDER NO OBLIGATION TO ISSUE -UPDATES TO THIS SOFTWARE. LICENSOR HAS NO KNOWLEDGE OF ERRANT CODE OR VIRUS IN -THIS SOFTWARE, BUT DOES NOT WARRANT THAT THE SOFTWARE IS FREE FROM SUCH ERRORS -OR VIRUSES. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS -LICENSE. NO USE OF LICENSED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS -DISCLAIMER. - -9.0 Limitation of Liability. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, -WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE -LICENSOR, ANY CONTRIBUTOR, OR ANY DISTRIBUTOR OF LICENSED SOFTWARE, OR ANY -SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, -SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, -WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER -FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, -EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH -DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH -OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT -APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE -EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS -EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10.0 High Risk Activities. THE LICENSED SOFTWARE IS NOT FAULT-TOLERANT AND IS -NOT DESIGNED, MANUFACTURED, OR INTENDED FOR USE OR DISTRIBUTION AS ON-LINE -CONTROL EQUIPMENT IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE PERFORMANCE, -SUCH AS IN THE OPERATION OF NUCLEAR FACILITIES, AIRCRAFT NAVIGATION OR -COMMUNICATIONS SYSTEMS, AIR TRAFFIC CONTROL, DIRECT LIFE SUPPORT MACHINES, OR -WEAPONS SYSTEMS, IN WHICH THE FAILURE OF THE LICENSED SOFTWARE COULD LEAD -DIRECTLY TO DEATH, PERSONAL INJURY, OR SEVERE PHYSICAL OR ENVIRONMENTAL DAMAGE -("HIGH RISK ACTIVITIES"). LICENSOR AND CONTRIBUTORS SPECIFICALLY DISCLAIM ANY -EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR HIGH RISK ACTIVITIES. - -11.0 Responsibility for Claims. As between Licensor and Contributors, each -party is responsible for claims and damages arising, directly or indirectly, -out of its utilization of rights under this License which specifically -disclaims warranties and limits any liability of the Licensor. This paragraph -is to be used in conjunction with and controlled by the Disclaimer Of -Warranties of Section 8, the Limitation Of Damages in Section 9, and the -disclaimer against use for High Risk Activities in Section 10. The Licensor -has thereby disclaimed all warranties and limited any damages that it is or -may be liable for. You agree to work with Licensor and Contributors to -distribute such responsibility on an equitable basis consistent with the terms -of this License including Sections 8, 9, and 10. Nothing herein is intended or -shall be deemed to constitute any admission of liability. - -12.0 Termination. This License and all rights granted hereunder will terminate -immediately in the event of the circumstances described in Section 13.6 or if -applicable law prohibits or restricts You from fully and or specifically -complying with Sections 3, 4 and/or 6, or prevents the enforceability of any -of those Sections, and You must immediately discontinue any use of Licensed -Software. - -12.1 Automatic Termination Upon Breach. This License and the rights granted -hereunder will terminate automatically if You fail to comply with the terms -herein and fail to cure such breach within thirty (30) days of becoming aware -of the breach. All sublicenses to the Licensed Software that are properly -granted shall survive any termination of this License. Provisions that, by -their nature, must remain in effect beyond the termination of this License, -shall survive. - -12.2 Termination Upon Assertion of Patent Infringement. If You initiate -litigation by asserting a patent infringement claim (excluding declaratory -judgment actions) against Licensor or a Contributor (Licensor or Contributor -against whom You file such an action is referred to herein as "Respondent") -alleging that Licensed Software directly or indirectly infringes any patent, -then any and all rights granted by such Respondent to You under Sections 3 or -4 of this License shall terminate prospectively upon sixty (60) days notice -from Respondent (the "Notice Period") unless within that Notice Period You -either agree in writing (i) to pay Respondent a mutually agreeable reasonably -royalty for Your past or future use of Licensed Software made by such -Respondent, or (ii) withdraw Your litigation claim with respect to Licensed -Software against such Respondent. If within said Notice Period a reasonable -royalty and payment arrangement are not mutually agreed upon in writing by the -parties or the litigation claim is not withdrawn, the rights granted by -Licensor to You under Sections 3 and 4 automatically terminate at the -expiration of said Notice Period. - -12.3 Reasonable Value of This License. If You assert a patent infringement -claim against Respondent alleging that Licensed Software directly or -indirectly infringes any patent where such claim is resolved (such as by -license or settlement) prior to the initiation of patent infringement -litigation, then the reasonable value of the licenses granted by said -Respondent under Sections 3 and 4 shall be taken into account in determining -the amount or value of any payment or license. - -12.4 No Retroactive Effect of Termination. In the event of termination under -this Section all end user license agreements (excluding licenses to -distributors and resellers) that have been validly granted by You or any -distributor hereunder prior to termination shall survive termination. - -13.0 Miscellaneous. - -13.1 U.S. Government End Users. The Licensed Software is a "commercial item," -as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of -"commercial computer software" and "commercial computer software -documentation," as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). -Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 -(June 1995), all U.S. Government End Users acquire Licensed Software with only -those rights set forth herein. - -13.2 Relationship of Parties. This License will not be construed as creating -an agency, partnership, joint venture, or any other form of legal association -between or among You, Licensor, or any Contributor, and You will not represent -to the contrary, whether expressly, by implication, appearance, or otherwise. - -13.3 Independent Development. Nothing in this License will impair Licensor's -right to acquire, license, develop, subcontract, market, or distribute -technology or products that perform the same or similar functions as, or -otherwise compete with, Extensions that You may develop, produce, market, or -distribute. - -13.4 Consent To Breach Not Waiver. Failure by Licensor or Contributor to -enforce any provision of this License will not be deemed a waiver of future enforcement -of that or any other provision. - -13.5 Severability. This License represents the complete agreement concerning -the subject matter hereof. If any provision of this License is held to be -unenforceable, such provision shall be reformed only to the extent necessary -to make it enforceable. - -13.6 Inability to Comply Due to Statute or Regulation. If it is impossible for -You to comply with any of the terms of this License with respect to some or -all of the Licensed Software due to statute, judicial order, or regulation, -then You cannot use, modify, or distribute the software. - -13.7 Export Restrictions. You may be restricted with respect to downloading or -otherwise acquiring, exporting, or reexporting the Licensed Software or any -underlying information or technology by United States and other applicable -laws and regulations. By downloading or by otherwise obtaining the Licensed -Software, You are agreeing to be responsible for compliance with all -applicable laws and regulations. - -13.8 Arbitration, Jurisdiction & Venue. This License shall be governed by -Colorado law provisions (except to the extent applicable law, if any, provides -otherwise), excluding its conflict-of-law provisions. You expressly agree that -any dispute relating to this License shall be submitted to binding arbitration -under the rules then prevailing of the American Arbitration Association. You -further agree that Adams County, Colorado USA is proper venue and grant such -arbitration proceeding jurisdiction as may be appropriate for purposes of -resolving any dispute under this License. Judgement upon any award made in -arbitration may be entered and enforced in any court of competent -jurisdiction. The arbitrator shall award attorney's fees and costs of -arbitration to the prevailing party. Should either party find it necessary to -enforce its arbitration award or seek specific performance of such award in a -civil court of competent jurisdiction, the prevailing party shall be entitled -to reasonable attorney's fees and costs. The application of the United Nations -Convention on Contracts for the International Sale of Goods is expressly -excluded. You and Licensor expressly waive any rights to a jury trial in any -litigation concerning Licensed Software or this License. Any law or regulation -that provides that the language of a contract shall be construed against the -drafter shall not apply to this License. - -13.9 Entire Agreement. This License constitutes the entire agreement between -the parties with respect to the subject matter hereof. - -EXHIBIT A - -The License Notice below must appear in each file of the Source Code of any -copy You distribute of the Licensed Software or any Extensions thereto: - -Unless explicitly acquired and licensed from Licensor under another -license, the contents of this file are subject to the Reciprocal Public -License ("RPL") Version 1.5, or subsequent versions as allowed by the RPL, -and You may not copy or use this file in either source code or executable -form, except in compliance with the terms and conditions of the RPL. - -All software distributed under the RPL is provided strictly on an "AS -IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND -LICENSOR HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT -LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE, QUIET ENJOYMENT, OR NON-INFRINGEMENT. See the RPL for specific -language governing rights and limitations under the RPL. - -EXHIBIT B - -The User-Visible Attribution Notice below, when provided, must appear in each -user-visible display as defined in Section 6.4 (d): diff --git a/phpBB/phpbb_seo/includes/.htaccess b/phpBB/phpbb_seo/includes/.htaccess deleted file mode 100644 index aa5afc1640..0000000000 --- a/phpBB/phpbb_seo/includes/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -<Files *> - Order Allow,Deny - Deny from All -</Files>
\ No newline at end of file diff --git a/phpBB/phpbb_seo/includes/setup_phpbb_seo.php b/phpBB/phpbb_seo/includes/setup_phpbb_seo.php deleted file mode 100644 index f7ace88291..0000000000 --- a/phpBB/phpbb_seo/includes/setup_phpbb_seo.php +++ /dev/null @@ -1,262 +0,0 @@ -<?php -/** -* -* @package Ultimate SEO URL phpBB SEO -* @version $Id: setup_phpbb_seo.php 262 2010-04-20 11:06:58Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://www.opensource.org/licenses/rpl1.5.txt Reciprocal Public License 1.5 -* -*/ -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) { - exit; -} -/** -* setup_phpbb_seo Class -* www.phpBB-SEO.com -* @package Ultimate SEO URL phpBB SEO -*/ -class setup_phpbb_seo { - /** - * Do the init - */ - function init_phpbb_seo() { - global $phpEx, $config, $phpbb_root_path; - // --> No Dupe - $this->seo_opt['no_dupe']['on'] = $this->cache_config['dynamic_options']['no_dupe']['on'] = false; - // <-- No Dupe - // --> Zero Dupe - $this->seo_opt['zero_dupe'] = array( 'on' => false, // Activate or not the redirections : true / false - 'strict' => false, // strict compare, == VS strpos() : true / false - 'post_redir' => 'guest', // Redirect post urls if not valid ? : guest / all / post / off - ); - $this->cache_config['dynamic_options']['zero_dupe'] = $this->seo_opt['zero_dupe']; // Do not change - $this->seo_opt['zero_dupe']['do_redir'] = false; // do not change - $this->seo_opt['zero_dupe']['go_redir'] = true; // do not change - $this->seo_opt['zero_dupe']['do_redir_post'] = false; // do not change - $this->seo_opt['zero_dupe']['start'] = 0; // do not change - $this->seo_opt['zero_dupe']['redir_def'] = array(); // do not change - // <-- Zero Dupe - // Let's load config and forum urls, mods adding options in the cache file must do it before - if ($this->check_cache()) { - foreach($this->cache_config['dynamic_options'] as $optionname => $optionvalue ) { - if (@is_array($this->cache_config['settings'][$optionname])) { - $this->seo_opt[$optionname] = array_merge($this->seo_opt[$optionname], $this->cache_config['settings'][$optionname]); - } elseif ( @isset($this->cache_config['settings'][$optionvalue]) ) { - $this->seo_opt[$optionvalue] = $this->cache_config['settings'][$optionvalue]; - } - } - $this->modrtype = @isset($this->seo_opt['modrtype']) ? $this->seo_opt['modrtype'] : $this->modrtype; - if ( $this->modrtype > 1 ) { // Load cached URLs - $this->seo_url['forum'] =& $this->cache_config['forum']; - } - } - // ====> here starts the add-on and custom set up <==== - - // ===> Custom url replacements <=== - // Here you can set up custom replacements to be used in title injection. - // Example : array( 'find' => 'replace') - // $this->url_replace = array( - // // Purely cosmetic replace - // '$' => 'dollar', '€' => 'euro', - // '\'s' => 's', // it's => its / mary's => marys ... - // // Language specific replace (German example) - // 'ß' => 'ss', - // 'Ä' => 'Ae', 'ä' => 'ae', - // 'Ö' => 'Oe', 'ö' => 'oe', - // 'Ü' => 'Ue', 'ü' => 'ue', - // ); - - // ===> Custom values Delimiters, Static parts and Suffixes <=== - // ==> Delimiters <== - // Can be overridden, requires .htaccess update <= - // Example : - // $this->seo_delim['forum'] = '-mydelim'; // instead of the default "-f" - - // ==> Static parts <== - // Can be overridden, requires .htaccess update. - // Example : - // $this->seo_static['post'] = 'message'; // instead of the default "post" - // !! phpBB files must be treated a bit differently !! - // Example : - // $this->seo_static['file'][ATTACHMENT_CATEGORY_QUICKTIME] = 'quicktime'; // instead of the default "qt" - // $this->seo_static['file_index'] = 'my_files_virtual_dir'; // instead of the default "resources" - - // ==> Suffixes <== - // Can be overridden, requires .htaccess update <= - // Example : - // $this->seo_ext['topic'] = '/'; // instead of the default ".html" - - // ==> Special for lazy French, others may delete this part - if ( strpos($config['default_lang'], 'fr') !== false ) { - $this->seo_static['user'] = 'membre'; - $this->seo_static['group'] = 'groupe'; - $this->seo_static['global_announce'] = 'annonces'; - $this->seo_static['leaders'] = 'equipe'; - $this->seo_static['atopic'] = 'sujets-actifs'; - $this->seo_static['utopic'] = 'sans-reponses'; - $this->seo_static['npost'] = 'nouveaux-messages'; - $this->seo_static['urpost'] = 'non-lu'; - $this->seo_static['file_index'] = 'ressources'; - } - // <== Special for lazy French, others may delete this part - - // Let's make sure that settings are consistent - $this->check_config(); - } - // Here start the add-on methods - // --> Zero Duplicate - /** - * Custom HTTP 301 redirections. - * To kill duplicates - */ - function seo_redirect($url, $header = '301 Moved Permanently', $code = 301, $replace = true) { - global $db; - if (!$this->seo_opt['zero_dupe']['on'] || @headers_sent()) { - return false; - } - garbage_collection(); - $url = str_replace('&', '&', $url); - // Behave as redirect() for checks to provide with the same level of protection - // Make sure no linebreaks are there... to prevent http response splitting for PHP < 4.4.2 - if (strpos(urldecode($url), "\n") !== false || strpos(urldecode($url), "\r") !== false || strpos($url, ';') !== false) { - trigger_error('Tried to redirect to potentially insecure url.', E_USER_ERROR); - } - // Now, also check the protocol and for a valid url the last time... - $allowed_protocols = array('http', 'https'/*, 'ftp', 'ftps'*/); - $url_parts = parse_url($url); - if ($url_parts === false || empty($url_parts['scheme']) || !in_array($url_parts['scheme'], $allowed_protocols)) { - trigger_error('Tried to redirect to potentially insecure url.', E_USER_ERROR); - } - $http = 'HTTP/1.1 '; - header($http . $header, $replace, $code); - header('Location: ' . $url); - exit_handler(); - } - /** - * Set the do_redir_post option right - */ - function set_do_redir_post() { - global $user; - switch ($this->seo_opt['zero_dupe']['post_redir']) { - case 'guest': - if ( empty($user->data['is_registered']) ) { - $this->seo_opt['zero_dupe']['do_redir_post'] = true; - } - break; - case 'all': - $this->seo_opt['zero_dupe']['do_redir_post'] = true; - break; - case 'off': // Do not redirect - $this->seo_opt['zero_dupe']['do_redir'] = false; - $this->seo_opt['zero_dupe']['go_redir'] = false; - $this->seo_opt['zero_dupe']['do_redir_post'] = false; - break; - default: - $this->seo_opt['zero_dupe']['do_redir_post'] = false; - break; - } - return $this->seo_opt['zero_dupe']['do_redir_post']; - } - /** - * Redirects if the uri sent does not match (fully) the - * attended url - */ - function seo_chk_dupe($url = '', $uri = '', $path = '') { - global $auth, $user, $_SID, $phpbb_root_path, $config; - if (empty($this->seo_opt['req_file']) || (!$this->seo_opt['rewrite_usermsg'] && $this->seo_opt['req_file'] == 'search') ) { - return false; - } - if (!empty($_REQUEST['explain']) && (boolean) ($auth->acl_get('a_') && defined('DEBUG_EXTRA'))) { - if ($_REQUEST['explain'] == 1) { - return true; - } - } - $path = empty($path) ? $phpbb_root_path : $path; - $uri = !empty($uri) ? $uri : $this->seo_path['uri']; - $reg = !empty($user->data['is_registered']) ? true : false; - $url = empty($url) ? $this->expected_url($path) : str_replace('&', '&', append_sid($url, false, true, 0)); - $url = $this->drop_sid($url); - // Only add sid if user is registered and needs it to keep session - if (!empty($_GET['sid']) && !empty($_SID) && ($reg || !$this->seo_opt['rem_sid']) ) { - if ($_GET['sid'] == $user->session_id) { - $url .= (utf8_strpos( $url, '?' ) !== false ? '&' : '?') . 'sid=' . $user->session_id; - } - } - $url = str_replace( '%26', '&', urldecode($url)); - if ($this->seo_opt['zero_dupe']['do_redir']) { - $this->seo_redirect($url); - } else { - $url_check = $url; - // we remove url hash for comparison, but keep it for redirect - if (strpos($url, '#') !== false) { - list($url_check, $hash) = explode('#', $url, 2); - } - if ($this->seo_opt['zero_dupe']['strict']) { - return $this->seo_opt['zero_dupe']['go_redir'] && ( ($uri != $url_check) ? $this->seo_redirect($url) : false ); - } else { - return $this->seo_opt['zero_dupe']['go_redir'] && ( (utf8_strpos( $uri, $url_check ) === false) ? $this->seo_redirect($url) : false ); - } - } - } - /** - * expected_url($path = '') - * build expected url - */ - function expected_url($path = '') { - global $phpbb_root_path, $phpEx; - $path = empty($path) ? $phpbb_root_path : $path; - $params = array(); - foreach ($this->seo_opt['zero_dupe']['redir_def'] as $get => $def) { - if ((isset($_GET[$get]) && $def['keep']) || !empty($def['force'])) { - $params[$get] = $def['val']; - if (!empty($def['hash'])) { - $params['#'] = $def['hash']; - } - } - } - $this->page_url = append_sid($path . $this->seo_opt['req_file'] . ".$phpEx", $params, false, 0); - return $this->page_url; - } - /** - * set_cond($bool, $type = 'bool_redir', $or = true) - * Helps out grabbing boolean vars - */ - function set_cond($bool, $type = 'do_redir', $or = true) { - if ( $or ) { - $this->seo_opt['zero_dupe'][$type] = (boolean) ($bool || $this->seo_opt['zero_dupe'][$type]); - } else { - $this->seo_opt['zero_dupe'][$type] = (boolean) ($bool && $this->seo_opt['zero_dupe'][$type]); - } - return; - } - /** - * check start var consistency - * Returns our best guess for $start, eg the first valid page - */ - function seo_chk_start($start = 0, $limit = 0) { - if ($limit > 0) { - $start = is_int($start/$limit) ? $start : intval($start/$limit)*$limit; - } - if ( $start >= 1 ) { - $this->start = $this->seo_delim['start'] . (int) $start; - return (int) $start; - } - $this->start = ''; - return 0; - } - /** - * get_canonical - * Returns the canonical url if ever built - * Beware with ssl : - * Since we want zero duplicate, the canonical element will only use https when ssl is forced - * (eg set as THE server protocol in config) and will use http in other cases. - */ - function get_canonical() { - return $this->sslify($this->seo_path['canonical'], $this->ssl['forced'], true); - } - // <-- Zero Duplicate -} -?>
\ No newline at end of file diff --git a/phpBB/phpbb_seo/phpbb_seo_class.php b/phpBB/phpbb_seo/phpbb_seo_class.php deleted file mode 100644 index 63955467b6..0000000000 --- a/phpBB/phpbb_seo/phpbb_seo_class.php +++ /dev/null @@ -1,886 +0,0 @@ -<?php -/** -* -* @package Ultimate SEO URL phpBB SEO -* @version $Id: phpbb_seo_class.php 277 2010-11-25 12:09:02Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://www.opensource.org/licenses/rpl1.5.txt Reciprocal Public License 1.5 -* -*/ -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) { - exit; -} -require($phpbb_root_path . "phpbb_seo/includes/setup_phpbb_seo.$phpEx"); -/** -* phpBB_SEO Class -* www.phpBB-SEO.com -* @package Ultimate SEO URL phpBB SEO -*/ -class phpbb_seo extends setup_phpbb_seo { - var $version = '0.6.6'; - var $modrtype = 2; // We set it to mixed as a default value - var $seo_path = array(); - var $seo_url = array( 'forum' => array(), 'topic' => array(), 'user' => array(), 'username' => array(), 'group' => array(), 'file' => array() ); - var $phpbb_filter = array( - 'forum' => array('st' => 0, 'sk' => 't', 'sd' => 'd'), - 'topic' => array('st' => 0, 'sk' => 't', 'sd' => 'a', 'hilit' => ''), - 'search' => array('st' => 0, 'sk' => 't', 'sd' => 'd', 'ch' => ''), - ); - var $seo_stop_files = array('posting' => 1, 'faq' => 1, 'ucp' => 1, 'swatch' => 1, 'mcp' => 1, 'style' => 1, 'cron' => 1); - var $seo_stop_vars = array('view=', 'mark=', 'watch=', 'hash='); - var $seo_stop_dirs = array(); - var $seo_delim = array( 'forum' => '-f', 'topic' => '-t', 'user' => '-u', 'group' => '-g', 'start' => '-', 'sr' => '-', 'file' => '/'); - var $seo_ext = array( 'forum' => '.html', 'topic' => '.html', 'post' => '.html', 'user' => '.html', 'group' => '.html', 'index' => '', 'global_announce' => '/', 'leaders' => '.html', 'atopic' => '.html', 'utopic' => '.html', 'npost' => '.html', 'urpost' => '.html', 'pagination' => '.html', 'gz_ext' => ''); - var $seo_static = array( 'forum' => 'forum', 'topic' => 'topic', 'post' => 'post', 'user' => 'member', 'group' => 'group', 'index' => '', 'global_announce' => 'announces', 'leaders' => 'the-team', 'atopic' => 'active-topics', 'utopic' => 'unanswered', 'npost' => 'newposts', 'urpost' => 'unreadposts', 'pagination' => 'page', 'gz_ext' => '.gz' ); - var $file_hbase = array(); - var $get_vars = array(); - var $path = ''; - var $start = ''; - var $filename = ''; - var $file = ''; - var $url_in = ''; - var $url = ''; - var $page_url = ''; - var $seo_opt = array( 'url_rewrite' => false, 'modrtype' => 2, 'sql_rewrite' => false, 'profile_inj' => false, 'profile_vfolder' => false, 'profile_noids' => false, 'rewrite_usermsg' => false, 'rewrite_files' => false, 'rem_sid' => false, 'rem_hilit' => true, 'rem_small_words' => false, 'virtual_folder' => false, 'virtual_root' => false, 'cache_layer' => true, 'rem_ids' => false, ); - var $rewrite_method = array(); - var $paginate_method = array(); - var $seo_cache = array(); - var $cache_config = array(); - var $RegEx = array(); - var $sftpl = array(); - var $url_replace = array(); - var $ssl = array('requested' => false, 'forced' => false); - /** - * constuctor - */ - function phpbb_seo() { - global $phpEx, $config, $phpbb_root_path; - // fix for an interesting bug with parse_str http://bugs.php.net/bug.php?id=48697 - // and apparently, the bug is still here in php5.3 - @ini_set("mbstring.internal_encoding", 'UTF-8'); - // Nothing should be edited here, please do your custom settings in the - // phpbb_seo/includes/setup_phpbb_seo.php instead to make your updates easier. - // reset the rewrite_method for $phpbb_root_path - $this->rewrite_method[$phpbb_root_path] = array(); - // phpBB files must be treated a bit differently - $this->seo_static['file'] = array(ATTACHMENT_CATEGORY_NONE => 'file', ATTACHMENT_CATEGORY_IMAGE => 'image', ATTACHMENT_CATEGORY_WM => 'wm', ATTACHMENT_CATEGORY_RM => 'rm', ATTACHMENT_CATEGORY_THUMB => 'image', ATTACHMENT_CATEGORY_FLASH => 'flash', ATTACHMENT_CATEGORY_QUICKTIME => 'qt'); - $this->seo_static['file_index'] = 'resources'; - $this->seo_static['thumb'] = 'thumb'; - // Options that may be bypassed by the cached settings. - $this->cache_config['dynamic_options'] = array_keys($this->seo_opt); // Do not change - // copyright notice, do not change - $this->cache_config['dynamic_options']['copyrights'] = $this->seo_opt['copyrights'] = array('img' => true, 'txt' => '', 'title' => ''); - // Caching config - $this->seo_opt['cache_folder'] = 'phpbb_seo/cache/'; // Folder where the cache file is stored - define('SEO_CACHE_PATH', rtrim(phpbb_realpath($phpbb_root_path . $this->seo_opt['cache_folder']), '/') . '/'); // do not change - $this->seo_opt['topic_type'] = array(); // do not change - $this->seo_opt['topic_last_page'] = array(); // do not change - $this->cache_config['cache_enable'] = true; // do not change - $this->cache_config['rem_ids'] = $this->seo_opt['rem_ids']; // do not change, set up above - $this->cache_config['files'] = array('forum' => 'phpbb_cache.' . $phpEx, 'htaccess' => '.htaccess'); - $this->cache_config['cached'] = false; // do not change - $this->cache_config['forum'] = array(); // do not change - $this->cache_config['topic'] = array(); // do not change - $this->cache_config['settings'] = array(); // do not change - // --> DOMAIN SETTING <-- // - // SSL, beware with cookie secure, it won't force ssl here, - // so you will need to switch to ssl for your user to use cookie based session (no sid) - // could be done by using an https link to login form (or within the redirect after login) - $this->ssl['requested'] = (bool) ((isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] === 'on' || $_SERVER['HTTPS'] === true)) || (isset($_SERVER['SERVER_PORT']) && (int) $_SERVER['SERVER_PORT'] === 443)); - $this->ssl['forced'] = (bool) (($config['server_protocol'] === 'https//')); - $this->ssl['use'] = (bool) ($this->ssl['requested'] || $this->ssl['forced']); - // Server Settings, rely on DB - $server_protocol = $this->ssl['use'] ? 'https://' : 'http://'; - $server_name = trim($config['server_name'], '/ '); - $server_port = max(0, (int) $config['server_port']); - $server_port = ($server_port && $server_port <> 80) ? ':' . $server_port : ''; - $script_path = trim($config['script_path'], './ '); - $script_path = (empty($script_path) ) ? '' : $script_path . '/'; - $this->seo_path['root_url'] = strtolower($server_protocol . $server_name . $server_port . '/'); - $this->seo_path['phpbb_urlR'] = $this->seo_path['phpbb_url'] = $this->seo_path['root_url'] . $script_path; - $this->seo_path['phpbb_script'] = $script_path; - $this->seo_path['phpbb_files'] = $this->seo_path['phpbb_url'] . 'download/'; - $this->seo_path['canonical'] = ''; - // magic quotes, do it like this in case phpbb_seo class is not started in common.php - if (!defined('STRIP')) { - if (version_compare(PHP_VERSION, '6.0.0-dev', '<') ) { - if (get_magic_quotes_gpc()) { - define('SEO_STRIP', true); - } - } - } elseif (STRIP) { - define('SEO_STRIP', true); - } - // File setting - $this->seo_req_uri(); - $this->seo_opt['seo_base_href'] = $this->seo_opt['req_file'] = $this->seo_opt['req_self'] = ''; - if ($script_name = (!empty($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : getenv('PHP_SELF')) { - // From session.php - // Replace backslashes and doubled slashes (could happen on some proxy setups) - $this->seo_opt['req_self'] = str_replace(array('\\', '//'), '/', $script_name); - // basenamed page name (for example: index) - $this->seo_opt['req_file'] = urlencode(htmlspecialchars(str_replace(".$phpEx", '', basename($this->seo_opt['req_self'])))); - } - // Load settings from phpbb_seo/includes/setup_phpbb_seo.php - $this->init_phpbb_seo(); - $this->seo_path['phpbb_filesR'] = $this->seo_path['phpbb_urlR'] . $this->seo_static['file_index'] . $this->seo_delim['file']; - // see if we have some custom replacement - if (!empty($this->url_replace)) { - $this->url_replace = array( - 'find' => array_keys($this->url_replace), - 'replace' => array_values($this->url_replace) - ); - } - $this->seo_opt['topic_per_page'] = ($config['posts_per_page'] <= 0) ? 1 : $config['posts_per_page']; // do not change - // Array of the filenames that require the use of a base href tag. - $this->file_hbase = array_merge(array('viewtopic' => $this->seo_path['phpbb_url'], 'viewforum' => $this->seo_path['phpbb_url'], 'memberlist' => $this->seo_path['phpbb_url'], 'search' => $this->seo_path['phpbb_url']), $this->file_hbase); - // Stop dirs - $this->seo_stop_dirs = array_merge(array($phpbb_root_path . 'adm/' => false), $this->seo_stop_dirs); - // Rewrite functions array : array( 'path' => array('file_name' => 'function_name')); - // Warning, this way of doing things is path aware, this implies path to be properly sent to append_sid() - // Allow to add options without slowing down the URL rewriting process - $this->rewrite_method[$phpbb_root_path] = array_merge( - array( - 'viewtopic' => 'viewtopic', - 'viewforum' => 'viewforum', - 'index' => 'index', - 'memberlist' => 'memberlist', - 'search' => $this->seo_opt['rewrite_usermsg'] ? 'search' : '', - ), - $this->rewrite_method[$phpbb_root_path] - ); - $this->rewrite_method[$phpbb_root_path . 'download/']['file'] = $this->seo_opt['rewrite_files'] ? 'phpbb_files' : ''; - $this->paginate_method = array_merge( - array( - 'topic' => $this->seo_ext['topic'] === '/' ? 'rewrite_pagination_page' : 'rewrite_pagination', - 'forum' => $this->seo_ext['forum'] === '/' ? 'rewrite_pagination_page' : 'rewrite_pagination', - 'group' => $this->seo_ext['group'] === '/' ? 'rewrite_pagination_page' : 'rewrite_pagination', - 'user' => $this->seo_ext['user'] === '/' ? 'rewrite_pagination_page' : 'rewrite_pagination', - 'atopic' => $this->seo_ext['atopic'] === '/' ? 'rewrite_pagination_page' : 'rewrite_pagination', - 'utopic' => $this->seo_ext['utopic'] === '/' ? 'rewrite_pagination_page' : 'rewrite_pagination', - 'npost' => $this->seo_ext['npost'] === '/' ? 'rewrite_pagination_page' : 'rewrite_pagination', - 'urpost' => $this->seo_ext['urpost'] === '/' ? 'rewrite_pagination_page' : 'rewrite_pagination', - ), - $this->paginate_method - ); - $this->RegEx = array_merge( - array( - 'topic' => array( - 'check' => '`^' . ($this->seo_opt['virtual_folder'] ? '%1$s/' : '') . '(' . $this->seo_static['topic'] . '|[a-z0-9_-]+' . $this->seo_delim['topic'] . ')$`i', - 'match' => '`^((([a-z0-9_-]+)(' . $this->seo_delim['forum'] . '([0-9]+))?/)?(' . $this->seo_static['topic'] . '(?!=' . $this->seo_delim['topic'] . ')|.+(?=' . $this->seo_delim['topic'] . '))(' . $this->seo_delim['topic'] . ')?)([0-9]+)$`i', - 'parent' => 2, - 'parent_id' => 5, - 'title' => 6, - 'id' => 8, - 'url' => 1, - ), - 'forum' => array( - 'check' => $this->modrtype >= 2 ? '`^[a-z0-9_-]+(' . $this->seo_delim['forum'] . '[0-9]+)?$`i' : '`^' . $this->seo_static['forum'] . '[0-9]+$`i', - 'match' => '`^((' . $this->seo_static['forum'] . '|.+)(' . $this->seo_delim['forum'] . '([0-9]+))?)$`i', - 'title' => '\2', - 'id' => '\4', - ), - ), - $this->RegEx - ); - // preg_replace() patterns for format_url() - // One could want to add |th|horn after |slash, but I'm not sure that Þ should be replaced with t and Ð with e - $this->RegEx['url_find'] = array('`&([a-z]+)(acute|grave|circ|cedil|tilde|uml|lig|ring|caron|slash);`i', '`&(amp;)?[^;]+;`i', '`[^a-z0-9]`i'); // Do not remove : deaccentuation, html/xml entities & non a-z chars - $this->RegEx['url_replace'] = array('\1', '-', '-'); - if ($this->seo_opt['rem_small_words']) { - $this->RegEx['url_find'][] = '`(^|-)[a-z0-9]{1,2}(?=-|$)`i'; - $this->RegEx['url_replace'][] = '-'; - } - $this->RegEx['url_find'][] ='`[-]+`'; // Do not remove : multi hyphen reduction - $this->RegEx['url_replace'][] = '-'; - // $1 parent : string/ - // $2 title / url : topic-title / forum-url-fxx - // $3 id - $this->sftpl = array_merge( - array( - 'topic' => ($this->seo_opt['virtual_folder'] ? '%1$s/' : '') . '%2$s' . $this->seo_delim['topic'] . '%3$s', - 'topic_smpl' => ($this->seo_opt['virtual_folder'] ? '%1$s/' : '') . $this->seo_static['topic'] . '%3$s', - 'forum' => $this->modrtype >= 2 ? '%2$s' : $this->seo_static['forum'] . '%3$s', - 'group' => $this->seo_opt['profile_inj'] ? '%2$s' . $this->seo_delim['group'] . '%3$s' : $this->seo_static['group'] . '%3$s', - ), - $this->sftpl - ); - if ( $this->seo_opt['url_rewrite'] && !defined('ADMIN_START') && isset($this->file_hbase[$this->seo_opt['req_file']])) { - $this->seo_opt['seo_base_href'] = '<base href="' . $this->file_hbase[$this->seo_opt['req_file']] . '"/>'; - } - return; - } - /** - * will make sure that configured options are consistent - * @access private - */ - function check_config() { - $this->modrtype = max(0, (int) $this->modrtype); - // For profiles and user messages pages, if we do not inject, we do not get rid of ids - $this->seo_opt['profile_noids'] = $this->seo_opt['profile_inj'] ? $this->seo_opt['profile_noids'] : false; - // If profile noids ... - if ($this->seo_opt['profile_noids']) { - $this->seo_ext['user'] = '/'; - } - // Profile ans user messages virtual folder - if ($this->seo_opt['profile_vfolder']) { - $this->seo_ext['user'] = '/'; - } - $this->seo_delim['sr'] = $this->seo_ext['user'] == '/' ? '/' : $this->seo_delim['sr']; - // If we use virtual folder, we need '/' at the end of the forum URLs - if ($this->seo_opt['virtual_folder']) { - $this->seo_ext['forum'] = $this->seo_ext['global_announce'] = '/'; - } - // If the forum cache is not activated - if (!$this->seo_opt['cache_layer']) { - $this->seo_opt['rem_ids'] = false; - } - // virtual root option - if ($this->seo_opt['virtual_root'] && $this->seo_path['phpbb_script']) { - // virtual root is available and activated - $this->seo_path['phpbb_urlR'] = $this->seo_path['root_url']; - $this->file_hbase['index'] = $this->seo_path['phpbb_url']; - $this->seo_static['index'] = empty($this->seo_static['index']) ? 'forum' : $this->seo_static['index']; - } else { - // virtual root is not used or usable - $this->seo_opt['virtual_root'] = false; - } - $this->seo_ext['index'] = empty($this->seo_static['index']) ? '' : ( empty($this->seo_ext['index']) ? '.html' : $this->seo_ext['index']); - // In case url rewriting is deactivated - if (!$this->seo_opt['url_rewrite'] || $this->modrtype == 0) { - $this->seo_opt['sql_rewrite'] = false; - $this->seo_opt['zero_dupe']['on'] = false; - } - } - // --> URL rewriting functions <-- - /** - * format_url( $url, $type = 'topic' ) - * Prepare Titles for URL injection - */ - function format_url( $url, $type = 'topic' ) { - $url = preg_replace('`\[.*\]`U','',$url); - if (isset($this->url_replace['find'])) { - $url = str_replace($this->url_replace['find'], $this->url_replace['replace'], $url); - } - $url = htmlentities($url, ENT_COMPAT, 'UTF-8'); - $url = preg_replace($this->RegEx['url_find'] , $this->RegEx['url_replace'], $url); - $url = strtolower(trim($url, '-')); - return empty($url) ? $type : $url; - } - /** - * set_url( $url, $id = 0, $type = 'forum', $parent = '' ) - * Prepare url first part and checks cache - */ - function set_url( $url, $id = 0, $type = 'forum', $parent = '') { - if ( empty($this->seo_url[$type][$id]) ) { - return ( $this->seo_url[$type][$id] = !empty($this->cache_config[$type][$id]) ? $this->cache_config[$type][$id] : sprintf($this->sftpl[$type], $parent, $this->format_url($url, $this->seo_static[$type]) . $this->seo_delim[$type] . $id, $id) ); - } - return $this->seo_url[$type][$id]; - } - /** - * prepare_url( $type, $title, $id, $parent = '', $smpl = false ) - * Prepare url first part - */ - function prepare_url( $type, $title, $id, $parent = '', $smpl = false ) { - return empty($this->seo_url[$type][$id]) ? ($this->seo_url[$type][$id] = sprintf($this->sftpl[$type . ($smpl ? '_smpl' : '')], $parent, !$smpl ? $this->format_url($title, $this->seo_static[$type]) : '', $id)) : $this->seo_url[$type][$id]; - } - /** - * set_title( $type, $title, $id, $parent = '' ) - * Set title for url injection - */ - function set_title( $type, $title, $id, $parent = '' ) { - return empty($this->seo_url[$type][$id]) ? ($this->seo_url[$type][$id] = ($parent ? $parent . '/' : '') . $this->format_url($title, $this->seo_static[$type])) : $this->seo_url[$type][$id]; - } - /** - * get_url_info($type, $url, $info = 'title') - * Get info from url (title, id, parent etc ...) - */ - function get_url_info($type, $url, $info = 'title') { - $url = trim($url, '/ '); - if (preg_match($this->RegEx[$type]['match'], $url, $matches)) { - return !empty($matches[$this->RegEx[$type][$info]]) ? $matches[$this->RegEx[$type][$info]] : ''; - } - return ''; - } - /** - * check_url( $type, $url, $parent = '') - * Validate a prepared url - */ - function check_url( $type, $url, $parent = '') { - if (empty($url)) { - return false; - } - $parent = !empty($parent) ? (string) $parent : '[a-z0-9/_-]+'; - return !empty($this->RegEx[$type]['check']) ? preg_match(sprintf($this->RegEx[$type]['check'], $parent), $url) : false; - } - /** - * prepare_iurl( $data, $type, $parent = '' ) - * Prepare url first part (not for forums) with SQL based URL rewriting - */ - function prepare_iurl( $data, $type, $parent = '' ) { - $id = max(0, (int) $data[$type . '_id']); - if ( empty($this->seo_url[$type][$id]) ) { - if (!empty($data[$type . '_url'])) { - return ($this->seo_url[$type][$id] = $data[$type . '_url'] . $id); - } else { - return ($this->seo_url[$type][$id] = sprintf($this->sftpl[$type . ($this->modrtype > 2 ? '' : '_smpl')], $parent, $this->modrtype > 2 ? $this->format_url($data[$type . '_title'], $this->seo_static[$type]) : '', $id)); - } - } - return $this->seo_url[$type][$id]; - } - /** - * drop_sid( $url ) - * drop the sid's in url - */ - function drop_sid( $url ) { - return (strpos($url, 'sid=') !== false) ? trim(preg_replace(array('`&(amp;)?sid=[a-z0-9]*(&|&)?`', '`(\?)sid=[a-z0-9]*`'), array('\2', '\1'), $url), '?') : $url; - } - /** - * set_user_url( $username, $user_id = 0 ) - * Prepare profile url - */ - function set_user_url( $username, $user_id = 0 ) { - if (empty($this->seo_url['user'][$user_id])) { - $username = strip_tags($username); - $this->seo_url['username'][$username] = $user_id; - if ( $this->seo_opt['profile_inj'] ) { - if ( $this->seo_opt['profile_noids'] ) { - $this->seo_url['user'][$user_id] = $this->seo_static['user'] . '/' . $this->seo_url_encode($username); - } else { - $this->seo_url['user'][$user_id] = $this->format_url($username, $this->seo_delim['user']) . $this->seo_delim['user'] . $user_id; - } - } else { - $this->seo_url['user'][$user_id] = $this->seo_static['user'] . $user_id; - } - } - } - /** - * seo_url_encode( $url ) - * custom urlencoding - */ - function seo_url_encode( $url ) { - // can be faster to return $url directly if you do not allow more chars than - // [a-zA-Z0-9_\.-] in your usernames - // return $url; - // Here we hanlde the "&", "/", "+" and "#" case proper ( http://www.php.net/urlencode => http://issues.apache.org/bugzilla/show_bug.cgi?id=34602 ) - static $find = array('&', '/', '#', '+'); - static $replace = array('%26', '%2F', '%23', '%2b'); - return rawurlencode(str_replace( $find, $replace, utf8_normalize_nfc(htmlspecialchars_decode(str_replace('&amp;', '%26', rawurldecode($url)))))); - } - /** - * url_rewrite($url, $params = false, $is_amp = true, $session_id = false) - * builds and Rewrite URLs. - * Allow adding of many more cases than just the - * regular phpBB URL rewritting without slowing down the process. - * Mimics append_sid with some shortcuts related to how url are rewritten - */ - function url_rewrite($url, $params = false, $is_amp = true, $session_id = false) { - global $phpEx, $user, $_SID, $_EXTRA_URL, $phpbb_root_path; - $qs = $anchor = ''; - $this->get_vars = array(); - $amp_delim = ($is_amp) ? '&' : '&'; - if (strpos($url, '#') !== false) { - list($url, $anchor) = explode('#', $url, 2); - $anchor = '#' . $anchor; - } - @list($this->path, $qs) = explode('?', $url, 2); - if (is_array($params)) { - if (!empty($params['#'])) { - $anchor = '#' . $params['#']; - unset($params['#']); - } - $qs .= ($qs ? $amp_delim : '') . $this->query_string($params, $amp_delim, ''); - } elseif ($params) { - if (strpos($params, '#') !== false) { - list($params, $anchor) = explode('#', $params, 2); - $anchor = '#' . $anchor; - } - $qs .= ($qs ? $amp_delim : '') . $params; - } - // Appending custom url parameter? - if (!empty($_EXTRA_URL)) { - $qs .= ($qs ? $amp_delim : '') . implode($amp_delim, $_EXTRA_URL); - } - // Sid ? - if ($session_id === false && !empty($_SID)) { - $qs .= ($qs ? $amp_delim : '') . "sid=$_SID"; - } else if ($session_id) { - $qs .= ($qs ? $amp_delim : '') . "sid=$session_id"; - } - // Build vanilla URL - if (preg_match("`\.[a-z0-9]+$`i", $this->path) ) { - $this->file = basename($this->path); - $this->path = ltrim(str_replace($this->file, '', $this->path), '/'); - } else { - $this->file = ''; - $this->path = ltrim($this->path, '/'); - } - $this->url_in = $this->file . ($qs ? '?' . $qs : ''); - $url = $this->path . $this->url_in . $anchor; - if (isset($this->seo_cache[$url])) { - return $this->seo_cache[$url]; - } - if ( !$this->seo_opt['url_rewrite'] || defined('ADMIN_START') || isset($this->seo_stop_dirs[$this->path]) ) { - return ($this->seo_cache[$url] = $url); - } - $this->filename = trim(str_replace(".$phpEx", '', $this->file)); - if ( isset($this->seo_stop_files[$this->filename]) ) { - // add full url - $url = $this->path == $phpbb_root_path ? $this->seo_path['phpbb_url'] . preg_replace('`^' . $phpbb_root_path . '`', '', $url) : $url; - return ($this->seo_cache[$url] = $url); - } - parse_str(str_replace('&', '&', $qs), $this->get_vars); - // strp slashes if necessary - if (defined('SEO_STRIP')) { - $this->get_vars = array_map(array(&$this, 'stripslashes'), $this->get_vars); - } - if (empty($user->data['is_registered'])) { - if ( $this->seo_opt['rem_sid'] ) { - unset($this->get_vars['sid']); - } - if ( $this->seo_opt['rem_hilit'] ) { - unset($this->get_vars['hilit']); - } - } - $this->url = $this->file; - if ( !empty($this->rewrite_method[$this->path][$this->filename]) ) { - $this->{$this->rewrite_method[$this->path][$this->filename]}(); - return ($this->seo_cache[$url] = $this->path . $this->url . $this->query_string($this->get_vars, $amp_delim, '?') . $anchor); - } else { - return ($this->seo_cache[$url] = $url); - } - } - /** - * URL rewritting for viewtopic.php - * With Virtual Folder Injection - * @access private - */ - function viewtopic() { - global $phpbb_root_path; - $this->filter_url($this->seo_stop_vars); - $this->path = $this->seo_path['phpbb_urlR']; - if ( !empty($this->get_vars['p']) ) { - $this->url = $this->seo_static['post'] . $this->get_vars['p'] . $this->seo_ext['post']; - unset($this->get_vars['p'], $this->get_vars['f'], $this->get_vars['t'], $this->get_vars['start']); - return; - } - if ( isset($this->get_vars['t']) && !empty($this->seo_url['topic'][$this->get_vars['t']]) ) { - // Filter default params - $this->filter_get_var($this->phpbb_filter['topic']); - $this->{$this->paginate_method['topic']}($this->seo_ext['topic']); - $this->url = $this->seo_url['topic'][$this->get_vars['t']] . $this->start; - unset($this->get_vars['t'], $this->get_vars['f'], $this->get_vars['p']); - return; - } else if (!empty($this->get_vars['t'])) { - // Filter default params - $this->filter_get_var($this->phpbb_filter['topic']); - $this->{$this->paginate_method['topic']}($this->seo_ext['topic']); - $this->url = $this->seo_static['topic'] . $this->get_vars['t'] . $this->start; - unset($this->get_vars['t'], $this->get_vars['f'], $this->get_vars['p']); - return; - } - $this->path = $this->seo_path['phpbb_url']; - return; - } - /** - * URL rewritting for viewforum.php - * @access private - */ - function viewforum() { - global $phpbb_root_path; - $this->path = $this->seo_path['phpbb_urlR']; - $this->filter_url($this->seo_stop_vars); - if ( isset($this->get_vars['f']) && !empty($this->seo_url['forum'][$this->get_vars['f']]) ) { - // Filter default params - $this->filter_get_var($this->phpbb_filter['forum']); - $this->{$this->paginate_method['forum']}($this->seo_ext['forum']); - $this->url = $this->seo_url['forum'][$this->get_vars['f']] . $this->start; - unset($this->get_vars['f']); - return; - } else if (!empty($this->get_vars['f'])) { - // Filter default params - $this->filter_get_var($this->phpbb_filter['forum']); - $this->{$this->paginate_method['forum']}($this->seo_ext['forum']); - $this->url = $this->seo_static['forum'] . $this->get_vars['f'] . $this->start; - unset($this->get_vars['f']); - return; - } - $this->path = $this->seo_path['phpbb_url']; - return; - } - /** - * URL rewritting for memberlist.php - * with nicknames and group name injection - * @access private - */ - function memberlist() { - global $phpbb_root_path; - $this->path = $this->seo_path['phpbb_urlR']; - if ( @$this->get_vars['mode'] === 'viewprofile' && !@empty($this->seo_url['user'][$this->get_vars['u']]) ) { - $this->url = $this->seo_url['user'][$this->get_vars['u']] . $this->seo_ext['user']; - unset($this->get_vars['mode'], $this->get_vars['u']); - return; - } elseif ( @$this->get_vars['mode'] === 'group' && !@empty($this->seo_url['group'][$this->get_vars['g']]) ) { - $this->{$this->paginate_method['group']}($this->seo_ext['group']); - $this->url = $this->seo_url['group'][$this->get_vars['g']] . $this->start; - unset($this->get_vars['mode'], $this->get_vars['g']); - return; - } elseif (@$this->get_vars['mode'] === 'leaders') { - $this->url = $this->seo_static['leaders'] . $this->seo_ext['leaders']; - unset($this->get_vars['mode']); - return; - } - $this->path = $this->seo_path['phpbb_url']; - return; - } - /** - * URL rewritting for search.php - * @access private - */ - function search() { - global $phpbb_root_path; - if (isset($this->get_vars['fid'])) { - $this->get_vars = array(); - $this->url = $this->url_in; - return; - } - $this->path = $this->seo_path['phpbb_urlR']; - $user_id = !empty($this->get_vars['author_id']) ? $this->get_vars['author_id'] : ( isset($this->seo_url['username'][rawurldecode(@$this->get_vars['author'])]) ? $this->seo_url['username'][rawurldecode(@$this->get_vars['author'])] : 0); - if ( $user_id && isset($this->seo_url['user'][$user_id]) ) { - // Filter default params - $this->filter_get_var($this->phpbb_filter['search']); - $this->{$this->paginate_method['user']}($this->seo_ext['user']); - $sr = (@$this->get_vars['sr'] == 'topics' ) ? 'topics' : 'posts'; - $this->url = $this->seo_url['user'][$user_id] . $this->seo_delim['sr'] . $sr . $this->start; - unset($this->get_vars['author_id'], $this->get_vars['author'], $this->get_vars['sr']); - return; - } elseif ( $this->seo_opt['profile_noids'] && !empty($this->get_vars['author']) ) { - // Filter default params - $this->filter_get_var($this->phpbb_filter['search']); - $this->rewrite_pagination_page(); - $sr = (@$this->get_vars['sr'] == 'topics' ) ? '/topics' : '/posts'; - $this->url = $this->seo_static['user'] . '/' . $this->seo_url_encode($this->get_vars['author']) . $sr . $this->start; - unset($this->get_vars['author'], $this->get_vars['author_id'], $this->get_vars['sr']); - return; - } elseif (!empty($this->get_vars['search_id'])) { - switch ($this->get_vars['search_id']) { - case 'active_topics': - $this->filter_get_var($this->phpbb_filter['search']); - $this->{$this->paginate_method['atopic']}($this->seo_ext['atopic']); - $this->url = $this->seo_static['atopic'] . $this->start; - unset($this->get_vars['search_id'], $this->get_vars['sr']); - if (@$this->get_vars['st'] == 7) { - unset($this->get_vars['st']); - } - return; - case 'unanswered': - $this->filter_get_var($this->phpbb_filter['search']); - $this->{$this->paginate_method['utopic']}($this->seo_ext['utopic']); - $this->url = $this->seo_static['utopic'] . $this->start; - unset($this->get_vars['search_id']); - if (@$this->get_vars['sr'] == 'topics') { - unset($this->get_vars['sr']); - } - return; - case 'egosearch': - global $user; - $this->set_user_url($user->data['username'], $user->data['user_id']); - $this->url = $this->seo_url['user'][$user->data['user_id']] . $this->seo_delim['sr'] . 'topics' . $this->seo_ext['user']; - unset($this->get_vars['search_id']); - return; - case 'newposts': - $this->filter_get_var($this->phpbb_filter['search']); - $this->{$this->paginate_method['npost']}($this->seo_ext['npost']); - $this->url = $this->seo_static['npost'] . $this->start; - unset($this->get_vars['search_id']); - if (@$this->get_vars['sr'] == 'topics') { - unset($this->get_vars['sr']); - } - return; - case 'unreadposts': - $this->filter_get_var($this->phpbb_filter['search']); - $this->{$this->paginate_method['urpost']}($this->seo_ext['urpost']); - $this->url = $this->seo_static['urpost'] . $this->start; - unset($this->get_vars['search_id']); - if (@$this->get_vars['sr'] == 'topics') { - unset($this->get_vars['sr']); - } - return; - } - } - $this->path = $this->seo_path['phpbb_url']; - return; - } - /** - * URL rewritting for download/file.php - * @access private - */ - function phpbb_files() { - $this->filter_url($this->seo_stop_vars); - $this->path = $this->seo_path['phpbb_filesR']; - if (isset($this->get_vars['id']) && !empty($this->seo_url['file'][$this->get_vars['id']])) { - $this->url = $this->seo_url['file'][$this->get_vars['id']]; - if (!empty($this->get_vars['t'])) { - $this->url .= $this->seo_delim['file'] . $this->seo_static['thumb']; - } /*else if (@$this->get_vars['mode'] == 'view') { - $this->url .= $this->seo_delim['file'] . 'view'; - }*/ - $this->url .= $this->seo_delim['file'] . $this->get_vars['id']; - unset($this->get_vars['id'], $this->get_vars['t'], $this->get_vars['mode']); - return; - } - $this->path = $this->seo_path['phpbb_files']; - return; - } - /** - * URL rewritting for index.php - * @access private - */ - function index() { - $this->path = $this->seo_path['phpbb_urlR']; - if ($this->filter_url($this->seo_stop_vars)) { - $this->url = $this->seo_static['index'] . $this->seo_ext['index']; - return; - } - $this->path = $this->seo_path['phpbb_url']; - return; - } - /** - * Returns true if the user can edit urls - * @access public - */ - function url_can_edit($forum_id = 0) { - global $user, $auth; - if (empty($this->seo_opt['sql_rewrite']) || empty($user->data['is_registered'])) { - return false; - } - if ($auth->acl_get('a_')) { - return true; - } - // un comment to grant url edit perm to moderators in at least a forums - /*if ($auth->acl_getf_global('m_')) { - return true; - }*/ - $forum_id = max(0, (int) $forum_id); - if ($forum_id && $auth->acl_get('m_', $forum_id)) { - return true; - } - return false; - } - /** - * Will break if a $filter pattern is foundin $url. - * Example $filter = array("view=", "mark="); - * @access private - */ - function filter_url($filter = array()) { - foreach ($filter as $patern ) { - if ( strpos($this->url_in, $patern) !== false ) { - $this->get_vars = array(); - $this->url = $this->url_in; - return false; - } - } - return true; - } - /** - * Will unset all default var stored in $filter array. - * Example $filter = array('st' => 0, 'sk' => 't', 'sd' => 'a', 'hilit' => ''); - * @access private - */ - function filter_get_var($filter = array()) { - if ( !empty($this->get_vars) ) { - foreach ($this->get_vars as $paramkey => $paramval) { - if ( isset($filter[$paramkey]) ) { - if ( $filter[$paramkey] == $this->get_vars[$paramkey] || !isset($this->get_vars[$paramkey])) { - unset($this->get_vars[$paramkey]); - } - } - } - } - return; - } - /** - * Appends the GET vars in the query string - * @access public - */ - function query_string($get_vars = array(), $amp_delim = '&', $url_delim = '?') { - if(empty($get_vars)) { - return ''; - } - $params = array(); - foreach($get_vars as $key => $value) { - if (is_array($value)) { - foreach($value as $k => $v) { - $params[] = $key . '[' . $k . ']=' . $v; - } - } else { - $params[] = $key . (!trim($value) ? '' : '=' . $value); - } - } - return $url_delim . implode($amp_delim , $params); - } - /** - * rewrite pagination, simple - * -xx.html - */ - function rewrite_pagination($suffix) { - $this->start = $this->seo_start( @$this->get_vars['start'] ) . $suffix; - unset($this->get_vars['start']); - } - /** - * rewrite pagination, virtual folder - * /pagexx.html - */ - function rewrite_pagination_page() { - $this->start = '/' . $this->seo_start_page( @$this->get_vars['start'] ); - unset($this->get_vars['start']); - } - /** - * Returns usable start param - * -xx - */ - function seo_start($start) { - return ($start >= 1 ) ? $this->seo_delim['start'] . (int) $start : ''; - } - /** - * Returns usable start param - * pagexx.html - * Only used in virtual folder mode - */ - function seo_start_page($start) { - return ($start >=1 ) ? $this->seo_static['pagination'] . (int) $start . $this->seo_ext['pagination'] : ''; - } - /** - * Returns the full REQUEST_URI - */ - function seo_req_uri() { - if ( !empty($_SERVER['HTTP_X_REWRITE_URL']) ) { // IIS isapi_rewrite - $this->seo_path['uri'] = ltrim($_SERVER['HTTP_X_REWRITE_URL'], '/'); - } elseif ( !empty($_SERVER['REQUEST_URI']) ) { // Apache mod_rewrite - $this->seo_path['uri'] = ltrim($_SERVER['REQUEST_URI'], '/'); - } else { // no mod rewrite - $this->seo_path['uri'] = ltrim($_SERVER['SCRIPT_NAME'], '/') . ( ( !empty($_SERVER['QUERY_STRING']) ) ? '?'.$_SERVER['QUERY_STRING'] : '' ); - } - $this->seo_path['uri'] = str_replace( '%26', '&', rawurldecode($this->seo_path['uri'])); - // workaround for FF default iso encoding - if (!$this->is_utf8($this->seo_path['uri'])) { - $this->seo_path['uri'] = utf8_normalize_nfc(utf8_recode($this->seo_path['uri'], 'iso-8859-1')); - } - $this->seo_path['uri'] = $this->seo_path['root_url'] . $this->seo_path['uri']; - return $this->seo_path['uri']; - } - /** - * seo_end() : The last touch function - * Note : This mod is going to help your site a lot in Search Engines - * We request that you keep this copyright notice as specified in the licence. - * If You really cannot put this link, you should at least provide us with one visible - * (can be small but visible) link on your home page or your forum Index using this code for example : - * <a href="http://www.phpbb-seo.com/" title="Search Engine Optimization">phpBB SEO</a> - */ - function seo_end($return = false) { - global $user, $config; - if (empty($this->seo_opt['copyrights']['title'])) { - $this->seo_opt['copyrights']['title'] = strpos($config['default_lang'], 'fr') !== false ? 'Optimisation du Référencement' : 'Search Engine Optimization'; - } - if (empty($this->seo_opt['copyrights']['txt'])) { - $this->seo_opt['copyrights']['txt'] = 'phpBB SEO'; - } - if ($this->seo_opt['copyrights']['img']) { - $output = '<br /><a href="http://www.phpbb-seo.com/" title="' . $this->seo_opt['copyrights']['title'] . '"><img src="' . $this->seo_path['phpbb_url'] . 'images/phpbb-seo.png" alt="' . $this->seo_opt['copyrights']['txt'] . '"/></a>'; - } else { - $output = '<br /><a href="http://www.phpbb-seo.com/" title="' . $this->seo_opt['copyrights']['title'] . '">' . $this->seo_opt['copyrights']['txt'] . '</a>'; - } - if ($return) { - return $output; - } else { - $user->lang['TRANSLATION_INFO'] .= $output; - } - return; - } - // -> Cache functions - /** - * forum_id(&$forum_id, $forum_uri = '') - * will tell the forum id from the uri or the forum_uri GET var by checking the cache. - */ - function get_forum_id(&$forum_id, $forum_uri = '') { - if (empty($forum_uri)) { - $forum_uri = request_var('forum_uri', ''); - unset($_GET['forum_uri'], $_REQUEST['forum_uri']); - } - if (empty($forum_uri) || $forum_uri == $this->seo_static['global_announce']) { - return 0; - } - if ($id = @array_search($forum_uri, $this->cache_config['forum']) ) { - $forum_id = max(0, (int) $id); - } elseif ( $id = $this->get_url_info('forum', $forum_uri, 'id')) { - $forum_id = max(0, (int) $id); - } - return $forum_id; - } - /** - * check_cache() will tell if the required file exists. - * @access private - */ - function check_cache( $type = 'forum', $from_bkp = false ) { - $file = SEO_CACHE_PATH . @$this->cache_config['files'][$type]; - if( !$this->cache_config['cache_enable'] || !isset($this->cache_config['files'][$type]) || !file_exists($file) ) { - $this->cache_config['cached'] = false; - return false; - } - include($file); - if (is_array($this->cache_config[$type]) ) { - $this->cache_config['cached'] = true; - return true; - } else { - if ( !$from_bkp ) { - // Try the current backup - @copy($file . '.current', $file); - $this->check_cache( $type, true ); - } - $this->cache_config['cached'] = false; - return false; - } - } - /** - * sslify($url, $ssl = true, $proto_check = true) - * properly set http protocol (eg http or https) - * if no protocol is specified, will return false with $proto_check set to true - */ - function sslify($url, $ssl = true, $proto_check = true) { - static $mask = '`^https?://`i'; - $url = trim($url); - if ($url && preg_match($mask, $url)) { - $replace = $ssl ? 'https://' : 'http://'; - return preg_replace($mask, $replace, $url); - } - return $proto_check ? false : $url; - } - /** - * is_utf8($string) - * Borrowed from php.net : http://www.php.net/mb_detect_encoding (detectUTF8) - */ - function is_utf8($string) { - // non-overlong 2-byte|excluding overlongs|straight 3-byte|excluding surrogates|planes 1-3|planes 4-15|plane 16 - return preg_match('%(?:[\xC2-\xDF][\x80-\xBF]|\xE0[\xA0-\xBF][\x80-\xBF]|[\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}|\xED[\x80-\x9F][\x80-\xBF] |\xF0[\x90-\xBF][\x80-\xBF]{2}|[\xF1-\xF3][\x80-\xBF]{3}|\xF4[\x80-\x8F][\x80-\xBF]{2})+%xs', $string); - } - /** - * stripslashes($value) - * Borrowed from php.net : http://www.php.net/stripslashes - */ - function stripslashes($value) { - return is_array($value) ? array_map(array(&$this, 'stripslashes'), $value) : stripslashes($value); - } - // --> Add on Functions <-- - // --> Gen stats - /** - * Returns usable microtime - * Borrowed from php.net - */ - function microtime_float() { - return array_sum(explode(' ',microtime())); - } -} // End of the phpbb_seo class -?>
\ No newline at end of file diff --git a/phpBB/phpbb_seo/phpbb_seo_install.php b/phpBB/phpbb_seo/phpbb_seo_install.php deleted file mode 100644 index 5654f97b59..0000000000 --- a/phpBB/phpbb_seo/phpbb_seo_install.php +++ /dev/null @@ -1,776 +0,0 @@ -<?php -/** -* -* @package Ultimate SEO URL phpBB SEO -* @version $Id: phpbb_seo_install.php 222 2010-02-27 13:08:48Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://www.opensource.org/licenses/rpl1.5.txt Reciprocal Public License 1.5 -* -*/ -/* - * Based on the phpBB3 install package / www.phpBB.com - */ -define('IN_PHPBB', true); -define('IN_INSTALL', true); -$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../'; -$phpEx = substr(strrchr(__FILE__, '.'), 1); -// Try to override some limits - maybe it helps some... -@set_time_limit(0); -$mem_limit = @ini_get('memory_limit'); -if (!empty($mem_limit)) { - $unit = strtolower(substr($mem_limit, -1, 1)); - $mem_limit = (int) $mem_limit; - if ($unit == 'k') { - $mem_limit = floor($mem_limit / 1024); - } else if ($unit == 'g') { - $mem_limit *= 1024; - } else if (is_numeric($unit)) { - $mem_limit = floor((int) ($mem_limit . $unit) / 1048576); - } - $mem_limit = max(128, $mem_limit) . 'M'; -} else { - $mem_limit = '128M'; -} -@ini_set('memory_limit', $mem_limit); -include($phpbb_root_path . 'common.' . $phpEx); -// Include essential scripts -require($phpbb_root_path . 'includes/functions_install.' . $phpEx); -// Start session management -$user->session_begin(); -$auth->acl($user->data); -$user->setup('mods/acp_phpbb_seo'); -// Security check -// Circumvent a potential phpbb bug with paths -$redirect = append_sid(generate_board_url() . "/phpbb_seo/phpbb_seo_install.$phpEx"); -if (!$user->data['is_registered']) { - login_box($redirect, $user->lang['SEO_LOGIN'],'', false, false); -} -if (!$auth->acl_get('a_')) { - $user->session_kill(true); - login_box($redirect, $user->lang['SEO_LOGIN_ADMIN'],'', false, false); -} -if ($user->data['user_type'] != USER_FOUNDER) { - login_box($redirect, $user->lang['SEO_LOGIN_FOUNDER'],'', false, false); -} -$user->add_lang(array('acp/common', 'acp/board', 'install', 'posting', 'acp/modules')); -$mode = request_var('mode', 'overview'); -$sub = request_var('sub', ''); -// Set some standard variables we want to force -$config['load_tplcompile'] = '1'; -$template->set_custom_template('../adm/style', '../admin'); -$template->assign_var('T_TEMPLATE_PATH', '../adm/style'); -// the acp template is never stored in the database -$user->theme['template_storedb'] = false; -// Start the installer -$install = new module(); -$install->create('install', "phpbb_seo_install.$phpEx", $mode, $sub); -$install->load(); -// Generate the page -$install->page_header(); -$install->generate_navigation(); -$template->set_filenames(array( - 'body' => $install->get_tpl_name()) -); -$install->page_footer(); -/** -* @package install -*/ -class module { - var $id = 0; - var $type = 'install'; - var $module_ary = array(); - var $filename; - var $module_url = ''; - var $tpl_name = ''; - var $mode; - var $sub; - /** - * Private methods, should not be overwritten - */ - function create($module_type, $module_url, $selected_mod = false, $selected_submod = false) { - global $db, $config, $phpEx, $phpbb_root_path, $user; - $module = array( - array( - 'module_type' => 'install', - 'module_title' => 'OVERVIEW', - 'module_filename' => 'overview_phpbb_seo', - 'module_order' => 0, - 'module_subs' => array('INTRO', 'LICENSE', 'SUPPORT'), - 'module_stages' => '', - 'module_reqs' => '' - ), - array( - 'module_type' => 'install', - 'module_title' => 'INSTALL_PHPBB_SEO', - 'module_filename' => 'install_phpbb_seo', - 'module_order' => 1, - 'module_subs' => '', - 'module_stages' => array('INTRO', 'FINAL'), - 'module_reqs' => '' - ), - array( - 'module_type' => 'uninstall', - 'module_title' => 'UNINSTALL_PHPBB_SEO', - 'module_filename' => 'install_phpbb_seo', - 'module_order' => 2, - 'module_subs' => '', - 'module_stages' => array('INTRO', 'FINAL'), - 'module_reqs' => '' - ), - ); - // Order to use and count further if modules get assigned to the same position or not having an order - $max_module_order = 1000; - foreach ($module as $row) { - // Module order not specified or module already assigned at this position? - if (!isset($row['module_order']) || isset($this->module_ary[$row['module_order']])) { - $row['module_order'] = $max_module_order; - $max_module_order++; - } - $this->module_ary[$row['module_order']]['name'] = $row['module_title']; - $this->module_ary[$row['module_order']]['filename'] = $row['module_filename']; - $this->module_ary[$row['module_order']]['subs'] = $row['module_subs']; - $this->module_ary[$row['module_order']]['stages'] = $row['module_stages']; - if (strtolower($selected_mod) == strtolower($row['module_title'])) { - $this->id = (int) $row['module_order']; - $this->filename = (string) $row['module_filename']; - $this->module_url = (string) $module_url; - $this->mode = (string) $selected_mod; - // Check that the sub-mode specified is valid or set a default if not - if (is_array($row['module_subs'])) { - $this->sub = strtolower((in_array(strtoupper($selected_submod), $row['module_subs'])) ? $selected_submod : $row['module_subs'][0]); - } else if (is_array($row['module_stages'])) { - $this->sub = strtolower((in_array(strtoupper($selected_submod), $row['module_stages'])) ? $selected_submod : $row['module_stages'][0]); - } else { - $this->sub = ''; - } - } - } // END foreach - } // END create - /** - * Load and run the relevant module if applicable - */ - function load($mode = false, $run = true) { - global $phpbb_root_path, $phpEx; - if ($run) { - if (!empty($mode)) { - $this->mode = $mode; - } - $module = $this->filename; - if (!class_exists($module)) { - $this->error('Module "' . htmlspecialchars($module) . '" not accessible.', __LINE__, __FILE__); - } - $this->module = new $module($this); - if (method_exists($this->module, 'main')) { - $this->module->main($this->mode, $this->sub); - } - } - } - /** - * Output the standard page header - */ - function page_header() { - if (defined('HEADER_INC')) { - return; - } - define('HEADER_INC', true); - global $template, $user, $stage, $phpbb_root_path; - $template->assign_vars(array( - 'L_INSTALL_PANEL' => $user->lang['SEO_INSTALL_PANEL'], - 'L_SKIP' => $user->lang['SKIP'], - 'PAGE_TITLE' => $this->get_page_title(), - 'T_IMAGE_PATH' => $phpbb_root_path . 'adm/images/', - 'S_CONTENT_DIRECTION' => $user->lang['DIRECTION'], - 'S_CONTENT_ENCODING' => 'UTF-8', - 'S_USER_LANG' => $user->lang['USER_LANG'], - ) - ); - header('Content-type: text/html; charset=UTF-8'); - header('Cache-Control: private, no-cache="set-cookie"'); - header('Expires: 0'); - header('Pragma: no-cache'); - return; - } - /** - * Output the standard page footer - */ - function page_footer() { - global $db, $template, $phpbb_seo; - $template->display('body'); - // Close our DB connection. - if (!empty($db) && is_object($db)) { - $db->sql_close(); - } - exit; - } - /** - * Returns desired template name - */ - function get_tpl_name() { - return $this->module->tpl_name . '.html'; - } - /** - * Returns the desired page title - */ - function get_page_title() { - global $user; - if (!isset($this->module->page_title)) { - return ''; - } - return (isset($user->lang[$this->module->page_title])) ? $user->lang[$this->module->page_title] : $this->module->page_title; - } - /** - * Generate an HTTP/1.1 header to redirect the user to another page - * This is used during the installation when we do not have a database available to call the normal redirect function - * @param string $page The page to redirect to relative to the installer root path - */ - function redirect($page) { - $server_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : getenv('SERVER_NAME'); - $server_port = (!empty($_SERVER['SERVER_PORT'])) ? (int) $_SERVER['SERVER_PORT'] : (int) getenv('SERVER_PORT'); - $secure = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 1 : 0; - - $script_name = (!empty($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : getenv('PHP_SELF'); - if (!$script_name) { - $script_name = (!empty($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : getenv('REQUEST_URI'); - } - // Replace backslashes and doubled slashes (could happen on some proxy setups) - $script_name = str_replace(array('\\', '//'), '/', $script_name); - $script_path = trim(dirname($script_name)); - $url = (($secure) ? 'https://' : 'http://') . $server_name; - if ($server_port && (($secure && $server_port <> 443) || (!$secure && $server_port <> 80))) { - $url .= ':' . $server_port; - } - $url .= $script_path . '/' . $page; - header('Location: ' . $url); - exit; - } - /** - * Generate the navigation tabs - */ - function generate_navigation() { - global $user, $template, $phpEx; - if (is_array($this->module_ary)) { - @ksort($this->module_ary); - foreach ($this->module_ary as $cat_ary) { - $cat = $cat_ary['name']; - $l_cat = (!empty($user->lang['CAT_' . $cat])) ? $user->lang['CAT_' . $cat] : preg_replace('#_#', ' ', $cat); - $cat = strtolower($cat); - $url = $this->module_url . "?mode=$cat"; - if ($this->mode == $cat) { - $template->assign_block_vars('t_block1', array( - 'L_TITLE' => $l_cat, - 'S_SELECTED' => true, - 'U_TITLE' => $url, - )); - if (is_array($this->module_ary[$this->id]['subs'])) { - $subs = $this->module_ary[$this->id]['subs']; - foreach ($subs as $option) { - $l_option = (!empty($user->lang['SUB_' . $option])) ? $user->lang['SUB_' . $option] : preg_replace('#_#', ' ', $option); - $option = strtolower($option); - $url = $this->module_url . '?mode=' . $this->mode . "&sub=$option"; - $template->assign_block_vars('l_block1', array( - 'L_TITLE' => $l_option, - 'S_SELECTED' => ($this->sub == $option), - 'U_TITLE' => $url, - )); - } - } - if (is_array($this->module_ary[$this->id]['stages'])) { - $subs = $this->module_ary[$this->id]['stages']; - $matched = false; - foreach ($subs as $option) { - $l_option = (!empty($user->lang['STAGE_' . $option])) ? $user->lang['STAGE_' . $option] : preg_replace('#_#', ' ', $option); - $option = strtolower($option); - $matched = ($this->sub == $option) ? true : $matched; - - $template->assign_block_vars('l_block2', array( - 'L_TITLE' => $l_option, - 'S_SELECTED' => ($this->sub == $option), - 'S_COMPLETE' => !$matched, - )); - } - } - } else { - $template->assign_block_vars('t_block1', array( - 'L_TITLE' => $l_cat, - 'S_SELECTED' => false, - 'U_TITLE' => $url, - )); - } - } - } - } - /** - * Output an error message - * If skip is true, return and continue execution, else exit - */ - function error($error, $line = '', $file = '', $skip = false, $title = '') { - global $user, $db, $template, $phpbb_seo; - $title = !empty($title) ? $title : $user->lang['INST_ERR_FATAL']; - $file = !empty($file) ? basename($file) . ' [ ' . $line . ' ]' : ''; - if ($skip) { - $template->assign_block_vars('checks', array( - 'S_LEGEND' => true, - 'LEGEND' => $user->lang['INST_ERR'], - )); - $template->assign_block_vars('checks', array( - 'TITLE' => basename($file) . ' [ ' . $line . ' ]', - 'RESULT' => '<b style="color:red">' . $error . '</b>', - )); - return; - } - echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'; - echo '<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">'; - echo '<head>'; - echo '<meta http-equiv="content-type" content="text/html; charset=utf-8" />'; - echo '<title>' . $title . '</title>'; - echo '<link href="../adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />'; - echo '</head>'; - echo '<body id="errorpage">'; - echo '<div id="wrap">'; - echo ' <div id="page-header">'; - echo ' </div>'; - echo ' <div id="page-body">'; - echo ' <div id="acp">'; - echo ' <div class="panel">'; - echo ' <span class="corners-top"><span></span></span>'; - echo ' <div id="content">'; - echo ' <h1>' . $title . '</h1>'; - echo ' <p>' . $file . '</p>' . "\n"; - echo ' <p><b>' . $error . "</b></p>\n"; - echo ' </div>'; - echo ' <span class="corners-bottom"><span></span></span>'; - echo ' </div>'; - echo ' </div>'; - echo ' </div>'; - echo ' <div id="page-footer">'; - echo ' Powered by phpBB © 2000, 2002, 2005, 2007 <a href="http://www.phpbb.com/">phpBB Group</a>'; - echo $phpbb_seo->seo_end(true); - echo ' </div>'; - echo '</div>'; - echo '</body>'; - echo '</html>'; - if (!empty($db) && is_object($db)) { - $db->sql_close(); - } - exit; - } - /** - * Output an error message for a database related problem - * If skip is true, return and continue execution, else exit - */ - function db_error($error, $sql, $line, $file, $skip = false) { - global $user, $db, $template; - if ($skip) { - $template->assign_block_vars('checks', array( - 'S_LEGEND' => true, - 'LEGEND' => $user->lang['INST_ERR_FATAL'], - )); - $template->assign_block_vars('checks', array( - 'TITLE' => basename($file) . ' [ ' . $line . ' ]', - 'RESULT' => '<b style="color:red">' . $error . '</b><br />» SQL:' . $sql, - )); - return; - } - $template->set_filenames(array( - 'body' => 'install_error.html') - ); - $this->page_header(); - $this->generate_navigation(); - $template->assign_vars(array( - 'MESSAGE_TITLE' => $user->lang['INST_ERR_FATAL_DB'], - 'MESSAGE_TEXT' => '<p>' . basename($file) . ' [ ' . $line . ' ]</p><p>SQL : ' . $sql . '</p><p><b>' . $error . '</b></p>', - )); - // Rollback if in transaction - if ($db->transaction) { - $db->sql_transaction('rollback'); - } - $this->page_footer(); - } -} -/** -* Installation Tabs -*/ -class install_phpbb_seo extends module { - var $errors = array(); - var $uninst_prefix = ''; - var $modrtype_lang = array(); - function install_phpbb_seo(&$p_master) { - global $user, $phpbb_seo, $config; - $this->modrtype_lang = set_phpbb_seo_links(); - $this->p_master = &$p_master; - } - function main($mode, $sub) { - global $user, $template, $phpbb_root_path, $phpbb_seo; - $this->uninst_prefix = $mode == 'install_phpbb_seo' ? '' : 'UN_'; - switch ($sub) { - case 'intro': - $this->page_title = $user->lang['SUB_INTRO']; - $template->assign_vars(array( - 'TITLE' => $user->lang[$this->uninst_prefix . 'SEO_INSTALL_INTRO'], - 'BODY' => sprintf($user->lang[$this->uninst_prefix . 'SEO_INSTALL_INTRO_BODY'], $this->modrtype_lang['ulink'], $phpbb_seo->version), - 'L_SUBMIT' => $user->lang[$this->uninst_prefix . 'SEO_INSTALL'], - 'S_LANG_SELECT' => '', - 'U_ACTION' => $this->p_master->module_url . "?mode=$mode&sub=final", - )); - break; - case 'final': - if ($mode == 'install_phpbb_seo') { - $this->add_modules($mode, $sub); - } else { - $this->remove_modules($mode, $sub); - } - $this->final_stage($mode, $sub); - break; - } - $this->tpl_name = 'install_install'; - } - /** - * Populate the module tables - */ - function add_modules($mode, $sub) { - global $db, $user, $phpbb_root_path, $phpEx; - include_once($phpbb_root_path . 'includes/acp/acp_modules.' . $phpEx); - $_module = new acp_modules(); - if ( $this->get_module_id('ACP_MOD_REWRITE') > 0 ) { - $url_mod = !empty($sub) ? '?mode=' . $mode : ''; - $this->p_master->error(sprintf($user->lang['SEO_ERROR_INSTALLED'], $user->lang['ACP_CAT_PHPBB_SEO'] ) . '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], '<a href="' . $this->p_master->module_url . $url_mod . '">', '</a>'), '', '', false, $user->lang['SEO_ERROR_INFO']); - } - $module_classes = array('acp'); - // Add categories - foreach ($module_classes as $module_class) { - $categories = array(); - // Set the module class - $_module->module_class = $module_class; - foreach ($this->module_categories[$module_class] as $cat_name => $subs) { - $module_data = array( - 'module_basename' => '', - 'module_enabled' => 1, - 'module_display' => 1, - 'parent_id' => 0, - 'module_class' => $module_class, - 'module_langname' => $cat_name, - 'module_mode' => '', - 'module_auth' => '', - ); - if ( $this->get_module_id('ACP_CAT_PHPBB_SEO') < 1 ) { - // Add category - $_module->update_module_data($module_data, true); - } else { - $module_data['module_id'] = $this->check_module_id('ACP_CAT_PHPBB_SEO'); - } - // Check for last sql error happened - if ($db->sql_error_triggered) { - $error = $db->sql_error($db->sql_error_sql); - $this->p_master->db_error($error['message'], $db->sql_error_sql, __LINE__, __FILE__); - } - $categories[$cat_name]['id'] = (int) $module_data['module_id']; - $categories[$cat_name]['parent_id'] = 0; - // Create sub-categories... - if (is_array($subs)) { - foreach ($subs as $level2_name) { - $module_data = array( - 'module_basename' => '', - 'module_enabled' => 1, - 'module_display' => 1, - 'parent_id' => (int) $categories[$cat_name]['id'], - 'module_class' => $module_class, - 'module_langname' => $level2_name, - 'module_mode' => '', - 'module_auth' => '', - ); - $_module->update_module_data($module_data, true); - // Check for last sql error happened - if ($db->sql_error_triggered) { - $error = $db->sql_error($db->sql_error_sql); - $this->p_master->db_error($error['message'], $db->sql_error_sql, __LINE__, __FILE__); - } - $categories[$level2_name]['id'] = (int) $module_data['module_id']; - $categories[$level2_name]['parent_id'] = (int) $categories[$cat_name]['id']; - } - } - } - // Get the modules we want to add... returned sorted by name - $module_info = $_module->get_module_infos('phpbb_seo', $module_class); - foreach ($module_info as $module_basename => $fileinfo) { - foreach ($fileinfo['modes'] as $module_mode => $row) { - foreach ($row['cat'] as $cat_name) { - if (!isset($categories[$cat_name])) { - continue; - } - $module_data = array( - 'module_basename' => $module_basename, - 'module_enabled' => 1, - 'module_display' => (isset($row['display'])) ? (int) $row['display'] : 1, - 'parent_id' => (int) $categories[$cat_name]['id'], - 'module_class' => $module_class, - 'module_langname' => $row['title'], - 'module_mode' => $module_mode, - 'module_auth' => $row['auth'], - ); - $_module->update_module_data($module_data, true); - // Check for last sql error happened - if ($db->sql_error_triggered) { - $error = $db->sql_error($db->sql_error_sql); - $this->p_master->db_error($error['message'], $db->sql_error_sql, __LINE__, __FILE__); - } - } - } - } - $_module->remove_cache_file(); - } - } - /** - * remove_modules - */ - function remove_modules($mode, $sub) { - global $db, $user, $phpbb_root_path, $phpEx; - include_once($phpbb_root_path . 'includes/acp/acp_modules.' . $phpEx); - $_module = new acp_modules(); - // Set the module class - $module_classes = array_keys($this->module_categories); - $_module->u_action = "phpbb_seo_install.$phpEx"; - $cat_module_data = array(); - $module_data = array(); - $delete_module_data = array(); - foreach ($module_classes as $module_class) { - $_module->module_class = $module_class; - foreach ($this->module_categories[$module_class] as $cat_name => $subs) { - // If the cat is already uninstalled break for now - if ( $this->get_module_id($cat_name) < 1 ) { - $url_mod = !empty($this->sub) ? '?mode=' . $this->mode : ''; - $this->p_master->error(sprintf($user->lang['SEO_ERROR_UNINSTALLED'], $user->lang[$cat_name] ). '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], '<a href="' . $this->p_master->module_url . $url_mod . '">', '</a>'), '', '', false, $user->lang['SEO_ERROR_INFO']); - } - $cat_module_data[$cat_name] = array( - 'module_id' => $this->check_module_id($cat_name, ''), - 'module_basename' => '', - 'module_enabled' => 1, - 'module_display' => 1, - 'parent_id' => 0, - 'module_class' => $module_class, - 'module_langname' => $cat_name, - 'module_mode' => '', - 'module_auth' => '', - ); - if (is_array($subs)) { - foreach ($subs as $sub_cat) { - $sub_cat_module_data[$sub_cat] = array( - 'module_id' => $this->check_module_id($sub_cat), - 'module_basename' => '', - 'module_enabled' => 1, - 'module_display' => 1, - 'parent_id' => (int) $cat_module_data[$cat_name]['module_id'], - 'module_class' => $module_class, - 'module_langname' => $sub_cat, - 'module_mode' => '', - 'module_auth' => '', - ); - $branch = $_module->get_module_branch($sub_cat_module_data[$sub_cat]['module_id'],'children', 'descending', false); - if (sizeof($branch)) { - foreach ($branch as $module) { - $error = $_module->delete_module($module['module_id']); - if (!sizeof($error)) { - $_module->remove_cache_file(); - $delete_module_data[$module['module_id']] = $module['module_langname'] . ' - id : ' . $module['module_id']; - } else { - $this->errors[] = implode(' ', $error); - } - } // End modules - } - if (!sizeof($this->errors)) { - $error = $_module->delete_module($sub_cat_module_data[$sub_cat]['module_id']); - if (!sizeof($error)) { - $_module->remove_cache_file(); - $delete_module_data[$sub_cat_module_data[$sub_cat]['module_id']] = $sub_cat_module_data[$sub_cat]['module_langname'] . ' - id : ' . $sub_cat_module_data[$sub_cat]['module_id']; - } else { - $this->errors[] = implode(' ', $error); - } - } - } - } // End sub categories - if (!sizeof($this->errors)) { - $branch = $_module->get_module_branch($cat_module_data[$cat_name]['module_id'],'children', 'descending', false); - if (empty($branch)) { - $error = $_module->delete_module($cat_module_data[$cat_name]['module_id']); - } - if (!sizeof($error)) { - $_module->remove_cache_file(); - $delete_module_data[$cat_module_data[$cat_name]['module_id']] = $cat_module_data[$cat_name]['module_langname'] . ' - id : ' . $cat_module_data[$cat_name]['module_id']; - } else { - $this->errors[] = implode(' ', $error); - } - } - } // End categories - } // End classes - return; - } - /** - * check_module_id by title - */ - function check_module_id($title) { - global $user; - if ( $module_id = $this->get_module_id($title)) { - return $module_id; - } else { - $url_mod = !empty($this->sub) ? '?mode=' . $this->mode : ''; - $this->p_master->error(sprintf($user->lang['SEO_ERROR_ID'], $title ) . '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], '<a href="' . $this->p_master->module_url . $url_mod . '">', '</a>'), '', '', false, $user->lang['SEO_ERROR_INFO']); - } - } - /** - * get_module_id by title - */ - function get_module_id($title) { - global $db, $user, $phpEx; - $sql = 'SELECT module_id - FROM ' . MODULES_TABLE . " - WHERE module_langname = '" . $db->sql_escape($title) . "'"; - $result = $db->sql_query_limit($sql, 1); - $row = $db->sql_fetchrow($result); - if ($row['module_id'] > 1) { - return intval($row['module_id']); - } - return 0; - } - /** - * Sends an email to the board administrator with their password and some useful links - */ - function final_stage($mode, $sub) { - global $auth, $config, $db, $user, $template, $user, $phpbb_root_path, $phpEx, $phpbb_seo, $cache; - if (!sizeof($this->errors) ) { - add_log('admin', 'SEO_LOG_' . strtoupper($mode), $phpbb_seo->version ); - } else { - add_log('admin', 'SEO_LOG_' . strtoupper($mode) . '_FAIL', $this->errors); - $cache->purge(); - $this->p_master->error($user->lang['SEO_ERROR_INSTALL'] . '<br/><pre>' . implode('<br/>', $this->errors) . '</pre>', __LINE__, __FILE__); - } - $this->page_title = $user->lang['STAGE_FINAL']; - if (!class_exists('phpbb_db_tools')) { - include($phpbb_root_path . 'includes/db/db_tools.' . $phpEx); - } - $db_tools = new phpbb_db_tools($db); - $indexes = $db_tools->sql_list_index(TOPICS_TABLE); - $drop_index_name = 'topic_last_post_id'; - $add_index_name = 'topic_lpid'; - if ( $mode == 'install_phpbb_seo' ) { - if (!$db_tools->sql_column_exists(TOPICS_TABLE, 'topic_url')) { - $db_tools->sql_column_add(TOPICS_TABLE, 'topic_url', array('VCHAR', '')); - } - if (in_array($drop_index_name, $indexes)) { - $db_tools->sql_index_drop(TOPICS_TABLE, $drop_index_name); - } - if (!in_array($add_index_name, $indexes)) { - $db_tools->sql_create_index(TOPICS_TABLE, $add_index_name, array('topic_last_post_id')); - } - $submit_action = append_sid($phpbb_root_path . 'adm/index.' . $phpEx . '?sid=' . $user->session_id); - $title = $user->lang['SEO_INSTALL_CONGRATS']; - $body = sprintf($user->lang['SEO_INSTALL_CONGRATS_EXPLAIN'], $this->modrtype_lang['ulink'], $phpbb_seo->version); - } else { - $purge_topic_table = false; - if ($purge_topic_table) { - if ($db_tools->sql_column_exists(TOPICS_TABLE, 'topic_url')) { - $db_tools->sql_column_remove(TOPICS_TABLE, 'topic_url'); - } - } - if (in_array($drop_index_name, $indexes)) { - $db_tools->sql_index_drop(TOPICS_TABLE, $drop_index_name); - } - if (in_array($add_index_name, $indexes)) { - $db_tools->sql_index_drop(TOPICS_TABLE, $add_index_name); - } - $submit_action = append_sid($phpbb_root_path . 'index.' . $phpEx); - $title = $user->lang['UN_SEO_INSTALL_CONGRATS']; - $body = sprintf($user->lang['UN_SEO_INSTALL_CONGRATS_EXPLAIN'], $this->modrtype_lang['ulink'], $phpbb_seo->version); - } - $cache->purge(); - $template->assign_vars(array( - 'TITLE' => $title, - 'BODY' => $body, - 'L_SUBMIT' => $user->lang['SEO_FINAL_' . strtoupper($mode)], - 'U_ACTION' => $submit_action, - )); - } - var $module_categories = array( - 'acp' => array( - 'ACP_CAT_PHPBB_SEO' => array( - 'ACP_MOD_REWRITE', - ), - ), - ); -} -function set_phpbb_seo_links() { - global $user, $phpbb_seo, $config; - $modrtype_lang = array(); - $phpbb_seo->version = htmlspecialchars($phpbb_seo->version); - $phpbb_seo->modrtype = intval($phpbb_seo->modrtype); - if ($phpbb_seo->modrtype < 1 || $phpbb_seo->modrtype > 3) { - $phpbb_seo->modrtype = 1; - } - $modrtype_lang['titles'] = array( 1 => $user->lang['ACP_SEO_SIMPLE'], 2 => $user->lang['ACP_SEO_MIXED'], 3 => $user->lang['ACP_SEO_ADVANCED'], 'u' => $user->lang['ACP_ULTIMATE_SEO_URL']); - $modrtype_lang['title'] = $modrtype_lang['titles'][$phpbb_seo->modrtype]; - $modrtype_lang['utitle'] = $modrtype_lang['titles']['u']; - $modrtype_lang['types'] = array( 1 => 'SIMPLE', 2 => 'MIXED', 1 => 'SIMPLE', 3 => 'ADVANCED'); - $modrtype_lang['type'] = $modrtype_lang['types'][$phpbb_seo->modrtype]; - $modrtype_lang['modrlinks_en'] = array( 1 => 'http://www.phpbb-seo.com/en/simple-seo-url/simple-phpbb-seo-url-t1566.html', 2 => 'http://www.phpbb-seo.com/en/mixed-seo-url/mixed-phpbb-seo-url-t1565.html', 3 => 'http://www.phpbb-seo.com/en/advanced-seo-url/advanced-phpbb-seo-url-t1219.html', 'u' => 'http://www.phpbb-seo.com/en/phpbb-mod-rewrite/ultimate-seo-url-t4608.html' ); - $modrtype_lang['modrlinks_fr'] = array( 1 => 'http://www.phpbb-seo.com/fr/reecriture-url-simple/seo-url-phpbb-simple-t1945.html', 2 => 'http://www.phpbb-seo.com/fr/reecriture-url-intermediaire/seo-url-intermediaire-t1946.html', 3 => 'http://www.phpbb-seo.com/fr/reecriture-url-avancee/seo-url-phpbb-avance-t1501.html', 'u' => 'http://www.phpbb-seo.com/fr/mod-rewrite-phpbb/ultimate-seo-url-t4489.html' ); - $modrtype_lang['modrforumlinks_en'] = array( 1 => 'http://www.phpbb-seo.com/en/simple-seo-url/', 2 => 'http://www.phpbb-seo.com/en/mixed-seo-url/', 3 => 'http://www.phpbb-seo.com/en/advanced-seo-url/', 'u' => 'http://www.phpbb-seo.com/en/phpbb-mod-rewrite/' ); - $modrtype_lang['modrforumlinks_fr'] = array( 1 => 'http://www.phpbb-seo.com/fr/reecriture-url-simple/', 2 => 'http://www.phpbb-seo.com/fr/reecriture-url-intermediaire/', 3 => 'http://www.phpbb-seo.com/fr/reecriture-url-avancee/', 'u' => 'http://www.phpbb-seo.com/fr/mod-rewrite-phpbb/' ); - if (strpos($config['default_lang'], 'fr') !== false ) { - $modrtype_lang['linkurl'] = $modrtype_lang['modrlinks_fr'][$phpbb_seo->modrtype]; - $modrtype_lang['forumlinkurl'] = $modrtype_lang['modrforumlinks_fr'][$phpbb_seo->modrtype]; - $modrtype_lang['ulinkurl'] = $modrtype_lang['modrlinks_fr']['u']; - $modrtype_lang['uforumlinkurl'] = $modrtype_lang['modrforumlinks_fr']['u']; - } else { - $modrtype_lang['linkurl'] = $modrtype_lang['modrlinks_en'][$phpbb_seo->modrtype]; - $modrtype_lang['forumlinkurl'] = $modrtype_lang['modrforumlinks_en'][$phpbb_seo->modrtype]; - $modrtype_lang['ulinkurl'] = $modrtype_lang['modrlinks_en']['u']; - $modrtype_lang['uforumlinkurl'] = $modrtype_lang['modrforumlinks_en']['u']; - } - $modrtype_lang['link'] = '<a href="' . $modrtype_lang['linkurl'] . '" title="' . $user->lang['ACP_PHPBB_SEO_VERSION'] . ' ' . $modrtype_lang['title'] . '" onclick="window.open(this.href); return false;"><b>' . $modrtype_lang['title'] . '</b></a>'; - $modrtype_lang['forumlink'] = '<a href="' . $modrtype_lang['forumlinkurl'] . '" title="' . $user->lang['ACP_SEO_SUPPORT_FORUM'] . '" onclick="window.open(this.href); return false;"><b>' . $user->lang['ACP_SEO_SUPPORT_FORUM'] . '</b></a>'; - $modrtype_lang['ulink'] = '<a href="' . $modrtype_lang['ulinkurl'] . '" title="' . $user->lang['ACP_PHPBB_SEO_VERSION'] . ' ' . $modrtype_lang['utitle'] . '" onclick="window.open(this.href); return false;"><b>' . $modrtype_lang['utitle'] . '</b></a>'; - $modrtype_lang['uforumlink'] = '<a href="' . $modrtype_lang['uforumlinkurl'] . '" title="' . $user->lang['ACP_SEO_SUPPORT_FORUM'] . '" onclick="window.open(this.href); return false;"><b>' . $user->lang['ACP_SEO_SUPPORT_FORUM'] . '</b></a>'; - return $modrtype_lang; -} -/** -* Main Tab - Overview -*/ -class overview_phpbb_seo extends module { - var $modrtype_lang = array(); - function overview_phpbb_seo(&$p_master) { - $this->modrtype_lang = set_phpbb_seo_links(); - $this->p_master = &$p_master; - } - function main($mode, $sub) { - global $lang, $template, $language, $user, $phpbb_seo; - switch ($sub) { - case 'intro' : - $title = $user->lang['SEO_OVERVIEW_TITLE']; - $body = sprintf($user->lang['SEO_OVERVIEW_BODY'], $this->modrtype_lang['ulink'], $phpbb_seo->version, $this->modrtype_lang['ulinkurl']); - break; - case 'license' : - $title = $user->lang['SEO_LICENCE_TITLE']; - $body = '<p>' . $user->lang['SEO_LICENCE_BODY'] . '</p><br/><hr/>' . implode("<br/>\n", file('./docs/COPYING')); - break; - case 'support' : - $title = $user->lang['SEO_SUPPORT_TITLE']; - $body = sprintf($user->lang['SEO_SUPPORT_BODY'],$this->modrtype_lang['uforumlinkurl'], $this->modrtype_lang['utitle'], $this->modrtype_lang['ulinkurl'] ); - break; - } - $this->tpl_name = 'install_main'; - $this->page_title = $title; - $template->assign_vars(array( - 'TITLE' => $title, - 'BODY' => $body, - - 'S_LANG_SELECT' => '', - )); - } -} -/** -* Quick fix for using the module class outside ACP. -*/ -function adm_back_link($u_action) { - global $user, $install; - $url_mod = !empty($install->sub) ? '?mode=' . $install->mode : ''; - return '<br /><br /><a href="' . $install->module_url . $url_mod . '">« ' . $user->lang['BACK_TO_PREV'] . '</a>'; -} -?>
\ No newline at end of file diff --git a/phpBB/phpbb_seo/phpbb_seo_meta.php b/phpBB/phpbb_seo/phpbb_seo_meta.php deleted file mode 100644 index 386eac92ca..0000000000 --- a/phpBB/phpbb_seo/phpbb_seo_meta.php +++ /dev/null @@ -1,271 +0,0 @@ -<?php -/** -* -* @package phpBB SEO Dynamic Meta tags -* @version $Id: phpbb_seo_meta.php 252 2010-03-12 09:23:51Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/licenses/gpl-license.php GNU Public License v2 -* -*/ - -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) { - exit; -} -/** -* seo_meta Class -* www.phpBB-SEO.com -* @package phpBB SEO Dynamic Meta tags -*/ -class seo_meta { - var $meta = array('title' => '', 'description' => '', 'keywords' => '', 'lang' => '', 'category' => '', 'robots' => '', 'distribution' => '', 'resource-type' => '', 'copyright' => ''); - var $meta_def = array(); - var $filters = array('description' => 'meta_filter_txt', 'keywords' => 'make_keywords'); - // here you can comment a tag line to deactivate it - var $tpl = array( - 'lang' => '<meta name="content-language" content="%s" />', - 'title' => '<meta name="title" content="%s" />', - 'description' => '<meta name="description" content="%s" />', - 'keywords' => '<meta name="keywords" content="%s" />', - 'category' => '<meta name="category" content="%s" />', - 'robots' => '<meta name="robots" content="%s" />', - 'distribution' => '<meta name="distribution" content="%s" />', - 'resource-type' => '<meta name="resource-type" content="%s" />', - 'copyright' => '<meta name="copyright" content="%s" />', - ); - /** - * Some config : - * => keywordlimit : number of keywords (max) in the keyword tag, - * => wordlimit : number of words (max) in the desc tag, - * => wordminlen : only words with more than wordminlen letters will be used, default is 2, - * => bbcodestrip : | separated list of bbcode to fully delete, tag + content, default is 'img|url|flash', - * => ellipsis : ellipsis to use if clipping, - * => topic_sql : Do a SQL to build topic meta keywords or just use the meta desc tag, - * => check_ignore : Check the search_ignore_words.php list. - * Please note : - * This will require some more work for the server. - * And this is mostly useless if you have re-enabled the search_ignore_words.php list - * filtering in includes/search/fulltest_native.php (and of course use fulltest_native index). - * => bypass_common : Bypass common words in viewtopic.php. - * Set to true by default because the most interesting keywords are as well among the most common. - * This of course provides with even better results when fulltest_native is used - * and search_ignore_words.php list was re-enabled. - * => get_filter : Disallow tag based on GET var used : coma separated list, will through a disallow meta tag. - * => file_filter : Disallow tag based on the physical script file name : coma separated list of file names - * Some default values are set bellow in the seo_meta_tags() method, - * most are acp configurable when using the Ultimate SEO URL mod : - * => http://www.phpbb-seo.com/en/phpbb-mod-rewrite/ultimate-seo-url-t4608.html (en) - * => http://www.phpbb-seo.com/fr/mod-rewrite-phpbb/ultimate-seo-url-t4489.html (fr) - **/ - var $mconfig = array('keywordlimit' => 15, 'wordlimit' => 25, 'wordminlen' => 2, 'bbcodestrip' => 'img|url|flash|code', 'ellipsis' => ' ...', 'topic_sql' => true, 'check_ignore' => false, 'bypass_common' => true, - // Consider adding ", 'p' => 1" if your forum is no indexed yet or if no post urls are to be redirected - // to add a noindex tag on post urls - 'get_filter' => 'style,hilit,sid', - // noindex based on physical script file name - 'file_filter' => 'ucp', - ); - /** - * constructor : Initialize meta tags - * All values from here will pass through utf8_htmlspecialchars() later - */ - function seo_meta() { - global $config; - // default values, leave empty to only output the corresponding tag if filled - $this->meta_def['robots'] = 'index,follow'; - // global values, if these are empty, the corresponding meta will not show up - $this->meta['category'] = 'general'; - $this->meta['distribution'] = 'global'; - $this->meta['resource-type'] = 'document'; - // other settings that may be set through acp in cas the mod is not used standalone - if (isset($config['seo_meta_desc_limit'])) { - // defaults - $this->meta_def['title'] = $config['seo_meta_title']; - $this->meta_def['description'] = $config['seo_meta_desc']; - $this->meta_def['keywords'] = $config['seo_meta_keywords']; - $this->meta_def['robots'] = $config['seo_meta_robots']; - // global - $this->meta['lang'] = $config['seo_meta_lang']; - $this->meta['copyright'] = $config['seo_meta_copy']; - // settings - $this->mconfig['wordlimit'] = (int) $config['seo_meta_desc_limit']; - $this->mconfig['keywordlimit'] = (int) $config['seo_meta_keywords_limit']; - $this->mconfig['wordminlen'] = (int) $config['seo_meta_min_len']; - $this->mconfig['check_ignore'] = (int) $config['seo_meta_check_ignore']; - $this->mconfig['file_filter'] = preg_replace('`[\s]+`', '', trim($config['seo_meta_file_filter'], ', ')); - $this->mconfig['get_filter'] = preg_replace('`[\s]+`', '', trim($config['seo_meta_get_filter'], ', ')); - $this->mconfig['bbcodestrip'] = str_replace(',', '|', preg_replace('`[\s]+`', '', trim($config['seo_meta_bbcode_filter'], ', '))); - } else { - // default values, leave empty to only output the corresponding tag if filled - $this->meta_def['title'] = $config['sitename']; - $this->meta_def['description'] = $config['site_desc']; - $this->meta_def['keywords'] = $config['site_desc']; - // global values, if these are empty, the corresponding meta will not show up - $this->meta['lang'] = $config['default_lang']; - $this->meta['copyright'] = $config['sitename']; - } - $this->mconfig['get_filter'] = !empty($this->mconfig['get_filter']) ? @explode(',', $this->mconfig['get_filter']) : array(); - $this->mconfig['topic_sql'] = $config['search_type'] == 'fulltext_native' ? $this->mconfig['topic_sql'] : false; - return; - } - /** - * assign / retrun meta tag code - */ - function build_meta( $page_title = '', $return = false) { - global $phpEx, $user, $phpbb_seo, $template, $config; - // If meta robots was not manually set - if (empty($this->meta['robots'])) { - // If url Rewriting is on, we shall be more strict on noindex (since we can :p) - if (!empty($phpbb_seo->seo_opt['url_rewrite'])) { - // If url Rewriting is on, we can deny indexing for any rewritten url with ? - if (preg_match('`(\.html?|/)\?[^\?]*$`i', $phpbb_seo->seo_path['uri'])) { - $this->meta['robots'] = 'noindex,follow'; - } else { - // lets still add some more specific ones - $this->mconfig['get_filter'] = array_merge($this->mconfig['get_filter'], array('st','sk','sd','ch')); - } - } - // Do we allow indexing based on physical script file name - if (empty($this->meta['robots'])) { - if (strpos($this->mconfig['file_filter'], str_replace(".$phpEx", '', $user->page['page_name'])) !== false) { - $this->meta['robots'] = 'noindex,follow'; - } - } - // Do we allow indexing based on get variable - if (empty($this->meta['robots'])) { - foreach ( $this->mconfig['get_filter'] as $get ) { - if (isset($_GET[$get])) { - $this->meta['robots'] = 'noindex,follow'; - break; - } - } - } - // fallback to default if necessary - if (empty($this->meta['robots'])) { - $this->meta['robots'] = $this->meta_def['robots']; - } - } - if (!empty($config['seo_meta_noarchive'])) { - $forum_id = isset($_GET['f']) ? max(0, (int) request_var('f', 0)) : 0; - if ($forum_id) { - $forum_ids = @explode(',', preg_replace('`[\s]+`', '', trim($config['seo_meta_noarchive'], ', '))); - if (in_array($forum_id, $forum_ids)) { - $this->meta['robots'] .= (!empty($this->meta['robots']) ? ',' : '') . 'noarchive'; - } - } - } - // deal with titles, assign the tag if a default is set - if (empty($this->meta['title']) && !empty($this->meta_def['title'])) { - $this->meta['title'] = $page_title; - } - $meta_code = ''; - foreach ($this->tpl as $key => $value) { - if (isset($this->meta[$key])) { - // do like this so we can deactivate one particular tag on a given page, - // by just setting the meta to an empty string - if (trim($this->meta[$key])) { - $this->meta[$key] = isset($this->filters[$key]) ? $this->{$this->filters[$key]}($this->meta[$key]) : $this->meta[$key]; - } - } else if (!empty($this->meta_def[$key])) { - $this->meta[$key] = isset($this->filters[$key]) ? $this->{$this->filters[$key]}($this->meta_def[$key]) : $this->meta_def[$key]; - } - if (trim($this->meta[$key])) { - $meta_code .= sprintf($value, utf8_htmlspecialchars($this->meta[$key])) . "\n"; - } - } - if (!$return) { - $template->assign_var('META_TAG', $meta_code); - } else { - return $meta_code; - } - } - /** - * Returns a coma separated keyword list - */ - function make_keywords($text, $decode_entities = false) { - static $filter = array('`&(amp;)?[^;]+;`i', '`[[:punct:]]+`', '`[0-9]+`', '`[\s]+`'); - $keywords = ''; - $num = 0; - $text = $decode_entities ? html_entity_decode(strip_tags($text), ENT_COMPAT, 'UTF-8') : strip_tags($text); - $text = utf8_strtolower(trim(preg_replace($filter, ' ', $text))); - if (!$text) { - return ''; - } - $text = explode(' ', trim($text)); - if ($this->mconfig['check_ignore']) { - global $phpbb_root_path, $user, $phpEx; - // add stop words to $user to allow reuse - if (empty($user->stop_words)) { - $words = array(); - if (file_exists("{$user->lang_path}{$user->lang_name}/search_ignore_words.$phpEx")) { - // include the file containing ignore words - include("{$user->lang_path}{$user->lang_name}/search_ignore_words.$phpEx"); - } - $user->stop_words = & $words; - } - $text = array_diff($text, $user->stop_words); - } - if (empty($text)) { - return ''; - } - // We take the most used words first - $text = array_count_values($text); - arsort($text); - foreach ($text as $word => $count) { - if ( utf8_strlen($word) > $this->mconfig['wordminlen'] ) { - $keywords .= ', ' . $word; - $num++; - if ( $num >= $this->mconfig['keywordlimit'] ) { - break; - } - } - } - return trim($keywords, ', '); - } - /** - * Filter php/html tags and white spaces and string with limit in words - */ - function meta_filter_txt($text, $bbcode = true) { - if ($bbcode) { - static $RegEx = array(); - static $replace = array(); - if (empty($RegEx)) { - $RegEx = array('`&(amp;)?[^;]+;`i', // HTML entitites - '`<[^>]*>(.*<[^>]*>)?`Usi', // HTML code - ); - $replace = array(' ', ' '); - if (!empty($this->mconfig['bbcodestrip'])) { - $RegEx[] = '`\[(' . $this->mconfig['bbcodestrip'] . ')[^\[\]]*\].*\[/\1[^\[\]]*\]`Usi'; // bbcode to strip - $replace[] = ' '; - } - $RegEx[] = '`\[\/?[a-z0-9\*\+\-]+(?:=(?:".*"|[^\]]*))?(?::[a-z])?(\:[0-9a-z]{5,})\]`'; // Strip all bbcode tags - $replace[] = ''; - $RegEx[] = '`[\s]+`'; // Multiple spaces - $replace[] = ' '; - } - return $this->word_limit(preg_replace($RegEx, $replace, $text)); - } - return $this->word_limit(preg_replace(array('`<[^>]*>(.*<[^>]*>)?`Usi', '`\[\/?[a-z0-9\*\+\-]+(?:=(?:".*"|[^\]]*))?(?::[a-z])?(\:[0-9a-z]{5,})\]`', '`[\s]+`'), ' ', $text)); - } - /** - * Cut the text according to the number of words. - * Borrowed from www.php.net http://www.php.net/preg_replace - */ - function word_limit($string) { - return count($words = preg_split('/\s+/', ltrim($string), $this->mconfig['wordlimit'] + 1)) > $this->mconfig['wordlimit'] ? rtrim(utf8_substr($string, 0, utf8_strlen($string) - utf8_strlen(end($words)))) . $this->mconfig['ellipsis'] : $string; - } - /** - * add meta tag - * $content : if empty, the called tag will show up - * do not call to fall back to default - */ - function collect($type, $content = '', $combine = false) { - if ($combine) { - $this->meta[$type] = (isset($this->meta[$type]) ? $this->meta[$type] . ' ' : '') . (string) $content; - } else { - $this->meta[$type] = (string) $content; - } - } -} -?>
\ No newline at end of file diff --git a/phpBB/phpbb_seo/phpbb_seo_related.php b/phpBB/phpbb_seo/phpbb_seo_related.php deleted file mode 100644 index d8e1802f1c..0000000000 --- a/phpBB/phpbb_seo/phpbb_seo_related.php +++ /dev/null @@ -1,243 +0,0 @@ -<?php -/** -* -* @package phpBB SEO Related topics -* @version $Id: phpbb_seo_related.php 222 2010-02-27 13:08:48Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/licenses/gpl-license.php GNU Public License v2 -* -*/ - -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) { - exit; -} -/** -* seo_related Class -* www.phpBB-SEO.com -* @package phpBB SEO Related topics -*/ -class seo_related { - var $fulltext = true; - var $limit = 5; - var $allforums = false; - var $check_ignore = false; - /** - * constructor - */ - function seo_related() { - global $db, $config; - if (empty($config['seo_related'])) { - return; - } - // override the above defaults when the acp is in use - $this->limit = !empty($config['seo_related_limit']) ? max(1, (int) $config['seo_related_limit']) : $this->limit; - $this->allforums = isset($config['seo_related_allforums']) ? max(0, (int) $config['seo_related_allforums']) : $this->allforums; - $this->check_ignore = isset($config['seo_related_check_ignore']) ? max(0, (int) $config['seo_related_check_ignore']) : $this->check_ignore; - // better to always check, since it's fast - if ($db->sql_layer != 'mysql4' && $db->sql_layer != 'mysqli') { - $this->fulltext = false; - } else { - $this->fulltext = isset($config['seo_related_fulltext']) ? max(0, (int) $config['seo_related_fulltext']) : $this->fulltext; - } - } - /** - * get related topic list - * @param array $topic_data shuld at least provide with topic_id and topic_title - * @param mixed $forum_id The forum id to search in (false / 0 / null to search into all forums) - * */ - function get($topic_data, $forum_id = false) { - global $db, $auth, $cache, $template, $user, $phpEx, $phpbb_root_path, $topic_tracking_info, $config, $phpbb_seo; - if (empty($config['seo_related'])) { - return; - } - $related_result = false; - $enable_icons = 0; - $this->allforums = !$forum_id ? true : $this->allforums; - $sql = $this->build_query($topic_data, $forum_id); - if ($sql && ($result = $db->sql_query_limit($sql, $this->limit))) { - // Grab icons - $icons = $cache->obtain_icons(); - $attachement_icon = $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']); - $s_attachement = $auth->acl_get('u_download'); - while($row = $db->sql_fetchrow($result)) { - $related_forum_id = (int) $row['forum_id']; - $related_topic_id = (int) $row['topic_id']; - $enable_icons = max($enable_icons, $row['enable_icons']); - if ($auth->acl_get('f_list', $related_forum_id)) { - $row['topic_title'] = censor_text($row['topic_title']); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - if (!empty($phpbb_seo->seo_opt['url_rewrite'])) { - $phpbb_seo->set_url($row['forum_name'], $related_forum_id, $phpbb_seo->seo_static['forum']); - $phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$related_forum_id]); - } - // www.phpBB-SEO.com SEO TOOLKIT END - // Replies - $replies = ($auth->acl_get('m_approve', $related_forum_id)) ? $row['topic_replies_real'] : $row['topic_replies']; - $unread_topic = (isset($topic_tracking_info[$related_topic_id]) && $row['topic_last_post_time'] > $topic_tracking_info[$related_topic_id]) ? true : false; - $view_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$related_forum_id&t=$related_topic_id"); - $topic_unapproved = (!$row['topic_approved'] && $auth->acl_get('m_approve', $related_forum_id)) ? true : false; - $u_mcp_queue = ($topic_unapproved) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=queue&mode=approve_details&t=$related_topic_id", true, $user->session_id) : ''; - // Get folder img, topic status/type related information - $folder_img = $folder_alt = $topic_type = ''; - topic_status($row, $replies, $unread_topic, $folder_img, $folder_alt, $topic_type); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN -> no dupe - if (!empty($phpbb_seo->seo_opt['no_dupe']['on'])) { - if (($replies + 1) > $phpbb_seo->seo_opt['topic_per_page']) { - $phpbb_seo->seo_opt['topic_last_page'][$related_topic_id] = floor($replies / $phpbb_seo->seo_opt['topic_per_page']) * $phpbb_seo->seo_opt['topic_per_page']; - } - } - // www.phpBB-SEO.com SEO TOOLKIT END -> no dupe - $template->assign_block_vars('related', array( - 'TOPIC_TITLE' => $row['topic_title'], - 'U_TOPIC' => $view_topic_url, - 'U_FORUM' => $this->allforums ? append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$related_forum_id") : '', - 'FORUM' => $row['forum_name'], - 'PAGINATION' => topic_generate_pagination($replies, $view_topic_url), - 'REPLIES' => $replies, - 'VIEWS' => $row['topic_views'], - 'FIRST_POST_TIME' => $user->format_date($row['topic_time']), - 'LAST_POST_TIME' => $user->format_date($row['topic_last_post_time']), - 'TOPIC_AUTHOR_FULL' => get_username_string('full', $row['topic_poster'], $row['topic_first_poster_name'], $row['topic_first_poster_colour']), - 'LAST_POST_AUTHOR_FULL' => get_username_string('full', $row['topic_last_poster_id'], $row['topic_last_poster_name'], $row['topic_last_poster_colour']), - // www.phpBB-SEO.com SEO TOOLKIT BEGIN -> no dupe - 'U_LAST_POST' => !empty($phpbb_seo->seo_opt['no_dupe']['on']) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$related_forum_id&t=$related_topic_id&start=" . @intval($phpbb_seo->seo_opt['topic_last_page'][$related_topic_id])) . '#p' . $row['topic_last_post_id'] : append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$related_forum_id&t=$related_topic_id&p=" . $row['topic_last_post_id']) . '#p' . $row['topic_last_post_id'], - // www.phpBB-SEO.com SEO TOOLKIT END -> no dupe - 'TOPIC_FOLDER_IMG_SRC' => $user->img($folder_img, $folder_alt, false, '', 'src'), - 'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt, false), - 'TOPIC_ICON_IMG' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['img'] : '', - 'ATTACH_ICON_IMG' => ($row['topic_attachment'] && $s_attachement) ? $attachement_icon : '', - 'S_TOPIC_REPORTED' => (!empty($row['topic_reported']) && $auth->acl_get('m_report', $related_forum_id)) ? true : false, - 'S_UNREAD_TOPIC' => $unread_topic, - 'S_POST_ANNOUNCE' => ($row['topic_type'] == POST_ANNOUNCE) ? true : false, - 'S_POST_GLOBAL' => ($row['topic_type'] == POST_GLOBAL) ? true : false, - 'S_POST_STICKY' => ($row['topic_type'] == POST_STICKY) ? true : false, - 'S_TOPIC_LOCKED' => ($row['topic_status'] == ITEM_LOCKED) ? true : false, - 'S_TOPIC_UNAPPROVED' => $topic_unapproved, - 'U_MCP_REPORT' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=reports&mode=reports&f=' . $related_forum_id . '&t=' . $related_topic_id, true, $user->session_id), - 'U_MCP_QUEUE' => $u_mcp_queue, - )); - $related_result = true; - } - } - $db->sql_freeresult($result); - } - if ($related_result) { - $template->assign_vars(array( - 'S_RELATED_RESULTS' => $related_result, - 'LAST_POST_IMG' => $user->img('icon_topic_latest', 'VIEW_LATEST_POST'), - 'NEWEST_POST_IMG' => $user->img('icon_topic_newest', 'VIEW_NEWEST_POST'), - 'UNAPPROVED_IMG' => $user->img('icon_topic_unapproved', 'TOPIC_UNAPPROVED'), - 'REPORTED_IMG' => $user->img('icon_topic_reported', 'TOPIC_REPORTED'), - 'GOTO_PAGE_IMG' => $user->img('icon_post_target', 'GOTO_PAGE'), - 'S_TOPIC_ICONS' => $enable_icons, - )); - } - } - /** - * build_query - * @param array $topic_data shuld at least provide with topic_id and topic_title - * @param mixed $forum_id The forum id to search in (false / 0 / null to search into all forums) - */ - function build_query($topic_data, $forum_id = false) { - global $db; - if (!($match = $this->prepare_match($topic_data['topic_title']))) { - return false; - } - if (!$forum_id || $this->allforums) { - global $auth; - // Do not include those forums the user is not having read access to... - $related_read_ary = $auth->acl_getf('f_read', true); - $related_forum_ids = array(); - foreach ($related_read_ary as $_forum_id => $null) { - $related_forum_ids[$_forum_id] = (int) $_forum_id; - } - $forum_sql = sizeof($related_forum_ids) ? $db->sql_in_set('t.forum_id', $related_forum_ids, false, true) . ' AND ' : ''; - } else { - $forum_sql = ' t.forum_id = ' . (int) $forum_id . ' AND '; - } - $sql_array = array( - 'SELECT' => 't.*, f.forum_name, f.enable_icons', - 'FROM' => array( - TOPICS_TABLE => 't', - FORUMS_TABLE => 'f' - ), - 'WHERE' => "$forum_sql f.forum_id = t.forum_id", - ); - if ($this->fulltext) { - $sql_array['SELECT'] .= ", MATCH (t.topic_title) AGAINST ('" . $db->sql_escape($match) . "') relevancy"; - $sql_array['WHERE'] .= " AND MATCH (t.topic_title) AGAINST ('" . $db->sql_escape($match) . "')"; - $sql_array['ORDER_BY'] = 'relevancy DESC'; - } else { - $sql_like = $this->buil_sql_like($match); - if (!$sql_like) { - return false; - } - $sql_array['WHERE'] .= " AND t.topic_title $sql_like"; - $sql_array['ORDER_BY'] = 't.topic_id DESC'; - } - $sql_array['WHERE'] .= " AND t.topic_status <> " . ITEM_MOVED . " - AND t.topic_id <> " . (int) $topic_data['topic_id']; - return $db->sql_build_query('SELECT', $sql_array); - } - /** - * prepare_match : Prepares the word list to search for - * @param string $text the string of all words to search for, eg topic_title - * @param int $min_lenght word with less than $min_lenght letters will be dropped - * @param int $max_lenght word with more than $max_lenght letters will be dropped - */ - function prepare_match($text, $min_lenght = 3, $max_lenght = 14) { - $word_list = array(); - $text = trim(preg_replace('`[\s]+`', ' ', $text)); - if (!empty($text)) { - $word_list = array_unique(explode(' ', utf8_strtolower($text))); - foreach ($word_list as $k => $word) { - $len = utf8_strlen(trim($word)); - if ( ($len < $min_lenght) || ($len > $max_lenght) ) { - unset($word_list[$k]); - } - } - } - if (!empty($word_list) && $this->check_ignore) { - global $phpbb_root_path, $user, $phpEx; - // add stop words to $user to allow reuse - if (empty($user->stop_words)) { - $words = array(); - if (file_exists("{$user->lang_path}{$user->lang_name}/search_ignore_words.$phpEx")){ - // include the file containing ignore words - include("{$user->lang_path}{$user->lang_name}/search_ignore_words.$phpEx"); - } - $user->stop_words = & $words; - } - $word_list = array_diff($word_list, $user->stop_words); - } - return !empty($word_list) ? implode(' ', $word_list) : ''; - } - /** - * buil_sql_like - * @param string $text the string of all words to search for,prepared with prepare_match - * @param int $limit maxximum number of words to use in the query - */ - function buil_sql_like($text, $limit = 3) { - global $db; - $sql_like = ''; - $i = 0; - $text = str_replace(array('_', '%'), array("\_", "\%"), $text); - $text = str_replace(array(chr(0) . "\_", chr(0) . "\%"), array('_', '%'), $text); - $text = explode(' ', trim(preg_replace('`[\s]+`', ' ', $text))); - if ( !empty($text) ) { - foreach ($text as $word) { - $word = $db->sql_escape(trim($word)); - $sql_like .= empty($sql_like) ? " LIKE '%$word%'" : " OR '%$word%'"; - $i++; - if ($i >= $limit) { - return $sql_like; - } - } - } - return $sql_like; - } -} -?>
\ No newline at end of file diff --git a/phpBB/phpbb_seo/phpbb_seo_related_install.php b/phpBB/phpbb_seo/phpbb_seo_related_install.php deleted file mode 100644 index 728a8fe5b7..0000000000 --- a/phpBB/phpbb_seo/phpbb_seo_related_install.php +++ /dev/null @@ -1,193 +0,0 @@ -<?php -/** -* -* @package phpBB SEO Related topics -* @version $Id: phpbb_seo_related_install.php 222 2010-02-27 13:08:48Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://opensource.org/licenses/gpl-license.php GNU Public License v2 -* -*/ - -/* - * Based on the phpBB3 install package / www.phpBB.com - */ -define('IN_PHPBB', true); -define('IN_INSTALL', true); -$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../'; -$phpEx = substr(strrchr(__FILE__, '.'), 1); -// Try to override some limits - maybe it helps some... -@set_time_limit(0); -$mem_limit = @ini_get('memory_limit'); -if (!empty($mem_limit)) { - $unit = strtolower(substr($mem_limit, -1, 1)); - $mem_limit = (int) $mem_limit; - if ($unit == 'k') { - $mem_limit = floor($mem_limit / 1024); - } else if ($unit == 'g') { - $mem_limit *= 1024; - } else if (is_numeric($unit)) { - $mem_limit = floor((int) ($mem_limit . $unit) / 1048576); - } - $mem_limit = max(128, $mem_limit) . 'M'; -} else { - $mem_limit = '128M'; -} -@ini_set('memory_limit', $mem_limit); -include($phpbb_root_path . 'common.' . $phpEx); -// Start session management -$user->session_begin(); -$auth->acl($user->data); -$user->setup('mods/phpbb_seo_related_install'); -// Security check -// Circumvent a potential phpbb bug with paths -$redirect = append_sid(generate_board_url() . "/phpbb_seo/phpbb_seo_related_install.$phpEx"); -if (!$user->data['is_registered']) { - login_box($redirect, $user->lang['SEO_LOGIN'],'', false, false); -} -if (!$auth->acl_get('a_')) { - $user->session_kill(true); - login_box($redirect, $user->lang['SEO_LOGIN_ADMIN'],'', false, false); -} -if ($user->data['user_type'] != USER_FOUNDER) { - login_box($redirect, $user->lang['SEO_LOGIN_FOUNDER'],'', false, false); -} -$mode = request_var('mode', 'start'); - -/** -* seo_related_install Class -* www.phpBB-SEO.com -* @package phpBB SEO Related topics -*/ -class seo_related_install { - var $force_check = 0; - var $mode = 'install'; - var $silent = false; - var $config_names = array('seo_related', 'seo_related_fulltext', 'seo_related_check_ignore', 'seo_related_limit', 'seo_related_allforums'); - /** - * constructor - */ - function seo_related_install($mode, $force_check = 0, $silent = false) { - $this->force_check = $force_check ? $force_check : max(0, request_var('force_check', 0)); - $this->mode = $mode === 'install' ? 'install' : ($mode === 'uninstall' ? 'uninstall' : 'start'); - $this->silent = $silent ? true : false; - $this->{$this->mode}(); - } - /** - * start - */ - function start() { - global $phpbb_root_path, $phpEx, $msg_title, $user; - $install_url = append_sid($phpbb_root_path . "phpbb_seo/phpbb_seo_related_install.$phpEx?mode=install"); - $install_force_url = append_sid($phpbb_root_path . "phpbb_seo/phpbb_seo_related_install.$phpEx?mode=install&force_check=1"); - $uninstall_url = append_sid($phpbb_root_path . "phpbb_seo/phpbb_seo_related_install.$phpEx?mode=uninstall"); - $msg_title = $user->lang['INSTALLATION']; - $msg = sprintf($user->lang['INSTALLATION_START'], $install_url, $install_force_url, $uninstall_url); - trigger_error($msg); - } - /** - * install - */ - function install() { - global $db, $config, $user; - $fulltext = $already_installed = 0; - $no_error = 1; - $errno = E_USER_NOTICE; - $msg = $user->lang['INSTALLED']; - if (!isset($config['seo_related']) || $this->force_check) { - if ($db->sql_layer == 'mysql4' || $db->sql_layer == 'mysqli') { - // we can proceed with trying to add fulltext - global $phpbb_root_path, $phpEx; - if (!class_exists('phpbb_db_tools')) { - include($phpbb_root_path . 'includes/db/db_tools.' . $phpEx); - } - $db_tools = new phpbb_db_tools($db); - $indexes = $db_tools->sql_list_index(TOPICS_TABLE); - if (!in_array('topic_tft', $indexes)) { - $sql = 'ALTER TABLE ' . TOPICS_TABLE . ' - ADD FULLTEXT topic_tft (topic_title)'; - $db->sql_return_on_error(true); - $db->sql_query($sql); - if ($db->sql_error_triggered) { - $no_error = 0; - $errno = E_USER_WARNING; - $msg = $user->lang['INSTALLATION']; - $msg .= '<br/>' . sprintf($user->lang['SQL_REQUIRED'], $db->sql_error_sql); - } - $db->sql_return_on_error(false); - } - // make *sure* we have the index ! - $indexes = $db_tools->sql_list_index(TOPICS_TABLE); - $fulltext = in_array('topic_tft', $indexes) ? 1 : 0; - } - } else { - $msg = $user->lang['ALREADY_INSTALLED']; - $already_installed = 1; - } - if ($no_error) { - if (!$already_installed) { - set_config('seo_related_fulltext', $fulltext); - $msg .= '<br/>' . ($fulltext ? $user->lang['FULLTEXT_INSTALLED'] : $user->lang['FULLTEXT_NOT_INSTALLED']); - } - set_config('seo_related', 1); - } - // Log this since it could help some to understand - add_log('admin', $msg); - if (!$this->silent) { - trigger_error($msg, $errno); - } else { - return $no_error ? true : false; - } - } - /** - * uninstall - */ - function uninstall() { - global $db, $config, $cache, $phpbb_root_path, $phpEx, $user; - $no_error = 1; - $errno = E_USER_NOTICE; - $msg = $user->lang['UNINSTALLED']; - // use db_tools to check the index - if (!class_exists('phpbb_db_tools')) { - include($phpbb_root_path . 'includes/db/db_tools.' . $phpEx); - } - $db_tools = new phpbb_db_tools($db); - $indexes = $db_tools->sql_list_index(TOPICS_TABLE); - if (in_array('topic_tft', $indexes)) { - $sql = 'ALTER TABLE ' . TOPICS_TABLE . ' - DROP INDEX topic_tft'; - $db->sql_return_on_error(true); - $db->sql_query($sql); - if ($db->sql_error_triggered) { - $msg = $user->lang['UNINSTALLATION']; - $msg .= '<br/>' . sprintf($user->lang['SQL_REQUIRED'], $db->sql_error_sql); - $no_error = 0; - $errno = E_USER_WARNING; - } - $db->sql_return_on_error(false); - } - $did_something = false; - foreach ($this->config_names as $config_name) { - if (isset($config[$config_name])) { - $sql = 'DELETE FROM ' . CONFIG_TABLE . " - WHERE config_name = '" . $db->sql_escape($config_name) . "'"; - $db->sql_query($sql); - unset($config[$config_name]); - $did_something = true; - } - } - if ($did_something) { - $cache->destroy('config'); - } else { - $msg = $user->lang['ALREADY_UNINSTALLED']; - } - // Log this since it could help some to understand - add_log('admin', $msg); - if (!$this->silent) { - trigger_error($msg, $errno); - } else { - return $no_error ? true : false; - } - } -} -$seo_related_install = new seo_related_install($mode); -?>
\ No newline at end of file diff --git a/phpBB/phpbb_seo/sync_url.php b/phpBB/phpbb_seo/sync_url.php deleted file mode 100644 index 9d814837f5..0000000000 --- a/phpBB/phpbb_seo/sync_url.php +++ /dev/null @@ -1,141 +0,0 @@ -<?php -/** -* -* @package Ultimate SEO URL phpBB SEO -* @version $Id: sync_url.php 222 2010-02-27 13:08:48Z dcz $ -* @copyright (c) 2006 - 2010 www.phpbb-seo.com -* @license http://www.opensource.org/licenses/rpl1.5.txt Reciprocal Public License 1.5 -* -*/ -define('IN_PHPBB', true); -$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../'; -$phpEx = substr(strrchr(__FILE__, '.'), 1); -// Try to override some limits - maybe it helps some... -@set_time_limit(0); -$mem_limit = @ini_get('memory_limit'); -if (!empty($mem_limit)) { - $unit = strtolower(substr($mem_limit, -1, 1)); - $mem_limit = (int) $mem_limit; - if ($unit == 'k') { - $mem_limit = floor($mem_limit / 1024); - } else if ($unit == 'g') { - $mem_limit *= 1024; - } else if (is_numeric($unit)) { - $mem_limit = floor((int) ($mem_limit . $unit) / 1048576); - } - $mem_limit = max(128, $mem_limit) . 'M'; -} else { - $mem_limit = '128M'; -} -@ini_set('memory_limit', $mem_limit); -include($phpbb_root_path . 'common.' . $phpEx); - -// Start session management -$user->session_begin(); -$auth->acl($user->data); -$user->setup('mods/acp_phpbb_seo'); -// Security check -// Circumvent a potential phpbb bug with paths -$redirect = append_sid(generate_board_url() . "/phpbb_seo/sync_url.$phpEx"); -if (!$user->data['is_registered']) { - login_box($redirect, $user->lang['SEO_LOGIN'],'', false, false); -} -if (!$auth->acl_get('a_')) { - $user->session_kill(true); - login_box($redirect, $user->lang['SEO_LOGIN_ADMIN'],'', false, false); -} -if ($user->data['user_type'] != USER_FOUNDER) { - login_box($redirect, $user->lang['SEO_LOGIN_FOUNDER'],'', false, false); -} -$start = max(0, request_var('start', 0)); -$limit = max(100, request_var('limit', 0)); -// Do not go over 1000 topic in a row -$limit = min(1000, $limit); -$go = max(0, request_var('go', 0)); -$mode = request_var('mode', ''); -$poll_processed = 0; -// Add navigation links -$template->assign_block_vars('navlinks', array( - 'FORUM_NAME' => "Sync Topic URL", - 'U_VIEW_FORUM' => append_sid("./sync_url.$phpEx")) -); -$msg_title = $user->lang['SYNC_TITLE']; -if (empty($phpbb_seo->seo_opt['sql_rewrite'])) { - trigger_error($user->lang['SYNC_REQ_SQL_REW'], E_USER_WARNING); -} -if(!$go) { - trigger_error($user->lang['SYNC_WARN'] . '<br/><br/><b> • <a href="' . append_sid("./sync_url.$phpEx?go=1&mode=sync") . '">' . $user->lang['SYNC_TOPIC_URLS'] . '</a><br/><br/> • <a href="' . append_sid("./sync_url.$phpEx?go=1&mode=reset") . '" >' . $user->lang['SYNC_RESET_TOPIC_URLS'] . '</a></b>'); -} - -$forum_data = array(); -$url_updated = 0; -if ($mode === 'sync') { - // get all forum info - $sql = 'SELECT forum_id, forum_name FROM ' . FORUMS_TABLE; - $result = $db->sql_query($sql); - while ($row = $db->sql_fetchrow($result)) { - $forum_data[$row['forum_id']] = $row['forum_name']; - $phpbb_seo->set_url($row['forum_name'], $row['forum_id'], $phpbb_seo->seo_static['forum']); - } - $db->sql_freeresult($result); - // let's work - $sql = 'SELECT * FROM ' . TOPICS_TABLE . ' - ORDER BY topic_id ASC'; - $result = $db->sql_query_limit($sql, $limit, $start); - while ($row = $db->sql_fetchrow($result)) { - $forum_id = (int) $row['forum_id']; - $topic_id = (int) $row['topic_id']; - $_parent = $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]; - if ( !$phpbb_seo->check_url('topic', $row['topic_url'], $_parent)) { - if (!empty($row['topic_url'])) { - // Here we get rid of the seo delim (-t) and put it back even in simple mod - // to be able to handle all cases at once - $_url = preg_replace('`' . $phpbb_seo->seo_delim['topic'] . '$`i', '', $row['topic_url']); - $_title = $phpbb_seo->get_url_info('topic', $_url . $phpbb_seo->seo_delim['topic'] . $topic_id, 'title'); - } else { - $_title = $phpbb_seo->modrtype > 2 ? censor_text($row['topic_title']) : ''; - } - unset($phpbb_seo->seo_url['topic'][$topic_id]); - $row['topic_url'] = $phpbb_seo->get_url_info('topic', $phpbb_seo->prepare_url( 'topic', $_title, $topic_id, $_parent, (( empty($_title) || ($_title == $phpbb_seo->seo_static['topic']) ) ? true : false) ), 'url'); - unset($phpbb_seo->seo_url['topic'][$topic_id]); - if ($row['topic_url']) { - // Update the topic_url field for later re-use - $sql = "UPDATE " . TOPICS_TABLE . " SET topic_url = '" . $db->sql_escape($row['topic_url']) . "' - WHERE topic_id = $topic_id"; - $db->sql_query($sql); - $url_updated++; - } - } - } - $db->sql_freeresult($result); - $sql = 'SELECT count(topic_id) as topic_cnt FROM ' . TOPICS_TABLE; - $result = $db->sql_query($sql); - $cnt = $db->sql_fetchrow($result); - $db->sql_freeresult($result); - if ($cnt['topic_cnt'] > ($start + $limit)) { - $endtime = array_sum(explode(' ', microtime())); - $duration = $endtime - $starttime; - $speed = round($limit/$duration, 2); - $percent = round((($start + $limit) / $cnt['topic_cnt']) * 100, 2); - $message = sprintf($user->lang['SYNC_PROCESSING'], $percent, ($start + $limit), $cnt['topic_cnt'], $limit, $speed, round($duration, 2) , round((($cnt['topic_cnt'] - $start)/$speed)/60, 2)); - if ($url_updated) { - $message.= sprintf($user->lang['SYNC_ITEM_UPDATED'], '<br/>' . $url_updated); - } - $new_limit = ($duration < 10) ? $limit + 50 : $limit - 10; - meta_refresh(1, append_sid('./sync_url.' . $phpEx . '?go=1&start=' . ($start + $limit) . "&limit=$new_limit&mode=sync")); - trigger_error("$message<br/>"); - } else { - trigger_error($user->lang['SYNC_COMPLETE'] . sprintf($user->lang['RETURN_INDEX'], '<br/><br/><a href="' . append_sid($phpbb_root_path) . '" >', '</a>')); - } -} elseif ($mode === 'reset') { - if (confirm_box(true)) { - $sql = "UPDATE " . TOPICS_TABLE . " SET topic_url = ''"; - $db->sql_query($sql); - trigger_error($user->lang['SYNC_RESET_COMPLETE'] . '<br/><br/><b> • <a href="' . append_sid("./sync_url.$phpEx?go=1&mode=sync") . '">' . $user->lang['SYNC_TOPIC_URLS'] . '</a><br/><br/> • ' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid($phpbb_root_path) . '" >', '</a></b>')); - } else { - confirm_box(false, $user->lang['CONFIRM_OPERATION'], build_hidden_fields(array('go' => '1', 'mode' => 'reset')), 'confirm_body.html', append_sid("./phpbb_seo/sync_url.$phpEx")); - } -} else { - trigger_error($user->lang['SYNC_WARN'] . '<br/><br/><b> • <a href="' . append_sid("./sync_url.$phpEx?go=1&mode=sync") . '">' . $user->lang['SYNC_TOPIC_URLS'] . '</a><br/><br/> • <a href="' . append_sid("./sync_url.$phpEx?go=1&mode=reset") . '" >' . $user->lang['SYNC_RESET_TOPIC_URLS'] . '</a></b>'); -} -?>
\ No newline at end of file diff --git a/phpBB/posting.php b/phpBB/posting.php index 9449213224..f775699cee 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -678,30 +678,7 @@ if ($submit || $preview || $refresh) $post_data['enable_smilies'] = (!$smilies_status || isset($_POST['disable_smilies'])) ? false : true; $post_data['enable_urls'] = (isset($_POST['disable_magic_url'])) ? 0 : 1; $post_data['enable_sig'] = (!$config['allow_sig'] || !$auth->acl_get('f_sigs', $forum_id) || !$auth->acl_get('u_sig')) ? false : ((isset($_POST['attach_sig']) && $user->data['is_registered']) ? true : false); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - if (!empty($phpbb_seo->seo_opt['sql_rewrite'])) { - if ($mode == 'post' || ($mode == 'edit' && $post_data['topic_first_post_id'] == $post_id)) { - $phpbb_seo->set_url($post_data['forum_name'], $forum_id, 'forum'); - $_parent = $post_data['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]; - $_t = !empty($post_data['topic_id']) ? max(0, (int) $post_data['topic_id'] ) : 0; - $_url = $phpbb_seo->url_can_edit($forum_id) ? utf8_normalize_nfc(request_var('url', '', true)) : ( isset($post_data['topic_url']) ? $post_data['topic_url'] : '' ); - if (!$phpbb_seo->check_url('topic', $_url, $_parent)) { - if (!empty($_url)) { - // Here we get rid of the seo delim (-t) and put it back even in simple mod - // to be able to handle all cases at once - $_url = preg_replace('`' . $phpbb_seo->seo_delim['topic'] . '$`i', '', $_url); - $_title = $phpbb_seo->get_url_info('topic', $_url . $phpbb_seo->seo_delim['topic'] . $_t); - } else { - $_title = $phpbb_seo->modrtype > 2 ? censor_text($post_data['post_subject']) : ''; - } - unset($phpbb_seo->seo_url['topic'][$_t]); - $_url = $phpbb_seo->get_url_info('topic', $phpbb_seo->prepare_url( 'topic', $_title, $_t, $_parent , (( empty($_title) || ($_title == $phpbb_seo->seo_static['topic']) ) ? true : false)), 'url'); - unset($phpbb_seo->seo_url['topic'][$_t]); - } - $post_data['topic_url'] = $_url; - } - } - // www.phpBB-SEO.com SEO TOOLKIT END + if ($config['allow_topic_notify'] && $user->data['is_registered']) { $notify = (isset($_POST['notify'])) ? true : false; @@ -1149,11 +1126,7 @@ if ($submit || $preview || $refresh) 'topic_approved' => (isset($post_data['topic_approved'])) ? $post_data['topic_approved'] : false, 'post_approved' => (isset($post_data['post_approved'])) ? $post_data['post_approved'] : false, ); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - if (!empty($phpbb_seo->seo_opt['sql_rewrite'])) { - $data += array('topic_url' => isset($post_data['topic_url']) ? $post_data['topic_url'] : ''); - } - // www.phpBB-SEO.com SEO TOOLKIT END + if ($mode == 'edit') { $data['topic_replies_real'] = $post_data['topic_replies_real']; @@ -1449,10 +1422,6 @@ $template->assign_vars(array( 'FORUM_NAME' => $post_data['forum_name'], 'FORUM_DESC' => ($post_data['forum_desc']) ? generate_text_for_display($post_data['forum_desc'], $post_data['forum_desc_uid'], $post_data['forum_desc_bitfield'], $post_data['forum_desc_options']) : '', 'TOPIC_TITLE' => censor_text($post_data['topic_title']), - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - 'TOPIC_URL' => isset($post_data['topic_url']) ? preg_replace('`' . $phpbb_seo->seo_delim['topic'] . '$`i', '', $post_data['topic_url']) : '', - 'S_URL' => ($mode == 'post' || ($mode == 'edit' && $post_id == $post_data['topic_first_post_id'])) ? $phpbb_seo->url_can_edit($forum_id) : false, - // www.phpBB-SEO.com SEO TOOLKIT END 'MODERATORS' => (sizeof($moderators)) ? implode(', ', $moderators[$forum_id]) : '', 'USERNAME' => ((!$preview && $mode != 'quote') || $preview) ? $post_data['username'] : '', 'SUBJECT' => $post_data['post_subject'], diff --git a/phpBB/search.php b/phpBB/search.php index ffac75e191..2a13e20477 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -20,17 +20,7 @@ include($phpbb_root_path . 'common.' . $phpEx); $user->session_begin(); $auth->acl($user->data); $user->setup('search'); -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -$clean_request = array('keywords', 'author', 'add_keywords'); -foreach ($clean_request as $request) { - if (!empty($_REQUEST[$request])) { - $_REQUEST[$request] = rawurldecode($_REQUEST[$request]); - if (!$phpbb_seo->is_utf8($_REQUEST[$request])) { - $_REQUEST[$request] = utf8_normalize_nfc(utf8_recode($_REQUEST[$request], 'iso-8859-1')); - } - } -} -// www.phpBB-SEO.com SEO TOOLKIT END + // Define initial vars $mode = request_var('mode', ''); $search_id = request_var('search_id', ''); @@ -323,14 +313,6 @@ if ($keywords || $author || $author_id || $search_id || $submit) $sort_key = 't'; $sort_dir = 'd'; $sort_days = request_var('st', 7); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - Zero dupe - $phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array( - 'search_id' => array('val' => 'active_topics', 'keep' => true), - 'st' => array('val' => $sort_days, 'keep' => (boolean) ($sort_days != 7) ), - 'start' => array('val' => $phpbb_seo->seo_chk_start( $start, $config['topics_per_page'] ), 'keep' => true), - ); - $phpbb_seo->seo_chk_dupe(); - // www.phpBB-SEO.com SEO TOOLKIT END - Zero dupe $sort_by_sql['t'] = 't.topic_last_post_time'; gen_sort_selects($limit_days, $sort_by_text, $sort_days, $sort_key, $sort_dir, $s_limit_days, $s_sort_key, $s_sort_dir, $u_sort_param); @@ -352,17 +334,6 @@ if ($keywords || $author || $author_id || $search_id || $submit) $l_search_title = $user->lang['SEARCH_UNANSWERED']; $show_results = request_var('sr', 'topics'); $show_results = ($show_results == 'posts') ? 'posts' : 'topics'; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - Zero dupe - $phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array( - 'sr' => array('val' => $show_results, 'keep' => (boolean) ($show_results == 'posts') ), - 'st' => array('val' => $sort_days, 'keep' => true), - 'sk' => array('val' => $sort_key, 'keep' => true), - 'sd' => array('val' => $sort_dir, 'keep' => true), - 'search_id' => array('val' => 'unanswered', 'keep' => true), - 'start' => array('val' => $phpbb_seo->seo_chk_start( $start, ($show_results == 'posts' ? $config['posts_per_page'] : $config['topics_per_page']) ), 'keep' => true), - ); - $phpbb_seo->seo_chk_dupe(); - // www.phpBB-SEO.com SEO TOOLKIT END - Zero dupe $sort_by_sql['t'] = ($show_results == 'posts') ? 'p.post_time' : 't.topic_last_post_time'; $sort_by_sql['s'] = ($show_results == 'posts') ? 'p.post_subject' : 't.topic_title'; $sql_sort = 'ORDER BY ' . $sort_by_sql[$sort_key] . (($sort_dir == 'a') ? ' ASC' : ' DESC'); @@ -415,14 +386,6 @@ if ($keywords || $author || $author_id || $search_id || $submit) $l_search_title = $user->lang['SEARCH_UNREAD']; // force sorting $show_results = 'topics'; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - Zero dupe - $phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array( - 'search_id' => array('val' => 'unreadposts', 'keep' => true), - 'sr' => array('val' => $show_results, 'keep' => (boolean) ($show_results != 'topics') ), - 'start' => array('val' => $phpbb_seo->seo_chk_start( $start, ($show_results == 'posts' ? $config['posts_per_page'] : $config['topics_per_page']) ), 'keep' => true), - ); - $phpbb_seo->seo_chk_dupe(); - // www.phpBB-SEO.com SEO TOOLKIT END - Zero dupe $sort_key = 't'; $sort_by_sql['t'] = 't.topic_last_post_time'; $sql_sort = 'ORDER BY ' . $sort_by_sql[$sort_key] . (($sort_dir == 'a') ? ' ASC' : ' DESC'); @@ -439,14 +402,6 @@ if ($keywords || $author || $author_id || $search_id || $submit) $l_search_title = $user->lang['SEARCH_NEW']; // force sorting $show_results = (request_var('sr', 'topics') == 'posts') ? 'posts' : 'topics'; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - Zero dupe - $phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array( - 'search_id' => array('val' => 'newposts', 'keep' => true), - 'sr' => array('val' => $show_results, 'keep' => (boolean) ($show_results == 'posts') ), - 'start' => array('val' => $phpbb_seo->seo_chk_start( $start, $config['topics_per_page'] ), 'keep' => true), - ); - $phpbb_seo->seo_chk_dupe(); - // www.phpBB-SEO.com SEO TOOLKIT END - Zero dupe $sort_key = 't'; $sort_dir = 'd'; $sort_by_sql['t'] = ($show_results == 'posts') ? 'p.post_time' : 't.topic_last_post_time'; @@ -596,9 +551,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) $u_show_results = '&sr=' . $show_results; $u_search_forum = implode('&fid%5B%5D=', $search_forum); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - //$u_search = append_sid("{$phpbb_root_path}search.$phpEx", $u_sort_param . $u_show_results); - $u_search = $u_sort_param . $u_show_results; + $u_search = append_sid("{$phpbb_root_path}search.$phpEx", $u_sort_param . $u_show_results); $u_search .= ($search_id) ? '&search_id=' . $search_id : ''; $u_search .= ($u_hilit) ? '&keywords=' . urlencode(htmlspecialchars_decode($keywords)) : ''; $u_search .= ($search_terms != 'all') ? '&terms=' . $search_terms : ''; @@ -609,43 +562,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) $u_search .= (!$search_child) ? '&sc=0' : ''; $u_search .= ($search_fields != 'all') ? '&sf=' . $search_fields : ''; $u_search .= ($return_chars != 300) ? '&ch=' . $return_chars : ''; - $u_search = preg_replace('`(^&|&$)`i', '', $u_search); - if ( $phpbb_seo->seo_opt['rewrite_usermsg'] && (!empty($author) || !empty($author_id)) ) { - $author_name = ''; - if (!empty($author_id)) { - $sql = $sql = 'SELECT username - FROM ' . USERS_TABLE . " - WHERE user_id = $author_id - AND user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ')'; - $result = $db->sql_query($sql); - if ($row = $db->sql_fetchrow($result)) { - $author_name = $row['username']; - $phpbb_seo->set_user_url( $author_name, $author_id ); - } - } - if (!empty($author) && (strpos($author, '*') === false) ) { - $sql = $sql = 'SELECT user_id - FROM ' . USERS_TABLE . " - WHERE username_clean = '" . $db->sql_escape(utf8_clean_string($author)) . "' - AND user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ')'; - $result = $db->sql_query($sql); - if ($row = $db->sql_fetchrow($result)) { - $phpbb_seo->set_user_url( $author, $row['user_id'] ); - } - } - $author = empty($author) ? $author_name : $author; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - Zero dupe - if (!$submit && !$u_search_forum) { - $seo_search_params = (!empty($u_search) ? '?' . $u_search . '&': '?') . 'start=' . $phpbb_seo->seo_chk_start( $start, $per_page ); - $phpbb_seo->seo_chk_dupe("{$phpbb_root_path}search.$phpEx$seo_search_params"); - } - // www.phpBB-SEO.com SEO TOOLKIT END - Zero dupe - } - $u_search = append_sid( "{$phpbb_root_path}search.$phpEx" . (!empty($u_search) ? '?' . $u_search : '') ); - // www.phpBB-SEO.com SEO TOOLKIT END - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE - $l_search_title = empty($l_search_title) && !empty($author) ? $author . ' - ' . ($show_results != 'posts' ? $user->lang['TOPICS'] : $user->lang['POSTS']) : $l_search_title; - // www.phpBB-SEO.com SEO TOOLKIT END - TITLE + $template->assign_vars(array( 'SEARCH_TITLE' => $l_search_title, 'SEARCH_MATCHES' => $l_search_matches, @@ -930,10 +847,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) { $u_forum_id = $forum_id; } - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->set_url($row['forum_name'], $u_forum_id, 'forum'); - $phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$u_forum_id]); - // www.phpBB-SEO.com SEO TOOLKIT END + $view_topic_url_params = "f=$u_forum_id&t=$result_topic_id" . (($u_hilit) ? "&hilit=$u_hilit" : ''); $view_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", $view_topic_url_params); @@ -1088,10 +1002,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) } unset($rowset); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE - $extra_title = ($start > 0) ? ' - ' . $user->lang['Page'] . ( floor( $start / $per_page ) + 1 ) : ''; - page_header( ( ($l_search_title) ? $l_search_title . (!empty($search->search_query) ? ' : ' . $search->search_query : '' ): $user->lang['SEARCH'] ) . $extra_title ); - // www.phpBB-SEO.com SEO TOOLKIT END - TITLE + page_header(($l_search_title) ? $l_search_title : $user->lang['SEARCH']); $template->set_filenames(array( 'body' => 'search_results.html') diff --git a/phpBB/sitemap.php b/phpBB/sitemap.php deleted file mode 100644 index 51c5c5bec6..0000000000 --- a/phpBB/sitemap.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php -/** -* -* @package phpBB SEO GYM Sitemaps -* @version $Id: sitemap.php 112 2009-09-30 17:21:34Z dcz $ -* @copyright (c) 2006 - 2009 www.phpbb-seo.com -* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License -* -*/ -define('IN_PHPBB', true); -$phpEx = substr(strrchr(__FILE__, '.'), 1); -$phpbb_root_path = './'; -include($phpbb_root_path . 'common.' . $phpEx); -// Start session management -$user->session_begin(); -$auth->acl($user->data); - -$user->setup('gym_sitemaps/gym_common'); -// Start the process -require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_google.' . $phpEx); - -$gym_google = new gym_google(); -exit; -?>
\ No newline at end of file diff --git a/phpBB/styles/prosilver/imageset/fr/imageset.cfg b/phpBB/styles/prosilver/imageset/fr/imageset.cfg deleted file mode 100644 index d7a0e3b539..0000000000 --- a/phpBB/styles/prosilver/imageset/fr/imageset.cfg +++ /dev/null @@ -1,35 +0,0 @@ -#
-# phpBB Imageset Configuration File
-#
-# @package phpBB3
-# @copyright (c) 2006 phpBB Group
-# @license http://opensource.org/licenses/gpl-license.php GNU Public License
-#
-#
-# At the left is the name, please do not change this
-# At the right the value is entered
-# For on/off options the valid values are on, off, 1, 0, true and false
-#
-# Values get trimmed, if you want to add a space in front or at the end of
-# the value, then enclose the value with single or double quotes.
-# Single and double quotes do not need to be escaped.
-#
-#
-
-# Images
-img_icon_contact_pm = icon_contact_pm.gif*20*28
-
-img_icon_post_edit = icon_post_edit.gif*20*58
-img_icon_post_quote = icon_post_quote.gif*20*54
-
-img_icon_user_online = icon_user_online.gif*58*58
-img_icon_user_offline = icon_user_offline.gif
-img_icon_user_search = icon_user_search.gif
-
-img_button_pm_forward = button_pm_forward.gif*25*110
-img_button_pm_new = button_pm_new.gif*25*96
-img_button_pm_reply = button_pm_reply.gif*25*96
-
-img_button_topic_locked = button_topic_locked.gif*25*96
-img_button_topic_new = button_topic_new.gif*25*96
-img_button_topic_reply = button_topic_reply.gif*25*96
diff --git a/phpBB/styles/prosilver/template/attachment.html b/phpBB/styles/prosilver/template/attachment.html index 787915a4e8..cc5aacff2f 100644 --- a/phpBB/styles/prosilver/template/attachment.html +++ b/phpBB/styles/prosilver/template/attachment.html @@ -6,7 +6,7 @@ <!-- IF _file.S_THUMBNAIL --> <dl class="thumbnail"> - <dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="<!-- IF _file.COMMENT_CLEAN -->{_file.COMMENT_CLEAN} / {_file.DOWNLOAD_NAME}<!-- ELSE -->{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}<!-- ENDIF -->" /></a></dt> + <dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt> <!-- IF _file.COMMENT --><dd> {_file.COMMENT}</dd><!-- ENDIF --> </dl> <!-- ENDIF --> @@ -14,7 +14,7 @@ <!-- IF _file.S_IMAGE --> <dl class="file"> - <dt class="attach-image"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" title="<!-- IF _file.COMMENT_CLEAN -->{_file.COMMENT_CLEAN} / <!-- ENDIF -->{_file.DOWNLOAD_NAME}" onclick="viewableArea(this);" /></dt> + <dt class="attach-image"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" onclick="viewableArea(this);" /></dt> <!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF --> <dd>{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd> </dl> @@ -22,7 +22,7 @@ <!-- IF _file.S_FILE --> <dl class="file"> - <dt><!-- IF _file.UPLOAD_ICON -->{_file.UPLOAD_ICON} <!-- ENDIF --><a class="postlink" href="{_file.U_DOWNLOAD_LINK}" title="<!-- IF _file.COMMENT_CLEAN -->{_file.COMMENT_CLEAN} / <!-- ENDIF -->{_file.DOWNLOAD_NAME}">{_file.DOWNLOAD_NAME}</a></dt> + <dt><!-- IF _file.UPLOAD_ICON -->{_file.UPLOAD_ICON} <!-- ENDIF --><a class="postlink" href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a></dt> <!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF --> <dd>({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd> </dl> diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index 1a138b0c5e..4a85858df5 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -19,83 +19,22 @@ function popup(url, width, height, name) /** * Jump to page */ -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -function jumpto() { +function jumpto() +{ var page = prompt(jump_page, on_page); - if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0) { - var seo_page = (page - 1) * per_page; - var anchor = ''; - var anchor_parts = base_url.split('#'); - if ( anchor_parts[1] ) { - base_url = anchor_parts[0]; - anchor = '#' + anchor_parts[1]; - } - if ( base_url.indexOf('?') >= 0 ) { - document.location.href = base_url.replace(/&/g, '&') + '&start=' + seo_page + anchor; - } else if ( seo_page > 0 ) { - var seo_type1 = base_url.match(/\.[a-z0-9]+$/i); - if (seo_type1 !== null) { - document.location.href = base_url.replace(/\.[a-z0-9]+$/i, '') + seo_delim_start + seo_page + seo_type1 + anchor; - } - var seo_type2 = base_url.match(/\/$/); - if (seo_type2 !== null) { - document.location.href = base_url + seo_static_pagination + seo_page + seo_ext_pagination + anchor; - } - } else { - document.location.href = base_url + anchor; - } - } -} -// Open external links in new window in a XHTML 1.x compliant way. -/** -* phpbb_seo_href() -* Fixes href="#something" links with virtual directories -* Optionally open external or marked with a css class links in a new window -* in a XHTML 1.x compliant way. -*/ -function phpbb_seo_href() { - var current_domain = document.domain.toLowerCase(); - if (!current_domain || !document.getElementsByTagName) return; - if (seo_external_sub && current_domain.indexOf('.') >= 0) { - current_domain = current_domain.replace(new RegExp(/^[a-z0-9_-]+\.([a-z0-9_-]+\.([a-z]{2,6}|[a-z]{2,3}\.[a-z]{2,3}))$/i), '$1'); - } - if (seo_ext_classes) { - var extclass = new RegExp("(^|\s)(" + seo_ext_classes + ")(\s|$)"); - } - if (seo_hashfix) { - var basehref = document.getElementsByTagName('base')[0]; - if (basehref) { - basehref = basehref.href; - var hashtest = new RegExp("^(" + basehref + "|)#[a-z0-9_-]+$"); - var current_href = document.location.href.replace(/#[a-z0-9_-]+$/i, ""); - } else { - seo_hashfix = false; - } - } - var hrefels = document.getElementsByTagName("a"); - var hrefelslen = hrefels.length; - for (var i = 0; i < hrefelslen; i++) { - var el = hrefels[i]; - var hrefinner = el.innerHTML.toLowerCase(); - if (el.onclick || (el.href == '') || (el.href.indexOf('javascript') >=0 ) || (el.href.indexOf('mailto') >=0 ) || (hrefinner.indexOf('<a') >= 0) ) { - continue; - } - if (seo_hashfix && el.hash && hashtest.test(el.href)) { - el.href = current_href + el.hash; + if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0) + { + if (base_url.indexOf('?') == -1) + { + document.location.href = base_url + '?start=' + ((page - 1) * per_page); } - if (seo_external) { - if ((el.href.indexOf(current_domain) >= 0) && !(seo_ext_classes && extclass.test(el.className))) { - continue; - } - el.onclick = function () { window.open(this.href); return false; }; + else + { + document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page); } } } -if (seo_external || seo_hashfix) { - onload_functions.push('phpbb_seo_href()'); -} -// www.phpBB-SEO.com SEO TOOLKIT END /** * Mark/unmark checklist diff --git a/phpBB/styles/prosilver/template/forumlist_body.html b/phpBB/styles/prosilver/template/forumlist_body.html index 9e0a824e4b..e9ed5d9daf 100644 --- a/phpBB/styles/prosilver/template/forumlist_body.html +++ b/phpBB/styles/prosilver/template/forumlist_body.html @@ -44,8 +44,8 @@ <dd class="posts">{forumrow.POSTS} <dfn>{L_POSTS}</dfn></dd> <dd class="lastpost"><span> <!-- IF forumrow.U_UNAPPROVED_TOPICS --><a href="{forumrow.U_UNAPPROVED_TOPICS}">{UNAPPROVED_IMG}</a><!-- ENDIF --> - <!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn><!-- IF forumrow.LAST_POST_LINK --><i>{forumrow.LAST_POST_LINK}</i><br/><!-- ENDIF --> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL} - <a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a><br />{forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<br /> <!-- ENDIF --></span> + <!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL} + <!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<br /> <!-- ENDIF --></span> </dd> <!-- ENDIF --> </dl> diff --git a/phpBB/styles/prosilver/template/gym_sitemaps/display_forums_list.html b/phpBB/styles/prosilver/template/gym_sitemaps/display_forums_list.html deleted file mode 100644 index 6668612032..0000000000 --- a/phpBB/styles/prosilver/template/gym_sitemaps/display_forums_list.html +++ /dev/null @@ -1,73 +0,0 @@ -<!-- IF DISPLAY_FORUMS_H1 --><h1><!-- IF U_FORUMS --><a href="{U_FORUMS}" title="{H1_FORUMS}">{H1_FORUMS}</a><!-- ELSE -->{H1_FORUMS}<!-- ENDIF --></h1><!-- ENDIF --> -<!-- IF FORUM_MAP_URL or FORUM_NEWS_URL --><h3><!-- IF FORUM_NEWS_URL --><a href="{FORUM_NEWS_URL}" title="{FORUM_NEWS}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {FORUM_NEWS}</a><!-- ENDIF --><!-- IF FORUM_MAP_URL --> <strong>»</strong> <a href="{FORUM_MAP_URL}" title="{H1_FORUMS}">{H1_FORUMS}</a><!-- ENDIF --></h3><!-- ENDIF --> -<!-- IF MAP_DESC --><span>{MAP_DESC}<br /></span><!-- ENDIF --><br /> -<!-- BEGIN forumrow --> - <!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT --> - </ul> - <span class="corners-bottom"><span></span></span></div> - </div> - <!-- ENDIF --> - - <!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW or forumrow.S_NO_CAT --> - <div class="forabg"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="topiclist"> - <li class="header"> - <dl class="icon"> - <dt <!-- IF DISPLAY_LAST_POST -->style="width:64%;"<!-- ENDIF -->><!-- IF forumrow.S_IS_CAT --><!-- IF forumrow.FORUM_NEWS_LINK -->{forumrow.FORUM_NEWS_LINK} <!-- ENDIF --> - <!-- IF forumrow.FORUM_MAP_LINK --> {forumrow.FORUM_MAP_LINK}<br /><!-- ENDIF --><!-- ELSE -->{L_FORUM}<!-- ENDIF --></dt> - <!-- IF DISPLAY_LAST_POST --><dd class="lastpost"><span>{L_LAST_POST}</span></dd><!-- ENDIF --> - </dl> - </li> - </ul> - <ul class="topiclist forums"> - <!-- ENDIF --> - - <!-- IF not forumrow.S_IS_CAT --> - <li class="row<!-- IF forumrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> - <dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;"> - <dt title="{forumrow.FORUM_FOLDER_IMG_ALT}" <!-- IF DISPLAY_LAST_POST -->style="width:63%;"<!-- ELSE -->style="width:85%;"<!-- ENDIF -->> - <!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF --> - <!-- IF forumrow.FORUM_NEWS_LINK -->{forumrow.FORUM_NEWS_LINK} <!-- ENDIF --> - <!-- IF forumrow.FORUM_MAP_LINK --> {forumrow.FORUM_MAP_LINK}<!-- ENDIF --><br /> - {forumrow.FORUM_DESC}<br /> - <!-- IF forumrow.MODERATORS --> - <br /><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS} - <!-- ENDIF --> - </dt> - <!-- IF DISPLAY_LAST_POST and not forumrow.S_IS_LINK --> - <dd class="lastpost"><span> - <!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn><!-- IF forumrow.LAST_POST_LINK --><i>{forumrow.LAST_POST_LINK}</i><br/><!-- ENDIF --><!-- IF DISPLAY_USER_INFO --> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}<!-- ENDIF --> - <a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> {L_POSTED_ON_DATE} {forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<!-- ENDIF --></span> - </dd> - <!-- ENDIF --> - </dl> - <!-- IF forumrow.SUBFORUMS --><div class="gymsublist"><b>{L_SUBFORUMS} :</b><hr/>{forumrow.SUBFORUMS}</div><!-- ENDIF --> - </li> - <!-- ENDIF --> - - <!-- IF forumrow.S_LAST_ROW --> - </ul> - - <span class="corners-bottom"><span></span></span></div> - </div> - <!-- ENDIF --> - -<!-- BEGINELSE --> -<div class="forabg"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="topiclist"> - <li class="header"> - <dl class="icon"> - <dt style="width:64%;"><!-- IF FORUM_NEWS_URL --><a href="{FORUM_NEWS_URL}" title="{FORUM_NEWS}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {FORUM_NEWS}</a><!-- ENDIF --><!-- IF FORUM_MAP_URL --> <strong>»</strong> <a href="{FORUM_MAP_URL}" title="{H1_FORUMS}">{H1_FORUMS}</a><br /><!-- ENDIF --></dt> - </dl> - </li> - </ul> - <div class="panel"> - <div class="inner"><span class="corners-top"><span></span></span> - <p>{L_HTML_MAP_NONE}</p> - <span class="corners-bottom"><span></span></span></div> - </div> - <span class="corners-bottom"><span></span></span></div> -</div> -<!-- END forumrow --> diff --git a/phpBB/styles/prosilver/template/gym_sitemaps/display_posts_list.html b/phpBB/styles/prosilver/template/gym_sitemaps/display_posts_list.html deleted file mode 100644 index d4ccba35f4..0000000000 --- a/phpBB/styles/prosilver/template/gym_sitemaps/display_posts_list.html +++ /dev/null @@ -1,149 +0,0 @@ -<!-- IF DISPLAY_POSTS_H1 --><h1 id="news"><!-- IF U_POSTS --><a href="{U_POSTS}" title="{H1_POSTS}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {H1_POSTS}</a><!-- ELSE -->{H1_POSTS}<!-- ENDIF --></h1><!-- ENDIF -->
-<!-- IF FORUM_MAP_URL or FORUM_NEWS_URL --><h3><!-- IF FORUM_MAP_URL --><a href="{FORUM_MAP_URL}" title="{FORUM_MAP}">{FORUM_MAP}</a><!-- ENDIF --> <strong>»</strong> <a href="{FORUM_URL}" title="{FORUM_NAME}">{L_FORUM} : {FORUM_NAME}</a></h3><!-- ENDIF -->
-<!-- IF NEWS_DESC --><span>{NEWS_DESC}<br /></span><!-- ENDIF -->
-<!-- IF NEWS_RULES or NEWS_RULES_LINK -->
- <div class="rules">
- <div class="inner"><span class="corners-top"><span></span></span>
- <!-- IF NEWS_RULES_LINK -->
- <a href="{NEWS_RULES_LINK}">{L_FORUM_RULES}</a>
- <!-- ELSE -->
- <strong>{L_FORUM_RULES}</strong><br />
- {NEWS_RULES}
- <!-- ENDIF -->
- <span class="corners-bottom"><span></span></span></div>
- </div>
-<!-- ENDIF -->
-<!-- IF DISPLAY_PAGINATION -->
-<div class="topic-actions">
- <div class="pagination">
- {DISPLAY_TOTAL_TOPICS}
- <!-- IF DISPLAY_PAGE_NUMBER --><!-- IF DISPLAY_PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{DISPLAY_PAGE_NUMBER}</a> • <span>{DISPLAY_PAGINATION}</span><!-- ELSE --> • {DISPLAY_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
- </div>
-</div>
-<div class="clear"></div>
-<!-- ELSE -->
-<br/>
-<!-- ENDIF -->
-<div class="forumbg">
- <div class="inner">
- <span class="corners-top"><span></span></span>
- <ul class="topiclist">
- <li class="header">
- <dl class="icon">
- <dt style="width:85%;"><!-- IF FORUM_MAP_URL --><a href="{FORUM_MAP_URL}" title="{FORUM_MAP}">{FORUM_MAP}</a> <strong>»</strong> <!-- ENDIF --><!-- IF U_POSTS --><a href="{U_POSTS}" title="{H1_POSTS}">{H1_POSTS}</a><!-- ELSE -->{H1_POSTS}<!-- ENDIF --></dt>
- </dl>
- </li>
- </ul>
- <div style="background-color:#fff;padding:2px">
-<!-- BEGIN postrow -->
- <div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF DISPLAY_USER_INFO --><!-- IF postrow.S_ONLINE --> online<!-- ENDIF --><!-- ENDIF -->">
- <div class="inner">
- <span class="corners-top"><span></span></span>
- <div class="postbody" <!-- IF not DISPLAY_USER_INFO -->style="width:100%;"<!-- ENDIF -->>
- <!-- IF DISPLAY_POST_BUTTONS -->
- <!-- IF postrow.U_QUOTE or postrow.U_INFO or postrow.U_DELETE or postrow.U_EDIT -->
- <ul class="profile-icons">
- <!-- IF postrow.U_QUOTE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF -->
- <!-- IF postrow.U_EDIT --><li class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li><!-- ENDIF -->
- <!-- IF postrow.U_DELETE --><li class="delete-icon"><a href="{postrow.U_DELETE}" title="{L_DELETE_POST}"><span>{L_DELETE_POST}</span></a></li><!-- ENDIF -->
- <!-- IF postrow.U_REPORT --><li class="report-icon"><a href="{postrow.U_REPORT}" title="{L_REPORT_POST}"><span>{L_REPORT_POST}</span></a></li><!-- ENDIF -->
- <!-- IF postrow.U_WARN --><li class="warn-icon"><a href="{postrow.U_WARN}" title="{L_WARN_USER}"><span>{WARN_USER}</span></a></li><!-- ENDIF -->
- <!-- IF postrow.U_INFO --><li class="info-icon"><a href="{postrow.U_INFO}" title="{L_INFORMATION}"><span>{L_INFORMATION}</span></a></li><!-- ENDIF -->
- </ul>
- <!-- ENDIF -->
- <!-- ENDIF -->
- <h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="{postrow.POST_SUBJECT}" /> <!-- ENDIF --><!-- IF postrow.U_MINI_POST --><a href="{postrow.U_MINI_POST}" title="{postrow.POST_SUBJECT}">{postrow.POST_SUBJECT}</a><!-- ELSE -->{postrow.POST_SUBJECT}<!-- ENDIF --></h3>
- <!-- IF postrow.POST_AUTHOR_FULL --><p class="author"><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a>{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> {L_POSTED_ON_DATE} {postrow.POST_DATE}</p><!-- ENDIF -->
- <!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
- <p class="rules">
- <!-- IF postrow.S_POST_UNAPPROVED -->{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}"><strong>{L_POST_UNAPPROVED}</strong></a><!-- ENDIF -->
- <!-- IF postrow.S_POST_REPORTED -->{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a><!-- ENDIF -->
- </p>
- <!-- ENDIF -->
- <div class="content">{postrow.MESSAGE}</div>
- <!-- IF postrow.S_HAS_ATTACHMENTS -->
- <dl class="attachbox">
- <dt>{L_ATTACHMENTS}</dt>
- <!-- BEGIN attachment -->
- <dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
- <!-- END attachment -->
- </dl>
- <!-- ENDIF -->
- <!-- IF postrow.S_DISPLAY_NOTICE --><div class="rules">{L_DOWNLOAD_NOTICE}</div><!-- ENDIF -->
- <!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
- <!-- IF postrow.U_MINI_POST -->
- <div class="notice">
- <strong>{L_HTML_MORE} :</strong> <a href="{postrow.U_MINI_POST}" title="{postrow.POST_SUBJECT}">{postrow.POST_SUBJECT}</a> | <strong>{L_VIEWS} :</strong> {postrow.VIEWS} | <strong>{L_REPLIES} :</strong> {postrow.REPLIES}<!-- IF not S_SINGLE_FORUM and postrow.U_VIEW_FORUM --> | <strong>{L_FORUM} :</strong> <a href="{postrow.U_VIEW_FORUM}" title="{postrow.FORUM_NAME}">{postrow.FORUM_NAME}</a><!-- ENDIF -->
- </div>
- <!-- ENDIF -->
- </div>
- <!-- IF DISPLAY_USER_INFO -->
- <!-- IF not postrow.S_IGNORE_POST -->
- <dl class="postprofile" id="profile{postrow.POST_ID}">
- <dt>
- <!-- IF postrow.POSTER_AVATAR -->
- <!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><br />
- <!-- ENDIF -->
- <!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
- </dt>
-
- <!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
-
- <dd> </dd>
-
- <!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->
- <!-- IF postrow.POSTER_JOINED --><dd><strong>{L_JOINED}:</strong> {postrow.POSTER_JOINED}</dd><!-- ENDIF -->
- <!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
-
- <!-- IF postrow.S_PROFILE_FIELD1 -->
- <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
- <dd><strong>{postrow.PROFILE_FIELD1_NAME}:</strong> {postrow.PROFILE_FIELD1_VALUE}</dd>
- <!-- ENDIF -->
-
- <!-- BEGIN custom_fields -->
- <dd><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
- <!-- END custom_fields -->
-
- <!-- IF DISPLAY_USER_INFO -->
- <!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM -->
- <dd>
- <ul class="profile-icons">
- <!-- IF postrow.U_PM --><li class="pm-icon"><a href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
- <!-- IF postrow.U_EMAIL --><li class="email-icon"><a href="{postrow.U_EMAIL}" title="{L_EMAIL}"><span>{L_EMAIL}</span></a></li><!-- ENDIF -->
- <!-- IF postrow.U_WWW --><li class="web-icon"><a href="{postrow.U_WWW}" title="{L_VISIT_WEBSITE}: {postrow.U_WWW}"><span>{L_WEBSITE}</span></a></li><!-- ENDIF -->
- <!-- IF postrow.U_MSN --><li class="msnm-icon"><a href="{postrow.U_MSN}" onclick="popup(this.href, 550, 320); return false;" title="{L_MSNM}"><span>{L_MSNM}</span></a></li><!-- ENDIF -->
- <!-- IF postrow.U_ICQ --><li class="icq-icon"><a href="{postrow.U_ICQ}" onclick="popup(this.href, 550, 320); return false;" title="{L_ICQ}"><span>{L_ICQ}</span></a></li><!-- ENDIF -->
- <!-- IF postrow.U_YIM --><li class="yahoo-icon"><a href="{postrow.U_YIM}" onclick="popup(this.href, 780, 550); return false;" title="{L_YIM}"><span>{L_YIM}</span></a></li><!-- ENDIF -->
- <!-- IF postrow.U_AIM --><li class="aim-icon"><a href="{postrow.U_AIM}" onclick="popup(this.href, 550, 320); return false;" title="{L_AIM}"><span>{L_AIM}</span></a></li><!-- ENDIF -->
- <!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
- </ul>
- </dd>
- <!-- ENDIF -->
- <!-- ENDIF -->
- </dl>
- <!-- ENDIF -->
- <!-- ENDIF -->
- <div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
- <span class="corners-bottom"><span></span></span>
- </div>
- </div>
- <hr class="divider" /><br/>
-<!-- BEGINELSE -->
-<div class="panel">
- <div class="inner"><span class="corners-top"><span></span></span>
- <p>{L_HTML_NEWS_NONE}</p>
- <span class="corners-bottom"><span></span></span></div>
-</div>
-<!-- END postrow -->
- </div><span class="corners-bottom"><span></span></span>
- </div>
-</div>
-<!-- IF DISPLAY_PAGINATION -->
-<div class="topic-actions">
- <div class="pagination">
- {DISPLAY_TOTAL_TOPICS}
- <!-- IF DISPLAY_PAGE_NUMBER --><!-- IF DISPLAY_PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{DISPLAY_PAGE_NUMBER}</a> • <span>{DISPLAY_PAGINATION}</span><!-- ELSE --> • {DISPLAY_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
- </div>
-</div>
-<div class="clear"></div>
-<!-- ENDIF -->
diff --git a/phpBB/styles/prosilver/template/gym_sitemaps/display_topics_list.html b/phpBB/styles/prosilver/template/gym_sitemaps/display_topics_list.html deleted file mode 100644 index eba2933e19..0000000000 --- a/phpBB/styles/prosilver/template/gym_sitemaps/display_topics_list.html +++ /dev/null @@ -1,100 +0,0 @@ -<!-- IF DISPLAY_TOPICS_H1 --><h1><!-- IF U_TOPICS --><a href="{U_TOPICS}" title="{H1_TOPICS}">{H1_TOPICS}</a><!-- ELSE -->{H1_TOPICS}<!-- ENDIF --></h1><!-- ENDIF -->
-<!-- IF FORUM_MAP_URL or FORUM_NEWS_URL --><h3><!-- IF FORUM_NEWS_URL --><a href="{FORUM_NEWS_URL}" title="{FORUM_NEWS}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {FORUM_NEWS}</a><!-- ENDIF --> <strong>»</strong> <a href="{FORUM_URL}" title="{FORUM_NAME}">{L_FORUM} : {FORUM_NAME}</a></h3><!-- ENDIF -->
-<!-- IF MAP_DESC --><span>{MAP_DESC}<br /></span><!-- ENDIF -->
-<!-- IF MAP_RULES or MAP_RULES_LINK -->
- <div class="rules">
- <div class="inner"><span class="corners-top"><span></span></span>
- <!-- IF MAP_RULES_LINK -->
- <a href="{MAP_RULES_LINK}">{L_FORUM_RULES}</a>
- <!-- ELSE -->
- <strong>{L_FORUM_RULES}</strong><br />
- {MAP_RULES}
- <!-- ENDIF -->
- <span class="corners-bottom"><span></span></span></div>
- </div>
-<!-- ENDIF -->
-<!-- IF DISPLAY_PAGINATION -->
-<div class="topic-actions">
- <div class="pagination">
- {DISPLAY_TOTAL_TOPICS}
- <!-- IF DISPLAY_PAGE_NUMBER --><!-- IF DISPLAY_PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{DISPLAY_PAGE_NUMBER}</a> • <span>{DISPLAY_PAGINATION}</span><!-- ELSE --> • {DISPLAY_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
- </div>
-</div>
-<div class="clear"></div>
-<!-- ELSE -->
-<br/><br/>
-<!-- ENDIF -->
-<!-- BEGIN topicrow -->
- <!-- IF not topicrow.S_TOPIC_TYPE_SWITCH and not topicrow.S_FIRST_ROW -->
- </ul>
- <span class="corners-bottom"><span></span></span></div>
- </div>
- <!-- ENDIF -->
-
- <!-- IF topicrow.S_FIRST_ROW or not topicrow.S_TOPIC_TYPE_SWITCH -->
- <div class="forumbg">
- <div class="inner"><span class="corners-top"><span></span></span>
- <ul class="topiclist">
- <li class="header">
- <dl class="icon">
- <dt <!-- IF not DISPLAY_LAST_POST -->style="width:85%;"<!-- ENDIF -->>
- <!-- IF FORUM_NEWS_URL --><a href="{FORUM_NEWS_URL}" title="{FORUM_NEWS}">{FORUM_NEWS}</a> <strong>»</strong> <!-- ENDIF --><!-- IF U_TOPICS --><a href="{U_TOPICS}" title="{H1_TOPICS}">{H1_TOPICS}</a><!-- ELSE -->{H1_TOPICS}<!-- ENDIF --></dt>
- <!-- IF DISPLAY_LAST_POST --><dd class="lastpost"><span>{L_LAST_POST}</span></dd><!-- ENDIF -->
- </dl>
- </li>
- </ul>
- <ul class="topiclist topics">
- <!-- ENDIF -->
-
- <li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
- <dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
- <dt style="<!-- IF topicrow.TOPIC_ICON_IMG -->background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;<!-- ENDIF --><!-- IF not DISPLAY_LAST_POST -->width:85%;<!-- ENDIF -->" title="{topicrow.TOPIC_FOLDER_IMG_ALT}"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle" title="{topicrow.TOPIC_TITLE}">{topicrow.TOPIC_TITLE}</a>
- <!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
- <!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br />
- <!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF -->
- <!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->
- <!-- IF topicrow.TOPIC_AUTHOR_FULL -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL}<!-- ENDIF --> {L_POSTED_ON_DATE} {topicrow.FIRST_POST_TIME}
- <!-- IF not S_SINGLE_FORUM and topicrow.U_VIEW_FORUM --><br />{L_IN} <a href="{topicrow.U_VIEW_FORUM}" style="font-weight: bold;">{topicrow.FORUM_NAME}</a><!-- ENDIF -->
- </dt>
- <!-- IF DISPLAY_LAST_POST --><dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>
- <a href="{topicrow.U_MINI_POST}" title="{L_LAST_POST} : {topicrow.TOPIC_LAST_POST_TITLE}">{LAST_POST_IMG} {topicrow.TOPIC_LAST_POST_TITLE}</a> <br />
- <!-- IF topicrow.TOPIC_AUTHOR_FULL -->{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} <!-- ENDIF -->
- {L_POSTED_ON_DATE} {topicrow.LAST_POST_TIME}</span>
- </dd>
- <!-- ENDIF -->
- </dl>
- </li>
-
- <!-- IF topicrow.S_LAST_ROW -->
- </ul>
- <span class="corners-bottom"><span></span></span></div>
- </div>
- <!-- ENDIF -->
-
- <!-- BEGINELSE -->
-<div class="forumbg">
- <div class="inner"><span class="corners-top"><span></span></span>
- <ul class="topiclist">
- <li class="header">
- <dl class="icon">
- <dt><!-- IF U_TOPICS --><a href="{U_TOPICS}" title="{H1_TOPICS}">{H1_TOPICS}</a><!-- ELSE -->{H1_TOPICS}<!-- ENDIF --></dt>
- <dd> </dd>
- </dl>
- </li>
- </ul>
- <div class="panel">
- <div class="inner"><span class="corners-top"><span></span></span>
- <p>{L_HTML_NO_ITEMS}</p>
- <span class="corners-bottom"><span></span></span></div>
- </div>
- <span class="corners-bottom"><span></span></span></div>
-</div>
-<!-- END topicrow -->
-<!-- IF DISPLAY_PAGINATION -->
-<div class="topic-actions">
- <div class="pagination">
- {DISPLAY_TOTAL_TOPICS}
- <!-- IF DISPLAY_PAGE_NUMBER --><!-- IF DISPLAY_PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{DISPLAY_PAGE_NUMBER}</a> • <span>{DISPLAY_PAGINATION}</span><!-- ELSE --> • {DISPLAY_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
- </div>
-</div>
-<!-- ENDIF -->
diff --git a/phpBB/styles/prosilver/template/gym_sitemaps/gym_google.xsl b/phpBB/styles/prosilver/template/gym_sitemaps/gym_google.xsl deleted file mode 100644 index c453ca3d65..0000000000 --- a/phpBB/styles/prosilver/template/gym_sitemaps/gym_google.xsl +++ /dev/null @@ -1,238 +0,0 @@ -<xsl:stylesheet version="2.0" - xmlns:html="http://www.w3.org/TR/REC-html40" - xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="html" - version="1.0" - encoding="utf-8" - omit-xml-declaration="yes" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" - indent="yes" /> - -<!-- Root template --> -<xsl:template match="/"> - <!-- Store in $fileType if we are in a sitemap or in a SitemapIndex --> - <xsl:variable name="fileType"> - <xsl:choose> - <xsl:when test="//sitemap:url">Sitemap</xsl:when> - <xsl:otherwise>SitemapIndex</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="browser"> - <xsl:choose><xsl:when test="system-property('xsl:vendor')='Transformiix'">mozilla</xsl:when> - <xsl:otherwise>other</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="sorting"> - <xsl:choose><xsl:when test="$browser='mozilla'">descending</xsl:when> - <xsl:otherwise>ascending</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="home_link">{ROOT_URL}</xsl:variable> - - <xsl:variable name="sitemap_url"> - <xsl:choose> - <xsl:when test="$fileType='Sitemap'"><xsl:call-template name="http"><xsl:with-param name="input" select="sitemap:urlset/sitemap:url/sitemap:loc" /></xsl:call-template></xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="sitemap_title"> - <xsl:choose> - <xsl:when test="$fileType='Sitemap'"><xsl:value-of select="substring-after($sitemap_url, '{ROOT_URL}')"/></xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> -<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> -<head> - <base href="{PHPBB_URL}"/> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <title><xsl:choose> - <xsl:when test="$fileType='Sitemap'">{L_SITEMAP} : <xsl:value-of select="$sitemap_title"/></xsl:when> - <xsl:otherwise>{L_SITEMAPINDEX}</xsl:otherwise> - </xsl:choose></title> - <link rel="stylesheet" href="{T_CSS_PATH}" type="text/css" media="screen, projection"/> - <link href="{T_STYLE_PATH}normal.css" rel="stylesheet" type="text/css" title="A" /> - <link href="{T_STYLE_PATH}medium.css" rel="alternate stylesheet" type="text/css" title="A+" /> - <link href="{T_STYLE_PATH}large.css" rel="alternate stylesheet" type="text/css" title="A++" /> - <script type="text/javascript" src="{T_STYLE_PATH}gym_js.js"></script> -</head> - <!-- Body --> -<body id="phpbb"> -<!-- - GYM Sitemaps and RSS XSLTransform - (C) phpBB SEO - http://www.phpbb-seo.com/ ---> - <div id="wrap"> - <a id="top" name="top" accesskey="t"></a> - <div id="page-header"> - <div class="headerbar"> - <div class="inner"><span class="corners-top"><span></span></span> - <div id="site-description"><a href="{$home_link}" title="{L_HOME}" id="logo"><img src="{T_IMAGE_PATH}site_logo.gif" alt="{SITENAME}" /></a> - <h1>{SITENAME}</h1> - <p>{SITE_DESCRIPTION}</p> - <p style="display: none;"><a href="#start_here">{L_SKIP}</a></p> - </div> - <div id="search-box"> - <form action="{PHPBB_URL}search.php" method="post" id="search"> - <fieldset> - <input name="keywords" id="keywords" type="text" maxlength="128" title="" class="inputbox search" value="" /> - <input class="button2" value="{L_SEARCH}" type="submit" /><br /> - <a href="{PHPBB_URL}search.php" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> - </fieldset> - </form> - </div> - <span class="corners-bottom"><span></span></span> - </div> - </div> - <div class="navbar"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="linklist navlinks"> - <li class="icon-home"> - <a href="{$home_link}" accesskey="h">{L_HOME}</a> - <xsl:if test="$home_link != '{PHPBB_URL}'"> <strong>‹</strong> <a href="{PHPBB_URL}">{L_FORUM_INDEX}</a></xsl:if> - <xsl:if test="$fileType='Sitemap'"> - <xsl:if test="'{PHPBB_URL}' != $sitemap_url"> <strong>‹</strong> <a href="{$sitemap_url}"><xsl:value-of select="$sitemap_title"/></a></xsl:if> - </xsl:if> - </li> - <li class="rightside"><a href="#" onclick="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li> - </ul> - <ul class="linklist leftside"> - <li class="icon-ucp"> - <xsl:choose> - <xsl:when test="$fileType='Sitemap'">{L_SITEMAP_OF} : <a href="{$sitemap_url}"><xsl:value-of select="$sitemap_title"/></a></xsl:when> - <xsl:otherwise>{L_SITEMAPINDEX}</xsl:otherwise> - </xsl:choose> - </li> - </ul> - <ul class="linklist rightside"> - <li class="icon-faq"><a href="{PHPBB_URL}faq.php" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li> - <li class="icon-register"><a href="{PHPBB_URL}ucp.php?mode=register">{L_REGISTER}</a></li> - </ul> - <span class="corners-bottom"><span></span></span> - </div> - </div> - </div> - <a name="start_here"></a> - <div id="page-body"><br /> - <div class="clear"></div> - <div class="post bg3"> - <div class="inner"><span class="corners-top"><span></span></span> - <xsl:choose> - <xsl:when test="$fileType='Sitemap'"><h2><a href="{$sitemap_url}">{L_SITEMAP_OF} : <xsl:value-of select="$sitemap_title"/></a></h2><h4>{L_NUMBER_OF_URL} : <xsl:value-of select="count(sitemap:urlset/sitemap:url)"/></h4></xsl:when> - <xsl:otherwise><h2>{L_SITEMAPINDEX}</h2><h4>{L_NUMBER_OF_SITEMAP} : <xsl:value-of select="count(sitemap:sitemapindex/sitemap:sitemap)"/></h4></xsl:otherwise> - </xsl:choose> - <br /> - <span class="corners-bottom"><span></span></span> - </div> - </div><br /> - <xsl:choose> - <xsl:when test="$fileType='Sitemap'"><xsl:call-template name="sitemapTable"/></xsl:when> - <xsl:otherwise><xsl:call-template name="siteindexTable"/></xsl:otherwise> - </xsl:choose> - </div> -</div> -<div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000 - 2010 phpBB Group</div> -<!-- - We request you retain the full copyright notice below, as well as in all templates you may use, - including the link to www.phpbb-seo.com. - This not only gives respect to the large amount of time given freely by the developers - but also helps build interest, traffic and use of www.phpBB-SEO.com - If you cannot (for good reason) retain the full copyright we request you at least leave in place the - "Copyright phpBB SEO" line, with "phpBB SEO" linked to www.phpbb-seo.com. - If you refuse to include even this, then support and further development on our forums may be affected. - The phpBB SEO Team. ---> -<div class="copyright">{L_COPY}</div> -</body> -</html> -</xsl:template> - -<!-- siteindexTable template --> -<xsl:template name="siteindexTable"> - <div class="forumbg"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="topiclist"> - <li class="header"> - <dl class="icon"> - <dt>{L_SITEMAP_URL}</dt> - <dd class="lastpost"><span>{L_LASTMOD_DATE}</span></dd> - </dl> - </li> - </ul> - <xsl:apply-templates select="sitemap:sitemapindex/sitemap:sitemap"></xsl:apply-templates> - <span class="corners-bottom"><span></span></span></div> - </div> -</xsl:template> -<!-- sitemapTable template --> -<xsl:template name="sitemapTable"> - <div class="forumbg"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="topiclist"> - <li class="header"> - <dl class="icon"> - <dt>{L_LINK}</dt> - <dd class="topics">{L_PRIORITY}</dd> - <dd class="posts">{L_CHANGEFREQ}</dd> - <dd class="lastpost"><span>{L_LASTMOD_DATE}</span></dd> - </dl> - </li> - </ul> - <xsl:apply-templates select="sitemap:urlset/sitemap:url"></xsl:apply-templates> - <span class="corners-bottom"><span></span></span></div> - </div> -</xsl:template> -<!-- sitemap:url template --> -<xsl:template match="sitemap:url"> - <ul class="topiclist forums"> - <li class="row"> - <dl class="icon" style="background-image: url({T_IMAGE_PATH}forum_read.gif); background-repeat: no-repeat;"> - <dt style="overflow:hidden"> - <xsl:variable name="sitemapURL"><xsl:call-template name="http"><xsl:with-param name="input" select="sitemap:loc" /></xsl:call-template></xsl:variable> - <a href="{$sitemapURL}" class="topictitle"><span><xsl:call-template name="hreftitle"><xsl:with-param name="input" select="$sitemapURL" /></xsl:call-template></span></a> - </dt> - <dd class="topics"><span><xsl:value-of select="sitemap:priority"/></span></dd> - <dd class="posts"><span><xsl:value-of select="sitemap:changefreq"/></span></dd> - <dd class="lastpost"><span><xsl:value-of select="sitemap:lastmod" /></span></dd> - </dl> - </li> - </ul> -</xsl:template> -<!-- sitemap:sitemap template --> -<xsl:template match="sitemap:sitemap"> - <ul class="topiclist forums"> - <li class="row"> - <dl class="icon" style="background-image: url({T_IMAGE_PATH}topic_read.gif); background-repeat: no-repeat;"> - <dt style="overflow:hidden"> - <xsl:variable name="sitemapURL"><xsl:call-template name="http"><xsl:with-param name="input" select="sitemap:loc" /></xsl:call-template></xsl:variable> - <a href="{$sitemapURL}" class="forumtitle"><span><xsl:call-template name="hreftitle"><xsl:with-param name="input" select="$sitemapURL" /></xsl:call-template></span></a> - </dt> - <dd class="lastpost"><span><xsl:value-of select="sitemap:lastmod" /></span></dd> - </dl> - </li> - </ul> -</xsl:template> -<!-- http template to preserve SSL navigation when ssl is not forced (if so, the xml source only uses http) --> -<xsl:template name="http"> - <xsl:param name="input" /> - <xsl:choose> - <xsl:when test="contains($input, '{HTTP_PROTO_REQUEST}')"><xsl:value-of select="$input"/></xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="contains($input, 'http://')"><xsl:value-of select="concat('{HTTP_PROTO_REQUEST}', substring-after($input, 'http://'))"/></xsl:when> - <xsl:otherwise><xsl:value-of select="concat('{HTTP_PROTO_REQUEST}', substring-after($input, 'https://'))"/></xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> -<!-- title template : use nicer titles in href links ! --> -<xsl:template name="hreftitle"> - <xsl:param name="input" /> - <xsl:choose> - <xsl:when test="contains($input, '{ROOT_URL}')"><xsl:value-of select="substring-after($input, '{ROOT_URL}')"/></xsl:when> - <xsl:otherwise><xsl:value-of select="substring-after($input, '{HTTP_PROTO_REQUEST}')"/></xsl:otherwise> - </xsl:choose> -</xsl:template> -</xsl:stylesheet> diff --git a/phpBB/styles/prosilver/template/gym_sitemaps/gym_link_body.html b/phpBB/styles/prosilver/template/gym_sitemaps/gym_link_body.html deleted file mode 100644 index 007a94be09..0000000000 --- a/phpBB/styles/prosilver/template/gym_sitemaps/gym_link_body.html +++ /dev/null @@ -1,114 +0,0 @@ -<!-- IF HTML_URL or HTML_NEWS_URL --><h2><!-- IF HTML_NEWS_URL --><a href="{HTML_NEWS_URL}" title="{HTML_NEWS_TITLE}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {HTML_NEWS_TITLE}</a> <!-- ENDIF --><!-- IF HTML_URL --><strong>»</strong> <a href="{HTML_URL}" title="{HTML_SITENAME}">{HTML_SITENAME}</a><!-- ENDIF --></h2> -<!-- IF HTML_SITEDESC --><span>{HTML_SITEDESC}<br /></span><!-- ENDIF --> -<!-- ENDIF --> -<!-- IF GYM_RSS_AGREGATED --> - <!-- IF GYM_RSS_SLIDE --> - <script type="text/javascript"> - // <![CDATA[ - // Message to stop scroller - var dn_stopMessage='{L_GYM_RSS_SLIDE_STOP}'; - // Message to start scroller - var dn_startMessage='{L_GYM_RSS_SLIDE_START}'; - // initial position - var dn_startpos={GYM_RSS_SLIDE_SP_JS}; - // end position - var dn_endpos=-{GYM_RSS_SLIDE_EP}; - // Speed of scroller higher number = slower scroller - var dn_speed={GYM_RSS_SCRSPEED}; - // ID of the news box - var dn_newsID='{GYM_RSS_CSSID}'; - // ID of the generated paragraph - var dn_paraID='{GYM_RSS_CSSID}DomID'; - // ]]> - </script> - <script type="text/javascript" src="{T_TEMPLATE_PATH}/gym_sitemaps/gym_rss_links.js"></script> - <!-- ENDIF --> - <!-- IF GYM_CHAN_TITLE --><h3><!-- IF GYM_CHAN_SOURCE --><a href="{GYM_CHAN_SOURCE}" title="{GYM_CHAN_TITLE} - {L_GYM_RSS_SOURCE}"><img src="{ROOT_PATH}gym_sitemaps/images/feed-icon.png" alt="{GYM_CHAN_TITLE} - {L_GYM_RSS_SOURCE}"/> {L_GYM_RSS_SOURCE}</a> <strong>»</strong> <a href="{GYM_CHAN_LINK}" title="{GYM_CHAN_TITLE}">{GYM_CHAN_TITLE}</a><!-- ELSE -->{GYM_CHAN_TITLE}<!-- ENDIF --></h3><!-- ENDIF --> - <div class="forumbg"> - <div class="inner"> - <span class="corners-top"><span></span></span> - <!-- IF not GYM_RSS_DESC --> - <ul class="topiclist"> - <li class="header"> - <dl class="icon"> - <dt<!-- IF not GYM_RSS_DATE --> style="width:72%;"<!-- ENDIF -->>{L_GYM_LINKS}</dt> - <!-- IF GYM_RSS_AUTHOR --><dd class="views">{L_AUTHOR}</dd><!-- ENDIF --> - <!-- IF GYM_RSS_DATE --><dd class="lastpost"><span>{L_FILEDATE}</span></dd><!-- ENDIF --> - </dl> - </li> - </ul> - <div class="bg1"> - <div id="{GYM_RSS_CSSID}"> - <ul id="{GYM_RSS_CSSID}scrld" class="topiclist topics"> - <!-- BEGIN gym_link_list --> - - <li class="row<!-- IF gym_link_list.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> - <dl class="icon" style="background-image: url({gym_link_list.IMG}); background-repeat: no-repeat;"> - <dt title="{gym_link_list.TITLE}"><a href="{gym_link_list.LINK}" class="topictitle">{gym_link_list.TITLE}</a> - <br/><!-- IF gym_link_list.SOURCE --><a href="{gym_link_list.SOURCE}" title="{gym_link_list.TITLE} - {L_GYM_RSS_SOURCE}"><img src="{ROOT_PATH}gym_sitemaps/images/feed-icon.png" alt="{gym_link_list.TITLE} - {L_GYM_RSS_SOURCE}"/> {L_GYM_RSS_SOURCE}</a><!-- ENDIF --><br/> - </dt> - <!-- IF gym_link_list.AUTHOR --><dd class="views"><b>{gym_link_list.AUTHOR}</b> <dfn>{L_AUTHOR}</dfn></dd><!-- ENDIF --> - <!-- IF gym_link_list.PUBDATE --><dd class="lastpost"><span><dfn>{L_FILEDATE} </dfn>{L_POSTED_ON_DATE} {gym_link_list.PUBDATE}</span></dd><!-- ENDIF --> - </dl> - </li> - <!-- END gym_link_list --> - </ul> - </div> - </div> - <!-- ELSE --> - <ul class="topiclist"> - <li class="header"> - <dl class="icon"> - <dt>{L_POST}</dt> - <dd> </dd> - </dl> - </li> - </ul> - <div class="bg1"> - <div id="{GYM_RSS_CSSID}" style="width:100%;{GYM_RSS_SLIDE_SP}overflow-y:auto;position:relative;overflow-x:hidden;"> - <div id="{GYM_RSS_CSSID}scrld" <!-- IF GYM_RSS_SLIDE_SP -->style="width:100%;position:absolute;"<!-- ENDIF -->> - <!-- BEGIN gym_link_list --> - <div class="post <!-- IF gym_link_list.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> - <div class="inner"> - <span class="corners-top"><span></span></span> - <div class="postbody"> - <h3><a href="{gym_link_list.LINK}" title="{gym_link_list.TITLE}">{gym_link_list.TITLE}</a></h3> - <!-- IF gym_link_list.AUTHOR --><p class="author">{L_POST_BY_AUTHOR} <b>{gym_link_list.AUTHOR}</b></p><!-- ENDIF --> - <div class="content">{gym_link_list.DESC}</div> - </div> - <dl class="postprofile"> - <dt>{L_GYM_LINK} : <a href="{gym_link_list.LINK}" title="{gym_link_list.TITLE}">{gym_link_list.TITLE}</a> - <!-- IF gym_link_list.SOURCE --><br /><a href="{gym_link_list.SOURCE}" title="{gym_link_list.TITLE} - {L_GYM_RSS_SOURCE}"><img src="{ROOT_PATH}gym_sitemaps/images/feed-icon.png" alt="{gym_link_list.TITLE} - {L_GYM_RSS_SOURCE}"/> {L_GYM_RSS_SOURCE}</a><!-- ENDIF --> - <!-- IF gym_link_list.PUBDATE --><br /><span>{L_POSTED_ON_DATE} {gym_link_list.PUBDATE}</span><!-- ENDIF --> - </dt> - <dd> </dd> - </dl> - <span class="corners-bottom"><span></span></span> - </div> - </div> - <!-- END gym_link_list --> - </div> - </div> - </div> - <!-- ENDIF --> - <span class="corners-bottom"><span></span></span> - </div> - </div> -<!-- ELSE IF HTML_URL --> -<div class="forabg"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="topiclist"> - <li class="header"> - <dl class="icon"> - <dt style="width:64%;"><a href="{HTML_URL}" title="{HTML_SITENAME}">{HTML_SITENAME}</a></dt> - </dl> - </li> - </ul> - <div class="panel"> - <div class="inner"><span class="corners-top"><span></span></span> - <p>{L_HTML_NEWS_NONE}</P> - <span class="corners-bottom"><span></span></span></div> - </div> - <span class="corners-bottom"><span></span></span></div> -</div> -<!-- ENDIF --> diff --git a/phpBB/styles/prosilver/template/gym_sitemaps/gym_rss.xsl b/phpBB/styles/prosilver/template/gym_sitemaps/gym_rss.xsl deleted file mode 100644 index 7f09c89684..0000000000 --- a/phpBB/styles/prosilver/template/gym_sitemaps/gym_rss.xsl +++ /dev/null @@ -1,197 +0,0 @@ -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> -<xsl:output - method="html" - version="1.0" - encoding="utf-8" - omit-xml-declaration="yes" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" - indent="yes" /> -<xsl:template match="/rss" > - -<xsl:variable name="rss_link"> - <xsl:value-of select="channel/textInput/link" /> -</xsl:variable> -<xsl:variable name="home_link">{ROOT_URL}</xsl:variable> -<xsl:variable name="browser"> - <xsl:choose><xsl:when test="system-property('xsl:vendor')='Transformiix'">mozilla</xsl:when> - <xsl:otherwise>other</xsl:otherwise> - </xsl:choose> -</xsl:variable> -<xsl:variable name="sorting"> - <xsl:choose><xsl:when test="$browser='mozilla'">descending</xsl:when> - <xsl:otherwise>ascending</xsl:otherwise> - </xsl:choose> -</xsl:variable> -<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> -<head> - <base href="{PHPBB_URL}"/> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <title><xsl:value-of select="channel/title" /> - {L_FEED}</title> - <link rel="alternate" type="application/rss+xml" title="{channel/title}" href="{$rss_link}" /> - <link rel="stylesheet" href="{T_CSS_PATH}" type="text/css" media="screen, projection"/> - <link href="{T_STYLE_PATH}normal.css" rel="stylesheet" type="text/css" title="A" /> - <link href="{T_STYLE_PATH}medium.css" rel="alternate stylesheet" type="text/css" title="A+" /> - <link href="{T_STYLE_PATH}large.css" rel="alternate stylesheet" type="text/css" title="A++" /> - <script type="text/javascript" src="{T_STYLE_PATH}gym_js.js"></script> -</head> -<body id="phpbb"> -<!-- - GYM Sitemaps and RSS XSLTransform - (C) phpBB SEO - http://www.phpbb-seo.com/ ---> - <div id="wrap"> - <a id="top" name="top" accesskey="t"></a> - <div id="page-header"> - <div class="headerbar"> - <div class="inner"><span class="corners-top"><span></span></span> - <div id="site-description"><a href="{$home_link}" title="{L_HOME}" id="logo"><img src="{channel/image/url}" alt="{channel/image/title}" /></a> - <h1>{SITENAME}</h1> - <p>{SITE_DESCRIPTION}</p> - <p style="display: none;"><a href="#start_here">{L_SKIP}</a></p> - </div> - <div id="search-box"> - <form action="{PHPBB_URL}search.php" method="post" id="search"> - <fieldset> - <input name="keywords" id="keywords" type="text" maxlength="128" title="" class="inputbox search" value="" /> - <input class="button2" value="{L_SEARCH}" type="submit" /><br /> - <a href="{PHPBB_URL}search.php" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> - </fieldset> - </form> - </div> - <span class="corners-bottom"><span></span></span> - </div> - </div> - <div class="navbar"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="linklist navlinks"> - <li class="icon-home"> - <a href="{$home_link}" accesskey="h">{L_HOME}</a> <strong>‹</strong>  - <xsl:if test="$home_link != '{PHPBB_URL}'"> - <xsl:if test="'{PHPBB_URL}' != channel/link"> - <a href="{PHPBB_URL}">{L_FORUM_INDEX}</a> <strong>‹</strong>  - </xsl:if> - </xsl:if> - <a href="{channel/link}" title="{channel/title}"><span class="html"><xsl:value-of select="channel/title" /></span></a> <strong>‹</strong> <a href="{$rss_link}">{L_SOURCE}</a></li> - <li class="rightside"><a href="#" onclick="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li> - </ul> - <ul class="linklist leftside"> - <li class="icon-ucp"> - <a href="{$rss_link}" title="{channel/title}" accesskey="u"><span class="html"><xsl:value-of select="channel/title" /> - {L_FEED}</span></a> - </li> - </ul> - <ul class="linklist rightside"> - <li class="icon-faq"><a href="{PHPBB_URL}faq.php" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li> - <li class="icon-register"><a href="{PHPBB_URL}ucp.php?mode=register">{L_REGISTER}</a></li> - </ul> - <span class="corners-bottom"><span></span></span> - </div> - </div> - </div> - <a name="start_here"></a> - <div id="page-body"><br/> - <div class="clear"></div> - <xsl:for-each select="channel"> - <div class="post bg3"> - <div class="inner"><span class="corners-top"><span></span></span> - <div class="postbody"><div class="html"><p><h2><a href="{link}" title="{title}"><span class="html"><xsl:value-of select="title" disable-output-escaping="yes"/></span></a></h2></p><hr/> - - <p><span class="html"><xsl:call-template name="nl2br"><xsl:with-param name="input" select="description" /></xsl:call-template></span><br/><br/> -{L_SUBSCRIBE} - <form action="" method="POST" > - <fieldset > - <label><a href="{$rss_link}" title="{title}"><img src="{T_IMAGE_PATH}feed-icon.png" alt="{L_2_LINK}" align="middle"/></a> {L_2_LINK}</label> - <input name="urlrss" type="text" value="{$rss_link}" size="80" maxlength="500"/> - </fieldset> - </form> - <br/> -{L_LAST_UPDATE} : <xsl:value-of select="lastBuildDate"/><br/> -{L_UPDATE} : <xsl:value-of select="ttl"/> {L_MINUTES}.<br/><br/> - <xsl:choose> - <xsl:when test="count(item) = 1"> <b>{L_ITEM_LISTED}</b> - </xsl:when> - <xsl:otherwise> - <b><xsl:value-of select="count(item)"/> {L_ITEMS_LISTED}</b> - </xsl:otherwise> - </xsl:choose></p></div></div> - <dl class="postprofile"> - <dt>{L_SUBSCRIBE_POD}<br/><br/> - <a href="http://fusion.google.com/add?feedurl={$rss_link}" target="_google"><img src="{T_IMAGE_PATH}addGoogle.gif" border="0" alt="Add to Google" title="Add to Google"/></a><br/> - <a href="http://add.my.yahoo.com/rss?url={$rss_link}" target="_yahoo"><img src="{T_IMAGE_PATH}addtomyyahoo.gif" border="0" alt="Add to My Yahoo" title="Add to My Yahoo"/></a><br/> - <a href="http://my.msn.com/addtomymsn.armx?id=rss&ut={$rss_link}&ru={$rss_link}" target="_msn"><img src="{T_IMAGE_PATH}MyMSN.gif" alt="Add to My MSN" title="Add to My MSN"/></a><br/> - <a href="http://feeds.my.aol.com/index.jsp?url={$rss_link}" target="_aol"><img alt="Add to MY AOL" src="{T_IMAGE_PATH}myaol.gif" title="Add to My AOL" border="0"/></a><br/> - <a href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url={$rss_link}" target="_newsgator"><img src="{T_IMAGE_PATH}newsgator.gif" alt="Subscribe in NewsGator Online" title="Subscribe in NewsGator Online" border="0"/></a><br/> - <a href="http://www.netvibes.com/subscribe.php?url={$rss_link}" target="_netvibes"><img src="{T_IMAGE_PATH}add2netvibes.gif" border="0" alt="Add to Netvibes" title="Add to Netvibes"/></a><br/> - <a href="http://www.pageflakes.com/subscribe.aspx?url={$rss_link}" target="_pageflakes"><img src="{T_IMAGE_PATH}pageflakes.gif" border="0" alt="Add to Page Flakes" title="Add to Page Flakes"/></a><br/> - </dt> - </dl> - - <span class="corners-bottom"><span></span></span> - </div> - </div> - <br/><br/> - <xsl:for-each select="item"> - <xsl:sort select="substring(pubDate,12,string-length(pubDate))" order="{$sorting}" data-type="number"/> - <div class="post bg2"> - <div class="inner"><span class="corners-top"><span></span></span> - <div class="postbody"> - <div class="content"><p><h2><a href="{link}" title="{title}"><span class="html"><xsl:value-of select="title" disable-output-escaping="yes"/></span></a></h2></p> - <span class="html"><xsl:call-template name="nl2br"><xsl:with-param name="input" select="description" /></xsl:call-template></span> - <div class="signature"> - <b>{L_BOOKMARK_THIS}</b>  - <a href="http://www.scoopeo.com/scoop/new?newurl={link}&title={title}" title="Scoopeo : {title}"><img src="{T_IMAGE_PATH}scoopeo.png" alt="Scoopeo" /></a>  - <a href="http://www.wikio.fr/publish?url={link}&title={title}" title="Wikio : {title}"><img src="{T_IMAGE_PATH}wikio.gif" alt="Wikio" /></a>  - <a href="http://digg.com/submit?phase=2&url={link}&title={title}" title="Digg : {title}"><img src="{T_IMAGE_PATH}digg.png" alt="Digg" /></a>  - <a href="http://www.fuzz.fr/submit?url={link}&title={title}" title="Fuzz : {title}"><img src="{T_IMAGE_PATH}fuzz.png" alt="Fuzz" /></a>  - <a href="http://www.nuouz.com/addNews.aspx?url={link}&title={title}" title="Nuouz : {title}"><img src="{T_IMAGE_PATH}nuouz.png" alt="Nuouz" /></a>  - <a href="http://reddit.com/submit?url={link}&title={title}" title="Reddit : {title}"><img src="{T_IMAGE_PATH}reddit.png" alt="Reddit" /></a>  - <a href="http://www.addthis.com/bookmark.php" onclick="window.open('http://www.addthis.com/bookmark.php?wt=nw&url={link}&title={title}', 'addthis', 'scrollbars=yes,menubar=no,resizable=yes,toolbar=no,location=no,status=no,width=620,height=560,left=200,top=100'); return false;" title="addThis : {title}"><img src="{T_IMAGE_PATH}addthis.gif" alt="addThis" /></a> - </div> - </div> - </div> - <dl class="postprofile"> - <dt><b>{L_LINK} :</b><br/> <a href="{link}" title="{title}" ><span class="html"><xsl:value-of select="title" disable-output-escaping="yes"/></span></a><br/> - <b>{L_SOURCE} :</b><br/> <a href="{source/@url}" title="{source}"><img src="{T_IMAGE_PATH}feed-icon.png" alt="{L_2_LINK}" align="middle"/> <span class="html"><xsl:value-of select="source" disable-output-escaping="yes"/></span></a><br/> - <b>{L_LASTMOD_DATE} :</b><br/> <xsl:value-of select="pubDate" /> - </dt> - <dd> </dd> - </dl> - <div class="back2top"><a href="{$rss_link}#wrap" class="top" title="{L_BACK_TO_TOP}"></a>{L_BACK_TO_TOP} </div> - <span class="corners-bottom"><span></span></span> - </div> - </div> - <br/><hr class="divider" /> - </xsl:for-each> - </xsl:for-each> - </div> - </div> - -<div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000 - 2008 phpBB Group</div> -<!-- - We request you retain the full copyright notice below, as well as in all templates you may use, - including the link to www.phpbb-seo.com. - This not only gives respect to the large amount of time given freely by the developers - but also helps build interest, traffic and use of www.phpBB-SEO.com - If you cannot (for good reason) retain the full copyright we request you at least leave in place the - "Copyright phpBB SEO" line, with "phpBB SEO" linked to www.phpbb-seo.com. - If you refuse to include even this, then support and further development on our forums may be affected. - The phpBB SEO Team. ---> -<div class="copyright">{L_COPY} <a href="http://feedvalidator.org/check.cgi?url={$rss_link}"><img src="{T_IMAGE_PATH}rss-valid.gif" alt="{L_RSS_VALID}" title="{L_RSS_VALID}" /></a></div> -</body> -</html> -</xsl:template> -<!-- nl2br template for cleaner output, no brs in xml ! --> -<xsl:template name="nl2br"> - <xsl:param name="input" /> - <xsl:choose> - <xsl:when test="contains($input,'
')"> - <xsl:call-template name="nl2br"><xsl:with-param name="input" select="concat(substring-before($input,'
'), '<br>',substring-after($input,'
'))" /> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of disable-output-escaping="yes" select="$input" /> - </xsl:otherwise> - </xsl:choose> -</xsl:template> -</xsl:stylesheet> diff --git a/phpBB/styles/prosilver/template/gym_sitemaps/gym_rss_links.js b/phpBB/styles/prosilver/template/gym_sitemaps/gym_rss_links.js deleted file mode 100644 index 1c1107c44b..0000000000 --- a/phpBB/styles/prosilver/template/gym_sitemaps/gym_rss_links.js +++ /dev/null @@ -1,96 +0,0 @@ -/**
-* gym_rss_links.js Dom scrolling
-* Based on
-* DOMnews 1.0
-* homepage: http://www.onlinetools.org/tools/domnews/
-* released 11.07.05
-*/
-var dn_interval = 0;
-/* Initialise scroller when window loads */
-// check for DOM
-if(document.getElementById && document.createTextNode) {
- onload_functions.push('initDOMnews()');
- onunload_functions.push('clearInterval(dn_interval)');
-}
-var dn_scrollpos=dn_startpos;
-var dn_paused=false;
-var dn_els = '';
-var dn_inels = '';
-var dn_interval = '';
-/* Initialise scroller */
-function initDOMnews(reinit) {
- if(!dn_els) {
- dn_els = document.getElementById(dn_newsID);
- if(!dn_els){
- return;
- }
- dn_inels = document.getElementById(dn_newsID+'scrld');
- if(!dn_inels){
- return;
- }
- // Auto height for Gecko browsers
- if (document.defaultView) {
- dn_els.style.cssText = '';
- dn_inels.style.cssText = '';
- var real_endpos = document.defaultView.getComputedStyle(dn_els,"").getPropertyValue("height");
- real_endpos = parseInt(real_endpos.replace(/px/ig, ""));
- if (real_endpos) {
- dn_endpos = - real_endpos;
- }
- }
- }
- if (reinit) {
- dn_els.parentNode.removeChild(dn_els.nextSibling);
- clearInterval(dn_interval);
- }
- dn_els.style.cssText = 'width:100%;height:'+dn_startpos+'px;overflow:hidden;position:relative;';
- dn_inels.style.cssText = 'width:100%; position:relative; top:'+dn_startpos+'px;';
- dn_interval=setInterval('scrollDOMnews()',dn_speed);
- var newa=document.createElement('a');
- var newp=document.createElement('p');
- newp.setAttribute('id',dn_paraID);
- newa.href='#' + dn_newsID;
- newa.appendChild(document.createTextNode(dn_stopMessage));
- newa.onclick=stopDOMnews;
- newp.appendChild(newa);
- dn_els.parentNode.insertBefore(newp,dn_els.nextSibling);
- if (!dn_paused) {
- dn_inels.style.cssText = 'width:100%;position:absolute; top:'+dn_startpos+'px;';
- dn_els.style.cssText = 'width:100%;height:'+dn_startpos+'px;overflow:hidden;position:relative;';
- }
- dn_els.onmouseover=function() {
- clearInterval(dn_interval);
- }
- dn_els.onmouseout=function() {
- if (!dn_paused) {
- dn_interval=setInterval('scrollDOMnews()',dn_speed);
- }
- }
-}
-function ReinitDOMnews() {
- dn_paused= dn_paused ? false : true;
- initDOMnews(true);
-}
-function stopDOMnews() {
- dn_paused = true;
- clearInterval(dn_interval);
- dn_inels.style.cssText = 'width:100%;position:absolute;';
- dn_els.style.cssText = 'width:100%;height:'+dn_startpos+'px;overflow-y:auto;overflow-x:hidden;position:relative;';
- dn_els.parentNode.removeChild(dn_els.nextSibling);
- var newa=document.createElement('a');
- var newp=document.createElement('p');
- newp.setAttribute('id',dn_paraID);
- newa.href='#' + dn_newsID;
- newa.appendChild(document.createTextNode(dn_startMessage));
- newa.onclick=ReinitDOMnews;
- newp.appendChild(newa);
- dn_els.parentNode.insertBefore(newp,dn_els.nextSibling);
- return false;
-}
-function scrollDOMnews() {
- dn_inels.style.top=dn_scrollpos+'px';
- if(dn_scrollpos==dn_endpos) {
- dn_scrollpos=dn_startpos;
- }
- dn_scrollpos--;
-}
diff --git a/phpBB/styles/prosilver/template/gym_sitemaps/index_body.html b/phpBB/styles/prosilver/template/gym_sitemaps/index_body.html deleted file mode 100644 index 0a99645f4d..0000000000 --- a/phpBB/styles/prosilver/template/gym_sitemaps/index_body.html +++ /dev/null @@ -1,65 +0,0 @@ -<!-- INCLUDE overall_header.html --> - -<p class="{S_CONTENT_FLOW_END}<!-- IF S_REGISTERED_USER --> rightside<!-- ENDIF -->"><!-- IF S_REGISTERED_USER -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p> -<!-- IF U_MCP --><p>{CURRENT_TIME} <br />[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ELSEIF S_REGISTERED_USER --><p>{CURRENT_TIME}</p><!-- ENDIF --> - -<!-- IF S_DISPLAY_SEARCH or S_REGISTERED_USER --> -<ul class="linklist"> - <!-- IF S_DISPLAY_SEARCH --> - <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_REGISTERED_USER --> • <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> • <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li> - <!-- ENDIF --> - <!-- IF S_REGISTERED_USER and U_MARK_FORUMS --><li class="rightside"><a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF --> -</ul> -<!-- ENDIF --> - -<div style="width:99%"><div class="column1" style="width:<!-- IF RIGHT_COL -->73<!-- ELSE -->99<!-- ENDIF -->%;text-align:left">{LEFT_COL}</div> -<!-- IF RIGHT_COL --><div class="column2" style="width:25%;text-align:left">{RIGHT_COL}</div><!-- ENDIF --> -<div class="clear"> </div></div> -<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT --> - <form method="post" action="{S_LOGIN_ACTION}" class="headerspace"> - <h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> • <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3> - <fieldset class="quick-login"> - <label for="username">{L_USERNAME}:</label> <input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" /> - <label for="password">{L_PASSWORD}:</label> <input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" /> - <!-- IF S_AUTOLOGIN_ENABLED --> - | <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label> - <!-- ENDIF --> - <input type="submit" name="login" value="{L_LOGIN}" class="button2" /> - {S_LOGIN_REDIRECT} - </fieldset> - </form> -<br /><!-- ENDIF --> - -<!-- IF S_DISPLAY_ONLINE_LIST --> - <!-- IF not S_SINGLE_TRAKING --> - <!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF --> - <p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br /> - <!-- ELSE --> - <p> - <!-- ENDIF --> - {LOGGED_IN_USER_LIST} - <!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --><br /> <br /></p> - -<!-- ENDIF --> - -<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST --> - <h3>{L_BIRTHDAYS}</h3> - <p>{L_CONGRATULATIONS}: <strong>{BIRTHDAY_LIST}</strong></p> -<!-- ENDIF --> - -<!-- IF TOTAL_USERS --> - <h3>{L_STATISTICS}</h3> - <p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS}<!-- IF NEWEST_USER --> • {NEWEST_USER}<!-- ENDIF --></p> -<!-- ENDIF --> -<!-- - We request you retain the full copyright notice below, as well as in all templates you may use, - including the link to www.phpbb-seo.com. - This not only gives respect to the large amount of time given freely by the developers - but also helps build interest, traffic and use of www.phpBB-SEO.com - If you cannot (for good reason) retain the full copyright we request you at least leave in place the - "Copyright phpBB SEO" line, with "phpBB SEO" linked to www.phpbb-seo.com. - If you refuse to include even this, then support and further development on our forums may be affected. - The phpBB SEO Team : 2008. ---> -<div class="copyright"><a href="http://www.phpbb-seo.com/{S_SEO_FORUM}" title="{L_FORUM} - {L_GYM_SEO}">GYM sitemaps & RSS</a></div> -<!-- INCLUDE overall_footer.html --> diff --git a/phpBB/styles/prosilver/template/gym_sitemaps/index_list.html b/phpBB/styles/prosilver/template/gym_sitemaps/index_list.html deleted file mode 100644 index 6aa39f7c2c..0000000000 --- a/phpBB/styles/prosilver/template/gym_sitemaps/index_list.html +++ /dev/null @@ -1,56 +0,0 @@ -<h2><!-- IF HTML_NEWS_URL --><a href="{HTML_NEWS_URL}" title="{HTML_NEWS_TITLE}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {HTML_NEWS_TITLE}</a> <!-- ENDIF --><!-- IF HTML_URL --><strong>»</strong> <a href="{HTML_URL}" title="{HTML_SITENAME}">{HTML_SITENAME}</a><!-- ENDIF --></h2> -<!-- IF HTML_SITEDESC --><span>{HTML_SITEDESC}<br /></span><!-- ENDIF --> -<!-- BEGIN module --> - <h3><!-- IF module.NEWS_URL --><a href="{module.NEWS_URL}" title="{module.NEWS_TITLE}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {module.NEWS_TITLE}</a><!-- ENDIF --><!-- IF module.MAP_URL --> <strong>»</strong> <a href="{module.MAP_URL}" title="{module.MAP_TITLE}">{module.MAP_TITLE}</a><br /><!-- ENDIF --></h3> -<span>{module.DESC}<br /></span><br /> - <div class="forabg" style="width:100%"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="topiclist"> - <li class="header"> - <dl> - <dt style="width:64%;"><!-- IF module.NEWS_URL --><a href="{module.NEWS_URL}" title="{module.NEWS_TITLE}">{module.NEWS_TITLE}</a> <!-- ENDIF --> - <!-- IF module.MAP_URL --> <strong>»</strong> <a href="{module.MAP_URL}" title="{module.MAP_TITLE}">{module.MAP_TITLE}</a><br /><!-- ENDIF --></dt> - </dl> - </li> - </ul> - <ul class="topiclist forums"> - <!-- BEGIN links --> - <li class="row<!-- IF module.links.S_ROW_COUNT is odd --> bg2<!-- ENDIF -->" style="padding:10px;"> - <!-- IF module.links.NEWS_URL or module.links.MAP_URL --> - <h4 class="column1" style="position:relative;"> - <!-- IF module.links.NEWS_URL --> - <a href="{module.links.NEWS_URL}" title="{module.links.NEWS_TITLE}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {module.links.NEWS_TITLE}</a> - <!-- ELSE --> - <a href="{module.links.MAP_URL}" title="{module.links.MAP_TITLE}"> <strong>»</strong> {module.links.MAP_TITLE}</a> - <!-- ENDIF --> - </h4> - <!-- ENDIF --> - <!-- IF module.links.NEWS_URL and module.links.MAP_URL --> - <h4 class="column2" style="position:relative;"> - <a href="{module.links.MAP_URL}" title="{module.links.MAP_TITLE}"> <strong>»</strong> {module.links.MAP_TITLE}</a> - </h4> - <!-- ENDIF --> - <div class="clear"> </div> - </li> - <!-- END links --> - </ul> - <span class="corners-bottom"><span></span></span></div> - </div> -<!-- BEGINELSE --> -<div class="forabg"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="topiclist"> - <li class="header"> - <dl class="icon"> - <dt style="width:64%;"><a href="{HTML_URL}" title="{HTML_SITENAME}">{HTML_SITENAME}</a></dt> - </dl> - </li> - </ul> - <div class="panel"> - <div class="inner"><span class="corners-top"><span></span></span> - <p>{L_HTML_MAP_NONE}</p> - <span class="corners-bottom"><span></span></span></div> - </div> - <span class="corners-bottom"><span></span></span></div> -</div> -<!-- END module --> diff --git a/phpBB/styles/prosilver/template/gym_sitemaps/last_topics_list.html b/phpBB/styles/prosilver/template/gym_sitemaps/last_topics_list.html deleted file mode 100644 index d59e2f66d4..0000000000 --- a/phpBB/styles/prosilver/template/gym_sitemaps/last_topics_list.html +++ /dev/null @@ -1,30 +0,0 @@ -<br/><h2>{LASTX_TOPICS_TITLE}</h2>
-<br/>
- <div class="forabg" style="width:100%">
- <div class="inner">
- <span class="corners-top"><span></span></span>
- <!-- BEGIN last_forums -->
- <ul class="topiclist">
- <li class="header">
- <dl>
- <dt style="width:85%"><a href="{last_forums.U_VIEWFORUM}" title="{last_forums.FORUM_NAME}" class="forumtitle">{last_forums.FORUM_NAME}</a></dt>
- </dl>
- </li>
- </ul>
- <ul class="topiclist topics">
- <!-- BEGIN last_topics -->
- <li class="row<!-- IF last_forums.last_topics.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF last_forums.last_topics.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF last_forums.last_topics.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF last_forums.last_topics.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
- <dl class="icon" style="background-image: url({last_forums.last_topics.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
- <dt class="column1"<!-- IF last_forums.last_topics.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{last_forums.last_topics.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{last_forums.last_topics.TOPIC_FOLDER_IMG_ALT}" style="width:63%;text-align:left;padding-top:2px;">
- <!-- IF last_forums.last_topics.S_UNREAD_TOPIC --><a href="{last_forums.last_topics.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{last_forums.last_topics.U_VIEW_TOPIC}">{last_forums.last_topics.TOPIC_TITLE}</a><br/>
- <!-- IF last_forums.last_topics.PAGINATION --><br/><strong class="pagination"><span>{last_forums.last_topics.PAGINATION}</span></strong><!-- ELSE --><br/><!-- ENDIF -->
- </dt>
- <dd class="column2" style="width:1%;"><a href="{last_forums.last_topics.U_LAST_POST}">{LAST_POST_IMG}</a></dd>
- </dl>
- </li>
- <!-- END last_topics -->
- </ul>
- <!-- END last_forums -->
- <span class="corners-bottom"><span></span></span>
- </div>
- </div>
diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html index 02b30e1673..4da1308e14 100644 --- a/phpBB/styles/prosilver/template/overall_footer.html +++ b/phpBB/styles/prosilver/template/overall_footer.html @@ -5,7 +5,7 @@ <div class="navbar"> <div class="inner"><span class="corners-top"><span></span></span> - <ul class="linklist<!-- IF GYM_LINKS --> navlinks<!-- ENDIF -->"> + <ul class="linklist"> <li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li> <!-- IF not S_IS_BOT --> <!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF --> @@ -15,15 +15,7 @@ <!-- ENDIF --> <li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> • <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> • <!-- ENDIF -->{S_TIMEZONE}</li> </ul> - <!-- IF GYM_LINKS --> - <ul class="linklist"> - <!-- IF GYM_HTML_NEWS_LINK --><li class="leftside">{GYM_HTML_NEWS_LINK}</li><!-- ENDIF --> - <!-- IF GYM_HTML_MAP_LINK --><li class="leftside">{GYM_HTML_MAP_LINK}</li><!-- ENDIF --> - <!-- IF GYM_GOOGLE_LINK --><li class="leftside">{GYM_GOOGLE_LINK}</li><!-- ENDIF --> - <!-- IF GYM_RSS_LINK --><li class="leftside">{GYM_RSS_LINK}</li><!-- ENDIF --> - <!-- IF GYM_RSS_CHAN_LINK --><li class="leftside">{GYM_RSS_CHAN_LINK}</li><!-- ENDIF --> - </ul> - <!-- ENDIF --> + <span class="corners-bottom"><span></span></span></div> </div> diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html index a3ea7ca52b..44857dbc41 100644 --- a/phpBB/styles/prosilver/template/overall_header.html +++ b/phpBB/styles/prosilver/template/overall_header.html @@ -1,19 +1,20 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> <head> -{SEO_BASE_HREF} -<!-- IF SEO_CANONICAL_URL --><link rel="canonical" href="{SEO_CANONICAL_URL}" /><!-- ENDIF --> + <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> -<title>{PAGE_TITLE}<!-- IF S_IN_MCP --> • {L_MCP}<!-- ELSEIF S_IN_UCP --> • {L_UCP}<!-- ENDIF --></title> <meta http-equiv="content-style-type" content="text/css" /> <meta http-equiv="content-language" content="{S_USER_LANG}" /> <meta http-equiv="imagetoolbar" content="no" /> -{META_TAG} +<meta name="resource-type" content="document" /> +<meta name="distribution" content="global" /> +<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" /> +<meta name="keywords" content="" /> +<meta name="description" content="" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9" /> {META} -<!-- BEGIN gym_rsslinks --> -<link rel="alternate" type="application/rss+xml" title="{gym_rsslinks.TITLE}" href="{gym_rsslinks.URL}" /> -<!-- END gym_rsslinks --> +<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title> + <!-- IF S_ENABLE_FEEDS --> <!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF --> <!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF --> @@ -45,15 +46,6 @@ var style_cookie_settings = '{A_COOKIE_SETTINGS}'; var onload_functions = new Array(); var onunload_functions = new Array(); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - var seo_delim_start = '{SEO_START_DELIM}'; - var seo_static_pagination = '{SEO_SATIC_PAGE}'; - var seo_ext_pagination = '{SEO_EXT_PAGE}'; - var seo_external = {SEO_EXTERNAL}; - var seo_external_sub = {SEO_EXTERNAL_SUB}; - var seo_ext_classes = {SEO_EXT_CLASSES}; - var seo_hashfix = {SEO_HASHFIX}; - // www.phpBB-SEO.com SEO TOOLKIT END <!-- IF S_USER_PM_POPUP --> if ({S_NEW_PM}) diff --git a/phpBB/styles/prosilver/template/posting_editor.html b/phpBB/styles/prosilver/template/posting_editor.html index c3a7672797..5f7fb8408e 100644 --- a/phpBB/styles/prosilver/template/posting_editor.html +++ b/phpBB/styles/prosilver/template/posting_editor.html @@ -105,12 +105,6 @@ <dt><label for="subject">{L_SUBJECT}:</label></dt> <dd><input type="text" name="subject" id="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}{DRAFT_SUBJECT}" class="inputbox autowidth" /></dd> </dl> - <!-- IF S_URL --> - <dl style="clear: left;"> - <dt><label for="url">URL:</label></dt> - <dd><input type="text" name="url" id="url" size="45" maxlength="250" tabindex="2" value="{TOPIC_URL}" class="inputbox autowidth" /></dd> - </dl> - <!-- ENDIF --> <!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE --> <!-- DEFINE $CAPTCHA_TAB_INDEX = 3 --> <!-- INCLUDE {CAPTCHA_TEMPLATE} --> diff --git a/phpBB/styles/prosilver/template/search_body.html b/phpBB/styles/prosilver/template/search_body.html index 2116369b5b..6616b95a73 100644 --- a/phpBB/styles/prosilver/template/search_body.html +++ b/phpBB/styles/prosilver/template/search_body.html @@ -125,4 +125,4 @@ </div> <!-- ENDIF --> -<!-- INCLUDE overall_footer.html -->
\ No newline at end of file +<!-- INCLUDE overall_footer.html --> diff --git a/phpBB/styles/prosilver/template/simple_header.html b/phpBB/styles/prosilver/template/simple_header.html index c44dd2f4e5..0e2409586c 100644 --- a/phpBB/styles/prosilver/template/simple_header.html +++ b/phpBB/styles/prosilver/template/simple_header.html @@ -1,7 +1,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> <head> -{SEO_BASE_HREF} + <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> <meta http-equiv="content-style-type" content="text/css" /> <meta http-equiv="content-language" content="{S_USER_LANG}" /> @@ -25,15 +25,6 @@ var onload_functions = new Array(); var onunload_functions = new Array(); var style_cookie_settings = '{A_COOKIE_SETTINGS}'; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - var seo_delim_start = '{SEO_START_DELIM}'; - var seo_static_pagination = '{SEO_SATIC_PAGE}'; - var seo_ext_pagination = '{SEO_EXT_PAGE}'; - var seo_external = {SEO_EXTERNAL}; - var seo_external_sub = {SEO_EXTERNAL_SUB}; - var seo_ext_classes = {SEO_EXT_CLASSES}; - var seo_hashfix = {SEO_HASHFIX}; - // www.phpBB-SEO.com SEO TOOLKIT END /** * New function for handling multiple calls to window.onload and window.unload by pentapenguin diff --git a/phpBB/styles/prosilver/template/viewforum_body.html b/phpBB/styles/prosilver/template/viewforum_body.html index f8d63b5324..12073a39d2 100644 --- a/phpBB/styles/prosilver/template/viewforum_body.html +++ b/phpBB/styles/prosilver/template/viewforum_body.html @@ -1,7 +1,7 @@ <!-- INCLUDE overall_header.html --> <!-- IF U_MCP --><p>[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ENDIF --> <h2><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2> -<!-- IF GYM_LINKS_CAT --><h3>{GYM_HTML_FORUM_NEWS_LINK} {GYM_HTML_FORUM_MAP_LINK} {GYM_RSS_FORUM_LINK} {GYM_GOOGLE_FORUM_LINK}</h3><!-- ENDIF --> + <!-- IF FORUM_DESC or MODERATORS or U_MCP --> <div> <!-- NOTE: remove the style="display: none" when you want to have the forum description on the forum body --> @@ -148,7 +148,7 @@ <dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd> <dd class="views">{topicrow.VIEWS} <dfn>{L_VIEWS}</dfn></dd> <dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} - <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{topicrow.LAST_POST_TIME}</span> + <!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{topicrow.LAST_POST_TIME}</span> </dd> </dl> </li> @@ -216,4 +216,4 @@ <p><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></p> <!-- ENDIF --> -<!-- INCLUDE overall_footer.html --> +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index e368f9e8d0..24c57b9a7e 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -135,7 +135,7 @@ <!-- ENDIF --> <!-- ENDIF --> - <h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{U_VIEW_TOPIC}#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3> + <h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3> <p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> » {postrow.POST_DATE} </p> <!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED --> @@ -215,7 +215,7 @@ </dl> <!-- ENDIF --> - <div class="back2top"><a href="{U_VIEW_TOPIC}#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div> + <div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div> <span class="corners-bottom"><span></span></span></div> </div> @@ -266,42 +266,7 @@ </fieldset> </form> <!-- ENDIF --> -<!-- IF S_RELATED_RESULTS --><div class="clear"> </div><br /><br /> -<div class="forumbg"> - <div class="inner"><span class="corners-top"><span></span></span> - <ul class="topiclist"> - <li class="header"> - <dl class="icon"> - <dt>{L_RELATED_TOPICS}</dt> - <dd class="posts">{L_REPLIES}</dd> - <dd class="views">{L_VIEWS}</dd> - <dd class="lastpost"><span>{L_LAST_POST}</span></dd> - </dl> - </li> - </ul> - - <ul class="topiclist forums"> - <!-- BEGIN related --> - <li class="row bg1<!-- IF related.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF related.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF related.S_TOPIC_REPORTED --> reported<!-- ENDIF -->"> - <dl class="icon" style="background-image: url({related.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;"> - <dt <!-- IF related.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{related.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->><!-- IF related.S_UNREAD_TOPIC --><a href="{related.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a class="topictitle" href="{related.U_TOPIC}" title="{related.TOPIC_TITLE} : {related.FORUM}">{related.TOPIC_TITLE}</a> - <!-- IF related.S_TOPIC_UNAPPROVED --><a href="{related.U_MCP_QUEUE}">{UNAPPROVED_IMG}</a> <!-- ENDIF --> - <!-- IF related.S_TOPIC_REPORTED --><a href="{related.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br /> - <!-- IF related.PAGINATION --><strong class="pagination"><span>{related.PAGINATION}</span></strong><!-- ENDIF --> - <!-- IF related.ATTACH_ICON_IMG -->{related.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {related.TOPIC_AUTHOR_FULL} » {related.FIRST_POST_TIME} - </dt> - <dd class="posts">{related.REPLIES} <dfn>{L_REPLIES}</dfn></dd> - <dd class="views">{related.VIEWS} <dfn>{L_VIEWS}</dfn></dd> - <dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {related.LAST_POST_AUTHOR_FULL} - <a href="{related.U_LAST_POST}">{LAST_POST_IMG}</a><br />{related.LAST_POST_TIME} - <!-- IF related.U_FORUM and not related.S_POST_GLOBAL --><br /><a class="topictitle" href="{related.U_FORUM}" title="{related.FORUM}">{related.FORUM}</a><!-- ENDIF --></span></dd> - </dl> - </li> - <!-- END related --> - </ul> - <span class="corners-bottom"><span></span></span></div> -</div> -<!-- ENDIF --> + <!-- IF S_DISPLAY_ONLINE_LIST --> <h3><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></h3> <p>{LOGGED_IN_USER_LIST}</p> diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index 5666493e3b..a86f723f81 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -630,26 +630,3 @@ p.rules a { line-height: 1px; background: transparent; } -/* GYM Sitemaps & RSS - www.phpbb-seo.com */ -div.gymsublist { - display:block; - position:relative; - padding-left:10px; - padding-top:5px; - padding-bottom:10px; - padding-right:0; - margin:0; -} -div.gymsublist ul { - display:block; - position:relative; - height:1%; - padding-left:30px; -} -div.gymsublist ul li { - display:block; - position:relative; - line-height:18px; - font-size:11px; -} -/* GYM Sitemaps & RSS - www.phpbb-seo.com */ diff --git a/phpBB/styles/prosilver/theme/gym_google.css b/phpBB/styles/prosilver/theme/gym_google.css deleted file mode 100644 index 80a32391a1..0000000000 --- a/phpBB/styles/prosilver/theme/gym_google.css +++ /dev/null @@ -1,1547 +0,0 @@ -/* phpBB 3.0 Style Sheet - -------------------------------------------------------------- - Style name: proSilver - Based on style: proSilver (this is the default phpBB 3 style) - Original author: subBlue ( http://www.subBlue.com/ ) - Modified by: dcz phpBB SEO ( www.phpbb-seo.com ) - - Copyright 2006 phpBB Group ( http://www.phpbb.com/ ) - -------------------------------------------------------------- -*/ - -/* General proSilver Markup Styles ----------------------------------------- */ - -* {/* Reset browsers default margin, padding and font sizes */ - margin: 0; - padding: 0; -} -html { font-size: 100%; - /* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */ - height: 100%; - margin-bottom: 1px; -} -body { /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */ - font-family: Verdana, Helvetica, Arial, sans-serif; - color: #828282; - background-color: #FFFFFF; - /*font-size: 62.5%; This sets the default font size to be equivalent to 10px */ - font-size: 10px; - margin: 10px; - padding: 12px 0; -} -h1 { /* Forum name */ - font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; - margin-right: 200px; - color: #FFFFFF; - margin-top: 15px; - font-weight: bold; - font-size: 2em; -} -h2 { /* Forum header titles */ - font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; - font-weight: normal; - color: #3f3f3f; - font-size: 2em; - margin: 0.8em 0 0.2em 0; -} -h2.solo { margin-bottom: 1em; } - -h3 { /* Sub-headers (also used as post headers, but defined later) */ - font-family: Arial, Helvetica, sans-serif; - font-weight: bold; - text-transform: uppercase; - border-bottom: 1px solid #CCCCCC; - margin-bottom: 3px; - padding-bottom: 2px; - font-size: 1.05em; - color: #989898; - margin-top: 20px; -} -h4 { /* Forum and topic list titles */ - font-family: "Trebuchet MS", Verdana, Helvetica, Arial, Sans-serif; - font-size: 1.3em; -} -h5 { font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; - float: right; - font-weight:bold; - font-size:16px; - color:#707070; - margin-top:1px; -} -p { line-height: 1.3em; - font-size: 1.1em; - margin-bottom: 1.5em; -} - -img { - border-width: 0; -} - -hr { /* Also see tweaks.css */ - border: 0 none #FFFFFF; - border-top: 1px solid #CCCCCC; - height: 1px; - margin: 5px 0; - display: block; - clear: both; -} -hr.dashed { border-top: 1px dashed #CCCCCC; - margin: 10px 0; -} -hr.divider { display: none;} -p.right { text-align: right;} - -/* Main blocks ----------------------------------------- */ -#simple-wrap { padding: 6px 10px; } -#page-body { margin: 4px 0; - clear: both; -} -#page-footer { clear: both; -} -#page-footer h3 { margin-top: 20px; -} -#logo { float: left; - width: auto; - padding: 10px 13px 0 10px; -} -a#logo:hover { text-decoration: none;} -/* Search box ---------------------------------------------- */ -#search-box { color: #FFFFFF; - position: relative; - margin-top: 30px; - margin-right: 5px; - display: block; - float: right; - text-align: right; - white-space: nowrap; /* For Opera */ -} -#search-box #keywords { width: 95px; - background-color: #FFF; -} -#search-box input { border: 1px solid #b0b0b0; -} -/* .button1 style defined later, just a few tweaks for the search button version */ -#search-box input.button1 { padding: 1px 5px;} -#search-box li { text-align: right; - margin-top: 4px; -} -#search-box img { - vertical-align: middle; - margin-right: 3px; -} -/* Site description and logo */ -#site-description { float: left; - width: 70%; -} - -#site-description h1 { margin-right: 0;} - -/* Round cornered boxes and backgrounds ----------------------------------------- */ -.headerbar { background: #ebebeb none repeat-x 0 0; - color: #FFFFFF; - margin-bottom: 4px; - padding: 0 5px; -} -.navbar { background-color: #ebebeb; - padding: 0 10px; -} -.forabg { background: #b1b1b1 none repeat-x 0 0; - margin-bottom: 4px; - padding: 0 5px; - clear: both; -} -.forumbg { background: #ebebeb none repeat-x 0 0; - margin-bottom: 4px; - padding: 0 5px; - clear: both; -} -.panel { margin-bottom: 4px; - padding: 0 10px; - background-color: #f3f3f3; - color: #3f3f3f; -} -.post { padding: 0 10px; - margin-bottom: 4px; - background-repeat: no-repeat; - background-position: 100% 0; -} -.post:target .content { color: #000000;} -.post:target h3 a { color: #000000;} -.bg1 { background-color: #f7f7f7;} -.bg2 { background-color: #f2f2f2; } -.bg3 { background-color: #ebebeb; } -.rowbg { margin: 5px 5px 2px 5px;} -.ucprowbg { background-color: #e2e2e2; } -.fieldsbg { /*border: 1px #DBDEE2 solid;*/ - background-color: #eaeaea; -} -span.corners-top, span.corners-bottom, span.corners-top span, span.corners-bottom span { - font-size: 1px; - line-height: 1px; - display: block; - height: 5px; - background-repeat: no-repeat; -} -span.corners-top { background-image: none; - background-position: 0 0; - margin: 0 -5px; -} -span.corners-top span { background-image: none; - background-position: 100% 0; -} -span.corners-bottom { background-image: none; - background-position: 0 100%; - margin: 0 -5px; - clear: both; -} -span.corners-bottom span { background-image: none;; - background-position: 100% 100%; -} -.headbg span.corners-bottom { margin-bottom: -1px; } -.post span.corners-top, .post span.corners-bottom, .panel span.corners-top, .panel span.corners-bottom, .navbar span.corners-top, .navbar span.corners-bottom { margin: 0 -10px; } -.rules span.corners-top { margin: 0 -10px 5px -10px;} -.rules span.corners-bottom { margin: 5px -10px 0 -10px;} -/* Horizontal lists -----------------------------------------*/ -ul.linklist { display: block; - margin: 0; -} -ul.linklist li { display: block; - list-style-type: none; - float: left; - width: auto; - margin-right: 5px; - font-size: 1.1em; - line-height: 2.2em; -} -ul.linklist li.rightside, p.rightside { float: right; - margin-right: 0; - margin-left: 5px; - text-align: right; -} -ul.navlinks { padding-bottom: 1px; - margin-bottom: 1px; - border-bottom: 1px solid #FFFFFF; - font-weight: bold; -} -ul.leftside { float: left; - margin-left: 0; - margin-right: 5px; - text-align: left; -} -ul.rightside { float: right; - margin-left: 5px; - margin-right: -5px; - text-align: right; -} -/* Misc layout styles ----------------------------------------- */ -dl.details { - /*font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;*/ - font-size: 1.1em; -} -dl.details dt { - float: left; - clear: left; - width: 15em; - text-align: right; - color: #000000; - display: block; -} -dl.details dd { - margin-left: 0; - padding-left: 5px; - margin-bottom: 5px; - color: #828282; - float: left; -} -/* Miscellaneous styles ----------------------------------------- */ -.copyright { padding: 5px; - text-align: center; - color: #555555; -} -div.rules { - background-color: #ececec; - color: #bcbcbc; - padding: 0 10px; - margin: 10px 0; - font-size: 1.1em; -} -div.rules ul { margin-left: 20px; } -p.rules { background-color: #ececec; - background-image: none; - padding: 5px; -} -p.rules img { vertical-align: middle; } -p.rules a { vertical-align: middle; - clear: both; -} -#top { position: absolute; - top: -20px; -} -/* proSilver Link Styles ----------------------------------------- */ -a:link { color: #898989; text-decoration: none; } -a:visited { color: #898989; text-decoration: none; } -a:hover { color: #d3d3d3; text-decoration: underline; } -a:active { color: #d2d2d2; text-decoration: none; } -/* Links on gradient backgrounds */ -#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link { - color: #FFFFFF; - text-decoration: none; -} -#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited { - color: #FFFFFF; - text-decoration: none; -} -#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover { - color: #ffffff; - text-decoration: underline; -} -#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active { - color: #ffffff; - text-decoration: none; -} -/* Links for forum/topic lists */ -a.forumtitle { font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif; - font-size: 1.2em; - font-weight: bold; - color: #898989; - text-decoration: none; -} -/* a.forumtitle:visited { color: #898989; } */ -a.forumtitle:hover { color: #bcbcbc; - text-decoration: underline; -} -a.forumtitle:active { color: #898989; } -a.topictitle { font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif; - font-size: 1.2em; - font-weight: bold; - color: #898989; - text-decoration: none; -} -/* a.topictitle:visited { color: #d2d2d2; } */ -a.topictitle:hover { color: #bcbcbc; - text-decoration: underline; -} -a.topictitle:active { - color: #898989; -} -/* Post body links */ -.postlink { text-decoration: none; - color: #d2d2d2; - border-bottom: 1px solid #d2d2d2; - padding-bottom: 0; -} -.postlink:visited { color: #bdbdbd; - border-bottom-style: dotted; - border-bottom-color: #666666; -} -.postlink:active { color: #d2d2d2; } -.postlink:hover { background-color: #f6f6f6; - text-decoration: none; - color: #404040; -} -.signature a, .signature a:visited, .signature a:active, .signature a:hover { - border: none; - text-decoration: underline; - background-color: transparent; -} -/* Profile links */ -.postprofile a:link, .postprofile a:active, .postprofile a:visited, .postprofile dt.author a { font-weight: bold; - color: #898989; - text-decoration: none; -} -.postprofile a:hover, .postprofile dt.author a:hover { text-decoration: underline; - color: #d3d3d3; -} -/* Profile searchresults */ -.search .postprofile a { color: #898989; - text-decoration: none; - font-weight: normal; -} -.search .postprofile a:hover { color: #d3d3d3; - text-decoration: underline; -} -/* Back to top of page */ -.back2top { clear: both; - height: 11px; - text-align: right; -} -a.top { background: none no-repeat top left; - text-decoration: none; - width: 11px; - height: 11px; - display: block; - float: right; - overflow: hidden; - letter-spacing: 1000px; - text-indent: 11px; -} -a.top2 { - background: none no-repeat 0 50%; - text-decoration: none; - padding-left: 15px; -} -/* Arrow links */ -a.up { background: none no-repeat left center; } -a.down { background: none no-repeat right center; } -a.left { background: none no-repeat 3px 60%; } -a.right { background: none no-repeat 95% 60%; } -a.up, a.up:link, a.up:active, a.up:visited { padding-left: 10px; - text-decoration: none; - border-bottom-width: 0; -} -a.up:hover { background-position: left top; - background-color: transparent; -} -a.down, a.down:link, a.down:active, a.down:visited { padding-right: 10px; } -a.down:hover { background-position: right bottom; - text-decoration: none; -} -a.left, a.left:active, a.left:visited { padding-left: 12px; } -a.left:hover { color: #d2d2d2; - text-decoration: none; - background-position: 0 60%; -} -a.right, a.right:active, a.right:visited { padding-right: 12px;} -a.right:hover { color: #d2d2d2; - text-decoration: none; - background-position: 100% 60%; -} -/* proSilver Content Styles ----------------------------------------- */ -ul.topiclist { display: block; - list-style-type: none; - margin: 0; -} -ul.forums { background: #f9f9f9 none repeat-x 0 0; -} -ul.topiclist li { display: block; - list-style-type: none; - color: #777777; - margin: 0; -} -ul.topiclist dl { position: relative;} -ul.topiclist li.row dl {padding: 2px 0;} -ul.topiclist dt {display: block; - float: left; - width: 50%; - font-size: 1.1em; - padding-left: 5px; - padding-right: 5px; -} -ul.topiclist dd { display: block; - float: left; - border-left: 1px solid #FFFFFF; - padding: 4px 0; -} -ul.topiclist dfn { /* Labels for post/view counts */ - display: none; -} - -ul.topiclist li.row dt a.subforum { background-image: none; - background-position: 0 50%; - background-repeat: no-repeat; - position: relative; - white-space: nowrap; - padding: 0 0 0 12px; -} -.forum-image { float: left; - padding-top: 5px; - margin-right: 5px; -} -li.row { border-top: 1px solid #FFFFFF; - border-bottom: 1px solid #8f8f8f; -} -li.row strong { font-weight: normal; - color: #000000; -} -li.row:hover { background-color: #f6f6f6; -} -li.row:hover dd { border-left-color: #CCCCCC; -} -li.header dt, li.header dd { line-height: 1em; - border-left-width: 0; - margin: 2px 0 4px 0; - color: #FFFFFF; - padding-top: 2px; - padding-bottom: 2px; - font-size: 1em; - font-family: Arial, Helvetica, sans-serif; - text-transform: uppercase; -} -li.header dt { font-weight: bold;} -li.header dd { margin-left: 1px;} -li.header dl.icon { min-height: 0;} -li.header dl.icon dt { /* Tweak for headers alignment when folder icon used */ - padding-left: 0; - padding-right: 44px; -} -/* Forum list column styles */ -dl.icon { min-height: 35px; - background-position: 10px 50%; /* Position of folder icon */ - background-repeat: no-repeat; -} -dl.icon dt { padding-left: 45px; /* Space for folder icon */ - background-repeat: no-repeat; - background-position: 5px 95%; /* Position of topic icon */ -} -dd.posts, dd.topics, dd.views { width: 8%; - text-align: center; - line-height: 2.2em; - font-size: 1.2em; -} -dd.lastpost { width: 25%; - font-size: 1.1em; -} -dd.redirect { font-size: 1.1em; - line-height: 2.5em; -} -dd.moderation { font-size: 1.1em; } -dd.lastpost span, ul.topiclist dd.searchby span, ul.topiclist dd.info span, ul.topiclist dd.time span, dd.redirect span, dd.moderation span { display: block; - padding-left: 5px; -} -dd.time { width: auto; - line-height: 200%; - font-size: 1.1em; -} -dd.extra { width: 65px; - line-height: 200%; - text-align: center; - font-size: 1.1em; -} -dd.mark { float: right !important; - width: 9%; - text-align: center; - line-height: 200%; - font-size: 1.2em; -} -dd.info { width: 30%; } -dd.option { width: 15%; - line-height: 200%; - text-align: center; - font-size: 1.1em; -} -dd.searchby { width: 47%; - font-size: 1.1em; - line-height: 1em; -} -ul.topiclist dd.searchextra { margin-left: 5px; - padding: 0.2em 0; - font-size: 1.1em; - color: #333333; - border-left: none; - clear: both; - width: 98%; - overflow: hidden; -} -/* Container for post/reply buttons and pagination */ -.topic-actions { margin-bottom: 3px; - font-size: 1.1em; - height: 28px; - min-height: 28px; -} -div[class].topic-actions { height: auto; } -/* Post body styles -----------------------------------------*/ -.postbody { padding: 0; - line-height: 1.48em; - color: #333333; - width: 76%; - float: left; - clear: both; -} -.postbody .ignore { font-size: 1.1em; } -.postbody h3.first { /* The first post on the page uses this */ - font-size: 1.7em; -} -.postbody h3 { /* Postbody requires a different h3 format - so change it here */ - font-size: 1.5em; - padding: 2px 0 0 0; - margin: 0 0 0.3em 0 !important; - text-transform: none; - border: none; - font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; - line-height: 125%; -} -.postbody h3 img { /* Also see tweaks.css */ - vertical-align: bottom; -} -.postbody .content { font-size: 1.3em; } -.search .postbody { width: 68% } -/* Content container styles -----------------------------------------*/ -.content { min-height: 3em; - overflow: hidden; - line-height: 1.4em; - font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; - font-size: 1em; - color: #333333; -} -.content h2, .panel h2 { font-weight: normal; - color: #989898; - border-bottom: 1px solid #CCCCCC; - font-size: 1.6em; - margin-top: 0.5em; - margin-bottom: 0.5em; - padding-bottom: 0.5em; -} -.panel h3 { margin: 0.5em 0; } -.panel p { font-size: 1.2em; - margin-bottom: 1em; - line-height: 1.4em; -} -.content p { font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; - font-size: 1.2em; - margin-bottom: 1em; - line-height: 1.4em; -} -dl.faq { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; - font-size: 1.1em; - margin-top: 1em; - margin-bottom: 2em; - line-height: 1.4em; -} -dl.faq dt { font-weight: bold; - color: #333333; -} -.content dl.faq { font-size: 1.2em; - margin-bottom: 0.5em; -} -.content li { list-style-type: inherit; } -.content ul, .content ol { margin-bottom: 1em; - margin-left: 3em; -} -.announce, .unreadpost { - /* Highlight the announcements & unread posts box */ - border-left-color: #BCBCBC; - border-right-color: #BCBCBC; -} -/* Post author */ -p.author { margin: 0 15em 0.6em 0; - padding: 0 0 5px 0; - font-family: Verdana, Helvetica, Arial, sans-serif; - font-size: 1em; - line-height: 1.2em; -} -/* Post signature */ -.signature { margin-top: 1.5em; - padding-top: 0.2em; - font-size: 1.1em; - border-top: 1px solid #CCCCCC; - clear: left; - line-height: 140%; - overflow: hidden; - width: 100%; -} -dd .signature { margin: 0; - padding: 0; - clear: none; - border: none; -} -/* Post noticies */ -.notice { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; - width: auto; - margin-top: 1.5em; - padding-top: 0.2em; - font-size: 1em; - border-top: 1px dashed #CCCCCC; - clear: left; - line-height: 130%; -} -/* Jump to post link for now */ -ul.searchresults { - list-style: none; - text-align: right; - clear: both; -} -/* BB Code styles -----------------------------------------*/ -/* Quote block */ -blockquote { - background: #ebebeb none 6px 8px no-repeat; - border: 1px solid #dbdbdb; - font-size: 0.95em; - margin: 0.5em 1px 0 25px; - overflow: hidden; - padding: 5px; -} -blockquote blockquote { /* Nested quotes */ - background-color: #bababa; - font-size: 1em; - margin: 0.5em 1px 0 15px; -} -blockquote blockquote blockquote { /* Nested quotes */ - background-color: #e4e4e4; -} -blockquote cite { /* Username/source of quoter */ - font-style: normal; - font-weight: bold; - margin-left: 20px; - display: block; - font-size: 0.9em; -} -blockquote cite cite { font-size: 1em; } -blockquote.uncited { padding-top: 25px; } -/* Code block */ -dl.codebox { - padding: 3px; - background-color: #FFFFFF; - border: 1px solid #d8d8d8; - font-size: 1em; -} -dl.codebox dt { text-transform: uppercase; - border-bottom: 1px solid #CCCCCC; - margin-bottom: 3px; - font-size: 0.8em; - font-weight: bold; - display: block; -} -blockquote dl.codebox { margin-left: 0; } -dl.codebox code { /* Also see tweaks.css */ - overflow: auto; - display: block; - height: auto; - max-height: 200px; - white-space: normal; - padding-top: 5px; - font: 0.9em Monaco, "Andale Mono","Courier New", Courier, mono; - line-height: 1.3em; - color: #8b8b8b; - margin: 2px 0; -} -.syntaxbg { color: #FFFFFF; } -.syntaxcomment { color: #000000; } -.syntaxdefault { color: #bcbcbc; } -.syntaxhtml { color: #000000; } -.syntaxkeyword { color: #585858; } -.syntaxstring { color: #a7a7a7; } -/* Attachments -----------------------------------------*/ -.attachbox { float: left; - width: auto; - margin: 5px 5px 5px 0; - padding: 6px; - background-color: #FFFFFF; - border: 1px dashed #d8d8d8; - clear: left; -} -.pm-message .attachbox { background-color: #f3f3f3; } -.attachbox dt { font-family: Arial, Helvetica, sans-serif; - text-transform: uppercase; -} -.attachbox dd { margin-top: 4px; - padding-top: 4px; - clear: left; - border-top: 1px solid #d8d8d8; -} -.attachbox dd dd { border: none; } -.attachbox p { line-height: 110%; - color: #666666; - font-weight: normal; - clear: left; -} -.attachbox p.stats { line-height: 110%; - color: #666666; - font-weight: normal; - clear: left; -} -.attach-image { margin: 3px 0; - width: 100%; - max-height: 350px; - overflow: auto; -} -.attach-image img { border: 1px solid #999999; -/* cursor: move; */ - cursor: default; -} -/* Inline image thumbnails */ -div.inline-attachment dl.thumbnail, div.inline-attachment dl.file { display: block; - margin-bottom: 4px; -} -div.inline-attachment p { font-size: 100%; } -dl.file { font-family: Verdana, Arial, Helvetica, sans-serif; - display: block; -} -dl.file dt { text-transform: none; - margin: 0; - padding: 0; - font-weight: bold; - font-family: Verdana, Arial, Helvetica, sans-serif; -} -dl.file dd { color: #666666; - margin: 0; - padding: 0; -} -dl.thumbnail img { padding: 3px; - border: 1px solid #666666; - display: block; - background-color: #FFF; -} -dl.thumbnail dd { color: #666666; - font-style: italic; - font-family: Verdana, Arial, Helvetica, sans-serif; -} -.attachbox dl.thumbnail dd { font-size: 100%; } -dl.thumbnail dt a:hover { background-color: #EEEEEE;} -dl.thumbnail dt a:hover img { border: 1px solid #d2d2d2; } -/* Post poll styles -----------------------------------------*/ -fieldset.polls { font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; } -fieldset.polls dl { margin-top: 5px; - border-top: 1px solid #e2e2e2; - padding: 5px 0 0 0; - line-height: 120%; - color: #666666; -} -fieldset.polls dl.voted { font-weight: bold; - color: #000000; -} -fieldset.polls dt { text-align: left; - float: left; - display: block; - width: 30%; - border-right: none; - padding: 0; - margin: 0; - font-size: 1.1em; -} -fieldset.polls dd { float: left; - width: 10%; - border-left: none; - padding: 0 5px; - margin-left: 0; - font-size: 1.1em; -} -fieldset.polls dd.resultbar { width: 50%;} -fieldset.polls dd input { margin: 2px 0; } -fieldset.polls dd div { text-align: right; - font-family: Arial, Helvetica, sans-serif; - color: #FFFFFF; - font-weight: bold; - padding: 0 2px; - overflow: visible; - min-width: 2%; -} -.pollbar1 { background-color: #aaaaaa; - border-bottom: 1px solid #747474; - border-right: 1px solid #747474; -} -.pollbar2 { background-color: #bebebe; - border-bottom: 1px solid #8c8c8c; - border-right: 1px solid #8c8c8c; -} -.pollbar3 { background-color: #D1D1D1; - border-bottom: 1px solid #aaaaaa; - border-right: 1px solid #aaaaaa; -} -.pollbar4 { background-color: #e4e4e4; - border-bottom: 1px solid #bebebe; - border-right: 1px solid #bebebe; -} -.pollbar5 { background-color: #f8f8f8; - border-bottom: 1px solid #D1D1D1; - border-right: 1px solid #D1D1D1; -} -/* Poster profile block -----------------------------------------*/ -.postprofile { /* Also see tweaks.css */ - margin: 5px 0 10px 0; - min-height: 80px; - color: #666666; - border-left: 1px solid #FFFFFF; - width: 22%; - float: right; - display: inline; -} -.pm .postprofile { border-left: 1px solid #DDDDDD; } -.postprofile dd, .postprofile dt { line-height: 1.2em; - margin-left: 8px; -} -.postprofile strong {font-weight: normal; - color: #000000; -} -.avatar { border: none; - margin-bottom: 3px; -} -.online { background-image: none; - background-position: 100% 0; - background-repeat: no-repeat; -} -/* Poster profile used by search*/ -.search .postprofile { width: 30%;} -/* pm list in compose message if mass pm is enabled */ -dl.pmlist dt { width: 60% !important;} -dl.pmlist dt textarea { width: 95%;} -dl.pmlist dd { margin-left: 61% !important; - margin-bottom: 2px; -} -/* proSilver Button Styles ----------------------------------------- */ -/* Rollover buttons - Based on: http://wellstyled.com/css-nopreload-rollovers.html -----------------------------------------*/ -.buttons { float: left; - width: auto; - height: auto; -} -/* Rollover state */ -.buttons div { float: left; - margin: 0 5px 0 0; - background-position: 0 100%; -} -/* Rolloff state */ -.buttons div a { display: block; - width: 100%; - height: 100%; - background-position: 0 0; -} -/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */ -.buttons div span { display: none; } -.buttons div a:hover { background-image: none; } -/* Big button images */ -.reply-icon, .reply-icon a { background: transparent none 0 0 no-repeat; } -.post-icon, .post-icon a { background: transparent none 0 0 no-repeat; } -.locked-icon, .locked-icon a { background: transparent none 0 0 no-repeat; } -.pmreply-icon, .pmreply-icon a { background: none 0 0 no-repeat; } -.newpm-icon, .newpm-icon a { background: none 0 0 no-repeat; } -.forwardpm-icon, .forwardpm-icon a { background: none 0 0 no-repeat; } -/* Set big button dimensions */ -.buttons div.reply-icon { width: 96px; height: 25px; } -.buttons div.post-icon { width: 96px; height: 25px; } -.buttons div.locked-icon { width: 96px; height: 25px; } -.buttons div.pmreply-icon { width: 96px; height: 25px; } -.buttons div.newpm-icon { width: 96px; height: 25px; } -.buttons div.forwardpm-icon { width: 110px; height: 25px; } -/* Sub-header (navigation bar) ---------------------------------------------- */ -a.print, a.sendemail, a.fontsize { display: block; - overflow: hidden; - height: 18px; - text-indent: -5000px; - text-align: left; - background-repeat: no-repeat; -} -a.fontsize { background-image: none; - background-position: 0 -1px; - width: 29px; -} -a.fontsize:hover { background-position: 0 -20px; - text-decoration: none; -} -/* Icon images ----------------------------------------- */ -.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout, -.icon-bookmark, .icon-bump, .icon-subscribe, .icon-unsubscribe, .icon-pages, .icon-search { - background-position: 0 50%; - background-repeat: no-repeat; - background-image: none; - padding: 1px 0 0 17px; -} -/* Poster profile icons -----------------------------------------*/ -ul.profile-icons { padding-top: 10px; - list-style: none; -} -/* Rollover state */ -ul.profile-icons li { float: left; - margin: 0 6px 3px 0; - background-position: 0 100%; -} -/* Rolloff state */ -ul.profile-icons li a { display: block; - width: 100%; - height: 100%; - background-position: 0 0; -} -/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */ -ul.profile-icons li span { display:none; } -ul.profile-icons li a:hover { background: none; } -/* Positioning of moderator icons */ -.postbody ul.profile-icons { float: right; - width: auto; - padding: 0; -} -.postbody ul.profile-icons li { margin: 0 3px;} -/* Profile & navigation icons */ -.email-icon, .email-icon a { background: none top left no-repeat; } -.aim-icon, .aim-icon a { background: none top left no-repeat; } -.yahoo-icon, .yahoo-icon a { background: none top left no-repeat; } -.web-icon, .web-icon a { background: none top left no-repeat; } -.msnm-icon, .msnm-icon a { background: none top left no-repeat; } -.icq-icon, .icq-icon a { background: none top left no-repeat; } -.jabber-icon, .jabber-icon a { background: none top left no-repeat; } -.pm-icon, .pm-icon a { background: none top left no-repeat; } -.quote-icon, .quote-icon a { background: none top left no-repeat; } -/* Moderator icons */ -.report-icon, .report-icon a { background: none top left no-repeat; } -.warn-icon, .warn-icon a { background: none top left no-repeat; } -.edit-icon, .edit-icon a { background: none top left no-repeat; } -.delete-icon, .delete-icon a { background: none top left no-repeat; } -.info-icon, .info-icon a { background: none top left no-repeat; } -/* Set profile icon dimensions */ -ul.profile-icons li.email-icon { width: 20px; height: 20px; } -ul.profile-icons li.aim-icon { width: 20px; height: 20px; } -ul.profile-icons li.yahoo-icon { width: 20px; height: 20px; } -ul.profile-icons li.web-icon { width: 20px; height: 20px; } -ul.profile-icons li.msnm-icon { width: 20px; height: 20px; } -ul.profile-icons li.icq-icon { width: 20px; height: 20px; } -ul.profile-icons li.jabber-icon { width: 20px; height: 20px; } -ul.profile-icons li.pm-icon { width: 28px; height: 20px; } -ul.profile-icons li.quote-icon { width: 54px; height: 20px; } -ul.profile-icons li.report-icon { width: 20px; height: 20px; } -ul.profile-icons li.edit-icon { width: 58px; height: 20px; } -ul.profile-icons li.delete-icon { width: 20px; height: 20px; } -ul.profile-icons li.info-icon { width: 20px; height: 20px; } -ul.profile-icons li.warn-icon { width: 20px; height: 20px; } -/* Fix profile icon default margins */ -ul.profile-icons li.edit-icon { margin: 0 0 0 3px; } -ul.profile-icons li.quote-icon { margin: 0 0 0 10px; } -ul.profile-icons li.info-icon, ul.profile-icons li.report-icon { margin: 0 3px 0 0; } -/* proSilver Form Styles ----------------------------------------- */ -/* General form styles -----------------------------------------*/ -fieldset { border-width: 0; - font-family: Verdana, Helvetica, Arial, sans-serif; - font-size: 1.1em; -} -input { font-weight: normal; - cursor: pointer; - vertical-align: middle; - padding: 0 3px; - font-size: 1em; - font-family: Verdana, Helvetica, Arial, sans-serif; -} -select {font-family: Verdana, Helvetica, Arial, sans-serif; - font-weight: normal; - cursor: pointer; - vertical-align: middle; - border: 1px solid #666666; - padding: 1px; - background-color: #FAFAFA; -} -option { padding-right: 1em; } -option.disabled-option { color: graytext; } -textarea { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; - width: 60%; - padding: 2px; - font-size: 1em; - line-height: 1.4em; -} -label { cursor: default; - padding-right: 5px; - color: #676767; -} -label input { vertical-align: middle;} -label img { vertical-align: middle;} -/* Definition list layout for forms ----------------------------------------- */ -fieldset dl { padding: 4px 0;} -fieldset dt { float: left; - width: 40%; - text-align: left; - display: block; -} -fieldset dd { margin-left: 41%; - vertical-align: top; - margin-bottom: 3px; -} -/* Specific layout 1 */ -fieldset.fields1 dt { width: 15em; - border-right-width: 0; -} -fieldset.fields1 dd { margin-left: 15em; - border-left-width: 0; -} -fieldset.fields1 { background-color: transparent; } -fieldset.fields1 div { margin-bottom: 3px; } -/* Specific layout 2 */ -fieldset.fields2 dt { width: 15em; - border-right-width: 0; -} -fieldset.fields2 dd { margin-left: 16em; - border-left-width: 0; -} -/* Form elements */ -dt label { font-weight: bold; - text-align: left; -} -dd label { white-space: nowrap; - color: #333; -} -dd input, dd textarea { margin-right: 3px; } -dd select { width: auto; } -dd textarea { width: 85%; } -/* Hover effects */ -fieldset dl:hover dt label {color: #000000;} -fieldset.fields2 dl:hover dt label { color: inherit;} -/* Submit button fieldset */ -fieldset.submit-buttons { text-align: center; - vertical-align: middle; - margin: 5px 0; -} -fieldset.submit-buttons input { vertical-align: middle; - padding-top: 3px; - padding-bottom: 3px; -} -/* Input field styles ----------------------------------------- */ -.inputbox { background-color: #FFFFFF; - border: 1px solid #c0c0c0; - color: #333333; - padding: 2px; - cursor: text; -} -.inputbox:hover { border: 1px solid #eaeaea;} -.inputbox:focus { border: 1px solid #eaeaea; - color: #4b4b4b; -} -input.inputbox { width: 85%; } -input.medium { width: 50%; } -input.narrow { width: 25%; } -input.tiny { width: 125px; } -textarea.inputbox { width: 85%; } -.autowidth {width: auto !important;} -/* Form button styles ----------------------------------------- */ -input.button1, input.button2 {font-size: 1em;} -a.button1, input.button1, input.button3, a.button2, input.button2 { - width: auto !important; - padding-top: 1px; - padding-bottom: 1px; - font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; - color: #000; - background: #FAFAFA none repeat-x top; -} -a.button1, input.button1 {font-weight: bold; - border: 1px solid #666666; -} -input.button3 {padding: 0; - margin: 0; - line-height: 5px; - height: 12px; - background-image: none; - font-variant: small-caps; -} -/* Alternative button */ -a.button2, input.button2, input.button3 {border: 1px solid #666666;} -/* <a> button in the style of the form buttons */ -a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active { - text-decoration: none; - color: #000000; - padding: 2px 8px; - line-height: 250%; - vertical-align: text-bottom; - background-position: 0 1px; -} -/* Hover states */ -a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover { - border: 1px solid #BCBCBC; - background-position: 0 100%; - color: #BCBCBC; -} - -/* Topic and forum Search */ -.search-box {margin-top: 3px; - margin-left: 5px; - float: left; -} -.search-box input { -} -input.search {background-image: none; - background-repeat: no-repeat; - background-position: left 1px; - padding-left: 17px; -} -/* proSilver Style Sheet Tweaks -These style definitions are mainly IE specific -tweaks required due to its poor CSS support. --------------------------------------------------*/ -* html table, * html select, * html input { font-size: 100%; } -* html hr { margin: 0; } -* html span.corners-top, * html span.corners-bottom { background-image: url("{T_IMAGE_PATH}corners_left.gif"); } -* html span.corners-top span, * html span.corners-bottom span { background-image: url("{T_IMAGE_PATH}corners_right.gif"); } -table.table1 {width: 99%; /* IE < 6 browsers */ - /* Tantek hack */ - voice-family: "\"}\""; - voice-family: inherit; - width: 100%; -} -html>body table.table1 { width: 100%; } /* Reset 100% for opera */ -* html ul.topiclist li { position: relative; } -* html .postbody h3 img { vertical-align: middle; } -/* Form styles */ -html>body dd label input { vertical-align: text-bottom; } /* Align checkboxes/radio buttons nicely */ -* html input.button1, * html input.button2 { - padding-bottom: 0; - margin-bottom: 1px; -} -/* Misc layout styles */ -* html .column1, * html .column2 { width: 45%; } -/* Nice method for clearing floated blocks without having to insert any extra markup (like spacer above) - From http://www.positioniseverything.net/easyclearing.html -#tabs:after, #minitabs:after, .post:after, .navbar:after, fieldset dl:after, ul.topiclist dl:after, ul.linklist:after, dl.polls:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -}*/ -.clearfix, #tabs, #minitabs, .post, .navbar, fieldset dl, ul.topiclist dl, ul.linklist, dl.polls { - height: 1%; - overflow: hidden; -} -/* Simple fix so forum and topic lists always have a min-height set, even in IE6 - From http://www.dustindiaz.com/min-height-fast-hack */ -dl.icon { min-height: 35px; - height: auto !important; - height: 35px; -} -* html #search-box { - margin-right: 35px; -} -/* Correctly clear floating for details on profile view */ -*:first-child+html dl.details dd { margin-left: 15em; - float: none; -} -* html dl.details dd { margin-left: 15em; - float: none; -} -/* --------------------------------------------------------------- -Colours and backgrounds for common.css --------------------------------------------------------------- */ -html, body { color: #536482; - background-color: #FFFFFF; -} -h1 { color: #FFFFFF;} -h2 {color: #28313F;} -h3 {border-bottom-color: #CCCCCC; - color: #115098; -} -hr {border-color: #FFFFFF; - border-top-color: #CCCCCC; -} -hr.dashed {border-top-color: #CCCCCC;} -/* Search box ---------------------------------------------- */ -#search-box {color: #FFFFFF;} -#search-box #keywords {background-color: #FFF;} -#search-box input {border-color: #0075B0;} -/* Round cornered boxes and backgrounds ----------------------------------------- */ -.headerbar {background-color: #12A3EB; - background-image: url("{T_IMAGE_PATH}bg_header.gif"); - color: #FFFFFF; -} -.navbar {background-color: #cadceb;} -.forabg {background-color: #0076b1; - background-image: url("{T_IMAGE_PATH}bg_list.gif"); -} -.forumbg {background-color: #12A3EB; - background-image: url("{T_IMAGE_PATH}bg_header.gif"); -} -.panel {background-color: #ECF1F3; - color: #28313F; -} -.post:target .content {color: #000000;} -.post:target h3 a {color: #000000;} -.bg1 { background-color: #ECF3F7; } -.bg2 { background-color: #e1ebf2; } -.bg3 { background-color: #cadceb; } -.ucprowbg {background-color: #DCDEE2;} -.fieldsbg {background-color: #E7E8EA;} -span.corners-top {background-image: url("{T_IMAGE_PATH}corners_left.png");} -span.corners-top span {background-image: url("{T_IMAGE_PATH}corners_right.png");} -span.corners-bottom {background-image: url("{T_IMAGE_PATH}corners_left.png");} -span.corners-bottom span {background-image: url("{T_IMAGE_PATH}corners_right.png");} -/* Horizontal lists -----------------------------------------*/ -ul.navlinks {border-bottom-color: #FFFFFF;} -/* Misc layout styles ----------------------------------------- */ -dl.details dt { - color: #000000; -} - -dl.details dd { - color: #536482; -} - -.sep { - color: #1198D9; -} -/* Miscellaneous styles ----------------------------------------- */ -.copyright {color: #555555;} -.error {color: #BC2A4D;} -.reported {background-color: #F7ECEF;} -li.reported:hover {background-color: #ECD5D8 !important;} -.sticky, .announce {/* you can add a background for stickies and announcements*/} -div.rules {background-color: #ECD5D8; - color: #BC2A4D; -} -p.rules {background-color: #ECD5D8; - background-image: none; -} -/* --------------------------------------------------------------- -Colours and backgrounds for links.css --------------------------------------------------------------- */ -a:link { color: #105289; } -a:visited { color: #105289; } -a:hover { color: #D31141; } -a:active { color: #368AD2; } -/* Links on gradient backgrounds */ -#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link {color: #FFFFFF;} -#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited {color: #FFFFFF;} -#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover {color: #A8D8FF;} -#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active {color: #C8E6FF;} -/* Links for forum/topic lists */ -a.forumtitle {color: #105289;} -/* a.forumtitle:visited { color: #105289; } */ -a.forumtitle:hover {color: #BC2A4D;} -a.forumtitle:active {color: #105289;} -a.topictitle {color: #105289;} -/* a.topictitle:visited { color: #368AD2; } */ -a.topictitle:hover {color: #BC2A4D;} -a.topictitle:active {color: #105289;} -/* Post body links */ -.postlink {color: #368AD2; - border-bottom-color: #368AD2; -} -.postlink:visited {color: #5D8FBD; - border-bottom-color: #666666; -} -.postlink:active {color: #368AD2;} -.postlink:hover {background-color: #D0E4F6; - color: #0D4473; -} -.signature a, .signature a:visited, .signature a:active, .signature a:hover {background-color: transparent;} -/* Profile links */ -.postprofile a:link, .postprofile a:active, .postprofile a:visited, .postprofile dt.author a {color: #105289;} -.postprofile a:hover, .postprofile dt.author a:hover {color: #D31141;} -/* Profile searchresults */ -.search .postprofile a {color: #105289;} -.search .postprofile a:hover {color: #D31141;} -/* Back to top of page */ -a.top {background-image: url("{T_IMAGE_PATH}icon_back_top.gif");} -a.top2 {background-image: url("{T_IMAGE_PATH}icon_back_top.gif");} -/* Arrow links */ -a.up { background-image: url("{T_IMAGE_PATH}arrow_up.gif") } -a.down { background-image: url("{T_IMAGE_PATH}arrow_down.gif") } -a.left { background-image: url("{T_IMAGE_PATH}arrow_left.gif") } -a.right { background-image: url("{T_IMAGE_PATH}arrow_right.gif") } -a.up:hover {background-color: transparent;} -a.left:hover {color: #368AD2;} -a.right:hover {color: #368AD2;} -/* --------------------------------------------------------------- -Colours and backgrounds for content.css --------------------------------------------------------------- */ -ul.forums {background-color: #eef5f9; - background-image: url("{T_IMAGE_PATH}gradient.gif"); -} -ul.topiclist li {color: #4C5D77;} -ul.topiclist dd {border-left-color: #FFFFFF;} -.rtl ul.topiclist dd {border-right-color: #fff; - border-left-color: transparent; -} -ul.topiclist li.row dt a.subforum.read {background-image: url("{T_IMAGE_PATH}subforum_read.gif");} -ul.topiclist li.row dt a.subforum.unread {background-image: url("{T_IMAGE_PATH}subforum_unread.gif");} -li.row {border-top-color: #FFFFFF; - border-bottom-color: #00608F; -} -li.row strong {color: #000000;} -li.row:hover {background-color: #F6F4D0;} -li.row:hover dd {border-left-color: #CCCCCC;} -.rtl li.row:hover dd {border-right-color: #CCCCCC; - border-left-color: transparent; -} -li.header dt, li.header dd {color: #FFFFFF;} -/* Forum list column styles */ -ul.topiclist dd.searchextra {color: #333333;} -/* Post body styles -----------------------------------------*/ -.postbody {color: #333333;} -/* Content container styles -----------------------------------------*/ -.content {color: #333333;} -.content h2, .panel h2 {color: #115098; - border-bottom-color: #CCCCCC; -} -dl.faq dt {color: #333333;} -.posthilit {background-color: #F3BFCC; - color: #BC2A4D; -} -/* Post signature */ -.signature {border-top-color: #CCCCCC;} -/* Post noticies */ -.notice {border-top-color: #CCCCCC;} -/* BB Code styles -----------------------------------------*/ -/* Quote block */ -blockquote {background-color: #EBEADD; - background-image: url("{T_IMAGE_PATH}quote.gif"); - border-color:#DBDBCE; -} -blockquote blockquote {/* Nested quotes */ - background-color:#EFEED9; -} -blockquote blockquote blockquote {/* Nested quotes */ - background-color: #EBEADD; -} -/* Code block */ -dl.codebox {background-color: #FFFFFF; - border-color: #C9D2D8; -} -dl.codebox dt {border-bottom-color: #CCCCCC; -} -dl.codebox code {color: #2E8B57;} -.syntaxbg { color: #FFFFFF; } -.syntaxcomment { color: #FF8000; } -.syntaxdefault { color: #0000BB; } -.syntaxhtml { color: #000000; } -.syntaxkeyword { color: #007700; } -.syntaxstring { color: #DD0000; } -/* Attachments -----------------------------------------*/ -.attachbox {background-color: #FFFFFF; - border-color: #C9D2D8; -} -.pm-message .attachbox {background-color: #F2F3F3;} -.attachbox dd {border-top-color: #C9D2D8;} -.attachbox p {color: #666666;} -.attachbox p.stats {color: #666666;} -.attach-image img {border-color: #999999;} -/* Inline image thumbnails */ -dl.file dd {color: #666666;} -dl.thumbnail img {border-color: #666666; - background-color: #FFFFFF; -} -dl.thumbnail dd {color: #666666;} -dl.thumbnail dt a:hover {background-color: #EEEEEE;} -dl.thumbnail dt a:hover img {border-color: #368AD2;} -/* Post poll styles -----------------------------------------*/ -fieldset.polls dl {border-top-color: #DCDEE2; - color: #666666; -} -fieldset.polls dl.voted {color: #000000; -} -fieldset.polls dd div {color: #FFFFFF; -} -.rtl .pollbar1, .rtl .pollbar2, .rtl .pollbar3, .rtl .pollbar4, .rtl .pollbar5 {border-right-color: transparent; -} -.pollbar1 {background-color: #AA2346; - border-bottom-color: #74162C; - border-right-color: #74162C; -} -.rtl .pollbar1 {border-left-color: #74162C;} -.pollbar2 {background-color: #BE1E4A; - border-bottom-color: #8C1C38; - border-right-color: #8C1C38; -} -.rtl .pollbar2 {border-left-color: #8C1C38;} -.pollbar3 {background-color: #D11A4E; - border-bottom-color: #AA2346; - border-right-color: #AA2346; -} -.rtl .pollbar3 {border-left-color: #AA2346;} -.pollbar4 {background-color: #E41653; - border-bottom-color: #BE1E4A; - border-right-color: #BE1E4A; -} -.rtl .pollbar4 {border-left-color: #BE1E4A;} -.pollbar5 {background-color: #F81157; - border-bottom-color: #D11A4E; - border-right-color: #D11A4E; -} -.rtl .pollbar5 {border-left-color: #D11A4E;} -/* Poster profile block -----------------------------------------*/ -.postprofile {color: #666666; - border-left-color: #FFFFFF; -} -.rtl .postprofile {border-right-color: #FFFFFF; - border-left-color: transparent; -} -.pm .postprofile {border-left-color: #DDDDDD;} -.rtl .pm .postprofile {border-right-color: #DDDDDD; - border-left-color: transparent; -} -.postprofile strong {color: #000000;} -.online {background-image: url("./styles/prosilver/imageset/fr/icon_user_online.gif");} -/* --------------------------------------------------------------- -Colours and backgrounds for buttons.css --------------------------------------------------------------- */ -a.fontsize {background-image: url("{T_IMAGE_PATH}icon_fontsize.gif");} -/* Icon images ----------------------------------------- */ -.sitehome { background-image: url("{T_IMAGE_PATH}icon_home.gif"); } -.icon-faq { background-image: url("{T_IMAGE_PATH}icon_faq.gif"); } -.icon-ucp { background-image: url("{T_IMAGE_PATH}sitemap-icon.gif"); } -.icon-members { background-image: url("{T_IMAGE_PATH}icon_members.gif"); } -.icon-home { background-image: url("{T_IMAGE_PATH}icon_home.gif"); } -.icon-register { background-image: url("{T_IMAGE_PATH}icon_register.gif"); } -.icon-logout { background-image: url("{T_IMAGE_PATH}icon_logout.gif"); } -.icon-bookmark { background-image: url("{T_IMAGE_PATH}icon_bookmark.gif"); } -.icon-subscribe { background-image: url("{T_IMAGE_PATH}icon_subscribe.gif"); } -.icon-search { background-image: url("{T_IMAGE_PATH}icon_search.gif"); } -/* --------------------------------------------------------------- -Colours and backgrounds for forms.css --------------------------------------------------------------- */ -/* General form styles -----------------------------------------*/ -select {border-color: #666666; - background-color: #FAFAFA; -} -label {color: #425067;} -option.disabled-option {color: graytext;} -/* Definition list layout for forms ----------------------------------------- */ -dd label {color: #333;} -/* Hover effects */ -fieldset dl:hover dt label {color: #000000;} -fieldset.fields2 dl:hover dt label {color: inherit;} -/* Quick-login on index page */ -fieldset.quick-login input.inputbox {background-color: #F2F3F3;} -/* Input field styles ----------------------------------------- */ -.inputbox {background-color: #FFFFFF; - border-color: #B4BAC0; - color: #333333; -} -.inputbox:hover {border-color: #11A3EA;} -.inputbox:focus {border-color: #11A3EA; - color: #0F4987; -} -/* Form button styles ----------------------------------------- */ -a.button1, input.button1, input.button3, a.button2, input.button2 {color: #000; - background-color: #FAFAFA; - background-image: url("{T_IMAGE_PATH}bg_button.gif"); -} -a.button1, input.button1 {border-color: #666666;} -input.button3 {background-image: none;} -/* Alternative button */ -a.button2, input.button2, input.button3 {border-color: #666666;} -/* <a> button in the style of the form buttons */ -a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active {color: #000000;} -/* Hover states */ -a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {border-color: #BC2A4D; - color: #BC2A4D; -} -input.search {background-image: url("{T_IMAGE_PATH}icon_textbox_search.gif");} -#wrap { - padding: 0 20px; -} diff --git a/phpBB/styles/prosilver/theme/gym_rss.css b/phpBB/styles/prosilver/theme/gym_rss.css deleted file mode 100644 index 4b64128e83..0000000000 --- a/phpBB/styles/prosilver/theme/gym_rss.css +++ /dev/null @@ -1,1547 +0,0 @@ -/* phpBB 3.0 Style Sheet
- --------------------------------------------------------------
- Style name: proSilver
- Based on style: proSilver (this is the default phpBB 3 style)
- Original author: subBlue ( http://www.subBlue.com/ )
- Modified by: dcz phpBB SEO ( www.phpbb-seo.com )
-
- Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
- --------------------------------------------------------------
-*/
-
-/* General proSilver Markup Styles
----------------------------------------- */
-
-* {/* Reset browsers default margin, padding and font sizes */
- margin: 0;
- padding: 0;
-}
-html { font-size: 100%;
- /* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */
- height: 100%;
- margin-bottom: 1px;
-}
-body { /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
- font-family: Verdana, Helvetica, Arial, sans-serif;
- color: #828282;
- background-color: #FFFFFF;
- /*font-size: 62.5%; This sets the default font size to be equivalent to 10px */
- font-size: 10px;
- margin: 10px;
- padding: 12px 0;
-}
-h1 { /* Forum name */
- font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
- margin-right: 200px;
- color: #FFFFFF;
- margin-top: 15px;
- font-weight: bold;
- font-size: 2em;
-}
-h2 { /* Forum header titles */
- font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
- font-weight: normal;
- color: #3f3f3f;
- font-size: 2em;
- margin: 0.8em 0 0.2em 0;
-}
-h2.solo { margin-bottom: 1em; }
-
-h3 { /* Sub-headers (also used as post headers, but defined later) */
- font-family: Arial, Helvetica, sans-serif;
- font-weight: bold;
- text-transform: uppercase;
- border-bottom: 1px solid #CCCCCC;
- margin-bottom: 3px;
- padding-bottom: 2px;
- font-size: 1.05em;
- color: #989898;
- margin-top: 20px;
-}
-h4 { /* Forum and topic list titles */
- font-family: "Trebuchet MS", Verdana, Helvetica, Arial, Sans-serif;
- font-size: 1.3em;
-}
-h5 { font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
- float: right;
- font-weight:bold;
- font-size:16px;
- color:#707070;
- margin-top:1px;
-}
-p { line-height: 1.3em;
- font-size: 1.1em;
- margin-bottom: 1.5em;
-}
-
-img {
- border-width: 0;
-}
-
-hr { /* Also see tweaks.css */
- border: 0 none #FFFFFF;
- border-top: 1px solid #CCCCCC;
- height: 1px;
- margin: 5px 0;
- display: block;
- clear: both;
-}
-hr.dashed { border-top: 1px dashed #CCCCCC;
- margin: 10px 0;
-}
-hr.divider { display: none;}
-p.right { text-align: right;}
-
-/* Main blocks
----------------------------------------- */
-#simple-wrap { padding: 6px 10px; }
-#page-body { margin: 4px 0;
- clear: both;
-}
-#page-footer { clear: both;
-}
-#page-footer h3 { margin-top: 20px;
-}
-#logo { float: left;
- width: auto;
- padding: 10px 13px 0 10px;
-}
-a#logo:hover { text-decoration: none;}
-/* Search box
---------------------------------------------- */
-#search-box { color: #FFFFFF;
- position: relative;
- margin-top: 30px;
- margin-right: 5px;
- display: block;
- float: right;
- text-align: right;
- white-space: nowrap; /* For Opera */
-}
-#search-box #keywords { width: 95px;
- background-color: #FFF;
-}
-#search-box input { border: 1px solid #b0b0b0;
-}
-/* .button1 style defined later, just a few tweaks for the search button version */
-#search-box input.button1 { padding: 1px 5px;}
-#search-box li { text-align: right;
- margin-top: 4px;
-}
-#search-box img {
- vertical-align: middle;
- margin-right: 3px;
-}
-/* Site description and logo */
-#site-description { float: left;
- width: 70%;
-}
-
-#site-description h1 { margin-right: 0;}
-
-/* Round cornered boxes and backgrounds
----------------------------------------- */
-.headerbar { background: #ebebeb none repeat-x 0 0;
- color: #FFFFFF;
- margin-bottom: 4px;
- padding: 0 5px;
-}
-.navbar { background-color: #ebebeb;
- padding: 0 10px;
-}
-.forabg { background: #b1b1b1 none repeat-x 0 0;
- margin-bottom: 4px;
- padding: 0 5px;
- clear: both;
-}
-.forumbg { background: #ebebeb none repeat-x 0 0;
- margin-bottom: 4px;
- padding: 0 5px;
- clear: both;
-}
-.panel { margin-bottom: 4px;
- padding: 0 10px;
- background-color: #f3f3f3;
- color: #3f3f3f;
-}
-.post { padding: 0 10px;
- margin-bottom: 4px;
- background-repeat: no-repeat;
- background-position: 100% 0;
-}
-.post:target .content { color: #000000;}
-.post:target h3 a { color: #000000;}
-.bg1 { background-color: #f7f7f7;}
-.bg2 { background-color: #f2f2f2; }
-.bg3 { background-color: #ebebeb; }
-.rowbg { margin: 5px 5px 2px 5px;}
-.ucprowbg { background-color: #e2e2e2; }
-.fieldsbg { /*border: 1px #DBDEE2 solid;*/
- background-color: #eaeaea;
-}
-span.corners-top, span.corners-bottom, span.corners-top span, span.corners-bottom span {
- font-size: 1px;
- line-height: 1px;
- display: block;
- height: 5px;
- background-repeat: no-repeat;
-}
-span.corners-top { background-image: none;
- background-position: 0 0;
- margin: 0 -5px;
-}
-span.corners-top span { background-image: none;
- background-position: 100% 0;
-}
-span.corners-bottom { background-image: none;
- background-position: 0 100%;
- margin: 0 -5px;
- clear: both;
-}
-span.corners-bottom span { background-image: none;;
- background-position: 100% 100%;
-}
-.headbg span.corners-bottom { margin-bottom: -1px; }
-.post span.corners-top, .post span.corners-bottom, .panel span.corners-top, .panel span.corners-bottom, .navbar span.corners-top, .navbar span.corners-bottom { margin: 0 -10px; }
-.rules span.corners-top { margin: 0 -10px 5px -10px;}
-.rules span.corners-bottom { margin: 5px -10px 0 -10px;}
-/* Horizontal lists
-----------------------------------------*/
-ul.linklist { display: block;
- margin: 0;
-}
-ul.linklist li { display: block;
- list-style-type: none;
- float: left;
- width: auto;
- margin-right: 5px;
- font-size: 1.1em;
- line-height: 2.2em;
-}
-ul.linklist li.rightside, p.rightside { float: right;
- margin-right: 0;
- margin-left: 5px;
- text-align: right;
-}
-ul.navlinks { padding-bottom: 1px;
- margin-bottom: 1px;
- border-bottom: 1px solid #FFFFFF;
- font-weight: bold;
-}
-ul.leftside { float: left;
- margin-left: 0;
- margin-right: 5px;
- text-align: left;
-}
-ul.rightside { float: right;
- margin-left: 5px;
- margin-right: -5px;
- text-align: right;
-}
-/* Misc layout styles
----------------------------------------- */
-dl.details {
- /*font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;*/
- font-size: 1.1em;
-}
-dl.details dt {
- float: left;
- clear: left;
- width: 15em;
- text-align: right;
- color: #000000;
- display: block;
-}
-dl.details dd {
- margin-left: 0;
- padding-left: 5px;
- margin-bottom: 5px;
- color: #828282;
- float: left;
-}
-/* Miscellaneous styles
----------------------------------------- */
-.copyright { padding: 5px;
- text-align: center;
- color: #555555;
-}
-div.rules {
- background-color: #ececec;
- color: #bcbcbc;
- padding: 0 10px;
- margin: 10px 0;
- font-size: 1.1em;
-}
-div.rules ul { margin-left: 20px; }
-p.rules { background-color: #ececec;
- background-image: none;
- padding: 5px;
-}
-p.rules img { vertical-align: middle; }
-p.rules a { vertical-align: middle;
- clear: both;
-}
-#top { position: absolute;
- top: -20px;
-}
-/* proSilver Link Styles
----------------------------------------- */
-a:link { color: #898989; text-decoration: none; }
-a:visited { color: #898989; text-decoration: none; }
-a:hover { color: #d3d3d3; text-decoration: underline; }
-a:active { color: #d2d2d2; text-decoration: none; }
-/* Links on gradient backgrounds */
-#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link {
- color: #FFFFFF;
- text-decoration: none;
-}
-#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited {
- color: #FFFFFF;
- text-decoration: none;
-}
-#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover {
- color: #ffffff;
- text-decoration: underline;
-}
-#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active {
- color: #ffffff;
- text-decoration: none;
-}
-/* Links for forum/topic lists */
-a.forumtitle { font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif;
- font-size: 1.2em;
- font-weight: bold;
- color: #898989;
- text-decoration: none;
-}
-/* a.forumtitle:visited { color: #898989; } */
-a.forumtitle:hover { color: #bcbcbc;
- text-decoration: underline;
-}
-a.forumtitle:active { color: #898989; }
-a.topictitle { font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif;
- font-size: 1.2em;
- font-weight: bold;
- color: #898989;
- text-decoration: none;
-}
-/* a.topictitle:visited { color: #d2d2d2; } */
-a.topictitle:hover { color: #bcbcbc;
- text-decoration: underline;
-}
-a.topictitle:active {
- color: #898989;
-}
-/* Post body links */
-.postlink { text-decoration: none;
- color: #d2d2d2;
- border-bottom: 1px solid #d2d2d2;
- padding-bottom: 0;
-}
-.postlink:visited { color: #bdbdbd;
- border-bottom-style: dotted;
- border-bottom-color: #666666;
-}
-.postlink:active { color: #d2d2d2; }
-.postlink:hover { background-color: #f6f6f6;
- text-decoration: none;
- color: #404040;
-}
-.signature a, .signature a:visited, .signature a:active, .signature a:hover {
- border: none;
- text-decoration: underline;
- background-color: transparent;
-}
-/* Profile links */
-.postprofile a:link, .postprofile a:active, .postprofile a:visited, .postprofile dt.author a { font-weight: bold;
- color: #898989;
- text-decoration: none;
-}
-.postprofile a:hover, .postprofile dt.author a:hover { text-decoration: underline;
- color: #d3d3d3;
-}
-/* Profile searchresults */
-.search .postprofile a { color: #898989;
- text-decoration: none;
- font-weight: normal;
-}
-.search .postprofile a:hover { color: #d3d3d3;
- text-decoration: underline;
-}
-/* Back to top of page */
-.back2top { clear: both;
- height: 11px;
- text-align: right;
-}
-a.top { background: none no-repeat top left;
- text-decoration: none;
- width: 11px;
- height: 11px;
- display: block;
- float: right;
- overflow: hidden;
- letter-spacing: 1000px;
- text-indent: 11px;
-}
-a.top2 {
- background: none no-repeat 0 50%;
- text-decoration: none;
- padding-left: 15px;
-}
-/* Arrow links */
-a.up { background: none no-repeat left center; }
-a.down { background: none no-repeat right center; }
-a.left { background: none no-repeat 3px 60%; }
-a.right { background: none no-repeat 95% 60%; }
-a.up, a.up:link, a.up:active, a.up:visited { padding-left: 10px;
- text-decoration: none;
- border-bottom-width: 0;
-}
-a.up:hover { background-position: left top;
- background-color: transparent;
-}
-a.down, a.down:link, a.down:active, a.down:visited { padding-right: 10px; }
-a.down:hover { background-position: right bottom;
- text-decoration: none;
-}
-a.left, a.left:active, a.left:visited { padding-left: 12px; }
-a.left:hover { color: #d2d2d2;
- text-decoration: none;
- background-position: 0 60%;
-}
-a.right, a.right:active, a.right:visited { padding-right: 12px;}
-a.right:hover { color: #d2d2d2;
- text-decoration: none;
- background-position: 100% 60%;
-}
-/* proSilver Content Styles
----------------------------------------- */
-ul.topiclist { display: block;
- list-style-type: none;
- margin: 0;
-}
-ul.forums { background: #f9f9f9 none repeat-x 0 0;
-}
-ul.topiclist li { display: block;
- list-style-type: none;
- color: #777777;
- margin: 0;
-}
-ul.topiclist dl { position: relative;}
-ul.topiclist li.row dl {padding: 2px 0;}
-ul.topiclist dt {display: block;
- float: left;
- width: 50%;
- font-size: 1.1em;
- padding-left: 5px;
- padding-right: 5px;
-}
-ul.topiclist dd { display: block;
- float: left;
- border-left: 1px solid #FFFFFF;
- padding: 4px 0;
-}
-ul.topiclist dfn { /* Labels for post/view counts */
- display: none;
-}
-
-ul.topiclist li.row dt a.subforum { background-image: none;
- background-position: 0 50%;
- background-repeat: no-repeat;
- position: relative;
- white-space: nowrap;
- padding: 0 0 0 12px;
-}
-.forum-image { float: left;
- padding-top: 5px;
- margin-right: 5px;
-}
-li.row { border-top: 1px solid #FFFFFF;
- border-bottom: 1px solid #8f8f8f;
-}
-li.row strong { font-weight: normal;
- color: #000000;
-}
-li.row:hover { background-color: #f6f6f6;
-}
-li.row:hover dd { border-left-color: #CCCCCC;
-}
-li.header dt, li.header dd { line-height: 1em;
- border-left-width: 0;
- margin: 2px 0 4px 0;
- color: #FFFFFF;
- padding-top: 2px;
- padding-bottom: 2px;
- font-size: 1em;
- font-family: Arial, Helvetica, sans-serif;
- text-transform: uppercase;
-}
-li.header dt { font-weight: bold;}
-li.header dd { margin-left: 1px;}
-li.header dl.icon { min-height: 0;}
-li.header dl.icon dt { /* Tweak for headers alignment when folder icon used */
- padding-left: 0;
- padding-right: 44px;
-}
-/* Forum list column styles */
-dl.icon { min-height: 35px;
- background-position: 10px 50%; /* Position of folder icon */
- background-repeat: no-repeat;
-}
-dl.icon dt { padding-left: 45px; /* Space for folder icon */
- background-repeat: no-repeat;
- background-position: 5px 95%; /* Position of topic icon */
-}
-dd.posts, dd.topics, dd.views { width: 8%;
- text-align: center;
- line-height: 2.2em;
- font-size: 1.2em;
-}
-dd.lastpost { width: 25%;
- font-size: 1.1em;
-}
-dd.redirect { font-size: 1.1em;
- line-height: 2.5em;
-}
-dd.moderation { font-size: 1.1em; }
-dd.lastpost span, ul.topiclist dd.searchby span, ul.topiclist dd.info span, ul.topiclist dd.time span, dd.redirect span, dd.moderation span { display: block;
- padding-left: 5px;
-}
-dd.time { width: auto;
- line-height: 200%;
- font-size: 1.1em;
-}
-dd.extra { width: 65px;
- line-height: 200%;
- text-align: center;
- font-size: 1.1em;
-}
-dd.mark { float: right !important;
- width: 9%;
- text-align: center;
- line-height: 200%;
- font-size: 1.2em;
-}
-dd.info { width: 30%; }
-dd.option { width: 15%;
- line-height: 200%;
- text-align: center;
- font-size: 1.1em;
-}
-dd.searchby { width: 47%;
- font-size: 1.1em;
- line-height: 1em;
-}
-ul.topiclist dd.searchextra { margin-left: 5px;
- padding: 0.2em 0;
- font-size: 1.1em;
- color: #333333;
- border-left: none;
- clear: both;
- width: 98%;
- overflow: hidden;
-}
-/* Container for post/reply buttons and pagination */
-.topic-actions { margin-bottom: 3px;
- font-size: 1.1em;
- height: 28px;
- min-height: 28px;
-}
-div[class].topic-actions { height: auto; }
-/* Post body styles
-----------------------------------------*/
-.postbody { padding: 0;
- line-height: 1.48em;
- color: #333333;
- width: 76%;
- float: left;
- clear: both;
-}
-.postbody .ignore { font-size: 1.1em; }
-.postbody h3.first { /* The first post on the page uses this */
- font-size: 1.7em;
-}
-.postbody h3 { /* Postbody requires a different h3 format - so change it here */
- font-size: 1.5em;
- padding: 2px 0 0 0;
- margin: 0 0 0.3em 0 !important;
- text-transform: none;
- border: none;
- font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
- line-height: 125%;
-}
-.postbody h3 img { /* Also see tweaks.css */
- vertical-align: bottom;
-}
-.postbody .content { font-size: 1.3em; }
-.search .postbody { width: 68% }
-/* Content container styles
-----------------------------------------*/
-.content { min-height: 3em;
- overflow: hidden;
- line-height: 1.4em;
- font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
- font-size: 1em;
- color: #333333;
-}
-.content h2, .panel h2 { font-weight: normal;
- color: #989898;
- border-bottom: 1px solid #CCCCCC;
- font-size: 1.6em;
- margin-top: 0.5em;
- margin-bottom: 0.5em;
- padding-bottom: 0.5em;
-}
-.panel h3 { margin: 0.5em 0; }
-.panel p { font-size: 1.2em;
- margin-bottom: 1em;
- line-height: 1.4em;
-}
-.content p { font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
- font-size: 1.2em;
- margin-bottom: 1em;
- line-height: 1.4em;
-}
-dl.faq { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
- font-size: 1.1em;
- margin-top: 1em;
- margin-bottom: 2em;
- line-height: 1.4em;
-}
-dl.faq dt { font-weight: bold;
- color: #333333;
-}
-.content dl.faq { font-size: 1.2em;
- margin-bottom: 0.5em;
-}
-.content li { list-style-type: inherit; }
-.content ul, .content ol { margin-bottom: 1em;
- margin-left: 3em;
-}
-.announce, .unreadpost {
- /* Highlight the announcements & unread posts box */
- border-left-color: #BCBCBC;
- border-right-color: #BCBCBC;
-}
-/* Post author */
-p.author { margin: 0 15em 0.6em 0;
- padding: 0 0 5px 0;
- font-family: Verdana, Helvetica, Arial, sans-serif;
- font-size: 1em;
- line-height: 1.2em;
-}
-/* Post signature */
-.signature { margin-top: 1.5em;
- padding-top: 0.2em;
- font-size: 1.1em;
- border-top: 1px solid #CCCCCC;
- clear: left;
- line-height: 140%;
- overflow: hidden;
- width: 100%;
-}
-dd .signature { margin: 0;
- padding: 0;
- clear: none;
- border: none;
-}
-/* Post noticies */
-.notice { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
- width: auto;
- margin-top: 1.5em;
- padding-top: 0.2em;
- font-size: 1em;
- border-top: 1px dashed #CCCCCC;
- clear: left;
- line-height: 130%;
-}
-/* Jump to post link for now */
-ul.searchresults {
- list-style: none;
- text-align: right;
- clear: both;
-}
-/* BB Code styles
-----------------------------------------*/
-/* Quote block */
-blockquote {
- background: #ebebeb none 6px 8px no-repeat;
- border: 1px solid #dbdbdb;
- font-size: 0.95em;
- margin: 0.5em 1px 0 25px;
- overflow: hidden;
- padding: 5px;
-}
-blockquote blockquote { /* Nested quotes */
- background-color: #bababa;
- font-size: 1em;
- margin: 0.5em 1px 0 15px;
-}
-blockquote blockquote blockquote { /* Nested quotes */
- background-color: #e4e4e4;
-}
-blockquote cite { /* Username/source of quoter */
- font-style: normal;
- font-weight: bold;
- margin-left: 20px;
- display: block;
- font-size: 0.9em;
-}
-blockquote cite cite { font-size: 1em; }
-blockquote.uncited { padding-top: 25px; }
-/* Code block */
-dl.codebox {
- padding: 3px;
- background-color: #FFFFFF;
- border: 1px solid #d8d8d8;
- font-size: 1em;
-}
-dl.codebox dt { text-transform: uppercase;
- border-bottom: 1px solid #CCCCCC;
- margin-bottom: 3px;
- font-size: 0.8em;
- font-weight: bold;
- display: block;
-}
-blockquote dl.codebox { margin-left: 0; }
-dl.codebox code { /* Also see tweaks.css */
- overflow: auto;
- display: block;
- height: auto;
- max-height: 200px;
- white-space: normal;
- padding-top: 5px;
- font: 0.9em Monaco, "Andale Mono","Courier New", Courier, mono;
- line-height: 1.3em;
- color: #8b8b8b;
- margin: 2px 0;
-}
-.syntaxbg { color: #FFFFFF; }
-.syntaxcomment { color: #000000; }
-.syntaxdefault { color: #bcbcbc; }
-.syntaxhtml { color: #000000; }
-.syntaxkeyword { color: #585858; }
-.syntaxstring { color: #a7a7a7; }
-/* Attachments
-----------------------------------------*/
-.attachbox { float: left;
- width: auto;
- margin: 5px 5px 5px 0;
- padding: 6px;
- background-color: #FFFFFF;
- border: 1px dashed #d8d8d8;
- clear: left;
-}
-.pm-message .attachbox { background-color: #f3f3f3; }
-.attachbox dt { font-family: Arial, Helvetica, sans-serif;
- text-transform: uppercase;
-}
-.attachbox dd { margin-top: 4px;
- padding-top: 4px;
- clear: left;
- border-top: 1px solid #d8d8d8;
-}
-.attachbox dd dd { border: none; }
-.attachbox p { line-height: 110%;
- color: #666666;
- font-weight: normal;
- clear: left;
-}
-.attachbox p.stats { line-height: 110%;
- color: #666666;
- font-weight: normal;
- clear: left;
-}
-.attach-image { margin: 3px 0;
- width: 100%;
- max-height: 350px;
- overflow: auto;
-}
-.attach-image img { border: 1px solid #999999;
-/* cursor: move; */
- cursor: default;
-}
-/* Inline image thumbnails */
-div.inline-attachment dl.thumbnail, div.inline-attachment dl.file { display: block;
- margin-bottom: 4px;
-}
-div.inline-attachment p { font-size: 100%; }
-dl.file { font-family: Verdana, Arial, Helvetica, sans-serif;
- display: block;
-}
-dl.file dt { text-transform: none;
- margin: 0;
- padding: 0;
- font-weight: bold;
- font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-dl.file dd { color: #666666;
- margin: 0;
- padding: 0;
-}
-dl.thumbnail img { padding: 3px;
- border: 1px solid #666666;
- display: block;
- background-color: #FFF;
-}
-dl.thumbnail dd { color: #666666;
- font-style: italic;
- font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-.attachbox dl.thumbnail dd { font-size: 100%; }
-dl.thumbnail dt a:hover { background-color: #EEEEEE;}
-dl.thumbnail dt a:hover img { border: 1px solid #d2d2d2; }
-/* Post poll styles
-----------------------------------------*/
-fieldset.polls { font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; }
-fieldset.polls dl { margin-top: 5px;
- border-top: 1px solid #e2e2e2;
- padding: 5px 0 0 0;
- line-height: 120%;
- color: #666666;
-}
-fieldset.polls dl.voted { font-weight: bold;
- color: #000000;
-}
-fieldset.polls dt { text-align: left;
- float: left;
- display: block;
- width: 30%;
- border-right: none;
- padding: 0;
- margin: 0;
- font-size: 1.1em;
-}
-fieldset.polls dd { float: left;
- width: 10%;
- border-left: none;
- padding: 0 5px;
- margin-left: 0;
- font-size: 1.1em;
-}
-fieldset.polls dd.resultbar { width: 50%;}
-fieldset.polls dd input { margin: 2px 0; }
-fieldset.polls dd div { text-align: right;
- font-family: Arial, Helvetica, sans-serif;
- color: #FFFFFF;
- font-weight: bold;
- padding: 0 2px;
- overflow: visible;
- min-width: 2%;
-}
-.pollbar1 { background-color: #aaaaaa;
- border-bottom: 1px solid #747474;
- border-right: 1px solid #747474;
-}
-.pollbar2 { background-color: #bebebe;
- border-bottom: 1px solid #8c8c8c;
- border-right: 1px solid #8c8c8c;
-}
-.pollbar3 { background-color: #D1D1D1;
- border-bottom: 1px solid #aaaaaa;
- border-right: 1px solid #aaaaaa;
-}
-.pollbar4 { background-color: #e4e4e4;
- border-bottom: 1px solid #bebebe;
- border-right: 1px solid #bebebe;
-}
-.pollbar5 { background-color: #f8f8f8;
- border-bottom: 1px solid #D1D1D1;
- border-right: 1px solid #D1D1D1;
-}
-/* Poster profile block
-----------------------------------------*/
-.postprofile { /* Also see tweaks.css */
- margin: 5px 0 10px 0;
- min-height: 80px;
- color: #666666;
- border-left: 1px solid #FFFFFF;
- width: 22%;
- float: right;
- display: inline;
-}
-.pm .postprofile { border-left: 1px solid #DDDDDD; }
-.postprofile dd, .postprofile dt { line-height: 1.2em;
- margin-left: 8px;
-}
-.postprofile strong {font-weight: normal;
- color: #000000;
-}
-.avatar { border: none;
- margin-bottom: 3px;
-}
-.online { background-image: none;
- background-position: 100% 0;
- background-repeat: no-repeat;
-}
-/* Poster profile used by search*/
-.search .postprofile { width: 30%;}
-/* pm list in compose message if mass pm is enabled */
-dl.pmlist dt { width: 60% !important;}
-dl.pmlist dt textarea { width: 95%;}
-dl.pmlist dd { margin-left: 61% !important;
- margin-bottom: 2px;
-}
-/* proSilver Button Styles
----------------------------------------- */
-/* Rollover buttons
- Based on: http://wellstyled.com/css-nopreload-rollovers.html
-----------------------------------------*/
-.buttons { float: left;
- width: auto;
- height: auto;
-}
-/* Rollover state */
-.buttons div { float: left;
- margin: 0 5px 0 0;
- background-position: 0 100%;
-}
-/* Rolloff state */
-.buttons div a { display: block;
- width: 100%;
- height: 100%;
- background-position: 0 0;
-}
-/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
-.buttons div span { display: none; }
-.buttons div a:hover { background-image: none; }
-/* Big button images */
-.reply-icon, .reply-icon a { background: transparent none 0 0 no-repeat; }
-.post-icon, .post-icon a { background: transparent none 0 0 no-repeat; }
-.locked-icon, .locked-icon a { background: transparent none 0 0 no-repeat; }
-.pmreply-icon, .pmreply-icon a { background: none 0 0 no-repeat; }
-.newpm-icon, .newpm-icon a { background: none 0 0 no-repeat; }
-.forwardpm-icon, .forwardpm-icon a { background: none 0 0 no-repeat; }
-/* Set big button dimensions */
-.buttons div.reply-icon { width: 96px; height: 25px; }
-.buttons div.post-icon { width: 96px; height: 25px; }
-.buttons div.locked-icon { width: 96px; height: 25px; }
-.buttons div.pmreply-icon { width: 96px; height: 25px; }
-.buttons div.newpm-icon { width: 96px; height: 25px; }
-.buttons div.forwardpm-icon { width: 110px; height: 25px; }
-/* Sub-header (navigation bar)
---------------------------------------------- */
-a.print, a.sendemail, a.fontsize { display: block;
- overflow: hidden;
- height: 18px;
- text-indent: -5000px;
- text-align: left;
- background-repeat: no-repeat;
-}
-a.fontsize { background-image: none;
- background-position: 0 -1px;
- width: 29px;
-}
-a.fontsize:hover { background-position: 0 -20px;
- text-decoration: none;
-}
-/* Icon images
----------------------------------------- */
-.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,
-.icon-bookmark, .icon-bump, .icon-subscribe, .icon-unsubscribe, .icon-pages, .icon-search {
- background-position: 0 50%;
- background-repeat: no-repeat;
- background-image: none;
- padding: 1px 0 0 17px;
-}
-/* Poster profile icons
-----------------------------------------*/
-ul.profile-icons { padding-top: 10px;
- list-style: none;
-}
-/* Rollover state */
-ul.profile-icons li { float: left;
- margin: 0 6px 3px 0;
- background-position: 0 100%;
-}
-/* Rolloff state */
-ul.profile-icons li a { display: block;
- width: 100%;
- height: 100%;
- background-position: 0 0;
-}
-/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
-ul.profile-icons li span { display:none; }
-ul.profile-icons li a:hover { background: none; }
-/* Positioning of moderator icons */
-.postbody ul.profile-icons { float: right;
- width: auto;
- padding: 0;
-}
-.postbody ul.profile-icons li { margin: 0 3px;}
-/* Profile & navigation icons */
-.email-icon, .email-icon a { background: none top left no-repeat; }
-.aim-icon, .aim-icon a { background: none top left no-repeat; }
-.yahoo-icon, .yahoo-icon a { background: none top left no-repeat; }
-.web-icon, .web-icon a { background: none top left no-repeat; }
-.msnm-icon, .msnm-icon a { background: none top left no-repeat; }
-.icq-icon, .icq-icon a { background: none top left no-repeat; }
-.jabber-icon, .jabber-icon a { background: none top left no-repeat; }
-.pm-icon, .pm-icon a { background: none top left no-repeat; }
-.quote-icon, .quote-icon a { background: none top left no-repeat; }
-/* Moderator icons */
-.report-icon, .report-icon a { background: none top left no-repeat; }
-.warn-icon, .warn-icon a { background: none top left no-repeat; }
-.edit-icon, .edit-icon a { background: none top left no-repeat; }
-.delete-icon, .delete-icon a { background: none top left no-repeat; }
-.info-icon, .info-icon a { background: none top left no-repeat; }
-/* Set profile icon dimensions */
-ul.profile-icons li.email-icon { width: 20px; height: 20px; }
-ul.profile-icons li.aim-icon { width: 20px; height: 20px; }
-ul.profile-icons li.yahoo-icon { width: 20px; height: 20px; }
-ul.profile-icons li.web-icon { width: 20px; height: 20px; }
-ul.profile-icons li.msnm-icon { width: 20px; height: 20px; }
-ul.profile-icons li.icq-icon { width: 20px; height: 20px; }
-ul.profile-icons li.jabber-icon { width: 20px; height: 20px; }
-ul.profile-icons li.pm-icon { width: 28px; height: 20px; }
-ul.profile-icons li.quote-icon { width: 54px; height: 20px; }
-ul.profile-icons li.report-icon { width: 20px; height: 20px; }
-ul.profile-icons li.edit-icon { width: 58px; height: 20px; }
-ul.profile-icons li.delete-icon { width: 20px; height: 20px; }
-ul.profile-icons li.info-icon { width: 20px; height: 20px; }
-ul.profile-icons li.warn-icon { width: 20px; height: 20px; }
-/* Fix profile icon default margins */
-ul.profile-icons li.edit-icon { margin: 0 0 0 3px; }
-ul.profile-icons li.quote-icon { margin: 0 0 0 10px; }
-ul.profile-icons li.info-icon, ul.profile-icons li.report-icon { margin: 0 3px 0 0; }
-/* proSilver Form Styles
----------------------------------------- */
-/* General form styles
-----------------------------------------*/
-fieldset { border-width: 0;
- font-family: Verdana, Helvetica, Arial, sans-serif;
- font-size: 1.1em;
-}
-input { font-weight: normal;
- cursor: pointer;
- vertical-align: middle;
- padding: 0 3px;
- font-size: 1em;
- font-family: Verdana, Helvetica, Arial, sans-serif;
-}
-select {font-family: Verdana, Helvetica, Arial, sans-serif;
- font-weight: normal;
- cursor: pointer;
- vertical-align: middle;
- border: 1px solid #666666;
- padding: 1px;
- background-color: #FAFAFA;
-}
-option { padding-right: 1em; }
-option.disabled-option { color: graytext; }
-textarea { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
- width: 60%;
- padding: 2px;
- font-size: 1em;
- line-height: 1.4em;
-}
-label { cursor: default;
- padding-right: 5px;
- color: #676767;
-}
-label input { vertical-align: middle;}
-label img { vertical-align: middle;}
-/* Definition list layout for forms
----------------------------------------- */
-fieldset dl { padding: 4px 0;}
-fieldset dt { float: left;
- width: 40%;
- text-align: left;
- display: block;
-}
-fieldset dd { margin-left: 41%;
- vertical-align: top;
- margin-bottom: 3px;
-}
-/* Specific layout 1 */
-fieldset.fields1 dt { width: 15em;
- border-right-width: 0;
-}
-fieldset.fields1 dd { margin-left: 15em;
- border-left-width: 0;
-}
-fieldset.fields1 { background-color: transparent; }
-fieldset.fields1 div { margin-bottom: 3px; }
-/* Specific layout 2 */
-fieldset.fields2 dt { width: 15em;
- border-right-width: 0;
-}
-fieldset.fields2 dd { margin-left: 16em;
- border-left-width: 0;
-}
-/* Form elements */
-dt label { font-weight: bold;
- text-align: left;
-}
-dd label { white-space: nowrap;
- color: #333;
-}
-dd input, dd textarea { margin-right: 3px; }
-dd select { width: auto; }
-dd textarea { width: 85%; }
-/* Hover effects */
-fieldset dl:hover dt label {color: #000000;}
-fieldset.fields2 dl:hover dt label { color: inherit;}
-/* Submit button fieldset */
-fieldset.submit-buttons { text-align: center;
- vertical-align: middle;
- margin: 5px 0;
-}
-fieldset.submit-buttons input { vertical-align: middle;
- padding-top: 3px;
- padding-bottom: 3px;
-}
-/* Input field styles
----------------------------------------- */
-.inputbox { background-color: #FFFFFF;
- border: 1px solid #c0c0c0;
- color: #333333;
- padding: 2px;
- cursor: text;
-}
-.inputbox:hover { border: 1px solid #eaeaea;}
-.inputbox:focus { border: 1px solid #eaeaea;
- color: #4b4b4b;
-}
-input.inputbox { width: 85%; }
-input.medium { width: 50%; }
-input.narrow { width: 25%; }
-input.tiny { width: 125px; }
-textarea.inputbox { width: 85%; }
-.autowidth {width: auto !important;}
-/* Form button styles
----------------------------------------- */
-input.button1, input.button2 {font-size: 1em;}
-a.button1, input.button1, input.button3, a.button2, input.button2 {
- width: auto !important;
- padding-top: 1px;
- padding-bottom: 1px;
- font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
- color: #000;
- background: #FAFAFA none repeat-x top;
-}
-a.button1, input.button1 {font-weight: bold;
- border: 1px solid #666666;
-}
-input.button3 {padding: 0;
- margin: 0;
- line-height: 5px;
- height: 12px;
- background-image: none;
- font-variant: small-caps;
-}
-/* Alternative button */
-a.button2, input.button2, input.button3 {border: 1px solid #666666;}
-/* <a> button in the style of the form buttons */
-a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active {
- text-decoration: none;
- color: #000000;
- padding: 2px 8px;
- line-height: 250%;
- vertical-align: text-bottom;
- background-position: 0 1px;
-}
-/* Hover states */
-a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {
- border: 1px solid #BCBCBC;
- background-position: 0 100%;
- color: #BCBCBC;
-}
-
-/* Topic and forum Search */
-.search-box {margin-top: 3px;
- margin-left: 5px;
- float: left;
-}
-.search-box input {
-}
-input.search {background-image: none;
- background-repeat: no-repeat;
- background-position: left 1px;
- padding-left: 17px;
-}
-/* proSilver Style Sheet Tweaks
-These style definitions are mainly IE specific
-tweaks required due to its poor CSS support.
--------------------------------------------------*/
-* html table, * html select, * html input { font-size: 100%; }
-* html hr { margin: 0; }
-* html span.corners-top, * html span.corners-bottom { background-image: url("{T_IMAGE_PATH}corners_left.gif"); }
-* html span.corners-top span, * html span.corners-bottom span { background-image: url("{T_IMAGE_PATH}corners_right.gif"); }
-table.table1 {width: 99%; /* IE < 6 browsers */
- /* Tantek hack */
- voice-family: "\"}\"";
- voice-family: inherit;
- width: 100%;
-}
-html>body table.table1 { width: 100%; } /* Reset 100% for opera */
-* html ul.topiclist li { position: relative; }
-* html .postbody h3 img { vertical-align: middle; }
-/* Form styles */
-html>body dd label input { vertical-align: text-bottom; } /* Align checkboxes/radio buttons nicely */
-* html input.button1, * html input.button2 {
- padding-bottom: 0;
- margin-bottom: 1px;
-}
-/* Misc layout styles */
-* html .column1, * html .column2 { width: 45%; }
-/* Nice method for clearing floated blocks without having to insert any extra markup (like spacer above)
- From http://www.positioniseverything.net/easyclearing.html
-#tabs:after, #minitabs:after, .post:after, .navbar:after, fieldset dl:after, ul.topiclist dl:after, ul.linklist:after, dl.polls:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
-}*/
-.clearfix, #tabs, #minitabs, .post, .navbar, fieldset dl, ul.topiclist dl, ul.linklist, dl.polls {
- height: 1%;
- overflow: hidden;
-}
-/* Simple fix so forum and topic lists always have a min-height set, even in IE6
- From http://www.dustindiaz.com/min-height-fast-hack */
-dl.icon { min-height: 35px;
- height: auto !important;
- height: 35px;
-}
-* html #search-box {
- margin-right: 35px;
-}
-/* Correctly clear floating for details on profile view */
-*:first-child+html dl.details dd { margin-left: 15em;
- float: none;
-}
-* html dl.details dd { margin-left: 15em;
- float: none;
-}
-/*
---------------------------------------------------------------
-Colours and backgrounds for common.css
--------------------------------------------------------------- */
-html, body { color: #536482;
- background-color: #FFFFFF;
-}
-h1 { color: #FFFFFF;}
-h2 {color: #28313F;}
-h3 {border-bottom-color: #CCCCCC;
- color: #115098;
-}
-hr {border-color: #FFFFFF;
- border-top-color: #CCCCCC;
-}
-hr.dashed {border-top-color: #CCCCCC;}
-/* Search box
---------------------------------------------- */
-#search-box {color: #FFFFFF;}
-#search-box #keywords {background-color: #FFF;}
-#search-box input {border-color: #0075B0;}
-/* Round cornered boxes and backgrounds
----------------------------------------- */
-.headerbar {background-color: #12A3EB;
- background-image: url("{T_IMAGE_PATH}bg_header.gif");
- color: #FFFFFF;
-}
-.navbar {background-color: #cadceb;}
-.forabg {background-color: #0076b1;
- background-image: url("{T_IMAGE_PATH}bg_list.gif");
-}
-.forumbg {background-color: #12A3EB;
- background-image: url("{T_IMAGE_PATH}bg_header.gif");
-}
-.panel {background-color: #ECF1F3;
- color: #28313F;
-}
-.post:target .content {color: #000000;}
-.post:target h3 a {color: #000000;}
-.bg1 { background-color: #ECF3F7; }
-.bg2 { background-color: #e1ebf2; }
-.bg3 { background-color: #cadceb; }
-.ucprowbg {background-color: #DCDEE2;}
-.fieldsbg {background-color: #E7E8EA;}
-span.corners-top {background-image: url("{T_IMAGE_PATH}corners_left.png");}
-span.corners-top span {background-image: url("{T_IMAGE_PATH}corners_right.png");}
-span.corners-bottom {background-image: url("{T_IMAGE_PATH}corners_left.png");}
-span.corners-bottom span {background-image: url("{T_IMAGE_PATH}corners_right.png");}
-/* Horizontal lists
-----------------------------------------*/
-ul.navlinks {border-bottom-color: #FFFFFF;}
-/* Misc layout styles
----------------------------------------- */
-dl.details dt {
- color: #000000;
-}
-
-dl.details dd {
- color: #536482;
-}
-
-.sep {
- color: #1198D9;
-}
-/* Miscellaneous styles
----------------------------------------- */
-.copyright {color: #555555;}
-.error {color: #BC2A4D;}
-.reported {background-color: #F7ECEF;}
-li.reported:hover {background-color: #ECD5D8 !important;}
-.sticky, .announce {/* you can add a background for stickies and announcements*/}
-div.rules {background-color: #ECD5D8;
- color: #BC2A4D;
-}
-p.rules {background-color: #ECD5D8;
- background-image: none;
-}
-/*
---------------------------------------------------------------
-Colours and backgrounds for links.css
--------------------------------------------------------------- */
-a:link { color: #105289; }
-a:visited { color: #105289; }
-a:hover { color: #D31141; }
-a:active { color: #368AD2; }
-/* Links on gradient backgrounds */
-#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link {color: #FFFFFF;}
-#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited {color: #FFFFFF;}
-#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover {color: #A8D8FF;}
-#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active {color: #C8E6FF;}
-/* Links for forum/topic lists */
-a.forumtitle {color: #105289;}
-/* a.forumtitle:visited { color: #105289; } */
-a.forumtitle:hover {color: #BC2A4D;}
-a.forumtitle:active {color: #105289;}
-a.topictitle {color: #105289;}
-/* a.topictitle:visited { color: #368AD2; } */
-a.topictitle:hover {color: #BC2A4D;}
-a.topictitle:active {color: #105289;}
-/* Post body links */
-.postlink {color: #368AD2;
- border-bottom-color: #368AD2;
-}
-.postlink:visited {color: #5D8FBD;
- border-bottom-color: #666666;
-}
-.postlink:active {color: #368AD2;}
-.postlink:hover {background-color: #D0E4F6;
- color: #0D4473;
-}
-.signature a, .signature a:visited, .signature a:active, .signature a:hover {background-color: transparent;}
-/* Profile links */
-.postprofile a:link, .postprofile a:active, .postprofile a:visited, .postprofile dt.author a {color: #105289;}
-.postprofile a:hover, .postprofile dt.author a:hover {color: #D31141;}
-/* Profile searchresults */
-.search .postprofile a {color: #105289;}
-.search .postprofile a:hover {color: #D31141;}
-/* Back to top of page */
-a.top {background-image: url("{T_IMAGE_PATH}icon_back_top.gif");}
-a.top2 {background-image: url("{T_IMAGE_PATH}icon_back_top.gif");}
-/* Arrow links */
-a.up { background-image: url("{T_IMAGE_PATH}arrow_up.gif") }
-a.down { background-image: url("{T_IMAGE_PATH}arrow_down.gif") }
-a.left { background-image: url("{T_IMAGE_PATH}arrow_left.gif") }
-a.right { background-image: url("{T_IMAGE_PATH}arrow_right.gif") }
-a.up:hover {background-color: transparent;}
-a.left:hover {color: #368AD2;}
-a.right:hover {color: #368AD2;}
-/*
---------------------------------------------------------------
-Colours and backgrounds for content.css
--------------------------------------------------------------- */
-ul.forums {background-color: #eef5f9;
- background-image: url("{T_IMAGE_PATH}gradient.gif");
-}
-ul.topiclist li {color: #4C5D77;}
-ul.topiclist dd {border-left-color: #FFFFFF;}
-.rtl ul.topiclist dd {border-right-color: #fff;
- border-left-color: transparent;
-}
-ul.topiclist li.row dt a.subforum.read {background-image: url("{T_IMAGE_PATH}subforum_read.gif");}
-ul.topiclist li.row dt a.subforum.unread {background-image: url("{T_IMAGE_PATH}subforum_unread.gif");}
-li.row {border-top-color: #FFFFFF;
- border-bottom-color: #00608F;
-}
-li.row strong {color: #000000;}
-li.row:hover {background-color: #F6F4D0;}
-li.row:hover dd {border-left-color: #CCCCCC;}
-.rtl li.row:hover dd {border-right-color: #CCCCCC;
- border-left-color: transparent;
-}
-li.header dt, li.header dd {color: #FFFFFF;}
-/* Forum list column styles */
-ul.topiclist dd.searchextra {color: #333333;}
-/* Post body styles
-----------------------------------------*/
-.postbody {color: #333333;}
-/* Content container styles
-----------------------------------------*/
-.content {color: #333333;}
-.content h2, .panel h2 {color: #115098;
- border-bottom-color: #CCCCCC;
-}
-dl.faq dt {color: #333333;}
-.posthilit {background-color: #F3BFCC;
- color: #BC2A4D;
-}
-/* Post signature */
-.signature {border-top-color: #CCCCCC;}
-/* Post noticies */
-.notice {border-top-color: #CCCCCC;}
-/* BB Code styles
-----------------------------------------*/
-/* Quote block */
-blockquote {background-color: #EBEADD;
- background-image: url("{T_IMAGE_PATH}quote.gif");
- border-color:#DBDBCE;
-}
-blockquote blockquote {/* Nested quotes */
- background-color:#EFEED9;
-}
-blockquote blockquote blockquote {/* Nested quotes */
- background-color: #EBEADD;
-}
-/* Code block */
-dl.codebox {background-color: #FFFFFF;
- border-color: #C9D2D8;
-}
-dl.codebox dt {border-bottom-color: #CCCCCC;
-}
-dl.codebox code {color: #2E8B57;}
-.syntaxbg { color: #FFFFFF; }
-.syntaxcomment { color: #FF8000; }
-.syntaxdefault { color: #0000BB; }
-.syntaxhtml { color: #000000; }
-.syntaxkeyword { color: #007700; }
-.syntaxstring { color: #DD0000; }
-/* Attachments
-----------------------------------------*/
-.attachbox {background-color: #FFFFFF;
- border-color: #C9D2D8;
-}
-.pm-message .attachbox {background-color: #F2F3F3;}
-.attachbox dd {border-top-color: #C9D2D8;}
-.attachbox p {color: #666666;}
-.attachbox p.stats {color: #666666;}
-.attach-image img {border-color: #999999;}
-/* Inline image thumbnails */
-dl.file dd {color: #666666;}
-dl.thumbnail img {border-color: #666666;
- background-color: #FFFFFF;
-}
-dl.thumbnail dd {color: #666666;}
-dl.thumbnail dt a:hover {background-color: #EEEEEE;}
-dl.thumbnail dt a:hover img {border-color: #368AD2;}
-/* Post poll styles
-----------------------------------------*/
-fieldset.polls dl {border-top-color: #DCDEE2;
- color: #666666;
-}
-fieldset.polls dl.voted {color: #000000;
-}
-fieldset.polls dd div {color: #FFFFFF;
-}
-.rtl .pollbar1, .rtl .pollbar2, .rtl .pollbar3, .rtl .pollbar4, .rtl .pollbar5 {border-right-color: transparent;
-}
-.pollbar1 {background-color: #AA2346;
- border-bottom-color: #74162C;
- border-right-color: #74162C;
-}
-.rtl .pollbar1 {border-left-color: #74162C;}
-.pollbar2 {background-color: #BE1E4A;
- border-bottom-color: #8C1C38;
- border-right-color: #8C1C38;
-}
-.rtl .pollbar2 {border-left-color: #8C1C38;}
-.pollbar3 {background-color: #D11A4E;
- border-bottom-color: #AA2346;
- border-right-color: #AA2346;
-}
-.rtl .pollbar3 {border-left-color: #AA2346;}
-.pollbar4 {background-color: #E41653;
- border-bottom-color: #BE1E4A;
- border-right-color: #BE1E4A;
-}
-.rtl .pollbar4 {border-left-color: #BE1E4A;}
-.pollbar5 {background-color: #F81157;
- border-bottom-color: #D11A4E;
- border-right-color: #D11A4E;
-}
-.rtl .pollbar5 {border-left-color: #D11A4E;}
-/* Poster profile block
-----------------------------------------*/
-.postprofile {color: #666666;
- border-left-color: #FFFFFF;
-}
-.rtl .postprofile {border-right-color: #FFFFFF;
- border-left-color: transparent;
-}
-.pm .postprofile {border-left-color: #DDDDDD;}
-.rtl .pm .postprofile {border-right-color: #DDDDDD;
- border-left-color: transparent;
-}
-.postprofile strong {color: #000000;}
-.online {background-image: url("./styles/prosilver/imageset/fr/icon_user_online.gif");}
-/*
---------------------------------------------------------------
-Colours and backgrounds for buttons.css
--------------------------------------------------------------- */
-a.fontsize {background-image: url("{T_IMAGE_PATH}icon_fontsize.gif");}
-/* Icon images
----------------------------------------- */
-.sitehome { background-image: url("{T_IMAGE_PATH}icon_home.gif"); }
-.icon-faq { background-image: url("{T_IMAGE_PATH}icon_faq.gif"); }
-.icon-ucp { background-image: url("{T_IMAGE_PATH}feed-icon.png"); }
-.icon-members { background-image: url("{T_IMAGE_PATH}icon_members.gif"); }
-.icon-home { background-image: url("{T_IMAGE_PATH}icon_home.gif"); }
-.icon-register { background-image: url("{T_IMAGE_PATH}icon_register.gif"); }
-.icon-logout { background-image: url("{T_IMAGE_PATH}icon_logout.gif"); }
-.icon-bookmark { background-image: url("{T_IMAGE_PATH}icon_bookmark.gif"); }
-.icon-subscribe { background-image: url("{T_IMAGE_PATH}icon_subscribe.gif"); }
-.icon-search { background-image: url("{T_IMAGE_PATH}icon_search.gif"); }
-/*
---------------------------------------------------------------
-Colours and backgrounds for forms.css
--------------------------------------------------------------- */
-/* General form styles
-----------------------------------------*/
-select {border-color: #666666;
- background-color: #FAFAFA;
-}
-label {color: #425067;}
-option.disabled-option {color: graytext;}
-/* Definition list layout for forms
----------------------------------------- */
-dd label {color: #333;}
-/* Hover effects */
-fieldset dl:hover dt label {color: #000000;}
-fieldset.fields2 dl:hover dt label {color: inherit;}
-/* Quick-login on index page */
-fieldset.quick-login input.inputbox {background-color: #F2F3F3;}
-/* Input field styles
----------------------------------------- */
-.inputbox {background-color: #FFFFFF;
- border-color: #B4BAC0;
- color: #333333;
-}
-.inputbox:hover {border-color: #11A3EA;}
-.inputbox:focus {border-color: #11A3EA;
- color: #0F4987;
-}
-/* Form button styles
----------------------------------------- */
-a.button1, input.button1, input.button3, a.button2, input.button2 {color: #000;
- background-color: #FAFAFA;
- background-image: url("{T_IMAGE_PATH}bg_button.gif");
-}
-a.button1, input.button1 {border-color: #666666;}
-input.button3 {background-image: none;}
-/* Alternative button */
-a.button2, input.button2, input.button3 {border-color: #666666;}
-/* <a> button in the style of the form buttons */
-a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active {color: #000000;}
-/* Hover states */
-a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {border-color: #BC2A4D;
- color: #BC2A4D;
-}
-input.search {background-image: url("{T_IMAGE_PATH}icon_textbox_search.gif");}
-#wrap {
- padding: 0 20px;
-}
diff --git a/phpBB/styles/prosilver/theme/gym_rss_links.css b/phpBB/styles/prosilver/theme/gym_rss_links.css deleted file mode 100644 index 0a4358ed14..0000000000 --- a/phpBB/styles/prosilver/theme/gym_rss_links.css +++ /dev/null @@ -1,18 +0,0 @@ -/* the news box when JavaScript is available */
-#news.hasJS
-{
- width:100%;
- height:120px;
- overflow:hidden;
- position:relative;
-}
-/* The nested UL when JavaScript is available */
-#news.hasJS ul
-{
- width:100%;
- position:absolute;
- top:120px;
- left:0;
- margin:0 .5em 0 .5em;
- padding:0;
-}
diff --git a/phpBB/styles/subsilver2/imageset/fr/imageset.cfg b/phpBB/styles/subsilver2/imageset/fr/imageset.cfg deleted file mode 100644 index c0cc699737..0000000000 --- a/phpBB/styles/subsilver2/imageset/fr/imageset.cfg +++ /dev/null @@ -1,47 +0,0 @@ -# -# phpBB Imageset Configuration File -# -# @package phpBB3 -# @copyright (c) 2005 phpBB Group -# @license http://opensource.org/licenses/gpl-license.php GNU Public License -# -# -# At the left is the name, please do not change this -# At the right the value is entered -# For on/off options the valid values are on, off, 1, 0, true and false -# -# Values get trimmed, if you want to add a space in front or at the end of -# the value, then enclose the value with single or double quotes. -# Single and double quotes do not need to be escaped. -# -# - -# Images -img_icon_contact_aim = icon_contact_aim.gif -img_icon_contact_email = icon_contact_email.gif -img_icon_contact_icq = icon_contact_icq.gif -img_icon_contact_jabber = icon_contact_jabber.gif -img_icon_contact_msnm = icon_contact_msnm.gif -img_icon_contact_pm = icon_contact_pm.gif -img_icon_contact_yahoo = icon_contact_yahoo.gif -img_icon_contact_www = icon_contact_www.gif - -img_icon_post_delete = icon_post_delete.gif -img_icon_post_edit = icon_post_edit.gif -img_icon_post_info = icon_post_info.gif -img_icon_post_quote = icon_post_quote.gif -img_icon_post_report = icon_post_report.gif - -img_icon_user_online = icon_user_online.gif -img_icon_user_offline = icon_user_offline.gif -img_icon_user_profile = icon_user_profile.gif -img_icon_user_search = icon_user_search.gif -img_icon_user_warn = icon_user_warn.gif - -img_button_pm_forward = -img_button_pm_new = button_pm_new.gif -img_button_pm_reply = button_pm_reply.gif -img_button_topic_locked = button_topic_locked.gif -img_button_topic_new = button_topic_new.gif -img_button_topic_reply = button_topic_reply.gif - diff --git a/phpBB/styles/subsilver2/imageset/fr/index.htm b/phpBB/styles/subsilver2/imageset/fr/index.htm deleted file mode 100644 index 90a3130b62..0000000000 --- a/phpBB/styles/subsilver2/imageset/fr/index.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html> -<head> -<title></title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -</head> - -<body bgcolor="#FFFFFF" text="#000000"> - -</body> -</html>
\ No newline at end of file diff --git a/phpBB/styles/subsilver2/template/attachment.html b/phpBB/styles/subsilver2/template/attachment.html index c0a6dad3d8..833bd4d55f 100644 --- a/phpBB/styles/subsilver2/template/attachment.html +++ b/phpBB/styles/subsilver2/template/attachment.html @@ -10,19 +10,19 @@ <!-- ENDIF --> <!-- IF _file.S_THUMBNAIL --> - <a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="<!-- IF _file.COMMENT_CLEAN -->{_file.COMMENT_CLEAN} / {_file.DOWNLOAD_NAME}<!-- ELSE -->{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}<!-- ENDIF -->"/></a><br /> + <a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" /></a><br /> <span class="gensmall">{_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</span> <!-- ENDIF --> <!-- IF _file.S_IMAGE --> - <img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" title="<!-- IF _file.COMMENT_CLEAN -->{_file.COMMENT_CLEAN} / <!-- ENDIF -->{_file.DOWNLOAD_NAME}"/><br /> + <img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" /><br /> <span class="gensmall">{_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</span> <!-- ENDIF --> <!-- IF _file.S_FILE --> <span class="genmed"> <!-- IF _file.UPLOAD_ICON -->{_file.UPLOAD_ICON} <!-- ENDIF --> - <a href="{_file.U_DOWNLOAD_LINK}" title="<!-- IF _file.COMMENT_CLEAN -->{_file.COMMENT_CLEAN} / <!-- ENDIF -->{_file.DOWNLOAD_NAME}">{_file.DOWNLOAD_NAME}</a> [{_file.FILESIZE} {_file.SIZE_LANG}] + <a href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a> [{_file.FILESIZE} {_file.SIZE_LANG}] </span><br /> <span class="gensmall">{_file.L_DOWNLOAD_COUNT}</span> <!-- ENDIF --> diff --git a/phpBB/styles/subsilver2/template/forumlist_body.html b/phpBB/styles/subsilver2/template/forumlist_body.html index 0b96b1dd79..a994e9e676 100644 --- a/phpBB/styles/subsilver2/template/forumlist_body.html +++ b/phpBB/styles/subsilver2/template/forumlist_body.html @@ -56,12 +56,9 @@ <td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td> <td class="row2" align="center" nowrap="nowrap"> <!-- IF forumrow.LAST_POST_TIME --> - <!-- IF forumrow.LAST_POST_LINK --> - <p class="topicdetails"><i>{forumrow.LAST_POST_LINK}</i></p> - <!-- ENDIF --> <p class="topicdetails"><!-- IF forumrow.U_UNAPPROVED_TOPICS --><a href="{forumrow.U_UNAPPROVED_TOPICS}">{UNAPPROVED_IMG}</a> <!-- ENDIF -->{forumrow.LAST_POST_TIME}</p> <p class="topicdetails">{forumrow.LAST_POSTER_FULL} - <a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> + <!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF --> </p> <!-- ELSE --> <p class="topicdetails">{L_NO_POSTS}</p> diff --git a/phpBB/styles/subsilver2/template/gym_sitemaps/display_forums_list.html b/phpBB/styles/subsilver2/template/gym_sitemaps/display_forums_list.html deleted file mode 100644 index 32ec546586..0000000000 --- a/phpBB/styles/subsilver2/template/gym_sitemaps/display_forums_list.html +++ /dev/null @@ -1,57 +0,0 @@ -<!-- IF DISPLAY_FORUMS_H1 --><h1><!-- IF U_FORUMS --><a href="{U_FORUMS}" title="{H1_FORUMS}">{H1_FORUMS}</a><!-- ELSE -->{H1_FORUMS}<!-- ENDIF --></h1><!-- ENDIF -->
-<!-- IF FORUM_MAP_URL or FORUM_NEWS_URL --><h3><!-- IF FORUM_NEWS_URL --><a href="{FORUM_NEWS_URL}" title="{FORUM_NEWS}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {FORUM_NEWS}</a><!-- ENDIF --><!-- IF FORUM_MAP_URL --> <strong>»</strong> <a href="{FORUM_MAP_URL}" title="{H1_FORUMS}">{H1_FORUMS}</a><!-- ENDIF --></h3><!-- ENDIF -->
-<!-- IF MAP_DESC --><span>{MAP_DESC}<br /></span><!-- ENDIF --><br />
-<table class="tablebg" cellspacing="1" width="100%">
- <tr>
- <td class="cat" colspan="4"> </td>
- </tr>
- <tr>
- <th <!-- IF DISPLAY_LAST_POST -->colspan="2"<!-- ELSE -->colspan="3"<!-- ENDIF -->> {L_FORUM} </th>
- <!-- IF DISPLAY_LAST_POST --><th> {L_LAST_POST} </th><!-- ENDIF -->
- </tr>
-<!-- BEGIN forumrow -->
- <!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW or forumrow.S_NO_CAT-->
- <tr>
- <td class="cat" colspan="3"><h4>
- <!-- IF forumrow.FORUM_NEWS_LINK -->{forumrow.FORUM_NEWS_LINK} <!-- ENDIF -->
- <!-- IF forumrow.FORUM_MAP_LINK --> {forumrow.FORUM_MAP_LINK}<!-- ENDIF --></h4>
- </td>
- </tr>
- <!-- ENDIF -->
- <!-- IF not forumrow.S_IS_CAT -->
- <tr>
- <td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
- <td class="row1" width="<!-- IF DISPLAY_LAST_POST -->75%<!-- ELSE -->100%<!-- ENDIF -->">
- <!-- IF forumrow.FORUM_IMAGE --><div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};"><!-- ENDIF -->
- <!-- IF forumrow.FORUM_NEWS_LINK --><span class="forumlink">{forumrow.FORUM_NEWS_LINK}</span> <!-- ENDIF -->
- <!-- IF forumrow.FORUM_MAP_LINK --><span class="forumlink"> {forumrow.FORUM_MAP_LINK}</span><!-- ENDIF -->
- <p class="forumdesc">{forumrow.FORUM_DESC}</p>
- <!-- IF forumrow.MODERATORS -->
- <p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p>
- <!-- ENDIF -->
- <!-- IF forumrow.SUBFORUMS --><div class="gymsublist"><b>{L_SUBFORUMS} :</b><hr/>{forumrow.SUBFORUMS}</div><!-- ENDIF -->
- <!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
- </td>
- <!-- IF DISPLAY_LAST_POST and not forumrow.S_IS_LINK -->
- <td class="row2" align="center" width="24%">
- <!-- IF forumrow.LAST_POST_TIME -->
- <!-- IF forumrow.LAST_POST_LINK -->
- <p class="topicdetails"><i>{forumrow.LAST_POST_LINK}</i></p>
- <!-- ENDIF -->
- <p class="topicdetails">
- <!-- IF DISPLAY_USER_INFO -->{L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}<!-- ENDIF -->
- <a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> {L_POSTED_ON_DATE} {forumrow.LAST_POST_TIME}
- </p>
- <!-- ELSE -->
- <p class="topicdetails">{L_NO_POSTS}</p>
- <!-- ENDIF -->
- </td>
- </tr>
- <!-- ENDIF -->
- <!-- ENDIF -->
-<!-- BEGINELSE -->
- <tr>
- <td class="row1" colspan="5" align="center"><p class="gensmall">{L_HTML_MAP_NONE}</p></td>
- </tr>
-<!-- END forumrow -->
-</table>
diff --git a/phpBB/styles/subsilver2/template/gym_sitemaps/display_posts_list.html b/phpBB/styles/subsilver2/template/gym_sitemaps/display_posts_list.html deleted file mode 100644 index 73c3526e0c..0000000000 --- a/phpBB/styles/subsilver2/template/gym_sitemaps/display_posts_list.html +++ /dev/null @@ -1,177 +0,0 @@ -<!-- IF DISPLAY_POSTS_H1 --><h1 id="news"><!-- IF U_POSTS --><a href="{U_POSTS}" title="{H1_POSTS}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {H1_POSTS}</a><!-- ELSE -->{H1_POSTS}<!-- ENDIF --></h1><!-- ENDIF -->
-<!-- IF FORUM_MAP_URL or FORUM_NEWS_URL --><h3><!-- IF FORUM_MAP_URL --><a href="{FORUM_MAP_URL}" title="{FORUM_MAP}">{FORUM_MAP}</a><!-- ENDIF --> <strong>»</strong> <a href="{FORUM_URL}" title="{FORUM_NAME}">{L_FORUM} : {FORUM_NAME}</a></h3><!-- ENDIF -->
-<!-- IF NEWS_DESC --><span>{NEWS_DESC}<br /></span><!-- ENDIF -->
-<!-- IF NEWS_RULES or NEWS_RULES_LINK -->
- <div class="forumrules">
- <!-- IF MAP_RULES_LINK -->
- <h3>{L_FORUM_RULES}</h3><br />
- <a href="{MAP_RULES_LINK}">{L_FORUM_RULES}</a>
- <!-- ELSE -->
- <h3>{L_FORUM_RULES}</h3><br />
- {MAP_RULES}
- <!-- ENDIF -->
- </div>
-<!-- ENDIF --><br/>
-<div id="pagecontent">
-<table class="tablebg" cellspacing="1" width="100%">
- <tr>
- <td class="cat"><!-- IF DISPLAY_PAGINATION --><table width="100%" cellspacing="1">
- <tr align="right">
- <!-- IF DISPLAY_PAGE_NUMBER --><td class="nav" valign="middle" nowrap="nowrap"> {DISPLAY_PAGE_NUMBER}<br /></td><!-- ENDIF -->
- <td class="gensmall" nowrap="nowrap"> [ {DISPLAY_TOTAL_TOPICS} ] </td>
- <!-- IF DISPLAY_PAGINATION --><td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><b><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{L_GOTO_PAGE}</a> {DISPLAY_PAGINATION}</b></td><!-- ENDIF -->
-
- </tr>
-</table><br/><!-- ENDIF -->
- </td>
-
-</tr></table>
-<!-- BEGIN postrow -->
- <table class="tablebg" width="100%" cellspacing="1">
- <!-- IF postrow.S_FIRST_ROW -->
- <tr>
- <!-- IF DISPLAY_USER_INFO --><th>{L_AUTHOR}</th><!-- ENDIF -->
- <th>{L_MESSAGE}</th>
- </tr>
- <!-- ENDIF -->
- <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
- <!-- IF DISPLAY_USER_INFO --><td align="center" valign="middle">
- <b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b>
- </td><!-- ENDIF -->
- <td width="100%" height="25">
- <table width="100%" cellspacing="0">
- <tr>
- <!-- IF postrow.POST_ICON_IMG -->
- <td><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" title="" /></td>
- <!-- ENDIF -->
- <td class="gensmall" width="100%"><div style="float: {S_CONTENT_FLOW_BEGIN};"> <b>{L_POST_SUBJECT}:</b> {postrow.POST_SUBJECT}</div><div style="float: {S_CONTENT_FLOW_END};"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF --><b>{L_POSTED}:</b> {postrow.POST_DATE} </div></td>
- </tr>
- </table>
- </td>
- </tr>
- <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
- <!-- IF DISPLAY_USER_INFO -->
- <td valign="top" class="profile">
- <table cellspacing="4" align="center" width="150">
- <!-- IF postrow.ONLINE_IMG -->
- <tr>
- <td>{postrow.ONLINE_IMG}</td>
- </tr>
- <!-- ENDIF -->
- <!-- IF postrow.RANK_TITLE -->
- <tr>
- <td class="postdetails">{postrow.RANK_TITLE}</td>
- </tr>
- <!-- ENDIF -->
- <!-- IF postrow.RANK_IMG -->
- <tr>
- <td>{postrow.RANK_IMG}</td>
- </tr>
- <!-- ENDIF -->
- <!-- IF postrow.POSTER_AVATAR -->
- <tr>
- <td>{postrow.POSTER_AVATAR}</td>
- </tr>
- <!-- ENDIF -->
- </table>
- <span class="postdetails">
- <!-- IF postrow.POSTER_JOINED --><br /><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
- <!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
- <!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->
-
- <!-- IF postrow.S_PROFILE_FIELD1 -->
- <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
- <br /><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}
- <!-- ENDIF -->
-
- <!-- BEGIN custom_fields -->
- <br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}
- <!-- END custom_fields -->
- </span>
-
- </td>
- <!-- ENDIF -->
- <td valign="top">
- <table width="100%" cellspacing="5">
- <tr>
- <td>
- <!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
- <table width="100%" cellspacing="0">
- <tr>
- <td class="gensmall"><!-- IF postrow.S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span> <!-- ENDIF --> <!-- IF postrow.S_POST_REPORTED --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></td>
- </tr>
- </table>
-
- <br clear="all" />
- <!-- ENDIF -->
- <div class="postbody">{postrow.MESSAGE}</div>
- <!-- IF postrow.S_HAS_ATTACHMENTS -->
- <br clear="all" /><br />
-
- <table class="tablebg" width="100%" cellspacing="1">
- <tr>
- <td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
- </tr>
- <!-- BEGIN attachment -->
- <tr>
- <!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td>
- </tr>
- <!-- END attachment -->
- </table>
- <!-- ENDIF -->
- <!-- IF postrow.S_DISPLAY_NOTICE -->
- <span class="gensmall error"><br /><br />{L_DOWNLOAD_NOTICE}</span>
- <!-- ENDIF -->
- <!-- IF postrow.U_MINI_POST -->
- <br /><span class="postbody">
- <strong>{L_HTML_MORE} :</strong> <a href="{postrow.U_MINI_POST}" title="{postrow.POST_SUBJECT}">{postrow.POST_SUBJECT}</a> | <strong>{L_VIEWS} :</strong> {postrow.VIEWS} | <strong>{L_REPLIES} :</strong> {postrow.REPLIES}<!-- IF not S_SINGLE_FORUM and postrow.U_VIEW_FORUM --> | <strong>{L_FORUM} :</strong> <a href="{postrow.U_VIEW_FORUM}" title="{postrow.FORUM_NAME}">{postrow.FORUM_NAME}</a><!-- ENDIF -->
- </span>
- <!-- ENDIF -->
- <!-- IF postrow.SIGNATURE -->
- <span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>
- <!-- ENDIF -->
- <!-- IF not postrow.S_HAS_ATTACHMENTS --><br clear="all" /><br /><!-- ENDIF -->
- <!-- IF DISPLAY_POST_BUTTONS -->
- <table width="100%" cellspacing="0">
- <tr valign="middle">
- <td class="gensmall" align="{S_CONTENT_FLOW_END}">
- <!-- IF not S_IS_BOT -->
- <!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF -->
- <!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF -->
- <!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF -->
- <!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->
- <!-- ENDIF -->
- </td>
- </tr>
- </table>
- <!-- ENDIF -->
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
- <td class="profile"><strong><a href="#wrapheader">{L_BACK_TO_TOP}</a></strong></td>
- <!-- IF DISPLAY_USER_INFO --><td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- IF postrow.U_PROFILE --><a href="{postrow.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF --> </div></td><!-- ENDIF -->
- </tr>
- <tr>
- <td class="spacer" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
- </tr>
- </table>
-<!-- BEGINELSE -->
-<div class="panel">
- <div class="inner"><span class="corners-top"><span></span></span>
- <p>{L_HTML_NEWS_NONE}</p>
- <span class="corners-bottom"><span></span></span></div>
-</div>
-<!-- END postrow -->
-
-</div>
-<!-- IF DISPLAY_PAGINATION --><table width="100%" cellspacing="1">
- <tr align="right">
- <!-- IF DISPLAY_PAGE_NUMBER --><td class="nav" valign="middle" nowrap="nowrap"> {DISPLAY_PAGE_NUMBER}<br /></td><!-- ENDIF -->
- <td class="gensmall" nowrap="nowrap"> [ {DISPLAY_TOTAL_TOPICS} ] </td>
- <!-- IF DISPLAY_PAGINATION --><td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><b><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{L_GOTO_PAGE}</a> {DISPLAY_PAGINATION}</b></td><!-- ENDIF -->
-
- </tr>
-</table><br/><!-- ENDIF -->
diff --git a/phpBB/styles/subsilver2/template/gym_sitemaps/display_topics_list.html b/phpBB/styles/subsilver2/template/gym_sitemaps/display_topics_list.html deleted file mode 100644 index 20c863bc67..0000000000 --- a/phpBB/styles/subsilver2/template/gym_sitemaps/display_topics_list.html +++ /dev/null @@ -1,77 +0,0 @@ -<!-- IF DISPLAY_TOPICS_H1 --><h1><!-- IF U_TOPICS --><a href="{U_TOPICS}" title="{H1_TOPICS}">{H1_TOPICS}</a><!-- ELSE -->{H1_TOPICS}<!-- ENDIF --></h1><!-- ENDIF -->
-<!-- IF FORUM_MAP_URL or FORUM_NEWS_URL --><h3><!-- IF FORUM_NEWS_URL --><a href="{FORUM_NEWS_URL}" title="{FORUM_NEWS}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {FORUM_NEWS}</a><!-- ENDIF --> <strong>»</strong> <a href="{FORUM_URL}" title="{FORUM_NAME}">{L_FORUM} : {FORUM_NAME}</a></h3><!-- ENDIF -->
-<!-- IF MAP_DESC --><span>{MAP_DESC}<br /></span><!-- ENDIF -->
-<!-- IF MAP_RULES or MAP_RULES_LINK -->
- <div class="forumrules">
- <!-- IF MAP_RULES_LINK -->
- <h3>{L_FORUM_RULES}</h3><br />
- <a href="{MAP_RULES_LINK}">{L_FORUM_RULES}</a>
- <!-- ELSE -->
- <h3>{L_FORUM_RULES}</h3><br />
- {MAP_RULES}
- <!-- ENDIF -->
- </div>
-<!-- ENDIF --><br/>
-
-<table class="tablebg" cellspacing="1" width="100%">
- <tr>
- <td class="cat" colspan="4">
- <!-- IF DISPLAY_PAGINATION -->
- <table width="100%" cellspacing="1">
- <tr align="right">
- <!-- IF DISPLAY_PAGE_NUMBER --><td class="nav" valign="middle" nowrap="nowrap"> {DISPLAY_PAGE_NUMBER}<br /></td><!-- ENDIF -->
- <td class="gensmall" nowrap="nowrap"> [ {DISPLAY_TOTAL_TOPICS} ] </td>
- <!-- IF DISPLAY_PAGINATION --><td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><b><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{L_GOTO_PAGE}</a> {DISPLAY_PAGINATION}</b><!-- ENDIF --></td>
-
- </tr>
- </table>
- <!-- ENDIF -->
- </td>
- </tr>
- <tr>
- <th <!-- IF DISPLAY_LAST_POST -->colspan="2"<!-- ELSE -->colspan="3"<!-- ENDIF -->> {L_FORUM} </th>
- <!-- IF DISPLAY_LAST_POST --><th> {L_LAST_POST} </th><!-- ENDIF -->
- </tr>
-
-<!-- BEGIN topicrow -->
- <tr>
- <td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
- <!-- IF S_TOPIC_ICONS -->
- <td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td>
- <!-- ENDIF -->
- <td class="row<!-- IF topicrow.S_ROW_COUNT is even -->1<!-- ELSE -->2<!-- ENDIF -->">
- <!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->
- <!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF --> <a href="{topicrow.U_VIEW_TOPIC}" class="topictitle" title="{topicrow.TOPIC_TITLE}">{topicrow.TOPIC_TITLE}</a>
- <!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
- <!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF -->
- <!-- IF topicrow.PAGINATION --><p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p><!-- ENDIF -->
-
- <p class="topicdetails"><!-- IF topicrow.TOPIC_AUTHOR_FULL -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL}<!-- ENDIF --> {L_POSTED_ON_DATE} {topicrow.FIRST_POST_TIME}</p>
- <!-- IF not S_SINGLE_FORUM and topicrow.U_VIEW_FORUM --><p class="topicdetails">{L_IN} <a href="{topicrow.U_VIEW_FORUM}" style="font-weight: bold;">{topicrow.FORUM_NAME}</a></p><!-- ENDIF -->
- </td>
- <!-- IF DISPLAY_LAST_POST -->
- <td class="row1" width="140" align="center">
- <p class="topicdetails"><a href="{topicrow.U_MINI_POST}" title="{L_LAST_POST} : {topicrow.TOPIC_LAST_POST_TITLE}">{LAST_POST_IMG} {topicrow.TOPIC_LAST_POST_TITLE}</a></p>
- <p class="topicdetails">
- <!-- IF topicrow.TOPIC_AUTHOR_FULL -->{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} <!-- ENDIF -->
- {L_POSTED_ON_DATE} {topicrow.LAST_POST_TIME}
- </p>
- </td>
- <!-- ENDIF -->
- </tr>
-<!-- BEGINELSE -->
- <tr>
- <td class="row1" colspan="5" align="center"><p class="gensmall">{L_HTML_NO_ITEMS}</p></td>
- </tr>
-<!-- END topicrow -->
-</table>
-<!-- IF DISPLAY_PAGINATION -->
-<table width="100%" cellspacing="1">
- <tr align="right">
- <!-- IF DISPLAY_PAGE_NUMBER --><td class="nav" valign="middle" nowrap="nowrap"> {DISPLAY_PAGE_NUMBER}<br /></td><!-- ENDIF -->
- <td class="gensmall" nowrap="nowrap"> [ {DISPLAY_TOTAL_TOPICS} ] </td>
- <!-- IF DISPLAY_PAGINATION --><td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><b><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{L_GOTO_PAGE}</a> {DISPLAY_PAGINATION}</b><!-- ENDIF --></td>
-
- </tr>
-</table><br/>
-<!-- ENDIF -->
diff --git a/phpBB/styles/subsilver2/template/gym_sitemaps/gym_link_body.html b/phpBB/styles/subsilver2/template/gym_sitemaps/gym_link_body.html deleted file mode 100644 index 9dd929d214..0000000000 --- a/phpBB/styles/subsilver2/template/gym_sitemaps/gym_link_body.html +++ /dev/null @@ -1,85 +0,0 @@ -<!-- IF HTML_URL or HTML_NEWS_URL --><h2><!-- IF HTML_NEWS_URL --><a href="{HTML_NEWS_URL}" title="{HTML_NEWS_TITLE}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {HTML_NEWS_TITLE}</a> <!-- ENDIF --><!-- IF HTML_URL --><strong>»</strong> <a href="{HTML_URL}" title="{HTML_SITENAME}">{HTML_SITENAME}</a><!-- ENDIF --></h2>
-<!-- IF HTML_SITEDESC --><span>{HTML_SITEDESC}<br /></span><!-- ENDIF -->
-<br clear="all" />
-<!-- ENDIF -->
-<!-- IF GYM_RSS_AGREGATED -->
- <!-- IF GYM_RSS_SLIDE -->
- <script type="text/javascript">
- // <![CDATA[
- // Message to stop scroller
- var dn_stopMessage='{L_GYM_RSS_SLIDE_STOP}';
- // Message to start scroller
- var dn_startMessage='{L_GYM_RSS_SLIDE_START}';
- // initial position
- var dn_startpos={GYM_RSS_SLIDE_SP_JS};
- // end position
- var dn_endpos=-{GYM_RSS_SLIDE_EP};
- // Speed of scroller higher number = slower scroller
- var dn_speed={GYM_RSS_SCRSPEED};
- // ID of the news box
- var dn_newsID='{GYM_RSS_CSSID}';
- // ID of the generated paragraph
- var dn_paraID='{GYM_RSS_CSSID}DomID';
- // ]]>
- </script>
- <script type="text/javascript" src="{T_TEMPLATE_PATH}/gym_sitemaps/gym_rss_links.js"></script>
- <!-- ENDIF -->
- <!-- IF GYM_CHAN_TITLE --><h3><!-- IF GYM_CHAN_SOURCE --><a href="{GYM_CHAN_SOURCE}" title="{GYM_CHAN_TITLE} - {L_GYM_RSS_SOURCE}"><img src="{ROOT_PATH}gym_sitemaps/images/feed-icon.png" alt="{GYM_CHAN_TITLE} - {L_GYM_RSS_SOURCE}"/> {L_GYM_RSS_SOURCE}</a> <strong>»</strong> <a href="{GYM_CHAN_LINK}" title="{GYM_CHAN_TITLE}">{GYM_CHAN_TITLE}</a><!-- ELSE -->{GYM_CHAN_TITLE}<!-- ENDIF --></h3><!-- ENDIF -->
-
- <!-- IF not GYM_RSS_DESC -->
-<table class="tablebg" cellspacing="1" width="100%">
- <tr>
- <td class="cat" colspan="4"> </td>
- </tr>
- <tr>
- <th <!-- IF GYM_RSS_DATE -->colspan="2"<!-- ELSE -->colspan="3"<!-- ENDIF -->> {L_FORUM} </th>
- <!-- IF GYM_RSS_AUTHOR --><th> {L_AUTHOR} </th><!-- ENDIF -->
- <!-- IF GYM_RSS_DATE --><th> {L_FILEDATE} </th><!-- ENDIF -->
- </tr>
- <!-- BEGIN gym_link_list -->
- <tr>
- <td class="row1" width="25" align="center"><img src="{gym_link_list.IMG}" alt=""/></td>
- <td class="row<!-- IF gym_link_list.S_ROW_COUNT is even -->1<!-- ELSE -->2<!-- ENDIF -->">
- <a href="{gym_link_list.LINK}" class="topictitle" title="{gym_link_list.TITLE}">{gym_link_list.TITLE}</a>
- <!-- IF gym_link_list.SOURCE -->
- <p class="topicdetails"><a href="{gym_link_list.SOURCE}" title="{gym_link_list.TITLE} - {L_GYM_RSS_SOURCE}"><img src="{ROOT_PATH}gym_sitemaps/images/feed-icon.png" alt="{gym_link_list.TITLE} - {L_GYM_RSS_SOURCE}"/> {L_GYM_RSS_SOURCE}</a></p>
- <!-- ENDIF -->
- </td>
- <!-- IF GYM_RSS_AUTHOR or GYM_RSS_DATE -->
- <td class="row1" width="140" align="center">
- <p class="topicdetails">
- <!-- IF gym_link_list.AUTHOR --><b class="postauthor">{gym_link_list.AUTHOR}</b> <!-- ENDIF -->
- <!-- IF gym_link_list.PUBDATE -->{L_POSTED_ON_DATE} {gym_link_list.PUBDATE}<!-- ENDIF -->
- </p>
- </td><!-- ENDIF -->
-
- </tr>
- <!-- END gym_link_list -->
-</table>
-<!-- ELSE -->
-<table class="tablebg" width="100%" cellspacing="1">
- <!-- BEGIN gym_link_list -->
- <tr>
- <th align="left"><!-- IF gym_link_list.SOURCE --> <a href="{gym_link_list.SOURCE}" title="{gym_link_list.TITLE} - {L_GYM_RSS_SOURCE}"><img src="{ROOT_PATH}gym_sitemaps/images/feed-icon.png" alt="{gym_link_list.TITLE} - {L_GYM_RSS_SOURCE}"/> {L_GYM_RSS_SOURCE}</a> • <!-- ENDIF --> <a href="{gym_link_list.LINK}" title="{gym_link_list.TITLE}">{gym_link_list.TITLE}</a> </th>
- </tr>
- <!-- IF gym_link_list.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
- <td valign="top">
- <!-- IF gym_link_list.AUTHOR --> <b class="postauthor">{gym_link_list.AUTHOR}</b><!-- ENDIF -->
- <!-- IF gym_link_list.PUBDATE --> <span class="topicdetails">{L_POSTED_ON_DATE} {gym_link_list.PUBDATE}</span><!-- ENDIF -->
- <br clear="all" /><br clear="all" />
- <div class="postbody">{gym_link_list.DESC}</div>
- </td>
- </tr>
- <!-- END gym_link_list -->
-</table>
- <!-- ENDIF -->
-<!-- ELSE -->
-<table class="tablebg" width="100%" cellspacing="1">
- <tr>
- <th><!-- IF HTML_URL --><a href="{HTML_URL}" title="{HTML_SITENAME}">{HTML_SITENAME}</a> <!-- ENDIF --></th>
- </tr>
- <tr>
- <td class="row1" colspan="5" align="center"><p class="gensmall">{L_HTML_NEWS_NONE}</p></td>
- </tr>
-</table>
-<!-- ENDIF -->
diff --git a/phpBB/styles/subsilver2/template/gym_sitemaps/gym_rss_links.js b/phpBB/styles/subsilver2/template/gym_sitemaps/gym_rss_links.js deleted file mode 100644 index 422c34eac9..0000000000 --- a/phpBB/styles/subsilver2/template/gym_sitemaps/gym_rss_links.js +++ /dev/null @@ -1,97 +0,0 @@ -/**
-* gym_rss_links.js Dom scrolling
-* Based on
-* DOMnews 1.0
-* homepage: http://www.onlinetools.org/tools/domnews/
-* released 11.07.05
-*/
-var dn_interval = 0;
-/* Initialise scroller when window loads */
-// check for DOM
-if(document.getElementById && document.createTextNode) {
- window.onload = initDOMnews();
- window.onunload = clearInterval(dn_interval);
-}
-var dn_scrollpos=dn_startpos;
-var dn_paused=false;
-var dn_els = '';
-var dn_inels = '';
-var dn_interval = '';
-/* Initialise scroller */
-function initDOMnews(reinit) {
- if(!dn_els) {
- dn_els = document.getElementById(dn_newsID);
- if(!dn_els){
- return;
- }
- dn_inels = document.getElementById(dn_newsID+'scrld');
- if(!dn_inels){
- return;
- }
- // Auto height for Gecko browsers
- if (document.defaultView) {
- dn_els.style.cssText = '';
- dn_inels.style.cssText = '';
- var real_endpos = document.defaultView.getComputedStyle(dn_els,"").getPropertyValue("height");
- real_endpos = parseInt(real_endpos.replace(/px/ig, ""));
- if (real_endpos) {
- dn_endpos = - real_endpos;
- }
- }
- }
- if (reinit) {
- dn_els.parentNode.removeChild(dn_els.nextSibling);
- clearInterval(dn_interval);
- }
- dn_els.height = dn_startpos;
- dn_els.style.cssText = 'width:100%;height:'+dn_startpos+'px;overflow:hidden;position:relative;';
- dn_inels.style.cssText = 'width:100%; position:relative; top:'+dn_startpos+'px;';
- dn_interval=setInterval('scrollDOMnews()',dn_speed);
- var newa=document.createElement('a');
- var newp=document.createElement('p');
- newp.setAttribute('id',dn_paraID);
- newa.href='#' + dn_newsID;
- newa.appendChild(document.createTextNode(dn_stopMessage));
- newa.onclick=stopDOMnews;
- newp.appendChild(newa);
- dn_els.parentNode.insertBefore(newp,dn_els.nextSibling);
- if (!dn_paused) {
- dn_inels.style.cssText = 'width:100%;position:absolute; top:'+dn_startpos+'px;';
- dn_els.style.cssText = 'width:100%;height:'+dn_startpos+'px;overflow:hidden;position:relative;';
- }
- dn_els.onmouseover=function() {
- clearInterval(dn_interval);
- }
- dn_els.onmouseout=function() {
- if (!dn_paused) {
- dn_interval=setInterval('scrollDOMnews()',dn_speed);
- }
- }
-}
-function ReinitDOMnews() {
- dn_paused= dn_paused ? false : true;
- initDOMnews(true);
-}
-function stopDOMnews() {
- dn_paused = true;
- clearInterval(dn_interval);
- dn_inels.style.cssText = 'width:100%;position:absolute;';
- dn_els.style.cssText = 'width:100%;height:'+dn_startpos+'px;overflow-y:auto;overflow-x:hidden;position:relative;';
- dn_els.parentNode.removeChild(dn_els.nextSibling);
- var newa=document.createElement('a');
- var newp=document.createElement('p');
- newp.setAttribute('id',dn_paraID);
- newa.href='#' + dn_newsID;
- newa.appendChild(document.createTextNode(dn_startMessage));
- newa.onclick=ReinitDOMnews;
- newp.appendChild(newa);
- dn_els.parentNode.insertBefore(newp,dn_els.nextSibling);
- return false;
-}
-function scrollDOMnews() {
- dn_inels.style.top=dn_scrollpos+'px';
- if(dn_scrollpos==dn_endpos) {
- dn_scrollpos=dn_startpos;
- }
- dn_scrollpos--;
-}
diff --git a/phpBB/styles/subsilver2/template/gym_sitemaps/index_body.html b/phpBB/styles/subsilver2/template/gym_sitemaps/index_body.html deleted file mode 100644 index f7d46be4d4..0000000000 --- a/phpBB/styles/subsilver2/template/gym_sitemaps/index_body.html +++ /dev/null @@ -1,103 +0,0 @@ -<!-- INCLUDE overall_header.html --> - -<!-- IF U_MCP --> - <div id="pageheader"> - <p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p> - </div> - - <br clear="all" /><br /> -<!-- ENDIF --> -<!-- IF RIGHT_COL --> -<table width="100%" cellspacing="0"> - <tr><td valign="top" width="76%"> -<!-- ENDIF --> -{LEFT_COL} -<!-- IF RIGHT_COL --> -</td><td valign="top"> - {RIGHT_COL}</td> -</tr> -</table> -<!-- ENDIF --> - -<!-- IF not S_USER_LOGGED_IN --> - <br clear="all" /> - - <form method="post" action="{S_LOGIN_ACTION}"> - - <table class="tablebg" width="100%" cellspacing="1"> - <tr> - <td class="cat"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></td> - </tr> - <tr> - <td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" /> <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" /> <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF --> <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td> - </tr> - </table> - {S_LOGIN_REDIRECT} - {S_FORM_TOKEN} - </form> -<!-- ENDIF --> - -<!-- IF S_DISPLAY_ONLINE_LIST --> - <br clear="all" /> - - <table class="tablebg" width="100%" cellspacing="1"> - <!-- IF not S_SINGLE_TRAKING --> - <tr> - <td class="cat" colspan="2"><!-- IF U_VIEWONLINE --><h4><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4><!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4><!-- ENDIF --></td> - </tr> - <!-- ENDIF --> - <tr> - <!-- IF LEGEND --> - <td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td> - <!-- ELSE --> - <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td> - <!-- ENDIF --> - <td class="row1" width="100%"><span class="genmed"><!-- IF not S_SINGLE_TRAKING -->{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br /><!-- ENDIF -->{LOGGED_IN_USER_LIST}</span></td> - </tr> - <!-- IF LEGEND --> - <tr> - <td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td> - </tr> - <!-- ENDIF --> - </table> -<!-- ENDIF --> - -<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST --> - <br clear="all" /> - - <table class="tablebg" width="100%" cellspacing="1"> - <tr> - <td class="cat" colspan="2"><h4>{L_BIRTHDAYS}</h4></td> - </tr> - <tr> - <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_BIRTHDAYS}" /></td> - <td class="row1" width="100%"><p class="genmed">{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b></p></td> - </tr> - </table> -<!-- ENDIF --> - -<!-- IF TOTAL_USERS --> -<table class="tablebg" width="100%" cellspacing="1"> -<tr> - <td class="cat" colspan="2"><h4>{L_STATISTICS}</h4></td> -</tr> -<tr> - <td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_STATISTICS}" /></td> - <td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS}<!-- IF NEWEST_USER --> | {NEWEST_USER}<!-- ENDIF --></p></td> -</tr> -</table> -<!-- ENDIF --> -<br clear="all" /> -<!-- - We request you retain the full copyright notice below, as well as in all templates you may use, - including the link to www.phpbb-seo.com. - This not only gives respect to the large amount of time given freely by the developers - but also helps build interest, traffic and use of www.phpBB-SEO.com - If you cannot (for good reason) retain the full copyright we request you at least leave in place the - "Copyright phpBB SEO" line, with "phpBB SEO" linked to www.phpbb-seo.com. - If you refuse to include even this, then support and further development on our forums may be affected. - The phpBB SEO Team : 2008. ---> -<div class="copyright" style="text-align:center;"><a href="http://www.phpbb-seo.com/{S_SEO_FORUM}" title="{L_FORUM} - {L_GYM_SEO}">GYM sitemaps & RSS</a></div> -<br clear="all" /> -<!-- INCLUDE overall_footer.html --> diff --git a/phpBB/styles/subsilver2/template/gym_sitemaps/index_list.html b/phpBB/styles/subsilver2/template/gym_sitemaps/index_list.html deleted file mode 100644 index 13ab41e75d..0000000000 --- a/phpBB/styles/subsilver2/template/gym_sitemaps/index_list.html +++ /dev/null @@ -1,33 +0,0 @@ -<h2><!-- IF HTML_NEWS_URL --><a href="{HTML_NEWS_URL}" title="{HTML_NEWS_TITLE}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {HTML_NEWS_TITLE}</a> <!-- ENDIF --><!-- IF HTML_URL --><strong>»</strong> <a href="{HTML_URL}" title="{HTML_SITENAME}">{HTML_SITENAME}</a><!-- ENDIF --></h2>
-<!-- IF HTML_SITEDESC --><span>{HTML_SITEDESC}<br /></span><!-- ENDIF --><br clear="all" />
-<!-- BEGIN module -->
-<table class="tablebg" cellspacing="1" width="100%">
- <tr>
- <td class="cat" colspan="2" align="left"><h4><!-- IF module.NEWS_URL --><a href="{module.NEWS_URL}" title="{module.NEWS_TITLE}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {module.NEWS_TITLE}</a> <!-- ENDIF --><!-- IF module.MAP_URL --> <strong>»</strong> <a href="{module.MAP_URL}" title="{module.MAP_TITLE}">{module.MAP_TITLE}</a><br /><!-- ENDIF --></h4></td>
- </tr>
- <!-- BEGIN links -->
- <tr style="padding:10px;">
- <td class="row<!-- IF module.links.S_ROW_COUNT is odd -->2<!-- ELSE -->1<!-- ENDIF -->" <!-- IF not(module.links.NEWS_URL and module.links.MAP_URL) -->colspan="2"<!-- ELSE -->width="50%"<!-- ENDIF -->>
- <!-- IF module.links.NEWS_URL -->
- <a class="forumlink" href="{module.links.NEWS_URL}" title="{module.links.NEWS_TITLE}"><img src="{NEWS_IMG_SRC}" alt="{L_HTML_NEWS}"/> {module.links.NEWS_TITLE}</a>
- <!-- ELSE -->
- <a class="forumlink" href="{module.links.MAP_URL}" title="{module.links.MAP_TITLE}"> <strong>»</strong> {module.links.MAP_TITLE}</a>
- <!-- ENDIF -->
- <!-- IF module.links.NEWS_URL and module.links.MAP_URL -->
- </td><td class="row<!-- IF module.links.S_ROW_COUNT is odd -->2<!-- ELSE -->1<!-- ENDIF -->" width="50%">
- <a class="forumlink" href="{module.links.MAP_URL}" title="{module.links.MAP_TITLE}"> <strong>»</strong> {module.links.MAP_TITLE}</a>
- <!-- ENDIF -->
- </td>
- </tr>
- <!-- END links -->
-</table>
-<!-- BEGINELSE -->
-<table class="tablebg" cellspacing="1" width="100%">
- <tr height="15px">
- <td class="cat" colspan="2" align="left"><h4><a href="{HTML_URL}" title="{HTML_SITENAME}">{HTML_SITENAME}</a></h4></td>
- </tr>
- <tr>
- <td class="row1" colspan="5" align="center"><p class="gensmall">{L_HTML_MAP_NONE}</p></td>
- </tr>
-</div>
-<!-- END module -->
diff --git a/phpBB/styles/subsilver2/template/gym_sitemaps/last_topics_list.html b/phpBB/styles/subsilver2/template/gym_sitemaps/last_topics_list.html deleted file mode 100644 index 96bd142c2c..0000000000 --- a/phpBB/styles/subsilver2/template/gym_sitemaps/last_topics_list.html +++ /dev/null @@ -1,23 +0,0 @@ -<br/><h2>{LASTX_TOPICS_TITLE}</h2>
-<br/>
-<table class="tablebg" cellspacing="1" width="100%">
- <!-- BEGIN last_forums -->
- <tr>
- <td class="cat" colspan="4"><h4><a href="{last_forums.U_VIEWFORUM}" title="{last_forums.FORUM_NAME}" class="forumtitle">{last_forums.FORUM_NAME}</a></h4></td>
- </tr>
- <!-- BEGIN last_topics -->
- <tr class="row<!-- IF last_forums.last_topics.S_ROW_COUNT is odd -->2<!-- ELSE -->1<!-- ENDIF -->">
- <td width="25" align="center" style="padding:5px;">{last_forums.last_topics.TOPIC_FOLDER_IMG}</td>
- <!-- IF S_TOPIC_ICONS -->
- <td width="25" align="center"><!-- IF last_forums.last_topics.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{last_forums.last_topics.TOPIC_ICON_IMG}" width="{last_forums.last_topics.TOPIC_ICON_IMG_WIDTH}" height="{last_forums.last_topics.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td>
- <!-- ENDIF -->
- <td>
- <!-- IF last_forums.last_topics.S_UNREAD_TOPIC --><a href="{last_forums.last_topics.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->
- <a href="{last_forums.last_topics.U_VIEW_TOPIC}">{last_forums.last_topics.TOPIC_TITLE}</a><br/>
- <!-- IF last_forums.last_topics.PAGINATION --><p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {last_forums.last_topics.PAGINATION} ] </p><!-- ENDIF -->
- </td>
- <td><a href="{last_forums.last_topics.U_LAST_POST}">{LAST_POST_IMG}</a></td>
- </tr>
- <!-- END last_topics -->
- <!-- END last_forums -->
-</table>
diff --git a/phpBB/styles/subsilver2/template/login_body.html b/phpBB/styles/subsilver2/template/login_body.html index 51b96cff2b..90bbf8c139 100644 --- a/phpBB/styles/subsilver2/template/login_body.html +++ b/phpBB/styles/subsilver2/template/login_body.html @@ -105,4 +105,4 @@ // ]]> </script> -<!-- INCLUDE overall_footer.html -->
\ No newline at end of file +<!-- INCLUDE overall_footer.html --> diff --git a/phpBB/styles/subsilver2/template/overall_footer.html b/phpBB/styles/subsilver2/template/overall_footer.html index af40ae05a7..64201ff2b9 100644 --- a/phpBB/styles/subsilver2/template/overall_footer.html +++ b/phpBB/styles/subsilver2/template/overall_footer.html @@ -13,7 +13,6 @@ //--> <div id="wrapfooter"> - <!-- IF GYM_LINKS --><span>{GYM_HTML_NEWS_LINK} {GYM_HTML_MAP_LINK} {GYM_GOOGLE_LINK} {GYM_RSS_LINK} {GYM_RSS_CHAN_LINK}</span><br /><!-- ENDIF --> <!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF --> <span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group <!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF --> diff --git a/phpBB/styles/subsilver2/template/overall_header.html b/phpBB/styles/subsilver2/template/overall_header.html index a140b89b32..874beb8e2b 100644 --- a/phpBB/styles/subsilver2/template/overall_header.html +++ b/phpBB/styles/subsilver2/template/overall_header.html @@ -1,19 +1,20 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> <head> -{SEO_BASE_HREF} -<!-- IF SEO_CANONICAL_URL --><link rel="canonical" href="{SEO_CANONICAL_URL}" /><!-- ENDIF --> + <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> -<title>{PAGE_TITLE}<!-- IF S_IN_MCP --> • {L_MCP}<!-- ELSEIF S_IN_UCP --> • {L_UCP}<!-- ENDIF --></title> <meta http-equiv="content-language" content="{S_USER_LANG}" /> <meta http-equiv="content-style-type" content="text/css" /> <meta http-equiv="imagetoolbar" content="no" /> -{META_TAG} +<meta name="resource-type" content="document" /> +<meta name="distribution" content="global" /> +<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" /> +<meta name="keywords" content="" /> +<meta name="description" content="" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9" /> {META} -<!-- BEGIN gym_rsslinks --> -<link rel="alternate" type="application/rss+xml" title="{gym_rsslinks.TITLE}" href="{gym_rsslinks.URL}" /> -<!-- END gym_rsslinks --> +<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title> + <!-- IF S_ENABLE_FEEDS --> <!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF --> <!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF --> @@ -46,93 +47,24 @@ function popup(url, width, height, name) return false; } -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -function jumpto() { +function jumpto() +{ var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}'); - var perpage = '{PER_PAGE}'; + var per_page = '{PER_PAGE}'; var base_url = '{A_BASE_URL}'; - var seo_delim_start = '{SEO_START_DELIM}'; - var seo_static_pagination = '{SEO_SATIC_PAGE}'; - var seo_ext_pagination = '{SEO_EXT_PAGE}'; - if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0) { - var seo_page = (page - 1) * perpage; - var anchor = ''; - var anchor_parts = base_url.split('#'); - if ( anchor_parts[1] ) { - base_url = anchor_parts[0]; - anchor = '#' + anchor_parts[1]; - } - if ( base_url.indexOf('?') >= 0 ) { - document.location.href = base_url.replace(/&/g, '&') + '&start=' + seo_page + anchor; - } else if ( seo_page > 0 ) { - var seo_type1 = base_url.match(/\.[a-z0-9]+$/i); - if (seo_type1 !== null) { - document.location.href = base_url.replace(/\.[a-z0-9]+$/i, '') + seo_delim_start + seo_page + seo_type1 + anchor; - } - var seo_type2 = base_url.match(/\/$/); - if (seo_type2 !== null) { - document.location.href = base_url + seo_static_pagination + seo_page + seo_ext_pagination + anchor; - } - } else { - document.location.href = base_url + anchor; - } - } -} -var seo_external = {SEO_EXTERNAL}; -var seo_external_sub = {SEO_EXTERNAL_SUB}; -var seo_ext_classes = {SEO_EXT_CLASSES}; -var seo_hashfix = {SEO_HASHFIX}; -/** -* phpbb_seo_href() -* Fixes href="#something" links with virtual directories -* Optionally open external or marked with a css class links in a new window -* in a XHTML 1.x compliant way. -*/ -function phpbb_seo_href() { - var current_domain = document.domain.toLowerCase(); - if (!current_domain || !document.getElementsByTagName) return; - if (seo_external_sub && current_domain.indexOf('.') >= 0) { - current_domain = current_domain.replace(new RegExp(/^[a-z0-9_-]+\.([a-z0-9_-]+\.([a-z]{2,6}|[a-z]{2,3}\.[a-z]{2,3}))$/i), '$1'); - } - if (seo_ext_classes) { - var extclass = new RegExp("(^|\s)(" + seo_ext_classes + ")(\s|$)"); - } - if (seo_hashfix) { - var basehref = document.getElementsByTagName('base')[0]; - if (basehref) { - basehref = basehref.href; - var hashtest = new RegExp("^(" + basehref + "|)#[a-z0-9_-]+$"); - var current_href = document.location.href.replace(/#[a-z0-9_-]+$/i, ""); - } else { - seo_hashfix = false; - } - } - var hrefels = document.getElementsByTagName("a"); - var hrefelslen = hrefels.length; - for (var i = 0; i < hrefelslen; i++) { - var el = hrefels[i]; - var hrefinner = el.innerHTML.toLowerCase(); - if (el.onclick || (el.href == '') || (el.href.indexOf('javascript') >=0 ) || (el.href.indexOf('mailto') >=0 ) || (hrefinner.indexOf('<a') >= 0) ) { - continue; - } - if (seo_hashfix && el.hash && hashtest.test(el.href)) { - el.href = current_href + el.hash; + + if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0) + { + if (base_url.indexOf('?') == -1) + { + document.location.href = base_url + '?start=' + ((page - 1) * per_page); } - if (seo_external) { - if ((el.href.indexOf(current_domain) >= 0) && !(seo_ext_classes && extclass.test(el.className))) { - continue; - } - el.onclick = function () { window.open(this.href); return false; }; + else + { + document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page); } } } -window.onload = function() { - if (seo_external || seo_hashfix) { - phpbb_seo_href(); - } - // here you can add other window.onload events -} -// www.phpBB-SEO.com SEO TOOLKIT END /** * Find a member diff --git a/phpBB/styles/subsilver2/template/posting_body.html b/phpBB/styles/subsilver2/template/posting_body.html index 10aa27d3a8..0021cd2eb3 100644 --- a/phpBB/styles/subsilver2/template/posting_body.html +++ b/phpBB/styles/subsilver2/template/posting_body.html @@ -175,12 +175,6 @@ <td class="row1" width="22%"><b class="genmed">{L_SUBJECT}:</b></td> <td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}" /></td> </tr> -<!-- IF S_URL --> -<tr> - <td class="row1" width="22%"><b class="genmed">URL:</b></td> - <td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="url" size="45" maxlength="250" tabindex="2" value="{TOPIC_URL}" /></td> -</tr> -<!-- ENDIF --> <tr> <td class="row1" valign="top"><b class="genmed">{L_MESSAGE_BODY}:</b><br /><span class="gensmall">{L_MESSAGE_BODY_EXPLAIN} </span><br /><br /> <!-- IF S_SMILIES_ALLOWED --> diff --git a/phpBB/styles/subsilver2/template/search_body.html b/phpBB/styles/subsilver2/template/search_body.html index 678e6e66df..763a229c83 100644 --- a/phpBB/styles/subsilver2/template/search_body.html +++ b/phpBB/styles/subsilver2/template/search_body.html @@ -92,4 +92,4 @@ // ]]> </script> -<!-- INCLUDE overall_footer.html -->
\ No newline at end of file +<!-- INCLUDE overall_footer.html --> diff --git a/phpBB/styles/subsilver2/template/simple_header.html b/phpBB/styles/subsilver2/template/simple_header.html index a7ca7f9fd6..bcef9a7059 100644 --- a/phpBB/styles/subsilver2/template/simple_header.html +++ b/phpBB/styles/subsilver2/template/simple_header.html @@ -1,7 +1,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> <head> -{SEO_BASE_HREF} + <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> <meta http-equiv="content-language" content="{S_USER_LANG}" /> <meta http-equiv="content-style-type" content="text/css" /> diff --git a/phpBB/styles/subsilver2/template/viewforum_body.html b/phpBB/styles/subsilver2/template/viewforum_body.html index ba3c6aef65..6511fa5349 100644 --- a/phpBB/styles/subsilver2/template/viewforum_body.html +++ b/phpBB/styles/subsilver2/template/viewforum_body.html @@ -58,7 +58,7 @@ <td class="row1" width="140" align="center"> <p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p> <p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL} - <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> + <!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF --> </p> </td> </tr> @@ -90,7 +90,7 @@ <!-- IF S_IS_POSTABLE or S_NO_READ_ACCESS --> <div id="pageheader"> <h2><a class="titles" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2> - <!-- IF GYM_LINKS_CAT --><h3>{GYM_HTML_FORUM_NEWS_LINK} {GYM_HTML_FORUM_MAP_LINK} {GYM_RSS_FORUM_LINK} {GYM_GOOGLE_FORUM_LINK}</h3><!-- ENDIF --> + <!-- IF MODERATORS --> <p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p> <!-- ENDIF --> @@ -209,7 +209,7 @@ <td class="row1" width="140" align="center"> <p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p> <p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL} - <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> + <!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF --> </p> </td> </tr> @@ -326,4 +326,4 @@ </tr> </table> -<!-- INCLUDE overall_footer.html --> +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/phpBB/styles/subsilver2/template/viewtopic_body.html b/phpBB/styles/subsilver2/template/viewtopic_body.html index 44bd570843..bba00ce685 100644 --- a/phpBB/styles/subsilver2/template/viewtopic_body.html +++ b/phpBB/styles/subsilver2/template/viewtopic_body.html @@ -284,7 +284,7 @@ <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> - <td class="profile"><strong><a href="{U_VIEW_TOPIC}#wrapheader">{L_BACK_TO_TOP}</a></strong></td> + <td class="profile"><strong><a href="#wrapheader">{L_BACK_TO_TOP}</a></strong></td> <td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF --> </div></td> <!-- ENDIF --> </tr> @@ -330,59 +330,6 @@ <!-- INCLUDE breadcrumbs.html --> -<!-- IF S_RELATED_RESULTS --><br clear="all" /> - <table class="tablebg" width="100%" cellspacing="1"> - <tr> - <td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><span class="nav">{L_RELATED_TOPICS}</span></td> - </tr> - <tr> - <!-- IF S_TOPIC_ICONS --> - <th colspan="3"> {L_TOPICS} </th> - <!-- ELSE --> - <th colspan="2"> {L_TOPICS} </th> - <!-- ENDIF --> - <th> {L_AUTHOR} </th> - <th> {L_REPLIES} </th> - <th> {L_VIEWS} </th> - <th> {L_LAST_POST} </th> - </tr> - <!-- BEGIN related --> - <tr> - <td class="row1" width="25" align="center">{related.TOPIC_FOLDER_IMG}</td> - <!-- IF S_TOPIC_ICONS --> - <td class="row1" width="25" align="center"><!-- IF related.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{related.TOPIC_ICON_IMG}" width="{related.TOPIC_ICON_IMG_WIDTH}" height="{related.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td> - <!-- ENDIF --> - <td class="row1"> - <!-- IF related.S_UNREAD_TOPIC --><a href="{related.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF --> - {related.ATTACH_ICON_IMG} <a title="{L_POSTED}: {related.FIRST_POST_TIME}" href="{related.U_TOPIC}"class="topictitle">{related.TOPIC_TITLE}</a> - <!-- IF related.S_TOPIC_UNAPPROVED --> - <a href="{related.U_MCP_QUEUE}">{UNAPPROVED_IMG}</a> - <!-- ENDIF --> - <!-- IF related.S_TOPIC_REPORTED --> - <a href="{related.U_MCP_REPORT}">{REPORTED_IMG}</a> - <!-- ENDIF --> - <!-- IF related.PAGINATION --> - <p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {related.PAGINATION} ] </p> - <!-- ENDIF --> - </td> - <td class="row2" width="130" align="center"><p class="topicauthor">{related.TOPIC_AUTHOR_FULL}</p></td> - <td class="row1" width="50" align="center"><p class="topicdetails">{related.REPLIES}</p></td> - <td class="row2" width="50" align="center"><p class="topicdetails">{related.VIEWS}</p></td> - <td class="row1" width="140" align="center"> - <p class="topicdetails" style="white-space: nowrap;">{related.LAST_POST_TIME}</p> - <p class="topicdetails">{related.LAST_POST_AUTHOR_FULL} - <a href="{related.U_LAST_POST}">{LAST_POST_IMG}</a> - </p> - </td> - </tr> - <!-- END related --> - <tr align="center"> - <td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"> </td> - </tr> - </table> - <br clear="all" /> -<!-- ENDIF --> - <!-- IF S_DISPLAY_ONLINE_LIST --> <br clear="all" /> diff --git a/phpBB/styles/subsilver2/theme/gym_google.css b/phpBB/styles/subsilver2/theme/gym_google.css deleted file mode 100644 index 3a5923ae57..0000000000 --- a/phpBB/styles/subsilver2/theme/gym_google.css +++ /dev/null @@ -1,666 +0,0 @@ -/* phpBB 3.0 Style Sheet - -------------------------------------------------------------- - Style name: subsilver2 - Based on style: subSilver (the default phpBB 2 style) - Original author: subBlue ( http://www.subBlue.com/ ) - Modified by: psoTFX and the phpBB team ( http://www.phpbb.com ) - - This is an alternative style for phpBB3 for those wishing to stay with - the familiar subSilver style of phpBB version 2.x - - Copyright 2006 phpBB Group ( http://www.phpbb.com/ ) - -------------------------------------------------------------- -*/ - -/* Layout - ------------ */ -* { - /* Reset browsers default margin, padding and font sizes */ - margin: 0; - padding: 0; -} - -html { - font-size: 100%; -} - -body { - /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */ - font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; - color: #323D4F; - background-color: #FFFFFF; - font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */ - margin: 0; -} - -#wrapheader { - min-height: 120px; - height: auto !important; - height: 120px; -/* background-image: url('./images/background.gif'); - background-repeat: repeat-x;*/ -/* padding: 0 25px 15px 25px;*/ - padding: 0; -} - -#wrapcentre { - margin: 15px 25px 0 25px; -} - -#wrapfooter { - text-align: center; - clear: both; -} - -#wrapnav { - width: 100%; - margin: 0; - background-color: #ECECEC; - border-width: 1px; - border-style: solid; - border-color: #A9B8C2; -} - -#logodesc { - margin-bottom: 5px; - padding: 5px 25px; - background: #D9DFE4; - border-bottom: 1px solid #4787A7; -} - -#menubar { - margin: 0 25px; -} - -#datebar { - margin: 10px 25px 0 25px; -} - -#findbar { - width: 100%; - margin: 0; - padding: 0; - border: 0; -} - -.forumrules { - background-color: #F9CC79; - border-width: 1px; - border-style: solid; - border-color: #BB9860; - padding: 4px; - font-weight: normal; - font-size: 1.1em; - font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; -} - -.forumrules h3 { - color: red; -} - -#pageheader { } -#pagecontent { } -#pagefooter { } - -#poll { } -#postrow { } -#postdata { } - - -/* Text - --------------------- */ -h1 { - color: black; - font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif; - font-weight: bold; - font-size: 1.8em; - text-decoration: none; -} - -h2 { - font-family: Arial, Helvetica, sans-serif; - font-weight: bold; - font-size: 1.5em; - text-decoration: none; - line-height: 120%; -} - -h3 { - font-size: 1.3em; - font-weight: bold; - font-family: Arial, Helvetica, sans-serif; - line-height: 120%; -} - -h4 { - margin: 0; - font-size: 1.1em; - font-weight: bold; -} - -p { - font-size: 1.1em; -} - -p.moderators { - margin: 0; - float: left; - color: black; - font-weight: bold; -} - -.rtl p.moderators { - float: right; -} - -p.linkmcp { - margin: 0; - float: right; - white-space: nowrap; -} - -.rtl p.linkmcp { - float: left; -} - -p.breadcrumbs { - margin: 0; - float: left; - color: black; - font-weight: bold; - white-space: normal; - font-size: 1em; -} - -.rtl p.breadcrumbs { - float: right; -} - -p.datetime { - margin: 0; - float: right; - white-space: nowrap; - font-size: 1em; -} - -.rtl p.datetime { - float: left; -} - -p.searchbar { - padding: 2px 0; - white-space: nowrap; -} - -p.searchbarreg { - margin: 0; - float: right; - white-space: nowrap; -} - -.rtl p.searchbarreg { - float: left; -} - -p.forumdesc { - padding-bottom: 4px; -} - -p.topicauthor { - margin: 1px 0; -} - -p.topicdetails { - margin: 1px 0; -} - -.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active { - margin: 1px 0; - color: red; - font-weight:bold; -} - -.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active { - color: green; - font-weight:bold; -} - -.postapprove img, .postreported img { - vertical-align: bottom; -} - -.postauthor { - color: #000000; -} - -.postdetails { - color: #000000; -} - -.postbody { - font-size: 1.3em; - line-height: 1.4em; - font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; -} - -.postbody li, ol, ul { - margin: 0 0 0 1.5em; -} - -.rtl .postbody li, .rtl ol, .rtl ul { - margin: 0 1.5em 0 0; -} - -.posthilit { - background-color: yellow; -} - -.nav { - margin: 0; - color: black; - font-weight: bold; -} - -.pagination { - padding: 4px; - color: black; - font-size: 1em; - font-weight: bold; -} - -.cattitle { - -} - -.gen { - margin: 1px 1px; - font-size: 1.2em; -} - -.genmed { - margin: 1px 1px; - font-size: 1.1em; -} - -.gensmall { - margin: 1px 1px; - font-size: 1em; -} - -.copyright { - color: #444; - font-weight: normal; - font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; -} - -.titles { - font-family: "Lucida Grande", Helvetica, Arial, sans-serif; - font-weight: bold; - font-size: 1.3em; - text-decoration: none; -} - -.error { - color: red; -} - - -/* Tables - ------------ */ -th { - color: #FFA34F; - font-size: 1.1em; - font-weight: bold; - background-color: #006699; - background-image: url('./images/cellpic3.gif'); - white-space: nowrap; - padding: 7px 5px; -} - -td { - padding: 2px; -} -td.profile { - padding: 4px; -} - -.tablebg { - background-color: #A9B8C2; -} - -.catdiv { - height: 28px; - margin: 0; - padding: 0; - border: 0; - background: white url('./images/cellpic2.jpg') repeat-y scroll top left; -} -.rtl .catdiv { - background: white url('./images/cellpic2_rtl.jpg') repeat-y scroll top right; -} - -.cat { - height: 28px; - margin: 0; - padding: 0; - border: 0; - background-color: #C7D0D7; - background-image: url('./images/cellpic1.gif'); - text-indent: 4px; -} - -.row1 { - background-color: #ECECEC; - padding: 4px; -} - -.row2 { - background-color: #DCE1E5; - padding: 4px; -} - -.row3 { - background-color: #C0C8D0; - padding: 4px; -} - -.spacer { - background-color: #D1D7DC; -} - -hr { - height: 1px; - border-width: 0; - background-color: #D1D7DC; - color: #D1D7DC; -} - -.legend { - text-align:center; - margin: 0 auto; -} - -/* Links - ------------ */ -a:link { - color: #006597; - text-decoration: none; -} - -a:active, -a:visited { - color: #005784; - text-decoration: none; -} - -a:hover { - color: #D46400; - text-decoration: underline; -} - -a.forumlink { - color: #069; - font-weight: bold; - font-family: "Lucida Grande", Helvetica, Arial, sans-serif; - font-size: 1.2em; -} - -a.topictitle { - margin: 1px 0; - font-family: "Lucida Grande", Helvetica, Arial, sans-serif; - font-weight: bold; - font-size: 1.2em; -} - -a.topictitle:visited { - color: #5493B4; - text-decoration: none; -} - -th a, -th a:visited { - color: #FFA34F !important; - text-decoration: none; -} - -th a:hover { - text-decoration: underline; -} - - -/* Form Elements - ------------ */ -form { - margin: 0; - padding: 0; - border: 0; -} - -input { - color: #333333; - font-family: "Lucida Grande", Verdana, Helvetica, sans-serif; - font-size: 1.1em; - font-weight: normal; - padding: 1px; - border: 1px solid #A9B8C2; - background-color: #FAFAFA; -} - -textarea { - background-color: #FAFAFA; - color: #333333; - font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; - font-size: 1.3em; - line-height: 1.4em; - font-weight: normal; - border: 1px solid #A9B8C2; - padding: 2px; -} - -select { - color: #333333; - background-color: #FAFAFA; - font-family: "Lucida Grande", Verdana, Helvetica, sans-serif; - font-size: 1.1em; - font-weight: normal; - border: 1px solid #A9B8C2; - padding: 1px; -} - -option { - padding: 0 1em 0 0; -} - -option.disabled-option { - color: graytext; -} - -.rtl option { - padding: 0 0 0 1em; -} - -input.radio { - border: none; - background-color: transparent; -} - -.post { - background-color: white; - border-style: solid; - border-width: 1px; -} - -.btnbbcode { - color: #000000; - font-weight: normal; - font-size: 1.1em; - font-family: "Lucida Grande", Verdana, Helvetica, sans-serif; - background-color: #EFEFEF; - border: 1px solid #666666; -} - -.btnmain { - font-weight: bold; - background-color: #ECECEC; - border: 1px solid #A9B8C2; - cursor: pointer; - padding: 1px 5px; - font-size: 1.1em; -} - -.btnlite { - font-weight: normal; - background-color: #ECECEC; - border: 1px solid #A9B8C2; - cursor: pointer; - padding: 1px 5px; - font-size: 1.1em; -} - -.btnfile { - font-weight: normal; - background-color: #ECECEC; - border: 1px solid #A9B8C2; - padding: 1px 5px; - font-size: 1.1em; -} - -.helpline { - background-color: #DEE3E7; - border-style: none; -} - - -/* BBCode - ------------ */ -.quotetitle, .attachtitle { - margin: 10px 5px 0 5px; - padding: 4px; - border-width: 1px 1px 0 1px; - border-style: solid; - border-color: #A9B8C2; - color: #333333; - background-color: #A9B8C2; - font-size: 0.85em; - font-weight: bold; -} - -.quotetitle .quotetitle { - font-size: 1em; -} - -.quotecontent, .attachcontent { - margin: 0 5px 10px 5px; - padding: 5px; - border-color: #A9B8C2; - border-width: 0 1px 1px 1px; - border-style: solid; - font-weight: normal; - font-size: 1em; - line-height: 1.4em; - font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; - background-color: #FAFAFA; - color: #4B5C77; -} - -.attachcontent { - font-size: 0.85em; -} - -.codetitle { - margin: 10px 5px 0 5px; - padding: 2px 4px; - border-width: 1px 1px 0 1px; - border-style: solid; - border-color: #A9B8C2; - color: #333333; - background-color: #A9B8C2; - font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; - font-size: 0.8em; -} - -.codecontent { - direction: ltr; - margin: 0 5px 10px 5px; - padding: 5px; - border-color: #A9B8C2; - border-width: 0 1px 1px 1px; - border-style: solid; - font-weight: normal; - color: #006600; - font-size: 0.85em; - font-family: Monaco, 'Courier New', monospace; - background-color: #FAFAFA; -} - -.syntaxbg { - color: #FFFFFF; -} - -.syntaxcomment { - color: #FF8000; -} - -.syntaxdefault { - color: #0000BB; -} - -.syntaxhtml { - color: #000000; -} - -.syntaxkeyword { - color: #007700; -} - -.syntaxstring { - color: #DD0000; -} - - -/* Private messages - ------------------ */ -.pm_marked_colour { - background-color: #000000; -} - -.pm_replied_colour { - background-color: #A9B8C2; -} - -.pm_friend_colour { - background-color: #007700; -} - -.pm_foe_colour { - background-color: #DD0000; -} - - -/* Misc - ------------ */ -img { - border: none; -} - -.sep { - color: black; - background-color: #FFA34F; -} - -table.colortable td { - padding: 0; -} - -pre { - font-size: 1.1em; - font-family: Monaco, 'Courier New', monospace; -} - -.nowrap { - white-space: nowrap; -} - -.username-coloured { - font-weight: bold; -} diff --git a/phpBB/styles/subsilver2/theme/gym_rss.css b/phpBB/styles/subsilver2/theme/gym_rss.css deleted file mode 100644 index 047a635201..0000000000 --- a/phpBB/styles/subsilver2/theme/gym_rss.css +++ /dev/null @@ -1,666 +0,0 @@ -/* phpBB 3.0 Style Sheet
- --------------------------------------------------------------
- Style name: subsilver2
- Based on style: subSilver (the default phpBB 2 style)
- Original author: subBlue ( http://www.subBlue.com/ )
- Modified by: psoTFX and the phpBB team ( http://www.phpbb.com )
-
- This is an alternative style for phpBB3 for those wishing to stay with
- the familiar subSilver style of phpBB version 2.x
-
- Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
- --------------------------------------------------------------
-*/
-
-/* Layout
- ------------ */
-* {
- /* Reset browsers default margin, padding and font sizes */
- margin: 0;
- padding: 0;
-}
-
-html {
- font-size: 100%;
-}
-
-body {
- /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
- font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
- color: #323D4F;
- background-color: #FFFFFF;
- font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
- margin: 0;
-}
-
-#wrapheader {
- min-height: 120px;
- height: auto !important;
- height: 120px;
-/* background-image: url('./images/background.gif');
- background-repeat: repeat-x;*/
-/* padding: 0 25px 15px 25px;*/
- padding: 0;
-}
-
-#wrapcentre {
- margin: 15px 25px 0 25px;
-}
-
-#wrapfooter {
- text-align: center;
- clear: both;
-}
-
-#wrapnav {
- width: 100%;
- margin: 0;
- background-color: #ECECEC;
- border-width: 1px;
- border-style: solid;
- border-color: #A9B8C2;
-}
-
-#logodesc {
- margin-bottom: 5px;
- padding: 5px 25px;
- background: #D9DFE4;
- border-bottom: 1px solid #4787A7;
-}
-
-#menubar {
- margin: 0 25px;
-}
-
-#datebar {
- margin: 10px 25px 0 25px;
-}
-
-#findbar {
- width: 100%;
- margin: 0;
- padding: 0;
- border: 0;
-}
-
-.forumrules {
- background-color: #F9CC79;
- border-width: 1px;
- border-style: solid;
- border-color: #BB9860;
- padding: 4px;
- font-weight: normal;
- font-size: 1.1em;
- font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
-}
-
-.forumrules h3 {
- color: red;
-}
-
-#pageheader { }
-#pagecontent { }
-#pagefooter { }
-
-#poll { }
-#postrow { }
-#postdata { }
-
-
-/* Text
- --------------------- */
-h1 {
- color: black;
- font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
- font-weight: bold;
- font-size: 1.8em;
- text-decoration: none;
-}
-
-h2 {
- font-family: Arial, Helvetica, sans-serif;
- font-weight: bold;
- font-size: 1.5em;
- text-decoration: none;
- line-height: 120%;
-}
-
-h3 {
- font-size: 1.3em;
- font-weight: bold;
- font-family: Arial, Helvetica, sans-serif;
- line-height: 120%;
-}
-
-h4 {
- margin: 0;
- font-size: 1.1em;
- font-weight: bold;
-}
-
-p {
- font-size: 1.1em;
-}
-
-p.moderators {
- margin: 0;
- float: left;
- color: black;
- font-weight: bold;
-}
-
-.rtl p.moderators {
- float: right;
-}
-
-p.linkmcp {
- margin: 0;
- float: right;
- white-space: nowrap;
-}
-
-.rtl p.linkmcp {
- float: left;
-}
-
-p.breadcrumbs {
- margin: 0;
- float: left;
- color: black;
- font-weight: bold;
- white-space: normal;
- font-size: 1em;
-}
-
-.rtl p.breadcrumbs {
- float: right;
-}
-
-p.datetime {
- margin: 0;
- float: right;
- white-space: nowrap;
- font-size: 1em;
-}
-
-.rtl p.datetime {
- float: left;
-}
-
-p.searchbar {
- padding: 2px 0;
- white-space: nowrap;
-}
-
-p.searchbarreg {
- margin: 0;
- float: right;
- white-space: nowrap;
-}
-
-.rtl p.searchbarreg {
- float: left;
-}
-
-p.forumdesc {
- padding-bottom: 4px;
-}
-
-p.topicauthor {
- margin: 1px 0;
-}
-
-p.topicdetails {
- margin: 1px 0;
-}
-
-.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
- margin: 1px 0;
- color: red;
- font-weight:bold;
-}
-
-.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
- color: green;
- font-weight:bold;
-}
-
-.postapprove img, .postreported img {
- vertical-align: bottom;
-}
-
-.postauthor {
- color: #000000;
-}
-
-.postdetails {
- color: #000000;
-}
-
-.postbody {
- font-size: 1.3em;
- line-height: 1.4em;
- font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
-}
-
-.postbody li, ol, ul {
- margin: 0 0 0 1.5em;
-}
-
-.rtl .postbody li, .rtl ol, .rtl ul {
- margin: 0 1.5em 0 0;
-}
-
-.posthilit {
- background-color: yellow;
-}
-
-.nav {
- margin: 0;
- color: black;
- font-weight: bold;
-}
-
-.pagination {
- padding: 4px;
- color: black;
- font-size: 1em;
- font-weight: bold;
-}
-
-.cattitle {
-
-}
-
-.gen {
- margin: 1px 1px;
- font-size: 1.2em;
-}
-
-.genmed {
- margin: 1px 1px;
- font-size: 1.1em;
-}
-
-.gensmall {
- margin: 1px 1px;
- font-size: 1em;
-}
-
-.copyright {
- color: #444;
- font-weight: normal;
- font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
-}
-
-.titles {
- font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
- font-weight: bold;
- font-size: 1.3em;
- text-decoration: none;
-}
-
-.error {
- color: red;
-}
-
-
-/* Tables
- ------------ */
-th {
- color: #FFA34F;
- font-size: 1.1em;
- font-weight: bold;
- background-color: #006699;
- background-image: url('./images/cellpic3.gif');
- white-space: nowrap;
- padding: 7px 5px;
-}
-
-td {
- padding: 2px;
-}
-td.profile {
- padding: 4px;
-}
-
-.tablebg {
- background-color: #A9B8C2;
-}
-
-.catdiv {
- height: 28px;
- margin: 0;
- padding: 0;
- border: 0;
- background: white url('./images/cellpic2.jpg') repeat-y scroll top left;
-}
-.rtl .catdiv {
- background: white url('./images/cellpic2_rtl.jpg') repeat-y scroll top right;
-}
-
-.cat {
- height: 28px;
- margin: 0;
- padding: 0;
- border: 0;
- background-color: #C7D0D7;
- background-image: url('./images/cellpic1.gif');
- text-indent: 4px;
-}
-
-.row1 {
- background-color: #ECECEC;
- padding: 4px;
-}
-
-.row2 {
- background-color: #DCE1E5;
- padding: 4px;
-}
-
-.row3 {
- background-color: #C0C8D0;
- padding: 4px;
-}
-
-.spacer {
- background-color: #D1D7DC;
-}
-
-hr {
- height: 1px;
- border-width: 0;
- background-color: #D1D7DC;
- color: #D1D7DC;
-}
-
-.legend {
- text-align:center;
- margin: 0 auto;
-}
-
-/* Links
- ------------ */
-a:link {
- color: #006597;
- text-decoration: none;
-}
-
-a:active,
-a:visited {
- color: #005784;
- text-decoration: none;
-}
-
-a:hover {
- color: #D46400;
- text-decoration: underline;
-}
-
-a.forumlink {
- color: #069;
- font-weight: bold;
- font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
- font-size: 1.2em;
-}
-
-a.topictitle {
- margin: 1px 0;
- font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
- font-weight: bold;
- font-size: 1.2em;
-}
-
-a.topictitle:visited {
- color: #5493B4;
- text-decoration: none;
-}
-
-th a,
-th a:visited {
- color: #FFA34F !important;
- text-decoration: none;
-}
-
-th a:hover {
- text-decoration: underline;
-}
-
-
-/* Form Elements
- ------------ */
-form {
- margin: 0;
- padding: 0;
- border: 0;
-}
-
-input {
- color: #333333;
- font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
- font-size: 1.1em;
- font-weight: normal;
- padding: 1px;
- border: 1px solid #A9B8C2;
- background-color: #FAFAFA;
-}
-
-textarea {
- background-color: #FAFAFA;
- color: #333333;
- font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
- font-size: 1.3em;
- line-height: 1.4em;
- font-weight: normal;
- border: 1px solid #A9B8C2;
- padding: 2px;
-}
-
-select {
- color: #333333;
- background-color: #FAFAFA;
- font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
- font-size: 1.1em;
- font-weight: normal;
- border: 1px solid #A9B8C2;
- padding: 1px;
-}
-
-option {
- padding: 0 1em 0 0;
-}
-
-option.disabled-option {
- color: graytext;
-}
-
-.rtl option {
- padding: 0 0 0 1em;
-}
-
-input.radio {
- border: none;
- background-color: transparent;
-}
-
-.post {
- background-color: white;
- border-style: solid;
- border-width: 1px;
-}
-
-.btnbbcode {
- color: #000000;
- font-weight: normal;
- font-size: 1.1em;
- font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
- background-color: #EFEFEF;
- border: 1px solid #666666;
-}
-
-.btnmain {
- font-weight: bold;
- background-color: #ECECEC;
- border: 1px solid #A9B8C2;
- cursor: pointer;
- padding: 1px 5px;
- font-size: 1.1em;
-}
-
-.btnlite {
- font-weight: normal;
- background-color: #ECECEC;
- border: 1px solid #A9B8C2;
- cursor: pointer;
- padding: 1px 5px;
- font-size: 1.1em;
-}
-
-.btnfile {
- font-weight: normal;
- background-color: #ECECEC;
- border: 1px solid #A9B8C2;
- padding: 1px 5px;
- font-size: 1.1em;
-}
-
-.helpline {
- background-color: #DEE3E7;
- border-style: none;
-}
-
-
-/* BBCode
- ------------ */
-.quotetitle, .attachtitle {
- margin: 10px 5px 0 5px;
- padding: 4px;
- border-width: 1px 1px 0 1px;
- border-style: solid;
- border-color: #A9B8C2;
- color: #333333;
- background-color: #A9B8C2;
- font-size: 0.85em;
- font-weight: bold;
-}
-
-.quotetitle .quotetitle {
- font-size: 1em;
-}
-
-.quotecontent, .attachcontent {
- margin: 0 5px 10px 5px;
- padding: 5px;
- border-color: #A9B8C2;
- border-width: 0 1px 1px 1px;
- border-style: solid;
- font-weight: normal;
- font-size: 1em;
- line-height: 1.4em;
- font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
- background-color: #FAFAFA;
- color: #4B5C77;
-}
-
-.attachcontent {
- font-size: 0.85em;
-}
-
-.codetitle {
- margin: 10px 5px 0 5px;
- padding: 2px 4px;
- border-width: 1px 1px 0 1px;
- border-style: solid;
- border-color: #A9B8C2;
- color: #333333;
- background-color: #A9B8C2;
- font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
- font-size: 0.8em;
-}
-
-.codecontent {
- direction: ltr;
- margin: 0 5px 10px 5px;
- padding: 5px;
- border-color: #A9B8C2;
- border-width: 0 1px 1px 1px;
- border-style: solid;
- font-weight: normal;
- color: #006600;
- font-size: 0.85em;
- font-family: Monaco, 'Courier New', monospace;
- background-color: #FAFAFA;
-}
-
-.syntaxbg {
- color: #FFFFFF;
-}
-
-.syntaxcomment {
- color: #FF8000;
-}
-
-.syntaxdefault {
- color: #0000BB;
-}
-
-.syntaxhtml {
- color: #000000;
-}
-
-.syntaxkeyword {
- color: #007700;
-}
-
-.syntaxstring {
- color: #DD0000;
-}
-
-
-/* Private messages
- ------------------ */
-.pm_marked_colour {
- background-color: #000000;
-}
-
-.pm_replied_colour {
- background-color: #A9B8C2;
-}
-
-.pm_friend_colour {
- background-color: #007700;
-}
-
-.pm_foe_colour {
- background-color: #DD0000;
-}
-
-
-/* Misc
- ------------ */
-img {
- border: none;
-}
-
-.sep {
- color: black;
- background-color: #FFA34F;
-}
-
-table.colortable td {
- padding: 0;
-}
-
-pre {
- font-size: 1.1em;
- font-family: Monaco, 'Courier New', monospace;
-}
-
-.nowrap {
- white-space: nowrap;
-}
-
-.username-coloured {
- font-weight: bold;
-}
diff --git a/phpBB/styles/subsilver2/theme/gym_rss_links.css b/phpBB/styles/subsilver2/theme/gym_rss_links.css deleted file mode 100644 index 0a4358ed14..0000000000 --- a/phpBB/styles/subsilver2/theme/gym_rss_links.css +++ /dev/null @@ -1,18 +0,0 @@ -/* the news box when JavaScript is available */
-#news.hasJS
-{
- width:100%;
- height:120px;
- overflow:hidden;
- position:relative;
-}
-/* The nested UL when JavaScript is available */
-#news.hasJS ul
-{
- width:100%;
- position:absolute;
- top:120px;
- left:0;
- margin:0 .5em 0 .5em;
- padding:0;
-}
diff --git a/phpBB/styles/subsilver2/theme/stylesheet.css b/phpBB/styles/subsilver2/theme/stylesheet.css index 9626e2bbf2..726efdca0a 100644 --- a/phpBB/styles/subsilver2/theme/stylesheet.css +++ b/phpBB/styles/subsilver2/theme/stylesheet.css @@ -667,27 +667,4 @@ pre { .username-coloured { font-weight: bold; -} -/* GYM Sitemaps & RSS - www.phpbb-seo.com */ -div.gymsublist { - display:block; - position:relative; - padding-left:10px; - padding-top:5px; - padding-bottom:10px; - padding-right:0; - margin:0; -} -div.gymsublist ul { - display:block; - position:relative; - height:1%; - padding-left:30px; -} -div.gymsublist ul li { - display:block; - position:relative; - line-height:18px; - font-size:11px; -} -/* GYM Sitemaps & RSS - www.phpbb-seo.com */ +}
\ No newline at end of file diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index c15cf85ca4..9cfa93f880 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -16,16 +16,7 @@ $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); include($phpbb_root_path . 'includes/functions_display.' . $phpEx); -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -if (empty($_REQUEST['f'])) { - $phpbb_seo->get_forum_id($session_forum_id); - if ($session_forum_id == 0) { - header('HTTP/1.1 404 Not Found'); - } else { - $_REQUEST['f'] = (int) $session_forum_id; - } -} -// www.phpBB-SEO.com SEO TOOLKIT END + // Start session $user->session_begin(); $auth->acl($user->data); @@ -78,9 +69,7 @@ if (!$forum_data) { trigger_error('NO_FORUM'); } -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -$phpbb_seo->set_url($forum_data['forum_name'], $forum_data['forum_id'], 'forum'); -// www.phpBB-SEO.com SEO TOOLKIT END + // Configure style, language, etc. $user->setup('viewforum', $forum_data['forum_style']); @@ -126,44 +115,7 @@ if ($forum_data['forum_type'] == FORUM_LINK && $forum_data['forum_link']) redirect($forum_data['forum_link'], false, true); return; } -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> Zero dupe -if ($forum_data['forum_topics_per_page']) { - $config['topics_per_page'] = $forum_data['forum_topics_per_page']; -} -$phpbb_seo->seo_opt['zero_dupe']['start'] = $phpbb_seo->seo_chk_start( $start, $config['topics_per_page'] ); -if (!empty($phpbb_seo->seo_opt['url_rewrite'])) { - $phpbb_seo->seo_path['canonical'] = $phpbb_seo->drop_sid(append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id&start=$start")); -} -$seo_watch = request_var('watch', ''); -$seo_unwatch = request_var('unwatch', ''); -$keep_watch = (boolean) ($seo_watch == 'forum' && $user->data['is_registered']); -$keep_unwatch = (boolean) ($seo_unwatch == 'forum' && $user->data['is_registered']); -$keep_mark = in_array($mark_read, array('topics', 'topic', 'forums', 'all')) ? (boolean) ($user->data['is_registered'] || $config['load_anon_lastread']) : false; -$keep_hash = (boolean) ($keep_watch || $keep_unwatch || $keep_mark); -$seo_uid = max(0, request_var('uid', 0)); -$phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array( - 'uid' => array('val' => $seo_uid, 'keep' => (boolean) ($keep_hash && $seo_uid) ), - 'hash' => array('val' => request_var('hash', ''), 'keep' => $keep_hash), - 'f' => array('val' => $forum_id, 'keep' => true, 'force' => true), - 'st' => array('val' => $sort_days, 'keep' => true), - 'sk' => array('val' => $sort_key, 'keep' => true), - 'sd' => array('val' => $sort_dir, 'keep' => true), - 'mark' => array('val' => $mark_read, 'keep' => $keep_mark), - 'watch' => array('val' => $seo_watch, 'keep' => $keep_watch), - 'unwatch' => array('val' => $seo_unwatch, 'keep' => $keep_unwatch), - 'start' => array('val' => $phpbb_seo->seo_opt['zero_dupe']['start'], 'keep' => true), -); -if ($seo_uid) { // Reorder vars a bit as required - // Note : watch and unwatch cases could just not be handled by the zero dupe (no redirect at all when used), - // but the handling as well acts as a poweful security shield so, it's worth it ;) - $_hash_tmp = $phpbb_seo->seo_opt['zero_dupe']['redir_def']['hash']; - unset($phpbb_seo->seo_opt['zero_dupe']['redir_def']['hash']); - $phpbb_seo->seo_opt['zero_dupe']['redir_def']['hash'] = $_hash_tmp; -} else { - unset($phpbb_seo->seo_opt['zero_dupe']['redir_def']['uid']); -} -$phpbb_seo->seo_chk_dupe(); -// www.phpBB-SEO.com SEO TOOLKIT END -> Zero dupe + // Build navigation links generate_forum_nav($forum_data); @@ -190,14 +142,7 @@ else } // Dump out the page header and load viewforum template -// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE -$extra_title = ($start > 0) ? ' - ' . $user->lang['Page'] . ( floor( $start / $config['topics_per_page'] ) + 1 ) : ''; -// www.phpBB-SEO.com SEO TOOLKIT BEGIN - META -$seo_meta->collect('description', $forum_data['forum_name'] . ' : ' . (!empty($forum_data['forum_desc']) ? $forum_data['forum_desc'] : $seo_meta->meta_def['description'])); -$seo_meta->collect('keywords', $forum_data['forum_name'] . ' ' . $seo_meta->meta['description']); -// www.phpBB-SEO.com SEO TOOLKIT END - META -page_header($forum_data['forum_name'] . $extra_title, true, $forum_id); -// www.phpBB-SEO.com SEO TOOLKIT END - TITLE +page_header($user->lang['VIEW_FORUM'] . ' - ' . $forum_data['forum_name'], true, $forum_id); $template->set_filenames(array( 'body' => 'viewforum_body.html') @@ -241,14 +186,11 @@ if ($mark_read == 'topics') trigger_error($user->lang['TOPICS_MARKED'] . '<br /><br />' . sprintf($user->lang['RETURN_FORUM'], '<a href="' . $redirect_url . '">', '</a>')); } -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> Zero dupe -// Moved this a little above for the zero dupe // Is a forum specific topic count required? -//if ($forum_data['forum_topics_per_page']) -//{ -// $config['topics_per_page'] = $forum_data['forum_topics_per_page']; -//} -// www.phpBB-SEO.com SEO TOOLKIT END -> Zero dupe +if ($forum_data['forum_topics_per_page']) +{ + $config['topics_per_page'] = $forum_data['forum_topics_per_page']; +} // Do the forum Prune thang - cron type job ... if ($forum_data['prune_next'] < time() && $forum_data['enable_prune']) @@ -318,12 +260,7 @@ if ($start < 0 || $start > $topics_count) { $start = ($start < 0) ? 0 : floor(($topics_count - 1) / $config['topics_per_page']) * $config['topics_per_page']; } -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> Zero dupe -if ($start != $phpbb_seo->seo_opt['zero_dupe']['start']) { - $phpbb_seo->seo_opt['zero_dupe']['redir_def']['start'] = array('val' => $start, 'keep' => true); - $phpbb_seo->seo_chk_dupe(); -} -// www.phpBB-SEO.com SEO TOOLKIT END -> Zero dupe + // Basic pagewide vars $post_alt = ($forum_data['forum_status'] == ITEM_LOCKED) ? $user->lang['FORUM_LOCKED'] : $user->lang['POST_NEW_TOPIC']; @@ -657,19 +594,7 @@ if (sizeof($topic_list)) $row = &$rowset[$topic_id]; $topic_forum_id = ($row['forum_id']) ? (int) $row['forum_id'] : $forum_id; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - if (!empty($row['topic_url'])) { - $phpbb_seo->prepare_iurl($row, 'topic', ''); - } else { - if ($phpbb_seo->modrtype > 2) { - $row['topic_title'] = censor_text($row['topic_title']); - } - $parent_forum = $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : (!empty($phpbb_seo->seo_url['forum'][$topic_forum_id]) ? $phpbb_seo->seo_url['forum'][$topic_forum_id] : false); - if ($parent_forum) { - $phpbb_seo->prepare_iurl($row, 'topic', $parent_forum); - } - } - // www.phpBB-SEO.com SEO TOOLKIT END + // This will allow the style designer to output a different header // or even separate the list of announcements from sticky and normal topics $s_type_switch_test = ($row['topic_type'] == POST_ANNOUNCE || $row['topic_type'] == POST_GLOBAL) ? 1 : 0; @@ -698,13 +623,7 @@ if (sizeof($topic_list)) $topic_unapproved = (!$row['topic_approved'] && $auth->acl_get('m_approve', $topic_forum_id)) ? true : false; $posts_unapproved = ($row['topic_approved'] && $row['topic_replies'] < $row['topic_replies_real'] && $auth->acl_get('m_approve', $topic_forum_id)) ? true : false; $u_mcp_queue = ($topic_unapproved || $posts_unapproved) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=' . (($topic_unapproved) ? 'approve_details' : 'unapproved_posts') . "&t=$topic_id", true, $user->session_id) : ''; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN -> no dupe - if (@$phpbb_seo->seo_opt['no_dupe']['on']) { - if (($replies + 1) > $phpbb_seo->seo_opt['topic_per_page']) { - $phpbb_seo->seo_opt['topic_last_page'][$topic_id] = floor($replies / $phpbb_seo->seo_opt['topic_per_page']) * $phpbb_seo->seo_opt['topic_per_page']; - } - } - // www.phpBB-SEO.com SEO TOOLKIT END -> no dupe + // Send vars to template $template->assign_block_vars('topicrow', array( 'FORUM_ID' => $topic_forum_id, @@ -752,9 +671,7 @@ if (sizeof($topic_list)) 'S_TOPIC_MOVED' => ($row['topic_status'] == ITEM_MOVED) ? true : false, 'U_NEWEST_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", $view_topic_url_params . '&view=unread') . '#unread', - // www.phpBB-SEO.com SEO TOOLKIT BEGIN -> no dupe - 'U_LAST_POST' => @$phpbb_seo->seo_opt['no_dupe']['on'] ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $topic_forum_id . '&t=' . $topic_id . '&start=' . @intval($phpbb_seo->seo_opt['topic_last_page'][$topic_id])) . '#p' . $row['topic_last_post_id'] : append_sid("{$phpbb_root_path}viewtopic.$phpEx", $view_topic_url_params . '&p=' . $row['topic_last_post_id']) . '#p' . $row['topic_last_post_id'], - // www.phpBB-SEO.com SEO TOOLKIT END -> no dupe + 'U_LAST_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", $view_topic_url_params . '&p=' . $row['topic_last_post_id']) . '#p' . $row['topic_last_post_id'], 'U_LAST_POST_AUTHOR' => get_username_string('profile', $row['topic_last_poster_id'], $row['topic_last_poster_name'], $row['topic_last_poster_colour']), 'U_TOPIC_AUTHOR' => get_username_string('profile', $row['topic_poster'], $row['topic_first_poster_name'], $row['topic_first_poster_colour']), 'U_VIEW_TOPIC' => $view_topic_url, diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 0061beac84..498088c5c8 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -17,20 +17,7 @@ $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); include($phpbb_root_path . 'includes/functions_display.' . $phpEx); include($phpbb_root_path . 'includes/bbcode.' . $phpEx); -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -if (empty($_REQUEST['f'])) { - $phpbb_seo->get_forum_id($session_forum_id); - if ($session_forum_id > 0) { - $_REQUEST['f'] = (int) $session_forum_id; - } -} -if (!empty($_REQUEST['hilit'])) { - $_REQUEST['hilit'] = rawurldecode($_REQUEST['hilit']); - if (!$phpbb_seo->is_utf8($_REQUEST['hilit'])) { - $_REQUEST['hilit'] = utf8_normalize_nfc(utf8_recode($_REQUEST['hilit'], 'iso-8859-1')); - } -} -// www.phpBB-SEO.com SEO TOOLKIT END + // Start session management $user->session_begin(); $auth->acl($user->data); @@ -343,40 +330,6 @@ if ($post_id) } $topic_id = (int) $topic_data['topic_id']; -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -$phpbb_seo->set_url($topic_data['forum_name'], $forum_id, 'forum'); -if ($topic_data['topic_type'] == POST_GLOBAL) { - // Let's make sure user will see global annoucements - $auth->cache[$forum_id]['f_read'] = 1; - $_parent = $phpbb_seo->seo_static['global_announce']; -} else { - $_parent = $phpbb_seo->seo_url['forum'][$forum_id]; -} -if (!empty($phpbb_seo->seo_opt['sql_rewrite'])) { - if ( !$phpbb_seo->check_url('topic', $topic_data['topic_url'], $_parent)) { - if (!empty($topic_data['topic_url'])) { - // Here we get rid of the seo delim (-t) and put it back even in simple mod - // to be able to handle all cases at once - $_url = preg_replace('`' . $phpbb_seo->seo_delim['topic'] . '$`i', '', $topic_data['topic_url']); - $_title = $phpbb_seo->get_url_info('topic', $_url . $phpbb_seo->seo_delim['topic'] . $topic_id, 'title'); - } else { - $_title = $phpbb_seo->modrtype > 2 ? censor_text($topic_data['topic_title']) : ''; - } - unset($phpbb_seo->seo_url['topic'][$topic_id]); - $topic_data['topic_url'] = $phpbb_seo->get_url_info('topic', $phpbb_seo->prepare_url( 'topic', $_title, $topic_id, $_parent, (( empty($_title) || ($_title == $phpbb_seo->seo_static['topic']) ) ? true : false) ), 'url'); - unset($phpbb_seo->seo_url['topic'][$topic_id]); - if ($topic_data['topic_url']) { - // Update the topic_url field for later re-use - $sql = "UPDATE " . TOPICS_TABLE . " SET topic_url = '" . $db->sql_escape($topic_data['topic_url']) . "' - WHERE topic_id = $topic_id"; - $db->sql_query($sql); - } - } -} else { - $topic_data['topic_url'] = ''; -} -$phpbb_seo->prepare_iurl($topic_data, 'topic', $_parent); -// www.phpBB-SEO.com SEO TOOLKIT END // $topic_replies = ($auth->acl_get('m_approve', $forum_id)) ? $topic_data['topic_replies_real'] : $topic_data['topic_replies']; @@ -423,23 +376,17 @@ if (isset($_GET['e'])) { $jump_to = request_var('e', 0); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - //$redirect_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id"); - // www.phpBB-SEO.com SEO TOOLKIT END + $redirect_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id"); if ($user->data['user_id'] == ANONYMOUS) { - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - login_box(append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&p=$post_id&e=$jump_to"), $user->lang['LOGIN_NOTIFY_TOPIC']); - // www.phpBB-SEO.com SEO TOOLKIT END + login_box($redirect_url . "&p=$post_id&e=$jump_to", $user->lang['LOGIN_NOTIFY_TOPIC']); } if ($jump_to > 0) { // We direct the already logged in user to the correct post... - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - redirect(append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id" . ((!$post_id) ? "&p=$jump_to" : "&p=$post_id")) . "#p$jump_to"); - // www.phpBB-SEO.com SEO TOOLKIT END + redirect($redirect_url . ((!$post_id) ? "&p=$jump_to" : "&p=$post_id") . "#p$jump_to"); } } @@ -528,48 +475,7 @@ if ($start < 0 || $start >= $total_posts) { $start = ($start < 0) ? 0 : floor(($total_posts - 1) / $config['posts_per_page']) * $config['posts_per_page']; } -// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> Zero dupe -$phpbb_seo->seo_opt['zero_dupe']['start'] = $phpbb_seo->seo_chk_start( $start, $config['posts_per_page'] ); -if (!empty($phpbb_seo->seo_opt['url_rewrite'])) { - $phpbb_seo->seo_path['canonical'] = $phpbb_seo->drop_sid(append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&start=$start")); -} -if ( $post_id && !$view && !$phpbb_seo->set_do_redir_post()) { - $phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array( - 'p' => array('val' => $post_id, 'keep' => true, 'force' => true, 'hash' => "p$post_id"), - 'hilit' => array('val' => (($highlight_match) ? $highlight : ''), 'keep' => !empty($highlight_match)), - ); -} else { - $seo_watch = request_var('watch', ''); - $seo_unwatch = request_var('unwatch', ''); - $seo_bookmark = request_var('bookmark', 0); - $keep_watch = (boolean) ($seo_watch == 'topic' && $user->data['is_registered']); - $keep_unwatch = (boolean) ($seo_unwatch == 'topic' && $user->data['is_registered']); - $keep_hash = (boolean) ($keep_watch || $keep_unwatch || $seo_bookmark); - $seo_uid = max(0, request_var('uid', 0)); - $phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array( - 'uid' => array('val' => $seo_uid, 'keep' => (boolean) ($keep_hash && $seo_uid)), - 'f' => array('val' => $forum_id, 'keep' => true, 'force' => true), - 't' => array('val' => $topic_id, 'keep' => true, 'force' => true, 'hash' => $post_id ? "p$post_id" : ''), - 'p' => array('val' => $post_id, 'keep' => ($post_id && $view == 'show' ? true : false), 'hash' => "p$post_id"), - 'watch' => array('val' => $seo_watch, 'keep' => $keep_watch), - 'unwatch' => array('val' => $seo_unwatch, 'keep' => $keep_unwatch), - 'bookmark' => array('val' => $seo_bookmark, 'keep' => (boolean) ($user->data['is_registered'] && $config['allow_bookmarks'] && $seo_bookmark)), - 'start' => array('val' => $phpbb_seo->seo_opt['zero_dupe']['start'], 'keep' => true, 'force' => true), - 'hash' => array('val' => request_var('hash', ''), 'keep' => $keep_hash), - 'st' => array('val' => $sort_days, 'keep' => true), - 'sk' => array('val' => $sort_key, 'keep' => true), - 'sd' => array('val' => $sort_dir, 'keep' => true), - 'view' => array('val' => $view, 'keep' => $view == 'print' ? (boolean) $auth->acl_get('f_print', $forum_id) : (($view == 'viewpoll' || $view == 'show') ? true : false)), - 'hilit' => array('val' => (($highlight_match) ? $highlight : ''), 'keep' => (boolean) !(!$user->data['is_registered'] && $phpbb_seo->seo_opt['rem_hilit'])), - ); - if ($phpbb_seo->seo_opt['zero_dupe']['redir_def']['bookmark']['keep']) { // Prevent unessecary redirections - // Note : bookmark, watch and unwatch cases could just not be handled by the zero dupe (no redirect at all when used), - // but the handling as well acts as a poweful security shield so, it's worth it ;) - unset($phpbb_seo->seo_opt['zero_dupe']['redir_def']['start']); - } -} -$phpbb_seo->seo_chk_dupe(); -// www.phpBB-SEO.com SEO TOOLKIT END -> Zero dupe + // General Viewtopic URL for return links $viewtopic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id" . (($start == 0) ? '' : "&start=$start") . ((strlen($u_sort_param)) ? "&$u_sort_param" : '') . (($highlight_match) ? "&hilit=$highlight" : '')); @@ -736,26 +642,20 @@ $template->assign_vars(array( 'S_DISPLAY_REPLY_INFO' => ($topic_data['forum_type'] == FORUM_POST && ($auth->acl_get('f_reply', $forum_id) || $user->data['user_id'] == ANONYMOUS)) ? true : false, 'S_ENABLE_FEEDS_TOPIC' => ($config['feed_topic'] && !phpbb_optionget(FORUM_OPTION_FEED_EXCLUDE, $topic_data['forum_options'])) ? true : false, - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - 'U_TOPIC' => !empty($phpbb_seo->seo_opt['url_rewrite']) ? $phpbb_seo->drop_sid($viewtopic_url) : "{$server_path}viewtopic.$phpEx?f=$forum_id&t=$topic_id", - // www.phpBB-SEO.com SEO TOOLKIT END + 'U_TOPIC' => "{$server_path}viewtopic.$phpEx?f=$forum_id&t=$topic_id", 'U_FORUM' => $server_path, 'U_VIEW_TOPIC' => $viewtopic_url, 'U_VIEW_FORUM' => append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $forum_id), 'U_VIEW_OLDER_TOPIC' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&view=previous"), 'U_VIEW_NEWER_TOPIC' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&view=next"), - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - 'U_PRINT_TOPIC' => ($auth->acl_get('f_print', $forum_id)) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&start=$start" . ((strlen($u_sort_param)) ? "&$u_sort_param" : '') . (($highlight_match) ? "&hilit=$highlight" : '') . "&view=print") : '', - // www.phpBB-SEO.com SEO TOOLKIT END + 'U_PRINT_TOPIC' => ($auth->acl_get('f_print', $forum_id)) ? $viewtopic_url . '&view=print' : '', 'U_EMAIL_TOPIC' => ($auth->acl_get('f_email', $forum_id) && $config['email_enable']) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=email&t=$topic_id") : '', 'U_WATCH_TOPIC' => $s_watching_topic['link'], 'L_WATCH_TOPIC' => $s_watching_topic['title'], 'S_WATCHING_TOPIC' => $s_watching_topic['is_watching'], - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - 'U_BOOKMARK_TOPIC' => ($user->data['is_registered'] && $config['allow_bookmarks']) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&bookmark=1&hash=" . generate_link_hash("topic_$topic_id")) : '', - // www.phpBB-SEO.com SEO TOOLKIT END + 'U_BOOKMARK_TOPIC' => ($user->data['is_registered'] && $config['allow_bookmarks']) ? $viewtopic_url . '&bookmark=1&hash=' . generate_link_hash("topic_$topic_id") : '', 'L_BOOKMARK_TOPIC' => ($user->data['is_registered'] && $config['allow_bookmarks'] && $topic_data['bookmarked']) ? $user->lang['BOOKMARK_TOPIC_REMOVE'] : $user->lang['BOOKMARK_TOPIC'], 'U_POST_NEW_TOPIC' => ($auth->acl_get('f_post', $forum_id) || $user->data['user_id'] == ANONYMOUS) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=post&f=$forum_id") : '', @@ -984,9 +884,7 @@ if (!empty($topic_data['poll_start'])) 'S_IS_MULTI_CHOICE' => ($topic_data['poll_max_options'] > 1) ? true : false, 'S_POLL_ACTION' => $viewtopic_url, - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - 'U_VIEW_RESULTS' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&view=viewpoll") ) - // www.phpBB-SEO.com SEO TOOLKIT END + 'U_VIEW_RESULTS' => $viewtopic_url . '&view=viewpoll') ); unset($poll_end, $poll_info, $voted_id); @@ -1100,9 +998,7 @@ while ($row = $db->sql_fetchrow($result)) } $poster_id = (int) $row['poster_id']; - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - $phpbb_seo->set_user_url( $row['username'], $poster_id ); - // www.phpBB-SEO.com SEO TOOLKIT END + // Does post have an attachment? If so, add it to the list if ($row['post_attachment'] && $config['allow_attachments']) { @@ -1456,29 +1352,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) // Parse the message and subject $message = censor_text($row['post_text']); - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - META - if ($i == 0) { - $m_kewrd = ''; - $seo_meta->collect('description', $message); - if ($seo_meta->mconfig['topic_sql']) { - $common_sql = $seo_meta->mconfig['bypass_common'] ? '' : 'AND w.word_common = 0'; - // collect keywords from all post in page - $post_id_sql = $db->sql_in_set('m.post_id', $post_list, false, true); - $sql = "SELECT w.word_text - FROM " . SEARCH_WORDMATCH_TABLE . " m, " . SEARCH_WORDLIST_TABLE . " w - WHERE $post_id_sql - AND w.word_id = m.word_id - $common_sql - ORDER BY w.word_count DESC"; - $result = $db->sql_query_limit($sql, min(25, (int) $seo_meta->mconfig['keywordlimit'])); - while ( $meta_row = $db->sql_fetchrow($result) ) { - $m_kewrd .= ' ' . $meta_row['word_text']; - } - $db->sql_freeresult($result); - } - $seo_meta->collect('keywords', $topic_data['topic_title'] . ' ' . $row['post_subject'] . ' ' . (!empty($m_kewrd) ? $m_kewrd : $seo_meta->meta['description'])); - } - // www.phpBB-SEO.com SEO TOOLKIT END - META + // Second parse bbcode here if ($row['bbcode_bitfield']) { @@ -1666,9 +1540,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) 'U_REPORT' => ($auth->acl_get('f_report', $forum_id)) ? append_sid("{$phpbb_root_path}report.$phpEx", 'f=' . $forum_id . '&p=' . $row['post_id']) : '', 'U_MCP_REPORT' => ($auth->acl_get('m_report', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=reports&mode=report_details&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '', 'U_MCP_APPROVE' => ($auth->acl_get('m_approve', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=approve_details&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '', - // www.phpBB-SEO.com SEO TOOLKIT BEGIN -> no dupe - 'U_MINI_POST' => @$phpbb_seo->seo_opt['no_dupe']['on'] ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", 't=' . $topic_id . '&f=' . $forum_id . '&start=' . $start ) . '#p' . $row['post_id'] : append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $row['post_id'] . (($topic_data['topic_type'] == POST_GLOBAL) ? '&f=' . $forum_id : '')) . '#p' . $row['post_id'], - // www.phpBB-SEO.com SEO TOOLKIT END -> no dupe + 'U_MINI_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $row['post_id']) . (($topic_data['topic_type'] == POST_GLOBAL) ? '&f=' . $forum_id : '') . '#p' . $row['post_id'], 'U_NEXT_POST_ID' => ($i < $i_total && isset($rowset[$post_list[$i + 1]])) ? $rowset[$post_list[$i + 1]]['post_id'] : '', 'U_PREV_POST_ID' => $prev_post_id, 'U_NOTES' => ($auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=notes&mode=user_notes&u=' . $poster_id, true, $user->session_id) : '', @@ -1688,9 +1560,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) 'S_TOPIC_POSTER' => ($topic_data['topic_poster'] == $poster_id) ? true : false, 'S_IGNORE_POST' => ($row['hide_post']) ? true : false, - // www.phpBB-SEO.com SEO TOOLKIT BEGIN - 'L_IGNORE_POST' => ($row['hide_post']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&p={$row['post_id']}&view=show") . '#p' . $row['post_id'] . '">', '</a>') : '', - // www.phpBB-SEO.com SEO TOOLKIT END + 'L_IGNORE_POST' => ($row['hide_post']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . $viewtopic_url . "&p={$row['post_id']}&view=show#p{$row['post_id']}" . '">', '</a>') : '', ); if (isset($cp_row['row']) && sizeof($cp_row['row'])) @@ -1872,18 +1742,9 @@ if (empty($_REQUEST['t']) && !empty($topic_id)) { $_REQUEST['t'] = $topic_id; } -// www.phpBB-SEO.com SEO TOOLKIT BEGIN - Related Topics -if (!empty($config['seo_related'])) { - require($phpbb_root_path . "phpbb_seo/phpbb_seo_related.$phpEx"); - $seo_related = new seo_related(); - $seo_related->get($topic_data, $forum_id); -} -// www.phpBB-SEO.com SEO TOOLKIT END - Related Topics + // Output the page -// www.phpBB-SEO.com SEO TOOLKIT BEGIN - TITLE -$extra_title = ($start > 0) ? ' - ' . $user->lang['Page'] . ( floor( ($start / $config['posts_per_page']) ) + 1 ) : ''; -page_header($topic_data['topic_title'] . ' : ' . $topic_data['forum_name'] . $extra_title, true, $forum_id); -// www.phpBB-SEO.com SEO TOOLKIT END - TITLE +page_header($user->lang['VIEW_TOPIC'] . ' - ' . $topic_data['topic_title'], true, $forum_id); $template->set_filenames(array( 'body' => ($view == 'print') ? 'viewtopic_print.html' : 'viewtopic_body.html') diff --git a/phpBB/web.config b/phpBB/web.config index ceb46bbb24..128fe3c98f 100644 --- a/phpBB/web.config +++ b/phpBB/web.config @@ -24,30 +24,4 @@ </security> </system.webServer> </location> - <!-- www.phpBB-SEO.com SEO TOOLKIT BEGIN --> - <location path="phpbb_seo"> - <system.webServer> - <security> - <requestFiltering> - <hiddenSegments> - <add segment="cache" /> - </hiddenSegments> - </requestFiltering> - </security> - </system.webServer> - </location> - <!-- www.phpBB-SEO.com SEO TOOLKIT END --> - <!-- www.phpBB-SEO.com SEO TOOLKIT BEGIN - GYM SITEMAPS --> - <location path="gym_sitemaps"> - <system.webServer> - <security> - <requestFiltering> - <hiddenSegments> - <add segment="cache" /> - </hiddenSegments> - </requestFiltering> - </security> - </system.webServer> - </location> - <!-- www.phpBB-SEO.com SEO TOOLKIT END - GYM SITEMAPS --> </configuration> |