1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 04:12:00 +02:00

Shortcode parser: fixed number of errors, more major changes, getScBatch will now auto-register batch (no need of registerShortcode() call), added new example of sc handler usage (news), work in progress

This commit is contained in:
secretr
2010-04-25 13:52:14 +00:00
parent 6b7a4f7242
commit e0c8e76f70
6 changed files with 299 additions and 165 deletions

View File

@@ -20,8 +20,9 @@ register_shortcode('news_shortcodes', TRUE);
initShortcodeClass('news_shortcodes');
*/
e107::getScParser()->registerShortcode('news_shortcodes', true)
->initShortcodeClass('news_shortcodes');
// Done via e107::getScBatch('news'); call - see news_class.php
/*e107::getScParser()->registerShortcode('news_shortcodes', true)
->initShortcodeClass('news_shortcodes');*/
class news_shortcodes extends e_shortcode
{