Example #1
0
<?php

$page = new Page();
$page->setDescription(__('Frhed is an binary file editor for Windows. It is small but has many advanced features like ability to load big files partially.'));
$page->setKeywords(__('Frhed, free, hex editor, binary file, load partially, hexdump, compare'));
$page->addRssFeed('http://sourceforge.net/export/rss2_projnews.php?group_id=236485', __('Frhed News'));
$page->addRssFeed('http://sourceforge.net/export/rss2_projfiles.php?group_id=236485', __('Frhed File Releases'));
$page->printHead();
$page->printPara(__('Frhed is an binary file editor for Windows. It is small but has many advanced features like ability to load big files partially.'));
$page->printHeading(__('Features'));
?>
<ul>
  <li><?php 
__e('Editable file size limited only by available system memory');
?>
</li>
  <li><?php 
__e('Load files partially');
?>
</li>
  <li><?php 
__e('Export as hexdump to file or clipboard');
?>
</li>
  <li><?php 
__e('Search for any combination of text and binary values');
?>
</li>
  <li><?php 
__e('Compare files');
?>
Example #2
0
<?php

$page = new Page();
$page->addRssFeed('status_branch_rss.php', __('Frhed Translations Status (Stable Branch)'));
$page->addRssFeed('status_trunk_rss.php', __('Frhed Translations Status (Unstable Trunk)'));
$page->printHead(__('Translations'));
$page->printHeading(__('Translations'));
$page->printPara(__('We currently have Frhed translated into the languages listed below:'));
print "<ul>\n";
try {
    $status = new TranslationsStatus('status_trunk.xml');
    $languages = $status->getLanguagesArray();
    foreach ($languages as $language) {
        //for all languages...
        print "  <li>" . __($language) . "</li>\n";
    }
} catch (Exception $ex) {
    //If problems with translations status...
    print "  <li>" . __('English') . "</li>\n";
}
print "</ul>\n";
$page->printSubHeading(__('Status'));
$page->printPara(__('The following two pages inform you about the translations status of the stable and developer version of Frhed:'));
?>
<ul>
  <li><a href="status_branch.php"><?php 
__e('Stable Version (Branch)');
?>
</a> <?php 
$page->printRssFeedLink('status_branch_rss.php');
?>
Example #3
0
<?php

$page = new Page();
$page->addRssFeed('status_trunk_rss.php');
$page->printHead(__('Translations Status (Unstable Trunk)'));
$page->printRssHeading(__('Translations Status (Unstable Trunk)'), 'status_trunk_rss.php');
try {
    $status = new TranslationsStatus('status_trunk.xml');
    $status->svnUrl = 'http://frhed.svn.sourceforge.net/viewvc/frhed/trunk/Translations/';
    $status->printTOC();
    $status->printStatus();
    $status->printTranslators();
} catch (Exception $ex) {
    //If problems with translations status...
    print "<p>" . __('The translations status is currently not available...') . "</p>\n";
}
$page->printFoot();
Example #4
0
<?php

$page = new Page();
$page->addRssFeed('status_branch_rss.php');
$page->printHead(__('Translations Status (Stable Branch)'));
$page->printRssHeading(__('Translations Status (Stable Branch)'), 'status_branch_rss.php');
try {
    $status = new TranslationsStatus('status_branch.xml');
    $status->svnUrl = 'http://frhed.svn.sourceforge.net/viewvc/frhed/branches/R1_6/Translations/';
    $status->printTOC();
    $status->printStatus();
    $status->printTranslators();
} catch (Exception $ex) {
    //If problems with translations status...
    print "<p>" . __('The translations status is currently not available...') . "</p>\n";
}
$page->printFoot();