Commit 542c8c9e authored by Côme Chilliet's avatar Côme Chilliet Committed by Benoit Mortier
Browse files

Fixes #5070 Using standard tpl file for FAI package list

parent 3ad85617
......@@ -23,9 +23,6 @@ class PackageSelectDialog extends GenericSelectDialog
{
protected $dialogClass = 'packageSelect';
protected $post_cancel = 'packageSelect_cancel';
protected $post_finish = 'packageSelect_save';
function handle_finish ()
{
$result = $this->dialog->detectPostActions();
......
......@@ -3,9 +3,9 @@
</div>
<div class="contentboxb">
<div style="padding:3px;">
<p style="margin:0;padding:3px;">
{t}A maximum of 200 entries will be shown here.{/t}
</div>
</p>
{foreach from=$customs key=key item=value}
{$value}<label for="{$key}">&nbsp;custom {$key}</label><br/>
......
<table class="listing_container">
<tbody>
<tr>
<td class="list">
<div class="contentboxh">
<p class="contentboxh">&nbsp;{$HEADLINE}&nbsp;{$SIZELIMIT}</p>
</div>
<div class="contentboxb" style="background:white;">
<table>
<tbody>
<tr>
<td>{$ROOT}&nbsp;</td><td>{$BACK}&nbsp;</td><td>{$HOME}&nbsp;</td><td class="optional">{$RELOAD}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td>
<td><input class="center" type="image" src="geticon.php?context=actions&amp;icon=submit&amp;size=16" title="{t}Update{/t}" name="submit_department" alt="{t}Submit{/t}"/>&nbsp;</td><td>{$SEPARATOR}&nbsp;</td>
<td>{$ACTIONS}</td>
</tr>
</tbody>
</table>
</div>
<div style="margin-top:4px;">
{$LIST}
</div>
</td>
<td class="filter">
{$FILTER}
</td>
</tr>
</tbody>
</table>
<p class="plugbottom">
<input type="submit" name="packageSelect_save" value="{msgPool type=addButton}"/>
&nbsp;
<input type="submit" name="packageSelect_cancel" value="{msgPool type=cancelButton}"/>
</p>
<input type="hidden" name="ignore"/>
......@@ -6,18 +6,18 @@
<departmentRootVisible>false</departmentRootVisible>
<baseMode>false</baseMode>
<multiSelect>true</multiSelect>
<template>../plugins/admin/fai/packageSelect/selectPackage-list.tpl</template>
<template>simple-select-list.tpl</template>
<module>simple</module>
<label>Please select the desired entries</label>
<defaultSortColumn>1</defaultSortColumn>
<objectType>
<label>FAI</label>
<label>Package</label>
<objectClass>FAKE_OC__FaiPackage</objectClass>
<category>faiPackage</category>
<class>faiPackage</class>
<image>geticon.php?context=applications&amp;icon=fai-packages&amp;size=16</image>
</objectType>
</definition>
<table>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment