Branch: Tag:

2018-06-28

2018-06-28 07:27:12 by Pontus Östlund <ponost@roxen.com>

Some simple refcatoring in lib.js and some additions to the light theme.

788:    <dl class='config-var'>    <dt class='name small'>&_.name;</dt>    <dd class='value'> +  <if variable='_.form is *<select*'> +  <div class='select-wrapper'>    <eval>&_.form:none;</eval> -  +  </div> +  </if> +  <else> +  <eval>&_.form:none;</eval> +  </else>    </dd>    <dd class='doc'>&_.doc:none;</dd>    </dl>
800:    ModuleInfo mi = roxen.find_module( (mod/"!")[0] );    RoxenModule moo = conf->find_module( replace(mod,"!","#") );    -  foreach( indices(moo->query()), string v ) { +  foreach( indices(moo && moo->query() || ({})), string v ) {    if( moo->getvar( v )->get_flags() & VAR_INITIAL ) {    num++;