<?php 
echo input_label_message('Senha:', $user, 'password');
?>
                            </div>

                            <div class="input-field">
                                <i class="material-icons prefix grey-text"></i>

                                <input name="offline\User[password_confirm]"
                                       type="password"
                                       maxlength="32"
                                       minlength="5"
                                       required
                                       <?php 
echo input_id($user, 'password_confirm');
?>
                                       />

                                <?php 
echo input_label_message('Digite sua Senha Novamente:', $user, 'password_confirm');
?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <button class="btn waves-effect waves-light btn-large green" type="submit" name="action" style="position: fixed; bottom: 5%; right: 2%;">
                <span class="white-text" style="top: -7px; position: relative;">Criar Conta</span>
                &nbsp;&nbsp;
function input_id_value($model, $field)
{
    return input_id($model, $field) . input_value($model, $field);
}
Example #3
0
function tag_file_download_link()
{
    global $step, $endform, $tag_name, $permlink_mode;
    $atts = gpsa(array('filename', 'id'));
    extract($atts);
    $thing = gps('thing');
    $type = gps('type');
    $description = gps('description');
    $types = array('textile' => 'Textile', 'textpattern' => 'Textpattern', 'xhtml' => 'XHTML');
    $out = form(startTable('tagbuilder') . tr(tdcs(hed(gTxt('tag_' . $tag_name), 3), 2)) . tagRow('type', '' . selectInput('type', $types, $type ? $type : 'textpattern', true)) . tagRow('id', input_id($id)) . tagRow('filename', fInput('text', 'filename', $filename, 'edit', '', '', 25)) . tagRow('link_text', fInput('text', 'thing', $thing ? $thing : $filename, 'edit', '', '', 25)) . tagRow('description', '<textarea name="description" cols="22" rows="3">' . $description . '</textarea>') . $endform);
    if ($step == 'build') {
        $description = str_replace('&', '&#38;', htmlspecialchars($description));
        $url = $permlink_mode == 'messy' ? hu . 'index.php?s=file_download' . ($type == 'textile' ? '&' : a) . 'id=' . $id : hu . gTxt('file_download') . '/' . $id . ($filename ? '/' . $filename : '');
        switch ($type) {
            case 'textile':
                $thing = $thing ? $thing : $filename;
                $description = $description ? ' (' . $description . ')' : '';
                $out .= tdb('"' . $thing . $description . '":' . $url);
                break;
            case 'xhtml':
                $thing = $thing ? $thing : $filename;
                $description = $description ? ' title="' . $description . '"' : '';
                $out .= tdb('<a href="' . $url . '"' . $description . '>' . $thing . '</a>');
                break;
            case 'textpattern':
            default:
                $atts = array('id' => $id);
                $thing = $thing ? $thing : '<txp:file_download_name />';
                $out .= tdb(tb($tag_name, $atts, $thing));
                break;
        }
    }
    return $out;
}
                            <br/>
                            <br/>
                            <br/>

                            <div class="input-field col s12">
                                <i class="material-icons prefix grey-text">&#xE899;</i>

                                <input name="offline\User[password]"
                                       placeholder="Digite sua senha aqui"
                                       type="password"
                                       maxlength="92"
                                       minlength="5"
                                       autocomplete="off"
                                       required
                                       <?php 
echo input_id($user, 'password');
?>
                                       />

                                <label>Senha</label>

                                <?php 
echo input_label_message('Senha', $user, 'password');
?>
                            </div>
                        </div>

                        <button class="btn waves-effect waves-light btn-large blue" type="submit" name="action">
                            <span class="white-text" style="top: -7px; position: relative;">Entrar</span>
                            &nbsp;&nbsp;
                            <i class="material-icons">&#xE890;</i>