Zionetrix::Git
Repositories
Help
Report an Issue
viewgit-addrepo-plugin
Code
Commits
Branches
Tags
Search
Tree:
1e7171e
Branches
Tags
master
viewgit-addrepo-plugin
addrepo
templates
addrepo.php
Initial commit
Benjamin Renard
commited
1e7171e
at 2013-08-21 14:38:18
addrepo.php
Blame
History
Raw
<h1 class='addrepo'>Add repository</h1> <?php if (isset($page['addrepo']['error'])) { foreach($page['addrepo']['error'] as $e) { echo "<div class='addrepo_error'>$e</div>\n"; } } if (isset($page['addrepo']['msg'])) { foreach($page['addrepo']['msg'] as $msg) { echo "<div class='addrepo_msg'>$msg</div>\n"; } } ?> <form action="?a=addrepo" method='POST'> <dl class='addrepo'> <dt>Name</dt> <dd><input type='text' name='repo_name' class='addrepo' value="<?php echo (isset($page['addrepo']['values']['name'])?$page['addrepo']['values']['name']:''); ?>"/></dd> <dt>Description</dt> <dd><input type='text' name='repo_desc' class='addrepo' value="<?php echo (isset($page['addrepo']['values']['desc'])?$page['addrepo']['values']['desc']:''); ?>"/></dd> <dt>Password</dt> <dd><input type='password' name='repo_pwd' class='addrepo'/></dd> </dl> <input type='submit' value='Create' id='addrepo_submit'/> </form>