Ignore:
Timestamp:
02/12/07 12:53:54 (13 years ago)
Author:
ray
Message:

Linker update:

  • added Xinha.Config.prototype.Linker.treeCaption that allows to freely configure the heading for the files tree
  • added white background for tree (gives more clearly arranged look)
  • clear example URL on focus
  • hide "remove link" button when not editing a link
  • changed button texts from ALL CAPITALS to normal case (also in SuperClean?) to harmonize with the other plugins
  • expanded checked to checked="checked" in dialog.html
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Linker/dialog.html

    r198 r728  
    44<div id="[options]" > 
    55  <fieldset> 
    6     <legend><label><input type="radio" name="[type]" value="url" checked onclick=" 
     6    <legend><label><input type="radio" name="[type]" value="url" checked="checked" onclick=" 
    77      document.getElementById('[urltable]').style.display=this.checked?'':'none'; 
    88      document.getElementById('[mailtable]').style.display=this.checked?'none':''; 
     
    1212      <tr> 
    1313        <th><label for="[href]"><l10n>URL:</l10n> </label></th> 
    14         <td><input type="text" name="[href]" style="width:100%" value="http://www.example.com/" /></td> 
     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> 
    1515      </tr> 
    1616      <tr valign="top"> 
    1717        <th><l10n>Target:</l10n></th> 
    1818        <td> 
    19           <div><label><input type="radio" name="[target]" value="" onclick="document.getElementById('[popuptable]').style.display='none';"      checked /> <l10n>Ordinary Link</l10n></label></div> 
     19          <div><label><input type="radio" name="[target]" value="" onclick="document.getElementById('[popuptable]').style.display='none';"  checked="checked" /> <l10n>Ordinary Link</l10n></label></div> 
    2020          <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> 
    2121          <div><label><input type="radio" name="[target]" value="_blank" onclick="document.getElementById('[popuptable]').style.display='none';"/> <l10n>New Window</l10n> </label></div> 
     
    3737 
    3838                  <th align="left"><l10n>Toolbar:</l10n></th> 
    39                   <td><input type="checkbox" name="[p_options]" value="toolbar=yes" checked /></td> 
     39                  <td><input type="checkbox" name="[p_options]" value="toolbar=yes" checked="checked" /></td> 
    4040                </tr> 
    4141                <tr> 
     
    4848                <tr> 
    4949                  <th align="left"><l10n>Scrollbars:</l10n></th> 
    50                   <td><input type="checkbox" name="[p_options]" value="scrollbars=yes" checked /></td> 
     50                  <td><input type="checkbox" name="[p_options]" value="scrollbars=yes" checked="checked" /></td> 
    5151 
    5252                  <th align="left"><l10n>Resizeable:</l10n></th> 
    53                   <td><input type="checkbox" name="[p_options]" value="resizeable=yes" checked /></td> 
     53                  <td><input type="checkbox" name="[p_options]" value="resizeable=yes" checked="checked" /></td> 
    5454                </tr> 
    5555              </table> 
     
    6969      <tr> 
    7070        <th><label for="[to]"><l10n>Email Address:</l10n> </label></th> 
    71         <td><input type="text" name="[to]" style="width:100%" value="alice@example.com" /></td> 
     71        <td><input type="text" name="[to]" style="width:100%" value="alice@example.com" onfocus="if (this.value == 'alice@example.com') this.value = '';" /></td> 
    7272      </tr> 
    7373      <tr> 
     
    101101  <div style="text-align:right"> 
    102102    <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();" /> 
    104     <input type="button" id="[cancel]" value="_(CANCEL)" /> 
     103    <input type="button" id="[clear]"  value="_(Remove Link)" onclick="this.form['[href]'].value='';this.form['[to]'].value='';document.getElementById('[ok]').click();" /> 
     104    <input type="button" id="[cancel]" value="_(Cancel)" /> 
    105105  </div> 
    106106</div> 
Note: See TracChangeset for help on using the changeset viewer.