function quickpost_bookmarklet_settings

cis7 quickpost_bookmarklet.module quickpost_bookmarklet_settings()
cle7 quickpost_bookmarklet.module quickpost_bookmarklet_settings()
elmsmedia7 quickpost_bookmarklet.module quickpost_bookmarklet_settings()
icor7 quickpost_bookmarklet.module quickpost_bookmarklet_settings()
meedjum_blog7 quickpost_bookmarklet.module quickpost_bookmarklet_settings()
mooc7 quickpost_bookmarklet.module quickpost_bookmarklet_settings()

Helper function to add js to the settings form.

1 string reference to 'quickpost_bookmarklet_settings'
quickpost_bookmarklet_menu in sites/all/modules/elmsln_contrib/quickpost_bookmarklet/quickpost_bookmarklet.module
Implements hook_menu().

File

sites/all/modules/elmsln_contrib/quickpost_bookmarklet/quickpost_bookmarklet.module, line 33
QuickPost Bookmarklet

Code

function quickpost_bookmarklet_settings() {
  drupal_add_js(drupal_get_path('module', 'quickpost_bookmarklet') . '/options.js');
  drupal_add_js(array('bookmarklet_base_path' => url('node/add', array('absolute' => TRUE))), 'setting');
  drupal_add_js(array('bookmarklet_clean_url' => variable_get('clean_url', FALSE)), 'setting');
  return drupal_get_form('quickpost_bookmarklet_settings_form');
}