mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
make directory images a wee bit larger
This commit is contained in:
parent
137514f6cc
commit
3aecbe4cff
2 changed files with 7 additions and 4 deletions
|
@ -378,6 +378,7 @@ class Directory extends Controller
|
||||||
$hometown = ((x($profile, 'hometown') == 1) ? html2plain($profile['hometown']) : false);
|
$hometown = ((x($profile, 'hometown') == 1) ? html2plain($profile['hometown']) : false);
|
||||||
$about = ((x($profile, 'about') == 1) ? zidify_links(bbcode($profile['about'])) : false);
|
$about = ((x($profile, 'about') == 1) ? zidify_links(bbcode($profile['about'])) : false);
|
||||||
|
|
||||||
|
$author_menu = thread_author_menu(['xchan_author' => $rr['hash'], ['author' => ['xchan_network' => $rr['network']]]]);
|
||||||
$keywords = ((x($profile, 'keywords')) ? $profile['keywords'] : '');
|
$keywords = ((x($profile, 'keywords')) ? $profile['keywords'] : '');
|
||||||
|
|
||||||
$out = '';
|
$out = '';
|
||||||
|
@ -416,7 +417,8 @@ class Directory extends Controller
|
||||||
'id' => ++$t,
|
'id' => ++$t,
|
||||||
'profile_link' => $profile_link,
|
'profile_link' => $profile_link,
|
||||||
'type' => $rr['type'],
|
'type' => $rr['type'],
|
||||||
'photo' => $rr['photo'],
|
'photo' => $rr['photo_l'],
|
||||||
|
'photo_l' => $rr['photo_l'],
|
||||||
'cover' => (($covers) ? XConfig::Get($rr['hash'],'system','cover_photo') : false),
|
'cover' => (($covers) ? XConfig::Get($rr['hash'],'system','cover_photo') : false),
|
||||||
'altcover' => t('Cover photo for this directory entry'),
|
'altcover' => t('Cover photo for this directory entry'),
|
||||||
'hash' => $rr['hash'],
|
'hash' => $rr['hash'],
|
||||||
|
@ -433,6 +435,7 @@ class Directory extends Controller
|
||||||
'gender' => $gender,
|
'gender' => $gender,
|
||||||
'pdesc' => $pdesc,
|
'pdesc' => $pdesc,
|
||||||
'pdesc_label' => t('Description:'),
|
'pdesc_label' => t('Description:'),
|
||||||
|
'author_menu' => $author_menu,
|
||||||
'censor' => (($directory_admin) ? 'dircensor/' . $rr['hash'] : ''),
|
'censor' => (($directory_admin) ? 'dircensor/' . $rr['hash'] : ''),
|
||||||
'censor_label' => (($rr['censored']) ? t('Uncensor') : t('Censor')),
|
'censor_label' => (($rr['censored']) ? t('Uncensor') : t('Censor')),
|
||||||
'marital' => $marital,
|
'marital' => $marital,
|
||||||
|
@ -513,7 +516,7 @@ class Directory extends Controller
|
||||||
echo $o;
|
echo $o;
|
||||||
killme();
|
killme();
|
||||||
} else {
|
} else {
|
||||||
$maxheight = 94;
|
$maxheight = 180;
|
||||||
|
|
||||||
$dirtitle = (($globaldir) ? t('Directory') : t('Local Directory'));
|
$dirtitle = (($globaldir) ? t('Directory') : t('Local Directory'));
|
||||||
$item_scroll = get_pconfig(local_channel(), 'system', 'item_scroll');
|
$item_scroll = get_pconfig(local_channel(), 'system', 'item_scroll');
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
.directory-photo-img {
|
.directory-photo-img {
|
||||||
width: 80px;
|
width: 150px;
|
||||||
height: 80px;
|
height: 150px;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue