Difference between revisions of "Content Control Settings"
From GeeklogWiki
Line 1: | Line 1: | ||
+ | {| border=1 cellspacing=0 | ||
+ | !Variable | ||
+ | !Default Value | ||
+ | !Description | ||
+ | |- | ||
+ | |user_html | ||
+ | |<p>, <b>, <i>, <a>, <em>, <br>, <tt>, <hr>, <ol>, <ul>, <li>, <code>, <pre> | ||
+ | |HTML tags and attributes that normal users are allowed to use in story submissions and comments. | ||
+ | |- | ||
+ | |admin_html | ||
+ | |additional HTML tags, e.g. for tables | ||
+ | |HTML tags and attributes that admin users are allowed to use (in addition to those from user_html). Redefining a tag with additional attributes will overwrite the definition from user_html. | ||
+ | |- | ||
+ | |allowed_protocols | ||
+ | |array ('http:', 'https:', 'ftp:'); | ||
+ | |Defines which protocols are allowed in links (i.e. HTML <code><a></code> tags).<br><strong>Note:</strong> The kses class used to filter these protocols has a hard-coded list of allowed protocols to which the above will be <em>added</em>. It is currently not possible to <em>remove</em> any of the default protocols (which include, for example, 'mailto:', 'gopher:', and 'news:'). | ||
+ | |- | ||
+ | |censormode | ||
+ | |1 | ||
+ | |Censor submissions and comments (0=no, 1=yes) | ||
+ | |- | ||
+ | |censorreplace | ||
+ | |*censored* | ||
+ | |Text to replace a censored word with | ||
+ | |- | ||
+ | |censorlist | ||
+ | |array("fuck", "cunt", "fucker", "fucking", "pussy", "cock", "c0ck", "cum", "twat", "clit", "bitch", "fuk", "fuking", "motherfucker") | ||
+ | |An array of censored words | ||
+ | |} | ||
;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]] | ;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]] |
Latest revision as of 08:49, 7 July 2004
Variable | Default Value | Description |
---|---|---|
user_html | <p>, <b>, <i>, <a>, <em>, <br>, <tt>, <hr>, <ol>, <ul>, <li>, <code>, <pre> | HTML tags and attributes that normal users are allowed to use in story submissions and comments. |
admin_html | additional HTML tags, e.g. for tables | HTML tags and attributes that admin users are allowed to use (in addition to those from user_html). Redefining a tag with additional attributes will overwrite the definition from user_html. |
allowed_protocols | array ('http:', 'https:', 'ftp:'); | Defines which protocols are allowed in links (i.e. HTML <a> tags).Note: The kses class used to filter these protocols has a hard-coded list of allowed protocols to which the above will be added. It is currently not possible to remove any of the default protocols (which include, for example, 'mailto:', 'gopher:', and 'news:'). |
censormode | 1 | Censor submissions and comments (0=no, 1=yes) |
censorreplace | *censored* | Text to replace a censored word with |
censorlist | array("fuck", "cunt", "fucker", "fucking", "pussy", "cock", "c0ck", "cum", "twat", "clit", "bitch", "fuk", "fuking", "motherfucker") | An array of censored words |