Changeset 9626


Ignore:
Timestamp:
03/12/11 17:10:52 (9 years ago)
Author:
flop25
Message:

use of combine tag : relocation of css in config files, css and js files combined

Location:
extensions/adult_content
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • extensions/adult_content/class.inc.php

    r9564 r9626  
    7575    $menu = & $menu_ref_arr[0]; 
    7676    if ($menu->get_id() != 'menubar') 
     77                { 
    7778      return; 
     79                } 
    7880    $menu->register_block(new RegisteredBlock('mbAdultContent', 'Adult Content', 'AC')); 
    7981  } 
    8082  function ac_lien_menu($menu) 
    8183  { 
    82     array_push($menu, array('NAME' => 'Adult Content', 
    83             'URL' => get_admin_plugin_menu_link(get_root_url().'plugins/'.$this->plugin_name.'/admin/admin.php'))); 
     84    array_push( 
     85                        $menu, 
     86                        array('NAME' => 'Adult Content', 
     87            'URL'  => get_admin_plugin_menu_link(get_root_url().'plugins/'.$this->plugin_name.'/admin/admin.php') 
     88                                                ) 
     89                ); 
    8490    return $menu; 
    8591  } 
  • extensions/adult_content/include/charte.tpl

    r3494 r9626  
    1 {html_head}<link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/{$PLUGIN_NAME}/include/charte.css">{/html_head} 
     1{combine_css path="plugins/$PLUGIN_NAME/include/charte.css"} 
    22<div id="content"> 
    33<div class="titrePage"> 
  • extensions/adult_content/include/charte_user.tpl

    r9564 r9626  
    1 {html_head} 
    2 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/{$PLUGIN_NAME}/include/charte.css"> 
    3 {/html_head} 
     1{combine_css path="plugins/$PLUGIN_NAME/include/charte.css"} 
    42<div id="content"> 
    53  <div class="titrePage"> 
  • extensions/adult_content/template/OS_default/block.tpl

    r6938 r9626  
    1 {html_head} 
    2 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/{$PLUGIN_NAME}/include/charte.css"> 
    3 {/html_head} 
     1{combine_css path="plugins/$PLUGIN_NAME/include/charte.css"} 
    42<div class="content" id="ac_content"> 
    53  <table id="table_content" border="0" cellspacing="0" cellpadding="0"> 
  • extensions/adult_content/template/Pure_default/block.tpl

    r6938 r9626  
    1 {html_head} 
    2 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/{$PLUGIN_NAME}/include/charte.css"> 
    3 {/html_head} 
     1{combine_css path="plugins/$PLUGIN_NAME/include/charte.css"} 
    42<div class="content" id="ac_content"> 
    53  <table id="table_content" border="0" cellspacing="0" cellpadding="0"> 
  • extensions/adult_content/template/default/block.tpl

    r6937 r9626  
    1 {html_head}<link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/{$PLUGIN_NAME}/include/charte.css">{/html_head} 
     1{combine_css path="plugins/$PLUGIN_NAME/include/charte.css"} 
    22<div class="content" id="ac_content"> 
    33<div class="titrePage"> 
  • extensions/adult_content/template/flop_mauve/block.tpl

    r6921 r9626  
    1 {html_head}<link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/{$PLUGIN_NAME}/include/charte.css">{/html_head} 
     1{combine_css path="plugins/$PLUGIN_NAME/include/charte.css"} 
    22<div class="content" id="ac_content"> 
    33<div class="titrePage"> 
Note: See TracChangeset for help on using the changeset viewer.