Index: openacs-4/packages/bulk-mail/www/index.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/bulk-mail/www/index.adp,v
diff -u -r1.7 -r1.7.18.1
--- openacs-4/packages/bulk-mail/www/index.adp 22 Oct 2003 15:01:47 -0000 1.7
+++ openacs-4/packages/bulk-mail/www/index.adp 11 Sep 2014 15:08:57 -0000 1.7.18.1
@@ -2,4 +2,5 @@
[_ bulk-mail.lt_No_bulk_mail_messages]
" \ + -html {width "95%"} \ + -elements { + send_date { + label "#bulk-mail.Send_Date#" + display_col send_date_pretty + orderby send_date + html {style "width:10%"} + } + from_addr { + label "#bulk-mail.From#" + orderby from_addr + html {style "width:15%"} + } + subject { + label "#bulk-mail.Subject#" + link_url_col message_url + orderby subject + } + status_pretty { + label "#bulk-mail.Status#" + html {style "width:10%" align "center"} + orderby status + } + } -set sql " - select bulk_mail_messages.* - from bulk_mail_messages - where bulk_mail_messages.package_id = :package_id - [ad_order_by_from_sort_spec $orderby $table_def] -" +db_multirow -extend {send_date_pretty message_url status_pretty} message_list get_mail_messages {} { + set send_date_pretty [lc_time_fmt $send_date %q] + set message_url "[lindex [site_node::get_url_from_object_id -object_id $package_id] 0]one?bulk_mail_id=$bulk_mail_id" + set status_pretty [ad_decode $status sent [_ bulk-mail.Sent] pending [_ bulk-mail.Pending] [_ bulk-mail.Cancelled]] +} -set table [ad_table \ - -Tmissing_text "[_ bulk-mail.lt_No_bulk_mail_messages]
" \ - -Torderby $orderby \ - -Ttable_extra_html {width="95%"} \ - select_bulk_mail_messages \ - $sql \ - $table_def \ -] - ad_return_template Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/bulk-mail/www/index.xql'. Fisheye: No comparison available. Pass `N' to diff?