Skip to content

Commit

Permalink
Fixing some problems in manuals and docs, change xml-style tags and f…
Browse files Browse the repository at this point in the history
…ixing problems in materia medica"
  • Loading branch information
henri-hulski committed Jun 13, 2014
1 parent 1d004ca commit 29efb5d
Show file tree
Hide file tree
Showing 50 changed files with 223 additions and 223 deletions.
4 changes: 2 additions & 2 deletions doc/de/info.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
<?php echo _("Info"); ?>
</h1>
<nav class="content">
<h1>
<h2>
<?php echo _("Contents"); ?>
</h1>
</h2>
<ul>
<li><a href="#version">Programmversion</a></li>
<li><a href="#changelog">Changelog</a></li>
Expand Down
4 changes: 2 additions & 2 deletions doc/en/agpl3.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
$meta_description = "AGPLv3 License";
include("help/layout/$skin/header.php");
?>
<h1 style="text-align: center;">GNU AFFERO GENERAL PUBLIC LICENSE</h1>
<h2 style="text-align: center;">GNU AFFERO GENERAL PUBLIC LICENSE</h2>
<p style="text-align: center;">Version 3, 19 November 2007</p>

<p>Copyright &copy; 2007 Free Software Foundation,
Inc. &lt;<a href="http://fsf.org/">http://fsf.org/</a>&gt;
<br />
<br>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.</p>

Expand Down
32 changes: 16 additions & 16 deletions forms/materia_medica.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
if(url_exists($url_provings) && !empty($url_provings_main)) {
echo (" <li><strong>" . _("Systematics and provings:") . " </strong><span class='gray'><b>$rem_name</b> " . _("at") . " <a href='$url_provings' target='_blank'>provings.info</a>.</span></li>\n");
}
echo (" <li><strong>" . _("More links and information:") . " </strong><span class='gray'><b>$rem_name</b> " . _("at") . " <a href='materia-medica.php?rem=$rem_short&lang=$lang' target='_blank'>OpenHomeo.org</a>.</span></li>\n");
echo (" <li><strong>" . _("More links and information:") . " </strong><span class='gray'><b>$rem_name</b> " . _("at") . " <a href='materia-medica.php?rem=$rem_short&amp;lang=$lang' target='_blank'>OpenHomeo.org</a>.</span></li>\n");
echo (" </ul>\n");

