Changeset 15996
- Timestamp:
- Jun 24, 2012, 2:30:16 PM (12 years ago)
- Location:
- extensions/CryptograPHP
- Files:
-
- 3 added
- 35 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/CryptograPHP/admin.php
r14527 r15996 1 1 <?php 2 2 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 3 4 global $pwg_loaded_plugins; 5 $loaded = array(); 6 if (isset($pwg_loaded_plugins['ContactForm'])) $loaded['contactform'] = true; 7 if (isset($pwg_loaded_plugins['Comments_on_Albums'])) $loaded['category'] = true; 8 if (isset($pwg_loaded_plugins['GuestBook'])) $loaded['guestbook'] = true; 3 9 4 10 // $conf['cryptographp'] = unserialize($conf['cryptographp']); … … 8 14 { 9 15 $conf['cryptographp'] = array( 16 'activate_on' => array( 17 'picture' => isset($_POST['activate_on']['picture']), 18 'category' => isset($_POST['activate_on']['category']) || !isset($loaded['category']), 19 'register' => isset($_POST['activate_on']['register']), 20 'contactform' => isset($_POST['activate_on']['contactform']) || !isset($loaded['contactform']), 21 'guestbook' => isset($_POST['activate_on']['guestbook']) || !isset($loaded['guestbook']), 22 ), 10 23 'comments_action' => $_POST['comments_action'], 11 24 'theme' => $_POST['theme'], … … 73 86 } 74 87 75 $template->set_filename('plugin_admin_content', dirname(__FILE__).'/template/admin.tpl');76 77 88 $template->assign(array( 78 89 'crypto' => $conf['cryptographp'], 90 'loaded' => $loaded, 79 91 'fonts' => list_fonts(CRYPTO_PATH.'securimage/fonts'), 80 92 'presets' => array_keys($presets), … … 83 95 )); 84 96 97 $template->set_filename('plugin_admin_content', dirname(__FILE__).'/template/admin.tpl'); 85 98 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); 86 99 -
extensions/CryptograPHP/include/index.php
r11370 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based photo gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/index.php
r10837 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based photo gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/cs_CZ/index.php
r11142 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based picture gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/cs_CZ/plugin.lang.php
r14685 r15996 5 5 $lang['Comments action'] = 'Komentáře akce'; 6 6 $lang['Moderate'] = 'Moderovat'; 7 $lang['No captcha'] = 'Bez captcha kódu';8 7 9 8 $lang['Background color'] = 'barva pozadí'; -
extensions/CryptograPHP/language/de_DE/index.php
r14527 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based picture gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2012 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/de_DE/plugin.lang.php
r14531 r15996 33 33 $lang['Lines density'] = 'Linien Dichte'; 34 34 $lang['Moderate'] = 'Moderate'; 35 $lang['No captcha'] = 'Kein Captcha';36 35 $lang['Noise color'] = 'Rauschfarbe'; 37 36 $lang['Noise level'] = 'Rauschpegel'; -
extensions/CryptograPHP/language/el_GR/index.php
r11672 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based picture gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/el_GR/plugin.lang.php
r15058 r15996 5 5 $lang['Comments action'] = 'Ενέργεια σχολίου'; 6 6 $lang['Moderate'] = 'Μέτριο'; 7 $lang['No captcha'] = 'Χωρίς captcha';8 7 9 8 $lang['Captcha type'] = 'Τύπος Captcha '; -
extensions/CryptograPHP/language/en_UK/index.php
r10837 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based picture gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/en_UK/plugin.lang.php
r14527 r15996 7 7 $lang['Comments action'] = 'Comments action'; 8 8 $lang['Moderate'] = 'Moderate'; 9 $lang['No captcha'] = 'No captcha';10 9 $lang['Captcha type'] = 'Captcha type'; 11 10 $lang['Random string'] = 'Random string'; … … 15 14 $lang['good value:'] = 'good value:'; 16 15 $lang['Captcha theme'] = 'Captcha theme'; 16 $lang['Activate on'] = 'Activate on'; 17 $lang['Picture comments'] = 'Picture comments'; 18 $lang['Album comments'] = 'Album comments'; 19 $lang['Register form'] = 'Register form'; 20 $lang['Contact form'] = 'Contact form'; 21 $lang['Guestbook'] = 'Guestbook'; 17 22 18 23 $lang['Perturbation'] = 'Perturbation'; -
extensions/CryptograPHP/language/es_ES/index.php
r10879 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based picture gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/es_ES/plugin.lang.php
r15105 r15996 5 5 $lang['Comments action'] = 'Acción para los Comentario'; 6 6 $lang['Moderate'] = 'Moderar'; 7 $lang['No captcha'] = 'No hay captcha';8 7 9 8 $lang['Background color'] = 'Color de fondo'; -
extensions/CryptograPHP/language/fr_FR/index.php
r10837 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based picture gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/fr_FR/plugin.lang.php
r14527 r15996 7 7 $lang['Comments action'] = 'Action pour les commentaires'; 8 8 $lang['Moderate'] = 'Modérer'; 9 $lang['No captcha'] = 'Pas de captcha';10 9 $lang['Captcha type'] = 'Type de captcha'; 11 10 $lang['Random string'] = 'Code aléatoire'; … … 15 14 $lang['good value:'] = 'conseillé:'; 16 15 $lang['Captcha theme'] = 'Thème du captcha'; 16 $lang['Activate on'] = 'Activer sur'; 17 $lang['Picture comments'] = 'Commentaires photo'; 18 $lang['Album comments'] = 'Commentaire album'; 19 $lang['Register form'] = 'Formulaire d\'enregistrement'; 20 $lang['Contact form'] = 'Formulaire de contact'; 21 $lang['Guestbook'] = 'Livre d\'or'; 17 22 18 23 $lang['Perturbation'] = 'Perturbation'; -
extensions/CryptograPHP/language/hu_HU/index.php
r11663 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based picture gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/hu_HU/plugin.lang.php
r14632 r15996 5 5 $lang['Comments action'] = 'Hozzászólás műveletek'; 6 6 $lang['Moderate'] = 'Moderálás'; 7 $lang['No captcha'] = 'Nem captcha';8 7 9 8 $lang['Background color'] = 'Háttérszín'; -
extensions/CryptograPHP/language/index.php
r10837 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based picture gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/it_IT/index.php
r11529 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based photo gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/it_IT/plugin.lang.php
r14708 r15996 5 5 $lang['Comments action'] = 'Azione per i commenti'; 6 6 $lang['Moderate'] = 'Moderare'; 7 $lang['No captcha'] = 'Nessun captcha';8 7 9 8 $lang['Background color'] = 'Colore di sfondo'; -
extensions/CryptograPHP/language/lv_LV/index.php
r10868 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based picture gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/lv_LV/plugin.lang.php
r15719 r15996 5 5 $lang['Comments action'] = 'Darbība ar komentāriem'; 6 6 $lang['Moderate'] = 'Apmierinošs'; 7 $lang['No captcha'] = 'Nav captcha';8 7 9 8 $lang['Background color'] = 'Fona krāsa'; -
extensions/CryptograPHP/language/pl_PL/index.php
r12617 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based picture gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/pl_PL/plugin.lang.php
r14766 r15996 5 5 $lang['Invalid Captcha'] = 'Nieprawidłowy kod'; 6 6 $lang['Moderate'] = 'Średni'; 7 $lang['No captcha'] = 'Brak captcha';8 7 9 8 $lang['Background color'] = 'Kolor tła'; -
extensions/CryptograPHP/language/ru_RU/index.php
r14527 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based picture gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2012 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/ru_RU/plugin.lang.php
r14686 r15996 33 33 $lang['Lines density'] = 'Плотность линий'; 34 34 $lang['Moderate'] = 'Проверить'; 35 $lang['No captcha'] = 'Каптча отсутствует';36 35 $lang['Noise color'] = 'Цветной шум'; 37 36 $lang['Noise level'] = 'Уровень шума'; -
extensions/CryptograPHP/language/uk_UA/index.php
r14527 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based picture gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2012 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/language/uk_UA/plugin.lang.php
r14820 r15996 26 26 $lang['Invalid Captcha'] = 'Невірна каптча'; 27 27 $lang['Moderate'] = 'Перевірити'; 28 $lang['No captcha'] = 'Немає капчі';29 28 $lang['Random string'] = 'Випадковий рядок'; 30 29 $lang['Solve equation'] = 'Вирішіть рівняння'; -
extensions/CryptograPHP/main.inc.php
r14527 r15996 33 33 $conf['cryptographp'] = unserialize($conf['cryptographp']); 34 34 35 if (script_basename() == 'register' )35 if (script_basename() == 'register' and $conf['cryptographp']['activate_on']['register']) 36 36 { 37 37 include(CRYPTO_PATH.'include/register.inc.php'); 38 38 } 39 else if (script_basename() == 'picture' and $conf['cryptographp'][' comments_action'] != 'inactive')39 else if (script_basename() == 'picture' and $conf['cryptographp']['activate_on']['picture']) 40 40 { 41 41 include(CRYPTO_PATH.'include/picture.inc.php'); 42 42 } 43 else if (isset($_GET['/contact']) )43 else if (isset($_GET['/contact']) and $conf['cryptographp']['activate_on']['contactform']) 44 44 { 45 45 include(CRYPTO_PATH.'include/contactform.inc.php'); 46 } 47 else if (isset($_GET['/guestbook']) and $conf['cryptographp']['activate_on']['guestbook']) 48 { 49 include(CRYPTO_PATH.'include/guestbook.inc.php'); 46 50 } 47 51 } … … 49 53 function crypto_section_init() 50 54 { 51 global $conf, $pwg_loaded_plugins, $page; 55 global $conf, $pwg_loaded_plugins, $page, $user; 56 57 if ($user['theme'] == 'smartpocket') return; 52 58 53 59 if ( 54 script_basename() == 'index' and $conf['cryptographp'][' comments_action'] != 'inactive'and60 script_basename() == 'index' and $conf['cryptographp']['activate_on']['category'] and 55 61 isset($pwg_loaded_plugins['Comments_on_Albums']) and isset($page['section']) and 56 62 $page['section'] == 'categories' and isset($page['category']) -
extensions/CryptograPHP/maintain.inc.php
r14527 r15996 1 1 <?php 2 2 define('crypto_default_config', serialize(array( 3 'activate_on' => array( 4 'picture' => true, 5 'catgeory' => true, 6 'register' => true, 7 'contactform' => true, 8 'guestbook' => true, 9 ), 3 10 'comments_action' => 'reject', 4 11 'theme' => 'gray', … … 6 13 'case_sensitive' => 'false', 7 14 'code_length' => 6, 8 'width' => 1 20,9 'height' => 40,15 'width' => 180, 16 'height' => 70, 10 17 'perturbation' => 1, 11 18 'image_bg_color' => 'ffffff', … … 22 29 global $conf; 23 30 24 if (!isset($conf['cryptographp'])) 25 { 26 pwg_query('INSERT INTO '.CONFIG_TABLE.' (param,value,comment) VALUES ("cryptographp",\''.crypto_default_config.'\',"CryptograPHP config");'); 27 } 31 conf_update_param('cryptographp', crypto_default_config); 28 32 } 29 33 … … 39 43 if (!isset($conf['cryptographp'])) 40 44 { 41 pwg_query('INSERT INTO '.CONFIG_TABLE.' (param,value,comment) VALUES ("cryptographp",\''.crypto_default_config.'\',"CryptograPHP config");'); 45 conf_update_param('cryptographp', crypto_default_config); 46 } 47 else 48 { 49 $conf['cryptographp'] = unserialize($conf['cryptographp']); 50 if (!isset($conf['cryptographp']['activate_on'])) 51 { 52 $conf['cryptographp']['activate_on'] = array( 53 'picture' => $conf['cryptographp']['comments_action'] != 'inactive', 54 'category' => $conf['cryptographp']['comments_action'] != 'inactive', 55 'register' => true, 56 'contactform' => true, 57 'guestbook' => true, 58 ); 59 conf_update_param('cryptographp', serialize($conf['cryptographp'])); 60 } 42 61 } 43 62 } -
extensions/CryptograPHP/securimage/index.php
r12617 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based photo gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/template/admin.tpl
r15118 r15996 128 128 <legend>{'Configuration'|@translate}</legend> 129 129 130 <ul> 130 <ul> 131 <li> 132 <span class="property">{'Activate on'|@translate}</span> 133 <label><input type="checkbox" name="activate_on[picture]" value="1" {if $crypto.activate_on.picture}checked="checked"{/if}> {'Picture comments'|@translate}</label> 134 {if $loaded.category}<label><input type="checkbox" name="activate_on[category]" value="1" {if $crypto.activate_on.category}checked="checked"{/if}> {'Album comments'|@translate}</label>{/if} 135 <label><input type="checkbox" name="activate_on[register]" value="1" {if $crypto.activate_on.register}checked="checked"{/if}> {'Register form'|@translate}</label> 136 {if $loaded.contactform}<label><input type="checkbox" name="activate_on[contactform]" value="1" {if $crypto.activate_on.contactform}checked="checked"{/if}> {'Contact form'|@translate}</label>{/if} 137 {if $loaded.guestbook}<label><input type="checkbox" name="activate_on[guestbook]" value="1" {if $crypto.activate_on.guestbook}checked="checked"{/if}> {'Guestbook'|@translate}</label>{/if} 138 </li> 131 139 <li> 132 140 <span class="property">{'Comments action'|@translate}</span> 133 <label><input type="radio" name="comments_action" value="inactive" {if $crypto.comments_action == 'inactive'}checked="checked"{/if}> {'No captcha'|@translate}</label>134 141 <label><input type="radio" name="comments_action" value="reject" {if $crypto.comments_action == 'reject'}checked="checked"{/if}> {'Reject'|@translate}</label> 135 142 <label><input type="radio" name="comments_action" value="moderate" {if $crypto.comments_action == 'moderate'}checked="checked"{/if}> {'Moderate'|@translate}</label> … … 151 158 <li> 152 159 <span class="property">{'Width'|@translate}</span> 153 <label><input type="text" name="width" class="preview" value="{$crypto.width}" size="6" maxlength="3"> {'good value:'|@translate} lenght× 20</label>160 <label><input type="text" name="width" class="preview" value="{$crypto.width}" size="6" maxlength="3"> {'good value:'|@translate} lenght×30</label> 154 161 </li> 155 162 <li> 156 163 <span class="property">{'Height'|@translate}</span> 157 <label><input type="text" name="height" class="preview" value="{$crypto.height}" size="6" maxlength="3"> {'good value:'|@translate} width/4</label>164 <label><input type="text" name="height" class="preview" value="{$crypto.height}" size="6" maxlength="3"> {'good value:'|@translate} lenght×12</label> 158 165 </li> 159 166 <li> -
extensions/CryptograPHP/template/colorpicker/index.php
r12617 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based photo gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/template/index.php
r12617 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based photo gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url ); -
extensions/CryptograPHP/template/presets/index.php
r12617 r15996 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based photo gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2011 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 // Recursive call25 2 $url = '../'; 26 3 header( 'Request-URI: '.$url );
Note: See TracChangeset
for help on using the changeset viewer.