• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisione78eeec4638981b42863fd315fee3965a0b45fbe (tree)
Time2007-07-23 23:26:06
Authorhenoheno <henoheno>
Commiterhenoheno

Log Message

BugTrack2/262: Convert MenuBar before deciding $pkwk_dtd (patched by Ilfa)

Change Summary

Incremental Difference

--- a/skin/pukiwiki.skin.php
+++ b/skin/pukiwiki.skin.php
@@ -1,6 +1,6 @@
11 <?php
22 // PukiWiki - Yet another WikiWikiWeb clone.
3-// $Id: pukiwiki.skin.php,v 1.54 2007/06/24 14:01:21 henoheno Exp $
3+// $Id: pukiwiki.skin.php,v 1.55 2007/07/23 14:26:06 henoheno Exp $
44 // Copyright (C)
55 // 2002-2007 PukiWiki Developers Team
66 // 2001-2002 Originally written by yu-ji
@@ -50,6 +50,9 @@ switch(UI_LANG){
5050 case 'ja': $css_charset = 'Shift_JIS'; break;
5151 }
5252
53+// MenuBar
54+$menu = arg_check('read') && exist_plugin_convert('menu') ? do_plugin_convert('menu') : FALSE;
55+
5356 // ------------------------------------------------------------
5457 // Output
5558
@@ -156,11 +159,11 @@ function _navigator($key, $value = '', $javascript = ''){
156159
157160 <?php echo $hr ?>
158161
159-<?php if (arg_check('read') && exist_plugin_convert('menu')) { ?>
162+<?php if ($menu) { ?>
160163 <table border="0" style="width:100%">
161164 <tr>
162165 <td class="menubar">
163- <div id="menubar"><?php echo do_plugin_convert('menu') ?></div>
166+ <div id="menubar"><?php echo $menu ?></div>
164167 </td>
165168 <td valign="top">
166169 <div id="body"><?php echo $body ?></div>