source: extensions/DynamicResize/test.php @ 13741

Last change on this file since 13741 was 12179, checked in by arno, 13 years ago

feature : commit initial, suite

File size: 485 bytes
Line 
1<?php
2$dyn_mode=2; // load in XHR, wait for 2nd picture.
3$debug_mode=true;
4
5#add_event_handler('loc_begin_picture','dynamic_resize_picture_content',50,2);
6//add_event_handler('render_element_content','dynamic_resize_picture_content',60 ,2);
7
8// this is the custom  handler that generates the display for the element
9function dynamic_resize_picture_content($content, $element_info){
10 global $template;
11 global $dyn_mode;
12 echo 'mode:'.$dyn_mode;
13}
14 dynamic_resize_picture_content();
15?>
Note: See TracBrowser for help on using the repository browser.