home v2: added register block and newsletter subscription
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user