Quote:
Originally Posted by minimalize
Hey Andrew,
i?ve got another question. I hope it?s my last one
When i add a new link there is a select field where i can select the categorie. Is there an ability to get the main categories bold?
|
You mean the categories that are at the bottom of the tree (which have no parents)?
Edit the links_addnewlin_catselect_multi template (vb/admin/styles) and replace the current template with the following:
Code:
<if condition="$select_stage==1"> <select class="select" name="$list_name" id="$list_id" multiple="multiple" size="5" style="width:400px; height:100px;">
<optgroup label="$vbphrase[ll_parcatslabel]">
</if><if condition="$select_stage==2"> <option value="$catid"<if condition="$catsel==1"> selected="selected"</if> <if condition="$disabled">disabled="disabled"</if> <if condition="$class">class="$class"</if> <if condition="!$prepend">style="font-weight: bold;"</if>
>$catname<if condition="$catclosed"> [$vbphrase[ll_catclosed]]</if></option>
</if><if condition="$select_stage==3">
</optgroup>
</select>
</if>
In case you're intersted, the change is adding the conditional test
Code:
<if condition="!$prepend">style="font-weight: bold;"</if>