Re: [fp-dev] BBCode plugin extended
Moved to GitHub: https://github.com/flatpressblog/flatpress
Brought to you by:
real_nowhereman
|
From: Edoardo V. <unc...@gm...> - 2008-10-21 05:48:45
|
On Tue, Oct 21, 2008 at 2:16 AM, Dominik Menke <in...@dm...> wrote:
> In SVN215 (coding-style branch) you can find BBCode 1.5.
>
> New: Admin config panel.
> Extended: (full) localization.
>
> The implementation of the options (formerly known as BBCODE_* constants)
> is a kind of a hack, as you can see in plugin_bbcode_setup()... But it
> works fine ;-)
that's fine :) I would have it done like too
in future it will be cool to create custom tags without having to
program, but it might be hard :p
maybe (*maybe*) we can change that plugin_bbcode_init() hack into a
filter or something
for a little less hack-ish checkbox group -->
($smarty->assign('myvar', 'checked="checked"')
maybe you'd like to "check" (ah-ehm) {html_checkboxes} ?
http://www.smarty.net/manual/en/language.function.html.checkboxes.php
> 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
> Oh, and I did not backport your img-center-fix... You may know best what
> you've changed in the trunk respectively in the Vivace release branch.
same things :p bbcode did not change since Vivace
Oh, the new codename might be "Fortissimo". Do you guys out there like it?
|