Does anyone have an blank modules script for v.5.5. I have some content I want to add. I have placed the content in the blank php file html to nuke off this site it works but I want it to be multilingual here is the examples:
Blank htmlto nuke file:
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2001 by Francisco Burzi (fburzi@ncc.org.ve) */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if (!isset($mainfile)) { include("mainfile.php"); }
$index = 0; ### index = 1 ist MIT den rechten Bloecken - index = 0 Ohne rechteBloecke
include("header.php");
?>
<html>
<script language="JavaScript"
src="http://www.thetravelsyndicate.com/cgi-bin/msg/MSG.cgi?pot">
</script>
<p align="right"> </p>
<p align="right"> </p>
<p align="right"> </p>
<p align="right"><font size="1">Travel Feature module for Phpnuke from <a href="http://planetpornozone.com">planetpornozone.com/live</a></font></p>
</html>
<?
include("footer.php");
?>
Here is the original modules:
<?php
// File: $Id: index.php,v 1.21 Exp $ $Name: $
// ----------------------------------------------------------------------
// Travel Feature Article Module for Post-Nuke
// Please email andrew@surflondon.co.uk and let me know where you are using it
// Want more sticky mods? Please consider making
// a measly $1 donation via paypal user: paypal@bonar.co.uk
//
// Each week - on Thursday - new stories will automatically appear.
// stories are professionally written and contain current,
// entertaining and informative details about places and activities
// all over the world. In exchange links are placed to thetravelsyndiacte.com
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// POST-NUKE Content Management System
// Copyright (C) 2001 by the Post-Nuke Development Team.
// http://www.postnuke.com/
// ----------------------------------------------------------------------
// Based on:
// PHP-NUKE Web Portal System - http://phpnuke.org/
// Thatware - http://thatware.org/
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// 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. See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
// Original Author of file: Francisco Burzi
// Purpose of file:
// ----------------------------------------------------------------------
include 'mainfile.php';
$index = 1;
/* Post-Nuke Change -- niceguyeddie
Credits to Edgar Miller -- http://www.bosna.de/ from his post on PHP-Nuke ( http://phpnuke.org/article.php?sid=2010&mode=nested&order=0&thold=0 )
Further Credits go to Djordjevic Nebojsa (nesh) for the fix for the fix */
$ModName = basename( dirname( __FILE__ ) );
/* Now all we have to do is change the module name in the links through-out the script to $ModName and you should be able to change than name of the directory to whatever you want, and the links will change with it. This is done for our non-english speaking friends, and idiots like me that just change the name of things to be "original" */
modules_get_language();
if (!$user){
$username="";
}else{
getusrinfo($user);
}
global $textcolor1,$textcolor2, $user, $cookie, $adminmail, $nukeurl, $sitename, $user, $pntable, $dbconn, $multilingual, $currentlang, $bgcolor2 ;
include("header.php");
include("config.php");
OpenTable();
?>
<script language="JavaScript"
src="http://www.thetravelsyndicate.com/cgi-bin/msg/MSG.cgi?pot">
</script>
<p align="right"> </p>
<p align="right"> </p>
<p align="right"> </p>
<p align="right"><font size="1">Travel Feature module for PostNuke from <a href="http://surflondon.com">surflondon.com</a></font></p>
<?
CloseTable();
include("footer.php");
?>
The second one being for postnuke 7.12 Thanks jeff