Skip to content
Snippets Groups Projects
Select Git revision
  • 7bdeb341efea0ca705cdff59a83169df2e9f8741
  • main default protected
  • studip-rector
  • ci-opt
  • course-members-export-as-word
  • data-vue-app
  • pipeline-improvements
  • webpack-optimizations
  • rector
  • icon-renewal
  • http-client-and-factories
  • jsonapi-atomic-operations
  • vueify-messages
  • tic-2341
  • 135-translatable-study-areas
  • extensible-sorm-action-parameters
  • sorm-configuration-trait
  • jsonapi-mvv-routes
  • docblocks-for-magic-methods
19 results

studip_controller.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>