show all possible avatars at character creation
This commit is contained in:
parent
eb633b5dcf
commit
2dec2e672f
2 changed files with 16 additions and 10 deletions
|
|
@ -3,9 +3,10 @@
|
||||||
<img src="<?=$linker->link(array('media','seminaryheader',$seminary['url']))?>">
|
<img src="<?=$linker->link(array('media','seminaryheader',$seminary['url']))?>">
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<h1><?=$seminary['title']?></h1>
|
<ul class="breadcrumbs">
|
||||||
<h2><?=_('Create Character')?></h2>
|
<li><a href="<?=$linker->link(array('seminaries',$seminary['url']))?>"><?=$seminary['title']?></a></li>
|
||||||
|
</ul>
|
||||||
|
<h1><?=_('Create Character')?></h1>
|
||||||
<form method="post" action="" class="logreg">
|
<form method="post" action="" class="logreg">
|
||||||
<?php if($validation !== true) : ?>
|
<?php if($validation !== true) : ?>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
@ -37,15 +38,18 @@
|
||||||
</ul>
|
</ul>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?=_('Character properties')?></legend>
|
<legend class="fwb"><?=_('Character properties')?></legend>
|
||||||
<label for="charactername"><?=_('Character name')?>:</label>
|
<label for="charactername"><?=_('Character name')?>:</label>
|
||||||
<input type="text" name="charactername" placeholder="<?=_('Character name')?>" required="required" value="<?=$charactername?>" /><br />
|
<input type="text" name="charactername" placeholder="<?=_('Character name')?>" required="required" value="<?=$charactername?>" /><br />
|
||||||
<ul>
|
<ul class="avatar">
|
||||||
<?php foreach($types as &$type) : ?>
|
<?php foreach($types as &$type) : ?>
|
||||||
<input id="type-<?=$type['id']?>" name="type" type="radio" value="<?=$type['url']?>" <?php if(array_key_exists('selected', $type) && $type['selected']) : ?>checked="checked"<?php endif ?> />
|
<li>
|
||||||
<label for="type-<?=$type['id']?>">
|
<label for="type-<?=$type['id']?>">
|
||||||
<img id="avatar" src="<?=$linker->link(array('media','avatar',$seminary['url'],$type['url'],$xplevels[0]['level']))?>" />
|
<p>Mensch</p>
|
||||||
</label>
|
<img id="avatar" src="<?=$linker->link(array('media','avatar',$seminary['url'],$type['url'],$xplevels[0]['level']))?>" />
|
||||||
|
</label>
|
||||||
|
<input id="type-<?=$type['id']?>" name="type" type="radio" value="<?=$type['url']?>" <?php if(array_key_exists('selected', $type) && $type['selected']) : ?>checked="checked"<?php endif ?> />
|
||||||
|
</li>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</ul>
|
</ul>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
@ -58,7 +62,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?=_('Seminary fields')?></legend>
|
<legend class="fwb"><?=_('Seminary fields')?></legend>
|
||||||
<?php foreach($fields as &$field) : ?>
|
<?php foreach($fields as &$field) : ?>
|
||||||
<label for="fields[<?=$field['url']?>]"><?=$field['title']?>:</label>
|
<label for="fields[<?=$field['url']?>]"><?=$field['title']?>:</label>
|
||||||
<?php switch($field['type_title']) {
|
<?php switch($field['type_title']) {
|
||||||
|
|
|
||||||
|
|
@ -142,6 +142,8 @@ input[type="submit"][disabled]{text-shadow:1px 2px #d48c4e;background:#f9ac69;bo
|
||||||
.logreg input{margin:5px 0 15px}
|
.logreg input{margin:5px 0 15px}
|
||||||
.logreg .cta{display:block}
|
.logreg .cta{display:block}
|
||||||
|
|
||||||
|
.avatar li{display:inline-block;margin-right:5px;text-align:center}
|
||||||
|
.avatar img{border-radius:3px}
|
||||||
|
|
||||||
/** Character Profile **/
|
/** Character Profile **/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue