generalSection.tpl 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {**********************************************************************
  2. * ProxmoxAddon product developed. (2017-10-06)
  3. * *
  4. *
  5. * CREATED BY MODULESGARDEN -> http://modulesgarden.com
  6. * CONTACT -> contact@modulesgarden.com
  7. *
  8. *
  9. * This software is furnished under a license and may be used and copied
  10. * only in accordance with the terms of such license and with the
  11. * inclusion of the above copyright notice. This software or any other
  12. * copies thereof may not be provided or otherwise made available to any
  13. * other person. No title to and ownership of the software is hereby
  14. * transferred.
  15. *
  16. *
  17. **********************************************************************}
  18. {**
  19. * @author Sławomir Miśkowicz <slawomir@modulesgarden.com>
  20. *}
  21. <div class="lu-widget">
  22. {if ($rawObject->getRawTitle() || $rawObject->getTitle()) && $rawObject->isViewHeader()}
  23. <div class="widget__header">
  24. <div class="lu-widget__top lu-top">
  25. <div class="lu-top__title">
  26. {if $rawObject->getIcon()}<i class="{$rawObject->getIcon()}"></i>{/if}
  27. {if $rawObject->isRawTitle()}{$rawObject->getRawTitle()}{elseif $rawObject->getTitle()}{$MGLANG->T($rawObject->getTitle())}{/if}
  28. </div>
  29. </div>
  30. </div>
  31. {/if}
  32. <div class="lu-widget__body">
  33. <div class="lu-widget__content">
  34. {foreach from=$rawObject->getFields() item=field }
  35. {$field->getHtml()}
  36. {/foreach}
  37. </div>
  38. </div>
  39. </div>