echo $translator->trans('Author'); ?> </th> <th><?php echo $translator->trans('Type'); ?> </th> <th><?php echo $translator->trans('Delete'); ?> </th> </tr> </thead> <tbody> <?php $authors = Author::GetAuthors(); $i = 0; foreach ($authors as $author) { ?> <tr onclick="getRow(<?php echo $author->getId(); ?> )" onmouseover="setPointer(this, 0, 'over');" onmouseout="setPointer(this, 0, 'out');" style="cursor:pointer"> <td><?php echo $author->getName(); ?> </td> <td><?php echo l_getType($author->getTypeWithNames()); ?>
</label></dt> <dd><input id="filter_to" type="text" name="publish_date_to" class="date" /></dd> </dl> <dl> <dt><label for="filter_author"><?php putGS('Author'); ?> </label></dt> <dd><select name="author"> <option value=""><?php putGS('All'); ?> </option> <?php foreach (Author::GetAuthors() as $author) { ?> <option value="<?php echo htmlspecialchars($author->getName()); ?> "><?php echo htmlspecialchars($author->getName()); ?> </option> <?php } ?> </select></dd> </dl> <dl> <dt><label for="filter_creator"><?php
public function getAuthors() { $authors = \Author::GetAuthors(); return count($authors); }