Ignore:
Timestamp:
Feb 18, 2011, 11:53:06 AM (14 years ago)
Author:
patdenice
Message:

New functionalities

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AdditionalPages/index_menu.php

    r9262 r9272  
    6565          (!$conf['additional_pages']['user_perm'] or empty($row['users']) or in_array($user['status'], $authorized_users))))
    6666        {
     67          $url = make_index_url();
     68          if ($row['id'] != $conf['additional_pages']['homepage'])
     69          {
     70            $url .= '/page/'.(isset($row['permalink']) ? $row['permalink'] : $row['id']);
     71          }
    6772          array_push($data, array(
    68             'URL' => make_index_url().'/page/'.(isset($row['permalink']) ? $row['permalink'] : $row['id']),
     73            'URL' => $url,
    6974            'LABEL' => $row['title']));
    7075        }
Note: See TracChangeset for help on using the changeset viewer.