]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-add_guestnl_cat.php
Some fixes for surfbar extension (#123), double->single, misc cleanups/fixes
[mailer.git] / inc / modules / admin / what-add_guestnl_cat.php
index c7fcc2b11a5d68e09338950b0917bbee4b2ebb02..efdd811f68d7696ea5472f732716920f4e4b97e9 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Newsletter-Kategorie hinzufuegen                 *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
 
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
 // Add description as navigation point
-ADD_DESCR("admin", __FILE__);
+ADD_DESCR('admin', __FILE__);
 
-if (isset($_POST['ok']))
-{
+if (isFormSent()) {
        // Check if category does already exist
-}
- else
-{
+} else {
        // Display form
        LOAD_TEMPLATE("admin_add_guestnl_cat");
 }