1er commit

Theme zenphoto
This commit is contained in:
2016-10-20 20:07:26 +02:00
commit 5cbd6357ed
81 changed files with 8984 additions and 0 deletions

75
404.php Normal file
View File

@@ -0,0 +1,75 @@
<?php include ("header.php"); ?>
<div id="main">
<div class="center_albums">
<div id="headline">
<h3>
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
<a href="<?php echo htmlspecialchars(getGalleryIndexURL());?>" title="<?php gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
&raquo; <?php echo gettext("Page not found..."); ?>
</h3>
</div>
</div> <!-- /center_albums -->
<p class="clear"></p>
<div class="center_search">
<div class="post">
<h4>
<?php echo gettext("The page you are requesting cannot be found.");
if (isset($album)) {
echo '<br />'.sprintf(gettext('Album: %s'),sanitize($album));
}
if (isset($image)) {
echo '<br />'.sprintf(gettext('Image: %s'),sanitize($image));
}
if (isset($obj)) {
echo '<br />'.sprintf(gettext('Page: %s'),substr(basename($obj),0,-4));
}
?>
</h4>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump404">
<p class="goto"><?php echo gettext("Go to album...");?></p>
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div> <!-- /center_search -->
<div id="sidebar">
<?php printSearchForm( '','searchform','',gettext('OK'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
<p class="titreBar margeTop"><?php echo gettext('Popular Tags'); ?></p>
<div id="tag_cloud">
<?php
printAllTagsAs('cloud','csstag','results',true,true,$maxfontsize = 2,$maxcount = 50, $mincount = 2,$limit = NULL, $minfontsize = 0.8);
?>
</div>
</div>
<div class="paging">
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
<?php //printPageListWithNav( gettext('&lsaquo; Previous'),gettext('Next &rsaquo;'),false,'true','pagelist','',true,'5' ); ?>
<?php } ?>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php //printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php"); ?>

BIN
Archive.zip Normal file

Binary file not shown.

View File

@@ -0,0 +1,160 @@
<?php include ("header.php");
if (isset($_GET['option'])) $archiveoption = $_GET['option'];
else $archiveoption = 'random';
$archivecount = 12;
?>
<div id="main">
<div class="center_albums">
<div id="headline">
<h3>
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
<a href="<?php echo html_encode(getGalleryIndexURL()); ?>" title="<?php echo gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
<?php echo " &raquo; <em>".gettext("Archive")."</em> &raquo; ";
switch ($archiveoption) {
case "random":
echo gettext('Random Images');
break;
case "popular":
echo gettext('Popular Images');
break;
case "latest":
echo gettext('Latest Images');
break;
case "latest-date":
echo gettext('Latest Images');
break;
case "latest-mtime":
echo gettext('Latest Images');
break;
case "mostrated":
echo gettext('Most Rated Images');
break;
case "toprated":
echo gettext('Top Rated Images');
break;
}
?>
</h3>
</div>
</div> <!-- /center_albums -->
<p class="clear"></p>
<div class="center_search">
<?php
if (($archiveoption) != 'random') {
$images = getImageStatistic($archivecount,$archiveoption);
foreach ($images as $image) {
//print_r($image);
//echo '<br>';
//$a = html_encode($image->getImageLink());
// /zenphoto/index.php?album=bouquetins&image=2008-08-30_Bouquetin_9284.jpg
//$a = htmlspecialchars($image->getFullImage());
// /zenphoto/albums/bouquetins/2008-08-30_Bouquetin_9284.jpg
//echo $a;
?>
<div class="album">
<div class="thumb">
<div class="album-tools">
<?php if (!isImageVideo()) { ?>
<a class="album-tool" rel="zoom" href="<?php echo htmlspecialchars($image->getFullImage()); ?>" title="<?php echo html_encode($image->getTitle());?>"><img src="<?php echo $_zp_themeroot; ?>/images/search.png" alt="Zoom Image" /></a>
<?php } ?>
</div>
<!-- ZP 1.4.6: getLink() remplace getImageLink() -->
<a class="wraptocenter" href="<?php echo html_encode($image->getLink()); ?>" title="<?php echo html_encode($image->getTitle()); ?>">
<img src="<?php echo html_encode($image->getCustomImage(getOption('thumb_size'),null,null,null,null,null,null,true)); ?>" alt="<?php echo html_encode($image->getTitle()); ?>" />
</a>
</div>
<p style="clear: both; "></p>
</div>
<?php
}
}
else {
for ($i=1; $i<=$archivecount; $i++) {
$randomImage = getRandomImages();
if (is_object($randomImage) && $randomImage->exists) {
//$randomImageURL = html_encode(getURL($randomImage));
$randomImageURL = html_encode($randomImage->getLink()); // ZP 1.4.6
//preprint($randomImage);
$filename = $randomImage->getFileName();
$album = $randomImage->getAlbumName();
//echo $randomImageURL;
//echo getImageThumb($randomImageURL);
// getFullImage()
//echo $randomImage->getAlbumName();
//echo "bla" . $randomImage->encwebpath();
echo "getFullImage: " . $randomImage->getFullImage();
//echo "b: " . $randomImage->encwebpath();
echo "getFullImageURL: " . $randomImage->getFullImageURL();
?>
<div class="album">
<div class="thumb">
<div class="album-tools">
<?php if (!isImageVideo()) { ?>
<a class="album-tool" rel="zoom" href="<?php echo htmlspecialchars($randomImage->getFullImage()); ?>" title="<?php echo html_encode($randomImage->getTitle());?>"><img src="<?php echo $_zp_themeroot; ?>/images/search.png" alt="Zoom Image" /></a>
<?php } ?>
</div>
<a class="wraptocenter" href="<?php echo html_encode($randomImage->getLink()); ?>" title="<?php echo html_encode($randomImage->getTitle()); ?>">
<?php //printThumbs($randomImageURL); ?>
<img src="<?php echo html_encode($randomImage->getCustomImage(getOption('thumb_size'),null,null,null,null,null,null,true)); ?>" alt="<?php echo html_encode($randomImage->getTitle()); ?>" />
<!--img src="zp-core/i.php?a='.$album.'&i='.$filename.'&s=thumb" class="img_archive" /-->
</a>
</div>
<p style="clear: both; "></p>
</div>
<?php }
}
}
?>
</div> <!-- /center_search -->
<div id="sidebar">
<?php printSearchForm( '','searchform','',gettext('OK'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
<p class="titreBar"><?php echo gettext('Date Archive'); ?></p>
<?php printAllDates('archive-menu','year','month','desc'); ?>
<p class="titreBar margeTop"><?php echo gettext('Archive'); ?></p>
<ul id="listArchive">
<li><a href="?p=archive&amp;option=popular"><?php echo gettext('most popular images'); ?></a></li>
<li><a href="?p=archive&amp;option=latest"><?php echo gettext('latest uploaded images'); ?></a></li>
<li><a href="?p=archive&amp;option=latest-date"><?php echo gettext('latest uploaded, but fetched by date'); ?></a></li>
<!-- Uploaded time -> mtime -->
<li><a href="?p=archive&amp;option=latest-mtime"><?php echo gettext('latest uploaded, but fetched by mtime'); ?></a></li>
<li><a href="?p=archive&amp;option=mostrated"><?php echo gettext('most voted'); ?></a></li>
<li><a href="?p=archive&amp;option=toprated"><?php echo gettext('best voted'); ?></a></li>
<li><a href="?p=archive&amp;option=random"><?php echo gettext('random'); ?></a></li>
</ul>
<p class="titreBar margeTop"><?php echo gettext('Popular Tags'); ?></p>
<div id="tag_cloud">
<?php printAllTagsAs('cloud','hor-list','results',false,true,$maxfontsize = 1.4,$maxcount = 100, $mincount = 5,$limit = 20, $minfontsize = 0.6); ?>
</div>
</div>
<div class="paging">
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
<?php //printPageListWithNav( gettext('&lsaquo; Previous'),gettext('Next &rsaquo;'),false,'true','pagelist','',true,'5' ); ?>
<?php } ?>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php"); ?>

View File

@@ -0,0 +1,135 @@
<?php
// force UTF-8 Ø
if (!defined('WEBPATH')) die();
?>
<!DOCTYPE html>
<html>
<head>
<?php zp_apply_filter('theme_head'); ?>
<title><?php printBareGalleryTitle(); ?> <?php echo gettext("Slideshow"); ?></title>
<meta http-equiv="content-type" content="text/html; charset=<?php echo LOCAL_CHARSET; ?>" />
<link rel="Shortcut Icon" href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/photoblog/images/favicon.ico" type="image/x-icon" />
<?php if (getOption('sweetTitles')) { ?>
<script type="text/javascript" src="http://<?php echo $_SERVER['HTTP_HOST']; ?>/js/sweet-titles/js/addEvent.js"></script>
<script type="text/javascript" src="http://<?php echo $_SERVER['HTTP_HOST']; ?>/js/sweet-titles/js/sweetTitles.js"></script>
<link rel="stylesheet" href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/js/sweet-titles/css/sweetTitles.css" type="text/css" />
<?php } ?>
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/css/theme.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/css/slideshow.css" type="text/css" />
</head>
<body>
<?php zp_apply_filter('theme_body_open'); ?>
<?php
function printSlideShow_MOD($heading = true, $speedctl = false, $albumobj = NULL, $imageobj = NULL, $width = NULL, $height = NULL, $crop = false, $shuffle = false, $linkslides = false, $controls = true) {
global $_myFavorites, $_zp_conf_vars;
if (!isset($_POST['albumid']) AND ! is_object($albumobj)) {
return '<div class="errorbox" id="message"><h2>' . gettext('Invalid linking to the slideshow page.') . '</h2></div>';
}
//getting the image to start with
if (!empty($_POST['imagenumber']) AND ! is_object($imageobj)) {
$imagenumber = sanitize_numeric($_POST['imagenumber']) - 1; // slideshows starts with 0, but zp with 1.
} elseif (is_object($imageobj)) {
$imagenumber = $imageobj->getIndex();
} else {
$imagenumber = 0;
}
// set pagenumber to 0 if not called via POST link
if (isset($_POST['pagenr'])) {
$pagenumber = sanitize_numeric($_POST['pagenr']);
} else {
$pagenumber = 1;
}
// getting the number of images
if (!empty($_POST['numberofimages'])) {
$numberofimages = sanitize_numeric($_POST['numberofimages']);
} elseif (is_object($albumobj)) {
$numberofimages = $albumobj->getNumImages();
} else {
$numberofimages = 0;
}
if ($imagenumber < 2 || $imagenumber > $numberofimages) {
$imagenumber = 0;
}
//getting the album to show
if (!empty($_POST['albumid']) && !is_object($albumobj)) {
$albumid = sanitize_numeric($_POST['albumid']);
} elseif (is_object($albumobj)) {
$albumid = $albumobj->getID();
} else {
$albumid = 0;
}
if (isset($_POST['preserve_search_params'])) { // search page
$search = new SearchEngine();
$params = sanitize($_POST['preserve_search_params']);
$search->setSearchParams($params);
$searchwords = $search->getSearchWords();
$searchdate = $search->getSearchDate();
$searchfields = $search->getSearchFields(true);
$page = $search->page;
$returnpath = getSearchURL($searchwords, $searchdate, $searchfields, $page);
$albumobj = new AlbumBase(NULL, false);
$albumobj->setTitle(gettext('Search'));
$albumobj->images = $search->getImages(0);
} else {
if (isset($_POST['favorites_page'])) {
$albumobj = $_myFavorites;
$returnpath = $_myFavorites->getLink($pagenumber);
} else {
$albumq = query_single_row("SELECT title, folder FROM " . prefix('albums') . " WHERE id = " . $albumid);
$albumobj = newAlbum($albumq['folder']);
if (empty($_POST['imagenumber'])) {
$returnpath = $albumobj->getLink($pagenumber);
} else {
$image = newImage($albumobj, sanitize($_POST['imagefile']));
$returnpath = $image->getLink();
}
}
}
echo slideshow::getShow($heading, $speedctl, $albumobj, $imageobj, $width, $height, $crop, $shuffle, $linkslides, $controls, $returnpath, $imagenumber);
}
?>
<div id="slideshowpage">
<?php // /zp_extension/slideshow.php
// printSlideShow($heading = true, $speedctl = false, $albumobj = NULL, $imageobj = NULL, $width = NULL, $height = NULL, $crop = false, $shuffle = false, $linkslides = false, $controls = true)
/*
* @param bool $heading set to true (default) to emit the slideshow breadcrumbs in flash mode
* @param bool $speedctl controls whether an option box for controlling transition speed is displayed
* @param obj $albumobj The object of the album to show the slideshow of. If set this overrides the POST data of the printSlideShowLink()
* @param obj $imageobj The object of the image to start the slideshow with. If set this overrides the POST data of the printSlideShowLink(). If not set the slideshow starts with the first image of the album.
* @param int $width The width of the images (jQuery mode). If set this overrides the size the slideshow_width plugin option that otherwise is used.
* @param int $height The heigth of the images (jQuery mode). If set this overrides the size the slideshow_height plugin option that otherwise is used.
* @param bool $crop Set to true if you want images cropped width x height (jQuery mode only)
* @param bool $shuffle Set to true if you want random (shuffled) order
* @param bool $linkslides Set to true if you want the slides to be linked to their image pages (jQuery mode only)
* @param bool $controls Set to true (default) if you want the slideshow controls to be shown (might require theme CSS changes if calling outside the slideshow.php page) (jQuery mode only)
*/
//printSlideShow(true,false); // OK
printSlideShow_Mod(true,false);
//printSlideShow(false,false);
// /zp_extension/slideshow2.php
// printSlideShow($heading = true, $speedctl = false, $albumobj = NULL, $imageobj = NULL, $width = NULL, $height = NULL, $crop = false, $shuffle = false, $linkslides = false, $controls = true)
/*
* @param bool $heading set to true (default) to emit the slideshow breadcrumbs in flash mode
* @param bool $speedctl controls whether an option box for controlling transition speed is displayed
* @param obj $albumobj The object of the album to show the slideshow of. If set this overrides the POST data of the printSlideShowLink()
* @param obj $imageobj The object of the image to start the slideshow with. If set this overrides the POST data of the printSlideShowLink(). If not set the slideshow starts with the first image of the album.
* @param int $width The width of the images (jQuery mode). If set this overrides the size the slideshow_width plugin option that otherwise is used.
* @param int $height The heigth of the images (jQuery mode). If set this overrides the size the slideshow_height plugin option that otherwise is used.
* @param bool $crop Set to true if you want images cropped width x height (jQuery mode only)
* @param bool $shuffle Set to true if you want random (shuffled) order
* @param bool $linkslides Set to true if you want the slides to be linked to their image pages (jQuery mode only)
* @param bool $controls Set to true (default) if you want the slideshow controls to be shown (might require theme CSS changes if calling outside the slideshow.php page) (jQuery mode only)
*/
//printSlideShow(true,false); ?>
<?php //voir la vitesse printSlideShow(true,true); ?>
</div>
<?php zp_apply_filter('theme_body_close'); ?>
</body>
</html>

View File

@@ -0,0 +1,150 @@
<?php
// force UTF-8 Ø
if (!defined('WEBPATH')) die();
?>
<!DOCTYPE html>
<html>
<head>
<?php zp_apply_filter('theme_head'); ?>
<title><?php printBareGalleryTitle(); ?> <?php echo gettext("Slideshow"); ?></title>
<meta http-equiv="content-type" content="text/html; charset=<?php echo LOCAL_CHARSET; ?>" />
<link rel="Shortcut Icon" href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/photoblog/images/favicon.ico" type="image/x-icon" />
<?php if (getOption('sweetTitles')) { ?>
<script type="text/javascript" src="http://<?php echo $_SERVER['HTTP_HOST']; ?>/js/sweet-titles/js/addEvent.js"></script>
<script type="text/javascript" src="http://<?php echo $_SERVER['HTTP_HOST']; ?>/js/sweet-titles/js/sweetTitles.js"></script>
<link rel="stylesheet" href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/js/sweet-titles/css/sweetTitles.css" type="text/css" />
<?php } ?>
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/css/theme.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/css/slideshow.css" type="text/css" />
</head>
<body>
<?php zp_apply_filter('theme_body_open'); ?>
<?php
function printSlideShow_Mod($heading = true, $speedctl = false, $albumobj = NULL, $imageobj = NULL, $width = NULL, $height = NULL, $crop = false, $shuffle = false, $linkslides = false, $controls = true) {
global $_myFavorites, $_zp_conf_vars;
if (!isset($_POST['albumid']) AND ! is_object($albumobj)) {
return '<div class="errorbox" id="message"><h2>' . gettext('Invalid linking to the slideshow page.') . '</h2></div>';
}
//getting the image to start with
if (!empty($_POST['imagenumber']) AND ! is_object($imageobj)) {
$imagenumber = sanitize_numeric($_POST['imagenumber']) - 1; // slideshows starts with 0, but zp with 1.
} elseif (is_object($imageobj)) {
$imagenumber = $imageobj->getIndex();
} else {
$imagenumber = 0;
}
// set pagenumber to 0 if not called via POST link
if (isset($_POST['pagenr'])) {
$pagenumber = sanitize_numeric($_POST['pagenr']);
} else {
$pagenumber = 1;
}
// getting the number of images
if (!empty($_POST['numberofimages'])) {
$numberofimages = sanitize_numeric($_POST['numberofimages']);
} elseif (is_object($albumobj)) {
$numberofimages = $albumobj->getNumImages();
} else {
$numberofimages = 0;
}
if ($numberofimages < 2 || $imagenumber > $numberofimages) {
$imagenumber = 0;
}
//getting the album to show
if (!empty($_POST['albumid']) && !is_object($albumobj)) {
$albumid = sanitize_numeric($_POST['albumid']);
} elseif (is_object($albumobj)) {
$albumid = $albumobj->getID();
} else {
$albumid = 0;
}
if (isset($_POST['preserve_search_params'])) { // search page
$search = new SearchEngine();
$params = sanitize($_POST['preserve_search_params']);
$search->setSearchParams($params);
$searchwords = $search->getSearchWords();
$searchdate = $search->getSearchDate();
$searchfields = $search->getSearchFields(true);
$page = $search->page;
$returnpath = getSearchURL($searchwords, $searchdate, $searchfields, $page);
$albumobj = new AlbumBase(NULL, false);
$albumobj->setTitle(gettext('Search'));
$albumobj->images = $search->getImages(0);
} else {
if (isset($_POST['favorites_page'])) {
$albumobj = $_myFavorites;
$returnpath = $_myFavorites->getLink($pagenumber);
} else {
$albumq = query_single_row("SELECT title, folder FROM " . prefix('albums') . " WHERE id = " . $albumid);
$albumobj = newAlbum($albumq['folder']);
if (empty($_POST['imagenumber'])) {
$returnpath = $albumobj->getLink($pagenumber);
} else {
$image = newImage($albumobj, sanitize($_POST['imagefile']));
$returnpath = $image->getLink();
}
}
}
/*
echo "<ol><li>" . $heading . "</li>"; // 1
echo "<li>" . $speedctl . "</li>";
echo "<li>" . $albumobj . "</li>"; // albums (3)
echo "<li>" . $imageobj . "</li>";
echo "<li>" . $width . "</li>";
echo "<li>" . $height . "</li>";
echo "<li>" . $crop . "</li>";
echo "<li>" . $shuffle . "</li>";
echo "<li>" . $linkslides . "</li>";
echo "<li>" . $controls . "</li>"; // 1
echo "<li>" . $returnpath . "</li>"; // /zenphoto/bouquetins/2008-08-30_Bouquetin_9266.jpg
echo "<li>" . $imagenumber . "</li></ol>"; // 0
*/
// 1albums (3)1/zenphoto/bouquetins/2008-08-30_Bouquetin_9266.jpg0
echo cycle::getShow_MOD($heading, $speedctl, $albumobj, $imageobj, $width, $height, $crop, $shuffle, $linkslides, $controls, $returnpath, $imagenumber);
}
?>
<div id="slideshowpage">
<?php // /zp_extension/slideshow.php
// printSlideShow($heading = true, $speedctl = false, $albumobj = NULL, $imageobj = NULL, $width = NULL, $height = NULL, $crop = false, $shuffle = false, $linkslides = false, $controls = true)
/*
* @param bool $heading set to true (default) to emit the slideshow breadcrumbs in flash mode
* @param bool $speedctl controls whether an option box for controlling transition speed is displayed
* @param obj $albumobj The object of the album to show the slideshow of. If set this overrides the POST data of the printSlideShowLink()
* @param obj $imageobj The object of the image to start the slideshow with. If set this overrides the POST data of the printSlideShowLink(). If not set the slideshow starts with the first image of the album.
* @param int $width The width of the images (jQuery mode). If set this overrides the size the slideshow_width plugin option that otherwise is used.
* @param int $height The heigth of the images (jQuery mode). If set this overrides the size the slideshow_height plugin option that otherwise is used.
* @param bool $crop Set to true if you want images cropped width x height (jQuery mode only)
* @param bool $shuffle Set to true if you want random (shuffled) order
* @param bool $linkslides Set to true if you want the slides to be linked to their image pages (jQuery mode only)
* @param bool $controls Set to true (default) if you want the slideshow controls to be shown (might require theme CSS changes if calling outside the slideshow.php page) (jQuery mode only)
*/
//printSlideShow(true,false); // OK
printSlideShow_Mod(true,false);
//printSlideShow(false,false);
// /zp_extension/slideshow2.php
// printSlideShow($heading = true, $speedctl = false, $albumobj = NULL, $imageobj = NULL, $width = NULL, $height = NULL, $crop = false, $shuffle = false, $linkslides = false, $controls = true)
/*
* @param bool $heading set to true (default) to emit the slideshow breadcrumbs in flash mode
* @param bool $speedctl controls whether an option box for controlling transition speed is displayed
* @param obj $albumobj The object of the album to show the slideshow of. If set this overrides the POST data of the printSlideShowLink()
* @param obj $imageobj The object of the image to start the slideshow with. If set this overrides the POST data of the printSlideShowLink(). If not set the slideshow starts with the first image of the album.
* @param int $width The width of the images (jQuery mode). If set this overrides the size the slideshow_width plugin option that otherwise is used.
* @param int $height The heigth of the images (jQuery mode). If set this overrides the size the slideshow_height plugin option that otherwise is used.
* @param bool $crop Set to true if you want images cropped width x height (jQuery mode only)
* @param bool $shuffle Set to true if you want random (shuffled) order
* @param bool $linkslides Set to true if you want the slides to be linked to their image pages (jQuery mode only)
* @param bool $controls Set to true (default) if you want the slideshow controls to be shown (might require theme CSS changes if calling outside the slideshow.php page) (jQuery mode only)
*/
//printSlideShow(true,false); ?>
<?php //voir la vitesse printSlideShow(true,true); ?>
</div>
<?php zp_apply_filter('theme_body_close'); ?>
</body>
</html>

111
album.php Normal file
View File

@@ -0,0 +1,111 @@
<?php include ("header.php"); ?>
<div id="main">
<div class="center_albums">
<div id="headline">
<h3>
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
<a href="<?php echo html_encode(getGalleryIndexURL()); ?>" title="<?php echo gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
<?php printParentBreadcrumb(" » ", " » ", " » "); ?><?php printAlbumTitle(true); ?>
</h3>
<div class="headline-text"><?php printAlbumDesc(true); ?></div>
</div>
<?php if (getNumImages() > 0) { ?>
<div id="slideshowlink">
<?php $x=0; while (next_image(true)):
if ($x>=1) { $show=' style="display:none;"'; } else { $show='';} ?>
<?php if (!isImageVideo()) { ?>
<a class="slideshowlink"<?php echo $show; ?> rel="slideshow" href="<?php echo htmlspecialchars(getFullImageURL());?>" title="<?php echo getBareImageTitle();?>"><?php echo gettext('Play Slideshow'); ?></a>
<?php $x=$x+1; $imagepresent=true; } else { $x=$x; $videopresent=true;} ?>
<?php endwhile; ?>
</div>
<?php } ?>
<p class="clear"></p>
<script type="text/javascript">
//alert(window.devicePixelRatio);
/*
(function($){
alert(window.devicePixelRatio);
if(window.devicePixelRatio > 1){
$('img').each(function(){
var img = $(this);
img.attr('src', img.attr('src').replace('.jpg','@2x.jpg'));
})
}
})(jQuery);
*/
</script>
<div id="albums">
<?php while (next_album()): ?>
<div class="album">
<div class="thumb">
<!-- ZP 1.4.6 getAlbumURL() remplace getAlbumLinkURL() -->
<a class="wraptocenter" href="<?php echo html_encode(getAlbumURL());?>" title="<?php echo gettext('View album:'); ?> <?php echo getAnnotatedAlbumTitle();?>">
<?php //printAlbumThumbImage(getAnnotatedAlbumTitle());
printHDAlbumThumbImage(true, NULL, NULL, NULL, NULL);
?>
</a>
</div>
<div class="albumdesc">
<span class="nom_albumdesc"><a href="<?php echo html_encode(getAlbumURL());?>" title="<?php echo gettext('View album:'); ?> <?php echo getAnnotatedAlbumTitle();?>"><?php printAlbumTitle(); ?></a></span>
</div>
<p style="clear: both; "></p>
</div>
<?php endwhile; ?>
</div>
<div id="albums">
<?php while (next_image()): ?>
<div class="album">
<div class="thumb">
<!-- ZP 1.4.6 getImageURL() remplace getImageLinkURL() -->
<a class="wraptocenter" href="<?php echo htmlspecialchars(getImageURL()); ?>" title="<?php echo getBareImageTitle(); ?>">
<?php
//printImageThumb(getAnnotatedImageTitle());
//printHDImageThumb(NULL,true,NULL,NULL,NULL,NULL);
printHDImageThumb(true,NULL,NULL,NULL,NULL);
?>
</a>
</div>
<div class="albumdesc">
<span class="nom_albumdesc"><!--a href="<?php echo htmlspecialchars(getImageURL());?>" title="<?php echo gettext('View image:'); ?> <?php echo getBareImageTitle(); ?>"><?php printImageTitle(); ?></a--></span>
</div>
<p style="clear: both; "></p>
</div>
<?php endwhile; ?>
</div>
<p style="clear: both; "></p>
<?php
if (function_exists('printAddToFavorites')) printAddToFavorites($_zp_current_album);
?>
</div> <!-- /center_albums -->
<div class="paging">
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
<?php printPageListWithNav("« " . gettext("prev"), gettext("next") . " »",false,'true','pagelist','',true,'5' ); ?>
<?php } ?>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php");
//echo $_zp_current_album; ?>

160
archive.php Normal file
View File

@@ -0,0 +1,160 @@
<?php include ("header.php");
if (isset($_GET['option'])) $archiveoption = $_GET['option'];
else $archiveoption = 'random';
$archivecount = 12;
?>
<div id="main">
<div class="center_albums">
<div id="headline">
<h3>
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
<a href="<?php echo html_encode(getGalleryIndexURL()); ?>" title="<?php echo gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
<?php echo " &raquo; <em>".gettext("Archive")."</em> &raquo; ";
switch ($archiveoption) {
case "random":
echo gettext('Random Images');
break;
case "popular":
echo gettext('Popular Images');
break;
case "latest":
echo gettext('Latest Images');
break;
case "latest-date":
echo gettext('Latest Images');
break;
case "latest-mtime":
echo gettext('Latest Images');
break;
case "mostrated":
echo gettext('Most Rated Images');
break;
case "toprated":
echo gettext('Top Rated Images');
break;
}
?>
</h3>
</div>
</div> <!-- /center_albums -->
<p class="clear"></p>
<div class="center_search">
<?php
if (($archiveoption) != 'random') {
$images = getImageStatistic($archivecount,$archiveoption);
foreach ($images as $image) {
//print_r($image);
//echo '<br>';
//$a = html_encode($image->getImageLink());
// /zenphoto/index.php?album=bouquetins&image=2008-08-30_Bouquetin_9284.jpg
//$a = htmlspecialchars($image->getFullImage());
// /zenphoto/albums/bouquetins/2008-08-30_Bouquetin_9284.jpg
//echo $a;
?>
<div class="album">
<div class="thumb">
<div class="album-tools">
<?php if (!isImageVideo()) { ?>
<a class="album-tool" rel="zoom" href="<?php echo htmlspecialchars($image->getFullImage()); ?>" title="<?php echo html_encode($image->getTitle());?>"><img src="<?php echo $_zp_themeroot; ?>/images/search.png" alt="Zoom Image" /></a>
<?php } ?>
</div>
<!-- ZP 1.4.6: getLink() remplace getImageLink() -->
<a class="wraptocenter" href="<?php echo html_encode($image->getLink()); ?>" title="<?php echo html_encode($image->getTitle()); ?>">
<img src="<?php echo html_encode($image->getCustomImage(getOption('thumb_size'),null,null,null,null,null,null,true)); ?>" alt="<?php echo html_encode($image->getTitle()); ?>" />
</a>
</div>
<p style="clear: both; "></p>
</div>
<?php
}
}
else {
for ($i=1; $i<=$archivecount; $i++) {
$randomImage = getRandomImages();
if (is_object($randomImage) && $randomImage->exists) {
//$randomImageURL = html_encode(getURL($randomImage));
$randomImageURL = html_encode($randomImage->getLink()); // ZP 1.4.6
//preprint($randomImage);
$filename = $randomImage->getFileName();
$album = $randomImage->getAlbumName();
//echo $randomImageURL;
//echo getImageThumb($randomImageURL);
// getFullImage()
//echo $randomImage->getAlbumName();
//echo "bla" . $randomImage->encwebpath();
//echo "getFullImage: " . $randomImage->getFullImage();
//echo "b: " . $randomImage->encwebpath();
//echo "getFullImageURL: " . $randomImage->getFullImageURL();
?>
<div class="album">
<div class="thumb">
<div class="album-tools">
<?php if (!isImageVideo()) { ?>
<a class="album-tool" rel="zoom" href="<?php echo htmlspecialchars($randomImage->getFullImageURL()); ?>" title="<?php echo html_encode($randomImage->getTitle());?>"><img src="<?php echo $_zp_themeroot; ?>/images/search.png" alt="Zoom Image" /></a>
<?php } ?>
</div>
<a class="wraptocenter" href="<?php echo html_encode($randomImage->getLink()); ?>" title="<?php echo html_encode($randomImage->getTitle()); ?>">
<?php //printThumbs($randomImageURL); ?>
<img src="<?php echo html_encode($randomImage->getCustomImage(getOption('thumb_size'),null,null,null,null,null,null,true)); ?>" alt="<?php echo html_encode($randomImage->getTitle()); ?>" />
<!--img src="zp-core/i.php?a='.$album.'&i='.$filename.'&s=thumb" class="img_archive" /-->
</a>
</div>
<p style="clear: both; "></p>
</div>
<?php }
}
}
?>
</div> <!-- /center_search -->
<div id="sidebar">
<?php printSearchForm( '','searchform','',gettext('OK'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
<p class="titreBar"><?php echo gettext('Date Archive'); ?></p>
<?php printAllDates('archive-menu','year','month','desc'); ?>
<p class="titreBar margeTop"><?php echo gettext('Archive'); ?></p>
<ul id="listArchive">
<li><a href="?p=archive&amp;option=popular"><?php echo gettext('most popular images'); ?></a></li>
<li><a href="?p=archive&amp;option=latest"><?php echo gettext('latest uploaded images'); ?></a></li>
<li><a href="?p=archive&amp;option=latest-date"><?php echo gettext('latest uploaded, but fetched by date'); ?></a></li>
<!-- Uploaded time -> mtime -->
<li><a href="?p=archive&amp;option=latest-mtime"><?php echo gettext('latest uploaded, but fetched by mtime'); ?></a></li>
<li><a href="?p=archive&amp;option=mostrated"><?php echo gettext('most voted'); ?></a></li>
<li><a href="?p=archive&amp;option=toprated"><?php echo gettext('best voted'); ?></a></li>
<li><a href="?p=archive&amp;option=random"><?php echo gettext('random'); ?></a></li>
</ul>
<p class="titreBar margeTop"><?php echo gettext('Popular Tags'); ?></p>
<div id="tag_cloud">
<?php printAllTagsAs('cloud','hor-list','results',false,true,$maxfontsize = 1.4,$maxcount = 100, $mincount = 5,$limit = 20, $minfontsize = 0.6); ?>
</div>
</div>
<div class="paging">
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
<?php //printPageListWithNav( gettext('&lsaquo; Previous'),gettext('Next &rsaquo;'),false,'true','pagelist','',true,'5' ); ?>
<?php } ?>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php"); ?>

60
contact.php Normal file
View File

@@ -0,0 +1,60 @@
<?php include ("header.php"); ?>
<div id="main">
<div class="center_albums">
<div id="headline">
<h3>
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
<a href="<?php echo htmlspecialchars(getGalleryIndexURL());?>" title="<?php gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
&raquo; <?php echo gettext("Contact..."); ?>
</h3>
</div>
<div id="slideshowlink">
</div>
</div> <!-- /center_albums -->
<p class="clear"></p>
<div class="center_search">
<div class="post">
<?php if (function_exists('printContactForm')) { printContactForm(); } else { ?>
<p><?php echo gettext('The Contact Form plugin has not been activated.'); ?></p>
<?php } ?>
</div>
</div> <!-- /center_search -->
<div id="sidebar">
<?php printSearchForm( '','searchform','',gettext('OK'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
<p class="titreBar margeTop"><?php echo gettext('Popular Tags'); ?></p>
<div id="tag_cloud">
<?php
printAllTagsAs('cloud','csstag','results',true,true,$maxfontsize = 2,$maxcount = 50, $mincount = 2,$limit = NULL, $minfontsize = 0.8);
?>
</div>
</div>
<div class="paging">
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
<?php //printPageListWithNav( gettext('&lsaquo; Previous'),gettext('Next &rsaquo;'),false,'true','pagelist','',true,'5' ); ?>
<?php } ?>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php"); ?>

BIN
css/Archive.zip Normal file

Binary file not shown.

93
css/cbStyles/colorbox.css Executable file
View File

@@ -0,0 +1,93 @@
/*
ColorBox Core Style:
The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
/*
User Style:
Change the following styles to modify the appearance of ColorBox. They are
ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
#colorbox{outline:0;}
#cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px 0;}
#cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px 0;}
#cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px -29px;}
#cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px -29px;}
#cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
#cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
#cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
#cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
#cboxContent{background:#fff; overflow:hidden;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{margin-bottom:28px;}
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
#cboxPrevious:hover{background-position:-75px -25px;}
#cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
#cboxNext:hover{background-position:-50px -25px;}
#cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
#cboxClose:hover{background-position:-25px -25px;}
/*
The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}
/*
The following provides PNG transparency support for IE6
Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
*/
.cboxIE6 #cboxTopLeft{background:url(images/ie6/borderTopLeft.png);}
.cboxIE6 #cboxTopCenter{background:url(images/ie6/borderTopCenter.png);}
.cboxIE6 #cboxTopRight{background:url(images/ie6/borderTopRight.png);}
.cboxIE6 #cboxBottomLeft{background:url(images/ie6/borderBottomLeft.png);}
.cboxIE6 #cboxBottomCenter{background:url(images/ie6/borderBottomCenter.png);}
.cboxIE6 #cboxBottomRight{background:url(images/ie6/borderBottomRight.png);}
.cboxIE6 #cboxMiddleLeft{background:url(images/ie6/borderMiddleLeft.png);}
.cboxIE6 #cboxMiddleRight{background:url(images/ie6/borderMiddleRight.png);}
.cboxIE6 #cboxTopLeft,
.cboxIE6 #cboxTopCenter,
.cboxIE6 #cboxTopRight,
.cboxIE6 #cboxBottomLeft,
.cboxIE6 #cboxBottomCenter,
.cboxIE6 #cboxBottomRight,
.cboxIE6 #cboxMiddleLeft,
.cboxIE6 #cboxMiddleRight {
_behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
}

51
css/dark.css Normal file
View File

@@ -0,0 +1,51 @@
@import url('style.css');
/* Dark-style css */
body,.caption{background-color:#e7e7e2;color:#ccc;}
#minigal .caption {background-color:transparent!important;}
h1,h2,h3,h4{color:#eee;}
.wrapper#menu,.wrapper#thumbstrip{background:#e7e7e2;}
#main-menu ul li a:hover,#main-menu ul li span:hover,#main-menu ul li a.active,#main-menu ul li.active a,.button:hover,#controls a:hover{color:#fff;}
#site-title h1 a{color:#fff;}
#search input.pushbutton:hover {background:#ccc;}
#search ul {border-color:#444;background-color:#222;}
div#album-wrap ul li a.album-thumb {border-color:#333;background:#333;}
div#album-wrap ul li a.album-thumb:hover {border-color:#444;background:#444;}
div.paging ul li{border-color:#444;}
div.paging ul li.current,div.paging ul li.current,div.paging ul a:hover {color:#fff;}
#news-cat-list .news-cat-active,a.news-cat-active {color:#fff;}
input,textarea,.disabled_input,select {color:#eee!important;background:#444!important;border-color:#000!important;}
input:hover,input:focus,textarea:hover,textarea:focus{border-color:#222!important;}
input.button:hover,input.button:focus,input[type=submit]:hover,input[type=submit]:focus,input[type=reset]:hover,input[type=reset]:focus,#rating input[type=button]:hover,#rating input[type=button]:focus{background:#111!important;color:#ccc!important;}
form strong,.errorlist li{color:red;}
#admin, #admin_data{background:#222;}
#admin h3:hover {color:#86a1b6;}
.alt-thumbs li div.zoomlink{background:#111;color:#fff;}
div.navigation a.pageLink,#pagedthumbsnav-prev a,#pagedthumbsnav-next a,.jcarousel-next-horizontal,.jcarousel-prev-horizontal {background-color:#222;}
#pagedthumbsnav-prev a:hover,#pagedthumbsnav-next a:hover,.jcarousel-next-horizontal:hover,.jcarousel-prev-horizontal:hover{background-color:#444;}
#pagedthumbsimages img:hover,.jcarousel-list li img:hover,#pagedthumbsnav-active img,.jcarousel-list li .activecarouselimage{border-color:#fff!important;}
#minigal div.navigation a.pageLink {background-color:#222;}
div.caption-container {color:#eee;}
div.photo-index {color:#888;}
div.loader {background-image:url(../images/loading.gif);}
div.slideshow img {border-color:#333;}
ul.thumbs li.selected a.thumb {background:#fff;}
.treeview a.selected,.treeview li.selected a{color:#fff!important;}
.wrapper#menu,
.breadcrumbs,
.wrapper#thumbstrip,
.wrapper#footer,
#sidebar,
div.paging,
div.extra-content,
#comment-wrap,
#comments,
#admin, #admin_data,
#minigal-thumbwrap,
div.controls,div.download,
#imagemetadata td,
.passwordform,
.comment,
div#album-wrap.withsidebar.subalbums ul
{border-color:#444;}

195
css/slideshow.css Executable file
View File

@@ -0,0 +1,195 @@
body {
background-color: #000;
font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
}
a {
text-decoration: none;
color: #aaa;
}
a:hover {
text-decoration: none;
color: #fff;
}
h4 {
margin: 25px;
font-weight: normal;
font-size: 14px;
}
.imgdesc {
margin: 25px;
font-weight: normal;
font-size: 14px;
}
#slideshowpage {
position: relative;
padding-top: 0px;
margin: 0 auto;
width: 100%;
text-align:center;
border: 0px solid white;
font-size: 0.8em;
color: #fff;
}
#slideshow {
color: white;
text-align: center;
margin: 0 auto;
padding-bottom: 30px;
}
#slideshow a img {
border: 0;
}
#controls {
position: relative;
background-color: transparent;
border: 0px solid #ddd;
text-align: center;
margin: 0 auto;
top: 0px;
padding: 0;
width: 217px;
height: 42px;
font-size: 0.8em;
}
#controls2 {
background-color: transparent;
border: 0px solid #ddd;
text-align: center;
margin: 0 auto;
padding: 0;
width: 217px;
height: 42px;
font-size: 0.8em;
}
#prev {
display: block;
width: 46px;
height: 41px;
margin: 0px;
padding: 0;
float: left;
background-image:url(slideshow-controls.png);
background-position: 0 0;
}
#prev:hover {
background-image:url(slideshow-controls.png);
background-position: 0 -43px;
}
#prev:active {
background-image:url(slideshow-controls.png);
background-position: 0 -86px;
}
#stop {
display: block;
width: 41px;
height: 41px;
margin: 0px;
padding: 0;
float: left;
background-image:url(slideshow-controls.png);
background-position: -46px 0px;
}
#stop:hover {
background-image:url(slideshow-controls.png);
background-position: -46px -43px;
}
#stop:active {
background-image:url(slideshow-controls.png);
background-position: -46px -86px;
}
#pause {
display: block;
width: 39px;
height: 41px;
margin: 0px;
padding: 0;
float: left;
background-image:url(slideshow-controls.png);
background-position: -85px 0px;
}
#pause:hover {
background-image:url(slideshow-controls.png);
background-position: -85px -43px;
}
#pause:active {
background-image:url(slideshow-controls.png);
background-position: -85px -86px;
}
#play {
display: block;
width: 41px;
height: 41px;
margin: 0px;
padding: 0;
float: left;
background-image:url(slideshow-controls.png);
background-position: -126px 0px;
}
#play:hover {
background-image:url(slideshow-controls.png);
background-position: -126px -43px;
}
#play:active {
background-image:url(slideshow-controls.png);
background-position: -126px -86px;
}
#next {
display: block;
width: 50px;
height: 41px;
margin: 0px;
padding: 0;
float: left;
background-image:url(slideshow-controls.png);
background-position: -167px 0px;
}
#next:hover {
background-image:url(slideshow-controls.png);
background-position: -167px -43px;
}
#next:active {
background-image:url(slideshow-controls.png);
background-position: -167px -86px;
}
#slides {
width: 100%;
}
.slideimage {
width: 100%;
text-align: center;
margin: 0 auto;
position: relative;
left: 0px;
}
#speedcontrol {
float:right;
}

