Changeset 322

Show
Ignore:
Timestamp:
05/08/06 20:06:36 (3 years ago)
Author:
ben
Message:

Corrected tab links to (1) point to the correct place, (2) be within list styles

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/blog/lib.php

    r277 r322  
    1515             
    1616            $PAGE->menu[] = array( 'name' => 'blog', 
    17                                    'html' => "<a href=\"{$CFG->wwwroot}{$_SESSION['username']}/weblog\" class=\"selected\" >" .gettext("Your Blog").'</a>'); 
     17                                   'html' => "<li><a href=\"{$CFG->wwwroot}{$_SESSION['username']}/weblog\" class=\"selected\" >" .gettext("Your Blog").'</a></li>'); 
    1818             
    1919        } else { 
    2020            $PAGE->menu[] = array( 'name' => 'blog', 
    21                                    'html' => "<a href=\"{$CFG->wwwroot}{$_SESSION['username']}/weblog\" >" .gettext("Your Blog").'</a>'); 
     21                                   'html' => "<li><a href=\"{$CFG->wwwroot}{$_SESSION['username']}/weblog\" >" .gettext("Your Blog").'</a></li>'); 
    2222        }; 
    2323    } 
  • devel/mod/file/lib.php

    r269 r322  
    1212        if (context == "files" && $page_owner == $_SESSION['userid']) { 
    1313            $PAGE->menu[] = array( 'name' => 'file', 
    14                                    'html' => a_hrefg( $CFG->wwwroot.$_SESSION['username']."/files/",  
    15                                                       "Your Files", 'class="selected"')); 
     14                                   'html' => "<li><a href=\"{$CFG->wwwroot}{$_SESSION['username']}/files/\" class=\"selected\" >" .gettext("Your Files").'</a></li>'); 
    1615        } else { 
    1716            $PAGE->menu[] = array( 'name' => 'files', 
    18                                    'html' => a_hrefg(  $CFG->wwwroot.$_SESSION['username']."/files/",  
    19                                                       "Your Files")); 
     17                                   'html' => "<li><a href=\"{$CFG->wwwroot}{$_SESSION['username']}/files/\" >" .gettext("Your Files").'</a></li>'); 
    2018        } 
    2119    } 
  • devel/mod/friend/lib.php

    r269 r322  
    1313             
    1414            $PAGE->menu[] = array( 'name' => 'network', 
    15                                    'html' => a_hrefg($CFG->wwwroot.$_SESSION['username']."/friends/" , 
    16                                                      "Your Network", 'class="selected"')); 
     15                                   'html' => "<li><a href=\"{$CFG->wwwroot}{$_SESSION['username']}/friends/\" class=\"selected\" >" .gettext("Your Network").'</a></li>'); 
    1716            } else { 
    1817                $PAGE->menu[] = array( 'name' => 'network', 
    19                                        'html' => a_hrefg($CFG->wwwroot.$_SESSION['username']."/friends/" , 
    20                                                          "Your Network")); 
     18                                       'html' => "<li><a href=\"{$CFG->wwwroot}{$_SESSION['username']}/friends/\" >" .gettext("Your Network").'</a></li>'); 
    2119            } 
    2220    }         
  • devel/mod/newsclient/lib.php

    r276 r322  
    1111    if (isloggedin()) { 
    1212        if (context == "resources" && $page_owner == $_SESSION['userid']) { 
    13             $PAGE->menu[] = array( 'name' => 'newsclient', 
    14                                    'html' => a_hrefg( $CFG->wwwroot.$_SESSION['username']."/newsclient/",  
    15                                                       "Your Resources", 'class="selected"')); 
     13            $PAGE->menu[] = array( 'name' => 'resources', 
     14                                   'html' => "<li><a href=\"{$CFG->wwwroot}{$_SESSION['username']}/feeds/\" class=\"selected\" >" .gettext("Your Resources").'</a></li>'); 
    1615        } else { 
    17             $PAGE->menu[] = array( 'name' => 'newsclient', 
    18                                    'html' => a_hrefg( $CFG->wwwroot.$_SESSION['username']."/newsclient/",  
    19                                                       "Your Resources")); 
     16            $PAGE->menu[] = array( 'name' => 'resources', 
     17                                   'html' => "<li><a href=\"{$CFG->wwwroot}{$_SESSION['username']}/feeds/\" >" .gettext("Your Resources").'</a></li>'); 
    2018        } 
    2119 
  • devel/mod/profile/lib.php

    r304 r322  
    1111    if (isloggedin()) { 
    1212        if (context === "profile" && $page_owner == $_SESSION['userid']) {                 
    13             $PAGE->menu[] = array( 'name' => 'profile:me',                                
    14                                    'html' => '<a href="'.$CFG->wwwroot.$_SESSION['username'].'" class="selected">'.gettext("Your Profile").'</a>'); 
     13            $PAGE->menu[] = array( 'name' => 'profile:me',  
     14                                   'html' => '<li><a href="'.$CFG->wwwroot.$_SESSION['username'].'" class="selected">'.gettext("Your Profile").'</a></li>'); 
    1515        } else { 
    1616            $PAGE->menu[] = array( 'name' => 'profile:me', 
    17                                    'html' => '<a href="'.$CFG->wwwroot.$_SESSION['username'].'">'.gettext("Your Profile").'</a>'); 
     17                                   'html' => '<li><a href="'.$CFG->wwwroot.$_SESSION['username'].'">'.gettext("Your Profile").'</a></li>'); 
    1818        } 
    1919    }