b2evolution PHP Cross Reference Blogging Systems

Source: /skins_adm/_html_footer.inc.php - 77 lines - 2081 bytes - Text - Print

Description: This file displays the admin page footer. This file is part of the evoCore framework - {@link http://evocore.net/} See also {@link http://sourceforge.net/projects/evocms/}.

   1  <?php
   2  /**
   3   * This file displays the admin page footer.
   4   *
   5   * This file is part of the evoCore framework - {@link http://evocore.net/}
   6   * See also {@link http://sourceforge.net/projects/evocms/}.
   7   *
   8   * @copyright (c)2003-2014 by Francois Planque - {@link http://fplanque.com/}
   9   *
  10   * {@internal License choice
  11   * - If you have received this file as part of a package, please find the license.txt file in
  12   *   the same folder or the closest folder above for complete license terms.
  13   * - If you have received this file individually (e-g: from http://evocms.cvs.sourceforge.net/)
  14   *   then you must choose one of the following licenses before using the file:
  15   *   - GNU General Public License 2 (GPL) - http://www.opensource.org/licenses/gpl-license.php
  16   *   - Mozilla Public License 1.1 (MPL) - http://www.opensource.org/licenses/mozilla1.1.php
  17   * }}
  18   *
  19   * {@internal Open Source relicensing agreement:
  20   * }}
  21   *
  22   * @package admin
  23   *
  24   * @version $Id: _html_footer.inc.php 6136 2014-03-08 07:59:48Z manuel $
  25   */
  26  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  27  
  28  if( empty($mode) )
  29  {
  30      /**
  31       * Icon Legend
  32       */
  33      if( $IconLegend = & get_IconLegend() )
  34      { // Display icon legend, if activated by user
  35          $IconLegend->display_legend();
  36      }
  37  
  38      echo $this->get_footer_contents();
  39  }
  40  
  41  // CALL PLUGINS NOW:
  42  global $Plugins;
  43  $Plugins->trigger_event( 'AdminAfterPageFooter', array() );
  44  
  45  if( empty($mode) )
  46  { // Close open divs, etc...
  47      echo $this->get_body_bottom();
  48  }
  49  
  50  if( $this->get_path(0) == 'files'
  51      || $this->get_path_range(0,1) == array( 'blogs', 'perm' )
  52      || $this->get_path_range(0,1) == array( 'blogs', 'permgroup' ) )
  53  { // init checkall JS functions
  54      ?>
  55      <script type="text/javascript">
  56          initcheckall();
  57          <?php
  58          if( $this->get_path(0) == 'files' )
  59          {
  60              global $checkall;
  61              ?> setcheckallspan(0<?php if( isset($checkall) ) echo ', '.(int)$checkall; ?>); <?php
  62          }
  63          ?>
  64      </script>
  65      <?php
  66  }
  67  
  68  // fp TODO: check if this makes sense here
  69  include_footerlines(); // enables translation strings for js
  70  
  71  ?>
  72  
  73  <!-- End of skin_wrapper -->
  74  </div>
  75  
  76  </body>
  77  </html>

title

Description

title

Description

title

Description

title

title

Body