echo _DML_MOD_LAST_EDIT_DATE; ?> </th> </tr><?php if (!count($rows)) { echo '<tr><td colspan="3">' . _DML_MOD_NO_UNAPPROVED_DOCUMENTS . '</td></tr>'; } foreach ($rows as $row) { ?> <tr> <td width="5%" style="text-align:center"> <a href="index2.php?option=com_docman&section=documents&task=approve&cid[]=<?php echo $row->id; ?> &<?php echo DOCMAN_Token::get(); ?> =1&redirect=index2.php%3Foption%3Dcom_docman"> <img src="images/publish_r.png" border=0 alt="approve" /> </a> </td> <td><a href="index2.php?option=com_docman&section=documents&task=edit&cid[]=<?php echo $row->id; ?> "><?php echo $row->dmname; ?> </a></td> <td align="right"><?php echo $row->dmlastupdateon; ?>
/** * Render the hidden input field with the token * * @return string Html */ function render() { return '<input type="hidden" name="' . DOCMAN_Token::get() . '" value="1" />'; }