e_sc -> parse_scbatch(__FILE__); e107::getRegistry('plugin/comment_menu/current'); /* SC_BEGIN CM_ICON //TODO review bullet $bullet = ''; if(defined('BULLET')) { $bullet = ''; } elseif(file_exists(THEME.'images/bullet2.gif')) { $bullet = ''; } return $bullet; SC_END SC_BEGIN CM_DATESTAMP $row = e107::getRegistry('plugin/comment_menu/current'); $gen = new convert; return $gen->convert_date($row['comment_datestamp'], "short"); SC_END SC_BEGIN CM_HEADING $row = e107::getRegistry('plugin/comment_menu/current'); return $row['comment_title']; SC_END SC_BEGIN CM_URL_PRE $row = e107::getRegistry('plugin/comment_menu/current'); return ($row['comment_url'] ? "" : ""); SC_END SC_BEGIN CM_URL_POST $row = e107::getRegistry('plugin/comment_menu/current'); return ($row['comment_url'] ? "" : ""); SC_END SC_BEGIN CM_TYPE $row = e107::getRegistry('plugin/comment_menu/current'); return $row['comment_type']; SC_END SC_BEGIN CM_AUTHOR $row = e107::getRegistry('plugin/comment_menu/current'); return $row['comment_author']; SC_END SC_BEGIN CM_COMMENT $row = e107::getRegistry('plugin/comment_menu/current'); $menu_pref = e107::getConfig('menu')->getPref(); $tp = e107::getParser(); $COMMENT = ''; if($menu_pref['comment_characters'] > 0) { $COMMENT = strip_tags($tp->toHTML($row['comment_comment'], TRUE, "emotes_off, no_make_clickable", "", e107::getPref('menu_wordwrap'))); if ($tp->ustrlen($COMMENT) > $menu_pref['comment_characters']) { $COMMENT = $tp->text_truncate($COMMENT, $menu_pref['comment_characters'],'').($row['comment_url'] ? " " : "").defset($menu_pref['comment_postfix'], $menu_pref['comment_postfix']).($row['comment_url'] ? "" : ""); } } return $COMMENT; SC_END */ ?>