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

Source for file en.inc.php

Documentation is available at en.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",
  66.           "Ein Tag im Datum kann nicht gleich Null sein.\\t\\n"
  67.          ."Daher findet eine Korrektur auf Eins statt."
  68.         );
  69.  
  70.  /**
  71.   * The error message that appears if the user put in a day greater than 28 on
  72.   * february of a non leap year.
  73.   *
  74.   * Put "' + year + '" (whithout double quoting) to the string, that the script
  75.   * can concatenate the input year to the error message.
  76.   */
  77.          "JS_ERR_DAY_GREATER_THAN_28_IN_FEBUARY_OF_A_NON_LEAP_YEAR",
  78.          "Der Monat Febuar hat(te) im Jahre ' + year + ' maximal 28 Tage,\\n"
  79.         ."daher wird der Tag-Wert auf 28 zur%FCckgestellt.\\t\\t"
  80.        );
  81.  /**
  82.   * The error message that appears if the user put in a day greater than 30 on
  83.   * a month that only has 30 days.
  84.   *
  85.   * Put "' + errMonth + '" (whithout double quoting) to the string, that the
  86.   * script can concatenate the input month to the error message.
  87.   */
  88.          "JS_ERR_DAY_GREATER_THAN_30_MSG",
  89.          "Der Monat ' + errMonth + ' hat maximal 30 Tage, daher wird\\n"
  90.         ."der Tag-Wert auf 30 zur%FCckgestellt.\\t\\t"
  91.        );
  92.  
  93. ?>

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