コード例 #1
0
ファイル: html_helper.php プロジェクト: CMIP5/HUC8Climate
function genHeading($headingKey, $req = false, $defaultColumn = 9)
{
    echo "<div class='col-md-" . $defaultColumn . "'>";
    //ALSO DISPLAYS THE ERROR MSGS. In case this function is not being used, a call to the below function will be needed.
    showMsgs();
    if ($req) {
        echo '<p class="em" align="right">' . getTxt('RequiredFieldsAsterisk') . '</p>';
    }
    echo '<p class="h3" align="center"><strong>' . getTxt($headingKey) . '</strong></p>
          <p>&nbsp;</p>';
}
コード例 #2
0
ファイル: map.php プロジェクト: CMIP5/HUC8Climate
<?php

HTML_Render_Head($js_vars, getTxt('SearchData'));
echo $CSS_Main;
echo $JS_JQuery;
echo $JS_Maps;
HTML_Render_Body_Start();
?>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true&libraries=places"></script>
<div class='col-md-9'>
<?php 
showMsgs();
?>
<div id="mapOuter" style="width:100%; height:875px;">
	<div id="mapContainer" style="width:100%;">
		<div id="map" style="width:100%; height:100%;"> </div>
	</div>
	<div>
	<div id="mapFilters">
        <div class="btn-group" role="group">
        <input id="pac-input" class="controls" type="text" placeholder="Search Any Site Here">
        <input type="button" class="btn-btn-default" id="fullscreen"  value="<?php 
echo getTxt('FullScreen');
?>
"/></input>
        <input type="button" class="btn-btn-default" id="exitfullscreen" value="<?php 
echo getTxt('EFullScreen');
?>
"/></input>
        <div class="input-group">
        <input type="checkbox" class="checkbox" id="allSitesCheck" onClick="loadall()" value="allSites"><?php