Advertisement
stom66

Bootstrap4 Nonuple Cols

Nov 14th, 2017
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Smarty 5.61 KB | None | 0 0
  1. {*
  2. *   Template name: Bootstrap4 Nonuple Cols
  3. *   -------------------------------------
  4. *
  5. *   This is the nine column version of the Bootstrap4 template. It extends the "Bootstrap4 Core"
  6. *   template and provides 9 content sections that can be styled using custom classes.
  7. *
  8. *   This template can be set as a "default" template and should be "listable".
  9. *
  10. *   Part of the CMSMS Bootstrap4 template by stom | stom66.co.uk
  11. *}
  12. {extends file='cms_template:Bootstrap4 Core'}
  13.  
  14. {block name='top' append}{strip}
  15.     {$content2 = "{content block='content2' label='Content' tab='Content 2'}" scope=global}
  16.     {$content2_style = "{content block='content2_style' label='Class' tab='Content 2' oneline='true'}"|default:"col-12" scope=global}
  17.     {$content2_disable_markdown = "{content block='content2_disable_markdown' oneline='true' label='Content 2: Disable Markdown?' tab='Content 2'}"
  18.         scope=global}
  19.  
  20.     {$content3 = "{content block='content3' label='Content' tab='Content 3'}" scope=global}
  21.     {$content3_style = "{content block='content3_style' label='Class' tab='Content 3' oneline='true'}"|default:"col-12" scope=global}
  22.     {$content3_disable_markdown = "{content block='content3_disable_markdown' oneline='true' label='Content 3: Disable Markdown?' tab='Content 3'}"
  23.         scope=global}
  24.  
  25.     {$content4 = "{content block='content4' label='Content' tab='Content 4'}" scope=global}
  26.     {$content4_style = "{content block='content4_style' label='Class' tab='Content 4' oneline='true'}"|default:"col-12" scope=global}
  27.     {$content4_disable_markdown = "{content block='content4_disable_markdown' oneline='true' label='Content 4: Disable Markdown?' tab='Content 4'}"
  28.         scope=global}
  29.  
  30.     {$content5 = "{content block='content5' label='Content' tab='Content 5'}" scope=global}
  31.     {$content5_style = "{content block='content5_style' label='Class' tab='Content 5' oneline='true'}"|default:"col-12" scope=global}
  32.     {$content5_disable_markdown = "{content block='content5_disable_markdown' oneline='true' label='Content 5: Disable Markdown?' tab='Content 5'}"
  33.         scope=global}
  34.  
  35.     {$content6 = "{content block='content6' label='Content' tab='Content 6'}" scope=global}
  36.     {$content6_style = "{content block='content6_style' label='Class' tab='Content 6' oneline='true'}"|default:"col-12" scope=global}
  37.     {$content6_disable_markdown = "{content block='content6_disable_markdown' oneline='true' label='Content 6: Disable Markdown?' tab='Content 6'}"
  38.         scope=global}
  39.  
  40.     {$content7 = "{content block='content7' label='Content' tab='Content 7'}" scope=global}
  41.     {$content7_style = "{content block='content7_style' label='Class' tab='Content 7' oneline='true'}"|default:"col-12" scope=global}
  42.     {$content7_disable_markdown = "{content block='content7_disable_markdown' oneline='true' label='Content 7: Disable Markdown?' tab='Content 7'}"
  43.         scope=global}
  44.  
  45.     {$content8 = "{content block='content8' label='Content' tab='Content 8'}" scope=global}
  46.     {$content8_style = "{content block='content8_style' label='Class' tab='Content 8' oneline='true'}"|default:"col-12" scope=global}
  47.     {$content8_disable_markdown = "{content block='content8_disable_markdown' oneline='true' label='Content 8: Disable Markdown?' tab='Content 8'}"
  48.         scope=global}
  49.  
  50.     {$content9 = "{content block='content9' label='Content' tab='Content 9'}" scope=global}
  51.     {$content9_style = "{content block='content9_style' label='Class' tab='Content 9' oneline='true'}"|default:"col-12" scope=global}
  52.     {$content9_disable_markdown = "{content block='content9_disable_markdown' oneline='true' label='Content 9: Disable Markdown?' tab='Content 9'}"
  53.         scope=global}
  54. {/strip}{/block}
  55.  
  56. {block name='content'}
  57.     <div class="{$container_class}">
  58.         <div class="{$row_class}">
  59.             {if $content1}
  60.                 <div class="{$content1_style}">
  61.                     {if $content1_disable_markdown!=="true" && $mod_Markdown}
  62.                         {eval var=$content1|markdown}
  63.                     {else}
  64.                         {$content1}
  65.                     {/if}
  66.                 </div>
  67.             {/if}
  68.             {if $content2}
  69.                 <div class="{$content2_style}">
  70.                     {if $content2_disable_markdown!=="true" && $mod_Markdown}
  71.                         {eval var=$content2|markdown}
  72.                     {else}
  73.                         {$content2}
  74.                     {/if}
  75.                 </div>
  76.             {/if}
  77.             {if $content3}
  78.                 <div class="{$content3_style}">
  79.                     {if $content3_disable_markdown!=="true" && $mod_Markdown}
  80.                         {eval var=$content3|markdown}
  81.                     {else}
  82.                         {$content3}
  83.                     {/if}
  84.                 </div>
  85.             {/if}
  86.             {if $content4}
  87.                 <div class="{$content4_style}">
  88.                     {if $content4_disable_markdown!=="true" && $mod_Markdown}
  89.                         {eval var=$content4|markdown}
  90.                     {else}
  91.                         {$content4}
  92.                     {/if}
  93.                 </div>
  94.             {/if}
  95.             {if $content5}
  96.                 <div class="{$content5_style}">
  97.                     {if $content5_disable_markdown!=="true" && $mod_Markdown}
  98.                         {eval var=$content5|markdown}
  99.                     {else}
  100.                         {$content5}
  101.                     {/if}
  102.                 </div>
  103.             {/if}
  104.             {if $content6}
  105.                 <div class="{$content6_style}">
  106.                     {if $content6_disable_markdown!=="true" && $mod_Markdown}
  107.                         {eval var=$content6|markdown}
  108.                     {else}
  109.                         {$content6}
  110.                     {/if}
  111.                 </div>
  112.             {/if}
  113.             {if $content7}
  114.                 <div class="{$content7_style}">
  115.                     {if $content7_disable_markdown!=="true" && $mod_Markdown}
  116.                         {eval var=$content7|markdown}
  117.                     {else}
  118.                         {$content7}
  119.                     {/if}
  120.                 </div>
  121.             {/if}
  122.             {if $content8}
  123.                 <div class="{$content8_style}">
  124.                     {if $content8_disable_markdown!=="true" && $mod_Markdown}
  125.                         {eval var=$content8|markdown}
  126.                     {else}
  127.                         {$content8}
  128.                     {/if}
  129.                 </div>
  130.             {/if}
  131.             {if $content9}
  132.                 <div class="{$content9_style}">
  133.                     {if $content9_disable_markdown!=="true" && $mod_Markdown}
  134.                         {eval var=$content9|markdown}
  135.                     {else}
  136.                         {$content9}
  137.                     {/if}
  138.                 </div>
  139.             {/if}
  140.         </div>
  141.     </div>
  142. {/block}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement