Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12174
Modified Files:
comment.php exit.php index.php rss.php serendipity.css.php
serendipity_admin.php serendipity_admin_image_selector.php
serendipity_config.inc.php serendipity_define.js.php
serendipity_editor.js serendipity_xmlrpc.php wfwcomment.php
Log Message:
Update and unify licensing header
Index: serendipity_admin.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_admin.php,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- serendipity_admin.php 24 Jan 2005 08:38:01 -0000 1.64
+++ serendipity_admin.php 26 Jan 2005 14:15:26 -0000 1.65
@@ -1,4 +1,6 @@
<?php # $Id$
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
+# All rights reserved. See LICENSE file for licensing details
session_start();
Index: serendipity_config.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_config.inc.php,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -d -r1.136 -r1.137
--- serendipity_config.inc.php 25 Jan 2005 09:18:12 -0000 1.136
+++ serendipity_config.inc.php 26 Jan 2005 14:15:26 -0000 1.137
@@ -1,6 +1,7 @@
<?php # $Id$
-# Copyright (c) 2003-2004, Jannis Hermanns
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
+
if (!defined('S9Y_INCLUDE_PATH')) {
define('S9Y_INCLUDE_PATH', dirname(__FILE__) . '/');
}
Index: serendipity_editor.js
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_editor.js,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- serendipity_editor.js 15 Dec 2004 19:46:34 -0000 1.16
+++ serendipity_editor.js 26 Jan 2005 14:15:26 -0000 1.17
@@ -1,5 +1,7 @@
<!-- // Hide from older browsers
/* $Id$ */
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
+# All rights reserved. See LICENSE file for licensing details
/*
Written by chris wetherell
Index: index.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/index.php,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- index.php 11 Jan 2005 12:53:26 -0000 1.72
+++ index.php 26 Jan 2005 14:15:26 -0000 1.73
@@ -1,4 +1,6 @@
<?php # $Id$
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
+# All rights reserved. See LICENSE file for licensing details
$global_debug = false;
if ($global_debug) {
Index: rss.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/rss.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- rss.php 3 Jan 2005 18:03:39 -0000 1.38
+++ rss.php 26 Jan 2005 14:15:26 -0000 1.39
@@ -1,4 +1,7 @@
<?php # $Id$
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
+# All rights reserved. See LICENSE file for licensing details
+
header('Content-Type: text/xml; charset=utf-8');
include_once('serendipity_config.inc.php');
Index: serendipity.css.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity.css.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- serendipity.css.php 24 Jan 2005 10:47:49 -0000 1.36
+++ serendipity.css.php 26 Jan 2005 14:15:26 -0000 1.37
@@ -1,4 +1,6 @@
<?php # $Id$
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
+# All rights reserved. See LICENSE file for licensing details
session_start();
Index: serendipity_xmlrpc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_xmlrpc.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- serendipity_xmlrpc.php 17 Jan 2005 19:16:54 -0000 1.21
+++ serendipity_xmlrpc.php 26 Jan 2005 14:15:26 -0000 1.22
@@ -1,4 +1,6 @@
<?php # $Id$
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
+# All rights reserved. See LICENSE file for licensing details
$debug_xmlrpc = false;
if ($debug_xmlrpc) {
@@ -452,11 +454,11 @@
}
$full = $serendipity['serendipityPath'] . $serendipity['uploadPath'] . $struct['name'];
-
+
if (!is_dir(dirname($full))) {
@mkdir(dirname($full));
}
-
+
$fp = fopen($full, 'w');
fwrite($fp, $struct['bits']);
fclose($fp);
Index: wfwcomment.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/wfwcomment.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- wfwcomment.php 2 Dec 2004 10:54:29 -0000 1.4
+++ wfwcomment.php 26 Jan 2005 14:15:26 -0000 1.5
@@ -1,5 +1,5 @@
<?php # $Id$
-# Copyright (c) 2003-2004, Jannis Hermanns
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
session_start();
@@ -7,11 +7,11 @@
if ($_REQUEST['cid'] != '' && $HTTP_RAW_POST_DATA != '') {
$comment = array();
-
+
if (!preg_match('@<author[^>]*>(.*)</author[^>]*>@i', $HTTP_RAW_POST_DATA, $name)) {
preg_match('@<dc:creator[^>]*>(.*)</dc:creator[^>]*>@i', $HTTP_RAW_POST_DATA, $name);
}
-
+
if (isset($name[1]) && !empty($name[1])) {
if (preg_match('@^(.*)\((.*)\)@i', $name[1], $names)) {
$comment['name'] = utf8_decode($names[2]);
@@ -20,18 +20,18 @@
$comment['name'] = utf8_decode($names[1]);
}
}
-
+
if (preg_match('@<link[^>]*>(.*)</link[^>]*>@i', $HTTP_RAW_POST_DATA, $link)) {
$comment['url'] = utf8_decode($link[1]);
}
-
+
if (preg_match('@<description[^>]*>(.*)</description[^>]*>@ims', $HTTP_RAW_POST_DATA, $description)) {
if (preg_match('@^<!\[CDATA\[(.*)\]\]>@ims', $description[1], $cdata)) {
$comment['comment'] = utf8_decode($cdata[1]);
} else {
$comment['comment'] = utf8_decode($description[1]);
}
-
+
if (!empty($comment['comment'])) {
serendipity_saveComment($_REQUEST['cid'], $comment, 'NORMAL');
}
Index: serendipity_admin_image_selector.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_admin_image_selector.php,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- serendipity_admin_image_selector.php 10 Dec 2004 16:56:05 -0000 1.37
+++ serendipity_admin_image_selector.php 26 Jan 2005 14:15:26 -0000 1.38
@@ -1,13 +1,6 @@
<?php # $Id$
-
-##########################################################################
-# serendipity - another blogger... #
-##########################################################################
-# #
-# (c) 2003 Jannis Hermanns <J...@ha...> #
-# http://www.jannis.to/programming/serendipity.html #
-# #
-##########################################################################
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
+# All rights reserved. See LICENSE file for licensing details
session_start();
include('serendipity_config.inc.php');
Index: exit.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/exit.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- exit.php 19 Nov 2004 11:04:58 -0000 1.12
+++ exit.php 26 Jan 2005 14:15:26 -0000 1.13
@@ -1,4 +1,6 @@
<?php # $Id$
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
+# All rights reserved. See LICENSE file for licensing details
include_once 'serendipity_config.inc.php';
Index: serendipity_define.js.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_define.js.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- serendipity_define.js.php 2 Dec 2004 10:54:29 -0000 1.2
+++ serendipity_define.js.php 26 Jan 2005 14:15:26 -0000 1.3
@@ -1,7 +1,8 @@
<?php # $Id$
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
+# All rights reserved. See LICENSE file for licensing details
header('Content-type: application/x-javascript');
-
include_once('serendipity_config.inc.php');
?>
<!-- // Hide from older browsers
Index: comment.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/comment.php,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- comment.php 2 Dec 2004 12:23:08 -0000 1.56
+++ comment.php 26 Jan 2005 14:15:26 -0000 1.57
@@ -1,6 +1,7 @@
<?php # $Id$
-# Copyright (c) 2003-2004, Jannis Hermanns
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
+
session_start();
include_once('serendipity_config.inc.php');
header('Content-Type: text/html; charset=' . LANG_CHARSET);
|