diff options
Diffstat (limited to 'view/theme/diabook')
-rw-r--r-- | view/theme/diabook/directory_item.tpl | 4 | ||||
-rw-r--r-- | view/theme/diabook/profile_vcard.tpl | 4 | ||||
-rw-r--r-- | view/theme/diabook/theme.php | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/view/theme/diabook/directory_item.tpl b/view/theme/diabook/directory_item.tpl index 70d197955..d2ed0ee8f 100644 --- a/view/theme/diabook/directory_item.tpl +++ b/view/theme/diabook/directory_item.tpl @@ -20,9 +20,9 @@ <span class="city-state-zip"> <span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }} <span class="region">$profile.region</span> - <span class="postal-code">$profile.postal-code</span> + <span class="postal-code">$profile.postal_code</span> </span> - {{ if $profile.country-name }}<span class="country-name">$profile.country-name</span>{{ endif }} + {{ if $profile.country_name }}<span class="country-name">$profile.country_name</span>{{ endif }} </dd> </dl> {{ endif }} diff --git a/view/theme/diabook/profile_vcard.tpl b/view/theme/diabook/profile_vcard.tpl index b982a2069..825145825 100644 --- a/view/theme/diabook/profile_vcard.tpl +++ b/view/theme/diabook/profile_vcard.tpl @@ -33,9 +33,9 @@ <span class="city-state-zip"> <span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }} <span class="region">$profile.region</span> - <span class="postal-code">$profile.postal-code</span> + <span class="postal-code">$profile.postal_code</span> </span> - {{ if $profile.country-name }}<span class="country-name">$profile.country-name</span>{{ endif }} + {{ if $profile.country_name }}<span class="country-name">$profile.country_name</span>{{ endif }} </dd> </dl> {{ endif }} diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 2c8290344..718db2ccf 100644 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -516,7 +516,7 @@ if ($color=="dark") $color_path = "/diabook-dark/"; $r = q("SELECT `profile`.*, `profile`.`uid` AS `profile_uid`, `user`.`nickname` FROM `profile` LEFT JOIN `user` ON `user`.`uid` = `profile`.`uid` - WHERE `is-default` = 1 $publish AND `user`.`blocked` = 0 $sql_extra $order LIMIT %d , %d ", + WHERE `is_default` = 1 $publish AND `user`.`blocked` = 0 $sql_extra $order LIMIT %d , %d ", 0, 9 ); |