From: <th...@us...> - 2006-01-26 16:27:14
|
Update of /cvsroot/tikiwiki/tiki/lib/imagegals In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4814/lib/imagegals Modified Files: Tag: BRANCH-1-9 imagegallib.php Log Message: [ADD] ability to change the owner of an image gallery, since the owner has special rights. From: http://dev.tikiwiki.org/tiki-view_tracker_item.php?itemId=175 Index: imagegallib.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/imagegals/imagegallib.php,v retrieving revision 1.45.2.29 retrieving revision 1.45.2.30 diff -u -d -r1.45.2.29 -r1.45.2.30 --- imagegallib.php 14 Dec 2005 14:44:13 -0000 1.45.2.29 +++ imagegallib.php 26 Jan 2006 16:27:04 -0000 1.45.2.30 @@ -1690,10 +1690,10 @@ `lastModif`=?, `public`=?, `sortorder`=?, `sortdirection`=?, `galleryimage`=?, `parentgallery`=?,`showname`=?,`showimageid`=?,`showdescription`=?, `showcreated`=?,`showuser`=?,`showhits`=?,`showxysize`=?,`showfilesize`=?, - `showfilename`=?,`defaultscale`=? + `showfilename`=?,`defaultscale`=?, `user`=? where `galleryId`=?"; - $result = $this->query($query,array($name,$visible,$geographic,(int)$maxRows,(int)$rowImages,(int)$thumbSizeX,(int)$thumbSizeY,$description,$theme,(int)$now,$public,$sortorder,$sortdirection,$galleryimage,(int)$parentgallery,$showname,$showimageid,$showdescription,$showcreated,$showuser,$showhits,$showxysize,$showfilesize,$showfilename,$defaultscale,(int)$galleryId)); + $result = $this->query($query,array($name,$visible,$geographic,(int)$maxRows,(int)$rowImages,(int)$thumbSizeX,(int)$thumbSizeY,$description,$theme,(int)$now,$public,$sortorder,$sortdirection,$galleryimage,(int)$parentgallery,$showname,$showimageid,$showdescription,$showcreated,$showuser,$showhits,$showxysize,$showfilesize,$showfilename,$defaultscale,$user,(int)$galleryId)); } else { // Create a new record $query = "insert into `tiki_galleries`(`name`,`description`,`theme`,`created`,`user`,`lastModif`,`maxRows`,`rowImages`,`thumbSizeX`,`thumbSizeY`,`public`,`hits`,`visible`,`sortorder`,`sortdirection`,`galleryimage`,`parentgallery`,`showname`,`showimageid`,`showdescription`,`showcreated`,`showuser`,`showhits`,`showxysize`,`showfilesize`,`showfilename`,`defaultscale`,`geographic`) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"; |