forms
[ class tree: forms ] [ index: forms ] [ all elements ]

Source for file de.inc.php

Documentation is available at de.inc.php

  1. <?php
  2.  /**
  3.   * @package forms
  4.   * @subpackage items
  5.   */
  6.  /**
  7.   * The regular expression to validate the input date.
  8.   */
  9.   define(
  10.           "JS_REGEXP_VALID_DATE",
  11.           "^\\d{1,2}\\.{1,1}\\d{1,2}\\.{1,1}\\d{4,4}$"
  12.         );
  13.  /**
  14.   * The the separator for the date digits.
  15.   */
  16.   define"JS_DATE_DIGIT_SEPARATOR""." );
  17.  /**
  18.   * The error message that appears if the user put in an incorrect date.
  19.   */
  20.   define(
  21.           "JS_ERR_INVALID_DATE_MSG",
  22.           "Bitte geben Sie ein g%FCltiges Geburtsdatum,\\t\\n"
  23.          ."in der Form TT.MM.JJJJ ein."
  24.         );
  25.  /**
  26.   * The error message that appears if the user put in a month greater than 31.
  27.   */
  28.   define(
  29.           "JS_ERR_DAY_GREATER_THAN_31_MSG",
  30.           "Ein Tag im Datum kann nicht gr%F6%DFer als 31 sein.\\t\\n"
  31.          ."Daher findet eine Korrektur auf 31 statt."
  32.         );
  33.  /**
  34.   * The error message that appears if the user put in a month equal to zero.
  35.   */
  36.   define(
  37.           "JS_ERR_MONTH_IS_ZERO_MSG",
  38.           "Ein Monat im Datum kann nicht gleich Null sein.\\t\\n"
  39.          ."Daher findet eine Korrektur auf Eins statt."
  40.         );
  41.  /**
  42.   * The error message that appears if the user put in a month greater than
  43.   * twelve.
  44.   */
  45.   define(
  46.           "JS_EER_MONTH_GREATER_THAN_TWELVE",
  47.           "Ein Monat im Datum kann nicht gr%F6%DFer als 12 sein.\\t\\n"
  48.          ."Daher findet eine Korrektur auf 12 statt."
  49.         );
  50.  /**
  51.   * The error message that appears if the user put in a day greater than 29 on
  52.   * february of a leap year.
  53.   *
  54.   * Put "' + year + '" (whithout double quoting) to the string, that the script
  55.   * can concatenate the input year to the error message.
  56.   */
  57.          "JS_ERR_DAY_GREATER_THAN_29_IN_FEBUARY_OF_A_LEAP_YEAR",
  58.          "Der Monat Februar hat(te) im Jahre ' + year + ' maximal 29 Tage,\\n"
  59.         ."daher wird der Tag-Wert auf 29 zur%FCckgestellt.\\t\\t"
  60.        );
  61.  /**
  62.   * The error message that appears if the user put in a day equal to zero.
  63.   */
  64.   define(
  65.           "JS_ERR_DAY_IS_ZERO_MSG",
  66.           "Ein Tag im Datum kann nicht gleich Null sein.\\t\\n"
  67.          ."Daher findet eine Korrektur auf Eins statt."
  68.         );
  69.  /**
  70.   * The error message that appears if the user put in a day greater than 28 on
  71.   * february of a non leap year.
  72.   *
  73.   * Put "' + year + '" (whithout double quoting) to the string, that the script
  74.   * can concatenate the input year to the error message.
  75.   */
  76.          "JS_ERR_DAY_GREATER_THAN_28_IN_FEBUARY_OF_A_NON_LEAP_YEAR",
  77.          "Der Monat Febuar hat(te) im Jahre ' + year + ' maximal 28 Tage,\\n"
  78.         ."daher wird der Tag-Wert auf 28 zur%FCckgestellt.\\t\\t"
  79.        );
  80.  /**
  81.   * The error message that appears if the user put in a day greater than 30 on
  82.   * a month that only has 30 days.
  83.   *
  84.   * Put "' + errMonth + '" (whithout double quoting) to the string, that the
  85.   * script can concatenate the input month to the error message.
  86.   */
  87.          "JS_ERR_DAY_GREATER_THAN_30_MSG",
  88.          "Der Monat ' + errMonth + ' hat maximal 30 Tage, daher wird\\n"
  89.         ."der Tag-Wert auf 30 zur%FCckgestellt.\\t\\t"
  90.        );
  91.  
  92. ?>

Documentation generated on Thu, 05 Jun 2008 19:11:13 +0200 by phpDocumentor 1.4.1