Changeset 3825 for extensions


Ignore:
Timestamp:
Sep 5, 2009, 1:44:55 PM (15 years ago)
Author:
patdenice
Message:

Correct some notices.
Add polish language.

Location:
extensions/AdditionalPages
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AdditionalPages/main.inc.php

    r3609 r3825  
    22/*
    33Plugin Name: Additional Pages
    4 Version: 2.0.b
     4Version: auto
    55Description: Add additional pages in menubar.
    66Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=153
     
    2929    global $tokens, $page;
    3030    if ($tokens[0] == 'additional_page')
    31         $page['section'] = 'additional_page';
     31      $page['section'] = 'additional_page';
    3232}
    3333
     
    3535{
    3636    global $page;
    37     if ($page['section'] == 'additional_page')
    38         include(AP_PATH . 'additional_page.php');
     37    if (isset($page['section']) and $page['section'] == 'additional_page')
     38      include(AP_PATH . 'additional_page.php');
    3939}
    4040
Note: See TracChangeset for help on using the changeset viewer.