Subversion Repositories computer_asset_manager_v1

Rev

Rev 49 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 49 Rev 50
Line 18... Line 18...
18
   name text comment 'name of the license',
18
   name text comment 'name of the license',
19
   primary key ( license_product_id )
19
   primary key ( license_product_id )
20
) comment 'a list of all products we track license for';
20
) comment 'a list of all products we track license for';
21
 
21
 
22
/* set up the _system table to plug in the module */
22
/* set up the _system table to plug in the module */
23
delete from _system where key_name = 'license';
23
delete from _system where key_name = 'License';
24
/* this is required, and officially installs the module */
24
/* this is required, and officially installs the module */
25
insert into _system ( group_name,key_name,theValue,added_date) values ( 'Modules', 'license', 'modules/license/', now() );
25
insert into _system ( group_name,key_name,theValue,added_date) values ( 'Modules', 'License', 'modules/license/', now() );
26
/* we will provide data to the main screen via a callback routine. In this case, function view is located in callable.php */
26
/* we will provide data to the main screen via a callback routine. In this case, function view is located in callable.php */
27
insert into _system( group_name,key_name,theValue,added_date ) values ( 'device view', 'license', 'callable.php:view', now() );
27
insert into _system( group_name,key_name,theValue,added_date ) values ( 'device view', 'License', 'callable.php:licenseView', now() );
28
 
28
 
29
/* This has a menu entry, so add it */
29
/* This has a menu entry, so add it */
30
/* first, make sure we don't have any danglies */
30
/* first, make sure we don't have any danglies */
31
delete from menu 
31
delete from menu 
32
where 
32
where