From: <wis...@us...> - 2015-11-24 16:41:28
|
Revision: 13167 http://sourceforge.net/p/xoops/svn/13167 Author: wishcraft Date: 2015-11-24 16:41:26 +0000 (Tue, 24 Nov 2015) Log Message: ----------- APP Module Builder Frameworks IPv4 Added Paths: ----------- XoopsModules/ipv4/ XoopsModules/ipv4/releases/ XoopsModules/ipv4/releases/1.10/ XoopsModules/ipv4/releases/1.10/modules/ XoopsModules/ipv4/releases/1.10/modules/ipv4/ XoopsModules/ipv4/releases/1.10/modules/ipv4/images/ XoopsModules/ipv4/releases/1.10/modules/ipv4/images/logo.png XoopsModules/ipv4/releases/1.10/modules/ipv4/index.php XoopsModules/ipv4/releases/1.10/modules/ipv4/language/ XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/ XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/help/ XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/help/help.html XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/help/index.html XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/index.html XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/modinfo.php XoopsModules/ipv4/releases/1.10/modules/ipv4/language/index.html XoopsModules/ipv4/releases/1.10/modules/ipv4/templates/ XoopsModules/ipv4/releases/1.10/modules/ipv4/templates/index.html XoopsModules/ipv4/releases/1.10/modules/ipv4/templates/ipv4_index.tpl XoopsModules/ipv4/releases/1.10/modules/ipv4/xoops_version.php XoopsModules/ipv4/trunk/ XoopsModules/ipv4/trunk/images/ XoopsModules/ipv4/trunk/images/logo.png XoopsModules/ipv4/trunk/index.php XoopsModules/ipv4/trunk/language/ XoopsModules/ipv4/trunk/language/english/ XoopsModules/ipv4/trunk/language/english/help/ XoopsModules/ipv4/trunk/language/english/help/help.html XoopsModules/ipv4/trunk/language/english/help/index.html XoopsModules/ipv4/trunk/language/english/index.html XoopsModules/ipv4/trunk/language/english/modinfo.php XoopsModules/ipv4/trunk/language/index.html XoopsModules/ipv4/trunk/templates/ XoopsModules/ipv4/trunk/templates/index.html XoopsModules/ipv4/trunk/templates/ipv4_index.tpl XoopsModules/ipv4/trunk/xoops_version.php Added: XoopsModules/ipv4/releases/1.10/modules/ipv4/images/logo.png =================================================================== (Binary files differ) Index: XoopsModules/ipv4/releases/1.10/modules/ipv4/images/logo.png =================================================================== --- XoopsModules/ipv4/releases/1.10/modules/ipv4/images/logo.png 2015-11-21 04:07:01 UTC (rev 13166) +++ XoopsModules/ipv4/releases/1.10/modules/ipv4/images/logo.png 2015-11-24 16:41:26 UTC (rev 13167) Property changes on: XoopsModules/ipv4/releases/1.10/modules/ipv4/images/logo.png ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsModules/ipv4/releases/1.10/modules/ipv4/index.php =================================================================== --- XoopsModules/ipv4/releases/1.10/modules/ipv4/index.php (rev 0) +++ XoopsModules/ipv4/releases/1.10/modules/ipv4/index.php 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1,56 @@ +<?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: index.php 12033 2013-09-14 03:16:44Z beckmi $ + */ + +require ( "../../mainfile.php"); + +if ($GLOBALS['xoopsModuleConfig']['htaccess']) + if (strpos($_SERVER['REQUEST_URI'], 'odules/')>0) { + $uri = XOOPS_URL.'/'.$GLOBALS['xoopsModuleConfig']['base_url'].'/debt'.$GLOBALS['xoopsModuleConfig']['end_url']; + header( "HTTP/1.1 301 Moved Permanently" ); + header('Location: '.$uri); + } + +$fee = 0.50 * 4294967296; +$interest = 0.27; +$period = 3600 * 24 * 7 * 4; +$when = strtotime("2008-12-08"); + +$segments = array(); +$due = $fee; +if ($when < time()) +{ + $j = $when; + while($j < time()) + { + $j = $j + $period; + $segments[date("D, d-m-Y",$j)] = number_format($due * $interest, 2); + $due = $due + ($due * $interest); + } +} + +$xoopsOption['template_main'] = 'ipv4_index.tpl'; +include $GLOBALS['xoops']->path('header.php'); + +$GLOBALS['xoopsTpl']->assign('when', date("D, d-m-Y", $when)); +$GLOBALS['xoopsTpl']->assign('fee', number_format($fee,2)); +$GLOBALS['xoopsTpl']->assign('due', number_format($due, 2)); +$GLOBALS['xoopsTpl']->assign('interest', $segments); + $GLOBALS['xoopsTpl']->assign('xoops_pagetitle', "IPv4 -- $ " . number_format($due, 2) . " AUD due Right now IP Address Stack 2 @ChronolabsCoop"); +include $GLOBALS['xoops']->path('footer.php'); Property changes on: XoopsModules/ipv4/releases/1.10/modules/ipv4/index.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/help/help.html =================================================================== --- XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/help/help.html (rev 0) +++ XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/help/help.html 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1,19 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/pm/admin/admin.php" title="Back to the administration of PM"> Private Messaging <img src="<{xoAdminIcons home.png}>" alt="Back to the administration of PM"/></a></h1> + <!-- -----Help Content ---------- --> + <h4 class="odd">Description</h4> + <p class="even">The PM module is for private messaging between users</p> + <h4 class="odd">Install/uninstall</h4> + <p>No special measures necessary, follow the standard installation process – extract the /pm folder into the ../modules directory. Install the module through Admin -> System Module -> Modules.</p> + <p>Detailed instructions on installing modules are available in the <a href="http://goo.gl/adT2i" title="XOOPS Operations Manual">XOOPS Operations Manual</a> </p> + <h4 class="odd">Operating instructions</h4> + <p class="even">To set up this module you need to:</p> + <ul> + <li>You enter your Inbox directly from the front page, or by clicking on the top link “Go to module” in the PM's Admin area.</li> + <li>Configure your preferences for the module (see “Preferences”) and optionally the PM block if you intend to use it (see “Blocks”).</li> + <li>You can do mass deleting of your messages by using the “Prune” Messages" tab.</li> + </ul> + <h4 class="odd">Tutorial</h4> + <p class="even">Tutorial coming soon.</p> + <!-- -----Help Content ---------- --> +</div> \ No newline at end of file Property changes on: XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/help/help.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/help/index.html =================================================================== --- XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/help/index.html (rev 0) +++ XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/help/index.html 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/help/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/index.html =================================================================== --- XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/index.html (rev 0) +++ XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/index.html 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/modinfo.php =================================================================== --- XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/modinfo.php (rev 0) +++ XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/modinfo.php 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1,14 @@ +<?php +// $Id: modinfo.php 12363 2014-03-08 10:39:06Z beckmi $ +// _LANGCODE: en +// _CHARSET : UTF-8 +// Translator: XOOPS Translation Team +define('_IPV4_MI_NAME',"IPv4 Debt"); +define('_IPV4_MI_DESC',"Module for displaying the IPv4 debt to Chronolabs Cooperative"); +define('_IPV4_MI_HTACCESS',"Support HTACCESS"); +define('_IPV4_MI_HTACCESS_DESC',"This will enable support for htaccess"); +define('_IPV4_MI_BASEURL',"Base URL for htaccess"); +define('_IPV4_MI_BASEURL_DESC',"This is the base URL of htaccess"); +define('_IPV4_MI_ENDURL',"End of URL"); +define('_IPV4_MI_ENDURL_DESC',""); + Property changes on: XoopsModules/ipv4/releases/1.10/modules/ipv4/language/english/modinfo.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/releases/1.10/modules/ipv4/language/index.html =================================================================== --- XoopsModules/ipv4/releases/1.10/modules/ipv4/language/index.html (rev 0) +++ XoopsModules/ipv4/releases/1.10/modules/ipv4/language/index.html 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/ipv4/releases/1.10/modules/ipv4/language/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/releases/1.10/modules/ipv4/templates/index.html =================================================================== --- XoopsModules/ipv4/releases/1.10/modules/ipv4/templates/index.html (rev 0) +++ XoopsModules/ipv4/releases/1.10/modules/ipv4/templates/index.html 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/ipv4/releases/1.10/modules/ipv4/templates/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/releases/1.10/modules/ipv4/templates/ipv4_index.tpl =================================================================== --- XoopsModules/ipv4/releases/1.10/modules/ipv4/templates/ipv4_index.tpl (rev 0) +++ XoopsModules/ipv4/releases/1.10/modules/ipv4/templates/ipv4_index.tpl 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1,6 @@ +<h1>IPv4 Stack Node Debt Listing</h1> +<p>Chronolabs was the orginal origins of the IPv4 stack design, it was originally charged at 50c per IP address for the total fee of $ <{$fee}> AUD to paid by <{$when}> by the holding members as they are being credited by Chronolabs and the Omnipotent entities that belong to this cooperative!</p> +<h2>Current amount due!</h2> +<p style="font-size: 167%; font-weight: 800; text-align: center;">$ <{$due}> AUD</p> +<h2>Interest in monthly cycles earned!</h2> +<p style="font-size: 97%; font-weight: 600; text-align: center;"><{foreach from=$interest key=date item=segment}>Charged on <{$date}>: <font style="color:rgb(230,0,0);"><em>$ <{$segment}> AUD</em></font><br /><{/foreach}></p> \ No newline at end of file Property changes on: XoopsModules/ipv4/releases/1.10/modules/ipv4/templates/ipv4_index.tpl ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/releases/1.10/modules/ipv4/xoops_version.php =================================================================== --- XoopsModules/ipv4/releases/1.10/modules/ipv4/xoops_version.php (rev 0) +++ XoopsModules/ipv4/releases/1.10/modules/ipv4/xoops_version.php 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1,110 @@ +<?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'] = _IPV4_MI_NAME; +$modversion['version'] = 1.10; +$modversion['description'] = _IPV4_MI_DESC; +$modversion['author'] = "Simon Antony Roberts"; +$modversion['credits'] = "Chronolabs"; +$modversion['help'] = 'page=help'; +$modversion['license'] = 'GNU GPL 2.0 or later'; +$modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/"; +$modversion['image'] = "images/logo.png"; +$modversion['dirname'] = "ipv4"; +$modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin'; +$modversion['icons16'] = '../../Frameworks/moduleclasses/icons/16'; +$modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32'; + +//about +$modversion["module_status"] = "Final"; +$modversion['release_date'] = '2015/11/23'; +$modversion["module_website_url"] = "http://labs.coop/"; +$modversion["module_website_name"] = "Chronolabs"; +$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'] = 0; + +// Admin things +$modversion['hasAdmin'] = 0; +$modversion['adminindex'] = "admin/admin.php"; +$modversion['adminmenu'] = "admin/menu.php"; + +// Mysql file +//$modversion['sqlfile']['mysql'] = "sql/mysql.sql"; + +// Table +//$modversion['tables'][0] = "pm_messages"; + +// Scripts to run upon installation or update +//$modversion['onInstall'] = "include/install.php"; +//$modversion['onUpdate'] = "include/update.php"; + +// Templates +$modversion['templates'] = array(); +$modversion['templates'][1]['file'] = 'ipv4_index.tpl'; +$modversion['templates'][1]['description'] = ''; +//$modversion['templates'][4]['file'] = 'pm_lookup.tpl'; +//$modversion['templates'][4]['description'] = ''; + +// Menu +$modversion['hasMain'] = 1; + +$modversion['config'] = array(); +$modversion['config'][] = array( + 'name' => 'htaccess', + 'title' => '_IPV4_MI_HTACCESS', + 'description' => '_IPV4_MI_HTACCESS_DESC', + 'formtype' => 'yesno', + 'valuetype' => 'int', + 'default' => false +); + +$modversion['config'][] = array( + 'name' => 'base_url', + 'title' => '_IPV4_MI_BASEURL', + 'description' => '_IPV4_MI_BASEURL_DESC', + 'formtype' => 'textbox', + 'valuetype' => 'text', + 'default' => "ipv4" +); + +$modversion['config'][] = array( + 'name' => 'end_url', + 'title' => '_IPV4_MI_ENDURL', + 'description' => '_IPV4_MI_ENDURL_DESC', + 'formtype' => 'textbox', + 'valuetype' => 'text', + 'default' => ".html" +); Property changes on: XoopsModules/ipv4/releases/1.10/modules/ipv4/xoops_version.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/trunk/images/logo.png =================================================================== (Binary files differ) Index: XoopsModules/ipv4/trunk/images/logo.png =================================================================== --- XoopsModules/ipv4/trunk/images/logo.png 2015-11-21 04:07:01 UTC (rev 13166) +++ XoopsModules/ipv4/trunk/images/logo.png 2015-11-24 16:41:26 UTC (rev 13167) Property changes on: XoopsModules/ipv4/trunk/images/logo.png ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: XoopsModules/ipv4/trunk/index.php =================================================================== --- XoopsModules/ipv4/trunk/index.php (rev 0) +++ XoopsModules/ipv4/trunk/index.php 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1,56 @@ +<?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: index.php 12033 2013-09-14 03:16:44Z beckmi $ + */ + +require ( "../../mainfile.php"); + +if ($GLOBALS['xoopsModuleConfig']['htaccess']) + if (strpos($_SERVER['REQUEST_URI'], 'odules/')>0) { + $uri = XOOPS_URL.'/'.$GLOBALS['xoopsModuleConfig']['base_url'].'/debt'.$GLOBALS['xoopsModuleConfig']['end_url']; + header( "HTTP/1.1 301 Moved Permanently" ); + header('Location: '.$uri); + } + +$fee = 0.50 * 4294967296; +$interest = 0.27; +$period = 3600 * 24 * 7 * 4; +$when = strtotime("2008-12-08"); + +$segments = array(); +$due = $fee; +if ($when < time()) +{ + $j = $when; + while($j < time()) + { + $j = $j + $period; + $segments[date("D, d-m-Y",$j)] = number_format($due * $interest, 2); + $due = $due + ($due * $interest); + } +} + +$xoopsOption['template_main'] = 'ipv4_index.tpl'; +include $GLOBALS['xoops']->path('header.php'); + +$GLOBALS['xoopsTpl']->assign('when', date("D, d-m-Y", $when)); +$GLOBALS['xoopsTpl']->assign('fee', number_format($fee,2)); +$GLOBALS['xoopsTpl']->assign('due', number_format($due, 2)); +$GLOBALS['xoopsTpl']->assign('interest', $segments); + $GLOBALS['xoopsTpl']->assign('xoops_pagetitle', "IPv4 -- $ " . number_format($due, 2) . " AUD due Right now IP Address Stack 2 @ChronolabsCoop"); +include $GLOBALS['xoops']->path('footer.php'); Property changes on: XoopsModules/ipv4/trunk/index.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/trunk/language/english/help/help.html =================================================================== --- XoopsModules/ipv4/trunk/language/english/help/help.html (rev 0) +++ XoopsModules/ipv4/trunk/language/english/help/help.html 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1,19 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/pm/admin/admin.php" title="Back to the administration of PM"> Private Messaging <img src="<{xoAdminIcons home.png}>" alt="Back to the administration of PM"/></a></h1> + <!-- -----Help Content ---------- --> + <h4 class="odd">Description</h4> + <p class="even">The PM module is for private messaging between users</p> + <h4 class="odd">Install/uninstall</h4> + <p>No special measures necessary, follow the standard installation process – extract the /pm folder into the ../modules directory. Install the module through Admin -> System Module -> Modules.</p> + <p>Detailed instructions on installing modules are available in the <a href="http://goo.gl/adT2i" title="XOOPS Operations Manual">XOOPS Operations Manual</a> </p> + <h4 class="odd">Operating instructions</h4> + <p class="even">To set up this module you need to:</p> + <ul> + <li>You enter your Inbox directly from the front page, or by clicking on the top link “Go to module” in the PM's Admin area.</li> + <li>Configure your preferences for the module (see “Preferences”) and optionally the PM block if you intend to use it (see “Blocks”).</li> + <li>You can do mass deleting of your messages by using the “Prune” Messages" tab.</li> + </ul> + <h4 class="odd">Tutorial</h4> + <p class="even">Tutorial coming soon.</p> + <!-- -----Help Content ---------- --> +</div> \ No newline at end of file Property changes on: XoopsModules/ipv4/trunk/language/english/help/help.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/trunk/language/english/help/index.html =================================================================== --- XoopsModules/ipv4/trunk/language/english/help/index.html (rev 0) +++ XoopsModules/ipv4/trunk/language/english/help/index.html 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/ipv4/trunk/language/english/help/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/trunk/language/english/index.html =================================================================== --- XoopsModules/ipv4/trunk/language/english/index.html (rev 0) +++ XoopsModules/ipv4/trunk/language/english/index.html 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/ipv4/trunk/language/english/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/trunk/language/english/modinfo.php =================================================================== --- XoopsModules/ipv4/trunk/language/english/modinfo.php (rev 0) +++ XoopsModules/ipv4/trunk/language/english/modinfo.php 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1,14 @@ +<?php +// $Id: modinfo.php 12363 2014-03-08 10:39:06Z beckmi $ +// _LANGCODE: en +// _CHARSET : UTF-8 +// Translator: XOOPS Translation Team +define('_IPV4_MI_NAME',"IPv4 Debt"); +define('_IPV4_MI_DESC',"Module for displaying the IPv4 debt to Chronolabs Cooperative"); +define('_IPV4_MI_HTACCESS',"Support HTACCESS"); +define('_IPV4_MI_HTACCESS_DESC',"This will enable support for htaccess"); +define('_IPV4_MI_BASEURL',"Base URL for htaccess"); +define('_IPV4_MI_BASEURL_DESC',"This is the base URL of htaccess"); +define('_IPV4_MI_ENDURL',"End of URL"); +define('_IPV4_MI_ENDURL_DESC',""); + Property changes on: XoopsModules/ipv4/trunk/language/english/modinfo.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/trunk/language/index.html =================================================================== --- XoopsModules/ipv4/trunk/language/index.html (rev 0) +++ XoopsModules/ipv4/trunk/language/index.html 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/ipv4/trunk/language/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/trunk/templates/index.html =================================================================== --- XoopsModules/ipv4/trunk/templates/index.html (rev 0) +++ XoopsModules/ipv4/trunk/templates/index.html 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsModules/ipv4/trunk/templates/index.html ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/trunk/templates/ipv4_index.tpl =================================================================== --- XoopsModules/ipv4/trunk/templates/ipv4_index.tpl (rev 0) +++ XoopsModules/ipv4/trunk/templates/ipv4_index.tpl 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1,6 @@ +<h1>IPv4 Stack Node Debt Listing</h1> +<p>Chronolabs was the orginal origins of the IPv4 stack design, it was originally charged at 50c per IP address for the total fee of $ <{$fee}> AUD to paid by <{$when}> by the holding members as they are being credited by Chronolabs and the Omnipotent entities that belong to this cooperative!</p> +<h2>Current amount due!</h2> +<p style="font-size: 167%; font-weight: 800; text-align: center;">$ <{$due}> AUD</p> +<h2>Interest in monthly cycles earned!</h2> +<p style="font-size: 97%; font-weight: 600; text-align: center;"><{foreach from=$interest key=date item=segment}>Charged on <{$date}>: <font style="color:rgb(230,0,0);"><em>$ <{$segment}> AUD</em></font><br /><{/foreach}></p> \ No newline at end of file Property changes on: XoopsModules/ipv4/trunk/templates/ipv4_index.tpl ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/ipv4/trunk/xoops_version.php =================================================================== --- XoopsModules/ipv4/trunk/xoops_version.php (rev 0) +++ XoopsModules/ipv4/trunk/xoops_version.php 2015-11-24 16:41:26 UTC (rev 13167) @@ -0,0 +1,110 @@ +<?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'] = _IPV4_MI_NAME; +$modversion['version'] = 1.10; +$modversion['description'] = _IPV4_MI_DESC; +$modversion['author'] = "Simon Antony Roberts"; +$modversion['credits'] = "Chronolabs"; +$modversion['help'] = 'page=help'; +$modversion['license'] = 'GNU GPL 2.0 or later'; +$modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/"; +$modversion['image'] = "images/logo.png"; +$modversion['dirname'] = "ipv4"; +$modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin'; +$modversion['icons16'] = '../../Frameworks/moduleclasses/icons/16'; +$modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32'; + +//about +$modversion["module_status"] = "Final"; +$modversion['release_date'] = '2015/11/23'; +$modversion["module_website_url"] = "http://labs.coop/"; +$modversion["module_website_name"] = "Chronolabs"; +$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'] = 0; + +// Admin things +$modversion['hasAdmin'] = 0; +$modversion['adminindex'] = "admin/admin.php"; +$modversion['adminmenu'] = "admin/menu.php"; + +// Mysql file +//$modversion['sqlfile']['mysql'] = "sql/mysql.sql"; + +// Table +//$modversion['tables'][0] = "pm_messages"; + +// Scripts to run upon installation or update +//$modversion['onInstall'] = "include/install.php"; +//$modversion['onUpdate'] = "include/update.php"; + +// Templates +$modversion['templates'] = array(); +$modversion['templates'][1]['file'] = 'ipv4_index.tpl'; +$modversion['templates'][1]['description'] = ''; +//$modversion['templates'][4]['file'] = 'pm_lookup.tpl'; +//$modversion['templates'][4]['description'] = ''; + +// Menu +$modversion['hasMain'] = 1; + +$modversion['config'] = array(); +$modversion['config'][] = array( + 'name' => 'htaccess', + 'title' => '_IPV4_MI_HTACCESS', + 'description' => '_IPV4_MI_HTACCESS_DESC', + 'formtype' => 'yesno', + 'valuetype' => 'int', + 'default' => false +); + +$modversion['config'][] = array( + 'name' => 'base_url', + 'title' => '_IPV4_MI_BASEURL', + 'description' => '_IPV4_MI_BASEURL_DESC', + 'formtype' => 'textbox', + 'valuetype' => 'text', + 'default' => "ipv4" +); + +$modversion['config'][] = array( + 'name' => 'end_url', + 'title' => '_IPV4_MI_ENDURL', + 'description' => '_IPV4_MI_ENDURL_DESC', + 'formtype' => 'textbox', + 'valuetype' => 'text', + 'default' => ".html" +); Property changes on: XoopsModules/ipv4/trunk/xoops_version.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property |