<commit_before>--- Public/A2B_notification.php	2009-11-03 16:21:42.000000000 +0100
+++ Public/A2B_notification__vt.php	2009-11-03 16:36:46.000000000 +0100
@@ -32,13 +32,13 @@
 **/
 
 
-include ("../lib/admin.defines.php");
-include ("../lib/admin.module.access.php");
-include ("../lib/admin.smarty.php");
+include ("../lib/admin.defines__vt.php");
+include ("../lib/admin.module.access__vt.php");
+include ("../lib/admin.smarty__vt.php");
 
 if (!$ACXACCESS) {
 	Header("HTTP/1.0 401 Unauthorized");
-	Header("Location: PP_error.php?c=accessdenied");
+	Header("Location: PP_error__vt.php?c=accessdenied");
 	die();
 }
 
@@ -115,9 +115,10 @@
 
 
 // #### HEADER SECTION
-$smarty->display('main.tpl');
-
+$smarty->display('main__vt.tpl');
+if (!VT_DEMO) {
 echo $CC_help_notifications;
+} 
 $nb_by_page = 15;
 $nb_total = NotificationsDAO::getNbNotifications();
 $nb_page = ceil($nb_total/$nb_by_page);
@@ -144,14 +145,14 @@
 	<tr>
 		<td colspan="3" align="left">
 		<?php if($page>1){ ?>
-			<a href="A2B_notification__vt.php?page=<?php echo $page-1; ?>"> &lt; <?php echo gettext("Newer") ?> </a>
+			<a href="A2B_notification.php?page=<?php echo $page-1; ?>"> &lt; <?php echo gettext("Newer") ?> </a>
 		<?php } ?>
 		&nbsp;
 		</td>
 		<td colspan="3" align="right">
 		&nbsp;
                 <?php if($page<$nb_page){ ?>
-		<a href="A2B_notification__vt.php?page=<?php echo $page+1; ?>"><?php echo gettext("Older") ?> &gt;</a>
+		<a href="A2B_notification.php?page=<?php echo $page+1; ?>"><?php echo gettext("Older") ?> &gt;</a>
                 <?php } ?>
 		</td>
 	</tr>
