graphonline/tpl/admin/page_editor_add.php
2017-04-15 01:34:36 +03:00

26 lines
1.2 KiB
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php IncludeCom('dev/bootstrap3')?>
<h1>Добавление страницы</h1>
<p>В названии страницы допускаются только маленькие латинские буквы и цифры.</p>
<form action="<?= GetCurUrl()?>" method="post" class="form-horizontal" role="form">
<input type="hidden" name="is_add_page" value="1">
<div class="form-group">
<div class="col-lg-offset-2 col-lg-6">
<?= $msg?>
</div>
</div>
<div class="form-group">
<label for="inputName" class="col-lg-2 control-label">Название страницы</label>
<div class="col-lg-6">
<input type="text" class="form-control" id="inputName" autocomplete="on" name="name" value="<?= Post("name")?>" placeholder="Только маленькие латинские буквы и цифры">
</div>
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-6">
<button type="submit" class="btn btn-primary">Добавить</button>
</div>
</div>
</form>