diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-22 22:35:45 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-22 22:35:45 +0000 |
commit | e22a24721de8750f5b61250a38be0d87f33e2c44 (patch) | |
tree | 5063de36f1350792d5bbb126e37cfb52b0135833 /mod/groups/views | |
parent | 243215ec60e151099b366251be521b12b7c1e02b (diff) | |
download | elgg-e22a24721de8750f5b61250a38be0d87f33e2c44.tar.gz elgg-e22a24721de8750f5b61250a38be0d87f33e2c44.tar.bz2 |
adding elgg namespace to button css classes
git-svn-id: http://code.elgg.org/elgg/trunk@7704 36083f99-b078-4883-b0ff-0f9b5a30f544
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, |