Acasa
Pagina de start!
Faq
Intrebari puse frecvent!
Membri
Vezi lista membrilor!
Cautare
Gasesti ce vrei,repede!
Conectare
Intra in contul tau!
Inregistrare
Fi alaturi de noi!

Distribuiţi|

[TUTORIAL] Topic Type

Vezi subiectul anterior Vezi subiectul urmator In jos
AutorMesaj
FloRyN.
Administrator
FloRyN.

Joined : 29/09/2011
Posts : 1228
CS Status : -
Age : 28
[TUTORIAL] Topic Type Empty
MesajSubiect: [TUTORIAL] Topic Type [TUTORIAL] Topic Type Icon_minitimeMier Noi 26, 2014 2:15 am

Aceasta modificare va arata in dreptul titlului ce tip de subiect este(inchis,anunt,important..etc.).

Deschide: /styles/prosilver/template/viewforum_body.html

Cauta:
Cod:
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->

Adauga inainte:
Cod:
<!-- IF topicrow.TOPIC_TYPE --><span class="topictype">{topicrow.TOPIC_TYPE}</span><!-- ENDIF -->

Open: /styles/prosilver/theme/colours.css

Adauga acest cod jos de tot:
Cod:
span.topictype {
    display: inline-block;
    margin: 1px 4px 1px 0;
    padding: 2px 5px;
    background: #027cb8;
    color: #ffffff;
    /* Some CSS3 goodness */
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    text-shadow: 0 1px 0 #005884;
    /* Optional: Gradient background. Uncomment below to enable */
    /*
    border: 1px solid #0077b2;
    background: -moz-linear-gradient(top,  #11a0e7 3%, #0077b2 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(3%,#11a0e7), color-stop(100%,#0077b2));
    background: -webkit-linear-gradient(top,  #11a0e7 3%,#0077b2 100%);
    background: -o-linear-gradient(top,  #11a0e7 3%,#0077b2 100%);
    background: -ms-linear-gradient(top,  #11a0e7 3%,#0077b2 100%);
    background: linear-gradient(to bottom,  #11a0e7 3%,#0077b2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#11a0e7', endColorstr='#0077b2',GradientType=0 );
    */
}

Deschide: /language/ro/common.php

Cauta:
Cod:
   
    'VIEW_TOPIC_ANNOUNCEMENT'  => 'Anunţ: ',
    'VIEW_TOPIC_GLOBAL'        => 'Anunţ global: ',
    'VIEW_TOPIC_LOCKED'        => 'Închis: ',
    'VIEW_TOPIC_LOGS'          => 'Consultare loguri',
    'VIEW_TOPIC_MOVED'          => 'Mutat: ',
    'VIEW_TOPIC_POLL'          => 'Chestionar: ',
    'VIEW_TOPIC_STICKY'        => 'Important: ',
    'VISIT_WEBSITE'            => 'Vizitează site web',

Modifica cu:
Cod:

    'VIEW_TOPIC_ANNOUNCEMENT'  => 'Anunţ ',
    'VIEW_TOPIC_GLOBAL'        => 'Anunţ global ',
    'VIEW_TOPIC_LOCKED'        => 'Închis ',
    'VIEW_TOPIC_LOGS'          => 'Consultare loguri',
    'VIEW_TOPIC_MOVED'          => 'Mutat ',
    'VIEW_TOPIC_POLL'          => 'Chestionar ',
    'VIEW_TOPIC_STICKY'        => 'Important ',
    'VISIT_WEBSITE'            => 'Vizitează site web',

Iar, pentru cei ce folosesc tema we_clearblue sau alte teme:

Deschide: /styles/tema_ta/template/viewforum_body.html

Modifica :
Cod:
<!-- ELSEIF TOTAL_TOPICS and not NEWEST_USER -->
Cu :
Cod:
<!-- ELSEIF -->

Cauta:
Cod:
<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF -->

Si adauga inainte:
Cod:
<!-- IF topicrow.TOPIC_TYPE --><span class="topictype">{topicrow.TOPIC_TYPE}</span><!-- ENDIF -->

DEMO:[TUTORIAL] Topic Type Demo
Sus In jos

[TUTORIAL] Topic Type

Vezi subiectul anterior Vezi subiectul urmator Sus

Subiecte similare

-
t [TUTORIAL] Topic Type
t [Tutorial] Vechime topic
t [Tutorial] Group_icons
t [Tutorial] Developer / Fps +-250
t Tutorial PaintBall
Pagina 1 din 1

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
Kill-AreNa :: » KILL-ARENA • FORUMGRATUIT • DOMENII :: Tutoriale - Phpbb - (Domenii)-
Social Media Buttons