Diff for horde/services/help/index.php between version 2.85 and 2.86

Location: [ Horde CVS ] / horde / services / help / index.php
Download diff as:

Log Message

2.86: Replace all unnecessary eval() calls.
Unmodified Unmodified Added Added Modified Modified Removed Removed
Version 2.85 Version 2.86
Line 1 Line 1
<?php
/**
<?php
/**
 * $Horde: horde/services/help/index.php,v 2.84 2006/01/01 21:11:55 jan Exp $
 * $Horde: horde/services/help/index.php,v 2.85 2006/01/04 06:40:08 slusarz Exp $
 *
* Copyright 1999-2006 Jon Parise <jon@horde.org>
*
 *
* Copyright 1999-2006 Jon Parise <jon@horde.org>
*
Line 54 Line 54
        require HORDE_TEMPLATES . '/help/menu.inc';
} elseif ($show == 'about') {
require $fileroot . '/lib/version.php';
        require HORDE_TEMPLATES . '/help/menu.inc';
} elseif ($show == 'about') {
require $fileroot . '/lib/version.php';
        eval('$version = "' . ucfirst($module) . ' " . ' . String::upper($module) . '_VERSION;');
        $version = String::ucfirst($module) . ' ' . constant(String::upper($module) . '_VERSION');
        $credits = Util::bufferOutput('include', $fileroot . '/docs/CREDITS');
$credits = String::convertCharset($credits, 'iso-8859-1', NLS::getCharset());
require HORDE_TEMPLATES . '/help/about.inc';
        $credits = Util::bufferOutput('include', $fileroot . '/docs/CREDITS');
$credits = String::convertCharset($credits, 'iso-8859-1', NLS::getCharset());
require HORDE_TEMPLATES . '/help/about.inc';