diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-23 16:19:50 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-23 16:19:50 +0000 |
commit | 6ed2d4f162a2e71c0977ca6b08fb591d2d71a86d (patch) | |
tree | 7155e90b1d586d251a4ca640b51700155c22e0d5 /views/default/core/account | |
parent | 02a1bdd5ee3fe1ea4eb93fc8c6b9f3a4478e3215 (diff) | |
download | elgg-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/account')
-rw-r--r-- | views/default/core/account/login_dropdown.php | 12 |
1 files changed, 8 insertions, 4 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 |