From 71d81a5ef37dfdbde79c0d0dfc694ceaf9e24a8c Mon Sep 17 00:00:00 2001 From: "mike.morgan%oregonstate.edu" Date: Mon, 18 Jul 2005 08:59:50 +0000 Subject: [PATCH] adjusted Themes blocks in order to include description and be consistent. --- webtools/addons/overview.php | 1 + webtools/addons/tpl/overview.tpl | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/webtools/addons/overview.php b/webtools/addons/overview.php index ab576f519a7..2865ff243c4 100644 --- a/webtools/addons/overview.php +++ b/webtools/addons/overview.php @@ -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 diff --git a/webtools/addons/tpl/overview.tpl b/webtools/addons/tpl/overview.tpl index 9c483d60e49..11061557d0f 100644 --- a/webtools/addons/tpl/overview.tpl +++ b/webtools/addons/tpl/overview.tpl @@ -15,7 +15,7 @@
    {section name=new loop=$newest}
  1. -{$newest[new].Name} {$newest[new].Version} ({$newest[new].DateAdded|date_format}) - {$newest[new].Description} ... +{$newest[new].Name} {$newest[new].Version} ({$newest[new].DateAdded|date_format}) - {$newest[new].Description|escape} ...
  2. {/section}
@@ -25,7 +25,7 @@
    {section name=pe loop=$popularExtensions}
  1. -{$popularExtensions[pe].name} ({$popularExtensions[pe].Rating} rating, {$popularExtensions[pe].dc} downloads) - {$popularExtensions[pe].Description} ... +{$popularExtensions[pe].name} ({$popularExtensions[pe].Rating} rating, {$popularExtensions[pe].dc} downloads) - {$popularExtensions[pe].Description|escape} ...
  2. {/section}
@@ -34,7 +34,7 @@

Popular {$app} Themes

    {section name=pt loop=$popularThemes} -
  1. {$popularThemes[pt].name} ({$popularThemes[pt].Rating} rating, {$popularThemes[pt].dc} downloads)
  2. +
  3. {$popularThemes[pt].name} ({$popularThemes[pt].Rating} rating, {$popularThemes[pt].dc} downloads) - {$popularThemes[pt].Description|escape} ...
  4. {/section}

More ...