?>
                
                </li>
                <li>
                    <?php 
echo htmltag::anchor(array('value' => htmltag::img(array('src' => '/paperboot/media/img/' . 'bootstrap.jpg')), 'href' => 'http://getbootstrap.com/', 'target' => '_blank'));
?>
               
                </li>
                <li>
                    <?php 
echo htmltag::anchor(array('value' => htmltag::img(array('src' => '/paperboot/media/img/' . 'fontawsome.jpg')), 'href' => 'http://fortawesome.github.io/Font-Awesome/', 'target' => '_blank'));
?>
               
                </li>
                <li>
                    <?php 
echo htmltag::anchor(array('value' => htmltag::img(array('src' => '/paperboot/media/img/' . 'wordpress.png')), 'href' => 'https://wordpress.org', 'target' => '_blank'));
?>
               
                </li>
            </ul>
            <p class="text-muted">&copy; Paper Boot 2014</p>
        </div>
    </footer>

    <?php 
echo htmltag::script(array('//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min', '//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min'));
?>
</body>
</html>
Example #2
0
    <div class="container canvas" style="margin-top: 100px">
	            <form class="form-horizontal" method="post">
                <div class="control-group">
                    <label class="control-label" for="inputEmail">Application Title</label>
                        <div class="controls">
                        <input type="text" name="appTitle" placeholder="Application Title" value="<?php 
echo request::get('appTitle');
?>
">
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <button type="submit" class="btn">Create</button>
                    </div>
                </div>
            </form>
    </div>
        
        <footer class="muted">
            <?php 
echo tpl::out('footer');
?>
        </footer>
    </div>
    
    <?php 
echo htmltag::script(array($conf::urlJq . 'jquery.min', $conf::urlBootstrap . 'js/bootstrap-collapse', $conf::urlJq . 'jquery', $conf::urlJqApp . 'about'));
?>
</body>
</html>
Example #3
0
?>
                    <label class="control-label" for="apptitle">Small caps, no spaces, no special chars.</label>
                    <p class="text-muted text-right">
                        <?php 
echo $locale->label->example->capitalize();
?>
 <span class="label label-info">myapplication</span>
                    </p>
                   
                    <?php 
echo htmltag::text(array('id' => 'apptitle', 'class' => 'form-control', 'name' => 'appTitle', 'placeholder' => 'Application Title', 'value' => request::get('appTitle'), 'maxlength' => 25, 'required' => 'required'));
?>
                </div>
                
                <?php 
echo htmltag::button(array('type' => 'submit', 'data-placement' => 'bottom', 'title' => $locale->label->create->capitalize() . ' ' . $locale->label->application->capitalize(), 'value' => '<i class="fa fa-floppy-o"></i> ' . $locale->label->create->capsAll(), 'class' => 'btn btn-primary btn-lg submit'));
?>
            </form>         
        </div>
        </div>
    </div>
    </div>
    <?php 
echo html::render('appfarm/tpl/footer.php');
?>
    
    <?php 
echo htmltag::script(array('//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min', '//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min', $conf::urlMedia . 'bootstrap-3.2.0/js/tooltip', $conf::urlAppJs . 'application'));
?>
</body>
</html>