Added enable/disable email field
This commit is contained in:
@@ -153,6 +153,7 @@ function AddEntryView() {
|
||||
global $GBfield1;
|
||||
global $GBfield2;
|
||||
global $GBfield3;
|
||||
global $GBemailfield;
|
||||
echo "<h2>",$Titles["Page"],"</h2><br>\n";
|
||||
if ($PageStatus=="added") echo $Titles["Added"]."<br>\n";
|
||||
$captchanumber11=rand(1, 4);
|
||||
@@ -164,7 +165,7 @@ function AddEntryView() {
|
||||
echo " ",$Titles["Name"],": <input type=text name=\"name\" value=\"",$Values["name"],"\" maxlength=255> (",$Titles["Required"],")<br>\n";
|
||||
if ($GBcityfield) echo " ",$Titles["City"],": <input type=text name=\"from\" value=\"",$Values["from"],"\" maxlength=255><br>\n";
|
||||
if ($GBlinkfield) echo " ",$Titles["Link"],": <input type=text name=\"link\" value=\"",$Values["link"],"\" maxlength=255><br>\n";
|
||||
echo " ",$Titles["Email"],": <input type=text name=\"email\" value=\"",$Values["email"],"\" maxlength=255> ($Titles[NotPublic])<br>\n";
|
||||
if ($GBemailfield) echo " ",$Titles["Email"],": <input type=text name=\"email\" value=\"",$Values["email"],"\" maxlength=255> ($Titles[NotPublic])<br>\n";
|
||||
if ($GBsubjectfield) echo " ",$Titles["Subject"],": <input type=text name=\"subj\" value=\"",$Values["subj"],"\" maxlength=255><br>\n";
|
||||
if ($GBcategoryfield) {
|
||||
echo " ",$Titles["Category"],": <select name=\"category\">";
|
||||
|
||||
Reference in New Issue
Block a user