1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Forum language-file cleanup complete.

This commit is contained in:
Cameron 2015-02-02 15:19:13 -08:00
parent b401143317
commit 2ae018a496
30 changed files with 224 additions and 571 deletions

View File

@ -1609,7 +1609,7 @@ class pluginLanguage
private $excludeLans = array('CORE_LC', 'CORE_LC2');
private $useSimilar = false;
function __construct()
@ -1677,7 +1677,14 @@ class pluginLanguage
continue;
}
similar_text($v['value'], $data['value'], $percentSimilar);
if($this->useSimilar == true)
{
similar_text($v['value'], $data['value'], $percentSimilar);
}
else
{
$percentSimilar = 0;
}
if((($v['value'] == $data['value'] || $percentSimilar > 89) && $data['file'] != $v['file']))
{
@ -1793,7 +1800,7 @@ class pluginLanguage
$text = str_replace(e_PLUGIN.$this->plugin.'/languages/','',$path);
if(strpos($path,'_front.php')===false && strpos($path,'_admin.php')===false && strpos($path,'_global.php')===false)
if(strpos($path,'_front.php')===false && strpos($path,'_admin.php')===false && strpos($path,'_global.php')===false && strpos($path,'_menu.php')===false && strpos($path,'_notify.php')===false && strpos($path,'_search.php')===false)
{
return "<span class='text-error e-tip' title='File name should be either English_front.php, English_admin.php or English_global.php'>".$text."</span>";
}
@ -1971,7 +1978,7 @@ class pluginLanguage
{
foreach($match[1] as $lan)
{
if($lan != 'e_LANGUAGE' && $lan != 'e_LANGUAGEDIR' && $lan != 'LAN' ) // remove 'TODO LAN'
if($lan != 'e_LANGUAGE' && $lan != 'e_LANGUAGEDIR' && $lan != 'LAN' && $lan != 'LANGUAGE') // remove 'TODO LAN'
{
$this->scriptDefs[] = $lan;
$this->scriptDefsData[] = array('file'=>$path, 'line'=>$ln, 'lan'=>$lan, 'value'=>$this->lanDefsRaw[$lan]);

View File

@ -73,6 +73,8 @@ define("LAN_DATE","Date");
define("LAN_DATE_POSTED", "Date posted");
define("LAN_JSCONFIRM","Are you sure?");
define("LAN_IP", "IP Address");
define("LAN_AUTHOR", "Author");
define("LAN_CATEGORY", "Category");
?>

View File

@ -301,8 +301,7 @@ define("LAN_UNCHECKALL", "Uncheck All");
define("LAN_DELCHECKED", "Delete Checked");
define("LAN_USERCLASS", "Userclass");
define("LAN_AUTHOR", "Author");
define("LAN_CATEGORY", "Category");
define("LAN_HELP", "Help");
define("LAN_CUSTOM", "Custom configuration");

View File

@ -14,6 +14,8 @@
if (!defined('e107_INIT')) { exit; }
e107::lan('forum','notify',true);
// v2.x Standard
class forum_notify extends notify
{
@ -23,37 +25,37 @@ class forum_notify extends notify
$config = array();
$config[] = array(
'name' => FORUM_NT_NEWTOPIC,
'name' => LAN_FORUM_NT_NEWTOPIC,
'function' => "forum_nt",
'category' => ''
);
$config[] = array(
'name' => FORUM_NT_NEWTOPIC_PROB,
'name' => LAN_FORUM_NT_NEWTOPIC_PROB,
'function' => "forum_ntp",
'category' => ''
);
$config[] = array(
'name' => FORUM_NT_TOPIC_DELETED,
'name' => LAN_FORUM_NT_TOPIC_DELETED,
'function' => "forum_topic_del",
'category' => ''
);
$config[] = array(
'name' => FORUM_NT_TOPIC_SPLIT,
'name' => LAN_FORUM_NT_TOPIC_SPLIT,
'function' => "forum_topic_split",
'category' => ''
);
$config[] = array(
'name' => FORUM_NT_POST_DELETED,
'name' => LAN_FORUM_NT_POST_DELETED,
'function' => "forum_post_del",
'category' => ''
);
$config[] = array(
'name' => FORUM_NT_POST_REPORTED,
'name' => LAN_FORUM_NT_POST_REPORTED,
'function' => "forum_post_rep",
'category' => ''
);
@ -70,31 +72,31 @@ class forum_notify extends notify
function forum_ntp($data)
{
$message = 'todo';
$this->send('forum_nt', FORUM_NT_7, $message);
$this->send('forum_nt', LAN_FORUM_NT_7, $message);
}
function forum_topic_del($data)
{
$message = 'todo';
$this->send('forum_topic_del', FORUM_NT_8, $message);
$this->send('forum_topic_del', LAN_FORUM_NT_8, $message);
}
function forum_topic_split($data)
{
$message = 'todo';
$this->send('forum_topic_split', FORUM_NT_9, $message);
$this->send('forum_topic_split', LAN_FORUM_NT_9, $message);
}
function forum_post_del($data)
{
$message = 'todo';
$this->send('forum_post_del', FORUM_NT_10, $message);
$this->send('forum_post_del', LAN_FORUM_NT_10, $message);
}
function forum_post_rep($data)
{
$message = 'todo';
$this->send('forum_post_rep', FORUM_NT_11, $message);
$this->send('forum_post_rep', LAN_FORUM_NT_11, $message);
}
}

View File

@ -1,7 +1,7 @@
<?php
if (!defined('e107_INIT')) { exit(); }
//include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_search.php'); // FIXME needs changing after forum lan rewrite
include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/'.e_LANGUAGE.'_search.php');
$search_info[] = array(
'sfile' => e_PLUGIN.'forum/search/search_parser.php',
@ -9,4 +9,4 @@ $search_info[] = array(
'refpage' => 'forum',
'advanced' => e_PLUGIN.'forum/search/search_advanced.php',
'id' => 'forum'
);
);

View File

@ -1294,7 +1294,7 @@ class forumAdmin
</div>
</form>
";
$ns->tablerender(FORLAN_62, $mes->render() . $text);
$ns->tablerender(FORLAN_7, $mes->render() . $text);
}
function show_reported($sub_action)

View File

@ -65,7 +65,7 @@ if (isset($_POST['deletepollconfirm']))
extract($row);
$thread_name = str_replace("[poll] ", "", $thread_name);
$sql->update("forum_thread", "thread_name='$thread_name' WHERE thread_id='$thread_id' ");
$message = FORCONF_5;
$message = LAN_FORUM_5001;
$url = e_PLUGIN."forum/forum_viewtopic.php?".$thread_id;
}
@ -78,7 +78,7 @@ if (isset($_POST['move']))
$newThreadTitle = '';
if($_POST['rename_thread'] == 'add')
{
$newThreadTitle = '['.FORCONF_27.']';
$newThreadTitle = '['.LAN_FORUM_5021.']';
$newThreadTitleType = 0;
}
elseif($_POST['rename_thread'] == 'rename' && trim($_POST['newtitle']) != '')
@ -92,7 +92,7 @@ if (isset($_POST['move']))
$forum->threadMove($threadId, $toForum, $newThreadTitle, $newThreadTitleType);
$message = FORCONF_9;// XXX _URL_ thread name
$message = LAN_FORUM_5005;// XXX _URL_ thread name
$url = $e107::getUrl()->create('forum/thread/view', 'id='.$threadId);
}
@ -102,7 +102,7 @@ if (isset($_POST['movecancel']))
$forum = new e107forum;
$postInfo = $forum->postGet($id, 0, 1);
$message = FORCONF_10;
$message = LAN_FORUM_5006;
// $url = e_PLUGIN."forum/forum_viewforum.php?".$info['forum_id'];
$url = $e107::getUrl()->create('forum/forum/view', 'id='.$postInfo[0]['post_forum']);// XXX _URL_ thread name
}
@ -111,9 +111,9 @@ if ($message)
{
$text = "<div style='text-align:center'>".$message."
<br />
<a href='$url'>".FORCONF_11.'</a>
<a href='$url'>".LAN_FORUM_5007.'</a>
</div>';
$ns->tablerender(FORCONF_12, $text);
$ns->tablerender(LAN_FORUM_5008, $text);
require_once(FOOTERF);
exit;
}
@ -121,11 +121,11 @@ if ($message)
if ($action == "delete_poll")
{
$text = "<div style='text-align:center'>
".FORCONF_13."
".LAN_FORUM_5009."
<br /><br />
<form method='post' action='".e_SELF."?".e_QUERY."'>
<input class='btn btn-default button' type='submit' name='deletecancel' value='".LAN_CANCEL."' />
<input class='btn btn-default button' type='submit' name='deletepollconfirm' value='".FORCONF_15."' />
<input class='btn btn-default button' type='submit' name='deletepollconfirm' value='".LAN_FORUM_5010."' />
</form>
</div>";
$ns->tablerender(LAN_UI_DELETE_LABEL, $text);
@ -167,7 +167,7 @@ if ($action == 'move')
<div style='text-align:center'>
<table class='table table-striped' style='".ADMIN_WIDTH."'>
<tr>
<td>".FORCONF_24.": </td>
<td>".LAN_FORUM_5019.": </td>
<td>
<select name='forum_move' class='tbox'>";
@ -187,18 +187,18 @@ if ($action == 'move')
</td>
</tr>
<tr>
<td >".FORCONF_32."</td>
<td >".LAN_FORUM_5026."</td>
<td><div class='radio'>
".$frm->radio('rename_thread','none',true, 'label='.FORCONF_28)."
".$frm->radio('rename_thread', 'add', false, array('label'=> FORCONF_29.' ['.FORCONF_27.'] '.FORCONF_30)). "
<div class='form-inline'>".$frm->radio('rename_thread','rename', false, array('label'=>FORCONF_31))."
".$frm->radio('rename_thread','none',true, 'label='.LAN_FORUM_5022)."
".$frm->radio('rename_thread', 'add', false, array('label'=> LAN_ADD.' ['.LAN_FORUM_5021.'] '.LAN_FORUM_5024)). "
<div class='form-inline'>".$frm->radio('rename_thread','rename', false, array('label'=>LAN_FORUM_5025))."
".$frm->text('newtitle', $tp->toForm($threadInfo['thread_name']), 250)."
</div>
</div></td>
</tr>
</table>
<div class='center'>
<input class='btn btn-primary button' type='submit' name='move' value='".FORCONF_25."' />
<input class='btn btn-primary button' type='submit' name='move' value='".LAN_FORUM_5019."' />
<input class='btn btn-default button' type='submit' name='movecancel' value='".LAN_CANCEL."' />
</div>
@ -210,7 +210,7 @@ if ($action == 'move')
$threadText = $tp->toHTML($postInfo[0]['post_entry'], true);
$text .= "<h3>".$threadName."</h3><div>".$threadText."</div>"; // $e107->ns->tablerender(, ), '', true).$ns->tablerender('', $text, '', true);
$ns->tablerender(FORCONF_25, $text);
$ns->tablerender(LAN_FORUM_5019, $text);
}
require_once(FOOTERF);

