From: <die...@us...> - 2010-02-18 15:54:59
|
Revision: 1997 http://openutils.svn.sourceforge.net/openutils/?rev=1997&view=rev Author: diego_schivo Date: 2010-02-18 15:54:53 +0000 (Thu, 18 Feb 2010) Log Message: ----------- MEDIA-100 allow setting width/height just after having selected the media Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/dialog/selectMedia.ftl Modified: trunk/openutils-mgnlmedia/src/main/resources/dialog/selectMedia.ftl =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/dialog/selectMedia.ftl 2010-02-18 15:38:27 UTC (rev 1996) +++ trunk/openutils-mgnlmedia/src/main/resources/dialog/selectMedia.ftl 2010-02-18 15:54:53 UTC (rev 1997) @@ -55,30 +55,30 @@ ${msgs.get("media.remove")} </span> </div> + [#if (configuration['resizing']!false)?string == 'true'] + [#assign dispResize = "block"] + [#else] + [#assign dispResize = "none"] + [/#if] + <div id="dispResize${name}" style="display:${dispResize}"> + <table> + <tbody> + <tr> + <td class="mgnlDialogBoxLabel">Width</td> + <td class="mgnlDialogBoxInput"> + <input type="text" id="${name}_width" name="${name}_width" value="${width!''}" class="mgnlDialogControlEdit" style="width: 60px;"> + </td> + </tr> + <tr> + <td class="mgnlDialogBoxLabel">Height</td> + <td class="mgnlDialogBoxInput"> + <input type="text" id="${name}_height" name="${name}_height" value="${height!''}" class="mgnlDialogControlEdit" style="width: 60px;"> + </td> + </tr> + </tbody> + </table> + </div> </div> -[#if dispRem == "block" && (configuration['resizing']!false)?string == 'true'] - [#assign dispResize = "block"] -[#else] - [#assign dispResize = "none"] -[/#if] -<div id="dispResize${name}" style="display:${dispResize}"> - <table> - <tbody> - <tr> - <td class="mgnlDialogBoxLabel">Width</td> - <td class="mgnlDialogBoxInput"> - <input type="text" id="${name}_width" name="${name}_width" value="${width!''}" class="mgnlDialogControlEdit" style="width: 60px;"> - </td> - </tr> - <tr> - <td class="mgnlDialogBoxLabel">Height</td> - <td class="mgnlDialogBoxInput"> - <input type="text" id="${name}_height" name="${name}_height" value="${height!''}" class="mgnlDialogControlEdit" style="width: 60px;"> - </td> - </tr> - </tbody> - </table> -</div> <div id="dispSel${name}" style="display:${dispSel}"> <span class="mgnlControlButton" onclick="mgnlShiftPushButtonClick(this);selectMedia('${name}', '${value!'null'}', '${configuration['mediaType']!'null'}');" onmouseout="mgnlShiftPushButtonOut(this);" onmousedown="mgnlShiftPushButtonDown(this);" style=""> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |