Changeset 1735 for plugins/myDashboard
- Timestamp:
- 10/25/09 18:55:39 (14 years ago)
- Location:
- plugins/myDashboard
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/myDashboard/_define.php
r1451 r1735 26 26 $this->registerModule( 27 27 /* Name */ 'My Dashboard', 28 /* Description*/ ' Pimpyour Dashboard',28 /* Description*/ 'Add personalized links to your Dashboard', 29 29 /* Author */ 'Moe (http://gniark.net/)', 30 /* Version */ '0. 1',30 /* Version */ '0.2-alpha1', 31 31 /* Permissions */ null, 32 32 /* Priority */ 1000000000 -
plugins/myDashboard/inc/lib.myDashboard.php
r1451 r1735 64 64 } 65 65 66 public static function AddLink(&$links,$title,$url,$icon)66 public static function addLink(&$links,$title,$url,$icon) 67 67 { 68 68 $links[] = array( -
plugins/myDashboard/index.php
r1729 r1735 25 25 26 26 dcPage::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 }*/ 27 40 28 41 $tab = 'links'; … … 202 215 }); 203 216 204 $('input[ @name="removeaction"]').click(function() {217 $('input[name="removeaction"]').click(function() { 205 218 return window.confirm(dotclear.msg.confirm_remove); 206 219 }); … … 309 322 '<p><label>'.__('Icon:'). 310 323 form::field('icon',40,255,$icon). 311 /*'<a href="'.$p_url.'&file=media&link_id='. 312 $i.'"> '. 324 /*'<a href="'.$p_url.'&file=media'"> '. 313 325 '<img src="images/plus.png" alt="'. 314 326 __('Use a image from the media manager').'" />'.
Note: See TracChangeset
for help on using the changeset viewer.