?>
<input type="hidden" name="context" value="<?php echo $context; ?>" />
<input type="hidden" name="owner" value="<?php echo elgg_get_page_owner_guid(); ?>" />
-<input type="submit" value="<?php echo elgg_echo('save'); ?>" class="submit-button" />
+<?php
+ echo elgg_view('input/submit', array('value' => elgg_echo('save')));
+?>
</form>
</div><!-- /customise_editpanel -->
'internalid' => 'embed_submit',
'type' => 'button',
'value' => elgg_echo('embed:embed'),
- 'class' => 'submit-button disabled',
+ 'class' => 'elgg-submit-button disabled',
'disabled' => TRUE
));
<!-- required hidden info and submit button -->
<p>
<input type="hidden" name="group_guid" value="<?php echo $group_guid; ?>" />
- <input type="submit" class="submit-button" value="<?php echo elgg_echo('post'); ?>" />
+ <?php echo elgg_view('input/submit', array('value' => elgg_echo('post'))); ?>
</p>
</form>
<input type="hidden" name="group_guid" value="<?php echo $group_guid; ?>" />
<input type="hidden" name="topic" value="<?php echo $topic_guid; ?>" />
<input type="hidden" name="message_id" value="<?php echo $message_id; ?>" />
- <input type="submit" class="submit-button" value="<?php echo elgg_echo('save'); ?>" />
+ <?php echo elgg_view('input/submit', array('value' => elgg_echo('save'))); ?>
</p>
</form>
\ No newline at end of file
<input type="hidden" name="group_guid" value="<?php echo $vars['entity']->getGUID(); ?>" />
<?php
}
+
+ echo elgg_view('input/submit', array('value' => elgg_echo('save')));
?>
- <input type="submit" class="submit-button" value="<?php echo elgg_echo("save"); ?>" />
</p>
/* group invitations */
.group_invitations a.elgg-action-button,
-.group_invitations a.submit-button {
+.group_invitations a.elgg-submit-button {
float:right;
margin:0 0 0 14px;
}
$url = elgg_add_action_tokens_to_url(elgg_get_site_url()."action/groups/join?user_guid={$user->guid}&group_guid={$group->guid}");
?>
<div class="entity-listing-info">
- <a href="<?php echo $url; ?>" class="submit-button"><?php echo elgg_echo('accept'); ?></a>
+ <a href="<?php echo $url; ?>" class="elgg-submit-button"><?php echo elgg_echo('accept'); ?></a>
<?php
echo str_replace('<a', '<a class="elgg-action-button disabled" ', elgg_view('output/confirmlink',array(
'href' => "action/groups/killinvitation?user_guid={$user->getGUID()}&group_guid={$group->getGUID()}",
$url = elgg_add_action_tokens_to_url(elgg_get_site_url()."action/groups/addtogroup?user_guid={$request->guid}&group_guid={$vars['entity']->guid}");
?>
<div class="entity-listing-info">
- <a href="<?php echo $url; ?>" class="submit-button"><?php echo elgg_echo('accept'); ?></a>
+ <a href="<?php echo $url; ?>" class="elgg-submit-button"><?php echo elgg_echo('accept'); ?></a>
<?php
echo str_replace('<a', '<a class="elgg-action-button disabled" ', elgg_view('output/confirmlink',array(
'href' => 'action/groups/killrequest?user_guid='.$request->guid.'&group_guid=' . $vars['entity']->guid,
echo "<input type='hidden' name='reply' value='" . $vars['entity']->getGUID() . "' />";
//pass along the owner of the message being replied to
echo "<input type='hidden' name='send_to' value='BAAA" . $vars['entity']->fromId . "' />";
-
+
+ echo elgg_view('input/submit', array('value' => elgg_echo("messages:fly")));
?>
- <input type="submit" class="submit-button" value="<?php echo elgg_echo("messages:fly"); ?>" />
</p>
</form>
));
?>
</p>
- <p><input type="submit" class="submit-button" value="<?php echo elgg_echo("messages:fly"); ?>" /></p>
+ <p>
+ <?php
+ echo elgg_view('input/submit', array('value' => elgg_echo("messages:fly")));
+ ?>
+ </p>
</form>
$body .= '<input type="submit" name="submit" value="'.elgg_echo('messages:markread').'" /> ';
}
-$body .= '<input class="cancel-button" type="button" onclick="javascript:$(\'input[type=checkbox]\').click();" value="'.elgg_echo('messages:toggle').'" />';
+$body .= '<input class="elgg-cancel-button" type="button" onclick="javascript:$(\'input[type=checkbox]\').click();" value="'.elgg_echo('messages:toggle').'" />';
$body .= '</div>';
echo elgg_view('input/form',array('body' => $body, 'action' => 'action/messages/delete', 'method' => 'post', 'internalid' => 'messages_list_form'));
\ No newline at end of file
echo "<input type='hidden' name='reply' value='" . $vars['entity']->getGUID() . "' />";
//pass along the owner of the message being replied to
echo "<input type='hidden' name='send_to' value='" . $vars['entity']->fromId . "' />";
+
+ echo elgg_view('input/submit', array('value' => elgg_echo("messages:fly")));
?>
- <input type="submit" class="submit-button" value="<?php echo elgg_echo("messages:fly"); ?>" />
</form>
</div>
?>
<input type="hidden" name="parent_guid" value="<?php if (!$new_page) echo $vars['entity']->parent_guid; else echo $parent_guid; ?>" />
<input type="hidden" name="owner_guid" value="<?php if (!$new_page) echo $vars['entity']->owner_guid; else echo elgg_get_page_owner_guid(); ?>" />
- <input type="submit" class="submit-button" value="<?php echo elgg_echo("save"); ?>" />
+<?php
+ echo elgg_view('input/submit', array('value' => elgg_echo('save')));
+?>
</p>
</form>
<input type="hidden" name="object_guid" value="<?php echo $object_guid; ?>" />
<?php
}
- ?>
-<input type="submit" class="submit-button" value="<?php echo elgg_echo("save"); ?>" />
+ echo elgg_view('input/submit', array('value' => elgg_echo('save')));
+?>
+
</form>
#profile-content .river-comment-form.hidden .input-text { /* when activity is displayed on profile page */
width:535px;
}
-.river-comment-form.hidden .submit-button {
+.river-comment-form.hidden .elgg-submit-button {
margin:0 0 0 10px;
float:right;
}
if ($active) {
$url = elgg_get_site_url()."action/admin/plugins/disable?plugin=$plugin&__elgg_token=$token&__elgg_ts=$ts";
- $enable_disable = '<a class="cancel-button" href="' . elgg_format_url($url) . '">' . elgg_echo('disable') . '</a>';
+ $enable_disable = '<a class="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="submit-button" href="' . elgg_format_url($url) . '">' . elgg_echo('enable') . '</a>';
+ $enable_disable = '<a class="elgg-submit-button" href="' . elgg_format_url($url) . '">' . elgg_echo('enable') . '</a>';
}
$('input.username').focus();
// add cancel button to inline register form
- $('#registration_form').find('input.submit-button').after("<input class='elgg-action-button disabled cancel_request' type='reset' value='Cancel'>");
+ $('#registration_form').find('input.elgg-submit-button').after("<input class='elgg-action-button disabled cancel_request' type='reset' value='Cancel'>");
function elgg_slide_hiddenform(activateLink, parentElement, toggleElement) {
$(activateLink).closest(parentElement).find(toggleElement).animate({"width": "563px", duration: 400});
?>
<div class="clearfix"></div>
<div class="friendspicker-savebuttons">
- <input type="submit" class="submit-button" value="<?php echo elgg_echo('save'); ?>" />
- <input type="button" class="cancel-button" value="<?php echo elgg_echo('cancel'); ?>" onclick="$('a.collectionmembers<?php echo $friendspicker; ?>').click();" />
+ <input type="submit" class="elgg-submit-button" value="<?php echo elgg_echo('save'); ?>" />
+ <input type="button" class="elgg-cancel-button" value="<?php echo elgg_echo('cancel'); ?>" onclick="$('a.collectionmembers<?php echo $friendspicker; ?>').click();" />
<br /></div>
</form>
float:right;
margin-left:14px;
}
-.admin_area .submit-button {
+.admin_area .elgg-submit-button {
font-size: 14px;
font-weight: bold;
color: white;
-webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
-moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
}
-.admin_area .submit-button:hover {
+.admin_area .elgg-submit-button:hover {
color: white;
border-color: #333333;
text-decoration:none;
background-repeat: repeat-x;
background-position: left 10px;
}
-.admin_area .cancel-button {
+.admin_area .elgg-cancel-button {
font-size: 14px;
font-weight: bold;
text-decoration:none;
margin:10px 0 10px 10px;
cursor: pointer;
}
-.admin_area .cancel-button:hover {
+.admin_area .elgg-cancel-button:hover {
background-color: #999999;
background-position: left 10px;
text-decoration:none;
float: left;
width: 150px;
}
-form.admin_plugins_simpleview .submit-button {
+form.admin_plugins_simpleview .elgg-submit-button {
margin-right:20px;
}
.plugin_info {
float:right;
margin-left:14px;
}
-.submit-button {
+.elgg-submit-button {
font-size: 14px;
font-weight: bold;
color: white;
-webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
-moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
}
-.submit-button:hover {
+.elgg-submit-button:hover {
color: white;
border-color: #0054a7;
text-decoration:none;
background-repeat: repeat-x;
background-position: left 10px;
}
-.submit-button.disabled {
+.elgg-submit-button.disabled {
background-color:#999999;
border-color:#999999;
color:#dedede;
}
-.submit-button.disabled:hover {
+.elgg-submit-button.disabled:hover {
background-color:#999999;
border-color:#999999;
color:#dedede;
background-repeat: repeat-x;
background-position: left 10px;
}
-.cancel-button {
+.elgg-cancel-button {
font-size: 14px;
font-weight: bold;
text-decoration:none;
margin:10px 0 10px 10px;
cursor: pointer;
}
-.cancel-button:hover {
+.elgg-cancel-button:hover {
background-color: #999999;
background-position: left 10px;
text-decoration:none;
font-weight:normal;
font-size:100%;
}
-.loginbox .submit-button {
+.loginbox .elgg-submit-button {
margin-right: 15px;
}
#login .persistent-login {
font-weight:normal;
font-size: 100%;
}
-#login-dropdown #signin-menu .submit-button {
+#login-dropdown #signin-menu .elgg-submit-button {
margin-right:15px;
}
.friends-picker-navigation-r:hover {
background: url("<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png") no-repeat -60px -44px;
}
-.friendspicker-savebuttons .submit-button,
-.friendspicker-savebuttons .cancel-button {
+.friendspicker-savebuttons .elgg-submit-button,
+.friendspicker-savebuttons .elgg-cancel-button {
margin:5px 20px 5px 5px;
}
#collectionMembersTable {
$defaults = array(
'type' => 'button',
- 'class' => 'submit-button',
+ 'class' => 'elgg-submit-button',
);
$vars = array_merge($defaults, $vars);
$class = $vars['class'];
if (!$class) {
- $class = "submit-button";
+ $class = "elgg-submit-button";
}
if (isset($vars['type'])) {