<?PHP
/************************************************************************/
/* DUNE by NPDS                                                         */
/* ===========================                                          */
/*                                                                      */
/* NPDS Copyright (c) 2002-2007 by Philippe Brunier                     */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

function win_upload($typeL) {
   if ($typeL=="win") {
      echo "<script type=\"text/javascript\" language=\"JavaScript\">
            <!--
            window.open('modules.php?ModPath=upload&ModStart=include_minisite/upload_minisite2&apli=minisite','wtmpMinisite', 'menubar=no,location=no,directories=no,status=no,copyhistory=no,toolbar=no,scrollbars=yes,resizable=yes, width=750, height=550');
            //-->
            </script>\n";
   } else {
      return ("'modules.php?ModPath=upload&ModStart=include_minisite/upload_minisite2&apli=minisite','wtmpMinisite', 'menubar=no,location=no,directories=no,status=no,copyhistory=no,toolbar=no,scrollbars=yes,resizable=yes, width=750, height=550'");
   }
}
?>