anchorcms/anchor-cms — pull request #99 by chrillemeter (2012-04-07 01:42:23+00:00)
Title: Dev branch updates

Here is what I have fixed.

**Updated config file** (*/config.php*)
I added the array with foreign characters. Why I placed it in the config file? Because it should be easy for the developers to add or change the foreign characters.

**Rewrote slug function** (*system/classes/posts.php*)
It's an modified version of CodeIgniters url_title function combined with foreign characters array found in CodeIgniter. Now the slug replaces foreign characters correctly.

**Edit post** (*system/admin/theme/posts/edit.php*)
* Changed the date field so it shows the post date and not **1th Jan 1970, 12:00**.
* Changed the input type for slug from **url** to **text**, else the browser asks you to write a url.
* Changed the **status** so it gets the right value when updating post.