aboutsummaryrefslogtreecommitdiff
path: root/views/default/core
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-23 16:19:50 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-23 16:19:50 +0000
commit6ed2d4f162a2e71c0977ca6b08fb591d2d71a86d (patch)
tree7155e90b1d586d251a4ca640b51700155c22e0d5 /views/default/core
parent02a1bdd5ee3fe1ea4eb93fc8c6b9f3a4478e3215 (diff)
downloadelgg-6ed2d4f162a2e71c0977ca6b08fb591d2d71a86d.tar.gz
elgg-6ed2d4f162a2e71c0977ca6b08fb591d2d71a86d.tar.bz2
Every occurrence of elgg-button-$type needs an elgg-button base class declaration -- or should we remove that requirement?
git-svn-id: http://code.elgg.org/elgg/trunk@8444 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/core')
-rw-r--r--views/default/core/account/login_dropdown.php12
-rw-r--r--views/default/core/friends/picker.php4
2 files changed, 10 insertions, 6 deletions
diff --git a/views/default/core/account/login_dropdown.php b/views/default/core/account/login_dropdown.php
index d188364c0..06a9a15fb 100644
--- a/views/default/core/account/login_dropdown.php
+++ b/views/default/core/account/login_dropdown.php
@@ -17,8 +17,12 @@ if (elgg_get_config('https_login')) {
$body = elgg_view_form('login', array('action' => "{$login_url}action/login"), array('returntoreferer' => TRUE));
?>
<div id="login-dropdown">
- <a href="<?php echo $vars['url']; ?>pg/login" class="elgg-toggler elgg-toggles-login-dropdown-box elgg-button-dropdown">
- <?php echo elgg_echo('login') ?>
- </a>
- <?php echo elgg_view_module('dropdown', '', $body, array('id' => 'login-dropdown-box')); ?>
+ <?php
+ echo elgg_view('output/url', array(
+ 'href' => 'pg/login',
+ 'text' => elgg_echo('login'),
+ 'class' => "elgg-button elgg-button-dropdown elgg-toggler elgg-toggles-login-dropdown-box",
+ ));
+ echo elgg_view_module('dropdown', '', $body, array('id' => 'login-dropdown-box'));
+ ?>
</div> \ No newline at end of file
diff --git a/views/default/core/friends/picker.php b/views/default/core/friends/picker.php
index c17a484f3..2df452958 100644
--- a/views/default/core/friends/picker.php
+++ b/views/default/core/friends/picker.php
@@ -270,8 +270,8 @@ if ($formtarget) {
?>
<div class="clearfix"></div>
<div class="friendspicker-savebuttons">
- <input type="submit" class="elgg-button-submit" value="<?php echo elgg_echo('save'); ?>" />
- <input type="button" class="elgg-button-cancel" value="<?php echo elgg_echo('cancel'); ?>" onclick="$('a.collectionmembers<?php echo $friendspicker; ?>').click();" />
+ <input type="submit" class="elgg-button elgg-button-submit" value="<?php echo elgg_echo('save'); ?>" />
+ <input type="button" class="elgg-button elgg-button-cancel" value="<?php echo elgg_echo('cancel'); ?>" onclick="$('a.collectionmembers<?php echo $friendspicker; ?>').click();" />
<br /></div>
</form>