]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FLinkIcons
Escape bad links
[SourceForge/phpwiki.git] / pgsrc / Help%2FLinkIcons
1 Date: Sat, 24 Jan 2009 20:18:24 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
3 X-Rcs-Id: $Id$
4 Content-Type: application/x-phpwiki;
5   pagename=Help%2FLinkIcons;
6   flags=PAGE_LOCKED;
7   markup=2;
8   charset=iso-8859-1
9 Content-Transfer-Encoding: binary
10
11 **~LinkIcons** are an optional new feature of ~PhpWiki. When activated,
12 icons will be displayed in front of URLs to indicate the type of link.
13
14 * [themes/default/images/http.png]
15   http link
16 * [themes/default/images/url.png]
17   generic internet link
18 * [themes/default/images/interwiki.png]
19   InterWiki link
20 * [themes/default/images/https.png]
21   https link
22 * [themes/default/images/mailto.png]
23   mailto link
24 * [themes/default/images/ftp.png]
25   ftp link
26
27 **Note**: Some of the default icons use the alpha channel feature of
28 the [PNG | http://www.libpng.org/pub/png/png-sitemap.html] image format
29 for smooth rendering on any page color or textured background. Older
30 browsers may not display all the images properly.
31
32 == Examples
33
34 The following examples will display with the above link icons only if
35 the administrator has enabled this feature.
36
37 === ~InterWiki links
38
39 * ~InterWiki link PhpWiki:InterWiki
40 * A named ~InterWiki [read WhyWikiWorks at c2|Wiki:WhyWikiWorks].
41
42 ===URLs
43
44 * Email address [PhpWiki-talk mailing list|mailto:phpwiki-talk@lists.sourceforge.net]
45 * Normal http link [PhpWiki's Home Page|http://phpwiki.sourceforge.net/phpwiki/]
46 * Secure http link [PhpWiki's Home Page|https://phpwiki.sourceforge.net/phpwiki/]
47 * File transfer ftp://ftp.sourceforge.net/
48
49 ''A generic icon is shown for other less common link types.''
50
51 * news://nntp.news.com
52 * gopher://gopher.caltech.cmu.edu
53
54 ~LinkIcons will only display when the URL protocol is one which ~PhpWiki
55 is allowed to link to. The following examples won't show any icons and
56 ~PhpWiki won't automatically provide double-clickable links either,
57 unless the administrator adds them:
58
59 * bogus://oedipus.nostradamus.com
60 * bolo://lgm.cheshire.org
61
62 <noinclude>
63 ----
64 [[PhpWikiDocumentation]]
65 </noinclude>