*/
?>
-.categories .input-checkboxes {
+.categories .elgg-input-checkboxes {
padding:0;
margin:2px 5px 0 0;
}
}
/* 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;
-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 {
<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;
<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(); ?>" />
<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" />
<?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
}
?>
- <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(
<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",
$welcomemessage_form = elgg_view('input/longtext', array(\r
'internalname' => 'welcomemessage',\r
'value' => $welcomemessage,\r
- 'class' => 'input-textarea monospace'\r
+ 'class' => 'elgg-input-textarea monospace'\r
));\r
$sidebartitle_form = elgg_view('input/text', array(\r
'internalname' => 'sidebartitle',\r
$sidebarmessage_form = elgg_view('input/longtext', array(\r
'internalname' => 'sidebarmessage',\r
'value' => $sidebarmessage,\r
- 'class' => 'input-textarea monospace'\r
+ 'class' => 'elgg-input-textarea monospace'\r
));;\r
\r
$page_type = elgg_view('input/hidden', array(\r
<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() {
// 'internalname' => 'user_guids',
// 'options' => array("$user->username - \"$user->name\" <$user->email>" => $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\" <$user->email></label>";
$created = elgg_echo('uservalidationbyemail:admin:user_created', array(elgg_view_friendly_time($user->time_created)));
if ($active) {
$url = elgg_get_site_url()."action/admin/plugins/disable?plugin=$plugin&__elgg_token=$token&__elgg_ts=$ts";
- $enable_disable = '<a class="elgg-cancel-button" href="' . elgg_format_url($url) . '">' . elgg_echo('disable') . '</a>';
+ $enable_disable = '<a class="elgg-button elgg-cancel-button" href="' . elgg_format_url($url) . '">' . elgg_echo('disable') . '</a>';
} else {
$url = elgg_get_site_url()."action/admin/plugins/enable?plugin=$plugin&__elgg_token=$token&__elgg_ts=$ts";
- $enable_disable = '<a class="elgg-submit-button" href="' . elgg_format_url($url) . '">' . elgg_echo('enable') . '</a>';
+ $enable_disable = '<a class="elgg-button elgg-submit-button" href="' . elgg_format_url($url) . '">' . elgg_echo('enable') . '</a>';
}
font-size:100%;
font-weight:normal;
}
-.elgg-admin .input-textarea {
+.elgg-admin .elgg-input-textarea {
width:98%;
}
.elgg-admin form#plugin_settings {
Form Elements
*************************************** */
/* default elgg core input field classes */
-.input-text,
-.input-tags,
-.input-url,
-.input-textarea {
- width:98%;
-}
-.input-access {
- margin:5px 0 0 0;
-}
-.input-password {
- width:200px;
-}
-.input-textarea {
- height: 200px;
- width:718px;
-}
-input[type="checkbox"],
-input.input-radio {
- margin:0 3px 0 0;
- padding:0;
- border:none;
-}
label {
font-weight: bold;
- color:#333333;
+ color: #333333;
font-size: 110%;
}
input {
font: 120% Arial, Helvetica, sans-serif;
padding: 5px;
border: 1px solid #cccccc;
- color:#666666;
+ color: #666666;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
}
+input[type="text"], textarea {
+ width: 96%;
+}
+input[type="password"] {
+ width: 200px;
+}
+input[type="text"]:focus, input[type="password"]:focus {
+ border: solid 1px #4690d6;
+ background: #e4ecf5;
+ color:#333333;
+}
textarea {
font: 120% Arial, Helvetica, sans-serif;
border: solid 1px #cccccc;
color:#666666;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
+ height: 200px;
+ width: 96%;
}
-textarea:focus,
-input[type="text"]:focus {
- border: solid 1px #4690d6;
- background: #e4ecf5;
- color:#333333;
-}
-.input-textarea.monospace {
- font-family:Monaco,"Courier New",Courier,monospace;
- font-size:13px;
+textarea.monospace {
+ font-family: Monaco,"Courier New",Courier,monospace;
+ font-size: 13px;
}
a.longtext-control {
float:right;
margin-left:14px;
}
-.elgg-submit-button {
+.elgg-input-access {
+ margin:5px 0 0 0;
+}
+input[type="checkbox"],
+input[type="radio"] {
+ margin:0 3px 0 0;
+ padding:0;
+ border:none;
+}
+
+input[type="submit"],
+input[type="button"],
+.elgg-button {
font-size: 14px;
font-weight: bold;
- color: white;
- text-shadow:1px 1px 0px black;
- text-decoration:none;
- border: 1px solid #4690d6;
- background-color:#4690d6;
- background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
- background-repeat: repeat-x;
- background-position: left 10px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
width: auto;
padding: 2px 4px;
- margin:0 10px 10px 0;
+ margin: 10px 0 10px 0;
cursor: pointer;
+ outline: none;
-webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
-moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
}
-.elgg-submit-button:hover {
+input[type="submit"],
+.elgg-submit-button {
color: white;
+ text-shadow: 1px 1px 0px black;
+ text-decoration: none;
+ border: 1px solid #4690d6;
+ background-color: #4690d6;
+ background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
+ background-repeat: repeat-x;
+ background-position: left 10px;
+}
+input[type="submit"]:hover,
+.elgg-submit-button:hover {
border-color: #0054a7;
- text-decoration:none;
- background-color:#0054a7;
- background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
+ text-decoration: none;
+ color: white;
+ background-color: #0054a7;
+ background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
+ background-repeat: repeat-x;
+ background-position: left 10px;
+}
+.elgg-cancel-button {
+ color: #333333;
+ background-color: #dddddd;
+ background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
+ background-repeat: repeat-x;
+ background-position: left 10px;
+ border: 1px solid #999999;
+}
+.elgg-cancel-button:hover {
+ color: white;
+ background-color: #999999;
+ background-position: left 10px;
+ text-decoration: none;
+}
+.elgg-action-button {
+ background-color:#cccccc;
+ background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif);
background-repeat: repeat-x;
- background-position: left 10px;
+ background-position: 0 0;
+ border:1px solid #999999;
+ color: #333333;
+ padding: 2px 15px 2px 15px;
+ text-align: center;
+ font-weight: bold;
+ text-decoration: none;
+ text-shadow: 0 1px 0 white;
+ cursor: pointer;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ -webkit-box-shadow: none;
+ -moz-box-shadow: none;
+}
+.elgg-action-button:hover,
+.elgg-action-button:focus {
+ background-position: 0 -15px;
+ background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif);
+ background-repeat: repeat-x;
+ color: #111111;
+ text-decoration: none;
+ background-color: #cccccc;
+ border: 1px solid #999999;
}
+/*
.elgg-submit-button.disabled {
background-color:#999999;
border-color:#999999;
border-color:#999999;
color:#dedede;
}
-input[type="password"]:focus {
- border: solid 1px #4690d6;
- background-color: #e4ecf5;
- color:#333333;
-}
-input[type="submit"] {
- font-size: 14px;
- font-weight: bold;
- color: white;
- text-shadow:1px 1px 0px black;
- text-decoration:none;
- border: 1px solid #4690d6;
- background-color:#4690d6;
- background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
- background-repeat: repeat-x;
- background-position: left 10px;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- width: auto;
- padding: 2px 4px;
- margin:10px 0 10px 0;
- cursor: pointer;
- -moz-outline-style: none;
- outline: none;
- -webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
- -moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
-}
-input[type="submit"]:hover {
- border-color: #0054a7;
- text-decoration:none;
- background-color:#0054a7;
- background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
- background-repeat: repeat-x;
- background-position: left 10px;
-}
-.elgg-cancel-button {
- font-size: 14px;
- font-weight: bold;
- text-decoration:none;
- color: #333333;
- background-color:#dddddd;
- background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
- background-repeat: repeat-x;
- background-position: left 10px;
- border: 1px solid #999999;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- width: auto;
- padding: 2px 4px;
- margin:10px 0 10px 10px;
- cursor: pointer;
-}
-.elgg-cancel-button:hover {
- background-color: #999999;
- background-position: left 10px;
- text-decoration:none;
- color:white;
-}
+
.elgg-action-button {
margin-left: 10px;
}
color:white;
text-shadow:0 -1px 0 black;
}
+
+*/
+
/* small round delete button */
.delete-button {
width:14px;
.elgg-river-content .elgg-user-icon {
float: left;
}
-.elgg-river-layout .input-pulldown {
+.elgg-river-layout .elgg-input-dropdown {
float: right;
margin: 10px 0;
}
*
*/
-$class = "input-access";
+$class = "elgg-input-access";
if (isset($vars['class'])) {
$class = $vars['class'];
}
*/
$defaults = array(
- 'class' => 'input-checkbox',
+ 'class' => 'elgg-input-checkbox',
);
$vars = array_merge($defaults, $vars);
$vars['value'] = elgg_get_sticky_value($vars['internalname']);
}
-$class = (isset($vars['class'])) ? $vars['class'] : 'input-checkboxes';
+$class = (isset($vars['class'])) ? $vars['class'] : 'elgg-input-checkboxes';
$value = (isset($vars['value'])) ? $vars['value'] : NULL;
$value_array = (is_array($value)) ? array_map('strtolower', $value) : array(strtolower($value));
$internalname = (isset($vars['internalname'])) ? $vars['internalname'] : '';
*/
$defaults = array(
- 'class' => 'input-text', //@todo input-email?
+ 'class' => 'elgg-input-email',
'disabled' => FALSE,
);
echo elgg_echo('fileexists') . "<br />";
}
-$class = "input-file";
+$class = "elgg-input-file";
if (isset($vars['class'])) {
$class = $vars['class'];
}
* @uses $vars['disabled'] Is the input field disabled?
*/
-$class = "input-textarea";
+$class = "elgg-input-textarea";
if (isset($vars['class'])) {
$class = $vars['class'];
}
$class = $vars['class'];
if (!$class) {
- $class = "input-password";
+ $class = "elgg-input-password";
}
?>
$class = $vars['class'];
if (!$class) {
- $class = "input-textarea";
+ $class = "elgg-input-textarea";
}
if (!isset($vars['value']) || $vars['value'] === FALSE) {
$class = $vars['class'];
if (!$class) {
- $class = "input-pulldown";
+ $class = "elgg-input-dropdown";
}
if (!isset($vars['value'])) {
$class = $vars['class'];
if (!$class) {
- $class = "input-radio";
+ $class = "elgg-input-radio";
}
if (!isset($vars['value']) || $vars['value'] === FALSE) {
*/
$defaults = array(
- 'class' => 'input-tags',
+ 'class' => 'elgg-input-tags',
'disabled' => FALSE,
);
*/
$defaults = array(
- 'class' => 'input-text',
+ 'class' => 'elgg-input-text',
'disabled' => FALSE,
);
*/
$defaults = array(
- 'class' => 'input-url',
+ 'class' => 'elgg-input-url',
);
$vars = array_merge($defaults, $vars);
-moz-box-shadow: none;
box-shadow: none;
}
-.walledgardenlogin .input-password {
+.walledgardenlogin .elgg-input-password {
width:200px;
}
-.walledgardenlogin input.input-password:focus {
+.walledgardenlogin input.elgg-input-password:focus {
border: solid 1px #4690d6;
background-color: #e4ecf5;
color:#333333;
$class = $vars['class'];
}
if (!$class) {
- $class = "input-access";
+ $class = "elgg-input-access";
}
if ((!isset($vars['options'])) || (!is_array($vars['options']))) {
$class = $vars['class'];
if (!$class) {
- $class = "input-checkboxes";
+ $class = "elgg-input-checkboxes";
}
foreach($vars['options'] as $label => $option) {
$class = $vars['class'];
if (!$class) {
- $class = "input-textarea";
+ $class = "elgg-input-textarea";
}
?>
$class = $vars['class'];
if (!$class) {
- $class = "input-pulldown";
+ $class = "elgg-input-dropdown";
}
?>
<select name="<?php echo $vars['internalname']; ?>" <?php echo $vars['js']; ?> <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> class="<?php echo $class; ?>">