当前位置: 首页>>代码示例>>PHP>>正文


PHP FunctionsPrint::printSpecialCharacterLink方法代码示例

本文整理汇总了PHP中Fisharebest\Webtrees\Functions\FunctionsPrint::printSpecialCharacterLink方法的典型用法代码示例。如果您正苦于以下问题:PHP FunctionsPrint::printSpecialCharacterLink方法的具体用法?PHP FunctionsPrint::printSpecialCharacterLink怎么用?PHP FunctionsPrint::printSpecialCharacterLink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Fisharebest\Webtrees\Functions\FunctionsPrint的用法示例。


在下文中一共展示了FunctionsPrint::printSpecialCharacterLink方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

            echo GedcomTag::getLabel('ROMN');
            ?>
</td>
			<td class="optionbox wrap"><input type="text" name="ROMN" id="ROMN" value="" size="40" maxlength="255"> <?php 
            echo FunctionsPrint::printSpecialCharacterLink('ROMN');
            ?>
</td></tr>
			<?php 
        }
        ?>
			<tr><td class="descriptionbox wrap width25"><?php 
        echo GedcomTag::getLabel('ADDR');
        ?>
</td>
			<td class="optionbox wrap"><textarea name="ADDR" id="ADDR" rows="5" cols="60"></textarea><?php 
        echo FunctionsPrint::printSpecialCharacterLink('ADDR');
        ?>
 </td></tr>
			<tr><td class="descriptionbox wrap width25"><?php 
        echo GedcomTag::getLabel('PHON');
        ?>
</td>
			<td class="optionbox wrap"><input type="text" name="PHON" id="PHON" value="" size="40" maxlength="255"> </td></tr>
			<tr><td class="descriptionbox wrap width25"><?php 
        echo GedcomTag::getLabel('EMAIL');
        ?>
</td>
			<td class="optionbox wrap"><input type="text" name="EMAIL" id="EMAIL" value="" size="40" maxlength="255"></td></tr>
			<tr><td class="descriptionbox wrap width25"><?php 
        echo GedcomTag::getLabel('WWW');
        ?>
开发者ID:jflash,项目名称:webtrees,代码行数:31,代码来源:edit_interface.php

示例2: placesEdit


//.........这里部分代码省略.........
        echo $place_long;
        ?>
">
			<input type="hidden" name="place_lati" value="<?php 
        echo $place_lati;
        ?>
">
			<input type="hidden" name="parent_long" value="<?php 
        echo $parent_long;
        ?>
">
			<input type="hidden" name="parent_lati" value="<?php 
        echo $parent_lati;
        ?>
">

			<table class="facts_table">
			<tr>
				<td class="optionbox" colspan="3">
				<center><div id="map_pane" style="width: 100%; height: 300px;"></div></center>
				</td>
			</tr>
			<tr>
				<td class="descriptionbox"><?php 
        echo GedcomTag::getLabel('PLAC');
        ?>
</td>
				<td class="optionbox"><input type="text" id="new_pl_name" name="NEW_PLACE_NAME" value="<?php 
        echo Filter::escapeHtml($place_name);
        ?>
" size="25" class="address_input">
					<div id="INDI_PLAC_pop" style="display: inline;">
					<?php 
        echo FunctionsPrint::printSpecialCharacterLink('new_pl_name');
        ?>
</div></td><td class="optionbox">
					<label for="new_pl_name"><a href="#" onclick="showLocation_all(document.getElementById('new_pl_name').value); return false">&nbsp;<?php 
        echo I18N::translate('Search globally');
        ?>
</a></label>
					&nbsp;&nbsp;|&nbsp;&nbsp;
					<label for="new_pl_name"><a href="#" onclick="showLocation_level(document.getElementById('new_pl_name').value); return false">&nbsp;<?php 
        echo I18N::translate('Search locally');
        ?>
</a></label>
				</td>
			</tr>
			<tr>
				<td class="descriptionbox">
					<?php 
        echo I18N::translate('Precision');
        ?>
				</td>
				<?php 
        $exp = explode(".", $place_lati);
        if (isset($exp[1])) {
            $precision1 = strlen($exp[1]);
        } else {
            $precision1 = -1;
        }
        $exp = explode(".", $place_long);
        if (isset($exp[1])) {
            $precision2 = strlen($exp[1]);
        } else {
            $precision2 = -1;
        }
