From 51d0146fc1d2fd65e7cf4fcca0e530a085b4a708 Mon Sep 17 00:00:00 2001
From: Antennipasi <Antennipasi@ispconfig3>
Date: Sun, 04 Jan 2009 11:28:46 -0500
Subject: [PATCH] Added more translations to monitor-module, mostly done now, couple annoyances left. merged changes with all languages.

---
 interface/web/content.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/interface/web/content.php b/interface/web/content.php
index 2e9bbc5..cd19cd4 100644
--- a/interface/web/content.php
+++ b/interface/web/content.php
@@ -1,7 +1,7 @@
 <?php
 
 /*
-Copyright (c) 2005, Till Brehm, projektfarm Gmbh
+Copyright (c) 2007, Till Brehm, projektfarm Gmbh
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without modification,
@@ -35,7 +35,7 @@
 $page = $_REQUEST["s_pg"];
 
 if(!preg_match("/^[a-z]{0,20}$/i", $module)) die('module name contains unallowed chars.');
-if(!preg_match("/^[a-z]{0,20}$/i", $page)) die('module name contains unallowed chars.');
+if(!preg_match("/^[a-z]{0,20}$/i", $page)) die('page name contains unallowed chars.');
 
 if(is_file("$module/$page.php")) {
 	
@@ -52,7 +52,7 @@
 		$module = $target_parts[0];
 		$page = $target_parts[1];
 		if(!preg_match("/^[a-z]{2,20}$/i", $module)) die('target module name contains unallowed chars.');
-		if(!preg_match("/^[a-z]{2,20}$/i", $page)) die('target module name contains unallowed chars.');
+		if(!preg_match("/^[a-z]{2,20}$/i", $page)) die('target page name contains unallowed chars.');
 		
 		if(is_file("$module/$page.php")) {
 			include_once("$module/$page.php");

--
Gitblit v1.9.1