[geeklog-cvs] geeklog-1.3/public_html/admin/plugins/staticpages index.php,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 changes.html,1.12,1.13 install.html,1.11,1.12 support.html,1.7,1.8 theme.html,1.22,1.23 themevars.html,1.1,1.2
- Next message (by thread): [geeklog-cvs] geeklog-1.3/docs staticpages.html,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin/plugins/staticpages
In directory internal.geeklog.net:/tmp/cvs-serv10381/public_html/admin/plugins/staticpages
Modified Files:
index.php
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: index.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/plugins/staticpages/index.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** index.php 27 Jun 2003 08:51:26 -0000 1.23
--- index.php 27 Jun 2003 13:44:49 -0000 1.24
***************
*** 150,153 ****
--- 150,158 ----
}
$topics = COM_topicList ('tid,topic', $current_topic);
+ $alltopics = '<option value="all"';
+ if ($current_topic == 'all') {
+ $alltopics .= ' selected="selected"';
+ }
+ $alltopics .= '>' . $LANG_STATIC['all_topics'] . '</option>' . LB;
$notopic = '<option value="none"';
if ($current_topic == 'none') {
***************
*** 156,160 ****
$notopic .= '>' . $LANG_STATIC['no_topic'] . '</option>' . LB;
$sp_template->set_var ('topic_selection', '<select name="sp_tid">'
! . $topics . $notopic . '</select>');
$position = '<select name="sp_where">';
$position .= '<option value="1"';
--- 161,165 ----
$notopic .= '>' . $LANG_STATIC['no_topic'] . '</option>' . LB;
$sp_template->set_var ('topic_selection', '<select name="sp_tid">'
! . $alltopics . $notopic . $topics . '</select>');
$position = '<select name="sp_where">';
$position .= '<option value="1"';
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/docs changes.html,1.12,1.13 install.html,1.11,1.12 support.html,1.7,1.8 theme.html,1.22,1.23 themevars.html,1.1,1.2
- Next message (by thread): [geeklog-cvs] geeklog-1.3/docs staticpages.html,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the geeklog-cvs
mailing list