+++ /dev/null
-<?php # $Id: serendipity_plugin_shoutbox.php 7 2005-04-16 06:39:31Z s_bergmann $
-
-/* Contributed by Matthias Lange (http://blog.dinnri.de/ml/) */
-
-// Probe for a language include with constants. Still include defines later on, if some constants were missing
-$probelang = dirname(__FILE__) . '/lang_' . $serendipity['lang'] . '.inc.php';
-if (file_exists($probelang)) {
- include $probelang;
-}
-
-switch ($serendipity['lang']) {
- case 'en':
- default:
- @define('PLUGIN_SGN_NAV_NAME', 'she.geek.nz');
- @define('PLUGIN_SGN_NAV_BLAHBLAH', 'She.geek.nz related links');
- break;
-}
-
-class serendipity_plugin_sgn_nav extends serendipity_plugin
-{
- var $title = PLUGIN_SGN_NAV_NAME;
-
- function introspect(&$propbag)
- {
- global $serendipity;
-
- $propbag->add('name', PLUGIN_SGN_NAV_NAME);
- $propbag->add('description', PLUGIN_SGN_NAV_BLAHBLAH);
- $propbag->add('stackable', false);
- $propbag->add('author', 'Penny Leach');
- $propbag->add('version', '1.0');
- $propbag->add('requirements', array(
- 'serendipity' => '0.8',
- 'smarty' => '2.6.7',
- 'php' => '4.1.0'
- ));
-
- }
-
- function generate_content(&$title)
- {
- global $serendipity;
-
- $title = $this->title;
-
- echo '<p>This is a website about me. I am just this girl, who lives in Wellington, '
- .'works on open source web stuff, and drinks too much.</p>'
- .'<p>I write mundane crap about things I do. If you\'re interested in things '
- .'about me in list format, <a href="'.$serendipity['baseURL'].'about">go here</a>. '
- .'You can also <a href="mailto:penny@she.geek.nz">send me email</a>, '
- .'<a href="'.$serendipity['baseURL'].'">check out the gallery</a>, or '
- .'<a href="'.$serendipity['baseURL'].'feeds/index.rss2">subscribe to my rss feed</a>. '
- .'My gpg key id is 0xA30EC22B</p>'
- .'<p>I give thumbs up to: <a href="http://exorsus.net">exorsus.net</a> for hosting '
- .'my sorry ass, and <a href="http://s9y.org">serendipity</a> for writing such fine '
- .'blog software and allowing me to hack it to pieces.</p>';
- }
-}
-
-/* vim: set sts=4 ts=4 expandtab : */
-?>