Permalink
Browse files

Fixed edit links buttons label in forums skin not showing on all scre…

…en sizes
  • Loading branch information...
1 parent 9cf362f commit f221f49c6d0e24ec0faaf5d33e53a45a18136f3d @winskie winskie committed Dec 18, 2016
Showing with 4 additions and 4 deletions.
  1. +2 −2 skins_fallback_v6/_edit.disp.php
  2. +2 −2 skins_fallback_v6/_edit_comment.disp.php
@@ -205,9 +205,9 @@
) ), $params ) ) );
$Form->output = true;
$advanced_edit_text = T_('Advanced editing');
- $edit_links = preg_replace( '/ '.$advanced_edit_text.'/', '<span class="hidden-xs">$1</span>', $edit_links );
+ $edit_links = preg_replace( '/ '.$advanced_edit_text.'/', '<span class="hidden-xs">$0</span>', $edit_links );
$cancel_text = T_('Cancel editing');
- $edit_links = preg_replace( '/ '.$cancel_text.'/', '<span class="hidden-xs">$1</span>', $edit_links );
+ $edit_links = preg_replace( '/ '.$cancel_text.'/', '<span class="hidden-xs">$0</span>', $edit_links );
echo $edit_links;
@@ -58,9 +58,9 @@
) ), $params ) ) );
$Form->output = true;
$advanced_edit_text = T_('Advanced editing');
- $edit_links = preg_replace( '/ '.$advanced_edit_text.'/', '<span class="hidden-xs">$1</span>', $edit_links );
+ $edit_links = preg_replace( '/ '.$advanced_edit_text.'/', '<span class="hidden-xs">$0</span>', $edit_links );
$cancel_text = T_('Cancel editing');
- $edit_links = preg_replace( '/ '.$cancel_text.'/', '<span class="hidden-xs">$1</span>', $edit_links );
+ $edit_links = preg_replace( '/ '.$cancel_text.'/', '<span class="hidden-xs">$0</span>', $edit_links );
echo $edit_links;
$Form->info( T_('In response to'), $comment_Item->get_title() );

0 comments on commit f221f49

Please sign in to comment.