* * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade ExidoEngine to newer * versions in the future. If you wish to customize ExidoEngine for your * needs please refer to http://www.exidoengine.com for more information. * * @license http://www.exidoengine.com/license/gpl-3.0.html (GNU General Public License v3) * @author ExidoTeam * @copyright Copyright (c) 2009 - 2013, ExidoEngine Solutions * @link http://www.exidoengine.com/ * @since Version 1.0 * @filesource *******************************************************************************/ // List actions menu $view->action_menu = array('/user/action/create' => __('Create user')); // Include menu code $view->getView('layout/inc.list-action-menu-panel'); $helper->heading(__('Users')); if ($view->item_list) { print tableOpen('-i-table -i-table-striped'); print tableHead(array(__('ID'), __('User name'), __('Email'), __('Owner'), __('Group'), __('Role'), __('Joined at'), __('Status'), __('Actions'))); foreach ($view->item_list as $item) { $item->is_enabled = htmlStatus($item->is_enabled); $item->created_at = dateConvertSQL2Human($item->created_at, Exido::config('global.date.format_long')); $item->actions = '<a href="user/action/edit/' . $item->user_id . '">' . __('Edit') . '</a> '; $item->actions .= '<a class="remove" href="user/action/remove/' . $item->user_id . '">' . __('Remove') . '</a>'; print tableTR(arrayExtract((array) $item, array('user_id', 'user_name', 'user_email', 'owner_name', 'group_name', 'role_name', 'created_at', 'is_enabled', 'actions'))); } print tableClose(); }
function getFlopTenCorrects($quest) { tableHead(); function cmp($a, $b) { // nach percentageCorrect sortieren if ($a["percentagCorrect"] > $b["percentagCorrect"]) { return 1; } else { return -1; } } usort($quest, "cmp"); // nach percentageCorrectaufsteigen sortieren if (count($quest) < 10) { $limit = count($quest); } else { $limit = 10; } getData($limit, $quest); }
tableHead("Reverse"); } if ($corr_as) { tableHead("Corrected"); } if ($display_paired_fwd_as) { tableHead("Paired Forward"); } if ($paired_rev_as) { tableHead("Paired Reverse"); } if ($singleton_fwd_as) { tableHead("Unpaired Forward"); } if ($singleton_rev_as) { tableHead("Unpaired Reverse"); } print "</tr></thead>"; } else { print "<thead>"; print "</thead>"; } print '<tbody>'; print "<tr>"; print "<th>Total Number of Bases [Mbp]</th>"; if ($PairedEnd) { //print "<td>" . try_number_format( ($fwd_as['Number of Bases at Q0']+$rev_as['Number of Bases at Q0'])/1000000 , 2 ) ."</td>"; if ($union_as) { print "<td>" . try_number_format($union_as['Number of Bases at Q0'] / 1000000, 2) . "</td>"; } if ($display_fwd_as) {
* DISCLAIMER * * Do not edit or add to this file if you wish to upgrade ExidoEngine to newer * versions in the future. If you wish to customize ExidoEngine for your * needs please refer to http://www.exidoengine.com for more information. * * @license http://www.exidoengine.com/license/gpl-3.0.html (GNU General Public License v3) * @author ExidoTeam * @copyright Copyright (c) 2009 - 2013, ExidoEngine Solutions * @link http://www.exidoengine.com/ * @since Version 1.0 * @filesource *******************************************************************************/ // List actions menu $view->action_menu = array('/page/action/create' => __('Create a new page')); // Include menu code $view->getView('layout/inc.list-action-menu-panel'); $helper->heading(__('Static pages')); if ($view->item_list) { print tableOpen('-i-table -i-table-striped'); print tableHead(array('', __('ID'), __('Page title'), __('Owner'), __('Group'), __('Added at'), __('Status'), __('Actions'))); foreach ($view->item_list as $item) { print '<tr>' . '<td>' . formCheckbox('item[]', $item->entity_id, false, 'class="item-list-checkbox"') . '</td>' . '<td>' . $item->entity_id . '</td>' . '<td>' . eavFetchValue('title', $item->attributes) . '</td>' . '<td>' . eavFetchValue('owner_name', $item->attributes) . '</td>' . '<td>' . eavFetchValue('group_name', $item->attributes) . '</td>' . '<td>' . dateConvertSQL2Human(eavFetchValue('created_at', $item->attributes), Exido::config('global.date.format_long')) . '</td>' . '<td>' . eavFetchValue('is_enabled', $item->attributes, 'htmlStatus') . '</td>' . '<td>'; $helper->a('page/action/edit/' . $item->entity_id, __('Edit')); $helper->a('page/action/remove/' . $item->entity_id, __('Remove'), 'remove'); print '</td></tr>'; } print tableClose(); } else { $helper->notifier(__('No pages created')); }