Fxied view

git-svn-id: file:///home/svn/framework3/trunk@3992 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2006-09-28 05:58:47 +00:00
parent ab0484c7c7
commit 30bce902fe
1 changed files with 18 additions and 3 deletions

View File

@ -1,7 +1,22 @@
<%
modidx = (params[:id] || 0).to_i
modinst = @exploits[modidx]
modlist = @exploits
modname = params[:id]
modinst = nil
if (modname)
modlist.each do |m|
if (m.refname == modname)
modinst = m
break
end
end
end
# Default to first module?
if (not modinst)
modinst = modlist[0]
modname = modinst.refname
end
%>
<table width="100%" cellspacing="0" cellpadding="0" border="0">