| Server IP : 10.10.92.66 / Your IP : 104.23.243.84 Web Server : Apache/2.4.52 (Ubuntu) System : Linux jurnalpolinema 5.15.0-177-generic #187-Ubuntu SMP Sat Apr 11 22:54:33 UTC 2026 x86_64 User : jurnal ( 1001) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/jurnal/public_html/plugins/generic/pln/templates/ |
Upload File : |
{**
* templates/gridRow.tpl
*
* Copyright (c) 2014-2023 Simon Fraser University
* Copyright (c) 2000-2023 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* A grid row.
*}
{if !is_null($row->getId())}
{assign var=rowIdPrefix value="component-"|concat:$row->getGridId()}
{if $categoryId}
{assign var=rowIdPrefix value=$rowIdPrefix|concat:"-category-":$categoryId|escape}
{/if}
{assign var=rowId value=$rowIdPrefix|concat:"-row-":$row->getId()}
{else}
{assign var=rowId value=""}
{/if}
{assign var="row_class" value="gridRow"}
{if is_a($row, 'GridCategoryRow')}
{assign var="row_class" value=$row_class|cat:' category'}
{if !$row->hasFlag('gridRowStyle')}
{assign var="row_class" value=$row_class|cat:' default_category_style'}
{/if}
{/if}
{if $row->getActions($smarty.const.GRID_ACTION_POSITION_DEFAULT)}
{assign var="row_class" value=$row_class|cat:' has_extras'}
{/if}
<tr {if $rowId}id="{$rowId|escape|replace:" ":"_"}" {/if} class="{$row_class}">
{foreach name=columnLoop from=$columns key=columnId item=column}
{* @todo indent columns should be killed at their source *}
{if $column->hasFlag('indent')}
{continue}
{/if}
{assign var=col_class value=""}
{if $column->hasFlag('firstColumn')}
{assign var="col_class" value=$col_class|cat:'first_column'}
{/if}
{if $column->hasFlag('alignment')}
{assign var="col_class" value=$col_class|cat:' pkp_helpers_text_'}
{assign var="col_class" value=$col_class|cat:$column->getFlag('alignment')}
{/if}
<td{if $col_class} class="{$col_class}"{/if}>
{if $row->hasActions() && $column->hasFlag('firstColumn')}
{if $row->getActions($smarty.const.GRID_ACTION_POSITION_DEFAULT)}
<a href="#" class="show_extras">
<span class="pkp_screen_reader">{translate key="grid.settings"}</span>
</a>
{/if}
{$cells[$smarty.foreach.columnLoop.index]}
{if $column->hasFlag('actions')}
{foreach from=$column->getFlag('actions') item=action}
{include file="linkAction/linkAction.tpl" action=$action contextId=$rowId|replace:" ":"_"}
{/foreach}
{/if}
{if is_a($row, 'GridCategoryRow') && $column->hasFlag('showTotalItemsNumber')}
<span class="category_items_number">({$grid->getCategoryItemsCount($categoryRow->getData(), $request)})</span>
{/if}
<div class="row_actions">
{if $row->getActions($smarty.const.GRID_ACTION_POSITION_ROW_LEFT)}
{foreach from=$row->getActions($smarty.const.GRID_ACTION_POSITION_ROW_LEFT) item=action}
{include file="linkAction/linkAction.tpl" action=$action contextId=$rowId|replace:" ":"_"}
{/foreach}
{/if}
</div>
{else}
{$cells[$smarty.foreach.columnLoop.index]}
{if is_a($row, 'GridCategoryRow') && $column->hasFlag('showTotalItemsNumber')}
<span class="category_items_number">({$grid->getCategoryItemsCount($categoryRow->getData(), $request)})</span>
{/if}
{/if}
</td>
{/foreach}
</tr>
{if $row->getActions($smarty.const.GRID_ACTION_POSITION_DEFAULT)}
<tr id="{$rowId|escape|replace:" ":"_"}-control-row" class="row_controls{if is_a($row, 'GridCategoryRow')} category_controls{/if}">
<td colspan="{$grid->getColumnsCount('indent')}">
{if $row->getActions($smarty.const.GRID_ACTION_POSITION_DEFAULT)}
{foreach from=$row->getActions($smarty.const.GRID_ACTION_POSITION_DEFAULT) item=action}
{include file="linkAction/linkAction.tpl" action=$action contextId=$rowId|replace:" ":"_"}
{/foreach}
{/if}
</td>
</tr>
{/if}
{if $row->getDeposit()->getExportDepositError()}
<tr id="{$rowId|escape|replace:" ":"_"}-control-row">
<td colspan="{$grid->getColumnsCount('indent')}">
<i class="fa fa-exclamation-triangle" aria-hidden="true"></i> {$row->getDeposit()->getExportDepositError()|escape}
</td>
</tr>
{/if}