krot

joomla добавляет class custom jdoc:include модуля

Jan 18th, 2016
75
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. templates/mytml/html/mod_custom/default.php
  2. <?php
  3. defined('_JEXEC') or die;
  4. if($moduleclass_sfx){  
  5.    echo '<div class="'.$moduleclass_sfx.'">' . $module->content . '</div>';  
  6. }
  7. else{
  8.    echo $module->content;
  9. }
  10. ?>
RAW Paste Data