* @link https://www.dokuwiki.org/template:vector * @link https://www.dokuwiki.org/devel:configuration */ //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. //W3C CSS validator button $_vector_btns["valid_css"]["img"] = DOKU_TPL."static/img/button-css.png"; $_vector_btns["valid_css"]["href"] = "http://jigsaw.w3.org/css-validator/check/referer"; $_vector_btns["valid_css"]["width"] = 80; $_vector_btns["valid_css"]["height"] = 15; $_vector_btns["valid_css"]["title"] = "Valid CSS"; $_vector_btns["valid_css"]["nofollow"] = true; //some examples: remove comments to see what is happening /* //button using all attributes $_vector_btns["example1"]["img"] = DOKU_TPL."user/img/yourButtonHere.png"; $_vector_btns["example1"]["href"] = "http://www.example.com"; $_vector_btns["example1"]["width"] = 80; $_vector_btns["example1"]["height"] = 15; $_vector_btns["example1"]["title"] = "Example button"; $_vector_btns["example1"]["nofollow"] = false; */ /* //button using only mandatory attributes $_vector_btns["example2"]["img"] = DOKU_TPL."user/img/yourButtonHere.png"; $_vector_btns["example2"]["href"] = "http://www.example.com"; */