Tuesday, November 5, 2013

Peer review (15) instructor read and reply to reviews




copy C:\Users\jiansen\Desktop\CAS\jiansen_dir\www_cesei0_mobile\education\peer_review\reviews.php to instructor_reviews.php and modify.

C:\Users\jiansen\Desktop\CAS\jiansen_dir\www_cesei0_mobile\education\peer_review\index.php
line 47 add:
          <ul><li>
          <a href="instructor_reviews.php">My Modules In Review</a>
             <br />Read  my module reviews.</li>
          <li>
          <a href="module_reviews_reply.php">Read and comment on primary peer reviews</a>
             <br />Read  primary  peer reviews and reply.</li>   
            </ul>   
   

copy  /education/instructor_resources/view_reviews.php to education\peer_review\reply_reviews.php

copy /education/instructor_resources/module_reviews.php  education\peer_review\module_reviews_reply.php
copy old pr_read_reviews.tmpl.php to pr_read_reviews0.tmpl.php for  reply_reviews.php
 update
 http://localhost/admin/edu/pr_manage_new.php
copy /_lib/peer_review_calls/add_reviewers.php to
admin/edu/add_primary_reviewers.php
create new table: cesei_module_user_reviews_p (add hide column later)
CREATE TABLE  `cesei_new1`.`cesei_module_user_reviews_p` (
  `review_id` mediumint(8) unsigned NOT NULL auto_increment,
  `member_id` mediumint(8) unsigned NOT NULL,
  `module_id` mediumint(8) unsigned NOT NULL,
  `revision_cycle` tinyint(3) unsigned NOT NULL default '0',
  `is_complete` tinyint(3) unsigned NOT NULL default '0',
  `date_assigned` date NOT NULL default '0000-00-00',
  `date_complete` date NOT NULL default '0000-00-00',
  PRIMARY KEY  (`review_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8;


create new table cesei_module_user_review_data_p
CREATE TABLE  `cesei_new1`.`cesei_module_user_review_data_p` (
  `review_id` mediumint(8) unsigned NOT NULL,
  `outline` text NOT NULL,
  `content` text NOT NULL,
  `evaluation` text NOT NULL,
  `overall` text NOT NULL,
  `rating_outline` tinyint(3) unsigned NOT NULL default '0',
  `rating_content` tinyint(3) unsigned NOT NULL default '0',
  `rating_evaluation` tinyint(3) unsigned NOT NULL default '0',
  `rating_overall` tinyint(3) unsigned NOT NULL default '0',
  `has_simulators` tinyint(3) unsigned NOT NULL default '0',
  `simulators` text NOT NULL,
  PRIMARY KEY  (`review_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;


create new table cesei_module_user_rebuttal_data_p
CREATE TABLE  `cesei_new1`.`cesei_module_user_rebuttal_data_p` (
  `review_id` mediumint(8) unsigned NOT NULL,
  `re_outline` text NOT NULL,
  `re_content` text NOT NULL,
  `re_evaluation` text NOT NULL,
  `re_overall` text NOT NULL,
  `re_simulators` text NOT NULL,
  PRIMARY KEY  (`review_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

No comments:

Post a Comment