[ 'name' => tra('Batch loading directory'), 'type' => 'text', 'default' => '', 'hint' => tra('Needs to be a web-readable directory.') ], 'gal_image_mouseover' => [ 'name' => tra('Display image information in a mouseover box'), 'type' => 'list', 'options' => [ 'n' => tra('No'), 'y' => tra('Yes'), 'only' => tra('Yes, and don\'t display that information under the image'), ], 'default' => 'n', ], 'gal_list_name' => [ 'name' => tra('Name'), 'type' => 'flag', 'default' => 'y', ], 'gal_list_parent' => [ 'name' => tra('Parent'), 'type' => 'flag', 'default' => 'n', ], 'gal_list_description' => [ 'name' => tra('Description'), 'type' => 'flag', 'default' => 'y', ], 'gal_list_created' => [ 'name' => tra('Created'), 'type' => 'flag', 'default' => 'n', ], 'gal_list_lastmodif' => [ 'name' => tra('Last modified'), 'type' => 'flag', 'default' => 'y', ], 'gal_list_user' => [ 'name' => tra('User'), 'type' => 'flag', 'default' => 'n', ], 'gal_list_imgs' => [ 'name' => tra('Images'), 'type' => 'flag', 'default' => 'y', ], 'gal_list_visits' => [ 'name' => tra('Visits'), 'type' => 'flag', 'default' => 'y', ], 'gal_match_regex' => [ 'name' => tra('Uploaded image names must match regex'), 'type' => 'text', 'default' => '', ], 'gal_nmatch_regex' => [ 'name' => tra('Uploaded image names cannot match regex'), 'type' => 'text', 'default' => '', ], 'gal_use_db' => [ 'name' => tra('Storage'), 'type' => 'radio', 'options' => [ 'y' => tra('Store in database'), 'n' => tra('Store in directory'), ], 'default' => 'y', ], 'gal_use_dir' => [ 'name' => tra('Directory path'), 'type' => 'text', 'default' => '', 'hint' => tra('If you change this directory, move any images to the new directory either manually or using the \'Mover\' below.') ], 'gal_use_lib' => [ 'name' => tra('Image processing library'), 'type' => 'list', 'options' => [ 'gd' => tra('GD'), 'imagick' => tra('Imagick') . ' 0', ], 'default' => 'imagick', 'hint' => $gdlib . ' ' . $imagicklib ], ]; }