Pagina 1 din 1
Topic Type
Scris: 26-Ian-2014, 13:53:38
de SalcamSA
Salutare.Cum pot sa fac sa scrie dupa titlu,tipul subiectului.
De exemplu: Titlu
Anunţ Global
Imagine:
http://i.imgur.com/UOS7Lvd.png?1?7250
Re: Topic Type
Scris: 26-Ian-2014, 14:16:21
de Sycron
Open: /styles/prosilver/template/
viewforum_body.html
Find:
Cod: Selectaţi tot
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->
Before, Add:
Cod: Selectaţi tot
<!-- IF topicrow.TOPIC_TYPE --><span class="topictype">{topicrow.TOPIC_TYPE}</span><!-- ENDIF -->
Open: /styles/prosilver/theme/
colours.css
Add this to the bottom of the file:
Cod: Selectaţi tot
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 );
*/
}
Open: /language/en/
common.php
Find:
Cod: Selectaţi tot
'VIEW_TOPIC_ANNOUNCEMENT' => 'Announcement: ',
'VIEW_TOPIC_GLOBAL' => 'Global Announcement: ',
'VIEW_TOPIC_LOCKED' => 'Locked: ',
'VIEW_TOPIC_LOGS' => 'View logs',
'VIEW_TOPIC_MOVED' => 'Moved: ',
'VIEW_TOPIC_POLL' => 'Poll: ',
'VIEW_TOPIC_STICKY' => 'Sticky: ',
Replace with:
Cod: Selectaţi tot
'VIEW_TOPIC_ANNOUNCEMENT' => 'Announcement ',
'VIEW_TOPIC_GLOBAL' => 'Global Announcement ',
'VIEW_TOPIC_LOCKED' => 'Locked ',
'VIEW_TOPIC_LOGS' => 'View logs',
'VIEW_TOPIC_MOVED' => 'Moved ',
'VIEW_TOPIC_POLL' => 'Poll ',
'VIEW_TOPIC_STICKY' => 'Sticky ',
'VISIT_WEBSITE' => 'Visit website',
Re: Topic Type
Scris: 26-Ian-2014, 15:24:17
de SalcamSA
Sycron scrie:Open: /styles/prosilver/template/
viewforum_body.html
Find:
Cod: Selectaţi tot
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->
Before, Add:
Cod: Selectaţi tot
<!-- IF topicrow.TOPIC_TYPE --><span class="topictype">{topicrow.TOPIC_TYPE}</span><!-- ENDIF -->
Open: /styles/prosilver/theme/
colours.css
Add this to the bottom of the file:
Cod: Selectaţi tot
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 );
*/
}
Open: /language/en/
common.php
Find:
Cod: Selectaţi tot
'VIEW_TOPIC_ANNOUNCEMENT' => 'Announcement: ',
'VIEW_TOPIC_GLOBAL' => 'Global Announcement: ',
'VIEW_TOPIC_LOCKED' => 'Locked: ',
'VIEW_TOPIC_LOGS' => 'View logs',
'VIEW_TOPIC_MOVED' => 'Moved: ',
'VIEW_TOPIC_POLL' => 'Poll: ',
'VIEW_TOPIC_STICKY' => 'Sticky: ',
Replace with:
Cod: Selectaţi tot
'VIEW_TOPIC_ANNOUNCEMENT' => 'Announcement ',
'VIEW_TOPIC_GLOBAL' => 'Global Announcement ',
'VIEW_TOPIC_LOCKED' => 'Locked ',
'VIEW_TOPIC_LOGS' => 'View logs',
'VIEW_TOPIC_MOVED' => 'Moved ',
'VIEW_TOPIC_POLL' => 'Poll ',
'VIEW_TOPIC_STICKY' => 'Sticky ',
'VISIT_WEBSITE' => 'Visit website',
Mersi
Re: Topic Type
Scris: 26-Ian-2014, 15:34:30
de SalcamSA
Sycron scrie:Open: /styles/prosilver/template/
viewforum_body.html
Find:
Cod: Selectaţi tot
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->
Before, Add:
Cod: Selectaţi tot
<!-- IF topicrow.TOPIC_TYPE --><span class="topictype">{topicrow.TOPIC_TYPE}</span><!-- ENDIF -->
Open: /styles/prosilver/theme/
colours.css
Add this to the bottom of the file:
Cod: Selectaţi tot
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 );
*/
}
Open: /language/en/
common.php
Find:
Cod: Selectaţi tot
'VIEW_TOPIC_ANNOUNCEMENT' => 'Announcement: ',
'VIEW_TOPIC_GLOBAL' => 'Global Announcement: ',
'VIEW_TOPIC_LOCKED' => 'Locked: ',
'VIEW_TOPIC_LOGS' => 'View logs',
'VIEW_TOPIC_MOVED' => 'Moved: ',
'VIEW_TOPIC_POLL' => 'Poll: ',
'VIEW_TOPIC_STICKY' => 'Sticky: ',
Replace with:
Cod: Selectaţi tot
'VIEW_TOPIC_ANNOUNCEMENT' => 'Announcement ',
'VIEW_TOPIC_GLOBAL' => 'Global Announcement ',
'VIEW_TOPIC_LOCKED' => 'Locked ',
'VIEW_TOPIC_LOGS' => 'View logs',
'VIEW_TOPIC_MOVED' => 'Moved ',
'VIEW_TOPIC_POLL' => 'Poll ',
'VIEW_TOPIC_STICKY' => 'Sticky ',
'VISIT_WEBSITE' => 'Visit website',
Dar pentru we_clearblue nu este?
Re: Topic Type
Scris: 26-Ian-2014, 15:38:17
de Sycron
Modifica :
Cod: Selectaţi tot
<!-- ELSEIF TOTAL_TOPICS and not NEWEST_USER -->
Cu :
Cauta:
Cod: Selectaţi tot
<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF -->
Si adauga inainte:
Cod: Selectaţi tot
<!-- IF topicrow.TOPIC_TYPE --><span class="topictype">{topicrow.TOPIC_TYPE}</span><!-- ENDIF -->
Re: Topic Type
Scris: 26-Ian-2014, 15:45:39
de SalcamSA
Cer T/C Rezolvat!