Only show tabs if the user is an admin, since otherwise would only get 1, making it pointless.

This commit is contained in:
robert%accettura.com 2006-03-21 21:00:45 +00:00
Родитель ad8e1b34a8
Коммит 6bdd7171df
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -40,7 +40,6 @@ function show(aItem){
{else}
<div id="reporterReport">
<div class="header">Report RMO11301752363661</div>
<!-- {$screenshot} -->
<div id="report_data">
<div>
<div class="title">URL:</div>
@ -104,6 +103,7 @@ function show(aItem){
{if $screenshot == true}
<div id="report_screenshot" style="display:none;"></div>
{/if}
{if $is_admin == true}
<div id="report_tabs">
<ul>
<li><a href="javascript:show('data');">Report Data</a></li>
@ -112,6 +112,7 @@ function show(aItem){
{/if}
</ul>
</div>
{/if}
</div>
<div id="reportNavigation">
<p>