@@ -263,14 +264,14 @@
 $(document).ready(function () {
 
 	$('.newrecord').click(function () {
-		$.get("A2B_notification__vt.php", { id: ""+ this.id, action: "view" },
+		$.get("A2B_notification.php", { id: ""+ this.id, action: "view" },
 			  function(data){
 			    if(data=="true") location.reload(true);
 			  });			
         });
 
 	$('#viewall').click(function () {
-		$.get("A2B_notification__vt.php", { page: ""+ page, action: "viewall", ids : ids },
+		$.get("A2B_notification.php", { page: ""+ page, action: "viewall", ids : ids },
 			  function(data){
 			    if(data=="true") location.reload(true);
 			  });
@@ -278,7 +279,7 @@
 
 	$('.delete').click(function () {
 			if (confirm("<?php echo gettext("Do you want delete this notification ?") ?>")) { 
-				$.get("A2B_notification__vt.php", { id: ""+ this.id, action: "delete" },
+				$.get("A2B_notification.php", { id: ""+ this.id, action: "delete" },
 					  function(data){
 					      location.reload(true);
 					  });	<commit_msg>Adding new diff<commit_after>--- Public/A2B_notification.php	2009-11-04 19:55:37.000000000 +0100
+++ Public/A2B_notification__vt.php	2009-11-04 19:56:47.000000000 +0100
@@ -32,13 +32,13 @@
 **/
 
 
-include ("../lib/admin.defines.php");
-include ("../lib/admin.module.access.php");
-include ("../lib/admin.smarty.php");
+include ("../lib/admin.defines__vt.php");
+include ("../lib/admin.module.access__vt.php");
+include ("../lib/admin.smarty__vt.php");
 
 if (!$ACXACCESS) {
 	Header("HTTP/1.0 401 Unauthorized");
-	Header("Location: PP_error.php?c=accessdenied");
+	Header("Location: PP_error__vt.php?c=accessdenied");
 	die();
 }
 
@@ -115,9 +115,10 @@
 
 
 // #### HEADER SECTION
-$smarty->display('main.tpl');
-
+$smarty->display('main__vt.tpl');
+if (!VT_DEMO) {
 echo $CC_help_notifications;
+} 
 $nb_by_page = 15;
 $nb_total = NotificationsDAO::getNbNotifications();
 $nb_page = ceil($nb_total/$nb_by_page);
@@ -144,14 +145,14 @@
 	<tr>
 		<td colspan="3" align="left">
 		<?php if($page>1){ ?>
-			<a href="A2B_notification.php?page=<?php echo $page-1; ?>"> &lt; <?php echo gettext("Newer") ?> </a>
+			<a href="A2B_notification__vt.php?page=<?php echo $page-1; ?>"> &lt; <?php echo gettext("Newer") ?> </a>
 		<?php } ?>
 		&nbsp;
 		</td>
 		<td colspan="3" align="right">
 		&nbsp;
                 <?php if($page<$nb_page){ ?>
-		<a href="A2B_notification.php?page=<?php echo $page+1; ?>"><?php echo gettext("Older") ?> &gt;</a>
+		<a href="A2B_notification__vt.php?page=<?php echo $page+1; ?>"><?php echo gettext("Older") ?> &gt;</a>
                 <?php } ?>
 		</td>
 	</tr>
@@ -224,14 +225,14 @@
 		<tr>
 			<td colspan="3" align="left">
 			<?php if($page>1){ ?>
-				<a href="A2B_notification.php?page=<?php echo $page-1; ?>"> &lt; <?php echo gettext("Newer") ?> </a>
+				<a href="A2B_notification__vt.php?page=<?php echo $page-1; ?>"> &lt; <?php echo gettext("Newer") ?> </a>
 			<?php } ?>
 			&nbsp;
 			</td>
 			<td colspan="3" align="right">
 			&nbsp;
                          <?php if($page<$nb_page){ ?>
-			<a href="A2B_notification.php?page=<?php echo $page+1; ?>"><?php echo gettext("Older") ?> &gt;</a>
+			<a href="A2B_notification__vt.php?page=<?php echo $page+1; ?>"><?php echo gettext("Older") ?> &gt;</a>
                         <?php } ?>
 			</td>
 		</tr>
@@ -263,14 +264,14 @@
 $(document).ready(function () {
 
 	$('.newrecord').click(function () {
-		$.get("A2B_notification.php", { id: ""+ this.id, action: "view" },
+		$.get("A2B_notification__vt.php", { id: ""+ this.id, action: "view" },
 			  function(data){
 			    if(data=="true") location.reload(true);
 			  });			
         });
 
 	$('#viewall').click(function () {
-		$.get("A2B_notification.php", { page: ""+ page, action: "viewall", ids : ids },
+		$.get("A2B_notification__vt.php", { page: ""+ page, action: "viewall", ids : ids },
 			  function(data){
 			    if(data=="true") location.reload(true);
 			  });
@@ -278,7 +279,7 @@
 
 	$('.delete').click(function () {
 			if (confirm("<?php echo gettext("Do you want delete this notification ?") ?>")) { 
-				$.get("A2B_notification.php", { id: ""+ this.id, action: "delete" },
+				$.get("A2B_notification__vt.php", { id: ""+ this.id, action: "delete" },
 					  function(data){
 					      location.reload(true);
 					  });	
{'fraction_non_alphanumeric': 0.24659400544959129, 'fraction_numerical': 0.04615122615803815, 'mean_word_length': 3.4763719512195124, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 0, '>': 90, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7323433', 'n_tokens_mistral': 2625, 'n_tokens_neox': 2299, 'n_words': 380}