2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Updating to Limesurvey 1.9.1+ revision 11132 (part one)

This commit is contained in:
azammitdcarf
2011-10-10 01:24:38 +00:00
parent 1786cf689b
commit 11c5f3e1df
61 changed files with 1978 additions and 2317 deletions

View File

@@ -31,6 +31,7 @@ define('OLE_LONG_INT_SIZE', 4);
define('OLE_PPS_SIZE', 0x80);
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
if (!isset($homedir)) die();
require_once($homedir.'/classes/pear/PEAR.php');
require_once $homedir.'/classes/pear/OLE/PPS.php';

View File

@@ -20,6 +20,7 @@
// $Id: PPS.php,v 1.5 2003/12/14 18:12:28 xnoguer Exp $
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
if (!isset($homedir)) die();
require_once($homedir.'/classes/pear/PEAR.php');
require_once($homedir.'/classes/pear/OLE/OLE.php');

View File

@@ -20,6 +20,7 @@
// $Id: File.php,v 1.8 2003/12/12 21:10:10 xnoguer Exp $
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
if (!isset($homedir)) die();
require_once ($homedir.'/classes/pear/OLE/PPS.php');
/**

View File

@@ -20,6 +20,7 @@
// $Id: Root.php,v 1.7 2003/12/12 21:10:10 xnoguer Exp $
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
if (!isset($homedir)) die();
require_once ($homedir.'/classes/pear/OLE/PPS.php');
/**
@@ -175,7 +176,7 @@ class OLE_PPS_Root extends OLE_PPS
$iCnt = count($raList);
$iBdCnt = $this->_BIG_BLOCK_SIZE / OLE_PPS_SIZE;
$iPPScnt = (floor($iCnt/$iBdCnt) + (($iCnt % $iBdCnt)? 1: 0));
return array($iSBDcnt, $iBBcnt, $iPPScnt);
}
@@ -287,7 +288,7 @@ class OLE_PPS_Root extends OLE_PPS
function _saveBigData($iStBlk, &$raList)
{
$FILE = $this->_FILEH_;
// cycle through PPS's
for ($i = 0; $i < count($raList); $i++)
{
@@ -346,7 +347,7 @@ class OLE_PPS_Root extends OLE_PPS
$sRes = '';
$FILE = $this->_FILEH_;
$iSmBlk = 0;
for ($i = 0; $i < count($raList); $i++)
{
// Make SBD, small data string

View File

@@ -32,8 +32,8 @@
*/
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
require_once $homedir.'/classes/pear/PEAR.php';
require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/Workbook.php';
@require_once $homedir.'/classes/pear/PEAR.php';
@require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/Workbook.php';
/**
* Class for writing Excel Spreadsheets. This class should change COMPLETELY.

View File

@@ -33,6 +33,7 @@
*/
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
if (!isset($homedir)) die();
require_once $homedir.'/classes/pear/PEAR.php';
/**

View File

@@ -33,6 +33,8 @@
*/
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
if (!isset($homedir)) die();
require_once $homedir.'/classes/pear/PEAR.php';
/**

View File

@@ -94,7 +94,8 @@ define('SPREADSHEET_EXCEL_WRITER_NE', "<>");
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
require_once $homedir.'/classes/pear/PEAR.php';
if (!isset($homedir)) die();
@require_once $homedir.'/classes/pear/PEAR.php';
/**
* Class for parsing Excel formulas

View File

@@ -33,6 +33,7 @@
*/
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
if (!isset($homedir)) die();
require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/Format.php';
require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/BIFFwriter.php';
require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/Worksheet.php';

View File

@@ -33,6 +33,7 @@
*/
if (isset($_REQUEST['homedir'])) {die('You cannot start this script directly');}
if (!isset($homedir)) die();
require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/Parser.php';
require_once $homedir.'/classes/pear/Spreadsheet/Excel/Writer/BIFFwriter.php';

View File

@@ -1,4 +1,5 @@
<?php
if (!defined('PHPCAS_VERSION')) die();
/**
* @file CAS/PGTStorage/pgt-db.php

View File

@@ -14,6 +14,7 @@
*
* @ingroup internalPGTStorageFile
*/
if (!defined('PHPCAS_VERSION')) die();
class PGTStorageFile extends PGTStorage
{

View File

@@ -1,4 +1,5 @@
<?php
if (!defined('PHPCAS_VERSION')) die();
/**
* @file languages/spanish.php

View File

@@ -1,4 +1,5 @@
<?php
if (!defined('PHPCAS_VERSION')) die();
/**
* @file languages/english.php

View File

@@ -1,4 +1,5 @@
<?php
if (!defined('PHPCAS_VERSION')) die();
/**
* @file languages/english.php

View File

@@ -1,4 +1,5 @@
<?php
if (!defined('PHPCAS_VERSION')) die();
/**
* @file languages/german.php

View File

@@ -1,4 +1,5 @@
<?php
if (!defined('PHPCAS_VERSION')) die();
/**
* @file languages/greek.php

View File

@@ -1,4 +1,5 @@
<?php
if (!defined('PHPCAS_VERSION')) die();
/**
* @file languages/japanese.php

View File

@@ -1,4 +1,5 @@
<?php
if (!defined('PHPCAS_VERSION')) die();
/**
* @file languages/spanish.php