"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/admin/send_core.php" between
phplist-3.4.9.tgz and phplist-3.5.0.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

send_core.php  (phplist-3.4.9.tgz):send_core.php  (phplist-3.5.0.tgz)
skipping to change at line 865 skipping to change at line 865
$desc, $val, $messagedata['sendformat'] == $val ? 'check ed="checked"' : ''); $desc, $val, $messagedata['sendformat'] == $val ? 'check ed="checked"' : '');
} }
} }
} }
} }
$formatting_content .= '</div>'; $formatting_content .= '</div>';
$req = Sql_Query("select id,title from {$tables['template']} order by listor der"); $req = Sql_Query("select id,title from {$tables['template']} order by listor der");
if (Sql_affected_Rows()) { if (Sql_affected_Rows()) {
$formatting_content .= '<div class="field"><label for="template">'.$GLOB ALS['I18N']->get('Use Template').Help('usetemplate').'</label>'.' $formatting_content .= '<div class="field"><label for="template">'.$GLOB ALS['I18N']->get('Use Template').Help('usetemplate').'</label>'.'
<select name="template"><option value="0">-- ' .s('select one').'</option> <select name="template"><option value="0" hidden>' .s('--Select one--').'< /option>
<option value="0">-- ' .s('No template').'</option>'; <option value="0">-- ' .s('No template').'</option>';
$req = Sql_Query("select id,title from {$tables['template']} order by li storder"); $req = Sql_Query("select id,title from {$tables['template']} order by li storder");
while ($row = Sql_Fetch_Array($req)) { while ($row = Sql_Fetch_Array($req)) {
if ($row['title']) { if ($row['title']) {
$formatting_content .= sprintf('<option value="%d" %s>%s</option >', $row['id'], $formatting_content .= sprintf('<option value="%d" %s>%s</option >', $row['id'],
$row['id'] == $messagedata['template'] ? 'selected="selected "' : '', $row['title']); $row['id'] == $messagedata['template'] ? 'selected="selected "' : '', $row['title']);
} }
} }
$formatting_content .= '</select></div>'; $formatting_content .= '</select></div>';
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)