Show information about the OpenBadges backpack - refs bT#9082c

1.10.x
Angel Fernando Quiroz Campos 11 years ago
parent 2e96584422
commit 34d4ff2370
  1. 8
      main/admin/skill_badge_issuer.php
  2. 10
      main/template/default/skill/badge_issuer.tpl

@ -13,6 +13,12 @@ if (!api_is_platform_admin()) {
api_not_allowed(true);
}
$backpack = 'https://backpack.openbadges.org/';
if (array_key_exists('openbadges_backpack', $_configuration)) {
$backpack = $_configuration['openbadges_backpack'];
}
$this_section = SECTION_PLATFORM_ADMIN;
$interbreadcrumb = array(
@ -28,6 +34,8 @@ $interbreadcrumb = array(
$tpl = new Template(get_lang('IssuerInfo'));
$tpl->assign('backpack', $backpack);
$contentTemplate = $tpl->get_template('skill/badge_issuer.tpl');
$tpl->display($contentTemplate);

@ -32,6 +32,16 @@
</div>
</div>
</fieldset>
<fieldset>
<legend>{{ 'BackpackDetails' | get_lang }}</legend>
<div class="control-group">
<label class="control-label">{{ 'URL' | get_lang }}</label>
<div class="controls">
<span class="uneditable-input input-xxlarge">{{ backpack }}</span>
<p class="help-block">{{ 'TheBadgesWillBeSentToThatBackpack' | get_lang }}</p>
</div>
</div>
</fieldset>
</form>
</div>
</div>

Loading…
Cancel
Save