Changes adopted from version 0.5
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/*****************************************************************************
|
||||
IP Reg, a PHP/MySQL IPAM tool
|
||||
Copyright (C) 2008 Wietse Warendorff
|
||||
Copyright (C) 2007-2009 Wietse Warendorff
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -27,13 +27,13 @@
|
||||
include("header.php");
|
||||
|
||||
// set template
|
||||
$tp = new Template("tpl/comments.tpl");
|
||||
$tp = new Template("tpl/comments.tpl", $config_yapter_error);
|
||||
|
||||
// set language variables
|
||||
$tp->setvars($lang);
|
||||
|
||||
// get error
|
||||
$comments = $_GET['comments'];
|
||||
$comments = sanitize($_GET['comments']);
|
||||
|
||||
// set veriables
|
||||
$tp->set("comments", $lang['lang_comments_' . $comments]);
|
||||
|
||||
Reference in New Issue
Block a user