- Timestamp:
- 04/21/08 14:26:49 (3 months ago)
- Location:
- wp-email/trunk
- Files:
-
- 6 modified
-
email-css.css (modified) (1 diff)
-
email-standalone.php (modified) (1 diff)
-
readme.html (modified) (1 diff)
-
wp-email.mo (modified) (previous)
-
wp-email.php (modified) (4 diffs)
-
wp-email.pot (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-email/trunk/email-css.css
r36676 r41987 28 28 border: 0px; 29 29 } 30 .TextField { 31 } 32 .Button { 33 34 } -
wp-email/trunk/email-standalone.php
r36676 r41987 26 26 27 27 ### We Use Page Template 28 if(file_exists(TEMPLATEPATH.'/page.php')) { 28 if(file_exists(TEMPLATEPATH.'/email.php')) { 29 include(TEMPLATEPATH.'/email.php'); 30 } elseif(file_exists(TEMPLATEPATH.'/page.php')) { 29 31 include(get_page_template()); 30 32 } elseif(file_exists(TEMPLATEPATH.'/single.php')) { -
wp-email/trunk/readme.html
r41125 r41987 284 284 <ul> 285 285 <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> 286 287 <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> 287 289 <li>NEW: Renamed email-js.php To email-js.js and Move The Dynamic Javascript Variables To The PHP Pages</li> 288 290 <li>NEW: Uses email-js-packed.js</li> -
wp-email/trunk/wp-email.php
r41125 r41987 170 170 wp_register_script('wp-email', '/wp-content/plugins/wp-email/email-js-packed.js', false, '2.30'); 171 171 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')) { 173 173 echo '<link rel="stylesheet" href="'.get_stylesheet_directory_uri().'/email-css.css" type="text/css" media="screen" />'."\n"; 174 174 } else { … … 1070 1070 $output .= '<p>'."\n"; 1071 1071 $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"; 1073 1073 $output .= '</p>'."\n"; 1074 1074 } … … 1076 1076 $output .= '<p>'."\n"; 1077 1077 $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"; 1079 1079 $output .= '</p>'."\n"; 1080 1080 } … … 1088 1088 $output .= '<p>'."\n"; 1089 1089 $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"; 1091 1091 $output .= '</p>'."\n"; 1092 1092 } 1093 1093 $output .= '<p>'."\n"; 1094 1094 $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"; 1096 1096 $output .= '</p>'."\n"; 1097 1097 if($email_image_verify) { 1098 1098 $output .= '<p>'."\n"; 1099 1099 $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"; 1101 1101 $output .= '</p>'."\n"; 1102 1102 } 1103 $output .= '<p style="text-align: center"><input type="button" value="'.__(' Mail It! ', 'wp-email').'" id="wp-email-submit" class="Button s" 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"; 1104 1104 $output .= '</form>'."\n"; 1105 1105 } else { -
wp-email/trunk/wp-email.pot
r41125 r41987 3 3 "Project-Id-Version: WP-EMail 2.30\n" 4 4 "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" 7 7 "Last-Translator: Lester Chan <lesterchan@gmail.com>\n" 8 8 "Language-Team: Lester Chan <lesterchan@gmail.com>\n"
