diff options
author | Ludovic Pouzenc <lpouzenc@gmail.com> | 2013-10-30 14:04:56 +0100 |
---|---|---|
committer | Ludovic Pouzenc <lpouzenc@gmail.com> | 2013-10-30 14:04:56 +0100 |
commit | acbb8dff1439b0d05709a93fff356e7f6b829da6 (patch) | |
tree | b07773037c6751a3720fdf9f383b13df3ac30259 /code/admin/add.php | |
parent | 97bd9842f44bb25832f5dd8288372f2199cf3b7b (diff) | |
download | editablesite-acbb8dff1439b0d05709a93fff356e7f6b829da6.tar.gz editablesite-acbb8dff1439b0d05709a93fff356e7f6b829da6.tar.bz2 editablesite-acbb8dff1439b0d05709a93fff356e7f6b829da6.zip |
INI et Unicode. Avancée sur fonctions AJAX et trados.
Diffstat (limited to 'code/admin/add.php')
-rw-r--r-- | code/admin/add.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/admin/add.php b/code/admin/add.php index 0869dd5..cb2ff16 100644 --- a/code/admin/add.php +++ b/code/admin/add.php @@ -10,7 +10,7 @@ l10n_init($site_conf['site_admin_lang']); // URL parameter parsing - $kind = sanitize($_GET, 'kind', '/[^a-z_]+/', 'page'); /* Could be : page, media */ + $kind = sanitize($_GET, 'kind', RE_IDENTIFIER_CLEANER, 'page'); /* Could be : page, media */ // Pre-computed because used twice $page_title = _('Admin') . ' - ' . ( ($kind=='media')?_('Add a media'):_('Add a page') ); @@ -43,7 +43,7 @@ </fieldset> <fieldset> -<legend><?=($kind=='media')?_('Media folder'):_('Page folder')?></legend> +<legend><?=_('Selected folder')?></legend> <label for="fold_path"><?=_('Folder path')?></label> <input id="fold_path" name="fold_path" readonly="readonly" value="<?=_('(choose a folder in the tree)')?>"><br> |