View File

@ -217,17 +217,17 @@ $text = "
<div class='spacer'>
<table style='width: 100%;' class='fborder table'>
<tr>
<th class='forumheader' colspan='2'>".FSLAN_1."</th>
<th class='forumheader' colspan='2'>".LAN_FORUM_6000."</th>
</tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_2.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$open_date}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_3.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$open_since}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_4.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$total_posts}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".LAN_FORUM_6001.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$open_date}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".LAN_FORUM_6002.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$open_since}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".LAN_FORUM_6003.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$total_posts}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".LAN_FORUM_1007.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$total_topics}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_6.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$total_replies}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_7.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$total_views}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_24.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$postsperday}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_8.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$db_size}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_9.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$avg_row_len}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".LAN_FORUM_6004.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$total_replies}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".LAN_FORUM_6005.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$total_views}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".LAN_FORUM_6014.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$postsperday}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".LAN_FORUM_6006.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$db_size}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".LAN_FORUM_6007.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$avg_row_len}</td></tr>
</table>
</div>
@ -237,10 +237,10 @@ $text = "
<td class='forumheader' colspan='5'>".LAN_FORUM_0011."</td>
</tr>
<tr>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".LAN_FORUM_6008."</th>
<th style='width: 40%;' class='fcaption'>".LAN_FORUM_1003."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".LAN_FORUM_0003."</th>
<th style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_14."</th>
<th style='width: 20%; text-align: center;' class='fcaption'>".LAN_FORUM_6009."</th>
<th style='width: 20%; text-align: center;' class='fcaption'>".LAN_DATE."</th>
</tr>
";
@ -275,13 +275,13 @@ $text .= "</table>
<div class='spacer'>
<table style='width: 100%;' class='fborder table'>
<tr>
<td class='forumheader' colspan='5'>".FSLAN_16."</td>
<td class='forumheader' colspan='5'>".LAN_FORUM_6010."</td>
</tr>
<tr>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".LAN_FORUM_6008."</th>
<th style='width: 40%;' class='fcaption'>".LAN_FORUM_1003."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".LAN_FORUM_1005."</th>
<th style='width: 20%; text-align: center;' class='fcaption'>".FSLAN_14."</th>
<th style='width: 20%; text-align: center;' class='fcaption'>".LAN_FORUM_6009."</th>
<th style='width: 20%; text-align: center;' class='fcaption'>".LAN_DATE."</th>
</tr>
";
@ -320,7 +320,7 @@ $text .= "</table>
</tr>
<thead>
<tr>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".LAN_FORUM_6008."</th>
<th style='width: 20%;' class='fcaption'>".LAN_NAME."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".LAN_FORUM_2032."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>%</th>
@ -352,10 +352,10 @@ $text .= "</tbody>
<div class='spacer'>
<table style='width: 100%;' class='fborder table'>
<tr>
<td class='forumheader' colspan='5'>".FSLAN_21."</td>
<td class='forumheader' colspan='5'>".LAN_FORUM_6011."</td>
</tr>
<tr>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".LAN_FORUM_6008."</th>
<th style='width: 20%;' class='fcaption'>".LAN_NAME."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".LAN_FORUM_2032."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>%</th>
@ -384,10 +384,10 @@ $text .= "</table>
<div class='spacer'>
<table style='width: 100%;' class='fborder table'>
<tr>
<td class='forumheader' colspan='5'>".FSLAN_22."</td>
<td class='forumheader' colspan='5'>".LAN_FORUM_6012."</td>
</tr>
<tr>
<th style='width: 10%; text-align: center;' class='fcaption'>".FSLAN_11."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".LAN_FORUM_6008."</th>
<th style='width: 20%;' class='fcaption'>".LAN_NAME."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>".LAN_FORUM_2032."</th>
<th style='width: 10%; text-align: center;' class='fcaption'>%</th>
@ -413,7 +413,7 @@ $text .= '</table>
</div>
';
$ns -> tablerender(FSLAN_23, $text);
$ns -> tablerender(LAN_FORUM_6013, $text);
require_once(FOOTERF);
?>

View File

