OSDN Git Service

Fix encode_hint logic
[pukiwiki/pukiwiki.git] / plugin / version.inc.php
index cec68d7..ca3f467 100644 (file)
@@ -1,8 +1,20 @@
 <?php
-// $Id: version.inc.php,v 1.5 2002/11/29 00:09:01 panda Exp $
+// PukiWiki - Yet another WikiWikiWeb clone
+// $Id: version.inc.php,v 1.8 2005/01/29 02:07:58 henoheno Exp $
+//
+// Show PukiWiki version
 
 function plugin_version_convert()
 {
-       return "<strong>".S_VERSION."</strong>";
+       if (PKWK_SAFE_MODE) return ''; // Show nothing
+
+       return '<p>' . S_VERSION . '</p>';
+}
+
+function plugin_version_inline()
+{
+       if (PKWK_SAFE_MODE) return ''; // Show nothing
+
+       return S_VERSION;
 }
 ?>