%
'=====================================================
' File description
'=====================================================
' _drawExtensionSelectBox.asp
'
' Last edited by Haydon Knight June 2008
'
' This file contains a utility subroutine 'drawExtensionSelectBox()' that is
' called by _form_new_version_page.asp and _wform_rename_version.asp
' to help draw a select box of possible extensions.
'
'=====================================================
' Subroutines and functions
'=====================================================
'
'-----------------------------------------------------------------------------------------------------------------------------
' Subroutine: drawExtensionSelectBox()
'
' Purpose: Writes out html options for a select box of possible package extensioms
'
' Arguments: defaultExtension - default extension to have selected (usually objPkgInfo.Item("v_ext"))
' isNewVersion - true if a new version is being created, else false
'
' Returns: none
'
' Notes: This only writes out the "
rsQry.MoveNext()
Wend
rsQry.Close()
Set rsQry = nothing
' If we are reversioning a package version (isNewVersion = false), and we did not find an extension in the standard list
' that matched the existing version's extension, add the existing package version extension to the list (if it is not
' null or empty) and select it.
If isNewVersion = false AND selectedFound = false AND NOT IsNull(defaultExtension) AND defaultExtension <> "" Then
getExtensionSelectText = getExtensionSelectText & ""
End If
End Function
%>