Changeset 1314 for trunk/admin
- Timestamp:
- May 16, 2006, 12:21:08 AM (18 years ago)
- Location:
- trunk/admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/element_set_global.php
r1310 r1314 278 278 } 279 279 280 $all_tags = get_all_tags(); 281 282 if (count($all_tags) == 0) 283 { 284 $add_tag_selection = 285 '<p>'. 286 l10n('No tag defined. Use Administration>Pictures>Tags'). 287 '</p>'; 288 } 289 else 290 { 291 $add_tag_selection = get_html_tag_selection( 292 get_all_tags(), 293 'add_tags' 294 ); 295 } 296 280 297 // add tags 281 298 $template->assign_vars( 282 299 array( 283 'ADD_TAG_SELECTION' => get_html_tag_selection(get_all_tags(), 'add_tags'),300 'ADD_TAG_SELECTION' => $add_tag_selection, 284 301 ) 285 302 ); -
trunk/admin/element_set_unit.php
r1119 r1314 225 225 { 226 226 list($year,$month,$day) = array('','',''); 227 } 228 229 if (count($all_tags) > 0) 230 { 231 $tag_selection = get_html_tag_selection( 232 $all_tags, 233 'tags-'.$row['id'], 234 $selected_tags 235 ); 236 } 237 else 238 { 239 $tag_selection = 240 '<p>'. 241 l10n('No tag defined. Use Administration>Pictures>Tags'). 242 '</p>'; 227 243 } 228 244 … … 244 260 'DATE_CREATION_YEAR' => $year, 245 261 246 'TAG_SELECTION' => get_html_tag_selection( 247 $all_tags, 248 'tags-'.$row['id'], 249 $selected_tags 250 ), 262 'TAG_SELECTION' => $tag_selection, 251 263 ) 252 264 ); -
trunk/admin/picture_modify.php
r1121 r1314 199 199 ); 200 200 201 $all_tags = get_all_tags(); 202 203 if (count($all_tags) > 0) 204 { 205 $tag_selection = get_html_tag_selection( 206 get_all_tags(), 207 'tags', 208 $selected_tags 209 ); 210 } 211 else 212 { 213 $tag_selection = 214 '<p>'. 215 l10n('No tag defined. Use Administration>Pictures>Tags'). 216 '</p>'; 217 } 218 201 219 $template->assign_vars( 202 220 array( … … 226 244 'CREATION_DATE' => $date, 227 245 228 'TAG_SELECTION' => get_html_tag_selection( 229 get_all_tags(), 230 'tags', 231 $selected_tags 232 ), 246 'TAG_SELECTION' => $tag_selection, 233 247 234 248 'DESCRIPTION' =>
Note: See TracChangeset
for help on using the changeset viewer.