We have clarified our Privacy Statement even further. Please have a look at our changes.
Browse Source

* copyright adjustment and some cleanup

git-svn-id: svn+ssh://svn.izzysoft.de/public/histview/trunk@55 2e17d4db-7539-0410-9bcc-c6eb479cd550
tags/v0.1.9
Izzy 11 years ago
parent
commit
3a072c90c3
7 changed files with 17 additions and 39 deletions
  1. +2
    -2
      class.db_mysql.inc
  2. +3
    -3
      class.download.inc
  3. +3
    -3
      class.hvconfig.inc
  4. +2
    -25
      dl_latest.php
  5. +4
    -3
      doc/readme.txt
  6. +1
    -1
      histview.inc
  7. +2
    -2
      histview.php

+ 2
- 2
class.db_mysql.inc View File

@@ -1,7 +1,7 @@
<?php
#############################################################################
# HistView (c) 2003-2007 by Itzchak Rehberg #
# written by Itzchak Rehberg <devel@izzysoft.de> #
# HistView (c) 2003-2009 by Itzchak Rehberg #
# written by Itzchak Rehberg <devel AT izzysoft DOT de> #
# http://www.izzysoft.de/ #
# ------------------------------------------------------------------------- #
# This program is free software; you can redistribute and/or modify it #

+ 3
- 3
class.download.inc View File

@@ -1,7 +1,7 @@
<?
#############################################################################
# HistView (c) 2003-2008 by Itzchak Rehberg #
# written by Itzchak Rehberg <devel@izzysoft.de> #
# HistView (c) 2003-2009 by Itzchak Rehberg #
# written by Itzchak Rehberg <devel AT izzysoft DOT de> #
# http://www.izzysoft.de/ #
# ------------------------------------------------------------------------- #
# This program is free software; you can redistribute and/or modify it #
@@ -19,7 +19,7 @@ require_once(dirname(__FILE__)."/class.hvconfig.inc");
* @class download
* @extends hvconfig
* @author Izzy (devel AT izzysoft DOT de)
* @copyright (c) 2007-2008 by Itzchak Rehberg and IzzySoft
* @copyright (c) 2007-2009 by Itzchak Rehberg and IzzySoft
* @version $Revision$ $Date$
*/
class download extends hvconfig {

+ 3
- 3
class.hvconfig.inc View File

@@ -1,7 +1,7 @@
<?
#############################################################################
# HistView (c) 2003-2008 by Itzchak Rehberg #
# written by Itzchak Rehberg <devel@izzysoft.de> #
# HistView (c) 2003-2009 by Itzchak Rehberg #
# written by Itzchak Rehberg <devel AT izzysoft DOT de> #
# http://www.izzysoft.de/ #
# ------------------------------------------------------------------------- #
# This program is free software; you can redistribute and/or modify it #
@@ -16,7 +16,7 @@
* @package Api
* @class hvconfig
* @author Izzy (devel@izzysoft.de)
* @copyright (c) 2003-2008 by Itzchak Rehberg and IzzySoft
* @copyright (c) 2003-2009 by Itzchak Rehberg and IzzySoft
* @version $Revision$ $Date$
*/
class hvconfig {

+ 2
- 25
dl_latest.php View File

@@ -1,7 +1,7 @@
<?
#############################################################################
# HistView (c) 2003-2007 by Itzchak Rehberg #
# written by Itzchak Rehberg <devel@izzysoft.de> #
# HistView (c) 2003-2009 by Itzchak Rehberg #
# written by Itzchak Rehberg <devel AT izzysoft DOT de> #
# http://www.izzysoft.de/ #
# ------------------------------------------------------------------------- #
# This program is free software; you can redistribute and/or modify it #
@@ -17,29 +17,6 @@ include("download.class.inc");
# Create an instance of the download class
$dl = new download();

# Optional if we want to create statistics. The table needs at least the
# fields dl_date (DATE),prog (VARCHAR 30),newver (VARCHAR 10),referrer (varchar 100)
#$dl->db_setup("localhost","statistics","guest","guest","downloads");

# Shall we ignore some user agents when increasing the download counters? Agents
# to be ignored we can read from a file having one agent per line, lines
# starting with a "#" will be ignored
if (file_exists(dirname(__FILE__)."/histview_ignorebots")) {
$ignorebots = file(dirname(__FILE__)."/histview_ignorebots");
foreach ($ignorebots as $bot) {
$bot = trim($bot);
if (!empty($bot) && substr($bot,0,1)!="#") $dl->ignore_bot($bot);
}
}
# Same as above - but these agents get no file, they get a "403" error instead
if (file_exists(dirname(__FILE__)."/histview_rejectbots")) {
$rejectbots = file(dirname(__FILE__)."/histview_rejectbots");
foreach ($rejectbots as $bot) {
$bot = trim($bot);
if (!empty($bot) && substr($bot,0,1)!="#") $dl->reject_bot($bot);
}
}

# Find and send the latest version as Debian package
if ($dl->send_latest("histview","deb","/usr/src/debian/DEBS/all")) exit;


+ 4
- 3
doc/readme.txt View File

@@ -1,5 +1,5 @@
# =============================================================================
# HistView (c) 2003 by IzzySoft (devel@izzysoft.de)
# HistView (c) 2003-2009 by IzzySoft (devel AT izzysoft DOT de)
# -----------------------------------------------------------------------------
# $Id$
# -----------------------------------------------------------------------------
@@ -100,8 +100,9 @@ additional settings, again having suitable defaults.
As example, I provided histview.php with this package - which is set up to
display histview.hist (the history file of HistView) as default. You can use
this file for a quick start.
For a complete reference to the methods, please refer to the Api documentation
shipping with the distribution.
For a more detailed documentation, please visit the project site at
http://projects.izzysoft.de/trac/histview. For a complete reference to the
methods, please refer to the Api documentation shipping with the distribution.


Have fun!

+ 1
- 1
histview.inc View File

@@ -52,7 +52,7 @@ class histview extends hvconfig {
$this->input = file($infile);
$this->idx->ver = 0;
$this->idx->mark = 0;
$this->copy = "2003-2008 by Itzchak Rehberg &amp; <A HREF='http://www.izzysoft.de/' "
$this->copy = "2003-2009 by Itzchak Rehberg &amp; <A HREF='http://www.izzysoft.de/' "
. "TARGET='_blank'>IzzySoft</A>";
}


+ 2
- 2
histview.php View File

@@ -1,7 +1,7 @@
<?
#############################################################################
# HistView Client (c) 2003-2007 by Itzchak Rehberg #
# written by Itzchak Rehberg <devel@izzysoft.de> #
# HistView Client (c) 2003-2009 by Itzchak Rehberg #
# written by Itzchak Rehberg <devel AT izzysoft DOT de> #
# http://www.izzysoft.de/ #
# ------------------------------------------------------------------------- #
# This program is free software; you can redistribute and/or modify it #

Loading…
Cancel
Save