Plugins updated

This commit is contained in:
Diego Najar 2017-05-10 21:27:18 +02:00
parent 78b14c7104
commit 62581f5f85
15 changed files with 30 additions and 48 deletions

View File

@ -1,7 +1,7 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Bludit version
define('BLUDIT_VERSION', '1.6-beta');
define('BLUDIT_VERSION', '1.6');
define('BLUDIT_CODENAME', '');
define('BLUDIT_RELEASE_DATE', '');
define('BLUDIT_BUILD', '');

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "1.5.2",
"version": "1.6",
"releaseDate": "2016-05-28",
"license": "MIT",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6",
"notes": ""
}

View File

@ -1,10 +1,10 @@
{
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "1.5.2",
"releaseDate": "2016-05-28",
"website": "https://docs.bludit.com/en/api/introduction",
"version": "1.6",
"releaseDate": "2017-05-10",
"license": "MIT",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6",
"notes": ""
}

View File

@ -22,29 +22,11 @@ class pluginAPI extends Plugin {
$html = '';
$html .= '<div>';
$html .= '<p><b>Authorization Key:</b> '.$this->getDbField('token').'</p>';
$html .= '<p><b>Token:</b> '.$this->getDbField('token').'</p>';
$html .= '<div class="tip">This key is private, do not share it with anyone.</div>';
$html .= '</div>';
$html .= '<div>';
$html .= '<p><b>Show all posts:</b> <a href="'.DOMAIN_BASE.'api/show/all/posts/'.$this->getDbField('token').'">'.DOMAIN_BASE.'api/show/all/posts/'.$this->getDbField('token').'</a></p>';
$html .= '<div class="tip">Get all posts from this site.</div>';
$html .= '</div>';
$html .= '<div>';
$html .= '<p><b>Show all pages:</b> <a href="'.DOMAIN_BASE.'api/show/all/pages/'.$this->getDbField('token').'">'.DOMAIN_BASE.'api/show/all/pages/'.$this->getDbField('token').'</a></p>';
$html .= '<div class="tip">Get all pages from this site.</div>';
$html .= '</div>';
$html .= '<div>';
$html .= '<p><b>Show post:</b> <a href="'.DOMAIN_BASE.'api/show/post/{POST-NAME}">'.DOMAIN_BASE.'api/show/post/{POST-NAME}</a></p>';
$html .= '<div class="tip">Get a particular post, change the {POST-NAME} with the post friendly url.</div>';
$html .= '</div>';
$html .= '<div>';
$html .= '<p><b>Show page:</b> <a href="'.DOMAIN_BASE.'api/show/page/{PAGE-NAME}">'.DOMAIN_BASE.'api/show/page/{PAGE-NAME}</a></p>';
$html .= '<div class="tip">Get a particular page, change the {PAGE-NAME} with the page friendly url.</div>';
$html .= '</div>';
$html .= '<div>Check the documentation about the API <a href="https://docs.bludit.com/en/api/introduction">Bludit Docs API</a></div>';
return $html;
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "1.5.2",
"version": "1.6",
"releaseDate": "2016-05-28",
"license": "MIT",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "1.5.2",
"version": "1.6",
"releaseDate": "2016-05-28",
"license": "MIT",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "1.5.2",
"version": "1.6",
"releaseDate": "2016-05-28",
"license": "MIT",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "1.5.2",
"version": "1.6",
"releaseDate": "2016-05-28",
"license": "MIT",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "1.5.2",
"version": "1.6",
"releaseDate": "2016-05-28",
"license": "MIT",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "1.5.2",
"version": "1.6",
"releaseDate": "2016-05-28",
"license": "MIT",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "1.5.2",
"version": "1.6",
"releaseDate": "2016-05-28",
"license": "MIT",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6",
"notes": ""
}

View File

@ -5,6 +5,6 @@
"version": "1.11.2",
"releaseDate": "2016-06-14",
"license": "MIT",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "1.5.2",
"version": "1.6",
"releaseDate": "2016-05-28",
"license": "MIT",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "1.5.2",
"version": "1.6",
"releaseDate": "2016-05-28",
"license": "MIT",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "n33co",
"email": "",
"website": "http://html5up.net",
"version": "1.4",
"version": "1.6",
"releaseDate": "2016-05-20",
"license": "CCA 3.0",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6",
"notes": ""
}