Changeset 1603

Show
Ignore:
Timestamp:
11/10/2006 11:07:36 PM (2 years ago)
Author:
jeena
Message:

slash from categoriy url removed

Location:
trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/.htaccess

    r1575 r1603  
    55  RewriteCond %{REQUEST_FILENAME} !-f 
    66  RewriteCond %{REQUEST_FILENAME} !-d 
    7   RewriteRule "^cat/([a-z0-9_\-\.,/]+?)/?([0-9]{0,4})/?$" archive.php?cat=$1&y=$2 [QSA] 
     7  RewriteRule "^cat/([a-z0-9_\-\.,]+)/?([0-9]{0,4})/?$" archive.php?cat=$1&y=$2 [QSA] 
    88 
    99  # catches all archive links, month and year 
  • trunk/lang/lang-admin.inc.php

    r1577 r1603  
    218218 
    219219"cat_name"                 => "Name der Kategorie", 
    220 "cat_url"                  => "URL im Kategoriearchiv (nur a-z 0-9 _-,./ )", 
     220"cat_url"                  => "URL im Kategoriearchiv (nur a-z 0-9 _-,. )", 
    221221"cat_description"          => "Beschreibung der Kategorie, die im Archiv auftaucht", 
    222222"cat_new"                  => "Neue Kategorie anlegen", 
  • trunk/scripts/categories.class.php

    r1575 r1603  
    225225 
    226226        if(empty($form_input['url'])) $errors[] = $this->l['admin']['no_url']; 
    227         elseif(!preg_match("/^[a-z0-9\-_\.\/,]+$/", $form_input['url'])) $errors[] = $this->l['admin']['false_url_letters']; 
     227        elseif(!preg_match("/^[a-z0-9\-_\.,]+$/", $form_input['url'])) $errors[] = $this->l['admin']['false_url_letters']; 
    228228        else { 
    229229            $sql = "SELECT id FROM ".JLOG_DB_CATEGORIES." WHERE url = '".escape_for_mysql($form_input['url'])."';"; 
  • trunk/setup.php

    r1595 r1603  
    228228   .notok, .error { color: red; } 
    229229   table { border-spacing: 0.5em; } 
    230    fieldset { padding: 1em; border: 1px solid #ccc; } 
     230   fieldset { padding: 1em; border: 1px solid #ccc; clear: both; margin-top: 1em; } 
    231231   legend { font-weight: bold; padding: 0 1em; } 
    232232   .button { font-size: 3em; } 
    233233   p { text-align: center; } 
    234234   fieldset p { text-align: left; } 
     235   a img { border: none; } 
    235236  </style> 
    236237 </head>