-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.phtml
More file actions
executable file
·66 lines (62 loc) · 2.75 KB
/
index.phtml
File metadata and controls
executable file
·66 lines (62 loc) · 2.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
/*=========================================================================
MIDAS Server
Copyright (c) Kitware SAS. 20 rue de la Villette. All rights reserved.
69328 Lyon, FRANCE.
See Copyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
$this->headScript()->appendFile($this->webroot."/privateModules/journal/public/js/config/config.index.js");
?>
<link type="text/css" rel="stylesheet" href="<?php echo $this->coreWebroot?>/public/css/common/common.genericPage.css" />
<div class="viewMain">
<div class ="genericWrapperTopRight">
<?php
echo '<div style="float:right;margin-right:2px;" class="genericBigButton ">';
echo "<a href='{$this->webroot}/admin#tabs-modules'><img style='float:left;margin-right:2px;' alt='' src='{$this->coreWebroot}/public/images/icons/back.png'/>";
echo $this->t('Back');
echo "</a>";
echo '</div>';
?>
</div>
<?php
echo "
<form class='genericForm' id='configForm' method='POST' action=''>
<h3>Journal Configuration:</h3>
<div>
<label for='test'>Super Admin Email</label>
<input type='text' name='adminEmail' value='".$this->adminEmail."'/>
</div>
<div>
<label for='test'>Default Jounal</label>
<input type='number' name='defaultJournal' value='".$this->defaultJournal."'/>
</div>
<div>
<label for='test'>Default Layout</label>
<input type='text' name='defaultLayout' value='".$this->defaultLayout."'/>
</div>
<div>
<label for='test'>Base Handle</label>
<input type='text' name='baseHandle' value='".$this->baseHandle."'/>
</div>
<div>
<label for='test'>Old Website URL</label>
<input type='text' name='oldWebsiteUrl' value='".$this->oldWebsiteUrl."'/>
</div>
<div>
<label for='test'>Index of licensing disclaimer</label>
<input type='number' name='licenseDisclaimer' value='".$this->licenseDisclaimer."'/>
</div>
<div>
<label for='test'>Secret value for RECAPTCHA</label>
<input type='text' name='captchaSecret' value='".$this->captchaSecret."'/>
</div>
<div>
<input type='submit' value='Save Configuration'/>
</div>
</form>";
?>
<a href="<?php echo $this->webroot?>/journal/config/migrate">Migrate</a>
</div>