diff --git a/css/sefa.css b/css/sefa.css index 831ca98..618ec88 100644 --- a/css/sefa.css +++ b/css/sefa.css @@ -1,6 +1,3 @@ -#sefa-wrapper { - width: 70%; -} #sefa-wrapper h1 { font-size: 2.8em; font-weight: 200; @@ -15,14 +12,34 @@ margin-right: 10px; font-size: 1.2em; } -#sefa-wrapper div.error, +#sefa-wrapper div.error ul li { + list-style: initial; + margin-left: 20px; + margin-bottom: 0; +} #sefa-wrapper div.updated { padding: 10px; margin-bottom: 5px; } -#sefa-form td { +#sefa-form .form-table { + margin-top: 0; +} +#sefa-form .form-table tr:first-child th { + padding-top: 5px; +} +#sefa-form .form-table tr:first-child td { + padding-top: 0; +} +#sefa-form .form-table th { + width: auto; + min-width: 100px; +} +#sefa-form .form-table td { vertical-align: text-top; } +#sefa-form .form-table tr:last-child td { + padding: 0 10px; +} #sefa-form input[type=text], #sefa-form input[type=email], #sefa-form textarea, @@ -56,6 +73,11 @@ display: block; } } +@media screen and (max-width: 850px) { + #sefa-wrapper .postbox { + margin-right: 10px; + } +} @media screen and (max-width: 500px) { #sefa-wrapper h1 { font-size: 2em; diff --git a/readme.txt b/readme.txt index b16bc49..254e2d9 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i Tags: email, send email, admin email, custom email, email tools, email attachment Requires at least: 4.0 Tested up to: 4.3.1 -Stable tag: 0.9.2 +Stable tag: 0.9.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -43,6 +43,10 @@ Yes. You can upload and attach one attachment to the email message. == Changelog == += 0.9.3 = +* added links +* minor css changes + = 0.9.2 = * minor code cleanup * added HTML5 'required' attribute to form fields diff --git a/send-email-from-admin.php b/send-email-from-admin.php index 76a9ffc..7bc48e9 100644 --- a/send-email-from-admin.php +++ b/send-email-from-admin.php @@ -3,7 +3,7 @@ Plugin Name: Send Email From Admin Plugin URI: Description: Easily send a simple custom email with an attachment from the WordPress administration screen. Tools -> Send Email. -Version: 0.9.2 +Version: 0.9.3 Author: kojak711 Domain Path: /languages Text Domain: sefa @@ -29,7 +29,7 @@ if ( ! defined( 'ABSPATH' ) ) { } define( 'SEFA_PLUGIN_DIR_URL', plugin_dir_url( __FILE__ ) ); -define( 'SEFA_PLUGIN_VER', '0.9.2' ); +define( 'SEFA_PLUGIN_VER', '0.9.3' ); /** * Add our sub menu in the Tools menu @@ -156,87 +156,100 @@ function sefa_plugin_main() { ?>

- -
- - - \n"; - } - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
'; - if ( !empty($errors) ) { - echo '
'; - foreach ($errors as $error) { - echo "$error
"; - } - echo "
\n"; - } - if ( $send_mail_message ) { - echo $send_mail_message; - } - echo "
From:" required>
General.', 'sefa' ); ?>
- -
-
- - -
-    -
- required> - -
-
- "200" ); - wp_editor( sefa_plugin_issetor($sefa_body), "sefa_body", $settings ); - ?> -
- -
-
+
\n"; + } + if ( $send_mail_message ) { + echo $send_mail_message; + } + ?> +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From:" required>
General.', 'sefa' ); ?>
+ +
+
+ required> + +
+    +
+ required> + +
+
+ "200" ); + wp_editor( sefa_plugin_issetor($sefa_body), "sefa_body", $settings ); + ?> +
+ +
+
+
+
+
+

Like this plugin?

+ +
+
+
+
+