cerebrate/templates/element/genericElements/IndexTable/Fields/authkey.php

15 lines
399 B
PHP

<?php
$start = $this->Hash->extract($row, 'authkey_start')[0];
$end = $this->Hash->extract($row, 'authkey_end')[0];
echo sprintf(
'<div>%s: <span class="fw-bold text-info">%s</span></div>',
__('Starts with'),
h($start)
);
echo sprintf(
'<div>%s: <span class="fw-bold text-info">%s</span></div>',
__('Ends with'),
h($end)
);
?>