Links to photo pages in gallery
This commit is contained in:
parent
4af6e0f44c
commit
a3c4dca90d
@ -93,7 +93,8 @@ class PhotosAction extends Action
|
|||||||
$this->elementStart('ul', array('class' => 'photothumbs'));
|
$this->elementStart('ul', array('class' => 'photothumbs'));
|
||||||
foreach ($photos as $photo) {
|
foreach ($photos as $photo) {
|
||||||
$this->elementStart('li');
|
$this->elementStart('li');
|
||||||
$this->elementStart('a', array('href' => $photo->uri));
|
$photolink = '/' . $this->user->nickname . '/photo/' . $photo->notice_id;
|
||||||
|
$this->elementStart('a', array('href' => $photolink));
|
||||||
$this->element('img', array('src' => $photo->thumb_uri));
|
$this->element('img', array('src' => $photo->thumb_uri));
|
||||||
$this->elementEnd('a');
|
$this->elementEnd('a');
|
||||||
$this->elementEnd('li');
|
$this->elementEnd('li');
|
||||||
|
Loading…
Reference in New Issue
Block a user