summaryrefslogtreecommitdiff
path: root/lib/plugins/syntax.php
diff options
context:
space:
mode:
authormatthiasgrimm <matthiasgrimm@users.sourceforge.net>2005-05-19 19:40:25 +0200
committermatthiasgrimm <matthiasgrimm@users.sourceforge.net>2005-05-19 19:40:25 +0200
commita3ec5f4af2e46256ac7efebb3a11e7084783080b (patch)
tree9e4baec23f14260717a1eb895505de8e5b6efaef /lib/plugins/syntax.php
parentbad0b54555f7c529c42bbeba1a17b374af1d9305 (diff)
downloadrpg-a3ec5f4af2e46256ac7efebb3a11e7084783080b.tar.gz
rpg-a3ec5f4af2e46256ac7efebb3a11e7084783080b.tar.bz2
add a back button to parent page
This patch extends the template functions with back button linking to the current pages' parent if available. Both tpl_button() and tpl_actionlink() are supported. For this to work the first page in the namespace must have the same name as the namespace itself. The 'back' button of every page in this namespace links to namespace:namespace. The 'back' button of the page namespace:namespace links to the first page of the containing namespace and so forth until the start page has been reached. Because of the precondition decribed above, the default template hasn't got the new 'back' button. It is reserved for custom made templates and installations which take care of the precondition. darcs-hash:20050519174025-7ef76-1e9c78c941f53871905fc1ba08b28a826553daa3.gz
Diffstat (limited to 'lib/plugins/syntax.php')
0 files changed, 0 insertions, 0 deletions