diff options
Diffstat (limited to 'includes/classes')
| -rw-r--r-- | includes/classes/class_date.php | 8 | ||||
| -rw-r--r-- | includes/classes/class_menu.php | 2 | ||||
| -rw-r--r-- | includes/classes/class_person.php | 4 | ||||
| -rw-r--r-- | includes/classes/class_reportbase.php | 4 | ||||
| -rw-r--r-- | includes/classes/class_reporthtml.php | 2 | ||||
| -rw-r--r-- | includes/classes/class_reportpdf.php | 6 |
6 files changed, 13 insertions, 13 deletions
diff --git a/includes/classes/class_date.php b/includes/classes/class_date.php index 0f5d1aeffc..83d2d34ada 100644 --- a/includes/classes/class_date.php +++ b/includes/classes/class_date.php @@ -34,7 +34,7 @@ * this is not the case (e.g. England prior to 1752), we need to use modified * years or the OS/NS notation "4 FEB 1750/51". * - * NOTE: PGV should only be using the GedcomDate class. The other classes + * NOTE: WT should only be using the GedcomDate class. The other classes * are all for internal use only. */ @@ -600,7 +600,7 @@ class CalendarDate { return $tmp; } - // Create a URL that links this date to the PGV calendar + // Create a URL that links this date to the WT calendar function CalendarURL($date_fmt="") { global $DATE_FORMAT; if (empty($date_fmt)) @@ -1504,7 +1504,7 @@ class GedcomDate { $cal='@#dfrench r@'; } else { if (preg_match('/^(muhar|safar|rabi[at]|juma[at]|rajab|shaab|ramad|shaww|dhuaq|dhuah)$/', $m)) { - $cal='@#dhijri@'; // This is a PGV extension + $cal='@#dhijri@'; // This is a WT extension } elseif (preg_match('/^\d+( b ?c)|\d\d\d\d \/ \d{1,4}$/', $y)) { $cal='@#djulian@'; } @@ -1771,7 +1771,7 @@ class GedcomDate { } // Calculate the gregorian year for a date. This should NOT be used internally - // within PGV - we should keep the code "calendar neutral" to allow support for + // within WT - we should keep the code "calendar neutral" to allow support for // jewish/arabic users. This is only for interfacing with external entities, // such as the ancestry.com search interface or the dated fact icons. function gregorianYear() { diff --git a/includes/classes/class_menu.php b/includes/classes/class_menu.php index 2b8e9940cc..4e8b082ee7 100644 --- a/includes/classes/class_menu.php +++ b/includes/classes/class_menu.php @@ -52,7 +52,7 @@ class Menu { /** * Constructor for the menu class - * @param string $label the label for the menu item (usually a pgv_lang variable) + * @param string $label the label for the menu item (usually a wt_lang variable) * @param string $link The link that the user should be taken to when clicking on the menuitem * @param string $pos The position of the label relative to the icon (right, left, top, bottom) * @param string $flyout The direction where any submenus should appear relative to the menu item (right, down) diff --git a/includes/classes/class_person.php b/includes/classes/class_person.php index 272c24a040..ae87f1f407 100644 --- a/includes/classes/class_person.php +++ b/includes/classes/class_person.php @@ -1693,7 +1693,7 @@ class Person extends GedcomRecord { } } - // Convert 'user-defined' unknowns into PGV unknowns + // Convert 'user-defined' unknowns into WT unknowns $full=preg_replace('/\/(_+|\?+|-+)\//', '/@N.N./', $full); $full=preg_replace('/(?<= |^)(_+|\?+|-+)(?= |$)/', '@P.N.', $full); $surn=preg_replace('/^(_+|\?+|-+)$/', '@N.N.', $surn); @@ -1760,7 +1760,7 @@ class Person extends GedcomRecord { $this->_getAllNames[]=array( 'type'=>$type, 'full'=>$full, 'list'=>$list, 'sort'=>$surn.','.$givn, - // These extra parts used to populate the pgv_name table and the indi list + // These extra parts used to populate the wt_name table and the indi list // For these, we don't want to translate the @N.N. into local text 'fullNN'=>$fullNN, 'listNN'=>$listNN, diff --git a/includes/classes/class_reportbase.php b/includes/classes/class_reportbase.php index a66b9cb9a5..2722a4d7f0 100644 --- a/includes/classes/class_reportbase.php +++ b/includes/classes/class_reportbase.php @@ -460,7 +460,7 @@ class ReportBase { } /** - * Main PGV Report Element class that all other page elements are extended from + * Main WT Report Element class that all other page elements are extended from * * @package webtrees * @subpackage Reports @@ -3220,7 +3220,7 @@ function ListSHandler($attrs) { } unset($attrs[$attr]); // This filter has been fully processed } elseif (($listname=="family") && (preg_match('/^NAME CONTAINS (.+)$/', $value, $match))) { - // Eventually, family "names" will be stored in pgv_name. Until then, an extra is needed.... + // Eventually, family "names" will be stored in wt_name. Until then, an extra is needed.... $sql_join[]="JOIN `##link` AS {$attr}a ON ({$attr}a.l_file={$sql_col_prefix}file AND {$attr}a.l_from={$sql_col_prefix}id)"; $sql_join[]="JOIN `##name` AS {$attr}b ON ({$attr}b.n_file={$sql_col_prefix}file AND n_id={$sql_col_prefix}id)"; $sql_where[]="{$attr}a.l_type=IN ('HUSB, 'WIFE')"; diff --git a/includes/classes/class_reporthtml.php b/includes/classes/class_reporthtml.php index d7ae36145f..9fa0810b83 100644 --- a/includes/classes/class_reporthtml.php +++ b/includes/classes/class_reporthtml.php @@ -39,7 +39,7 @@ define('WT_CLASS_REPORTHTML_PHP', ''); require_once WT_ROOT."includes/classes/class_reportbase.php"; /** -* Main PGV Report Class for HTML +* Main WT Report Class for HTML * * @package webtrees * @subpackage Reports diff --git a/includes/classes/class_reportpdf.php b/includes/classes/class_reportpdf.php index cf1bb62175..c7586488f2 100644 --- a/includes/classes/class_reportpdf.php +++ b/includes/classes/class_reportpdf.php @@ -45,7 +45,7 @@ require_once WT_ROOT."includes/classes/class_reportbase.php"; require_once WT_ROOT."library/tcpdf/tcpdf.php"; /** -* Main PGV Report Class for PDF +* Main WT Report Class for PDF * * @package webtrees * @subpackage Reports @@ -78,7 +78,7 @@ class ReportBasePDF extends ReportBase { function setup() { parent::setup(); - // Setup the PDF class with custom size pages because PGV supports more page sizes. If PGV sends an unknown size name then the default would be A4 + // Setup the PDF class with custom size pages because WT supports more page sizes. If WT sends an unknown size name then the default would be A4 $this->pdf = new PDF($this->orientation, parent::unit, array($this->pagew, $this->pageh), self::unicode, $this->charset, self::diskcache); // Setup the PDF margins @@ -267,7 +267,7 @@ class ReportBasePDF extends ReportBase { } //-- end Report /** -* PGV Report PDF Class +* WT Report PDF Class * * This class inherits from the TCPDF class and is used to generate the PDF document * @package webtrees |
