Providing resources for people with a passion for Christ and the web
Welcome!
[User Guides and Resource Library :: Themes and Templates :: This page]  
Tags: themes  

Default Theme

Smarty Tags

DOCTYPE

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtm ... ">

Language

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">

Meta Tags

<head>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />

Title

<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>

Links

<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_themecss}>" />

Scripts

<!-- RMV: added module header -->
<{$xoops_module_header}>
<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>
</head>

Body

 

Header

<body>
  <table cellspacing="0">
    <tr id="header">
      <td id="headerlogo"><a href="<{$xoops_url}>/">
        <img src="<{$xoops_imageurl}>logo.gif" width="150" height="80" alt="" /></a></td>
      <td id="headerbanner"><{$xoops_banner}></td>
    </tr>
    <tr>
      <td id="headerbar" colspan="2"> </td>
    </tr>
  </table>

Left Column

  <table cellspacing="0">
    <tr>
      <td id="leftcolumn">
        <!-- Start left blocks loop -->
        <{foreach item=block from=$xoops_lblocks}>
          <{include file="default/theme_blockleft.html"}>
        <{/foreach}>
        <!-- End left blocks loop -->
      </td>

Center Column Blocks

      <td id="centercolumn">
        <!-- Display center blocks if any -->
        <{if $xoops_showcblock == 1}>
        <table cellspacing="0">
  <tr>

Top Center Blocks

   <td id="centerCcolumn" colspan="2">
   <!-- Start center-center blocks loop -->
   <{foreach item=block from=$xoops_ccblocks}>
    <{include file="default/theme_blockcenter_c.html"}>
   <{/foreach}>
   <!-- End center-center blocks loop -->
   </td>
  </tr>

Top Left Center Blocks

  <tr>
   <td id="centerLcolumn">  
   <!-- Start center-left blocks loop -->
   <{foreach item=block from=$xoops_clblocks}>
    <{include file="default/theme_blockcenter_l.html"}>
   <{/foreach}>
   <!-- End center-left blocks loop -->
   </td>

Top Right Center Blocks

   <td id="centerRcolumn">  
   <!-- Start center-right blocks loop -->
   <{foreach item=block from=$xoops_crblocks}>
    <{include file="default/theme_blockcenter_r.html"}>
   <{/foreach}>
   <!-- End center-right blocks loop -->
   </td>
  </tr>
        </table>
        <{/if}>
        <!-- End display center blocks -->

Contents

        <div id="content">
          <{$xoops_contents}>
        </div>

Bottom Center Blocks

        <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
        <table cellspacing="0">
        <{if $xoBlocks.page_bottomcenter}>
  <tr><td id="bottomCcolumn" colspan="2">
   <{foreach from=$xoBlocks.page_bottomcenter item=block}>
        <{include file="default/theme_blockcenter_c.html"}><{/foreach}>
   </td>
  </tr>
  <{/if}>
  <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>

Bottom Left Center Blocks

  <tr>
   <td id="bottomLcolumn">
    <{foreach from=$xoBlocks.page_bottomleft item=block}>
          <{include file="default/theme_blockcenter_l.html"}><{/foreach}>
   </td>

Bottom Right Center Blocks

   <td id="bottomRcolumn">
    <{foreach from=$xoBlocks.page_bottomright item=block}>
          <{include file="default/theme_blockcenter_r.html"}><{/foreach}>
   </td>
  </tr>
        <{/if}>
        </table>
        <{/if}>
      </td>

Right Column

      <{if $xoops_showrblock == 1}>
      <td id="rightcolumn">
        <!-- Start right blocks loop -->
        <{foreach item=block from=$xoops_rblocks}>
          <{include file="default/theme_blockright.html"}>
        <{/foreach}>
        <!-- End right blocks loop -->
      </td>
      <{/if}>
    </tr>
  </table>

Footer

  <table cellspacing="0">
    <tr id="footerbar">
      <td><a href="http://www.xoops.org/" target="_blank">
        <img src="<{$xoops_imageurl}>poweredby.gif" alt="" /></a></td>
    </tr>
  </table>
</body>
</html>

 

Last modified on 2011/1/28 by Steve
 

Bookmark and Share!

Join Us On Facebook

Find Us on the Socials

Facebook Christian Web Resources LinkedIn page YouTube