Skip to content

Commit

Permalink
Add standard Rural Theme to Add-ons
Browse files Browse the repository at this point in the history
  • Loading branch information
jon48 committed Jan 26, 2014
0 parents commit ed8e78e
Show file tree
Hide file tree
Showing 157 changed files with 1,893 additions and 0 deletions.
Binary file added css-1.5.1/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/add.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/admin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/bing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/block_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/block_small_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/addmedia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/addnote.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/addrepository.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/addsource.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/calendar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/family.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/find_facts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/head.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/indi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/keyboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/media.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/note.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/place.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/repository.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/source.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/buttons/target.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/childless.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/children.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css-1.5.1/images/clippings.png
Binary file added css-1.5.1/images/controls.png
Binary file added css-1.5.1/images/controls.psd
Diff not rendered.
Binary file added css-1.5.1/images/darrow.png
Binary file added css-1.5.1/images/darrow2.png
Binary file added css-1.5.1/images/ddarrow.png
Binary file added css-1.5.1/images/ddarrow2.png
Binary file added css-1.5.1/images/divider.png
Binary file added css-1.5.1/images/dline.png
Binary file added css-1.5.1/images/dline2.png
Binary file added css-1.5.1/images/edit_indi.png
Binary file added css-1.5.1/images/email.png
Binary file added css-1.5.1/images/family.png
Binary file added css-1.5.1/images/footer_bg_left.png
Binary file added css-1.5.1/images/footer_bg_right.png
Binary file added css-1.5.1/images/general_sprite.png
Binary file added css-1.5.1/images/general_sprite.psd
Diff not rendered.
Binary file added css-1.5.1/images/googlemaps.png
Binary file added css-1.5.1/images/header.png
Binary file added css-1.5.1/images/help2.png
Binary file added css-1.5.1/images/hline.png
Binary file added css-1.5.1/images/home.png
Binary file added css-1.5.1/images/icon-mime-sprite.png
Binary file added css-1.5.1/images/image_edit.png
Binary file added css-1.5.1/images/image_link.png
Binary file added css-1.5.1/images/image_view.png
Binary file added css-1.5.1/images/indi_header.png
Binary file added css-1.5.1/images/indicator.gif
Binary file added css-1.5.1/images/indis.png
Binary file added css-1.5.1/images/jq-ui-bg_d3c6b8_1x400.png
Binary file added css-1.5.1/images/jq-ui-bg_d3c6b8_1x400.psd
Diff not rendered.
Binary file added css-1.5.1/images/large_menu_sprite.png
Binary file added css-1.5.1/images/large_menu_sprite.psd
Diff not rendered.
Binary file added css-1.5.1/images/larrow.png
Binary file added css-1.5.1/images/larrow2.png
Binary file added css-1.5.1/images/ldarrow.png
Binary file added css-1.5.1/images/ldarrow2.png
Binary file added css-1.5.1/images/lifespan-chunk.png
Binary file added css-1.5.1/images/lifespan-down.png
Binary file added css-1.5.1/images/lifespan-left.png
Binary file added css-1.5.1/images/lifespan-right.png
Binary file added css-1.5.1/images/lifespan-up.png
Binary file added css-1.5.1/images/loading.gif
Binary file added css-1.5.1/images/mapquest.png
Binary file added css-1.5.1/images/media.png
Binary file added css-1.5.1/images/menu_bg_center.png
Binary file added css-1.5.1/images/menu_bg_left.png
Binary file added css-1.5.1/images/menu_bg_right.png
Binary file added css-1.5.1/images/minus.png
Binary file added css-1.5.1/images/mypage.png
Binary file added css-1.5.1/images/notes.png
Binary file added css-1.5.1/images/patriarch.png
Binary file added css-1.5.1/images/pedigree.png
Binary file added css-1.5.1/images/place.png
Binary file added css-1.5.1/images/plus.png
Binary file added css-1.5.1/images/rarrow.png
Binary file added css-1.5.1/images/rarrow2.png
Binary file added css-1.5.1/images/rdarrow.png
Binary file added css-1.5.1/images/rdarrow2.png
Binary file added css-1.5.1/images/reminder.png
Binary file added css-1.5.1/images/remove.png
Binary file added css-1.5.1/images/reorder.png
Binary file added css-1.5.1/images/repository.png
Binary file added css-1.5.1/images/resn_confidential.png
Binary file added css-1.5.1/images/resn_locked.png
Binary file added css-1.5.1/images/resn_none.png
Binary file added css-1.5.1/images/resn_privacy.png
Binary file added css-1.5.1/images/rings.png
Binary file added css-1.5.1/images/search.png
Binary file added css-1.5.1/images/selected.png
Binary file added css-1.5.1/images/sex_f_15x15.png
Binary file added css-1.5.1/images/sex_f_9x9.png
Binary file added css-1.5.1/images/sex_m_15x15.png
Binary file added css-1.5.1/images/sex_m_9x9.png
Binary file added css-1.5.1/images/sex_u_15x15.png
Binary file added css-1.5.1/images/sex_u_9x9.png
Binary file added css-1.5.1/images/silhouette_female.png
Binary file added css-1.5.1/images/silhouette_female_small.png
Binary file added css-1.5.1/images/silhouette_male.png
Binary file added css-1.5.1/images/silhouette_male_small.png
Binary file added css-1.5.1/images/silhouette_unknown.png
Binary file added css-1.5.1/images/silhouette_unknown_small.png
Binary file added css-1.5.1/images/small_menu_sprite.png
Binary file added css-1.5.1/images/small_menu_sprite.psd
Diff not rendered.
Binary file added css-1.5.1/images/source.png
Binary file added css-1.5.1/images/source2.png
Binary file added css-1.5.1/images/spacer.png
Binary file added css-1.5.1/images/stop.png
Binary file added css-1.5.1/images/terraserver.png
Binary file added css-1.5.1/images/top_box_center.png
Binary file added css-1.5.1/images/top_box_left.png
Binary file added css-1.5.1/images/top_box_right.png
Binary file added css-1.5.1/images/tree.png
Binary file added css-1.5.1/images/uarrow.png
Binary file added css-1.5.1/images/uarrow2.png
Binary file added css-1.5.1/images/udarrow.png
Binary file added css-1.5.1/images/udarrow2.png
Binary file added css-1.5.1/images/user_add.png
Binary file added css-1.5.1/images/vline.png
Binary file added css-1.5.1/images/w_button.png
Binary file added css-1.5.1/images/warning.png
Binary file added css-1.5.1/images/webtrees.png
Binary file added css-1.5.1/images/webtrees_s.png
Binary file added css-1.5.1/images/zoomin.png
Binary file added css-1.5.1/images/zoomout.png
1 change: 1 addition & 0 deletions css-1.5.1/msie.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,311 changes: 1,311 additions & 0 deletions css-1.5.1/style.css

Large diffs are not rendered by default.

67 changes: 67 additions & 0 deletions footer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?php
// Footer for webtrees theme
//
// webtrees: Web based Family History software
// Copyright (C) 2013 webtrees development team.
//
// Derived from PhpGedView
// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// $Id: footer.php 13642 2012-03-24 13:06:08Z greg $
// @version p_$Revision: 74 $ $Date: 2013-11-23 11:50:07 +0000 (Sat 23 Nov 2013) $
// $HeadURL: http://subversion.assembla.com/svn/webtrees-geneajaubart/trunk/themes/rural/footer.php $

if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
exit;
}

?>

</div>

<?php if ($view!='simple') { ?>

<div id="footer">
<div class="footer_left">
<div class="footer_right">
<div class="footer_center">
<?php
echo contact_links();
?>

<p class="logo">
<a href="<?php echo WT_WEBTREES_URL; ?>" target="_blank" class="icon-webtrees" title="<?php echo WT_WEBTREES.' '.WT_VERSION_TEXT; ?>"></a>
</p>

<?php
if (WT_DEBUG || get_gedcom_setting(WT_GED_ID, 'SHOW_STATS')) {
echo execution_stats();
}
if (exists_pending_change()) { ?>
<a href="#" onclick="window.open('edit_changes.php', '_blank', chan_window_specs); return false;">
<p class="error center"><?php echo WT_I18N::translate('There are pending changes for you to moderate.'); ?></p>
</a>
<?php } ?>
</div>
</div>
</div>
</div>
<?php } ?>

