Source for file addrbook_popup.php

Documentation is available at addrbook_popup.php

  1. <?php
  2.  
  3. /**
  4.  * addrbook_popup.php
  5.  *
  6.  * Frameset for the JavaScript version of the address book.
  7.  *
  8.  * @copyright 1999-2020 The SquirrelMail Project Team
  9.  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  10.  * @version $Id: addrbook_popup.php 14840 2020-01-07 07:42:38Z pdontthink $
  11.  * @package squirrelmail
  12.  * @subpackage addressbook
  13.  */
  14.  
  15. /** This is the addrbook_popup page */
  16. define('PAGE_NAME''addrbook_popup');
  17.  
  18. /**
  19.  * Path for SquirrelMail required files.
  20.  * @ignore
  21.  */
  22. define('SM_PATH','../');
  23.  
  24. /** SquirrelMail required files. */
  25. require_once(SM_PATH 'include/validate.php');
  26. require_once(SM_PATH 'functions/addressbook.php');
  27.    
  28. ?>
  29. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
  30.  
  31. <html>
  32.     <head>
  33. <?php
  34.     // For adding a favicon or anything else that should be inserted in *ALL* <head> for *ALL* documents,
  35.     // define $head_tag_extra in config/config_local.php
  36.     // The string "###SM BASEURI###" will be replaced with the base URI for this SquirrelMail installation.
  37.     // When not defined, a default is provided that displays the default favicon.ico.
  38.     // If you override this and still want to use the default favicon.ico, you'll have to include the following
  39.     // following in your $head_tag_extra string:
  40.     // $head_tag_extra = '<link rel="shortcut icon" href="###SM BASEURI###favicon.ico" />...<YOUR CONTENT HERE>...';
  41.     //
  42.     global $head_tag_extra;
  43.     echo (empty($head_tag_extra'<link rel="shortcut icon" href="' sqm_baseuri('favicon.ico" />'
  44.        : str_replace('###SM BASEURI###'sqm_baseuri()$head_tag_extra));
  45. ?>
  46.         <meta name="robots" content="noindex,nofollow">
  47.         <title><?php echo "$org_title_("Address Book")?></title>
  48.     </head>
  49.     <frameset rows="60,*" border="0">
  50.         <frame name="abookmain"
  51.                marginwidth="0"
  52.                scrolling="no"
  53.                border="0"
  54.                src="addrbook_search.php?show=form" />
  55.         <frame name="abookres"
  56.                marginwidth="0"
  57.                border="0"
  58.                src="addrbook_search.php?show=blank" />
  59.     </frameset>
  60. </html>

Documentation generated on Mon, 13 Jan 2020 04:24:11 +0100 by phpDocumentor 1.4.3