Beispiel #1
0
 function compat_get_upload_dir()
 {
     if (compat_is_wordpress_mu()) {
         global $blog_id;
         return compat_get_wp_content_dir() . '/blogs.dir/' . $blog_id . '/uploads';
     } else {
         return compat_get_wp_content_dir() . '/uploads';
     }
 }
</p>

				<h4><?php 
_e("Logo/Bookmark Icons", "wptouch");
?>
</h4>
				<p><?php 
_e("If you're adding a logo icon, the best dimensions for it are 59x60px (png) when used as a bookmark icon.", "wptouch");
?>
</p>
				<p><?php 
echo sprintf(__("Need help? You can use %sthis easy online icon generator%s to make one.", "wptouch"), "<a href='http://www.flavorstudios.com/iphone-icon-generator' target='_blank'>", "</a>");
?>
</p>
				<p><?php 
echo sprintf(__("These files will be stored in this folder we create: .../wp-content/uploads/wptouch/custom-icons", "wptouch"), '' . compat_get_wp_content_dir('wptouch') . '');
?>
</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