本文整理汇总了PHP中get_sort_link函数的典型用法代码示例。如果您正苦于以下问题:PHP get_sort_link函数的具体用法?PHP get_sort_link怎么用?PHP get_sort_link使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_sort_link函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: get_sort_link
?>
</th>
<?php
}
if ($_SESSION['settings']['screens']['tv']['upcoming recordings']['record date'] == 'on') {
?>
<th class="x-recdate"><?php
echo get_sort_link('recdate', t('Record Date'));
?>
</th>
<?php
}
if ($_SESSION['settings']['screens']['tv']['upcoming recordings']['length'] == 'on') {
?>
<th class="x-length"><?php
echo get_sort_link('length', t('Record Length'));
?>
</th>
<?php
}
?>
</tr><?php
$row = 0;
$prev_group = '';
$cur_group = '';
foreach ($all_shows as $show) {
flush();
// Set the class to be used to display the recording status character
$rec_class = implode(' ', array(recstatus_class($show), $show->recstatus));
// Reset the command variable to a default URL
$commands = array();
开发者ID:AndrewMoore10,项目名称:MythWebKGTV,代码行数:31,代码来源:upcoming.php
示例2: get_sort_link
?>
</th>
<th>Start Date <?php
echo get_sort_link('timesheet', 'period_start');
?>
</th>
<th>End Date <?php
echo get_sort_link('timesheet', 'period_end');
?>
</th>
<th>Status <?php
echo get_sort_link('timesheet', 'current_status');
?>
</th>
<th>Last Edit <?php
echo get_sort_link('timesheet', 'last_edit');
?>
</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
if (isset($timesheets)) {
foreach ($timesheets as $timesheet) {
?>
<tr class="ui-helper-reset">
<td><?php
echo date_for_display($timesheet->date_created);
?>
开发者ID:cmarkme,项目名称:zdzf-sphp,代码行数:31,代码来源:my_list.php
示例3: get_sort_link
</th>
<th>
<a href="javascript:;" onclick="<?php
echo get_sort_link('size', $sort, $direction);
?>
">
<?php
echo lang('Size');
echo get_sort_arrow('size', $sort, $direction);
?>
</a>
</th>
<th>
<a href="javascript:;" onclick="<?php
echo get_sort_link('time', $sort, $direction);
?>
">
<?php
echo lang('Date');
echo get_sort_arrow('time', $sort, $direction);
?>
</a>
</th>
<th><?php
echo lang('Actions');
?>
</th>
</tr>
<?php
开发者ID:rexcarnation,项目名称:XtraUpload-1,代码行数:31,代码来源:search_result.php
示例4: get_sort_link
</td>
<th class="x-airdate"><?php
echo get_sort_link('airdate', t('Airdate'));
?>
</td>
<?php
if ($recgroup_cols) {
echo ' <th class="x-recgroup">', get_sort_link('recgroup', t('Recording Group')), "</td>\n";
}
?>
<th class="x-length"><?php
echo get_sort_link('length', t('Length'));
?>
</td>
<th class="x-filesize"><?php
echo get_sort_link('file_size', t('File Size'));
?>
</td>
</tr><?php
$row = 0;
$section = -1;
$row_count = array();
$row_section = array();
$prev_group = '';
$cur_group = '';
foreach ($All_Shows as $show) {
// Print a dividing row if grouping changes
switch ($group_field) {
case 'airdate':
$cur_group = strftime($_SESSION['date_listing_jump'], $show->starttime);
break;
开发者ID:AndrewMoore10,项目名称:MythWebKGTV,代码行数:31,代码来源:recorded.php
示例5: get_sort_link
echo get_sort_link('my_timeoff_requests', 'first_name');
?>
<?php
echo get_sort_link('my_timeoff_requests', 'last_name');
?>
</th>
<th>Start Date <?php
echo get_sort_link('timeoff', 'request_start');
?>
</th>
<th>End Date <?php
echo get_sort_link('timeoff', 'request_end');
?>
</th>
<th>Status <?php
echo get_sort_link('timeoff', 'current_status');
?>
</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
if (isset($timeoff_requests) && sizeof($timeoff_requests) > 0) {
foreach ($timeoff_requests as $timeoff_request) {
?>
<tr class="ui-helper-reset">
<td><?php
echo date_for_display($timeoff_request->date_created);
?>
开发者ID:cmarkme,项目名称:zdzf-sphp,代码行数:31,代码来源:requests.php
示例6: get_sort_link
?>
</td>
<td><?php
echo get_sort_link('profile', t('profile'));
?>
</td>
<td><?php
echo get_sort_link('transcoder', t('transcoder'));
?>
</td>
<td><?php
echo get_sort_link('recgroup', t('recgroup'));
?>
</td>
<td><?php
echo get_sort_link('type', t('type'));
?>
</td>
</tr><?php
$prev_group = '';
$cur_group = '';
foreach ($the_schedules as $schedule) {
// Reset the command variable to a default URL
$urlstr = 'recordid=' . $schedule->recordid;
$css_class = $schedule->type == rectype_dontrec ? 'deactivated' : 'scheduled';
// If this is an 'always on any channel' or 'find one' recording without the 'This Channel' filter, set the channel name to 'Any'
if (($schedule->type == rectype_always || $schedule->type == rectype_findone) && !($schedule->filter & 1 << 10)) {
$schedule->channel->name = '[ ' . t('Any') . ' ]';
$schedule->channel->channum = 0;
}
// Print a dividing row if grouping changes
开发者ID:knowledgejunkie,项目名称:mythweb,代码行数:31,代码来源:schedules.php
示例7: get_sort_link
?>
</th>
<th>Dept <?php
echo get_sort_link('budget', 'dept');
?>
</th>
<th>Grant <?php
echo get_sort_link('budget', 'grant');
?>
</th>
<th>Project <?php
echo get_sort_link('budget', 'project');
?>
</th>
<th>Status <?php
echo get_sort_link('budget', 'status');
?>
</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
if (isset($budgets) && count($budgets) > 0) {
foreach ($budgets as $budget) {
?>
<tr class="ui-helper-reset">
<td><?php
echo $budget->title;
?>
开发者ID:cmarkme,项目名称:zdzf-sphp,代码行数:31,代码来源:list.php
示例8: t
<?php
/**
* Upcoming recordings
*
* @license GPL
*
* @package MythWeb
*
**/
$page_title = 'MythWeb - ' . t('Upcoming Recordings');
require_once 'modules/_shared/tmpl/' . tmpl . '/header.php';
// Print the page contents
global $all_shows;
// Row headers
echo "\n <hr />\n", " Sort by:<br />\n", get_sort_link('title', t('title')), "\n", get_sort_link('channum', t('channum')), "\n", get_sort_link('airdate', t('airdate')), "\n", get_sort_link('length', t('length')), "\n", " <table>\n";
$row = 0;
foreach ($all_shows as $show) {
$row++;
// Set the class to be used to display the recording status character
$rec_class = implode(' ', array(recstatus_class($show), $show->recstatus));
// Reset the command variable to a default URL
$commands = array();
$urlstr = 'chanid=' . $show->chanid . '&starttime=' . $show->starttime;
// Set the recording status character, class and any applicable commands for each show
switch ($show->recstatus) {
case 'Recording':
case 'WillRecord':
$rec_char = $show->cardid;
$css_class = 'scheduled';
$commands[] = '<a href="tv/upcoming?dontrec=yes&' . $urlstr . '">' . t('Don\'t Record') . '</a>';
开发者ID:knowledgejunkie,项目名称:mythweb,代码行数:31,代码来源:upcoming.php
示例9: get_sort_link
?>
</th>
<th>Title <?php
echo get_sort_link('grant_actuals', 'grant_title');
?>
</th>
<th>Total Amount of Grant <?php
echo get_sort_link('grant_actuals', 'total_amt_grant');
?>
</th>
<th>Contract Start Date <?php
echo get_sort_link('grant_actuals', 'start_date');
?>
</th>
<th>Contract End Date <?php
echo get_sort_link('grant_actuals', 'end_date');
?>
</th>
<th>Total Expense</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
if (isset($projects)) {
foreach ($projects as $project) {
?>
<?php
$total_amt_grant = preg_replace("/[^0-9]/", '', $project->total_amt_grant);
?>
<tr class="ui-helper-reset">
开发者ID:cmarkme,项目名称:zdzf-sphp,代码行数:31,代码来源:actuals.php
示例10: get_sort_link
<table cellpadding="0" cellspacing="0" border="0" class="sort">
<thead>
<tr>
<th>Created <?php
echo get_sort_link('template_list', 'date_created');
?>
</th>
<th>Name <?php
echo get_sort_link('template_list', 'first_name');
?>
<?php
echo get_sort_link('template_list', 'last_name');
?>
</th>
<th>Last Edit <?php
echo get_sort_link('template_list', 'last_edit');
?>
</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
if (isset($timesheets)) {
foreach ($timesheets as $timesheet) {
?>
<tr class="ui-helper-reset">
<td><?php
echo date_for_display($timesheet->date_created);
?>
开发者ID:cmarkme,项目名称:zdzf-sphp,代码行数:31,代码来源:template_list.php
示例11: get_sort_link
?>
</th>
<th>Resource <?php
echo get_sort_link('calendar', 'room', '#list');
?>
</th>
<th>Start Time <?php
echo get_sort_link('calendar', 'start_time', '#list');
?>
</th>
<th>End Time <?php
echo get_sort_link('calendar', 'end_time', '#list');
?>
</th>
<th>Description <?php
echo get_sort_link('calendar', 'description', '#list');
?>
</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
if (isset($resource_list) && sizeof($resource_list) > 0) {
foreach ($resource_list as $list) {
?>
<?php
$created_by = get_user_by_id($list->created_by);
$person_in_charge = get_user_by_id($list->person_in_charge);
?>
<tr class="ui-helper-reset">
开发者ID:cmarkme,项目名称:zdzf-sphp,代码行数:31,代码来源:view.php
示例12: get_sort_link
<div align="center">
<a href="javascript:;" onclick="<?php
echo get_sort_link('username', $sort, $direction);
?>
">
<?php
echo lang('Name');
echo get_sort_arrow('username', $sort, $direction);
?>
</a>
</div>
</th>
<th>
<div align="center">
<a href="javascript:;" onclick="<?php
echo get_sort_link('email', $sort, $direction);
?>
">
<?php
echo lang('Email');
echo get_sort_arrow('email', $sort, $direction);
?>
</a>
</div>
</th>
<th><div align="center"><?php
echo lang('Space');
?>
</div></th>
<th><div align="center"><?php
echo lang('Actions');
开发者ID:rexcarnation,项目名称:XtraUpload-1,代码行数:31,代码来源:view.php
示例13: get_sort_link
</tr>
</table>
</form>
<table id="recorded_list" border="0" cellpadding="0" cellspacing="0" class="list small" style="display: block">
<tr class="menu">
<th colspan="2" style="width:10%;"></th>
<th class="x-title" style="width:50%;"><?php
echo get_sort_link('title', t('Title'));
?>
</th>
<th class="x-airdate" style="width:10%;"><?php
echo get_sort_link('airdate', t('Airdate'));
?>
</th>
<th class="x-length" style="width:10%;"><?php
echo get_sort_link('length', t('Length'));
?>
</th>
</tr><?php
$row = 0;
$section = -1;
$prev_group = '';
$cur_group = '';
$offset = $_REQUEST['offset'];
$rows = $offset;
foreach ($All_Shows as $show) {
flush();
if ($_SESSION['recorded_paging'] > 0 && $rows > 0) {
$rows--;
continue;
}
开发者ID:AndrewMoore10,项目名称:MythWebKGTV,代码行数:31,代码来源:quad.php
示例14: get_sort_link
?>
</th>
<th>Order Id <?php
echo get_sort_link('budget', 'fund');
?>
</th>
<th>Invoiced <?php
echo get_sort_link('budget', 'fund');
?>
</th>
<th>Pmt. Requested <?php
echo get_sort_link('budget', 'fund');
?>
</th>
<th>Total <?php
echo get_sort_link('budget', 'fund');
?>
</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
if (isset($projects)) {
foreach ($projects as $project) {
?>
<tr class="ui-helper-reset">
<td><?php
echo date_for_display($project->date_created);
?>
开发者ID:cmarkme,项目名称:zdzf-sphp,代码行数:31,代码来源:projects.php
注:本文中的get_sort_link函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论