aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 23:54:04 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 23:54:04 +0000
commit947eda7867df1f4846f18fc0326ff0ed20626c34 (patch)
tree75aecbac51ef5aa67fc2e747fffb3d80ad4ab502 /mod
parentdcba493d8defdeb9ab6f41bf07826474bc41e9a6 (diff)
downloadelgg-947eda7867df1f4846f18fc0326ff0ed20626c34.tar.gz
elgg-947eda7867df1f4846f18fc0326ff0ed20626c34.tar.bz2
stage 1 in moving the forms markup to elgg- namespaced css - buttons still need work
git-svn-id: http://code.elgg.org/elgg/trunk@7763 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/categories/views/default/categories/css.php2
-rw-r--r--mod/embed/views/default/embed/css.php10
-rw-r--r--mod/invitefriends/views/default/invitefriends/formitems.php4
-rw-r--r--mod/messageboard/views/default/messageboard/forms/add.php2
-rw-r--r--mod/messageboard/views/default/widgets/messageboard/content.php2
-rw-r--r--mod/messages/views/default/messages/forms/reply.php4
-rw-r--r--mod/messages/views/default/messages/forms/send.php2
-rw-r--r--mod/messages/views/default/messages/messages.php2
-rw-r--r--mod/sitepages/views/default/sitepages/forms/editfrontsimple.php4
-rw-r--r--mod/tinymce/views/default/input/longtext.php2
-rw-r--r--mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php2
11 files changed, 18 insertions, 18 deletions
diff --git a/mod/categories/views/default/categories/css.php b/mod/categories/views/default/categories/css.php
index 87916c412..7944f9dfe 100644
--- a/mod/categories/views/default/categories/css.php
+++ b/mod/categories/views/default/categories/css.php
@@ -6,7 +6,7 @@
*/
?>
-.categories .input-checkboxes {
+.categories .elgg-input-checkboxes {
padding:0;
margin:2px 5px 0 0;
}
diff --git a/mod/embed/views/default/embed/css.php b/mod/embed/views/default/embed/css.php
index e87584205..fe8cef972 100644
--- a/mod/embed/views/default/embed/css.php
+++ b/mod/embed/views/default/embed/css.php
@@ -114,8 +114,8 @@
}
/* input field classes */
-#facebox .content .input-text,
-#facebox .content .input-tags {
+#facebox .content .elgg-input-text,
+#facebox .content .elgg-input-tags {
font: 120% Arial, Helvetica, sans-serif;
padding: 5px;
border: 1px solid #cccccc;
@@ -127,13 +127,13 @@
-moz-box-shadow: none;
box-shadow: none;
}
-#facebox .content .input-text:focus,
-#facebox .content .input-tags:focus {
+#facebox .content .elgg-input-text:focus,
+#facebox .content .elgg-input-tags:focus {
border: solid 1px #4690d6;
background: #e4ecf5;
color:#333333;
}
-#facebox .content .input-file {
+#facebox .content .elgg-input-file {
background-color: white;
}
#facebox .content p {
diff --git a/mod/invitefriends/views/default/invitefriends/formitems.php b/mod/invitefriends/views/default/invitefriends/formitems.php
index 6d381a8ed..c7af78981 100644
--- a/mod/invitefriends/views/default/invitefriends/formitems.php
+++ b/mod/invitefriends/views/default/invitefriends/formitems.php
@@ -15,13 +15,13 @@ if ($CONFIG->allow_registration) {
<p class="margin-top">
<label>
$introduction
- <textarea class="input-textarea" name="emails" ></textarea>
+ <textarea class="elgg-input-textarea" name="emails" ></textarea>
</label>
</p>
<p>
<label>
$message
- <textarea class="input-textarea" name="emailmessage" >$default</textarea>
+ <textarea class="elgg-input-textarea" name="emailmessage" >$default</textarea>
</label>
</p>
HTML;
diff --git a/mod/messageboard/views/default/messageboard/forms/add.php b/mod/messageboard/views/default/messageboard/forms/add.php
index 6003bade7..cacb5712f 100644
--- a/mod/messageboard/views/default/messageboard/forms/add.php
+++ b/mod/messageboard/views/default/messageboard/forms/add.php
@@ -11,7 +11,7 @@
<form action="<?php echo elgg_get_site_url(); ?>action/messageboard/add" method="post" name="messageboardForm">
<!-- textarea for the contents -->
- <textarea name="message_content" value="" class="input-textarea"></textarea><br />
+ <textarea name="message_content" value="" class="elgg-input-textarea"></textarea><br />
<!-- the page owner, this will be the profile owner -->
<input type="hidden" name="pageOwner" value="<?php echo elgg_get_page_owner_guid(); ?>" />
diff --git a/mod/messageboard/views/default/widgets/messageboard/content.php b/mod/messageboard/views/default/widgets/messageboard/content.php
index fbf6cb776..f4c822b3f 100644
--- a/mod/messageboard/views/default/widgets/messageboard/content.php
+++ b/mod/messageboard/views/default/widgets/messageboard/content.php
@@ -43,7 +43,7 @@ if (isloggedin()) {
<div id="mb_input_wrapper"><!-- start of mb_input_wrapper div -->
<!-- message textarea -->
- <textarea name="message_content" class="input-textarea"></textarea>
+ <textarea name="message_content" class="elgg-input-textarea"></textarea>
<!-- the page owner, this will be the profile owner -->
<input type="hidden" name="pageOwner" value="<?php echo elgg_get_page_owner_guid(); ?>" class="pageOwner" />
diff --git a/mod/messages/views/default/messages/forms/reply.php b/mod/messages/views/default/messages/forms/reply.php
index bdf3d1283..107b86166 100644
--- a/mod/messages/views/default/messages/forms/reply.php
+++ b/mod/messages/views/default/messages/forms/reply.php
@@ -16,8 +16,8 @@
<?php echo elgg_view('action/securitytoken'); ?>
<!-- populate the title space with the orginal message title, inserting re: before it -->
- <p><label><?php echo elgg_echo("messages:title"); ?>: <br /><input type='text' name='title' class="input-text" value='<?php echo $reply_title; ?>' /></label></p>
- <p><label><?php echo elgg_echo("messages:message"); ?>: <br /><textarea name='message' value='' class="input-textarea" /></textarea></label></p>
+ <p><label><?php echo elgg_echo("messages:title"); ?>: <br /><input type='text' name='title' class="elgg-input-text" value='<?php echo $reply_title; ?>' /></label></p>
+ <p><label><?php echo elgg_echo("messages:message"); ?>: <br /><textarea name='message' value='' class="elgg-input-textarea" /></textarea></label></p>
<p>
<?php
diff --git a/mod/messages/views/default/messages/forms/send.php b/mod/messages/views/default/messages/forms/send.php
index 71705bf18..6ddf7e543 100644
--- a/mod/messages/views/default/messages/forms/send.php
+++ b/mod/messages/views/default/messages/forms/send.php
@@ -57,7 +57,7 @@ unset($_SESSION['msg_contents']);
}
?>
- <p class="margin-top"><label><?php echo elgg_echo("messages:title"); ?>: <br /><input type='text' name='title' value='<?php echo $msg_title; ?>' class="input-text" /></label></p>
+ <p class="margin-top"><label><?php echo elgg_echo("messages:title"); ?>: <br /><input type='text' name='title' value='<?php echo $msg_title; ?>' class="elgg-input-text" /></label></p>
<p class="longtext_inputarea"><label><?php echo elgg_echo("messages:message"); ?>:</label>
<?php
echo elgg_view("input/longtext", array(
diff --git a/mod/messages/views/default/messages/messages.php b/mod/messages/views/default/messages/messages.php
index 97036f9b0..a1a7fd9ca 100644
--- a/mod/messages/views/default/messages/messages.php
+++ b/mod/messages/views/default/messages/messages.php
@@ -94,7 +94,7 @@ if (isloggedin())
<h2><?php echo elgg_echo('messages:answer'); ?></h2>
<form action="<?php echo elgg_get_site_url(); ?>action/messages/send" method="post" name="messageForm" class="margin-top" id="messages_send_form">
<?php echo elgg_view('input/securitytoken'); ?>
- <p><label><?php echo elgg_echo("messages:title"); ?>: <br /><input type='text' name='title' class="input-text" value='<?php echo $reply_title; ?>' /></label></p>
+ <p><label><?php echo elgg_echo("messages:title"); ?>: <br /><input type='text' name='title' class="elgg-input-text" value='<?php echo $reply_title; ?>' /></label></p>
<p class="longtext_inputarea"><label><?php echo elgg_echo("messages:message"); ?>:</label>
<?php echo elgg_view("input/longtext", array(
"internalname" => "message",
diff --git a/mod/sitepages/views/default/sitepages/forms/editfrontsimple.php b/mod/sitepages/views/default/sitepages/forms/editfrontsimple.php
index c426e9ad9..e750ee69f 100644
--- a/mod/sitepages/views/default/sitepages/forms/editfrontsimple.php
+++ b/mod/sitepages/views/default/sitepages/forms/editfrontsimple.php
@@ -26,7 +26,7 @@ $welcometitle_form = elgg_view('input/text', array(
$welcomemessage_form = elgg_view('input/longtext', array(
'internalname' => 'welcomemessage',
'value' => $welcomemessage,
- 'class' => 'input-textarea monospace'
+ 'class' => 'elgg-input-textarea monospace'
));
$sidebartitle_form = elgg_view('input/text', array(
'internalname' => 'sidebartitle',
@@ -35,7 +35,7 @@ $sidebartitle_form = elgg_view('input/text', array(
$sidebarmessage_form = elgg_view('input/longtext', array(
'internalname' => 'sidebarmessage',
'value' => $sidebarmessage,
- 'class' => 'input-textarea monospace'
+ 'class' => 'elgg-input-textarea monospace'
));;
$page_type = elgg_view('input/hidden', array(
diff --git a/mod/tinymce/views/default/input/longtext.php b/mod/tinymce/views/default/input/longtext.php
index 995cd8fd1..daa34b2e8 100644
--- a/mod/tinymce/views/default/input/longtext.php
+++ b/mod/tinymce/views/default/input/longtext.php
@@ -86,7 +86,7 @@ function toggleEditor(id) {
<a class="longtext-control toggle_editor small link" href="javascript:toggleEditor('<?php echo $vars['internalname']; ?>');"><?php echo elgg_echo('tinymce:remove'); ?></a>
<!-- show the textarea -->
-<textarea class="input-textarea mceEditor" name="<?php echo $vars['internalname']; ?>" <?php echo $vars['js']; ?>><?php echo htmlentities($vars['value'], null, 'UTF-8'); ?></textarea>
+<textarea class="elgg-input-textarea mceEditor" name="<?php echo $vars['internalname']; ?>" <?php echo $vars['js']; ?>><?php echo htmlentities($vars['value'], null, 'UTF-8'); ?></textarea>
<script type="text/javascript">
$(document).ready(function() {
diff --git a/mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php b/mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php
index 1c1567aec..bc2f7f5d2 100644
--- a/mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php
+++ b/mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php
@@ -13,7 +13,7 @@ $user = elgg_get_array_value('theuser', $vars);
// 'internalname' => 'user_guids',
// 'options' => array("$user->username - \"$user->name\" &lt;$user->email&gt;" => $user->guid)
//));
-$checkbox = "<label><input type=\"checkbox\" value=\"$user->guid\" class=\"input-checkboxes\" name=\"user_guids[]\">"
+$checkbox = "<label><input type=\"checkbox\" value=\"$user->guid\" class=\"elgg-input-checkboxes\" name=\"user_guids[]\">"
. "$user->username - \"$user->name\" &lt;$user->email&gt;</label>";
$created = elgg_echo('uservalidationbyemail:admin:user_created', array(elgg_view_friendly_time($user->time_created)));