mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
TemplateParser
This commit is contained in:
@@ -8,7 +8,7 @@ Betreff: <?php echo $message->subject; ?><br/>
|
||||
Text: <?php echo $message->body; ?><br/>
|
||||
<?php
|
||||
// This is an example to show that you can load stuff from inside the template file
|
||||
echo $this->template->widget("organisationseinheit_widget", array('title' => 'Organisationseinheit', 'oe_kurzbz' => $message->oe_kurzbz));
|
||||
echo $this->templatelib->widget("organisationseinheit_widget", array('title' => 'Organisationseinheit', 'oe_kurzbz' => $message->oe_kurzbz));
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -7,6 +7,7 @@ isset($title) ? $title = 'VileSci - '.$title : $title = 'VileSci';
|
||||
!isset($sortList) ? $sortList = '0,0' : $sortList = $sortList;
|
||||
!isset($widgets) ? $widgets = 'zebra' : $widgets = $widgets;
|
||||
!isset($headers) ? $headers = '' : $headers = $headers;
|
||||
!isset($tinymce) ? $tinymce = false : $tinymce = $tinymce;
|
||||
|
||||
if ($tablesort)
|
||||
$jquery = true;
|
||||
@@ -41,6 +42,10 @@ if ($tablesort)
|
||||
</script>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if($tinymce) : ?>
|
||||
<script type="text/javascript" src="<?php echo base_url('vendor/tinymce/tinymce/tinymce.min.js');?>"></script>
|
||||
<?php endif ?>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<?php echo $title; ?>
|
||||
<select name="organisationseinheit">
|
||||
<select name="<?php echo $name; ?>">
|
||||
<?php foreach($items as $item): ?>
|
||||
<option value="<?php echo $item['value']; ?>" <?php if ($item['selected']) echo 'selected'?>>
|
||||
<?php echo $item['name']; ?>
|
||||
|
||||
Reference in New Issue
Block a user