]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
@id for site_nav_global_primary items in order to target for styling
authorsarven <csarven@plantard.controlezvous.ca>
Sun, 18 Jan 2009 22:08:51 +0000 (22:08 +0000)
committersarven <csarven@plantard.controlezvous.ca>
Sun, 18 Jan 2009 22:08:51 +0000 (22:08 +0000)
actions/register.php
lib/action.php
theme/identica/css/display.css

index f0d47f19b256a38185c56c26a701f0c1ff0a7e3c..08243c1e29383a61029f8daa50bcf7771e73d0be 100644 (file)
@@ -399,6 +399,7 @@ class RegisterAction extends Action
         $this->elementEnd('li');
         $attrs = array('type' => 'checkbox',
                        'id' => 'license',
+                       'class' => 'checkbox',
                        'name' => 'license',
                        'value' => 'true');
         if ($this->boolean('license')) {
index 320814a8a0e664dbcc78a52258c1ce72a970de3d..3d61afde28898dbf3b41420af8bef8d641f1b099 100644 (file)
@@ -242,25 +242,29 @@ class Action extends HTMLOutputter // lawsuit
         $this->elementStart('ul', array('class' => 'nav'));
         if ($user) {
             $this->menuItem(common_local_url('all', array('nickname' => $user->nickname)),
-                            _('Home'));
+                            _('Home'), _('Personal timeline'), false, 'nav_home');
         }
-        $this->menuItem(common_local_url('peoplesearch'), _('Search'));
+        $this->menuItem(common_local_url('peoplesearch'),
+                        _('Search'), _('Search the site for people and text'), false, 'nav_search');
         if ($user) {
             $this->menuItem(common_local_url('profilesettings'),
-                            _('Account'));
+                            _('Account'), _('Account settings'), false, 'nav_account');
             $this->menuItem(common_local_url('imsettings'),
-                            _('Connect'));
+                            _('Connect'), _('Connect settings'), false, 'nav_connect');
             $this->menuItem(common_local_url('logout'),
-                            _('Logout'));
+                            _('Logout'), _('Logout from the site'), false, 'nav_logout');
         } else {
-            $this->menuItem(common_local_url('login'), _('Login'));
+            $this->menuItem(common_local_url('login'),
+                            _('Login'), _('Login to the site'), false, 'nav_login');
             if (!common_config('site', 'closed')) {
-                $this->menuItem(common_local_url('register'), _('Register'));
+                $this->menuItem(common_local_url('register'),
+                                _('Register'), _('Create an account'), false, 'nav_register');
             }
-            $this->menuItem(common_local_url('openidlogin'), _('OpenID'));
+            $this->menuItem(common_local_url('openidlogin'),
+                            _('OpenID'), _('Login with OpenID'), false, 'nav_openid');
         }
         $this->menuItem(common_local_url('doc', array('title' => 'help')),
-                        _('Help'));
+                        _('Help'), _('Help me!'), false, 'nav_help');
         $this->elementEnd('ul');
         $this->elementEnd('dd');
         $this->elementEnd('dl');
index 0235c2d7d83c816ab4a0b660c827bfb0a18001f1..a5b177004a4f25cc40a3d7d8684c2f1c366e0485 100644 (file)
@@ -57,6 +57,21 @@ background-color:transparent;
 }
 
 
+#site_nav_global_primary a {
+}
+
+#nav_register a {
+background-color:#A9BF4F;
+color:#fff;
+text-decoration:none;
+font-weight:bold;
+padding:2px 4px;
+
+}
+#nav_login a {
+}
+
+
 #site_nav_local_views a {
 border-color:#fff;
 background-color:rgba(255, 255, 255, 0.2);
@@ -71,6 +86,7 @@ background-color:rgba(255, 255, 255, 0.7);
 background-color:#fff;
 }
 
+
 #page_notice .error {
 background-color:#F7E8E8;
 }
@@ -78,9 +94,6 @@ background-color:#F7E8E8;
 background-color:#EFF3DC;
 }
 
-
-
-
 #export_data li a {
 background-repeat:no-repeat;
 background-position:0 45%;