Changeset 25657


Ignore:
Timestamp:
11/23/13 22:11:35 (6 years ago)
Author:
mistic100
Message:

include functions_mail.inc.php for switch_lang_to and switch_lang_back

Location:
extensions/AdminTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/AdminTools/include/events.inc.php

    r25655 r25657  
    2828    ); 
    2929 
    30   if (!is_admin()) 
    31   { 
    32     load_language('admin.lang'); 
    33   } 
     30  // switch_lang is in mail functions file 
     31  include_once(PHPWG_ROOT_PATH . 'include/functions_mail.inc.php'); 
    3432 
    3533  switch_lang_to(get_default_language()); 
  • extensions/AdminTools/template/public_controller.tpl

    r25655 r25657  
     1{strip} 
    12{combine_css path=$ADMINTOOLS_PATH|cat:'template/style.css'} 
    23{combine_css path='admin/themes/default/fontello/css/fontello.css'} 
     
    2425  {combine_css path='themes/default/js/ui/theme/jquery.ui.datepicker.css'} 
    2526{/if} 
    26  
     27{/strip} 
    2728 
    2829<div id="ato_header_closed"><a href="#" class="icon-tools"></a></div> 
Note: See TracChangeset for help on using the changeset viewer.