diff -r 0d9a58d2c515 -r 0d28b7c10758 web/wp-content/plugins/hybrid-hook-widgets/hybrid-hook-widgets.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/plugins/hybrid-hook-widgets/hybrid-hook-widgets.php Fri Mar 12 13:29:04 2010 +0000
@@ -0,0 +1,218 @@
+ __('Hook: Before HTML ', 'hook_widgets'), 'id' => 'hook-before-html', 'before_widget' => '
', 'before_title' => '' ) );
+ register_sidebar( array( 'name' => __('Hook: After HTML', 'hook_widgets'), 'id' => 'hook-after-html', 'before_widget' => '', 'before_title' => '' ) );
+ register_sidebar( array( 'name' => __('Hook: Before Header', 'hook_widgets'), 'id' => 'hook-before-header', 'before_widget' => '', 'before_title' => '' ) );
+ register_sidebar( array( 'name' => __('Hook: Header', 'hook_widgets'), 'id' => 'hook-header', 'before_widget' => '', 'before_title' => '' ) );
+ register_sidebar( array( 'name' => __('Hook: After Header', 'hook_widgets'), 'id' => 'hook-after-header', 'before_widget' => '', 'before_title' => '' ) );
+ register_sidebar( array( 'name' => __('Hook: Before Container', 'hook_widgets'), 'id' => 'hook-before-container', 'before_widget' => '', 'before_title' => '' ) );
+ register_sidebar( array( 'name' => __('Hook: After Container', 'hook_widgets'), 'id' => 'hook-after-container', 'before_widget' => '', 'before_title' => '' ) );
+ register_sidebar( array( 'name' => __('Hook: Before Footer', 'hook_widgets'), 'id' => 'hook-before-footer', 'before_widget' => '', 'before_title' => '' ) );
+ register_sidebar( array( 'name' => __('Hook: Footer', 'hook_widgets'), 'id' => 'hook-footer', 'before_widget' => '', 'before_title' => '' ) );
+ register_sidebar( array( 'name' => __('Hook: After Footer', 'hook_widgets'), 'id' => 'hook-after-footer', 'before_widget' => '', 'before_title' => '' ) );
+ register_sidebar( array( 'name' => __('Hook: Comment Form', 'hook_widgets'), 'id' => 'hook-comment-form', 'before_widget' => '', 'before_title' => '' ) );
+}
+
+/**
+ * Output the Before HTML widget area.
+ * @since 0.1
+ */
+function hook_widgets_before_html() {
+ if ( !is_active_sidebar( 'hook-before-html' ) )
+ return;
+
+ echo '';
+ dynamic_sidebar( 'hook-before-html' );
+ echo '
';
+}
+
+/**
+ * Output the After HTML widget area.
+ * @since 0.1
+ */
+function hook_widgets_after_html() {
+ if ( !is_active_sidebar( 'hook-after-html' ) )
+ return;
+
+ echo '';
+ dynamic_sidebar( 'hook-after-html' );
+ echo '
';
+}
+
+/**
+ * Output the Before Header widget area.
+ * @since 0.1
+ */
+function hook_widgets_before_header() {
+ if ( !is_active_sidebar( 'hook-before-header' ) )
+ return;
+
+ echo '';
+}
+
+/**
+ * Output the Header widget area.
+ * @since 0.1
+ */
+function hook_widgets_header() {
+ if ( !is_active_sidebar( 'hook-header' ) )
+ return;
+
+ echo '';
+}
+
+/**
+ * Output the After Header widget area.
+ * @since 0.1
+ */
+function hook_widgets_after_header() {
+ if ( !is_active_sidebar( 'hook-after-header' ) )
+ return;
+
+ echo '';
+}
+
+/**
+ * Output the Before Container widget area.
+ * @since 0.1
+ */
+function hook_widgets_before_container() {
+ if ( !is_active_sidebar( 'hook-before-container' ) )
+ return;
+
+ echo '';
+ dynamic_sidebar( 'hook-before-container' );
+ echo '
';
+}
+
+/**
+ * Output the After Container widget area.
+ * @since 0.1
+ */
+function hook_widgets_after_container() {
+ if ( !is_active_sidebar( 'hook-after-container' ) )
+ return;
+
+ echo '';
+ dynamic_sidebar( 'hook-after-container' );
+ echo '
';
+}
+
+/**
+ * Output the Before Footer widget area.
+ * @since 0.1
+ */
+function hook_widgets_before_footer() {
+ if ( !is_active_sidebar( 'hook-before-footer' ) )
+ return;
+
+ echo '';
+}
+
+/**
+ * Output the Footer widget area.
+ * @since 0.1
+ */
+function hook_widgets_footer() {
+ if ( !is_active_sidebar( 'hook-footer' ) )
+ return;
+
+ echo '';
+}
+
+/**
+ * Output the After Footer widget area.
+ * @since 0.1
+ */
+function hook_widgets_after_footer() {
+ if ( !is_active_sidebar( 'hook-after-footer' ) )
+ return;
+
+ echo '';
+}
+
+/**
+ * Output the Comment Form widget area.
+ * @since 0.1
+ */
+function hook_widgets_comment_form() {
+ if ( !is_active_sidebar( 'hook-comment-form' ) )
+ return;
+
+ echo '';
+}
+
+?>
\ No newline at end of file