<div class='page-header'>
	<h1><tmpl_var name="list_head_txt"></h1>
</div>
<p><tmpl_var name="list_desc_txt"></p>


        <legend>Cron Job</legend>
            <div class="form-group">
                <tmpl_if name="edit_disabled">
                    <label for="parent_domain_id" class="col-sm-3 control-label">{tmpl_var name='parent_domain_id_txt'}</label>
                    <div class="col-sm-9"><select name="parent_domain_id" id="parent_domain_id" class="form-control" disabled="disabled">
                        {tmpl_var name='parent_domain_id'}
                    </select></div>
                    <input type="hidden" name="parent_domain_id" value="{tmpl_var name='parent_domain_id_value'}" />
                    <tmpl_else>
                        <label for="parent_domain_id" class="col-sm-3 control-label">{tmpl_var name='parent_domain_id_txt'}</label>
                        <div class="col-sm-9"><select name="parent_domain_id" id="parent_domain_id" class="form-control">
                            {tmpl_var name='parent_domain_id'}
                        </select></div>
                </tmpl_if>
            </div>
            <div class="form-group">
                <label for="run_min" class="col-sm-3 control-label">{tmpl_var name='run_min_txt'}</label>
                <div class="col-sm-9"><input type="text" name="run_min" id="run_min" value="{tmpl_var name='run_min'}" class="form-control" /></div><p class="formHint">e.g. *, */3, 10-20</p>
            </div>
            <div class="form-group">
                <label for="run_hour" class="col-sm-3 control-label">{tmpl_var name='run_hour_txt'}</label>
                <div class="col-sm-9"><input type="text" name="run_hour" id="run_hour" value="{tmpl_var name='run_hour'}" class="form-control" /></div><p class="formHint">e.g. *, */2, 0, 10-12</p>
            </div>
            <div class="form-group">
                <label for="run_mday" class="col-sm-3 control-label">{tmpl_var name='run_mday_txt'}</label>
                <div class="col-sm-9"><input type="text" name="run_mday" id="run_mday" value="{tmpl_var name='run_mday'}" class="form-control" /></div><p class="formHint">e.g. *, */4, 1-5</p>
            </div>
            <div class="form-group">
                <label for="run_month" class="col-sm-3 control-label">{tmpl_var name='run_month_txt'}</label>
                <div class="col-sm-9"><input type="text" name="run_month" id="run_month" value="{tmpl_var name='run_month'}" class="form-control" /></div><p class="formHint">e.g. *, 1-6</p>
            </div>
            <div class="form-group">
                <label for="run_wday" class="col-sm-3 control-label">{tmpl_var name='run_wday_txt'}</label>
                <div class="col-sm-9"><input type="text" name="run_wday" id="run_wday" value="{tmpl_var name='run_wday'}" class="form-control" /></div><p class="formHint">e.g. *, 0, 1-5</p>
            </div>
            <div class="form-group">
                <label for="command" class="col-sm-3 control-label">{tmpl_var name='command_txt'}</label>
                <div class="col-sm-9"><input type="text" name="command" id="command" value="{tmpl_var name='command'}" class="form-control" /></div><p class="formHint">{tmpl_var name='command_hint_txt'}</p>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">{tmpl_var name='log_output_txt'}</label>
                <div class="col-sm-9">
                    {tmpl_var name='log'}
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">{tmpl_var name='active_txt'}</label>
                <div class="col-sm-9">
                    {tmpl_var name='active'}
                </div>
            </div>
        

        <input type="hidden" name="id" value="{tmpl_var name='id'}">

        <div class="clear"><div class="right">
            <button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" onclick="submitForm('pageForm','sites/cron_edit.php');">{tmpl_var name='btn_save_txt'}</button>
            <button class="btn btn-default formbutton-default" type="button" value="{tmpl_var name='btn_cancel_txt'}" data-load-content="sites/cron_list.php">{tmpl_var name='btn_cancel_txt'}</button>
        </div></div>