function theme_outline_designer_prefix in Outline Designer 6.2
Same name and namespace in other branches
- 7.2 outline_designer.module \theme_outline_designer_prefix()
Theme Callback: Outline Designer page prefix
1 theme call to theme_outline_designer_prefix()
- _outline_designer_book_admin_form_alter in modules/
outline_designer_book/ outline_designer_book.module - Helper to allow other sub-sub projects to implement this
File
- ./
outline_designer.module, line 243 - API for implementation of the Outline Designer usability improvements.
Code
function theme_outline_designer_prefix($type, $nid, $icon_path) {
return '<img alt="' . $type . '" id="node-' . $nid . '-icon" src="' . base_path() . variable_get("outline_designer_" . $type . "_icon", drupal_get_path('module', 'outline_designer') . "/images/page.png") . '" alt="Nid: ' . $nid . '" title="Nid: ' . $nid . '" style="float:left; margin:2px;" /><img src="' . $icon_path . 'settings.png" alt="' . t('Content operations') . '" title="' . t('Content operations') . '" id="node-' . $nid . '" class="outline_designer_edit_button" />';
}