OSDN Git Service

Correct typo. fil => file (Commented by Nibun-no-ni)
authorhenoheno <henoheno>
Fri, 28 Jan 2005 11:58:56 +0000 (20:58 +0900)
committerhenoheno <henoheno>
Fri, 28 Jan 2005 11:58:56 +0000 (20:58 +0900)
plugin/ref.inc.php

index acd12e7..650bf40 100644 (file)
@@ -1,17 +1,15 @@
 <?php
-/////////////////////////////////////////////////
-// PukiWiki - Yet another WikiWikiWeb clone.
-//
-// $Id: ref.inc.php,v 1.47 2004/12/25 00:39:45 henoheno Exp $
+// PukiWiki - Yet another WikiWikiWeb clone
+// $Id: ref.inc.php,v 1.48 2005/01/28 11:58:56 henoheno Exp $
 //
+// Image refernce plugin
 // Include an attached image-file as an inline-image
 
 // File icon image
-if (! defined('FILE_ICON')) {
+if (! defined('FILE_ICON'))
        define('FILE_ICON',
        '<img src="' . IMAGE_DIR . 'file.png" width="20" height="20"' .
        ' alt="file" style="border-width:0px" />');
-}
 
 /////////////////////////////////////////////////
 // Default settings
@@ -187,7 +185,7 @@ function plugin_ref_body($args)
                                        // Because of race condition NOW
                                        $params['_error'] = htmlspecialchars('The same file name "' .
                                                $name . '" at both page: "' .  $page . '" and "' .  $_arg .
-                                               '". Try ref(pagename/filname) to specify one of them');
+                                               '". Try ref(pagename/filename) to specify one of them');
                                } else {
                                        // Because of possibility of race condition, in the future
                                        $params['_error'] = 'The style ref(filename,pagename) is ambiguous ' .