All pastes #632190 Raw Edit

Zeug

public text v1 · immutable
#632190 ·published 2007-07-24 17:41 UTC
rendered paste body
<?php	// this file is in the public domain

// wird allen URLs vonangestellt
define('SITE_PREFIX', 'http://localhost/~rene/sophia/');

define('CHARSET', 'iso-8859-15');


// Navigationsstruktur

$root_node = array(

'children' => array(
	'startseite' => array(
		'url'		=> 'index.php',
		'label'		=> 'Startseite',
		'title'		=> 'Startseite der Demo'
	),
	'lehrende' => array(
		'url'		=> 'lehrende/uebersicht.php',
		'label'		=> 'Lehrende',
		'title'		=> 'Seite mit den Lehrenden',
		'children'	=> array(
			'uebersicht' => array(
				'url'	=> 'lehrende/uebersicht.php',
				'label'	=> 'Übersicht',
				'title'	=> 'Lehrende'),
			'professuren' => array(
				'url'	=> 'lehrende/professuren.php',
				'label'	=> 'Professuren',
				'title'	=> 'Professuren'),
			'emeriti' => array(
				'url'	=> 'lehrende/emeriti.php',
				'label'	=> 'Emeriti',
				'title'	=> 'Emeriti'),
			'doktoranden' => array(
				'url'	=> 'lehrende/doktor.php',
				'label'	=> 'Doktoranden',
				'title'	=> 'Doktoranden'),
			'ehemalige' => array(
				'url'	=> 'lehrende/ehem_uebersicht.php',
				'label'	=> 'Ehemalige',
				'title'	=> 'Ehemalige')
		)
	),
	'vortraege' => array(
		'url'		=> 'news/uebersicht.php',
		'label'		=> 'Vorträge',
		'title'		=> 'Vorträge',
		'children'	=> array(
			'vuebersicht' => array(
				'url'	=> 'news/uebersicht.php',
				'label'	=> 'Übersicht',
				'title'	=> 'Übersicht Vorträge'),
			'ringvorlesung' => array(
				'url'	=> 'news/ringvorl.php',
				'label'	=> 'Ringvorlesung',
				'title'	=> 'Ringvorlesung'),
			'gastvortraege' => array(
				'url'	=> 'news/gastvortr.php',
				'label'	=> 'Gastvorträge',
				'title'	=> 'Gastvorträge'),
			'rundertisch' => array(
				'url'	=> 'http://basisgruppephilosophie.net/rundertisch',
				'label'	=> 'Runder Tisch',
				'title'	=> 'Runder Tisch'),
			'gpk' => array(
				'url'	=> 'news/goephilkoll.php',
				'label'	=> 'Göttinger Philosophisches Kolloquium',
				'title'	=> 'Göttinger Philosophisches Kolloquium'),
			'mittelbaukolloquium' => array(
				'url'	=> 'news/mittelbaukoll.php',
				'label'	=> 'Mittelbaukolloquium',
				'title'	=> 'Mittelbaukolloquium'),
			'archiv' => array(
				'url'	=> 'news/archiv.php',
				'label'	=> 'Archiv',
				'title'	=> 'Archiv')
		)

	),
	'kommentare' => array(
		'url'	=> 'vorlesungskommentare',
		'label'	=> 'Vorlesungskommentare',
		'title'	=> 'Vorlesungskommentare'
	)
),
'groups'	=> array(
	'group1' => array('startseite', 'lehrende', 'vortraege'),
	'group2' => array('vortraege', 'lehrende')
),
'group_labels'	=> array(
	'group1' => 'Hauptkram',
	'group2' => 'Unterkram'
)

);


// Navigations-Templates

$head_link_template = array(
	'prefix'	=> '',
	'postfix'	=> '',
	'separator'	=> '',
	'start'		=> '',
	'end'		=> '',
	'next'		=>
		'<link rel="next" href="'.SITE_PREFIX.'%1$s" title="%2$s">',
	'prev'		=>
		'<link rel="prev" href="'.SITE_PREFIX.'%1$s" title="%2$s">',
	'html_encode'	=> CHARSET
);

$navigation_template = array(
	'prefix'	=> '<p>',
	'postfix'	=> '</p>',
	'separator'	=> '&nbsp;&middot; ',
	'next'		=> '<a href="'.
		SITE_PREFIX.'%1$s" title="%2$s">Weiter&nbsp;&gt;&gt;</a>',
	'prev'		=> '<a href="'.
		SITE_PREFIX.'%1$s" title="%2$s">&lt;&lt;&nbsp;Zurück</a>',
	'start'		=> '<a href="'.
		SITE_PREFIX.'%1$s" title="%2$s">Erste Seite</a>',
	'end'		=> '<a href="'.
		SITE_PREFIX.'%1$s" title="%2$s">Letzte Seite</a>',
	'html_encode'	=> CHARSET
);

// Pfad-Templates

$path_info_template = array(
	'prefix'	=> '',
	'postfix'	=> '',
	'separator'	=> '&nbsp;&gt; ',
	'item'		=> '',
	'parent_item'	=> '%3$s',
	'current_item'	=> '%3$s',
	'html_encode'	=> CHARSET
);

$path_navigation_template = array(
	'prefix'	=> '',
	'postfix'	=> '',
	'separator'	=> '&nbsp;&gt; ',
	'item'		=> '',
	'parent_item'	=> '<a href="'.SITE_PREFIX.'%1$s">%3$s</a>',
	'current_item'	=> '%3$s',
	'html_encode'	=> CHARSET
);

// Menü-Templates

$menu_template = array(
	'prefix'	=> '<ul class="menu">',
	'postfix'	=> '</ul>',

	'group_prefix'	=> '<h5>%1$s</h5><ul class="menu">',
	'group_postfix'	=> '</ul>',
	'group_separator' => '<hr>',

	'separator'	=> '',
	'item'		=> '<li class="menu_item"><a href="'.
		SITE_PREFIX.'%1$s" title="%2$s">%3$s</a></li>',
	'parent_item'	=> '<li class="parent_menu_item"><a href="'.
		SITE_PREFIX.'%1$s" title="%2$s">%3$s</a></li>',
	'current_item'	=> '<li class="current_menu_item">%3$s</li>',
	'html_encode'	=> CHARSET
);

$menubar_template = array(
	'prefix'	=> '<div class="bar">',
	'postfix'	=> '</div>',
	'separator'	=> '&nbsp;&middot; ',
	'item'		=> '<a href="'.
		SITE_PREFIX.'%1$s" title="%2$s">%3$s</a>',
	'parent_item'	=> '<strong><a href="'.
		SITE_PREFIX.'%1$s" title="%2$s">%3$s</a></strong>',
	'current_item'	=> '<strong>%3$s</strong>',
	'html_encode'	=> CHARSET
);

$list_template = array(
	'prefix'	=> '<ul>',
	'postfix'	=> '</ul>',
	'separator'	=> '',
	'item'		=> '<li><a href="'.
		SITE_PREFIX.'%1$s" title="%2$s">%3$s</a></li>',
	'parent_item'	=> '<li><a href="'.
		SITE_PREFIX.'%1$s" title="%2$s">%3$s</a></li>',
	'current_item'	=> '<li><strong>%3$s</strong></li>',
	'html_encode'	=> CHARSET
);

?>