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_ldap extends HFile{
00006 function HFile_ldap(){
00007 $this->HFile();
00008
00009
00010
00011
00012
00013
00014 $this->nocase = "1";
00015 $this->notrim = "0";
00016 $this->perl = "0";
00017
00018
00019
00020 $this->colours = array("blue", "purple", "brown");
00021 $this->quotecolour = "blue";
00022 $this->blockcommentcolour = "green";
00023 $this->linecommentcolour = "green";
00024
00025
00026
00027 $this->indent = array();
00028 $this->unindent = array();
00029
00030
00031
00032 $this->stringchars = array();
00033 $this->delimiters = array(",", ":", "=");
00034 $this->escchar = "";
00035
00036
00037
00038 $this->linecommenton = array("");
00039 $this->blockcommenton = array("");
00040 $this->blockcommentoff = array("");
00041
00042
00043
00044 $this->keywords = array(
00045 "accountUnlockTime" => "1",
00046 "administratorContactInfo" => "1",
00047 "adminUrl" => "1",
00048 "audio" => "1",
00049 "binary" => "1",
00050 "businesscategory" => "1",
00051 "carlicense" => "1",
00052 "changeLogMaximumAge" => "1",
00053 "changeLogMaximumSize" => "1",
00054 "changeNumber" => "1",
00055 "changes" => "1",
00056 "changeTime" => "1",
00057 "changetype" => "1",
00058 "cirBeginORC" => "1",
00059 "cirBindCredentials" => "1",
00060 "cirBindDn" => "1",
00061 "cirHost" => "1",
00062 "cirLastUpdateApplied" => "1",
00063 "cirPort" => "1",
00064 "cirReplicaRoot" => "1",
00065 "cirSyncInterval" => "1",
00066 "cirUpdateFailedat" => "1",
00067 "cirUpdateSchedule" => "1",
00068 "cirUsePersistentSearch" => "1",
00069 "cirUseSsl" => "1",
00070 "cn" => "1",
00071 "commonname" => "1",
00072 "deleteOldRdn" => "1",
00073 "departmentNumber" => "1",
00074 "description" => "1",
00075 "destinationIndicator" => "1",
00076 "dn" => "1",
00077 "employeenumber" => "1",
00078 "employeeType" => "1",
00079 "facsimileTelephoneNumber" => "1",
00080 "filterInfo" => "1",
00081 "generation" => "1",
00082 "givenname" => "1",
00083 "homePhone" => "1",
00084 "homePostalAddress" => "1",
00085 "idxno" => "1",
00086 "indexnumber" => "1",
00087 "initials" => "1",
00088 "installationTimeStamp" => "1",
00089 "internationalIsdnNumber" => "1",
00090 "jpegPhoto" => "1",
00091 "l" => "1",
00092 "labeledURI" => "1",
00093 "locality" => "1",
00094 "mail" => "1",
00095 "mailAccessDomain" => "1",
00096 "mailalternateaddress" => "1",
00097 "mailAutoReplyMode" => "1",
00098 "mailAutoReplyText" => "1",
00099 "maildeliveryoption" => "1",
00100 "mailEnhancedUniqueMember" => "1",
00101 "mailForwardingAddress" => "1",
00102 "mailhost" => "1",
00103 "mailMessageStore" => "1",
00104 "mailProgramDeliveryInfo" => "1",
00105 "mailQuota" => "1",
00106 "manager" => "1",
00107 "member" => "1",
00108 "memberCertificateDescription" => "1",
00109 "memberURL" => "1",
00110 "mgrpAllowedBroadcaster" => "1",
00111 "mgrpAllowedDomain" => "1",
00112 "mgrpDeliverTo" => "1",
00113 "mgrpErrorsTo" => "1",
00114 "mgrpModerator" => "1",
00115 "mgrpMsgMaxSize" => "1",
00116 "mgrpMsgRejectAction" => "1",
00117 "mgrpMsgRejectText" => "1",
00118 "mgrpRFC822MailMember" => "1",
00119 "mobile" => "1",
00120 "multiLineDescription" => "1",
00121 "newRdn" => "1",
00122 "newSuperior" => "1",
00123 "nsLicensedFor" => "1",
00124 "nsLicenseEndTime" => "1",
00125 "nsLicenseStartTime" => "1",
00126 "ntGroupAttributes" => "1",
00127 "ntGroupCreateNewGroup" => "1",
00128 "ntGroupDeleteGroup" => "1",
00129 "ntGroupDomainId" => "1",
00130 "ntGroupId" => "1",
00131 "ntUserDomainId" => "1",
00132 "ntUserAcctExpires" => "1",
00133 "ntUserAuthFlags" => "1",
00134 "ntUserBadPwCount" => "1",
00135 "ntUserCodePage" => "1",
00136 "ntUserComment" => "1",
00137 "ntUserCountryCode" => "1",
00138 "ntUserCreateNewAccount" => "1",
00139 "ntUserDeleteAccount" => "1",
00140 "ntUserFlags" => "1",
00141 "ntUserHomeDir" => "1",
00142 "ntUserHomeDirDrive" => "1",
00143 "ntUserLastLogoff" => "1",
00144 "ntUserLastLogon" => "1",
00145 "ntUserLogonHours" => "1",
00146 "ntUserLogonServer" => "1",
00147 "ntUserMaxStorage" => "1",
00148 "ntUserNumLogons" => "1",
00149 "ntUserParms" => "1",
00150 "ntUserPasswordExpired" => "1",
00151 "ntUserPrimaryGroupId" => "1",
00152 "ntUserPriv" => "1",
00153 "ntUserProfile" => "1",
00154 "ntUserScriptPath" => "1",
00155 "ntUserUniqueId" => "1",
00156 "ntUserUnitsPerWeek" => "1",
00157 "ntUserUsrComment" => "1",
00158 "ntUserWorkstations" => "1",
00159 "objectclass" => "1",
00160 "owner" => "1",
00161 "pager" => "1",
00162 "passwordChange" => "1",
00163 "passwordCheckSyntax" => "1",
00164 "passwordExp" => "1",
00165 "passwordExpirationTime" => "1",
00166 "passwordExpWarned" => "1",
00167 "passwordHistory" => "1",
00168 "passwordInHistory" => "1",
00169 "passwordKeepHistory" => "1",
00170 "passwordLockout" => "1",
00171 "passwordLockoutDuration" => "1",
00172 "passwordMaxAge" => "1",
00173 "passwordMaxFailure" => "1",
00174 "passwordMinLength" => "1",
00175 "passwordResetDuration" => "1",
00176 "passwordRetryCount" => "1",
00177 "passwordUnlock" => "1",
00178 "passwordWarning" => "1",
00179 "photo" => "1",
00180 "physicaldeliveryofficename" => "1",
00181 "postaladdress" => "1",
00182 "postalcode" => "1",
00183 "postOfficeBox" => "1",
00184 "preferredDeliveryMethod" => "1",
00185 "preferredLanguage" => "1",
00186 "ref" => "1",
00187 "registeredAddress" => "1",
00188 "replicaBeginOrc" => "1",
00189 "replicaBindDn" => "1",
00190 "replicaBindMethod" => "1",
00191 "replicaCredentials" => "1",
00192 "replicaEntryFilter" => "1",
00193 "replicaHost" => "1",
00194 "replicaNickName" => "1",
00195 "replicaPort" => "1",
00196 "replicaRoot" => "1",
00197 "replicatedAttributeList" => "1",
00198 "replicaUpdateFailedAt" => "1",
00199 "replicaUpdateReplayed" => "1",
00200 "replicaUpdateSchedule" => "1",
00201 "replicaUseSSL" => "1",
00202 "retryCountResetTime" => "1",
00203 "roleOccupant" => "1",
00204 "roomnumber" => "1",
00205 "searchGuide" => "1",
00206 "secretary" => "1",
00207 "seeAlso" => "1",
00208 "serverHostName" => "1",
00209 "serverProductName" => "1",
00210 "serverRoot" => "1",
00211 "serverVersionNumber" => "1",
00212 "sn" => "1",
00213 "st" => "1",
00214 "stateOrProvinceName" => "1",
00215 "street" => "1",
00216 "surname" => "1",
00217 "targetDn" => "1",
00218 "telephonenumber" => "1",
00219 "teletexTerminalIdentifier" => "1",
00220 "telexNumber" => "1",
00221 "title" => "1",
00222 "uid" => "1",
00223 "uniqueMember" => "1",
00224 "userpassword" => "1",
00225 "userCertificate" => "1",
00226 "userCertificate;binary" => "1",
00227 "userSMIMECertificate" => "1",
00228 "userSMIMECertificate;binary" => "1",
00229 "x121Address" => "1",
00230 "x500UniqueIdentifier" => "1",
00231 "aci" => "2",
00232 "add" => "2",
00233 "c" => "2",
00234 "dc" => "2",
00235 "delete" => "2",
00236 "ftp" => "2",
00237 "ftps" => "2",
00238 "http" => "2",
00239 "https" => "2",
00240 "ldap" => "2",
00241 "ldaps" => "2",
00242 "modify" => "2",
00243 "nntp" => "2",
00244 "nntps" => "2",
00245 "o" => "2",
00246 "ou" => "2",
00247 "URL" => "2",
00248 "changeLogEntry" => "4",
00249 "cirReplicaSource" => "4",
00250 "crypt" => "4",
00251 "dcObject" => "4",
00252 "epsbranch" => "4",
00253 "groupOfCertificates" => "4",
00254 "groupOfMailEnhancedUniqueNames" => "4",
00255 "groupOfNames" => "4",
00256 "groupOfUniqueNames" => "4",
00257 "httpd" => "4",
00258 "inetOrgPerson" => "4",
00259 "LDAPReplica" => "4",
00260 "LDAPServer" => "4",
00261 "mailGroup" => "4",
00262 "mailRecipient" => "4",
00263 "netscapeServer" => "4",
00264 "nsLicenseUser" => "4",
00265 "ntGroup" => "4",
00266 "ntUser" => "4",
00267 "organization" => "4",
00268 "organizationalPerson" => "4",
00269 "organizationalRole" => "4",
00270 "organizationalUnit" => "4",
00271 "passwordObject" => "4",
00272 "passwordPolicy" => "4",
00273 "person" => "4",
00274 "referral" => "4",
00275 "residentialPerson" => "4",
00276 "SHA" => "4",
00277 "slapd" => "4",
00278 "top" => "4");
00279
00280
00281
00282
00283
00284
00285
00286
00287 $this->linkscripts = array(
00288 "1" => "donothing",
00289 "2" => "donothing",
00290 "4" => "donothing");
00291 }
00292
00293
00294 function donothing($keywordin)
00295 {
00296 return $keywordin;
00297 }
00298
00299 }?>