[geeklog-cvs] geeklog-1.3/public_html/admin/install install.php,1.48,1.49
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Fri Jun 27 05:27:06 EDT 2003
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/docs staticpages.html,1.3,1.4
- Next 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
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin/install
In directory internal.geeklog.net:/tmp/cvs-serv7996
Modified Files:
install.php
Log Message:
Pick up the title (from the label ...) for an existing static page that used the "static page on frontpage" hack.
Index: install.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/install/install.php,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** install.php 30 May 2003 12:24:32 -0000 1.48
--- install.php 27 Jun 2003 09:27:04 -0000 1.49
***************
*** 434,438 ****
if ($spversion > 0) {
// update plugin version number
! DB_query ("UPDATE {$_TABLES['plugins']} SET pi_version = '1.3' WHERE pi_name = 'staticpages'");
// remove Static Pages 'lock' flag
--- 434,438 ----
if ($spversion > 0) {
// update plugin version number
! DB_query ("UPDATE {$_TABLES['plugins']} SET pi_version = '1.3', pi_gl_version = '1.3.8' WHERE pi_name = 'staticpages'");
// remove Static Pages 'lock' flag
***************
*** 456,459 ****
--- 456,461 ----
if ($A['sp_label'] == 'nonews') {
DB_query ("UPDATE {$_TABLES['staticpage']} SET sp_centerblock = 1, sp_where = 0 WHERE sp_title = 'Frontpage'");
+ } else if (!empty ($A['sp_label'])) {
+ DB_query ("UPDATE {$_TABLES['staticpage']} SET sp_centerblock = 1, sp_title = '{$A['sp_label']}' WHERE sp_title = 'Frontpage'");
} else {
DB_query ("UPDATE {$_TABLES['staticpage']} SET sp_centerblock = 1 WHERE sp_title = 'Frontpage'");
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/docs staticpages.html,1.3,1.4
- Next 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
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the geeklog-cvs
mailing list