+<a name="$item.id" ></a>
<div class="wall-item-outside-wrapper $item.indent$item.previewing" id="wall-item-outside-wrapper-$item.id" >
<div class="wall-item-content-wrapper $item.indent" id="wall-item-content-wrapper-$item.id" >
<div class="wall-item-info" id="wall-item-info-$item.id">
</div>
<div class="wall-item-author">
<a href="$item.profile_url" 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 class="wall-item-ago" id="wall-item-ago-$item.id" title="$item.localtime">$item.ago</div>
</div>
/*
* Name: Smoothly
* Description: Like coffee with milk. Theme works fine with iPad[2].
- * Version: Version 0.9.20-3
+ * Version: Version 0.9.24-1
* Author: Alex <https://friendica.pixelbits.de/profile/alex>
* Maintainer: Alex <https://friendica.pixelbits.de/profile/alex>
* Screenshot: <a href="screenshot.png">Screenshot</a>
*/
+$a = get_app();
$a->theme_info = array();
function smoothly_init(&$a) {
+ $cssFile = null;
+ $ssl_state = null;
+ $baseurl = $a->get_baseurl($ssl_state);
$a->page['htmlhead'] .= <<< EOT
<script>
</script>
EOT;
- // custom css
- if (!is_null($cssFile)) {
+ /** custom css **/
+ if (!is_null($cssFile)) {
$a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
- }
+ }
_js_in_foot();
/** @purpose insert stuff in bottom of page
*/
$a = get_app();
+ $ssl_state = null;
$baseurl = $a->get_baseurl($ssl_state);
$bottom['$baseurl'] = $baseurl;
$tpl = file_get_contents(dirname(__file__) . '/bottom.tpl');
<span class='tag'>$tag</span>
{{ endfor }}
</div>
+
+ {{ if $item.has_cats }}
+ <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name
+ <a href="$cat.removeurl" title="$remove">[$remove]</a>
+ {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ </div>
+ {{ endif }}
+
+ {{ if $item.has_folders }}
+ <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name
+ <a href="$cat.removeurl" title="$remove">[$remove]</a>
+ {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ </div>
+ {{ endif }}
</div>
</div>
<div class="wall-item-social" id="wall-item-social-$item.id">
</div>
<div class="wall-item-author">
- <a href="$item.profile_url" 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>
+ <a href="$item.profile_url" 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" title="$item.localtime">$item.ago</div>
</div>
</div>
<a href="$item.profile_url" 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 class="wall-item-ago">•</div>
+ <div class="wall-item-ago" id="wall-item-ago-$item.id" title="$item.localtime">$item.ago</div>
</div>
<div>
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
<div class="wall-item-title-end"></div>
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
- <div class="body-tag">
- {{ for $item.tags as $tag }}
- <span class='tag'>$tag</span>
- {{ endfor }}
- </div>
+ <div class="body-tag">
+ {{ for $item.tags as $tag }}
+ <span class='tag'>$tag</span>
+ {{ endfor }}
+ </div>
+
+ {{ if $item.has_cats }}
+ <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name
+ <a href="$cat.removeurl" title="$remove">[$remove]</a>
+ {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ </div>
+ {{ endif }}
+
+ {{ if $item.has_folders }}
+ <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name
+ <a href="$cat.removeurl" title="$remove">[$remove]</a>
+ {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ </div>
+ {{ endif }}
</div>
</div>
<!--
<span class='tag'>$tag</span>
{{ endfor }}
</div>
+
+ {{ if $item.has_cats }}
+ <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name
+ <a href="$cat.removeurl" title="$remove">[$remove]</a>
+ {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ </div>
+ {{ endif }}
+
+ {{ if $item.has_folders }}
+ <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name
+ <a href="$cat.removeurl" title="$remove">[$remove]</a>
+ {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ </div>
+ {{ endif }}
</div>
</div>
<a href="$item.profile_url" 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 class="wall-item-ago" id="wall-item-ago-$item.id" title="$item.localtime">$item.ago</div>
</div>
</div>
<div class="wall-item-wrapper-end"></div>
<a href="$item.profile_url" 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 class="wall-item-ago">•</div>
+ <div class="wall-item-ago" id="wall-item-ago-$item.id" title="$item.localtime">$item.ago</div>
</div>
<div>
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
<div class="wall-item-title-end"></div>
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
- <div class="body-tag">
- {{ for $item.tags as $tag }}
- <span class='tag'>$tag</span>
- {{ endfor }}
- </div>
+ <div class="body-tag">
+ {{ for $item.tags as $tag }}
+ <span class='tag'>$tag</span>
+ {{ endfor }}
+ </div>
+
+ {{ if $item.has_cats }}
+ <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name
+ <a href="$cat.removeurl" title="$remove">[$remove]</a>
+ {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ </div>
+ {{ endif }}
+
+ {{ if $item.has_folders }}
+ <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name
+ <a href="$cat.removeurl" title="$remove">[$remove]</a>
+ {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ </div>
+ {{ endif }}
</div>
</div>
<div class="wall-item-social" id="wall-item-social-$item.id">