Advertisement:
NameCheap

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004489SMF 2.0Templatepublic2010-10-02 05:412010-10-12 09:00
ReporterAkyhne 
PrioritylowSeveritytrivialReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0004489: Profile -> Tracking is missing icon
DescriptionWhen going to all profile pages, the cat_bar has the profile_sm.gif as icon, except the Profile -> Tracking section.
TagsNo tags attached.
Attached Filespng file icon Tracking.png [^] (8,992 bytes) 2010-10-02 05:41

- Relationships

-  Notes
(0013107)
Antechinus (SMF Friend)
2010-10-02 16:35

Ok cool. Will check it out.
(0013136)
Antechinus (SMF Friend)
2010-10-07 06:39
edited on: 2010-10-07 06:59

Hmm. Not sure this is worth messing with. The relevant header content is generated here in Sources/Profile-View.php.

    // Create the tabs for the template.
    $context[$context['profile_menu_name']]['tab_data'] = array(
        'title' => $txt['tracking'],
        'description' => $txt['tracking_description'],
        'tabs' => array(
            'activity' => array(),
            'ip' => array(),
            'edits' => array(),
        ),
    );

Trying to get an icon into that lot, with all the usual span classes to sort stupid browsers, looks like more trouble than it's worth to me.

ETA: Bugger. We have the same problem in two other areas. Show posts and buddies.

(0013138)
Antechinus (SMF Friend)
2010-10-07 06:59

This is the code for the show posts area. Same file.

    // Create the tabs for the template.
    $context[$context['profile_menu_name']]['tab_data'] = array(
        'title' => $txt['showPosts'],
        'description' => $txt['showPosts_help'],
        'tabs' => array(
            'messages' => array(
            ),
            'topics' => array(
            ),
            'attach' => array(
            ),
        ),
    );
(0013139)
Antechinus (SMF Friend)
2010-10-07 07:00

And this is from Sources/Profile-Modify.php for the buddies stuff.

    // Create the tabs for the template.
    $context[$context['profile_menu_name']]['tab_data'] = array(
        'title' => $txt['editBuddyIgnoreLists'],
        'description' => $txt['buddy_ignore_desc'],
        'tabs' => array(
            'buddies' => array(),
            'ignore' => array(),
        ),
    );
(0013167)
Antechinus (SMF Friend)
2010-10-12 09:00

 * Fixed code for icons in some areas. Removed unnecessary ie6_header span from GenericList. Removed old commented out code. (GenericList.template.php, GenericMenu.template.php, Profile.template.php, Profile-Modify.php, Profile-View.php) Revision 10161
MantisBT 1.2.8 (Modified)[^] Copyright © 2000 - 2010 Mantis Group