Date: Fri, 13 Dec 2002 00:31:42 -0500
Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks)
Content-Type: application/x-phpwiki;
  pagename=LinkIcons;
  flags="";
  author=DavidLucifer;
  version=2;
  lastmodified=1039757502;
  author_id=DavidLucifer;
  hits=13690;
  charset=iso-8859-1
Content-Transfer-Encoding: binary

LinkIcons are an optional new feature of PhpWiki. When activated, icons will be displayed in front of URLs to indicate the type of link.

*[http://virus.lucifer.com/wikidata/themes/default/images/http.png] http link
*[http://virus.lucifer.com/wikidata/themes/default/images/url.png] generic internet link
*[http://virus.lucifer.com/wikidata/themes/default/images/interwiki.png] InterWiki link
*[http://virus.lucifer.com/wikidata/themes/default/images/https.png] https link
*[http://virus.lucifer.com/wikidata/themes/default/images/mailto.png] mailto link
*[http://virus.lucifer.com/wikidata/themes/default/images/ftp.png] ftp link

;__Note__: Some of the default icons use the alpha channel feature of the [PNG|http://www.libpng.org/pub/png/png-sitemap.html] image format for smooth rendering on any page color or textured background. Older browsers may not display all the images properly.

!!!Examples
The following examples will display with the above link icons only if the administrator has enabled this feature.

!! InterWiki links
*InterWiki link PhpWiki:InterWiki %%%
*A named InterWiki [read WhyWikiWorks at c2|Wiki:WhyWikiWorks].

!!URLs
*Email address [PhpWiki-talk mailing list|mailto:phpwiki-talk@lists.sourceforge.net]%%%
*Normal http link [PhpWiki's Home Page|http://phpwiki.sourceforge.net/phpwiki/]%%%
*Secure http link [PhpWiki's Home Page|https://phpwiki.sourceforge.net/phpwiki/] %%%
*File transfer ftp://ftp.sourceforge.net/ %%%

''A generic icon is shown for other less common link types.''%%%
*[news://nntp.news.com] %%%
*gopher://gopher.caltech.cmu.edu %%%

LinkIcons will only display when the URL protocol is one which PhpWiki is allowed to link to. The following examples won't show any icons and PhpWiki won't automatically provide double-clickable links either, unless the administrator adds them:

*bogus://oedipus.nostradamus.com %%%
*bolo://lgm.cheshire.org

----
PhpWikiDocumentation
