diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-10-29 10:30:15 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-10-29 10:30:15 -0200 |
commit | fb951546d0e88063b8bb4cfb986bd12bea33f58b (patch) | |
tree | 3b5277a8822bf3e6a4b566ed5ec9d705f4e3ed99 /common_methods.php | |
parent | eac7d74c809f6297c953823222708d997f342b01 (diff) | |
download | nuvemdario-fb951546d0e88063b8bb4cfb986bd12bea33f58b.tar.gz nuvemdario-fb951546d0e88063b8bb4cfb986bd12bea33f58b.tar.bz2 |
Custom common methods
Diffstat (limited to 'common_methods.php')
-rw-r--r-- | common_methods.php | 10 |
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() : ' | ' . ob_get_clean(); $result .= '<div class="b2-tags">' . render($terms) . '</div>'; } @@ -231,7 +231,7 @@ if (strpos ($key, "comment") !== FALSE) { $output .= ' | '; } 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 .= ' | '; } 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 .= ' | '; } $output .= ob_get_clean(); |