Hi
I want to change array of those functions for now as default appears "hide comments", and you need click again to "lock comments", which is bad, because in my case I'm not using hide comments function at all, how can I change order of those functions (or remove "hide comments" completely).

I tried change this line, but it's changing only labels not functions

        'comment_admin' => array(0 => t('lock comments'), 1 => t('unlock comments'), 2 => t('hide comments')),

Comments

v8powerage’s picture

Component: User interface » Code
nigelcunningham’s picture

Version: 6.x-1.3 » 7.x-1.x-dev
Issue summary: View changes
nigelcunningham’s picture

Fixed in b3f61f66b0bda11140b8a510d39f3e31f8c259a7 (Drupal 7). There is a new option in the systemwide settings page, in the Posts section:

"Toggle comments between read/write and readonly only? (Not completely disabled as well)"

(Yes, I think it should really be in the comments section too, and will look at moving the comment related stuff in the node submodule to the comments submodule separately)

nigelcunningham’s picture

Status: Active » Closed (fixed)