error->add(__('Version 2.3.1 of Dotclear at least is required for this version of Templator.')); $core->plugins->deactivateModule('templator'); return false; } $new_version = $core->plugins->moduleInfo('templator','version'); $current_version = $core->getVersion('templator'); if (version_compare($current_version,$new_version,'>=')) { return; } $core->setVersion('templator',$new_version); return true; ?>