Tags_without_fancy
Change common_tag_link to format the tag link based on the setting of $config['site']['fancy'] darcs-hash:20080831233401-e3c0d-4e0e43f5a53a6659c49d65a2b1f2a47c5cdec228.gz
This commit is contained in:
parent
44f02dd9c1
commit
e333345722
|
@ -694,7 +694,11 @@ function common_render_content($text, $notice) {
|
|||
}
|
||||
|
||||
function common_tag_link($tag) {
|
||||
return '<a href="' . htmlspecialchars(common_path('tag/' . $tag)) . '" rel="tag" class="hashlink">' . htmlspecialchars($tag) . '</a>';
|
||||
if(common_config('site', 'fancy')) {
|
||||
return '<a href="' . htmlspecialchars(common_path('tag/' . $tag)) . '" rel="tag" class="hashlink">' . htmlspecialchars($tag) . '</a>';
|
||||
} else {
|
||||
return '<a href="' . htmlspecialchars(common_path('index.php?action=tag&tag=' . $tag)) . '" rel="tag" class="hashlink">' . htmlspecialchars($tag) . '</a>';
|
||||
}
|
||||
}
|
||||
|
||||
function common_at_link($sender_id, $nickname) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user