+
\ No newline at end of file
diff --git a/html/layouts/joomla/content/icons/create.php b/html/layouts/joomla/content/icons/create.php
index b0e9559..6c92c45 100644
--- a/html/layouts/joomla/content/icons/create.php
+++ b/html/layouts/joomla/content/icons/create.php
@@ -4,28 +4,20 @@
* @package Joomla.Site
* @subpackage Layout
*
- * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
+ * @copyright (C) 2016 Open Source Matters, Inc.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
-defined('JPATH_BASE') or die;
+defined('_JEXEC') or die;
-use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
-HTMLHelper::_('bootstrap.tooltip');
-
$params = $displayData['params'];
-$legacy = $displayData['legacy'];
?>
get('show_icons')) : ?>
-
-
-
-
-
-
+
+
\ No newline at end of file
diff --git a/html/layouts/joomla/content/icons/edit.php b/html/layouts/joomla/content/icons/edit.php
index dfcc3f4..ac7abe0 100644
--- a/html/layouts/joomla/content/icons/edit.php
+++ b/html/layouts/joomla/content/icons/edit.php
@@ -4,46 +4,23 @@
* @package Joomla.Site
* @subpackage Layout
*
- * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
+ * @copyright (C) 2016 Open Source Matters, Inc.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
-defined('JPATH_BASE') or die;
+defined('_JEXEC') or die;
use Joomla\CMS\Factory;
-use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
-HTMLHelper::_('bootstrap.tooltip');
-
$article = $displayData['article'];
-$overlib = $displayData['overlib'];
-$legacy = $displayData['legacy'];
-
-if ($legacy) {
- $icon = $article->state ? 'edit.png' : 'edit_unpublished.png';
-
- if (
- strtotime($article->publish_up) > strtotime(Factory::getDate())
- || ((strtotime($article->publish_down) < strtotime(Factory::getDate())) && $article->publish_down != Factory::getDbo()->getNullDate())
- ) {
- $icon = 'edit_unpublished.png';
- }
-} else {
- $icon = $article->state ? 'edit' : 'eye-close';
+$nowDate = strtotime(Factory::getDate());
- if (
- strtotime($article->publish_up) > strtotime(Factory::getDate())
- || ((strtotime($article->publish_down) < strtotime(Factory::getDate())) && $article->publish_down != Factory::getDbo()->getNullDate())
- ) {
- $icon = 'eye-close';
- }
-}
+$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
+$isUnpublished = ($article->publish_up > $currentDate)
+ || !is_null($article->publish_down) && ($article->publish_down < $currentDate);
+$aria_described = 'editarticle-' . (int) $article->id;
?>
-
-
-
-
-
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/html/layouts/joomla/content/icons/edit_lock.php b/html/layouts/joomla/content/icons/edit_lock.php
index f8da142..14c14b4 100644
--- a/html/layouts/joomla/content/icons/edit_lock.php
+++ b/html/layouts/joomla/content/icons/edit_lock.php
@@ -4,27 +4,23 @@
* @package Joomla.Site
* @subpackage Layout
*
- * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
+ * @copyright (C) 2016 Open Source Matters, Inc.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
-defined('JPATH_BASE') or die;
+defined('_JEXEC') or die;
-use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
-HTMLHelper::_('bootstrap.tooltip');
-
-$tooltip = $displayData['tooltip'];
-$legacy = $displayData['legacy'];
+if (isset($displayData['article'])) {
+ $article = $displayData['article'];
+ $aria_described = 'editarticle-' . (int) $article->id;
+}
+if (isset($displayData['contact'])) {
+ $contact = $displayData['contact'];
+ $aria_described = 'editcontact-' . (int) $contact->id;
+}
?>
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/html/layouts/joomla/content/icons/email.php b/html/layouts/joomla/content/icons/email.php
deleted file mode 100644
index 583d390..0000000
--- a/html/layouts/joomla/content/icons/email.php
+++ /dev/null
@@ -1,29 +0,0 @@
-
-get('show_icons')) : ?>
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/html/layouts/joomla/content/icons/print_popup.php b/html/layouts/joomla/content/icons/print_popup.php
deleted file mode 100644
index 8526c5f..0000000
--- a/html/layouts/joomla/content/icons/print_popup.php
+++ /dev/null
@@ -1,31 +0,0 @@
-
-get('show_icons')) : ?>
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/html/layouts/joomla/content/icons/print_screen.php b/html/layouts/joomla/content/icons/print_screen.php
deleted file mode 100644
index 31faf51..0000000
--- a/html/layouts/joomla/content/icons/print_screen.php
+++ /dev/null
@@ -1,31 +0,0 @@
-
-get('show_icons')) : ?>
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/html/layouts/joomla/form/field/calendar.php b/html/layouts/joomla/form/field/calendar.php
deleted file mode 100644
index 8d3c4c1..0000000
--- a/html/layouts/joomla/form/field/calendar.php
+++ /dev/null
@@ -1,132 +0,0 @@
- section in form XML.
- * @var boolean $hidden Is this field hidden in the form?
- * @var string $hint Placeholder for the field.
- * @var string $id DOM id of the field.
- * @var string $label Label of the field.
- * @var string $labelclass Classes to apply to the label.
- * @var boolean $multiple Does this field support multiple values?
- * @var string $name Name of the input field.
- * @var string $onchange Onchange attribute for the field.
- * @var string $onclick Onclick attribute for the field.
- * @var string $pattern Pattern (Reg Ex) of value of the form field.
- * @var boolean $readonly Is this field read only?
- * @var boolean $repeat Allows extensions to duplicate elements.
- * @var boolean $required Is this field required?
- * @var integer $size Size attribute of the input.
- * @var boolean $spellcheck Spellcheck state for the form field.
- * @var string $validate Validation rules to apply.
- * @var string $value Value attribute of the field.
- * @var array $checkedOptions Options that will be set as checked.
- * @var boolean $hasValue Has this field a value assigned?
- * @var array $options Options available for this field.
- *
- * Calendar Specific
- * @var string $localesPath The relative path for the locale file
- * @var string $helperPath The relative path for the helper file
- * @var string $minYear The minimum year, that will be subtracted/added to current year
- * @var string $maxYear The maximum year, that will be subtracted/added to current year
- * @var integer $todaybutton The today button
- * @var integer $weeknumbers The week numbers display
- * @var integer $showtime The time selector display
- * @var integer $filltable The previous/next month filling
- * @var integer $timeformat The time format
- * @var integer $singleheader Display different header row for month/year
- * @var integer $direction The document direction
- */
-$inputvalue = '';
-
-// Build the attributes array.
-$attributes = array();
-
-empty($size) ? null : $attributes['size'] = $size;
-empty($maxlength) ? null : $attributes['maxlength'] = ' maxlength="' . $maxLength . '"';
-empty($class) ? null : $attributes['class'] = $class;
-!$readonly ? null : $attributes['readonly'] = 'readonly';
-!$disabled ? null : $attributes['disabled'] = 'disabled';
-empty($onchange) ? null : $attributes['onchange'] = $onchange;
-
-if ($required) {
- $attributes['required'] = '';
- $attributes['aria-required'] = 'true';
-}
-
-// Handle the special case for "now".
-if (strtoupper($value) == 'NOW') {
- $value = JFactory::getDate()->format('Y-m-d H:i:s');
-}
-
-$readonly = isset($attributes['readonly']) && $attributes['readonly'] == 'readonly';
-$disabled = isset($attributes['disabled']) && $attributes['disabled'] == 'disabled';
-
-if (is_array($attributes)) {
- $attributes = ArrayHelper::toString($attributes);
-}
-
-$cssFileExt = ($direction === 'rtl') ? '-rtl.css' : '.css';
-
-// Load polyfills for older IE
-JHtml::_('behavior.polyfill', array('event', 'classlist', 'map'), 'lte IE 11');
-
-// The static assets for the calendar
-JHtml::_('script', $localesPath, false, true, false, false, true);
-JHtml::_('script', $helperPath, false, true, false, false, true);
-JHtml::_('script', 'system/fields/calendar.min.js', false, true, false, false, true);
-JHtml::_('stylesheet', 'system/fields/calendar' . $cssFileExt, array(), true);
-?>
-
-
-
-
-
- data-alt-value="" autocomplete="off"/>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/html/layouts/joomla/form/field/checkboxes.php b/html/layouts/joomla/form/field/checkboxes.php
deleted file mode 100644
index dfeee8e..0000000
--- a/html/layouts/joomla/form/field/checkboxes.php
+++ /dev/null
@@ -1,89 +0,0 @@
- section in form XML.
- * @var boolean $hidden Is this field hidden in the form?
- * @var string $hint Placeholder for the field.
- * @var string $id DOM id of the field.
- * @var string $label Label of the field.
- * @var string $labelclass Classes to apply to the label.
- * @var boolean $multiple Does this field support multiple values?
- * @var string $name Name of the input field.
- * @var string $onchange Onchange attribute for the field.
- * @var string $onclick Onclick attribute for the field.
- * @var string $pattern Pattern (Reg Ex) of value of the form field.
- * @var boolean $readonly Is this field read only?
- * @var boolean $repeat Allows extensions to duplicate elements.
- * @var boolean $required Is this field required?
- * @var integer $size Size attribute of the input.
- * @var boolean $spellcheck Spellcheck state for the form field.
- * @var string $validate Validation rules to apply.
- * @var string $value Value attribute of the field.
- * @var array $checkedOptions Options that will be set as checked.
- * @var boolean $hasValue Has this field a value assigned?
- * @var array $options Options available for this field.
- */
-
-// Including fallback code for HTML5 non supported browsers.
-JHtml::_('jquery.framework');
-JHtml::_('script', 'system/html5fallback.js', array('version' => 'auto', 'relative' => true, 'conditional' => 'lt IE 9'));
-
-/**
- * The format of the input tag to be filled in using sprintf.
- * %1 - id
- * %2 - name
- * %3 - value
- * %4 = any other attributes
- */
-$format = '';
-
-// The alt option for JText::alt
-$alt = preg_replace('/[^a-zA-Z0-9_\-]/', '_', $name);
-?>
-
-
diff --git a/html/layouts/joomla/form/field/color/advanced.php b/html/layouts/joomla/form/field/color/advanced.php
deleted file mode 100644
index 86214e4..0000000
--- a/html/layouts/joomla/form/field/color/advanced.php
+++ /dev/null
@@ -1,94 +0,0 @@
- section in form XML.
- * @var boolean $hidden Is this field hidden in the form?
- * @var string $hint Placeholder for the field.
- * @var string $id DOM id of the field.
- * @var string $label Label of the field.
- * @var string $labelclass Classes to apply to the label.
- * @var boolean $multiple Does this field support multiple values?
- * @var string $name Name of the input field.
- * @var string $onchange Onchange attribute for the field.
- * @var string $onclick Onclick attribute for the field.
- * @var string $pattern Pattern (Reg Ex) of value of the form field.
- * @var boolean $readonly Is this field read only?
- * @var boolean $repeat Allows extensions to duplicate elements.
- * @var boolean $required Is this field required?
- * @var integer $size Size attribute of the input.
- * @var boolean $spellchec Spellcheck state for the form field.
- * @var string $validate Validation rules to apply.
- * @var string $value Value attribute of the field.
- * @var array $checkedOptions Options that will be set as checked.
- * @var boolean $hasValue Has this field a value assigned?
- * @var array $options Options available for this field.
- * @var array $checked Is this field checked?
- * @var array $position Is this field checked?
- * @var array $control Is this field checked?
- */
-
-if ($validate !== 'color' && in_array($format, array('rgb', 'rgba'), true))
-{
- $alpha = ($format === 'rgba');
- $placeholder = $alpha ? 'rgba(0, 0, 0, 0.5)' : 'rgb(0, 0, 0)';
-}
-else
-{
- $placeholder = '#rrggbb';
-}
-
-$inputclass = ($keywords && ! in_array($format, array('rgb', 'rgba'), true)) ? ' keywords' : ' ' . $format;
-$class = ' class="' . trim('minicolors ' . $class) . ($validate === 'color' ? '' : $inputclass) . '"';
-$control = $control ? ' data-control="' . $control . '"' : '';
-$format = $format ? ' data-format="' . $format . '"' : '';
-$keywords = $keywords ? ' data-keywords="' . $keywords . '"' : '';
-$validate = $validate ? ' data-validate="' . $validate . '"' : '';
-$disabled = $disabled ? ' disabled' : '';
-$readonly = $readonly ? ' readonly' : '';
-$hint = strlen($hint) ? ' placeholder="' . $this->escape($hint) . '"' : ' placeholder="' . $placeholder . '"';
-$autocomplete = ! $autocomplete ? ' autocomplete="off"' : '';
-
-// Force LTR input value in RTL, due to display issues with rgba/hex colors
-$direction = $lang->isRtl() ? ' dir="ltr" style="text-align:right"' : '';
-
-// Including fallback code for HTML5 non supported browsers.
-JHtml::_('jquery.framework');
-JHtml::_('script', 'system/html5fallback.js', array('version' => 'auto', 'relative' => true, 'conditional' => 'lt IE 9'));
-JHtml::_('script', 'jui/jquery.minicolors.min.js', array('version' => 'auto', 'relative' => true));
-JHtml::_('stylesheet', 'jui/jquery.minicolors.css', array('version' => 'auto', 'relative' => true));
-JHtml::_('script', 'system/color-field-adv-init.min.js', array('version' => 'auto', 'relative' => true));
-?>
-/>
diff --git a/html/layouts/joomla/form/field/color/simple.php b/html/layouts/joomla/form/field/color/simple.php
deleted file mode 100644
index a124c51..0000000
--- a/html/layouts/joomla/form/field/color/simple.php
+++ /dev/null
@@ -1,68 +0,0 @@
- section in form XML.
- * @var boolean $hidden Is this field hidden in the form?
- * @var string $hint Placeholder for the field.
- * @var string $id DOM id of the field.
- * @var string $label Label of the field.
- * @var string $labelclass Classes to apply to the label.
- * @var boolean $multiple Does this field support multiple values?
- * @var string $name Name of the input field.
- * @var string $onchange Onchange attribute for the field.
- * @var string $onclick Onclick attribute for the field.
- * @var string $pattern Pattern (Reg Ex) of value of the form field.
- * @var boolean $readonly Is this field read only?
- * @var boolean $repeat Allows extensions to duplicate elements.
- * @var boolean $required Is this field required?
- * @var integer $size Size attribute of the input.
- * @var boolean $spellchec Spellcheck state for the form field.
- * @var string $validate Validation rules to apply.
- * @var string $value Value attribute of the field.
- * @var array $checkedOptions Options that will be set as checked.
- * @var boolean $hasValue Has this field a value assigned?
- * @var array $options Options available for this field.
- * @var array $checked Is this field checked?
- * @var array $position Is this field checked?
- * @var array $control Is this field checked?
- */
-
-$class = ' class="' . trim('simplecolors chzn-done ' . $class) . '"';
-$disabled = $disabled ? ' disabled' : '';
-$readonly = $readonly ? ' readonly' : '';
-
-// Include jQuery
-JHtml::_('jquery.framework');
-JHtml::_('script', 'system/html5fallback.js', array('version' => 'auto', 'relative' => true, 'conditional' => 'lt IE 9'));
-JHtml::_('script', 'jui/jquery.simplecolors.min.js', array('version' => 'auto', 'relative' => true));
-JHtml::_('stylesheet', 'jui/jquery.simplecolors.css', array('version' => 'auto', 'relative' => true));
-JHtml::_('script', 'system/color-field-init.min.js', array('version' => 'auto', 'relative' => true));
-?>
-
diff --git a/html/layouts/joomla/form/field/combo.php b/html/layouts/joomla/form/field/combo.php
deleted file mode 100644
index 637ad4e..0000000
--- a/html/layouts/joomla/form/field/combo.php
+++ /dev/null
@@ -1,77 +0,0 @@
- section in form XML.
- * @var boolean $hidden Is this field hidden in the form?
- * @var string $hint Placeholder for the field.
- * @var string $id DOM id of the field.
- * @var string $label Label of the field.
- * @var string $labelclass Classes to apply to the label.
- * @var boolean $multiple Does this field support multiple values?
- * @var string $name Name of the input field.
- * @var string $onchange Onchange attribute for the field.
- * @var string $onclick Onclick attribute for the field.
- * @var string $pattern Pattern (Reg Ex) of value of the form field.
- * @var boolean $readonly Is this field read only?
- * @var boolean $repeat Allows extensions to duplicate elements.
- * @var boolean $required Is this field required?
- * @var integer $size Size attribute of the input.
- * @var boolean $spellcheck Spellcheck state for the form field.
- * @var string $validate Validation rules to apply.
- * @var string $value Value attribute of the field.
- * @var array $options Options available for this field.
- */
-
-// Including fallback code for HTML5 non supported browsers.
-JHtml::_('jquery.framework');
-JHtml::_('script', 'system/html5fallback.js', array('version' => 'auto', 'relative' => true, 'conditional' => 'lt IE 9'));
-JHtml::_('behavior.combobox');
-
-$attr = !empty($class) ? ' class="combobox ' . $class . '"' : ' class="combobox"';
-$attr .= !empty($size) ? ' size="' . $size . '"' : '';
-$attr .= !empty($readonly) ? ' readonly' : '';
-$attr .= !empty($disabled) ? ' disabled' : '';
-$attr .= !empty($required) ? ' required aria-required="true"' : '';
-
-// Initialize JavaScript field attributes.
-$attr .= !empty($onchange) ? ' onchange="' . $onchange . '"' : '';
-
-?>
-
diff --git a/html/layouts/joomla/form/field/contenthistory.php b/html/layouts/joomla/form/field/contenthistory.php
deleted file mode 100644
index 2e2f73e..0000000
--- a/html/layouts/joomla/form/field/contenthistory.php
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
diff --git a/html/layouts/joomla/form/field/email.php b/html/layouts/joomla/form/field/email.php
deleted file mode 100644
index 5fb16cf..0000000
--- a/html/layouts/joomla/form/field/email.php
+++ /dev/null
@@ -1,75 +0,0 @@
- section in form XML.
- * @var boolean $hidden Is this field hidden in the form?
- * @var string $hint Placeholder for the field.
- * @var string $id DOM id of the field.
- * @var string $label Label of the field.
- * @var string $labelclass Classes to apply to the label.
- * @var boolean $multiple Does this field support multiple values?
- * @var string $name Name of the input field.
- * @var string $onchange Onchange attribute for the field.
- * @var string $onclick Onclick attribute for the field.
- * @var string $pattern Pattern (Reg Ex) of value of the form field.
- * @var boolean $readonly Is this field read only?
- * @var boolean $repeat Allows extensions to duplicate elements.
- * @var boolean $required Is this field required?
- * @var integer $size Size attribute of the input.
- * @var boolean $spellcheck Spellcheck state for the form field.
- * @var string $validate Validation rules to apply.
- * @var string $value Value attribute of the field.
- * @var array $checkedOptions Options that will be set as checked.
- * @var boolean $hasValue Has this field a value assigned?
- * @var array $options Options available for this field.
- * @var array $inputType Options available for this field.
- * @var array $spellcheck Options available for this field.
- * @var string $accept File types that are accepted.
- */
-
-$autocomplete = !$autocomplete ? 'autocomplete="off"' : 'autocomplete="' . $autocomplete . '"';
-$autocomplete = $autocomplete == 'autocomplete="on"' ? '' : $autocomplete;
-
-$attributes = array(
- $spellcheck ? '' : 'spellcheck="false"',
- !empty($size) ? 'size="' . $size . '"' : '',
- $disabled ? 'disabled' : '',
- $readonly ? 'readonly' : '',
- $onchange ? 'onchange="' . $onchange . '"' : '',
- $autocomplete,
- $multiple ? 'multiple' : '',
- !empty($maxLength) ? 'maxlength="' . $maxLength . '"' : '',
- strlen($hint) ? 'placeholder="' . htmlspecialchars($hint, ENT_COMPAT, 'UTF-8') . '"' : '',
- $required ? 'required aria-required="true"' : '',
- $autofocus ? 'autofocus' : '',
-);
-
-// Including fallback code for HTML5 non supported browsers.
-JHtml::_('jquery.framework');
-JHtml::_('script', 'system/html5fallback.js', array('version' => 'auto', 'relative' => true, 'conditional' => 'lt IE 9'));
-
-?>
- id="" value=""
- />
diff --git a/html/layouts/joomla/form/field/file.php b/html/layouts/joomla/form/field/file.php
deleted file mode 100644
index 3251440..0000000
--- a/html/layouts/joomla/form/field/file.php
+++ /dev/null
@@ -1,63 +0,0 @@
- section in form XML.
- * @var boolean $hidden Is this field hidden in the form?
- * @var string $hint Placeholder for the field.
- * @var string $id DOM id of the field.
- * @var string $label Label of the field.
- * @var string $labelclass Classes to apply to the label.
- * @var boolean $multiple Does this field support multiple values?
- * @var string $name Name of the input field.
- * @var string $onchange Onchange attribute for the field.
- * @var string $onclick Onclick attribute for the field.
- * @var string $pattern Pattern (Reg Ex) of value of the form field.
- * @var boolean $readonly Is this field read only?
- * @var boolean $repeat Allows extensions to duplicate elements.
- * @var boolean $required Is this field required?
- * @var integer $size Size attribute of the input.
- * @var boolean $spellcheck Spellcheck state for the form field.
- * @var string $validate Validation rules to apply.
- * @var string $value Value attribute of the field.
- * @var array $checkedOptions Options that will be set as checked.
- * @var boolean $hasValue Has this field a value assigned?
- * @var array $options Options available for this field.
- * @var array $inputType Options available for this field.
- * @var array $spellcheck Options available for this field.
- * @var string $accept File types that are accepted.
- */
-// Including fallback code for HTML5 non supported browsers.
-JHtml::_('jquery.framework');
-JHtml::_('script', 'system/html5fallback.js', array('version' => 'auto', 'relative' => true, 'conditional' => 'lt IE 9'));
-
-$maxSize = JHtml::_('number.bytes', JUtility::getMaxUploadSize());
-?>
-
-
-
-
-
-
-
- />
-
diff --git a/html/layouts/joomla/form/field/hidden.php b/html/layouts/joomla/form/field/hidden.php
deleted file mode 100644
index 12c1901..0000000
--- a/html/layouts/joomla/form/field/hidden.php
+++ /dev/null
@@ -1,54 +0,0 @@
- section in form XML.
- * @var boolean $hidden Is this field hidden in the form?
- * @var string $hint Placeholder for the field.
- * @var string $id DOM id of the field.
- * @var string $label Label of the field.
- * @var string $labelclass Classes to apply to the label.
- * @var boolean $multiple Does this field support multiple values?
- * @var string $name Name of the input field.
- * @var string $onchange Onchange attribute for the field.
- * @var string $onclick Onclick attribute for the field.
- * @var string $pattern Pattern (Reg Ex) of value of the form field.
- * @var boolean $readonly Is this field read only?
- * @var boolean $repeat Allows extensions to duplicate elements.
- * @var boolean $required Is this field required?
- * @var integer $size Size attribute of the input.
- * @var boolean $spellcheck Spellcheck state for the form field.
- * @var string $validate Validation rules to apply.
- * @var string $value Value attribute of the field.
- * @var array $checkedOptions Options that will be set as checked.
- * @var boolean $hasValue Has this field a value assigned?
- * @var array $options Options available for this field.
- * @var array $inputType Options available for this field.
- */
-
-// Initialize some field attributes.
-$class = !empty($class) ? ' class="' . $class . '"' : '';
-$disabled = $disabled ? ' disabled' : '';
-$onchange = $onchange ? ' onchange="' . $onchange . '"' : '';
-?>
- />
diff --git a/html/layouts/joomla/form/field/media.php b/html/layouts/joomla/form/field/media.php
deleted file mode 100644
index 0b7be4c..0000000
--- a/html/layouts/joomla/form/field/media.php
+++ /dev/null
@@ -1,146 +0,0 @@
-
-
diff --git a/html/layouts/joomla/form/field/meter.php b/html/layouts/joomla/form/field/meter.php
deleted file mode 100644
index 0c396de..0000000
--- a/html/layouts/joomla/form/field/meter.php
+++ /dev/null
@@ -1,80 +0,0 @@
- section in form XML.
- * @var boolean $hidden Is this field hidden in the form?
- * @var string $hint Placeholder for the field.
- * @var string $id DOM id of the field.
- * @var string $label Label of the field.
- * @var string $labelclass Classes to apply to the label.
- * @var boolean $multiple Does this field support multiple values?
- * @var string $name Name of the input field.
- * @var string $onchange Onchange attribute for the field.
- * @var string $onclick Onclick attribute for the field.
- * @var string $pattern Pattern (Reg Ex) of value of the form field.
- * @var boolean $readonly Is this field read only?
- * @var boolean $repeat Allows extensions to duplicate elements.
- * @var boolean $required Is this field required?
- * @var integer $size Size attribute of the input.
- * @var boolean $spellcheck Spellcheck state for the form field.
- * @var string $validate Validation rules to apply.
- * @var string $value Value attribute of the field.
- * @var array $checkedOptions Options that will be set as checked.
- * @var boolean $hasValue Has this field a value assigned?
- * @var array $options Options available for this field.
- * @var array $inputType Options available for this field.
- * @var string $accept File types that are accepted.
- * @var string $animated Is it animated.
- * @var string $active Is it active.
- * @var string $min The minimum value.
- * @var string $max The maximum value.
- * @var string $step The step value.
- */
-
-// Initialize some field attributes.
-$class = 'progress ' . $class;
-$class .= $animated ? ' progress-striped' : '';
-$class .= $active ? ' active' : '';
-$class = 'class="' . $class . '"';
-
-$value = (float) $value;
-$value = $value < $min ? $min : $value;
-$value = $value > $max ? $max : $value;
-
-$data = '';
-$data .= 'data-max="' . $max . '"';
-$data .= ' data-min="' . $min . '"';
-$data .= ' data-step="' . $step . '"';
-$data .= ' data-value="' . $value . '"';
-
-$attributes = array(
- $class,
- !empty($width) ? ' style="width:' . $width . ';"' : '',
- $data
-);
-
-$value = ((float) ($value - $min) * 100) / ($max - $min);
-?>
-
>
-
-
diff --git a/html/layouts/joomla/form/field/moduleorder.php b/html/layouts/joomla/form/field/moduleorder.php
deleted file mode 100644
index 9ee2b91..0000000
--- a/html/layouts/joomla/form/field/moduleorder.php
+++ /dev/null
@@ -1,66 +0,0 @@
- section in form XML.
- * @var boolean $hidden Is this field hidden in the form?
- * @var string $hint Placeholder for the field.
- * @var string $id DOM id of the field.
- * @var string $label Label of the field.
- * @var string $labelclass Classes to apply to the label.
- * @var boolean $multiple Does this field support multiple values?
- * @var string $name Name of the input field.
- * @var string $onchange Onchange attribute for the field.
- * @var string $onclick Onclick attribute for the field.
- * @var string $pattern Pattern (Reg Ex) of value of the form field.
- * @var boolean $readonly Is this field read only?
- * @var boolean $repeat Allows extensions to duplicate elements.
- * @var boolean $required Is this field required?
- * @var integer $size Size attribute of the input.
- * @var boolean $spellcheck Spellcheck state for the form field.
- * @var string $validate Validation rules to apply.
- * @var string $value Value attribute of the field.
- * @var array $checkedOptions Options that will be set as checked.
- * @var boolean $hasValue Has this field a value assigned?
- * @var array $options Options available for this field.
- * @var array $inputType Options available for this field.
- * @var array $spellcheck Options available for this field.
- * @var string $accept File types that are accepted.
- */
-
-$attr = '';
-
-// Initialize some field attributes.
-$attr .= !empty($class) ? ' class="module-ajax-ordering ' . $class . '"' : 'class="module-ajax-ordering"';
-$attr .= $disabled ? ' disabled' : '';
-$attr .= !empty($size) ? ' size="' . $size . '"' : '';
-
-// Initialize JavaScript field attributes.
-$attr .= !empty($onchange) ? ' onchange="' . $onchange . '"' : '';
-
-// Including fallback code for HTML5 non supported browsers.
-JHtml::_('behavior.core');
-JHtml::_('jquery.framework');
-JHtml::_('formbehavior.chosen', 'select', null, array('disable_search_threshold' => 0));
-JHtml::_('script', 'system/moduleorder.js', array('version' => 'auto', 'relative' => true));
-?>
-