446
css/style.css Normal file
View File

@@ -0,0 +1,446 @@
* {padding:0;margin:0;}
html {margin-bottom:1px!important;height:100%!important;height:auto;}
.clr{clear:both}
:focus{outline:none;}
img,a img{border:0;}
ul.hor-list,ul.hor-list li{display:inline;margin-left:0!important;}
body{font:12px Arial,Helvetica,sans-serif;line-height:18px;overflow:-moz-scrollbars-vertical;}
a,a:active{text-decoration:none;}
a:focus,a:hover{text-decoration:underline;}
h1,h2,h3,h4{margin:10px 0;font-family:Georgia,"Times New Roman",Times,serif;}
h1{font-size:26px;}
h2{font-size:22px;font-weight:normal;}
h3{font-size:18px;font-weight:normal;}
h4{font-size:13px;font-weight:normal;margin:5px 0 0 0;font-style:italic;}
div.wrapper{width:100%;clear:both;padding:15px 0;float:left;position:relative;}
div.centered{width:800px;margin:0 auto;padding:0 20px;}
.wrapper#menu{border-bottom:1px solid;padding:10px 0;}
.wrapper#site-title-wrap{padding:10px 0 0 0;}
.wrapper#minigal{padding:0 0 15px 0;}
.breadcrumbs{font-size:16px;font-family:Georgia,"Times New Roman",Times,serif;padding-bottom:5px;border-bottom:1px solid;overflow:hidden;}
.wrapper#thumbstrip{overflow:hidden;padding:20 0 15px 0!important;border-top:1px solid;border-bottom:1px solid;margin-top:10px;}
.wrapper#thumbstrip .centered{width:90%;overflow:hidden;padding:0!important;}
.wrapper#footer {border-top:1px solid;font-size:11px;padding-top:5px;margin-top:15px;}
#main-menu{float:left;width:100%;}
#main-menu ul{display:block;float:left;}
#main-menu ul li{margin-right:5px;padding:0;display:block;float:left;list-style-type:none;background:none;}
#main-menu ul li a,#main-menu ul li span{text-decoration:none;font-family:Georgia,"Times New Roman",Times,serif;display:block;float:left;padding:3px 7px;text-transform:uppercase;}
#main-menu ul li a:hover,#main-menu ul li span:hover{text-decoration:none;cursor:pointer;}
#main-menu ul li a.active,#main-menu ul li.active a{font-weight:bold;text-decoration:none;}
#login_menu{float:right!important;}
#login_menu li{float:right;margin-left:5px;padding:0;display:block;list-style-type:none;background:none;}
.button,#controls a{text-decoration:none;font-size:10px;text-transform:uppercase;}
.button:hover,#controls a:hover{text-decoration:underline;cursor:pointer;}
#site-title{text-align:left;margin-top:15px;}
#site-title h1{line-height:1.5;font-size:42px;font-weight:normal;}
#site-title h1 a{text-decoration:none;letter-spacing:-2px;}
#site-title h1 a:hover{text-decoration:none;}
#logo{margin:0;}
#minigal-title{margin:0;font-size:14px;font-style:italic;float:right;width:75%;text-align:right;font-family:Georgia,"Times New Roman",Times,serif;padding:0 5px 15px 0;}
#sidebar{float:right;width:200px;padding:0 0 15px 30px;border-left:1px solid;}
#sidebar h4,.extra-content h4{margin:15px 0 10px 0;}
#sidebar ul#latestnews li{list-style:none;margin-bottom:25px;}
#sidebar p.readmorelink,.latestnews-cats{display:none;}
.latestnews-desc{}
.latestnews-date{font-style:italic;font-size:11px;margin:-5px 0 5px 0;}
.withsidebar{width:550px;margin:0;clear:none;}
#album-wrap{clear:both;width:800px;margin:0 auto;}
#album-wrap.withsidebar{width:550px;margin:0;clear:none;}
div#album-wrap ul{margin:0;padding:0;overflow:hidden;}
div#album-wrap ul li{height:220px;width:246px;display:block;float:left;margin:10px 30px 10px 0;list-style-type:none;}
div#album-wrap.subalbums ul li{height:140px;}
div#album-wrap.withsidebar.subalbums ul {margin-bottom:35px;border-bottom:1px solid #444;}
div#album-wrap ul li.lastcol{margin-right:0!important;}
div#album-wrap ul li:hover {}
div#album-wrap ul li a.album-thumb {padding:3px;display:block;border:1px solid;}
div#album-wrap ul li a.album-thumb:focus {outline:none;}
div#album-wrap ul li a.album-thumb:hover {}
div#album-wrap div {margin:5px 0;}
div#album-wrap ul li h4 {margin:5px 0 0 0;}
div#album-wrap ul.subalbums li h4 {margin:0 0 0 2px;font-size:10px;text-transform:uppercase;font-style:normal;}
#slideshowlink{float:right;margin-left:15px;font-size:12px;}
#albumdesc{margin-bottom:5px;}
#navbar-prev{float:left;}
#navbar-next{float:right;}
div.paging{width:100%;border-top:1px solid;padding-top:10px;float:left;margin-top:10px;}
div.paging ul{list-style:none;float:left;}
div.paging ul li{font-size:10px;margin:0;padding:1px 5px;list-style:none;display:block;margin-right:2px;float:left;border:solid 1px;}
div.paging ul a,div#pagination ul li.current span{}
div.paging ul .disabledlink{}
div.paging ul li.current,div.paging ul li.current {display:block;}
div.paging ul a:link,div.paging ul a:visited{display:block;float:left;text-decoration:none;}
div.paging ul a:hover{}
#albumjump{float:right;}
#news-cat-list,.news-cat-list {font-size:10px;list-style-image:none;margin:0 0 20px 0!important;padding:0!important;list-style-position:outside;list-style-type:none;}
#news-cat-list li,.news-cat-list li{margin:0!important;padding:0!important;text-transform:uppercase;}
#news-cat-list a {}
#news-cat-list small{font-size:9px;}
#news-cat-list .news-cat-active,a.news-cat-active {text-decoration:underline;}
.readmorelink{display:none;}
#img-sidebar{float:left;width:275px;}
#img-full{float:right;width:490px;}
#img-wrap{margin-bottom:15px;}
.img-desc{margin:10px 0;}
.img-date{font-style:italic;}
#imagemetadata{margin:10px 0 20px 0;}
.metadata_title{display:block;font-weight:bold;margin-bottom:5px;}
#imagemetadata td {padding:3px 0;border-bottom:1px solid;}
#img-prev-left{float:left;text-align:right;}
#img-next-right{float:right;text-align:left;}
div#post{text-align:left;margin:0 0 20px 0;}
div#post p,div#post ul,div#post ol,div#post pre{margin-bottom:15px;}
div#post ul ul,div#post ol ol{margin-bottom:0;}
div#post ul,div#post ol{margin-left:25px;}
div#post blockquote{margin-bottom:15px;font-family:Georgia,Serif;font-size:13px;font-style:italic;}
div.extra-content{width:210px;float:right;margin:0 0 20px 25px;padding-left:25px;border-left:1px solid;}
div.extra-content ul{margin-left:0!important;padding:0!important;}
div.news-truncate{clear:left;}
div.newsarticlecredit{margin:-5px 0 10px 0;font-style:italic;font-size:11px;}
.zenpage_customimage_right,.zenpage_thumb_right{float:right;margin:0 0 15px 20px;}
.zenpage_customimage_left,.zenpage_thumb_left{float:left;margin:0 20px 15px 0;}
#foot-left{float:left;margin:5px 0 20px 0;}
#foot-right{float:right;margin:5px 0 20px 0;}
ul.flags{margin:5px 0 15px -5px;}
form td{padding:5px;vertical-align:top;text-align:left;}
input,textarea,.disabled_input,select {font-size:11px;font-weight:normal!important;border:1px solid!important;padding:4px 5px!important;}
input:hover,input:focus,textarea:hover,textarea:focus{border:1px solid!important;}
input.button:hover,input.button:focus,input[type=submit]:hover,input[type=submit]:focus,input[type=reset]:hover,input[type=reset]:focus,#rating input[type=button]:hover,#rating input[type=button]:focus{cursor:pointer!important;}
form strong{font-weight:bold;}
#rating-wrap{margin:5px 0 15px 0;}
#rating-wrap form{float:left;margin-right:10px;}
#comment-wrap{overflow:hidden;position:relative;text-align:left;clear:both;margin:10px 0 20px 0;padding-top:10px;border-top:1px solid;}
#comment-wrap h3{font-size:14px;font-style:italic;}
#comment-wrap h4{font-size:12px;font-style:italic;}
#commententry{text-align:left;width:450px;}
#commentcontent h3:first-child{float:right;}
#comments{position:absolute;top:60px;right:0;width:350px;}
#comment_toggle{margin-bottom:10px;float:right;}
.comment,#showlatestcomments li{margin-bottom:13px;padding-bottom:13px;border-bottom:1px solid;}
.commentinfo h4{margin-bottom:3px;}
#commentform {text-align:left;}
#commentform table{float:left;width:400px;}
#commentform table td{padding:2px 10px 2px 0;text-align:left;}
#commentform .pushbutton{margin-top:10px;margin-bottom:15px;padding:3px 10px;float:left;}
#commentform textarea{width:370px;float:left;}
#commentform .inputbox{width:200px;}
.errorlist{list-style-position:inside;margin-left:10px;}
#admin, #admin_data{position:fixed;right:0px;top:0px;width:120px;border-bottom:1px solid;border-left:1px solid;z-index:2;padding:2px;}
#admin_data{top:10px;padding-top:20px;z-index:1;line-height:1.6em;}
#admin_data ul{padding:5px 0;}
#admin h3 {font-weight:normal;font-size:13px;margin:0;padding:3px;}
form#mailform{}
form#mailform table{margin:15px 0;}
form#mailform table td{text-align:left;}
.alt-thumbs{clear:left;}
.alt-thumbs li{position:relative;list-style:none;display:inline-block;vertical-align:top;text-align:center;margin:0 20px 20px 0;zoom:1;*display:inline; /* Last two for stupid IE */}
.zoom-overlay{position:absolute;top:4px;right:0;width:100%;display:block;text-align:center;}
#archive-bar {width:540px;height:60px;margin-top:-15px;}
#album-jump{float:right}
#album-jump select option{padding:0 5px;}
#search-top{float:left;margin:0;width:280px;}
/* Search Box
------------------------------ */
#search {float:left;text-align:left;margin:0;padding:0;position:relative;}
#search_input{width:165px;float:left;}
#search input.pushbutton {font:11px/16px arial,helvetica,sans-serif;padding:3px 8px!important;}
#search input.pushbutton:hover {cursor:pointer;}
#search a {text-decoration:none;}
#search a img{float:left;margin:0 2px;}
#search ul {border-left:1px solid;border-right:1px solid;border-bottom:1px solid;position:absolute;left:0;z-index:1000;text-align:left;list-style:none;margin:-2px 0 0 0;overflow:visible;padding:10px;}
#searchfields_icon {}
.passwordform{margin:10px;padding:10px;border:1px solid;}
#tag_cloud {}
#tag_cloud ul li {display:inline;list-style-type:none;}
/* Paged thumbs nav plugin & jCarousel plugin*/
#pagedthumbsnav {width:490px;height:85px;}
#pagedthumbsimages img,.jcarousel-list li img {padding:0px;margin:0 5px;float:left;border:1px solid transparent;}
#pagedthumbsimages img:hover,.jcarousel-list li img:hover {border:1px solid;}
#pagedthumbsnav-active img {border: 1px solid;}
#pagedthumbsnav-prev a,.jcarousel-prev-horizontal {background-image: url(../images/arrow-left.png);}
#pagedthumbsnav-next a,.jcarousel-next-horizontal {background-image: url(../images/arrow-right.png);}
#pagedthumbsnav-prev a,#pagedthumbsnav-next a,.jcarousel-next-horizontal,.jcarousel-prev-horizontal {
width: 16px;
width:25px;
height: 67px;
line-height: 67px;
display: block;
position: relative;
margin: 0 3px;
padding:0 6px;
background-position:center center;
background-repeat:no-repeat;
}
#pagedthumbsnav-prev {float: left;margin-right:10px;}
#pagedthumbsnav-next {float: right;}
#pagedthumbsnav-prevdisabled,#pagedthumbsnav-nextdisabled {display:none;}
.jcarousel-container{width:385px;margin:0 auto;height:85px;}
.jcarousel-clip {width:385px;height: 85px;margin: 0 auto;}
.jcarousel-list {height: 85px;margin-top:0px;}
.jcarousel-list li { width:65px;height:85px;margin:0 1px;}
.jcarousel-next-horizontal {position:absolute;top:0;right:-55px;cursor:pointer;}
.jcarousel-prev-horizontal {position: absolute;top:0;left:-55px;cursor:pointer;}
.jcarousel-next-disabled-horizontal,
.jcarousel-next-disabled-horizontal:hover,
.jcarousel-next-disabled-horizontal:active,
.jcarousel-prev-disabled-horizontal,
.jcarousel-prev-disabled-horizontal:hover,
.jcarousel-prev-disabled-horizontal:active {visibility:hidden;}
/* Galleriffic */
div.container {overflow: hidden;display:none;}
#homegal-wrap{width:100%;position:relative;clear:both;}
#home-left{position:absolute;width:360px;width:362px;top:0;left:0;}
#home-right{position:absolute;width:415px;width:417px;top:0;right:0;}
#minigal-thumbwrap{position:absolute;left:-7px;bottom:0;width:360px;padding-bottom:20px;border-bottom:1px solid;}
div.content,#minigal {display: none;clear: both;position:relative;}
div.content a, div.navigation a {text-decoration: none;}
div.navigation a.pageLink {height: 77px;line-height: 77px;} /*overriden in header.php*/
#minigal div.navigation a.pageLink {height: 67px;line-height: 67px;}
div.controls {margin-top: 10px;height: 23px;padding-top:5px;border-top:1px solid;}
div.ss-controls,.details-link {float: left;}
div.nav-controls,.download-link {float: right;}
div.nav-controls .next{margin-left:10px;}
div.slideshow-container,
div.loader,
div.slideshow a.advance-link {width: 480px; /* This should be set to be at least the width of the largest image in the slideshow with padding */}
#minigal div.slideshow-container,
#minigal div.loader,
#minigal div.slideshow a.advance-link {width: 415px;width:417px; /* This should be set to be at least the width of the largest image in the slideshow with padding */}
div.loader,
div.slideshow a.advance-link,
div.caption-container {height: 480px; /* This should be set to be at least the height of the largest image in the slideshow with padding */}
#minigal div.loader,
#minigal div.slideshow a.advance-link,
#minigal div.caption-container {height: 261px; /* This should be set to be at least the height of the largest image in the slideshow with padding */}
div.slideshow-container {
position: relative;
clear: both;
float: right;
height: 480px;
}
#minigal div.slideshow-container {height: 261px;}
div.loader {
position: absolute;
top: 0;
left: 0;
background-image: url(../images/loader.gif);
background-repeat: no-repeat;
background-position: center;
}
div.slideshow span.image-wrapper {
display: block;
position: absolute;
top: 0;
left: 0;
}
#minigal div.slideshow span.image-wrapper {
right: 0;
}
div.slideshow a.advance-link {
display: block;
line-height: 480px; /*This should be set to be at least the height of the largest image in the slideshow with padding */
text-align: center;
}
#minigal div.slideshow a.advance-link {
line-height: 261px; /*This should be set to be at least the height of the largest image in the slideshow with padding */
cursor:default;
text-align:right;
}
div.slideshow a.advance-link:focus {outline: none;}
div.slideshow img {/*border-style: solid;border-width: 3px;*/}
div.caption-container {float: left;position: relative;}
#minigal div.caption-container {position: absolute;top:0;right:0;float:none;}
span.image-caption {display: block;position: absolute;bottom:5px;left: 0;overflow:hidden;background:url(../images/iefill.gif);}
#minigal span.image-caption {bottom:3px;left: 5px;}
div.caption-container, span.image-caption {width: 275px;}
#minigal div.caption-container, #minigal span.image-caption {width: 415px;}
div.image-title {font-weight: bold;font-size: 16px;margin-bottom:5px;}
div.image-desc {margin-bottom: 5px;}
div.download {margin-top: 10px;overflow:hidden;padding-top:5px;border-top:1px solid;}
#minigal div.download {
width:415px;
}
#minigal div.download a{
display:block;
width:415px;
}
div.photo-index {
position: absolute;
bottom: 0;
left: 0;
padding: 0 12px;
}
div.navigation-container {
float: left;
position: relative;
left: 50%;
}
div.navigation {
float: left;
position: relative;
left: -50%;
}
div.navigation a.pageLink {
display: block;
position: relative;
float: left;
margin: 2px 3px;
width: 16px;
padding:0 6px;
background-position:center center;
background-repeat:no-repeat;
}
#minigal div.navigation a.pageLink {
display: block;
position: relative;
float: left;
margin: 0 3px 0 0;
width: 16px;
padding:0 6px;
background-position:center center;
background-repeat:no-repeat;
}
div.navigation a.pageLink:focus {
outline: none;
}
ul.thumbs {
position: relative;
float: left;
margin: 0;
padding: 0;
}
ul.thumbs li {
float: left;
padding: 0;
margin: auto 2px;
list-style: none;
}
a.thumb {
padding: 1px;
display: block;
}
a.thumb:focus {
outline: none;
}
ul.thumbs img {
border: none;
display: block;
}
div.gallery-gutter {
clear: both;
padding-bottom: 20px;
}
div.navigation a.prev {background-image: url(../images/arrow-left.png);}
div.navigation a.next {background-image: url(../images/arrow-right.png);}
#cbCover {position:absolute;left:0;top:0;width:100%;height:100%;}
/* END Galleriffic */
/* Treeview */
.treeview, .treeview ul {
padding: 0;
margin: 0;
list-style: none;
line-height:1;
}
.treeview ul {
margin-top: 4px;
}
.treeview .hitarea {
background: url(../images/treeview-default.gif) -64px -25px no-repeat;
height: 16px;
width: 16px;
margin-left: -16px;
float: left;
cursor: pointer;
}
/* fix for IE6 */
* html .hitarea {
display: inline;
float:none;
}
.treeview li {
margin: 0;
padding: 5px 0 5px 16px;
}
.treeview li li{
margin: 0;
padding: 5px 0 5px 20px;
}
#treecontrol { margin: 1em 0; display: none; }
.treeview .hover { cursor: pointer; }
.treeview li { background: url(../images/treeview-default-line.gif) 0 0 no-repeat; }
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }
.treeview .expandable-hitarea { background-position: -80px -3px; }
.treeview li.last { background-position: 0 -1766px }
.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(../images/treeview-default.gif); }
.treeview li.lastCollapsable { background-position: 0 -111px }
.treeview li.lastExpandable { background-position: -32px -67px }
.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }
.clearfix:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
* html .clearfix { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

505
css/theme.css Normal file
View File

@@ -0,0 +1,505 @@
p {
margin: 0;
padding: 0;
}
h4 {
margin: 0;
padding: 0;
}
a img {
padding: 0;
}
.center_albums {
width: 890px;
margin-right: auto;
margin-left: auto;
}
.center_search {
float: left;
width: 72%;
margin-left: 15px;
}
#sidebar {
margin-left: 75%;
padding-right: 20px;
top: 184px;
}
#sidebar h4{
padding-bottom: 10px;
margin-bottom: 20px;
}
#sidebar ul {
}
ul#listArchive, #pages ul {
list-style-type: none;
}
ul#listArchive li, #pages li {
padding-left:22px;
background: url(../images/icon_bullet.png) 0 5px no-repeat;
line-height: 24px;
}
ul#listArchive li a, #pages li a {
text-decoration: none;
}
ul#listArchive li a:hover, #pages li a:hover {
text-decoration: underline;
}
.titreBar{
color: #736c4d;
text-shadow: 0px 0px 3px #d9d3c1;
font: normal large "Lucida Grande", Lucida, Verdana, sans-serif;
padding-bottom: 10px;
border-bottom-style: solid;
border-bottom-width: thin;
margin-bottom: 20px;
}
.margeTop {
margin-top: 2em;
}
#albums {
}
#latest {
float: left;
margin-bottom: 2em;
}
#txt {
float: left;
margin-bottom: 2em;
padding-top: 180px;
margin-right: 1em;
}
#info {
float: left;
width: 42%;
}
ul#links {
clear: both;
list-style-type: none;
}
/* headline */
#headline {
padding: 0;
float: left;
}
#headline h3 {
margin-bottom: 1em;
}
.headline-text {
margin-left: 1em;
}
.clear {
clear: both;
margin-top: 2em;
padding-top: 2em;
}
/* paging */
div.paging{width:100%;padding-top:10px;float:left;margin-top:10px;
margin-bottom: 10px;
}
div.paging ul{list-style:none;float:left;}
div.paging ul li{font-size:10px;margin:0;padding:1px 5px;list-style:none;display:block;margin-right:2px;float:left;border:solid 1px #d7d8d4;}
div.paging ul a,div#pagination ul li.current span{}
div.paging ul .disabledlink{}
div.paging ul li.current,div.paging ul li.current {display:block;}
div.paging ul a:link,div.paging ul a:visited{display:block;float:left;text-decoration:none;}
div.paging ul a:hover{}
#albumjump{
float:right;
margin-right: 20px;
}
#albumjump404{
padding: 20px;
margin-top: 20px;
margin-right: 20px;
margin-left: 20px;
color: black;
}
#albumjump404 select{
margin-left: 10px;
}
#albumjump404 p{
margin: 0;
padding: 0 0 12px;
}
/* prec / suiv */
.imgnav, #slideshowlink {
float: right;
position: relative;
width: 140px;
text-align: center;
}
/*
.imgnav {
float: right;
width: 140px;
text-align: center;
margin-top: 5px;
color: #0c2601;
padding: 0;
margin: 0;
}
*/
.imgnav .imgprevious a, .imgnav .imgnext a {
font: normal 16px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
display: block;
width: 50%;
height: 100%;
float: left;
text-decoration: none;
color: #666;
}
.imgnav .imgprevious a:hover, .imgnav .imgnext a:hover {
text-decoration: none;
color: #aaa;
}
.imgnav .imgprevious a {
float: left;
}
.imgnav .imgnext a {
float: right;
}
/* image.php */
.desc_image {
text-align: center;
margin-top: 1em;
margin-bottom: 2em;
}
#idtag {
margin-left: 15em;
}
ul.hor-list,ul.hor-list li{
display:inline;
margin-left:0!important;
padding-left:0!important;
}
#narrow {
margin: 2em auto 0;
width: 530px;
padding-bottom: 1em;
}
/* menu onglet image.php */
#mes_contenus{
width: 550px;
margin: 0;
padding: 0;
}
#mes_onglets{
width: 550px;
margin: 0;
padding: 0;
font-size: 9pt;
}
#mes_onglets ul{
list-style: none;
padding: 0;
margin: 0;
}
#mes_onglets li {
}
#mes_onglets li a {
text-decoration: none;
color: #666;
}
#mes_onglets li a:hover {
color: #222;
}
.mon_onglet{
float: left;
padding: 4px 8px;
/*margin-right: 5px;*/
margin-bottom: -1px;
/*color: #9C3;*/
color: #666;
cursor: pointer;
-moz-border-radius: 5px 5px 0 0;
-khtml-border-radius: 5px 5px 0 0;
-webkit-border-radius: 5px 5px 0 0;
border-radius: 5px 5px 0 0;
}
.mon_onglet:hover{
/*color: #7a2;*/
color: #222;
background: #e7e7e2;
}
.mon_onglet_selected{
float: left;
padding: 4px 6px;
/*margin-right: 5px;*/
margin-bottom: -1px;
background: #f3f3ef;
cursor: pointer;
font-weight: bold;
-moz-border-radius: 5px 5px 0 0;
-khtml-border-radius: 5px 5px 0 0;
-webkit-border-radius: 5px 5px 0 0;
border-radius: 5px 5px 0 0;
}
/* copier l'URL */
#d_clip_button {
width: 50px;
text-align: left;
margin: 0px;
padding: 0px;
text-decoration: none;
color: #666;
}
#d_clip_button.hover { text-decoration: none; color: #222;
background-color: #f3f3ef;
}
#d_clip_button.active { text-decoration: none; color: #666; }
.mon_contenu{
background: #f3f3ef;
padding: 10px;
font-size: 9pt;
}
#exifdata table {
width: 100%;
}
#exifdata td {
text-align: center;
padding: 2px;
}
/* footer */
#footer {
font: 8pt "Lucida Grande", Lucida, Verdana, sans-serif;
}
#foot-left{float:left;margin:5px 0 20px 10px;}
#foot-right{float:right;margin:5px 10px 20px 0;}
/* admin */
#admin, #admin_data{
position:fixed;right:0px;top:0px;width:120px;border-bottom:1px solid;border-left:1px solid;z-index:2;padding:2px;
}
#admin_data{
top:10px;padding-top:20px;z-index:1;line-height:1.6em;
}
#admin_data ul{
padding:5px 0;
}
#admin h3 {
font-weight:normal;font-size:13px;margin:0;padding:3px;
}
/* Search Box
------------------------------ */
#search {float:left;text-align:left;margin: 0 0 1em;padding:0;position:relative;
}
#search_input{width:130px;float:left;
background: url(../images/search_icon.gif) no-repeat 5px 5px!important;padding-left:20px!important;
}
#search input.pushbutton {
/*font:11px/16px arial,helvetica,sans-serif;padding:3px 8px!important;
visibility: hidden;
*/
width:20px; height: 20px;border:0;background: transparent url(../images/search2.png) no-repeat 0 4px; text-indent: -9999px; cursor:pointer;
}
#search input.pushbutton:hover {cursor:pointer;}
#search a {text-decoration:none;}
#search a img{float:left;margin:0 2px;border: 0;}
#searchform ul {border-left:1px solid;border-right:1px solid;border-bottom:1px solid;/*position:absolute;left: 5px;*/z-index:1000;text-align:left;list-style:none;overflow:visible;padding:10px;
background-color: #f8f8f4;
opacity: 1;
font: 8pt "Lucida Grande", Lucida, Verdana, sans-serif;
border-color: #ccc;
margin: 0;
}
#searchform {
margin-bottom: 2em;
}
#searchform img {
border-style: none;
vertical-align: middle;
margin: 0;
padding: 0;
}
#searchfields_icon {
}
.tagMatches {
position:absolute;
z-index: 1001;
top: 25px;
right: 60px;
background-color: #f8f8f4;
}
._tag_suggestion {
background-color: transparent!important;
padding-left: 10px;
}
ul#links {
}
ul#searchextrashow {
width: 170px;
}
ul#searchextrashow li, ul#searchextrashow li:hover {
letter-spacing: 0px;
margin-left: 0px;
margin-top: 0;
font: 10pt "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}
ul#searchextrashow li:hover {
}
/* tags */
#tag_cloud {
padding: 0;
margin-top: 15px;
}
/*
#tag_cloud ul {
padding: 0;
}
#tag_cloud ul li {
display:inline;
list-style-type:none;
font-size: smaller;
}
*/
ul.hor-list, ul.hor-list li {
display: inline;
margin-left: 0 !important;
margin-right: 2px;
padding-right: 0;
padding-left: 0;
}
/* loupe colorbox */
div.album-tools{
position: absolute;
z-index: 99;
opacity: 0.5;
}
div.album-tools:hover{
opacity: 1;
}
a.album-tool img{border:0;}
a.album-tool{display:block;}
/* password */
.post {
margin-top: 13em;
margin-right: 6em;
margin-left: 6em;
-webkit-border-radius: 12px 12px 8px 8px;
-moz-border-radius: 12px 12px 8px 8px;
border-radius: 12px 12px 8px 8px;
border: thin solid #a0966c;
padding: 1em;
}
.post p {
padding-bottom: 2em;
}
/* comment */
#comments {
margin-right: 1em;
margin-left: 1em;
}
.comment {
background-color: #e6e7e2;
margin-bottom:8px;
padding: 2px 8px;
}
#commentcontent h3 {
display: none;
}
.commentinfo h4 {
font-size: 10pt;
margin-top: 4px;
}
.commenttext {
margin-bottom: 8px;
margin-top: 2px;
}
#commententry {
margin-top: 3em;
margin-right: 1em;
margin-left: 1em;
}
.addComment {
font-size: 12pt;
margin-bottom: 12px;
}
.inputbox {
width: 200px;
padding: 2px;
margin-bottom: 5px !important;
margin-left: 8px;
}
.disabled_input {
padding: 2px;
margin-left: 8px;
margin-bottom: 4px;
}
.textarea_inputbox {
width: 80%;
}
/* */
#info ul {
list-style-type: none;
}
#info li {
font: 18pt "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
letter-spacing: 3px;
clear: both;
}
#info li a {
text-decoration: none;
}
#info li:hover {
letter-spacing: 8px;
}
#txt {
font: 14pt "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
letter-spacing: 2px;
}
/* page.php */
#post h2 {
margin-bottom: 16px;
}
#post ul {
list-style-type: disc;
padding-left: 1em;
}
#post li {
}
#post p {

