Make WordPress Core


Ignore:
Timestamp:
06/16/2008 09:08:49 PM (16 years ago)
Author:
mdawaffe
Message:

crazyhorse: merge with trunk [8072:8102]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/crazyhorse/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html

    r8066 r8103  
    11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    2 <html xmlns="http://www.w3.org/1999/xhtml"  dir="ltr" lang="en-US">
     2<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
    33<head>
    44<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     
    1010<link rel="stylesheet" href="css/editimage.css?ver=3091" type="text/css" media="all" />
    1111<link rel="stylesheet" href="../../../../../wp-admin/css/media.css?ver=2.6-bleeding2" type="text/css" media="all" />
     12<script type="text/javascript">
     13if ( 'rtl' == tinyMCEPopup.editor.getParam('directionality','') )
     14    document.write('<link rel="stylesheet" href="css/editimage-rtl.css?ver=3091" type="text/css" media="all" />');
     15</script>
    1216<base target="_self" />
    1317</head>
     
    1620<div id="media-upload-header">
    1721    <ul id="sidemenu">
    18     <li><a href="javascript:;" id="tab_basic" class="current" onclick="wpImage.setTabs(this);">Edit image</a></li>
    19     <li><a href="javascript:;" id="tab_advanced" onclick="wpImage.setTabs(this);">Advanced settings</a></li>
    20     <li><a href="javascript:;" id="tab_attachment" style="display:none" target="_blanc" onclick="tinyMCEPopup.close();">Edit Attachment</a></li>
     22    <li><a href="javascript:;" id="tab_basic" class="current" onclick="wpImage.setTabs(this);">{#wpeditimage.edit_img}</a></li>
     23    <li><a href="javascript:;" id="tab_advanced" onclick="wpImage.setTabs(this);">{#wpeditimage.adv_settings}</a></li>
    2124    </ul>
    2225</div>
    2326
    2427<div id="img-edit">
    25     <form class="media-upload-form" action="" onsubmit="wpImage.update();">
    26     <div id="div_basic">
    27 
    28     <div class="show-align">
     28<form class="media-upload-form" action="" onsubmit="wpImage.update();">
     29
     30    <label for="show_align">
     31        <span id="show_align_sp" class="alignleft">{#preview.preview_desc}</span>
     32    </label>
     33    <div class="show-align" id="show_align">
    2934        <img id="img_demo" src="img/image.png" alt="" />
    3035        <span id="img_demo_txt">
     
    3237        Ut lorem In penatibus libero id ipsum sagittis nec elit Sed. Condimentum eget Vivamus vel consectetuer lorem molestie turpis amet tellus id. Condimentum vel ridiculus Fusce sed pede Nam nunc sodales eros tempor. Sit lacus magna dictumst Curabitur fringilla auctor id vitae wisi facilisi. Fermentum eget turpis felis velit leo Nunc Proin orci molestie Praesent. Curabitur tellus scelerisque suscipit ut sem amet cursus mi Morbi eu. Donec libero Vestibulum augue et mollis accumsan ornare condimentum In enim. Leo eget ac consectetuer quis condimentum malesuada.
    3338        Condimentum commodo et Lorem fringilla malesuada libero volutpat sem tellus enim. Tincidunt sed at Aenean nec nonummy porttitor Nam Sed Nulla ut. Auctor leo In aliquet Curabitur eros et velit Quisque justo morbi. Et vel mauris sit nulla semper vitae et quis at dui. Id at elit laoreet justo eu mauris Quisque et interdum pharetra. Nullam accumsan interdum Maecenas condimentum quis quis Fusce a sollicitudin Sed. Non Quisque Vivamus congue porttitor non semper ipsum porttitor quis vel. Donec eros lacus volutpat et tincidunt sem convallis id venenatis sit. Consectetuer odio.
    34         Semper faucibus Morbi nulla convallis orci Aliquam Sed porttitor et Pellentesque. Venenatis laoreet lorem id a a Morbi augue turpis id semper. Arcu volutpat ac mauris Vestibulum fringilla Aenean condimentum nibh sed id. Sagittis eu lacus orci urna tellus tellus pretium Curabitur dui nunc. Et nibh eu eu nibh adipiscing at lorem Vestibulum adipiscing augue. Magna convallis Phasellus dolor malesuada Curabitur ornare adipiscing tellus Aliquam tempus. Id Aliquam Integer augue Nulla consectetuer ac Donec Curabitur tincidunt et. Id vel Nunc amet lacus dui magna ridiculus penatibus laoreet Duis. Enim sagittis nibh quis Nulla nec laoreet vel Maecenas mattis vel. Nullam velit est Curabitur gravida Vestibulum justo.
     39        Semper faucibus Morbi nulla convallis orci Aliquam Sed porttitor et Pellentesque. Venenatis laoreet lorem id a a Morbi augue turpis id semper. Arcu volutpat ac mauris Vestibulum fringilla Aenean condimentum nibh sed id. Sagittis eu lacus orci urna tellus tellus pretium Curabitur dui nunc. Et nibh eu eu nibh adipiscing at lorem Vestibulum adipiscing augue. Magna convallis Phasellus dolor malesuada Curabitur ornare adipiscing tellus Aliquam tempus. Id Aliquam Integer augue Nulla consectetuer ac Donec Curabitur tincidunt et. Id vel Nunc amet lacus dui magna ridiculus penatibus laoreet Duis. Enim sagittis nibh quis Nulla nec laoreet vel Maecenas mattis vel.
    3540        </span>
    3641    </div>
    3742
    38     <table id="basic" class="describe">
     43    <div id="div_basic">
     44    <table id="basic" class="describe">
    3945        <tbody>
    40         <tr class="">
    41             <th valign="top" scope="row" class="label">
    42                 <label for="img_title">
    43                 <span class="alignleft">Title</span>
    44                 <span class="alignright"><abbr title="required" class="required">*</abbr></span>
    45                 </label>
    46             </th>
    47             <td class="field">
    48                 <input type="text" id="img_title" name="img_title" value="" aria-required="true" size="60" />
    49             </td>
    50         </tr>
    51 
    52         <tr class="post_excerpt">
    53             <th valign="top" scope="row" class="label">
    54                 <label for="img_alt">
    55                 <span class="alignleft">Caption</span>
    56                 </label>
    57             </th>
    58             <td class="field">
    59                 <input type="text" id="img_alt" name="img_alt" value="" size="60" />
    60                 <p class="help">Alternate text, e.g. "The Mona Lisa"</p>
    61             </td>
    62         </tr>
    63 
    64         <tr class="url">
    65             <th valign="top" scope="row" class="label">
    66                 <label for="link_href">
    67                 <span class="alignleft" id="lb_link_href">Link URL</span>
    68                 </label>
    69             </th>
    70             <td class="field">
    71                 <input type="text" id="link_href" name="link_href" value="" /><br />
    72                 <input type="button" class="button" onclick="wpImage.I('link_href').value='';" value="None" />
    73                 <input type="button" class="button" id="img_url_current" onclick="wpImage.img_seturl('current')" value="Current Link" />
    74                 <input type="button" class="button" id="img_url_img" onclick="wpImage.img_seturl('link')" value="Link to Image" />
    75                 <p class="help">Enter a link URL or click above for presets.</p>
    76             </td>
    77         </tr>
    7846
    7947        <tr class="align">
    8048            <th valign="top" scope="row" class="label">
    8149                <label for="img_align_td">
    82                 <span class="alignleft">{#advanced_dlg.image_align}</span>
     50                <span class="alignleft">{#contextmenu.align}</span>
    8351                </label>
    8452            </th>
    8553            <td class="field" id="img_align_td">
    8654                <input type="radio" onclick="wpImage.imgAlignCls('alignnone')" name="img_align" id="alignnone" value="alignnone" />
    87                 <label for="alignnone" class="align image-align-none-label">None</label>
     55                <label for="alignnone" class="align image-align-none-label">{#wpeditimage.none}</label>
    8856
    8957                <input type="radio" onclick="wpImage.imgAlignCls('alignleft')" name="img_align" id="alignleft" value="alignleft" />
    90                 <label for="alignleft" class="align image-align-left-label">{#advanced_dlg.image_align_left}</label>
     58                <label for="alignleft" class="align image-align-left-label">{#contextmenu.left}</label>
    9159
    9260                <input type="radio" onclick="wpImage.imgAlignCls('aligncenter')" name="img_align" id="aligncenter" value="aligncenter" />
    93                 <label for="aligncenter" class="align image-align-center-label">Center</label>
     61                <label for="aligncenter" class="align image-align-center-label">{#contextmenu.center}</label>
    9462
    9563                <input type="radio" onclick="wpImage.imgAlignCls('alignright')" name="img_align" id="alignright" value="alignright" />
    96                 <label for="alignright" class="align image-align-right-label">{#advanced_dlg.image_align_right}</label>
     64                <label for="alignright" class="align image-align-right-label">{#contextmenu.right}</label>
    9765            </td>
    9866        </tr>
     
    10169            <th valign="top" scope="row" class="label">
    10270                <label for="img_size">
    103                 <span class="alignleft">Size</span>
     71                <span class="alignleft">{#wpeditimage.size}</span>
    10472                </label>
    10573            </th>
    10674            <td class="field" id="img_size">
    10775                <input onclick="wpImage.imgEditSize('thumbnail')" type="radio" name="img_size" id="thumbnail" value="thumbnail" />
    108                 <label for="thumbnail" id="lb_sizethumb">Thumbnail</label>
     76                <label for="thumbnail" id="lb_sizethumb">{#wpeditimage.thumbnail}</label>
    10977
    11078                <input onclick="wpImage.imgEditSize('medium')" type="radio" name="img_size" id="medium" value="medium" />
    111                 <label for="medium" id="lb_sizemedium">Medium</label>
     79                <label for="medium" id="lb_sizemedium">{#wpeditimage.medium}</label>
    11280
    11381                <input onclick="wpImage.imgEditSize('full')" type="radio" name="img_size" id="full" value="full" />
    114                 <label for="full" id="lb_sizefull">Full_size</label>
     82                <label for="full" id="lb_sizefull">{#wpeditimage.full_size}</label>
     83            </td>
     84        </tr>
     85
     86        <tr class="">
     87            <th valign="top" scope="row" class="label">
     88                <label for="img_title">
     89                <span class="alignleft">{#advanced_dlg.link_titlefield}</span>
     90                <span class="alignright"><abbr title="required" class="required">*</abbr></span>
     91                </label>
     92            </th>
     93            <td class="field">
     94                <input type="text" id="img_title" name="img_title" value="" aria-required="true" size="60" />
     95            </td>
     96        </tr>
     97
     98        <tr class="post_excerpt">
     99            <th valign="top" scope="row" class="label">
     100                <label for="img_alt">
     101                <span class="alignleft">{#wpeditimage.caption}</span>
     102                </label>
     103            </th>
     104            <td class="field">
     105                <input type="text" id="img_alt" name="img_alt" value="" size="60" />
     106                <p class="help">{#wpeditimage.alt_help}</p>
     107            </td>
     108        </tr>
     109
     110        <tr class="url">
     111            <th valign="top" scope="row" class="label">
     112                <label for="link_href">
     113                <span class="alignleft" id="lb_link_href">{#advanced_dlg.link_url}</span>
     114                </label>
     115            </th>
     116            <td class="field">
     117                <input type="text" id="link_href" name="link_href" value="" /><br />
     118                <input type="button" class="button" onclick="wpImage.I('link_href').value='';" value="{#wpeditimage.none}" />
     119                <input type="button" class="button" id="img_url_current" onclick="wpImage.img_seturl('current')" value="{#wpeditimage.current_link}" />
     120                <input type="button" class="button" id="img_url_img" onclick="wpImage.img_seturl('link')" value="{#wpeditimage.link_to_img}" />
     121                <p class="help">{#wpeditimage.link_help}</p>
    115122            </td>
    116123        </tr>
     
    119126
    120127    <div id="div_advanced" style="display:none;">
    121     <h3>Advanced Image Settings</h3>
    122     <table id="adv_settings_img" class="describe"> 
     128    <h3>{#wpeditimage.adv_img_settings}</h3>
     129    <table id="adv_settings_img" class="describe">
    123130        <tbody>
    124131        <tr>
    125132            <th valign="top" scope="row" class="label">
    126133                <label for="img_src">
    127                 <span class="alignleft">Source</span>
     134                <span class="alignleft">{#wpeditimage.source}</span>
    128135                <span class="alignright"><abbr title="required" class="required">*</abbr></span>
    129136                </label>
    130137            </th>
    131138            <td class="field">
    132                 <input type="text" id="img_src" name="img_src" value="" onblur="wpImage.checkVal(this)" size="60" />
    133             </td>
    134         </tr>
    135 
    136         <tr>
    137             <th valign="top" scope="row" class="label">
    138                 <label for="img_dim">
    139                 <span class="alignleft">Size</span>
    140                 <span class="alignright"></span>
    141                 </label>
    142             </th>
    143             <td class="field" id="img_dim">
    144                 <label for="width">Width</label>
    145                 <input type="text" id="width" name="width" value="" />
    146                
    147                 <label for="height">Height</label>
    148                 <input type="text" id="height" name="height" value="" />
    149                 <input type="button" class="button" id="orig_size" name="orig_size" value="Original Size" onclick="wpImage.origSize();" />
    150                
     139                <input type="text" id="img_src" name="img_src" value="" onblur="wpImage.checkVal(this)" aria-required="true" size="60" />
     140            </td>
     141        </tr>
     142
     143        <tr id="img_dim">
     144            <th valign="top" scope="row" class="label">
     145                <label>
     146                <span class="alignleft">{#wpeditimage.size}</span>
     147                </label>
     148            </th>
     149            <td class="field">
     150                <label for="width">{#wpeditimage.width}</label>
     151                <input type="text" maxlength="5" id="width" name="width"  value="" />
     152
     153                <label for="height">{#wpeditimage.height}</label>
     154                <input type="text" maxlength="5" id="height" name="height" value="" />
     155
     156                <input type="button" class="button" id="orig_size" name="orig_size" value="{#wpeditimage.orig_size}" onclick="wpImage.origSize();" />
    151157            </td>
    152158        </tr>
     
    155161            <th valign="top" scope="row" class="label">
    156162                <label for="img_classes">
    157                 <span class="alignleft">CSS Class</span>
     163                <span class="alignleft">{#wpeditimage.css}</span>
    158164                </label>
    159165            </th>
     
    166172            <th valign="top" scope="row" class="label">
    167173                <label for="img_style">
    168                 <span class="alignleft">Style</span>
    169                 </label>
    170             </th>
    171             <td class="field">
    172                 <input type="text" id="img_style" name="img_style" value="" size="60" />
     174                <span class="alignleft">{#advanced.style_select}</span>
     175                </label>
     176            </th>
     177            <td class="field">
     178                <input type="text" id="img_style" name="img_style" value="" size="60" onblur="wpImage.demoSetStyle();" />
     179            </td>
     180        </tr>
     181
     182        <tr id="img_prop">
     183            <th valign="top" scope="row" class="label">
     184                <label for="img_prop">
     185                    <span class="alignleft">{#advanced.image_props_desc}</span>
     186                </label>
     187            </th>
     188            <td class="field">
     189                <label for="border">{#advanced_dlg.image_border}</label>
     190                <input type="text" maxlength="5" id="border" name="border" value="" onblur="wpImage.updateStyle('border')" />
     191
     192                <label for="vspace">{#advanced_dlg.image_vspace}</label>
     193                <input type="text" maxlength="5" id="vspace" name="vspace" value="" onblur="wpImage.updateStyle('vspace')" />
     194
     195                <label for="hspace">{#advanced_dlg.image_hspace}</label>
     196                <input type="text" maxlength="5" id="hspace" name="hspace" value="" onblur="wpImage.updateStyle('hspace')" />
    173197            </td>
    174198        </tr>
     
    176200    </table>
    177201
    178     <h3>Advanced Link Settings</h3>
    179     <table id="adv_settings_img" class="describe"> 
     202    <h3>{#wpeditimage.adv_link_settings}</h3>
     203    <table id="adv_settings_link" class="describe">
    180204        <tbody>
    181205        <tr>
    182206            <th valign="top" scope="row" class="label">
    183207                <label for="link_title">
    184                 <span class="alignleft">Link Title</span>
     208                <span class="alignleft">{#advanced_dlg.link_titlefield}</span>
    185209                </label>
    186210            </th>
     
    193217            <th valign="top" scope="row" class="label">
    194218                <label for="link_rel">
    195                 <span class="alignleft">Link Rel</span>
     219                <span class="alignleft">{#wpeditimage.link_rel}</span>
    196220                </label>
    197221            </th>
     
    203227        <tr>
    204228            <th valign="top" scope="row" class="label">
    205                 <label for="link_rev">
    206                 <span class="alignleft">Link Rev</span>
    207                 </label>
    208             </th>
    209             <td class="field">
    210                 <input type="text" id="link_rev" name="link_rev" value="" size="60" />
    211             </td>
    212         </tr>
    213 
    214         <tr>
    215             <th valign="top" scope="row" class="label">
    216229                <label for="link_classes">
    217                 <span class="alignleft">CSS Class</span>
     230                <span class="alignleft">{#wpeditimage.css}</span>
    218231                </label>
    219232            </th>
     
    226239            <th valign="top" scope="row" class="label">
    227240                <label for="link_style">
    228                 <span class="alignleft">Style</span>
     241                <span class="alignleft">{#advanced.style_select}</span>
    229242                </label>
    230243            </th>
     
    236249        <tr>
    237250            <th valign="top" scope="row" class="label">
     251                <label>
     252                <span class="alignleft">{#advanced_dlg.link_target}</span>
     253                </label>
     254            </th>
     255            <td class="field">
    238256                <label for="link_target">
    239                 <span class="alignleft">Target</span>
    240                 </label>
    241             </th>
    242             <td class="field">
    243                 <input type="text" id="link_target" name="link_target" value="" size="60" />
     257                {#advanced_dlg.link_target_blank}
     258                </label>
     259                <input type="checkbox" id="link_target" name="link_target" value="_blank" />
    244260            </td>
    245261        </tr>
     
    248264
    249265    <div id="saveeditimg">
    250         <input type="hidden" id="border" name="border" value="" />
    251         <input type="hidden" id="hspace" name="hspace" value="" />
    252         <input type="hidden" id="vspace" name="vspace" value="" />
    253266        <input type="hidden" id="align" name="align" value="" />
    254267
Note: See TracChangeset for help on using the changeset viewer.