cvs: docweb /www/rfc rfc-bbcode-help.php
| From: | Vincent Gevers | Date: | Fri, 27 Aug 2004 13:13:56 +0000 |
| Subject: | cvs: docweb /www/rfc rfc-bbcode-help.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-203@lists.php.net to get a copy of this message | ||
vincent Fri Aug 27 09:13:56 2004 EDT
Modified files:
/docweb/www/rfc rfc-bbcode-help.php
Log:
the table should not be removed...
http://cvs.php.net/diff.php/docweb/www/rfc/rfc-bbcode-help.php?r1=1.2&r2=1.3&ty=u
Index: docweb/www/rfc/rfc-bbcode-help.php
diff -u docweb/www/rfc/rfc-bbcode-help.php:1.2 docweb/www/rfc/rfc-bbcode-help.php:1.3
--- docweb/www/rfc/rfc-bbcode-help.php:1.2 Fri Aug 27 08:49:43 2004
+++ docweb/www/rfc/rfc-bbcode-help.php Fri Aug 27 09:13:55 2004
@@ -91,6 +91,7 @@
</table>
<br clear="all" />
+<table class="forumline" width="100%" cellspacing="1"
cellpadding="3" border="0" align="center">
<tr>
<td class="row1" align="left" valign="top"><span
class="postbody"><a name="8"></a><b>Linking to another
site</b></span><br /><span class="postbody">phpBB BBCode supports
a number of ways of creating URIs, Uniform Resource Indicators better known as
URLs.<ul><li>The first of these uses the <b>[url=][/url]</b> tag; whatever
you type after the = sign will cause the contents of that tag to act as a URL. For example, to link
to phpBB.com you could use:<br /><br /><b>[url=http://www.phpbb.com/]</b>Visit
phpBB!<b>[/url]</b><br /><br />This would generate the following link, <a
href="http://www.phpbb.com/"
target="_blank">Visit phpBB!</a> You will notice the link opens in a new window
so the user can continue browsing the forums if they wish.</li><li>If you want the URL
itself displayed as the link you can do this by simply using:<br /><br
/><b>[url]</b>http://www.phpbb.com/<b>[/url]</b><br
/><br />This would generate the following link: <a href="http://www.phpbb.com/" target="_blank">http://www.phpbb.com/</a></li><li>Additionally
phpBB features something called <i>Magic Links</i>which will turn any syntatically
correct URL into a link without you needing to specify any tags or even the leading http://. For example typing www.phpbb.com into your message will automatically
lead to <a href="http://www.phpbb.com/"
target="_blank">www.phpbb.com</a> being output when you view the
message.</li><li>The same thing applies equally to email addresses; you can either
specify an address explicitly, like:<br /><br
/><b>[email]</b>no.one@domain.adr<b>[/email]</b><br /><br
/>which will output <a href="emailto:no.one@domain.adr">no.one@domain.adr</a>
or you can just type no.one@domain.adr into your message and it will be automatically converted when
you view.</li></ul>As with all the BBCode tags you can wrap URLs around any of the other
tags such as <b>[img][/img]</b> (see next entry), <b>[b][/b]</b>, etc. As
with the formatting tags it is up to you to ensure the correct open and close order is following.
For example:<br /><br /><b>[url=<?php echo
get_resource_url();?>][img]</b><?php echo
get_resource_url('images/php.gif');?><b>[/url][/img]</b><br /><br
/>is <u>not</u> correct which may lead to your post being deleted so take care.<br
/><a class="postlink" href="#Top">Back to
top</a></span></td>
</tr>