1
0

fix the broken link for adding new photo

This commit is contained in:
mamouneyya 2010-08-18 11:32:36 +08:00 committed by Bharat Mediratta
parent 3c00d669ba
commit 08a3895f3f

View File

@ -29,7 +29,7 @@
<? endforeach ?>
<? else: ?>
<? if ($user->admin || access::can("add", $item)): ?>
<? $addurl = url::file("index.php/simple_uploader/app/$item->id") ?>
<? $addurl = url::site("uploader/index/$item->id") ?>
<li><?= t("There aren't any photos here yet! <a %attrs>Add some</a>.",
array("attrs" => html::mark_clean("href=\"$addurl\" class=\"g-dialog-link\""))) ?></li>
<? else: ?>