diff --git a/module/api/view/index.html.php b/module/api/view/index.html.php index a63fce5607..c3f035238d 100644 --- a/module/api/view/index.html.php +++ b/module/api/view/index.html.php @@ -66,16 +66,10 @@
api->noLib : $lang->api->noApi;?>
' . $lang->api->createApi, '', 'class="btn btn-info btn-wide"'); + echo html::a(helper::createLink('api', 'create', "libID={$libID}"), ' ' . $lang->api->createApi, '', 'class="btn btn-info btn-wide"'); } - else - { - $html = html::a(helper::createLink('api', 'createLib'), ' ' . $lang->api->createLib, '', 'class="btn btn-info btn-wide iframe"'); - } - echo $html; ?>