Exemplo n.º 1
0
       <?php 
 }
 ?>
     </span>
   </td>
   <td class="center">
     <?php 
 echo $item->weight;
 ?>
   </td>
   <td class="small">
     <span style="display:block; width:200px; word-wrap:break-word;">
     <?php 
 $max_chars = 60;
 echo "<span class=\"editlinktip hasTip\" title=\"" . addslashes(htmlspecialchars(JText::_('COM_TAGMETA_HEADING_SYNONYMS_COMMENT') . '::' . $item->comment)) . "\">";
 echo TagMetaHelper::trimText($item->comment, $max_chars);
 echo "</span>";
 ?>
     </span>
   </td>
   <td class="center">
     <?php 
 echo $item->hits;
 ?>
   </td>
   <td class="center">
     <?php 
 echo $item->last_visit;
 ?>
   </td>
   <td class="center hidden-phone">
Exemplo n.º 2
0
            <div style="float: right; border: 1px dashed silver; padding: 5px; margin-bottom: 10px; height: 45px; width: 200px; word-wrap:break-word;" class="editlinktip hasTip" title="<?php 
        echo JText::_('COM_TAGMETA_FIELD_RULES_XREFERENCE_LABEL') . "::" . htmlspecialchars($item->xreference, ENT_QUOTES);
        ?>
">
              <?php 
        $max_chars = 100;
        echo TagMetaHelper::trimText(htmlspecialchars($item->xreference, ENT_QUOTES), $max_chars);
        ?>
            </div>
            <div style="float: left; border: 1px dashed silver; padding: 5px; margin-bottom: 10px; height: 45px; width: 200px; word-wrap:break-word;" class="editlinktip hasTip" title="<?php 
        echo JText::_('COM_TAGMETA_FIELD_RULES_CANONICAL_LABEL') . "::" . htmlspecialchars($item->canonical, ENT_QUOTES);
        ?>
">
              <?php 
        $max_chars = 100;
        echo TagMetaHelper::trimText(htmlspecialchars($item->canonical, ENT_QUOTES), $max_chars);
        ?>
            </div>
          </td>
          <td class="center">
            <?php 
        $robots = '';
        if ($item->rindex != 2) {
            $robots .= $item->rindex ? 'index,' : 'noindex,';
        }
        if ($item->rfollow != 2) {
            $robots .= $item->rfollow ? 'follow,' : 'nofollow,';
        }
        if ($item->rsnippet != 2) {
            $robots .= $item->rsnippet ? 'snippet,' : 'nosnippet,';
        }