d3pipesのテンプレートの変更 anchor.png

d3pipes_block_sync.html の日時表示形式が気に入らないので変更。

変更前

Everything is expanded.Everything is shortened.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
 
 
 
 
 
 
 
 
 
 
<li>
    <{$smarty.const._MEDIUMDATESTRING|date:$entry.pubtime+$timezone_offset}>
    <{if $entry.clipping_id && $block.link2clipping}>
        <a href="<{$block.mod_url}>/index.php?page=clipping&amp;clipping_id=<{$entry.clipping_id}>"><{$entry_headline4disp}></a>
    <{else}>
        <a href="<{$entry.link|escape}>"><{$entry_headline4disp}></a>
    <{/if}>
    <{if $entry.pipe.name}>
        (<{$entry.pipe.name}>)
    <{/if}>
</li>

変更後

Everything is expanded.Everything is shortened.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<li>
    <{* <{$smarty.const._MEDIUMDATESTRING|date:$entry.pubtime+$timezone_offset}> *}>
    <{if $entry.clipping_id && $block.link2clipping}>
        <a href="<{$block.mod_url}>/index.php?page=clipping&amp;clipping_id=<{$entry.clipping_id}>"><{$entry_headline4disp}></a>
    <{else}>
        <a href="<{$entry.link|escape}>"><{$entry_headline4disp}></a>
    <{/if}>
    <span style="font-style: italic;">
    <{if $entry.pipe.name}>
        <{* (<{$entry.pipe.name}>) *}>
         by <{$entry.pipe.name}>
    <{/if}>
    at <{"Y/m/d H:i "|date:$entry.pubtime+$timezone_offset}>
</span>
</li>

コメント一覧Leave a reply

Comment

新しくコメントをつける

題名
ゲスト名   :
投稿本文
より詳細なコメント入力フォームへ

Front page   Freeze Diff Backup Copy Rename ReloadPrint View   New Page Page list Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom) Powered by xpWiki
Counter: 78, today: 1, yesterday: 2
Princeps date: 2012-01-11 (Wed) 00:47:33
Last-modified: 2012-01-11 (Wed) 01:00:02 (JST) (43d) by gokuraku

ログイン

ユーザ名:

パスワード:



パスワード紛失

新規登録

ad by google