Ignore:
Timestamp:
Feb 19, 2014, 11:32:26 PM (10 years ago)
Author:
ddtddt
Message:

[extensions] - see_photos_by_user - new function menu / show

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/see_photos_by_user/maintain.inc.php

    r27391 r27428  
    55function plugin_activate()
    66{
    7  if (!isset($conf['see_photos_by_user_nbphotos']))
     7if (!isset($conf['see_photos_by_user_nbphotos']))
    88 {
    99 conf_update_param('see_photos_by_user_nbphotos', '0');
    1010 }
    11   if (!isset($conf['see_photos_by_user_limit']))
     11if (!isset($conf['see_photos_by_user_limit']))
    1212 {
    1313 conf_update_param('see_photos_by_user_limit', '1000');
    1414 }
    15    if (!isset($conf['see_photos_by_user_order']))
     15if (!isset($conf['see_photos_by_user_order']))
    1616 {
    1717 conf_update_param('see_photos_by_user_order', 'username ASC');
     18 }
     19if (!isset($conf['see_photos_by_user_order']))
     20 {
     21 conf_update_param('see_photos_by_user_show', '1');
    1822 }
    1923}
Note: See TracChangeset for help on using the changeset viewer.