1
0
Fork 0

images and localizing

Dieser Commit ist enthalten in:
oldperl 2011-08-23 14:08:57 +00:00
Ursprung a23cd6e222
Commit 29b005c9f4
8 geänderte Dateien mit 997 neuen und 893 gelöschten Zeilen

Datei anzeigen

@ -42,14 +42,15 @@ if(!current_user_can('manage_statz')) {
$sem_options['statz_show_todayusers'] = $_POST['statz_show_todayusers'];
$sem_options['statz_on_dashboard'] = $_POST['statz_on_dashboard'];
$sem_options['statz_datarecs_limit'] = $_POST['statz_datarecs_limit'];
$sem_options['statz_use_img'] = $_POST['statz_use_img'];
update_option("semmelstatzR_options", $sem_options);
echo '<div class="updated fade"><p>Einstellungen gespeichert</strong></p></div>';
echo '<div class="updated fade"><p>'.semr_e('Options saved').'</strong></p></div>';
}
if(isset($_POST['trunc_save'])) {
if ($result == sem_truncateStatzTable()) {
echo "<div class='updated'><p>Die <i>statz</i>-Tabelle wurde erfolgreich geleert.</p></div>";
echo "<div class='updated'><p>".semr_e('<i>statz</i>-table emptied succesfully.')."</p></div>";
}
}
@ -92,11 +93,19 @@ if(!current_user_can('manage_statz')) {
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>?page=<?php echo plugin_basename(__FILE__); ?>">
<div id='icon-semmelstatzR' class='icon32'><br /></div>
<h2>SemmelstatzR &rsaquo; Einstellungen</h2>
<h2>SemmelstatzR &rsaquo; <?php echo semr_e('Options'); ?></h2>
<p><input type="submit" class="button-secondary" name="options_save" value="&Auml;nderungen &uuml;bernehmen" /></p>
<p><input type="submit" class="button-secondary" name="options_save" value="<?php echo semr_e('Save Changes'); ?>" /></p>
<table class="form-table">
<tr style="background:#eee;" valign="middle">
<th><?php echo semr_e('Use tracking image'); ?></th>
<td><input name="statz_use_img" type="checkbox" id="statz_write_admins" value="statz_use_img"
<?php if($sem_options["statz_use_img"] == TRUE) {?> checked="checked" <?php } ?> />
</td>
<td><?php echo semr_e('Use a pixelimage in the footer to track visitors. Only needed with some cache-plugins. - (Default: Off)'); ?></td>
</tr>
<tr style="background:#eee;" valign="middle">
<th>Blog-Administratoren aufzeichnen</th>