<commit_before><?php
defined('C5_EXECUTE') or die(_("Access Denied."));
$al = Loader::helper('concrete/asset_library');
$bf = null;
$thumbnailWidth = 200;
$thumbnailHeight = 200;
?>
<!-- tabs -->
<div class="clearfix">
  <ul id="ccm-magnific-tabs" class="ccm-dialog-tabs tabs">
    <li class="ccm-nav-active"><a href="javascript:void(0)" id="ccm-magnific-type"><?php echo t('Magnific Types');?></a></li>
    <li><a href="javascript:void(0)" id="ccm-thumbnail-options"><?php echo t('Thumbnail Options'); ?></a></li>
    <li><a href="javascript:void(0)" id="ccm-css-frameworks-options"><?php echo t('CSS Framework Classes'); ?></a></li>
  </ul>
</div>
<!-- end tabs -->
<div class="clearfix">
  <div id="ccm-thumbnail-options-tab" class="ui-helper-hidden">
<!--
  Thumbnail Inputs
-->
    <div class="ccm-block-field-group">
      <h5><?php echo t('Thumbnails'); ?></h5>
      <div class="control-group">
        <label for="thumbnailWidth" class="control-label"><?php echo t('Thumbnail Width');?></label>
        <div class="controls">
          <input type="text" class="span3" value="<?php echo $thumbnailWidth; ?>" name="thumbnailWidth" />
        </div>
      </div>
      <div class="control-group">
        <label for="thumbnailHeight" class="control-label"><?php echo t('Thumbnail Height');?></label>
        <div class="controls">
          <input type="text" class="span3" value="<?php echo $thumbnailHeight; ?>" name="thumbnailHeight" />
        </div>
      </div>
    </div>
  </div> <!-- end of #ccm-magnific-options -->
</div><!-- clearfix -->

<div class="clearfix">
  <div id="ccm-css-frameworks-options-tab" class="ui-helper-hidden">
    <!--
  CSS Framework Class Input
-->
    <div class="ccm-block-field-group">
      <h5><?php echo t('CSS Classes'); ?></h5>
      <div class="control-group">
        <label for="cssFrameworkClass" class="control-label"><?php echo t('Container Class'); ?></label>
        <div class="controls">
          <input type="text" class="span3" value="<?php echo $cssFrameworkClass; ?>" name="cssFrameworkClass" />
          <span class="help-block">ex: row or large-12 columns</span>
          <span class="help-block"><code>&ltdiv class="large-12 columns"&gt</code></span>
        </div>
      </div>
      <div id="cssImage" class="control-group">
        <label for="cssImageClass" class="control-label"><?php echo t('Image Class'); ?></label>
        <div class="controls">
          <input type="text" class="span3" value="<?php echo $cssImageClass; ?>" name="cssImageClass" />
          <span class="help-block"><?php echo t('Image Tag Class'); ?></span>
          <span class="help-block"><code><?php echo t('&ltimg src="imagesrc" class="img-centered"&gt'); ?></code></span>
        </div>
      </div>
    </div>
  </div>
</div>

<!--
  magnific type input
-->
<div id="ccm-magnific-type-tab">
  <div class="ccm-block-field-group">
    <h5><?php echo t('Magnific Popup Style'); ?></h5>
     <div class="control-group">
      <label for="magnific_type" class="control-label"><?php   echo t('Magnific Type')?></label>
      <div class="controls">
        <select id="magnific_type" name="magnific_type" class="span3">
          <option value="select1"><?php echo t('Select Popup Type')?></option>
          <option id="single" value="single"<?php  if ($magnific_type == 'single') { ?> selected<?php  } ?> name="magnific_type"><?php echo t('Single Image Popup')?></option>
          <option id="popup" value="popup"<?php  if ($magnific_type == 'popup') { ?> selected<?php  } ?> name="magnific_type"><?php echo t('Gallery Popup')?></option>
          <option id="zoom" value="zoom"<?php  if ($magnific_type == 'zoom') { ?> selected<?php  } ?> name="magnific_type"><?php echo t('Zoom-Gallery')?></option>
          <option id="videoMap" value="vidMap"<?php  if ($magnific_type == 'vidMap') { ?> selected<?php  } ?> name="magnific_type"><?php echo t('Video or Map Popup')?></option>
        </select>
      </div>
    </div>
  </div>
<!--
  Single Popup Options
  This seems to be the easiest way to currently implement.
  May go to an options tab but I don't like the options being separate from the choice.
  Checkboxes are being a real case of mudbutt. may Change in future