96
favorites.php Normal file
View File

@@ -0,0 +1,96 @@
<?php include ("header.php"); ?>
<div id="main">
<div class="center_albums">
<div id="headline">
<h3>
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
<a href="<?php echo html_encode(getGalleryIndexURL()); ?>" title="<?php echo gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
<?php printParentBreadcrumb(" » ", " » ", " » "); ?><?php printAlbumTitle(true); ?>
</h3>
<div class="headline-text"><?php printAlbumDesc(true); ?></div>
</div>
<?php if (getNumImages() > 0) { ?>
<div id="slideshowlink">
<?php $x=0; while (next_image(true)):
if ($x>=1) { $show=' style="display:none;"'; } else { $show='';} ?>
<?php if (!isImageVideo()) { ?>
<a class="slideshowlink"<?php echo $show; ?> rel="slideshow" href="<?php echo htmlspecialchars(getFullImageURL());?>" title="<?php echo getBareImageTitle();?>"><?php echo gettext('Play Slideshow'); ?></a>
<?php $x=$x+1; $imagepresent=true; } else { $x=$x; $videopresent=true;} ?>
<?php endwhile; ?>
</div>
<?php }
?>
<p class="clear"></p>
<div id="albums">
<?php while (next_album()): ?>
<div class="album">
<div class="thumb">
<!-- ZP 1.4.6 getAlbumURL() remplace getAlbumLinkURL() -->
<a class="wraptocenter" href="<?php echo html_encode(getAlbumURL());?>" title="<?php echo gettext('View album:'); ?> <?php echo getAnnotatedAlbumTitle();?>">
<?php //printAlbumThumbImage(getAnnotatedAlbumTitle());
printHDAlbumThumbImage(true, NULL, NULL, NULL, NULL);
?>
</a>
</div>
<div class="albumdesc">
<span class="nom_albumdesc"><a href="<?php echo html_encode(getAlbumURL());?>" title="<?php echo gettext('View album:'); ?> <?php echo getAnnotatedAlbumTitle();?>"><?php printAlbumTitle(); ?></a></span>
</div>
<?php printAddToFavorites($_zp_current_album, '', gettext('Remove')); ?>
<p style="clear: both; "></p>
</div>
<?php endwhile; ?>
</div>
<p style="clear: both; "></p>
<br />
<div id="albums">
<?php while (next_image()): ?>
<div class="album">
<div class="thumb">
<!-- ZP 1.4.6 getImageURL() remplace getImageLinkURL() -->
<a class="wraptocenter" href="<?php echo htmlspecialchars(getImageURL()); ?>" title="<?php echo getBareImageTitle(); ?>">
<?php
//printImageThumb(getAnnotatedImageTitle());
//printHDImageThumb(NULL,true,NULL,NULL,NULL,NULL);
printHDImageThumb(true,NULL,NULL,NULL,NULL);
?>
</a>
</div>
<div class="albumdesc">
<span class="nom_albumdesc"><!--a href="<?php echo htmlspecialchars(getImageURL());?>" title="<?php echo gettext('View image:'); ?> <?php echo getBareImageTitle(); ?>"><?php printImageTitle(); ?></a--></span>
</div>
<?php printAddToFavorites($_zp_current_image, '', gettext('Remove')); ?>
<p style="clear: both; "></p>
</div>
<?php endwhile; ?>
</div>
</div> <!-- /center_albums -->
<div class="paging">
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
<?php printPageListWithNav("« " . gettext("prev"), gettext("next") . " »",false,'true','pagelist','',true,'5' ); ?>
<?php } ?>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php");
//echo $_zp_current_album; ?>

69
footer.php Normal file
View File

@@ -0,0 +1,69 @@
<div id="footer">
<div class="centered">
<div id="foot-left">
<div id="copyright">
<?php
$host = $_SERVER["HTTP_HOST"];
//if (($host == "macbook.local") or ($host == "localhost")) $license = "?page_id=122";
//if ($host == "clicclac.info") $license = "license-des-photos";
$license = "license-des-photos";
?>
<p><?php printZenphotoLink(); ?> | &copy; <?php echo getBareGalleryTitle(); ?>, <?php echo gettext('all rights reserved'); ?>
| <a href="http://<?php echo $_SERVER["HTTP_HOST"] . '/wordpress/' . $license; ?>" title="<?php echo gettext('Photo\'s licence'); ?>"><?php echo gettext("Photo's licence"); ?></a>
| <a href="<?php echo getCustomPageURL('archive'); ?>" title="<?php echo gettext('Archives, Tag cloud, 10 recents pictures...'); ?>"><?php echo gettext("Archive View"); ?></a>
| <?php if (function_exists('printFavoritesURL')) {
printFavoritesURL(NULL, '', ' | ', '<br />');
}
?>
<?php
if (class_exists('mobileTheme')) {
//echo "|";
mobileTheme::controlLink();
}
?>
</p>
</div>
</div>
<div id="foot-right">
<div id="rsslinks">
<?php
if (($_zp_gallery_page == 'album.php') || ($_zp_gallery_page == 'gallery.php') || ($_zp_gallery_page == 'index.php')) {
echo '<span>' . gettext('Subscribe: ') . '</span>';
if (class_exists('RSS')) printRSSLink('Album', '', gettext('Album RSS'), '');
}
if ($_zp_gallery_page == 'image.php') {
echo '<span>' . gettext('Subscribe: ') . '</span>';
if (class_exists('RSS')) printRSSLink('Gallery', '', 'RSS', '');
}
?>
</div>
</div>
</div>
</div>
</div>
<?php //printAdminToolbox(); ?>
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//<?php echo $_SERVER['SERVER_NAME']; ?>/piwik/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 1]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//<?php echo $_SERVER['SERVER_NAME']; ?>/piwik/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
<?php zp_apply_filter('theme_body_close'); ?>
</body>
</html>

98
gallery.php Normal file
View File

@@ -0,0 +1,98 @@
<?php include ("header.php"); ?>
<div id="main">
<div class="center_albums">
<div id="info">
<!--div id="search"-->
<?php //printSearchForm("","search","",gettext("Search gallery")); ?>
<?php printSearchForm( '','searchform','',gettext('Search'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
<!--/div-->
<ul>
<li><a href="?p=pages&title=a-propos" title="<?php echo gettext('About'); ?>"><?php echo gettext('About'); ?></a></li>
<li><a href="?p=archive" title="<?php echo gettext('Archive'); ?>"><?php echo gettext('Archive'); ?></a></li>
<li><a href="../wordpress/contact/" title="<?php echo gettext('Contact'); ?>"><?php echo gettext('Contact'); ?></a></li>
<li><a href="?p=pages&title=materiels" title="<?php echo gettext('Materiels'); ?>"><?php echo gettext('Materiels'); ?></a></li>
</ul>
</div>
<div id="txt">
<a href="?p=archive&amp;option=latest-mtime"><?php echo gettext('Latest images...'); ?></a>
</div>
<div id="latest">
<!--h2><?php echo ucfirst(gettext('latest')); ?> images:</h2>
<br clear="all" /-->
<?php //printLatestImagesByDateMod(4,'',false,false,false,40,'',180,180,false,false); ?>
<?php /*$images = getImageStatistic(8, 'latest');
foreach ($images as $image) { ?>
<div class="album">
<div class="thumb">
<a class="wraptocenter" href="<?php echo html_encode($image->getCustomImage(null,412,$minigalimageheight,412,$minigalimageheight,null,null,true)); ?>" title="<?php echo html_encode($image->getTitle()); ?>">
<img src="<?php echo html_encode($image->getCustomImage(null,65,65,65,65,null,null,true)); ?>" alt="<?php echo html_encode($image->getTitle()); ?>" />
</a>
</div>
</div>
<?php }*/ ?>
<div id="random-wrap">
<?php
if ((in_context(ZP_ALBUM)) || (in_context(ZP_IMAGE))) {
printRandomImagesCustom(5,'','album','',300,300,true);
} else {
//printLatestImagesCustom(5,'','latest',300,200,true);
printHDLatestImagesCustom(5,'','latest',300,200,true);
} ?>
</div>
</div>
<p style="clear: both; "></p>
<div id="albums">
<?php while (next_album()): ?>
<div class="album">
<div class="thumb">
<a class="wraptocenter" href="<?php /*echo html_encode(getAlbumLinkURL());*/echo html_encode(getAlbumURL()); ?>" title="<?php echo gettext('View album:'); ?> <?php echo getAnnotatedAlbumTitle();?>">
<?php //printAlbumThumbImage(getAnnotatedAlbumTitle()); ?>
<?php //printAlbumHDThumbImage(true, NULL, NULL, NULL); // moi ?>
<?php printHDAlbumThumbImage(true, NULL, NULL, NULL, NULL); ?>
</a>
</div>
<div class="albumdesc">
<span class="nom_albumdesc"><a href="<?php /*echo html_encode(getAlbumLinkURL());*/echo html_encode(getAlbumURL()); ?>" title="<?php echo gettext('View album:'); ?> <?php echo getAnnotatedAlbumTitle();?>"><?php printAlbumTitle(); ?></a></span>
</div>
<p style="clear: both; "></p>
</div>
<?php endwhile; ?>
</div>
</div>
<p class="clear" />
<div id="tag_cloud">
<?php //printAllTagsAs('cloud','csstag','results',true,true,$maxfontsize = 2,$maxcount = 50, $mincount = 2,$limit = NULL, $minfontsize = 0.8);
printAllTagsAs('cloud', 'hor-list', 'abc', false, true, 1.6, 20, 5, 40, 0.6);
?>
</div>
<div class="paging">
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
<?php printPageListWithNav("« " . gettext("prev"), gettext("next") . " »",false,'true','pagelist','',true,'5' ); ?>
<?php } ?>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php"); ?>

201
header.php Normal file
View File

@@ -0,0 +1,201 @@
<?php header("Content-type: text/html; charset=utf-8");
//setThemeDomain("photoblog2");
setupDomain("photoblog2", "theme"); // ZP 1.4.6
if (!defined('WEBPATH')) die();
include ('theme-functions.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php echo getOption('charset'); ?>" />
<meta name="description" content="blabla" />
<meta name="keywords" content="Photo, oiseaux, paysages, nature, animaux, moto, superbike, motogp" />
<meta name="language" content="fr" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="robots" content="follow, all" />
<title>
<?php
//$host = 'http://' . $_SERVER['HTTP_HOST'];
$host = (($_SERVER['HTTPS'] != "") ? "https" : "http") . '://' . $_SERVER['HTTP_HOST'];
echo getBareGalleryTitle();
if (($_zp_gallery_page == 'index.php') || ($_zp_gallery_page == 'gallery.php')) {echo " | ".gettext('Welcome to ClicClac.info');}
if ($_zp_gallery_page == 'album.php') {echo " | ".getBareAlbumTitle();}
if ($_zp_gallery_page == 'image.php') {echo " | ".getBareAlbumTitle(); echo " | ".getBareImageTitle(); }
if ($_zp_gallery_page == 'contact.php') {echo " | ".gettext('Contact');}
if ($_zp_gallery_page == 'pages.php') {echo " | ".getBarePageTitle();}
if ($_zp_gallery_page == 'archive.php') {echo " | ".gettext('Archive View');}
if ($_zp_gallery_page == 'password.php') {echo " | ".gettext('Password Required...');}
if ($_zp_gallery_page == '404.php') {echo " | ".gettext('404 Not Found...');}
if ($_zp_gallery_page == 'search.php') {echo " | ".gettext('Search: ').getSearchWords();}
if ($_zp_gallery_page == 'news.php') {echo " | ".gettext('News');}
if (($_zp_gallery_page == 'news.php') && (is_NewsArticle())) {echo " | ".getBareNewsTitle();}
?>
</title>
<link rel="Shortcut Icon" href="<?php echo $host; ?>/photoblog/images/favicon.ico" type="image/x-icon" />
<style type="text/css" media="screen">
<!-- @import url( <?php echo $host; ?>/wordpress/wp-content/themes/twentyten/style.css ); -->
<!-- @import url( <?php echo $host; ?>/wordpress/wp-content/themes/twentyten-child/style.css ); -->
<!-- @import url( <?php echo $host; ?>/photoblog/photoblog.css ); -->
</style>
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/css/theme.css" type="text/css" media="screen"/>
<?php zp_apply_filter('theme_head'); ?>
<style type="text/css">
.wraptocenter {
display: table-cell!important;
text-align: center!important;
vertical-align: middle!important;
width: 200px;
height: 200px;
}
.wraptocenter * {
vertical-align: middle!important;
}
/*\*//*/
.wraptocenter {
display: block;
}
.wraptocenter span {
display: inline-block;
height: 100%;
width: 1px;
}
</style>
<!--[if IE]><style>
.wraptocenter span {
display: inline-block;
height: 100%;
}
</style><![endif]-->
<?php if (($_zp_gallery_page == 'album.php') || ($_zp_gallery_page == 'gallery.php') || ($_zp_gallery_page == 'index.php') || ($_zp_gallery_page == 'search.php') || ($_zp_gallery_page == 'archive.php') || ($_zp_gallery_page == 'image.php') || ($_zp_gallery_page == 'favorites.php')) { ?>
<script src="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/zp-extensions/colorbox_js/jquery.colorbox-min.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/css/cbStyles/colorbox.css" type="text/css" media="screen" />
<script type="text/javascript">
//<![CDATA[
/**/
$(document).ready(function(){
$("a[rel='zoom']").colorbox({slideshow:true, slideshowSpeed:3000, slideshowAuto:false, maxWidth:"98%", maxHeight:"98%", photo:true});
});
//]]>
</script>
<script src="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/zp-extensions/slideshow/jquery.cycle.all.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("a[rel='zoom']").colorbox({
slideshow:false,
slideshowStart:'<?php echo gettext('start slideshow'); ?>',
slideshowStop:'<?php echo gettext('stop slideshow'); ?>',
current:'<?php echo gettext('image {current} of {total}'); ?>', // Text format for the content group / gallery count. {current} and {total} are detected and replaced with actual numbers while ColorBox runs.
previous:'<?php echo gettext('previous'); ?>',
next:'<?php echo gettext('next'); ?>',
close:'<?php echo gettext('close'); ?>',
transition:'fade',
maxHeight:'90%',
photo:true,
maxWidth:'90%'
});
$("a[rel='slideshow']").colorbox({
slideshow:true,
slideshowSpeed:2500,
slideshowStart:'<?php echo gettext('start slideshow'); ?>',
slideshowStop:'<?php echo gettext('stop slideshow'); ?>',
current:'<?php echo gettext('image {current} of {total}'); ?>', // Text format for the content group / gallery count. {current} and {total} are detected and replaced with actual numbers while ColorBox runs.
previous:'<?php echo gettext('previous'); ?>',
next:'<?php echo gettext('next'); ?>',
close:'<?php echo gettext('close'); ?>',
transition:'fade',
maxHeight:'100%',
photo:true,
maxWidth:'100%'
});
$(".inline").colorbox({width:"400px", inline:true, href:"#exif"});
$(".cbLogin").colorbox({inline:true, href:"#cbLogin"});
$('#random-wrap').cycle({
fx: 'fade',
timeout: 8000,
pause: 1
});
$('#random-wrap').css('display', 'block');
});
</script>
<?php } ?>
<?php if (($_zp_gallery_page == "archive.php") || ($_zp_gallery_page == "search.php") || ($_zp_gallery_page == "news.php") || ($_zp_gallery_page == "album.php")) { ?>
<!-- TREEVIEW ARCHIVE -->
<script type="text/javascript" src="<?php echo $_zp_themeroot; ?>/js/jquery.treeview.js"></script>
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/js/jquery.treeview.css" type="text/css" media="screen"/>
<script type="text/javascript">
jQuery(document).ready(function($) {
$(".archive-menu").treeview({
animated: "normal",
collapsed: true,
persist: "location",
unique: true
});
});
</script>
<?php } ?>
<?php if ($_zp_gallery_page == 'image.php') { ?>
<!-- if RichHTML ZeroClipboard.js -> ZeroClipboard10.js (v1.07)-->
<script type="text/javascript" src="http://<?php echo $_SERVER['HTTP_HOST']; ?>/js/zeroclipboard/ZeroClipboard.js"></script>
<script type="text/javascript">
function toggleComments() {
var commentDiv = document.getElementById("addcomments");
var buttonDiv = document.getElementById("addcommentbutton");
if (commentDiv.style.display == "block") {
commentDiv.style.display = "none";
}
else {
commentDiv.style.display = "block";
buttonDiv.style.display = "none";
}
}
</script>
<?php } ?>
<?php //if ($_zp_gallery_page == 'gallery.php') { ?>
<?php // } ?>
</head>
<body class="now">
<div id="wrapper">
<div id="header">
<div id="logo">
<div id="site-name">
<a href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/photoblog/index.php" title="ClicClac.info" rel="home">ClicClac.info</a>
</div>
<div id="site-description"><?php echo gettext("Portfolio"); ?></div>
</div>
<div id="pagenav">
<ul id="menu-principal" class="menu">
<li><a href="/photoblog/ce-mois.php"><?php echo gettext('Now'); ?></a></li>
<li><a href="/wordpress/"><?php echo gettext('Blog'); ?></a></li>
<li><a href="/zenphoto/"><?php echo gettext('Gallery'); ?></a></li>
<li><a href="/wordpress/livre_d-or/"><?php echo gettext('Guestbook'); ?></a></li>
<li><a href="/wordpress/contact/"><?php echo gettext('Contact'); ?></a></li>
<li><a href="/wordpress/liens/"><?php echo gettext('Links'); ?></a></li>
</ul>
</div>
</div> <!-- /header -->

246
image.php Normal file
View File

