mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 07:52:16 +00:00
Coodle
- Neue Umfragen nur durch Mitarbeiter anlegbar - Lokalisierungsfehler behoben
This commit is contained in:
@@ -33,6 +33,9 @@ $datum_obj = new datum();
|
||||
$db = new basis_db();
|
||||
$message='';
|
||||
|
||||
if(!check_lektor($user))
|
||||
die($p->t('global/keineBerechtigung'));
|
||||
|
||||
echo '
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
"http://www.w3.org/TR/html4/strict.dtd">
|
||||
|
||||
@@ -39,6 +39,9 @@ $sprache = getSprache();
|
||||
$p = new phrasen($sprache);
|
||||
$datum_obj = new datum();
|
||||
|
||||
if(!check_lektor($uid))
|
||||
die($p->t('global/keineBerechtigung'));
|
||||
|
||||
if(!isset($_REQUEST['coodle_id']))
|
||||
die($p->t('global/fehlerBeiDerParameteruebergabe'));
|
||||
|
||||
|
||||
@@ -35,8 +35,7 @@ $p = new phrasen($lang);
|
||||
$uid = get_uid();
|
||||
$message = '';
|
||||
|
||||
echo '
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
"http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
@@ -124,8 +123,17 @@ if($method=='delete')
|
||||
}
|
||||
|
||||
echo'<h1>'.$p->t('coodle/uebersicht').'</h1>
|
||||
<br>
|
||||
<div style="display:block; text-align:left; float:left;"><input type="button" onclick="window.location.href=\'stammdaten.php\'" value="'.$p->t('coodle/neueUmfrage').'"></div><br>
|
||||
<br>';
|
||||
|
||||
if(check_lektor($uid))
|
||||
{
|
||||
echo '
|
||||
<div style="display:block; text-align:left; float:left;">
|
||||
<input type="button" onclick="window.location.href=\'stammdaten.php\'" value="'.$p->t('coodle/neueUmfrage').'">
|
||||
</div><br>';
|
||||
}
|
||||
|
||||
echo '
|
||||
<div style="display:block; text-align:right; margin-right:16px; ">'.$message.'</div>
|
||||
<br>
|
||||
<div class="wrapper">
|
||||
@@ -133,12 +141,10 @@ echo'<h1>'.$p->t('coodle/uebersicht').'</h1>
|
||||
<table id="myTableFiles" class="tablesorter">
|
||||
<thead>
|
||||
<tr>
|
||||
<!--<th width="5%">'.$p->t('coodle/coodleId').'</th>-->
|
||||
<th width="20%">'.$p->t('coodle/titel').'</th>
|
||||
<!--<th width="40%">'.$p->t('coodle/beschreibung').'</th>-->
|
||||
<th>'.$p->t('coodle/titel').'</th>
|
||||
<th>'.$p->t('coodle/letzterStatus').'</th>
|
||||
<th>'.$p->t('coodle/ersteller').'</th>
|
||||
<th>Endedatum</th>
|
||||
<th>'.$p->t('coodle/endedatum').'</th>
|
||||
<th>'.$p->t('coodle/aktion').'</th>
|
||||
</tr>
|
||||
</thead><tbody>';
|
||||
@@ -154,9 +160,7 @@ foreach($coodle->result as $c)
|
||||
$benutzer->load($c->ersteller_uid);
|
||||
$ersteller = $benutzer->nachname.' '.$benutzer->vorname;
|
||||
$row = '<tr>
|
||||
<!-- <td>'.$coodle->convert_html_chars($c->coodle_id).'</td>-->
|
||||
<td>'.$coodle->convert_html_chars($c->titel).'</td>
|
||||
<!--<td>'.$c->beschreibung.'</td>-->
|
||||
<td>'.$coodle->convert_html_chars($coodle->status_arr[$c->coodle_status_kurzbz]).'</td>
|
||||
<td>'.$coodle->convert_html_chars($ersteller).'</td>
|
||||
<td>'.$coodle->convert_html_chars($datum->formatDatum($c->endedatum, 'd.m.Y')).'</td>
|
||||
@@ -201,12 +205,10 @@ if($beendeteUmfragen!='')
|
||||
<table id="myTableFiles2" class="tablesorter">
|
||||
<thead>
|
||||
<tr>
|
||||
<!--<th width="5%">'.$p->t('coodle/coodleId').'</th>-->
|
||||
<th width="20%">'.$p->t('coodle/titel').'</th>
|
||||
<!--<th width="40%">'.$p->t('coodle/beschreibung').'</th>-->
|
||||
<th>'.$p->t('coodle/titel').'</th>
|
||||
<th>'.$p->t('coodle/letzterStatus').'</th>
|
||||
<th>'.$p->t('coodle/ersteller').'</th>
|
||||
<th>Endedatum</th>
|
||||
<th>'.$p->t('coodle/endedatum').'</th>
|
||||
<th>'.$p->t('coodle/aktion').'</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
+1
-19
@@ -65,7 +65,7 @@ if(!isset($_GET['zugangscode']))
|
||||
else
|
||||
{
|
||||
if(!$coodle->checkBerechtigung($coodle_id, '', $_GET['zugangscode']))
|
||||
die($p->t('coodle/keineBerechtiung'));
|
||||
die($p->t('coodle/keineBerechtigung'));
|
||||
}
|
||||
|
||||
// checkboxen speichern
|
||||
@@ -223,21 +223,7 @@ if(isset($_GET['resend']))
|
||||
<link rel="stylesheet" href="../../skin/style.css.php" type="text/css">
|
||||
<title><?php echo $p->t('coodle/terminauswahl');?></title>
|
||||
<style type="text/css">
|
||||
/*
|
||||
body
|
||||
{
|
||||
background: #f9f9f9;
|
||||
color: #000;
|
||||
font: 14px Arial;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
}
|
||||
h1,h2,h3,h4,h5,h6{ color:#008462;}
|
||||
|
||||
h5 {margin-top:0px; }
|
||||
.container {width: 100%; }
|
||||
*/
|
||||
#header
|
||||
{
|
||||
background: #DCDDDF;
|
||||
@@ -282,10 +268,6 @@ if(isset($_GET['resend']))
|
||||
{
|
||||
width: 70%;
|
||||
padding: 0px 10px 15px 10px;
|
||||
/*
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
*/
|
||||
border: 1px solid #ccc;
|
||||
background: #eee;
|
||||
text-align: left;
|
||||
|
||||
Reference in New Issue
Block a user