Changeset 9968


Ignore:
Timestamp:
Apr 2, 2011, 10:07:48 AM (9 years ago)
Author:
mistic100
Message:

[extensions] Comments on Albums

  • first public version
Location:
extensions/Comments_on_Albums
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/Comments_on_Albums/admin/template/style.css

    r9641 r9968  
    22        clear:right;
    33}
    4 .titrePage h2 {
    5         text-align:center;
    6 }
     4
    75
    86table {
  • extensions/Comments_on_Albums/main.inc.php

    r9766 r9968  
    4141       
    4242        if ($page['section'] == 'categories' AND isset($page['category'])) {   
    43                 if (isset($pwg_loaded_plugins['bbcode_bar'])) set_bbcode_bar();
    44                 else if (isset($pwg_loaded_plugins['SmiliesSupport']))set_smiliessupport_page();
     43                if (isset($pwg_loaded_plugins['bbcode_bar']) AND !isset($_GET['comment_to_edit'])) set_bbcode_bar();
     44                else if (isset($pwg_loaded_plugins['SmiliesSupport']) AND !isset($_GET['comment_to_edit'])) set_smiliessupport();
    4545               
    4646                include(COA_PATH . 'include/coa_albums.php');
     
    5151        global $template, $page, $conf;
    5252       
    53         if ($page['body_id'] == 'theCommentsPage') {
     53        if (isset($page['body_id']) AND $page['body_id'] == 'theCommentsPage') {
    5454                include(COA_PATH . 'include/coa_comments_page.php');
    5555        }
  • extensions/Comments_on_Albums/template/coa_admin_intro.tpl

    r9641 r9968  
    11{* this code add a line to the database infos list *}
    22
    3 {footer_script}
     3{footer_script require='jquery'}
    44        jQuery('dl[style="padding-top: 30px;"] dd:last-child ul li:last-child').append('[{'Photos'|@translate}]');
    55        jQuery('<li>'+
  • extensions/Comments_on_Albums/template/coa_albums.tpl

    r9766 r9968  
    11{* this is inspired by theme/defaults/template/picture.tpl *}
    22       
    3 {combine_script id="jquery"}
    43{combine_css path=$COA_PATH|@cat:'template/style_albums.css'}
    54{if $themeconf.name == 'Sylvia'}{combine_css path=$COA_PATH|@cat:'template/style_albums_sylvia.css'}{/if}
Note: See TracChangeset for help on using the changeset viewer.