$query = "SELECT $materia_tbl.rem_related, $materia_tbl.rem_incomp, $materia_tbl.rem_antidot, $materia_tbl.rem_note, $materia_tbl.rem_description, $materia_tbl.src_id, sources.src_title FROM $materia_tbl, sources WHERE $materia_tbl.rem_id = $rem_id AND $materia_tbl.src_id = sources.src_id AND ($materia_tbl.rem_related != '' || $materia_tbl.rem_incomp != '' || $materia_tbl.rem_antidot != '' || $materia_tbl.rem_note != '' || $materia_tbl.rem_description != '') ORDER BY sources.src_title";
Expand All @@ -102,15 +102,15 @@
echo (" <li><strong>" . _("Antidotes:") . " </strong><span class='gray'>$rem_info[2]</span></li>\n");
}
if (!empty($rem_info[3])) {
$rem_info[3] = str_replace("\r\n", "<br />", $rem_info[3]);
$rem_info[3] = str_replace("\r", "<br />", $rem_info[3]);
$rem_info[3] = str_replace("\n", "<br />", $rem_info[3]);
$rem_info[3] = str_replace("\r\n", "<br>", $rem_info[3]);
$rem_info[3] = str_replace("\r", "<br>", $rem_info[3]);
$rem_info[3] = str_replace("\n", "<br>", $rem_info[3]);
echo (" <li><strong>" . _("preparation / origin / synonyms:") . " </strong><span class='gray'>$rem_info[3]</span></li>\n");
}
if (!empty($rem_info[4])) {
$rem_info[4] = str_replace("\r\n", "<br />", $rem_info[4]);
$rem_info[4] = str_replace("\r", "<br />", $rem_info[4]);
$rem_info[4] = str_replace("\n", "<br />", $rem_info[4]);
$rem_info[4] = str_replace("\r\n", "<br>", $rem_info[4]);
$rem_info[4] = str_replace("\r", "<br>", $rem_info[4]);
$rem_info[4] = str_replace("\n", "<br>", $rem_info[4]);
echo (" <li><strong>" . _("general description of the remedy:") . " </strong><span class='gray'>$rem_info[4]</span></li>\n");
}
echo (" </ul>\n");
Expand All @@ -129,9 +129,9 @@
echo (" <h4>&nbsp;&nbsp;" . _("general") . "</h4>\n");
echo (" <ul class='blue'>\n");
$leadsymptoms[0] = preg_replace('/\s*;\s*/u', ';', $leadsymptoms[0]);
$leadsymptoms[0] = str_replace("\r\n", "<br />", $leadsymptoms[0]);
$leadsymptoms[0] = str_replace("\r", "<br />", $leadsymptoms[0]);
$leadsymptoms[0] = str_replace("\n", "<br />", $leadsymptoms[0]);
$leadsymptoms[0] = str_replace("\r\n", "<br>", $leadsymptoms[0]);
$leadsymptoms[0] = str_replace("\r", "<br>", $leadsymptoms[0]);
$leadsymptoms[0] = str_replace("\n", "<br>", $leadsymptoms[0]);
$leadsymptoms[0] = preg_replace('/\s\s+/u', ' ', $leadsymptoms[0]); // entferne überzähligen whitespace
$rem_leadsym_general = explode(";", $leadsymptoms[0]);
foreach ($rem_leadsym_general as $value) {
Expand All @@ -143,9 +143,9 @@
echo (" <h4>&nbsp;&nbsp;" . _("mind") . "</h4>\n");
echo (" <ul class='blue'>\n");
$leadsymptoms[1] = preg_replace('/\s*;\s*/u', ';', $leadsymptoms[1]);
$leadsymptoms[1] = str_replace("\r\n", "<br />", $leadsymptoms[1]);
$leadsymptoms[1] = str_replace("\r", "<br />", $leadsymptoms[1]);
$leadsymptoms[1] = str_replace("\n", "<br />", $leadsymptoms[1]);
$leadsymptoms[1] = str_replace("\r\n", "<br>", $leadsymptoms[1]);
$leadsymptoms[1] = str_replace("\r", "<br>", $leadsymptoms[1]);
$leadsymptoms[1] = str_replace("\n", "<br>", $leadsymptoms[1]);
$leadsymptoms[1] = preg_replace('/\s\s+/u', ' ', $leadsymptoms[1]);
$rem_leadsym_mind = explode(";", $leadsymptoms[1]);
foreach ($rem_leadsym_mind as $value) {
Expand All @@ -157,9 +157,9 @@
echo (" <h4>&nbsp;&nbsp;" . _("Body") . "</h4>\n");
echo (" <ul class='blue'>\n");
$leadsymptoms[2] = preg_replace('/\s*;\s*/u', ';', $leadsymptoms[2]);
$leadsymptoms[2] = str_replace("\r\n", "<br />", $leadsymptoms[2]);
$leadsymptoms[2] = str_replace("\r", "<br />", $leadsymptoms[2]);
$leadsymptoms[2] = str_replace("\n", "<br />", $leadsymptoms[2]);
$leadsymptoms[2] = str_replace("\r\n", "<br>", $leadsymptoms[2]);
$leadsymptoms[2] = str_replace("\r", "<br>", $leadsymptoms[2]);
$leadsymptoms[2] = str_replace("\n", "<br>", $leadsymptoms[2]);
$leadsymptoms[2] = preg_replace('/\s\s+/u', ' ', $leadsymptoms[2]);
$rem_leadsym_body = explode(";", $leadsymptoms[2]);
foreach ($rem_leadsym_body as $value) {
Expand Down
2 changes: 1 addition & 1 deletion forms/reversed_rep.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
</tr>
</table>
<div class="clear"></div>
<input id='remId' type='hidden' value='<?php echo $revrep->rem_id; ?>'>
<input id='revRemId' type='hidden' value='<?php echo $revrep->rem_id; ?>'>
<br>
</form>
<div class = 'select'>
Expand Down
6 changes: 3 additions & 3 deletions help/de/datadmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@
</h3>
<p>
Zum <strong>Bearbeitungsformular</strong> kommt man über das <img alt="" src="../../<?php echo(EDIT_ICON);?>" width="16" height="16"><strong>-Symbol</strong> vor jedem Tabelleneintrag und zum <strong>Einfügeformular</strong> über <strong><em>"Einfügen"</em></strong> im <strong>Menü</strong> ober- und unterhalb der Tabelle.<br>
Der <strong>Unterschied</strong> zwischen den beiden Formularen besteht darin, dass im <strong>Bearbeitungsformular</strong> die Daten des entsprechenden Satzes <strong>voreingetragen</strong> sind und dass man über <strong><em>"<< Vorheriger"</em></strong> bzw. <strong><em>"Nächster >>"</em></strong> zum vorhergehenden bzw. nachfolgenden Satz <strong>springen</strong> kann.
Der <strong>Unterschied</strong> zwischen den beiden Formularen besteht darin, dass im <strong>Bearbeitungsformular</strong> die Daten des entsprechenden Satzes <strong>voreingetragen</strong> sind und dass man über <strong><em>"&lt;&lt; Vorheriger"</em></strong> bzw. <strong><em>"Nächster >>"</em></strong> zum vorhergehenden bzw. nachfolgenden Satz <strong>springen</strong> kann.
</p>
<p>
<div>
Die <strong>Pflichtfelder</strong> sind mit einem <strong>Sternchen(*)</strong> vor dem Feldnamen <strong>gekennzeichnet</strong>.<br>
Es gibt drei Arten von Feldern:
<ul>
Expand All @@ -203,7 +203,7 @@
<strong>Hinweise zum Ausfüllen</strong> der einzelnen Felder findest du hinter den Feldern.<br>
<strong>Näheres zu den einzelnen Tabellen</strong> findest du oben in den jeweiligen Tabellen-Kapiteln.<br>
Wenn das Formular <strong>fertig ausgefüllt</strong> ist schickst du es über <strong><em>"Speichern"</em></strong> bzw. <strong><em>"Neuen Satz einfügen"</em></strong> ab. Der Satz wird dann <strong>in die Datenbank</strong> übernommen.
</p>
</div>
<br><span class="rightFlow"><a href="#up" title="Zum Seitenanfang"><img src="../../<?php echo(ARROW_UP_ICON);?>" alt="Zum Seitenanfang"></a></span><br>
<?php
include("help/layout/$skin/footer.php");
Expand Down
42 changes: 21 additions & 21 deletions help/de/expresstool_tut.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
include("help/layout/$skin/header.php");
?>

<style media="all"><!--
<style scoped><!--
div.story {font-family:arial,sans-serif;}
.synth {
font-family:arial,sans-serif;
Expand Down Expand Up @@ -75,7 +75,7 @@
<h3 style ="font-family: Times, serif;font-size:22px;">&raquo;Nehmen wir an, deine Patientin bekommt Schnupfen durch Blumen.&laquo;</h3>
<p>In deinem Synthesis 9.1 findest du im Kapitel Nase auf Seite 571 die passende Rubrik:</p>
<div class="synth">
<span style="color: #660033;" ><b>Schnupfen:</b></span> ...<br />
<span style="color: #660033;" ><b>Schnupfen:</b></span> ...<br>
&bull; <span style="color: #b27f99;" >Blumen,</span> durch (Gerüche - Rosen): <b>ALL-C</b><span style="font-size:0.8em">k</span><span style="color: #660033;" ><b>&bull;</b></span> sabad* sang*
</div>
<h3>Im Expresstool machst du folgendes:</h3>
Expand All @@ -89,32 +89,32 @@
<div class="ohp">
<p>s. 571 Schnupfen &gt; Blumen, durch (Gerüche - Rosen): all-c-4@#k,sabad-1*,sang-1*</p></div>
<h3>Erläuterung</h3>
Als Erstes wird die Symptom-Rubrik beschrieben<br />
Als Erstes wird die Symptom-Rubrik beschrieben<br>
<b>Zur Symptom-Rubrik gibt es 5 Details:</b>
<ol style="list-style-type:decimal">
<li><b>Seite</b> (die Seite deines Buches, auf der die Rubrik steht)<br />
<li><b>Seite</b> (die Seite deines Buches, auf der die Rubrik steht)<br>
Schreibe: <span class="ohp">s.</span> für Seite, dann die Seitenzahl: <span class="ohp">571</span> </li>
<li><b>Symptom-Rubrik</b><br />
<i>wobei du vor jede Unterrubrik eine "schließende spitze Klammer" <span class="ohp">&gt;</span> als Trennung schreibst.</i><br />
im Synthesis werden Unterubriken 1-7 durch folgende Zeichen Abgegrenzt:<br />
<span class="synth"><b>&bull; , - , -- , &gt; , &raquo; , - , -- </b></span> schreibe dafür jeweils: <span class="ohp">&gt;</span><br />
der durchbrochene Strich <span class="synth">&brvbar;</span> ist im Synthesis ebenfalls ein Rubrik-Trenner, er wird verwendet, wenn die Elternrubrik keine Mittel enthält. Für dieses Zeichen schreibe auch: <span class="ohp">&gt;</span><br />
In unserem Beispiel kommt die spitze Klammer vor <b>Blumen</b>,<br />
<li><b>Symptom-Rubrik</b><br>
<i>wobei du vor jede Unterrubrik eine "schließende spitze Klammer" <span class="ohp">&gt;</span> als Trennung schreibst.</i><br>
im Synthesis werden Unterubriken 1-7 durch folgende Zeichen Abgegrenzt:<br>
<span class="synth"><b>&bull; , - , -- , &gt; , &raquo; , - , -- </b></span> schreibe dafür jeweils: <span class="ohp">&gt;</span><br>
der durchbrochene Strich <span class="synth">&brvbar;</span> ist im Synthesis ebenfalls ein Rubrik-Trenner, er wird verwendet, wenn die Elternrubrik keine Mittel enthält. Für dieses Zeichen schreibe auch: <span class="ohp">&gt;</span><br>
In unserem Beispiel kommt die spitze Klammer vor <b>Blumen</b>,<br>
das sieht dann so aus: <span class="ohp">Schnupfen &gt; Blumen, durch</span></li>
<li><b>Künzlipunkt</b> für die Symptom-Rubrik<br />
im Synthesis <span class="synth"><b>&bull;</b></span><br />
<li><b>Künzlipunkt</b> für die Symptom-Rubrik<br>
im Synthesis <span class="synth"><b>&bull;</b></span><br>
wenn angegeben, schreibe: <span class="ohp">@</span></li>
<li><b>Querverweise</b><br />
<li><b>Querverweise</b><br>
Ist ein Querverweis angegeben, schreibe die Rubriken in Klammern hinter die Symptom-Rubrik: <span class="ohp">(Gerüche - Rosen)</span></li>
<li><b>zum Abschluss</b> der Symptom-Rubrik<br />
<li><b>zum Abschluss</b> der Symptom-Rubrik<br>
schreibe einen Doppelpunkt: <span class="ohp">:</span></li>
</ol>
Darauf folgen alle Mittel-Angaben getrennt durch Kommas.
<p><b>Zu jeder Mittel-Angabe gibt es 4 Details.</b></p>
<ol style="list-style-type:decimal">
<li><b>Mittel-Kürzel</b><br /> du schreibst den Kurznamen des Mittels, wie er in deinem Buch steht <span class="ohp">all-c</span></li>
<li><b>Mittel-Wertigkeit</b><br /> du schreibst ein Minus als Trenner <span class="ohp">-</span> und dann die Wertigkeit als Zahl <span class="ohp">4</span></li>
<li><b>Mittel-Status</b><br /> es gibt 7 Statuszeichen
<li><b>Mittel-Kürzel</b><br> du schreibst den Kurznamen des Mittels, wie er in deinem Buch steht <span class="ohp">all-c</span></li>
<li><b>Mittel-Wertigkeit</b><br> du schreibst ein Minus als Trenner <span class="ohp">-</span> und dann die Wertigkeit als Zahl <span class="ohp">4</span></li>
<li><b>Mittel-Status</b><br> es gibt 7 Statuszeichen
<ol>
<li><b>**</b> = mehrfach bestätigt</li>
<li><b>*</b> = bestätigt (im Synthesis = <span class="synth"><b>*</b></span> )</li>
Expand All @@ -125,14 +125,14 @@
<li><b> _</b> = ungenügend bestätigt</li>
</ol>
Für unser Beispiel schreibe <span class="ohp">@</span> für den Künzli-Punkt welcher im Synthesis so dargestellt ist: <span class="synth">&bull;</span></li>
<li><b>Die Mittel-Referenz</b><br /> ist eine Referenz angegeben, schreibe erst eine Raute als Trenner <span class="ohp">#</span> und dann das Kürzel der Quelle bzw des Autors, in unserem Fall <span class="ohp">k</span> was im Synthesis für Kent James Tyler steht.</li>
<li><b>Die Mittel-Referenz</b><br> ist eine Referenz angegeben, schreibe erst eine Raute als Trenner <span class="ohp">#</span> und dann das Kürzel der Quelle bzw des Autors, in unserem Fall <span class="ohp">k</span> was im Synthesis für Kent James Tyler steht.</li>
</ol>
<p>Dem Beispiel folgend hast du das 1. Mittel nun vollständig beschrieben: <span class="ohp">all-c-4@#k</span></p>
<p>
da noch zwei weitere Mittel in der Rubrik sind, fügst du die jetzt noch hinzu, wobei vor jedem weiteren Mittel ein Komma als Trenner zu schreiben ist.<br />Du schreibst also noch:<span class="ohp">,sabad-1*,sang-1*</span></p>
da noch zwei weitere Mittel in der Rubrik sind, fügst du die jetzt noch hinzu, wobei vor jedem weiteren Mittel ein Komma als Trenner zu schreiben ist.<br>Du schreibst also noch:<span class="ohp">,sabad-1*,sang-1*</span></p>
<p>Jetzt drückst du den Button <span class="ohp">Abschicken</span></p>
<p>danach werden dir zum Vergleich Dublikationsmöglichkeiten mit vorhandenen Rubriken angezeigt, zum Beispiel so:<br />
<img class="ohp" src="http://www.openhomeo.org/content/img/duplizierung.gif" alt="Duplizierung" /><br /><br />
<p>danach werden dir zum Vergleich Dublikationsmöglichkeiten mit vorhandenen Rubriken angezeigt, zum Beispiel so:<br>
<img class="ohp" src="http://www.openhomeo.org/content/img/duplizierung.gif" alt="Duplizierung" /><br><br>
Wenn du sicher bist, das die neue Rubrik noch nicht vorhanden ist, und du keinen Schreibfehler gemacht hast, drücke den Button <span class="ohp" >Trotzdem einfügen</span></p>
<h3>Schon bist du FERTIG</h3>
und kannst nun die Symptom-Rubrik in der Repertorisierung mit auswerten.
Expand Down
6 changes: 3 additions & 3 deletions help/en/datadmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@
</h3>
<p>
You can reach the <strong>edition form</strong> from the <img alt="" src="../../<?php echo(EDIT_ICON);?>" width="16" height="16"><strong>-Symbol</strong> in front of each table row and the insert form from <strong><em>"Insert"</em></strong> in the <strong>menue bar</strong>.<br>
The difference between the two form is, that the insert form is a blank form and in the edit form you find the data of the current record with the possibility to jump with <strong><em>"<< Previous"</em></strong> to the previous and with <strong><em>"Next >>"</em></strong> to the next record.
The difference between the two form is, that the insert form is a blank form and in the edit form you find the data of the current record with the possibility to jump with <strong><em>"&lt;&lt; Previous"</em></strong> to the previous and with <strong><em>"Next >>"</em></strong> to the next record.
</p>
<p>
<div>
<strong>Mandatory fields</strong> are signed by an <strong>asterisk (*)</strong> before the field name.<br>
There're 3 types of fields:
<ul>
Expand All @@ -202,7 +202,7 @@
</ul>
You find <strong>hints to fill out the fields</strong> behind the fields.<br>
<strong>Details for each table</strong> you find in the corresponding table chapter.
</p>
</div>
<br><span class="rightFlow"><a href="#up" title="To the top of the page"><img src="../../<?php echo(ARROW_UP_ICON);?>" alt="To the top of the page"></a></span><br>
<?php
include("help/layout/$skin/footer.php");
Expand Down
2 changes: 1 addition & 1 deletion help/en/expresstool.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<li><strong>Author:</strong> The source author.</li>
<li><strong>Title:</strong> The source title.</li>
<li><strong>Year:</strong> Specify the publication year in the form '<strong>1902</strong>', '<strong>1783-1785</strong>' or '<strong>1988-</strong>'.</li>
<li><strong>Language:</strong> The language code from the languages table (e.g. '<strong>en</strong>' for English, '<strong>de</strong>' for German, etc.). If the language doesn't exists you first have to <a href="../../datadmin.php?function=show_insert_form&amp;table_name=languages">add it to the languages table</a></a>.</li>
<li><strong>Language:</strong> The language code from the languages table (e.g. '<strong>en</strong>' for English, '<strong>de</strong>' for German, etc.). If the language doesn't exists you first have to <a href="../../datadmin.php?function=show_insert_form&amp;table_name=languages">add it to the languages table</a>.</li>
<li><strong>Maximum grade:</strong> The maximum grade of the source. A number from <strong>1-5</strong>.</li>
<li><strong>Source type:</strong> Allowed values are (write both, German and English):
<ul>
Expand Down
Loading

0 comments on commit 29efb5d

Please sign in to comment.