WordPress.org

Make WordPress Themes


Ignore:
Location:
raindrops/0.283
Files:
31 edited

Legend:

Unmodified
Added
Removed
  • raindrops/0.283/404.php

    r86900 r86900  
    2424      <!-- content --> 
    2525      <div class="yui-u first <?php echo basename(__FILE__,'.php');?> <?php echo basename(dirname(__FILE__));?>" <?php if($rsidebar_show == false){echo "style=\"width:100%;\"";} ?>> 
     26        <h1 class="entry-title"><?php _e( 'Not Found', 'raindrops' ); ?></h1> 
    2627        <div id="post-0" class="post error404 not-found"> 
    27           <h1 class="entry-title"> 
    28             <?php _e( 'Not Found', 'raindrops' ); ?> 
    29           </h1> 
    3028          <div class="entry-content"> 
    31             <p> 
    32               <?php _e( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', 'raindrops' ); ?> 
    33             </p> 
     29          <p><?php _e( 'Apologies, but no results were found for the requested Archive. Perhaps searching will help find a related post.', 'Raindrops' ); ?></p> 
    3430            <?php get_search_form(); ?> 
    3531          </div> 
     
    3935      </div> 
    4036      <!--rsidebar start--> 
    41       <div class="yui-u"> <span style="display:none;">--</span> 
    42         <?php if($rsidebar_show){get_sidebar('2'); 
    43         } ?> 
    44         <!--rsidebar end--> 
    45       </div> 
     37      <div class="yui-u"><?php if($rsidebar_show){get_sidebar('2');} ?></div> 
     38      <!--rsidebar end--> 
    4639      <!--add col here --> 
    4740    </div> 
  • raindrops/0.283/archive.php

    r86900 r86900  
    1818  <div class="yui-b"> 
    1919    <!--main--> 
    20  
    2120    <?php if(function_exists('bcn_display')){echo '<div class="breadcrumb">';bcn_display();echo '</div>';} ?> 
    22  
    2321    <div class="<?php if(isset($yui_inner_layout)){echo $yui_inner_layout;}else{echo 'yui-ge';}?>" id="container"> 
    24           <!-- content --> 
     22      <!-- content --> 
    2523      <div class="yui-u first <?php echo basename(__FILE__,'.php');?> <?php echo basename(dirname(__FILE__));?>" <?php if($rsidebar_show == false){echo "style=\"width:100%;\"";} ?>> 
    26  
    27 <?php 
     24        <?php 
    2825    /* Queue the first post, that way we know 
    2926     * what date we're dealing with (if that is the case). 
     
    3532        the_post(); 
    3633?> 
    37  
    38             <h2 class="page-title"> 
    39 <?php if ( is_day() ) : ?> 
    40                 <?php printf( __( 'Daily Archives: <span>%s</span>', 'Raindrops' ), get_the_date('TMN_THE_TIME_FORMAT') ); ?> 
    41 <?php elseif ( is_month() ) : ?> 
    42                 <?php printf( __( 'Monthly Archives: <span>%s</span>', 'Raindrops' ), get_the_date(TMN_THE_MONTH_FORMAT) ); ?> 
    43 <?php elseif ( is_year() ) : ?> 
    44                 <?php printf( __( 'Yearly Archives: <span>%s</span>', 'Raindrops' ), get_the_date('Y') ); ?> 
    45 <?php else : ?> 
    46                 <?php _e( 'Blog Archives', 'Raindrops' ); ?> 
    47 <?php endif; ?> 
    48             </h2> 
    49 <?php 
     34        <h2 class="page-title h2"> 
     35          <?php if ( is_day() ) : ?> 
     36          <?php printf( __( 'Daily Archives: <span>%s</span>', 'Raindrops' ), get_the_date('TMN_THE_TIME_FORMAT') ); ?> 
     37          <?php elseif ( is_month() ) : ?> 
     38          <?php printf( __( 'Monthly Archives: <span>%s</span>', 'Raindrops' ), get_the_date(TMN_THE_MONTH_FORMAT) ); ?> 
     39          <?php elseif ( is_year() ) : ?> 
     40          <?php printf( __( 'Yearly Archives: <span>%s</span>', 'Raindrops' ), get_the_date('Y') ); ?> 
     41          <?php else : ?> 
     42          <?php _e( 'Blog Archives', 'Raindrops' ); ?> 
     43          <?php endif; ?> 
     44        </h2> 
     45        <?php 
    5046    /* Since we called the_post() above, we need to 
    5147     * rewind the loop back to the beginning that way 
     
    6056     get_template_part( 'loop', 'archive' ); 
    6157?> 
    62 </div> 
     58      </div> 
    6359      <!-- navigation--> 
    6460      <div class="yui-u"> 
     
    8278<!--sidebar--> 
    8379</div> 
    84  
    8580<?php get_footer();?> 
  • raindrops/0.283/comments.php

    r86900 r86900  
    1717<?php if ( have_comments() ) : ?> 
    1818 
    19     <h2 id="comments-title"><?php printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'raindrops' ),number_format_i18n( get_comments_number() ), '<strong>' . get_the_title() . '</strong>' ,get_comments_number());?></h2> 
     19    <h2 id="comments-title" class="h2"><?php printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'raindrops' ),number_format_i18n( get_comments_number() ), '<strong>' . get_the_title() . '</strong>' ,get_comments_number());?></h2> 
    2020 
    2121 
  • raindrops/0.283/date.php

    r86900 r86900  
    3939<div id="yui-main"> 
    4040  <div class="yui-b"> 
    41 <?php 
     41    <?php 
    4242if(function_exists('bcn_display')){ 
    4343    echo '<div class="breadcrumb">'; 
     
    4646} 
    4747?> 
    48 <div class="<?php echo $yui_inner_layout;?>"> 
    49 <!-- content --> 
    50 <div class="yui-u first" <?php if($rsidebar_show == false){echo "style=\"width:100%;\"";} ?>> 
    51 <?php 
     48    <div class="<?php echo $yui_inner_layout;?>"> 
     49      <!-- content --> 
     50      <div class="yui-u first" <?php if($rsidebar_show == false){echo "style=\"width:100%;\"";} ?>> 
     51        <?php 
    5252echo '<h1 class="page-title">'; 
    5353    if (is_year()) { 
     
    7575 
    7676?> 
    77  
    78  
    79  
    80  
    8177      </div> 
    8278      <!-- navigation--> 
     
    10197<!--sidebar--> 
    10298</div> 
    103  
    10499<?php get_footer(); ?> 
    105  
    106100<?php 
    107101 
     
    251245            if ($new_posts) { 
    252246                    if (10 > $nextmonth) { 
    253                             //$nextmonth = "0$nextmonth"; 
    254247 
    255248                            $nextmonth = printf("%02d", $nextmonth); 
     
    286279        $cal .= '</tr></table>'; 
    287280    return $cal; 
    288     } //end get_month() 
     281    } 
     282/*end get_month()*/ 
    289283 
    290284 
     
    294288 
    295289        $months = array(); 
    296         $y = ""; 
    297         $m = ""; 
    298         $d = ""; 
     290        $y = ""; 
     291        $m = ""; 
     292        $d = ""; 
    299293        // first let's parse through our posts, organizing them by month 
    300294        foreach ($posts as $post) { 
     
    331325        } 
    332326    return $output.implode("\n",$table_year); 
    333     } // end get_year() 
    334  
    335  
     327    } 
     328/* end get_year()*/ 
    336329 
    337330    function get_day($posts = '', $year = '', $mon = '', $day = '', $pad = 1){ 
    338331 
    339332        global $month; 
    340         global $ht_deputy; 
     333        global $ht_deputy; 
    341334 
    342335        $here = home_url(); 
     
    345338       $mon . "</span></a>&nbsp;<span class=\"day-name\">". $day ."</span></h2>"; 
    346339        $output .= '<table id="date_list" summary="Archive in '.$day.', '.$mon.', '.$year.'">'; 
    347         // organize posts by hour 
    348         //2009-05-27 08:47:10 
    349340 
    350341        foreach ($posts as $mytime) { 
     
    367358                if (isset($today[$i])) { 
    368359                                foreach ($today[$i] as $mytime) { 
    369                                  
    370                                     if($mytime->post_title == ''){$mytime->post_title = $ht_deputy;} 
     360 
     361                                    if($mytime->post_title == ''){$mytime->post_title = $ht_deputy;} 
    371362 
    372363                                        $output .= "<a href=\"" . get_permalink($mytime->ID) . "\" 
     
    382373        return $output; 
    383374    } 
    384     // end get_day() 
    385  
    386  
    387  
    388  
    389  
    390  
    391  
    392  
     375/* end get_day()*/ 
    393376 
    394377    function year_list($one_month,$ye,$mo){ 
    395378        $result = ""; 
    396     global $ht_deputy; 
    397     $d = ""; 
    398     $links = ""; 
     379    global $ht_deputy; 
     380    $d = ""; 
     381    $links = ""; 
    399382            foreach($one_month as $month){ 
    400383        //var_dump($month->post_date); 
    401384                //list($y,$m,$d,$h,$m,$s) = sscanf($month->post_date,"%d-%d-%d $d:$d:$d"); 
    402385                list($y,$m,$d) = sscanf($month->post_date,"%d-%d-%d $d:$d:$d"); 
    403             if($month->post_title == ''){$month->post_title = $ht_deputy;} 
     386            if($month->post_title == ''){$month->post_title = $ht_deputy;} 
    404387 
    405388                if($m == $mo and $ye == $y){ 
     
    421404 
    422405    function month_list($one_month,$ye,$mo){ 
    423     global $ht_deputy; 
     406    global $ht_deputy; 
    424407        $result = ""; 
    425408        $here = home_url(); 
     
    430413 
    431414        foreach($one_month as $month){ 
    432             if($month->post_title == ''){$month->post_title = $ht_deputy;} 
     415            if($month->post_title == ''){$month->post_title = $ht_deputy;} 
    433416            list($y,$m,$d,$h,$m,$s) = sscanf($month->post_date,"%d-%d-%d %d:%d:%d"); 
    434417 
     
    460443    } 
    461444 
    462  
    463  
    464  
    465  
    466  
    467445?> 
  • raindrops/0.283/footer.php

    r86900 r86900  
    2929?> 
    3030    </address> 
    31  
    32 <?php wp_footer(); ?> 
    33  
    3431  </div> 
    3532 </div> 
     33<?php wp_footer(); ?> 
    3634</body> 
    3735</html> 
  • raindrops/0.283/functions.php

    r86900 r86900  
    6767    } 
    6868 
    69     if('/'.$_GET['page'] == __FILE__){ 
     69    if(isset($_GET['page']) and '/'.$_GET['page'] == __FILE__){ 
    7070        add_action("admin_head","jquery_toggle_action"); 
    7171    } 
     
    9292 
    9393 
     94    /** 
     95     * embed css , javascript , meta from custom field 
     96     * 
     97     * field name css, javascript, meta 
     98     * 
     99     * 
     100     */ 
     101 
     102    add_filter("wp_head","tmn_embed_meta",'99'); 
    94103 
    95104    // custom content_width 
     
    97106    it is not ..width of the page.. revokable from the management screen. */ 
    98107 
    99     $page_width = ''; 
    100     $content_width = ''; 
     108    // $page_width = ''; 
     109   // $content_width = ''; 
    101110 
    102111 
     
    518527    if(TMN_TABLE_TITLE == $title){ 
    519528 
    520 $result = "<h2>".__('Raindrops Another Settings').'</h2>'; 
     529$result = "<h2 class=\"h2\">".__('Raindrops Another Settings').'</h2>'; 
    521530 
    522531 
     
    541550 
    542551} 
     552 
     553if (TMN_USE_AUTO_COLOR == true){ 
    543554    add_filter('contextual_help','raindrops_edit_help'); 
    544  
    545 if (!function_exists('raindrops_edit_help')) { 
     555} 
     556if (!function_exists('raindrops_edit_help') and TMN_USE_AUTO_COLOR == true) { 
    546557 
    547558 
     
    552563    if(isset($post_type_object) and ($title == $post_type_object->labels->add_new_item or $title == $post_type_object->labels->edit_item)){ 
    553564 
    554 $result = "<h2>".__('Tips',"Raindrops").'</h2>'; 
     565$result = "<h2 class=\"h2\">".__('Tips',"Raindrops").'</h2>'; 
    555566$result .= '<p>'.__('If Raindrops Options panel is opened, and the reference color is set, this arrangement of color is changed at once.',"Raindrops")."</p>"; 
    556567$result .= "<dl><dt><h3>".__('Dinamic Color Class','Raindrops').'</strong></h3>'; 
     
    691702    echo '<div class="wrap"><div id="title-raindrops-header" style="height:100px">'; 
    692703    echo '<div id="icon-options-general" class="icon32"><br></div>'; 
    693     echo '<h2>Raindrops theme Settings</h2>'; 
     704    echo '<h2 class="h2">Raindrops theme Settings</h2>'; 
    694705    echo "<p>Saved Database table name:<strong>".TMN_PLUGIN_TABLE."</strong></p></div>"; 
    695706    echo '<div style="clear:both;margin:2em;"><button id="showAll" class="button">'.__("Show All", "Raindrops").'</button>&nbsp;&nbsp;<button id="hideAll" class="button">'.__("Hide All", "Raindrops").'</button></div>'; 
     
    733744 
    734745 
    735  
     746$i = 0; 
     747$accesskey = array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"); 
    736748        foreach($results as $key=>$result){ 
    737749$excerpt = ""; 
     
    740752        case("raindrops_col_width"): 
    741753$table = "<table  class=\"raindrops-col-width widefat post fixed\" cellspacing=\"0\" style=\"margin-left:2em;width:90%;\">"; 
    742         $excerpt = '<h3 id="raindrops-col-width" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Width of Column Setting','Raindrops').'</h3>'; 
     754        $excerpt = '<h3 title="Setting about raindrops col width"  id="raindrops-col-width" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Width of Column Setting','Raindrops').'</h3>'; 
    743755        break; 
    744756        case("raindrops_page_width"): 
    745757$table = "<table class=\"raindrops-page-width widefat post fixed\" cellspacing=\"0\" style=\"margin-left:2em;width:90%;\">"; 
    746         $excerpt = '<h3 id="raindrops-page-width"style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Width of page Setting','Raindrops').'</h3>'; 
     758        $excerpt = '<h3  title="Setting about raindrops page width" id="raindrops-page-width"style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Width of page Setting','Raindrops').'</h3>'; 
    747759 
    748760 
     
    750762        case("raindrops_right_sidebar_width_percent"): 
    751763$table = "<table class=\"raindrops-right-sidebar-width-percent widefat post fixed\" cellspacing=\"0\" style=\"margin-left:2em;width:90%;\">"; 
    752         $excerpt = '<h3 id="raindrops-right-sidebar-width-percent" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Ratio to text when extra sidebar is displayed Setting','Raindrops').'</h3>'; 
     764        $excerpt = '<h3 title="Setting about raindrops right sidebar width_percent" id="raindrops-right-sidebar-width-percent" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Ratio to text when extra sidebar is displayed Setting','Raindrops').'</h3>'; 
    753765 
    754766        break; 
    755767        case("raindrops_show_right_sidebar"): 
    756768$table = "<table class=\"raindrops-show-right-sidebar widefat post fixed\" cellspacing=\"0\" style=\"margin-left:2em;width:90%;\">"; 
    757         $excerpt = '<h3 id="raindrops-show-right-sidebar" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Display of extra sidebar Setting','Raindrops').'</h3>'; 
     769        $excerpt = '<h3 title="Setting about raindrops_show_right_sidebar" id="raindrops-show-right-sidebar" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Display of extra sidebar Setting','Raindrops').'</h3>'; 
    758770 
    759771 
     
    761773        case("raindrops_footer_color"): 
    762774$table = "<table class=\"raindrops-footer-color widefat post fixed\" cellspacing=\"0\" style=\"margin-left:2em;width:90%;\">"; 
    763         $excerpt = '<h3 id="raindrops-footer-color" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Footer Fonts Color Setting','Raindrops').'</h3>'; 
     775        $excerpt = '<h3 title="Setting about raindrops footer color" id="raindrops-footer-color" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Footer Fonts Color Setting','Raindrops').'</h3>'; 
    764776 
    765777 
     
    767779        case("raindrops_default_fonts_color"): 
    768780$table = "<table class=\"raindrops-default-fonts-color widefat post fixed\" cellspacing=\"0\" style=\"margin-left:2em;width:90%;\">"; 
    769         $excerpt = '<h3 id="raindrops-default-fonts-color" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Default Fonts Color Setting','Raindrops').'</h3>'; 
     781        $excerpt = '<h3 title="Setting about raindrops_default_fonts_color" id="raindrops-default-fonts-color" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Default Fonts Color Setting','Raindrops').'</h3>'; 
    770782 
    771783 
     
    773785        case("raindrops_col_width"): 
    774786$table = "<table class=\"raindrops-col-width widefat post fixed\" cellspacing=\"0\" style=\"margin-left:2em;width:90%;\">"; 
    775         $excerpt = '<h3 id="raindrops-col-width" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Width of Column Setting','Raindrops').'</h3>'; 
     787        $excerpt = '<h3 title="Setting about raindrops_col_width" id="raindrops-col-width" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Width of Column Setting','Raindrops').'</h3>'; 
    776788 
    777789 
     
    780792        case("raindrops_base_color"): 
    781793$table = "<table class=\"raindrops-base-color widefat post fixed\" cellspacing=\"0\" style=\"margin-left:2em;width:90%;\">"; 
    782         $excerpt = '<h3 id="raindrops-base-color" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor: auto;background:none;">'.__('Base color Setting','Raindrops').'</h3>'; 
     794        $excerpt = '<h3 title="Setting about raindrops base color" id="raindrops-base-color" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor: auto;background:none;">'.__('Base color Setting','Raindrops').'</h3>'; 
    783795        $excerpt .= '<p class="rd-excerpt">'.__('The reference color of an automatic arrangement of color is decided.','Raindrops').'</p>'; 
    784796 
     
    788800        case("raindrops_style_type"): 
    789801$table = "<table class=\"raindrops-style-type widefat post fixed\" cellspacing=\"0\" style=\"margin-left:2em;width:90%;\">"; 
    790         $excerpt = '<h3 id="raindrops-style-type" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Expression Setting','Raindrops').'</h3>'; 
     802        $excerpt = '<h3 title="Setting about raindrops style type" id="raindrops-style-type" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Expression Setting','Raindrops').'</h3>'; 
    791803        $excerpt .= '<p class="rd-excerpt">'.__('The mood like dark atmosphere and the bright note, etc. is decided.','Raindrops').'</p>'; 
    792804 
     
    795807        case("raindrops_header_image"): 
    796808$table = "<table class=\"raindrops-header-image widefat post fixed\" cellspacing=\"0\" style=\"margin-left:2em;width:90%;\">"; 
    797         $excerpt = '<h3 id="raindrops-header-image" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Header image Setting','Raindrops').'</h3>'; 
     809        $excerpt = '<h3 title="Setting about raindrops header image" id="raindrops-header-image" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('Header image Setting','Raindrops').'</h3>'; 
    798810        $excerpt .= '<p class="rd-excerpt">'.__('The name of the picture file used for the header is set. ','Raindrops').'</p>'; 
    799811        $excerpt .= '<p class="rd-excerpt">'.__('As for the image, the image that exists in themes/raindrops/image/is used.','Raindrops').'</p>'; 
     
    809821        case("raindrops_heading_image_position"): 
    810822$table = "<table class=\"raindrops-heading-image-position widefat post fixed\" cellspacing=\"0\" style=\"margin-left:2em;width:90%;\">"; 
    811         $excerpt = '<h3 id="raindrops-heading-image-position"style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('h2 headding image position Setting','Raindrops').'</h3>'; 
     823        $excerpt = '<h3 title="Setting about raindrops_heading image position"   id="raindrops-heading-image-position"style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('h2 headding image position Setting','Raindrops').'</h3>'; 
    812824        $excerpt .= '<p class="rd-excerpt">'.__('The name of the picture file used for the h2 headding is set. ','Raindrops').'</p>'; 
    813825        $excerpt .= '<p class="rd-excerpt">'.__('Please set the integral value from 0 to 7. ','Raindrops').'</p>'; 
     
    817829        case("raindrops_heading_image"): 
    818830$table = "<table class=\"raindrops-heading-image widefat post fixed\" cellspacing=\"0\" style=\"margin-left:2em;width:90%;\">"; 
    819         $excerpt = '<h3 id="raindrops-heading-image" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('h2 headding background image Setting','Raindrops').'</h3>'; 
     831        $excerpt = '<h3 title="Setting about raindrops heading image" id="raindrops-heading-image" style="position:relative;top:-0.3em;padding-bottom:0.6em;text-indent:1em;cursor:auto;background:none;">'.__('h2 headding background image Setting','Raindrops').'</h3>'; 
    820832        $excerpt .= '<p class="rd-excerpt">'.__('The name of the picture file used for the h2 headding is set. ','Raindrops').'</p>'; 
    821833        $excerpt .= '<p class="rd-excerpt">'.__('As for the image, the image that exists in themes/raindrops/image/is used.','Raindrops').'</p>'; 
     
    865877 
    866878            } 
     879 
     880        if (TMN_USE_AUTO_COLOR == false and (   $result->option_name == "raindrops_footer_color" or 
     881                                                $result->option_name == "raindrops_default_fonts_color" or 
     882                                                $result->option_name == "raindrops_base_color" or 
     883                                                $result->option_name == "raindrops_header_image" or 
     884                                                $result->option_name == "raindrops_footer_image" or 
     885                                                $result->option_name == "raindrops_heading_image_position" or 
     886                                                $result->option_name == "raindrops_heading_image" or 
     887                                                $result->option_name == "raindrops_style_type") ){ 
     888 
     889            continue; 
     890        } 
     891 
     892 
    867893 
    868894 
     
    880906 
    881907 
    882  
    883  
    884908                $lines .= '<td style="'.$style.'">'; 
    885909                $lines .= '<input type="hidden" name="option_name" value="'.$result->option_name.'" read-only="read-only" /></td>'; 
     
    895919            }elseif($result->option_name == "raindrops_col_width"){ 
    896920 
    897                 $lines .='<td><select name="option_value" size="6" '; 
     921                $lines .='<td><select  accesskey="'.$accesskey[$i].'" name="option_value" size="6" '; 
    898922                $lines .='style="width:150px;vertical-align:bottom;margin-bottom:0px;height:120px;">'; 
    899923 
     
    912936            }elseif($result->option_name == "raindrops_page_width"){ 
    913937 
    914                 $lines .='<td><select name="option_value" size="4" '; 
     938                $lines .='<td><select  accesskey="'.$accesskey[$i].'" name="option_value" size="4" '; 
    915939                $lines .='style="width:150px;vertical-align:bottom;margin-bottom:0px;height:80px;">'; 
    916940 
     
    927951            }elseif($result->option_name == "raindrops_right_sidebar_width_percent"){ 
    928952 
    929                 $lines .='<td><select name="option_value" size="5" '; 
     953                $lines .='<td><select  accesskey="'.$accesskey[$i].'" name="option_value" size="5" '; 
    930954                $lines .='style="width:150px;vertical-align:bottom;margin-bottom:0px;height:100px;">'; 
    931955 
     
    943967            }elseif($result->option_name == "raindrops_show_right_sidebar"){ 
    944968 
    945                 $lines .='<td><select name="option_value" size="2" '; 
     969                $lines .='<td><select  accesskey="'.$accesskey[$i].'" name="option_value" size="2" '; 
    946970                $lines .='style="width:150px;vertical-align:bottom;margin-bottom:0px;height:40px;">'; 
    947971 
     
    959983            }elseif($result->option_name == "raindrops_style_type"){ 
    960984 
    961                 $lines .='<td><select name="option_value" size="3" '; 
     985                $lines .='<td><select  accesskey="'.$accesskey[$i].'" name="option_value" size="3" '; 
    962986                $lines .='style="width:150px;vertical-align:bottom;margin-bottom:0px;height:60px;">'; 
    963987 
     
    9771001            }elseif($result->option_name == "raindrops_heading_image"){ 
    9781002 
    979                 $lines .= '<td style="height:225px"><input type="text" name="option_value" value="'.$result->option_value.'"'; 
     1003                $lines .= '<td style="height:225px"><input  accesskey="'.$accesskey[$i].'" type="text" name="option_value" value="'.$result->option_value.'"'; 
    9801004 
    9811005                if($result->option_name == "raindrops_base_color"){ 
     
    9891013            }else{ 
    9901014 
    991                 $lines .= '<td><input type="text" name="option_value" value="'.$result->option_value.'"'; 
     1015                $lines .= '<td><input  accesskey="'.$accesskey[$i].'" type="text" name="option_value" value="'.$result->option_value.'"'; 
    9921016 
    9931017                if($result->option_name == "raindrops_base_color"){ 
     
    9981022 
    9991023            } 
    1000  
     1024        $i++; 
    10011025            $send_key_name = ",option_name"; 
    10021026            $send_key_name .= ",option_id"; 
     
    23802404 
    23812405 
    2382  
     2406    function tmn_embed_meta($content){ 
     2407        $result = ""; 
     2408        global $post; 
     2409 
     2410    /** 
     2411     * insert into embed style ,javascript script and embed tags from custom field 
     2412     * 
     2413     * 
     2414     */ 
     2415        if (is_single() || is_page()) { 
     2416 
     2417            if(have_posts()){ 
     2418 
     2419             while (have_posts()) : the_post(); 
     2420 
     2421                $css = get_post_meta($post->ID, 'css', true); 
     2422                if (!empty($css)) { 
     2423                $result .= '<style type="text/css">'; 
     2424                $result .= "\n/*<![CDATA[*/\n"; 
     2425                $result .=  $css; 
     2426                $result .= "\n/*]]>*/\n"; 
     2427                $result .= "</style>"; 
     2428                } 
     2429 
     2430                $javascript = get_post_meta($post->ID, 'javascript', true); 
     2431                if (!empty($javascript)) { 
     2432                $result .= '<script type="text/javascript">'; 
     2433                $result .= "\n/*<![CDATA[*/\n"; 
     2434                $result .= $javascript; 
     2435                $result .= "\n/*]]>*/\n"; 
     2436                $result .= "</script>"; 
     2437                } 
     2438                $meta = get_post_meta($post->ID, 'meta', true); 
     2439                if (!empty($meta)) { 
     2440                $result .= $meta; 
     2441                } 
     2442              endwhile; 
     2443            }else{ 
     2444 
     2445 
     2446            } 
     2447        } 
     2448        echo $result; 
     2449 
     2450        return $content; 
     2451    } 
    23832452?> 
  • raindrops/0.283/header.php

    r86900 r86900  
    6363    wp_head(); 
    6464?> 
    65 <?php 
    66 /** 
    67  * insert into embed style ,javascript script and embed tags from custom field 
    68  * 
    69  * 
    70  */ 
    71 if (is_single() || is_page()) { 
    72  
    73  while (have_posts()) : the_post(); 
    74  
    75     $css = get_post_meta($post->ID, 'css', true); 
    76     if (!empty($css)) { ?> 
    77 <style type="text/css"> 
    78     /*<![CDATA[*/ 
    79     <?php echo $css; ?> 
    80     /*]]>*/ 
    81         </style> 
    82 <?php } 
    83     $javascript = get_post_meta($post->ID, 'javascript', true); 
    84     if (!empty($javascript)) { ?> 
    85 <script type="text/javascript"> 
    86         /*<![CDATA[*/ 
    87         <?php echo $javascript; ?> 
    88         /*]]>*/ 
    89         </script> 
    90 <?php } 
    91     $meta = get_post_meta($post->ID, 'meta', true); 
    92     if (!empty($meta)) { ?> 
    93 <?php echo $meta; ?> 
    94 <?php } 
    95 endwhile; 
    96 } 
    97 ?> 
    9865</head> 
    9966<body <?php body_class($this_blog); ?>> 
     
    11885  <div id="access"> 
    11986 
    120     <div class="skip-link screen-reader-text" id="content"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'raindrops' ); ?>"><?php _e( 'Skip to content', 'raindrops' ); ?></a></div> 
     87    <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'raindrops' ); ?>"><?php _e( 'Skip to content', 'raindrops' ); ?></a></div> 
    12188    <?php 
    12289 
  • raindrops/0.283/image.php

    r86900 r86900  
    1414  <!--<?php echo basename(__FILE__,'.php');?>[<?php echo basename(dirname(__FILE__));?>]--> 
    1515  <div class="yui-b"> 
    16     <!--main--> 
    17     <!-- Use Standard Nesting Grids and Special Nesting Grids to subdivid regions of your layout. --> 
    18     <!-- Special Nesting Grid C has two children, the first is 2/3, the second is 1/3 --> 
    1916    <?php 
    20 if(function_exists('bcn_display')) 
    21 { 
    22 // Display the breadcrumb 
    23 echo '<div class="breadcrumb">'; 
    24 bcn_display(); 
    25 echo '</div>'; 
    26 } 
    27 ?> 
     17        if(function_exists('bcn_display')){ 
     18            // Display the breadcrumb 
     19            echo '<div class="breadcrumb">'; 
     20            bcn_display(); 
     21            echo '</div>'; 
     22        } 
     23    ?> 
    2824    <div class="<?php if(isset($yui_inner_layout)){echo $yui_inner_layout;}else{echo 'yui-ge';}?>" id="container"> 
    2925      <!-- content --> 
    3026      <div class="yui-u first" <?php if($rsidebar_show == false){echo "style=\"width:100%;\"";} ?>> 
    3127        <?php if (have_posts()) : while (have_posts()) : the_post(); ?> 
    32  
    33  
    34  
    35         <div class="post" id="post-<?php the_ID(); ?>"> 
    36  
    37  
    38  
     28        <div id="post-<?php the_ID(); ?>"  <?php post_class(); ?>> 
    3929          <div class="entry attachment"> 
    40     <h2 class="title"><?php the_title(); ?></h2> 
    41  
    42           <p><?php _e("Entry");?><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"> 
    43             <?php echo get_the_title($post->post_parent); ?></a></p> 
    44  
    45  
    46         <?php $image = get_post_meta($post->ID, 'image', true); ?> 
    47         <?php $image = wp_get_attachment_image_src($my_image, 'full'); ?> 
    48  
    49         <p class="image"> 
    50 <?php //height="<?php echo round((190/$image[1])*$image[2]);?> 
    51 <img src="<?php echo $image[0];?>" width="100%"  alt="<?php the_title(); ?>" /></p> 
    52  
    53 <?php //echo wp_get_attachment_image( $post->ID, '' ); ?> 
    54  
     30            <h2 class="image-title h2"><?php the_title(); ?></h2> 
     31            <p> 
     32              <?php _e("Entry");?> 
     33              <a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"> <?php echo get_the_title($post->post_parent); ?></a></p> 
     34            <?php $image = get_post_meta($post->ID, 'image', true); ?> 
     35            <?php $image = wp_get_attachment_image_src($image, 'full'); ?> 
     36            <p class="image"><img src="<?php echo $image[0];?>" width="100%"  alt="<?php the_title(); ?>" style="max-image:100%;height:auto;" /></p> 
    5537            <div class="caption"> 
    56  
    57             <dl> 
    58  
    59               <dd class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></dd> 
    60  
    61             <dd class="serif"><?php the_content('<p >Read the rest of this entry &raquo;</p>'); ?></dd> 
    62  
    63  
    64  
    65  
     38              <dl> 
     39                <dd class="caption"> 
     40                  <?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?> 
     41                </dd> 
     42                <dd class="serif"> 
     43                  <?php the_content('<p >Read the rest of this entry &raquo;</p>'); ?> 
     44                  <div class="clearfix"></div> 
     45                </dd> 
    6646              </dl> 
    6747            </div> 
    68  
    69             <br style="clear:both;" /> 
    70             <?php //the_taxonomies('<li class="taxonomies">Taxonomy(ies) ', ', ', '</li>'); ?> 
     48            <div class="clearfix"></div> 
    7149            <hr /> 
    7250            <div class="navigation"> 
    73                 <div style="text-align:left;float:left;"><?php previous_image_link(0) ?></div><div style="float:right;text-align:right;"><?php next_image_link(0) ?></div> 
     51              <div style="text-align:left;float:left;"> 
     52                <?php previous_image_link(0) ?> 
     53              </div> 
     54              <div style="float:right;text-align:right;"> 
     55                <?php next_image_link(0) ?> 
     56              </div> 
    7457            </div> 
    75  
    76  
    77  
    78               <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { 
    79 // Both Comments and Pings are open ?> 
    80               <?php 
    81 /*<li>You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.</li>*/ 
    82 ?> 
    83               <?php } /*elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { 
    84 // Only Pings are Open ?> 
    85 <li>Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.</li> 
    86  
    87 <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { 
    88 // Comments are open, Pings are not ?> 
    89 <li>You can skip to the end and leave a response. Pinging is currently not allowed.</li> 
    90  
    91                         <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { 
    92 // Neither Comments, nor Pings are open ?> 
    93 <li>Both comments and pings are currently closed.</li> 
    94  
    95 <?php } */?> 
    96             </ul> 
    9758          </div> 
    98           <br class="clear" /> 
     59          <div class="clearfix"></div> 
    9960        </div> 
    10061        <?php endwhile; else: ?> 
    101         <p>Sorry, no attachments matched your criteria.</p> 
     62        <p> 
     63          <?php _e("Sorry, no attachments matched your criteria.","Raindrops");?> 
     64        </p> 
    10265        <?php endif; ?> 
    10366      </div> 
     
    10568      <div class="yui-u"> 
    10669        <!--rsidebar start--> 
    107         <?php if($rsidebar_show){get_sidebar('2'); 
    108         } ?> 
     70        <?php if($rsidebar_show){get_sidebar('2');} ?> 
    10971        <!--rsidebar end--> 
    11072      </div> 
     
    12486<!--sidebar--> 
    12587</div> 
    126  
    12788<?php get_footer(); ?> 
  • raindrops/0.283/lib/style.php

    r86900 r86900  
    3434    $handle = fopen($path, "r") or die ("error not open"); 
    3535    $buffer = ""; 
    36  
     36    $buffers = ""; 
    3737    while (!feof($handle)) { 
    3838        $buffer = fgetss($handle); 
  • raindrops/0.283/loop.php

    r86900 r86900  
    7979?> 
    8080<?php 
    81  
    82             switch($cat){ 
    83  
    84             case ('blog'): 
    85  
    86 /** 
    87  *  category blog 
    88  * 
    89  * 
    90  * 
    91  * 
    92  */ 
    93 ?> 
    94 <div id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?>> 
    95   <?php 
    9681$thumb = get_the_post_thumbnail($post->ID,'single-post-thumbnail'); 
    9782 
     
    10287 
    10388if(!empty($thumbnailsrc)){ 
    104     echo '<div class="single-post-thumbnail">'; 
     89    echo '<div class="single-post-thumbnail" style="margin-top:1em;">'; 
     90    echo '<a href="'.$thumbnailsrc.'" onclick="javascrip:this.target=\'_blank\'" rel="lightbox">'; 
    10591    echo $thumb; 
     92    echo '</a>'; 
    10693    echo '</div>'; 
    107     echo "<p class=\"thumb-link\"><a href=\"$thumbnailsrc\" onclick=\"javascrip:this.target='_blank'\"><span class=\"thumbnail-title\">$thumbnail_title</span></a></p>"; 
    10894} 
    10995} 
    11096?> 
     97<?php 
     98 
     99            switch($cat){ 
     100 
     101            case ('blog'): 
     102 
     103/** 
     104 *  category blog 
     105 * 
     106 * 
     107 * 
     108 * 
     109 */ 
     110?> 
     111<div id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?>> 
     112 
    111113  <ul class="entry-meta-list left"> 
    112114    <li> 
     
    165167?> 
    166168<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
    167   <?php 
    168 $thumb = get_the_post_thumbnail($post->ID,'single-post-thumbnail'); 
    169  
    170 if(isset($thumb)){ 
    171  
    172 $thumbnailsrc = get_url_from_element($thumb); 
    173 $thumbnail_title = get_title_from_element($thumb); 
    174  
    175 if(!empty($thumbnailsrc)){ 
    176     echo '<div class="single-post-thumbnail">'; 
    177     echo $thumb; 
    178     echo '</div>'; 
    179     echo "<p class=\"thumb-link\"><a href=\"$thumbnailsrc\" onclick=\"javascrip:this.target='_blank'\"><span class=\"thumbnail-title\">$thumbnail_title</span></a></p>"; 
    180 } 
    181 } 
    182 ?> 
     169 
    183170  <h2 class="entry-title h2"><a href="<?php the_permalink(); ?>" rel="bookmark"> 
    184171    <?php the_title(); echo $ht_deputy; ?> 
    185172    </a></h2> 
    186   <div class="entry-meta"> 
     173  <div class="entry-meta-gallery"> 
    187174    <?php raindrops_posted_on(); ?> 
    188175  </div> 
     
    195182                    $image = array_shift( $images ); 
    196183                    $attachment_page = $image->post_title; 
     184 
    197185                    ?> 
     186 
     187<div class="gallery-thumb"><?php echo wp_get_attachment_link( $image->ID ,array(150,150),true); ?></div> 
    198188    <?php the_content( __( 'Continue&nbsp;reading&nbsp;<span class="meta-nav">&rarr;</span>', 'Raindrops' ) ); ?> 
    199189    <div class="clearfix"></div> 
    200     <p style="margin:1em;"><em><?php printf( __( 'This gallery contains <a %1$s>%2$s photos</a>.', 'Raindrops' ),'href="' . get_permalink() .$attachment_page. '/" rel="bookmark"',$total_images); ?></em></p> 
    201   </div> 
     190    <p style="margin:1em;"><em><?php echo sprintf( __( 'This gallery contains %1$s photographs in all as ', 'Raindrops' ),$total_images).'&nbsp;'.wp_get_attachment_link( $image->ID ,false,true).'&nbsp;'.__('photograph etc.','Raindrops');?></em></p> 
     191    </div> 
    202192  <!-- .entry-content --> 
    203   <div class="entry-utility"> 
     193  <div class="entry-utility entry-meta"> 
    204194    <?php 
    205195                    $category_id = get_cat_ID( 'Gallery' ); 
     
    230220?> 
    231221<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
    232   <?php 
    233     $thumb = get_the_post_thumbnail($post->ID,'single-post-thumbnail'); 
    234  
    235     if(isset($thumb)){ 
    236  
    237         $thumbnailsrc = get_url_from_element($thumb); 
    238         $thumbnail_title = get_title_from_element($thumb); 
    239  
    240         if(!empty($thumbnailsrc)){ 
    241             echo '<div class="single-post-thumbnail">'; 
    242             echo $thumb; 
    243             echo '</div>'; 
    244             echo "<p class=\"thumb-link\"><a href=\"$thumbnailsrc\" onclick=\"javascrip:this.target='_blank'\"><span class=\"thumbnail-title\">$thumbnail_title</span></a></p>"; 
    245         } 
    246     } 
    247 ?> 
     222 
    248223  <h2 class="h2 entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"> 
    249224    <?php the_title(); echo $ht_deputy; ?> 
    250225    </a></h2> 
    251   <div class="entry-meta"> 
     226  <div class="entry-meta-default"> 
    252227    <?php raindrops_posted_on(); ?> 
    253228  </div> 
     
    266241  <!-- .entry-content --> 
    267242  <?php endif;?> 
    268   <div class="entry-utility"> <?php echo raindrops_posted_in();?> 
     243  <div class="entry-utility entry-meta"> <?php echo raindrops_posted_in();?> 
    269244    <?php edit_post_link( __( 'Edit', 'Raindrops' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 
    270245  </div> 
     
    284259<?php endif; ?> 
    285260<?php }else{ 
    286  
    287261/** 
    288262 * list post 
     
    298272  <?php if(get_the_title() == ''){$ht_deputy = $post->ID;}?> 
    299273  <li> 
    300     <div id="post-<?php echo $post->ID; ?>" <?php post_class(); ?>> 
    301     <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); echo $ht_deputy; ?>"><span class="entry-date published"> 
    302     <?php the_time(get_option('date_format')) ?> 
    303     </span></a> 
    304     <?php 
     274    <div id="post-<?php echo $post->ID; ?>" <?php post_class(); ?>> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); echo $ht_deputy; ?>"><span class="entry-date published"> 
     275      <?php the_time(get_option('date_format')) ?> 
     276      </span></a> 
     277      <?php 
    305278    echo sprintf( __( '<span class="time-diff">(Passage of %s)</span>', 'Raindrops' ), human_time_diff(get_the_time('U'),time()) ) ; 
    306279?> 
    307     <?php if( in_category( "gallery" )){     ?> 
    308  
    309     <h2 class="h2 entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> 
    310       <?php the_title(); echo $ht_deputy; ?> 
    311       </a></h2> 
    312     <div class="entry-content clearfix"> 
    313       <?php    if( has_post_thumbnail($post->ID)){?> 
    314       <div class="thumbnail_post" style="float:left;margin:.5em 1em 1em 0;width:50px;"> 
    315         <?php the_post_thumbnail(); ?> 
    316       </div> 
    317       <?php } 
     280      <?php if( in_category( "gallery" )){     ?> 
     281      <h2 class="h2 entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> 
     282        <?php the_title(); echo $ht_deputy; ?> 
     283        </a></h2> 
     284      <div class="entry-content clearfix"> 
     285        <?php    if( has_post_thumbnail($post->ID)){?> 
     286        <div class="thumbnail_post" style="float:left;margin:.5em 1em 1em 0;width:50px;"> 
     287          <?php the_post_thumbnail(); ?> 
     288 
     289        </div> 
     290        <?php } 
    318291 
    319292                    $images = get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) ); 
     
    324297 
    325298    ?> 
    326       <div class="gallery-thumb"> <a class="size-thumbnail" href="<?php the_permalink(); ?><?php echo $attachment_page;?>/"> <?php echo wp_get_attachment_image( $image->ID, 'thumbnail' );?> </a> </div> 
    327       <?php the_excerpt();?> 
    328       <p style="margin:1em;"><em><?php printf( __( 'This gallery contains <a %1$s>%2$s photos</a>.', 'Raindrops' ),'href="' . get_permalink() .$attachment_page. '/" rel="bookmark"',$total_images); ?></em></p> 
    329           <div class="entry-meta"> 
    330         <?php raindrops_posted_in();?> 
    331         <?php edit_post_link( __( 'Edit', 'Raindrops' ), '<span class="edit-link">', '</span>' ); ?> 
    332       </div> 
    333       </div> 
    334       <?php 
    335  
    336      }elseif( in_category( "blog" )){ 
    337  
    338          ?> 
    339  
     299        <div class="gallery-thumb"><?php echo wp_get_attachment_link( $image->ID ,array(150,150),true); ?></div> 
     300        <?php the_excerpt();?> 
     301         <div class="clearfix"></div> 
     302        <p style="margin:1em;"><em><?php printf( __( 'This gallery contains %1$s photos.', 'Raindrops' ),$total_images); ?></em></p> 
     303        <div class="entry-meta"> 
     304          <?php raindrops_posted_in();?> 
     305          <?php edit_post_link( __( 'Edit', 'Raindrops' ), '<span class="edit-link">', '</span>' ); ?> 
     306        </div> 
     307      </div> 
     308      <?php     }elseif( in_category( "blog" )){         ?> 
    340309      <h2 class="h2 entry-title"> 
    341         <?php if( has_post_thumbnail($post->ID)){ 
    342          echo '<span class="h2-thumb">';the_post_thumbnail();echo '</span>'; 
    343          } ?> 
     310        <?php if( has_post_thumbnail($post->ID)){ echo '<span class="h2-thumb">';the_post_thumbnail();echo '</span>';} ?> 
    344311        <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> 
    345312        <?php the_title(); echo $ht_deputy; ?> 
     
    348315        <ul class="left" style="width:120px;margin:0;text-align:left;"> 
    349316          <li><?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'raindrops_author_bio_avatar_size', 60 ) ); ?></li> 
    350           <li> 
    351             <?php _e('Auther:');?> 
    352             <?php 
     317          <li><?php 
    353318      echo sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s"   rel="vcard:url">%2$s</a></span>', 
    354319                get_author_posts_url( get_the_author_meta( 'ID' ) ), get_the_author() );?> 
     
    356321          <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(5) ) : else : ?> 
    357322          <?php endif; ?> 
    358  
    359323        </ul> 
    360324        <?php the_excerpt();?> 
     
    365329        <?php edit_post_link( __( 'Edit', 'Raindrops' ), '<span class="edit-link">', '</span>' ); ?> 
    366330      </div> 
    367  
    368  
    369331      <?php }else{ ?> 
    370332      <h2 class="h2 entry-title"> 
    371333        <?php if( has_post_thumbnail($post->ID)){ 
    372          echo '<span class="h2-thumb">';the_post_thumbnail();echo '</span>'; 
     334         echo '<span class="h2-thumb">'; 
     335         the_post_thumbnail(array(48,48),array("style"=>"vertical-align:middle;")); 
     336         echo '</span>'; 
    373337         } ?> 
    374338        <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> 
     
    378342        <?php the_excerpt();?> 
    379343      </div> 
    380        <div class="entry-meta"> 
     344      <div class="entry-meta"> 
    381345        <?php raindrops_posted_in();?> 
    382346        <?php edit_post_link( __( 'Edit', 'Raindrops' ), '<span class="edit-link">', '</span>' ); ?> 
    383347      </div> 
    384348      <?php } ?> 
    385  
    386349      <div class="clearfix"></div> 
    387350    </div> 
  • raindrops/0.283/page.php

    r86900 r86900  
    1212     get_header('xhtml1');?> 
    1313<!--<?php echo basename(__FILE__,'.php');?>[<?php echo basename(dirname(__FILE__));?>]--> 
     14 
    1415<div id="yui-main"> 
    1516  <div class="yui-b" > 
     
    2930        <div class="entry page"> 
    3031          <div id="post-<?php the_ID(); ?>"> 
    31             <h2 class="h2 entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> 
    32  
    33             <p style="margin-left:25px;" class="entry-date"><small><?php the_time(get_option('date_format')) ?>&nbsp;<?php the_author() ?></small></p> 
    34  
    35 <div style="entry-content clearfix"> 
    36             <?php the_content(__('Read the rest of this entry &raquo;','Raindrops')); ?> 
    37 </div> 
     32            <h2 class="h2 entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> 
     33              <?php the_title(); ?> 
     34              </a></h2> 
     35            <p style="margin-left:25px;" class="entry-date"><small> 
     36              <?php the_time(get_option('date_format')) ?> 
     37              &nbsp; 
     38              <?php the_author() ?> 
     39              </small></p> 
     40            <div style="entry-content"> 
     41              <?php the_content(__('Read the rest of this entry &raquo;','Raindrops')); ?> 
     42              <div class="clearfix"></div> 
     43            </div> 
    3844            <div class="linkpage clearfix"> 
    39                 <?php wp_link_pages('before=<p class="pagenate">&after=</p>&next_or_number=number&pagelink=<span>%</span>'); ?> 
     45              <?php wp_link_pages('before=<p class="pagenate">&after=</p>&next_or_number=number&pagelink=<span>%</span>'); ?> 
    4046            </div> 
    41 <br style="clear:both;" /> 
    42  
    43             <p class="postmetadata"><?php the_category(', ') ?>&nbsp;<?php edit_post_link('Edit', '', '  '); ?></p> 
    44  
    45  
    46  
     47            <br style="clear:both;" /> 
     48            <p class="postmetadata"> 
     49              <?php the_category(', ') ?> 
     50              &nbsp; 
     51              <?php edit_post_link('Edit', '', '  '); ?> 
     52            </p> 
    4753            <?php comments_template( '', true ); ?> 
    48  
    49  
    5054          </div> 
    5155        </div> 
    52  
    5356        <?php endwhile; ?> 
    54  
    55  
    5657        <?php if ( $wp_query->max_num_pages > 1 ) : ?> 
    57  
    58         <div id="nav-below" class="clearfix"> 
    59           <span class="nav-previous"> 
    60             <?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'Raindrops' ) ); ?> 
    61           </span> 
    62           <span class="nav-next"> 
    63             <?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'Raindrops' ) ); ?> 
    64           </span> 
    65         </div> 
     58        <div id="nav-below" class="clearfix"> <span class="nav-previous"> 
     59          <?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'Raindrops' ) ); ?> 
     60          </span> <span class="nav-next"> 
     61          <?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'Raindrops' ) ); ?> 
     62          </span> </div> 
    6663        <!-- #nav-above --> 
    6764        <?php endif; ?> 
    68  
    6965        <?php else : ?> 
    7066        <div class="entry"> 
    7167          <div id="not-found"> 
    72             <h2 class="h2"><?php _e("Not Found","Raindrops"); ?></h2> 
     68            <h2 class="h2"> 
     69              <?php _e("Not Found","Raindrops"); ?> 
     70            </h2> 
    7371            <p><br /> 
    74               <small><?php _e("Sorry, but you are looking for something that isn't here.","Raindrops");?></small></p> 
     72              <small> 
     73              <?php _e("Sorry, but you are looking for something that isn't here.","Raindrops");?> 
     74              </small></p> 
    7575          </div> 
    7676        </div> 
     
    9898<!--sidebar--> 
    9999</div> 
    100  
    101100<?php get_footer(); ?> 
  • raindrops/0.283/search.php

    r86900 r86900  
    1010?> 
    1111<?php get_header("xhtml1"); ?> 
     12 
    1213<div id="yui-main"> 
    1314  <div class="yui-b"> 
    14  
    15 <?php 
     15    <?php 
    1616if(function_exists('bcn_display')) 
    1717{ 
     
    2222} 
    2323?> 
    24  
    2524    <div class="<?php if(isset($yui_inner_layout)){echo $yui_inner_layout;}else{echo 'yui-ge';}?>" id="container"> 
    26  
    2725      <div class="yui-u first" <?php if($rsidebar_show == false){echo "style=\"width:100%;\"";} ?>> 
    28       <!-- content start--> 
    29  
    30 <!--filename search.php--> 
    31 <?php if (have_posts()) : ?> 
    32  
    33 <h2 class="pagetitle h2">Search Results</h2> 
    34 <?php while (have_posts()) : the_post(); ?> 
    35 <div class="entry"> 
    36   <h3 id="post-<?php the_ID(); ?>" class="h3"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> 
    37     <?php the_title(); ?> 
    38     </a></h3> 
    39   <small> 
    40   <?php the_time(get_option('date_format')) ?> 
    41   </small> <br /> 
    42   <br /> 
    43   <?php the_content('Read the rest of this entry &raquo;'); ?> 
    44  
    45   <br /> 
    46   <p class="postmetadata">Posted in 
    47     <?php the_category(', ') ?> 
    48     | 
    49     <?php edit_post_link('Edit', '', ' | '); ?> 
    50     <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?> 
    51   </p> 
    52 </div> 
    53 <?php endwhile; ?> 
    54 <div class="navigation"> 
    55   <div class="alignleft"> 
    56     <?php next_posts_link('&laquo; Previous Entries') ?> 
    57   </div> 
    58   <div class="alignright"> 
    59     <?php previous_posts_link('Next Entries &raquo;') ?> 
    60   </div> 
    61 </div> 
    62 <?php else : ?> 
    63 <div class="fail-search"> 
    64   <h2 class="center h2"><?php _e("Nothing was found though it was regrettable. Please change the key word if it is good, and retrieve it.","Raindrops");?> </h2> 
    65 </div> 
    66 <?php endif; ?> 
    67  
    68       <!-- content end--> 
     26        <!-- content start--> 
     27        <!--filename search.php--> 
     28        <?php if (have_posts()) : ?> 
     29        <h2 class="pagetitle h2">Search Results</h2> 
     30        <?php while (have_posts()) : the_post(); ?> 
     31        <div class="entry"> 
     32          <h3 id="post-<?php the_ID(); ?>" class="h3"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> 
     33            <?php the_title(); ?> 
     34            </a></h3> 
     35          <small> 
     36          <?php the_time(get_option('date_format')) ?> 
     37          </small> <br /> 
     38          <br /> 
     39          <?php the_content('Read the rest of this entry &raquo;'); ?> 
     40          <div class="clearfix"></div> 
     41          <p class="postmetadata">Posted in 
     42            <?php the_category(', ') ?> 
     43            | 
     44            <?php edit_post_link('Edit', '', ' | '); ?> 
     45            <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?> 
     46          </p> 
     47        </div> 
     48        <?php endwhile; ?> 
     49        <div class="navigation"> 
     50          <div class="alignleft"> 
     51            <?php next_posts_link('&laquo; Previous Entries') ?> 
     52          </div> 
     53          <div class="alignright"> 
     54            <?php previous_posts_link('Next Entries &raquo;') ?> 
     55          </div> 
     56        </div> 
     57        <?php else : ?> 
     58        <div class="fail-search"> 
     59          <h2 class="center h2"> 
     60            <?php _e("Nothing was found though it was regrettable. Please change the key word if it is good, and retrieve it.","Raindrops");?> 
     61          </h2> 
     62        </div> 
     63        <?php endif; ?> 
     64        <!-- content end--> 
    6965      </div> 
    7066      <!-- navigation--> 
     
    8985<!--sidebar--> 
    9086</div> 
    91  
    9287<?php get_footer(); ?> 
  • raindrops/0.283/style.css

    r86900 r86900  
    22Theme Name: raindrops 
    33Theme URI: http://www.tenman.info/wp3/raindrops/ 
    4 Description: basic template 
     4Description: This theme file has the automatic arrangement of color function in specifying the layout customizing function and the reference color by Yahoo User Interface. The color can specify the tradition color and the American tradition color of Japan by the name.  
     5An automatic arrangement of color and the layout can be changed to the expression who you further seem by your instruction.  
    56Author: Tenman 
    67Author URI: http://www.tenman.info/ 
    7 Version: 0.280 
     8Version: 0.283 
    89 
    910Tags:black, blue, brown, green, orange, pink, purple, red, silver, tan, white, yellow, dark, light,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar ,fixed-width ,flexible-width, custom-colors, custom-header, custom-background, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, translation-ready 
     
    6465h2 a, 
    6566.h2 a{ 
    66     font-size:167%; 
     67    font-size:161.6%; 
    6768    } 
    6869h3, 
    6970h3 a, 
    7071.h3 a{ 
    71     font-size:161.6%; 
     72    font-size:138.5%; 
    7273    } 
    7374h4, 
     
    221222} 
    222223input[type="submit"],input[type="reset"],input[type="file"]{ 
    223     padding:4px 7px; 
    224  
     224    padding:0 3px; 
    225225} 
    226226 
Note: See TracChangeset for help on using the changeset viewer.