-->
  <div id="single-options" class="ccm-block-field-group">
    <label for="singleOption" class="control-label"><?php   echo t('Single Popup Style')?></label>
    <div class="controls">
      <select id="singleOption" name="singleOption" class="span3">
        <option value="select-2" name="select-2"><?php echo t('Select Single Type')?></option>
        <option value="vertical-fit"<?php  if ($singleOption == 'vertical-fit') { ?> selected<?php  } ?> name="singleOption"><?php echo t('Vertical Fit')?></option>
        <option value="fit-width"<?php  if ($singleOption == 'fit-width') { ?> selected<?php  } ?> name="singleOption"><?php echo t('Fit To Width')?></option>
        <option value="no-margins"<?php  if ($singleOption == 'no-margins') { ?> selected<?php  } ?> name="singleOption"><?php echo t('No Margins')?></option>
      </select>
    </div>
  </div>
<!--
  Single Image Upload
  Used Currenlty for Single Popup and Zoom Popup
-->
  <div id="singleImage" class="ccm-block-field-group">
    <h5><?php echo t('Single Image'); ?></h5>
    <div class="control-group">
      <label for="singleImage" class="control-label"><?php echo t('Choose an Image'); ?></label>
      <div class="controls">
        <?php echo $al->image('ccm-b-image', 'fIDpicture', t('Choose File'), $this->controller->getPicture()); ?>
      </div>
    </div>
    <div class="control-group">
      <label for="title" class="control-label"><?php echo t('Image Title'); ?></label>
      <div class="controls">
        <input type="text" value="<?php echo $title; ?>" name="title" class="span3" />
      </div>
    </div>
  </div>
<!--
   Image Set Choice Area
  Used currently for Gallery
-->
  <div id="galleryImages" class="ccm-block-field-group">
    <h5><?php echo t('Image Gallery'); ?></h5>
    <div class="control-group">
      <label for="galleryImages" class="control-label"><?php echo t('Choose Image Gallery'); ?></label>
      <div class="controls">
        <?php echo $form->select('fsID', $sets, $fsID, array('class' => 'span3')); ?>
        <span class="help-block">Choose a Gallery</span>
      </div>
    </div>
  </div>
<!--
  Video and Map type dropdown menu
  Have to choose one
-->
  <div id="vidMap"  style="display: none;">
    <div class="ccm-block-field-group">
      <h5><?php echo t('Video and Map Options'); ?></h5>
      <div class="control-group">
        <label for="videoOptions" class="control-label"><?php   echo t('Video and Map Types')?></label>
        <div class="controls">
          <select id="videoOptions" class="span3" name="videoOptions">
            <option value="select-3"><?php echo t('Select a Type')?></option>
            <option value="youtube"<?php  if ($videoOptions == 'youtube') { ?> selected<?php  } ?> name="videoOptions"><?php echo t('YouTube')?></option>
            <option value="youtubeThumb"<?php  if ($videoOptions == 'youtubeThumb') { ?> selected<?php  } ?> name="videoOptions"><?php echo t('YouTube With Thumbnail')?></option>
            <option value="vimeo"<?php  if ($videoOptions == 'vimeo') { ?> selected<?php  } ?> name="videoOptions"><?php echo t('Vimeo')?></option>
            <option value="vimeoThumb"<?php  if ($videoOptions == 'vimeoThumb') { ?> selected<?php  } ?> name="videoOptions"><?php echo t('Vimeo With Thumbnail')?></option>
            <option value="gmaps"<?php  if ($videoOptions == 'gmaps') { ?> selected<?php  } ?> name="videoOptions"><?php echo t('Google Maps')?></option>
            <option value="bingmaps"<?php  if ($videoOptions == 'bingmaps') { ?> selected<?php  } ?> name="videoOptions"><?php echo t('Bing Maps')?></option>
          </select>
        </div>
      </div>
<!--
   YouTube Thumbnail Quality dropdown
-->
      <div id="youtubeThumb" class="control-group">
        <label for="youtubeThumbnailOption" class="control-label"><?php   echo t('YouTube Thumbnail Quality')?></label>
        <div class="controls">
          <select id="youtubeThumbnailOption" class="span3" name="youtubeThumbnailOption">
            <option value="hqdefault"<?php  if ($youtubeThumbnailOption == 'hqdefault') { ?> selected<?php  } ?> name="youtubeThumbnailOption"><?php echo t('High Quality')?></option><commit_msg>removed bing maps from selection<commit_after><?php
defined('C5_EXECUTE') or die(_("Access Denied."));
$al = Loader::helper('concrete/asset_library');
$bf = null;
$thumbnailWidth = 200;
$thumbnailHeight = 200;
?>
<!-- tabs -->
<div class="clearfix">
  <ul id="ccm-magnific-tabs" class="ccm-dialog-tabs tabs">
    <li class="ccm-nav-active"><a href="javascript:void(0)" id="ccm-magnific-type"><?php echo t('Magnific Types');?></a></li>
    <li><a href="javascript:void(0)" id="ccm-thumbnail-options"><?php echo t('Thumbnail Options'); ?></a></li>
    <li><a href="javascript:void(0)" id="ccm-css-frameworks-options"><?php echo t('CSS Framework Classes'); ?></a></li>
  </ul>
</div>
<!-- end tabs -->
<div class="clearfix">
  <div id="ccm-thumbnail-options-tab" class="ui-helper-hidden">
<!--
  Thumbnail Inputs
-->
    <div class="ccm-block-field-group">
      <h5><?php echo t('Thumbnails'); ?></h5>
      <div class="control-group">
        <label for="thumbnailWidth" class="control-label"><?php echo t('Thumbnail Width');?></label>
        <div class="controls">
          <input type="text" class="span3" value="<?php echo $thumbnailWidth; ?>" name="thumbnailWidth" />
        </div>
      </div>
      <div class="control-group">
        <label for="thumbnailHeight" class="control-label"><?php echo t('Thumbnail Height');?></label>
        <div class="controls">
          <input type="text" class="span3" value="<?php echo $thumbnailHeight; ?>" name="thumbnailHeight" />
        </div>
      </div>
    </div>
  </div> <!-- end of #ccm-magnific-options -->
</div><!-- clearfix -->

<div class="clearfix">
  <div id="ccm-css-frameworks-options-tab" class="ui-helper-hidden">
    <!--
  CSS Framework Class Input
-->
    <div class="ccm-block-field-group">
      <h5><?php echo t('CSS Classes'); ?></h5>
      <div class="control-group">
        <label for="cssFrameworkClass" class="control-label"><?php echo t('Container Class'); ?></label>
        <div class="controls">
          <input type="text" class="span3" value="<?php echo $cssFrameworkClass; ?>" name="cssFrameworkClass" />
          <span class="help-block">ex: row or large-12 columns</span>
          <span class="help-block"><code>&ltdiv class="large-12 columns"&gt</code></span>
        </div>
      </div>
      <div id="cssImage" class="control-group">
        <label for="cssImageClass" class="control-label"><?php echo t('Image Class'); ?></label>
        <div class="controls">
          <input type="text" class="span3" value="<?php echo $cssImageClass; ?>" name="cssImageClass" />
          <span class="help-block"><?php echo t('Image Tag Class'); ?></span>
          <span class="help-block"><code><?php echo t('&ltimg src="imagesrc" class="img-centered"&gt'); ?></code></span>
        </div>
      </div>
    </div>
  </div>
</div>

<!--
  magnific type input
-->
<div id="ccm-magnific-type-tab">
  <div class="ccm-block-field-group">
    <h5><?php echo t('Magnific Popup Style'); ?></h5>
     <div class="control-group">
      <label for="magnific_type" class="control-label"><?php   echo t('Magnific Type')?></label>
      <div class="controls">
        <select id="magnific_type" name="magnific_type" class="span3">
          <option value="select1"><?php echo t('Select Popup Type')?></option>
          <option id="single" value="single"<?php  if ($magnific_type == 'single') { ?> selected<?php  } ?> name="magnific_type"><?php echo t('Single Image Popup')?></option>
          <option id="popup" value="popup"<?php  if ($magnific_type == 'popup') { ?> selected<?php  } ?> name="magnific_type"><?php echo t('Gallery Popup')?></option>
          <option id="zoom" value="zoom"<?php  if ($magnific_type == 'zoom') { ?> selected<?php  } ?> name="magnific_type"><?php echo t('Zoom-Gallery')?></option>
          <option id="videoMap" value="vidMap"<?php  if ($magnific_type == 'vidMap') { ?> selected<?php  } ?> name="magnific_type"><?php echo t('Video or Map Popup')?></option>
        </select>
      </div>
    </div>
  </div>
<!--
  Single Popup Options
  This seems to be the easiest way to currently implement.
  May go to an options tab but I don't like the options being separate from the choice.
  Checkboxes are being a real case of mudbutt. may Change in future
