Changeset 12381


Ignore:
Timestamp:
Oct 7, 2011, 7:34:40 PM (13 years ago)
Author:
mistic100
Message:

add a PWG Stuffs module, add menu bar on comments page

Location:
extensions/Comments_on_Albums
Files:
7 added
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/Comments_on_Albums/language/en_UK/plugin.lang.php

    r11874 r12381  
    1515$lang['COA_comment_validation_link'] = 'Validation (if enabled) of comments on albums is on <a href="admin.php?page=comments&section=albums">the same page</a> as the comments on pictures.';
    1616
     17/* stuffs */
     18$lang['Last comments on albums'] = 'Last comments on albums';
     19$lang['Display last posted comments on albums'] = 'Display last posted comments on albums';
     20
    1721?>
  • extensions/Comments_on_Albums/language/fr_FR/plugin.lang.php

    r11874 r12381  
    1414  Vous pouvez ajouter les votres dans le dossier <i>plugins/comments_on_pictures/template/s26</i>.';
    1515$lang['COA_comment_validation_link'] = 'La validation (si activée) des commentaires sur les albums ce fait <a href="admin.php?page=comments&section=albums">sur la même page</a> que pour les commentaires sur les photos.';
     16
     17/* stuffs */
     18$lang['Last comments on albums'] = 'Derniers commentaires sur les albums';
     19$lang['Display last posted comments on albums'] = 'Affiche les derniers commentaires postés sur les albums';
    1620 
    1721?>
  • extensions/Comments_on_Albums/main.inc.php

    r11327 r12381  
    3030add_event_handler('loc_end_admin', 'COA_admin_comments');
    3131add_event_handler('get_admin_plugin_menu_links', 'COA_admin_menu');
     32add_event_handler('get_stuffs_modules', 'COA_register_stuffs_module');
    3233
    3334
     
    102103}
    103104
     105function COA_register_stuffs_module($modules)
     106{
     107  load_language('plugin.lang', COA_PATH);
     108 
     109  array_push($modules, array(
     110    'path' => COA_PATH . '/stuffs_module',
     111    'name' => l10n('Last comments on albums'),
     112    'description' => l10n('Display last posted comments on albums'),
     113  ));
     114
     115  return $modules;
     116}
     117
     118
    104119?>
  • extensions/Comments_on_Albums/template/comments_page.tpl

    r11874 r12381  
    1818{/html_head}
    1919
     20{if isset($MENUBAR)}{$MENUBAR}{/if}
    2021<div id="content" class="content">
    2122
Note: See TracChangeset for help on using the changeset viewer.