Thank for the tips !!! I want to add more Markdown syntax than those already present so I'm going to test that.
Regards. Cédric. 2011/5/28 Julien Chaumond <chaum...@gmail.com> > Hi, > > You should have a look at function common_markup_to_html(), whose code > resides in lib/util.php (at least in versions 0.9.x). > > It adds 3 rules to the Markdown syntax that's used in the doc files you're > refering to: > > 1. replace %%action.action_name%% with the URL to that action > 2. replace %%doc.title%% with the URL to that doc file > 3. and replace %%w1.w2%% with config parameter "w1"'s "w2" attribute. So in > your example, %%site.name%% gets replaced by the value defined in > $config['site']['name'] > > > On Sat, May 28, 2011 at 4:02 PM, Cédric Schmitz <sa.majes...@gmail.com>wrote: > >> Hi. >> >> I'm translating some files reachable by links in the footer like "Help", >> "FAQ", "Badge"... Sometime we find shortcuts like %%site.name%% or >> %%action.newgroup%%. But I searched for a complete list of those shortcuts >> and did not find something. (README, Wiki, forum...). >> Does anyone know where can I find it ? >> Thanks a lot. >> >> Cédric. >> >> _______________________________________________ >> StatusNet-dev mailing list >> StatusNet-dev@lists.status.net >> http://lists.status.net/mailman/listinfo/statusnet-dev >> > > -- Membre de l'April, je soutiens les logiciels libres. http://www.april.org
_______________________________________________ StatusNet-dev mailing list StatusNet-dev@lists.status.net http://lists.status.net/mailman/listinfo/statusnet-dev