MediaWiki
REL1_23
|
Public Member Functions | |
afterContent () | |
beforeContent () | |
bottomLinks () | |
execute () | |
Main function, used by classes that subclass QuickTemplate to show the actual HTML output. | |
otherLanguages () | |
pageTitleLinks () | |
processBottomLink ($key, $navlink, $message=null) | |
Used in bottomLinks() to eliminate repetitive code. | |
processNavlinkForDocument ($navlink, $idPrefix= 'cb-') | |
Takes a navigational link generated by SkinTemplate in whichever way and mangles attributes unsuitable for repeated use. | |
quickBar () | |
Compute the sidebar. | |
searchForm ($which) | |
sidebarAdditions ($bar) | |
Adds CologneBlue-specific items to the sidebar: qbedit, qbpageoptions and qbmyoptions menus. | |
sysLinks () | |
talkLink () | |
variantLinks () | |
Language/charset variant links for classic-style skins. | |
Protected Member Functions | |
renderAfterPortlet ($name) |
Definition at line 56 of file CologneBlue.php.
Definition at line 329 of file CologneBlue.php.
References $s, array(), as, bottomLinks(), data, BaseTemplate\getFooterLinks(), QuickTemplate\getSkin(), php, quickBar(), searchForm(), sysLinks(), variantLinks(), and wfMessage().
Referenced by execute().
Definition at line 282 of file CologneBlue.php.
References $s, data, QuickTemplate\getSkin(), href, otherLanguages(), pageTitleLinks(), php, and wfMessage().
Referenced by execute().
Definition at line 159 of file CologneBlue.php.
References $lines, array(), data, QuickTemplate\getSkin(), BaseTemplate\getToolbox(), otherLanguages(), processBottomLink(), and talkLink().
Referenced by afterContent().
Main function, used by classes that subclass QuickTemplate to show the actual HTML output.
Reimplemented from QuickTemplate.
Definition at line 57 of file CologneBlue.php.
References afterContent(), beforeContent(), QuickTemplate\html(), BaseTemplate\printTrail(), wfRestoreWarnings(), and wfSuppressWarnings().
Definition at line 87 of file CologneBlue.php.
References $html, $key, $s, array(), as, data, empty, QuickTemplate\getSkin(), global, BaseTemplate\makeListItem(), renderAfterPortlet(), and wfMessage().
Referenced by beforeContent(), and bottomLinks().
Definition at line 126 of file CologneBlue.php.
References $s, array(), as, data, BaseTemplate\getFooterLinks(), and QuickTemplate\getSkin().
Referenced by beforeContent().
CologneBlueTemplate::processBottomLink | ( | $ | key, |
$ | navlink, | ||
$ | message = null |
||
) |
Used in bottomLinks() to eliminate repetitive code.
$key | string Key to be passed to makeListItem() |
$navlink | array Navlink suitable for processNavlinkForDocument() |
$message | string Key of the message to use in place of standard text |
Definition at line 146 of file CologneBlue.php.
References $key, array(), BaseTemplate\makeListItem(), processNavlinkForDocument(), and wfMessage().
Referenced by bottomLinks(), and talkLink().
CologneBlueTemplate::processNavlinkForDocument | ( | $ | navlink, |
$ | idPrefix = 'cb-' |
||
) |
Takes a navigational link generated by SkinTemplate in whichever way and mangles attributes unsuitable for repeated use.
In particular, this modifies the ids and removes the accesskeys. This is necessary to be able to use the same navlink twice, e.g. in sidebar and in footer.
$navlink | array Navigational link generated by SkinTemplate |
$idPrefix | mixed Prefix to add to id of this navlink. If false, id is removed entirely. Default is 'cb-'. |
Definition at line 263 of file CologneBlue.php.
Referenced by processBottomLink().
Compute the sidebar.
Definition at line 457 of file CologneBlue.php.
References $key, $link, $s, array(), as, data, Sanitizer\escapeId(), BaseTemplate\getToolbox(), BaseTemplate\makeListItem(), renderAfterPortlet(), searchForm(), sidebarAdditions(), and wfMessage().
Referenced by afterContent().
CologneBlueTemplate::renderAfterPortlet | ( | $ | name | ) | [protected] |
string | $name |
Reimplemented from BaseTemplate.
Definition at line 117 of file CologneBlue.php.
References $html, $name, array(), and wfRunHooks().
Referenced by otherLanguages(), and quickBar().
CologneBlueTemplate::searchForm | ( | $ | which | ) |
$label | string |
Definition at line 549 of file CologneBlue.php.
References $s, array(), data, QuickTemplate\getSkin(), global, BaseTemplate\makeSearchButton(), BaseTemplate\makeSearchInput(), and wfMessage().
Referenced by afterContent(), and quickBar().
Adds CologneBlue-specific items to the sidebar: qbedit, qbpageoptions and qbmyoptions menus.
$bar | sidebar data |
Definition at line 413 of file CologneBlue.php.
References $key, array(), as, data, and BaseTemplate\getPersonalTools().
Referenced by quickBar().
Definition at line 379 of file CologneBlue.php.
References $key, $s, array(), as, BaseTemplate\getPersonalTools(), QuickTemplate\getSkin(), Linker\linkKnown(), Linker\makeExternalLink(), Skin\makeInternalOrExternalUrl(), BaseTemplate\makeListItem(), Title\newFromText(), QuickTemplate\text(), and wfMessage().
Referenced by afterContent().
Definition at line 208 of file CologneBlue.php.
References $key, $title, array(), data, QuickTemplate\getSkin(), and processBottomLink().
Referenced by bottomLinks().
Language/charset variant links for classic-style skins.
Definition at line 75 of file CologneBlue.php.
References $key, $link, $s, array(), as, data, QuickTemplate\getSkin(), and BaseTemplate\makeListItem().
Referenced by afterContent().