Changeset 12646
- Timestamp:
- Nov 18, 2011, 1:54:29 PM (12 years ago)
- Location:
- extensions/adult_content
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/adult_content/admin/admin.php
r12621 r12646 41 41 'AD_C_block_on_index' => $index, 42 42 'AD_C_block_on_index_disabled' => $disabled, 43 'AD_C_LANG' => $user['language'], 43 44 ) 44 45 ); 45 46 46 $template->set_filename('plugin_admin_content', $ad_c->plugin_path.'admin/admin.tpl'); 47 47 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); -
extensions/adult_content/admin/admin.tpl
r12621 r12646 28 28 <div style="text-align:left"> 29 29 {'ad_c_howitworks'|@translate} 30 <br /> 31 <a href="{$ROOT_URL}plugins/LocalFilesEditor/show_default.php?file=plugins/adult_content/language/{$AD_C_LANG}/plugin.lang.php" target="_blank">{'ad_c_linktolang'|@translate} </a> 30 32 </div> -
extensions/adult_content/charte.php
r12621 r12646 19 19 //include(get_language_filepath('plugin.lang.php', $adult_content->plugin_path)); 20 20 load_language('plugin.lang', $adult_content->plugin_path); 21 load_language('lang', PHPWG_ROOT_PATH.PWG_LOCAL_DIR, array('no_fallback'=>true, 'local'=>true) ); 21 22 $template->assign( 22 23 array( -
extensions/adult_content/charte_user.php
r12621 r12646 37 37 elseif (!isset( $_POST['groupe'] )) 38 38 { 39 40 41 42 43 44 45 46 47 39 $title = 'Adult content'; 40 $page['body_id'] = 'adult_content_page'; 41 include(PHPWG_ROOT_PATH.'include/page_header.php'); 42 load_language('plugin.lang', $adult_content->plugin_path); 43 load_language('lang', PHPWG_ROOT_PATH.PWG_LOCAL_DIR, array('no_fallback'=>true, 'local'=>true) ); 44 $template->assign( 45 array( 46 'PLUGIN_NAME' => $adult_content->plugin_name 47 )); 48 48 ////////////lié à quoi///// 49 50 49 $adult_content->fill_idgroups_user(); 50 $adult_content->fill_idgroups_ad_c(); 51 51 52 52 if (!$adult_content->is_in_ad_c_group()) -
extensions/adult_content/language/cs_CZ/plugin.lang.php
r12621 r12646 123 123 be changed in this way. 124 124 "; 125 /*TODO*/$lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)" 126 125 127 ?> -
extensions/adult_content/language/en_UK/plugin.lang.php
r12621 r12646 124 124 be changed in this way. 125 125 "; 126 $lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)" 126 127 ?> -
extensions/adult_content/language/es_ES/plugin.lang.php
r12621 r12646 123 123 be changed in this way. 124 124 "; 125 /*TODO*/$lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)" 125 126 ?> -
extensions/adult_content/language/fr_FR/plugin.lang.php
r12623 r12646 82 82 Les âges limites peuvent aussi être changés de cette façon.<br /> 83 83 '; 84 $lang['ad_c_linktolang']="Lien vers le fichier langue d'Adult Content (Nécessite localFiles Editor)" 84 85 ?> -
extensions/adult_content/language/hu_HU/plugin.lang.php
r12621 r12646 122 122 be changed in this way. 123 123 "; 124 /*TODO*/$lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)" 124 125 ?> -
extensions/adult_content/language/it_IT/plugin.lang.php
r12621 r12646 80 80 Il limite di età può anche esso essere cambiato in questo modo.<br /> 81 81 '; 82 /*TODO*/$lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)" 82 83 ?> -
extensions/adult_content/language/lv_LV/plugin.lang.php
r12621 r12646 123 123 be changed in this way. 124 124 "; 125 /*TODO*/$lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)" 125 126 ?>
Note: See TracChangeset
for help on using the changeset viewer.