adjusted Themes blocks in order to include description and be consistent.

This commit is contained in:
mike.morgan%oregonstate.edu 2005-07-18 08:59:50 +00:00
parent 540992eb4e
commit ad733c846c
2 changed files with 4 additions and 3 deletions

View File

@ -65,6 +65,7 @@ $db->query("
TM.ID id,
TM.Name name,
TM.Rating,
LEFT(TM.Description,255) as Description,
TM.downloadcount dc
FROM
main TM

View File

@ -15,7 +15,7 @@
<ol class="popularlist">
{section name=new loop=$newest}
<li>
<a href="./addon.php?id={$newest[new].ID}">{$newest[new].Name} {$newest[new].Version}</a> ({$newest[new].DateAdded|date_format}) - {$newest[new].Description} ...
<a href="./addon.php?id={$newest[new].ID}">{$newest[new].Name} {$newest[new].Version}</a> ({$newest[new].DateAdded|date_format}) - {$newest[new].Description|escape} ...
</li>
{/section}
</ol>
@ -25,7 +25,7 @@
<ol class="popularlist">
{section name=pe loop=$popularExtensions}
<li>
<a href="./addon.php?id={$popularExtensions[pe].id}">{$popularExtensions[pe].name}</a> <span class="downloads">({$popularExtensions[pe].Rating} rating, {$popularExtensions[pe].dc} downloads)</span> - {$popularExtensions[pe].Description} ...
<a href="./addon.php?id={$popularExtensions[pe].id}">{$popularExtensions[pe].name}</a> <span class="downloads">({$popularExtensions[pe].Rating} rating, {$popularExtensions[pe].dc} downloads)</span> - {$popularExtensions[pe].Description|escape} ...
</li>
{/section}
</ol>
@ -34,7 +34,7 @@
<h2>Popular {$app} Themes</h2>
<ol class="popularlist">
{section name=pt loop=$popularThemes}
<li><a href="./addon.php?id={$popularThemes[pt].id}">{$popularThemes[pt].name}</a> <span class="downloads">({$popularThemes[pt].Rating} rating, {$popularThemes[pt].dc} downloads)</span></li>
<li><a href="./addon.php?id={$popularThemes[pt].id}">{$popularThemes[pt].name}</a> <span class="downloads">({$popularThemes[pt].Rating} rating, {$popularThemes[pt].dc} downloads)</span> - {$popularThemes[pt].Description|escape} ...</li>
{/section}
</ol>
<p><strong><a href="./search.php?app={$app}&amp;cat=Popular&amp;type=T">More ...</a></strong></p>