- function onAutoload($cls)
- {
- switch ($cls)
- {
- case 'ShortenAction':
- require_once(INSTALLDIR.'/plugins/ClientSideShorten/shorten.php');
- return false;
- }
- }
-
- function onEndShowScripts($action){
- $action->inlineScript('var Notice_maxContent = ' . Notice::maxContent());