@@ -0,0 +1,246 @@
<?php include ("header.php"); ?>
<div id="main">
<div class="center_albums">
<?php //printGoogleMap(NULL, NULL, 'show'); ?>
<div id="headline">
<h3>
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
<a href="<?php echo html_encode(getGalleryIndexURL()); ?>" title="<?php echo gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
<?php printParentBreadcrumb(" » ", " » ", " » "); printAlbumBreadcrumb("", " » "); printImageTitle(true); ?>
</h3>
<div class="headline-text"><?php //printAlbumDesc(true); ?></div>
</div>
<div class="imgnav">
<?php if (hasPrevImage()) { ?>
<div class="imgprevious"><a href="<?php echo htmlspecialchars(getPrevImageURL()); ?>" title="<?php echo gettext("Previous Image"); ?>">&laquo; <?php echo gettext("prev"); ?></a></div>
<?php }
if (hasNextImage()) { ?>
<div class="imgnext"><a href="<?php echo htmlspecialchars(getNextImageURL()) ;?>" title="<?php echo gettext("Next Image"); ?>"><?php echo gettext("next"); ?> &raquo;</a></div>
<?php } ?>
</div>
<p class="clear"></p>
<div id="image">
<?php // Test uniquement dans un album
//$yo = $_zp_current_album->getTitle(); ?>
<div class="cadre">
<!-- ZP 1.4.6: getAlbumURL remplace getAlbumLinkURL -->
<a href="<?php echo getAlbumURL();?>" title="<?php echo getImageTitle();?>">
<?php
//printDefaultSizedImage('');
printHDDefaultSizedImage(NULL, true, NULL,NULL,NULL);
?>
</a>
<?php //printDefaultSizedImage(getImageTitle());
//echo getImageLinkURL(); // /zenphoto/index.php?album=chevreuils=2008-08-15_ChevretteFaons_0138.jpg
//echo getDefaultSizedImage() // /zenphoto/cache/chevreuils/2008-08-15_ChevretteFaons_0138_595.jpg;
//echo getFullImageURL(); // /zenphoto/zp-core/full-image.php?a=chevreuils&i=2008-08-15_ChevretteFaons_0138.jpg&q=75&wmk=!
//echo htmlspecialchars($_zp_current_image->getCustomImage(NULL, 595, 398, $cw, $ch, NULL, NULL, true)); // /zenphoto/zp-core/i.php?a=chevreuils&i=2008-08-15_ChevretteFaons_0138.jpg&w=595&h=398&cw=&ch=&q=75&t=1&wmk=!
//echo ($_zp_current_image->getImageLink()); // /zenphoto/index.php?album=chevreuils=2008-08-15_ChevretteFaons_0138.jpg
//echo ($_zp_current_image->getFullImage()); // /zenphoto/albums/chevreuils/2008-08-15_ChevretteFaons_0138.jpg
//echo ($_zp_current_image->getImage()); // erreur
//echo getProtectedImageURL(); // /zenphoto/zp-core/full-image.php?a=chevreuils&i=2008-08-15_ChevretteFaons_0138.jpg&q=75&wmk=!
//echo ($_zp_current_image->getSizedImage(595)); // /zenphoto/cache/chevreuils/2008-08-15_ChevretteFaons_0138_595.jpg
//echo ($_zp_current_image->getSizedImageURL(595)); // erreur
//echo getSizedImageURL(595); // rien
//echo getUnprotectedImageURL(); // /zenphoto/albums/chevreuils/2008-08-15_ChevretteFaons_0138.jpg
//echo getURL(); // erreur
//echo getURL($_zp_current_image); // /zenphoto/index.php?album=chevreuils=2008-08-15_ChevretteFaons_0138.jpg
?>
</div>
<div class="desc_image"><?php printImageDesc(true); ?></div>
<div id="idtag"><?php echo '<strong>'.gettext("Tags").': </strong>'; ?><?php printTags( 'links','','hor-list',', ',true,'',gettext('None') ); ?></div>
</div>
</div> <!-- /center_albums -->
<div id="narrow">
<!-- http://www.johnstyle.fr/langage/javascript/creer-des-onglets-facilement/ -->
<script type="text/javascript">
function changeOnglet(_this){
var getOnglets = document.getElementById('mes_onglets').getElementsByTagName('li');
for(var i = 0; i < getOnglets.length; i++){
/* alert(getOnglets[i].id); */
/*if (getOnglets[i].id) {*/
/*document.write(getOnglets[i].id); o_1 */
if (getOnglets[i].id == _this.id) {
/*document.write(_this.id); o_2 l'onglet cliqué */
var nb = 'c' + _this.id;
/*alert(_this.id);*/
if (getOnglets[i].className == 'mon_onglet_selected') {
getOnglets[i].className = 'mon_onglet';
document.getElementById('c' + _this.id).style.display = 'none';
}
else{
getOnglets[i].className = 'mon_onglet_selected';
document.getElementById('c' + _this.id).style.display = 'block';
}
}
else {
getOnglets[i].className = 'mon_onglet';
document.getElementById('c' + getOnglets[i].id).style.display = 'none';
}
/*}*/
}
}
</script>
<div id="mes_onglets">
<ul>
<?php //$host = 'http://' . $_SERVER['HTTP_HOST'] . '/zenphoto/';
/*<!--a href="<?php echo $host; ?>slideshow.php?album=<?php echo $_zp_current_album; ?>">slideshow</a-->*/
?>
<li id="o_1" class="mon_onglet" onclick="changeOnglet(this);">EXIF</li>
<!--li id="o_2" class="mon_onglet"><a href="<?php echo getUnprotectedImageURL();?>" rel="shadowbox;options={animate: false}" title="<?php echo getImageTitle(); ?>"><?php echo gettext('Full size'); ?></a></li-->
<li id="o_2" class="mon_onglet"><a rel="zoom" href="<?php echo htmlspecialchars(getFullImageURL());?>" title="<?php echo getBareImageTitle();?>" onclick="changeOnglet(this);"><?php echo gettext('Full size'); ?></a></li>
<li id="o_3" class="mon_onglet"><?php /*if (function_exists('printSlideShowLink')) printSlideShowLink(gettext('Slideshow'));*/ printSlideShowLink(); ?></li>
<?php if(($_zp_loggedin & ADMIN_RIGHTS)) { ?>
<li id="o_4" class="mon_onglet" onclick="changeOnglet(this);">
<input type="hidden" id="clip_text" size="40" value="<?php echo 'http://' . $_SERVER["SERVER_NAME"] . getUnprotectedImageURL(); ?>" />
<p id="d_clip_button"><?php echo gettext('Copy'); ?></p>
<script type="text/javascript">
/* http://code.google.com/p/zeroclipboard/
nouvelle version suite à Flash 10 */
                        var clip = new ZeroClipboard.Client();
                       
                        clip.setText( '' ); // will be set later on mouseDown
                        clip.setHandCursor( true );
                        clip.setCSSEffects( true );
                       
                        clip.addEventListener( 'mouseDown', function(client) {
                                // set text to copy here
//copie du lien format BBCode
var board = document.getElementById('clip_text').value;
board = '[img]' + board + '[/img]';
//board = '[url]' + board + '[/url]';
                                clip.setText( board );
//copie du lien
                                //clip.setText( document.getElementById('clip_text').value );
                               
                                //alert("mouse down");
                        } );
                        clip.glue( 'd_clip_button' );
                </script>
</li>
<?php } ?>
<?php
if (function_exists('zenPaypal') && getOption('Paypal')) { ?>
<li id="o_5" class="mon_onglet" onclick="changeOnglet(this);">Tirages</li>
<?php }
if (function_exists('printRating') && getOption('Rating')) { ?>
<li id="o_6" class="mon_onglet" onclick="changeOnglet(this);"><?php echo gettext('Rating'); ?></li>
<?php } ?>
<?php if (getOption('Allow_comments')) {
//$num = getCommentCount();
?>
<li id="o_7" class="mon_onglet" onclick="changeOnglet(this);"><?php //echo $num . ' ' . gettext('comments');
$num = getCommentCount();
echo $num . ' ' . strtolower(gettext('Comment'));
if ($num > 1) echo 's';
?>
</li>
<?php }
if (function_exists('printFavoritesURL')) { ?>
<li id="o_10" class="mon_onglet" onclick="changeOnglet(this);">
<?php printAddToFavorites($_zp_current_image); ?>
</li>
<?php }
if (function_exists('_printGoogleMap') && getOption('GoogleMap')) { ?>
<li id="o_8" class="mon_onglet" onclick="changeOnglet(this);">
<?php if (hasMapData()) _printGoogleMap('Carte', NULL, 'hide'); ?>
</li>
<?php }
if (function_exists('print_share_link')) { ?>
<li id="o_9" class="mon_onglet" onclick="changeOnglet(this);">BBCode</li>
<?php } ?>
</ul>
<p style="clear: both; "></p>
</div> <!-- /mes_onglets -->
<div id="mes_contenus">
<?php if (getImageMetaData()) { // v1.2.7 ?>
<div id="co_1" class="mon_contenu" style="display: none;">
<?php printImageMetadataMod('', false,'exifdata'); ?>
</div>
<?php } ?>
<div id="co_2" class="mon_contenu" style="display: none;">2</div>
<div id="co_3" class="mon_contenu" style="display: none;">3</div>
<div id="co_4" class="mon_contenu" style="display: none;">
<input type="text" id="clip_text2" size="70" value="<?php echo 'http://' . $_SERVER["SERVER_NAME"] . getUnprotectedImageURL(); ?>" />
</div>
<?php if (function_exists('zenPaypal')) { ?>
<div id="co_5" class="mon_contenu" style="display: none;">
<?php
//zenPaypal(null, true, gettext('Price list'),"h3","liste");
zenPaypal(); ?>
</div>
<?php }
if (function_exists('printRating')) { ?>
<div id="co_6" class="mon_contenu" style="display: none;">
<?php printRating(); ?>
</div>
<?php }
if (hasMapData() && false) { ?>
<div id="co_8" class="mon_contenu" style="display: none;">
<?php //if (hasMapData()) _printGoogleMap(NULL, NULL, 'show'); ?>
</div>
<?php }
?>
<!-- comments -->
<?php if (function_exists('printCommentForm')) { ?>
<div id="co_7" class="mon_contenu" style="display: none;">
<?php printCommentForm();
//printCommentFormCustom();?>
</div>
<?php } ?>
<!-- /comments -->
</div> <!-- /mes_contenus -->
</div> <!-- /narrow -->
<div class="paging">
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php"); ?>

266
images/.svn/entries Normal file
View File

@@ -0,0 +1,266 @@
10
dir
1
file:///Users/bruno/svn/zp_photoblog2/images
file:///Users/bruno/svn/zp_photoblog2
2012-02-12T18:37:01.193144Z
1
bruno
1eedce8f-ce46-4c53-b5cd-33d9a888fabf
search_icon.gif
file
2012-02-12T18:41:08.000000Z
fb19531616a02ca56efac5d57a568b25
2012-02-12T18:37:01.193144Z
1
bruno
has-props
65
icon_bullet.png
file
2012-02-12T18:41:08.000000Z
9f914a1e19ed40ccb78bc979523784bc
2012-02-12T18:37:01.193144Z
1
bruno
has-props
3253
reset.gif
file
2012-02-12T18:41:08.000000Z
9a049b5a08963836251057f6aeecac2e
2012-02-12T18:37:01.193144Z
1
bruno
has-props
855
search-drop.jpg
file
2012-02-12T18:41:08.000000Z
3a416d61f2ef29a02ad78911e60c3424
2012-02-12T18:37:01.193144Z
1
bruno
has-props
428
drop.gif
file
2012-02-12T18:41:08.000000Z
5497f6170849d5802bb8ab7ad9bb7512
2012-02-12T18:37:01.193144Z
1
bruno
has-props
847
search.png
file
2012-02-12T18:41:08.000000Z
6fb4bb94a5fc8652a443151d2154d275
2012-02-12T18:37:01.193144Z
1
bruno
has-props
423
search2.png
file
2012-02-12T18:41:08.000000Z
a2298bc8916ebfba1a9b8f8f9de71273
2012-02-12T18:37:01.193144Z
1
bruno
has-props
994

View File

@@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END

View File

@@ -0,0 +1,9 @@
K 14
svn:executable
V 0
K 13
svn:mime-type
V 24
application/octet-stream
END

View File

@@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END

View File

@@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END

View File

@@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END

View File

@@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END

View File

@@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END

Binary file not shown.

After

Width:  |  Height:  |  Size: 847 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 994 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 B

12
index.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
if(function_exists("checkForPage")) { // check if Zenpage is enabled or not
if (checkForPage(getOption("zpgal_homepage"))) { // switch to a news page
$ishomepage = true;
include ('pages.php');
} else {
include ('gallery.php');
}
} else {
include ('gallery.php');
}
?>

View File

@@ -0,0 +1,16 @@
/*
* Treeview 1.4 - jQuery plugin to hide and show branches of a tree
*
* http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
* http://docs.jquery.com/Plugins/Treeview
*
* Copyright (c) 2007 Jörn Zaefferer
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id: jquery.treeview.js 4684 2008-02-07 19:08:06Z joern.zaefferer $
*
*/
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(';(4($){$.1l($.F,{E:4(b,c){l a=3.n(\'.\'+b);3.n(\'.\'+c).o(c).m(b);a.o(b).m(c);8 3},s:4(a,b){8 3.n(\'.\'+a).o(a).m(b).P()},1n:4(a){a=a||"1j";8 3.1j(4(){$(3).m(a)},4(){$(3).o(a)})},1h:4(b,a){b?3.1g({1e:"p"},b,a):3.x(4(){T(3)[T(3).1a(":U")?"H":"D"]();7(a)a.A(3,O)})},12:4(b,a){7(b){3.1g({1e:"D"},b,a)}1L{3.D();7(a)3.x(a)}},11:4(a){7(!a.1k){3.n(":r-1H:G(9)").m(k.r);3.n((a.1F?"":"."+k.X)+":G(."+k.W+")").6(">9").D()}8 3.n(":y(>9)")},S:4(b,c){3.n(":y(>9):G(:y(>a))").6(">1z").C(4(a){c.A($(3).19())}).w($("a",3)).1n();7(!b.1k){3.n(":y(>9:U)").m(k.q).s(k.r,k.t);3.G(":y(>9:U)").m(k.u).s(k.r,k.v);3.1r("<J 14=\\""+k.5+"\\"/>").6("J."+k.5).x(4(){l a="";$.x($(3).B().1o("14").13(" "),4(){a+=3+"-5 "});$(3).m(a)})}3.6("J."+k.5).C(c)},z:4(g){g=$.1l({N:"z"},g);7(g.w){8 3.1K("w",[g.w])}7(g.p){l d=g.p;g.p=4(){8 d.A($(3).B()[0],O)}}4 1m(b,c){4 L(a){8 4(){K.A($("J."+k.5,b).n(4(){8 a?$(3).B("."+a).1i:1I}));8 1G}}$("a:10(0)",c).C(L(k.u));$("a:10(1)",c).C(L(k.q));$("a:10(2)",c).C(L())}4 K(){$(3).B().6(">.5").E(k.Z,k.Y).E(k.I,k.M).P().E(k.u,k.q).E(k.v,k.t).6(">9").1h(g.1f,g.p);7(g.1E){$(3).B().1D().6(">.5").s(k.Z,k.Y).s(k.I,k.M).P().s(k.u,k.q).s(k.v,k.t).6(">9").12(g.1f,g.p)}}4 1d(){4 1C(a){8 a?1:0}l b=[];j.x(4(i,e){b[i]=$(e).1a(":y(>9:1B)")?1:0});$.V(g.N,b.1A(""))}4 1c(){l b=$.V(g.N);7(b){l a=b.13("");j.x(4(i,e){$(e).6(">9")[1y(a[i])?"H":"D"]()})}}3.m("z");l j=3.6("Q").11(g);1x(g.1w){18"V":l h=g.p;g.p=4(){1d();7(h){h.A(3,O)}};1c();17;18"1b":l f=3.6("a").n(4(){8 3.16.15()==1b.16.15()});7(f.1i){f.m("1v").1u("9, Q").w(f.19()).H()}17}j.S(g,K);7(g.R){1m(3,g.R);$(g.R).H()}8 3.1t("w",4(a,b){$(b).1s().o(k.r).o(k.v).o(k.t).6(">.5").o(k.I).o(k.M);$(b).6("Q").1q().11(g).S(g,K)})}});l k=$.F.z.1J={W:"W",X:"X",q:"q",Y:"q-5",M:"t-5",u:"u",Z:"u-5",I:"v-5",v:"v",t:"t",r:"r",5:"5"};$.F.1p=$.F.z})(T);',62,110,'|||this|function|hitarea|find|if|return|ul||||||||||||var|addClass|filter|removeClass|toggle|expandable|last|replaceClass|lastExpandable|collapsable|lastCollapsable|add|each|has|treeview|apply|parent|click|hide|swapClass|fn|not|show|lastCollapsableHitarea|div|toggler|handler|lastExpandableHitarea|cookieId|arguments|end|li|control|applyClasses|jQuery|hidden|cookie|open|closed|expandableHitarea|collapsableHitarea|eq|prepareBranches|heightHide|split|class|toLowerCase|href|break|case|next|is|location|deserialize|serialize|height|animated|animate|heightToggle|length|hover|prerendered|extend|treeController|hoverClass|attr|Treeview|andSelf|prepend|prev|bind|parents|selected|persist|switch|parseInt|span|join|visible|binary|siblings|unique|collapsed|false|child|true|classes|trigger|else'.split('|'),0,{}))

96
js/images/.svn/entries Normal file
View File

@@ -0,0 +1,96 @@
10
dir
1
file:///Users/bruno/svn/zp_photoblog2/js/images
file:///Users/bruno/svn/zp_photoblog2
2012-02-12T18:37:01.193144Z
1
bruno
1eedce8f-ce46-4c53-b5cd-33d9a888fabf
treeview-default.gif
file
2012-02-12T18:41:08.000000Z
46878a9b3ede269c4e234550c9c89cd0
2012-02-12T18:37:01.193144Z
1
bruno
has-props
1222
treeview-default-line.gif
file
2012-02-12T18:41:08.000000Z
5e3c0e0c48f48c23c45aef7b72c739c0
2012-02-12T18:37:01.193144Z
1
bruno
has-props
1993

View File

@@ -0,0 +1,9 @@
K 14
svn:executable
V 0
K 13
svn:mime-type
V 24
application/octet-stream
END

View File

@@ -0,0 +1,9 @@
K 14
svn:executable
V 0
K 13
svn:mime-type
V 24
application/octet-stream
END

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

74
js/jquery.treeview.css Executable file
View File

@@ -0,0 +1,74 @@
.treeview, .treeview ul {
padding: 0;
margin: 0;
list-style: none;
}
.treeview ul {
margin-top: 4px;
}
.treeview .hitarea {
background: url(images/treeview-default.gif) -64px -25px no-repeat;
height: 16px;
width: 16px;
margin-left: -16px;
float: left;
cursor: pointer;
}
/* fix for IE6 */
* html .hitarea {
display: inline;
float:none;
}
.treeview li {
margin: 0;
padding: 3px 0pt 3px 16px;
font-size: 9pt;
}
.treeview a.selected {
background-color: #eee;
}
#treecontrol { margin: 1em 0; display: none; }
.treeview .hover { color: red; cursor: pointer; }
.treeview li { background: url(images/treeview-default-line.gif) 0 0 no-repeat; }
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }
.treeview .expandable-hitarea { background-position: -80px -3px; }
.treeview li.last { background-position: 0 -1766px }
.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(images/treeview-default.gif); }
.treeview li.lastCollapsable { background-position: 0 -111px }
.treeview li.lastExpandable { background-position: -32px -67px }
.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }
.treeview-red li { background-image: url(images/treeview-red-line.gif); }
.treeview-red .hitarea, .treeview-red li.lastCollapsable, .treeview-red li.lastExpandable { background-image: url(images/treeview-red.gif); }
.treeview-black li { background-image: url(images/treeview-black-line.gif); }
.treeview-black .hitarea, .treeview-black li.lastCollapsable, .treeview-black li.lastExpandable { background-image: url(images/treeview-black.gif); }
.treeview-gray li { background-image: url(images/treeview-gray-line.gif); }
.treeview-gray .hitarea, .treeview-gray li.lastCollapsable, .treeview-gray li.lastExpandable { background-image: url(images/treeview-gray.gif); }
.treeview-famfamfam li { background-image: url(images/treeview-famfamfam-line.gif); }
.treeview-famfamfam .hitarea, .treeview-famfamfam li.lastCollapsable, .treeview-famfamfam li.lastExpandable { background-image: url(images/treeview-famfamfam.gif); }
.treeview .placeholder {
background: url(images/ajax-loader.gif) 0 0 no-repeat;
height: 16px;
width: 16px;
display: block;
}
.filetree li { padding: 3px 0 2px 16px; }
.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; }
.filetree span.folder { background: url(images/folder.gif) 0 0 no-repeat; }
.filetree li.expandable span.folder { background: url(images/folder-closed.gif) 0 0 no-repeat; }
.filetree span.file { background: url(images/file.gif) 0 0 no-repeat; }

256
js/jquery.treeview.js Executable file
View File

@@ -0,0 +1,256 @@
/*
* Treeview 1.5pre - jQuery plugin to hide and show branches of a tree
*
* http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
* http://docs.jquery.com/Plugins/Treeview
*
* Copyright (c) 2007 Jörn Zaefferer
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id: jquery.treeview.js 5759 2008-07-01 07:50:28Z joern.zaefferer $
*
*/
;(function($) {
// TODO rewrite as a widget, removing all the extra plugins
$.extend($.fn, {
swapClass: function(c1, c2) {
var c1Elements = this.filter('.' + c1);
this.filter('.' + c2).removeClass(c2).addClass(c1);
c1Elements.removeClass(c1).addClass(c2);
return this;
},
replaceClass: function(c1, c2) {
return this.filter('.' + c1).removeClass(c1).addClass(c2).end();
},
hoverClass: function(className) {
className = className || "hover";
return this.hover(function() {
$(this).addClass(className);
}, function() {
$(this).removeClass(className);
});
},
heightToggle: function(animated, callback) {
animated ?
this.animate({ height: "toggle" }, animated, callback) :
this.each(function(){
jQuery(this)[ jQuery(this).is(":hidden") ? "show" : "hide" ]();
if(callback)
callback.apply(this, arguments);
});
},
heightHide: function(animated, callback) {
if (animated) {
this.animate({ height: "hide" }, animated, callback);
} else {
this.hide();
if (callback)
this.each(callback);
}
},
prepareBranches: function(settings) {
if (!settings.prerendered) {
// mark last tree items
this.filter(":last-child:not(ul)").addClass(CLASSES.last);
// collapse whole tree, or only those marked as closed, anyway except those marked as open
this.filter((settings.collapsed ? "" : "." + CLASSES.closed) + ":not(." + CLASSES.open + ")").find(">ul").hide();
}
// return all items with sublists
return this.filter(":has(>ul)");
},
applyClasses: function(settings, toggler) {
// TODO use event delegation
this.filter(":has(>ul):not(:has(>a))").find(">span").unbind("click.treeview").bind("click.treeview", function(event) {
// don't handle click events on children, eg. checkboxes
if ( this == event.target )
toggler.apply($(this).next());
}).add( $("a", this) ).hoverClass();
if (!settings.prerendered) {
// handle closed ones first
this.filter(":has(>ul:hidden)")
.addClass(CLASSES.expandable)
.replaceClass(CLASSES.last, CLASSES.lastExpandable);
// handle open ones
this.not(":has(>ul:hidden)")
.addClass(CLASSES.collapsable)
.replaceClass(CLASSES.last, CLASSES.lastCollapsable);
// create hitarea if not present
var hitarea = this.find("div." + CLASSES.hitarea);
if (!hitarea.length)
hitarea = this.prepend("<div class=\"" + CLASSES.hitarea + "\"/>").find("div." + CLASSES.hitarea);
hitarea.removeClass().addClass(CLASSES.hitarea).each(function() {
var classes = "";
$.each($(this).parent().attr("class").split(" "), function() {
classes += this + "-hitarea ";
});
$(this).addClass( classes );
})
}
// apply event to hitarea
this.find("div." + CLASSES.hitarea).click( toggler );
},
treeview: function(settings) {
settings = $.extend({
cookieId: "treeview"
}, settings);
if ( settings.toggle ) {
var callback = settings.toggle;
settings.toggle = function() {
return callback.apply($(this).parent()[0], arguments);
};
}
// factory for treecontroller
function treeController(tree, control) {
// factory for click handlers
function handler(filter) {
return function() {
// reuse toggle event handler, applying the elements to toggle
// start searching for all hitareas
toggler.apply( $("div." + CLASSES.hitarea, tree).filter(function() {
// for plain toggle, no filter is provided, otherwise we need to check the parent element
return filter ? $(this).parent("." + filter).length : true;
}) );
return false;
};
}
// click on first element to collapse tree
$("a:eq(0)", control).click( handler(CLASSES.collapsable) );
// click on second to expand tree
$("a:eq(1)", control).click( handler(CLASSES.expandable) );
// click on third to toggle tree
$("a:eq(2)", control).click( handler() );
}
// handle toggle event
function toggler() {
$(this)
.parent()
// swap classes for hitarea
.find(">.hitarea")
.swapClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
.swapClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
.end()
// swap classes for parent li
.swapClass( CLASSES.collapsable, CLASSES.expandable )
.swapClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
// find child lists
.find( ">ul" )
// toggle them
.heightToggle( settings.animated, settings.toggle );
if ( settings.unique ) {
$(this).parent()
.siblings()
// swap classes for hitarea
.find(">.hitarea")
.replaceClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
.replaceClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
.end()
.replaceClass( CLASSES.collapsable, CLASSES.expandable )
.replaceClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
.find( ">ul" )
.heightHide( settings.animated, settings.toggle );
}
}
this.data("toggler", toggler);
function serialize() {
function binary(arg) {
return arg ? 1 : 0;
}
var data = [];
branches.each(function(i, e) {
data[i] = $(e).is(":has(>ul:visible)") ? 1 : 0;
});
$.cookie(settings.cookieId, data.join(""), settings.cookieOptions );
}
function deserialize() {
var stored = $.cookie(settings.cookieId);
if ( stored ) {
var data = stored.split("");
branches.each(function(i, e) {
$(e).find(">ul")[ parseInt(data[i]) ? "show" : "hide" ]();
});
}
}
// add treeview class to activate styles
this.addClass("treeview");
// prepare branches and find all tree items with child lists
var branches = this.find("li").prepareBranches(settings);
switch(settings.persist) {
case "cookie":
var toggleCallback = settings.toggle;
settings.toggle = function() {
serialize();
if (toggleCallback) {
toggleCallback.apply(this, arguments);
}
};
deserialize();
break;
case "location":
var current = this.find("a").filter(function() {
return this.href.toLowerCase() == location.href.toLowerCase();
});
if ( current.length ) {
// TODO update the open/closed classes
var items = current.addClass("selected").parents("ul, li").add( current.next() ).show();
if (settings.prerendered) {
// if prerendered is on, replicate the basic class swapping
items.filter("li")
.swapClass( CLASSES.collapsable, CLASSES.expandable )
.swapClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
.find(">.hitarea")
.swapClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
.swapClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea );
}
}
break;
}
branches.applyClasses(settings, toggler);
// if control option is set, create the treecontroller and show it
if ( settings.control ) {
treeController(this, settings.control);
$(settings.control).show();
}
return this;
}
});
// classes used by the plugin
// need to be styled via external stylesheet, see first example
$.treeview = {};
var CLASSES = ($.treeview.classes = {
open: "open",
closed: "closed",
expandable: "expandable",
expandableHitarea: "expandable-hitarea",
lastExpandableHitarea: "lastExpandable-hitarea",
collapsable: "collapsable",
collapsableHitarea: "collapsable-hitarea",
lastCollapsableHitarea: "lastCollapsable-hitarea",
lastCollapsable: "lastCollapsable",
lastExpandable: "lastExpandable",
last: "last",
hitarea: "hitarea"
});
})(jQuery);

9
js/maximage/css/bootstrap.min.css vendored Executable file

File diff suppressed because one or more lines are too long

109
js/maximage/css/ie.css Executable file
View File

@@ -0,0 +1,109 @@
/* line 7, ../sass/ie.scss */
body.bp {
text-align: center;
}
/* line 44, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
* html body.bp legend {
margin: 0px -8px 16px 0;
padding: 0;
}
/* line 48, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
html > body.bp p code {
*white-space: normal;
}
/* line 60, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp .container {
text-align: left;
}
/* line 62, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp sup {
vertical-align: text-top;
}
/* line 64, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp sub {
vertical-align: text-bottom;
}
/* line 66, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp hr {
margin: -8px auto 11px;
}
/* line 68, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp img {
-ms-interpolation-mode: bicubic;
}
/* line 70, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp fieldset {
padding-top: 0;
}
/* line 72, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp legend {
margin-top: -0.2em;
margin-bottom: 1em;
margin-left: -0.5em;
}
/* line 76, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp fieldset, body.bp #IE8#HACK {
padding-top: 1.4em;
}
/* line 77, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp legend, body.bp #IE8#HACK {
margin-top: 0;
margin-bottom: 0;
}
/* line 78, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp textarea {
overflow: auto;
}
/* line 80, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp label {
position: relative;
top: -0.25em;
}
/* line 84, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.text {
margin: 0.5em 0;
background-color: white;
border: 1px solid #bbbbbb;
}
/* line 88, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.text:focus {
border: 1px solid #666666;
}
/* line 90, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.title {
margin: 0.5em 0;
background-color: white;
border: 1px solid #bbbbbb;
}
/* line 94, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.title:focus {
border: 1px solid #666666;
}
/* line 96, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.checkbox {
position: relative;
top: 0.25em;
}
/* line 99, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.radio {
position: relative;
top: 0.25em;
}
/* line 102, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp input.button {
position: relative;
top: 0.25em;
}
/* line 105, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp textarea {
margin: 0.5em 0;
}
/* line 107, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp select {
margin: 0.5em 0;
}
/* line 109, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
body.bp button {
position: relative;
top: 0.25em;
}

View File

@@ -0,0 +1,55 @@
/* ----------------------------------------------------------------
MaxCycle (Fullscreen Slideshow for use with jQuery Cycle Plugin)
----------------------------------------------------------------
Demo at: http://www.aaronvanderzwan.com/maxcycle/
Download and Info at: http://github.com/akv2/MaxCycle---jQuery-Plugin/
Copyright (c) 2007-2011 Aaron Vanderzwan
Dual licensed under the MIT and GPL licenses.
*/
/*! Version: 2.0.73 (12-Oct-2012) */
.mc-hide-scrolls{
overflow:hidden;
}
body .mc-cycle {
height:100%;
left:0;
overflow:hidden;
position:fixed;
top:0;
width:100%;
z-index:-1;
}
div.mc-image {
/*NOTE: Mozilla flickers when fading and using 'all', so we have to be specific with what property we want to transition:
If you are using fading transitions, use 'opacity: */
-webkit-transition: opacity 1s ease-in-out;
-moz-transition: opacity 1s ease-in-out;
-o-transition: opacity 1s ease-in-out;
transition: opacity 1s ease-in-out;
/*If you are using horizontal slide transitions, use the following CSS:
-webkit-transition: left 1s ease-in-out;
-moz-transition: left 1s ease-in-out;
-o-transition: left 1s ease-in-out;
transition: left 1s ease-in-out;*/
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-position:center center;
background-repeat:no-repeat;
height:100%;
overflow:hidden;
width:100%;
}
.mc-old-browser .mc-image {
overflow:hidden;
}

1
js/maximage/css/jquery.maximage.min.css vendored Executable file
View File

@@ -0,0 +1 @@
/*! Version: 2.0.73 (12-Oct-2012) */.mc-hide-scrolls{overflow:hidden}body .mc-cycle{height:100%;left:0;overflow:hidden;position:fixed;top:0;width:100%;z-index:-1}div.mc-image{-webkit-transition:opacity 1s ease-in-out;-moz-transition:opacity 1s ease-in-out;-o-transition:opacity 1s ease-in-out;transition:opacity 1s ease-in-out;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;background-position:center center;background-repeat:no-repeat;height:100%;overflow:hidden;width:100%}.mc-old-browser .mc-image{overflow:hidden}

73
js/maximage/css/print.css Executable file
View File

