Cum traduc Headerele inserate de mine
Scris: 23-Noi-2017, 14:54:34
Salut,
Am inserat aceste link-uri si as dori sa intraduc functionalitatea de a le traduce atunci cand se schimba limba.

Am luat indicatiile de aici pt a crea acele butoane:
https://www.phpbb.com/community/viewtop ... &t=2305976
Go to Styles->Prosilver->Template and edit index_body.html
Find this (it is close to the top of the file):
<!-- IF U_MARK_FORUMS -->
<div class="action-bar compact">
<a href="{U_MARK_FORUMS}" class="mark-read rightside" accesskey="m" data-ajax="mark_forums_read">{L_MARK_FORUMS_READ}</a>
</div>
<!-- ENDIF -->
Between the div class statement and the mark-read href, insert this:
<a href="./search.php?search_id=newposts" class="mark-read leftside">New posts</a>
So the block looks like:
<!-- IF U_MARK_FORUMS -->
<div class="action-bar compact">
<a href="./search.php?search_id=newposts" class="mark-read leftside">New posts</a>
<a href="{U_MARK_FORUMS}" class="mark-read rightside" accesskey="m" data-ajax="mark_forums_read">{L_MARK_FORUMS_READ}</a>
</div>
<!-- ENDIF -->
This produces the following on my board:

Am inserat aceste link-uri si as dori sa intraduc functionalitatea de a le traduce atunci cand se schimba limba.

Am luat indicatiile de aici pt a crea acele butoane:
https://www.phpbb.com/community/viewtop ... &t=2305976
Go to Styles->Prosilver->Template and edit index_body.html
Find this (it is close to the top of the file):
<!-- IF U_MARK_FORUMS -->
<div class="action-bar compact">
<a href="{U_MARK_FORUMS}" class="mark-read rightside" accesskey="m" data-ajax="mark_forums_read">{L_MARK_FORUMS_READ}</a>
</div>
<!-- ENDIF -->
Between the div class statement and the mark-read href, insert this:
<a href="./search.php?search_id=newposts" class="mark-read leftside">New posts</a>
So the block looks like:
<!-- IF U_MARK_FORUMS -->
<div class="action-bar compact">
<a href="./search.php?search_id=newposts" class="mark-read leftside">New posts</a>
<a href="{U_MARK_FORUMS}" class="mark-read rightside" accesskey="m" data-ajax="mark_forums_read">{L_MARK_FORUMS_READ}</a>
</div>
<!-- ENDIF -->
This produces the following on my board: