{assign var="page_title" value="Bibliothek"}
{assign var="page_title_long" value="Bibliotheks-Eintrag ansehen"}
{assign var="page_title_site" value="Bibliotheks-Eintrag"}

{if isset( $user ) && $user->can_access("library")}
<form method="post" action="library.php">
    <input type="hidden" name="sid" value="{$SID_SHORT}" />
    <input type="hidden" name="entryID" value="{$entry.entryID}" />
{/if}
	<b class="large">{$entry.title|stripslashes}</b>
	<hr size="1" width="100%" noshade="noshade" style="color:{$style.bg_b}"></hr>
{if isset( $user ) && $user->can_access("library")}
	Schlüsselwörter:<br />
    <input type="text" name="keywords" value="{$entry.keywords}" size="30" class="input_form" /><br />
	<textarea name="entry" cols="80" rows="10" class="input_form">{$entry.entry|stripslashes}</textarea>
    <p></p>
    <input type="submit" value="Eintrag speichern" name="send_form" class="button_form" />
    <input type="submit" value="Eintrag löschen" name="delete_entry" class="button_form" onclick="return confirm_link( this, 'Eintrag wirklich löschen?' )" />
</form>
{else}
	{$entry.entry|stripslashes|nl2br}
{/if}
<p></p>
<a href="javascript:history.back()">zurück</a>