Dotclear

Changeset 1735 for plugins/myDashboard


Ignore:
Timestamp:
10/25/09 18:55:39 (14 years ago)
Author:
Moe
Message:

My Dashboard 0.2-alpha1 :

  • added localization (fixes #293)
  • compatibility with new jQuery version
Location:
plugins/myDashboard
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • plugins/myDashboard/_define.php

    r1451 r1735  
    2626$this->registerModule( 
    2727     /* Name */                         'My Dashboard', 
    28      /* Description*/         'Pimp your Dashboard', 
     28     /* Description*/         'Add personalized links to your Dashboard', 
    2929     /* Author */                  'Moe (http://gniark.net/)', 
    30      /* Version */                 '0.1', 
     30     /* Version */                 '0.2-alpha1', 
    3131     /* Permissions */        null, 
    3232     /* Priority */           1000000000 
  • plugins/myDashboard/inc/lib.myDashboard.php

    r1451 r1735  
    6464     } 
    6565      
    66      public static function AddLink(&$links,$title,$url,$icon) 
     66     public static function addLink(&$links,$title,$url,$icon) 
    6767     {          
    6868          $links[] = array( 
  • plugins/myDashboard/index.php

    r1729 r1735  
    2525 
    2626dcPage::checkSuper(); 
     27 
     28/*if (!empty($_REQUEST['file'])) 
     29{ 
     30     switch ($_REQUEST['file']) 
     31     { 
     32          case 'media' : 
     33               require dirname(__FILE__).'/admin/media.php'; 
     34               exit; 
     35          case 'post_media' : 
     36               require dirname(__FILE__).'/admin/post_media.php'; 
     37               exit; 
     38     } 
     39}*/ 
    2740 
    2841$tab = 'links'; 
     
    202215          }); 
    203216           
    204           $('input[@name="removeaction"]').click(function() { 
     217          $('input[name="removeaction"]').click(function() { 
    205218                    return window.confirm(dotclear.msg.confirm_remove); 
    206219               }); 
     
    309322                         '<p><label>'.__('Icon:'). 
    310323                         form::field('icon',40,255,$icon). 
    311                          /*'<a href="'.$p_url.'&amp;file=media&amp;link_id='. 
    312                               $i.'">&nbsp;'. 
     324                         /*'<a href="'.$p_url.'&amp;file=media'">&nbsp;'. 
    313325                              '<img src="images/plus.png" alt="'. 
    314326                              __('Use a image from the media manager').'" />'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map