{** * templates/controllers/listbuilder/listbuilderBody.tpl * * Copyright (c) 2014-2019 Simon Fraser University * Copyright (c) 2000-2019 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * The table part of a Listbuilder object *} {if $columns|@count > 1}{* include column titles as th elements if there is more than one column *} {include file="controllers/grid/columnGroup.tpl" columns=$columns} {foreach from=$columns item=column} {if $column->hasFlag('alignment')} {assign var=alignment value=$column->getFlag('alignment')} {else} {assign var=alignment value=$smarty.const.COLUMN_ALIGNMENT_LEFT} {/if} {/foreach} {/if} {foreach from=$rows item=lb_row} {$lb_row} {/foreach} {** We need the last (=empty) line even if we have rows so that we can restore it if the user deletes all rows. **}
{$column->getLocalizedTitle()|escape}