-->
  <div id="single-options" class="ccm-block-field-group">
    <label for="singleOption" class="control-label"><?php   echo t('Single Popup Style')?></label>
    <div class="controls">
      <select id="singleOption" name="singleOption" class="span3">
        <option value="select-2" name="select-2"><?php echo t('Select Single Type')?></option>
        <option value="vertical-fit"<?php  if ($singleOption == 'vertical-fit') { ?> selected<?php  } ?> name="singleOption"><?php echo t('Vertical Fit')?></option>
        <option value="fit-width"<?php  if ($singleOption == 'fit-width') { ?> selected<?php  } ?> name="singleOption"><?php echo t('Fit To Width')?></option>
        <option value="no-margins"<?php  if ($singleOption == 'no-margins') { ?> selected<?php  } ?> name="singleOption"><?php echo t('No Margins')?></option>
      </select>
    </div>
  </div>
<!--
  Single Image Upload
  Used Currenlty for Single Popup and Zoom Popup
-->
  <div id="singleImage" class="ccm-block-field-group">
    <h5><?php echo t('Single Image'); ?></h5>
    <div class="control-group">
      <label for="singleImage" class="control-label"><?php echo t('Choose an Image'); ?></label>
      <div class="controls">
        <?php echo $al->image('ccm-b-image', 'fIDpicture', t('Choose File'), $this->controller->getPicture()); ?>
      </div>
    </div>
    <div class="control-group">
      <label for="title" class="control-label"><?php echo t('Image Title'); ?></label>
      <div class="controls">
        <input type="text" value="<?php echo $title; ?>" name="title" class="span3" />
      </div>
    </div>
  </div>
<!--
   Image Set Choice Area
  Used currently for Gallery
-->
  <div id="galleryImages" class="ccm-block-field-group">
    <h5><?php echo t('Image Gallery'); ?></h5>
    <div class="control-group">
      <label for="galleryImages" class="control-label"><?php echo t('Choose Image Gallery'); ?></label>
      <div class="controls">
        <?php echo $form->select('fsID', $sets, $fsID, array('class' => 'span3')); ?>
        <span class="help-block">Choose a Gallery</span>
      </div>
    </div>
  </div>
<!--
  Video and Map type dropdown menu
  Have to choose one
-->
  <div id="vidMap"  style="display: none;">
    <div class="ccm-block-field-group">
      <h5><?php echo t('Video and Map Options'); ?></h5>
      <div class="control-group">
        <label for="videoOptions" class="control-label"><?php   echo t('Video and Map Types')?></label>
        <div class="controls">
          <select id="videoOptions" class="span3" name="videoOptions">
            <option value="select-3"><?php echo t('Select a Type')?></option>
            <option value="youtube"<?php  if ($videoOptions == 'youtube') { ?> selected<?php  } ?> name="videoOptions"><?php echo t('YouTube')?></option>
            <option value="youtubeThumb"<?php  if ($videoOptions == 'youtubeThumb') { ?> selected<?php  } ?> name="videoOptions"><?php echo t('YouTube With Thumbnail')?></option>
            <option value="vimeo"<?php  if ($videoOptions == 'vimeo') { ?> selected<?php  } ?> name="videoOptions"><?php echo t('Vimeo')?></option>
            <option value="vimeoThumb"<?php  if ($videoOptions == 'vimeoThumb') { ?> selected<?php  } ?> name="videoOptions"><?php echo t('Vimeo With Thumbnail')?></option>
            <option value="gmaps"<?php  if ($videoOptions == 'gmaps') { ?> selected<?php  } ?> name="videoOptions"><?php echo t('Google Maps')?></option>
           <!-- <option value="bingmaps"<?php  if ($videoOptions == 'bingmaps') { ?> selected<?php  } ?> name="videoOptions"><?php echo t('Bing Maps')?></option> -->
          </select>
        </div>
      </div>
<!--
   YouTube Thumbnail Quality dropdown
-->
      <div id="youtubeThumb" class="control-group">
        <label for="youtubeThumbnailOption" class="control-label"><?php   echo t('YouTube Thumbnail Quality')?></label>
        <div class="controls">
          <select id="youtubeThumbnailOption" class="span3" name="youtubeThumbnailOption">
            <option value="hqdefault"<?php  if ($youtubeThumbnailOption == 'hqdefault') { ?> selected<?php  } ?> name="youtubeThumbnailOption"><?php echo t('High Quality')?></option>
{'fraction_non_alphanumeric': 0.21003023297172327, 'fraction_numerical': 0.004742426936985002, 'mean_word_length': 3.7044060234244283, 'pattern_counts': {'":': 0, '<': 524, '<?xml version=': 0, '>': 534, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '413304', 'n_tokens_mistral': 5349, 'n_tokens_neox': 5369, 'n_words': 1225}