| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/newsite/modules/mod_ja_acm/admin/tmpl/ |
Upload File : |
<?php
$field = $displayData['field'];
$items = $displayData['items'];
$value = htmlspecialchars($field->value, ENT_COMPAT, 'UTF-8');
$id = $field->id;
$name = $field->name;
$showlabel = (bool)$field->element['showlabel'];
$label = JText::_($field->element['label']);
$desc = JText::_($field->element['description']);
$width = 90/count ($items);
$doc = JFactory::getDocument();
$doc->addScript(JURI::root(true) . '/modules/mod_ja_acm/admin/assets/script.js');
$doc->addScript(JURI::root(true) . '/modules/mod_ja_acm/admin/assets/jalist.js');
$doc->addStyleSheet(JURI::root(true) . '/modules/mod_ja_acm/admin/assets/style.css');
$doc->addStyleSheet(JURI::root(true) . '/modules/mod_ja_acm/admin/assets/jalist.css');
?>
<div class="jaacm-list <?php echo $id ?>">
<?php if (!$showlabel): ?>
<h4><?php echo $label ?></h4>
<p><?php echo $desc ?></p>
<?php endif ?>
<table class="jalist" width="100%">
<thead>
<tr>
<?php foreach ($items as $item) :
$title = (string) $item->element['title'];
if (!$title) $title = (string) $item->element['label'];
?>
<th width="<?php echo $width ?>%">
<?php echo JText::_($title) ?>
</th>
<?php endforeach ?>
<th width="10%"> </th>
</tr>
</thead>
<tbody>
<tr class="first">
<?php foreach ($items as $item) : ?>
<td>
<?php echo $item->getInput() ?>
</td>
<?php endforeach ?>
<td>
<span class="btn action btn-clone" data-action="clone_row" title="Clone Row"><i class="icon-plus fa fa-plus"></i></span>
<span class="btn action btn-delete" data-action="delete_row" title="Delete Row" data-confirm="<?php echo JText::_('MOD_JA_ACM_CONFIRM_DELETE_MSG') ?>"><i class="icon-minus fa fa-minus"></i></span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="<?php echo $name ?>" value="<?php echo $value ?>" class="acm-object" />
</div>
<script>
// jaFieldList(jQuery, '.<?php echo $id ?>');
jQuery('.<?php echo $id ?>').jalist();
</script>