jak w tej modyfikacji zrobic zeby modzi rowniez widzieli tą opcje
[phpbb]#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/subSilver.cfg
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$images['change_author'] = "$current_template_images/icon_change_author.gif";
#
#-----[ OPEN ]------------------------------------------
#
languages/lang_polish/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all, Folks!
// -------------------------------------------------
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$lang['changed_author'] = "Post przypisano do: ";
$lang['change_author'] = "Zmiana Autora";
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{postrow.QUOTE_IMG}
#
#-----[ BEFORE, ADD ]------------------------------------------
# space at the end
{postrow.CHANGE_AUTHOR_IMG}
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$delpost_img = '';
$delpost = '';
}
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
if( $userdata['user_level'] == ADMIN)
{
$temp_url=append_sid('change_author.php?pid='.$postrow[$i]['post_id']);
$change_author_img = '<a href="' . $temp_url . '" onclick="window.open(\''.$temp_url.'\', \'_phpbbca\', \'height=200,resizable=yes,width=400\');return false;"><img src="' . $images['change_author'] . '" alt="' . $lang['change_author'] . '" title="' . $lang['change_author'] . '" border="0" /></a>';
$change_author = '<a href="' . $temp_url . '" onclick="window.open(\''.$temp_url.'\', \'_phpbbca\', \'height=200,resizable=yes,width=400\');return false;">' . $lang['change_author'] . '</a>';
}
else
{
$change_author_img = '';
$change_author = '';
}
#
#-----[ FIND ]------------------------------------------
#
'DELETE_IMG' => $delpost_img,
'DELETE' => $delpost,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'CHANGE_AUTHOR_IMG' => $change_author_img,
'CHANGE_AUTHOR' => $change_author,
#
#-----[ COPY ]------------------------------------------
#
change_author.php
templates/subSilver/change_author_body.tpl[/phpbb]
/ BBCode - *Termit