Skip to content

Commit dc164bd

Browse files
committed
Changed patrons page to foundation page
1 parent e14a063 commit dc164bd

2 files changed

Lines changed: 21 additions & 20 deletions

File tree

generate/about.php

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
require('../config.php');
44
$benchmark_start = microtime_float();
5-
5+
66
// make troubleshooting page
77
$source = CONTENTDIR."static";
8-
$path = BASEDIR;
9-
10-
11-
// update the files on the server via SVN
12-
13-
// look for the .subversion folder somewhere else
14-
// otherwise will go looking for /home/root/.subversion or some other user
15-
$where = CONTENTDIR . 'static';
16-
putenv('HOME=' . CONTENTDIR);
17-
18-
8+
$path = BASEDIR;
9+
10+
11+
// update the files on the server via SVN
12+
13+
// look for the .subversion folder somewhere else
14+
// otherwise will go looking for /home/root/.subversion or some other user
15+
$where = CONTENTDIR . 'static';
16+
putenv('HOME=' . CONTENTDIR);
17+
18+
1919
`cd $where && /usr/bin/svn update`;
2020

2121
// make troubleshooting page
@@ -27,13 +27,13 @@
2727
writeFile('about/index.html', $page->out());
2828
#copydirr($source.'/images', $path.'/images');
2929

30-
$page = new Page("Patrons", "Patrons");
31-
$page->content(file_get_contents($source."patrons.html"));
32-
writeFile('about/patrons/index.html', $page->out());
33-
30+
$page = new Page("Foundation", "Foundation");
31+
$page->content(file_get_contents($source."foundation.html"));
32+
writeFile('about/foundation/index.html', $page->out());
33+
3434
$page = new Page("People", "People");
3535
$page->content(file_get_contents($source."people.html"));
36-
writeFile('about/people/index.html', $page->out());
36+
writeFile('about/people/index.html', $page->out());
3737

3838

3939
$benchmark_end = microtime_float();

templates/template.nav.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
'About' => array('/about/', 1),
2929
'Overview' => array('/about/', 2),
3030
'People' => array('/about/people/', 2),
31-
'Patrons' => array('/about/patrons/', 2),
31+
'Foundation' => array('/about/foundation/', 2),
3232

3333
'FAQ' => array('http://wiki.processing.org/w/FAQ', 1),
3434

@@ -41,7 +41,7 @@ function navigation($section = '')
4141
global $translation;
4242
//$tr = $translation->navigation; // Removed 22 Sep 2011 --CR
4343

44-
$abo = array('About', 'Overview', 'People', 'Patrons');
44+
$abo = array('About', 'Overview', 'People', 'Foundation');
4545
$ref = array('Reference', 'Language', 'A-Z', 'Libraries', 'Tools', 'Environment');
4646
$learn = array('Learning', 'Tutorials', 'Basics', 'Topics', '3D', 'Library', 'Books');
4747

@@ -69,7 +69,8 @@ function navigation($section = '')
6969
$html .= "\t\t\t\t\t" . l('Books', $section == 'Books') . "<br><br>\n";
7070

7171
$html .= "\t\t\t\t\t" . l('Overview', $section == 'About') . "<br> \n";
72-
$html .= "\t\t\t\t\t" . l('People', $section == 'People') . "<br><br>\n";
72+
$html .= "\t\t\t\t\t" . l('People', $section == 'People') . "<br>\n";
73+
$html .= "\t\t\t\t\t" . l('Foundation', $section == 'Foundation') . "<br><br>\n";
7374

7475
$html .= "\t\t\t\t\t" . l('Shop', $section == 'Shop') . "<br><br>\n";
7576

0 commit comments

Comments
 (0)