<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_52748"> 在后台admin/content的列表中添加一列。<br> <br> <br> <br> <br> <div class="blockcode"> <div id="code_Pho"><ol> <li>/**</li> <li> * Implements hook_form_alter().</li> <li> */</li> <li>function mymodule_form_alter(&$form, &$form_state, $form_id) {</li> <li> if($form_id == 'node_admin_content') {</li> <li> $form['admin']['nodes']['#header']['state'] = t('new row');</li> <li> foreach($form['admin']['nodes']['#options'] as $key => $row) {</li> <li> $form['admin']['nodes']['#options'][$key]['state'] = 'new row';</li> <li> }</li> <li> }</li> <li>}</li> </ol></div> <em onclick="copycode($('code_Pho'));">复制代码</em> </div> </td></tr></table> <div id="comment_52748" class="cm"> </div> <div id="post_rate_div_52748"></div> <br><br>