From 71b7f52acfa939a6c39e100c29e10a2f916c8414 Mon Sep 17 00:00:00 2001 From: pioder Date: Thu, 7 May 2009 16:30:56 +0000 Subject: [PATCH] + Updated WYSIWYG posts editor - Wyzz from version 0.62 to 0.65 + Added option: displaying no_av.gif file, when avatar in profile not set git-svn-id: https://svn.pioder.pl/uf-svn/uF@25 72ec579a-5ced-4fa4-82f3-afba5d98df2f --- images/wyzz.js | 159 ++++++++++++++++--------------- skins/subPurple/images/Thumbs.db | Bin 40448 -> 47616 bytes skins/subPurple/images/no_av.gif | Bin 0 -> 2562 bytes topic.php | 2 +- 4 files changed, 84 insertions(+), 77 deletions(-) create mode 100644 skins/subPurple/images/no_av.gif 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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Cx@{MM=Sj-?^dY%yL&zb7K z7~^+`rYjob`%Cw7hHO=;VNJ^S9HaY~`#s5+jnRbW^0662$GpvT&4h|b+hK~hX|3CQ zkp1IvmytZ5%Pn(4k-~}}e5wOGQjWE9GpC%{4?rZMP+=ree{TvGstqr_`FK?%PhD&ptWpmQayb^A4kx@a8XPzk> zJNmwc&&uUA-jPCP(9%Ec}($a>pS1=OGRTVV!-NA)9Xr z%#)31oq>gH!GV_n7$*CTZLx_XMEX(#Ezt7}o6h zk(TQo?5ZAUhUpmD=G?GQ=qtoi-F*^KD&vQh0ud@-^>ugY0TK4`k{k^ksgq$G< N(z`StQX;*?e*i}JE-(N9 delta 563 zcmZqp!ql*bX@UbI%SOl5Of3KY|NlSv1CtBmzlnjTC$Z!RH`MO@!*b>%BQpa7Lqk1~ zU|^WssBgb{AB!6oqx@!8{$hDXrOlOkr&M_v`GJyxKnyhF|Kvs%mB}R`{=5uQKoMyq z(am2%u82%NA)>SSOQt{1WM@{x$t7j}AbRtcG7YE`6e=qwh6qevQ5nb%G7SheRXq}x ztN*g--Ol@h{~1o~T~&X5&Hi7E3;5nYioJh(PoT=b`b~We?DdVV^^Q+I6`y`_a`$%8 z`(LlWw`&%(yb`i1B==OvOS5}#cLn5bzq);OZKQhl{s;5x`EAl4?ae+SzUzADqdiyG zr|+LZDH38xiRur>5hQDvx)rng63~`(gcG{1w~(Gcdia|0&g_{p?l1lIQw` z`8VZvUV33Vl20`K(K0{f2`}Wo(4r)LGBH+^TbItyZSS(It~E zs!Z}!y{Nh}>?cp!lTAtxv9EFmD!$YL48 z?OQe{CjL2ZT=%BuxpjZc^X)N@=N?(Vwf@2U{|ukpzRv&6fA&Aal5bZ6*nt)+vWQMT L(5p1LjYSRs8hR&R diff --git a/skins/subPurple/images/no_av.gif b/skins/subPurple/images/no_av.gif new file mode 100644 index 0000000000000000000000000000000000000000..93a098c328baa3a468a11e6d53ba49bfd735dec8 GIT binary patch literal 2562 zcmV+d3jOs*Nk%w1VNd{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GvRm!~q5%;JN{@H~x7B6>#vy98ff)>ph-y;(I4;xIjY= zLFAA_42^HFK?R^ozyTkJ5Z*@$^#Dr5@0M8NJ0wiFz(EGeZvZ+35{QrnB!Lvp2lOd~ zJ>w0obdvr2ac|Fr4KA>tzY9#vVaXxuTc739a0n)pVnc9{-~6%{x4Ee)dg>FP9olfY zG^BwEBe>5X7RbT5K|)P{2%!YqkcK&!kc1aJgLK3Z2)WHo5|Z#BBn}Y>HSwW>B(%dE z+F%9?`Y;XtHgE@Nz@Y@Wxlo4a3q%dmbh!$qfrl0}Ll3{e1SX`x1#fFhKa|jk26`|N z=<7owLa3%Tv|$cUOhXTQc)=>VkqM&c%LtBmh$Id!gz8h152a{9Dt_S#SEynWtk8rd zxBwnpDaRbpH$x=`q7NeE!yGK9M>Bk(hi`Oa6PU0BBn)8)K_~-PUSSDG3NC#joWl(- zmpL_3kqKJRE;FAwpaBhHAOjVs00kz<05m_M zgd4ik3@D7^E4#T#a4IthhvL(! zEXC+c!*^8Bb+se?pupuU`2{VIRgj!i=2^*k)s_;~s7Dpw>_8{eju;~d3k4)z3mHyO zrZl4atmt1efC09OudSe)ghx!V1TE~82|e}XLxDPjv=Y^_gJoU?Rx5$oJ-`?qndQVz zH(5o|R+Y5;bZJq;=Q+Wq)~&0>008{q5jmuxq-K5WN@q|}-E!4&gPq-KndjCF6kr@5 zDF+3t5YF53mANcH!CxJ>+rWZvcC7`SYAaBH1A@dJ9~c7hfI3mE{#AKgjV|pfklyLC zcDmYV3l3h<0Tw`Z1}X@z3D&xS{GRu75=gIl{R@EzSRitw!37RPU;*b^*0+O=uyp-f z0rH7p2Qy*^0}=oM=4}82mA$Nfr7K+sJRku=XqGHYF^M}w;Kvb&aD*Q~P>!;cr%dH4D
' : '' : '', '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'],