Index: openacs-4/packages/news/www/admin/index.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/news/www/admin/index.tcl,v
diff -u -r1.11 -r1.12
--- openacs-4/packages/news/www/admin/index.tcl 2 Feb 2018 00:17:02 -0000 1.11
+++ openacs-4/packages/news/www/admin/index.tcl 3 Sep 2024 15:37:39 -0000 1.12
@@ -1,5 +1,3 @@
-# /packages/news/www/admin/index.tcl
-
ad_page_contract {
Display a list of news items summary for administration
@@ -17,7 +15,6 @@
context:onevalue
view_link:onevalue
hidden_vars:onevalue
- select_actions:onevalue
item_list:multirow
}
@@ -28,42 +25,134 @@
set view_slider [list \
[list view "[_ news.News_Items]" published [list \
- [list published "[_ news.Published]" {where "status like 'published%'"}] \
- [list unapproved "[_ news.Unapproved]" {where "status = 'unapproved'"}] \
- [list approved "[_ news.Approved]" {where "status like 'going_live%'"}] \
- [list archived "[_ news.Archived]" {where "status = 'archived'"}] \
+ [list published "[_ news.Published]" {where "status like 'published%'"}] \
+ [list unapproved "[_ news.Unapproved]" {where "status = 'unapproved'"}] \
+ [list approved "[_ news.Approved]" {where "status like 'going_live%'"}] \
+ [list archived "[_ news.Archived]" {where "status = 'archived'"}] \
[list all "[_ news.All]" {} ] \
]]
]
set view_link [ad_dimensional $view_slider]
set view_option [ad_dimensional_sql $view_slider]
+set bulk_actions [list]
+
# define action on selected views, unapproved, archived, approved need restriction
switch -- $view {
- "unapproved" {
- set select_actions "
-
-
-