@@ -0,0 +1,73 @@
/* line 7, ../sass/print.scss */
body.bp {
line-height: 1.5;
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
color: black;
background: none;
font-size: 10pt;
}
/* line 45, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp .container {
background: none;
}
/* line 47, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp hr {
background: #cccccc;
color: #cccccc;
width: 100%;
height: 2px;
margin: 2em 0;
padding: 0;
border: none;
}
/* line 55, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp hr.space {
background: white;
color: white;
}
/* line 58, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp h1, body.bp h2, body.bp h3, body.bp h4, body.bp h5, body.bp h6 {
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}
/* line 60, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp code {
font-size: 0.9em;
font-family: "andale mono", "lucida console", monospace;
}
/* line 65, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp a img {
border: none;
}
/* line 68, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp a:link, body.bp a:visited {
background: transparent;
font-weight: 700;
text-decoration: underline;
}
/* line 72, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp p img.top {
margin-top: 0;
}
/* line 74, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp blockquote {
margin: 1.5em;
padding: 1em;
font-style: italic;
font-size: 0.9em;
}
/* line 79, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp .small {
font-size: 0.9em;
}
/* line 81, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp .large {
font-size: 1.1em;
}
/* line 83, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp .quiet {
color: #999999;
}
/* line 85, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_print.scss */
body.bp .hide {
display: none;
}

535
js/maximage/css/screen.css Executable file
View File

@@ -0,0 +1,535 @@
/* line 4, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
html {
margin: 0;
padding: 0;
border: 0;
}
/* line 18, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
.bp-reset-element, body, h1, h2, h3, h4, h5, h6, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, blockquote, q, th, td, caption, table,
div, span, object, iframe, p,
pre, a, abbr, acronym, address,
code, del, dfn, em, img,
dl, dt, dd, ol, ul, li, fieldset,
form, label, legend,
caption, tbody, tfoot, thead, tr {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
/* line 20, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
display: block;
}
/* line 21, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
blockquote, q {
quotes: "" "";
}
/* line 67, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
blockquote:before, blockquote:after, q:before, q:after {
content: "";
}
/* line 22, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
th, td, caption {
float: none !important;
text-align: left;
font-weight: normal;
vertical-align: middle;
}
/* line 23, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
table {
border-collapse: separate;
border-spacing: 0;
vertical-align: middle;
}
/* line 24, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
a img {
border: none;
}
/* line 20, ../sass/screen.scss */
body.bp {
line-height: 1.5;
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
color: #333333;
font-size: 75%;
}
/* line 51, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h1, body.bp h2, body.bp h3, body.bp h4, body.bp h5, body.bp h6 {
font-weight: normal;
color: #222222;
}
/* line 52, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h1 img, body.bp h2 img, body.bp h3 img, body.bp h4 img, body.bp h5 img, body.bp h6 img {
margin: 0;
}
/* line 53, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h1 {
font-size: 3em;
line-height: 1;
margin-bottom: 0.50em;
}
/* line 54, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h2 {
font-size: 2em;
margin-bottom: 0.75em;
}
/* line 55, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h3 {
font-size: 1.5em;
line-height: 1;
margin-bottom: 1.00em;
}
/* line 56, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h4 {
font-size: 1.2em;
line-height: 1.25;
margin-bottom: 1.25em;
}
/* line 57, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h5 {
font-size: 1em;
font-weight: bold;
margin-bottom: 1.50em;
}
/* line 58, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp h6 {
font-size: 1em;
font-weight: bold;
}
/* line 59, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp p {
margin: 0 0 1.5em;
}
/* line 60, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp p .left {
display: inline;
float: left;
margin: 1.5em 1.5em 1.5em 0;
padding: 0;
}
/* line 61, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp p .right {
display: inline;
float: right;
margin: 1.5em 0 1.5em 1.5em;
padding: 0;
}
/* line 62, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp a {
text-decoration: underline;
color: #0066cc;
}
/* line 18, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
body.bp a:visited {
color: #004c99;
}
/* line 21, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
body.bp a:focus {
color: #0099ff;
}
/* line 24, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
body.bp a:hover {
color: #0099ff;
}
/* line 27, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
body.bp a:active {
color: #bf00ff;
}
/* line 63, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp blockquote {
margin: 1.5em;
color: #666666;
font-style: italic;
}
/* line 64, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp strong, body.bp dfn {
font-weight: bold;
}
/* line 65, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp em, body.bp dfn {
font-style: italic;
}
/* line 66, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp sup, body.bp sub {
line-height: 0;
}
/* line 67, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp abbr, body.bp acronym {
border-bottom: 1px dotted #666666;
}
/* line 68, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp address {
margin: 0 0 1.5em;
font-style: italic;
}
/* line 69, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp del {
color: #666666;
}
/* line 70, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp pre {
margin: 1.5em 0;
white-space: pre;
}
/* line 71, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp pre, body.bp code, body.bp tt {
font: 1em "andale mono", "lucida console", monospace;
line-height: 1.5;
}
/* line 72, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp li ul, body.bp li ol {
margin: 0;
}
/* line 73, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp ul, body.bp ol {
margin: 0 1.5em 1.5em 0;
padding-left: 1.5em;
}
/* line 74, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp ul {
list-style-type: disc;
}
/* line 75, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp ol {
list-style-type: decimal;
}
/* line 76, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp dl {
margin: 0 0 1.5em 0;
}
/* line 77, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp dl dt {
font-weight: bold;
}
/* line 78, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp dd {
margin-left: 1.5em;
}
/* line 79, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp table {
margin-bottom: 1.4em;
width: 100%;
}
/* line 80, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp th {
font-weight: bold;
}
/* line 81, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp thead th {
background: #c3d9ff;
}
/* line 82, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp th, body.bp td, body.bp caption {
padding: 4px 10px 4px 5px;
}
/* line 85, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp table.striped tr:nth-child(even) td,
body.bp table tr.even td {
background: #e5ecf9;
}
/* line 86, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp tfoot {
font-style: italic;
}
/* line 87, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp caption {
background: #eeeeee;
}
/* line 88, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp .quiet {
color: #666666;
}
/* line 89, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
body.bp .loud {
color: #111111;
}
/* line 9, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .clear {
clear: both;
}
/* line 12, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .nowrap {
white-space: nowrap;
}
/* line 16, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .clearfix {
overflow: hidden;
*zoom: 1;
}
/* line 18, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .small {
font-size: 0.8em;
margin-bottom: 1.875em;
line-height: 1.875em;
}
/* line 22, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .large {
font-size: 1.2em;
line-height: 2.5em;
margin-bottom: 1.25em;
}
/* line 26, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .first {
margin-left: 0;
padding-left: 0;
}
/* line 29, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .last {
margin-right: 0;
padding-right: 0;
}
/* line 32, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .top {
margin-top: 0;
padding-top: 0;
}
/* line 35, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */
body.bp .bottom {
margin-bottom: 0;
padding-bottom: 0;
}
/* line 25, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_debug.scss */
body.bp .showgrid {
background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(5%, rgba(0, 0, 0, 0.5)), color-stop(5%, rgba(0, 0, 0, 0))), -webkit-gradient(linear, 0% 50%, 960 50%, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(0%, rgba(100, 100, 225, 0.25)), color-stop(3.125%, rgba(100, 100, 225, 0.25)), color-stop(3.125%, rgba(0, 0, 0, 0)), color-stop(4.167%, rgba(0, 0, 0, 0)), color-stop(4.167%, rgba(100, 100, 225, 0.25)), color-stop(7.292%, rgba(100, 100, 225, 0.25)), color-stop(7.292%, rgba(0, 0, 0, 0)), color-stop(8.333%, rgba(0, 0, 0, 0)), color-stop(8.333%, rgba(100, 100, 225, 0.25)), color-stop(11.458%, rgba(100, 100, 225, 0.25)), color-stop(11.458%, rgba(0, 0, 0, 0)), color-stop(12.5%, rgba(0, 0, 0, 0)), color-stop(12.5%, rgba(100, 100, 225, 0.25)), color-stop(15.625%, rgba(100, 100, 225, 0.25)), color-stop(15.625%, rgba(0, 0, 0, 0)), color-stop(16.667%, rgba(0, 0, 0, 0)), color-stop(16.667%, rgba(100, 100, 225, 0.25)), color-stop(19.792%, rgba(100, 100, 225, 0.25)), color-stop(19.792%, rgba(0, 0, 0, 0)), color-stop(20.833%, rgba(0, 0, 0, 0)), color-stop(20.833%, rgba(100, 100, 225, 0.25)), color-stop(23.958%, rgba(100, 100, 225, 0.25)), color-stop(23.958%, rgba(0, 0, 0, 0)), color-stop(25%, rgba(0, 0, 0, 0)), color-stop(25%, rgba(100, 100, 225, 0.25)), color-stop(28.125%, rgba(100, 100, 225, 0.25)), color-stop(28.125%, rgba(0, 0, 0, 0)), color-stop(29.167%, rgba(0, 0, 0, 0)), color-stop(29.167%, rgba(100, 100, 225, 0.25)), color-stop(32.292%, rgba(100, 100, 225, 0.25)), color-stop(32.292%, rgba(0, 0, 0, 0)), color-stop(33.333%, rgba(0, 0, 0, 0)), color-stop(33.333%, rgba(100, 100, 225, 0.25)), color-stop(36.458%, rgba(100, 100, 225, 0.25)), color-stop(36.458%, rgba(0, 0, 0, 0)), color-stop(37.5%, rgba(0, 0, 0, 0)), color-stop(37.5%, rgba(100, 100, 225, 0.25)), color-stop(40.625%, rgba(100, 100, 225, 0.25)), color-stop(40.625%, rgba(0, 0, 0, 0)), color-stop(41.667%, rgba(0, 0, 0, 0)), color-stop(41.667%, rgba(100, 100, 225, 0.25)), color-stop(44.792%, rgba(100, 100, 225, 0.25)), color-stop(44.792%, rgba(0, 0, 0, 0)), color-stop(45.833%, rgba(0, 0, 0, 0)), color-stop(45.833%, rgba(100, 100, 225, 0.25)), color-stop(48.958%, rgba(100, 100, 225, 0.25)), color-stop(48.958%, rgba(0, 0, 0, 0)), color-stop(50%, rgba(0, 0, 0, 0)), color-stop(50%, rgba(100, 100, 225, 0.25)), color-stop(53.125%, rgba(100, 100, 225, 0.25)), color-stop(53.125%, rgba(0, 0, 0, 0)), color-stop(54.167%, rgba(0, 0, 0, 0)), color-stop(54.167%, rgba(100, 100, 225, 0.25)), color-stop(57.292%, rgba(100, 100, 225, 0.25)), color-stop(57.292%, rgba(0, 0, 0, 0)), color-stop(58.333%, rgba(0, 0, 0, 0)), color-stop(58.333%, rgba(100, 100, 225, 0.25)), color-stop(61.458%, rgba(100, 100, 225, 0.25)), color-stop(61.458%, rgba(0, 0, 0, 0)), color-stop(62.5%, rgba(0, 0, 0, 0)), color-stop(62.5%, rgba(100, 100, 225, 0.25)), color-stop(65.625%, rgba(100, 100, 225, 0.25)), color-stop(65.625%, rgba(0, 0, 0, 0)), color-stop(66.667%, rgba(0, 0, 0, 0)), color-stop(66.667%, rgba(100, 100, 225, 0.25)), color-stop(69.792%, rgba(100, 100, 225, 0.25)), color-stop(69.792%, rgba(0, 0, 0, 0)), color-stop(70.833%, rgba(0, 0, 0, 0)), color-stop(70.833%, rgba(100, 100, 225, 0.25)), color-stop(73.958%, rgba(100, 100, 225, 0.25)), color-stop(73.958%, rgba(0, 0, 0, 0)), color-stop(75%, rgba(0, 0, 0, 0)), color-stop(75%, rgba(100, 100, 225, 0.25)), color-stop(78.125%, rgba(100, 100, 225, 0.25)), color-stop(78.125%, rgba(0, 0, 0, 0)), color-stop(79.167%, rgba(0, 0, 0, 0)), color-stop(79.167%, rgba(100, 100, 225, 0.25)), color-stop(82.292%, rgba(100, 100, 225, 0.25)), color-stop(82.292%, rgba(0, 0, 0, 0)), color-stop(83.333%, rgba(0, 0, 0, 0)), color-stop(83.333%, rgba(100, 100, 225, 0.25)), color-stop(86.458%, rgba(100, 100, 225, 0.25)), color-stop(86.458%, rgba(0, 0, 0, 0)), color-stop(87.5%, rgba(0, 0, 0, 0)), color-stop(87.5%, rgba(100, 100, 225, 0.25)), color-stop(90.625%, rgba(100, 100, 225, 0.25)), color-stop(90.625%, rgba(0, 0, 0, 0)), color-stop(91.667%, rgba(0, 0, 0, 0)), color-stop(91.667%, rgba(100, 100, 225, 0.25)), color-stop(94.792%, rgba(100, 100, 225, 0.25)), color-stop(94.792%, rgba(0, 0, 0, 0)), color-stop(95.833%, rgba(0, 0, 0, 0)), color-stop(95.833%, rgba(100, 100, 225, 0.25)), color-stop(98.958%, rgba(100, 100, 225, 0.25)), color-stop(98.958%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0)));
background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%), -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0px, rgba(100, 100, 225, 0.25) 0px, rgba(100, 100, 225, 0.25) 30px, rgba(0, 0, 0, 0) 30px, rgba(0, 0, 0, 0) 40px, rgba(100, 100, 225, 0.25) 40px, rgba(100, 100, 225, 0.25) 70px, rgba(0, 0, 0, 0) 70px, rgba(0, 0, 0, 0) 80px, rgba(100, 100, 225, 0.25) 80px, rgba(100, 100, 225, 0.25) 110px, rgba(0, 0, 0, 0) 110px, rgba(0, 0, 0, 0) 120px, rgba(100, 100, 225, 0.25) 120px, rgba(100, 100, 225, 0.25) 150px, rgba(0, 0, 0, 0) 150px, rgba(0, 0, 0, 0) 160px, rgba(100, 100, 225, 0.25) 160px, rgba(100, 100, 225, 0.25) 190px, rgba(0, 0, 0, 0) 190px, rgba(0, 0, 0, 0) 200px, rgba(100, 100, 225, 0.25) 200px, rgba(100, 100, 225, 0.25) 230px, rgba(0, 0, 0, 0) 230px, rgba(0, 0, 0, 0) 240px, rgba(100, 100, 225, 0.25) 240px, rgba(100, 100, 225, 0.25) 270px, rgba(0, 0, 0, 0) 270px, rgba(0, 0, 0, 0) 280px, rgba(100, 100, 225, 0.25) 280px, rgba(100, 100, 225, 0.25) 310px, rgba(0, 0, 0, 0) 310px, rgba(0, 0, 0, 0) 320px, rgba(100, 100, 225, 0.25) 320px, rgba(100, 100, 225, 0.25) 350px, rgba(0, 0, 0, 0) 350px, rgba(0, 0, 0, 0) 360px, rgba(100, 100, 225, 0.25) 360px, rgba(100, 100, 225, 0.25) 390px, rgba(0, 0, 0, 0) 390px, rgba(0, 0, 0, 0) 400px, rgba(100, 100, 225, 0.25) 400px, rgba(100, 100, 225, 0.25) 430px, rgba(0, 0, 0, 0) 430px, rgba(0, 0, 0, 0) 440px, rgba(100, 100, 225, 0.25) 440px, rgba(100, 100, 225, 0.25) 470px, rgba(0, 0, 0, 0) 470px, rgba(0, 0, 0, 0) 480px, rgba(100, 100, 225, 0.25) 480px, rgba(100, 100, 225, 0.25) 510px, rgba(0, 0, 0, 0) 510px, rgba(0, 0, 0, 0) 520px, rgba(100, 100, 225, 0.25) 520px, rgba(100, 100, 225, 0.25) 550px, rgba(0, 0, 0, 0) 550px, rgba(0, 0, 0, 0) 560px, rgba(100, 100, 225, 0.25) 560px, rgba(100, 100, 225, 0.25) 590px, rgba(0, 0, 0, 0) 590px, rgba(0, 0, 0, 0) 600px, rgba(100, 100, 225, 0.25) 600px, rgba(100, 100, 225, 0.25) 630px, rgba(0, 0, 0, 0) 630px, rgba(0, 0, 0, 0) 640px, rgba(100, 100, 225, 0.25) 640px, rgba(100, 100, 225, 0.25) 670px, rgba(0, 0, 0, 0) 670px, rgba(0, 0, 0, 0) 680px, rgba(100, 100, 225, 0.25) 680px, rgba(100, 100, 225, 0.25) 710px, rgba(0, 0, 0, 0) 710px, rgba(0, 0, 0, 0) 720px, rgba(100, 100, 225, 0.25) 720px, rgba(100, 100, 225, 0.25) 750px, rgba(0, 0, 0, 0) 750px, rgba(0, 0, 0, 0) 760px, rgba(100, 100, 225, 0.25) 760px, rgba(100, 100, 225, 0.25) 790px, rgba(0, 0, 0, 0) 790px, rgba(0, 0, 0, 0) 800px, rgba(100, 100, 225, 0.25) 800px, rgba(100, 100, 225, 0.25) 830px, rgba(0, 0, 0, 0) 830px, rgba(0, 0, 0, 0) 840px, rgba(100, 100, 225, 0.25) 840px, rgba(100, 100, 225, 0.25) 870px, rgba(0, 0, 0, 0) 870px, rgba(0, 0, 0, 0) 880px, rgba(100, 100, 225, 0.25) 880px, rgba(100, 100, 225, 0.25) 910px, rgba(0, 0, 0, 0) 910px, rgba(0, 0, 0, 0) 920px, rgba(100, 100, 225, 0.25) 920px, rgba(100, 100, 225, 0.25) 950px, rgba(0, 0, 0, 0) 950px, rgba(0, 0, 0, 0) 960px);
background-image: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%), -moz-linear-gradient(left, rgba(0, 0, 0, 0) 0px, rgba(100, 100, 225, 0.25) 0px, rgba(100, 100, 225, 0.25) 30px, rgba(0, 0, 0, 0) 30px, rgba(0, 0, 0, 0) 40px, rgba(100, 100, 225, 0.25) 40px, rgba(100, 100, 225, 0.25) 70px, rgba(0, 0, 0, 0) 70px, rgba(0, 0, 0, 0) 80px, rgba(100, 100, 225, 0.25) 80px, rgba(100, 100, 225, 0.25) 110px, rgba(0, 0, 0, 0) 110px, rgba(0, 0, 0, 0) 120px, rgba(100, 100, 225, 0.25) 120px, rgba(100, 100, 225, 0.25) 150px, rgba(0, 0, 0, 0) 150px, rgba(0, 0, 0, 0) 160px, rgba(100, 100, 225, 0.25) 160px, rgba(100, 100, 225, 0.25) 190px, rgba(0, 0, 0, 0) 190px, rgba(0, 0, 0, 0) 200px, rgba(100, 100, 225, 0.25) 200px, rgba(100, 100, 225, 0.25) 230px, rgba(0, 0, 0, 0) 230px, rgba(0, 0, 0, 0) 240px, rgba(100, 100, 225, 0.25) 240px, rgba(100, 100, 225, 0.25) 270px, rgba(0, 0, 0, 0) 270px, rgba(0, 0, 0, 0) 280px, rgba(100, 100, 225, 0.25) 280px, rgba(100, 100, 225, 0.25) 310px, rgba(0, 0, 0, 0) 310px, rgba(0, 0, 0, 0) 320px, rgba(100, 100, 225, 0.25) 320px, rgba(100, 100, 225, 0.25) 350px, rgba(0, 0, 0, 0) 350px, rgba(0, 0, 0, 0) 360px, rgba(100, 100, 225, 0.25) 360px, rgba(100, 100, 225, 0.25) 390px, rgba(0, 0, 0, 0) 390px, rgba(0, 0, 0, 0) 400px, rgba(100, 100, 225, 0.25) 400px, rgba(100, 100, 225, 0.25) 430px, rgba(0, 0, 0, 0) 430px, rgba(0, 0, 0, 0) 440px, rgba(100, 100, 225, 0.25) 440px, rgba(100, 100, 225, 0.25) 470px, rgba(0, 0, 0, 0) 470px, rgba(0, 0, 0, 0) 480px, rgba(100, 100, 225, 0.25) 480px, rgba(100, 100, 225, 0.25) 510px, rgba(0, 0, 0, 0) 510px, rgba(0, 0, 0, 0) 520px, rgba(100, 100, 225, 0.25) 520px, rgba(100, 100, 225, 0.25) 550px, rgba(0, 0, 0, 0) 550px, rgba(0, 0, 0, 0) 560px, rgba(100, 100, 225, 0.25) 560px, rgba(100, 100, 225, 0.25) 590px, rgba(0, 0, 0, 0) 590px, rgba(0, 0, 0, 0) 600px, rgba(100, 100, 225, 0.25) 600px, rgba(100, 100, 225, 0.25) 630px, rgba(0, 0, 0, 0) 630px, rgba(0, 0, 0, 0) 640px, rgba(100, 100, 225, 0.25) 640px, rgba(100, 100, 225, 0.25) 670px, rgba(0, 0, 0, 0) 670px, rgba(0, 0, 0, 0) 680px, rgba(100, 100, 225, 0.25) 680px, rgba(100, 100, 225, 0.25) 710px, rgba(0, 0, 0, 0) 710px, rgba(0, 0, 0, 0) 720px, rgba(100, 100, 225, 0.25) 720px, rgba(100, 100, 225, 0.25) 750px, rgba(0, 0, 0, 0) 750px, rgba(0, 0, 0, 0) 760px, rgba(100, 100, 225, 0.25) 760px, rgba(100, 100, 225, 0.25) 790px, rgba(0, 0, 0, 0) 790px, rgba(0, 0, 0, 0) 800px, rgba(100, 100, 225, 0.25) 800px, rgba(100, 100, 225, 0.25) 830px, rgba(0, 0, 0, 0) 830px, rgba(0, 0, 0, 0) 840px, rgba(100, 100, 225, 0.25) 840px, rgba(100, 100, 225, 0.25) 870px, rgba(0, 0, 0, 0) 870px, rgba(0, 0, 0, 0) 880px, rgba(100, 100, 225, 0.25) 880px, rgba(100, 100, 225, 0.25) 910px, rgba(0, 0, 0, 0) 910px, rgba(0, 0, 0, 0) 920px, rgba(100, 100, 225, 0.25) 920px, rgba(100, 100, 225, 0.25) 950px, rgba(0, 0, 0, 0) 950px, rgba(0, 0, 0, 0) 960px);
background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%), -o-linear-gradient(left, rgba(0, 0, 0, 0) 0px, rgba(100, 100, 225, 0.25) 0px, rgba(100, 100, 225, 0.25) 30px, rgba(0, 0, 0, 0) 30px, rgba(0, 0, 0, 0) 40px, rgba(100, 100, 225, 0.25) 40px, rgba(100, 100, 225, 0.25) 70px, rgba(0, 0, 0, 0) 70px, rgba(0, 0, 0, 0) 80px, rgba(100, 100, 225, 0.25) 80px, rgba(100, 100, 225, 0.25) 110px, rgba(0, 0, 0, 0) 110px, rgba(0, 0, 0, 0) 120px, rgba(100, 100, 225, 0.25) 120px, rgba(100, 100, 225, 0.25) 150px, rgba(0, 0, 0, 0) 150px, rgba(0, 0, 0, 0) 160px, rgba(100, 100, 225, 0.25) 160px, rgba(100, 100, 225, 0.25) 190px, rgba(0, 0, 0, 0) 190px, rgba(0, 0, 0, 0) 200px, rgba(100, 100, 225, 0.25) 200px, rgba(100, 100, 225, 0.25) 230px, rgba(0, 0, 0, 0) 230px, rgba(0, 0, 0, 0) 240px, rgba(100, 100, 225, 0.25) 240px, rgba(100, 100, 225, 0.25) 270px, rgba(0, 0, 0, 0) 270px, rgba(0, 0, 0, 0) 280px, rgba(100, 100, 225, 0.25) 280px, rgba(100, 100, 225, 0.25) 310px, rgba(0, 0, 0, 0) 310px, rgba(0, 0, 0, 0) 320px, rgba(100, 100, 225, 0.25) 320px, rgba(100, 100, 225, 0.25) 350px, rgba(0, 0, 0, 0) 350px, rgba(0, 0, 0, 0) 360px, rgba(100, 100, 225, 0.25) 360px, rgba(100, 100, 225, 0.25) 390px, rgba(0, 0, 0, 0) 390px, rgba(0, 0, 0, 0) 400px, rgba(100, 100, 225, 0.25) 400px, rgba(100, 100, 225, 0.25) 430px, rgba(0, 0, 0, 0) 430px, rgba(0, 0, 0, 0) 440px, rgba(100, 100, 225, 0.25) 440px, rgba(100, 100, 225, 0.25) 470px, rgba(0, 0, 0, 0) 470px, rgba(0, 0, 0, 0) 480px, rgba(100, 100, 225, 0.25) 480px, rgba(100, 100, 225, 0.25) 510px, rgba(0, 0, 0, 0) 510px, rgba(0, 0, 0, 0) 520px, rgba(100, 100, 225, 0.25) 520px, rgba(100, 100, 225, 0.25) 550px, rgba(0, 0, 0, 0) 550px, rgba(0, 0, 0, 0) 560px, rgba(100, 100, 225, 0.25) 560px, rgba(100, 100, 225, 0.25) 590px, rgba(0, 0, 0, 0) 590px, rgba(0, 0, 0, 0) 600px, rgba(100, 100, 225, 0.25) 600px, rgba(100, 100, 225, 0.25) 630px, rgba(0, 0, 0, 0) 630px, rgba(0, 0, 0, 0) 640px, rgba(100, 100, 225, 0.25) 640px, rgba(100, 100, 225, 0.25) 670px, rgba(0, 0, 0, 0) 670px, rgba(0, 0, 0, 0) 680px, rgba(100, 100, 225, 0.25) 680px, rgba(100, 100, 225, 0.25) 710px, rgba(0, 0, 0, 0) 710px, rgba(0, 0, 0, 0) 720px, rgba(100, 100, 225, 0.25) 720px, rgba(100, 100, 225, 0.25) 750px, rgba(0, 0, 0, 0) 750px, rgba(0, 0, 0, 0) 760px, rgba(100, 100, 225, 0.25) 760px, rgba(100, 100, 225, 0.25) 790px, rgba(0, 0, 0, 0) 790px, rgba(0, 0, 0, 0) 800px, rgba(100, 100, 225, 0.25) 800px, rgba(100, 100, 225, 0.25) 830px, rgba(0, 0, 0, 0) 830px, rgba(0, 0, 0, 0) 840px, rgba(100, 100, 225, 0.25) 840px, rgba(100, 100, 225, 0.25) 870px, rgba(0, 0, 0, 0) 870px, rgba(0, 0, 0, 0) 880px, rgba(100, 100, 225, 0.25) 880px, rgba(100, 100, 225, 0.25) 910px, rgba(0, 0, 0, 0) 910px, rgba(0, 0, 0, 0) 920px, rgba(100, 100, 225, 0.25) 920px, rgba(100, 100, 225, 0.25) 950px, rgba(0, 0, 0, 0) 950px, rgba(0, 0, 0, 0) 960px);
background-image: -ms-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%), -ms-linear-gradient(left, rgba(0, 0, 0, 0) 0px, rgba(100, 100, 225, 0.25) 0px, rgba(100, 100, 225, 0.25) 30px, rgba(0, 0, 0, 0) 30px, rgba(0, 0, 0, 0) 40px, rgba(100, 100, 225, 0.25) 40px, rgba(100, 100, 225, 0.25) 70px, rgba(0, 0, 0, 0) 70px, rgba(0, 0, 0, 0) 80px, rgba(100, 100, 225, 0.25) 80px, rgba(100, 100, 225, 0.25) 110px, rgba(0, 0, 0, 0) 110px, rgba(0, 0, 0, 0) 120px, rgba(100, 100, 225, 0.25) 120px, rgba(100, 100, 225, 0.25) 150px, rgba(0, 0, 0, 0) 150px, rgba(0, 0, 0, 0) 160px, rgba(100, 100, 225, 0.25) 160px, rgba(100, 100, 225, 0.25) 190px, rgba(0, 0, 0, 0) 190px, rgba(0, 0, 0, 0) 200px, rgba(100, 100, 225, 0.25) 200px, rgba(100, 100, 225, 0.25) 230px, rgba(0, 0, 0, 0) 230px, rgba(0, 0, 0, 0) 240px, rgba(100, 100, 225, 0.25) 240px, rgba(100, 100, 225, 0.25) 270px, rgba(0, 0, 0, 0) 270px, rgba(0, 0, 0, 0) 280px, rgba(100, 100, 225, 0.25) 280px, rgba(100, 100, 225, 0.25) 310px, rgba(0, 0, 0, 0) 310px, rgba(0, 0, 0, 0) 320px, rgba(100, 100, 225, 0.25) 320px, rgba(100, 100, 225, 0.25) 350px, rgba(0, 0, 0, 0) 350px, rgba(0, 0, 0, 0) 360px, rgba(100, 100, 225, 0.25) 360px, rgba(100, 100, 225, 0.25) 390px, rgba(0, 0, 0, 0) 390px, rgba(0, 0, 0, 0) 400px, rgba(100, 100, 225, 0.25) 400px, rgba(100, 100, 225, 0.25) 430px, rgba(0, 0, 0, 0) 430px, rgba(0, 0, 0, 0) 440px, rgba(100, 100, 225, 0.25) 440px, rgba(100, 100, 225, 0.25) 470px, rgba(0, 0, 0, 0) 470px, rgba(0, 0, 0, 0) 480px, rgba(100, 100, 225, 0.25) 480px, rgba(100, 100, 225, 0.25) 510px, rgba(0, 0, 0, 0) 510px, rgba(0, 0, 0, 0) 520px, rgba(100, 100, 225, 0.25) 520px, rgba(100, 100, 225, 0.25) 550px, rgba(0, 0, 0, 0) 550px, rgba(0, 0, 0, 0) 560px, rgba(100, 100, 225, 0.25) 560px, rgba(100, 100, 225, 0.25) 590px, rgba(0, 0, 0, 0) 590px, rgba(0, 0, 0, 0) 600px, rgba(100, 100, 225, 0.25) 600px, rgba(100, 100, 225, 0.25) 630px, rgba(0, 0, 0, 0) 630px, rgba(0, 0, 0, 0) 640px, rgba(100, 100, 225, 0.25) 640px, rgba(100, 100, 225, 0.25) 670px, rgba(0, 0, 0, 0) 670px, rgba(0, 0, 0, 0) 680px, rgba(100, 100, 225, 0.25) 680px, rgba(100, 100, 225, 0.25) 710px, rgba(0, 0, 0, 0) 710px, rgba(0, 0, 0, 0) 720px, rgba(100, 100, 225, 0.25) 720px, rgba(100, 100, 225, 0.25) 750px, rgba(0, 0, 0, 0) 750px, rgba(0, 0, 0, 0) 760px, rgba(100, 100, 225, 0.25) 760px, rgba(100, 100, 225, 0.25) 790px, rgba(0, 0, 0, 0) 790px, rgba(0, 0, 0, 0) 800px, rgba(100, 100, 225, 0.25) 800px, rgba(100, 100, 225, 0.25) 830px, rgba(0, 0, 0, 0) 830px, rgba(0, 0, 0, 0) 840px, rgba(100, 100, 225, 0.25) 840px, rgba(100, 100, 225, 0.25) 870px, rgba(0, 0, 0, 0) 870px, rgba(0, 0, 0, 0) 880px, rgba(100, 100, 225, 0.25) 880px, rgba(100, 100, 225, 0.25) 910px, rgba(0, 0, 0, 0) 910px, rgba(0, 0, 0, 0) 920px, rgba(100, 100, 225, 0.25) 920px, rgba(100, 100, 225, 0.25) 950px, rgba(0, 0, 0, 0) 950px, rgba(0, 0, 0, 0) 960px);
background-image: linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%), linear-gradient(left, rgba(0, 0, 0, 0) 0px, rgba(100, 100, 225, 0.25) 0px, rgba(100, 100, 225, 0.25) 30px, rgba(0, 0, 0, 0) 30px, rgba(0, 0, 0, 0) 40px, rgba(100, 100, 225, 0.25) 40px, rgba(100, 100, 225, 0.25) 70px, rgba(0, 0, 0, 0) 70px, rgba(0, 0, 0, 0) 80px, rgba(100, 100, 225, 0.25) 80px, rgba(100, 100, 225, 0.25) 110px, rgba(0, 0, 0, 0) 110px, rgba(0, 0, 0, 0) 120px, rgba(100, 100, 225, 0.25) 120px, rgba(100, 100, 225, 0.25) 150px, rgba(0, 0, 0, 0) 150px, rgba(0, 0, 0, 0) 160px, rgba(100, 100, 225, 0.25) 160px, rgba(100, 100, 225, 0.25) 190px, rgba(0, 0, 0, 0) 190px, rgba(0, 0, 0, 0) 200px, rgba(100, 100, 225, 0.25) 200px, rgba(100, 100, 225, 0.25) 230px, rgba(0, 0, 0, 0) 230px, rgba(0, 0, 0, 0) 240px, rgba(100, 100, 225, 0.25) 240px, rgba(100, 100, 225, 0.25) 270px, rgba(0, 0, 0, 0) 270px, rgba(0, 0, 0, 0) 280px, rgba(100, 100, 225, 0.25) 280px, rgba(100, 100, 225, 0.25) 310px, rgba(0, 0, 0, 0) 310px, rgba(0, 0, 0, 0) 320px, rgba(100, 100, 225, 0.25) 320px, rgba(100, 100, 225, 0.25) 350px, rgba(0, 0, 0, 0) 350px, rgba(0, 0, 0, 0) 360px, rgba(100, 100, 225, 0.25) 360px, rgba(100, 100, 225, 0.25) 390px, rgba(0, 0, 0, 0) 390px, rgba(0, 0, 0, 0) 400px, rgba(100, 100, 225, 0.25) 400px, rgba(100, 100, 225, 0.25) 430px, rgba(0, 0, 0, 0) 430px, rgba(0, 0, 0, 0) 440px, rgba(100, 100, 225, 0.25) 440px, rgba(100, 100, 225, 0.25) 470px, rgba(0, 0, 0, 0) 470px, rgba(0, 0, 0, 0) 480px, rgba(100, 100, 225, 0.25) 480px, rgba(100, 100, 225, 0.25) 510px, rgba(0, 0, 0, 0) 510px, rgba(0, 0, 0, 0) 520px, rgba(100, 100, 225, 0.25) 520px, rgba(100, 100, 225, 0.25) 550px, rgba(0, 0, 0, 0) 550px, rgba(0, 0, 0, 0) 560px, rgba(100, 100, 225, 0.25) 560px, rgba(100, 100, 225, 0.25) 590px, rgba(0, 0, 0, 0) 590px, rgba(0, 0, 0, 0) 600px, rgba(100, 100, 225, 0.25) 600px, rgba(100, 100, 225, 0.25) 630px, rgba(0, 0, 0, 0) 630px, rgba(0, 0, 0, 0) 640px, rgba(100, 100, 225, 0.25) 640px, rgba(100, 100, 225, 0.25) 670px, rgba(0, 0, 0, 0) 670px, rgba(0, 0, 0, 0) 680px, rgba(100, 100, 225, 0.25) 680px, rgba(100, 100, 225, 0.25) 710px, rgba(0, 0, 0, 0) 710px, rgba(0, 0, 0, 0) 720px, rgba(100, 100, 225, 0.25) 720px, rgba(100, 100, 225, 0.25) 750px, rgba(0, 0, 0, 0) 750px, rgba(0, 0, 0, 0) 760px, rgba(100, 100, 225, 0.25) 760px, rgba(100, 100, 225, 0.25) 790px, rgba(0, 0, 0, 0) 790px, rgba(0, 0, 0, 0) 800px, rgba(100, 100, 225, 0.25) 800px, rgba(100, 100, 225, 0.25) 830px, rgba(0, 0, 0, 0) 830px, rgba(0, 0, 0, 0) 840px, rgba(100, 100, 225, 0.25) 840px, rgba(100, 100, 225, 0.25) 870px, rgba(0, 0, 0, 0) 870px, rgba(0, 0, 0, 0) 880px, rgba(100, 100, 225, 0.25) 880px, rgba(100, 100, 225, 0.25) 910px, rgba(0, 0, 0, 0) 910px, rgba(0, 0, 0, 0) 920px, rgba(100, 100, 225, 0.25) 920px, rgba(100, 100, 225, 0.25) 950px, rgba(0, 0, 0, 0) 950px, rgba(0, 0, 0, 0) 960px);
-moz-background-size: 100% 18px, auto;
-webkit-background-size: 100% 18px, auto;
-o-background-size: 100% 18px, auto;
background-size: 100% 18px, auto;
background-position: left top;
}
/* line 4, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .feedback, body.bp .error, body.bp .alert, body.bp .notice, body.bp .success, body.bp .info {
padding: 0.8em;
margin-bottom: 1em;
border: 2px solid #dddddd;
}
/* line 5, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .error, body.bp .alert {
background: #fbe3e4;
color: #8a1f11;
border-color: #fbc2c4;
}
/* line 27, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .error a, body.bp .alert a {
color: #8a1f11;
}
/* line 7, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .notice {
background: #fff6bf;
color: #514721;
border-color: #ffd324;
}
/* line 36, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .notice a {
color: #514721;
}
/* line 8, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .success {
background: #e6efc2;
color: #264409;
border-color: #c6d880;
}
/* line 45, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .success a {
color: #264409;
}
/* line 9, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .info {
background: #d5edf8;
color: #205791;
border-color: #92cae4;
}
/* line 54, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .info a {
color: #205791;
}
/* line 10, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .hide {
display: none;
}
/* line 11, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .highlight {
background: yellow;
}
/* line 12, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .added {
background: #006600;
color: white;
}
/* line 13, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */
body.bp .removed {
background: #990000;
color: white;
}
/* line 18, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp label {
font-weight: bold;
}
/* line 19, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp fieldset {
padding: 1.4em;
margin: 0 0 1.5em 0;
}
/* line 20, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp legend {
font-weight: bold;
font-size: 1.2em;
}
/* line 26, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp input.text, form.bp input.title, form.bp input[type=email], form.bp input[type=text], form.bp input[type=password] {
margin: 0.5em 0;
background-color: white;
padding: 5px;
}
/* line 27, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp input.title {
font-size: 1.5em;
}
/* line 29, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp textarea {
margin: 0.5em 0;
padding: 5px;
}
/* line 30, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp select {
margin: 0.5em 0;
}
/* line 55, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp fieldset {
border: 1px solid #cccccc;
}
/* line 58, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp input.text, form.bp input.title, form.bp input[type=email], form.bp input[type=text], form.bp input[type=password],
form.bp textarea {
background-color: #fff;
border: 1px solid #bbbbbb;
}
/* line 61, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp input.text:focus, form.bp input.title:focus, form.bp input[type=email]:focus, form.bp input[type=text]:focus, form.bp input[type=password]:focus,
form.bp textarea:focus {
border-color: #666666;
}
/* line 65, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp select {
background-color: #fff;
border-width: 1px;
border-style: solid;
}
/* line 44, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp input.text, form.bp input.title, form.bp input[type=email], form.bp input[type=text], form.bp input[type=password] {
width: 300px;
}
/* line 46, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp textarea {
width: 390px;
height: 250px;
}
/* line 39, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */
form.bp .box {
padding: 1.5em;
margin-bottom: 1.5em;
background: #e5ecf9;
}
/* line 42, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */
form.bp .border {
padding-right: 4px;
margin-right: 5px;
border-right: 1px solid #dddddd;
}
/* line 45, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */
form.bp .colborder {
padding-right: 24px;
margin-right: 25px;
border-right: 1px solid #dddddd;
}
/* line 47, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */
form.bp hr {
background: #dddddd;
color: #dddddd;
clear: both;
float: none;
width: 100%;
height: 0.1em;
margin: 0 0 1.45em;
border: none;
}
/* line 49, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */
form.bp hr.space {
background: #dddddd;
color: #dddddd;
clear: both;
float: none;
width: 100%;
height: 0.1em;
margin: 0 0 1.45em;
border: none;
background: white;
color: white;
visibility: hidden;
}
/* line 51, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */
form.bp form.inline {
line-height: 3;
}
/* line 6, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_form.scss */
form.bp form.inline p {
margin-bottom: 0;
}
/* line 36, ../sass/screen.scss */
body.two-col #container {
width: 950px;
margin: 0 auto;
overflow: hidden;
*zoom: 1;
}
/* line 38, ../sass/screen.scss */
body.two-col #header, body.two-col #footer {
display: inline;
float: left;
margin-right: 10px;
width: 950px;
}
/* line 147, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_grid.scss */
* html body.two-col #header, * html body.two-col #footer {
overflow-x: hidden;
}
/* line 40, ../sass/screen.scss */
body.two-col #sidebar {
display: inline;
float: left;
margin-right: 10px;
width: 310px;
}
/* line 147, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_grid.scss */
* html body.two-col #sidebar {
overflow-x: hidden;
}
/* line 44, ../sass/screen.scss */
body.two-col #content {
display: inline;
float: left;
margin-right: 0;
width: 630px;
}
/* line 147, ../../../../../../Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_grid.scss */
* html body.two-col #content {
overflow-x: hidden;
}

