discourse-legacysite-perl/site/articles/include_form_video.html
2024-06-17 22:24:05 +10:00

62 lines
2.9 KiB
HTML

<%~if File_Path%>
<%set selectfile = 1 %>
<% else %>
<%set selectfile = 0 %>
<%endif~%>
<div class="drow">
<div for="Selection" class="dcell name">Selection:</div>
<div class="dcell value">
<input type="radio" id="SelectWebsite" name="Selection"<%ifnot selectfile%> checked<%endif%> value="website"><label for="SelectWebsite">Website</label>
<input type="radio" id="SelectFile" name="Selection"<%if selectfile%> checked<%endif%> value="file"><label for="SelectFile">File</label>
</div>
</div>
<div class="drow websitecontent"<%if selectfile%> style="display:none"<%endif%>>
<div for="URL" class="dcell name">URL:</div>
<div class="dcell value">
<input type="text" id="URL" name="URL" value="<%if URL%><%escape_html URL%><%else%>http://<%endif%>" class="txt midtext" />
</div>
</div>
<div class="drow websitecontent"<%if selectfile%> style="display:none"<%endif%>>
<div for="Image_Path" class="dcell name">Image:</div>
<div class="dcell value">
<input type="file" id="Image_Path" name="Image_Path"/><%if Image_Path%>&nbsp;<%Image_Path%><%endif%>
</div>
</div>
<div class="drow filecontent"<%ifnot selectfile%> style="display:none"<%endif%>>
<div for="File_Path" class="dcell name">File:</div>
<div class="dcell value">
<input type="file" id="File_Path" name="File_Path"/><%if File_Path%>&nbsp;<%File_Path%><%endif%>
</div>
</div>
<div class="drow filecontent"<%ifnot selectfile%> style="display:none"<%endif%>>
<div for="admin_convert_video" class="dcell name">Generate Thumbnail and Image:</div>
<div class="dcell value">
<input type="checkbox" id="admin_convert_video" name="admin_convert_video" value="1"/>
<img src="/images/question-mark.gif" onmouseover="document.getElementById('tooltip').style.display='block'" onmouseout="document.getElementById('tooltip').style.display='none'"/>
<div id='tooltip' class="toolTip">Select this checkbox if you want to generate the associated video files (for example, image file, flash file) while uploading the video file. This process may take several minutes.</div>
</div>
</div>
<!--<div class="drow">
<div for="Tag" class="dcell name">Tag:</div>
<div class="dcell value">
<input type="text" id="Tag" name="Tag" value="<%if Tag%><%escape_html Tag%><%endif%>" class="text" />
</div>
</div>
<div class="drow">
<div for="Family_Friendly" class="dcell name">Family Friendly</div>
<div class="dcell value">
<select name="Family_Friendly">
<option></option>
<option value="No"<%if Family_Friendly eq 'No'%> selected<%endif%>>No</option>
<option value="Yes"<%if Family_Friendly eq 'Yes'%> selected<%endif%>>Yes</option>
</select>
</div>
</div>
<div class="drow">
<div for="Duration" class="dcell name">Duration:</div>
<div class="dcell value">
<input type="text" id="Duration" name="Duration"<%if Duration%> value="<%escape_html Duration%>"<%endif%> class="text" />
</div>
</div>
-->