summaryrefslogtreecommitdiffstats
path: root/plugins/webinterface/www/default
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:13:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:13:41 -0600
commita90eb215f53c95d81f95b32255098066d90556d9 (patch)
tree333389b0dad6c75eb0f6b5649ec9adcabb18c268 /plugins/webinterface/www/default
parent42a9872891eba166e81cf4f8c062261cc77398f8 (diff)
downloadktorrent-a90eb215f53c95d81f95b32255098066d90556d9.tar.gz
ktorrent-a90eb215f53c95d81f95b32255098066d90556d9.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'plugins/webinterface/www/default')
-rw-r--r--plugins/webinterface/www/default/details.php4
-rw-r--r--plugins/webinterface/www/default/interface.php6
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/webinterface/www/default/details.php b/plugins/webinterface/www/default/details.php
index 92c8d48..a19d57e 100644
--- a/plugins/webinterface/www/default/details.php
+++ b/plugins/webinterface/www/default/details.php
@@ -1,5 +1,5 @@
<?php
-$stats=downloadtqStatus();
+$stats=downloadStatus();
$num_torrent=$_REQUEST['torrent'];
function cut_name_if_long($string)
@@ -61,7 +61,7 @@ $display_name=cut_name_if_long($stats[$num_torrent]['torrent_name']);
<tr>
<th>Actions</th>
<th>File</th>
- <th>tqStatus</th>
+ <th>Status</th>
<th>Size</th>
<th>Complete</th>
</tr>
diff --git a/plugins/webinterface/www/default/interface.php b/plugins/webinterface/www/default/interface.php
index f34e651..6432798 100644
--- a/plugins/webinterface/www/default/interface.php
+++ b/plugins/webinterface/www/default/interface.php
@@ -1,6 +1,6 @@
<?php
$globalinfo=globalInfo();
-$stats=downloadtqStatus();
+$stats=downloadStatus();
function get_torrent_status_name($status_id)
{
@@ -18,7 +18,7 @@ function get_torrent_status_name($status_id)
10 => 'Checking Data'
);
if (array_key_exists($status_id, $table)) return $table[$status_id];
- else return 'Not supported tqStatus';
+ else return 'Not supported Status';
}
function generate_button_code($img, $alt, $href='')
@@ -104,7 +104,7 @@ function generate_button_code($img, $alt, $href='')
<tr>
<th>Actions</th>
<th>File</th>
- <th>tqStatus</th>
+ <th>Status</th>
<th>Downloaded</th>
<th>Size</th>
<th>Uploaded</th>