Changeset 22 for trunk/popups


Ignore:
Timestamp:
02/19/05 06:28:39 (15 years ago)
Author:
gogo
Message:

New about dialog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/popups/about.html

    r20 r22  
    1717<head> 
    1818<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    19 <title>About HTMLArea</title> 
     19<title>About Xinha</title> 
    2020<script type="text/javascript" src="popup.js"></script> 
    2121<script type="text/javascript"> 
     
    4949  var plugins = document.getElementById("plugins"); 
    5050  var j = 0; 
    51   var html = "<table width='99%' cellpadding='0' style='margin-top: 1em; collapse-borders: collapse; border: 1px solid #8b8;'>" + 
    52           "<thead><tr>" + 
    53           "<td>Name</td>" + 
    54           "<td>Developer</td>" + 
    55           "<td>Sponsored by</td>" + 
    56           "<td>License<sup>*</sup></td>" + 
    57           "</tr></thead><tbody>"; 
     51  var html = "<table width='99%' cellpadding='2' cellspacing=2 style='margin-top: 1em; collapse-borders: collapse; border: 1px solid black;'>" + 
     52    "<thead><tr>" + 
     53    "<td>Name</td>" + 
     54    "<td>Developer</td>" + 
     55    "<td>Sponsored by</td>" + 
     56    "<td>License</td>" + 
     57    "</tr></thead><tbody>"; 
    5858  for (var i in editor.plugins) { 
    5959    var info = editor.plugins[i]; 
    60     html += "<tr><td>" + info.name + " v" + info.version + "</td>" +  
     60    html += "<tr><td>" + info.name + " v" + info.version + "</td>" + 
    6161            "<td><a href='" + info.developer_url + "' target='_blank' title='Visit developer website'>" + 
    62             info.developer + "</a></td>" + 
    63             "<td><a href='" + info.sponsor_url + "' target='_blank' title='Visit sponsor website'>" + 
    64             info.sponsor + "</a></td>" + 
    65             "<td>" + info.license + "</td></tr>"; 
     62      info.developer + "</a></td>" + 
     63      "<td><a href='" + info.sponsor_url + "' target='_blank' title='Visit sponsor website'>" + 
     64      info.sponsor + "</a></td>" + 
     65      "<td>" + info.license + "</td></tr>"; 
    6666    ++j; 
    6767  } 
     
    6969  if (j) { 
    7070          html += "</tbody></table>" + 
    71                   "<p><sup>*</sup> License \"htmlArea\" means that the plugin is distributed under the same terms " + 
    72                   "as HTMLArea itself.  Such plugins are likely to be those included in the official " + 
    73                   "HTMLArea distribution</p>"; 
    74           plugins.innerHTML = "<p>The following plugins have been loaded.</p>" + html; 
     71      "<p>License \"htmlArea\" means that the plugin is distributed under the same terms " + 
     72      "as Xinha itself.</p>"; 
     73    plugins.innerHTML = "<p>The following plugins have been loaded.</p>" + html; 
    7574  } else { 
    76           plugins.innerHTML = "<p>No plugins have been loaded</p>"; 
     75    plugins.innerHTML = "<p>No plugins have been loaded</p>"; 
    7776  } 
    7877 
     
    118117</script> 
    119118<style> 
    120   html,body,textarea,table { font-family: tahoma,verdana,arial; font-size: 11px; 
    121 padding: 0px; margin: 0px; } 
    122   tt { font-size: 120%; } 
    123   body { padding: 0px; background: #cea; color: 000; } 
     119  html,body,textarea,table 
     120  { font-family: helvetica,arial,sans-serif; 
     121    font-size: 11px; padding: 0px; margin: 0px; 
     122  } 
     123 
     124  body { padding: 0px; background: #f5f6f6; color: black; } 
    124125  a:link, a:visited { color: #00f; } 
    125   a:hover { color: #f00; } 
    126   a:active { color: #f80; } 
    127   button { font: 11px tahoma,verdana,sans-serif; background-color: #cea; 
    128       border-width: 1px; } 
     126  a:hover           { color: #f00; } 
     127  a:active          { color: #f80; } 
     128  button            { font: 11px; border-width: 1px; background-color:#f5f6f6; color:black; } 
    129129 
    130130  p { margin: 0.5em 0px; } 
    131131 
    132   h1 { font: bold 130% georgia,"times new roman",serif; margin: 0px; border-bottom: 1px solid #6a6; } 
    133   h2 { font: bold 110% georgia,"times new roman",serif; margin: 0.7em 0px; } 
     132  #tdheader h1 
     133  { font: bold 40px "Staccato222 BT", cursive; margin: 0px; padding-left:4px; border-bottom: 1px solid #6a6; } 
     134  h1 { font: bold 20px; margin: 0px; border-bottom: 1px solid #6a6; } 
     135  h2 { font: bold 110%; margin: 0.7em 0px; } 
    134136 
    135137  thead { 
    136138    font-weight: bold; 
    137     background-color: #dfb; 
    138   } 
    139  
    140   .logo, .logo-hover { 
    141     white-space: nowrap; 
    142     background-color: #8f4; color: #040; padding: 3px; border-bottom: 1px solid #555; 
    143     height: 5em; 
    144   } 
    145   .logo .brand, .logo-hover .brand { 
    146     margin-left: 0.5em; margin-right: 0.5em; padding-bottom: 0.1em; 
    147     font-family: impact,'arial black',arial,sans-serif; font-size: 28px; 
    148     border-bottom: 1px solid #595; text-align: center; 
    149     cursor: pointer; 
    150   } 
    151   .logo-hover { 
    152     background-color: #fff; 
    153   } 
    154   .logo-hover .brand { 
    155     color: #800; 
    156     border-color: #04f; 
    157   } 
    158   .logo .letter, .logo-hover .letter { position: relative; font-family: monospace; } 
    159   .logo .letter1 { top: 0.1em; } 
    160   .logo .letter2 { top: 0.05em; } 
    161   .logo .letter3 { top: -0.05em; } 
    162   .logo .letter4 { top: -0.1em; } 
    163  
    164   .logo-hover .letter1 { top: -0.1em; } 
    165   .logo-hover .letter2 { top: -0.05em; } 
    166   .logo-hover .letter3 { top: 0.05em; } 
    167   .logo-hover .letter4 { top: 0.1em; } 
    168   .logo .version, .logo-hover .version { font-family: georgia,"times new roman",serif; } 
    169   .logo .release { 
    170     font-size: 90%; margin-bottom: 1em; 
    171     text-align: center; color: #484; 
    172   } 
    173   .logo .visit { display: none; } 
    174   .logo-hover .release { display: none; } 
    175   .logo-hover .visit { 
    176     font-size: 90%; margin-bottom: 1em; 
    177     text-align: center; color: #448; 
    178   } 
     139    background-color: #CCC; 
     140  } 
     141 
     142  thead td { padding-left:4px; } 
     143 
    179144  .buttons { 
    180     text-align: right; padding: 3px; background-color: #8f4; 
     145    text-align: right; padding: 3px; 
     146    background-color: white; 
    181147    border-top: 1px solid #555; 
    182148  } 
     149 
    183150  #tabbar { 
    184151    position: relative; 
     
    186153  } 
    187154  .tab { 
    188     color: #454; 
     155    color: #OOO; 
    189156    cursor: pointer; 
    190157    margin-left: -5px; 
     
    193160    top: -3px; left: -2px; 
    194161    padding: 2px 10px 3px 10px; 
    195     border-top: none; background-color: #9b7; 
     162    border-top: none; background-color: #CCC; 
    196163    -moz-border-radius: 0px 0px 4px 4px; 
    197164    z-index: 0; 
    198165  } 
    199   .tab-current { 
     166  .tab-current 
     167  { 
    200168    color: #000; 
    201169    top: -4px; 
    202     background-color: #cea; 
     170    background-color: #f5f6f6; 
    203171    padding: 3px 10px 4px 10px; 
    204172    z-index: 10; 
    205173  } 
    206   table.sponsors { border-top: 1px solid #aca; } 
    207   table.sponsors td { 
    208     border-bottom: 1px solid #aca; vertical-align: top; 
    209   } 
    210   table.sponsors tr td { padding: 2px 0px; } 
    211   table.sponsors tr td.sponsor { text-align: right; padding-right: 0.3em; white-space: nowrap; } 
     174 
    212175  li, ol, ul { margin-top: 0px; margin-bottom: 0px; } 
    213176</style></head> 
     
    218181<tr style="height: 1em"><td id="tdheader"> 
    219182 
    220 <div class="logo"> 
    221 <div class="brand" 
    222 onmouseover="this.parentNode.className='logo-hover';" 
    223 onmouseout="this.parentNode.className='logo';" 
    224 onclick="window.open('http://dynarch.com/htmlarea/');"> 
    225 <span class="letter letter1">&lt;H</span><span 
    226 class="letter letter2">T</span><span 
    227 class="letter letter3">M</span><span 
    228 class="letter letter4">L</span>Area <span class="letter">/&gt;</span> 
    229 <span class="version"><% $version.$release %></span></div> 
    230 <div class="release">Compiled on <% $time %></div> 
    231 <div class="visit">Go to http://dynarch.com/htmlarea/ [latest milestone release]</div> 
    232 </div> 
     183<h1>Xinha</h1> 
    233184 
    234185</td></tr> 
     
    240191<div id="tab-area-0"> 
    241192 
    242   <h1>HTMLArea</h1> 
    243    
    244   <p>A free WYSIWYG editor replacement for <tt>&lt;textarea&gt;</tt> fields.<br /> 
    245   For Mozilla 1.3+ (any platform) or Internet Explorer 5.5+ (Windows). 
     193  <p>A free WYSIWYG editor replacement for <tt>&lt;textarea&gt;</tt> fields.</p> 
     194  <p>Visit the <a href="http://xinha.gogo.co.nz/">Xinha Website</a> for more information.</p> 
     195 
     196  <p> 
     197   Use of Xinha is granted by the terms of the htmlArea License (based on BSD license) 
    246198  </p> 
    247  
    248   <p style="text-align: center" 
    249   >&copy; 2002-2004 <a href="http://interactivetools.com" target="_blank">interactivetools.com</a>, inc.<br /> 
    250   &copy; 2003-2004 <a href="http://dynarch.com" target="_blank">dynarch.com</a> LLC.<br /> 
    251   All Rights Reserved.</p> 
    252  
    253   <h2>Project resources</h2> 
    254  
    255   <ul> 
    256   <li><a href="http://sourceforge.net/projects/itools-htmlarea/" target="_blank" 
    257   >Project page</a> (@ sourceforge.net)</li> 
    258   <li><a href="http://sourceforge.net/cvs/?group_id=69750" target="_blank" 
    259   >Anonymous CVS access</a> (@ sourceforge.net)</li> 
    260   <li><a href="http://sourceforge.net/tracker/?atid=525656&group_id=69750&func=browse" target="_blank" 
    261   >Bug system</a> (@ sourceforge.net)</li> 
    262   <li><a href="http://www.interactivetools.com/forum/gforum.cgi?forum=14;" target="_blank" 
    263   >Forum</a> (@ interactivetools.com)</li> 
    264   <li><a href="http://www.dynarch.com/htmlarea/" target="_blank" 
    265   >Last public release</a> (@ dynarch.com)</li> 
    266   </ul> 
    267  
    268199  <p> 
    269   For download section please see the <a href="http://sourceforge.net/projects/itools-htmlarea/" target="_blank" 
    270   >project page @ SourceForge</a>. 
     200    Xinha was originally based on work by Mihai Bazon which is: 
    271201  </p> 
    272  
    273 <p style="margin-top: 1em; text-align: center;">Version 3.0 developed and maintained by <a 
    274 href="http://dynarch.com/mishoo/" title="http://dynarch.com/mishoo/" target="_blank">Mihai Bazon</a> / <a 
    275 href="http://dynarch.com" title="http://dynarch.com/" target="_blank">dynarch.com</a></p> 
     202  <blockquote><pre>Copyright (c) 2003-2004 dynarch.com. 
     203    Copyright (c) 2002-2003 interactivetools.com, inc. 
     204    This copyright notice MUST stay intact for use.</pre></blockquote> 
    276205 
    277206</div> 
    278207 
    279208<div id="tab-area-1"> 
    280 <h1>Thank you</h1> 
    281209 
    282210  <p> 
    283   <a href="http://dynarch.com" target="_blank">dynarch.com</a> would like to thank the following 
    284   companies/persons for their <em>donations</em> to support development of HTMLArea (listed alphabetically): 
     211   The development of Xinha would not have been possible without the original work of <a href="http://dynarch.com/">Mihai Bazon</a>, <a href="http://interactivetools.com" target="_blank">InteractiveTools.com</a>, and the many sponsors and contributors from around the world. 
    285212  </p> 
    286213 
    287   <ul> 
    288     <li><a href="http://www.computerlove.co.uk" target="_blank">Code Computer Love Ltd.</a> (UK)</li> 
    289     <li><a href="http://www.neomedia.ro" target="_blank">Neomedia</a> (Romania)</li> 
    290     <li><a href="http://www.os3.it" target="_blank">OS3</a> (Italy)</li> 
    291     <li><a href="http://www.softwerk.net" target="_blank">SoftWerk</a> (Italy)</li> 
    292   </ul> 
    293  
    294   <p>Also many thanks to all people at InteractiveTools.com 
    295   <a href="http://www.interactivetools.com/forum/gforum.cgi?forum=14;">HTMLArea forums</a> for 
    296   contributing translations, feedback, bug reports and fixes.</p> 
    297  
    298   <p> 
    299   Last but not least, this project wouldn't have existed without 
    300   <a href="http://interactivetools.com" target="_blank">InteractiveTools.com</a>. 
    301   </p> 
    302  
    303214</div> 
    304215 
    305216<div id="tab-area-2"> 
    306 <h1>htmlArea License (based on BSD license)</h1> 
    307  
    308 <p style="text-align: center">© 2002-2004, interactivetools.com, inc.<br /> 
    309   © 2003-2004 dynarch.com LLC<br /> 
    310   All rights reserved.</p> 
    311  
    312 <p> 
     217<pre>htmlArea License (based on BSD license) 
     218Copyright (c) 2002-2004, interactivetools.com, inc. 
     219Copyright (c) 2003-2004 dynarch.com 
     220All rights reserved. 
     221 
    313222Redistribution and use in source and binary forms, with or without 
    314223modification, are permitted provided that the following conditions are met: 
    315 </p> 
    316  
    317 <ol> 
    318 <li> 
    319 Redistributions of source code must retain the above copyright notice, 
    320 this list of conditions and the following disclaimer. 
    321 </li> 
    322  
    323 <li> 
    324 Redistributions in binary form must reproduce the above copyright notice, 
    325 this list of conditions and the following disclaimer in the documentation 
    326 and/or other materials provided with the distribution. 
    327 </li> 
    328  
    329 <li> 
    330 Neither the name of interactivetools.com, inc. nor the names of its 
    331 contributors may be used to endorse or promote products derived from this 
    332 software without specific prior written permission. 
    333 </li> 
    334 </ol> 
    335  
    336 <p> 
     224 
     2251) Redistributions of source code must retain the above copyright notice, 
     226   this list of conditions and the following disclaimer. 
     227 
     2282) Redistributions in binary form must reproduce the above copyright notice, 
     229   this list of conditions and the following disclaimer in the documentation 
     230   and/or other materials provided with the distribution. 
     231 
     2323) Neither the name of interactivetools.com, inc. nor the names of its 
     233   contributors may be used to endorse or promote products derived from this 
     234   software without specific prior written permission. 
     235 
    337236THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
    338237AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
     
    345244CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
    346245ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
    347 POSSIBILITY OF SUCH DAMAGE. 
    348 </p> 
    349  
     246POSSIBILITY OF SUCH DAMAGE.</pre> 
    350247</div> 
    351248 
    352249<div id="tab-area-3"> 
    353 <h1>Plugins</h1> 
    354250<div id="plugins"> 
    355251</div> 
     252</div> 
     253 
     254 
     255<div id="tab-area-4"> 
     256<pre>$HeadURL$ 
     257$LastChangedDate$ 
     258$LastChangedRevision$ 
     259$LastChangedBy$</pre> 
    356260</div> 
    357261 
     
    369273>Thanks</div><div class="tab" 
    370274>License</div><div class="tab" 
    371 >Plugins</div></div> 
    372 <button type="button" onclick="__dlg_close(null);">I agree it's cool</button> 
     275>Plugins</div><div class="tab" 
     276>Version</div></div> 
     277<button type="button" onclick="__dlg_close(null);">Close</button> 
    373278</div> 
    374279 
     
    376281 
    377282</body></html> 
    378  
    379 <%ARGS> 
    380   $version => '3.0' 
    381   $release => 'beta+' 
    382   $basename => 'HTMLArea-3.0-beta' 
    383 </%ARGS> 
    384  
    385 <%INIT>; 
    386 if ($release =~ /\S/) { 
    387     $release = ' <span style="position: relative; top: -0.6em; font-size: 50%; font-weight: normal">[ rev. '.$release.' ]</span>'; 
    388 } 
    389  
    390 use POSIX qw(strftime); 
    391 my $time = strftime '%b %e, %Y %H:%M GMT', gmtime; 
    392 </%INIT> 
Note: See TracChangeset for help on using the changeset viewer.