18 require_once SQ_INCLUDE_PATH.
'/asset_management.inc';
42 Asset_Management::__construct($pm);
46 'default' =>
'System Login Design',
64 if (!parent::_upgrade($current_version))
return FALSE;
65 if (version_compare($current_version,
'0.2',
'<')) {
68 pre_echo(
'UPGRADE LOGIN DESIGN AND EES LOGIN DESIGN');
70 $design = $GLOBALS[
'SQ_SYSTEM']->am->getSystemAsset(
'login_design');
71 $design_edit_fns = $design->getEditFns();
72 $ees_design = $GLOBALS[
'SQ_SYSTEM']->am->getSystemAsset(
'ees_login_design');
73 $ees_design_edit_fns = $ees_design->getEditFns();
76 $design_edit_fns->parseAndProcessFile($design);
77 $design->generateDesignFile();
79 $ees_design_edit_fns->parseAndProcessFile($ees_design);
80 $ees_design->generateDesignFile();
82 pre_echo(
'LOGIN DESIGN AND EES LOGIN DESIGN UPGRADE COMPLETE - FROM VERSION 0.1');