aboutsummaryrefslogtreecommitdiff
path: root/views/failsafe
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-01 20:56:36 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-01 20:56:36 +0000
commit7a0bf98c1e3f69313a1f79e77db24fe110958781 (patch)
tree9d850c7b4f097aa17110d08a8482243d44cceecc /views/failsafe
parente52708ead3414e9d8a4f5b43c7e63e2a1759b11c (diff)
downloadelgg-7a0bf98c1e3f69313a1f79e77db24fe110958781.tar.gz
elgg-7a0bf98c1e3f69313a1f79e77db24fe110958781.tar.bz2
Fixes #1328: Removed rows and cols from the installation textareas and added CSS to format width/height at 100% to make it easier to read and select.
git-svn-id: http://code.elgg.org/elgg/trunk@3895 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/failsafe')
-rw-r--r--views/failsafe/messages/sanitisation/htaccess.php2
-rw-r--r--views/failsafe/messages/sanitisation/settings.php2
-rw-r--r--views/failsafe/pageshells/pageshell.php4
3 files changed, 5 insertions, 3 deletions
diff --git a/views/failsafe/messages/sanitisation/htaccess.php b/views/failsafe/messages/sanitisation/htaccess.php
index e0eddacef..7d065ec81 100644
--- a/views/failsafe/messages/sanitisation/htaccess.php
+++ b/views/failsafe/messages/sanitisation/htaccess.php
@@ -11,4 +11,4 @@
echo autop(elgg_echo('installation:error:htaccess'));
?>
-<textarea cols="120" rows="30"><?php echo $vars['.htaccess']; ?></textarea> \ No newline at end of file
+<textarea><?php echo $vars['.htaccess']; ?></textarea>
diff --git a/views/failsafe/messages/sanitisation/settings.php b/views/failsafe/messages/sanitisation/settings.php
index 68e5cb285..9fabe13a1 100644
--- a/views/failsafe/messages/sanitisation/settings.php
+++ b/views/failsafe/messages/sanitisation/settings.php
@@ -13,7 +13,7 @@ if ($vars['settings.php']) {
echo elgg_echo('installation:settings:dbwizard:savefail');
?>
<div>
- <textarea rows="50" cols="120"><?php echo $vars['settings.php']; ?></textarea>
+ <textarea><?php echo $vars['settings.php']; ?></textarea>
</div>
<?php
} else {
diff --git a/views/failsafe/pageshells/pageshell.php b/views/failsafe/pageshells/pageshell.php
index 7e9893e73..6cbefcdaf 100644
--- a/views/failsafe/pageshells/pageshell.php
+++ b/views/failsafe/pageshells/pageshell.php
@@ -82,6 +82,8 @@ header('Content-type: text/html; charset=utf-8');
width:220px;
}
textarea {
+ width: 100%;
+ height: 100%;
font: 120% Arial, Helvetica, sans-serif;
border: solid 1px #cccccc;
padding: 5px;
@@ -151,4 +153,4 @@ header('Content-type: text/html; charset=utf-8');
</p>
</div>
</body>
-</html> \ No newline at end of file
+</html>