|
257 | 257 | <?php echo HTMLHelper::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'articles.', $canCheckin); ?> |
258 | 258 | <?php endif; ?> |
259 | 259 | <?php if ($canEdit || $canEditOwn) : ?> |
260 | | - <a href="<?php echo Route::_('index.php?option=com_content&task=article.edit&id=' . $item->id); ?>" aria-labelledby="edit-<?php echo (int) $item->id; ?>"> |
| 260 | + <a href="<?php echo Route::_('index.php?option=com_content&task=article.edit&id=' . $item->id); ?>" title="<?php echo Text::_('JACTION_EDIT'); ?> <?php echo $this->escape($item->title); ?>"> |
261 | 261 | <?php echo $this->escape($item->title); ?></a> |
262 | | - <div role="tooltip" id="edit-<?php echo (int) $item->id; ?>"><?php echo Text::_('JACTION_EDIT') . ' ' . $this->escape($item->title); ?></div> |
263 | 262 | <?php else : ?> |
264 | 263 | <span title="<?php echo Text::sprintf('JFIELD_ALIAS_LABEL', $this->escape($item->alias)); ?>"><?php echo $this->escape($item->title); ?></span> |
265 | 264 | <?php endif; ?> |
|
284 | 283 | if (Factory::getLanguage()->isRtl()) |
285 | 284 | { |
286 | 285 | if ($canEditCat || $canEditOwnCat) : |
287 | | - echo '<a href="' . $CurrentCatUrl . '" aria-labelledby="edit-cat-' . (int) $item->id . '">'; |
288 | | - echo $this->escape($item->category_title). '</a>'; |
289 | | - echo '<div role="tooltip" id="edit-cat-' . (int) $item->id.'">' . $EditCatTxt . '</div>'; |
| 286 | + echo '<a href="' . $CurrentCatUrl . '" title="' . $EditCatTxt . '">'; |
| 287 | + endif; |
| 288 | + echo $this->escape($item->category_title); |
| 289 | + if ($canEditCat || $canEditOwnCat) : |
| 290 | + echo '</a>'; |
290 | 291 | endif; |
291 | 292 | if ($item->category_level != '1') : |
292 | 293 | echo ' « '; |
293 | 294 | if ($canEditParCat || $canEditOwnParCat) : |
294 | | - echo '<a href="' . $ParentCatUrl . '" aria-labelledby="edit-cat-' . (int) $item->id . '">'; |
295 | | - echo $this->escape($item->parent_category_title) . '</a>'; |
296 | | - echo '<div role="tooltip" id="edit-cat-' . (int) $item->id.'">' . $EditCatTxt . '</div>'; |
| 295 | + echo '<a href="' . $ParentCatUrl . '" title="' . $EditCatTxt . '">'; |
| 296 | + endif; |
| 297 | + echo $this->escape($item->parent_category_title); |
| 298 | + if ($canEditParCat || $canEditOwnParCat) : |
| 299 | + echo '</a>'; |
297 | 300 | endif; |
298 | 301 | endif; |
299 | 302 | } |
300 | 303 | else |
301 | 304 | { |
302 | 305 | if ($item->category_level != '1') : |
303 | 306 | if ($canEditParCat || $canEditOwnParCat) : |
304 | | - echo '<a href="' . $ParentCatUrl . '" aria-labelledby="edit-cat-' . (int) $item->id . '">'; |
305 | | - echo $this->escape($item->parent_category_title) . '</a>'; |
306 | | - echo '<div role="tooltip" id="edit-cat-' . (int) $item->id.'">' . $EditCatTxt . '</div>'; |
| 307 | + echo '<a href="' . $ParentCatUrl . '" title="' . $EditCatTxt . '">'; |
| 308 | + endif; |
| 309 | + echo $this->escape($item->parent_category_title); |
| 310 | + if ($canEditParCat || $canEditOwnParCat) : |
| 311 | + echo '</a>'; |
307 | 312 | endif; |
308 | 313 | echo ' » '; |
309 | 314 | endif; |
310 | 315 | if ($canEditCat || $canEditOwnCat) : |
311 | | - echo '<a href="' . $CurrentCatUrl . '" aria-labelledby="edit-cat-' . (int) $item->id . '">'; |
312 | | - echo $this->escape($item->category_title) . '</a>'; |
313 | | - echo '<div role="tooltip" id="edit-cat-' . (int) $item->id . '">' . $EditCatTxt . '</div>'; |
| 316 | + echo '<a href="' . $CurrentCatUrl . '" title="' . $EditCatTxt . '">'; |
| 317 | + endif; |
| 318 | + echo $this->escape($item->category_title); |
| 319 | + if ($canEditCat || $canEditOwnCat) : |
| 320 | + echo '</a>'; |
314 | 321 | endif; |
315 | 322 | } |
316 | 323 | ?> |
|
0 commit comments