Changeset 58839 in spip-zone


Ignore:
Timestamp:
Feb 26, 2012, 4:12:33 PM (8 years ago)
Author:
bystrano@…
Message:

regle le probleme d'affichage des boutons spip-admin

Location:
_plugins_/ajax_nav
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/ajax_nav/ajax_nav_styliser.php

    r58261 r58839  
    77  $id = $flux['args']['contexte']['getbyid'];
    88  if ($id != '') {
    9     $flux['data'] = preg_replace('/.html$/', '', find_in_path('getbyid.html'));
     9                if ($id == 'spip-admin') {
     10                        $flux['data'] = preg_replace('/.html$/', '', find_in_path('spip-admin.html'));
     11                } else {
     12                        $flux['data'] = preg_replace('/.html$/', '', find_in_path('getbyid.html'));
     13                }
    1014  }
    1115
Note: See TracChangeset for help on using the changeset viewer.