Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /sitemap/include/fullscreen.inc.php
sitemap - Richy's Site Map

Includes::fullscreen

Display auth fullscreen checkbox/link.

 

public module fullscreen

Display auth fullscreen checkbox/link.
The module fullscreen provides the fullscreen functionality, that when on_means that whenever a link is clicked in the site map, the page will be_loaded in the window itself instead of in the main frame._Mind though that this module is used only if in auth mode and only included_by ../sitemap.php!

Version$Revision: 1.1.1.1 $
Copyright(c)2002 R.J. Vrijhof

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Magic$Id: fullscreen.inc.php,v 1.1.1.1 2002/01/19 16:46:58 richy Exp $

 

Public Method Summary

string

fullscreen()

The main function of module "fullscreen".
string

opposite(string $in)

Return opposite of yes/no string.

Public Method Details

fullscreen

public string fullscreen( )

  The main function of module "fullscreen".
Does what module "fullscreen" is for: display a checkbox and a link to_implement the auth fullscreen function, that when off, displays the page of_a clicked link in the site map in the main frame, but when on, displays the_page instead of the site map itself (so it is opened in the "_top" frame)._

Returns string

HTML code for the fullscreen checkbox/link

Required global variables
$HTTP_SERVER_VARS
$base_dir - base directory of package Richy's Site Map
$base_auth_url - base URL of package Richy's Site Map when in auth mode
$fullscreen - "yes" or "no" to indicate fullscreen or not in auth mode
$language - language as an abbreviation
$sitemap_pos - positions of the site map which are expanded, separated by a
"_", so the state of the site map so to speak
Author(s) Richard Vrijhof <R.J.Vrijhof@bigfoot.com>

opposite

public string opposite( string $in )

  Return opposite of yes/no string.

Parameter
string $in
input string, either "yes" or "no"
Returns string

opposite of input string

Author(s) Richard Vrijhof <R.J.Vrijhof@bigfoot.com>


Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta