<meta charset="<{$xoops_charset}>"> <meta name="keywords" content="<{$xoops_meta_keywords}>"> <meta name="description" content="<{$xoops_meta_description}>"> <meta name="robots" content="<{$xoops_meta_robots}>"> <meta name="rating" content="<{$xoops_meta_rating}>"> <meta name="author" content="<{$xoops_meta_author}>"> <meta name="generator" content="XOOPS">
三、在<head>插入
<!-- Rss --> <link rel="alternate" type="application/rss+xml" title="" href="<{xoAppUrl backend.php}>" /> <!-- Favicon --> <link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" /> <link rel="icon" type="image/png" href="<{xoImgUrl icons/favicon.png}>" /> <!-- Sheet Css --> <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoAppUrl xoops.css}>" /> <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoImgUrl css/style.css}>" /> <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoImgUrl css/xoops.css}>" /> <!-- customized header contents --> <{$xoops_module_header}>
<title><{if $xoops_dirname == "system"}><{$xoops_sitename}><{if $xoops_pagetitle !=''}> - <{$xoops_pagetitle}><{/if}><{else}><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> - <{$xoops_sitename}><{/if}><{/if}></title>
名稱 | 變數 | 控制 |
左區塊 | $xoBlocks.canvas_left | $xoops_showlblock |
右區塊 | $xoBlocks.canvas_right | $xoops_showrblock |
上中左區塊 | $xoBlocks.page_topleft | 若以下三個任何一個非空: $xoBlocks.page_topleft $xoBlocks.page_topcenter $xoBlocks.page_topright 則$xoops_showcblock值為1,否則為0 |
上中區塊 | $xoBlocks.page_topcenter | |
上中右區塊 | $xoBlocks.page_topright | |
下中左區塊 | $xoBlocks.page_bottomleft | |
下中區塊 | $xoBlocks.page_bottomcenter | |
下中右區塊 | $xoBlocks.page_bottomright |
<{* xoops *}> <section class="xoops"> <div class="container"> <div class="row"> <{includeq file="$theme_name/tpl/leftBlock.html"}> <{includeq file="$theme_name/tpl/content-zone.html"}> <{includeq file="$theme_name/tpl/rightBlock.html"}> </div> </div> </section>
<{include file="$xoops_rootpath/modules/tadtools/themes_common/blockTitle.html"}>
<{* 管理員登入用 *}> <{includeq file="$theme_name/tpl/control.html"}>
<div style='position:fixed;top:1px;left:1px;z-index:10000'> <{if $xoops_isadmin}> <a href="<{xoAppUrl admin.php}>"> </a> <{else}> <a href="<{xoAppUrl user.php}>"> </a> <{/if}> </div >