Lines Matching refs:contents
271 $this->recurse("$dir/$file",$contents);
277 $this->get_data("$dir/$file",$id_name,$contents);
278 $contents .= "\n";
284 function get_data($file,$id_path,&$contents) { argument
292 $contents .= "\n<p>\n";
293 $contents .= "\n" . '<table style="border-top:2px solid">' ."\n";
294 $contents .= "<tr><td colspan='2'>$id_path</td></tr>\n";
295 $contents .= "<tr><td colspan='2'>$file</td></tr>\n";
302 $contents .= "<tr><td colspan='2'>Title: <b>$title</b></td></tr>\n";
306 …cess_dates($this->getcurrent('date', 'created'),$this->getcurrent('date', 'modified'),$contents);
313 $this->process_users($creator,$creator_id,$contents);
317 … $last_change = $this->getSimpleKeyValue($this->getcurrent($header, null),"last_change",$contents);
319 $contents .= "<tr><td colspan='3' ></td>\n";
320 …$contents .= "<tr><td colspan='2' style='border-left: 2px solid #4169E1; color:#4169E1' ><b>Last C…
321 $contents .= "<td>$last_change</td></tr>\n";
325 … $this->contributors = $this->getSimpleKeyValue($this->getcurrent($header, null),$contents);
334 …this->process_relation($isreferencedby,$references,$media,$firstimage,$haspart,$subject,$contents);
342 $contents .= "\n</table></p>\n";
350 function getSimpleKeyValue($ar,$which="",&$contents) { argument
377 function process_users($creator,$user,&$contents) { argument
379 $contents .= "\n"; return;
381 $contents .= "<tr><td>Created by:</td><td> $creator (userid: $user)</tr></td>\n";
384 function process_dates($created, $modified,&$contents) { argument
389 $contents .= "<tr><td>Date created:</td><td>".$rfc_cr.
395 $contents .= "<tr><td>Last modified:</td><td>" . $rfc_mod .
401 function insertListInTable($list,$type,&$contents) { argument
403 if($list) $contents .= "<tr><td $border>$type</td><td>$list</td></tr>\n";
405 …ion process_relation($isreferencedby,$references,$media,$firstimage,$haspart,$subject,&$contents) { argument
409 $contents .= "<tr><td colspan='3' ></td>\n";
410 …$contents .= "<tr><td colspan='2' $border><b><span style='color:green'>Relation</span></b></td>\n…
414 $list = $this->create_list(array_keys($isreferencedby),$contents);
415 $this->insertListInTable($list,'Backlinks (isreferencedby)',$contents);
418 $list = $this->create_list(array_keys($references),$contents);
419 $this->insertListInTable($list,'Links (references)',$contents);
422 $list = $this->create_list(array_keys($media),$contents);
423 $this->insertListInTable($list,'Media',$contents);
426 $contents .= "<tr><td $border>First Image</td><td>$firstimage</td></tr>";
429 $list = $this->create_list(array_keys($haspart),$contents);
430 $this->insertListInTable($list,'haspart',$contents);
433 $list = $this->create_list(array_keys($subject),$contents);
434 $this->insertListInTable($list,'Subject',$contents);
439 function create_list($ar,&$contents) { argument