function uc_repeater_settings_overview in Ubercart 5
1 string reference to 'uc_repeater_settings_overview'
- uc_repeater_menu in uc_repeater/
uc_repeater.module - @file Allows a multisite setup to share changes to the catalog.
File
- uc_repeater/
uc_repeater.module, line 70 - Allows a multisite setup to share changes to the catalog.
Code
function uc_repeater_settings_overview() {
$slaves = variable_get('uc_repeater_slaves', array());
$masters = variable_get('uc_repeater_masters', array());
$sections = array(
array(
'edit' => 'admin/store/settings/repeater/edit',
'title' => t('Slave sites'),
'items' => count($slaves) ? $slaves : array(
t('None'),
),
),
array(
'edit' => 'admin/store/settings/repeater/edit',
'title' => t('Master sites'),
'items' => count($masters) ? $masters : array(
t('None'),
),
),
);
return theme('uc_settings_overview', $sections);
}