| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/icd/administrator/components/com_joomfish/views/elements/tmpl/ |
Upload File : |
<?php
/**
* Joom!Fish - Multi Lingual extention and translation manager for Joomla!
* Copyright (C) 2003-2009 Think Network GmbH, Munich
*
* All rights reserved. The Joom!Fish project is a set of extentions for
* the content management system Joomla!. It enables Joomla!
* to manage multi lingual sites especially in all dynamic information
* which are stored in the database.
*
* 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, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
*
* The "GNU General Public License" (GPL) is available at
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* -----------------------------------------------------------------------------
* $Id: installer.php 1344 2009-06-18 11:50:09Z akede $
* @package joomfish
* @subpackage Views
*
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die();
/**
* shows the element installer dialog
*/
global $option;
?>
<form enctype="multipart/form-data" action="index2.php" method="post" name="filename" class="adminForm">
<table class="adminheading">
<tr>
<th class="install"><?php echo JText::_('Install');?> <?php echo JText::_('Content Elements');?></th>
</tr>
</table>
<table class="adminform">
<tr>
<th><?php echo JText::_('Upload XML file');?></th>
</tr>
<tr>
<td align="left"><?php echo JText::_('File name');?>:
<input class="text_area" name="userfile" type="file" size="70"/>
<input class="button" type="submit" value="<?php echo JText::_('Upload file and install');?>" />
</td>
</tr>
</table>
<input type="hidden" name="task" value="elements.uploadfile"/>
<input type="hidden" name="option" value="com_joomfish"/>
</form>
<p> </p>
<?php if( $this->cElements != null ) { ?>
<form action="index2.php" method="post" name="adminForm">
<table class="adminheading">
<tr>
<th class="install"><?php echo JText::_('Content Elements');?></th>
</tr>
</table>
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="adminlist">
<tr>
<th width="20" nowrap> </th>
<th class="title" width="35%" align="left"><?php echo JText::_('TITLE_NAME');?></th>
<th width="15%" align="left"><?php echo JText::_('TITLE_AUTHOR');?></th>
<th width="15%" nowrap="nowrap" align="left"><?php echo JText::_('TITLE_VERSION');?></th>
<th nowrap="nowrap" align="left"><?php echo JText::_('TITLE_DESCRIPTION');?></th>
</tr>
<?php
$k=0;
$i=0;
foreach (array_values($this->cElements) as $element ) {
$key = $element->referenceInformation['tablename'];
?>
<tr class="<?php echo "row$k"; ?>">
<td width="20">
<?php if ($element->checked_out && $element->checked_out != $user->id) { ?>
<?php } else { ?>
<input type="radio" id="cb<?php echo $i;?>" name="cid[]" value="<?php echo $key; ?>" onclick="isChecked(this.checked);">
<?php } ?>
</td>
<td><?php echo $element->Name; ?></td>
<td><?php echo $element->Author ? $element->Author : ' '; ?></td>
<td><?php echo $element->Version ? $element->Version : ' '; ?></td>
<td><?php echo $element->Description ? $element->Description : ' '; ?></td>
</tr>
<?php
$k = 1 - $k;
$i++;
}
} else {
?>
<tr><td class="small">
There are no custom elements installed
</td></tr>
<?php
}
?>
</table>
<input type="hidden" name="task" value="elements.uploadfile"/>
<input type="hidden" name="option" value="com_joomfish"/>
<input type="hidden" name="boxchecked" value="0" />
</form>