View Issue Details

IDProjectCategoryView StatusLast Update
0003442OXID eShop (all versions)4.06. Language and translationspublic2012-05-03 16:15
Reportertjungcl 
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.5 revision 40299 
Target VersionFixed in Version4.7.0_5.0.0_beta1 
Summary0003442: button titles making html button text impossible
Descriptionin azure templates the are several buttons, that use their lang-text not only as button text, but also as button title (attribute).

The effect is, that when your mouse over the button "Save", you get the tooltip "Save", which is not really added value.

Downsite of this is, that you cant use simple html in your button text, such as "<span class='shortcut'>S</span>ave" or "crazy formated text".
Additional Informationthe list of titled button tags:

Search "<button[^>]*title=" (16 hits in 13 files)
  I:\Oxid EE\trunk\EE\eshop\out\azure\tpl\form\account_newsletter.tpl (1 hits)
    Line 13: <button id="newsletterSettingsSave" type="submit" title="[{ oxmultilang ident="FORM_USER_NEWSLETTER_SAVE" }]" class="submitButton">[{ oxmultilang ident="FORM_USER_NEWSLETTER_SAVE" }]</button>
  I:\Oxid EE\trunk\EE\eshop\out\azure\tpl\form\fieldset\user_billing.tpl (1 hits)
    Line 160: <button id="accUserSaveTop" type="submit" name="save" class="submitButton" title="[{ oxmultilang ident="FORM_FIELDSET_USER_BILLING_SAVE" }]">[{ oxmultilang ident="FORM_FIELDSET_USER_BILLING_SAVE" }]</button>
  I:\Oxid EE\trunk\EE\eshop\out\azure\tpl\form\fieldset\user_shipping.tpl (1 hits)
    Line 142: <button id="accUserSaveBottom" type="submit" class="submitButton" name="save" title="[{ oxmultilang ident="FORM_FIELDSET_USER_SHIPPING_SAVE2" }]">[{ oxmultilang ident="FORM_FIELDSET_USER_SHIPPING_SAVE2" }]</button>
  I:\Oxid EE\trunk\EE\eshop\out\azure\tpl\form\forgotpwd_email.tpl (1 hits)
    Line 21: <button class="submitButton" type="submit" title="[{ oxmultilang ident="PAGE_ACCOUNT_FORGOTPWD_REQUESTPWD"}]">[{ oxmultilang ident="PAGE_ACCOUNT_FORGOTPWD_REQUESTPWD"}]</button>
  I:\Oxid EE\trunk\EE\eshop\out\azure\tpl\form\guestbook.tpl (1 hits)
    Line 14: <button id="reviewSave" type="submit" title="[{oxmultilang ident="FORM_GUESTBOOKENTRY_SEND"}]" class="submitButton">[{oxmultilang ident="FORM_GUESTBOOKENTRY_SEND"}]</button>
  I:\Oxid EE\trunk\EE\eshop\out\azure\tpl\form\privatesales\basketexcl.tpl (2 hits)
    Line 21: <button name="tobasket" value="1" class="submitButton" type="submit" title="[{ oxmultilang ident="FORM_PRIVATESALES_BASKET_EXCLUDE_DISPLAYCART" }]">[{ oxmultilang ident="FORM_PRIVATESALES_BASKET_EXCLUDE_DISPLAYCART" }]</button>
    Line 23: <button class="submitButton" type="submit" title="[{ oxmultilang ident="FORM_PRIVATESALES_BASKET_EXCLUDE_CONTINUESHOPPING" }]">[{ oxmultilang ident="FORM_PRIVATESALES_BASKET_EXCLUDE_CONTINUESHOPPING" }]</button>
  I:\Oxid EE\trunk\EE\eshop\out\azure\tpl\form\user_password.tpl (1 hits)
    Line 41: <button id="savePass" type="submit" title="[{ oxmultilang ident="FORM_USER_PASSWORD_SAVE" }]" class="submitButton">[{ oxmultilang ident="FORM_USER_PASSWORD_SAVE" }]</button>
  I:\Oxid EE\trunk\EE\eshop\out\azure\tpl\page\compare\inc\compareitem.tpl (1 hits)
    Line 104: <button type="submit" class="submitButton largeButton" title="[{oxmultilang ident="PAGE_PRODUCT_INC_PRODUCT_ADDTOCARD2"}]">[{oxmultilang ident="PAGE_PRODUCT_INC_PRODUCT_ADDTOCARD2"}]</button>
  I:\Oxid EE\trunk\EE\eshop\out\azure\tpl\page\details\inc\editTags.tpl (2 hits)
    Line 23: <button class="submitButton" id="saveTag" type="submit" title="[{oxmultilang ident="PAGE_DETAILS_TAGS_SUBMIT"}]">[{oxmultilang ident="PAGE_DETAILS_TAGS_SUBMIT"}]</button>
    Line 24: <button class="submitButton" id="cancelTag" type="submit" title="[{oxmultilang ident="PAGE_DETAILS_TAGS_SUBMIT"}]">[{oxmultilang ident="PAGE_DETAILS_TAGS_CANCEL"}]</button>
  I:\Oxid EE\trunk\EE\eshop\out\azure\tpl\page\details\inc\productmain.tpl (1 hits)
    Line 257: <button id="toBasket" type="submit" [{if !$blCanBuy}]disabled="disabled"[{/if}] class="submitButton largeButton" title="[{oxmultilang ident="DETAILS_ADDTOCART"}]">[{oxmultilang ident="DETAILS_ADDTOCART"}]</button>
  I:\Oxid EE\trunk\EE\eshop\out\azure\tpl\page\details\inc\tags.tpl (1 hits)
    Line 27: <button class="submitButton" id="editTag" type="submit" title="[{oxmultilang ident="PAGE_DETAILS_TAGS_EDIT"}]">[{oxmultilang ident="PAGE_DETAILS_TAGS_EDIT"}]</button>
  I:\Oxid EE\trunk\EE\eshop\out\azure\tpl\widget\product\listitem_line.tpl (2 hits)
    Line 130: <button id="toBasket_[{$testid}]" type="submit" class="submitButton largeButton" title="[{oxmultilang ident="DETAILS_ADDTOCART"}]">[{oxmultilang ident="DETAILS_ADDTOCART"}]</button>
    Line 136: <button triggerForm="remove_[{$removeFunction}][{$testid}]" type="submit" class="submitButton largeButton removeButton" title="[{ oxmultilang ident="WIDGET_PRODUCT_PRODUCT_REMOVE" }]"><span>[{ oxmultilang ident="WIDGET_PRODUCT_PRODUCT_REMOVE" }]</span></button>
  I:\Oxid EE\trunk\EE\eshop\out\azure\tpl\widget\reviews\reviews.tpl (1 hits)
    Line 37: <button id="reviewSave" type="submit" title="[{oxmultilang ident="DETAILS_SAVEREVIEW"}]" class="submitButton">[{oxmultilang ident="DETAILS_SAVEREVIEW"}]</button>
TagsNo tags attached.
ThemeAzure
BrowserAll
PHP Versionany
MySQL Versionany

Activities

saulius.stasiukaitis

2012-05-03 16:15

reporter   ~0006503

Hello tjungcl,
After short meet with team we decided to remove titles from buttons as it may make more troubles than add advantage.