From 1d1c8f47716868c30e689e4b38880417f6aab2da Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Sun, 30 Dec 2012 20:46:03 -0700 Subject: [PATCH] replace dashes with underscores in diabook --- view/theme/diabook/ch_directory_item.tpl | 4 ++-- view/theme/diabook/theme.php | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/view/theme/diabook/ch_directory_item.tpl b/view/theme/diabook/ch_directory_item.tpl index db1936e4b7..f32f5a4f78 100644 --- a/view/theme/diabook/ch_directory_item.tpl +++ b/view/theme/diabook/ch_directory_item.tpl @@ -2,8 +2,8 @@
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 6a11091184..3bb7c44aa6 100644 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -393,9 +393,9 @@ if ($color=="dark") $color_path = "/diabook-dark/"; $profile_link = $a->get_baseurl() . '/profile/' . ((strlen($rr['nickname'])) ? $rr['nickname'] : $rr['profile_uid']); $entry = replace_macros($tpl,array( '$id' => $rr['id'], - '$profile-link' => zrl($rr['url']), + '$profile_link' => zrl($rr['url']), '$photo' => $rr[$photo], - '$alt-text' => $rr['name'], + '$alt_text' => $rr['name'], )); $aside['$comunity_profiles_items'][] = $entry; } @@ -422,9 +422,9 @@ if ($color=="dark") $color_path = "/diabook-dark/"; $profile_link = $a->get_baseurl() . '/profile/' . ((strlen($rr['nickname'])) ? $rr['nickname'] : $rr['profile_uid']); $entry = replace_macros($tpl,array( '$id' => $rr['id'], - '$profile-link' => $profile_link, + '$profile_link' => $profile_link, '$photo' => $a->get_cached_avatar_image($rr[$photo]), - '$alt-text' => $rr['name'], + '$alt_text' => $rr['name'], )); $aside['$lastusers_items'][] = $entry; } @@ -501,9 +501,9 @@ if ($color=="dark") $color_path = "/diabook-dark/"; $entry = replace_macros($tpl,array( '$id' => $rr['id'], - '$profile-link' => $photo_page, + '$profile_link' => $photo_page, '$photo' => $photo_url, - '$alt-text' => $rr['username']." : ".$rr['desc'], + '$alt_text' => $rr['username']." : ".$rr['desc'], )); $aside['$photos_items'][] = $entry;