Skip to content
Snippets Groups Projects
Commit c35f3875 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Support for the Universal Edit Button autodetection

See http://universaleditbutton.org for details

darcs-hash:20080619214233-7ad00-89dd00369551379f7102a4e78cb3625227ba9cf9.gz
parent 2b25a5d6
No related branches found
No related tags found
No related merge requests found
......@@ -258,6 +258,12 @@ function tpl_metaheaders($alt=true){
$head['link'][] = array( 'rel'=>'alternate', 'type'=>'application/rss+xml',
'title'=>'Current Namespace',
'href'=>DOKU_BASE.'feed.php?mode=list&ns='.$INFO['namespace']);
if(($ACT == 'show' || $ACT == 'search') && $INFO['writable']){
$head['link'][] = array( 'rel'=>'alternate', 'type'=>'application/wiki',
'title'=>$lang['btn_index'],
'href'=> wl($ID,'do=edit',false,'&'));
}
if($ACT == 'search'){
$head['link'][] = array( 'rel'=>'alternate', 'type'=>'application/rss+xml',
'title'=>'Search Result',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment