diff --git a/images/wyzz.js b/images/wyzz.js index 5190db5..04addcf 100644 --- a/images/wyzz.js +++ b/images/wyzz.js @@ -1,23 +1,25 @@ /** -* @package Dynamic Script Forum -* @file wyzz.js -* @version 1.0.x, 19-10-2007, 18:03 -* @copyright 2008(c) DSF Team -* @author ------------------ -* @link http://dsf.gim2przemysl.int.pl/ +* @package uForum +* @file images/wyzz.js +* @version $Id$ +* @copyright 2009(c) The Mouse Whisperer +* @author The Mouse Whisperer +* @modified PioDer +* @link http://pioder.gim2przemysl.int.pl/ * @license GNU GPL v3 **/ + // Editor Width and Height wyzzW = 600; wyzzH = 200; -image_path = skin_path + 'images/'; -// Number of toolbars - must be either 1 or 2 +image_path = skin_path + 'images/';// Number of toolbars - must be either 1 or 2 // If set to 1, the first tooolbar (defined in array buttonName below) will be ignored toolbarCount = 2; // Edit region stylesheet editstyle = skin_path + 'wyzz_editarea.css'; + // Do we want to try to clean the code to emulate xhtml? 1=Yes, 0=No xhtml_out = 0; @@ -29,11 +31,9 @@ document.write(''; insertHTML(theImage, n); } @@ -314,7 +334,7 @@ function make_wyzz(textareaID) { toolbar += ''; } } - toolbar += ' '; + toolbar += ' '; } @@ -384,7 +404,7 @@ function make_wyzz(textareaID) { // The help/about box // The copyright and link must remain unaltered toolbar2 += ''; // Create iframe for editor @@ -412,8 +432,7 @@ var iframe = '
' : '' : '', 'userrank' => User::UserRank($item['rank']), - 'avatar' => ($item['avatar']!='') ? 'av' : '



', + 'avatar' => ($item['avatar']!='') ? 'av' : 'av', 'posttext' => Topic::PostText($item['text'], $item['moderated'], $item['p_id']), 'sig'=>($item['sig']!='') ? '

----------------
'.$item['sig'] : '', 'posts'=>$item['posts'],