You are here

function theme_outline_designer_prefix in Outline Designer 7.2

Same name and namespace in other branches
  1. 6.2 outline_designer.module \theme_outline_designer_prefix()

Theme Callback: Outline Designer page prefix

1 theme call to theme_outline_designer_prefix()
theme_outline_designer_book_admin_table in modules/outline_designer_book/outline_designer_book.module
Theme override for book_admin_table

File

./outline_designer.module, line 295
API for implementation of the Outline Designer usability improvements.

Code

function theme_outline_designer_prefix($variables) {
  $type = $variables['type'];
  $nid = $variables['nid'];
  $icon_path = $variables['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" />';
}