diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:27:40 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:27:40 +0000 |
commit | af2f3805095f8a91d85847e11faeb280fddf58c0 (patch) | |
tree | 221ef519a94523d494511ba33acb3f34f68f04c0 /mod/tinymce/views | |
parent | 9af0f9be12346d2008cf6de6e5ab7bd083c09c8c (diff) | |
download | elgg-af2f3805095f8a91d85847e11faeb280fddf58c0.tar.gz elgg-af2f3805095f8a91d85847e11faeb280fddf58c0.tar.bz2 |
Fixes #2921: converted internalname => name and internalid => id
git-svn-id: http://code.elgg.org/elgg/trunk@8249 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/tinymce/views')
-rw-r--r-- | mod/tinymce/views/default/input/longtext.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/tinymce/views/default/input/longtext.php b/mod/tinymce/views/default/input/longtext.php index daa68502e..1d449262f 100644 --- a/mod/tinymce/views/default/input/longtext.php +++ b/mod/tinymce/views/default/input/longtext.php @@ -6,8 +6,8 @@ * * @uses $vars['value'] The current value, if any * @uses $vars['js'] Any Javascript to enter into the input tag - * @uses $vars['internalname'] The name of the input field - * @uses $vars['internalid'] The id of the input field + * @uses $vars['name'] The name of the input field + * @uses $vars['id'] The id of the input field * */ @@ -19,10 +19,10 @@ elgg_extend_view('footer/analytics', 'tinymce/init'); ?> -<a class="elgg-longtext-control tinymce-toggle-editor small" href="javascript:toggleEditor('<?php echo $vars['internalname']; ?>');"> +<a class="elgg-longtext-control tinymce-toggle-editor small" href="javascript:toggleEditor('<?php echo $vars['name']; ?>');"> <?php echo elgg_echo('tinymce:remove'); ?> </a> -<textarea class="elgg-input-textarea mceEditor" name="<?php echo $vars['internalname']; ?>" <?php if (isset($vars['internalid'])) echo "id=\"{$vars['internalid']}\""; ?> <?php echo $vars['js']; ?>> +<textarea class="elgg-input-textarea mceEditor" name="<?php echo $vars['name']; ?>" <?php if (isset($vars['id'])) echo "id=\"{$vars['id']}\""; ?> <?php echo $vars['js']; ?>> <?php echo htmlspecialchars($vars['value'], null, 'UTF-8'); ?> </textarea> |