* @link https://www.dokuwiki.org/template:monobook * @link https://www.dokuwiki.org/devel:configuration */ /****************************************************************************** ******************************** ATTENTION ********************************* DO NOT MODIFY THIS FILE, IT WILL NOT BE PRESERVED ON UPDATES! ****************************************************************************** If you want to add some own buttons, have a look at the README of this template and "/user/buttons.php". You have been warned! *****************************************************************************/ //check if we are running within the DokuWiki environment if (!defined("DOKU_INC")){ die(); } //note: The buttons will be rendered in the order they were defined. Means: // first button will be rendered first, last button will be rendered at // last. //RSS recent changes button $_monobook_btns["rss"]["img"] = DOKU_TPL."static/img/button-rss.png"; $_monobook_btns["rss"]["href"] = DOKU_BASE."feed.php"; $_monobook_btns["rss"]["width"] = 80; $_monobook_btns["rss"]["height"] = 15; $_monobook_btns["rss"]["title"] = $lang["monobook_recentchanges"]; $_monobook_btns["rss"]["nofollow"] = true; //"monobook for DokuWiki" button $_monobook_btns["mbfdw"]["img"] = DOKU_TPL."static/img/button-monobook.png"; $_monobook_btns["mbfdw"]["href"] = "https://www.dokuwiki.org/template:monobook"; $_monobook_btns["mbfdw"]["width"] = 80; $_monobook_btns["mbfdw"]["height"] = 15; $_monobook_btns["mbfdw"]["title"] = $lang["monobook_mdtemplatefordw"]; $_monobook_btns["mbfdw"]["nofollow"] = !(cleanID(getID()) === "start"); //donation button if (tpl_getConf("monobook_donate")){ $_monobook_btns["donate"]["img"] = DOKU_TPL."static/img/button-donate.gif"; $_monobook_btns["donate"]["href"] = tpl_getConf("monobook_donate_url"); $_monobook_btns["donate"]["width"] = 80; $_monobook_btns["donate"]["height"] = 15; $_monobook_btns["donate"]["title"] = $lang["monobook_donate"]; $_monobook_btns["donate"]["nofollow"] = true; } //DokuWiki button $_monobook_btns["dw"]["img"] = DOKU_TPL."static/img/button-dw.png"; $_monobook_btns["dw"]["href"] = "https://www.dokuwiki.org/"; $_monobook_btns["dw"]["width"] = 80; $_monobook_btns["dw"]["height"] = 15; $_monobook_btns["dw"]["title"] = "DokuWiki"; $_monobook_btns["dw"]["nofollow"] = !(cleanID(getID()) === "start"); //W3C (X)HTML validator button $_monobook_btns["valid_xhtml"]["img"] = DOKU_TPL."static/img/button-xhtml.png"; $_monobook_btns["valid_xhtml"]["href"] = "http://validator.w3.org/check/referer"; $_monobook_btns["valid_xhtml"]["width"] = 80; $_monobook_btns["valid_xhtml"]["height"] = 15; $_monobook_btns["valid_xhtml"]["title"] = "Valid XHTML"; $_monobook_btns["valid_xhtml"]["nofollow"] = true; /****************************************************************************** ******************************** ATTENTION ********************************* DO NOT MODIFY THIS FILE, IT WILL NOT BE PRESERVED ON UPDATES! ****************************************************************************** If you want to add some own buttons, have a look at the README of this template and "/user/buttons.php". You have been warned! *****************************************************************************/