Index: openacs-4/packages/contacts/contacts.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/contacts.info,v
diff -u -r1.80 -r1.81
--- openacs-4/packages/contacts/contacts.info 16 Nov 2006 18:56:14 -0000 1.80
+++ openacs-4/packages/contacts/contacts.info 5 Dec 2006 04:16:49 -0000 1.81
@@ -7,14 +7,14 @@
f
f
-
+
Matthew Geddert
This application lets you collaboratively view, edit and categorize contacts.
2006-06-25
Contacts is an application for managing all those people and or organization you need to keep track of. It has a complete UI for storing and categorizing contacts. Each contact can have an arbitrary number of custom attributes associated with it, including other contacts (i.e. a certain contact "belongs" to a certain organization). It also functions as a service contract provider for attributes related to users in your system
0
-
+
Index: openacs-4/packages/contacts/catalog/contacts.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/catalog/contacts.en_US.ISO-8859-1.xml,v
diff -u -r1.89 -r1.90
--- openacs-4/packages/contacts/catalog/contacts.en_US.ISO-8859-1.xml 8 Nov 2006 18:33:44 -0000 1.89
+++ openacs-4/packages/contacts/catalog/contacts.en_US.ISO-8859-1.xml 5 Dec 2006 04:16:49 -0000 1.90
@@ -1,5 +1,5 @@
-
+
-- select a group --
-- add column --
@@ -534,6 +534,8 @@
New
Next
No Lists
+ No valid parties
+ No valid parties where selected. Please go back and select some parties.
(none)
Normal Searches
Not Configured
Index: openacs-4/packages/contacts/www/contact.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/contact.tcl,v
diff -u -r1.35 -r1.36
--- openacs-4/packages/contacts/www/contact.tcl 28 Nov 2006 17:33:41 -0000 1.35
+++ openacs-4/packages/contacts/www/contact.tcl 5 Dec 2006 04:16:50 -0000 1.36
@@ -49,7 +49,7 @@
if { [string is false [empty_string_p [info procs "::application_data_link::get_linked"]]] } {
- #set project_id [lindex [application_data_link::get_linked -from_object_id $party_id -to_object_type "pm_project"] 0]
+ set project_id [lindex [application_data_link::get_linked -from_object_id $party_id -to_object_type "pm_project"] 0]
set dotlrn_club_id [lindex [application_data_link::get_linked -from_object_id $party_id -to_object_type "dotlrn_club"] 0]
if {$project_id > 0 && $dotlrn_club_id <1} {
Index: openacs-4/packages/contacts/www/message.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/message.tcl,v
diff -u -r1.35 -r1.36
--- openacs-4/packages/contacts/www/message.tcl 28 Nov 2006 17:33:41 -0000 1.35
+++ openacs-4/packages/contacts/www/message.tcl 5 Dec 2006 04:16:50 -0000 1.36
@@ -72,6 +72,12 @@
set context [list $title]
set recipients [list]
+
+if {![exists_and_not_null valid_party_ids]} {
+ ad_return_error "[_ contacts.No_valid_parties]" "[_ contacts.No_valid_parties_lt]"
+ ad_script_abort
+}
+
foreach party_id $valid_party_ids {
set contact_name [contact::name -party_id $party_id]
set contact_url [contact::url -party_id $party_id]