aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_default.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-09-10 01:16:13 +0000
committerrvelices <rv-github@modusoptimus.com>2008-09-10 01:16:13 +0000
commit6ddb20d6f096fa51b5e820e1b2e19e93f4df0253 (patch)
tree20cf82c77918e07c30f92e3764fa58f9f60a1541 /include/category_default.inc.php
parentd6b39bb4e127ab29beecb6793de7f72ce2a36397 (diff)
- fix undefined template vars U_LOST_PASSWORD (menubar), F_ACTION (extend_for_templates) and F_C13Y_ACTION (check_integrity)
- normalized some template variable names between category thumbnails and thumbnails (take advantage of full template change with smarty and do it now) git-svn-id: http://piwigo.org/svn/trunk@2515 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/category_default.inc.php')
-rw-r--r--include/category_default.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php
index 8dad04d90..5ee88a275 100644
--- a/include/category_default.inc.php
+++ b/include/category_default.inc.php
@@ -107,11 +107,11 @@ foreach ($pictures as $row)
$tpl_var =
array(
'ID' => $row['id'],
- 'IMAGE' => $thumbnail_url,
- 'IMAGE_ALT' => $row['file'],
- 'IMAGE_TITLE' => get_thumbnail_title($row),
- 'IMAGE_TS' => get_icon($row['date_available']),
- 'U_IMG_LINK' => $url,
+ 'TN_SRC' => $thumbnail_url,
+ 'TN_ALT' => $row['file'],
+ 'TN_TITLE' => get_thumbnail_title($row),
+ 'ICON_TS' => get_icon($row['date_available']),
+ 'URL' => $url,
);
if ($user['show_nb_hits'])
@@ -147,7 +147,7 @@ foreach ($pictures as $row)
}
}
- $tpl_var['ELEMENT_NAME'] = $name;
+ $tpl_var['NAME'] = $name;
}
if ( isset($nb_comments_of) )