Changeset 9313


Ignore:
Timestamp:
Feb 20, 2011, 12:39:06 AM (10 years ago)
Author:
patdenice
Message:

Last bug corrected!

Location:
extensions/AdditionalPages/admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/AdditionalPages/admin/add_page.inc.php

    r9312 r9313  
    5959  }
    6060
     61  $level_access = !empty($_POST['level']) ? $_POST['level'] : 'NULL';
     62
    6163  if (empty($page['errors']))
    6264  {
     
    7072  users = '.$user_access.',
    7173  groups = '.$group_access.',
    72   level = '.$_POST['level'].',
     74  level = '.$level_access.',
    7375  permalink = '.$permalink.',
    7476  standalone = '.$standalone.'
     
    9193  '.$user_access.',
    9294  '.$group_access.',
    93   '.$_POST['level'].',
     95  '.$level_access.',
    9496  '.$permalink.',
    9597  '.$standalone.'
  • extensions/AdditionalPages/admin/manage.inc.php

    r9263 r9313  
    3131$languages = get_languages();
    3232
    33 $query = 'SELECT id, pos, lang, title
     33$query = 'SELECT id, pos, lang, title, standalone
    3434FROM '.ADD_PAGES_TABLE.'
    3535ORDER BY ABS(pos) ASC, id ASC
  • extensions/AdditionalPages/admin/template/manage.tpl

    r9261 r9313  
    5050
    5151        <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="button drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}">
    52         <strong><a href="{$page.U_PAGE}">{$page.title}</a></strong> {if $page.id == $HOMEPAGE} - {'Home'|@translate}{/if} {if !empty($page.language)}<i>({$page.language})</i>{/if}
     52        <strong><a href="{$page.U_PAGE}">{$page.title}</a></strong>
     53        {if $page.id == $HOMEPAGE} - {'Home'|@translate}{/if}
     54        {if $page.standalone == 'true'} - {'ap_standalone_page'|@translate}{/if}
     55        {if !empty($page.language)}<i>({$page.language})</i>{/if}
    5356      </p>
    5457
Note: See TracChangeset for help on using the changeset viewer.