'#description'=>t('When listing forums, those with lighter (smaller) weights get listed before containers with heavier (larger) weights. Forums with equal weights are sorted alphabetically.'),
'#description'=>t('When listing containers, those with with light (small) weights get listed before containers with heavier (larger) weights. Containers with equal weights are sorted alphabetically.')
returnconfirm_form($form,t('Are you sure you want to delete the forum %name?',array('%name'=>$term->name)),'admin/content/forum',t('Deleting a forum or container will delete all sub-forums and associated posts as well. This action cannot be undone.'),t('Delete'),t('Cancel'));
}
/**
* Implementation of forms api _submit call. Deletes a forum after confirmation.
$rows[]=array(array('data'=>'<em>'.t('There are no existing containers or forums. You may add some on the <a href="@container">add container</a> or <a href="@forum">add forum</a> pages.',array('@container'=>url('admin/content/forum/add/container'),'@forum'=>url('admin/content/forum/add/forum'))).'</em>','colspan'=>2));
}
returntheme('table',$header,$rows);
}
/**
* Returns a select box for available parent terms
*
* @param $tid ID of the term which is being added or edited
* @param $title Title to display the select box with
* @param $child_type Whether the child is forum or container
$description=t('Containers are usually placed at the top (root) level of your forum but you can also place a container inside a parent container or forum.');
}
elseif($child_type=='forum'){
$description=t('You may place your forum inside a parent container or forum, or at the top (root) level of your forum.');
'#description'=>t('When listing containers, those with with light (small) weights get listed before containers with heavier (larger) weights. Containers with equal weights are sorted alphabetically.')
'#description'=>t('When listing forums, those with lighter (smaller) weights get listed before containers with heavier (larger) weights. Forums with equal weights are sorted alphabetically.'),
returnconfirm_form($form,t('Are you sure you want to delete the forum %name?',array('%name'=>$term->name)),'admin/content/forum',t('Deleting a forum or container will delete all sub-forums and associated posts as well. This action cannot be undone.'),t('Delete'),t('Cancel'));
}
/**
* Implementation of forms api _submit call. Deletes a forum after confirmation.
$rows[]=array(array('data'=>'<em>'.t('There are no existing containers or forums. You may add some on the <a href="@container">add container</a> or <a href="@forum">add forum</a> pages.',array('@container'=>url('admin/content/forum/add/container'),'@forum'=>url('admin/content/forum/add/forum'))).'</em>','colspan'=>2));
}
returntheme('table',$header,$rows);
}
/**
* Returns a select box for available parent terms
*
* @param $tid ID of the term which is being added or edited
* @param $title Title to display the select box with
* @param $child_type Whether the child is forum or container