• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

Commit MetaInfo

修訂4378dfeafc4b04349fb8ae6c3f4c46189bea2303 (tree)
時間2007-07-29 14:22:36
作者henoheno <henoheno>
Commiterhenoheno

Log Message

Show a message when the page seems not freezed

Change Summary

差異

--- a/plugin/nofollow.inc.php
+++ b/plugin/nofollow.inc.php
@@ -1,9 +1,10 @@
11 <?php
2-// $Id: nofollow.inc.php,v 1.1 2005/05/23 14:22:30 henoheno Exp $
3-// Copyright (C) 2005 PukiWiki Developers Team
2+// $Id: nofollow.inc.php,v 1.2 2007/07/29 05:22:36 henoheno Exp $
3+// Copyright (C) 2005, 2007 PukiWiki Developers Team
44 // License: The same as PukiWiki
55 //
66 // NoFollow plugin
7+// (See BugTrack2/72)
78
89 // Output contents with "nofollow,noindex" option
910 function plugin_nofollow_convert()
@@ -11,9 +12,11 @@ function plugin_nofollow_convert()
1112 global $vars, $nofollow;
1213
1314 $page = isset($vars['page']) ? $vars['page'] : '';
14-
15- if(is_freeze($page)) $nofollow = 1;
16-
17- return '';
15+ if (is_freeze($page)) {
16+ $nofollow = 1;
17+ return '';
18+ } else {
19+ return '#nofollow: Page not freezed';
20+ }
1821 }
1922 ?>