E, se por algum motivo quiseres montar a URL de alguma imagem de upload do thema, faça assim:
$logo = $theme->setting_file_url('logo', 'logo');
Ou
$imageurl = $theme->setting_file_url('backgroundimage', 'backgroundimage');
E neste caso no settings.php há uma chamada assim:
$name = 'theme_more/backgroundimage';
$title = get_string('backgroundimage', 'theme_more');
$description = get_string('backgroundimage_desc', 'theme_more');
$setting = new admin_setting_configstoredfile($name, $title, $description, 'backgroundimage');
$setting->set_updatedcallback('theme_reset_all_caches');
$settings->add($setting);
Simples?
Muito prazer, sou Eduardo Kraus
Teacher and loves Moodle
Meu Blog: moodle.eduardokraus.com
Meu Youtube: www.youtube.com/user/ProfEduardoKraus
Meu Facebook: www.facebook.com/ProfEduardoKraus