Changeset 1097 for trunk/plugins/Linker/dialog.html
- Timestamp:
- 10/20/08 15:53:08 (5 years ago)
- Files:
-
- 1 modified
-
trunk/plugins/Linker/dialog.html (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/Linker/dialog.html
r1078 r1097 4 4 <div id="[options]" > 5 5 <fieldset> 6 <legend><label><input type="radio" name="[type]" id="[type]" value="url" checked="checked" onclick=" 7 document.getElementById('[urltable]').style.display=this.checked?'':'none'; 8 document.getElementById('[mailtable]').style.display=this.checked?'none':''; 9 document.getElementById('[anchortable]').style.display=this.checked?'none':''; 10 " /> <l10n>URL Link</l10n></label></legend> 6 <legend><label><input type="radio" name="[type]" id="[type_url]" value="url" checked="checked" /> 7 <l10n>URL Link</l10n> 8 </label></legend> 11 9 <table id="[urltable]" width="100%"> 12 10 <tr> 13 11 <th><label for="[href]"><l10n>URL:</l10n> </label></th> 14 <td><input type="text" name="[href]" style="width:100%" value="http://www.example.com/" onfocus="if (this.value == 'http://www.example.com/') this.value = '';" /></td>12 <td><input type="text" name="[href]" id="[href]" style="width:100%" value="http://www.example.com/" onfocus="if (this.value == 'http://www.example.com/') this.value = '';" /></td> 15 13 </tr> 16 <tr style="vertical-align: top;" >14 <tr style="vertical-align: top;" id="[target_options]"> 17 15 <th><l10n>Target:</l10n></th> 18 16 <td> 19 <div ><label><input type="radio" name="[target]" value="" onclick="document.getElementById('[popuptable]').style.display='none';" checked="checked" /> <l10n>Ordinary Link</l10n></label></div>20 <div ><label><input type="radio" name="[target]" value="_top" onclick="document.getElementById('[popuptable]').style.display='none';"/> <l10n>Same Window (jump out of frames)</l10n></label></div>21 <div ><label><input type="radio" name="[target]" value="_blank" onclick="document.getElementById('[popuptable]').style.display='none';"/> <l10n>New Window</l10n> </label></div>22 <div >23 <label><input type="radio" name="[target]" value="popup" onclick="document.getElementById('[popuptable]').style.display='';" /> <l10n>Popup Window</l10n> </label>17 <div id="[noTarget]"><label><input type="radio" name="[target]" id="[noTargetRadio]" value="" /> <l10n>Ordinary Link</l10n></label></div> 18 <div id="[sameWindow]"><label><input type="radio" name="[target]" id="[sameWindowRadio]" value="_top" /> <l10n>Same Window (jump out of frames)</l10n></label></div> 19 <div id="[newWindow]"><label><input type="radio" name="[target]" id="[newWindowRadio]" value="_blank" /> <l10n>New Window</l10n> </label></div> 20 <div id="[popupWindow]"> 21 <label><input type="radio" name="[target]" id="[popupWindowRadio]" value="popup" /> <l10n>Popup Window</l10n> </label> 24 22 <div style="padding-left:10px"> 25 23 <table id="[popuptable]"> … … 61 59 </fieldset> 62 60 <fieldset id="[mailtofieldset]"> 63 <legend><label><input type="radio" name="[type]" value="mailto" onclick=" 64 document.getElementById('[mailtable]').style.display=this.checked?'':'none'; 65 document.getElementById('[urltable]').style.display=this.checked?'none':''; 66 document.getElementById('[anchortable]').style.display=this.checked?'none':''; 67 "/> <l10n>Email Link</l10n></label></legend> 61 <legend><label><input type="radio" name="[type]" id="[type_mailto]" value="mailto"/> 62 <l10n>Email Link</l10n> 63 </label></legend> 68 64 <table id="[mailtable]" width="100%"> 69 65 <tr> 70 66 <th><label for="[to]"><l10n>Email Address:</l10n> </label></th> 71 <td><input type="text" name="[to]" style="width:100%" value="alice@example.com" onfocus="if (this.value == 'alice@example.com') this.value = '';" /></td>67 <td><input type="text" name="[to]" id="[to]" style="width:100%" value="alice@example.com" onfocus="if (this.value == 'alice@example.com') this.value = '';" /></td> 72 68 </tr> 73 69 <tr> … … 83 79 84 80 <fieldset id="[anchorfieldset]"> 85 <legend><label><input type="radio" name="[type]" value="anchor" onclick=" 86 document.getElementById('[urltable]').style.display=this.checked?'none':''; 87 document.getElementById('[mailtable]').style.display=this.checked?'none':''; 88 document.getElementById('[anchortable]').style.display=this.checked?'':'none'; 89 "/> <l10n>Anchor-Link</l10n></label></legend> 81 <legend><label><input type="radio" name="[type]" id="[type_anchor]" value="anchor"/> 82 <l10n>Anchor-Link</l10n> 83 </label></legend> 90 84 <table id="[anchortable]" width="100%"> 91 85 <tr> … … 101 95 <div style="text-align:right"> 102 96 <input type="button" id="[ok]" value="_(OK)" /> 103 <input type="button" id="[clear]" value="_(Remove Link)" onclick="this.form['[href]'].value='';this.form['[to]'].value='';document.getElementById('[ok]').click();"/>97 <input type="button" id="[clear]" value="_(Remove Link)" /> 104 98 <input type="button" id="[cancel]" value="_(Cancel)" /> 105 99 </div> 106 100 </div> 107 101 </div> 102 103
