source: branches/version-2_13-dev/data/Smarty/templates/sphone/abouts/index.tpl @ 23002

Revision 23002, 4.0 KB checked in by Yammy, 11 years ago (diff)

スマートフォンテンプレート下部にある検索エリアを
共通テンプレート化して、includeするように修正

refs #2257

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
RevLine 
[19713]1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
[22206]5 * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved.
[19713]6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
[21533]24
[21050]25<section id="undercolumn">
[21533]26    <!--☆当サイトについて -->
27    <h2 class="title"><!--{$tpl_title|h}--></h2>
[19713]28
[21533]29    <dl class="form_info">
[22824]30        <!--{if strlen($arrSiteInfo.shop_name)}-->
[21533]31            <dt>店名</dt>
[22824]32            <dd><!--{$arrSiteInfo.shop_name|h}--></dd>
[21533]33        <!--{/if}-->
[19713]34
[22824]35        <!--{if strlen($arrSiteInfo.company_name)}-->
[21533]36            <dt>会社名</dt>
[22824]37            <dd><!--{$arrSiteInfo.company_name|h}--></dd>
[21533]38        <!--{/if}-->
[19713]39
[22824]40        <!--{if strlen($arrSiteInfo.zip01)}-->
[21719]41            <dt>所在地</dt>
[22824]42            <dd>〒<!--{$arrSiteInfo.zip01|h}-->-<!--{$arrSiteInfo.zip02|h}--><br />
43                <!--{$arrPref[$arrSiteInfo.pref]|h}--><!--{$arrSiteInfo.addr01|h}--><!--{$arrSiteInfo.addr02|h}--></dd>
[21533]44        <!--{/if}-->
[19713]45
[22824]46        <!--{if strlen($arrSiteInfo.tel01)}-->
[21533]47            <dt>電話番号</dt>
[22824]48            <dd><!--{$arrSiteInfo.tel01|h}-->-<!--{$arrSiteInfo.tel02|h}-->-<!--{$arrSiteInfo.tel03|h}--></dd>
[21533]49        <!--{/if}-->
[19713]50
[22824]51        <!--{if strlen($arrSiteInfo.fax01)}-->
[21533]52            <dt>FAX番号</dt>
[22824]53            <dd><!--{$arrSiteInfo.fax01|h}-->-<!--{$arrSiteInfo.fax02|h}-->-<!--{$arrSiteInfo.fax03|h}--></dd>
[21533]54        <!--{/if}-->
[19713]55
[22824]56        <!--{if strlen($arrSiteInfo.email02)}-->
[21533]57            <dt>メールアドレス</dt>
[22824]58            <dd><a href="mailto:<!--{$arrSiteInfo.email02|escape:'hex'}-->" rel="external"><!--{$arrSiteInfo.email02|escape:'hexentity'}--></a></dd>
[21533]59        <!--{/if}-->
[19713]60
[22824]61        <!--{if strlen($arrSiteInfo.business_hour)}-->
[21533]62            <dt>営業時間</dt>
[22824]63            <dd><!--{$arrSiteInfo.business_hour|h}--></dd>
[21533]64        <!--{/if}-->
[19713]65
[22824]66        <!--{if strlen($arrSiteInfo.good_traded)}-->
[21533]67            <dt>取扱商品</dt>
[22824]68            <dd><!--{$arrSiteInfo.good_traded|h|nl2br}--></dd>
[21533]69        <!--{/if}-->
[19713]70
[22824]71        <!--{if strlen($arrSiteInfo.message)}-->
[21533]72            <dt>メッセージ</dt>
[22824]73            <dd><!--{$arrSiteInfo.message|h|nl2br}--></dd>
[21533]74        <!--{/if}-->
75    </dl>
[19713]76
[22825]77    <!--{if strlen($arrSiteInfo.latitude) >= 1 && strlen($arrSiteInfo.longitude) >= 1}-->
78        <script src="//maps.google.com/maps/api/js?sensor=false"></script>
79        <script type="text/javascript">//<![CDATA[
80            $(function() {
81                $("#maps").css({
82                    'margin-top': '15px',
83                    'margin-left': 'auto',
84                    'margin-right': 'auto',
85                    'width': '98%',
86                    'height': '300px'
87                });
88                var lat = "<!--{$arrSiteInfo.latitude|escape:'javascript'}-->";
89                var lng = "<!--{$arrSiteInfo.longitude|escape:'javascript'}-->";
90                var latlng = new google.maps.LatLng(lat, lng);
91                var mapOptions = {
92                    zoom: 15,
93                    center: latlng,
94                    mapTypeId: google.maps.MapTypeId.ROADMAP
95                };
96                var map = new google.maps.Map($("#maps").get(0), mapOptions);
97                var marker = new google.maps.Marker({map: map, position: latlng});
98            });
99        //]]></script>
100        <div id="maps"></div>
101    <!--{/if}-->
[21050]102</section>
[21533]103
[23002]104<!--{include file= 'frontparts/search_area.tpl'}-->
[21533]105
Note: See TracBrowser for help on using the repository browser.