1
0
mirror of https://github.com/php/web-php.git synced 2026-04-01 04:02:10 +02:00
Files
archived-web-php/conferences/index.php
Hannes Magnusson e33d3df629 - Simplify the "news system"
- Initial implementation of the hAtom microformat
2008-03-18 14:26:30 +00:00

31 lines
949 B
PHP

<?php
// $Id$
$_SERVER['BASE_PAGE'] = 'conferences/index.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/pregen-events.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/pregen-news.inc';
$layout_workaround = <<< EOT
<div id="conferencesSidebar">
<div id="contact">
<p>
Are you planning a PHP related conference and want it listed here?
<a href="/contact">Let us know.</a>
</p>
</div>
$RSIDEBAR_DATA
</div>
EOT;
unset($RSIDEBAR_DATA);
site_header("PHP Conferences around the world", array("layout_workaround" => $layout_workaround, 'headtags' => '<link rel="alternate" type="application/atom+xml" title="PHP: Conference announcements" href="' . $MYSITE . 'feed.atom" />'));
print_news($NEWS_ENTRIES, array("conferences", "cfp"), 10);
site_footer(
array("atom" => "/feed.atom") // Add a link to the feed
);