mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:56 +01:00
fix: folder mime now also resides in api template folder
This commit is contained in:
parent
9320913b9e
commit
d13a6c3ab9
@ -488,7 +488,7 @@ $view = new $classname;
|
||||
$params['parsed_time'] = $parsed_time = parse_time($time);
|
||||
$params['folderNb'] = $folderNb;
|
||||
$folders_body .= $view->folder_item($params);
|
||||
$folderJSArray .= "['images/ext/folder_small.gif', '".sanitize2($entry)."', '".$MY_MESSAGES['folder']."', '".$parsed_time."'],\n";
|
||||
$folderJSArray .= "['". $GLOBALS['egw_info']['server']['webserver_url']. '/phpgwapi/templates/default/images/mime/folder_small.gif'. "', '".sanitize2($entry)."', '".$MY_MESSAGES['folder']."', '".$parsed_time."'],\n";
|
||||
$folderNb++;
|
||||
} else {
|
||||
$entries_cnt++;
|
||||
|
@ -16,7 +16,7 @@ class view_text {
|
||||
function folder_item($params)
|
||||
{
|
||||
return '<tr id="D'.$params['folderNb'].'">
|
||||
<td width="4%"><img src="img/ext/folder_small.gif" width="16" height="16" border="0" alt="'.$params['entry'].'" /></td>
|
||||
<td width="4%"><img src="'. $GLOBALS['egw_info']['server']['webserver_url']. '/phpgwapi/templates/default/images/mime/folder_small.gif'.'" width="16" height="16" border="0" alt="'.$params['entry'].'" /></td>
|
||||
<td width="50%"><div style="height:15px; overflow:hidden;"><a href="javascript:changeDir('.$params['folderNb'].');" title="'.$params['entry'].'">'.$params['entry'].'</a></div></td>
|
||||
<td width="18%" align="right">'.$params['MY_MESSAGES']['folder'].'</td>
|
||||
<td width="25%">'.$params['parsed_time'].'</td>
|
||||
|
Loading…
Reference in New Issue
Block a user