$data = $report->getData();
if ($start == $end) {
- echo '<p class="warning">'._('Start and end dates must be different').'</p>';
+ echo '<p class="error">'._('Start and end dates must be different').'</p>';
} elseif (count($data) == 0) {
echo '<p class="information">';
echo _('There have been no downloads for this package.');
<p>
<?php
if ($start == $end) {
- echo '<p class="warning">'._('Start and end dates must be different').'</p>';
+ echo '<p class="error">'._('Start and end dates must be different').'</p>';
} else {
if (!report_actgraph('project', $SPAN, $start, $end, $group_id, $area)) {
echo '<p class="error">'._('Error during graphic computation.');
</form>
<?php
if ($start == $end) {
- echo '<p class="warning">'._('Start and end dates must be different').'</p>';
+ echo '<p class="error">'._('Start and end dates must be different').'</p>';
} else {
if ($atid) {
if (!$area || $area == 'activity') {