<!--
/**
 *
 *
 * @author      Knut Kohl <github@knutkohl.de>
 * @copyright   2012-2013 Knut Kohl
 * @license     GNU General Public License http://www.gnu.org/licenses/gpl.txt
 * @version     1.0.0
 */
-->

<div class="grid_10" style="margin-top:.5em;margin-bottom:.5em">
    <span style="margin-right:1em">{{VariantsPublic}}:</span>

    <select id="loaddeleteview" name="loaddeleteview" onChange="this.form.submit()">
        <option value="">--- {{Select}} ---</option>
        <!-- BEGIN VIEWS --><!-- IF {PUBLIC} -->
            <!-- show only public charts -->
            <option value="{NAME}" <!-- IF {SELECTED} -->selected="selected"<!-- ENDIF -->>
                {NAME}
            </option>
        <!-- ENDIF --><!-- END -->
    </select>
    <input type="hidden" name="load" value="{{Load}}" />
    <noscript>
        <input type="submit" name="load" value="{{Load}}" style="margin-left:.5em" />
    </noscript>
</div>

<div class="clear"></div>

<!--
/**
 *
 *
 * @author      Knut Kohl <github@knutkohl.de>
 * @copyright   2012-2013 Knut Kohl
 * @license     GNU General Public License http://www.gnu.org/licenses/gpl.txt
 * @version     1.0.0
 */
-->

<!-- IF {VIEW} -->

<div class="grid_10" style="margin-top:.5em;margin-bottom:.5em">
    <span style="margin-right:1em">{{VariantsPublic}}:</span>

    <select id="loaddeleteview" name="loaddeleteview" onChange="if (this.value) this.form.submit()">
        <option value="">--- {{Select}} ---</option>
        <!-- BEGIN VIEWS --><!-- IF {PUBLIC} -->
            <!-- show only public charts -->
            <option value="{NAME}" <!-- IF {SELECTED} -->selected="selected"<!-- ENDIF -->>
                {NAME}
            </option>
        <!-- ENDIF --><!-- END -->
    </select>
    <input type="hidden" name="load" value="{{Load}}" />
    <noscript>
        <input type="submit" name="load" value="{{Load}}" style="margin-left:.5em" />
    </noscript>
</div>

<div class="clear"></div>

<!-- ENDIF -->

Adjust layout for not logged in user
Adjust layout for not logged in user
