Permalink
Browse files

Add standard Free Software files.

  • Loading branch information...
1 parent e94eaa6 commit 6f5e024c9ef08a7f1e2f012933903bc7522e979f @rosslagerwall committed Jun 25, 2011
Showing with 56 additions and 16 deletions.
  1. +1 −0 AUTHORS
  2. +37 −0 ChangeLog
  3. +15 −0 INSTALL
  4. 0 NEWS
  5. +1 −14 README
  6. +1 −1 comment.php
  7. +1 −1 postcomment.php
View
@@ -0,0 +1 @@
+Ross Lagerwall <rosslagerwall@gmail.com
View
@@ -0,0 +1,37 @@
+changeset: 6:8b97911c86e9
+tag: tip
+user: Ross Lagerwall <rosslagerwall@gmail.com>
+date: Mon May 30 08:40:55 2011 +0200
+summary: Replace shiz with Ross Lagerwall.
+
+changeset: 5:aeee641fcc94
+user: Ross Lagerwall <rosslagerwall@gmail.com>
+date: Mon May 30 08:40:02 2011 +0200
+summary: Update copyright year.
+
+changeset: 4:aae89c27bff8
+user: Ross Lagerwall <rosslagerwall@gmail.com>
+date: Mon May 30 08:39:16 2011 +0200
+summary: Fix permissions: change all files from 755 to 644.
+
+changeset: 3:050d01ddfc48
+user: Ross Lagerwall <rosslagerwall@gmail.com>
+date: Mon May 30 08:38:36 2011 +0200
+summary: Change Readme.txt to standardized README.
+
+changeset: 2:b06c2a3daabc
+user: Ross Lagerwall <rosslagerwall@gmail.com>
+date: Mon May 30 08:37:50 2011 +0200
+summary: Remove unnecesary Readme files.
+
+changeset: 1:d1e7f9e584a9
+user: Ross Lagerwall <rosslagerwall@gmail.com>
+date: Wed Apr 13 07:05:15 2011 +0200
+summary: Added tag v1.0 for changeset f34b14136c25
+
+changeset: 0:f34b14136c25
+tag: v1.0
+user: Ross Lagerwall <rosslagerwall@gmail.com>
+date: Wed Apr 13 07:05:11 2011 +0200
+summary: Initial commit
+
View
15 INSTALL
@@ -0,0 +1,15 @@
+Installation Instructions
+=========================
+
+This release contains two files:
+ comment.php
+ postcomment.php
+
+To use, place the following lines of text where you want to use it.
+
+ <?php
+ include("comment.php");
+ comment("index");
+ ?>
+
+where index is the name of the page that will contain the comments.
View
0 NEWS
No changes.
View
15 README
@@ -1,25 +1,12 @@
SimpleCommentSystem 1.0
Copyright 2011. Ross Lagerwall
-This software is released under the LGPL.
+This software is released under the LGPL Version 3.
SimpleCommentSystem is an easy to use comment system that does not rely on
databases and simply uses text files to store the comments. It is easy to
implement and ensures that the comments are stripped of all html before storing
them. The html appears inside a div tag with the id of comment so any styles
that need to be applied can be applied.
-Usage:
-This release contains two files:
- comment.php
- postcomment.php
-
-To use, place the following lines of text where you want to use it.
-
- <?php
- include("comment.php");
- comment("index");
- ?>
-
-where index is the name of the page that will contain the comments.
View
@@ -1,7 +1,7 @@
<?php
// SimpleCommentSystem 1.0
// Copyright 2011. Ross Lagerwall
- // This program is distributed under terms of the Lesser GPL.
+ // This program is distributed under terms of the Lesser GPL Version 3.
function comment($pageName) {
echo '<div id="comment"><p><span style="font-size: 18px;">Comments:</span></p>';
if (file_exists($pageName."c.txt")) {
View
@@ -1,7 +1,7 @@
<?php
// SimpleCommentSystem 1.0
// Copyright 2011. Ross Lagerwall
- // This program is distributed under terms of the Lesser GPL.
+ // This program is distributed under terms of the Lesser GPL Version 3.
if ($_POST['page'] != '' && $_POST['name'] != '' && $_POST['comment'] != '' && file_exists($_POST['page'].".php")) {
$name = str_replace("~", "", $_POST['name']);
$comment = str_replace("~", "", $_POST['comment']);

0 comments on commit 6f5e024

Please sign in to comment.