XOOPS - theme主题风格 - 模板代码、区块设置与页面效果之间的对应关系
来源:互联网 发布:淘宝自然流量怎么来的 编辑:程序博客网 时间:2024/06/08 14:41
请看这个演示
http://docs.google.com/Presentation?id=dcf869c4_357g3ch9d
相关模板源代码如下:
http://docs.google.com/Presentation?id=dcf869c4_357g3ch9d
相关模板源代码如下:
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<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><{$xoops_sitename}> - <{$xoops_pagetitle}>title>
<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}>" />
<{$xoops_module_header}>
<script type="text/javascript">
/">logo.gif" width="150" height="80" alt="" />
<{$xoops_banner}>
<{foreach item=block from=$xoops_lblocks}>
<{$block.title}>
<{$block.content}>
<{/foreach}>
<{if $xoops_showcblock == 1}>
<{foreach item=block from=$xoops_ccblocks}>
<{/foreach}>
<{foreach item=block from=$xoops_clblocks}>
<{/foreach}>
<{foreach item=block from=$xoops_crblocks}>
<{/foreach}>
<{/if}>
<{$xoops_contents}>
<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
<{if $xoBlocks.page_bottomcenter}>
<{foreach from=$xoBlocks.page_bottomcenter item=block}>
<{/foreach}>
<{/if}>
<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
<{foreach from=$xoBlocks.page_bottomleft item=block}>
<{/foreach}>
<{foreach from=$xoBlocks.page_bottomright item=block}>
<{/foreach}>
<{/if}>
<{/if}>
<{if $xoops_showrblock == 1}>
<{foreach item=block from=$xoops_rblocks}>
<{$block.title}>
<{$block.content}>
<{/foreach}>
<{/if}>
<{$xoops_footer}>