Beispiel #1
0
 /**
  * For the "view all" option of placelist.php and find.php
  *
  * @return string
  */
 public function getReverseName()
 {
     $tmp = array();
     foreach (array_reverse($this->gedcom_place) as $place) {
         $tmp[] = '<span dir="auto">' . Filter::escapeHtml($place) . '</span>';
     }
     return implode(I18N::$list_separator, $tmp);
 }
Beispiel #2
0
 /**
  * Get the real name of this user, for display on screen.
  *
  * @return string
  */
 public function getRealNameHtml()
 {
     return '<span dir="auto">' . Filter::escapeHtml($this->real_name) . '</span>';
 }
Beispiel #3
0
 /**
  * Filenames are (almost?) always LTR, even on RTL systems.
  *
  * @param string $filename
  *
  * @return string
  */
 public static function filename($filename)
 {
     return '<samp class="filename" dir="ltr">' . Filter::escapeHtml($filename) . '</samp>';
 }