Merge remote-tracking branch 'dignajar/master'
This commit is contained in:
commit
e27b394f4f
|
@ -48,6 +48,11 @@ function deleteUser($args, $deleteContent=false)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The editors cannot delete users.
|
||||||
|
if($Login->role()!=='admin') {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if($deleteContent) {
|
if($deleteContent) {
|
||||||
$dbPosts->deletePostsByUser($args['username']);
|
$dbPosts->deletePostsByUser($args['username']);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<li><a href="#email"><?php $Language->p('Email') ?></a></li>
|
<li><a href="#email"><?php $Language->p('Email') ?></a></li>
|
||||||
<li><a href="#password"><?php $Language->p('Password') ?></a></li>
|
<li><a href="#password"><?php $Language->p('Password') ?></a></li>
|
||||||
|
|
||||||
<?php if($_user['username']!=='admin') { ?>
|
<?php if($_user['username']=='admin') { ?>
|
||||||
<li><a href="#delete"><?php $Language->p('Delete') ?></a></li>
|
<li><a href="#delete"><?php $Language->p('Delete') ?></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -18,9 +18,7 @@
|
||||||
|
|
||||||
<div id="profile">
|
<div id="profile">
|
||||||
<form method="post" action="" class="forms">
|
<form method="post" action="" class="forms">
|
||||||
|
|
||||||
<input type="hidden" id="jstoken" name="token" value="<?php $Security->printToken() ?>">
|
<input type="hidden" id="jstoken" name="token" value="<?php $Security->printToken() ?>">
|
||||||
<input type="hidden" name="edit-user" value="true">
|
|
||||||
<input type="hidden" name="username" value="<?php echo $_user['username'] ?>">
|
<input type="hidden" name="username" value="<?php echo $_user['username'] ?>">
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
|
@ -50,7 +48,7 @@
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<input type="submit" class="btn btn-blue" value="<?php $Language->p('Save') ?>" name="user-profile">
|
<input type="submit" class="btn btn-blue" value="<?php $Language->p('Save') ?>" name="edit-user">
|
||||||
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>" class="btn"><?php $Language->p('Cancel') ?></a>
|
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>" class="btn"><?php $Language->p('Cancel') ?></a>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -61,7 +59,7 @@
|
||||||
|
|
||||||
<div id="email">
|
<div id="email">
|
||||||
<form method="post" action="" class="forms">
|
<form method="post" action="" class="forms">
|
||||||
<input type="hidden" name="edit-user" value="true">
|
<input type="hidden" id="jstoken" name="token" value="<?php $Security->printToken() ?>">
|
||||||
<input type="hidden" name="username" value="<?php echo $_user['username'] ?>">
|
<input type="hidden" name="username" value="<?php echo $_user['username'] ?>">
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
|
@ -70,7 +68,7 @@
|
||||||
<div class="forms-desc"><?php $Language->p('email-will-not-be-publicly-displayed') ?></div>
|
<div class="forms-desc"><?php $Language->p('email-will-not-be-publicly-displayed') ?></div>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<input type="submit" class="btn btn-blue" value="<?php $Language->p('Save') ?>" name="user-email">
|
<input type="submit" class="btn btn-blue" value="<?php $Language->p('Save') ?>" name="edit-user">
|
||||||
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>" class="btn"><?php $Language->p('Cancel') ?></a>
|
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>" class="btn"><?php $Language->p('Cancel') ?></a>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -81,7 +79,7 @@
|
||||||
|
|
||||||
<div id="password">
|
<div id="password">
|
||||||
<form method="post" action="" class="forms">
|
<form method="post" action="" class="forms">
|
||||||
<input type="hidden" name="change-password" value="true">
|
<input type="hidden" id="jstoken" name="token" value="<?php $Security->printToken() ?>">
|
||||||
<input type="hidden" name="username" value="<?php echo $_user['username'] ?>">
|
<input type="hidden" name="username" value="<?php echo $_user['username'] ?>">
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
|
@ -94,7 +92,7 @@
|
||||||
<input type="password" name="confirm-password" class="width-50">
|
<input type="password" name="confirm-password" class="width-50">
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<input type="submit" class="btn btn-blue" value="<?php $Language->p('Save') ?>" name="user-password">
|
<input type="submit" class="btn btn-blue" value="<?php $Language->p('Save') ?>" name="change-password">
|
||||||
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>" class="btn"><?php $Language->p('Cancel') ?></a>
|
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>" class="btn"><?php $Language->p('Cancel') ?></a>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -102,20 +100,20 @@
|
||||||
<!-- ===================================== -->
|
<!-- ===================================== -->
|
||||||
<!-- Delete -->
|
<!-- Delete -->
|
||||||
<!-- ===================================== -->
|
<!-- ===================================== -->
|
||||||
<?php if($_user['username']!=='admin') { ?>
|
<?php if($_user['username']=='admin') { ?>
|
||||||
|
|
||||||
<div id="delete">
|
<div id="delete">
|
||||||
|
|
||||||
<form method="post" action="" class="forms">
|
<form method="post" action="" class="forms">
|
||||||
<input type="hidden" name="delete-user-all" value="true">
|
<input type="hidden" id="jstoken" name="token" value="<?php $Security->printToken() ?>">
|
||||||
<input type="hidden" name="username" value="<?php echo $_user['username'] ?>">
|
<input type="hidden" name="username" value="<?php echo $_user['username'] ?>">
|
||||||
<p><input type="submit" class="btn btn-blue" value="<?php $Language->p('Delete the user and all its posts') ?>"></p>
|
<p><input type="submit" name="delete-user-all" class="btn btn-blue" value="<?php $Language->p('Delete the user and all its posts') ?>"></p>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<form method="post" action="" class="forms">
|
<form method="post" action="" class="forms">
|
||||||
<input type="hidden" name="delete-user-associate" value="true">
|
<input type="hidden" id="jstoken" name="token" value="<?php $Security->printToken() ?>">
|
||||||
<input type="hidden" name="username" value="<?php echo $_user['username'] ?>">
|
<input type="hidden" name="username" value="<?php echo $_user['username'] ?>">
|
||||||
<p><input type="submit" class="btn btn-blue" value="<?php $Language->p('Delete the user and associate its posts to admin user') ?>"></p>
|
<p><input type="submit" name="delete-user-associate" class="btn btn-blue" value="<?php $Language->p('Delete the user and associate its posts to admin user') ?>"></p>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>" class="btn"><?php $Language->p('Cancel') ?></a>
|
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>" class="btn"><?php $Language->p('Cancel') ?></a>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -333,10 +333,6 @@ class dbPages extends dbJSON
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$fields['status'] = CLI_STATUS;
|
|
||||||
$fields['date'] = Date::current(DB_DATE_FORMAT);
|
|
||||||
$fields['username'] = 'admin';
|
|
||||||
|
|
||||||
//$tmpPaths = glob(PATH_PAGES.'*', GLOB_ONLYDIR);
|
//$tmpPaths = glob(PATH_PAGES.'*', GLOB_ONLYDIR);
|
||||||
$tmpPaths = Filesystem::listDirectories(PATH_PAGES);
|
$tmpPaths = Filesystem::listDirectories(PATH_PAGES);
|
||||||
foreach($tmpPaths as $directory)
|
foreach($tmpPaths as $directory)
|
||||||
|
@ -364,7 +360,14 @@ class dbPages extends dbJSON
|
||||||
|
|
||||||
foreach($newPaths as $key=>$value)
|
foreach($newPaths as $key=>$value)
|
||||||
{
|
{
|
||||||
if(!isset($this->db[$key])) {
|
if(!isset($this->db[$key]))
|
||||||
|
{
|
||||||
|
// Default values for the new pages.
|
||||||
|
$fields['status'] = CLI_STATUS;
|
||||||
|
$fields['date'] = Date::current(DB_DATE_FORMAT);
|
||||||
|
$fields['username'] = 'admin';
|
||||||
|
|
||||||
|
// Create the entry for the new page.
|
||||||
$this->db[$key] = $fields;
|
$this->db[$key] = $fields;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,65 @@
|
||||||
|
|
||||||
class Text {
|
class Text {
|
||||||
|
|
||||||
|
private static $specialChars = array(
|
||||||
|
// Latin
|
||||||
|
'À'=>'A', 'Á'=>'A', 'Â'=>'A', 'Ã'=>'A', 'Ä'=>'A', 'Å'=>'A', 'Æ'=>'AE', 'Ç'=>'C',
|
||||||
|
'È'=>'E', 'É'=>'E', 'Ê'=>'E', 'Ë'=>'E', 'Ì'=>'I', 'Í'=>'I', 'Î'=>'I', 'Ï'=>'I',
|
||||||
|
'Ð'=>'D', 'Ñ'=>'N', 'Ò'=>'O', 'Ó'=>'O', 'Ô'=>'O', 'Õ'=>'O', 'Ö'=>'O', 'Ő'=>'O',
|
||||||
|
'Ø'=>'O', 'Ù'=>'U', 'Ú'=>'U', 'Û'=>'U', 'Ü'=>'U', 'Ű'=>'U', 'Ý'=>'Y', 'Þ'=>'TH',
|
||||||
|
'ß'=>'ss',
|
||||||
|
'à'=>'a', 'á'=>'a', 'â'=>'a', 'ã'=>'a', 'ä'=>'a', 'å'=>'a', 'æ'=>'ae', 'ç'=>'c',
|
||||||
|
'è'=>'e', 'é'=>'e', 'ê'=>'e', 'ë'=>'e', 'ì'=>'i', 'í'=>'i', 'î'=>'i', 'ï'=>'i',
|
||||||
|
'ð'=>'d', 'ñ'=>'n', 'ò'=>'o', 'ó'=>'o', 'ô'=>'o', 'õ'=>'o', 'ö'=>'o', 'ő'=>'o',
|
||||||
|
'ø'=>'o', 'ù'=>'u', 'ú'=>'u', 'û'=>'u', 'ü'=>'u', 'ű'=>'u', 'ý'=>'y', 'þ'=>'th',
|
||||||
|
'ÿ'=>'y',
|
||||||
|
// Latin symbols
|
||||||
|
'©'=>'(c)',
|
||||||
|
// Greek
|
||||||
|
'Α'=>'A', 'Β'=>'B', 'Γ'=>'G', 'Δ'=>'D', 'Ε'=>'E', 'Ζ'=>'Z', 'Η'=>'H', 'Θ'=>'8',
|
||||||
|
'Ι'=>'I', 'Κ'=>'K', 'Λ'=>'L', 'Μ'=>'M', 'Ν'=>'N', 'Ξ'=>'3', 'Ο'=>'O', 'Π'=>'P',
|
||||||
|
'Ρ'=>'R', 'Σ'=>'S', 'Τ'=>'T', 'Υ'=>'Y', 'Φ'=>'F', 'Χ'=>'X', 'Ψ'=>'PS', 'Ω'=>'W',
|
||||||
|
'Ά'=>'A', 'Έ'=>'E', 'Ί'=>'I', 'Ό'=>'O', 'Ύ'=>'Y', 'Ή'=>'H', 'Ώ'=>'W', 'Ϊ'=>'I',
|
||||||
|
'Ϋ'=>'Y',
|
||||||
|
'α'=>'a', 'β'=>'b', 'γ'=>'g', 'δ'=>'d', 'ε'=>'e', 'ζ'=>'z', 'η'=>'h', 'θ'=>'8',
|
||||||
|
'ι'=>'i', 'κ'=>'k', 'λ'=>'l', 'μ'=>'m', 'ν'=>'n', 'ξ'=>'3', 'ο'=>'o', 'π'=>'p',
|
||||||
|
'ρ'=>'r', 'σ'=>'s', 'τ'=>'t', 'υ'=>'y', 'φ'=>'f', 'χ'=>'x', 'ψ'=>'ps', 'ω'=>'w',
|
||||||
|
'ά'=>'a', 'έ'=>'e', 'ί'=>'i', 'ό'=>'o', 'ύ'=>'y', 'ή'=>'h', 'ώ'=>'w', 'ς'=>'s',
|
||||||
|
'ϊ'=>'i', 'ΰ'=>'y', 'ϋ'=>'y', 'ΐ'=>'i',
|
||||||
|
// Turkish
|
||||||
|
'Ş'=>'S', 'İ'=>'I', 'Ç'=>'C', 'Ü'=>'U', 'Ö'=>'O', 'Ğ'=>'G',
|
||||||
|
'ş'=>'s', 'ı'=>'i', 'ç'=>'c', 'ü'=>'u', 'ö'=>'o', 'ğ'=>'g',
|
||||||
|
// Russian
|
||||||
|
'А'=>'A', 'Б'=>'B', 'В'=>'V', 'Г'=>'G', 'Д'=>'D', 'Е'=>'E', 'Ё'=>'Yo', 'Ж'=>'Zh',
|
||||||
|
'З'=>'Z', 'И'=>'I', 'Й'=>'J', 'К'=>'K', 'Л'=>'L', 'М'=>'M', 'Н'=>'N', 'О'=>'O',
|
||||||
|
'П'=>'P', 'Р'=>'R', 'С'=>'S', 'Т'=>'T', 'У'=>'U', 'Ф'=>'F', 'Х'=>'H', 'Ц'=>'C',
|
||||||
|
'Ч'=>'Ch', 'Ш'=>'Sh', 'Щ'=>'Sh', 'Ъ'=>'', 'Ы'=>'Y', 'Ь'=>'', 'Э'=>'E', 'Ю'=>'Yu',
|
||||||
|
'Я'=>'Ya',
|
||||||
|
'а'=>'a', 'б'=>'b', 'в'=>'v', 'г'=>'g', 'д'=>'d', 'е'=>'e', 'ё'=>'yo', 'ж'=>'zh',
|
||||||
|
'з'=>'z', 'и'=>'i', 'й'=>'j', 'к'=>'k', 'л'=>'l', 'м'=>'m', 'н'=>'n', 'о'=>'o',
|
||||||
|
'п'=>'p', 'р'=>'r', 'с'=>'s', 'т'=>'t', 'у'=>'u', 'ф'=>'f', 'х'=>'h', 'ц'=>'c',
|
||||||
|
'ч'=>'ch', 'ш'=>'sh', 'щ'=>'sh', 'ъ'=>'', 'ы'=>'y', 'ь'=>'', 'э'=>'e', 'ю'=>'yu',
|
||||||
|
'я'=>'ya',
|
||||||
|
// Ukrainian
|
||||||
|
'Є'=>'Ye', 'І'=>'I', 'Ї'=>'Yi', 'Ґ'=>'G',
|
||||||
|
'є'=>'ye', 'і'=>'i', 'ї'=>'yi', 'ґ'=>'g',
|
||||||
|
// Czech
|
||||||
|
'Č'=>'C', 'Ď'=>'D', 'Ě'=>'E', 'Ň'=>'N', 'Ř'=>'R', 'Š'=>'S', 'Ť'=>'T', 'Ů'=>'U',
|
||||||
|
'Ž'=>'Z',
|
||||||
|
'č'=>'c', 'ď'=>'d', 'ě'=>'e', 'ň'=>'n', 'ř'=>'r', 'š'=>'s', 'ť'=>'t', 'ů'=>'u',
|
||||||
|
'ž'=>'z',
|
||||||
|
// Polish
|
||||||
|
'Ą'=>'A', 'Ć'=>'C', 'Ę'=>'e', 'Ł'=>'L', 'Ń'=>'N', 'Ó'=>'o', 'Ś'=>'S', 'Ź'=>'Z',
|
||||||
|
'Ż'=>'Z',
|
||||||
|
'ą'=>'a', 'ć'=>'c', 'ę'=>'e', 'ł'=>'l', 'ń'=>'n', 'ó'=>'o', 'ś'=>'s', 'ź'=>'z',
|
||||||
|
'ż'=>'z',
|
||||||
|
// Latvian
|
||||||
|
'Ā'=>'A', 'Č'=>'C', 'Ē'=>'E', 'Ģ'=>'G', 'Ī'=>'i', 'Ķ'=>'k', 'Ļ'=>'L', 'Ņ'=>'N',
|
||||||
|
'Š'=>'S', 'Ū'=>'u', 'Ž'=>'Z',
|
||||||
|
'ā'=>'a', 'č'=>'c', 'ē'=>'e', 'ģ'=>'g', 'ī'=>'i', 'ķ'=>'k', 'ļ'=>'l', 'ņ'=>'n',
|
||||||
|
'š'=>'s', 'ū'=>'u', 'ž'=>'z'
|
||||||
|
);
|
||||||
|
|
||||||
public static function addSlashes($string, $begin=true, $end=true)
|
public static function addSlashes($string, $begin=true, $end=true)
|
||||||
{
|
{
|
||||||
if($begin) {
|
if($begin) {
|
||||||
|
@ -54,6 +113,9 @@ class Text {
|
||||||
|
|
||||||
public static function cleanUrl($string, $separator='-')
|
public static function cleanUrl($string, $separator='-')
|
||||||
{
|
{
|
||||||
|
// Transliterate characters to ASCII
|
||||||
|
$string = str_replace(array_keys(self::$specialChars), self::$specialChars, $string);
|
||||||
|
|
||||||
if(function_exists('iconv')) {
|
if(function_exists('iconv')) {
|
||||||
$string = iconv('UTF-8', 'ASCII//TRANSLIT', $string);
|
$string = iconv('UTF-8', 'ASCII//TRANSLIT', $string);
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ class Parsedown
|
||||||
{
|
{
|
||||||
# ~
|
# ~
|
||||||
|
|
||||||
const version = '1.5.3';
|
const version = '1.5.4';
|
||||||
|
|
||||||
# ~
|
# ~
|
||||||
|
|
||||||
|
@ -107,12 +107,6 @@ class Parsedown
|
||||||
|
|
||||||
# ~
|
# ~
|
||||||
|
|
||||||
protected $DefinitionTypes = array(
|
|
||||||
'[' => array('Reference'),
|
|
||||||
);
|
|
||||||
|
|
||||||
# ~
|
|
||||||
|
|
||||||
protected $unmarkedBlockTypes = array(
|
protected $unmarkedBlockTypes = array(
|
||||||
'Code',
|
'Code',
|
||||||
);
|
);
|
||||||
|
@ -169,7 +163,7 @@ class Parsedown
|
||||||
|
|
||||||
# ~
|
# ~
|
||||||
|
|
||||||
if (isset($CurrentBlock['incomplete']))
|
if (isset($CurrentBlock['continuable']))
|
||||||
{
|
{
|
||||||
$Block = $this->{'block'.$CurrentBlock['type'].'Continue'}($Line, $CurrentBlock);
|
$Block = $this->{'block'.$CurrentBlock['type'].'Continue'}($Line, $CurrentBlock);
|
||||||
|
|
||||||
|
@ -185,8 +179,6 @@ class Parsedown
|
||||||
{
|
{
|
||||||
$CurrentBlock = $this->{'block'.$CurrentBlock['type'].'Complete'}($CurrentBlock);
|
$CurrentBlock = $this->{'block'.$CurrentBlock['type'].'Complete'}($CurrentBlock);
|
||||||
}
|
}
|
||||||
|
|
||||||
unset($CurrentBlock['incomplete']);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -226,7 +218,7 @@ class Parsedown
|
||||||
|
|
||||||
if (method_exists($this, 'block'.$blockType.'Continue'))
|
if (method_exists($this, 'block'.$blockType.'Continue'))
|
||||||
{
|
{
|
||||||
$Block['incomplete'] = true;
|
$Block['continuable'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
$CurrentBlock = $Block;
|
$CurrentBlock = $Block;
|
||||||
|
@ -253,7 +245,7 @@ class Parsedown
|
||||||
|
|
||||||
# ~
|
# ~
|
||||||
|
|
||||||
if (isset($CurrentBlock['incomplete']) and method_exists($this, 'block'.$CurrentBlock['type'].'Complete'))
|
if (isset($CurrentBlock['continuable']) and method_exists($this, 'block'.$CurrentBlock['type'].'Complete'))
|
||||||
{
|
{
|
||||||
$CurrentBlock = $this->{'block'.$CurrentBlock['type'].'Complete'}($CurrentBlock);
|
$CurrentBlock = $this->{'block'.$CurrentBlock['type'].'Complete'}($CurrentBlock);
|
||||||
}
|
}
|
||||||
|
@ -394,16 +386,16 @@ class Parsedown
|
||||||
|
|
||||||
protected function blockFencedCode($Line)
|
protected function blockFencedCode($Line)
|
||||||
{
|
{
|
||||||
if (preg_match('/^(['.$Line['text'][0].']{3,})[ ]*([\w-]+)?[ ]*$/', $Line['text'], $matches))
|
if (preg_match('/^['.$Line['text'][0].']{3,}[ ]*([\w-]+)?[ ]*$/', $Line['text'], $matches))
|
||||||
{
|
{
|
||||||
$Element = array(
|
$Element = array(
|
||||||
'name' => 'code',
|
'name' => 'code',
|
||||||
'text' => '',
|
'text' => '',
|
||||||
);
|
);
|
||||||
|
|
||||||
if (isset($matches[2]))
|
if (isset($matches[1]))
|
||||||
{
|
{
|
||||||
$class = 'language-'.$matches[2];
|
$class = 'language-'.$matches[1];
|
||||||
|
|
||||||
$Element['attributes'] = array(
|
$Element['attributes'] = array(
|
||||||
'class' => $class,
|
'class' => $class,
|
||||||
|
@ -673,7 +665,9 @@ class Parsedown
|
||||||
|
|
||||||
if (preg_match('/^<(\w*)(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*(\/)?>/', $Line['text'], $matches))
|
if (preg_match('/^<(\w*)(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*(\/)?>/', $Line['text'], $matches))
|
||||||
{
|
{
|
||||||
if (in_array($matches[1], $this->textLevelElements))
|
$element = strtolower($matches[1]);
|
||||||
|
|
||||||
|
if (in_array($element, $this->textLevelElements))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -987,15 +981,13 @@ class Parsedown
|
||||||
{
|
{
|
||||||
$markup = '';
|
$markup = '';
|
||||||
|
|
||||||
$unexaminedText = $text;
|
# $excerpt is based on the first occurrence of a marker
|
||||||
|
|
||||||
$markerPosition = 0;
|
while ($excerpt = strpbrk($text, $this->inlineMarkerList))
|
||||||
|
|
||||||
while ($excerpt = strpbrk($unexaminedText, $this->inlineMarkerList))
|
|
||||||
{
|
{
|
||||||
$marker = $excerpt[0];
|
$marker = $excerpt[0];
|
||||||
|
|
||||||
$markerPosition += strpos($unexaminedText, $marker);
|
$markerPosition = strpos($text, $marker);
|
||||||
|
|
||||||
$Excerpt = array('text' => $excerpt, 'context' => $text);
|
$Excerpt = array('text' => $excerpt, 'context' => $text);
|
||||||
|
|
||||||
|
@ -1008,34 +1000,42 @@ class Parsedown
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($Inline['position']) and $Inline['position'] > $markerPosition) # position is ahead of marker
|
# makes sure that the inline belongs to "our" marker
|
||||||
|
|
||||||
|
if (isset($Inline['position']) and $Inline['position'] > $markerPosition)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# sets a default inline position
|
||||||
|
|
||||||
if ( ! isset($Inline['position']))
|
if ( ! isset($Inline['position']))
|
||||||
{
|
{
|
||||||
$Inline['position'] = $markerPosition;
|
$Inline['position'] = $markerPosition;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# the text that comes before the inline
|
||||||
$unmarkedText = substr($text, 0, $Inline['position']);
|
$unmarkedText = substr($text, 0, $Inline['position']);
|
||||||
|
|
||||||
|
# compile the unmarked text
|
||||||
$markup .= $this->unmarkedText($unmarkedText);
|
$markup .= $this->unmarkedText($unmarkedText);
|
||||||
|
|
||||||
|
# compile the inline
|
||||||
$markup .= isset($Inline['markup']) ? $Inline['markup'] : $this->element($Inline['element']);
|
$markup .= isset($Inline['markup']) ? $Inline['markup'] : $this->element($Inline['element']);
|
||||||
|
|
||||||
|
# remove the examined text
|
||||||
$text = substr($text, $Inline['position'] + $Inline['extent']);
|
$text = substr($text, $Inline['position'] + $Inline['extent']);
|
||||||
|
|
||||||
$unexaminedText = $text;
|
|
||||||
|
|
||||||
$markerPosition = 0;
|
|
||||||
|
|
||||||
continue 2;
|
continue 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
$unexaminedText = substr($excerpt, 1);
|
# the marker does not belong to an inline
|
||||||
|
|
||||||
$markerPosition ++;
|
$unmarkedText = substr($text, 0, $markerPosition + 1);
|
||||||
|
|
||||||
|
$markup .= $this->unmarkedText($unmarkedText);
|
||||||
|
|
||||||
|
$text = substr($text, $markerPosition + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
$markup .= $this->unmarkedText($text);
|
$markup .= $this->unmarkedText($text);
|
||||||
|
@ -1476,7 +1476,7 @@ class Parsedown
|
||||||
return self::$instances[$name];
|
return self::$instances[$name];
|
||||||
}
|
}
|
||||||
|
|
||||||
$instance = new self();
|
$instance = new static();
|
||||||
|
|
||||||
self::$instances[$name] = $instance;
|
self::$instances[$name] = $instance;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
"native": "English (United States)",
|
"native": "English (United States)",
|
||||||
"english-name": "English",
|
"english-name": "English",
|
||||||
"last-update": "2015-06-28",
|
"last-update": "2015-10-02",
|
||||||
"author": "Diego",
|
"author": "Diego",
|
||||||
"email": "",
|
"email": "",
|
||||||
"website": ""
|
"website": ""
|
||||||
|
@ -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"
|
||||||
}
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
"native": "Español (Argentina)",
|
"native": "Español (Argentina)",
|
||||||
"english-name": "Spanish",
|
"english-name": "Spanish",
|
||||||
"last-update": "2015-08-16",
|
"last-update": "2015-10-02",
|
||||||
"author": "Diego",
|
"author": "Diego",
|
||||||
"email": "",
|
"email": "",
|
||||||
"website": ""
|
"website": ""
|
||||||
|
@ -61,11 +61,11 @@
|
||||||
"site-url": "URL del sitio",
|
"site-url": "URL del sitio",
|
||||||
"writting-settings": "Ajustes de redacción",
|
"writting-settings": "Ajustes de redacción",
|
||||||
"url-filters": "Filtros URL",
|
"url-filters": "Filtros URL",
|
||||||
"page": "página",
|
"page": "Página",
|
||||||
"pages": "páginas",
|
"pages": "Páginas",
|
||||||
"home": "Inicio",
|
"home": "Inicio",
|
||||||
"welcome-back": "Bienvenido",
|
"welcome-back": "Bienvenido",
|
||||||
"language": "Lenguaje",
|
"language": "Idioma",
|
||||||
"website": "Sitio web",
|
"website": "Sitio web",
|
||||||
"timezone": "Zona horaria",
|
"timezone": "Zona horaria",
|
||||||
"locale": "Locale",
|
"locale": "Locale",
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
"number-of-posts-to-show-per-page": "Numero de posts a mostrar por página.",
|
"number-of-posts-to-show-per-page": "Numero de posts a mostrar por página.",
|
||||||
"the-url-of-your-site": "URL de su sitio.",
|
"the-url-of-your-site": "URL de su sitio.",
|
||||||
"add-or-edit-description-tags-or": "Agregar o editar la descripción, tags y modificar la URL amigable.",
|
"add-or-edit-description-tags-or": "Agregar o editar la descripción, tags y modificar la URL amigable.",
|
||||||
"select-your-sites-language": "Seleccione el lenguaje de su sitio.",
|
"select-your-sites-language": "Seleccione el idioma de su sitio.",
|
||||||
"select-a-timezone-for-a-correct": "Seleccione la zona horaria para una correcta visualización de las fechas.",
|
"select-a-timezone-for-a-correct": "Seleccione la zona horaria para una correcta visualización de las fechas.",
|
||||||
"you-can-use-this-field-to-define-a-set-of": "Puede utilizar este campo para definir un conjunto de parámetros relacionados con el idioma, país y preferencias especiales.",
|
"you-can-use-this-field-to-define-a-set-of": "Puede utilizar este campo para definir un conjunto de parámetros relacionados con el idioma, país y preferencias especiales.",
|
||||||
"you-can-modify-the-url-which-identifies": "Puede modificar la dirección URL que identifica una página o post usando palabras clave legible. No mas de 150 caracteres.",
|
"you-can-modify-the-url-which-identifies": "Puede modificar la dirección URL que identifica una página o post usando palabras clave legible. No mas de 150 caracteres.",
|
||||||
|
@ -124,14 +124,14 @@
|
||||||
"delete-the-user-and-associate-its-posts-to-admin-user": "Eliminar el usuario y asociar los posts al usuario admin",
|
"delete-the-user-and-associate-its-posts-to-admin-user": "Eliminar el usuario y asociar los posts al usuario admin",
|
||||||
"read-more": "Leer mas",
|
"read-more": "Leer mas",
|
||||||
"show-blog": "Mostrar blog",
|
"show-blog": "Mostrar blog",
|
||||||
"default-home-page": "página de inicio predeterminada",
|
"default-home-page": "Página de inicio predeterminada",
|
||||||
"version": "Version",
|
"version": "Version",
|
||||||
"there-are-no-drafts": "No hay borradores.",
|
"there-are-no-drafts": "No hay borradores.",
|
||||||
"create-a-new-article-for-your-blog":"Crear un nuevo articulo para su blog.",
|
"create-a-new-article-for-your-blog":"Crear un nuevo articulo para su blog.",
|
||||||
"create-a-new-page-for-your-website":"Crear una nueva página para su sitio web.",
|
"create-a-new-page-for-your-website":"Crear una nueva página para su sitio web.",
|
||||||
"invite-a-friend-to-collaborate-on-your-website":"Invite a un amigo para colaborar en el sitio web.",
|
"invite-a-friend-to-collaborate-on-your-website":"Invite a un amigo para colaborar en el sitio web.",
|
||||||
"change-your-language-and-region-settings":"Cambiar la configuración de idioma y región.",
|
"change-your-language-and-region-settings":"Cambiar la configuración de idioma y región.",
|
||||||
"language-and-timezone":"Lenguage y zona horaria",
|
"language-and-timezone":"Idioma y zona horaria",
|
||||||
"author": "Autor",
|
"author": "Autor",
|
||||||
"start-here": "Comience aquí",
|
"start-here": "Comience aquí",
|
||||||
"install-theme": "Instalar tema",
|
"install-theme": "Instalar tema",
|
||||||
|
@ -150,10 +150,23 @@
|
||||||
"complete-the-form-choose-a-password-for-the-username-admin": "Complete el formulario y elija una contraseña para el usuario « admin »",
|
"complete-the-form-choose-a-password-for-the-username-admin": "Complete el formulario y elija una contraseña para el usuario « admin »",
|
||||||
"password-visible-field": "Contraseña, este campo es visible!",
|
"password-visible-field": "Contraseña, este campo es visible!",
|
||||||
"install": "Instalar",
|
"install": "Instalar",
|
||||||
|
"choose-your-language": "Seleccione su idioma",
|
||||||
|
"next": "Siguiente",
|
||||||
"the-password-field-is-empty": "Debe completar el campo contraseña",
|
"the-password-field-is-empty": "Debe completar el campo contraseña",
|
||||||
"your-email-address-is-invalid":"Su dirección de correo es invalida.",
|
"your-email-address-is-invalid":"Su dirección de correo es invalida.",
|
||||||
"proceed-anyway": "Continuar de todas formas!",
|
"proceed-anyway": "Continuar de todas formas!",
|
||||||
"drafts":"Borradores",
|
"drafts":"Borradores",
|
||||||
"ip-address-has-been-blocked":"La direccion IP fue bloqueada.",
|
"ip-address-has-been-blocked":"La direccion IP fue bloqueada.",
|
||||||
"try-again-in-a-few-minutes": "Vuelva a intentar en unos minutos."
|
"try-again-in-a-few-minutes": "Vuelva a intentar en unos minutos.",
|
||||||
|
"date": "Fecha",
|
||||||
|
"you-can-schedule-the-post-just-select-the-date-and-time": "Puede programar un post, solo seleccione la fecha y hora.",
|
||||||
|
"scheduled": "Programado",
|
||||||
|
"publish": "Publicar",
|
||||||
|
"please-check-your-theme-configuration": "Verifique la configuración del tema.",
|
||||||
|
"plugin-label": "Titulo del plugin",
|
||||||
|
"enabled": "Habilitado",
|
||||||
|
"disabled": "Deshabilitado",
|
||||||
|
"cli-mode": "Modo Cli",
|
||||||
|
"command-line-mode": "Linea de comandos",
|
||||||
|
"enable-the-command-line-mode-if-you-add-edit": "Habilite el modo linea de comando si usted crea, edita o elimina posts o paginas desde el sistema de archivos."
|
||||||
}
|
}
|
|
@ -150,10 +150,23 @@
|
||||||
"complete-the-form-choose-a-password-for-the-username-admin": "Complete el formulario y elija una contraseña para el usuario « admin »",
|
"complete-the-form-choose-a-password-for-the-username-admin": "Complete el formulario y elija una contraseña para el usuario « admin »",
|
||||||
"password-visible-field": "Contraseña, ¡este campo es visible!",
|
"password-visible-field": "Contraseña, ¡este campo es visible!",
|
||||||
"install": "Instalar",
|
"install": "Instalar",
|
||||||
|
"choose-your-language": "Seleccione su idioma",
|
||||||
|
"next": "Siguiente",
|
||||||
"the-password-field-is-empty": "Debe completar el campo contraseña",
|
"the-password-field-is-empty": "Debe completar el campo contraseña",
|
||||||
"your-email-address-is-invalid":"Su dirección de correo es inválida.",
|
"your-email-address-is-invalid":"Su dirección de correo es inválida.",
|
||||||
"proceed-anyway": "¡Continuar de todas formas!",
|
"proceed-anyway": "¡Continuar de todas formas!",
|
||||||
"drafts":"Borradores",
|
"drafts":"Borradores",
|
||||||
"ip-address-has-been-blocked":"La dirección IP fue bloqueada.",
|
"ip-address-has-been-blocked":"La dirección IP fue bloqueada.",
|
||||||
"try-again-in-a-few-minutes": "Vuelva a intentar en unos minutos."
|
"try-again-in-a-few-minutes": "Vuelva a intentar en unos minutos.",
|
||||||
|
"date": "Fecha",
|
||||||
|
"you-can-schedule-the-post-just-select-the-date-and-time": "Puede programar un post, solo seleccione la fecha y hora.",
|
||||||
|
"scheduled": "Programado",
|
||||||
|
"publish": "Publicar",
|
||||||
|
"please-check-your-theme-configuration": "Verifique la configuración del tema.",
|
||||||
|
"plugin-label": "Titulo del plugin",
|
||||||
|
"enabled": "Habilitado",
|
||||||
|
"disabled": "Deshabilitado",
|
||||||
|
"cli-mode": "Modo Cli",
|
||||||
|
"command-line-mode": "Linea de comandos",
|
||||||
|
"enable-the-command-line-mode-if-you-add-edit": "Habilite el modo linea de comando si usted crea, edita o elimina posts o paginas desde el sistema de archivos."
|
||||||
}
|
}
|
|
@ -0,0 +1,166 @@
|
||||||
|
{
|
||||||
|
"language-data":
|
||||||
|
{
|
||||||
|
"native": "Bahasa Indonesia (Indonesia)",
|
||||||
|
"english-name": "Indonesian",
|
||||||
|
"last-update": "2015-09-29",
|
||||||
|
"author": "Cempal",
|
||||||
|
"email": "contact@cempal.com",
|
||||||
|
"website": "http://www.cempal.com"
|
||||||
|
},
|
||||||
|
|
||||||
|
"username": "Nama Pengguna",
|
||||||
|
"password": "Kata Sandi",
|
||||||
|
"confirm-password": "Ulangi Kata Sandi",
|
||||||
|
"editor": "Editor",
|
||||||
|
"dashboard": "Dasbor",
|
||||||
|
"role": "Peran",
|
||||||
|
"post": "Posting",
|
||||||
|
"posts": "Posting",
|
||||||
|
"users": "Pengguna",
|
||||||
|
"administrator": "Administrator",
|
||||||
|
"add": "Tambah",
|
||||||
|
"cancel": "Batal",
|
||||||
|
"content": "Isi",
|
||||||
|
"title": "Judul",
|
||||||
|
"no-parent": "Tanpa Induk",
|
||||||
|
"edit-page": "Sunting halaman",
|
||||||
|
"edit-post": "Sunting post",
|
||||||
|
"add-a-new-user": "Tambah pengguna baru",
|
||||||
|
"parent": "Induk",
|
||||||
|
"friendly-url": "Alamat URL Yang Ramah",
|
||||||
|
"description": "Penjelasan",
|
||||||
|
"posted-by": "Diterbitkan oleh",
|
||||||
|
"tags": "Label",
|
||||||
|
"position": "Posisi",
|
||||||
|
"save": "Simpan",
|
||||||
|
"draft": "Konsep",
|
||||||
|
"delete": "Hapus",
|
||||||
|
"registered": "Terdaftar",
|
||||||
|
"Notifications": "Pemberitahuan",
|
||||||
|
"profile": "Profil",
|
||||||
|
"email": "Surat elektronik",
|
||||||
|
"settings": "Pengaturan",
|
||||||
|
"general": "Umum",
|
||||||
|
"advanced": "Lanjutan",
|
||||||
|
"regional": "Wilayah",
|
||||||
|
"about": "Tentang",
|
||||||
|
"login": "Masuk",
|
||||||
|
"logout": "Keluar",
|
||||||
|
"manage": "Kelola",
|
||||||
|
"themes": "Tema",
|
||||||
|
"prev-page": "Halaman sebelumnya",
|
||||||
|
"next-page": "Halaman selanjutnya",
|
||||||
|
"configure-plugin": "Atur plugin",
|
||||||
|
"confirm-delete-this-action-cannot-be-undone": "Konfirmasi penghapusan, tindakan ini tidak dapat dibatalkan.",
|
||||||
|
"site-title": "Judul situs",
|
||||||
|
"site-slogan": "Slogan situs",
|
||||||
|
"site-description": "Deskripsi situs",
|
||||||
|
"footer-text": "Footer teks",
|
||||||
|
"posts-per-page": "Jumlah posting per halaman",
|
||||||
|
"site-url": "Alamat situs",
|
||||||
|
"writting-settings": "Pengaturan penulisan",
|
||||||
|
"url-filters": "Filter URL",
|
||||||
|
"page": "Halaman",
|
||||||
|
"pages": "Halaman",
|
||||||
|
"home": "Beranda",
|
||||||
|
"welcome-back": "Selamat Datang kembali",
|
||||||
|
"language": "Bahasa",
|
||||||
|
"website": "Website",
|
||||||
|
"timezone": "Zona waktu",
|
||||||
|
"locale": "Lokal",
|
||||||
|
"new-post": "Post baru",
|
||||||
|
"html-and-markdown-code-supported": "Mendukung HTML dan kode Markdown",
|
||||||
|
"new-page": "Halaman baru",
|
||||||
|
"manage-posts": "Kelola posting",
|
||||||
|
"published-date": "Tanggal diterbitkan",
|
||||||
|
"modified-date": "Tanggal modifikasi",
|
||||||
|
"empty-title": "Judul kosong",
|
||||||
|
"plugins": "Plugin",
|
||||||
|
"install-plugin": "Pasang plugin",
|
||||||
|
"uninstall-plugin": "Hapus plugin",
|
||||||
|
"new-password": "Kata kunci baru",
|
||||||
|
"edit-user": "Edit pengguna",
|
||||||
|
"publish-now": "Publikasi sekarang",
|
||||||
|
"first-name": "Nama depan",
|
||||||
|
"last-name": "Nama belakang",
|
||||||
|
"bludit-version": "Versi Bludit",
|
||||||
|
"powered-by": "Dipersembahkan oleh",
|
||||||
|
"recent-posts": "Posting Terbaru",
|
||||||
|
"manage-pages": "Kelola halaman",
|
||||||
|
"advanced-options": "Pilihan tingkat lanjut",
|
||||||
|
"user-deleted": "Pengguna dihapus",
|
||||||
|
"page-added-successfully": "Halaman telah ditambahkan",
|
||||||
|
"post-added-successfully": "Post telah ditambahkan",
|
||||||
|
"the-post-has-been-deleted-successfully": "Posting telah berhasil dihapus",
|
||||||
|
"the-page-has-been-deleted-successfully": "Halaman telah berhasil dihapus",
|
||||||
|
"username-or-password-incorrect": "Nama pengguna atau kata kunci tidak cocok",
|
||||||
|
"database-regenerated": "Database diregenerasi",
|
||||||
|
"the-changes-have-been-saved": "Perubahan telah disimpan",
|
||||||
|
"enable-more-features-at": "Memungkinkan lebih banyak fitur di",
|
||||||
|
"username-already-exists": "Nama pengguna sudah ada",
|
||||||
|
"username-field-is-empty": "Nama pengguna tidak diisi",
|
||||||
|
"the-password-and-confirmation-password-do-not-match":"Kata kunci dan konfirmasi kata kunci tidak sama",
|
||||||
|
"user-has-been-added-successfully": "Pengguna telah ditambahkan",
|
||||||
|
"you-do-not-have-sufficient-permissions": "Anda tidak memiliki izin yang memadai untuk mengakses halaman ini, hubungi administrator.",
|
||||||
|
"settings-advanced-writting-settings": "Pengaturan->Tingkat Lanjut->Pengaturan Penulisan",
|
||||||
|
"new-posts-and-pages-synchronized": "Post dan halaman baru telah disinkronisasi.",
|
||||||
|
"you-can-choose-the-users-privilege": "Anda dapat memilih hak pengguna. Peran Editor hanya bisa menulis halaman dan posting.",
|
||||||
|
"email-will-not-be-publicly-displayed": "Alamat surat elektronik tidak akan ditampilkan untuk umum. Direkomendasikan untuk pemulihan kata kunci dan pemberitahuan.",
|
||||||
|
"use-this-field-to-name-your-site": "Gunakan bidang ini untuk nama situs Anda, akan muncul di bagian atas setiap halaman situs Anda.",
|
||||||
|
"use-this-field-to-add-a-catchy-phrase": "Gunakan bidang ini untuk menambahkan frase menarik di situs Anda.",
|
||||||
|
"you-can-add-a-site-description-to-provide": "Anda dapat menambahkan deskripsi situs untuk memberikan informasi singkat mengenai situs Anda.",
|
||||||
|
"you-can-add-a-small-text-on-the-bottom": "Anda dapat menambahkan teks di bagian bawah setiap halaman. misalnya: hak cipta, pemilik, tanggal, dll.",
|
||||||
|
"number-of-posts-to-show-per-page": "Jumlah posting untuk ditampilkan per halaman.",
|
||||||
|
"the-url-of-your-site": "Alamat URL dari situs Anda.",
|
||||||
|
"add-or-edit-description-tags-or": "Tambahkan atau ubah deskripsi, label, atau ubah alamat URL.",
|
||||||
|
"select-your-sites-language": "Pilih bahasa bagi situs Anda.",
|
||||||
|
"select-a-timezone-for-a-correct": "Pilih zona waktu bagi situs Anda.",
|
||||||
|
"you-can-use-this-field-to-define-a-set-of": "Anda dapat menggunakan bidang ini untuk mendefinisikan satu set parameter yang terkait dengan bahasa, negara dan preferensi khusus.",
|
||||||
|
"you-can-modify-the-url-which-identifies":"Anda dapat memodifikasi URL yang mengidentifikasi halaman atau posting menggunakan kata kunci yang mudah dipahami manusia. Tidak lebih dari 150 karakter.",
|
||||||
|
"this-field-can-help-describe-the-content": "Bidang ini untuk membantu menjelaskan isi dalam beberapa kata. Tidak lebih dari 150 karakter.",
|
||||||
|
"write-the-tags-separeted-by-comma": "Tulis label yang dipisahkan oleh tanda koma. Contohnya: label1, label2, label3",
|
||||||
|
"delete-the-user-and-all-its-posts":"Hapus pengguna dan semua postingnya",
|
||||||
|
"delete-the-user-and-associate-its-posts-to-admin-user": "Hapus pengguna dan hibahkan postingnya kepada pengguna dengan tingkatan admin",
|
||||||
|
"read-more": "Baca seterusnya",
|
||||||
|
"show-blog": "Tampilkan blog",
|
||||||
|
"default-home-page": "Beranda default",
|
||||||
|
"version": "Versi",
|
||||||
|
"there-are-no-drafts": "Tidak ada draft.",
|
||||||
|
"create-a-new-article-for-your-blog":"Buat artikel baru untuk blog Anda.",
|
||||||
|
"create-a-new-page-for-your-website":"Membuat halaman baru untuk situs web Anda.",
|
||||||
|
"invite-a-friend-to-collaborate-on-your-website":"Undang teman untuk berkolaborasi pada situs Anda.",
|
||||||
|
"change-your-language-and-region-settings":"Ubah pengaturan bahasa dan wilayah Anda.",
|
||||||
|
"language-and-timezone":"Bahasa dan zona waktu",
|
||||||
|
"author": "Penulis",
|
||||||
|
"start-here": "Mulai dari sini",
|
||||||
|
"install-theme": "Pasang tema",
|
||||||
|
"first-post": "Posting pertama",
|
||||||
|
"congratulations-you-have-successfully-installed-your-bludit": "Selamat Anda telah berhasil menginstal **Bludit**",
|
||||||
|
"whats-next": "Apa Berikutnya",
|
||||||
|
"manage-your-bludit-from-the-admin-panel": "Kelola Bludit Anda dari [admin area](./admin/)",
|
||||||
|
"follow-bludit-on": "Ikuti Bludit di",
|
||||||
|
"visit-the-support-forum": "Kunjungi [forum](http://forum.bludit.com) untuk bantuan",
|
||||||
|
"read-the-documentation-for-more-information": "Baca [documentation](http://docs.bludit.com) untuk informasi lebih lanjut",
|
||||||
|
"share-with-your-friends-and-enjoy": "Berbagi dengan teman Anda dan selamat menikmati",
|
||||||
|
"the-page-has-not-been-found": "Halaman tidak ditemukan.",
|
||||||
|
"error": "Kesalahan",
|
||||||
|
"bludit-installer": "Bantuan Pemasangan Bludit",
|
||||||
|
"welcome-to-the-bludit-installer": "Selamat Datang pada Bantuan Pemasangan Bludit",
|
||||||
|
"complete-the-form-choose-a-password-for-the-username-admin": "Lengkapi formulir, pilih kata kunci untuk pengguna « admin »",
|
||||||
|
"password-visible-field": "Kata kunci, bidang yang terlihat!",
|
||||||
|
"install": "Pasang",
|
||||||
|
"choose-your-language": "Pilih bahasa Anda",
|
||||||
|
"next": "Berikutnya",
|
||||||
|
"the-password-field-is-empty": "Kata kunci tidak diisi",
|
||||||
|
"your-email-address-is-invalid":"Alamat surat elektronik tidak benar.",
|
||||||
|
"proceed-anyway": "Tetap lanjutkan!",
|
||||||
|
"drafts":"Draft",
|
||||||
|
"ip-address-has-been-blocked": "Alamat IP diblokir.",
|
||||||
|
"try-again-in-a-few-minutes": "Coba lagi dalam beberapa menit.",
|
||||||
|
"date": "Tanggal",
|
||||||
|
"you-can-schedule-the-post-just-select-the-date-and-time": "Anda dapat menjadwalkan posting, cukup pilih tanggal dan waktu.",
|
||||||
|
"scheduled": "Telah dijadwalkan",
|
||||||
|
"publish": "Terbitkan",
|
||||||
|
"please-check-your-theme-configuration": "Silahkan periksa pengaturan tema Anda."
|
||||||
|
}
|
|
@ -3,33 +3,34 @@
|
||||||
{
|
{
|
||||||
"native": "Русский (Россия)",
|
"native": "Русский (Россия)",
|
||||||
"english-name": "Russian",
|
"english-name": "Russian",
|
||||||
"last-update": "2015-07-14",
|
"last-update": "2015-09-29",
|
||||||
"author": "voron",
|
"author": "Сергей Ворон",
|
||||||
"email": "sergey@voron.pw",
|
"email": "sergey@voron.pw",
|
||||||
"website": "voron.pw"
|
"website": "voron.pw"
|
||||||
},
|
},
|
||||||
|
|
||||||
"username": "Логин",
|
"username": "Логин",
|
||||||
"password": "Пароль",
|
"password": "Пароль",
|
||||||
"confirm-password": "Подтвердите пароль",
|
"confirm-password": "Еще раз пароль",
|
||||||
"editor": "Редактор",
|
"editor": "Редактор",
|
||||||
"dashboard": "Панель управления",
|
"dashboard": "Панель управления",
|
||||||
"role": "Роль",
|
"role": "Роль",
|
||||||
|
"post": "Запись",
|
||||||
"posts": "Записи",
|
"posts": "Записи",
|
||||||
"users": "Пользователи",
|
"users": "Пользователи",
|
||||||
"administrator": "Администратор",
|
"administrator": "Администратор",
|
||||||
"add": "Добавить",
|
"add": "Добавить",
|
||||||
"cancel": "Отмена",
|
"cancel": "Отмена",
|
||||||
"content": "Материал",
|
"content": "Содержимое",
|
||||||
"title": "Заголовок",
|
"title": "Заголовок",
|
||||||
"no-parent": "Нет родителя",
|
"no-parent": "Нет родителя",
|
||||||
"edit-page": "Редактировать страницу",
|
"edit-page": "Редактировать",
|
||||||
"edit-post": "Редактировать запись",
|
"edit-post": "Редактировать",
|
||||||
"add-a-new-user": "Добавить пользователя",
|
"add-a-new-user": "Добавить пользователя",
|
||||||
"parent": "Родитель",
|
"parent": "Родитель",
|
||||||
"friendly-url": "Дружественные URL",
|
"friendly-url": "Дружественные URL",
|
||||||
"description": "Описание",
|
"description": "Описание",
|
||||||
"posted-by": "Опубликовал",
|
"posted-by": "Автор",
|
||||||
"tags": "Теги",
|
"tags": "Теги",
|
||||||
"position": "Позиция",
|
"position": "Позиция",
|
||||||
"save": "Сохранить",
|
"save": "Сохранить",
|
||||||
|
@ -41,68 +42,126 @@
|
||||||
"email": "Email",
|
"email": "Email",
|
||||||
"settings": "Настройки",
|
"settings": "Настройки",
|
||||||
"general": "Основные",
|
"general": "Основные",
|
||||||
"advanced": "Дополнительно",
|
"advanced": "Дополнительные",
|
||||||
"regional": "Региональные",
|
"regional": "Региональные",
|
||||||
"about": "О системе",
|
"about": "О системе",
|
||||||
"login": "Войти",
|
"login": "Вход",
|
||||||
"logout": "Выйти",
|
"logout": "Выход",
|
||||||
"manage": "Управление",
|
"manage": "Управление",
|
||||||
"themes": "Темы",
|
"themes": "Темы",
|
||||||
"configure-plugin": "Настройка плагина",
|
"prev-page": "Предыдущая страница",
|
||||||
"confirm-delete-this-action-cannot-be-undone": "Подтвердите удаление, это действие не может быть отменено.",
|
"next-page": "Следующая страница",
|
||||||
"site-title": "Название сайта",
|
"configure-plugin": "Настроить",
|
||||||
"site-slogan": "Слоган сайта",
|
"confirm-delete-this-action-cannot-be-undone": "Подтвердите удаление, это действие не обратимо.",
|
||||||
"site-description": "Описание сайта",
|
"site-title": "Заголовок",
|
||||||
"footer-text": "Текст нижней части страницы",
|
"site-slogan": "Слоган",
|
||||||
|
"site-description": "Описание",
|
||||||
|
"footer-text": "Текст подвала",
|
||||||
"posts-per-page": "Записей на страницу",
|
"posts-per-page": "Записей на страницу",
|
||||||
"site-url": "URL сайта",
|
"site-url": "URL сайта",
|
||||||
"writting-settings": "Настройки написания",
|
"writting-settings": "Настройки написания",
|
||||||
"url-filters": "URL фильтры",
|
"url-filters": "URL фильтры",
|
||||||
"pages": "Страници",
|
"page": "Страница",
|
||||||
|
"pages": "Страницы",
|
||||||
"home": "Главная",
|
"home": "Главная",
|
||||||
"welcome-back": "Добро пожаловать",
|
"welcome-back": "С возвращением",
|
||||||
"language": "Язык",
|
"language": "Язык",
|
||||||
"website": "Сайт",
|
"website": "Сайт",
|
||||||
"timezone": "Часовой пояс",
|
"timezone": "Часовой пояс",
|
||||||
"locale": "Место пребывания",
|
"locale": "Локализация",
|
||||||
"notifications": "Уведомления",
|
"new-post": "Добавить запись",
|
||||||
"new-post": "Новыя запись",
|
|
||||||
"html-and-markdown-code-supported": "Поддерживается код HTML и Markdown",
|
"html-and-markdown-code-supported": "Поддерживается код HTML и Markdown",
|
||||||
"new-page": "Новая страница",
|
"new-page": "Добавить страницу",
|
||||||
"manage-posts": "Управление записями",
|
"manage-posts": "Управление записями",
|
||||||
"published-date": "Дата публикации",
|
"published-date": "Дата публикации",
|
||||||
"modified-date": "Дата редактирования",
|
"modified-date": "Дата изменения",
|
||||||
"empty-title": "Пустой заголовок",
|
"empty-title": "Пустой заголовок",
|
||||||
"plugins": "Плагины",
|
"plugins": "Плагины",
|
||||||
"install-plugin": "Установить плагин",
|
"install-plugin": "Установить",
|
||||||
"uninstall-plugin": "Удалить плагин",
|
"uninstall-plugin": "Удалить",
|
||||||
"new-password": "Новый пароль",
|
"new-password": "Новый пароль",
|
||||||
"edit-user": "Редактировать пользователя",
|
"edit-user": "Редактировать пользователя",
|
||||||
"publish-now": "Опубликовать сейчас",
|
"publish-now": "Публиковать сейчас",
|
||||||
"first-name": "Имя",
|
"first-name": "Имя",
|
||||||
"last-name": "Фамилия",
|
"last-name": "Фамилия",
|
||||||
|
"bludit-version": "Версия Bludit",
|
||||||
|
"powered-by": "Работает на",
|
||||||
|
"recent-posts": "Последние записи",
|
||||||
"manage-pages": "Управление страницами",
|
"manage-pages": "Управление страницами",
|
||||||
"advanced-options": "Дополнительные опции",
|
"advanced-options": "Дополнительные опции",
|
||||||
|
"user-deleted": "Пользователь удален",
|
||||||
|
"page-added-successfully": "Страница успешно добавлена",
|
||||||
|
"post-added-successfully": "Запись успешно добавлена",
|
||||||
|
"the-post-has-been-deleted-successfully": "Запись успешно удалена",
|
||||||
|
"the-page-has-been-deleted-successfully": "Страница успешно удалена",
|
||||||
|
"username-or-password-incorrect": "Неверные логин или пароль",
|
||||||
"database-regenerated": "База данных регенерирована",
|
"database-regenerated": "База данных регенерирована",
|
||||||
"html-markdown-code-supported": "Поддерживается код HTML и Markdown.",
|
"the-changes-have-been-saved": "Изменения сохранены",
|
||||||
"enable-more-features-at": "Включить больше возможностей на",
|
"enable-more-features-at": "Включить больше возможностей на",
|
||||||
"settings-advanced-writting-settings": "Настройки->Дополнительно->Настройки написания",
|
"username-already-exists": "Имя пользователя уже занято",
|
||||||
|
"username-field-is-empty": "Поле логин пустое",
|
||||||
|
"the-password-and-confirmation-password-do-not-match":"Пароли не совпадают",
|
||||||
|
"user-has-been-added-successfully": "Пользователь успешно добавлен",
|
||||||
|
"you-do-not-have-sufficient-permissions": "У вас не достаточно прав для доступа к этой странице, обратитесь к администратору.",
|
||||||
|
"settings-advanced-writting-settings": "Настройки->Дополнительные->Настройки написания",
|
||||||
"new-posts-and-pages-synchronized": "Новые записи и страницы синхронизированы.",
|
"new-posts-and-pages-synchronized": "Новые записи и страницы синхронизированы.",
|
||||||
"you-can-choose-the-users-privilege": "Вы можете выбрать привилегию пользователя. Роль редактора позволяет только создание страниц и записей.",
|
"you-can-choose-the-users-privilege": "Вы можете выбрать привилегию пользователя. Роль редактора позволяет только создание страниц и записей.",
|
||||||
"email-will-not-be-publicly-displayed": "E-mail не будет отображаться публично. Рекомендуется для восстановления пароля и уведомлений.",
|
"email-will-not-be-publicly-displayed": "Email не будет отображаться публично. Рекомендуется для восстановления пароля и уведомлений.",
|
||||||
"use-this-field-to-name-your-site": "Используйте это поле, чтобы назвать свой сайт, оно появится в верхней части каждой страницы вашего сайта.",
|
"use-this-field-to-name-your-site": "Используйте это поле, для названия вашего сайта, оно появится в верхней части каждой страницы сайта.",
|
||||||
"use-this-field-to-add-a-catchy-prhase": "Используйте это поле, чтобы добавить броскую фразу на вашем сайте.",
|
"use-this-field-to-add-a-catchy-phrase": "Используйте это поле, чтобы добавить броскую фразу на вашем сайте.",
|
||||||
"you-can-add-a-site-description-to-provide": "Вы можете добавить описание сайта, чтобы дать краткую биографию или описание вашего сайта.",
|
"you-can-add-a-site-description-to-provide": "Вы можете добавить краткое описание вашего сайта.",
|
||||||
"you-can-add-a-small-text-on-the-bottom": "Вы можете добавить небольшой текст в нижней части каждой страницы. например: авторское право, владелец, дата, и т.д.",
|
"you-can-add-a-small-text-on-the-bottom": "Вы можете добавить небольшой текст в нижней части каждой страницы. Например: авторское право, имя владельца, даты и т.д.",
|
||||||
"number-of-posts-to-show-per-page": "Количество записей, для показа на странице.",
|
"number-of-posts-to-show-per-page": "Количество записей для отображения на странице.",
|
||||||
"the-url-of-your-site": "URL вашего сайта.",
|
"the-url-of-your-site": "URL вашего сайта.",
|
||||||
"add-or-edit-description-tags-or": "Добавить или редактировать описание, теги или изменить дружественный URL.",
|
"add-or-edit-description-tags-or": "Добавить или редактировать описание, теги или изменить дружественный URL.",
|
||||||
"select-your-sites-language": "Выберите язык вашего сайта.",
|
"select-your-sites-language": "Выберите язык вашего сайта.",
|
||||||
"select-a-timezone-for-a-correct": "Выберите часовой пояс для правильного отображения даты/времени на вашем сайте.",
|
"select-a-timezone-for-a-correct": "Выберите часовой пояс для корректного отображения даты и времени на вашем сайте.",
|
||||||
"you-can-use-this-field-to-define-a-set-of": "Вы можете использовать это поле, чтобы определить набор параметров, связанных с языком, страной и особых преференций.",
|
"you-can-use-this-field-to-define-a-set-of": "Вы можете использовать это поле, чтобы определить набор параметров, связанных с языком, страной и особых предпочтений.",
|
||||||
"email": "Email",
|
"you-can-modify-the-url-which-identifies":"Вы можете изменить URL, который идентифицирует страницу или запись с помощью удобочитаемых ключевых слов. Не более 150 символов.",
|
||||||
"email": "Email",
|
"this-field-can-help-describe-the-content": "Это поле может помочь описать содержимое в нескольких словах. Не более 150 символов.",
|
||||||
"email": "Email",
|
"write-the-tags-separeted-by-comma": "Укажите теги через запятую. Например: тег1, тег2, тег3",
|
||||||
"email": "Email",
|
"delete-the-user-and-all-its-posts":"Удалить пользователя и все его записи",
|
||||||
"email": "Email"
|
"delete-the-user-and-associate-its-posts-to-admin-user": "Удалить пользователя и связать его записи с администратором",
|
||||||
|
"read-more": "Читать далее",
|
||||||
|
"show-blog": "Показать блог",
|
||||||
|
"default-home-page": "Домашняя страница по умолчанию",
|
||||||
|
"version": "Версия",
|
||||||
|
"there-are-no-drafts": "Черновиков нет",
|
||||||
|
"create-a-new-article-for-your-blog":"Создать новую запись для своего блога.",
|
||||||
|
"create-a-new-page-for-your-website":"Создать новую страницу на вашем сайте.",
|
||||||
|
"invite-a-friend-to-collaborate-on-your-website":"Пригласить друга сотрудничать на вашем сайте.",
|
||||||
|
"change-your-language-and-region-settings":"Изменить настройки языка и региона",
|
||||||
|
"language-and-timezone":"Язык и часовой пояс",
|
||||||
|
"author": "Автор",
|
||||||
|
"start-here": "Начните здесь",
|
||||||
|
"install-theme": "Установить",
|
||||||
|
"first-post": "Первая запись",
|
||||||
|
"congratulations-you-have-successfully-installed-your-bludit": "Поздравляем с успешной установкой **Bludit**",
|
||||||
|
"whats-next": "Что дальше",
|
||||||
|
"manage-your-bludit-from-the-admin-panel": "Управляйте Bludit из [панели управления](./admin/)",
|
||||||
|
"follow-bludit-on": "Следуйте за Bludit в",
|
||||||
|
"visit-the-support-forum": "Посетите [форум](http://forum.bludit.com) для получения поддержки",
|
||||||
|
"read-the-documentation-for-more-information": "Прочтите [документацию](http://docs.bludit.com) для получения большей информации",
|
||||||
|
"share-with-your-friends-and-enjoy": "Делитесь с друзьями и наслаждайтесь",
|
||||||
|
"the-page-has-not-been-found": "Страница не найдена.",
|
||||||
|
"error": "Ошибка",
|
||||||
|
"bludit-installer": "Установка Bludit",
|
||||||
|
"welcome-to-the-bludit-installer": "Добро пожаловать в установщик Bludit",
|
||||||
|
"complete-the-form-choose-a-password-for-the-username-admin": "Выберете пароль для пользователя « admin »",
|
||||||
|
"password-visible-field": "Пароль",
|
||||||
|
"install": "Установить",
|
||||||
|
"choose-your-language": "Выберете ваш язык",
|
||||||
|
"next": "Далее",
|
||||||
|
"the-password-field-is-empty": "Поле с паролем пустое",
|
||||||
|
"your-email-address-is-invalid":"Ваш email недействителен.",
|
||||||
|
"proceed-anyway": "Все равно продолжить!",
|
||||||
|
"drafts":"Черновики",
|
||||||
|
"ip-address-has-been-blocked": "IP адрес заблокирован.",
|
||||||
|
"try-again-in-a-few-minutes": "Попробуйте еще раз через несколько минут.",
|
||||||
|
"date": "Дата",
|
||||||
|
"you-can-schedule-the-post-just-select-the-date-and-time": "Вы можете запланировать запись, просто выберите дату и время.",
|
||||||
|
"scheduled": "Запланировано",
|
||||||
|
"publish": "Опубликовать",
|
||||||
|
"please-check-your-theme-configuration": "Пожалуйста, проверьте конфигурацию вашей темы.",
|
||||||
|
"plugin-label": "Метка плагина"
|
||||||
}
|
}
|
|
@ -164,5 +164,4 @@
|
||||||
"publish": "發表",
|
"publish": "發表",
|
||||||
"please-check-your-theme-configuration": "請檢查您的佈景主題設定",
|
"please-check-your-theme-configuration": "請檢查您的佈景主題設定",
|
||||||
"plugin-label": "延伸模組標籤"
|
"plugin-label": "延伸模組標籤"
|
||||||
|
|
||||||
}
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"plugin-data":
|
||||||
|
{
|
||||||
|
"name": "Disqus",
|
||||||
|
"description": "Disqus ist eine Kommentar-Plattform für Websites. Um das Plugin verwenden zu können, muss ein Konto bei Disqus.com eingerichtet werden."
|
||||||
|
},
|
||||||
|
"disqus-shortname": "Disqus shortname",
|
||||||
|
"enable-disqus-on-pages": "Disqus auf Seiten verwenden",
|
||||||
|
"enable-disqus-on-posts": "Disqus bei Beiträgen verwenden",
|
||||||
|
"enable-disqus-on-default-home-page": "Disqus auf der Hauptseite verwenden"
|
||||||
|
}
|
|
@ -5,9 +5,9 @@
|
||||||
"description": "Disqus is a blog comment hosting service for web sites. It's necesary to register on Disqus.com before using this plugin.",
|
"description": "Disqus is a blog comment hosting service for web sites. It's necesary to register on Disqus.com before using this plugin.",
|
||||||
"author": "Bludit",
|
"author": "Bludit",
|
||||||
"email": "",
|
"email": "",
|
||||||
"website": "http://www.bludit.com",
|
"website": "https://github.com/dignajar/bludit-plugins",
|
||||||
"version": "0.1",
|
"version": "0.3",
|
||||||
"releaseDate": "2015-08-02"
|
"releaseDate": "2015-10-02"
|
||||||
},
|
},
|
||||||
"disqus-shortname": "Disqus shortname",
|
"disqus-shortname": "Disqus shortname",
|
||||||
"enable-disqus-on-pages": "Enable Disqus on pages",
|
"enable-disqus-on-pages": "Enable Disqus on pages",
|
||||||
|
|
|
@ -2,12 +2,7 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Disqus sistema de comentarios",
|
"name": "Disqus sistema de comentarios",
|
||||||
"description": "Disqus es un servicio de comentarios online. Es necesario registrarse en Disqus.com antes de utilizar este plugin.",
|
"description": "Disqus es un servicio de comentarios online. Es necesario registrarse en Disqus.com antes de utilizar este plugin."
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-08-17"
|
|
||||||
},
|
},
|
||||||
"disqus-shortname": "Disqus shortname",
|
"disqus-shortname": "Disqus shortname",
|
||||||
"enable-disqus-on-pages": "Habilitar Disqus en las páginas",
|
"enable-disqus-on-pages": "Habilitar Disqus en las páginas",
|
||||||
|
|
|
@ -2,12 +2,7 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Disqus système de commentaire",
|
"name": "Disqus système de commentaire",
|
||||||
"description": "Disqus est un service Web de discussion et de commentaires d'articles centralisé avec authentification unique. Il est nécessaire de s’inscrire sur Disqus.com avant d’utiliser ce plugin.",
|
"description": "Disqus est un service Web de discussion et de commentaires d'articles centralisé avec authentification unique. Il est nécessaire de s’inscrire sur Disqus.com avant d’utiliser ce plugin."
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-08-02"
|
|
||||||
},
|
},
|
||||||
"disqus-shortname": "Votre ID Disqus",
|
"disqus-shortname": "Votre ID Disqus",
|
||||||
"enable-disqus-on-pages": "Activer Disqus sur les pages",
|
"enable-disqus-on-pages": "Activer Disqus sur les pages",
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"plugin-data":
|
||||||
|
{
|
||||||
|
"name": "Google Tools",
|
||||||
|
"description": "This plugin generate the meta tag to validate your site with Google Webmasters Tools and the JavaScript code to track your site with Google Analytics.",
|
||||||
|
"author": "Bludit",
|
||||||
|
"email": "",
|
||||||
|
"website": "https://github.com/dignajar/bludit-plugins",
|
||||||
|
"version": "0.3",
|
||||||
|
"releaseDate": "2015-10-02"
|
||||||
|
},
|
||||||
|
"google-webmasters-tools": "Google Webmasters tools",
|
||||||
|
"google-analytics-tracking-id": "Google Analytics Tracking ID",
|
||||||
|
"complete-this-field-with-the-google-site-verification": "Complete this field with the Google Site verification to verify the site owner.",
|
||||||
|
"complete-this-field-with-the-tracking-id": "Complete this field with the Tracking ID to generate the Javascript tracking code for Google Analytics."
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"plugin-data":
|
||||||
|
{
|
||||||
|
"name": "Herramientas de Google",
|
||||||
|
"description": "Este plugin genera los meta tags para validar el sitio con Google Webmasters Tools y el codigo JavaScript para trackear el sitio con Google Analytics."
|
||||||
|
},
|
||||||
|
"google-webmasters-tools": "Google Webmasters tools",
|
||||||
|
"google-analytics-tracking-id": "Google Analytics Tracking ID",
|
||||||
|
"complete-this-field-with-the-google-site-verification": "Complete este campo con el código de verificación de Google Webmasters Tools para verificar la propiedad del sitio.",
|
||||||
|
"complete-this-field-with-the-tracking-id": "Complete este campo con el Tracking ID para generar el código Javascript para trackear el sitio."
|
||||||
|
}
|
|
@ -0,0 +1,63 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class pluginGoogleTools extends Plugin {
|
||||||
|
|
||||||
|
public function init()
|
||||||
|
{
|
||||||
|
$this->dbFields = array(
|
||||||
|
'tracking-id'=>'',
|
||||||
|
'google-site-verification'=>''
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function form()
|
||||||
|
{
|
||||||
|
global $Language;
|
||||||
|
|
||||||
|
$html = '<div>';
|
||||||
|
$html .= '<label for="jsgoogle-site-verification">'.$Language->get('Google Webmasters tools').'</label>';
|
||||||
|
$html .= '<input id="jsgoogle-site-verification" type="text" name="google-site-verification" value="'.$this->getDbField('google-site-verification').'">';
|
||||||
|
$html .= '<div class="forms-desc">'.$Language->get('complete-this-field-with-the-google-site-verification').'</div>';
|
||||||
|
$html .= '</div>';
|
||||||
|
|
||||||
|
$html .= '<div>';
|
||||||
|
$html .= '<label for="jstracking-id">'.$Language->get('Google Analytics Tracking ID').'</label>';
|
||||||
|
$html .= '<input id="jstracking-id" type="text" name="tracking-id" value="'.$this->getDbField('tracking-id').'">';
|
||||||
|
$html .= '<div class="forms-desc">'.$Language->get('complete-this-field-with-the-tracking-id').'</div>';
|
||||||
|
$html .= '</div>';
|
||||||
|
|
||||||
|
return $html;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function siteHead()
|
||||||
|
{
|
||||||
|
$html = PHP_EOL.'<!-- Google Webmasters Tools -->'.PHP_EOL;
|
||||||
|
$html .= '<meta name="google-site-verification" content="'.$this->getDbField('google-site-verification').'">'.PHP_EOL;
|
||||||
|
|
||||||
|
if(Text::isEmpty($this->getDbField('google-site-verification'))) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $html;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function siteBodyEnd()
|
||||||
|
{
|
||||||
|
$html = PHP_EOL.'<!-- Google Analytics -->'.PHP_EOL;
|
||||||
|
$html .= "<script>
|
||||||
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||||
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||||
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||||
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
|
ga('create', '".$this->getDbField('tracking-id')."', 'auto');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>".PHP_EOL;
|
||||||
|
|
||||||
|
if(Text::isEmpty($this->getDbField('tracking-id'))) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $html;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"plugin-data":
|
||||||
|
{
|
||||||
|
"name": "Wartungsmodus",
|
||||||
|
"description": "Wartungsmodus für die Website mit Zugang zum Admin-Bereich."
|
||||||
|
},
|
||||||
|
|
||||||
|
"enable-maintence-mode": "Aktivierung des Wartungsmodus",
|
||||||
|
"message": "Auf der Website angezeigter Hinweis"
|
||||||
|
}
|
|
@ -5,9 +5,9 @@
|
||||||
"description": "Set your site on maintenance mode, you can access to admin area.",
|
"description": "Set your site on maintenance mode, you can access to admin area.",
|
||||||
"author": "Bludit",
|
"author": "Bludit",
|
||||||
"email": "",
|
"email": "",
|
||||||
"website": "http://www.bludit.com",
|
"website": "https://github.com/dignajar/bludit-plugins",
|
||||||
"version": "0.1",
|
"version": "0.3",
|
||||||
"releaseDate": "2015-08-02"
|
"releaseDate": "2015-10-02"
|
||||||
},
|
},
|
||||||
|
|
||||||
"enable-maintence-mode": "Enable maintence mode",
|
"enable-maintence-mode": "Enable maintence mode",
|
||||||
|
|
|
@ -2,12 +2,7 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Modo mantenimiento",
|
"name": "Modo mantenimiento",
|
||||||
"description": "Configurar el sitio en modo mantenimiento, se puede acceder al panel de administración mientras tanto.",
|
"description": "Configurar el sitio en modo mantenimiento, se puede acceder al panel de administración mientras tanto."
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-08-02"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"enable-maintence-mode": "Habilitar modo mantenimiento",
|
"enable-maintence-mode": "Habilitar modo mantenimiento",
|
||||||
|
|
|
@ -2,12 +2,7 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Mode de Maintenance",
|
"name": "Mode de Maintenance",
|
||||||
"description": "Configurer votre site sur le mode de maintenance, vous pouvez accéder à la zone d'administration.",
|
"description": "Configurer votre site sur le mode de maintenance, vous pouvez accéder à la zone d'administration."
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-08-02"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"enable-maintence-mode": "Activer le mode de maintence",
|
"enable-maintence-mode": "Activer le mode de maintence",
|
||||||
|
|
|
@ -2,12 +2,7 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "維護模式",
|
"name": "維護模式",
|
||||||
"description": "設定您的網站為維護模式,但是您依然可以登入到管理介面",
|
"description": "設定您的網站為維護模式,但是您依然可以登入到管理介面"
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-08-02"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"enable-maintence-mode": "啟用維護模式",
|
"enable-maintence-mode": "啟用維護模式",
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"plugin-data":
|
||||||
|
{
|
||||||
|
"name": "Open Graph",
|
||||||
|
"description": "Plugin zur Verwendung des Open Graph Protocols."
|
||||||
|
}
|
||||||
|
}
|
|
@ -5,8 +5,8 @@
|
||||||
"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",
|
"author": "Bludit",
|
||||||
"email": "",
|
"email": "",
|
||||||
"website": "http://www.bludit.com",
|
"website": "https://github.com/dignajar/bludit-plugins",
|
||||||
"version": "0.1",
|
"version": "0.3",
|
||||||
"releaseDate": "2015-08-02"
|
"releaseDate": "2015-10-02"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -2,11 +2,6 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Open Graph",
|
"name": "Open Graph",
|
||||||
"description": "El protocolo Open Graph sirve para publicar contenido en las redes sociales.",
|
"description": "El protocolo Open Graph sirve para publicar contenido en las redes sociales."
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-08-02"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -2,11 +2,6 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Open Graph",
|
"name": "Open Graph",
|
||||||
"description": "Permets à n’importe quelle page web de devenir l’objet enrichi d’un graphe social. Par exemple, il est utilisé sur Facebook pour permettre à une page web de bénéficier des mêmes fonctionnalités que n’importe quel autre objet sur Facebook.",
|
"description": "Permets à n’importe quelle page web de devenir l’objet enrichi d’un graphe social. Par exemple, il est utilisé sur Facebook pour permettre à une page web de bénéficier des mêmes fonctionnalités que n’importe quel autre objet sur Facebook."
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-08-02"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -2,11 +2,6 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "開放社交關係圖",
|
"name": "開放社交關係圖",
|
||||||
"description": "開放社交關係圖協定可以讓任何網頁變成豐富的物件",
|
"description": "開放社交關係圖協定可以讓任何網頁變成豐富的物件"
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-08-02"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,12 +2,7 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Liste aller Seiten",
|
"name": "Liste aller Seiten",
|
||||||
"description": "Auflistung aller Seiten.",
|
"description": "Auflistung aller Seiten."
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-09-22"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"home": "Hauptseite",
|
"home": "Hauptseite",
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
"description": "Shows the list of pages in order.",
|
"description": "Shows the list of pages in order.",
|
||||||
"author": "Bludit",
|
"author": "Bludit",
|
||||||
"email": "",
|
"email": "",
|
||||||
"website": "http://www.bludit.com",
|
"website": "https://github.com/dignajar/bludit-plugins",
|
||||||
"version": "0.1",
|
"version": "0.3",
|
||||||
"releaseDate": "2015-08-02"
|
"releaseDate": "2015-10-02"
|
||||||
},
|
},
|
||||||
|
|
||||||
"home": "Home",
|
"home": "Home",
|
||||||
|
|
|
@ -2,12 +2,7 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Listado de páginas",
|
"name": "Listado de páginas",
|
||||||
"description": "Muestra las paginas en orden según la posición.",
|
"description": "Muestra las paginas en orden según la posición."
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-08-02"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"home": "Página de inicio",
|
"home": "Página de inicio",
|
||||||
|
|
|
@ -2,12 +2,7 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Page navigation",
|
"name": "Page navigation",
|
||||||
"description": "Constitue un menu avec les liens des pages dans la colonne du thème.",
|
"description": "Constitue un menu avec les liens des pages dans la colonne du thème."
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-08-02"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"home": "Accueil",
|
"home": "Accueil",
|
||||||
|
|
|
@ -2,12 +2,7 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "頁面列表",
|
"name": "頁面列表",
|
||||||
"description": "顯示所有頁面的列表",
|
"description": "顯示所有頁面的列表"
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-08-02"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"home": "首頁",
|
"home": "首頁",
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -2,13 +2,8 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "SimpleMDE",
|
"name": "SimpleMDE",
|
||||||
"description": "Ein einfacher und schöner JavaScript-Editor fü Markdown von @WesCossick. Angepasst für Bludit von Diego Najar.",
|
"description": "Ein einfacher und schöner JavaScript-Editor für; Markdown von @WesCossick. Angepasst für Bludit von Diego Najar."
|
||||||
"author": "NextStepWebs",
|
|
||||||
"email": "",
|
|
||||||
"website": "https://github.com/NextStepWebs/simplemde-markdown-editor",
|
|
||||||
"version": "1.7.1",
|
|
||||||
"releaseDate": "2015-09-22"
|
|
||||||
},
|
},
|
||||||
"toolbar": "Werkzeugleiste",
|
"toolbar": "Werkzeugleiste",
|
||||||
"tab-size": "Abstände der Tabstopps"
|
"tab-size": "Abstände der Tabstopps"
|
||||||
}
|
}
|
|
@ -6,8 +6,8 @@
|
||||||
"author": "NextStepWebs",
|
"author": "NextStepWebs",
|
||||||
"email": "",
|
"email": "",
|
||||||
"website": "https://github.com/NextStepWebs/simplemde-markdown-editor",
|
"website": "https://github.com/NextStepWebs/simplemde-markdown-editor",
|
||||||
"version": "1.7.1",
|
"version": "1.7.4",
|
||||||
"releaseDate": "2015-09-18"
|
"releaseDate": "2015-10-02"
|
||||||
},
|
},
|
||||||
"toolbar": "Toolbar",
|
"toolbar": "Toolbar",
|
||||||
"tab-size": "Tab size"
|
"tab-size": "Tab size"
|
||||||
|
|
|
@ -2,12 +2,7 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "SimpleMDE",
|
"name": "SimpleMDE",
|
||||||
"description": "Simple, facil y hermoso editor Markdown desarrollado por @WesCossick. Adaptado por Diego Najar para Bludit.",
|
"description": "Simple, facil y hermoso editor Markdown desarrollado por @WesCossick. Adaptado por Diego Najar para Bludit."
|
||||||
"author": "NextStepWebs",
|
|
||||||
"email": "",
|
|
||||||
"website": "https://github.com/NextStepWebs/simplemde-markdown-editor",
|
|
||||||
"version": "1.7.1",
|
|
||||||
"releaseDate": "2015-09-18"
|
|
||||||
},
|
},
|
||||||
"toolbar": "Barra de herramientas",
|
"toolbar": "Barra de herramientas",
|
||||||
"tab-size": "Tamaño de la tabulación"
|
"tab-size": "Tamaño de la tabulación"
|
||||||
|
|
|
@ -2,12 +2,7 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "SimpleMDE",
|
"name": "SimpleMDE",
|
||||||
"description": "Un éditeur Markdown en JavaScript simple, beau, et intégrable.",
|
"description": "Un éditeur Markdown en JavaScript simple, beau, et intégrable."
|
||||||
"author": "NextStepWebs",
|
|
||||||
"email": "",
|
|
||||||
"website": "https://github.com/NextStepWebs/simplemde-markdown-editor",
|
|
||||||
"version": "1.7.1",
|
|
||||||
"releaseDate": "2015-09-18"
|
|
||||||
},
|
},
|
||||||
"toolbar": "Toolbar",
|
"toolbar": "Toolbar",
|
||||||
"tab-size": "Tab size"
|
"tab-size": "Tab size"
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
{
|
{
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Liste aller Schlagwörter",
|
"name": "Liste aller Schlagwörter",
|
||||||
"description": "Anzeige aller Schlagwörter.",
|
"description": "Anzeige aller Schlagwörter."
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-09-22"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -5,8 +5,8 @@
|
||||||
"description": "Shows all tags.",
|
"description": "Shows all tags.",
|
||||||
"author": "Bludit",
|
"author": "Bludit",
|
||||||
"email": "",
|
"email": "",
|
||||||
"website": "http://www.bludit.com",
|
"website": "https://github.com/dignajar/bludit-plugins",
|
||||||
"version": "0.1",
|
"version": "0.3",
|
||||||
"releaseDate": "2015-08-02"
|
"releaseDate": "2015-10-02"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -2,11 +2,6 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Liste de mots clés",
|
"name": "Liste de mots clés",
|
||||||
"description": "Affiche la lise de tous les mots clés.",
|
"description": "Affiche la lise de tous les mots clés."
|
||||||
"author": "Bludit",
|
|
||||||
"email": "",
|
|
||||||
"website": "http://www.bludit.com",
|
|
||||||
"version": "0.1",
|
|
||||||
"releaseDate": "2015-08-02"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -2,11 +2,11 @@
|
||||||
"theme-data":
|
"theme-data":
|
||||||
{
|
{
|
||||||
"name": "Pure",
|
"name": "Pure",
|
||||||
"description": "Pure is based on the framework Pure.css. Website: http://purecss.io",
|
"description": "Simple and clean theme, based on the framework Pure.css. Website: http://purecss.io",
|
||||||
"author": "Bludit",
|
"author": "Bludit",
|
||||||
"email": "",
|
"email": "",
|
||||||
"website": "http://www.bludit.com",
|
"website": "https://github.com/dignajar/bludit-themes",
|
||||||
"version": "0.1",
|
"version": "0.3",
|
||||||
"releaseDate": "2015-08-02"
|
"releaseDate": "2015-10-02"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue