Changeset 61 for trunk/app/views/helpers
- Timestamp:
- 08/09/07 20:47:40 (16 months ago)
- Location:
- trunk/app/views/helpers
- Files:
-
- 1 removed
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/helpers/fck.php
r36 r61 6 6 $did = ''; 7 7 8 foreach (explode('/', $id) as $v) { 8 foreach (explode('/', $id) as $v) 9 { 9 10 $did .= ucfirst($v); 10 11 } … … 24 25 </script> 25 26 FCK_CODE; 27 } 28 29 public function fckAjax() 30 { 31 return <<<FCK_CODE 32 <script type="text/javascript"> 33 function MyFCKClass(){ 34 this.UpdateEditorFormValue = function(){ 35 for ( i = 0; i < parent.frames.length; ++i ) 36 if ( parent.frames[i].FCK )parent.frames[i].FCK.UpdateLinkedField(); 37 } 26 38 } 39 var MyFCKObject = new MyFCKClass(); 40 </script> 41 FCK_CODE; 42 } 27 43 } 28 44 ?>
