* @link http://andreas-haerter.com/projects/dokuwiki-template-vector * @link http://www.dokuwiki.org/template:vector * @link http://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 $_vector_btns["rss"]["img"] = DOKU_TPL."static/img/button-rss.png"; $_vector_btns["rss"]["href"] = DOKU_BASE."feed.php"; $_vector_btns["rss"]["width"] = 80; $_vector_btns["rss"]["height"] = 15; $_vector_btns["rss"]["title"] = $lang["vector_recentchanges"]; $_vector_btns["rss"]["nofollow"] = true; //donation button if (tpl_getConf("vector_donate")){ $_vector_btns["donate"]["img"] = DOKU_TPL."static/img/button-donate.gif"; $_vector_btns["donate"]["href"] = DOKU_BASE."feed.php"; if (tpl_getConf("vector_donate_default")){ $_vector_btns["donate"]["href"] = "http://andreas-haerter.com/donate/vector/paypal"; //default url }else{ $_vector_btns["donate"]["href"] = tpl_getConf("vector_donate_url"); //custom url } $_vector_btns["donate"]["width"] = 80; $_vector_btns["donate"]["height"] = 15; $_vector_btns["donate"]["title"] = $lang["vector_donate"]; $_vector_btns["donate"]["nofollow"] = true; } //"vector for DokuWiki" button $_vector_btns["vecfdw"]["img"] = DOKU_TPL."static/img/button-vector.png"; $_vector_btns["vecfdw"]["href"] = "http://andreas-haerter.com/projects/dokuwiki-template-vector"; $_vector_btns["vecfdw"]["width"] = 80; $_vector_btns["vecfdw"]["height"] = 15; $_vector_btns["vecfdw"]["title"] = $lang["vector_mdtemplatefordw"]; $_vector_btns["vecfdw"]["nofollow"] = false; //DokuWiki button $_vector_btns["dw"]["img"] = DOKU_TPL."static/img/button-dw.png"; $_vector_btns["dw"]["href"] = "http://www.dokuwiki.org"; $_vector_btns["dw"]["width"] = 80; $_vector_btns["dw"]["height"] = 15; $_vector_btns["dw"]["title"] = "DokuWiki"; $_vector_btns["dw"]["nofollow"] = false; /****************************************************************************** ******************************** 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! *****************************************************************************/