summaryrefslogtreecommitdiff
path: root/common_methods.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-10-29 10:30:15 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-10-29 10:30:15 -0200
commitfb951546d0e88063b8bb4cfb986bd12bea33f58b (patch)
tree3b5277a8822bf3e6a4b566ed5ec9d705f4e3ed99 /common_methods.php
parenteac7d74c809f6297c953823222708d997f342b01 (diff)
downloadnuvemdario-fb951546d0e88063b8bb4cfb986bd12bea33f58b.tar.gz
nuvemdario-fb951546d0e88063b8bb4cfb986bd12bea33f58b.tar.bz2
Custom common methods
Diffstat (limited to 'common_methods.php')
-rw-r--r--common_methods.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/common_methods.php b/common_methods.php
index 78306c6..958b4e2 100644
--- a/common_methods.php
+++ b/common_methods.php
@@ -173,7 +173,7 @@ function nuvemdario_terms_worker($terms) {
$terms = get_terms_D7($content);
if (!empty($terms)) {
ob_start();?>
- <img class="b2-metadata-icon" src="<?php echo get_full_path_to_theme(); ?>/images/posttagicon.png" width="16" height="16" alt="" /> <?php
+ <img class="b2-metadata-icon" src="<?php echo nuvemdario_get_full_path_to_theme(); ?>/images/posttagicon.png" width="16" height="16" alt="" /> <?php
$result .= ($result == '') ? ob_get_clean() : '&nbsp;|&nbsp;' . ob_get_clean();
$result .= '<div class="b2-tags">' . render($terms) . '</div>';
}
@@ -231,7 +231,7 @@ if (strpos ($key, "comment") !== FALSE) {
$output .= '&nbsp;|&nbsp;';
}
ob_start();?>
- <img class="b2-metadata-icon" src="<?php echo get_full_path_to_theme(); ?>/images/postcommentsicon.png" width="16" height="16" alt="" /> <?php
+ <img class="b2-metadata-icon" src="<?php echo nuvemdario_get_full_path_to_theme(); ?>/images/postcommentsicon.png" width="16" height="16" alt="" /> <?php
$output .= ob_get_clean();
$output .= $link_output;
$index++;
@@ -242,7 +242,7 @@ if ($index > 0 && !empty($link_output) && !empty($output)) {
$output .= '&nbsp|&nbsp';
}
ob_start();?>
- <img class="b2-metadata-icon" src="<?php echo get_full_path_to_theme(); ?>/images/postcategoryicon.png" width="16" height="16" alt="" /> <?php
+ <img class="b2-metadata-icon" src="<?php echo nuvemdario_get_full_path_to_theme(); ?>/images/postcategoryicon.png" width="16" height="16" alt="" /> <?php
$output .= ob_get_clean();
$output .= $link_output;
$index++;
@@ -405,14 +405,14 @@ function nuvemdario_submitted_worker($date, $author) {
$output = '';
if ($date != '') {
ob_start();?>
- <img class="b2-metadata-icon" src="<?php echo get_full_path_to_theme(); ?>/images/postdateicon.png" width="16" height="16" alt="" /> <?php
+ <img class="b2-metadata-icon" src="<?php echo nuvemdario_get_full_path_to_theme(); ?>/images/postdateicon.png" width="16" height="16" alt="" /> <?php
$output .= ob_get_clean();
$output .= $date;
}
if ($author != '') {
ob_start();?>
- <img class="b2-metadata-icon" src="<?php echo get_full_path_to_theme(); ?>/images/postauthoricon.png" width="16" height="16" alt="" /> <?php if ($output != '') {
+ <img class="b2-metadata-icon" src="<?php echo nuvemdario_get_full_path_to_theme(); ?>/images/postauthoricon.png" width="16" height="16" alt="" /> <?php if ($output != '') {
$output .= '&nbsp;|&nbsp;';
}
$output .= ob_get_clean();