Ejemplo n.º 1
0
        <div class="field">
        <?php 
echo form::label('location[name]', 'Location Name:');
echo form::input('location[name]');
?>
        </div>

        <div class="field">
        <?php 
echo form::label('location[domain]', 'Domain Name/Realm:');
echo form::input('location[domain]');
?>
        </div>

    <?php 
echo form::close_section();
?>

    <?php 
if (isset($views)) {
    echo subview::renderAsSections($views);
}
?>

    <?php 
echo form::close(TRUE);
?>
    
</div>
Ejemplo n.º 2
0
            <div class="wrapper">

                <div class="main">

                    <?php 
echo form::open(NULL, array('id' => 'installWizard'), array('form_token' => $formToken));
?>

                    <?php 
echo $content;
?>

                    <?php 
if (isset($views)) {
    echo subview::render($views);
}
?>

                </div>

                <div class="buttons form_bottom">
                <?php 
if (!empty($allowNext)) {
    echo form::button(array('name' => 'next', 'class' => 'save small_green_button'), 'Continue');
}
?>
                <?php 
if (!empty($allowPrev)) {
    echo form::button(array('name' => 'prev', 'class' => 'prev small_red_button'), 'Back');
}
Ejemplo n.º 3
0
}
?>

    <?php 
echo form::close();
?>
</div>

<?php 
if (Kohana::config('config.allow_registrations')) {
    ?>
    <div id="register_container_form" class="user register_containter">
        <?php 
    echo form::open();
    ?>

        <?php 
    if (isset($views)) {
        echo subview::render($views, 'register');
    }
    ?>

        <?php 
    echo form::close();
    ?>
    </div>
<?php 
}
?>

Ejemplo n.º 4
0
        </div>

        <div class="field">
        <?php 
echo form::label('number[location_id]', 'Location:');
echo locations::dropdown('number[location_id]');
?>
        </div>

    <?php 
echo form::close_section();
?>

    <?php 
if (isset($views)) {
    echo subview::renderAsSections($views, array('number_targets', 'terminate_options', 'number_pools', 'number_contexts'));
}
?>

    <?php 
if (!empty($create_number_type)) {
    ?>

        <fieldset class="hidden_inputs">

            <input type="hidden" class=" hidden" value="<?php 
    echo $create_class_type;
    ?>
" name="create_class_type">

            <input type="hidden" class=" hidden" value="<?php 
Ejemplo n.º 5
0
        <div class="field">
            <?php 
echo form::label('featurecode[description]', 'Description:');
?>
            <?php 
echo form::input('featurecode[description]');
?>
        </div>

    <?php 
echo form::close_section();
?>

    <?php 
if (isset($views)) {
    echo subview::renderAsSections($views, array('number_inventory'));
}
?>

    <?php 
echo form::open_section('XML Sections');
?>

    <?php 
foreach (FreeSwitch::getDialplanSections() as $section) {
    ?>

        <div id="<?php 
    echo $section;
    ?>
-xml" class="used section-<?php