| 1 |
<?php |
<?php |
| 2 |
/** |
/** |
| 3 |
* $Id: carbon_calculate.inc,v 1.25 2009/01/06 17:36:30 johnackers Exp $ |
* $Id: carbon_calculate.inc,v 1.26 2009/01/06 22:19:26 johnackers Exp $ |
| 4 |
* |
* |
| 5 |
* Drupal carbon module (calculations) |
* Drupal carbon module (calculations) |
| 6 |
* |
* |
| 870 |
{ |
{ |
| 871 |
$out = "<h1 class='title'>" ; |
$out = "<h1 class='title'>" ; |
| 872 |
$out .= t("Emissions from "); |
$out .= t("Emissions from "); |
| 873 |
$out .= substr(_format_date($results->start, "small"),0,10)." to " ; |
$out .= _format_date_range($results->start, $results->end); |
|
$out .= substr(_format_date($results->end, "small"),0,10) ; |
|
| 874 |
$out .= "</h1>" ; |
$out .= "</h1>" ; |
| 875 |
$row = array("total", null, null); |
$row = array("total", null, null); |
| 876 |
|
|