The location is in the case "search:" block. It should be below the following line:
$qc = $def->GetQueryCond();
The result should look like:
//-- [BEGIN] Criteria validated successfully if ( $b ) { //-- [BEGIN] OK to show results $this->SetDisplay( "def:", true ); //-- [END] OK to show results
To allow users to view his/her own records only, insert these lines to web/staff/app/cls_ps_addresses.inc.php
The location is in the case "search:" block. It should be below the following line:
The result should look like: