function theme_flag_lists_ops in Flag Lists 6
Same name and namespace in other branches
- 7.3 flag_lists.module \theme_flag_lists_ops()
- 7 flag_lists.module \theme_flag_lists_ops()
Theme function to return edit, delete links.
Parameters
$flag: The flag whose links are being built.
3 theme calls to theme_flag_lists_ops()
- theme_flag_lists_admin_page in ./
flag_lists.admin.inc - Theme the output for the main flag administration page.
- theme_flag_lists_list in ./
flag_lists.module - theme_flag_lists_user_page in ./
flag_lists.module - Theme the output for a user flag administration page.
File
- ./
flag_lists.module, line 581 - The Flag Lists module.
Code
function theme_flag_lists_ops($flag) {
$links = array(
'flags_edit' => array(
'title' => t('edit'),
'href' => 'flags/lists/edit/' . $flag->name,
'query' => drupal_get_destination(),
),
'flags_delete' => array(
'title' => t('delete'),
'href' => 'flags/lists/delete/' . $flag->name,
'query' => drupal_get_destination(),
),
);
return theme('links', $links, NULL, 'ul', array(
'class' => 'flag_lists_ops',
));
}