Commit bbe35712 authored by Naba Kumar's avatar Naba Kumar

Added anjuta website

	* www/*: Added anjuta website


svn path=/trunk/; revision=4330
parent 9ecad3fd
2008-10-11 Naba Kumar <naba@gnome.org>
* www/*: Added anjuta website
2008-10-11 Sébastien Granjoux <seb.sfo@free.fr>
* configure.in,
Deployment of anjuta website
1. There has be a directory called 'svn' here that contains README, ChangeLog, HACKING, NEWS, ROADMAP, TODO.tasks and AUTHORS from the top level directory of anjuta source tree. Create this during deployment.
2. index.php should be a symbolic link to anjuta.php
3. Copy all these files and directories (excluding any hidden files such as version control files) to 'htdocs' directory of the webserver.
<html>
<head>
<title>Anjuta Integrated Development Environment</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta content="programming, best, ide, free, user friendly, gnome, linux, anjuta, c, c++, php, versatile, gtk, website" name="keywords"/>
<link href="/css/docs.css" type="text/css" rel="StyleSheet"/>
<link href="/css/layout.css" rel="stylesheet" type="text/css" media="screen">
<link href="/css/style.css" rel="stylesheet" type="text/css" media="all">
</head>
<body>
<!-- site header -->
<div id="page">
<ul id="general">
<li id="siteaction-gnome_home" class="home">
<a href="http://anjuta.org/" title="Home">Home</a>
</li>
<li id="siteaction-gnome_news">
<a href="http://sourceforge.net/news/?group_id=14222" title="News">News</a>
</li>
<li id="siteaction-gnome_projects">
<a href="http://sourceforge.net/projects/anjuta" title="Project Site">Project Site</a>
</li>
<li id="siteaction-gnome_art">
<a href="http://sourceforge.net/project/showfiles.php?group_id=14222" title="Releases">Releases</a>
</li>
<li id="siteaction-gnome_support">
<a href="http://sourceforge.net/mail/?group_id=14222" title="Mailing lists">Mailing lists</a>
</li>
<li id="siteaction-gnome_development">
<a href="http://sourceforge.net/forum/?group_id=14222" title="Forums">Forums</a>
</li>
</ul>
<div id="header">
<h1>Anjuta DevStudio: GNOME Integrated Development Environment</h1>
<div id="tabs">
<ul id="portal-globalnav">
<li <?php if($_GET["page"] == "") echo("class=\"selected\"");?>><a href="/"><span>About</span></a></li>
<li <?php if($_GET["page"] == "development") echo("class=\"selected\"");?>><a href="/development"><span>Development</span></a></li>
<li <?php if($_GET["page"] == "downloads") echo("class=\"selected\"");?>><a href="/downloads"><span>Downloads</span></a></li>
<li <?php if($_GET["page"] == "screenshots" || $_GET["page"] == "screen-shots" ) echo("class=\"selected\"");?>><a href="/screen-shots"><span>Screenshots</span></a></li>
<li <?php if($_GET["page"] == "features") echo("class=\"selected\"");?>><a href="/features"><span>Features</span></a></li>
<li <?php if($_GET["page"] == "credits") echo("class=\"selected\"");?>><a href="/credits"><span>Credits</span></a></li>
</ul>
</div> <!-- end of #tabs -->
</div> <!-- end of #header -->
</div> <!-- end of #page -->
<!-- end site header -->
<div id="sidebar">
<h3>Project</h3>
<ul>
<li><a href="/changelog">ChangeLog</a></li>
<li><a href="/roadmap">Roadmap</a></li>
<li><a href="/hacking">Hacking</a></li>
<li><a href="/tasks">Tasks & Bounties</a></li>
</ul>
<h3>Documentations</h3>
<ul>
<li><a href="/documentations/subpage/documents/libanjuta/index.html">Anjuta API docs</a></li>
<li><a href="http://live.gnome.org/Anjuta">Anjuta wiki</a></li>
<li><a href="/documentations/subpage/documents/C/anjuta-faqs/anjuta-faqs.html">FAQ [English]</a></li>
<!--<li><a href="/documentations/subpage/documents/ja/anjuta-faqs/index.html">FAQ [Japanese]</a></li>
<li><a href="/documentations/subpage/documents/C/anjuta-tutorial/index.html">Tutorial [English]</a></li>
<li><a href="/documentations/subpage/documents/de/anjuta-tutorial/index.html">Tutorial [German]</a></li>
<li><a href="/documentations/subpage/documents/zh_CN/anjuta-tutorial/index.html">Tutorial [Chinese]</a></li> -->
<li><a href="/documentations/subpage/documents/C/anjuta-build-tutorial/index.html">Build Tutorial [English]</a></li>
<li><a href="/documentations/subpage/documents/C/anjuta-manual/anjuta-manual.html">Manual [English]</a></li>
<!--<li><a href="/documentations/subpage/documents/ja/anjuta-manual/index.html">Manual [Japanese]</a></li> -->
</ul>
<h3>Project Status</h3>
<ul>
<li><a href="http://bugzilla.gnome.org/browse.cgi?product=anjuta">Bugs</a></li>
<li><a href="http://bugzilla.gnome.org/reports/patch-report.cgi?product=anjuta">Patches</a></li>
<li><a href="http://bugzilla.gnome.org/simple-bug-guide.cgi?product=anjuta">Submit</a></li>
</ul>
<p>
<a href="http://sourceforge.net/donate/index.php?group_id=14222"><img src="http://images.sourceforge.net/images/project-support.jpg" width="88" height="32" border="0" alt="Support This Project" /></a>
</p>
<p>
<A href="http://sourceforge.net"><IMG
src="http://sourceforge.net/sflogo.php?group_id=14222&amp;type=5"
width="210" height="62" border="0" alt="SourceForge.net Logo"/></A>
</p>
</div> <!-- sidebar -->
<div id="body">
<div id="content">
<!-- Content starts here -->
<?php
$page = $_GET["page"];
if ($page == "credits"){
require("authors.php");
} else
if ($page == "development"){
require("development.php");
} else
if ($page == "downloads"){
require("downloads.php");
} else
if ($page == 'screenshots' || $page == 'screen-shots'){
require("screenshots.php");
} else
if ($page == 'features'){
require("features.php");
} else
if ($page == 'changelog'){
require("changelog.php");
} else
if ($page == 'roadmap'){
require("roadmap.php");
} else
if ($page == 'hacking'){
require("hacking.php");
} else
if ($page == 'tasks'){
require("tasks.php");
} else
if ($page == 'documentations'){
$subpage = $_GET["subpage"];
require("proxy.php");
} else
{
require("home.php");
}
?>
</div> <!-- content -->
</div> <!-- body -->
</body>
</html>
<p><a href="http://sourceforge.net/forum/forum.php?forum_id=862696"><strong>Anjuta DevStudio 2.23.91 Cyclone (unstable) released</strong></a><br /><small class="date">2008-09-01 21:42 - <a href="http://sourceforge.net/projects/anjuta/">Anjuta DevStudio</a></small><br />Anjuta team proudly announces the release of Anjuta DevStudio 2.23.91 that will eventually lead us to stable 2.24.0 release, code named Cyclone. The version number has been bumped from traditional 2.5.x to 2.23.x to honor GNOME release cycle. This is an unstable release for GNOME 2.23.91 release, so be sure to adjust your expectations.<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=862696">Read More &raquo;</a></p><p><a href="http://sourceforge.net/forum/forum.php?forum_id=857910"><strong>Announce: Anjuta DevStudio 2.5.90 Cyclone (unstable) release</strong></a><br /><small class="date">2008-08-18 21:28 - <a href="http://sourceforge.net/projects/anjuta/">Anjuta DevStudio</a></small><br />Anjuta team proudly announces the first unstable release Anjuta DevStudio 2.5.90 that will eventually lead us to stable 2.6.0 release, code named Cyclone. This is an unstable release, so be sure to adjust your expectations accordingly. This is release is for upcoming GNOME 2.23.90 release.<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=857910">Read More &raquo;</a></p><p><a href="http://sourceforge.net/forum/forum.php?forum_id=831211"><strong>Anjuta DevStudio 2.5.0 Cyclone (unstable) released</strong></a><br /><small class="date">2008-06-03 18:35 - <a href="http://sourceforge.net/projects/anjuta/">Anjuta DevStudio</a></small><br />Anjuta team proudly announces the first unstable release Anjuta DevStudio 2.5.0 that will eventually lead us to stable 2.6.0 release, code named Cyclone. This is an unstable release, so be sure to adjust your expectations accordingly. This is release is for upcoming GNOME 2.23.3 unstable release.<br /><a href="http://sourceforge.net/forum/forum.php?forum_id=831211">Read More &raquo;</a></p><p><a href="http://sourceforge.net/news/?group_id=14222">Site news archive &raquo;</a></p>
<!--
<table border="0" width="100%" cellspacing="0" cellpadding="5">
<tbody>
<tr>
<td><img border="0" src="image_web/members_icon_ws.jpg" width="48" height="50"></td>
<td width="100%"><img border="0" src="image_web/authors_title.jpg" width="315"
height="37"></td></tr></tbody></table>
-->
<?php
// get contents of a file into a string
$filename = "svn/AUTHORS";
$handle = fopen($filename, "r");
$contents = fread($handle, filesize($filename));
$contents = preg_replace("/note[^\~]*/im", "", $contents);
$contents = preg_replace("/^([^\n]+:)\n\-\-\-\-+$/m", "<h3>\\1</h3><ul>", $contents);
$contents = preg_replace("/^\t([^\<]+)\<([^\>]+\@[^\>]+)\>.*?\(([^\)]+)\).*?$/m", "<li>\\1 &lt;\\2&gt; (\\3)</li>\n", $contents);
$contents = preg_replace("/^\t([^\<]+)\<([^\>]+\@[^\>]+)\>.*?$/m", "<li>\\1 &lt;\\2&gt;</li>\n", $contents);
$contents = preg_replace("/^\t(.+?)$/m", "<li>\\1</li>\n", $contents);
$contents = preg_replace("/\n\t\n/m", "</ul>\n", $contents);
/* $contents = preg_replace("/\n/m", "<br>", $contents);
$contents = preg_replace("/\n\t(*)\n+/m", "\n<li>\\1</li>\n", $contents);
*/
$contents = preg_replace("/\@/", "<i><script language=javascript>document.write(\"&#64;\");</script><noscript>_at_</noscript></i>", $contents);
print($contents);
echo("<p>");
$members_database = "databases/members.database";
if (!($fp = fopen($members_database, "r"))) {
die("could not open Authors Database");
}
$xml_authors = xml_parser_create();
$authors_data = fread($fp,filesize ($members_database));
xml_parser_set_option($xml_authors,XML_OPTION_CASE_FOLDING,0);
xml_parse_into_struct($xml_authors,$authors_data,$vals,$index);
foreach ($vals as $key) {
$desc = $key[attributes];
if ($key[level] >= 2) {
if ($key[type] == 'open') {
echo "<h3>$desc[name]</h3><ul>\n";
}
}
if ($key[level] >= 3) {
if ($key[type] == 'complete') {
echo "<li>$desc[name] &lt;$desc[email]&gt; ($desc[country]): $desc[contribution]</li>\n";
}
}
if ($key[level] >= 2) {
if ($key[type] == 'close') {
echo "</ul>\n";
}
}
}
xml_parser_free($xml_authors);
echo ("<p><b>Note: </b><i>If you have contributed something significant to Anjuta and your name is missing here, please email Naba Kumar &lt;naba<i><script language=javascript>document.write(\"&#64;\");</script><noscript>_at_</noscript></i>gnome.org&gt; with your Full name, email address, country and a brief reminder of what you have done. This page is auto-generated from AUTHORS file in CVS.</i><p>");
?>
<p>
<?php
// get contents of a file into a string
$filename = "svn/ChangeLog";
$handle = fopen($filename, "r");
// $contents = fread($handle, filesize($filename));
$contents = fread($handle, 30000);
$contents = preg_replace("/^(.*\d{4}-\d{2}-\d{2}.*?\n).*$/sm", "\\1<br>...<br>\n", $contents);
$contents = preg_replace("/#(\d+)/", "<a href=\"http://bugzilla.gnome.org/show_bug.cgi?id=\\1\">#\\1</a>", $contents);
$contents = preg_replace("/(<.+?>)\n+(.+?)\n+(\d{4}-\d{2}-\d{2})/s", "\\1\n<table width=\"100%\" border=0><tr><td width=\"40\">&nbsp;</td><td>\n\t\\2</td></tr></table><br>\n\\3", $contents);
$contents = preg_replace("/^(\d{4}-\d{2}-\d{2})(.+?)<(.+?)\@(.+?)>\s*$/m", "<font color=\"#ff0000\"><b>\\1</b></font> <font color=\"#008800\"><i><b>\\2</b></i></font> &lt;<i><b>\\3<script language=javascript>document.write(\"&#64;\");</script><noscript>_at_</noscript>\\4</b></i>&gt;", $contents);
$contents = preg_replace("/^\s*\*(.+?)\:/sm", "<br>* <font color=\"#aa00aa\">\\1:</font> ", $contents);
$contents = preg_replace("/\=\=[\=]+([^\=]+?)\=\=[\=]+/sm", "\n<h3>=== \\1 ===</h3>\n", $contents);
fclose($handle);
print($contents);
?>
</p>
.synopsis, .classsynopsis {
background: #eeeeee;
border: solid 1px #aaaaaa;
padding: 0.5em;
}
.programlisting {
background: #eeeeff;
border: solid 1px #aaaaff;
padding: 0.5em;
}
.variablelist {
padding: 4px;
margin-left: 3em;
}
.navigation {
background: #ffeeee;
border: solid 1px #ffaaaa;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.navigation a {
color: #770000;
}
.navigation a:visited {
color: #550000;
}
.navigation .title {
font-size: 200%;
}
/* Basic tags */
body {
margin: 0px;
background-color: white;
font-family: sans-serif;
color: black;
}
#body {
margin: 90px 230px 0px 10px;
padding: 0px;
}
a img {
border: 0px;
}
/* Anchors */
a {
color: #0000ff;
}
a:visited {
color: #551a8b;
}
a:active {
color: #ff0000;
}
/* Basic classes */
.none { /* to add paragraph spacing to various elements for ttys */
margin: 0px;
padding: 0px;
}
.invisible { /* stuff that should appear when this css isn't used */
margin: 0px;
border: 0px;
padding: 0px;
height: 0px;
visibility: hidden;
}
.left {
margin: 10px;
padding: 0px;
float: left;
}
.right {
margin: 10px;
padding: 0px;
float: right;
}
.center {
text-align: center;
}
/* Common page elements: Header, footer, etc. */
#logo {
position: absolute;
top: 10px;
left: 10px;
border: 0px;
z-index: 10;
width: 64px;
height: 64px;
}
#logo a img {
width: 64px;
height: 64px;
}
#hdr {
position: absolute;
z-index: 5;
top: 0px;
left: 0px;
right: 0px;
width: 100%;
height: 48px;
text-align: right;
background-color: #e3ffc3;
border-bottom: 1px solid #807d74;
}
#banner {
position: absolute;
z-index: 10;
top: 0px;
right: 0px;
border: 0px;
width: 300px;
height: 48px;
}
#banner a img {
width: 300px;
height: 48px;
}
#hdrNav {
position: absolute;
top: 54px;
left: 0px;
margin-left: 84px;
text-align: left;
vertical-align: middle;
font-size: small;
}
#hdrNav a {
color: #000000;
}
#hdrTitle {
height: 48px;
padding: 10px 10px 0px 0px;
font-weight: bold;
}
/* Search thingy */
#search {
font-size: small;
margin-bottom: 10px;
padding: 10px;
background-color: #dddddd;
}
#search input {
border: 1px solid #666666;
background-color: #ffffff;
vertical-align: middle;
}
/* Sidebar */
#sidebar {
position: absolute;
top: 140px;
right: 0px;
width: 230px;
/*margin-right: 10px;*/
padding-right: 10px;
padding-bottom: 0px;
padding-left: 1ex;
border-left: 1px dashed #dddddd;
background-color: #ffffff;
}
#sidebar p {
margin-top: 0px;
padding-left: 10px;
padding-right: 10px;
}
#sidebar p.section {
text-align: center;
font-weight: bold;
padding-top: 3px;
padding-bottom: 3px;
color: #999999;
background-color: #eeeeee;
}
#sidebar ul {
margin: 0em;
margin-bottom: 15px;
padding-left: 10px;
padding-right: 10px;
list-style-type: none;
}
#sidebar ul ul {
padding-left: 2em;
padding-right: 0em;
list-style-type: square;
}
/* Copyright footer */
#copyright {
text-align: center;
font-size: small;
clear: both;
margin-top: 10px;
padding: 5px 0px 5px 0px;
color: #aaaaaa;
}
#copyright a {
color: #aaaaff;
}
#copyright a:visited {
color: #ffaaaa;
}
/* News Sections */
p.newsitem {
clear: left;
margin-bottom: 20px;
}
p.newsitem img.newsicon {
float: left;
margin: 0px 10px 10px 10px;
border: 0px;
}
/* Generic Classes */
div.code {
background-color: #e0e0e0;
color: #000000;
white-space: pre;
font-family: monospace;
}
body {
margin: 0px;
padding: 0px;
font-family: sans-serif;
background: white url(star.png) -100px -200px no-repeat;
height: 101%;
}
#page {
margin: 0px;
padding: 0px;
}
div.in-column {
margin: 0 0 2em 1em;
float: right;
max-width: 12em;
}
hr {
color: #888;
background: #888;
border: 0;
height: 1px;
width: 90%;
text-align: center;
clear: both;
}
div.body {
clear: both;
}
div.sidebar {
position: absolute;
text-align: left;
right: 0px;
top: 60px;
width: 27ex;
padding-left: 1ex;
border-left: 1ex solid #eee;
margin-top: 4em;
}
div.sidebar h2 {
margin-top: 0;
padding: 5px 2ex 5px 2ex;
background: url(t.png) top left repeat-y;
font-size: 100%;
}
ul.toc {
padding: 0;
padding-left: 20px;
margin-left: 0;
margin-right: 10px;
list-style: none;
}
ul.toc li {
list-style: circle;
}
ul.toc li a {
text-decoration: none;
color: black;
}
ul.toc li a:hover {
text-decoration: underline;
}
#general {
list-style: none;
background: #2E3436 url(general_bg.png) 0 100% repeat-x;
text-align: right;
padding: 0 1ex;
margin: 0;
font-size: 70%;
}
#general li {
display: inline;
background: url(general_separator.png) 0 0 no-repeat;
padding-top: 10px;
padding-bottom: 8px;
margin-left: 0px;
margin-top: 0px;
}
#general li a {
font-weight: bold;
color: #FFFFFF;
margin: 0 2ex;
text-decoration: none;
line-height: 30px;
}
#general li a:hover {
text-decoration: underline;
}
#general .home {
float: left;
background: url(general_separator.png) 100% 0 no-repeat;
padding-top: 0;
padding-bottom: 0;
}
#general .home a {
float: left;
background: url(foot.png) 7px 50% no-repeat;
margin-left: 0;
padding-left: 27px;
}
#header {
background: #729FCF url(anjuta-logo.png) 15px 10px no-repeat;
float: left;
width: 100%;
font-size: 75%;
}
#header h1 {
margin: 0;
margin-left: 85px;
padding-top: 25px;
font-size: 200%;
color: #eeeeec;
}
#tabs {
background: url(bar.png) 0 100% repeat-x;
width: 100%;
float: left;
margin: 0;
padding: 0;
}
#portal-globalnav {
float: right;
list-style: none;
margin: 0;
margin-right: 3ex;
}
#portal-globalnav li {
float: left;
margin: 0;
margin-left: 0.2ex;
font-size: 2ex;
}
#portal-globalnav li a:hover {
color: #111111;
}
#portal-globalnav li a {
float: left;
text-decoration: none;
color: #555555;
background: url(tab_left.png) 0 0 no-repeat;
padding: 7px 0 7px 7px;
border-bottom: 2px solid #CCCCCC;
}
#portal-globalnav li span {
background: url(tab_right.png) 100% 0 no-repeat;
padding: 7px 28px 7px 19px;
}
#portal-globalnav li.selected a {
color: #3566A5;
background: url(tab_left.png) 0 -57px no-repeat;
border-bottom: none;
padding-top: 8px;
padding-bottom: 8px;
}
#portal-globalnav li.selected a span {
background: url(tab_right.png) 100% -57px no-repeat;
padding-top: 8px;
padding-bottom: 8px;
}
/* page content */
div#content {
clear: both;
padding: 1em;
margin: 1em;
}