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&amp;section=documents&amp;task=approve&cid[]=<?php 
    echo $row->id;
    ?>
&amp;<?php 
    echo DOCMAN_Token::get();
    ?>
=1&amp;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&amp;section=documents&task=edit&amp;cid[]=<?php 
    echo $row->id;
    ?>
"><?php 
    echo $row->dmname;
    ?>
</a></td>
            <td align="right"><?php 
    echo $row->dmlastupdateon;
    ?>
Beispiel #2
0
 /**
  * Render the hidden input field with the token
  *
  * @return	string	Html
  */
 function render()
 {
     return '<input type="hidden" name="' . DOCMAN_Token::get() . '" value="1" />';
 }