Changeset 1744

Show
Ignore:
Timestamp:
09/10/2008 08:12:50 PM (2 months ago)
Author:
driehle
Message:

Fixed #196 + lang files updated

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lang/lang-admin.de.inc.php

    r1740 r1744  
    196196"e_db_content"             => "Bitte Tabellennamen fÃŒr Inhalte eingeben", 
    197197"e_db_comments"            => "Bitte Tabellennamen fÃŒr Kommentare eingeben", 
     198"e_db_prefix"              => "Das KÃŒrzel, welches als Prefix fÃŒr die Tabellennamen verwendet werden soll, darf nur aus alphanumerischen Zeichen bestehen. Sie können die Angabe auch leer lassen.", 
    198199"e_db_occurred"            => "Datenbankfehler", 
    199200"e_db_is"                  => "Es ist ein Fehler auf ".JLOG_PATH." aufgetreten. Der Fehler lautet:", 
  • trunk/lang/lang-admin.en.inc.php

    r1718 r1744  
    196196"e_db_content"              => "Please enter the name of the contents table.", 
    197197"e_db_comments"             => "Please enter the name of the comments table.", 
     198"e_db_prefix"               => "The prefix for table names must not contain anything but alpha-numeric characters. However, you can leave option empty.", 
    198199"e_db_occurred"             => "Database error", 
    199200"e_db_is"                   => "A error occured in ".JLOG_PATH.". It is:", 
     
    234235"cat_duplicate"             => "Another category is already using this URL.", 
    235236 
    236 "update_successfull"        => "The update has succeeded. <a href='../index.php'>Have fun!</a>", 
     237"update_start"              => 'Perform update!', 
     238"update_successfull_part"   => 'This update has been performed successfully.', 
     239"update_successfull"        => "All updates have been performed. <a href='../'>Have fun!</a>", 
     240"update_failure"            => "Ein Update ist fehlgeschlagen.", 
    237241"pingback_closed"           => "Close pingbacks for this entry.", 
    238242 
  • trunk/scripts/settings.class.php

    r1738 r1744  
    425425    if(empty($this->d['jlog_db'])) $errors[] = $this->l['admin']['e_db']; 
    426426    if(empty($this->d['jlog_db_url'])) $errors[] = $this->l['admin']['e_db_url']; 
     427    // Fix of bug #196, prefix should only contain alphanumeric values, can be empty! 
     428    if(!preg_match('/^[a-zA-Z0-9_]*$/', $this->d['jlog_db_prefix'])) $errors[] = $this->l['admin']['e_db_prefix']; 
    427429 
    428430    return $errors;