Beispiel #1
0
    <a href="<?php 
echo URLHelper::getLink('seminar_main.php?auswahl=' . $show_entry['id']);
?>
"><?php 
echo _("Zur Veranstaltung");
?>
</a><br>
    <? endif ?>
    <br>

    <div style="text-align: center" data-dialog-button>
        <?php 
echo Button::createAccept(_('Speichern'), array('style' => 'margin-right: 20px'));
?>

        <? if (!$show_entry['visible']) : ?>
            <?php 
echo LinkButton::create(_('Einblenden'), $controller->url_for('calendar/schedule/bind/' . $show_entry['id'] . '/' . $show_entry['cycle_id'] . '/' . '?show_hidden=1'), array('style' => 'margin-right: 20px'));
?>
        <? else : ?>
            <?php 
echo LinkButton::create($show_entry['type'] == 'virtual' ? _('Löschen') : _('Ausblenden'), $controller->url_for('calendar/schedule/unbind/' . $show_entry['id'] . '/' . $show_entry['cycle_id']), array('style' => 'margin-right: 20px'));
?>
        <? endif ?>

        <?php 
echo LinkButton::createCancel(_('Abbrechen'), $controller->url_for('calendar/schedule'), array('onclick' => "jQuery('#edit_sem_entry').fadeOut('fast'); STUDIP.Calendar.click_in_progress = false; return false"));
?>
    </div>
</form>
Beispiel #2
0
            <? endforeach; ?>
                <td>
                    <input type="checkbox" name="all[rows][]" value="<?php 
echo $member['seminar_id'];
?>
"
                           <? if (isset($checked[$member['seminar_id']]) && count(array_filter($checked[$member['seminar_id']])) == count($modules) + 1) echo 'checked'; ?>>
                </td>
            </tr>
        <? endforeach; ?>
    <? endif; ?>
        </tbody>
<? endforeach; ?>
        <tfoot>
            <tr>
                <td colspan="<?php 
echo count($modules) + 3;
?>
">
                    <?php 
echo Button::create(_('Übernehmen'), 'store', array('title' => _('Änderungen übernehmen')));
?>
                    <?php 
echo LinkButton::create(_('Zurücksetzen'), $controller->url_for('settings/notification'));
?>
                </td>
            </tr>
        </tfoot>
    </table>
</form>
Beispiel #3
0
echo _("Beschreibung");
?>
:</b>
    <textarea name="entry_content" style="width: 98%" rows="7"><?php 
echo htmlReady($show_entry['content']);
?>
</textarea>
    <br>
    <div style="text-align: center" data-dialog-button>
        <?php 
echo Button::createAccept(_('Speichern'), array('style' => 'margin-right: 20px'));
?>

        <? if ($show_entry['id']) : ?>
            <?php 
echo LinkButton::create(_('Löschen'), $controller->url_for('calendar/schedule/delete/' . $show_entry['id']), array('style' => 'margin-right: 20px'));
?>
        <? endif ?>

        <? if ($show_entry) : ?>
            <?php 
echo LinkButton::createCancel(_('Abbrechen'), $controller->url_for('calendar/schedule'), array('onclick' => 'STUDIP.Schedule.cancelNewEntry(); STUDIP.Calendar.click_in_progress = false;return false;'));
?>
        <? else: ?>
            <?php 
echo LinkButton::createCancel(_('Abbrechen'), 'javascript:STUDIP.Schedule.cancelNewEntry()');
?>
        <? endif ?>
    </div>
</form>