/** * Display the copyright notice and close the HTML page. */ function camp_html_copyright_notice($p_displayBorder = true) { global $Campsite; $campVersion = new CampVersion(); if ($p_displayBorder) { ?> <div class="footer"> <?php } else { ?> <div class="footer_plain"> <?php } ?> <a href="http://newscoop.sourcefabric.org/" target="_blank"> <?php echo $campVersion->getPackage(); ?> </a>, the open content management system for professional journalists. <br /> <?php echo $campVersion->getCopyright() . ' '; echo $campVersion->getPackage(); ?> is distributed under <?php echo $campVersion->getLicense(); ?> </div> <?php }
public function helpAction() { $newscoop = new CampVersion(); $this->view->version = $newscoop->getVersion(); $this->view->api_version = Version::API_VERSION; $this->view->date = $newscoop->getReleaseDate(); }
/** * */ public function dispatch($p_step) { if (array_key_exists($p_step, $this->m_steps)) { $this->m_step = $p_step; } else { $this->m_step = $this->m_defaultStep; } $cVersion = new CampVersion(); $this->m_title = $cVersion->getPackage() . ' ' . $cVersion->getRelease(); $this->m_title .= strlen($cVersion->getDevelopmentStatus()) > 0 ? '-' . $cVersion->getDevelopmentStatus() : ''; $this->m_title .= strlen($cVersion->getCodeName()) > 0 && $cVersion->getCodeName() != 'undefined' ? ' [ ' . $cVersion->getCodeName() . ' ]' : ''; $this->m_title .= ' Installer'; }
public function helpAction() { $newscoop = new CampVersion(); $this->view->version = $newscoop->getVersion(); $this->view->date = $newscoop->getReleaseDate(); }
$Campsite['TEMPLATE_DIRECTORY'] = $Campsite['HTML_DIR']."/templates"; $Campsite['TEMPLATE_BASE_URL'] = $Campsite['WEBSITE_URL']."/templates"; $Campsite['IMAGE_DIRECTORY'] = $Campsite['HTML_DIR'].'/images/'; $Campsite['IMAGE_BASE_URL'] = $Campsite['WEBSITE_URL'].'/images/'; $Campsite['ADMIN_STYLE_URL'] = $Campsite['WEBSITE_URL'].'/admin-style'; $Campsite['ADMIN_IMAGE_BASE_URL'] = $Campsite['WEBSITE_URL'].'/admin-style/images'; $Campsite['IMAGE_PREFIX'] = 'cms-image-'; $Campsite['IMAGEMAGICK_INSTALLED'] = true; $Campsite['THUMBNAIL_MAX_SIZE'] = 64; $Campsite['THUMBNAIL_COMMAND'] = 'convert -sample ' .$Campsite['THUMBNAIL_MAX_SIZE'].'x'.$Campsite['THUMBNAIL_MAX_SIZE']; $Campsite['THUMBNAIL_DIRECTORY'] = $Campsite['IMAGE_DIRECTORY'].'/thumbnails/'; $Campsite['THUMBNAIL_BASE_URL'] = $Campsite['WEBSITE_URL'].'/images/thumbnails/'; $Campsite['THUMBNAIL_PREFIX'] = 'cms-thumb-'; $Campsite['FILE_BASE_URL'] = $Campsite['WEBSITE_URL'].'/files/'; $Campsite['FILE_DIRECTORY'] = $Campsite['HTML_DIR'].'/files'; $Campsite['FILE_NUM_DIRS_LEVEL_1'] = "1000"; $Campsite['FILE_NUM_DIRS_LEVEL_2'] = "1000"; $Campsite['TMP_DIRECTORY'] = '/tmp/'; $Campsite['HELP_URL'] = 'http://www.sourcefabric.org/en/products/newscoop_support/'; $Campsite['ABOUT_URL'] = 'http://www.sourcefabric.org/en/about/page/'; $Campsite['SUPPORT_EMAIL'] = '*****@*****.**'; $Campsite['DEBUG'] = true; require_once($Campsite['CAMPSITE_DIR'].'/template_engine/classes/CampVersion.php'); $version = new CampVersion(); $Campsite['VERSION'] = $version->getVersion(); ?>