Plugin Directory

Changeset 653152


Ignore:
Timestamp:
01/15/2013 08:09:05 PM (13 years ago)
Author:
tosend.it
Message:

Stable Version updated to 2.5.6

Location:
pafacile
Files:
4 edited
42 copied

Legend:

Unmodified
Added
Removed
  • pafacile/tags/2.5.6/PAFacileFrontend.php

    r643338 r653152  
    8787
    8888    static function parseContents($content, $fromWidget = false){
    89        
    90         $oldContent = $content;
     89        $content = strstr( $content , array(
     90            '<p>['      => '[',
     91            ']</p>'     => ']',
     92            ']<br />'   => ']'
     93        ));
    9194        if(!$fromWidget){
    9295            $permalink = get_permalink();
     
    126129            self::$fromWidget = $fromWidget;
    127130        }
    128         // Bugfix: Codice invalido quando presenta un contenuto di PAFacile. Bisogna rimuovere l'elemento Paragrafo iniziale e finale.
    129         $content = preg_replace('#<p>(\[pafacile[^\]]+\])(&nbsp;)*[\w\r\n]*</p>#i', '$1', $content);
    130         /*
    131         if($oldContent!=$content){
    132             $content = preg_replace('/^<p>(.*)<\/p>/si', '$1', $content);
    133            
    134         }else{
    135         }
    136         */
     131       
    137132        return $content;
    138133    }
  • pafacile/tags/2.5.6/readme.txt

    r652518 r653152  
    55Requires at least: 3.4
    66Tested up to: 3.5
    7 Stable tag: 2.5.5
     7Stable tag: 2.5.6
    88License: GPLv3
    99
     
    8181
    8282== Changelog ==
     83= 2.5.6 (2013-01-15) =
     84* Bugfix: Tutti gli utenti autenticati potevano vedere tutte le voci di menu.
     85* Bugfix: Corretto il filtro per cui il codice HTML non veniva corretto.
    8386
    8487= 2.5.5 (2013-01-14) =
  • pafacile/tags/2.5.6/toSendIt.php

    r652488 r653152  
    66       
    77        public static function checkMinimalMenuRole($userRoles, $menuRoles){
    8             if(current_user_can('read')) return true;
     8            /*
     9             * Bugfix: Accidentale disponibilità di tutti i menu a un qualsiasi utente autenticato (passato da "read" a "administrator")
     10             * Solo l'amministratore può far tutto.
     11             */
     12            if(current_user_can('administrator')) return true;
     13           
    914            if(!is_array($menuRoles)) $menuRoles = array($menuRoles);
    1015            if(isset($menuRoles) && count($menuRoles)>0){
  • pafacile/tags/2.5.6/tosendit-pa.php

    r652488 r653152  
    33 * @package toSend.it
    44 * @author toSend.it di Luisa Marra
    5  * @version 2.5.5
     5 * @version 2.5.6
    66 */
    77/*
     
    1010Description: PAFacile è un plugin nato per consentire alle pubbliche amministrazione di gestire la trasparenza amministrativa secondo gli obblighi di legge. Il plugin è l'unico in Italia a consentire l'adeguamento di un sito web di una pubblica amministrazione agli ultimi aggiornamenti normativa in materia di Albo Pretorio on-line, Bandi di Gara, Delbere e determinazioni, Ordinanze, Organigramma, Incarichi professionali, Sovvenzioni.
    1111Author: toSend.it di Luisa Marra
    12 Version: 2.5.5
     12Version: 2.5.6
    1313Author URI: http://toSend.it
    1414*/
     
    2626#define('TOSENDIT_PAFACILE_VERSION', '2.5.3');
    2727#define('TOSENDIT_PAFACILE_VERSION', '2.5.4');
    28 define('TOSENDIT_PAFACILE_VERSION', '2.5.5');
     28#define('TOSENDIT_PAFACILE_VERSION', '2.5.5');
     29define('TOSENDIT_PAFACILE_VERSION', '2.5.6');
    2930
    3031# è PAFacile in un installazione di default
  • pafacile/trunk/PAFacileFrontend.php

    r643338 r653152  
    8787
    8888    static function parseContents($content, $fromWidget = false){
    89        
    90         $oldContent = $content;
     89        $content = strstr( $content , array(
     90            '<p>['      => '[',
     91            ']</p>'     => ']',
     92            ']<br />'   => ']'
     93        ));
    9194        if(!$fromWidget){
    9295            $permalink = get_permalink();
     
    126129            self::$fromWidget = $fromWidget;
    127130        }
    128         // Bugfix: Codice invalido quando presenta un contenuto di PAFacile. Bisogna rimuovere l'elemento Paragrafo iniziale e finale.
    129         $content = preg_replace('#<p>(\[pafacile[^\]]+\])(&nbsp;)*[\w\r\n]*</p>#i', '$1', $content);
    130         /*
    131         if($oldContent!=$content){
    132             $content = preg_replace('/^<p>(.*)<\/p>/si', '$1', $content);
    133            
    134         }else{
    135         }
    136         */
     131       
    137132        return $content;
    138133    }
  • pafacile/trunk/readme.txt

    r652518 r653152  
    55Requires at least: 3.4
    66Tested up to: 3.5
    7 Stable tag: 2.5.5
     7Stable tag: 2.5.6
    88License: GPLv3
    99
     
    8181
    8282== Changelog ==
     83= 2.5.6 (2013-01-15) =
     84* Bugfix: Tutti gli utenti autenticati potevano vedere tutte le voci di menu.
     85* Bugfix: Corretto il filtro per cui il codice HTML non veniva corretto.
    8386
    8487= 2.5.5 (2013-01-14) =
  • pafacile/trunk/toSendIt.php

    r652488 r653152  
    66       
    77        public static function checkMinimalMenuRole($userRoles, $menuRoles){
    8             if(current_user_can('read')) return true;
     8            /*
     9             * Bugfix: Accidentale disponibilità di tutti i menu a un qualsiasi utente autenticato (passato da "read" a "administrator")
     10             * Solo l'amministratore può far tutto.
     11             */
     12            if(current_user_can('administrator')) return true;
     13           
    914            if(!is_array($menuRoles)) $menuRoles = array($menuRoles);
    1015            if(isset($menuRoles) && count($menuRoles)>0){
  • pafacile/trunk/tosendit-pa.php

    r652488 r653152  
    33 * @package toSend.it
    44 * @author toSend.it di Luisa Marra
    5  * @version 2.5.5
     5 * @version 2.5.6
    66 */
    77/*
     
    1010Description: PAFacile è un plugin nato per consentire alle pubbliche amministrazione di gestire la trasparenza amministrativa secondo gli obblighi di legge. Il plugin è l'unico in Italia a consentire l'adeguamento di un sito web di una pubblica amministrazione agli ultimi aggiornamenti normativa in materia di Albo Pretorio on-line, Bandi di Gara, Delbere e determinazioni, Ordinanze, Organigramma, Incarichi professionali, Sovvenzioni.
    1111Author: toSend.it di Luisa Marra
    12 Version: 2.5.5
     12Version: 2.5.6
    1313Author URI: http://toSend.it
    1414*/
     
    2626#define('TOSENDIT_PAFACILE_VERSION', '2.5.3');
    2727#define('TOSENDIT_PAFACILE_VERSION', '2.5.4');
    28 define('TOSENDIT_PAFACILE_VERSION', '2.5.5');
     28#define('TOSENDIT_PAFACILE_VERSION', '2.5.5');
     29define('TOSENDIT_PAFACILE_VERSION', '2.5.6');
    2930
    3031# è PAFacile in un installazione di default
Note: See TracChangeset for help on using the changeset viewer.