Allways export CATEGORY fields. Minir layout change in styles editor.

Sat, 25 Sep 2021 14:08:25 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 25 Sep 2021 14:08:25 +0200
changeset 779
67b1a07f4fd8
parent 778
e64fd38c469c
child 780
69545bdc2890

Allways export CATEGORY fields. Minir layout change in styles editor.

www/export_styles.php file | annotate | diff | comparison | revisions
www/profile_styles.php file | annotate | diff | comparison | revisions
--- a/www/export_styles.php	Sat Sep 25 10:42:54 2021 +0200
+++ b/www/export_styles.php	Sat Sep 25 14:08:25 2021 +0200
@@ -42,7 +42,7 @@
 	xmlwriter_text($xw, $row['name']);
 	xmlwriter_end_element($xw);
 
-	if (strlen($row['category'])) {
+//	if (strlen($row['category'])) {
 		xmlwriter_start_element($xw, 'CATEGORY');
 		xmlwriter_text($xw, $row['category']);
 		xmlwriter_end_element($xw);
@@ -50,7 +50,7 @@
 		xmlwriter_start_element($xw, 'CATEGORY_NUMBER');
 		xmlwriter_text($xw, $row['category_number']);
 		xmlwriter_end_element($xw);
-	}
+//	}
 
 	xmlwriter_start_element($xw, 'STYLE_LETTER');
 	xmlwriter_text($xw, $row['style_letter']);
--- a/www/profile_styles.php	Sat Sep 25 10:42:54 2021 +0200
+++ b/www/profile_styles.php	Sat Sep 25 14:08:25 2021 +0200
@@ -27,6 +27,10 @@
        <td align="left" style="vertical-align: top;"><input id="category_number" /></td>
       </tr>
       <tr>
+       <td align="right" style="vertical-align: top;">Profiel:</td>
+       <td align="left" colspan="3"><textarea id="profile"></textarea></td>
+      </tr>
+      <tr>
        <td align="right" style="vertical-align: top;">Opmerkingen:</td>
        <td align="left" colspan="3"><textarea id="notes"></textarea></td>
       </tr>
@@ -74,10 +78,6 @@
        <td align="left" style="vertical-align: top;"><input id="abv_max" /></td>
       </tr>
       <tr>
-       <td align="right" style="vertical-align: top;">Profiel:</td>
-       <td align="left" colspan="3"><textarea id="profile"></textarea></td>
-      </tr>
-      <tr>
        <td align="right" style="vertical-align: top;">Ingredienten:</td>
        <td align="left" colspan="3"><textarea id="ingredients"></textarea></td>
       </tr>

mercurial