Bug #725
Impossible to stylize custom_sublinks
| Status: | Closed | Start: | 08/02/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | themes | |||
| Target version: | 2.3 | |||
Description
Its impossible to customize $custom_sublinks added by extensions.
For Ex.The system creates
<a href="/furpiledbeta/ip_ban/list">IP Bans</a>but i need on my customized style include <span></span> in that line to get
<a href="/furpiledbeta/ip_ban/list"><span>IP Bans</span></a>There is possible create an instanse to stylize generated links? Like a simple line in layout.class.php
$style_sublinks = "<a href="$link">$name</a>"then the user can modify the style just changin this line.
History
Updated by Shish Moom 218 days ago
- Status changed from New to Closed
As of 63be204 , user links are stored unformatted and can be formatted in user.theme.php / display_user_block()
Updated by Sein Kraft 218 days ago
This doesn't work.
$html = "";
foreach($parts as $part) {
$html .= "<li><a href='{$part["link"]}'>{$part["name"]}</a>";
}
Generates <a htef="<"><</a>
Updated by Shish Moom 218 days ago
That's very odd, it works here, tested with all themes o_O
after --> $html = ""; <-- can you add --> var_dump($parts); <-- and see what shows up?
Updated by Sein Kraft 218 days ago
I will test that in a hours, now i'm @ work :(, but its strange i'm testing that with danbooru and doesnt work (system beta8)
Updated by Sein Kraft 218 days ago
LOL! Sorry about time lost. I haven't edited user/main.php.
Sorry :S