Fixed some language strings, added some handy things to viewtopic

git-svn-id: file:///svn/phpbb/trunk@1578 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2001-12-15 01:55:43 +00:00
parent 652a03df3f
commit 1f6b7aa567
5 changed files with 15 additions and 6 deletions

View file

@ -248,6 +248,9 @@ $template->assign_vars(array(
"PRIVMSG_IMG" => $icon_pm, "PRIVMSG_IMG" => $icon_pm,
"PHP_SELF" => $PHP_SELF,
"REQUEST_URI" => $REQUEST_URI,
"L_USERNAME" => $lang['Username'], "L_USERNAME" => $lang['Username'],
"L_PASSWORD" => $lang['Password'], "L_PASSWORD" => $lang['Password'],
"L_LOGIN" => $lang['Login'], "L_LOGIN" => $lang['Login'],

View file

@ -245,7 +245,7 @@ $lang['All_Posts'] = "Alle berichten";
$lang['Newest_First'] = "Nieuwste eerst"; $lang['Newest_First'] = "Nieuwste eerst";
$lang['Oldest_First'] = "Oudste eerst"; $lang['Oldest_First'] = "Oudste eerst";
$lang['Return_to_top'] = "Naar boven"; $lang['Back_to_top'] = "Naar boven";
$lang['Read_profile'] = "Bekijk gebruikers profiel"; $lang['Read_profile'] = "Bekijk gebruikers profiel";
$lang['Send_email'] = "Stuur een mail aan deze gebruiker"; $lang['Send_email'] = "Stuur een mail aan deze gebruiker";

View file

@ -250,7 +250,7 @@ $lang['All_Posts'] = "All Posts";
$lang['Newest_First'] = "Newest First"; $lang['Newest_First'] = "Newest First";
$lang['Oldest_First'] = "Oldest First"; $lang['Oldest_First'] = "Oldest First";
$lang['Return_to_top'] = "Return to top"; $lang['Back_to_top'] = "Back to top";
$lang['Read_profile'] = "View users profile"; $lang['Read_profile'] = "View users profile";
$lang['Send_email'] = "Send email to user"; $lang['Send_email'] = "Send email to user";

View file

@ -1,6 +1,6 @@
<table width="100%" cellspacing="2" cellpadding="2" border="0"> <table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr> <tr>
<td align="left" valign="bottom" colspan="2"><span class="maintitle">{TOPIC_TITLE}</span><br /> <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{PHP_SELF}">{TOPIC_TITLE}</a><br />
<span class="gensmall"><b>{PAGINATION}</b><br /> <span class="gensmall"><b>{PAGINATION}</b><br />
&nbsp; </span></td> &nbsp; </span></td>
</tr> </tr>
@ -35,7 +35,7 @@
<td class="{postrow.ROW_CLASS}" height="28" valign="top"> <td class="{postrow.ROW_CLASS}" height="28" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td width="100%">{postrow.MINI_POST_IMG}<span class="postdetails">{L_POSTED}: <td width="100%"><a href="{U_MINI_POST}">{postrow.MINI_POST_IMG}</a><span class="postdetails">{L_POSTED}:
{postrow.POST_DATE}<span class="gen">&nbsp;</span>&nbsp;&nbsp;&nbsp;{L_POST_SUBJECT}: {postrow.POST_DATE}<span class="gen">&nbsp;</span>&nbsp;&nbsp;&nbsp;{L_POST_SUBJECT}:
{postrow.POST_SUBJECT}</span></td> {postrow.POST_SUBJECT}</span></td>
<td nowrap="nowrap" valign="top" align="right">{postrow.QUOTE_IMG} <td nowrap="nowrap" valign="top" align="right">{postrow.QUOTE_IMG}
@ -51,8 +51,8 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="22%" align="left" valign="middle" class="{postrow.ROW_CLASS}"><span class="nav"><a href="#top" class="nav">Back <td width="22%" align="left" valign="middle" class="{postrow.ROW_CLASS}">
to top</a></span></td> <span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
<td width="78%" height="28" class="{postrow.ROW_CLASS}" nowrap="nowrap" valign="bottom"> <td width="78%" height="28" class="{postrow.ROW_CLASS}" nowrap="nowrap" valign="bottom">
<table cellspacing="0" cellpadding="0" border="0" height="18" width="18"> <table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
<tr> <tr>

View file

@ -573,6 +573,8 @@ $template->assign_vars(array(
"L_POST_NEW_TOPIC" => $post_alt, "L_POST_NEW_TOPIC" => $post_alt,
"L_POST_REPLY_TOPIC" => $reply_alt, "L_POST_REPLY_TOPIC" => $reply_alt,
"L_BACK_TO_TOP" => $lang['Back_to_top'],
"IMG_POST" => $post_img, "IMG_POST" => $post_img,
"IMG_REPLY" => $reply_img, "IMG_REPLY" => $reply_img,
@ -777,6 +779,8 @@ for($i = 0; $i < $total_posts; $i++)
{ {
$mini_post_img = '<img src="' . $images['icon_minipost'] . '" alt="' . $lang['Post'] . '" title="' . $lang['Post'] . '" border="0" />'; $mini_post_img = '<img src="' . $images['icon_minipost'] . '" alt="' . $lang['Post'] . '" title="' . $lang['Post'] . '" border="0" />';
} }
$mini_post_url = append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $postrow[$i]['post_id']) ."#".$postrow[$i]['post_id'];
// //
// Generate ranks // Generate ranks
@ -1068,6 +1072,8 @@ for($i = 0; $i < $total_posts; $i++)
"IP_IMG" => $ip_img, "IP_IMG" => $ip_img,
"DELETE_IMG" => $delpost_img, "DELETE_IMG" => $delpost_img,
"U_MINI_POST" => $mini_post_url,
"U_POST_ID" => $postrow[$i]['post_id']) "U_POST_ID" => $postrow[$i]['post_id'])
); );
} }