From a2c734d5b959c87f2d84d2aebc197b8043479b4f Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Fri, 10 Apr 2009 21:03:10 +0200 Subject: [PATCH] use more compatible Universal Edit Button header FS#1628 Ignore-this: 6de5e7e1ea10540114cc784c0e10c5c6 Replaces the old rel darcs-hash:20090410190310-7ad00-17320fded7b2590efe9c67a22533b776a788803b.gz --- inc/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/template.php b/inc/template.php index 60bdf8f3b..d4b28cad1 100644 --- a/inc/template.php +++ b/inc/template.php @@ -267,7 +267,7 @@ function tpl_metaheaders($alt=true){ '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', + $head['link'][] = array( 'rel'=>'edit', 'title'=>$lang['btn_edit'], 'href'=> wl($ID,'do=edit',false,'&')); } -- GitLab