summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2009-07-10 17:47:48 +0000
committerChristian Fowler <spider@viovio.com>2009-07-10 17:47:48 +0000
commitcad19091f5fd85a7292a67230d74cef986dfebc3 (patch)
treea2e83787282ae8cab4d440b7bc1f6eecb47e6f06 /templates
parent1d4239fd2dcdf1b564c00698ab4ef5b15564e2f6 (diff)
downloadfisheye-cad19091f5fd85a7292a67230d74cef986dfebc3.tar.gz
fisheye-cad19091f5fd85a7292a67230d74cef986dfebc3.tar.bz2
fisheye-cad19091f5fd85a7292a67230d74cef986dfebc3.zip
remove non xhtml compliant <p> tags that wrap a <ul>, move \!hasService code around a bit so onSubmit gets assigned
Diffstat (limited to 'templates')
-rw-r--r--templates/upload_fisheye.tpl11
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/upload_fisheye.tpl b/templates/upload_fisheye.tpl
index 3b94fb0..ce9e3b6 100644
--- a/templates/upload_fisheye.tpl
+++ b/templates/upload_fisheye.tpl
@@ -1,3 +1,8 @@
+{if !$gLibertySystem->hasService('upload')}
+ {assign var=onSubmit value="javascript:disableSubmit('submitbutton');"}
+ {assign var=id value=fishid}
+{/if}
+
{strip}
<div class="admin fisheye">
<div class="header">
@@ -24,7 +29,7 @@
<input type="hidden" name="image_id" value="{$imageId}"/>
<input type="hidden" name="MAX_FILE_SIZE" value="1000000000" />
- <p>
+ <br/>
{if $gLibertySystem->hasService('upload')}
{include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_upload_form_tpl"}
{elseif $gBitSystem->isFeatureActive( 'fisheye_extended_upload_slots' )}
@@ -54,7 +59,6 @@
{/forminput}
</div>
{/if}
- </p>
{/jstab}
{include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_edit_tab_tpl"}
@@ -140,8 +144,5 @@
{if $gLibertySystem->hasService('upload')}
{include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_upload_js_tpl"}
-{else}
- {assign var=onSubmit value="javascript:disableSubmit('submitbutton');"}
- {assign var=id value=fishid}
{/if}