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.2.1 -r1.11.2.2 --- openacs-4/packages/news/www/admin/index.tcl 4 Dec 2020 10:15:11 -0000 1.11.2.1 +++ openacs-4/packages/news/www/admin/index.tcl 4 Dec 2020 10:27:56 -0000 1.11.2.2 @@ -28,10 +28,10 @@ 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]" {} ] \ ]] ] @@ -40,25 +40,25 @@ # define action on selected views, unapproved, archived, approved need restriction switch -- $view { - "unapproved" { - set select_actions "<option value=\"publish\">[_ news.Publish]" + "unapproved" { + set select_actions "<option value=\"publish\">[_ news.Publish]" } - "archived" { - set select_actions "<option value=\"publish\">[_ news.Publish]" + "archived" { + set select_actions "<option value=\"publish\">[_ news.Publish]" } - "approved" { - set select_actions "<option value=\"make permanent\">[_ news.Make_Permanent]" + "approved" { + set select_actions "<option value=\"make permanent\">[_ news.Make_Permanent]" } default { - set select_actions " - <option value=\"archive now\" selected>[_ news.Archive_Now]</option> - <option value=\"archive next week\">[_ news.lt_Archive_as_of_Next_We]</option> - <option value=\"archive next month\">[_ news.lt_Archive_as_of_Next_Mo]</option> - <option value=\"make permanent\">[_ news.Make_Permanent]" + set select_actions " + <option value=\"archive now\" selected>[_ news.Archive_Now]</option> + <option value=\"archive next week\">[_ news.lt_Archive_as_of_Next_We]</option> + <option value=\"archive next month\">[_ news.lt_Archive_as_of_Next_Mo]</option> + <option value=\"make permanent\">[_ news.Make_Permanent]" } } -set title "[_ news.Administration]" +set title "[_ news.Administration]" set context {}