diff options
Diffstat (limited to 'mod/groups/views')
6 files changed, 7 insertions, 6 deletions
diff --git a/mod/groups/views/default/forms/forums/addtopic.php b/mod/groups/views/default/forms/forums/addtopic.php index 7d61e2514..cf4921e20 100644 --- a/mod/groups/views/default/forms/forums/addtopic.php +++ b/mod/groups/views/default/forms/forums/addtopic.php @@ -97,7 +97,7 @@ <!-- 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> diff --git a/mod/groups/views/default/forms/forums/edittopic.php b/mod/groups/views/default/forms/forums/edittopic.php index 6321a9536..d05389218 100644 --- a/mod/groups/views/default/forms/forums/edittopic.php +++ b/mod/groups/views/default/forms/forums/edittopic.php @@ -90,7 +90,7 @@ <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 diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php index be0a5912c..99ff92616 100644 --- a/mod/groups/views/default/forms/groups/edit.php +++ b/mod/groups/views/default/forms/groups/edit.php @@ -139,8 +139,9 @@ if (is_array($vars['config']->group) && sizeof($vars['config']->group) > 0) <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> diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php index ffe500b2f..acd18550e 100644 --- a/mod/groups/views/default/groups/css.php +++ b/mod/groups/views/default/groups/css.php @@ -35,7 +35,7 @@ /* 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; } diff --git a/mod/groups/views/default/groups/invitationrequests.php b/mod/groups/views/default/groups/invitationrequests.php index 17922c7a9..9bb76e264 100644 --- a/mod/groups/views/default/groups/invitationrequests.php +++ b/mod/groups/views/default/groups/invitationrequests.php @@ -18,7 +18,7 @@ if (!empty($vars['invitations']) && is_array($vars['invitations'])) { $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()}", diff --git a/mod/groups/views/default/groups/membershiprequests.php b/mod/groups/views/default/groups/membershiprequests.php index 2801b2301..05f194059 100644 --- a/mod/groups/views/default/groups/membershiprequests.php +++ b/mod/groups/views/default/groups/membershiprequests.php @@ -19,7 +19,7 @@ $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, |