Permalink
Browse files

Move default letter to external 'default_letter.md'

  • Loading branch information...
1 parent 5263d25 commit 64121b82c27aef9a4faed8392ba4513ffe921744 @besi committed Jul 14, 2011
Showing with 32 additions and 31 deletions.
  1. +31 −0 src/markdownletter/default_letter.md
  2. +1 −31 src/markdownletter/index.php
View
31 src/markdownletter/default_letter.md
@@ -0,0 +1,31 @@
+<!-- Made with MarkdownLetter - http://unicate.ch/markdownletter -->
+
+> My Name
+Street
+Zip City
+
+> **Registered Mail**
+Some Company Inc.
+Street Nr.
+Place
+Zip City
+Country
+
+> My Place, <?php echo date("d.m.Y"); ?>
+
+
+
+Lorem ipsum dolor sit amet
+====================
+
+Dear Sirs,
+
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt labore et dolore magna aliquyam erat, sed diam voluptua.
+
+At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna erat, sed diam voluptua.
+
+Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
+
+> Best regards,
+
+> My Name
View
32 src/markdownletter/index.php
@@ -76,37 +76,7 @@ function MDL(){};
<div id="letter">
<textarea name="markdownText" id="markdownText" rows="" cols="">
-<!-- Made with MarkdownLetter - http://unicate.ch/markdownletter -->
-
-> My Name
-Street
-Zip City
-
-> **Registered Mail**
-Some Company Inc.
-Street Nr.
-Place
-Zip City
-Country
-
-> My Place, <?php echo date("d.m.Y"); ?>
-
-
-
-Lorem ipsum dolor sit amet
-====================
-
-Dear Sirs,
-
-Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt labore et dolore magna aliquyam erat, sed diam voluptua.
-
-At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna erat, sed diam voluptua.
-
-Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
-
-> Best regards,
-
-> My Name
+<?php include('default_letter.md') ?>
</textarea>
</div>

0 comments on commit 64121b8

Please sign in to comment.