When the user mouses over/clicks on a document listing in the doclib,
a dropdown appears with a 'VERSION HISTORY' listing. The code for
that dropdown, its listings and their corresponding functions are
found in this file....60\TEMPLATE\LAYOUTS\1033\ows.js
I would start there. Open it up and search on 'version' to get a feel
for what is there.
We had to manipulate the 'Check out' listing and all the code needed
for that was found in that file. My first 'kneejerk' reaction would
be to suggest possibly passing the number of versions that you would
want listed in the querystring as it appears in a couple of places in
ows.js ...
function AddVersionsMenuItem(m, ctx, url)
{
strDisplayText = L_Versions_Text;
strAction = "NavigateToVersionsAspx('" + ctx.HttpRoot
+ "', 'list=" + ctx.listName + "&FileName=" + url +"')";
strImagePath = ctx.imagesPath + "versions.gif";
CAMOpt(m, strDisplayText, strAction, strImagePath);
}
...
function NavigateToVersionsAspx(strHttpRoot, strArgs)
{
STSNavigate(strHttpRoot + "/_layouts/" + L_Language_Text
+ "/Versions.aspx?" + strArgs + "&Source=" + GetSource());
}
Second suggestion would be to look at 60\TEMPLATE\LAYOUTS\1033
\versions.aspx to see you can modify the number of listings that
appear.