1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 02:10:37 +02:00

Blocks Plugin: view embed code feature added.

This commit is contained in:
Awilum
2012-11-11 22:08:02 +02:00
parent bd963f8e9b
commit 1d24f81280
10 changed files with 73 additions and 9 deletions

View File

@@ -0,0 +1,5 @@
function embedCodes(name) {
$('#shortcode').html('{block get="'+name+'"}');
$('#phpcode').html('<?php echo Block::get("'+name+'"); ?>');
$('#embedCodes').modal();
}