2
0
Fork 0

detailed description

This commit is contained in:
ivan 2020-04-02 15:40:23 +03:00
parent 6bc3200bd9
commit c4c55c113f
2 changed files with 4 additions and 4 deletions

View File

@ -9,6 +9,6 @@ hub.domain/link/item
where an item is the numeric value of an object from the database. where an item is the numeric value of an object from the database.
It is possible to use /admin/addons/link settings page for enabling or disabling of showing "Link on Hub" button (currently used javascript hack for the integrating with wall-item-menu, it will be fixed later) It is possible to use /admin/addons/link settings page for enabling or disabling of showing "Link on Hub" button (currently used temporarily javascript code for the integrating with wall-item-menu, which does not support page updates, it will be fixed later)
Based on Zotlabs/Module/Display.php Based on Zotlabs/Module/Display.php

View File

@ -2,7 +2,7 @@
/** /**
* Name: Link * Name: Link
* Description: Using short links on whole hub * Description: Using short links on whole hub
* Version: 0.04 * Version: 0.05
* Author: ivan zlax <@zlax@ussr.win> * Author: ivan zlax <@zlax@ussr.win>
* Maintainer: ivan zlax <@zlax@ussr.win> * Maintainer: ivan zlax <@zlax@ussr.win>
*/ */
@ -28,7 +28,7 @@ function link_plugin_admin(&$a,&$o) {
$t = get_markup_template( "admin.tpl", "addon/link/" ); $t = get_markup_template( "admin.tpl", "addon/link/" );
$o = replace_macros($t, array( $o = replace_macros($t, array(
'$submit' => t('Submit'), '$submit' => t('Submit'),
'$linkonhub' => array('linkonhub', t('Show "Link on Hub" button'), get_config('link', 'linkonhub'), t('Currently used javascript hack for the integrating with wall-item-menu (will be fixed later)')), '$linkonhub' => array('linkonhub', t('Show "Link on Hub" button'), get_config('link', 'linkonhub'), t('Currently used temporarily javascript code for the integrating with wall-item-menu (will be fixed later)')),
)); ));
} }