b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (0.9.x) [ class tree: evoskins ] [ index: evoskins ] [ all elements ]

Source for file _popup.php

Documentation is available at _popup.php

  1. <?php
  2.     /**
  3.      * This is the template that displays the contents of the feedback popup
  4.      *
  5.      * This file is not meant to be called directly.
  6.      * It is meant to be called by an include in the _main.php template.
  7.      * To display the stats, you should call a stub AND pass the right parameters
  8.      * For example: /blogs/index.php?disp=stats
  9.      *
  10.      * b2evolution - {@link http://b2evolution.net/}
  11.      * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
  12.      * @copyright (c)2003-2005 by Francois PLANQUE - {@link http://fplanque.net/}
  13.      *
  14.      * @package evoskins
  15.      */
  16.     if!defined('DB_USER') ) die'Please, do not access this page directly.' );
  17.  
  18.     while$Item $MainList->get_item() ) {
  19. ?>
  20. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  21. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php locale_lang(?>" lang="<?php locale_lang(?>">
  22. <head>
  23.     <meta http-equiv="Content-Type" content="text/html; charset=<?php locale_charset(?>" />
  24.     <title><?php    $Blog->disp('name''htmlhead'?> - feedback on '<?php $Item->title''''false'htmlhead' ?>'</title>
  25.     <base href="<?php echo $skins_url'/'// Base URL for this DIR. You need this to fix relative links! ?>" />
  26.     <style type="text/css" media="screen">
  27.         @import url( 'originalb2/layout2b.css' );
  28.     </style>
  29.     <link rel="stylesheet" type="text/css" media="print" href="originalb2/print.css" />
  30. </head>
  31. <body>
  32.  
  33. <div id="contentcomments">
  34.  
  35. <?php
  36.     /**
  37.      * this includes the feedback and a form to add a new comment depending on request
  38.      */
  39.     $disp_comments 1;                    // Display the comments if requested
  40.     $disp_comment_form 1;            // Display the comments form if comments requested
  41.     $disp_trackbacks 1;                // Display the trackbacks if requested
  42.     $disp_trackback_url 1;        // Display the trackbal URL if trackbacks requested
  43.     $disp_pingbacks 1;                // Display the pingbacks if requested
  44.     requiredirname(__FILE__).'/_feedback.php' );
  45. ?>
  46. </div>
  47.  
  48. <div><strong><span style="color: #0099CC">::</span> <a href="javascript:window.close()">close this window</a></strong></div>
  49.  
  50. </body>
  51. </html>
  52. <?php ?>

Documentation generated on Tue, 20 May 2008 01:55:36 +0200 by phpDocumentor 1.4.2