コード例 #1
0
ファイル: example.php プロジェクト: jhrzic/raptor-example
                        data: function(html) {
                            // Returns an object containing the data to send to the server
                            return {
                                id: this.raptor.getElement().data('id'),
                                content: html
                            };
                        }
                    }
                }
            }));
        });
    </script>
</head>
<body>
    <?php 
echo $example->renderNavigation();
?>
    <div class="source-watch center half" data-output="#source">
        <div class="full editable" data-id="header">
            <?php 
echo $example->renderContent('header', $example->getDefaultContent('header'));
?>
        </div>
        <div class="content editable" data-id="body">
            <?php 
echo $example->renderContent('body', $example->getDefaultContent('body'));
?>
        </div>
        <div class="sidebar editable" data-id="sidebar">
            <?php 
echo $example->renderContent('sidebar', $example->getDefaultContent('sidebar'));