source: extensions/DynamicResize/test.php @ 31844

Revision 12179, 485 bytes checked in by arno, 9 years ago (diff)

feature : commit initial, suite

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.