In der viewtopic_body.tpl 2 mal
Code: Alles auswählen
<!-- BEGIN bookmark_state -->
<a href="{U_BOOKMARK_ACTION}"><img src="templates/subSilver/images/lang_english/add_favs.gif" width="24" height="25" border="0" title="{L_BOOKMARK_ACTION}"></a>
<!-- END bookmark_state -->
Code: Alles auswählen
{S_BOOKMARK_TOPIC_IMG}
In der viewtopic.php suchen
Code: Alles auswählen
//
// Bookmark information
//
if ( $userdata['session_logged_in'] )
{
$template->assign_block_vars('bookmark_state', array());
// Send vars to template
$bm_action = (is_bookmark_set($topic_id)) ? ("&removebm=true") : ("&setbm=true");
$template->assign_vars(array(
'L_BOOKMARK_ACTION' => (is_bookmark_set($topic_id)) ? ($lang['Remove_Bookmark']) : ($lang['Set_Bookmark']),
'U_BOOKMARK_ACTION' => append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start&postdays=$post_days&postorder=$post_order&highlight=" . $HTTP_GET_VARS['highlight'] . $bm_action))
);
}
Code: Alles auswählen
//
// Bookmark information
//
if ( $userdata['session_logged_in'] )
{
// Send vars to template
$bm_action = (is_bookmark_set($topic_id)) ? ("&removebm=true") : ("&setbm=true");
$s_bookmark_topic = "<a href=\"" . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start&postdays=$post_days&postorder=$post_order&highlight=" . $HTTP_GET_VARS['highlight'] . $bm_action) . "\">" . ((is_bookmark_set($topic_id)) ? $lang['Remove_Bookmark'] : $lang['Set_Bookmark']) . '</a>';
$s_bookmark_topic_img = "<a href=\"" . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start&postdays=$post_days&postorder=$post_order&highlight=" . $HTTP_GET_VARS['highlight'] . $bm_action) . "\"><img src=\"" . $images['bookmark'] . "\" border=\"0\" alt=\"" . ((is_bookmark_set($topic_id)) ? $lang['Remove_Bookmark'] : $lang['Set_Bookmark']) . "\" title=\"" . ((is_bookmark_set($topic_id)) ? $lang['Remove_Bookmark'] : $lang['Set_Bookmark']) . "\" /></a>";
}
else
{
$s_bookmark_topic = '';
$s_bookmark_topic_img = '';
}
Code: Alles auswählen
'S_WATCH_TOPIC' => $s_watching_topic,
'S_WATCH_TOPIC_IMG' => $s_watching_topic_img,
Code: Alles auswählen
'S_BOOKMARK_TOPIC' => $s_bookmark_topic,
'S_BOOKMARK_TOPIC_IMG' => $s_bookmark_topic_img,
Code: Alles auswählen
$images['bookmark'] = "$current_template_images/{LANG}/add_favs.gif\" width=\"24\" height=\"25";
Gruß, Philipp