diff options
| author | Greg Roach <fisharebest@gmail.com> | 2014-12-23 23:02:52 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-01-17 15:04:59 +0000 |
| commit | 07b70ae14d34ec3d428f7482e6df3ea0b1e7ef47 (patch) | |
| tree | 990e6fb7b84c3e4857579718ae7e6cc3eadcd047 /themes/minimal/templates | |
| parent | 949a371536b689d2282ab562e3c8c1bae1cfcfb8 (diff) | |
| download | webtrees-07b70ae14d34ec3d428f7482e6df3ea0b1e7ef47.tar.gz webtrees-07b70ae14d34ec3d428f7482e6df3ea0b1e7ef47.tar.bz2 webtrees-07b70ae14d34ec3d428f7482e6df3ea0b1e7ef47.zip | |
New theme system and admin interface
Diffstat (limited to 'themes/minimal/templates')
| -rw-r--r-- | themes/minimal/templates/block_main_temp.php | 43 | ||||
| -rw-r--r-- | themes/minimal/templates/block_small_temp.php | 43 | ||||
| -rw-r--r-- | themes/minimal/templates/compactbox_template.php | 45 | ||||
| -rw-r--r-- | themes/minimal/templates/personbox_template.php | 52 |
4 files changed, 0 insertions, 183 deletions
diff --git a/themes/minimal/templates/block_main_temp.php b/themes/minimal/templates/block_main_temp.php deleted file mode 100644 index 0f0b4416e0..0000000000 --- a/themes/minimal/templates/block_main_temp.php +++ /dev/null @@ -1,43 +0,0 @@ -<?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) 2014 webtrees development team. -// -// Derived from PhpGedView -// Copyright (C) 2008 to 2009 PGV Development Team. -// -// 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -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> diff --git a/themes/minimal/templates/block_small_temp.php b/themes/minimal/templates/block_small_temp.php deleted file mode 100644 index 37e618400c..0000000000 --- a/themes/minimal/templates/block_small_temp.php +++ /dev/null @@ -1,43 +0,0 @@ -<?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) 2014 webtrees development team. -// -// Derived from PhpGedView -// Copyright (C) 2008 to 2009 PGV Development Team. -// -// 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -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> diff --git a/themes/minimal/templates/compactbox_template.php b/themes/minimal/templates/compactbox_template.php deleted file mode 100644 index 4a3386f801..0000000000 --- a/themes/minimal/templates/compactbox_template.php +++ /dev/null @@ -1,45 +0,0 @@ -<?php -// Template for drawing person boxes -// This template expects that the following variables will be set -// $pid, $boxID, $icons, $GEDCOM, $style, -// $name, $outBoxAdd, $addname -// -// webtrees: Web based Family History software -// Copyright (C) 2014 webtrees development team. -// -// Derived from PhpGedView -// Copyright (C) 2010 PGV Development Team. -// -// 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - -echo -'<div data-pid="'. $pid . '"' , $outBoxAdd, '> - <div class="compact_view">', - $thumbnail, - '<a href="individual.php?pid=', $pid, '&ged=', rawurlencode($GEDCOM), '" title="',strip_tags($name.$addname),'"> - <span class="namedef name',$style,'">', $shortname, '</span> - </a> - </div> - <div class="inout2 details',$style,'">', - $person->getLifeSpan(), ' - </div> - <div class="inout"></div> -</div>'; - diff --git a/themes/minimal/templates/personbox_template.php b/themes/minimal/templates/personbox_template.php deleted file mode 100644 index b1fdc7ade2..0000000000 --- a/themes/minimal/templates/personbox_template.php +++ /dev/null @@ -1,52 +0,0 @@ -<?php -// Template for drawing person boxes -// This template expects that the following variables will be set -// $pid, $boxID, $icons, $GEDCOM, $style, -// $name, $genderImage, $BirthDeath, $outBoxAdd, -// $addname -// -// webtrees: Web based Family History software -// Copyright (C) 2014 webtrees development team. -// -// Derived from PhpGedView -// Copyright (C) 2010 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -if (!defined('WT_WEBTREES')) { - header('HTTP/1.0 403 Forbidden'); - exit; -} - -echo -'<div data-pid="'. $pid . '" ',$outBoxAdd,'> - <div class="noprint icons">', $icons, '</div>', - '<div class="chart_textbox" style="max-height:', $bheight,'px;">', - $thumbnail, - '<a href="individual.php?pid=', $pid, '&ged=', rawurlencode($GEDCOM), '"> - <span class="namedef name',$style,'">', - $name, - $genderImage,' - <span class="details',$style,'">' . $LDSord . '</span> - </span> - </a> - <div class="namedef name',$style,'">',$addname,'</div> - <div class="inout2 details',$style,'">', - $BirthDeath, - '</div> - </div> - <div class="inout"></div> -</div>'; - |
