Dotclear

Changeset 3550:8ba8214553a2


Ignore:
Timestamp:
06/30/17 16:04:03 (8 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Children:
3551:e22eab0d16b1, 3569:023a33f84af7
Message:

Add post-type to some behaviors' calls, closes #1826

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/post.php

    r3491 r3550  
    460460 
    461461     # --BEHAVIOR-- adminPostNavLinks 
    462      $core->callBehavior('adminPostNavLinks',isset($post) ? $post : null); 
     462     $core->callBehavior('adminPostNavLinks',isset($post) ? $post : null,'post'); 
    463463 
    464464     echo '</p>'; 
     
    673673 
    674674     # --BEHAVIOR-- adminPostFormItems 
    675      $core->callBehavior('adminPostFormItems',$main_items,$sidebar_items, isset($post) ? $post : null); 
     675     $core->callBehavior('adminPostFormItems',$main_items,$sidebar_items,isset($post) ? $post : null,'post'); 
    676676 
    677677     echo '<div class="multi-part" title="'.($post_id ? __('Edit entry') : __('New entry')). 
     
    688688 
    689689     # --BEHAVIOR-- adminPostForm (may be deprecated) 
    690      $core->callBehavior('adminPostForm',isset($post) ? $post : null); 
     690     $core->callBehavior('adminPostForm',isset($post) ? $post : null,'post'); 
    691691 
    692692     echo 
     
    727727 
    728728     # --BEHAVIOR-- adminPostFormSidebar (may be deprecated) 
    729      $core->callBehavior('adminPostFormSidebar',isset($post) ? $post : null); 
     729     $core->callBehavior('adminPostFormSidebar',isset($post) ? $post : null,'post'); 
    730730     echo '</div>';      // End #entry-sidebar 
    731731 
     
    733733 
    734734     # --BEHAVIOR-- adminPostForm 
    735      $core->callBehavior('adminPostAfterForm',isset($post) ? $post : null); 
     735     $core->callBehavior('adminPostAfterForm',isset($post) ? $post : null,'post'); 
    736736 
    737737     echo '</div>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map