mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 10:42:59 +02:00
git-svn-id: http://piwigo.org/svn/trunk@1604 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -41,7 +41,7 @@ function get_fs_plugins()
|
||||
and file_exists($path.'/main.inc.php')
|
||||
)
|
||||
{
|
||||
$plugin = array('name'=>'?', 'version'=>'0', 'uri'=>'', 'description'=>'');
|
||||
$plugin = array('name'=>$file, 'version'=>'0', 'uri'=>'', 'description'=>'');
|
||||
$plg_data = implode( '', file($path.'/main.inc.php') );
|
||||
|
||||
if ( preg_match("|Plugin Name: (.*)|i", $plg_data, $val) )
|
||||
|
||||
+2
-9
@@ -212,22 +212,15 @@ SELECT i.id,
|
||||
|
||||
$images = array();
|
||||
$result = pwg_query($query);
|
||||
while ($row = mysql_fetch_array($result))
|
||||
while ($row = mysql_fetch_assoc($result))
|
||||
{
|
||||
array_push($images, $row);
|
||||
}
|
||||
|
||||
foreach ($images as $image)
|
||||
{
|
||||
$thumbnail_src = get_thumbnail_src($image['path'], $image['tn_ext']);
|
||||
$thumbnail_src = get_thumbnail_url($image);
|
||||
|
||||
/*$image_url = make_picture_url(
|
||||
array(
|
||||
'category' => $image['storage_category_id'],
|
||||
'image_id' => $image['id'],
|
||||
'image_file' => $image['file'],
|
||||
)
|
||||
);*/
|
||||
$image_url = PHPWG_ROOT_PATH.'admin.php?page=picture_modify'.
|
||||
'&image_id='.$image['id'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user