Infocenter Notiz Button für Autotext

"Anmerkung zur Bewerbung"-Text wird automatisch eingefügt
- "Select..."-Option bei Preview nur wenn mehr als 1 Empfänger
This commit is contained in:
Manfred Kindl
2018-03-06 16:54:49 +01:00
parent ffce4cb101
commit 56d2686e72
2 changed files with 16 additions and 8 deletions
@@ -3,14 +3,20 @@
<div class="text-center">
<label>Notiz hinzuf&uuml;gen</label>
</div>
<div class="form-group">
<label>Titel: </label><input type="text" class="form-control"
name="notiztitel"/>
<div>
<div class="form-group">
<label>Titel: </label>
<div class="input-group">
<input id="inputNotizTitel" type="text" class="form-control" name="notiztitel"/>
<div class="input-group-addon" onclick="document.getElementById('inputNotizTitel').value='Anmerkung zur Bewerbung'">
<span class="glyphicon glyphicon-text-background"></span>
</div>
</div>
</div>
</div>
<div class="form-group">
<label>Text: </label><textarea name="notiz" class="form-control"
rows="10"
cols="32"></textarea>
<label>Text: </label>
<textarea name="notiz" class="form-control" rows="10" cols="32"></textarea>
</div>
<div class="text-right">
<button type="submit" class="btn btn-default">Speichern</button>
+4 -2
View File
@@ -136,8 +136,10 @@ $href = str_replace("/system/Messages/write", "/system/Messages/send", $_SERVER[
<div class="form-grop form-inline">
<label>Recipient:</label>
<select id="recipients">
<option value="-1">Select...</option>
<?php
<?php
if (count($receivers) > 1)
echo '<option value="-1">Select...</option>';
$idtype = $personOnly === true ? 'person_id' : 'prestudent_id';
foreach ($receivers as $receiver)
{