开发者ID:bxbroze,项目名称:webtrees,代码行数:67,代码来源:GoogleMapsModule.php

示例3: placesEdit


//.........这里部分代码省略.........
        echo $place_long;
        ?>
">
			<input type="hidden" name="place_lati" value="<?php 
        echo $place_lati;
        ?>
">
			<input type="hidden" name="parent_long" value="<?php 
        echo $parent_long;
        ?>
">
			<input type="hidden" name="parent_lati" value="<?php 
        echo $parent_lati;
        ?>
">

			<table class="facts_table">
			<tr>
				<td class="optionbox" colspan="3">
					<div class="gm-map" style="width: 100%; height: 300px;"></div>
				</td>
			</tr>
			<tr>
				<td class="descriptionbox"><?php 
        echo GedcomTag::getLabel('PLAC');
        ?>
</td>
				<td class="optionbox"><input type="text" id="new_pl_name" name="NEW_PLACE_NAME" value="<?php 
        echo Filter::escapeHtml($place_name);
        ?>
" size="25" class="address_input">
					<div id="INDI_PLAC_pop" style="display: inline;">
					<?php 
        echo FunctionsPrint::printSpecialCharacterLink('new_pl_name');
        ?>
</div></td><td class="optionbox">
					<label for="new_pl_name"><a href="#" onclick="showLocation_all(document.getElementById('new_pl_name').value); return false"><?php 
        echo I18N::translate('Search globally');
        ?>
</a></label>
					|
					<label for="new_pl_name"><a href="#" onclick="showLocation_level(document.getElementById('new_pl_name').value); return false"><?php 
        echo I18N::translate('Search locally');
        ?>
</a></label>
				</td>
			</tr>
			<tr>
				<td class="descriptionbox"><?php 
        echo GedcomTag::getLabel('LATI');
        ?>
</td>
				<td class="optionbox" colspan="2">
					<input type="text" id="NEW_PLACE_LATI" name="NEW_PLACE_LATI" placeholder="<?php 
        echo I18N::translate('degrees');
        ?>
" value="<?php 
        echo abs($place_lati);
        ?>
" size="20" onchange="updateMap();">
					<select name="LATI_CONTROL" id="LATI_CONTROL" onchange="updateMap();">
						<option value="N"<?php 
        echo $place_lati >= 0 ? ' selected' : '';
        ?>
><?php 
        echo I18N::translate('north');
开发者ID:tronsmit,项目名称:webtrees,代码行数:67,代码来源:GoogleMapsModule.php

示例4: checknames

	<form name="searchform" onsubmit="return checknames(this);">
		<input type="hidden" name="action" value="general">
		<input type="hidden" name="isPostBack" value="true">
		<div id="search-page-table">
			<div class="label">
				<?php 
    echo I18N::translate('Search for');
    ?>
			</div>
			<div class="value">
				<input id="query" type="text" name="query" value="<?php 
    echo Filter::escapeHtml($controller->query);
    ?>
" size="40" autofocus>
				<?php 
    echo FunctionsPrint::printSpecialCharacterLink('query');
    ?>
			</div>
			<div class="label">
				<?php 
    echo I18N::translate('Records');
    ?>
			</div>
			<div class="value">
				<label>
					<input type="checkbox" <?php 
    echo $controller->srindi;
    ?>
 value="checked" name="srindi">
					<?php 
    echo I18N::translate('Individuals');
开发者ID:tronsmit,项目名称:webtrees,代码行数:31,代码来源:search.php

示例5: addSimpleTag


