Index: lams_tool_images/conf/language/lams/ApplicationResources_en_AU.properties
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_images/conf/language/lams/ApplicationResources_en_AU.properties,v
diff -u -r1.16 -r1.17
--- lams_tool_images/conf/language/lams/ApplicationResources_en_AU.properties 16 Dec 2008 15:42:36 -0000 1.16
+++ lams_tool_images/conf/language/lams/ApplicationResources_en_AU.properties 16 Dec 2008 18:16:12 -0000 1.17
@@ -41,6 +41,7 @@
label.authoring.offline.delete =Delete
label.authoring.advance.allow.learner.share.images =Allow learners to share their images
label.authoring.advance.allow.learner.comment.images =Allow learners to comment on images
+label.authoring.advance.notify.monitoring.teachers =Notify monitoring teachers when a learner submits an image
label.authoring.advance.allow.learner.ratings.or.vote =Ratings or Vote
label.authoring.advance.allow.learner.vote =Allow learners to vote for their favorite images
label.authoring.advance.allow.learner.rank =Allow learners to rank the images
@@ -170,5 +171,8 @@
admin.return =Return to maintain LAMS
admin.button.save =Save
label.default.user.name =Instructor
+event.imagesubmit.subject =LAMS: Learner submitted an image in image gallery tool
+event.imagesubmit.body =The learner {0} submitted an image in a image gallery tool.\n\nThis message was send automatically, following tool''s advanced settings.
+
#======= End labels: Exported 166 labels for en AU =====
Index: lams_tool_images/db/model/imageGallery.clay
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_images/db/model/imageGallery.clay,v
diff -u -r1.3 -r1.4
--- lams_tool_images/db/model/imageGallery.clay 13 Nov 2008 00:05:53 -0000 1.3
+++ lams_tool_images/db/model/imageGallery.clay 16 Dec 2008 18:16:12 -0000 1.4
@@ -454,6 +454,12 @@
+
+
+
+
+
+
Index: lams_tool_images/db/sql/create_lams_tool_imageGallery.sql
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_images/db/sql/create_lams_tool_imageGallery.sql,v
diff -u -r1.10 -r1.11
--- lams_tool_images/db/sql/create_lams_tool_imageGallery.sql 12 Dec 2008 15:31:28 -0000 1.10
+++ lams_tool_images/db/sql/create_lams_tool_imageGallery.sql 16 Dec 2008 18:16:12 -0000 1.11
@@ -41,6 +41,7 @@
reflect_instructions varchar(255),
reflect_on_activity smallint,
allow_rank tinyint,
+ image_submit_notify tinyint DEFAULT 0,
primary key (uid)
)type=innodb;
create table tl_laimag10_imageGallery_item (
@@ -146,8 +147,8 @@
INSERT INTO `tl_laimag10_imageGallery` (`uid`, `create_date`, `update_date`, `create_by`, `title`, `run_offline`, `lock_on_finished`,
`instructions`, `next_image_title`, `online_instructions`, `offline_instructions`, `content_in_use`, `define_later`, `content_id`, `allow_comment_images`,
- `allow_share_images`, `allow_vote`, `allow_rank`, `reflect_on_activity`) VALUES
- (1,NULL,NULL,NULL,'ImageGallery','0','0','Instructions ',1,null,null,0,0,${default_content_id},0,0,0,0,0);
+ `allow_share_images`, `allow_vote`, `allow_rank`, `reflect_on_activity`, `image_submit_notify`) VALUES
+ (1,NULL,NULL,NULL,'ImageGallery','0','0','Instructions ',1,null,null,0,0,${default_content_id},0,0,0,0,0,0);
INSERT INTO `tl_laimag10_configuration` (`config_key`, `config_value`) VALUES
('mediumImageDimensions', '640');
Index: lams_tool_images/db/sql/table-schema.sql
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_images/db/sql/table-schema.sql,v
diff -u -r1.10 -r1.11
--- lams_tool_images/db/sql/table-schema.sql 12 Dec 2008 15:31:28 -0000 1.10
+++ lams_tool_images/db/sql/table-schema.sql 16 Dec 2008 18:16:12 -0000 1.11
@@ -26,7 +26,7 @@
drop table if exists tl_laimag10_configuration;
create table tl_laimag10_attachment (uid bigint not null auto_increment, file_version_id bigint, file_type varchar(255), file_name varchar(255), file_uuid bigint, create_date datetime, imageGallery_uid bigint, primary key (uid));
create table tl_laimag10_item_log (uid bigint not null auto_increment, access_date datetime, imageGallery_item_uid bigint, user_uid bigint, complete bit, session_id bigint, primary key (uid));
-create table tl_laimag10_imageGallery (uid bigint not null auto_increment, create_date datetime, update_date datetime, create_by bigint, title varchar(255), run_offline bit, lock_on_finished bit, instructions text, next_image_title bigint, online_instructions text, offline_instructions text, content_in_use bit, define_later bit, content_id bigint unique, allow_comment_images bit, allow_share_images bit, allow_vote bit, reflect_instructions varchar(255), reflect_on_activity bit,allow_rank tinyint DEFAULT 0, primary key (uid));
+create table tl_laimag10_imageGallery (uid bigint not null auto_increment, create_date datetime, update_date datetime, create_by bigint, title varchar(255), run_offline bit, lock_on_finished bit, instructions text, next_image_title bigint, online_instructions text, offline_instructions text, content_in_use bit, define_later bit, content_id bigint unique, allow_comment_images bit, allow_share_images bit, allow_vote bit, reflect_instructions varchar(255), reflect_on_activity bit,allow_rank tinyint DEFAULT 0, image_submit_notify tinyint DEFAULT 0, primary key (uid));
create table tl_laimag10_imageGallery_item (uid bigint not null auto_increment, description text, title varchar(255), create_by bigint, create_date datetime, create_by_author bit, sequence_id integer, is_hide bit, imageGallery_uid bigint, session_uid bigint, original_file_uuid bigint, original_image_width integer, original_image_height integer, medium_file_uuid bigint, medium_image_width integer, medium_image_height integer, thumbnail_file_uuid bigint, file_version_id bigint, file_type varchar(255), file_name varchar(255), average_rating FLOAT(7,1) DEFAULT 0, number_ratings integer DEFAULT 0, primary key (uid));
create table tl_laimag10_image_comment (uid bigint not null auto_increment, comment text, imageGallery_item_uid bigint, create_by bigint, create_date datetime, primary key (uid));
create table tl_laimag10_image_rating (uid bigint not null auto_increment, rating integer, imageGallery_item_uid bigint, create_by bigint, primary key (uid));
Index: lams_tool_images/src/java/org/lamsfoundation/lams/tool/imageGallery/imageGalleryApplicationContext.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_images/src/java/org/lamsfoundation/lams/tool/imageGallery/imageGalleryApplicationContext.xml,v
diff -u -r1.6 -r1.7
--- lams_tool_images/src/java/org/lamsfoundation/lams/tool/imageGallery/imageGalleryApplicationContext.xml 12 Dec 2008 15:31:28 -0000 1.6
+++ lams_tool_images/src/java/org/lamsfoundation/lams/tool/imageGallery/imageGalleryApplicationContext.xml 16 Dec 2008 18:16:12 -0000 1.7
@@ -151,6 +151,10 @@
+
+
+
+
Index: lams_tool_images/src/java/org/lamsfoundation/lams/tool/imageGallery/model/ImageGallery.hbm.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_images/src/java/org/lamsfoundation/lams/tool/imageGallery/model/Attic/ImageGallery.hbm.xml,v
diff -u -r1.4 -r1.5
--- lams_tool_images/src/java/org/lamsfoundation/lams/tool/imageGallery/model/ImageGallery.hbm.xml 30 Nov 2008 15:02:59 -0000 1.4
+++ lams_tool_images/src/java/org/lamsfoundation/lams/tool/imageGallery/model/ImageGallery.hbm.xml 16 Dec 2008 18:16:12 -0000 1.5
@@ -220,6 +220,14 @@
column="allow_rank"
/>
+
+