1
I don't know if this is a bug, an installation problem, or something I corrupted somehow.
When you edit a news item, the edit news item page is rendered correctly EXCEPT extreme bottom of the page - the footer - the following is rendered. It looks like smarty template content.
Debug is definitely not on. I've tried it with the default template set and theme, no change.
Quote:
{ if ( !empty( $movetotop ) ) { $story -> setPublished( time() ); } } if ( !empty( $autoexpdate ) ) { $expdate = mktime( $autoexphour, $autoexpmin, 0, $autoexpmonth, $autoexpday, $autoexpyear ); $offset = $xoopsUser -> timezone() - $xoopsConfig['server_TZ']; $expdate = $expdate - ( $offset * 3600 ); $story -> setExpired( $expdate ); } } $story -> setApproved( $approve ); $story -> setTopicId( $topicid ); $story -> setTitle( $title ); $story -> setHometext( $hometext ); $story -> setBodytext( $bodytext ); $nohtml = ( empty( $nohtml ) ) ? 0 : 1; $nosmiley = ( empty( $nosmiley ) ) ? 0 : 1; $story -> setNohtml( $nohtml ); $story -> setNosmiley( $nosmiley ); $story -> setIhome( $ihome ); $story -> setTopicalign( $topicalign ); $story -> setTopicdisplay( $topicdisplay ); $story -> store(); $notification_handler = & xoops_gethandler( 'notification' ); $tags = array(); $tags['STORY_NAME'] = $story -> title(); $tags['STORY_URL'] = XOOPS_URL . '/modules/' . $xoopsModule -> getVar( 'dirname' ) . '/article.php?storyid=' . $story -> storyid(); if ( !empty( $isnew ) ) { $notification_handler -> triggerEvent( 'story', $story -> storyid(), 'approve', $tags ); } $notification_handler -> triggerEvent( 'global', 0, 'new_story', $tags ); /* $poster = new XoopsUser($story->uid()); $subject = _AM_ARTPUBLISHED; $message = sprintf(_AM_HELLO,$poster->uname()); $message .= "\n\n"._AM_YOURARTPUB."\n\n"; $message .= _AM_TITLEC.$story->title()."\n"._AM_URLC.XOOPS_URL."/modules/".$xoopsModule->dirname()."/article.php?storyid=".$story->storyid()."\n"._AM_PUBLISHEDC.formatTimestamp($story->published(),"m",0)."\n\n"; $message .= $xoopsConfig['sitename']."\n".XOOPS_URL.""; $xoopsMailer =& getMailer(); $xoopsMailer->useMail(); $xoopsMailer->setToEmails($poster->getVar("email")); $xoopsMailer->setFromEmail($xoopsConfig['adminmail']); $xoopsMailer->setFromName($xoopsConfig['sitename']); $xoopsMailer->setSubject($subject); $xoopsMailer->setBody($message); $xoopsMailer->send(); } */ redirect_header( 'index.php?op=newarticle', 1, _AM_DBUPDATED ); exit(); break; case "delete": if ( !empty( $ok ) ) { if ( empty( $storyid ) ) { redirect_header( 'index.php?op=newarticle', 2, _AM_EMPTYNODELETE ); exit(); } $story = new NewsStory( $storyid ); $story -> delete(); xoops_comment_delete( $xoopsModule -> getVar( 'mid' ), $storyid ); xoops_notification_deletebyitem( $xoopsModule -> getVar( 'mid' ), 'story', $storyid ); redirect_header( 'index.php?op=newarticle', 1, _AM_DBUPDATED ); exit(); } else { xoops_cp_header(); echo "
" . _AM_CONFIG . "
"; xoops_confirm( array( 'op' => 'delete', 'storyid' => $storyid, 'ok' => 1 ), 'index.php', _AM_RUSUREDEL ); } break; case "topicsmanager": topicsmanager(); break; case "addTopic": addTopic(); break; case "delTopic": delTopic(); break; case "modTopic": modTopic(); break; case "modTopicS": modTopicS(); break; case "default": default: xoops_cp_header(); echo "
" . _AM_CONFIG . "
"; echo""; echo " -
"; break; } xoops_cp_footer(); ?> _PEARTICLES . "\n"; echo""; break; } xoops_cp_footer(); ?>
What this is I have no idea. I have not seen this on any other page.
Thanks, SS