Dotclear

Changeset 877:e012da998f83 for admin


Ignore:
Timestamp:
08/16/12 14:13:27 (13 years ago)
Author:
Dsls <dsls@…>
Branch:
sexy
Message:

Entries passwords will be a dedicated plugin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/post.php

    r873 r877  
    1818$post_dt = ''; 
    1919$post_format = $core->auth->getOption('post_format'); 
    20 $post_password = ''; 
    2120$post_url = ''; 
    2221$post_lang = $core->auth->getInfo('user_lang'); 
     
    9089          $post_dt = date('Y-m-d H:i',strtotime($post->post_dt)); 
    9190          $post_format = $post->post_format; 
    92           $post_password = $post->post_password; 
    9391          $post_url = $post->post_url; 
    9492          $post_lang = $post->post_lang; 
     
    149147     $post_selected = !empty($_POST['post_selected']); 
    150148     $post_lang = $_POST['post_lang']; 
    151      $post_password = !empty($_POST['post_password']) ? $_POST['post_password'] : null; 
    152149      
    153150     $post_notes = $_POST['post_notes']; 
     
    171168     $cur->post_dt = $post_dt ? date('Y-m-d H:i:00',strtotime($post_dt)) : ''; 
    172169     $cur->post_format = $post_format; 
    173      $cur->post_password = $post_password; 
    174170     $cur->post_lang = $post_lang; 
    175171     $cur->post_title = $post_title; 
     
    389385     '</label></p>'. 
    390386      
    391      '<p><label for="post_password">'.__('Entry password:'). 
    392      form::field('post_password',10,32,html::escapeHTML($post_password),'maximal'). 
    393      '</label></p>'. 
    394       
    395387     '<div class="lockable">'. 
    396388     '<p><label for="post_url">'.__('Basename:'). 
Note: See TracChangeset for help on using the changeset viewer.

Sites map