aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-04-08 19:40:12 +0000
committerrvelices <rv-github@modusoptimus.com>2006-04-08 19:40:12 +0000
commit1fea7ef82ade6e9bd175e5a6b49cdbeed3ec3157 (patch)
tree2c631d2c10db4f619737fe75841243bebcaf6f2f /picture.php
parent4ff4a3258666163a4d2c58b4c16317c323741f61 (diff)
fix: sql query on tags when there are no images
fix: cat_name was not passed to make_index_url in category_subcats.inc.php (subcatify was working) improvement: added some rel="nofollow" git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1134 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/picture.php b/picture.php
index 988859546..43ac99f55 100644
--- a/picture.php
+++ b/picture.php
@@ -630,7 +630,7 @@ if (!empty($picture['current']['date_creation']))
'chronology_date' => explode('-', $picture['current']['date_creation'])
)
);
- $infos['INFO_CREATION_DATE'] = '<a href="'.$url.'">'.$val.'</a>';
+ $infos['INFO_CREATION_DATE'] = '<a href="'.$url.'" rel="nofollow">'.$val.'</a>';
}
else
{
@@ -647,7 +647,7 @@ $url = make_index_URL(
'chronology_date'=>explode('-', substr($picture['current']['date_available'],0,10))
)
);
-$infos['INFO_POSTED_DATE'] = '<a href="'.$url.'">'.$val.'</a>';
+$infos['INFO_POSTED_DATE'] = '<a href="'.$url.'" rel="nofollow">'.$val.'</a>';
// size in pixels
if ($picture['current']['is_picture'])
@@ -699,7 +699,7 @@ $result = pwg_query($query);
if (mysql_num_rows($result) > 0)
{
$tags = array();
-
+
while ($row = mysql_fetch_array($result))
{
array_push(