function nodeorder_help in Node Order 7
Same name and namespace in other branches
- 8 nodeorder.module \nodeorder_help()
- 6 nodeorder.module \nodeorder_help()
Implements hook_help().
File
- ./
nodeorder.module, line 911 - Nodeorder module.
Code
function nodeorder_help($path, $arg) {
switch ($path) {
case 'taxonomy/term/%/order':
$term = taxonomy_term_load($arg[2]);
$output = '<p>' . t('This page provides a drag-and-drop interface for ordering nodes. To change the order of a node, grab a drag-and-drop handle under the <em>Node title</em> column and drag the node to a new location in the list. (Grab a handle by clicking and holding the mouse while hovering over a handle icon.) Remember that your changes will not be saved until you click the <em>Save order</em> button at the bottom of the page.') . '</p>';
return $output;
case 'admin/structure/taxonomy/%/order':
$vocabulary = taxonomy_vocabulary_load($arg[3]);
$output = '<p>' . t('%capital_name is an orderable vocabulary. You may order the nodes associated with a term within this vocabulary by clicking the <em>order nodes</em> link next to the term.', array(
'%capital_name' => drupal_ucfirst($vocabulary->name),
));
return $output;
}
}