Changeset 32922


Ignore:
Timestamp:
Jan 18, 2023, 8:22:48 PM (15 months ago)
Author:
ddtddt
Message:

[PersoAbout] check php8

Location:
extensions/PersoAbout
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • extensions/PersoAbout/admin.php

    r32708 r32922  
    33// | Perso About plugin for piwigo by TEMMII                               |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 - 2022 ddtddt             http://temmii.com/piwigo/ |
     5// | Copyright(C) 2010 - 2023 ddtddt             http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
     
    5656    array('PPABASE' => $conf['persoAbout'],));
    5757$PAED = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'ExtendedDescription';"));
     58  if(!isset($PAED['state'])){$PAED['state'] = 'inactive';}
    5859  if($PAED['state'] == 'active'){
    5960        $template->assign('useED',1);
  • extensions/PersoAbout/admin.tpl

    r31470 r32922  
    1111                        <textarea rows="5" cols="50" {if $useED==1}placeholder="{'Use Extended Description tags...'|@translate}"{/if} class="description" name="perso_about" id="perso_about">{$gestA.PPABASE}</textarea>
    1212  <p>
    13     <input class="submit" type="submit" name="submitppa" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}>
     13    <input class="submit" type="submit" name="submitppa" value="{'Submit'|@translate}">
    1414    <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
    1515  </p>
  • extensions/PersoAbout/language/en_UK/plugin.lang.php

    r32708 r32922  
    33// | Perso About plugin for piwigo by TEMMII                               |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 - 2022 ddtddt             http://temmii.com/piwigo/ |
     5// | Copyright(C) 2010 - 2023 ddtddt             http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/PersoAbout/language/fr_FR/plugin.lang.php

    r32708 r32922  
    33// | Perso About plugin for piwigo by TEMMII                               |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 - 2022 ddtddt             http://temmii.com/piwigo/ |
     5// | Copyright(C) 2010 - 2023 ddtddt             http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/PersoAbout/main.inc.php

    r32708 r32922  
    1212// | Perso About plugin for piwigo by TEMMII                               |
    1313// +-----------------------------------------------------------------------+
    14 // | Copyright(C) 2010 - 2022 ddtddt             http://temmii.com/piwigo/ |
     14// | Copyright(C) 2010 - 2023 ddtddt             http://temmii.com/piwigo/ |
    1515// +-----------------------------------------------------------------------+
    1616// | This program is free software; you can redistribute it and/or modify  |
     
    5151  }
    5252  $pat=trigger_change('AP_render_content', $conf['persoAbout']);
    53   if (!empty($pat)){
    54         $template->assign('PERSO_ABOUT', $pat);
     53  if (empty($pat)){
     54        $pat='';
    5555  }
     56  $template->assign('PERSO_ABOUT', $pat);
    5657}
    5758
  • extensions/PersoAbout/maintain.class.php

    r32422 r32922  
    33// | Perso About plugin for piwigo by TEMMII                               |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 - 2021 ddtddt             http://temmii.com/piwigo/ |
     5// | Copyright(C) 2010 - 2023 ddtddt             http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
Note: See TracChangeset for help on using the changeset viewer.