Changeset 1502
- Timestamp:
- 06/17/06 08:49:26 (2 years ago)
- Location:
- trunk/gregarius
- Files:
-
- 1 added
- 9 modified
-
admin/index.php (modified) (5 diffs)
-
admin/tags.php (added)
-
constants.php (modified) (1 diff)
-
intl/de.php (modified) (1 diff)
-
intl/en.php (modified) (1 diff)
-
intl/es.php (modified) (1 diff)
-
intl/it.php (modified) (1 diff)
-
intl/ja.php (modified) (1 diff)
-
intl/pt_BR.php (modified) (1 diff)
-
tags.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/admin/index.php
r1441 r1502 42 42 require_once('plugins.php'); 43 43 require_once('themes.php'); 44 require_once('tags.php'); 44 45 45 46 define ('CST_ADMIN_DOMAIN','domain'); … … 67 68 define ('CST_ADMIN_DOMAIN_THEMES','themes'); 68 69 define ('CST_ADMIN_DOMAIN_THEME_OPTIONS','theme_options'); 70 define ('CST_ADMIN_DOMAIN_TAGS','tags'); 69 71 // OPML import target 70 72 define ('CST_ADMIN_OPML_IMPORT_WIPE',1); … … 127 129 $show = themes_admin(); 128 130 break; 131 case CST_ADMIN_DOMAIN_TAGS: 132 $show = tags_admin(); 133 break; 129 134 case CST_ADMIN_DOMAIN_PLUGIN_OPTIONS: 130 135 $show = plugin_options_admin(); … … 172 177 themes(); 173 178 break; 179 case CST_ADMIN_DOMAIN_TAGS: 180 tags(); 181 break; 174 182 case CST_ADMIN_DOMAIN_PLUGIN_OPTIONS: 175 183 plugin_options(); … … 215 223 array (CST_ADMIN_DOMAIN_THEMES, LBL_ADMIN_DOMAIN_THEMES_LBL), 216 224 array (CST_ADMIN_DOMAIN_FOLDER, LBL_ADMIN_DOMAIN_FOLDER_LBL), 217 array (CST_ADMIN_DOMAIN_OPML, LBL_ADMIN_DOMAIN_LBL_OPML_LBL)) as $item) { 225 array (CST_ADMIN_DOMAIN_OPML, LBL_ADMIN_DOMAIN_LBL_OPML_LBL), 226 array (CST_ADMIN_DOMAIN_TAGS, LBL_TAG_TAGS)) as $item) { 218 227 219 228 $link = "index.php?view=".$item[0]; -
trunk/gregarius/constants.php
r1472 r1502 158 158 define ('ITEM_SORT_HINT_MIXED', 0x02); 159 159 160 // an item should have this many tags, at most 161 define('MAX_TAGS_PER_ITEM', 5); 160 162 163 // This regexp is used both in php and javascript, basically 164 // it is used to filter out everything but the allowed tag 165 // characters, plus a whitespace 166 define('ALLOWED_TAGS_REGEXP', '/[^a-zA-Z0-9\ _\.]/'); 161 167 162 168 // Sanitizer constants -
trunk/gregarius/intl/de.php
r1493 r1502 191 191 define ('LBL_ADMIN_BAD_RSS_URL',"Entschuldige, ich kann diese URL nicht verarbeiten: '%s'"); 192 192 define ('LBL_ADMIN_ERROR_CANT_DELETE_HOME_FOLDER',"Du kannst den " . LBL_HOME_FOLDER . " Ordner nicht löschen"); 193 define ('LBL_ADMIN_CANT_RENAME',"Du kannst den Ordner'%s' nicht umbenennen, da ein solcher schon existiert.");193 define ('LBL_ADMIN_CANT_RENAME',"Du kannst den Artikel '%s' nicht umbenennen, da ein solcher schon existiert."); 194 194 define('LBL_ADMIN_ERROR_CANT_CREATE',"Der Ordner '%s' existiert schon!"); 195 195 -
trunk/gregarius/intl/en.php
r1493 r1502 199 199 define ('LBL_ADMIN_BAD_RSS_URL',"I'm sorry, I don't think I can handle this URL: '%s'"); 200 200 define ('LBL_ADMIN_ERROR_CANT_DELETE_HOME_FOLDER',"You can't delete the " . LBL_HOME_FOLDER . " folder"); 201 define ('LBL_ADMIN_CANT_RENAME',"You can't rename this folder '%s' because such a folderalready exists.");201 define ('LBL_ADMIN_CANT_RENAME',"You can't rename this item '%s' because such an item already exists."); 202 202 define('LBL_ADMIN_ERROR_CANT_CREATE',"Looks like you already have a folder called '%s'!"); 203 203 -
trunk/gregarius/intl/es.php
r1493 r1502 193 193 define ('LBL_ADMIN_BAD_RSS_URL',"Lo siento, creo que no podemos hacer nada con esta URL: '%s'"); 194 194 define ('LBL_ADMIN_ERROR_CANT_DELETE_HOME_FOLDER',"No puede eliminar la carpeta " . LBL_HOME_FOLDER); 195 define ('LBL_ADMIN_CANT_RENAME',"No puede renombrar esta carpeta '%s' porque la otra ya existe.");195 define ('LBL_ADMIN_CANT_RENAME',"No puede renombrar esta tema '%s' porque la otra ya existe."); 196 196 define ('LBL_ADMIN_ERROR_CANT_CREATE',"Ahora tiene una carpeta llamada '%s'!"); 197 197 -
trunk/gregarius/intl/it.php
r1493 r1502 196 196 define ('LBL_ADMIN_BAD_RSS_URL',"Spiacente, non so cosa fare con questa URL: '%s'"); 197 197 define ('LBL_ADMIN_ERROR_CANT_DELETE_HOME_FOLDER',"Non potete cancellare la cartella " . LBL_HOME_FOLDER); 198 define ('LBL_ADMIN_CANT_RENAME',"Non puoi rinominare l a cartella in '%s' Perché una cartellacon quel nome esiste gia.");198 define ('LBL_ADMIN_CANT_RENAME',"Non puoi rinominare le elemento in '%s' Perché un elemento con quel nome esiste gia."); 199 199 define('LBL_ADMIN_ERROR_CANT_CREATE',"Una cartella chiamata '%s' esiste gia!"); 200 200 -
trunk/gregarius/intl/ja.php
r1493 r1502 205 205 define ('LBL_ADMIN_BAD_RSS_URL',"I'm sorry, I don't think I can handle this URL: '%s'"); 206 206 define ('LBL_ADMIN_ERROR_CANT_DELETE_HOME_FOLDER',"You can't delete the " . LBL_HOME_FOLDER . " folder"); 207 define ('LBL_ADMIN_CANT_RENAME',"You can't rename this folder '%s' because such a folderalready exists.");207 define ('LBL_ADMIN_CANT_RENAME',"You can't rename this item '%s' because such an item already exists."); 208 208 define('LBL_ADMIN_ERROR_CANT_CREATE',"Looks like you already have a folder called '%s'!"); 209 209 -
trunk/gregarius/intl/pt_BR.php
r1493 r1502 190 190 define ('LBL_ADMIN_BAD_RSS_URL',"Sinto muito, eu acho que não posso tratar esta URL: '%s'"); 191 191 define ('LBL_ADMIN_ERROR_CANT_DELETE_HOME_FOLDER',"Você não pode excluir a pasta " . LBL_HOME_FOLDER . ""); 192 define ('LBL_ADMIN_CANT_RENAME',"Você não pode renomear a pasta '%s' porque tal pastajá existe.");192 define ('LBL_ADMIN_CANT_RENAME',"Você não pode renomear a íten '%s' porque tal íten já existe."); 193 193 define('LBL_ADMIN_ERROR_CANT_CREATE',"Parace que você já tem uma pasta chamada '%s'!"); 194 194 -
trunk/gregarius/tags.php
r1475 r1502 27 27 28 28 require_once ('init.php'); 29 30 // an item should have this many tags, at most31 define('MAX_TAGS_PER_ITEM', 5);32 33 // This regexp is used both in php and javascript, basically34 // it is used to filter out everything but the allowed tag35 // characters, plus a whitespace36 define('ALLOWED_TAGS_REGEXP', '/[^a-zA-Z0-9\ _\.]/');37 29 38 30 function relatedTags($tags) {
