- Log the search terms in a new watchdog category.
							parent
							
								
									a9ef18266e
								
							
						
					
					
						commit
						1d5a29a357
					
				| 
						 | 
					@ -3,6 +3,7 @@ Drupal x.x.x, xxxx-xx-xx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- added support for the MetaWeblog API and MovableType extensions.
 | 
					- added support for the MetaWeblog API and MovableType extensions.
 | 
				
			||||||
- added a file API: enables better document management.
 | 
					- added a file API: enables better document management.
 | 
				
			||||||
 | 
					- improved the watchdog and search module to log search keys.
 | 
				
			||||||
- comment module:
 | 
					- comment module:
 | 
				
			||||||
    * made it possible to disable the "comment viewing controls".
 | 
					    * made it possible to disable the "comment viewing controls".
 | 
				
			||||||
- performance:
 | 
					- performance:
 | 
				
			||||||
| 
						 | 
					@ -29,11 +30,18 @@ Drupal x.x.x, xxxx-xx-xx
 | 
				
			||||||
- documentation:
 | 
					- documentation:
 | 
				
			||||||
    * added PHPDoc/Doxygen comments.
 | 
					    * added PHPDoc/Doxygen comments.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Drupal 4.3.2, 2004-01-01
 | 
				
			||||||
 | 
					------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- fixed bugs: no critical bugs were identified.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Drupal 4.3.1, 2003-12-01
 | 
					Drupal 4.3.1, 2003-12-01
 | 
				
			||||||
------------------------
 | 
					------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- fixed bugs: no critical bugs were identified.
 | 
					- fixed bugs: no critical bugs were identified.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Drupal 4.3.0, 2003-11-01
 | 
					Drupal 4.3.0, 2003-11-01
 | 
				
			||||||
------------------------
 | 
					------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -363,6 +363,9 @@ function search_view($keys) {
 | 
				
			||||||
        $output .= "<br />". $help_link ."<br />";
 | 
					        $output .= "<br />". $help_link ."<br />";
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // Log the search keys:
 | 
				
			||||||
 | 
					    watchdog("search", "search: '$keys'", l("view results", "search", NULL, "keys=". urlencode($keys)));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Collect the search results:
 | 
					    // Collect the search results:
 | 
				
			||||||
    $results = search_data($keys);
 | 
					    $results = search_data($keys);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -363,6 +363,9 @@ function search_view($keys) {
 | 
				
			||||||
        $output .= "<br />". $help_link ."<br />";
 | 
					        $output .= "<br />". $help_link ."<br />";
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // Log the search keys:
 | 
				
			||||||
 | 
					    watchdog("search", "search: '$keys'", l("view results", "search", NULL, "keys=". urlencode($keys)));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Collect the search results:
 | 
					    // Collect the search results:
 | 
				
			||||||
    $results = search_data($keys);
 | 
					    $results = search_data($keys);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue