]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-edit_sponsor.php
HTML->XHTML preparation (still *A LOT* to convert
[mailer.git] / inc / modules / admin / what-edit_sponsor.php
index e24b65335fd9943abbaff3126e204469e054a824..8e496ed325bec1f24ac7dfb18dd8073e08c2a553 100644 (file)
@@ -157,6 +157,12 @@ if ((!empty($_GET['id'])) && (!empty($_GET['mode']))) {
                                        unset($_POST['pass2']);
                                        $PASS = false;
                                }
+
+                               // Convert time selection
+                               $DATA = array(); $id = "warning_interval_ye"; $skip = false;
+                               CONVERT_SELECTIONS_TO_TIMESTAMP($_POST, $DATA, $id, $skip);
+
+                               // Save the sponsor
                                SPONSOR_HANDLE_SPONSOR($_POST);
 
                                // Convert some data for the email template
@@ -181,7 +187,7 @@ if ((!empty($_GET['id'])) && (!empty($_GET['mode']))) {
                        } // END - if
                } elseif (FILE_READABLE(sprintf("%stemplates/%s/html/admin/%s.tpl", PATH, GET_LANGUAGE(), $TPL))) {
                        // Create mailto link
-                       define('__SPONSOR_VALUE', "<A href=\"mailto:".__EMAIL."\">".__SURNAME." ".__FAMILY."</A>");
+                       define('__SPONSOR_VALUE', "<a href=\"mailto:".__EMAIL."\">".__SURNAME." ".__FAMILY."</a>");
 
                        // Load mode template
                        LOAD_TEMPLATE($TPL);