diff options
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 } ?> |