generalSection.tpl 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {**********************************************************************
  2. * ProxmoxCloudVps 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-col-md-6">
  22. <div class="lu-widget">
  23. <div class="lu-widget__body">
  24. {if $rawObject->isShowTitle() && (($rawObject->getRawTitle() || $rawObject->getTitle()) && $rawObject->isViewHeader())}
  25. <div class="lu-widget__header">
  26. <div class="lu-widget__top lu-top">
  27. <div class="lu-top__title">
  28. {if $rawObject->getIcon()}<i class="{$rawObject->getIcon()}"></i>{/if}
  29. {if $rawObject->isRawTitle()}{$rawObject->getRawTitle()}{elseif $rawObject->getTitle()}{$MGLANG->T($rawObject->getTitle())}{/if}
  30. </div>
  31. </div>
  32. </div>
  33. {/if}
  34. <div class="lu-widget__content">
  35. {foreach from=$rawObject->getFields() item=field }
  36. {$field->getHtml()}
  37. {/foreach}
  38. </div>
  39. </div>
  40. </div>
  41. </div>