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

syntax_highlight/php/HFile/HFile_systempolicies.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_systempolicies extends HFile{
00006    function HFile_systempolicies(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // Systempolicies
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", "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                         "MACHINE" => "1", 
00046                         "USER" => "1", 
00047                         "[STRINGS]" => "2", 
00048                         "CATEGORY" => "2", 
00049                         "CLASS" => "2", 
00050                         "END" => "2", 
00051                         "PART" => "2", 
00052                         "POLICY" => "2", 
00053                         "ACTIONLISTOFF" => "3", 
00054                         "ACTIONLISTON" => "3", 
00055                         "CHECKBOX" => "3", 
00056                         "COMBOBOX" => "3", 
00057                         "DELETE" => "3", 
00058                         "DISABLED" => "3", 
00059                         "DROPDOWNLIST" => "3", 
00060                         "EDITTEXT" => "3", 
00061                         "ENABLED" => "3", 
00062                         "KEYNAME" => "3", 
00063                         "LISTBOX" => "3", 
00064                         "NAME" => "3", 
00065                         "NUMERIC" => "3", 
00066                         "TEXT" => "3", 
00067                         "VALUE" => "3", 
00068                         "VALUENAME" => "3", 
00069                         "VALUEOFF" => "3", 
00070                         "VALUEON" => "3", 
00071                         "ACTIONLIST" => "4", 
00072                         "ADDITIVE" => "4", 
00073                         "DEFAULT" => "4", 
00074                         "DEFCHECKED" => "4", 
00075                         "EXPANDABLETEXT" => "4", 
00076                         "EXPLICITVALUE" => "4", 
00077                         "ITEMLIST" => "4", 
00078                         "MAX" => "4", 
00079                         "MAXLEN" => "4", 
00080                         "MIN" => "4", 
00081                         "REQUIRED" => "4", 
00082                         "SPIN" => "4", 
00083                         "SUGGESTIONS" => "4", 
00084                         "TXTCONVERT" => "4", 
00085                         "VALUEPREFIX" => "4", 
00086                         "#ENDIF" => "6", 
00087                         "#IF" => "6", 
00088                         "NOSORT" => "6", 
00089                         "VERSION" => "6");
00090 
00091 // Special extensions
00092 
00093 // Each category can specify a PHP function that returns an altered
00094 // version of the keyword.
00095         
00096         
00097 
00098 $this->linkscripts      = array(
00099                         "1" => "donothing", 
00100                         "2" => "donothing", 
00101                         "3" => "donothing", 
00102                         "4" => "donothing", 
00103                         "6" => "donothing");
00104 }
00105 
00106 
00107 function donothing($keywordin)
00108 {
00109         return $keywordin;
00110 }
00111 
00112 }?>

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