WordPress.org

Make WordPress Themes


Ignore:
Location:
suffusion
Files:
1 added
2 deleted
283 edited

Legend:

Unmodified
Added
Removed
  • suffusion/3.7.6/ChangeLog.txt

    r84308 r84308  
     1Version 3.7.6 - 22nd Feb 2011 
     2============================= 
     31. Put in a critical workaround for users getting a 404 error for jquery.cookie.js in the admin panel. 
     42. Fixed a bug in the image resizing algorithm, which was failing in scenarios where image preference sequence was not defined. 
     53. Fixed a bug wherein the saved options were not being reflected in the auto-generation mode. 
     64. Added basic post-format support without any special treatment to prep for WP 3.1, so that users can create posts with post formats. They will be styled in the next release. 
     75. Made minor tweaks to $content_width to adjust for padding. 
     8 
    19Version 3.7.5 - 21st Feb 2011 
    210============================= 
  • suffusion/3.7.6/admin/admin.css

    r84308 r84308  
    686686.opt-sub-table-5 div.selector, .opt-sub-table-5 div.selector select { width: 120px;} 
    687687.opt-sub-table-5 div.selector span { width: 78px;} 
    688 .suf-huge { font-family: 'Courier New', Courier, monospace; font-size: 72px; font-weight: bold; display: block; line-height: 80px; color: #444; } 
     688.suf-huge { font-family: 'Courier New', Courier, monospace; font-size: 84px; font-weight: bold; display: block; line-height: 96px; color: #444; } 
    689689div.grouping { background-color: #ccffff; } 
  • suffusion/3.7.6/admin/suffusion-options-page.php

    r84308 r84308  
    734734    } 
    735735 
    736     wp_enqueue_script('suffusion-jquery-cookie', get_template_directory_uri().'/admin/js/jquery.cookie.js', array('suffusion-jquery-ui-custom')); 
    737     wp_enqueue_script('suffusion-fileuploader', get_template_directory_uri().'/admin/js/ajaxupload.js'); 
     736    // Having jquery.cookie.js as a separate file was preventing some web-hosts from loading the file with a 404 error. Combining it with another JS file seems to work, though. 
     737    // Weird. See: http://www.aquoid.com/forum/viewtopic.php?f=2&t=4189&p=17576#p17573 
     738//  wp_enqueue_script('suffusion-jquery-cookie', get_template_directory_uri().'/admin/js/jquery.cookie.js', array('suffusion-jquery-ui-custom')); 
     739//  wp_enqueue_script('suffusion-fileuploader', get_template_directory_uri().'/admin/js/ajaxupload.js'); 
     740    wp_enqueue_script('suffusion-misc', get_template_directory_uri().'/admin/js/suffusion-misc.js', array('suffusion-jquery-ui-custom')); 
    738741} 
    739742 
     
    13541357 
    13551358        if (strcmp($latest_version_via_rss, $local_version) > 0) { 
    1356             $update_message = "<div class='updated'>A new version of Suffusion is available! Click to read the release notes and determine if you want to update: <a href='{$item->get_link()}'>{$item->get_title()}</a>.</div>"; 
     1359            $update_message = "<div class='updated'>A new version of Suffusion is available! Click to read the release notes and determine if you want to update: <a href='".$item->get_link()."'>".$item->get_title()."</a>.</div>"; 
    13571360        } 
    13581361        else { 
  • suffusion/3.7.6/footer.php

    r84308 r84308  
    2828    suffusion_page_footer(); 
    2929} 
    30 ?> 
    31  
    32 <?php 
    3330suffusion_document_footer(); 
    3431wp_footer(); ?> 
  • suffusion/3.7.6/functions.php

    r84308 r84308  
    5353    load_textdomain('suffusion', locate_template(array("translation/{$suffusion_locale}.mo", "{$suffusion_locale}.mo"))); 
    5454 
    55     if (!isset($content_width)) $content_width = 725; 
     55    if (!isset($content_width)) $content_width = 695; // 725 - 30px padding 
    5656    $suffusion_reevaluate_styles = false; 
    5757 
     
    276276    add_theme_support('menus'); 
    277277    add_theme_support('automatic-feed-links'); 
    278     //add_theme_support('post-formats', array('aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio', 'chat')); 
     278    // Adding post formats, so that users can assign formats to posts. They will be styled in a later release. 
     279    add_theme_support('post-formats', array('aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio', 'chat')); 
    279280} 
    280281 
     
    429430    // We want to ensure that whenever someone updates options, the unified options array gets updated too, along with the generated CSS. 
    430431    add_action("updated_option", 'suffusion_update_unified_options', 10, 3); 
    431     add_action('updated_option', 'suffusion_update_generated_css', 10, 3); 
     432    add_action('updated_option', 'suffusion_update_generated_css', 11, 3); // We want to generate the CSS after the options have been updated. 
    432433 
    433434    // Required for WP-MS, 3.0+ 
  • suffusion/3.7.6/functions/media.php

    r84308 r84308  
    288288    if ($_SERVER['HTTP_HOST'] != $file_path['host'] && $file_path['host'] != '') {  // The image is not locally hosted 
    289289        $remote_file_info = pathinfo($file_path['path']);// Can't use $img_url as the parameter because pathinfo includes the 'query' for the URL 
    290         $remote_file_extension = $remote_file_info['extension']; 
     290        if (isset($remote_file_info['extension'])) { 
     291            $remote_file_extension = $remote_file_info['extension']; 
     292        } 
     293        else { 
     294            $remote_file_extension = 'jpg'; 
     295        } 
    291296        $file_base = md5($img_url).'.'.$remote_file_extension; 
    292297 
     
    492497    } 
    493498 
    494     $sequence = explode(',', $sequence); 
     499    if (!is_array($sequence)) { // Sequence has been explicitly set in the options. We need to break the string out into an array 
     500        $sequence = explode(',', $sequence); 
     501    } 
     502    else { // Sequence has not been set explicitly and the default array exists. So we will retrieve its keys only. 
     503        $sequence = array_keys($sequence); 
     504    } 
     505 
    495506    $img = ""; 
    496507    foreach ($sequence as $position) { 
  • suffusion/3.7.6/style.css

    r84308 r84308  
    33 * Description: An elegant, versatile and browser-safe theme with a power-packed set of options. It has 19 widget areas, one-column, two-column and three-column fixed-width and flexible-width formats, 10 pre-defined templates, 17 pre-defined color schemes, two customizable multi-level drop-down menus, featured posts, a magazine layout, tabbed sidebars, widgets for Twitter, Social Networks and Google Translator, translations in many languages and RTL language support. WP 3.0 Menus, Custom Post Types and Custom Taxonomies are integrated. A BuddyPress support pack is available as a plugin for smooth BuddyPress integration. Support forum at http://www.aquoid.com/forum. 
    44 * Theme URI: http://www.aquoid.com/news/themes/suffusion/ 
    5  * Version: 3.7.5 
     5 * Version: 3.7.6 
    66 * Author: Sayontan Sinha 
    77 * Author URI: http://mynethome.net/blog 
     
    937937    line-height: 1.6em; 
    938938    margin-bottom: 1em; 
     939    overflow: hidden; 
    939940} 
    940941 
     
    32413242table.exif { margin: 10px 0; border-collapse: collapse; } 
    32423243table.exif td { padding: 0.25em 2em 0.2em 0; border-bottom: 1px dotted #ccc; } 
     3244 
     3245.format-standard, .format-gallery, .format-aside, .format-link, .format-chat, .format-video, .format-audio, .format-quote, .format-status { } 
  • suffusion/3.7.6/suffusion-classes.php

    r84308 r84308  
    330330        } 
    331331 
    332         $content_width = $widths['main-col']; 
     332        $content_width = $widths['main-col'] - 30; // Account for padding on the sides 
    333333        $widths['wsidebar'] = $widths['sidebar-1'] + $widths['sidebar-2'] + 13; 
    334334        $widths['category'] = $widths['main-col'] - 275; 
     
    438438        } 
    439439 
    440         $content_width = $widths['main-col']; 
     440        $content_width = $widths['main-col'] - 30; // Account for padding on the sides 
    441441        $widths['wsidebar'] = $widths['sidebar-1'] + $widths['sidebar-2'] + 13; 
    442442        $widths['category'] = '60%'; 
Note: See TracChangeset for help on using the changeset viewer.