You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(193) |
Nov
(393) |
Dec
(347) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(401) |
Feb
(232) |
Mar
(343) |
Apr
(129) |
May
(129) |
Jun
(116) |
Jul
(189) |
Aug
(129) |
Sep
(68) |
Oct
(172) |
Nov
(298) |
Dec
(148) |
| 2003 |
Jan
(264) |
Feb
(210) |
Mar
(322) |
Apr
(309) |
May
(234) |
Jun
(188) |
Jul
(215) |
Aug
(161) |
Sep
(234) |
Oct
(163) |
Nov
(110) |
Dec
(7) |
| 2004 |
Jan
(95) |
Feb
(107) |
Mar
(55) |
Apr
(3) |
May
(49) |
Jun
(35) |
Jul
(57) |
Aug
(43) |
Sep
(56) |
Oct
(40) |
Nov
(25) |
Dec
(21) |
| 2005 |
Jan
(93) |
Feb
(25) |
Mar
(22) |
Apr
(72) |
May
(45) |
Jun
(24) |
Jul
(29) |
Aug
(20) |
Sep
(50) |
Oct
(93) |
Nov
(69) |
Dec
(183) |
| 2006 |
Jan
(185) |
Feb
(143) |
Mar
(402) |
Apr
(260) |
May
(322) |
Jun
(367) |
Jul
(234) |
Aug
(299) |
Sep
(206) |
Oct
(288) |
Nov
(338) |
Dec
(307) |
| 2007 |
Jan
(296) |
Feb
(250) |
Mar
(261) |
Apr
(434) |
May
(539) |
Jun
(274) |
Jul
(440) |
Aug
(190) |
Sep
(128) |
Oct
(249) |
Nov
(86) |
Dec
(51) |
| 2008 |
Jan
(177) |
Feb
(67) |
Mar
(61) |
Apr
(48) |
May
(56) |
Jun
(97) |
Jul
(60) |
Aug
(64) |
Sep
(151) |
Oct
(79) |
Nov
(109) |
Dec
(123) |
| 2009 |
Jan
(70) |
Feb
(70) |
Mar
(73) |
Apr
(80) |
May
(22) |
Jun
(193) |
Jul
(191) |
Aug
(181) |
Sep
(120) |
Oct
(48) |
Nov
(24) |
Dec
|
|
From: Paul S. O. <ps...@us...> - 2002-01-14 14:17:21
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv12407/includes
Modified Files:
search.php
Log Message:
Simplified routines somewhat and introduced title searching
Index: search.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/search.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** search.php 2002/01/03 11:06:21 1.1
--- search.php 2002/01/14 14:17:18 1.2
***************
*** 20,74 ****
***************************************************************************/
! function clean_words($entry, &$stopword_list, &$synonym_list)
{
// Weird, $init_match doesn't work with static when double quotes (") are used...
! static $init_match = array('^', '$', '&', '(', ')', '<', '>', '`', "'", '|', ',', '@', '_', '?', '%');
! static $init_replace = array(" ", " ", " ", " ", " ", " ", " ", " ", "", " ", " ", " ", " ", " ", " ");
- static $later_match = array("-", "~", "+", ".", "[", "]", "{", "}", ":", "\\", "/", "=", "#", "\"", ";", "*", "!");
- static $later_replace = array(" ", " ", " ", " ", " ", " ", " ", " ", " ", " " , " ", " ", " ", " ", " ", " ", " ");
-
- static $sgml_match = array(" ", "ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ð", "ñ", "ò", "ó", "ô", "õ", "ö", "ø", "ù", "ú", "û", "ü", "ý", "þ", "ÿ");
- static $sgml_replace = array(" ", "s", "a", "a", "a", "a", "a", "a", "a", "c", "e", "e", "e", "e", "i", "i", "i", "i", "o", "n", "o", "o", "o", "o", "o", "o", "u", "u", "u", "u", "y", "t", "y");
-
static $accent_match = array("ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ð", "ñ", "ò", "ó", "ô", "õ", "ö", "ø", "ù", "ú", "û", "ü", "ý", "þ", "ÿ");
static $accent_replace = array("s", "a", "a", "a", "a", "a", "a", "a", "c", "e", "e", "e", "e", "i", "i", "i", "i", "o", "n", "o", "o", "o", "o", "o", "o", "u", "u", "u", "u", "y", "t", "y");
$entry = " " . strip_tags(strtolower($entry)) . " ";
-
- $entry = str_replace($sgml_match, $sgml_match, $entry);
- $entry = str_replace($accent_match, $accent_replace, $entry);
! // Replace line endings by a space
! $entry = preg_replace("/[\n\r]/is", " ", $entry);
! // Remove URL's
! $entry = preg_replace("/\b[a-z0-9]+:\/\/[a-z0-9\.\-]+(\/[a-z0-9\?\.%_\-\+=&\/]+)?/si", " ", $entry);
! // Filter out strange characters like ^, $, &, change "it's" to "its"
! // str_replace with arrays is buggy in some PHP versions so traverse the arrays manually ;(
! for($i = 0; $i < count($init_match); $i++)
{
! $entry = str_replace($init_match[$i], $init_replace[$i], $entry);
}
! // Quickly remove BBcode.
! $entry = preg_replace("/\[code:[0-9]+:[0-9a-z]{10,}\].*?\[\/code:[0-9]+:[0-9a-z]{10,}\]/is", " ", $entry);
! $entry = preg_replace("/\[img\].*?\[\/img\]/is", " ", $entry);
! $entry = preg_replace("/\[\/?[a-z\*=\+\-]+[0-9a-z]?(\:[a-z0-9]+)?:[a-z0-9]{10,}(\:[a-z0-9]+)?=?.*?\]/si", " ", $entry);
! // URLs
! $entry = preg_replace("/\[\/?[a-z\*]+[=\+\-]?[0-9a-z]+?:[a-z0-9]{10,}[=.*?]?\]/si", " ", $entry);
! $entry = preg_replace("/\[\/?url(=.*?)?\]/si", " ", $entry);
! // Numbers
$entry = preg_replace("/\b[0-9]+\b/si", " ", $entry);
! // HTML entities like &1234;
! $entry = preg_replace("/\b&[a-z]+;\b/is", " ", $entry);
! // 'words' that consist of <2 or >50 characters are removed.
! $entry = preg_replace("/\b[a-z0-9]{1,2}?\b/si", " ", $entry);
! $entry = preg_replace("/\b[a-z0-9]{50,}?\b/si", " ", $entry);
! // Remove some more strange characters
! for($i = 0; $i < count($later_match); $i++)
{
! $entry = str_replace($later_match[$i], $later_replace[$i], $entry);
}
--- 20,73 ----
***************************************************************************/
! function clean_words($mode, $entry, &$stopword_list, &$synonym_list)
{
// Weird, $init_match doesn't work with static when double quotes (") are used...
! static $drop_char_match = array('^', '$', '&', '(', ')', '<', '>', '`', "'", '|', ',', '@', '_', '?', '%', '-', '~', '+', '.', '[', ']', '{', '}', ':', '\\', '/', '=', '#', '\'', ';', '*', '!');
! static $drop_char_replace = array(" ", " ", " ", " ", " ", " ", " ", " ", "", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " " , " ", " ", " ", " ", " ", " ", " ");
static $accent_match = array("ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ð", "ñ", "ò", "ó", "ô", "õ", "ö", "ø", "ù", "ú", "û", "ü", "ý", "þ", "ÿ");
static $accent_replace = array("s", "a", "a", "a", "a", "a", "a", "a", "c", "e", "e", "e", "e", "i", "i", "i", "i", "o", "n", "o", "o", "o", "o", "o", "o", "u", "u", "u", "u", "y", "t", "y");
$entry = " " . strip_tags(strtolower($entry)) . " ";
! for($i = 0; $i < count($accent_match); $i++)
! {
! $entry = str_replace($accent_match[$i], $accent_replace[$i], $entry);
! }
! if( $mode == "post" )
{
! // HTML entities like
! $entry = preg_replace("/\b&[a-z]+;\b/is", " ", $entry);
! // Replace line endings by a space
! $entry = preg_replace("/[\n\r]/is", " ", $entry);
! // Remove URL's
! $entry = preg_replace("/\b[a-z0-9]+:\/\/[a-z0-9\.\-]+(\/[a-z0-9\?\.%_\-\+=&\/]+)?/si", " ", $entry);
! // Quickly remove BBcode.
! $entry = preg_replace("/\[img:[a-z0-9]{10,}\].*?\[\/img:[a-z0-9]{10,}\]/is", " ", $entry);
! $entry = preg_replace("/\[\/?url(=.*?)?\]/si", " ", $entry);
! $entry = preg_replace("/\[\/?[a-z\*=\+\-]+(\:?[0-9a-z]+)?:[a-z0-9]{10,}(\:[a-z0-9]+)?=?.*?\]/si", " ", $entry);
}
+ else if( $mode == "search" )
+ {
+ $entry = str_replace("+", " and ", $entry);
+ $entry = str_replace("-", " not ", $entry);
+ }
! // Replace numbers on their own
$entry = preg_replace("/\b[0-9]+\b/si", " ", $entry);
!
! //
! // Filter out strange characters like ^, $, &, change "it's" to "its"
! //
! for($i = 0; $i < count($drop_char_match); $i++)
! {
! $entry = str_replace($drop_char_match[$i], $drop_char_replace[$i], $entry);
! }
! if( $mode == "post" )
{
! // 'words' that consist of <=2 or >=50 characters are removed.
! $entry = preg_replace("/\b([a-z0-9]{1,2}|[a-z0-9]{50,})\b/si", " ", $entry);
}
***************
*** 78,82 ****
{
$filter_word = trim(strtolower($stopword_list[$j]));
! $entry = preg_replace("/\b" . phpbb_preg_quote($filter_word, "/") . "\b/is", " ", $entry);
}
}
--- 77,85 ----
{
$filter_word = trim(strtolower($stopword_list[$j]));
!
! if( ( $filter_word != "and" && $filter_word != "or" && $filter_word != "not" ) || $mode == "post" )
! {
! $entry = preg_replace("/\b" . phpbb_preg_quote($filter_word, "/") . "\b/is", " ", $entry);
! }
}
}
***************
*** 87,91 ****
{
list($replace_synonym, $match_synonym) = split(" ", trim(strtolower($synonym_list[$j])));
! $entry = preg_replace("/\b" . phpbb_preg_quote(trim($match_synonym), "/") . "\b/is", " " . trim($replace_synonym) . " ", $entry);
}
}
--- 90,99 ----
{
list($replace_synonym, $match_synonym) = split(" ", trim(strtolower($synonym_list[$j])));
!
! if( ( $match_synonym != "and" && $match_synonym != "or" && $match_synonym != "not" &&
! $replace_synonym != "and" && $replace_synonym != "or" && $replace_synonym != "not" ) || $mode == "post" )
! {
! $entry = preg_replace("/\b" . phpbb_preg_quote(trim($match_synonym), "/") . "\b/is", " " . trim($replace_synonym) . " ", $entry);
! }
}
}
***************
*** 93,128 ****
return $entry;
}
! function clean_words_search($entry)
{
! $char_match = array("^", "$", "&", "(", ")", "<", ">", "`", "'", "|", ",", "@", "_", "?", "%", "~", ".", "[", "]", "{", "}", ":", "\\", "/", "=", "#", "\"", ";", "!");
! $char_replace = array(" ", " ", " ", " ", " ", " ", " ", " ", "", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ");
! $sgml_match = array(" ", "ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ð", "ñ", "ò", "ó", "ô", "õ", "ö", "ø", "ù", "ú", "û", "ü", "ý", "þ", "ÿ");
! $sgml_replace = array(" ", "s", "a", "a", "a", "a", "a", "a", "a", "c", "e", "e", "e", "e", "i", "i", "i", "i", "o", "n", "o", "o", "o", "o", "o", "o", "u", "u", "u", "u", "y", "t", "y");
! $accent_match = array("ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ð", "ñ", "ò", "ó", "ô", "õ", "ö", "ø", "ù", "ú", "û", "ü", "ý", "þ", "ÿ");
! $accent_replace = array("s", "a", "a", "a", "a", "a", "a", "a", "c", "e", "e", "e", "e", "i", "i", "i", "i", "o", "n", "o", "o", "o", "o", "o", "o", "u", "u", "u", "u", "y", "t", "y");
! $entry = " " . strip_tags(strtolower($entry)) . " ";
! $entry = str_replace("+", " and ", $entry);
! $entry = str_replace("-", " not ", $entry);
! $entry = str_replace($sgml_match, $sgml_match, $entry);
! $entry = str_replace($accent_match, $accent_replace, $entry);
! $entry = str_replace($char_match, $char_replace, $entry);
! $entry = preg_replace("/\b[0-9]+\b/", " ", $entry);
! return $entry;
! }
! function split_words(&$entry)
! {
! preg_match_all("/\b(\w[\w']*\w+|\w+?)\b/", $entry, $split_entries);
! return $split_entries[1];
}
--- 101,218 ----
return $entry;
}
+
+ function split_words(&$entry)
+ {
+ preg_match_all("/\b(\w[\w']*\w+|\w+?)\b/", $entry, $split_entries);
+
+ return $split_entries[1];
+ }
! function add_search_words($post_id, $post_text, $post_title = "")
{
+ global $db, $phpbb_root_path, $board_config, $lang;
! $stopword_array = @file($phpbb_root_path . "language/lang_" . $board_config['default_lang'] . "/search_stopwords.txt");
! $synonym_array = @file($phpbb_root_path . "language/lang_" . $board_config['default_lang'] . "/search_synonyms.txt");
! $search_raw_words = array();
! $search_raw_words['text'] = split_words(clean_words("post", $post_text, $stopword_array, $synonym_array));
! $search_raw_words['title'] = split_words(clean_words("post", $post_title, $stopword_array, $synonym_array));
! while( list($word_in, $search_matches) = @each($search_raw_words) )
! {
! $title_match = ( $word_in == 'title' ) ? 1 : 0;
! if( count($search_matches) )
! {
! $word = array();
! sort($search_matches);
! $word_text_sql = "";
! for ($i = 0; $i < count($search_matches); $i++)
! {
! $search_matches[$i] = trim($search_matches[$i]);
! if( $search_matches[$i] != "" && $search_matches[$i] != $search_matches[$i-1] )
! {
! $word[] = $search_matches[$i];
! if( $word_text_sql != "" )
! {
! $word_text_sql .= ", ";
! }
! $word_text_sql .= "'" . $search_matches[$i] . "'";
! }
! }
! $sql = "SELECT word_id, word_text, word_common
! FROM " . SEARCH_WORD_TABLE . "
! WHERE word_text IN ($word_text_sql)";
! $result = $db->sql_query($sql);
! if( !$result )
! {
! message_die(GENERAL_ERROR, "Couldn't select words", "", __LINE__, __FILE__, $sql);
! }
! $check_words = array();
! $word_id_list = array();
! if( $word_check_count = $db->sql_numrows($result) )
! {
! while( $row = $db->sql_fetchrow($result) )
! {
! $check_words[$row['word_text']] = $row['word_common'];
! $word_id_list[] = $row['word_id'];
! }
! }
!
! $match_word = array();
! for ($i = 0; $i < count($word); $i++)
! {
! $new_match = true;
! $word_common = false;
!
! if( $word_check_count )
! {
! if( isset($check_words[$word[$i]]) )
! {
! $new_match = false;
! }
! }
!
! if( !$check_words[$word[$i]] )
! {
! $match_word[] = "'" . $word[$i] . "'";
! }
!
! if( $new_match )
! {
! $sql = "INSERT INTO " . SEARCH_WORD_TABLE . " (word_text, word_common)
! VALUES ('" . $word[$i] . "', 0)";
! $result = $db->sql_query($sql);
! if( !$result )
! {
! message_die(GENERAL_ERROR, "Couldn't insert new word", "", __LINE__, __FILE__, $sql);
! }
! }
! }
!
! $word_sql_in = implode(", ", $match_word);
!
! $sql = "INSERT INTO " . SEARCH_MATCH_TABLE . " (post_id, word_id, title_match)
! SELECT $post_id, word_id, $title_match
! FROM " . SEARCH_WORD_TABLE . "
! WHERE word_text IN ($word_sql_in)";
! $result = $db->sql_query($sql);
! if( !$result )
! {
! message_die(GENERAL_ERROR, "Couldn't insert new word matches", "", __LINE__, __FILE__, $sql);
! }
! }
! }
!
! remove_common("single", 40, $word_id_list);
!
! return;
}
***************
*** 130,140 ****
// Check if specified words are too common now
//
! function remove_common($percent, $word_id_list = array())
{
global $db;
- // 0.01-0.06s
- $sql = "SELECT SUM(forum_posts) AS total_posts
- FROM " . FORUMS_TABLE ;
$result = $db->sql_query($sql);
if( !$result )
--- 220,229 ----
// Check if specified words are too common now
//
! function remove_common($mode, $percent, $word_id_list = array())
{
global $db;
+
+ $sql = ( $mode == "global" ) ? "SELECT COUNT(DISTINCT post_id) AS total_posts FROM " . SEARCH_MATCH_TABLE : "SELECT SUM(forum_posts) AS total_posts FROM " . FORUMS_TABLE;
$result = $db->sql_query($sql);
if( !$result )
***************
*** 150,159 ****
$word_id_sql = "";
! if( count($word_id_list) )
{
$word_id_sql = "WHERE word_id IN (" . implode(", ", $word_id_list) . ") ";
}
- // 0.020-0.024s
$sql = "SELECT word_id
FROM " . SEARCH_MATCH_TABLE . "
--- 239,247 ----
$word_id_sql = "";
! if( $mode == "single" && count($word_id_list) )
{
$word_id_sql = "WHERE word_id IN (" . implode(", ", $word_id_list) . ") ";
}
$sql = "SELECT word_id
FROM " . SEARCH_MATCH_TABLE . "
***************
*** 167,171 ****
}
- // No matches
if( $word_count = $db->sql_numrows($result) )
{
--- 255,258 ----
***************
*** 205,281 ****
}
- //
- // Search complete wordlist for words that are too common
- //
- function remove_common_global($percent, $delete_common = 0)
- {
- global $db;
-
- $sql = "SELECT COUNT(DISTINCT post_id) as total_posts
- FROM " . SEARCH_MATCH_TABLE;
- $result = $db->sql_query($sql);
- if( !$result )
- {
- $error = $db->sql_error();
- die("Couldn't get maximum post ID :: " . $sql . " :: " . $error['message']);
- }
- $total_posts = $db->sql_fetchrow($result);
- $total_posts = $total_posts['total_posts'];
-
- $common_threshold = floor($total_posts * ( $percent / 100 ));
-
- $sql = "SELECT word_id
- FROM " . SEARCH_MATCH_TABLE . "
- GROUP BY word_id
- HAVING count(word_id) > $common_threshold";
- $result = $db->sql_query($sql);
- if( !$result )
- {
- $error = $db->sql_error();
- die("Couldn't obtain common word list :: " . $sql . " :: " . $error['message']);
- }
- $common_words = $db->sql_numrows($result);
-
- while($row = $db->sql_fetchrow($result))
- {
- $common_word_ids[] = $row['word_id'];
- }
- $db->sql_freeresult($result);
-
- if(count($common_word_ids) != 0)
- {
- $common_word_ids = implode(',',$common_word_ids);
- }
- else
- {
- // We didn't remove any common words
- return 0;
- }
-
- $sql = "UPDATE ". SEARCH_WORD_TABLE ."
- SET word_common = 1
- WHERE word_id IN ($common_word_ids)";
- $result = $db->sql_query($sql);
- if( !$result )
- {
- $error = $db->sql_error();
- die("Couldn't delete word list entry :: " . $sql . " :: " . $error['message']);
- }
-
- if( $delete_common)
- {
- $sql = "DELETE FROM ".SEARCH_MATCH_TABLE."
- WHERE word_id IN ($common_word_ids)";
- $result = $db->sql_query($sql);
- if( !$result )
- {
- $error = $db->sql_error();
- die("Couldn't delete word match entry :: " . $sql . " :: " . $error['message']);
- }
- }
-
- return $common_words;
- }
-
function remove_unmatched_words()
{
--- 292,295 ----
***************
*** 337,341 ****
case 'mysql':
case 'mysql4':
- // 0.07s
$sql = "SELECT w.word_id
FROM " . SEARCH_WORD_TABLE . " w
--- 351,354 ----
***************
*** 356,360 ****
if( $word_id_sql )
{
- // 0.07s (about 15-20 words)
$sql = "DELETE FROM " . SEARCH_WORD_TABLE . "
WHERE word_id IN ($word_id_sql)";
--- 369,372 ----
***************
*** 381,523 ****
return $unmatched_count;
}
-
- function add_search_words($post_id, $post_text, $post_title = "")
- {
- global $db, $phpbb_root_path, $board_config, $lang;
-
- $stopword_array = @file($phpbb_root_path . "language/lang_" . $board_config['default_lang'] . "/search_stopwords.txt");
- $synonym_array = @file($phpbb_root_path . "language/lang_" . $board_config['default_lang'] . "/search_synonyms.txt");
-
- $search_text = clean_words($post_text, $stopword_array, $synonym_array);
- $search_matches = split_words($search_text);
-
- if( count($search_matches) )
- {
- $word = array();
- sort($search_matches);
-
- $word_text_sql = "";
- for ($i = 0; $i < count($search_matches); $i++)
- {
- $search_matches[$i] = trim($search_matches[$i]);
-
- if( $search_matches[$i] != "" && $search_matches[$i] != $search_matches[$i-1] )
- {
- $word[] = $search_matches[$i];
-
- if( $word_text_sql != "" )
- {
- $word_text_sql .= ", ";
- }
-
- $word_text_sql .= "'" . $search_matches[$i] . "'";
- }
- }
-
- $sql = "SELECT word_id, word_text, word_common
- FROM " . SEARCH_WORD_TABLE . "
- WHERE word_text IN ($word_text_sql)";
- $result = $db->sql_query($sql);
- if( !$result )
- {
- message_die(GENERAL_ERROR, "Couldn't select words", "", __LINE__, __FILE__, $sql);
- }
-
- $check_words = array();
- $word_id_list = array();
- if( $word_check_count = $db->sql_numrows($result) )
- {
- while( $row = $db->sql_fetchrow($result) )
- {
- $check_words[$row['word_text']] = $row['word_common'];
- $word_id_list[] = $row['word_id'];
- }
- }
-
- $match_word = array();
- for ($i = 0; $i < count($word); $i++)
- {
- $new_match = true;
- $word_common = false;
-
- if( $word_check_count )
- {
- if( isset($check_words[$word[$i]]) )
- {
- $new_match = false;
- }
- }
-
- if( !$check_words[$word[$i]] )
- {
- $match_word[] = "'" . $word[$i] . "'";
- }
-
- if( $new_match )
- {
- $sql = "INSERT INTO " . SEARCH_WORD_TABLE . " (word_text, word_common)
- VALUES ('". $word[$i] . "', 0)";
- $result = $db->sql_query($sql);
- if( !$result )
- {
- message_die(GENERAL_ERROR, "Couldn't insert new word", "", __LINE__, __FILE__, $sql);
- }
- }
- }
-
- $word_sql_in = implode(", ", $match_word);
-
- $sql = "INSERT INTO " . SEARCH_MATCH_TABLE . " (post_id, word_id, title_match)
- SELECT $post_id, word_id, 0
- FROM " . SEARCH_WORD_TABLE . "
- WHERE word_text IN ($word_sql_in)";
- $result = $db->sql_query($sql);
- if( !$result )
- {
- message_die(GENERAL_ERROR, "Couldn't insert new word matches", "", __LINE__, __FILE__, $sql);
- }
- }
-
- remove_common(0.15, $word_id_list);
-
- return;
- }
-
- function remove_stop_words($entry, &$stopword_list)
- {
-
- if( !empty($stopword_list) )
- {
- for ($j = 0; $j < count($stopword_list); $j++)
- {
- $filter_word = trim(strtolower($stopword_list[$j]));
- if( $filter_word != "and" && $filter_word != "or" && $filter_word != "not" )
- {
- $entry = preg_replace("/\b" . phpbb_preg_quote($filter_word, "/") . "\b/is", " ", $entry);
- }
- }
- }
-
- return $entry;
- }
-
- function replace_synonyms($entry, &$synonym_list)
- {
- if( !empty($synonym_list) )
- {
- for ($j = 0; $j < count($synonym_list); $j++)
- {
- list($replace_synonym, $match_synonym) = split(" ", trim(strtolower($synonym_list[$j])));
-
- if( $match_synonym != "and" && $match_synonym != "or" && $match_synonym != "not" &&
- $replace_synonym != "and" && $replace_synonym != "or" && $replace_synonym != "not" )
- {
- $entry = preg_replace("/\b" . phpbb_preg_quote(trim($match_synonym), "/") . "\b/is", " " . trim($replace_synonym) . " ", $entry);
- }
- }
- }
-
- return $entry;
- }
! ?>
--- 393,396 ----
return $unmatched_count;
}
! ?>
\ No newline at end of file
|
|
From: Paul S. O. <ps...@us...> - 2002-01-14 14:16:58
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv12232
Modified Files:
search.php
Log Message:
Finished implementation of title searching ... this will please at least one person :)
Index: search.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/search.php,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -r1.55 -r1.56
*** search.php 2002/01/12 17:00:32 1.55
--- search.php 2002/01/14 14:16:54 1.56
***************
*** 343,351 ****
$stopword_array = @file($phpbb_root_path . "language/lang_" . $board_config['default_lang'] . "/search_stopwords.txt");
- $cleaned_search = clean_words_search($query_keywords);
- $cleaned_search = remove_stop_words($cleaned_search, $stopword_array);
- $cleaned_search = replace_synonyms($cleaned_search, $synonym_array);
-
$split_search = array();
$split_search = split_words($cleaned_search);
--- 343,348 ----
$stopword_array = @file($phpbb_root_path . "language/lang_" . $board_config['default_lang'] . "/search_stopwords.txt");
$split_search = array();
+ $cleaned_search = clean_words("search", $query_keywords, $stopword_array, $synonym_array);
$split_search = split_words($cleaned_search);
***************
*** 353,359 ****
$word_count = 0;
$word_match = array();
$result_list = array();
- $current_match_type = "and";
for($i = 0; $i < count($split_search); $i++)
--- 350,357 ----
$word_count = 0;
+ $current_match_type = "and";
+
$word_match = array();
$result_list = array();
for($i = 0; $i < count($split_search); $i++)
***************
*** 423,427 ****
--- 421,429 ----
}
}
+
$word_count++;
+
+ $db->sql_freeresult($result);
+
}
}
***************
*** 513,516 ****
--- 515,520 ----
$search_sql .= "t.topic_id IN ($sql_post_id_in) ";
+
+ $db->sql_freeresult($result);
}
else
***************
*** 1332,1336 ****
"L_SEARCH_AUTHOR_EXPLAIN" => $lang['Search_author_explain'],
"L_SEARCH_ANY_TERMS" => $lang['Search_for_any'],
! "L_SEARCH_ALL_TERMS" => $lang['Search_for_all'],
"L_CATEGORY" => $lang['Category'],
"L_RETURN_FIRST" => $lang['Return_first'],
--- 1336,1342 ----
"L_SEARCH_AUTHOR_EXPLAIN" => $lang['Search_author_explain'],
"L_SEARCH_ANY_TERMS" => $lang['Search_for_any'],
! "L_SEARCH_ALL_TERMS" => $lang['Search_for_all'],
! "L_SEARCH_MESSAGE_ONLY" => $lang['Search_msg_only'],
! "L_SEARCH_MESSAGE_TITLE" => $lang['Search_title_msg'],
"L_CATEGORY" => $lang['Category'],
"L_RETURN_FIRST" => $lang['Return_first'],
|
|
From: Paul S. O. <ps...@us...> - 2002-01-13 21:47:19
|
Update of /cvsroot/phpbb/phpBB2/language/lang_bulgarian
In directory usw-pr-cvs1:/tmp/cvs-serv30450/language/lang_bulgarian
Modified Files:
lang_bbcode.php lang_faq.php lang_main.php
Added Files:
lang_admin.php
Log Message:
Changes to match lang_english + new admin + copyright updates
--- NEW FILE ---
<?php
/***************************************************************************
* lang_admin.php [Bulgarian]
* -------------------
* begin : Sat Dec 16 2000
* copyright : (C) 2001 The phpBB Group
* email : su...@ph...
*
* $Id: lang_admin.php,v 1.27 2001/12/30 13:49:37 psotfx Exp $
*
****************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
/***************************************************************************
* Bulgarian translation (Áúëãàðñêè ïðåâîä)
* -------------------
* begin : Thu Dec 06 2001
* last update : Fri Jan 11 2001
* by : Boby Dimitrov (Áîáè Äèìèòðîâ)
* email : bo...@az...
****************************************************************************/
//
// Modules, this replaces the keys used
// in the modules[][] arrays in each module file
//
$lang['General'] = "Ñèñòåìíè";
$lang['Users'] = "Ïîòðåáèòåëè";
$lang['Groups'] = "Ãðóïè";
$lang['Forums'] = "Ôîðóìè";
$lang['Styles'] = "Ñòèëîâå";
$lang['Configuration'] = "Îáùà Êîíôèãóðàöèÿ";
$lang['Permissions'] = "Ïðàâà";
$lang['Manage'] = "Íàñòðîéêè";
$lang['Disallow'] = "Çàáðàíà íà èìåíà";
$lang['Prune'] = "Èçòðèâàíå";
$lang['Mass_Email'] = "Ìàñîâ ìåéë";
$lang['Ranks'] = "Ðàíãîâå";
$lang['Smilies'] = "Smilies";
$lang['Ban_Management'] = "Ban Control";
$lang['Word_Censor'] = "Öåíçóðèðàíè Äóìè";
$lang['Export'] = "Åêñïîðòèðàíå";
$lang['Create_new'] = "Ñúçäàâàíå";
$lang['Add_new'] = "Äîáàâÿíå";
$lang['Backup_DB'] = "Ñúõðàíÿâàíå íà ÁÄ";
$lang['Restore_DB'] = "Âúçñòàíîâÿâàíå íà ÁÄ";
//
// Index
//
$lang['Admin'] = "Àäìèíèñòðàöèÿ";
$lang['Not_admin'] = "Íÿìàòå ïðàâî äà àäìèíèñòðèðàòå òåçè ôîðóìè";
$lang['Welcome_phpBB'] = "Äîáðå äîøëè â phpBB";
$lang['Admin_intro'] = "Thank you for choosing phpBB as your forum solution. This screen will give you a quick overview of all the various statistics of your board. You can get back to this page by clicking on the <u>Admin Index</u> link in the left pane. To return to the index of your board, click the phpBB logo also in the left pane. The other links on the left hand side of this screen will allow you to control every aspect of your forum experience, each screen will have instructions on how to use the tools.";
$lang['Main_index'] = "Èíäåêñ íà Ôîðóìèòå";
$lang['Forum_stats'] = "Ôîðóì Ñòàòèñòèêè";
$lang['Admin_Index'] = "Àäìèí-ïàíåë";
$lang['Preview_forum'] = "Ïðåãëåä íà ôîðóìà";
$lang['Click_return_admin_index'] = "Êëèêíåòå %sòóê%s çà äà ñå âúðíåòå â Àäìèí-ïàíåëà";
$lang['Statistic'] = "Ñòàòèñòèêà";
$lang['Value'] = "Ñòîéíîñò";
$lang['Number_posts'] = "Áðîé ìíåíèÿ";
$lang['Posts_per_day'] = "Ìíåíèÿ íà äåí";
$lang['Number_topics'] = "Áðîé òåìè";
$lang['Topics_per_day'] = "Òåìè íà äåí";
$lang['Number_users'] = "Áðîé ïîòðåáèòåëè";
$lang['Users_per_day'] = "Ïîòðåáèòåëè íà äåí";
$lang['Board_started'] = "Ñòàðò íà áîðäà";
$lang['Avatar_dir_size'] = "Ðàçìåð íà ïàïêàòà ñ Àâàòàðèòå";
$lang['Database_size'] = "Ðàçìåð íà áàçàòà äàííè";
$lang['Gzip_compression'] ="Gzip êîìïðåñèÿ";
$lang['Not_available'] = "Íÿìà äàííè";
$lang['ON'] = "Âêëþ÷åíà"; // This is for GZip compression
$lang['OFF'] = "Èçêëþ÷åíà";
//
// DB Utils
//
$lang['Database_Utilities'] = "Ðàáîòà ñ áàçàòà äàííè";
$lang['Restore'] = "Âúçñòàíîâÿâàíå";
$lang['Backup'] = "Ñúõðàíÿâàíå";
$lang['Restore_explain'] = "This will perform a full restore of all phpBB tables from a saved file. If your server supports it you may upload a gzip compressed text file and it will automatically be decompressed. <b>WARNING</b> This will overwrite any existing data. The restore may take a long time to process please do not move from this page till it is complete.";
$lang['Backup_explain'] = "Here you can backup all your phpBB related data. If you have any additional custom tables in the same database with phpBB that you would like to back up as well please enter their names separated by commas in the Additional Tables textbox below. If your server supports it you may also gzip compress the file to reduce its size before download.";
$lang['Backup_options'] = "Îïöèè çà Ñúõðàíÿâàíå";
$lang['Start_backup'] = "Çàïî÷íè Ñúõðàíÿâàíåòî";
$lang['Full_backup'] = "Ïúëíî Ñúõðàíÿâàíå";
$lang['Structure_backup'] = "Ñúõðàíÿâàíå ñàìî íà ñòðóêòóðàòà";
$lang['Data_backup'] = "Ñúõðàíÿâàíå ñàìî íà äàííèòå";
$lang['Additional_tables'] = "Äîïúëíèòåëíè òàáëèöè";
$lang['Gzip_compress'] = "Êîìïðåñèðàíå íà ôàéëà ñ Gzip";
$lang['Select_file'] = "Èçáåðåòå ôàéë";
$lang['Start_Restore'] = "Çàïî÷íè Âúçñòàíîâÿâàíåòî";
$lang['Restore_success'] = "Áàçàòà äàííè áåøå Âúçñòàíîâåíà óñïåøíî.<br /><br />Ôîðóìèòå ñà âúðíàòè â ñúñòîÿíèåòî, â êîåòî ñà áèëè ïðè ïîñëåäíîòî Ñúõðàíÿâàíå.";
$lang['Backup_download'] = "Ñâàëÿíåòî ùå çàïî÷íå ñëåä ìàëêî, ìîëÿ èç÷àêàéòå!";
$lang['Backups_not_supported'] = "Ñúõðàíÿâàíåòî íå å âúçìîæíî ïîðàäè ëèïñà íà ïîääðúæêà âúâ âàøàòà ÁÄ-ñèñòåìà.";
$lang['Restore_Error_uploading'] = "Ãðåøêà ïðè êà÷âàíåòî íà ôàéëà ñ äàííèòå çà Âúçñòàíîâÿâàíåòî.";
$lang['Restore_Error_filename'] = "Ïðîáëåì ñ èìåòî íà ôàéëà, ìîëÿ îïèòàéòå ñ äðóã ôàéë.";
$lang['Restore_Error_decompress'] = "Gzip-ôàéëà íåìîæå äà áúäå ðàçêîìïðåñèðàí, ìîëÿ êà÷åòå íåêîìïðåñèðàíà âåðñèÿ íà ôàéëà.";
$lang['Restore_Error_no_file'] = "Íÿìà òàêúâ êà÷åí ôàéë";
//
// Auth pages
//
$lang['Select_a_User'] = "Èçáåðåòå Ïîòðåáèòåë";
$lang['Select_a_Group'] = "Èçáåðåòå Ãðóïà";
$lang['Select_a_Forum'] = "Èçáåðåòå Ôîðóì";
$lang['Auth_Control_User'] = "Êîíòðîë íà ïðàâàòà íà Ïîòðåáèòåëèòå";
$lang['Auth_Control_Group'] = "Êîíòðîë íà ïðàâàòà íà Ãðóïèòå";
$lang['Auth_Control_Forum'] = "Êîíòðîë íà ïðàâàòà âúâ Ôîðóìèòå";
$lang['Look_up_User'] = "Âèæòå Ïîòðåáèòåëÿ";
$lang['Look_up_Group'] = "Âèæòå Ãðóïàòà";
$lang['Look_up_Forum'] = "Âèæòå Ôîðóìà";
$lang['Group_auth_explain'] = "Here you can alter the permissions and moderator status assigned to each user group. Do not forget when changing group permissions that individual user permissions may still allow the user entry to forums, etc. You will be warned if this is the case.";
$lang['User_auth_explain'] = "Here you can alter the permissions and moderator status assigned to each individual user. Do not forget when changing user permissions that group permissions may still allow the user entry to forums, etc. You will be warned if this is the case.";
$lang['Forum_auth_explain'] = "Here you can alter the authorisation levels of each forum. You will have both a simple and advanced method for doing this, advanced offers greater control of each forum operation. Remember that changing the permission level of forums will affect which users can carry out the various operations within them.";
$lang['Simple_mode'] = "Ïðîñòè íàñòðîéêè";
$lang['Advanced_mode'] = "Ñëîæíè íàñòðîéêè";
$lang['Moderator_status'] = "Ñòàòóò íà Ìîäåðàòîð";
$lang['Allowed_Access'] = "Äîñòúï ðàçðåøåí";
$lang['Disallowed_Access'] = "Äîñòúï çàáðàíåí";
$lang['Is_Moderator'] = "Å Ìîäåðàòîð";
$lang['Not_Moderator'] = "Íå å Ìîäåðàòîð";
$lang['Conflict_warning'] = "Authorisation Conflict Warning";
$lang['Conflict_access_userauth'] = "This user still has access rights to this forum via group membership. You may want to alter the group permissions or remove this user the group to fully prevent them having access rights. The groups granting rights (and the forums involved) are noted below.";
$lang['Conflict_mod_userauth'] = "This user still has moderator rights to this forum via group membership. You may want to alter the group permissions or remove this user the group to fully prevent them having moderator rights. The groups granting rights (and the forums involved) are noted below.";
$lang['Conflict_access_groupauth'] = "The following user (or users) still have access rights to this forum via their user permission settings. You may want to alter the user permissions to fully prevent them having access rights. The users granted rights (and the forums involved) are noted below.";
$lang['Conflict_mod_groupauth'] = "The following user (or users) still have moderator rights to this forum via their user permissions settings. You may want to alter the user permissions to fully prevent them having moderator rights. The users granted rights (and the forums involved) are noted below.";
$lang['Public'] = "Ïóáëè÷åí";
$lang['Private'] = "×àñòåí";
$lang['Registered'] = "Ðåãèñòðèðàí";
$lang['Administrators'] = "Àäìèíèñòðàòîðè";
$lang['Hidden'] = "Ñêðèò";
$lang['View'] = "Âèæäàíå";
$lang['Read'] = "×åòåíå";
$lang['Post'] = "Ïèñàíå";
$lang['Reply'] = "Îòãîâàðÿíå";
$lang['Edit'] = "Ïðîìÿíà";
$lang['Delete'] = "Èçòðèâàíå";
$lang['Sticky'] = "Âàæíà òåìà";
$lang['Announce'] = "ÑÚÎÁÙÅÍÈÅ";
$lang['Vote'] = "Ãëàñóâàíå";
$lang['Pollcreate'] = "Àíêåòà";
$lang['Permissions'] = "Ïðàâà";
$lang['Simple_Permission'] = "Ïðîñòè Ïðàâà";
$lang['User_Level'] = "Ïîòðåáèòåëñêî íèâî";
$lang['Auth_User'] = "Ïîòðåáèòåë";
$lang['Auth_Admin'] = "Àäìèíèñòðàòîð";
$lang['Group_memberships'] = "×ëåíñòâî â ïîòðåáèòåëñêè ãðóïè";
$lang['Usergroup_members'] = "Òàçè ãðóïà èìà ñëåäíèòå ÷ëåíîâå";
$lang['Forum_auth_updated'] = "Ïðàâàòà âúâ Ôîðóìà ñà îáíîâåíè";
$lang['User_auth_updated'] = "Ïðàâàòà íà Ïîòðåáèòåëÿ ñà îáíîâåíè";
$lang['Group_auth_updated'] = "Ïðàâàòà íà Ãðóïàòà ñà îáíîâåíè";
$lang['Auth_updated'] = "Ïðàâàòà ñà îáíîâåíè";
$lang['Click_return_userauth'] = "Êëèêíåòå %sòóê%s çà äà ñå âúðíåòå íà Êîíòðîë íà ïðàâàòà íà Ïîòðåáèòåëèòå";
$lang['Click_return_groupauth'] = "Êëèêíåòå %sòóê%s çà äà ñå âúðíåòå íà Êîíòðîë íà ïðàâàòà íà Ãðóïèòå";
$lang['Click_return_forumauth'] = "Êëèêíåòå %sòóê%s çà äà ñå âúðíåòå íà Êîíòðîë íà ïðàâàòà âúâ Ôîðóìèòå";
//
// Banning
//
$lang['Ban_control'] = "Ban Control";
$lang['Ban_explain'] = "Here you can control the banning of users. You can achieve this by banning either or both of a specific user or an individual or range of IP addresses or hostnames. These methods prevent a user from even reaching the index page of your board. To prevent a user from registering under a different username you can also specify a banned email address. Please note that banning an email address alone will not prevent that user from being able to logon or post to your board, you should use one of the first two methods to achieve this.";
$lang['Ban_explain_warn'] = "Please note that entering a range of IP addresses results in all the addresses between the start and end being added to the banlist. Attempts will be made to minimise the number of addresses added to the database by introducing wildcards automatically where appropriate. If you really must enter a range try to keep it small or better yet state specific addresses.";
$lang['Select_username'] = "Èçáåðåòå Ïîòðåáèòåë";
$lang['Select_ip'] = "Èçáåðåòå IP";
$lang['Select_email'] = "Èçáåðåòå ìåéë àäðåñ";
$lang['Ban_username'] = "Èçãîíâàíå ïî ïîòðåáèòåëñêî èìå";
$lang['Ban_username_explain'] = "Ìîæåòå äà èçãîíèòå íÿêîëêî ïîòðåáèòåëÿ åäíîâðåìåííî êàòî ãè ñåëåêòèðàòå îò ñïèñúêà.";
$lang['Ban_IP'] = "Èçãîíâàíå ïî IP àäðåñ èëè äîìåéí";
$lang['IP_hostname'] = "IP àäðåñ èëè äîìåéí";
$lang['Ban_IP_explain'] = "Çà äà èçáåðåòå íÿêîëêî ðàçëè÷íè IPòà èëè äîìåéíà, ðàçäåëåòå ãè ñ çàïåòàè. Çà äà èçáåðåòå íàáîð îò IPòà, ðàçäåëåòå íà÷àëíèÿ è êðàéíèÿ ñ òèðå (-). Ìîæåòå äà ïîëçâàòå è * çà èçáîð íà öÿëà ïîäìðåæà.";
$lang['Ban_email'] = "Èçãîíâàíå ïî ìåéë àäðåñ";
$lang['Ban_email_explain'] = "Çà äà èçáåðåòå ïîâå÷å îò åäèí ìåéë àäðåñ, ðàçäåëåòå ãè ñ çàïåòàè. Èçïîëçâàéòå *, çà äà èçáåðåòå íàáîð îò àäðåñè, íàïðèìåð *@hotmail.com èëè johnsmith@*.com";
$lang['Unban_username'] = "Un-ban one more specific users";
$lang['Unban_username_explain'] = "Ìîæåòå äà ??? íÿêîëêî ïîòðåáèòåëÿ åäíîâðåìåííî êàòî ãè ñåëåêòèðàòå îò ñïèñúêà.";
$lang['Unban_IP'] = "Un-ban one or more IP addresses";
$lang['Unban_IP_explain'] = "Ìîæåòå äà ??? íÿêîëêî ïîòðåáèòåëÿ åäíîâðåìåííî êàòî ãè ñåëåêòèðàòå îò ñïèñúêà.";
$lang['Unban_email'] = "Un-ban one or more email addresses";
$lang['Unban_email_explain'] = "Ìîæåòå ??? èçãîíèòå íÿêîëêî ïîòðåáèòåëÿ åäíîâðåìåííî êàòî ãè ñåëåêòèðàòå îò ñïèñúêà.";
$lang['No_banned_users'] = "Íÿìà èçãîíåíè Ïîòðåáèòåëè";
$lang['No_banned_ip'] = "Íÿìà çàáðàíåíè IPòà";
$lang['No_banned_email'] = "Íÿìà çàáðàíåíè ìåéë àäðåñè";
$lang['Ban_update_sucessful'] = "Ñïèñúêà ñ èçãîíåíèòå å îáíîâåí óñïåøíî";
$lang['Click_return_banadmin'] = "Êëèêíåòå %sòóê%s çà äà ñå âúðíåòå íà Ban Control";
//
// Configuration
//
$lang['General_Config'] = "Îáùà êîíôèãóðàöèÿ";
$lang['Config_explain'] = "The form below will allow you to customize all the general board options. For User and Forum configurations use the related links on the left hand side.";
$lang['Click_return_config'] = "Êëèêíåòå %sòóê%s çà äà ñå âúðíåòå â Îáùàòà Êîíôèãóðàöèÿ";
$lang['General_settings'] = "Îáùè íàñòðîéêè íà Ôîðóìèòå";
$lang['Site_name'] = "Èìå íà ñàéòà";
$lang['Site_desc'] = "Îïèñàíèå íà ñàéòà";
$lang['Board_disable'] = "Èçêëþ÷åòå Ôîðóìèòå";
$lang['Board_disable_explain'] = "Òîâà ùå íàïðàâè Ôîðóìèòå íåäîñòúïíè çà ïîòðåáèòåëèòå. Íå èçëèçàéòà îò Ôîðóìèòå ñëåä êàòî ñòå ãè èçêëþ÷èëè, íÿìà äà ìîæåòå äà âëåçåòå îáðàòíî!";
$lang['Acct_activation'] = "Àêòèâèðàíå íà Ïîòðåáèòåëèòå";
$lang['Acc_None'] = "Íå å íóæíî"; // These three entries are the type of activation
$lang['Acc_User'] = "Îò Ïîòðåáèòåë";
$lang['Acc_Admin'] = "Îò Àäìèíèñòðàòîð";
$lang['Abilities_settings'] = "Îñíîâíè íàñòðîéêè íà Ïîòðåáèòåë è Ôîðóì";
$lang['Max_poll_options'] = "Ìàêñèìóì âúçìîæíè îòãîâîðè çà àíêåòà";
$lang['Flood_Interval'] = "Èíòåðâàë çà flood";
$lang['Flood_Interval_explain'] = "Áðîé ñåêóíäè, êîèòî ïîòðåáèòåëÿ òðÿáâà äà èç÷àêà ìåæäó îòäåëíèòå ìíåíèÿ.";
$lang['Board_email_form'] = "Ïðàùàíå íà ìåéë ÷ðåç Ôîðóìèòå";
$lang['Board_email_form_explain'] = "Ïîòðåáèòåëèòå ìîãàò äà ñè ïðàùàò ìåéë ÷ðåç Ôîðóìèòå";
$lang['Topics_per_page'] = "Òåìè íà ñòðàíèöà";
$lang['Posts_per_page'] = "Ìíåíèÿ íà ñòðàíèöà";
$lang['Hot_threshold'] = "Áðîé ìíåíèÿ çà Ïîïóëÿðíà òåìà";
$lang['Default_style'] = "Îñíîâåí ñòèë";
$lang['Override_style'] = "Çàìåíÿíå íà ïîòðåáèòåëñêèÿ ñòèë";
$lang['Override_style_explain'] = "Çàìåíÿ èçáðàíèÿ îò ïîòðåáèòåëÿ ñ îñíîâíèÿ";
$lang['Default_language'] = "Îñíîâåí åçèê";
$lang['Date_format'] = "Ôîðìàò íà äàòàòà";
$lang['System_timezone'] = "×àñîâà çîíà íà ñèñòåìàòà";
$lang['Enable_gzip'] = "Âêëþ÷åíà GZip êîìïðåñèÿ";
$lang['Enable_prune'] = "Âêëþ÷åí Forum Pruning";
$lang['Allow_HTML'] = "Ðàçðåøåí HTML";
$lang['Allow_BBCode'] = "Ðàçðåøåí BBCode";
$lang['Allowed_tags'] = "Ðàçðåøåíè HTML òàãîâå";
$lang['Allowed_tags_explain'] = "Separate tags with commas";
$lang['Allow_smilies'] = "Ðàçðåøåíè Smilies";
$lang['Smilies_path'] = "Ïúò êúì ïàïêàòà ñúñ Smilies";
$lang['Smilies_path_explain'] = "Ïúò, ñïðÿìî îñíîâíàòà ïàïêà íà phpBB, íàïð. images/smilies";
$lang['Allow_sig'] = "Ïîçâîëåíè ïîäïèñè";
$lang['Max_sig_length'] = "Ìàêñèìóì ñèìâîëè";
$lang['Max_sig_length_explain'] = "Ìàêñèìàëåí áðîé íà ñèìâîëèòå â ñèãíàòóðàòà";
$lang['Allow_name_change'] = "Ðàçðåøåíè ñìåíè íà Ïîòðåáèòåëñêîòî èìå";
$lang['Avatar_settings'] = "Íàñòðîéêè íà Àâàòàðèòå";
$lang['Allow_local'] = "Ðàçðåøåíè Àâàòàðè îò Ãàëåðèÿòà";
$lang['Allow_remote'] = "Ðàçðåøåíè âúíøíè Àâàòàðè";
$lang['Allow_remote_explain'] = "Àâàòàðè, êà÷åíè íà äðóã ñàéò è ïîñòàâåíè òóê ñ âðúçêà";
$lang['Allow_upload'] = "Ðàçðåøåíî êà÷âàíåòî íà Àâàòàðè";
$lang['Max_filesize'] = "Ìàêñèìóì îáåì íà Àâàòàðà";
$lang['Max_filesize_explain'] = "Îòíàñÿ ñå çà êà÷åíèòå ôàéëîâå";
$lang['Max_avatar_size'] = "Ìàêñèìóì ðàçìåð íà Àâàòàðà";
$lang['Max_avatar_size_explain'] = "(Âèñî÷èíà x Øèðèíà â ïèêñåëè)";
$lang['Avatar_storage_path'] = "Ïàïêà çà ñúõðàíåíèå íà Àâàòàðèòå";
$lang['Avatar_storage_path_explain'] = "Ïúò, ñïðÿìî îñíîâíàòà ïàïêà íà phpBB, íàïð. images/avatars";
$lang['Avatar_gallery_path'] = "Ïàïêà çà Àâàòàðè îò Ãàëåðèÿòà";
$lang['Avatar_gallery_path_explain'] = "Ïúò, ñïðÿìî îñíîâíàòà ïàïêà íà phpBB, êúì ïàïêà ñ èçîáðàæåíèÿ çà Ãàëåðèÿòà ñ Àâàòàðè";
$lang['COPPA_settings'] = "Íàñòðîéêè íà COPPA";
$lang['COPPA_fax'] = "COPPA Ôàêñ íîìåð";
$lang['COPPA_mail'] = "COPPA Ïîùåíñêè àäðåñ";
$lang['COPPA_mail_explain'] = "Òîâà å ïîùåíñêèÿ àäðåñ, íà êîéòî ðîäèòåëèòå ùå èçïðàùàò COPPA ðåãèñòðàöèîííè";
$lang['Email_settings'] = "Íàñòðîéêè íà Ìåéëà";
$lang['Admin_email'] = "Ìåéë íà àäìèíèñòðàòîðà";
$lang['Email_sig'] = "Ìåéë ïîäïèñ";
$lang['Email_sig_explain'] = "Òîçè ïîäïèñ ùå áúäå ïðèêà÷åí êúì âñè÷êè ìåéëè, èçïðàùàíè îò Ôîðóìèòå";
$lang['Use_SMTP'] = "Èçïîëçâàíå íà SMTP-ñúðâúð";
$lang['Use_SMTP_explain'] = "Àêî èñêàòå äà ïðàùàòå ìåéëà ïðåç èçáðàí SMTP-ñúðâúð, à íå ïðåç ëîêàëíàòà ìåéë-ôóíêöèÿ.";
$lang['SMTP_server'] = "Àäðåñ íà SMTP-ñúðâúðà";
$lang['Disable_privmsg'] = "Ñèñòåìà çà Ëè÷íè ñúîáùåíèÿ";
$lang['Inbox_limits'] = "Ìàêñèìóì ñúîáùåíèÿ âúâ Âõîäÿùè";
$lang['Sentbox_limits'] = "Max posts in Sentbox";
$lang['Savebox_limits'] = "Max posts in Savebox";
$lang['Cookie_settings'] = "Íàñòðîéêè íà Cookies";
$lang['Cookie_settings_explain'] = "These control how the cookie sent to browsers is defined. In most cases the default should be sufficient. If you need to change these do so with care, incorrect settings can prevent users logging in.";
$lang['Cookie_name'] = "Èìå íà Cookie";
$lang['Cookie_domain'] = "Äîìåéí íà Cookie";
$lang['Cookie_path'] = "Ïúò íà Cookie";
$lang['Session_length'] = "Äúëæèíà íà ñåñèÿòà (â ñåêóíäè)";
$lang['Cookie_secure'] = "Secure Cookie (ïî https)";
//
// Forum Management
//
$lang['Forum_admin'] = "Àäìèíèñòðèðàíå íà Ôîðóìèòå";
$lang['Forum_admin_explain'] = "From this panel you can add, delete, edit, re-order and re-synchronise categories and forums";
$lang['Edit_forum'] = "Ïðîìÿíà ïî Ôîðóì";
$lang['Create_forum'] = "Ñúçäàâàíå íà íîâ ôîðóì";
$lang['Create_category'] = "Ñúçäàâàíå íà íîâà êàòåãîðèÿ";
$lang['Remove'] = "Ïðåìàõâàíå";
$lang['Action'] = "Äåéñòâèå";
$lang['Update_order'] = "Update Order";
$lang['Config_updated'] = "Forum Configuration Updated Successfully";
$lang['Edit'] = "Edit";
$lang['Delete'] = "Delete";
$lang['Move_up'] = "Move up";
$lang['Move_down'] = "Move down";
$lang['Resync'] = "Resync";
$lang['No_mode'] = "No mode was set";
$lang['Forum_edit_delete_explain'] = "The form below will allow you to customize all the general board options. For User and Forum configurations use the related links on the left hand side";
$lang['Move_contents'] = "Move all contents";
$lang['Forum_delete'] = "Delete Forum";
$lang['Forum_delete_explain'] = "The form below will allow you to delete a forum (or category) and decide where you want to put all topics (or forums) it contained.";
$lang['Forum_settings'] = "General Forum Settings";
$lang['Forum_name'] = "Forum name";
$lang['Forum_desc'] = "Description";
$lang['Forum_status'] = "Forum status";
$lang['Forum_pruning'] = "Auto-pruning";
$lang['prune_freq'] = 'Check for topic age every';
$lang['prune_days'] = "Remove topics that have not been posted to in";
$lang['Set_prune_data'] = "You have turned on auto-prune for this forum but did not set a frequency or number of days to prune. Please go back and do so";
$lang['Move_and_Delete'] = "Move and Delete";
$lang['Delete_all_posts'] = "Delete all posts";
$lang['Nowhere_to_move'] = "Nowhere to move too";
$lang['Edit_Category'] = "Edit Category";
$lang['Edit_Category_explain'] = "Use this form to modify a categories name.";
$lang['Forums_updated'] = "Forum and Category information updated successfully";
$lang['Must_delete_forums'] = "You need to delete all forums before you can delete this category";
$lang['Click_return_forumadmin'] = "Click %sHere%s to return to Forum Administration";
//
// Smiley Management
//
$lang['smiley_title'] = "Smiles Editing Utility";
$lang['smile_desc'] = "From this page you can add, remove and edit the emoticons or smileys your users can use in their posts and private messages.";
$lang['smiley_config'] = "Smiley Configuration";
$lang['smiley_code'] = "Smiley Code";
$lang['smiley_url'] = "Smiley Image File";
$lang['smiley_emot'] = "Smiley Emotion";
$lang['smile_add'] = "Add a new Smiley";
$lang['Smile'] = "Smile";
$lang['Emotion'] = "Emotion";
$lang['Select_pak'] = "Select Pack (.pak) File";
$lang['replace_existing'] = "Replace Existing Smiley";
$lang['keep_existing'] = "Keep Existing Smiley";
$lang['smiley_import_inst'] = "You should unzip the smiley package and upload all files to the appropriate Smiley directory for your installation. Then select the correct information in this form to import the smiley pack.";
$lang['smiley_import'] = "Smiley Pack Import";
$lang['choose_smile_pak'] = "Choose a Smile Pack .pak file";
$lang['import'] = "Import Smileys";
$lang['smile_conflicts'] = "What should be done in case of conflicts";
$lang['del_existing_smileys'] = "Delete existing smileys before import";
$lang['import_smile_pack'] = "Import Smiley Pack";
$lang['export_smile_pack'] = "Create Smiley Pack";
$lang['export_smiles'] = "To create a smiley pack from your currently installed smileys, click %sHere%s to download the smiles.pak file. Name this file appropriately making sure to keep the .pak file extension. Then create a zip file containing all of your smiley images plus this .pak configuration file.";
$lang['smiley_add_success'] = "The Smiley was successfully added";
$lang['smiley_edit_success'] = "The Smiley was successfully updated";
$lang['smiley_import_success'] = "The Smiley Pack was imported successfully!";
$lang['smiley_del_success'] = "The Smiley was successfully removed";
$lang['Click_return_smileadmin'] = "Click %sHere%s to return to Smiley Administration";
//
// User Management
//
$lang['User_admin'] = "User Administration";
$lang['User_admin_explain'] = "Here you can change your user's information and certain specific options. To modify the users permissions please use the user and group permissions system.";
$lang['Look_up_user'] = "Look up user";
$lang['Admin_user_fail'] = "Couldn't update the users profile.";
$lang['Admin_user_updated'] = "The user's profile was successfully updated.";
$lang['Click_return_useradmin'] = "Click %sHere%s to return to User Administration";
$lang['User_delete'] = "Delete this user";
$lang['User_delete_explain'] = "Click here to delete this user, this cannot be undone.";
$lang['User_deleted'] = "User was successfully deleted.";
$lang['User_status'] = "User is active";
$lang['User_allowpm'] = "Can send Private Messages";
$lang['User_allowavatar'] = "Can display avatar";
$lang['Admin_avatar_explain'] = "Here you can see and delete the user's current avatar.";
$lang['User_special'] = "Special admin-only fields";
$lang['User_special_explain'] = "These fields are not able to be modified by the users. Here you can set their status and other options that are not given to users.";
//
// Group Management
//
$lang['Group_administration'] = "Group Administration";
$lang['Group_admin_explain'] = "From this panel you can administer all your usergroups, you can; delete, create and edit existing groups. You may choose moderators, toggle open/closed group status and set the group name and description";
$lang['Error_updating_groups'] = "There was an error while updating the groups";
$lang['Updated_group'] = "The group was successfully updated";
$lang['Added_new_group'] = "The new group was successfully created";
$lang['Deleted_group'] = "The group was successfully deleted";
$lang['New_group'] = "Create new group";
$lang['Edit_group'] = "Edit group";
$lang['group_name'] = "Group name";
$lang['group_description'] = "Group description";
$lang['group_moderator'] = "Group moderator";
$lang['group_status'] = "Group status";
$lang['group_open'] = "Open group";
$lang['group_closed'] = "Closed group";
$lang['group_hidden'] = "Hidden group";
$lang['group_delete'] = "Delete group";
$lang['group_delete_check'] = "Delete this group";
$lang['submit_group_changes'] = "Submit Changes";
$lang['reset_group_changes'] = "Reset Changes";
$lang['No_group_name'] = "You must specify a name for this group";
$lang['No_group_moderator'] = "You must specify a moderator for this group";
$lang['No_group_mode'] = "You must specify a mode for this group, open or closed";
$lang['delete_group_moderator'] = "Delete the old group moderator?";
$lang['delete_moderator_explain'] = "If you're changing the group moderator, check this box to remove the old moderator from the group. Otherwise, do not check it, and the user will become a regular member of the group.";
$lang['Click_return_groupsadmin'] = "Click %sHere%s to return to Group Administration.";
$lang['Select_group'] = "Select a group";
$lang['Look_up_group'] = "Look up group";
//
// Prune Administration
//
$lang['Forum_Prune'] = "Forum Prune";
$lang['Forum_Prune_explain'] = "This will delete any topic which has not been posted to within the number of days you select. If you do not enter a number then all topics will be deleted. It will not remove topics in which polls are still running nor will it remove announcements. You will need to remove these topics manually.";
$lang['Do_Prune'] = "Do Prune";
$lang['All_Forums'] = "All Forums";
$lang['Prune_topics_not_posted'] = "Prune topics with no replies in this many days";
$lang['Topics_pruned'] = "Topics pruned";
$lang['Posts_pruned'] = "Posts pruned";
$lang['Prune_success'] = "Pruning of forums was successful";
//
// Word censor
//
$lang['Words_title'] = "Word Censoring";
$lang['Words_explain'] = "From this control panel you can add, edit, and remove words that will be automatically censored on your forums. In addition people will not be allowed to register with usernames containing these words. Wildcards (*) are accepted in the word field, eg. *test* will match detestable, test* would match testing, *test would match detest.";
$lang['Word'] = "Word";
$lang['Edit_word_censor'] = "Edit word censor";
$lang['Replacement'] = "Replacement";
$lang['Add_new_word'] = "Add new word";
$lang['Update_word'] = "Update word censor";
$lang['Must_enter_word'] = "You must enter a word and its replacement";
$lang['No_word_selected'] = "No word selected for editing";
$lang['Word_updated'] = "The selected word censor has been successfully updated";
$lang['Word_added'] = "The word censor has been successfully added";
$lang['Word_removed'] = "The selected word censor has been successfully removed";
$lang['Click_return_wordadmin'] = "Click %sHere%s to return to Word Censor Administration";
//
// Mass Email
//
$lang['Mass_email_explain'] = "Here you can email a message to either all of your users, or all users of a specific group. To do this, an email will be sent out to the administrative email address supplied, with a blind carbon copy sent to all recipients. If you are emailing a large group of people please be patient after submitting and do not stop the page halfway through. It is normal for amass emailing to take a long time, you will be notified when the script has completed";
$lang['Compose'] = "Compose";
$lang['Recipients'] = "Recipients";
$lang['All_users'] = "All Users";
$lang['Email_successfull'] = "Your message has been sent";
$lang['Click_return_massemail'] = "Click %sHere%s to return to the Mass Email form";
//
// Ranks admin
//
$lang['Ranks_title'] = "Rank Administration";
$lang['Ranks_explain'] = "Using this form you can add, edit, view and delete ranks. You can also create custom ranks which can be applied to a user via the user management facility";
$lang['Add_new_rank'] = "Add new rank";
$lang['Rank_title'] = "Rank Title";
$lang['Rank_special'] = "Set as Special Rank";
$lang['Rank_minimum'] = "Minimum Posts";
$lang['Rank_maximum'] = "Maximum Posts";
$lang['Rank_image'] = "Rank Image (Relative to phpBB2 root path)";
$lang['Rank_image_explain'] = "Use this to define a small image associated with the rank";
$lang['Must_select_rank'] = "You must select a rank";
$lang['No_assigned_rank'] = "No special rank assigned";
$lang['Rank_updated'] = "The rank was successfully updated";
$lang['Rank_added'] = "The rank was successfully added";
$lang['Rank_removed'] = "The rank was successfully deleted";
$lang['Click_return_rankadmin'] = "Click %sHere%s to return to Rank Administration";
//
// Disallow Username Admin
//
$lang['Disallow_control'] = "Username Disallow Control";
$lang['Disallow_explain'] = "Here you can control usernames which will not be allowed to be used. Disallowed usernames are allowed to contain a wildcard character of *. Please note that you will not be allowed to specify any username that has already been registered, you must first delete that name then disallow it";
$lang['Delete_disallow'] = "Delete";
$lang['Delete_disallow_title'] = "Remove a Disallowed Username";
$lang['Delete_disallow_explain'] = "You can remove a disallowed username by selecting the username from this list and clicking submit";
$lang['Add_disallow'] = "Add";
$lang['Add_disallow_title'] = "Add a disallowed username";
$lang['Add_disallow_explain'] = "You can disallow a username using the wildcard character * to match any character";
$lang['No_disallowed'] = "No Disallowed Usernames";
$lang['Disallowed_deleted'] = "The disallowed username has been successfully removed";
$lang['Disallow_successful'] = "The disallowed username has ben successfully added";
$lang['Disallowed_already'] = "The name you entered could not be disallowed. It either already exists in the list, exists in the word censor list, or a matching username is present";
$lang['Click_return_disallowadmin'] = "Click %sHere%s to return to Disallow Username Administration";
//
// Styles Admin
//
$lang['Styles_admin'] = "Styles Administration";
$lang['Styles_explain'] = "Using this facility you can add, remove and manage styles (templates and themes) available to your users";
$lang['Styles_addnew_explain'] = "The following list contains all the themes that are available for the templates you currently have. The items on this list have not yet been installed into the phpBB database. To install a theme simply click the install link beside an entry";
$lang['Select_template'] = "Select a Template";
$lang['Style'] = "Style";
$lang['Template'] = "Template";
$lang['Install'] = "Install";
$lang['Download'] = "Download";
$lang['Edit_theme'] = "Edit Theme";
$lang['Edit_theme_explain'] = "In the form below you can edit the settings for the selected theme";
$lang['Create_theme'] = "Create Theme";
$lang['Create_theme_explain'] = "Use the form below to create a new theme for a selected template. When entering colours (for which you should use hexadecimal notation) you must not include the initial #, i.e.. CCCCCC is valid, #CCCCCC is not";
$lang['Export_themes'] = "Export Themes";
$lang['Export_explain'] = "In this panel you will be able to export the theme data for a selected template. Select the template from the list below and the script will create the theme configuration file and attempt to save it to the selected template directory. If it cannot save the file itself it will give you the option to download it. In order for the script to save the file you must give write access to the webserver for the selected template dir. For more information on this see the phpBB 2 users guide.";
$lang['Theme_installed'] = "The selected theme has been installed successfully";
$lang['Style_removed'] = "The selected style has been removed from the database. To fully remove this style from your system you must delete the appropriate style from your templates directory.";
$lang['Theme_info_saved'] = "The theme information for the selected template has been saved. You should now return the permissions on the theme_info.cfg (and if applicable the selected template directory) to read-only";
$lang['Theme_updated'] = "The selected theme has been updated. You should now export the new theme settings";
$lang['Theme_created'] = "Theme created. You should now export the theme to the theme configuration file for safe keeping or use elsewhere";
$lang['Confirm_delete_style'] = "Are you sure you want to delete this style";
$lang['Download_theme_cfg'] = "The exporter could not write the theme information file. Click the button below to download this file with your browser. Once you have downloaded it you can transfer it to the directory containing the template files. You can then package the files for distribution or use elsewhere if you desire";
$lang['No_themes'] = "The template you selected has no themes attached to it. To create a new theme click the Create New link on the left hand panel";
$lang['No_template_dir'] = "Could not open the template directory. It may be unreadable by the webserver or may not exist";
$lang['Cannot_remove_style'] = "You cannot remove the style selected since it is currently the forum default. Please change the default style and try again.";
$lang['Style_exists'] = "The style name to selected already exists, please go back and choose a different name.";
$lang['Click_return_styleadmin'] = "Click %sHere%s to return to Style Administration";
$lang['Theme_settings'] = "Íàñòðîéêè íà Òåìàòà";
$lang['Theme_element'] = "Åëåìåíò îò Òåìàòà";
$lang['Simple_name'] = "Ïðîñòî èìå";
$lang['Value'] = "Ñòîéíîñò";
$lang['Save_Settings'] = "Çàïàçè íàñòîéêèòå";
$lang['Stylesheet'] = "CSS Ñòèëîâå";
$lang['Background_image'] = "Ôîíîâà êàðòèíêà";
$lang['Background_color'] = "Ôîíîâ öâÿò";
$lang['Theme_name'] = "Èìå íà Òåìàòà";
$lang['Link_color'] = "Öâÿò íà âðúçêèòå";
$lang['Text_color'] = "Öâÿò íà òåêñòà";
$lang['VLink_color'] = "Öâÿò íà ïîñåòåíèòå âðúçêè";
$lang['ALink_color'] = "Öâÿò íà àêòèâíèòå âðúçêè";
$lang['HLink_color'] = "Öâÿò íà ïîñî÷åíèòå âðúçêè";
$lang['Tr_color1'] = "Öâÿò íà òàáëè÷åí ðåä 1";
$lang['Tr_color2'] = "Öâÿò íà òàáëè÷åí ðåä 2";
$lang['Tr_color3'] = "Öâÿò íà òàáëè÷åí ðåä 3";
$lang['Tr_class1'] = "Êëàñ íà òàáëè÷åí ðåä 1";
$lang['Tr_class2'] = "Êëàñ íà òàáëè÷åí ðåä 2";
$lang['Tr_class3'] = "Êëàñ íà òàáëè÷åí ðåä 3";
$lang['Th_color1'] = "Öâÿò íà òàáëè÷åí õåäúð 1";
$lang['Th_color2'] = "Öâÿò íà òàáëè÷åí õåäúð 2";
$lang['Th_color3'] = "Öâÿò íà òàáëè÷åí õåäúð 3";
$lang['Th_class1'] = "Êëàñ íà òàáëè÷åí õåäúð 1";
$lang['Th_class2'] = "Êëàñ íà òàáëè÷åí õåäúð 2";
$lang['Th_class3'] = "Êëàñ íà òàáëè÷åí õåäúð 3";
$lang['Td_color1'] = "Öâÿò íà òàáëè÷íà êëåòêà 1";
$lang['Td_color2'] = "Öâÿò íà òàáëè÷íà êëåòêà 2";
$lang['Td_color3'] = "Öâÿò íà òàáëè÷íà êëåòêà 3";
$lang['Td_class1'] = "Êëàñ íà òàáëè÷íà êëåòêà 1";
$lang['Td_class2'] = "Êëàñ íà òàáëè÷íà êëåòêà 2";
$lang['Td_class3'] = "Êëàñ íà òàáëè÷íà êëåòêà 3";
$lang['fontface1'] = "Øðèôò 1";
$lang['fontface2'] = "Øðèôò 2";
$lang['fontface3'] = "Øðèôò 3";
$lang['fontsize1'] = "Ðàçìåð íà øðèôòà 1";
$lang['fontsize2'] = "Ðàçìåð íà øðèôòà 2";
$lang['fontsize3'] = "Ðàçìåð íà øðèôòà 3";
$lang['fontcolor1'] = "Öâÿò íà øðèôòà 1";
$lang['fontcolor2'] = "Öâÿò íà øðèôòà 2";
$lang['fontcolor3'] = "Öâÿò íà øðèôòà 3";
$lang['span_class1'] = "Êëàñ <span> 1";
$lang['span_class2'] = "Êëàñ <span> 2";
$lang['span_class3'] = "Êëàñ <span> 3";
$lang['img_poll_size'] = "Ðàçìåð íà èçîáðàæåíèåòî çà ðåçóëòàòè îò ãëàñóâàíåòî â ïèêñåëè";
$lang['img_pm_size'] = "Ðàçìåð íà ñòàòóñ-áàðà íà Ëè÷íèòå Ñúîáùåíèÿ â ïèêñåëè";
//
// Install Process
//
$lang['Welcome_install'] = "Welcome to phpBB 2 Installation";
$lang['Initial_config'] = "Basic Configuration";
$lang['DB_config'] = "Database Configuration";
$lang['Admin_config'] = "Admin Configuration";
$lang['continue_upgrade'] = "Once you have downloaded your config file to your local machine you may\"Continue Upgrade\" button below to move forward with the upgrade process. Please wait to upload the config file until the upgrade process is complete.";
$lang['upgrade_submit'] = "Continue Upgrade";
$lang['Installer_Error'] = "An error has occurred during installation";
$lang['Previous_Install'] = "A previous installation has been detected";
$lang['Install_db_error'] = "An error occurred trying to update the database";
$lang['Re_install'] = "Your previous installation is still active. <br /><br />If you would like to re-install phpBB 2 you should click the Yes button below. Please be aware that doing so will destroy all existing data, no backups will be made! The administrator username and password you have used to login in to the board will be re-created after the re-installation, no other settings will be retained. <br /><br />Think carefully before pressing Yes!";
$lang['Inst_Step_0'] = "Thank you for choosing phpBB 2. In order to complete this install please fill out the details requested below. Please note that the database you install into should already exist. If you are installing to a database that uses ODBC, e.g. MS Access you should first create a DSN for it before proceeding.";
$lang['Start_Install'] = "Start Install";
$lang['Finish_Install'] = "Finish Installation";
$lang['Default_lang'] = "Default board language";
$lang['DB_Host'] = "Database Server Hostname / DSN";
$lang['DB_Name'] = "Your Database Name";
$lang['DB_Username'] = "Database Username";
$lang['DB_Password'] = "Database Password";
$lang['Database'] = "Your Database";
$lang['Install_lang'] = "Choose Language for Installation";
$lang['dbms'] = "Database Type";
$lang['Table_Prefix'] = "Prefix for tables in database";
$lang['Admin_Username'] = "Administrator Username";
$lang['Admin_Password'] = "Administrator Password";
$lang['Admin_Password_confirm'] = "Administrator Password [ Confirm ]";
$lang['Inst_Step_2'] = "Your admin username has been created. At this point your basic installation is complete. You will now be taken to a screen which will allow you to administer your new installation. Please be sure to check the General Configuration details and make any required changes. Thank you for choosing phpBB 2.";
$lang['Unwriteable_config'] = "Your config file is un-writeable at present. A copy of the config file will be downloaded to your when you click the button below. You should upload this file to the same directory as phpBB 2. Once this is done you should log in using the administrator name and password you provided on the previous form and visit the admin control centre (a link will appear at the bottom of each screen once logged in) to check the general configuration. Thank you for choosing phpBB 2.";
$lang['Download_config'] = "Download Config";
$lang['ftp_choose'] = "Choose Download Method";
$lang['ftp_option'] = "<br />Since FTP extensions are enabled in this version of PHP you may also be given the option of first trying to automatically ftp the config file into place.";
$lang['ftp_instructs'] = "You have chosen to ftp the file to the account containing phpBB 2 automatically. Please enter the information below to facilitate this process. Note that the FTP path should be the exact path via ftp to your phpBB2 installation as if you were ftping to it using any normal client.";
$lang['ftp_info'] = "Enter Your FTP Information";
$lang['Attempt_ftp'] = "Attempt to ftp config file into place";
$lang['Send_file'] = "Just send the file to me and I'll ftp it manually";
$lang['ftp_path'] = "FTP path to phpBB 2";
$lang['ftp_username'] = "Your FTP Username";
$lang['ftp_password'] = "Your FTP Password";
$lang['Transfer_config'] = "Start Transfer";
$lang['NoFTP_config'] = "The attempt to ftp the config file into place failed. Please download the config file and ftp it into place manually.";
$lang['Install'] = "Èíòàëèðàíå";
$lang['Upgrade'] = "Úïãðåéä";
$lang['Install_Method'] = "Èçáåðåòå ìåòîäà íà èíñòàëèðàíå";
//
// That's all Folks!
// -------------------------------------------------
?>
Index: lang_bbcode.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_bulgarian/lang_bbcode.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** lang_bbcode.php 2002/01/04 13:21:38 1.1
--- lang_bbcode.php 2002/01/13 21:47:16 1.2
***************
*** 1,5 ****
<?php
/***************************************************************************
! * lang_bbcode.php [english]
* -------------------
* begin : Wednesday Oct 3, 2001
--- 1,5 ----
<?php
/***************************************************************************
! * lang_bbcode.php [Bulgarian]
* -------------------
* begin : Wednesday Oct 3, 2001
***************
*** 21,41 ****
***************************************************************************/
! //
! // To add an entry to your BBCode guide simply add a line to this file in this format:
! // $faq[] = array("question", "answer");
! // If you want to separate a section enter $faq[] = array("--","Block heading goes here if wanted");
! // Links will be created automatically
! //
! // DO NOT forget the ; at the end of the line.
! // Do NOT put double quotes (") in your BBCode guide entries, if you absolutely must then escape them ie. \"something\"
! //
! // The BBCode guide items will appear on the BBCode guide page in the same order they are listed in this file
! //
! // If just translating this file please do not alter the actual HTML unless absolutely necessary, thanks :)
! //
! // In addition please do not translate the colours referenced in relation to BBCode any section, if you do
! // users browsing in your language may be confused to find they're BBCode doesn't work :D You can change
! // references which are 'in-line' within the text though.
! //
$faq[] = array("--","Âúâåäåíèå");
--- 21,33 ----
***************************************************************************/
! /***************************************************************************
! * Bulgarian translation (Áúëãàðñêè ïðåâîä)
! * -------------------
! * begin : Thu Dec 06 2001
! * last update : Fri Jan 11 2001
! * by : Boby Dimitrov (Áîáè Äèìèòðîâ)
! * email : bo...@az...
! ****************************************************************************/
!
$faq[] = array("--","Âúâåäåíèå");
Index: lang_faq.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_bulgarian/lang_faq.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** lang_faq.php 2002/01/06 01:07:47 1.2
--- lang_faq.php 2002/01/13 21:47:16 1.3
***************
*** 1,5 ****
<?php
/***************************************************************************
! * lang_faq.php [english]
* -------------------
* begin : Wednesday Oct 3, 2001
--- 1,5 ----
<?php
/***************************************************************************
! * lang_faq.php [Bulgarian]
* -------------------
* begin : Wednesday Oct 3, 2001
***************
*** 21,36 ****
***************************************************************************/
! //
! // To add an entry to your FAQ simply add a line to this file in this format:
! // $faq[] = array("question", "answer");
! // If you want to separate a section enter $faq[] = array("--","Block heading goes here if wanted");
! // Links will be created automatically
! //
! // DO NOT forget the ; at the end of the line.
! // Do NOT put double quotes (") in your FAQ entries, if you absolutely must then escape them ie. \"something\"
! //
! // The FAQ items will appear on the FAQ page in the same order they are listed in this file
! //
!
$faq[] = array("--","Âúïðîñè çà Âõîäà è Ðåãèñòðàöèÿòà");
--- 21,33 ----
***************************************************************************/
! /***************************************************************************
! * Bulgarian translation (Áúëãàðñêè ïðåâîä)
! * -------------------
! * begin : Thu Dec 06 2001
! * last update : Fri Jan 11 2001
! * by : Boby Dimitrov (Áîáè Äèìèòðîâ)
! * email : bo...@az...
! ****************************************************************************/
!
$faq[] = array("--","Âúïðîñè çà Âõîäà è Ðåãèñòðàöèÿòà");
Index: lang_main.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_bulgarian/lang_main.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** lang_main.php 2002/01/06 01:07:47 1.2
--- lang_main.php 2002/01/13 21:47:16 1.3
***************
*** 1,5 ****
<?php
/***************************************************************************
! * lang_main.php [English]
* -------------------
* begin : Sat Dec 16 2000
--- 1,5 ----
<?php
/***************************************************************************
! * lang_main.php [Bulgarian]
* -------------------
* begin : Sat Dec 16 2000
***************
*** 24,45 ****
* -------------------
* begin : Thu Dec 06 2001
! * last update : Mon Dec 18 2001
* by : Boby Dimitrov (Áîáè Äèìèòðîâ)
* email : bo...@az...
****************************************************************************/
- //
- // The format of this file is:
- //
- // ---> $lang['message'] = "text";
- //
- // You should also try to set a locale and a character
- // encoding (plus direction). The encoding and direction
- // will be sent to the template. The locale may or may
- // not work, it's dependent on OS support and the syntax
- // varies ... give it your best guess!
- //
-
//setlocale(LC_ALL, "en");
$lang['ENCODING'] = "windows-1251";
--- 24,33 ----
* -------------------
* begin : Thu Dec 06 2001
! * last update : Fri Jan 11 2001
* by : Boby Dimitrov (Áîáè Äèìèòðîâ)
* email : bo...@az...
****************************************************************************/
//setlocale(LC_ALL, "en");
$lang['ENCODING'] = "windows-1251";
***************
*** 91,96 ****
$lang['Yes'] = "Äà";
$lang['No'] = "Íå";
! $lang['Enabled'] = "Âêëþ÷åí";
! $lang['Disabled'] = "Èçêëþ÷åí";
$lang['Error'] = "Ãðåøêà";
$lang['Success'] = "Óñïåõ";
--- 79,84 ----
$lang['Yes'] = "Äà";
$lang['No'] = "Íå";
! $lang['Enabled'] = "Âêë.";
! $lang['Disabled'] = "Èçêë.";
$lang['Error'] = "Ãðåøêà";
$lang['Success'] = "Óñïåõ";
***************
*** 147,150 ****
--- 135,141 ----
$lang['Guest_user_total'] = "%d Ãîñò";
+ $lang['Admin_online_color'] = "%sÀäìèíèñòðàòîð%s";
+ $lang['Mod_online_color'] = "%sÌîäåðàòîð%s";
+
$lang['You_last_visit'] = "Ïîñëåäíîòî âè ïîñåùåíèå: %s"; // %s replaced by date/time
$lang['Current_time'] = "Â ìîìåíòà å: %s"; // %s replaced by time
***************
*** 733,736 ****
--- 724,730 ----
$lang['Search_for_all'] = "Òúðñè çà âñè÷êè âúâåäåíè äóìè";
+ $lang['Search_title_msg'] = "Òúðñè â çàãëàâèåòî è ñúäúðæàíèåòî íà ìíåíèÿòà";
+ $lang['Search_msg_only'] = "Òúðñè ñàìî â ñúäúðæàíèåòî íà ìíåíèÿòà";
+
$lang['Return_first'] = "Ïîêàæè ïúðâèòå"; // followed by xxx characters in a select box
$lang['characters_posts'] = "ñèìâîëà îò ìíåíèåòî";
***************
*** 805,809 ****
$lang['Posting_message'] = "Ïèøå ìíåíèå";
$lang['Searching_forums'] = "Òúðñè èç ôîðóìèòå";
! $lang['Viewing_profile'] = "Ðàçãëåäæà ïðîôèë";
$lang['Viewing_online'] = "Ïðîâåðÿâà êîé å îíëàéí";
$lang['Viewing_member_list'] = "Ãëåäà ñïèñúêà ñ ÷ëåíîâåòå";
--- 799,803 ----
$lang['Posting_message'] = "Ïèøå ìíåíèå";
$lang['Searching_forums'] = "Òúðñè èç ôîðóìèòå";
! $lang['Viewing_profile'] = "Ðàçãëåæäà ïðîôèë";
$lang['Viewing_online'] = "Ïðîâåðÿâà êîé å îíëàéí";
$lang['Viewing_member_list'] = "Ãëåäà ñïèñúêà ñ ÷ëåíîâåòå";
|
|
From: Paul S. O. <ps...@us...> - 2002-01-13 21:44:26
|
Update of /cvsroot/phpbb/phpBB2/language/lang_finnish
In directory usw-pr-cvs1:/tmp/cvs-serv29817/language/lang_finnish
Modified Files:
lang_admin.php lang_faq.php lang_main.php
Log Message:
Updates related to changes in lang_english + other alterations
Index: lang_admin.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_finnish/lang_admin.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** lang_admin.php 2002/01/08 13:00:33 1.2
--- lang_admin.php 2002/01/13 21:44:23 1.3
***************
*** 47,51 ****
$lang['Prune'] = "Siivous";
$lang['Mass_Email'] = "Ryhmäsähköposti";
! $lang['Ranks'] = "Arvot";
$lang['Smilies'] = "Hymiöt";
$lang['Ban_Management'] = "Kieltojen hallinta";
--- 47,51 ----
$lang['Prune'] = "Siivous";
$lang['Mass_Email'] = "Ryhmäsähköposti";
! $lang['Ranks'] = "Tittelit";
$lang['Smilies'] = "Hymiöt";
$lang['Ban_Management'] = "Kieltojen hallinta";
***************
*** 135,139 ****
$lang['Group_auth_explain'] = "Tässä voit muuttaa oikeuksia ja moderaattoristatusta jokaiselle käyttäjäryhmälle. Älä unohda muuttaessasi ryhmän oikeuksia, että jokin käyttäjä voi oikeuksiensa perusteella silti päästä foorumiin jne. Saat tällaisessa tilanteessa varoituksen ko. mahdollisuudesta.";
$lang['User_auth_explain'] = "Tässä voit muuttaa oikeuksia ja moderaattoristatusta jokaiselle käyttäjälle. Älä unohda muuttaessasi käyttäjän oikeuksia, että ryhmän oikeudet saattavat silti sallia käyttäjän päästä foorumiin jne. Saat tällaisessa tilanteessa varoituksen ko. mahdollisuudesta.";
! $lang['Forum_auth_explain'] = "Tässä voi muuttaa ylläpito-oikeuksia kaikille foorumeille. Sinulla on sekä yksinkertainen, että yksityiskohtaisempi mahdollisuus. Yksityiskohtaisempi antaa enemmän mahdollisuuksia määritellä foormumin toimintaa. Muista, että foorumin oikeustason muuttaminen vaikuttaa siihen ketkä käyttäjät voivat tehdä tiettyjä toimenpiteitä niissä.";
$lang['Simple_mode'] = "Yksinkertainen";
--- 135,139 ----
$lang['Group_auth_explain'] = "Tässä voit muuttaa oikeuksia ja moderaattoristatusta jokaiselle käyttäjäryhmälle. Älä unohda muuttaessasi ryhmän oikeuksia, että jokin käyttäjä voi oikeuksiensa perusteella silti päästä foorumiin jne. Saat tällaisessa tilanteessa varoituksen ko. mahdollisuudesta.";
$lang['User_auth_explain'] = "Tässä voit muuttaa oikeuksia ja moderaattoristatusta jokaiselle käyttäjälle. Älä unohda muuttaessasi käyttäjän oikeuksia, että ryhmän oikeudet saattavat silti sallia käyttäjän päästä foorumiin jne. Saat tällaisessa tilanteessa varoituksen ko. mahdollisuudesta.";
! $lang['Forum_auth_explain'] = "Tässä voi muuttaa ylläpito-oikeuksia kaikille foorumeille. Sinulla on sekä yksinkertainen, että yksityiskohtaisempi mahdollisuus. Yksityiskohtaisempi antaa enemmän mahdollisuuksia määritellä foorumin toimintaa. Muista, että foorumin oikeustason muuttaminen vaikuttaa siihen ketkä käyttäjät voivat tehdä tiettyjä toimenpiteitä niissä.";
$lang['Simple_mode'] = "Yksinkertainen";
***************
*** 186,190 ****
$lang['Click_return_userauth'] = "Klikkaa %stästä%s palataksesi käyttäjäoikeuksiin";
$lang['Click_return_groupauth'] = "Klikkaa %stästä%s palataksesi ryhmäoikeuksiin";
! $lang['Click_return_forumauth'] = "Klikkaa %stästä%s palataksei foorumin oikeuksiin";
--- 186,190 ----
$lang['Click_return_userauth'] = "Klikkaa %stästä%s palataksesi käyttäjäoikeuksiin";
$lang['Click_return_groupauth'] = "Klikkaa %stästä%s palataksesi ryhmäoikeuksiin";
! $lang['Click_return_forumauth'] = "Klikkaa %stästä%s palataksesi foorumin oikeuksiin";
***************
*** 193,197 ****
//
$lang['Ban_control'] = "Porttikieltojen hallinnointi";
! $lang['Ban_explain'] = "Täällä voit ylläpitää porttikieltoja. Voit antaa porttikiellon yksittäiselle käyttäjälle ja/tai ketjun IP osoitteita tai koneita. Näillä toimilla estetään käyttäjän pääsy edes foorumien pääsivulle. Estääksesi käyttäjää rekisteröitymästä toisella nimellä voit määritellä porttikiellon myös sähköpostiosoitteelle. Huomaa kuitenkin, että pelkkä sähköpostiosoitteen porttikielto ei estä käyttäjää kirjautumasta tai kirjoittamasta foorumeihin, tämä estetään käyttämällä jompaa kumpaa kahdesta ensimmäisestä tavasta.";
$lang['Ban_explain_warn'] = "Huomaa, että antamalla IP osoitteiden sarjan, kaikki alku- ja loppuosoitteen välillä olevat IP osoitteet asetetaan porttikieltoon. Osoitteiden lukumäärää tietokannassa pyritään vähentämään käyttämällä jokerimerkkejä automaattisesti missä vain mahdollista. Jos todella täytyy antaa sarja IP osoitteita, pyri pitämään sarja mahdollisimman pienenä tai jos vain mahdollista käytä yksittäisiä osoitteita";
--- 193,197 ----
//
$lang['Ban_control'] = "Porttikieltojen hallinnointi";
! $lang['Ban_explain'] = "Täällä voit ylläpitää porttikieltoja. Voit antaa porttikiellon yksittäiselle käyttäjälle ja/tai ketjulle IP osoitteita tai koneita. Näillä toimilla estetään käyttäjän pääsy edes foorumien pääsivulle. Estääksesi käyttäjää rekisteröitymästä toisella nimellä voit määritellä porttikiellon myös sähköpostiosoitteelle. Huomaa kuitenkin, että pelkkä sähköpostiosoitteen porttikielto ei estä käyttäjää kirjautumasta tai kirjoittamasta foorumeihin, tämä estetään käyttämällä jompaa kumpaa kahdesta ensimmäisestä tavasta.";
$lang['Ban_explain_warn'] = "Huomaa, että antamalla IP osoitteiden sarjan, kaikki alku- ja loppuosoitteen välillä olevat IP osoitteet asetetaan porttikieltoon. Osoitteiden lukumäärää tietokannassa pyritään vähentämään käyttämällä jokerimerkkejä automaattisesti missä vain mahdollista. Jos todella täytyy antaa sarja IP osoitteita, pyri pitämään sarja mahdollisimman pienenä tai jos vain mahdollista käytä yksittäisiä osoitteita";
***************
*** 248,252 ****
$lang['Max_poll_options'] = "Äänestysvaihtoehtojen maksimi lukumäärä";
$lang['Flood_Interval'] = "Ylivuoto (flood) tauko";
! $lang['Flood_Interval_explain'] = "Kuinka monta sekuntia käyttäjän pitää odottaa viestin lähetysten välillä";
$lang['Board_email_form'] = "Sähköpostin käyttö sivuston välityksellä";
$lang['Board_email_form_explain'] = "Käyttäjät lähettävät toisilleen sähköpostia sivuston välityksellä";
--- 248,252 ----
$lang['Max_poll_options'] = "Äänestysvaihtoehtojen maksimi lukumäärä";
$lang['Flood_Interval'] = "Ylivuoto (flood) tauko";
! $lang['Flood_Interval_explain'] = "Kuinka monta sekuntia käyttäjän pitää odottaa viestien lähetysten välillä";
$lang['Board_email_form'] = "Sähköpostin käyttö sivuston välityksellä";
$lang['Board_email_form_explain'] = "Käyttäjät lähettävät toisilleen sähköpostia sivuston välityksellä";
***************
*** 286,290 ****
$lang['Avatar_storage_path_explain'] = "Polku phpBB juurihakemiston alla, esim. images/avatars";
$lang['Avatar_gallery_path'] = "Avatar Gallerian polku";
! $lang['Avatar_gallery_path_explain'] = " Polku phpBB juurihakemiston alla valmiiksi tallenetuille kuville, esim. images/avatars/gallery";
$lang['COPPA_settings'] = "COPPA asetukset";
--- 286,290 ----
$lang['Avatar_storage_path_explain'] = "Polku phpBB juurihakemiston alla, esim. images/avatars";
$lang['Avatar_gallery_path'] = "Avatar Gallerian polku";
! $lang['Avatar_gallery_path_explain'] = " Polku phpBB juurihakemiston alle valmiiksi tallennetuille kuville, esim. images/avatars/gallery";
$lang['COPPA_settings'] = "COPPA asetukset";
***************
*** 333,337 ****
$lang['Resync'] = "Synkronoi";
$lang['No_mode'] = "Toimintoa ei asetettu";
! $lang['Forum_edit_delete_explain'] = "Alapuolella olevalla lomakkeella voit muokata kaikkia foorumien yleisiä toimintoja. Muihin konfigurointi tietoihin pääset sivun vasemman reunan linkeistä";
$lang['Move_contents'] = "Siirrä kaikki sisältö";
--- 333,337 ----
$lang['Resync'] = "Synkronoi";
$lang['No_mode'] = "Toimintoa ei asetettu";
! $lang['Forum_edit_delete_explain'] = "Alapuolella olevalla lomakkeella voit muokata kaikkia foorumien yleisiä toimintoja. Muihin konfigurointitietoihin pääset sivun vasemman reunan linkeistä";
$lang['Move_contents'] = "Siirrä kaikki sisältö";
***************
*** 347,351 ****
$lang['prune_freq'] = 'Tarkista aiheiden ikä joka';
$lang['prune_days'] = "Poista aiheet, joihin ei ole kirjoitettu";
! $lang['Set_prune_data'] = "Olet määritellyt automaattisen siivouksen tälle foorumille mutta et ole antanut siivoustiheyttä tai päivien lukumäärää or number of days. Ole hyvä ja anna tiedot";
$lang['Move_and_Delete'] = "Siirrä ja poista";
--- 347,351 ----
$lang['prune_freq'] = 'Tarkista aiheiden ikä joka';
$lang['prune_days'] = "Poista aiheet, joihin ei ole kirjoitettu";
! $lang['Set_prune_data'] = "Olet määritellyt automaattisen siivouksen tälle foorumille mutta et ole antanut siivoustiheyttä tai päivien lukumäärää. Ole hyvä ja anna tiedot";
$lang['Move_and_Delete'] = "Siirrä ja poista";
***************
*** 357,361 ****
$lang['Edit_Category_explain'] = "Tällä lomakkeella määritellään kategorian nimi.";
! $lang['Forums_updated'] = "Foorumi ja kategoria tiedot päivitetty onnistuneesti";
$lang['Must_delete_forums'] = "Kaikki foorumit on poistettava ennen kuin tämä kategoria voidaan poistaa";
--- 357,361 ----
$lang['Edit_Category_explain'] = "Tällä lomakkeella määritellään kategorian nimi.";
! $lang['Forums_updated'] = "Foorumi- ja kategoriatiedot päivitetty onnistuneesti";
$lang['Must_delete_forums'] = "Kaikki foorumit on poistettava ennen kuin tämä kategoria voidaan poistaa";
***************
*** 368,372 ****
//
$lang['smiley_title'] = "Hymiöiden hallinta";
! $lang['smile_desc'] = "Tällä sivulla voit lisätä, poistaa ja muokata emoticoneita ja hymiöitä, joita käyttäjät voivat käyttää tavallisissa ja yksityisissä viesteissä.";
$lang['smiley_config'] = "Hymiöiden konfigurointi";
--- 368,372 ----
//
$lang['smiley_title'] = "Hymiöiden hallinta";
! $lang['smile_desc'] = "Tällä sivulla voit lisätä, poistaa ja muokata hymiöitä, joita käyttäjät voivat käyttää tavallisissa ja yksityisissä viesteissä.";
$lang['smiley_config'] = "Hymiöiden konfigurointi";
***************
*** 380,399 ****
$lang['Select_pak'] = "Valitse kokoelma (.pak) tiedosto";
$lang['replace_existing'] = "Korvaa olemassa oleva hymiö";
! $lang['keep_existing'] = "Säilytä olemassa oleav hymiö";
! $lang['smiley_import_inst'] = "Sinun pitää purkaa hymiö kokoelma ja ladata kaikki tiedostot oikeaan hymiö-hakemistoon. Valitse sitten oikeat tiedot tällä lomakkeella lukeaksesi sisään hymiö kokoelman.";
! $lang['smiley_import'] = "Hymiö kokoelman sisäänluku";
! $lang['choose_smile_pak'] = "Valitse hymiö kokoelma .pak tiedosto";
$lang['import'] = "Lue sisään hymiöt";
$lang['smile_conflicts'] = "Mitä pitää tehdä mahdollisissa päällekkäisyyksissä";
$lang['del_existing_smileys'] = "Poista olemassa olevat hymiöt ennen sisään lukua";
! $lang['import_smile_pack'] = "Lue sisään hymiö kokoelma";
! $lang['export_smile_pack'] = "Luo hymiö kokoelma";
! $lang['export_smiles'] = "Luodaksesi hymiö kokoelman nykyisistä hymiöistä, klikkaa %stästä%s siirtääksesi hymiö tiedoston. Nimeä tiedosto säilyttäen .pak tarkenne. Luo zip tiedosto joka sisältää kaikki hymiö tiedostot ja tämän .pak konfigurointi tiedoston.";
$lang['smiley_add_success'] = "Hymiön lisäys onnistui";
$lang['smiley_edit_success'] = "Hymiön päivitys onnistui";
! $lang['smiley_import_success'] = "Hymiö kokoelman sisään luku onnistui!";
$lang['smiley_del_success'] = "Hymiön poisto onnistui";
! $lang['Click_return_smileadmin'] = "Klikkaa %stästä%s palataksei hymiöiden hallintaan";
--- 380,399 ----
$lang['Select_pak'] = "Valitse kokoelma (.pak) tiedosto";
$lang['replace_existing'] = "Korvaa olemassa oleva hymiö";
! $lang['keep_existing'] = "Säilytä olemassa oleva hymiö";
! $lang['smiley_import_inst'] = "Sinun pitää purkaa hymiö kokoelma ja ladata kaikki tiedostot oikeaan hymiö-hakemistoon. Valitse sitten oikeat tiedot tällä lomakkeella lukeaksesi sisään hymiökokoelman.";
! $lang['smiley_import'] = "Hymiökokoelman sisäänluku";
! $lang['choose_smile_pak'] = "Valitse hymiökokoelman .pak tiedosto";
$lang['import'] = "Lue sisään hymiöt";
$lang['smile_conflicts'] = "Mitä pitää tehdä mahdollisissa päällekkäisyyksissä";
$lang['del_existing_smileys'] = "Poista olemassa olevat hymiöt ennen sisään lukua";
! $lang['import_smile_pack'] = "Lue sisään hymiökokoelma";
! $lang['export_smile_pack'] = "Luo hymiökokoelma";
! $lang['export_smiles'] = "Luodaksesi hymiökokoelman nykyisistä hymiöistä, klikkaa %stästä%s siirtääksesi hymiö (smiles.pak) tiedoston. Nimeä tiedosto säilyttäen .pak tarkenne. Luo zip tiedosto joka sisältää kaikki hymiötiedostot ja tämän .pak konfigurointi tiedoston.";
$lang['smiley_add_success'] = "Hymiön lisäys onnistui";
$lang['smiley_edit_success'] = "Hymiön päivitys onnistui";
! $lang['smiley_import_success'] = "Hymiökokoelman sisäänluku onnistui!";
$lang['smiley_del_success'] = "Hymiön poisto onnistui";
! $lang['Click_return_smileadmin'] = "Klikkaa %stästä%s palataksesi hymiöiden hallintaan";
***************
*** 453,457 ****
$lang['Click_return_groupsadmin'] = "Klikkaa %stästä%s palataksesi ryhmän hallintaan.";
$lang['Select_group'] = "Valitse ryhmä";
! $lang['Look_up_group'] = "Etsi ryhmä";
--- 453,457 ----
$lang['Click_return_groupsadmin'] = "Klikkaa %stästä%s palataksesi ryhmän hallintaan.";
$lang['Select_group'] = "Valitse ryhmä";
! $lang['Look_up_group'] = "Näytä ryhmä";
***************
*** 578,582 ****
$lang['Theme_info_saved'] = "Teeman tiedot valitussa mallissa on tallennettu. Sinun täytyy nyt palauttaa käyttöoikeudeksi pelkkä luku (read-only) tiedostoon theme_info.cfg (ja tarvittaessa valittuun mallihakemistoon)";
$lang['Theme_updated'] = "Valittu teema on päivitetty. Siirrä nyt uudet teeman asetukset";
! $lang['Theme_created'] = "Teema luotu. Siirrä nyt teema konfigurointi tiedostoon varmuuden vuoksi, tai käytettäväksi myös muualla";
$lang['Confirm_delete_style'] = "Oletko varma, että haluat poistaa tämän tyylin";
--- 578,582 ----
$lang['Theme_info_saved'] = "Teeman tiedot valitussa mallissa on tallennettu. Sinun täytyy nyt palauttaa käyttöoikeudeksi pelkkä luku (read-only) tiedostoon theme_info.cfg (ja tarvittaessa valittuun mallihakemistoon)";
$lang['Theme_updated'] = "Valittu teema on päivitetty. Siirrä nyt uudet teeman asetukset";
! $lang['Theme_created'] = "Teema luotu. Siirrä nyt teema konfigurointitiedostoon varmuuden vuoksi, tai käytettäväksi myös muualla";
$lang['Confirm_delete_style'] = "Oletko varma, että haluat poistaa tämän tyylin";
***************
*** 646,650 ****
$lang['DB_config'] = "Tietokanta konfiguraatio";
$lang['Admin_config'] = "Ylläpidon konfiguraatio";
! $lang['continue_upgrade'] = "Kun olet ladannut configurointi tiedoston paikalliselle koneelle voit klikat\"jatka päivitystä\" painiketta alapuolella jatkaaksesi päivitystä. Ole hyvä ja odota konfigurointitiedoston lataamista kunnes päivitys on valmis.";
$lang['upgrade_submit'] = "Jatka päivitystä";
--- 646,650 ----
$lang['DB_config'] = "Tietokanta konfiguraatio";
$lang['Admin_config'] = "Ylläpidon konfiguraatio";
! $lang['continue_upgrade'] = "Kun olet ladannut konfigurointi tiedoston paikalliselle koneelle voit klikata\"jatka päivitystä\" painiketta alapuolella jatkaaksesi päivitystä. Ole hyvä ja odota konfigurointitiedoston lataamista kunnes päivitys on valmis.";
$lang['upgrade_submit'] = "Jatka päivitystä";
***************
*** 673,684 ****
$lang['Admin_Password_confirm'] = "Ylläpitäjän salasana [ Vahvista ]";
! $lang['Inst_Step_2'] = "Ylläpitäjän käyttäjätunnus on luotu. Tässä vaiheessa perusasennus on valmis. Nyt saat seuraavan sivun jolla voit hallinnoida uutta asennustasi. Ole hyvä ja valmista perus konfiguraation tiedot ja tee tarvittavat muutokset. Kiitoksia, että valitsit phpBB 2.";
! $lang['Unwriteable_config'] = "Konfigurointitiedostosi ei ole kirjoituskelpoinen tällä hetkellä. Kopio konfigurointitiedostosta ladataan sinulle kun klikkaat painiketta alapuolella. Sinun tulee siirtää tämä tiedosto samaan hakemistoon kuin phpBB 2. Kun tämä on tehty kirjaudu sisään ylläpitäjän käyttäjätunnuksella ja salasanalla ja käy ylläpidon hallintasivuilla (Linkki ilmestyy sivun alareunaan sisään kirjautumisen jälkeen) tarkistaaksei yleiset asetukset. Kiitos kun valitsit phpBB 2.";
$lang['Download_config'] = "Lataa konfigurointitiedosto";
$lang['ftp_choose'] = "Valitse tiedonsiirtotapa";
$lang['ftp_option'] = "<br />Koska myös FTP on mahdollista tässä PHP versiossa sinulle voidaan antaa mahdollisuus automaattisesti siirtää ftp:llä tiedosto oikeaan paikkaan.";
! $lang['ftp_instructs'] = "Olet valinnut tiedoston siirrettäväksi automaattisesti ftp:llä. Ole hyvä ja anna alla kysytyt tiedot, jotta tiedonsiirto onnistuu. Huomioi, että FTP polun tulee olla tarkka polku ftp:llä phpBB2 asennushakemistoon kuten siirtäisiti mitä tahansa tietoa ftp:llä.";
$lang['ftp_info'] = "Anna FTP tiedot ";
$lang['Attempt_ftp'] = "Yritetään siirtää konfigurointitiedosto ftp:llä";
--- 673,684 ----
$lang['Admin_Password_confirm'] = "Ylläpitäjän salasana [ Vahvista ]";
! $lang['Inst_Step_2'] = "Ylläpitäjän käyttäjätunnus on luotu. Tässä vaiheessa perusasennus on valmis. Nyt saat seuraavan sivun jolla voit hallinnoida uutta asennustasi. Ole hyvä ja varmista peruskonfiguraation tiedot ja tee tarvittavat muutokset. Kiitoksia, että valitsit phpBB 2:n.";
! $lang['Unwriteable_config'] = "Konfigurointitiedostosi ei ole kirjoituskelpoinen tällä hetkellä. Kopio konfigurointitiedostosta ladataan sinulle kun klikkaat painiketta alapuolella. Sinun tulee siirtää tämä tiedosto samaan hakemistoon kuin phpBB 2. Kun tämä on tehty kirjaudu sisään ylläpitäjän käyttäjätunnuksella ja salasanalla ja käy ylläpidon hallintasivuilla (Linkki ilmestyy sivun alareunaan sisään kirjautumisen jälkeen) tarkistaaksesi yleiset asetukset. Kiitos kun valitsit phpBB 2:n.";
$lang['Download_config'] = "Lataa konfigurointitiedosto";
$lang['ftp_choose'] = "Valitse tiedonsiirtotapa";
$lang['ftp_option'] = "<br />Koska myös FTP on mahdollista tässä PHP versiossa sinulle voidaan antaa mahdollisuus automaattisesti siirtää ftp:llä tiedosto oikeaan paikkaan.";
! $lang['ftp_instructs'] = "Olet valinnut tiedoston siirrettäväksi automaattisesti ftp:llä. Ole hyvä ja anna alla kysytyt tiedot, jotta tiedonsiirto onnistuu. Huomioi, että FTP polun tulee olla tarkka polku ftp:llä phpBB2 asennushakemistoon kuten siirtäisit mitä tahansa tietoa ftp:llä.";
$lang['ftp_info'] = "Anna FTP tiedot ";
$lang['Attempt_ftp'] = "Yritetään siirtää konfigurointitiedosto ftp:llä";
Index: lang_faq.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_finnish/lang_faq.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** lang_faq.php 2002/01/08 13:00:33 1.2
--- lang_faq.php 2002/01/13 21:44:23 1.3
***************
*** 99,103 ****
$faq[] = array("Kuka on tehnyt tämän järjestelmän (ilmoitustaulun)?", "Tämä ohjelmiston (muokkaamattomassa muodossa) on tuottanut ja julkaissut ja copyrightin hallitsija on <a href=\"http://www.phpbb.com/\" target=\"_blank\">phpBB Group</a>. Se on jaettu GNU General Public Licence ehdoin ja on vapaasti levitettävissä");
$faq[] = array("Miksi ominaisuutta x ei ole?", "Tämän ohjelmiston on tuottanut ja lisensoinut phpBB Group. Jos mielestäsi ominaisuutta tarvitaan, käy phpbb.com web sivuilla ja tarkista mitä mieltä phpBB Group on. Ole hyvä äläkä postita pyyntöjä foorumeihin osoitteessa phpbb.com. Ryhmä käyttää sourceforge sivustoja uusien ominaisuuksien tekoon. Ole hyvä ja lue läpi foorumit nähdäksesi olemmeko jo ottaneet kantaa ominaisuuteen ja noudata sitten sivuilla annettuja ohjeita.");
! $faq[] = array("Keneen otan yhteyttä loukkaavista ja/tai laittomista asioista tässä järjestelmässä?", "Sinun tulee ottaa yhteyttä järjestelmän ylläpitoon. Jos et saa selville kuka tämä on, tulee sinun ottaa yhteyttä jonkin foorumin moderaattoriin ja kysyä häneltä kenen puoleen tulee kääntyä. Jos et vieläkään saa vastausta sinun tulee ottaa yhteyttä web osoitteen (domainin) omistajaan (tämä selviää whois kyselyllä) tai jos kyseessä on vapaa järjestelmä (esim. yahoo, free.fr, f2s.com, jne.), hallintoon tai turva tms. osastoon ko. palvelussa. Pyydämme ottamaan huomioon ettei phpBB Group voi millään lailla kontrolloida, eikä voida mitenkään pitää vastuullisena siitä kuinka, missä ja kuka tätä järjestelmää käyttää. On täysin turhaa ottaa yhteyttä phpBB Group:iin missään lakiasioissa (vastuu yms.), asioissa jotka eivät suoraan liity phpbb.com web sivustoon tai itse phpBB ohjelmaan sellaisenaan. Jos lähetät sähköpostia phpBB Group:lle mistään kolmannen osapuolen ohjelmiston käytöstä, voit odottaa lyhyttä vastausta tai jäädä ilman vastausta kokonaan.");
//
--- 99,103 ----
$faq[] = array("Kuka on tehnyt tämän järjestelmän (ilmoitustaulun)?", "Tämä ohjelmiston (muokkaamattomassa muodossa) on tuottanut ja julkaissut ja copyrightin hallitsija on <a href=\"http://www.phpbb.com/\" target=\"_blank\">phpBB Group</a>. Se on jaettu GNU General Public Licence ehdoin ja on vapaasti levitettävissä");
$faq[] = array("Miksi ominaisuutta x ei ole?", "Tämän ohjelmiston on tuottanut ja lisensoinut phpBB Group. Jos mielestäsi ominaisuutta tarvitaan, käy phpbb.com web sivuilla ja tarkista mitä mieltä phpBB Group on. Ole hyvä äläkä postita pyyntöjä foorumeihin osoitteessa phpbb.com. Ryhmä käyttää sourceforge sivustoja uusien ominaisuuksien tekoon. Ole hyvä ja lue läpi foorumit nähdäksesi olemmeko jo ottaneet kantaa ominaisuuteen ja noudata sitten sivuilla annettuja ohjeita.");
! $faq[] = array("Keneen otan yhteyttä loukkaavista ja/tai laittomista asioista tässä järjestelmässä?", "Sinun tulee ottaa yhteyttä järjestelmän ylläpitoon. Jos et saa selville kuka tämä on, tulee sinun ottaa yhteyttä jonkin foorumin moderaattoriin ja kysyä häneltä kenen puoleen tulee kääntyä. Jos et vieläkään saa vastausta sinun tulee ottaa yhteyttä web osoitteen (domainin) omistajaan (tämä selviää whois kyselyllä) tai jos kyseessä on vapaa järjestelmä (esim. yahoo, free.fr, f2s.com, jne.), hallintoon tai turva tms. osastoon ko. palvelussa. Pyydämme ottamaan huomioon ettei phpBB Group voi millään lailla kontrolloida, eikä sitä voida mitenkään pitää vastuullisena siitä kuinka, missä ja kuka tätä järjestelmää käyttää. On täysin turhaa ottaa yhteyttä phpBB Group:iin missään lakiasioissa (vastuu yms.), asioissa jotka eivät suoraan liity phpbb.com web sivustoon tai itse phpBB ohjelmaan sellaisenaan. Jos lähetät sähköpostia phpBB Group:lle mistään kolmannen osapuolen ohjelmiston käytöstä, voit odottaa lyhyttä vastausta tai jäädä ilman vastausta kokonaan.");
//
Index: lang_main.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_finnish/lang_main.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** lang_main.php 2002/01/08 13:00:33 1.3
--- lang_main.php 2002/01/13 21:44:23 1.4
***************
*** 140,143 ****
--- 140,146 ----
$lang['Guest_user_total'] = "%d Vieras";
+ $lang['Admin_online_color'] = "%sYlläpitäjä%s";
+ $lang['Mod_online_color'] = "%sModeraattori%s";
+
$lang['You_last_visit'] = "Edellinen käyntisi oli %s"; // %s replaced by date/time
$lang['Current_time'] = "Kellonaika on nyt %s"; // %s replaced by time
***************
*** 171,175 ****
$lang['Newest_user'] = "Uusin rekisteröitynyt käyttäjä on <b>%s%s%s</b>"; // a href, username, /a
! $lang['No_new_posts_last_visit'] = "Ei uusia viestejä edellisen käynstisi jälkeen";
$lang['No_new_posts'] = "Ei uusia viestejä";
$lang['New_posts'] = "Uusia viestejä";
--- 174,178 ----
$lang['Newest_user'] = "Uusin rekisteröitynyt käyttäjä on <b>%s%s%s</b>"; // a href, username, /a
! $lang['No_new_posts_last_visit'] = "Ei uusia viestejä edellisen käyntisi jälkeen";
$lang['No_new_posts'] = "Ei uusia viestejä";
$lang['New_posts'] = "Uusia viestejä";
***************
*** 258,262 ****
$lang['No_newer_topics'] = "Tässä foorumissa ei ole uudempia aiheita";
! $lang['No_older_topics'] = "Tässä fooumissa ei ole vanhempia aiheita";
$lang['Topic_post_not_exist'] = "Hakemaasi aihetta tai viestiä ei löydy";
$lang['No_posts_topic'] = "Otsikolla ei ole viestejä";
--- 261,265 ----
$lang['No_newer_topics'] = "Tässä foorumissa ei ole uudempia aiheita";
! $lang['No_older_topics'] = "Tässä foorumissa ei ole vanhempia aiheita";
$lang['Topic_post_not_exist'] = "Hakemaasi aihetta tai viestiä ei löydy";
$lang['No_posts_topic'] = "Otsikolla ei ole viestejä";
***************
*** 270,274 ****
$lang['Read_profile'] = "Näytä käyttäjän tiedot";
! $lang['Send_email'] = "Lähetä sähköpostia käyttjälle";
$lang['Visit_website'] = "Käy lähettäjän sivustolla";
$lang['ICQ_status'] = "ICQ Status";
--- 273,277 ----
$lang['Read_profile'] = "Näytä käyttäjän tiedot";
! $lang['Send_email'] = "Lähetä sähköpostia käyttäjälle";
$lang['Visit_website'] = "Käy lähettäjän sivustolla";
$lang['ICQ_status'] = "ICQ Status";
***************
*** 306,310 ****
$lang['Post_a_new_topic'] = "Luo uusi aihe";
$lang['Post_a_reply'] = "Vastaa";
! $lang['Post_topic_as'] = "Luo aihe";
$lang['Edit_Post'] = "Muokkaa viestiä";
$lang['Options'] = "Vaihtoehdot";
--- 309,313 ----
$lang['Post_a_new_topic'] = "Luo uusi aihe";
$lang['Post_a_reply'] = "Vastaa";
! $lang['Post_topic_as'] = "Viestin muoto";
$lang['Edit_Post'] = "Muokkaa viestiä";
$lang['Options'] = "Vaihtoehdot";
***************
*** 369,379 ****
$lang['Topic_reply_notification'] = "Ilmoitus vastauksesta aiheeseen";
! $lang['bbcode_b_help'] = "Lihvaointi: [b]text[/b] (alt+b)";
$lang['bbcode_i_help'] = "Kursivointi: [i]text[/i] (alt+i)";
$lang['bbcode_u_help'] = "Alleviivaus: [u]text[/u] (alt+u)";
$lang['bbcode_q_help'] = "Lainaus: [quote]text[/quote] (alt+q)";
$lang['bbcode_c_help'] = "Koodin näyttö: [code]code[/code] (alt+c)";
! $lang['bbcode_l_help'] = "Lista: [list]text[/list] (alt+l)";
! $lang['bbcode_o_help'] = "Järjestetty lista: [list=]text[/list] (alt+o)";
$lang['bbcode_p_help'] = "Lisää kuva: [img]http://image_url[/img] (alt+p)";
$lang['bbcode_w_help'] = "Lisää URL: [url]http://url[/url] or [url=http://url]URL text[/url] (alt+w)";
--- 372,382 ----
$lang['Topic_reply_notification'] = "Ilmoitus vastauksesta aiheeseen";
! $lang['bbcode_b_help'] = "Lihavointi: [b]text[/b] (alt+b)";
$lang['bbcode_i_help'] = "Kursivointi: [i]text[/i] (alt+i)";
$lang['bbcode_u_help'] = "Alleviivaus: [u]text[/u] (alt+u)";
$lang['bbcode_q_help'] = "Lainaus: [quote]text[/quote] (alt+q)";
$lang['bbcode_c_help'] = "Koodin näyttö: [code]code[/code] (alt+c)";
! $lang['bbcode_l_help'] = "Luettelo: [list]text[/list] (alt+l)";
! $lang['bbcode_o_help'] = "Järjestetty luettelo: [list=]text[/list] (alt+o)";
$lang['bbcode_p_help'] = "Lisää kuva: [img]http://image_url[/img] (alt+p)";
$lang['bbcode_w_help'] = "Lisää URL: [url]http://url[/url] or [url=http://url]URL text[/url] (alt+w)";
***************
*** 497,501 ****
$lang['Preferences'] = "Valinnat";
$lang['Items_required'] = "Kentät, jotka on merkitty * ovat pakollisia ellei muuta mainita";
! $lang['Registration_info'] = "Rekisteröinti tiedot";
$lang['Profile_info'] = "Käyttäjätiedot";
$lang['Profile_info_warn'] = "Nämä tiedot ovat kaikille näkyvissä";
--- 500,504 ----
$lang['Preferences'] = "Valinnat";
$lang['Items_required'] = "Kentät, jotka on merkitty * ovat pakollisia ellei muuta mainita";
! $lang['Registration_info'] = "Rekisteröintitiedot";
$lang['Profile_info'] = "Käyttäjätiedot";
$lang['Profile_info_warn'] = "Nämä tiedot ovat kaikille näkyvissä";
***************
*** 513,517 ****
$lang['Interests'] = "Harrastukset";
$lang['Occupation'] = "Ammatti";
! $lang['Poster_rank'] = "Käyttäjä titteli";
$lang['Total_posts'] = "Viestejä yhteensä";
--- 516,520 ----
$lang['Interests'] = "Harrastukset";
$lang['Occupation'] = "Ammatti";
! $lang['Poster_rank'] = "Käyttäjätitteli";
$lang['Total_posts'] = "Viestejä yhteensä";
***************
*** 603,608 ****
$lang['Reg_agreement'] = "Vaikka tämän sivuston ylläpitäjät ja moderaattorit pyrkivät poistamaan tai muokkaamaan kaiken yleisesti arvelluttavan sisällön niin nopeasti kuin mahdollista, on mahdotonta tarkistaa jokaista viestiä. Tiedostatte siis, että viestit sivuilla ovat kirjoittajiensa mielipiteitä eivätkä ylläpidon, moderaattoreiden tai webmasterin (lukuunottamatta heidän itsensä kirjoittamia viestejä) ja siksi he eivät ole vastuussa näistä kirjoituksista.<br /><br />Suostut olemaan esittämättä mitään loukkaavaa, vihamielistä, epämoraalista tai muutakaan materiaalia joka voisi loukata voimassa olevia lakeja. Toimimalla tätä vastoin voidaan sinut välittömästi ja lopullisesti poistaa järjestelmän käyttäjistä (tarvittaessa yhteydentarjoajaasi otetaan yhteyttä). Kaikkien viestien IP osoite tallennetaan tämän vuoksi. Suostut siihen, että webmaster, ylläpito ja moderaattorit ovat oikeutettuja poistamaan, muokkaamaan, siirtämään tai sulkemaan minkä tahansa aiheen milloin tahansa. Käyttäjänä suostut siihen, että kaikki yllä annettu tieto tallennetaan tietokantaan. Tätä tietoa ei anneta millekään kolmannelle osapuolelle ilman suostumustasi. Webmaster, ylläpito ja moderaattorit eivät ole vastuullisia jos tietoturva vaarantuu hakkerointiyrityksistä tms. johtuen.<br /><br />Tämä sivusto käyttää avusteita (cookies) tallentamaan tietoa paikalliselle tietokoneelle. Nämä avusteet eivät sisällä mitään yllä annetuista tiedoista, niiden ainoa tarkoitus on helpottaa käyttöä. Sähköpostiosoitetta käytetään vain käyttäjätunnus tietojen lähettämiseen (Sekä salasanan lähettämiseen jos unohdat sen).<br /><br /> Klikkaamalla Hyväksyn hyväksyt nämä ehdot.";
! $lang['Agree_under_13'] = "Hyväksyn ehdot ja olen <b>alle</b> 18 vuotias";
! $lang['Agree_over_13'] = "Hyväksyn ehdot ja olen <b>yli</b> 18 vuotias";
$lang['Agree_not'] = "En hyväksy ehtoja";
--- 606,611 ----
$lang['Reg_agreement'] = "Vaikka tämän sivuston ylläpitäjät ja moderaattorit pyrkivät poistamaan tai muokkaamaan kaiken yleisesti arvelluttavan sisällön niin nopeasti kuin mahdollista, on mahdotonta tarkistaa jokaista viestiä. Tiedostatte siis, että viestit sivuilla ovat kirjoittajiensa mielipiteitä eivätkä ylläpidon, moderaattoreiden tai webmasterin (lukuunottamatta heidän itsensä kirjoittamia viestejä) ja siksi he eivät ole vastuussa näistä kirjoituksista.<br /><br />Suostut olemaan esittämättä mitään loukkaavaa, vihamielistä, epämoraalista tai muutakaan materiaalia joka voisi loukata voimassa olevia lakeja. Toimimalla tätä vastoin voidaan sinut välittömästi ja lopullisesti poistaa järjestelmän käyttäjistä (tarvittaessa yhteydentarjoajaasi otetaan yhteyttä). Kaikkien viestien IP osoite tallennetaan tämän vuoksi. Suostut siihen, että webmaster, ylläpito ja moderaattorit ovat oikeutettuja poistamaan, muokkaamaan, siirtämään tai sulkemaan minkä tahansa aiheen milloin tahansa. Käyttäjänä suostut siihen, että kaikki yllä annettu tieto tallennetaan tietokantaan. Tätä tietoa ei anneta millekään kolmannelle osapuolelle ilman suostumustasi. Webmaster, ylläpito ja moderaattorit eivät ole vastuullisia jos tietoturva vaarantuu hakkerointiyrityksistä tms. johtuen.<br /><br />Tämä sivusto käyttää avusteita (cookies) tallentamaan tietoa paikalliselle tietokoneelle. Nämä avusteet eivät sisällä mitään yllä annetuista tiedoista, niiden ainoa tarkoitus on helpottaa käyttöä. Sähköpostiosoitetta käytetään vain käyttäjätunnus tietojen lähettämiseen (Sekä salasanan lähettämiseen jos unohdat sen).<br /><br /> Klikkaamalla Hyväksyn hyväksyt nämä ehdot.";
! $lang['Agree_under_13'] = "Hyväksyn ehdot ja olen <b>alle</b> 13 vuotias";
! $lang['Agree_over_13'] = "Hyväksyn ehdot ja olen <b>yli</b> 13 vuotias";
$lang['Agree_not'] = "En hyväksy ehtoja";
***************
*** 619,623 ****
$lang['User_not_exist'] = "Käyttäjätunnusta ei ole olemassa";
$lang['CC_email'] = "Lähetä kopio sähköpostista itsellesi";
! $lang['Email_message_desc'] = "Tämä viesti lähetetään pelkkänä tekstinä, älä käytä HTML or BBCode koodeja. Paluuosoitteeksi tälle viestille asetetaan sähköpostiosoitteesi.";
$lang['Flood_email_limit'] = "Et voi lähettää uutta sähköpostia nyt, yritä myöhemmin uudelleen";
$lang['Recipient'] = "Vastaanottaja";
--- 622,626 ----
$lang['User_not_exist'] = "Käyttäjätunnusta ei ole olemassa";
$lang['CC_email'] = "Lähetä kopio sähköpostista itsellesi";
! $lang['Email_message_desc'] = "Tämä viesti lähetetään pelkkänä tekstinä, älä käytä HTML tai BBCode koodeja. Paluuosoitteeksi tälle viestille asetetaan sähköpostiosoitteesi.";
$lang['Flood_email_limit'] = "Et voi lähettää uutta sähköpostia nyt, yritä myöhemmin uudelleen";
$lang['Recipient'] = "Vastaanottaja";
***************
*** 725,729 ****
$lang['Search_for_any'] = "Hae millä tahansa ehdolla tai käytä annettua hakujonoa";
! $lang['Search_for_all'] = "Etsi kaikilla ehdoilla";
$lang['Return_first'] = "Näytä ensimmäiset"; // followed by xxx characters in a select box
--- 728,734 ----
$lang['Search_for_any'] = "Hae millä tahansa ehdolla tai käytä annettua hakujonoa";
! $lang['Search_for_all'] = "Etsi kaikilla annetuilla ehdoilla";
! $lang['Search_title_msg'] = "Etsi viestin aiheesta ja tekstistä";
! $lang['Search_msg_only'] = "Etsi vain viestin tekstistä";
$lang['Return_first'] = "Näytä ensimmäiset"; // followed by xxx characters in a select box
***************
*** 810,814 ****
//
$lang['Mod_CP'] = "Moderaattorin ohjauspaneeli";
! $lang['Mod_CP_explain'] = "Käyttämällä alla olevaa lomaketta voit suorittaa useita moderointitoimia tässä foorumissa. Voit lukita, vapautta, siirtää tai poistaa mitä tahansa aiheita.";
$lang['Select'] = "Valitse";
--- 815,819 ----
//
$lang['Mod_CP'] = "Moderaattorin ohjauspaneeli";
! $lang['Mod_CP_explain'] = "Käyttämällä alla olevaa lomaketta voit suorittaa useita moderointitoimia tässä foorumissa. Voit lukita, vapauttaa, siirtää tai poistaa mitä tahansa aiheita.";
$lang['Select'] = "Valitse";
|
|
From: Paul S. O. <ps...@us...> - 2002-01-13 21:44:26
|
Update of /cvsroot/phpbb/phpBB2/language/lang_finnish/email
In directory usw-pr-cvs1:/tmp/cvs-serv29817/language/lang_finnish/email
Modified Files:
privmsg_notify.tpl
Log Message:
Updates related to changes in lang_english + other alterations
Index: privmsg_notify.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_finnish/email/privmsg_notify.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** privmsg_notify.tpl 2001/12/26 23:52:58 1.1
--- privmsg_notify.tpl 2002/01/13 21:44:22 1.2
***************
*** 5,9 ****
{U_INBOX}
! Muista, että voi milloin tahansa valita, ettei sinulle ilmoiteta uusista viesteistä muuttamalla vastaavaa asetusta käyttäjätiedoissasi.
{EMAIL_SIG}
--- 5,9 ----
{U_INBOX}
! Muista, että voit milloin tahansa valita, ettei sinulle ilmoiteta uusista viesteistä muuttamalla vastaavaa asetusta käyttäjätiedoissasi.
{EMAIL_SIG}
|
|
From: Paul S. O. <ps...@us...> - 2002-01-13 19:04:30
|
Update of /cvsroot/phpbb/phpBB2/language/lang_polish In directory usw-pr-cvs1:/tmp/cvs-serv28113/language/lang_polish Modified Files: lang_admin.php lang_main.php Log Message: Updates for lang_english changes + other updates Index: lang_admin.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/language/lang_polish/lang_admin.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** lang_admin.php 2002/01/01 14:11:08 1.1 --- lang_admin.php 2002/01/13 19:04:27 1.2 *************** *** 153,157 **** $lang['Hidden'] = "Ukryte"; ! $lang['View'] = "Przegl±danie"; $lang['Read'] = "Czytanie"; $lang['Post'] = "Pisanie"; --- 153,157 ---- $lang['Hidden'] = "Ukryte"; ! $lang['View'] = "Widoczny"; $lang['Read'] = "Czytanie"; $lang['Post'] = "Pisanie"; Index: lang_main.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/language/lang_polish/lang_main.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** lang_main.php 2002/01/03 14:59:39 1.2 --- lang_main.php 2002/01/13 19:04:27 1.3 *************** *** 130,133 **** --- 130,136 ---- $lang['Guest_user_total'] = "%d Go¶æ"; + $lang['Admin_online_color'] = "%sAdministrator%s"; + $lang['Mod_online_color'] = "%sModerator%s"; + $lang['You_last_visit'] = "Ostatnio odwiedzi³e¶ nas %s"; // %s replaced by date/time $lang['Current_time'] = "Obecny czas to %s"; // %s replaced by time *************** *** 348,352 **** $lang['Smilies_are_OFF'] = "U¶mieszki: <u>NIE</u>"; ! $lang['Attach_signature'] = "Dodaj podpis (mo¿e byæ zmienionu w profilu)"; $lang['Notify'] = "Powiadom mnie gdy kto¶ odpowie"; $lang['Delete_post'] = "Usuñ ten post"; --- 351,355 ---- $lang['Smilies_are_OFF'] = "U¶mieszki: <u>NIE</u>"; ! $lang['Attach_signature'] = "Dodaj podpis (mo¿e byæ zmieniony w profilu)"; $lang['Notify'] = "Powiadom mnie gdy kto¶ odpowie"; $lang['Delete_post'] = "Usuñ ten post"; *************** *** 544,548 **** $lang['Avatar'] = "Emblemat"; ! $lang['Avatar_explain'] = "Wy¶wietla ma³y obrazek pod informacjami o Tobie przy ka¿dym po¶cie. Tylko jeden obrazek mo¿e byæ wy¶wietlany, jego szeroko¶æ nie mo¿e byæ wiêksza ni¿ %d pikseli, wysoko¶æ nie wiêksza ni¿ %d pikseli, a rozmiar nie wiêkszy ni¿ %dkB."; $lang['Upload_Avatar_URL'] = "Wy¶lij Emblemat z adresu"; $lang['Upload_Avatar_URL_explain'] = "Wpisz adres, pod którym zlokalizowany jest Twój Emblemat, zostanie on skopiowany na tê stronê."; --- 547,551 ---- $lang['Avatar'] = "Emblemat"; ! $lang['Avatar_explain'] = "Wy¶wietla ma³y obrazek pod informacjami o Tobie przy ka¿dym po¶cie. Tylko jeden obrazek mo¿e byæ wy¶wietlany, jego szeroko¶æ nie mo¿e byæ wiêksza ni¿ %d pikseli, wysoko¶æ wiêksza ni¿ %d pikseli, a rozmiar wiêkszy ni¿ %dkB."; $lang['Upload_Avatar_URL'] = "Wy¶lij Emblemat z adresu"; $lang['Upload_Avatar_URL_explain'] = "Wpisz adres, pod którym zlokalizowany jest Twój Emblemat, zostanie on skopiowany na tê stronê."; *************** *** 591,595 **** $lang['Registration'] = "Warunki Rejestracji"; ! $lang['Reg_agreement'] = "Administratorzy i moderatorzy podejm± starania maj±ce na celu usuwanie wszelkich uznawanych za obra¼liwe materia³ów jak najszybciej, jednak¿e nie jest mo¿liwe przeczytanie ka¿dej wiadomo¶ci. Zgadzasz siê wiêc, ¿e zawarto¶æ ka¿dego postu na tym forum wyra¿a pogl±dy i opinie jego autora a nie administratorów, moderatorów czy webmasterów (poza wiadomo¶ciami pisanymi przez nich) i nie ponosz± oni za te tre¶ci odpowiedzialno¶ci.<br /><br />Zgadzasz siê nie pisaæ ¿adnych obra¼liwych, obscenicznych, wulgarnych, oszczerczych, nienawistnych, zawieraj±cych gro¼by i innych materia³ów, które mog± byæ sprzeczne z prawem. Z³amanie tej zasady mo¿e byæ przyczyn± natychmiastowego i trwa³ego usuniêcia z listy u¿ytkowników (wraz z powiadomieniem odpowiednich w³adz). Aby wspomóc te dzia³ania rejestrowane s± adresy IP autorów. Przyjmujesz do wiadomo¶ci, ¿e webmaster, administrator i moderatorzy tego forum maj± prawdo do usuwania, zmiany lub zamykania ka¿dego w±tku w ka¿dej chwili je¶li zajdzie taka potrzeba. Jako u¿ytkownik zgadzasz siê, ¿e wszystkie informacje, które wpiszesz bêd± przechowywane w bazie danych. Informacje te nie bêd± podawane bez twojej zgody ¿adnym osobom ani podmiotom trzecim, jednak¿e webmaster, administrator i moderatorzy nie bêd± obarczeni odpowiedzialno¶ci± za w³amania hackerskie prowadz±ce do pozyskania tych danych.<br /><br />Skrypt tego forum wykorzystuje cookies do przechowywania informacji na twoim komputerze. Te cookies nie zawieraj± ¿adnych informacji, które poda³e¶ i s³u¿± jedynie u³atwieniu korzystania z forum. Adres email jest wykorzystywany jedynie dla potwierdzenia podanych informacji oraz has³a (i dla przes³ania nowego has³a, gdyby¶ zapomnia³ stare).<br /><br />Klikaj±c odno¶nik Rejestracja na dole zgadzasz siê na te warunki."; $lang['Agree_under_13'] = "Zgadzam Siê na te warunki i mam <b>poni¿ej</b> 13 lat"; --- 594,598 ---- $lang['Registration'] = "Warunki Rejestracji"; ! $lang['Reg_agreement'] = "Administratorzy i moderatorzy podejm± starania maj±ce na celu usuwanie wszelkich uznawanych za obra¼liwe materia³ów jak najszybciej, jednak¿e nie jest mo¿liwe przeczytanie ka¿dej wiadomo¶ci. Zgadzasz siê wiêc, ¿e zawarto¶æ ka¿dego postu na tym forum wyra¿a pogl±dy i opinie jego autora a nie administratorów, moderatorów czy webmasterów (poza wiadomo¶ciami pisanymi przez nich) i nie ponosz± oni za te tre¶ci odpowiedzialno¶ci.<br /><br />Zgadzasz siê nie pisaæ ¿adnych obra¼liwych, obscenicznych, wulgarnych, oszczerczych, nienawistnych, zawieraj±cych gro¼by i innych materia³ów, które mog± byæ sprzeczne z prawem. Z³amanie tej zasady mo¿e byæ przyczyn± natychmiastowego i trwa³ego usuniêcia z listy u¿ytkowników (wraz z powiadomieniem odpowiednich w³adz). Aby wspomóc te dzia³ania rejestrowane s± adresy IP autorów. Przyjmujesz do wiadomo¶ci, ¿e webmaster, administrator i moderatorzy tego forum maj± prawo do do usuwania, zmiany lub zamykania ka¿dego w±tku w ka¿dej chwili je¶li zajdzie taka potrzeba. Jako u¿ytkownik zgadzasz siê, ¿e wszystkie informacje, które wpiszesz bêd± przechowywane w bazie danych. Informacje te nie bêd± podawane bez twojej zgody ¿adnym osobom ani podmiotom trzecim, jednak¿e webmaster, administrator i moderatorzy nie bêd± obarczeni odpowiedzialno¶ci± za w³amania hackerskie prowadz±ce do pozyskania tych danych.<br /><br />Skrypt tego forum wykorzystuje cookies do przechowywania informacji na twoim komputerze. Te cookies nie zawieraj± ¿adnych informacji, które poda³e¶ i s³u¿± jedynie u³atwieniu korzystania z forum. Adres email jest wykorzystywany jedynie dla potwierdzenia podanych informacji oraz has³a (i dla przes³ania nowego has³a, gdyby¶ zapomnia³ stare).<br /><br />Klikaj±c odno¶nik Rejestracja na dole zgadzasz siê na te warunki."; $lang['Agree_under_13'] = "Zgadzam Siê na te warunki i mam <b>poni¿ej</b> 13 lat"; *************** *** 716,719 **** --- 719,724 ---- $lang['Search_for_any'] = "Szukaj któregokolwiek s³owa lub wyra¿enia jak je wpisano"; $lang['Search_for_all'] = "Szukaj wszystkich s³ów"; + $lang['Search_title_msg'] = "Przeszukaj tytu³ i tekst wiadomo¶ci"; + $lang['Search_msg_only'] = "Przeszukaj tylko tekst wiadomo¶ci"; $lang['Return_first'] = "Poka¿ pierwsze"; // followed by xxx characters in a select box *************** *** 791,795 **** $lang['Viewing_profile'] = "Ogl±da profil"; $lang['Viewing_online'] = "Przegl±da listê obecnych na forum"; ! $lang['Viewing_member_list'] = "Ogl±da listê cz³onków"; $lang['Viewing_priv_msgs'] = "Ogl±da Prywatne Wiadomo¶ci"; $lang['Viewing_FAQ'] = "Ogl±da FAQ"; --- 796,800 ---- $lang['Viewing_profile'] = "Ogl±da profil"; $lang['Viewing_online'] = "Przegl±da listê obecnych na forum"; ! $lang['Viewing_member_list'] = "Ogl±da listê u¿ytkowników"; $lang['Viewing_priv_msgs'] = "Ogl±da Prywatne Wiadomo¶ci"; $lang['Viewing_FAQ'] = "Ogl±da FAQ"; |
|
From: Bart v. B. <ba...@us...> - 2002-01-13 16:47:28
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver/images In directory usw-pr-cvs1:/tmp/cvs-serv31014 Modified Files: icon_edit_dutch.gif Log Message: Fixed transparency for Dutch edit button Index: icon_edit_dutch.gif =================================================================== RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/images/icon_edit_dutch.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvsnqW44A and /tmp/cvsAmuv11 differ |
|
From: Paul S. O. <ps...@us...> - 2002-01-13 15:57:25
|
Update of /cvsroot/phpbb/phpBB2/templates/Euclid
In directory usw-pr-cvs1:/tmp/cvs-serv21699/templates/Euclid
Modified Files:
index_body.tpl
Log Message:
Updated for whos online colour coding change
Index: index_body.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/Euclid/index_body.tpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** index_body.tpl 2001/12/10 01:18:09 1.2
--- index_body.tpl 2002/01/13 15:57:21 1.3
***************
*** 47,51 ****
<tr>
<td class="row1" width="7%" align="center" valign="middle"><img src="templates/Euclid/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
! <td class="row2" colspan="4" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}</span><br /><span class="gensmall">{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table></td>
--- 47,51 ----
<tr>
<td class="row1" width="7%" align="center" valign="middle"><img src="templates/Euclid/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
! <td class="row2" colspan="4" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]</span><br /><span class="gensmall">{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table></td>
|
|
From: Paul S. O. <ps...@us...> - 2002-01-13 15:42:47
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver
In directory usw-pr-cvs1:/tmp/cvs-serv18520/templates/subSilver
Modified Files:
index_body.tpl
Log Message:
Changes to introduce [ and ] around colour coding ... moved from language files
Index: index_body.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/index_body.tpl,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** index_body.tpl 2002/01/13 15:30:41 1.17
--- index_body.tpl 2002/01/13 15:42:44 1.18
***************
*** 57,61 ****
</tr>
<tr>
! <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} {L_WHOSONLINE_ADMIN} {L_WHOSONLINE_MOD}<br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table>
--- 57,61 ----
</tr>
<tr>
! <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table>
|
|
From: Paul S. O. <ps...@us...> - 2002-01-13 15:39:39
|
Update of /cvsroot/phpbb/phpBB2/language/lang_english In directory usw-pr-cvs1:/tmp/cvs-serv17822/language/lang_english Modified Files: lang_main.php Log Message: Minor update to remove [ and ] from around the online_color entries ... Index: lang_main.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/language/lang_english/lang_main.php,v retrieving revision 1.76 retrieving revision 1.77 diff -C2 -r1.76 -r1.77 *** lang_main.php 2002/01/13 15:23:55 1.76 --- lang_main.php 2002/01/13 15:39:36 1.77 *************** *** 134,139 **** $lang['Guest_user_total'] = "%d Guest"; ! $lang['Admin_online_color'] = "[ %sAdministrator%s ]"; ! $lang['Mod_online_color'] = "[ %sModerator%s ]"; $lang['You_last_visit'] = "You last visited on %s"; // %s replaced by date/time --- 134,139 ---- $lang['Guest_user_total'] = "%d Guest"; ! $lang['Admin_online_color'] = "%sAdministrator%s"; ! $lang['Mod_online_color'] = "%sModerator%s"; $lang['You_last_visit'] = "You last visited on %s"; // %s replaced by date/time |
|
From: Paul S. O. <ps...@us...> - 2002-01-13 15:36:02
|
Update of /cvsroot/phpbb/phpBB2/includes In directory usw-pr-cvs1:/tmp/cvs-serv17177/includes Modified Files: page_header.php Log Message: yoik, that could've been an interesting security hole ... Index: page_header.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/includes/page_header.php,v retrieving revision 1.87 retrieving revision 1.88 diff -C2 -r1.87 -r1.88 *** page_header.php 2002/01/13 15:29:14 1.87 --- page_header.php 2002/01/13 15:35:59 1.88 *************** *** 102,107 **** AND ( s.session_time >= ".( time() - 300 ) . " OR u.user_session_time >= " . ( time() - 300 ) . " ) - $user_forum_sql ORDER BY u.username ASC"; $result = $db->sql_query($sql); if(!$result) --- 102,107 ---- AND ( s.session_time >= ".( time() - 300 ) . " OR u.user_session_time >= " . ( time() - 300 ) . " ) ORDER BY u.username ASC"; + //$user_forum_sql $result = $db->sql_query($sql); if(!$result) |
|
From: Paul S. O. <ps...@us...> - 2002-01-13 15:30:45
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver
In directory usw-pr-cvs1:/tmp/cvs-serv16266/templates/subSilver
Modified Files:
index_body.tpl
Log Message:
Output admin/mod highlighting text
Index: index_body.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/index_body.tpl,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** index_body.tpl 2002/01/10 18:08:48 1.16
--- index_body.tpl 2002/01/13 15:30:41 1.17
***************
*** 57,61 ****
</tr>
<tr>
! <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table>
--- 57,61 ----
</tr>
<tr>
! <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} {L_WHOSONLINE_ADMIN} {L_WHOSONLINE_MOD}<br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table>
|
|
From: Paul S. O. <ps...@us...> - 2002-01-13 15:30:07
|
Update of /cvsroot/phpbb/phpBB2/includes In directory usw-pr-cvs1:/tmp/cvs-serv16153/includes Modified Files: constants.php Log Message: Add MOD user_level ... not terribly 'clean' with the permissions setup but allows simple implementation of 'global' mod needs Index: constants.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/includes/constants.php,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -r1.41 -r1.42 *** constants.php 2001/12/24 13:03:27 1.41 --- constants.php 2002/01/13 15:30:03 1.42 *************** *** 29,34 **** --- 29,36 ---- define(DELETED, -1); define(ANONYMOUS, -1); + define(USER, 0); define(ADMIN, 1); + define(MOD, 2); |
|
From: Paul S. O. <ps...@us...> - 2002-01-13 15:29:17
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv15995/includes
Modified Files:
page_header.php
Log Message:
Highlight admin/mods update to whos online
Index: page_header.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/page_header.php,v
retrieving revision 1.86
retrieving revision 1.87
diff -C2 -r1.86 -r1.87
*** page_header.php 2002/01/12 01:03:01 1.86
--- page_header.php 2002/01/13 15:29:14 1.87
***************
*** 90,93 ****
--- 90,100 ----
// situation
//
+ /*
+ if( !empty($forum_id) )
+ {
+ $user_forum_sql = "AND ( u.user_session_page = $forum_id
+ OR s.session_page = $forum_id)";
+ }
+ */
$sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip
FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s
***************
*** 95,98 ****
--- 102,106 ----
AND ( s.session_time >= ".( time() - 300 ) . "
OR u.user_session_time >= " . ( time() - 300 ) . " )
+ $user_forum_sql
ORDER BY u.username ASC";
$result = $db->sql_query($sql);
***************
*** 117,133 ****
if( $row['user_id'] != $prev_user_id )
{
if( $row['user_level'] == ADMIN )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
}
if( $row['user_allow_viewonline'] )
{
! $user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '">' . $row['username'] . '</a>';
$logged_visible_online++;
}
else
{
! $user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"><i>' . $row['username'] . '</i></a>';
$logged_hidden_online++;
}
--- 125,148 ----
if( $row['user_id'] != $prev_user_id )
{
+ $style_color = "";
if( $row['user_level'] == ADMIN )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
+ $style_color = 'style="color:' . $theme['fontcolor3'] . '"';
+ }
+ else if( $row['user_level'] == MOD )
+ {
+ $row['username'] = '<b>' . $row['username'] . '</b>';
+ $style_color = 'style="color:' . $theme['fontcolor2'] . '"';
}
if( $row['user_allow_viewonline'] )
{
! $user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
$logged_visible_online++;
}
else
{
! $user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>';
$logged_hidden_online++;
}
***************
*** 341,345 ****
"L_SEARCH_NEW" => $lang['Search_new'],
"L_SEARCH_UNANSWERED" => $lang['Search_unanswered'],
! "L_SEARCH_SELF" => $lang['Search_your_posts'],
"U_SEARCH_UNANSWERED" => append_sid("search.".$phpEx."?search_id=unanswered"),
--- 356,362 ----
"L_SEARCH_NEW" => $lang['Search_new'],
"L_SEARCH_UNANSWERED" => $lang['Search_unanswered'],
! "L_SEARCH_SELF" => $lang['Search_your_posts'],
! "L_WHOSONLINE_ADMIN" => sprintf($lang['Admin_online_color'], '<span style="color:' . $theme['fontcolor3'] . '">', '</span>'),
! "L_WHOSONLINE_MOD" => sprintf($lang['Mod_online_color'], '<span style="color:' . $theme['fontcolor2'] . '">', '</span>'),
"U_SEARCH_UNANSWERED" => append_sid("search.".$phpEx."?search_id=unanswered"),
|
|
From: Paul S. O. <ps...@us...> - 2002-01-13 15:23:57
|
Update of /cvsroot/phpbb/phpBB2/language/lang_english In directory usw-pr-cvs1:/tmp/cvs-serv14892/language/lang_english Modified Files: lang_main.php Log Message: Four new lines; 136, 137, 725, 726 ... translators watching this please update your lang_main's, thanks Index: lang_main.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/language/lang_english/lang_main.php,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -r1.75 -r1.76 *** lang_main.php 2002/01/03 22:53:04 1.75 --- lang_main.php 2002/01/13 15:23:55 1.76 *************** *** 134,137 **** --- 134,140 ---- $lang['Guest_user_total'] = "%d Guest"; + $lang['Admin_online_color'] = "[ %sAdministrator%s ]"; + $lang['Mod_online_color'] = "[ %sModerator%s ]"; + $lang['You_last_visit'] = "You last visited on %s"; // %s replaced by date/time $lang['Current_time'] = "The time now is %s"; // %s replaced by time *************** *** 720,723 **** --- 723,728 ---- $lang['Search_for_any'] = "Search for any terms or use query as entered"; $lang['Search_for_all'] = "Search for all terms"; + $lang['Search_title_msg'] = "Search topic title and message text"; + $lang['Search_msg_only'] = "Search message text only"; $lang['Return_first'] = "Return first"; // followed by xxx characters in a select box |
|
From: Bart v. B. <ba...@us...> - 2002-01-12 22:58:26
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver
In directory usw-pr-cvs1:/tmp/cvs-serv16236
Modified Files:
bbcode.tpl posting_body.tpl
Log Message:
Fixed [size] BBcode (#502806)
Index: bbcode.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/bbcode.tpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** bbcode.tpl 2001/10/24 22:52:24 1.6
--- bbcode.tpl 2002/01/12 22:58:22 1.7
***************
*** 90,94 ****
<!-- BEGIN size_open -->
! <span style="font-size: {SIZE}; line-height: normal">
<!-- END size_open -->
<!-- BEGIN size_close -->
--- 90,94 ----
<!-- BEGIN size_open -->
! <span style="font-size: {SIZE}px; line-height: normal">
<!-- END size_open -->
<!-- BEGIN size_close -->
Index: posting_body.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/posting_body.tpl,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** posting_body.tpl 2002/01/12 19:30:29 1.21
--- posting_body.tpl 2002/01/12 22:58:22 1.22
***************
*** 352,360 ****
<option style="color:black; background-color: #DEE3E7" value="black" class="genmed">{L_COLOR_BLACK}</option>
</select> {L_FONT_SIZE}:<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
! <option value="7px" class="genmed">{L_FONT_TINY}</option>
! <option value="9px" class="genmed">{L_FONT_SMALL}</option>
! <option value="12px" selected class="genmed">{L_FONT_NORMAL}</option>
! <option value="18px" class="genmed">{L_FONT_LARGE}</option>
! <option value="24px" class="genmed">{L_FONT_HUGE}</option>
</select>
</span></td>
--- 352,360 ----
<option style="color:black; background-color: #DEE3E7" value="black" class="genmed">{L_COLOR_BLACK}</option>
</select> {L_FONT_SIZE}:<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
! <option value="7" class="genmed">{L_FONT_TINY}</option>
! <option value="9" class="genmed">{L_FONT_SMALL}</option>
! <option value="12" selected class="genmed">{L_FONT_NORMAL}</option>
! <option value="18" class="genmed">{L_FONT_LARGE}</option>
! <option value="24" class="genmed">{L_FONT_HUGE}</option>
</select>
</span></td>
|
|
From: Bart v. B. <ba...@us...> - 2002-01-12 19:30:33
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver
In directory usw-pr-cvs1:/tmp/cvs-serv5952
Modified Files:
posting_body.tpl
Log Message:
Enabled ALT-S for sending message on posting pages
Index: posting_body.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/posting_body.tpl,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** posting_body.tpl 2002/01/11 10:16:49 1.20
--- posting_body.tpl 2002/01/12 19:30:29 1.21
***************
*** 449,453 ****
<input type="submit" tabindex="5" name="preview" class="mainoption" value="{L_PREVIEW}" />
! <input type="submit" tabindex="6" name="submit" class="mainoption" value="{L_SUBMIT}" />
</td>
</tr>
--- 449,453 ----
<input type="submit" tabindex="5" name="preview" class="mainoption" value="{L_PREVIEW}" />
! <input type="submit" accesskey="s" tabindex="6" name="submit" class="mainoption" value="{L_SUBMIT}" />
</td>
</tr>
|
|
From: Paul S. O. <ps...@us...> - 2002-01-12 17:03:14
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver
In directory usw-pr-cvs1:/tmp/cvs-serv5948/templates/subSilver
Modified Files:
search_results_posts.tpl
Log Message:
Changes related to tracking updates
Index: search_results_posts.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/search_results_posts.tpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** search_results_posts.tpl 2001/12/29 16:35:02 1.6
--- search_results_posts.tpl 2002/01/12 17:03:11 1.7
***************
*** 27,31 ****
{L_VIEWS}: <b>{searchresults.TOPIC_VIEWS}</b></span><br />
</td>
! <td valign="top" class="row1"> <img src="templates/subSilver/images/icon_minipost.gif" alt="Post image icon"><span class="postdetails">{L_FORUM}: <b><a href="{searchresults.U_FORUM}" class="postdetails">{searchresults.FORUM_NAME}</a></b> {L_POSTED}:
{searchresults.POST_DATE} Subject: <b><a href="{searchresults.U_POST}">{searchresults.POST_SUBJECT}</a></b></span></td>
</tr>
--- 27,31 ----
{L_VIEWS}: <b>{searchresults.TOPIC_VIEWS}</b></span><br />
</td>
! <td valign="top" class="row1">{searchresults.MINI_POST_IMG}<span class="postdetails">{L_FORUM}: <b><a href="{searchresults.U_FORUM}" class="postdetails">{searchresults.FORUM_NAME}</a></b> {L_POSTED}:
{searchresults.POST_DATE} Subject: <b><a href="{searchresults.U_POST}">{searchresults.POST_SUBJECT}</a></b></span></td>
</tr>
|
|
From: Paul S. O. <ps...@us...> - 2002-01-12 17:00:36
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv5414
Modified Files:
index.php posting.php search.php viewforum.php viewtopic.php
Log Message:
Changes to topic/forum tracking ... tested for several days on test board and all seems fine, give feedback in forums
Index: index.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/index.php,v
retrieving revision 1.89
retrieving revision 1.90
diff -C2 -r1.89 -r1.90
*** index.php 2001/12/28 22:24:09 1.89
--- index.php 2002/01/12 17:00:31 1.90
***************
*** 28,32 ****
// Start session management
//
! $userdata = session_pagestart($user_ip, PAGE_INDEX, $session_length);
init_userprefs($userdata);
//
--- 28,32 ----
// Start session management
//
! $userdata = session_pagestart($user_ip, PAGE_INDEX, $board_config['session_length']);
init_userprefs($userdata);
//
***************
*** 85,88 ****
--- 85,93 ----
//
+
+ $tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) : "";
+ $tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) : "";
+
+
//
// If you don't use these stats on your index
***************
*** 227,233 ****
FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g, " . USERS_TABLE . " u
WHERE aa.auth_mod = " . TRUE . "
! AND ug.group_id = aa.group_id
! AND g.group_id = aa.group_id
! AND u.user_id = ug.user_id
ORDER BY aa.forum_id, g.group_id, u.user_id";
if(!$q_forum_mods = $db->sql_query($sql))
--- 232,238 ----
FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g, " . USERS_TABLE . " u
WHERE aa.auth_mod = " . TRUE . "
! AND ug.group_id = aa.group_id
! AND g.group_id = aa.group_id
! AND u.user_id = ug.user_id
ORDER BY aa.forum_id, g.group_id, u.user_id";
if(!$q_forum_mods = $db->sql_query($sql))
***************
*** 323,327 ****
while( list($check_topic_id, $check_post_time) = @each($new_topic_data[$forum_id]) )
{
! if( !isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$check_topic_id"]) )
{
$unread_topics = true;
--- 328,332 ----
while( list($check_topic_id, $check_post_time) = @each($new_topic_data[$forum_id]) )
{
! if( empty($tracking_topics['' . $check_topic_id . '']) )
{
$unread_topics = true;
***************
*** 331,335 ****
else
{
! if( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$check_topic_id"] < $check_post_time )
{
$unread_topics = true;
--- 336,340 ----
else
{
! if( $tracking_topics['' . $check_topic_id . ''] < $check_post_time )
{
$unread_topics = true;
***************
*** 339,345 ****
}
! if( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_$forum_id"]) )
{
! if( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_$forum_id"] > $forum_last_post_time )
{
$unread_topics = false;
--- 344,350 ----
}
! if( !empty($tracking_forums['' . $forum_id . '']) )
{
! if( $tracking_forums['' . $forum_id . ''] > $forum_last_post_time )
{
$unread_topics = false;
***************
*** 474,476 ****
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
--- 479,481 ----
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
\ No newline at end of file
Index: posting.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/posting.php,v
retrieving revision 1.136
retrieving revision 1.137
diff -C2 -r1.136 -r1.137
*** posting.php 2002/01/07 18:50:30 1.136
--- posting.php 2002/01/12 17:00:32 1.137
***************
*** 35,39 ****
{
global $db, $board_config, $template, $lang, $images, $theme, $phpEx;
! global $userdata, $session_length, $user_ip;
global $orig_word, $replacement_word;
global $starttime;
--- 35,39 ----
{
global $db, $board_config, $template, $lang, $images, $theme, $phpEx;
! global $userdata, $user_ip;
global $orig_word, $replacement_word;
global $starttime;
***************
*** 69,73 ****
// Start session management
//
! $userdata = session_pagestart($user_ip, $forum_id, $session_length);
init_userprefs($userdata);
//
--- 69,73 ----
// Start session management
//
! $userdata = session_pagestart($user_ip, $forum_id, $board_config['session_length']);
init_userprefs($userdata);
//
***************
*** 217,225 ****
}
}
-
//
// End page specific functions
// ---------------------------
// -------------------------------------------
// Do some initial checks, set basic variables,
--- 217,228 ----
}
}
//
// End page specific functions
// ---------------------------
+
+
+
+
// -------------------------------------------
// Do some initial checks, set basic variables,
***************
*** 314,326 ****
//
- //
- // Start session management
- //
- $userdata = session_pagestart($user_ip, PAGE_POSTING, $session_length);
- init_userprefs($userdata);
- //
- // End session management
- //
//
// If the mode is set to topic review then output
--- 317,324 ----
//
+
+
+
//
// If the mode is set to topic review then output
***************
*** 338,342 ****
--- 336,354 ----
}
+
+
+
+ //
+ // Start session management
//
+ $userdata = session_pagestart($user_ip, PAGE_POSTING, $board_config['session_length']);
+ init_userprefs($userdata);
+ //
+ // End session management
+ //
+
+
+
+ //
// Set toggles for various options
//
***************
*** 370,373 ****
--- 382,392 ----
$attach_sig = ( $submit || $refresh ) ? ( ( !empty($HTTP_POST_VARS['attach_sig']) ) ? TRUE : 0 ) : ( ( $userdata['user_id'] == ANONYMOUS ) ? 0 : $userdata['user_attachsig'] );
+
+
+
+
+
+
+
//
// Here we do various lookups to find topic_id, forum_id, post_id etc.
***************
*** 829,832 ****
--- 848,852 ----
//
$where_sql = ( $userdata['user_id'] == ANONYMOUS ) ? "poster_ip = '$user_ip'" : "poster_id = " . $userdata['user_id'];
+
$sql = "SELECT MAX(post_time) AS last_post_time
FROM " . POSTS_TABLE . "
***************
*** 836,844 ****
$db_row = $db->sql_fetchrow($result);
! $last_post_time = $db_row['last_post_time'];
!
! if( ($current_time - $last_post_time) < $board_config['flood_interval'] )
{
! message_die(GENERAL_MESSAGE, $lang['Flood_Error']);
}
}
--- 856,865 ----
$db_row = $db->sql_fetchrow($result);
! if( $last_post_time = $db_row['last_post_time'] )
{
! if( ($current_time - $last_post_time) < $board_config['flood_interval'] )
! {
! message_die(GENERAL_MESSAGE, $lang['Flood_Error']);
! }
}
}
***************
*** 851,864 ****
$sql = "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote)
VALUES ('" . str_replace("\'", "''", $post_subject) . "', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)";
!
! if( $result = $db->sql_query($sql, BEGIN_TRANSACTION) )
! {
! $new_topic_id = $db->sql_nextid();
! }
! else
{
message_die(GENERAL_ERROR, "Error inserting data into topics table", "", __LINE__, __FILE__, $sql);
}
//
// Handle poll ...
--- 872,883 ----
$sql = "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote)
VALUES ('" . str_replace("\'", "''", $post_subject) . "', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)";
! $result = $db->sql_query($sql, BEGIN_TRANSACTION);
! if( !$result )
{
message_die(GENERAL_ERROR, "Error inserting data into topics table", "", __LINE__, __FILE__, $sql);
}
+ $new_topic_id = $db->sql_nextid();
+
//
// Handle poll ...
***************
*** 952,956 ****
if( $db->sql_query($sql, END_TRANSACTION))
{
! add_search_words($new_post_id, stripslashes($post_message));
//
--- 971,975 ----
if( $db->sql_query($sql, END_TRANSACTION))
{
! add_search_words($new_post_id, stripslashes($post_message), stripslashes($post_subject));
//
***************
*** 1089,1092 ****
--- 1108,1123 ----
}
+ $tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) : array();
+
+ if( count($tracking_topics) == 150 && empty($tracking_topics['' . $new_topic_id . '']) )
+ {
+ asort($tracking_topics);
+ unset($tracking_topics[key($tracking_topics)]);
+ }
+
+ $tracking_topics['' . $new_topic_id . ''] = time();
+
+ setcookie($board_config['cookie_name'] . "_t", serialize($tracking_topics), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
+
//
// If we get here the post has been inserted successfully.
***************
*** 1557,1561 ****
if( $db->sql_query($sql) )
{
! add_search_words($post_id, stripslashes($post_message));
remove_unmatched_words();
--- 1588,1592 ----
if( $db->sql_query($sql) )
{
! add_search_words($post_id, stripslashes($post_message), stripslashes($post_subject));
remove_unmatched_words();
***************
*** 1681,1685 ****
else
{
! add_search_words($post_id, stripslashes($post_message));
remove_unmatched_words();
--- 1712,1716 ----
else
{
! add_search_words($post_id, stripslashes($post_message), stripslashes($post_subject));
remove_unmatched_words();
***************
*** 2141,2144 ****
--- 2172,2176 ----
"FORUM_NAME" => $forum_name,
"L_POST_A" => $page_title,
+ "L_POST_SUBJECT" => $lang['Post_subject'],
"U_VIEW_FORUM" => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"))
Index: search.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/search.php,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -r1.54 -r1.55
*** search.php 2002/01/03 11:06:22 1.54
--- search.php 2002/01/12 17:00:32 1.55
***************
*** 30,34 ****
// Start session management
//
! $userdata = session_pagestart($user_ip, PAGE_SEARCH, $session_length);
init_userprefs($userdata);
//
--- 30,34 ----
// Start session management
//
! $userdata = session_pagestart($user_ip, PAGE_SEARCH, $board_config['session_length']);
init_userprefs($userdata);
//
***************
*** 81,84 ****
--- 81,97 ----
}
+ if( isset($HTTP_POST_VARS['searchfields']) )
+ {
+ $search_msg_title = ( $HTTP_POST_VARS['searchfields'] == "all" ) ? 1 : 0;
+ }
+ else if( isset($HTTP_GET_VARS['searchfields']) )
+ {
+ $search_msg_title = ( $HTTP_GET_VARS['searchfields'] == "all" ) ? 1 : 0;
+ }
+ else
+ {
+ $search_msg_title = 0;
+ }
+
if( isset($HTTP_POST_VARS['charsreqd']) || isset($HTTP_GET_VARS['charsreqd']) )
{
***************
*** 219,223 ****
$sql = "SELECT user_id
! FROM ".USERS_TABLE."
WHERE username LIKE '" . str_replace("\'", "''", $query_author) . "'";
$result = $db->sql_query($sql);
--- 232,236 ----
$sql = "SELECT user_id
! FROM " . USERS_TABLE . "
WHERE username LIKE '" . str_replace("\'", "''", $query_author) . "'";
$result = $db->sql_query($sql);
***************
*** 337,340 ****
--- 350,355 ----
$split_search = split_words($cleaned_search);
+ $search_msg_only = ( !$search_msg_title ) ? "AND m.title_match = 0" : "";
+
$word_count = 0;
$word_match = array();
***************
*** 368,372 ****
FROM " . SEARCH_WORD_TABLE . " w, " . SEARCH_MATCH_TABLE . " m
WHERE w.word_text LIKE '$match_word'
! AND m.word_id = w.word_id";
$result = $db->sql_query($sql);
if( !$result )
--- 383,389 ----
FROM " . SEARCH_WORD_TABLE . " w, " . SEARCH_MATCH_TABLE . " m
WHERE w.word_text LIKE '$match_word'
! AND m.word_id = w.word_id
! AND w.word_common <> 1
! $search_msg_only";
$result = $db->sql_query($sql);
if( !$result )
***************
*** 587,590 ****
--- 604,612 ----
$sql .= " ORDER BY " . $sortby_sql[$sortby] . " $sortby_dir";
+ //
+ // Throw in a limit of 1500 posts/topics ...
+ //
+ $sql .= " LIMIT 1500";
+
if( !$result = $db->sql_query($sql) )
{
***************
*** 822,825 ****
--- 844,850 ----
$highlight_active = urlencode(trim($highlight_active));
+ $tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) : array();
+ $tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) : array();
+
for($i = 0; $i < min($per_page, count($searchset)); $i++)
{
***************
*** 834,837 ****
--- 859,865 ----
$topic_title = $searchset[$i]['topic_title'];
+ $forum_id = $searchset[$i]['forum_id'];
+ $topic_id = $searchset[$i]['topic_id'];
+
if( $showresults == "posts" )
{
***************
*** 921,924 ****
--- 949,977 ----
}
+ if( $userdata['session_logged_in'] && $searchset[$i]['post_time'] > $userdata['user_lastvisit'] )
+ {
+ if( !empty($tracking_topics['' . $topic_id . '']) && !empty($tracking_forums['' . $forum_id . '']) )
+ {
+ $topic_last_read = ( $tracking_topics['' . $topic_id . ''] > $tracking_forums['' . $forum_id . ''] ) ? $tracking_topics['' . $topic_id . ''] : $tracking_forums['' . $forum_id . ''];
+ }
+ else if( !empty($tracking_topics['' . $topic_id . '']) || !empty($tracking_forums['' . $forum_id . '']) )
+ {
+ $topic_last_read = ( !empty($tracking_topics['' . $topic_id . '']) ) ? $tracking_topics['' . $topic_id . ''] : $tracking_forums['' . $forum_id . ''];
+ }
+
+ if( $searchset[$i]['post_time'] > $topic_last_read )
+ {
+ $mini_post_img = '<img src="' . $images['icon_minipost_new'] . '" alt="' . $lang['New_post'] . '" title="' . $lang['New_post'] . '" border="0" />';
+ }
+ else
+ {
+ $mini_post_img = '<img src="' . $images['icon_minipost'] . '" alt="' . $lang['Post'] . '" title="' . $lang['Post'] . '" border="0" />';
+ }
+ }
+ else
+ {
+ $mini_post_img = '<img src="' . $images['icon_minipost'] . '" alt="' . $lang['Post'] . '" title="' . $lang['Post'] . '" border="0" />';
+ }
+
$template->assign_block_vars("searchresults", array(
"TOPIC_TITLE" => $topic_title,
***************
*** 931,934 ****
--- 984,989 ----
"MESSAGE" => $message,
+ "MINI_POST_IMG" => $mini_post_img,
+
"U_POST" => $post_url,
"U_TOPIC" => $topic_url,
***************
*** 966,972 ****
}
! $forum_id = $searchset[$i]['forum_id'];
! $topic_id = $searchset[$i]['topic_id'];
!
$replies = $searchset[$i]['topic_replies'];
--- 1021,1025 ----
}
! $views = $searchset[$i]['topic_views'];
$replies = $searchset[$i]['topic_replies'];
***************
*** 1045,1103 ****
}
! if( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$topic_id"]) ||
! isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_$forum_id"]) ||
! isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_all"]) )
{
!
! $unread_topics = true;
!
! if( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$topic_id"]) )
{
! if( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$topic_id"] > $topic_rowset[$i]['post_time'] )
{
- $unread_topics = false;
- }
- }
! if( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_$forum_id"]) )
! {
! if( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_$forum_id"] > $topic_rowset[$i]['post_time'] )
! {
! $unread_topics = false;
}
! }
! if( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_all"]) )
! {
! if( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_all"] > $topic_rowset[$i]['post_time'] )
{
! $unread_topics = false;
}
}
-
- if( $unread_topics )
- {
- $folder_image = "<img src=\"$folder_new\" alt=\"" . $lang['New_posts'] . "\" title=\"" . $lang['New_posts'] . "\" />";
-
- $newest_post_img = "<a href=\"viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest\"><img src=\"" . $images['icon_newest_reply'] . "\" alt=\"" . $lang['View_newest_post'] . "\" title=\"" . $lang['View_newest_post'] . "\" border=\"0\" /></a> ";
- }
else
{
! $folder_alt = ( $topic_rowset[$i]['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['No_new_posts'];
!
$folder_image = "<img src=\"$folder\" alt=\"$folder_alt\" title=\"$folder_alt\" border=\"0\" />";
$newest_post_img = "";
}
-
}
! else if( $topic_rowset[$i]['post_time'] > $userdata['user_lastvisit'] )
! {
! $folder_image = "<img src=\"$folder_new\" alt=\"" . $lang['New_posts'] . "\" title=\"" . $lang['New_posts'] . "\" />";
!
! $newest_post_img = "<a href=\"viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest\"><img src=\"" . $images['icon_newest_reply'] . "\" alt=\"" . $lang['View_newest_post'] . "\" title=\"" . $lang['View_newest_post'] . "\" border=\"0\" /></a> ";
! }
! else
{
! $folder_alt = ( $topic_rowset[$i]['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['No_new_posts'];
$folder_image = "<img src=\"$folder\" alt=\"$folder_alt\" title=\"$folder_alt\" border=\"0\" />";
$newest_post_img = "";
--- 1098,1172 ----
}
! if( $userdata['session_logged_in'] )
{
! if( $searchset[$i]['post_time'] > $userdata['user_lastvisit'] )
{
! if( !empty($tracking_topics) || !empty($tracking_forums) || isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_all"]) )
{
! $unread_topics = true;
!
! if( !empty($tracking_topics['' . $topic_id . '']) )
! {
! if( $tracking_topics['' . $topic_id . ''] > $searchset[$i]['post_time'] )
! {
! $unread_topics = false;
! }
! }
!
! if( !empty($tracking_forums['' . $forum_id . '']) )
! {
! if( $tracking_forums['' . $forum_id . ''] > $searchset[$i]['post_time'] )
! {
! $unread_topics = false;
! }
! }
!
! if( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_all"]) )
! {
! if( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_all"] > $searchset[$i]['post_time'] )
! {
! $unread_topics = false;
! }
! }
!
! if( $unread_topics )
! {
! $folder_image = "<img src=\"$folder_new\" alt=\"" . $lang['New_posts'] . "\" title=\"" . $lang['New_posts'] . "\" />";
!
! $newest_post_img = "<a href=\"viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest\"><img src=\"" . $images['icon_newest_reply'] . "\" alt=\"" . $lang['View_newest_post'] . "\" title=\"" . $lang['View_newest_post'] . "\" border=\"0\" /></a> ";
! }
! else
! {
! $folder_alt = ( $searchset[$i]['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['No_new_posts'];
!
! $folder_image = "<img src=\"$folder\" alt=\"$folder_alt\" title=\"$folder_alt\" border=\"0\" />";
! $newest_post_img = "";
! }
!
}
! else if( $searchset[$i]['post_time'] > $userdata['user_lastvisit'] )
! {
! $folder_image = "<img src=\"$folder_new\" alt=\"" . $lang['New_posts'] . "\" title=\"" . $lang['New_posts'] . "\" />";
! $newest_post_img = "<a href=\"viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest\"><img src=\"" . $images['icon_newest_reply'] . "\" alt=\"" . $lang['View_newest_post'] . "\" title=\"" . $lang['View_newest_post'] . "\" border=\"0\" /></a> ";
! }
! else
{
! $folder_alt = ( $searchset[$i]['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['No_new_posts'];
! $folder_image = "<img src=\"$folder\" alt=\"$folder_alt\" title=\"$folder_alt\" border=\"0\" />";
! $newest_post_img = "";
}
}
else
{
! $folder_alt = ( $searchset[$i]['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['No_new_posts'];
$folder_image = "<img src=\"$folder\" alt=\"$folder_alt\" title=\"$folder_alt\" border=\"0\" />";
$newest_post_img = "";
}
}
! else
{
! $folder_alt = ( $searchset[$i]['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['No_new_posts'];
$folder_image = "<img src=\"$folder\" alt=\"$folder_alt\" title=\"$folder_alt\" border=\"0\" />";
$newest_post_img = "";
***************
*** 1109,1126 ****
$last_post_time = create_date($board_config['default_dateformat'], $searchset[$i]['post_time'], $board_config['board_timezone']);
! if( $searchset[$i]['id2'] == ANONYMOUS && $searchset[$i]['post_username'] != '' )
! {
! $last_post_user = $searchset[$i]['post_username'];
! }
! else
! {
! $last_post_user = $searchset[$i]['user2'];
! }
$last_post = $last_post_time . "<br />" . $lang['by'] . " ";
$last_post .= "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $searchset[$i]['id2']) . "\">" . $last_post_user . "</a> ";
$last_post .= "<a href=\"" . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $searchset[$i]['topic_last_post_id']) . "#" . $searchset[$i]['topic_last_post_id'] . "\"><img src=\"" . $images['icon_latest_reply'] . "\" border=\"0\" alt=\"" . $lang['View_latest_post'] . "\" /></a>";
-
- $views = $searchset[$i]['topic_views'];
$template->assign_block_vars("searchresults", array(
--- 1178,1186 ----
$last_post_time = create_date($board_config['default_dateformat'], $searchset[$i]['post_time'], $board_config['board_timezone']);
! $last_post_user = ( $searchset[$i]['id2'] == ANONYMOUS && $searchset[$i]['post_username'] != '' ) ? $searchset[$i]['post_username'] : $searchset[$i]['user2'];
$last_post = $last_post_time . "<br />" . $lang['by'] . " ";
$last_post .= "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $searchset[$i]['id2']) . "\">" . $last_post_user . "</a> ";
$last_post .= "<a href=\"" . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $searchset[$i]['topic_last_post_id']) . "#" . $searchset[$i]['topic_last_post_id'] . "\"><img src=\"" . $images['icon_latest_reply'] . "\" border=\"0\" alt=\"" . $lang['View_latest_post'] . "\" /></a>";
$template->assign_block_vars("searchresults", array(
Index: viewforum.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/viewforum.php,v
retrieving revision 1.118
retrieving revision 1.119
diff -C2 -r1.118 -r1.119
*** viewforum.php 2002/01/02 19:55:45 1.118
--- viewforum.php 2002/01/12 17:00:32 1.119
***************
*** 87,91 ****
// Start session management
//
! $userdata = session_pagestart($user_ip, $forum_id, $session_length);
init_userprefs($userdata);
//
--- 87,91 ----
// Start session management
//
! $userdata = session_pagestart($user_ip, $forum_id, $board_config['session_length']);
init_userprefs($userdata);
//
***************
*** 131,137 ****
$row = $db->sql_fetchrow($result);
if( $row['last_post'] > $userdata['user_lastvisit'] )
{
! setcookie($board_config['cookie_name'] . "_f_$forum_id", time(), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
}
}
--- 131,147 ----
$row = $db->sql_fetchrow($result);
+ $tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) : array();
+
+ if( count($tracking_forums) == 150 && empty($tracking_forums['' . $forum_id . '']) )
+ {
+ asort($tracking_forums);
+ unset($tracking_forums[key($tracking_forums)]);
+ }
+
if( $row['last_post'] > $userdata['user_lastvisit'] )
{
! $tracking_forums['' . $forum_id . ''] = time();
!
! setcookie($board_config['cookie_name'] . "_f", serialize($tracking_forums), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
}
}
***************
*** 149,152 ****
--- 159,167 ----
//
+
+ $tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) : "";
+ $tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) : "";
+
+
//
// Do the forum Prune
***************
*** 523,536 ****
if( $topic_rowset[$i]['post_time'] > $userdata['user_lastvisit'] )
{
! if( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$topic_id"]) ||
! isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_$forum_id"]) ||
! isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_all"]) )
{
$unread_topics = true;
! if( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$topic_id"]) )
{
! if( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$topic_id"] > $topic_rowset[$i]['post_time'] )
{
$unread_topics = false;
--- 538,549 ----
if( $topic_rowset[$i]['post_time'] > $userdata['user_lastvisit'] )
{
! if( !empty($tracking_topics) || !empty($tracking_forums) || isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_all"]) )
{
$unread_topics = true;
! if( !empty($tracking_topics['' . $topic_id . '']) )
{
! if( $tracking_topics['' . $topic_id . ''] > $topic_rowset[$i]['post_time'] )
{
$unread_topics = false;
***************
*** 538,544 ****
}
! if( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_$forum_id"]) )
{
! if( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_$forum_id"] > $topic_rowset[$i]['post_time'] )
{
$unread_topics = false;
--- 551,557 ----
}
! if( !empty($tracking_forums['' . $forum_id . '']) )
{
! if( $tracking_forums['' . $forum_id . ''] > $topic_rowset[$i]['post_time'] )
{
$unread_topics = false;
Index: viewtopic.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/viewtopic.php,v
retrieving revision 1.162
retrieving revision 1.163
diff -C2 -r1.162 -r1.163
*** viewtopic.php 2002/01/09 23:35:41 1.162
--- viewtopic.php 2002/01/12 17:00:32 1.163
***************
*** 177,181 ****
// Start session management
//
! $userdata = session_pagestart($user_ip, $forum_id, $session_length);
init_userprefs($userdata);
//
--- 177,181 ----
// Start session management
//
! $userdata = session_pagestart($user_ip, $forum_id, $board_config['session_length']);
init_userprefs($userdata);
//
***************
*** 363,367 ****
for($i = 0; $i < count($previous_days); $i++)
{
! $selected = ($post_days == $previous_days[$i]) ? " selected=\"selected\"" : "";
$select_post_days .= "<option value=\"" . $previous_days[$i] . "\"$selected>" . $previous_days_text[$i] . "</option>";
}
--- 363,367 ----
for($i = 0; $i < count($previous_days); $i++)
{
! $selected = ($post_days == $previous_days[$i]) ? ' selected="selected"' : '';
$select_post_days .= "<option value=\"" . $previous_days[$i] . "\"$selected>" . $previous_days_text[$i] . "</option>";
}
***************
*** 398,404 ****
FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
WHERE p.topic_id = $topic_id
- AND p.poster_id = u.user_id
- AND p.post_id = pt.post_id
$limit_posts_time
ORDER BY p.post_time $post_time_order
LIMIT $start, ".$board_config['posts_per_page'];
--- 398,404 ----
FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
WHERE p.topic_id = $topic_id
$limit_posts_time
+ AND pt.post_id = p.post_id
+ AND u.user_id = p.poster_id
ORDER BY p.post_time $post_time_order
LIMIT $start, ".$board_config['posts_per_page'];
***************
*** 504,516 ****
//
! // Dump out the page header and load viewtopic body template
//
! if( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$topic_id"]) && isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_$forum_id"]) )
{
! $topic_last_read = ( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$topic_id"] > $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_$forum_id"] ) ? $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$topic_id"] : $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_$forum_id"];
}
! else if( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$topic_id"]) || isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_$forum_id"]) )
{
! $topic_last_read = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$topic_id"]) ) ? $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t_$topic_id"] : $HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f_$forum_id"];
}
else
--- 504,519 ----
//
! // Set a cookie for this topic
//
! $tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) : array();
! $tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) : array();
!
! if( !empty($tracking_topics['' . $topic_id . '']) && !empty($tracking_forums['' . $forum_id . '']) )
{
! $topic_last_read = ( $tracking_topics['' . $topic_id . ''] > $tracking_forums['' . $forum_id . ''] ) ? $tracking_topics['' . $topic_id . ''] : $tracking_forums['' . $forum_id . ''];
}
! else if( !empty($tracking_topics['' . $topic_id . '']) || !empty($tracking_forums['' . $forum_id . '']) )
{
! $topic_last_read = ( !empty($tracking_topics['' . $topic_id . '']) ) ? $tracking_topics['' . $topic_id . ''] : $tracking_forums['' . $forum_id . ''];
}
else
***************
*** 519,527 ****
}
//
! // Set a cookie for this topic
//
- setcookie($board_config['cookie_name'] . "_t_$topic_id", time(), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
-
//
// Load templates
--- 522,538 ----
}
+ if( count($tracking_topics) == 150 && empty($tracking_topics['' . $topic_id . '']) )
+ {
+ asort($tracking_topics);
+ unset($tracking_topics[key($tracking_topics)]);
+ }
+
+ $tracking_topics['' . $topic_id . ''] = time();
+
+ setcookie($board_config['cookie_name'] . "_t", serialize($tracking_topics), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
+
//
! // Dump out the page header and load viewtopic body template
//
//
// Load templates
***************
*** 543,546 ****
--- 554,616 ----
$template->assign_var_from_handle("JUMPBOX", "jumpbox");
+ //
+ // Output page header
+ //
+ $page_title = $lang['View_topic'] ." - $topic_title";
+ include($phpbb_root_path . 'includes/page_header.'.$phpEx);
+ //
+ // End header
+ //
+
+ //
+ // User authorisation levels output
+ //
+ $s_auth_can = ( ( $is_auth['auth_post'] ) ? $lang['Rules_post_can'] : $lang['Rules_post_cannot'] ) . "<br />";
+ $s_auth_can .= ( ( $is_auth['auth_reply'] ) ? $lang['Rules_reply_can'] : $lang['Rules_reply_cannot'] ) . "<br />";
+ $s_auth_can .= ( ( $is_auth['auth_edit'] ) ? $lang['Rules_edit_can'] : $lang['Rules_edit_cannot'] ) . "<br />";
+ $s_auth_can .= ( ( $is_auth['auth_delete'] ) ? $lang['Rules_delete_can'] : $lang['Rules_delete_cannot'] ) . "<br />";
+ $s_auth_can .= ( ( $is_auth['auth_vote'] ) ? $lang['Rules_vote_can'] : $lang['Rules_vote_cannot'] ) . "<br />";
+
+ if( $is_auth['auth_mod'] )
+ {
+ $s_auth_can .= sprintf($lang['Rules_moderate'], '<a href="' . append_sid("modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>');
+
+ $topic_mod = '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=delete") . '"><img src="' . $images['topic_mod_delete'] . '" alt="' . $lang['Delete_topic'] . '" title="' . $lang['Delete_topic'] . '" border="0" /></a> ';
+
+ $topic_mod .= '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=move"). '"><img src="' . $images['topic_mod_move'] . '" alt="' . $lang['Move_topic'] . '" title="' . $lang['Move_topic'] . '" border="0" /></a> ';
+
+ $topic_mod .= ( $forum_row['topic_status'] == TOPIC_UNLOCKED ) ? '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=lock") . '"><img src="' . $images['topic_mod_lock'] . '" alt="' . $lang['Lock_topic'] . '" title="' . $lang['Lock_topic'] . '" border="0" /></a> ' : '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unlock") . '"><img src="' . $images['topic_mod_unlock'] . '" alt="' . $lang['Unlock_topic'] . '" title="' . $lang['Unlock_topic'] . '" border="0" /></a> ';
+
+ $topic_mod .= '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split") . '"><img src="' . $images['topic_mod_split'] . '" alt="' . $lang['Split_topic'] . '" title="' . $lang['Split_topic'] . '" border="0" /></a> ';
+ }
+
+ //
+ // Topic watch information
+ //
+ $s_watching_topic = "";
+
+ if( $can_watch_topic )
+ {
+ if( $is_watching_topic )
+ {
+ $s_watching_topic = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&unwatch=topic&start=$start") . '">' . $lang['Stop_watching_topic'] . '</a>';
+ $s_watching_topic_img = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&unwatch=topic&start=$start") . '"><img src="' . $images['Topic_un_watch'] . '" alt="' . $lang['Stop_watching_topic'] . '" title="' . $lang['Stop_watching_topic'] . '" border="0"></a>';
+ }
+ else
+ {
+ $s_watching_topic = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&watch=topic&start=$start") . '">' . $lang['Start_watching_topic'] . '</a>';
+ $s_watching_topic_img = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&watch=topic&start=$start") . '"><img src="' . $images['Topic_watch'] . '" alt="' . $lang['Stop_watching_topic'] . '" title="' . $lang['Start_watching_topic'] . '" border="0"></a>';
+ }
+ }
+
+ //
+ // If we've got a hightlight set pass it on to pagination,
+ // I get annoyed when I lose my highlight after the first page.
+ //
+ $pagination = ( $highlight_active ) ? generate_pagination("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&postdays=$post_days&postorder=$post_order&highlight=" . $HTTP_GET_VARS['highlight'], $total_replies, $board_config['posts_per_page'], $start) : generate_pagination("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&postdays=$post_days&postorder=$post_order", $total_replies, $board_config['posts_per_page'], $start);
+
+ //
+ // Send vars to template
+ //
$template->assign_vars(array(
"FORUM_ID" => $forum_id,
***************
*** 548,551 ****
--- 618,623 ----
"TOPIC_ID" => $topic_id,
"TOPIC_TITLE" => $topic_title,
+ "PAGINATION" => $pagination,
+ "PAGE_NUMBER" => sprintf($lang['Page_of'], ( floor( $start / $board_config['posts_per_page'] ) + 1 ), ceil( $total_replies / $board_config['posts_per_page'] )),
"IMG_POST" => $post_img,
***************
*** 560,563 ****
--- 632,641 ----
"L_BACK_TO_TOP" => $lang['Back_to_top'],
"L_DISPLAY_POSTS" => $lang['Display_posts'],
+ "L_LOCK_TOPIC" => $lang['Lock_topic'],
+ "L_UNLOCK_TOPIC" => $lang['Unlock_topic'],
+ "L_MOVE_TOPIC" => $lang['Move_topic'],
+ "L_SPLIT_TOPIC" => $lang['Split_topic'],
+ "L_DELETE_TOPIC" => $lang['Delete_topic'],
+ "L_GOTO_PAGE" => $lang['Goto_page'],
"S_TOPIC_LINK" => POST_TOPIC_URL,
***************
*** 565,568 ****
--- 643,649 ----
"S_SELECT_POST_ORDER" => $select_post_order,
"S_POST_DAYS_ACTION" => append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=" . $topic_id . "&start=$start"),
+ "S_AUTH_LIST" => $s_auth_can,
+ "S_TOPIC_ADMIN" => $topic_mod,
+ "S_WATCH_TOPIC" => $s_watching_topic,
"U_VIEW_FORUM" => $view_forum_url,
***************
*** 574,588 ****
//
! // Output page header
! //
! $page_title = $lang['View_topic'] ." - $topic_title";
! include($phpbb_root_path . 'includes/page_header.'.$phpEx);
//
- // End header
- //
-
- //
- // Does this topic contain a voting element?
- //
if( !empty($forum_row['topic_vote']) )
{
--- 655,660 ----
//
! // Does this topic contain a poll?
//
if( !empty($forum_row['topic_vote']) )
{
***************
*** 1077,1161 ****
}
- //
- // User authorisation levels output
- //
- $s_auth_can = ( ( $is_auth['auth_post'] ) ? $lang['Rules_post_can'] : $lang['Rules_post_cannot'] ) . "<br />";
- $s_auth_can .= ( ( $is_auth['auth_reply'] ) ? $lang['Rules_reply_can'] : $lang['Rules_reply_cannot'] ) . "<br />";
- $s_auth_can .= ( ( $is_auth['auth_edit'] ) ? $lang['Rules_edit_can'] : $lang['Rules_edit_cannot'] ) . "<br />";
- $s_auth_can .= ( ( $is_auth['auth_delete'] ) ? $lang['Rules_delete_can'] : $lang['Rules_delete_cannot'] ) . "<br />";
- $s_auth_can .= ( ( $is_auth['auth_vote'] ) ? $lang['Rules_vote_can'] : $lang['Rules_vote_cannot'] ) . "<br />";
-
- if( $is_auth['auth_mod'] )
- {
- $s_auth_can .= sprintf($lang['Rules_moderate'], "<a href=\"" . append_sid("modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id") . "\">", "</a>");
-
- $topic_mod = "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=delete") . "\"><img src=\"" . $images['topic_mod_delete'] . "\" alt=\"" . $lang['Delete_topic'] . "\" title=\"" . $lang['Delete_topic'] . "\" border=\"0\" /></a> ";
-
- $topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=move"). "\"><img src=\"" . $images['topic_mod_move'] . "\" alt=\"" . $lang['Move_topic'] . "\" title=\"" . $lang['Move_topic'] . "\" border=\"0\" /></a> ";
-
- if($forum_row['topic_status'] == TOPIC_UNLOCKED)
- {
- $topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=lock") . "\"><img src=\"" . $images['topic_mod_lock'] . "\" alt=\"" . $lang['Lock_topic'] . "\" title=\"" . $lang['Lock_topic'] . "\" border=\"0\" /></a> ";
- }
- else
- {
- $topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unlock") . "\"><img src=\"" . $images['topic_mod_unlock'] . "\" alt=\"" . $lang['Unlock_topic'] . "\" title=\"" . $lang['Unlock_topic'] . "\" border=\"0\" /></a> ";
- }
- $topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split") . "\"><img src=\"" . $images['topic_mod_split'] . "\" alt=\"" . $lang['Split_topic'] . "\" title=\"" . $lang['Split_topic'] . "\" border=\"0\" /></a> ";
- }
-
- //
- // Topic watch information
- //
- if( $can_watch_topic )
- {
- if( $is_watching_topic )
- {
- $s_watching_topic = "<a href=\"" . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&unwatch=topic&start=$start") . "\">" . $lang['Stop_watching_topic'] . "</a>";
- $s_watching_topic_img = "<a href=\"" . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&unwatch=topic&start=$start") . "\"><img src=\"" . $images['Topic_un_watch'] . "\" alt=\"" . $lang['Stop_watching_topic'] . "\" title=\"" . $lang['Stop_watching_topic'] . "\" border=\"0\"></a>";
- }
- else
- {
- $s_watching_topic = "<a href=\"" . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&watch=topic&start=$start") . "\">" . $lang['Start_watching_topic'] . "</a>";
- $s_watching_topic_img = "<a href=\"" . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&watch=topic&start=$start") . "\"><img src=\"" . $images['Topic_watch'] . "\" alt=\"" . $lang['Start_watching_topic'] . "\" title=\"" . $lang['Start_watching_topic'] . "\" border=\"0\"></a>";
- }
- }
- else
- {
- $s_watching_topic = "";
- }
-
- //
- // If we've got a hightlight set pass it on to pagination, I get annoyed when I lose my highlight after the first page.
- //
- if(isset($HTTP_GET_VARS['highlight']))
- {
- $pagination = generate_pagination("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&postdays=$post_days&postorder=$post_order&highlight=" . $HTTP_GET_VARS['highlight'], $total_replies, $board_config['posts_per_page'], $start);
- }
- else
- {
- $pagination = generate_pagination("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&postdays=$post_days&postorder=$post_order", $total_replies, $board_config['posts_per_page'], $start);
- }
-
- $template->assign_vars(array(
- "PAGINATION" => $pagination,
- "PAGE_NUMBER" => sprintf($lang['Page_of'], ( floor( $start / $board_config['posts_per_page'] ) + 1 ), ceil( $total_replies / $board_config['posts_per_page'] )),
-
- "L_LOCK_TOPIC" => $lang['Lock_topic'],
- "L_UNLOCK_TOPIC" => $lang['Unlock_topic'],
- "L_MOVE_TOPIC" => $lang['Move_topic'],
- "L_SPLIT_TOPIC" => $lang['Split_topic'],
- "L_DELETE_TOPIC" => $lang['Delete_topic'],
-
- "S_AUTH_LIST" => $s_auth_can,
- "S_TOPIC_ADMIN" => $topic_mod,
- "S_WATCH_TOPIC" => $s_watching_topic,
-
- "L_GOTO_PAGE" => $lang['Goto_page'])
- );
-
$template->pparse("body");
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
--- 1149,1155 ----
}
$template->pparse("body");
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
\ No newline at end of file
|
|
From: Paul S. O. <ps...@us...> - 2002-01-12 13:51:46
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv32247
Modified Files:
viewonline.php
Log Message:
Fixes problem of guest users only show as viewing index or other 'system' pages
Index: viewonline.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/viewonline.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** viewonline.php 2001/12/24 22:06:36 1.43
--- viewonline.php 2002/01/12 13:51:42 1.44
***************
*** 283,287 ****
$guest_users++;
! if($onlinerow_guest[$i]['session_page'] < 1 || !$is_auth_ary[$onlinerow_reg[$i]['session_page']]['auth_view'] )
{
switch($onlinerow_guest[$i]['session_page'])
--- 283,287 ----
$guest_users++;
! if( $onlinerow_guest[$i]['session_page'] < 1 || !$is_auth_ary[$onlinerow_guest[$i]['session_page']]['auth_view'] )
{
switch($onlinerow_guest[$i]['session_page'])
|
|
From: Paul S. O. <ps...@us...> - 2002-01-12 01:03:04
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv8787/includes
Modified Files:
page_header.php
Log Message:
Minor update to flag admins
Index: page_header.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/page_header.php,v
retrieving revision 1.85
retrieving revision 1.86
diff -C2 -r1.85 -r1.86
*** page_header.php 2002/01/11 14:36:34 1.85
--- page_header.php 2002/01/12 01:03:01 1.86
***************
*** 90,94 ****
// situation
//
! $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, s.session_logged_in, s.session_ip
FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s
WHERE u.user_id = s.session_user_id
--- 90,94 ----
// situation
//
! $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip
FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s
WHERE u.user_id = s.session_user_id
***************
*** 117,128 ****
if( $row['user_id'] != $prev_user_id )
{
if( $row['user_allow_viewonline'] )
{
! $user_online_link = "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . "\">" . $row['username'] . "</a>";
$logged_visible_online++;
}
else
{
! $user_online_link = "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . "\"><i>" . $row['username'] . "</i></a>";
$logged_hidden_online++;
}
--- 117,133 ----
if( $row['user_id'] != $prev_user_id )
{
+ if( $row['user_level'] == ADMIN )
+ {
+ $row['username'] = '<b>' . $row['username'] . '</b>';
+ }
+
if( $row['user_allow_viewonline'] )
{
! $user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '">' . $row['username'] . '</a>';
$logged_visible_online++;
}
else
{
! $user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"><i>' . $row['username'] . '</i></a>';
$logged_hidden_online++;
}
***************
*** 130,134 ****
if( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )
{
! $online_userlist .= ($online_userlist != "") ? ", " . $user_online_link : $user_online_link;
}
}
--- 135,139 ----
if( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )
{
! $online_userlist .= ( $online_userlist != "" ) ? ", " . $user_online_link : $user_online_link;
}
}
***************
*** 138,141 ****
--- 143,147 ----
$guests_online++;
}
+
$prev_user_id = $row['user_id'];
}
|
|
From: Bart v. B. <ba...@us...> - 2002-01-11 20:42:30
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver/images In directory usw-pr-cvs1:/tmp/cvs-serv12967 Modified Files: icon_pm_dutch.gif icon_profile_dutch.gif icon_search_dutch.gif msg_newpost_dutch.gif post_dutch.gif reply_dutch.gif reply-locked_dutch.gif subscribe_dutch.gif Log Message: Damn transparancy Index: icon_pm_dutch.gif =================================================================== RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/images/icon_pm_dutch.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvslt5CUW and /tmp/cvs4l2HyJ differ Index: icon_profile_dutch.gif =================================================================== RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/images/icon_profile_dutch.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvsoVF9tY and /tmp/cvsKyx9GM differ Index: icon_search_dutch.gif =================================================================== RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/images/icon_search_dutch.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvsMAxTBX and /tmp/cvsaShf5K differ Index: msg_newpost_dutch.gif =================================================================== RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/images/msg_newpost_dutch.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvsXJXnfZ and /tmp/cvsYU4PmO differ Index: post_dutch.gif =================================================================== RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/images/post_dutch.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvs9E6zT0 and /tmp/cvsE8dcwR differ Index: reply_dutch.gif =================================================================== RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/images/reply_dutch.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvs6ERv9Z and /tmp/cvsOwW51P differ Index: reply-locked_dutch.gif =================================================================== RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/images/reply-locked_dutch.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvsLx9NI1 and /tmp/cvsQk21iT differ Index: subscribe_dutch.gif =================================================================== RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/images/subscribe_dutch.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvsKQ1P60 and /tmp/cvsC85oWR differ |
|
From: Bart v. B. <ba...@us...> - 2002-01-11 20:32:17
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver/images
In directory usw-pr-cvs1:/tmp/cvs-serv10383
Added Files:
icon_edit_dutch.gif icon_pm_dutch.gif icon_profile_dutch.gif
icon_search_dutch.gif msg_newpost_dutch.gif post_dutch.gif
reply_dutch.gif reply-locked_dutch.gif subscribe_dutch.gif
Log Message:
Added Dutch icons
--- NEW FILE ---
GIF89a;
// s*-
k
')¥¥94$$4'··º(#³ ¥¦ T
±¡--;'¸¹4#/»ã#£)V:=
;
døà¡
|( °@7N±n]VÜ KçD
<8@ÁC
:¸ ØÃ#lØL@BÁJÿàp1QÎ
4hðáÛj$è¡@,`ø0B.d`é ¢³PÀG¤I{X±
#`¬0ñÅø$`¸À4`ÀW#3º$¯è(Á1©$@ðá ÀdCqáBkÈáµ<áBB50XFpbÌ0
0
¶9ôèÀÆ(DuPb7RjÃ<P¦ã:by¦-¹ 0 p1¤&+¬¨éæpª)Ã
âË*èC
--- NEW FILE ---
GIF89a;
)O°.OµR°¹º»¼½<
É9±+«+¾½$½ÝÞ
1Å
B7Ü owôx!¢Q%«#0áë?
@5ÞÎÝAȽè
<4!#Â
/¿ãÀ
&<h À"d@A¸ÀÝÞAÀOE¨ðxà
--- NEW FILE ---
GIF89a;
iöËdþ·Mííí×z6uÔâçÄk
%<**n#v¥#ªª! )) ¶'4uss#«Ã´?¶Ë)Ñ #(Ú(=2º'ºåº³°¶)ÑÒz4
ý
2/XÒ
l0Ðâ@ÂPV
ÄÂ ¶EÙ·Eü`a
`-a-d±`@ÜBk&QAÃW
@!@F
`p7â
<ö8âÀwDþècDÚ Â'm´ÈPF
--- NEW FILE ---
GIF89a;
c¿ßèèèªÓ¥·¿m-{¡æìðØÙÙ}®ÇÐÕØv¢Ñßè¡Þâþ±Ö¬Ü"bÿ÷ÖL~ud!ù
Æ)s|C´Ù8³|N¯Ûå0EAYud."99'+b:!9!!Z &4&ª«&®)+£! **"&¿¿'¤#¬ª¯Ë
êz¶hÑ6δÐ
-ì'Ý-è;a
z8 $Xb#8Ãè±Â L ã4N À8æ¨ã<öãâíQÁwiäwXXA
--- NEW FILE ---
GIF89aR
^æîòw£ÞëñÁÌÒäêíÚa
eöùúÜ«{ù°hèê¢[ø
â°~
532ÙnnUjl&·W·r·S¤ØÜöí[(PÈ As
ø
I$=
'̨Â[ÃÞ¨è¢^ÉÁ®t 6\!¯Ñ9C
ÝaÊFw ´å¨ þA9@ô@c¯ÖzÁ*¬Áh£òjnè¢àC×yCiÂ\ Á°Í6W´)DBx¡B9xÁä @
¤G'\
_ØQÄ*´Çη ǽrTS#Ð`?] ÀÇ!AèàÂ
ú
Ps @¯Ðâ¼'@
--- NEW FILE ---
GIF89aR
BA
Q:
Ns}j¢£¤¥¦§¢q¨«¬£bug8o8Qº£!bk.nl¿»kÉÊ0s`5¶SÇÇ0lg\0!.kÔ¤ÊÉåææ`:SÓ¥Ká£lfÜ!öZuXl±)W¬&Í9xîañGÐdL¸P
TÖ8%lÎÄp¦&9<D*t¨Û¡ ÿ(nPpªR<<ȰËÞ
lÀ`YK
?²ÃX8o3{ÁY'\¸0%B
£4øø ïØ)nd!ÀL.(`
ÜÒÁ±æÍ9SXNáÀHM0àÁ®¼QZ¯RæAÉÒÁàÂxP þdF$%ð|I¡ÉE0ß¿B
R¼°DðpA¢È(ãS@QúðoÄð¾QÂ/l¨Ìùçb %ìrk`Ý|
(cGCæE `ÿnéÇ¡²Ø.¾#!(RJRLÀ ð £@A9H@ÐÆ
;B à
tøÑÆm´± `Û°@¶)0±f
üÐ]ØPV8 f^û
6ü¾2¼Ã¿Ì
T` @øF×ðA
Z1
F°À$`ük)>À
")+L:
H¦2ÉÌf:óÐæ2oã@"
--- NEW FILE ---
GIF89aR
U{íѵý6¥®æ±}æÆ¦Ü«zw¨¡¡j¨ø½äKk¨ÃÑ/§ÜØÆá±E§öôîøå¾Ly¹ÐÜâáʳ³¯7yü²j¨»¢¿Î~Rì¨eèìòõÇÍÑáìñöìãw´óñÝù¬`þ#öùúÙ+ýýý½ÕáL¶î-
cì:ÿîçàw¤ÂÔ[[Zÿÿÿþþþëëë9jøúûïïëI°W tsnàåèÿÿýïèáùÔ°ðöùóóó!pïô²¿!ù
|
E&
sZm¢£¤¥¦§£¨«¬¢&|*o*%ªº£n%)nn#kMn»¬ÀÊnqf¶Çm"Oȧ!CX$%R'!ÇZ¹¦¡£zmËnbòòõC(*¥6?l°ÁÆ
ÇQ1Ábò¡Ä$Fá0Ï(IX9Æ
JYi
z÷@ða>HÌ
1ìÁs¢ÀÏ<P`Î (P°
äøÆêE
(,Z
D°
C/@
^Âáp
--- NEW FILE ---
GIF89aR
T
¨'{B²#8F#P¡Jtp£Z
o¡Bv\
--- NEW FILE ---
GIF89aR
1ïHÝáÂ
038ärY"A/ZÆdàDO`~¡EeTA
uÀ4´VôP
4 -(a)×ú
hÀdi
YfML±Å+nì±Ç¯<rÉHÜ/, CÁ$lpÁ
h(pnáFò¸,AØbûlñÅhlü&Új¯íöãIOPA¡ÃÀk(|1Ĭ!ñÄ#~6Ñ
ùëH»Ñ
(Lÿýø£pÁþü÷¿7è
|
|
From: Jonathan H. <the...@us...> - 2002-01-11 17:01:34
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv7120
Modified Files:
admin_db_utilities.php
Log Message:
Fix for various postgres bugs
Index: admin_db_utilities.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_db_utilities.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** admin_db_utilities.php 2001/11/20 20:33:15 1.30
--- admin_db_utilities.php 2002/01/11 17:01:31 1.31
***************
*** 97,101 ****
while($i_seq < $num_seq)
{
! $row = sql_fetchrow($seq);
$sequence = $row['relname'];
--- 97,101 ----
while($i_seq < $num_seq)
{
! $row = $db->sql_fetchrow($seq);
$sequence = $row['relname'];
***************
*** 138,142 ****
// This function returns, will return the table def's for postgres...
//
! function get_table_def_postgres($table, $crlf)
{
global $drop, $db;
--- 138,142 ----
// This function returns, will return the table def's for postgres...
//
! function get_table_def_postgresql($table, $crlf)
{
global $drop, $db;
***************
*** 147,156 ****
//
! $field_query = "SELECT a.attnum, a.attname AS field, t.typename as type, a.attlen AS length, a.atttypmod as lengthvar, a.attnotnull as notnull
FROM pg_class c, pg_attribute a, pg_type t
WHERE c.relname = '$table'
AND a.attnum > 0
AND a.attrelid = c.oid
! AND a.attypid = t.oid
ORDER BY a.attnum";
$result = $db->sql_query($field_query);
--- 147,156 ----
//
! $field_query = "SELECT a.attnum, a.attname AS field, t.typname as type, a.attlen AS length, a.atttypmod as lengthvar, a.attnotnull as notnull
FROM pg_class c, pg_attribute a, pg_type t
WHERE c.relname = '$table'
AND a.attnum > 0
AND a.attrelid = c.oid
! AND a.atttypid = t.oid
ORDER BY a.attnum";
$result = $db->sql_query($field_query);
***************
*** 464,468 ****
// Here is the function for postgres...
//
! function get_table_content_postgres($table, $handler)
{
global $db;
--- 464,468 ----
// Here is the function for postgres...
//
! function get_table_content_postgresql($table, $handler)
{
global $db;
***************
*** 489,493 ****
$iRec = 0;
! while($row = $db->fetchrow($result))
{
unset($schema_vals);
--- 489,493 ----
$iRec = 0;
! while($row = $db->sql_fetchrow($result))
{
unset($schema_vals);
***************
*** 812,816 ****
echo "#\n";
! if(SQL_LAYER == 'postgres')
{
echo "\n" . pg_get_sequences("\n", $backup_type);
--- 812,816 ----
echo "#\n";
! if(SQL_LAYER == 'postgresql')
{
echo "\n" . pg_get_sequences("\n", $backup_type);
***************
*** 968,972 ****
$result = $db->sql_query($sql);
! if(!$result && ( !(SQL_LAYER == 'postgres' && eregi("drop table", $sql) ) ) )
{
//include('page_header_admin.'.$phpEx);
--- 968,972 ----
$result = $db->sql_query($sql);
! if(!$result && ( !(SQL_LAYER == 'postgresql' && eregi("drop table", $sql) ) ) )
{
//include('page_header_admin.'.$phpEx);
|
|
From: Bart v. B. <ba...@us...> - 2002-01-11 14:36:37
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv24017
Modified Files:
page_header.php
Log Message:
Dropped 'GROUP BY' from whosonline query for compatibility with non-MySQL DB's
Index: page_header.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/page_header.php,v
retrieving revision 1.84
retrieving revision 1.85
diff -C2 -r1.84 -r1.85
*** page_header.php 2002/01/11 12:38:34 1.84
--- page_header.php 2002/01/11 14:36:34 1.85
***************
*** 90,99 ****
// situation
//
! $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, s.session_logged_in, s.session_ip, count(*) as online_count
FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s
WHERE u.user_id = s.session_user_id
AND ( s.session_time >= ".( time() - 300 ) . "
OR u.user_session_time >= " . ( time() - 300 ) . " )
- GROUP BY u.user_id
ORDER BY u.username ASC";
$result = $db->sql_query($sql);
--- 90,98 ----
// situation
//
! $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, s.session_logged_in, s.session_ip
FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s
WHERE u.user_id = s.session_user_id
AND ( s.session_time >= ".( time() - 300 ) . "
OR u.user_session_time >= " . ( time() - 300 ) . " )
ORDER BY u.username ASC";
$result = $db->sql_query($sql);
***************
*** 108,136 ****
$logged_hidden_online = 0;
$guests_online = 0;
while( $row = $db->sql_fetchrow($result) )
{
if( $row['session_logged_in'] )
{
! if( $row['user_allow_viewonline'] )
{
! $user_online_link = "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . "\">" . $row['username'] . "</a>";
! $logged_visible_online++;
}
- else
- {
- $user_online_link = "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . "\"><i>" . $row['username'] . "</i></a>";
- $logged_hidden_online++;
- }
-
- if( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )
- {
- $online_userlist .= ($online_userlist != "") ? ", " . $user_online_link : $user_online_link;
- }
}
else
{
! $guests_online += $row['online_count'];
}
}
--- 107,142 ----
$logged_hidden_online = 0;
$guests_online = 0;
+ $prev_user_id = 0;
while( $row = $db->sql_fetchrow($result) )
{
+ // User is logged in and therefor not a guest
if( $row['session_logged_in'] )
{
! // Skip multiple sessions for one user
! if( $row['user_id'] != $prev_user_id )
{
! if( $row['user_allow_viewonline'] )
! {
! $user_online_link = "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . "\">" . $row['username'] . "</a>";
! $logged_visible_online++;
! }
! else
! {
! $user_online_link = "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . "\"><i>" . $row['username'] . "</i></a>";
! $logged_hidden_online++;
! }
!
! if( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )
! {
! $online_userlist .= ($online_userlist != "") ? ", " . $user_online_link : $user_online_link;
! }
}
}
else
{
! $guests_online++;
}
+ $prev_user_id = $row['user_id'];
}
|