Index: openacs-4/packages/contacts/catalog/contacts.de_DE.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/catalog/contacts.de_DE.ISO-8859-1.xml,v diff -u -r1.8 -r1.9 --- openacs-4/packages/contacts/catalog/contacts.de_DE.ISO-8859-1.xml 27 Jul 2005 14:06:14 -0000 1.8 +++ openacs-4/packages/contacts/catalog/contacts.de_DE.ISO-8859-1.xml 9 Aug 2005 12:44:19 -0000 1.9 @@ -1,5 +1,5 @@ - + -- Keine -- -- Bitte ausw�hlen -- @@ -18,6 +18,7 @@ Eine Signatur hinzuf�gen Zur Gruppe hinzuf�gen Zur Gruppe hinzuf�gen + Zu folgenden Gruppen hinzuf�gen Adresse Verwaltung Kontakte verwalten @@ -32,6 +33,7 @@ Massen Update Abbrechen Leeren + Kommentare Kontakt Kontakt -&gt; Kontakte @@ -52,11 +54,13 @@ falsch Dateien Vornamen + Fu�zeile Lade Suche Gruppe -&gt; Gruppenname Gruppen + Kopfzeile Historie Suchen ist nicht eingerichtet @@ -69,6 +73,8 @@ -- Gruppen -------------------------- -- Meine Suchen --------------------- -- Gruppe erste Ebene -- + Eine neue %object_type% hinzuf�gen und den ausgew�hlten Gruppen zuordnen + Hinzuf�gen neuer %rels.relationship% Die ausgew�hlten Kontakte �ndern Verwaltung der Kontakte Debugging Code - Nur SW Admins sehen dies @@ -85,8 +91,10 @@ Die Standardgruppe muss den Vornamen und den Nachnamen f�r ein Personenformblatt enthalten sowie einen Organisationsnamen f�r ein Organisationsformblatt, beide ben�tigen eine E-Mail Adresse. Dies ist meine Standard Signatur Dieser Person als User registrieren/ upgraden + Sie k�nnen keinen Brief an den folgenden Kontakt schicken: %invalid_recipients% Mailing Adresszusammenstellung + Kategorien f�r diese Gruppe Nachricht Vorlagen Meine Suchen @@ -136,5 +144,6 @@ Mehrere Dateien uploaden Informationen zu dem User Account Alle Rollen ansehen + Zum Kundenportal die �bereinstimmen mit 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.26 -r1.27 --- openacs-4/packages/contacts/catalog/contacts.en_US.ISO-8859-1.xml 27 Jul 2005 14:07:35 -0000 1.26 +++ openacs-4/packages/contacts/catalog/contacts.en_US.ISO-8859-1.xml 9 Aug 2005 12:44:19 -0000 1.27 @@ -1,5 +1,5 @@ - + -- select a group -- -- Create New Message -- @@ -59,6 +59,7 @@ Clear the currently selected Search Comment Added Comments + Complaint Configuration Error Contact Contact -> @@ -87,10 +88,12 @@ Create User CSV Current + Customer: Date days Delete Delete + Description: Details does not contain -> does not exist @@ -102,6 +105,10 @@ Email EMail Email Address + Employee + Employees + Employer + Employers Error even exists @@ -113,6 +120,7 @@ files First Name First Names + Footer From Get Go @@ -123,6 +131,7 @@ groups has logged in has never logged in + Header Help Text History Searches @@ -194,7 +203,9 @@ Contact not commented on in the last: <strong>%interval%</strong> Contact not created in the last: <strong>%interval%</strong> Contact not updated in the last: <strong>%interval%</strong> + Contact Rel Employment Contact Relationships + Contact Rels Employment Contact updated in the last: <strong>%interval%</strong> %contacts@ were deleted country code is not -> @@ -238,6 +249,7 @@ Organization Relationships "Party ID" equals "Search_Word" People or Organizations + Person - Registered Users Person or Organization %pretty_plural_list_name% found in search, please try again or add a new contact remember that you can use <a href="message-help">mail merge substitutions</a>. the most common wildcards are \{name\} \{first_names\}, \{last_name\}, \{home_address\} and \{date\} @@ -249,6 +261,7 @@ Some of the required elements for this form are missing. Please contact an administrator and make sure that the following attributes are included in the default group's form for this object type: Some of the required elements for this form are missing. Please contact an administrator and make sure that the following attributes are included: state/province is not -> + The object type %contact_link% was added the action supplied is not valid The contact is in the group: <strong>%group_pretty%</strong> The contact is NOT in the group: <strong>%group_pretty%</strong> @@ -321,6 +334,7 @@ Not Configured not in the search Number of Rows + Object: odd of or @@ -332,6 +346,7 @@ Other Options Output Owner + Paid: Paper Type Parent Group Part of @@ -341,6 +356,7 @@ people People or Organizations people or organizations + Percent: Permissions Person Person Form @@ -349,6 +365,7 @@ Print Letter Processes PROJECT + Project: Public Public Messages Public Page @@ -406,6 +423,7 @@ Subject is required Summary Summary View + Supplier: Table Tasks The action specified is invalid @@ -419,8 +437,10 @@ The search "%title%" was made public times Title + Title: To True + Turnover: Type Update Update filenames Index: openacs-4/packages/contacts/lib/contact-complaint-form.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/lib/contact-complaint-form.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/contacts/lib/contact-complaint-form.tcl 8 Aug 2005 21:50:57 -0000 1.1 +++ openacs-4/packages/contacts/lib/contact-complaint-form.tcl 9 Aug 2005 12:44:19 -0000 1.2 @@ -1,12 +1,7 @@ +# customer_id. Party ID of the customer for which the complaint was made. +# supplier_id. Party ID of the supplier who caused the complaint +# project_id. Alternative for the customer_id, if you know the project_id - -if { ![info exist customer_id] || ![info exist supplier_id] } { - set user_options [list] - db_foreach get_users { } { - lappend user_options [list $fullname $user_id] - } -} - if { ![info exist return_url] } { set return_url [get_referrer] } @@ -15,7 +10,8 @@ ad_form -name complaint_form -form { complaint_id:key {title:text(text) - {label "Title:"} + {label "[_ contacts.Title_1]"} + {help_text "[_ contacts.complaint_title_help]"} } {return_url:text(hidden) {value $return_url} @@ -25,52 +21,60 @@ if { ![info exist customer_id] } { ad_form -extend -name complaint_form -form { {customer_id:text(select) - {label "Customer:"} + {label "[_ contacts.Customer]"} {options $user_options} } } } else { - acs_user::get -user_id $customer_id -array customer_info + set customer_name [contact::name -party_id $customer_id] ad_form -extend -name complaint_form -form { {customer_id:text(hidden) {value $customer_id} } {customer:text(inform),optional - {label "Customer:"} - {value "$customer_info(first_names) $customer_info(last_name)"} + {label "[_ contacts.Customer]"} + {value "$customer_name"} } } } if { ![info exist supplier_id]} { + + set user_options [list] + db_foreach get_users { } { + lappend user_options [list $fullname $user_id] + } ad_form -extend -name complaint_form -form { {supplier_id:text(select) - {label "Supplier:"} + {label "[_ contacts.Supplier]"} {options $user_options} } } } else { - acs_user::get -user_id $supplier_id -array supplier_info + + set supplier_name [contact::name -party_id $supplier_id] ad_form -extend -name complaint_form -form { {supplier_id:text(hidden) {value $supplier_id} } {supplier:text(inform),optional - {label "Supplier:"} - {value "$supplier_info(first_names) $supplier_info(last_name)"} + {label "[_ contacts.Supplier]"} + {value "$supplier_name"} } } } ad_form -extend -name complaint_form -form { {turnover:text(text) - {label "Turnover:"} + {label "[_ contacts.Turnover]"} {html {size 10}} + {help_text "[_ contacts.complaint_turnover_help]"} } {percent:text(text) - {label "Percent:"} + {label "[_ contacts.Percent]"} {html {size 2}} {after_html "%"} + {help_text "[_ contacts.complaint_percent_help]"} } } @@ -82,30 +86,34 @@ } ad_form -extend -name complaint_form -form { {object_id:text(select) - {label "Project:"} + {label "[_ contacts.Project]"} {options $project_options} } } } else { + set object_id $project_id ad_form -extend -name complaint_form -form { {object_id:text(hidden) {value $object_id} } {project:text(inform) - {label "Object:"} - {value [pm::project::name -project_item_id $object_id]} + {label "[_ contacts.Object]"} + {value "[pm::project::name -project_id $object_id]"} } } } ad_form -extend -name complaint_form -form { {paid:text(text) - {label "Paid:"} + {label "[_ contacts.Paid]"} {html {size 10}} + {help_text "[_ contacts.complaint_paid_help]"} + } {description:text(textarea) - {label "Description:"} + {label "[_ contacts.Description]"} {html {rows 10 cols 30}} + {help_text "[_ contacts.complaint_description_help]"} } } -new_data { Index: openacs-4/packages/contacts/lib/contact-complaint-list.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/lib/contact-complaint-list.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/contacts/lib/contact-complaint-list.adp 8 Aug 2005 21:50:57 -0000 1.1 +++ openacs-4/packages/contacts/lib/contact-complaint-list.adp 9 Aug 2005 12:44:19 -0000 1.2 @@ -1,8 +1,10 @@ - + + + Index: openacs-4/packages/contacts/lib/contact-complaint-list.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/lib/contact-complaint-list.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/contacts/lib/contact-complaint-list.tcl 8 Aug 2005 21:50:57 -0000 1.1 +++ openacs-4/packages/contacts/lib/contact-complaint-list.tcl 9 Aug 2005 12:44:19 -0000 1.2 @@ -7,9 +7,12 @@ } { customer_id:optional supplier_id:optional + {filter_p 0} } - +if {![exists_and_not_null customer_id]} { + unset customer_id +} set elements [list \ title [list label "Title"]\ customer [list label "Customer"]\ @@ -57,9 +60,7 @@ db_multirow -extend { customer supplier title description } complaint get_complaints { } { - acs_user::get -user_id $customer_id -array customer_info - acs_user::get -user_id $supplier_id -array supplier_info - set customer "$customer_info(first_names) $customer_info(last_name)" - set supplier "$supplier_info(first_names) $supplier_info(last_name)" + set customer "[contact::name -party_id $customer_id]" + set supplier "[contact::name -party_id $supplier_id]" db_1row get_revision_info { } } Index: openacs-4/packages/contacts/lib/contacts-master.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/lib/contacts-master.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/contacts/lib/contacts-master.adp 28 Jun 2005 04:09:25 -0000 1.2 +++ openacs-4/packages/contacts/lib/contacts-master.adp 9 Aug 2005 12:44:19 -0000 1.3 @@ -18,8 +18,12 @@ + @title@ + @context@ + + + - Index: openacs-4/packages/contacts/lib/contacts.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/lib/contacts.tcl,v diff -u -r1.19 -r1.20 --- openacs-4/packages/contacts/lib/contacts.tcl 7 Aug 2005 05:50:56 -0000 1.19 +++ openacs-4/packages/contacts/lib/contacts.tcl 9 Aug 2005 12:44:19 -0000 1.20 @@ -73,11 +73,11 @@ append name_label "   [_ contacts.Get]: [_ contacts.CSV]" template::multirow create bulk_acts pretty link detailed -template::multirow append bulk_acts "[_ contacts.Add_to_Group]" "group-parties-add" "[_ contacts.Add_to_group]" -template::multirow append bulk_acts "[_ contacts.Remove_From_Group]" "group-parties-remove" "[_ contacts.lt_Remove_from_this_Grou]" -template::multirow append bulk_acts "[_ contacts.Mail_Merge]" "message" "[_ contacts.lt_E-mail_or_Mail_the_se]" +template::multirow append bulk_acts "[_ contacts.Add_to_Group]" "${base_url}group-parties-add" "[_ contacts.Add_to_group]" +template::multirow append bulk_acts "[_ contacts.Remove_From_Group]" "${base_url}group-parties-remove" "[_ contacts.lt_Remove_from_this_Grou]" +template::multirow append bulk_acts "[_ contacts.Mail_Merge]" "${base_url}message" "[_ contacts.lt_E-mail_or_Mail_the_se]" if { [permission::permission_p -object_id $package_id -privilege "admin"] } { - template::multirow append bulk_acts "[_ contacts.Bulk_Update]" "bulk-update" "[_ contacts.lt_Bulk_update_the_seclected_C]" + template::multirow append bulk_acts "[_ contacts.Bulk_Update]" "${base_url}bulk-update" "[_ contacts.lt_Bulk_update_the_seclected_C]" } callback contacts::bulk_actions -multirow "bulk_acts" Index: openacs-4/packages/contacts/lib/contacts.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/lib/contacts.xql,v diff -u -r1.4 -r1.5 --- openacs-4/packages/contacts/lib/contacts.xql 28 Jun 2005 03:33:31 -0000 1.4 +++ openacs-4/packages/contacts/lib/contacts.xql 9 Aug 2005 12:44:19 -0000 1.5 @@ -4,7 +4,7 @@ select parties.party_id - from parties left join cr_items on (parties.party_id = cr_items.item_id) left join cr_revisions on (cr_items.latest_revision = cr_revisions.revision_id ) , group_distinct_member_map + from parties left join cr_items on (parties.party_id = cr_items.item_id) left join cr_revisions on (cr_items.latest_revision = cr_revisions.revision_id ), group_distinct_member_map where parties.party_id = group_distinct_member_map.member_id and group_distinct_member_map.group_id $where_group_id [contact::search_clause -and -search_id $search_id -query $query -party_id "parties.party_id" -revision_id "revision_id"] Index: openacs-4/packages/contacts/lib/history.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/lib/history.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/contacts/lib/history.adp 16 Jul 2005 20:14:43 -0000 1.2 +++ openacs-4/packages/contacts/lib/history.adp 9 Aug 2005 12:44:19 -0000 1.3 @@ -11,7 +11,7 @@
-

