Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
opacce
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Fleurant Ylan
opacce
Commits
99bbda60
Commit
99bbda60
authored
Sep 05, 2016
by
Laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hotline #44903 code cleaning in index.php & footer rendering
parent
d236103f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
9 deletions
+38
-9
44903
VERSIONS_HOTLINE/44903
+1
-0
footer.phtml
application/modules/admin/views/scripts/footer.phtml
+1
-3
footer.phtml
application/modules/opac/views/scripts/footer.phtml
+1
-3
index.php
index.php
+4
-3
TagCredits.php
library/ZendAfi/View/Helper/TagCredits.php
+31
-0
No files found.
VERSIONS_HOTLINE/44903
0 → 100644
View file @
99bbda60
- ticket #44903 : constitution du cache des images: reprise automatique si erreur
\ No newline at end of file
application/modules/admin/views/scripts/footer.phtml
View file @
99bbda60
<div
class=
"copyright"
style=
"text-align:center"
>
<div
>
<?php
echo
$this
->
Admin_SkinSelector
()
?>
</div>
<span>
©
2006-
<?php
print
(
date
(
"Y"
));
?>
<?php
echo
$this
->
traduire
(
'- Tous droits réservés - Hébergement & Conception graphique'
);
?>
<a
href=
"http://www.afi-sa.net"
target=
"_blank"
>
AFI
</a>
<?php
echo
$this
->
tagCredits
()
?>
</span>
</div>
...
...
application/modules/opac/views/scripts/footer.phtml
View file @
99bbda60
...
...
@@ -31,9 +31,7 @@
?>
<td
style=
"text-align:right;padding-right:10px"
>
<div
class=
"credit"
>
©
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>
...
...
index.php
View file @
99bbda60
...
...
@@ -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
{
...
...
library/ZendAfi/View/Helper/TagCredits.php
0 → 100644
View file @
99bbda60
<?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
(
'© 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment