diff options
-rw-r--r-- | mod/sitepages/views/default/sitepages/forms/editfront.php | 6 | ||||
-rw-r--r-- | views/default/css.php | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/mod/sitepages/views/default/sitepages/forms/editfront.php b/mod/sitepages/views/default/sitepages/forms/editfront.php index d42d496e2..b6c0f741c 100644 --- a/mod/sitepages/views/default/sitepages/forms/editfront.php +++ b/mod/sitepages/views/default/sitepages/forms/editfront.php @@ -22,9 +22,9 @@ if ($sitepages_object = sitepages_get_sitepage_object('front')) { } // set the required form variables -$input_css = elgg_view('input/plaintext', array('internalname' => 'css', 'value' => $css)); -$input_logged_in_content = elgg_view('input/plaintext', array('internalname' => 'logged_in_content', 'value' => $logged_in_content )); -$input_logged_out_content = elgg_view('input/plaintext', array('internalname' => 'logged_out_content', 'value' => $logged_out_content )); +$input_css = elgg_view('input/plaintext', array('internalname' => 'css', 'value' => $css, 'class' => 'input_textarea monospace')); +$input_logged_in_content = elgg_view('input/plaintext', array('internalname' => 'logged_in_content', 'value' => $logged_in_content, 'class' => 'input_textarea monospace')); +$input_logged_out_content = elgg_view('input/plaintext', array('internalname' => 'logged_out_content', 'value' => $logged_out_content, 'class' => 'input_textarea monospace')); $submit_input = elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('save'))); $logged_in_content_title = elgg_echo("sitepages:logged_in_front_content"); diff --git a/views/default/css.php b/views/default/css.php index f05ad518e..0afb4b38d 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -1122,6 +1122,10 @@ input[type="text"]:focus { background: #e4ecf5; color:#333333; } +.input_textarea.monospace { + font-family:Monaco,"Courier New",Courier,monospace; + font-size:13px; +} a.longtext_control { float:right; margin-left:14px; |