Changeset 1033 for trunk/admin/site_manager.php
- Timestamp:
- Feb 11, 2006, 8:36:09 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/site_manager.php
r1029 r1033 64 64 else 65 65 { 66 array_push($page['errors'], get_lang('remote_site_file_not_found'));66 array_push($page['errors'], l10n('remote_site_file_not_found')); 67 67 } 68 68 } … … 100 100 { 101 101 array_push($page['errors'], 102 get_lang('remote_site_already_exists').' ['.$url.']');102 l10n('remote_site_already_exists').' ['.$url.']'); 103 103 } 104 104 if (count($page['errors']) == 0) … … 115 115 { 116 116 array_push($page['errors'], 117 get_lang('remote_site_error').' : '.$first_line);117 l10n('remote_site_error').' : '.$first_line); 118 118 } 119 119 } 120 120 else 121 121 { 122 array_push($page['errors'], get_lang('remote_site_file_not_found') );122 array_push($page['errors'], l10n('remote_site_file_not_found') ); 123 123 } 124 124 } … … 128 128 { 129 129 array_push($page['errors'], 130 get_lang('Directory does not exist').' ['.$url.']');130 l10n('Directory does not exist').' ['.$url.']'); 131 131 } 132 132 } … … 143 143 pwg_query($query); 144 144 array_push($page['infos'], 145 $url.' '. get_lang('remote_site_created'));145 $url.' '.l10n('remote_site_created')); 146 146 } 147 147 } … … 166 166 case 'generate' : 167 167 { 168 $title = $galleries_url.' : '. get_lang('remote_site_generate');168 $title = $galleries_url.' : '.l10n('remote_site_generate'); 169 169 $template->assign_vars(array('REMOTE_SITE_TITLE'=>$title)); 170 170 remote_output($galleries_url.'create_listing_file.php?action=generate'); … … 173 173 case 'test' : 174 174 { 175 $title = $galleries_url.' : '. get_lang('remote_site_test');175 $title = $galleries_url.' : '.l10n('remote_site_test'); 176 176 $template->assign_vars(array('REMOTE_SITE_TITLE'=>$title)); 177 177 remote_output($galleries_url.'create_listing_file.php?action=test&version='.PHPWG_VERSION); … … 180 180 case 'clean' : 181 181 { 182 $title = $galleries_url.' : '. get_lang('remote_site_clean');182 $title = $galleries_url.' : '.l10n('remote_site_clean'); 183 183 $template->assign_vars(array('REMOTE_SITE_TITLE'=>$title)); 184 184 remote_output($galleries_url.'create_listing_file.php?action=clean'); … … 189 189 delete_site($page['site']); 190 190 array_push($page['infos'], 191 $galleries_url.' '. get_lang('remote_site_deleted'));191 $galleries_url.' '.l10n('remote_site_deleted')); 192 192 break; 193 193 } … … 232 232 array( 233 233 'NAME' => $row['galleries_url'], 234 'TYPE' => get_lang( $is_remote ? 'Remote' : 'Local' ),234 'TYPE' => l10n( $is_remote ? 'Remote' : 'Local' ), 235 235 'CATEGORIES' => $row['nb_categories'], 236 236 'IMAGES' => isset($row['nb_images']) ? $row['nb_images'] : 0,
Note: See TracChangeset
for help on using the changeset viewer.