mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
adjusted Themes blocks in order to include description and be consistent.
This commit is contained in:
parent
540992eb4e
commit
ad733c846c
@ -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
|
||||
|
@ -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}&cat=Popular&type=T">More ...</a></strong></p>
|
||||
|
Loading…
Reference in New Issue
Block a user