[wiki-lenny] ajout de plein de fichiers
* text_latex.py --- un formatter latex qui marche (appelé avec ?mimetype=text/latex) * ShowCategories.py --- une macro qui affiche les liens et les catégories de la page courante. * theme/crans{,-www}.py --- Les deux thèmes officiels et supportés * formatter.*.orig.py --- Ajout des fichiers originaux darcs-hash:20081212044713-bd074-f8123fa455b4e2b0f082159d492274a8b4aa4ec5.gz
This commit is contained in:
parent
18fbc03f3b
commit
186988cd76
6 changed files with 2894 additions and 0 deletions
16
wiki-lenny/local/macro/ShowCategories.py
Normal file
16
wiki-lenny/local/macro/ShowCategories.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# SHOWCATEGORIES.PY--
|
||||
#
|
||||
# Copyright (C) 2008 Antoine Durand-Gasselin
|
||||
# Author: Antoine Durand-Gasselin <adg@crans.org>
|
||||
#
|
||||
|
||||
def execute (macro, text):
|
||||
f = macro.formatter
|
||||
code = [f.heading(1,2), "Liste des liens", f.heading(0,2)]
|
||||
code += macro.request.page.getPageLinks(macro.request)
|
||||
code += [f.heading(1,2), u"Liste des Catégories", f.heading(0,2)]
|
||||
code += macro.request.page.getCategories(macro.request)
|
||||
|
||||
return "\n".join(code)
|
Loading…
Add table
Add a link
Reference in a new issue