</div>
</div>
189 changes: 189 additions & 0 deletions header.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
<?php
// Header for Rural theme
//
// webtrees: Web based Family History software
// Copyright (C) 2012 webtrees development team.
//
// Derived from PhpGedView
// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// @package webtrees
// @subpackage Themes
// @author Jonathan Jaubart ($Author: webtrees.geneajaubart $)
// @version p_$Revision: 78 $ $Date: 2013-12-05 00:05:18 +0000 (Thu 05 Dec 2013) $
// $HeadURL: http://subversion.assembla.com/svn/webtrees-geneajaubart/trunk/themes/rural/header.php $

if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
exit;
}

global $WT_IMAGES;
// This theme uses the jQuery “colorbox” plugin to display images
$this
->addExternalJavascript(WT_JQUERY_COLORBOX_URL)
->addExternalJavascript(WT_JQUERY_WHEELZOOM_URL)
->addInlineJavascript('
activate_colorbox();
jQuery("body").on("click", "a.gallery", function(event) {
// Add colorbox to pdf-files
jQuery("a[type^=application].gallery").colorbox({
innerWidth: "75%",
innerHeight:"75%",
rel: "gallery",
iframe: true,
photo: false,
slideshow: true,
slideshowAuto: false,
title: function(){
var url = jQuery(this).attr("href");
var img_title = jQuery(this).data("title");
return "<a href=\"" + url + "\" target=\"_blank\">" + img_title + "</a>";
}
});
});
jQuery.extend(jQuery.colorbox.settings, {
initialWidth: "20%", initialHeight: "20%",
slideshowStart: "<div id=\"cboxSlideshowStart\">&nbsp;</div>",
slideshowStop: "<div id=\"cboxSlideshowStop\">&nbsp;</div>",
transition: "none",
current: "{current} '.WT_I18N::translate('of').' {total}",
title: function(){
var img_title = jQuery(this).data("title");
return img_title;
}
});
');

?>
<!DOCTYPE html>
<html <?php echo WT_I18N::html_markup(); ?>>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<?php echo header_links($META_DESCRIPTION, $META_ROBOTS, $META_GENERATOR, $LINK_CANONICAL); ?>
<title><?php echo WT_Filter::escapeHtml($title); ?></title>
<link rel="icon" href="<?php echo WT_CSS_URL; ?>favicon.png" type="image/png">
<link rel="stylesheet" type="text/css" href="<?php echo WT_THEME_URL; ?>jquery-ui-1.10.3/jquery-ui-1.10.3.custom.css">
<link rel="stylesheet" type="text/css" href="<?php echo WT_CSS_URL; ?>style.css">
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="<?php echo WT_CSS_URL; ?>msie.css">
<![endif]-->

<?php if (WT_USE_LIGHTBOX) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo WT_STATIC_URL, WT_MODULES_DIR; ?>lightbox/css/album_page.css">
<?php } ?>

