Location: PHPKode > projects > Blogs manager > blogs/include/_comments_settings.php
<?php

$tdata=array();
	 $tdata[".NumberOfChars"]=80; 
	$tdata[".ShortName"]="_comments";
	$tdata[".OwnerID"]="";

	
//	id
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 3;
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
	
		$fdata["GoodName"]= "id";
	        	$fdata["FullName"]= "`_comments`.`id`";
	 $fdata["IsRequired"]=true; 
	
	
	
	$fdata["Index"]= 1;
	
			$fdata["EditParams"]="";
						$fdata["FieldPermissions"]=true;
		$tdata["id"]=$fdata;
	
//	username
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 200;
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
	
		$fdata["GoodName"]= "username";
	        	$fdata["FullName"]= "`_comments`.`username`";
	
	
	
	
	$fdata["Index"]= 2;
	
			$fdata["EditParams"]="";
						$fdata["FieldPermissions"]=true;
		$tdata["username"]=$fdata;
	
//	blogfirstline
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 200;
	$fdata["EditFormat"]= "Lookup wizard";
	$fdata["ViewFormat"]= "";
	
	
		$fdata["GoodName"]= "blogfirstline";
	        	$fdata["FullName"]= "`_comments`.`blogfirstline`";
	
	
	
	
	$fdata["Index"]= 3;
	
						$fdata["FieldPermissions"]=true;
		$tdata["blogfirstline"]=$fdata;
	
//	date
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 7;
	$fdata["EditFormat"]= "Readonly";
	$fdata["ViewFormat"]= "Short Date";
	
	
		$fdata["GoodName"]= "date";
	        	$fdata["FullName"]= "`_comments`.`date`";
	
	
	
	
	$fdata["Index"]= 4;
	
						$fdata["FieldPermissions"]=true;
		$tdata["date"]=$fdata;
	
//	time
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 134;
	$fdata["EditFormat"]= "Readonly";
	$fdata["ViewFormat"]= "Time";
	
	
		$fdata["GoodName"]= "time";
	        	$fdata["FullName"]= "`_comments`.`time`";
	
	
	
	
	$fdata["Index"]= 5;
	
						$fdata["FieldPermissions"]=true;
		$tdata["time"]=$fdata;
	
//	rate
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 3;
	$fdata["EditFormat"]= "Lookup wizard";
	$fdata["ViewFormat"]= "";
	
	
		$fdata["GoodName"]= "rate";
	        	$fdata["FullName"]= "`_comments`.`rate`";
	 $fdata["IsRequired"]=true; 
	
	
	
	$fdata["Index"]= 6;
	
						$fdata["FieldPermissions"]=true;
		$tdata["rate"]=$fdata;
	
//	comment
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 200;
	$fdata["EditFormat"]= "Text area";
	$fdata["ViewFormat"]= "HTML";
	
	
		$fdata["GoodName"]= "comment";
	        	$fdata["FullName"]= "`_comments`.`comment`";
	 $fdata["IsRequired"]=true; 
	 $fdata["UseRTE"]=true; 
	
	
	$fdata["Index"]= 7;
	
		$fdata["EditParams"]="";
			$fdata["EditParams"].= " rows=300";
		$fdata["nRows"] = 300;
			$fdata["EditParams"].= " cols=600";
		$fdata["nCols"] = 600;
					$fdata["FieldPermissions"]=true;
		$tdata["comment"]=$fdata;
$tables_data["_comments"]=$tdata;
?>
Return current item: Blogs manager