Administrator
Joined : 29/09/2011 Posts : 1228 CS Status : - Age : 28
| Subiect: [TUTORIAL] Separare topicuri [sticky,anunturi,normale] en/ro Joi Noi 20, 2014 7:05 am |
|
| [size=150]Tutorial separare topicuri normale de cele sticky/anunturi engleza/romana [/size]ENGLEZA: Intrati in root/forum/languague/en/viewforum.phpCautati: - Cod:
-
?>
Si inaintea lui adaugati : - Cod:
-
$lang = array_merge($lang, array( 'STICKY' => 'Sticky topics' ));
Intrati in forum/styles/temata/templates/viewforum_body.html Cautati - Cod:
-
<!-- BEGIN topicrow --> <!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 --> <tr> <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_ANNOUNCEMENTS}</b></td> </tr> <!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH eq 0 --> <tr> <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_TOPICS}</b></td> </tr> <!-- ENDIF -->
Inlocuiti cu : - Cod:
-
<!-- DEFINE $TOPIC_NORMAL = 0 --> <!-- DEFINE $TOPIC_STICKY = 0 --> <!-- BEGIN topicrow --> <!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 --> <tr> <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_ANNOUNCEMENTS}</b></td> </tr> <!-- ELSEIF topicrow.S_POST_STICKY and $TOPIC_STICKY eq 0 --> <!-- DEFINE $TOPIC_STICKY = 1 --> <tr> <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_STICKY}</b></td> </tr> <!-- ELSEIF topicrow.S_TOPIC_TYPE eq 0 and $TOPIC_NORMAL eq 0 --> <!-- DEFINE $TOPIC_NORMAL = 1 --> <tr> <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_TOPICS}</b></td> </tr> <!-- ENDIF -->
ROMANA :Intrati in root/forum/languague/ro/viewforum.phpCautati - Cod:
-
?>
Adaugati inainte - Cod:
-
$lang = array_merge($lang, array( 'STICKY' => 'Subiecte importante' ));
Intrati in forum/styles/temata/templates/viewforum_body.html Cautati - Cod:
-
<!-- BEGIN topicrow --> <!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 --> <tr> <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_ANNOUNCEMENTS}</b></td> </tr> <!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH eq 0 --> <tr> <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_TOPICS}</b></td> </tr> <!-- ENDIF -->
Inlocuiti cu : - Cod:
-
<!-- DEFINE $TOPIC_NORMAL = 0 --> <!-- DEFINE $TOPIC_STICKY = 0 --> <!-- BEGIN topicrow --> <!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 --> <tr> <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_ANNOUNCEMENTS}</b></td> </tr> <!-- ELSEIF topicrow.S_POST_STICKY and $TOPIC_STICKY eq 0 --> <!-- DEFINE $TOPIC_STICKY = 1 --> <tr> <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_STICKY}</b></td> </tr> <!-- ELSEIF topicrow.S_TOPIC_TYPE eq 0 and $TOPIC_NORMAL eq 0 --> <!-- DEFINE $TOPIC_NORMAL = 1 --> <tr> <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_TOPICS}</b></td> </tr> <!-- ENDIF -->
|
|