[geeklog-cvs] geeklog-1.3/plugins/staticpages functions.inc,1.23,1.24
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Fri Jun 27 09:44:51 EDT 2003
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/docs staticpages.html,1.4,1.5
- Next message (by thread): [geeklog-cvs] geeklog-1.3/plugins/staticpages/language czech.php,1.2,1.3 danish.php,1.5,1.6 english.php,1.8,1.9 german.php,1.9,1.10 polish.php,1.5,1.6 spanish.php,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvs/geeklog/geeklog-1.3/plugins/staticpages
In directory internal.geeklog.net:/tmp/cvs-serv10381/plugins/staticpages
Modified Files:
functions.inc
Log Message:
The Static Pages "Topic" selection now works like the one for blocks, i.e. you can have pages for one topic only, the homepage only, or all pages (all topic pages and the homepage).
Index: functions.inc
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/plugins/staticpages/functions.inc,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** functions.inc 26 Jun 2003 18:36:44 -0000 1.23
--- functions.inc 27 Jun 2003 13:44:49 -0000 1.24
***************
*** 361,368 ****
}
if (empty ($topic)) {
! $moresql = "(sp_where = $where) AND (sp_tid = 'none')";
} else {
! $moresql = "(sp_where = $where) AND (sp_tid = '{$topic}')";
}
--- 361,369 ----
}
+ $moresql = "(sp_where = $where) AND ";
if (empty ($topic)) {
! $moresql .= "((sp_tid = 'none') OR (sp_tid = 'all'))";
} else {
! $moresql .= "((sp_tid = '{$topic}') OR (sp_tid = 'all'))";
}
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/docs staticpages.html,1.4,1.5
- Next message (by thread): [geeklog-cvs] geeklog-1.3/plugins/staticpages/language czech.php,1.2,1.3 danish.php,1.5,1.6 english.php,1.8,1.9 german.php,1.9,1.10 polish.php,1.5,1.6 spanish.php,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the geeklog-cvs
mailing list