{% block bodyid %}book-detail{% endblock %}
{% block body %}
<h1>{{ book.title }}, {{ categories.author|join:", " }}</h1>
<form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
{% block bodyid %}book-detail{% endblock %}
{% block body %}
<h1>{{ book.title }}, {{ categories.author|join:", " }}</h1>
<form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
</div>
{% endif %}
{% if book.mp3_file %}<a href="{{ book.mp3_file.url }}">{% trans "Download MP3" %}</a>{% endif %}
{% if book.ogg_file %}<a href="{{ book.ogg_file.url }}">{% trans "Download Ogg Vorbis" %}</a>{% endif %}
{% if book.mp3_file %}
</div>
{% endif %}
{% if book.mp3_file %}<a href="{{ book.mp3_file.url }}">{% trans "Download MP3" %}</a>{% endif %}
{% if book.ogg_file %}<a href="{{ book.ogg_file.url }}">{% trans "Download Ogg Vorbis" %}</a>{% endif %}
{% if book.mp3_file %}
- <object type="application/x-shockwave-flash" style="margin-top: 0.5em" data="/static/player.swf" width="426" height="20">
- <param name="movie" value="/static/player.swf" />
+ <object type="application/x-shockwave-flash" style="margin-top: 0.5em" data="{{ STATIC_URL }}player.swf" width="426" height="20">
+ <param name="movie" value="{{ STATIC_URL }}player.swf" />
<param name="bgcolor" value="#ffffff" />
<param name="FlashVars" value="mp3={{ book.mp3_file.url }}&width=426&showvolume=1&bgcolor1=eeeeee&bgcolor2=eeeeee&buttoncolor=666666" />
</object>
<param name="bgcolor" value="#ffffff" />
<param name="FlashVars" value="mp3={{ book.mp3_file.url }}&width=426&showvolume=1&bgcolor1=eeeeee&bgcolor2=eeeeee&buttoncolor=666666" />
</object>