Imported Upstream version 0.72
This commit is contained in:
26
documentation/include/dict_de.php
Normal file
26
documentation/include/dict_de.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
# dvdisaster: German homepage dictionary
|
||||
# Copyright (C) 2004-2009 Carsten Gnörlich
|
||||
#
|
||||
# UTF-8 trigger: äöüß
|
||||
|
||||
# German dictionary for some phrases used in dvdisaster.php
|
||||
|
||||
$trans_version="Version";
|
||||
|
||||
$trans_to_internet="Zur Internet-Version";
|
||||
$trans_to_hoster="Übersicht (auf SourceForge.net)";
|
||||
|
||||
$trans_back="Zurück";
|
||||
$trans_screen_shot="Bildschirmfoto";
|
||||
|
||||
$trans_contents="Inhalt";
|
||||
$trans_news="Neuigkeiten";
|
||||
$trans_hosting="Diese Seiten liegen auf";
|
||||
|
||||
$trans_fdl="Die unveränderte Wiedergabe und Verteilung dieses gesamten Textes in beliebiger Form ist gestattet, sofern dieser Hinweis erhalten bleibt.";
|
||||
$trans_copyright="Copyright 2004-2009 Carsten Gnörlich.";
|
||||
$trans_modified="Die Informationen in diesem Handbuch beziehen sich auf die Originalversion von dvdisaster und sind möglicherweise nicht zutreffend.";
|
||||
|
||||
$trans_old_version="Alte Dokumentation (V0.70)";
|
||||
?>
|
||||
26
documentation/include/dict_en.php
Normal file
26
documentation/include/dict_en.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
# dvdisaster: English homepage dictionary
|
||||
# Copyright (C) 2004-2009 Carsten Gnörlich
|
||||
#
|
||||
# UTF-8 trigger: äöüß
|
||||
|
||||
# English dictionary for some phrases used in dvdisaster.php
|
||||
|
||||
$trans_version="Version";
|
||||
|
||||
$trans_to_internet="To the Internet version";
|
||||
$trans_to_hoster="Summary (at SourceForge.net)";
|
||||
|
||||
$trans_back="Back";
|
||||
$trans_screen_shot="Screen shot";
|
||||
|
||||
$trans_contents="Contents";
|
||||
$trans_news="News";
|
||||
$trans_hosting="Hosted by";
|
||||
|
||||
$trans_fdl="Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.";
|
||||
$trans_copyright="Copyright 2004-2009 Carsten Gnörlich.";
|
||||
$trans_modified="Information in this handbook relates to the original version of dvdisaster and may not be applicable.";
|
||||
|
||||
$trans_old_version="Old documentation (V0.70)";
|
||||
?>
|
||||
26
documentation/include/dict_ru.php
Normal file
26
documentation/include/dict_ru.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
# dvdisaster: Russian homepage dictionary
|
||||
# Copyright (C) 2007-2009 Igor Gorbounov
|
||||
#
|
||||
# UTF-8 trigger: äöüß
|
||||
|
||||
# Russian dictionary for some phrases used in dvdisaster.php
|
||||
|
||||
$trans_version="Версия";
|
||||
|
||||
$trans_to_internet="К интернет-версии";
|
||||
$trans_to_hoster="Краткое изложение (на SourceForge.net)";
|
||||
|
||||
$trans_back="Назад";
|
||||
$trans_screen_shot="Снимок с экрана";
|
||||
|
||||
$trans_contents="Содержание";
|
||||
$trans_news="Новости";
|
||||
$trans_hosting="Размещено на";
|
||||
|
||||
$trans_fdl="Дословное копирование и распространение всей этой статьи разрешается на любом носителе, при условии, что это уведомление сохраняется.";
|
||||
$trans_copyright="Copyright 2007-2009 Igor Gorbounov.";
|
||||
$trans_modified="Информация в этом руководстве относится к первоначальной версии программы dvdisaster и не может быть применима.";
|
||||
|
||||
$trans_old_version="Старая документация (V0.70)";
|
||||
?>
|
||||
15
documentation/include/dvdisaster.css
Normal file
15
documentation/include/dvdisaster.css
Normal file
@@ -0,0 +1,15 @@
|
||||
body { font-family:Helvetica,Arial,sans-serif,Verdana }
|
||||
|
||||
a:link { font-weight:normal; color:#0000ff; text-decoration:none }
|
||||
a:visited { font-weight:normal; color:#0000ff; text-decoration:none }
|
||||
a:hover { font-weight:normal; background-color:#e0e0e0; color:#0000FF; text-decoration:none }
|
||||
a:active { font-weight:normal; background-color:#e0e0e0; color:#0000FF; text-decoration:none }
|
||||
a:focus { font-weight:normal; background-color:#e0e0e0; color:#0000FF; text-decoration:none }
|
||||
|
||||
table.download {width:100%; background-color:#f0f0f0}
|
||||
table.thumbnail {border-width:1px; border-style:solid; border-color:#000000; background-color:#e0e0ff}
|
||||
table.screenshot {width:100%; border-width:0px; background-color:#e0e0ff}
|
||||
|
||||
a.active {color:#0000ff; text-decoration:none }
|
||||
a.passive {color:#808080; text-decoration:none }
|
||||
|
||||
438
documentation/include/dvdisaster.php
Normal file
438
documentation/include/dvdisaster.php
Normal file
@@ -0,0 +1,438 @@
|
||||
<?php
|
||||
|
||||
# dvdisaster: Homepage layout funtions
|
||||
# Copyright (C) 2007-2009 Carsten Gnörlich
|
||||
|
||||
require("version.php");
|
||||
|
||||
# Preset some global variables
|
||||
|
||||
$project_at_hoster="http://sourceforge.net/projects/dvdisaster";
|
||||
|
||||
# Find out from where we have been called;
|
||||
# the file name is important for creation of the index.
|
||||
# Also we extract the current locale from the path which is supposed
|
||||
# to be .../LC_php/file.php. Maybe this is too hackish...
|
||||
|
||||
$script_path = current(get_included_files());
|
||||
$script_file = basename($script_path);
|
||||
$script_name = basename($script_path, ".php");
|
||||
$script_dir = dirname($script_path);
|
||||
$script_lang = substr($script_dir, strlen($script_dir)-2, 2);
|
||||
|
||||
# Load the appropriate localization file
|
||||
|
||||
require("dict_" . $script_lang . ".php");
|
||||
|
||||
#
|
||||
# Create the HTML header ----------------------------------------------------------
|
||||
#
|
||||
|
||||
function start_html()
|
||||
{ echo "<html>\n";
|
||||
echo "<head>\n";
|
||||
echo " <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n";
|
||||
echo " <title>Overview</title>\n";
|
||||
echo " <link rel=\"stylesheet\" type=\"text/css\" href=\"../include/dvdisaster.css\">\n";
|
||||
|
||||
echo "</head>\n";
|
||||
echo "<body>\n";
|
||||
}
|
||||
|
||||
###
|
||||
### Head bar ------------------------------------------------------------------------
|
||||
###
|
||||
# This includes the "dvdisaster version ..." header. Depending on the mode we
|
||||
# - provide the link to the online version for local documentation, or
|
||||
# - create the language switch for the online publication.
|
||||
|
||||
function lang_link($lang_name, $lang, $spacing)
|
||||
{ global $script_file;
|
||||
global $script_lang;
|
||||
|
||||
if($spacing) $space=" ";
|
||||
else $space="";
|
||||
|
||||
if(strcmp($lang, $script_lang))
|
||||
echo " <a href=\"../${lang}/$script_file\">$lang_name</a> $space\n";
|
||||
else echo " $lang_name $space\n";
|
||||
}
|
||||
|
||||
function begin_page()
|
||||
{ global $cooked_version;
|
||||
global $trans_to_hoster;
|
||||
global $trans_to_internet;
|
||||
global $trans_version;
|
||||
global $project_at_hoster;
|
||||
global $script_lang;
|
||||
global $mode;
|
||||
|
||||
# Begin HTML file
|
||||
|
||||
start_html();
|
||||
|
||||
# Write the title header
|
||||
|
||||
echo "\n<!--- Title header --->\n";
|
||||
echo "<table width=\"100%\" cellpadding=\"0\" border=\"0\">\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td align=\"left\">\n";
|
||||
echo " <font size=\"+3\"><b>dvdisaster</b></font>\n";
|
||||
echo " <i>$trans_version $cooked_version</i>\n";
|
||||
|
||||
if(!strcmp($mode, "local"))
|
||||
{ echo " </td>\n";
|
||||
echo " <td align=\"right\">\n";
|
||||
echo " <font size=\"+3\"> </font><a href=\"http://dvdisaster.net/$script_lang/\">$trans_to_internet</a>\n";
|
||||
lang_link("", "de", 0); # TODO: This is a quick hack
|
||||
lang_link("", "en", 0); # to produce all locales for
|
||||
lang_link("", "ru", 0); # Windows. Do it better!
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo "</table>\n";
|
||||
|
||||
# Write the language chooser depending on mode
|
||||
|
||||
echo "\n<!--- Language chooser or separator --->\n";
|
||||
echo "<table width=\"100%\" cellpadding=\"0\" border=\"0\">\n";
|
||||
|
||||
echo " <tr bgcolor=\"#000000\">\n";
|
||||
echo " <td colspan=\"2\" width=\"100%\"><img width=1 height=1 alt=\"\"></td>\n";
|
||||
echo " </tr>\n";
|
||||
|
||||
if(strcmp($mode, "local"))
|
||||
{
|
||||
echo " <tr>\n";
|
||||
echo " <td align=\"left\"><a href=\"$project_at_hoster\">$trans_to_hoster</a></td>\n";
|
||||
echo " <td align=\"right\">\n";
|
||||
# lang_link("Česky", "cs");
|
||||
lang_link("Deutsch", "de", 1);
|
||||
lang_link("English", "en", 1);
|
||||
lang_link("Russian", "ru", 0);
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr bgcolor=\"#000000\">\n";
|
||||
echo " <td colspan=\"2\" width=\"100%\"><img width=1 height=1 alt=\"\"></td>\n";
|
||||
echo " </tr>\n";
|
||||
}
|
||||
|
||||
# Both modes get the separator
|
||||
|
||||
echo " <tr><td colspan=\"2\" width=\"100%\" height=\"10\">\n";
|
||||
echo " <img width=1 height=1 alt=\"\">\n";
|
||||
echo " </td></tr>\n";
|
||||
echo "</table>\n";
|
||||
|
||||
# Insert the navigation column
|
||||
|
||||
create_navigation();
|
||||
}
|
||||
|
||||
###
|
||||
### Navigation column ----------------------------------------------------------------
|
||||
###
|
||||
|
||||
#
|
||||
# Helper functions for creating the table of contents
|
||||
#
|
||||
|
||||
function section($section_name)
|
||||
{ global $toc_section;
|
||||
global $toc_mode;
|
||||
|
||||
$toc_section = $section_name;
|
||||
$toc_mode = "section";
|
||||
}
|
||||
|
||||
function subsection($subsection_name)
|
||||
{ global $toc_subsection;
|
||||
global $toc_mode;
|
||||
|
||||
$toc_subsection = $subsection_name;
|
||||
$toc_mode = "subsection";
|
||||
}
|
||||
|
||||
function subsubsection($subsubsection_name)
|
||||
{ global $toc_subsubsection;
|
||||
global $toc_mode;
|
||||
|
||||
$toc_subsubsection = $subsubsection_name;
|
||||
$toc_mode = "subsubsection";
|
||||
}
|
||||
|
||||
function toc_link($msg, $lang)
|
||||
{ static $separator=0;
|
||||
global $script_lang;
|
||||
global $script_name;
|
||||
global $toc_section;
|
||||
global $toc_subsection;
|
||||
global $toc_subsubsection;
|
||||
global $toc_mode;
|
||||
|
||||
if(strcmp($lang, $script_lang)) return; # wrong locale
|
||||
|
||||
# Decide whether this is the currently unfolded (sub)section
|
||||
# and render it accordingly
|
||||
|
||||
if(!strcmp($toc_mode, "section"))
|
||||
{ $target=$toc_section . ".php";
|
||||
|
||||
# Draw the separator between sections (except for the first one)
|
||||
|
||||
if(!$separator) $separator=1;
|
||||
else echo " <tr><td></td><td></td><td height=\"10\"></td></tr>\n";
|
||||
|
||||
if(!strcmp($toc_section, $script_name))
|
||||
echo " <tr><td colspan=3><font size=\"-1\">$msg</font></td></tr>\n";
|
||||
else echo " <tr><td colspan=3><font size=\"-1\"><a href=\"$target\">$msg</a></font></td></tr>\n";
|
||||
}
|
||||
|
||||
if( !strcmp($toc_mode, "subsection")
|
||||
&& !strncmp($toc_section, $script_name, strlen($toc_section)))
|
||||
{ $target=$toc_subsection . ".php";
|
||||
|
||||
if(!strcmp($toc_subsection, $script_name))
|
||||
echo " <tr><td valign=\"top\" width=\"1%\">·</td><td colspan=2><font size=\"-1\">$msg</font></td></tr>\n";
|
||||
else echo " <tr><td valign=\"top\" width=\"1%\">·</td><td colspan=2><font size=\"-1\"><a href=\"$target\">$msg</a></font></td></tr>\n";
|
||||
}
|
||||
|
||||
# Using strlen($toc_section)+1 is inconvenient as it hardcodes the
|
||||
# section/subsection10/subsubsection11 scheme. Improve!
|
||||
|
||||
if( !strcmp($toc_mode, "subsubsection")
|
||||
&& !strncmp($toc_subsection, $script_name, strlen($toc_section)+1))
|
||||
{ $target=$toc_subsubsection . ".php";
|
||||
|
||||
if(!strcmp($toc_subsubsection, $script_name))
|
||||
echo " <tr><td valign=\"top\"></td><td>-</td><td><font size=\"-1\">${msg}</font></td></tr>\n";
|
||||
else echo " <tr><td valign=\"top\"></td><td>-</td><td><font size=\"-1\"><a href=\"$target\">$msg</a></font></td></tr>\n";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function de($msg) {toc_link($msg, "de"); };
|
||||
function en($msg) {toc_link($msg, "en"); };
|
||||
function ru($msg) {toc_link($msg, "ru"); };
|
||||
|
||||
#
|
||||
# Helper functions for creating the news pages and -flash
|
||||
#
|
||||
|
||||
function news_headline($headline)
|
||||
{ global $news_flash;
|
||||
|
||||
if(!$news_flash) echo " <h3>$headline</h3>\n";
|
||||
}
|
||||
|
||||
function news_item($date, $headline, $body)
|
||||
{ global $news_flash;
|
||||
global $news_counter;
|
||||
|
||||
$news_counter++;
|
||||
|
||||
if($news_flash)
|
||||
{ echo " <font size=\"-1\">$date</font> <br>\n";
|
||||
echo " <font size=\"-1\">\n";
|
||||
echo " <a href=\"news.php#item$news_counter\">$headline</a>\n";
|
||||
echo " </font><p>\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo " <table width=\"90%\">\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td><a href=\"#item$news_counter\"></a><b>${headline}</b></td>\n";
|
||||
echo " <td align=\"right\">$date</td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " </table>\n";
|
||||
?>
|
||||
<table width="90%" cellpadding="0" cellspacing="0">
|
||||
<tr bgcolor="#000000" height=1>
|
||||
<td width="100%" height=1><img width=1 height=1 alt=""></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="90%" cellpadding="0" cellspacing="0">
|
||||
<tr bgcolor="#ffffff" height=5>
|
||||
<td width="100%" height=1><img width=1 height=1 alt=""></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
echo " <table width=\"90%\">\n";
|
||||
echo " <tr><td>\n";
|
||||
echo "$body\n";
|
||||
echo " </td></tr>\n";
|
||||
echo " </table>\n";
|
||||
echo " <pre> </pre>\n";
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# Actual navigation assembly
|
||||
#
|
||||
|
||||
function create_navigation()
|
||||
{ global $trans_contents;
|
||||
global $script_file;
|
||||
global $mode;
|
||||
|
||||
if(!strcmp($script_file, "index.php"))
|
||||
$body_width = "57%";
|
||||
else $body_width = "77%";
|
||||
?>
|
||||
|
||||
<!--- Main body (Navigation, actual page content, optional news column) --->
|
||||
<table width="100%" cellspacing=0>
|
||||
<tr>
|
||||
<!--- Navigation --->
|
||||
<td bgcolor="#f0f0f0" valign="top" width="20%">
|
||||
<table width="100%" cellpadding="10">
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
echo " <font size=\"-1\"><b>$trans_contents</b></font>\n";
|
||||
?>
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr bgcolor="#000000">
|
||||
<td width="100%"><img width=1 height=1 alt=""></td>
|
||||
</tr>
|
||||
</table><p>
|
||||
|
||||
<table width="100%">
|
||||
<?php require("toc.php");?>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td></td>
|
||||
|
||||
<!--- Actual page contents --->
|
||||
<?php
|
||||
echo " <td valign=\"top\" width=\"$body_width\" rowspan=\"2\">\n";
|
||||
|
||||
# body contents must be appended here from calling page
|
||||
}
|
||||
|
||||
###
|
||||
### Footer ----------------------------------------------------------------------------
|
||||
###
|
||||
# Closes the body table. Optionally includes the news flash.
|
||||
# Appends the copyright and redistribution terms.
|
||||
#
|
||||
|
||||
function end_page()
|
||||
{ global $script_file;
|
||||
global $trans_copyright;
|
||||
global $trans_modified;
|
||||
global $trans_news;
|
||||
global $trans_fdl;
|
||||
global $trans_hosting;
|
||||
global $modified_source;
|
||||
global $news_flash;
|
||||
global $script_lang; /* for old version link */
|
||||
global $trans_old_version;
|
||||
|
||||
# Close the body table
|
||||
|
||||
echo " </td> <!--- end of page contents --->\n";
|
||||
|
||||
# Insert news flash
|
||||
|
||||
if(!strcmp($script_file, "index.php"))
|
||||
{
|
||||
?>
|
||||
|
||||
<!--- news flash column --->
|
||||
<td></td>
|
||||
<td bgcolor="#e0e0ff" valign="top" width="20%">
|
||||
<table width="100%" cellpadding="10"><tr><td>
|
||||
<?php
|
||||
echo " <font size=\"-1\"><b>$trans_news</b></font>\n";
|
||||
?>
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr bgcolor="#000000">
|
||||
<td width="100%"><img width=1 height=1 alt=""></td>
|
||||
</tr>
|
||||
</table><p>
|
||||
<table width="100%">
|
||||
<tr><td>
|
||||
<?php
|
||||
$news_flash=1;
|
||||
require("news.php");
|
||||
?>
|
||||
</td></tr>
|
||||
</table>
|
||||
</table>
|
||||
</td> <!--- end of news flash column--->
|
||||
<?php
|
||||
}
|
||||
# Reference to our hoster
|
||||
/*
|
||||
</tr>
|
||||
<tr valign="bottom">
|
||||
<td bgcolor="#f0f0f0" align="center">
|
||||
<?php echo " <font size=\"-2\">$trans_hosting</font><br>\n"; ?>
|
||||
<img src="../images/mokelbude.png"
|
||||
width="125" height="37" border="0" alt="insider">
|
||||
</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
*/
|
||||
?>
|
||||
|
||||
</tr>
|
||||
<tr valign="bottom">
|
||||
<td bgcolor="#f0f0f0">
|
||||
<?php
|
||||
$old_lang = strcmp($script_lang, "ru") ? $script_lang : "en";
|
||||
echo " <table cellpadding=\"10\"><tr><td><a href=\"http://dvdisaster.net/legacy/$old_lang/index.html\"><font size=\"-1\">$trans_old_version</font></a></td></tr></table>\n";
|
||||
?>
|
||||
</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
|
||||
</tr>
|
||||
</table> <!--- end of main body table --->
|
||||
|
||||
<?php
|
||||
# Create the footer
|
||||
?>
|
||||
|
||||
<!--- Page footer --->
|
||||
<table width="100%" cellpadding="0" border="0">
|
||||
<tr><td colspan="2" width="100%" height="10"><img width=1 height=1 alt=""></td>
|
||||
</tr>
|
||||
<tr bgcolor="#000000"><td colspan="2" width="100%"><img width=1 height=1 alt=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<font size="-1">
|
||||
<?php
|
||||
echo " <i> $trans_copyright<br>\n";
|
||||
echo " $trans_fdl\n";
|
||||
?>
|
||||
</i>
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#000000"><td colspan="2" width="100%"><img width=1 height=1 alt=""></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
}
|
||||
|
||||
#
|
||||
# Special headings etc
|
||||
#
|
||||
|
||||
function howto_headline($headline, $subtitle, $image)
|
||||
{
|
||||
echo "<table width=\"100%\" bgcolor=\"#f0f0f0\">\n";
|
||||
echo "<tr><td><font size=\"+1\"><b>$headline</b></font></td>\n";
|
||||
echo "<td rowspan=\"2\" align=\"right\"><img src=\"$image\"></td></tr>\n";
|
||||
echo "<tr><td><i>$subtitle</i></td></tr>\n";
|
||||
echo "</table><p>\n";
|
||||
}
|
||||
?>
|
||||
26
documentation/include/footnote.php
Normal file
26
documentation/include/footnote.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
# dvdisaster homepage: Footnote functions
|
||||
# Copyright (C) 2007-2009 Carsten Gn<47>rlich
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA,
|
||||
# or direct your browser at http://www.gnu.org.
|
||||
|
||||
function footnote($symbol, $name, $content)
|
||||
{
|
||||
echo "<table width=\"30%\" cellpadding=\"0\"><tr bgcolor=\"#000000\"><td><img width=1 height=1 alt=\"\"></td></tr></table>\n";
|
||||
echo "<a name=\"$name\"><sup>$symbol)</sup>$content</a>\n";
|
||||
}
|
||||
?>
|
||||
189
documentation/include/screenshot.php
Normal file
189
documentation/include/screenshot.php
Normal file
@@ -0,0 +1,189 @@
|
||||
<?php
|
||||
# dvdisaster homepage: Screen shot helper routines
|
||||
# Copyright (C) 2007-2009 Carsten Gn<47>rlich
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA,
|
||||
# or direct your browser at http://www.gnu.org.
|
||||
|
||||
$screen_shot_counter = 0;
|
||||
|
||||
#
|
||||
# Screen shots for showing preferences windows
|
||||
#
|
||||
|
||||
function begin_screen_shot($caption, $image)
|
||||
{ global $screen_shot_counter;
|
||||
global $screen_shot_image;
|
||||
global $screen_shot_caption;
|
||||
global $screen_shot_expand;
|
||||
global $screen_shot_way;
|
||||
|
||||
$screen_shot_expand=$_GET["expand"];
|
||||
$screen_shot_way=$_GET["way"];
|
||||
$screen_shot_counter++;
|
||||
$screen_shot_image = $image;
|
||||
$screen_shot_caption = $caption;
|
||||
|
||||
echo "<!--- begin of screen shot --->\n";
|
||||
|
||||
# Screen version (large image)
|
||||
|
||||
if($screen_shot_counter == $screen_shot_expand)
|
||||
{ echo "<table class=\"screenshot\">\n";
|
||||
echo " <tr><td>\n";
|
||||
echo " <a name=\"snap$screen_shot_counter\"></a>\n";
|
||||
}
|
||||
|
||||
# Thumbnail version
|
||||
|
||||
else
|
||||
{ echo "<table>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td valign=\"top\">\n";
|
||||
}
|
||||
}
|
||||
|
||||
function end_screen_shot()
|
||||
{ global $screen_shot_counter;
|
||||
global $screen_shot_image;
|
||||
global $screen_shot_caption;
|
||||
global $screen_shot_expand;
|
||||
global $screen_shot_way;
|
||||
global $script_file;
|
||||
global $trans_screen_shot;
|
||||
|
||||
if($screen_shot_counter == $screen_shot_expand)
|
||||
{ echo " </td></tr>\n";
|
||||
echo " <tr><td align=\"center\">\n";
|
||||
if($screen_shot_way != "")
|
||||
echo " <a href=\"${script_file}?way=$screen_shot_way&#snap${screen_shot_counter}\">\n";
|
||||
else echo " <a href=\"${script_file}#snap${screen_shot_counter}\">\n";
|
||||
echo " <img src=\"images/$screen_shot_image\">\n";
|
||||
echo " </a>\n";
|
||||
echo " </td></tr>\n";
|
||||
echo " <tr><td align=\"center\">$trans_screen_shot: $screen_shot_caption</td></tr>\n";
|
||||
echo "</table>";
|
||||
echo "<pre> </pre>\n";
|
||||
}
|
||||
else
|
||||
{ echo " </td>\n";
|
||||
echo " <td>\n";
|
||||
echo " <a name=\"snap${screen_shot_counter}\"></a>\n";
|
||||
echo " <table class=\"thumbnail\" width=\"160px\">\n";
|
||||
echo " <tr><td><font size=\"-1\">$screen_shot_caption</font></td></tr>\n";
|
||||
if($screen_shot_way != "")
|
||||
echo " <tr><td><a href=\"${script_file}?way=$screen_shot_way&expand=${screen_shot_counter}#snap${screen_shot_counter}\">";
|
||||
else echo " <tr><td><a href=\"${script_file}?expand=${screen_shot_counter}#snap${screen_shot_counter}\">";
|
||||
echo "<img src=\"thumbnails/$screen_shot_image\"></a>";
|
||||
echo "</td></tr>\n";
|
||||
echo " </table>\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo "</table><p>\n";
|
||||
}
|
||||
|
||||
echo "<!--- end of screen shot --->\n";
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Smaller screen shots for the howtos
|
||||
#
|
||||
|
||||
function begin_howto_shot($caption, $image, $arrow)
|
||||
{ global $screen_shot_counter;
|
||||
global $screen_shot_image;
|
||||
global $screen_shot_caption;
|
||||
global $screen_shot_expand;
|
||||
global $screen_shot_arrow;
|
||||
global $screen_shot_way;
|
||||
|
||||
$screen_shot_expand=$_GET["expand"];
|
||||
$screen_shot_way=$_GET["way"];
|
||||
$screen_shot_counter++;
|
||||
$screen_shot_image = $image;
|
||||
$screen_shot_caption = $caption;
|
||||
$screen_shot_arrow = $arrow;
|
||||
|
||||
echo "<!--- begin of screen shot --->\n";
|
||||
|
||||
# Screen version (large image)
|
||||
|
||||
if($screen_shot_counter == $screen_shot_expand)
|
||||
{ echo "<table class=\"screenshot\">\n";
|
||||
echo " <tr><td>\n";
|
||||
echo " <a name=\"snap$screen_shot_counter\"></a>\n";
|
||||
}
|
||||
|
||||
# Thumbnail version
|
||||
|
||||
else
|
||||
{ echo "<table>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td width=\"200px\" align=\"center\">\n";
|
||||
echo " <a name=\"snap${screen_shot_counter}\"></a>\n";
|
||||
if($screen_shot_way != "")
|
||||
echo " <a href=\"${script_file}?way=$screen_shot_way&expand=${screen_shot_counter}#snap${screen_shot_counter}\">";
|
||||
else echo " <a href=\"${script_file}?expand=${screen_shot_counter}#snap${screen_shot_counter}\">";
|
||||
echo " <img src=\"thumbnails/$image\" border=\"0\">\n";
|
||||
if($screen_shot_arrow != "")
|
||||
echo " <br><img src=\"../images/$arrow\" border=\"0\">\n";
|
||||
echo " </a>\n";
|
||||
echo " </td><td> </td>\n";
|
||||
echo " <td valign=\"top\">\n";
|
||||
}
|
||||
}
|
||||
|
||||
function end_howto_shot()
|
||||
{ global $screen_shot_counter;
|
||||
global $screen_shot_image;
|
||||
global $screen_shot_caption;
|
||||
global $screen_shot_expand;
|
||||
global $screen_shot_way;
|
||||
global $screen_shot_arrow;
|
||||
global $script_file;
|
||||
global $trans_screen_shot;
|
||||
|
||||
if($screen_shot_counter == $screen_shot_expand)
|
||||
{ echo " </td></tr>\n";
|
||||
echo " <tr><td align=\"center\">\n";
|
||||
if($screen_shot_way != "")
|
||||
echo " <a href=\"${script_file}?way=$screen_shot_way&expand=0#snap${screen_shot_counter}\">\n";
|
||||
else echo " <a href=\"${script_file}?expand=0#snap${screen_shot_counter}\">\n";
|
||||
echo " <img src=\"images/$screen_shot_image\">\n";
|
||||
echo " </a>\n";
|
||||
echo " </td></tr>\n";
|
||||
echo " <tr><td align=\"center\">$trans_screen_shot: $screen_shot_caption</td></tr>\n";
|
||||
echo "</table>";
|
||||
|
||||
if($screen_shot_arrow != "")
|
||||
{ echo "<table>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td width=\"200px\" align=\"center\">\n";
|
||||
echo " <img src=\"../images/$screen_shot_arrow\" border=\"0\">\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo "</table>\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
{ echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo "</table><p>\n";
|
||||
}
|
||||
|
||||
echo "<!--- end of screen shot --->\n";
|
||||
}
|
||||
?>
|
||||
305
documentation/include/toc.php
Normal file
305
documentation/include/toc.php
Normal file
@@ -0,0 +1,305 @@
|
||||
|
||||
<?php
|
||||
# dvdisaster: Online doc table of contents (all languages)
|
||||
# Copyright (C) 2007-2009 The dvdisaster translation team
|
||||
#
|
||||
# UTF-8 trigger: äöüß
|
||||
|
||||
# News
|
||||
|
||||
section("news");
|
||||
de("Neuigkeiten");
|
||||
en("News");
|
||||
ru("Новости");
|
||||
|
||||
subsection("news2008");
|
||||
de("2008");
|
||||
en("2008");
|
||||
ru("2008");
|
||||
|
||||
subsection("news2007");
|
||||
de("2007");
|
||||
en("2007");
|
||||
ru("2007");
|
||||
|
||||
# Overview
|
||||
|
||||
section("index");
|
||||
de("Überblick");
|
||||
en("Overview");
|
||||
ru("Обзор");
|
||||
|
||||
subsection("index10");
|
||||
de("Beispiele für die Fehlerkorrektur");
|
||||
en("Examples of the error correction");
|
||||
ru("Примеры исправления ошибок");
|
||||
|
||||
subsection("index20");
|
||||
de("dvdisaster ergänzt Qualitäts-Analysen");
|
||||
en("dvdisaster complements quality scans");
|
||||
ru("dvdisaster дополняет проверки качества");
|
||||
|
||||
subsection("index30");
|
||||
de("Vor- und Nachteile von dvdisaster");
|
||||
en("Pro and con of dvdisaster");
|
||||
ru("dvdisaster: за и против");
|
||||
|
||||
# Howtos
|
||||
|
||||
section("howtos");
|
||||
de("Typische Anwendungen");
|
||||
en("Howtos");
|
||||
ru("Howto's");
|
||||
|
||||
subsection("howtos60");
|
||||
de("Das große Bild");
|
||||
en("The big picture");
|
||||
ru("Общая картина");
|
||||
|
||||
subsubsection("howtos61");
|
||||
de("Fehlerkorrektur");
|
||||
en("error correction");
|
||||
ru("исправление ошибок");
|
||||
|
||||
subsubsection("howtos62");
|
||||
de("richtige Anwendung");
|
||||
en("correct usage");
|
||||
ru("правильное использование");
|
||||
|
||||
subsubsection("howtos63");
|
||||
de("falsche Anwendung");
|
||||
en("incorrect usage");
|
||||
ru("неправильное использование");
|
||||
|
||||
subsection("howtos10");
|
||||
de("Datenträger auf Lesefehler prüfen");
|
||||
en("Scanning media for errors");
|
||||
ru("Поиск ошибок на носителях");
|
||||
|
||||
subsubsection("howtos11");
|
||||
de("Grundeinstellungen");
|
||||
en("Basic settings");
|
||||
ru("Основные настройки");
|
||||
|
||||
subsubsection("howtos12");
|
||||
de("Prüfung durchführen");
|
||||
en("Performing the test");
|
||||
ru("Выполнение проверки");
|
||||
|
||||
subsubsection("howtos13");
|
||||
de("Ergebnisse bewerten");
|
||||
en("Interpreting the results");
|
||||
ru("Объяснение результатов");
|
||||
|
||||
subsubsection("howtos14");
|
||||
de("Fortgeschrittene Einstellungen");
|
||||
en("Advanced settings");
|
||||
ru("Дополнительные настройки");
|
||||
|
||||
subsection("howtos20");
|
||||
de("Fehlerkorrektur-Daten als Datei erzeugen");
|
||||
en("Putting error correction data on a separate file");
|
||||
ru("Размещение данных для исправления ошибок в отдельном файле");
|
||||
|
||||
subsubsection("howtos21");
|
||||
de("Entscheidungshilfe");
|
||||
en("Decision help");
|
||||
ru("Помощь в принятии решения");
|
||||
|
||||
subsubsection("howtos22");
|
||||
de("Grundeinstellungen");
|
||||
en("Basic settings for reading");
|
||||
ru("Основные настройки для чтения");
|
||||
|
||||
subsubsection("howtos23");
|
||||
de("Fehlerkorrektur-Datei erzeugen");
|
||||
en("Creating the error correction file");
|
||||
ru("Создание файла для исправления ошибок");
|
||||
|
||||
subsubsection("howtos24");
|
||||
de("Fehlerkorrektur-Datei archivieren");
|
||||
en("Archiving error correction files");
|
||||
ru("Архивация файлов для исправления ошибок");
|
||||
|
||||
subsubsection("howtos25");
|
||||
de("Fortgeschrittene Einstellungen");
|
||||
en("Advanced settings");
|
||||
ru("Дополнительные параметры");
|
||||
|
||||
subsection("howtos30");
|
||||
de("Fehlerkorrektur-Daten auf dem Datenträger ablegen");
|
||||
en("Putting error correction data on the medium");
|
||||
ru("Размещение данных для исправления ошибок на носителе");
|
||||
|
||||
subsubsection("howtos31");
|
||||
de("Entscheidungshilfe");
|
||||
en("Decision help");
|
||||
ru("Помощь в принятии решения");
|
||||
|
||||
subsubsection("howtos32");
|
||||
de("Grundeinstellungen");
|
||||
en("Basic settings");
|
||||
ru("Основные параметры");
|
||||
|
||||
subsubsection("howtos33");
|
||||
de("Datenträger erzeugen");
|
||||
en("Creating the medium");
|
||||
ru("Создание носителя");
|
||||
|
||||
subsubsection("howtos34");
|
||||
de("Fortgeschrittene Einstellungen");
|
||||
en("Advanced settings");
|
||||
ru("Дополнительные параметры");
|
||||
|
||||
subsection("howtos40");
|
||||
de("Datenträger-Abbild rekonstruieren");
|
||||
en("Recovering media images");
|
||||
ru("Восстановление образов носителей");
|
||||
|
||||
subsubsection("howtos41");
|
||||
de("Grundeinstellungen");
|
||||
en("Basic settings");
|
||||
ru("Основные параметры");
|
||||
|
||||
subsubsection("howtos42");
|
||||
de("Abbild rekonstruieren");
|
||||
en("Recovering the image");
|
||||
ru("Восстановление образа");
|
||||
|
||||
subsubsection("howtos43");
|
||||
de("Fortgeschrittene Einstellungen");
|
||||
en("Advanced settings");
|
||||
ru("Дополнительные параметры");
|
||||
|
||||
subsection("howtos50");
|
||||
de("Informationen über Abbilder und Fehlerkorrektur-Daten anzeigen");
|
||||
en("Getting information about images and error correction data");
|
||||
ru("Получение информации об образах и данных для исправления ошибок");
|
||||
|
||||
subsubsection("howtos51");
|
||||
de("Informationen anzeigen");
|
||||
en("Show information");
|
||||
ru("Показать информацию");
|
||||
|
||||
subsubsection("howtos52");
|
||||
de("Ausgaben für Fehlerkorrektur-Dateien");
|
||||
en("Results for error correction files");
|
||||
ru("Результаты для файлов с данными для исправления ошибок");
|
||||
|
||||
subsubsection("howtos53");
|
||||
de("Ausgaben für erweiterte Abbilder");
|
||||
en("Results für augmented images");
|
||||
ru("Результаты для дополненных образов");
|
||||
|
||||
subsubsection("howtos59");
|
||||
de("Beispiele");
|
||||
en("Examples");
|
||||
ru("Примеры");
|
||||
|
||||
subsection("howtos90");
|
||||
de("Abbild-Kompatibilität überprüfen");
|
||||
en("Testing image compatibility");
|
||||
ru("Проверка совместимости образов");
|
||||
|
||||
subsubsection("howtos91");
|
||||
de("bei Fehlerkorrektur-Dateien");
|
||||
en("with error correction files");
|
||||
ru("с файлами для исправления ошибок");
|
||||
|
||||
subsubsection("howtos92");
|
||||
de("beim Ablegen von Fehlerkorrektur-Daten auf dem Datenträger");
|
||||
en("when augmenting images with error correction data");
|
||||
ru("при дополнении образов данными для исправления ошибок");
|
||||
|
||||
subsection("howtosa0");
|
||||
de("Bedienelemente");
|
||||
en("Dialogs and buttons");
|
||||
ru("Диалоги и кнопки");
|
||||
|
||||
subsubsection("howtosa1");
|
||||
de("Laufwerk auswählen");
|
||||
en("Drive selection");
|
||||
ru("Выбор привода");
|
||||
|
||||
subsubsection("howtosa2");
|
||||
de("Abbild-Datei auswählen");
|
||||
en("Image file selection");
|
||||
ru("Выбор файла образа");
|
||||
|
||||
subsubsection("howtosa3");
|
||||
de("Fehlerkorrektur-Datei auswählen");
|
||||
en("Error correction file selection");
|
||||
ru("Выбор файла для исправления ошибок");
|
||||
|
||||
subsubsection("howtosa4");
|
||||
de("Aktionen beginnen");
|
||||
en("Starting actions");
|
||||
ru("Начало действий");
|
||||
# Download
|
||||
|
||||
section("download");
|
||||
de("Herunterladen");
|
||||
en("Download");
|
||||
ru("Скачать");
|
||||
|
||||
subsection("download10");
|
||||
de("Systemvoraussetzungen");
|
||||
en("System requirements");
|
||||
ru("Системные требования");
|
||||
|
||||
subsection("download20");
|
||||
de("Digitale Unterschrift");
|
||||
en("Digital signature");
|
||||
ru("Цифровая подпись");
|
||||
|
||||
subsection("download30");
|
||||
de("Installation");
|
||||
en("Installation");
|
||||
ru("Установка");
|
||||
|
||||
#subsection("download40");
|
||||
# de("Alpha-/Entwicklerversionen");
|
||||
# en("Alpha (unstable) versions");
|
||||
# ru("Альфа (нестабильные) версии");
|
||||
|
||||
# Questions and Answers
|
||||
|
||||
section("qa");
|
||||
de("Fragen und Antworten");
|
||||
en("Questions and Answers");
|
||||
ru("Вопросы и ответы");
|
||||
|
||||
subsection("qa10");
|
||||
de("Technische Fragen");
|
||||
en("Technical Questions");
|
||||
ru("Технические вопросы");
|
||||
|
||||
subsection("qa20");
|
||||
de("Fehlermeldungen");
|
||||
en("Error messages");
|
||||
ru("Сообщения об ошибках");
|
||||
|
||||
# Feedback
|
||||
|
||||
section("feedback");
|
||||
de("Fehler berichten");
|
||||
en("Bug reporting");
|
||||
ru("Сообщения об ошибках");
|
||||
|
||||
if(strcmp($mode, "local"))
|
||||
{
|
||||
# Imprint
|
||||
|
||||
section("imprint");
|
||||
de("Impressum");
|
||||
en("Imprint");
|
||||
ru("Выходные данные");
|
||||
|
||||
# Privacy notice
|
||||
|
||||
section("privacy");
|
||||
de("Datenschutzhinweis");
|
||||
en("Privacy policy");
|
||||
ru("Политика конфиденциальности");
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user