phpcsvguestbook/settings.php

84 lines
3.0 KiB
PHP
Raw Normal View History

2016-05-06 20:02:56 +00:00
<?php
/**
2017-09-26 16:19:12 +00:00
* Settings file of PHPCSV Guestbook
2016-05-06 20:02:56 +00:00
* Edit page.php for change appearance.
* $GBdata parameter for changing entries data file.
* Please, change $GBadmin and $GBpassword parameters for access to administration page.
* Change $Titles[HeadTitle] and $Titles[Page] for personal header.
* You can change $Titles parameters for localization.
*/
$GBdata="gbdb.csv";
$GBadmin="root";
$GBpassword="password";
2017-09-25 09:39:36 +00:00
$GBpagination=10; // pagination for entries, 0 - disabled
2017-09-27 07:31:42 +00:00
$GBreadmore=255; // number of symbols for 'Read More' feature, 0 - shows full entries
2017-09-26 16:19:12 +00:00
$GBsearch=true; // enable or disable search bar
$GBcaptcha=true; // enable or disable captcha
2017-09-27 21:31:08 +00:00
$GBupload=true; // enable or disable upload image feature
$GBimagesize=1048576; // maximum image size
2017-01-27 10:28:04 +00:00
$GBnotificationmailto=""; // leave empty if you don't want send notification
$GBnotificationmailfrom="";
2017-09-27 07:31:42 +00:00
$GBtextlenght=7168; // maximum size of entry text
2017-09-29 08:58:46 +00:00
$GBcityfield=true; // enable or disable 'City' field
$GBlinkfield=true; // enable or disable 'Homepage' field
2017-09-29 08:54:49 +00:00
$GBsubjectfield=true; // enable or disable 'Subject' field
$GBcategoryfield=array(
0=>"Public", // Array of categories, if you want to disable
1=>"Help", // 'Category' field, just leave
2=>"Special", // '$GBcategoryfield=false' string
3=>"Suppot",
4=>"Order",
5=>"Other");
2016-05-06 20:02:56 +00:00
$Titles[HeadTitle]="Guestbook";
$Titles[Page]="Guestbook";
$Titles[Name]="Your name";
$Titles[Required]="required";
$Titles[City]="City";
$Titles[Email]="E-mail";
$Titles[NotPublic]="will not be published";
$Titles[Link]="Homepage";
$Titles[Text]="Your message";
$Titles[Captcha]="Security question";
$Titles[CaptchaPlus]="plus";
$Titles[Submit]="Submit";
$Titles[Added]="Your message has been added.";
$Titles[EmptyName]="Please, type your name.";
$Titles[EmptyText]="Please, type your message.";
$Titles[WrongCaptcha]="Please, type correct security answer.";
$Titles[From]="from";
$Titles[Wrote]="wrote";
$Titles[Response]="Response";
$Titles[EmptyFile]="Guestbook is empty yet.";
$Titles[Login]="Administrator login:";
$Titles[Password]="Password:";
$Titles[Enter]="Enter";
$Titles[WrongLogin]="Wrong login or password.";
$Titles[AdminHeader]="Guestbook administration";
$Titles[AdminExit]="Exit";
$Titles[AdminHello]="Hello";
$Titles[AdminName]="Name";
$Titles[AdminMessage]="Message";
$Titles[AdminDate]="Date";
$Titles[AdminApply]="Apply changes";
$Titles[AdminDeleteChecked]="Delete checked";
$Titles[AdminEdit]="Edit";
$Titles[AdminDelete]="Delete";
$Titles[AdminCancel]="Cancel";
$Titles[AdminSureDel]="Are you sure to delete";
$Titles[AdminSureDelMessages]="messages";
2017-01-27 10:28:04 +00:00
$Titles[MailSubject]="New entry in your guestbook";
$Titles[MailAdmin]="You can edit, delete or reply this message via admin page";
2017-09-25 09:39:36 +00:00
$Titles[First]="First";
$Titles[Last]="Last";
$Titles[Previous]="<<";
$Titles[Next]=">>";
2017-09-26 16:19:12 +00:00
$Titles[Search]="Search";
$Titles[NoResult]="No search result";
2017-09-27 07:31:42 +00:00
$Titles[ReadMore]="Read more";
2017-09-27 21:31:08 +00:00
$Titles[FileUpload]="Upload image:";
$Titles[WrongImage]="Can't upload image.";
2017-09-29 08:54:49 +00:00
$Titles[Subject]="Subject";
$Titles[Category]="Category";
$Titles[About]="about";
2016-05-06 20:02:56 +00:00
?>