Ticket #133: skin.patch
| File skin.patch, 7.6 KB (added by idiot, 22 months ago) |
|---|
-
developer/block.tags.tpl
1 1 <div class="block"> 2 2 <ul class="cloud"> 3 3 {foreach from=$aTags item=oTag} 4 <li><a class="w{$oTag->getSize()}" rel="tag" href="{router page='tag'}{$oTag->getText()|escape:' html'}/">{$oTag->getText()|escape:'html'}</a></li>4 <li><a class="w{$oTag->getSize()}" rel="tag" href="{router page='tag'}{$oTag->getText()|escape:'url'}/">{$oTag->getText()|escape:'html'}</a></li> 5 5 {/foreach} 6 6 </ul> 7 7 </div> 8 No newline at end of file -
developer/block.tagsCountry.tpl
3 3 <h2>{$aLang.block_country_tags}</h2> 4 4 <ul class="cloud"> 5 5 {foreach from=$aCountryList item=aCountry} 6 <li><a class="w{$aCountry.size}" rel="tag" href="{router page='people'}country/{$aCountry.name|escape:' html'}/">{$aCountry.name|escape:'html'}</a></li>6 <li><a class="w{$aCountry.size}" rel="tag" href="{router page='people'}country/{$aCountry.name|escape:'url'}/">{$aCountry.name|escape:'html'}</a></li> 7 7 {/foreach} 8 8 </ul> 9 9 </div> -
developer/topic.tpl
65 65 66 66 <ul class="tags"> 67 67 {foreach from=$oTopic->getTagsArray() item=sTag name=tags_list} 68 <li><a href="{router page='tag'}{$sTag|escape:' html'}/">{$sTag|escape:'html'}</a>{if !$smarty.foreach.tags_list.last}, {/if}</li>68 <li><a href="{router page='tag'}{$sTag|escape:'url'}/">{$sTag|escape:'html'}</a>{if !$smarty.foreach.tags_list.last}, {/if}</li> 69 69 {/foreach} 70 70 </ul> 71 71 -
developer/actions/ActionTag/index.tpl
4 4 {literal} 5 5 <script> 6 6 function submitTags(sTag) { 7 window.location=DIR_WEB_ROOT+'/tag/'+ sTag+'/';7 window.location=DIR_WEB_ROOT+'/tag/'+encodeURIComponent(sTag)+'/'; 8 8 return false; 9 9 } 10 10 </script> -
developer/block.tagsCity.tpl
3 3 <h2>{$aLang.block_city_tags}</h2> 4 4 <ul class="cloud"> 5 5 {foreach from=$aCityList item=aCity} 6 <li><a class="w{$aCity.size}" rel="tag" href="{router page='people'}city/{$aCity.name|escape:' html'}/" >{$aCity.name|escape:'html'}</a></li>6 <li><a class="w{$aCity.size}" rel="tag" href="{router page='people'}city/{$aCity.name|escape:'url'}/" >{$aCity.name|escape:'html'}</a></li> 7 7 {/foreach} 8 8 </ul> 9 9 </div> -
new/block.tags.tpl
4 4 5 5 <ul class="cloud"> 6 6 {foreach from=$aTags item=oTag} 7 <li><a class="w{$oTag->getSize()}" rel="tag" href="{router page='tag'}{$oTag->getText()|escape:' html'}/">{$oTag->getText()|escape:'html'}</a></li>7 <li><a class="w{$oTag->getSize()}" rel="tag" href="{router page='tag'}{$oTag->getText()|escape:'url'}/">{$oTag->getText()|escape:'html'}</a></li> 8 8 {/foreach} 9 9 </ul> 10 10 -
new/block.tagsCountry.tpl
5 5 <h1>{$aLang.block_country_tags}</h1> 6 6 <ul class="cloud"> 7 7 {foreach from=$aCountryList item=aCountry} 8 <li><a class="w{$aCountry.size}" rel="tag" href="{router page='people'}country/{$aCountry.name|escape:' html'}/">{$aCountry.name|escape:'html'}</a></li>8 <li><a class="w{$aCountry.size}" rel="tag" href="{router page='people'}country/{$aCountry.name|escape:'url'}/">{$aCountry.name|escape:'html'}</a></li> 9 9 {/foreach} 10 10 </ul> 11 11 </div></div> -
new/topic.tpl
53 53 </div> 54 54 <ul class="tags"> 55 55 {foreach from=$oTopic->getTagsArray() item=sTag name=tags_list} 56 <li><a href="{router page='tag'}{$sTag|escape:' html'}/">{$sTag|escape:'html'}</a>{if !$smarty.foreach.tags_list.last}, {/if}</li>56 <li><a href="{router page='tag'}{$sTag|escape:'url'}/">{$sTag|escape:'html'}</a>{if !$smarty.foreach.tags_list.last}, {/if}</li> 57 57 {/foreach} 58 58 </ul> 59 59 <ul class="voting {if $oVote || ($oUserCurrent && $oTopic->getUserId()==$oUserCurrent->getId())|| strtotime($oTopic->getDateAdd())<$smarty.now-$oConfig->GetValue('acl.vote.topic.limit_time')}{if $oTopic->getRating()>0}positive{elseif $oTopic->getRating()<0}negative{/if}{/if} {if !$oUserCurrent || $oTopic->getUserId()==$oUserCurrent->getId() || strtotime($oTopic->getDateAdd())<$smarty.now-$oConfig->GetValue('acl.vote.topic.limit_time')}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{elseif $oVote->getDirection()<0}minus{/if}{/if}"> -
new/actions/ActionTag/index.tpl
3 3 {literal} 4 4 <script> 5 5 function submitTags(sTag) { 6 window.location=DIR_WEB_ROOT+'/tag/'+ sTag+'/';6 window.location=DIR_WEB_ROOT+'/tag/'+encodeURIComponent(sTag)+'/'; 7 7 return false; 8 8 } 9 9 </script> -
new/topic_list.tpl
64 64 </div> 65 65 <ul class="tags"> 66 66 {foreach from=$oTopic->getTagsArray() item=sTag name=tags_list} 67 <li><a href="{router page='tag'}{$sTag|escape:' html'}/">{$sTag|escape:'html'}</a>{if !$smarty.foreach.tags_list.last}, {/if}</li>67 <li><a href="{router page='tag'}{$sTag|escape:'url'}/">{$sTag|escape:'html'}</a>{if !$smarty.foreach.tags_list.last}, {/if}</li> 68 68 {/foreach} 69 69 </ul> 70 70 <ul class="voting {if $oVote || ($oUserCurrent && $oTopic->getUserId()==$oUserCurrent->getId()) || strtotime($oTopic->getDateAdd())<$smarty.now-$oConfig->GetValue('acl.vote.topic.limit_time')}{if $oTopic->getRating()>0}positive{elseif $oTopic->getRating()<0}negative{/if}{/if} {if !$oUserCurrent || $oTopic->getUserId()==$oUserCurrent->getId() || strtotime($oTopic->getDateAdd())<$smarty.now-$oConfig->GetValue('acl.vote.topic.limit_time')}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{elseif $oVote->getDirection()<0}minus{/if}{/if}"> -
new/block.tagsCity.tpl
5 5 <h1>{$aLang.block_city_tags}</h1> 6 6 <ul class="cloud"> 7 7 {foreach from=$aCityList item=aCity} 8 <li><a class="w{$aCity.size}" rel="tag" href="{router page='people'}city/{$aCity.name|escape:' html'}/" >{$aCity.name|escape:'html'}</a></li>8 <li><a class="w{$aCity.size}" rel="tag" href="{router page='people'}city/{$aCity.name|escape:'url'}/" >{$aCity.name|escape:'html'}</a></li> 9 9 {/foreach} 10 10 </ul> 11 11 </div></div>
