From 71273d9477b88cca86e6724491c1ea337ee96f05 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 13 Jun 2012 21:27:14 +0200 Subject: switch to pygments - faster than geshi - easier to modify the css because there is only one - geshi upstream seems pretty dead Signed-off-by: Florian Pritz --- application/libraries/geshi/proftpd.php | 374 -------------------------------- 1 file changed, 374 deletions(-) delete mode 100644 application/libraries/geshi/proftpd.php (limited to 'application/libraries/geshi/proftpd.php') diff --git a/application/libraries/geshi/proftpd.php b/application/libraries/geshi/proftpd.php deleted file mode 100644 index dd57d9b0a..000000000 --- a/application/libraries/geshi/proftpd.php +++ /dev/null @@ -1,374 +0,0 @@ - 'ProFTPd configuration', - 'COMMENT_SINGLE' => array(1 => '#'), - 'COMMENT_MULTI' => array(), - 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, - 'QUOTEMARKS' => array("'", '"'), - 'ESCAPE_CHAR' => '\\', - 'KEYWORDS' => array( - /*keywords*/ - 1 => array( - //mod_auth - 'AccessDenyMsg', 'AccessGrantMsg', 'AnonRejectePasswords', - 'AnonRequirePassword', 'AuthAliasOnly', 'AuthUsingAlias', - 'CreateHome', 'DefaultChdir', 'DefaultRoot', 'GroupPassword', - 'LoginPasswordPrompt', 'MaxClients', 'MaxClientsPerClass', - 'MaxClientsPerHost', 'MaxClientsPerUser', 'MaxConnectionsPerHost', - 'MaxHostsPerUser', 'MaxLoginAttempts', 'RequireValidShell', - 'RootLogin', 'RootRevoke', 'TimeoutLogin', 'TimeoutSession', - 'UseFtpUsers', 'UserAlias', 'UserDirRoot', 'UserPassword', - - //mod_auth_file - 'AuthGroupFile', 'AuthUserFile', - - //mod_auth_pam - 'AuthPAM', 'AuthPAMConfig', - - //mod_auth_unix - 'PersistentPasswd', - - //mod_ban - 'BanControlsACLs', 'BanEngine', 'BanLog', 'BanMessage', 'BanOnEvent', - 'BanTable', - - //mod_cap - 'CapabilitiesEngine', 'CapabilitiesSet', - - //mod_core - 'Allow', 'AllowAll', 'AllowClass', 'AllowFilter', - 'AllowForeignAddress', 'AllowGroup', 'AllowOverride', - 'AllowRetrieveRestart', 'AllowStoreRestart', 'AllowUser', - 'AnonymousGroup', 'AuthOrder', 'Bind', 'CDPath', 'Class', 'Classes', - 'CommandBufferSize', 'DebugLevel', 'DefaultAddress', - 'DefaultServer', 'DefaultTransferMode', 'DeferWelcome', 'Define', - 'Deny', 'DenyAll', 'DenyClass', 'DenyFilter', 'DenyGroup', - 'DenyUser', 'DisplayChdir', 'DisplayConnect', 'DisplayFirstChdir', - 'DisplayGoAway', 'DisplayLogin', 'DisplayQuit', 'From', 'Group', - 'GroupOwner', 'HideFiles', 'HideGroup', 'HideNoAccess', 'HideUser', - 'IdentLookups', 'IgnoreHidden', 'Include', 'MasqueradeAddress', - 'MaxConnectionRate', 'MaxInstances', 'MultilineRFC2228', 'Order', - 'PassivePorts', 'PathAllowFilter', 'PathDenyFilter', 'PidFile', - 'Port', 'RLimitCPU', 'RLimitMemory', 'RLimitOpenFiles', 'Satisfy', - 'ScoreboardFile', 'ServerAdmin', 'ServerIdent', 'ServerName', - 'ServerType', 'SetEnv', 'SocketBindTight', 'SocketOptions', - 'SyslogFacility', 'SyslogLevel', 'tcpBackLog', 'tcpNoDelay', - 'TimeoutIdle', 'TimeoutLinger', 'TimesGMT', 'TransferLog', 'Umask', - 'UnsetEnv', 'UseIPv6', 'User', 'UseReverseDNS', 'UserOwner', - 'UseUTF8', 'WtmpLog', - - //mod_ctrls_admin - 'AdminControlsACLs', 'AdminControlsEngine', - - //mod_delay - 'DelayEngine', 'DelayTable', - - //mod_dynmasq - 'DynMasqRefresh', - - //mod_exec - 'ExecBeforeCommand', 'ExecEngine', 'ExecEnviron', 'ExecLog', - 'ExecOnCommand', 'ExecOnConnect', 'ExecOnError', 'ExecOnEvent', - 'ExecOnExit', 'ExecOnRestart', 'ExecOptions', 'ExecTimeout', - - //mod_ldap - 'LDAPAliasDereference', 'LDAPAttr', 'LDAPAuthBinds', - 'LDAPDefaultAuthScheme', 'LDAPDefaultGID', 'LDAPDefaultUID', - 'LDAPDNInfo', 'LDAPDoAuth', 'LDAPDoGIDLookups', - 'LDAPDoQuotaLookups', 'LDAPDoUIDLookups', - 'LDAPForceGeneratedHomedir', 'LDAPForceHomedirOnDemand', - 'LDAPGenerateHomedir', 'LDAPGenerateHomedirPrefix', - 'LDAPGenerateHomedirPrefixNoUsername', 'LDAPHomedirOnDemand', - 'LDAPHomedirOnDemandPrefix', 'LDAPHomedirOnDemandPrefixNoUsername', - 'LDAPHomedirOnDemandSuffix', 'LDAPNegativeCache', - 'LDAPProtocolVersion', 'LDAPQueryTimeout', 'LDAPSearchScope', - 'LDAPServer', - - //mod_load - 'MaxLoad', - - //mod_log - 'AllowLogSymlinks', 'ExtendedLog', 'LogFormat', 'ServerLog', - 'SystemLog', - - //mod_ls' - 'DirFakeGroup', 'DirFakeMode', 'DirFakeUser', 'ListOptions', - 'ShowSymlinks', 'UseGlobbing', - - //mod_quotatab - 'QuotaDirectoryTally', 'QuotaDisplayUnits', 'QuotaEngine', - 'QuotaExcludeFilter', 'QuotaLimitTable', 'QuotaLock', 'QuotaLog', - 'QuotaOptions', 'QuotaShowQuotas', 'QuotaTallyTable', - - //mod_quotatab_file - - //mod_quotatab_ldap - - //mod_quotatab_sql - - //mod_radius - 'RadiusAcctServer', 'RadiusAuthServer', 'RadiusEngine', - 'RadiusGroupInfo', 'RadiusLog', 'RadiusNASIdentifier', - 'RadiusQuotaInfo', 'RadiusRealm', 'RadiusUserInfo', 'RadiusVendor', - - //mod_ratio - 'AnonRatio', 'ByteRatioErrMsg', 'CwdRatioMsg', 'FileRatioErrMsg', - 'GroupRatio', 'HostRatio', 'LeechRatioMsg', 'RatioFile', 'Ratios', - 'RatioTempFile', 'SaveRatios', 'UserRatio', - - //mod_readme - 'DisplayReadme', - - //mod_rewrite - 'RewriteCondition', 'RewriteEngine', 'RewriteLock', 'RewriteLog', - 'RewriteMap', 'RewriteRule', - - //mod_sftp - 'SFTPAcceptEnv', 'SFTPAuthMethods', 'SFTPAuthorizedHostKeys', - 'SFTPAuthorizedUserKeys', 'SFTPCiphers', 'SFTPClientMatch', - 'SFTPCompression', 'SFTPCryptoDevice', 'SFTPDHParamFile', - 'SFTPDigests', 'SFTPDisplayBanner', 'SFTPEngine', 'SFTPExtensions', - 'SFTPHostKey', 'SFTPKeyBlacklist', 'SFTPKeyExchanges', 'SFTPLog', - 'SFTPMaxChannels', 'SFTPOptions', 'SFTPPassPhraseProvider', - 'SFTPRekey', 'SFTPTrafficPolicy', - - //mod_sftp_pam - 'SFTPPAMEngine', 'SFTPPAMOptions', 'SFTPPAMServiceName', - - //mod_sftp_sql - - //mod_shaper - 'ShaperAll', 'ShaperControlsACLs', 'ShaperEngine', 'ShaperLog', - 'ShaperSession', 'ShaperTable', - - //mod_sql - 'SQLAuthenticate', 'SQLAuthTypes', 'SQLBackend', 'SQLConnectInfo', - 'SQLDefaultGID', 'SQLDefaultHomedir', 'SQLDefaultUID', 'SQLEngine', - 'SQLGroupInfo', 'SQLGroupWhereClause', 'SQLHomedirOnDemand', - 'SQLLog', 'SQLLogFile', 'SQLMinID', 'SQLMinUserGID', - 'SQLMinUserUID', 'SQLNamedQuery', 'SQLNegativeCache', 'SQLOptions', - 'SQLRatios', 'SQLRatioStats', 'SQLShowInfo', 'SQLUserInfo', - 'SQLUserWhereClause', - - //mod_sql_passwd - 'SQLPasswordEncoding', 'SQLPasswordEngine', 'SQLPasswordSaltFile', - 'SQLPasswordUserSalt', - - //mod_tls - 'TLSCACertificateFile', 'TLSCACertificatePath', - 'TLSCARevocationFile', 'TLSCARevocationPath', - 'TLSCertificateChainFile', 'TLSCipherSuite', 'TLSControlsACLs', - 'TLSCryptoDevice', 'TLSDHParamFile', 'TLSDSACertificateFile', - 'TLSDSACertificateKeyFile', 'TLSEngine', 'TLSLog', 'TLSOptions', - 'TLSPKCS12File', 'TLSPassPhraseProvider', 'TLSProtocol', - 'TLSRandomSeed', 'TLSRenegotiate', 'TLSRequired', - 'TLSRSACertificateFile', 'TLSRSACertificateKeyFile', - 'TLSSessionCache', 'TLSTimeoutHandshake', 'TLSVerifyClient', - 'TLSVerifyDepth', 'TLSVerifyOrder', - - //mod_tls_shmcache - - //mod_unique_id - 'UniqueIDEngine', - - //mod_wrap - 'TCPAccessFiles', 'TCPAccessSyslogLevels', 'TCPGroupAccessFiles', - 'TCPServiceName', 'TCPUserAccessFiles', - - //mod_wrap2 - 'WrapAllowMsg', 'WrapDenyMsg', 'WrapEngine', 'WrapGroupTables', - 'WrapLog', 'WrapServiceName', 'WrapTables', 'WrapUserTables', - - //mod_wrap2_file - - //mod_wrap2_sql - - //mod_xfer - 'AllowOverwrite', 'DeleteAbortedStores', 'DisplayFileTransfer', - 'HiddenStor', 'HiddenStores', 'MaxRetrieveFileSize', - 'MaxStoreFileSize', 'StoreUniquePrefix', 'TimeoutNoTransfer', - 'TimeoutStalled', 'TransferRate', 'UseSendfile', - - //unknown - 'ScoreboardPath', 'ScoreboardScrub' - ), - /*keywords 3*/ - 3 => array( - //mod_core - 'Anonymous', - 'Class', - 'Directory', - 'IfDefine', - 'IfModule', - 'Limit', - 'VirtualHost', - - //mod_ifsession - 'IfClass', 'IfGroup', 'IfUser', - - //mod_version - 'IfVersion' - ), - /*permissions*/ - 4 => array( - //mod_core - 'ALL', - 'CDUP', - 'CMD', - 'CWD', - 'DELE', - 'DIRS', - 'LOGIN', - 'MKD', - 'READ', - 'RETR', - 'RMD', - 'RNFR', - 'RNTO', - 'STOR', - 'WRITE', - 'XCWD', - 'XMKD', - 'XRMD', - - //mod_copy - 'SITE_CPFR', 'SITE_CPTO', - - //mod_quotatab - 'SITE_QUOTA', - - //mod_site - 'SITE_HELP', 'SITE_CHMOD', 'SITE_CHGRP', - - //mod_site_misc - 'SITE_MKDIR', 'SITE_RMDIR', 'SITE_SYMLINK', 'SITE_UTIME', - ), - /*keywords 2*/ - 2 => array( - 'all','on','off','yes','no', - 'standalone', 'inetd', - 'default', 'auth', 'write', - 'internet', 'local', 'limit', 'ip', - 'from' - ), - ), - 'SYMBOLS' => array( - '+', '-' - ), - 'CASE_SENSITIVE' => array( - GESHI_COMMENTS => false, - 1 => false, - 2 => false, - 3 => false, - 4 => false, - ), - 'STYLES' => array( - 'KEYWORDS' => array( - 1 => 'color: #00007f;', - 2 => 'color: #0000ff;', - 3 => 'color: #000000; font-weight:bold;', - 4 => 'color: #000080; font-weight:bold;', - ), - 'COMMENTS' => array( - 1 => 'color: #adadad; font-style: italic;', - ), - 'ESCAPE_CHAR' => array( - 0 => 'color: #000099; font-weight: bold;' - ), - 'BRACKETS' => array( - 0 => 'color: #339933;' - ), - 'STRINGS' => array( - 0 => 'color: #7f007f;' - ), - 'NUMBERS' => array( - 0 => 'color: #ff0000;' - ), - 'METHODS' => array( - ), - 'SYMBOLS' => array( - 0 => 'color: #008000;' - ), - 'REGEXPS' => array( - ), - 'SCRIPT' => array( - ) - ), - 'URLS' => array( - 1 => 'http://www.google.com/search?hl=en&q={FNAMEL}+site:www.proftpd.org+inurl:docs&btnI=I%27m%20Feeling%20Lucky', - 2 => '', - 3 => 'http://www.google.com/search?hl=en&q={FNAMEL}+site:www.proftpd.org+inurl:docs&btnI=I%27m%20Feeling%20Lucky', - 4 => '' - ), - 'OOLANG' => false, - 'OBJECT_SPLITTERS' => array( - ), - 'REGEXPS' => array( - ), - 'STRICT_MODE_APPLIES' => GESHI_NEVER, - 'SCRIPT_DELIMITERS' => array( - ), - 'HIGHLIGHT_STRICT_BLOCK' => array( - ), - 'PARSER_CONTROL' => array( - 'ENABLE_FLAGS' => array( - 'BRACKETS' => GESHI_NEVER, - 'SYMBOLS' => GESHI_NEVER - ), - 'KEYWORDS' => array( - 2 => array( - 'DISALLOWED_BEFORE' => '(?<=\s)(? '(?!\+)(?!\w)', - ), - 3 => array( - 'DISALLOWED_BEFORE' => '(?<=<|<\/)', - 'DISALLOWED_AFTER' => '(?=\s|\/|>)', - ), - 4 => array( - 'DISALLOWED_BEFORE' => '(?<=\s)(? '(?!\+)(?=\/|(?:\s+\w+)*\s*>)', - ) - ) - ) -); - -?> \ No newline at end of file -- cgit v1.2.3-24-g4f1b