Merge from 1.5 branch: NIHVIVO-3954 Add OpenSocial bug fixes from Eric Meeks: make compound key in app_registry table, show sandbox login, ensure that randomly assigned Gadget ID is not negative, modify JS to find out whose page we are on.

This commit is contained in:
j2blake 2012-09-07 15:42:30 +00:00
parent fdbd559edb
commit aabf529210

View file

@ -2,46 +2,53 @@
<#-- Template for the body of the GadgetDetails page --> <#-- Template for the body of the GadgetDetails page -->
<style media="screen" type="text/css">
th {
vertical-align: top;
width: 150px;
text-align: right;
padding-right: 10px;
}
</style>
<div class="pageTitle" id="gadgets-title"><h2>${title}</h2></div> <div class="pageTitle" id="gadgets-title"><h2>${title}</h2></div>
<#-- VIVO OpenSocial Extension by UCSF --> <#-- VIVO OpenSocial Extension by UCSF -->
<#if openSocial??> <#if openSocial??>
<#if openSocial.visible> <form method="POST">
<form method="POST"> <table border="0" cellspacing="0" cellpadding="0">
<table border="0" cellspacing="0" cellpadding="0"> <tr>
<tr> <th>
<th> Gadget URLs</br>
Gadget URLs</br> One Per Line
One Per Line </th>
</th> <td>
<td> <textarea name="gadgetURLS" rows="10" cols="160">${gadgetURLS}</textarea>
<textarea name="gadgetURLS" rows="10" cols="160">${gadgetURLS}</textarea> </td>
</td> </tr>
</tr> <tr>
<tr> <th>
<th> Debug mode
Debug mode </th>
</th> <td>
<td> <input type="checkbox" name="debug" value="debug" checked="checked" />
<input type="checkbox" name="debug" value="debug" checked="checked" /> </td>
</td> </tr>
</tr> <tr>
<tr> <th>
<th> Use Cache
Use Cache </th>
</th> <td>
<td> <input type="checkbox" name="useCache" value="useCache" />
<input type="checkbox" name="useCache" value="useCache" /> </td>
</td> </tr>
</tr> <tr>
<tr> <th>
<th> </th>
</th> <td>
<td> <input type="submit" value="Submit" />
<input type="submit" value="Submit" /> </td>
</td> </tr>
</tr> </table>
</table> </form>
</form>
</#if>
</#if> </#if>