Changeset 184:ee7a4e3537c7
- Timestamp:
- 05/06/11 17:15:22 (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pages/page.php
r91 r184 26 26 $post_content = ''; 27 27 $post_content_xhtml = ''; 28 $post_notes = ''; 28 29 $post_status = $core->auth->getInfo('user_post_status'); 29 30 $post_position = 0; … … 102 103 $post_content = $post->post_content; 103 104 $post_content_xhtml = $post->post_content_xhtml; 105 $post_notes = $post->post_notes; 104 106 $post_status = $post->post_status; 105 107 $post_position = (integer) $post->post_position; … … 162 164 $post_position = (integer) $_POST['post_position']; 163 165 166 $post_notes = $_POST['post_notes']; 167 164 168 if (isset($_POST['post_url'])) { 165 169 $post_url = $_POST['post_url']; … … 191 195 $cur->post_content = $post_content; 192 196 $cur->post_content_xhtml = $post_content_xhtml; 197 $cur->post_notes = $post_notes; 193 198 $cur->post_status = $post_status; 194 199 $cur->post_position = $post_position; … … 454 459 '</p>'; 455 460 461 echo 462 '<p class="area" id="notes-area"><label for="post_notes">'.__('Notes:').'</label>'. 463 form::textarea('post_notes',50,5,html::escapeHTML($post_notes),'',2). 464 '</p>'; 465 456 466 # --BEHAVIOR-- adminPageForm 457 467 $core->callBehavior('adminPageForm',isset($post) ? $post : null);
Note: See TracChangeset
for help on using the changeset viewer.