Emphase genera, references ...
Highlighting for several cases: genera, references, maps, put references into $_SESSION variable with putToArray()
HTML
emphase
([ &$originaltext = ''], [mixed $replacetext = ''], [string $contenttype = ''], [boolean $isHref = true], string $originaltext)
-
string
$originaltext: original text, e.g. in wikipedia like syntax
-
mixed
$replacetext: text to replace
-
string
$contenttype: for switch different cases, e.g. idtogenus
-
boolean
$isHref: true: use REQUEST_URI (make links to page itself); false: 'chirokey.php?show=references' (whole reference list)
-
&$originaltext
menu bar for popup.php
If you want to change the menu with its inserted code (JavaScript) you can alter/add values Just copy and modify a <span>...</span> tag
HTML
menubar
([string $pushcontent = ''], [string $type = ''], [string $add = ''])
-
string
$pushcontent: which text to insert
-
string
$type: types are font, tools, list, table, timestamp, image, sections, openlayermap, wrapmodus
-
string
$add: content to be added
create HTML from wikipedia like syntax
Highlighting the whole page stored in database table 'characters': lists, tables, sections, overlib features (JavaScript library), special characters, ....
HTML
pattern2tag
([string $text = ''])
-
string
$text: original text, e.g. in wikipedia like syntax
small icon pencil
HTML
pencil
([string $php_vars = ""], [string $file = "popup.php"], [ $html = "title='Click to edit in a new window' "], [string $icon = "b_edit.png"])
-
string
$php_vars: php variables
-
string
$file: which file is used?
-
string
$icon: which icon
-
$html
Searches a string in online databases
HTML
searchStringOnline
(string $strSearch, [mixed $category = ''], [ $isEscaped = false])
-
string
$strSearch: (composed) string to be searched, e.g. 'Genus+species'. Is splitted sometimes.
-
mixed
$category: is one of 'ITIS', 'GoogleImgage', 'GoogleScholar', 'Scirius', 'ScienceDirect', 'AskImages', 'Jstor', 'FaunaEuropea'
-
$isEscaped
creates select options
HTML
select
(array $arrValueToOption, string $name, [string $default = ''], [string $structure = ''], [string $preselected = 'option'])
-
array
$arrValueToOption: an array with [value] -> [option]
-
string
$name: element's name
-
string
$default: a default (preselected) option or a value. Produces selected='true'
-
string
$structure: some additional settings for HTML-selection, e.g. JavaScript
-
string
$preselected: some additional settings for HTML-selection, e.g. JavaScript
remove some HTML syntax to wikipedia like ones
string
tag2pattern
(string $text)
-
string
$text: given HTML text