Commit 99bbda60 authored by Laurent's avatar Laurent

hotline #44903 code cleaning in index.php & footer rendering

parent d236103f
- ticket #44903 : constitution du cache des images: reprise automatique si erreur
\ No newline at end of file
<div class="copyright" style="text-align:center">
<div ><?php echo $this->Admin_SkinSelector()?></div>
<span>
&copy; 2006-<?php print(date("Y")); ?>
<?php echo $this->traduire('- Tous droits réservés - Hébergement &amp; Conception graphique');?>&nbsp;
<a href="http://www.afi-sa.net" target="_blank">AFI</a>
<?php echo $this->tagCredits() ?>
</span>
</div>
......
......@@ -31,9 +31,7 @@
?>
<td style="text-align:right;padding-right:10px">
<div class="credit">
&copy; 2006-<?php print(date("Y")); ?>
<?php echo $this->_('- Propulsé par ');?>
<a href="http://www.bokeh-library-portal.org" target="_blank" title="<?php echo $this->_('Site communautaire du projet Bokeh');?>">Bokeh</a>
<?php echo $this->tagCredits() ?>
</div>
</td>
</tr>
......
......@@ -18,11 +18,12 @@
* along with BOKEH; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
//vérification du paramétrage Bokeh
if ((!file_exists('local.php') || !file_exists('config.ini') || !file_exists('cosmogramme/config.php')) //test existence fichiers de paramétrage
&& file_exists('scripts/install-bokeh.php')) { //contrôle présence script de paramétrage
// Run Bokeh installer if not configured
if ((!file_exists('local.php') || !file_exists('config.ini') || !file_exists('cosmogramme/config.php')) && file_exists('scripts/install-bokeh.php')) {
include('scripts/install-bokeh.php');
}
require('includes.php');
try {
......
<?php
/**
* Copyright (c) 2012-2014, Agence Française Informatique (AFI). All rights reserved.
*
* BOKEH is free software; 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.
*
* There are special exceptions to the terms and conditions of the AGPL as it
* is applied to this software (see README file).
*
* BOKEH is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
* along with BOKEH; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
class ZendAfi_View_Helper_TagCredits extends Zend_View_Helper_HtmlElement {
public function tagCredits() {
return sprintf('&copy; 2006-%d - %s <a href="%s" target="_blank" title="%s">Bokeh</a>',
date("Y"),
$this->view->_('Propulsé par'),
'http://www.bokeh-library-portal.org',
$this->view->_('Site communautaire du projet Bokeh'));
}
}
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment