Cod: Selectaţi tot
Acest mod ete usor de instalat
##############################################################
## MOD Title: Index Sidebar
## MOD Author: CBACK <sonny> (Christian Knerr) http://www.cback.de
## MOD Description: Adds an Navigation and Search Sidebar on your Forum Index.
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 2 Minutes
## Files To Edit: 4
## index.php
## language/lang_english/lang_main.php
## language/lang_german/lang_main.php
## templates/subSilver/index_body.tpl
## Included Files: n/a
##############################################################
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<table>
<tr>
<th> {L_FORUM} </th>
<th> {L_TOPICS} </th>
<th> {L_POSTS} </th>
<th> {L_LASTPOST} </th>
</tr>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<table>
<tr>
<td>
<table>
<tr>
<th> {L_SIDEBAR} </th>
</tr>
<tr>
<td>{L_SIDEBAR_FORUM}</td>
</tr>
<tr>
<td><span><a href="{U_FAQ}">{L_FAQ}</a></span></td>
</tr>
<tr>
<td><span><a href="{U_SEARCH}">{L_SEARCH}</a></span></td>
</tr>
<tr>
<td><span><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></span></td>
</tr>
<tr>
<td><span><a href="{U_GROUP_CP}">{L_USERGROUPS}</a></span></td>
</tr>
<tr>
<td>{L_SIDEBAR_SETTINGS}</td>
</tr>
<tr>
<td><span><a href="{U_PROFILE}">{L_PROFILE}</a></span></td>
</tr>
<tr>
<td><span><a href="{U_PRIVATEMSGS}">{L_PRIVATEMSGS}</a></span></td>
</tr>
<tr>
<td><span><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></span></td>
</tr>
</table>
<br>
<script>
<function>
</script>
<form>
<table>
<tr>
<th> {L_SEARCH} </th>
</tr>
<tr>
<td><table>
<tr>
<td><input></td>
</tr>
<tr>
<td><select>
<option>{L_FORUM}</option>
<option>Google</option>
</select></td>
</tr>
<tr>
<td><input></td>
</tr>
</table>
<input>
<input>
<br>
<a href="{U_SEARCH}" class="gensmall">{L_ADVANCED_SEARCH}</a>
</td>
</tr>
</table>
</form>
</td>
<td>
#
#-----[ FIND ]------------------------------------------
#
<br>
<table>
<tr>
<td></td>
<td><span>{L_NEW_POSTS}</span></td>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
</td>
</tr>
</table>
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all, Folks!
// -------------------------------------------------
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// CBACK Sidebar on Index MOD
//
$lang['sidebar_forum'] = 'Forum';
$lang['sidebar_settings'] = 'Settings';
$lang['sidebar'] = 'Sidebar';
#
#-----[ OPEN ]------------------------------------------
#
language/lang_german/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all Folks!
// -------------------------------------------------
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// CBACK Sidebar on Index MOD
//
$lang['sidebar_forum'] = 'Forum';
$lang['sidebar_settings'] = 'Einstellungen';
$lang['sidebar'] = 'Sidebar';
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
'L_MODERATOR' => $lang['Moderators'],
'L_FORUM_LOCKED' => $lang['Forum_is_locked'],
'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_SIDEBAR_FORUM' => $lang['sidebar_forum'],
'L_SIDEBAR_SETTINGS' => $lang['sidebar_settings'],
'L_SIDEBAR' => $lang['sidebar'],
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
P.S
Nu am tradus modul ca nu prea e ce de tradus....