• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

syntax_highlight/php/HFile/HFile_ged2html.php

Go to the documentation of this file.
00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005   class HFile_ged2html extends HFile{
00006    function HFile_ged2html(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // GED2HTML
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "1";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("blue", "purple", "gray", "brown", "blue", "purple");
00021 $this->quotecolour              = "blue";
00022 $this->blockcommentcolour       = "green";
00023 $this->linecommentcolour        = "green";
00024 
00025 // Indent Strings
00026 
00027 $this->indent                   = array("{");
00028 $this->unindent                 = array("}");
00029 
00030 // String characters and delimiters
00031 
00032 $this->stringchars              = array();
00033 $this->delimiters               = array("&", "(", ")", "*", "+", ",", "-", ".", "/", ";", "<", "=", ">", "|", "[", "]", "%", "~", " ", "^", " ", " ", "{", "}");
00034 $this->escchar                  = "";
00035 
00036 // Comment settings
00037 
00038 $this->linecommenton            = array("#");
00039 $this->blockcommenton           = array("");
00040 $this->blockcommentoff          = array("");
00041 
00042 // Keywords (keyword mapping to colour number)
00043 
00044 $this->keywords                 = array(
00045                         "define" => "1", 
00046                         "do" => "1", 
00047                         "else" => "1", 
00048                         "elseif" => "1", 
00049                         "end" => "1", 
00050                         "for" => "1", 
00051                         "if" => "1", 
00052                         "in" => "1", 
00053                         "include" => "1", 
00054                         "local" => "1", 
00055                         "print" => "1", 
00056                         "set" => "1", 
00057                         "then" => "1", 
00058                         "to" => "1", 
00059                         "while" => "1", 
00060                         "do_families" => "2", 
00061                         "do_gendex" => "2", 
00062                         "do_index" => "2", 
00063                         "do_individuals" => "2", 
00064                         "do_initialize" => "2", 
00065                         "do_notes" => "2", 
00066                         "do_sources" => "2", 
00067                         "do_surnames" => "2", 
00068                         "abbreviation" => "3", 
00069                         "address" => "3", 
00070                         "adoption" => "3", 
00071                         "afn" => "3", 
00072                         "age" => "3", 
00073                         "agency" => "3", 
00074                         "aliases" => "3", 
00075                         "anci" => "3", 
00076                         "associations" => "3", 
00077                         "attributes" => "3", 
00078                         "author" => "3", 
00079                         "birth" => "3", 
00080                         "caln" => "3", 
00081                         "cause" => "3", 
00082                         "change" => "3", 
00083                         "children" => "3", 
00084                         "conc" => "3", 
00085                         "cont" => "3", 
00086                         "copr" => "3", 
00087                         "data" => "3", 
00088                         "date" => "3", 
00089                         "day" => "3", 
00090                         "death" => "3", 
00091                         "description" => "3", 
00092                         "desi" => "3", 
00093                         "event" => "3", 
00094                         "events" => "3", 
00095                         "exact" => "3", 
00096                         "families" => "3", 
00097                         "family" => "3", 
00098                         "father" => "3", 
00099                         "filename" => "3", 
00100                         "first" => "3", 
00101                         "fullname" => "3", 
00102                         "gedcom" => "3", 
00103                         "husband" => "3", 
00104                         "index" => "3", 
00105                         "isfemale" => "3", 
00106                         "ismale" => "3", 
00107                         "last" => "3", 
00108                         "living" => "3", 
00109                         "lower" => "3", 
00110                         "marriages" => "3", 
00111                         "month" => "3", 
00112                         "mother" => "3", 
00113                         "name" => "3", 
00114                         "names" => "3", 
00115                         "nchildren" => "3", 
00116                         "next" => "3", 
00117                         "note" => "3", 
00118                         "notes" => "3", 
00119                         "number" => "3", 
00120                         "objects" => "3", 
00121                         "ordinances" => "3", 
00122                         "page" => "3", 
00123                         "parent" => "3", 
00124                         "phone" => "3", 
00125                         "place" => "3", 
00126                         "pred" => "3", 
00127                         "prev" => "3", 
00128                         "publication" => "3", 
00129                         "quay" => "3", 
00130                         "refns" => "3", 
00131                         "repository" => "3", 
00132                         "rfn" => "3", 
00133                         "rin" => "3", 
00134                         "serial" => "3", 
00135                         "sources" => "3", 
00136                         "status" => "3", 
00137                         "string" => "3", 
00138                         "submitters" => "3", 
00139                         "succ" => "3", 
00140                         "surname" => "3", 
00141                         "tagcode" => "3", 
00142                         "tagname" => "3", 
00143                         "temple" => "3", 
00144                         "text" => "3", 
00145                         "texts" => "3", 
00146                         "title" => "3", 
00147                         "type" => "3", 
00148                         "upper" => "3", 
00149                         "url" => "3", 
00150                         "value" => "3", 
00151                         "wife" => "3", 
00152                         "xref" => "3", 
00153                         "year" => "3", 
00154                         "HEADER" => "4", 
00155                         "NUMBER_OF_FAMILIES" => "4", 
00156                         "NUMBER_OF_NOTES" => "4", 
00157                         "NUMBER_OF_SOURCES" => "4", 
00158                         "OSTYPE" => "4", 
00159                         "PATH_TO_ROOT" => "4", 
00160                         "PERSONS_URL" => "4", 
00161                         "SURNAMES_URL" => "4", 
00162                         "TODAY" => "4", 
00163                         "VERSION" => "4", 
00164                         "CASE_FOLD_LINKS" => "5", 
00165                         "CHARACTER_SET" => "5", 
00166                         "DESTINATION_DIRECTORY" => "5", 
00167                         "DOS_CODE_PAGE" => "5", 
00168                         "ERROR_FILE" => "5", 
00169                         "FILENAME_TEMPLATE" => "5", 
00170                         "FILES_PER_DIRECTORY" => "5", 
00171                         "GENERATE_GENDEX" => "5", 
00172                         "GENERATE_INDEX" => "5", 
00173                         "GENERATE_INDIVIDUALS" => "5", 
00174                         "GENERATE_NOTES" => "5", 
00175                         "GENERATE_SOURCES" => "5", 
00176                         "INDEX_WIDTH" => "5", 
00177                         "INDIVIDUALS_PER_FILE" => "5", 
00178                         "LANGUAGE" => "5", 
00179                         "LIVING_CUTOFF_YEAR" => "5", 
00180                         "LIVING_IGNORE_DEATH" => "5", 
00181                         "LOCALE" => "5", 
00182                         "NOTES_PER_FILE" => "5", 
00183                         "NUMBER_OF_DIRECTORIES" => "5", 
00184                         "OUTPUT_PROGRAM" => "5", 
00185                         "PEDIGREE_DEPTH" => "5", 
00186                         "SOURCES_PER_FILE" => "5", 
00187                         "STABLE_FILENAMESSURNAME_WIDTH" => "5", 
00188                         "UPPER_CASE_SURNAMES" => "5", 
00189                         "USE_LOCAL_TIME" => "5", 
00190                         "BACKGROUND_COLOR" => "6", 
00191                         "BACKGROUND_IMAGE" => "6", 
00192                         "CONT_MEANS_BREAK" => "6", 
00193                         "FAMILY_GROUPS" => "6", 
00194                         "HOMEPAGE" => "6", 
00195                         "INLINE_NOTES" => "6", 
00196                         "INLINE_SOURCES" => "6", 
00197                         "LINK_COLOR" => "6", 
00198                         "MAILTO" => "6", 
00199                         "NO_ALPHABET_TABS" => "6", 
00200                         "OMIT_META" => "6", 
00201                         "TEXT_COLOR" => "6", 
00202                         "VISITED_COLOR" => "6");
00203 
00204 // Special extensions
00205 
00206 // Each category can specify a PHP function that returns an altered
00207 // version of the keyword.
00208         
00209         
00210 
00211 $this->linkscripts      = array(
00212                         "1" => "donothing", 
00213                         "2" => "donothing", 
00214                         "3" => "donothing", 
00215                         "4" => "donothing", 
00216                         "5" => "donothing", 
00217                         "6" => "donothing");
00218 }
00219 
00220 
00221 function donothing($keywordin)
00222 {
00223         return $keywordin;
00224 }
00225 
00226 }?>

Generated on Fri Dec 13 2013 09:06:39 for ILIAS Release_3_4_x_branch .rev 46804 by  doxygen 1.7.1