article->publish_up); /** mod by oh-mark: delete: $publish_down =& JFactory::getDate($this->article->publish_down); **/ $publish_up->setOffset($config->getValue('config.offset')); /** mod by oh-mark: delete: $publish_down->setOffset($config->getValue('config.offset')); **/ $publish_up = $publish_up->toFormat(); /** mod by oh-mark: delete: $publish_down = $publish_down->toFormat(); **/ /** mod by oh-mark: following lines added: **/ if (! isset($this->article->publish_down) || $this->article->publish_down == 'Never') { $publish_down = JText::_('Never'); } else { $publish_down =& JFactory::getDate($this->article->publish_down); $publish_down->setOffset($config->getValue('config.offset')); $publish_down = $publish_down->toFormat(); } /** mod by oh-mark: end of adding lines **/ ?> params->get('show_page_title', 1)) : ?>