*** empty log message ***
This commit is contained in:
parent
6dd07b61d1
commit
a3ef13dbcb
|
@ -1,50 +0,0 @@
|
|||
body {margin:0px; background-color:#D8D8D8;}
|
||||
body,td {font-family:verdana,arial,sans-serif; font-size:11px; }
|
||||
h1,h2,h3,h4,h5,h6 {font-family:"Trebuchet MS",helvetica,sans-serif; color:#FF8000; letter-spacing:1px; }
|
||||
h1 {font-size:22px;}
|
||||
h2 {font-size:20px;}
|
||||
h3 {font-size:18px;}
|
||||
h4 {font-size:16px;}
|
||||
h5 {font-size:14px;}
|
||||
h6 {font-size:14px;}
|
||||
blockquote {font-family:"Trebuchet MS",helvetica,sans-serif; color:#004A66; font-size:16px; font-style:italic; font-weight:bold; border-top:1px dashed #CCC; border-bottom:1px dashed #CCC; margin:10px; padding:30px 10px 30px 10px; text-align:center; background-color:#EEE; margin-left:0px; }
|
||||
|
||||
/* styles for tabbed navigation */
|
||||
#navlist { padding: 3px 0; margin-left: 0; border-bottom: 1px solid #778; font: bold 12px "Trebuchet MS", sans-serif; text-align:center; }
|
||||
#navlist li { list-style: none; margin: 0; display: inline; }
|
||||
#navlist li a { padding: 3px 0.5em; margin-left: 3px; border: 1px solid #778; border-bottom: none; background: #EEE; text-decoration: none; }
|
||||
#navlist li a:link { color: #448; }
|
||||
#navlist li a:visited { color: #667; }
|
||||
#navlist li a:hover { color: #FFF; background: #336699; border-color: #227; }
|
||||
#navlist li a#current { background: white; border-bottom: 1px solid white; }
|
||||
#navlist li a:hover#current { background: white; border-bottom: 1px solid white; color:#448; }
|
||||
|
||||
#pageHeader {height:50px; line-height:50px; color:#80FF00; font-family:"Trebuchet MS",helvetica,sans-serif; font-size:24px; padding:10px 16px 10px 16px; background-color:#004A66; border-bottom:1px solid #FFF; }
|
||||
#topNav {background-color:#0f0;}
|
||||
#divBaseLinks {height:30px; background-color:#004A66; border-top:1px solid #FFF; padding:0px 10px 0px 10px; line-height:30px; color:#FFF;}
|
||||
#divBaseLinks a:link {color:#FFF; text-decoration:none;}
|
||||
#divBaseLinks a:visited {color:#FFF; text-decoration:none;}
|
||||
#divBaseLinks a:hover {color:#FFF; text-decoration:none;}
|
||||
#divBaseLinks a:active {color:#FFF; text-decoration:none;}
|
||||
#container {margin:20px; background-color:#FFF; min-width:760px;}
|
||||
#divPageContent {border-top:3px solid #FF8000; border-bottom:3px solid #FF8000; padding:0px 0px 10px 0px; }
|
||||
#sideBarNewsContent {background-color:#EEE; padding:10px; }
|
||||
#newsHeader {height:22px; line-height:22px; color:#80FF00; font-family:"Trebuchet MS",helvetica,sans-serif; font-size:14px; padding:0px 5px 0px 5px; background-color:#004A66; border-bottom:1px solid #FFF; }
|
||||
#newsHeader a {};
|
||||
|
||||
.leftColumn { padding:0p 5px 0px 5px; width:170px;}
|
||||
.rightColumn {padding:0px 10px 10px 10px; border-left:1px dashed #CCC;}
|
||||
.subHeader {font-family:"Trebuchet MS",helvetica,sans-serif; color:#004A66; font-size:16px; letter-spacing:1px; font-weight:bold; margin:10px 0px 10px 0px; border-bottom:1px solid #004A66;}
|
||||
.note {font-weight:bold; color:#800000; font-style:italic; background-color: #FFF0B7; padding:5px; border:1px solid #FFB96C; }
|
||||
.newsItem {margin-bottom:5px; font-size:9px; }
|
||||
.readNewsLink {margin-bottom:10px; font-size:9px; }
|
||||
|
||||
/* styles for rounded corners */
|
||||
b.rtop, b.rbottom{display:block;background: #D8D8D8}
|
||||
b.rtop b, b.rbottom b{display:block;height: 1px; overflow: hidden; background: #004A66}
|
||||
b.r1{margin: 0 5px}
|
||||
b.r2{margin: 0 3px}
|
||||
b.r3{margin: 0 2px}
|
||||
b.rtop b.r4, b.rbottom b.r4{margin: 0 1px;height: 2px}
|
||||
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="note">Design by 404 Creative Studios. <a href="http://www.404creative.com">http://www.404creative.com</a></div>
|
||||
<div id="divBaseLinks"><a href="index.html">Home</a> | <a href="index.html">Sitemap</a></div>
|
||||
<!-- begin bottom rounded corner styles -->
|
||||
<b class="rbottom"><b class="r4"></b> <b class="r3"></b> <b class="r2"></b> <b class="r1"></b></b>
|
||||
<!-- end bottom rounded corner styles -->
|
||||
</div>
|
||||
<div class="spacer"> </div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,124 +0,0 @@
|
|||
<?php
|
||||
// With this latest change (the id being decided by an incremented variable [$page_num]), I most likely will need to change the "correct tab" algorithm
|
||||
// to make this more dynamic, heh.
|
||||
$page_num = 0;
|
||||
$page[$page_num] = "Summary";
|
||||
$page_href[$page_num] = "index.php";
|
||||
$page_num++;
|
||||
$page[$page_num] = "News";
|
||||
$page_href[$page_num] = "news.php";
|
||||
$page_num++;
|
||||
/* Removed for now...
|
||||
$page[$page_num] = "Forums";
|
||||
$page_href[$page_num] = "/phpbb";
|
||||
$page_num++;
|
||||
*/
|
||||
$page[$page_num] = "SourceForge Project";
|
||||
$page_href[$page_num] = "http://sourceforge.net/projects/torque-ide";
|
||||
$page_num++;
|
||||
|
||||
// This new method is kindof inefficient, but it *does* work...
|
||||
function getPageId()
|
||||
{
|
||||
global $page, $page_title;
|
||||
|
||||
if(in_array($page_title, $page))
|
||||
{
|
||||
for($i=1; $i < count($page); $i++)
|
||||
{
|
||||
if($page[$i] == $page_title)
|
||||
{
|
||||
return($i);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!-- layout by 404 creative studios. http://www.404creative.com -->
|
||||
<html>
|
||||
<head>
|
||||
<title>torque-ide - A TorqueSCRIPT Editor :: <?php echo $page[$page_id]; ?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<meta name="keywords" content="Layout2, 404 creative studios" />
|
||||
<meta name="description" content="simple css driven layout" />
|
||||
<link href="boldblue2.css" type="text/css" rel="stylesheet" />
|
||||
<style type="text/css">
|
||||
.showstate{ /*Definition for state toggling image */
|
||||
cursor:hand;
|
||||
cursor:pointer;
|
||||
float: right;
|
||||
margin-top: -2px;
|
||||
margin-right: 3px;
|
||||
font-size: xx-large;
|
||||
}
|
||||
|
||||
.headers{
|
||||
width: 400px;
|
||||
font-size: 120%;
|
||||
font-weight: bold;
|
||||
border: 1px solid black;
|
||||
background-color: lightyellow;
|
||||
}
|
||||
|
||||
.switchcontent{
|
||||
border-top-width: 0;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript" src="torque-ide.js">
|
||||
//<!--
|
||||
/***********************************************
|
||||
* Switch Content script II- © Dynamic Drive (www.dynamicdrive.com)
|
||||
* This notice must stay intact for legal use. Last updated April 2nd, 2005.
|
||||
* Visit http://www.dynamicdrive.com/ for full source code
|
||||
***********************************************/
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<!-- begin top rounded corner styles -->
|
||||
<b class="rtop"><b class="r1"></b><b class="r2"></b> <b class="r3"></b> <b class="r4"></b></b>
|
||||
<!-- end top rounded corner styles -->
|
||||
<div id="pageHeader">torque-ide - A TorqueSCRIPT Editor</div>
|
||||
<div id="divPageContent">
|
||||
<div id="navcontainer">
|
||||
<ul id="navlist">
|
||||
<?php
|
||||
//<li><a href="index.php">Summary</a></li>
|
||||
//<li id="active"><a href="sourceforge.php" id="current">SourceForge Info</a></li>
|
||||
$page_id = getPageId();
|
||||
for($i=0; $i < count($page); $i++)
|
||||
{
|
||||
if($i == $page_id)
|
||||
{
|
||||
$echo = "<li id=\"active\"><a href=\"$page_href[$i]\" id=\"current\">$page[$i]</a></li>";
|
||||
}
|
||||
else
|
||||
{
|
||||
$echo = "<li><a href=\"$page_href[$i]\">$page[$i]</a></li>";
|
||||
}
|
||||
echo $echo;
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<table border="0" cellpadding="5" cellspacing="0">
|
||||
<tr>
|
||||
<td valign="top" class="leftColumn">
|
||||
<div id="sideBarNews">
|
||||
<div id="newsHeader"><a class="showstate" onClick="expandcontent(this, 'sideBarNewsContent')">-</a>SourceForge.net</div>
|
||||
<div id="sideBarNewsContent" class="switchcontent">
|
||||
<?php
|
||||
include('http://sourceforge.net/export/projhtml.php?group_id=128924&mode=full&no_table=1');
|
||||
?>
|
||||
<!--<div class="newsItem"><a href="index.php">GarageGames</div>
|
||||
<div class="readNewsLink">Read More</a></div>-->
|
||||
</div>
|
||||
</div>
|
||||
<br /><br /><br />
|
||||
<div align="center"><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=128924&type=5" border="0" alt="SourceForge.net Logo" /></a></div>
|
||||
</td>
|
||||
<td valign="top" class="rightColumn">
|
||||
<div class="note">This is not to be confused with TIDE, a jEdit plugin that has similar features. <a href="http://torqueide.sourceforge.net">http://torqueide.sourceforge.net</a></div>
|
|
@ -1,13 +0,0 @@
|
|||
<?php
|
||||
$page_title = "Summary";
|
||||
|
||||
include("./header.php");
|
||||
?>
|
||||
<h2>torque-ide Summary</h2>
|
||||
<p class="subHeader">What is this!?!</p>
|
||||
<p>The torque-ide is an Open Source TorqueSCRIPT editor written in C++ using the <a href="http://wxwidgets.org">wxWidgets (http://wxwidgets.org)</a> toolkit.</p>
|
||||
<p class="subHeader">What is TorqueSCRIPT</p>
|
||||
<p>TorqueSCRIPT is a scripting language use by the Torque Game Engine, Toruqe Shader Engine, and Torque2D. The Torque Engine is a product of GarageGames (<a href="http://garagegames.com">http://garagegames.com</a>)</p>
|
||||
<?php
|
||||
include("./footer.php");
|
||||
?>
|
|
@ -1,12 +0,0 @@
|
|||
<?php
|
||||
$page_title = "News";
|
||||
|
||||
include("./header.php");
|
||||
?>
|
||||
<h2>torque-ide Project News</h2>
|
||||
<?php
|
||||
include('http://sourceforge.net/export/projnews.php?group_id=128924&flat=0&show_summaries=1');
|
||||
?>
|
||||
<?php
|
||||
include("./footer.php");
|
||||
?>
|
|
@ -1,124 +0,0 @@
|
|||
// BEGIN - Switch Content Script
|
||||
/***********************************************
|
||||
* Switch Content script II- © Dynamic Drive (www.dynamicdrive.com)
|
||||
* This notice must stay intact for legal use. Last updated April 2nd, 2005.
|
||||
* Visit http://www.dynamicdrive.com/ for full source code
|
||||
***********************************************/
|
||||
|
||||
var enablepersist="on" //Enable saving state of content structure using session cookies? (on/off)
|
||||
var memoryduration="7" //persistence in # of days
|
||||
|
||||
//var contractsymbol='imgs/minus.gif' //Path to image to represent contract state.
|
||||
//var expandsymbol='imgs/plus.gif' //Path to image to represent expand state.
|
||||
var contractsymbol='-'
|
||||
var expandsymbol='+'
|
||||
|
||||
/////No need to edit beyond here //////////////////////////
|
||||
|
||||
function getElementbyClass(rootobj, classname){
|
||||
var temparray=new Array()
|
||||
var inc=0
|
||||
var rootlength=rootobj.length
|
||||
for (i=0; i<rootlength; i++){
|
||||
if (rootobj[i].className==classname)
|
||||
temparray[inc++]=rootobj[i]
|
||||
}
|
||||
return temparray
|
||||
}
|
||||
|
||||
function sweeptoggle(ec){
|
||||
var inc=0
|
||||
while (ccollect[inc]){
|
||||
ccollect[inc].style.display=(ec=="contract")? "none" : ""
|
||||
inc++
|
||||
}
|
||||
revivestatus()
|
||||
}
|
||||
|
||||
|
||||
function expandcontent(curobj, cid){
|
||||
if (ccollect.length>0){
|
||||
document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="none")? "none" : ""
|
||||
//curobj.src=(document.getElementById(cid).style.display=="none")? expandsymbol : contractsymbol
|
||||
curobj.innerHTML=(document.getElementById(cid).style.display=="none")? expandsymbol : contractsymbol
|
||||
}
|
||||
}
|
||||
|
||||
function revivecontent(){
|
||||
selectedItem=getselectedItem()
|
||||
selectedComponents=selectedItem.split("|")
|
||||
for (i=0; i<selectedComponents.length-1; i++)
|
||||
document.getElementById(selectedComponents[i]).style.display="none"
|
||||
}
|
||||
|
||||
function revivestatus(){
|
||||
var inc=0
|
||||
while (statecollect[inc]){
|
||||
if (ccollect[inc].style.display=="none")
|
||||
statecollect[inc].src=expandsymbol
|
||||
else
|
||||
statecollect[inc].src=contractsymbol
|
||||
inc++
|
||||
}
|
||||
}
|
||||
|
||||
function get_cookie(Name) {
|
||||
var search = Name + "="
|
||||
var returnvalue = "";
|
||||
if (document.cookie.length > 0) {
|
||||
offset = document.cookie.indexOf(search)
|
||||
if (offset != -1) {
|
||||
offset += search.length
|
||||
end = document.cookie.indexOf(";", offset);
|
||||
if (end == -1) end = document.cookie.length;
|
||||
returnvalue=unescape(document.cookie.substring(offset, end))
|
||||
}
|
||||
}
|
||||
return returnvalue;
|
||||
}
|
||||
|
||||
function getselectedItem(){
|
||||
if (get_cookie(window.location.pathname) != ""){
|
||||
selectedItem=get_cookie(window.location.pathname)
|
||||
return selectedItem
|
||||
}
|
||||
else
|
||||
return ""
|
||||
}
|
||||
|
||||
function saveswitchstate(){
|
||||
var inc=0, selectedItem=""
|
||||
while (ccollect[inc]){
|
||||
if (ccollect[inc].style.display=="none")
|
||||
selectedItem+=ccollect[inc].id+"|"
|
||||
inc++
|
||||
}
|
||||
if (get_cookie(window.location.pathname)!=selectedItem){ //only update cookie if current states differ from cookie's
|
||||
var expireDate = new Date()
|
||||
expireDate.setDate(expireDate.getDate()+parseInt(memoryduration))
|
||||
document.cookie = window.location.pathname+"="+selectedItem+";path=/;expires=" + expireDate.toGMTString()
|
||||
}
|
||||
}
|
||||
|
||||
function do_onload(){
|
||||
uniqueidn=window.location.pathname+"firsttimeload"
|
||||
var alltags=document.all? document.all : document.getElementsByTagName("*")
|
||||
ccollect=getElementbyClass(alltags, "switchcontent")
|
||||
statecollect=getElementbyClass(alltags, "showstate")
|
||||
if (enablepersist=="on" && get_cookie(window.location.pathname)!="" && ccollect.length>0)
|
||||
revivecontent()
|
||||
if (ccollect.length>0 && statecollect.length>0)
|
||||
revivestatus()
|
||||
}
|
||||
|
||||
if (window.addEventListener)
|
||||
window.addEventListener("load", do_onload, false)
|
||||
else if (window.attachEvent)
|
||||
window.attachEvent("onload", do_onload)
|
||||
else if (document.getElementById)
|
||||
window.onload=do_onload
|
||||
|
||||
if (enablepersist=="on" && document.getElementById)
|
||||
window.onunload=saveswitchstate
|
||||
|
||||
// END - Switch Content Script [dynamicdrive.com]
|
Loading…
Reference in New Issue