Development

Changeset 27516 for plugins/diemPlugin

You must first sign up to be able to contribute.

Show
Ignore:
Timestamp:
02/03/10 22:36:40 (3 years ago)
Author:
ornicar2
Message:

[Diem]
- removed jQuery map and jQuery mousewheel
- fixed admin dependency injection diagrams

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/diemPlugin/trunk/dmAdminPlugin/modules/dmDiagram/actions/actions.class.php

    r27387 r27516  
    1313    try 
    1414    { 
    15       foreach(array('admin'/*, 'front'*/) as $appName) 
     15      foreach(array('admin', 'front') as $appName) 
    1616      { 
    1717        $this->dicImages[$appName] = $this->getDiagramImage($appName); 
     
    9797        'bgcolor' => 'transparent', 
    9898        'ratio' => 'fill', 
    99         'size' => '10,4
     99        'size' => '20,8
    100100      ), 
    101101      'node'  => array('fontsize' => 20, 'fontname' => 'Arial', 'shape' => 'Mrecord'), 
  • plugins/diemPlugin/trunk/dmAdminPlugin/modules/dmDiagram/templates/indexSuccess.php

    r27387 r27516  
    88<?php 
    99 
    10 $jQueryMap = false; 
    11  
    1210foreach($dicImages as $appName => $image) 
    1311{ 
    1412  if (!$image) continue; 
    1513 
    16   if($jQueryMap) 
    17   { 
    18     echo _tag('div.dm_box.big.diagram', 
    19       _tag('div.title', 
    20       _tag('h2', dmString::camelize($appName).' : Dependency Injection Container'._link($image)->text('Download'))). 
    21       _tag('div.dm_box_inner', 
    22         ($withDispatcherLinks 
    23         ? _tag('p.s16.s16_info', _link('+/dmDiagram/index?with_dispatcher_links=0')->text('Hide dispatcher dependencies')) 
    24         : _tag('p.s16.s16_info', 'As nearly all modules have a reference to dispatcher, these dependencies are hidden. '._link('+/dmDiagram/index?with_dispatcher_links=1')->text('Click here to see them')) 
    25         ). 
    26         _tag('div.viewport', 
    27           _tag('div.toplevel height=300px'). 
    28           _tag('div', array('width' => _media($image)->getWidth(), 'height' => _media($image)->getHeight()), 
    29             _media($image). 
    30             _tag('div.mapcontent') 
    31           ) 
    32         ) 
    33       ) 
    34     ); 
    35   } 
    36   else 
    37   { 
    38     echo _media($image); 
    39   } 
     14  echo _tag('div.dm_box.big.diagram', 
     15    _tag('div.title', 
     16    _tag('h2', dmString::camelize($appName).' : Dependency Injection Container'._link($image)->text('Download'))). 
     17    _tag('div.dm_box_inner', 
     18      ($withDispatcherLinks 
     19      ? _tag('p.s16.s16_info', _link('+/dmDiagram/index?with_dispatcher_links=0')->text('Hide dispatcher dependencies')) 
     20      : _tag('p.s16.s16_info', 'As nearly all modules have a reference to dispatcher, these dependencies are hidden. '._link('+/dmDiagram/index?with_dispatcher_links=1')->text('Click here to see them')) 
     21      ). 
     22      _media($image) 
     23    ) 
     24  ); 
    4025} 
    4126 
  • plugins/diemPlugin/trunk/dmCorePlugin/config/dm/assets.yml

    r27430 r27516  
    5050    tree-css:         jsTree/source/css 
    5151    fieldSelection:   jquery-fieldselection/jquery-fieldselection 
    52     map:              map/jquery.map 
    53     mousewheel:       mousewheel/jquery.mousewheel 
    5452 
    5553css: