diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-01 00:39:45 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-01 00:39:45 +0000 |
commit | 534cc4a85953fa85b7e12c1dd6d26fb4e097ad1c (patch) | |
tree | 149875429b98844f2701a2e9c67aa41b4a100b42 | |
parent | 91a97937f785f013d6304478c1e4df88691c1193 (diff) | |
download | elgg-534cc4a85953fa85b7e12c1dd6d26fb4e097ad1c.tar.gz elgg-534cc4a85953fa85b7e12c1dd6d26fb4e097ad1c.tar.bz2 |
input/longtext and remove editor link layout improved
git-svn-id: https://code.elgg.org/elgg/trunk@3003 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/groups/views/default/forms/forums/addpost.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/forms/forums/addtopic.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/forms/forums/edittopic.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/forum/topicposts.php | 2 | ||||
-rw-r--r-- | mod/reportedcontent/views/default/reportedcontent/form.php | 3 | ||||
-rw-r--r-- | views/default/comments/forms/edit.php | 2 | ||||
-rw-r--r-- | views/default/css.php | 9 |
7 files changed, 13 insertions, 9 deletions
diff --git a/mod/groups/views/default/forms/forums/addpost.php b/mod/groups/views/default/forms/forums/addpost.php index 0e7eed85d..56cc901c5 100644 --- a/mod/groups/views/default/forms/forums/addpost.php +++ b/mod/groups/views/default/forms/forums/addpost.php @@ -14,7 +14,7 @@ ?>
<form action="<?php echo $vars['url']; ?>action/groups/addpost" method="post">
- <p>
+ <p class="longtext_editarea">
<label><?php echo elgg_echo("groups:reply"); ?><br />
<?php
diff --git a/mod/groups/views/default/forms/forums/addtopic.php b/mod/groups/views/default/forms/forums/addtopic.php index 1b14b594a..7693748f5 100644 --- a/mod/groups/views/default/forms/forums/addtopic.php +++ b/mod/groups/views/default/forms/forums/addtopic.php @@ -58,7 +58,7 @@ </p>
<!-- topic message input -->
- <p>
+ <p class="longtext_editarea">
<label><?php echo elgg_echo("groups:topicmessage"); ?><br />
<?php
diff --git a/mod/groups/views/default/forms/forums/edittopic.php b/mod/groups/views/default/forms/forums/edittopic.php index 4f74e66cd..9b9d9b576 100644 --- a/mod/groups/views/default/forms/forums/edittopic.php +++ b/mod/groups/views/default/forms/forums/edittopic.php @@ -64,7 +64,7 @@ </p>
<!-- topic message input -->
- <p>
+ <p class="longtext_editarea">
<label><?php echo elgg_echo("groups:topicmessage"); ?><br />
<?php
diff --git a/mod/groups/views/default/forum/topicposts.php b/mod/groups/views/default/forum/topicposts.php index 5a3e018d7..fbfb7264f 100644 --- a/mod/groups/views/default/forum/topicposts.php +++ b/mod/groups/views/default/forum/topicposts.php @@ -75,7 +75,7 @@ $form_body = <<<EOT
<div class='edit_forum_comments'>
- <p>
+ <p class='longtext_editarea'>
$text_textarea
</p>
$post
diff --git a/mod/reportedcontent/views/default/reportedcontent/form.php b/mod/reportedcontent/views/default/reportedcontent/form.php index 29dd02f0e..007858d04 100644 --- a/mod/reportedcontent/views/default/reportedcontent/form.php +++ b/mod/reportedcontent/views/default/reportedcontent/form.php @@ -51,9 +51,10 @@ ?>
</label>
</p>
- <p>
+ <p class="longtext_editarea">
<label>
<?php echo elgg_echo('reportedcontent:description'); ?>
+ <br />
<?php
echo elgg_view('input/longtext',array(
diff --git a/views/default/comments/forms/edit.php b/views/default/comments/forms/edit.php index 706d49967..a8f5980c7 100644 --- a/views/default/comments/forms/edit.php +++ b/views/default/comments/forms/edit.php @@ -14,7 +14,7 @@ if (isset($vars['entity']) && isloggedin()) {
- $form_body = "<div class=\"contentWrapper\"><p><label>".elgg_echo("generic_comments:text")."<br />" . elgg_view('input/longtext',array('internalname' => 'generic_comment')) . "</label></p>";
+ $form_body = "<div class=\"contentWrapper\"><p class='longtext_editarea'><label>".elgg_echo("generic_comments:text")."<br />" . elgg_view('input/longtext',array('internalname' => 'generic_comment')) . "</label></p>";
$form_body .= "<p>" . elgg_view('input/hidden', array('internalname' => 'entity_guid', 'value' => $vars['entity']->getGUID()));
$form_body .= elgg_view('input/submit', array('value' => elgg_echo("save"))) . "</p></div>";
diff --git a/views/default/css.php b/views/default/css.php index 3b7180af5..ffa4b14dc 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -1418,9 +1418,6 @@ table.search_gallery { .contentIntro .enableallplugins { margin-left:10px; } -.contentIntro .disableallplugins { - margin-left:20px; -} .contentIntro .enableallplugins, .not-active .admin_plugin_enable_disable a { font: 12px/100% Arial, Helvetica, sans-serif; @@ -2368,6 +2365,12 @@ h3.settings { .mceLayout { width:683px; } +p.longtext_editarea { + margin:0 !important; +} +.toggle_editor_container { + margin:0 0 15px 0; +} /* add/remove longtext tinyMCE editor */ a.toggle_editor { display:block; |