Changeset 3825


Ignore:
Timestamp:
09/05/09 13:44:55 (10 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.