CoreFiles by mySites.guru
default_modal_folder_body.php44 lines, 1,443 bytes, from Joomla_4.0.0-alpha11-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha10
md5
d216eeee839cbb6c86655bb8f88b4b7a
sha1
b31f3f83da21915d55215fee3e5ec99512d5054e
sha256
c4c125894b43b251a713b07bc37e83e3bc8c9e22d89ebf3017c15b0d5bc8115a
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_templates
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;

$input = Factory::getApplication()->input;
?>
<div id="#template-manager-folder" class="container-fluid">
	<div class="mt-2 p-2">
		<div class="row">
			<div class="col-md-6">
				<div class="tree-holder">
					<?php echo $this->loadTemplate('folders'); ?>
				</div>
			</div>
			<div class="col-md-6">
				<div class="card card-outline-secondary mb-2">
					<div class="card-body">
						<form method="post" action="<?php echo Route::_('index.php?option=com_templates&task=template.createFolder&id=' . $input->getInt('id') . '&file=' . $this->file); ?>">
							<div class="form-group">
								<label><?php echo Text::_('COM_TEMPLATES_FOLDER_NAME'); ?></label>
								<input type="text" name="name" class="form-control" required>
								<input type="hidden" class="address" name="address">
								<?php echo HTMLHelper::_('form.token'); ?>
							</div>
							<button type="submit" class="btn btn-primary"><?php echo Text::_('COM_TEMPLATES_BUTTON_CREATE'); ?></button>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

The same content is in 6 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha12. See them all, or every version of this file.