mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 18:26:32 +02:00
- remove output buffering options from download.php (not needed anymore)
- optimized viewtopic.php a little bit - removed the create_function (was consuming too much memory) from viewtopic - check for manually added convert[.exe] program name to imagemagick path in admin_attachments - reduced filesize checking for imagemagick program (some installations require less than 20k) - added checked="checked" for "not selected" topic icon - moved parse_text_display function from functions_posting.php to functions.php (see comment above function) - check for user_id != ANONYMOUS in page_footer for displaying the administration link (there seems to be a problem checking for global options) - rewrote attachment thumbnail functions - utilize GD2 functions if available, more uptodate checks... - changed final thumbnail size calculation - define S_ROW_COUNT within template class itself - added SID to template vars in page_header - added ability to view topic/forum within admin_viewlogs - added optional acl checking to make_jumpbox, no need to duplicate the function for this small need - added custom body file for confirm_box git-svn-id: file:///svn/phpbb/trunk@4920 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -54,15 +54,15 @@
|
||||
<td width="100%"><b class="gen">{VISITED}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="gen" align="right" nowrap="nowrap">{L_TOTAL_POSTS}: </td>
|
||||
<td class="gen" align="right" valign="top" nowrap="nowrap">{L_TOTAL_POSTS}: </td>
|
||||
<td><!-- IF POSTS_PCT neq 0 --><b class="gen">{POSTS}</b><br /><span class="genmed">[{POSTS_PCT} / {POSTS_DAY}]<br /><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a></span><!-- ELSE --><b class="gen">{POSTS}<b><!-- ENDIF --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="gen" align="right" nowrap="nowrap">{L_ACTIVE_IN_FORUM}: </td>
|
||||
<td class="gen" align="right" valign="top" nowrap="nowrap">{L_ACTIVE_IN_FORUM}: </td>
|
||||
<td><!-- IF ACTIVE_FORUM_PCT neq 0 --><b><a class="gen" href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></b><br /><span class="genmed">[ {ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="gen" align="right" nowrap="nowrap">{L_ACTIVE_IN_TOPIC}: </td>
|
||||
<td class="gen" align="right" valign="top" nowrap="nowrap">{L_ACTIVE_IN_TOPIC}: </td>
|
||||
<td><!-- IF ACTIVE_TOPIC_PCT neq 0 --><b><a class="gen" href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="gensmall">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
|
@@ -168,7 +168,7 @@ function checkForm()
|
||||
<td class="row1"><b class="genmed">{L_ICON}:</b></td>
|
||||
<td class="row2"><table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td><input type="radio" name="icon" value="0" /><span class="genmed">{L_NONE}</span> <!-- BEGIN topic_icon --><input type="radio" name="icon" value="{topic_icon.ICON_ID}"{topic_icon.S_ICON_CHECKED} /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" hspace="2" vspace="2" /> <!-- END topic_icon --></td>
|
||||
<td><input type="radio" name="icon" value="0"{S_NO_ICON_CHECKED} /><span class="genmed">{L_NONE}</span> <!-- BEGIN topic_icon --><input type="radio" name="icon" value="{topic_icon.ICON_ID}"{topic_icon.S_ICON_CHECKED} /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" hspace="2" vspace="2" /> <!-- END topic_icon --></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
|
@@ -53,13 +53,8 @@
|
||||
<td class="row2" width="50" align="center"><p class="topicdetails">{topicrow.VIEWS}</p></td>
|
||||
<td class="row1" width="120" align="center">
|
||||
<p class="topicdetails">{topicrow.LAST_POST_TIME}</p>
|
||||
<p class="topicdetails">
|
||||
<!-- IF topicrow.U_LAST_POST_AUTHOR -->
|
||||
<a href="{topicrow.U_LAST_POST_AUTHOR}">{topicrow.LAST_POST_AUTHOR}</a>
|
||||
<!-- ELSE -->
|
||||
{topicrow.LAST_POST_AUTHOR}
|
||||
<!-- ENDIF -->
|
||||
<a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_IMG}</a>
|
||||
<p class="topicdetails"><!-- IF topicrow.U_LAST_POST_AUTHOR --><a href="{topicrow.U_LAST_POST_AUTHOR}">{topicrow.LAST_POST_AUTHOR}</a><!-- ELSE -->{topicrow.LAST_POST_AUTHOR}<!-- ENDIF -->
|
||||
<a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_IMG}</a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -173,13 +168,8 @@
|
||||
<td class="row2" width="50" align="center"><p class="topicdetails">{topicrow.VIEWS}</p></td>
|
||||
<td class="row1" width="120" align="center">
|
||||
<p class="topicdetails">{topicrow.LAST_POST_TIME}</p>
|
||||
<p class="topicdetails">
|
||||
<!-- IF topicrow.U_LAST_POSTER -->
|
||||
<a href="{topicrow.U_LAST_POST_AUTHOR}">{topicrow.LAST_POST_AUTHOR}</a>
|
||||
<!-- ELSE -->
|
||||
{topicrow.LAST_POST_AUTHOR}
|
||||
<!-- ENDIF -->
|
||||
<a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_IMG}</a>
|
||||
<p class="topicdetails"><!-- IF topicrow.U_LAST_POST_AUTHOR --><a href="{topicrow.U_LAST_POST_AUTHOR}">{topicrow.LAST_POST_AUTHOR}</a><!-- ELSE -->{topicrow.LAST_POST_AUTHOR}<!-- ENDIF -->
|
||||
<a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_IMG}</a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -197,11 +187,11 @@
|
||||
|
||||
<tr align="center">
|
||||
<!-- IF S_TOPIC_ICONS -->
|
||||
<td class="cat" colspan="8"><form method="post" action="{S_TOPIC_ACTION}">
|
||||
<td class="cat" colspan="8">
|
||||
<!-- ELSE -->
|
||||
<td class="cat" colspan="7" >
|
||||
<!-- ENDIF -->
|
||||
<span class="gensmall">{L_DISPLAY_TOPICS}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" name="sort" value="{L_GO}" /></form></td>
|
||||
<form method="post" action="{S_TOPIC_ACTION}"><span class="gensmall">{L_DISPLAY_TOPICS}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" name="sort" value="{L_GO}" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
Reference in New Issue
Block a user