aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/views/default
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-11 23:09:33 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-11 23:09:33 +0000
commit767d259bb89a337ec57abeeb8c3ac5c5fc3e9d21 (patch)
treee3229ba658fbc5f38c73b20e9fc43cdb5085451c /mod/thewire/views/default
parent891739afadddad56b517b7d565458296eeb58c0b (diff)
downloadelgg-767d259bb89a337ec57abeeb8c3ac5c5fc3e9d21.tar.gz
elgg-767d259bb89a337ec57abeeb8c3ac5c5fc3e9d21.tar.bz2
Added disapproving @todo's wherever I could find javascript not conforming to 1.8 conventions
git-svn-id: http://code.elgg.org/elgg/trunk@8123 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/thewire/views/default')
-rw-r--r--mod/thewire/views/default/thewire/forms/add.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/mod/thewire/views/default/thewire/forms/add.php b/mod/thewire/views/default/thewire/forms/add.php
index 3b3519e40..3ad968b3b 100644
--- a/mod/thewire/views/default/thewire/forms/add.php
+++ b/mod/thewire/views/default/thewire/forms/add.php
@@ -13,15 +13,16 @@
?>
<div class="new_wire_post clearfix">
<h3><?php echo elgg_echo("thewire:doing"); ?></h3>
+<?php //@todo JS 1.8: no ?>
<script type="text/javascript" src="<?php echo elgg_get_site_url(); ?>mod/thewire/views/default/thewire/scripts/counter.js"></script>
<form action="<?php echo elgg_get_site_url(); ?>action/thewire/add" method="post" name="new_post">
<?php
$action_txt = elgg_echo('post');
- $display .= "<textarea name='new_post_textarea' value='' onKeyDown=\"textCounter(document.new_post.new_post_textarea,document.new_post.remLen1,140)\" onKeyUp=\"textCounter(document.new_post.new_post_textarea,document.new_post.remLen1,140)\">{$msg}</textarea>";
- $display .= "<input type='submit' class='elgg-button-action' value='{$action_txt}' />";
- $display .= "<div class='character_count'><input readonly type=\"text\" name=\"remLen1\" size=\"3\" maxlength=\"3\" value=\"140\">";
- echo $display;
- echo elgg_echo("thewire:charleft") . "</div>";
+ $display .= "<textarea name='new_post_textarea' value='' onKeyDown=\"textCounter(document.new_post.new_post_textarea,document.new_post.remLen1,140)\" onKeyUp=\"textCounter(document.new_post.new_post_textarea,document.new_post.remLen1,140)\">{$msg}</textarea>";
+ $display .= "<input type='submit' class='elgg-button-action' value='{$action_txt}' />";
+ $display .= "<div class='character_count'><input readonly type=\"text\" name=\"remLen1\" size=\"3\" maxlength=\"3\" value=\"140\">";
+ echo $display;
+ echo elgg_echo("thewire:charleft") . "</div>";
echo elgg_view('input/securitytoken');
?>
<input type="hidden" name="method" value="site" />