Bug #27258 » 27258_no-css.patch
typo3/class.file_list.inc (revision ) | ||
---|---|---|
*
|
||
* @param array Array of files from path
|
||
* @param array Array of directories from path
|
||
* @param string List of rows to display horizontallyh
|
||
* @param string List of rows to display horizontally
|
||
* @return string HTML-table
|
||
*/
|
||
function getTable($files,$dirs,$rowlist) {
|
||
... | ... | |
}
|
||
/**
|
||
* Wraps the directory-titles ($code) in a link to file_list.php (id=$path) and sorting commands...
|
||
* Wraps the table headers ($code) in a link to file_list.php (id=$path) and sorting commands...
|
||
*
|
||
* @param string String to be wrapped
|
||
* @param string ID (path)
|
||
* @param string Sorting column
|
||
* @return string HTML
|
||
*/
|
||
function linkWrapSort($code,$path,$col) {
|
||
function linkWrapSort($code, $path, $col) {
|
||
if ($this->sort==$col && !$this->sortRev) { // reverse sorting
|
||
$params='&SET[sort]='.$col.'&SET[reverse]=1';
|
||
if ($this->sort==$col) {
|
||
//check reverse sorting
|
||
$params='&SET[sort]=' . $col . '&SET[reverse]=' . ($this->sortRev ? '0' : '1');
|
||
$sortArrow = t3lib_iconWorks::getSpriteIcon('status-status-sort-' . ($this->sortRev ? 'desc' : 'asc'));
|
||
} else {
|
||
$params='&SET[sort]='.$col.'&SET[reverse]=0';
|
||
$sortArrow = '';
|
||
}
|
||
$href = $GLOBALS['BACK_PATH'] . t3lib_extMgm::extRelPath('filelist') . 'mod1/' . $this->script . '?id=' . rawurlencode($path) . $params;
|
||
return '<a href="'.htmlspecialchars($href).'">'.$code.'</a>';
|
||
return '<a href="'. htmlspecialchars($href) . '">' . $code . $sortArrow . '</a>';
|
||
}
|
||
/**
|
t3lib/stddb/tables.php (revision ) | ||
---|---|---|
'status-status-permission-granted',
|
||
'status-status-reference-hard',
|
||
'status-status-reference-soft',
|
||
'status-status-sort-asc',
|
||
'status-status-sort-desc',
|
||
'status-status-workspace-draft',
|
||
'status-system-extension-required',
|
||
'status-user-admin',
|
typo3/class.db_list_extra.inc (revision ) | ||
---|---|---|
// Create the sort link:
|
||
$sortUrl = $this->listURL('', -1, 'sortField,sortRev,table,firstElementNumber') . '&table=' . $table . '&sortField=' . $field . '&sortRev=' . ($this->sortRev || ($this->sortField != $field) ? 0 : 1);
|
||
$sortArrow = ($this->sortField==$field?'<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/red'.($this->sortRev?'up':'down').'.gif','width="7" height="4"').' alt="" />':'');
|
||
$sortArrow = $this->sortField == $field ?
|
||
t3lib_iconWorks::getSpriteIcon('status-status-sort-' . ($this->sortRev ? 'desc' : 'asc')) :
|
||
'';
|
||
// Return linked field:
|
||
return '<a href="'.htmlspecialchars($sortUrl).'">'.$code.
|
||
$sortArrow.
|
- « Previous
- 1
- 2
- Next »