} $cols = 1; $has_comments_access = Users::hasAccess('view', 'tasksComments', $sf_user); ?> <table width="100%"> <tr> <td> <table> <tr> <?php if ($display_insert_button) { ?> <td style="padding-right: 15px;"><?php echo $lc->insert_button(__('Add Task')); ?> </td> <?php } ?> <td style="padding-right: 15px;"><div id="tableListingMultipleActionsMenu"><?php echo $lc->rednerWithSelectedAction($tlId); ?> </div></td> <td><?php echo count($tasks_list) > sfConfig::get('app_rows_per_page') ? get_partial('global/jsPager', array('id' => 'pager' . $tlId)) : ''; ?> </td> </tr> </table>
$is_filter['status'] = app::countItemsByTable('ProjectsStatus'); $is_filter['type'] = app::countItemsByTable('ProjectsTypes'); $has_comments_access = Users::hasAccess('view', 'projectsComments', $sf_user); ?> <table width="100%"> <tr> <td> <table> <tr> <?php if ($display_insert_button) { ?> <td style="padding-right: 15px;"><?php echo $lc->insert_button(__('Add Project')); ?> </td> <?php } ?> <td style="padding-right: 15px;"><div id="tableListingMultipleActionsMenu"><?php echo $lc->rednerWithSelectedAction($tlId); ?> </div></td> <td><?php echo count($projects_list) > sfConfig::get('app_rows_per_page') ? get_partial('global/jsPager', array('id' => 'pager' . $tlId)) : ''; ?> </td> </tr> </table>
$is_filter = array(); $is_filter['status'] = app::countItemsByTable('TicketsStatus'); $is_filter['type'] = app::countItemsByTable('TicketsTypes'); $has_comments_access = Users::hasAccess('view', 'ticketsComments', $sf_user); ?> <table width="100%"> <tr> <td> <table> <tr> <?php if ($display_insert_button) { ?> <td style="padding-right: 15px;"><?php echo $lc->insert_button(__('Add Ticket')); ?> </td> <?php } ?> <td style="padding-right: 15px;"><div id="tableListingMultipleActionsMenu"><?php echo $lc->rednerWithSelectedAction($tlId); ?> </div></td> <td><?php echo count($tickets_list) > sfConfig::get('app_rows_per_page') ? get_partial('global/jsPager', array('id' => 'pager' . $tlId)) : ''; ?> </td> </tr> </table>
$totals = array(); $is_filter = array(); $is_filter['status'] = app::countItemsByTable('DiscussionsStatus'); $has_comments_access = Users::hasAccess('view', 'discussionsComments', $sf_user); ?> <table width="100%"> <tr> <td> <table> <tr> <?php if ($display_insert_button) { ?> <td style="padding-right: 15px;"><?php echo $lc->insert_button(__('Add Discussion')); ?> </td> <?php } ?> <td style="padding-right: 15px;"><div id="tableListingMultipleActionsMenu"><?php echo $lc->rednerWithSelectedAction($tlId); ?> </div></td> <td><?php echo count($discussions_list) > sfConfig::get('app_rows_per_page') ? get_partial('global/jsPager', array('id' => 'pager' . $tlId)) : ''; ?> </td> </tr> </table>