This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, feature/twig-template-engine has been updated
via ef21074792332280ddd5bc32a35f460190569b67 (commit)
via fade42fa7ead05b3104000bfe8d0f59a9f8807a1 (commit)
from d139f39da8492d5c62d0eb743c2318a43ab718e8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=ef21074792332280ddd5bc32a35f460190569b67
commit ef21074792332280ddd5bc32a35f460190569b67
Author: Roland Mas <[email protected]>
Date: Wed Jun 17 16:49:16 2015 +0200
Removed some unused methods
diff --git a/src/www/themes/funky-twig/Theme.class.php
b/src/www/themes/funky-twig/Theme.class.php
index 7c25160..83436c2 100644
--- a/src/www/themes/funky-twig/Theme.class.php
+++ b/src/www/themes/funky-twig/Theme.class.php
@@ -390,13 +390,12 @@ class Theme_Funky_Twig extends Theme_Funky {
print $this->renderTemplate('footer.html', $vars);
}
- function footerEnd() {
- // TODO
- return parent::footerEnd();
- }
function getRootIndex() {
- // TODO
- return parent::getRootIndex();
+ if ( file_exists(forge_get_config('custom_path') .
'/index_std.php') ) {
+ return forge_get_config('custom_path') .
'/index_std.php';
+ } else {
+ return $GLOBALS['gfwww'].'index_std.php';
+ }
}
function boxTop($title, $id='') {
$vars = array('id' => $id,
@@ -414,8 +413,14 @@ class Theme_Funky_Twig extends Theme_Funky {
return $this->renderTemplate('BoxBottom.html');
}
function boxGetAltRowStyle($i, $classonly = false) {
- // TODO
- return parent::boxGetAltRowStyle($i, $classonly);
+ if ($i % 2 == 0)
+ $ret = 'altRowStyleEven';
+ else
+ $ret = 'altRowStyleOdd';
+ if ($classonly)
+ return $ret;
+ else
+ return 'class="'.$ret.'"';
}
function listTableTop($titleArray = array(), $linksArray = array(),
$class = '', $id = '', $thClassArray = array(), $thTitleArray = array(),
$thOtherAttrsArray = array()) {
$vars = array('id' => $id,
@@ -450,14 +455,6 @@ class Theme_Funky_Twig extends Theme_Funky {
function listTableBottom() {
return $this->renderTemplate('ListTableBottom.html');
}
- function outerTabs($params) {
- // TODO -- not used directly by pages, can be inlined in this
file (unless used in several places)
- return parent::outerTabs($params);
- }
- function projectTabs($toptab, $group_id) {
- // TODO -- not used directly by pages, can be inlined in this
file (unless used in several places)
- return parent::projectTabs($toptab, $group_id);
- }
function beginSubMenu() {
return $this->renderTemplate('beginSubMenu.html');
}
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=fade42fa7ead05b3104000bfe8d0f59a9f8807a1
commit fade42fa7ead05b3104000bfe8d0f59a9f8807a1
Author: Roland Mas <[email protected]>
Date: Wed Jun 17 16:48:53 2015 +0200
Updated copyright info
diff --git a/src/www/themes/funky-twig/README.txt
b/src/www/themes/funky-twig/README.txt
index 32b56c9..4ddbdc6 100644
--- a/src/www/themes/funky-twig/README.txt
+++ b/src/www/themes/funky-twig/README.txt
@@ -5,7 +5,7 @@ The Funky theme is Copyright 2010 (c) Capgemini
(www.capgemini.com)
AUTHOR: Antoine Mercadal <[email protected]>
The Funky-Twig theme is a reimplementation using the Twig template engine,
-copyright 2014 Roland Mas <[email protected]>.
+copyright-2015 2014 Roland Mas <[email protected]>.
The Funky theme is free software; you can redistribute it and/or modify it
under
the terms of the GNU General Public License as published by the Free Software
-----------------------------------------------------------------------
Summary of changes:
src/www/themes/funky-twig/README.txt | 2 +-
src/www/themes/funky-twig/Theme.class.php | 29 +++++++++++++----------------
2 files changed, 14 insertions(+), 17 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits