summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2010-04-21 09:41:17 -0600
committerSteve Dibb <beandog@gentoo.org>2010-04-21 09:41:17 -0600
commit80b1dec07f920f4e5e8d31bfdaf2c5c648d73056 (patch)
treef7642a81faffd4faaeb1842bb3a3a9d12e4f8665 /categories.php
parentcosmetics (diff)
downloadznurt-org-frontend-80b1dec07f920f4e5e8d31bfdaf2c5c648d73056.tar.gz
znurt-org-frontend-80b1dec07f920f4e5e8d31bfdaf2c5c648d73056.tar.bz2
znurt-org-frontend-80b1dec07f920f4e5e8d31bfdaf2c5c648d73056.zip
recent updates
Diffstat (limited to 'categories.php')
-rw-r--r--categories.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/categories.php b/categories.php
index bb08275..55f669e 100644
--- a/categories.php
+++ b/categories.php
@@ -6,7 +6,7 @@
require_once 'class.db.category.php';
- $sql = "SELECT name, description FROM category ORDER BY name;";
+ $sql = "SELECT c.name, cd.description FROM category c LEFT OUTER JOIN category_description cd ON cd.category = c.id AND cd.lingua = ".$db->quote($lingua)." ORDER BY c.name;";
$arr = $db->getAssoc($sql);
$str = gettext('CATEGORIES');
@@ -14,7 +14,7 @@
echo "<div class='about'>\n";
- echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'/>\n";
+ echo "<hr class='pkg_rule' style='margin-bottom: 15px; margin-top: 15px;'>\n";
echo "<table style='padding-bottom: 25px;' cellpadding='4' cellspacing='0'>\n";