| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php defined('_JEXEC') or die('Restricted access'); ?> 2 <table width="100%" cellspacing="0"> 3 <tr valign="top"> 4 <td width="200px"> 5 <fieldset id="treeview"> 6 <legend><?php echo JText::_( 'Folders' ); ?></legend> 7 <div id="media-tree_tree"></div> 8 <?php echo $this->loadTemplate('folders'); ?> 9 </fieldset> 10 </td> 11 <td> 12 <?php if ($this->require_ftp): ?> 13 <form action="index.php?option=com_media&task=ftpValidate" name="ftpForm" id="ftpForm" method="post"> 14 <fieldset title="<?php echo JText::_('DESCFTPTITLE'); ?>"> 15 <legend><?php echo JText::_('DESCFTPTITLE'); ?></legend> 16 <?php echo JText::_('DESCFTP'); ?> 17 <table class="adminform nospace"> 18 <tbody> 19 <tr> 20 <td width="120"> 21 <label for="username"><?php echo JText::_('Username'); ?>:</label> 22 </td> 23 <td> 24 <input type="text" id="username" name="username" class="input_box" size="70" value="" /> 25 </td> 26 </tr> 27 <tr> 28 <td width="120"> 29 <label for="password"><?php echo JText::_('Password'); ?>:</label> 30 </td> 31 <td> 32 <input type="password" id="password" name="password" class="input_box" size="70" value="" /> 33 </td> 34 </tr> 35 </tbody> 36 </table> 37 </fieldset> 38 </form> 39 <?php endif; ?> 40 41 <form action="index.php?option=com_media&task=folder.create" name="folderForm" id="folderForm" method="post"> 42 <fieldset id="folderview"> 43 <legend><?php echo JText::_( 'Files' ); ?></legend> 44 <div class="path"> 45 <input class="inputbox" type="text" id="folderpath" readonly="readonly" />/ 46 <input class="inputbox" type="text" id="foldername" name="foldername" /> 47 <input class="update-folder" type="hidden" name="folderbase" id="folderbase" value="<?php echo $this->state->folder; ?>" /> 48 <button type="submit"><?php echo JText::_( 'Create Folder' ); ?></button> 49 </div> 50 <div class="view"> 51 <iframe src="index.php?option=com_media&view=mediaList&tmpl=component&folder=<?php echo $this->state->folder;?>" id="folderframe" name="folderframe" width="100%" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0"></iframe> 52 </div> 53 </fieldset> 54 <?php echo JHTML::_( 'form.token' ); ?> 55 </form> 56 57 <form action="index.php?option=com_media" name="adminForm" id="mediamanager-form" method="post" enctype="multipart/form-data" > 58 <input type="hidden" name="task" value="" /> 59 <input type="hidden" name="cb1" id="cb1" value="0" /> 60 <input class="update-folder" type="hidden" name="folder" id="folder" value="<?php echo $this->state->folder; ?>" /> 61 </form> 62 63 <!-- File Upload Form --> 64 <?php $canUpload= ($this->user->authorize('com_media', 'upload')); ?> 65 <?php if ($canUpload) : ?> 66 <form action="<?php echo JURI::base(); ?>index.php?option=com_media&task=file.upload&tmpl=component&<?php echo $this->session->getName().'='.$this->session->getId(); ?>&<?php echo JUtility::getToken();?>=1" id="uploadForm" method="post" enctype="multipart/form-data"> 67 <fieldset> 68 <legend><?php echo JText::_( 'Upload File' ); ?> [ <?php echo JText::_( 'Max' ); ?> <?php echo ($this->config->get('upload_maxsize') / 1000000); ?>M ]</legend> 69 <fieldset class="actions"> 70 <input type="file" id="file-upload" name="Filedata" /> 71 <input type="submit" id="file-upload-submit" value="<?php echo JText::_('Start Upload'); ?>"/> 72 <span id="upload-clear"></span> 73 </fieldset> 74 <ul class="upload-queue" id="upload-queue"> 75 <li style="display: none" /> 76 </ul> 77 </fieldset> 78 <input type="hidden" name="return-url" value="<?php echo base64_encode('index.php?option=com_media'); ?>" /> 79 </form> 80 <?php endif; ?> 81 </td> 82 </tr> 83 </table>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |