$form['advanced']['category']=array('#type'=>'select','#title'=>t('Only in the category'),'#prefix'=>'<div class="criterium">','#suffix'=>'</div>','#options'=>$taxonomy,'#extra'=>'size="10"','#multiple'=>true);
}
...
...
@@ -938,9 +938,9 @@ function node_last_changed($nid) {
return($node->changed);
}
/*
** Node operations
*/
/**
* List node administration operations that can be performed.
*/
functionnode_operations(){
$operations=array(
'approve'=>array(t('Approve the selected posts'),'UPDATE {node} SET status = 1, moderate = 0 WHERE nid = %d'),
...
...
@@ -953,70 +953,82 @@ function node_operations() {
return$operations;
}
/*
** Filters
*/
/**
* List node administration filters that can be applied.
@@ -1127,6 +1153,9 @@ function node_admin_nodes_validate($form_id, $edit) {
}
}
/**
* Menu callback: content administration.
*/
functionnode_admin_nodes(){
global$form_values;
$output=node_filter_form();
...
...
@@ -1139,9 +1168,10 @@ function node_admin_nodes() {
$result=pager_query('SELECT n.*, u.name, u.uid FROM {node} n '.$filter['join'].' INNER JOIN {users} u ON n.uid = u.uid '.$filter['where'].' ORDER BY n.changed DESC',50,0,NULL,$filter['args']);
$form['advanced']['category']=array('#type'=>'select','#title'=>t('Only in the category'),'#prefix'=>'<div class="criterium">','#suffix'=>'</div>','#options'=>$taxonomy,'#extra'=>'size="10"','#multiple'=>true);
}
...
...
@@ -938,9 +938,9 @@ function node_last_changed($nid) {
return($node->changed);
}
/*
** Node operations
*/
/**
* List node administration operations that can be performed.
*/
functionnode_operations(){
$operations=array(
'approve'=>array(t('Approve the selected posts'),'UPDATE {node} SET status = 1, moderate = 0 WHERE nid = %d'),
...
...
@@ -953,70 +953,82 @@ function node_operations() {
return$operations;
}
/*
** Filters
*/
/**
* List node administration filters that can be applied.
@@ -1127,6 +1153,9 @@ function node_admin_nodes_validate($form_id, $edit) {
}
}
/**
* Menu callback: content administration.
*/
functionnode_admin_nodes(){
global$form_values;
$output=node_filter_form();
...
...
@@ -1139,9 +1168,10 @@ function node_admin_nodes() {
$result=pager_query('SELECT n.*, u.name, u.uid FROM {node} n '.$filter['join'].' INNER JOIN {users} u ON n.uid = u.uid '.$filter['where'].' ORDER BY n.changed DESC',50,0,NULL,$filter['args']);