wpja http://ja.wikipedia.org/wiki/ google.jp http://www.google.co.jp/search?q=
を記述(interwiki.confはバージョンアップで上書きされる)
inc/templete.php
function tpl_pageinfo(){
という場所を検索
global $REV;
の後ろに
global $ID;
を追加。
// $fn = utf8_decodeFN($fn); $fn = '[['.$ID.']]';
記事用リンクソース:<input type="text" name="link_source" size="50" value='<a href="<?php echo DOKU_URL.$ID?>" title="<?php echo hsc($conf['title'])?> - <?php tpl_pagetitle()?>"><?php tpl_pagetitle()?></a>' />
<?php if ($_REQUEST['mbdo'] == '') { $title = tpl_pagetitle($ID,true); $tid = $ID; if ($tid == 'index') {$tid = '';} print "記事用リンクソース:<input type=\"text\" name=\"link_source\" size=\"30\" value='<a href=\""; print DOKU_URL.$tid; print "\" title=\""; print $conf['title']; print " - "; print $title; print "\">"; print $title; print "</a>' onfocus=\"this.select()\" />"; }
<?php if (file_exists(dirname(__FILE__).'/linksource.php')) include_once(dirname(__FILE__).'/linksource.php'); ?>