Skip to content

Commit

Permalink
Merge branch 'hotfix/1.3.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh committed Dec 7, 2016
2 parents 7504e43 + 03dad5e commit 18d7340
Show file tree
Hide file tree
Showing 4 changed files with 660 additions and 2 deletions.
6 changes: 6 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
padding: 5px 15px;
}

.plugin_news_alert-content ul {
list-style: inherit;
margin: inherit;
padding: inherit;
}

.plugin_news_alert-login .plugin_news_alert-content {
max-height: 0;
padding: 0;
Expand Down
5 changes: 5 additions & 0 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ Features
<author>TECLIB'</author>
</authors>
<versions>
<version>
<num>1.3.2.2</num>
<compatibility>0.90.1</compatibility>
<compatibility>9.1</compatibility>
</version>
<version>
<num>1.3.2</num>
<compatibility>0.90.1</compatibility>
Expand Down
7 changes: 5 additions & 2 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,18 @@
--------------------------------------------------------------------------
*/

define ('PLUGIN_NEWS_VERSION', '1.3.2.1');
define ('PLUGIN_NEWS_VERSION', '1.3.2.2');

function plugin_init_news() {
global $PLUGIN_HOOKS;

$PLUGIN_HOOKS['csrf_compliant']['news'] = true;

$plugin = new Plugin();
if ($plugin->isInstalled('news') && $plugin->isActivated('news')) {
if (Session::checkValidSessionId()
&& isset($_SESSION['glpiactiveentities_string'])
&& $plugin->isInstalled('news')
&& $plugin->isActivated('news')) {
Plugin::registerClass('PluginNewsProfile', array('addtabon' => 'Profile'));

$PLUGIN_HOOKS['add_css']['news'] = 'css/styles.css';
Expand Down
Loading

0 comments on commit 18d7340

Please sign in to comment.