Ignore:
Timestamp:
Nov 18, 2011, 1:54:29 PM (12 years ago)
Author:
flop25
Message:

adding one new key in language files
adding a link to see the current default plugin.lang.php, via localfiles editor
"overloading" the local language files to apply customization

Location:
extensions/adult_content/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/adult_content/admin/admin.php

    r12621 r12646  
    4141                  'AD_C_block_on_index' => $index,
    4242                  'AD_C_block_on_index_disabled' => $disabled,
     43                  'AD_C_LANG' => $user['language'],
    4344                )
    4445          );
    45 
    4646$template->set_filename('plugin_admin_content', $ad_c->plugin_path.'admin/admin.tpl');
    4747$template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content');
  • extensions/adult_content/admin/admin.tpl

    r12621 r12646  
    2828<div style="text-align:left">
    2929  {'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>
    3032</div>
Note: See TracChangeset for help on using the changeset viewer.