"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/admin/modules/style/templates.php" between
mybb_1819.zip and mybb_1820.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

templates.php  (mybb_1819):templates.php  (mybb_1820)
skipping to change at line 1901 skipping to change at line 1901
$template['pretty_title'] = "<spa n style=\"color: green;\">{$template['title']}</span>"; $template['pretty_title'] = "<spa n style=\"color: green;\">{$template['title']}</span>";
} }
// This template does not exist in the ma ster list // This template does not exist in the ma ster list
else if(isset($template['original']) && $ template['original'] == false) else if(isset($template['original']) && $ template['original'] == false)
{ {
$popup->add_item($lang->delete_te mplate, "index.php?module=style-templates&amp;action=delete_template&amp;title=" .urlencode($template['title'])."&amp;sid={$sid}&amp;my_post_key={$mybb->post_cod e}{$expand_str}", "return AdminCP.deleteConfirmation(this, '{$lang->confirm_temp late_deletion}')"); $popup->add_item($lang->delete_te mplate, "index.php?module=style-templates&amp;action=delete_template&amp;title=" .urlencode($template['title'])."&amp;sid={$sid}&amp;my_post_key={$mybb->post_cod e}{$expand_str}", "return AdminCP.deleteConfirmation(this, '{$lang->confirm_temp late_deletion}')");
$template['pretty_title'] = "<spa n style=\"color: blue;\">{$template['title']}</span>"; $template['pretty_title'] = "<spa n style=\"color: blue;\">{$template['title']}</span>";
} }
$table->construct_cell("<span style=\"pad ding: 20px;\"><a href=\"index.php?module=style-templates&amp;action=edit_templat e&amp;title=".urlencode($template['title'])."&amp;sid={$sid}{$expand_str}\" >{$t emplate['pretty_title']}</a></span>"); $table->construct_cell("<span style=\"pad ding-left: 20px;\"><a href=\"index.php?module=style-templates&amp;action=edit_te mplate&amp;title=".urlencode($template['title'])."&amp;sid={$sid}{$expand_str}\" >{$template['pretty_title']}</a></span>");
$table->construct_cell($popup->fetch(), a rray("class" => "align_center")); $table->construct_cell($popup->fetch(), a rray("class" => "align_center"));
$table->construct_row(); $table->construct_row();
} }
} }
else else
{ {
// No templates in this group // No templates in this group
$table->construct_cell($lang->empty_template_set, array('colspan' => 2)); $table->construct_cell($lang->empty_template_set, array('colspan' => 2));
$table->construct_row(); $table->construct_row();
 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)