コード例 #1
0
ファイル: settings.php プロジェクト: russell359/lwt
<td class="td1 center">
<input class="notempty right" type="text" 
name="set-texts-per-page" 
value="<?php 
echo tohtml(getSettingWithDefault('set-texts-per-page'));
?>
" maxlength="4" size="4" /> </td>
<td class="td1 center"><img src="icn/status-busy.png" title="Field must not be empty" alt="Field must not be empty" /></td>
</tr>
<!-- ******************************************************* -->
<tr>
<td class="td1 center">Show Word Counts of Texts immediately<br />(<b>"No"</b> loads a long text table faster)</td>
<td class="td1 center">
<select name="set-show-text-word-counts" class="notempty">
<?php 
echo get_yesno_selectoptions(getSettingWithDefault('set-show-text-word-counts'));
?>
</select>
</td>
<td class="td1 center"><img src="icn/status-busy.png" title="Field must not be empty" alt="Field must not be empty" /></td>
</tr>
<!-- ******************************************************* -->
<tr>
<td class="td1 center">Archived Texts per Page</td>
<td class="td1 center">
<input class="notempty right" type="text" 
name="set-archivedtexts-per-page" 
value="<?php 
echo tohtml(getSettingWithDefault('set-archivedtexts-per-page'));
?>
" maxlength="4" size="4" /></td>
コード例 #2
0
ファイル: edit_languages.php プロジェクト: hans/lwt
		<td class="td1"><select name="LgSplitEachChar"><?php 
        echo get_yesno_selectoptions($record['LgSplitEachChar']);
        ?>
</select> (e.g. for Chinese, Japanese, etc.)</td>
		</tr>
		<tr>
		<td class="td1 right">Remove spaces:</td>
		<td class="td1"><select name="LgRemoveSpaces"><?php 
        echo get_yesno_selectoptions($record['LgRemoveSpaces']);
        ?>
</select> (e.g. for Chinese, Japanese, etc.)</td>
		</tr>
		<tr>
		<td class="td1 right">Right-To-Left Script:</td>
		<td class="td1"><select name="LgRightToLeft"><?php 
        echo get_yesno_selectoptions($record['LgRightToLeft']);
        ?>
</select> (e.g. for Arabic, Hebrew, Farsi, Urdu,  etc.)</td>
		</tr>
		<tr>
		<td class="td1 right" colspan="2"><input type="button" value="Cancel" onclick="location.href='edit_languages.php';" /> 
		<input type="submit" name="op" value="Change" /></td>
		</tr>
		</table>
		</form>
		<?php 
    }
    mysql_free_result($res);
} else {
    echo error_message_with_hide($message, 0);
    $current = (int) getSetting('currentlanguage');