//.........这里部分代码省略.........
                     // Shared notes. Inline notes are handled elsewhere.
                     echo ' data-autocomplete-type="NOTE"';
                     break;
                 case 'OBJE':
                     echo ' data-autocomplete-type="OBJE"';
                     break;
                 case 'PAGE':
                     echo ' data-autocomplete-type="PAGE" data-autocomplete-extra="#' . $source_element_id . '"';
                     break;
                 case 'PLAC':
                     echo ' data-autocomplete-type="PLAC"';
                     break;
                 case 'REPO':
                     echo ' data-autocomplete-type="REPO"';
                     break;
                 case 'SOUR':
                     $source_element_id = $element_id;
                     echo ' data-autocomplete-type="SOUR"';
                     break;
                 case 'SURN':
                 case '_MARNM_SURN':
                     echo ' data-autocomplete-type="SURN"';
                     break;
                 case 'TIME':
                     echo ' pattern="([0-1][0-9]|2[0-3]):[0-5][0-9](:[0-5][0-9])?" dir="ltr" placeholder="' . I18N::translate('hh:mm or hh:mm:ss') . '"';
                     break;
             }
             echo '>';
         }
         $tmp_array = array('TYPE', 'TIME', 'NOTE', 'SOUR', 'REPO', 'OBJE', 'ASSO', '_ASSO', 'AGE');
         // split PLAC
         if ($fact === 'PLAC') {
             echo '<div id="', $element_id, '_pop" style="display: inline;">';
             echo FunctionsPrint::printSpecialCharacterLink($element_id), ' ', FunctionsPrint::printFindPlaceLink($element_id);
             echo '<span  onclick="jQuery(\'tr[id^=', $upperlevel, '_LATI],tr[id^=', $upperlevel, '_LONG],tr[id^=LATI],tr[id^=LONG]\').toggle(\'fast\'); return false;" class="icon-target" title="', GedcomTag::getLabel('LATI'), ' / ', GedcomTag::getLabel('LONG'), '"></span>';
             echo '</div>';
             if (Module::getModuleByName('places_assistant')) {
                 \PlacesAssistantModule::setup_place_subfields($element_id);
                 \PlacesAssistantModule::print_place_subfields($element_id);
             }
         } elseif (!in_array($fact, $tmp_array)) {
             echo FunctionsPrint::printSpecialCharacterLink($element_id);
         }
     }
     // MARRiage TYPE : hide text field and show a selection list
     if ($fact === 'TYPE' && $level === 2 && $tags[0] === 'MARR') {
         echo '<script>';
         echo 'document.getElementById(\'', $element_id, '\').style.display=\'none\'';
         echo '</script>';
         echo '<select id="', $element_id, '_sel" onchange="document.getElementById(\'', $element_id, '\').value=this.value;" >';
         foreach (array('Unknown', 'Civil', 'Religious', 'Partners') as $key) {
             if ($key === 'Unknown') {
                 echo '<option value="" ';
             } else {
                 echo '<option value="', $key, '" ';
             }
             $a = strtolower($key);
             $b = strtolower($value);
             if ($b !== '' && strpos($a, $b) !== false || strpos($b, $a) !== false) {
                 echo 'selected';
             }
             echo '>', GedcomTag::getLabel('MARR_' . strtoupper($key)), '</option>';
         }
         echo '</select>';
     } elseif ($fact === 'TYPE' && $level === 0) {
         // NAME TYPE : hide text field and show a selection list
开发者ID:josefpavlik,项目名称:webtrees,代码行数:67,代码来源:FunctionsEdit.php

示例6:

?>
" onclick="preview();"></span>
				<span><b><?php 
echo I18N::translate('Proposed census text&nbsp;&nbsp;');
?>
</b></span>
				<span><input type="submit" value="<?php 
echo I18N::translate('Save');
?>
" onclick="caSave();"></span>
			</div>
			<div class="optionbox">
				<textarea wrap="off" name="NOTE" id="NOTE"></textarea><br>
				<center>
					<?php 
echo FunctionsPrint::printSpecialCharacterLink('NOTE');
?>
				</center>
			</div>
		</div>
		<?php 
echo '</span>';
echo '</div>';
//-- Search  and Add Family Members Area ==========================================
echo '<div class="optionbox cens_search" style="overflow:-moz-scrollbars-horizontal;overflow-x:hidden;overflow-y:scroll;">';
?>

		<table id="navenclose">
			<tr>
				<td class="descriptionbox"><?php 
echo I18N::translate('Add individuals');
开发者ID:jflash,项目名称:webtrees,代码行数:31,代码来源:census-edit.php


注:本文中的Fisharebest\Webtrees\Functions\FunctionsPrint::printSpecialCharacterLink方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。