Commit 2b0a9307 authored by llaffont's avatar llaffont

export branche CommunityEdition

parents

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
How to setup AFI-OPAC
IMPORTANT: must be accessible from / directory actually. For development we use http://localhost/afi-opac3
- copy index.php.default to index.php.
- copy config.ini.default to config.ini, then configure according to your settings.
- touch local.php for custom configuration.
== Zend Framework ==
- download and extract Zend Framework 1.6.2: http://framework.zend.com/releases/ZendFramework-1.6.2/ZendFramework-1.6.2.tar.gz
- in index.php and tests/bootstrap.php setup Zend Framework path according your install
If you use PHP 5.3, you must patch ZendFramework-1.6.2/library/Zend/Db/Statement/Mysqli.php, l.200:
// send $params as input parameters to the statement
if ($params) {
array_unshift($params, str_repeat('s', count($params)));
$stmtParams = array();
foreach ($params as $k => &$value) {
$stmtParams[$k] = &$value;
}
call_user_func_array(
array($this->_stmt, 'bind_param'),
$stmtParams);
}
AFI-OPAC 2.0 is released under a dual-license AGPL / Proprietary use.
Copyright (c) 2012, Agence Française Informatique (AFI). All rights reserved.
You can redistribute it and/or modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as published by the Free Software Foundation (see COPYING)
Third-Party Components and their license are listed in doc/extern_libs.txt
<script src="<?php echo JQUERY; ?>" type="text/javascript"> </script>
<script type="text/javascript">
$(document).ready( function(){
autoResizeTags(new Array("embed", "object"), false)});
</script>
<?php
echo $this->partial('flash/_auto_resize.phtml');
?>
<script type="text/javascript" src="<?php echo URL_JS ?>swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.settingsXML = "<?php echo $this->fic_settings ?>";
flashvars.folderPath = "<?php echo BASE_URL ?>/temp/flash/";
var params = {};
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
var attributes = {};
swfobject.embedSWF("<?php echo $this->url_flash ?>carrousel_horizontal/carousel.swf", "carouselDiv", "<?php echo $this->largeur_flash; ?>", "300", "9.0.0", false, flashvars, params, attributes);
</script>
<div id="carouselDiv">
<?php
echo $this->partial('flash/_auto_resize.phtml');
?>
<script type="text/javascript" src="<?php echo URL_JS ?>swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.settingsXML = "<?php echo $this->fic_settings ?>";
flashvars.folderPath = "<?php echo BASE_URL ?>/temp/flash/";
var params = {};
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
var attributes = {};
swfobject.embedSWF("<?php echo $this->url_flash ?>carrousel_vertical/carousel.swf", "carouselDiv", "<?php echo $this->largeur_flash; ?>", "500", "9.0.0", false, flashvars, params, attributes);
</script>
<div id="carouselDiv">
<?php
echo $this->partial('flash/_auto_resize.phtml');
?>
<script type="text/javascript" src="<?php echo URL_JS ?>swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.settingsXML = "<?php echo $this->fic_settings ?>";
flashvars.folderPath = "<?php echo BASE_URL ?>/temp/flash/";
var params = {};
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
var attributes = {};
swfobject.embedSWF("<?php echo $this->url_flash ?>coverflow/coverflow.swf", "CoverFlowDiv", "100%", "300", "9.0.0", false, flashvars, params, attributes);
</script>
<div id="CoverFlowDiv">
<?php
echo $this->partial('flash/_auto_resize.phtml');
?>
<script type="text/javascript" src="<?php echo URL_JS ?>swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.settingsXML = "<?php echo $this->fic_settings ?>";
flashvars.folderPath = "<?php echo BASE_URL ?>/temp/flash/";
var params = {};
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
var attributes = {};
swfobject.embedSWF("<?php echo $this->url_flash ?>dockmenu_horizontal/dockmenu.swf", "dockmenuDiv", "100%", "200", "9.0.0", false, flashvars, params, attributes);
</script>
<div id="dockmenuDiv">
<?php
echo $this->partial('flash/_auto_resize.phtml');
?>
<script type="text/javascript" src="<?php echo URL_JS ?>swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.settingsXML = "<?php echo $this->fic_settings ?>";
flashvars.folderPath = "<?php echo BASE_URL ?>/temp/flash/";
var params = {};
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
var attributes = {};
swfobject.embedSWF("<?php echo URL_FLASH ?>dockmenu_vertical/dockmenu.swf", "dockmenuDiv", "250", "300", "9.0.0", false, flashvars, params, attributes);
</script>
<div style="margin-left:35px;">
<div id="dockmenuDiv"></div>
</div>
<?php
echo $this->partial('flash/_auto_resize.phtml');
?>
<script type="text/javascript" src="<?php echo URL_JS ?>swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.settingsXML = "<?php echo $this->fic_settings ?>";
flashvars.folderPath = "<?php echo BASE_URL ?>/temp/flash/";
var params = {};
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
var attributes = {};
swfobject.embedSWF("<?php echo $this->url_flash ?>pyramid_gallery/pyramid_gallery.swf", "pyramidDiv", "100%", "330", "9.0.0", false, flashvars, params, attributes);
</script>
<div id="pyramidDiv">
<?xml version="1.0" encoding="ISO-8859-1"?>
<SETTINGS>
<General_Properties>
<rotationAngle value="0" />
<rotationAngleType value="path" />
<thumbWidth value="100" />
<thumbHeight value="130" />
<radiusX value="260" />
<radiusY value="80" />
<centerX value="290" />
<centerY value="130" />
<perspective value="50" />
<useBlur value="false" />
<blurIntensity value="6" />
<useAlpha value="true" />
<alphaIntensity value="9" />
<backgroundColor value="0" />
<carouselWidth value="600" />
<carouselHeight value="450" />
<showCenteredImage value="false" />
<centeredImageAlpha value="50" />
<imagesXML value="images.xml" />
<useMouseWheel value="true" />
</General_Properties>
<Rotation_Properties>
<rotateOnRollOver value="both" />
<onRollOverSpeed value="25" />
<onRollOutSpeed value="5" />
<stoppingSpeed value="20" />
<stopOnRollOver value="false" />
<inverseRotation value="none" />
<buttonsX value="110" />
<buttonsY value="310" />
<buttonsDistance value="300" />
<buttonSymbol value="but1" />
</Rotation_Properties>