You are here

function imce_sample_profile in IMCE 6.2

Same name and namespace in other branches
  1. 6 inc/core_profiles.inc \imce_sample_profile()
  2. 7 inc/imce.core.profiles.inc \imce_sample_profile()

Default profile.

2 calls to imce_sample_profile()
imce_install_profiles in inc/imce.core.profiles.inc
Create core profiles and import settings from 5.x
imce_profile_form in inc/imce.admin.inc
Profile form.

File

inc/imce.core.profiles.inc, line 122
Creates the default configuration profiles.

Code

function imce_sample_profile() {
  return imce_construct_profile('Sample profile', 1, 1, 2, 0, 'gif png jpg jpeg', '800x600', 1, array(
    array(
      'u%uid',
      0,
      1,
      1,
      1,
      0,
      0,
    ),
  ), array(
    array(
      'Thumb',
      '90x90',
      'thumb_',
      '',
    ),
  ));
}