In the edit image modal, move Title to the advanced section and move Caption above Alt.

Props nacin
fixes #22646


git-svn-id: https://develop.svn.wordpress.org/trunk@22942 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2012-11-30 04:09:17 +00:00
parent d34177f831
commit e746a5dbb5
1 changed files with 15 additions and 15 deletions

View File

@ -73,14 +73,14 @@ if ( 'rtl' == tinyMCEPopup.editor.getParam('directionality','') )
</td> </td>
</tr> </tr>
<tr> <tr id="cap_field">
<th valign="top" scope="row" class="label"> <th valign="top" scope="row" class="label">
<label for="img_title"> <label for="img_cap">
<span class="alignleft">{#wpeditimage.img_title}</span> <span class="alignleft">{#wpeditimage.caption}</span>
</label> </label>
</th> </th>
<td class="field"> <td class="field">
<input type="text" id="img_title" name="img_title" value="" aria-required="true" size="60" /> <textarea id="img_cap_text"></textarea>
</td> </td>
</tr> </tr>
@ -95,17 +95,6 @@ if ( 'rtl' == tinyMCEPopup.editor.getParam('directionality','') )
</td> </td>
</tr> </tr>
<tr id="cap_field">
<th valign="top" scope="row" class="label">
<label for="img_cap">
<span class="alignleft">{#wpeditimage.caption}</span>
</label>
</th>
<td class="field">
<textarea id="img_cap_text"></textarea>
</td>
</tr>
<tr> <tr>
<th valign="top" scope="row" class="label"> <th valign="top" scope="row" class="label">
<label for="link_href"> <label for="link_href">
@ -156,6 +145,17 @@ if ( 'rtl' == tinyMCEPopup.editor.getParam('directionality','') )
</td> </td>
</tr> </tr>
<tr>
<th valign="top" scope="row" class="label">
<label for="img_title">
<span class="alignleft">{#wpeditimage.img_title}</span>
</label>
</th>
<td class="field">
<input type="text" id="img_title" name="img_title" value="" aria-required="true" size="60" />
</td>
</tr>
<tr> <tr>
<th valign="top" scope="row" class="label"> <th valign="top" scope="row" class="label">
<label for="img_classes"> <label for="img_classes">