mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
make foldertree images working with any template
This commit is contained in:
parent
7db78820be
commit
8bb2fcf1bf
@ -35,22 +35,22 @@ function Node(id, pid, name, url, urlClick, urlOut, title, target, icon, iconOpe
|
|||||||
|
|
||||||
// Tree object
|
// Tree object
|
||||||
function dTree(objName,icondir) {
|
function dTree(objName,icondir) {
|
||||||
iconPath = (icondir !='') ? icondir : '/egroupware/phpgwapi/js/foldertree_default_icons';
|
iconPath = (icondir !='') ? icondir : '/egroupware/phpgwapi/templates/default/images';
|
||||||
this.icon = {
|
this.icon = {
|
||||||
root : iconPath+'/foldertree/base.gif',
|
root : iconPath+'/foldertree_base.gif',
|
||||||
folder : iconPath+'/foldertree/folder.gif',
|
folder : iconPath+'/foldertree_folder.gif',
|
||||||
folderOpen : iconPath+'/foldertree/folderopen.gif',
|
folderOpen : iconPath+'/foldertree_folderopen.gif',
|
||||||
node : iconPath+'/foldertree/folder.gif',
|
node : iconPath+'/foldertree_folder.gif',
|
||||||
empty : iconPath+'/foldertree/empty.gif',
|
empty : iconPath+'/foldertree_empty.gif',
|
||||||
line : iconPath+'/foldertree/line.gif',
|
line : iconPath+'/foldertree_line.gif',
|
||||||
join : iconPath+'/foldertree/join.gif',
|
join : iconPath+'/foldertree_join.gif',
|
||||||
joinBottom : iconPath+'/foldertree/joinbottom.gif',
|
joinBottom : iconPath+'/foldertree_joinbottom.gif',
|
||||||
plus : iconPath+'/foldertree/plus.gif',
|
plus : iconPath+'/foldertree_plus.gif',
|
||||||
plusBottom : iconPath+'/foldertree/plusbottom.gif',
|
plusBottom : iconPath+'/foldertree_plusbottom.gif',
|
||||||
minus : iconPath+'/foldertree/minus.gif',
|
minus : iconPath+'/foldertree_minus.gif',
|
||||||
minusBottom : iconPath+'/foldertree/minusbottom.gif',
|
minusBottom : iconPath+'/foldertree_minusbottom.gif',
|
||||||
nlPlus : iconPath+'/foldertree/nolines_plus.gif',
|
nlPlus : iconPath+'/foldertree_nolines_plus.gif',
|
||||||
nlMinus : iconPath+'/foldertree/nolines_minus.gif'
|
nlMinus : iconPath+'/foldertree_nolines_minus.gif'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user