Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 663 → Rev 664

/website/index-help.php
0,0 → 1,22
<h1>SvarDOS help documentation</h1>
<p class="copyr">no documentation is perfect, this one is no exception</p>
 
<p style="text-align: center;">Select the help language you wish to consult:<br><br>
 
<?php
 
$list = scandir('./help/');
 
foreach ($list as $l) {
if ((!is_dir("help/{$l}")) || (!preg_match('/help-../', $l))) continue;
$lang = strtoupper(substr($l, 5));
echo '<a style="font-size: 1.2em;" href="phpamb.php?fname=help/' . $l . '">' . $lang . "</a><br>\n";
}
 
?>
 
<br><br>
 
Wanna help to improve the SvarDOS help documentation? <a href="phpamb.php?fname=help/help-en&amp;f=contact.ama">Get in touch with us</a>!
 
</p>
/website/index.php
10,7 → 10,7
</head>
<body>
 
<p style="margin: 0 0 -1em auto; font-size: 0.9em; text-align: right;"><a href="/">Main page</a> I <a href="?p=repo">Packages</a> I <a href="phpamb.php?fname=help/help-en">Help</a><!-- I <a href="?p=nls">NLS</a>--></p>
<p style="margin: 0 0 -1em auto; font-size: 0.9em; text-align: right;"><a href="/">Main page</a> I <a href="?p=repo">Packages</a> I <a href="?p=help">Help</a><!-- I <a href="?p=nls">NLS</a>--></p>
 
<?php
 
21,6 → 21,8
readfile('index-nls.htm');
} else if ($p == 'repo') {
include 'index-repo.php';
} else if ($p == 'help') {
include 'index-help.php';
} else if ($p == 'test') {
include 'index-main.php';
} else { // else display the front page