home v2: added register block and newsletter subscription

This commit is contained in:
Bachir Soussi Chiadmi
2015-06-10 18:50:27 +02:00
parent 181a28cd85
commit 2fd09f23e9
6 changed files with 735 additions and 369 deletions

View File

@@ -81,7 +81,7 @@
checkIE();
initHistoryNav();
if(_isFrontNotLogged)
if(_isFrontNotLogged && !_isFrontHomeV2)
initHome();
if(_isFrontHomeV2)
@@ -1585,7 +1585,7 @@
function hideLabelsFromRegisterForm () {
var $this, id,label, description;
$('input.form-text', '#block-user-login, #block-materio-user-user-register, , #block-materio-user-user-createaccount').each(function(i) {
$('input.form-text', '#block-user-login, #block-materio-user-user-register, .pane-materio-user-user-register, #block-materio-user-user-createaccount').each(function(i) {
$this = $(this);
id = $this.attr('id');
label = $('label[for='+id+']').hide().text();