Closed simbus82 closed 5 years ago
SI può usare la logica del
$langTag = JFactory::getLanguage()->getTag(); $langUrl = substr($langTag, 0, -3);
per inserire solo "it" in
<!DOCTYPE html> <!--[if lt IE 7 ]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="<?php echo $langUrl; ?>" dir="<?php echo $this->direction; ?>" prefix="og: http://ogp.me/ns#"><![endif]--> <!--[if IE 7 ]><html class="no-js lt-ie9 lt-ie8" lang="<?php echo $langUrl; ?>" dir="<?php echo $this->direction; ?>" prefix="og: http://ogp.me/ns#"><![endif]--> <!--[if IE 8 ]><html class="no-js lt-ie9" lang="<?php echo $langUrl; ?>" dir="<?php echo $this->direction; ?>" prefix="og: http://ogp.me/ns#"><![endif]--> <!--[if IE 9 ]><html class="no-js ie9" lang="<?php echo $langUrl; ?>" dir="<?php echo $this->direction; ?>" prefix="og: http://ogp.me/ns#"><![endif]--> <!--[if (gt IE 9)|!(IE)]><!--><html class="no-js" lang="<?php echo $langUrl; ?>" dir="<?php echo $this->direction; ?>" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
no va bene anche it-it
SI può usare la logica del
$langTag = JFactory::getLanguage()->getTag(); $langUrl = substr($langTag, 0, -3);
per inserire solo "it" in