diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-05-03 22:10:23 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-05-03 22:10:23 +0000 |
commit | aa8a051a981954b1d15d116fd2192d1e4778c8f6 (patch) | |
tree | 7aed219c2db7e5ec84e30fad84b7942173f81247 /phpBB/templates | |
parent | df716e1e837e121bac29c987ccf4f9a8c68c8af2 (diff) | |
download | forums-aa8a051a981954b1d15d116fd2192d1e4778c8f6.tar forums-aa8a051a981954b1d15d116fd2192d1e4778c8f6.tar.gz forums-aa8a051a981954b1d15d116fd2192d1e4778c8f6.tar.bz2 forums-aa8a051a981954b1d15d116fd2192d1e4778c8f6.tar.xz forums-aa8a051a981954b1d15d116fd2192d1e4778c8f6.zip |
Moved config, images vars to arrays and various other fixes
git-svn-id: file:///svn/phpbb/trunk@237 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/templates')
-rw-r--r-- | phpBB/templates/Default/viewforum_body.tpl | 10 | ||||
-rw-r--r-- | phpBB/templates/Default/viewforum_footer.tpl | 2 | ||||
-rw-r--r-- | phpBB/templates/Default/viewforum_header.tpl | 2 | ||||
-rw-r--r-- | phpBB/templates/Default/viewtopic_body.tpl | 12 | ||||
-rw-r--r-- | phpBB/templates/Default/viewtopic_footer.tpl | 4 | ||||
-rw-r--r-- | phpBB/templates/Default/viewtopic_header.tpl | 8 |
6 files changed, 17 insertions, 21 deletions
diff --git a/phpBB/templates/Default/viewforum_body.tpl b/phpBB/templates/Default/viewforum_body.tpl index b9d952a9cf..5be8f6f258 100644 --- a/phpBB/templates/Default/viewforum_body.tpl +++ b/phpBB/templates/Default/viewforum_body.tpl @@ -15,12 +15,12 @@ <!-- BEGIN topicrow --> <tr bgcolor="#DDDDDD" class="tablebody"> <td width="5%" align="center" valign="middle">{topicrow.FOLDER}</td> - <td><a href="viewtopic.{PHPEX}?{S_TOPICS_URL}={topicrow.TOPIC_ID}&{topicrow.REPLIES}">{topicrow.TOPIC_TITLE}</a>{topicrow.GOTO_PAGE}</td> - <td width="5%" align="center" valign="middle">{topicrow.REPLIES}</td> - <td width="10%" align="center" valign="middle">{topicrow.TOPIC_POSTER}</td> + <td><a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a> {topicrow.GOTO_PAGE}</td> + <td width="5%" align="center" valign="middle">{topicrow.REPLIES}</td> + <td width="10%" align="center" valign="middle">{topicrow.TOPIC_POSTER}</td> <td width="5%" align="center" valign="middle">{topicrow.VIEWS}</td> - <td width="15%" align="center" valign="middle">{topicrow.LAST_POST}</td> - </tr> + <td width="15%" align="center" valign="middle">{topicrow.LAST_POST_TIME}<br />{L_BY} <a href="{topicrow.U_LAST_POST_USER_PROFILE}">{topicrow.LAST_POST_USER}</a></td> + </tr> <!-- END topicrow --> </table> </td> diff --git a/phpBB/templates/Default/viewforum_footer.tpl b/phpBB/templates/Default/viewforum_footer.tpl index c55d8ce53b..a89b71de55 100644 --- a/phpBB/templates/Default/viewforum_footer.tpl +++ b/phpBB/templates/Default/viewforum_footer.tpl @@ -8,7 +8,7 @@ <td> <table border="0" width="100%" bgcolor="#CCCCCC" cellpadding="1" cellspacing="1"> <tr> - <td align="left" style="{font-size: 8pt;}"><a href="posting.{PHPEX}?mode=newtopic&{S_FORUMS_URL}={FORUM_ID}"><img src="images/newpost.jpg" height="50" width="250" alt="Post New Topic" border="0"></a></td> + <td align="left" style="{font-size: 8pt;}"><a href="{U_POST_NEW_TOPIC}"><img src="images/newpost.jpg" height="50" width="250" alt="Post New Topic" border="0"></a></td> </tr> </table> </td> diff --git a/phpBB/templates/Default/viewforum_header.tpl b/phpBB/templates/Default/viewforum_header.tpl index 76435867ef..dfc5c52b49 100644 --- a/phpBB/templates/Default/viewforum_header.tpl +++ b/phpBB/templates/Default/viewforum_header.tpl @@ -24,7 +24,7 @@ <table border="0" width="100%" bgcolor="#CCCCCC" cellpadding="1" cellspacing="1"> <tr> <td align="right" style="{font-size: 8pt;}"> - <a href="posting.{PHPEX}?mode=newtopic&{S_FORUMS_URL}={FORUM_ID}"> + <a href="{U_POST_NEW_TOPIC}"> <img src="images/newpost.jpg" height="50" width="250" alt="Post New Topic" border="0"> </a> </td> diff --git a/phpBB/templates/Default/viewtopic_body.tpl b/phpBB/templates/Default/viewtopic_body.tpl index 3ed4ef5af8..0eeb777095 100644 --- a/phpBB/templates/Default/viewtopic_body.tpl +++ b/phpBB/templates/Default/viewtopic_body.tpl @@ -4,9 +4,9 @@ <tr> <td> <table border="0" width="100%" cellpadding="3" cellspacing="1"> - <tr><td wdith="90%" class="tablebody" bgcolor="#CCCCCC">This topic is {PAGES} long. {PAGINATION}</td> - <td width="5%" class="tableheader" align="center"><a href="viewtopic.{PHPEX}?{S_TOPICS_URL}={TOPIC_ID}&view=older"><img src="images/prev.gif" alt="View previous topic" border="0"></a></td> - <td width="5%" class="tableheader" align="center"><a href="viewtopic.{PHPEX}?{S_TOPICS_URL}={TOPIC_ID}&view=newer"><img src="images/next.gif" alt="View next topic" border="0"></a></td> + <tr><td wdith="90%" class="tablebody" bgcolor="#CCCCCC">This topic is {PAGES} {L_PAGES} long. {PAGINATION}</td> + <td width="5%" class="tableheader" align="center"><a href="{U_VIEW_OLDER_TOPIC}"><img src="images/prev.gif" alt="View previous topic" border="0"></a></td> + <td width="5%" class="tableheader" align="center"><a href="{U_VIEW_NEWER_TOPIC}"><img src="images/next.gif" alt="View next topic" border="0"></a></td> </tr> </table> </td> @@ -57,11 +57,11 @@ <td width="90%" class="tablebody" bgcolor="#CCCCCC"><table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td align="left" nowrap><b>{S_TIMEZONE}</b></td> - <td align="right" nowrap>This topic is {PAGES} long. {PAGINATION}</td> + <td align="right" nowrap>This topic is {PAGES} {L_PAGES} long. {PAGINATION}</td> </tr> </table></td> - <td width="5%" class="tableheader" align="center"><a href="viewtopic.{PHPEX}?{S_TOPICS_URL}={TOPIC_ID}&view=older"><img src="images/prev.gif" alt="View previous topic" border="0"></a></td> - <td width="5%" class="tableheader" align="center"><a href="viewtopic.{PHPEX}?{S_TOPICS_URL}={TOPIC_ID}&view=newer"><img src="images/next.gif" alt="View next topic" border="0"></a></td> + <td width="5%" class="tableheader" align="center"><a href="{U_VIEW_OLDER_TOPIC}"><img src="images/prev.gif" alt="View previous topic" border="0"></a></td> + <td width="5%" class="tableheader" align="center"><a href="{U_VIEW_NEWER_TOPIC}"><img src="images/next.gif" alt="View next topic" border="0"></a></td> </tr> </table> </td> diff --git a/phpBB/templates/Default/viewtopic_footer.tpl b/phpBB/templates/Default/viewtopic_footer.tpl index f4277d2cf5..0b03860f44 100644 --- a/phpBB/templates/Default/viewtopic_footer.tpl +++ b/phpBB/templates/Default/viewtopic_footer.tpl @@ -9,9 +9,9 @@ <table border="0" width="100%" bgcolor="#CCCCCC" cellpadding="1" cellspacing="1"> <tr> <td align="left" style="{font-size: 8pt;}"> - <a href="posting.{PHPEX}?mode=newtopic&{S_FORUMS_URL}={FORUM_ID}"> + <a href="{U_POST_NEW_TOPIC}"> <img src="images/newpost.jpg" height="50" width="125" alt="Post New Topic" border="0"></a> - <a href="posting.{PHPEX}?mode=reply&{S_TOPICS_URL}={TOPIC_ID}"> + <a href="{U_POST_REPLY_TOPIC}"> <img src="images/reply.jpg" height="50" width="125" alt="Reply to this topic" border="0"> </a> </td> diff --git a/phpBB/templates/Default/viewtopic_header.tpl b/phpBB/templates/Default/viewtopic_header.tpl index 323162b098..352af43c9f 100644 --- a/phpBB/templates/Default/viewtopic_header.tpl +++ b/phpBB/templates/Default/viewtopic_header.tpl @@ -9,7 +9,7 @@ <table border="0" width="100%" bgcolor="#CCCCCC" cellpadding="1" cellspacing="1"> <tr> <td align="left" valign="bottom" style="{font-size: 8pt; height: 55px;}" nowrap> - <a href="index.{PHPEX}">{SITENAME} - Forum Index</a> >> <a href="viewforum.{PHPEX}?{S_FORUMS_URL}={FORUM_ID}">{FORUM_NAME}</a> >> {TOPIC_TITLE} + <a href="{U_INDEX}">{SITENAME} - Forum Index</a> >> <a href="{U_VIEW_FORUM}">{FORUM_NAME}</a> >> {TOPIC_TITLE} </td> </tr> </table> @@ -22,11 +22,7 @@ <table border="0" width="100%" bgcolor="#CCCCCC" cellpadding="1" cellspacing="1"> <tr> <td align="right" style="{font-size: 8pt;}"> - <a href="posting.{PHPEX}?mode=newtopic&{S_FORUMS_URL}={FORUM_ID}"> - <img src="images/newpost.jpg" height="50" width="125" alt="Post New Topic" border="0"></a> - <a href="posting.{PHPEX}?mode=reply&{S_TOPICS_URL}={TOPIC_ID}"> - <img src="images/reply.jpg" height="50" width="125" alt="Reply to this topic" border="0"> - </a> + <a href="{U_POST_NEW_TOPIC}"><img src="images/newpost.jpg" height="50" width="125" alt="Post New Topic" border="0"></a> <a href="{U_POST_REPLY_TOPIC}"><img src="images/reply.jpg" height="50" width="125" alt="Reply to this topic" border="0"></a> </td> </tr> </table> |