Changeset 796545
- Timestamp:
- 10/31/2013 10:45:02 AM (12 years ago)
- Location:
- poty-mail-send/trunk
- Files:
-
- 8 edited
-
css/_notes/dwsync.xml (modified) (1 diff)
-
css/poty-mail-send.css (modified) (1 diff)
-
page/_notes/dwsync.xml (modified) (1 diff)
-
page/index.php (modified) (4 diffs)
-
page/sidebar.php (modified) (1 diff)
-
poty_mail_send.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
screenshot-1.png (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
poty-mail-send/trunk/css/_notes/dwsync.xml
r776276 r796545 1 1 <?xml version="1.0" encoding="utf-8" ?> 2 2 <dwsync> 3 <file name="poty-mail-send.css" server="E:/fw4/" local="130242202697149419" remote="130242202700000000" /> 3 <file name="poty-mail-send.css" server="E:/fw4/" local="130249596662736602" remote="130249596680000000" /> 4 <file name="poty-mail-send.css" server="E:/www.laboratorio.com.des/" local="130276872263068199" remote="130276872280000000" /> 4 5 </dwsync> -
poty-mail-send/trunk/css/poty-mail-send.css
r776276 r796545 1 1 /* CSS Document */ 2 2 3 label{3 .wrap_poty label.lbl{ 4 4 width:80px !important; 5 5 float:left; 6 6 } 7 7 8 input{8 .wrap_poty input.txt{ 9 9 width:80% !important; 10 10 } 11 11 12 #btn_accion{12 .wrap_poty #btn_accion{ 13 13 width:auto !important; 14 14 } 15 15 16 . button{16 .wrap_poty .button_info { 17 17 border-top: 1px solid #96d1f8; 18 18 background: #65a9d7; 19 background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7)); 20 background: -webkit-linear-gradient(top, #3e779d, #65a9d7); 21 background: -moz-linear-gradient(top, #3e779d, #65a9d7); 22 background: -ms-linear-gradient(top, #3e779d, #65a9d7); 23 background: -o-linear-gradient(top, #3e779d, #65a9d7); 24 padding: 7.5px 15px; 19 padding: 7px 15px; 25 20 -webkit-border-radius: 8px; 26 21 -moz-border-radius: 8px; 27 22 border-radius: 8px; 28 -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0; 29 -moz-box-shadow: rgba(0,0,0,1) 0 1px 0; 30 box-shadow: rgba(0,0,0,1) 0 1px 0; 31 text-shadow: rgba(0,0,0,.4) 0 1px 0; 32 color: white; 23 color: #ffffff; 33 24 font-size: 17px; 34 25 font-family: Georgia, serif; 35 26 text-decoration: none; 36 vertical-align: middle; 27 display:block; 28 text-align:center; 37 29 } 38 . button:hover {30 .wrap_poty .button_info:hover { 39 31 border-top-color: #28597a; 40 32 background: #28597a; 41 33 color: #ccc; 42 34 } 43 . button:active {35 .wrap_poty .button:active { 44 36 border-top-color: #1b435e; 45 37 background: #1b435e; -
poty-mail-send/trunk/page/_notes/dwsync.xml
r776276 r796545 2 2 <dwsync> 3 3 <file name="sidebar.php" server="E:/fw4/" local="130242204616229184" remote="130242204620000000" /> 4 <file name="index.php" server="E:/fw4/" local="130249596309796415" remote="130249596320000000" /> 5 <file name="index.php" server="E:/www.laboratorio.com.des/" local="130276889395608124" remote="130276889400000000" /> 6 <file name="sidebar.php" server="E:/www.laboratorio.com.des/" local="130276893424588568" remote="130276893440000000" /> 4 7 </dwsync> -
poty-mail-send/trunk/page/index.php
r605869 r796545 16 16 remove_all_filters('mce_external_plugins'); 17 17 } 18 19 function replace_shortCode($text){ 20 $tmp_text=$text; 21 //date 22 $date = date('l jS \of F Y'); 23 $tmp_text = str_replace("%date%", $date, $tmp_text); 24 //blog info name 25 $wp_name = get_bloginfo('name'); 26 $tmp_text = str_replace("%wp_name%", $wp_name, $tmp_text); 27 28 return $tmp_text; 29 30 } 31 18 32 ?> 19 33 20 34 21 <div class="wrap ">35 <div class="wrap wrap_poty"> 22 36 23 37 <div id="icon-options-general" class="icon32"></div> … … 31 45 if($_REQUEST["to"]!=""&&$_REQUEST["subject"]!=""&&$_REQUEST["content"]!=""){ 32 46 $remitente = $current_user->user_email; 33 $cuerpo .= $_REQUEST["content"]. "\n";47 $cuerpo .= replace_shortCode($_REQUEST["content"]) . "\n"; 34 48 $para = $_REQUEST["to"]; 35 49 $asunto = $_REQUEST["subject"]; 36 50 $encabezados = "From: $remitente\nReply-To: $remitente\nContent-Type: text/html; charset=iso-8859-1"; 37 38 51 39 52 //mando el correo... … … 43 56 echo '<div id="message" class="updated below-h2"><p>'.__('There was an error sending mail').'</p></div>'; 44 57 } 45 }else { 58 }else { 59 60 echo '<div id="message" class="updated below-h2"><p>'.__('Insert all fields').'</p></div>'; 61 46 62 } 47 63 ?> … … 68 84 <form method="POST" action=""> 69 85 <ul> 70 <li><label for="to"><?php _e('To');?>:</label>86 <li><label class="lbl" for="to"><?php _e('To');?>:</label> 71 87 <input type="text" id="to" name="to" class="txt" /> 72 88 <br class="clear" /></li> 73 89 74 <li><label for="subject"><?php _e('Subject');?>:</label>90 <li><label class="lbl" for="subject"><?php _e('Subject');?>:</label> 75 91 <input type="text" id="subject" name="subject" class="txt" /> 76 92 <br class="clear" /></li> -
poty-mail-send/trunk/page/sidebar.php
r776276 r796545 29 29 <p><a href="https://twitter.com/jmmupl" class="twitter-follow-button" data-show-count="false" data-lang="en" data-size="large">Follow @jmmupl</a></p> 30 30 <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> 31 <p><?php _e('Have an idea?'); ?> <a class="button" href="mailto:[email protected]"><?php _e('Tell us about it!'); ?></a></p> 31 <p><?php _e('Have an idea?'); ?> <a class="button_info" href="mailto:[email protected]"><?php _e('Tell us about it!'); ?></a></p> 32 </div> 33 </div> 34 35 <div class="postbox"> 36 <h3><span><?php _e('Shortcode'); ?></span></h3> 37 <div class="inside"> 38 <p><strong>%date%</strong> <?php _e('Displays the current date'); ?></p> 39 <p><strong>%wp_name%</strong> <?php _e('Displays the "Site Title"'); ?></p> 32 40 </div> 33 41 </div> -
poty-mail-send/trunk/poty_mail_send.php
r776284 r796545 3 3 Plugin URI: http://wordpress.org/plugins/poty-mail-send/ 4 4 Description: Plugin to send mails from the administration of wordpress. 5 Version: 0. 55 Version: 0.6 6 6 Author: jmmunozpl 7 7 Author URI: mailto:[email protected] -
poty-mail-send/trunk/readme.txt
r776276 r796545 2 2 Contributors: jmmunozpl 3 3 Tags: mail, email, send 4 Tested up to: 3. 3.24 Tested up to: 3.7 5 5 6 6 Plugin to send mails from the administration of wordpress. … … 38 38 == Changelog == 39 39 40 = 0.6 = 41 42 * Incorporate shortcode 43 * Incorporar shortcode 44 45 * Fix bug in the interface 46 * Corregir fallo en la interfaz 47 40 48 = 0.5 = 41 49
Note: See TracChangeset
for help on using the changeset viewer.