[ Index ]
 

Code source de DokuWiki 2006-11-06

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/exe/ -> css.php (sommaire)

DokuWiki StyleSheet creator

Author: Andreas Gohr <andi@splitbrain.org>
License: GPL 2 (http://www.gnu.org/licenses/gpl.html)
Poids: 286 lignes (9 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 4 fichiers
 inc/pageutils.php
 inc/init.php
 inc/confutils.php
 inc/io.php

Définit 9 fonctions

  css_out()
  css_cacheok()
  css_applystyle()
  css_interwiki()
  css_filetypes()
  css_loadfile()
  css_pluginstyles()
  css_compress()
  css_comment_cb()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

css_out()   X-Ref
Output all needed Styles

author: Andreas Gohr <andi@splitbrain.org>

css_cacheok($cache,$files)   X-Ref
Checks if a CSS Cache file still is valid

author: Andreas Gohr <andi@splitbrain.org>

css_applystyle($css)   X-Ref
Does placeholder replacements in the style according to
the ones defined in a templates style.ini file

author: Andreas Gohr <andi@splitbrain.org>

css_interwiki()   X-Ref
Prints classes for interwikilinks

Interwiki links have two classes: 'interwiki' and 'iw_$name>' where
$name is the identifier given in the config. All Interwiki links get
an default style with a default icon. If a special icon is available
for an interwiki URL it is set in it's own class. Both classes can be
overwritten in the template or userstyles.

author: Andreas Gohr <andi@splitbrain.org>

css_filetypes()   X-Ref
Prints classes for file download links

author: Andreas Gohr <andi@splitbrain.org>

css_loadfile($file,$location='')   X-Ref
Loads a given file and fixes relative URLs with the
given location prefix


css_pluginstyles($mode='screen')   X-Ref
Returns a list of possible Plugin Styles (no existance check here)

author: Andreas Gohr <andi@splitbrain.org>

css_compress($css)   X-Ref
Very simple CSS optimizer

author: Andreas Gohr <andi@splitbrain.org>

css_comment_cb($matches)   X-Ref
Callback for css_compress()

Keeps short comments (< 5 chars) to maintain typical browser hacks

author: Andreas Gohr <andi@splitbrain.org>



Généré le : Tue Apr 3 20:47:31 2007 par Balluche grâce à PHPXref 0.7