diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/head.tpl | 20 | ||||
-rw-r--r-- | view/search_item.tpl | 3 | ||||
-rw-r--r-- | view/wall_item.tpl | 2 | ||||
-rw-r--r-- | view/wallwall_item.tpl | 2 |
4 files changed, 24 insertions, 3 deletions
diff --git a/view/head.tpl b/view/head.tpl index 78e2a2abc..fbe2ded83 100644 --- a/view/head.tpl +++ b/view/head.tpl @@ -26,6 +26,7 @@ <script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script> <script type="text/javascript" src="$baseurl/js/fk.autocomplete.js" ></script> <script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script> +<script type="text/javascript" src="$baseurl/library/jquery.timeago.js"></script> <script type="text/javascript" src="$baseurl/library/tiptip/jquery.tipTip.minified.js"></script> <script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script> <script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script> @@ -104,6 +105,25 @@ } } + // jquery.timeago localisations + + var t01 = $t01 ; + var t02 = $t02 ; + var t03 = "$t03" ; + var t04 = "$t04" ; + var t05 = "$t05" ; + var t06 = "$t06" ; + var t07 = "$t07" ; + var t08 = "$t08" ; + var t09 = "$t09" ; + var t10 = "$t10" ; + var t11 = "$t11" ; + var t12 = "$t12" ; + var t13 = "$t13" ; + var t14 = "$t14" ; + var t15 = "$t15" ; + var t16 = "$t16" ; + var t17 = $t17 ; </script> diff --git a/view/search_item.tpl b/view/search_item.tpl index 8089d306e..e13c1e5a7 100644 --- a/view/search_item.tpl +++ b/view/search_item.tpl @@ -23,7 +23,8 @@ </div> <div class="wall-item-author"> <a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a> - <div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div> + + <div id="wall-item-ago-$item.id" class="wall-item-ago"><abbr class="wall-item-ago-time" title="$item.localtime">$item.ago</abbr>{{ if $item.app }}<span class="item.app">$item.str_app</span>{{ endif }}</div> </div> <div class="wall-item-content" id="wall-item-content-$item.id" > diff --git a/view/wall_item.tpl b/view/wall_item.tpl index 60dde7600..2510a8c0d 100644 --- a/view/wall_item.tpl +++ b/view/wall_item.tpl @@ -24,7 +24,7 @@ </div> <div class="wall-item-author"> <a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a> - <div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div> + <div id="wall-item-ago-$item.id" class="wall-item-ago"><abbr class="wall-item-ago-time" title="$item.localtime">$item.ago</abbr>{{ if $item.app }}<span class="item.app">$item.str_app</span>{{ endif }}</div> </div> <div class="wall-item-content" id="wall-item-content-$item.id" > diff --git a/view/wallwall_item.tpl b/view/wallwall_item.tpl index b7cca3fab..478df8e88 100644 --- a/view/wallwall_item.tpl +++ b/view/wallwall_item.tpl @@ -29,7 +29,7 @@ </div> <div class="wall-item-author"> <a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a> $item.to <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall<br /> - <div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div> + <div id="wall-item-ago-$item.id" class="wall-item-ago"><abbr class="wall-item-ago-time" title="$item.localtime">$item.ago</abbr>{{ if $item.app }}<span class="item.app">$item.str_app</span>{{ endif }}</div> </div> <div class="wall-item-content" id="wall-item-content-$item.id" > <div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div> |