[geeklog-cvs] geeklog: Fixed copyrights, version numbers; cosmetics
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Aug 8 15:18:25 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/4e31048d5d3c
changeset: 7238:4e31048d5d3c
user: Dirk Haun <dirk at haun-online.de>
date: Sat Aug 08 21:05:28 2009 +0200
description:
Fixed copyrights, version numbers; cosmetics
diffstat:
plugins/staticpages/sql/mssql_install.php | 12 +++++++-----
plugins/staticpages/sql/mssql_updates.php | 14 +++++---------
plugins/staticpages/sql/mysql_install.php | 12 ++++++++----
plugins/staticpages/sql/mysql_updates.php | 16 +++++++---------
4 files changed, 27 insertions(+), 27 deletions(-)
diffs (149 lines):
diff -r 0a579edfe4b0 -r 4e31048d5d3c plugins/staticpages/sql/mssql_install.php
--- a/plugins/staticpages/sql/mssql_install.php Sat Aug 08 20:57:56 2009 +0200
+++ b/plugins/staticpages/sql/mssql_install.php Sat Aug 08 21:05:28 2009 +0200
@@ -2,11 +2,11 @@
/* Reminder: always indent with 4 spaces (no tabs). */
// +---------------------------------------------------------------------------+
-// | Static Pages Plugin 1.4.2 |
+// | Static Pages Plugin 1.6 |
// +---------------------------------------------------------------------------+
// | Installation SQL |
// +---------------------------------------------------------------------------+
-// | Copyright (C) 2000-2006 by the following authors: |
+// | Copyright (C) 2000-2009 by the following authors: |
// | |
// | Authors: Tony Bibbs - tony AT tonybibbs DOT com |
// | Tom Willett - twillett AT users DOT sourceforge DOT net |
@@ -29,10 +29,12 @@
// | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
// | |
// +---------------------------------------------------------------------------+
-//
-// $Id: mssql_install.php,v 1.5 2008/08/12 18:13:35 mjervis Exp $
-
+/**
+* MS SQL updates
+*
+* @package Staticpage
+*/
$_SQL[] = "
CREATE TABLE [dbo].[{$_TABLES['staticpage']}] (
diff -r 0a579edfe4b0 -r 4e31048d5d3c plugins/staticpages/sql/mssql_updates.php
--- a/plugins/staticpages/sql/mssql_updates.php Sat Aug 08 20:57:56 2009 +0200
+++ b/plugins/staticpages/sql/mssql_updates.php Sat Aug 08 21:05:28 2009 +0200
@@ -2,16 +2,13 @@
/* Reminder: always indent with 4 spaces (no tabs). */
// +---------------------------------------------------------------------------+
-// | Static Pages Plugin 1.4.2 |
+// | Static Pages Plugin 1.6 |
// +---------------------------------------------------------------------------+
-// | Installation SQL |
+// | Upgrade SQL |
// +---------------------------------------------------------------------------+
-// | Copyright (C) 2000-2006 by the following authors: |
+// | Copyright (C) 2009 by the following authors: |
// | |
-// | Authors: Tony Bibbs - tony AT tonybibbs DOT com |
-// | Tom Willett - twillett AT users DOT sourceforge DOT net |
-// | Blaine Lang - langmail AT sympatico DOT ca |
-// | Dirk Haun - dirk AT haun-online DOT de |
+// | Authors: Tom Homer - websitemaster AT cogeco DOT net |
// +---------------------------------------------------------------------------+
// | |
// | This program is licensed under the terms of the GNU General Public License|
@@ -41,7 +38,6 @@
"ALTER TABLE {$_TABLES['staticpage']} ADD meta_description [varchar] (5000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL AFTER commentcode, ADD meta_keywords [meta_keywords] [varchar] (5000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL AFTER meta_description"
)
-
);
function update_ConfValues_1_6_0()
@@ -51,7 +47,7 @@
require_once $_CONF['path_system'] . 'classes/config.class.php';
$c = config::get_instance();
-
+
// meta tag config options.
$c->add('meta_tags', $_SP_DEFAULT['meta_tags'], 'select', 0, 0, 0, 120, true, 'staticpages');
diff -r 0a579edfe4b0 -r 4e31048d5d3c plugins/staticpages/sql/mysql_install.php
--- a/plugins/staticpages/sql/mysql_install.php Sat Aug 08 20:57:56 2009 +0200
+++ b/plugins/staticpages/sql/mysql_install.php Sat Aug 08 21:05:28 2009 +0200
@@ -2,11 +2,11 @@
/* Reminder: always indent with 4 spaces (no tabs). */
// +---------------------------------------------------------------------------+
-// | Static Pages Plugin 1.4.2 |
+// | Static Pages Plugin 1.6 |
// +---------------------------------------------------------------------------+
// | Installation SQL |
// +---------------------------------------------------------------------------+
-// | Copyright (C) 2000-2006 by the following authors: |
+// | Copyright (C) 2000-2009 by the following authors: |
// | |
// | Authors: Tony Bibbs - tony AT tonybibbs DOT com |
// | Tom Willett - twillett AT users DOT sourceforge DOT net |
@@ -28,8 +28,12 @@
// | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
// | |
// +---------------------------------------------------------------------------+
-//
-// $Id: mysql_install.php,v 1.3 2007/08/09 18:29:34 dhaun Exp $
+
+/**
+* MySQL install
+*
+* @package Staticpage
+*/
$_SQL[] = "
CREATE TABLE {$_TABLES['staticpage']} (
diff -r 0a579edfe4b0 -r 4e31048d5d3c plugins/staticpages/sql/mysql_updates.php
--- a/plugins/staticpages/sql/mysql_updates.php Sat Aug 08 20:57:56 2009 +0200
+++ b/plugins/staticpages/sql/mysql_updates.php Sat Aug 08 21:05:28 2009 +0200
@@ -2,16 +2,13 @@
/* Reminder: always indent with 4 spaces (no tabs). */
// +---------------------------------------------------------------------------+
-// | Static Pages Plugin 1.4.2 |
+// | Static Pages Plugin 1.6 |
// +---------------------------------------------------------------------------+
-// | Installation SQL |
+// | Upgrade SQL |
// +---------------------------------------------------------------------------+
-// | Copyright (C) 2000-2006 by the following authors: |
+// | Copyright (C) 2009 by the following authors: |
// | |
-// | Authors: Tony Bibbs - tony AT tonybibbs DOT com |
-// | Tom Willett - twillett AT users DOT sourceforge DOT net |
-// | Blaine Lang - langmail AT sympatico DOT ca |
-// | Dirk Haun - dirk AT haun-online DOT de |
+// | Authors: Tom Homer - websitemaster AT cogeco DOT net |
// +---------------------------------------------------------------------------+
// | |
// | This program is licensed under the terms of the GNU General Public License|
@@ -38,7 +35,8 @@
$_UPDATES = array(
'1.6.0' => array(
- "ALTER TABLE {$_TABLES['staticpage']} ADD meta_description TEXT NULL AFTER commentcode, ADD meta_keywords TEXT NULL AFTER meta_description"
+ "ALTER TABLE {$_TABLES['staticpage']} ADD meta_description TEXT NULL AFTER commentcode",
+ "ALTER TABLE {$_TABLES['staticpage']} ADD meta_keywords TEXT NULL AFTER meta_description"
)
);
@@ -50,7 +48,7 @@
require_once $_CONF['path_system'] . 'classes/config.class.php';
$c = config::get_instance();
-
+
// meta tag config options.
$c->add('meta_tags', $_SP_DEFAULT['meta_tags'], 'select', 0, 0, 0, 120, true, 'staticpages');
More information about the geeklog-cvs
mailing list