</head>
<body id="body">
<?php if ($view=='simple') { ?>
<div id="header_simple" > </div>
<div id="main_content">
<div class="top_center_box">
<div class="top_center_box_left" ></div>
<div class="top_center_box_right" ></div>
<div class="top_center_box_center"></div>
</div>
<div class="content_box simpleview">
<?php } else { ?>
<div id="main_content">
<div id="header">
<div id="htopright">
<div class="header_search">
<form action="search.php" method="post">
<input type="hidden" name="action" value="general">
<input type="hidden" name="ged" value="<?php echo WT_GEDCOM; ?>">
<input type="hidden" name="topsearch" value="yes">
<input type="search" name="query" size="25" placeholder="<?php echo WT_I18N::translate('Search'); ?>" dir="auto">
<input type="image" class="image" src="<?php echo $WT_IMAGES['search']; ?>" alt="<?php echo WT_I18N::translate('Search'); ?>" title="<?php echo WT_I18N::translate('Search'); ?>">
</form>
</div>
</div>
<div id="hcenterright">
<ul class="makeMenu">
<li>
<?php
if (WT_USER_ID) {
echo '<a href="edituser.php">', WT_I18N::translate('Logged in as '), ' ', getUserFullName(WT_USER_ID), '</a></li> <li>', logout_link();
} else {
echo login_link();
}
?>
</li>
</ul>
<div class="gedtitle">
<?php echo WT_TREE_TITLE; ?>
</div>
</div>
<div id="hbottomright">
<ul id="extra-menu" class="makeMenu">
<?php echo WT_MenuBar::getFavoritesMenu(); ?>
<?php echo WT_MenuBar::getThemeMenu(); ?>
<?php echo WT_MenuBar::getLanguageMenu(); ?>
</ul>
</div>
<?php
//Prepare menu bar
$menu_items=array(
WT_MenuBar::getGedcomMenu(),
WT_MenuBar::getMyPageMenu(),
WT_MenuBar::getChartsMenu(),
WT_MenuBar::getListsMenu(),
WT_MenuBar::getCalendarMenu(),
WT_MenuBar::getReportsMenu(),
WT_MenuBar::getSearchMenu(),
);
foreach (WT_MenuBar::getModuleMenus() as $menu) {
$menu_items[]=$menu;
}
?>
</div>
<div class="top_center_box">
<div class="top_center_box_left" ></div>
<div class="top_center_box_right" ></div>
<div class="top_center_box_center"></div>
</div>
<div class="content_box">
<div id="topMenu">
<div class="topMenu_left"></div>
<div class="topMenu_right"></div>
<div class="topMenu_center">
<table align="center" id="main-menu">
<tr>
<?php
$nbMenus = count($menu_items);
for ($i = 0; $i < $nbMenus -1 ; $i++) {
$menu = $menu_items[$i];
if ($menu) {?>
<td valign="top"><ul class="main-menu-item"><?php echo $menu->getMenuAsList(); ?></ul></td>
<?php }
}
$menu = $menu_items[$nbMenus - 1];
if ($menu) { ?>
<td class="topmenu_last" valign="top"><ul class="main-menu-item"><?php echo $menu->getMenuAsList(); ?></ul></td>
<?php }
unset($menu_items, $menu);
?>
</tr>
</table>
</div>
</div>

<?php } ?>
<?php echo $javascript; ?>
<?php echo WT_FlashMessages::getHtmlMessages(); ?>
<div id="content">
Binary file added jquery-ui-1.10.3/images/animated-overlay.gif
5 changes: 5 additions & 0 deletions jquery-ui-1.10.3/jquery-ui-1.10.3.custom.css

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions templates/block_main_temp.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
// Template for drawing the main blocks on the portal pages
//
// This template expects that the following variables will be set
// $id - the DOM id for the block div
// $title - the title of the block
// $class - the additional class of the block
// $content - the content of the block
//
// webtrees: Web based Family History software
// Copyright (C) 2011 webtrees development team.
//
// Derived from PhpGedView
// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// $Id: block_main_temp.php 12663 2011-11-10 00:29:50Z greg $

if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
exit;
}

?>
<div id="<?php echo $id; ?>" class="block" >
<div class="blockheader">
<?php echo $title; ?>
</div>
<div class="blockcontent normal_inner_block <?php echo $class; ?>">
<?php echo $content; ?>
</div>
</div>
45 changes: 45 additions & 0 deletions templates/block_small_temp.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
// Template for drawing the height-restricted blocks on the portal pages
//
// This template expects that the following variables will be set
// $id - the DOM id for the block div
// $title - the title of the block
// $class - the additional class of the block
// $content - the content of the block
//
// webtrees: Web based Family History software
// Copyright (C) 2011 webtrees development team.
//
// Derived from PhpGedView
// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// $Id: block_small_temp.php 12663 2011-11-10 00:29:50Z greg $

if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
exit;
}

?>
<div id="<?php echo $id; ?>" class="block" >
<div class="blockheader">
<?php echo $title; ?>
</div>
<div class="blockcontent small_inner_block <?php echo $class; ?>">
<?php echo $content; ?>
</div>
</div>
Loading

0 comments on commit ed8e78e

Please sign in to comment.