~jernej-novak/slowtool/slownetBranch

« back to all changes in this revision

Viewing changes to system/application/views/search_content.php

  • Committer: Jernej Novak
  • Date: 2012-02-22 16:07:57 UTC
  • Revision ID: jernej.novak@gmail.com-20120222160757-pzmid8onhip523io
Bug fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
<?php endif;?>
10
10
<?php if(strlen($synset->ClusterId) > 0):?> 
11
11
<span class="PosID">ClusterId:</span> <?php echo $synset->ClusterId; ?>
12
 
<?php endif;?>  
 
12
<?php endif;?>
 
13
 
 
14
<span class="PosID">Approved:</span> <input class="chkApproved" type="checkbox" <?php echo ($canApprove) ?   "" : "disabled=\"disabled\""; ?> <?php echo (($synset->Flags & APPROVED) == APPROVED) ? "checked=\"checked\"" : "" ; ?>  />
 
15
  
13
16
<?php if($synset->WordName == "Noun" && strlen($synset->imageNetUrl) > 0): ?>
14
17
<div class="imageNetUrl"></div>
15
18
<?php endif;?>
37
40
        <br /> 
38
41
<?php endforeach;?>
39
42
<?php foreach ($qdefinitions->result() as $row):?>
40
 
        <span class="showDefinition"><span class="Sinonim">Definition:</span> <span class="Beseda_definicija Language<?php echo $row->LanguageId; ?>"><?php echo $row->Text; ?> </span><br/> </span> 
 
43
        <span class="showDefinition"><span class="Sinonim">Definition:</span> <span class="Beseda_definicija Language<?php echo $row->LanguageId; ?> <?php echo ($row->LanguageId == 1) ? "editDefinitions\" data-id=\"" . $row->DefinitionId : ""; ?>"><?php echo $row->Text; ?> </span><br/> </span> 
41
44
<?php endforeach;?>
42
45
<?php foreach ($qusages->result() as $row):?>
43
46
        <span class="showUsage" ><span class="Sinonim">Usage:</span> <span class="Beseda_definicija Language<?php echo $row->LanguageId; ?>"><?php echo $row->Text; ?> </span> <br/> </span>