|
|
@ -86,7 +86,7 @@ if ($type == 'is_frontpage') { |
|
|
<input type="text" id="pTitle" name="title" class="form-control text <?php if (isset($postTitle)) { if (empty($postTitle)) { echo 'error'; } } ?>" value="<?php echo $oldtitle ?>"/> |
|
|
<input type="text" id="pTitle" name="title" class="form-control text <?php if (isset($postTitle)) { if (empty($postTitle)) { echo 'error'; } } ?>" value="<?php echo $oldtitle ?>"/> |
|
|
<br> |
|
|
<br> |
|
|
<?php if($type != 'is_frontpage' && $type != 'is_profile') { ?>
|
|
|
<?php if($type != 'is_frontpage' && $type != 'is_profile') { ?>
|
|
|
<label for="pMeta"><?php echo i18n('Meta_description');?> (optional)</label>
|
|
|
|
|
|
|
|
|
<label for="pMeta"><?php echo i18n('Meta_description');?> <?php echo i18n('optional');?></label>
|
|
|
<br /> |
|
|
<br /> |
|
|
<textarea id="pMeta" class="form-control" name="description" rows="3" cols="20" placeholder="<?php echo i18n('If_leave_empty_we_will_excerpt_it_from_the_content_below');?>"><?php if (isset($p->description)) { echo $p->description;} else {echo $olddescription;}?></textarea>
|
|
|
<textarea id="pMeta" class="form-control" name="description" rows="3" cols="20" placeholder="<?php echo i18n('If_leave_empty_we_will_excerpt_it_from_the_content_below');?>"><?php if (isset($p->description)) { echo $p->description;} else {echo $olddescription;}?></textarea>
|
|
|
<br /><br /> |
|
|
<br /><br /> |
|
|
@ -94,7 +94,7 @@ if ($type == 'is_frontpage') { |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-sm-6"> |
|
|
<div class="col-sm-6"> |
|
|
<?php if($type != 'is_frontpage' && $type != 'is_profile') { ?>
|
|
|
<?php if($type != 'is_frontpage' && $type != 'is_profile') { ?>
|
|
|
<label for="pURL">Url (<?php echo i18n('optional');?>)</label>
|
|
|
|
|
|
|
|
|
<label for="pURL"><?php echo i18n('Slug');?> (<?php echo i18n('optional');?>)</label>
|
|
|
<br> |
|
|
<br> |
|
|
<input type="text" id="pURL" name="url" class="form-control text" value="<?php echo $oldmd ?>" placeholder="<?php echo i18n('If_the_url_leave_empty_we_will_use_the_page_title');?>"/> |
|
|
<input type="text" id="pURL" name="url" class="form-control text" value="<?php echo $oldmd ?>" placeholder="<?php echo i18n('If_the_url_leave_empty_we_will_use_the_page_title');?>"/> |
|
|
<br> |
|
|
<br> |
|
|
|