PHP Classes

File: template/newproject.php

Recommend this page to a friend!
  Classes of Ganesh Kandu   Palette PHP CMS System   template/newproject.php   Download  
File: template/newproject.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Palette PHP CMS System
Manage content site edited visually in the browser
Author: By
Last change:
Date: 2 years ago
Size: 1,532 bytes
 

Contents

Class file image Download
<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>