Re: [fp-dev] BBCode plugin extended
Moved to GitHub: https://github.com/flatpressblog/flatpress
Brought to you by:
real_nowhereman
|
From: Dominik M. <in...@dm...> - 2008-10-21 14:17:29
|
>>> There's still an issue in /tpls/toolbar.tpl: How do I define the
>>> language variables so that I don't need to call
>>> {$lang.admin.plugin.bbcode.*}?
>> IIRC the var {$plang} (Panel LANGuage) is a shorthand for
>> {$lang.admin.plugin.NAME.*}
>> {$plang.myvar} is {$lang.admin.plugin.myplugin.myvar}
>> see the akismet plugin
>
> Yeah, I know (as you can see in qspam). But I was assuming that {$plang}
> is only available in plugin pages (which the write entry panel AFAIK is
> not, is it?). However I'll also try it...
Ok, that won't work. Also assigning lang_load('plugin:bbcode') to
'plang' will fail. Even assigning the language array to a not used
variable won't work...
--Dominik
|