Changeset 15259 for branches


Ignore:
Timestamp:
2007/08/09 15:15:42 (17 years ago)
Author:
nanasess
Message:

sfIfHTTPS を Smarty 関数へ変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/html/install/user_data/include/bloc/login.tpl

    r15079 r15259  
    66<!--▼ログインここから--> 
    77<!--{if $smarty.post.url == ""}--> 
    8     <!--{if sfIsHTTPS()}--> 
    9         <!--{assign var=url value="https://`$smarty.server.HTTP_HOST``$smarty.server.REQUEST_URI`"}--> 
    10     <!--{else}--> 
    11         <!--{assign var=url value="http://`$smarty.server.HTTP_HOST``$smarty.server.REQUEST_URI`"}--> 
    12     <!--{/if}--> 
     8    <!--{if sfIsHTTPS}--> 
     9        <!--{assign var=url value="https://`$smarty.server.HTTP_HOST``$smarty.server.REQUEST_URI`"}--> 
     10    <!--{else}--> 
     11        <!--{assign var=url value="http://`$smarty.server.HTTP_HOST``$smarty.server.REQUEST_URI`"}--> 
     12    <!--{/if}--> 
    1313<!--{else}--> 
    14     <!--{assign var=url value="`$smarty.post.url`"}--> 
     14    <!--{assign var=url value="`$smarty.post.url`"}--> 
    1515<!--{/if}--> 
    1616<table width="166" border="0" cellspacing="0" cellpadding="0" summary=" "> 
     
    1818<input type="hidden" name="mode" value="login"> 
    1919<input type="hidden" name="url" value="<!--{$url|escape}-->"> 
    20     <tr> 
    21         <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/side/title_login.jpg" width="166" height="35" alt="ログイン"></td> 
    22     </tr> 
    23     <tr> 
    24         <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> 
    25         <td align="center" bgcolor="#ffffff"> 
    26         <!--ログインフォーム--> 
    27         <table width="146" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    28             <tr> 
    29                 <td height="10"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="50" height="1" alt=""></td> 
    30                 <td><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="96" height="1" alt=""></td> 
    31             </tr> 
    32             <!--{if $tpl_login}--> 
    33                 <tr> 
    34                     <td align="center" colspan="3" class="fs12">ようこそ <br> <!--{$tpl_name1|escape}--> <!--{$tpl_name2|escape}--> 様<br /> 
    35                     所持ポイント:<span class="redst"> <!--{$tpl_user_point|number_format|default:0}--> pt</span></td> 
    36                 </tr> 
    37                 <!--{if !$tpl_disable_logout}--> 
    38                 <tr> 
    39                     <td colspan="3" align="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnFormModeSubmit('login_form', 'logout', '', ''); return false;"><img src="<!--{$smarty.const.URL_DIR}-->img/header/logout.gif" width="44" height="21" alt="ログアウト" /></a></td> 
    40                 </tr> 
    41                 <!--{/if}--> 
    42             <!--{else}--> 
    43                 <tr> 
    44                     <td><img src="<!--{$smarty.const.URL_DIR}-->img/side/icon_mail.gif" width="40" height="21" alt="メールアドレス"></td> 
    45                     <td><input type="text" name="login_email" value="<!--{$tpl_login_email|escape}-->" size="10" class="box10" /></td> 
    46                 </tr> 
    47                 <tr><td height="5"></td></tr> 
    48                 <tr> 
    49                     <td><img src="<!--{$smarty.const.URL_DIR}-->img/side/icon_pw.gif" width="40" height="22" alt="パスワード"></td> 
    50                     <td><input type="password" name="login_pass" size="12" class="box12" /></td> 
    51                 </tr> 
    52                 <tr><td height="5"></td></tr> 
    53                 <tr> 
    54                     <td colspan="2" class="fs10n" align="right"><a href="<!--{$smarty.const.SSL_URL|sfTrimURL}-->/forgot/index.php" onclick="win01('<!--{$smarty.const.SSL_URL|sfTrimURL}-->/forgot/index.php','forget','600','400'); return false;" target="_blank">パスワードを忘れた方はこちら</a></td> 
    55                 </tr> 
    56                 <tr><td height="10"></td></tr> 
    57                 <tr> 
    58                     <td width="50"><input type="checkbox" name="login_memory" value="1" <!--{$tpl_login_memory|sfGetChecked:1}-->/><img src="<!--{$smarty.const.URL_DIR}-->img/header/memory.gif" width="18" height="9" alt="記憶" /></td> 
    59                     <td align="center"><input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/side/button_login_on.gif',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/side/button_login.gif',this)" src="<!--{$smarty.const.URL_DIR}-->img/side/button_login.gif" width="51" height="22" alt="ログイン" border="0" name="subm"></td> 
    60                 </tr> 
    61             <!--{/if}--> 
    62         </table> 
    63         <!--ログインフォーム--> 
    64         </td> 
    65         <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> 
    66     </tr> 
    67     <tr> 
    68         <td colspan="3" height="14"><img src="<!--{$smarty.const.URL_DIR}-->img/side/flame_bottom03.gif" width="166" height="15" alt=""></td> 
    69     </tr> 
    70     <tr><td height="10"></td></tr> 
     20    <tr> 
     21        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/side/title_login.jpg" width="166" height="35" alt="ログイン"></td> 
     22    </tr> 
     23    <tr> 
     24        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> 
     25        <td align="center" bgcolor="#ffffff"> 
     26        <!--ログインフォーム--> 
     27        <table width="146" border="0" cellspacing="0" cellpadding="0" summary=" "> 
     28            <tr> 
     29                <td height="10"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="50" height="1" alt=""></td> 
     30                <td><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="96" height="1" alt=""></td> 
     31            </tr> 
     32            <!--{if $tpl_login}--> 
     33                <tr> 
     34                    <td align="center" colspan="3" class="fs12">ようこそ <br> <!--{$tpl_name1|escape}--> <!--{$tpl_name2|escape}--> 様<br /> 
     35                    所持ポイント:<span class="redst"> <!--{$tpl_user_point|number_format|default:0}--> pt</span></td> 
     36                </tr> 
     37                <!--{if !$tpl_disable_logout}--> 
     38                <tr> 
     39                    <td colspan="3" align="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnFormModeSubmit('login_form', 'logout', '', ''); return false;"><img src="<!--{$smarty.const.URL_DIR}-->img/header/logout.gif" width="44" height="21" alt="ログアウト" /></a></td> 
     40                </tr> 
     41                <!--{/if}--> 
     42            <!--{else}--> 
     43                <tr> 
     44                    <td><img src="<!--{$smarty.const.URL_DIR}-->img/side/icon_mail.gif" width="40" height="21" alt="メールアドレス"></td> 
     45                    <td><input type="text" name="login_email" value="<!--{$tpl_login_email|escape}-->" size="10" class="box10" /></td> 
     46                </tr> 
     47                <tr><td height="5"></td></tr> 
     48                <tr> 
     49                    <td><img src="<!--{$smarty.const.URL_DIR}-->img/side/icon_pw.gif" width="40" height="22" alt="パスワード"></td> 
     50                    <td><input type="password" name="login_pass" size="12" class="box12" /></td> 
     51                </tr> 
     52                <tr><td height="5"></td></tr> 
     53                <tr> 
     54                    <td colspan="2" class="fs10n" align="right"><a href="<!--{$smarty.const.SSL_URL|sfTrimURL}-->/forgot/index.php" onclick="win01('<!--{$smarty.const.SSL_URL|sfTrimURL}-->/forgot/index.php','forget','600','400'); return false;" target="_blank">パスワードを忘れた方はこちら</a></td> 
     55                </tr> 
     56                <tr><td height="10"></td></tr> 
     57                <tr> 
     58                    <td width="50"><input type="checkbox" name="login_memory" value="1" <!--{$tpl_login_memory|sfGetChecked:1}-->/><img src="<!--{$smarty.const.URL_DIR}-->img/header/memory.gif" width="18" height="9" alt="記憶" /></td> 
     59                    <td align="center"><input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/side/button_login_on.gif',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/side/button_login.gif',this)" src="<!--{$smarty.const.URL_DIR}-->img/side/button_login.gif" width="51" height="22" alt="ログイン" border="0" name="subm"></td> 
     60                </tr> 
     61            <!--{/if}--> 
     62        </table> 
     63        <!--ログインフォーム--> 
     64        </td> 
     65        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> 
     66    </tr> 
     67    <tr> 
     68        <td colspan="3" height="14"><img src="<!--{$smarty.const.URL_DIR}-->img/side/flame_bottom03.gif" width="166" height="15" alt=""></td> 
     69    </tr> 
     70    <tr><td height="10"></td></tr> 
    7171</form> 
    7272</table> 
Note: See TracChangeset for help on using the changeset viewer.