Changeset 1358:f117338392dc for plugins/pages/page.php
- Timestamp:
- 08/14/13 14:16:36 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pages/page.php
r1346 r1358 315 315 <?php 316 316 317 if (!empty($_GET['upd'])) {318 dcPage::message(__('Page has been successfully updated.'));319 }320 elseif (!empty($_GET['crea'])) {321 dcPage::message(__('Page has been successfully created.'));322 }323 elseif (!empty($_GET['attached'])) {324 dcPage::message(__('File has been successfully attached.'));325 }326 elseif (!empty($_GET['rmattach'])) {327 dcPage::message(__('Attachment has been successfully removed.'));328 }329 330 # XHTML conversion331 if (!empty($_GET['xconv']))332 {333 $post_excerpt = $post_excerpt_xhtml;334 $post_content = $post_content_xhtml;335 $post_format = 'xhtml';336 337 dcPage::message(__('Don\'t forget to validate your XHTML conversion by saving your post.'));338 }339 340 317 if ($post_id) { 341 318 switch ($post_status) { … … 359 336 $edit_entry_title = $page_title; 360 337 } 361 dcPage::breadcrumb(338 echo dcPage::breadcrumb( 362 339 array( 363 340 html::escapeHTML($core->blog->name) => '', … … 365 342 '<span class="page-title">'.$edit_entry_title.'</span>' => '' 366 343 )); 344 345 if (!empty($_GET['upd'])) { 346 dcPage::message(__('Page has been successfully updated.')); 347 } 348 elseif (!empty($_GET['crea'])) { 349 dcPage::message(__('Page has been successfully created.')); 350 } 351 elseif (!empty($_GET['attached'])) { 352 dcPage::message(__('File has been successfully attached.')); 353 } 354 elseif (!empty($_GET['rmattach'])) { 355 dcPage::message(__('Attachment has been successfully removed.')); 356 } 357 358 # XHTML conversion 359 if (!empty($_GET['xconv'])) 360 { 361 $post_excerpt = $post_excerpt_xhtml; 362 $post_content = $post_content_xhtml; 363 $post_format = 'xhtml'; 364 365 dcPage::message(__('Don\'t forget to validate your XHTML conversion by saving your post.')); 366 } 367 367 368 368 if ($post_id && $post->post_status == 1) {
Note: See TracChangeset
for help on using the changeset viewer.