forked from science-ation/science-ation
f1cd9bcb5b
A flag in the configuration variables under Particpant Registration must be set to enable this. Project types are Experiment, Innovation, and Study Comment text box has been added to the project editor. This is only seen by fair administrators and not by the student. Information related to project safety can be flagged here. If text is present in this box, a flag appears in the Registration Management list. Project summaries longer than one page now print out properly. Blank pages are still sometimes printed after long sumaries. Choose Email Recipients query has been modified so that the most recent email address for judges is now used. Reports Editor has been changed so that cheques can be written for individual students as well as one cheque per project. New report data (split) has been added to make this work.
33 lines
1.3 KiB
SQL
33 lines
1.3 KiB
SQL
/* This file was modified Jan of 2014 by Richard Sin */
|
|
/* below are the updated tables, alterations, and inserts*/
|
|
|
|
CREATE TABLE `projecttypes`
|
|
(id int(10),
|
|
type varchar(64) COLLATE latin1_swedish_ci);
|
|
|
|
INSERT INTO `projecttypes` (`id`,`type`) VALUES
|
|
(1,'Experiment'),
|
|
(2,'Innovation'),
|
|
(3,'Study');
|
|
|
|
INSERT INTO `config` (`var`,`val`,`category`, `type`, `type_values`, `ord`, `description`, `year`) VALUES
|
|
('project_type','no','Participant Registration', 'yesno','','3100','Allows the ability to categorize projects into Experiments, Studies, or Innovations.','-1');
|
|
|
|
ALTER TABLE `projects` ADD
|
|
(projecttype varchar(64) COLLATE latin1_swedish_ci,
|
|
feedback text COLLATE latin1_swedish_ci,
|
|
flagged tinyint(1));
|
|
|
|
UPDATE `reports_items` SET `field`= 'allnames'
|
|
WHERE `id` = 9099;
|
|
|
|
INSERT INTO `translations` (lang, strmd5, str, val, argsdesc) VALUES
|
|
('fr','245fe794333c2b0d5c513129b346b93f','Project Type','',''),
|
|
('fr','22413e12cc28e98272e112ec778b8807','Select a project','',''),
|
|
('fr','05aeba473f4906b85c7627ba045e890a','Experiment','',''),
|
|
('fr','0a3dac2314e66e15240f019afcbd6b0f','Study','',''),
|
|
('fr','32f28a2c732e178e43a0ceeffa08ab08','Innovation','',''),
|
|
('fr','bea4c2c8eb82d05891ddd71584881b56','Feedback','',''),
|
|
('fr','72d68acd07c783e657e2d2a9c50f16df','Flagged','',''),
|
|
('fr','d47429e01c5a1c8768a0e293fe9b9ce5','Not flagged','','');
|