[ Index ] |
PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09) |
[Summary view] [Print] [Text view]
1 <?php 2 /************************************************************************************* 3 Copyright notice 4 5 (c) 2002-2009 Oliver Georgi (oliver@phpwcms.de) // All rights reserved. 6 7 This script is part of PHPWCMS. The PHPWCMS web content management system is 8 free software; you can redistribute it and/or modify it under the terms of 9 the GNU General Public License as published by the Free Software Foundation; 10 either version 2 of the License, or (at your option) any later version. 11 12 The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html 13 A copy is found in the textfile GPL.txt and important notices to the license 14 from the author is found in LICENSE.txt distributed with these scripts. 15 16 This script is distributed in the hope that it will be useful, but WITHOUT ANY 17 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 18 PARTICULAR PURPOSE. See the GNU General Public License for more details. 19 20 This copyright notice MUST APPEAR in all copies of the script! 21 *************************************************************************************/ 22 23 // ---------------------------------------------------------------- 24 // obligate check for phpwcms constants 25 if (!defined('PHPWCMS_ROOT')) { 26 die("You Cannot Access This Script Directly, Have a Nice Day."); 27 } 28 // ---------------------------------------------------------------- 29 30 31 // initialize Mootools 32 initMultipleUpload(); 33 34 ?> 35 <h1 class="title" id="swiffStore"><?php echo $BL['be_file_multiple_upload'] ?></h1> 36 37 <form action="<?php echo PHPWCMS_URL?>include/inc_act/ajax_uploader.php?<?php echo session_name().'='.session_id(); ?>" method="post" id="upload"> 38 39 <table border="0" cellpadding="0" cellspacing="0" summary="" class="width440 tdbottom10"> 40 <tr> 41 <td> 42 <ul class="upload-queue" id="upload-queue"> 43 <li style="display: none"> </li> 44 </ul> 45 </td> 46 </tr> 47 </table> 48 49 <div class="upload_button"> 50 <input type="file" name="Filedata" id="upload-filedata" /> 51 52 <input name="submit" type="submit" class="v12" id="profile-submit" value="<?php echo $BL['be_files_upload']; ?>" /> 53 </div> 54 55 </form> 56 57 <script type="text/javascript"> 58 <!-- 59 60 window.addEvent('domready', function(){ 61 62 var upload = new FancyUpload( $('upload-filedata'), { 63 swf: '<?php echo PHPWCMS_URL; ?>include/inc_js/mootools/FancyUpload/Swiff.Uploader.swf', 64 queueList: 'upload-queue', 65 container: $('swiffStore'), 66 types: { 67 '<?php echo $BL['be_ctype_images']; ?> (*.jpg, *.jpeg, *.gif, *.png)': '*.jpg; *.jpeg; *.gif; *.png;', 68 '<?php echo $BL['be_ftptakeover_all']; ?> (*.*)': '*.*;' 69 }, 70 limitSize: <?php echo $phpwcms['file_maxsize']; ?>, 71 txtBrowse: '<?php echo $BL['be_files_browse']; ?>' 72 }); 73 74 }); 75 76 //--> 77 </script>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Dec 30 05:55:15 2009 | Cross-referenced by PHPXref 0.7 |