Changeset 877:e012da998f83 for plugins/pages/page.php
- Timestamp:
- 08/16/12 14:13:27 (13 years ago)
- Branch:
- sexy
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pages/page.php
r854 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'); … … 95 94 $post_dt = date('Y-m-d H:i',strtotime($post->post_dt)); 96 95 $post_format = $post->post_format; 97 $post_password = $post->post_password;98 96 $post_url = $post->post_url; 99 97 $post_lang = $post->post_lang; … … 161 159 $post_open_tb = !empty($_POST['post_open_tb']); 162 160 $post_lang = $_POST['post_lang']; 163 $post_password = !empty($_POST['post_password']) ? $_POST['post_password'] : null;164 161 $post_position = (integer) $_POST['post_position']; 165 162 … … 188 185 $cur->post_dt = $post_dt ? date('Y-m-d H:i:00',strtotime($post_dt)) : ''; 189 186 $cur->post_format = $post_format; 190 $cur->post_password = $post_password;191 187 $cur->post_lang = $post_lang; 192 188 $cur->post_title = $post_title; … … 433 429 form::combo('post_lang',$lang_combo,$post_lang).'</label></p>'. 434 430 435 '<p><label for="post_password">'.__('Page password:').436 form::field('post_password',10,32,html::escapeHTML($post_password),'maximal').437 '</label></p>'.438 439 431 '<div class="lockable">'. 440 432 '<p><label for="post_url">'.__('Basename:').
Note: See TracChangeset
for help on using the changeset viewer.