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.      * @subpackage originalb2
  16.      */
  17.     if!defined('DB_USER') ) die'Please, do not access this page directly.' );
  18.  
  19.     while$Item $MainList->get_item() ) 
  20.     {
  21. ?>
  22. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  23.     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  24. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php locale_lang(?>" lang="<?php locale_lang(?>">
  25. <head>
  26.     <meta http-equiv="Content-Type" content="text/html; charset=<?php locale_charset(?>" />
  27.     <title><?php    $Blog->disp('name''htmlhead'?> - feedback on '<?php $Item->title''''false'htmlhead' ?>'</title>
  28.     <base href="<?php skinbase()// Base URL for this skin. You need this to fix relative links! ?>" />
  29.     <style type="text/css" media="screen">
  30.         @import url( 'layout2b.css' );
  31.     </style>
  32.     <link rel="stylesheet" type="text/css" media="print" href="print.css" />
  33. </head>
  34. <body>
  35.  
  36. <div id="contentcomments">
  37.  
  38. <?php
  39.     /**
  40.      * this includes the feedback and a form to add a new comment depending on request
  41.      */
  42.     $disp_comments 1;                    // Display the comments if requested
  43.     $disp_comment_form 1;            // Display the comments form if comments requested
  44.     $disp_trackbacks 1;                // Display the trackbacks if requested
  45.     $disp_trackback_url 1;        // Display the trackbal URL if trackbacks requested
  46.     $disp_pingbacks 1;                // Display the pingbacks if requested
  47.     requiredirname(__FILE__).'/_feedback.php' );
  48. ?>
  49. </div>
  50.  
  51. <div><strong><span style="color: #0099CC">::</span> <a href="javascript:window.close()">close this window</a></strong></div>
  52.  
  53. </body>
  54. </html>
  55. <?php ?>

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