| @@ 1609-1616 (lines=8) @@ | ||
| 1606 | } |
|
| 1607 | ||
| 1608 | // Create new audio from text |
|
| 1609 | if (api_get_setting('enabled_text2audio') == 'true') { |
|
| 1610 | $dt2a = 'google'; |
|
| 1611 | $req_dt2a = '&dt2a='.$dt2a; |
|
| 1612 | $actionsLeft .= Display::url( |
|
| 1613 | Display::return_icon('new_sound.png', get_lang('CreateAudio'), '', ICON_SIZE_MEDIUM), |
|
| 1614 | api_get_path(WEB_CODE_PATH).'document/create_audio.php?'.api_get_cidreq().'&id='.$document_id.$req_dt2a |
|
| 1615 | ); |
|
| 1616 | } |
|
| 1617 | } |
|
| 1618 | ||
| 1619 | // Create new certificate |
|
| @@ 882-885 (lines=4) @@ | ||
| 879 | $profile_content .= '<li class="inbox-message-social"><a href="'.api_get_path(WEB_PATH).'main/messages/inbox.php'.$link.'">'.Display::return_icon('inbox.png',get_lang('Inbox'),null,ICON_SIZE_SMALL).get_lang('Inbox').$cant_msg.' </a></li>'; |
|
| 880 | $profile_content .= '<li class="new-message-social"><a href="'.api_get_path(WEB_PATH).'main/messages/new_message.php'.$link.'">'.Display::return_icon('new-message.png',get_lang('Compose'),null,ICON_SIZE_SMALL).get_lang('Compose').' </a></li>'; |
|
| 881 | ||
| 882 | if (api_get_setting('allow_social_tool') == 'true') { |
|
| 883 | $total_invitations = Display::badge($total_invitations); |
|
| 884 | $profile_content .= '<li class="invitations-social"><a href="'.api_get_path(WEB_PATH).'main/social/invitations.php">'.Display::return_icon('invitations.png',get_lang('PendingInvitations'),null,ICON_SIZE_SMALL).get_lang('PendingInvitations').$total_invitations.'</a></li>'; |
|
| 885 | } |
|
| 886 | ||
| 887 | if (isset($_configuration['allow_my_files_link_in_homepage']) && $_configuration['allow_my_files_link_in_homepage']) { |
|
| 888 | $myFiles = '<li class="myfiles-social"><a href="'.api_get_path(WEB_PATH).'main/social/myfiles.php">'.get_lang('MyFiles').'</a></li>'; |
|