widget: unnamed options as placeholders instead of path
[minimedit.git] / widget / linkref.php
index 75135f85c1d23d00d4f71a51fd74d1a88f020159..1734d8c76f01526e6f7edf0406d74f208ab07a28 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-       $article = new ArchiveArticle($Args);
+       $article = new ArchiveArticle($Page->place[0]);
        printf('<a href="%s">%s</a>', $article->link, $article->name);
        if ($article->image) {
                printf("\n\t".'<img class="right" src="/%s" />', $article->thumb('100x100'));