Skip to content
Snippets Groups Projects
Select Git revision
  • 8fabce22b6342cd77cd0437761883c520a8f85b3
  • main default protected
  • step-3263
  • feature/plugins-cli
  • feature/vite
  • step-2484-peerreview
  • biest/issue-5051
  • tests/simplify-jsonapi-tests
  • fix/typo-in-1a70031
  • feature/broadcasting
  • database-seeders-and-factories
  • feature/peer-review-2
  • feature-feedback-jsonapi
  • feature/peerreview
  • feature/balloon-plus
  • feature/stock-images-unsplash
  • tic-2588
  • 5.0
  • 5.2
  • biest/unlock-blocks
  • biest-1514
21 results

soap_methods.php

Blame
  • Forked from Stud.IP / Stud.IP
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    soap_methods.php 1.46 KiB
    <form class="default" action="<?= $controller->url_for('admin/ilias_interface/soap_methods/'.$ilias_index) ?>" method="post">
        <? if ($result) : ?>
        <article class="studip">
        	<section><?=_('Ergebnis')?></section>
            <? if (is_array($result)) : ?> 
            <pre>
                <? print_r($result)?>
            </pre>
            <? else : ?>
                <?=htmlReady($result)?>
            <? endif ?>
        </article>
        <? endif ?>
        <?= CSRFProtection::tokenTag() ?>
        <? if (!$ilias_soap_method) : ?>
        <label>
            <span class="required"><?= _('SOAP-Methode') ?></span>
            <select name="ilias_soap_method">
                <? foreach ($soap_methods as $method => $params) : ?>
                    <option value="<?=htmlReady($method)?>"><?=htmlReady($method)?></option>
                <? endforeach ?>
            </select>
        </label>
        <? else : ?>
            <input type="hidden" name="ilias_call" value="<?= $ilias_soap_method ?>">
            <? foreach ($soap_methods[$ilias_soap_method] as $param) : ?>
            <label>
                <span>  <?= $param ?></span>
                <input type="text" name="ilias_soap_param_<?=$param?>" size="50" value="<?=$params[$param]?>">
            </label>
            <? endforeach ?>
        <? endif ?>
        <footer>
            <? if (!$ilias_soap_method) : ?>
                <?= Studip\Button::createAccept(_('Weiter'), 'submit') ?>
            <? else : ?>
                <?= Studip\Button::createAccept(_('Ausführen'), 'submit') ?>
            <? endif ?>
        </footer>
    </form>