Cli mode feature

This commit is contained in:
dignajar 2015-09-29 22:33:55 -03:00
parent 1e2692dd55
commit 61b1f50a74
3 changed files with 27 additions and 2 deletions

View File

@ -87,6 +87,21 @@
<div class="forms-desc"><?php $Language->p('the-url-of-your-site') ?></div>
</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>
<label>

View File

@ -163,5 +163,10 @@
"scheduled": "Scheduled",
"publish": "Publish",
"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"
}

View File

@ -2,6 +2,11 @@
"plugin-data":
{
"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"
}
}