PHP Nuke Nederland
 
•   Home  •  Downloads  •  Your Account  •  Forums  •
PHP-Nuke Nederland: Forums

PHP-Nuke Nederland :: View topic - HTML Blocks
 Forum FAQ  •   Search   •  Memberlist  •  Usergroups   •  Register   •    •  Profile  •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.
View previous topic Log in to check your private messages View next topic
Author Message
BlueLion
Administrator
Administrator


Joined: Aug 21, 2004
Posts: 2831

PostPosted: Sun 16 Jul 2006 5:53 Reply with quoteBack to top

De <img> tags worden gestripped uit de handmatige blokken met HTML. Ook worden de links weer voorzien van slashes. Als voorbeeld het standaard Information block:

Code:

<br /><center><font class="content">
<a href="http://phpnuke.org"><img src="images/powered/powered5.jpg" border="0" alt="Powered by PHP-Nuke" title="Powered by PHP-Nuke" width="88" height="31"></a>
<br /><br />
<a href="http://validator.w3.org/check/referer"><img src="images/html401.gif" width="88" height="31" alt="Valid HTML 4.01!" title="Valid HTML 4.01!" border="0"></a>
<br /><br />
<a href="http://jigsaw.w3.org/css-validator"><img src="images/css.gif" width="88" height="31" alt="Valid CSS!" title="Valid CSS!" border="0"></a></font></center><br />


Bij het wijzigen ziet het er als volgt uit

Admin panel > Blocks > Block Information:

Code:

<br />
<a href="http://phpnuke.org"></a>
<br /><br />
<a href="http://validator.w3.org/check/referer"></a>
<br /><br />
<a href="http://jigsaw.w3.org/css-validator"></a><br />


nadat bovenstaand wordt opgeslagen ziet de HTML er in het block,
na Admin panel > Blocks > Information

er als volgt uit:

Code:

<br />
<a href="\http://phpnuke.org\"></a>
<br /><br />
<a href="\http://validator.w3.org/check/referer\"></a>
<br /><br />
<a href="\http://jigsaw.w3.org/css-validator\"></a><br />


Geen images meer, en de links zijn corrupt.
Oftewel de nieuwe check_html functie in 3.2 doet z'n werk goed, te goed.

Stripslashes bieden voor het laatste gedeelte wel uitkomst, maar de <img> tags zijn nog een onderzoek waardig.


BL

_________________
Te Lezen: Forum Regels | Te Gebruiken: Forum Zoek Functie
Aanbevolen PHP-Nuke versie: PHP-Nuke 7.6pl3.1!
Aanbevolen Security AddOn: Nuke Sentinel™
View user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
 Donaties   Adverteren 
Wilt u het forum steunen, dan kunt u nu eenvoudig doneren met PayPal.
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Web site powered by PHP-Nuke

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2004-2008 by BlueLion.
SEO enhanced with the Sitemapper script
You can syndicate our news using the file backend.php or ultramode.txt
Powered by PHP Powered by MySQL Apache Webserver Valid robots.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Pagina rendering: 0.70 seconden


[Valid News RSS]

RSS Feeds:
[RSS 2.0 News Feed]
[RSS 2.0 Download Feed]
[RSS 2.0 Forum Feed]
[RSS 2.0 Link Feed]
:: fisubsilver shadow phpbb2 style by Daz :: PHP-Nuke theme by BlueLion ::