Ajout de scripts manquants

darcs-hash:20090610100826-69ccb-32281005e3cc3d598d4b10a440fe9c29826e32a0.gz
This commit is contained in:
Grgoire Dtrez 2009-06-10 12:08:26 +02:00
parent 4f69918eba
commit c1d5e45ce1
3 changed files with 294 additions and 0 deletions

View file

@ -0,0 +1,13 @@
def execute(macro, args):
argv = args.split(',')
pic = argv[0].strip()
html_fmt = '''
<div style="background: transparent url('%s') center left no-repeat;">
%s
</div>
'''
pic0 = AttachFile.getAttachUrl(pn, pic0, self.request)
pic0 = wikiutil.escape(pic0)