- Timestamp:
- 11/15/06 13:47:27 (2 years ago)
- Files:
-
- brains/blapi.php (modified) (1 diff)
- brains/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
brains/blapi.php
r1256 r1258 126 126 } 127 127 128 # FIXME: implement this: 129 function getlist_as_javascript( $id ) { 130 return "function render_list() { alert( 'Not yet implemented.' ) };\nrender_list(); "; 128 # FIXME: implement this, base it off the JSON renderer 129 function getlist_as_public_javascript( $id ) { 130 return "function render_list() { \nvar l = Array( '" 131 . $id . 132 "' );\nalert( 'Not yet implemented.' ) };\nrender_list(); "; 131 133 } 132 134 brains/index.php
r1255 r1258 50 50 $forward = $show_html = false; 51 51 Header( "Content-type: text/plain"); 52 echo $bla->getlist_as_ javascript( $list_id );52 echo $bla->getlist_as_public_javascript( $list_id ); 53 53 } 54 54