mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-06 13:16:54 +02:00
Blocks Plugin: general js refactoring
This commit is contained in:
@@ -4,7 +4,7 @@ $.monstra.blocks = {
|
||||
|
||||
init: function() { },
|
||||
|
||||
embedCodes: function(name) {
|
||||
showEmbedCodes: function(name) {
|
||||
$('#shortcode').html('{block get="'+name+'"}');
|
||||
$('#phpcode').html('<?php echo Block::get("'+name+'"); ?>');
|
||||
$('#embedCodes').modal();
|
||||
|
Reference in New Issue
Block a user