popup (overlib) plugin patch
| From: | Paul Merlin | Date: | Fri, 23 Apr 2004 14:13:23 +0000 |
| Subject: | popup (overlib) plugin patch | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-2302@lists.php.net to get a copy of this message | ||
Hi,
I'm using overlib (http://www.bosrup.com/web/overlib) with the builtin popup
smarty plugin.
As the current plugin didn't allowed me to use CSS to control popups look, i
did modify it to take the following new options :
commands without parameter:
- CSSOFF
- CSSSTYLE
- CSSCLASS
commands with parameter :
- FGCLASS
- BGCLASS
- TEXTFONTCLASS
- CAPTIONFONTCLASS
- CLOSEFONTCLASS
attached is the diff with cvs file lib/plugins/function.popup.php
A big thanks to all smarty devs, i love this stuff :)
--
email : p.merlin@nosphere.org
jabber : pmerlin@jabber.org
www : http://paulmerlin.info
-------------------------------------------------------------------------------
"No one gets too old to learn a new way of being stupid."
36a37,41 > case 'fgclass': > case 'bgclass': > case 'textfontclass': > case 'captionfontclass': > case 'closefontclass': 74a80,82 > case 'cssoff': > case 'cssstyle': > case 'cssclass':
36a37,41 > case 'fgclass': > case 'bgclass': > case 'textfontclass': > case 'captionfontclass': > case 'closefontclass': 74a80,82 > case 'cssoff': > case 'cssstyle': > case 'cssclass':