?> " target="_blank"><img src="<?php echo compat_get_plugin_url('wptouch'); ?> /themes/core/core-images/bookmarks/newsvine.jpg" target="_blank"> <?php _e("Newsvine", "wptouch"); ?> </a></li> <li class="noborder"><a href="http://reddit.com/submit?url=<?php echo get_permalink(); ?> &title=<?php the_title(); ?> " target="_blank"><img src="<?php echo compat_get_plugin_url('wptouch'); ?> /themes/core/core-images/bookmarks/reddit.jpg" alt="" /> <?php _e("Reddit", "wptouch"); ?> </a></li> </ul> </div> <!-- Let's rock the comments --> <?php comments_template(); ?> <?php
?> "> <div class="page"> <div class="page-title-icon"> <?php $mypages = bnc_wp_touch_get_pages(); if (isset($mypages[get_the_ID()])) { $icon_name = $mypages[get_the_ID()]['icon']; if (file_exists(compat_get_plugin_dir('wptouch') . '/images/icon-pool/' . $icon_name)) { $image = compat_get_plugin_url('wptouch') . '/images/icon-pool/' . $icon_name; } else { $image = compat_get_upload_url() . '/wptouch/custom-icons/' . $icon_name; } echo '<img class="pageicon" src="' . $image . '" alt="icon" />'; } else { echo '<img class="pageicon" src="' . compat_get_plugin_url('wptouch') . '/images/icon-pool/Default.png" alt="pageicon" />'; } ?> </div> <h2><?php the_title(); ?> </h2> </div> <div class="clearer"></div> <div id="entry-<?php the_ID(); ?>
function wptouch_core_header_email() { if (bnc_is_email_enabled()) { echo sprintf(__("%sE-Mail%s", "wptouch"), '<li><a href="mailto:' . get_bloginfo('admin_email') . '"><img src="' . compat_get_plugin_url('wptouch') . '/images/icon-pool/Mail.png" alt="" />', '</a></li>'); } }
?> </p> <p><?php echo sprintf(__("If an upload fails (usually it's a permission problem) check your wp-content path settings in WordPress' Miscellaneous Settings, or create the folder yourself using FTP and try again.", "wptouch"), "<strong>", "</strong>"); ?> </p> <div id="upload-icon" class="button"><?php _e('Upload Icon', 'wptouch'); ?> </div> <div id="upload_response"></div> <div id="upload_progress" style="display:none"> <p><img src="<?php echo compat_get_plugin_url('wptouch') . '/images/progress.gif'; ?> " alt="" /> <?php _e("Uploading..."); ?> </p> </div> </div><!-- left-content --> <div class="right-content" id="icon-pool-area"> <div id="wptouchicons"> <?php bnc_show_icons(); ?> </div>
function theme_root_uri($url) { if ($this->applemobile && $this->desired_view === 'mobile') { $dir = compat_get_plugin_url('wptouch') . "/themes"; return $dir; } else { return $url; } }
} else { ?> <?php $total = '24'; $file_type = '.jpg'; // Change to the location of the folder containing the images $image_folder = '' . compat_get_plugin_url('wptouch') . '/themes/core/core-images/thumbs/'; $start = '1'; $random = mt_rand($start, $total); $image_name = $random . $file_type; if ($wptouch_settings['post-cal-thumb'] == 'post-thumbnails-random') { echo "<img src=\"{$image_folder}/{$image_name}\" alt=\"{$image_name}\" />"; } else { echo '<img src="' . compat_get_plugin_url('wptouch') . '/themes/core/core-images/thumbs/thumb-empty.jpg" alt="thumbnail" />'; } ?> <?php } } ?> </div> <div class="thumb-bottom-left"></div><div class="thumb-bottom-right"></div> </div> <?php } elseif ($wptouch_settings['post-cal-thumb'] == 'calendar-icons') { ?> <div class="calendar"> <div class="cal-month month-<?php echo get_the_time('m');
function bnc_get_local_icon_url() { return compat_get_plugin_url('wptouch') . '/images/'; }
function theme_root_uri($url) { if ($this->iphone || $this->ipad) { $dir = compat_get_plugin_url('buddypress-mobile') . "/themes"; return $dir; } else { return $url; } }
function bnc_get_icon_locations() { $locations = array('default' => array(compat_get_plugin_dir('wptouch') . '/images/icon-pool', compat_get_plugin_url('wptouch') . '/images/icon-pool'), 'custom' => array(compat_get_upload_dir() . '/wptouch/custom-icons', compat_get_upload_url() . '/wptouch/custom-icons')); return $locations; }