<?php

/* DorcasTabithaBundle:Notes:noteform.html.twig */
class __TwigTemplate_33b209701e20a6b23ff11265aebf1f77 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = $this->env->loadTemplate("::base.html.twig");

        $this->blocks = array(
            'body' => array($this, 'block_body'),
            'javascripts' => array($this, 'block_javascripts'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "::base.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_body($context, array $blocks = array())
    {
        // line 4
        echo "
<div id=\"navbar\" style=\"font-size:18px;\">   
    <ul>    
        <li><a href=\"javascript: submitform(9)\">Home</a></li>
        <li><a href=\"javascript: submitform(1)\">Client Information</a></li> 
        <li><a href=\"javascript: submitform(2)\">Finance</a></li>
        <li><a href=\"javascript: submitform(3)\" style=\"background-color:#00b5cb; font-size:30px;\">Notes</a></li>
        <li><a href=\"javascript: submitform(4)\">Assistance</a></li>
        <li><a href=\"javascript: submitform(5)\">Referrals</a></li> 
    </ul> 
</div>

    <section class=\"notes\" id=\"notes\">
                ";
        // line 18
        echo "<br />
        <input type=button onClick=\"location.href='javascript: submitform(6)'\" value='Save/Next' style=\"color:#00b5cb; background-color:white; margin-right: 30px;\">
        <h3>Add a New Note</h3>
            ";
        // line 21
        echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Notes:new", array("client_id" => $this->getAttribute($this->getContext($context, "client"), "clientid")), array());
        // line 22
        echo "    </section>

    <section class=\"notes\" id=\"notes\">
        <section class=\"previous-notes\">
            <h3>Previous Notes</h3>
            ";
        // line 27
        $this->env->loadTemplate("DorcasTabithaBundle:Notes:noteloop.html.twig")->display(array_merge($context, array("notes" => $this->getContext($context, "notes"))));
        // line 28
        echo "        </section>
    </section>
<br />
<br />

";
    }

    // line 35
    public function block_javascripts($context, array $blocks = array())
    {
        // line 36
        echo "
    ";
        // line 37
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo " 

<script src=\"";
        // line 39
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/js/js/tiny_mce/jquery.tinymce.js"), "html", null, true);
        echo "\" type=\"text/javascript\"></script>

<script type=\"text/javascript\">
\$(document).ready(function(){

\t\$('textarea').tinymce({
            // Location of TinyMCE script  - changed for tabitha
            script_url : '";
        // line 46
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/js/js/tiny_mce/tiny_mce.js"), "html", null, true);
        echo "',

            // General options
            theme : \"advanced\",
            readonly : false,
            plugins : \"autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist\",

            // Added for Tabitha to force absolute paths for emoticons
            relative_urls : false, 


            // Theme options
            theme_advanced_buttons1 : \"bold,italic,underline,|,formatselect,fontselect,fontsizeselect,|,forecolor,backcolor,|,cut,copy,paste,|,emotions,iespell,|,print,\",
            theme_advanced_toolbar_location : \"top\",
            theme_advanced_toolbar_align : \"left\",
            // commented for tabitha
            theme_advanced_statusbar_location : \"none\",
            theme_advanced_resizing : true,

            // Example content CSS (should be your site CSS) - changed for tabitha
            content_css : '";
        // line 66
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/css/base.css"), "html", null, true);
        echo "',

            // Drop lists for link/image/media/template dialogs
            template_external_list_url : \"lists/template_list.js\",
            external_link_list_url : \"lists/link_list.js\",
            external_image_list_url : \"lists/image_list.js\",
            media_external_list_url : \"lists/media_list.js\",

            // Replace values for the template plugin
            template_replace_values : {
                username : \"Some User\",
                staffid : \"991234\"
            }
        });
\t\t
});          

</script>

    
";
    }

    public function getTemplateName()
    {
        return "DorcasTabithaBundle:Notes:noteform.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  114 => 66,  91 => 46,  81 => 39,  76 => 37,  73 => 36,  70 => 35,  61 => 28,  59 => 27,  52 => 22,  50 => 21,  45 => 18,  30 => 4,  27 => 3,);
    }
}
