From 1e94b4e29b3d4989eff8d5344bf3415b3fb44b94 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Mon, 14 Mar 2011 23:54:38 +0000 Subject: Refs #3016: Removes inline javascript from embed, file, groups, messages, profile, thewire git-svn-id: http://code.elgg.org/elgg/trunk@8711 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/thewire/views/default/forms/thewire/add.php | 36 +++---------------------- 1 file changed, 3 insertions(+), 33 deletions(-) (limited to 'mod/thewire/views/default') diff --git a/mod/thewire/views/default/forms/thewire/add.php b/mod/thewire/views/default/forms/thewire/add.php index 956ec7c27..67585b0df 100644 --- a/mod/thewire/views/default/forms/thewire/add.php +++ b/mod/thewire/views/default/forms/thewire/add.php @@ -5,6 +5,8 @@ * @uses $vars['post'] */ +elgg_load_js('elgg.thewire'); + $post = elgg_extract('post', $vars); $text = elgg_echo('post'); @@ -30,37 +32,5 @@ echo elgg_view('input/submit', array( 'value' => $text, 'id' => 'thewire-submit-button', )); - ?> - - + \ No newline at end of file -- cgit v1.2.3