forked from cafuego/internode-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an embarrasing typo and update the copyright year.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
* | ||
|
@@ -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. | ||
|
@@ -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"; | ||
|
@@ -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. | ||
|