Ejemplo n.º 1
0
        <?php 
/* Here is the styling for the balloon that appears on the map */
?>
        <Style id="item-info-balloon">
            <BalloonStyle>
                <text><![CDATA[
                    <div class="geolocation_balloon">
                        <div class="geolocation_balloon_title">$[namewithlink]</div>
                        <div class="body">$[description]</div>
                        <div class="geolocation_balloon_description">$[Snippet]</div>
                    </div>
                ]]></text>
            </BalloonStyle>
        </Style>
        <?php 
while (loop_items()) {
    $item = get_current_item();
    $location = $locations[$item->id];
    ?>
        <Placemark>
            <name><![CDATA[<?php 
    echo item('Dublin Core', 'Title');
    ?>
]]></name>
            <namewithlink><![CDATA[<?php 
    echo link_to_item(item('Dublin Core', 'Title'), array('class' => 'view-item'));
    ?>
]]></namewithlink>
            <Snippet maxLines="2"><![CDATA[<?php 
    echo item('Dublin Core', 'Description', array('snippet' => 150));
    ?>
 
<title><![CDATA[<?php 
echo settings('site_title');
?>
]]></title>
<link><![CDATA[<?php 
echo abs_uri('');
?>
]]></link>
<description><![CDATA[<?php 
echo settings('description');
?>
]]></description>
 
	<?php 
while ($item = loop_items()) {
    if (item_has_files()) {
        while (loop_files_for_item($item)) {
            $file = get_current_file();
            if ($file->hasThumbnail()) {
                ?>
 
	<item>
		<title><![CDATA[<?php 
                echo item('Dublin Core', 'Title');
                ?>
]]></title>
		<media:description><![CDATA[<?php 
                echo item('Dublin Core', 'Description');
                ?>
]]></media:description>
Ejemplo n.º 3
0
          **/
         for ($i = 0; $i < $totalFields; $i++) {
             ?>
                                                 <section class="panel pos-rlt clearfix duplicator">
                                                     <header class="panel-heading">
                                                         <ul class="nav nav-pills pull-right duplicator-panel">
                                                             <li> <a href="#" class="text-muted"><i class="fa fa-plus text"></i></a> </li>
                                                             <li> <a href="#" class="text-muted"><i class="fa fa-minus text"></i></a> </li>
                                                         </ul>
                                                         Option multiples </header>
                                                     <div class="panel-body">
                                                         <?php 
             if ($loopable_field = return_if_array_key_exists('item_loopable_fields', $item)) {
                 if (is_array($loopable_field)) {
                     foreach ($loopable_field as $field) {
                         loop_items($field, $namespace, 'is_loopable', $item_setting);
                     }
                 }
             }
             ?>
                                                     </div>
                                                 </section>
                                                 <?php 
         }
     }
 }
 ?>
                                             </div>
                                             <div class="col-lg-12">
                                                 <br>
                                                 <input type="submit" class="btn <?php