mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Coodle Terminverwaltung
This commit is contained in:
@@ -84,6 +84,32 @@ echo '
|
||||
}
|
||||
);
|
||||
</script>
|
||||
<style>
|
||||
#wrapper
|
||||
{
|
||||
width: 70%;
|
||||
padding: 0 10px 15px 10px;
|
||||
border: 1px solid #ccc;
|
||||
background: #eee;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#wrapper h4
|
||||
{
|
||||
font-size: 16px;
|
||||
margin-top: 0;
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
#weiter
|
||||
{
|
||||
width: 70%;
|
||||
text-align: right;
|
||||
margin-top: 20px;
|
||||
padding: 10px;
|
||||
/*border: 1px dotted red;*/
|
||||
}
|
||||
</style>
|
||||
<title>'.$p->t('coodle/coodle').'</title>
|
||||
</head>
|
||||
<body>';
|
||||
@@ -160,7 +186,16 @@ else
|
||||
}
|
||||
echo '
|
||||
<br>
|
||||
<form method="POST">
|
||||
<form method="POST">';
|
||||
echo '<div id="wrapper">
|
||||
<h4>';
|
||||
if($coodle->coodle_id=='')
|
||||
echo $p->t('coodle/neuerEintrag');
|
||||
else
|
||||
echo $p->t('coodle/bearbeiten');
|
||||
echo '</h4';
|
||||
/*
|
||||
echo '
|
||||
<fieldset style="width:100px;">
|
||||
<legend>';
|
||||
if($coodle->coodle_id=='')
|
||||
@@ -169,7 +204,9 @@ else
|
||||
echo $p->t('coodle/bearbeiten');
|
||||
|
||||
echo '
|
||||
</legend>
|
||||
</legend>';
|
||||
*/
|
||||
echo '
|
||||
<input type="hidden" name="coodle_id" value="'.$db->convert_html_chars($coodle->coodle_id).'" />
|
||||
<table>
|
||||
<tr>
|
||||
@@ -195,15 +232,18 @@ echo '
|
||||
<td></td>
|
||||
<td><input type="submit" name="save" value="'.$p->t('global/speichern').'"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</table>';
|
||||
|
||||
//echo '</fieldset>';
|
||||
echo '</div>';
|
||||
echo '
|
||||
</form>';
|
||||
|
||||
if($coodle->coodle_id)
|
||||
{
|
||||
echo '<br><br><a href="termin.php?coodle_id='.$db->convert_html_chars($coodle->coodle_id).'"> >> '.$p->t('coodle/weiterZurTerminauswahl').'</a>';
|
||||
echo '<div id="weiter"><a href="termin.php?coodle_id='.$db->convert_html_chars($coodle->coodle_id).'"> >> '.$p->t('coodle/weiterZurTerminauswahl').'</a></div>';
|
||||
}
|
||||
|
||||
echo '</body>
|
||||
</html>';
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -130,6 +130,11 @@ echo '<html>
|
||||
#input_ressource{
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.ressourceItem
|
||||
{
|
||||
font-size: x-small;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -274,13 +279,15 @@ echo '
|
||||
<script>
|
||||
function formatItem(row)
|
||||
{
|
||||
return " <i>" + row[2] + "<\/i> - "+ row[0] +" " + row[1];
|
||||
if(row[1]="Ort")
|
||||
return "O <i>" + row[0] + "<\/i> - "+ row[2] +" " + row[1];
|
||||
else
|
||||
return " <i>" + row[2] + "<\/i> - "+ row[0] +" " + row[1];
|
||||
}
|
||||
|
||||
function selectItem(li)
|
||||
{
|
||||
alert("Item:"+li);
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
@@ -303,10 +310,27 @@ echo '
|
||||
this.value="";
|
||||
});
|
||||
});
|
||||
|
||||
function addRessource(uid, typ, bezeichnung)
|
||||
|
||||
/*
|
||||
* Fuegt eine Ressource hinzu
|
||||
*/
|
||||
function addRessource(id, typ, bezeichnung)
|
||||
{
|
||||
$("#ressourcecontainer").append("<span> x "+bezeichnung+"</span><br>");
|
||||
var code = \'<span class="ressourceItem"> \
|
||||
<a href="#delete" onclick="removeRessource(this, \\\'\'+id+\'\\\',\\\'\'+typ+\'\\\'); return false;"> \
|
||||
<img src="../../../skin/images/delete_round.png" height="13px" title="'.$p->t('coodle/ressourceEntfernen').'"/> \
|
||||
</a> \
|
||||
\'+bezeichnung+\' \
|
||||
<br /></span>\';
|
||||
$("#ressourcecontainer").append(code);
|
||||
}
|
||||
|
||||
/*
|
||||
* Loescht eine Ressource
|
||||
*/
|
||||
function removeRessource(item, id, typ)
|
||||
{
|
||||
$(item).parent().remove();
|
||||
}
|
||||
</script>
|
||||
<p>
|
||||
@@ -321,4 +345,4 @@ echo '
|
||||
|
||||
echo '</body>
|
||||
</html>';
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -6,7 +6,7 @@ $this->phrasen['coodle/dauer']='Termindauer';
|
||||
$this->phrasen['coodle/dauerminuten']='Minuten';
|
||||
$this->phrasen['coodle/endedatum']='Umfrageende';
|
||||
$this->phrasen['coodle/neuerEintrag']='Neue Umfrage';
|
||||
$this->phrasen['coodle/bearbeiten']='Bearbeiten';
|
||||
$this->phrasen['coodle/bearbeiten']='Umfrage editieren';
|
||||
$this->phrasen['coodle/uebersicht']='Coodle - Übersicht';
|
||||
$this->phrasen['coodle/umfrageKonnteNichtGeloeschtWerden']='Umfrage konnte nicht gelöscht werden';
|
||||
$this->phrasen['coodle/umfrageNichtGeladen']='Umfrage konnte nicht geladen werden';
|
||||
@@ -17,10 +17,11 @@ $this->phrasen['coodle/letzterStatus']='Letzter Status';
|
||||
$this->phrasen['coodle/ersteller']='Ersteller';
|
||||
$this->phrasen['coodle/aktion']='Aktion';
|
||||
$this->phrasen['coodle/neueUmfrage']='Neue Umfrage anlegen';
|
||||
$this->phrasen['coodle/termine']='Termin anlegen';
|
||||
$this->phrasen['coodle/termine']='Termine verwalten';
|
||||
$this->phrasen['coodle/dragEvent']='Termin';
|
||||
$this->phrasen['coodle/terminziehenBeschreibung']='Ziehen Sie den Termin an die gewünschte Position um Terminvorschläge zu setzen';
|
||||
$this->phrasen['coodle/ressourcenBeschreibung']='Hier können Sie die FreeBusy Informationen von Räumen und Personen hinzufügen';
|
||||
$this->phrasen['coodle/ressourcenBeschreibung']='Hier können Sie Räumen und Personen zur Umfrage hinzufügen. <br><br>Tippen sie dazu den Namen in das Textfeld und wählen Sie den entsprechenden Eintrag aus.';
|
||||
$this->phrasen['coodle/ressourcen']='Ressourcen';
|
||||
$this->phrasen['coodle/weiterZurTerminauswahl']='Weiter zur Terminauswahl';
|
||||
$this->phrasen['coodle/ressourceEntfernen']='Ressource entfernen';
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user