function theme_shurly_create_form in ShURLy 6
File
- ./
shurly.module, line 226 - description http://www.youtube.com/watch?v=Qo7qoonzTCE
Code
function theme_shurly_create_form($form) {
$path = drupal_get_path('module', 'shurly');
drupal_add_css($path . '/shurly.css');
drupal_add_js($path . '/zeroclipboard/ZeroClipboard.js');
drupal_add_js($path . '/shurly.js');
drupal_add_js("ZeroClipboard.setMoviePath( '" . base_path() . $path . '/zeroclipboard/ZeroClipboard.swf' . "' );", 'inline');
$output = '';
$output .= '<div class="container-inline">';
$output .= drupal_render($form['long_url']);
$output .= drupal_render($form['submit']);
$output .= '</div>';
$output .= drupal_render($form['short_url']);
$output .= drupal_render($form);
return $output;
}