samedi 10 décembre 2016

Upgrade Templates from DLE 11.1 to 11.2

Changes between versions 11.1 and 11.2    

1. Open file style/engine.css at the bottom add:
/* Setup a standard captcha when replying to comments */
.dle-captcha { position: relative; }
.dle-captcha:after { clear: both; display: block; content: ""; }
.dle-captcha > a { float: left; margin-right: 5px; }
.dle-captcha img {
position: relative;
display: block;
width: 130px; height: 46px;
-webkit-transition: all ease .2s; transition: all ease .2s;
}
.dle-captcha > input { float: left; width: 130px; }


/* Customize tooltip for custom fields */
.xfieldsnote {
color: #838383;
font-size: .9em;
}


2. Create a file categorymenu.tpl with content:
[root]<ul>[/root]
[item]
<li><a href="{url}">{name} <span style="float: right;">{news-count}</span></a>
[sub-prefix]<ul>[/sub-prefix]{sub-item}[sub-suffix]</ul>[/sub-suffix]
</li>
[/item]
[root]</ul>[/root]



3. Open the file userinfo.tpl find:
<li class="form-group">
<table class="xfields">
{xfields}
</table>
</li>



Below add:
<li class="form-group">
<div class="checkbox">{twofactor-auth}</div>
</li>



4. If necessary, display the menu of categories to the template main.tpl, add the tag {catmenu} in the right place for you

Aucun commentaire:

Enregistrer un commentaire