diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:56 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:56 -0600 |
commit | f96f74ffa7040e64ae3352e08c810c383c8a0ba2 (patch) | |
tree | 8f4cdf2f66860234f9ae889cd483b44150affb2c /plugins/webinterface/www | |
parent | 0ad9f974f4ad92a3f1458a76d4df26d843efeab7 (diff) | |
download | ktorrent-f96f74ffa7040e64ae3352e08c810c383c8a0ba2.tar.gz ktorrent-f96f74ffa7040e64ae3352e08c810c383c8a0ba2.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'plugins/webinterface/www')
-rw-r--r-- | plugins/webinterface/www/default/details.php | 4 | ||||
-rw-r--r-- | plugins/webinterface/www/default/interface.php | 6 | ||||
-rw-r--r-- | plugins/webinterface/www/default/wz_tooltip.js | 2 | ||||
-rw-r--r-- | plugins/webinterface/www/mobile/interface.php | 2 | ||||
-rw-r--r-- | plugins/webinterface/www/mobile/torrent.php | 2 |
5 files changed, 8 insertions, 8 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> diff --git a/plugins/webinterface/www/default/wz_tooltip.js b/plugins/webinterface/www/default/wz_tooltip.js index 0405498..1329a1b 100644 --- a/plugins/webinterface/www/default/wz_tooltip.js +++ b/plugins/webinterface/www/default/wz_tooltip.js @@ -300,7 +300,7 @@ function tt_DeAlt(t_tag) { if(t_tag.alt) t_tag.alt = ""; if(t_tag.title) t_tag.title = ""; - var t_c = t_tag.tqchildren || t_tag.childNodes || null; + var t_c = t_tag.children || t_tag.childNodes || null; if(t_c) { for(var t_i = t_c.length; t_i; ) diff --git a/plugins/webinterface/www/mobile/interface.php b/plugins/webinterface/www/mobile/interface.php index 3f5e88b..57582de 100644 --- a/plugins/webinterface/www/mobile/interface.php +++ b/plugins/webinterface/www/mobile/interface.php @@ -18,7 +18,7 @@ <table width="100%"> <tbody> <?php - $stats=downloadtqStatus(); + $stats=downloadStatus(); $a = 0; foreach ($stats as $torrent) { echo "<tr>"; diff --git a/plugins/webinterface/www/mobile/torrent.php b/plugins/webinterface/www/mobile/torrent.php index b041d3f..a1e451d 100644 --- a/plugins/webinterface/www/mobile/torrent.php +++ b/plugins/webinterface/www/mobile/torrent.php @@ -8,7 +8,7 @@ <tr> <td align="center"><IMG src="ktorrentwebinterfacelogo.png" width="340" height="150" align="top" border="0"></td> <?php - $stats=downloadtqStatus(); + $stats=downloadStatus(); $t=$stats[$_REQUEST['id']]; echo "<td><strong>ktorrent-><a href=\"interface.php\">transfers</a></strong>->{$t['torrent_name']}</td>"; echo "<td><a href=\"torrent.php?id={$_REQUEST['id']}\" >refresh</a></td>"; |