- task: complete i18n handling for D6 (#228864)
[project/gallery.git] / gallery_settings.inc
index cbfae6b..a9e89a1 100644 (file)
@@ -48,7 +48,7 @@ function _gallery_settings_general() {
     '#type' => 'select',
     '#title' => t('Gallery embedded theme'),
     '#default_value' => variable_get('gallery_embed_theme', 'default'),
-    '#options' => array('default' => t('Gallery default')) + gallery_get_themes(),
+    '#options' => array('default' => t('Gallery default')) + gallery_list_themes(),
     '#description' => t('Gallery2 theme to be used for embedded gallery.'),
   );
   $form['theme']['gallery_root_album'] = _gallery_settings_album_select(
@@ -305,7 +305,7 @@ function _gallery_settings_filter() {
     '#description' => $desc,
   );
   
-  $image_frames = gallery_get_image_frames();
+  $image_frames = gallery_list_image_frames();
   _gallery_block_options($type_map, $param_map);
   $type_map['specificItem'] = t('Specific item');
   
@@ -561,7 +561,7 @@ function _gallery_settings_search() {
     '#description' => $search_desc,
   );
   
-  $image_frames = gallery_get_image_frames();
+  $image_frames = gallery_list_image_frames();
   _gallery_block_options($type_map, $param_map);
   
   if ($plugin_status['search'] == GALLERY_PLUGIN_ENABLED) {