Loading 404.php 0 → 100644 +27 −0 Original line number Diff line number Diff line <?php /* Theme: Fachschaft Computerlinguistik 404 Template File */ get_header(); ?> <!-- content --> <div class="post-container"> <div class="post-header"> </div> <div class="post-title"> <h1 class="post-title-box">Error: 404</h1> </div> <div class="post-content" style="text-align:center;"> <div style="display:inline-block;margin:0.25em;vertical-align:middle;font-size:10em;"> ?! </div> <div style="display:inline-block;vertical-align:middle;"> Die angefragte Seite existiert leider nicht. </div> </div> <div class="post-meta"> </div> </div> <?php get_footer(); ?> footer.php 0 → 100644 +19 −0 Original line number Diff line number Diff line <?php /* Theme: Fachschaft Computerlinguistik Footer Template File */ get_header(); ?> <!-- footer --> <div id="footer"> <div style="padding:1em;"> <a href="<?php echo home_url()."/legal/#impressum"; ?>">Impressum</a> | <a href="<?php echo home_url()."/legal/#rechtliches"; ?>">Rechtliches</a> <span style="float:right">© Fachschaft Computerlinguistik, Heidelberg</span> </div> </div> <?php wp_footer(); ?> </body> </html> functions.php 0 → 100644 +78 −0 Original line number Diff line number Diff line <?php /* Theme: Fachschaft Computerlinguistik IFunctions File */ // add support for theme functions // - add support for post thumbnails add_theme_support('post-thumbnails'); // - add support for custom menus add_theme_support('menus'); // - add support for header image add_theme_support('custom-header', array('default-image'=>get_template_directory_uri().'/img/header.jpg', 'uploads'=>true)); function register_my_menu() { register_nav_menu('new-menu',__( 'New Menu' )); } add_action( 'init', 'register_my_menu' ); // add filters for theme // -add custom file types function fscoli_mime_types($mime_types){ $mime_types['tex'] = 'application/x-tex'; //LaTeX files return $mime_types; } add_filter('upload_mimes', 'fscoli_mime_types', 1, 1); // - add custom colors add_filter('tiny_mce_before_init', 'fscoli_mce4_options'); function fscoli_mce4_options( $init ) { $default_colours = ' "000000", "Black", "993300", "Burnt orange", "333300", "Dark olive", "003300", "Dark green", "003366", "Dark azure", "000080", "Navy Blue", "333399", "Indigo", "333333", "Very dark gray", "800000", "Maroon", "FF6600", "Orange", "808000", "Olive", "008000", "Green", "008080", "Teal", "0000FF", "Blue", "666699", "Grayish blue", "808080", "Gray", "FF0000", "Red", "FF9900", "Amber", "99CC00", "Yellow green", "339966", "Sea green", "33CCCC", "Turquoise", "3366FF", "Royal blue", "800080", "Purple", "999999", "Medium gray", "FF00FF", "Magenta", "FFCC00", "Gold", "FFFF00", "Yellow", "00FF00", "Lime", "00FFFF", "Aqua", "00CCFF", "Sky blue", "993366", "Brown", "C0C0C0", "Silver", "FF99CC", "Pink", "FFCC99", "Peach", "FFFF99", "Light yellow", "CCFFCC", "Pale green", "CCFFFF", "Pale cyan", "99CCFF", "Light sky blue", "CC99FF", "Plum", "FFFFFF", "White" '; $custom_colours = ' "990000", "fscoli dark red" '; $init['textcolor_map'] = '['.$default_colours.','.$custom_colours.']'; $init['textcolor_rows'] = 6; return $init; } ?> header.php 0 → 100644 +39 −0 Original line number Diff line number Diff line <?php /* Theme: Fachschaft Computerlinguistik Header Template File */ get_header(); ?> <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo('charset'); ?>"/> <title> <?php if ( is_front_page() ) { bloginfo('name'); } elseif (is_home()) { echo 'Blog | '.get_bloginfo('name'); } else { echo get_the_title($post->ID).' | '.get_bloginfo('name'); } ?></title> <link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri();?>" /> <link rel="shortcut icon" href="<?php echo get_template_directory_uri();?>/img/favicon.png" /> <link rel="alternate" type="application/rss+xml" title="fscoli blog" href="<?php bloginfo('rss2_url'); ?>" /> <meta name="copyright" content="Fachschaft Computerlinguistik"> <meta name="description" content="<?php bloginfo('description');?>" /> <?php wp_head(); ?> </head> <body> <div id="top"> <a href="<?php echo home_url();?>" style="border:none;"><div class="logo"></div></a> <nav id="menu-container"> <?php wp_nav_menu( array('container'=>'false', 'container-id'=>'menu-container', 'sort_column'=>'menu_order')); ?> </nav> </div> <div id="top-padding"> </div> img/dropdown.png 0 → 100644 +1.4 KiB Loading image diff... Loading
404.php 0 → 100644 +27 −0 Original line number Diff line number Diff line <?php /* Theme: Fachschaft Computerlinguistik 404 Template File */ get_header(); ?> <!-- content --> <div class="post-container"> <div class="post-header"> </div> <div class="post-title"> <h1 class="post-title-box">Error: 404</h1> </div> <div class="post-content" style="text-align:center;"> <div style="display:inline-block;margin:0.25em;vertical-align:middle;font-size:10em;"> ?! </div> <div style="display:inline-block;vertical-align:middle;"> Die angefragte Seite existiert leider nicht. </div> </div> <div class="post-meta"> </div> </div> <?php get_footer(); ?>
footer.php 0 → 100644 +19 −0 Original line number Diff line number Diff line <?php /* Theme: Fachschaft Computerlinguistik Footer Template File */ get_header(); ?> <!-- footer --> <div id="footer"> <div style="padding:1em;"> <a href="<?php echo home_url()."/legal/#impressum"; ?>">Impressum</a> | <a href="<?php echo home_url()."/legal/#rechtliches"; ?>">Rechtliches</a> <span style="float:right">© Fachschaft Computerlinguistik, Heidelberg</span> </div> </div> <?php wp_footer(); ?> </body> </html>
functions.php 0 → 100644 +78 −0 Original line number Diff line number Diff line <?php /* Theme: Fachschaft Computerlinguistik IFunctions File */ // add support for theme functions // - add support for post thumbnails add_theme_support('post-thumbnails'); // - add support for custom menus add_theme_support('menus'); // - add support for header image add_theme_support('custom-header', array('default-image'=>get_template_directory_uri().'/img/header.jpg', 'uploads'=>true)); function register_my_menu() { register_nav_menu('new-menu',__( 'New Menu' )); } add_action( 'init', 'register_my_menu' ); // add filters for theme // -add custom file types function fscoli_mime_types($mime_types){ $mime_types['tex'] = 'application/x-tex'; //LaTeX files return $mime_types; } add_filter('upload_mimes', 'fscoli_mime_types', 1, 1); // - add custom colors add_filter('tiny_mce_before_init', 'fscoli_mce4_options'); function fscoli_mce4_options( $init ) { $default_colours = ' "000000", "Black", "993300", "Burnt orange", "333300", "Dark olive", "003300", "Dark green", "003366", "Dark azure", "000080", "Navy Blue", "333399", "Indigo", "333333", "Very dark gray", "800000", "Maroon", "FF6600", "Orange", "808000", "Olive", "008000", "Green", "008080", "Teal", "0000FF", "Blue", "666699", "Grayish blue", "808080", "Gray", "FF0000", "Red", "FF9900", "Amber", "99CC00", "Yellow green", "339966", "Sea green", "33CCCC", "Turquoise", "3366FF", "Royal blue", "800080", "Purple", "999999", "Medium gray", "FF00FF", "Magenta", "FFCC00", "Gold", "FFFF00", "Yellow", "00FF00", "Lime", "00FFFF", "Aqua", "00CCFF", "Sky blue", "993366", "Brown", "C0C0C0", "Silver", "FF99CC", "Pink", "FFCC99", "Peach", "FFFF99", "Light yellow", "CCFFCC", "Pale green", "CCFFFF", "Pale cyan", "99CCFF", "Light sky blue", "CC99FF", "Plum", "FFFFFF", "White" '; $custom_colours = ' "990000", "fscoli dark red" '; $init['textcolor_map'] = '['.$default_colours.','.$custom_colours.']'; $init['textcolor_rows'] = 6; return $init; } ?>
header.php 0 → 100644 +39 −0 Original line number Diff line number Diff line <?php /* Theme: Fachschaft Computerlinguistik Header Template File */ get_header(); ?> <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo('charset'); ?>"/> <title> <?php if ( is_front_page() ) { bloginfo('name'); } elseif (is_home()) { echo 'Blog | '.get_bloginfo('name'); } else { echo get_the_title($post->ID).' | '.get_bloginfo('name'); } ?></title> <link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri();?>" /> <link rel="shortcut icon" href="<?php echo get_template_directory_uri();?>/img/favicon.png" /> <link rel="alternate" type="application/rss+xml" title="fscoli blog" href="<?php bloginfo('rss2_url'); ?>" /> <meta name="copyright" content="Fachschaft Computerlinguistik"> <meta name="description" content="<?php bloginfo('description');?>" /> <?php wp_head(); ?> </head> <body> <div id="top"> <a href="<?php echo home_url();?>" style="border:none;"><div class="logo"></div></a> <nav id="menu-container"> <?php wp_nav_menu( array('container'=>'false', 'container-id'=>'menu-container', 'sort_column'=>'menu_order')); ?> </nav> </div> <div id="top-padding"> </div>