新月の開発

b91c5503 :Anonymous 2010-05-11 00:34
つまりこういうことだな。
# sdiff -w 160 top.txt_org top.txt
#* Saku Gateway Toppage. #* Saku Gateway Toppage.
* Copyright (c) 2005-2007 shinGETsu Project. * Copyright (c) 2005-2007 shinGETsu Project.
* $Id: top.txt 1387 2007-04-29 13:22:00Z fuktommy $ * $Id: top.txt 1387 2007-04-29 13:22:00Z fuktommy $
*# *#
<ul class="topmenu"> <ul class="topmenu">
#for $i in ('changes', 'index') #for $i in ('changes', 'index')
<li>$gateway_link($gateway_cgi, $i)</li> <li>$gateway_link($gateway_cgi, $i)</li>
#end for #end for
#if $isfriend or $isadmin #if $isfriend or $isadmin
#for $i in ('recent', 'new') #for $i in ('recent', 'new')
<li>$gateway_link($gateway_cgi, $i)</li> <li>$gateway_link($gateway_cgi, $i)</li>
#end for #end for
#end if #end if
#if $archive_uri: #if $archive_uri:
<li><a href="$archive_uri">$message['archive']</a></li> <li><a href="$archive_uri">$message['archive']</a></li>
#end if #end if
#if $isadmin #if $isadmin
#for $i in ('search', 'status') #for $i in ('search', 'status')
<li>$gateway_link($admin_cgi, $i)</li> <li>$gateway_link($admin_cgi, $i)</li>
#end for #end for
#end if #end if
<li><a href="$mobile_cgi">$message['mobile']</a></li> <li><a href="$mobile_cgi">$message['mobile']</a></li>
<li><a href="http://shingetsu.info/">$message['site']</a> <li><a href="http://shingetsu.info/">$message['site']</a>
<li><a href="$gateway_cgi/motd">$message['agreement']</a></li> <li><a href="$gateway_cgi/motd">$message['agreement']</a></li>
<li><a href="$gateway_cgi/rss">$message['rss']</a></li> <li><a href="$gateway_cgi/rss">$message['rss']</a></li>
</ul> </ul>

<h2>$message['recent_changes']</h2> <h2>$message['recent_changes']</h2>
<ul id="top_index"> <ul id="top_index">
#for $cache in $cachelist | #for $type in $types
$make_list_item($cache, remove=False, target=$target) | #for $cache in $cachelist
> #if $cache.type == $type
> $make_list_item($cache, remove=False, target=$target)
> #end if
> #end for
#end for #end for
</ul> </ul>

<p class="tags"> <p class="tags">
#for $t in $taglist #for $t in $taglist
<a href="$gateway_cgi/$target?tag=$str_encode($t)" class="tag">$t</a> <a href="$gateway_cgi/$target?tag=$str_encode($t)" class="tag">$t</a>
#end for #end for
</p> </p>
Powered by shinGETsu.