Last active
December 17, 2015 22:28
-
-
Save sandeepone/5681837 to your computer and use it in GitHub Desktop.
Gleez popup demo on Gleez CMS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('SYSPATH') OR die('No direct access to script'); ?> | |
<div class="bs-example" style="padding-bottom: 24px;"> | |
<a data-toggle="popup" data-target11="#myModal" href="demo.html" class="btn btn-primary btn-large">Launch demo modal</a> | |
<a data-toggle="popup" data-title="Popup One" href="/admin/tags/add" class="btn btn-primary btn-large">Launch demo modal</a> | |
</div><!-- /example --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('SYSPATH') or die('No direct script access.'); | |
class Controller_Test extends Template { | |
public function action_mpopup() | |
{ | |
Assets::css('popup', 'media/css/popup.css', array('bootstrap'), array('media' => 'screen', 'weight' => 15)); | |
Assets::js('form', 'media/js/jquery.form.js', NULL, FALSE, array('weight' => 15)); | |
Assets::js('ajaxform', 'media/js/gleez.ajaxform.js', NULL, FALSE, array('weight' => 17)); | |
Assets::js('popup', 'media/js/gleez.popup.js', NULL, FALSE, array('weight' => 20)); | |
$this->title = __('Popup Demo'); | |
$this->response->body(View::factory('test')); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment