diff --git a/LICENSE b/LICENSE index 15676dc..8a1c265 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -phpcsvguestbook is released under the DWTW license +PHPCSV Guestbook is released under the DWTW license This program is free software; you can redistribute it and/or modify it under the terms of the Do What Thou Wilt License. diff --git a/README b/README index 437ce50..99a5da6 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ -PHPCSV Guestbook version 0.99.6 +PHPCSV Guestbook version 0.99.8 -Simple php guestbook with csv file data storage. +Simple php guestbook/feedback form with csv file data storage. Features: - English, Arabic and Russian localization @@ -14,6 +14,7 @@ Features: - Replies - Locked and sticky posts - Special fields + - Feedback form mode Working examples: http://arabic.freecluster.eu @@ -30,7 +31,7 @@ Archive: https://github.com/zlaxy/phpcsvguestbook/archive/master.zip 2. Edit settings.php: change $GBadmin and $GBpassword (and other variables if necessary) -3. Check privileges for access to files: data storage (default: gbdb.csv) must have write permissions. If you enabled upload feature, 'upload' directory must have rwx permissions. Other files need only read rights. +3. Check privileges for access to files: data storage (default: .htgbdb.csv) must have write permissions. If you enabled upload feature, 'upload' directory must have rwx permissions. Other files need only read rights. Using: diff --git a/index.php b/index.php index 2b75169..f957b53 100644 --- a/index.php +++ b/index.php @@ -233,16 +233,19 @@ function AddSearchBar() { global $Titles; global $GBsearch; global $GBcategoryfield; - if ($GBsearch) { - echo "
"; + global $GBfeedbackFormMode; + if (!$GBfeedbackFormMode) { + if ($GBsearch) { + echo ""; + } } } @@ -320,6 +323,8 @@ function EntriesView() { global $GBcategoryfield; global $GBreplies; global $GBstickylocked; + global $GBfeedbackFormMode; + if ($GBfeedbackFormMode) return; if (isset($_SESSION["reply"])) { echo $Titles["Replying"],"