krot

Joomla подключение модуля

Nov 23rd, 2015
88
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <jdoc:include type="modules" name="mypozis" style="des" atr="des4"/>
  2.  
  3. \template\systen\html\modules.php
  4.  
  5. function modChrome_des($module, &$params, &$attribs){ ?>
  6. <?php
  7. if ($module->showtitle != 0) : ?>
  8.     <p class="z1">
  9.           <?php echo $module->title; ?>
  10.         </p>
  11.     <?php endif; ?>
  12.         <div class="<?=$attribs['atr'];?>"><?php echo $module->content; ?></div>
  13.     <?php
  14. }
RAW Paste Data