summaryrefslogtreecommitdiff
path: root/modules/section.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-02-12 20:40:43 +0000
committerDries Buytaert <dries@buytaert.net>2001-02-12 20:40:43 +0000
commitdb554e857dc90b4c4f26ad49454c5d92c17e1024 (patch)
tree430cdb71c2ef19e808bd74332a92afe443bc21bf /modules/section.module
parent3ba9cb5d72c0be6941c56bd113850aac3587b981 (diff)
downloadbrdo-db554e857dc90b4c4f26ad49454c5d92c17e1024.tar.gz
brdo-db554e857dc90b4c4f26ad49454c5d92c17e1024.tar.bz2
- initial import of the preliminary translation code.
- added timer.inc for benchmarking purpose - bugfix for php-clean - bugfix for account.php - removed redundant format_data - ...
Diffstat (limited to 'modules/section.module')
-rw-r--r--modules/section.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/section.module b/modules/section.module
index 2ee5869d9..af07100f5 100644
--- a/modules/section.module
+++ b/modules/section.module
@@ -20,7 +20,7 @@ function section_help() {
function section_block() {
$result = db_query("SELECT se.name, COUNT(st.id) AS stories FROM sections se LEFT JOIN stories st ON se.name = st.section GROUP BY se.name");
while ($_section = db_fetch_object($result)) {
- $content .= "<LI><A HREF=\"?section=". urlencode($_section->name) ."\">$_section->name</A> (". format_data($_section->stories, 0) .")</LI>\n";
+ $content .= "<LI><A HREF=\"?section=". urlencode($_section->name) ."\">$_section->name</A> (". check_output($_section->stories, 0) .")</LI>\n";
}
$block[0]["subject"] = "Sections";