@ -36,11 +36,11 @@ if(is_array($_POST['delete']))
$path = e_UPLOAD.$fname;
if(unlink($path) == TRUE)
{
$msg = FRMUP_2.": $path";
$msg = LAN_FORUM_7002.": $path";
}
else
{
$msg = FRMUP_3.": $path";
$msg = LAN_FORUM_7003.": $path";
}
}
}
@ -50,7 +50,7 @@ include_once(e_HANDLER."file_class.php");
include_once(HEADERF);
if($msg)
{
$ns->tablerender(FRMUP_4, $msg);
$ns->tablerender(LAN_FORUM_7004, $msg);
}
$fi = new e_file;
@ -69,7 +69,7 @@ if(is_array($fileList))
<table style='width:98%'>
<tr>
<td class='fcaption'>".FRMUP_5."</td>
<td class='fcaption'>".FRMUP_6."</td>
<td class='fcaption'>".LAN_FORUM_7006."</td>
</tr>";
foreach($fileList as $finfo)
{
@ -93,17 +93,17 @@ if(is_array($fileList))
{
if($tinfo['thread_parent'])
{
$txt .= "<td class='forumheader3'>".FRMUP_7.": <a href='".e_PLUGIN."forum/forum_viewtopic.php?{$tinfo['thread_id']}.post'>{$tinfo['thread_parent']}</a></td>";
$txt .= "<td class='forumheader3'>".LAN_FORUM_7007.": <a href='".e_PLUGIN."forum/forum_viewtopic.php?{$tinfo['thread_id']}.post'>{$tinfo['thread_parent']}</a></td>";
}
else
{
$txt .= "<td class='forumheader3'>".FRMUP_7.": <a href='".e_PLUGIN."forum/forum_viewtopic.php?{$tinfo['thread_id']}'>{$tinfo['thread_id']}</a></td>";
$txt .= "<td class='forumheader3'>".LAN_FORUM_7007.": <a href='".e_PLUGIN."forum/forum_viewtopic.php?{$tinfo['thread_id']}'>{$tinfo['thread_id']}</a></td>";
}
}
else
{
$txt .= "<td class='forumheader3'>".FRMUP_8." <input class='btn btn-default button' type='submit' name='delete[{$finfo['fname']}]' value='".LAN_DELETE."' /></td>";
$txt .= "<td class='forumheader3'>".LAN_FORUM_7008." <input class='btn btn-default button' type='submit' name='delete[{$finfo['fname']}]' value='".LAN_DELETE."' /></td>";
}
$txt .= "</tr>";
}
@ -111,12 +111,12 @@ if(is_array($fileList))
$txt .= "</table>";
}
if(!$filecount) {
$ns->tablerender(FRMUP_1,FRMUP_9);
$ns->tablerender(LAN_FORUM_7001,LAN_FORUM_7009);
include_once(FOOTERF);
exit;
}
$ns->tablerender(FRMUP_1, $txt);
$ns->tablerender(LAN_FORUM_7001, $txt);
include_once(FOOTERF);
?>

View File

@ -70,7 +70,7 @@ define("FORLAN_58", "Number of posts displayed per page");
//define("FORLAN_59", "Prune");
define("FORLAN_60", "This will delete all threads that have not received a reply in the number of days you enter. <br /><b>Please be careful using this function!</b>");
//define("FORLAN_61", "Update Options");
define("FORLAN_62", "Forum Options");
// define("FORLAN_62", "Forum Options");
// define("FORLAN_63", "Ranks");
// define("FORLAN_64", "Enter your levels here, if left blank generic stars will be used to denote level. Separate levels with comma. Maximum of 10 levels, lowest first.");
define("FORLAN_65", "Forum Title");
@ -141,7 +141,7 @@ define("FORLAN_122", "Click here to email admin when someone reports a forum pos
define("WMGLAN_1", "Rules for Guests");
define("WMGLAN_2", "Rules for Members");
define("WMGLAN_3", "Rules for Administrators");
define("WMGLAN_4", "Submit");
// define("WMGLAN_4", "Submit");
define("WMGLAN_5", "Set Forum Rules");
define("WMGLAN_6", "Activate?");
define("FORLAN_126", "Show Tooltips");

View File

@ -28,12 +28,10 @@ define("e_PAGETITLE", "Forum");
define("LAN_FORUM_0002", "Topics"); // LAN_47 / FORLAN_21
define("LAN_FORUM_0003", "Replies"); // LAN_48 / LAN_55
define("LAN_FORUM_0004", "Last Post"); // LAN_49 / FORLAN_22 / LAN_57
define("LAN_FORUM_0005", "This forum is restricted to administrators only"); // LAN_406
define("LAN_FORUM_0006", "This forum is restricted to members only"); // LAN_407
define("LAN_FORUM_0007", "This is a read-only forum"); // LAN_408
define("LAN_FORUM_0008", "This is a class restricted forum"); // LAN_409
define("LAN_FORUM_0009", "Information"); // LAN_191
define("LAN_FORUM_0010", "Top Posters"); // LAN_429
define("LAN_FORUM_0011", "Most Active Topics"); // LAN_430
@ -43,7 +41,6 @@ define("LAN_FORUM_0014", "My Profile"); // LAN_435
define("LAN_FORUM_0015", "My Uploads"); // FORLAN_442
define("LAN_FORUM_0016", "Forum Rules"); // LAN_433
define("LAN_FORUM_0017", "View forum statistics"); // LAN_441
define("LAN_FORUM_0018", "Welcome"); // LAN_30
define("LAN_FORUM_0019", "There are no new posts"); // LAN_31
define("LAN_FORUM_0020", "There is one new post "); // LAN_32
@ -57,17 +54,14 @@ define("LAN_FORUM_0027", "You have read"); // LAN_196
define("LAN_FORUM_0028", "of these posts."); // LAN_197
define("LAN_FORUM_0029", "All new posts have been read."); // LAN_198
define("LAN_FORUM_0030", "List tracked topics"); // LAN_393
define("LAN_FORUM_0031", "The users of this forum have made a total of [x] posts."); // LAN_192 and LAN_404
define("LAN_FORUM_0032", "topic"); // LAN_411
define("LAN_FORUM_0033", "topics"); // LAN_413
define("LAN_FORUM_0034", "reply"); // LAN_412
define("LAN_FORUM_0035", "replies"); // LAN_414
define("LAN_FORUM_0036", "Who's Online"); // LAN_426
define("LAN_FORUM_0037", "View detailed list"); // LAN_427
define("LAN_FORUM_0038", "(Will open in a new window)"); // LAN_436
define("LAN_FORUM_0039", "New posts"); // LAN_79 // LAN_79 (vf)
define("LAN_FORUM_0040", "No new posts"); // LAN_80 / LAN_80 (vf)
define("LAN_FORUM_0041", "Closed forum"); // LAN_394
@ -144,73 +138,61 @@ define("LAN_FORUM_2001", "Previous topic"); // LAN_389
define("LAN_FORUM_2002", "Next topic"); // LAN_390
define("LAN_FORUM_2003", "Moderator(s)"); // LAN_321
define("LAN_FORUM_2004", "This topic is now closed"); // LAN_66
define("LAN_FORUM_2005", "Create a new topic"); // new
define("LAN_FORUM_2006", "Post a reply"); // new
define("LAN_FORUM_2007", "Post a quick reply"); // new
define("LAN_FORUM_2008", "HIDDEN - LOGIN AND REPLY TO REVEAL"); // FORLAN_HIDDEN - used in [hide] bbcode?
define("LAN_FORUM_2009", "Are you sure you want to delete this topic and any replies?"); // LAN_409
define("LAN_FORUM_2010", "Are you sure you want to delete this reply?"); // LAN_410
//define("LAN_FORUM_2011", "posted by"); // LAN_410 // LAN_FORUM_0074
define("LAN_FORUM_2012", "No previous topic"); // LAN_404 (vt)
define("LAN_FORUM_2013", "No next topic"); // LAN_405 (vt)
define("LAN_FORUM_2014", "Author"); // LAN_402 (vt)
define("LAN_FORUM_2015", "Post"); // LAN_403 (vt)
define("LAN_FORUM_2016", "Edited"); // LAN_29
define("LAN_FORUM_2017", "by"); // FORLAN_BY
define("LAN_FORUM_2018", "This post has been reported from site"); // LAN_422 (vt)
define("LAN_FORUM_2019", "Message from"); // LAN_425 (vt)
define("LAN_FORUM_2020", "Forum topic report from"); // LAN_421 (vt)
define("LAN_FORUM_2021", "Post has been reported"); // LAN_428
define("LAN_FORUM_2022", "Click here to return to the forum"); // LAN_429
define("LAN_FORUM_2023", "Report this topic to a moderator"); // LAN_414 (vt)
define("LAN_FORUM_2024", "Reporting post in topic"); // LAN_426
define("LAN_FORUM_2025", "Topic title"); // LAN_415
define("LAN_FORUM_2026", "Click to view post"); // LAN_420
define("LAN_FORUM_2027", "The moderator(s) will be made aware of this topic. You may post a message explaining what you found to be objectionable."); // LAN_417
define("LAN_FORUM_2028", "[Do not] use this form to contact the admin for any other reason."); // LAN_418 - [ and ] are replaced by <b> </b>
define("LAN_FORUM_2029", "Send Report"); // LAN_419
// shortcodes/bach/view_shortcodes.php
define("LAN_FORUM_2030", "Back to top"); // LAN_10
define("LAN_FORUM_2031", "Joined"); // LAN_06
define("LAN_FORUM_2032", "Posts"); // LAN_67
define("LAN_FORUM_2033", "Visits to site since registration"); // LAN_09
define("LAN_FORUM_2034", "Website"); // LAN_08
define("LAN_FORUM_2035", "Registered Member"); // LAN_195
define("LAN_FORUM_2036", "Send Private Message"); // new / LAN_399
define("LAN_FORUM_2037", "Post deleted on"); // new
define("LAN_FORUM_2038", "Reason"); // new
// define("LAN_FORUM_2039", "Edit"); // LAN_400
// define("LAN_FORUM_2040", "Delete"); // LAN_435 (vf)?
define("LAN_FORUM_2041", "Quote"); // LAN_401
define("LAN_FORUM_2042", "Move"); // FORCONF_25 ?
define("LAN_FORUM_2042", "Move"); // LAN_FORUM_5019 ?
define("LAN_FORUM_2043", "Split"); // new
define("LAN_FORUM_2044", "Email"); // FORLAN_101
define("LAN_FORUM_2045", "Print"); // FORLAN_102
define("LAN_FORUM_2046", "Report"); // LAN_413
// starting at LAN_FORUM_3xxx => forum_post.php
define("LAN_FORUM_3001", "You are not authorized to post to this forum."); // LAN_399 (p)
define("LAN_FORUM_3002", "This topic is locked."); // LAN_397
define("LAN_FORUM_3003", "Replying to"); // LAN_02 (p)
// define("LAN_FORUM_3004", "Anonymous"); // LAN_311
define("LAN_FORUM_3005", "Preview"); // LAN_323
// define("LAN_FORUM_3006", "Duplicate post"); // LAN_FORUM_2
define("LAN_FORUM_3007", "You left required field(s) blank"); // LAN_27
define("LAN_FORUM_3008", "Unauthorised"); // LAN_95
define("LAN_FORUM_3009", "You are not authorised to edit this forum post."); //LAN_96
define("LAN_FORUM_3010", "Your name"); // LAN_61
define("LAN_FORUM_3011", "Subject"); // LAN_62
define("LAN_FORUM_3012", "Attach file / image"); // LAN_390
@ -224,17 +206,12 @@ define("LAN_FORUM_3019", "bytes"); // LAN_396
define("LAN_FORUM_3020", "Add another attachment"); // LAN_417
define("LAN_FORUM_3021", "Uploads disabled: [x] directory is not writable"); // LAN_FORUM_1 - [x] will be replaced automatically
define("LAN_FORUM_3022", "Latest [y] replies"); // LAN_101 and LAN_102 - [y] will be replaced automatically
// shortcodes/bach/post_shortcodes.php
define("LAN_FORUM_3023", "Update topic"); // LAN_77
define("LAN_FORUM_3024", "Update reply"); // LAN_78
define("LAN_FORUM_3025", "Type"); // new
define("LAN_FORUM_3026", "Post topic as"); // LAN_400 (p)
//define("LAN_FORUM_3027", "Type"); // new -
// poll - partly in e107_plugins/poll/poll_class.php
define("LAN_FORUM_3028", "Add Poll"); // new
define("LAN_FORUM_3028", "Add Poll"); // new // poll - partly in e107_plugins/poll/poll_class.php
define("LAN_FORUM_3038", "Normal"); // LAN_1
define("LAN_FORUM_3039", "Deactivate emoticons for this post"); // LAN_FORUMPOST_EMOTES
define("LAN_FORUM_3040", "Enable email tracking (email sent when reply is posted)"); // LAN_380
@ -242,25 +219,24 @@ define("LAN_FORUM_3040", "Enable email tracking (email sent when reply is posted
// forum_posted_template
define("LAN_FORUM_3043", "Thank you"); // LAN_133 (p)
define("LAN_FORUM_3044", "Click here to return to the forum"); // LAN_326
// define("LAN_FORUM_3044", "Click here to return to the forum"); // LAN_326
define("LAN_FORUM_3045", "Your poll has been successfully posted."); // LAN_413
define("LAN_FORUM_3046", "Click here to view your poll"); // LAN_414
define("LAN_FORUM_3047", "Your message has been successfully posted."); // LAN_324
define("LAN_FORUM_3048", "Click here to view your message"); // LAN_325
define("LAN_FORUM_3049", "Your reply has been successfully posted."); // LAN_415
// forum_icons_template
define("LAN_FORUM_4001", "Unread post exists"); // LAN_199 (vf)
define("LAN_FORUM_4002", "No unread posts"); // new
define("LAN_FORUM_4003", "New posts on popular topic"); // FORLAN_13
define("LAN_FORUM_4004", "No new posts on popular topic"); // FORLAN_14
define("LAN_FORUM_4005", "Website"); // LAN_396
define("LAN_FORUM_4006", "Email"); // LAN_397
// define("LAN_FORUM_4005", "Website"); // LAN_396
// define("LAN_FORUM_4006", "Email"); // LAN_397
define("LAN_FORUM_4007", "Profile"); // LAN_398
define("LAN_FORUM_4008", "Private Message"); // LAN_399
define("LAN_FORUM_4009", "Track topic"); // LAN_391 (vt)
define("LAN_FORUM_4010", "Untrack topic"); // LAN_392 (vt) / new
define("LAN_FORUM_4011", "Stick thread"); // LAN_401
@ -275,41 +251,72 @@ define("LAN_FORUM_OPEN", "Thread reopened.");
define("LAN_FORUM_STICK", "Thread made sticky.");
define("LAN_FORUM_UNSTICK", "Thread unstuck.");
// Config -TO BE RENAMED
define("FORCONF_5", "Poll deleted."); // FORCONF_5
define("FORCONF_6", "Thread deleted"); // FORCONF_6
define("FORCONF_7", "replies deleted"); // FORCONF_7
define("FORCONF_8", "Delete cancelled."); // FORCONF_8
define("FORCONF_9", "Thread moved."); // FORCONF_9
define("FORCONF_10", "Move cancelled."); // FORCONF_10
define("FORCONF_11", "Back To Forums"); // FORCONF_11
define("FORCONF_12", "Forum Configuration"); // FORCONF_12
define("FORCONF_13", "Are you absolutely certain you want to delete this poll?<br />Once deleted it <b><u>cannot</u></b> be retrieved.");
// define("FORCONF_14", "Cancel");
define("FORCONF_15", "Confirm Delete Forum Post"); // FORCONF_15
// define("FORCONF_16", "Confirm Delete Poll"); // FORCONF_16
define("FORCONF_17", "posted by"); // FORCONF_17
define("FORCONF_18", "Are you absolutely certain you want to delete this forum");
define("FORCONF_19", "thread and it's related posts?");
define("FORCONF_20", "the poll will also be deleted");
define("FORCONF_21", "Once deleted they");
define("FORCONF_22", "post?<br />Once deleted it");
define("FORCONF_23", "cannot</u></b> be retrieved");
define("FORCONF_24", "Move thread to forum");
define("FORCONF_25", "Move Thread");
define("FORCONF_26", "Reply deleted");
define("FORCONF_27", "moved");
define("FORCONF_28", "Do not rename thread title");
define("FORCONF_29", "Add");
define("FORCONF_30", "to title");
define("FORCONF_31", "Rename to:");
define("FORCONF_32", "Rename thread options:");
// Config
define("LAN_FORUM_5001", "Poll deleted."); // LAN_FORUM_5001
define("LAN_FORUM_5005", "Thread moved."); // LAN_FORUM_5005
define("LAN_FORUM_5006", "Move cancelled."); // LAN_FORUM_5006
define("LAN_FORUM_5007", "Back To Forums"); // LAN_FORUM_5007
define("LAN_FORUM_5008", "Forum Configuration"); // LAN_FORUM_5008
define("LAN_FORUM_5009", "Are you absolutely certain you want to delete this poll?<br />Once deleted it <b><u>cannot</u></b> be retrieved.");
define("LAN_FORUM_5010", "Confirm Delete Forum Post"); // LAN_FORUM_5010
define("LAN_FORUM_5019", "Move Thread"); // LAN_FORUM_5019
define("LAN_FORUM_5021", "moved"); // LAN_FORUM_5021
define("LAN_FORUM_5022", "Do not rename thread title"); // LAN_FORUM_5022
define("LAN_FORUM_5024", "to title"); // LAN_FORUM_5024
define("LAN_FORUM_5025", "Rename to:"); // LAN_FORUM_5025
define("LAN_FORUM_5026", "Rename thread options:"); // LAN_FORUM_5026
// Statistics (lan_forum_stats.php ) ----------------
define("LAN_FORUM_6000", "General"); // FSLAN_1
define("LAN_FORUM_6001", "Forum opened"); // LAN_FORUM_6001
define("LAN_FORUM_6002", "Open for"); // FSLAN_3
define("LAN_FORUM_6003", "Total posts"); // FSLAN_4
define("LAN_FORUM_6004", "Forum replies"); // FSLAN_6
define("LAN_FORUM_6005", "Forum thread views"); // FSLAN_7
define("LAN_FORUM_6006", "Database size (forum tables only)"); // FSLAN_8
define("LAN_FORUM_6007", "Average row length in forum table"); // FSLAN_9
define("LAN_FORUM_6008", "Rank"); // FSLAN_11
define("LAN_FORUM_6009", "Started by"); // FSLAN_14
define("LAN_FORUM_6010", "Most viewed topics"); // FSLAN_16
define("LAN_FORUM_6011", "Top topic starters"); // FSLAN_21
define("LAN_FORUM_6012", "Top repliers"); // FSLAN_22
define("LAN_FORUM_6013", "Forum Statistics"); // FSLAN_23
define("LAN_FORUM_6014", "Average posts per day"); // FSLAN_24
// ---- Uploads ----------
define('LAN_FORUM_7001','Uploaded Files in forum');
define('LAN_FORUM_7002','File deleted'); // LAN_FORUM_7002
define('LAN_FORUM_7003','Error: Unable to delete file'); // LAN_FORUM_7003
define('LAN_FORUM_7004','File deletion'); // LAN_FORUM_7004
define('LAN_FORUM_7006','Result'); // LAN_FORUM_7006
define('LAN_FORUM_7007','Found in thread'); // LAN_FORUM_7007
define('LAN_FORUM_7008','NOT FOUND'); // LAN_FORUM_7008
define('LAN_FORUM_7009','No uploaded files found'); // LAN_FORUM_7009
/* THIS WILL BE DELETED ONCE THE REWRITE IS DONE
==================================================
*
*
*
define("LAN_FORUM_5020", "Reply deleted"); // LAN_FORUM_5020
define("LAN_FORUM_5011", "posted by"); // LAN_FORUM_5011
define("LAN_FORUM_5012", "Are you absolutely certain you want to delete this forum");
define("LAN_FORUM_5013", "thread and it's related posts?");
define("LAN_FORUM_5014", "the poll will also be deleted");
define("LAN_FORUM_5015", "Once deleted they");
define("LAN_FORUM_5016", "post?<br />Once deleted it"); // LAN_FORUM_5016
define("LAN_FORUM_5017", "cannot</u></b> be retrieved"); // LAN_FORUM_5017 //
define("LAN_FORUM_5018", "Move thread to forum"); // LAN_FORUM_5018
define("LAN_FORUM_5023", "Add"); // LAN_FORUM_5023
define("LAN_01", "Forums");
define("LAN_02", "Go to page");
define("LAN_03", "Go");

View File

@ -13,17 +13,13 @@ define("LAN_PLUGIN_FORUM_ALLFORUMS", "All Forums");
//define('FORUM_NT_4', 'added by');
//define('FORUM_NT_5', 'moved by');
// define('FORUM_NT_6', 'Forum - Thread created');
define('FORUM_NT_7', 'Forum - Thread created by new user');
define('FORUM_NT_8', 'Forum - Thread deleted');
define('FORUM_NT_9', 'Forum - Thread split');
define('FORUM_NT_10', 'Forum - Post deleted');
define('FORUM_NT_11', 'Forum - Post reported');
define('FORUM_NT_NEWTOPIC', 'New topic created');
define('FORUM_NT_NEWTOPIC_PROB', 'New topic created by probationary member');
define('FORUM_NT_TOPIC_DELETED', 'Topic deleted');
define('FORUM_NT_TOPIC_SPLIT', 'Topic split');
define('FORUM_NT_POST_DELETED', 'Post deleted');
define('FORUM_NT_POST_REPORTED', 'Post reported');
define("FORUM_LAN_URL_DEFAULT_LABEL", "Default Forum URLs");
define("FORUM_LAN_URL_DEFAULT_DESCR", "URLs of 'GET type' with no single entry point. Examples:<br />http://yoursite.com/e107_plugins/forum/forum.php (forum index)<br />http://yoursite.com/e107_plugins/forum/forum_viewtopic.php?id=2 (thread view)");
define("FORUM_LAN_URL_REWRITE_LABEL", "SEF Forum URLs (UNDER DEVELOPMENT)");
define("FORUM_LAN_URL_REWRITE_DESCR", "Examples:<br />UNDER DEVELOPMENT");
?>

View File

@ -0,0 +1,27 @@
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*/
define("LAN_FORUM_MENU_001", "Posted by");
define("LAN_FORUM_MENU_002", "No posts yet");
define("LAN_FORUM_MENU_003", "New Forum Posts menu configuration saved");
define("LAN_FORUM_MENU_004", "Caption");
define("LAN_FORUM_MENU_005", "Number of posts to display?");
define("LAN_FORUM_MENU_006", "Number of characters to display?");
define("LAN_FORUM_MENU_007", "Postfix for too long posts?");
define("LAN_FORUM_MENU_008", "Show original topics in menu?");
define("LAN_FORUM_MENU_009", "Update menu Settings");
define("LAN_FORUM_MENU_0010", "New Forum Posts Menu Configuration");
define("LAN_FORUM_MENU_0012", "Maximum age of displayed posts");
define("LAN_FORUM_MENU_0013", "Use zero on a quiet site; setting a value in days will reduce database time on a busy site");
?>

View File

@ -0,0 +1,17 @@
<?php
define('LAN_FORUM_NT_7', 'Forum - Thread created by new user');
define('LAN_FORUM_NT_8', 'Forum - Thread deleted');
define('LAN_FORUM_NT_9', 'Forum - Thread split');
define('LAN_FORUM_NT_10', 'Forum - Post deleted');
define('LAN_FORUM_NT_11', 'Forum - Post reported');
define('LAN_FORUM_NT_NEWTOPIC', 'New topic created');
define('LAN_FORUM_NT_NEWTOPIC_PROB', 'New topic created by probationary member');
define('LAN_FORUM_NT_TOPIC_DELETED', 'Topic deleted');
define('LAN_FORUM_NT_TOPIC_SPLIT', 'Topic split');
define('LAN_FORUM_NT_POST_DELETED', 'Post deleted');
define('LAN_FORUM_NT_POST_REPORTED', 'Post reported');

View File

@ -1,19 +0,0 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/languages/English/lan_forum_conf.php,v $
| $Revision$
| $Date$
| $Author$
+----------------------------------------------------------------------------+
*/
// DEPRECATED, SUBJECT TO REMOVAL
?>

View File

@ -1,17 +0,0 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/languages/English/lan_forum_frontpage.php,v $
| $Revision$
| $Date$
| $Author$
+----------------------------------------------------------------------------+
*/
// DEPRECATED - up for removal
//define("FOR_FP_1", "Forum");
?>

View File

@ -1,39 +0,0 @@
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* Forum plugin notify language file
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/forum/languages/English/lan_forum_notify.php,v $
* $Revision$
* $Date$
* $Author$
*
*/
// DEPRECATED FILE - NOTIFY LAN ARE NOW IN GLOBAL
/*
define('FORUM_NT_1', 'Forum Events');
define('FORUM_NT_2', 'Thread');
define('FORUM_NT_3', 'Post');
define('FORUM_NT_4', 'added by');
define('FORUM_NT_5', 'moved by');
define('FORUM_NT_6', 'Forum - Thread created');
define('FORUM_NT_7', 'Forum - Thread created by new user');
define('FORUM_NT_8', 'Forum - Thread deleted');
define('FORUM_NT_9', 'Forum - Thread split');
define('FORUM_NT_10', 'Forum - Post deleted');
define('FORUM_NT_11', 'Forum - Post reported');
define('FORUM_NT_NEWTHREAD', 'New thread created');
define('FORUM_NT_NEWTHREAD_PROB', 'New thread created by probationary member');
define('FORUM_NT_THREAD_DELETED', 'Thread deleted');
define('FORUM_NT_THREAD_SPLIT', 'Thread split');
define('FORUM_NT_POST_DELETED', 'Post deleted');
define('FORUM_NT_POST_REPORTED', 'Post reported');
*/

View File

@ -1,120 +0,0 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/languages/English/lan_forum_post.php,v $
| $Revision$
| $Date$
| $Author$
+----------------------------------------------------------------------------+
*/
// DEPRECATED, SUBJECT TO REMOVAL
/*
define("PAGE_NAME", "Forum");
define("LAN_01", "Forums");
define("LAN_02", "Replying to: ");
define("LAN_03", "New Thread");
define("LAN_1", "Normal");
define("LAN_2", "Sticky");
define("LAN_3", "Announcement");
define("LAN_4", "Post Poll");
define("LAN_5", "Poll Question:");
define("LAN_6", "Add another option");
define("LAN_7", "Vote option:");
define("LAN_8", "Allow votes from all");
define("LAN_9", "Allow votes from members only");
define("LAN_10", "Login");
define("LAN_11", "Remember me");
define("LAN_16", "Username: ");
define("LAN_17", "Password: ");
define("LAN_20", "Error");
define("LAN_27", "You left required field(s) blank");
define("LAN_28", "You didn't post anything ..");
define("LAN_29", "Edited");
define("LAN_45", "These forums can only be posted to by registered and logged in members, please click");
define("LAN_60", "Start New Thread");
define("LAN_61", "Your Name: ");
define("LAN_62", "Subject: ");
define("LAN_63", "Post: ");
define("LAN_64", "Submit new thread");
define("LAN_73", "Reply: ");
define("LAN_74", "Reply to thread");
define("LAN_77", "Update Thread");
define("LAN_78", "Update Reply");
define("LAN_94", "Posted by");
define("LAN_95", "Unauthorised");
define("LAN_96", "You are not authorised to edit this forum post.");
define("LAN_100", "Thread Topic");
define("LAN_101", "Latest ");
define("LAN_102", " replies");
define("LAN_103", "Review complete thread. (Will open a new window.)");
define("LAN_133", "Thank you");
define("LAN_174", "Signup");
define("LAN_175", "Login");
define("LAN_212", "Forgot password?");
define("LAN_310", "Unable to accept post as that username is registered - if it is your username please login to post.");
define("LAN_311", "Anonymous");
define("LAN_322", "Posted: ");
define("LAN_323", "Preview");
define("LAN_324", "Your message has been successfully posted.");
define("LAN_325", "Click Here to view your message");
define("LAN_326", "Click here to return to the forum");
define("LAN_327", "Review");
define("LAN_380", "Enable email tracking (email sent when reply is posted)");
define("LAN_381", "Forum reply from ");
define("LAN_382", "Post made: ");
define("LAN_383", "Please click the following link to view the full thread ...");
define("LAN_384", "Forum reply at ");
define("LAN_385", "Post: ");
define("LAN_386", "If you do not wish to add a poll to your thread leave the fields blank ");
define("LAN_387", "Go");
define("LAN_388", "Back to top");
define("LAN_389", "Duplicate post, redirecting ...");
define("LAN_390", "Attach file / image");
define("LAN_391", "Options");
define("LAN_392", "File to attach");
define("LAN_393", "<b>Please note</b><br />Allowed file types:");
define("LAN_394", "Any other file types uploaded will be instantly deleted.");
define("LAN_395", "Maximum file size");
define("LAN_396", " bytes");
define("LAN_397", "This thread is locked.");
define("LAN_398", "This forum is read only");
define("LAN_399", "You are not authorized to post to this forum.");
define("LAN_400", "post thread as");
define("LAN_401", "Jump");
define("LAN_402", "poll");
define("LAN_403", "announcement");
define("LAN_404", "sticky");
define("LAN_405", "Forums");
define("LAN_406", "Re:");
//v.616
define("LAN_407", "Redirect");
define("LAN_408", "If your browser does not support meta redirection please click");
define("LAN_409", "HERE");
define("LAN_410", "to be redirected");
define("LAN_411", "here");
define("LAN_412", "to go to the registration page.");
define("LAN_413", "Your poll has been successfully posted.");
define("LAN_414", "Click Here to view your poll");
define("LAN_415", "Your reply has been successfully posted.");
define("LAN_416", "Attach file");
define("LAN_417", "Add another attachment");
define("POLL_506", "Allow multiple choices?");
define("POLL_507", "yes");
define("POLL_508", "no");
define("LAN_FORUM_1", "Uploads disabled: ".e_FILE."public directory is not writable");
define("LAN_FORUM_2", "Duplicate post");
define('LAN_FORUMPOST_EMOTES', 'Deactivate emoticons for this post');
*/
?>

View File

@ -1,39 +0,0 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/languages/English/lan_forum_stats.php,v $
| $Revision$
| $Date$
| $Author$
+----------------------------------------------------------------------------+
*/
define("e_PAGETITLE", "Forum Statistics");
define("FSLAN_1", "General");
define("FSLAN_2", "Forum opened");
define("FSLAN_3", "Open for");
define("FSLAN_4", "Total posts");
// define("FSLAN_5", "Forum topics");
define("FSLAN_6", "Forum replies");
define("FSLAN_7", "Forum thread views");
define("FSLAN_8", "Database size (forum tables only)");
define("FSLAN_9", "Average row length in forum table");
// define("FSLAN_10", "Most active topics");
define("FSLAN_11", "Rank");
// define("FSLAN_12", "Topic");
// define("FSLAN_13", "Replies");
define("FSLAN_14", "Started by");
// define("FSLAN_15", "Date");
define("FSLAN_16", "Most viewed topics");
// define("FSLAN_17", "Views");
// define("FSLAN_18", "Top posters");
// define("FSLAN_19", "Name");
// define("FSLAN_20", "Posts");
define("FSLAN_21", "Top topic starters");
define("FSLAN_22", "Top repliers");
define("FSLAN_23", "Forum Statistics");
define("FSLAN_24", "Average posts per day");
?>

View File

@ -1,25 +0,0 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/languages/English/lan_forum_uploads.php,v $
| $Revision$
| $Date$
| $Author$
+----------------------------------------------------------------------------+
*/
define("PAGE_NAME", "Forum Uploads");
define('FRMUP_1','Uploaded Files in forum');
define('FRMUP_2','File deleted');
define('FRMUP_3','Error: Unable to delete file');
define('FRMUP_4','File deletion');
define('FRMUP_5','Filename');
define('FRMUP_6','Result');
define('FRMUP_7','Found in thread');
define('FRMUP_8','NOT FOUND');
define('FRMUP_9','No uploaded files found');
// define('FRMUP_10','Delete');
?>

View File

@ -1,14 +0,0 @@
<?php
/*
* Copyright (C) 2008-2011 e107 Inc (e107.org), Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id$
*
* URL configuration language file (adminsitration)
*/
// define("FORUM_LAN_URL_NAME", "Forum");
define("FORUM_LAN_URL_DEFAULT_LABEL", "Default Forum URLs");
define("FORUM_LAN_URL_DEFAULT_DESCR", "URLs of 'GET type' with no single entry point. Examples:<br />http://yoursite.com/e107_plugins/forum/forum.php (forum index)<br />http://yoursite.com/e107_plugins/forum/forum_viewtopic.php?id=2 (thread view)");
// TODO - awaiting forum SEF config
define("FORUM_LAN_URL_REWRITE_LABEL", "SEF Forum URLs (UNDER DEVELOPMENT)");
define("FORUM_LAN_URL_REWRITE_DESCR", "Examples:<br />UNDER DEVELOPMENT");

View File

@ -1,87 +0,0 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/languages/English/lan_forum_viewforum.php,v $
| $Revision$
| $Date$
| $Author$
+----------------------------------------------------------------------------+
*/
// DEPRECATED, MOVED TO ENGLISH_FRONT.PHP - THIS WILL BE REMOVED SOON!
/*
define("PAGE_NAME", "Forum");
// define("LAN_79", "New posts");
//define("LAN_80", " No new posts");
// define("LAN_81", "Closed thread");
// define("LAN_180", "Search");
// define("LAN_199", "Unread post exists");
//define("LAN_204", "You <b>can</b> start new threads");
//define("LAN_205", "You <b>cannot</b> start new threads");
//define("LAN_206", "You <b>can</b> post replies");
//define("LAN_207", "You <b>cannot</b> post replies");
//define("LAN_208", "You <b>can</b> edit your posts");
//define("LAN_209", "You <b>cannot</b> edit your posts");
define("LAN_316", "Goto page: ");
define("LAN_317", "None");
define("LAN_321", "Moderators: ");
define("LAN_395", "[popular]");
define("LAN_396", "Announcement");
//define("LAN_397", "This forum is read only");
//define("LAN_398", "Unstick thread");
//define("LAN_399", "Lock thread");
//define("LAN_400", "Unlock thread");
//define("LAN_401", "Stick thread");
//define("LAN_402", "Move thread");
//define("LAN_403", "Jump to forum");
//define("LAN_404", "This forum is moderated by");
//define("LAN_405", "user is browsing this forum at the moment");
//define("LAN_406", "users are browsing this forum at the moment");
//define("LAN_407", "member");
//define("LAN_408", "guest");
//define("LAN_409", "members");
//define("LAN_410", "guests");
//v.616
//define("LAN_411", "Important Threads");
//define("LAN_412", "Forum Threads");
//define("LAN_431", "Syndicate this forum: rss 0.92");
//define("LAN_432", "Syndicate this forum: rss 2.0");
//define("LAN_433", "Syndicate this forum: RDF");
//define("LAN_434", "Are you sure you want to delete this thread and any replies?");
//define("LAN_435", "Delete thread");
//v.617
define("FORLAN_CLOSE", "Thread closed.");
define("FORLAN_OPEN", "Thread reopened.");
define("FORLAN_STICK", "Thread made sticky.");
define("FORLAN_UNSTICK", "Thread unstuck.");
define("FORLAN_6", "Thread deleted");
define("FORLAN_7", "replies deleted");
define("FORLAN_8", "here");
define("FORLAN_9", "to sign up or login from the login menu.");
define("FORLAN_10", "Begin New Thread");
define("FORLAN_11", "New Posts");
define("FORLAN_12", "No New Posts");
define("FORLAN_13", "New Posts on Popular Thread");
define("FORLAN_14", "No New Posts on Popular Thread");
define("FORLAN_15", "Sticky Thread");
define("FORLAN_16", "Closed Sticky Thread");
define("FORLAN_17", "Announcement Thread");
define("FORLAN_18", "Closed Thread");
define('FORLAN_19', '[user deleted]');
define('FORLAN_20', 'Sub-forum');
define('FORLAN_21', 'Threads');
define('FORLAN_22', 'Last Post');
define('FORLAN_23', 'Poll');
*/
?>

View File

@ -1,15 +0,0 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/languages/English/lan_forum_viewtopic.php,v $
| $Revision$
| $Date$
| $Author$
+----------------------------------------------------------------------------+
*/
// DEPRECATED, UP FOR REMOVAL AFTER REWRITE
//define("PAGE_NAME", "Forum");
?>

View File

@ -1,31 +0,0 @@
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/forum/languages/English/lan_newforumposts_menu.php,v $
* $Revision$
* $Date$
* $Author$
*/
define("NFP_1", "All latest posts are outside of your user class, unable to display.");
define("NFP_2", "No posts yet");
define("NFP_3", "New Forum Posts menu configuration saved");
define("NFP_4", "Caption");
define("NFP_5", "Number of posts to display?");
define("NFP_6", "Number of characters to display?");
define("NFP_7", "Postfix for too long posts?");
define("NFP_8", "Show original topics in menu?");
define("NFP_9", "Update menu Settings");
define("NFP_10", "New Forum Posts Menu Configuration");
// define("NFP_11", "Posted by");
define("NFP_12", "Maximum age of displayed posts");
define("NFP_13", "Use zero on a quiet site; setting a value in days will reduce database time on a busy site");
?>

View File

@ -17,9 +17,10 @@ $tp = e107::getParser();
$sql = e107::getDb();
$gen = new convert;
$pref = e107::getPref();
e107::lan('forum','front');
e107::lan('forum','menu',true); // English_menu.php or {LANGUAGE}_menu.php
include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_newforumposts_menu.php');
// include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_newforumposts_menu.php');
// include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/'.e_LANGUAGE.'_menu.php');
include_once(e_PLUGIN.'forum/forum_class.php');
$max_age = vartrue($menu_pref['newforumposts_maxage'], 0);
@ -77,11 +78,11 @@ if($results = $sql->gen($qry))
if ($menu_pref['newforumposts_title'])
{
$text .= "<a href='{$url}'>{$topic}</a><br />{$post}<br /><small class='muted'>".LAN_FORUM_0074." {$poster} {$datestamp}</small>";
$text .= "<a href='{$url}'>{$topic}</a><br />{$post}<br /><small class='muted'>".LAN_FORUM_MENU_001." {$poster} {$datestamp}</small>";
}
else
{
$text .= "<a href='{$url}'>".LAN_FORUM_0074."</a> {$poster} <small class='muted'>{$datestamp}</small><br />{$post}<br />";
$text .= "<a href='{$url}'>".LAN_FORUM_MENU_001."</a> {$poster} <small class='muted'>{$datestamp}</small><br />{$post}<br />";
}
$text .= "</li>";
@ -92,6 +93,6 @@ if($results = $sql->gen($qry))
}
else
{
$text = NFP_2;
$text = LAN_FORUM_MENU_002;
}
e107::getRender()->tablerender($menu_pref['newforumposts_caption'], $text, 'nfp_menu');

View File

@ -20,12 +20,13 @@ if (!getperms('1'))
exit();
}
require_once(e_ADMIN.'auth.php');
include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_newforumposts_menu.php');
$mes = e107::getMessage();
e107::lan('forum','menu',true); // English_menu.php or {LANGUAGE}_menu.php
// include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_newforumposts_menu.php');
if (isset($_POST['update_menu'])) {
while (list($key, $value) = each($_POST)) {
if ($value != NFP_9) {
if ($value != LAN_FORUM_MENU_009) {
$menu_pref[$key] = $value;
}
}
@ -34,27 +35,27 @@ if (isset($_POST['update_menu'])) {
}
$tmp = addslashes(serialize($menu_pref));
$sql->db_Update("core", "e107_value='$tmp' WHERE e107_name='menu_pref' ");
$ns->tablerender("", "<div style=\"text-align:center\"><b>".NFP_3."</b></div>");
$ns->tablerender("", "<div style=\"text-align:center\"><b>".LAN_FORUM_MENU_003."</b></div>");
}
$menu_pref['newforumposts_maxage'] = varset($menu_pref['newforumposts_maxage'],0);
$text = "<div style='text-align:center'>
$text = "<div>
<form method=\"post\" action=\"".e_SELF."?".e_QUERY."\" name=\"menu_conf_form\">
<table style='width:85%' class=\"fborder\">
<table style='width:85%' class='table table-bordered table-striped'>
<colgroup>
<col style='width:40%;' />
<col style='width:60%;' />
</colgroup>
<tr>
<td class='forumheader3'>".NFP_4.": </td>
<td class='forumheader3'>".LAN_FORUM_MENU_004.": </td>
<td class='forumheader3'>
<input class=\"tbox\" type=\"text\" name=\"newforumposts_caption\" size=\"20\" value=\"".$menu_pref['newforumposts_caption']."\" maxlength=\"100\" />
</td>
</tr>
<tr>
<td class='forumheader3'>".NFP_5.":
<td class='forumheader3'>".LAN_FORUM_MENU_005.":
</td>
<td class='forumheader3'>
<input class=\"tbox\" type=\"text\" name=\"newforumposts_display\" size=\"20\" value=\"".$menu_pref['newforumposts_display']."\" maxlength=\"2\" />
@ -62,23 +63,23 @@ $text = "<div style='text-align:center'>
</tr>
<tr>
<td class='forumheader3'>".NFP_12.":
<td class='forumheader3'>".LAN_FORUM_MENU_0012.":
</td>
<td class='forumheader3'>
<input class=\"tbox\" type=\"text\" name='newforumposts_maxage' size='20' value='".$menu_pref['newforumposts_maxage']."' maxlength='3' /><br />
<span class='smalltext'><em>".NFP_13."</em></span>
<span class='smalltext'><em>".LAN_FORUM_MENU_0013."</em></span>
</td>
</tr>
<tr>
<td class='forumheader3'>".NFP_6.": </td>
<td class='forumheader3'>".LAN_FORUM_MENU_006.": </td>
<td class='forumheader3'>
<input class=\"tbox\" type=\"text\" name=\"newforumposts_characters\" size=\"20\" value=\"".$menu_pref['newforumposts_characters']."\" maxlength=\"4\" />
</td>
</tr>
<tr>
<td class='forumheader3'>".NFP_7.":
<td class='forumheader3'>".LAN_FORUM_MENU_007.":
</td>
<td class='forumheader3'>
<input class=\"tbox\" type=\"text\" name=\"newforumposts_postfix\" size=\"30\" value=\"".$menu_pref['newforumposts_postfix']."\" maxlength=\"200\" />
@ -86,7 +87,7 @@ $text = "<div style='text-align:center'>
</tr>
<tr>
<td class='forumheader3'>".NFP_8.":</td>
<td class='forumheader3'>".LAN_FORUM_MENU_008.":</td>
<td class='forumheader3'>
<input type='checkbox' name='newforumposts_title' value='1'".($menu_pref['newforumposts_title'] ? ' checked="checked"' : '')."
</td>
@ -94,11 +95,11 @@ $text = "<div style='text-align:center'>
<tr style=\"vertical-align:top\">
<td colspan=\"2\" style=\"text-align:center\" class='forumheader'>
<input class=\"button\" type=\"submit\" name=\"update_menu\" value=\"".NFP_9."\" />
<input class=\"button\" type=\"submit\" name=\"update_menu\" value=\"".LAN_FORUM_MENU_009."\" />
</td>
</tr>
</table>
</form>
</div>";
$ns->tablerender(NFP_10, $text);
$ns->tablerender(LAN_FORUM_MENU_0010, $mes->render(). $text);
require_once(e_ADMIN."footer.php");

View File

@ -32,8 +32,8 @@ define('IMAGE_closed_small', '<img src="'.img_path('closed_small.png').'" alt=
define('IMAGE_closed', '<img src="'.img_path('closed.png').'" alt="'.LAN_FORUM_1014.'" title="'.LAN_FORUM_1014.'" />');
// User info
define('IMAGE_website', '<img src="'.img_path('website.png').'" alt="'.LAN_FORUM_4005.'" title="'.LAN_FORUM_4005.'" />');
define('IMAGE_email', '<img src="'.img_path('email.png').'" alt="'.LAN_FORUM_4006.'" title="'.LAN_FORUM_4006.'" />');
define('IMAGE_website', '<img src="'.img_path('website.png').'" alt="'.LAN_FORUM_2034.'" title="'.LAN_FORUM_2034.'" />');
define('IMAGE_email', '<img src="'.img_path('email.png').'" alt="'.LAN_FORUM_2044.'" title="'.LAN_FORUM_2044.'" />');
define('IMAGE_profile', '<img src="'.img_path('profile.png').'" alt="'.LAN_FORUM_4007.'" title="'.LAN_FORUM_4007.'" />');
// action

View File

@ -21,7 +21,7 @@ $FORUMPOLLPOSTED ="
<td style='vertical-align:middle; width:80%' class='forumheader2'>
<br />".LAN_FORUM_3045."<br />
<span class='defaulttext'><a class='forumlink' href='{$threadLink}'>".LAN_FORUM_3046."</a><br />
<a class='forumlink' href='{$forumLink}'>".LAN_FORUM_3044."</a></span><br /><br />
<a class='forumlink' href='{$forumLink}'>".LAN_FORUM_2022."</a></span><br /><br />
</td>
</tr>
</table>";
@ -37,7 +37,7 @@ $FORUMTHREADPOSTED = "
<br />".LAN_FORUM_3047."<br />
".(defined('F_MESSAGE') ? F_MESSAGE.'<br />' : '')."
<span class='defaulttext'><a href='{$threadLink}'>".LAN_FORUM_3048."</a><br />
<a href='{$forumLink}'>".LAN_FORUM_3044."</a></span><br /><br />
<a href='{$forumLink}'>".LAN_FORUM_2022."</a></span><br /><br />
</td>
</tr>
</table>";
@ -54,7 +54,7 @@ $FORUMREPLYPOSTED = "
<br />".LAN_FORUM_3049."<br />
".(defined('F_MESSAGE') ? F_MESSAGE.'<br />' : '')."
<span class='defaulttext'><a href='{$threadLink}'>".LAN_FORUM_3048."</a><br />
<a href='{$forumLink}'>".LAN_FORUM_3044."</a></span><br /><br />
<a href='{$forumLink}'>".LAN_FORUM_2022."</a></span><br /><br />
</td>
</tr>
</table>";

View File

@ -89,7 +89,7 @@ $FORUMSTART = "<a id='top'></a><div style='text-align:center'>
<table style='".USER_WIDTH."' class='fborder table'>
<tr>
<td style='width:20%; text-align:center' class='fcaption'>
".LAN_FORUM_2014."
".LAN_AUTHOR."
</td>
<td style='width:80%; text-align:center' class='fcaption'>
".LAN_FORUM_2015."