Cli mode feature
This commit is contained in:
parent
1e2692dd55
commit
61b1f50a74
|
@ -87,6 +87,21 @@
|
||||||
<div class="forms-desc"><?php $Language->p('the-url-of-your-site') ?></div>
|
<div class="forms-desc"><?php $Language->p('the-url-of-your-site') ?></div>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
<h4><?php $Language->p('Command Line Mode') ?></h4>
|
||||||
|
|
||||||
|
<label for="cliMode">
|
||||||
|
<?php $Language->p('Cli Mode') ?>
|
||||||
|
<select name="cliMode" class="width-50">
|
||||||
|
<?php
|
||||||
|
$htmlOptions = array('true'=>'Enabled', 'false'=>'Disabled');
|
||||||
|
foreach($htmlOptions as $value=>$text) {
|
||||||
|
echo '<option value="'.$value.'"'.( ($Site->cliMode()===$value)?' selected="selected"':'').'>'.$text.'</option>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
<div class="forms-desc"><?php $Language->p('enable-the-command-line-mode-if-you-add-edit') ?></div>
|
||||||
|
</label>
|
||||||
|
|
||||||
<h4><?php $Language->p('URL Filters') ?></h4>
|
<h4><?php $Language->p('URL Filters') ?></h4>
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
|
|
|
@ -163,5 +163,10 @@
|
||||||
"scheduled": "Scheduled",
|
"scheduled": "Scheduled",
|
||||||
"publish": "Publish",
|
"publish": "Publish",
|
||||||
"please-check-your-theme-configuration": "Please check your theme configuration.",
|
"please-check-your-theme-configuration": "Please check your theme configuration.",
|
||||||
"plugin-label": "Plugin label"
|
"plugin-label": "Plugin label",
|
||||||
|
"enabled": "Enabled",
|
||||||
|
"disabled": "Disabled",
|
||||||
|
"cli-mode": "Cli mode",
|
||||||
|
"command-line-mode": "Command line mode",
|
||||||
|
"enable-the-command-line-mode-if-you-add-edit": "Enable the command line mode if you add, edit or remove posts and pages from the filesystem"
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,11 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Open Graph",
|
"name": "Open Graph",
|
||||||
"description": "The Open Graph protocol enables any web page to become a rich object in a social graph."
|
"description": "The Open Graph protocol enables any web page to become a rich object in a social graph.",
|
||||||
|
"author": "Bludit",
|
||||||
|
"email": "",
|
||||||
|
"website": "http://www.bludit.com",
|
||||||
|
"version": "1.0",
|
||||||
|
"releaseDate": "2015-09-29"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue