You are here

function imce_user1_profile in IMCE 7

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

User1's profile.

2 calls to imce_user1_profile()
imce_admin_theme in inc/imce.admin.inc
Admin form themed.
imce_install_profiles in inc/imce.core.profiles.inc
Create core profiles.

File

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

Code

function imce_user1_profile() {
  $profiles = variable_get('imce_profiles', array());
  if (isset($profiles[1])) {
    return $profiles[1];
  }
  return imce_construct_profile('User-1', 1, 0, 0, 0, '*', '1200x1200', 0, array(
    array(
      '.',
      1,
      1,
      1,
      1,
      1,
      1,
    ),
  ), array(
    array(
      'Small',
      '90x90',
      'small_',
      '',
    ),
    array(
      'Medium',
      '120x120',
      'medium_',
      '',
    ),
    array(
      'Large',
      '180x180',
      'large_',
      '',
    ),
  ));
}