Changeset 944

Show
Ignore:
Timestamp:
07/21/09 22:14:21 (4 years ago)
Author:
MDMAN
Message:

neue Version update.info

Location:
de.mdman.update.info
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • de.mdman.update.info/files/lib/system/event/listener/UpdateInfoListener.class.php

    r883 r944  
    6060                                )); 
    6161                                //Here the Template in the substitute symbol of userMessages is integrated. 
    62                                         if (strpos(WCF::getTPL()->get('userMessages'), WCF::getTPL()->fetch('updateInfo')) === false) { 
    63                                                 WCF::getTPL()->append('userMessages', WCF::getTPL()->fetch('updateInfo')); 
    64                                         } 
     62                                        if(!defined("UPDATE_INFO_TPL")) {  
     63                                                WCF::getTPL()->append('userMessages', WCF::getTPL()->fetch('updateInfo')); 
     64                                                define("UPDATE_INFO_TPL",1); 
     65                                        } 
    6566                                } 
    6667                        } 
  • de.mdman.update.info/package.xml

    r883 r944  
    88                <packagedescription><![CDATA[Mit diesem PlugIn wird auf der Startseite ein Hinweis fÃŒr den Administrator erscheinen, falls es neue Updates gibt.]]></packagedescription> 
    99                <packageurl><![CDATA[http://www.mdman.de]]></packageurl> 
    10                 <version>1.1.0</version> 
    11                 <date>2009-06-13</date> 
     10                <version>1.1.1</version> 
     11                <date>2009-07-25</date> 
    1212                <plugin>com.woltlab.wbb</plugin> 
    1313        </packageinformation> 
     
    6767        </instructions> 
    6868         
     69        <instructions type="update" fromversion="1.1.0"> 
     70                <files>files.tar</files>                 
     71        </instructions> 
     72         
    6973</package> 
  • de.mdman.update.info/templates/updateInfo.tpl

    r883 r944  
    44{foreach from=$updates item=u} 
    55<span id="{$u.packageID}"> 
    6 <a href="index.php?action=UpdateInfoDisable&amp;packageID={$u.packageID}&amp;version={$u.version.packageVersion}{@SID_ARG_2ND}" onclick="return (((new AjaxRequest()).openGet(this.href + '&ajax=1') && (document.getElementById('{if $updates|count == 1}updateinfo{else}{$u.packageID}{/if}').style.display = 'none')) ? false : false)" class="close" /><img src="{@RELATIVE_WCF_DIR}icon/deleteS.png" alt="" title="{lang}wcf.pm.notification.cancel{/lang}" /></a> 
     6<a href="index.php?action=UpdateInfoDisable&amp;packageID={$u.packageID}&amp;version={$u.version.packageVersion}{@SID_ARG_2ND}" onclick="return (((new AjaxRequest()).openGet(this.href + '&ajax=1') && (document.getElementById('{if $updates|count == 1}updateinfo{else}{$u.packageID}{/if}').style.display = 'none')) ? false : false)" class="close"><img src="{@RELATIVE_WCF_DIR}icon/deleteS.png" alt="" title="{lang}wcf.pm.notification.cancel{/lang}" /></a> 
    77<strong>{$u.packageName}</strong> {lang}wcf.acp.packageUpdate.updateInfo.from{/lang} <strong>{$u.packageVersion}</strong> {lang}wcf.acp.packageUpdate.updateInfo.to{/lang} <strong>{$u.version.packageVersion}</strong><br /> 
    88</span> 
    99{/foreach}<br /> 
    10 <a href="acp/index.php?form=Login&url=index.php?page=PackageAutoUpdateList&packageID={PACKAGE_ID}" />{lang}wbb.acp.index.updates.startUpdate{/lang}</a> 
     10<a href="acp/index.php?form=Login&amp;url=index.php?page=PackageAutoUpdateList&amp;packageID={PACKAGE_ID}">{lang}wbb.acp.index.updates.startUpdate{/lang}</a> 
    1111</p></div>