Example #1
0
 * v1.1 originally written by Gregory DEMAR
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Coppermine version: 1.5.xx
 *
 * Plugin Written by Florian Lechner - http://www.lounge-lizard.org/cms
 * 
 * 28 January 2010
*/
require_once 'init.inc.php';
global $flf_lang_var;
$return = flf_histotag_initialize();
$flf_lang_var = $return['language'];
$name = $flf_lang_var['name'];
$description = $flf_lang_var['description'];
$author = 'Florian Lechner (<a href="http://www.lounge-lizard.org/cms/" target="_blank" rel="external" class="external">www.lounge-lizard.org</a>)';
$extra_info = <<<EOT
<a href="index.php?file=flf_histotag/configure" class="admin_menu">{$flf_lang_var['config']}</a>\t
<a href="index.php?file=flf_histotag/readme" class="admin_menu">{$flf_lang_var['readme']}</a>
<a href="index.php?file=flf_histotag/createall" class="admin_menu">{$flf_lang_var['getallgeo']}</a>
<a href="index.php?file=flf_histotag/createallhistograms" class="admin_menu">{$flf_lang_var['getallhistos']}</a>
<a href="index.php?file=flf_histotag/deleteallhistograms" class="admin_menu">{$flf_lang_var['deleteallhistograms']}</a>
<a href="http://forum.coppermine-gallery.net/index.php/topic,63486.0.html rel="external" class="admin_menu" target="_blank">{$flf_lang_var['supportthread']}</a>

EOT;
$version = '1.4';
$plugin_cpg_version = array('min' => '1.5.10');
Example #2
0
<?php

/**************************************************
  Coppermine 1.5.x Plugin - flf histotag
  *************************************************
  Copyright (c) 2010 Florian Lechner (www.lounge-lizard.org/cms)
  *************************************************
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 3 of the License, or
  (at your option) any later version.
  ********************************************

  **************************************************/
// Initialize language and icons
require_once './plugins/flf_histotag/init.inc.php';
$flf_histotag_init_array = flf_histotag_initialize();
$flf_lang_var = $flf_histotag_init_array['language'];
// $flf_histotag_icon_array = $flf_histotag_init_array['icon'];
// Configuration
pageheader($flf_lang_var['config']);
flf_histotag_configure();
pagefooter();
die;