Ignore:
Timestamp:
Dec 20, 2013, 9:14:40 PM (11 years ago)
Author:
mistic100
Message:

add configuration page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AdminTools/include/events.inc.php

    r25979 r26061  
    3232    }
    3333  }
    34   else if (script_basename() == 'picture' and $picture['current']['added_by'] == $user['id'])
     34  else if ($conf['AdminTools']['public_quick_edit'] and
     35      script_basename() == 'picture' and $picture['current']['added_by'] == $user['id']
     36    )
    3537  { // only "edit" button for photo owner
    3638  }
     
    4042  }
    4143
     44  $tpl_vars['POSITION'] = $conf['AdminTools']['closed_position'];
     45  $tpl_vars['DEFAULT_OPEN'] = $conf['AdminTools']['default_open'];
    4246  $tpl_vars['U_SELF'] = $MultiView->get_clean_url(true);
    4347
Note: See TracChangeset for help on using the changeset viewer.