<head> <meta charset="UTF-8"> <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> <title><?php echo $template['title']; ?> </title> <link rel='shortcut icon' type='image/x-icon' href='<?php echo base_url('themes/parent/images/favicon.ico'); ?> '/> <?php echo css_tag(array_merge(array($theme_path . 'bootstrap/css/bootstrap.min.css', $theme_path . 'dist/css/AdminLTE.min.css', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', $theme_path . 'plugins/iCheck/square/blue.css'), $stylesheets)); echo js_tag(array($theme_path . 'plugins/jQuery/jQuery-2.1.4.min.js', $theme_path . 'bootstrap/js/bootstrap.min.js', $theme_path . 'plugins/iCheck/icheck.min.js')); ?> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head>
<?php $titleArray = array(__('Princeton'), __('Transcribe Page')); $head = array('title' => html_escape(implode(' | ', $titleArray))); echo head($head); if (get_option('scripto_image_viewer') == 'openseadragon') { // echo js_tag('ol'); echo js_tag('openseadragon.min'); // jQuery is enabled by default in Omeka and in most themes. // echo js_tag('jquery', 'javascripts/vendor'); } ?> <script type="text/javascript"> jQuery(document).ready(function() { // Handle edit transcription page. //jQuery("#wrap").attr('class', 'container-fluid'); jQuery('#scripto-transcription-page-edit').click(function() { jQuery('#scripto-transcription-page-edit'). prop('disabled', true). text('<?php echo __('Editing transcription...'); ?> '); jQuery.post( <?php echo js_escape(url('scripto/index/page-action')); ?> , {
<?php if ($segment_start) { echo js_tag('jwplayer', 'javascripts/jwplayer'); echo js_tag('pfUtils', 'javascripts'); echo js_tag('jquery', 'javascripts/jwplayer'); echo js_tag('jquery-ui-1.10.3.custom', 'javascripts/jwplayer'); ?> <div id="vid_player" style="width:100%; margin:0 auto;"> <div id="jwplayer_plugin" style="margin:0 auto;"><?php echo __('Player failed to load...'); ?> </div> </div> <script type="text/javascript"> var is_play = true; var startTime= calculateTime(<?php echo json_encode($segment_start); ?> ); var endTime = calculateTime(<?php echo json_encode($segment_end); ?> ); jwplayer("jwplayer_plugin").setup({ playlist: [{ sources: <?php echo $sources; ?> }],
if (isset($useSidebar) && $useSidebar) { ?> <div class="three columns omega"> <div id="save" class="panel"> <input type="submit" class="submit big green button" name="submit_search" id="submit_search_advanced" value="<?php echo $buttonText; ?> "> </div> </div> <?php } else { ?> <input type="submit" class="submit big green button" name="submit_search" id="submit_search_advanced" value="<?php echo $buttonText; ?> "> <?php } ?> </form> <?php echo js_tag('items-search'); ?> <script type="text/javascript"> jQuery(document).ready(function () { Omeka.Search.activateSearchButtons(); }); </script>
/** * Shortcode to display viewer. * * @param array $args * @param Omeka_View $view * @return string */ public static function shortcodeOpenLayersZoom($args, $view) { // Check required arguments $recordType = isset($args['record_type']) ? $args['record_type'] : 'Item'; $recordType = ucfirst(strtolower($recordType)); if (!in_array($recordType, array('Item', 'File'))) { return; } // Get the specified record. if (isset($args['record_id'])) { $recordId = (int) $args['record_id']; $record = get_record_by_id($recordType, $recordId); } else { $record = get_current_record(strtolower($recordType)); } if (empty($record)) { return; } $html = $view->openLayersZoom()->zoom($record); if ($html) { $html = '<link href="' . css_src('ol') . '" media="all" rel="stylesheet" type="text/css" >' . js_tag('ol') . js_tag('OpenLayersZoom') . $html; return $html; } }
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0 " /> <meta property="og:image" content="http://localhost/ims_new1/uploads/album_item/Sample_Picture1s/Chrysanthemum.jpg" /> <link rel="image_src" href="http://localhost/ims_new1/uploads/album_item/Sample_Picture1s/Chrysanthemum.jpg" /> <link rel='shortcut icon' type='image/x-icon' href='<?php echo base_url('themes/parent/images/favicon.ico'); ?> '/> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <?php echo css_tag(array_merge(array($theme_path . 'css/style.css', $theme_path . 'css/curriculum_style.css', $theme_path . 'plugins/jqueryui/jquery-ui-1.10.3.custom.min.css', $theme_path . 'plugins/colorbox-master/example1/colorbox.css', 'themes/backend/plugins/jgrowl/jquery.jgrowl.css', 'modules/parent/feedback/css/feedback_style.css', 'themes/backend/plugins/cytoscape/cytoscape.js-panzoom.css', 'themes/backend/plugins/qtip/jquery.qtip.css'), $stylesheets)); echo js_tag(array_merge(array($theme_path . 'js/jquery.js', $theme_path . 'js/custom-ims.js', $theme_path . 'js/jquery.address-1.5.min.js', $theme_path . 'js/links.js', 'themes/backend/plugins/jgrowl/jquery.jgrowl.min.js', 'themes/backend/plugins/jgrowl/jquery.jgrowl.min.js', $theme_path . 'plugins/jqueryui/jquery-ui-1.10.3.custom.min.js', $theme_path . 'plugins/colorbox-master/jquery.colorbox-min.js', $theme_path . 'js/jquery.viewport.js', $theme_path . 'js/lazyload.min.js', $theme_path . 'js/mustache.js', $theme_path . 'js/googlejspi.js', 'themes/backend/plugins/qtip/jquery.qtip.js', 'themes/backend/plugins/cytoscape/cytoscape.min.js', 'themes/backend/plugins/cytoscape/cytoscape.js-panzoom.js', 'themes/backend/plugins/cytoscape/cytoscape.js-qtip.js'), $javascripts)); ?> <script type="text/javascript"> google.load('visualization', '1.0', {'packages':['corechart']}); var theme_path = '<?php echo $theme_path; ?> '; var baseUrl = '<?php echo base_url(); ?> '; var siteUrl = '<?php
function build_observer($class, $id, $options = array()) { if (isset($options['update']) && !isset($options['with'])) { $options['with'] = 'value'; } $callback = remote_function($options); $js = "new {$class}('{$id}', "; if (isset($options['frequency'])) { $js .= $options['frequency'] . ", "; } $js .= "function(element, value) {"; $js .= "{$callback}})"; return js_tag($js); }
/** * Display list of reverse references (1st level only) */ protected function _displaySelfReferences($args) { $referenceElements = SELF::_retrieveReferenceElements(); if (!$referenceElements) { return; } $referenceElementsStr = implode(",", $referenceElements); $item = $args['item']; $itemId = $item->id; $db = get_db(); $sql = "\n SELECT DISTINCT et.record_id, el.item_type_id, it.name\n FROM `{$db->ElementTexts}` et\n LEFT JOIN `{$db->Items}` el ON et.record_id = el.id\n LEFT JOIN `{$db->ItemTypes}` it ON el.item_type_id = it.id\n WHERE et.element_id in ({$referenceElementsStr})\n AND et.text = '{$itemId}'\n ORDER BY it.name ASC, el.modified DESC\n "; $referencers = $db->fetchAll($sql); // echo "<pre>$sql - ".count($referencers)."\n" . print_r($referencers,true) . "</pre>"; $itemTypes = array(); foreach ($referencers as $referencer) { $typeName = @$referencer["name"] ? $referencer["name"] : __("[n/a]"); $itemTypes[$referencer["item_type_id"]] = $typeName; } if ($referencers) { echo "<h2>" . __("Items Referencing this Item") . "</h2>\n"; $refItemTypeShowHide = __("Show / Hide"); $refItemTypeShowHideAll = __("Show / Hide All"); ?> <script type='text/javascript'> var refItemTypeShowHide = <?php echo json_encode($refItemTypeShowHide); ?> ; var refItemTypeShowHideAll = <?php echo json_encode($refItemTypeShowHideAll); ?> ; </script> <?php echo js_tag('item-references-item-type-toggle'); echo "<table id='refItemTypeTable'>\n"; $lastType = -1; foreach ($referencers as $referencer) { if ($referencer["item_type_id"] != $lastType) { $lastType = $referencer["item_type_id"]; echo "<tr class='refItemTypeHead' data-item-type='{$lastType}'>" . "<th colspan='3'>" . $itemTypes[$lastType] . "</th></tr>\n"; } $referencerId = $referencer["record_id"]; $referencerUrl = url('items/show/' . $referencerId); $title = $details = ""; if ($data = SELF::getDataForId($referencerId)) { $title = $data["title"]; $details = $data["details"]; // echo "<pre>" . print_r($data,true) . "</pre>"; } echo "<tr class='refItemTypeRow refItemType_" . $lastType . "'>"; echo "<td><a href='" . $referencerUrl . "'>#{$referencerId}</a></td>"; echo "<td><a href='" . $referencerUrl . "'>{$title}</a></td>"; echo "<td>" . (!$details ? "" : "<span class='itemRefDetailsLink'>" . __("Details") . "</span>" . "<div class='itemRefDetailsText'>{$details}</div>") . "</td>"; echo "</tr>\n"; } echo "</table>\n"; } }
<?php $titleArray = array(__('Scripto'), __('Transcribe Page')); queue_css_file('scripto-transcribe'); $head = array('title' => html_escape(implode(' | ', $titleArray))); echo head($head); if (get_option('scripto_image_viewer') == 'openlayers') { echo '<link href="' . css_src('ol') . '" media="all" rel="stylesheet" type="text/css" >'; echo js_tag('ol'); } ?> <script type="text/javascript"> jQuery(document).ready(function() { // Handle edit transcription page. jQuery('#scripto-transcription-page-edit').click(function() { jQuery('#scripto-transcription-page-edit'). prop('disabled', true). text('<?php echo __('Editing transcription...'); ?> '); jQuery.post( <?php echo js_escape(url('scripto/index/page-action')); ?> , { page_action: 'edit', page: 'transcription', item_id: <?php
<meta http-equiv="Cache-Control" content="no-cache" /> <meta http-equiv="Pragma" content="no-cache"/> <meta http-equiv="Expires" content="0"/> <!-- iOS webapp icons --> <link rel="apple-touch-icon" href="touch-icon-iphone.html" /> <link rel="apple-touch-icon" sizes="72x72" href="touch-icon-ipad.html" /> <link rel="apple-touch-icon" sizes="114x114" href="touch-icon-retina.html" /> <link rel='shortcut icon' type='image/x-icon' href='<?php echo base_url('themes/parent/images/favicon.ico'); ?> '/> <?php echo css_tag(array_merge(array($theme_path . 'css/reset.css', $theme_path . 'css/fluid.css', $theme_path . 'css/dandelion.theme.css', $theme_path . 'css/dandelion.css', $theme_path . 'jui/css/jquery.ui.all.css', $theme_path . 'plugins/fullcalendar/fullcalendar.css', $theme_path . 'plugins/fullcalendar/fullcalendar.print.css', $theme_path . 'plugins/colorbox-master/example1/colorbox.css', $theme_path . 'plugins/tipsy/tipsy.css', $theme_path . 'plugins/jgrowl/jquery.jgrowl.css', $theme_path . 'js/dropzone/basic.css', $theme_path . 'js/dropzone/dropzone.css', $theme_path . 'css/jquery.tagsinput.css'), $stylesheets)); echo js_tag(array_merge(array($theme_path . 'js/jquery-1.7.2.min.js', $theme_path . 'js/jquery.address-1.5.min.js', $theme_path . 'jui/js/jquery-ui-1.8.20.min.js', $theme_path . 'jui/js/jquery.ui.timepicker.min.js', $theme_path . 'jui/js/jquery.ui.touch-punch.min.js', $theme_path . 'js/jquery.fileinput.js', $theme_path . 'js/jquery.placeholder.js', $theme_path . 'js/jquery.mousewheel.min.js', $theme_path . 'js/jquery.tinyscrollbar.min.js', $theme_path . 'plugins/validate/jquery.validate.min.js', $theme_path . 'plugins/tipsy/jquery.tipsy-min.js', $theme_path . 'js/jquery.metadata.js', $theme_path . 'js/core/plugins/dandelion.circularstat.min.js', $theme_path . 'js/core/plugins/dandelion.wizard.min.js', $theme_path . 'plugins/fullcalendar/fullcalendar.min.js', $theme_path . 'plugins/fullcalendar/gcal.js', $theme_path . 'plugins/jgrowl/jquery.jgrowl.min.js', $theme_path . 'js/jquery.debouncedresize.js', $theme_path . 'js/core/dandelion.core.js', $theme_path . 'js/core/dandelion.customizer.js', $theme_path . 'js/links.js', $theme_path . 'js/mustache.js', $theme_path . 'js/general.js', $theme_path . 'js/dropzone/dropzone.js', $theme_path . 'js/jquery.tagsinput.js', $theme_path . 'plugins/colorbox-master/jquery.colorbox-min.js', $theme_path . 'js/googlejspi.js', $theme_path . 'plugins/datatables/jquery.dataTables.min.js'), $javascripts)); ?> <!--<base href="<?php echo base_url(); ?> ">[if lte IE 6]></base><![endif]--> <!--[if IE]> <style> #loader { background:transparent; } </style> <![endif]-->
<?php $titleArray = array(__('Scripto'), __('Transcribe Page')); $head = array('title' => html_escape(implode(' | ', $titleArray))); echo head($head); echo js_tag('OpenLayers'); echo js_tag('jquery', 'javascripts/vendor'); ?> <script type="text/javascript"> jQuery(document).ready(function() { // Handle edit transcription page. jQuery('#scripto-transcription-page-edit').click(function() { jQuery('#scripto-transcription-page-edit'). prop('disabled', true). text('<?php echo __('Editing transcription...'); ?> '); jQuery.post( <?php echo js_escape(url('scripto/index/page-action')); ?> , { page_action: 'edit', page: 'transcription', item_id: <?php echo js_escape($this->doc->getId()); ?> ,
</title> <!-- Stylesheets --> <link rel="stylesheet" href="<?php echo css_src('BookReader'); ?> " /> <!-- JavaScripts --> <?php echo js_tag('jquery-1.4.2.min'); echo js_tag('jquery-ui-1.8.5.custom.min'); echo js_tag('dragscrollable'); echo js_tag('jquery.colorbox-min'); echo js_tag('jquery.ui.ipad'); echo js_tag('jquery.bt.min'); echo js_tag('BookReader'); echo js_tag('ToCmenu'); ?> </head> <body> <div></div> <div id="BookReader"> <br /> <noscript> <p> <?php echo __('The BookReader requires JavaScript to be enabled. Please check that your browser supports JavaScript and that it is enabled in the browser settings.'); ?> </p> </noscript> </div>
echo js_tag('lib/foundation/js/foundation.min.js'); ?> <?php echo js_tag('lib/foundation/js/foundation/foundation.magellan.js'); ?> <?php echo js_tag('assets/js/ckeditor/ckeditor.js'); ?> <?php echo js_tag('assets/js/ckeditor/adapters/jquery.js'); ?> <?php echo js_tag('assets/js/jquery.selectric.min.js'); ?> <?php echo js_tag('assets/js/app.js'); ?> <script type="text/javascript"> var disqus_shortname = 'paruto'; // required: replace example with your forum shortname /* * * DON'T EDIT BELOW THIS LINE * * */ (function () { var s = document.createElement('script'); s.async = true; s.type = 'text/javascript'; s.src = '//' + disqus_shortname + '.disqus.com/count.js'; (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); }()); </script> </body> </html>
<meta property="fb:admins" content="1731064127129378" /> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="<?php echo base_url($theme_path . 'resources/assets/js/plugins/html5shiv.js'); ?> "></script> <script src="<?php echo base_url($theme_path . 'resources/assets/js/plugins/respond.min.js'); ?> "></script> <![endif]--> <?php echo css_tag(array_merge(array($theme_path . 'resources/bootstrap/css/bootstrap.min.css', $theme_path . 'resources/assets/css/plugins/animate.min.css', $theme_path . 'resources/assets/selectize/selectize.css', $theme_path . 'resources/assets/fontawesome/css/font-awesome.min.css', 'https://fonts.googleapis.com/icon?family=Material+Icons', $theme_path . 'resources/material/dist/css/material-fullpalette.min.css', $theme_path . 'resources/material/dist/css/ripples.min.css', $theme_path . 'resources/material/dist/css/roboto.min.css', $theme_path . 'resources/material_timepicker/css/bootstrap-material-datetimepicker.css', $theme_path . 'resources/assets/css/common.css', $theme_path . 'resources/assets/css/custom.css'), $stylesheets)); ?> <?php echo js_tag(array_merge(array($theme_path . 'resources/jquery/jquery.min.js', $theme_path . 'resources/assets/js/countries.js'), $javascripts)); ?> <!--favicon--> <link rel="shortcut icon" href="<?php echo base_url($theme_path . 'resources/assets/images/fav.png'); ?> " type="image/x-icon"/> <link href="http://vjs.zencdn.net/5.3.0/video-js.css" rel="stylesheet">
<?php echo head(array('title' => 'Validate Corpus Items')); echo js_tag('tabs'); $validCount = count($validItems); $invalidCount = count($invalidItems); $outOfRangeCount = count($outOfRangeItems); ?> <script type="text/javascript" charset="utf-8"> jQuery(window).load(function () { Omeka.Tabs.initialize(); }); </script> <ul id="section-nav" class="navigation tabs"> <li><a href="#valid-items">Valid Items</a></li> <li><a href="#invalid-items">Invalid Items</a></li> <li><a href="#out-of-range-items">Out of Range Items</a></li> </ul> <h2><?php echo $corpus->name; ?> (<?php echo count($corpus->ItemsPool); ?> total items)</h2> <ul> <li>Sequence Type: <?php echo $corpus->getSequenceTypeLabel();
public function testOutputsScriptTagWithHref() { // Test with Contains to avoid matching issues with newlines. $this->assertContains('<script type="text/javascript" src="http://fake.local/path/to/omeka/javascripts/vendor/jquery.js" charset="utf-8"></script>', js_tag('vendor/jquery')); }
<?php $titleArray = array(__('Scripto'), __('Transcribe Page')); queue_css_file('scripto-transcribe'); $head = array('title' => html_escape(implode(' | ', $titleArray))); echo head($head); if (get_option('scripto_image_viewer') == 'openlayers') { echo js_tag('OpenLayers'); // jQuery is enabled by default in Omeka and most themes. // echo js_tag('jquery', 'javascripts/vendor'); } ?> <script type="text/javascript"> jQuery(document).ready(function() { // Handle edit transcription page. jQuery('#scripto-transcription-page-edit').click(function() { jQuery('#scripto-transcription-page-edit'). prop('disabled', true). text('<?php echo __('Editing transcription...'); ?> '); jQuery.post( <?php echo js_escape(url('scripto/index/page-action')); ?> , { page_action: 'edit', page: 'transcription',
public function hookAdminHead($args) { ?> <?php echo queue_css_file("jquery-ui-1.10.3.custom"); ?> <?php echo js_tag('jwplayer'); ?> <?php echo js_tag('pfUtils'); ?> <?php echo js_tag('jquery'); ?> <?php echo js_tag('jquery-ui-1.10.3.custom'); }
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <!-- iOS webapp icons --> <link rel="apple-touch-icon" href="touch-icon-iphone.html"> <link rel="apple-touch-icon" sizes="72x72" href="touch-icon-ipad.html"> <link rel="apple-touch-icon" sizes="114x114" href="touch-icon-retina.html"> <link rel='shortcut icon' type='image/x-icon' href='<?php echo base_url('themes/parent/images/favicon.ico'); ?> '/> <?php echo css_tag(array($theme_path . 'css/reset.css', $theme_path . 'css/fluid.css', $theme_path . 'css/login.css')); echo js_tag(array($theme_path . 'js/jquery-1.7.2.min.js', $theme_path . 'js/jquery.placeholder.js', $theme_path . 'plugins/validate/jquery.validate.min.js', $theme_path . 'js/core/dandelion.login.js')); ?> <title><?php echo $template['title']; ?> </title> <style type="text/css" charset="utf-8"> /* See license.txt for terms of usage */ /** reset styling **/ .firebugResetStyles { z-index: 2147483646 !important; top: 0 !important; left: 0 !important; display: block !important;
<?php if ($exhibit->title) { $exhibitTitle = 'Configure Theme for Exhibit: "' . $exhibit->title . '"'; } else { $exhibitTitle = 'Configure Theme for Exhibit'; } echo head(array('title' => html_escape($exhibitTitle), 'bodyclass' => 'exhibits')); echo js_tag('themes'); echo flash(); ?> <div id="exhibits-breadcrumb"> <a href="<?php echo html_escape(url('exhibits')); ?> ">Exhibits</a> > <?php echo html_escape('Configure Theme for Exhibit'); ?> </div> <form method="post" action="" enctype="multipart/form-data"> <section class="seven columns alpha"> <h2><?php echo __('Configure the “%s” Theme', html_escape($theme->title)); ?> </h2> <p><?php echo __('Configurations apply to this theme only.'); ?> </p> <?php echo $form;
<?php echo js_tag('vendor/tiny_mce/tiny_mce'); echo js_tag('elements'); echo js_tag('tabs'); echo js_tag('items'); ?> <script type="text/javascript" charset="utf-8"> //<![CDATA[ // TinyMCE hates document.ready. jQuery(window).load(function () { Omeka.Tabs.initialize(); Omeka.Items.tagDelimiter = <?php echo js_escape(get_option('tag_delimiter')); ?> ; Omeka.Items.enableTagRemoval(); Omeka.Items.makeFileWindow(); Omeka.Items.enableSorting(); Omeka.Items.tagChoices('#tags', <?php echo js_escape(url(array('controller' => 'tags', 'action' => 'autocomplete'), 'default', array(), true)); ?> ); Omeka.wysiwyg({ mode: "none", forced_root_block: "" }); // Must run the element form scripts AFTER reseting textarea ids.
<?php echo js_tag('item-types'); ?> <script type="text/javascript"> jQuery(document).ready(function () { var addNewRequestUrl = '<?php echo admin_url('item-types/add-new-element'); ?> '; var addExistingRequestUrl = '<?php echo admin_url('item-types/add-existing-element'); ?> '; var changeExistingElementUrl = '<?php echo admin_url('item-types/change-existing-element'); ?> '; Omeka.ItemTypes.manageItemTypes(addNewRequestUrl, addExistingRequestUrl, changeExistingElementUrl); }); </script> <section class="seven columns alpha"> <fieldset id="type-information"> <h2><?php echo __('Item Type Information'); ?> </h2> <p class='explanation'>* <?php echo __('required field');
<div class="container-fluid copyright"> <div class="col-md-12"> <div class="col-md-10 col-md-offset-1 "> <div class="col-md-12"> <div class="col-md-12"> <div class="col-md-12" style="padding-right: 0px;"> <p class="text-center">Copyright © 2015-2016 goretreat.com. All rights reserved</p> </div> </div> </div> </div> </div> </div> </footer> <?php echo js_tag(array_merge(array($theme_path . 'resources/jquery/jquery.min.js', $theme_path . 'resources/bootstrap/js/bootstrap.min.js', $theme_path . 'resources/material/dist/js/material.min.js', $theme_path . 'resources/material/dist/js/ripples.min.js', $theme_path . 'resources/assets/js/plugins/jquery.ddslick.min.js', $theme_path . 'resources/assets/js/plugins/jquery.sticky.js', $theme_path . 'resources/assets/selectize/selectize.min.js', $theme_path . 'resources/assets/js/plugins/moment.js', $theme_path . 'resources/material_timepicker/js/bootstrap-material-datetimepicker.js', $theme_path . 'resources/assets/js/common.js', $theme_path . 'resources/assets/js/plugins/angular.min.js'), $javascripts)); ?> <?php $country_selected = $this->session->userdata('country_selected'); if (!$country_selected) { $country_selected = 98; } ?> <script> //sector design // $('select[name="language"]').ddslick({ // width: 80, // background: '#fff', // defaultSelectedIndex:1
echo $this->formTextarea('archive_repertory_legal_text', get_option('archive_repertory_legal_text'), array('rows' => 5, 'cols' => 60, 'class' => array('textinput', 'html-editor'))); ?> <p class="explanation"> <?php echo __('This text will be shown beside the legal checkbox to download a file.'); ?> <?php echo ' ' . __("Let empty if you don't want to use a legal agreement."); ?> </p> </div> </div> </div> </fieldset> <?php echo js_tag('vendor/tiny_mce/tiny_mce'); ?> <script type="text/javascript"> var dropCollection = document.getElementById("archive_repertory_collection_folder"); var fieldCollectionPrefix = document.getElementById("collection-prefix"); var fieldCollectionAscii = document.getElementById("collection-ascii"); dropCollection.onclick = function() { if (dropCollection.value == "none" || dropCollection.value == "id"){ fieldCollectionPrefix.style.display = "none"; fieldCollectionAscii.style.display = "none"; } else { fieldCollectionPrefix.style.display = "block"; fieldCollectionAscii.style.display = "block"; } }
?> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> <link href="https://vjs.zencdn.net/4.3/video-js.css" rel="stylesheet"> <script src="https://vjs.zencdn.net/4.3/video.js"></script> <?php queue_js_file('audiojs/audiojs/audio.min'); queue_js_file('libraries.min'); // <-- combined: Modernizr, jQuery UI Maps, Swipe.js, Fancybox queue_js_file('check-width'); echo head_js(false); // <-- No to Omeka default scripts ?> <!--[if lte IE 9]> <?php echo js_tag('ie-polyfills.min'); ?> <![endif]--> <!-- TypeKit --> <?php echo mh_typekit(); ?> <!-- Google Analytics --> <?php echo mh_google_analytics(); ?>
/** * Get the JavaScript tags that will be used on the page. * * This should generally be used with echo to print the scripts in the page * head. * * @package Omeka\Function\View\Asset * @see queue_js_file() * @param bool $includeDefaults Whether the default javascripts should be * included. Defaults to true. * @return string */ function head_js($includeDefaults = true) { $headScript = get_view()->headScript(); if ($includeDefaults) { $dir = 'javascripts'; $headScript->prependScript('jQuery.noConflict();')->prependScript('window.jQuery.ui || document.write(' . js_escape(js_tag('vendor/jquery-ui')) . ')')->prependFile('https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js')->prependScript('window.jQuery || document.write(' . js_escape(js_tag('vendor/jquery')) . ')')->prependFile('https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js'); } return $headScript; }
<head> <meta charset="UTF-8"> <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> <title><?php echo $template['title']; ?> </title> <link rel='shortcut icon' type='image/x-icon' href='<?php echo base_url('themes/admin/images/favicon.png'); ?> '/> <?php echo css_tag(array_merge(array($theme_path . 'bootstrap/css/bootstrap.min.css', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', $theme_path . 'dist/css/AdminLTE.min.css', $theme_path . 'dist/css/skins/_all-skins.css', $theme_path . 'plugins/iCheck/flat/blue.css', $theme_path . 'plugins/morris/morris.css', $theme_path . 'plugins/jvectormap/jquery-jvectormap-1.2.2.css', $theme_path . 'plugins/datepicker/datepicker3.css', $theme_path . 'plugins/daterangepicker/daterangepicker-bs3.css', $theme_path . 'plugins/timepicker/bootstrap-timepicker.css', $theme_path . 'plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css'), $stylesheets)); echo js_tag(array_merge(array($theme_path . 'plugins/jQuery/jQuery-2.1.4.min.js', 'http://code.jquery.com/ui/1.11.2/jquery-ui.min.js', $theme_path . 'bootstrap/js/bootstrap.min.js', 'http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js', $theme_path . 'plugins/morris/morris.min.js', $theme_path . 'plugins/sparkline/jquery.sparkline.min.js', $theme_path . 'plugins/jvectormap/jquery-jvectormap-1.2.2.min.js', $theme_path . 'plugins/jvectormap/jquery-jvectormap-world-mill-en.js', $theme_path . 'plugins/knob/jquery.knob.js', 'https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.2/moment.min.js', $theme_path . 'plugins/daterangepicker/daterangepicker.js', $theme_path . 'plugins/datepicker/bootstrap-datepicker.js', $theme_path . 'plugins/sweetalert/sweetalert.min.js', 'https://cdn.ckeditor.com/4.4.3/standard/ckeditor.js', $theme_path . 'plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js', $theme_path . 'plugins/timepicker/bootstrap-timepicker.js', $theme_path . 'plugins/slimScroll/jquery.slimscroll.min.js', $theme_path . 'plugins/fastclick/fastclick.min.js', $theme_path . 'plugins/iCheck/icheck.min.js', $theme_path . 'dist/js/app.min.js', $theme_path . 'dist/js/pages/dashboard.js', $theme_path . 'dist/js/demo.js'), $javascripts)); ?> <script> $.widget.bridge('uibutton', $.ui.button); </script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head>