Skip to content

Commit 5898f62

Browse files
committed
New update
1 parent 8f4cb8e commit 5898f62

11 files changed

Lines changed: 15 additions & 8 deletions

File tree

inc/conf.const.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Pierre-Henry Soria
44
* @email pierrehs@hotmail.com
55
* @link http://github.com/pH-7/Nav-Doc-Script-V2
6-
* @copyright (c) 2012-2013, Pierre-Henry Soria. All Rights Reserved.
6+
* @copyright (c) 2012-2014, Pierre-Henry Soria. All Rights Reserved.
77
* @license CC-BY - http://creativecommons.org/licenses/by/3.0/
88
*/
99

inc/conf.lang.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Pierre-Henry Soria
44
* @email pierrehs@hotmail.com
55
* @link http://github.com/pH-7/Nav-Doc-Script-V2
6-
* @copyright (c) 2012-2013, Pierre-Henry Soria. All Rights Reserved.
6+
* @copyright (c) 2012-2014, Pierre-Henry Soria. All Rights Reserved.
77
* @license CC-BY - http://creativecommons.org/licenses/by/3.0/
88
*/
99

inc/scripts/fns.html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Pierre-Henry Soria
44
* @email pierrehs@hotmail.com
55
* @link http://github.com/pH-7/Nav-Doc-Script-V2
6-
* @copyright (c) 2012-2013, Pierre-Henry Soria. All Rights Reserved.
6+
* @copyright (c) 2012-2014, Pierre-Henry Soria. All Rights Reserved.
77
* @license CC-BY - http://creativecommons.org/licenses/by/3.0/
88
*/
99

inc/scripts/fns.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Pierre-Henry Soria
44
* @email pierrehs@hotmail.com
55
* @link http://github.com/pH-7/Nav-Doc-Script-V2
6-
* @copyright (c) 2012-2013, Pierre-Henry Soria. All Rights Reserved.
6+
* @copyright (c) 2012-2014, Pierre-Henry Soria. All Rights Reserved.
77
* @license CC-BY - http://creativecommons.org/licenses/by/3.0/
88
*/
99

@@ -56,6 +56,7 @@ function parse_var($sContent)
5656
$sContent = str_replace('{page_name}', get_page_name(), $sContent);
5757
$sContent = str_replace('{menu_links}', get_links_html(), $sContent);
5858
$sContent = str_replace('{menu_langs}', get_langs_html(), $sContent);
59+
$sContent = str_replace('{year}', date('Y'), $sContent);
5960

6061
return $sContent;
6162
}
@@ -151,6 +152,7 @@ function set_lang()
151152
/**
152153
* Escape string with htmlspecialchars() PHP function.
153154
*
155+
* @param string $sVal
154156
* @return string
155157
*/
156158
function escape($sVal)

index.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Pierre-Henry Soria
44
* @email pierrehs@hotmail.com
55
* @link http://github.com/pH-7/Nav-Doc-Script-V2
6-
* @copyright (c) 2012-2013, Pierre-Henry Soria. All Rights Reserved.
6+
* @copyright (c) 2012-2014, Pierre-Henry Soria. All Rights Reserved.
77
* @license CC-BY - http://creativecommons.org/licenses/by/3.0/
88
*/
99

@@ -19,6 +19,7 @@
1919
ob_start();
2020

2121
get_page(ROOT_PATH . 'themes/' . TPL . '/tpl/header.tpl');
22+
get_page(ROOT_PATH . 'themes/' . TPL . '/tpl/ads/header.tpl');
2223

2324
if (!empty($_GET['p']))
2425
{
@@ -31,6 +32,7 @@
3132
get_page(ROOT_PATH . 'themes/' . TPL . '/tpl/menu.tpl');
3233
}
3334

35+
get_page(ROOT_PATH . 'themes/' . TPL . '/tpl/ads/footer.tpl');
3436
get_page(ROOT_PATH . 'themes/' . TPL . '/tpl/footer.tpl');
3537

3638
ob_end_flush();

static/js/ajph.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Description: Loading pages in Ajax with HTML5 pushState.
44
*
55
* Author: Pierre-Henry Soria <ph7software@gmail.com>
6-
* Copyright: (c) 2012-2013, Pierre-Henry Soria. All Rights Reserved.
6+
* Copyright: (c) 2012-2014, Pierre-Henry Soria. All Rights Reserved.
77
* License: GNU General Public License <http://www.gnu.org/licenses/gpl.html>
88
* Version: 1.3
99
*/

themes/base/css/common.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Author: Pierre-Henry Soria <ph7software@gmail.com>
3-
* Copyright: (c) 2012-2013, Pierre-Henry Soria. All Rights Reserved.
3+
* Copyright: (c) 2012-2014, Pierre-Henry Soria. All Rights Reserved.
44
* License: GNU General Public License <http://www.gnu.org/licenses/gpl.html>
55
*/
66

themes/base/css/js/ajph.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Author: Pierre-Henry Soria <ph7software@gmail.com>
3-
* Copyright: (c) 2012-2013, Pierre-Henry Soria. All Rights Reserved.
3+
* Copyright: (c) 2012-2014, Pierre-Henry Soria. All Rights Reserved.
44
* License: GNU General Public License <http://www.gnu.org/licenses/gpl.html>
55
*/
66

themes/base/tpl/ads/footer.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- Your AD here -->

themes/base/tpl/ads/header.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- Your AD here -->

0 commit comments

Comments
 (0)