|
From: <wis...@us...> - 2014-11-25 18:46:24
|
Revision: 12871
http://sourceforge.net/p/xoops/svn/12871
Author: wishcraft
Date: 2014-11-25 18:46:20 +0000 (Tue, 25 Nov 2014)
Log Message:
-----------
Signed 1.13 (Trunk) - Final Minor Release Versioning
Added Paths:
-----------
XoopsModules/signed/trunk/.htaccess.signed
Removed Paths:
-------------
XoopsModules/signed/trunk/modules/signed/admin/
XoopsModules/signed/trunk/modules/signed/api/
XoopsModules/signed/trunk/modules/signed/class/
XoopsModules/signed/trunk/modules/signed/crons/
XoopsModules/signed/trunk/modules/signed/css/
XoopsModules/signed/trunk/modules/signed/docs/
XoopsModules/signed/trunk/modules/signed/dojsonids.php
XoopsModules/signed/trunk/modules/signed/dojsonoperations.php
XoopsModules/signed/trunk/modules/signed/fonts/
XoopsModules/signed/trunk/modules/signed/footer.php
XoopsModules/signed/trunk/modules/signed/generator.php
XoopsModules/signed/trunk/modules/signed/go/
XoopsModules/signed/trunk/modules/signed/header.php
XoopsModules/signed/trunk/modules/signed/image/
XoopsModules/signed/trunk/modules/signed/include/
XoopsModules/signed/trunk/modules/signed/index.php
XoopsModules/signed/trunk/modules/signed/js/
XoopsModules/signed/trunk/modules/signed/language/
XoopsModules/signed/trunk/modules/signed/preloads/
XoopsModules/signed/trunk/modules/signed/request.php
XoopsModules/signed/trunk/modules/signed/reset.php
XoopsModules/signed/trunk/modules/signed/sql/
XoopsModules/signed/trunk/modules/signed/templates/
XoopsModules/signed/trunk/modules/signed/updator.php
XoopsModules/signed/trunk/modules/signed/verifor.php
XoopsModules/signed/trunk/modules/signed/xoops_version.php
Added: XoopsModules/signed/trunk/.htaccess.signed
===================================================================
--- XoopsModules/signed/trunk/.htaccess.signed (rev 0)
+++ XoopsModules/signed/trunk/.htaccess.signed 2014-11-25 18:46:20 UTC (rev 12871)
@@ -0,0 +1,20 @@
+# /modules/signed -- Version 1.13 ~~ Mod Rewrite ~~ Started
+<IfModule mod_rewrite.c>
+
+ RewriteEngine On
+
+ # Client Signature Service Mod Rewrite
+ RewriteRule ^signing/index.html modules/signed/index.php
+ RewriteRule ^signing/=([a-zA-Z0-9]+)=/finished/([a-zA-Z0-9]+).(.*?)$ modules/signed/$1.php?op=finished&serial=$2
+ RewriteRule ^signing/=([a-zA-Z0-9]+)=/index(.*?)?(.*?)$ modules/signed/$1.php?$3
+ RewriteRule ^signing/=([a-zA-Z0-9]+)=/index(.*?)$ modules/signed/$1.php
+ RewriteRule ^signing/=([a-zA-Z0-9]+)=/?(.*?)$ modules/signed/$1.php?$2
+
+ # API Service Mod Rewrite
+ RewriteRule ^signer/(.*?)/(.*?)?(.*?)$ modules/signed/api/$1/$2.php?$3
+ RewriteRule ^signer/(.*?)/(.*?)$ modules/signed/api/$1/$2.php
+ RewriteRule ^signer/(.*?)/$ modules/signed/api/$1/index.php
+ RewriteRule ^signer$ modules/signed/api/index.php
+
+</IfModule>
+# /modules/signed -- Version 1.13 ~~ Mod Rewrite ~~ Ended
\ No newline at end of file
Property changes on: XoopsModules/signed/trunk/.htaccess.signed
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Deleted: XoopsModules/signed/trunk/modules/signed/dojsonids.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/dojsonids.php 2014-11-25 18:45:25 UTC (rev 12870)
+++ XoopsModules/signed/trunk/modules/signed/dojsonids.php 2014-11-25 18:46:20 UTC (rev 12871)
@@ -1,49 +0,0 @@
-<?php
-/**
- * Chronolabs Digital Signature Generation & API Services
- *
- * You may not change or alter any portion of this comment or credits
- * of supporting developers from this source code or any supporting source code
- * which is considered copyrighted (c) material of the original comment or credit authors.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * @copyright Chronolabs Cooperative http://labs.coop
- * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
- * @package signed
- * @since 1.0.1
- * @author Simon Roberts <wis...@us...>
- * @subpackage kernel
- * @description Digital Signature Generation & API Services
- * @link https://signed.labs.coop Digital Signature Generation & API Services
- */
-
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'common.php';
-$GLOBALS['xoopsLogger']->activated = false;
-//error_reporting(0);
-ob_end_flush();
-header('Content-type: application/json');
-set_time_limit(120);
-if (signedCiphers::getInstance()->getHash(_URL_ROOT.date('Ymdh').session_id())==$_REQUEST['passkey']) {
- $ids = signedArrays::getInstance()->returnKeyed($_REQUEST['signature_mode'], 'getIdentificationsArray');
- $verify = signedArrays::getInstance()->returnKeyed($_REQUEST['signature_mode'], 'getValidationsArray');
- $points = 0;
- foreach($_REQUEST['identification'] as $key => $id) {
- if ($key = $id) {
- $points = $points + $ids[$key]['points'];
- }
- }
- if ($points>=$verify['required']['id-score']['fields'][0]){
- $values['innerhtml']['total-points'] = $points . ' ~ <em>Required: '.$verify['required']['id-score']['fields'][0].'</em>';
- $values['disable']['submit-next'] = 'false';
- } else {
- $values['innerhtml']['total-points'] = $points . ' ~ <em>Required: '.$verify['required']['id-score']['fields'][0].'</em>';
- $values['disable']['submit-next'] = 'true';
- }
-} else {
- $values['innerhtml']['total-points'] = "<font style='color: rgb(255,0,0);'>Pass Key has Timed-out please refresh the page!</font>";
- $values['disable']['submit-next'] = 'true';
-}
-print json_encode($values);
-?>
\ No newline at end of file
Deleted: XoopsModules/signed/trunk/modules/signed/dojsonoperations.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/dojsonoperations.php 2014-11-25 18:45:25 UTC (rev 12870)
+++ XoopsModules/signed/trunk/modules/signed/dojsonoperations.php 2014-11-25 18:46:20 UTC (rev 12871)
@@ -1,56 +0,0 @@
-<?php
-/**
- * Chronolabs Digital Signature Generation & API Services
- *
- * You may not change or alter any portion of this comment or credits
- * of supporting developers from this source code or any supporting source code
- * which is considered copyrighted (c) material of the original comment or credit authors.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * @copyright Chronolabs Cooperative http://labs.coop
- * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
- * @package signed
- * @since 1.0.1
- * @author Simon Roberts <wis...@us...>
- * @subpackage kernel
- * @description Digital Signature Generation & API Services
- * @link https://signed.labs.coop Digital Signature Generation & API Services
- */
-
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'common.php';
-$GLOBALS['xoopsLogger']->activated = false;
-header('Content-type: application/json');
-set_time_limit(120);
-$passed = true;
-if (isset($_REQUEST['fields-typal'])) {
- foreach($_REQUEST['fields-required'] as $key => $field) {
- if (is_array($_REQUEST[$_REQUEST['fields-typal']][$field])) {
- foreach($_REQUEST[$_REQUEST['fields-typal']][$field] as $keyb => $value)
- if (empty($value)||strlen(trim($value))==0)
- $passed = false;
- } else {
- if (empty($_REQUEST[$_REQUEST['fields-typal']][$field])||strlen(trim($_REQUEST[$_REQUEST['fields-typal']][$field]))==0)
- $passed = false;
- }
- }
-} else {
- foreach($_REQUEST['fields-required'] as $key => $field) {
- if (is_array($_REQUEST[$field])) {
- foreach($_REQUEST[$field] as $keyb => $value)
- if (empty($value)||strlen(trim($value))==0)
- $passed = false;
- } else {
- if (empty($_REQUEST[$field])||strlen(trim($_REQUEST[$field]))==0)
- $passed = false;
- }
- }
-}
-if ($passed==true){
- $values['disable']['submit-next'] = 'false';
-} else {
- $values['disable']['submit-next'] = 'true';
-}
-print json_encode($values);
-?>
\ No newline at end of file
Deleted: XoopsModules/signed/trunk/modules/signed/footer.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/footer.php 2014-11-25 18:45:25 UTC (rev 12870)
+++ XoopsModules/signed/trunk/modules/signed/footer.php 2014-11-25 18:46:20 UTC (rev 12871)
@@ -1,45 +0,0 @@
-<?php
-/**
- * Chronolabs Digital Signature Generation & API Services
- *
- * You may not change or alter any portion of this comment or credits
- * of supporting developers from this source code or any supporting source code
- * which is considered copyrighted (c) material of the original comment or credit authors.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * @copyright Chronolabs Cooperative http://labs.coop
- * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
- * @package signed
- * @since 1.0.1
- * @author Simon Roberts <wis...@us...>
- * @subpackage kernel
- * @description Digital Signature Generation & API Services
- * @link https://signed.labs.coop Digital Signature Generation & API Services
- */
-
-$GLOBALS['canvas'] = ob_get_clean();
-if (!defined('_SIGNED_CANVAS'))
- define('_SIGNED_CANVAS', $GLOBALS['canvas']);
-
-if (isset($GLOBALS['errors']) && is_array($GLOBALS['errors']) && count($GLOBALS['errors'])>0) {
- $GLOBALS['error'] = "<ol><li>" . implode("</li><li>", $GLOBALS['errors']) . "</li></ol>";
- if (!defined('_SIGNED_ERRORS'))
- define('_SIGNED_ERRORS', $GLOBALS['error']);
- if (is_object($GLOBALS['logger']))
- $GLOBALS['logger']->logBytes(strlen($GLOBALS['error']), 'html-canvased');
-}
-if ($GLOBALS['logger'] = signedLogger::getInstance())
- $GLOBALS['logger']->logBytes(strlen($GLOBALS['canvas']), 'html-canvased');
-ob_start();
-include _PATH_TEMPLATES . _DS_ . 'common' . _DS_ . 'canvas.php';
-$buffer = ob_get_clean();
-if ($GLOBALS['logger'] = signedLogger::getInstance())
- $GLOBALS['logger']->logBytes(strlen($buffer), 'html-buffered');
-$GLOBALS['xoopsTpl']->assign('xodes', $buffer);
-$GLOBALS['xoopsTpl']->assign('xoops_pagetitle', (isset($GLOBALS['pagetitle'])&&!empty($GLOBALS['pagetitle'])?$GLOBALS['pagetitle'] . " :: " ._SIGNED_TITLE:_SIGNED_TITLE));
-$GLOBALS['xoopsTpl']->display("db:signed_wrapper.html");
-include $GLOBALS['xoops']->path('/footer.php');
-exit(0);
-?>
\ No newline at end of file
Deleted: XoopsModules/signed/trunk/modules/signed/generator.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/generator.php 2014-11-25 18:45:25 UTC (rev 12870)
+++ XoopsModules/signed/trunk/modules/signed/generator.php 2014-11-25 18:46:20 UTC (rev 12871)
@@ -1,89 +0,0 @@
-<?php
-/**
- * Chronolabs Digital Signature Generation & API Services
- *
- * You may not change or alter any portion of this comment or credits
- * of supporting developers from this source code or any supporting source code
- * which is considered copyrighted (c) material of the original comment or credit authors.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * @copyright Chronolabs Cooperative http://labs.coop
- * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
- * @package signed
- * @since 1.0.1
- * @author Simon Roberts <wis...@us...>
- * @subpackage kernel
- * @description Digital Signature Generation & API Services
- * @link https://signed.labs.coop Digital Signature Generation & API Services
- */
-
- define('_SIGNED_EVENT_SYSTEM', 'generator');
- require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'header.php';
-
- if (!defined('_SIGNATURE_MODE')) {
- header('Location: '. _URL_ROOT);
- exit(0);
- }
-
- /**
- * Prompting Sessioning
- */
- if (!isset($_SESSION["signed"]['prompts'])) {
- $prompts = signedProcesses::getInstance()->getPromptsArray();
- $_SESSION["signed"]['prompts'] = $prompts[constant('_SIGNATURE_MODE')];
- }
- $promptskeys = array_keys($_SESSION["signed"]['prompts']);
-
- if (!isset($_SESSION["signed"]['action'])) {
- $_SESSION["signed"]['action'] = $promptskeys[0];
- $_SESSION["signed"]['stepstogo'] = signedPrompts::getInstance()->getStepsInPrompt($_SESSION["signed"]['action']);
- $_SESSION["signed"]['finished'] = false;
- $_SESSION["signed"]['package'] = array();
- $_SESSION["signed"]['workbook'] = array();
- }
-
- /**
- * Inbound Data
- */
- if (strtoupper($_SERVER["REQUEST_METHOD"])=="POST" && isset($_REQUEST['step'])) {
- if (signedPrompts::getInstance()->goVerifyAndPackagePrompt($_SESSION["signed"]['action'], $_REQUEST['step'])) {
- if (count(signedPrompts::getInstance()->getStepsLeftPrompt($_SESSION["signed"]['action'], $_REQUEST['step']))==0) {
- $next = '';
- $found = false;
- foreach($promptskeys as $prompt) {
- if ($found==true) {
- $_SESSION["signed"]['action'] = $prompt;
- $_SESSION["signed"]['stepstogo'] = signedPrompts::getInstance()->getStepsInPrompt($_SESSION["signed"]['action']);
- $found= false;
- continue;
- continue;
- }
- if ($prompt == $_SESSION["signed"]['action']) {
- unset($_SESSION["signed"]['stepstogo'][$_REQUEST['step']]);
- if (count($_SESSION["signed"]['stepstogo'])==0) {
- $_SESSION["signed"]['action'] = '';
- $found = true;
- } else {
- continue;
- }
- }
- }
- if ($found == true && empty($_SESSION["signed"]['action'])) {
- $_SESSION["signed"]['finished'] = true;
- $_SESSION["signed"]['stepstogo'] = array();
- $_SESSION["signed"]['action'] = $promptskeys[count($promptskeys)-1];
- }
- }
- }
- }
- define('_SIGNED_EVENT_TYPE', $_SESSION["signed"]['action']);
-
- /**
- * Buffer Templates to output buffer
- */
- signedCanvas::getInstance()->getContentBuffer($_SESSION["signed"]['action'], signedPrompts::getInstance()->getNextStepInPrompt($_SESSION["signed"]['action'], $_SESSION["signed"]['stepstogo']));
-
- require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php';
-?>
\ No newline at end of file
Deleted: XoopsModules/signed/trunk/modules/signed/header.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/header.php 2014-11-25 18:45:25 UTC (rev 12870)
+++ XoopsModules/signed/trunk/modules/signed/header.php 2014-11-25 18:46:20 UTC (rev 12871)
@@ -1,27 +0,0 @@
-<?php
-/**
- * Chronolabs Digital Signature Generation & API Services
- *
- * You may not change or alter any portion of this comment or credits
- * of supporting developers from this source code or any supporting source code
- * which is considered copyrighted (c) material of the original comment or credit authors.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * @copyright Chronolabs Cooperative http://labs.coop
- * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
- * @package signed
- * @since 1.0.1
- * @author Simon Roberts <wis...@us...>
- * @subpackage kernel
- * @description Digital Signature Generation & API Services
- * @link https://signed.labs.coop Digital Signature Generation & API Services
- */
-
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'common.php';
-if (($GLOBALS['logger'] = signedLogger::getInstance()) && isset($_SERVER['CONTENT_LENGTH']))
- $GLOBALS['logger']->logBytes($_SERVER['CONTENT_LENGTH'], 'recieved');
-include $GLOBALS['xoops']->path('/header.php');
-ob_start();
-?>
\ No newline at end of file
Deleted: XoopsModules/signed/trunk/modules/signed/index.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/index.php 2014-11-25 18:45:25 UTC (rev 12870)
+++ XoopsModules/signed/trunk/modules/signed/index.php 2014-11-25 18:46:20 UTC (rev 12871)
@@ -1,26 +0,0 @@
-<?php
-/**
- * Chronolabs Digital Signature Generation & API Services
- *
- * You may not change or alter any portion of this comment or credits
- * of supporting developers from this source code or any supporting source code
- * which is considered copyrighted (c) material of the original comment or credit authors.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * @copyright Chronolabs Cooperative http://labs.coop
- * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
- * @package signed
- * @since 1.0.1
- * @author Simon Roberts <wis...@us...>
- * @subpackage kernel
- * @description Digital Signature Generation & API Services
- * @link https://signed.labs.coop Digital Signature Generation & API Services
- */
-define('_SIGNED_EVENT_SYSTEM', 'kernel');
-define('_SIGNED_EVENT_TYPE', 'beginning');
-require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'header.php';
-require _PATH_TEMPLATES . _DS_ . 'common' . _DS_ . 'start.php';
-require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php';
-?>
Deleted: XoopsModules/signed/trunk/modules/signed/request.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/request.php 2014-11-25 18:45:25 UTC (rev 12870)
+++ XoopsModules/signed/trunk/modules/signed/request.php 2014-11-25 18:46:20 UTC (rev 12871)
@@ -1,106 +0,0 @@
-<?php
-/**
- * Chronolabs Digital Signature Generation & API Services
- *
- * You may not change or alter any portion of this comment or credits
- * of supporting developers from this source code or any supporting source code
- * which is considered copyrighted (c) material of the original comment or credit authors.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * @copyright Chronolabs Cooperative http://labs.coop
- * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
- * @package signed
- * @since 1.0.1
- * @author Simon Roberts <wis...@us...>
- * @subpackage kernel
- * @description Digital Signature Generation & API Services
- * @link https://signed.labs.coop Digital Signature Generation & API Services
- */
- define('_SIGNED_EVENT_SYSTEM', 'request');
- require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'header.php';
-
- if (!defined('_SIGNATURE_MODE')) {
- header('Location: '. _URL_ROOT);
- exit(0);
- }
-
- if (!isset($_SESSION["signed"]['serial']) && isset($_GET['serial'])) {
- $_SESSION["signed"]['serial'] = $_GET['serial'];
- $_SESSION["signed"]['start'] = microtime();
- }
-
- $GLOBALS['io'] = signedStorage::getInstance(_SIGNED_RESOURCES_STORAGE);
-
- if (!$GLOBALS['io']->file_exists(_PATH_PATHWAYS_REQUEST, $_SESSION["signed"]['serial'])) {
- signed_goReset();
- header('Location: ' . _URL_ROOT);
- exit(0);
- }
-
- if (!isset($_SESSION["signed"]['request']) || empty($_SESSION["signed"]['request']) && isset($_SESSION["signed"]['serial'])) {
- $_SESSION["signed"]['request'] = $GLOBALS['io']->load(_PATH_PATHWAYS_REQUEST, $_SESSION["signed"]['serial']);
- $resource = $GLOBALS['io']->load(_PATH_REPO_SIGNATURES, $_SESSION["signed"]['serial']);
- $_SESSION["signed"]['package'] = $resource['resources']['signature'];
- }
- /**
- * Prompting Sessioning
- */
- if (!isset($_SESSION["signed"]['prompts'])) {
- $prompts = signed_getRequestPromptsArray($_SESSION["signed"]['serial']);
- $_SESSION["signed"]['prompts'] = $prompts[constant('_SIGNATURE_MODE')];
- }
- $promptskeys = array_keys($_SESSION["signed"]['prompts']);
-
- if (!isset($_SESSION["signed"]['action'])) {
- $_SESSION["signed"]['action'] = $promptskeys[0];
- $_SESSION["signed"]['stepstogo'] = signed_getRequestStepsInPrompt($_SESSION["signed"]['action'], $_SESSION["signed"]['serial']);
- $_SESSION["signed"]['finished'] = false;
- $_SESSION["signed"]['package'] = array();
- $_SESSION["signed"]['workbook'] = array();
- }
-
- /**
- * Inbound Data
- */
- if (strtoupper($_SERVER["REQUEST_METHOD"])=="POST" && isset($_REQUEST['step'])) {
- if (signed_goVerifyAndPackagePrompt($_SESSION["signed"]['action'], $_REQUEST['step'])) {
- if (count(signed_getStepsLeftPrompt($_SESSION["signed"]['action'], $_REQUEST['step']))==0) {
- $next = '';
- $found = false;
- foreach($promptskeys as $prompt) {
- if ($found==true) {
- $_SESSION["signed"]['action'] = $prompt;
- $_SESSION["signed"]['stepstogo'] = signed_getRequestStepsInPrompt($_SESSION["signed"]['action'], $_SESSION["signed"]['serial']);
- $found= false;
- continue;
- continue;
- }
- if ($prompt == $_SESSION["signed"]['action']) {
- unset($_SESSION["signed"]['stepstogo'][$_REQUEST['step']]);
- if (count($_SESSION["signed"]['stepstogo'])==0) {
- $_SESSION["signed"]['action'] = '';
- $found = true;
- } else {
- continue;
- }
- }
- }
- if ($found == true && empty($_SESSION["signed"]['action'])) {
- $_SESSION["signed"]['finished'] = true;
- $_SESSION["signed"]['stepstogo'] = array();
- $_SESSION["signed"]['action'] = $promptskeys[count($promptskeys)-1];
- }
- }
- }
- }
- define('_SIGNED_EVENT_TYPE', $_SESSION["signed"]['action']);
-
- /**
- * Buffer Templates to output buffer
- */
- signed_goBufferPrompt($_SESSION["signed"]['action'], signed_getNextStepInPrompt($_SESSION["signed"]['action'], $_SESSION["signed"]['stepstogo']));
-
- require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php';
-?>
\ No newline at end of file
Deleted: XoopsModules/signed/trunk/modules/signed/reset.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/reset.php 2014-11-25 18:45:25 UTC (rev 12870)
+++ XoopsModules/signed/trunk/modules/signed/reset.php 2014-11-25 18:46:20 UTC (rev 12871)
@@ -1,24 +0,0 @@
-<?php
-/**
- * Chronolabs Digital Signature Generation & API Services
- *
- * You may not change or alter any portion of this comment or credits
- * of supporting developers from this source code or any supporting source code
- * which is considered copyrighted (c) material of the original comment or credit authors.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * @copyright Chronolabs Cooperative http://labs.coop
- * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
- * @package signed
- * @since 1.0.1
- * @author Simon Roberts <wis...@us...>
- * @subpackage kernel
- * @description Digital Signature Generation & API Services
- * @link https://signed.labs.coop Digital Signature Generation & API Services
- */
-require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'header.php';
-require _PATH_TEMPLATES . _DS_ . 'common' . _DS_ . 'reset.php';
-require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php';
-?>
Deleted: XoopsModules/signed/trunk/modules/signed/updator.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/updator.php 2014-11-25 18:45:25 UTC (rev 12870)
+++ XoopsModules/signed/trunk/modules/signed/updator.php 2014-11-25 18:46:20 UTC (rev 12871)
@@ -1,32 +0,0 @@
-<?php
-/**
- * Chronolabs Digital Signature Generation & API Services
- *
- * You may not change or alter any portion of this comment or credits
- * of supporting developers from this source code or any supporting source code
- * which is considered copyrighted (c) material of the original comment or credit authors.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * @copyright Chronolabs Cooperative http://labs.coop
- * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
- * @package signed
- * @since 1.0.1
- * @author Simon Roberts <wis...@us...>
- * @subpackage kernel
- * @description Digital Signature Generation & API Services
- * @link https://signed.labs.coop Digital Signature Generation & API Services
- */
- define('_SIGNED_EVENT_SYSTEM', 'updator');
- require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'header.php';
- if (!isset($_SESSION["signed"]['op']))
- $_SESSION["signed"]['op'] = isset($_GET['op'])?$_GET['op']:'identification';
- if (!isset($_SESSION["signed"]['serial']))
- $_SESSION["signed"]['serial'] = isset($_GET['serial'])?$_GET['serial']:md5(NULL);
- if (!isset($_SESSION["signed"]['key']))
- $_SESSION["signed"]['key'] = isset($_GET['key'])?$_GET['key']:md5(NULL);
- define('_SIGNED_EVENT_TYPE', $_SESSION["signed"]['op']);
- require _PATH_TEMPLATES . _DS_ . 'common' . _DS_ . 'update-'.$_SESSION["signed"]['op'].'.php';
- require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php';
-?>
\ No newline at end of file
Deleted: XoopsModules/signed/trunk/modules/signed/verifor.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/verifor.php 2014-11-25 18:45:25 UTC (rev 12870)
+++ XoopsModules/signed/trunk/modules/signed/verifor.php 2014-11-25 18:46:20 UTC (rev 12871)
@@ -1,27 +0,0 @@
-<?php
-/**
- * Chronolabs Digital Signature Generation & API Services
- *
- * You may not change or alter any portion of this comment or credits
- * of supporting developers from this source code or any supporting source code
- * which is considered copyrighted (c) material of the original comment or credit authors.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * @copyright Chronolabs Cooperative http://labs.coop
- * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
- * @package signed
- * @since 1.0.1
- * @author Simon Roberts <wis...@us...>
- * @subpackage kernel
- * @description Digital Signature Generation & API Services
- * @link https://signed.labs.coop Digital Signature Generation & API Services
- */
-define('_SIGNED_EVENT_SYSTEM', 'verifor');
-$op = isset($_GET['op'])?$_GET['op']:'email';
-define('_SIGNED_EVENT_TYPE', $op);
-require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'header.php';
-require _PATH_TEMPLATES . _DS_ . 'common' . _DS_ . 'verify-'.$op.'.php';
-require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php';
-?>
\ No newline at end of file
Deleted: XoopsModules/signed/trunk/modules/signed/xoops_version.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/xoops_version.php 2014-11-25 18:45:25 UTC (rev 12870)
+++ XoopsModules/signed/trunk/modules/signed/xoops_version.php 2014-11-25 18:46:20 UTC (rev 12871)
@@ -1,712 +0,0 @@
-<?php
-/**
- * Private message module
- *
- * You may not change or alter any portion of this comment or credits
- * of supporting developers from this source code or any supporting source code
- * which is considered copyrighted (c) material of the original comment or credit authors.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
- * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
- * @package pm
- * @since 2.3.0
- * @author Jan Pedersen
- * @author Taiwen Jiang <ph...@us...>
- * @version $Id: xoops_version.php 12593 2014-06-14 16:04:02Z beckmi $
- */
-
-/**
- * This is a temporary solution for merging XOOPS 2.0 and 2.2 series
- * A thorough solution will be available in XOOPS 3.0
- *
- */
-
-$modversion = array();
-$modversion['name'] = _SIGNED_MI_MODULE_NAME;
-$modversion['version'] = _SIGNED_MI_MODULE_VERSION;
-$modversion['description'] = _SIGNED_MI_MODULE_DESCRIPTION;
-$modversion['author'] = _SIGNED_MI_MODULE_AUTHOR;
-$modversion['credits'] = _SIGNED_MI_MODULE_CREDITS;
-$modversion['help'] = 'page=help';
-$modversion['license'] = 'Chronolabs GSL';
-$modversion['license_url'] = "web.labs.coop/public/legal/general-software-license/10,3.html";
-$modversion['image'] = "image/signed.png";
-$modversion['dirname'] = "signed";
-$modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin';
-$modversion['icons16'] = 'image/icons/16';
-$modversion['icons32'] = 'image/icons/32';
-
-//about
-$modversion["module_status"] = "Final";
-$modversion['release_date'] = '2014/06/14';
-$modversion["module_website_url"] = "http://labs.coop/";
-$modversion["module_website_name"] = "Chronolabs Cooperative";
-$modversion['min_php'] = '5.3.7';
-$modversion['min_xoops'] = "2.5.7";
-$modversion['min_admin'] = '1.1';
-$modversion['min_db'] = array(
- 'mysql' => '5.0.7',
- 'mysqli' => '5.0.7'
-);
-
-// Admin menu
-// Set to 1 if you want to display menu generated by system module
-$modversion['system_menu'] = 1;
-
-// Admin things
-$modversion['hasAdmin'] = 1;
-$modversion['adminindex'] = "admin/admin.php";
-$modversion['adminmenu'] = "admin/menu.php";
-
-// Mysql file
-$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
-
-// Table
-$modversion['tables'][0] = "signed_signatures";
-$modversion['tables'][1] = "signed_events";
-$modversion['tables'][2] = "signed_event_links";
-
-
-// Templates
-$modversion['templates'] = array();
-$modversion['templates'][1]['file'] = 'signed_wrapper.html';
-$modversion['templates'][1]['description'] = 'Digital Self Signinf ~ HTML Wrapper';
-
-
-// Menu
-$modversion['hasMain'] = 1;
-
-$modversion['config'] = array();
-$modversion['config'][] = array(
- 'name' => 'memory_limits',
- 'title' => '_SIGNED_MI_MEMORY_LIMITS',
- 'description' => '_SIGNED_MI_MEMORY_LIMITS_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'int',
- 'default' => 396
-);
-
-
-$modversion['config'][] = array(
- 'name' => 'htaccess',
- 'title' => '_SIGNED_MI_HTACCESS',
- 'description' => '_SIGNED_MI_HTACCESS_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => false
-);
-
-$modversion['config'][] = array(
- 'name' => 'htaccess_path',
- 'title' => '_SIGNED_MI_HTACCESS_PATH',
- 'description' => '_SIGNED_MI_HTACCESS_PATH_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => '/signing'
-);
-
-$modversion['config'][] = array(
- 'name' => 'htaccess_url_api',
- 'title' => '_SIGNED_MI_HTACCESS_URL_API',
- 'description' => '_SIGNED_MI_HTACCESS_URL_API_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => XOOPS_URL . '/signer'
-);
-
-
-$modversion['config'][] = array(
- 'name' => 'htaccess_extension',
- 'title' => '_SIGNED_MI_HTACCESS_EXTENSION',
- 'description' => '_SIGNED_MI_HTACCESS_EXTENSION_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => '.html'
-);
-
-
-$modversion['config'][] = array(
- 'name' => 'title',
- 'title' => '_SIGNED_MI_TITLE',
- 'description' => '_SIGNED_MI_TITLE_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => 'Digital Signatures'
-);
-
-$modversion['config'][] = array(
- 'name' => 'email',
- 'title' => '_SIGNED_MI_EMAIL',
- 'description' => '_SIGNED_MI_EMAIL_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => $GLOBALS['xoopsConfig']['adminmail']
-);
-
-$modversion['config'][] = array(
- 'name' => 'use_ssl',
- 'title' => '_SIGNED_MI_USE_SSL',
- 'description' => '_SIGNED_MI_USE_SSL_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => false
-);
-
-$modversion['config'][] = array(
- 'name' => 'verify_email',
- 'title' => '_SIGNED_MI_VERIFY_EMAIL',
- 'description' => '_SIGNED_MI_VERIFY_EMAIL_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'verify_mobile',
- 'title' => '_SIGNED_MI_VERIFY_MOBILE',
- 'description' => '_SIGNED_MI_VERIFY_MOBILE_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => false
-);
-
-$modversion['config'][] = array(
- 'name' => 'php_timezone',
- 'title' => '_SIGNED_MI_PHPTIMEZONE',
- 'description' => '_SIGNED_MI_PHPTIMEZONE_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => 'Australia/Sydney'
-);
-
-$modversion['config'][] = array(
- 'name' => 'years_numberof',
- 'title' => '_SIGNED_MI_YEARS_NUMBEROF',
- 'description' => '_SIGNED_MI_YEARS_NUMBEROF_DESC',
- 'formtype' => 'textbox',
- 'valuetype' => 'int',
- 'default' => 14
-);
-
-$modversion['config'][] = array(
- 'name' => 'watermark_gif',
- 'title' => '_SIGNED_MI_WATERMARK_GIF',
- 'description' => '_SIGNED_MI_WATERMARK_GIF_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => 'watermark.gif'
-);
-
-$modversion['config'][] = array(
- 'name' => 'watermark_weight',
- 'title' => '_SIGNED_MI_WATERMARK_WEIGHT',
- 'description' => '_SIGNED_MI_WATERMARK_WEIGHT_DESC',
- 'formtype' => 'textbox',
- 'valuetype' => 'float',
- 'default' => 1.25
-);
-
-$modversion['config'][] = array(
- 'name' => 'watermark_scale',
- 'title' => '_SIGNED_MI_WATERMARK_SCALE',
- 'description' => '_SIGNED_MI_WATERMARK_SCALE_DESC',
- 'formtype' => 'textbox',
- 'valuetype' => 'float',
- 'default' => 3.75
-);
-
-$modversion['config'][] = array(
- 'name' => 'watermark_min_opacity',
- 'title' => '_SIGNED_MI_WATERMARK_MINOPACITY',
- 'description' => '_SIGNED_MI_WATERMARK_MINOPACITY_DESC',
- 'formtype' => 'textbox',
- 'valuetype' => 'int',
- 'default' => 32
-);
-
-$modversion['config'][] = array(
- 'name' => 'watermark_max_opacity',
- 'title' => '_SIGNED_MI_WATERMARK_MAXOPACITY',
- 'description' => '_SIGNED_MI_WATERMARK_MAXOPACITY_DESC',
- 'formtype' => 'textbox',
- 'valuetype' => 'int',
- 'default' => 82
-);
-
-$modversion['config'][] = array(
- 'name' => 'errors_logged',
- 'title' => '_SIGNED_MI_ERRORS_LOGGED',
- 'description' => '_SIGNED_MI_ERRORS_LOGGED_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => false
-);
-
-$modversion['config'][] = array(
- 'name' => 'errors_displayed',
- 'title' => '_SIGNED_MI_ERRORS_DISPLAYED',
- 'description' => '_SIGNED_MI_ERRORS_DISPLAYED_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => false
-);
-
-$modversion['config'][] = array(
- 'name' => 'errors_reporting',
- 'title' => '_SIGNED_MI_ERRORS_REPORTING',
- 'description' => '_SIGNED_MI_ERRORS_REPORTING_DESC',
- 'formtype' => 'select',
- 'valuetype' => 'int',
- 'options' => array('All Errors' => E_ALL, 'Critical Only' => E_ERROR, 'Notices Only' => E_NOTICE, 'Warnings Only' => E_WARNING),
- 'default' => E_ERROR
-);
-
-$modversion['config'][] = array(
- 'name' => 'discoverable',
- 'title' => '_SIGNED_MI_DISCOVERABLE',
- 'description' => '_SIGNED_MI_DISCOVERABLE_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'storage',
- 'title' => '_SIGNED_MI_STORAGE',
- 'description' => '_SIGNED_MI_STORAGE_DESC',
- 'formtype' => 'select',
- 'valuetype' => 'text',
- 'options' => array(_SIGNED_MI_FORMAT_JSON => 'json', _SIGNED_MI_FORMAT_SERIAL => 'serial', _SIGNED_MI_FORMAT_XML => 'xml'),
- 'default' => 'json'
-);
-
-$modversion['config'][] = array(
- 'name' => 'storage_logs',
- 'title' => '_SIGNED_MI_STORAGE_LOGS',
- 'description' => '_SIGNED_MI_STORAGE_LOGS_DESC',
- 'formtype' => 'select',
- 'valuetype' => 'text',
- 'options' => array(_SIGNED_MI_FORMAT_JSON => 'json', _SIGNED_MI_FORMAT_SERIAL => 'serial', _SIGNED_MI_FORMAT_XML => 'xml'),
- 'default' => 'json'
-);
-
-$modversion['config'][] = array(
- 'name' => 'storage_signed',
- 'title' => '_SIGNED_MI_STORAGE_SIGNED',
- 'description' => '_SIGNED_MI_STORAGE_SIGNED_DESC',
- 'formtype' => 'select',
- 'valuetype' => 'text',
- 'options' => array(_SIGNED_MI_FORMAT_JSON => 'json', _SIGNED_MI_FORMAT_SERIAL => 'serial', _SIGNED_MI_FORMAT_XML => 'xml'),
- 'default' => 'json'
-);
-
-$modversion['config'][] = array(
- 'name' => 'storage_resources',
- 'title' => '_SIGNED_MI_STORAGE_RESOURCES',
- 'description' => '_SIGNED_MI_STORAGE_RESOURCES_DESC',
- 'formtype' => 'select',
- 'valuetype' => 'text',
- 'options' => array(_SIGNED_MI_FORMAT_JSON => 'json', _SIGNED_MI_FORMAT_SERIAL => 'serial', _SIGNED_MI_FORMAT_XML => 'xml'),
- 'default' => 'json'
-);
-
-$modversion['config'][] = array(
- 'name' => 'storage_urls',
- 'title' => '_SIGNED_MI_STORAGE_URLS',
- 'description' => '_SIGNED_MI_STORAGE_URLS_DESC',
- 'formtype' => 'select',
- 'valuetype' => 'text',
- 'options' => array(_SIGNED_MI_FORMAT_JSON => 'json', _SIGNED_MI_FORMAT_SERIAL => 'serial', _SIGNED_MI_FORMAT_XML => 'xml'),
- 'default' => 'json'
-);
-
-$modversion['config'][] = array(
- 'name' => 'logo_width',
- 'title' => '_SIGNED_MI_LOGOWIDTH',
- 'description' => '_SIGNED_MI_LOGOWIDTH_DESC',
- 'formtype' => 'textbox',
- 'valuetype' => 'int',
- 'default' => 320
-);
-
-$modversion['config'][] = array(
- 'name' => 'logo_height',
- 'title' => '_SIGNED_MI_LOGOHEIGHT',
- 'description' => '_SIGNED_MI_LOGOHEIGHT_DESC',
- 'formtype' => 'textbox',
- 'valuetype' => 'int',
- 'default' => 320
-);
-
-$modversion['config'][] = array(
- 'name' => 'photo_width',
- 'title' => '_SIGNED_MI_PHOTOWIDTH',
- 'description' => '_SIGNED_MI_PHOTOWIDTH_DESC',
- 'formtype' => 'textbox',
- 'valuetype' => 'int',
- 'default' => 340
-);
-
-$modversion['config'][] = array(
- 'name' => 'photo_height',
- 'title' => '_SIGNED_MI_PHOTOHEIGHT',
- 'description' => '_SIGNED_MI_PHOTOHEIGHT_DESC',
- 'formtype' => 'textbox',
- 'valuetype' => 'int',
- 'default' => 375
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_user',
- 'title' => '_SIGNED_MI_API_USER',
- 'description' => '_SIGNED_MI_API_USER_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => ''
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_format',
- 'title' => '_SIGNED_MI_API_FORMAT',
- 'description' => '_SIGNED_MI_API_FORMAT_DESC',
- 'formtype' => 'select',
- 'valuetype' => 'text',
- 'options' => array(_SIGNED_MI_FORMAT_JSON => 'json', _SIGNED_MI_FORMAT_SERIAL => 'serial', _SIGNED_MI_FORMAT_XML => 'xml'),
- 'default' => 'json'
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_enabled',
- 'title' => '_SIGNED_MI_API_ENABLED',
- 'description' => '_SIGNED_MI_API_ENABLED_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_sign',
- 'title' => '_SIGNED_MI_API_SIGN',
- 'description' => '_SIGNED_MI_API_SIGN_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_verify',
- 'title' => '_SIGNED_MI_API_VERIFY',
- 'description' => '_SIGNED_MI_API_VERIFY_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-
-$modversion['config'][] = array(
- 'name' => 'api_verification',
- 'title' => '_SIGNED_MI_API_VERIFICATION',
- 'description' => '_SIGNED_MI_API_VERIFICATION_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_sites',
- 'title' => '_SIGNED_MI_API_SITES',
- 'description' => '_SIGNED_MI_API_SITES_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-
-$modversion['config'][] = array(
- 'name' => 'api_languages',
- 'title' => '_SIGNED_MI_API_LANGUAGES',
- 'description' => '_SIGNED_MI_API_LANGUAGES_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_classes',
- 'title' => '_SIGNED_MI_API_CLASSES',
- 'description' => '_SIGNED_MI_API_CLASSES_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_descriptions',
- 'title' => '_SIGNED_MI_API_DESCRIPTIONS',
- 'description' => '_SIGNED_MI_API_DESCRIPTIONS_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_enumerators',
- 'title' => '_SIGNED_MI_API_ENUMERATORS',
- 'description' => '_SIGNED_MI_API_ENUMERATORS_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_fields',
- 'title' => '_SIGNED_MI_API_FIELDS',
- 'description' => '_SIGNED_MI_API_FIELDS_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_fieldtypes',
- 'title' => '_SIGNED_MI_API_FIELDTYPES',
- 'description' => '_SIGNED_MI_API_FIELDTYPES_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_identifications',
- 'title' => '_SIGNED_MI_API_IDENTIFICATIONS',
- 'description' => '_SIGNED_MI_API_IDENTIFICATIONS_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_prompts',
- 'title' => '_SIGNED_MI_API_PROMPTS',
- 'description' => '_SIGNED_MI_API_PROMPTS_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_providers',
- 'title' => '_SIGNED_MI_API_PROVIDERS',
- 'description' => '_SIGNED_MI_API_PROVIDERS_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_signatures',
- 'title' => '_SIGNED_MI_API_SIGNATURES',
- 'description' => '_SIGNED_MI_API_SIGNATURES_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_validations',
- 'title' => '_SIGNED_MI_API_VALIDATIONS',
- 'description' => '_SIGNED_MI_API_VALIDATIONS_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_processes',
- 'title' => '_SIGNED_MI_API_PROCESSES',
- 'description' => '_SIGNED_MI_API_PROCESSES_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_language',
- 'title' => '_SIGNED_MI_API_LANGAUGE',
- 'description' => '_SIGNED_MI_API_LANGAUGE_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_states',
- 'title' => '_SIGNED_MI_API_STATES',
- 'description' => '_SIGNED_MI_API_STATES_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_request',
- 'title' => '_SIGNED_MI_API_REQUEST',
- 'description' => '_SIGNED_MI_API_REQUEST_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'api_banned',
- 'title' => '_SIGNED_MI_API_BANNED',
- 'description' => '_SIGNED_MI_API_BANNED_DESC',
- 'formtype' => 'yesno',
- 'valuetype' => 'int',
- 'default' => true
-);
-
-$modversion['config'][] = array(
- 'name' => 'banning_cookie',
- 'title' => '_SIGNED_MI_BANNING_COOKIE',
- 'description' => '_SIGNED_MI_BANNING_COOKIE_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => 'signed-xoops-pointers'
-);
-
-
-$modversion['config'][] = array(
- 'name' => 'email_fromaddr',
- 'title' => '_SIGNED_MI_EMAIL_FROMADDR',
- 'description' => '_SIGNED_MI_EMAIL_FROMADDR_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => $GLOBALS['xoopsConfig']['adminmail']
-);
-
-$modversion['config'][] = array(
- 'name' => 'email_fromname',
- 'title' => '_SIGNED_MI_EMAIL_FROMNAME',
- 'description' => '_SIGNED_MI_EMAIL_FROMNAME_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => $GLOBALS['xoopsConfig']['sitename'] . ' Digital Signatures'
-);
-
-$modversion['config'][] = array(
- 'name' => 'email_priority',
- 'title' => '_SIGNED_MI_EMAIL_PRIORITY',
- 'description' => '_SIGNED_MI_EMAIL_PRIORITY_DESC',
- 'formtype' => 'select',
- 'valuetype' => 'text',
- 'options' => array( _SIGNED_MI_OPTION_EMAIL_PRIORITY_HIGH => 'high', _SIGNED_MI_OPTION_EMAIL_PRIORITY_NORMAL => 'normal', _SIGNED_MI_OPTION_EMAIL_PRIORITY_LOW => 'low'),
- 'default' => 'high'
-);
-
-$modversion['config'][] = array(
- 'name' => 'email_method',
- 'title' => '_SIGNED_MI_EMAIL_METHOD',
- 'description' => '_SIGNED_MI_EMAIL_METHOD_DESC',
- 'formtype' => 'select',
- 'valuetype' => 'text',
- 'options' => array('PHP Mail' => 'mail','SMTP Authenticated' => 'smtp','Sendmail' => 'sendmail'),
- 'default' => 'mail'
-);
-
-$modversion['config'][] = array(
- 'name' => 'email_smtp_host',
- 'title' => '_SIGNED_MI_EMAIL_SMTP_HOST',
- 'description' => '_SIGNED_MI_EMAIL_SMTP_HOST_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => ''
-);
-
-$modversion['config'][] = array(
- 'name' => 'email_smtp_user',
- 'title' => '_SIGNED_MI_EMAIL_SMTP_USER',
- 'description' => '_SIGNED_MI_EMAIL_SMTP_USER_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => ''
-);
-
-$modversion['config'][] = array(
- 'name' => 'email_smtp_pass',
- 'title' => '_SIGNED_MI_EMAIL_SMTP_PASS',
- 'description' => '_SIGNED_MI_EMAIL_SMTP_PASS_DESC',
- 'formtype' => 'password',
- 'valuetype' => 'text',
- 'default' => ''
-);
-
-$modversion['config'][] = array(
- 'name' => 'email_sendmail',
- 'title' => '_SIGNED_MI_EMAIL_SENDMAIL',
- 'description' => '_SIGNED_MI_EMAIL_SENDMAIL_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => '/usr/sbin/sendmail'
-);
-
-$modversion['config'][] = array(
- 'name' => 'email_queued',
- 'title' => '_SIGNED_MI_EMAIL_QUEUED',
- 'description' => '_SIGNED_MI_EMAIL_QUEUED_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'int',
- 'default' => 172800
-);
-
-$modversion['config'][] = array(
- 'name' => 'sms_method',
- 'title' => '_SIGNED_MI_SMS_METHOD',
- 'description' => '_SIGNED_MI_SMS_METHOD_DESC',
- 'formtype' => 'select',
- 'valuetype' => 'text',
- 'options' => array('Cardboardfish SMS' => 'cardboardfish'),
- 'default' => 'mail'
-);
-
-
-$modversion['config'][] = array(
- 'name' => 'sms_fromnumber',
- 'title' => '_SIGNED_MI_SMS_FROMNUMBER',
- 'description' => '_SIGNED_MI_SMS_FROMNUMBER_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'int',
- 'default' => 61000000000
-);
-
-$modversion['config'][] = array(
- 'name' => 'cardboardfish_uri',
- 'title' => '_SIGNED_MI_SMS_CARDBOARDFISH_URI',
- 'description' => '_SIGNED_MI_SMS_CARDBOARDFISH_URI_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => 'http://sms1.cardboardfish.com:9001/HTTPSMS?'
-);
-
-$modversion['config'][] = array(
- 'name' => 'cardboardfish_user',
- 'title' => '_SIGNED_MI_SMS_CARDBOARDFISH_USER',
- 'description' => '_SIGNED_MI_SMS_CARDBOARDFISH_USER_DESC',
- 'formtype' => 'text',
- 'valuetype' => 'text',
- 'default' => ''
-);
-
-$modversion['config'][] = array(
- 'name' => 'cardboardfish_pass',
- 'title' => '_SIGNED_MI_SMS_CARDBOARDFISH_PASS',
- 'description' => '_SIGNED_MI_SMS_CARDBOARDFISH_PASS_DESC',
- 'formtype' => 'password',
- 'valuetype' => 'text',
- 'default' => ''
-);
-
-?>
\ No newline at end of file
|