Ignore:
Timestamp:
Mar 8, 2011, 1:19:06 PM (13 years ago)
Author:
mistic100
Message:

[extensions] ContestResults 1.3

  • Add error and success messages on admin page
  • Add Spain (es_ES) thanks to jpr928
  • Contest status is automatic and shows remaining days
  • More flexibility for description fields
  • Compatibility with Piwigo 2.2.0
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContestResults/include/cr_comment_picture.php

    r9200 r9572  
    11<?php
    22if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
     3
     4// +-----------------------------------------------------------------------+
     5//              Affichage du commentaire sur la page d'une image participante
     6// +-----------------------------------------------------------------------+
    37
    48// Requète simple pour savoir si l'image a participé à des concours
     
    610
    711if(pwg_db_num_rows($participation)){
     12        // requète complète
    813        $results = pwg_query("SELECT
    914                        i.rank,
     
    4651        </style>';
    4752
     53        // +-----------------------------------------------------------------------+
     54        //                              Template
     55        // +-----------------------------------------------------------------------+
    4856        $template->assign('COMMENT_IMG', $template->get_template_vars('COMMENT_IMG') . $comment);
    49         $template->assign('PLUGIN_PICTURE_BEFORE', $template->get_template_vars('PLUGIN_PICTURE_BEFORE') . $css);
     57        $template->append('footer_elements', $css);
    5058}
    5159?>
Note: See TracChangeset for help on using the changeset viewer.