Permalink
Browse files

Undo Fix Shortcut Icons Languages Titles

osc_icon() function dont need OSCOM::getDdef()
:-)

Signed-off-by: Gergely <t-gely@freemail.hu>
  • Loading branch information...
1 parent 7fa5ebe commit 58a4f08c77638bda7b7a30f34180b54772990d84 @tgely committed Aug 6, 2010
@@ -12,8 +12,6 @@
header_title_online_catalog = Online Catalog
header_title_languages = Languages
header_title_logoff = Logoff
-header_icon_shortcut_remove = Remove Actual Page Shortcut
-header_icon_shortcut_add = Add Actual Page Shortcut
ssl_protection = You are protected by a secure SSL connection.
ssl_unprotected = You are not protected by a secure SSL connection.
@@ -59,9 +59,9 @@
if ( $OSCOM_Application->canLinkTo() ) {
if ( Access::isShortcut(OSCOM::getSiteApplication()) ) {
- echo ' <li class="shortcuts">' . osc_link_object(OSCOM::getLink(null, 'Index', 'RemoveShortcut&shortcut=' . OSCOM::getSiteApplication()), osc_icon('shortcut_remove.png', OSCOM::getDef('header_icon_shortcut_remove'))) . '</li>';
+ echo ' <li class="shortcuts">' . osc_link_object(OSCOM::getLink(null, 'Index', 'RemoveShortcut&shortcut=' . OSCOM::getSiteApplication()), osc_icon('shortcut_remove.png')) . '</li>';
} else {
- echo ' <li class="shortcuts">' . osc_link_object(OSCOM::getLink(null, 'Index', 'AddShortcut&shortcut=' . OSCOM::getSiteApplication()), osc_icon('shortcut_add.png', OSCOM::getDef('header_icon_shortcut_add'))) . '</li>';
+ echo ' <li class="shortcuts">' . osc_link_object(OSCOM::getLink(null, 'Index', 'AddShortcut&shortcut=' . OSCOM::getSiteApplication()), osc_icon('shortcut_add.png')) . '</li>';
}
}

0 comments on commit 58a4f08

Please sign in to comment.