'; $appendices = get_post_meta($post->ID, '_anno_appendices', true); if (!empty($appendices) && is_array($appendices)) { foreach ($appendices as $index => $content) { $html .= anno_appendix_box_content($index, $content); } } else { $html .= anno_appendix_box_content(0); } $html .= ' '; $html .= '
'.sprintf(_x('The Annotum editor requires at least WordPress 3.3. It appears you are using WordPress %s. ', 'WordPress version error message', 'anno'), get_bloginfo('version')).'
'; } } /** * Output for Appendix edit input. */ function anno_appendix_box_content($index = null, $content = null) { $html = ''; if (empty($index) && $index !== 0) { $index = '###INDEX###'; $index_alpha = '###INDEX_ALPHA###'; } else { $index_alpha = anno_index_alpha($index); } if (empty($content)) { $content = '