From: Waitman C. G. <wa...@em...> - 2002-11-05 16:41:55
|
hello, can we add this to config.inc.php $allow_html[] = 'no'; // allow html in event descriptions. (you could default to "yes") then change event.php - the section that deals with description: $description = rawurldecode($description); $description = stripslashes($description); $description = str_replace('\\', '', $description); if (strtolower($allow_html)=='no') { $description = htmlspecialchars($description); $description = @eregi_replace("<br>","<br>",$description); } the reason is i sometimes put code notes in my event entries. if you think this feature is not important enough to include in the main code, my feelings won't be hurt ;-) this is a "quick fix" - with the downside being that IF my code notes contain a <BR> tag, it doesn't show up as a <br> tag but creates a new line. i thought about simply doing a <pre>$description</pre> but then there are word wrap and new line issues. a good alternative that may prove prudent is to look at the phpbb code and try to emulate the phpbb style codes in the event descriptions???? like [code] blah blah blech [/code] [url]http://myfavouritepornsite.com[/url] whatever... please let me know you opinions! thanks and best Waitman Gobble EMK Design Buena Park California +1.7145222528 http://emkdesign.com On Sat, 2002-11-02 at 09:06, Chad wrote: Well I wanted to get out a maint release since 0.9 will probably be a bit. Ive already started the README as you can probably tell. Let me know when your ready and I'll package it up. -C On Saturday, November 2, 2002, at 08:03 AM, Jared wrote: > We could if you like. I won't be able to work on it tonight because I > have other things to do so now is as good a time as ever. There are > quite a few bug fixes, and that's about all that there is. I will make > sure everything I have done is commited (pretty sure it is, just gotta > double check), including a 0.8.1 section in the README. > > -Jared > > On Saturday, November 2, 2002, at 01:02 AM, Chad wrote: > >> Want to ship 0.8.1? >> >> -C >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: See the NEW Palm Tungsten T >> handheld. Power & Color in a compact size! >> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en >> _______________________________________________ >> Phpicalendar-devel mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Phpicalendar-devel mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |