OSDN Git Service

BugTrack2/139: Correct. Deleted a first space at preview.
[pukiwiki/pukiwiki.git] / plugin / version.inc.php
index 07a0a94..ca3f467 100644 (file)
@@ -1,8 +1,20 @@
-<?
-// $Id: version.inc.php,v 1.4 2002/07/01 07:08:57 masui Exp $
+<?php
+// 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;
 }
 ?>