<?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
// 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 ' .