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

Props nacin
fixes #22646


git-svn-id: http://core.svn.wordpress.org/trunk@22942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren 2012-11-30 04:09:17 +00:00
parent 07dd314521
commit c9cf1508a6
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">