pdontthink | 5 Feb 2012 01:35
Picon

SF.net SVN: squirrelmail:[14269] branches/SM-1_4-STABLE/squirrelmail

Revision: 14269
          http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=14269&view=rev
Author:   pdontthink
Date:     2012-02-05 00:35:55 +0000 (Sun, 05 Feb 2012)
Log Message:
-----------
Add search_index_before hook so search screen behaves more like right_main

Modified Paths:
--------------
    branches/SM-1_4-STABLE/squirrelmail/doc/ChangeLog
    branches/SM-1_4-STABLE/squirrelmail/src/search.php

Modified: branches/SM-1_4-STABLE/squirrelmail/doc/ChangeLog
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/doc/ChangeLog	2012-02-03 07:45:57 UTC (rev 14268)
+++ branches/SM-1_4-STABLE/squirrelmail/doc/ChangeLog	2012-02-05 00:35:55 UTC (rev 14269)
 <at>  <at>  -34,6 +34,8  <at>  <at> 
     standards) - see the $browser_rendering_mode setting in
     config/config.php or the "4. General Options ==> 19. Browser
     rendering mode" setting in the configuration tool (#3240356).
+  - Added "search_index_before" hook (analog of the "mailbox_index_before"
+    hook)

 Version 1.4.22 - 12 July 2011
 -----------------------------

Modified: branches/SM-1_4-STABLE/squirrelmail/src/search.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/src/search.php	2012-02-03 07:45:57 UTC (rev 14268)
+++ branches/SM-1_4-STABLE/squirrelmail/src/search.php	2012-02-05 00:35:55 UTC (rev 14269)
 <at>  <at>  -243,6 +243,8  <at>  <at> 
         $msg_cnt_str = get_msgcnt_str(1, $cnt, $cnt);
         $toggle_all = get_selectall_link(1, $sort);

+        do_hook('search_index_before');
+
         $safe_name = preg_replace("/[^0-9A-Za-z_]/", '_', $mailbox);
         $form_name = "FormMsgs" . $safe_name;
         echo '<form name="' . $form_name . '" method="post" action="move_messages.php">' ."\n" .

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@...
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn


Gmane