mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
Forum language-file cleanup complete.
This commit is contained in:
@@ -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);
|
||||
|
||||
?>
|
Reference in New Issue
Block a user