Index: openacs-4/packages/photo-album/www/album-edit.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/album-edit.tcl,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/photo-album/www/album-edit.tcl 18 Nov 2003 18:27:52 -0000 1.3
+++ openacs-4/packages/photo-album/www/album-edit.tcl 18 Nov 2003 22:59:03 -0000 1.4
@@ -42,7 +42,7 @@
-label "[_ photo-album._Album_2]" -datatype text
template::element create edit_album photographer -html { size 50} \
- -label "<#_ Photographer#>" -datatype text -optional
+ -label "[_ photo-album.Photographer]" -datatype text -optional
template::element create edit_album description -html { size 50} \
-label "[_ photo-album._Album]" -datatype text -optional
Index: openacs-4/packages/photo-album/www/index.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/index.adp,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/photo-album/www/index.adp 18 Nov 2003 18:27:53 -0000 1.4
+++ openacs-4/packages/photo-album/www/index.adp 18 Nov 2003 22:59:03 -0000 1.5
@@ -23,7 +23,7 @@
@page_nav@
+
Index: openacs-4/packages/photo-album/www/photos-edit-2.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/photos-edit-2.tcl,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/photo-album/www/photos-edit-2.tcl 18 Nov 2003 18:31:58 -0000 1.4
+++ openacs-4/packages/photo-album/www/photos-edit-2.tcl 18 Nov 2003 22:59:03 -0000 1.5
@@ -45,7 +45,7 @@
set apeeraddr [ad_conn peeraddr]
- db_dml update_photo_attributes { update cr_revisions set description = :aphoto_description, title = :aphoto_title where revision_id = :arevision_id }
+ db_dml update_photo_attributes { *SQL* }
db_dml update_photo {
update pa_photos
Index: openacs-4/packages/photo-album/www/photos-edit.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/photos-edit.adp,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/photo-album/www/photos-edit.adp 18 Nov 2003 18:27:53 -0000 1.4
+++ openacs-4/packages/photo-album/www/photos-edit.adp 18 Nov 2003 22:59:03 -0000 1.5
@@ -2,7 +2,7 @@
Name: @title@ +
#photo-album.Name#: @title@
Description: @description@
Hide: | |
Caption: | |
Title: | |
Story: | |
Description: | |
#photo-album.Hide_1# | |
#photo-album.Caption_1# | |
#photo-album.Title_1# | |
#photo-album.Story_1# | |
#photo-album.Description_1# | |
Taken: @child_photo.datetaken@ @child_photo.camera_model@ @child_photo.focal_length@mm @child_photo.aperture@ | |
Taken: @child_photo.datetaken@ @child_photo.camera_model@ @child_photo.focal_length@mm @child_photo.aperture@ |
This album does not contain anything. +
#photo-album.lt_This_album_does_not_c#
-@page_nav;noquote@ \ No newline at end of file +@page_nav;noquote@ Index: openacs-4/packages/photo-album/www/photos-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/photos-edit.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/photo-album/www/photos-edit.tcl 18 Nov 2003 18:27:53 -0000 1.3 +++ openacs-4/packages/photo-album/www/photos-edit.tcl 18 Nov 2003 22:59:03 -0000 1.4 @@ -12,7 +12,7 @@ } -validate { valid_album -requires {album_id:integer} { if [string equal [pa_is_album_p $album_id] "f"] { - ad_complain "The specified album is not valid." + ad_complain "[_ photo-album._The_1]" } } } -properties { @@ -41,7 +41,7 @@ # check for read permission on album ad_require_permission $album_id read -set context_list [pa_context_bar_list -final "Edit page $page" $album_id] +set context_list [pa_context_bar_list -final "[_ photo-album.Edit_page] $page" $album_id] db_1row get_album_info {