Exemplo n.º 1
0
                        <?php 
    if (is_super_administrator() && $section_title == $this->lang->line('administrators')) {
        ?>
                            <a href="<?php 
        echo base_url();
        ?>
administrators/create" class="btn-create-header"><button type="submit" class="btn btn-warning btn-fill btn-sm"><?php 
        echo $this->lang->line('new');
        ?>
</button></a>
                        <?php 
    }
    ?>

                        <?php 
    if (is_super_administrator() && $section_title == $this->lang->line('tables')) {
        ?>
                            <a href="<?php 
        echo base_url();
        ?>
auto_forms/create" class="btn-create-header"><button type="submit" class="btn btn-warning btn-fill btn-sm"><?php 
        echo $this->lang->line('new');
        ?>
</button></a>
                        <?php 
    }
    ?>

                        <?php 
    if (isset($administrable_table)) {
        ?>
Exemplo n.º 2
0
?>
</label>
                                        <input type="password" class="save-input clear form-control" name="password" placeholder="<?php 
echo $this->lang->line('password');
?>
">
                                        <label><small><small><?php 
echo isset($user) ? $this->lang->line('warning_password') : "";
?>
</small></small></label>
                                    </div>        
                                </div>
                            </div>
                            
                            <?php 
if (is_super_administrator()) {
    ?>
                            <div class="row">
                                <div class="col-md-4">
                                    <div class="form-group">
                                        <label><?php 
    echo $this->lang->line('state');
    ?>
</label>
                                    </div> 
                                    <label class="radio">
                                        <input type="radio" name="state" class="save-input" data-toggle="radio" value="1" <?php 
    echo isset($user) ? $user->state == 1 ? "checked" : "" : "checked";
    ?>
>
                                    </label><span class="option-checkbox"><?php