Changeset 877:e012da998f83 for admin
- Timestamp:
- 08/16/12 14:13:27 (13 years ago)
- Branch:
- sexy
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/post.php
r873 r877 18 18 $post_dt = ''; 19 19 $post_format = $core->auth->getOption('post_format'); 20 $post_password = '';21 20 $post_url = ''; 22 21 $post_lang = $core->auth->getInfo('user_lang'); … … 90 89 $post_dt = date('Y-m-d H:i',strtotime($post->post_dt)); 91 90 $post_format = $post->post_format; 92 $post_password = $post->post_password;93 91 $post_url = $post->post_url; 94 92 $post_lang = $post->post_lang; … … 149 147 $post_selected = !empty($_POST['post_selected']); 150 148 $post_lang = $_POST['post_lang']; 151 $post_password = !empty($_POST['post_password']) ? $_POST['post_password'] : null;152 149 153 150 $post_notes = $_POST['post_notes']; … … 171 168 $cur->post_dt = $post_dt ? date('Y-m-d H:i:00',strtotime($post_dt)) : ''; 172 169 $cur->post_format = $post_format; 173 $cur->post_password = $post_password;174 170 $cur->post_lang = $post_lang; 175 171 $cur->post_title = $post_title; … … 389 385 '</label></p>'. 390 386 391 '<p><label for="post_password">'.__('Entry password:').392 form::field('post_password',10,32,html::escapeHTML($post_password),'maximal').393 '</label></p>'.394 395 387 '<div class="lockable">'. 396 388 '<p><label for="post_url">'.__('Basename:').
Note: See TracChangeset
for help on using the changeset viewer.