[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/design/standard/templates/settings/ -> settings_validation.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  {section show=$validation_error}
   3  <div class="warning">
   4  <h2>Input did not validate</h2>
   5      {switch match=$validation_error_type}
   6      {case match='empty'}
   7          <p>{$validation_field} is empty</p>
   8      {/case}
   9      {case match='variable_exists'}
  10          <p>Variable <em>{$setting_name|wash}</em> already exists in section <em>{$block}</em></p>
  11          <p>Please choose another name that is not already taken</p>
  12      {/case}
  13      {case match='contain_spaces'}
  14          <p>{$validation_field|wash} is not allowed to contain spaces</p>
  15      {/case}
  16      {case match='write_error'}
  17          <p>>Writing setting <em>{$setting_name|wash}</em> to <em>{$filename}</em> failed</p>>
  18          <p>Make sure you have proper permissions to {$path} and try again.</p>
  19      {/case}
  20      {case match='not_valid_name'}
  21          <p>Name contains illegal character(s). </p>
  22          <p>Name should only contain A-Z and 0-9.</p>
  23      {/case}
  24      {case match='not_string'}
  25          <p>{$validation_field} does not contain a valid string. </p>
  26          <p>If the string is all numbers use the 'numeric' type instead.</p>
  27      {/case}
  28      {case match='not_numeric'}
  29          <p>{$validation_field} does not contain a valid numeric</p>
  30          <p>A valid numeric can only contain 0-9 and one . (dot). </å>
  31      {/case}
  32      {case match='not_array'}
  33          <p>{$validation_field} does not contain valid array</p>
  34      {/case}
  35      {case}
  36          <p>{$validation_error_message}</p>
  37      {/case}
  38      {/switch}
  39  </div>
  40  {/section}


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7