mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-03-19 13:42:22 +00:00
use Joomla\CMS\Layout\LayoutHelper;
This commit is contained in:
parent
7918b466dc
commit
a2ca619d87
@ -13,6 +13,7 @@ use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
|
||||
HTMLHelper::_('behavior.formvalidator');
|
||||
|
||||
@ -33,7 +34,7 @@ $tmpl = $isModal || $input->get('tmpl', '', 'cmd') === 'component' ? '&tmpl=c
|
||||
|
||||
<form action="<?php echo Route::_('index.php?option=com_weblinks&layout=' . $layout . $tmpl . '&id=' . (int) $this->item->id); ?>" method="post" name="adminForm" id="weblink-form" class="form-validate">
|
||||
|
||||
<?php echo JLayoutHelper::render('joomla.edit.title_alias', $this); ?>
|
||||
<?php echo LayoutHelper::render('joomla.edit.title_alias', $this); ?>
|
||||
|
||||
<div class="form-horizontal">
|
||||
<?php echo HTMLHelper::_('uitab.startTabSet', 'myTab', array('active' => 'details')); ?>
|
||||
@ -47,7 +48,7 @@ $tmpl = $isModal || $input->get('tmpl', '', 'cmd') === 'component' ? '&tmpl=c
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<?php echo JLayoutHelper::render('joomla.edit.global', $this); ?>
|
||||
<?php echo LayoutHelper::render('joomla.edit.global', $this); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo HTMLHelper::_('uitab.endTab'); ?>
|
||||
@ -67,15 +68,15 @@ $tmpl = $isModal || $input->get('tmpl', '', 'cmd') === 'component' ? '&tmpl=c
|
||||
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'publishing', Text::_('JGLOBAL_FIELDSET_PUBLISHING', true)); ?>
|
||||
<div class="row form-horizontal-desktop">
|
||||
<div class="col-md-6">
|
||||
<?php echo JLayoutHelper::render('joomla.edit.publishingdata', $this); ?>
|
||||
<?php echo LayoutHelper::render('joomla.edit.publishingdata', $this); ?>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<?php echo JLayoutHelper::render('joomla.edit.metadata', $this); ?>
|
||||
<?php echo LayoutHelper::render('joomla.edit.metadata', $this); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo HTMLHelper::_('uitab.endTab'); ?>
|
||||
|
||||
<?php echo JLayoutHelper::render('joomla.edit.params', $this); ?>
|
||||
<?php echo LayoutHelper::render('joomla.edit.params', $this); ?>
|
||||
|
||||
<?php if (!$isModal && $assoc) : ?>
|
||||
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'associations', Text::_('JGLOBAL_FIELDSET_ASSOCIATIONS')); ?>
|
||||
|
@ -9,4 +9,6 @@
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
echo JLayoutHelper::render('joomla.edit.associations', $this);
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
|
||||
echo LayoutHelper::render('joomla.edit.associations', $this);
|
||||
|
@ -9,4 +9,6 @@
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
echo JLayoutHelper::render('joomla.edit.metadata', $this);
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
|
||||
echo LayoutHelper::render('joomla.edit.metadata', $this);
|
||||
|
@ -9,4 +9,6 @@
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
echo JLayoutHelper::render('joomla.edit.associations', $this);
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
|
||||
echo LayoutHelper::render('joomla.edit.associations', $this);
|
||||
|
@ -9,4 +9,6 @@
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
echo JLayoutHelper::render('joomla.edit.metadata', $this);
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
|
||||
echo LayoutHelper::render('joomla.edit.metadata', $this);
|
||||
|
@ -14,6 +14,7 @@ use Joomla\CMS\Language\Multilanguage;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Weblinks\Site\Helper\RouteHelper;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
@ -57,7 +58,7 @@ $iconStates = array(
|
||||
<div class="container-popup">
|
||||
|
||||
<form action="<?php echo Route::_('index.php?option=com_weblinks&view=weblinks&layout=modal&tmpl=component&function=' . $function . '&' . JSession::getFormToken() . '=1&editor=' . $editor); ?>" method="post" name="adminForm" id="adminForm" class="form-inline">
|
||||
<?php echo JLayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?>
|
||||
<?php echo LayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?>
|
||||
<div class="clearfix"></div>
|
||||
<?php if (empty($this->items)) : ?>
|
||||
<div class="alert alert-no-items">
|
||||
@ -128,7 +129,7 @@ $iconStates = array(
|
||||
<?php echo $this->escape($item->access_level); ?>
|
||||
</td>
|
||||
<td class="small">
|
||||
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.language', $item); ?>
|
||||
</td>
|
||||
<td class="nowrap small hidden-phone">
|
||||
<?php echo HTMLHelper::_('date', $item->created, Text::_('DATE_FORMAT_LC4')); ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user