From 805f9a155a97508c48e7185e5acc4124235b7472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=A4nzer?= Date: Wed, 20 Feb 2013 15:52:30 +0100 Subject: bug 1112: Fix things popped up in review: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - whitespace/indentation - require vs. include and possible issue with relative path - wording - intval($id) - unnecessary change of language while the text is not sent through gettext anyway - do not use mysql_escape_string on email body - make strings easier to translate Signed-off-by: Michael Tänzer --- pages/wot/4.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'pages/wot') diff --git a/pages/wot/4.php b/pages/wot/4.php index 5167d96..befdfe4 100644 --- a/pages/wot/4.php +++ b/pages/wot/4.php @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ -include_once("../includes/wot.inc.php"); +*/ +require_once(dirname(__FILE__).'/../../includes/wot.inc.php'); ?>

@@ -39,11 +39,11 @@ include_once("../includes/wot.inc.php"); if ($_SESSION['profile']['points']<100){ // test for TTP assurances if (get_number_of_ttpassurances(intval($_SESSION['profile']['id']))<2){?> -

+

- + - + @@ -65,14 +65,14 @@ if ($_SESSION['profile']['points']<100){

+

- + "> - + */ ?> -

+

- + ">