Changeset 41987

Show
Ignore:
Timestamp:
04/21/08 14:26:49 (3 months ago)
Author:
GamerZ
Message:

21st April 2008 Updates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wp-email/trunk/email-css.css

    r36676 r41987  
    2828      border: 0px; 
    2929} 
     30.TextField { 
     31} 
     32.Button { 
     33 
     34} 
  • wp-email/trunk/email-standalone.php

    r36676 r41987  
    2626 
    2727### We Use Page Template 
    28 if(file_exists(TEMPLATEPATH.'/page.php')) { 
     28if(file_exists(TEMPLATEPATH.'/email.php')) { 
     29      include(TEMPLATEPATH.'/email.php'); 
     30} elseif(file_exists(TEMPLATEPATH.'/page.php')) { 
    2931      include(get_page_template()); 
    3032} elseif(file_exists(TEMPLATEPATH.'/single.php')) { 
  • wp-email/trunk/readme.html

    r41125 r41987  
    284284                              <ul> 
    285285                                    <li>NEW: Works For WordPress 2.5 Only</li> 
     286                                    <li>NEW: WP-Email Will Load 'email.php' Inside Your Theme Directory If It Exists. This Will Allow Some Flexibility Instead Of Using 'page.php' As The Default Template.</li> 
    286287                                    <li>NEW: WP-Email Will Load 'email-css.css' Inside Your Theme Directory If It Exists. If Not, It Will Just Load The Default 'email-css.css' By WP-Email</li> 
     288                                    <li>NEW: Changed CSS Style For Input Field From 'Forms' To 'TextField' And For Buttons From 'Buttons' To 'Button'</li> 
    287289                                    <li>NEW: Renamed email-js.php To email-js.js and Move The Dynamic Javascript Variables To The PHP Pages</li> 
    288290                                    <li>NEW: Uses email-js-packed.js</li> 
  • wp-email/trunk/wp-email.php

    r41125 r41987  
    170170      wp_register_script('wp-email', '/wp-content/plugins/wp-email/email-js-packed.js', false, '2.30'); 
    171171      wp_print_scripts(array('sack', 'wp-email')); 
    172       if(@file_exists(get_template_directory().'/email-css.css')) { 
     172      if(@file_exists(TEMPLATEPATH.'/email-css.css')) { 
    173173            echo '<link rel="stylesheet" href="'.get_stylesheet_directory_uri().'/email-css.css" type="text/css" media="screen" />'."\n";  
    174174      } else { 
     
    10701070                        $output .= '<p>'."\n"; 
    10711071                        $output .= '<strong><label for="yourname">'.__('Your Name: *', 'wp-email').'</label></strong><br />'."\n"; 
    1072                         $output .= '<input type="text" size="50" id="yourname" name="yourname" class="Forms" value="'.$error_field['yourname'].'" />'."\n"; 
     1072                        $output .= '<input type="text" size="50" id="yourname" name="yourname" class="TextField" value="'.$error_field['yourname'].'" />'."\n"; 
    10731073                        $output .= '</p>'."\n"; 
    10741074                  } 
     
    10761076                        $output .= '<p>'."\n"; 
    10771077                        $output .= '<strong><label for="youremail">'.__('Your E-Mail: *', 'wp-email').'</label></strong><br />'."\n"; 
    1078                         $output .= '<input type="text" size="50" id="youremail" name="youremail" class="Forms" value="'.$error_field['youremail'].'" />'."\n"; 
     1078                        $output .= '<input type="text" size="50" id="youremail" name="youremail" class="TextField" value="'.$error_field['youremail'].'" />'."\n"; 
    10791079                        $output .= '</p>'."\n"; 
    10801080                  } 
     
    10881088                        $output .= '<p>'."\n"; 
    10891089                        $output .= '<strong><label for="friendname">'.__('Friend\'s Name: *', 'wp-email').'</label></strong><br />'."\n"; 
    1090                         $output .= '<input type="text" size="50" id="friendname" name="friendname" class="Forms" value="'.$error_field['friendname'].'" />'.email_multiple(false)."\n"; 
     1090                        $output .= '<input type="text" size="50" id="friendname" name="friendname" class="TextField" value="'.$error_field['friendname'].'" />'.email_multiple(false)."\n"; 
    10911091                        $output .= '</p>'."\n"; 
    10921092                  } 
    10931093                  $output .= '<p>'."\n"; 
    10941094                  $output .= '<strong><label for="friendemail">'.__('Friend\'s E-Mail: *', 'wp-email').'</label></strong><br />'."\n"; 
    1095                   $output .= '<input type="text" size="50" id="friendemail" name="friendemail" class="Forms" value="'.$error_field['friendemail'].'" />'.email_multiple(false)."\n"; 
     1095                  $output .= '<input type="text" size="50" id="friendemail" name="friendemail" class="TextField" value="'.$error_field['friendemail'].'" />'.email_multiple(false)."\n"; 
    10961096                  $output .= '</p>'."\n"; 
    10971097                  if($email_image_verify) { 
    10981098                        $output .= '<p>'."\n"; 
    10991099                        $output .= '<strong><label for="imageverify">'.__('Image Verification: *', 'wp-email').'</label></strong><br />'."\n"; 
    1100                         $output .= '<img src="'.get_option('siteurl').'/wp-content/plugins/wp-email/email-image-verify.php" width="55" height="15" alt="'.__('E-Mail Image Verification', 'wp-email').'" /><input type="text" size="5" maxlength="5" id="imageverify" name="imageverify" class="Forms" />'."\n"; 
     1100                        $output .= '<img src="'.get_option('siteurl').'/wp-content/plugins/wp-email/email-image-verify.php" width="55" height="15" alt="'.__('E-Mail Image Verification', 'wp-email').'" /><input type="text" size="5" maxlength="5" id="imageverify" name="imageverify" class="TextField" />'."\n"; 
    11011101                        $output .= '</p>'."\n"; 
    11021102                  } 
    1103                   $output .= '<p style="text-align: center"><input type="button" value="'.__('     Mail It!     ', 'wp-email').'" id="wp-email-submit" class="Buttons" onclick="email_form();" onkeypress="email_form();" /></p>'."\n"; 
     1103                  $output .= '<p style="text-align: center"><input type="button" value="'.__('     Mail It!     ', 'wp-email').'" id="wp-email-submit" class="Button" onclick="email_form();" onkeypress="email_form();" /></p>'."\n"; 
    11041104                  $output .= '</form>'."\n"; 
    11051105            } else {  
  • wp-email/trunk/wp-email.pot

    r41125 r41987  
    33"Project-Id-Version: WP-EMail 2.30\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2008-04-17 17:20+0800\n" 
    6 "PO-Revision-Date: 2008-04-17 17:20+0800\n" 
     5"POT-Creation-Date: 2008-04-21 22:11+0800\n" 
     6"PO-Revision-Date: 2008-04-21 22:11+0800\n" 
    77"Last-Translator: Lester Chan <lesterchan@gmail.com>\n" 
    88"Language-Team: Lester Chan <lesterchan@gmail.com>\n"