From: Jean-François B. <cha...@gm...> - 2012-12-11 19:39:51
|
Please commit on https://svn.code.sf.net/p/tikiwiki/code/branches/9.x 2012/12/11 <Jy...@us...> > Revision: 44257 > http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=44257&view=rev > Author: Jyhem > Date: 2012-12-11 18:36:42 +0000 (Tue, 11 Dec 2012) > Log Message: > ----------- > [FIX] Allow to display path when explorer is not shown > > Modified Paths: > -------------- > branches/9.x/tiki-list_file_gallery.php > > Modified: branches/9.x/tiki-list_file_gallery.php > =================================================================== > --- branches/9.x/tiki-list_file_gallery.php 2012-12-11 17:09:15 UTC > (rev 44256) > +++ branches/9.x/tiki-list_file_gallery.php 2012-12-11 18:36:42 UTC > (rev 44257) > @@ -947,10 +947,12 @@ > $path = $filegallib->getPath($galleryId); > $smarty->assign('gallery_path', $path['HTML']); > } > - if ($prefs['feature_use_fgal_for_user_files'] == 'y' && > $gal_info['type'] === 'user') { // get tree from root of user galleries > always > - $smarty->assign('tree', > $filegallib->getTreeHTML($prefs['fgal_root_user_id'])); // for user > galleries > - } else { > - $smarty->assign('tree', > $filegallib->getTreeHTML($galleryId)); > + if ( $prefs['fgal_show_explorer'] == 'y' ) { > + if ($prefs['feature_use_fgal_for_user_files'] == 'y' && > $gal_info['type'] === 'user') { // get tree from root of user galleries > always > + $smarty->assign('tree', > $filegallib->getTreeHTML($prefs['fgal_root_user_id'])); // for user > galleries > + } else { > + $smarty->assign('tree', > $filegallib->getTreeHTML($galleryId)); > + } > } > } > > > This was sent by the SourceForge.net collaborative development platform, > the world's largest Open Source development site. > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Tikiwiki-cvs mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs > -- Changi -- Tiki Wiki CMS Groupware Project - Infrastructure Team - http://tiki.org |