OSDN Git Service

テンプレート更新。
authornaoki hirata <naoki@magic3.org>
Sat, 18 Mar 2017 06:20:10 +0000 (15:20 +0900)
committernaoki hirata <naoki@magic3.org>
Sat, 18 Mar 2017 06:20:10 +0000 (15:20 +0900)
templates/bs_honoka3/templateDetails.xml
templates/bs_single_gray/html/modules.php
templates/bs_single_gray/index.php
templates/bs_single_gray/templateDetails.xml

index 9b30484..36956f8 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <install type="template" version="3.1" format="bootstrap">
-  <name>bootstrap_cerulean</name>
-  <creationDate>2014-03-27</creationDate>
+  <name>bs_honoka3</name>
+  <creationDate>2017-03-18</creationDate>
   <version>1.0</version>
   <author></author>
   <authorUrl></authorUrl>
index 2cf368a..0db2160 100644 (file)
@@ -6,9 +6,18 @@ function modChrome_bootblock($module, &$params, &$attribs)
        if (!empty ($module->content)) : ?>
                <div class="moduletable<?php echo $params->get('moduleclass_sfx'); ?>">
                <?php if ($module->showtitle != 0) : ?>
-                       <h3><?php echo $module->title; ?></h3>
+                       <h2><?php echo $module->title; ?></h2>
                <?php endif; ?>
                        <?php echo $module->content; ?>
                </div>
        <?php endif;
-}
\ No newline at end of file
+}
+function modChrome_bootheader($module, &$params, &$attribs)
+{
+       if (!empty ($module->content)) : ?>
+               <?php if ($module->showtitle != 0) : ?>
+                       <h1 class="brand-heading"><?php echo $module->title; ?></h1>
+               <?php endif; ?>
+                       <div class="intro-text"><?php echo $module->content; ?></div>
+       <?php endif;
+}
index e9ef6a0..16d6d38 100644 (file)
@@ -47,7 +47,8 @@ $templateUrl = $document->baseurl . '/templates/' . $document->template;
                     Menu <i class="fa fa-bars"></i>
                 </button>
                 <a class="navbar-brand page-scroll" href="#page-top">
-                    <i class="fa fa-play-circle"></i> <span class="light">Start</span> Bootstrap
+                                   <jdoc:include type="modules" name="brand" style="none" />
+                    <!--<i class="fa fa-play-circle"></i> <span class="light">Start</span> Bootstrap-->
                 </a>
             </div>
 
@@ -76,12 +77,8 @@ $templateUrl = $document->baseurl . '/templates/' . $document->template;
             <div class="container">
                 <div class="row">
                     <div class="col-md-8 col-md-offset-2">
-                        <h1 class="brand-heading">Grayscale</h1>
-                        <p class="intro-text">A free, responsive, one page Bootstrap theme.
-                            <br>Created by Start Bootstrap.</p>
-                        <a href="#about" class="btn btn-circle page-scroll">
-                            <i class="fa fa-angle-double-down animated"></i>
-                        </a>
+                        <jdoc:include type="modules" name="header" style="bootheader" />
+                        <a href="#about" class="btn btn-circle page-scroll"><i class="fa fa-angle-double-down animated"></i></a>
                     </div>
                 </div>
             </div>
index 9b30484..4185391 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <install type="template" version="3.1" format="bootstrap">
-  <name>bootstrap_cerulean</name>
-  <creationDate>2014-03-27</creationDate>
+  <name>bs_single_gray</name>
+  <creationDate>2017-03-18</creationDate>
   <version>1.0</version>
   <author></author>
   <authorUrl></authorUrl>