view/edit for author

This commit is contained in:
Shish 2012-03-11 04:50:44 +00:00
parent e4c95d5b56
commit 358f191be2

View File

@ -3,7 +3,15 @@ class ArtistsTheme extends Themelet {
public function get_author_editor_html(/*string*/ $author) {
$h_author = html_escape($author);
return "<tr><td>Author</td><td><input class='editor_author' type='text' name='tag_edit__author' value='$h_author'></td></tr>";
return "
<tr>
<td>Author</td>
<td>
<span class='view'>$h_author</span>
<input class='edit' type='text' name='tag_edit__author' value='$h_author'>
</td>
</tr>
";
}
public function display_artists(){