Advertisement
Guest User

Untitled

a guest
Feb 4th, 2022
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. {*
  2. * 2017 IQIT-COMMERCE.COM
  3. *
  4. * NOTICE OF LICENSE
  5. *
  6. * This file is licenced under the Software License Agreement.
  7. * With the purchase or the installation of the software in your application
  8. * you accept the licence agreement
  9. *
  10. * @author IQIT-COMMERCE.COM <support@iqit-commerce.com>
  11. * @copyright 2017 IQIT-COMMERCE.COM
  12. * @license Commercial license (You can not resell or redistribute this software.)
  13. *
  14. *}
  15.  
  16. {if isset($charts) && $charts}
  17.  
  18. <button class="btn btn-secondary mt-3" data-button-action="open-iqitsizecharts" type="button" data-toggle="modal" data-target="#iqitsizecharts-modal">
  19. <i class="fa fa-table"></i> {l s='Size chart' mod='iqitsizecharts'}
  20. </button>
  21.  
  22. <div class="modal fade js-iqitsizecharts-modal" id="iqitsizecharts-modal">
  23. <div class="modal-dialog" role="document">
  24. <div class="modal-content">
  25. <div class="modal-header">
  26. <span class="modal-title">{l s='Size charts' mod='iqitsizecharts'}</span>
  27. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  28. <span aria-hidden="true">&times;</span>
  29. </button>
  30. </div>
  31. <div class="modal-body">
  32.  
  33. <ul class="nav nav-tabs">
  34. {foreach from=$charts key=i item=chart name=charts}
  35. <li class="nav-item">
  36. <a class="nav-link{if $smarty.foreach.charts.first} active{/if}" data-toggle="tab" href="#iqitcharts-tab-{$i}">
  37. {$chart.title}
  38. </a>
  39. </li>
  40. {/foreach}
  41. </ul>
  42.  
  43. <div class="tab-content" id="tab-content">
  44. {foreach from=$charts key=i item=chart name=charts}
  45. <div class="tab-pane in{if $smarty.foreach.charts.first} active{/if}" id="iqitcharts-tab-{$i}">
  46. <div class="rte-content">{$chart.description nofilter}</div>
  47. </div>
  48. {/foreach}
  49. </div>
  50.  
  51. </div>
  52. </div><!-- /.modal-content -->
  53. </div><!-- /.modal-dialog -->
  54. </div><!-- /.modal -->
  55. {/if}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement