Changeset 32408


Ignore:
Timestamp:
Jan 18, 2021, 9:34:13 PM (3 years ago)
Author:
ddtddt
Message:

[meta_og] piwigo 11

Location:
extensions/meta_og
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • extensions/meta_og/admin.php

    r32229 r32408  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | meta_og plugin for Piwigo by TEMMII                                   |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2020 ddtddt               http://temmii.com/piwigo/ |
     3// | Meta Open Graph plugin for Piwigo by TEMMII                           |
     4// +-----------------------------------------------------------------------+
     5// | Copyright(C) 2020-2021 ddtddt               http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/meta_og/include/function.mog.inc.php

    r32229 r32408  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | meta_og plugin for Piwigo by TEMMII                                   |
     3// | Meta Open Graph plugin for Piwigo by TEMMII                           |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2020 ddtddt               http://temmii.com/piwigo/ |
     5// | Copyright(C) 2020-2021 ddtddt               http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/meta_og/index.php

    r32133 r32408  
    11<?php
    2 // +-----------------------------------------------------------------------+
    3 // | This file is part of Piwigo.                                          |
    4 // |                                                                       |
    5 // | For copyright and license information, please view the COPYING.txt    |
    6 // | file that was distributed with this source code.                      |
    7 // +-----------------------------------------------------------------------+
    8 
    92// Recursive call
    103$url = '../';
  • extensions/meta_og/initadmin.php

    r32229 r32408  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | meta_og plugin for Piwigo by TEMMII                                   |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2020 ddtddt               http://temmii.com/piwigo/ |
     3// | Meta Open Graph plugin for Piwigo by TEMMII                           |
     4// +-----------------------------------------------------------------------+
     5// | Copyright(C) 2020-2021 ddtddt               http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
     
    2323include_once(metaog_PATH . 'include/function.mog.inc.php');
    2424//Add link menu
    25 add_event_handler('get_admin_plugin_menu_links', 'metaog_admin_menu');
     25/*add_event_handler('get_admin_plugin_menu_links', 'metaog_admin_menu');
    2626function metaog_admin_menu($menu){
    2727  $menu[] = array(
     
    3030  );
    3131    return $menu;
    32 }
     32}*/
    3333
    3434//add prefiltre photo
     
    4343
    4444function metaogPadminfT($content, &$smarty){
    45   $search = '#<p style="margin:40px 0 0 0">#';
     45  $search = '#<input type="hidden" name="pwg_token"#';
    4646  return preg_replace($search,'{$MOG_ADMINPHOTO}', $content);
    4747}
     
    9494   $template->assign('SHOWMOGI', "0");
    9595  }
     96   if(!isset($metaogpath)){$metaogpath="";}
    9697  $template->assign(
    9798    'metaog_editP',
     
    184185          $template->assign('SHOWMOGI', "0");
    185186        }
     187  if(!isset($metaogpath)){$metaogpath="";}
    186188  $tab_album = pwg_db_fetch_assoc(pwg_query("SELECT id,representative_picture_id FROM " . CATEGORIES_TABLE . " WHERE id = '".$_GET['cat_id']."';"));
    187189  $template->assign(
  • extensions/meta_og/language/en_UK/index.php

    r32112 r32408  
    11<?php
    2 // +-----------------------------------------------------------------------+
    3 // | This file is part of Piwigo.                                          |
    4 // |                                                                       |
    5 // | For copyright and license information, please view the COPYING.txt    |
    6 // | file that was distributed with this source code.                      |
    7 // +-----------------------------------------------------------------------+
    8 
    92// Recursive call
    103$url = '../';
  • extensions/meta_og/language/en_UK/plugin.lang.php

    r32249 r32408  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | meta_og plugin for Piwigo by TEMMII                                   |
     3// | Meta Open Graph plugin for Piwigo by TEMMII                           |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2020 ddtddt               http://temmii.com/piwigo/ |
     5// | Copyright(C) 2020-2021 ddtddt               http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/meta_og/language/fr_FR/index.php

    r32112 r32408  
    11<?php
    2 // +-----------------------------------------------------------------------+
    3 // | This file is part of Piwigo.                                          |
    4 // |                                                                       |
    5 // | For copyright and license information, please view the COPYING.txt    |
    6 // | file that was distributed with this source code.                      |
    7 // +-----------------------------------------------------------------------+
    8 
    92// Recursive call
    103$url = '../';
  • extensions/meta_og/language/fr_FR/plugin.lang.php

    r32229 r32408  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | meta_og plugin for Piwigo by TEMMII                                   |
     3// | Meta Open Graph plugin for Piwigo by TEMMII                           |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2020 ddtddt               http://temmii.com/piwigo/ |
     5// | Copyright(C) 2020-2021 ddtddt               http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/meta_og/language/index.php

    r32112 r32408  
    11<?php
    2 // +-----------------------------------------------------------------------+
    3 // | This file is part of Piwigo.                                          |
    4 // |                                                                       |
    5 // | For copyright and license information, please view the COPYING.txt    |
    6 // | file that was distributed with this source code.                      |
    7 // +-----------------------------------------------------------------------+
    8 
    92// Recursive call
    103$url = '../';
  • extensions/meta_og/main.inc.php

    r32229 r32408  
    77Author: ddtddt
    88Author URI: http://temmii.com/piwigo/
     9Has Settings: true
    910*/
    1011
    1112// +-----------------------------------------------------------------------+
    12 // | meta_og plugin for Piwigo by TEMMII                                   |
    13 // +-----------------------------------------------------------------------+
    14 // | Copyright(C) 2008-2020 ddtddt               http://temmii.com/piwigo/ |
     13// | Meta Open Graph plugin for Piwigo by TEMMII                           |
     14// +-----------------------------------------------------------------------+
     15// | Copyright(C) 2020-2021 ddtddt               http://temmii.com/piwigo/ |
    1516// +-----------------------------------------------------------------------+
    1617// | This program is free software; you can redistribute it and/or modify  |
  • extensions/meta_og/maintain.class.php

    r32229 r32408  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | meta plugin for Piwigo                                                |
     3// | Meta Open Graph plugin for Piwigo by TEMMII                           |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2016 ddtddt               http://temmii.com/piwigo/ |
     5// | Copyright(C) 2020-2021 ddtddt               http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/meta_og/mog_adminphoto.tpl

    r32229 r32408  
    9595  {/if}
    9696</p>
    97 <p style="margin:40px 0 0 0">
     97<input type="hidden" name="pwg_token"
Note: See TracChangeset for help on using the changeset viewer.