Show
Ignore:
Timestamp:
02/19/08 03:16:04 (22 months ago)
Author:
takayama
Message:

Fixed BugId:67669
* Fixed a performance issue.

  • Changed to dialog based author selection instead of combo box.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-30/tmpl/cms/include/entry_table.tmpl

    r1260 r1378  
    168168                <td class="author"> 
    169169            <mt:if name="is_editable"> 
    170                     <select name="author_id_<$mt:var name="id"$>"> 
    171                 <mt:unless name="author_id"> 
    172                         <option value=""><__trans phrase="None"></option> 
    173                 </mt:unless> 
    174                 <mt:loop name="row_author_loop"> 
    175                         <option value="<$mt:var name="author_id"$>"<mt:if name="author_is_selected"> selected="selected"</mt:if>><$mt:var name="author_name"$></option> 
    176                 </mt:loop> 
    177                     </select> 
     170                    <input type="hidden" name="author_id_<$mt:var name="id"$>" value="<$mt:var name="row_author_id"$>" id="entry_author_id_<$mt:var name="id"$>"> 
     171                    <a href="javascript:void(0)" onclick="return openDialog(this.form, 'dialog_select_author', 'blog_id=<$mt:var name="blog_id"$>&amp;multi=0&amp;idfield=entry_author_id_<$mt:var name="id"$>&amp;namefield=entry_author_name_<$mt:var name="id"$>')"><span id="entry_author_name_<$mt:var name="id"$>"><$mt:var name="row_author_name"$></span></a> 
    178172            <mt:else> 
    179173                    <$mt:var name="author_name"$>