|
1 <?php require_once( dirname(__FILE__) . '/../include/icons.php' ); ?> |
|
2 <?php global $wptouch_settings; ?> |
|
3 |
|
4 <div class="metabox-holder" id="available_icons"> |
|
5 <div class="postbox"> |
|
6 <h3><span class="icon-options"> </span><?php _e( "Default & Custom Icon Pool", "wptouch" ); ?></h3> |
|
7 |
|
8 <div class="left-content"> |
|
9 <p><?php _e( "You can select which icons will be displayed beside the pages you enable in the next section.", "wptouch" ); ?></p> |
|
10 <strong><?php _e( "Adding Icons", "wptouch" ); ?></strong> |
|
11 <p><?php _e( "To add icons to the pool, simply upload a 32x32.png, .jpeg or .gif image from your computer.", "wptouch" ); ?></p> |
|
12 <strong><?php _e( "Logo/Bookmark Icons", "wptouch" ); ?></strong> |
|
13 <p><?php _e( "If you're adding a logo icon, the best dimensions for it are 59x60px when used as a bookmark icon.", "wptouch" ); ?></p> |
|
14 <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> |
|
15 <p><?php echo sprintf( __( "These files will be stored in the<br />%s%s/wptouch/custom-icons%s<br />folder we create.", "wptouch"), "<strong>", str_replace( ABSPATH, "", compat_get_upload_dir() ), "</strong>" ); ?></p> |
|
16 <p><?php echo sprintf( __( "If an upload fails (usually it's a permission problem) create the folder yourself using FTP and try again.", "wptouch"), "<strong>", "</strong>" ); ?></p> |
|
17 |
|
18 <div id="upload_button"></div> |
|
19 |
|
20 <!-- <div id="extras_button"> |
|
21 <a href="#" onclick="alert('This does nothing yet');return false;"><img src="<?php echo compat_get_plugin_url( 'wptouch' ) . '/images/extras.png'; ?>" alt="extras" /></a> |
|
22 </div> --> |
|
23 |
|
24 <div id="upload_response"></div> |
|
25 <div id="upload_progress" style="display:none"> |
|
26 <p><img src="<?php echo compat_get_plugin_url( 'wptouch' ) . '/images/progress.gif'; ?>" alt="" /> <?php _e( "Uploading..."); ?></p> |
|
27 </div> |
|
28 |
|
29 </div><!-- left-content --> |
|
30 |
|
31 <div class="right-content"> |
|
32 <?php bnc_show_icons(); ?> |
|
33 </div> |
|
34 |
|
35 <div class="bnc-clearer"></div> |
|
36 </div><!-- postbox --> |
|
37 </div><!-- metabox --> |