<h1 class="text-light"><?php echo $tpl['lang']['cns']; ?><span class="mif-palette place-right"></span></h1>
<hr class="thin bg-grayLighter"/>
<div class="input-control text full-size">
<table style="width:100%" id="tbl_createfile" >
<tr><td><?php echo $tpl['lang']['Site_Name']; ?></td></tr>
<?php if(MULTISITE){ ?>
<tr><td><input type="text" id="project" placeholder="index" value="index" /></td></tr>
<? }else{ ?>
<input type="hidden" id="project" placeholder="index" value="palette" />
<?php } ?>
<tr><td><?php echo $tpl['lang']['Title']; ?></td></tr>
<tr><td><input type="text" id="title" placeholder="Palette" value="Palette" /></td></tr>
<tr><td>Robots</td></tr>
<tr><td><input type="text" id="robots" placeholder="" value="NOINDEX, NOFOLLOW" /></td></tr>
<tr><td><?php echo $tpl['lang']['Description']; ?></td></tr>
<tr><td><input type="text" id="description" placeholder="" /></td></tr>
<tr><td><?php echo $tpl['lang']['Keywords']; ?></td></tr>
<tr><td><input type="text" id="keywords" placeholder="" /></td></tr>
<tr><td><?php echo $tpl['lang']['Icon']; ?></td></tr>
<tr><td><input type="text" id="icon" placeholder="favicon.ico" value="favicon.ico" /></td></tr>
<tr><td>
<button class="button primary" id="createproject" style="position:unset" ><span class="mif-plus"></span> <?php echo $tpl['lang']['Create']; ?>...</button>
</td></tr>
</table>
</div>
<script>
document.getElementById("project").addEventListener('keydown', function(e) {
if(e.keyCode == 13){
createproject();
}
});
</script>
|