The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit d924f20e authored by Demian Katz's avatar Demian Katz
Browse files

Template optimization.

parent 0dcec46b
No related merge requests found
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
<div class="form-group"> <div class="form-group">
<label for="type" class="control-label"><?=$this->translate('delete_tags_by')?>:</label> <label for="type" class="control-label"><?=$this->translate('delete_tags_by')?>:</label>
<select id="type" name="type" class="form-control"> <select id="type" name="type" class="form-control">
<option value="user" <? if("user" == $this->type) echo " selected=selected";?>><?=$this->translate('Username')?></option> <option value="user" <?=("user" == $this->type) ? ' selected=selected' : ''?>><?=$this->translate('Username')?></option>
<option value="tag" <? if("tag" == $this->type) echo " selected=selected";?>><?=$this->translate('Tag')?></option> <option value="tag" <?=("tag" == $this->type) ? ' selected=selected' : ''?>><?=$this->translate('Tag')?></option>
<option value="resource" <? if("resource" == $this->type) echo " selected=selected";?>><?=$this->translate('Title')?></option> <option value="resource" <?=("resource" == $this->type) ? ' selected=selected' : ''?>><?=$this->translate('Title')?></option>
</select> </select>
<input type="submit" value="<?=$this->translate('Submit')?>" class="btn btn-primary"/> <input type="submit" value="<?=$this->translate('Submit')?>" class="btn btn-primary"/>
</div> </div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment