You are here

function theme_textimage_preset_edit in Textimage 5.2

Same name and namespace in other branches
  1. 6.2 textimage_admin.inc \theme_textimage_preset_edit()
  2. 7.2 textimage.admin.inc \theme_textimage_preset_edit()

File

./textimage_admin.inc, line 523

Code

function theme_textimage_preset_edit(&$form) {
  drupal_add_js(drupal_get_path('module', 'textimage') . '/misc/js/textimage_admin.js');
  drupal_add_css(drupal_get_path('module', 'textimage') . '/misc/css/textimage_admin.css');

  // AHAH Preview
  drupal_add_js(array(
    'textimage' => array(
      'js' => base_path() . 'js/textimage',
    ),
  ), 'setting');
  drupal_render($form);
}