1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 02:57:15 +02:00

Fix for broken download links when using SEF Urls. Cleaned up next/prev template. {GLYPH} now uses 2.x format. eg {GLYPH: type=download&size=2x}

This commit is contained in:
Cameron
2014-02-07 17:57:06 -08:00
parent f3ae51e037
commit ef4ced985a
4 changed files with 88 additions and 26 deletions

View File

@@ -480,7 +480,7 @@ $DOWNLOAD_TEMPLATE['view']['item'] = "
</tr>
<tr>
<td>{DOWNLOAD_VIEW_LINK_LAN}</td>
<td>{DOWNLOAD_VIEW_LINK}</td>
<td>{DOWNLOAD_VIEW_LINK: size=2x}</td>
</tr>
<tr>
<td>{DOWNLOAD_VIEW_RATING_LAN}</td>
@@ -493,7 +493,7 @@ $DOWNLOAD_TEMPLATE['view']['item'] = "
$DOWNLOAD_TEMPLATE['view']['end'] = "";
/*
$DOWNLOAD_TEMPLATE['view']['nextprev'] = "
<div style='text-align:center'>
<table style='".USER_WIDTH."'>
@@ -504,17 +504,21 @@ $DOWNLOAD_TEMPLATE['view']['nextprev'] = "
</tr>
</table>
</div>\n";
*/
$DOWNLOAD_TEMPLATE['view']['nextprev'] = '
<ul class="pager">
<ul class="pager download-view-nextprev">
<li class="previous">
{DOWNLOAD_VIEW_PREV}
{DOWNLOAD_VIEW_PREV}
</li>
<li>
{DOWNLOAD_BACK_TO_LIST}
</li>
<li class="next">
{DOWNLOAD_VIEW_NEXT}
{DOWNLOAD_VIEW_NEXT}
</li>
</ul>
<div class="text-center">{DOWNLOAD_BACK_TO_LIST}</div>
';
// ##### ------------------------------------------------------------------------------------------