@history.content;noquote@

+ @history.content;noquote@
Index: openacs-4/packages/contacts/lib/letter.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/lib/letter.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/contacts/lib/letter.tcl 27 Jul 2005 14:07:35 -0000 1.7 +++ openacs-4/packages/contacts/lib/letter.tcl 9 Aug 2005 12:44:19 -0000 1.8 @@ -16,6 +16,31 @@ } } +if {[exists_and_not_null header_id]} { + contact::message::get -item_id $header_id -array header_info + set header [ad_html_text_convert \ + -to "text/html" \ + -from $header_info(content_format) \ + -- $header_info(content) \ + ] +} else { + set header "
{name}
+{mailing_address}
" +} + +if {[exists_and_not_null footer_id]} { + contact::message::get -item_id $footer_id -array footer_info + set footer [ad_html_text_convert \ + -to "text/html" \ + -from $footer_info(content_format) \ + -- $footer_info(content) \ + ] +} else { + set footer "" +} + + + set date [split [dt_sysdate] "-"] append form_elements { message_id:key @@ -33,16 +58,21 @@ {date:date(date) {label "[_ contacts.Date]"} } - {address:text(inform),optional - {label "[_ contacts.Address]"} - {value "{name}
{mailing_address}"} + {header:text(inform),optional + {label "[_ contacts.Header]"} + {value "$header"} {help_text {[_ contacts.lt_The_recipeints_name_a]}} } {content:richtext(richtext) {label "[_ contacts.Message]"} {html {cols 70 rows 24}} {help_text {[_ contacts.lt_remember_that_you_can]}} } + {footer:text(inform),optional + {label "[_ contacts.Footer]"} + {value "$footer"} + {help_text {[_ contacts.lt_The_recipeints_name_a]}} + } } ad_form -action message \ @@ -116,13 +146,23 @@ break } - set letter "
-
$name
-$mailing_address
-
$content
+ set letter "
- - + +
+ + + + + + + +" -" - set values [list] foreach element [list first_names last_name name mailing_address date salutation] { lappend values [list "{$element}" [set $element]] Index: openacs-4/packages/contacts/sql/postgresql/contacts-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/sql/postgresql/contacts-create.sql,v diff -u -r1.9 -r1.10 --- openacs-4/packages/contacts/sql/postgresql/contacts-create.sql 8 Aug 2005 21:53:12 -0000 1.9 +++ openacs-4/packages/contacts/sql/postgresql/contacts-create.sql 9 Aug 2005 12:44:19 -0000 1.10 @@ -138,11 +138,13 @@ references cr_revisions(revision_id) on delete cascade, customer_id integer - constraint contact_complaint_tracking_fk - references users(user_id) on delete cascade, + constraint contact_complaint_tracking_customer_fk + references parties(party_id) on delete cascade, turnover float, percent integer, - supplier_id integer, + supplier_id integer + constraint contact_complaint_tracking_supplier_fk + references parties(party_id) on delete cascade, paid float, object_id integer, state varchar(10), Index: openacs-4/packages/contacts/www/contact.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/contact.adp,v diff -u -r1.26 -r1.27 --- openacs-4/packages/contacts/www/contact.adp 21 Jul 2005 20:44:11 -0000 1.26 +++ openacs-4/packages/contacts/www/contact.adp 9 Aug 2005 12:44:19 -0000 1.27 @@ -46,6 +46,7 @@

#invoices.Billable_Projects#

+ Index: openacs-4/packages/contacts/www/group-party-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/group-party-add.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/contacts/www/group-party-add.tcl 28 Jun 2005 19:13:26 -0000 1.2 +++ openacs-4/packages/contacts/www/group-party-add.tcl 9 Aug 2005 12:44:19 -0000 1.3 @@ -12,12 +12,15 @@ set party_id [lindex $party_id 0] switch [contact::type -party_id $party_id] { - person { - set rel_type "membership_rel" - } - organization { - set rel_type "organization_rel" - } + person { + set rel_type "membership_rel" + } + organization { + set rel_type "organization_rel" + } + default { + set rel_type "membership_rel" + } } relation_add -member_state "approved" $rel_type $group_id $party_id Index: openacs-4/packages/contacts/www/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/index.vuh,v diff -u -r1.6 -r1.7 --- openacs-4/packages/contacts/www/index.vuh 28 Jun 2005 20:25:02 -0000 1.6 +++ openacs-4/packages/contacts/www/index.vuh 9 Aug 2005 12:44:19 -0000 1.7 @@ -37,6 +37,7 @@ message { set file "message" } letter { set file "letter" } email { set file "email" } + complaint { set file "complaint" } history { set file "history" } default { set file [parameter::get -parameter "ContactSummaryViewTemplate" -default "/packages/contacts/www/contact"] } } Index: openacs-4/packages/contacts/www/message.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/message.adp,v diff -u -r1.10 -r1.11 --- openacs-4/packages/contacts/www/message.adp 1 Jul 2005 22:45:23 -0000 1.10 +++ openacs-4/packages/contacts/www/message.adp 9 Aug 2005 12:44:19 -0000 1.11 @@ -29,6 +29,8 @@ item_id=@item_id@ signature_id=@signature_id@ recipients=@recipients;noquote@ + footer_id=@footer_id@ + header_id=@header_id@ > Index: openacs-4/packages/contacts/www/message.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/message.tcl,v diff -u -r1.11 -r1.12 --- openacs-4/packages/contacts/www/message.tcl 1 Jul 2005 22:45:23 -0000 1.11 +++ openacs-4/packages/contacts/www/message.tcl 9 Aug 2005 12:44:19 -0000 1.12 @@ -9,6 +9,8 @@ {party_ids:optional} {message_type ""} {message:optional} + {header_id:integer ""} + {footer_id:integer ""} {return_url "./"} {object_id:integer,multiple,optional} {file_ids ""} @@ -26,6 +28,7 @@ } } } + if { [exists_and_not_null message] && ![exists_and_not_null message_type] } { set message_type [lindex [split $message "."] 0] set item_id [lindex [split $message "."] 1] @@ -137,42 +140,70 @@ } -if { [string is false [exists_and_not_null message_type]] } { +if { ![exists_and_not_null message_type] } { set message_type_options [ams::util::localize_and_sort_list_of_lists \ -list [db_list_of_lists get_message_types { select pretty_name, message_type from contact_message_types }] \ ] set message_options [list] foreach op $message_type_options { - lappend message_options [list "-- [_ contacts.New] [lindex $op 0] --" [lindex $op 1]] + set message_type [lindex $op 1] + if {$message_type == "letter" || $message_type == "email"} { + lappend message_options [list "-- [_ contacts.New] [lindex $op 0] --" $message_type] + } else { + set ${message_type}_options [list [list [_ contacts.--none--] ""]] + } + # set email_text and letter_text and others in the future - set "[lindex $op 1]_text" [lindex $op 0] + set "${message_type}_text" [lindex $op 0] } set public_text [_ contacts.Public] set package_id [ad_conn package_id] + + db_foreach get_messages { + select CASE WHEN owner_id = :package_id THEN :public_text ELSE contact__name(owner_id) END as public_display, + title, + to_char(item_id,'FM9999999999999999999999') as item_id, + message_type + from contact_messages + where owner_id in ( select party_id from parties ) + or owner_id = :package_id + order by CASE WHEN owner_id = :package_id THEN '000000000' ELSE upper(contact__name(owner_id)) END, message_type, upper(title) + } { + if {$message_type == "letter" || $message_type == "email"} { + lappend ${message_type}_options [list "$public_display [set ${message_type}_text]:$title" "${message_type}.$item_id"] + } else { + lappend ${message_type}_options [list "$public_display:$title" "$item_id"] + } + } set message_options [concat \ $message_options \ - [db_list_of_lists get_messages { - select CASE WHEN owner_id = :package_id THEN :public_text ELSE contact__name(owner_id) END || ' ' || CASE WHEN message_type = 'email' THEN :email_text WHEN message_type = 'letter' THEN :letter_text END || ': ' || title, - message_type || '.' || to_char(item_id,'FM9999999999999999999999') - from contact_messages - where owner_id in ( select party_id from parties ) - or owner_id = :package_id - order by CASE WHEN owner_id = :package_id THEN '000000000' ELSE upper(contact__name(owner_id)) END, message_type, upper(title) - }] \ - ] + $letter_options \ + $email_options] + if {[exists_and_not_null header_options]} { + lappend form_elements [list \ + header_id:text(select) \ + [list label "[_ contacts.Header]"] \ + [list options $header_options] \ + ] + } + lappend form_elements [list \ message:text(select) \ [list label "[_ contacts.Message]"] \ [list options $message_options] \ ] + + set message_type "" set title [_ contacts.create_a_message] + } else { set title [_ contacts.create_$message_type] } + set context [list $title] if { [string is false [exists_and_not_null message]] } { @@ -199,6 +230,14 @@ } +if {[exists_and_not_null footer_options]} { + lappend form_elements [list \ + footer_id:text(select) \ + [list label "[_ contacts.Footer]"] \ + [list options $footer_options] \ + ] +} + set edit_buttons [list [list "[_ contacts.Next]" create]] # the message form will rest party_ids so we need to carry it over Index: openacs-4/packages/contacts/www/relationship-ae.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/relationship-ae.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/contacts/www/relationship-ae.tcl 7 Jun 2005 07:45:40 -0000 1.4 +++ openacs-4/packages/contacts/www/relationship-ae.tcl 9 Aug 2005 12:44:19 -0000 1.5 @@ -74,6 +74,7 @@ set creation_ip [ad_conn peeraddr] set rel_id [db_exec_plsql create_rel {}] db_dml insert_contact_rel {} + # callback contact::insert_contact_rel -package_id $package_id -form party_ae -object_type $object_type util_user_message -message "[_ contacts.Relationship_Added]" } else { util_user_message -message "[_ contacts.Relationship_Updated]" Index: openacs-4/packages/contacts/www/resources/contacts.css =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/resources/contacts.css,v diff -u -r1.10 -r1.11 --- openacs-4/packages/contacts/www/resources/contacts.css 28 Jun 2005 19:22:02 -0000 1.10 +++ openacs-4/packages/contacts/www/resources/contacts.css 9 Aug 2005 12:44:20 -0000 1.11 @@ -25,16 +25,15 @@ text-align: right; } dl.comments { - font-size: 85%; + font-size: 100%; margin: 0px; padding: 0px; } dl.comments dt { - padding: 5px; margin: 5px 0px 0px 0px; background: #EEE; font-weight: normal; - font-size: 75%; + font-size: 100%; } dl.comments dd { padding: 5px; @@ -45,10 +44,10 @@ background: #DDD; } dl.comments dt.mine-odd, dl.comments dd.mine-odd { - background: #FDE; + background: #FFFFFF; } dl.comments dt.mine-even, dl.comments dd.mine-even { - background: #FDE; + background: #FFFFFF; } dl.comments .number { padding: 0px 5px 0px 0px;
+$header +

+
+$content +
+$footer +