diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-02-28 05:44:49 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-02-28 05:44:49 +0000 |
commit | 31d5e782dedb0a09b5d73e7bac61dccfe25e73f1 (patch) | |
tree | b46198c3cb0137a3c4d8e4faf99a9022a9d87f88 /templates | |
parent | 4626bc1ff1a2c2a8bc2b37f5aece23a2ee6d9104 (diff) | |
download | ampache-31d5e782dedb0a09b5d73e7bac61dccfe25e73f1.tar.gz ampache-31d5e782dedb0a09b5d73e7bac61dccfe25e73f1.tar.bz2 ampache-31d5e782dedb0a09b5d73e7bac61dccfe25e73f1.zip |
removed ip2int, int2ip custom functions fixed browse issues when adding filters in specific order
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_access_list.inc.php | 4 | ||||
-rw-r--r-- | templates/show_edit_access.inc.php | 4 | ||||
-rw-r--r-- | templates/show_ip_history.inc.php | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/templates/show_access_list.inc.php b/templates/show_access_list.inc.php index 0c3c1fee..8a128408 100644 --- a/templates/show_access_list.inc.php +++ b/templates/show_access_list.inc.php @@ -56,8 +56,8 @@ stream from this server.</p> ?> <tr class="<?php echo flip_class(); ?>"> <td><?php echo scrub_out($access->name); ?></td> - <td><?php echo int2ip($access->start); ?></td> - <td><?php echo int2ip($access->end); ?></td> + <td><?php echo long2ip($access->start); ?></td> + <td><?php echo long2ip($access->end); ?></td> <td><?php echo $access->get_level_name(); ?></td> <td><?php echo $access->get_user_name(); ?></td> <td><?php echo $access->key; ?></td> diff --git a/templates/show_edit_access.inc.php b/templates/show_edit_access.inc.php index c4825d2f..14848946 100644 --- a/templates/show_edit_access.inc.php +++ b/templates/show_edit_access.inc.php @@ -42,14 +42,14 @@ <tr> <td><?php echo _('Start IP Address'); ?>:</td> <td> - <input type="text" name="start" value="<?php echo int2ip($access->start); ?>" size="20" maxlength="15" /> + <input type="text" name="start" value="<?php echo long2ip($access->start); ?>" size="20" maxlength="15" /> <span class="information">(0.0.0.0)</span> </td> </tr> <tr> <td><?php echo _('End IP Address'); ?>:</td> <td> - <input type="text" name="end" value="<?php echo int2ip($access->end); ?>" size="20" maxlength="15" /> + <input type="text" name="end" value="<?php echo long2ip($access->end); ?>" size="20" maxlength="15" /> <span class="information">(0.0.0.0)</span> </td> </tr> diff --git a/templates/show_ip_history.inc.php b/templates/show_ip_history.inc.php index 9b266772..801d51cd 100644 --- a/templates/show_ip_history.inc.php +++ b/templates/show_ip_history.inc.php @@ -43,7 +43,7 @@ <?php echo date("d/m/Y H\hi",$data['date']); ?> </td> <td class="cel_ipaddress"> - <?php echo int2ip($data['ip']); ?> + <?php echo long2ip($data['ip']); ?> </td> </tr> <?php } ?> |