Ignore:
Timestamp:
May 31, 2009, 9:35:51 PM (15 years ago)
Author:
plg
Message:

feature 1020 added: ability to subscribe to Piwigo Announcement Newsletter from
Piwigo itself. Admins can perform this action at the end of installation or on
administration panel index.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/admin/template/goto/intro.tpl

    r3196 r3381  
    11{* $Id$ *}
     2{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
     3{known_script id="jquery.dimensions" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.dimensions.packed.js"}
     4{known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.cluetip.packed.js"}
     5
     6<script type="text/javascript">
     7jQuery().ready(function(){ldelim}
     8  jQuery('.cluetip').cluetip({ldelim}
     9    width: 300,
     10    splitTitle: '|'
     11  });
     12});
     13</script>
     14
    215<h2>{'title_default'|@translate}</h2>
    316<dl style="padding-top: 30px;">
     
    821          return false;">Piwigo</a> {$PWG_VERSION}</li>
    922      <li><a href="{$U_CHECK_UPGRADE}">{'Check for upgrade'|@translate}</a></li>
     23{if isset($SUBSCRIBE_BASE_URL)}
     24      <li><a href="{$SUBSCRIBE_BASE_URL}{$EMAIL}" onclick="window.open(this.href); return false;" class="cluetip" title="{'Piwigo Announcements Newsletter'|@translate}|{'Subscribe to Piwigo Announcements Newsletter'|@translate|htmlspecialchars|nl2br}">{'Subscribe %s to Piwigo Announcements Newsletter'|@translate|@sprintf:$EMAIL}</a></li>
     25{/if}
    1026    </ul>
    1127  </dd>
Note: See TracChangeset for help on using the changeset viewer.