1529
js/maximage/js/jquery.cycle.all.js Executable file

File diff suppressed because it is too large Load Diff

22
js/maximage/js/jquery.cycle.all.min.js vendored Executable file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,9 @@
/**
* jQuery.LocalScroll - Animated scrolling navigation, using anchors.
* Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
* Dual licensed under MIT and GPL.
* Date: 3/11/2009
* @author Ariel Flesler
* @version 1.2.7
**/
;(function($){var l=location.href.replace(/#.*/,'');var g=$.localScroll=function(a){$('body').localScroll(a)};g.defaults={duration:1e3,axis:'y',event:'click',stop:true,target:window,reset:true};g.hash=function(a){if(location.hash){a=$.extend({},g.defaults,a);a.hash=false;if(a.reset){var e=a.duration;delete a.duration;$(a.target).scrollTo(0,a);a.duration=e}i(0,location,a)}};$.fn.localScroll=function(b){b=$.extend({},g.defaults,b);return b.lazy?this.bind(b.event,function(a){var e=$([a.target,a.target.parentNode]).filter(d)[0];if(e)i(a,e,b)}):this.find('a,area').filter(d).bind(b.event,function(a){i(a,this,b)}).end().end();function d(){return!!this.href&&!!this.hash&&this.href.replace(this.hash,'')==l&&(!b.filter||$(this).is(b.filter))}};function i(a,e,b){var d=e.hash.slice(1),f=document.getElementById(d)||document.getElementsByName(d)[0];if(!f)return;if(a)a.preventDefault();var h=$(b.target);if(b.lock&&h.is(':animated')||b.onBefore&&b.onBefore.call(b,a,f,h)===false)return;if(b.stop)h.stop(true);if(b.hash){var j=f.id==d?'id':'name',k=$('<a> </a>').attr(j,d).css({position:'absolute',top:$(window).scrollTop(),left:$(window).scrollLeft()});f[j]='';$('body').prepend(k);location=e.hash;k.remove();f[j]=d}h.scrollTo(f,b).trigger('notify.serialScroll',[f])}})(jQuery);

697
js/maximage/js/jquery.maximage.js Executable file
View File

@@ -0,0 +1,697 @@
/* --------------------------------------------------------------------
MaxImage 2.0 (Fullscreen Slideshow for use with jQuery Cycle Plugin)
--------------------------------------------------------------------
Examples and documentation at: http://www.aaronvanderzwan.com/maximage/2.0/
Copyright (c) 2007-2012 Aaron Vanderzwan
Dual licensed under the MIT and GPL licenses.
NOTES:
This plugin is intended to simplify the creation of fullscreen
background slideshows. It is intended to be used alongside the
jQuery Cycle plugin:
http://jquery.malsup.com/cycle/
If you simply need a fullscreen background image, please
refer to the following document for ways to do this that
are much more simple:
http://css-tricks.com/perfect-full-page-background-image/
If you have any questions please contact Aaron Vanderzwan
at http://www.aaronvanderzwan.com/blog/
Documentation at:
http://blog.aaronvanderzwan.com/2012/07/maximage-2-0/
HISTORY:
MaxImage 2.0 is a project first built as jQuery MaxImage Plugin
(http://www.aaronvanderzwan.com/maximage/). Once CSS3 came along,
the background-size:cover solved the problem MaxImage
was intended to solve. However, fully customizable
fullscreen slideshows is still fairly complex and I have not
found any helpers for integrating with the jQuery Cycle Plugin.
MaxCycle is intended to solve this problem.
TABLE OF CONTENTS:
@Modern
@setup
@resize
@preload
@Old
@setup
@preload
@onceloaded
@maximage
@windowresize
@doneresizing
@Cycle
@setup
@Adjust
@center
@fill
@maxcover
@maxcontain
@Utils
@browser_tests
@construct_slide_object
@sizes
@modern_browser
@debug
*/
/*!
* Maximage Version: 2.0.8 (16-Jan-2012) - http://www.aaronvanderzwan.com/maximage/2.0/
*/
(function ($) {
"use strict";
$.fn.maximage = function (settings, helperSettings) {
var config;
if (typeof settings == 'object' || settings === undefined) config = $.extend( $.fn.maximage.defaults, settings || {} );
if (typeof settings == 'string') config = $.fn.maximage.defaults;
/*jslint browser: true*/
$.Body = $('body');
$.Window = $(window);
$.Scroll = $('html, body');
$.Events = {
RESIZE: 'resize'
};
this.each(function() {
var $self = $(this),
preload_count = 0,
imageCache = [];
/* --------------------- */
// @Modern
/*
MODERN BROWSER NOTES:
Modern browsers have CSS3 background-size option so we setup the DOM to be the following structure for cycle plugin:
div = cycle
div = slide with background-size:cover
div = slide with background-size:cover
etc.
*/
var Modern = {
setup: function(){
if($.Slides.length > 0){
var i,
len = $.Slides.length;
// Setup images
for(i=0; i < len; i++) {
// Set our image
var $img = $.Slides[i];
// Create a div with a background image so we can use CSS3's position cover (for modern browsers)
$self.append('<div class="mc-image ' + $img.theclass + '" title="' + $img.alt + '" style="background-image:url(\'' + $img.url + '\');' + $img.style + '" data-href="'+ $img.datahref +'">'+ $img.content +'</div>');
}
// Begin our preload process (increments itself after load)
Modern.preload(0);
// If using Cycle, this resets the height and width of each div to always fill the window; otherwise can be done with CSS
Modern.resize();
}
},
preload: function(n){
// Preload all of the images but never show them, just use their completion so we know that they are done
// and so that the browser can cache them / fade them in smoothly
// Create new image object
var $img = $('<img/>');
$img.load(function() {
// Once the first image has completed loading, start the slideshow, etc.
if(preload_count==0) {
// Only start cycle after first image has loaded
Cycle.setup();
// Run user defined onFirstImageLoaded() function
config.onFirstImageLoaded();
}
// preload_count starts with 0, $.Slides.length starts with 1
if(preload_count==($.Slides.length-1)) {
// If we have just loaded the final image, run the user defined function onImagesLoaded()
config.onImagesLoaded( $self );
}else{
// Increment the counter
preload_count++;
// Load the next image
Modern.preload(preload_count);
}
});
// Set the src... this triggers begin of load
$img[0].src = $.Slides[n].url;
// Push to external array to avoid cleanup by aggressive garbage collectors
imageCache.push($img[0]);
},
resize: function(){
// Cycle sets the height of each slide so when we resize our browser window this becomes a problem.
// - the cycle option 'slideResize' has to be set to false otherwise it will trump our resize
$.Window
.bind($.Events.RESIZE,
function(){
// Remove scrollbars so we can take propper measurements
$.Scroll.addClass('mc-hide-scrolls');
// Set vars so we don't have to constantly check it
$.Window
.data('h', Utils.sizes().h)
.data('w', Utils.sizes().w);
// Set container and slides height and width to match the window size
$self
.height($.Window.data('h')).width($.Window.data('w'))
.children()
.height($.Window.data('h')).width($.Window.data('w'));
// This is special noise for cycle (cycle has separate height and width for each slide)
$self.children().each(function(){
this.cycleH = $.Window.data('h');
this.cycleW = $.Window.data('w');
});
// Put the scrollbars back to how they were
$($.Scroll).removeClass('mc-hide-scrolls');
});
}
}
/* --------------------- */
// @Old
/*
OLD BROWSER NOTES:
We setup the dom to be the following structure for cycle plugin on old browsers:
div = cycle
div = slide
img = full screen size image
div = slide
img = full screen size image
etc.
*/
var Old = {
setup: function(){
var c, t, $div, j, slideLen = $.Slides.length;
// Clear container
if($.BrowserTests.msie && !config.overrideMSIEStop){
// Stop IE from continually trying to preload images that we already removed
document.execCommand("Stop", false);
}
$self.html('');
$.Body.addClass('mc-old-browser');
if($.Slides.length > 0){
// Remove scrollbars so we can take propper measurements
$.Scroll.addClass('mc-hide-scrolls');
// Cache our new dimensions
$.Window
.data('h', Utils.sizes().h)
.data('w', Utils.sizes().w);
// Add our loading div to the DOM
$('body').append($("<div></div>").attr("class", "mc-loader").css({'position':'absolute','left':'-9999px'}));
// Loop through slides
for(j = 0; j < slideLen; j++) {
// Determine content (if container or image)
if($.Slides[j].content.length == 0){
c = '<img src="' + $.Slides[j].url + '" />';
}else{
c = $.Slides[j].content;
}
// Create Div
$div = $("<div>" + c + "</div>").attr("class", "mc-image mc-image-n" + j + " " + $.Slides[j].theclass);
// Add new container div to the DOM
$self.append( $div );
// Account for slides without images
if($('.mc-image-n' + j).children('img').length == 0){
}else{
// Add first image to loader to get that started
$('div.mc-loader').append( $('.mc-image-n' + j).children('img').first().clone().addClass('not-loaded') );
}
}
// Begin preloading
Old.preload();
// Setup the resize function to listen for window changes
Old.windowResize();
}
},
preload: function(){
// Intervals to tell if an images have loaded
var t = setInterval(function() {
$('.mc-loader').children('img').each(function(i){
// Check if image is loaded
var $img = $(this);
// Loop through not-loaded images
if($img.hasClass('not-loaded')){
if( $img.height() > 0 ){
// Remove Dom notice
$(this).removeClass('not-loaded');
// Set the dimensions
var $img1 = $('div.mc-image-n' + i).children('img').first();
$img1
.data('h', $img.height())
.data('w', $img.width())
.data('ar', ($img.width() / $img.height()));
// Go on
Old.onceLoaded(i)
}
}
});
if( $('.not-loaded').length == 0){
// Remove our loader element because all of our images are now loaded
$('.mc-loader').remove();
// Clear interval when all images are loaded
clearInterval(t);
}
}, 1000);
},
onceLoaded: function(m){
// Do maximage magic
Old.maximage(m);
// Once the first image has completed loading, start the slideshow, etc.
if(m == 0) {
// If we changed the visibility before, make sure it is back on
$self.css({'visibility':'visible'});
// Run user defined onFirstImageLoaded() function
config.onFirstImageLoaded();
// After everything is done loading, clean up
}else if(m == $.Slides.length - 1){
// Only start cycle after the first image has loaded
Cycle.setup();
// Put the scrollbars back to how they were
$($.Scroll).removeClass('mc-hide-scrolls');
// If we have just loaded the final image, run the user defined function onImagesLoaded()
config.onImagesLoaded( $self );
if(config.debug) {
debug(' - Final Maximage - ');debug($self);
}
}
},
maximage: function(p){
// Cycle sets the height of each slide so when we resize our browser window this becomes a problem.
// - the cycle option 'slideResize' has to be set to false otherwise it will trump our resize
$('div.mc-image-n' + p)
.height($.Window.data('h'))
.width($.Window.data('w'))
.children('img')
.first()
.each(function(){
Adjust.maxcover($(this));
});
},
windowResize: function(){
$.Window
.bind($.Events.RESIZE,
function(){
clearTimeout(this.id);
if($('.mc-image').length >= 1){
this.id = setTimeout(Old.doneResizing, 200);
}
});
},
doneResizing: function(){
// The final resize (on finish)
// Remove scrollbars so we can take propper measurements
$($.Scroll).addClass('mc-hide-scrolls');
// Cache our window's new dimensions
$.Window
.data('h', Utils.sizes().h)
.data('w', Utils.sizes().w);
// Set the container's height and width
$self.height($.Window.data('h')).width($.Window.data('w'))
// Set slide's height and width to match the window size
$self.find('.mc-image').each(function(n){
Old.maximage(n);
});
// Update cycle's ideas of what our slide's height and width should be
var curr_opts = $self.data('cycle.opts');
if(curr_opts != undefined){
curr_opts.height = $.Window.data('h');
curr_opts.width = $.Window.data('w');
jQuery.each(curr_opts.elements, function(index, item) {
item.cycleW = $.Window.data('w');
item.cycleH = $.Window.data('h');
});
}
// Put the scrollbars back to how they were
$($.Scroll).removeClass('mc-hide-scrolls');
}
}
/* --------------------- */
// @Cycle
var Cycle = {
setup: function(){
var h,w;
$self.addClass('mc-cycle');
// Container sizes (if not set)
$.Window
.data('h', Utils.sizes().h)
.data('w', Utils.sizes().w);
// Prefer CSS Transitions
jQuery.easing.easeForCSSTransition = function(x, t, b, c, d, s) {
return b+c;
};
var cycleOptions = $.extend({
fit:1,
containerResize:0,
height:$.Window.data('h'),
width:$.Window.data('w'),
slideResize: false,
easing: ($.BrowserTests.cssTransitions && config.cssTransitions ? 'easeForCSSTransition' : 'swing')
}, config.cycleOptions);
$self.cycle( cycleOptions );
}
}
/* --------------------- */
// @Adjust = Math to center and fill all elements
var Adjust = {
center: function($item){
// Note: if alignment is 'left' or 'right' it can be controlled with CSS once verticalCenter
// and horizontal center are set to false in the plugin options
if(config.verticalCenter){
$item.css({marginTop:(($item.height() - $.Window.data('h'))/2) * -1})
}
if(config.horizontalCenter){
$item.css({marginLeft:(($item.width() - $.Window.data('w'))/2) * -1});
}
},
fill: function($item){
var $storageEl = $item.is('object') ? $item.parent().first() : $item;
if(typeof config.backgroundSize == 'function'){
// If someone wants to write their own fill() function, they can: example customBackgroundSize.html
config.backgroundSize( $item );
}else if(config.backgroundSize == 'cover'){
if($.Window.data('w') / $.Window.data('h') < $storageEl.data('ar')){
$item
.height($.Window.data('h'))
.width(($.Window.data('h') * $storageEl.data('ar')).toFixed(0));
}else{
$item
.height(($.Window.data('w') / $storageEl.data('ar')).toFixed(0))
.width($.Window.data('w'));
}
}else if(config.backgroundSize == 'contain'){
if($.Window.data('w') / $.Window.data('h') < $storageEl.data('ar')){
$item
.height(($.Window.data('w') / $storageEl.data('ar')).toFixed(0))
.width($.Window.data('w'));
}else{
$item
.height($.Window.data('h'))
.width(($.Window.data('h') * $storageEl.data('ar')).toFixed(0));
}
}else{
debug('The backgroundSize option was not recognized for older browsers.');
}
},
maxcover: function($item){
Adjust.fill($item);
Adjust.center($item);
},
maxcontain: function($item){
Adjust.fill($item);
Adjust.center($item);
}
}
/* --------------------- */
// @Utils = General utilities for the plugin
var Utils = {
browser_tests: function(){
var $div = $('<div />')[0],
vendor = ['Moz', 'Webkit', 'Khtml', 'O', 'ms'],
p = 'transition',
obj = {
cssTransitions: false,
cssBackgroundSize: ( "backgroundSize" in $div.style && config.cssBackgroundSize ), // Can override cssBackgroundSize in options
html5Video: false,
msie: false
};
// Test for CSS Transitions
if(config.cssTransitions){
if(typeof $div.style[p] == 'string') { obj.cssTransitions = true }
// Tests for vendor specific prop
p = p.charAt(0).toUpperCase() + p.substr(1);
for(var i=0; i<vendor.length; i++) {
if(vendor[i] + p in $div.style) { obj.cssTransitions = true; }
}
}
// Check if we can play html5 videos
if( !!document.createElement('video').canPlayType ) {
obj.html5Video = true;
}
// Check for MSIE since we lost $.browser in jQuery
obj.msie = (Utils.msie() !== undefined);
if(config.debug) {
debug(' - Browser Test - ');debug(obj);
}
return obj;
},
construct_slide_object: function(){
var obj = new Object(),
arr = new Array(),
temp = '';
$self.children().each(function(i){
var $img = $(this).is('img') ? $(this).clone() : $(this).find('img').first().clone();
// reset obj
obj = {};
// set attributes to obj
obj.url = $img.attr('src');
obj.title = $img.attr('title') != undefined ? $img.attr('title') : '';
obj.alt = $img.attr('alt') != undefined ? $img.attr('alt') : '';
obj.theclass = $img.attr('class') != undefined ? $img.attr('class') : '';
obj.styles = $img.attr('style') != undefined ? $img.attr('style') : '';
obj.orig = $img.clone();
obj.datahref = $img.attr('data-href') != undefined ? $img.attr('data-href') : '';
obj.content = "";
// Setup content for within container
if($(this).find('img').length > 0){
if($.BrowserTests.cssBackgroundSize){
$(this).find('img').first().remove();
}
obj.content = $(this).html();
}
// Stop loading image so we can load them sequentiallyelse{
$img[0].src = "";
// Remove original object (only on nonIE. IE hangs if you remove an image during load)
if($.BrowserTests.cssBackgroundSize){
$(this).remove();
}
// attach obj to arr
arr.push(obj);
});
if(config.debug) {
debug(' - Slide Object - ');debug(arr);
}
return arr;
},
msie: function(){
var undef,
v = 3,
div = document.createElement('div'),
all = div.getElementsByTagName('i');
while (
div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->',
all[0]
);
return v > 4 ? v : undef;
},
sizes: function(){
var sizes = {h:0,w:0};
if(config.fillElement == "window"){
sizes.h = $.Window.height();
sizes.w = $.Window.width();
}else{
var $fillElement = $self.parents(config.fillElement).first();
// Height
if($fillElement.height() == 0 || $fillElement.data('windowHeight') == true){
$fillElement.data('windowHeight',true);
sizes.h = $.Window.height();
}else{
sizes.h = $fillElement.height();
}
// Width
if($fillElement.width() == 0 || $fillElement.data('windowWidth') == true){
$fillElement.data('windowWidth',true);
sizes.w = $.Window.width();
}else{
sizes.w = $fillElement.width();
}
}
return sizes;
}
}
/* --------------------- */
// @Instantiation
// Helper Function
// Run tests to see what our browser can handle
$.BrowserTests = Utils.browser_tests();
if(typeof settings == 'string'){
// TODO: Resize object fallback for old browsers, If we are trying to size an HTML5 video and our browser doesn't support it
if($.BrowserTests.html5Video || !$self.is('video')) {
var to,
$storageEl = $self.is('object') ? $self.parent().first() : $self; // Can't assign .data() to '<object>'
if( !$.Body.hasClass('mc-old-browser') )
$.Body.addClass('mc-old-browser');
// Cache our window's new dimensions
$.Window
.data('h', Utils.sizes().h)
.data('w', Utils.sizes().w);
// Please include height and width attributes on your html elements
$storageEl
.data('h', $self.height())
.data('w', $self.width())
.data('ar', $self.width() / $self.height());
// We want to resize these elements with the window
$.Window
.bind($.Events.RESIZE,
function(){
// Cache our window's new dimensions
$.Window
.data('h', Utils.sizes().h)
.data('w', Utils.sizes().w);
// Limit resize runs
to = $self.data('resizer');
clearTimeout(to);
to = setTimeout( Adjust[settings]($self), 200 );
$self.data('resizer', to);
});
// Initial run
Adjust[settings]($self);
}
}else{
// Construct array of image objects for us to use
$.Slides = Utils.construct_slide_object();
// If we are allowing background-size:cover run Modern
if($.BrowserTests.cssBackgroundSize){
if(config.debug) debug(' - Using Modern - ');
Modern.setup();
}else{
if(config.debug) debug(' - Using Old - ');
Old.setup();
}
}
});
// private function for debugging
function debug($obj) {
if (window.console && window.console.log) {
window.console.log($obj);
}
}
}
// Default options
$.fn.maximage.defaults = {
debug: false,
cssBackgroundSize: true, // Force run the functionality used for newer browsers
cssTransitions: true, // Force run the functionality used for old browsers
verticalCenter: true, // Only necessary for old browsers
horizontalCenter: true, // Only necessary for old browsers
scaleInterval: 20, // Only necessary for old browsers
backgroundSize: 'cover', // Only necessary for old browsers (this can be function)
fillElement: 'window', // Either 'window' or a CSS selector for a parent element
overrideMSIEStop: false, // This gives the option to not 'stop' load for MSIE (stops coded background images from loading so we can preload)...
// If setting this option to true, please beware of IE7/8 "Stack Overflow" error but if there are more than 13 slides
// The description of the bug: http://blog.aaronvanderzwan.com/forums/topic/stack-overflow-in-ie-7-8/#post-33038
onFirstImageLoaded: function(){},
onImagesLoaded: function(){}
}
})(jQuery);

4
js/maximage/js/jquery.maximage.min.js vendored Executable file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,11 @@
/**
* jQuery.ScrollTo - Easy element scrolling using jQuery.
* Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
* Dual licensed under MIT and GPL.
* Date: 5/25/2009
* @author Ariel Flesler
* @version 1.4.2
*
* http://flesler.blogspot.com/2007/10/jqueryscrollto.html
*/
;(function(d){var k=d.scrollTo=function(a,i,e){d(window).scrollTo(a,i,e)};k.defaults={axis:'xy',duration:parseFloat(d.fn.jquery)>=1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);

16
js/maximage/scss/ie.scss Executable file
View File

@@ -0,0 +1,16 @@
@import "blueprint";
// To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
// @include blueprint-ie
//Recommended Blueprint configuration with scoping and semantic layout:
body.bp {
@include blueprint-ie(true);
// Note: Blueprint centers text to fix IE6 container centering.
// This means all your texts will be centered under all version of IE by default.
// If your container does not have the .container class, don't forget to restore
// the correct behavior to your main container (but not the body tag!)
// Example:
// .my-container
// text-align: left
}

View File

@@ -0,0 +1,10 @@
// Here is where you can define your constants for your application and to configure the blueprint framework.
// Feel free to delete these if you want keep the defaults:
$blueprint-grid-columns: 24;
$blueprint-container-size: 950px;
$blueprint-grid-margin: 10px;
// Use this to calculate the width based on the total width.
// Or you can set $blueprint-grid-width to a fixed value and unset $blueprint-container-size -- it will be calculated for you.
$blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin;

8
js/maximage/scss/print.scss Executable file
View File

@@ -0,0 +1,8 @@
@import "blueprint";
// To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
// @include blueprint-print
//Recommended Blueprint configuration with scoping and semantic layout:
body.bp {
@include blueprint-print(true); }

65
js/maximage/scss/screen.scss Executable file
View File

@@ -0,0 +1,65 @@
// This import applies a global reset to any page that imports this stylesheet.
@import "blueprint/reset";
// To configure blueprint, edit the partials/base.sass file.
@import "partials/base";
// Import all the default blueprint modules so that we can access their mixins.
@import "blueprint";
// Import the non-default scaffolding module.
@import "blueprint/scaffolding";
// To generate css equivalent to the blueprint css but with your
// configuration applied, uncomment:
// @include blueprint
// If you are doing a lot of stylesheet concatenation, it is suggested
// that you scope your blueprint styles, so that you can better control
// what pages use blueprint when stylesheets are concatenated together.
body.bp {
@include blueprint-typography(true);
@include blueprint-utilities;
@include blueprint-debug;
@include blueprint-interaction;
// Remove the scaffolding when you're ready to start doing visual design.
// Or leave it in if you're happy with how blueprint looks out-of-the-box
}
form.bp {
@include blueprint-form;
// You'll probably want to remove the scaffolding once you start styling your site.
@include blueprint-scaffolding; }
// Page layout can be done using mixins applied to your semantic classes and IDs:
body.two-col {
#container {
@include container; }
#header, #footer {
@include column($blueprint-grid-columns); }
#sidebar {
// One third of the grid columns, rounding down. With 24 cols, this is 8.
$sidebar-columns: floor($blueprint-grid-columns / 3);
@include column($sidebar-columns); }
#content {
// Two thirds of the grid columns, rounding up.
// With 24 cols, this is 16.
$content-columns: ceil(2 * $blueprint-grid-columns / 3);
// true means it's the last column in the row
@include column($content-columns, true); } }
body {color:#333;font-family:georgia,arial,sans-serif;font-size:62.5%;margin:0;padding:0;text-shadow: 0 1px 0 #fff;}
.container {bottom:40px;margin:40px;width:700px;}
h1 {color:#333;font-family:'Helvetica Neue',helvetica,arial,sans-serif;font-size:28em;font-weight:100;line-height:1em;margin:20% 0 0 0;}
a {color:#ff6600;}
p {background:#F1F1F1;font-size:2.5em;font-weight:300;line-height:1.5em;opacity:0.8;padding:10px;}
p.step {}
p.step span.num {background:#ffffcc;-moz-box-shadow: 0 0 15px #ccc;-moz-box-shadow: 0 0 15px #ccc;-webkit-box-shadow: 0 0 15px #ccc;box-shadow: 0 0 15px #ccc;}
div.reset {color:#333;padding:20px;text-shadow: 0 0 0 #000;}
div.reset aside {font-size:3em;font-weight:300;}
div.reset h2 {font-size:16px;}
div.reset p {font-size:12px;}
p.small-font-size {font-size:14px;}

BIN
js/maximage/video/kissing.m4v Executable file

Binary file not shown.

BIN
js/maximage/video/kissing.mp4 Executable file

Binary file not shown.

BIN
js/maximage/video/kissing.ogv Executable file

Binary file not shown.

BIN
js/maximage/video/kissing.webm Executable file

Binary file not shown.

View File

@@ -0,0 +1,96 @@
10
dir
1
file:///Users/bruno/svn/zp_photoblog2/locale/fr_FR/LC_MESSAGES
file:///Users/bruno/svn/zp_photoblog2
2012-02-12T18:37:01.193144Z
1
bruno
1eedce8f-ce46-4c53-b5cd-33d9a888fabf
photoblog2.mo
file
2012-02-12T18:41:08.000000Z
34ac679875fc80f709cc6073a73a2b56
2012-02-12T18:37:01.193144Z
1
bruno
has-props
6176
photoblog2.po
file
2012-02-12T18:41:08.000000Z
f30fe86398b70593068e7807912824ae
2012-02-12T18:37:01.193144Z
1
bruno
19004

View File

@@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END

View File

@@ -0,0 +1,515 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-22 15:17+0100\n"
"PO-Revision-Date: 2011-07-22 15:17+0100\n"
"Last-Translator: Bruno <bruno@clicclac.info>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: gettext;ngettext;__;_e\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-Language: French\n"
"X-Poedit-Country: FRANCE\n"
"X-Poedit-SourceCharset: utf-8\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
"X-Poedit-SearchPath-0: /Library/WebServer/Documents/zenphoto/themes/photoblog2\n"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:10
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:9
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:13
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/contact.php:10
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:9
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/login.php:10
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:10
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:12
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:12
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/register.php:10
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:9
msgid "Albums Index"
msgstr "Accueil de la galerie"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:11
msgid "Page not found..."
msgstr "Page non trouvée..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:24
msgid "The page you are requesting cannot be found."
msgstr "La page que vous recherchez n'a pas été trouvée"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:26
#, php-format
msgid "Album: %s"
msgstr "Album: %s"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:29
#, php-format
msgid "Image: %s"
msgstr "Image: %s"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:32
#, php-format
msgid "Page: %s"
msgstr "Page: %s"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:39
msgid "Go to album..."
msgstr "Aller à l'album..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:50
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:114
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/contact.php:35
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/login.php:31
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:101
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:35
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/register.php:31
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:80
msgid "OK"
msgstr "OK"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:51
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:127
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/contact.php:36
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/login.php:32
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:110
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:49
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/register.php:33
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:83
msgid "Popular Tags"
msgstr "Tags populaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:20
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:32
msgid "Play Slideshow"
msgstr "Jouer le diaporama"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:32
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:36
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:60
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:64
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:46
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:50
msgid "View album:"
msgstr "Voir l'album:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:52
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:71
msgid "View image:"
msgstr "Voir l'image:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:64
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:75
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:95
msgid "&lsaquo; Previous"
msgstr "&lsaquo; Prec."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:64
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:75
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:95
msgid "Next &rsaquo;"
msgstr "Suiv. &rsaquo;"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:14
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:117
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:16
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:39
msgid "Archive"
msgstr "Archive"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:17
msgid "Random Images"
msgstr "Images au hasard"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:20
msgid "Popular Images"
msgstr "Images populaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:23
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:26
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:29
msgid "Latest Images"
msgstr "Images récentes"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:32
msgid "Most Rated Images"
msgstr "Images les plus notées"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:35
msgid "Top Rated Images"
msgstr "Images les mieux notées"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:115
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:37
msgid "Date Archive"
msgstr "Archive par date"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:119
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:41
msgid "most popular images"
msgstr "les plus populaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:120
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:42
msgid "latest uploaded images"
msgstr "dernières images envoyées"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:121
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:43
msgid "latest uploaded, but fetched by date"
msgstr "dernières images envoyées, triées par date"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:122
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:44
msgid "latest uploaded, but fetched by mtime"
msgstr "dernières images envoyées, triées par mtime"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:123
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:45
msgid "most voted"
msgstr "plus de votes"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:124
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:46
msgid "best voted"
msgstr "meilleurs votes"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:125
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:47
msgid "random"
msgstr "au hazard"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:3
msgid "Add a comment:"
msgstr "Ajouter un commentaire:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:13
msgid "Name:"
msgstr "Nom:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:16
msgid "<em>anonymous</em>"
msgstr "<em>anonyme</em>"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:42
msgid "E-Mail:"
msgstr "E-Mail:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:65
msgid "Site:"
msgstr "Site:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:91
msgid "street:"
msgstr "rue:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:114
msgid "city:"
msgstr "ville:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:136
msgid "state:"
msgstr "état:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:157
msgid "country:"
msgstr "pays:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:178
msgid "postal code:"
msgstr "code postal:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:204
msgid "Enter CAPTCHA:"
msgstr "Entrer CAPTCHA:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:220
msgid "Private comment (don't publish)"
msgstr "Commentaire privé (non publié)"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:230
msgid "Add Comment"
msgstr "Ajouter commentaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/contact.php:11
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:11
msgid "Contact..."
msgstr "Contact..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/contact.php:26
msgid "The Contact Form plugin has not been activated."
msgstr "Le plugin Contact Form n'a pas été activé."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:13
msgid "all rights reserved"
msgstr "tous droits réservés"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:14
msgid "Photo's licence"
msgstr "License des photos"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:15
msgid "Archives, Tag cloud, 10 recents pictures..."
msgstr "Archives, nuage de tags, 10 + récentes images..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:15
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:24
msgid "Archive View"
msgstr "Archives"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:25
msgid "Subscribe: "
msgstr "Souscrire:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:27
msgid "This Album"
msgstr "Cet album"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:28
msgid "Gallery Images"
msgstr "Portfolio"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:29
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:28
msgid "News"
msgstr "Actualités"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:12
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:10
msgid "Search"
msgstr "Recherche"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:15
msgid "About"
msgstr "A propos"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:17
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:22
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:191
msgid "Contact"
msgstr "Contact"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:18
msgid "Materiels"
msgstr "Matériels"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:25
msgid "latest"
msgstr "dernier"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:52
msgid "Latest images..."
msgstr "Images récentes..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:19
msgid "Welcome to ClicClac.info"
msgstr "Bienvenue sur ClicClac.info"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:25
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:14
msgid "Password Required..."
msgstr "Un mot de passe est requis..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:26
msgid "404 Not Found..."
msgstr "404 non trouvé..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:27
msgid "Search: "
msgstr "Recherche:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:92
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:106
msgid "start slideshow"
msgstr "démarrer diaporama"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:93
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:107
msgid "stop slideshow"
msgstr "arrêter diaporama"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:94
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:108
msgid "image {current} of {total}"
msgstr "image {current} sur {total}"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:95
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:109
msgid "previous"
msgstr "précédent"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:96
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:110
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:20
msgid "next"
msgstr "suivant"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:97
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:111
msgid "close"
msgstr "fermer"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:182
msgid "Portfolio"
msgstr "Portfolio"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:187
msgid "Now"
msgstr "En ce moment"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:188
msgid "Blog"
msgstr "Blog"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:189
msgid "Gallery"
msgstr "Portfolio"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:190
msgid "Guestbook"
msgstr "Livre d'Or"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:192
msgid "Links"
msgstr "Liens"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:17
msgid "Previous Image"
msgstr "Image précédente"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:17
msgid "prev"
msgstr "prec"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:20
msgid "Next Image"
msgstr "Image suivante"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:49
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:36
msgid "Tags"
msgstr "Tags"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:49
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:37
msgid "None"
msgstr "Aucun"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:88
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:90
msgid "Full size"
msgstr "Pleine taille"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:94
msgid "Slideshow"
msgstr "Diaporama"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:98
msgid "Copy"
msgstr "Copier"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:133
msgid "Rating"
msgstr "Vote"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:140
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:78
msgid "Comment"
msgstr "Commentaire"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:193
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:203
msgid "no EXIF location data"
msgstr "pas de données EXIF"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/login.php:11
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/register.php:11
msgid "Login..."
msgstr "Identifiant..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/login.php:23
msgid "User Registration"
msgstr "\"Inscription d'un utilisateur"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:104
msgid "Pages"
msgstr "Pages"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password_form.php:10
msgid "Login"
msgstr "Identifiant"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password_form.php:17
msgid "Password"
msgstr "Mot de passe"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password_form.php:22
msgid "Submit"
msgstr "Envoyer"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password_form.php:28
#, php-format
msgid "Hint: %s"
msgstr "Truc: %s"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:18
#, php-format
msgid "Total matches for <em>%1$s</em>: %2$u"
msgstr "Total des résultats pour <em>%1$s</em>: %2$u"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:21
msgid "Sorry, no matches. Try refining your search."
msgstr "Désolé, pas de résultats. Essayez de préciser votre recherche."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:81
msgid "Gallery Archive"
msgstr "Archives de la galerie"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:23
msgid "Image Info"
msgstr "Info Image"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:29
msgid "(No data)"
msgstr "(pas de données)"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:86
#, php-format
msgid "View image: %s"
msgstr "Voir l'image: %s"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:157
msgid "No Comments"
msgstr "Aucun commentaire"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:160
#, php-format
msgid "%u Comment"
msgid_plural "%u Comments"
msgstr[0] "%u Commentaire"
msgstr[1] "%u Commentaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:168
msgid "show comments"
msgstr "voir les commentaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:171
msgid "hide comments"
msgstr "masquer les commentaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:269
msgid "Only registered users may post comments."
msgstr "Seuls les utilisateurs enregistrés peuvent poster un commentaire"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:283
msgid "Closed for comments."
msgstr "Fermé aux commentaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:296
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:299
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:302
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:305
msgid "Subscribe to comments"
msgstr "Souscrire aux commentaires"

Binary file not shown.

View File

@@ -0,0 +1,515 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-22 15:17+0100\n"
"PO-Revision-Date: 2011-07-22 15:17+0100\n"
"Last-Translator: Bruno <bruno@clicclac.info>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: gettext;ngettext;__;_e\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-Language: French\n"
"X-Poedit-Country: FRANCE\n"
"X-Poedit-SourceCharset: utf-8\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
"X-Poedit-SearchPath-0: /Library/WebServer/Documents/zenphoto/themes/photoblog2\n"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:10
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:9
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:13
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/contact.php:10
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:9
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/login.php:10
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:10
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:12
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:12
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/register.php:10
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:9
msgid "Albums Index"
msgstr "Accueil de la galerie"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:11
msgid "Page not found..."
msgstr "Page non trouvée..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:24
msgid "The page you are requesting cannot be found."
msgstr "La page que vous recherchez n'a pas été trouvée"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:26
#, php-format
msgid "Album: %s"
msgstr "Album: %s"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:29
#, php-format
msgid "Image: %s"
msgstr "Image: %s"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:32
#, php-format
msgid "Page: %s"
msgstr "Page: %s"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:39
msgid "Go to album..."
msgstr "Aller à l'album..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:50
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:114
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/contact.php:35
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/login.php:31
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:101
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:35
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/register.php:31
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:80
msgid "OK"
msgstr "OK"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/404.php:51
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:127
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/contact.php:36
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/login.php:32
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:110
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:49
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/register.php:33
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:83
msgid "Popular Tags"
msgstr "Tags populaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:20
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:32
msgid "Play Slideshow"
msgstr "Jouer le diaporama"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:32
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:36
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:60
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:64
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:46
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:50
msgid "View album:"
msgstr "Voir l'album:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:52
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:71
msgid "View image:"
msgstr "Voir l'image:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:64
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:75
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:95
msgid "&lsaquo; Previous"
msgstr "&lsaquo; Prec."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/album.php:64
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:75
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:95
msgid "Next &rsaquo;"
msgstr "Suiv. &rsaquo;"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:14
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:117
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:16
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:39
msgid "Archive"
msgstr "Archive"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:17
msgid "Random Images"
msgstr "Images au hasard"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:20
msgid "Popular Images"
msgstr "Images populaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:23
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:26
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:29
msgid "Latest Images"
msgstr "Images récentes"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:32
msgid "Most Rated Images"
msgstr "Images les plus notées"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:35
msgid "Top Rated Images"
msgstr "Images les mieux notées"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:115
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:37
msgid "Date Archive"
msgstr "Archive par date"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:119
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:41
msgid "most popular images"
msgstr "les plus populaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:120
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:42
msgid "latest uploaded images"
msgstr "dernières images envoyées"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:121
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:43
msgid "latest uploaded, but fetched by date"
msgstr "dernières images envoyées, triées par date"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:122
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:44
msgid "latest uploaded, but fetched by mtime"
msgstr "dernières images envoyées, triées par mtime"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:123
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:45
msgid "most voted"
msgstr "plus de votes"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:124
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:46
msgid "best voted"
msgstr "meilleurs votes"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/archive.php:125
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:47
msgid "random"
msgstr "au hazard"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:3
msgid "Add a comment:"
msgstr "Ajouter un commentaire:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:13
msgid "Name:"
msgstr "Nom:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:16
msgid "<em>anonymous</em>"
msgstr "<em>anonyme</em>"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:42
msgid "E-Mail:"
msgstr "E-Mail:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:65
msgid "Site:"
msgstr "Site:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:91
msgid "street:"
msgstr "rue:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:114
msgid "city:"
msgstr "ville:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:136
msgid "state:"
msgstr "état:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:157
msgid "country:"
msgstr "pays:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:178
msgid "postal code:"
msgstr "code postal:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:204
msgid "Enter CAPTCHA:"
msgstr "Entrer CAPTCHA:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:220
msgid "Private comment (don't publish)"
msgstr "Commentaire privé (non publié)"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/comment_form.php:230
msgid "Add Comment"
msgstr "Ajouter commentaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/contact.php:11
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:11
msgid "Contact..."
msgstr "Contact..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/contact.php:26
msgid "The Contact Form plugin has not been activated."
msgstr "Le plugin Contact Form n'a pas été activé."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:13
msgid "all rights reserved"
msgstr "tous droits réservés"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:14
msgid "Photo's licence"
msgstr "License des photos"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:15
msgid "Archives, Tag cloud, 10 recents pictures..."
msgstr "Archives, nuage de tags, 10 + récentes images..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:15
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:24
msgid "Archive View"
msgstr "Archives"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:25
msgid "Subscribe: "
msgstr "Souscrire:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:27
msgid "This Album"
msgstr "Cet album"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:28
msgid "Gallery Images"
msgstr "Portfolio"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/footer.php:29
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:28
msgid "News"
msgstr "Actualités"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:12
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:10
msgid "Search"
msgstr "Recherche"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:15
msgid "About"
msgstr "A propos"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:17
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:22
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:191
msgid "Contact"
msgstr "Contact"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:18
msgid "Materiels"
msgstr "Matériels"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:25
msgid "latest"
msgstr "dernier"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/gallery.php:52
msgid "Latest images..."
msgstr "Images récentes..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:19
msgid "Welcome to ClicClac.info"
msgstr "Bienvenue sur ClicClac.info"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:25
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password.php:14
msgid "Password Required..."
msgstr "Un mot de passe est requis..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:26
msgid "404 Not Found..."
msgstr "404 non trouvé..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:27
msgid "Search: "
msgstr "Recherche:"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:92
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:106
msgid "start slideshow"
msgstr "démarrer diaporama"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:93
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:107
msgid "stop slideshow"
msgstr "arrêter diaporama"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:94
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:108
msgid "image {current} of {total}"
msgstr "image {current} sur {total}"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:95
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:109
msgid "previous"
msgstr "précédent"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:96
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:110
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:20
msgid "next"
msgstr "suivant"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:97
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:111
msgid "close"
msgstr "fermer"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:182
msgid "Portfolio"
msgstr "Portfolio"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:187
msgid "Now"
msgstr "En ce moment"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:188
msgid "Blog"
msgstr "Blog"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:189
msgid "Gallery"
msgstr "Portfolio"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:190
msgid "Guestbook"
msgstr "Livre d'Or"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/header.php:192
msgid "Links"
msgstr "Liens"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:17
msgid "Previous Image"
msgstr "Image précédente"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:17
msgid "prev"
msgstr "prec"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:20
msgid "Next Image"
msgstr "Image suivante"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:49
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:36
msgid "Tags"
msgstr "Tags"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:49
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:37
msgid "None"
msgstr "Aucun"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:88
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:90
msgid "Full size"
msgstr "Pleine taille"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:94
msgid "Slideshow"
msgstr "Diaporama"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:98
msgid "Copy"
msgstr "Copier"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:133
msgid "Rating"
msgstr "Vote"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:140
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:78
msgid "Comment"
msgstr "Commentaire"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:193
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/image.php:203
msgid "no EXIF location data"
msgstr "pas de données EXIF"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/login.php:11
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/register.php:11
msgid "Login..."
msgstr "Identifiant..."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/login.php:23
msgid "User Registration"
msgstr "\"Inscription d'un utilisateur"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/pages.php:104
msgid "Pages"
msgstr "Pages"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password_form.php:10
msgid "Login"
msgstr "Identifiant"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password_form.php:17
msgid "Password"
msgstr "Mot de passe"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password_form.php:22
msgid "Submit"
msgstr "Envoyer"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/password_form.php:28
#, php-format
msgid "Hint: %s"
msgstr "Truc: %s"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:18
#, php-format
msgid "Total matches for <em>%1$s</em>: %2$u"
msgstr "Total des résultats pour <em>%1$s</em>: %2$u"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:21
msgid "Sorry, no matches. Try refining your search."
msgstr "Désolé, pas de résultats. Essayez de préciser votre recherche."
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/search.php:81
msgid "Gallery Archive"
msgstr "Archives de la galerie"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:23
msgid "Image Info"
msgstr "Info Image"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:29
msgid "(No data)"
msgstr "(pas de données)"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:86
#, php-format
msgid "View image: %s"
msgstr "Voir l'image: %s"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:157
msgid "No Comments"
msgstr "Aucun commentaire"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:160
#, php-format
msgid "%u Comment"
msgid_plural "%u Comments"
msgstr[0] "%u Commentaire"
msgstr[1] "%u Commentaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:168
msgid "show comments"
msgstr "voir les commentaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:171
msgid "hide comments"
msgstr "masquer les commentaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:269
msgid "Only registered users may post comments."
msgstr "Seuls les utilisateurs enregistrés peuvent poster un commentaire"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:283
msgid "Closed for comments."
msgstr "Fermé aux commentaires"
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:296
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:299
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:302
#: /Library/WebServer/Documents/zenphoto/themes/photoblog2/theme-functions.php:305
msgid "Subscribe to comments"
msgstr "Souscrire aux commentaires"

56
login.php Normal file
View File

@@ -0,0 +1,56 @@
<?php include ("header.php"); ?>
<div id="main">
<div class="center_albums">
<div id="headline">
<h3>
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
<a href="<?php echo htmlspecialchars(getGalleryIndexURL());?>" title="<?php gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
&raquo; <?php echo gettext("Login..."); ?>
</h3>
</div>
</div> <!-- /center_albums -->
<p class="clear"></p>
<div class="center_search">
<div class="post">
<h2><?php echo gettext('User Registration') ?></h2>
<?php printRegistrationForm(); ?>
</div>
</div> <!-- /center_search -->
<div id="sidebar">
<?php printSearchForm( '','searchform','',gettext('OK'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
<p class="titreBar margeTop"><?php echo gettext('Popular Tags'); ?></p>
<div id="tag_cloud">
<?php
printAllTagsAs('cloud','csstag','results',true,true,$maxfontsize = 2,$maxcount = 50, $mincount = 2,$limit = NULL, $minfontsize = 0.8);
?>
</div>
</div>
<div class="paging">
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
<?php //printPageListWithNav( gettext('&lsaquo; Previous'),gettext('Next &rsaquo;'),false,'true','pagelist','',true,'5' ); ?>
<?php } ?>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php"); ?>

131
pages.php Normal file
View File

@@ -0,0 +1,131 @@
<?php include ("header.php"); ?>
<div id="main">
<div class="center_albums">
<div id="headline">
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
<h3>
<span><a href="<?php echo html_encode(getGalleryIndexURL());?>" title="<?php gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a> <?php if(!isset($ishomepage)) { printZenpageItemsBreadcrumb(" &raquo; ",""); } ?> <?php if(!isset($ishomepage)) { printPageTitle(" &raquo; "); } ?></span>
</h3>
</div>
<div id="slideshowlink">
</div>
</div> <!-- /center_albums -->
<p class="clear"></p>
<div class="center_search">
<div class="extra-content">
<?php printPageMenu('omit-top','news-cat-list','news-cat-active','news-cat-list','news-cat-active'); ?>
<?php printPageExtraContent(); ?>
</div>
<div id="post">
<h2><?php printPageTitle(); ?></h2>
<?php
printPageContent();
printCodeblock(1);
echo '<div id="idtag"><strong>'.gettext("Tags").': </strong>';
printTags( 'links','','hor-list',', ',true,'',gettext('None') );
echo '</div>';
?>
</div> <!-- /post -->
<div id="narrow">
<!-- http://www.johnstyle.fr/langage/javascript/creer-des-onglets-facilement/ -->
<script type="text/javascript">
function changeOnglet(_this){
var getOnglets = document.getElementById('mes_onglets').getElementsByTagName('li');
for(var i = 0; i < getOnglets.length; i++){
if(getOnglets[i].id){
/*document.write(getOnglets[i].id); o_1 */
if(getOnglets[i].id == _this.id){
/*document.write(_this.id); o_2 l'onglet cliqué */
if(getOnglets[i].className == 'mon_onglet_selected'){
getOnglets[i].className = 'mon_onglet';
document.getElementById('c' + _this.id).style.display = 'none';
}
else{
getOnglets[i].className = 'mon_onglet_selected';
document.getElementById('c' + _this.id).style.display = 'block';
}
}
else{
getOnglets[i].className = 'mon_onglet';
document.getElementById('c' + getOnglets[i].id).style.display = 'none';
}
}
}
}
</script>
<div id="mes_onglets">
<ul>
<li id="o_1" class="mon_onglet" onclick="changeOnglet(this);">
<?php
$num = getCommentCount();
echo $num . ' ' . strtolower(gettext('Comment'));
if ($num > 1) echo 's';
?>
</li>
</ul>
<p style="clear: both; "></p>
</div> <!-- /mes_onglets -->
<div id="mes_contenus">
<?php if (function_exists('printCommentForm')) { ?>
<div id="co_1" class="mon_contenu" style="display: none;">
<?php //printCommentForm();
printCommentFormCustom();?>
</div>
<?php } ?>
</div> <!-- /mes_contenus -->
</div> <!-- /narrow -->
</div> <!-- /center_search -->
<div id="sidebar">
<?php printSearchForm( '','searchform','',gettext('OK'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
<?php if(function_exists("printPageMenu")) { ?>
<p class="titreBar margeTop"><?php echo gettext("Pages"); ?></p>
<div id="pages">
<?php printPageMenu("list","","menu-active","submenu","menu-active"); ?>
</div>
<?php } ?>
<p class="titreBar margeTop"><?php echo gettext('Popular Tags'); ?></p>
<div id="tag_cloud">
<?php
printAllTagsAs('cloud','csstag','results',true,true,$maxfontsize = 2,$maxcount = 50, $mincount = 2,$limit = NULL, $minfontsize = 0.8);
?>
</div>
</div>
<div class="paging">
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
<?php //printPageListWithNav( gettext('&lsaquo; Previous'),gettext('Next &rsaquo;'),false,'true','pagelist','',true,'5' ); ?>
<?php } ?>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php"); ?>

73
password.php Normal file
View File

@@ -0,0 +1,73 @@
<?php include ("header.php");
// Album PRIVATE => bruno / kpm97321
?>
<div id="main">
<div class="center_albums">
<div id="headline">
<h3>
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
<a href="<?php echo htmlspecialchars(getGalleryIndexURL());?>" title="<?php gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
<?php printParentBreadcrumb(' &raquo; ', ' &raquo; ', ' &raquo; '); ?><?php printAlbumTitle(true); ?>
&raquo; <?php echo gettext("Password Required..."); ?>
</h3>
</div>
</div> <!-- /center_albums -->
<p class="clear"></p>
<div class="center_search">
<div class="post">
<?php printPasswordForm($_password_hint); ?>
</div>
</div> <!-- /center_search -->
<div id="sidebar">
<div id="search">
<?php printSearchForm( '','searchform','',gettext('OK'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
</div>
<p class="titreBar"><?php echo gettext('Date Archive'); ?></p>
<?php printAllDates('archive-menu','year','month','desc'); ?>
<p class="titreBar margeTop"><?php echo gettext('Archive'); ?></p>
<ul id="listArchive">
<li><a href="?p=archive&amp;option=popular"><?php echo gettext('most popular images'); ?></a></li>
<li><a href="?p=archive&amp;option=latest"><?php echo gettext('latest uploaded images'); ?></a></li>
<li><a href="?p=archive&amp;option=latest-date"><?php echo gettext('latest uploaded, but fetched by date'); ?></a></li>
<li><a href="?p=archive&amp;option=latest-mtime"><?php echo gettext('latest uploaded, but fetched by mtime'); ?></a></li>
<li><a href="?p=archive&amp;option=mostrated"><?php echo gettext('most voted'); ?></a></li>
<li><a href="?p=archive&amp;option=toprated"><?php echo gettext('best voted'); ?></a></li>
<li><a href="?p=archive&amp;option=random"><?php echo gettext('random'); ?></a></li>
</ul>
<p class="titreBar margeTop"><?php echo gettext('Popular Tags'); ?></p>
<div id="tag_cloud">
<?php
printAllTagsAs('cloud','csstag','results',true,true,$maxfontsize = 2,$maxcount = 50, $mincount = 2,$limit = NULL, $minfontsize = 0.8);
?>
</div>
</div>
<div class="paging">
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
<?php //printPageListWithNav( gettext('&lsaquo; Previous'),gettext('Next &rsaquo;'),false,'true','pagelist','',true,'5' ); ?>
<?php } ?>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php"); ?>

34
password_form.php Normal file
View File

@@ -0,0 +1,34 @@
<form id="passwordform" name="password" action="<?php echo $_password_redirect; ?>" method="post">
<input type="hidden" name="password" value="1" />
<input type="hidden" name="redirect" value="<?php echo $_password_redirect; ?>" />
<br />
<table class="password">
<?php
if ($_password_showuser) {
?>
<tr>
<td class="userlabel"><?php echo gettext("Login"); ?></td>
<td class="userinput"><input type="text" name="user" /></td>
</tr>
<?php
}
?>
<tr>
<td class="passwordlabel"><?php echo gettext("Password"); ?></td>
<td class="passwordinput"><input type="password" name="pass" /></td>
</tr>
<tr>
<td></td>
<td class="submit" ><input class="button" type="submit" value="<?php echo gettext("Submit"); ?>" /></td>
</tr>
<?php
if (!empty($_password_hint)) {
?>
<tr>
<td class="hint" colspan="2"><?php printf(gettext("Hint: %s"), $_password_hint); ?></td>
</tr>
<?php
}
?>
</table>
</form>

57
register.php Normal file
View File

@@ -0,0 +1,57 @@
<?php include ("header.php"); ?>
<div id="main">
<div class="center_albums">
<div id="headline">
<h3>
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
<a href="<?php echo htmlspecialchars(getGalleryIndexURL());?>" title="<?php gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
&raquo; <?php echo gettext("Login..."); ?>
</h3>
</div>
</div> <!-- /center_albums -->
<p class="clear"></p>
<div class="center_search">
<div class="post">
<?php printUserLogin_out("","",true); ?>
</div>
</div> <!-- /center_search -->
<div id="sidebar">
<div id="search">
<?php printSearchForm( '','searchform','',gettext('OK'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
</div>
<p class="titreBar margeTop"><?php echo gettext('Popular Tags'); ?></p>
<div id="tag_cloud">
<?php
printAllTagsAs('cloud','csstag','results',true,true,$maxfontsize = 2,$maxcount = 50, $mincount = 2,$limit = NULL, $minfontsize = 0.8);
?>
</div>
</div>
<div class="paging">
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
<?php //printPageListWithNav( gettext('&lsaquo; Previous'),gettext('Next &rsaquo;'),false,'true','pagelist','',true,'5' ); ?>
<?php } ?>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php"); ?>

107
search.php Normal file
View File

@@ -0,0 +1,107 @@
<?php include ("header.php"); ?>
<div id="main">
<div class="center_albums">
<div id="headline">
<h3>
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
<a href="<?php echo html_encode(getGalleryIndexURL()); ?>" title="<?php echo gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
<?php echo " &raquo <em>".gettext("Search")."</em> &raquo ";
if (($total = getNumImages() + getNumAlbums()) > 0) {
if (isset($_REQUEST['date'])){
$searchwords = getSearchDate();
}
else {
$searchwords = getSearchWords();
}
echo sprintf(gettext('Total matches for <em>%1$s</em>: %2$u'), $searchwords, $total);
}
else {
echo gettext("Sorry, no matches. Try refining your search.");
}
//Chercher » Total des résultats pour vautour fauve : 16
?>
</h3>
</div>
<?php if (getNumImages() > 0) { ?>
<div id="slideshowlink">
<?php $x=0; while (next_image(true)):
if ($x>=1) { $show=' style="display:none;"'; } else { $show='';} ?>
<?php if (!isImageVideo()) { ?>
<a class="slideshowlink"<?php echo $show; ?> rel="slideshow" href="<?php echo htmlspecialchars(getFullImageURL());?>" title="<?php echo getBareImageTitle();?>"><?php echo gettext('Play Slideshow'); ?></a>
<?php $x=$x+1; $imagepresent=true; } else { $x=$x; $videopresent=true;} ?>
<?php endwhile; ?>
</div>
<?php } ?>
</div> <!-- /center_albums -->
<p class="clear"></p>
<div class="center_search">
<div id="albums">
<?php while (next_album()): ?>
<div class="album">
<div class="thumb">
<!-- ZP 1.4.6: getAlbumURL remplace getAlbumLinkURL -->
<a class="wraptocenter" href="<?php echo html_encode(getAlbumURL());?>" title="<?php echo gettext('View album:'); ?> <?php echo getAnnotatedAlbumTitle();?>"><?php printAlbumThumbImage(getAnnotatedAlbumTitle()); ?></a>
</div>
<div class="albumdesc">
<span class="nom_albumdesc"><a href="<?php echo html_encode(getAlbumURL());?>" title="<?php echo gettext('View album:'); ?> <?php echo getAnnotatedAlbumTitle();?>"><?php printAlbumTitle(); ?></a></span>
</div>
<p style="clear: both; "></p>
</div>
<?php endwhile; ?>
</div>
<div id="albums">
<?php while (next_image()): ?>
<div class="album">
<div class="thumb">
<div class="album-tools">
<?php if (!isImageVideo()) { ?>
<a class="album-tool" rel="zoom" href="<?php echo htmlspecialchars(getFullImageURL()); ?>" title="<?php echo getBareImageTitle();?>"><img src="<?php echo $_zp_themeroot; ?>/images/search.png" alt="Zoom Image" /></a>
<?php } ?>
</div>
<!-- ZP 1.4.6 getImageURL() remplace getImageLinkURL() -->
<a class="wraptocenter" href="<?php echo htmlspecialchars(getImageURL()); ?>" title="<?php echo getBareImageTitle(); ?>"><?php printImageThumb(getAnnotatedImageTitle()); ?></a>
</div>
<div class="albumdesc">
<span class="nom_albumdesc"><!--a href="<?php echo htmlspecialchars(getImageURL());?>" title="<?php echo gettext('View image:'); ?> <?php echo getBareImageTitle(); ?>"><?php printImageTitle(); ?></a--></span>
</div>
<p style="clear: both; "></p>
</div>
<?php endwhile; ?>
</div>
</div> <!-- /center_search -->
<div id="sidebar">
<?php printSearchForm( '','searchform','',gettext('OK'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
<p class="titreBar"><?php echo gettext('Gallery Archive'); ?></p>
<?php printAllDates('archive-menu','year','month','desc'); ?>
<p class="titreBar margeTop"><?php echo gettext('Popular Tags'); ?></p>
<div id="tag_cloud">
<?php printAllTagsAs('cloud','csstag','results',true,true,$maxfontsize = 2,$maxcount = 50, $mincount = 2,$limit = NULL, $minfontsize = 0.8); ?>
</div>
</div>
<div class="paging">
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
<?php printPageListWithNav( gettext('&lsaquo; Previous'),gettext('Next &rsaquo;'),false,'true','pagelist','',true,'5' ); ?>
<?php } ?>
<?php if (function_exists('printAlbumMenu')) { ?>
<div id="albumjump">
<?php printAlbumMenu('jump',true); ?>
</div>
<?php } ?>
</div>
</div>
<?php include("footer.php"); ?>

BIN
slide rslideshow.zip Normal file

Binary file not shown.

37
slideshow rslideshow.php Normal file
View File

@@ -0,0 +1,37 @@
<?php
// force UTF-8 Ø
if (!defined('WEBPATH')) die();
?>
<!DOCTYPE html>
<html>
<head>
<?php //zp_apply_filter('theme_head'); ?>
<title><?php printBareGalleryTitle(); ?> <?php echo gettext("Slideshow"); ?></title>
<meta http-equiv="content-type" content="text/html; charset=<?php echo LOCAL_CHARSET; ?>" />
<link rel="Shortcut Icon" href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/photoblog/images/favicon.ico" type="image/x-icon" />
<!--link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/css/theme.css" type="text/css" /-->
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<?php //zp_apply_filter('theme_head');
//zp_remove_filter('theme_head', 'picturefilljs');
?>
</head>
<body>
<?php zp_apply_filter('theme_body_open'); ?>
<?php
//printSlideShow(true,true);
//printSlideShow();
printrslideshow();
?>
<?php //zp_apply_filter('theme_body_close'); ?>
</body>
</html>

41
slideshow.php Normal file
View File

@@ -0,0 +1,41 @@
<?php
// force UTF-8 Ø
if (!defined('WEBPATH')) die();
?>
<!DOCTYPE html>
<html>
<head>
<?php //zp_apply_filter('theme_head'); ?>
<title><?php printBareGalleryTitle(); ?> <?php echo gettext("Slideshow"); ?></title>
<meta http-equiv="content-type" content="text/html; charset=<?php echo LOCAL_CHARSET; ?>" />
<link rel="Shortcut Icon" href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/photoblog/images/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/css/theme.css" type="text/css" />
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<?php if ((!function_exists('printrslideshow')) && (!function_exists('printsupersized'))) {
zp_apply_filter('theme_head');
}
?>
</head>
<body>
<?php zp_apply_filter('theme_body_open'); ?>
<?php
if (function_exists('printsupersized')) {
printsupersized();
}
elseif (function_exists('printrslideshow')) {
printrslideshow();
}
else {
printSlideShow();
}
?>
<?php //zp_apply_filter('theme_body_close'); ?>
</body>
</html>

410
theme-functions.php Normal file
View File

@@ -0,0 +1,410 @@
<?php
function preprint($s, $return=false) {
$x = "<pre>";
$x .= print_r($s, 1);
$x .= "</pre>";
if ($return) return $x;
else print $x;
}
/**
* Prints the Metadata data of the current image
*
* @param string $title title tag for the class
* @param bool $toggle set to true to get a javascript toggle on the display of the data
* @param string $id style class id
* @param string $class style class
* @author Ozh
*/
function printImageMetadataMod($title = NULL, $toggle = true, $id = 'imagemetadata', $class = null, $span = NULL) {
global $_zp_exifvars, $_zp_current_image;
if (false === ($exif = getImageMetaData($_zp_current_image, true))) {
return;
}
if (is_null($title)) {
$title = gettext('Image Info');
}
if ($class) {
$class = ' class="' . $class . '"';
}
if (!$span) {
$span = 'exif_link';
}
$dataid = $id . '_data';
if ($id) {
$id = ' id="' . $id . '"';
}
$refh = $refa = $style = '';
if ($toggle == 'colorbox' && zp_has_filter('theme_head', 'colorbox::css')) {
$refh = '<a href="#" class="colorbox" title="' . $title . '">';
$refa = '</a>';
$style = ' style="display:none"';
} else if ($toggle) {
$refh = '<a href="javascript:toggle(\'' . $dataid . '\');" title="' . $title . '">';
$refa = '</a>';
$style = ' style="display:none"';
}
?>
<span id="<?php echo $span; ?>" class="metadata_title">
<?php echo $refh; ?><?php echo $title; ?><?php echo $refa; ?>
</span>
<div id="<?php echo $dataid; ?>"<?php echo $style; ?>>
<div<?php echo $id . $class; ?>>
<table>
<?php
foreach ($exif as $field => $value) {
$label = $_zp_exifvars[$field][2];
echo "<tr><td class=\"label\">$label:</td><td class=\"value\">";
switch ($_zp_exifvars[$field][6]) {
case 'time':
//echo zpFormattedDate(DATE_FORMAT, strtotime($value));
echo date('d.m.Y à H:i',strtotime($value));
break;
default:
echo html_encode($value);
break;
}
echo "</td></tr>\n";
}
?>
</table>
</div>
</div>
<?php
}
/**
* Puts up random image thumbs from the gallery
*
* @param int $number how many images
* @param string $class optional class
* @param string $option what you want selected: all for all images, album for selected ones from an album
* @param string $rootAlbum optional album from which to get the images
* @param integer $width the width/cropwidth of the thumb if crop=true else $width is longest size.
* @param integer $height the height/cropheight of the thumb if crop=true else not used
* @param bool $crop 'true' (default) if the thumb should be cropped, 'false' if not
*/
function printRandomImagesCustom($number=5, $class=null, $option='all', $rootAlbum='',$width=100,$height=100,$crop=true) {
if (!is_null($class)) {
$class = ' class="' . $class . '"';
}
for ($i=1; $i<=$number; $i++) {
switch($option) {
case "all":
$randomImage = getRandomImages();
break;
case "album":
$randomImage = getRandomImagesAlbum($rootAlbum);
break;
}
//print_r($randomImage);
if (is_object($randomImage) && $randomImage->exists) {
//$randomImageURL = html_encode(getURL($randomImage));
$randomImageURL = $randomImage->getLink(); // ZP 1.4.6
echo '<a href="' . $randomImageURL . '" title="'.sprintf(gettext('View image: %s'), html_encode($randomImage->getTitle())) . '">';
if($crop) {
$html = "<img src=\"".html_encode($randomImage->getCustomImage(NULL, $width, $height, $width, $height, NULL, NULL, TRUE))."\" alt=\"" . html_encode($randomImage->getTitle()) . "\" />\n";
} else {
$html = "<img src=\"".html_encode($randomImage->getCustomImage($width, NULL, NULL, NULL, NULL, NULL, NULL, TRUE))."\" alt=\"" . html_encode($randomImage->getTitle()) . "\" />\n";
}
echo zp_apply_filter('custom_image_html', $html, false);
echo "</a>";
}
}
}
function printHDRandomImagesCustom($number=5, $class=null, $option='all', $rootAlbum='',$width=100,$height=100,$crop=true) {
if (!is_null($class)) {
$class = ' class="' . $class . '"';
}
for ($i=1; $i<=$number; $i++) {
switch($option) {
case "all":
$randomImage = getRandomImages();
break;
case "album":
$randomImage = getRandomImagesAlbum($rootAlbum);
break;
}
//print_r($randomImage);
if (is_object($randomImage) && $randomImage->exists) {
//$randomImageURL = html_encode(getURL($randomImage));
$randomImageURL = $randomImage->getLink(); // ZP 1.4.6
echo '<a href="' . $randomImageURL . '" title="'.sprintf(gettext('View image: %s'), html_encode($randomImage->getTitle())) . '">';
if($crop) {
$html = "<img src=\"".html_encode($randomImage->getCustomImage(NULL, $width, $height, $width, $height, NULL, NULL, TRUE))."\" alt=\"" . html_encode($randomImage->getTitle()) . "\" />\n";
} else {
$html = "<img src=\"".html_encode($randomImage->getCustomImage($width, NULL, NULL, NULL, NULL, NULL, NULL, TRUE))."\" alt=\"" . html_encode($randomImage->getTitle()) . "\" />\n";
}
echo zp_apply_filter('custom_image_html', $html, false);
echo "</a>";
}
}
}
function printLatestImagesCustom($number=8, $class=null, $option='latest', $width=320,$height=240,$crop=true) {
if (!is_null($class)) {
$class = ' class="' . $class . '"';
}
$images = getImageStatistic($number, $option);
foreach ($images as $image) {
//$latestImageURL = html_encode(getURL($image));
$latestImageURL = $image->getLink(); // ZP 1.4.6
//echo $latestImageURL;
echo '<a href="' . $latestImageURL . '" title="' . html_encode($image->getTitle()) . '">';
echo '<img src="' . html_encode($image->getCustomImage(null,$width,$height,null,null,null,null,true)) . '" alt="' . html_encode($image->getTitle()) . '" />';
echo '</a>';
}
}
function printHDLatestImagesCustom($number=8, $class=null, $option='latest', $width=320,$height=240,$crop=true) {
if (!is_null($class)) {
$class = ' class="' . $class . '"';
}
$images = getImageStatistic($number, $option);
foreach ($images as $image) {
//$latestImageURL = html_encode(getURL($image));
$latestImageURL = $image->getLink(); // ZP 1.4.6
//echo $latestImageURL;
echo '<a href="' . $latestImageURL . '" title="' . html_encode($image->getTitle()) . '">';
echo '<img src="' . html_encode($image->getCustomImage(null,$width,$height,null,null,null,null,true)) . '" alt="' . html_encode($image->getTitle()) . '" />';
echo '</a>';
}
}
/**
* Output the google map
*
* @param string $text text for the "toggle" link that shows/hides the map. Set empty to omit (then Map is always displayed)
* @param string $id used to set the IDs for the toggle href element ($id_toggle) and the map element ($id_data)
* @param string $hide initial map state: "hide", "show", or "colorbox"
* @param object $obj optional image/album object. Pass string for generic map and use callback to set points
* @param function $callback optional callback function to set map options.
*/
function _printGoogleMap($text = NULL, $id = NULL, $hide = NULL, $obj = NULL, $callback = NULL) {
global $_zp_current_album, $_zp_current_image, $_x, $_y, $_z, $_n;
/* controls of parameters */
if (is_null($obj)) {
if (is_null($_zp_current_image)) {
$obj = $_zp_current_album;
} else {
$obj = $_zp_current_image;
}
}
if (is_null($obj)) {
return false;
}
if (is_object($obj)) {
$type = $obj->table;
$typeid = $obj->getID();
} else {
$type = $obj;
$typeid = '';
}
if (is_null($text)) {
$text = gettext('Google Map');
}
if (empty($text)) {
$hide = 'show';
}
if (is_null($hide)) {
$hide = getOption('gmap_display');
}
if (!is_string($hide)) {
if ($hide) {
$hide = 'hide';
} else {
$hide = 'show';
}
}
/* map configuration */
$mapControls = getOption('gmap_control_type');
if ($mapControls == 'none') {
$mapTypeControl = false;
} else {
$mapTypeControl = true;
$map_control_type = $mapControls;
$allowedMapTypes = array();
if (getOption('gmap_map_hybrid'))
$allowedMapTypes[] = 'HYBRID';
if (getOption('gmap_map_roadmap'))
$allowedMapTypes[] = 'ROADMAP';
if (getOption('gmap_map_satellite'))
$allowedMapTypes[] = 'SATELLITE';
if (getOption('gmap_map_terrain'))
$allowedMapTypes[] = 'TERRAIN';
}
$config['center'] = '0, 0';
$config['zoom'] = '13';
$config['cluster'] = true;
$config['zoomControlStyle'] = getOption('gmap_zoom_size');
if ($mapTypeControl) {
$config['map_type'] = getOption('gmap_starting_map');
$config['map_types_available'] = $allowedMapTypes;
} else {
$config['disableMapTypeControl'] = true;
}
$config['map_width'] = getOption('gmap_width') . "px";
$config['map_height'] = getOption('gmap_height') . "px";
$config['clusterMaxZoom'] = getOption('gmap_cluster_max_zoom');
$config['clusterAverageCenter'] = true;
$config['onclick'] = "iw.close();";
$config['minifyJS'] = !TEST_RELEASE;
$map = new Googlemaps($config);
/* add markers from geocoded pictures */
switch ($type) {
case 'images':
if (getImageGeodata($obj, $map)) {
break;
} else {
$map = NULL;
return false;
}
case 'albums':
if (getAlbumGeodata($obj, $map)) {
break;
} else {
$map = NULL;
return false;
}
default:
break;
}
if ($_n == 1)
$map->zoom = 13;
if ($_n) {
$_x = $_x / $_n;
$_y = $_y / $_n;
$_z = $_z / $_n;
$lon = number_format(atan2($_y, $_x) * 180 / M_PI, 12, '.', '');
$hyp = sqrt($_x * $_x + $_y * $_y);
$lat = number_format(atan2($_z, $hyp) * 180 / M_PI, 12, '.', '');
$map->center = $lat . ', ' . $lon;
}
if (!is_null($callback)) {
call_user_func($callback, $map);
}
/* map display */
if (is_null($id)) {
$id = $type . $typeid . '_googlemap';
}
$id_toggle = $id . '_toggle';
$id_data = $id . '_data';
switch ($hide) {
case 'show':
$map->create_map();
?>
<script type="text/javascript">
//<![CDATA[
<?php
echo $map->output_js_contents;
echo omsAdditions();
?>
function image(album, image) {
window.location = '<?php echo WEBPATH ?>/index.php?album=' + album + '&image=' + image;
}
//]]>
</script>
<div id="<?php echo $id_data; ?>">
<?php echo $map->output_html; ?>
</div>
<?php
break;
case 'hide':
$map->create_map();
?>
<script type="text/javascript">
//<![CDATA[
<?php
echo $map->output_js_contents;
echo omsAdditions();
?>
function image(album, image) {
window.location = '<?php echo WEBPATH ?>/index.php?album=' + album + '&image=' + image;
}
function toggle_<?php echo $id_data; ?>() {
if ($('#<?php echo $id_data; ?>').hasClass('hidden_map')) {
$('#<?php echo $id_data; ?>').removeClass('hidden_map');
} else {
$('#<?php echo $id_data; ?>').addClass('hidden_map');
}
}
//]]>
</script>
<a id="<?php echo $id_toggle; ?>" href="javascript:toggle_<?php echo $id_data; ?>();" title="<?php echo gettext('Display or hide the Google Map.'); ?>">
<?php echo $text; ?>
</a>
<div id="<?php echo $id_data; ?>" class="hidden_map">
<?php echo $map->output_html; ?>
</div>
<?php
break;
case 'colorbox':
if (zp_has_filter('theme_head', 'colorbox::css')) {
$map->create_map();
$map_data["output_js_contents"] = $map->output_js_contents;
$map_data["output_html"] = $map->output_html;
if (getOption('gmap_sessions')) {
$param = '';
$_SESSION['GoogleMapVars'] = $map_data;
} else {
$serializedData = serialize($map_data);
if (function_exists('bzcompress')) {
$data = bzcompress($serializedData);
} else {
$data = gzcompress($serializedData);
}
$param = '?map_data=' . base64_encode($data);
}
?>
<a href="<?php echo WEBPATH . '/' . ZENFOLDER . '/' . PLUGIN_FOLDER . '/GoogleMap/Map.php' . $param ?>" title="<?php echo $text; ?>" class="google_map">
<?php echo $text; ?>
</a>
<script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
$(".google_map").colorbox({
iframe: true,
innerWidth: '<?php echo (int) (getOption('gmap_width') + 20) ?>px',
innerHeight: '<?php echo (int) ($cbox_h = getOption('gmap_height') + 20) ?>px',
close: '<?php echo gettext("close"); ?>'
});
});
//]]>
</script>
<?php
}
break;
}
}
function hasMapData() {
$exif = getImageMetaData(NULL, false);
if(!empty($exif['EXIFGPSLatitude']) && !empty($exif['EXIFGPSLongitude'])){
return true;
}
return false;
}
?>

8
theme_description.php Normal file
View File

@@ -0,0 +1,8 @@
<?php
// Zenphoto theme definition file
$theme_description['name'] = 'Photoblog2';
$theme_description['author'] = '<a href="http://clicclac.info" target="_blank">Bruno Pesenti</a>';
$theme_description['version'] = '1.0';
$theme_description['date'] = '30/05/2011';
$theme_description['desc'] = 'Zenphoto Theme.';
?>

118
themeoptions.php Normal file
View File

@@ -0,0 +1,118 @@
<?php
/* Plug-in for theme option handling
* The Admin Options page tests for the presence of this file in a theme folder
* If it is present it is linked to with a require_once call.
* If it is not present, no theme options are displayed.
*
*/
class ThemeOptions {
function __construct() {
setThemeOptionDefault('thumb_size', 180);
setOptionDefault('full_image_size', 800);
setOptionDefault('zenpage_zp_index_news', false);
/*setOptionDefault('Allow_comments', true);
setOptionDefault('Allow_search', true);
setOptionDefault('Display_number', true);
setOptionDefault('Display', 'Normal');
setOptionDefault('sweetTitles', true);*/
setOptionDefault('Language', true);
setOptionDefault('Rating', true);
setOptionDefault('GoogleMap', true);
setOptionDefault('Paypal', true);
/* Taille image: 595 Taille vignette: 180
Appliquer image pleine grandeur 2008-09-05_BecasseauVariable_9542_FULL_watermark.jpg
Appliquer 40_cw40_ch40_thumb
Appliquer 80_cw80_ch80_thumb
Appliquer 85_cw180_ch180_thumb
Appliquer 610_watermark 2008-09-05_BecasseauVariable_9542_610_watermark.jpg (wordpress, taille article 610px)
2008-09-05_BecasseauVariable_9542_595_watermark.jpg image zenphoto est crée à la 1ere lecture
addThemeCacheSize( $theme, $size, $width, $height, $cw, $ch, $cx, $cy, $thumb (false/true), $watermark, $effects, $maxspace )
*/
if (class_exists('cacheManager')) {
$me = basename(dirname(__FILE__));
cacheManager::deleteThemeCacheSizes($me);
//addThemeCacheSize( $theme, $size, $width, $height, $cw, $ch, $cx, $cy, $thumb, $watermark, $effects, $maxspace )
// wordpress
//cacheManager::addThemeCacheSize($me, 610, NULL, NULL, NULL, NULL, NULL, NULL, false, NULL, NULL, NULL);
// image.php
cacheManager::addThemeCacheSize($me, 610, NULL, NULL, NULL, NULL, NULL, NULL, false, getOption('fullimage_watermark'), NULL, NULL);
// FULL
cacheManager::addThemeCacheSize($me, 800, NULL, NULL, NULL, NULL, NULL, NULL, false, getOption('fullimage_watermark'), NULL, NULL);
// thumb SD
cacheManager::addThemeCacheSize($me, 180, NULL, NULL, NULL, NULL, NULL, NULL, true, NULL, NULL, NULL);
// thumb HD
cacheManager::addThemeCacheSize($me, 360, NULL, NULL, NULL, NULL, NULL, NULL, true, NULL, NULL, NULL);
//cacheManager::addThemeCacheSize($me, 85, NULL, NULL, getThemeOption('thumb_crop_width'), getThemeOption('thumb_crop_height'), NULL, NULL, true, getOption('Image_watermark'), NULL, NULL);
}
if (function_exists('createMenuIfNotExists')) {
$menuitems = array(
array('type' => 'menulabel', 'title' => gettext('News Articles'), 'link' => '', 'show' => 1, 'nesting' => 0),
array('type' => 'menufunction', 'title' => gettext('All news'), 'link' => 'printAllNewsCategories("All news",TRUE,"","menu-active",false);', 'show' => 1, 'include_li' => 0, 'nesting' => 1),
array('type' => 'menulabel', 'title' => gettext('Gallery'), 'link' => '', 'show' => 1, 'nesting' => 0),
array('type' => 'custompage', 'title' => gettext('Gallery index'), 'link' => 'gallery', 'show' => 1, 'nesting' => 1),
array('type' => 'menufunction', 'title' => gettext('All Albums'), 'link' => 'printAlbumMenuList("list",NULL,"","menu-active","submenu","menu-active","",false,false,false,false);', 'show' => 1, 'include_li' => 0, 'nesting' => 1),
array('type' => 'menulabel', 'title' => gettext('Pages'), 'link' => '', 'show' => 1, 'nesting' => 0),
array('type' => 'menufunction', 'title' => gettext('All pages'), 'link' => 'printPageMenu("list","","menu-active","submenu","menu-active","",0,false);', 'show' => 1, 'include_li' => 0, 'nesting' => 1),
);
createMenuIfNotExists($menuitems, 'zenpage');
}
}
function getOptionsSupported() {
return array( gettext('Allow comments') => array('key' => 'Allow_comments', 'type' => 1, 'desc' => gettext('Check to enable comment section.')),
/*gettext('News on index page') => array('key' => 'zenpage_zp_index_news', 'type' => OPTION_TYPE_CHECKBOX, 'desc' => gettext("Enable this if you want to show the news section's first page on the <code>index.php</code> page.")),
gettext('Allow search') => array('key' => 'Allow_search', 'type' => 1, 'desc' => gettext('Check to enable search form.')),
gettext('Display number') => array('key' => 'Display_number', 'type' => 1, 'desc' => gettext('Display the pictures numbers from an album')),
gettext('Display album') => array('key' => 'Display', 'type' => 5, 'selections' => array(gettext('Normal') => 'Normal', gettext('Simpleviewer') => 'Simpleviewer', gettext('Shadowbox') => 'Shadowbox'),
'desc' => gettext('Select display of images')),
gettext('sweetTitles') => array('key' => 'sweetTitles', 'type' => 1, 'desc' => gettext('Nice title')),*/
gettext('Language') => array('key' => 'Language', 'type' => 1, 'desc' => gettext('Display the language selector.')),
gettext('Rating') => array('key' => 'Rating', 'type' => 1, 'desc' => gettext('Display rating option')),
gettext('GoogleMap') => array('key' => 'GoogleMap', 'type' => 1, 'desc' => gettext('Display GoogleMap option')),
gettext('Paypal') => array('key' => 'Paypal', 'type' => 1, 'desc' => gettext('Display Paypal option'))
);
}
function handleOption($option, $currentValue) {
/*
if ($option == "zenpage_homepage") {
$unpublishedpages = query_full_array("SELECT titlelink FROM " . prefix('pages') . " WHERE `show` != 1 ORDER by `sort_order`");
if (empty($unpublishedpages)) {
echo gettext("No unpublished pages available");
// clear option if no unpublished pages are available or have been published meanwhile
// so that the normal gallery index appears and no page is accidentally set if set to unpublished again.
setThemeOption('zenpage_homepage', 'none', NULL, 'zpEnlighten');
} else {
echo '<input type="hidden" name="' . CUSTOM_OPTION_PREFIX . 'selector-zenpage_homepage" value="0" />' . "\n";
echo '<select id="' . $option . '" name="zenpage_homepage">' . "\n";
if ($currentValue === "none") {
$selected = " selected = 'selected'";
} else {
$selected = "";
}
echo "<option$selected>" . gettext("none") . "</option>";
foreach ($unpublishedpages as $page) {
if ($currentValue === $page["titlelink"]) {
$selected = " selected = 'selected'";
} else {
$selected = "";
}
echo "<option$selected>" . $page["titlelink"] . "</option>";
}
echo "</select>\n";
}
}*/
}
}
?>