diff options
author | Nicolas Lécureuil <neoclust@mageia.org> | 2020-05-17 14:46:00 +0200 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2020-05-17 14:46:00 +0200 |
commit | e3de9d7dd1331f9718e04cc98e9ca7cfa27cf4aa (patch) | |
tree | 336981502f93ceb9fa5ed33ea3b47dcefc5a8402 /common/custom/views/archive | |
parent | ff32e499745367b816d10f25e63ff3328214c32f (diff) | |
download | planet-e3de9d7dd1331f9718e04cc98e9ca7cfa27cf4aa.tar planet-e3de9d7dd1331f9718e04cc98e9ca7cfa27cf4aa.tar.gz planet-e3de9d7dd1331f9718e04cc98e9ca7cfa27cf4aa.tar.bz2 planet-e3de9d7dd1331f9718e04cc98e9ca7cfa27cf4aa.tar.xz planet-e3de9d7dd1331f9718e04cc98e9ca7cfa27cf4aa.zip |
Sync with master of moonmoon ( version 9.0.0-rc)HEADuser/wally/upstream-10-devmaster
Source from https://github.com/Emmafrs/moonmoon/
Diffstat (limited to 'common/custom/views/archive')
-rwxr-xr-x | common/custom/views/archive/footer.tpl.php | 2 | ||||
-rwxr-xr-x | common/custom/views/archive/index.tpl.php | 8 | ||||
-rwxr-xr-x | common/custom/views/archive/sidebar.tpl.php | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/common/custom/views/archive/footer.tpl.php b/common/custom/views/archive/footer.tpl.php index bfc0210..c9c84b1 100755 --- a/common/custom/views/archive/footer.tpl.php +++ b/common/custom/views/archive/footer.tpl.php @@ -1,3 +1,3 @@ <div id="footer"> - <p><? echo str_replace('%s', 'href="http://moonmoon.org"', _g('Powered by <a %s>moonmoon</a>'))?> | <a href="./admin/"><?=_g('Administration')?></a></p> + <p><?php echo str_replace('%s', 'href="http://moonmoon.org"', _g('Powered by <a %s>moonmoon</a>'))?> | <a href="./admin/"><?=_g('Administration')?></a></p> </div> diff --git a/common/custom/views/archive/index.tpl.php b/common/custom/views/archive/index.tpl.php index 2bb8f36..16bc6ab 100755 --- a/common/custom/views/archive/index.tpl.php +++ b/common/custom/views/archive/index.tpl.php @@ -29,12 +29,12 @@ header('Content-type: text/html; charset=UTF-8'); <meta http-equiv="Content-Style-Type" content="text/css" /> <title><?php echo $PlanetConfig->getName(); ?></title> - <?php include(dirname(__FILE__).'/head.tpl.php'); ?> + <?php include(__DIR__.'/head.tpl.php'); ?> </head> <body> <div id="page"> - <?php include(dirname(__FILE__).'/top.tpl.php'); ?> + <?php include(__DIR__.'/top.tpl.php'); ?> <div id="content"> <?php if (0 == count($items)) :?> @@ -106,9 +106,9 @@ header('Content-type: text/html; charset=UTF-8'); <?php endif; ?> </div> - <?php include_once(dirname(__FILE__).'/sidebar.tpl.php'); ?> + <?php include_once(__DIR__.'/sidebar.tpl.php'); ?> - <?php include(dirname(__FILE__).'/footer.tpl.php'); ?> + <?php include(__DIR__.'/footer.tpl.php'); ?> </div> </body> </html> diff --git a/common/custom/views/archive/sidebar.tpl.php b/common/custom/views/archive/sidebar.tpl.php index e21f377..7a5d080 100755 --- a/common/custom/views/archive/sidebar.tpl.php +++ b/common/custom/views/archive/sidebar.tpl.php @@ -1,5 +1,5 @@ <?php -$all_people = &$Planet->getPeople(); +$all_people = $Planet->getPeople(); usort($all_people, array('PlanetFeed', 'compare')); ?> <div id="sidebar"> |