Fxied view
git-svn-id: file:///home/svn/framework3/trunk@3992 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
ab0484c7c7
commit
30bce902fe
|
@ -1,7 +1,22 @@
|
||||||
<%
|
<%
|
||||||
|
modlist = @exploits
|
||||||
modidx = (params[:id] || 0).to_i
|
modname = params[:id]
|
||||||
modinst = @exploits[modidx]
|
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">
|
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||||
|
|
Loading…
Reference in New Issue