You are here

function theme_outline_designer_overlay_suffix in Outline Designer 7.2

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

Suffix adds the info to tack on the end of the form

1 theme call to theme_outline_designer_overlay_suffix()
_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 242
API for implementation of the Outline Designer usability improvements.

Code

function theme_outline_designer_overlay_suffix($variables) {
  $render = $variables['render'];
  return '
    <div id="od_popup_overlay"></div>
    <div id="od_popup" class="context-menu context-menu-theme-' . variable_get('outline_designer_theme', 'vista') . '">
      <div class="popup-statusbar"></div>
      <div class="popup-content"></div>
      <div class="popup-buttons">
        <input type="button" name="Save" value="Save" class="od_submit_button" />
      </div>
      <img src="' . base_path() . drupal_get_path('module', 'outline_designer') . '/images/close.png" class="od_cancel_button" />
    </div>
    <div id="od_popup_toolbox">' . $render . '</div>';
}