Thread: [Jsxe-cvs] SF.net SVN: jsxe: [939] trunk/web/htdocs
Status: Inactive
Brought to you by:
ian_lewis
From: <ian...@us...> - 2006-06-10 13:03:14
|
Revision: 939 Author: ian_lewis Date: 2006-06-10 06:03:03 -0700 (Sat, 10 Jun 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=939&view=rev Log Message: ----------- added new favicon Modified Paths: -------------- trunk/web/htdocs/downloads.php trunk/web/htdocs/features.php trunk/web/htdocs/index.php trunk/web/htdocs/links.php trunk/web/htdocs/news.php trunk/web/htdocs/screenshots.php Added Paths: ----------- trunk/web/htdocs/jsxe.ico trunk/web/htdocs/meta.php Modified: trunk/web/htdocs/downloads.php =================================================================== --- trunk/web/htdocs/downloads.php 2006-06-09 03:12:01 UTC (rev 938) +++ trunk/web/htdocs/downloads.php 2006-06-10 13:03:03 UTC (rev 939) @@ -2,14 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>jsXe: Downloads</title> - <meta content="General" name="rating"/> - <meta content="Index, follow" name="robots"/> - <meta content="text/html; charset=UTF-8" http-equiv="Content-type"/> - <link href="mailto:Ian...@me..." rev="made"/> - <meta content="Ian Lewis" name="author"/> - <meta content="jsXe, Java, XML, Editor, Sourceforge, GNU" name="keywords"/> - <meta content="Information and links about jsXe" name="description"/> - <link rel="stylesheet" type="text/css" media="all" href="css/main.css" /> + <?php include("meta.php") ?> </head> <body> <div id="title"><h1>jsXe: The Java Simple XML Editor</h1></div> Modified: trunk/web/htdocs/features.php =================================================================== --- trunk/web/htdocs/features.php 2006-06-09 03:12:01 UTC (rev 938) +++ trunk/web/htdocs/features.php 2006-06-10 13:03:03 UTC (rev 939) @@ -2,14 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>jsXe: Features</title> - <meta content="General" name="rating"/> - <meta content="Index, follow" name="robots"/> - <meta content="text/html; charset=UTF-8" http-equiv="Content-type"/> - <link href="mailto:Ian...@me..." rev="made"/> - <meta content="Ian Lewis" name="author"/> - <meta content="jsXe, Java, XML, Editor, Sourceforge, GNU" name="keywords"/> - <meta content="Information and links about jsXe" name="description"/> - <link rel="stylesheet" type="text/css" media="all" href="css/main.css" /> + <?php include("meta.php") ?> </head> <body> <div id="title"><h1>jsXe: The Java Simple XML Editor</h1></div> Modified: trunk/web/htdocs/index.php =================================================================== --- trunk/web/htdocs/index.php 2006-06-09 03:12:01 UTC (rev 938) +++ trunk/web/htdocs/index.php 2006-06-10 13:03:03 UTC (rev 939) @@ -2,14 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>jsXe: The Java Simple XML Editor</title> - <meta content="General" name="rating"/> - <meta content="Index, follow" name="robots"/> - <meta content="text/html; charset=UTF-8" http-equiv="Content-type"/> - <link href="mailto:Ian...@me..." rev="made"/> - <meta content="Ian Lewis" name="author"/> - <meta content="jsXe, Java, XML, Editor, Sourceforge, GNU" name="keywords"/> - <meta content="Information and links about jsXe" name="description"/> - <link rel="stylesheet" type="text/css" media="all" href="css/main.css" /> + <?php include("meta.php") ?> </head> <body> <div id="title"><h1>jsXe: The Java Simple XML Editor</h1></div> Added: trunk/web/htdocs/jsxe.ico =================================================================== (Binary files differ) Property changes on: trunk/web/htdocs/jsxe.ico ___________________________________________________________________ Name: svn:executable + * Name: svn:mime-type + application/octet-stream Modified: trunk/web/htdocs/links.php =================================================================== --- trunk/web/htdocs/links.php 2006-06-09 03:12:01 UTC (rev 938) +++ trunk/web/htdocs/links.php 2006-06-10 13:03:03 UTC (rev 939) @@ -2,14 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>jsXe: Getting Involved</title> - <meta content="General" name="rating"/> - <meta content="Index, follow" name="robots"/> - <meta content="text/html; charset=UTF-8" http-equiv="Content-type"/> - <link href="mailto:Ian...@me..." rev="made"/> - <meta content="Ian Lewis" name="author"/> - <meta content="jsXe, Java, XML, Editor, Sourceforge, GNU" name="keywords"/> - <meta content="How to get involved with jsXe" name="description"/> - <link rel="stylesheet" type="text/css" media="all" href="css/main.css" /> + <?php include("meta.php") ?> </head> <body> <div id="title"><h1>jsXe: The Java Simple XML Editor</h1></div> Added: trunk/web/htdocs/meta.php =================================================================== --- trunk/web/htdocs/meta.php (rev 0) +++ trunk/web/htdocs/meta.php 2006-06-10 13:03:03 UTC (rev 939) @@ -0,0 +1,9 @@ +<meta content="General" name="rating"/> +<meta content="Index, follow" name="robots"/> +<meta content="text/html; charset=UTF-8" http-equiv="Content-type"/> +<meta content="Ian Lewis" name="author"/> +<meta content="jsXe, Java, XML, Editor, Sourceforge, GNU" name="keywords"/> +<meta content="Information and links about jsXe" name="description"/> +<link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" /> +<link rel="stylesheet" type="text/css" media="all" href="css/main.css" /> +<link href="mailto:Ian...@me..." rev="made"/> Property changes on: trunk/web/htdocs/meta.php ___________________________________________________________________ Name: svn:executable + * Modified: trunk/web/htdocs/news.php =================================================================== --- trunk/web/htdocs/news.php 2006-06-09 03:12:01 UTC (rev 938) +++ trunk/web/htdocs/news.php 2006-06-10 13:03:03 UTC (rev 939) @@ -2,14 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>jsXe: The Java Simple XML Editor</title> - <meta content="Generaol" name="rating"/> - <meta content="Index, follow" name="robots"/> - <meta content="text/html; charset=UTF-8" http-equiv="Content-type"/> - <link href="mailto:Ian...@me..." rev="made"/> - <meta content="Ian Lewis" name="author"/> - <meta content="jsXe, Java, XML, Editor, Sourceforge, GNU" name="keywords"/> - <meta content="Information and links about jsXe" name="description"/> - <link rel="stylesheet" type="text/css" media="all" href="css/main.css" /> + <?php include("meta.php") ?> </head> <body> <div id="title"><h1>jsXe: The Java Simple XML Editor</h1></div> Modified: trunk/web/htdocs/screenshots.php =================================================================== --- trunk/web/htdocs/screenshots.php 2006-06-09 03:12:01 UTC (rev 938) +++ trunk/web/htdocs/screenshots.php 2006-06-10 13:03:03 UTC (rev 939) @@ -2,14 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>jsXe: Screenshots</title> - <meta content="General" name="rating"/> - <meta content="Index, follow" name="robots"/> - <meta content="text/html; charset=UTF-8" http-equiv="Content-type"/> - <link href="mailto:Ian...@me..." rev="made"/> - <meta content="Ian Lewis" name="author"/> - <meta content="jsXe, Java, XML, Editor, Sourceforge, GNU" name="keywords"/> - <meta content="Information and links about jsXe" name="description"/> - <link rel="stylesheet" type="text/css" media="all" href="css/main.css" /> + <?php include("meta.php") ?> </head> <body> <div id="title"><h1>jsXe: The Java Simple XML Editor</h1></div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-06-12 16:09:13
|
Revision: 941 Author: ian_lewis Date: 2006-06-12 09:09:07 -0700 (Mon, 12 Jun 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=941&view=rev Log Message: ----------- rename jsxe.ico to favicon.ico so that it matches the name in the headers Added Paths: ----------- trunk/web/htdocs/favicon.ico Removed Paths: ------------- trunk/web/htdocs/jsxe.ico Copied: trunk/web/htdocs/favicon.ico (from rev 939, trunk/web/htdocs/jsxe.ico) =================================================================== (Binary files differ) Deleted: trunk/web/htdocs/jsxe.ico =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-06-21 21:14:14
|
Revision: 973 Author: ian_lewis Date: 2006-06-21 14:14:04 -0700 (Wed, 21 Jun 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=973&view=rev Log Message: ----------- added new get-involved.php and updated instructions for how to contribute to jsXe Modified Paths: -------------- trunk/web/htdocs/index.php trunk/web/htdocs/sidebar.php Added Paths: ----------- trunk/web/htdocs/get-involved.php Removed Paths: ------------- trunk/web/htdocs/links.php Copied: trunk/web/htdocs/get-involved.php (from rev 972, trunk/web/htdocs/links.php) =================================================================== --- trunk/web/htdocs/get-involved.php (rev 0) +++ trunk/web/htdocs/get-involved.php 2006-06-21 21:14:04 UTC (rev 973) @@ -0,0 +1,101 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <title>jsXe: Getting Involved</title> + <?php include("meta.php") ?> + </head> + <body> + <div id="title"><h1>jsXe: The Java Simple XML Editor</h1></div> + + <div id="sidebar"> + <?php include("sidebar.php") ?> + </div> + <div id="mainBody"> + <h2>Getting Involved</h2> + + <p>jsXe needs developers to implement new features and fix bugs, + translators for translating messages and the website, and + web designers who are interested in updating the project's + website.</p> + + <p>Getting involved is fairly easy. There are a multitude of ways that + you can become involved in the project. The easiest is probably by + subscribing to the mailing lists, however there are many methods at + your disposal.</p> + + <h3>Developers</h3> + + <p>If you are interested in working on jsXe, please + <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> + and send a mail to the jsxe-devel mailing list. The developers can help + get you started. Developers should be know how to use SVN and have some + experience with Java swing or XML.</p> + + <h3>Translators</h3> + + <p>If you are interested in translating for the jsXe project. Please + <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> + and send a mail to the jsxe-devel mailing list. For those who are + knowlegeable of SVN, you can check out the messages files from jsXe's + <a href="http://svn.sourceforge.net/viewcvs.cgi/jsxe/trunk/jsxe/">SVN repository</a>. + But even if you are not versed in SVN, the developers on the + mailing list can help get you.</p> + + <h3>Web Developers</h3> + + <p>If you are interested in working on jsXe's webpage, please + <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> + and send a mail to the jsxe-devel mailing list. The developers can help + get you started.</p>. Web developers should have some knowledge of CSS and + PHP.</p> + + <h3>Mailing Lists</h3> + + <p>These three mailing lists will be low traffic.</p> + + <ul> + <li>jsXe-users: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-users">Subscribe/Unsubscribe/Preferences</a>: a general discussion list for users of jsXe.</li> + <li>jsXe-devel: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">Subscribe/Unsubscribe/Preferences</a>: a list for technical discussion regarding jsXe development.</li> + <li>jsXe-cvs: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-cvs">Subscribe/Unsubscribe/Preferences</a>: a list where SVN commits are posted. Anyone subscribing to this list will be notified when changes are commited to SVN.</li> + </ul> + + <h3>Forums</h3> + + <p>To get support if you're having problems installing or running + jsXe please post to the Help forum. Any other comments and criticism + can be posted in the open discussion forum.</p> + <ul> + <li><a href="http://sourceforge.net/forum/forum.php?forum_id=197160">Open Discussion</a></li> + <li><a href="http://sourceforge.net/forum/forum.php?forum_id=197161">Help</a></li> + </ul> + + <h3>IRC</h3> + + <p>Come to #jsxe on irc.freenode.net to talk with the developers.</p> + + <h3>Reporting Bugs</h3> + + <p>Reporting bugs is easy. Just submit a bug report on <a href="http://sourceforge.net/tracker/?atid=488268&group_id=58584&func=browse">jsXe's Bug Tracker</a>. + Just enter a description of the bug and if possible how to reproduce it + and it will be assigned and addressed by the project development team.</p> + + <h3>Feature Requests</h3> + + <p>Features requests are always welcome and will be addressed based on user + need and whether the feature fits with jsXe's vision. Feature + requests are easy too! Just submit a feature requests to + <a href="http://sourceforge.net/tracker/?atid=488271&group_id=58584&func=browse">jsXe's Feature Request Tracker</a>.</p> + + <h3>Patches</h3> + + <p>This is probably the best way to start becoming involved in the devolopment of jsXe. + You can submit patches using + <a href="http://sourceforge.net/tracker/?atid=488270&group_id=58584&func=browse">jsXe's Sourceforge Patch Tracker</a>. + Just provide the patch or code change itself and a discription of what + it does when you submit it. If your work is good then we'll add + you as developer with SVN access.</p> + + <?php include("footer.php") ?> + </div> + </body> +</html> \ No newline at end of file Modified: trunk/web/htdocs/index.php =================================================================== --- trunk/web/htdocs/index.php 2006-06-21 18:59:12 UTC (rev 972) +++ trunk/web/htdocs/index.php 2006-06-21 21:14:04 UTC (rev 973) @@ -27,7 +27,7 @@ are not currently implemented. If you are interesting in helping to make jsXe a great editor by contributing your suggestions and needs or if you are a developer and would like to contribute time and code check - out <a href="links.php">how to get involved</a></p> + out <a href="get-involved.php">how to get involved</a></p> <?php include("footer.php") ?> Deleted: trunk/web/htdocs/links.php =================================================================== --- trunk/web/htdocs/links.php 2006-06-21 18:59:12 UTC (rev 972) +++ trunk/web/htdocs/links.php 2006-06-21 21:14:04 UTC (rev 973) @@ -1,70 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> - <head> - <title>jsXe: Getting Involved</title> - <?php include("meta.php") ?> - </head> - <body> - <div id="title"><h1>jsXe: The Java Simple XML Editor</h1></div> - - <div id="sidebar"> - <?php include("sidebar.php") ?> - </div> - <div id="mainBody"> - <h2>Getting Involved</h2> - - <p>Getting involved is fairly easy. There are a multitude of ways that - you can become involved in the project. The easiest is probably by - subscribing to the mailing lists, however there are many methods at - your disposal.</p> - - <h3>Mailing Lists</h3> - - <p>These three mailing lists will be low traffic.</p> - - <ul> - <li>jsXe-users: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-users">Subscribe/Unsubscribe/Preferences</a>: a general discussion list for users of jsXe.</li> - <li>jsXe-devel: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">Subscribe/Unsubscribe/Preferences</a>: a list for technical discussion regarding jsXe development.</li> - <li>jsXe-cvs: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-cvs">Subscribe/Unsubscribe/Preferences</a>: a list where SVN commits are posted. Anyone subscribing to this list will be notified when changes are commited to SVN.</li> - </ul> - - <h3>Forums</h3> - - <p>To get support if you're having problems installing or running - jsXe please post to the Help forum. Any other comments and criticism - can be posted in- the open discussion forum.</p> - <ul> - <li><a href="http://sourceforge.net/forum/forum.php?forum_id=197160">Open Discussion</a></li> - <li><a href="http://sourceforge.net/forum/forum.php?forum_id=197161">Help</a></li> - </ul> - - <h3>IRC</h3> - - <p>Come to #jsxe on irc.freenode.net to talk with the developers.</p> - - <h3>Reporting Bugs</h3> - - <p>Reporting bugs is easy. Just submit a bug report on <a href="http://sourceforge.net/tracker/?atid=488268&group_id=58584&func=browse">jsXe's Bug Tracker</a>. - Just enter a description of the bug and if possible how to reproduce it - and it will be assigned and addressed by the project development team.</p> - - <h3>Feature Requests</h3> - - <p>Features requests are always welcome and will be addressed based on user - need and whether the feature fits with jsXe's vision. Feature - requests are easy too! Just submit a feature requests to - <a href="http://sourceforge.net/tracker/?atid=488271&group_id=58584&func=browse">jsXe's Feature Request Tracker</a>.</p> - - <h3>Patches</h3> - - <p>This is probably the best way to start becoming involved in the devolopment of jsXe. - You can submit patches using - <a href="http://sourceforge.net/tracker/?atid=488270&group_id=58584&func=browse">jsXe's Sourceforge Patch Tracker</a>. - Just provide the patch or code change itself and a discription of what - it does when you submit it. If your work is good then we'll add - you as developer with SVN access.</p> - - <?php include("footer.php") ?> - </div> - </body> -</html> \ No newline at end of file Modified: trunk/web/htdocs/sidebar.php =================================================================== --- trunk/web/htdocs/sidebar.php 2006-06-21 18:59:12 UTC (rev 972) +++ trunk/web/htdocs/sidebar.php 2006-06-21 21:14:04 UTC (rev 973) @@ -4,7 +4,7 @@ <li><a href="features.php" >Features</a></li> <li><a href="screenshots.php">Screenshots</a></li> <li><a href="downloads.php">Downloads</a></li> - <li><a href="links.php">Get Involved</a></li> + <li><a href="get-involved.php">Get Involved</a></li> </ul> <ul> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-17 22:38:41
|
Revision: 1153 Author: ian_lewis Date: 2006-08-17 15:38:36 -0700 (Thu, 17 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1153&view=rev Log Message: ----------- Moved News to the front page Modified Paths: -------------- trunk/web/htdocs/index.php trunk/web/htdocs/news.php trunk/web/htdocs/sidebar.php Modified: trunk/web/htdocs/index.php =================================================================== --- trunk/web/htdocs/index.php 2006-08-17 22:31:13 UTC (rev 1152) +++ trunk/web/htdocs/index.php 2006-08-17 22:38:36 UTC (rev 1153) @@ -29,7 +29,13 @@ if you are a developer and would like to contribute time and code check out <a href="get-involved.php">how to get involved</a></p> + <h2>News</h2> + <?php include("news.cache") ?> + <?php + //include("http://sourceforge.net/export/projnews.php?group_id=58584&limit=5&flat=FLATSETTING&show_summaries=1") + ?> + <?php include("footer.php") ?> </div> </body> Modified: trunk/web/htdocs/news.php =================================================================== --- trunk/web/htdocs/news.php 2006-08-17 22:31:13 UTC (rev 1152) +++ trunk/web/htdocs/news.php 2006-08-17 22:38:36 UTC (rev 1153) @@ -1,25 +1,57 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> - <head> - <title>jsXe: The Java Simple XML Editor</title> - <?php include("meta.php") ?> - </head> - <body> - <div id="title"><h1>jsXe: The Java Simple XML Editor</h1></div> - - <div id="sidebar"> - <?php include("sidebar.php") ?> - </div> - <div id="mainBody"> - - <h2>News</h2> - - <?php include("news.cache") ?> - <?php - //include("http://sourceforge.net/export/projnews.php?group_id=58584&limit=5&flat=FLATSETTING&show_summaries=1") - ?> - - <?php include("footer.php") ?> - </div> - </body> -</html> +<?php +// func: redirect($to,$code=307) +// spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html +function redirect($to,$code=301) +{ + $location = null; + $sn = $_SERVER['SCRIPT_NAME']; + $cp = dirname($sn); + if (substr($to,0,4)=='http') $location = $to; // Absolute URL + else + { + $schema = $_SERVER['SERVER_PORT']=='443'?'https':'http'; + $host = strlen($_SERVER['HTTP_HOST'])?$_SERVER['HTTP_HOST']:$_SERVER['SERVER_NAME']; + if (substr($to,0,1)=='/') $location = "$schema://$host$to"; + elseif (substr($to,0,1)=='.') // Relative Path + { + $location = "$schema://$host"; + $pu = parse_url($to); + $cd = dirname($_SERVER['SCRIPT_FILENAME']).'/'; + $np = realpath($cd.$pu['path']); + $np = str_replace($_SERVER['DOCUMENT_ROOT'],'',$np); + $location.= $np; + if ((isset($pu['query'])) && (strlen($pu['query'])>0)) $location.= '?'.$pu['query']; + } + } + + $hs = headers_sent(); + if ($hs==false) + { + if ($code==301) header("301 Moved Permanently HTTP/1.1"); // Convert to GET + elseif ($code==302) header("302 Found HTTP/1.1"); // Conform re-POST + elseif ($code==303) header("303 See Other HTTP/1.1"); // dont cache, always use GET + elseif ($code==304) header("304 Not Modified HTTP/1.1"); // use cache + elseif ($code==305) header("305 Use Proxy HTTP/1.1"); + elseif ($code==306) header("306 Not Used HTTP/1.1"); + elseif ($code==307) header("307 Temorary Redirect HTTP/1.1"); + else trigger_error("Unhandled redirect() HTTP Code: $code",E_USER_ERROR); + header("Location: $location"); + header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); + } + elseif (($hs==true) || ($code==302) || ($code==303)) + { + // todo: draw some javascript to redirect + $cover_div_style = 'background-color: #ccc; height: 100%; left: 0px; position: absolute; top: 0px; width: 100%;'; + echo "<div style='$cover_div_style'>\n"; + $link_div_style = 'background-color: #fff; border: 2px solid #f00; left: 0px; margin: 5px; padding: 3px; '; + $link_div_style.= 'position: absolute; text-align: center; top: 0px; width: 95%; z-index: 99;'; + echo "<div style='$link_div_style'>\n"; + echo "<p>Please See: <a href='$to'>".htmlspecialchars($location)."</a></p>\n"; + echo "</div>\n</div>\n"; + } + exit(0); +} + +// Do stuff here before sending headers +redirect('./index.php') +?> Modified: trunk/web/htdocs/sidebar.php =================================================================== --- trunk/web/htdocs/sidebar.php 2006-08-17 22:31:13 UTC (rev 1152) +++ trunk/web/htdocs/sidebar.php 2006-08-17 22:38:36 UTC (rev 1153) @@ -1,6 +1,5 @@ <ul> - <li><a href="index.php">Home</a></li> - <li><a href="news.php">News</a></li> + <li><a href="index.php">News</a></li> <li><a href="features.php" >Features</a></li> <li><a href="screenshots.php">Screenshots</a></li> <li><a href="downloads.php">Downloads</a></li> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-18 15:50:02
|
Revision: 1154 Author: ian_lewis Date: 2006-08-18 08:49:55 -0700 (Fri, 18 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1154&view=rev Log Message: ----------- fixed redirects Modified Paths: -------------- trunk/web/htdocs/links.php trunk/web/htdocs/news.php Modified: trunk/web/htdocs/links.php =================================================================== --- trunk/web/htdocs/links.php 2006-08-17 22:38:36 UTC (rev 1153) +++ trunk/web/htdocs/links.php 2006-08-18 15:49:55 UTC (rev 1154) @@ -53,5 +53,5 @@ } // Do stuff here before sending headers -redirect('./get-involved.php') +redirect('get-involved.php') ?> Modified: trunk/web/htdocs/news.php =================================================================== --- trunk/web/htdocs/news.php 2006-08-17 22:38:36 UTC (rev 1153) +++ trunk/web/htdocs/news.php 2006-08-18 15:49:55 UTC (rev 1154) @@ -53,5 +53,5 @@ } // Do stuff here before sending headers -redirect('./index.php') +redirect('index.php') ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-18 15:53:16
|
Revision: 1155 Author: ian_lewis Date: 2006-08-18 08:53:11 -0700 (Fri, 18 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1155&view=rev Log Message: ----------- fixed redirects Modified Paths: -------------- trunk/web/htdocs/links.php trunk/web/htdocs/news.php Modified: trunk/web/htdocs/links.php =================================================================== --- trunk/web/htdocs/links.php 2006-08-18 15:49:55 UTC (rev 1154) +++ trunk/web/htdocs/links.php 2006-08-18 15:53:11 UTC (rev 1155) @@ -53,5 +53,5 @@ } // Do stuff here before sending headers -redirect('get-involved.php') +redirect('/get-involved.php') ?> Modified: trunk/web/htdocs/news.php =================================================================== --- trunk/web/htdocs/news.php 2006-08-18 15:49:55 UTC (rev 1154) +++ trunk/web/htdocs/news.php 2006-08-18 15:53:11 UTC (rev 1155) @@ -53,5 +53,5 @@ } // Do stuff here before sending headers -redirect('index.php') +redirect('/index.php') ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-08-28 03:55:56
|
Revision: 1180 Author: ian_lewis Date: 2006-08-27 20:55:50 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1180&view=rev Log Message: ----------- Added index.html with redirect to preserve old urls Modified Paths: -------------- trunk/web/htdocs/.htaccess Added Paths: ----------- trunk/web/htdocs/index.html Modified: trunk/web/htdocs/.htaccess =================================================================== --- trunk/web/htdocs/.htaccess 2006-08-28 02:40:08 UTC (rev 1179) +++ trunk/web/htdocs/.htaccess 2006-08-28 03:55:50 UTC (rev 1180) @@ -1,8 +1 @@ -#DirectoryIndex index.xhtml -#RewriteEngine on -#RewriteBase / -#RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml -#RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml\s*;\s*q=0 -#RewriteCond %{REQUEST_URI} \.html$ -#RewriteCond %{THE_REQUEST} HTTP/1\.1 -#RewriteRule .* - [T=application/xhtml+xml] \ No newline at end of file +DirectoryIndex index.php \ No newline at end of file Added: trunk/web/htdocs/index.html =================================================================== --- trunk/web/htdocs/index.html (rev 0) +++ trunk/web/htdocs/index.html 2006-08-28 03:55:50 UTC (rev 1180) @@ -0,0 +1,9 @@ +<html> +<head> +<SCRIPT LANGUAGE="JavaScript"> +window.location="http://jsxe.sourceforge.net/"; +</script> +</head> +<body> +If you were not redirected please click <a href="http://jsxe.sourceforge.net/">here</a> +</body> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-09-02 01:13:07
|
Revision: 1223 http://svn.sourceforge.net/jsxe/?rev=1223&view=rev Author: ian_lewis Date: 2006-09-01 18:12:52 -0700 (Fri, 01 Sep 2006) Log Message: ----------- More changes for internationalization Modified Paths: -------------- trunk/web/htdocs/content/en/downloads.html trunk/web/htdocs/content/en/features.html trunk/web/htdocs/content/en/get-involved.html trunk/web/htdocs/content/en/overview.html trunk/web/htdocs/content/ja/_global.php trunk/web/htdocs/downloads.php trunk/web/htdocs/features.php trunk/web/htdocs/footer.php trunk/web/htdocs/functions.php trunk/web/htdocs/get-involved.php trunk/web/htdocs/index.php trunk/web/htdocs/screenshots.php Added Paths: ----------- trunk/web/htdocs/images/anybrowser.png trunk/web/htdocs/images/css.png trunk/web/htdocs/images/xhtml.png Modified: trunk/web/htdocs/content/en/downloads.html =================================================================== --- trunk/web/htdocs/content/en/downloads.html 2006-09-01 23:33:32 UTC (rev 1222) +++ trunk/web/htdocs/content/en/downloads.html 2006-09-02 01:12:52 UTC (rev 1223) @@ -1,5 +1,3 @@ -<h2>Downloads</h2> - <h3>Requirements</h3> <ul> @@ -16,8 +14,8 @@ <h3>Download</h3> <ul> - <li>The latest stable version of jsXe is <a href="https://sourceforge.net/project/showfiles.php?group_id=58584&package_id=120827">0.4 beta</a></li> - <li>The latest development version of jsXe is <a href="https://sourceforge.net/project/showfiles.php?group_id=58584&package_id=54488">0.5 pre2</a></li> + <li>The latest stable version of jsXe is <?php echo get_stable_download_link(); ?></li> + <li>The latest development version of jsXe is <?php echo get_devel_download_link(); ?></li> </ul> <h3>Install</h3> Modified: trunk/web/htdocs/content/en/features.html =================================================================== --- trunk/web/htdocs/content/en/features.html 2006-09-01 23:33:32 UTC (rev 1222) +++ trunk/web/htdocs/content/en/features.html 2006-09-02 01:12:52 UTC (rev 1223) @@ -1,5 +1,3 @@ -<h2>Features</h2> - <p>These are features currently implemented in the stable version of jsXe</p> <h3>General</h3> Modified: trunk/web/htdocs/content/en/get-involved.html =================================================================== --- trunk/web/htdocs/content/en/get-involved.html 2006-09-01 23:33:32 UTC (rev 1222) +++ trunk/web/htdocs/content/en/get-involved.html 2006-09-02 01:12:52 UTC (rev 1223) @@ -1,5 +1,3 @@ -<h2>Getting Involved</h2> - <p>jsXe needs developers to implement new features and fix bugs, testers for testing jsXe, translators for translating messages and the website, and web designers who are interested in updating the project's @@ -15,7 +13,7 @@ <h3>Developers</h3> <p>If you are interested in working on jsXe, please - <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> + <a href="#lists">subscribe</a> and send a mail to the jsxe-devel mailing list. The developers can help get you started. Developers should know how to use SVN and have some experience with Java swing or XML.</p> @@ -23,7 +21,7 @@ <h3>Testers</h3> <p>If you are interested in testing jsXe, please - <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> + <a href="#lists">subscribe</a> and send a mail to the jsxe-devel mailing list. Testing will normally be done on SVN and beta releases. Familiarity with <a href="http://subversion.tigris.org/">SVN</a> and @@ -33,7 +31,7 @@ <h3>Translators</h3> <p>If you are interested in translating for the jsXe project. Please - <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> + <a href="#lists">subscribe</a> and send a mail to the jsxe-devel mailing list. For those who are knowlegeable of SVN, you can check out the messages files from jsXe's <a href="http://svn.sourceforge.net/viewcvs.cgi/jsxe/trunk/jsxe/">SVN repository</a>. @@ -43,7 +41,7 @@ <h3>Web Developers</h3> <p>If you are interested in working on jsXe's webpage, please - <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> + <a href="#lists">subscribe</a> and send a mail to the jsxe-devel mailing list. The developers can help get you started. Web developers should have some knowledge of CSS and PHP.</p> @@ -51,18 +49,19 @@ <h3>Users</h3> <p>Let us know what you think! - <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-users">Subscribe</a> + <a href="#lists">Subscribe</a> to the jsxe-users mailing list and let us know what you think and what features you would like to have implemented. Or you could submit a <a href="http://sourceforge.net/tracker/?atid=488271&group_id=58584&func=browse">feature request</a>.</p> -<h3>Mailing Lists</h3> +<h3><a name="lists">Mailing Lists</a></h3> <p>These three mailing lists will be low traffic.</p> <ul> - <li>jsXe-users: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-users">Subscribe/Unsubscribe/Preferences</a>: a general discussion list for users of jsXe.</li> - <li>jsXe-devel: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">Subscribe/Unsubscribe/Preferences</a>: a list for technical discussion regarding jsXe development.</li> + <li>jsXe-users (English): <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-users">Subscribe/Unsubscribe/Preferences</a>: a general discussion list for users of jsXe.</li> + <li>jsXe-devel (English): <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">Subscribe/Unsubscribe/Preferences</a>: a list for technical discussion regarding jsXe development.</li> + <li>jsXe-users (日本語): <a href="http://lists.sourceforge.jp/mailman/listinfo/jsxe-users">Subscribe/Unsubscribe/Preferences</a>: a general discussion list for users of jsXe.</li> <li>jsXe-cvs: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-cvs">Subscribe/Unsubscribe/Preferences</a>: a list where SVN commits are posted. Anyone subscribing to this list will be notified when changes are commited to SVN.</li> </ul> Modified: trunk/web/htdocs/content/en/overview.html =================================================================== --- trunk/web/htdocs/content/en/overview.html 2006-09-01 23:33:32 UTC (rev 1222) +++ trunk/web/htdocs/content/en/overview.html 2006-09-02 01:12:52 UTC (rev 1223) @@ -1,5 +1,3 @@ -<h2>Overview</h2> - <p>jsXe is the <b>J</b>ava <b>S</b>imple <b>X</b>ML <b>E</b>ditor.</p> <p>jsXe is a fast, intuitive, scalable, platform-independent XML editor. It is written in <a href="http://java.sun.com">Java</a> using the Swing @@ -14,4 +12,4 @@ are not currently implemented. If you are interesting in helping to make jsXe a great editor by contributing your suggestions and needs or if you are a developer and would like to contribute time and code check - out <a href="get-involved.php">how to get involved</a></p> \ No newline at end of file + out <?php echo create_link('get-involved.php', 'how to get involved'); ?>.</p> \ No newline at end of file Modified: trunk/web/htdocs/content/ja/_global.php =================================================================== --- trunk/web/htdocs/content/ja/_global.php 2006-09-01 23:33:32 UTC (rev 1222) +++ trunk/web/htdocs/content/ja/_global.php 2006-09-02 01:12:52 UTC (rev 1223) @@ -1,6 +1,7 @@ <?php $trans['ja'] = array( - 'News' => 'ニュース', + 'Overview' => 'jsXeとは', + 'News' => 'ニュース', 'Features' => '機能概要', 'Screenshot' => 'スクリーンショット', 'Screenshots' => 'スクリーンショット', Modified: trunk/web/htdocs/downloads.php =================================================================== --- trunk/web/htdocs/downloads.php 2006-09-01 23:33:32 UTC (rev 1222) +++ trunk/web/htdocs/downloads.php 2006-09-02 01:12:52 UTC (rev 1223) @@ -6,7 +6,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo get_locale() ?>" lang="<?php echo get_locale() ?>"> <head> - <title>jsXe: Downloads</title> + <title>jsXe: <?php echo T_("Downloads"); ?></title> <?php include("meta.php") ?> </head> <body> @@ -18,6 +18,8 @@ <div id="mainBody"> + <h2><?php echo T_("Downloads"); ?></h2> + <?php get_content('downloads') ?> <?php include("footer.php") ?> Modified: trunk/web/htdocs/features.php =================================================================== --- trunk/web/htdocs/features.php 2006-09-01 23:33:32 UTC (rev 1222) +++ trunk/web/htdocs/features.php 2006-09-02 01:12:52 UTC (rev 1223) @@ -6,7 +6,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo get_locale() ?>" lang="<?php echo get_locale() ?>"> <head> - <title>jsXe: Features</title> + <title>jsXe: <?php echo T_("Features"); ?></title> <?php include("meta.php") ?> </head> <body> @@ -18,6 +18,8 @@ <div id="mainBody"> + <h2><?php echo T_("Features"); ?></h2> + <?php get_content('features'); ?> <?php include("footer.php") ?> Modified: trunk/web/htdocs/footer.php =================================================================== --- trunk/web/htdocs/footer.php 2006-09-01 23:33:32 UTC (rev 1222) +++ trunk/web/htdocs/footer.php 2006-09-02 01:12:52 UTC (rev 1223) @@ -1,11 +1,7 @@ <?php if( !defined('ROOT') ) die( 'Please, do not access this page directly.' ); ?> <div id="images"> - <a href="http://validator.w3.org/check/referer"><img title="This site is valid XHTML." alt="Valid XHTML 1.0 Transitional" src="http://www.ianlewis.org/images/xhtml.png"/></a> - <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fjsxe.sourceforge.net%2Fcss%2Fmain.css&usermedium=all"><img title="This site is valid CSS." alt="Valid CSS" src="http://www.ianlewis.org/images/css.png"/></a> - <img title="This site is usable in any web browser." alt="Any Browser!" src="http://www.ianlewis.org/images/anybrowser.png"/> - <!--<a href="http://sourceforge.net/"><img alt="SourceForge Logo" src="http://sourceforge.net/sflogo.php?group_id=58584"/></a> - <a href="http://validator.w3.org/check/referer"><img alt="Valid XHTML 1.0 Transitional" src="http://www.w3.org/Icons/valid-xhtml10"/></a> - <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fjsxe.sourceforge.net%2Fcss%2Fmain.css&usermedium=all"><img alt="Valid CSS" src="http://jigsaw.w3.org/css-validator/images/vcss"/></a> - <a href="http://www.jedit.org"><img alt="Made with jEdit" src="images/made-with-jedit-6.png"/></a>--> + <a href="http://validator.w3.org/check/referer"><?php echo get_image('xhtml.png', 'Valid XHTML 1.0 Transitional', 'This site is valid XHTML.' ); ?></a> + <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fjsxe.sourceforge.net%2Fcss%2Fmain.css&usermedium=all"><?php echo get_image('css.png', 'Valid CSS', 'This site is valid CSS.'); ?></a> + <?php echo get_image('anybrowser.png', 'Any Browser!', 'This site is usable in any browser'); ?> </div> Modified: trunk/web/htdocs/functions.php =================================================================== --- trunk/web/htdocs/functions.php 2006-09-01 23:33:32 UTC (rev 1222) +++ trunk/web/htdocs/functions.php 2006-09-02 01:12:52 UTC (rev 1223) @@ -73,10 +73,10 @@ //{{{ get_image() -function get_image($image, $alt='') { +function get_image($image, $alt='', $title='') { $location = 'http://jsxe.sourceforge.net/images/'.$image; // $location = 'http://www.ianlewis.org/jsxetest/images/'.$image; - return '<img src="'.$location.'" alt="'.$alt.'"/>'; + return '<img src="'.$location.'" alt="'.T_($alt).'" title="'.T_($title).'"/>'; }//}}} //{{{ create_link() @@ -120,40 +120,21 @@ //{{{ get_content() function get_content( $name ) { + // $file = 'content/'.get_locale().'/'.$name.'.html'; + // if (!file_exists($file)) { + // $file = 'content/en/'.$name.'.html'; + // } + // $fh = fopen($file, 'r'); + // $data = fread($fh, filesize($file)); + // fclose($fh); + // echo $data; $file = 'content/'.get_locale().'/'.$name.'.html'; if (!file_exists($file)) { $file = 'content/en/'.$name.'.html'; } - $fh = fopen($file, 'r'); - $data = fread($fh, filesize($file)); - fclose($fh); - echo $data; + include($file); }//}}} -//{{{ get_news() - -function get_news() { - - $file = 'content/'.get_locale().'/news-header.html'; - if (!file_exists($file)) { - $file = 'content/en/news-header.html'; - } - $fh = fopen($file, 'r'); - $header = fread($fh, filesize($file)); - fclose($fh); - - $file = 'content/'.get_locale().'/news.html'; - if (!file_exists($file)) { - $file = 'content/en/news.html'; - } - $fh = fopen($file, 'r'); - $data = fread($fh, filesize($file)); - fclose($fh); - - echo $header; - echo $data; -}//}}} - //{{{ T_() function T_( $string, $lang = '' ) { @@ -355,4 +336,28 @@ exit(0); }//}}} +//{{{ get_devel_download_link() + +function get_devel_download_link() { + return '<a href="https://sourceforge.net/project/showfiles.php?group_id=58584&package_id=54488">'.get_devel_version().'</a>'; +}//}}} + +//{{{ get_stable_download_link() + +function get_stable_download_link() { + return '<a href="https://sourceforge.net/project/showfiles.php?group_id=58584&package_id=120827">'.get_stable_version().'</a>'; +}//}}} + +//{{{ get_devel_version() + +function get_devel_version() { + return "0.4 beta"; +}//}}} + +//{{{ get_stable_version() + +function get_stable_version() { + return "0.4 beta"; +}//}}} + ?> \ No newline at end of file Modified: trunk/web/htdocs/get-involved.php =================================================================== --- trunk/web/htdocs/get-involved.php 2006-09-01 23:33:32 UTC (rev 1222) +++ trunk/web/htdocs/get-involved.php 2006-09-02 01:12:52 UTC (rev 1223) @@ -6,7 +6,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo get_locale() ?>" lang="<?php echo get_locale() ?>"> <head> - <title>jsXe: Getting Involved</title> + <title>jsXe: <?php echo T_("Get Involved"); ?></title> <?php include("meta.php") ?> </head> <body> @@ -18,6 +18,8 @@ <div id="mainBody"> + <h2><?php echo T_("Get Involved"); ?></h2> + <?php get_content('get-involved') ?> <?php include("footer.php") ?> Added: trunk/web/htdocs/images/anybrowser.png =================================================================== (Binary files differ) Property changes on: trunk/web/htdocs/images/anybrowser.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/web/htdocs/images/css.png =================================================================== (Binary files differ) Property changes on: trunk/web/htdocs/images/css.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/web/htdocs/images/xhtml.png =================================================================== (Binary files differ) Property changes on: trunk/web/htdocs/images/xhtml.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/web/htdocs/index.php =================================================================== --- trunk/web/htdocs/index.php 2006-09-01 23:33:32 UTC (rev 1222) +++ trunk/web/htdocs/index.php 2006-09-02 01:12:52 UTC (rev 1223) @@ -18,10 +18,14 @@ <div id="mainBody"> + <h2><?php echo T_("Overview"); ?></h2> + <?php get_content('overview'); ?> - <?php get_news() ?> + <h2><?php echo T_("News"); ?></h2> + <?php get_content('news') ?> + <?php include("footer.php") ?> </div> </body> Modified: trunk/web/htdocs/screenshots.php =================================================================== --- trunk/web/htdocs/screenshots.php 2006-09-01 23:33:32 UTC (rev 1222) +++ trunk/web/htdocs/screenshots.php 2006-09-02 01:12:52 UTC (rev 1223) @@ -6,7 +6,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo get_locale() ?>" lang="<?php echo get_locale() ?>"> <head> - <title>jsXe: Screenshots</title> + <title>jsXe: <?php echo T_("Screenshots"); ?></title> <?php include("meta.php") ?> </head> <body> @@ -25,11 +25,13 @@ } else { ?> - <h2>Screenshots</h2> + <h2><?php echo T_("Screenshots"); ?></h2> <table border="0" cellpadding="0" cellspacing="15" width="100%"> <tr> + <td> + <?php $params = array(); $params['id'] = '86758'; @@ -37,10 +39,10 @@ ?> </td> <td> - jsXe with Japanese locale. + <?php echo T_("jsXe with Japanese locale."); ?> <br/> - (jsXe 0.5 pre3 running on Ubuntu Linux) + (jsXe 0.5 pre3, Ubuntu Linux) </td> </tr> <tr> @@ -55,7 +57,7 @@ A screenshot showing the context dialog including cut/paste <br/> - (jsXe 0.4 pre3 running on Windows XP) + (jsXe 0.4 pre3, Windows XP) </td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-09-02 01:16:34
|
Revision: 1224 http://svn.sourceforge.net/jsxe/?rev=1224&view=rev Author: ian_lewis Date: 2006-09-01 18:16:20 -0700 (Fri, 01 Sep 2006) Log Message: ----------- Changed extention on content files to better describe their content removed obsolete news-header.html Modified Paths: -------------- trunk/web/htdocs/functions.php Added Paths: ----------- trunk/web/htdocs/content/en/downloads.php trunk/web/htdocs/content/en/features.php trunk/web/htdocs/content/en/get-involved.php trunk/web/htdocs/content/en/news.php trunk/web/htdocs/content/en/overview.php Removed Paths: ------------- trunk/web/htdocs/content/en/downloads.html trunk/web/htdocs/content/en/features.html trunk/web/htdocs/content/en/get-involved.html trunk/web/htdocs/content/en/news-header.html trunk/web/htdocs/content/en/news.html trunk/web/htdocs/content/en/overview.html trunk/web/htdocs/content/jp/ Deleted: trunk/web/htdocs/content/en/downloads.html =================================================================== --- trunk/web/htdocs/content/en/downloads.html 2006-09-02 01:12:52 UTC (rev 1223) +++ trunk/web/htdocs/content/en/downloads.html 2006-09-02 01:16:20 UTC (rev 1224) @@ -1,72 +0,0 @@ -<h3>Requirements</h3> - -<ul> -<li>jsXe requires Java 2 version 1.4.2</li> -<li>jsXe currently requires a specific version of Xerces-J to - run. Xerces-J 2.8.0 is required since some features are - implemented using the DOM level 3 interfaces that were in 2.6.0 - but were changed in later versions. Xerces-J 2.8.0 included in - the normal binary and source releases of jsXe for convenience. - You can also get Xerces-J 2.8.0 - <a href="http://archive.apache.org/dist/xml/xerces-j/">here</a>.</li> -</ul> - -<h3>Download</h3> - -<ul> - <li>The latest stable version of jsXe is <?php echo get_stable_download_link(); ?></li> - <li>The latest development version of jsXe is <?php echo get_devel_download_link(); ?></li> -</ul> - -<h3>Install</h3> - -<ul> - <li><b>0.4 beta</b> - <ul> - <li><p>To install and run jsXe simply unzip jsXe into the directory - of your choosing and run the included batch program or shell - script. You will need to make sure that the java runtime is in - your path. In the root of the jsXe install directory type the - following at a command prompt.</p> - <p>./bin/jsXe.sh</p> - <p>or</p> - <p>./bin/jsXe.bat</p> - <p>The batch program should be run in with the jsXe root - directory of as the working directory. So you can create a - shortcut to run jsXe by specifying the batch file as the program - to run and jsXe's root directory as the working directory.</p> - - <p>Ex.<br/> - Target: "C:\Program Files\jsXe\bin\jsXe.bat"<br/> - Start in: "C:\Program Files\jsXe\"</p> - - <p>You can also edit the JSXEDIR variable in the batch program - to be the directory where you installed jsXe and then the - 'Start in' directory can be anywhere.</p> - </li> - </ul> - </li> - <li><b>0.5 pre2</b> - <ul> - <li><b>Windows</b> - - <p>Just run jsXe using the jsXe.exe in the install directory. The - exe will detect your version of Java and run jsXe using that - version.</p> - </li> - - <li><b>Unix/Linux</b> - - <p>To run jsXe you should just run the java interpreter on the - jsXe.jar file. There is a shell script included in the - source tree for this purpose.</p> - - <p>./bin/jsXe.sh</p> - - <p>The shell script should be run in with the jsXe root directory of - as the working directory. You can also edit the JSXEDIR variable in - the shell script to be the directory where you installed jsXe.</p> - </li> - </ul> - </li> -</ul> \ No newline at end of file Copied: trunk/web/htdocs/content/en/downloads.php (from rev 1223, trunk/web/htdocs/content/en/downloads.html) =================================================================== --- trunk/web/htdocs/content/en/downloads.php (rev 0) +++ trunk/web/htdocs/content/en/downloads.php 2006-09-02 01:16:20 UTC (rev 1224) @@ -0,0 +1,72 @@ +<h3>Requirements</h3> + +<ul> +<li>jsXe requires Java 2 version 1.4.2</li> +<li>jsXe currently requires a specific version of Xerces-J to + run. Xerces-J 2.8.0 is required since some features are + implemented using the DOM level 3 interfaces that were in 2.6.0 + but were changed in later versions. Xerces-J 2.8.0 included in + the normal binary and source releases of jsXe for convenience. + You can also get Xerces-J 2.8.0 + <a href="http://archive.apache.org/dist/xml/xerces-j/">here</a>.</li> +</ul> + +<h3>Download</h3> + +<ul> + <li>The latest stable version of jsXe is <?php echo get_stable_download_link(); ?></li> + <li>The latest development version of jsXe is <?php echo get_devel_download_link(); ?></li> +</ul> + +<h3>Install</h3> + +<ul> + <li><b>0.4 beta</b> + <ul> + <li><p>To install and run jsXe simply unzip jsXe into the directory + of your choosing and run the included batch program or shell + script. You will need to make sure that the java runtime is in + your path. In the root of the jsXe install directory type the + following at a command prompt.</p> + <p>./bin/jsXe.sh</p> + <p>or</p> + <p>./bin/jsXe.bat</p> + <p>The batch program should be run in with the jsXe root + directory of as the working directory. So you can create a + shortcut to run jsXe by specifying the batch file as the program + to run and jsXe's root directory as the working directory.</p> + + <p>Ex.<br/> + Target: "C:\Program Files\jsXe\bin\jsXe.bat"<br/> + Start in: "C:\Program Files\jsXe\"</p> + + <p>You can also edit the JSXEDIR variable in the batch program + to be the directory where you installed jsXe and then the + 'Start in' directory can be anywhere.</p> + </li> + </ul> + </li> + <li><b>0.5 pre2</b> + <ul> + <li><b>Windows</b> + + <p>Just run jsXe using the jsXe.exe in the install directory. The + exe will detect your version of Java and run jsXe using that + version.</p> + </li> + + <li><b>Unix/Linux</b> + + <p>To run jsXe you should just run the java interpreter on the + jsXe.jar file. There is a shell script included in the + source tree for this purpose.</p> + + <p>./bin/jsXe.sh</p> + + <p>The shell script should be run in with the jsXe root directory of + as the working directory. You can also edit the JSXEDIR variable in + the shell script to be the directory where you installed jsXe.</p> + </li> + </ul> + </li> +</ul> \ No newline at end of file Deleted: trunk/web/htdocs/content/en/features.html =================================================================== --- trunk/web/htdocs/content/en/features.html 2006-09-02 01:12:52 UTC (rev 1223) +++ trunk/web/htdocs/content/en/features.html 2006-09-02 01:16:20 UTC (rev 1224) @@ -1,62 +0,0 @@ -<p>These are features currently implemented in the stable version of jsXe</p> - -<h3>General</h3> - -<ul> - <li>Written in Java, so it runs on Mac OS X, OS/2, Unix, VMS and Windows.</li> - <li>XML documents are edited using views. jsXe allows for - multiple views.</li> - <li>Syntax highlighted source view (version 0.4 beta)</li> - <li>Plugin interface that allows the addition of views - without re-compiling</li> - <li>Relatively good serialization of XML documents. - Supports the option of formatting serialized XML - documents or not formatting. Supports preserving - whitespace in text.</li> - <li>Allows opening and editing of multiple XML documents in - one open window.</li> - <li>Incremental parsing. Parsing the document and validation - will be done automatically without having to - continuously hit a validate/parse button.</li> - <li>Support for validation of an XML document using DTDs and - other forms of Schema.</li> - <li>DTD/Schema introspection. Information in the DTD/Schema is used to - allow users to add and edit nodes based on defined - within the DTD/Schema.</li> - <li>Internationalization. jsXe has support to easily - create translations of menus and messages into your native - language.</li> - <li>Built-in completion support for XML Schema, XHTML, XSLT, and - XSL:FO</li> -</ul> - -<h3>Tree View</h3> - -<ul> - <li>Adding, deleting, and editing of Nodes in an XML document using context menus.</li> - <li>Adding, deleting, and editing of attributes of an element node.</li> - <li>Drag and Drop of XML nodes within the Tree view and to text editors.</li> -</ul> - -<h3>Source View</h3> - -<ul> - <li>Text editing of the full XML source of any XML document</li> - <li>Cut, copy, and paste and other limited features.</li> -</ul> - - -<h2>Planned Features</h2> - -<p>These are features that have been added to the development version of jsXe or are planned for the future</p> - -<ul> - <li>A schema designer view that uses <a href="http://www.jgraph.com/">JGraph</a></li> - <li>A docbook editor view using <a href="http://vex.sourceforge.net/">Vex</a></li> - <li>An XHTML renderer using <a href="https://xhtmlrenderer.dev.java.net/">Flying Saucer</a></li> - <li>Support for transforming XML documents using XSLT stylesheets.</li> - <li>Support for Unlimited Undo (version 0.5 beta)</li> - <li>Tag completion using DTD/Schema introspection (version 0.5 beta)</li> - <li>Automatic insertion of closing tags (version 0.5 beta)</li> - <li>A help system using <a href="http://aurigadoc.sourceforge.net/">AurigaDoc</a> or <a href="http://docbook.sourceforge.net/">Docbook</a> (version 0.6 beta)</li> -</ul> \ No newline at end of file Copied: trunk/web/htdocs/content/en/features.php (from rev 1223, trunk/web/htdocs/content/en/features.html) =================================================================== --- trunk/web/htdocs/content/en/features.php (rev 0) +++ trunk/web/htdocs/content/en/features.php 2006-09-02 01:16:20 UTC (rev 1224) @@ -0,0 +1,62 @@ +<p>These are features currently implemented in the stable version of jsXe</p> + +<h3>General</h3> + +<ul> + <li>Written in Java, so it runs on Mac OS X, OS/2, Unix, VMS and Windows.</li> + <li>XML documents are edited using views. jsXe allows for + multiple views.</li> + <li>Syntax highlighted source view (version 0.4 beta)</li> + <li>Plugin interface that allows the addition of views + without re-compiling</li> + <li>Relatively good serialization of XML documents. + Supports the option of formatting serialized XML + documents or not formatting. Supports preserving + whitespace in text.</li> + <li>Allows opening and editing of multiple XML documents in + one open window.</li> + <li>Incremental parsing. Parsing the document and validation + will be done automatically without having to + continuously hit a validate/parse button.</li> + <li>Support for validation of an XML document using DTDs and + other forms of Schema.</li> + <li>DTD/Schema introspection. Information in the DTD/Schema is used to + allow users to add and edit nodes based on defined + within the DTD/Schema.</li> + <li>Internationalization. jsXe has support to easily + create translations of menus and messages into your native + language.</li> + <li>Built-in completion support for XML Schema, XHTML, XSLT, and + XSL:FO</li> +</ul> + +<h3>Tree View</h3> + +<ul> + <li>Adding, deleting, and editing of Nodes in an XML document using context menus.</li> + <li>Adding, deleting, and editing of attributes of an element node.</li> + <li>Drag and Drop of XML nodes within the Tree view and to text editors.</li> +</ul> + +<h3>Source View</h3> + +<ul> + <li>Text editing of the full XML source of any XML document</li> + <li>Cut, copy, and paste and other limited features.</li> +</ul> + + +<h2>Planned Features</h2> + +<p>These are features that have been added to the development version of jsXe or are planned for the future</p> + +<ul> + <li>A schema designer view that uses <a href="http://www.jgraph.com/">JGraph</a></li> + <li>A docbook editor view using <a href="http://vex.sourceforge.net/">Vex</a></li> + <li>An XHTML renderer using <a href="https://xhtmlrenderer.dev.java.net/">Flying Saucer</a></li> + <li>Support for transforming XML documents using XSLT stylesheets.</li> + <li>Support for Unlimited Undo (version 0.5 beta)</li> + <li>Tag completion using DTD/Schema introspection (version 0.5 beta)</li> + <li>Automatic insertion of closing tags (version 0.5 beta)</li> + <li>A help system using <a href="http://aurigadoc.sourceforge.net/">AurigaDoc</a> or <a href="http://docbook.sourceforge.net/">Docbook</a> (version 0.6 beta)</li> +</ul> \ No newline at end of file Deleted: trunk/web/htdocs/content/en/get-involved.html =================================================================== --- trunk/web/htdocs/content/en/get-involved.html 2006-09-02 01:12:52 UTC (rev 1223) +++ trunk/web/htdocs/content/en/get-involved.html 2006-09-02 01:16:20 UTC (rev 1224) @@ -1,103 +0,0 @@ -<p>jsXe needs developers to implement new features and fix bugs, - testers for testing jsXe, translators for translating messages and the - website, and web designers who are interested in updating the project's - website.</p> - -<p>Getting involved is fairly easy. There are a multitude of ways that - you can become involved in the project. The easiest is probably by - subscribing to the mailing lists, however there are many methods at - your disposal.</p> - -<p>Note: Contributers will be expected to give their real names.</p> - -<h3>Developers</h3> - -<p>If you are interested in working on jsXe, please - <a href="#lists">subscribe</a> - and send a mail to the jsxe-devel mailing list. The developers can help - get you started. Developers should know how to use SVN and have some - experience with Java swing or XML.</p> - -<h3>Testers</h3> - -<p>If you are interested in testing jsXe, please - <a href="#lists">subscribe</a> - and send a mail to the jsxe-devel mailing list. Testing will normally be - done on SVN and beta releases. Familiarity with - <a href="http://subversion.tigris.org/">SVN</a> and - <a href="http://ant.apache.org/">ant</a> is a plus since it will be needed - for testing code from the SVN repository.</p> - -<h3>Translators</h3> - -<p>If you are interested in translating for the jsXe project. Please - <a href="#lists">subscribe</a> - and send a mail to the jsxe-devel mailing list. For those who are - knowlegeable of SVN, you can check out the messages files from jsXe's - <a href="http://svn.sourceforge.net/viewcvs.cgi/jsxe/trunk/jsxe/">SVN repository</a>. - But even if you are not versed in SVN, the developers on the - mailing list can help get you started.</p> - -<h3>Web Developers</h3> - -<p>If you are interested in working on jsXe's webpage, please - <a href="#lists">subscribe</a> - and send a mail to the jsxe-devel mailing list. The developers can help - get you started. Web developers should have some knowledge of CSS and - PHP.</p> - -<h3>Users</h3> - -<p>Let us know what you think! - <a href="#lists">Subscribe</a> - to the jsxe-users mailing list and let us know what you think and what - features you would like to have implemented. Or you could submit a - <a href="http://sourceforge.net/tracker/?atid=488271&group_id=58584&func=browse">feature request</a>.</p> - -<h3><a name="lists">Mailing Lists</a></h3> - -<p>These three mailing lists will be low traffic.</p> - -<ul> - <li>jsXe-users (English): <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-users">Subscribe/Unsubscribe/Preferences</a>: a general discussion list for users of jsXe.</li> - <li>jsXe-devel (English): <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">Subscribe/Unsubscribe/Preferences</a>: a list for technical discussion regarding jsXe development.</li> - <li>jsXe-users (日本語): <a href="http://lists.sourceforge.jp/mailman/listinfo/jsxe-users">Subscribe/Unsubscribe/Preferences</a>: a general discussion list for users of jsXe.</li> - <li>jsXe-cvs: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-cvs">Subscribe/Unsubscribe/Preferences</a>: a list where SVN commits are posted. Anyone subscribing to this list will be notified when changes are commited to SVN.</li> -</ul> - -<h3>Forums</h3> - -<p>To get support if you're having problems installing or running - jsXe please post to the Help forum. Any other comments and criticism - can be posted in the open discussion forum.</p> - -<ul> - <li><a href="http://sourceforge.net/forum/forum.php?forum_id=197160">Open Discussion</a></li> - <li><a href="http://sourceforge.net/forum/forum.php?forum_id=197161">Help</a></li> -</ul> - -<h3>IRC</h3> - -<p>Come to #jsxe on irc.freenode.net to talk with the developers.</p> - -<h3>Reporting Bugs</h3> - -<p>Reporting bugs is easy. Just submit a bug report on <a href="http://sourceforge.net/tracker/?atid=488268&group_id=58584&func=browse">jsXe's Bug Tracker</a>. - Just enter a description of the bug and if possible how to reproduce it - and it will be assigned and addressed by the project development team.</p> - -<h3>Feature Requests</h3> - -<p>Features requests are always welcome and will be addressed based on user - need and whether the feature fits with jsXe's vision. Feature - requests are easy too! Just submit a feature requests to - <a href="http://sourceforge.net/tracker/?atid=488271&group_id=58584&func=browse">jsXe's Feature Request Tracker</a>.</p> - -<h3>Patches</h3> - -<p>This is probably the best way to start becoming involved in the devolopment of jsXe. - You can submit patches using - <a href="http://sourceforge.net/tracker/?atid=488270&group_id=58584&func=browse">jsXe's Sourceforge Patch Tracker</a>. - Just provide the patch or code change itself and a discription of what - it does when you submit it. If your work is good then we'll add - you as developer with SVN access.</p> \ No newline at end of file Copied: trunk/web/htdocs/content/en/get-involved.php (from rev 1223, trunk/web/htdocs/content/en/get-involved.html) =================================================================== --- trunk/web/htdocs/content/en/get-involved.php (rev 0) +++ trunk/web/htdocs/content/en/get-involved.php 2006-09-02 01:16:20 UTC (rev 1224) @@ -0,0 +1,103 @@ +<p>jsXe needs developers to implement new features and fix bugs, + testers for testing jsXe, translators for translating messages and the + website, and web designers who are interested in updating the project's + website.</p> + +<p>Getting involved is fairly easy. There are a multitude of ways that + you can become involved in the project. The easiest is probably by + subscribing to the mailing lists, however there are many methods at + your disposal.</p> + +<p>Note: Contributers will be expected to give their real names.</p> + +<h3>Developers</h3> + +<p>If you are interested in working on jsXe, please + <a href="#lists">subscribe</a> + and send a mail to the jsxe-devel mailing list. The developers can help + get you started. Developers should know how to use SVN and have some + experience with Java swing or XML.</p> + +<h3>Testers</h3> + +<p>If you are interested in testing jsXe, please + <a href="#lists">subscribe</a> + and send a mail to the jsxe-devel mailing list. Testing will normally be + done on SVN and beta releases. Familiarity with + <a href="http://subversion.tigris.org/">SVN</a> and + <a href="http://ant.apache.org/">ant</a> is a plus since it will be needed + for testing code from the SVN repository.</p> + +<h3>Translators</h3> + +<p>If you are interested in translating for the jsXe project. Please + <a href="#lists">subscribe</a> + and send a mail to the jsxe-devel mailing list. For those who are + knowlegeable of SVN, you can check out the messages files from jsXe's + <a href="http://svn.sourceforge.net/viewcvs.cgi/jsxe/trunk/jsxe/">SVN repository</a>. + But even if you are not versed in SVN, the developers on the + mailing list can help get you started.</p> + +<h3>Web Developers</h3> + +<p>If you are interested in working on jsXe's webpage, please + <a href="#lists">subscribe</a> + and send a mail to the jsxe-devel mailing list. The developers can help + get you started. Web developers should have some knowledge of CSS and + PHP.</p> + +<h3>Users</h3> + +<p>Let us know what you think! + <a href="#lists">Subscribe</a> + to the jsxe-users mailing list and let us know what you think and what + features you would like to have implemented. Or you could submit a + <a href="http://sourceforge.net/tracker/?atid=488271&group_id=58584&func=browse">feature request</a>.</p> + +<h3><a name="lists">Mailing Lists</a></h3> + +<p>These three mailing lists will be low traffic.</p> + +<ul> + <li>jsXe-users (English): <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-users">Subscribe/Unsubscribe/Preferences</a>: a general discussion list for users of jsXe.</li> + <li>jsXe-devel (English): <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">Subscribe/Unsubscribe/Preferences</a>: a list for technical discussion regarding jsXe development.</li> + <li>jsXe-users (日本語): <a href="http://lists.sourceforge.jp/mailman/listinfo/jsxe-users">Subscribe/Unsubscribe/Preferences</a>: a general discussion list for users of jsXe.</li> + <li>jsXe-cvs: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-cvs">Subscribe/Unsubscribe/Preferences</a>: a list where SVN commits are posted. Anyone subscribing to this list will be notified when changes are commited to SVN.</li> +</ul> + +<h3>Forums</h3> + +<p>To get support if you're having problems installing or running + jsXe please post to the Help forum. Any other comments and criticism + can be posted in the open discussion forum.</p> + +<ul> + <li><a href="http://sourceforge.net/forum/forum.php?forum_id=197160">Open Discussion</a></li> + <li><a href="http://sourceforge.net/forum/forum.php?forum_id=197161">Help</a></li> +</ul> + +<h3>IRC</h3> + +<p>Come to #jsxe on irc.freenode.net to talk with the developers.</p> + +<h3>Reporting Bugs</h3> + +<p>Reporting bugs is easy. Just submit a bug report on <a href="http://sourceforge.net/tracker/?atid=488268&group_id=58584&func=browse">jsXe's Bug Tracker</a>. + Just enter a description of the bug and if possible how to reproduce it + and it will be assigned and addressed by the project development team.</p> + +<h3>Feature Requests</h3> + +<p>Features requests are always welcome and will be addressed based on user + need and whether the feature fits with jsXe's vision. Feature + requests are easy too! Just submit a feature requests to + <a href="http://sourceforge.net/tracker/?atid=488271&group_id=58584&func=browse">jsXe's Feature Request Tracker</a>.</p> + +<h3>Patches</h3> + +<p>This is probably the best way to start becoming involved in the devolopment of jsXe. + You can submit patches using + <a href="http://sourceforge.net/tracker/?atid=488270&group_id=58584&func=browse">jsXe's Sourceforge Patch Tracker</a>. + Just provide the patch or code change itself and a discription of what + it does when you submit it. If your work is good then we'll add + you as developer with SVN access.</p> \ No newline at end of file Deleted: trunk/web/htdocs/content/en/news-header.html =================================================================== --- trunk/web/htdocs/content/en/news-header.html 2006-09-02 01:12:52 UTC (rev 1223) +++ trunk/web/htdocs/content/en/news-header.html 2006-09-02 01:16:20 UTC (rev 1224) @@ -1 +0,0 @@ -<h2>News</h2> \ No newline at end of file Deleted: trunk/web/htdocs/content/en/news.html =================================================================== --- trunk/web/htdocs/content/en/news.html 2006-09-02 01:12:52 UTC (rev 1223) +++ trunk/web/htdocs/content/en/news.html 2006-09-02 01:16:20 UTC (rev 1224) @@ -1,9 +0,0 @@ - <p><a href="http://sourceforge.net/forum/forum.php?forum_id=594064"><strong>jsXe 0.5 pre2 released!!</strong></a> <small class="date">2006-07-24 12:39 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe team is proud to announce the release of jsXe 0.5 pre2. This release is a bugfix release to fix a number of bugs that were released with 0.5 pre1. A NullPointerException being thrown by the source view as well as horizontal scrolling issues in the source view have been fixed. jsXe will also reload a file that is not-wellformed on disk properly.<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=594064">Read More »</a></p> - <p><a href="http://sourceforge.net/forum/forum.php?forum_id=592911"><strong>jsXe 0.5 pre1 released!!</strong></a> <small class="date">2006-07-20 09:48 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe team is proud to release the newest unstable version of jsXe which will eventually become the 0.5 beta release. -<br /> -<br />This release contains support for user defined keyboard shortcuts. These shortcuts can be used to run actions defined by jsXe. This release also includes fixes for translation files. Translation files with non-ASCII characters should display properly now.<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=592911">Read More »</a></p> - <p><a href="http://sourceforge.net/forum/forum.php?forum_id=575087"><strong>jsXe has migrated to SVN!!!</strong></a> <small class="date">2006-05-24 17:57 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe project team has just finished migrating from sourceforge's CVS services to sourceforge's SVN services. From now on users should use SVN to download the current working version of jsXe's source code. Please see <a href="http://sourceforge.net/svn/?group_id=58584" target="_new">http://sourceforge.net/svn/?group_id=58584</a> for instructions on how to download from SVN.<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=575087">Read More »</a></p> - <p><a href="http://sourceforge.net/forum/forum.php?forum_id=565332"><strong>jsXe 0.4 beta released!</strong></a> <small class="date">2006-04-25 13:49 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe team is proud to announce the release of jsXe 0.4 beta! This improves on 0.3 beta by adding support for DTD/Schema validation and introspection, a syntax highlighted source view, full encoding support, and many, many gui changes. See below for all changes over 0.3 beta! -<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=565332">Read More »</a></p> - <p><a href="http://sourceforge.net/forum/forum.php?forum_id=541741"><strong>jsXe 0.4 pre3 released!</strong></a> <small class="date">2006-02-19 13:45 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe team is pleased to annonce the release of version 0.4pre3. This release focused on adding support for viewing validation errors with documents that are validated against DTD and Schema. However, A number of UI enhancements were also added in this release including cut/copy/paste in the tree view and an activity log dialog for troubleshooting. The source view was made a bit easier to use by adding the ability to maintain indent and solving some problems with syntax highlighting. -<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=541741">Read More »</a></p><p><a href="http://sourceforge.net/news/?group_id=58584">Site news archive »</a></p> \ No newline at end of file Copied: trunk/web/htdocs/content/en/news.php (from rev 1221, trunk/web/htdocs/content/en/news.html) =================================================================== --- trunk/web/htdocs/content/en/news.php (rev 0) +++ trunk/web/htdocs/content/en/news.php 2006-09-02 01:16:20 UTC (rev 1224) @@ -0,0 +1,9 @@ + <p><a href="http://sourceforge.net/forum/forum.php?forum_id=594064"><strong>jsXe 0.5 pre2 released!!</strong></a> <small class="date">2006-07-24 12:39 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe team is proud to announce the release of jsXe 0.5 pre2. This release is a bugfix release to fix a number of bugs that were released with 0.5 pre1. A NullPointerException being thrown by the source view as well as horizontal scrolling issues in the source view have been fixed. jsXe will also reload a file that is not-wellformed on disk properly.<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=594064">Read More »</a></p> + <p><a href="http://sourceforge.net/forum/forum.php?forum_id=592911"><strong>jsXe 0.5 pre1 released!!</strong></a> <small class="date">2006-07-20 09:48 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe team is proud to release the newest unstable version of jsXe which will eventually become the 0.5 beta release. +<br /> +<br />This release contains support for user defined keyboard shortcuts. These shortcuts can be used to run actions defined by jsXe. This release also includes fixes for translation files. Translation files with non-ASCII characters should display properly now.<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=592911">Read More »</a></p> + <p><a href="http://sourceforge.net/forum/forum.php?forum_id=575087"><strong>jsXe has migrated to SVN!!!</strong></a> <small class="date">2006-05-24 17:57 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe project team has just finished migrating from sourceforge's CVS services to sourceforge's SVN services. From now on users should use SVN to download the current working version of jsXe's source code. Please see <a href="http://sourceforge.net/svn/?group_id=58584" target="_new">http://sourceforge.net/svn/?group_id=58584</a> for instructions on how to download from SVN.<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=575087">Read More »</a></p> + <p><a href="http://sourceforge.net/forum/forum.php?forum_id=565332"><strong>jsXe 0.4 beta released!</strong></a> <small class="date">2006-04-25 13:49 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe team is proud to announce the release of jsXe 0.4 beta! This improves on 0.3 beta by adding support for DTD/Schema validation and introspection, a syntax highlighted source view, full encoding support, and many, many gui changes. See below for all changes over 0.3 beta! +<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=565332">Read More »</a></p> + <p><a href="http://sourceforge.net/forum/forum.php?forum_id=541741"><strong>jsXe 0.4 pre3 released!</strong></a> <small class="date">2006-02-19 13:45 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe team is pleased to annonce the release of version 0.4pre3. This release focused on adding support for viewing validation errors with documents that are validated against DTD and Schema. However, A number of UI enhancements were also added in this release including cut/copy/paste in the tree view and an activity log dialog for troubleshooting. The source view was made a bit easier to use by adding the ability to maintain indent and solving some problems with syntax highlighting. +<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=541741">Read More »</a></p><p><a href="http://sourceforge.net/news/?group_id=58584">Site news archive »</a></p> \ No newline at end of file Deleted: trunk/web/htdocs/content/en/overview.html =================================================================== --- trunk/web/htdocs/content/en/overview.html 2006-09-02 01:12:52 UTC (rev 1223) +++ trunk/web/htdocs/content/en/overview.html 2006-09-02 01:16:20 UTC (rev 1224) @@ -1,15 +0,0 @@ -<p>jsXe is the <b>J</b>ava <b>S</b>imple <b>X</b>ML <b>E</b>ditor.</p> -<p>jsXe is a fast, intuitive, scalable, platform-independent XML editor. - It is written in <a href="http://java.sun.com">Java</a> using the Swing - toolkit, and <a href="http://xml.apache.org/xerces2-j/">Xerces-J</a> - and is released under the terms of the - <a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public License</a>. - It aims to provide end users and developers with an - intuitive way of creating XML documents that is simple enough to deal - with any XML document but flexible to allow the addition of support for - XML document formats through the use of plugins.</p> -<p>jsXe is currently in the beta stage and many intended features - are not currently implemented. If you are interesting in helping to - make jsXe a great editor by contributing your suggestions and needs or - if you are a developer and would like to contribute time and code check - out <?php echo create_link('get-involved.php', 'how to get involved'); ?>.</p> \ No newline at end of file Copied: trunk/web/htdocs/content/en/overview.php (from rev 1223, trunk/web/htdocs/content/en/overview.html) =================================================================== --- trunk/web/htdocs/content/en/overview.php (rev 0) +++ trunk/web/htdocs/content/en/overview.php 2006-09-02 01:16:20 UTC (rev 1224) @@ -0,0 +1,15 @@ +<p>jsXe is the <b>J</b>ava <b>S</b>imple <b>X</b>ML <b>E</b>ditor.</p> +<p>jsXe is a fast, intuitive, scalable, platform-independent XML editor. + It is written in <a href="http://java.sun.com">Java</a> using the Swing + toolkit, and <a href="http://xml.apache.org/xerces2-j/">Xerces-J</a> + and is released under the terms of the + <a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public License</a>. + It aims to provide end users and developers with an + intuitive way of creating XML documents that is simple enough to deal + with any XML document but flexible to allow the addition of support for + XML document formats through the use of plugins.</p> +<p>jsXe is currently in the beta stage and many intended features + are not currently implemented. If you are interesting in helping to + make jsXe a great editor by contributing your suggestions and needs or + if you are a developer and would like to contribute time and code check + out <?php echo create_link('get-involved.php', 'how to get involved'); ?>.</p> \ No newline at end of file Modified: trunk/web/htdocs/functions.php =================================================================== --- trunk/web/htdocs/functions.php 2006-09-02 01:12:52 UTC (rev 1223) +++ trunk/web/htdocs/functions.php 2006-09-02 01:16:20 UTC (rev 1224) @@ -128,9 +128,9 @@ // $data = fread($fh, filesize($file)); // fclose($fh); // echo $data; - $file = 'content/'.get_locale().'/'.$name.'.html'; + $file = 'content/'.get_locale().'/'.$name.'.php'; if (!file_exists($file)) { - $file = 'content/en/'.$name.'.html'; + $file = 'content/en/'.$name.'.php'; } include($file); }//}}} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-09-02 01:45:48
|
Revision: 1225 http://svn.sourceforge.net/jsxe/?rev=1225&view=rev Author: ian_lewis Date: 2006-09-01 18:45:42 -0700 (Fri, 01 Sep 2006) Log Message: ----------- Support localization for the screenshots page Modified Paths: -------------- trunk/web/htdocs/content/ja/_global.php trunk/web/htdocs/screenshots.php Modified: trunk/web/htdocs/content/ja/_global.php =================================================================== --- trunk/web/htdocs/content/ja/_global.php 2006-09-02 01:16:20 UTC (rev 1224) +++ trunk/web/htdocs/content/ja/_global.php 2006-09-02 01:45:42 UTC (rev 1225) @@ -8,6 +8,8 @@ 'Download' => 'ダウンロード', 'Downloads' => 'ダウンロード', 'Get Involved' => '参加情報', - 'SourceForge Project' => 'SourceForge プロジェクト' + 'SourceForge Project' => 'SourceForge プロジェクト', + 'jsXe with Japanese locale.' => 'jsXeは日本語も表示することができます。', + 'A screenshot showing the context dialog including cut/paste.' => '切り取りと、コピーと、貼り付けという機能が表せるスクリーンショット。' ); ?> \ No newline at end of file Modified: trunk/web/htdocs/screenshots.php =================================================================== --- trunk/web/htdocs/screenshots.php 2006-09-02 01:16:20 UTC (rev 1224) +++ trunk/web/htdocs/screenshots.php 2006-09-02 01:45:42 UTC (rev 1225) @@ -54,7 +54,7 @@ ?> </td> <td> - A screenshot showing the context dialog including cut/paste + <?php echo T_("A screenshot showing the context dialog including cut/paste."); ?> <br/> (jsXe 0.4 pre3, Windows XP) @@ -70,10 +70,10 @@ ?> </td> <td> - A screenshot showing validation features. jsXe allows you to add nodes defined by DTD/Schema + <?php echo T_("A screenshot showing validation features. jsXe allows you to add nodes defined by DTD/Schema."); ?> <br/> - (jsXe 0.4 pre1 running on Windows XP) + (jsXe 0.4, Windows XP) </td> </tr> <tr> @@ -85,10 +85,10 @@ ?> </td> <td> - A screenshot showing the syntax highlighted source view. + <?php echo T_("A screenshot showing the syntax highlighted source view."); ?> <br/> - (jsXe 0.4 pre2 running on Windows XP) + (jsXe 0.4 pre2, Windows XP) </td> </tr> <tr> @@ -100,10 +100,10 @@ ?> </td> <td> - A screenshot of jsXe's options panel. + <?php echo T_("A screenshot of jsXe's options panel."); ?> <br/> - (jsXe 0.4 pre1 running on Windows XP) + (jsXe 0.4 pre1, Windows XP) </td> </tr> <tr> @@ -115,10 +115,10 @@ ?> </td> <td> - A screenshot of the edit node dialog. This dialog can be used to edit nodes defined in DTD/Schema + <?php echo T_("A screenshot of the edit node dialog. This dialog can be used to edit nodes defined in DTD/Schema."); ?> <br/> - (jsXe 0.4 pre1 running on Windows XP) + (jsXe 0.4 pre1, Windows XP) </td> </tr> </table> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-10-20 05:08:30
|
Revision: 1254 http://svn.sourceforge.net/jsxe/?rev=1254&view=rev Author: ian_lewis Date: 2006-10-19 22:08:16 -0700 (Thu, 19 Oct 2006) Log Message: ----------- added russian translation of jsxe's webpage Modified Paths: -------------- trunk/web/htdocs/sidebar.php Added Paths: ----------- trunk/web/htdocs/content/ru/ trunk/web/htdocs/content/ru/_global.php trunk/web/htdocs/content/ru/downloads.php trunk/web/htdocs/content/ru/features.php trunk/web/htdocs/content/ru/get-involved.php trunk/web/htdocs/content/ru/overview.php Added: trunk/web/htdocs/content/ru/_global.php =================================================================== --- trunk/web/htdocs/content/ru/_global.php (rev 0) +++ trunk/web/htdocs/content/ru/_global.php 2006-10-20 05:08:16 UTC (rev 1254) @@ -0,0 +1,19 @@ +<?php +$trans['ru'] = array( + 'Overview' => 'Обзор', + 'News' => 'Новости', + 'Features' => 'Возможности', + 'Screenshot' => 'Скриншот', + 'Screenshots' => 'Скриншоты', + 'Download' => 'Скачать', + 'Downloads' => 'Скачивание', + 'Get Involved' => 'Помочь проекту', + 'SourceForge Project' => 'Страница на SourceForge', + 'jsXe with Japanese locale.' => 'jsXe с Японской локалью', + 'A screenshot showing the context dialog including cut/paste.' => 'Этот скриншот демонстрирует диалог включающий вырезание и вставку.', + 'A screenshot showing validation features. jsXe allows you to add nodes defined by DTD/Schema' => 'Этот скриншот демонстрирует функции проверки. jsXe позволяет вам добавлять узлы, определенные в DTD/Schema', + 'A screenshot showing the syntax highlighted source view.' => 'Этот скриншот демонстрирует подсветку синтаксиса в отображении исходником.', + 'A screenshot of jsXe's options panel.' => 'Это скриншот панели настроек jsXe.', + 'A screenshot of the edit node dialog. This dialog can be used to edit nodes defined in DTD/Schema.' => 'Скриншот диалога редактора узла. Этот диалог может быть использован для редактирования узлов, определенных в DTD/Schema.' +); +?> Property changes on: trunk/web/htdocs/content/ru/_global.php ___________________________________________________________________ Name: svn:executable + * Added: trunk/web/htdocs/content/ru/downloads.php =================================================================== --- trunk/web/htdocs/content/ru/downloads.php (rev 0) +++ trunk/web/htdocs/content/ru/downloads.php 2006-10-20 05:08:16 UTC (rev 1254) @@ -0,0 +1,76 @@ +<h3>Требования</h3> + +<ul> +<li>jsXe требует Java 2 версии 1.4.2</li> +<li>jsXe в настоящее время требуется особая версия Xerces-J для + запуска. Xerces-J 2.8.0 необходим с тех пор, как некоторые + возможности были реализованы с применением DOM level 3 + interfaces которые были в версии 2.6.0, но затем были изменены + в более поздних версиях. Xerces-J 2.8.0 входит в состав + обычных релизов jsXe (и бинарники и исходники) для удобства. + Вы также можете найти Xerces-J 2.8.0 + <a href="http://archive.apache.org/dist/xml/xerces-j/">здесь</a>.</li> +</ul> + +<h3>Скачать</h3> + +<ul> + <li>Последняя стабильная версия jsXe <?php echo get_stable_download_link(); ?></li> + <li>Последняя версия jsXe "в разработке" <?php echo get_devel_download_link(); ?></li> +</ul> + +<h3>Установка</h3> + +<ul> + <li><b>0.4 beta</b> + <ul> + <li><p>Чтобы установить и запустить jsXe просто распакуйте jsXe в + директорию (папку) по вашему выбору и запустите находящийся там + bat-файл или sh-скрипт. Вам придется самим убедиться что java + runtime прописана в ваш path. Находясь в корне директории, куда + вы установили jsXe введите в консоли следующие команды.</p> + <p>./bin/jsXe.sh</p> + <p>или</p> + <p>./bin/jsXe.bat</p> + <p>При запуске bat-файла его рабочей директорией должна быть + корневая директория с jsXe. Таким образом вы можете сделать + ярлык для запуска jsXe, установив bat-файл как программу для + запуска и корневую директорию с jsXe как рабочую директорию.</p> + + <p>Например.<br/> + Цель: "C:\Program Files\jsXe\bin\jsXe.bat"<br/> + Запускать в: "C:\Program Files\jsXe\"</p> + + <p>Вы также можете отредактировать переменную JSXEDIR в batch-программе, + прописав там директорию, в которую вы установили jsXe, + после чего вы можете запускать jsXe откуда угодно.</p> + </li> + </ul> + </li> + <li><b>0.5 pre2</b> + <ul> + <li><b>Windows</b> + + <p>Просто запустите jsXe с помощью файла jsXe.exe в директории, куда + вы установили программу. Ваша версия Java будет обнаружена + автоматически, после чего jsXe будет запущена с помощью + этой версии.</p> + </li> + + <li><b>Unix/Linux</b> + + <p>Чтобы запустить jsXe вы должны запустить интерпретатор java + с файлом jsXe.jar. В дереве исходного кода существует sh-скрипт + для этой цели.</p> + + <p>./bin/jsXe.sh</p> + + <p>sh-скрипт должен быть запущен из корневой директории (эта директория + должна быть рабочей). Вы также можете отредактировать переменную + JSXEDIR в sh-скрипте, прописав в нее ту директорию, куда вы + установили jsXe. + </p> + </li> + </ul> + </li> +</ul> Property changes on: trunk/web/htdocs/content/ru/downloads.php ___________________________________________________________________ Name: svn:executable + * Added: trunk/web/htdocs/content/ru/features.php =================================================================== --- trunk/web/htdocs/content/ru/features.php (rev 0) +++ trunk/web/htdocs/content/ru/features.php 2006-10-20 05:08:16 UTC (rev 1254) @@ -0,0 +1,61 @@ +<p>Следующие возможности реализованы в текущей стабильной версии jsXe</p> + +<h3>Основное</h3> + +<ul> + <li>Написано на Java, поэтому запускается на Mac OS X, OS/2, Unix, VMS и Windows.</li> + <li>XML-документы редактируются с помощью "отображений". jsXe позволяет + использовать несколько разных отображений.</li> + <li>Подсветка синтаксиса в режиме исходника (с версии 0.4 beta).</li> + <li>Интерфейс плагинов, который позволяет добавлять режимы + без перекомпиляции.</li> + <li>Относительно хорошая сериализация XML-документов. + Поддерживает опциональность форматирования или + не-форматирования сериализованных документов. Позволяет + избегать пустот в тексте.</li> + <li>Позволяет открывать и редактировать несколько XML-документов + в одном открытом окне (вкладочный интерфейс - табы).</li> + <li>Возрастающий парсинг. Парсинг и проверка документа будет + выполнена автоматически без нажатия соответствующей кнопки.</li> + <li>Поддержка проверки XML-документа с использованием DTD и + других форм Schema.</li> + <li>Самопроверка DTD/Schema. Информация в DTD/Schema используется для + допуска пользователей к возможности добавлять и редактировать + узлы на основе объявленных в DTD/Schema.</li> + <li>Интернационализация. jsXe позволяет легко создавать переводы для + интерфейса программы на ваш родной язык.</li> + <li>Встроенная подержка дополнения для XML Schema, XHTML, XSLT, и + XSL:FO.</li> +</ul> + +<h3>Отображение деревом</h3> + +<ul> + <li>Добавление, удаление и редактирование узлов в XML-документе с использованием + контекстных меню.</li> + <li>Добавление, удаление и редактирование аттрибутов узла.</li> + <li>Возможность перетаскивания XML-узлов внутри дерева и в текстовые редакторы.</li> +</ul> + +<h3>Отображение исходником</h3> + +<ul> + <li>Редактирование текста полного исходника любого XML-документа.</li> + <li>Вырезание, копирование, вставка и другие ограниченные возможности.</li> +</ul> + + +<h2>Запланированные возможности</h2> + +<p>Эти возможности были добавлены в версию jsXe "в разработке" или были запланированы для будующей реализации</p> + +<ul> + <li>Отображение "schema designer", которое использует <a href="http://www.jgraph.com/">JGraph</a>.</li> + <li>Отображение "docbook", которое использует <a href="http://vex.sourceforge.net/">Vex</a>.</li> + <li>Рендерер XHTML, который использует <a href="https://xhtmlrenderer.dev.java.net/">Flying Saucer</a>.</li> + <li>Поддержка трансформации XML-документов с использованием таблиц стилей XSLT.</li> + <li>Возможность бесконечного списка действий для отмены (с версии 0.5 beta).</li> + <li>Дополнение тегов с применением самопроверки DTD/Schema (с версии 0.5 beta).</li> + <li>Автоматическая вставка закрывающих тегов ( с версии 0.5 beta).</li> + <li>Справочная система с использованием <a href="http://aurigadoc.sourceforge.net/">AurigaDoc</a> или <a href="http://docbook.sourceforge.net/">Docbook</a> (с версии 0.6 beta)</li> +</ul> Property changes on: trunk/web/htdocs/content/ru/features.php ___________________________________________________________________ Name: svn:executable + * Added: trunk/web/htdocs/content/ru/get-involved.php =================================================================== (Binary files differ) Property changes on: trunk/web/htdocs/content/ru/get-involved.php ___________________________________________________________________ Name: svn:executable + * Name: svn:mime-type + application/octet-stream Added: trunk/web/htdocs/content/ru/overview.php =================================================================== --- trunk/web/htdocs/content/ru/overview.php (rev 0) +++ trunk/web/htdocs/content/ru/overview.php 2006-10-20 05:08:16 UTC (rev 1254) @@ -0,0 +1,15 @@ +<p>jsXe расшифровывается как <b>J</b>ava <b>S</b>imple <b>X</b>ML <b>E</b>ditor. Примерный перевод - простой редактор XML на Java.</p> +<p>jsXe - быстрый, интуитивный, расширяемый, платформо-независимый редактор XML. + Он написан на <a href="http://java.sun.com">Java</a> с использованием the Swing + toolkit, и <a href="http://xml.apache.org/xerces2-j/">Xerces-J</a> + и распространяется на условиях + <a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public License</a>. + Его цель - предоставить пользователям и разработчикам интуитивный способ + создания XML-документов, который достаточно прост для того чтобы иметь дело + с любым XML-документом, но в тоже время достаточно гибкий для того чтобы + позволить добавлять подержку форматов XML-документов с помощью плагинов.</p> +<p>jsXe сейчас в стадии beta-версии и множество запланированных возможностей + еще не реализованы. Если вы интересуетесь возможностью помочь jsXe стать + отличным редактором внося свои предложения, или же если вы разработчик и + хотите отдать проекту свое время и код - смотрите сюда: + <?php echo create_link('get-involved.php', 'how to get involved'); ?>.</p> Property changes on: trunk/web/htdocs/content/ru/overview.php ___________________________________________________________________ Name: svn:executable + * Modified: trunk/web/htdocs/sidebar.php =================================================================== --- trunk/web/htdocs/sidebar.php 2006-09-18 09:21:33 UTC (rev 1253) +++ trunk/web/htdocs/sidebar.php 2006-10-20 05:08:16 UTC (rev 1254) @@ -20,5 +20,6 @@ <ul> <li><?php echo get_image('us.png');?> <?php echo create_language_link('en-us', 'English'); ?></li> <li><?php echo get_image('jp.png');?> <?php echo create_language_link('ja-jp', '日本語'); ?></li> + <li><?php echo get_image('ru.png');?> <?php echo create_language_link('ru-ru', 'Русский Язык'); ?></li> </ul> </div> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2007-05-21 09:06:16
|
Revision: 1270 http://svn.sourceforge.net/jsxe/?rev=1270&view=rev Author: ian_lewis Date: 2007-05-21 02:06:11 -0700 (Mon, 21 May 2007) Log Message: ----------- Added direct links to windows and jar installer downloads Modified Paths: -------------- trunk/web/htdocs/content/en/downloads.php trunk/web/htdocs/functions.php Modified: trunk/web/htdocs/content/en/downloads.php =================================================================== --- trunk/web/htdocs/content/en/downloads.php 2006-11-24 07:58:55 UTC (rev 1269) +++ trunk/web/htdocs/content/en/downloads.php 2007-05-21 09:06:11 UTC (rev 1270) @@ -14,8 +14,15 @@ <h3>Download</h3> <ul> - <li>The latest stable version of jsXe is <?php echo get_stable_download_link(); ?></li> - <li>The latest development version of jsXe is <?php echo get_devel_download_link(); ?></li> + <li>The latest stable version of jsXe is <?php echo get_stable_download_link(); ?> + <ul> + <li></li> + <li>The latest development version of jsXe is <?php echo get_devel_download_link(); ?> + <ul> + <li>Windows Installer: <?php echo get_devel_windows_download_link(); ?></li> + <li>Java Installer: <?php echo get_devel_jar_download_link(); ?></li> + </ul> + </li> </ul> <h3>Install</h3> Modified: trunk/web/htdocs/functions.php =================================================================== --- trunk/web/htdocs/functions.php 2006-11-24 07:58:55 UTC (rev 1269) +++ trunk/web/htdocs/functions.php 2007-05-21 09:06:11 UTC (rev 1270) @@ -342,10 +342,14 @@ return '<a href="https://sourceforge.net/project/showfiles.php?group_id=58584&package_id=54488">'.get_devel_version().'</a>'; }//}}} -//{{{ get_stable_download_link() +//{{{ get_devel_windows_download_link() +function get_devel_windows_download_link() { + return '<a href="http://downloads.sourceforge.net/jsxe/jsXe-05_pre3-install.exe">Windows</a>'; +}//}}} -function get_stable_download_link() { - return '<a href="https://sourceforge.net/project/showfiles.php?group_id=58584&package_id=120827">'.get_stable_version().'</a>'; +//{{{ get_devel_jar_download_link() +function get_jar_download_link() { + return '<a href="http://downloads.sourceforge.net/jsxe/jsXe-05_pre3-install.jar">'.T_("Java Installer").'</a>'; }//}}} //{{{ get_devel_version() @@ -354,6 +358,12 @@ return "0.5 pre3"; }//}}} +//{{{ get_stable_download_link() + +function get_stable_download_link() { + return '<a href="https://sourceforge.net/project/showfiles.php?group_id=58584&package_id=120827">'.get_stable_version().'</a>'; +}//}}} + //{{{ get_stable_version() function get_stable_version() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2007-05-30 05:11:13
|
Revision: 1271 http://svn.sourceforge.net/jsxe/?rev=1271&view=rev Author: ian_lewis Date: 2007-05-29 22:11:10 -0700 (Tue, 29 May 2007) Log Message: ----------- Updated translations and fixed the direct download to the jar for the development version. Modified Paths: -------------- trunk/web/htdocs/content/en/downloads.php trunk/web/htdocs/content/ja/downloads.php trunk/web/htdocs/functions.php Modified: trunk/web/htdocs/content/en/downloads.php =================================================================== --- trunk/web/htdocs/content/en/downloads.php 2007-05-21 09:06:11 UTC (rev 1270) +++ trunk/web/htdocs/content/en/downloads.php 2007-05-30 05:11:10 UTC (rev 1271) @@ -14,9 +14,7 @@ <h3>Download</h3> <ul> - <li>The latest stable version of jsXe is <?php echo get_stable_download_link(); ?> - <ul> - <li></li> + <li>The latest stable version of jsXe is <?php echo get_stable_download_link(); ?></li> <li>The latest development version of jsXe is <?php echo get_devel_download_link(); ?> <ul> <li>Windows Installer: <?php echo get_devel_windows_download_link(); ?></li> Modified: trunk/web/htdocs/content/ja/downloads.php =================================================================== --- trunk/web/htdocs/content/ja/downloads.php 2007-05-21 09:06:11 UTC (rev 1270) +++ trunk/web/htdocs/content/ja/downloads.php 2007-05-30 05:11:10 UTC (rev 1271) @@ -1,4 +1,4 @@ -<h3>Requirements</h3> +<h3>システム条件</h3> <ul> <li>Java 2 バージョン 1.4.2は必要です。</li> @@ -8,14 +8,14 @@ ダウンロードできもす。</li> </ul> -<h3>Download</h3> +<h3>ダウンロード</h3> <ul> - <li>The latest stable version of jsXe is <?php echo get_stable_download_link(); ?></li> - <li>The latest development version of jsXe is <?php echo get_devel_download_link(); ?></li> + <li>jsXeの最新ヴァージョンは <?php echo get_stable_download_link(); ?></li> + <li>jsXeの最新開発ヴァージョンは <?php echo get_devel_download_link(); ?></li> </ul> -<h3>Install</h3> +<h3>インストール</h3> <ul> <li><b>0.4 beta</b> Modified: trunk/web/htdocs/functions.php =================================================================== --- trunk/web/htdocs/functions.php 2007-05-21 09:06:11 UTC (rev 1270) +++ trunk/web/htdocs/functions.php 2007-05-30 05:11:10 UTC (rev 1271) @@ -348,7 +348,7 @@ }//}}} //{{{ get_devel_jar_download_link() -function get_jar_download_link() { +function get_devel_jar_download_link() { return '<a href="http://downloads.sourceforge.net/jsxe/jsXe-05_pre3-install.jar">'.T_("Java Installer").'</a>'; }//}}} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-09-01 04:28:01
|
Revision: 1218 http://svn.sourceforge.net/jsxe/?rev=1218&view=rev Author: ian_lewis Date: 2006-08-31 21:27:48 -0700 (Thu, 31 Aug 2006) Log Message: ----------- Updated the website infrastructure to have multi-language support Modified Paths: -------------- trunk/web/htdocs/downloads.php trunk/web/htdocs/features.php trunk/web/htdocs/footer.php trunk/web/htdocs/get-involved.php trunk/web/htdocs/index.php trunk/web/htdocs/meta.php trunk/web/htdocs/screenshots.php trunk/web/htdocs/sidebar.php Added Paths: ----------- trunk/web/htdocs/content/ trunk/web/htdocs/content/en/ trunk/web/htdocs/content/en/downloads.html trunk/web/htdocs/content/en/features.html trunk/web/htdocs/content/en/get-involved.html trunk/web/htdocs/content/en/news-header.html trunk/web/htdocs/content/en/news.html trunk/web/htdocs/content/en/overview.html trunk/web/htdocs/content/jp/ trunk/web/htdocs/content/jp/_global.php trunk/web/htdocs/functions.php Added: trunk/web/htdocs/content/en/downloads.html =================================================================== --- trunk/web/htdocs/content/en/downloads.html (rev 0) +++ trunk/web/htdocs/content/en/downloads.html 2006-09-01 04:27:48 UTC (rev 1218) @@ -0,0 +1,74 @@ +<h2>Downloads</h2> + +<h3>Requirements</h3> + +<ul> +<li>jsXe requires Java 2 version 1.4.2</li> +<li>jsXe currently requires a specific version of Xerces-J to + run. Xerces-J 2.8.0 is required since some features are + implemented using the DOM level 3 interfaces that were in 2.6.0 + but were changed in later versions. Xerces-J 2.8.0 included in + the normal binary and source releases of jsXe for convenience. + You can also get Xerces-J 2.8.0 + <a href="http://archive.apache.org/dist/xml/xerces-j/">here</a>.</li> +</ul> + +<h3>Download</h3> + +<ul> + <li>The latest stable version of jsXe is <a href="https://sourceforge.net/project/showfiles.php?group_id=58584&package_id=120827">0.4 beta</a></li> + <li>The latest development version of jsXe is <a href="https://sourceforge.net/project/showfiles.php?group_id=58584&package_id=54488">0.5 pre2</a></li> +</ul> + +<h3>Install</h3> + +<ul> + <li><b>0.4 beta</b> + <ul> + <li><p>To install and run jsXe simply unzip jsXe into the directory + of your choosing and run the included batch program or shell + script. You will need to make sure that the java runtime is in + your path. In the root of the jsXe install directory type the + following at a command prompt.</p> + <p>./bin/jsXe.sh</p> + <p>or</p> + <p>./bin/jsXe.bat</p> + <p>The batch program should be run in with the jsXe root + directory of as the working directory. So you can create a + shortcut to run jsXe by specifying the batch file as the program + to run and jsXe's root directory as the working directory.</p> + + <p>Ex.<br/> + Target: "C:\Program Files\jsXe\bin\jsXe.bat"<br/> + Start in: "C:\Program Files\jsXe\"</p> + + <p>You can also edit the JSXEDIR variable in the batch program + to be the directory where you installed jsXe and then the + 'Start in' directory can be anywhere.</p> + </li> + </ul> + </li> + <li><b>0.5 pre2</b> + <ul> + <li><b>Windows</b> + + <p>Just run jsXe using the jsXe.exe in the install directory. The + exe will detect your version of Java and run jsXe using that + version.</p> + </li> + + <li><b>Unix/Linux</b> + + <p>To run jsXe you should just run the java interpreter on the + jsXe.jar file. There is a shell script included in the + source tree for this purpose.</p> + + <p>./bin/jsXe.sh</p> + + <p>The shell script should be run in with the jsXe root directory of + as the working directory. You can also edit the JSXEDIR variable in + the shell script to be the directory where you installed jsXe.</p> + </li> + </ul> + </li> +</ul> \ No newline at end of file Added: trunk/web/htdocs/content/en/features.html =================================================================== --- trunk/web/htdocs/content/en/features.html (rev 0) +++ trunk/web/htdocs/content/en/features.html 2006-09-01 04:27:48 UTC (rev 1218) @@ -0,0 +1,64 @@ +<h2>Features</h2> + +<p>These are features currently implemented in the stable version of jsXe</p> + +<h3>General</h3> + +<ul> + <li>Written in Java, so it runs on Mac OS X, OS/2, Unix, VMS and Windows.</li> + <li>XML documents are edited using views. jsXe allows for + multiple views.</li> + <li>Syntax highlighted source view (version 0.4 beta)</li> + <li>Plugin interface that allows the addition of views + without re-compiling</li> + <li>Relatively good serialization of XML documents. + Supports the option of formatting serialized XML + documents or not formatting. Supports preserving + whitespace in text.</li> + <li>Allows opening and editing of multiple XML documents in + one open window.</li> + <li>Incremental parsing. Parsing the document and validation + will be done automatically without having to + continuously hit a validate/parse button.</li> + <li>Support for validation of an XML document using DTDs and + other forms of Schema.</li> + <li>DTD/Schema introspection. Information in the DTD/Schema is used to + allow users to add and edit nodes based on defined + within the DTD/Schema.</li> + <li>Internationalization. jsXe has support to easily + create translations of menus and messages into your native + language.</li> + <li>Built-in completion support for XML Schema, XHTML, XSLT, and + XSL:FO</li> +</ul> + +<h3>Tree View</h3> + +<ul> + <li>Adding, deleting, and editing of Nodes in an XML document using context menus.</li> + <li>Adding, deleting, and editing of attributes of an element node.</li> + <li>Drag and Drop of XML nodes within the Tree view and to text editors.</li> +</ul> + +<h3>Source View</h3> + +<ul> + <li>Text editing of the full XML source of any XML document</li> + <li>Cut, copy, and paste and other limited features.</li> +</ul> + + +<h2>Planned Features</h2> + +<p>These are features that have been added to the development version of jsXe or are planned for the future</p> + +<ul> + <li>A schema designer view that uses <a href="http://www.jgraph.com/">JGraph</a></li> + <li>A docbook editor view using <a href="http://vex.sourceforge.net/">Vex</a></li> + <li>An XHTML renderer using <a href="https://xhtmlrenderer.dev.java.net/">Flying Saucer</a></li> + <li>Support for transforming XML documents using XSLT stylesheets.</li> + <li>Support for Unlimited Undo (version 0.5 beta)</li> + <li>Tag completion using DTD/Schema introspection (version 0.5 beta)</li> + <li>Automatic insertion of closing tags (version 0.5 beta)</li> + <li>A help system using <a href="http://aurigadoc.sourceforge.net/">AurigaDoc</a> or <a href="http://docbook.sourceforge.net/">Docbook</a> (version 0.6 beta)</li> +</ul> \ No newline at end of file Added: trunk/web/htdocs/content/en/get-involved.html =================================================================== --- trunk/web/htdocs/content/en/get-involved.html (rev 0) +++ trunk/web/htdocs/content/en/get-involved.html 2006-09-01 04:27:48 UTC (rev 1218) @@ -0,0 +1,104 @@ +<h2>Getting Involved</h2> + +<p>jsXe needs developers to implement new features and fix bugs, + testers for testing jsXe, translators for translating messages and the + website, and web designers who are interested in updating the project's + website.</p> + +<p>Getting involved is fairly easy. There are a multitude of ways that + you can become involved in the project. The easiest is probably by + subscribing to the mailing lists, however there are many methods at + your disposal.</p> + +<p>Note: Contributers will be expected to give their real names.</p> + +<h3>Developers</h3> + +<p>If you are interested in working on jsXe, please + <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> + and send a mail to the jsxe-devel mailing list. The developers can help + get you started. Developers should know how to use SVN and have some + experience with Java swing or XML.</p> + +<h3>Testers</h3> + +<p>If you are interested in testing jsXe, please + <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> + and send a mail to the jsxe-devel mailing list. Testing will normally be + done on SVN and beta releases. Familiarity with + <a href="http://subversion.tigris.org/">SVN</a> and + <a href="http://ant.apache.org/">ant</a> is a plus since it will be needed + for testing code from the SVN repository.</p> + +<h3>Translators</h3> + +<p>If you are interested in translating for the jsXe project. Please + <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> + and send a mail to the jsxe-devel mailing list. For those who are + knowlegeable of SVN, you can check out the messages files from jsXe's + <a href="http://svn.sourceforge.net/viewcvs.cgi/jsxe/trunk/jsxe/">SVN repository</a>. + But even if you are not versed in SVN, the developers on the + mailing list can help get you started.</p> + +<h3>Web Developers</h3> + +<p>If you are interested in working on jsXe's webpage, please + <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> + and send a mail to the jsxe-devel mailing list. The developers can help + get you started. Web developers should have some knowledge of CSS and + PHP.</p> + +<h3>Users</h3> + +<p>Let us know what you think! + <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-users">Subscribe</a> + to the jsxe-users mailing list and let us know what you think and what + features you would like to have implemented. Or you could submit a + <a href="http://sourceforge.net/tracker/?atid=488271&group_id=58584&func=browse">feature request</a>.</p> + +<h3>Mailing Lists</h3> + +<p>These three mailing lists will be low traffic.</p> + +<ul> + <li>jsXe-users: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-users">Subscribe/Unsubscribe/Preferences</a>: a general discussion list for users of jsXe.</li> + <li>jsXe-devel: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">Subscribe/Unsubscribe/Preferences</a>: a list for technical discussion regarding jsXe development.</li> + <li>jsXe-cvs: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-cvs">Subscribe/Unsubscribe/Preferences</a>: a list where SVN commits are posted. Anyone subscribing to this list will be notified when changes are commited to SVN.</li> +</ul> + +<h3>Forums</h3> + +<p>To get support if you're having problems installing or running + jsXe please post to the Help forum. Any other comments and criticism + can be posted in the open discussion forum.</p> + +<ul> + <li><a href="http://sourceforge.net/forum/forum.php?forum_id=197160">Open Discussion</a></li> + <li><a href="http://sourceforge.net/forum/forum.php?forum_id=197161">Help</a></li> +</ul> + +<h3>IRC</h3> + +<p>Come to #jsxe on irc.freenode.net to talk with the developers.</p> + +<h3>Reporting Bugs</h3> + +<p>Reporting bugs is easy. Just submit a bug report on <a href="http://sourceforge.net/tracker/?atid=488268&group_id=58584&func=browse">jsXe's Bug Tracker</a>. + Just enter a description of the bug and if possible how to reproduce it + and it will be assigned and addressed by the project development team.</p> + +<h3>Feature Requests</h3> + +<p>Features requests are always welcome and will be addressed based on user + need and whether the feature fits with jsXe's vision. Feature + requests are easy too! Just submit a feature requests to + <a href="http://sourceforge.net/tracker/?atid=488271&group_id=58584&func=browse">jsXe's Feature Request Tracker</a>.</p> + +<h3>Patches</h3> + +<p>This is probably the best way to start becoming involved in the devolopment of jsXe. + You can submit patches using + <a href="http://sourceforge.net/tracker/?atid=488270&group_id=58584&func=browse">jsXe's Sourceforge Patch Tracker</a>. + Just provide the patch or code change itself and a discription of what + it does when you submit it. If your work is good then we'll add + you as developer with SVN access.</p> \ No newline at end of file Added: trunk/web/htdocs/content/en/news-header.html =================================================================== --- trunk/web/htdocs/content/en/news-header.html (rev 0) +++ trunk/web/htdocs/content/en/news-header.html 2006-09-01 04:27:48 UTC (rev 1218) @@ -0,0 +1 @@ +<h2>News</h2> \ No newline at end of file Added: trunk/web/htdocs/content/en/news.html =================================================================== --- trunk/web/htdocs/content/en/news.html (rev 0) +++ trunk/web/htdocs/content/en/news.html 2006-09-01 04:27:48 UTC (rev 1218) @@ -0,0 +1,9 @@ + <p><a href="http://sourceforge.net/forum/forum.php?forum_id=594064"><strong>jsXe 0.5 pre2 released!!</strong></a> <small class="date">2006-07-24 12:39 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe team is proud to announce the release of jsXe 0.5 pre2. This release is a bugfix release to fix a number of bugs that were released with 0.5 pre1. A NullPointerException being thrown by the source view as well as horizontal scrolling issues in the source view have been fixed. jsXe will also reload a file that is not-wellformed on disk properly.<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=594064">Read More »</a></p> + <p><a href="http://sourceforge.net/forum/forum.php?forum_id=592911"><strong>jsXe 0.5 pre1 released!!</strong></a> <small class="date">2006-07-20 09:48 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe team is proud to release the newest unstable version of jsXe which will eventually become the 0.5 beta release. +<br /> +<br />This release contains support for user defined keyboard shortcuts. These shortcuts can be used to run actions defined by jsXe. This release also includes fixes for translation files. Translation files with non-ASCII characters should display properly now.<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=592911">Read More »</a></p> + <p><a href="http://sourceforge.net/forum/forum.php?forum_id=575087"><strong>jsXe has migrated to SVN!!!</strong></a> <small class="date">2006-05-24 17:57 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe project team has just finished migrating from sourceforge's CVS services to sourceforge's SVN services. From now on users should use SVN to download the current working version of jsXe's source code. Please see <a href="http://sourceforge.net/svn/?group_id=58584" target="_new">http://sourceforge.net/svn/?group_id=58584</a> for instructions on how to download from SVN.<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=575087">Read More »</a></p> + <p><a href="http://sourceforge.net/forum/forum.php?forum_id=565332"><strong>jsXe 0.4 beta released!</strong></a> <small class="date">2006-04-25 13:49 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe team is proud to announce the release of jsXe 0.4 beta! This improves on 0.3 beta by adding support for DTD/Schema validation and introspection, a syntax highlighted source view, full encoding support, and many, many gui changes. See below for all changes over 0.3 beta! +<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=565332">Read More »</a></p> + <p><a href="http://sourceforge.net/forum/forum.php?forum_id=541741"><strong>jsXe 0.4 pre3 released!</strong></a> <small class="date">2006-02-19 13:45 - <a href="http://sourceforge.net/projects/jsxe/">jsXe</a></small><br />The jsXe team is pleased to annonce the release of version 0.4pre3. This release focused on adding support for viewing validation errors with documents that are validated against DTD and Schema. However, A number of UI enhancements were also added in this release including cut/copy/paste in the tree view and an activity log dialog for troubleshooting. The source view was made a bit easier to use by adding the ability to maintain indent and solving some problems with syntax highlighting. +<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=541741">Read More »</a></p><p><a href="http://sourceforge.net/news/?group_id=58584">Site news archive »</a></p> \ No newline at end of file Added: trunk/web/htdocs/content/en/overview.html =================================================================== --- trunk/web/htdocs/content/en/overview.html (rev 0) +++ trunk/web/htdocs/content/en/overview.html 2006-09-01 04:27:48 UTC (rev 1218) @@ -0,0 +1,17 @@ +<h2>Overview</h2> + +<p>jsXe is the <b>J</b>ava <b>S</b>imple <b>X</b>ML <b>E</b>ditor.</p> +<p>jsXe is a fast, intuitive, scalable, platform-independent XML editor. + It is written in <a href="http://java.sun.com">Java</a> using the Swing + toolkit, and <a href="http://xml.apache.org/xerces2-j/">Xerces-J</a> + and is released under the terms of the + <a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public License</a>. + It aims to provide end users and developers with an + intuitive way of creating XML documents that is simple enough to deal + with any XML document but flexible to allow the addition of support for + XML document formats through the use of plugins.</p> +<p>jsXe is currently in the beta stage and many intended features + are not currently implemented. If you are interesting in helping to + make jsXe a great editor by contributing your suggestions and needs or + if you are a developer and would like to contribute time and code check + out <a href="get-involved.php">how to get involved</a></p> \ No newline at end of file Added: trunk/web/htdocs/content/jp/_global.php =================================================================== --- trunk/web/htdocs/content/jp/_global.php (rev 0) +++ trunk/web/htdocs/content/jp/_global.php 2006-09-01 04:27:48 UTC (rev 1218) @@ -0,0 +1,7 @@ +<?php +$trans['jp'] = array( + 'News' => 'ニュース', + 'Download' => 'ダウンロード', + 'Downloads' => 'ダウンロード' +); +?> \ No newline at end of file Modified: trunk/web/htdocs/downloads.php =================================================================== --- trunk/web/htdocs/downloads.php 2006-09-01 00:54:00 UTC (rev 1217) +++ trunk/web/htdocs/downloads.php 2006-09-01 04:27:48 UTC (rev 1218) @@ -1,3 +1,8 @@ +<?php +define( 'ROOT', 'true' ); +include("functions.php"); +?> + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> @@ -12,82 +17,9 @@ </div> <div id="mainBody"> - <h2>Downloads</h2> - <h3>Requirements</h3> + <?php get_content('downloads') ?> - <ul> - <li>jsXe requires Java 2 version 1.4.2</li> - <li>jsXe currently requires a specific version of Xerces-J to - run. Xerces-J 2.8.0 is required since some features are - implemented using the DOM level 3 interfaces that were in 2.6.0 - but were changed in later versions. Xerces-J 2.8.0 included in - the normal binary and source releases of jsXe for convenience. - You can also get Xerces-J 2.8.0 - <a href="http://archive.apache.org/dist/xml/xerces-j/">here</a>.</li> - </ul> - - <h3>Download</h3> - - <ul> - <li>The latest stable version of jsXe is <a href="https://sourceforge.net/project/showfiles.php?group_id=58584&package_id=120827">0.4 beta</a></li> - <li>The latest development version of jsXe is <a href="https://sourceforge.net/project/showfiles.php?group_id=58584&package_id=54488">0.5 pre2</a></li> - </ul> - - <h3>Install</h3> - - <ul> - <li><b>0.4 beta</b> - <ul> - <li><p>To install and run jsXe simply unzip jsXe into the directory - of your choosing and run the included batch program or shell - script. You will need to make sure that the java runtime is in - your path. In the root of the jsXe install directory type the - following at a command prompt.</p> - <p>./bin/jsXe.sh</p> - <p>or</p> - <p>./bin/jsXe.bat</p> - <p>The batch program should be run in with the jsXe root - directory of as the working directory. So you can create a - shortcut to run jsXe by specifying the batch file as the program - to run and jsXe's root directory as the working directory.</p> - - <p>Ex.<br/> - Target: "C:\Program Files\jsXe\bin\jsXe.bat"<br/> - Start in: "C:\Program Files\jsXe\"</p> - - <p>You can also edit the JSXEDIR variable in the batch program - to be the directory where you installed jsXe and then the - 'Start in' directory can be anywhere.</p> - - </li> - </ul> - </li> - <li><b>0.5 pre2</b> - <ul> - <li><b>Windows</b> - - <p>Just run jsXe using the jsXe.exe in the install directory. The - exe will detect your version of Java and run jsXe using that - version.</p> - </li> - - <li><b>Unix/Linux</b> - - <p>To run jsXe you should just run the java interpreter on the - jsXe.jar file. There is a shell script included in the - source tree for this purpose.</p> - - <p>./bin/jsXe.sh</p> - - <p>The shell script should be run in with the jsXe root directory of - as the working directory. You can also edit the JSXEDIR variable in - the shell script to be the directory where you installed jsXe.</p> - </li> - </ul> - </li> - </ul> - <?php include("footer.php") ?> </div> </body> Modified: trunk/web/htdocs/features.php =================================================================== --- trunk/web/htdocs/features.php 2006-09-01 00:54:00 UTC (rev 1217) +++ trunk/web/htdocs/features.php 2006-09-01 04:27:48 UTC (rev 1218) @@ -1,3 +1,8 @@ +<?php +define( 'ROOT', 'true' ); +include("functions.php"); +?> + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> @@ -11,71 +16,9 @@ <?php include("sidebar.php") ?> </div> <div id="mainBody"> - <h2>Features</h2> - <p>These are features currently implemented in the stable version of jsXe</p> + <?php get_content('features'); ?> - <h3>General</h3> - - <ul> - <li>Written in Java, so it runs on Mac OS X, OS/2, Unix, VMS and Windows.</li> - <li>XML documents are edited using views. jsXe allows for - multiple views.</li> - <li>Syntax highlighted source view (version 0.4 beta)</li> - <li>Plugin interface that allows the addition of views - without re-compiling</li> - <li>Relatively good serialization of XML documents. - Supports the option of formatting serialized XML - documents or not formatting. Supports preserving - whitespace in text.</li> - <li>Allows opening and editing of multiple XML documents in - one open window.</li> - <li>Incremental parsing. Parsing the document and validation - will be done automatically without having to - continuously hit a validate/parse button.</li> - <li>Support for validation of an XML document using DTDs and - other forms of Schema.</li> - <li>DTD/Schema introspection. Information in the DTD/Schema is used to - allow users to add and edit nodes based on defined - within the DTD/Schema.</li> - <li>Internationalization. jsXe has support to easily - create translations of menus and messages into your native - language.</li> - <li>Built-in completion support for XML Schema, XHTML, XSLT, and - XSL:FO</li> - </ul> - - <h3>Tree View</h3> - - <ul> - <li>Adding, deleting, and editing of Nodes in an XML document using context menus.</li> - <li>Adding, deleting, and editing of attributes of an element node.</li> - <li>Drag and Drop of XML nodes within the Tree view and to text editors.</li> - </ul> - - <h3>Source View</h3> - - <ul> - <li>Text editing of the full XML source of any XML document</li> - <li>Cut, copy, and paste and other limited features.</li> - </ul> - - - <h2>Planned Features</h2> - - <p>These are features that have been added to the development version of jsXe or are planned for the future</p> - - <ul> - <li>A schema designer view that uses <a href="http://www.jgraph.com/">JGraph</a></li> - <li>A docbook editor view using <a href="http://vex.sourceforge.net/">Vex</a></li> - <li>An XHTML renderer using <a href="https://xhtmlrenderer.dev.java.net/">Flying Saucer</a></li> - <li>Support for transforming XML documents using XSLT stylesheets.</li> - <li>Support for Unlimited Undo (version 0.5 beta)</li> - <li>Tag completion using DTD/Schema introspection (version 0.5 beta)</li> - <li>Automatic insertion of closing tags (version 0.5 beta)</li> - <li>A help system using <a href="http://aurigadoc.sourceforge.net/">AurigaDoc</a> or <a href="http://docbook.sourceforge.net/">Docbook</a> (version 0.6 beta)</li> - </ul> - <?php include("footer.php") ?> </div> </body> Modified: trunk/web/htdocs/footer.php =================================================================== --- trunk/web/htdocs/footer.php 2006-09-01 00:54:00 UTC (rev 1217) +++ trunk/web/htdocs/footer.php 2006-09-01 04:27:48 UTC (rev 1218) @@ -1,3 +1,5 @@ +<?php if( !defined('ROOT') ) die( 'Please, do not access this page directly.' ); ?> + <div id="images"> <a href="http://validator.w3.org/check/referer"><img title="This site is valid XHTML." alt="Valid XHTML 1.0 Transitional" src="http://www.ianlewis.org/images/xhtml.png"/></a> <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fjsxe.sourceforge.net%2Fcss%2Fmain.css&usermedium=all"><img title="This site is valid CSS." alt="Valid CSS" src="http://www.ianlewis.org/images/css.png"/></a> Added: trunk/web/htdocs/functions.php =================================================================== --- trunk/web/htdocs/functions.php (rev 0) +++ trunk/web/htdocs/functions.php 2006-09-01 04:27:48 UTC (rev 1218) @@ -0,0 +1,91 @@ +<?php +if( !defined('ROOT') ) die( 'Please, do not access this page directly.' ); + +function get_locale() { + $req_locale="en"; + if (isset($_GET['lang'])) { + //IML: Support the lang attribute + $req_locale = $_GET['lang']; + } + return $req_locale; +} + +function create_link( $href, $contents ) { + $link = '<a href="'.$href; + if (isset($_GET['lang'])) { + $locale = $_GET['lang']; + $link = $link.'?lang='.$locale; + } + $link = $link.'">'.T_($contents).'</a>'; + return $link; +} + +function get_content( $name ) { + $file = 'content/'.get_locale().'/'.$name.'.html'; + if (!file_exists($file)) { + $file = 'content/en/'.$name.'.html'; + } + $fh = fopen($file, 'r'); + $data = fread($fh, filesize($file)); + fclose($fh); + echo $data; +} + +function get_news() { + + $file = 'content/'.get_locale().'/news-header.html'; + if (!file_exists($file)) { + $file = 'content/en/news-header.html'; + } + $fh = fopen($file, 'r'); + $header = fread($fh, filesize($file)); + fclose($fh); + + $file = 'content/'.get_locale().'/news.html'; + if (!file_exists($file)) { + $file = 'content/en/news.html'; + } + $fh = fopen($file, 'r'); + $data = fread($fh, filesize($file)); + fclose($fh); + + echo $header; + echo $data; +} + +function T_( $string, $lang = '' ) { + + global $trans; + + if (empty($lang)) { + $lang = get_locale(); + } + + // echo $lang; + + if (empty($lang)) + return $string; // don't translate if we have no locale + + if ( !isset($trans[ $lang ] ) ) { + // Translations for current locale have not yet been loaded: + // echo 'LOADING', dirname(__FILE__).'/content/'.$lang.'/_global.php'; + @include_once dirname(__FILE__).'/content/'.$lang.'/_global.php'; + if ( !isset($trans[ $lang ] ) ) { + // Still not loaded... file doesn't exist, memorize that no translation are available + // echo 'file not found!'; + $trans[ $lang ] = array(); + } + } + + $search = str_replace( array("\n", "\r", "\t"), array('\n', '', '\t'), $string ); + + if (isset($trans[ $lang ][ $search ] ) ) { // If the string has been translated: + return $trans[ $lang ][ $search ]; + } + + // echo "Not found: ".$string; + + // Return the English string: + return $string; +} +?> \ No newline at end of file Modified: trunk/web/htdocs/get-involved.php =================================================================== --- trunk/web/htdocs/get-involved.php 2006-09-01 00:54:00 UTC (rev 1217) +++ trunk/web/htdocs/get-involved.php 2006-09-01 04:27:48 UTC (rev 1218) @@ -1,3 +1,8 @@ +<?php +define( 'ROOT', 'true' ); +include("functions.php"); +?> + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> @@ -11,110 +16,9 @@ <?php include("sidebar.php") ?> </div> <div id="mainBody"> - <h2>Getting Involved</h2> - <p>jsXe needs developers to implement new features and fix bugs, - testers for testing jsXe, translators for translating messages and the - website, and web designers who are interested in updating the project's - website.</p> + <?php get_content('get-involved') ?> - <p>Getting involved is fairly easy. There are a multitude of ways that - you can become involved in the project. The easiest is probably by - subscribing to the mailing lists, however there are many methods at - your disposal.</p> - - <p>Note: Contributers will be expected to give their real names.</p> - - <h3>Developers</h3> - - <p>If you are interested in working on jsXe, please - <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> - and send a mail to the jsxe-devel mailing list. The developers can help - get you started. Developers should know how to use SVN and have some - experience with Java swing or XML.</p> - - <h3>Testers</h3> - - <p>If you are interested in testing jsXe, please - <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> - and send a mail to the jsxe-devel mailing list. Testing will normally be - done on SVN and beta releases. Familiarity with - <a href="http://subversion.tigris.org/">SVN</a> and - <a href="http://ant.apache.org/">ant</a> is a plus since it will be needed - for testing code from the SVN repository.</p> - - <h3>Translators</h3> - - <p>If you are interested in translating for the jsXe project. Please - <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> - and send a mail to the jsxe-devel mailing list. For those who are - knowlegeable of SVN, you can check out the messages files from jsXe's - <a href="http://svn.sourceforge.net/viewcvs.cgi/jsxe/trunk/jsxe/">SVN repository</a>. - But even if you are not versed in SVN, the developers on the - mailing list can help get you started.</p> - - <h3>Web Developers</h3> - - <p>If you are interested in working on jsXe's webpage, please - <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">subscribe</a> - and send a mail to the jsxe-devel mailing list. The developers can help - get you started. Web developers should have some knowledge of CSS and - PHP.</p> - - <h3>Users</h3> - - <p>Let us know what you think! - <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-users">Subscribe</a> - to the jsxe-users mailing list and let us know what you think and what - features you would like to have implemented. Or you could submit a - <a href="http://sourceforge.net/tracker/?atid=488271&group_id=58584&func=browse">feature request</a>.</p> - - <h3>Mailing Lists</h3> - - <p>These three mailing lists will be low traffic.</p> - - <ul> - <li>jsXe-users: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-users">Subscribe/Unsubscribe/Preferences</a>: a general discussion list for users of jsXe.</li> - <li>jsXe-devel: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-devel">Subscribe/Unsubscribe/Preferences</a>: a list for technical discussion regarding jsXe development.</li> - <li>jsXe-cvs: <a href="http://lists.sourceforge.net/mailman/listinfo/jsxe-cvs">Subscribe/Unsubscribe/Preferences</a>: a list where SVN commits are posted. Anyone subscribing to this list will be notified when changes are commited to SVN.</li> - </ul> - - <h3>Forums</h3> - - <p>To get support if you're having problems installing or running - jsXe please post to the Help forum. Any other comments and criticism - can be posted in the open discussion forum.</p> - <ul> - <li><a href="http://sourceforge.net/forum/forum.php?forum_id=197160">Open Discussion</a></li> - <li><a href="http://sourceforge.net/forum/forum.php?forum_id=197161">Help</a></li> - </ul> - - <h3>IRC</h3> - - <p>Come to #jsxe on irc.freenode.net to talk with the developers.</p> - - <h3>Reporting Bugs</h3> - - <p>Reporting bugs is easy. Just submit a bug report on <a href="http://sourceforge.net/tracker/?atid=488268&group_id=58584&func=browse">jsXe's Bug Tracker</a>. - Just enter a description of the bug and if possible how to reproduce it - and it will be assigned and addressed by the project development team.</p> - - <h3>Feature Requests</h3> - - <p>Features requests are always welcome and will be addressed based on user - need and whether the feature fits with jsXe's vision. Feature - requests are easy too! Just submit a feature requests to - <a href="http://sourceforge.net/tracker/?atid=488271&group_id=58584&func=browse">jsXe's Feature Request Tracker</a>.</p> - - <h3>Patches</h3> - - <p>This is probably the best way to start becoming involved in the devolopment of jsXe. - You can submit patches using - <a href="http://sourceforge.net/tracker/?atid=488270&group_id=58584&func=browse">jsXe's Sourceforge Patch Tracker</a>. - Just provide the patch or code change itself and a discription of what - it does when you submit it. If your work is good then we'll add - you as developer with SVN access.</p> - <?php include("footer.php") ?> </div> </body> Modified: trunk/web/htdocs/index.php =================================================================== --- trunk/web/htdocs/index.php 2006-09-01 00:54:00 UTC (rev 1217) +++ trunk/web/htdocs/index.php 2006-09-01 04:27:48 UTC (rev 1218) @@ -1,5 +1,10 @@ +<?php +define( 'ROOT', 'true' ); +include("functions.php"); +?> + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo get_locale() ?>" lang="<?php echo get_locale() ?>"> <head> <title>jsXe: The Java Simple XML Editor</title> <?php include("meta.php") ?> @@ -12,30 +17,10 @@ </div> <div id="mainBody"> - <h2>Overview</h2> + <?php get_content('overview'); ?> - <p>jsXe is the <b>J</b>ava <b>S</b>imple <b>X</b>ML <b>E</b>ditor.</p> - <p>jsXe is a fast, intuitive, scalable, platform-independent XML editor. - It is written in <a href="http://java.sun.com">Java</a> using the Swing - toolkit, and <a href="http://xml.apache.org/xerces2-j/">Xerces-J</a> - and is released under the terms of the - <a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public License</a>. It aims to provide end users and developers with an - intuitive way of creating XML documents that is simple enough to deal - with any XML document but flexible to allow the addition of support for - XML document formats through the use of plugins.</p> - <p>jsXe is currently in the beta stage and many intended features - are not currently implemented. If you are interesting in helping to - make jsXe a great editor by contributing your suggestions and needs or - if you are a developer and would like to contribute time and code check - out <a href="get-involved.php">how to get involved</a></p> - - <h2>News</h2> + <?php get_news() ?> - <?php include("news.cache") ?> - <?php - //include("http://sourceforge.net/export/projnews.php?group_id=58584&limit=5&flat=FLATSETTING&show_summaries=1") - ?> - <?php include("footer.php") ?> </div> </body> Modified: trunk/web/htdocs/meta.php =================================================================== --- trunk/web/htdocs/meta.php 2006-09-01 00:54:00 UTC (rev 1217) +++ trunk/web/htdocs/meta.php 2006-09-01 04:27:48 UTC (rev 1218) @@ -1,3 +1,5 @@ +<?php if( !defined('ROOT') ) die( 'Please, do not access this page directly.' ); ?> + <meta content="General" name="rating"/> <meta content="Index, follow" name="robots"/> <meta content="text/html; charset=UTF-8" http-equiv="Content-type"/> Modified: trunk/web/htdocs/screenshots.php =================================================================== --- trunk/web/htdocs/screenshots.php 2006-09-01 00:54:00 UTC (rev 1217) +++ trunk/web/htdocs/screenshots.php 2006-09-01 04:27:48 UTC (rev 1218) @@ -1,3 +1,8 @@ +<?php +define( 'ROOT', 'true' ); +include("functions.php"); +?> + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> Modified: trunk/web/htdocs/sidebar.php =================================================================== --- trunk/web/htdocs/sidebar.php 2006-09-01 00:54:00 UTC (rev 1217) +++ trunk/web/htdocs/sidebar.php 2006-09-01 04:27:48 UTC (rev 1218) @@ -1,15 +1,17 @@ +<?php if( !defined('ROOT') ) die( 'Please, do not access this page directly.' ); ?> + <ul> - <li><a href="index.php">News</a></li> - <li><a href="features.php" >Features</a></li> - <li><a href="screenshots.php">Screenshots</a></li> - <li><a href="downloads.php">Downloads</a></li> - <li><a href="get-involved.php">Get Involved</a></li> + <li><?php echo create_link("index.php", "News") ?></li> + <li><?php echo create_link("features.php", "Features") ?></li> + <li><?php echo create_link("screenshots.php", "Screenshots") ?></a></li> + <li><?php echo create_link("downloads.php", "Downloads") ?></li> + <li><?php echo create_link("get-involved.php", "Get Involved") ?></a></li> </ul> <ul> - <li><a href="api/">API Docs</a></li> - <li><a href="http://www.sourceforge.net/projects/jsxe/">SourceForge Project</a></li> + <li><a href="api/"><?php T_("API Docs") ?></a></li> + <li><a href="http://www.sourceforge.net/projects/jsxe/"><?php echo T_("SourceForge Project")?></a></li> </ul> <a href="http://sourceforge.net/"><img alt="SourceForge Logo" src="http://sourceforge.net/sflogo.php?group_id=58584"/></a> -<a href="http://sourceforge.jp/"><img alt="SourceForge.jp" src="http://sourceforge.jp/sflogo.php?group_id=2456"></a> +<a href="http://sourceforge.jp/"><img alt="SourceForge.jp" src="http://sourceforge.jp/sflogo.php?group_id=2456"/></a> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-09-01 12:49:06
|
Revision: 1221 http://svn.sourceforge.net/jsxe/?rev=1221&view=rev Author: ian_lewis Date: 2006-09-01 05:49:00 -0700 (Fri, 01 Sep 2006) Log Message: ----------- moved redirect function to functions.php Modified Paths: -------------- trunk/web/htdocs/functions.php trunk/web/htdocs/links.php trunk/web/htdocs/news.php Modified: trunk/web/htdocs/functions.php =================================================================== --- trunk/web/htdocs/functions.php 2006-09-01 05:11:19 UTC (rev 1220) +++ trunk/web/htdocs/functions.php 2006-09-01 12:49:00 UTC (rev 1221) @@ -88,4 +88,57 @@ // Return the English string: return $string; } + +// func: redirect($to,$code=307) +// spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html +function redirect($to,$code=301) +{ + $location = null; + $sn = $_SERVER['SCRIPT_NAME']; + $cp = dirname($sn); + if (substr($to,0,4)=='http') $location = $to; // Absolute URL + else + { + $schema = $_SERVER['SERVER_PORT']=='443'?'https':'http'; + $host = strlen($_SERVER['HTTP_HOST'])?$_SERVER['HTTP_HOST']:$_SERVER['SERVER_NAME']; + if (substr($to,0,1)=='/') $location = "$schema://$host$to"; + elseif (substr($to,0,1)=='.') // Relative Path + { + $location = "$schema://$host"; + $pu = parse_url($to); + $cd = dirname($_SERVER['SCRIPT_FILENAME']).'/'; + $np = realpath($cd.$pu['path']); + $np = str_replace($_SERVER['DOCUMENT_ROOT'],'',$np); + $location.= $np; + if ((isset($pu['query'])) && (strlen($pu['query'])>0)) $location.= '?'.$pu['query']; + } + } + + $hs = headers_sent(); + if ($hs==false) + { + if ($code==301) header("301 Moved Permanently HTTP/1.1"); // Convert to GET + elseif ($code==302) header("302 Found HTTP/1.1"); // Conform re-POST + elseif ($code==303) header("303 See Other HTTP/1.1"); // dont cache, always use GET + elseif ($code==304) header("304 Not Modified HTTP/1.1"); // use cache + elseif ($code==305) header("305 Use Proxy HTTP/1.1"); + elseif ($code==306) header("306 Not Used HTTP/1.1"); + elseif ($code==307) header("307 Temorary Redirect HTTP/1.1"); + else trigger_error("Unhandled redirect() HTTP Code: $code",E_USER_ERROR); + header("Location: $location"); + header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); + } + elseif (($hs==true) || ($code==302) || ($code==303)) + { + // todo: draw some javascript to redirect + $cover_div_style = 'background-color: #ccc; height: 100%; left: 0px; position: absolute; top: 0px; width: 100%;'; + echo "<div style='$cover_div_style'>\n"; + $link_div_style = 'background-color: #fff; border: 2px solid #f00; left: 0px; margin: 5px; padding: 3px; '; + $link_div_style.= 'position: absolute; text-align: center; top: 0px; width: 95%; z-index: 99;'; + echo "<div style='$link_div_style'>\n"; + echo "<p>Please See: <a href='$to'>".htmlspecialchars($location)."</a></p>\n"; + echo "</div>\n</div>\n"; + } + exit(0); +} ?> \ No newline at end of file Modified: trunk/web/htdocs/links.php =================================================================== --- trunk/web/htdocs/links.php 2006-09-01 05:11:19 UTC (rev 1220) +++ trunk/web/htdocs/links.php 2006-09-01 12:49:00 UTC (rev 1221) @@ -1,57 +1,6 @@ <?php -// func: redirect($to,$code=307) -// spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html -function redirect($to,$code=301) -{ - $location = null; - $sn = $_SERVER['SCRIPT_NAME']; - $cp = dirname($sn); - if (substr($to,0,4)=='http') $location = $to; // Absolute URL - else - { - $schema = $_SERVER['SERVER_PORT']=='443'?'https':'http'; - $host = strlen($_SERVER['HTTP_HOST'])?$_SERVER['HTTP_HOST']:$_SERVER['SERVER_NAME']; - if (substr($to,0,1)=='/') $location = "$schema://$host$to"; - elseif (substr($to,0,1)=='.') // Relative Path - { - $location = "$schema://$host"; - $pu = parse_url($to); - $cd = dirname($_SERVER['SCRIPT_FILENAME']).'/'; - $np = realpath($cd.$pu['path']); - $np = str_replace($_SERVER['DOCUMENT_ROOT'],'',$np); - $location.= $np; - if ((isset($pu['query'])) && (strlen($pu['query'])>0)) $location.= '?'.$pu['query']; - } - } +include("functions.php"); - $hs = headers_sent(); - if ($hs==false) - { - if ($code==301) header("301 Moved Permanently HTTP/1.1"); // Convert to GET - elseif ($code==302) header("302 Found HTTP/1.1"); // Conform re-POST - elseif ($code==303) header("303 See Other HTTP/1.1"); // dont cache, always use GET - elseif ($code==304) header("304 Not Modified HTTP/1.1"); // use cache - elseif ($code==305) header("305 Use Proxy HTTP/1.1"); - elseif ($code==306) header("306 Not Used HTTP/1.1"); - elseif ($code==307) header("307 Temorary Redirect HTTP/1.1"); - else trigger_error("Unhandled redirect() HTTP Code: $code",E_USER_ERROR); - header("Location: $location"); - header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); - } - elseif (($hs==true) || ($code==302) || ($code==303)) - { - // todo: draw some javascript to redirect - $cover_div_style = 'background-color: #ccc; height: 100%; left: 0px; position: absolute; top: 0px; width: 100%;'; - echo "<div style='$cover_div_style'>\n"; - $link_div_style = 'background-color: #fff; border: 2px solid #f00; left: 0px; margin: 5px; padding: 3px; '; - $link_div_style.= 'position: absolute; text-align: center; top: 0px; width: 95%; z-index: 99;'; - echo "<div style='$link_div_style'>\n"; - echo "<p>Please See: <a href='$to'>".htmlspecialchars($location)."</a></p>\n"; - echo "</div>\n</div>\n"; - } - exit(0); -} - // Do stuff here before sending headers redirect('/get-involved.php') ?> Modified: trunk/web/htdocs/news.php =================================================================== --- trunk/web/htdocs/news.php 2006-09-01 05:11:19 UTC (rev 1220) +++ trunk/web/htdocs/news.php 2006-09-01 12:49:00 UTC (rev 1221) @@ -1,57 +1,6 @@ <?php -// func: redirect($to,$code=307) -// spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html -function redirect($to,$code=301) -{ - $location = null; - $sn = $_SERVER['SCRIPT_NAME']; - $cp = dirname($sn); - if (substr($to,0,4)=='http') $location = $to; // Absolute URL - else - { - $schema = $_SERVER['SERVER_PORT']=='443'?'https':'http'; - $host = strlen($_SERVER['HTTP_HOST'])?$_SERVER['HTTP_HOST']:$_SERVER['SERVER_NAME']; - if (substr($to,0,1)=='/') $location = "$schema://$host$to"; - elseif (substr($to,0,1)=='.') // Relative Path - { - $location = "$schema://$host"; - $pu = parse_url($to); - $cd = dirname($_SERVER['SCRIPT_FILENAME']).'/'; - $np = realpath($cd.$pu['path']); - $np = str_replace($_SERVER['DOCUMENT_ROOT'],'',$np); - $location.= $np; - if ((isset($pu['query'])) && (strlen($pu['query'])>0)) $location.= '?'.$pu['query']; - } - } +include("functions.php"); - $hs = headers_sent(); - if ($hs==false) - { - if ($code==301) header("301 Moved Permanently HTTP/1.1"); // Convert to GET - elseif ($code==302) header("302 Found HTTP/1.1"); // Conform re-POST - elseif ($code==303) header("303 See Other HTTP/1.1"); // dont cache, always use GET - elseif ($code==304) header("304 Not Modified HTTP/1.1"); // use cache - elseif ($code==305) header("305 Use Proxy HTTP/1.1"); - elseif ($code==306) header("306 Not Used HTTP/1.1"); - elseif ($code==307) header("307 Temorary Redirect HTTP/1.1"); - else trigger_error("Unhandled redirect() HTTP Code: $code",E_USER_ERROR); - header("Location: $location"); - header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); - } - elseif (($hs==true) || ($code==302) || ($code==303)) - { - // todo: draw some javascript to redirect - $cover_div_style = 'background-color: #ccc; height: 100%; left: 0px; position: absolute; top: 0px; width: 100%;'; - echo "<div style='$cover_div_style'>\n"; - $link_div_style = 'background-color: #fff; border: 2px solid #f00; left: 0px; margin: 5px; padding: 3px; '; - $link_div_style.= 'position: absolute; text-align: center; top: 0px; width: 95%; z-index: 99;'; - echo "<div style='$link_div_style'>\n"; - echo "<p>Please See: <a href='$to'>".htmlspecialchars($location)."</a></p>\n"; - echo "</div>\n</div>\n"; - } - exit(0); -} - // Do stuff here before sending headers redirect('/index.php') ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2006-09-01 23:33:47
|
Revision: 1222 http://svn.sourceforge.net/jsxe/?rev=1222&view=rev Author: ian_lewis Date: 2006-09-01 16:33:32 -0700 (Fri, 01 Sep 2006) Log Message: ----------- Updated to support Japanese language Modified Paths: -------------- trunk/web/htdocs/content/en/overview.html trunk/web/htdocs/css/main.css trunk/web/htdocs/downloads.php trunk/web/htdocs/features.php trunk/web/htdocs/functions.php trunk/web/htdocs/get-involved.php trunk/web/htdocs/index.php trunk/web/htdocs/links.php trunk/web/htdocs/news.php trunk/web/htdocs/screenshots.php trunk/web/htdocs/sidebar.php Added Paths: ----------- trunk/web/htdocs/content/ja/ trunk/web/htdocs/content/ja/_global.php trunk/web/htdocs/images/de.png trunk/web/htdocs/images/jp.png trunk/web/htdocs/images/ru.png trunk/web/htdocs/images/se.png trunk/web/htdocs/images/us.png Modified: trunk/web/htdocs/content/en/overview.html =================================================================== --- trunk/web/htdocs/content/en/overview.html 2006-09-01 12:49:00 UTC (rev 1221) +++ trunk/web/htdocs/content/en/overview.html 2006-09-01 23:33:32 UTC (rev 1222) @@ -14,4 +14,4 @@ are not currently implemented. If you are interesting in helping to make jsXe a great editor by contributing your suggestions and needs or if you are a developer and would like to contribute time and code check - out <a href="get-involved.php">how to get involved</a>.</p> \ No newline at end of file + out <a href="get-involved.php">how to get involved</a></p> \ No newline at end of file Added: trunk/web/htdocs/content/ja/_global.php =================================================================== --- trunk/web/htdocs/content/ja/_global.php (rev 0) +++ trunk/web/htdocs/content/ja/_global.php 2006-09-01 23:33:32 UTC (rev 1222) @@ -0,0 +1,12 @@ +<?php +$trans['ja'] = array( + 'News' => 'ニュース', + 'Features' => '機能概要', + 'Screenshot' => 'スクリーンショット', + 'Screenshots' => 'スクリーンショット', + 'Download' => 'ダウンロード', + 'Downloads' => 'ダウンロード', + 'Get Involved' => '参加情報', + 'SourceForge Project' => 'SourceForge プロジェクト' +); +?> \ No newline at end of file Modified: trunk/web/htdocs/css/main.css =================================================================== --- trunk/web/htdocs/css/main.css 2006-09-01 12:49:00 UTC (rev 1221) +++ trunk/web/htdocs/css/main.css 2006-09-01 23:33:32 UTC (rev 1222) @@ -71,6 +71,13 @@ padding: 5px; } +#languages img { + display: inline; + margin-left: 0px; + margin-right: 0px; + padding: 0px; +} + #mainBody { position: absolute; /*float: right;*/ Modified: trunk/web/htdocs/downloads.php =================================================================== --- trunk/web/htdocs/downloads.php 2006-09-01 12:49:00 UTC (rev 1221) +++ trunk/web/htdocs/downloads.php 2006-09-01 23:33:32 UTC (rev 1222) @@ -4,7 +4,7 @@ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo get_locale() ?>" lang="<?php echo get_locale() ?>"> <head> <title>jsXe: Downloads</title> <?php include("meta.php") ?> Modified: trunk/web/htdocs/features.php =================================================================== --- trunk/web/htdocs/features.php 2006-09-01 12:49:00 UTC (rev 1221) +++ trunk/web/htdocs/features.php 2006-09-01 23:33:32 UTC (rev 1222) @@ -4,7 +4,7 @@ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo get_locale() ?>" lang="<?php echo get_locale() ?>"> <head> <title>jsXe: Features</title> <?php include("meta.php") ?> @@ -15,6 +15,7 @@ <div id="sidebar"> <?php include("sidebar.php") ?> </div> + <div id="mainBody"> <?php get_content('features'); ?> Modified: trunk/web/htdocs/functions.php =================================================================== --- trunk/web/htdocs/functions.php 2006-09-01 12:49:00 UTC (rev 1221) +++ trunk/web/htdocs/functions.php 2006-09-01 23:33:32 UTC (rev 1222) @@ -1,25 +1,124 @@ <?php +/* +:tabSize=4:indentSize=4:noTabs=true: +:folding=explicit:collapseFolds=1: +*/ + if( !defined('ROOT') ) die( 'Please, do not access this page directly.' ); +global $default_locale, $locales; +$default_locale = "en-us"; + +$dir = dirname(__FILE__).'/content/'; +$locales = directory_list($dir); + +//{{{ get_locale() + function get_locale() { - $req_locale="en"; - if (isset($_GET['lang'])) { - //IML: Support the lang attribute - $req_locale = $_GET['lang']; + if (!defined('LOCALE')) { + if (isset($_GET['lang'])) { + //IML: Support the lang attribute + $locale = match_locale($_GET['lang']); + if (!empty($locale)) { + define('LANG', $locale); + return $locale; + } + } + $locale = locale_from_httpaccept(); + define( 'LOCALE', $locale ); + return LOCALE; } - return $req_locale; -} + return LOCALE; +}//}}} -function create_link( $href, $contents ) { +//{{{ match_locale() + +function match_locale($locale) { + + global $locales; + + // echo 'match_locale('.$locale.')'; + // echo '<br/>'; + + + // look for exact match. (lang and country) + foreach ($locales as $key => $value) { + // echo 'searching '.$key; + // echo '<br/>'; + if ($key == $locale) { + // echo 'found '.$key; + // echo '<br/>'; + return $locale; + } + } + + // look for just lang + foreach ($locales as $key => $value) { + $pos = strpos( $locale, '-'); + if ($pos !== false) { + $locale = substr($locale, 0, $pos); + } + // echo 'searching '.$key; + // echo '<br/>'; + if ($key == $locale) { + // echo 'found '.$key; + // echo '<br/>'; + return $locale; + } + } + // echo '<br/>'; + //no matches at all. + return ''; +}//}}} + +//{{{ get_image() + +function get_image($image, $alt='') { + $location = 'http://jsxe.sourceforge.net/images/'.$image; + // $location = 'http://www.ianlewis.org/jsxetest/images/'.$image; + return '<img src="'.$location.'" alt="'.$alt.'"/>'; +}//}}} + +//{{{ create_link() + +function create_link( $href, $contents, $params = array() ) { + global $default_locale; + $link = '<a href="'.$href; - if (isset($_GET['lang'])) { - $locale = $_GET['lang']; - $link = $link.'?lang='.$locale; + + if (isset($_GET['lang']) and empty($params['lang'])) { + $params['lang'] = $_GET['lang']; } + // if (isset($_GET['id'])) { + // $params['id'] = $_GET['id']; + // } + + if (count($params) > 0) { + $link = $link.'?'; + foreach ($params as $key => $value) { + if (!empty($key) and !empty($value)) { + $link = $link.$key.'='.$value.'&'; + } + } + //remove the last '&' + $link = substr($link, 0, -1); + } + $link = $link.'">'.T_($contents).'</a>'; return $link; -} +}//}}} +//{{{ create_language_link() + +function create_language_link($lang, $text) { + $current_file = $_SERVER['PHP_SELF']; + $params = array(); + $params['lang'] = $lang; + return create_link($current_file, $text, $params); +}//}}} + +//{{{ get_content() + function get_content( $name ) { $file = 'content/'.get_locale().'/'.$name.'.html'; if (!file_exists($file)) { @@ -29,8 +128,10 @@ $data = fread($fh, filesize($file)); fclose($fh); echo $data; -} +}//}}} +//{{{ get_news() + function get_news() { $file = 'content/'.get_locale().'/news-header.html'; @@ -51,8 +152,10 @@ echo $header; echo $data; -} +}//}}} +//{{{ T_() + function T_( $string, $lang = '' ) { global $trans; @@ -87,8 +190,118 @@ // Return the English string: return $string; -} +}//}}} +//{{{ locale_from_httpaccept() +/** + * Detect language from HTTP_ACCEPT_LANGUAGE + * + * First matched full locale code in HTTP_ACCEPT_LANGUAGE will win + * Otherwise, first locale in table matching a lang code will win + * + * {@internal locale_from_httpaccept(-)}} + * + * @return locale made out of HTTP_ACCEPT_LANGUAGE or $default_locale, if no match + */ +function locale_from_httpaccept() { + + global $locales, $default_locale; + if ( isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ) { + + $accept = strtolower( $_SERVER['HTTP_ACCEPT_LANGUAGE'] ); + // pre_dump($accept, 'http_accept_language'); + // echo $accept; + // $accept = 'en;q=0.3,ru,ja;q=0.8,ar-sa;q=0.5'; + + $accept_locales = array(); + + $tok = strtok($accept, ","); + + while ($tok !== false) { + // echo "Word=$tok<br/>"; + + $priority = 1; + $locale = $tok; + + $pos = strpos( $tok, ';'); + if ($pos !== false) { + $locale = substr($locale, 0, $pos); + + //check priority + $priority_string = substr($tok, $pos+1); + // echo $priority_string; + // echo '<br/>'; + if (substr($priority_string, 0,2) == 'q=') { + $priority = substr($priority_string, 2); + } + } + + // echo 'locale='.$locale; + // echo '<br/>'; + // echo 'priority='.$priority; + // echo '<br/>'; + $accept_locales[$locale] = $priority; + + $tok = strtok(","); + } + // echo '<br/>'; + $accept_locales = array_sort($accept_locales, 'desc'); + foreach ( $accept_locales as $locale => $priority ) { + // echo $priority.' => '.$locale.'<br/>'; + $selected_locale = match_locale($locale); + if (!empty($selected_locale)) { + return $selected_locale; + } + } + } + return $default_locale; +}//}}} + +//{{{ array_sort() + +function array_sort($array, $type='asc'){ + $result=array(); + foreach($array as $var => $val){ + $set=false; + foreach($result as $var2 => $val2){ + if($set==false){ + if($val>$val2 && $type=='desc' || $val<$val2 && $type=='asc'){ + $temp=array(); + foreach($result as $var3 => $val3){ + if($var3==$var2) $set=true; + if($set){ + $temp[$var3]=$val3; + unset($result[$var3]); + } + } + $result[$var]=$val; + foreach($temp as $var3 => $val3){ + $result[$var3]=$val3; + } + } + } + } + if(!$set){ + $result[$var]=$val; + } + } + return $result; +}//}}} + +//{{{ directory_list() + +function directory_list($dir) { + $d = dir($dir); + while (false !== ($entry = $d->read())) { + if($entry != '.' && $entry != '..' && is_dir($dir.$entry)) + $arDir[$entry] = $dir.$entry.'/'; + } + $d->close(); + return $arDir; +}//}}} + +//{{{ redirect() + // func: redirect($to,$code=307) // spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html function redirect($to,$code=301) @@ -140,5 +353,6 @@ echo "</div>\n</div>\n"; } exit(0); -} +}//}}} + ?> \ No newline at end of file Modified: trunk/web/htdocs/get-involved.php =================================================================== --- trunk/web/htdocs/get-involved.php 2006-09-01 12:49:00 UTC (rev 1221) +++ trunk/web/htdocs/get-involved.php 2006-09-01 23:33:32 UTC (rev 1222) @@ -4,7 +4,7 @@ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo get_locale() ?>" lang="<?php echo get_locale() ?>"> <head> <title>jsXe: Getting Involved</title> <?php include("meta.php") ?> @@ -15,6 +15,7 @@ <div id="sidebar"> <?php include("sidebar.php") ?> </div> + <div id="mainBody"> <?php get_content('get-involved') ?> Added: trunk/web/htdocs/images/de.png =================================================================== (Binary files differ) Property changes on: trunk/web/htdocs/images/de.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/web/htdocs/images/jp.png =================================================================== (Binary files differ) Property changes on: trunk/web/htdocs/images/jp.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/web/htdocs/images/ru.png =================================================================== (Binary files differ) Property changes on: trunk/web/htdocs/images/ru.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/web/htdocs/images/se.png =================================================================== (Binary files differ) Property changes on: trunk/web/htdocs/images/se.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/web/htdocs/images/us.png =================================================================== (Binary files differ) Property changes on: trunk/web/htdocs/images/us.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/web/htdocs/index.php =================================================================== --- trunk/web/htdocs/index.php 2006-09-01 12:49:00 UTC (rev 1221) +++ trunk/web/htdocs/index.php 2006-09-01 23:33:32 UTC (rev 1222) @@ -15,6 +15,7 @@ <div id="sidebar"> <?php include("sidebar.php") ?> </div> + <div id="mainBody"> <?php get_content('overview'); ?> Modified: trunk/web/htdocs/links.php =================================================================== --- trunk/web/htdocs/links.php 2006-09-01 12:49:00 UTC (rev 1221) +++ trunk/web/htdocs/links.php 2006-09-01 23:33:32 UTC (rev 1222) @@ -1,6 +1,57 @@ <?php -include("functions.php"); +// func: redirect($to,$code=307) +// spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html +function redirect($to,$code=301) +{ + $location = null; + $sn = $_SERVER['SCRIPT_NAME']; + $cp = dirname($sn); + if (substr($to,0,4)=='http') $location = $to; // Absolute URL + else + { + $schema = $_SERVER['SERVER_PORT']=='443'?'https':'http'; + $host = strlen($_SERVER['HTTP_HOST'])?$_SERVER['HTTP_HOST']:$_SERVER['SERVER_NAME']; + if (substr($to,0,1)=='/') $location = "$schema://$host$to"; + elseif (substr($to,0,1)=='.') // Relative Path + { + $location = "$schema://$host"; + $pu = parse_url($to); + $cd = dirname($_SERVER['SCRIPT_FILENAME']).'/'; + $np = realpath($cd.$pu['path']); + $np = str_replace($_SERVER['DOCUMENT_ROOT'],'',$np); + $location.= $np; + if ((isset($pu['query'])) && (strlen($pu['query'])>0)) $location.= '?'.$pu['query']; + } + } + $hs = headers_sent(); + if ($hs==false) + { + if ($code==301) header("301 Moved Permanently HTTP/1.1"); // Convert to GET + elseif ($code==302) header("302 Found HTTP/1.1"); // Conform re-POST + elseif ($code==303) header("303 See Other HTTP/1.1"); // dont cache, always use GET + elseif ($code==304) header("304 Not Modified HTTP/1.1"); // use cache + elseif ($code==305) header("305 Use Proxy HTTP/1.1"); + elseif ($code==306) header("306 Not Used HTTP/1.1"); + elseif ($code==307) header("307 Temorary Redirect HTTP/1.1"); + else trigger_error("Unhandled redirect() HTTP Code: $code",E_USER_ERROR); + header("Location: $location"); + header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); + } + elseif (($hs==true) || ($code==302) || ($code==303)) + { + // todo: draw some javascript to redirect + $cover_div_style = 'background-color: #ccc; height: 100%; left: 0px; position: absolute; top: 0px; width: 100%;'; + echo "<div style='$cover_div_style'>\n"; + $link_div_style = 'background-color: #fff; border: 2px solid #f00; left: 0px; margin: 5px; padding: 3px; '; + $link_div_style.= 'position: absolute; text-align: center; top: 0px; width: 95%; z-index: 99;'; + echo "<div style='$link_div_style'>\n"; + echo "<p>Please See: <a href='$to'>".htmlspecialchars($location)."</a></p>\n"; + echo "</div>\n</div>\n"; + } + exit(0); +} + // Do stuff here before sending headers redirect('/get-involved.php') ?> Modified: trunk/web/htdocs/news.php =================================================================== --- trunk/web/htdocs/news.php 2006-09-01 12:49:00 UTC (rev 1221) +++ trunk/web/htdocs/news.php 2006-09-01 23:33:32 UTC (rev 1222) @@ -1,6 +1,57 @@ <?php -include("functions.php"); +// func: redirect($to,$code=307) +// spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html +function redirect($to,$code=301) +{ + $location = null; + $sn = $_SERVER['SCRIPT_NAME']; + $cp = dirname($sn); + if (substr($to,0,4)=='http') $location = $to; // Absolute URL + else + { + $schema = $_SERVER['SERVER_PORT']=='443'?'https':'http'; + $host = strlen($_SERVER['HTTP_HOST'])?$_SERVER['HTTP_HOST']:$_SERVER['SERVER_NAME']; + if (substr($to,0,1)=='/') $location = "$schema://$host$to"; + elseif (substr($to,0,1)=='.') // Relative Path + { + $location = "$schema://$host"; + $pu = parse_url($to); + $cd = dirname($_SERVER['SCRIPT_FILENAME']).'/'; + $np = realpath($cd.$pu['path']); + $np = str_replace($_SERVER['DOCUMENT_ROOT'],'',$np); + $location.= $np; + if ((isset($pu['query'])) && (strlen($pu['query'])>0)) $location.= '?'.$pu['query']; + } + } + $hs = headers_sent(); + if ($hs==false) + { + if ($code==301) header("301 Moved Permanently HTTP/1.1"); // Convert to GET + elseif ($code==302) header("302 Found HTTP/1.1"); // Conform re-POST + elseif ($code==303) header("303 See Other HTTP/1.1"); // dont cache, always use GET + elseif ($code==304) header("304 Not Modified HTTP/1.1"); // use cache + elseif ($code==305) header("305 Use Proxy HTTP/1.1"); + elseif ($code==306) header("306 Not Used HTTP/1.1"); + elseif ($code==307) header("307 Temorary Redirect HTTP/1.1"); + else trigger_error("Unhandled redirect() HTTP Code: $code",E_USER_ERROR); + header("Location: $location"); + header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); + } + elseif (($hs==true) || ($code==302) || ($code==303)) + { + // todo: draw some javascript to redirect + $cover_div_style = 'background-color: #ccc; height: 100%; left: 0px; position: absolute; top: 0px; width: 100%;'; + echo "<div style='$cover_div_style'>\n"; + $link_div_style = 'background-color: #fff; border: 2px solid #f00; left: 0px; margin: 5px; padding: 3px; '; + $link_div_style.= 'position: absolute; text-align: center; top: 0px; width: 95%; z-index: 99;'; + echo "<div style='$link_div_style'>\n"; + echo "<p>Please See: <a href='$to'>".htmlspecialchars($location)."</a></p>\n"; + echo "</div>\n</div>\n"; + } + exit(0); +} + // Do stuff here before sending headers redirect('/index.php') ?> Modified: trunk/web/htdocs/screenshots.php =================================================================== --- trunk/web/htdocs/screenshots.php 2006-09-01 12:49:00 UTC (rev 1221) +++ trunk/web/htdocs/screenshots.php 2006-09-01 23:33:32 UTC (rev 1222) @@ -4,7 +4,7 @@ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo get_locale() ?>" lang="<?php echo get_locale() ?>"> <head> <title>jsXe: Screenshots</title> <?php include("meta.php") ?> @@ -15,6 +15,7 @@ <div id="sidebar"> <?php include("sidebar.php") ?> </div> + <div id="mainBody"> <?php if (isset($_GET['id'])) { @@ -29,9 +30,11 @@ <table border="0" cellpadding="0" cellspacing="15" width="100%"> <tr> <td> - <a href="screenshots.php?id=86758"> - <img alt="screenshot" border="0" src="http://sourceforge.net/dbimage.php?id=86757"/> - </a> + <?php + $params = array(); + $params['id'] = '86758'; + echo create_link('screenshots.php', '<img alt="screenshot" border="0" src="http://sourceforge.net/dbimage.php?id=86757"/>', $params); + ?> </td> <td> jsXe with Japanese locale. @@ -42,9 +45,11 @@ </tr> <tr> <td> - <a href="screenshots.php?id=59765"> - <img alt="screenshot" border="0" src="https://sourceforge.net/dbimage.php?id=59764"/> - </a> + <?php + $params = array(); + $params['id'] = '59765'; + echo create_link('screenshots.php', '<img alt="screenshot" border="0" src="https://sourceforge.net/dbimage.php?id=59764"/>', $params); + ?> </td> <td> A screenshot showing the context dialog including cut/paste @@ -56,9 +61,11 @@ <tr> <td> - <a href="screenshots.php?id=34496"> - <img alt="screenshot" border="0" src="https://sourceforge.net/dbimage.php?id=34495"/> - </a> + <?php + $params = array(); + $params['id'] = '34496'; + echo create_link('screenshots.php', '<img alt="screenshot" border="0" src="https://sourceforge.net/dbimage.php?id=34495"/>', $params); + ?> </td> <td> A screenshot showing validation features. jsXe allows you to add nodes defined by DTD/Schema @@ -69,9 +76,11 @@ </tr> <tr> <td> - <a href="screenshots.php?id=34498"> - <img alt="screenshot" border="0" src="https://sourceforge.net/dbimage.php?id=34497"/> - </a> + <?php + $params = array(); + $params['id'] = '34498'; + echo create_link('screenshots.php', '<img alt="screenshot" border="0" src="https://sourceforge.net/dbimage.php?id=34497"/>', $params); + ?> </td> <td> A screenshot showing the syntax highlighted source view. @@ -82,9 +91,11 @@ </tr> <tr> <td> - <a href="screenshots.php?id=34500"> - <img alt="screenshot" border="0" src="https://sourceforge.net/dbimage.php?id=34499"/> - </a> + <?php + $params = array(); + $params['id'] = '34500'; + echo create_link('screenshots.php', '<img alt="screenshot" border="0" src="https://sourceforge.net/dbimage.php?id=34499"/>', $params); + ?> </td> <td> A screenshot of jsXe's options panel. @@ -95,9 +106,11 @@ </tr> <tr> <td> - <a href="screenshots.php?id=34502"> - <img alt="screenshot" border="0" src="https://sourceforge.net/dbimage.php?id=34501"/> - </a> + <?php + $params = array(); + $params['id'] = '34502'; + echo create_link('screenshots.php', '<img alt="screenshot" border="0" src="https://sourceforge.net/dbimage.php?id=34501"/>', $params); + ?> </td> <td> A screenshot of the edit node dialog. This dialog can be used to edit nodes defined in DTD/Schema Modified: trunk/web/htdocs/sidebar.php =================================================================== --- trunk/web/htdocs/sidebar.php 2006-09-01 12:49:00 UTC (rev 1221) +++ trunk/web/htdocs/sidebar.php 2006-09-01 23:33:32 UTC (rev 1222) @@ -3,9 +3,9 @@ <ul> <li><?php echo create_link("index.php", "News") ?></li> <li><?php echo create_link("features.php", "Features") ?></li> - <li><?php echo create_link("screenshots.php", "Screenshots") ?></a></li> + <li><?php echo create_link("screenshots.php", "Screenshots") ?></li> <li><?php echo create_link("downloads.php", "Downloads") ?></li> - <li><?php echo create_link("get-involved.php", "Get Involved") ?></a></li> + <li><?php echo create_link("get-involved.php", "Get Involved") ?></li> </ul> <ul> @@ -15,3 +15,10 @@ <a href="http://sourceforge.net/"><img alt="SourceForge Logo" src="http://sourceforge.net/sflogo.php?group_id=58584"/></a> <a href="http://sourceforge.jp/"><img alt="SourceForge.jp" src="http://sourceforge.jp/sflogo.php?group_id=2456"/></a> + +<div id="languages"/> + <ul> + <li><?php echo get_image('us.png');?> <?php echo create_language_link('en-us', 'English'); ?></li> + <li><?php echo get_image('jp.png');?> <?php echo create_language_link('ja-jp', '日本語'); ?></li> + </ul> +</div> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |