From 358f191be2da4d3d03e7da4d41cfbaa4927d5a03 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 11 Mar 2012 04:50:44 +0000 Subject: [PATCH] view/edit for author --- contrib/artists/theme.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/contrib/artists/theme.php b/contrib/artists/theme.php index 17fc9496..1bb9e2ed 100644 --- a/contrib/artists/theme.php +++ b/contrib/artists/theme.php @@ -3,7 +3,15 @@ class ArtistsTheme extends Themelet { public function get_author_editor_html(/*string*/ $author) { $h_author = html_escape($author); - return "Author"; + return " + + Author + + $h_author + + + + "; } public function display_artists(){ @@ -11,7 +19,7 @@ class ArtistsTheme extends Themelet { $page->set_title("Artists"); $page->set_heading("Artists"); - $page->add_block(new Block("Artists", $html, "main", 10)); + $page->add_block(new Block("Artists", $html, "main", 10)); //$this->display_paginator($page, "artist/list", null, $pageNumber, $totalPages); }