Changeset 1699
- Timestamp:
- 08/26/08 15:08:13 (3 months ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 modified
-
admin/mail.php (modified) (2 diffs)
-
docs/CHANGELOG (modified) (1 diff)
-
lib/init.php (modified) (1 diff)
-
modules/emulater (added)
-
modules/emulater/gettext.php (added)
-
templates/show_artist.inc.php (modified) (1 diff)
-
templates/show_democratic.inc.php (modified) (1 diff)
-
templates/show_random.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/mail.php
r1696 r1699 73 73 AmpacheMail::$additional_header = array(); 74 74 AmpacheMail::$additional_header[] = 'X-Ampache-Mailer: 0.0.1'; 75 AmpacheMail::$additional_header[] = "From: " . AmpacheMail::$from; 76 AmpacheMail::$additional_header[] = "Bcc: $recipient"; 75 77 if(function_exists('mb_send_mail')) { 76 78 AmpacheMail::$additional_header[] = 'Content-Type: text/plain; charset=UTF-8'; … … 80 82 AmpacheMail::$additional_header[] = 'Content-Transfer-Encoding: 7bit'; 81 83 } 82 AmpacheMail::$additional_header[] = "From: " . AmpacheMail::$from;83 AmpacheMail::$additional_header[] = "Bcc: $recipient";84 84 AmpacheMail::$sender = $GLOBALS['user']->email; 85 85 -
trunk/docs/CHANGELOG
r1698 r1699 5 5 -------------------------------------------------------------------------- 6 6 v.3.5-Alpha1 7 - Added Emulate gettext() from upgradephp-15 8 (http://freshmeat.net/p/upgradephp) 9 - Fixed Test.php parse error. 10 - Updated multibyte character strings mail. 11 - Fixed To send mail don't remove the last comma from recipient. 12 - Updated More translatable templates. 13 - Removed merge-messages.sh and Add LANGLIST (each languages 14 translation statistics). 15 - Fixed If database name don't named ampache, can't renamed tags 16 to tag. 7 17 - Fixed count issue on browse Artists (Thx Sylvander) 8 18 - Fixed prevent_multiple_logins, preventing all logins (Thx hugh) -
trunk/lib/init.php
r1635 r1699 44 44 require_once $prefix . '/lib/general.lib.php'; 45 45 require_once $prefix . '/lib/class/config.class.php'; 46 47 if (!function_exists('gettext')) { 48 require_once $prefix . '/modules/emulater/gettext.php'; 49 } 46 50 47 51 // Define some base level config options -
trunk/templates/show_artist.inc.php
r1673 r1699 23 23 ?> 24 24 <?php 25 show_box_top(sprintf( ngettext('%s by %s', '%ss by %s', count(ucfirst($object_type))), ucfirst($object_type) ,$artist->f_name),'info-box');25 show_box_top(sprintf(gettext('%s by %s'), ucfirst($object_type) ,$artist->f_name),'info-box'); 26 26 if (Config::get('ratings')) { 27 27 ?> -
trunk/templates/show_democratic.inc.php
r1692 r1699 20 20 */ 21 21 22 show_box_top(sprintf(_(' Playlist %s') ,$democratic->name));22 show_box_top(sprintf(_('%s Playlist') ,$democratic->name)); 23 23 ?> 24 24 <div id="democratic_playlist"> -
trunk/templates/show_random.inc.php
r1692 r1699 49 49 <select name="length"> 50 50 <option value="0"><?php echo _('Unlimited'); ?></option> 51 <option value="15"><?php printf(ngettext('% s minute','%sminutes',15), "15"); ?></option>52 <option value="30"><?php printf(ngettext('% s minute','%sminutes',30), "30"); ?></option>53 <option value="60"><?php printf(ngettext('% s hour','%shours',1), "1"); ?></option>54 <option value="120"><?php printf(ngettext('% s hour','%shours',2), "2"); ?></option>55 <option value="240"><?php printf(ngettext('% s hour','%shours',4), "4"); ?></option>56 <option value="480"><?php printf(ngettext('% s hour','%shours',8), "8"); ?></option>57 <option value="960"><?php printf(ngettext('% s hour','%shours',16), "16"); ?></option>51 <option value="15"><?php printf(ngettext('%d minute','%d minutes',15), "15"); ?></option> 52 <option value="30"><?php printf(ngettext('%d minute','%d minutes',30), "30"); ?></option> 53 <option value="60"><?php printf(ngettext('%d hour','%d hours',1), "1"); ?></option> 54 <option value="120"><?php printf(ngettext('%d hour','%d hours',2), "2"); ?></option> 55 <option value="240"><?php printf(ngettext('%d hour','%d hours',4), "4"); ?></option> 56 <option value="480"><?php printf(ngettext('%d hour','%d hours',8), "8"); ?></option> 57 <option value="960"><?php printf(ngettext('%d hour','%d hours',16), "16"); ?></option> 58 58 </select> 59 59 </td>
