Choose language from settings.php

This commit is contained in:
2017-10-26 21:42:57 +03:00
parent 7b8a459a52
commit 55e7774cee
7 changed files with 151 additions and 180 deletions

View File

@@ -1,54 +1,10 @@
<?php
/**
* Arabic version of settings file PHPCSV Guestbook (change original settings.php with this file for localization)
* Settings file of PHPCSV Guestbook
* Arabic version of settings file PHPCSV Guestbook
* 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";
$GBpagination=10; // pagination for entries, 0 - disabled
$GBreadmore=255; // number of symbols for 'Read More' feature, 0 - shows full entries
$GBsearch=true; // enable or disable search bar
$GBcaptcha=false; // enable or disable captcha
$GBupload=array( // enable or disable upload feature
0=>"images", // $GBupload=false; - disabled
1=>"pdf", // $GBupload=true; - enabled for all files
2=>"odt", // $GBupload=array(); - enabled for file types from this array
3=>"odx",
4=>"doc",
5=>"docx",
6=>"xls",
7=>"xlsx",
8=>"txt",
9=>"zip",
10=>"rar");
$GBfilesize=1048576; // maximum file size
$GBnotificationmailto=""; // leave empty if you don't want send notification
$GBnotificationmailfrom="";
$GBtextlenght=7168; // maximum size of entry text
$GBcityfield=true; // enable or disable 'City' field
$GBlinkfield=true; // enable or disable 'Homepage' field
$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");
$GBstriptags=true; // enable or disable strip tags function during adding new entry
$GBreplies=true; // enable or disable replies to mwssages
$GBshownumbers=true; // show or not show number of entries (if replies enabled - numbers will not shown anyway)
$GBstickylocked=true; // stick or lock entries in admin panel
$GBfield1=true; // enable or disable special field 1
$GBfield2=true; // enable or disable special field 2
$GBfield3=true; // enable or disable special field 3
$GBemailfield=true; // enable or disable email field
$Titles["HeadTitle"]="سجل الزوار";
$Titles["Page"]="سجل الزوار";
$Titles["Name"]="اسمك";