Skip to content

Commit

Permalink
Fix an embarrasing typo and update the copyright year.
Browse files Browse the repository at this point in the history
  • Loading branch information
cafuego committed May 9, 2013
1 parent 9239cbb commit fd730ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internode.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Internode PADSL usage.
*
* Written by Peter Lieverdink <[email protected]>
* Copyright 2004 - 2012 Intellectual Property Holdings Pty. Ltd.
* Copyright 2004 - 2013 Intellectual Property Holdings Pty. Ltd.
*
* License: GPL; See http:https://www.gnu.org/copyleft/gpl.html#SEC1 for a full version.
*
Expand Down Expand Up @@ -47,10 +47,10 @@
* simplexml is a new requirement. This also means the script will likely
* bomb on php4, so make sure you use php5. 5.2 seems to be fine.
* 12/01/2011 - Check the HTTP status code from the API server and tell the user if we
* did not get a 200 -OK.
* did not get a 200 - OK.
* 06/05/2011 - Add days remaining in period display to TXT, RSS and Cisco phone displays. The
* image output already included this information.
* 10/04/2012 - Merge fixes from Simon Lindsay (simgularo) in the over-quota code path and to
* 10/04/2012 - Merge fixes from Simon Lindsay (singularo) in the over-quota code path and to
* avoid some notices about unset variables. Allow turning off of errors.
* 09/05/2013 - Merge a fix from Peter Fern (pdf) to display over-quota usage and remove the
* reference to CURLOPT_GET which no longer seems to exist.
Expand Down Expand Up @@ -321,7 +321,7 @@ function display_rss() {
echo "<link>https://".INTERNODE_HOST.INTERNODE_LOGIN."</link>\n";
echo "<description>" . $this->plan . " " . $this->type . " Usage for " . $this->user . "</description>\n";
echo "<language>en-au</language>\n";
echo "<copyright>Copyright 2004 - 2012 Intellectual Property Holdings Pty. Ltd.</copyright>\n";
echo "<copyright>Copyright 2004 - 2013 Intellectual Property Holdings Pty. Ltd.</copyright>\n";
echo "<docs>http:https://www.cafuego.net/internode-usage.php</docs>\n";
echo "<generator>Internode Usage v.". INTERNODE_VERSION ." - PHP ".phpversion()."</generator>\n";
echo "<managingEditor>" . $this->user . "</managingEditor>\n";
Expand Down Expand Up @@ -590,7 +590,7 @@ function display_history() {
$footer = sprintf("%s %s usage graph %s - %s for %s", $this->plan, $this->type, strftime("%d/%m/%Y", $this->history[0]->date), strftime("%d/%m/%Y", $this->history[count($this->history)-1]->date), $this->user );
imagestring($im, 3, (IMAGE_BORDER_LEFT+IMAGE_WIDTH+(2*IMAGE_BORDER))/2 - imagefontwidth(3) * (strlen($footer)/2), IMAGE_HEIGHT+IMAGE_BORDER_BOTTOM-IMAGE_BORDER, $footer, $black);

$copyright = sprintf("Generated by internode.php v.%d - Copyright 2004 - 2012 Intellectual Property Holdings Pty. Ltd.", INTERNODE_VERSION );
$copyright = sprintf("Generated by internode.php v.%d - Copyright 2004 - 2013 Intellectual Property Holdings Pty. Ltd.", INTERNODE_VERSION );
imagestring($im, 1, (IMAGE_BORDER_LEFT+IMAGE_WIDTH+(2*IMAGE_BORDER))/2 - imagefontwidth(1) * (strlen($copyright)/2), IMAGE_HEIGHT+IMAGE_BORDER_BOTTOM+IMAGE_BORDER, $copyright, $black);

// Output image and deallocate memory.
Expand Down

0 comments on commit fd730ea

Please sign in to comment.